"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 g,ba=function(a,b){if(Error.captureStackTrace)Error.captureStackTrace(this,ba);else{var c=Error().stack;c&&(this.stack=c)}a&&(this.message=String(a));void 0!==b&&(this.cause=b);this.reportErrorToServer=!0},ca=function(a,b){a=a.split("%s");for(var c="",d=a.length-1,e=0;e<d;e++)c+=a[e]+(e<b.length?b[e]:"%s");ba.call(this,c+a[d])},ea=function(a){da.setTimeout(function(){throw a;},0)},fa=function(){var a=da.navigator;return a&&(a=a.userAgent)?a:""},la=function(a){return ia?ja?ja.brands.some(function(b){return(b=
b.brand)&&ka(b,a)}):!1:!1},oa=function(a){return ka(fa(),a)},pa=function(){return ia?!!ja&&0<ja.brands.length:!1},qa=function(){return pa()?!1:oa("Opera")},aaa=function(){return pa()?!1:oa("Trident")||oa("MSIE")},ra=function(){return pa()?!1:oa("Edge")},baa=function(){return pa()?la("Microsoft Edge"):oa("Edg/")},sa=function(){return oa("Firefox")||oa("FxiOS")},caa=function(){return oa("Safari")&&!(ta()||(pa()?0:oa("Coast"))||qa()||ra()||baa()||(pa()?la("Opera"):oa("OPR"))||sa()||oa("Silk")||oa("Android"))},
ta=function(){return pa()?la("Chromium"):(oa("Chrome")||oa("CriOS"))&&!ra()||oa("Silk")},daa=function(){return oa("Android")&&!(ta()||sa()||qa()||oa("Silk"))},eaa=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})]||""}},faa=function(a){var b=fa();if("Internet Explorer"===a){if(aaa())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=eaa(c);switch(a){case "Opera":if(qa())return b(["Version","Opera"]);if(pa()?la("Opera"):oa("OPR"))return b(["OPR"]);break;case "Microsoft Edge":if(ra())return b(["Edge"]);if(baa())return b(["Edg"]);break;case "Chromium":if(ta())return b(["Chrome",
"CriOS","HeadlessChrome"])}return"Firefox"===a&&sa()||"Safari"===a&&caa()||"Android Browser"===a&&daa()||"Silk"===a&&oa("Silk")?(b=c[2])&&b[1]||"":""},ua=function(a){if(pa()&&"Silk"!==a){var b=ja.brands.find(function(c){return c.brand===a});if(!b||!b.version)return NaN;b=b.version.split(".")}else{b=faa(a);if(""===b)return NaN;b=b.split(".")}return 0===b.length?NaN:Number(b[0])},va=function(){return ia?!!ja&&!!ja.platform:!1},gaa=function(){return va()?"Android"===ja.platform:oa("Android")},wa=function(){return oa("iPhone")&&
!oa("iPod")&&!oa("iPad")},ya=function(){return wa()||oa("iPad")||oa("iPod")},haa=function(){return va()?"macOS"===ja.platform:oa("Macintosh")},iaa=function(){return va()?"Windows"===ja.platform:oa("Windows")},jaa=function(){return va()?"Chrome OS"===ja.platform:oa("CrOS")},kaa=function(){var a=fa(),b="";iaa()?(b=/Windows (?:NT|Phone) ([0-9.]+)/,b=(a=b.exec(a))?a[1]:"0.0"):ya()?(b=/(?:iPhone|iPod|iPad|CPU)\s+OS\s+(\S+)/,b=(a=b.exec(a))&&a[1].replace(/_/g,".")):haa()?(b=/Mac OS X ([0-9_.]+)/,b=(a=b.exec(a))?
a[1].replace(/_/g,"."):"10"):za(fa(),"KaiOS")?(b=/(?:KaiOS)\/(\S+)/i,b=(a=b.exec(a))&&a[1]):gaa()?(b=/Android\s+([^\);]+)(\)|;)/,b=(a=b.exec(a))&&a[1]):jaa()&&(b=/(?:CrOS\s+(?:i686|x86_64)\s+([0-9.]+))/,b=(a=b.exec(a))&&a[1]);return 0<=Aa(b||"",12)},Ba=function(a){return a[a.length-1]},laa=function(a,b){var c=0;Ea(a,function(d,e,f){b.call(void 0,d,e,f)&&++c});return c},maa=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},
Ha=function(a,b){return 0<=Ga(a,b)},Ia=function(a){if(!Array.isArray(a))for(var b=a.length-1;0<=b;b--)delete a[b];a.length=0},La=function(a,b){b=Ga(a,b);var c;(c=0<=b)&&Ka(a,b);return c},Ka=function(a,b){Array.prototype.splice.call(a,b,1)},Na=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&&Ka(a,b)},Oa=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[]},Sa=function(a,
b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(Pa(d)){var e=a.length||0,f=d.length||0;a.length=e+f;for(var h=0;h<f;h++)a[e+h]=d[h]}else a.push(d)}},oaa=function(a,b,c,d){return Array.prototype.splice.apply(a,naa(arguments,1))},naa=function(a,b,c){return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)},Xa=function(a,b,c){b=b||a;var d=function(q){return Ta(q)?"o"+Ua(q):(typeof q).charAt(0)+q};c=c||d;for(var e=d=0,f={};e<a.length;){var h=a[e++],l=c(h);
Object.prototype.hasOwnProperty.call(f,l)||(f[l]=!0,b[d++]=h)}b.length=d},Za=function(a,b){a.sort(b||paa)},qaa=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||paa;Za(c,function(f,h){return e(f.value,h.value)||f.index-h.index});for(b=0;b<a.length;b++)a[b]=c[b].value},paa=function(a,b){return a>b?1:a<b?-1:0},raa=function(){for(var a=[],b=0;5>b;b+=1)a.push(b);return a},saa=function(a,b,c){b=Array.prototype.splice.call(a,b,1);Array.prototype.splice.call(a,
c,0,b[0])},vaa=function(a){if(!taa)return uaa(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)},xaa=function(a){return waa[a]||""},Aaa=function(a){if(!taa)return yaa(a);zaa.test(a)&&(a=a.replace(zaa,xaa));a=atob(a);for(var b=new Uint8Array(a.length),c=0;c<a.length;c++)b[c]=a.charCodeAt(c);return b},$a=function(a){return Baa&&null!=a&&a instanceof Uint8Array},Daa=function(){return Caa||
(Caa=new Uint8Array(0))},Eaa=function(a){return 0==a.length?ab():new bb(a,db)},Gaa=function(a){if("string"===typeof a)return{buffer:Aaa(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===bb)return{buffer:Faa(a)||Daa(),isImmutable:!0};if(a instanceof Uint8Array)return{buffer:new Uint8Array(a.buffer,a.byteOffset,
a.byteLength),isImmutable:!1};throw Error("H");},Haa=function(a,b){return 4294967296*b+(a>>>0)},Iaa=function(a,b){var c=b&2147483648;c&&(a=~a+1>>>0,b=~b>>>0,0==a&&(b=b+1>>>0));a=Haa(a,b);return c?-a:a},Laa=function(a,b){b>>>=0;a>>>=0;if(2097151>=b)var c=""+(4294967296*b+a);else Jaa?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+Kaa(c)+
Kaa(a));return c},Kaa=function(a){a=String(a);return"0000000".slice(a.length)+a},fb=function(a,b){if(eb)return a[eb]|=b;if(void 0!==a.internalArrayState)return a.internalArrayState|=b;Object.defineProperties(a,{internalArrayState:{value:b,configurable:!0,writable:!0,enumerable:!1}});return b},Maa=function(a,b){var c=gb(a);(c&b)!==b&&(Object.isFrozen(a)&&(a=Array.prototype.slice.call(a)),hb(a,c|b));return a},Naa=function(a,b){eb?a[eb]&&(a[eb]&=~b):void 0!==a.internalArrayState&&(a.internalArrayState&=
~b)},gb=function(a){var b;eb?b=a[eb]:b=a.internalArrayState;return null==b?0:b},hb=function(a,b){eb?a[eb]=b:void 0!==a.internalArrayState?a.internalArrayState=b:Object.defineProperties(a,{internalArrayState:{value:b,configurable:!0,writable:!0,enumerable:!1}});return a},ib=function(a){fb(a,1);return a},jb=function(a){fb(a,18);return a},lb=function(a){fb(a,16);return a},Oaa=function(a,b){hb(b,(a|0)&-51)},mb=function(a,b){hb(b,(a|18)&-41)},nb=function(a){return!!(gb(a.internalArray_)&2)},ob=function(a){return null!==
a&&"object"===typeof a&&!Array.isArray(a)&&a.constructor===Object},pb=function(a,b,c){if(null!=a)if("string"===typeof a)a=a?new bb(a,db):ab();else if(a.constructor!==bb)if($a(a))a=c?Eaa(a):a.length?new bb(new Uint8Array(a),db):ab();else{if(!b)throw Error();a=void 0}return a},qb=function(a){Paa(gb(a.internalArray_))},Paa=function(a){if(a&2)throw Error();},rb=function(a,b){if(0>b||b>=a.length)throw Error();},Qaa=function(a){var b=a.length;(b=b?a[b-1]:void 0)&&ob(b)?b.g=1:(b={},a.push((b.g=1,b)))},Raa=
function(a){return~~a},Taa=function(a){return Saa(a)},Saa=function(a){if("number"!==typeof a)throw Error("I`"+typeof a+"`"+a);return a},sb=function(a){if(null!=a&&"number"!==typeof a)throw Error("J`"+typeof a+"`"+a);return a},Uaa=function(a){if(null==a)return a;if("number"===typeof a||"NaN"===a||"Infinity"===a||"-Infinity"===a)return Number(a)},Vaa=function(a){if(null==a)return a;switch(typeof a){case "string":return+a;case "number":return a}},ub=function(a){return a},vb=function(a){return a},wb=
function(a){return a},Waa=function(a){return a},Xaa=function(a){return a},Yaa=function(a){return a},yb=function(a,b,c,d){var e=!1;if(null!=a&&"object"===typeof a&&!(e=Array.isArray(a))&&a.messagePrototypeMarker===xb)return a;if(!e)return c?d&2?(a=b[Zaa])?b=a:(a=new b,jb(a.internalArray_),b=b[Zaa]=a):b=new b:b=void 0,b;$aa(a,d);return new b(a)},$aa=function(a,b){var c=gb(a),d=c;0===d&&(d|=b&16);d|=b&2;d!==c&&hb(a,d)},zb=function(a){return a},aba=function(a,b,c){return"boolean"===typeof a||"number"===
typeof a?!!a:c?!1:void 0},bba=function(a,b,c){b=typeof a;return"number"===b||"string"===b?Raa(a):c?0:void 0},cba=function(a,b,c){b=typeof a;return"number"===b||"string"===b?a:c?0:void 0},Bb=function(a,b,c){return"string"===typeof a?a:c?"":void 0},dba=function(a,b,c,d,e,f){a=yb(a,d,c,f);e&&(a=Cb(a));return a},eba=function(a){return a},Hb=function(a,b,c,d,e){var f=Db(a,b,d);Array.isArray(f)||(f=Fb);var h=gb(f);h&1||ib(f);if(e)h&2||jb(f),c&1||Object.freeze(f);else{e=!(c&2);var l=h&2;c&1||!l?e&&h&16&&
!l&&Naa(f,16):(f=ib(Array.prototype.slice.call(f)),Gb(a,b,f,d))}return f},Ib=function(a,b,c,d,e){var f=nb(a),h=Hb(a,b,e||1,d,f),l=gb(h);if(!(l&4)){Object.isFrozen(h)&&(h=ib(h.slice()),Gb(a,b,h,d));for(var q=0,u=0;q<h.length;q++){var x=c(h[q]);null!=x&&(h[u++]=x)}u<q&&(h.length=u);l|=5;f&&(l|=18);hb(h,l);l&2&&Object.freeze(h)}if(2===e)return h;!f&&(l&2||Object.isFrozen(h))&&(h=Array.prototype.slice.call(h),fb(h,5),Gb(a,b,h,d));return h},fba=function(a){return pb(a,!0,!0)},gba=function(a){return pb(a,
!0,!1)},iba=function(a,b,c,d,e,f,h){var l=nb(a);a:{var q=b;b=!1;if(null==q){if(d){a=void 0;break a}if(l){a=Jb||(Jb=new Kb(jb([])));break a}q=[]}else if(q.constructor===Kb){if(0==(q.arrayState&2)||l){a=q;break a}q=hba(q)}else Array.isArray(q)?b=!!(gb(q)&2):q=[];if(l){if(!q.length){a=Jb||(Jb=new Kb(jb([])));break a}b||(b=!0,jb(q))}else if(b)for(b=!1,q=Array.prototype.slice.call(q),d=0;d<q.length;d++){var u=q[d]=Array.prototype.slice.call(q[d]);Array.isArray(u[1])&&(u[1]=jb(u[1]))}b||(gb(q)&32?Naa(q,
16):gb(a.internalArray_)&16&&lb(q));f=new Kb(q,e,f,h);Gb(a,c,f,!1);a=f}if(null==a)return a;!l&&e&&(a.callToMutableOnAccess=!0);return a},Lb=function(a,b,c,d){return iba(a,Db(a,b),b,c,void 0,Bb,d)},Mb=function(a,b,c,d){if(null==c)return k(a,b,Fb);var e=gb(c);if(!(e&4)){if(e&2||Object.isFrozen(c))c=Array.prototype.slice.call(c);for(var f=0;f<c.length;f++)c[f]=d(c[f]);hb(c,e|5)}return k(a,b,c)},Nb=function(a,b,c,d){qb(a);c!==d?Gb(a,b,c):Gb(a,b,void 0,!1);return a},Ob=function(a,b,c,d){qb(a);b=Hb(a,b,
2,!1,!1);void 0!=d?b.splice(d,0,c):b.push(c);return a},Pb=function(a,b,c,d,e){qb(a);b=e(a,b,!1,2);if(0>c||c>b.length)throw Error();b[c]=d;return a},jba=function(a,b,c,d,e,f){var h=!!(f&2);Qb&&!a.internalWrappers_&&(a.internalWrappers_={});var l=Qb?a.internalWrappers_[c]:void 0,q=Hb(a,c,1|(Qb?2:0),d,h);if(Qb?!l:q===Fb||!(gb(q)&4)){var u=q;l=Qb?[]:void 0;q=!!(f&2);h=!!(gb(u)&2);var x=u;!q&&h&&(u=Array.prototype.slice.call(u));var y=f|(h?2:0);f=h;for(var G=0,L=0;G<u.length;G++){var M=u[G];if(Qb){var T=
b;Array.isArray(M)?($aa(M,y),M=new T(M)):M=void 0}else M=yb(M,b,!1,y);void 0!==M&&(f=f||!!(2&gb(M.internalArray_)),Qb?l.push(M):u[L++]=M)}Qb?a.internalWrappers_[c]=l:L<G&&(u.length=L);y=gb(u);b=y|1;b=Qb?b|32:b|4;b=f?b&-9:b|8;y!=b&&(f=u,Object.isFrozen(f)&&(f=Array.prototype.slice.call(f)),hb(f,b),u=f);x!==u&&Gb(a,c,u,d);Qb&&(q||1===e&&h)&&jb(l);(q||1===e)&&Object.freeze(Qb?l:u);return Qb?l:u}if(3===e)return Qb?l:q;h||(Qb?(d=Object.isFrozen(l),1!==e||d)?2===e&&d&&(l=Array.prototype.slice.call(l),a.internalWrappers_[c]=
l):Object.freeze(l):(h=Object.isFrozen(q),1===e?h||Object.freeze(q):(e=gb(q),x=e&-19,h&&(q=Array.prototype.slice.call(q),e=0,Gb(a,c,q,d)),e!==x&&hb(q,x))));return Qb?l:q},Rb=function(a,b,c,d,e,f,h){var l=gb(a.internalArray_);Paa(l);l=jba(a,c,b,f,2,l);c=null!=d?d:new c;a=Qb?Hb(a,b,2,f,!1):void 0;if(h&&(0>e||e>l.length))throw Error();void 0!=e?(l.splice(e,h,c),Qb&&a.splice(e,h,c.internalArray_)):(l.push(c),Qb&&a.push(c.internalArray_));c.isImmutable()&&Naa(Qb?a:l,8);return c},Sb=function(a,b,c){return Nb(a,
b,null==c?c:!!c,!1)},Tb=function(a,b,c){return Nb(a,b,c,0)},Ub=function(a,b,c){return Nb(a,b,c,"")},Vb=function(a,b){return null==a?b:a},kba=function(a,b){Wb=b;a=new a(b);Wb=void 0;return a},mba=function(a,b){return lba(b)},lba=function(a){switch(typeof a){case "number":return isFinite(a)?a:String(a);case "object":if(a)if(Array.isArray(a)){if(0!==(gb(a)&128))return a=Array.prototype.slice.call(a),Qaa(a),a}else{if($a(a))return vaa(a);if(a instanceof bb)return Yb(a);if(a instanceof Kb)return nba(a)}}return a},
oba=function(a,b,c,d,e,f){if(null!=a){if(Array.isArray(a))a=e&&0==a.length&&gb(a)&1?void 0:f&&gb(a)&2?a:Zb(a,b,c,void 0!==d,e,f);else if(ob(a)){var h={},l;for(l in a)h[l]=oba(a[l],b,c,d,e,f);a=h}else a=b(a,d);return a}},Zb=function(a,b,c,d,e,f){var h=gb(a);d=d?!!(h&16):void 0;a=Array.prototype.slice.call(a);for(var l=0;l<a.length;l++)a[l]=oba(a[l],b,c,d,e,f);c(h,a);return a},rba=function(a){return oba(a,pba,qba,void 0,!1,!1)},pba=function(a){return a.messagePrototypeMarker===xb?a.toJSON():a instanceof
Kb?nba(a,rba):lba(a)},qba=function(a,b){a&128&&Qaa(b)},sba=function(a,b,c){c=void 0===c?mb:c;if(null!=a){if(Baa&&a instanceof Uint8Array)return b?a:new Uint8Array(a);if(Array.isArray(a)){var d=gb(a);if(d&2)return a;if(b&&!(d&32)&&(d&16||0===d))return hb(a,d|18),a;a=Zb(a,sba,d&4?mb:c,!0,!1,!0);b=gb(a);b&4&&b&2&&Object.freeze(a);return a}a.messagePrototypeMarker===xb?a=tba(a):a instanceof Kb&&(b=jb(hba(a,sba)),a=new Kb(b,a.valueCtor,a.keyToApi,a.valueToApi));return a}},uba=function(a,b,c,d,e,f,h){(a=
Qb?a.internalWrappers_&&a.internalWrappers_[c]:void 0)?(d=gb(a),d&2?d=a:(f=$b(a,tba),mb(d,f),Object.freeze(f),d=f),ac(b,c,d,e)):k(b,c,sba(d,f,h),e)},tba=function(a){if(nb(a))return a;a=vba(a,!0);jb(a.internalArray_);return a},vba=function(a,b){var c=a.internalArray_,d=lb([]),e=a.constructor.messageId;e&&d.push(e);e=a.internalSparseObject_;if(e){d.length=c.length;var f={};d[d.length-1]=f}0!==(gb(c)&128)&&Qaa(d);b=b||a.isImmutable()?mb:Oaa;d=kba(a.constructor,d);a.internalUnknownFields_&&(d.internalUnknownFields_=
a.internalUnknownFields_.slice());f=!!(gb(c)&16);for(var h=e?c.length-1:c.length,l=0;l<h;l++)uba(a,d,l-a.arrayIndexOffset,c[l],!1,f,b);if(e)for(var q in e)uba(a,d,+q,e[q],!0,f,b);return d},Cb=function(a){if(!nb(a))return a;var b=vba(a,!1);b.internalCachedImmutable_=a;return b},wba=function(a,b){if(Array.isArray(a)){var c=gb(a),d=1;!b||c&2||(d|=16);(c&d)!==d&&hb(a,c|d)}},xba=function(a,b,c){return a[bc]||(a[bc]=function(d,e){return b(d,e,c)})},Aba=function(a){var b=a[bc];if(!b){var c=yba(a);b=function(d,
e){return zba(d,e,c)};a[bc]=b}return b},Bba=function(a){var b=a.binaryFieldsInitializer;if(b)return Aba(b);if(b=a.messageSetReaderFn)return xba(a.fieldInfo.ctor,b,a.messageSetExtensions)},Cba=function(a){var b=Bba(a),c=a.fieldInfo,d=a.readerWriterSelector.reader;return b?function(e,f){return d(e,f,c,b)}:function(e,f){return d(e,f,c)}},Eba=function(a,b){var c=a[b];"function"==typeof c&&0===c.length&&(c=c(),a[b]=c);return Array.isArray(c)&&(cc in c||Dba in c||0<c.length&&"function"==typeof c[0])?c:
void 0},Fba=function(a,b){a[0]=b},Gba=function(a,b,c,d){var e=c.reader;a[b]=d?function(f,h,l){return e(f,h,l,d)}:e},Hba=function(a,b,c,d,e){var f=c.reader,h=Aba(d),l=yba(d).ctor;a[b]=function(q,u,x){return f(q,u,x,l,h,e)}},Iba=function(a,b,c,d,e,f,h){var l=c.reader,q=xba(d,e,f);a[b]=function(u,x,y){return l(u,x,y,d,q,h)}},yba=function(a){var b=a[cc];if(b)return b;b=a[cc]={};var c=Fba,d=Gba,e=Hba,f=Iba;b.ctor=a[0];var h=1;if(a.length>h&&"number"!==typeof a[h]){var l=a[h++];c(b,l)}for(;h<a.length;){c=
a[h++];for(var q=h+1;q<a.length&&"number"!==typeof a[q];)q++;l=a[h++];q-=h;switch(q){case 0:d(b,c,l);break;case 1:(q=Eba(a,h))?(h++,e(b,c,l,q)):d(b,c,l,a[h++]);break;case 2:q=b;var u=h++;u=Eba(a,u);e(q,c,l,u,a[h++]);break;case 3:f(b,c,l,a[h++],a[h++],a[h++]);break;case 4:f(b,c,l,a[h++],a[h++],a[h++],a[h++]);break;default:throw Error("S`"+q);}}cc in a&&Dba in a&&(a.length=0);return b},zba=function(a,b,c){for(;Jba(b)&&4!=b.nextWireType_;){var d=b.nextField_,e=c[d];if(!e){var f=c[0];f&&(f=f[d])&&(e=
c[d]=Cba(f))}if(!e||!e(b,a,d))if(f=b,e=a,d=f.fieldCursor_,dc(f),!f.discardUnknownFields){var h=f.decoder_.getCursor()-d;f.decoder_.cursor_=d;d=f.decoder_.readByteString(h);(f=e.internalUnknownFields_)?f.push(d):e.internalUnknownFields_=[d]}}return a},ec=function(a,b){return{reader:a,writer:b}},fc=function(a,b,c,d){return new Kba(a,b,c,d)},hc=function(a,b){for(var c=[],d=0;d<a.length;d++)c.push(b(a[d]));return c},Mba=function(a,b,c){for(var d in c){var e=c[d],f=e.isRepeated?a.getExtension(e):Lba(a,
e);if(null!=f){var h=void 0;for(h in e.fieldName)if(e.fieldName.hasOwnProperty(h))break;var l=e.toObjectFn;b[h]=l?e.isRepeated?hc(f,l):l(f):f}}},Nba=function(a){null!=a&&(a=a.value_||"",a="string"===typeof a?a:new Uint8Array(a));return a},ic=function(a){return null===a?void 0:a},Oba=function(a){return null==a?void 0:Array.isArray(a)?a.map(function(b){return Yb(b)}):Yb(a)},jc=function(a){if(nb(a))throw Error("V");},lc=function(a){return function(b){b=JSON.parse(b);if(!Array.isArray(b))throw Error("Q`"+
kc(b)+"`"+b);jb(b);return new a(b)}},mc=function(a){return function(b){return Pba(a,b)}},nc=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)},oc=function(a,b){var c={},d;for(d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c},Qba=function(a,b){var c={},d;for(d in a)c[d]=b.call(void 0,a[d],d,a);return c},Rba=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1},Sba=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b},Tba=function(a,b){return null!==a&&b in a},Uba=function(a,
b){for(var c in a)if(b.call(void 0,a[c],c,a))return c},Vba=function(a,b){return(b=Uba(a,b))&&a[b]},pc=function(a){for(var b in a)return!1;return!0},Wba=function(a){for(var b in a)delete a[b]},qc=function(a,b){b in a&&delete a[b]},rc=function(a,b){return null!==a&&b in a?a[b]:void 0},tc=function(a){var b={},c;for(c in a)b[c]=a[c];return b},uc=function(a,b){for(var c,d,e=1;e<arguments.length;e++){d=arguments[e];for(c in d)a[c]=d[c];for(var f=0;f<Xba.length;f++)c=Xba[f],Object.prototype.hasOwnProperty.call(d,
c)&&(a[c]=d[c])}},Yba=function(a){var b=arguments.length;if(1==b&&Array.isArray(arguments[0]))return Yba.apply(null,arguments[0]);for(var c={},d=0;d<b;d++)c[arguments[d]]=!0;return c},eca=function(a){if(a instanceof vc)return'url("'+wc(a).replace(/</g,"%3c").replace(/[\\"]/g,"\\$&")+'")';if(a instanceof xc)a=yc(a);else{a=String(a);var b=a.replace(Zba,"$1").replace(Zba,"$1").replace($ba,"url");if(aca.test(b)){if(b=!bca.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&&cca(a)}a=b?dca(a):"zClosurez"}else a="zClosurez"}if(/[{;}]/.test(a))throw new ca("Value does not allow [{;}], got: %s.",[a]);return a},cca=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},dca=function(a){return a.replace($ba,function(b,c,d,e){var f="";d=d.replace(/^(['"])(.*)\1$/,function(h,l,q){f=l;return q});b=(fca(d)||zc).getTypedStringValue();
return c+f+b+f+e})},gca=function(a,b){return Zone.current.wrap(a,b)},hca=function(a,b){for(var c=a.length-1;0<=c;c--)"function"===typeof a[c]&&(a[c]=gca(a[c],b+"_"+c));return a},jca=function(a){for(var b=["getCurrentPosition","watchPosition"],c=a.constructor.name,d={},e=0;e<b.length;d={$jscomp$loop$prop$name$2191:d.$jscomp$loop$prop$name$2191},e++){d.$jscomp$loop$prop$name$2191=b[e];var f=a[d.$jscomp$loop$prop$name$2191];if(f){var h=Ac(a,d.$jscomp$loop$prop$name$2191);ica(h)&&(a[d.$jscomp$loop$prop$name$2191]=
function(l){return function(q){var u=function(){return q.apply(this,hca(arguments,c+"."+l.$jscomp$loop$prop$name$2191))};Bc(u,q);return u}}(d)(f))}}},ica=function(a){return a?!1===a.writable?!1:!("function"===typeof a.get&&"undefined"===typeof a.set):!0},mca=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,f=d.set,h=b.slice(2),l=Dc[h];l||(l=Dc[h]=
Cc("ON_PROPERTY"+h));d.set=function(q){var u=this;u||a!==Fc||(u=Fc);u&&("function"===typeof u[l]&&u.removeEventListener(h,kca),f&&f.call(u,null),u[l]=q,"function"===typeof q&&u.addEventListener(h,kca,!1))};d.get=function(){var q=this;q||a!==Fc||(q=Fc);if(!q)return null;var u=q[l];return u?u:e&&(u=e.call(this))?(d.set.call(this,u),"function"===typeof q.removeAttribute&&q.removeAttribute(b),u):null};lca(a,b,d);a[c]=!0}},nca=function(a,b,c){if(b)for(var d=0;d<b.length;d++)mca(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++)mca(a,b[d],c)}},Ic=function(a){var b=Fc[a];if(b){Fc[Cc(a)]=b;Fc[a]=function(){var e=hca(arguments,a);switch(e.length){case 0:this[Hc]=new b;break;case 1:this[Hc]=new b(e[0]);break;case 2:this[Hc]=new b(e[0],e[1]);break;case 3:this[Hc]=new b(e[0],e[1],e[2]);break;case 4:this[Hc]=new b(e[0],e[1],e[2],e[3]);break;default:throw Error("ma");}};Bc(Fc[a],b);var c=new b(function(){}),d;for(d in c)"XMLHttpRequest"===a&&"responseBlob"===d||function(e){"function"===
typeof c[e]?Fc[a].prototype[e]=function(){return this[Hc][e].apply(this[Hc],arguments)}:lca(Fc[a].prototype,e,{set:function(f){"function"===typeof f?(this[Hc][e]=gca(f,a+"."+e),Bc(this[Hc][e],f)):this[Hc][e]=f},get:function(){return this[Hc][e]}})}(d);for(d in b)"prototype"!==d&&b.hasOwnProperty(d)&&(Fc[a][d]=b[d])}},Jc=function(a,b,c){for(var d=a;d&&!d.hasOwnProperty(b);)d=oca(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 f=d&&Ac(d,b);if(ica(f)){var h=
c(e,a,b);d[b]=function(){return h(this,arguments)};Bc(d[b],e)}}return e},pca=function(a,b,c){function d(f){var h=f.data;h.args[h.cbIdx]=function(){f.invoke.apply(this,arguments)};e.apply(h.target,h.args);return f}var e=null;e=Jc(a,b,function(f){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):f.apply(h,l)}})},Bc=function(a,b){a[Cc("OriginalDelegate")]=b},sca=function(){if(qca)return rca;qca=!0;try{var a=Kc.navigator.userAgent;
if(-1!==a.indexOf("MSIE ")||-1!==a.indexOf("Trident/")||-1!==a.indexOf("Edge/"))rca=!0}catch(b){}return rca},tca=function(a,b){var c=(b?b(a):a)+"false";b=(b?b(a):a)+"true";c=Lc+c;b=Lc+b;Mc[a]={};Mc[a]["false"]=c;Mc[a]["true"]=b},zca=function(a,b,c,d){function e(X,aa,na){if(aa=aa||a.event){X=X||aa.target||a;var ma=X[Mc[aa.type][na?"true":"false"]];if(ma){na=[];if(1===ma.length)(aa=G(ma[0],X,aa))&&na.push(aa);else{ma=ma.slice();for(var Ca=0;Ca<ma.length&&(!aa||!0!==aa[uca]);Ca++){var Fa=G(ma[Ca],X,
aa);Fa&&na.push(Fa)}}if(1===na.length)throw na[0];aa={};for(X=0;X<na.length;aa={$jscomp$loop$prop$err$1714$2193:aa.$jscomp$loop$prop$err$1714$2193},X++)aa.$jscomp$loop$prop$err$1714$2193=na[X],b.nativeScheduleMicroTask(function(Ja){return function(){throw Ja.$jscomp$loop$prop$err$1714$2193;}}(aa))}}}function f(X,aa){if(!X)return!1;var na=!0;aa&&void 0!==aa.useG&&(na=aa.useG);var ma=aa&&aa.vh,Ca=!0;aa&&void 0!==aa.chkDup&&(Ca=aa.chkDup);var Fa=!1;aa&&void 0!==aa.rt&&(Fa=aa.rt);for(var Ja=X;Ja&&!Ja.hasOwnProperty(h);)Ja=
oca(Ja);!Ja&&X[h]&&(Ja=X);if(!Ja||Ja[x])return!1;var Ab=aa&&aa.eventNameToString,cb={},Ma=Ja[x]=Ja[h],ha=Ja[Cc(l)]=Ja[l];X=Ja[Cc(q)]=Ja[q];var xa=Ja[Cc(u)]=Ja[u],Da;aa&&aa.prepend&&(Da=Ja[Cc(aa.prepend)]=Ja[aa.prepend]);var Wa=function(Ya){if(!Ya.isRemoved){var Eb=Mc[Ya.eventName],Xb;Eb&&(Xb=Eb[Ya.capture?"true":"false"]);if(Eb=Xb&&Ya.target[Xb])for(var sc=0;sc<Eb.length;sc++)if(Eb[sc]===Ya){Eb.splice(sc,1);Ya.isRemoved=!0;0===Eb.length&&(Ya.allRemoved=!0,Ya.target[Xb]=null);break}}if(Ya.allRemoved)return ha.call(Ya.target,
Ya.eventName,Ya.capture?M:L,Ya.options)},Ra=function(Ya){return Ma.call(cb.target,cb.eventName,Ya.invoke,cb.options)},Ec=function(Ya){return Da.call(cb.target,cb.eventName,Ya.invoke,cb.options)},Va=function(Ya){return ha.call(Ya.target,Ya.eventName,Ya.invoke,Ya.options)};Ra=na?function(){if(!cb.isExisting)return Ma.call(cb.target,cb.eventName,cb.capture?M:L,cb.options)}:Ra;Wa=na?Wa:Va;Va=function(Ya,Eb){var Xb=typeof Eb;return"function"===Xb&&Ya.callback===Eb||"object"===Xb&&Ya.originalDelegate===
Eb};var kb=aa&&aa.diff?aa.diff:Va,Qa=Zone[Cc("UNPATCHED_EVENTS")],tb=a[Cc("PASSIVE_EVENTS")];Va=function(Ya,Eb,Xb,sc,Gc,Se){Gc=void 0===Gc?!1:Gc;Se=void 0===Se?!1:Se;return function(){var vd=this||a,$d=arguments[0];aa&&aa.transferEventName&&($d=aa.transferEventName($d));var Ri=arguments[1];if(!Ri||Nc&&"uncaughtException"===$d)return Ya.apply(this,arguments);var X8=!1;if("function"!==typeof Ri){if(!Ri.handleEvent)return Ya.apply(this,arguments);X8=!0}if(!ma||ma(Ya,Ri,vd,arguments)){var Tr=Oc&&!!tb&&
-1!==tb.indexOf($d);var jg=arguments[2];jg=!Oc&&"object"===typeof jg&&jg?!!jg.capture:Oc&&Tr?"boolean"===typeof jg?{capture:jg,passive:!0}:jg?"object"===typeof jg&&!1!==jg.passive?Object.assign({},jg,{passive:!0}):jg:{passive:!0}:jg;if(Qa)for(var mO=0;mO<Qa.length;mO++)if($d===Qa[mO])return Tr?Ya.call(vd,$d,Ri,jg):Ya.apply(this,arguments);Tr=jg?"boolean"===typeof jg?!0:jg.capture:!1;mO=jg&&"object"===typeof jg?jg.once:!1;var Iab=Zone.current,Ur=Mc[$d];Ur||(tca($d,Ab),Ur=Mc[$d]);var Av=Ur[Tr?"true":
"false"];Ur=vd[Av];var nG=!1;if(Ur){if(nG=!0,Ca)for(Av=0;Av<Ur.length;Av++)if(kb(Ur[Av],Ri))return}else Ur=vd[Av]=[];var Wl;Av=vd.constructor.name;var HDa=vca[Av];HDa&&(Wl=HDa[$d]);Wl||(Wl=Av+Eb+(Ab?Ab($d):$d));cb.options=jg;mO&&(cb.options.once=!1);cb.target=vd;cb.capture=Tr;cb.eventName=$d;cb.isExisting=nG;if(nG=na?wca:void 0)nG.taskData=cb;Wl=Iab.scheduleEventTask(Wl,Ri,nG,Xb,sc);cb.target=null;nG&&(nG.taskData=null);mO&&(jg.once=!0);if(Oc||"boolean"!==typeof Wl.options)Wl.options=jg;Wl.target=
vd;Wl.capture=Tr;Wl.eventName=$d;X8&&(Wl.originalDelegate=Ri);Se?Ur.unshift(Wl):Ur.push(Wl);if(Gc)return vd}}};Ja[h]=Va(Ma,y,Ra,Wa,Fa);Da&&(Ja.prependListener=Va(Da,".prependListener:",Ec,Wa,Fa,!0));Ja[l]=function(){var Ya=this||a,Eb=arguments[0];aa&&aa.transferEventName&&(Eb=aa.transferEventName(Eb));var Xb=arguments[2],sc=Xb?"boolean"===typeof Xb?!0:Xb.capture:!1;Xb=arguments[1];if(!Xb)return ha.apply(this,arguments);if(!ma||ma(ha,Xb,Ya,arguments)){var Gc=Mc[Eb],Se;Gc&&(Se=Gc[sc?"true":"false"]);
if(sc=Se&&Ya[Se])for(Gc=0;Gc<sc.length;Gc++){var vd=sc[Gc];if(kb(vd,Xb)){sc.splice(Gc,1);vd.isRemoved=!0;0===sc.length&&(vd.allRemoved=!0,Ya[Se]=null,"string"===typeof Eb&&(Ya[Lc+"ON_PROPERTY"+Eb]=null));vd.zone.cancelTask(vd);if(Fa)return Ya;return}}return ha.apply(this,arguments)}};Ja[q]=function(Ya){var Eb=this||a,Xb=Ya;aa&&aa.transferEventName&&(Xb=aa.transferEventName(Xb));Ya=[];Eb=xca(Eb,Ab?Ab(Xb):Xb);for(Xb=0;Xb<Eb.length;Xb++){var sc=Eb[Xb];Ya.push(sc.originalDelegate?sc.originalDelegate:
sc.callback)}return Ya};Ja[u]=function(Ya){var Eb=this||a;if(Ya){aa&&aa.transferEventName&&(Ya=aa.transferEventName(Ya));var Xb=Mc[Ya];if(Xb){var sc=Eb[Xb["false"]];Eb=Eb[Xb["true"]];if(sc)for(sc=sc.slice(),Xb=0;Xb<sc.length;Xb++){var Gc=sc[Xb];this[l].call(this,Ya,Gc.originalDelegate?Gc.originalDelegate:Gc.callback,Gc.options)}if(Eb)for(Eb=Eb.slice(),sc=0;sc<Eb.length;sc++)Xb=Eb[sc],this[l].call(this,Ya,Xb.originalDelegate?Xb.originalDelegate:Xb.callback,Xb.options)}}else{Ya=Object.keys(Eb);for(Eb=
0;Eb<Ya.length;Eb++)(sc=(sc=yca.exec(Ya[Eb]))&&sc[1])&&"removeListener"!==sc&&this[u].call(this,sc);this[u].call(this,"removeListener")}if(Fa)return this};Bc(Ja[h],Ma);Bc(Ja[l],ha);xa&&Bc(Ja[u],xa);X&&Bc(Ja[q],X);return!0}for(var h=d&&d.add||"addEventListener",l=d&&d.rm||"removeEventListener",q=d&&d.listeners||"eventListeners",u=d&&d.rmAll||"removeAllListeners",x=Cc(h),y="."+h+":",G=function(X,aa,na){if(!X.isRemoved){var ma=X.callback;"object"===typeof ma&&ma.handleEvent&&(X.callback=function(Ja){return ma.handleEvent(Ja)},
X.originalDelegate=ma);try{X.invoke(X,aa,[na])}catch(Ja){var Ca=Ja}var Fa=X.options;Fa&&"object"===typeof Fa&&Fa.once&&aa[l].call(aa,na.type,X.originalDelegate?X.originalDelegate:X.callback,Fa);return Ca}},L=function(X){return e(this,X,!1)},M=function(X){return e(this,X,!0)},T=[],S=0;S<c.length;S++)T[S]=f(c[S],d);return T},xca=function(a,b){if(!b){var c=[],d;for(d in a){var e=yca.exec(d);if((e=e&&e[1])&&(!b||e===b)&&(e=a[d]))for(var f=0;f<e.length;f++)c.push(e[f])}return c}c=Mc[b];c||(tca(b),c=Mc[b]);
b=a[c["false"]];a=a[c["true"]];return b?a?b.concat(a):b.slice():a?a.slice():[]},Aca=function(a,b){(a=a.Event)&&a.prototype&&b.patchMethod(a.prototype,"stopImmediatePropagation",function(c){return function(d,e){d[uca]=!0;c&&c.apply(d,e)}})},Qc=function(a,b,c,d){function e(u){var x=u.data;x.args[0]=function(){return u.invoke.apply(this,arguments)};x.handleId=h.apply(a,x.args);return u}function f(u){return l.call(a,u.data.handleId)}var h=null,l=null;b+=d;c+=d;var q={};h=Jc(a,b,function(u){return function(x,
y){if("function"===typeof y[0]){var G={isPeriodic:"Interval"===d,delay:"Timeout"===d||"Interval"===d?y[1]||0:void 0,args:y},L=y[0];y[0]=function(){try{return L.apply(this,arguments)}finally{G.isPeriodic||("number"===typeof G.handleId?delete q[G.handleId]:G.handleId&&(G.handleId[Pc]=null))}};x=Zone.current.scheduleMacroTask(b,y[0],G,e,f);if(!x)return x;y=x.data.handleId;"number"===typeof y?q[y]=x:y&&(y[Pc]=x);y&&y.ref&&y.unref&&"function"===typeof y.ref&&"function"===typeof y.unref&&(x.ref=y.ref.bind(y),
x.unref=y.unref.bind(y));return"number"===typeof y||y?y:x}return u.apply(a,y)}});l=Jc(a,c,function(u){return function(x,y){x=y[0];if("number"===typeof x)var G=q[x];else(G=x&&x[Pc])||(G=x);G&&"string"===typeof G.type?"notScheduled"!==G.state&&(G.cancelFn&&G.data.isPeriodic||0===G.runCount)&&("number"===typeof x?delete q[x]:x&&(x[Pc]=null),G.zone.cancelTask(G)):u.apply(a,y)}})},Bca=function(a,b,c,d,e){var f=Zone.__symbol__(d);if(!b[f]){var h=b[f]=b[d];b[d]=function(l,q,u){q&&q.prototype&&e.forEach(function(x){var y=
c+"."+d+"::"+x,G=q.prototype;try{if(G.hasOwnProperty(x)){var L=a.ObjectGetOwnPropertyDescriptor(G,x);L&&L.value?(L.value=a.wrapWithCurrentZone(L.value,y),a._redefineProperty(q.prototype,x,L)):G[x]&&(G[x]=a.wrapWithCurrentZone(G[x],y))}else G[x]&&(G[x]=a.wrapWithCurrentZone(G[x],y))}catch(M){}});return h.call(b,l,q,u)};a.attachOriginToPatched(b[d],h)}},Cca=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)})},Dca=function(a){return Object.getOwnPropertyNames(a).filter(function(b){return b.startsWith("on")&&2<b.length}).map(function(b){return b.substring(2)})},Ica=function(){Rc=Zone.__symbol__;Sc=Object[Rc("defineProperty")]=Object.defineProperty;Eca=Object[Rc("getOwnPropertyDescriptor")]=Object.getOwnPropertyDescriptor;Fca=Object.create;Tc=Rc("unconfigurables");Object.defineProperty=function(a,b,c){if(a&&a[Tc]&&a[Tc][b])throw new TypeError("qa`"+b+
"`"+a);var d=c.configurable;"prototype"!==b&&(c=Gca(a,b,c));return Hca(a,b,c,d)};Object.defineProperties=function(a,b){Object.keys(b).forEach(function(f){Object.defineProperty(a,f,b[f])});for(var c=m(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]=
Gca(a,c,b[c])});return Fca(a,b)};Object.getOwnPropertyDescriptor=function(a,b){var c=Eca(a,b);c&&a&&a[Tc]&&a[Tc][b]&&(c.configurable=!1);return c}},Jca=function(a,b,c){var d=c.configurable;c=Gca(a,b,c);return Hca(a,b,c,d)},Gca=function(a,b,c){Object.isFrozen(c)||(c.configurable=!0);c.configurable||(a[Tc]||Object.isFrozen(a)||Sc(a,Tc,{writable:!0,value:{}}),a[Tc]&&(a[Tc][b]=!0));return c},Hca=function(a,b,c,d){try{return Sc(a,b,c)}catch(e){if(c.configurable){"undefined"==typeof d?delete c.configurable:
c.configurable=d;try{return Sc(a,b,c)}catch(f){d=!1;if("createdCallback"===b||"attachedCallback"===b||"detachedCallback"===b||"attributeChangedCallback"===b)d=!0;if(!d)throw f;d=null;try{d=JSON.stringify(c)}catch(h){d=c.toString()}console.log("Attempting to configure '"+b+"' with descriptor '"+d+"' on object '"+a+"' and got error, giving up: "+f)}}else throw e;}},Kca=function(a,b){var c=b.getGlobalObjects(),d=c.eventNames,e=c.globalSources,f=c.zoneSymbolEventNames,h=c.TRUE_STR,l=c.FALSE_STR,q=c.ZONE_SYMBOL_PREFIX,
u="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 x="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=x.map(function(aa){return"HTML"+aa+"Element"}).concat(u):a.EventTarget?c.push("EventTarget"):c=u;var y=a.__Zone_disable_IE_check||!1,G=a.__Zone_enable_cross_context_check||!1,L=b.isIEOrEdge(),M={MSPointerCancel:"pointercancel",MSPointerDown:"pointerdown",MSPointerEnter:"pointerenter",MSPointerHover:"pointerhover",MSPointerLeave:"pointerleave",MSPointerMove:"pointermove",MSPointerOut:"pointerout",MSPointerOver:"pointerover",MSPointerUp:"pointerup"};for(u=0;u<d.length;u++){var T=d[u],S=q+(T+
l),X=q+(T+h);f[T]={};f[T][l]=S;f[T][h]=X}for(f=0;f<x.length;f++)for(h=x[f],l=e[h]={},q=0;q<d.length;q++)u=d[q],l[u]=h+".addEventListener:"+u;d=[];for(e=0;e<c.length;e++)x=a[c[e]],d.push(x&&x.prototype);b.patchEventTarget(a,b,d,{vh:function(aa,na,ma,Ca){if(!y&&L)if(G)try{var Fa=na.toString();if("[object FunctionWrapper]"===Fa||"function __BROWSERTOOLS_CONSOLE_SAFEFUNC() { [native code] }"==Fa)return aa.apply(ma,Ca),!1}catch(Ja){return aa.apply(ma,Ca),!1}else{if(na=na.toString(),"[object FunctionWrapper]"===
na||"function __BROWSERTOOLS_CONSOLE_SAFEFUNC() { [native code] }"==na)return aa.apply(ma,Ca),!1}else if(G)try{na.toString()}catch(Ja){return aa.apply(ma,Ca),!1}return!0},transferEventName:function(aa){return M[aa]||aa}});Zone[b.symbol("patchEventTarget")]=!!a.EventTarget},Lca=function(a,b){var c=a.getGlobalObjects(),d=c.ADD_EVENT_LISTENER_STR,e=c.REMOVE_EVENT_LISTENER_STR,f=b.WebSocket;b.EventTarget||a.patchEventTarget(b,a,[f.prototype]);b.WebSocket=function(l,q){var u=1<arguments.length?new f(l,
q):new f(l),x=a.ObjectGetOwnPropertyDescriptor(u,"onmessage");if(x&&!1===x.configurable){var y=a.ObjectCreate(u);var G=u;[d,e,"send","close"].forEach(function(L){y[L]=function(){var M=a.ArraySlice.call(arguments);if(L===d||L===e){var T=0<M.length?M[0]:void 0;T&&(T=Zone.__symbol__("ON_PROPERTY"+T),u[T]=y[T])}return u[L].apply(u,M)}})}else y=u;a.patchOnProperties(y,["close","error","message","open"],G);return y};c=b.WebSocket;for(var h in f)c[h]=f[h]},Mca=function(a,b){var c=a.getGlobalObjects(),d=
c.isMix;if((c.isBrowser||d)&&!a.ObjectGetOwnPropertyDescriptor(HTMLElement.prototype,"onclick")&&"undefined"!==typeof Element){if((c=a.ObjectGetOwnPropertyDescriptor(Element.prototype,"onclick"))&&!c.configurable)return!1;if(c)return a.ObjectDefineProperty(Element.prototype,"onclick",{enumerable:!0,configurable:!0,get:function(){return!0}}),d=!!document.createElement("div").onclick,a.ObjectDefineProperty(Element.prototype,"onclick",c),d}var e=b.XMLHttpRequest;if(!e)return!1;c=e.prototype;if(d=a.ObjectGetOwnPropertyDescriptor(c,
"onreadystatechange"))return a.ObjectDefineProperty(c,"onreadystatechange",{enumerable:!0,configurable:!0,get:function(){return!0}}),e=!!(new e).onreadystatechange,a.ObjectDefineProperty(c,"onreadystatechange",d||{}),e;var f=a.symbol("fake");a.ObjectDefineProperty(c,"onreadystatechange",{enumerable:!0,configurable:!0,get:function(){return this[f]},set:function(h){this[f]=h}});a=new e;c=function(){};a.onreadystatechange=c;c=a[f]===c;a.onreadystatechange=null;return c},Oca=function(a){for(var b=a.symbol("unbound"),
c={},d=0;d<Nca.length;c={$jscomp$loop$prop$onproperty$2200:c.$jscomp$loop$prop$onproperty$2200},d++){var e=Nca[d];c.$jscomp$loop$prop$onproperty$2200="on"+e;self.addEventListener(e,function(f){return function(h){h=h.target;var l;for(l=h?h.constructor.name+"."+f.$jscomp$loop$prop$onproperty$2200:"unknown."+f.$jscomp$loop$prop$onproperty$2200;h;){if(h[f.$jscomp$loop$prop$onproperty$2200]&&!h[f.$jscomp$loop$prop$onproperty$2200][b]){var q=a.wrapWithCurrentZone(h[f.$jscomp$loop$prop$onproperty$2200],
l);q[b]=h[f.$jscomp$loop$prop$onproperty$2200];h[f.$jscomp$loop$prop$onproperty$2200]=q}h=h.parentElement}}}(c),!0)}},Uc=function(a){for(var b in a)if(a[b]===Uc)return b;throw Error("ra");},Pca=function(a,b){for(var c in b)b.hasOwnProperty(c)&&!a.hasOwnProperty(c)&&(a[c]=b[c])},Vc=function(a){return{token:a.token,providedIn:a.providedIn||null,factory:a.factory,value:void 0}},Wc=function(a){return{providers:a.providers||[],imports:a.imports||[]}},Xc=function(a){var b;(b=a.hasOwnProperty(Qca)?a[Qca]:
null)||(b=a.hasOwnProperty(Rca)?a[Rca]:null);return b},Sca=function(a){var b=a&&(a[Qca]||a[Rca]);return b?(a.hasOwnProperty("name"),b):null},Vca=function(a){return a&&(a.hasOwnProperty(Tca)||a.hasOwnProperty(Uca))?a[Tca]:null},Yc=function(a){return"string"===typeof a?a:null==a?"":String(a)},Zc=function(a){if("string"===typeof a)return a;if(Array.isArray(a))return"["+a.map(Zc).join(", ")+"]";if(null==a)return""+a;if(a.overriddenName)return""+a.overriddenName;if(a.name)return""+a.name;a=a.toString();
if(null==a)return""+a;var b=a.indexOf("\n");return-1===b?a:a.substring(0,b)},Wca=function(a,b){return null==a||""===a?null===b?"":b:null==b||""===b?a:a+" "+b},ad=function(){throw new $c(-201,!1);},bd=function(a){var b=Xca;Xca=a;return b},Yca=function(a,b,c){var d=Xc(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;ad(Zc(a))},cd=function(a){a.__forward_ref__=cd;a.toString=function(){return Zc(this())};return a},dd=function(a){return Zca(a)?
a():a},Zca=function(a){return"function"===typeof a&&a.hasOwnProperty($ca)&&a.__forward_ref__===cd},fd=function(a){var b=ed;ed=a;return b},ada=function(a,b){b=void 0===b?0:b;if(void 0===ed)throw new $c(-203,!1);return null===ed?Yca(a,void 0,b):ed.get(a,b&8?null:void 0,b)},n=function(a,b){b=void 0===b?0:b;return(Xca||ada)(dd(a),b)},hd=function(a,b){return n(a,gd(void 0===b?0:b))},gd=function(a){return"undefined"===typeof a||"number"===typeof a?a:0|(a.optional&&8)|(a.host&&1)|(a.self&&2)|(a.skipSelf&&
4)},bda=function(a){for(var b=[],c=0;c<a.length;c++){var d=dd(a[c]);if(Array.isArray(d)){if(0===d.length)throw new $c(900,!1);for(var e=void 0,f=0,h=0;h<d.length;h++){var l=d[h],q=l.__NG_DI_FLAG__;"number"===typeof q?-1===q?e=l.token:f|=q:e=l}b.push(n(e,f))}else b.push(n(d))}return b},id=function(a,b){a.__NG_DI_FLAG__=b;a.prototype.__NG_DI_FLAG__=b;return a},cda=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}},dda=function(a,b,c){for(var d=0;d<c.length;){var e=c[d];if("number"===typeof e){if(0!==e)break;d++;e=c[d++];var f=c[d++],h=c[d++];a.setAttribute(b,f,h,e)}else f=c[++d],64===e.charCodeAt(0)?a.setProperty(b,e,f):a.setAttribute(b,e,f),d++}},jd=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?eda(a,c,e,b[++d]):eda(a,c,e,null))}return a},eda=
function(a,b,c,d){var e=0,f=a.length;if(-1===b)f=-1;else for(;e<a.length;){var h=a[e++];if("number"===typeof h)if(h===b){f=-1;break}else if(h>b){f=e-1;break}}for(;e<a.length;){h=a[e];if("number"===typeof h)break;else if(h===c){null!==d&&(a[e+1]=d);return}e++;null!==d&&e++}-1!==f&&(a.splice(f,0,b),e=f+1);a.splice(e++,0,c);null!==d&&a.splice(e++,0,d)},fda=function(a,b,c){var d=4,e=a.attrs||[],f;a:{for(f=0;f<e.length;f++){var h=e[f];if(3===h||4===h||6===h)break a}f=e.length}h=!1;for(var 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 u=d&8?q:b[++l];if(d&8&&null!==a.attrs){a:{q=a.attrs;for(var x=c,y=0,G=!0;y<q.length;){var L=q[y++];if("string"===typeof L&&G){var M=q[y++];if(x&&"class"===L&&-1!==cda(M.toLowerCase(),u)){u=!0;break a}}else if(1===L){for(;y<q.length&&"string"==typeof(L=q[y++]);)if(L.toLowerCase()===
u){u=!0;break a}break}else"number"===typeof L&&(G=!1)}u=!1}if(!u){if(0===(d&1))return!1;h=!0}}else{a:if(q=d&8?"class":q,null===e)q=-1;else if(x=0,c||4!==a.type||"ng-template"===a.value){for(y=!1;x<e.length;){G=e[x];if(G===q){q=x;break a}if(3===G||6===G)y=!0;else if(1===G||2===G){for(G=e[++x];"string"===typeof G;)G=e[++x];continue}else if(4===G)break;else if(0===G){x+=4;continue}x+=y?1:2}q=-1}else b:{x=e.indexOf(4);if(-1<x)for(x++;x<e.length;){y=e[x];if("number"===typeof y)break;if(y===q){q=x;break b}x++}q=
-1}if(-1===q){if(0===(d&1))return!1;h=!0}else if(""!==u&&(q=q>f?"":e[q+1].toLowerCase(),(x=d&8?q:null)&&-1!==cda(x,u)||d&2&&u!==q)){if(0===(d&1))return!1;h=!0}}}}return 0===(d&1)||h},gda=function(a,b,c){c=void 0===c?!1:c;for(var d=0;d<b.length;d++)if(fda(a,b[d],c))return!0;return!1},hda=function(a){for(var b=a[0],c=1,d=2,e="",f=!1;c<a.length;){var h=a[c];if("string"===typeof h)if(d&2){var l=a[++c];e+="["+h+(0<l.length?'="'+l+'"':"")+"]"}else d&8?e+="."+h:d&4&&(e+=" "+h);else""!==e&&0!==(h&1)&&(b+=
f?":not("+e.trim()+")":e,e=""),d=h,f=f||0!==(d&1);c++}""!==e&&(b+=f?":not("+e.trim()+")":e);return b},kd=function(a){return{toString:a}.toString()},p=function(a){return kd(function(){var b=ida(a);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,data:a.data||{},encapsulation:a.encapsulation||
0,styles:a.styles||ld,_:null,schemas:a.schemas||null,tView:null,id:""});jda(b);var c=a.dependencies;b.directiveDefs=md(c,!1);b.pipeDefs=md(c,!0);c=0;var d=[b.selectors,b.ngContentSelectors,b.hostVars,b.hostAttrs,b.consts,b.vars,b.decls,b.encapsulation,b.standalone,Object.getOwnPropertyNames(b.type.prototype),!!b.contentQueries,!!b.viewQuery].join("|");d=m(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})},kda=function(a,b){a=a.\u0275cmp;
a.directiveDefs=md(b,!1);a.pipeDefs=md([],!0)},mda=function(a){return a[nd]||a[lda]||null},nda=function(a){return null!==a},od=function(a){return kd(function(){return{type:a.type,bootstrap:a.bootstrap||ld,declarations:a.declarations||ld,imports:a.imports||ld,exports:a.exports||ld,transitiveCompileScopes:null,schemas:a.schemas||null,id:a.id||null}})},oda=function(a,b){if(null==a)return pd;var c={},d;for(d in a)if(a.hasOwnProperty(d)){var e=a[d],f=e;Array.isArray(e)&&(f=e[1],e=e[0]);c[e]=d;b&&(b[e]=
f)}return c},qd=function(a){return kd(function(){var b=ida(a);jda(b);return b})},rd=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}},qda=function(a){return a[pda]||null},ida=function(a){var b={};return{type:a.type,providersResolver:null,factory:null,hostBindings:a.hostBindings||null,hostVars:a.hostVars||0,hostAttrs:a.hostAttrs||null,contentQueries:a.contentQueries||null,declaredInputs:b,exportAs:a.exportAs||
null,standalone:!0===a.standalone,selectors:a.selectors||ld,viewQuery:a.viewQuery||null,features:a.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:oda(a.inputs,b),outputs:oda(a.outputs)}},jda=function(a){var b;null==(b=a.features)||b.forEach(function(c){return c(a)})},md=function(a,b){if(!a)return null;var c=b?qda:mda;return function(){return("function"===typeof a?a():a).map(function(d){return c(d)}).filter(nda)}},td=function(a){return a.hasOwnProperty(sd)?a[sd]:
null},rda=function(a,b){a.forEach(function(c){return Array.isArray(c)?rda(c,b):b(c)})},ud=function(a,b){return b>=a.length-1?a.pop():a.splice(b,1)[0]},sda=function(a,b){for(var c=[],d=0;d<a;d++)c.push(b);return c},xd=function(a,b,c){var d=wd(a,b);if(0<=d)a[d|1]=c;else{var e=d=~d,f=a.length;if(f==e)a.push(b,c);else if(1===f)a.push(c,a[0]),a[0]=b;else{f--;for(a.push(a[f-1],a[f]);f>e;)a[f]=a[f-2],f--;a[e]=b;a[e+1]=c}}return d},tda=function(a,b){b=wd(a,b);if(0<=b)return a[b|1]},wd=function(a,b){for(var c=
0,d=a.length>>1;d!==c;){var e=c+(d-c>>1),f=a[e<<1];if(b===f)return e<<1;f>b?d=e:c=e+1}return~(d<<1)},vda=function(){return{"\u0275providers":uda(!0,yd.apply(0,arguments)),"\u0275fromNgModule":!0}},uda=function(a){var b=[],c=new Set,d;rda(yd.apply(1,arguments),function(e){wda(e,b,[],c)&&(d||(d=[]),d.push(e))});void 0!==d&&xda(d,b);return b},xda=function(a,b){for(var c={},d=0;d<a.length;c={$jscomp$loop$prop$providers$2202:c.$jscomp$loop$prop$providers$2202,$jscomp$loop$prop$ngModule$2203:c.$jscomp$loop$prop$ngModule$2203},
d++){var e=a[d];c.$jscomp$loop$prop$ngModule$2203=e.ngModule;c.$jscomp$loop$prop$providers$2202=e.providers;yda(c.$jscomp$loop$prop$providers$2202,function(){return function(f){b.push(f)}}(c))}},wda=function(a,b,c,d){a=dd(a);if(!a)return!1;var e=null,f=Vca(a),h=!f&&(a[nd]||null);if(f||h){if(h&&!h.standalone)return!1;e=a}else{var l=a.ngModule;if(f=Vca(l))e=l;else return!1}l=d.has(e);if(h){if(l)return!1;d.add(e);if(h.dependencies)for(f="function"===typeof h.dependencies?h.dependencies():h.dependencies,
f=m(f),l=f.next();!l.done;l=f.next())wda(l.value,b,c,d)}else if(f){if(null!=f.imports&&!l){d.add(e);var q;rda(f.imports,function(u){wda(u,b,c,d)&&(q||(q=[]),q.push(u))});void 0!==q&&xda(q,b)}l||(h=td(e)||function(){return new e},b.push({provide:e,useFactory:h,deps:ld},{provide:zda,useValue:e,multi:!0},{provide:Ada,useValue:function(){return n(e)},multi:!0}));f=f.providers;null==f||l||yda(f,function(u){b.push(u)})}else return!1;return e!==a&&void 0!==a.providers},yda=function(a,b){a=m(a);for(var c=
a.next();!c.done;c=a.next())(c=c.value)&&c.\u0275providers&&(c=c.\u0275providers),Array.isArray(c)?yda(c,b):b(c)},Cda=function(a){return null!==a&&"object"==typeof a&&Bda in a},zd=function(a){return"function"===typeof a},Ad=function(){void 0===Dda&&(Dda=new Eda);return Dda},Gda=function(a){var b=Xc(a);b=null!==b?b.factory:td(a);if(null!==b)return b;if(a instanceof Bd)throw new $c(204,!1);if(a instanceof Function)return Fda(a);throw new $c(204,!1);},Fda=function(a){var b=a.length;if(0<b)throw sda(b,
"?"),new $c(204,!1);var c=Sca(a);return null!==c?function(){return c.factory(a)}:function(){return new a}},Ida=function(a){if(Cda(a))return Cd(void 0,a.useValue);a=Hda(a);return Cd(a,Dd)},Hda=function(a){var b=void 0;if(zd(a))return b=dd(a),td(b)||Gda(b);if(Cda(a))b=function(){return dd(a.useValue)};else if(a&&a.useFactory)b=function(){return a.useFactory.apply(a,r(bda(a.deps||[])))};else if(a&&a.useExisting)b=function(){return n(dd(a.useExisting))};else{var c=dd(a&&(a.useClass||a.provide));if(a.deps)b=
function(){return new (Function.prototype.bind.apply(c,[null].concat(r(bda(a.deps)))))};else return td(c)||Gda(c)}return b},Cd=function(a,b,c){return{factory:a,value:b,multi:(void 0===c?0:c)?[]:void 0}},Jda=function(a,b){a=m(a);for(var c=a.next();!c.done;c=a.next())c=c.value,Array.isArray(c)?Jda(c,b):c&&c&&c.\u0275providers?Jda(c.\u0275providers,b):b(c)},Kda=function(a){return function(){var b=yd.apply(0,arguments);if(a){b=a.apply(null,r(b));for(var c in b)this[c]=b[c]}}},Ed=function(a){return kd(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(f);return h}var e=yd.apply(0,arguments);if(this instanceof b)return c.apply(this,e),this;var f=new (Function.prototype.bind.apply(b,[null].concat(r(e))));d.annotation=f;return d}var c=Kda(a);return b})},Fd=function(a){return Array.isArray(a)&&"object"===typeof a[1]},Gd=function(a){return Array.isArray(a)&&!0===a[1]},Hd=function(){return Lda},
Lda=function(a){a.type.prototype.ngOnChanges&&(a.setInput=Mda);return Nda},Nda=function(){var a=this.__ngSimpleChanges__||null,b=null==a?void 0:a.current;if(b){var c=a.previous;if(c===pd)a.previous=b;else for(var d in b)c[d]=b[d];a.current=null;this.ngOnChanges(b)}},Mda=function(a,b,c,d){c=this.declaredInputs[c];var e;(e=a.__ngSimpleChanges__||null)||(e=a.__ngSimpleChanges__={previous:pd,current:null});var f=e;e=f.current||(f.current={});f=f.previous;var h=f[c];e[c]=new Oda(h&&h.currentValue,b,f===
pd);a[d]=b},Id=function(a){for(;Array.isArray(a);)a=a[0];return a},Jd=function(a,b){return Id(b[a.index])},Kd=function(a,b){a=b[a];return Fd(a)?a:a[0]},Ld=function(a,b){return null===b||void 0===b?null:a[b]},Pda=function(a,b){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]},t=function(){return Md.lView},v=function(a){Md.contextLView=a;return a[8]},w=function(a){Md.contextLView=null;return a},Nd=function(){for(var a=Md.currentTNode;null!==a&&64===a.type;)a=
a.parent;return a},Od=function(a,b){var c=Md;c.currentTNode=a;c.isParent=b},Pd=function(){var a=Md,b=a.bindingRootIndex;-1===b&&(b=a.bindingRootIndex=a.tView.bindingStartIndex);return b},Qd=function(a){var b=Md,c=b.bindingIndex;b.bindingIndex+=a;return c},Qda=function(a){var b=Md.currentDirectiveIndex;return-1===b?null:a[b]},Sda=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=
Md=Rda();c.currentTNode=b;c.lView=a;return!0},Tda=function(a){var b=Rda(),c=a[1];Md=b;b.currentTNode=c.firstChild;b.lView=a;b.tView=c;b.contextLView=a;b.bindingIndex=c.bindingStartIndex;b.inI18n=!1},Rda=function(){var a=Md,b=null===a?null:a.child;return null===b?Uda(a):b},Uda=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},Vda=function(){var a=Md;Md=a.parent;a.currentTNode=null;a.lView=null;return a},Wda=function(){var a=Vda();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},Rd=function(){var a=Md;return a.tView.data[a.selectedIndex]},Sd=function(){Md.currentNamespace="svg"},Td=function(){Md.currentNamespace=
null},Ud=function(a){var b=Xda;Xda=a;return b},Vd=function(a,b){var c=b.directiveStart;for(b=b.directiveEnd;c<b;c++){var d=a.data[c].type.prototype,e=d.ngAfterContentInit,f=d.ngAfterContentChecked,h=d.ngAfterViewInit,l=d.ngAfterViewChecked;d=d.ngOnDestroy;if(e){var q=void 0,u=void 0;(null!=(u=(q=a).contentHooks)?u:q.contentHooks=[]).push(-c,e)}f&&(q=e=void 0,(null!=(q=(e=a).contentHooks)?q:e.contentHooks=[]).push(c,f),q=e=void 0,(null!=(q=(e=a).contentCheckHooks)?q:e.contentCheckHooks=[]).push(c,
f));h&&(e=f=void 0,(null!=(e=(f=a).viewHooks)?e:f.viewHooks=[]).push(-c,h));l&&(f=h=void 0,(null!=(f=(h=a).viewHooks)?f:h.viewHooks=[]).push(c,l),f=h=void 0,(null!=(f=(h=a).viewCheckHooks)?f:h.viewCheckHooks=[]).push(c,l));null!=d&&(h=l=void 0,(null!=(h=(l=a).destroyHooks)?h:l.destroyHooks=[]).push(c,d))}},Xd=function(a,b,c,d){(a[2]&3)===c&&Wd(a,b,c,d)},Yda=function(a,b){var c=a[2];(c&3)===b&&(a[2]=(c&4095)+1)},Wd=function(a,b,c,d){for(var e=null!=d?d:-1,f=b.length-1,h=0,l=void 0!==d?a[17]&65535:
0;l<f;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],u=b[l+1],x=a[q?-b[l]:b[l]];q?a[2]>>12<a[17]>>16&&(a[2]&3)===c&&(a[2]+=4096,Zda(x,u)):Zda(x,u);a[17]=(a[17]&4294901760)+l+2}l++}},Zda=function(a,b){var c=Ud(null);try{b.call(a)}finally{Ud(c)}},Yd=function(a,b){for(a>>=16;0<a;)b=b[14],a--;return b},Zd=function(a){var b=$da;$da=a;return b},bea=function(a,b,c){var d;"string"===typeof c?d=c.charCodeAt(0)||0:c.hasOwnProperty(ae)&&
(d=c[ae]);null==d&&(d=c[ae]=aea++);c=d&255;b.data[a+(c>>5)]|=1<<c},be=function(a,b){var c=cea(a,b);if(-1!==c)return c;c=b[1];c.firstCreatePass&&(a.injectorIndex=b.length,dea(c.data,a),dea(b,null),dea(c.blueprint,null));c=eea(a,b);a=a.injectorIndex;if(-1!==c)for(var d=c&32767,e=Yd(c,b),f=e[1].data,h=0;8>h;h++)b[a+h]=e[d+h]|f[d+h];b[a+8]=c;return a},dea=function(a,b){a.push(0,0,0,0,0,0,0,0,b)},cea=function(a,b){return-1===a.injectorIndex||a.parent&&a.parent.injectorIndex===a.injectorIndex||null===b[a.injectorIndex+
8]?-1:a.injectorIndex},eea=function(a,b){if(a.parent&&-1!==a.parent.injectorIndex)return a.parent.injectorIndex;a=0;for(var c=b;null!==c;){b=fea(c);if(null===b)break;a++;c=c[14];if(-1!==b.injectorIndex)return b.injectorIndex|a<<16}return-1},ce=function(a){var b=Nd();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},gea=function(a,b,c,d){c&8&&void 0===d&&(d=null);if(0===(c&3)){a=a[9];var e=bd();try{return a?a.get(b,d,c&8):Yca(b,d,c&8)}finally{bd(e)}}c&8||void 0!==d?b=d:(ad(),b=void 0);return b},iea=function(a,b,c,d,e){d=void 0===d?0:d;if(null!==a){if(b[2]&2048){a:{var f=d;for(var h=de,l=a,q=b;null!==l&&null!==q&&q[2]&2048&&!(q[2]&512);){var u=hea(l,q,c,f|2);if(u!==de){f=u;break a}l=l.parent;if(!l){if(l=q[20])if(l=l.get(c,de,f),l!==de){f=l;break a}l=fea(q);q=q[14]}}f=h}if(f!==
de)return f}a=hea(a,b,c,d);if(a!==de)return a}return gea(b,c,d,e)},hea=function(a,b,c,d){var e=de;if("string"===typeof c)var f=c.charCodeAt(0)||0;else f=c.hasOwnProperty(ae)?c[ae]:void 0,f="number"===typeof f?0<=f?f&255:jea:f;if("function"===typeof f){if(!Sda(b,a,d))return d&1?d&8||void 0!==e?b=e:(ad(),b=void 0):b=gea(b,c,d,e),b;try{var h=f(d);if(null!=h||d&8)return h;ad()}finally{Vda()}}else if("number"===typeof f){h=null;var l=cea(a,b),q=d&1?b[15][6]:null;if(-1===l||d&4){var u=-1===l?eea(a,b):b[l+
8];-1===u||d&2?l=-1:(h=b[1],l=u&32767,b=Yd(u,b))}for(;-1!==l;){a=b[1];if(a.data[l+(f>>5)]&1<<f){u=b[1];var x=u.data[l+8],y=ee(x,u,c,null==h?-1<x.componentOffset&&$da:h!=u&&0!==(x.type&3),d&1&&q===x);u=null!==y?fe(b,u,y,x):de;if(u!==de)return u}u=b[l+8];-1!==u&&!(d&2||d&1&&b[1].data[l+8]===q)&&b[l+(f>>5)]&1<<f?(h=a,l=u&32767,b=Yd(u,b)):l=-1}}return e},ee=function(a,b,c,d,e){var f=a.providerIndexes,h=b.data,l=f&1048575;b=a.directiveStart;a=a.directiveEnd;var q=f>>20;f=e?l+q:a;for(d=d?l:l+q;d<f;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},fe=function(a,b,c,d){var e=a[c],f=b.data;if(e instanceof ge){var h=e;if(h.resolving)throw a=f[c],new $c(-200,"Circular dependency in DI detected for "+("function"===typeof a?a.name||a.toString():"object"===typeof a&&null!=a&&"function"===typeof a.type?a.type.name||a.type.toString():Yc(a)));var l=Zd(h.canSeeViewProviders);h.resolving=!0;var q=h.injectImpl?bd(h.injectImpl):null;Sda(a,d,0);try{if(e=a[c]=h.factory(void 0,
f,a,d),b.firstCreatePass&&c>=d.directiveStart){var u=f[c],x=u.type.prototype,y=x.ngOnInit,G=x.ngDoCheck;if(x.ngOnChanges){var L=Lda(u),M;(null!=(M=b.preOrderHooks)?M:b.preOrderHooks=[]).push(c,L);var T;(null!=(T=b.preOrderCheckHooks)?T:b.preOrderCheckHooks=[]).push(c,L)}if(y){var S;(null!=(S=b.preOrderHooks)?S:b.preOrderHooks=[]).push(-c,y)}if(G){var X;(null!=(X=b.preOrderHooks)?X:b.preOrderHooks=[]).push(c,G);var aa;(null!=(aa=b.preOrderCheckHooks)?aa:b.preOrderCheckHooks=[]).push(c,G)}}}finally{null!==
q&&bd(q),Zd(l),h.resolving=!1,Vda()}}return e},jea=function(){return new he(Nd(),t())},ie=function(a){return kd(function(){var b=a.prototype.constructor;b=b[sd]||kea(b);for(var c=Object.prototype,d=Object.getPrototypeOf(a.prototype).constructor;d&&d!==c;){var e=d[sd]||kea(d);if(e&&e!==b)return e;d=Object.getPrototypeOf(d)}return function(f){return new f}})},kea=function(a){return Zca(a)?function(){var b=kea(dd(a));return b&&b()}:td(a)},fea=function(a){var b=a[1],c=b.type;return 2===c?b.declTNode:
1===c?a[6]:null},nea=function(a,b,c,d){a=lea(a,void 0===b?null:b,void 0===c?null:c,d);mea(a);return a},lea=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)||ld,vda(a)];d=d||("object"===typeof a?void 0:Zc(a));return new je(c,b||Ad(),d||null,e)},pea=function(){if(void 0!==oea)return oea;if("undefined"!==typeof document)return document},le=function(a,b){return new ke(Jd(a,b))},qea=function(a){return a instanceof ke?a.nativeElement:a},me=function(a,b){Fd(b)?(a.__ngContext__=
b[19],rea.set(b[19],b)):a.__ngContext__=b},sea=function(a){a=a[3];return Gd(a)?a[3]:a},ne=function(a){for(;null!==a&&!Gd(a);)a=a[4];return a},tea=function(a){for(;a;){a[2]|=64;var b=sea(a);if(0!==(a[2]&512)&&!b)break;a=b}},oe=function(a){return a.ownerDocument.defaultView},uea=function(a){return a.ownerDocument},z=function(a){vea(Md.tView,t(),Md.selectedIndex+a)},vea=function(a,b,c){3===(b[2]&3)?(a=a.preOrderCheckHooks,null!==a&&Wd(b,a,3,c)):(a=a.preOrderHooks,null!==a&&Xd(b,a,0,c));Md.selectedIndex=
c},A=function(a,b){b=void 0===b?0:b;var c=t();return null===c?n(a,b):iea(Nd(),c,dd(a),b)},pe=function(){throw Error("va");},yea=function(){return"".replace(wea,function(a){return a.replace(xea,"\u200b$1\u200b")})},qe=function(a,b,c,d,e){if(null!=d){var f=!1;if(Gd(d))var h=d;else Fd(d)&&(f=!0,d=d[0]);d=Id(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,f)}else 3===
a&&b.destroyNode(d);if(null!=h)for(d=h[7],f=Id(h),d!==f&&qe(a,b,c,d,e),e=11;e<h.length;e++)f=h[e],re(b,a,f[1].firstChild,f,c,d,!1)}},zea=function(a,b){a=a[9];var c=a.indexOf(b),d=b[3];b[2]&1024&&(b[2]&=-1025,Pda(d,-1));a.splice(c,1)},Aea=function(a,b){if(!(11>=a.length)){var c=11+b,d=a[c];if(d){var e=d[16];null!==e&&e!==a&&zea(e,d);0<b&&(a[c-1][4]=d[4]);a=ud(a,11+b);re(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}},
Cea=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&&re(c,3,a.firstChild,b,null,null,!1);if(a=b[12])for(;a;){c=null;Fd(a)?c=a[12]:(d=a[11])&&(c=d);if(!c){for(;a&&!a[4]&&a!==b;)Fd(a)&&Bea(a[1],a),a=a[3];null===a&&(a=b);Fd(a)&&Bea(a[1],a);c=a&&a[4]}a=c}else Bea(b[1],b)}},Bea=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
ge)){var f=c[d+1];if(Array.isArray(f))for(var h=0;h<f.length;h+=2)f[h+1].call(e[f[h]]);else f.call(e)}}c=a.cleanup;d=b[7];if(null!==c)for(e=0;e<c.length-1;e+=2)if("string"===typeof c[e]){f=c[e+3];if(0<=f)d[f]();else d[-f].unsubscribe();e+=2}else c[e].call(d[c[e+1]]);null!==d&&(b[7]=null);c=b[21];if(null!==c){for(d=0;d<c.length;d++)(0,c[d])();b[21]=null}1===b[1].type&&b[11].destroy();c=b[16];null!==c&&Gd(b[3])&&(c!==b[3]&&zea(c,b),c=b[18],null!==c&&c.detachView(a));rea.delete(b[19])}},Dea=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:Jd(b,c)},se=function(a,b,c,d){a=Dea(a,d.parent,b);var e=b[11];d=d.parent||b[6];b=d.type&40?Jd(d,b):null;if(null!=a)if(Array.isArray(c))for(d=0;d<c.length;d++){var f=c[d];null!==b?e.insertBefore(a,f,b,!1):e.appendChild(a,f)}else null!==b?e.insertBefore(a,c,b,!1):e.appendChild(a,c)},te=function(a,b){if(null!==b){var c=b.type;if(c&3)return Jd(b,
a);if(c&4)return Eea(-1,a[b.index]);if(c&8){c=b.child;if(null!==c)return te(a,c);a=a[b.index];return Gd(a)?Eea(-1,a):Id(a)}if(c&32)return(void 0)(b,a)()||Id(a[b.index]);c=null!==b?a[15][6].projection[b.projection]:null;if(null!==c){if(Array.isArray(c))return c[0];a=sea(a[15]);return te(a,c)}return te(a,b.next)}return null},Eea=function(a,b){a+=12;if(a<b.length){a=b[a];var c=a[1].firstChild;if(null!==c)return te(a,c)}return b[7]},re=function(a,b,c,d,e,f,h){for(;null!=c;){var l=d[c.index],q=c.type;
h&&0===b&&(l&&me(Id(l),d),c.flags|=2);if(32!==(c.flags&32))if(q&8)re(a,b,c.child,d,e,f,!1),qe(b,a,e,l,f);else if(q&32){q=(void 0)(c,d);for(var u;u=q();)qe(b,a,e,u,f);qe(b,a,e,l,f)}else q&16?Fea(a,b,d,c,e,f):qe(b,a,e,l,f);c=h?c.projectionNext:c.next}},Fea=function(a,b,c,d,e,f){c=c[15];d=c[6].projection[d.projection];if(Array.isArray(d))for(c=0;c<d.length;c++)qe(b,a,e,d[c],f);else re(a,b,d,c[3],e,f,!0)},Gea=function(a,b,c){var d=c.mergedAttrs,e=c.classes;c=c.styles;null!==d&&dda(a,b,d);null!==e&&(""===
e?a.removeAttribute(b,"class"):a.setAttribute(b,"class",e));null!==c&&a.setAttribute(b,"style",c)},Hea=function(){null!=ue||(ue=new ve);return ue},Iea=function(a,b){var c;return null!=(c=a[b])?c:Hea()},Jea=function(a,b){var c=Hea();c.hasReadASignal&&(a[b]=ue,c.lView=a,ue=new ve)},xe=function(a){return a instanceof we?a.changingThisBreaksApplicationSecurity:a},ye=function(a,b){a=a instanceof we&&a.getTypeName()||null;if(null!=a&&a!==b){if("ResourceURL"===a&&"URL"===b)return!0;throw Error("wa`"+b+"`"+
a);}return a===b},Kea=function(){if(void 0===ze&&(ze=null,Ae.trustedTypes))try{ze=Ae.trustedTypes.createPolicy("angular",{createHTML:function(a){return a},createScript:function(a){return a},createScriptURL:function(a){return a}})}catch(a){}return ze},Be=function(a){var b;return(null==(b=Kea())?void 0:b.createHTML(a))||a},Mea=function(a){a=String(a);return a.match(Lea)?a:"unsafe:"+a},Ce=function(a){var b={};a=m(a.split(","));for(var c=a.next();!c.done;c=a.next())b[c.value]=!0;return b},De=function(){for(var a=
{},b=m(yd.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},Pea=function(a){return a.replace(/&/g,"&amp;").replace(Nea,function(b){return"&#"+(1024*(b.charCodeAt(0)-55296)+(b.charCodeAt(1)-56320)+65536)+";"}).replace(Oea,function(b){return"&#"+b.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")},Yea=function(a,b){var c=null;try{var d;if(!(d=Ee)){var e=new Qea(a);try{var f=!!(new window.DOMParser).parseFromString(Be(""),
"text/html")}catch(X){f=!1}d=f?new Rea(e):e}Ee=d;var h=b?String(b):"";c=Ee.getInertBodyElement(h);a=5;b=h;do{if(0===a)throw Error("ya");a--;h=b;b=c.innerHTML;c=Ee.getInertBodyElement(h)}while(h!==b);var l=new Sea,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 u=b.nodeName.toLowerCase();if(Tea.hasOwnProperty(u)){a.buf.push("<");a.buf.push(u);var x=b.attributes;for(b=0;b<x.length;b++){var y=
x.item(b),G=y.name,L=G.toLowerCase();if(Uea.hasOwnProperty(L)){var M=y.value;Vea[L]&&(M=Mea(M));a.buf.push(" ",G,'="',Pea(M),'"')}}a.buf.push(">");h=!0}else h=!Wea.hasOwnProperty(u)}else q.nodeType===Node.TEXT_NODE&&l.buf.push(Pea(q.nodeValue));if(h&&q.firstChild)q=q.firstChild;else for(;q;){q.nodeType===Node.ELEMENT_NODE&&l.endElement(q);var T=Xea(q,q.nextSibling);if(T){q=T;break}q=Xea(q,q.parentNode)}}var S=l.buf.join("");return Be(S)}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)}},Zea=function(){if(void 0===Fe&&(Fe=null,Ae.trustedTypes))try{Fe=Ae.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:function(a){return a},createScript:function(a){return a},createScriptURL:function(a){return a}})}catch(a){}return Fe},$ea=function(a){var b;return(null==(b=Zea())?void 0:b.createHTML(a))||a},afa=function(a){var b;return(null==(b=Zea())?void 0:b.createScriptURL(a))||a},He=function(a){var b=
Ge();return b?$ea(b.sanitize(1,a)||""):ye(a,"HTML")?$ea(xe(a)):Yea(pea(),Yc(a))},bfa=function(a){var b=Ge();return b?b.sanitize(2,a)||"":ye(a,"Style")?xe(a):Yc(a)},Ie=function(a){var b=Ge();return b?b.sanitize(4,a)||"":ye(a,"URL")?xe(a):Mea(Yc(a))},cfa=function(a){var b=Ge();if(b)return afa(b.sanitize(5,a)||"");if(ye(a,"ResourceURL"))return afa(xe(a));throw new $c(904,!1);},Ge=function(){var a=t();return a&&a[10].sanitizer},dfa=function(a,b){var c=a.contentQueries;if(null!==c)for(var d=0;d<c.length;d+=
2){var e=c[d],f=c[d+1];if(-1!==f){var h=a.data[f];Md.currentQueryIndex=e;h.contentQueries(2,b[f],f)}}},Je=function(a,b,c,d,e,f,h,l,q,u,x){var y=b.blueprint.slice();y[0]=e;y[2]=d|140;if(null!==u||a&&a[2]&2048)y[2]|=2048;y[17]=0;y[3]=y[14]=a;y[8]=c;y[10]=h||a&&a[10];y[11]=l||a&&a[11];y[9]=q||a&&a[9]||null;y[6]=f;y[19]=efa++;y[22]=x;y[20]=u;y[23]=null;y[15]=2==b.type?a[15]:y;return y},Ke=function(a,b,c,d,e){var f=a.data[b];if(null===f){f=Md.currentTNode;var h=Md.isParent,l=h?f:f&&f.parent;b=a.data[b]=
{type:c,index:b,insertBeforeIndex:null,injectorIndex:l?l.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:0,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:l,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,
styleBindings:0};null===a.firstChild&&(a.firstChild=b);null!==f&&(h?null==f.child&&null!==b.parent&&(f.child=b):null===f.next&&(f.next=b,b.prev=f));f=b;Md.inI18n&&(f.flags|=32)}else f.type&64&&(f.type=c,f.value=d,f.attrs=e,a=Md,b=a.currentTNode,a=a.isParent?b:b.parent,f.injectorIndex=null===a?-1:a.injectorIndex);Od(f,!0);return f},ffa=function(a,b,c,d){if(0===c)return-1;for(var e=b.length,f=0;f<c;f++)b.push(d),a.blueprint.push(d),a.data.push(null);return e},hfa=function(a,b,c){Tda(b);try{var d=a.viewQuery;
null!==d&&(Md.currentQueryIndex=0,d(1,c));var e=a.template;null!==e&&gfa(a,b,e,1,c);a.firstCreatePass&&(a.firstCreatePass=!1);a.staticContentQueries&&dfa(a,b);if(a.staticViewQueries){var f=a.viewQuery;Md.currentQueryIndex=0;f(2,c)}var h=a.components;if(null!==h)for(c=0;c<h.length;c++){for(var l=Kd(h[c],b),q=l[1],u=l.length;u<q.blueprint.length;u++)l.push(q.blueprint[u]);null!==l[0]&&null===l[22]&&(l[22]=null);hfa(q,l,l[8])}}catch(x){throw a.firstCreatePass&&(a.incompleteFirstPass=!0,a.firstCreatePass=
!1),x;}finally{b[2]&=-5,Wda()}},Le=function(a,b,c,d){var e=b[2];if(256!==(e&256)){var f;null!=(f=b[10].effectManager)&&f.flush();Tda(b);try{b[17]=0;Md.bindingIndex=a.bindingStartIndex;null!==c&&gfa(a,b,c,2,d);if(c=3===(e&3)){var h=a.preOrderCheckHooks;null!==h&&Wd(b,h,3,null)}else{var l=a.preOrderHooks;null!==l&&Xd(b,l,0,null);Yda(b,0)}for(var q=ne(b[12]);null!==q;q=ne(q[4]))if(q[2]){var u=q[9];for(h=0;h<u.length;h++){var x=u[h],y=x[3];0===(x[2]&1024)&&Pda(y,1);x[2]|=1024}}for(var G=ne(b[12]);null!==
G;G=ne(G[4]))for(q=11;q<G.length;q++){var L=G[q],M=L[1];128===(L[2]&128)&&Le(M,L,M.template,L[8])}null!==a.contentQueries&&dfa(a,b);if(c){var T=a.contentCheckHooks;null!==T&&Wd(b,T,3)}else{var S=a.contentHooks;null!==S&&Xd(b,S,1);Yda(b,1)}var X=a.hostBindingOpCodes;if(null!==X){var aa=Iea(b,24);try{for(G=0;G<X.length;G++){var na=X[G];if(0>na)Md.selectedIndex=~na;else{L=na;var ma=X[++G],Ca=X[++G];M=Md;M.bindingIndex=M.bindingRootIndex=ma;Md.currentDirectiveIndex=L;aa.runInContext(Ca,2,b[L])}}}finally{null===
b[24]&&Jea(b,24),Md.selectedIndex=-1}}var Fa=a.components;if(null!==Fa)for(X=0;X<Fa.length;X++){var Ja=Kd(Fa[X],b);if(128===(Ja[2]&128)){var Ab=Ja[1];Ja[2]&80?Le(Ab,Ja,Ab.template,Ja[8]):0<Ja[5]&&ifa(Ja)}}var cb=a.viewQuery;null!==cb&&(Md.currentQueryIndex=0,cb(2,d));if(c){var Ma=a.viewCheckHooks;null!==Ma&&Wd(b,Ma,3)}else{var ha=a.viewHooks;null!==ha&&Xd(b,ha,2);Yda(b,2)}!0===a.firstUpdatePass&&(a.firstUpdatePass=!1);b[2]&=-73;b[2]&1024&&(b[2]&=-1025,Pda(b[3],-1))}finally{Wda()}}},gfa=function(a,
b,c,d,e){var f=Iea(b,23),h=Md.selectedIndex,l=d&2;try{Md.selectedIndex=-1,l&&25<b.length&&vea(a,b,25),f.runInContext(c,d,e)}finally{null===b[23]&&Jea(b,23),Md.selectedIndex=h}},jfa=function(a,b,c){if(0!==(b.flags&4)){var d=b.directiveEnd;for(b=b.directiveStart;b<d;b++){var e=a.data[b];e.contentQueries&&e.contentQueries(1,c[b],b)}}},mfa=function(a,b,c){var d=Jd(c,b),e=c.directiveStart,f=c.directiveEnd;if(-1<c.componentOffset){var h=a.data[e+c.componentOffset],l=Jd(c,b),q=kfa(h);h=Me(b,Je(b,q,null,
h.onPush?64:16,l,c,null,b[10].rendererFactory.createRenderer(l,h),null,null,null));b[c.index]=h}a.firstCreatePass||be(c,b);me(d,b);d=c.initialInputs;for(h=e;h<f;h++){l=a.data[h];q=fe(b,a,h,c);me(q,b);if(null!==d){var u=d[h-e];if(null!==u)for(var x=l.setInput,y=0;y<u.length;){var G=u[y++],L=u[y++],M=u[y++];null!==x?l.setInput(q,M,G,L):q[L]=M}}l.template&&(Kd(c.index,b)[8]=fe(b,a,h,c))}64===(c.flags&64)&&lfa(a,b,c)},nfa=function(a,b,c){c=void 0===c?Jd:c;var d=b.localNames;if(null!==d)for(var e=b.index+
1,f=0;f<d.length;f+=2){var h=d[f+1];h=-1===h?c(b,a):a[h];a[e++]=h}},kfa=function(a){var b=a.tView;return null===b||b.incompleteFirstPass?a.tView=ofa(1,null,a.template,a.decls,a.vars,a.directiveDefs,a.pipeDefs,a.viewQuery,a.schemas,a.consts,a.id):b},ofa=function(a,b,c,d,e,f,h,l,q,u,x){d=25+d;e=d+e;for(var y=[],G=0;G<e;G++)y.push(G<d?null:Ne);u="function"===typeof u?u():u;return y[1]={type:a,blueprint:y,template:c,queries:null,viewQuery:l,declTNode:b,data:y.slice().fill(null,d),bindingStartIndex:d,
expandoStartIndex:e,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"===typeof f?f():f,pipeRegistry:"function"===typeof h?h():h,firstChild:null,schemas:q,consts:u,incompleteFirstPass:!1,ssrId:x}},pfa=function(a,b,c,d){for(var e in a)if(a.hasOwnProperty(e)){c=
null===c?{}:c;var f=a[e];if(null===d){var h=c,l=b,q=e;h.hasOwnProperty(q)?h[q].push(l,f):h[q]=[l,f]}else d.hasOwnProperty(e)&&(h=c,l=b,q=d[e],h.hasOwnProperty(q)?h[q].push(l,f):h[q]=[l,f])}return c},Oe=function(a,b,c,d,e,f,h,l){var q=Jd(b,c),u=b.inputs,x;!l&&null!=u&&(x=u[d])?(qfa(a,c,x,d,e),-1<b.componentOffset&&(a=Kd(b.index,c),a[2]&16||(a[2]|=64))):b.type&3&&(d="class"===d?"className":"for"===d?"htmlFor":"formaction"===d?"formAction":"innerHtml"===d?"innerHTML":"readonly"===d?"readOnly":"tabindex"===
d?"tabIndex":d,e=null!=h?h(e,b.value||"",d):e,f.setProperty(q,d,e))},tfa=function(a,b,c,d){var e=null===d?null:{"":-1};var f=a.directiveRegistry;var h=null,l=null;if(f)for(var q=0;q<f.length;q++){var u=f[q];if(gda(c,u.selectors,!1))if(h||(h=[]),u.template)if(null!==u.findHostDirectiveDefs){var x=[];l=l||new Map;u.findHostDirectiveDefs(u,x,l);h.unshift.apply(h,[].concat(r(x),[u]));rfa(a,c,x.length)}else h.unshift(u),rfa(a,c,0);else{l=l||new Map;var y=x=void 0;null==(y=(x=u).findHostDirectiveDefs)||
y.call(x,u,h,l);h.push(u)}}f=null===h?null:[h,l];null===f?f=h=null:(h=m(f),f=h.next().value,h=h.next().value);null!==f&&sfa(a,b,c,f,e,h);if(e&&d)for(a=c.localNames=[],b=0;b<d.length;b+=2){f=e[d[b+1]];if(null==f)throw new $c(-301,!1);a.push(d[b],f)}c.mergedAttrs=jd(c.mergedAttrs,c.attrs)},sfa=function(a,b,c,d,e,f){for(var h=0;h<d.length;h++){var l=be(c,b);bea(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,u=!1;h=ffa(a,b,d.length,null);for(l=0;l<d.length;l++){var x=d[l];c.mergedAttrs=jd(c.mergedAttrs,x.hostAttrs);var y=a,G=c,L=b,M=h;y.data[M]=x;var T=x.factory||(x.factory=td(x.type));T=new ge(T,!!x.template);y.blueprint[M]=T;L[M]=T;var S=G;L=ffa(y,L,x.hostVars,Ne);if(G=x.hostBindings){T=y.hostBindingOpCodes;null===T&&(T=y.hostBindingOpCodes=[]);y=~S.index;a:{for(S=T.length;0<S;){var X=T[--S];if("number"===typeof X&&0>X){S=X;break a}}S=0}S!=y&&T.push(y);
T.push(M,L,G)}y=h;if(M=e){if(x.exportAs)for(L=0;L<x.exportAs.length;L++)M[x.exportAs[L]]=y;x.template&&(M[""]=y)}null!==x.contentQueries&&(c.flags|=4);if(null!==x.hostBindings||null!==x.hostAttrs||0!==x.hostVars)c.flags|=64;x=x.type.prototype;!q&&(x.ngOnChanges||x.ngOnInit||x.ngDoCheck)&&(y=q=void 0,(null!=(y=(q=a).preOrderHooks)?y:q.preOrderHooks=[]).push(c.index),q=!0);u||!x.ngOnChanges&&!x.ngDoCheck||(x=u=void 0,(null!=(x=(u=a).preOrderCheckHooks)?x:u.preOrderCheckHooks=[]).push(c.index),u=!0);
h++}b=c.directiveEnd;a=a.data;d=c.attrs;e=[];l=h=null;for(q=c.directiveStart;q<b;q++){u=a[q];y=(x=f?f.get(u):null)?x.outputs:null;h=pfa(u.inputs,q,h,x?x.inputs:null);l=pfa(u.outputs,q,l,y);if(null===h||null===d||4===c.type&&"ng-template"!==c.value)u=null;else{u=h;x=q;y=null;for(M=0;M<d.length;)if(L=d[M],0===L)M+=4;else{if(5!==L){if("number"===typeof L)break;if(u.hasOwnProperty(L))for(null===y&&(y=[]),G=u[L],T=0;T<G.length;T+=2)if(G[T]===x){y.push(L,G[T+1],d[M+1]);break}}M+=2}u=y}e.push(u)}null!==
h&&(h.hasOwnProperty("class")&&(c.flags|=8),h.hasOwnProperty("style")&&(c.flags|=16));c.initialInputs=e;c.inputs=h;c.outputs=l},lfa=function(a,b,c){var d=c.directiveStart,e=c.directiveEnd,f=c.index;c=Md.currentDirectiveIndex;try{for(Md.selectedIndex=f;d<e;d++){var h=a.data[d],l=b[d];Md.currentDirectiveIndex=d;null===h.hostBindings&&0===h.hostVars&&null===h.hostAttrs||null===h.hostBindings||h.hostBindings(1,l)}}finally{Md.selectedIndex=-1,Md.currentDirectiveIndex=c}},rfa=function(a,b,c){b.componentOffset=
c;var d;(null!=(d=a.components)?d:a.components=[]).push(b.index)},Pe=function(a,b,c,d,e,f){var h=Jd(a,b);b=b[11];a=a.value;null==d?b.removeAttribute(h,c,f):(d=null==e?Yc(d):e(d,a||"",c),b.setAttribute(h,c,d,f))},ifa=function(a){for(var b=ne(a[12]);null!==b;b=ne(b[4]))for(var c=11;c<b.length;c++){var d=b[c];if(128===(d[2]&128))if(d[2]&1024){var e=d[1];Le(e,d,e.template,d[8])}else 0<d[5]&&ifa(d)}b=a[1].components;if(null!==b)for(c=0;c<b.length;c++)d=Kd(b[c],a),128===(d[2]&128)&&0<d[5]&&ifa(d)},Me=function(a,
b){a[12]?a[13][4]=b:a[12]=b;return a[13]=b},vfa=function(a,b,c,d){d=void 0===d?!0:d;var e=b[10].rendererFactory;e.begin&&e.begin();try{Le(a,b,a.template,c)}catch(h){throw d&&ufa(b,h),h;}finally{e.end&&e.end();var f;null!=(f=b[10].effectManager)&&f.flush()}},wfa=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]},ufa=function(a,b){(a=(a=a[9])?a.get(Qe,null):null)&&a.handleError(b)},qfa=function(a,b,c,d,e){for(var f=
0;f<c.length;){var h=c[f++],l=c[f++],q=b[h];h=a.data[h];null!==h.setInput?h.setInput(q,e,d,l):q[l]=e}},xfa=function(a,b){var c=Id(a[Md.selectedIndex]);a[11].setValue(c,b)},Re=function(a,b,c){var d=c?a.styles:null,e=c?a.classes:null,f=0;if(null!==b)for(var h=0;h<b.length;h++){var l=b[h];if("number"===typeof l)f=l;else if(1==f)e=Wca(e,l);else if(2==f){var q=b[++h];d=Wca(d,l+": "+q+";")}}c?a.styles=d:a.stylesWithoutHost=d;c?a.classes=e:a.classesWithoutHost=e},Te=function(a,b,c,d,e){for(e=void 0===e?
!1:e;null!==c;){var f=b[c.index];null!==f&&d.push(Id(f));if(Gd(f))for(var h=11;h<f.length;h++){var l=f[h],q=l[1].firstChild;null!==q&&Te(l[1],l,q,d)}f=c.type;if(f&8)Te(a,b,c.child,d);else if(f&32)for(f=(void 0)(c,b);h=f();)d.push(h);else f&16&&(f=null!==c?b[15][6].projection[c.projection]:null,Array.isArray(f)?d.push.apply(d,r(f)):(h=sea(b[15]),Te(h[1],h,f,d,!0)));c=e?c.projectionNext:c.next}return d},yfa=function(a){var b=[],c;for(c in a)a.hasOwnProperty(c)&&b.push({propName:a[c],templateName:c});
return b},zfa=function(){Vd(t()[1],Nd())},Afa=function(a,b,c){return new Ue(a,b,c)},Bfa=function(a,b,c){return(new Ve({providers:a,parent:b,debugName:void 0===c?null:c,runEnvironmentInitializers:!0})).injector},We=function(a){return!!a&&"function"===typeof a.then},Cfa=function(a){return!!a&&"function"===typeof a.subscribe},Xe=function(a){var b=a.toLowerCase().replace(/_/g,"-");if(a=Dfa(b))return a;b=b.split("-")[0];if(a=Dfa(b))return a;if("en"===b)return Efa;throw new $c(701,!1);},Dfa=function(a){a in
Ffa||(Ffa[a]=Ae.ng&&Ae.ng.common&&Ae.ng.common.locales&&Ae.ng.common.locales[a]);return Ffa[a]},Hfa=function(a){"undefined"===typeof Zone?Gfa.then(function(){a&&a.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",a)},Ye=function(a){setTimeout(function(){throw a;},0)},Ze=function(a){return"function"===typeof a},$e=function(a){return null!==a&&"object"===typeof a},Ifa=function(a){return a instanceof af||a&&"closed"in a&&"function"===typeof a.remove&&"function"===typeof a.add&&"function"===
typeof a.unsubscribe},Jfa=function(a){return a.reduce(function(b,c){return b.concat(c instanceof bf?c.errors:c)},[])},Kfa=function(a){for(;a;){var b=a,c=b.destination,d=b.isStopped;if(b.closed||d)return!1;c&&c instanceof cf?a=c:a=null}return!0},df=function(a){return a},Lfa=function(a){return 0===a.length?df:1===a.length?a[0]:function(b){return a.reduce(function(c,d){return d(c)},b)}},Mfa=function(a){return a&&"function"===typeof a.next&&"function"===typeof a.error&&"function"===typeof a.complete},
Nfa=function(a){a||(a=ef.Promise||Promise);if(!a)throw Error("Ba");return a},Ofa=function(a){return new ff(function(b){return a.schedule(function(){return b.complete()})})},Pfa=function(a,b){return new ff(function(c){var d=new af,e=0;d.add(b.schedule(function(){e===a.length?c.complete():(c.next(a[e++]),c.closed||d.add(this.schedule()))}));return d})},gf=function(a,b){return b?Pfa(a,b):new ff(Qfa(a))},hf=function(a){return a&&"function"===typeof a.schedule},Rfa=function(){var a=yd.apply(0,arguments),
b=a[a.length-1];return hf(b)?(a.pop(),Pfa(a,b)):gf(a)},Sfa=function(a){a.subscriber.error(a.error)},jf=function(a,b){if(a&&"function"===typeof a.lift)return a.lift(b);throw new TypeError("Ca");},kf=function(a,b,c){if(a&&"function"===typeof a.lift)return a.lift.call(b,c);throw new TypeError("Ca");},lf=function(){return function(a){return jf(a,new Tfa)}},B=function(a){return function(b){if("function"!==typeof a)throw new TypeError("Da");return jf(b,new Ufa(a))}},Vfa=function(a,b,c){if(b)if(hf(b))c=
b;else return function(){return Vfa(a,c).apply(null,r(yd.apply(0,arguments))).pipe(B(function(d){return mf(d)?b.apply(null,r(d)):b(d)}))};return function(){var d=yd.apply(0,arguments),e=this,f,h={context:e,subject:void 0,callbackFunc:a,scheduler:c};return new ff(function(l){if(c)return c.schedule(Wfa,0,{args:d,subscriber:l,params:h});if(!f){f=new nf;var q=function(){var u=yd.apply(0,arguments);f.next(1>=u.length?u[0]:u);f.complete()};try{a.apply(e,[].concat(r(d),[q]))}catch(u){Kfa(f)?f.error(u):console.warn(u)}}return f.subscribe(l)})}},
Wfa=function(a){var b=this,c=a.args,d=a.subscriber,e=a.params;a=e.callbackFunc;var f=e.context,h=e.scheduler,l=e.subject;if(!l){l=e.subject=new nf;e=function(){var q=yd.apply(0,arguments);b.add(h.schedule(Xfa,0,{value:1>=q.length?q[0]:q,subject:l}))};try{a.apply(f,[].concat(r(c),[e]))}catch(q){l.error(q)}}this.add(l.subscribe(d))},Xfa=function(a){var b=a.subject;b.next(a.value);b.complete()},Yfa=function(a,b,c){if(b)if(hf(b))c=b;else return function(){return Yfa(a,c).apply(null,r(yd.apply(0,arguments))).pipe(B(function(d){return mf(d)?
b.apply(null,r(d)):b(d)}))};return function(){var d=yd.apply(0,arguments),e={subject:void 0,args:d,callbackFunc:a,scheduler:c,context:this};return new ff(function(f){var h=e.context,l=e.subject;if(c)return c.schedule(Zfa,0,{params:e,subscriber:f,context:h});if(!l){l=e.subject=new nf;var q=function(){var u=yd.apply(0,arguments),x=u.shift();x?l.error(x):(l.next(1>=u.length?u[0]:u),l.complete())};try{a.apply(h,[].concat(r(d),[q]))}catch(u){Kfa(l)?l.error(u):console.warn(u)}}return l.subscribe(f)})}},
Zfa=function(a){var b=this,c=a.params,d=a.subscriber;a=a.context;var e=c.callbackFunc,f=c.args,h=c.scheduler,l=c.subject;if(!l){l=c.subject=new nf;c=function(){var q=yd.apply(0,arguments),u=q.shift();u?b.add(h.schedule($fa,0,{err:u,subject:l})):b.add(h.schedule(aga,0,{value:1>=q.length?q[0]:q,subject:l}))};try{e.apply(a,[].concat(r(f),[c]))}catch(q){this.add(h.schedule($fa,0,{err:q,subject:l}))}}this.add(l.subscribe(d))},aga=function(a){var b=a.subject;b.next(a.value);b.complete()},$fa=function(a){a.subject.error(a.err)},
bga=function(a){return!!a&&"function"!==typeof a.subscribe&&"function"===typeof a.then},dga=function(a){return function(b){cga(a,b).catch(function(c){return b.error(c)})}},cga=function(a,b){var c,d,e,f,h,l;return of(function(q){switch(q.nextAddress){case 1:pf(q,2,3);var u=a[Symbol.asyncIterator];f=void 0!==u?u.call(a):new ega(m(a));case 5:return q.yield(f.next(),8);case 8:d=q.yieldResult;if(d.done){q.jumpTo(3);break}h=d.value;b.next(h);q.jumpTo(5);break;case 3:qf(q);q.catchAddress_=0;q.finallyAddress_=
9;if(!d||d.done||!(e=f.return)){q.jumpTo(9);break}return q.yield(e.call(f),9);case 9:qf(q,0,0,1);if(c)throw c.error;rf(q,10,1);break;case 10:rf(q,4);break;case 2:l=sf(q);c={error:l};q.jumpTo(3);break;case 4:b.complete(),tf(q)}})},vf=function(a,b){if(!b.closed)return a instanceof ff?a.subscribe(b):uf(a)(b)},fga=function(a,b){if(!a)throw Error("Ga");return new ff(function(c){var d=new af;d.add(b.schedule(function(){var e=a[Symbol.asyncIterator]();d.add(b.schedule(function(){var f=this;e.next().then(function(h){h.done?
c.complete():(c.next(h.value),f.schedule())})}))}));return d})},gga=function(a,b){if(!a)throw Error("Ga");return new ff(function(c){var d=new af,e;d.add(function(){e&&"function"===typeof e.return&&e.return()});d.add(b.schedule(function(){e=a[wf]();d.add(b.schedule(function(){if(!c.closed){try{var f=e.next();var h=f.value;var l=f.done}catch(q){c.error(q);return}l?c.complete():(c.next(h),this.schedule())}}))}));return d})},hga=function(a,b){return new ff(function(c){var d=new af;d.add(b.schedule(function(){var e=
a[xf]();d.add(e.subscribe({next:function(f){d.add(b.schedule(function(){return c.next(f)}))},error:function(f){d.add(b.schedule(function(){return c.error(f)}))},complete:function(){d.add(b.schedule(function(){return c.complete()}))}}))}));return d})},iga=function(a,b){return new ff(function(c){var d=new af;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})},kga=function(a,b){if(null!=a){if(a&&"function"===typeof a[xf])return hga(a,b);if(bga(a))return iga(a,b);if(jga(a))return Pfa(a,b);if(a&&"function"===typeof a[wf]||"string"===typeof a)return gga(a,b);if(Symbol&&Symbol.asyncIterator&&"function"===typeof a[Symbol.asyncIterator])return fga(a,b)}throw new TypeError("Ha`"+(null!==a&&typeof a||a));},yf=function(a,b){return b?kga(a,b):a instanceof ff?a:new ff(uf(a))},zf=function(a,b){var c=void 0===c?Infinity:c;if("function"===typeof b)return function(d){return d.pipe(zf(function(e,
f){return yf(a(e,f)).pipe(B(function(h,l){return b(e,h,f,l)}))},c))};"number"===typeof b&&(c=b);return function(d){return jf(d,new lga(a,c))}},Af=function(a){a=void 0===a?Infinity:a;return zf(df,a)},Bf=function(){return Af(1)(Rfa.apply(null,r(yd.apply(0,arguments))))},mga=function(a){return new ff(function(b){try{var c=a()}catch(d){b.error(d);return}return yf(c).subscribe(b)})},pga=function(a){return new ff(function(b){var c=a||nga,d=c.now(),e=function(h){var l=c.now();b.next({timestamp:a?l:h,elapsed:l-
d});b.closed||(f=oga(e))};var f=oga(e);return function(){return f.unsubscribe()}})},Cf=function(a,b){return new ff(function(c){var d=a.length;if(0===d)c.complete();else for(var e=Array(d),f=0,h=0,l={$jscomp$loop$prop$i$2210:0};l.$jscomp$loop$prop$i$2210<d;l={$jscomp$loop$prop$hasValue$2211:l.$jscomp$loop$prop$hasValue$2211,$jscomp$loop$prop$i$2210:l.$jscomp$loop$prop$i$2210},l.$jscomp$loop$prop$i$2210++){var q=yf(a[l.$jscomp$loop$prop$i$2210]);l.$jscomp$loop$prop$hasValue$2211=!1;c.add(q.subscribe({next:function(u){return function(x){u.$jscomp$loop$prop$hasValue$2211||
(u.$jscomp$loop$prop$hasValue$2211=!0,h++);e[u.$jscomp$loop$prop$i$2210]=x}}(l),error:function(u){return c.error(u)},complete:function(u){return function(){f++;f!==d&&u.$jscomp$loop$prop$hasValue$2211||(h===d&&c.next(b?b.reduce(function(x,y,G){return x[y]=e[G],x},{}):e),c.complete())}}(l)}))}})},qga=function(a,b,c,d){Ze(c)&&(d=c,c=void 0);return d?qga(a,b,c).pipe(B(function(e){return mf(e)?d.apply(null,r(e)):d(e)})):new ff(function(e){rga(a,b,function(f){1<arguments.length?e.next(Array.prototype.slice.call(arguments)):
e.next(f)},e,c)})},rga=function(a,b,c,d,e){if(a&&"function"===typeof a.addEventListener&&"function"===typeof a.removeEventListener){a.addEventListener(b,c,e);var f=function(){return a.removeEventListener(b,c,e)}}else if(a&&"function"===typeof a.on&&"function"===typeof a.off)a.on(b,c),f=function(){return a.off(b,c)};else if(a&&"function"===typeof a.addListener&&"function"===typeof a.removeListener)a.addListener(b,c),f=function(){return a.removeListener(b,c)};else if(a&&a.length)for(var h=0,l=a.length;h<
l;h++)rga(a[h],b,c,d,e);else throw new TypeError("Ia");d.add(f)},sga=function(a,b,c){return c?sga(a,b).pipe(B(function(d){return mf(d)?c.apply(null,r(d)):c(d)})):new ff(function(d){var e=function(){var h=yd.apply(0,arguments);return d.next(1===h.length?h[0]:h)};try{var f=a(e)}catch(h){d.error(h);return}if(Ze(b))return function(){return b(e,f)}})},tga=function(a){var b=a.subscriber,c=a.condition;if(!b.closed){if(a.needIterate)try{a.state=a.iterate(a.state)}catch(f){b.error(f);return}else a.needIterate=
!0;if(c){try{var d=c(a.state)}catch(f){b.error(f);return}if(!d){b.complete();return}if(b.closed)return}try{var e=a.resultSelector(a.state)}catch(f){b.error(f);return}if(!b.closed&&(b.next(e),!b.closed))return this.schedule(a)}},uga=function(a){return!mf(a)&&0<=a-parseFloat(a)+1},vga=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)},Df=function(){},wga=function(){var a=yd.apply(0,arguments);if(0===a.length)return Ef;var b=m(a),c=b.next().value,
d=Ff(b);return 1===a.length&&mf(c)?wga.apply(null,r(c)):new ff(function(e){var f=function(){return e.add(wga.apply(null,r(d)).subscribe(e))};return yf(c).subscribe({next:function(h){e.next(h)},error:f,complete:f})})},xga=function(a){var b=a.keys,c=a.index,d=a.subscriber,e=a.subscription;a=a.obj;if(!d.closed)if(c<b.length){var f=b[c];d.next([f,a[f]]);e.add(this.schedule({keys:b,index:c+1,subscriber:d,subscription:e,obj:a}))}else d.complete()},Gf=function(a,b){return function(c){return jf(c,new yga(a,
b))}},zga=function(a,b){function c(){return!c.pred.apply(c.thisArg,arguments)}c.pred=a;c.thisArg=b;return c},Bga=function(){var a=yd.apply(0,arguments);if(1===a.length)if(mf(a[0]))a=a[0];else return yf(a[0]);return jf(gf(a),new Aga)},Cga=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)))},Dga=function(a){return a instanceof Date&&!isNaN(a)},Fga=function(a,b,c){a=void 0===a?0:a;var d=-1;null!=b&&(hf(b)?c=b:d=b);
hf(c)||(c=Hf);return new ff(function(e){var f=Math.max(0,Dga(a)?+a-c.now():a);return c.schedule(Ega,f,{counter:0,period:d,subscriber:e})})},Ega=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)}},If=function(a){var b;return function(c){var d=void 0,e=void 0,f=null,h;b=null!=(h=b)?h:Hf;if(Dga(a))var l=a;else if("number"===typeof a)d=a;else{l=a.first;d=a.each;e=a.with;b=a.scheduler||Hf;var q;f=null!=(q=a.meta)?q:null}var u;
e=null!=(u=e)?u:Gga;if(null==l&&null==d)throw new TypeError("Ka");return jf(c,function(x){var y=this,G=new af,L,M=null,T=null,S=0,X=function(aa){G.add(M=b.schedule(function(){var na={meta:f,lastValue:T,seen:S};try{var ma=yf(e(na))}catch(Ca){y.error(Ca);return}L.unsubscribe();G.add(ma.subscribe(y))},aa))};G.add(L=x.subscribe({next:function(aa){var na;null==(na=M)||na.unsubscribe();M=null;S++;T=aa;null!=d&&0<d&&X(d);y.next(aa)},error:function(aa){return y.error(aa)},complete:function(){return y.complete()}}));
x=null!=l?"number"===typeof l?l:+l-b.now():d;X(x);return G})}},Gga=function(a){throw new Hga(a);},Jga=function(a){return a in Iga?(delete Iga[a],!0):!1},Kga=function(a){return function(b){setTimeout(a,void 0,b)}},Lga=function(){},Nga=function(a){return function(b){return jf(b,new Mga(a))}},Jf=function(a,b){b=void 0===b?Hf:b;return Nga(function(){return Fga(a,b)})},Kf=function(a){return function(b){return jf(b,new Oga(a))}},Lf=function(a){return function(b){return jf(b,function(c){var d=this,e=new af,
f=null,h=!1,l;f=c.subscribe({next:function(q){return d.next(q)},error:function(q){try{l=yf(a(q,Lf(a)(c)))}catch(u){d.error(u)}l&&(f?(f.unsubscribe(),f=null,e.add(l.subscribe(d))):h=!0)},complete:function(){return d.complete()}});h?(f.unsubscribe(),f=null,e.add(l.subscribe(d))):e.add(f);return e})}},Qga=function(){var a=yd.apply(0,arguments),b=void 0;"function"===typeof a[a.length-1]&&(b=a.pop());1===a.length&&mf(a[0])&&(a=a[0].slice());return function(c){return kf(c,yf([c].concat(r(a))),new Pga(b))}},
Mf=function(){return Qga.apply(null,r(yd.apply(0,arguments)))},Rga=function(){var a=yd.apply(0,arguments);return function(b){return kf(b,Bf.apply(null,[b].concat(r(a))))}},Sga=function(){var a=yd.apply(0,arguments);return function(b){return kf(b,Bf.apply(null,[b].concat(r(a))))}},Uga=function(a){return function(b){return jf(b,new Tga(a))}},Nf=function(a,b){b=void 0===b?Hf:b;return function(c){return jf(c,new Vga(a,b))}},Xga=function(a){Wga(a)},Of=function(a){a=void 0===a?null:a;return function(b){return jf(b,
new Yga(a))}},Pf=function(a,b){b=void 0===b?Hf:b;var c=Dga(a)?+a-b.now():Math.abs(a);return function(d){return jf(d,new Zga(c,b))}},Qf=function(a){return function(b){return jf(b,new $ga(a))}},Rf=function(){if(isNaN(1))throw new TypeError("La");return function(a){return jf(a,new aha)}},dha=function(a){a=void 0===a?bha:a;return function(b){return jf(b,new cha(a))}},bha=function(){return new Sf},Tf=function(a){return function(b){return jf(b,new eha(a))}},Uf=function(a,b){var c=2<=arguments.length;return function(d){return d.pipe(a?
Gf(function(e,f){return a(e,f,d)}):df,Rf(),c?Of(b):dha(function(){return new Sf}))}},gha=function(){return function(a){return jf(a,new fha)}},iha=function(){if(isNaN(1))throw new TypeError("La");return function(a){return jf(a,new hha)}},jha=function(a,b){var c=2<=arguments.length;return function(d){return d.pipe(a?Gf(function(e,f){return a(e,f,d)}):df,iha(),c?Of(b):dha(function(){return new Sf}))}},Vf=function(a){return function(b){return jf(b,new kha(a))}},Wf=function(a,b){var c=!1;2<=arguments.length&&
(c=!0);return function(d){return jf(d,new lha(a,b,c))}},nha=function(a){return function(b){var c="function"===typeof a?a:function(){return a};var d=Object.create(b,mha);d.source=b;d.subjectFactory=c;return d}},oha=function(){var a=new Xf(1,void 0,void 0);return function(b){return nha(function(){return a})(b)}},pha=function(){var a=yd.apply(0,arguments);return function(b){return 0===a.length?b:kf(b,Bga.apply(null,[b].concat(r(a))))}},qha=function(){return new Yf},Zf=function(){return function(a){return lf()(nha(qha)(a))}},
$f=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 jf(c,rha(b))}},rha=function(a){var b=void 0===a.bufferSize?Infinity:a.bufferSize,c=void 0===a.windowTime?Infinity:a.windowTime,d=a.refCount,e=a.scheduler,f,h=0,l;return function(q){h++;if(f)var u=f.subscribe(this);else f=new Xf(b,c,e),u=f.subscribe(this),l=q.subscribe({next:function(x){f.next(x)},error:function(x){var y=f;f=l=void 0;y.error(x)},complete:function(){l=
void 0;f.complete()}}),l.closed&&(l=void 0);this.add(function(){h--;u.unsubscribe();d&&0===h&&l&&(l.unsubscribe(),f=l=void 0)})}},ag=function(a){return function(b){return jf(b,new sha(a))}},bg=function(){var a=yd.apply(0,arguments),b=a[a.length-1];return hf(b)?(a.pop(),function(c){return Bf(a,c,b)}):function(c){return Bf(a,c)}},cg=function(a){return function(b){return jf(b,new tha(a))}},uha=function(a){return cg(function(){return a})},dg=function(a){return function(b){return jf(b,new vha(a))}},xha=
function(a){var b=void 0===b?!1:b;return function(c){return jf(c,new wha(a,b))}},eg=function(a,b){return function(c){return jf(c,new yha(a,b))}},Bha=function(a){var b=void 0===b?zha:b;return function(c){return jf(c,new Aha(a,!!b.leading,!!b.trailing))}},fg=function(){var a=yd.apply(0,arguments);return function(b){var c;"function"===typeof a[a.length-1]&&(c=a.pop());return jf(b,new Cha(a,c))}},gg=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}}},Eha=function(a){a.isCheckStableRunning||-1!==a.lastRequestAnimationFrameId||(a.lastRequestAnimationFrameId=a.nativeRequestAnimationFrame.call(Ae,function(){a.fakeTopEventTask||(a.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",function(){a.lastRequestAnimationFrameId=-1;Dha(a);a.isCheckStableRunning=!0;gg(a);a.isCheckStableRunning=!1},void 0,function(){},function(){}));
a.fakeTopEventTask.invoke()}),Dha(a))},Gha=function(a){a._inner=a._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:function(b,c,d,e,f,h){try{return Fha(a),b.invokeTask(d,e,f,h)}finally{(a.shouldCoalesceEventChangeDetection&&"eventTask"===e.type||a.shouldCoalesceRunChangeDetection)&&Eha(a),a._nesting--,gg(a)}},onInvoke:function(b,c,d,e,f,h,l){try{return Fha(a),b.invoke(d,e,f,h,l)}finally{a.shouldCoalesceRunChangeDetection&&Eha(a),a._nesting--,gg(a)}},onHasTask:function(b,c,d,
e){b.hasTask(d,e);c===d&&("microTask"==e.change?(a._hasPendingMicrotasks=e.microTask,Dha(a),gg(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}})},Dha=function(a){a.hasPendingMicrotasks=a._hasPendingMicrotasks||(a.shouldCoalesceEventChangeDetection||a.shouldCoalesceRunChangeDetection)&&-1!==a.lastRequestAnimationFrameId?!0:!1},Fha=function(a){a._nesting++;a.isStable&&
(a.isStable=!1,a.onUnstable.emit(null))},Iha=function(){var a=hd(hg),b=!0;return(0,C.merge)(new C.Observable(function(c){b=a.isStable&&!a.hasPendingMacrotasks&&!a.hasPendingMicrotasks;a.runOutsideAngular(function(){c.next(b);c.complete()})}),(new C.Observable(function(c){var d;a.runOutsideAngular(function(){d=a.onStable.subscribe(function(){Hha();Hfa(function(){b||a.hasPendingMacrotasks||a.hasPendingMicrotasks||(b=!0,c.next(!0))})})});var e=a.onUnstable.subscribe(function(){if(!ig())throw new $c(909,
!1);b&&(b=!1,a.runOutsideAngular(function(){c.next(!1)}))});return function(){d.unsubscribe();e.unsubscribe()}})).pipe(Zf()))},Kha=function(a){var b;null==(b=a.get(Jha,null))||b.forEach(function(c){return c()})},Oha=function(a,b,c){c=void 0===c?[]:c;var d="Platform: "+b,e=new Bd(d);return function(f){f=void 0===f?[]:f;var h=Lha();if(!h||h.injector.get(Mha,!1))if(f=[].concat(r(c),r(f),[{provide:e,useValue:!0}]),a)a(f);else{f=Nha(f,d);if(kg&&!kg.get(Mha,!1))throw new $c(400,!1);kg=f;f.get(lg);Kha(f)}f=
Lha();if(!f)throw new $c(401,!1);return f}},Nha=function(a,b){a=void 0===a?[]:a;return mg({name:b,providers:[{provide:Pha,useValue:"platform"},{provide:Qha,useValue:new Set([function(){return kg=null}])}].concat(r(a))})},Lha=function(){var a,b;return null!=(b=null==(a=kg)?void 0:a.get(lg))?b:null},Rha=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}},Sha=function(a,b){a=void 0===a?"zone.js":a;return"noop"===a?new ng:"zone.js"===a?new hg(b):a},Tha=function(a,b,c){try{var d=c();return We(d)?d.catch(function(e){b.runOutsideAngular(function(){return a.handleError(e)});throw e;}):d}catch(e){throw b.runOutsideAngular(function(){return a.handleError(e)}),e;}},Uha=function(a,b){return Array.isArray(b)?b.reduce(Uha,a):Object.assign({},a,b)},og=function(a,b){b=a.indexOf(b);-1<b&&a.splice(b,1)},Vha=function(){var a=hd(hg),b=hd(Qe);return function(c){return a.runOutsideAngular(function(){return b.handleError(c)})}},
Yha=function(a){return[{provide:hg,useFactory:a},{provide:Ada,multi:!0,useFactory:function(){var b=hd(pg,{optional:!0});return function(){return b.initialize()}}},{provide:Wha,useFactory:Vha},{provide:Xha,useFactory:Iha}]},qg=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 $c(903,!1);e=b.\u0275dir}if(e){if(c){d.push(e);var f=a;f.inputs=Zha(a.inputs);f.declaredInputs=Zha(a.declaredInputs);
f.outputs=Zha(a.outputs);(f=e.hostBindings)&&$ha(a,f);f=e.viewQuery;var h=e.contentQueries;f&&aia(a,f);h&&bia(a,h);Pca(a.inputs,e.inputs);Pca(a.declaredInputs,e.declaredInputs);Pca(a.outputs,e.outputs);e.template&&e.data.animation&&(f=a.data,f.animation=(f.animation||[]).concat(e.data.animation))}if(e=e.features)for(f=0;f<e.length;f++)(h=e[f])&&h.ngInherit&&h(a),h===qg&&(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=jd(e.hostAttrs,
b=jd(b,e.hostAttrs))},Zha=function(a){return a===pd?{}:a===ld?[]:a},aia=function(a,b){var c=a.viewQuery;a.viewQuery=c?function(d,e){b(d,e);c(d,e)}:b},bia=function(a,b){var c=a.contentQueries;a.contentQueries=c?function(d,e,f){b(d,e,f);c(d,e,f)}:b},$ha=function(a,b){var c=a.hostBindings;a.hostBindings=c?function(d,e){b(d,e);c(d,e)}:b},dia=function(a){return cia(a)?Array.isArray(a)||!(a instanceof Map)&&Symbol.iterator in a:!1},eia=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)},cia=function(a){return null!==a&&("function"===typeof a||"object"===typeof a)},rg=function(a,b,c){return a[b]=c},sg=function(a,b,c){if(Object.is(a[b],c))return!1;a[b]=c;return!0},tg=function(a,b,c,d){c=sg(a,b,c);return sg(a,b+1,d)||c},ug=function(a,b,c,d){var e=t(),f=Md.bindingIndex++;sg(e,f,b)&&(f=Rd(),Pe(f,e,a,b,c,d));return ug},vg=function(a,b,c,d){return sg(a,Md.bindingIndex++,c)?b+Yc(c)+d:Ne},fia=function(a,b,c,d,e,f){a=tg(a,Md.bindingIndex,
c,e);Qd(2);return a?b+Yc(c)+d+Yc(e)+f:Ne},wg=function(a,b,c,d,e,f){var h=t();b=vg(h,b,c,d);b!==Ne&&(c=Rd(),Pe(c,h,a,b,e,f));return wg},xg=function(a,b,c,d,e,f,h,l){var q=t();b=fia(q,b,c,d,e,f);b!==Ne&&(c=Rd(),Pe(c,q,a,b,h,l));return xg},gia=function(a,b,c,d,e,f,h,l,q,u){var x=t();var y=Md.bindingIndex;var G=tg(x,y,c,e);y=sg(x,y+2,h)||G;Qd(3);b=y?b+Yc(c)+d+Yc(e)+f+Yc(h)+l:Ne;b!==Ne&&(c=Rd(),Pe(c,x,a,b,q,u));return gia},D=function(a,b,c){var d=t(),e=Md.bindingIndex++;if(sg(d,e,b)){e=Md.tView;var f=
Rd();Oe(e,f,d,a,b,d[11],c,!1)}return D},hia=function(a,b,c,d,e){e=e?"class":"style";qfa(a,c,b.inputs[e],e,d)},iia=function(a,b,c,d){for(var e=a[c+1],f=null===b,h=d?e>>17&32767:(e&131068)>>2,l=!1;0!==h&&(!1===l||f);){var q=a[h+1],u=a[h],x=b;if(null===u||null==x||(Array.isArray(u)?u[1]:u)===x||Array.isArray(u)&&"string"===typeof x&&0<=wd(u,x))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)},jia=function(a,b){var c=yg;if(c===b)return-1;for(b=zg=b;b<c&&32<a.charCodeAt(b);)b++;
b=Ag=b;return Bg(a,b,c)},mia=function(a,b){var c=yg;b=zg=Bg(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=Ag=b;b=kia(a,b,c);d=b=Cg=Bg(a,b,c);for(var e=b=-1,f=-1,h=d,l=h;h<c;){var q=a.charCodeAt(h++);if(59===q)break;else 34===q||39===q?l=h=lia(a,q,h,c):d===h-4&&85===f&&82===e&&76===b&&40===q?l=h=lia(a,41,h,c):32<q&&(l=h);f=e;e=b;b=q&-33}b=Dg=l;return kia(a,b,c)},Bg=function(a,b,c){for(;b<c&&32>=a.charCodeAt(b);)b++;return b},
kia=function(a,b,c){b=Bg(a,b,c);b<c&&b++;return b},lia=function(a,b,c,d){for(var e=-1;c<d;){var f=a.charCodeAt(c++);if(f==b&&92!==e)return c;e=92==f&&92===e?0:f}throw Error();},Eg=function(a,b,c){nia(a,b,c,!1);return Eg},Fg=function(a,b){nia(a,b,null,!0);return Fg},pia=function(a,b){var c;Dg=Cg=Ag=zg=0;yg=b.length;for(c=mia(b,Bg(b,0,yg));0<=c;c=mia(b,c))oia(a,b.substring(zg,Ag),b.substring(Cg,Dg))},Gg=function(a){qia(xd,ria,a,!0)},ria=function(a,b){var c;Dg=Cg=Ag=zg=0;yg=b.length;for(c=jia(b,Bg(b,
0,yg));0<=c;c=jia(b,c))xd(a,b.substring(zg,Ag),!0)},nia=function(a,b,c,d){var e=t(),f=Md.tView,h=Qd(2);f.firstUpdatePass&&sia(f,a,h,d);if(b!==Ne&&sg(e,h,b)){var l=f.data[Md.selectedIndex],q=e[11];null!=b&&""!==b&&("string"===typeof c?b+=c:"object"===typeof b&&(b=Zc(xe(b))));tia(f,l,e,q,a,e[h+1]=b,d,h)}},qia=function(a,b,c,d){var e=Md.tView,f=Qd(2);e.firstUpdatePass&&sia(e,null,f,d);var h=t();if(c!==Ne&&sg(h,f,c)){var l=e.data[Md.selectedIndex];if(0===(l.flags&(d?8:16))||f>=e.expandoStartIndex){var q=
h[11],u=h[f+1];if(null==c||""===c)a=ld;else{var x=[];c=xe(c);if(Array.isArray(c))for(b=0;b<c.length;b++)a(x,c[b],!0);else if("object"===typeof c)for(var y in c)c.hasOwnProperty(y)&&a(x,y,c[y]);else"string"===typeof c&&b(x,c);a=x}a=h[f+1]=a;u===Ne&&(u=ld);b=x=0;c=0<u.length?u[0]:null;for(y=0<a.length?a[0]:null;null!==c||null!==y;){var G=x<u.length?u[x+1]:void 0,L=b<a.length?a[b+1]:void 0,M=null,T=void 0;c===y?(x+=2,b+=2,G!==L&&(M=y,T=L)):null===y||null!==c&&c<y?(x+=2,M=c):(b+=2,M=y,T=L);null!==M&&
tia(e,l,h,q,M,T,d,f);c=x<u.length?u[x]:null;y=b<a.length?a[b]:null}}else f=d?l.classesWithoutHost:l.stylesWithoutHost,null!==f&&(c=Wca(f,c?c:"")),hia(e,l,h,c,d)}},sia=function(a,b,c,d){var e=a.data;if(null===e[c+1]){var f=e[Md.selectedIndex];a=c>=a.expandoStartIndex;0!==(f.flags&(d?8:16))&&null===b&&!a&&(b=!1);var h=Qda(e),l=d?f.residualClasses:f.residualStyles;if(null===h)0===(d?f.classBindings:f.styleBindings)&&(b=uia(null,e,f,b,d),b=Hg(b,f.attrs,d),l=null);else{var q=f.directiveStylingLast;if(-1===
q||e[q]!==h)if(b=uia(h,e,f,b,d),null===l)h=d?f.classBindings:f.styleBindings,h=0!==(h&131068)>>2?e[h>>17&32767]:void 0,void 0!==h&&Array.isArray(h)&&(h=uia(null,e,f,h[1],d),h=Hg(h,f.attrs,d),e[(d?f.classBindings:f.styleBindings)>>17&32767]=h);else{l=void 0;h=f.directiveEnd;for(q=1+f.directiveStylingLast;q<h;q++)l=Hg(l,e[q].hostAttrs,d);l=Hg(l,f.attrs,d)}}void 0!==l&&(d?f.residualClasses=l:f.residualStyles=l);q=b;l=d?f.classBindings:f.styleBindings;b=l>>17&32767;l=(l&131068)>>2;e[c]=q;var u=!1;if(Array.isArray(q)){if(h=
q[1],null===h||0<wd(q,h))u=!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);u&&(e[c+1]=e[c+1]|2);iia(e,h,c,!0);iia(e,h,c,!1);a=d?f.residualClasses:f.residualStyles;null!=a&&"string"==typeof h&&0<=wd(a,h)&&(e[c+1]=e[c+1]|1);l=b<<17|l<<2;d?f.classBindings=l:f.styleBindings=l}},uia=function(a,b,c,d,e){var f=c.directiveEnd,
h=c.directiveStylingLast;for(-1===h?h=c.directiveStart:h++;h<f;){var l=b[h];d=Hg(d,l.hostAttrs,e);if(l===a)break;h++}null!==a&&(c.directiveStylingLast=h);return d},Hg=function(a,b,c){var d=c?1:2,e=-1;if(null!==b)for(var f=0;f<b.length;f++){var h=b[f];"number"===typeof h?e=h:e===d&&(Array.isArray(a)||(a=void 0===a?[]:["",a]),xd(a,h,c?!0:b[++f]))}return void 0===a?null:a},oia=function(a,b,c){xd(a,b,xe(c))},tia=function(a,b,c,d,e,f,h,l){if(b.type&3){a=a.data;var q=a[l+1];void 0===(1===(q&1)?via(a,b,
c,e,(q&131068)>>2,h):void 0)&&(void 0!==f||2==(q&2)&&(f=via(a,null,c,e,l,h)),b=Id(c[Md.selectedIndex]),h?f?d.addClass(b,e):d.removeClass(b,e):(h=-1===e.indexOf("-")?void 0:2,null==f?d.removeStyle(b,e,h):("string"===typeof f&&f.endsWith("!important")&&(f=f.slice(0,-10),h|=1),d.setStyle(b,e,f,h))))}},via=function(a,b,c,d,e,f){for(var h=null===b,l=void 0;0<e;){var q=a[e],u=Array.isArray(q),x=u?q[1]:q,y=null===x,G=c[e+1];G===Ne&&(G=y?ld:void 0);x=y?tda(G,d):x===d?G:void 0;u&&void 0===x&&(x=tda(q,d));
if(void 0!==x&&(l=x,h))return l;e=a[e+1];e=h?e>>17&32767:(e&131068)>>2}null!==b&&(a=f?b.residualClasses:b.residualStyles,null!=a&&(l=tda(a,d)));return l},Ig=function(a,b,c){a=vg(t(),a,b,c);qia(xd,ria,a,!0)},E=function(a,b,c,d){var e=t(),f=Md.tView,h=25+a;a=e[11];if(f.firstCreatePass){var l=f.consts;c=Ld(l,c);c=Ke(f,h,2,b,c);tfa(f,e,c,Ld(l,d));null!==c.attrs&&Re(c,c.attrs,!1);null!==c.mergedAttrs&&Re(c,c.mergedAttrs,!0);null!==f.queries&&f.queries.elementStart(f,c);l=c}else l=f.data[h];Jg=!0;b=a.createElement(b,
Md.currentNamespace);e[h]=b;h=1===(l.flags&1);Od(l,!0);Gea(a,b,l);32!==(l.flags&32)&&Jg&&se(f,e,b,l);0===Md.elementDepthCount&&me(b,e);Md.elementDepthCount++;h&&(mfa(f,e,l),jfa(f,l,e));null!==d&&nfa(e,l);return E},F=function(){var a=Nd();Md.isParent?Md.isParent=!1:(a=a.parent,Od(a,!1));var b=a;wia===b&&(wia=null);Md.elementDepthCount--;var c=Md.tView;c.firstCreatePass&&(Vd(c,a),0!==(a.flags&4)&&c.queries.elementEnd(a));null!=b.classesWithoutHost&&0!==(b.flags&8)&&hia(c,b,t(),b.classesWithoutHost,
!0);null!=b.stylesWithoutHost&&0!==(b.flags&16)&&hia(c,b,t(),b.stylesWithoutHost,!1);return F},H=function(a,b,c,d){E(a,b,c,d);F();return H},I=function(a,b,c){var d=t(),e=Md.tView;a+=25;if(e.firstCreatePass){var f=e.consts;var h=Ld(f,b);b=Ke(e,a,8,"ng-container",h);null!==h&&Re(b,h,!0);f=Ld(f,c);tfa(e,d,b,f);null!==e.queries&&e.queries.elementStart(e,b);f=b}else f=e.data[a];Od(f,!0);Jg=!0;b=d[11].createComment(yea());d[a]=b;Jg&&se(e,d,b,f);me(b,d);1===(f.flags&1)&&(mfa(e,d,f),jfa(e,f,d));null!=c&&
nfa(d,f);return I},J=function(){var a=Nd(),b=Md.tView;Md.isParent?Md.isParent=!1:(a=a.parent,Od(a,!1));b.firstCreatePass&&(Vd(b,a),0!==(a.flags&4)&&b.queries.elementEnd(a));return J},Kg=function(a,b,c){I(a,b,c);J();return Kg},Lg=function(a,b,c){var d=t(),e=Md.bindingIndex++;if(sg(d,e,b)){e=Md.tView;var f=Rd();Oe(e,f,d,a,b,d[11],c,!0)}return Lg},Mg=function(a,b,c){var d=t(),e=Md.bindingIndex++;if(sg(d,e,b)){e=Md.tView;var f=Rd(),h=wfa(Qda(e.data),f,d);Oe(e,f,d,a,b,h,c,!0)}return Mg},K=function(a,b,
c,d){c=t();xia(Md.tView,c,c[11],Nd(),a,b,d);return K},yia=function(a,b){var c=Nd(),d=t(),e=Md.tView,f=wfa(Qda(e.data),c,d);xia(e,d,f,c,a,b);return yia},zia=function(a,b,c,d){a=a.cleanup;if(null!=a)for(var e=0;e<a.length-1;e+=2){var f=a[e];if(f===c&&a[e+1]===d)return b=b[7],c=a[e+2],b.length>c?b[c]:null;"string"===typeof f&&(e+=2)}return null},xia=function(a,b,c,d,e,f,h){var l=1===(d.flags&1),q=a.firstCreatePass&&(a.cleanup||(a.cleanup=[])),u=b[7]||(b[7]=[]),x=!0;if(d.type&3||h){var y=Jd(d,b),G=h?
h(y):y;y=u.length;var L=h?function(S){return h(Id(S[d.index]))}:d.index,M=null;!h&&l&&(M=zia(a,b,e,d.index));null!==M?((M.__ngLastListenerFn__||M).__ngNextListenerFn__=f,M.__ngLastListenerFn__=f,x=!1):(f=Aia(d,b,f),a=c.listen(G,e,f),u.push(f,a),q&&q.push(e,L,y,y+1))}else f=Aia(d,b,f);a=d.outputs;var T;if(x&&null!==a&&(T=a[e])&&(x=T.length))for(a=0;a<x;a+=2)c=b[T[a]][T[a+1]].subscribe(f),l=u.length,u.push(f,c),q&&q.push(e,d.index,l,-(l+1))},Bia=function(a,b,c){try{return!1!==b(c)}catch(d){return ufa(a,
d),!1}finally{}},Aia=function(a,b,c){return function f(e){if(e===Function)return c;var h=-1<a.componentOffset?Kd(a.index,b):b;tea(h);h=Bia(b,c,e);for(var l=f.__ngNextListenerFn__;l;)h=Bia(b,l,e)&&h,l=l.__ngNextListenerFn__;return h}},N=function(a){var b=Md;a=void 0===a?1:a;for(var c=Md.contextLView;0<a;)c=c[14],a--;return(b.contextLView=c)[8]},Ng=function(a){var b=t()[15][6];if(!b.projection){var c=b.projection=sda(a?a.length:1,null),d=c.slice();for(b=b.child;null!==b;){if(a)a:{var e=b;var f=a,h=
null;b:{var 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<f.length;q++){var u=f[q];if("*"===u)h=q;else{if(null===l)u=gda(e,u,!0);else b:{var x=0;c:for(;x<u.length;x++){var y=u[x];if(l.length===y.length){for(var G=0;G<l.length;G++)if(l[G]!==y[G])continue c;u=!0;break b}}u=!1}if(u){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}}},Og=function(a,b,c){b=void 0===b?0:b;var d=t(),e=Md.tView;a=Ke(e,25+a,16,null,c||null);
null===a.projection&&(a.projection=b);Md.isParent=!1;d[22]&&null===wia||32===(a.flags&32)||(b=d[11],e=Dea(e,a.parent,d),c=a.parent||d[6],c=c.type&40?Jd(c,d):null,Fea(b,0,d,a,e,c))},Qg=function(a,b,c){Pg(a,"",b,"",c);return Qg},Pg=function(a,b,c,d,e){var f=t();b=vg(f,b,c,d);b!==Ne&&(c=Md.tView,d=Rd(),Oe(c,d,f,a,b,f[11],e,!1));return Pg},Rg=function(a,b,c,d,e,f,h){var l=t();b=fia(l,b,c,d,e,f);b!==Ne&&(c=Md.tView,d=Rd(),Oe(c,d,l,a,b,l[11],h,!1));return Rg},O=function(a){return Md.contextLView[25+a]},
P=function(a,b,c,d,e,f,h,l){var q=t(),u=Md.tView,x=a+25;if(u.firstCreatePass){var y=u.consts,G=null,L=q[22];if(L){var M,T;G=null!=(T=L&&(null==(M=L.data.t)?void 0:M[x-25]))?T:null}e=Ke(u,x,4,e||null,Ld(y,f));tfa(u,q,e,Ld(y,h));Vd(u,e);b=e.tView=ofa(2,e,b,c,d,u.directiveRegistry,u.pipeRegistry,null,u.schemas,y,G);null!==u.queries&&(u.queries.template(u,e),b.queries=u.queries.embeddedTView(e));b=e}else b=u.data[x];Od(b,!1);a=Cia(u,q,b,a);Jg&&se(u,q,a,b);me(a,q);Me(q,q[x]=[a,!0,!1,q,null,0,b,a,null,
null,null]);1===(b.flags&1)&&mfa(u,q,b);null!=h&&nfa(q,b,l)},Dia=function(a,b){Jg=!0;return b[11].createComment("")},Q=function(a,b){b=void 0===b?"":b;var c=t(),d=Md.tView;a+=25;var e=d.firstCreatePass?Ke(d,a,1,b,null):d.data[a];Jg=!0;b=c[11].createText(b);c[a]=b;Jg&&se(d,c,b,e);Od(e,!1)},Sg=function(a){R("",a,"");return Sg},R=function(a,b,c){var d=t();a=vg(d,a,b,c);a!==Ne&&xfa(d,a);return R},Tg=function(a,b,c,d,e){var f=t();a=fia(f,a,b,c,d,e);a!==Ne&&xfa(f,a);return Tg},Eia=function(a,b,c,d,e,f,
h,l,q){var u=t();var x=Md.bindingIndex;var y=tg(u,x,b,d);x=tg(u,x+2,f,l)||y;Qd(4);a=x?a+Yc(b)+c+Yc(d)+e+Yc(f)+h+Yc(l)+q:Ne;a!==Ne&&xfa(u,a);return Eia},Fia=function(a,b,c,d,e){a=dd(a);if(Array.isArray(a))for(var f=0;f<a.length;f++)Fia(a[f],b,c,d,e);else{f=Md.tView;var h=t(),l=zd(a)?a:dd(a.provide),q=Hda(a),u=Nd(),x=u.providerIndexes&1048575,y=u.directiveStart,G=u.providerIndexes>>20;if(zd(a)||!a.multi)d=new ge(q,e),q=Gia(l,b,e?x:x+G,y),-1===q?(q=be(u,h),bea(q,f,l),Hia(f,a,b.length),b.push(l),u.directiveStart++,
u.directiveEnd++,e&&(u.providerIndexes+=1048576),c.push(d),h.push(d)):(c[q]=d,h[q]=d);else{y=Gia(l,b,x+G,y);x=Gia(l,b,x,x+G);var L=0<=y&&c[y];G=0<=x&&c[x];e&&!G||!e&&!L?(y=be(u,h),bea(y,f,l),y=c.length,L=new ge(e?Iia:Jia,e),L.multi=[],L.index=y,L.componentProviders=0,d&&!e&&L.componentProviders++,L.multi.push(q),!e&&G&&(c[x].providerFactory=L),Hia(f,a,b.length,0),b.push(l),u.directiveStart++,u.directiveEnd++,e&&(u.providerIndexes+=1048576),c.push(L),h.push(L)):(b=c[e?x:y],!e&&d&&b.componentProviders++,
b=b.multi.push(q)-1,Hia(f,a,-1<y?y:x,b));!e&&d&&G&&c[x].componentProviders++}}},Hia=function(a,b,c,d){var e=zd(b),f=!!b.useClass;if(e||f)if(f=(f?dd(b.useClass):b).prototype.ngOnDestroy)a=a.destroyHooks||(a.destroyHooks=[]),!e&&b.multi?(b=a.indexOf(c),-1===b?a.push(c,[d,f]):a[b+1].push(d,f)):a.push(c,f)},Gia=function(a,b,c,d){for(;c<d;c++)if(b[c]===a)return c;return-1},Jia=function(){return Kia(this.multi,[])},Iia=function(a,b,c,d){b=this.multi;if(this.providerFactory){var e=this.providerFactory.componentProviders;
d=fe(c,c[1],this.providerFactory.index,d);c=d.slice(0,e);Kia(b,c);for(b=e;b<d.length;b++)c.push(d[b])}else c=[],Kia(b,c);return c},Kia=function(a,b){for(var c=0;c<a.length;c++)b.push((0,a[c])());return b},Ug=function(a){var b=void 0===b?[]:b;return function(c){c.providersResolver=function(d,e){e=e?e(a):a;var f=Md.tView;f.firstCreatePass&&(d=!!d.template,Fia(b,f.data,f.blueprint,d,!0),Fia(e,f.data,f.blueprint,d,!1))}}},Lia=function(a){a.getStandaloneInjector=function(b){b=b.get(Vg);if(a.standalone){if(!b.cachedInjectors.has(a.id)){var c=
uda(!1,a.type);c=0<c.length?Bfa([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}},Wg=function(a,b){a=Pd()+a;var c=t();return c[a]===Ne?rg(c,a,b()):c[a]},Xg=function(a,b,c){return Mia(t(),Pd(),a,b,c)},Yg=function(a,b,c,d){return Nia(t(),Pd(),a,b,c,d)},Zg=function(a,b,c,d){return Oia(t(),Pd(),2,a,b,c,d)},Qia=function(a,b,c,d,e,f){var h=Pia,l=Pd()+8,q=t();var u=tg(q,l,a,b);u=tg(q,l+2,c,d)||u;return tg(q,l+4,e,f)||u?
rg(q,l+6,h(a,b,c,d,e,f)):q[l+6]},Ria=function(a,b){a=a[b];return a===Ne?void 0:a},Mia=function(a,b,c,d,e,f){b+=c;return sg(a,b,e)?rg(a,b+1,f?d.call(f,e):d(e)):Ria(a,b+1)},Nia=function(a,b,c,d,e,f,h){b+=c;return tg(a,b,e,f)?rg(a,b+2,h?d.call(h,e,f):d(e,f)):Ria(a,b+2)},Oia=function(a,b,c,d,e,f,h,l){b+=c;c=tg(a,b,e,f);return sg(a,b+2,h)||c?rg(a,b+3,l?d.call(l,e,f,h):d(e,f,h)):Ria(a,b+3)},U=function(a,b){var c=Md.tView;a+=25;if(c.firstCreatePass){a:{var d=c.pipeRegistry;if(d)for(var e=d.length-1;0<=e;e--){var f=
d[e];if(b===f.name){b=f;break a}}b=void 0}c.data[a]=b;if(b.onDestroy){var h;(null!=(h=c.destroyHooks)?h:c.destroyHooks=[]).push(a,b.onDestroy)}}else b=c.data[a];h=b.factory||(b.factory=td(b.type));b=bd(A);try{var l=Zd(!1),q=h();Zd(l);var u=t();a>=c.data.length&&(c.data[a]=null,c.blueprint[a]=null);u[a]=q}finally{bd(b)}},V=function(a,b,c){a+=25;var d=t(),e=d[a];return d[1].data[a].pure?Mia(d,Pd(),b,e.transform,c,e):e.transform(c)},$g=function(a,b,c,d){a+=25;var e=t(),f=e[a];return e[1].data[a].pure?
Nia(e,Pd(),b,f.transform,c,d,f):f.transform(c,d)},ah=function(a,b,c,d,e){a+=25;var f=t(),h=f[a];return f[1].data[a].pure?Oia(f,Pd(),b,h.transform,c,d,e,h):h.transform(c,d,e)},Sia=function(){return this._results[Symbol.iterator]()},Tia=function(){return bh(Nd(),t())},bh=function(a,b){return a.type&4?new ch(b,a,le(a,b)):null},Via=function(){return Uia(Nd(),t())},Wia=function(a){return a[8]||(a[8]=[])},Uia=function(a,b){var c=b[a.index];if(Gd(c))var d=c;else d=[c,!0,!1,b,null,0,a,null,null,null,null],
b[a.index]=d,Me(b,d);Xia(d,b,a,c);return new dh(d,a,b)},Yia=function(a,b,c,d){if(!a[7]){if(c.type&8)d=Id(d);else{d=b[11];var e=d.createComment("");c=Jd(c,b);b=d.parentNode(c);c=d.nextSibling(c);d.insertBefore(b,e,c,!1);d=e}a[7]=d}},Zia=function(a,b,c,d){d=b[18].queries[d];if(null===d.matches){a=a.data;for(var e=c.matches,f=[],h=0;h<e.length;h+=2){var l=e[h];if(0>l)f.push(null);else{var q=f,u=q.push,x=b,y=a[l],G=e[h+1];l=c.metadata.read;-1===G?(l=y,x=l.type&11?le(l,x):l.type&4?bh(l,x):null):-2===G?
x=l===ke?le(y,x):l===eh?bh(y,x):l===fh?Uia(y,x):void 0:x=fe(x,x[1],G,y);u.call(q,x)}}d.matches=f}return d.matches},$ia=function(a,b,c,d){var e=a.queries.queries[c],f=e.matches;if(null!==f)for(a=Zia(a,b,e,c),c=0;c<f.length;c+=2){var h=f[c];if(0<h)d.push(a[c/2]);else{e=f[c+1];h=b[-h];for(var l=11;l<h.length;l++){var q=h[l];q[16]===q[3]&&$ia(q[1],q,e,d)}if(null!==h[9])for(h=h[9],l=0;l<h.length;l++)q=h[l],$ia(q[1],q,e,d)}}return d},hh=function(a){var b=t(),c=Md.tView,d=Md.currentQueryIndex;Md.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?$ia(c,b,d,[]):Zia(c,b,e,d),a.reset(b,qea),gh(a)),!0):!1},ih=function(a,b,c){var d=Md.tView;d.firstCreatePass&&(aja(d,new bja(a,b,c),-1),2===(b&2)&&(d.staticViewQueries=!0));cja(d,b)},jh=function(a,b,c,d){var e=Md.tView;e.firstCreatePass&&(aja(e,new bja(b,c,d),Nd().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));cja(e,c)},kh=function(){return t()[18].queries[Md.currentQueryIndex].queryList},cja=function(a,b){var c=t();b=new lh(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 mh);c[18].queries.push(new nh(b))},aja=function(a,b,c){null===a.queries&&(a.queries=new oh);a.queries.track(new ph(b,c))},qh=function(a,b){return bh(a,b)},dja=function(a){var b=Nd(),c=t();-1<b.componentOffset&&
16!==(a&16)?(a=Kd(b.index,c),a=new rh(a,a)):a=b.type&47?new rh(c[15],c):null;return a},eja=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},sh=function(a){return"boolean"===typeof a?a:null!=a&&"false"!==a},fja=function(a){var b=a[nd]||null;if(!b)return null;var c=new th(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}}},gja=function(a,b){if(b&&!b.createEmbeddedView)throw Error("Na`"+a+"`"+Zc(b));},hja=function(a,b,c){a=Xe(a);b=uh([a[1],a[2]],b);return uh(b,c)},ija=function(a,b,c){a=Xe(a);b=uh([a[3],a[4]],b);return uh(b,c)},jja=function(a,b,c){a=Xe(a);b=uh([a[5],a[6]],b);return uh(b,c)},kja=function(a,b){a=Xe(a)[7];return uh(a,b)},vh=function(a,b){a=Xe(a);return uh(a[10],b)},wh=function(a,b){a=Xe(a);return uh(a[11],b)},xh=function(a,b){a=Xe(a)[12];return uh(a,b)},yh=function(a,
b){a=Xe(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},lja=function(a){if(!a[21])throw Error("Oa`"+a[0]);},nja=function(a){a=Xe(a);lja(a);return(a[21][2]||[]).map(function(b){return"string"===typeof b?mja(b):[mja(b[0]),mja(b[1])]})},oja=function(a,b,c){a=Xe(a);lja(a);b=uh([a[21][0],a[21][1]],b)||[];return uh(b,c)||[]},uh=function(a,b){for(;-1<b;b--)if("undefined"!==typeof a[b])return a[b];throw Error("Pa");},mja=function(a){var b=m(a.split(":"));
a=b.next().value;b=b.next().value;return{hours:+a,minutes:+b}},zh=function(){return new $c(2100,!1)},vja=function(a,b,c,d){var e=pja(a);b=Ah(c,b)||b;a=[];for(var f;b;)if(f=qja.exec(b)){if(a=a.concat(f.slice(1)),b=a.pop(),!b)break}else{a.push(b);break}var h=e.getTimezoneOffset();d&&(h=rja(d,h),e=sja(e,d));var l="";a.forEach(function(q){a:if(tja[q])var u=tja[q];else{switch(q){case "G":case "GG":case "GGG":u=Bh(3,1);break;case "GGGG":u=Bh(3,2);break;case "GGGGG":u=Bh(3,0);break;case "y":u=Ch(0,1,0,!1,
!0);break;case "yy":u=Ch(0,2,0,!0,!0);break;case "yyy":u=Ch(0,3,0,!1,!0);break;case "yyyy":u=Ch(0,4,0,!1,!0);break;case "Y":u=Dh(1);break;case "YY":u=Dh(2,!0);break;case "YYY":u=Dh(3);break;case "YYYY":u=Dh(4);break;case "M":case "L":u=Ch(1,1,1);break;case "MM":case "LL":u=Ch(1,2,1);break;case "MMM":u=Bh(2,1);break;case "MMMM":u=Bh(2,2);break;case "MMMMM":u=Bh(2,0);break;case "LLL":u=Bh(2,1,1);break;case "LLLL":u=Bh(2,2,1);break;case "LLLLL":u=Bh(2,0,1);break;case "w":u=uja(1);break;case "ww":u=uja(2);
break;case "W":u=uja(1,!0);break;case "d":u=Ch(2,1);break;case "dd":u=Ch(2,2);break;case "c":case "cc":u=Ch(7,1);break;case "ccc":u=Bh(1,1,1);break;case "cccc":u=Bh(1,2,1);break;case "ccccc":u=Bh(1,0,1);break;case "cccccc":u=Bh(1,3,1);break;case "E":case "EE":case "EEE":u=Bh(1,1);break;case "EEEE":u=Bh(1,2);break;case "EEEEE":u=Bh(1,0);break;case "EEEEEE":u=Bh(1,3);break;case "a":case "aa":case "aaa":u=Bh(0,1);break;case "aaaa":u=Bh(0,2);break;case "aaaaa":u=Bh(0,0);break;case "b":case "bb":case "bbb":u=
Bh(0,1,1,!0);break;case "bbbb":u=Bh(0,2,1,!0);break;case "bbbbb":u=Bh(0,0,1,!0);break;case "B":case "BB":case "BBB":u=Bh(0,1,0,!0);break;case "BBBB":u=Bh(0,2,0,!0);break;case "BBBBB":u=Bh(0,0,0,!0);break;case "h":u=Ch(3,1,-12);break;case "hh":u=Ch(3,2,-12);break;case "H":u=Ch(3,1);break;case "HH":u=Ch(3,2);break;case "m":u=Ch(4,1);break;case "mm":u=Ch(4,2);break;case "s":u=Ch(5,1);break;case "ss":u=Ch(5,2);break;case "S":u=Ch(6,1);break;case "SS":u=Ch(6,2);break;case "SSS":u=Ch(6,3);break;case "Z":case "ZZ":case "ZZZ":u=
Eh(0);break;case "ZZZZZ":u=Eh(3);break;case "O":case "OO":case "OOO":case "z":case "zz":case "zzz":u=Eh(1);break;case "OOOO":case "ZZZZ":case "zzzz":u=Eh(2);break;default:u=null;break a}tja[q]=u}l+=u?u(e,c,h):"''"===q?"'":q.replace(/(^'|'$)/g,"").replace(/''/g,"'")});return l},Fh=function(a,b,c){var d=new Date(0);d.setFullYear(a,b,c);d.setHours(0,0,0);return d},Ah=function(a,b){var c=Xe(a)[0];Gh[c]=Gh[c]||{};if(Gh[c][b])return Gh[c][b];var d="";switch(b){case "shortDate":d=vh(a,0);break;case "mediumDate":d=
vh(a,1);break;case "longDate":d=vh(a,2);break;case "fullDate":d=vh(a,3);break;case "shortTime":d=wh(a,0);break;case "mediumTime":d=wh(a,1);break;case "longTime":d=wh(a,2);break;case "fullTime":d=wh(a,3);break;case "short":d=Ah(a,"shortTime");var e=Ah(a,"shortDate");d=Hh(xh(a,0),[d,e]);break;case "medium":d=Ah(a,"mediumTime");e=Ah(a,"mediumDate");d=Hh(xh(a,1),[d,e]);break;case "long":d=Ah(a,"longTime");e=Ah(a,"longDate");d=Hh(xh(a,2),[d,e]);break;case "full":d=Ah(a,"fullTime"),e=Ah(a,"fullDate"),d=
Hh(xh(a,3),[d,e])}d&&(Gh[c][b]=d);return d},Hh=function(a,b){b&&(a=a.replace(/\{([^}]+)}/g,function(c,d){return null!=b&&d in b?b[d]:c}));return a},Ih=function(a,b,c,d,e){c=void 0===c?"-":c;var f="";if(0>a||e&&0>=a)e?a=-a+1:(a=-a,f=c);for(a=String(a);a.length<b;)a="0"+a;d&&(a=a.slice(a.length-b));return f+a},Ch=function(a,b,c,d,e){c=void 0===c?0:c;d=void 0===d?!1:d;e=void 0===e?!1:e;return function(f,h){f=wja(a,f);if(0<c||f>-c)f+=c;if(3===a)0===f&&-12===c&&(f=12);else if(6===a)return Ih(f,3).substring(0,
b);h=yh(h,5);return Ih(f,b,h,d,e)}},wja=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("Qa`"+a);}},Bh=function(a,b,c,d){c=void 0===c?0:c;d=void 0===d?!1:d;return function(e,f){return xja(e,f,a,b,c,d)}},xja=function(a,b,c,d,e,f){switch(c){case 2:return jja(b,e,d)[a.getMonth()];
case 1:return ija(b,e,d)[a.getDay()];case 0:var h=a.getHours(),l=a.getMinutes();return f&&(c=nja(b),a=oja(b,e,d),c=c.findIndex(function(q){if(Array.isArray(q)){var u=m(q);q=u.next().value;u=u.next().value;var x=h>=q.hours&&l>=q.minutes,y=h<u.hours||h===u.hours&&l<u.minutes;if(q.hours<u.hours){if(x&&y)return!0}else if(x||y)return!0}else if(q.hours===h&&q.minutes===l)return!0;return!1}),-1!==c)?a[c]:hja(b,e,d)[12>h?0:1];case 3:return kja(b,d)[0>=a.getFullYear()?0:1];default:throw Error("Ra`"+c);}},
Eh=function(a){return function(b,c,d){b=-1*d;c=yh(c,5);var e=0<b?Math.floor(b/60):Math.ceil(b/60);switch(a){case 0:return(0<=b?"+":"")+Ih(e,2,c)+Ih(Math.abs(b%60),2,c);case 1:return"GMT"+(0<=b?"+":"")+Ih(e,1,c);case 2:return"GMT"+(0<=b?"+":"")+Ih(e,2,c)+":"+Ih(Math.abs(b%60),2,c);case 3:return 0===d?"Z":(0<=b?"+":"")+Ih(e,2,c)+":"+Ih(Math.abs(b%60),2,c);default:throw Error("Sa`"+a);}}},yja=function(a){return Fh(a.getFullYear(),a.getMonth(),a.getDate()+(4-a.getDay()))},uja=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=yja(c);c=e.getFullYear();var f=Fh(c,0,1).getDay();c=Fh(c,0,1+(4>=f?4:11)-f);e=1+Math.round((e.getTime()-c.getTime())/6048E5)}return Ih(e,a,yh(d,5))}},Dh=function(a,b){b=void 0===b?!1:b;return function(c,d){c=yja(c).getFullYear();return Ih(c,a,yh(d,5),b)}},rja=function(a,b){a=a.replace(/:/g,"");a=Date.parse("Jan 01, 1970 00:00:00 "+a)/6E4;return isNaN(a)?b:a},sja=
function(a,b){var c=a.getTimezoneOffset();b=rja(b,c);a=new Date(a.getTime());a.setMinutes(a.getMinutes()+-1*(b-c));return a},pja=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=m(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 Fh(a,c-1,void 0===b?1:b)}b=parseFloat(a);if(!isNaN(a-
b))return new Date(b);if(b=a.match(zja))return Aja(b)}b=new Date(a);if(!(b instanceof Date)||isNaN(b.valueOf()))throw Error("Ta`"+a);return b},Aja=function(a){var b=new Date(0),c=0,d=0,e=a[8]?b.setUTCFullYear:b.setFullYear,f=a[8]?b.setUTCHours:b.setHours;a[9]&&(c=Number(a[9]+a[10]),d=Number(a[9]+a[11]));e.call(b,Number(a[1]),Number(a[2])-1,Number(a[3]));f.call(b,Number(a[4]||0)-c,Number(a[5]||0)-d,Number(a[6]||0),Math.floor(1E3*parseFloat("0."+(a[7]||0))));return b},Bja=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},Hja=function(a,b,c,d){var e=void 0===e?!1:e;var f="",h=!1;if(isFinite(a)){h=Cja(a);e&&(h=Dja(h));f=b.minInt;e=b.minFrac;var l=b.maxFrac;if(d){var q=d.match(Eja);if(null===q)throw Error("Ua`"+
d);d=q[1];var u=q[3];q=q[5];null!=d&&(f=Fja(d));null!=u&&(e=Fja(u));null!=q?l=Fja(q):null!=u&&e>l&&(l=e)}Gja(h,e,l);d=h.digits;q=h.integerLen;e=h.exponent;l=[];for(h=d.every(function(x){return!x});q<f;q++)d.unshift(0);for(;0>q;q++)d.unshift(0);0<q?l=d.splice(q,d.length):(l=d,d=[0]);f=[];for(d.length>=b.lgSize&&f.unshift(d.splice(-b.lgSize,d.length).join(""));d.length>b.gSize;)f.unshift(d.splice(-b.gSize,d.length).join(""));d.length&&f.unshift(d.join(""));f=f.join(yh(c,1));l.length&&(f+=yh(c,0)+l.join(""));
e&&(f+=yh(c,6)+"+"+e)}else f=yh(c,9);return f=0>a&&!h?b.negPre+f+b.negSuf:b.posPre+f+b.posSuf},Dja=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},Cja=function(a){a=Math.abs(a)+"";var b=0,c,d,e,f;-1<(c=a.indexOf("."))&&(a=a.replace(".",""));0<(d=a.search(/e/i))?(0>c&&(c=d),c+=+a.slice(d+1),a=a.substring(0,d)):0>c&&(c=a.length);for(d=0;"0"===a.charAt(d);d++);if(d===(f=a.length)){var h=
[0];c=1}else{for(f--;"0"===a.charAt(f);)f--;c-=d;h=[];for(e=0;d<=f;d++,e++)h[e]=Number(a.charAt(d))}22<c&&(h=h.splice(0,21),b=c-1,c=1);return{digits:h,exponent:b,integerLen:c}},Gja=function(a,b,c){if(b>c)throw Error("Va`"+b+"`"+c);var d=a.digits,e=d.length-a.integerLen;c=Math.min(Math.max(b,e),c);var f=c+a.integerLen,h=d[f];if(0<f){d.splice(Math.max(a.integerLen,f));for(var l=f;l<d.length;l++)d[l]=0}else for(e=Math.max(0,e),a.integerLen=1,d.length=Math.max(1,f=c+1),d[0]=0,l=1;l<f;l++)d[l]=0;if(5<=
h)if(0>f-1){for(h=0;h>f;h--)d.unshift(0),a.integerLen++;d.unshift(1);a.integerLen++}else d[f-1]++;for(;e<Math.max(0,c);e++)d.push(0);var q=0!==c,u=b+a.integerLen;if(b=d.reduceRight(function(x,y,G,L){y+=x;L[G]=10>y?y:y-10;q&&(0===L[G]&&G>=u?L.pop():q=!1);return 10<=y?1:0},0))d.unshift(b),a.integerLen++},Fja=function(a){var b=parseInt(a);if(isNaN(b))throw Error("Wa`"+a);return b},Ija=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},Jja=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)},Jh=function(a){return a&&"?"!==a[0]?"?"+a:a},Kja=function(a){return RegExp("^(https?:)?//").test(a)?(a=m(a.split(/\/\/[^\/]+/)),a.next(),a.next().value):a},Kh=function(a){return null==a||("string"===typeof a||Array.isArray(a))&&0===a.length},Lja=function(a){return function(b){if(Kh(b.value)||Kh(a))return null;var c=parseFloat(b.value);return!isNaN(c)&&
c<a?{min:{min:a,actual:b.value}}:null}},Mja=function(a){return Kh(a.value)?{required:!0}:null},Nja=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}},Pja=function(a){if(!a)return Oja;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(Kh(d.value))return null;d=d.value;
return c.test(d)?null:{pattern:{requiredPattern:b,actualValue:d}}}},Oja=function(){return null},Qja=function(a){return null!=a},Rja=function(a){return We(a)?(0,C.from)(a):a},Sja=function(a){var b={};a.forEach(function(c){b=null!=c?Object.assign({},b,c):b});return 0===Object.keys(b).length?null:b},Tja=function(a,b){return b.map(function(c){return c(a)})},Uja=function(a){return a.map(function(b){return b.validate?function(c){return b.validate(c)}:b})},Vja=function(a){if(!a)return null;var b=a.filter(Qja);
return 0==b.length?null:function(c){return Sja(Tja(c,b))}},Wja=function(a){return null!=a?Vja(Uja(a)):null},Xja=function(a){if(!a)return null;var b=a.filter(Qja);return 0==b.length?null:function(c){c=Tja(c,b).map(Rja);return(0,C.forkJoin)(c).pipe(B(Sja))}},Yja=function(a){return null!=a?Xja(Uja(a)):null},Zja=function(a,b){return null===a?[b]:Array.isArray(a)?[].concat(r(a),[b]):[a,b]},$ja=function(a,b){return[].concat(r(b.path),[a])},Lh=function(a,b,c){c=void 0===c?"whenDisabledForLegacyCode":c;aka(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)}bka(a,b);cka(a,b);dka(a,b);eka(a,b)},Nh=function(a,b){var c=function(){};b.valueAccessor&&(b.valueAccessor.registerOnChange(c),b.valueAccessor.registerOnTouched(c));Mh(a,b);a&&(b._invokeOnDestroyCallbacks(),a._registerOnCollectionChange(function(){}))},Oh=function(a,b){a.forEach(function(c){c.registerOnValidatorChange&&c.registerOnValidatorChange(b)})},eka=
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)})}},aka=function(a,b){var c=a._rawValidators;null!==b.validator?fka(a,Zja(c,b.validator)):"function"===typeof c&&fka(a,[c]);c=a._rawAsyncValidators;null!==b.asyncValidator?gka(a,Zja(c,b.asyncValidator)):"function"===typeof c&&gka(a,[c]);c=function(){return Ph(a)};Oh(b._rawValidators,c);Oh(b._rawAsyncValidators,
c)},Mh=function(a,b){var c=!1;if(null!==a){if(null!==b.validator){var d=a._rawValidators;if(Array.isArray(d)&&0<d.length){var e=d.filter(function(f){return f!==b.validator});e.length!==d.length&&(c=!0,a._assignValidators(e))}}null!==b.asyncValidator&&(d=a._rawAsyncValidators,Array.isArray(d)&&0<d.length&&(e=d.filter(function(f){return f!==b.asyncValidator}),e.length!==d.length&&(c=!0,a._assignAsyncValidators(e))))}a=function(){};Oh(b._rawValidators,a);Oh(b._rawAsyncValidators,a);return c},bka=function(a,
b){b.valueAccessor.registerOnChange(function(c){a._pendingValue=c;a._pendingChange=!0;a._pendingDirty=!0;"change"===a.updateOn&&hka(a,b)})},dka=function(a,b){b.valueAccessor.registerOnTouched(function(){a._pendingTouched=!0;"blur"===a.updateOn&&a._pendingChange&&hka(a,b);"submit"!==a.updateOn&&ika(a)})},hka=function(a,b){a._pendingDirty&&jka(a);a.setValue(a._pendingValue,{emitModelToViewChange:!1});b.viewToModelUpdate(a._pendingValue);a._pendingChange=!1},cka=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)})},kka=function(a,b){if(!a.hasOwnProperty("model"))return!1;a=a.model;return a.isFirstChange()?!0:!Object.is(b,a.currentValue)},lka=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)})},mka=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===
Qh?b=e:Object.getPrototypeOf(e.constructor)===Rh?c=e:d=e});return d?d:c?c:b?b:null},nka=function(a){return(Sh(a)?a.validators:a)||null},Sh=function(a){return null!=a&&!Array.isArray(a)&&"object"===typeof a},oka=function(a,b){a._forEachChild(function(c,d){if(void 0===b[d])throw new $c(1002,"");})},pka=function(a){return"object"===typeof a&&null!==a&&2===Object.keys(a).length&&"value"in a&&"disabled"in a},rka=function(){if(Th)return Th;if("object"!==typeof document||!document)return Th=new Set(qka);
var a=document.createElement("input");return Th=new Set(qka.filter(function(b){a.setAttribute("type",b);return a.type===b}))},ska=function(){if(null==Uh&&"undefined"!==typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return Uh=!0}}))}finally{Uh=Uh||!1}return Uh},Vh=function(a){return ska()?a:!!a.capture},tka=function(){if(null==Wh){if("object"!==typeof document||!document||"function"!==typeof Element||!Element)return Wh=!1;if("scrollBehavior"in
document.documentElement.style)Wh=!0;else{var a=Element.prototype.scrollTo;Wh=a?!/\{\s*\[native code\]\s*\}/.test(a.toString()):!1}}return Wh},uka=function(){if("object"!==typeof document||!document)return 0;if(null==Xh){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);Xh=
0;0===a.scrollLeft&&(a.scrollLeft=1,Xh=0===a.scrollLeft?1:2);a.remove()}return Xh},Yh=function(a){if(null==vka){var b="undefined"!==typeof document?document.head:null;vka=!(!b||!b.createShadowRoot&&!b.attachShadow)}return vka&&(a=a.getRootNode?a.getRootNode():null,"undefined"!==typeof ShadowRoot&&ShadowRoot&&a instanceof ShadowRoot)?a:null},Zh=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},$h=function(a){return a.composedPath?a.composedPath()[0]:a.target},wka=function(){return"undefined"!==typeof __karma__&&!!__karma__||"undefined"!==typeof jasmine&&!!jasmine||"undefined"!==typeof jest&&!!jest||"undefined"!==typeof Mocha&&!!Mocha},xka=function(a){if(!a.hasAttribute("tabindex")||void 0===a.tabIndex)return!1;a=a.getAttribute("tabindex");return!(!a||isNaN(parseInt(a,10)))},yka=function(a){if(!xka(a))return null;a=parseInt(a.getAttribute("tabindex")||"",10);return isNaN(a)?
-1:a},ai=function(a){return Array.isArray(a)?a:[a]},bi=function(a){return null!=a&&"false"!==""+a},ci=function(a){return null==a?"":"string"===typeof a?a:a+"px"},di=function(a){return a instanceof ke?a.nativeElement:a},ei=function(a,b){return isNaN(parseFloat(a))||isNaN(Number(a))?void 0===b?0:b:Number(a)},zka=function(a){var b=void 0===b?/\s+/:b;var c=[];if(null!=a)for(a=Array.isArray(a)?a:(""+a).split(b),a=m(a),b=a.next();!b.done;b=a.next())(b=(""+b.value).trim())&&c.push(b);return c},fi=function(a){return 0===
a.buttons||0===a.offsetX&&0===a.offsetY},gi=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)},hi=function(a){var b=yd.apply(1,arguments);return b.length?b.some(function(c){return a[c]}):a.altKey||a.shiftKey||a.ctrlKey||a.metaKey},Bka=function(a,b){return b.map(function(c){return c.replace(Aka,a)})},Cka=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=m(e);e=c.next().value;c=c.next().value;d=b.get(e)||[];d.push(c);b.set(e,d)});return b},Fka=function(a){return encodeURIComponent(a).replace(Dka,function(b,c){var d;return null!=(d=Eka[c])?d:b})},Gka=function(a){return""+a},Hka=function(a){return"undefined"!==typeof ArrayBuffer&&a instanceof ArrayBuffer},Ika=function(a){return"undefined"!==typeof Blob&&
a instanceof Blob},Jka=function(a){return"undefined"!==typeof FormData&&a instanceof FormData},Kka=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}},Lka=function(a,b){return b(a)},Mka=function(a,b){return function(c,d){return b.intercept(c,{handle:function(e){return a(e,d)}})}},Nka=function(a,b,c){return function(d,e){return c.runInContext(function(){return b(d,
function(f){return a(f,e)})})}},Oka=function(){var a=setTimeout(function(){},2147483647);return function(){return clearTimeout(a)}},Ska=function(a,b){var c=a.url.toLowerCase();if(!hd(Pka)||"GET"===a.method||"HEAD"===a.method||c.startsWith("http://")||c.startsWith("https://"))return b(a);c=hd(Qka).getToken();var d=hd(Rka);null==c||a.headers.has(d)||(a=a.clone({headers:a.headers.set(d,c)}));return b(a)},ji=function(a){var b=void 0===b?{}:b;a=a.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,
"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;");b.preserveSpaces&&(a=a.replace(/(^|[\r\n\t ]) /g,"$1&#160;"));b.preserveNewlines&&(a=a.replace(/(\r\n|\n|\r)/g,"<br>"));b.preserveTabs&&(a=a.replace(/(\t+)/g,'<span style="white-space:pre">$1</span>'));return ii(a)},Tka=function(a){if("script"===a.tagName.toLowerCase())throw Error("Z");if("style"===a.tagName.toLowerCase())throw Error("Z");},Vka=function(a){if(a instanceof vc)a=wc(a);else{b:if(Uka){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},li=function(a){var b=yd.apply(1,arguments);if(0===b.length)return ki(a[0]);for(var c=[a[0]],d=0;d<b.length;d++)c.push(encodeURIComponent(b[d])),c.push(a[d+1]);return ki(c.join(""))},mi=function(a){return new Wka(function(b){return b.substr(0,a.length+1).toLowerCase()===a+":"})},oi=function(a){var b=void 0===b?Xka:b;a:{b=void 0===b?
Xka:b;for(var c=0;c<b.length;++c){var d=b[c];if(d instanceof Wka&&d.isValid(a)){a=ni(a);break a}}a=void 0}return a||zc},$ka=function(a,b){var c=[];"string"==typeof a?a.split(/\s*,\s*/).forEach(function(d){a:{if(":"==d[0]&&(d=Yka(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 $c(3015,!1)),d=c;else{d=e[1];var f=e[2];e=e[3];c.push(Zka(d,e));"<"!=f[0]||"*"==d&&"*"==e||c.push(Zka(e,d));d=void 0}}return d}):
c.push(a);return c},Yka=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 $c(3016,!1)),"* => *"}},Zka=function(a,b){var c=pi.has(a)||qi.has(a),d=pi.has(b)||qi.has(b);return function(e,f){var h="*"==a||a==e,l="*"==b||b==f;!h&&c&&"boolean"===typeof e&&(h=e?pi.has(a):qi.has(a));!l&&d&&"boolean"===
typeof f&&(l=f?pi.has(b):qi.has(b));return h&&l}},ri=function(a,b){return{type:7,name:a,definitions:b,options:{}}},si=function(a,b){return{type:4,styles:void 0===b?null:b,timings:a}},ti=function(a){return{type:6,styles:a,offset:null}},ui=function(a,b){return{type:0,name:a,styles:b,options:void 0}},vi=function(a,b,c){return{type:1,expr:a,animation:b,options:void 0===c?null:c}},wi=function(){return{type:9,options:null}},xi=function(a,b){var c={optional:!0};return{type:11,selector:a,animation:b,options:void 0===
c?null:c}},zi=function(a){switch(a.length){case 0:return new yi;case 1:return a[0];default:return new ala(a)}},cla=function(a,b,c){b=void 0===b?new Map:b;c=void 0===c?new Map:c;var d=[],e=[],f=-1,h=null;a.forEach(function(l){var q=l.get("offset"),u=q==f,x=u&&h||new Map;l.forEach(function(y,G){var L=G;if("offset"!==G)switch(L=Ai(L),y){case "!":y=b.get(G);break;case "*":y=c.get(G);break;default:y=bla(L,y,d)}x.set(L,y)});u||e.push(x);h=x;f=q});if(d.length)throw new $c(3502,!1);return e},ela=function(a,
b,c,d){switch(b){case "start":a.onStart(function(){return d(c&&dla(c,"start",a))});break;case "done":a.onDone(function(){return d(c&&dla(c,"done",a))});break;case "destroy":a.onDestroy(function(){return d(c&&dla(c,"destroy",a))})}},dla=function(a,b,c){var d=c.totalTime;b=fla(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},fla=function(a,b,c,d,e,f,h){return{element:a,triggerName:b,fromState:c,toState:d,
phaseName:void 0===e?"":e,totalTime:void 0===f?0:f,disabled:!!h}},Bi=function(a,b,c){var d=a.get(b);d||a.set(b,d=c);return d},gla=function(a){var b=a.indexOf(":"),c=a.substring(1,b);a=a.slice(b+1);return[c,a]},ila=function(a){a=a.parentNode||a.host||null;return a===hla?null:a},jla=function(a,b){for(;b;){if(b===a)return!0;b=ila(b)}return!1},kla=function(a,b,c){return c?Array.from(a.querySelectorAll(b)):(a=a.querySelector(b))?[a]:[]},Ci=function(a){if("number"==typeof a)return a;a=a.match(/^(-?[\.\d]+)(m?s)/);
return!a||2>a.length?0:lla(parseFloat(a[1]),a[2])},lla=function(a,b){switch(b){case "s":return 1E3*a;default:return a}},Di=function(a,b,c){if(a.hasOwnProperty("duration"))b=a;else a:{var d=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,e=0,f="";if("string"===typeof a){d=a.match(d);if(null===d){b.push(new $c(3E3,!1));b={duration:0,delay:0,easing:""};break a}a=lla(parseFloat(d[1]),d[2]);var h=d[3];null!=h&&(e=lla(parseFloat(h),d[4]));(d=d[5])&&(f=d)}c||(c=!1,d=b.length,0>
a&&(b.push(new $c(3100,!1)),c=!0),0>e&&(b.push(new $c(3101,!1)),c=!0),c&&b.splice(d,0,new $c(3E3,!1)));b={duration:a,delay:e,easing:f}}return b},Ei=function(a){var b=void 0===b?{}:b;Object.keys(a).forEach(function(c){b[c]=a[c]});return b},mla=function(a){var b=new Map;Object.keys(a).forEach(function(c){b.set(c,a[c])});return b},nla=function(a){return a.length?a[0]instanceof Map?a:a.map(function(b){return mla(b)}):[]},Fi=function(a,b,c){b=void 0===b?new Map:b;if(c){c=m(c);for(var d=c.next();!d.done;d=
c.next()){var e=m(d.value);d=e.next().value;e=e.next().value;b.set(d,e)}}a=m(a);for(c=a.next();!c.done;c=a.next())d=m(c.value),c=d.next().value,d=d.next().value,b.set(c,d);return b},Gi=function(a,b,c){b.forEach(function(d,e){var f=Ai(e);c&&!c.has(e)&&c.set(e,a.style[f]);a.style[f]=d})},Hi=function(a,b){b.forEach(function(c,d){d=Ai(d);a.style[d]=""})},Ii=function(a){return Array.isArray(a)?1==a.length?a[0]:{type:2,steps:a,options:null}:a},pla=function(a,b,c){var d=b.params||{};a=ola(a);a.length&&a.forEach(function(e){d.hasOwnProperty(e)||
c.push(new $c(3001,!1))})},ola=function(a){var b=[];if("string"===typeof a){for(var c;c=qla.exec(a);)b.push(c[1]);qla.lastIndex=0}return b},Ji=function(a,b,c){var d=a.toString(),e=d.replace(qla,function(f,h){h=b[h];null==h&&(c.push(new $c(3003,!1)),h="");return h.toString()});return e==d?a:e},Ki=function(a){for(var b=[],c=a.next();!c.done;)b.push(c.value),c=a.next();return b},Ai=function(a){return a.replace(rla,function(){return yd.apply(0,arguments)[1].toUpperCase()})},sla=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 f=1;f<b.length;c={$jscomp$loop$prop$kf$2216:c.$jscomp$loop$prop$kf$2216},f++)c.$jscomp$loop$prop$kf$2216=b[f],e.forEach(function(h){return function(l){var q=h.$jscomp$loop$prop$kf$2216,u=q.set;var x=window.getComputedStyle(a)[l];return u.call(q,l,x)}}(c))}}return b},Li=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 $c(3004,!1);}},ula=function(a){var b=a.split(/\s*,\s*/).find(function(c){return":self"==c})?!0:!1;b&&(a=a.replace(tla,""));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]},vla=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},wla=function(a,b){if(a.hasOwnProperty("duration"))return a;if("number"==typeof a)return{duration:Di(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=Di(a,b);return{duration:a.duration,delay:a.delay,easing:a.easing}},Mi=function(a){if(a){if(a=Ei(a),a.params){var b=a;var c=(c=a.params)?Ei(c):null;b.params=c}}else a={};return a},xla=function(a,b,c,d,e,f,h,l){return{type:1,element:a,keyframes:b,preStyleProps:c,postStyleProps:d,duration:e,delay:f,totalTime:e+f,easing:void 0===
h?null:h,subTimeline:void 0===l?!1:l}},zla=function(a,b,c,d,e,f,h,l,q,u){f=void 0===f?new Map:f;h=void 0===h?new Map:h;u=void 0===u?[]:u;return(new yla).buildKeyframes(a,b,c,d,e,f,h,l,q,u)},Ala=function(a){var b=Math.pow(10,2);return Math.round(a*b)/b},Bla=function(a,b){var c=new Map,d;a.forEach(function(e){if("*"===e){d=d||b.keys();e=m(d);for(var f=e.next();!f.done;f=e.next())c.set(f.value,"*")}else Fi(e,c)});return c},Cla=function(a,b,c,d,e,f,h,l,q,u,x,y,G){return{type:0,element:a,triggerName:b,
isRemovalTransition:e,fromState:c,fromStyles:f,toState:d,toStyles:h,timelines:l,queriedElements:q,preStyleProps:u,postStyleProps:x,totalTime:y,errors:G}},Dla=function(a,b,c,d,e){return a.some(function(f){return f(b,c,d,e)})},Ela=function(a,b){b=Ei(b);for(var c in a)a.hasOwnProperty(c)&&null!=a[c]&&(b[c]=a[c]);return b},Fla=function(a,b){return new Ni(a,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(){return!0}],options:null,queryCount:0,depCount:0},b)},Gla=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))},Oi=function(a){return a&&1===a.nodeType},Hla=function(a,b){var c=a.style.display;a.style.display=null!=b?b:"none";return c},Jla=function(a,b,c,d,e){var f=[];c.forEach(function(q){return f.push(Hla(q))});var h=[];d.forEach(function(q,u){var x=new Map;q.forEach(function(y){var G=b.computeStyle(u,y,e);x.set(y,G);G&&0!=G.length||(u.__ng_removed=Ila,h.push(u))});a.set(u,x)});var l=0;c.forEach(function(q){return Hla(q,f[l++])});return h},Kla=function(a,
b){function c(h){if(!h)return 1;var l=f.get(h);if(l)return l;var q=h.parentNode;d.has(q)?l=q:e.has(q)?l=1:l=c(q);f.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),f=new Map;b.forEach(function(h){var l=c(h);1!==l&&d.get(l).push(h)});return d},Pi=function(a,b){var c;null==(c=a.classList)||c.add(b)},Qi=function(a,b){var c;null==(c=a.classList)||c.remove(b)},Lla=function(a,b,c){zi(c).onDone(function(){return Si(a,b)})},Nla=function(a){var b=
[];Mla(a,b);return b},Mla=function(a,b){for(var c=0;c<a.length;c++){var d=a[c];d instanceof ala?Mla(d.players,b):b.push(d)}},Ola=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},Pla=function(a,b,c){var d=c.get(a);if(!d)return!1;var e=b.get(a);e?d.forEach(function(f){return e.add(f)}):b.set(a,d);c.delete(a);return!0},Rla=function(a,b){var c=null,d=null;Array.isArray(b)&&b.length?
(c=Qla(b[0]),1<b.length&&(d=Qla(b[b.length-1]))):b instanceof Map&&(c=Qla(b));return c||d?new Ti(a,c,d):null},Qla=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},Sla=function(a){switch(a){case "body":return document.body;case "document":return document;case "window":return window;default:return a}},Tla=function(a){var b=a.indexOf("."),c=a.substring(0,b);a=a.slice(b+1);return[c,a]},Ula=function(a){return{matches:"all"===a||""===a,
media:a,addListener:function(){},removeListener:function(){}}},Vla=function(a){return a.map(function(b){return b.split(",")}).reduce(function(b,c){return b.concat(c)}).map(function(b){return b.trim()})},Wla=function(){return null},Xla=function(a,b){var c=Ui(a);c.some(function(d){return d.trim()==b.trim()})||(c.push(b.trim()),a.setAttribute("aria-describedby",c.join(" ")))},Yla=function(a,b){var c=Ui(a).filter(function(d){return d!=b.trim()});c.length?a.setAttribute("aria-describedby",c.join(" ")):
a.removeAttribute("aria-describedby")},Ui=function(a){return(a.getAttribute("aria-describedby")||"").match(/\S+/g)||[]},Zla=function(a,b){return"string"===typeof a?(b||"")+"/"+a:a},ama=function(a,b){a.id||(a.id="cdk-describedby-message-"+b+"-"+$la++)},bma=function(){return hd(Vi)},cma=function(a,b){return b.some(function(c){var d=a.top>c.bottom,e=a.right<c.left,f=a.left>c.right;return a.bottom<c.top||d||e||f})},dma=function(a,b){return b.some(function(c){var d=a.bottom>c.bottom,e=a.left<c.left,f=
a.right>c.right;return a.top<c.top||d||e||f})},ema=function(a){return a&&"function"===typeof a.connect&&!(a instanceof C.ConnectableObservable)},Wi=function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])},gma=function(a){if("number"!==typeof a&&null!=a){var b=m(a.split(fma));a=b.next().value;return(b=b.next().value)&&"px"!==b?null:parseFloat(a)}return a||null},hma=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)}},Yi=function(a,b){var c=function(){var d=a.apply(this,[].concat(r(yd.apply(0,arguments))))||this;d.defaultColor=b;d.color=b;return d};W(c,a);Xi.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},
Zi=function(a){var b=function(){var c=a.apply(this,[].concat(r(yd.apply(0,arguments))))||this;c._disableRipple=!1;return c};W(b,a);Xi.Object.defineProperties(b.prototype,{disableRipple:{configurable:!0,enumerable:!0,get:function(){return this._disableRipple},set:function(c){this._disableRipple=bi(c)}}});return b},$i=function(a){var b=function(){var c=a.apply(this,[].concat(r(yd.apply(0,arguments))))||this;c._disabled=!1;return c};W(b,a);Xi.Object.defineProperties(b.prototype,{disabled:{configurable:!0,
enumerable:!0,get:function(){return this._disabled},set:function(c){this._disabled=bi(c)}}});return b},ima=function(a){var b=function(){var c=a.apply(this,[].concat(r(yd.apply(0,arguments))))||this;c.errorState=!1;return c};W(b,a);b.prototype.updateErrorState=function(){var c=this.ngControl?this.ngControl.control:null;var d=this._parentFormGroup||this._parentForm;c=!!(c&&c.invalid&&(c.touched||d&&d.submitted));c!==this.errorState&&(this.errorState=c,this.stateChanges.next())};return b},jma=function(a){var b=
function(){var c=a.apply(this,[].concat(r(yd.apply(0,arguments))))||this;c._isInitialized=!1;c._pendingSubscribers=[];c.initialized=new C.Observable(function(d){c._isInitialized?c._notifySubscriber(d):c._pendingSubscribers.push(d)});return c};W(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},aj=function(a){var b=void 0===
b?0:b;var c=function(){var d=a.apply(this,[].concat(r(yd.apply(0,arguments))))||this;d._tabIndex=b;d.defaultTabIndex=b;return d};W(c,a);Xi.Object.defineProperties(c.prototype,{tabIndex:{configurable:!0,enumerable:!0,get:function(){return this.disabled?-1:this._tabIndex},set:function(d){this._tabIndex=null!=d?ei(d):this.defaultTabIndex}}});return c},kma=function(){return hd(bj)},lma=function(a,b){var c=void 0===c?"mat":c;a.changes.pipe(bg(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)})},mma=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)},nma=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},oma=function(a,b,c,d){return a<c?a:a+b>c+d?Math.max(0,a-d+b):c},pma=function(a){a&1&&(E(0,"tr",3)(1,"td",4),Q(2),F()());a&2&&(a=N(),z(1),Eg("padding-top",a._cellPadding)("padding-bottom",a._cellPadding),ug("colspan",a.numCols),z(1),R(" ",a.label," "))},qma=function(a){a&1&&(E(0,"td",4),Q(1),F());a&2&&(a=N(2),Eg("padding-top",a._cellPadding)("padding-bottom",a._cellPadding),ug("colspan",a._firstRowOffset),z(1),R(" ",a._firstRowOffset>=a.labelMinRequiredCells?a.label:"",
" "))},rma=function(a,b){if(a&1){var c=t();E(0,"td",8)(1,"button",9);K("click",function(f){var h=v(c).$implicit,l=N(2);return w(l._cellClicked(h,f))})("focus",function(f){var h=v(c).$implicit,l=N(2);return w(l._emitActiveDateChange(h,f))});E(2,"span",10);Q(3);F();H(4,"span",11);F()()}if(a&2){a=b.$implicit;b=b.index;var d=N().index,e=N();Eg("width",e._cellWidth)("padding-top",e._cellPadding)("padding-bottom",e._cellPadding);ug("data-mat-row",d)("data-mat-col",b);z(1);Fg("mat-calendar-body-disabled",
!a.enabled)("mat-calendar-body-active",e._isActiveCell(d,b))("mat-calendar-body-range-start",e._isRangeStart(a.compareValue))("mat-calendar-body-range-end",e._isRangeEnd(a.compareValue))("mat-calendar-body-in-range",e._isInRange(a.compareValue))("mat-calendar-body-comparison-bridge-start",e._isComparisonBridgeStart(a.compareValue,d,b))("mat-calendar-body-comparison-bridge-end",e._isComparisonBridgeEnd(a.compareValue,d,b))("mat-calendar-body-comparison-start",e._isComparisonStart(a.compareValue))("mat-calendar-body-comparison-end",
e._isComparisonEnd(a.compareValue))("mat-calendar-body-in-comparison-range",e._isInComparisonRange(a.compareValue))("mat-calendar-body-preview-start",e._isPreviewStart(a.compareValue))("mat-calendar-body-preview-end",e._isPreviewEnd(a.compareValue))("mat-calendar-body-in-preview",e._isInPreview(a.compareValue));D("ngClass",a.cssClasses)("tabindex",e._isActiveCell(d,b)?0:-1);ug("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);Fg("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);R(" ",a.displayValue," ")}},sma=function(a,b){a&1&&(E(0,"tr",5),P(1,qma,2,6,"td",6),P(2,rma,5,48,"td",7),F());if(a&2){a=b.$implicit;b=b.index;var c=N();z(1);D("ngIf",0===b&&c._firstRowOffset);
z(1);D("ngForOf",a)}},tma=function(a){return"TD"===(null==a?void 0:a.nodeName)},uma=function(a){if(tma(a))var b=a;else if(tma(a.parentNode))b=a.parentNode;else{var c;tma(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},vma=function(a,b,c){return null!==c&&b!==c&&a<c&&a===b},wma=function(a,b,c){return null!==b&&b!==c&&a>=b&&a===c},xma=function(a,b,c,d){return d&&null!==b&&null!==c&&b!==c&&a>=b&&a<=
c},yma=function(a){a=a.changedTouches[0];return document.elementFromPoint(a.clientX,a.clientY)},zma=function(a,b){a&1&&(E(0,"th",5)(1,"span",6),Q(2),F(),E(3,"span",7),Q(4),F()());a&2&&(a=b.$implicit,z(2),Sg(a.long),z(2),Sg(a.narrow))},Bma=function(a,b,c,d,e){b=a.getYear(b);c=a.getYear(c);a=Ama(a,d,e);return Math.floor((b-a)/24)===Math.floor((c-a)/24)},cj=function(a,b,c,d){return((a.getYear(b)-Ama(a,c,d))%24+24)%24},Ama=function(a,b,c){var d=0;c?d=a.getYear(c)-24+1:b&&(d=a.getYear(b));return d},Cma=
function(){},Dma=function(a){if(a&1){var b=t();E(0,"mat-month-view",5);K("activeDateChange",function(c){v(b);var d=N();return w(d.activeDate=c)})("_userSelection",function(c){v(b);var d=N();return w(d._dateSelected(c))})("dragStarted",function(c){v(b);var d=N();return w(d._dragStarted(c))})("dragEnded",function(c){v(b);var d=N();return w(d._dragEnded(c))});F()}a&2&&(a=N(),D("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))},Ema=function(a){if(a&1){var b=t();E(0,"mat-year-view",6);K("activeDateChange",function(c){v(b);var d=N();return w(d.activeDate=c)})("monthSelected",function(c){v(b);var d=N();return w(d._monthSelectedInYearView(c))})("selectedChange",function(c){v(b);var d=N();return w(d._goToDateInView(c,
"month"))});F()}a&2&&(a=N(),D("activeDate",a.activeDate)("selected",a.selected)("dateFilter",a.dateFilter)("maxDate",a.maxDate)("minDate",a.minDate)("dateClass",a.dateClass))},Fma=function(a){if(a&1){var b=t();E(0,"mat-multi-year-view",7);K("activeDateChange",function(c){v(b);var d=N();return w(d.activeDate=c)})("yearSelected",function(c){v(b);var d=N();return w(d._yearSelectedInMultiYearView(c))})("selectedChange",function(c){v(b);var d=N();return w(d._goToDateInView(c,"year"))});F()}a&2&&(a=N(),
D("activeDate",a.activeDate)("selected",a.selected)("dateFilter",a.dateFilter)("maxDate",a.maxDate)("minDate",a.minDate)("dateClass",a.dateClass))},Gma=function(a){a&1&&H(0,"mat-pseudo-checkbox",5);a&2&&(a=N(),D("state",a.selected?"checked":"unchecked")("disabled",a.disabled))},Hma=function(a){a&1&&(E(0,"span",6),Q(1),F());a&2&&(a=N(),z(1),R("(",a.group.label,")"))},Ima=function(){},Jma=function(a,b){for(var c=a.length;c--;)b(a[c])},Kma=function(){},Lma=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},Mma=function(a){a&1&&(I(0),E(1,"div",14),H(2,"div",15)(3,"div",16)(4,"div",17),F(),E(5,"div",18),H(6,"div",15)(7,"div",16)(8,"div",17),F(),J())},Nma=function(a){if(a&1){var b=t();E(0,"div",19);K("cdkObserveContent",function(){v(b);var c=N();return w(dj(c))});Og(1,1);F()}a&2&&(a=N(),D("cdkObserveContentDisabled","outline"!=a.appearance))},Oma=function(a){a&1&&(I(0),Og(1,2),E(2,"span"),
Q(3),F(),J());a&2&&(a=N(2),z(3),Sg(a._control.placeholder))},Pma=function(a){a&1&&Og(0,3,["*ngSwitchCase","true"])},Qma=function(a){a&1&&(E(0,"span",23),Q(1," *"),F())},Rma=function(a){if(a&1){var b=t();E(0,"label",20,21);K("cdkObserveContent",function(){v(b);var c=N();return w(dj(c))});P(2,Oma,4,1,"ng-container",12);P(3,Pma,1,0,"ng-content",12);P(4,Qma,2,0,"span",22);F()}a&2&&(a=N(),Fg("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),D("cdkObserveContentDisabled","outline"!=a.appearance)("id",a._labelId)("ngSwitch",a._hasLabel()),ug("for",a._control.id)("aria-owns",a._control.id),z(2),D("ngSwitchCase",!1),z(1),D("ngSwitchCase",!0),z(1),D("ngIf",!a.hideRequiredMarker&&a._control.required&&!a._control.disabled))},Sma=function(a){a&1&&(E(0,"div",24),Og(1,4),F())},Tma=function(a){a&1&&(E(0,"div",25),H(1,"span",26),F());a&2&&(a=N(),z(1),Fg("mat-accent","accent"==a.color)("mat-warn","warn"==
a.color))},Uma=function(a){a&1&&(E(0,"div"),Og(1,5),F());a&2&&(a=N(),D("@transitionMessages",a._subscriptAnimationState))},Vma=function(a){a&1&&(E(0,"div",30),Q(1),F());a&2&&(a=N(2),D("id",a._hintLabelId),z(1),Sg(a.hintLabel))},Wma=function(a){a&1&&(E(0,"div",27),P(1,Vma,2,2,"div",28),Og(2,6),H(3,"div",29),Og(4,7),F());a&2&&(a=N(),D("@transitionMessages",a._subscriptAnimationState),z(1),D("ngIf",a.hintLabel))},Xma=function(){if(void 0===ej&&(ej=null,"undefined"!==typeof window)){var a=window;void 0!==
a.trustedTypes&&(ej=a.trustedTypes.createPolicy("angular#components",{createHTML:function(b){return b}}))}return ej},Yma=function(a){var b;return(null==(b=Xma())?void 0:b.createHTML(a))||a},Zma=function(){var a=hd(Vi),b=a?a.location:null;return{getPathname:function(){return b?b.pathname+b.search:""}}},$ma=function(a){a&1&&(E(0,"mat-icon",9),Q(1),F());a&2&&(a=N(2),z(1),Sg(a.actionBtnIcon))},ana=function(a){if(a&1){var b=t();E(0,"button",6);K("click",function(){v(b);var c=N();return w(c.action.emit())});
E(1,"span",7);Q(2);P(3,$ma,2,1,"mat-icon",8);F()()}a&2&&(a=N(),z(2),R(" ",a.actionBtnText," "),z(1),D("ngIf",a.actionBtnIcon))},bna=function(a){if(a&1){var b=t();E(0,"onedev-feature-tooltip-body",1);K("action",function(){v(b);var c=N();return w(c.action.emit())})("dismiss",function(){v(b);var c=N();c.hideFeatureTooltip();c.dismiss.emit();return w()});Og(1);F()}a&2&&(a=N(),D("actionBtnText",a.actionBtnText)("actionBtnIcon",a.actionBtnIcon)("color",a.color)("pointerPosition",a.pointerPosition)("widthOffset",
a.widthOffset))},fj=function(a){a&&"function"==typeof a.dispose&&a.dispose()},cna=function(a){for(var b=0,c=arguments.length;b<c;++b){var d=arguments[b];Pa(d)?cna.apply(null,d):fj(d)}},dna=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;x=u=0}function b(y){for(var G=h,L=0;64>L;L+=4)G[L/4]=y[L]<<24|y[L+1]<<16|y[L+2]<<8|y[L+3];for(L=16;80>L;L++)y=G[L-3]^G[L-8]^G[L-14]^G[L-16],G[L]=(y<<1|y>>>31)&4294967295;y=e[0];var M=e[1],T=e[2],S=e[3],X=e[4];
for(L=0;80>L;L++){if(40>L)if(20>L){var aa=S^M&(T^S);var na=1518500249}else aa=M^T^S,na=1859775393;else 60>L?(aa=M&T|S&(M|T),na=2400959708):(aa=M^T^S,na=3395469782);aa=((y<<5|y>>>27)&4294967295)+aa+X+na+G[L]&4294967295;X=S;S=T;T=(M<<30|M>>>2)&4294967295;M=y;y=aa}e[0]=e[0]+y&4294967295;e[1]=e[1]+M&4294967295;e[2]=e[2]+T&4294967295;e[3]=e[3]+S&4294967295;e[4]=e[4]+X&4294967295}function c(y,G){if("string"===typeof y){y=unescape(encodeURIComponent(y));for(var L=[],M=0,T=y.length;M<T;++M)L.push(y.charCodeAt(M));
y=L}G||(G=y.length);L=0;if(0==u)for(;L+64<G;)b(y.slice(L,L+64)),L+=64,x+=64;for(;L<G;)if(f[u++]=y[L++],x++,64==u)for(u=0,b(f);L+64<G;)b(y.slice(L,L+64)),L+=64,x+=64}function d(){var y=[],G=8*x;56>u?c(l,56-u):c(l,64-(u-56));for(var L=63;56<=L;L--)f[L]=G&255,G>>>=8;b(f);for(L=G=0;5>L;L++)for(var M=24;0<=M;M-=8)y[G++]=e[L]>>M&255;return y}for(var e=[],f=[],h=[],l=[128],q=1;64>q;++q)l[q]=0;var u,x;a();return{reset:a,update:c,digest:d,digestString:function(){for(var y=d(),G="",L=0;L<y.length;L++)G+="0123456789ABCDEF".charAt(Math.floor(y[L]/
16))+"0123456789ABCDEF".charAt(y[L]%16);return G}}},ena=function(a,b,c){gj(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)},ij=function(a,b){hj.call(this);this.logSource_=a;this.sessionIndex_=b;this.destinationUrl_="https://play.google.com/log?format=json&hasfast=true";this.enableServiceWorkerScope_=!1;this.networkIOSend_=ena;this.componentId_="";this.enableSendBeaconApi_=this.useGetRequestForFinalFlush_=
this.useSendBeaconForFinalFlush_=!1;this.useConsistentTimezoneOffset=void 0},fna=function(a){a&1&&(Sd(),E(0,"svg",3),H(1,"polygon",4),F())},gna=function(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}},hna=function(a){a&1&&(Sd(),E(0,"svg",2),H(1,"polygon",3),F())},ina=function(a){if(a&1){var b=t();E(0,"div",0);K("keydown",function(c){v(b);var d=N();return w(d._handleKeydown(c))})("click",function(){v(b);var c=N();return w(c.closed.emit("click"))})("@transformMenu.start",
function(c){v(b);var d=N();return w(d._onAnimationStart(c))})("@transformMenu.done",function(c){v(b);var d=N();return w(d._onAnimationDone(c))});E(1,"div",1);Og(2);F()()}a&2&&(a=N(),D("id",a.panelId)("ngClass",a._classList)("@transformMenu",a._panelAnimationState),ug("aria-label",a.ariaLabel||null)("aria-labelledby",a.ariaLabelledby||null)("aria-describedby",a.ariaDescribedby||null))},jj=function(a,b){throw Error(void 0===b?"unexpected value "+a+"!":b);},kna=function(a){var b=kj(a,"Content-Type");
if(!b)return null;b=b.toLowerCase();if(b.startsWith("application/json"))return b.startsWith("application/json+protobuf")?new lj:new jna;if(b.startsWith("application/x-protobuf")){a=kj(a,"Content-Transfer-Encoding");if(!a)return new mj;if("base64"==a.toLowerCase())return new nj}return null},lna=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,u){(u=document.getElementById(u))&&
q.push(u);return q},[]);if(b.length)return b.map(function(q){return lna(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 f;if(null==(f=a.labels)?0:f.length)return Array.from(a.labels).map(function(q){return lna(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()},mna=function(){return{color:"accent"}},nna=function(a){return"nonprod"===a.environment?"https://autopushcorp-devopsconsole-pa-googleapis.corp.google.com":"https://devopsconsole-pa-googleapis.corp.google.com"},ona=function(a,b){a.src=oj(b).toString()},pj=function(a,b){a.src=oj(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)},pna=function(a,b,c){b=Vka(b);void 0!==b&&a.open(b,c,void 0)},qj=function(a){return null==console?!1:"function"===typeof console[a]},rj=function(){qj("debug")&&console.debug.apply(console,yd.apply(0,arguments))},qna=function(){qj("info")&&console.info.apply(console,yd.apply(0,arguments))},rna=function(){qj("log")&&console.log.apply(console,yd.apply(0,arguments))},sj=function(){qj("warn")&&console.warn.apply(console,yd.apply(0,arguments))},sna=function(){qj("error")&&console.error.apply(console,
yd.apply(0,arguments))},tna=function(a){if(null!=a){var b=a.getYear();if(null==b)sj("No year. dateToJs");else{var c=a.getDay();if(null==c)sj("No day. dateToJs");else if(a=a.getMonth(),null==a)sj("No month. dateToJs");else return{year:b,day:c,month:a}}}},una=function(a){var b=new tj;Nb(b,3,a.day,0);b.setMonth(a.month);b.setYear(a.year);return b},uj=function(a){if(null!=a){var b=a.getSeconds();a=a.getNanos();return{seconds:b,nanos:a}}},wj=function(a){var b=new vj;b.setSeconds(a.seconds);b.setNanos(a.nanos);
return b},vna=function(a){if(null!=a)return Number(a.toDate())},wna=function(a){var b;return{changelistNumbers:null!=(b=xj(a,1))?b:[]}},zna=function(a){return{changelists:yj(a,xna,1).map(yna),nextPageToken:a.getNextPageToken()}},yna=function(a){var b,c;return{author:a.getAuthor(),changelistNumber:zj(a,2),pending:a.getPending(),timestamp:uj(a.getTimestamp()),issueIds:null!=(b=a.getIssueIdsList())?b:[],fixedIssueIds:null!=(c=Aj(a,6))?c:[]}},Ana=function(a){var b;return{author:a.getAuthor(),description:a.getDescription(),
pending:a.getPending(),timestamp:a.getTimestamp(),affectedFiles:null!=(b=Bj(a,5))?b:[]}},Bna=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("$b");}},Dj=function(a){return new Cj(a.year,a.month-1,a.day)},Ej=function(a){return{month:a.getMonth()+1,day:a.getDate(),year:a.getFullYear()}},Cna=function(a){return!(!a||null==a.day||null==a.month||null==a.year)},Dna=function(a,
b){return a.size!==b.size?!1:[].concat(r(a)).every(function(c){return b.has(c)})},Ena=function(a){var b=new Set;a=m(a);for(var c=a.next();!c.done;c=a.next()){c=m(c.value);for(var d=c.next();!d.done;d=c.next())b.add(d.value)}return b},Fna=function(a,b){if(!Dna(a,b)){var c=[].concat(r(b)).filter(function(e){return!a.has(e)}),d=[].concat(r(a)).filter(function(e){return!b.has(e)});return{added:c,removed:d}}},Gna=function(a,b){var c=a.size>b.size?a:b;return new Set([].concat(r(a===c?b:a)).filter(function(d){return c.has(d)}))},
Hna=function(a,b){return a.size>=b.size&&[].concat(r(b)).every(function(c){return a.has(c)})},Fj=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(!Fj(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?Dna(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 f=c[e];if(!Ina.call(b,f)||!Fj(a[f],b[f]))return!1}return!0}return!1},Jna=function(a){var b=[];a=m(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;for(var d=!1,e=m(b),f=e.next();!f.done;f=e.next())if(Fj(c,f.value)){d=!0;break}d||b.push(c)}return b},Kna=function(a,b){for(var c=a.length-1;0<=c;c--)Fj(a[c],b)&&a.splice(c,
1)},Lna=function(a,b,c){c=void 0===c?Infinity:c;if(a===b)return!0;if((null==a||null==b)&&a!==b)return!1;var d=Object.keys(a),e=Object.keys(b);if(d.length!==e.length)return!1;c=Math.min(d.length,c);for(e=0;e<c;e++){var f=d[e];if(a[f]!==b[f]&&("object"!==typeof a[f]||"object"!==typeof b[f]))return!1}return!0},Nna=function(a){return Object.assign.apply(Object,[{}].concat(r(Mna.map(function(b){var c={};return c[b]=a[b],c}))))},Gj=function(a){if(null!==a&&void 0!==a&&-1===["boolean","function","number",
"string"].indexOf(typeof a))if(Array.isArray(a)){var b=[];a=m(a);for(var c=a.next();!c.done;c=a.next())b.push(Gj(c.value));a=b}else if(a instanceof Date)a=new Date(a.getTime());else if(a instanceof Map){b=new Map;a=m(a);for(c=a.next();!c.done;c=a.next()){var d=m(c.value);c=d.next().value;d=d.next().value;b.set(Gj(c),Gj(d))}a=b}else{b={};c=m(Object.entries(a));for(d=c.next();!d.done;d=c.next()){var e=m(d.value);d=e.next().value;e=e.next().value;b[d]=Gj(e)}Object.setPrototypeOf(b,Object.getPrototypeOf(a));
a=b}return a},Hj=function(a){return"number"===typeof a},Ij=function(a){return"string"===typeof a},Ona=function(a){return Hj(a)||Ij(a)},Jj=function(a){return Array.isArray(a)&&a.every(Ij)},Pna=function(a){return Array.isArray(a)&&a.every(Hj)},Qna=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},Kj=function(a){return a.toLowerCase().replace(/_([a-z])/g,function(b,c){return c.toUpperCase()})},Mj=function(a){if(a){if(Hj(a)){var b=
new Date(a);47E3<b.getFullYear()&&(b=new Date(a/1E3));return new Cj(b)}b=a.split("/");if(3===b.length)return a=Lj(b[2]),50>a?a+=2E3:100>a&&(a+=1900),new Cj(a,Lj(b[0])-1,Lj(b[1]));if(1===b.length)return Mj(Number(a))}return new Cj},Rna=function(a){return a.replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"")},Sna=function(a){return!(!a||!Nj(a,"text/")&&!Nj(a,"image/")&&"application/pdf"!==a)},Oj=function(a,b){return a.map(function(c){return c[b]})},Tna=function(a,b){return a.filter(function(c){return!b.has(c)})},
Una=function(a,b){for(var c=m(a),d=c.next();!d.done;d=c.next())if(!b.has(d.value))return!1;b=m(b);for(d=b.next();!d.done;d=b.next())if(!a.has(d.value))return!1;return!0},Pj=function(a,b){return Tna(a,new Set(b))},Rj=function(a,b){var c=/[,;]/;(void 0===b||b)&&(c=/[\s,;]/);return a.split(c).map(Qj).filter(function(d){return!!d})},Vna=function(a,b){a=new URL(a);return a.host+a.pathname+b},Wna=function(a){return a?Ej(Mj(a)):null},Xna=function(a){return a?(a=Sj(a),isNaN(a)?null:a):null},Zna=function(a){var b=
new Tj;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 Uj(a.typedDefaultValue));b.required=!!a.required;b.fieldSignificance=a.fieldSignificance||"MINOR";b.allowedValue=a.allowedValue||null;b.stateOnIssues=Yna[a.stateOnIssues]||1;var c=a.enabledOnIssues;b.enabledOnIssues=null==c?!0:c;b.shared=a.shared;return b},Vj=function(a){return void 0!==a.user},$na=function(a){switch(a){case "public_non_google":return"Public (non-google.com)";
case "googlers_unrestricted":return"Full-time Googlers";default:return Wj(a.replace(/_/g," ").toLowerCase())}},boa=function(a){if(a)return{accessLevel:aoa[a.getAccessLevel()]}},doa=function(a){a=coa[a.accessLevel];var b=new Xj;b.setAccessLevel(a);return b},eoa=function(a){if(!a)return!1;a=a.userGaiaStatus;return!a||"ACTIVE"===a||"UNSPECIFIED"===a},Zj=function(a){return a?a.map(Yj):[]},ak=function(a){a=Zj(a);a.sort();return a},Yj=function(a){return a&&a.getUserGaiaStatus?foa(bk(a)):foa(a)},foa=function(a){return a?
"DELETED"===a.userGaiaStatus?"[Deleted User]":"UNAVAILABLE"===a.userGaiaStatus?"[Unavailable User]":eoa(a)?goa(a)||"[No Data]":"[No Data]":""},ck=function(a){return a&&a.getUserGaiaStatus?goa(bk(a)):goa(a)},goa=function(a){if(a)return a.emailAddress||a.obfuscatedEmailAddress||""},bk=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=hoa[c];(c=a.getAliasesList())&&0<c.length&&
(b.aliases=c);return b}},dk=function(a){if(!a)return null;var b=[];a=m(a);for(var c=a.next();!c.done;c=a.next())(c=bk(c.value))&&b.push(c);return b},fk=function(a){var b=a.emailAddress,c=a.obfuscatedEmailAddress,d=a.aliases;a=a.userGaiaStatus;var e=new ek;b&&e.setEmailAddress(b);c&&e.setObfuscatedEmailAddress(c);d&&e.setAliasesList(d);a&&e.setUserGaiaStatus(ioa[a]);return e},gk=function(a){return a?{emailAddress:a.trim(),userGaiaStatus:"ACTIVE"}:null},hk=function(a){if(null!=a&&(a=String(a),""!==
a.trim()))return a=Number(a),isNaN(a)?void 0:a},ik=function(a){if(null!=a)return String(a)},jk=function(a){if(null!=a&&"0"!==a)return a},kk=function(a){return null==a?void 0:a},lk=function(a){return null==a?null:a},mk=function(a){return function(b){return null==b?a:b}},nk=function(a){return null!=a},joa=function(a){return{noAccessEmails:Bj(a,1),unknownEmails:Bj(a,2)}},koa=function(a){if(null!=a){var b={},c;if(c=a.getUser())b.user=bk(c);if(c=a.getGroup())b.group=bk(c);if(c=ok(a,3,pk))b.alias=c;return b}},
sk=function(a){var b=new qk;if(Vj(a))return b.setUser(fk(a.user)),b;if(void 0!==a.group)return b.setGroup(fk(a.group)),b;void 0!==a.alias&&rk(b,3,pk,a.alias);return b},moa=function(a){var b=loa[tk(a,10,0)],c,d,e,f,h,l,q,u,x,y;return{admins:uk(null!=(c=yj(a,qk,2))?c:[]),appenders:uk(null!=(d=a.getAppendersList())?d:[]),editors:uk(null!=(e=yj(a,qk,4))?e:[]),readers:uk(null!=(f=a.getReadersList())?f:[]),restrictedReaders:uk(null!=(h=yj(a,qk,11))?h:[]),restrictedPlusReaders:uk(null!=(l=yj(a,qk,12))?l:
[]),inheritedAdmins:uk(null!=(q=yj(a,qk,3))?q:[]),implicitAppenders:uk(null!=(u=yj(a,qk,7))?u:[]),implicitEditors:uk(null!=(x=yj(a,qk,5))?x:[]),implicitReaders:uk(null!=(y=yj(a,qk,9))?y:[]),implicitAccess:b}},uk=function(a){return a.map(koa).filter(nk)},vk=function(a){if(null==a)return"";var b=a.user,c=a.group,d=a.alias;if(null!=b){var e="USER";var f=b.emailAddress||b.obfuscatedEmailAddress||void 0}else null!=c?(e="GROUP",f=c.emailAddress||c.obfuscatedEmailAddress||void 0):null!=d&&(e="ALIAS",f=d);
return null==e||null==f?(sna("Invalid principal: ",a),""):e+":"+f},wk=function(a){return(null!=a?a:[]).map(vk)},noa=function(a){return(null!=a?a:[]).map(xk)},xk=function(a){var b=m(a.split(":"));a=b.next().value;b=b.next().value;if(!a||!b)throw Error("ac`"+b);switch(a){case "USER":return{user:{emailAddress:b}};case "GROUP":return{group:{emailAddress:b}};case "ALIAS":return{alias:b};default:throw Error("bc`"+b);}},yk=function(a){switch(a){case 2:return"PII";case 3:return"SPII";case 0:case 1:return"NONE_DETECTED";
default:return jj(a,"Unexpected pii severity")}},zk=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 jj(a,"Unexpected pii severity")}},Ak=function(a){return a&&a.piiVerdict?a.piiVerdict.severity:"NONE_DETECTED"},ooa=function(a){switch(a){case "NONE_DETECTED":return 1;case "PII":return 2;case "SPII":return 3;default:return 1}},poa=function(a){switch(a){case "PII":return"Restricted";case "SPII":return"Restricted+";
default:return""}},qoa=function(a){var b=Bk(a,1)?Ck(a,1):void 0,c=a.hasResourcePath()?a.getResourcePath():void 0,d=yk(a.getSeverity()),e=a.getJudgementReason();a=Dk(a,5);return{contentJudgementId:b,resourcePath:c,severity:d,judgementReason:e,contentJudge:a}},roa=function(a){var b=new Ek;b.setJudgementReason(a.judgementReason);b.setSeverity(zk(a.severity));return b},soa=function(a){return String(a)},Fk=function(a){var b=hk(a);if(null==b)throw Error("cc`"+a);return b},uoa=function(a){if(null!=a)return{customFieldId:kk(a.getCustomFieldId()),
standardField:toa[a.getStandardField()]}},woa=function(a){var b=new Gk;a.customFieldId?b.setCustomFieldId(a.customFieldId):a.standardField&&b.setStandardField(voa[a.standardField]);return b},yoa=function(a){if(a&&(a=xoa(a)))return Zna(a)},xoa=function(a){if(null!=a){var b=a.getName();if(null==b)sj("No name. customFieldToJs");else{var c=hk(a.getCustomFieldId());if(null==c)sj("No customFieldId. customFieldToJs");else{if(a.hasType())return{name:b,description:kk(a.getDescription()),required:kk(a.getRequired()),
enabledOnIssues:!!a.getEnabledOnIssues(),type:zoa[a.getType()],customFieldId:c,componentId:hk(a.getComponentId()),allowedValue:kk(Bj(a,8)),stateOnIssues:Aoa[a.getStateOnIssues()],fieldSignificance:Boa[a.getFieldSignificance()],typedDefaultValue:Coa(a.getTypedDefaultValue()),shared:!!a.getShared()};sj("No type. customFieldToJs")}}}},Coa=function(a){if(null!=a){var b=hk(a.getCustomFieldId());if(null==b)sj("No customFieldId. customFieldValueToJs");else{var c=kk(Bj(a,12));b={customFieldId:b,displayValues:c};
switch(Hk(a,Ik)){case 4:b.textValue=kk(a.getTextValue());break;case 5:b.dateValue=tna(a.getDateValue());break;case 6:b.enumValue=kk(a.getEnumValue());break;case 7:b.numericValue=kk(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 f,h;b.repeatedEnumValue={values:null!=(h=null==(f=a.getRepeatedEnumValue())?void 0:f.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 u,x,y,G;b.repeatedDateValue={values:null!=(G=null==(u=a.getRepeatedDateValue())?void 0:null==(x=u.getValuesList())?void 0:null==(y=x.map(tna))?void 0:y.filter(nk))?G:[]}}return b}}},Doa=function(a){var b=new Jk;a.customFieldId&&b.setCustomFieldId(String(a.customFieldId));a.displayValues&&Kk(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(una(a.dateValue));else if(void 0!==a.repeatedTextValue){var c=new Lk;c.setValuesList(a.repeatedTextValue.values);b.setRepeatedTextValue(c)}else void 0!==a.repeatedEnumValue?(c=new Lk,c.setValuesList(a.repeatedEnumValue.values),b.setRepeatedEnumValue(c)):void 0!==a.repeatedNumericValue?(c=new Mk,c.setValuesList(a.repeatedNumericValue.values),b.setRepeatedNumericValue(c)):void 0!==a.repeatedDateValue&&
(c=new Nk,c.setValuesList(a.repeatedDateValue.values.map(una)),b.setRepeatedDateValue(c));return b},Eoa=function(a){return yoa(Ok(a,Pk,1))},Qk=function(a){var b=new Pk;a.customFieldId&&b.setCustomFieldId(String(a.customFieldId));b.setComponentId(String(a.componentId));b.setType(Foa[a.type]);b.setRequired(a.required);b.setName(a.name);b.setDescription(a.description);a.typedDefaultValue&&b.setTypedDefaultValue(Doa(a.typedDefaultValue));a.allowedValue&&Kk(b,8,a.allowedValue);b.setFieldSignificance(Goa[a.fieldSignificance]);
b.setStateOnIssues(a.stateOnIssues);b.setEnabledOnIssues(a.enabledOnIssues);b.setShared(a.shared);return b},Loa=function(a){var b=new Rk;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&&Hoa(b,Ioa(new Sk,a.numericSpec.multiplier));if(a.enumSpec){var c;Joa(b,Koa(new Tk,(null!=(c=a.enumSpec.options)?c:[]).map(function(d){return(new Uk).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}Vk(b,6,a)}return b},Noa=function(a){if(a.hasPlainFormat()){var b;var c={plainSection:(null!=(b=a.getPlainFormat().getPlainSectionList())?b:[]).map(Moa)}}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}},Moa=function(a){return{isQuoted:a.getIsQuoted(),content:a.getContent()}},Ooa=function(a){return(new Wk).setIsQuoted(a.isQuoted).setContent(a.content)},
Qoa=function(a){return{retentionSelection:Poa[tk(a,1,0)],retentionPeriodDays:zj(a,2),piiRetentionSelection:Poa[tk(a,3,0)],piiRetentionPeriodDays:zj(a,4),spiiRetentionPeriodDays:zj(a,5)}},Soa=function(a){var b=new Xk;k(b,1,Roa[a.retentionSelection]);null!==a.retentionPeriodDays&&k(b,2,a.retentionPeriodDays);k(b,3,Roa[a.piiRetentionSelection]);null!==a.piiRetentionPeriodDays&&k(b,4,a.piiRetentionPeriodDays);null!==a.spiiRetentionPeriodDays&&k(b,5,a.spiiRetentionPeriodDays);return b},Yk=function(a){if(null!=
a){var b=lk(uj(a.getRetentionPeriod()));a=lk(uj(a.getScheduledDeletionTime()));return{retentionPeriod:b,scheduledDeletionTime:a}}},Uoa=function(a){if(null!=a){a:{a=Ok(a,Zk,1);if(null!=a){if(a.hasSeverity()){a={severity:Toa[a.getSeverity()]};break a}sj("No severity. piiVerdictToJs")}a=void 0}return{piiVerdict:a}}},Voa=function(a){return{startTime:uj(a.getStartTime()),endTime:uj(a.getEndTime()),targetTime:uj(a.getTargetTime())}},Woa=function(a){var b=new $k;a.startTime&&b.setStartTime(wj(a.startTime));
a.endTime&&b.setEndTime(wj(a.endTime));a.targetTime&&b.setTargetTime(wj(a.targetTime));return b},Yoa=function(a){var b=new al;b.setInherit(a.inherit);b.setSource(Xoa[a.source]);b.setId(a.id);b.setComment(a.comment);k(b,6,a.sourceComponentId);b.setSourceTeamId(a.sourceTeamId);return b},Zoa=function(a){var b;return 1===(null==(b=a.getTeamSloEditPolicy())?void 0:tk(b,2,0))},$oa=function(a){var b;return 1===(null==(b=Ok(a,bl,1))?void 0:b.getEffectiveSloEditPolicy())},el=function(a){var b=Ok(a,cl,2);a:{var c=
tk(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:jj(c)}c=void 0}var d=a.getTimeZone(),e=Ok(a,dl,6);if(null==b)throw Error("dc");if(null==c)throw Error("ec");if(null==d)throw Error("fc");if(null==e)throw Error("gc");var f=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:jj(l)}if(b=b.getAliasesList())h.aliases=b;a=zj(a,4);b={id:d.getId()};d.getVersion()&&(b.version=d.getVersion());return{id:f,lead:h,frequency:c,ordinal:a,timeZone:b,timeOfDay:{hours:e.getHours(),minutes:e.getMinutes(),seconds:e.getSeconds(),nanos:e.getNanos()}}},bpa=function(a){var b=(new fl).setId(a.id),c=a.lead,d=c.emailAddress,e=c.obfuscatedEmailAddress,f=c.aliases;c=c.userGaiaStatus;var h=
new cl;d&&h.setEmailAddress(d);e&&h.setObfuscatedEmailAddress(e);f&&h.setAliasesList(f);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:jj(c)}b=gl(b,cl,2,h).setFrequency(apa(a.frequency));b=Nb(b,4,a.ordinal,0);d=b.setTimeZone;e=a.timeZone;f=(new hl).setId(e.id);e.version&&f.setVersion(e.version);b=d.call(b,f);a=a.timeOfDay;a=(new dl).setHours(a.hours).setMinutes(a.minutes).setSeconds(a.seconds).setNanos(a.nanos);
return gl(b,dl,6,a)},jl=function(a){return{sloId:a.getSloId(),version:a.getVersion(),name:a.getName(),description:a.getDescription(),parentId:a.getParentId(),elements:yj(a,il,6),effectiveElements:yj(a,il,7),isArchived:a.getIsArchived(),alertState:tk(a,9,0)}},cpa=function(a){var b=(new kl).setSloId(a.sloId).setVersion(a.version).setName(a.name).setDescription(a.description).setParentId(a.parentId);b=ac(b,6,a.elements);b=ac(b,7,a.effectiveElements).setIsArchived(a.isArchived);return k(b,9,a.alertState)},
dpa=function(a){return{author:a.getAuthor(),timestamp:a.getTimestamp(),add:jl(a.getAdd()),remove:jl(a.getRemove()),addMask:a.getAddMask(),removeMask:a.getRemoveMask()}},apa=function(a){switch(a){case "daily":return 1;case "weekly":return 2;case "monthly":return 3;default:return jj(a)}},epa=function(a){if(null!=a)return{tag:a.getTag(),text:Dk(a,2)}},mpa=function(a){if(null!=a){var b,c,d,e,f,h,l,q=a.getTitle()||"",u=lk(a.getComment()),x=fpa(a.getFormattingMode()),y=lk(a.getVersion()),G=lk(a.getCreatedTimeMicros()),
L=!!a.getIsArchived(),M=!!a.getInProd(),T=lk(a.getIsDeleted()),S=lk(Bj(a,18)),X=lk(a.getPostmortemsList()),aa=lk(Bj(a,19)),na=lk(Bj(a,20)),ma=lk(Bj(a,21)),Ca=lk(hk(a.getComponentId())),Fa=null!=(h=jk(Ck(a,15)))?h:null;h=lk(null==(b=Aj(a,14))?void 0:b.map(hk).filter(nk));b=lk(null==(c=Aj(a,16))?void 0:c.map(jk).filter(nk));c=lk(null==(d=Aj(a,17))?void 0:d.map(jk).filter(nk));d=lk(null==(e=a.getHotlistIdList())?void 0:e.map(hk).filter(nk));e=lk(null==(f=Aj(a,30))?void 0:f.map(jk).filter(nk));f=null!=
(l=uj(a.getSloSnoozeUntil()))?l:null;l=lk(bk(Ok(a,ek,36)));var Ja=lk(bk(Ok(a,ek,37))),Ab=lk(bk(Ok(a,ek,38))),cb=lk(bk(Ok(a,ek,39))),Ma=lk(dk(yj(a,ek,40))),ha=lk(dk(yj(a,ek,51))),xa=yj(a,Jk,24).map(Coa).filter(nk),Da=ll[a.getRetention()],Wa=Boa[a.getSignificanceOverride()],Ra=gpa[a.getDeletionReason()],Ec=a.hasType()?hpa[a.getType()]:null,Va=a.hasPriority()?ipa[a.getPriority()]:null,kb=a.hasSeverity()?jpa[a.getSeverity()]:null,Qa=a.hasStatus()?ml[a.getStatus()]:null,tb=nl(a,52)?kpa[a.getSloSnoozeType()]:
null,Ya=nl(a,53)?lpa[a.getAccessLimitLevel()]:null;a.hasEffort()?(a=a.getEffort(),a={specId:ol(a,1),estimate:Dk(a,2),averageDays:pl(a,3),totalOpen:pl(a,4),totalComplete:pl(a,5)}):a=void 0;return{title:q,comment:u,formattingMode:x,version:y,createdTimeMicros:G,isArchived:L,inProd:M,isDeleted:T,changelist:S,postmortems:X,foundInVersion:aa,targetedToVersion:na,verifiedInVersion:ma,componentId:Ca,duplicateOfIssueId:Fa,attachmentId:h,blockedByIssueId:b,blockingIssueId:c,hotlistId:d,duplicateIssueId:e,
sloSnoozeUntil:f,authorUser:l,reporterUser:Ja,assigneeUser:Ab,verifierUser:cb,ccUsers:Ma,collaboratorsUsers:ha,customField:xa,retention:Da,significanceOverride:Wa,deletionReason:Ra,type:Ec,priority:Va,severity:kb,status:Qa,sloSnoozeType:tb,issueAccessLimitLevel:Ya,effort:a}}},upa=function(a){var b=new ql;if(a.authorUser){var c=fk(a.authorUser);gl(b,ek,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(npa[a.type]);a.status&&b.setStatus(rl[a.status]);a.priority&&b.setPriority(opa[a.priority]);a.severity&&b.setSeverity(ppa[a.severity]);void 0!==a.title&&b.setTitle(a.title);a.reporterUser&&(c=fk(a.reporterUser),gl(b,ek,37,c));a.assigneeUser&&(c=fk(a.assigneeUser),gl(b,ek,38,c));a.verifierUser&&(c=fk(a.verifierUser),gl(b,ek,39,c));a.ccUsers&&(c=a.ccUsers.map(fk),ac(b,40,c));a.collaboratorsUsers&&(c=a.collaboratorsUsers.map(fk),ac(b,51,c));a.attachmentId&&(c=a.attachmentId.map(soa),
sl(b,14,c));a.duplicateOfIssueId&&k(b,15,a.duplicateOfIssueId);a.blockedByIssueId&&sl(b,16,a.blockedByIssueId);a.blockingIssueId&&sl(b,17,a.blockingIssueId);a.changelist&&Kk(b,18,a.changelist);a.postmortems&&b.setPostmortemsList(a.postmortems);a.foundInVersion&&Kk(b,19,a.foundInVersion);a.targetedToVersion&&Kk(b,20,a.targetedToVersion);a.verifiedInVersion&&Kk(b,21,a.verifiedInVersion);a.hotlistId&&b.setHotlistIdList(a.hotlistId.map(soa));a.customField&&(c=a.customField.map(Doa),ac(b,24,c));a.comment&&
b.setComment(a.comment);a.formattingMode&&b.setFormattingMode(tl[a.formattingMode]);a.retention&&b.setRetention(qpa[a.retention]);a.isDeleted&&b.setIsDeleted(a.isDeleted);a.deletionReason&&b.setDeletionReason(rpa[a.deletionReason]);a.significanceOverride&&b.setSignificanceOverride(Goa[a.significanceOverride]);a.duplicateIssueId&&sl(b,30,a.duplicateIssueId);void 0!==a.inProd&&b.setInProd(a.inProd);void 0!==a.isArchived&&b.setIsArchived(a.isArchived);a.sloSnoozeUntil&&b.setSloSnoozeUntil(wj(a.sloSnoozeUntil));
a.sloSnoozeType&&b.setSloSnoozeType(spa[a.sloSnoozeType]);a.issueAccessLimitLevel&&k(b,53,tpa[a.issueAccessLimitLevel]);if(a.effort){c=b.setEffort;a=a.effort;var d=new ul;a.specId&&Tb(d,1,a.specId);a.estimate&&Ub(d,2,a.estimate);a.averageDays&&Nb(d,3,sb(a.averageDays),0);a.totalOpen&&Nb(d,4,sb(a.totalOpen),0);a.totalComplete&&Nb(d,5,sb(a.totalComplete),0);c.call(b,d)}return b},vpa=function(a){var b={targetIssueId:String(ol(a,1))};if(a=ol(a,2))b.afterIssueId=ik(a);return b},wpa=function(a,b){a=(new vl).setIssueId(a);
b&&(b=tpa[b])&&(b=(new wl).setAccessLevel(b),a.setIssueAccessLimit(b));return a},xpa=function(a){var b=new xl;b.setIssueId(String(a));return b},zpa=function(a){var b=new ypa;b.setIssueId(String(a.issueId));b.setComponentId(String(a.componentId));return b},Bpa=function(a){var b=new Apa;b.setIssueId(String(a.issueId));b.setComponentId(String(a.componentId));return b},Cpa=function(a){return{issueId:jk(a.getIssueId()),status:ml[a.getStatus()],title:a.getTitle()}},Fpa=function(a){var b=new Dpa;b.setFieldName(a.fieldName);
a.value&&b.setValue(a.value);a.actionType&&b.setActionType(Epa[a.actionType]);a.customFieldValue&&b.setCustomFieldValue(Doa(a.customFieldValue));return b},Hpa=function(a){var b=new Gpa;b.setIssueId(String(a.issueId));b.setActionsList(a.actions.map(Fpa));return b},Jpa=function(a){var b=new yl,c=a.addHotlistIds.map(String);sl(b,1,c);c=a.removeHotlistIds.map(String);sl(b,2,c);var d=a.hotlistIssue;a=new zl;a.setIssueId(String(d.issueId));d.position&&a.setPosition(d.position);if(d.issue){c=a.setIssue;
d=d.issue;var e=new Al;e.setIssueId(String(d.issueId));var f,h=(null!=(f=d.snapshot)?f:[]).map(upa);ac(e,2,h);if(d.userData){f=e.setUserData;h=d.userData;var l=new Bl;h.voted&&l.setVoted(h.voted);h.starred&&l.setStarred(h.starred);h.notificationSubscription&&l.setNotificationSubscription(Ipa[h.notificationSubscription]);void 0!==h.lastViewedTimeMicros&&k(l,5,h.lastViewedTimeMicros);f.call(e,l)}if(d.aggregatedData){h=d.aggregatedData;f=new Cl;f.setVoteCount(h.voteCount);f.setCreatedTimeMicros(h.createdTimeMicros);
k(f,4,h.resolvedTimeMicros);k(f,5,h.verifiedTimeMicros);f.setModifiedTimeMicros(h.modifiedTimeMicros);f.setLastModifier(fk(h.lastModifier));f.setSloId(String(h.sloId));f.setTeamId(String(h.teamId));if(h.retentionState){l=f.setRetentionState;var q=h.retentionState,u=new Dl;if(q.retentionPeriod){var x=u.setRetentionPeriod,y=q.retentionPeriod,G=new El;G.setSeconds(y.seconds);G.setNanos(y.nanos);x.call(u,G)}q.scheduledDeletionTime&&u.setScheduledDeletionTime(wj(q.scheduledDeletionTime));l.call(f,u)}h.sloStatus&&
(l=f.setSloStatus,h=h.sloStatus,q=new Fl,h.assignmentBounds&&q.setAssignmentBounds(Woa(h.assignmentBounds)),h.responseBounds&&q.setResponseBounds(Woa(h.responseBounds)),h.closureBounds&&q.setClosureBounds(Woa(h.closureBounds)),l.call(f,q));gl(e,Cl,4,f)}d.accessLimit&&e.setAccessLimit(doa(d.accessLimit));e.setCustomFieldsList(d.customFields.map(Zna).map(Qk));var L;e.setVisibleFieldsList((null!=(L=d.visibleFields)?L:[]).map(woa));k(e,7,d.majorModifiedTimeMicros);e.setParentIssueIdsList(d.parentIssueIds);
if(d.ancestors)for(L=e.getAncestorsMap(),f=m(d.ancestors.entries()),h=f.next();!h.done;h=f.next())h=m(h.value),u=h.next().value,h=h.next().value,l=L,q=l.set,u=Number(u),x=new Gl,x.setSourceIssueIdsList(h.sourceIssueIds.map(hk).filter(nk)),q.call(l,u,x);e.setChildIssueCount(d.childIssueCount);e.setIsArchived(d.isArchived);c.call(a,e)}gl(b,zl,3,a);return b},Kpa=function(a){var b;return{issueDigests:(null!=(b=a.getIssueDigestsList())?b:[]).map(Cpa),numTotalResults:a.getNumTotalResults()}},Npa=function(a){var b=
new Lpa;b.setIssueId(String(a.issueId));var c=a.targetIds.map(String);sl(b,2,c);b.setRelation(Mpa[a.relation]);b.setActionType(Epa[a.actionType]);return b},Ppa=function(a){var b=new Opa;b.setIssueId(String(a.issueId));b.setRetention(qpa[a.retention]);a.significanceOverride&&b.setSignificanceOverride(Goa[a.significanceOverride]);return b},Qpa=function(a){return{issueId:jk(a.getIssueId())}},Jl=function(a){return{issueId:jk(a.getIssueId()),updateText:a.getUpdateText(),formattedText:Hl(a,Il,3)?Noa(Ok(a,
Il,3)):void 0,formattingMode:fpa(a.getFormattingMode()),author:kk(bk(a.getAuthor())),updateTime:kk(uj(a.getUpdateTime())),version:a.getVersion()}},fpa=function(a){switch(a){case 0:break;case 1:return"PLAIN";case 2:return"MARKDOWN";case 3:return"LITERAL";default:return jj(a)}},Rpa=function(a){return{encryptedMedia:Yb(Kl(a,1)),errorMessage:a.getErrorMessage()}},Spa=function(a){var b=new Ll;k(b,1,pb(a.attachment,!1,!1));void 0!==a.contentJudgement&&b.setContentJudgement(roa(a.contentJudgement));return b},
Tpa=function(a){var b;return{attachments:(null!=(b=a.getAttachmentsList())?b:[]).map(Ml)}},Ml=function(a){if(null!=a){var b=hk(a.getAttachmentId()),c=Dk(a,7),d=a.getEtag(),e=a.getContentType(),f=a.getDescription(),h=a.getFilename(),l=a.getLength(),q=ll[a.getPiiRetention()],u=Yk(a.getPiiRetentionState()),x=Upa(a.getEntityStatus()),y=Uoa(a.getContentVerdict());a=Ok(a,Vpa,3);a=null!=a?{filename:kk(Db(a,5)),length:kk(Db(a,4)),contentType:kk(Db(a,1))}:void 0;return{attachmentId:b,filecompUrl:c,etag:d,
contentType:e,description:f,filename:h,length:l,piiRetention:q,piiRetentionState:u,entityStatus:x,contentVerdict:y,media:a}}},Upa=function(a){if(null!=a)return{reason:Wpa[a.getReason()],status:Xpa[a.hasStatus()?a.getStatus():0]}},Ypa=function(a){return{id:a.getId(),name:a.getName(),description:a.getDescription()}},Zpa=function(a){var b=new Nl;b.setInherit(a.inherit);b.setId(String(a.id));return b},$pa=function(a){return{teamId:a.getId(),name:a.getName(),description:a.getDescription(),pathNames:a.getPathNamesList(),
pathIds:a.getPathIdsList()}},aqa=function(a){return{teamId:a.getTeamId(),score:a.getScore()}},bqa=function(a){var b=new Ol;b.setTeamId(a.teamId);b.setScore(a.score);return b},Ul=function(a){var b=a.hasRetentionSettings()?Qoa(a.getRetentionSettings()):void 0;if(Hl(a,Pl,10)){var c=Ok(a,Pl,10),d,e;var f=(null!=(d=Aj(c,1))?d:[]).map(Fk);d=Bj(c,2);var h=yj(c,Pk,4);if(h){c=[];h=m(h);for(var l=h.next();!l.done;l=h.next())(l=yoa(l.value))&&c.push(l)}else c=void 0;f={componentPathId:f,componentPathName:d,
allCustomField:null!=(e=c)?e:[]}}else f=void 0;e=f;a.hasSlo()?(f=a.getSlo(),f={inherit:f.getInherit(),source:cqa[f.getSource()],id:f.getId(),sourceComponentId:Ck(f,6),sourceTeamId:f.getSourceTeamId(),comment:f.getComment()}):f=void 0;var q;if(Hl(a,Rk,24)){c=a.getEffortSpec();d=c.getInherit();h=c.getId();l=c.getName();a:switch(tk(c,6,0)){case 2:var u="MAX";break a;case 1:u="SUM";break a;default:u="AGGREGATION_TYPE_UNSPECIFIED"}d={inherit:d,id:h,name:l,aggregationType:u,customFieldId:c.getCustomFieldId()};
if(Ql(c,Sk,4,Rl)){if(q=Sl(c,Sk,4,Rl))d.numericSpec={multiplier:pl(q,1)}}else if(Ql(c,Tk,5,Rl)&&(c=Sl(c,Tk,5,Rl),d.enumSpec={options:[]},c&&0<(null==c?void 0:null==(q=yj(c,Uk,1))?void 0:q.length)))for(q=m(yj(c,Uk,1)),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 x,y;c=Fk(a.getComponentId());h=Fk(Ck(a,2));l=
a.getName();u=a.getDescription();var G=a.getArchived(),L=(null!=(x=Aj(a,7))?x:[]).map(Fk);x=boa(a.getAccessLimit());var M=Dk(a,13),T=Tl(a,14);var S=1===tk(a,15,0)?"ENABLED":"DISABLED";return{componentId:c,parentComponentId:h,name:l,description:u,archived:G,customFieldId:L,componentPathInfo:e,accessLimit:x,emailAlias:M,userHasEditAccess:T,commentEditState:S,defaultTemplateId:Fk(Ck(a,18)),slo:f,bugscopeSloId:Ck(a,20),retentionSettings:b,fieldOrdering:dqa[tk(a,23,0)],effortSpec:q,team:d,teamSuggestions:(null!=
(y=a.getTeamSuggestionsList())?y:[]).map(aqa),trackerId:"0"!==a.getTrackerId()?a.getTrackerId():void 0}},eqa=function(a){var b=new Vl;k(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(Soa(a.retentionSettings));return b},fqa=function(a){var b;return(null!=(b=yj(a,Vl,1))?b:[]).map(Ul)},gqa=function(a){return{warningHeader:Dk(a,1),warning:Dk(a,2),
isAllowed:Tl(a,3),isExternalMove:Tl(a,4)}},hqa=function(a){return{templateId:a.getTemplateId(),componentId:Fk(a.getComponentId()),default:!!a.getDefault(),name:a.getName(),description:a.getDescription(),snapshot:mpa(a.getSnapshot())}},iqa=function(a){var b=new Xl;b.setTemplateId(a.templateId);b.setComponentId(String(a.componentId));b.setDefault(a.default);b.setName(a.name);b.setDescription(a.description);b.setSnapshot(upa(a.snapshot));return b},jqa=function(a){var b={},c=Yl(a,2,Pk).entries();c=m(c);
for(var d=c.next();!d.done;d=c.next()){var e=m(d.value);d=e.next().value;e=e.next().value;(e=yoa(e))&&(b[Fk(d)]=e)}return{snapshot:mpa(a.getSnapshot()),customFieldMap:b}},kqa=function(a){var b;return(null!=(b=yj(a,Vl,1))?b:[]).map(Ul)},lqa=function(a){var b=Qoa(a.getRetentionSettings());return{componentPath:Dk(a,1),retentionSettings:b}},mqa=function(a){return yj(a,Zl,2).map(lqa)},qqa=function(a){if(null!=a){var b=a.getName();if(null==b)sj("No name. eventDiffToJs");else{b={name:b,displayName:kk(a.getDisplayName()),
timestamp:vna(a.getTimestamp()),important:!!Tl(a,5),type:nqa[a.getType()]};if(Ql(a,$l,6,am)){var c=Sl(a,$l,6,am);if(Ql(c,oqa,1,bm)){var d=Sl(c,oqa,1,bm);b.isUser=!0;b.oldValue=mk("<none>")(ck(null==d?void 0:Ok(d,ek,1)));b.newValue=mk("<none>")(ck(null==d?void 0:Ok(d,ek,2)))}if(Ql(c,cm,2,bm)){var e,f;b.oldValue=kk(null==(e=Sl(a,$l,6,am))?void 0:null==(f=Sl(e,cm,2,bm))?void 0:f.getOldValue());var h,l;b.newValue=kk(null==(h=Sl(a,$l,6,am))?void 0:null==(l=Sl(h,cm,2,bm))?void 0:l.getNewValue())}}else if(Ql(a,
dm,9,am)){var q;b.customFieldId=kk(null==(q=Sl(a,dm,9,am))?void 0:q.getCustomFieldId());var u;b.oldValue=kk(null==(u=Sl(a,dm,9,am))?void 0:u.getOldValue());var x;b.newValue=kk(null==(x=Sl(a,dm,9,am))?void 0:x.getNewValue())}else if(Ql(a,em,10,am))e=Sl(a,em,10,am),b.isUser=!0,a=(null==e?void 0:e.getAddedList())||[],e=(null==e?void 0:e.getRemovedList())||[],b.added=a.map(function(L){return ck(L)}).map(mk("<none>")),b.removed=e.map(function(L){return ck(L)}).map(mk("<none>"));else if(Ql(a,fm,7,am)){var y;
b.added=(null==(y=Sl(a,fm,7,am))?void 0:y.getAddedList())||[];var G;b.removed=(null==(G=Sl(a,fm,7,am))?void 0:G.getRemovedList())||[]}else Ql(a,gm,8,am)?(e=(null==(d=Sl(a,gm,8,am))?void 0:d.getAddedList())||[],a=(null==(c=Sl(a,gm,8,am))?void 0:c.getRemovedList())||[],b.added=e.map(pqa).filter(nk),b.removed=a.map(pqa).filter(nk)):Ql(a,hm,11,am)?(a=Upa(Sl(a,hm,11,am).getEntityStatus()),b.statusUpdateDiff={entityStatus:a}):sj("Unhandled diff type '"+b.type+"'");return b}}},pqa=function(a){if(null!=a){var b=
a.getValue();if(null==b)sj("No value. linkedItemToJs");else if(a=a.getHref(),null==a)sj("No href. linkedItemToJs");else return{value:b,href:a}}},km=function(a){a=im(a).toString();var b=new jm;k(b,2,a);return b},rqa=function(a){if(!a)return null;a=Db(a,2);var b;null===a||void 0===a?b=null:b=ii(a);return b},lm=function(a){if(null!=a){var b=a.getIssueId();if(null==b)sj("No issueId. issueToJs");else{for(var c=new Map,d=m(a.getAncestorsMap().entries()),e=d.next();!e.done;e=d.next()){var f=m(e.value);e=
f.next().value;f=f.next().value;c.set(String(e),{sourceIssueIds:f.getSourceIssueIdsList().map(String)})}var h,l,q,u;d=a.getUserData();if(null!=d){var x;d={voted:lk(d.getVoted()),starred:lk(d.getStarred()),notificationSubscription:sqa[d.getNotificationSubscription()],lastViewedTimeMicros:null!=(x=ol(d,5))?x:0}}else d=void 0;x=boa(a.getAccessLimit());e=yj(a,ql,2).map(mpa).filter(nk);f=a.getCustomFieldsList().map(xoa).filter(nk);var y=a.getVisibleFieldsList().map(uoa).filter(nk);var G=Ok(a,Cl,4);if(null!=
G){var L=void 0;if(G.hasSloStatus()){var M=G.getSloStatus();L={assignmentBounds:M.hasAssignmentBounds()?Voa(M.getAssignmentBounds()):void 0,responseBounds:M.hasResponseBounds()?Voa(M.getResponseBounds()):void 0,closureBounds:M.hasClosureBounds()?Voa(M.getClosureBounds()):void 0}}var T,S,X,aa,na;M={voteCount:null!=(T=G.getVoteCount())?T:0,createdTimeMicros:null!=(S=G.getCreatedTimeMicros())?S:0,resolvedTimeMicros:null!=(X=ol(G,4))?X:0,verifiedTimeMicros:null!=(aa=ol(G,5))?aa:0,modifiedTimeMicros:null!=
(na=G.getModifiedTimeMicros())?na:0,lastModifier:bk(G.getLastModifier()),sloId:hk(G.getSloId()),teamId:hk(G.getTeamId()),retentionState:Yk(G.getRetentionState()),sloStatus:L}}else M=void 0;return{issueId:b,userData:d,accessLimit:x,snapshot:e,customFields:f,visibleFields:y,aggregatedData:M,majorModifiedTimeMicros:null!=(h=ol(a,7))?h:0,parentIssueIds:null!=(l=a.getParentIssueIdsList())?l:[],ancestors:c,childIssueCount:null!=(q=a.getChildIssueCount())?q:0,isArchived:a.getIsArchived(),relatedLinks:(null!=
(u=a.getRelatedLinksList())?u:[]).map(tqa),trackerId:"0"!==a.getTrackerId()?a.getTrackerId():void 0,statusUpdate:a.hasStatusUpdate()?Jl(a.getStatusUpdate()):void 0}}}},vqa=function(a){if(null!=a){var b=vna(Ok(a,vj,4)),c=!!Tl(a,8),d,e=null!=(d=mm(a.getComment()))?d:{};d=a.hasStatusUpdate()?Jl(a.getStatusUpdate()):void 0;var f,h=null==(f=yj(a,nm,2))?void 0:f.map(qqa).filter(nk),l;f=null==(l=yj(a,nm,3))?void 0:l.map(qqa).filter(nk);var q;l=null==(q=yj(a,uqa,9))?void 0:q.map(epa).filter(nk);q=a.getAttachmentsList().map(Ml).filter(nk);
var u=ck(Ok(a,ek,5));u=mk("<none>")(u);var x=bk(Ok(a,ek,5)),y=!!Tl(a,11),G=!!Tl(a,12);if(null==b)sj("No modifiedDate. issueEventToJs");else return Object.assign({},e,{attachments:q,version:a.getVersion(),modifiedDate:b,preDiffs:h,postDiffs:f,isMajorEvent:c,statusUpdate:d,taggedSummary:l,userPerformingAction:u,userPerformingActionUser:x,isHumanAuthor:y,isCollaboratorAuthor:G})}},mm=function(a){if(null==a)return{};var b=a.hasEntityStatus()?Xpa[a.getEntityStatus().getStatus()]:void 0,c=a.hasPiiRetention()?
ll[a.getPiiRetention()]:null,d=wqa[a.getFormattingMode()],e=a.getVersion(),f=Dk(a,7),h=zj(a,2),l=a.getVersion();var q=ol(a,5);return{version:e,unlinkifiedComment:f,commentNumber:h,commentVersion:l,commentLastModifiedAtDate:null!=q?q/1E3:void 0,commentRedacted:kk(a.getRedacted()),commentContentVerdict:Uoa(Ok(a,om,14)),commentRetentionState:Yk(a.getPiiRetentionState()),commentDeletionStatus:b,commentRetention:c,lastCommentEditorUser:bk(Ok(a,ek,8)),formattingMode:d,formattedComment:a.hasFormattedComment()?
Noa(a.getFormattedComment()):void 0,commentEtag:a.getEtag(),commentReactions:xqa(a.getCommentReaction())}},qm=function(a){if(null!=a){var b=lm(a.getIssue());if(null==b)sj("No issue. issueFetchResponseToJs");else return a=vqa(Ok(a,pm,5)),{issue:b,firstEvent:a}}},yqa=function(a){var b=[];a=m(a.entries());for(var c=a.next();!c.done;c=a.next()){var d=m(c.value);c=d.next().value;d=d.next().value;b.push({issueId:c,relatedChildren:d.getIssueRelationshipsList().map(vpa),totalChildCount:d.getTotalSize()})}return b},
zqa=function(a){var b=new rm;b.setIssueIdsList(a.issueIds.map(String));b.setActionsList(a.actions.map(Fpa));return b},Aqa=function(a){return{issueId:a.getIssueId(),message:a.getMessage()}},Bqa=function(a){var b={};var c=Yl(a,1,Al);c=m(c.entries());for(var d=c.next();!d.done;d=c.next()){var e=m(d.value);d=e.next().value;e=e.next().value;b[Number(d)]=lm(e)}c={};d=Yl(a,3,Vl);d=m(d.entries());for(e=d.next();!e.done;e=d.next()){var f=m(e.value);e=f.next().value;f=f.next().value;c[Number(e)]=Ul(f)}var h;
a=(null!=(h=yj(a,sm,2))?h:[]).map(Aqa);return{affectedIssues:b,componentMap:c,errors:a}},Cqa=function(a){var b;return(null!=(b=a.getIssueCommentsList())?b:[]).map(mm)},tqa=function(a){var b=Hk(a,Dqa);switch(b){case 2:return b=Sl(a,tm,2,Dqa),0!==b.getCommentNumber()?{type:"issueReference",issueId:String(b.getIssueId()),commentNumber:b.getCommentNumber(),sourceCommentNumber:zj(a,3)}:{type:"issueReference",issueId:String(b.getIssueId()),sourceCommentNumber:zj(a,3)};case 1:return{type:"hyperlink",href:Sl(a,
Eqa,1,Dqa).getHref(),sourceCommentNumber:zj(a,3)};case 0:throw Error("hc");default:return jj(b)}},Fqa=function(a){return{readTimestamp:ol(a,1)}},Gqa=function(a){var b=a.getIssueState();b={componentId:b.getComponentId(),type:hpa[b.getType()],status:ml[b.getStatus()],priority:ipa[b.getPriority()],severity:jpa[b.getSeverity()]};return{issueId:String(a.getIssueId()),issueState:b,modifiedTime:uj(a.getModifiedTime()),teamId:a.getTeamId()}},um=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 jj(a,"Unexpected formatting mode")}},wm=function(a){var b=void 0;Hl(a,om,14)&&(b=Uoa(Ok(a,om,14)));return{issueId:a.getIssueId(),commentNumber:zj(a,2),commentContentVerdict:b,formattingMode:wqa[a.getFormattingMode()],lastEditorUser:bk(Ok(a,ek,8)),lastModified:String(ol(a,5)),version:a.getVersion(),unlinkifiedComment:Dk(a,7),entityStatus:Upa(a.getEntityStatus()),piiRetentionState:Yk(a.getPiiRetentionState()),
piiRetention:ll[a.getPiiRetention()],etag:a.getEtag(),commentReactions:xqa(a.getCommentReaction())}},Hqa=function(a){var b;return(null!=(b=a.getIssueCommentsList())?b:[]).map(wm)},xqa=function(a){var b=null==a?void 0:a.getReactionStatesList();a=new Map;b=m(b||[]);for(var c=b.next();!c.done;c=b.next()){c=c.value;var d=void 0,e=null!=(d=Iqa[c.getType()])?d:"REACTION_TYPE_UNSPECIFIED",f=d=void 0,h=void 0,l=void 0,q={type:e,hasReacted:null!=(f=c.getHasReacted())?f:!1,count:null!=(h=c.getCount())?h:0,
recentResponders:null!=(l=null==(d=c.getRecentRespondersList())?void 0:d.map(bk).filter(nk))?l:[]};a.set(e,q)}return a},Jqa=function(a){return{user:bk(Ok(a,ek,1)),createdTime:uj(a.getCreatedTime())}},Kqa=function(a){return{responders:yj(a,xm,1).map(Jqa),totalSize:a.getTotalSize(),nextPageToken:a.getNextPageToken()}},Lqa=function(a){var b=a.getIssuesList();if(b){var c=[];b=m(b);for(var d=b.next();!d.done;d=b.next())(d=d.value)&&(d=lm(d))&&c.push(d)}else c=[];b=a.getNumTotalResults();var e=a.getComponentsMap();
d={};e=m(e.entries());for(var f=e.next();!f.done;f=e.next()){var h=m(f.value);f=h.next().value;h=h.next().value;d[Number(f)]=Ul(h)}f=Lb(a,4,void 0,bba);if(void 0!==f)for(e={},f=m(f.entries()),h=f.next();!h.done;h=f.next()){var l=m(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()}},Mqa=function(a){return ym({id:a.getId(),std_offset:zj(a,3),names:Bj(a,2),transitions:xj(a,4)||[]})},
Bm=function(a){var b=a.getTrackerId(),c=a.getName(),d=a.getComponentId(),e=Aj(a,4);var f=Ok(a,zm,5);f=null!=f?{logoUrl:f.getLogoUrl(),theme:Nqa[f.getTheme()]}:void 0;return{trackerId:b,name:c,componentId:d,associatedTrackerIds:e,branding:null!=f?f:null,internalBaseUrl:Am(a,6)?Dk(a,6):void 0,externalBaseUrl:Am(a,7)?Dk(a,7):void 0}},Oqa=function(a){var b;return(null!=(b=a.getTrackersList())?b:[]).map(Bm)},Pqa=function(a){return{trackers:a.getTrackersList().map(Bm),nextPageToken:a.getNextPageToken(),
totalSize:a.getTotalSize()}},Dm=function(a){if(null==a)return"UNSPECIFIED_FORMATTING_MODE";switch(Cm[a]){case 2:return"MARKDOWN";case 1:return"PLAIN";case 3:return"LITERAL";default:return"UNSPECIFIED_FORMATTING_MODE"}},Fm=function(a){"duplicateOfIssueId"===a&&(a="canonicalIssueId");var b=Number(a);isNaN(b)?a=new Em({type:String(a).replace(/([A-Z])/g,"_$1").toUpperCase()}):0===b?a=null:(a={customFieldId:b},a=new Em({type:"CUSTOM_FIELD",customFieldId:a.customFieldId,customFieldName:a.name}));return a},
Qqa=function(a){a=Gm(a);if(Hm(a))return null;var b=a.split(":");if(2!==b.length||Hm(b[1]))return null;a="asc"===b[1].toLowerCase()?"ASCENDING":"DESCENDING";return(b=Fm(b[0]))&&a?new Im(b,a):null},ara=function(a){var b={};Jm(a,1)&&(b.showFullHistory=Tl(a,1));Jm(a,2)&&(b.useCodefont=Tl(a,2));Km(a,5)&&(b.resultsPerPage=zj(a,5));Jm(a,26)&&(b.showRecentEventsFirst=Tl(a,26));var c=a.getDisplayColumns();c&&(b.displayColumns={column:c.getColumnList().map(Rqa)});if(c=a.getSortColumns())b.sortColumns={column:c.getColumnList().map(Sqa)};
Am(a,7)&&(b.bannerMessageId=Dk(a,7));if(c=Ok(a,Lm,3)){var d={};nl(c,1)&&(d.reportedPriority=Mm[tk(c,1,0)]);nl(c,2)&&(d.assignedPriority=Mm[tk(c,2,0)]);nl(c,3)&&(d.verifiedPriority=Mm[tk(c,3,0)]);nl(c,4)&&(d.ccdPriority=Mm[tk(c,4,0)]);nl(c,9)&&(d.collaboratorPriority=Mm[tk(c,9,0)]);nl(c,5)&&(d.starredPriority=Mm[tk(c,5,0)]);Jm(c,6)&&(d.excludeChangesByMe=Tl(c,6));Jm(c,7)&&(d.unsubscribeFromAll=Tl(c,7));Jm(c,8)&&(d.enableV2Prefs=Tl(c,8));b.notificationPreferences=d}if(d=Ok(a,Nm,9))c={showHotlists:Tl(d,
1),showStatusIcons:Tl(d,4),wrapComponents:Tl(d,3),wrapTitles:Tl(d,2),rtlComponentPath:Tl(d,5)},d=Lb(d,6,void 0,Bb),c.fieldStatus=Object.fromEntries(d.entries()),b.listViewPreferences=c;if(c=a.getLayoutPreferences())d={},Km(c,1)&&(d.leftSidebarWidth=zj(c,1)),Jm(c,2)&&(d.expandIssueSlo=Tl(c,2)),Km(c,3)&&(d.rightSidebarWidth=zj(c,3)),b.layoutPreferences=d;if(c=a.getDateTimePreferences())d={},Am(c,1)&&(d.calendarFormat=Dk(c,1)),Am(c,2)&&(d.timeFormat=Dk(c,2)),c.hasTimeZone()&&(d.timeZone=c.getTimeZone()),
nl(c,7)&&(d.sloEtaViewAs=Tqa[tk(c,7,0)]),b.dateTimePreferences=d;if(c=Ok(a,Om,8))d={},nl(c,1)&&(d.density=Uqa[c.getDensity()]),b.themePreferences=d;if(c=a.getHomepagePreferences())d={},c.hasResourceType()&&(d.resourceType=Vqa(c.getResourceType())),c.hasResourceId()&&(d.resourceId=c.getResourceId()),b.homepagePreferences=d;if(c=Ok(a,Pm,17))d={},Jm(c,1)&&(d.enableAllHotkeys=Tl(c,1,!0)),b.keyboardPreferences=d;Bk(a,16)&&(b.newFeaturesAcknowledgedMillis=Ck(a,16));Jm(a,18)&&(b.autoCcOnComment=Tl(a,18));
Hl(a,Qm,20)&&(d=Ok(a,Qm,20),c=tk(d,2,0),d=tk(d,1,0),b.textDisplayPreferences={commentDisplayOverride:Wqa(c),lastPublishMode:Wqa(d)});Hl(a,Rm,21)&&(c=Ok(a,Rm,21),d={},Jm(c,2)&&(d.announcementDismissed=Tl(c,2)),Jm(c,1)&&(d.enableBugScreensaver=Tl(c,1)),b.bugScreensaverPreferences=d);Hl(a,Sm,24)&&(c=Ok(a,Sm,24),d={},Tm(c,1)&&(d.announcementDismissedMillis=ol(c,1)),b.g3nPreferences=d);if(c=Ok(a,Um,23))b.teamWarningPreferences={componentTeamWarnings:yj(c,Vm,1).map(Xqa)};c=Yl(a,25,vj);c.size&&(b.dismissalTimestamps=
Yqa(c));c=Lb(a,27,void 0,aba);c.size&&(b.collapsed=Object.fromEntries(c.entries()));Jm(a,29)&&(b.showInlineImages=a.getShowInlineImages());Hl(a,Wm,28)&&(c=Ok(a,Wm,28),d={},nl(c,1)&&(d.commentFilter=Zqa(tk(c,1,0))),b.commentFilterPreferences=d);Hl(a,Xm,30)&&(b.needsAttentionPreferences=$qa(Ok(a,Xm,30)));return b},Rqa=function(a){var b={};a.hasType()&&(b.type=bra[a.getType()]);a.hasCustomFieldId()&&(b.customFieldId=a.getCustomFieldId());return b},Sqa=function(a){var b={};if(nl(a,2)){a:{var c=tk(a,2,
1);switch(c){case 1:c="ASCENDING";break a;case 2:c="DESCENDING";break a;default:c=jj(c,"Unknown sortOrder: "+c)}}b.order=c}if(a=a.getColumn())b.column=Rqa(a);return b},Wqa=function(a){if(0!==a)return Cm[a]},Vqa=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 jj(a,"Unknown resourceType: "+a)}},Xqa=function(a){var b={};a.hasComponentId()&&(b.componentId=a.getComponentId());
Tm(a,2)&&(b.dismissMillis=ol(a,2));return b},Yqa=function(a){a=Array.from(a.entries()).map(function(b){var c=m(b);b=c.next().value;c=c.next().value;return[b,c.toDate()]});return Object.fromEntries(a)},Zqa=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 jj(a,"Unknown resourceType: "+a)}},$qa=function(a){var b={};b.selectedSignals=Ym(a,1).map(function(c){return cra[c]});return b},nra=function(a){var b=
new Zm;null!=a.showFullHistory&&k(b,1,a.showFullHistory);null!=a.useCodefont&&k(b,2,a.useCodefont);null!=a.resultsPerPage&&k(b,5,a.resultsPerPage);if(null!=a.displayColumns){var c=dra(a.displayColumns);gl(b,$m,4,c)}null!=a.sortColumns&&(c=era(a.sortColumns),gl(b,an,6,c));null!=a.bannerMessageId&&k(b,7,a.bannerMessageId);if(null!=a.notificationPreferences){c=a.notificationPreferences;var d=new Lm;d=k(d,1,bn[c.reportedPriority]);d=k(d,2,bn[c.assignedPriority]);d=k(d,3,bn[c.verifiedPriority]);d=k(d,
4,bn[c.ccdPriority]);d=k(d,9,bn[c.collaboratorPriority]);d=k(d,5,bn[c.starredPriority]);d=k(d,6,c.excludeChangesByMe);d=k(d,7,c.unsubscribeFromAll);c=k(d,8,c.unsubscribeFromAll);gl(b,Lm,3,c)}null!=a.listViewPreferences&&(c=a.listViewPreferences,d=new Nm,d=k(d,1,c.showHotlists),d=k(d,2,c.wrapTitles),d=k(d,3,c.wrapComponents),d=k(d,4,c.showStatusIcons),d=k(d,5,c.rtlComponentPath),null!=c.fieldStatus&&fra(c.fieldStatus,Lb(d,6,void 0,Bb)),gl(b,Nm,9,d));null!=a.layoutPreferences&&(c=a.layoutPreferences,
d=new cn,null!=c.leftSidebarWidth&&k(d,1,c.leftSidebarWidth),null!=c.expandIssueSlo&&k(d,2,c.expandIssueSlo),null!=c.rightSidebarWidth&&k(d,3,c.rightSidebarWidth),gl(b,cn,10,d));null!=a.dateTimePreferences&&(c=a.dateTimePreferences,d=new dn,d=k(d,1,c.calendarFormat),d=k(d,2,c.timeFormat).setTimeZone(c.timeZone),c=k(d,7,gra[c.sloEtaViewAs]),gl(b,dn,11,c));null!=a.themePreferences&&(c=a.themePreferences,c=(new Om).setDensity(hra[c.density]),gl(b,Om,8,c));null!=a.homepagePreferences&&(c=a.homepagePreferences,
d=new en,null!=c.resourceType&&d.setResourceType(ira(c.resourceType)),null!=c.resourceId&&d.setResourceId(c.resourceId),gl(b,en,13,d));null!=a.keyboardPreferences&&(c=a.keyboardPreferences,d=new Pm,c=k(d,1,c.enableAllHotkeys),gl(b,Pm,17,c));null!=a.newFeaturesAcknowledgedMillis&&k(b,16,a.newFeaturesAcknowledgedMillis);null!=a.autoCcOnComment&&k(b,18,a.autoCcOnComment);null!=a.textDisplayPreferences&&(c=a.textDisplayPreferences,d=new Qm,c.commentDisplayOverride&&k(d,2,jra(c.commentDisplayOverride)),
c.lastPublishMode&&k(d,1,jra(c.lastPublishMode)),gl(b,Qm,20,d));null!=a.bugScreensaverPreferences&&(c=a.bugScreensaverPreferences,d=new Rm,null!=c.enableBugScreensaver&&k(d,1,c.enableBugScreensaver),null!=c.announcementDismissed&&k(d,2,c.announcementDismissed),gl(b,Rm,21,d));null!=a.g3nPreferences&&(c=a.g3nPreferences,d=new Sm,null!=c.announcementDismissedMillis&&k(d,1,c.announcementDismissedMillis),gl(b,Sm,24,d));null!=a.teamWarningPreferences&&(c=kra(a.teamWarningPreferences),gl(b,Um,23,c));if(null!=
a.dismissalTimestamps){c=Yl(b,25,vj);d=m(Object.entries(a.dismissalTimestamps));for(var e=d.next();!e.done;e=d.next()){var f=m(e.value);e=f.next().value;var h=f.next().value;f=c;var l=f.set,q=new vj;h=h.getTime();q.setSeconds(Math.trunc(h/1E3)).setNanos(Math.trunc(h%1E3*1E6));l.call(f,e,q)}}null!=a.collapsed&&fra(a.collapsed,Lb(b,27,void 0,aba));null!=a.showRecentEventsFirst&&k(b,26,a.showRecentEventsFirst);null!=a.showInlineImages&&k(b,29,a.showInlineImages);null!=a.commentFilterPreferences&&(d=
a.commentFilterPreferences,c=new Wm,null!=d.commentFilter&&(d=lra(d.commentFilter),k(c,1,d)),gl(b,Wm,28,c));null!=a.needsAttentionPreferences&&(c=a.needsAttentionPreferences,a=new Xm,c.selectedSignals&&(c=c.selectedSignals.map(mra),fn(a,1,c)),gl(b,Xm,30,a));return b},dra=function(a){return(new $m).setColumnList(a.column.map(function(b){return ora(b)}))},ora=function(a){var b=new gn,c=b.setType,d=a.type;if(!hn.hasOwnProperty(d))throw Error("ic`"+d);b=c.call(b,pra[d]);null!=a.customFieldId&&b.setCustomFieldId(a.customFieldId);
return b},era=function(a){return(new an).setColumnList(a.column.map(function(b){var c=(new jn).setColumn(ora(b.column));a:switch(b=b.order,b){case "ASCENDING":b=1;break a;case "DESCENDING":b=2;break a;default:b=jj(b,"Unknown sortOrder: "+b)}return k(c,2,b)}))},ira=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 jj(a,"Unknown resourceType: "+a)}},jra=function(a){switch(Cm[a]){case 2:return 2;
case 1:return 1;case 3:return 3;default:return 0}},kra=function(a){var b=new Um;null!=a.componentTeamWarnings&&qra(b,a.componentTeamWarnings.map(function(c){var d=new Vm;c.componentId&&d.setComponentId(c.componentId);c.dismissMillis&&k(d,2,c.dismissMillis);return d}));return b},lra=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 jj(a,"Unknown commentFilterType: "+a)}},mra=function(a){return rra[a]},
fra=function(a,b){a=m(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=m(c.value);c=d.next().value;d=d.next().value;b.set(c,d)}},rn=function(){null==kn&&(kn=new sra(tra.buganizerSessionJspb));if(!Hl(kn,ln,2)){var a=kn,b=new ln;gl(a,ln,2,b)}Hl(kn,mn,9)||(a=kn,b=new mn,gl(a,mn,9,b));kn.hasUser()||kn.setUser(new nn);Hl(kn,Zm,7)||(a=kn,b=new Zm,gl(a,Zm,7,b));b=kn;a=b.hasUser()?b.getUser():new nn;a=Tl(a,4)?{anonymous:!0,email:null,userTypeLabel:"ANONYMOUS",sessionIdentifier:""}:{anonymous:!1,
email:a.getEmail(),userTypeLabel:a.getUserTypeLabel(),sessionIdentifier:a.getSessionIdentifier()};var c=Hl(b,ln,2)?b.getConfig():new ln;for(var d=new Map,e=m(Lb(c,4,void 0,aba).entries()),f=e.next();!f.done;f=e.next()){var h=m(f.value);f=h.next().value;h=h.next().value;d.set(f,h)}c={analyticsId:c.getAnalyticsId(),appName:c.getAppName(),documentationBaseUrl:c.getDocumentationBaseUrl(),enabledFlags:d,environmentType:c.getEnvironmentType(),maxAccurateSearchResults:c.getMaxAccurateSearchResults(),onePickUrl:c.getOnePickUrl(),
onePickSecretToken:c.getOnePickSecretToken(),commentNumberLimit:c.getCommentNumberLimit(),createComponentRedirectDelay:c.getCreateComponentRedirectDelay(),whitelistedWhitelistDomainPartnerComponentIds:Aj(c,10),isDogfooder:Tl(c,11),createRestrictedSubresourcesComponentWhitelist:Ib(c,13,wb),collaboratorsComponentAllowlist:new Set(Ib(c,17,wb)),collaboratorsComponentDenylist:new Set(Ib(c,19,wb)),issueAccessLimitsComponentAllowlist:new Set(Ib(c,18,wb))};d=ara(Hl(b,Zm,7)?b.getUserPreferences():new Zm);
f=Hl(b,mn,9)?Ok(b,mn,9):new mn;e=yj(f,on,1).map(Mqa);Hl(f,pn,2)?(f=f.getAnnouncement(),f={message:f.getMessage(),messageId:Dk(f,2),dismissible:Tl(f,3),tags:f.getTagsList()}):f=null;e={timezones:e,announcement:f};f=b.getXsrfToken();h=b.getCspNonce();var l=b.getFrontendAccessMode(),q=b.getMustAcknowledgeTerms(),u=b.getShowNewFeaturesDialog(),x=b.getAppBaseHref(),y=Hl(b,qn,11)?Bm(b.getTracker()):null;Hl(b,ura,12)?(b=b.getPassiveLoginIframeUrl())?(b=Db(b,4),b=null===b||void 0===b?null:ki(b)):b=null:b=
null;return{user:a,config:c,xsrfToken:f,cspNonce:h,frontendAccessMode:l,mustAcknowledgeTerms:q,showNewFeaturesDialog:u,userPreferences:d,preload:e,appBaseHref:x,tracker:y,passiveLoginIframeUrl:b}},vra=function(a,b){var c;a=null==(c=a.componentPathInfo)?void 0:c.allCustomField;if(!a)return!0;c={};a=m(a);for(var d=a.next();!d.done;c={$jscomp$loop$prop$customField$2228:c.$jscomp$loop$prop$customField$2228},d=a.next())if(c.$jscomp$loop$prop$customField$2228=d.value,c.$jscomp$loop$prop$customField$2228.required){d=
!!c.$jscomp$loop$prop$customField$2228.typedDefaultValue;var e=void 0,f=void 0,h=null==(e=b)?void 0:null==(f=e.snapshot.customField)?void 0:f.some(function(l){return function(q){return q.customFieldId===l.$jscomp$loop$prop$customField$2228.customFieldId}}(c));if(!d&&!h)return!1}return!0},xra=function(a){return null==a?!1:wra.has(a.name)},yra=function(a){return"hotlist"===(null==a?void 0:a.name)},zra=function(a){return null==a?!1:null!=a.href&&null!=a.value},Ara=function(a){return Array.isArray(a)?
a.every(zra):!1},sn=function(a){switch(a){case "P0":case "P1":case "P2":case "P3":case "P4":return a;default:return null}},Bra=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}},Cra=function(a){switch(a){case "S0":case "S1":case "S2":case "S3":case "S4":return a;
default:return null}},Dra=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}},Era=function(a){return Wj(a.replace(/_/g," ").toLowerCase())},Fra=function(a,b){return Object.entries(a).reduce(function(c,d){var e=m(d);d=e.next().value;e=e.next().value;c[b[d]]=e;return c},{})},un=function(a,b,c,d){return new Gra(a,tn[a],b,c,d)},Hra=
function(a){return a},wn=function(a){return vn(a,Hra)},vn=function(a,b){var c={};return a.filter(function(d){d=String(b(d));return c[d]?!1:c[d]=!0})},Ira=function(a){return function(b){return vn(b,a)}},xn=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},Jra=function(a){a=void 0===a?[]:a;return a.filter(function(b){return"number"===typeof b}).filter(function(b){return 0!==b})},Lra=function(a){var b=Kra,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},Mra=function(a,b){if(a.length!==b.length)return!1;a=[].concat(r(a)).sort();b=[].concat(r(b)).sort();return a.every(function(c,d){return c===b[d]})},Nra=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)})}},Ora=function(a,b){var c=new Map;a=m(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=b(d),f=void 0,h=null!=(f=c.get(e))?
f:[];h.push(d);c.set(e,h)}return[].concat(r(c.values()))},Pra=function(a){for(var b=[],c=0;c<a.length;c+=100){var d=a.slice(c,c+100);b.push(d)}return b},yn=function(a,b){return function(c,d){return Qra(c,a,b,d)}},Qra=function(a,b,c,d){d=void 0===d?"":d;return""===d?a:[].concat(r(a)).sort(function(e,f){var h="asc"===d?1:-1;return c(b(e),b(f))*h})},Rra=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},Sra=function(a,
b){return null==a||null==b?null==a&&null==b?0:null==a?1:null==b?-1:0:a.localeCompare(b)},zn=function(a){return!(null==a||!a.commentNumber)},An=function(a){var b;return 0<(null==(b=a.attachments)?void 0:b.length)},Tra=function(a,b,c){var d=a.findIndex(function(f){return f.commentNumber===b}),e=a[d];if(null==e)return a;c=Object.assign({},e,c);return[].concat(r(a.slice(0,d)),[c],r(a.slice(d+1)))},Ura=function(a){var b,c;return null==a?void 0:null==(b=a.issue)?void 0:null==(c=b.snapshot)?void 0:c[0]},
Vra=function(a){var b;return Yj(null==(b=Bn(a))?void 0:b.assigneeUser)||void 0},Wra=function(a){if(null==a)return"";var b,c,d,e,f=a.etag,h=a.piiRetention;var l=a.piiRetentionState;l=null==l?"":[JSON.stringify(l.retentionPeriod),JSON.stringify(l.scheduledDeletionTime)].join("-");return[f,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("-")},Xra=function(a){if(null==a)return"";var b=
a.attachments.map(Wra).join("-"),c=[];if(a.commentReactions&&0<a.commentReactions.size){var d,e=m(null==(d=a.commentReactions)?void 0:d.entries());for(d=e.next();!d.done;d=e.next()){var f=m(d.value);d=f.next().value;f=f.next().value;c.push(d+"-"+f.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("-")},Yra=function(a){return a.map(function(b){return b.commentNumber}).filter(nk).reduce(function(b,c){return Math.max(b,c)},1)},Zra=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||Xra(d)!==Xra(e)))return!1}return!0},Dn=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=Cn[a])?void 0:d.open)?e:!1},$ra=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=Cn[a];return null==b?!1:!(null==b?0:b.open)},En=function(a){return null==a.isArchived?!1:!a.isArchived},bsa=function(){var a=Fn;return yn(function(b){var c,d;return null!=(d=asa[null==(c=a(b))?void 0:c.snapshot[0].status])?d:0},Rra)},csa=function(){var a=Fn;return yn(function(b){var c,d;return null==
(c=a(b))?void 0:null==(d=c.snapshot[0].assigneeUser)?void 0:d.emailAddress},Sra)},dsa=function(){var a=Fn;return yn(function(b){var c;return null==(c=a(b))?void 0:c.snapshot[0].type},Sra)},esa=function(){var a=Fn;return yn(function(b){var c,d;return null==(c=a(b))?void 0:null==(d=c.snapshot[0].reporterUser)?void 0:d.emailAddress},Sra)},fsa=function(){var a=Fn;return yn(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},Rra)},Gn=
function(a){var b,c;return null==a?void 0:null==(b=a.issue)?void 0:null==(c=b.snapshot)?void 0:c[0]},Bn=function(a){var b;return null==a?void 0:null==(b=a.snapshot)?void 0:b[0]},gsa=function(a,b){a=Bn(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(r(b.map(function(c){return c.userPerformingActionUser})));return vn(b.filter(nk),ck)},hsa=function(a,b){b=gsa(a,b);var c,d,e;a=null!=(e=null==(c=Bn(a))?void 0:null==(d=
c.ccUsers)?void 0:d.length)?e:0;return b.length+a},Hn=function(a){var b;return"piper-bugupdater@prod.google.com"===(null==a?void 0:null==(b=a.userPerformingActionUser)?void 0:b.emailAddress)},isa=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},jsa=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"}},ksa=function(a){var b=a.newEditors,c=a.newImplicitUsers,d=a.isExternalSession,e=a.issueId,f=a.actionIssueId;a=isa(a.userPrincipals);d="Allow "+(1===a?"members of the group to ":jsa(a,d)+" to ")+(0===b.length?"comment?":"edit?");b="Adding "+c.join(", ")+" will allow "+(1===a?"all members of the group":"them")+" to "+(0===b.length?"comment on ":"edit ")+(e===f?"issue "+f:"canonical issue "+f)+".";return{title:d,
content:b}},lsa=function(){},msa=function(a){return 0<Object.values(a).length},nsa=function(a,b){a.next(Object.freeze(Object.assign({},a.getValue(),b)))},osa=function(a,b){var c=a.getValue();c=Object.assign({},c);b=(delete c[b],c);a.next(Object.freeze(b))},psa=function(a,b){var c=a.getValue(),d={};c=m(Object.entries(c));for(var e=c.next();!e.done;e=c.next()){var f=m(e.value);e=f.next().value;f=f.next().value;b.includes(e)||(d[e]=f)}a.next(Object.freeze(d))},qsa=function(a){var b=Object.assign({},
a);a=a.ids;b=(delete b.ids,b);a&&(b.ids=[].concat(r(a)).sort());return JSON.stringify(b)},rsa=function(a,b,c){c=a.get(b)||c;a.has(b)||a.set(b,c);return c},ssa=function(a){a=void 0===a?{}:a;return Nna(a)},tsa=function(a){var b=new C.Subject,c=a.subscribe(b);a=(0,C.firstValueFrom)(b);a.finally(function(){c.unsubscribe()});return a},usa=function(a){return null==a?new Promise(function(){}):Promise.resolve(a)},vsa=function(){return new Promise(function(){})},xsa=function(a){return!!a.match(wsa)&&!a.endsWith("/history")},
In=function(a){return"hyperlink"===a.type},ysa=function(a){return In(a)&&xsa(a.href)},Asa=function(a){return In(a)&&!!a.href.match(zsa)},Bsa=function(a){if(a.endsWith("/history"))return null;var b,c;return(a=null!=(c=null==(b=a.match(wsa))?void 0:b[2])?c:null)?"https://screenshot.googleplex.com/"+a+".png":null},Csa=function(a){return"issueReference"===a.type},Dsa=function(a){return In(a)&&!ysa(a)&&!(In(a)&&a.href.startsWith("mailto:"))},Esa=function(a){return[].concat(r(a.values())).flatMap(function(b){return b.sourceIssueIds})},
Fsa=function(a,b){b=void 0===b?[]:b;return"http://cl/search/cl:("+[].concat(r(a),r(b.map(function(c){return String(c.changelistNumber)}))).join("|")+")"},Gsa=function(a,b){return"background: conic-gradient(var(--"+(void 0===b?"good-gfx":b)+") "+100*a+"%, var(--divider) 0 100%);"},Jn=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:""},Hsa=function(a,b){var c=[];a=m(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 f=e=void 0;b.set(d.issueId,null!=(f=null==(e=d.aggregatedData)?void 0:e.modifiedTimeMicros)?f:0)}}return c},Isa=function(a){return{emailAddress:Jn(a)+"@google.com"}},Jsa=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)},Ksa=function(a){var b,c;return null!=(c=null==(b=a.unlinkifiedComment)?void 0:
b.split("\n")[2])?c:""},Lsa=function(a,b){var c;return null==(c=[].concat(r(a.preDiffs),r(a.postDiffs)).find(function(d){return d.name===b}))?void 0:c.oldValue},Msa=function(a,b){var c;return null==(c=[].concat(r(a.preDiffs),r(a.postDiffs)).find(function(d){return d.name===b}))?void 0:c.newValue},Nsa=function(a){return"http://b/issues/"+a},Kn=function(a){if(a.match(/\bhotlists?\b/))return Osa(a)},Ln=function(a){return"hotlist-"+a},Mn=function(a){return"savedsearch-"+a},Psa=function(a){if(a.match(/\bsavedsearch(?:es|)\b/))return Osa(a)},
Qsa=function(a){var b=/\bb\/\d+\b/;if(a.match(/\bissues?\b/)||a.match(b))return Osa(a)},Nn=function(a){if(null!=a){if(Rsa.includes(a))return a;if(Kn(a))return"hotlist";if(Psa(a))return"savedsearch";if(Qsa(a))return"issue";a=a.trim();if(3>a.length?0:a.match(/^\d+$/))return"plain-id"}},Osa=function(a){if(null!=a)return a.split(/[^\d]+/).filter(Boolean).pop()},Ssa=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(" > ")},On=function(){var a;return null==(a=document.location.search.match(/\bldap=(.*)\b/))?void 0:a[1]},Qn=function(){var a;return null!=(a=On())?a:Pn},Rn=function(a){return(null!=a?a:"").split("@")[0]},Tsa=function(a,b){b=void 0===b?Pn:b;var c,d=null==a?void 0:null==(c=a.snapshot)?void 0:c[0];c=Rn(ck(null==d?void 0:d.assigneeUser));c=b&&b===c;var e=Rn(ck(null==d?void 0:d.reporterUser));e=b&&b===e;var f;d=(null!=(f=null==
d?void 0:d.ccUsers)?f:[]).map(ck).map(Rn);b=b&&d.includes(b);var h;f=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,u;a=(null!=(u=null==a?void 0:null==(q=a.userData)?void 0:q.lastViewedTimeMicros)?u:0)/1E3;q=Date.now()-a;q=0<q&&864E5>q;u=[];c&&u.push("Assigned");e&&u.push("Reported");b&&u.push("CC'd");f&&u.push("Upvoted");h&&u.push("Starred");q&&u.push("Viewed <24h");return u.join(", ")},Sn=function(a){return!a||"0"===a},Usa=function(a){return hqa(Ok(a,
Xl,1))},Vsa=function(a){return(yj(a,Xl,1)||[]).map(hqa)},Tn=function(){return new Wsa},Xsa=function(a){var b={};if(null==a)return b;a=m(yj(a,Un,1));for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=c.getResource(),e={admin:!1,writer:!1,appender:!1,reader:!1};b[d]=b[d]||e;switch(c.getRelation()){case 1:b[d].admin=!0;break;case 2:b[d].writer=!0;break;case 3:b[d].appender=!0;break;case 4:b[d].reader=!0}}return b},Ysa=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})},Zsa=function(a){if(a&1){var b=t();E(0,"div",2)(1,"button",3);K("click",function(){v(b);var c=N();return w(c.action())});Q(2);F()()}a&2&&(a=N(),z(2),Sg(a.data.action))},$sa=function(){},ata=function(a){a&1&&(E(0,"span",6),Q(1),F());a&2&&(a=N(),z(1),Sg(a.data.message))},bta=function(a){a&1&&H(0,"span",7);a&2&&(a=N(),D("innerHtml",a.data.htmlMessage,He))},dta=function(a){if(a&1){var b=t();E(0,"button",8);K("click",function(){v(b);var c=N();return w(cta(c.snackBarRef))});
Q(1);F()}a&2&&(a=N(),z(1),R(" ",a.data.actionLabel," "))},eta=function(a){if(a&1){var b=t();E(0,"button",8);K("click",function(){v(b);var c=N();return w(c.snackBarRef.dismiss())});Q(1);F()}a&2&&(a=N(),z(1),R(" ",a.data.dismissLabel," "))},fta=function(a){if(a&1){var b=t();E(0,"button",9);K("click",function(){v(b);var c=N();return w(c.snackBarRef.dismiss())});H(1,"mat-icon",10);F()}},gta=function(a){var b;return void 0!==(null==(b=a.error)?void 0:b.message)},Vn=function(a){return!!a&&Ta(a)&&(!!a.data&&
void 0!==a.data.message||gta(a))},Wn=function(a){return a.data&&void 0!==a.data.message&&a.data&&a.data.message?a.data.message:gta(a)&&a.error&&a.error.message?a.error.message:""},Xn=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,"+")},Yn=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("xc`"+a);}},$n=function(a,b){return Zn("issues/:issueId",{id:a,params:b})},ao=function(a,b){return Zn("issues/:issueId/dependencies",{id:a,params:b})},co=function(a){return bo("issues",{params:a})},
hta=function(a){return a&&a.length?a.map(function(b){return b.toApiUrlParam()}).join(","):null},ita=function(a){return a&&a.length?a.map(function(b){return b.toApiUrlParam()}).join(","):null},jta=function(a,b){return Zn("components/:componentId/manage",{id:a,tab:b})},kta=function(a){return a?bo("settings/:settingsTab?",{id:a,token:":settingsTab?"}):bo("settings")},Zn=function(a,b){b=void 0===b?{}:b;return null==b.id?"":bo(a,b)},bo=function(a,b){var c=b=void 0===b?{}:b;b=c.id;var d=c.params,e=c.tab;
c=c.token;var f=a;null!=b&&(f=a.replace(c?c:/:\w+/,b.toString()));d&&(f=lta(f,d));e&&(f=f+"#"+e);return f},mta=function(a,b){b=(void 0===b?{}:b).comment;return{path:"/issues/"+a,fragment:b?"comment"+b:void 0}},eo=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},nta=function(a){var b={};a=(b.component=a?String(a):void 0,b);a=void 0===a?{}:a;return{path:"/issues/new",
queryParams:a}},ota=function(a){return{path:"/components/"+a}},pta=function(a){var b={};a&&(b.componentId=a);return{path:"/components",queryParams:b}},qta=function(a){return{path:"/slos/"+a+"/edit"}},rta=function(a,b,c){var d=c.path.split("/");if(d.length>a.length||"full"===c.pathMatch&&(b.hasChildren()||d.length<a.length))return null;b={};for(c=0;c<d.length;c++){var e=d[c],f=a[c];if(e.startsWith(":"))b[e.substring(1)]=f;else if(e!==f.path)return null}return{consumed:a.slice(0,d.length),posParams:b}},
fo=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],!sta(a[d],b[d]))return!1;return!0},sta=function(a,b){if(Array.isArray(a)&&Array.isArray(b)){if(a.length!==b.length)return!1;a=[].concat(r(a)).sort();var c=[].concat(r(b)).sort();return a.every(function(d,e){return c[e]===d})}return a===b},go=function(a){return(0,C.isObservable)(a)?a:We(a)?(0,C.from)(Promise.resolve(a)):(0,C.of)(a)},vta=function(a,b,c){return tta[c.paths](a.root,
b.root,c.matrixParams)&&uta[c.queryParams](a.queryParams,b.queryParams)&&!("exact"===c.fragment&&a.fragment!==b.fragment)},wta=function(a,b){return fo(a,b)},yta=function(a,b,c){if(!ho(a.segments,b.segments)||!xta(a.segments,b.segments,c)||a.numberOfChildren!==b.numberOfChildren)return!1;for(var d in b.children)if(!a.children[d]||!yta(a.children[d],b.children[d],c))return!1;return!0},zta=function(a,b){return Object.keys(b).length<=Object.keys(a).length&&Object.keys(b).every(function(c){return sta(a[c],
b[c])})},Bta=function(a,b,c){return Ata(a,b,b.segments,c)},Ata=function(a,b,c,d){if(a.segments.length>c.length)return a=a.segments.slice(0,c.length),ho(a,c)&&!b.hasChildren()&&xta(a,c,d)?!0:!1;if(a.segments.length===c.length){if(!ho(a.segments,c)||!xta(a.segments,c,d))return!1;for(var e in b.children)if(!a.children[e]||!Bta(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 ho(a.segments,e)&&xta(a.segments,e,d)&&a.children.primary?Ata(a.children.primary,
b,c,d):!1},xta=function(a,b,c){return b.every(function(d,e){return uta[c](a[e].parameters,d.parameters)})},Cta=function(a,b){return ho(a,b)&&a.every(function(c,d){return fo(c.parameters,b[d].parameters)})},ho=function(a,b){return a.length!==b.length?!1:a.every(function(c,d){return c.path===b[d].path})},Dta=function(a,b){var c=[];Object.entries(a.children).forEach(function(d){var e=m(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=
m(d);d=e.next().value;e=e.next().value;"primary"!==d&&(c=c.concat(b(e,d)))});return c},Gta=function(a){return a.segments.map(function(b){return Eta(b.path)+Fta(b.parameters)}).join("/")},io=function(a,b){if(!a.hasChildren())return Gta(a);if(b){b=a.children.primary?io(a.children.primary,!1):"";var c=[];Object.entries(a.children).forEach(function(d){var e=m(d);d=e.next().value;e=e.next().value;"primary"!==d&&c.push(d+":"+io(e,!1))});return 0<c.length?b+"("+c.join("//")+")":b}b=Dta(a,function(d,e){return"primary"===
e?[io(a.children.primary,!1)]:[e+":"+io(d,!1)]});return 1===Object.keys(a.children).length&&null!=a.children.primary?Gta(a)+"/"+b[0]:Gta(a)+"/("+b.join("//")+")"},Hta=function(a){return encodeURIComponent(a).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")},Ita=function(a){return Hta(a).replace(/%3B/gi,";")},Eta=function(a){return Hta(a).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")},Fta=function(a){return Object.keys(a).map(function(b){return";"+
Eta(b)+"="+Eta(a[b])}).join("")},Jta=function(a){var b=Object.keys(a).map(function(c){var d=a[c];return Array.isArray(d)?d.map(function(e){return Ita(c)+"="+Ita(e)}).join("&"):Ita(c)+"="+Ita(d)}).filter(function(c){return!!c});return b.length?"?"+b.join("&"):""},Lta=function(a){return(a=a.match(Kta))?a[0]:""},Mta=function(a){var b={};return 0<a.segments.length?new jo([],(b.primary=a,b)):a},Nta=function(a){for(var b={},c=m(Object.keys(a.children)),d=c.next();!d.done;d=c.next()){d=d.value;var e=Nta(a.children[d]);
if("primary"===d&&0===e.segments.length&&e.hasChildren())for(d=m(Object.entries(e.children)),e=d.next();!e.done;e=d.next()){var f=m(e.value);e=f.next().value;f=f.next().value;b[e]=f}else if(0<e.segments.length||e.hasChildren())b[d]=e}a=new jo(a.segments,b);1===a.numberOfChildren&&a.children.primary&&(b=a.children.primary,a=new jo(a.segments.concat(b.segments),b.children));return a},lo=function(a){return a instanceof ko},Ota=function(a){function b(f){for(var h={},l=m(f.children),q=l.next();!q.done;q=
l.next()){q=q.value;var u=b(q);h[q.outlet]=u}h=new jo(f.url,h);f===a&&(c=h);return h}var c,d=b(a.root);d=Mta(d);var e;return null!=(e=c)?e:d},Uta=function(a,b,c,d){for(var e=a;e.parent;)e=e.parent;if(0===b.length)return Pta(e,e,e,c,d);b=Qta(b);if(b.isAbsolute&&1===b.commands.length&&"/"==b.commands[0])return Pta(e,e,new jo([],{}),c,d);var f=e;if(b.isAbsolute)a=new Rta(f,!0,0);else if(a)if(null===a.parent)a=new Rta(a,!0,0);else{f=a;a=a.segments.length-1+(Sta(b.commands[0])?0:1);for(var h=b.numberOfDoubleDots;h>
a;){h-=a;f=f.parent;if(!f)throw new $c(4005,!1);a=f.segments.length}a=new Rta(f,!1,a-h)}else a=new Rta(f,!1,NaN);b=a.processChildren?mo(a.segmentGroup,a.index,b.commands):Tta(a.segmentGroup,a.index,b.commands);return Pta(e,a.segmentGroup,b,c,d)},Sta=function(a){return"object"===typeof a&&null!=a&&!a.outlets&&!a.segmentPath},no=function(a){return"object"===typeof a&&null!=a&&a.outlets},Pta=function(a,b,c,d,e){var f={};d&&Object.entries(d).forEach(function(h){var l=m(h);h=l.next().value;l=l.next().value;
f[h]=Array.isArray(l)?l.map(function(q){return""+q}):""+l});a=a===b?c:Vta(a,b,c);a=Mta(Nta(a));return new ko(a,f,e)},Vta=function(a,b,c){var d={};Object.entries(a.children).forEach(function(e){var f=m(e);e=f.next().value;f=f.next().value;d[e]=f===b?c:Vta(f,b,c)});return new jo(a.segments,d)},Qta=function(a){if("string"===typeof a[0]&&1===a.length&&"/"===a[0])return new Wta(!0,0,a);var b=0,c=!1;a=a.reduce(function(d,e,f){if("object"===typeof e&&null!=e){if(e.outlets){var h={};Object.entries(e.outlets).forEach(function(l){var q=
m(l);l=q.next().value;q=q.next().value;h[l]="string"===typeof q?q.split("/"):q});return[].concat(r(d),[{outlets:h}])}if(e.segmentPath)return[].concat(r(d),[e.segmentPath])}return"string"!==typeof e?[].concat(r(d),[e]):0===f?(e.split("/").forEach(function(l,q){if(0!=q||"."!==l)0==q&&""===l?c=!0:".."===l?b++:""!=l&&d.push(l)}),d):[].concat(r(d),[e])},[]);return new Wta(c,b,a)},Xta=function(a){if(no(a[0]))return a[0].outlets;var b={};return b.primary=a,b},Tta=function(a,b,c){a||(a=new jo([],{}));if(0===
a.segments.length&&a.hasChildren())return mo(a,b,c);a:{var d=a;for(var e=0,f=b,h={match:!1,pathIndex:0,commandIndex:0};f<d.segments.length;){if(e>=c.length){d=h;break a}var l=d.segments[f],q=c[e];if(no(q))break;q=""+q;var u=e<c.length-1?c[e+1]:null;if(0<f&&void 0===q)break;if(q&&u&&"object"===typeof u&&void 0===u.outlets){if(q!=l.path||!fo(u,l.parameters)){d=h;break a}e+=2}else{u={};if(q!=l.path||!fo(u,l.parameters)){d=h;break a}e++}f++}d={match:!0,pathIndex:f,commandIndex:e}}e=c.slice(d.commandIndex);
return d.match&&d.pathIndex<a.segments.length?(b=new jo(a.segments.slice(0,d.pathIndex),{}),b.children.primary=new jo(a.segments.slice(d.pathIndex),a.children),mo(b,0,e)):d.match&&0===e.length?new jo(a.segments,{}):d.match&&!a.hasChildren()?Yta(a,b,c):d.match?mo(a,0,e):Yta(a,b,c)},mo=function(a,b,c){if(0===c.length)return new jo(a.segments,{});var d=Xta(c),e={};if(!d.primary&&a.children.primary&&1===a.numberOfChildren&&0===a.children.primary.segments.length)return c=mo(a.children.primary,b,c),new jo(a.segments,
c.children);Object.entries(d).forEach(function(f){var h=m(f);f=h.next().value;h=h.next().value;"string"===typeof h&&(h=[h]);null!==h&&(e[f]=Tta(a.children[f],b,h))});Object.entries(a.children).forEach(function(f){var h=m(f);f=h.next().value;h=h.next().value;void 0===d[f]&&(e[f]=h)});return new jo(a.segments,e)},Yta=function(a,b,c){for(var d=a.segments.slice(0,b),e=0;e<c.length;){var f=c[e];if(no(f))return a=Zta(f.outlets),new jo(d,a);if(0===e&&Sta(c[0]))d.push(new oo(a.segments[b].path,$ta(c[0]))),
e++;else{f=no(f)?f.outlets.primary:""+f;var h=e<c.length-1?c[e+1]:null;f&&h&&Sta(h)?(d.push(new oo(f,$ta(h))),e+=2):(d.push(new oo(f,{})),e++)}}return new jo(d,{})},Zta=function(a){var b={};Object.entries(a).forEach(function(c){var d=m(c);c=d.next().value;d=d.next().value;"string"===typeof d&&(d=[d]);null!==d&&(b[c]=Yta(new jo([],{}),0,d))});return b},$ta=function(a){var b={};Object.entries(a).forEach(function(c){var d=m(c);c=d.next().value;d=d.next().value;return b[c]=""+d});return b},aua=function(a,
b){if(a===b.value)return b;b=m(b.children);for(var c=b.next();!c.done;c=b.next())if(c=aua(a,c.value))return c;return null},bua=function(a,b){if(a===b.value)return[b];for(var c=m(b.children),d=c.next();!d.done;d=c.next())if(d=bua(a,d.value),d.length)return d.unshift(b),d;return[]},po=function(a){var b={};a&&a.children.forEach(function(c){return b[c.value.outlet]=c});return b},eua=function(){var a=new cua("",new qo(new ro([],{},{},"",{},"primary",null,null,{}),[])),b=new so(new C.BehaviorSubject([new oo("",
{})]),new C.BehaviorSubject({}),new C.BehaviorSubject({}),new C.BehaviorSubject(""),new C.BehaviorSubject({}),"primary",null,a.root);b.snapshot=a.root;return new dua(new qo(b,[]),a)},gua=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 fua(a.slice(c))},fua=function(a){return a.reduce(function(b,c){var d=Object.assign({},b.params,c.params),
e=Object.assign({},b.data,c.data),f;b=Object.assign({},c.data,b.resolve,null==(f=c.routeConfig)?void 0:f.data,c._resolvedData);return{params:d,data:e,resolve:b}},{params:{},data:{},resolve:{}})},hua=function(a,b){b.value._routerState=a;b.children.forEach(function(c){return hua(a,c)})},iua=function(a){var b=0<a.children.length?" { "+a.children.map(iua).join(", ")+" } ":"";return""+a.value+b},jua=function(a){if(a.snapshot){var b=a.snapshot,c=a._futureSnapshot;a.snapshot=c;fo(b.queryParams,c.queryParams)||
a.queryParams.next(c.queryParams);b.fragment!==c.fragment&&a.fragment.next(c.fragment);fo(b.params,c.params)||a.params.next(c.params);a:{var d=b.url;var e=c.url;if(d.length!==e.length)d=!1;else{for(var f=0;f<d.length;++f)if(!fo(d[f],e[f])){d=!1;break a}d=!0}}d||a.url.next(c.url);fo(b.data,c.data)||a.data.next(c.data)}else a.snapshot=a._futureSnapshot,a.data.next(a._futureSnapshot.data)},kua=function(a,b){var c=fo(a.params,b.params)&&Cta(a.url,b.url),d=!a.parent!==!b.parent;return c&&!d&&(!a.parent||
kua(a.parent,b.parent))},nua=function(a,b,c){if(c&&a.shouldReuseRoute(b.value,c.value.snapshot)){var d=c.value;d._futureSnapshot=b.value;b=lua(a,b,c);return new qo(d,b)}d=mua(b.value);b=b.children.map(function(e){return nua(a,e)});return new qo(d,b)},lua=function(a,b,c){return b.children.map(function(d){for(var e=m(c.children),f=e.next();!f.done;f=e.next())if(f=f.value,a.shouldReuseRoute(d.value,f.value.snapshot))return nua(a,d,f);return nua(a,d)})},mua=function(a){return new so(new C.BehaviorSubject(a.url),
new C.BehaviorSubject(a.params),new C.BehaviorSubject(a.queryParams),new C.BehaviorSubject(a.fragment),new C.BehaviorSubject(a.data),a.outlet,a.component,a)},pua=function(a){var b=lo(a)?{redirectTo:a,navigationBehaviorOptions:void 0}:a,c=b.redirectTo;b=b.navigationBehaviorOptions;a=oua(0,a);a.url=c;a.navigationBehaviorOptions=b;return a},oua=function(a,b){var c=Error("zc`");c.ngNavigationCancelingError=!0;c.cancellationCode=a;b&&(c.url=b);return c},qua=function(a){return a&&a.ngNavigationCancelingError},
rua=function(a,b){a.providers&&!a._injector&&(a._injector=Bfa(a.providers,b,"Route: "+a.path));var c;return null!=(c=a._injector)?c:b},sua=function(a){var b=a.children&&a.children.map(sua);a=b?Object.assign({},a,{children:b}):Object.assign({},a);a.component||a.loadComponent||!b&&!a.loadChildren||!a.outlet||"primary"===a.outlet||(a.component=to);return a},uo=function(a){return a.outlet||"primary"},tua=function(a,b){var c=a.filter(function(d){return uo(d)===b});c.push.apply(c,r(a.filter(function(d){return uo(d)!==
b})));return c},vo=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},wo=function(){return cg(function(a){return(0,C.combineLatest)(a.map(function(b){return b.pipe(Rf(),bg(uua))})).pipe(B(function(b){b=m(b);for(var c=b.next();!c.done;c=b.next())if(c=c.value,
!0!==c){if(c===uua)return uua;if(!1===c||c instanceof ko)return c}return!0}),Gf(function(b){return b!==uua}),Rf())})},xo=function(a,b){var c=Symbol(),d=b.get(a,c);return d===c?"function"!==typeof a||null!==Xc(a)?b.get(a):a:d},yo=function(a,b,c,d,e){e=void 0===e?{canDeactivateChecks:[],canActivateChecks:[]}:e;var f=po(b);a.children.forEach(function(h){var l=f[h.value.outlet],q=d.concat([h.value]),u=e;u=void 0===u?{canDeactivateChecks:[],canActivateChecks:[]}:u;var x=h.value,y=l?l.value:null,G=c?c.getContext(h.value.outlet):
null;if(y&&x.routeConfig===y.routeConfig){var L=vua(y,x,x.routeConfig.runGuardsAndResolvers);L?u.canActivateChecks.push(new wua(q)):(x.data=y.data,x._resolvedData=y._resolvedData);x.component?yo(h,l,G?G.children:null,q,u):yo(h,l,c,q,u);L&&G&&G.outlet&&G.outlet.isActivated&&u.canDeactivateChecks.push(new xua(G.outlet.component,y))}else y&&zo(l,G,u),u.canActivateChecks.push(new wua(q)),x.component?yo(h,null,G?G.children:null,q,u):yo(h,null,c,q,u);delete f[h.value.outlet]});Object.entries(f).forEach(function(h){var l=
m(h);h=l.next().value;l=l.next().value;return zo(l,c.getContext(h),e)});return e},vua=function(a,b,c){if("function"===typeof c)return c(a,b);switch(c){case "pathParamsChange":return!ho(a.url,b.url);case "pathParamsOrQueryParamsChange":return!ho(a.url,b.url)||!fo(a.queryParams,b.queryParams);case "always":return!0;case "paramsOrQueryParamsChange":return!kua(a,b)||!fo(a.queryParams,b.queryParams);default:return!kua(a,b)}},zo=function(a,b,c){var d=po(a),e=a.value;Object.entries(d).forEach(function(f){var h=
m(f);f=h.next().value;h=h.next().value;e.component?b?zo(h,b.children.getContext(f),c):zo(h,null,c):zo(h,b,c)});e.component?b&&b.outlet&&b.outlet.isActivated?c.canDeactivateChecks.push(new xua(b.outlet.component,e)):c.canDeactivateChecks.push(new xua(null,e)):c.canDeactivateChecks.push(new xua(null,e))},Ao=function(a){return"function"===typeof a},yua=function(a){return a instanceof C.EmptyError||"EmptyError"===(null==a?void 0:a.name)},Bua=function(a,b){return zf(function(c){var d=c.targetSnapshot,
e=c.currentSnapshot,f=c.guards,h=f.canActivateChecks;f=f.canDeactivateChecks;return 0===f.length&&0===h.length?(0,C.of)(Object.assign({},c,{guardsResult:!0})):zua(f,d,e,a).pipe(zf(function(l){return l&&"boolean"===typeof l?Aua(d,h,a,b):(0,C.of)(l)}),B(function(l){return Object.assign({},c,{guardsResult:l})}))})},zua=function(a,b,c,d){return(0,C.from)(a).pipe(zf(function(e){return Cua(e.component,e.route,c,b,d)}),Uf(function(e){return!0!==e},!0))},Aua=function(a,b,c,d){return(0,C.from)(b).pipe(zf(function(e){var f=
C.concat;var h=e.route.parent;null!==h&&d&&d(new Dua(h));h=(0,C.of)(!0);var l=e.route;null!==l&&d&&d(new Eua(l));l=(0,C.of)(!0);return f.call(C,h,l,Fua(a,e.path,c),Gua(a,e.route,c))},1),Uf(function(e){return!0!==e},!0))},Gua=function(a,b,c){var d=b.routeConfig?b.routeConfig.canActivate:null;if(!d||0===d.length)return(0,C.of)(!0);d=d.map(function(e){return(0,C.defer)(function(){var f,h=null!=(f=vo(b))?f:c,l=xo(e,h);f=l&&Ao(l.canActivate)?l.canActivate(b,a):h.runInContext(function(){return l(b,a)});
return go(f).pipe(Uf())})});return(0,C.of)(d).pipe(wo())},Fua=function(a,b,c){var d=b[b.length-1];b=b.slice(0,b.length-1).reverse().map(function(e){var f=e.routeConfig?e.routeConfig.canActivateChild:null;return f&&0!==f.length?{node:e,guards:f}:null}).filter(function(e){return null!==e}).map(function(e){return(0,C.defer)(function(){var f=e.guards.map(function(h){var l,q=null!=(l=vo(e.node))?l:c,u=xo(h,q);h=u&&Ao(u.canActivateChild)?u.canActivateChild(d,a):q.runInContext(function(){return u(d,a)});
return go(h).pipe(Uf())});return(0,C.of)(f).pipe(wo())})});return(0,C.of)(b).pipe(wo())},Cua=function(a,b,c,d,e){var f=b&&b.routeConfig?b.routeConfig.canDeactivate:null;if(!f||0===f.length)return(0,C.of)(!0);f=f.map(function(h){var l,q=null!=(l=vo(b))?l:e,u=xo(h,q);h=u&&Ao(u.canDeactivate)?u.canDeactivate(a,b,c,d):q.runInContext(function(){return u(a,b,c,d)});return go(h).pipe(Uf())});return(0,C.of)(f).pipe(wo())},Iua=function(a,b,c){var d=b.canLoad;if(void 0===d||0===d.length)return(0,C.of)(!0);
d=d.map(function(e){var f=xo(e,a);e=f&&Ao(f.canLoad)?f.canLoad(b,c):a.runInContext(function(){return f(b,c)});return go(e)});return(0,C.of)(d).pipe(wo(),Hua())},Hua=function(){return(0,C.pipe)(eg(function(a){if(lo(a))throw pua(a);}),B(function(a){return!0===a}))},Jua=function(a,b,c){var d=b.canMatch;if(!d||0===d.length)return(0,C.of)(!0);d=d.map(function(e){var f=xo(e,a);e=f&&Ao(f.canMatch)?f.canMatch(b,c):a.runInContext(function(){return f(b,c)});return go(e)});return(0,C.of)(d).pipe(wo(),Hua())},
Bo=function(a){return(0,C.throwError)(new Kua(a))},Nua=function(a,b,c,d){var e=Lua(a,b,c);if(!e.matched)return(0,C.of)(e);d=rua(b,d);return Jua(d,b,c).pipe(B(function(f){return!0===f?e:Object.assign({},Mua)}))},Lua=function(a,b,c){if(""===b.path)return"full"===b.pathMatch&&(a.hasChildren()||0<c.length)?Object.assign({},Mua):{matched:!0,consumedSegments:[],remainingSegments:c,parameters:{},positionalParamSegments:{}};a=(b.matcher||rta)(c,a,b);if(!a)return Object.assign({},Mua);var d={},e;Object.entries(null!=
(e=a.posParams)?e:{}).forEach(function(h){var l=m(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 f;return{matched:!0,consumedSegments:a.consumed,remainingSegments:c.slice(a.consumed.length),parameters:e,positionalParamSegments:null!=(f=a.posParams)?f:{}}},Rua=function(a,b,c,d){if(0<c.length&&Oua(a,c,d)){var e=jo;a=new jo(c,a.children);c={};c.primary=a;a=m(d);for(d=a.next();!d.done;d=a.next())if(d=d.value,
""===d.path&&"primary"!==uo(d)){var f=new jo([],{});c[uo(d)]=f}c={segmentGroup:new e(b,c),slicedSegments:[]}}else if(0===c.length&&Pua(a,c,d)){b=jo;e=a.segments;f=a.children;var h={};d=m(d);for(var l=d.next();!l.done;l=d.next())if(l=l.value,Qua(a,c,l)&&!f[uo(l)]){var q=new jo([],{});h[uo(l)]=q}a=Object.assign({},f,h);c={segmentGroup:new b(e,a),slicedSegments:c}}else c={segmentGroup:new jo(a.segments,a.children),slicedSegments:c};return c},Oua=function(a,b,c){return c.some(function(d){return Qua(a,
b,d)&&"primary"!==uo(d)})},Pua=function(a,b,c){return c.some(function(d){return Qua(a,b,d)})},Qua=function(a,b,c){return(a.hasChildren()||0<b.length)&&"full"===c.pathMatch?!1:""===c.path},Sua=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)})},Tua=function(a){return(a=a.value.routeConfig)&&""===a.path},Uua=function(a){var b=[],c=new Set,d={};a=m(a);for(var e=a.next();!e.done;d={$jscomp$loop$prop$node$2233:d.$jscomp$loop$prop$node$2233},
e=a.next())d.$jscomp$loop$prop$node$2233=e.value,Tua(d.$jscomp$loop$prop$node$2233)?(e=b.find(function(f){return function(h){return f.$jscomp$loop$prop$node$2233.value.routeConfig===h.value.routeConfig}}(d)),void 0!==e?(e.children.push.apply(e.children,r(d.$jscomp$loop$prop$node$2233.children)),c.add(e)):b.push(d.$jscomp$loop$prop$node$2233)):b.push(d.$jscomp$loop$prop$node$2233);d=m(c);for(a=d.next();!a.done;a=d.next())a=a.value,e=Uua(a.children),b.push(new qo(a.value,e));return b.filter(function(f){return!c.has(f)})},
Wua=function(a,b,c,d,e,f){return zf(function(h){return(new Vua(a,b,c,d,h.extractedUrl,void 0===f?"emptyOnly":f,e)).recognize().pipe(B(function(l){return Object.assign({},h,{targetSnapshot:l.state,urlAfterRedirects:l.tree})}))})},Yua=function(a,b){return zf(function(c){var d=c.targetSnapshot,e=c.guards.canActivateChecks;if(!e.length)return(0,C.of)(c);var f=0;return(0,C.from)(e).pipe(zf(function(h){return Xua(h.route,d,a,b)},1),eg(function(){return f++}),iha(),zf(function(){return f===e.length?(0,C.of)(c):
C.EMPTY}))})},Xua=function(a,b,c,d){var e=a.routeConfig,f=a._resolve;void 0!==(null==e?void 0:e.title)&&"string"!==typeof e.title&&null!==e.title&&(f[Co]=e.title);return Zua(f,a,b,d).pipe(B(function(h){a._resolvedData=h;a.data=gua(a,c).resolve;!e||"string"!==typeof e.title&&null!==e.title||(a.data[Co]=e.title);return null}))},Zua=function(a,b,c,d){var e=$ua(a);if(0===e.length)return(0,C.of)({});var f={};return(0,C.from)(e).pipe(zf(function(h){return ava(a[h],b,c,d).pipe(Uf(),eg(function(l){f[h]=l}))}),
iha(),Vf(f),Lf(function(h){return yua(h)?C.EMPTY:(0,C.throwError)(h)}))},$ua=function(a){return[].concat(r(Object.keys(a)),r(Object.getOwnPropertySymbols(a)))},ava=function(a,b,c,d){var e,f=null!=(e=vo(b))?e:d,h=xo(a,f);a=h.resolve?h.resolve(b,c):f.runInContext(function(){return h(b,c)});return go(a)},bva=function(a){return cg(function(b){var c=a(b);return c?(0,C.from)(c).pipe(B(function(){return b})):(0,C.of)(b)})},cva=function(a){return a&&"object"===typeof a&&"default"in a?a["default"]:a},dva=
function(a,b){a.events.pipe(Gf(function(c){return c instanceof Do||c instanceof Eo||c instanceof Fo||c instanceof Go}),B(function(c){return c instanceof Do||c instanceof Go?0:c instanceof Eo&&(0===c.code||1===c.code)?2:1}),Gf(function(c){return 2!==c}),Rf()).subscribe(function(){b()})},eva=function(a){throw a;},fva=function(a,b){return b.parse("/")},gva=function(a,b){return{"\u0275kind":a,"\u0275providers":b}},hva=function(a){for(var b={},c=m(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},jva=function(a){if(!a.getType())throw Error("Ec");return{type:iva[a.getType()],customFieldId:hk(a.getCustomFieldId()),customFieldName:kk(a.getCustomFieldName())}},lva=function(a){var b=new Ho;void 0!==a.customFieldId&&b.setCustomFieldId(String(a.customFieldId));void 0!==a.customFieldName&&k(b,3,a.customFieldName);void 0!==a.type&&b.setType(kva[a.type]);return b},mva=function(a){var b=a.getField();if(!b)throw Error("Fc");if(!a.getDirection())throw Error("Gc");
return{field:jva(b),direction:1===a.getDirection()?"ASCENDING":"DESCENDING"}},nva=function(a){var b=new Io;b.setField(lva(a.field));b.setDirection("ASCENDING"===a.direction?1:2);return b},ova=function(a){var b=new Jo;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(lva));var d;b.setSortOrderList((null!=
(d=a.sortOrder)?d:[]).map(nva));void 0!==a.etag&&b.setEtag(a.etag);var e;b.setAdminUsersList((null!=(e=a.adminUsers)?e:[]).map(fk));return b},Ko=function(a){if(!a.getHotlistId())throw Error("Hc");if(!a.getName())throw Error("Ic");if(!a.getCreatedTimeMicros())throw Error("Jc");if(!a.getModifiedTimeMicros())throw Error("Kc");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(jva),sortOrder:(null!=(e=a.getSortOrderList())?e:[]).map(mva),etag:a.getEtag(),adminUsers:dk(a.getAdminUsersList())}},pva=function(a){var b;return(null!=(b=a.getHotlistsList())?b:[]).map(Ko)},qva=function(a){var b;return(null!=(b=yj(a,Jo,1))?b:[]).map(Ko)},sva=function(a){a=a.getFavorite();return{user:bk(a.getUser()),resourceType:rva[a.getResourceType()],resourceId:Number(a.getResourceId()),name:a.getName()}},
tva=function(a){var b,c;return{searchId:Number(Ck(a,1)),name:a.getName(),description:a.getDescription(),query:a.getQuery(),sortOrder:(null!=(b=a.getSortOrderList())?b:[]).map(mva),displayColumn:(null!=(c=a.getDisplayColumnList())?c:[]).map(jva),adminUsers:dk(a.getAdminUsersList())}},uva=function(a){var b;return(null!=(b=yj(a,Lo,1))?b:[]).map(tva)},vva=function(a){return{id:a.getId(),name:a.getName(),description:a.getDescription(),adminUsers:dk(a.getAdminUsersList()),starred:a.getStarred(),resourceType:a.getResourceType()}},
wva=function(a){var b;return{id:a.getId(),name:a.getName(),description:a.getDescription(),adminUsers:dk(a.getAdminUsersList()),starred:a.getStarred(),sublinks:(null!=(b=yj(a,Mo,6))?b:[]).map(vva)}},yva=function(a){var b,c,d,e;return{hotlists:(null!=(b=a.getHotlistsList())?b:[]).map(vva),bookmarkGroups:(null!=(c=a.getBookmarkGroupsList())?c:[]).map(wva),archivedHotlists:(null!=(d=yj(a,Mo,3))?d:[]).map(vva),archivedBookmarkGroups:(null!=(e=yj(a,xva,4))?e:[]).map(wva)}},Ava=function(){var a=window.defrostedResourcesJspb;
if(a&&Array.isArray(a)&&(a=yj(new zva(a),No,1))&&1===a.length)return qm(a[0])},Po=function(a){return function(){var b=Oo.getItem(a);return null==b?!1:!!JSON.parse(b)}},Bva=function(a){return function(b){!0===b?Oo.setItem(a,"1"):Oo.removeItem(a)}},Qo=function(){return Cva.performance&&Cva.PerformanceObserver&&"function"===typeof window.performance.getEntriesByType&&"function"===typeof window.performance.mark&&"function"===typeof window.performance.measure},Dva=function(a){var b=a.name;if(null!=b&&
(a=Math.round(a.duration),!isNaN(a))){var c=m(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}}},Fva=function(a){a=a.sort(function(d,e){return d.startTime-e.startTime});var b=a.find(Eva);if(null!=b){var c=b.name.split(" -> ")[1];return a.find(function(d){return d.name===c})}},Jva=function(){var a=window.performance.getEntries(),b=Fva(a);if(null==b)return[];var c=b.startTime;
return a.filter(Gva).filter(Hva).filter(Iva).filter(function(d){return d.startTime<=c})},Eva=function(a){var b=a.name;return"measure"===a.entryType&&0===b.indexOf("browserStart")},Gva=function(a){return 0!==a.name.indexOf("Zone")},Iva=function(a){return"resource"===a.entryType},Kva=function(a){return"xmlhttprequest"===a.initiatorType},Hva=function(a){return null==a.name.match(/\.html$/)},Lva=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}},Mva=function(a){if(null!=a&&!(3E4<=a.duration))return{hitType:"event",eventCategory:"cf",eventAction:a.from,eventLabel:a.to,eventValue:a.duration}},Ova=function(a){a=a.getEntries().map(Dva).map(Mva);a=m(a);for(var b=a.next();!b.done;b=a.next())Ro(b.value);setTimeout(Nva,100)},Nva=function(){if(!Pva){var a=Jva(),b=a.filter(function(c){return!Kva(c)}).reduce(Lva,Qva());So("r-until-cf","asset","count",b.count);So("r-until-cf","asset",
"transferSize",b.transferSize);So("r-until-cf","asset","duration",b.duration);So("r-until-cf","asset","cacheHitRate",b.cacheHitRate);a=a.filter(Kva).reduce(Lva,Qva());So("r-until-cf","xhr","count",a.count);So("r-until-cf","xhr","transferSize",a.transferSize);So("r-until-cf","xhr","duration",a.duration);Pva=!0}},So=function(a,b,c,d){Ro(Object.assign({},{hitType:"event",eventCategory:a},void 0!==b?{eventAction:b}:{},void 0!==c?{eventLabel:c}:{},void 0!==d?{eventValue:d}:{}))},Ro=function(a){null!=a&&
(To("location","Scrubbed Page URL"),To("title","Scrubbed Page Title"),"function"===typeof Uo.ga&&Uo.ga("send",a),Rva&&qna("[stub ga.ts] ga('send')",a))},To=function(a,b){"function"===typeof Uo.ga&&Uo.ga("set",a,b);Rva&&qna("[stub ga.ts] ga('set', '"+a+"', "+b+")")},Sva=function(){return yd.apply(0,arguments).map(String).join("__")},Tva=function(){for(var a={},b=m(Object.entries(Vo)),c=b.next();!c.done;c=b.next()){var d=m(c.value);c=d.next().value;d=d.next().value;1<d&&(a[c]=d)}return a},Uva=function(a,
b){return a+b},Vva=function(){var a=Object.values(Vo),b=a.map(function(c){return c-1}).reduce(Uva,0);a=a.reduce(Uva,0);return{total:a,redundant:b,redundancyRatio:Math.round(b/a*100)/100}},Wva=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("/")},Xva=function(a){return a instanceof Do},Yva=function(a){return a instanceof Wo},Zva=function(a){return function(b){return new C.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()})})})}},dwa=function(){var a=void 0===a?So:a;var b=Date.now(),c=Xo(b);Xo($va())!==c?a("retention","first-visit"):(c=Xo(b),Xo($va())===c&&1===awa()&&a("retention","second-visit"));a=Xo(b);Xo($va())!==a?bwa(1):(a=awa()||0,bwa(a+1));cwa(b)},Xo=function(a){if(null!=a)return(new Date(a)).toLocaleDateString()},ewa=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},fwa=function(a){var b=Object.assign({},a);a=a.issue;b=(delete b.issue,b);return Object.assign({},b,{issueId:a.issueId})},gwa=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)}},hwa=function(a){function b(){var e,f,h,l;return of(function(q){if(1==q.nextAddress){if(d||0===c.length)return q.return();
d=!0;e=[].concat(r(c));c=[];f=m(e);h=f.next()}if(3!=q.nextAddress){if(h.done)return d=!1,q.yield(b(),0);l=h.value;return q.yield(a.apply(null,r(l.args)).then(l.returnValue.resolve).catch(l.returnValue.reject),3)}h=f.next();return q.jumpTo(2)})}var c=[],d=!1;return function(){var e=yd.apply(0,arguments),f=new Wsa;c.push({args:e,returnValue:f});b();return f.promise}},iwa=function(a){var b=!1;return function(){var c=yd.apply(0,arguments);if(!b)return b=!0,a.apply(null,r(c))}},jwa=function(a){return!(null==
a||!a.relatedChildren.length)},lwa=function(a,b){var c=[].concat(r(a));a=new Set(a.map(function(h){return h.targetIssueId}));var d={};b=m(b);for(var e=b.next();!e.done;d={$jscomp$loop$prop$newItem$2241:d.$jscomp$loop$prop$newItem$2241},e=b.next())if(d.$jscomp$loop$prop$newItem$2241=e.value,!a.has(d.$jscomp$loop$prop$newItem$2241.targetIssueId)){e=c.findIndex(function(h){return function(l){return l.targetIssueId===h.$jscomp$loop$prop$newItem$2241.afterIssueId}}(d));var f=void 0;f=d.$jscomp$loop$prop$newItem$2241.afterIssueId?
-1===e?c.length:e+1:0;c.splice(f,0,d.$jscomp$loop$prop$newItem$2241);a.add(d.$jscomp$loop$prop$newItem$2241.targetIssueId)}return kwa(c)},mwa=function(a,b){return kwa(a.filter(function(c){return c.targetIssueId!==b}))},kwa=function(a){for(var b=[],c=m(a.entries()),d=c.next();!d.done;d=c.next()){var e=m(d.value);d=e.next().value;var f=e.next().value;e=void 0;d=Object.assign({},f,{afterIssueId:null==(e=a[d-1])?void 0:e.targetIssueId});null==d.afterIssueId&&delete d.afterIssueId;b.push(d)}return b},
nwa=function(a){var b=new Map,c={};a=m(a);for(var d=a.next();!d.done;c={$jscomp$loop$prop$previousOperation$2243:c.$jscomp$loop$prop$previousOperation$2243},d=a.next()){var e=d.value;d=e.issues.map(function(f){return f.issueId}).join(",");c.$jscomp$loop$prop$previousOperation$2243=b.get(d);c.$jscomp$loop$prop$previousOperation$2243?(e={newParentId:e.newParentId,newRelations:e.newRelations,issues:c.$jscomp$loop$prop$previousOperation$2243.issues,eventTimestamps:[].concat(r(c.$jscomp$loop$prop$previousOperation$2243.eventTimestamps),
r(e.eventTimestamps)),newParentChildrenSnapshot:e.newParentChildrenSnapshot,done:e.done},e.done.promise.then(c.$jscomp$loop$prop$previousOperation$2243.done.resolve).catch(function(f){return function(h){f.$jscomp$loop$prop$previousOperation$2243.done.reject(h);throw h;}}(c)),b.set(d,e)):b.set(d,e)}b=[].concat(r(b.values()));c={};a=m(b);for(d=a.next();!d.done;c={$jscomp$loop$prop$operation$1978$2245:c.$jscomp$loop$prop$operation$1978$2245},d=a.next())c.$jscomp$loop$prop$operation$1978$2245=d.value,
c.$jscomp$loop$prop$operation$1978$2245.newRelations=c.$jscomp$loop$prop$operation$1978$2245.newRelations.map(function(f){return function(h){return f.$jscomp$loop$prop$operation$1978$2245.newParentChildrenSnapshot.find(function(l){return l.targetIssueId===h.targetIssueId})}}(c));return b.sort(function(f,h){var l=f.newParentChildrenSnapshot,q=h.newParentChildrenSnapshot;f=Math.min.apply(Math,r(f.issues.map(function(u){return l.findIndex(function(x){return x.targetIssueId===u.issueId})})));h=Math.min.apply(Math,
r(h.issues.map(function(u){return q.findIndex(function(x){return x.targetIssueId===u.issueId})})));return f===h?0:f<h?-1:1})},Yo=function(a,b){b=new C.BehaviorSubject(b);a.subscribe(b);return b},Zo=function(a){var b;a.subscribe(function(c){b=c}).unsubscribe();return b},owa=function(a){a=void 0===a?[]:a;return a.map(function(b){return"teamId:"+b+"+"}).join(" OR ")},pwa=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")},qwa=function(a,b){if(null==a)return null;a=a.getRequestHook(b);return null==a?null:a},rwa=function(a){return Object.assign({},{arrays:{},descriptions:{},keys:[],objectMaps:{},objects:{},enums:{},emptyArrayIsUnset:!1},a)},swa=function(a,b){return $o(b,a)},twa=function(a,b,c){b[a]=c},uwa=function(){return{}},zwa=function(a,b){var c=new a;return null==b?c:vwa(b,wwa,xwa,ywa,a)},wwa=function(a,b){return b[a]},xwa=function(a,b,c){b.Serializable$values[a]=c},ywa=function(a){if(null==a)throw Error("Nc");
return new a},vwa=function(a,b,c,d,e){e=d(e);for(var f=Awa(a,e),h=f.arrays||{},l=f.objects||{},q=f.objectMaps||{},u={},x=m(f.keys||[]),y=x.next();!y.done;u={$jscomp$loop$prop$mapMetadata$2249:u.$jscomp$loop$prop$mapMetadata$2249},y=x.next()){y=y.value;var G=b(y,a);if(null!=G){var L=void 0;if(h.hasOwnProperty(y)){if(f.emptyArrayIsUnset&&0===G.length)continue;L=Bwa(G,b,c,d,!0,!0,h[y])}else if(l.hasOwnProperty(y))L=Bwa(G,b,c,d,!1,!0,l[y]);else if(q.hasOwnProperty(y))u.$jscomp$loop$prop$mapMetadata$2249=
q[y],L=u.$jscomp$loop$prop$mapMetadata$2249.isPropertyArray?G.map(function(M){return function(T){return Cwa(T,M.$jscomp$loop$prop$mapMetadata$2249,b,c,d)}}(u)):Cwa(G,u.$jscomp$loop$prop$mapMetadata$2249,b,c,d);else if(Array.isArray(G)){if(f.emptyArrayIsUnset&&0===G.length)continue;L=Bwa(G,b,c,d,!0,!1)}else L=G;c(y,e,L)}}return e},Cwa=function(a,b,c,d,e){for(var f={},h=m(Object.keys(a)),l=h.next();!l.done;l=h.next()){l=l.value;var q=a[l];null!=q&&(f[l]=Bwa(q,c,d,e,b.isValueArray,b.isSerializable,b.ctor))}return f},
Bwa=function(a,b,c,d,e,f,h){if(f&&null==h)throw Error("Oc");if(null==a)return a;var l;e&&f?l=a.map(function(q){return vwa(q,b,c,d,h)}):e&&!f?l=a.map(function(q){return q}):l=!e&&f?vwa(a,b,c,d,h):"object"===typeof a?JSON.parse(JSON.stringify(a)):a;return l},Awa=function(a,b){if(b instanceof ap)a=rwa(b.getPartialClassMetadata());else if(a instanceof ap)a=rwa(a.getPartialClassMetadata());else throw Error("Pc");return a},Dwa=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}},Ewa=function(a,b,c){c=void 0===c?{}:c;b=m(Object.entries(b));for(var d=b.next();!d.done;d=b.next()){var e=m(d.value);d=e.next().value;e=e.next().value;d in a&&(c[e]=a[d])}return c},Fwa=function(a,b){a&1&&(E(0,"div",1),Sd(),E(1,"svg",2)(2,"g"),H(3,"path",3),F()(),Td(),E(4,"span",4),Q(5),F()());a&2&&(a=b.ngIf,ug("aria-label",a)("title",a),z(5),Sg(a))},Gwa=function(a){a&1&&H(0,"waldo-availability-chip",1);a&2&&(a=N(),D("user",a.user),ug("coinonly",
a.coinonly))},Hwa=function(a){if(!a||!a.seconds&&!a.nanos)return null;var b=new El;a.seconds&&b.setSeconds(a.seconds);a.nanos&&b.setNanos(a.nanos);return b},bp=function(a){if(!a||!a.seconds&&!a.nanos)return null;var b=new vj;a.seconds&&b.setSeconds(a.seconds);a.nanos&&b.setNanos(a.nanos);return b},cp=function(a){if(!a)return 0;if(a instanceof vj){var b=a.getSeconds();a=a.getNanos()||0}else b=a.seconds,a=a.nanos;return 1E3*b+a/1E6},Iwa=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":""))+")"},Jwa=function(a){if(a){var b=new dp;b.setTime(a.getTime());return b}},Kwa=function(a){return a.retentionPeriod&&(a=Hwa(a.retentionPeriod))?Iwa(Math.floor(1E3*a.getSeconds()/864E5)):"indefinite"},ep=function(a){return"string"===typeof a?"buganizer.drafts."+a:"buganizer.drafts.labeled."+a.label},Lwa=function(a){if(a&1){var b=t();E(0,"button",5);K("click",function(){v(b);var c=N();return w(c.dialogRef.close(!1))});Q(1);F()}a&2&&(a=N(),z(1),R(" ",
a.cancelButtonText," "))},Mwa=function(a){var b=[],c=[].concat.apply([],r(a.map(function(e){return e.actions})));a={};c=m(c);for(var d=c.next();!d.done;a={$jscomp$loop$prop$action$2256:a.$jscomp$loop$prop$action$2256},d=c.next())a.$jscomp$loop$prop$action$2256=d.value,b.some(function(e){return function(f){return Fj(e.$jscomp$loop$prop$action$2256,f)}}(a))||b.push(a.$jscomp$loop$prop$action$2256);return b},Nwa=function(a){return Array.from(new Set([].concat.apply([],r(a.map(function(b){return b.issueIds})))))},
fp=function(){return Qf(function(a,b){return Fj(a,b)})},Owa=function(){return function(a){return a.pipe(B(function(b){return{event:b,timestamp:Date.now()}}),Kf(a.pipe(Nf(1E4,C.asapScheduler))))}},Pwa=function(a){a=void 0===a?{}:a;return Jra(Object.values(a)).sort(function(b,c){return b-c})},Twa=function(a){var b={};a=Yl(a,1,Qwa);a=m(a.entries());for(var c=a.next();!c.done;c=a.next()){var d=m(c.value);c=d.next().value;d=d.next().value;b[c]={principalType:Rwa[tk(d,1,0)],detailedUserType:Swa[tk(d,2,
0)]}}return b},Uwa=function(a,b){return a.map(function(c){return b[c]||null})},Vwa=function(){return{principalType:"NON_GAIA",detailedUserType:"NO_DETAILED_TYPE"}},Wwa=function(a,b){a&1&&(E(0,"li"),Q(1),F());a&2&&(a=b.$implicit,z(1),Sg(a))},Xwa=function(a){return a.endsWith("?")?a.slice(0,a.length-1):a},Ywa=function(a,b,c,d){c&&c.targetTime&&(c.endTime?b.push({sloBounds:c,sloMetric:d}):a.push({sloBounds:c,sloMetric:d}))},Zwa=function(a,b){return a.sloBounds.targetTime.seconds-b.sloBounds.targetTime.seconds},
$wa=function(a,b){a=new Map(a);b=m(b.entries());for(var c=b.next();!c.done;c=b.next()){var d=m(c.value);c=d.next().value;d=d.next().value;a.set(c,d)}return a},gp=function(a,b){return function(c){if(a.has(c))return a.get(c);var d=b(c);a.set(c,d);return d}},hp=function(a,b){return new Map(a.map(function(c){return[c,b(c)]}))},axa=function(a,b){return hp([].concat(r(a.keys())),function(c){return b(a.get(c))})},bxa=function(){return{startTime:Date.now(),firstActionSeen:!1,editCount:0,variations:new Set}},
cxa=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},dxa=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},exa=function(a){var b;return null==(b=Gn(a))?void 0:b.title},fxa=function(a){var b,c;return null!=(c=null==(b=Gn(a))?void 0:b.status)?c:void 0},gxa=function(a){var b,c;return null!=(c=null==(b=Gn(a))?void 0:b.priority)?c:void 0},hxa=function(a){var b,c;return null!=
(c=null==(b=Gn(a))?void 0:b.assigneeUser)?c:void 0},ixa=function(a){var b,c;return null!=(c=null==(b=Gn(a))?void 0:b.reporterUser)?c:void 0},jxa=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 ik(a)},kxa=function(a){var b;a=null==(b=Gn(a))?void 0:b.componentId;return ik(a)},lxa=function(a){var b,c;return null!=(c=null==(b=Gn(a))?void 0:b.ccUsers)?c:[]},mxa=function(a){var b,c;return null!=(c=null==(b=Gn(a))?void 0:b.issueAccessLimitLevel)?
c:"LIMIT_NONE"},nxa=function(a){var b,c;return null!=(c=null==(b=Gn(a))?void 0:b.collaboratorsUsers)?c:[]},oxa=function(a){var b,c;return null!=(c=null==(b=Gn(a))?void 0:b.type)?c:void 0},pxa=function(a){var b,c;return null!=(c=null==(b=Gn(a))?void 0:b.foundInVersion)?c:[]},qxa=function(a){var b,c;return null!=(c=null==(b=Gn(a))?void 0:b.targetedToVersion)?c:[]},rxa=function(a){var b,c;return null!=(c=null==(b=Gn(a))?void 0:b.changelist)?c:[]},sxa=function(a){var b,c;return null!=(c=null==(b=Gn(a))?
void 0:b.postmortems)?c:[]},txa=function(a){var b;return(null==(b=Gn(a))?void 0:b.inProd)||!1},uxa=function(a){var b;return null==(b=Gn(a))?void 0:b.effort},vxa=function(a){var b,c;return null==a?void 0:null==(b=a.issue)?void 0:null==(c=b.aggregatedData)?void 0:c.voteCount},wxa=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},yxa=function(a){return xxa(null==a?void 0:a.issue)},xxa=function(a){var b,c;return null!=(c=null==(b=Bn(a))?void 0:
b.isDeleted)?c:!1},Axa=function(a){return zxa(null==a?void 0:a.issue)},zxa=function(a){var b;return null==a?void 0:null==(b=a.accessLimit)?void 0:b.accessLevel},Bxa=function(a){var b;return(a=null==a?void 0:null==(b=a.issue)?void 0:b.aggregatedData)&&Math.round(a.modifiedTimeMicros/1E3)},Dxa=function(a){return Cxa(null==a?void 0:a.issue)},Cxa=function(a){var b,c;return null!=(c=null==(b=Bn(a))?void 0:b.retention)?c:void 0},Exa=function(a){var b,c;return null!=(c=null==(b=Gn(a))?void 0:b.duplicateOfIssueId)?
c:void 0},Gxa=function(a){return Fxa(null==a?void 0:a.issue)},Fxa=function(a){var b,c;return null!=(c=null==a?void 0:null==(b=a.aggregatedData)?void 0:b.retentionState)?c:void 0},Hxa=function(a){var b;return ik(null==a?void 0:null==(b=a.issue.aggregatedData)?void 0:b.sloId)},Ixa=function(a){var b;return null==a?void 0:null==(b=a.issue.aggregatedData)?void 0:b.createdTimeMicros},Jxa=function(a){return null==a?void 0:a.effortSpec},Kxa=function(a){a=Jxa(a);return!(!a||!a.name&&!a.inherit)},Lxa=function(a){return null==
a?void 0:a.componentPathInfo},Mxa=function(a){if(!a)return{};var b,c=m(null!=(b=a.match(RegExp("comment([0-9]+)")))?b:[]);c.next();b=c.next().value;var d;a=m(null!=(d=a.match(RegExp("comment[0-9]+version([0-9]+)")))?d:[]);a.next();d=a.next().value;return{commentNumber:hk(b),commentVersion:hk(d)}},ip=function(a){return!!a&&Nxa.test(a)&&!Oxa.test(a)},Qxa=function(a){a=void 0===a?"":a;return a.endsWith("@prod.google.com")||a.endsWith("-robots@google.com")||Pxa(a)},Pxa=function(a){return Rxa.some(function(b){return a.endsWith(b)})},
Sxa=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}},Txa=function(a){return a?Wj(a.replace(/_/g," ").toLowerCase()):""},Uxa=function(a){return a?a.join(", "):""},Vxa=function(a,b){if(!a)return jp("");if(!b)return jp(a);b=b.split(" ").map(Rna);b=b.filter(function(h){return!!h});b=b.map(kp);if(0===b.length)return jp(a);
b=new RegExp("(\\W|^)("+b.join("|")+")(\\w*)","i");for(var c=[];a;){var d=b.exec(a);if(!d){c.push(a);break}var e=d.index+d[1].length,f=d[2];d=d[3];c.push(a.substring(0,e));c.push(lp("b",{},f));c.push(d);a=a.substring(e+f.length+d.length)}return mp(c)},Wxa=function(a){return a?"Yes":"No"},Xxa=function(a){var b;a?b=Array.isArray(a)&&a.every(Ona)?a.join(" > "):a.componentPathInfo&&a.componentPathInfo.componentPathName?a.componentPathInfo.componentPathName.join(" > "):"":b="";return b},Yxa=function(a){return a?
a.pathNames?a.pathNames.join(" > "):"":""},Zxa=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},np=function(a){if(a&&ip(a))return a},op=function(a){return null==a?"":String(a)},$xa=function(a){var b;return null!=(b=null==a?void 0:a.filter(function(c){return!!c.trim()}).join(", "))?b:""},pp=function(a){return a?ka(a,"@")?a:"[Deleted User]"===a?a:a+"@google.com":""},aya=
function(a,b){a=void 0===a?"":a;b=void 0===b?48:b;var c=void 0===c?"...":c;var d=[].concat(r(a));if(d.length<=b)return a;a=b-[].concat(r(c)).length;d=d.slice(0,a).join("");null!=String.prototype.trimEnd&&(d=d.trimEnd());return d+c},bya=function(a){a=void 0===a?"":a;var b=new Set([].concat(r('!"#$%&()*+,-./:;<=>?@[\\]^_`{|}~\t\n')));a=[].concat(r(a)).map(function(c){return b.has(c)?" ":c}).join("").trim();return 0===a.length?[]:a.split(/[\s]+/g)},cya=function(a){return a.split("").every(function(b){return 1===
b.length&&0<=b.charCodeAt(0)&&255>=b.charCodeAt(0)})},eya=function(a){if(null!=a){a=[].concat(r(a)).slice(0,100);a=m(a);for(var b=a.next();!b.done;b=a.next())if(b=dya[b.value])return b}},fya=function(a){if(a.includes('"')||a.includes("'"))return[];var b=[].concat(r(a.matchAll(RegExp("(^|[;,\\-\\s])+(\\d+)","g"))));if(b.length)return b.map(function(c){c=m(c);c.next();c.next();return c.next().value});a=[].concat(r(a.matchAll(RegExp("(b|b-qa|issues)\\/(\\d+)","g"))));return a.length?a.map(function(c){c=
m(c);c.next();c.next();return c.next().value}):[]},gya=function(a){return a.customFieldValue?String(a.customFieldValue.customFieldId):a.fieldName},iya=function(a){if(null==hya){var b="undefined"!==typeof document?document.head:null;hya=!(!b||!b.createShadowRoot&&!b.attachShadow)}return hya&&(a=a.getRootNode?a.getRootNode():null,"undefined"!==typeof ShadowRoot&&ShadowRoot&&a instanceof ShadowRoot)?a:null},jya=function(a){if(a&1){var b=t();E(0,"div",0);K("clickOutside",function(){v(b);var c=N();return w(c.closeHovercard$.next())})("mouseenter",
function(){v(b);N().isOnHover$.next(!0);return w()})("mouseleave",function(){v(b);N().isOnHover$.next(!1);return w()});Og(1);F()}a&2&&(a=N(),Gg(a.className),D("cdkTrapFocusAutoCapture",a.wasTriggeredByKeyboard))},kya=function(a){a&1&&H(0,"img",9);a&2&&(a=N(),D("src",a.person.imageUrl,Ie)("alt",a.person.name+"'s profile picture"))},lya=function(a){a&1&&(E(0,"div",10),Q(1),F());a&2&&(a=N(),z(1),R(" ",a.person.email," "))},mya=function(a){a&1&&(E(0,"div",11)(1,"onedev-chip",12),H(2,"mat-icon",13),Q(3),
F()());a&2&&(a=N(),z(3),R("",a.outOfOfficeDescription," "))},nya=function(a){a&1&&(E(0,"li"),Q(1),F());a&2&&(a=N(2),z(1),Sg(a.person.title))},oya=function(a){a&1&&H(0,"li",18)},pya=function(a){a&1&&(E(0,"li"),Q(1),F());a&2&&(a=N(2),z(1),Sg(a.person.department))},qya=function(a){a&1&&(I(0),H(1,"mat-icon",14),E(2,"div",15)(3,"ul",16),P(4,nya,2,1,"li",8),P(5,oya,1,0,"li",17),P(6,pya,2,1,"li",8),F()(),J());a&2&&(a=N(),z(4),D("ngIf",a.person.title),z(1),D("ngIf",a.person.title&&a.person.department),z(1),
D("ngIf",a.person.department))},rya=function(a){a&1&&(I(0),H(1,"mat-icon",19),E(2,"div",15),Q(3),F(),J());a&2&&(a=N(),z(3),Sg(a.person.location))},sya=function(a){a&1&&(E(0,"li")(1,"a",21),Q(2,"Teams"),F()());a&2&&(a=N(2),z(1),D("href","https://moma.corp.google.com/person/"+a.person.ldap,Ie))},tya=function(a){a&1&&H(0,"li",18)},uya=function(a){a&1&&(I(0),H(1,"mat-icon",20),E(2,"div",15)(3,"ul",16),P(4,sya,3,1,"li",8),P(5,tya,1,0,"li",17),E(6,"li")(7,"a",21),Q(8,"Whostory"),F()(),H(9,"li",18),E(10,
"li")(11,"a",21),Q(12,"Calendar"),F()(),H(13,"li",18),E(14,"li")(15,"a",21),Q(16,"CLs"),F()(),H(17,"li",18),E(18,"li")(19,"a",21),Q(20,"Readability"),F()()()(),J());a&2&&(a=N(),z(4),D("ngIf",a.person.title||a.person.department),z(1),D("ngIf",a.person.title||a.person.department),z(2),D("href","https://whostory.corp.google.com/"+a.person.ldap,Ie),z(4),D("href","https://www.google.com/calendar/embed?src="+a.person.email+"&mode=WEEK&showCalendars=0",Ie),z(4),D("href","https://critique.corp.google.com/"+
a.person.ldap,Ie),z(4),D("href","https://icanread.corp.google.com/s/"+a.person.ldap,Ie))},wya=function(a){return a&&vya.test(a)?a.split("@")[0]:""},xya=function(a){return a?a.find(function(b){var c;return"DOMAIN_PROFILE"===(null==(c=b.metadata)?void 0:c.container)}):null},yya=function(a){return a?a.find(function(b){var c;return"DOMAIN_PROFILE"===(null==(c=b.metadata)?void 0:c.container)}):null},zya=function(a,b){return a.map(function(c,d){var e,f,h,l=null==b?void 0:null==(e=b.matches)?void 0:null==
(f=e[d])?void 0:null==(h=f.personId)?void 0:h[0];if(!l)return{ldap:wya(c),name:"",email:c};var q;d=null==b?void 0:null==(q=b.people)?void 0:q[l];var u;l=null==(u=yya(null==d?void 0:d.email))?void 0:u.value;var x,y;u=null==d?void 0:null==(x=d.name)?void 0:null==(y=x[0])?void 0:y.displayName;var G,L;x=null==d?void 0:null==(G=d.photo)?void 0:null==(L=G[0])?void 0:L.url;y=xya(null==d?void 0:d.organization);G=null==y?void 0:y.title;L=null==y?void 0:y.department;y=null==y?void 0:y.location;return{ldap:wya(l),
email:l||c||"",name:u||"",imageUrl:x,title:G,department:L,location:y}})},Aya=function(a,b){a&1&&(E(0,"onedev-person-hovercard-body",1),U(1,"async"),Og(2,0,["ngProjectAs","onedev-hovercard-action",5,["onedev-hovercard-action"]]),Og(3,1,["ngProjectAs","[onedev-additional-content]",5,["","onedev-additional-content",""]]),F());a&2&&(a=b.ngIf,b=N(),D("person",a)("outOfOfficeDescription",V(1,2,b.outOfOfficeDescription$)))},Bya=function(a){a&1&&(E(0,"onedev-person-hovercard",1,2),Og(2,0,["ngProjectAs","onedev-hovercard-action",
5,["onedev-hovercard-action"]]),F());if(a&2){var b=O(1);a=N();D("email",a.email)("enableWaldo",!0)("onedevIsHovercardReady",b.init)}},Cya=function(a){a&1&&Kg(0)},Dya=function(a){a&1&&(I(0),E(1,"span",2),P(2,Cya,1,0,"ng-container",3),F(),E(3,"onedev-hovercard",null,4),H(5,"b-person-card",5),F(),J());if(a&2){var b=O(4);a=N();var c=O(2);z(1);D("onedevHovercardTrigger",b)("onedevHovercardActive",!!a.email);z(1);D("ngTemplateOutlet",c);z(3);D("email",a.email)}},Eya=function(a){a&1&&Og(0)},Hya=function(a){if(a&
1){var b=t();I(0,3);E(1,"onedev-hovercard-action",4);K("onAction",function(){v(b);var e=N();return w(Fya(e))});U(2,"async");E(3,"span");Q(4);F()();E(5,"onedev-hovercard-action",4);K("onAction",function(){v(b);var e=N();return w(Gya(e))});U(6,"async");E(7,"span");Q(8);F()();J()}if(a&2){a=N();var c,d;z(1);D("disabled",null!==(c=V(2,4,a.actionService.assigneeUpdating$))&&void 0!==c?c:!1);z(3);Sg(a.email!==a.currentAssignee?"Set as assignee":"Remove assignee");z(1);D("disabled",null!==(d=V(6,6,a.actionService.ccUpdating$))&&
void 0!==d?d:!1);z(3);Sg(a.currentCc.includes(a.email)?"Remove from CCs":"Add to CCs")}},Iya=function(a){a&1&&(I(0),H(1,"b-availability-chip",3),J());a&2&&(a=N(2).ngIf,z(1),D("user",a.email))},Jya=function(a){a&1&&(I(0),Q(1),J(),P(2,Iya,2,1,"ng-container",0));if(a&2){a=N().ngIf;var b=N();z(1);Sg(a.content);z(1);D("ngIf",b.enableWaldoAvailability&&b.availabilityChipEnabled)}},Kya=function(a){a&1&&Kg(0)},Lya=function(a){a&1&&(I(0),E(1,"span",4),P(2,Kya,1,0,"ng-container",5),F(),E(3,"onedev-hovercard",
null,6),H(5,"b-issue-person-card",7),F(),J());if(a&2){var b=O(4);a=N().ngIf;var c=O(2),d=N();z(1);D("onedevHovercardTrigger",b);ug("tabindex",d.hovercardEnabled&&d.hovercardFocusEnabled?"0":null);z(1);D("ngTemplateOutlet",c);z(3);D("email",a.email)}},Mya=function(a,b){a&1&&(I(0),P(1,Jya,3,2,"ng-template",null,1,qh),P(3,Lya,6,4,"ng-container",2),J());if(a&2){a=b.ngIf;var c=O(2);b=N();z(3);D("ngIf",b.hovercardEnabled&&b.isNonObfuscatedEmail(a.email))("ngIfElse",c)}},Nya=function(a){a&1&&Kg(0)},Oya=
function(a){a&1&&(I(0),E(1,"span",3),P(2,Nya,1,0,"ng-container",4),F(),E(3,"onedev-hovercard",null,5),H(5,"b-issue-person-card",6),F(),J());if(a&2){var b=O(4);a=N().ngIf;var c=O(3);z(1);D("onedevHovercardTrigger",b);z(1);D("ngTemplateOutlet",c);z(3);D("email",a.email)}},Qya=function(a){a&1&&(I(0),H(1,"img",8),J());a&2&&(a=N(2).ngIf,N(),z(1),D("src",Pya[a.email],Ie))},Rya=function(a){a&1&&H(0,"img",11);a&2&&(a=N(3).ngIf,D("src",a.src,Ie)("srcset",a.srcset))},Sya=function(a){a&1&&(E(0,"span",9),P(1,
Rya,1,2,"img",10),F());a&2&&(a=N(2).ngIf,Fg("anonymous",!a.showImage),z(1),D("ngIf",a.showImage))},Uya=function(a){a&1&&(P(0,Qya,2,1,"ng-container",0),P(1,Sya,2,3,"span",7));if(a&2){a=N().ngIf;var b=N();D("ngIf",a.email&&Tya(b,a.email));z(1);D("ngIf",!Tya(b,a.email))}},Vya=function(a,b){a&1&&(I(0),P(1,Oya,6,3,"ng-container",1),P(2,Uya,2,2,"ng-template",null,2,qh),J());if(a&2){a=b.ngIf;var c=O(3);b=N();z(1);D("ngIf",b.isNonObfuscatedEmail(a.email))("ngIfElse",c)}},Wya=function(a){if(a&1){var b=t();
E(0,"div",6)(1,"button",7);K("click",function(){v(b);N(2).onDismiss.emit();return w()});E(2,"mat-icon",8);Q(3);F()()()}if(a&2){a=N(2);var c;z(1);D("matTooltip",null!==(c=a.dismissTooltip)&&void 0!==c?c:"")("disabled",a.disableDismiss);z(2);R(" ",a.dismissIcon," ")}},Xya=function(a){a&1&&(E(0,"span"),Q(1,"Unassigned"),F())},Yya=function(a){a&1&&H(0,"b-user-image",12);a&2&&(a=N(3),D("email",(null==a.issue.snapshot[0].assigneeUser?null:a.issue.snapshot[0].assigneeUser.emailAddress)||""))},Zya=function(a){a&
1&&H(0,"b-user-display-name",13);a&2&&(a=N(3),D("email",a.issue.snapshot[0].assigneeUser.emailAddress||""))},$ya=function(a){a&1&&(E(0,"div",9),P(1,Xya,2,0,"span",0),P(2,Yya,1,1,"b-user-image",10),P(3,Zya,1,1,"b-user-display-name",11),F());a&2&&(a=N(2),z(1),D("ngIf",!a.issue.snapshot[0].assigneeUser),z(1),D("ngIf",a.issue.snapshot[0].assigneeUser),z(1),D("ngIf",a.issue.snapshot[0].assigneeUser))},aza=function(a,b){a&1&&(I(0),E(1,"span"),Q(2),F(),J());a&2&&(a=b.$implicit,b=N(3),z(1),Ig("chippy status-",
a," margin-s-right"),z(1),R(" ",b.STATUS_TERSE[a]," "))},bza=function(a){a&1&&H(0,"b-issue-priority-display",16);a&2&&(a=N(3),D("issuePriority",a.issue.snapshot[0].priority))},cza=function(a){a&1&&(E(0,"span"),Q(1),U(2,"enumToHuman"),F());a&2&&(a=N(3),z(1),R(" ",V(2,1,a.issue.snapshot[0].type)," "))},dza=function(a){a&1&&(E(0,"div",14),P(1,aza,3,4,"ng-container",0),P(2,bza,1,1,"b-issue-priority-display",15),P(3,cza,3,3,"span",0),F());a&2&&(a=N(2),z(1),D("ngIf",a.convertIssueStatusStrToTag(a.issue.snapshot[0].status)),
z(1),D("ngIf",!a.onlyTitle),z(1),D("ngIf",!a.onlyTitle))},eza=function(a){a&1&&H(0,"mat-icon",20);a&2&&(a=N(3),D("svgIcon",a.moreInfoIconSvg))},fza=function(a){a&1&&(E(0,"mat-icon",21),Q(1),F());a&2&&(a=N(3),z(1),Sg(a.moreInfoIcon))},gza=function(a){a&1&&(I(0),E(1,"div"),P(2,eza,1,1,"mat-icon",17),P(3,fza,2,1,"mat-icon",18),E(4,"span",19),Q(5),F()(),J());a&2&&(a=N(2),z(1),Ig("more-info padded-s-top margin-s-top ",a.moreInfoAccentColor,""),z(1),D("ngIf",a.moreInfoIconSvg),z(1),D("ngIf",a.moreInfoIcon),
z(2),Sg(a.moreInfoMessage))},hza=function(a){a&1&&(I(0),E(1,"div",1)(2,"a",2),Q(3),F()(),P(4,Wya,4,3,"div",3),P(5,$ya,4,3,"div",4),P(6,dza,4,3,"div",5),P(7,gza,6,6,"ng-container",0),J());a&2&&(a=N(),z(2),Pg("href","/issues/",a.issue.issueId,"",Ie),z(1),Tg(" ",a.issue.snapshot[0].title," (",a.issue.issueId,") "),z(1),D("ngIf",a.dismissIcon),z(1),D("ngIf",!a.onlyTitle),z(1),D("ngIf",!a.onlyTitle),z(1),D("ngIf",a.moreInfoMessage&&!a.onlyTitle))},iza=function(a,b){a&1&&(I(0),E(1,"time",1),U(2,"async"),
Q(3),F(),J());if(a&2){a=b.ngIf;b=N();z(1);var c=vg(t(),"padding-left: ",b.paddingLeftPx,"px");qia(oia,pia,c,!1);D("title",a.title);ug("datetime",V(2,6,b.timestampIso$));z(2);Sg(a.formatted)}},jza=function(a){a&1&&H(0,"div",2)},kza=function(a){a&1&&(I(0),Og(1),J())},lza=function(a){a&1&&(E(0,"b-person-hovercard",3),Q(1),F());a&2&&(a=N(),D("email",a.assignee),z(1),R(" ",a.assignee," "))},mza=function(a){a&1&&Q(0,"--")},nza=function(a){a&1&&H(0,"b-formatted-date-time",3);a&2&&(a=N(),D("mode",a.mode)("timestamp",
a.createdTime))},oza=function(a){a&1&&Q(0,"--")},pza=function(a){a&1&&(E(0,"b-person-hovercard",3),Q(1),F());a&2&&(a=N(),D("email",a.reporter),z(1),R(" ",a.reporter," "))},qza=function(a){a&1&&Q(0,"--")},rza=function(a,b){a&1&&(E(0,"div",3),Q(1),F());a&2&&(a=b.$implicit,b=N(),Ig("chippy status-",a,""),D("title",b.STATUS_FULL_TEXT[a]),z(1),R(" ",b.STATUS_TERSE[a]," "))},sza=function(a){a&1&&Q(0,"--")},tza=function(a){if(a&1){var b=t();E(0,"a",15);K("click",function(){v(b);var c=N();return w(c.trackClick("viewTeamAssociationOnComponent"))});
E(1,"button",11);Q(2,"View team association on component");F()()}a&2&&(a=N(),D("href",a.manageComponentLink(),Ie))},uza=function(a){if(a&1){var b=t();E(0,"a",6);K("click",function(){v(b);var d=N(2);return w(d.trackClick("viewTeamInMoma"))});E(1,"span");Q(2);H(3,"mat-icon",7);F()()}if(a&2){a=N(2);var c=O(3);Pg("href","https://moma.corp.google.com/team/",a.teamId,"",Ie);D("onedevHovercardTrigger",c);ug("aria-labelledby",a.linkAriaLabelledBy())("aria-label",(a.teamName?a.teamName:a.teamId)+" - link opens in a new tab");
z(1);ug("id",a.teamLinkId);z(1);R("",a.teamName?a.teamName:a.teamId," ")}},vza=function(a){a&1&&(E(0,"span",8),Q(1),F());if(a&2){a=N(2);var b=O(3);D("onedevHovercardTrigger",b);z(1);Sg(a.teamName?a.teamName:a.teamId)}},wza=function(a){a&1&&(I(0),P(1,uza,4,6,"a",4),P(2,vza,2,2,"span",5),J());a&2&&(a=N(),z(1),D("ngIf",a.anchorLinkEnabled),z(1),D("ngIf",!a.anchorLinkEnabled))},xza=function(a){a&1&&H(0,"span",11)},yza=function(a){a&1&&(E(0,"span"),Q(1),F());a&2&&(a=N(2),z(1),Sg(a.teamNotAssignedMessage))},
zza=function(a){a&1&&(P(0,xza,1,0,"span",9),P(1,yza,2,1,"span",10));a&2&&(a=N(),D("ngIf","0"!=a.teamId),z(1),D("ngIf","0"==a.teamId))},Aza=function(a){a&1&&H(0,"b-team-display",3);a&2&&(a=N(),D("teamId",a.teamId)("componentId",a.componentId)("anchorLinkEnabled",!1))},Bza=function(a){a&1&&Q(0,"--")},Cza=function(a){a&1&&(I(0),Q(1," Trackers are distinct communities with their own branding. "),J())},Dza=function(a){a&1&&(E(0,"a",12),Q(1,"Learn More"),F())},Eza=function(a){a&1&&(I(0),E(1,"button",1),
H(2,"img",2)(3,"img",3),E(4,"span",4),Q(5),F()(),E(6,"onedev-hovercard",null,5)(8,"div",6)(9,"div",7)(10,"span",8),Q(11),P(12,Cza,2,0,"ng-container",0),F(),E(13,"div",9)(14,"a",10),Q(15),F(),P(16,Dza,2,0,"a",11),F()()()(),J());if(a&2){var b=O(7);a=N();z(1);Fg("xs",a.compactMode);D("onedevHovercardTrigger",b)("onedevHovercardActive",a.showHovercard);z(1);D("src",a.logoLight,Ie);z(1);D("src",a.logoDark,Ie);z(2);Sg(a.name);z(6);R(" This component or issue is part of ",a.extendedName,". ");z(1);D("ngIf",
!a.isGlobalBuganizer);z(2);D("href",a.redirectUrl,Ie);z(1);R("View ",a.extendedName,"");z(1);D("ngIf",!a.isGlobalBuganizer)}},Fza=function(a){a&1&&(H(0,"b-tracker-chip",1),U(1,"async"));a&2&&(a=N(),D("tracker",V(1,4,a.tracker$)||void 0)("compactMode",a.compactMode)("showHovercard",a.showHovercard)("isGlobalBuganizer",a.isGlobalBuganizer))},Gza=function(a){if(a&1){var b=t();I(0);E(1,"span");Q(2);F();E(3,"a",4);K("keydown",function(c){v(b);N();"Enter"===c.key&&c.stopPropagation();return w()})("click",
function(c){return c.stopPropagation()});H(4,"mat-icon",5);F();J()}a&2&&(a=N(),z(2),Sg(a.title||"--"),z(1),D("routerLink","/"+a.link)("target",a.anchorTarget))},Hza=function(a){if(a&1){var b=t();E(0,"a",6);K("keydown",function(c){v(b);N();"Enter"===c.key&&c.stopPropagation();return w()})("click",function(c){return c.stopPropagation()});Q(1);F()}a&2&&(a=N(),D("routerLink","/"+a.link)("target",a.anchorTarget),z(1),Sg(a.title||"--"))},Iza=function(a){a&1&&(I(0),Q(1),U(2,"enumToHuman"),J());a&2&&(a=N(),
z(1),Sg(V(2,1,a.type)))},Jza=function(a){a&1&&Q(0,"--")},Kza=function(a){a&1&&(E(0,"button",5,6),H(2,"mat-icon",7),F());if(a&2){a=N();var b=O(2);D("matTooltip",a.buttonLabel)("matMenuTriggerFor",b);ug("aria-label",a.buttonLabel);z(2);D("svgIcon",a.buttonIcon)}},Lza=function(a){a&1&&(E(0,"div",8),Q(1),F());a&2&&(a=N(),z(1),Sg(a.header))},Mza=function(a){a&1&&H(0,"mat-icon",7);a&2&&(a=N(2).$implicit,D("svgIcon",a.icon))},Nza=function(a){a&1&&(E(0,"span",14),Q(1),F());a&2&&(a=N(2).$implicit,z(1),Sg(a.hintText))},
Oza=function(a){a&1&&H(0,"mat-icon",7);a&2&&(a=N(2).$implicit,D("svgIcon",a.icon))},Pza=function(a){a&1&&(E(0,"span",14),Q(1),F());a&2&&(a=N(2).$implicit,z(1),Sg(a.hintText))},Qza=function(a){if(a&1){var b=t();E(0,"button",17);K("click",function(d){v(b);var e=N().$implicit,f=N(3);return w(f.onAction(d,e))})("mouseup",function(d){v(b);var e=N().$implicit,f=N(3);return w(f.onAction(d,e))});P(1,Oza,1,1,"mat-icon",11);Q(2);P(3,Pza,2,1,"span",12);F()}if(a&2){a=N().$implicit;var c=N(2).$implicit;D("disabled",
a.disabled)("ngClass",c.className);ug("title",a.title);z(1);D("ngIf",a.icon);z(1);R(" ",a.label," ");z(1);D("ngIf",a.hintText)}},Rza=function(a){if(a&1){var b=t();E(0,"button",18);K("click",function(d){v(b);var e=N().$implicit,f=N(3);return w(f.onAction(d,e))})("mouseup",function(d){v(b);var e=N().$implicit,f=N(3);return w(f.onAction(d,e))});E(1,"span",19);H(2,"mat-icon",20);F();Q(3);F()}if(a&2){a=N().$implicit;var c=N(2).$implicit;Fg("b-menu-item-checked",a.selected);D("disabled",a.disabled)("ngClass",
c.className);ug("title",a.title);z(3);R(" ",a.label," ")}},Sza=function(a,b){a&1&&(I(0),P(1,Qza,4,6,"button",15),P(2,Rza,4,6,"button",16),J());a&2&&(a=b.$implicit,z(1),D("ngIf","action"===a.type),z(1),D("ngIf","select"===a.type))},Tza=function(a){a&1&&(I(0),E(1,"button",10),P(2,Mza,1,1,"mat-icon",11),Q(3),P(4,Nza,2,1,"span",12),F(),E(5,"mat-menu",null,13),P(7,Sza,3,2,"ng-container",4),F(),J());if(a&2){var b=O(6);a=N().$implicit;var c=N();z(1);D("matMenuTriggerFor",b);z(1);D("ngIf",a.icon);z(1);R(" ",
a.label," ");z(1);D("ngIf",a.hintText);z(3);D("ngForOf",a.items)("ngForTrackBy",c.trackByIndex)}},Uza=function(a){a&1&&H(0,"mat-icon",7);a&2&&(a=N(3).$implicit,D("svgIcon",a.icon))},Vza=function(a){a&1&&(E(0,"span",14),Q(1),F());a&2&&(a=N(3).$implicit,z(1),Sg(a.hintText))},Wza=function(a){if(a&1){var b=t();E(0,"button",17);K("click",function(c){v(b);var d=N(2).$implicit,e=N();return w(e.onAction(c,d))})("mouseup",function(c){v(b);var d=N(2).$implicit,e=N();return w(e.onAction(c,d))});P(1,Uza,1,1,
"mat-icon",11);Q(2);P(3,Vza,2,1,"span",12);F()}a&2&&(a=N(2).$implicit,D("disabled",a.disabled)("ngClass",a.className),ug("title",a.title),z(1),D("ngIf",a.icon),z(1),R(" ",a.label," "),z(1),D("ngIf",a.hintText))},Xza=function(a){if(a&1){var b=t();E(0,"button",18);K("click",function(c){v(b);var d=N(2).$implicit,e=N();return w(e.onAction(c,d))})("mouseup",function(c){v(b);var d=N(2).$implicit,e=N();return w(e.onAction(c,d))});E(1,"span",19);H(2,"mat-icon",20);F();Q(3);F()}a&2&&(a=N(2).$implicit,Fg("b-menu-item-checked",
a.selected),D("disabled",a.disabled)("ngClass",a.className),ug("title",a.title)("aria-label",a.label+" results per page"),z(3),R(" ",a.label," "))},Yza=function(a){a&1&&(I(0),P(1,Wza,4,6,"button",15),P(2,Xza,4,7,"button",16),J());a&2&&(a=N().$implicit,z(1),D("ngIf","action"===a.type),z(1),D("ngIf","select"===a.type))},Zza=function(a,b){a&1&&(I(0),P(1,Tza,8,6,"ng-container",9),P(2,Yza,3,2,"ng-container",9),J());a&2&&(a=b.$implicit,z(1),D("ngIf","submenu"===a.type),z(1),D("ngIf","submenu"!==a.type))},
$za=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}},aAa=function(a,b,c){var d=a.bottom,e=a.left,f=a.right;return c>=a.top&&c<=d&&b>=e&&b<=f},qp=function(a,b,c){a.top+=b;a.bottom=a.top+a.height;a.left+=c;a.right=a.left+a.width},bAa=function(a,b,c){var d=a.right,e=a.bottom,f=a.left,h=.05*a.width,l=.05*a.height;return c>a.top-l&&c<e+l&&b>f-h&&b<d+h},fAa=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?cAa(a,b):("input"===d||"select"===d||"textarea"===d)&&dAa(a,b);eAa("canvas",a,b,cAa);eAa("input, textarea, select",a,b,dAa);return b},eAa=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])},dAa=function(a,b){"file"!==b.type&&(b.value=a.value);"radio"===b.type&&b.name&&(b.name="mat-clone-"+b.name+"-"+gAa++)},cAa=function(a,
b){if(b=b.getContext("2d"))try{b.drawImage(a,0,0)}catch(c){}},hAa=function(a,b,c){for(var d in b)if(b.hasOwnProperty(d)){var e=b[d];if(e){var f=void 0;a.setProperty(d,e,(null==(f=c)?0:f.has(d))?"important":"")}else a.removeProperty(d)}},rp=function(a,b){var c=b?"":"none";hAa(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})},jAa=function(a,b){hAa(a.style,
{position:b?"":"fixed",top:b?"":"0",opacity:b?"":"0",left:b?"":"-999em"},iAa)},kAa=function(a,b){return b&&"none"!=b?a+" "+b:a},lAa=function(a){var b=-1<a.toLowerCase().indexOf("ms")?1:1E3;return parseFloat(a)*b},nAa=function(a){a=getComputedStyle(a);var b=mAa(a,"transition-property"),c=b.find(function(d){return"transform"===d||"all"===d});if(!c)return 0;b=b.indexOf(c);c=mAa(a,"transition-duration");a=mAa(a,"transition-delay");return lAa(c[b])+lAa(a[b])},mAa=function(a,b){return a.getPropertyValue(b).split(",").map(function(c){return c.trim()})},
oAa=function(a,b){return"translate3d("+Math.round(a)+"px, "+Math.round(b)+"px, 0)"},sp=function(a){return"t"===a.type[0]},pAa=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},qAa=function(a,b){a.style.width=b.width+"px";a.style.height=b.height+"px";a.style.transform=oAa(b.left,b.top)},tp=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}},rAa=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},sAa=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},tAa=function(a){var b=function(){var c=a.apply(this,[].concat(r(yd.apply(0,arguments))))||this;c._sticky=!1;c._hasStickyChanged=!1;return c};W(b,a);b.prototype.hasStickyChanged=function(){var c=this._hasStickyChanged;this._hasStickyChanged=
!1;return c};b.prototype.resetStickyChanged=function(){this._hasStickyChanged=!1};Xi.Object.defineProperties(b.prototype,{sticky:{configurable:!0,enumerable:!0,get:function(){return this._sticky},set:function(c){var d=this._sticky;this._sticky=bi(c);this._hasStickyChanged=d!==this._sticky}}});return b},uAa=function(a,b){return a.concat(Array.from(b))},vAa=function(a){a&1&&(E(0,"th",22),Q(1," Id "),F())},wAa=function(a,b){a&1&&(E(0,"td",23),Q(1),F());a&2&&(a=b.$implicit,z(1),R(" ",a.issueId," "))},
xAa=function(a){a&1&&(E(0,"th",22),Q(1," Priority "),F())},yAa=function(a,b){a&1&&(E(0,"td",23),H(1,"b-issue-priority-display",24),F());a&2&&(a=b.$implicit,z(1),D("issuePriority",a.snapshot[0].priority))},zAa=function(a){a&1&&(E(0,"th",22),Q(1," Title "),F())},AAa=function(a,b){a&1&&(E(0,"td",23),H(1,"b-issue-title-cell",25),F());a&2&&(a=b.$implicit,z(1),D("issue",a))},BAa=function(a){a&1&&(E(0,"th",22),Q(1," Type "),F())},CAa=function(a,b){a&1&&(E(0,"td",23),H(1,"b-issue-type-cell",26),F());a&2&&
(a=b.$implicit,z(1),D("issue",a))},DAa=function(a){a&1&&(E(0,"th",22),Q(1," Status "),F())},EAa=function(a,b){a&1&&(E(0,"td",23),H(1,"b-issue-status-cell",26),F());a&2&&(a=b.$implicit,z(1),D("issue",a))},FAa=function(a){a&1&&(E(0,"th",22),Q(1," Team "),F())},GAa=function(a,b){a&1&&(E(0,"td",23),H(1,"b-issue-team-cell",26),F());a&2&&(a=b.$implicit,z(1),D("issue",a))},HAa=function(a){a&1&&(E(0,"th",27),Q(1),F());a&2&&(a=N(2),z(1),R(" ","avatar-in-progress"===a.assigneeMode?"":"Assignee"," "))},IAa=
function(a){a&1&&(I(0),E(1,"b-person-hovercard",31),Q(2),F(),J());if(a&2){a=N(2).$implicit;var b=N(2);z(1);D("email",b.getAssigneeString(a));z(1);R(" ",b.ldapOnly(b.getAssigneeString(a))," ")}},JAa=function(a){a&1&&(I(0),P(1,IAa,3,2,"ng-container",0),J());a&2&&(a=N().$implicit,z(1),D("ngIf",a))},KAa=function(a,b){a&1&&H(0,"b-user-image",31);a&2&&D("email",b.$implicit)},LAa=function(a){a&1&&(I(0),P(1,KAa,1,1,"b-user-image",32),J());if(a&2){a=N(2).$implicit;var b=N(2);z(1);D("ngIf",b.getAssigneeString(a))}},
MAa=function(a){a&1&&(I(0),P(1,LAa,2,1,"ng-container",0),J());a&2&&(a=N().$implicit,z(1),D("ngIf",a))},NAa=function(a,b){a&1&&H(0,"b-user-image",31);a&2&&D("email",b.$implicit)},OAa=function(a){a&1&&(I(0),P(1,NAa,1,1,"b-user-image",32),J());if(a&2){a=N(3).$implicit;var b=N(2);z(1);D("ngIf",b.getAssigneeString(a))}},PAa=function(a){a&1&&(I(0),P(1,OAa,2,1,"ng-container",0),J());if(a&2){a=N(2).$implicit;var b=N(2);z(1);D("ngIf",b.isInProgress(a))}},QAa=function(a){a&1&&(I(0),P(1,PAa,2,1,"ng-container",
0),J());a&2&&(a=N().$implicit,z(1),D("ngIf",a))},RAa=function(a){a&1&&H(0,"b-issue-assignee-cell",26);a&2&&(a=N().$implicit,D("issue",a))},SAa=function(a){a&1&&(E(0,"td",23),I(1,28),P(2,JAa,2,1,"ng-container",29),P(3,MAa,2,1,"ng-container",29),P(4,QAa,2,1,"ng-container",29),P(5,RAa,1,1,"b-issue-assignee-cell",30),J(),F());a&2&&(a=N(2),z(1),D("ngSwitch",a.assigneeMode),z(1),D("ngSwitchCase","short"),z(1),D("ngSwitchCase","avatar"),z(1),D("ngSwitchCase","avatar-in-progress"))},TAa=function(a){a&1&&
(E(0,"th",33),Q(1," Reporter "),F())},UAa=function(a,b){a&1&&(E(0,"td",23),H(1,"b-issue-reporter-cell",26),F());a&2&&(a=b.$implicit,z(1),D("issue",a))},VAa=function(a){a&1&&(E(0,"th",34),Q(1," Created "),F())},WAa=function(a,b){a&1&&(E(0,"td",23),H(1,"b-issue-created-time-cell",26),F());a&2&&(a=b.$implicit,z(1),D("issue",a))},XAa=function(a){a&1&&(E(0,"th",35),Q(1," Last Modified "),F())},YAa=function(a){a&1&&H(0,"b-formatted-date-time",38);a&2&&(a=N().$implicit,D("timestamp",a.aggregatedData.modifiedTimeMicros/
1E3))},ZAa=function(a){a&1&&Q(0,"--")},$Aa=function(a,b){a&1&&(E(0,"td",23),P(1,YAa,1,1,"b-formatted-date-time",36),P(2,ZAa,1,0,"ng-template",null,37,qh),F());if(a&2){a=b.$implicit;var c=O(3);z(1);D("ngIf",a.aggregatedData.modifiedTimeMicros)("ngIfElse",c)}},aBa=function(a){a&1&&H(0,"th",22)},bBa=function(a,b){a&1&&(E(0,"td",23)(1,"b-actions-menu",39),K("click",function(c){return c.stopPropagation()}),F()());a&2&&(a=b.$implicit,b=N(2),z(1),D("menuItems",b.getMenuItems(a)))},cBa=function(a){a&1&&(E(0,
"th",43),Q(1),F());if(a&2){a=N(2).$implicit;var b=N(2);z(1);R(" ",b.COLUMN_TITLES.get(a)," ")}},dBa=function(a){a&1&&Kg(0)},fBa=function(a,b){a&1&&(E(0,"td",23),P(1,dBa,1,0,"ng-container",44),F());a&2&&(a=b.$implicit,b=N().ngIf,z(1),D("ngTemplateOutlet",b)("ngTemplateOutletContext",Xg(2,eBa,a)))},gBa=function(a){a&1&&(I(0,41),P(1,cBa,2,1,"th",42),P(2,fBa,2,4,"td",4),J());a&2&&(a=N().$implicit,Qg("matColumnDef",a))},hBa=function(a,b){a&1&&(I(0),P(1,gBa,3,1,"ng-container",40),J());a&2&&(a=b.$implicit,
b=N(2),z(1),D("ngIf",b.getViewCellTemplate(a)))},iBa=function(a){a&1&&H(0,"tr",45)},jBa=function(a){a&1&&H(0,"issue-card-compact",26);a&2&&(a=N().$implicit,D("issue",a))},kBa=function(a,b){if(a&1){var c=t();E(0,"tr",46);K("click",function(d){var e=v(c).$implicit,f=N(2);return w(f.navigateToIssue(d,e))})("mouseup",function(d){var e=v(c).$implicit,f=N(2);return w(f.navigateToIssue(d,e))});P(1,jBa,1,1,"issue-card-compact",47);F()}a&2&&(a=b.$implicit,b=N(2),Fg("highlighted",!!b.getUserInvolvement(a)))},
mBa=function(a,b){a&1&&(I(0),E(1,"table",1),I(2,2),P(3,vAa,2,0,"th",3),P(4,wAa,2,1,"td",4),J(),I(5,5),P(6,xAa,2,0,"th",3),P(7,yAa,2,1,"td",4),J(),I(8,6),P(9,zAa,2,0,"th",3),P(10,AAa,2,1,"td",4),J(),I(11,7),P(12,BAa,2,0,"th",3),P(13,CAa,2,1,"td",4),J(),I(14,8),P(15,DAa,2,0,"th",3),P(16,EAa,2,1,"td",4),J(),I(17,9),P(18,FAa,2,0,"th",3),P(19,GAa,2,1,"td",4),J(),I(20,10),P(21,HAa,2,1,"th",11),P(22,SAa,6,4,"td",4),J(),I(23,12),P(24,TAa,2,0,"th",13),P(25,UAa,2,1,"td",4),J(),I(26,14),P(27,VAa,2,0,"th",15),
P(28,WAa,2,1,"td",4),J(),I(29,16),P(30,XAa,2,0,"th",17),P(31,$Aa,4,2,"td",4),J(),I(32,18),P(33,aBa,1,0,"th",3),P(34,bBa,2,1,"td",4),J(),P(35,hBa,2,1,"ng-container",19),P(36,iBa,1,0,"tr",20),P(37,kBa,2,2,"tr",21),F(),J());a&2&&(a=b.ngIf,b=N(),z(1),D("dataSource",b.displayedIssues$)("trackBy",b.trackByIssueLastModified)("cdkDropListConnectedTo",Wg(7,lBa))("cdkDropListData",a),z(34),D("ngForOf",b.customColumns),z(1),D("matHeaderRowDef",b.displayedColumns),z(1),D("matRowDefColumns",b.displayedColumns))},
oBa=function(a,b){b?(b=rqa(b))?(void 0!==a.tagName&&Tka(a),a.innerHTML=im(b)):nBa(a):nBa(a)},nBa=function(a){for(;a.lastChild;)a.lastChild.remove()},pBa=function(a){for(a=a.firstChild;a;){if(a.nodeType!==Node.TEXT_NODE)return!1;a=a.nextSibling}return!0},up=function(a){return a.endsWith("px")?Math.floor(Number(a.substr(0,a.length-2))):Number.NaN},qBa=function(a){return a.ctrlKey||a.metaKey||a.shiftKey||a.altKey},rBa=function(a){a&1&&(E(0,"div",4),Kg(1,5),F());a&2&&(a=N(),D("onedevIsHovercardReady",
a.hovercardReady))},sBa=function(a,b){a&1&&(E(0,"span",9),Q(1," by "),H(2,"b-user-display-name",10),F());a&2&&(a=b.ngIf,z(2),D("email",a)("hovercardEnabled",!1))},tBa=function(a,b){a&1&&(E(0,"div")(1,"span"),Q(2),F(),H(3,"b-formatted-date-time",11),F());a&2&&(a=b.ngIf,b=N().ngIf,z(2),Sg(b.pending?"Created on: ":"Submitted on: "),z(1),D("timestamp",a))},uBa=function(a,b){a&1&&(I(0),H(1,"br"),Q(2),J());a&2&&(a=b.$implicit,z(2),R("",a," "))},vBa=function(a,b){a&1&&(I(0),E(1,"div",3)(2,"a",4),Q(3," CL "),
E(4,"span"),Q(5),F()(),P(6,sBa,3,2,"span",5),H(7,"br")(8,"br"),P(9,tBa,4,2,"div",2),E(10,"div",6),H(11,"div",7)(12,"br"),E(13,"div"),Q(14," Affected files: "),P(15,uBa,3,1,"ng-container",8),F()()(),J());a&2&&(a=b.ngIf,b=N(),z(2),D("href","http://critique.corp.google.com/"+b.changelistId,Ie),z(3),Sg(b.changelistId),z(1),D("ngIf",a.author),z(3),D("ngIf",a.timestamp),z(2),D("innerHTML",a.description,He),z(4),D("ngForOf",a.affectedFiles))},wBa=function(a){a&1&&H(0,"b-changelist-card",3,4);if(a&2){var b=
O(1);a=N();D("onedevIsHovercardReady",b.init)("changelistId",a.changelistId)}},xBa=function(a){a&1&&H(0,"b-user-display-name",2);a&2&&(a=N(),D("email",a.getEmailAddress())("hovercardEnabled",!1)("availabilityChipEnabled",a.availabilityChipEnabled)("hovercardFocusEnabled",a.hovercardFocusEnabled))},yBa=function(a){a&1&&(E(0,"span"),Q(1),F());a&2&&(a=N(),z(1),Sg(a.getDisplayString()))},zBa=function(a){a&1&&(I(0),E(1,"div",9),H(2,"b-user-display",10),Q(3," submitted "),H(4,"b-changelist-link",11),Q(5,
" for "),E(6,"b-issue-reference-widget",12),Q(7),F(),H(8,"b-formatted-date-time",13),F(),E(9,"p",14),Q(10),F(),J());if(a&2){a=N().$implicit;var b=N(2);z(2);D("model",b.clAuthorToUser(a.event));z(2);D("changelistId",b.getClNumber(a.event));z(2);D("href",b.getIssueDetailsUrl(a.issueId))("issueId",a.issueId);z(1);R("b/",a.issueId,"");z(1);D("timestamp",a.event.modifiedDate);z(2);Sg(b.clEventToClDescription(a.event))}},ABa=function(a){a&1&&(I(0),E(1,"div",9),H(2,"b-user-display",10),Q(3," commented on "),
E(4,"b-issue-reference-widget",12),Q(5),F(),H(6,"b-formatted-date-time",13),F(),E(7,"p",14),Q(8),F(),J());if(a&2){a=N().$implicit;var b=N(2);z(2);D("model",a.event.userPerformingActionUser);z(2);D("href",b.getIssueDetailsUrl(a.issueId))("issueId",a.issueId);z(1);R("b/",a.issueId,"");z(1);D("timestamp",a.event.modifiedDate);z(2);Sg(a.event.unlinkifiedComment)}},BBa=function(a){a&1&&(I(0),E(1,"div",9),H(2,"b-user-display",10),Q(3," changed priority for "),E(4,"b-issue-reference-widget",12),Q(5),F(),
H(6,"b-formatted-date-time",13),F(),E(7,"p",15),Q(8,"Priority changed from "),H(9,"b-issue-priority-display",16),Q(10," to "),H(11,"b-issue-priority-display",16),F(),J());if(a&2){a=N().$implicit;var b=N(2);z(2);D("model",a.event.userPerformingActionUser);z(2);D("href",b.getIssueDetailsUrl(a.issueId))("issueId",a.issueId);z(1);R("b/",a.issueId,"");z(1);D("timestamp",a.event.modifiedDate);z(3);D("issuePriority",b.toIssuePriority(b.getPreviousDiffValue(a.event,"priority")));z(2);D("issuePriority",b.toIssuePriority(b.getNewDiffValue(a.event,
"priority")))}},CBa=function(a){a&1&&(I(0),E(1,"div",9),H(2,"b-user-display",10),Q(3," changed status for "),E(4,"b-issue-reference-widget",12),Q(5),F(),H(6,"b-formatted-date-time",13),F(),E(7,"p",15),Q(8),F(),J());if(a&2){a=N().$implicit;var b=N(2);z(2);D("model",a.event.userPerformingActionUser);z(2);D("href",b.getIssueDetailsUrl(a.issueId))("issueId",a.issueId);z(1);R("b/",a.issueId,"");z(1);D("timestamp",a.event.modifiedDate);z(2);Tg("Status changed from ",b.getPreviousDiffValue(a.event,"status"),
" to ",b.getNewDiffValue(a.event,"status"),"")}},DBa=function(a){a&1&&(I(0),E(1,"div",9),H(2,"b-user-display",10),Q(3," created new issue "),E(4,"b-issue-reference-widget",12),Q(5),F(),H(6,"b-formatted-date-time",13),F(),E(7,"p",14),Q(8),F(),J());if(a&2){a=N().$implicit;var b=N(2);z(2);D("model",a.event.userPerformingActionUser);z(2);D("href",b.getIssueDetailsUrl(a.issueId))("issueId",a.issueId);z(1);R("b/",a.issueId,"");z(1);D("timestamp",a.event.modifiedDate);z(2);Sg(""===a.event.unlinkifiedComment?
"No description":a.event.unlinkifiedComment)}},EBa=function(a){a&1&&(I(0),E(1,"div",9),H(2,"b-user-display",10),Q(3," fixed "),E(4,"b-issue-reference-widget",12),Q(5),F(),Q(6," with "),H(7,"b-changelist-link",11)(8,"b-formatted-date-time",13),F(),E(9,"p",14),Q(10),F(),J());if(a&2){a=N().$implicit;var b=N(2);z(2);D("model",b.clAuthorToUser(a.event));z(2);D("href",b.getIssueDetailsUrl(a.issueId))("issueId",a.issueId);z(1);R("b/",a.issueId,"");z(2);D("changelistId",b.getClNumber(a.event));z(1);D("timestamp",
a.event.modifiedDate);z(2);Sg(b.clEventToClDescription(a.event))}},FBa=function(a){a&1&&(I(0),E(1,"div",9),H(2,"b-user-display",10),Q(3),F(),J());a&2&&(a=N().$implicit,z(2),D("model",a.event.userPerformingActionUser),z(1),R(" updated ",a.issueId," "))},GBa=function(a,b){a&1&&(E(0,"div",4)(1,"div"),H(2,"b-user-image",5),F(),E(3,"div"),I(4,6),P(5,zBa,11,7,"ng-container",7),P(6,ABa,9,6,"ng-container",7),P(7,BBa,12,7,"ng-container",7),P(8,CBa,9,7,"ng-container",7),P(9,DBa,9,6,"ng-container",7),P(10,EBa,
11,7,"ng-container",7),P(11,FBa,4,2,"ng-container",8),J(),F()());a&2&&(a=b.$implicit,b=b.last,N(2),Fg("margin-xs-bottom",!b),z(2),D("email","changelist"===a.eventType||"changelistFixed"===a.eventType?Jn(a.event)+"@google.com":ck(a.event.userPerformingActionUser)),z(2),D("ngSwitch",a.eventType),z(1),D("ngSwitchCase","changelist"),z(1),D("ngSwitchCase","comment"),z(1),D("ngSwitchCase","priority"),z(1),D("ngSwitchCase","status"),z(1),D("ngSwitchCase","newIssue"),z(1),D("ngSwitchCase","changelistFixed"))},
HBa=function(a,b){a&1&&(I(0),E(1,"p",1),Q(2),F(),E(3,"div",2),P(4,GBa,12,10,"div",3),F(),J());a&2&&(a=b.ngIf,b=N(),z(2),Sg(b.title),z(2),D("ngForOf",a)("ngForTrackBy",b.trackByEventModifiedTime))},JBa=function(a){if(a&1){var b=t();I(0);E(1,"button",17);K("click",function(){v(b);var c=N();c.numEventsDisplayed+=3;return w()});Q(2);F();J()}a&2&&(a=N(),z(2),R("Show ",IBa(a)," more "))},KBa=function(a){a&1&&(Sd(),E(0,"svg",11),H(1,"circle",12),F());a&2&&(a=N(),ug("viewBox",a._viewBox()),z(1),Eg("stroke-dasharray",
a._strokeCircumference(),"px")("stroke-dashoffset",a._strokeCircumference()/2,"px")("stroke-width",a._circleStrokeWidth(),"%"),ug("r",a._circleRadius()))},LBa=function(){return{diameter:100}},MBa=function(a){a&1&&(Sd(),H(0,"circle",4));if(a&2){a=N();var b=O(1);Eg("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));ug("r",a._getCircleRadius())}},NBa=function(a){a&1&&(Sd(),H(0,"circle",4));if(a&2){a=N();var b=O(1);Eg("stroke-dashoffset",a._getStrokeDashOffset(),"px")("stroke-dasharray",a._getStrokeCircumference(),"px")("stroke-width",a._getCircleStrokeWidth(),"%")("transform-origin",a._getCircleTransformOrigin(b));ug("r",a._getCircleRadius())}},OBa=function(a){a&1&&H(0,"mat-spinner",2);a&2&&D("diameter",36)},PBa=function(a){a&1&&H(0,"mat-spinner",3);a&2&&D("diameter",16)("strokeWidth",
2)},QBa=function(a){a&1&&(E(0,"div",27),H(1,"img",28),Q(2,"\u00a0 "),E(3,"a",29),Q(4),F()());if(a&2){a=N().ngIf;var b=N(3);z(3);D("href",b.makeCritiqueUrl(a.clIds,a.pendingChangeLists),Ie);z(1);R("",a.clIds.length+a.pendingChangeLists.length," CLs")}},RBa=function(a,b){a&1&&H(0,"b-user-image",30);a&2&&D("email",b.$implicit)},SBa=function(a,b){a&1&&(E(0,"div",21)(1,"div",22),P(2,QBa,5,2,"div",23),F(),P(3,RBa,1,1,"b-user-image",24),U(4,"slice"),E(5,"button",25),H(6,"mat-icon",26),F()());if(a&2){a=b.ngIf;
N(2);var c=O(18);z(2);D("ngIf",0<a.clIds.length||0<a.pendingChangeLists.length);z(1);D("ngForOf",ah(4,3,a.contributors,0,10));z(2);D("matMenuTriggerFor",c)}},TBa=function(a){a&1&&(I(0),P(1,SBa,7,7,"div",20),U(2,"async"),J());a&2&&(a=N(2),z(1),D("ngIf",V(2,1,a.projectData$)))},UBa=function(a,b){a&1&&(E(0,"div",34),H(1,"div",35),Q(2),U(3,"number"),F());if(a&2){a=b.$implicit;b=N().$implicit;var c=N(3);Rg("title","",b.totalCount-b.openCount," of ",b.totalCount," tasks complete");z(1);ug("style",c.makePie(a/
100),bfa);z(1);R(" ",$g(3,4,a,"1.0-0"),"% Complete ")}},WBa=function(a){a&1&&(E(0,"a",29),Q(1),F());if(a&2){a=N(2).$implicit;var b=N(3);D("href",b.makeCritiqueUrl(Wg(2,VBa),a.pendingChangeLists),Ie);z(1);R("(",a.pendingChangeLists.length," pending)")}},XBa=function(a){a&1&&(E(0,"div",27),H(1,"img",28),Q(2,"\u00a0 "),E(3,"a",29),Q(4),F(),Q(5," \u00a0 "),P(6,WBa,2,3,"a",36),F());if(a&2){a=N().$implicit;var b=N(3);z(3);D("href",b.makeCritiqueUrl(a.clIds,a.pendingChangeLists),Ie);z(1);R("",a.clIds.length+
a.pendingChangeLists.length," CLs");z(2);D("ngIf",0<a.pendingChangeLists.length)}},YBa=function(a,b){a&1&&(E(0,"div",32),P(1,UBa,4,7,"div",33),P(2,XBa,7,3,"div",23),F());a&2&&(a=b.$implicit,z(1),D("ngIf",(a.totalCount-a.openCount)/a.totalCount*100),z(1),D("ngIf",0<a.clIds.length||0<a.pendingChangeLists.length))},ZBa=function(a){a&1&&(I(0),P(1,YBa,3,2,"div",31),U(2,"async"),J());a&2&&(a=N(2),z(1),D("ngIf",V(2,1,a.projectData$)))},$Ba=function(a,b){a&1&&(I(0),H(1,"flat-issues-table",40),J());a&2&&(a=
b.ngIf,b=N(3),z(1),D("issueIds",a)("displayedColumns",b.columnsToDisplay)("assigneeMode","avatar-in-progress"))},aCa=function(a){a&1&&(E(0,"div",37),P(1,$Ba,2,3,"ng-container",11),U(2,"slice"),U(3,"async"),E(4,"div",38)(5,"a",39),Q(6,"View all issues"),F()()());if(a&2){a=N().ngIf;var b=N();z(1);D("ngIf",ah(2,2,V(3,6,b.hotlistIssueIds$),0,10));z(4);Pg("href","/hotlists/",a.hotlistId,"",Ie)}},bCa=function(a){a&1&&(I(0),H(1,"activity-stream",43),U(2,"async"),J());a&2&&(a=N(3),z(1),D("activityEvents",
V(2,1,a.hotlistActivityEvents$)))},cCa=function(a){a&1&&H(0,"b-spinner")},dCa=function(a){a&1&&(E(0,"footer"),H(1,"hr"),P(2,bCa,3,3,"ng-container",41),U(3,"async"),P(4,cCa,1,0,"ng-template",null,42,qh),F());if(a&2){var b=O(5);a=N(2);z(2);D("ngIf",V(3,2,a.hotlistActivityEvents$))("ngIfElse",b)}},eCa=function(a,b){if(a&1){var c=t();E(0,"div",1)(1,"header",2)(2,"aside",3)(3,"div",4)(4,"button",5);K("click",function(){var d=v(c).ngIf,e=N();return w(vp(e.hackyPrefs,"hotlist-"+d.hotlistId))});Q(5,"Add");
F()()();E(6,"div",6)(7,"span",7)(8,"a",8);Q(9);F();E(10,"i",9);K("click",function(){var d=v(c).ngIf,e=N();return w(wp(e.hackyPrefs,"hotlist-"+d.hotlistId))});F()();E(11,"span",10);Q(12);F()();P(13,TBa,3,3,"ng-container",11);F();P(14,ZBa,3,3,"ng-container",11);P(15,aCa,7,8,"div",12);P(16,dCa,6,4,"footer",11);E(17,"mat-menu",null,13)(19,"button",14);K("click",function(){var d=v(c).ngIf,e=N();return w(e.reorder(d.hotlistId,-1))});H(20,"mat-icon",15);E(21,"span",16);Q(22,"Move up");F()();E(23,"button",
14);K("click",function(){var d=v(c).ngIf,e=N();return w(e.reorder(d.hotlistId,1))});H(24,"mat-icon",17);E(25,"span",16);Q(26,"Move down");F()();H(27,"mat-divider");E(28,"button",18);K("click",function(){var d=v(c).ngIf,e=N();return w(e.removeHotlist(d.hotlistId))});H(29,"mat-icon",19);E(30,"span",16);Q(31,"Remove from My Projects");F()()()()}a&2&&(a=b.ngIf,b=N(),Fg("collapsed",b.isCollapsed(a))("add-mode",b.addMode),z(8),Pg("href","/hotlists/",a.hotlistId,"",Ie),z(1),R(" ",a.name," "),z(3),R(" hotlists/",
a.hotlistId," "),z(1),D("ngIf",!b.addMode),z(1),D("ngIf",!b.isCollapsed(a)),z(1),D("ngIf",!b.isCollapsed(a)),z(1),D("ngIf",!b.isCollapsed(a)),z(3),D("disabled",!b.canMove(a.hotlistId,-1)),z(4),D("disabled",!b.canMove(a.hotlistId,1)))},fCa=function(a,b){a&1&&(I(0),H(1,"hotlist-as-project-card",9),J());a&2&&(a=b.$implicit,z(1),D("hotlistId",a)("addMode",!0))},gCa=function(a){a&1&&(E(0,"p",3),Q(1,"No hotlists found."),F())},hCa=function(a){if(a&1){var b=t();E(0,"button",10);K("click",function(){v(b);
var c=N(2);return w(c.suggestionCount=2*c.suggestionCount)});Q(1," Show more ");F()}},iCa=function(a,b){a&1&&(I(0),E(1,"div",2)(2,"p",3)(3,"a",4),H(4,"mat-icon",5),F(),Q(5," Hotlists from your recent issues. "),F(),P(6,fCa,2,2,"ng-container",6),U(7,"slice"),P(8,gCa,2,0,"p",7),P(9,hCa,2,0,"button",8),F(),J());a&2&&(a=b.ngIf,b=N(),z(6),D("ngForOf",ah(7,3,a,b.skipFirstSuggestion?1:0,b.suggestionCount)),z(2),D("ngIf",0===a.length),z(1),D("ngIf",a.length>b.suggestionCount&&!b.disableShowMore))},jCa=function(a){a&
1&&(E(0,"p",3),H(1,"b-spinner"),Q(2," Loading Hotlist suggestions... "),F())},kCa=function(){return yd.apply(0,arguments).filter(Boolean).join(" AND ")},xp=function(a,b,c){c=void 0===c?!1:c;if(!b)return"";Array.isArray(b)||(b=[b]);b=b.filter(nk);return 0===b.length?"":a+":("+b.join("|")+")"+(c?"+":"")},lCa=function(a){return a instanceof yp?a:new yp(a,{})},zp=function(a){a=lCa(a);return new yp(a.char,Object.assign({},a.modifiers,{shift:!0}))},mCa=function(a){a=lCa(a);return new yp(a.char,Object.assign({},
a.modifiers,{ctrl:!0}))},nCa=function(){var a=zp("f");a=lCa(a);return new yp(a.char,Object.assign({},a.modifiers,{alt:!0}))},pCa=function(a){if(a instanceof yp){var b=oCa(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(pCa).join(" "):oCa(a)},Ap=function(){return yd.apply(0,arguments)},oCa=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 jj(a)}},qCa=function(a){return a.keys.join("-")+"-"+a.description+"-"+a.displayAs},rCa=function(a){if(a&1){var b=t();E(0,"div",0);K("keydown",function(c){v(b);var d=N();return w(d.processKeydown(c))});Og(1);F()}a&2&&(a=N(),Gg(a.className),ug("id",a.id))},sCa=function(a){a&1&&H(0,"mat-icon",3)},
tCa=function(a){a&1&&(E(0,"span",25),Q(1),F());a&2&&(a=N(3),z(1),Sg(a.HOTKEYS.COPY_ISSUE_ID.displayAs))},uCa=function(a){a&1&&(E(0,"span",25),Q(1),F());a&2&&(a=N(4),z(1),Sg(a.HOTKEYS.COPY_ISSUE_SHORTLINK.displayAs))},vCa=function(a){if(a&1){var b=t();E(0,"div",11)(1,"label",12);Q(2,"Issue shortlink");F();E(3,"input",26,27);K("onHotkey",function(){v(b);var d=O(4),e=N(3);return w(Bp(e,d))})("focus",function(){v(b);var d=O(4);return w(d.select())});F();P(5,uCa,2,1,"span",15);E(6,"button",28);K("onHotkey",
function(){v(b);var d=O(4),e=N(3);return w(Bp(e,d))})("click",function(){v(b);var d=O(4),e=N(3);return w(Bp(e,d))});H(7,"mat-icon",17);F()()}if(a&2){var c=O(4);a=N(3);z(1);D("htmlFor",c.id);z(2);D("hotkey",a.HOTKEYS.COPY_ISSUE_SHORTLINK)("hotkeyEnabled",a.enableHotkeys);ug("value",a.getAppBaseUrl().replace(/^.*?:\/\//,""));z(2);D("ngIf",a.enableHotkeys);z(1);D("hotkey",a.HOTKEYS.COPY_ISSUE_SHORTLINK)("hotkeyEnabled",a.enableHotkeys)}},wCa=function(a){a&1&&(E(0,"span",25),Q(1),F());a&2&&(a=N(3),z(1),
Sg(a.HOTKEYS.COPY_ISSUE_URL.displayAs))},xCa=function(a){a&1&&(E(0,"span",25),Q(1),F());a&2&&(a=N(3),z(1),Sg(a.HOTKEYS.COPY_ISSUE_TITLE.displayAs))},yCa=function(a){a&1&&(E(0,"span",25),Q(1),F());a&2&&(a=N(4),z(1),Sg(a.HOTKEYS.COPY_ISSUE_EMAIL_ADDRESS.displayAs))},ACa=function(a){if(a&1){var b=t();E(0,"div",11)(1,"label",12);Q(2,"Issue email");F();E(3,"input",29,30);K("onHotkey",function(){v(b);var d=O(4),e=N(3);return w(Bp(e,d))})("focus",function(){v(b);var d=O(4);return w(d.select())});F();P(5,
yCa,2,1,"span",15);E(6,"button",31);K("onHotkey",function(){v(b);var d=O(4),e=N(3);return w(Bp(e,d))})("click",function(){v(b);var d=O(4),e=N(3);return w(Bp(e,d))});H(7,"mat-icon",17);F()()}if(a&2){var c=O(4);a=N(3);z(1);D("htmlFor",c.id);z(2);D("hotkey",a.HOTKEYS.COPY_ISSUE_EMAIL_ADDRESS)("hotkeyEnabled",a.enableHotkeys);ug("value","buganizer-system"+(zCa(a.activeSession)?"":"-qa")+("+"+a.componentId+"+"+a.issueId)+"@google.com");z(2);D("ngIf",a.enableHotkeys);z(1);D("hotkey",a.HOTKEYS.COPY_ISSUE_EMAIL_ADDRESS)("hotkeyEnabled",
a.enableHotkeys)}},BCa=function(a){a&1&&(E(0,"span",25),Q(1),F());a&2&&(a=N(4),z(1),Sg(a.HOTKEYS.COPY_ISSUE_TODO.displayAs))},CCa=function(a){if(a&1){var b=t();E(0,"div",11)(1,"label",12);Q(2,"TODO comment");F();E(3,"input",32,33);K("onHotkey",function(){v(b);var d=O(4),e=N(3);return w(Bp(e,d))})("focus",function(){v(b);var d=O(4);return w(d.select())});F();P(5,BCa,2,1,"span",15);E(6,"button",34);K("onHotkey",function(){v(b);var d=O(4),e=N(3);return w(Bp(e,d))})("click",function(){v(b);var d=O(4),
e=N(3);return w(Bp(e,d))});H(7,"mat-icon",17);F()()}if(a&2){var c=O(4);a=N(3);z(1);D("htmlFor",c.id);z(2);D("hotkey",a.HOTKEYS.COPY_ISSUE_TODO)("hotkeyEnabled",a.enableHotkeys);ug("value","TODO("+a.getAppBaseUrl().replace(/^.*?:\/\//,"")+"): "+a.issueTitle);z(2);D("ngIf",a.enableHotkeys);z(1);D("hotkey",a.HOTKEYS.COPY_ISSUE_TODO)("hotkeyEnabled",a.enableHotkeys)}},DCa=function(a){if(a&1){var b=t();E(0,"div",10)(1,"div",11)(2,"label",12);Q(3,"Issue ID");F();E(4,"input",13,14);K("onHotkey",function(){v(b);
var f=O(5),h=N(2);return w(Bp(h,f))})("focus",function(){v(b);var f=O(5);return w(f.select())});F();P(6,tCa,2,1,"span",15);E(7,"button",16);K("onHotkey",function(){v(b);var f=O(5),h=N(2);return w(Bp(h,f))})("click",function(){v(b);var f=O(5),h=N(2);return w(Bp(h,f))});H(8,"mat-icon",17);F()();P(9,vCa,8,7,"div",18);E(10,"div",11)(11,"label",12);Q(12,"Issue URL");F();E(13,"input",19,20);K("onHotkey",function(){v(b);var f=O(14),h=N(2);return w(Bp(h,f))})("focus",function(){v(b);var f=O(14);return w(f.select())});
F();P(15,wCa,2,1,"span",15);E(16,"button",21);K("onHotkey",function(){v(b);var f=O(14),h=N(2);return w(Bp(h,f))})("click",function(){v(b);var f=O(14),h=N(2);return w(Bp(h,f))});H(17,"mat-icon",17);F()();E(18,"div",11)(19,"label",12);Q(20,"URL and title");F();E(21,"input",22,23);K("onHotkey",function(){v(b);var f=O(22),h=N(2);return w(Bp(h,f))})("focus",function(){v(b);var f=O(22);return w(f.select())});F();P(23,xCa,2,1,"span",15);E(24,"button",24);K("onHotkey",function(){v(b);var f=O(22),h=N(2);return w(Bp(h,
f))})("click",function(){v(b);var f=O(22),h=N(2);return w(Bp(h,f))});H(25,"mat-icon",17);F()();P(26,ACa,8,7,"div",18);P(27,CCa,8,7,"div",18);F()}if(a&2){var c=O(5),d=O(14),e=O(22);a=N(2);D("cdkTrapFocusAutoCapture",!0);z(2);D("htmlFor",c.id);z(2);D("hotkey",a.HOTKEYS.COPY_ISSUE_ID)("hotkeyEnabled",a.enableHotkeys);ug("value",a.issueId);z(2);D("ngIf",a.enableHotkeys);z(1);D("hotkey",a.HOTKEYS.COPY_ISSUE_ID)("hotkeyEnabled",a.enableHotkeys);z(2);D("ngIf",a.activeSession.isInternalSession()&&!a.currentTracker.inTracker);
z(2);D("htmlFor",d.id);z(2);D("hotkey",a.HOTKEYS.COPY_ISSUE_URL)("hotkeyEnabled",a.enableHotkeys);ug("value",a.getIssueUrl());z(2);D("ngIf",a.enableHotkeys);z(1);D("hotkey",a.HOTKEYS.COPY_ISSUE_URL)("hotkeyEnabled",a.enableHotkeys);z(3);D("htmlFor",e.id);z(2);D("hotkey",a.HOTKEYS.COPY_ISSUE_TITLE)("hotkeyEnabled",a.enableHotkeys);ug("value",a.getAppBaseUrl(a.isExternalIssue)+" "+a.issueTitle);z(2);D("ngIf",a.enableHotkeys);z(1);D("hotkey",a.HOTKEYS.COPY_ISSUE_TITLE)("hotkeyEnabled",a.enableHotkeys);
z(2);D("ngIf",a.activeSession.isInternalSession()&&!a.currentTracker.inTracker);z(1);D("ngIf",a.activeSession.isInternalSession()&&!a.currentTracker.inTracker)}},ECa=function(a){if(a&1){var b=t();I(0);E(1,"button",4,5);K("onHotkey",function(){v(b);var d=N();d.disabled||d.trigger.open();return w()})("onedevPopupPanelTriggerOpened",function(){v(b);var d=N();return w(d.isOpen=!0)})("onedevPopupPanelTriggerClosed",function(){v(b);var d=N();return w(d.isOpen=!1)})("click",function(){v(b);var d=N();d.disabled||
d.trigger.open();return w()});H(3,"mat-icon",6);F();E(4,"onedev-popup-panel",7,8);P(6,DCa,28,25,"div",9);F();J()}if(a&2){var c=O(5);a=N();z(1);D("onedevPopupPanelTriggerFor",c)("hotkey",a.HOTKEYS.HIGHLIGHT_ISSUE_ID)("hotkeyEnabled",a.enableHotkeys);ug("aria-label","Show links for the issue "+a.issueId);z(5);D("ngIf",a.isOpen)}},FCa=function(a){a&1&&H(0,"b-issue-id-picker",2);a&2&&(a=N(),D("issueId",a.id)("showCopyOptions",!1))},GCa=function(a){a&1&&(I(0),H(1,"b-issue-priority-display",3),J());a&2&&
(a=N(),z(1),D("issuePriority",a.priority))},HCa=function(a){a&1&&Q(0,"--")},KCa=function(a){var b=(new Cp).setParent(a.parent);a=a.userEngagement;var c=(new Dp).setType(ICa[a.type]);void 0!==a.rejectionReason&&k(c,3,JCa[a.rejectionReason]);return gl(b,Dp,2,c)},OCa=function(a){var b=void 0;switch(Hk(a,LCa)){case 9:b={recommendedIssue:lm(Sl(a,Al,9,LCa))}}return{name:a.getName(),source:a.getSource(),resource:a.getResource(),type:MCa[a.getType()],recommendation:Dk(a,5),score:a.getScore(),confidence:NCa[a.getConfidence()],
createTime:uj(Ok(a,vj,8)),content:b}},QCa=function(a){return{recommendations:yj(a,PCa,1).map(OCa),nextPageToken:a.getNextPageToken(),totalSize:a.getTotalSize()}},Ep=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]]}))})},Fp=function(){var a=0;a=void 0===a?0:a;return new Promise(function(b){setTimeout(b,a)})},RCa=function(a){var b=function(){var c=a.apply(this,[].concat(r(yd.apply(0,arguments))))||this;
c._fitToContent=!1;return c};W(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)}},SCa=function(){},TCa=function(){},UCa=function(a){a&1&&Og(0)},VCa=function(){},WCa=function(a){a&1&&P(0,VCa,0,0,"ng-template",10);a&2&&(a=N().$implicit,
D("cdkPortalOutlet",a.templateLabel))},XCa=function(a){a&1&&Q(0);a&2&&(a=N().$implicit,Sg(a.textLabel))},YCa=function(a,b){if(a&1){var c=t();E(0,"div",6);K("click",function(){var f=v(c),h=f.$implicit;f=f.index;var l=N(),q=O(1);return w(l._handleClick(h,q,f))})("cdkFocusChange",function(f){var h=v(c).index,l=N();return w(l._tabFocusChanged(f,h))});E(1,"div",7);P(2,WCa,1,1,"ng-template",8);P(3,XCa,1,1,"ng-template",null,9,qh);F()()}if(a&2){a=b.$implicit;b=b.index;var d=O(4),e=N();Fg("mat-tab-label-active",
e.selectedIndex===b);D("id",e._getTabLabelId(b))("ngClass",a.labelClass)("disabled",a.disabled)("matRippleDisabled",a.disabled||e.disableRipple);ug("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);D("ngIf",a.templateLabel)("ngIfElse",d)}},ZCa=function(a,b){if(a&1){var c=t();E(0,"mat-tab-body",
11);K("_onCentered",function(){v(c);var e=N();return w(e._removeTabBodyWrapperHeight())})("_onCentering",function(e){v(c);var f=N();return w(f._setTabBodyWrapperHeight(e))});F()}if(a&2){a=b.$implicit;b=b.index;var d=N();Fg("mat-tab-body-active",d.selectedIndex===b);D("id",d._getTabContentId(b))("ngClass",a.bodyClass)("content",a.content)("position",a.position)("origin",a.origin)("animationDuration",d.animationDuration)("preserveContent",d.preserveContent);ug("tabindex",null!=d.contentTabIndex&&d.selectedIndex===
b?d.contentTabIndex:null)("aria-labelledby",d._getTabLabelId(b))}},$Ca=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"}},aDa=function(a){return void 0===a||null===a?[]:Object.keys(a).filter(function(b){return a.hasOwnProperty(b)})},bDa=function(){return{color:"accent"}},cDa=function(){},dDa=function(a){a&1&&P(0,cDa,0,0,"ng-template")},fDa=function(a){a&1&&(I(0),P(1,dDa,1,0,null,20),J());if(a&2){a=N().xapLet;var b=N(2),c=O(19);z(1);D("ngTemplateOutlet",c)("ngTemplateOutletContext",Yg(2,eDa,a,b.TABS.SIMILAR_ISSUES))}},gDa=
function(a){a&1&&(I(0),P(1,fDa,2,5,"ng-container",19),J());if(a&2){N();var b=O(1);z(1);D("ngIf",b.isActive)}},hDa=function(a){a&1&&(E(0,"mat-tab",16,17),P(2,gDa,2,1,"ng-container",18),U(3,"async"),F());a&2&&(a=N(),z(2),D("xapLet",V(3,1,a.similarIssues$)))},iDa=function(){},jDa=function(a){a&1&&P(0,iDa,0,0,"ng-template")},kDa=function(a){a&1&&(I(0),P(1,jDa,1,0,null,20),J());if(a&2){a=N().xapLet;var b=N(2),c=O(19);z(1);D("ngTemplateOutlet",c)("ngTemplateOutletContext",Yg(2,eDa,a,b.TABS.SEARCH_RESULTS))}},
lDa=function(a){a&1&&(I(0),P(1,kDa,2,5,"ng-container",19),J());if(a&2){N();var b=O(1);z(1);D("ngIf",b.isActive)}},mDa=function(a){a&1&&(E(0,"mat-tab",21,17),P(2,lDa,2,1,"ng-container",18),U(3,"async"),F());a&2&&(a=N(),z(2),D("xapLet",V(3,1,a.searchResults$)))},nDa=function(){},oDa=function(a){a&1&&P(0,nDa,0,0,"ng-template")},pDa=function(a){a&1&&(I(0),P(1,oDa,1,0,null,20),J());if(a&2){a=N().xapLet;var b=N(2),c=O(19);z(1);D("ngTemplateOutlet",c)("ngTemplateOutletContext",Yg(2,eDa,a,b.TABS.ISSUE_IDS))}},
qDa=function(a){a&1&&(I(0),P(1,pDa,2,5,"ng-container",19),J());if(a&2){N();var b=O(1);z(1);D("ngIf",b.isActive)}},rDa=function(a){a&1&&(E(0,"mat-tab",22,17),P(2,qDa,2,1,"ng-container",18),U(3,"async"),F());a&2&&(a=N(),z(2),D("xapLet",V(3,1,a.issuesWithIdMatches$)))},sDa=function(a){a&1&&(E(0,"th",43)(1,"span",44),Q(2,"Selection"),F()())},tDa=function(a,b){a&1&&(E(0,"td",45),H(1,"mat-radio-button",46),U(2,"async"),F());a&2&&(a=b.$implicit,b=N(3),z(1),D("checked",V(2,3,Gp(b.selectedIssues,a.issueId)))("aria-label",
a.snapshot[0].title)("value",a.issueId))},uDa=function(a){a&1&&(E(0,"th",43),Q(1," Title "),F())},vDa=function(a,b){a&1&&(E(0,"td",45),H(1,"b-issue-title-cell",47),F());a&2&&(a=b.$implicit,b=N(3),z(1),D("issue",a)("issueUrlFactory",b.issueUrlFactory)("useButtonToNavigate",!0))},wDa=function(a){a&1&&(E(0,"th",43),Q(1," Id "),F())},xDa=function(a,b){a&1&&(E(0,"td",45),H(1,"b-issue-id-cell",48),F());a&2&&(a=b.$implicit,z(1),D("id",a.issueId))},yDa=function(a){a&1&&(E(0,"th",43),Q(1," Priority "),F())},
zDa=function(a,b){a&1&&(E(0,"td",45),H(1,"b-issue-priority-cell",49),F());a&2&&(a=b.$implicit,z(1),D("issue",a))},ADa=function(a){a&1&&(E(0,"th",50),Q(1," Status "),F())},BDa=function(a,b){a&1&&(E(0,"td",45),H(1,"b-issue-status-cell",49),F());a&2&&(a=b.$implicit,z(1),D("issue",a))},CDa=function(a){a&1&&(E(0,"th",43),Q(1," Dupes "),F())},DDa=function(a,b){a&1&&(E(0,"td",51),Q(1),F());if(a&2){a=b.$implicit;var c;z(1);R(" ",null!==(c=null==a.snapshot[0].duplicateIssueId?null:a.snapshot[0].duplicateIssueId.length)&&
void 0!==c?c:0," ")}},EDa=function(a){a&1&&(E(0,"th",52)(1,"span",44),Q(2,"Votes"),F(),H(3,"mat-icon",53),F())},FDa=function(a,b){a&1&&(E(0,"td",51),Q(1),F());a&2&&(a=b.$implicit,z(1),R(" ",a.aggregatedData.voteCount," "))},GDa=function(a){a&1&&(E(0,"th",54),Q(1," Created "),F())},IDa=function(a,b){a&1&&(E(0,"td",45),H(1,"b-issue-created-time-cell",55),F());a&2&&(a=b.$implicit,z(1),D("issue",a))},JDa=function(a){a&1&&H(0,"tr",56)},KDa=function(a,b){if(a&1){var c=t();E(0,"tr",57);K("keydown",function(d){var e=
v(c),f=e.index;e=e.$implicit;var h=N(3);return w(h.onRowKeydown(f,e,d))})("keydown.enter",function(){var d=v(c).$implicit,e=N(2).tab,f=N();return w(f.selectIssue(d.issueId,e))})("focusin",function(){var d=v(c).$implicit,e=N(3);return w(Hp(e.focusManager,d))})("click",function(){var d=v(c),e=d.$implicit;d=d.index;var f=N(2).tab,h=N();h.selectIssue(e.issueId,f);return w(h.focusManager.setActiveItem(d))});F()}a&2&&D("row",b.$implicit)},MDa=function(a){if(a&1){var b=t();E(0,"table",25);K("contentChanged",
function(){v(b);var d=N().issues,e=N();return w(LDa(e,d))});I(1,26);P(2,sDa,3,0,"th",27);E(3,"mat-radio-group",28);K("change",function(d){v(b);var e=N().tab,f=N();return w(f.selectIssue(d.value,e))});P(4,tDa,3,5,"td",29);F();J();I(5,30);P(6,uDa,2,0,"th",27);P(7,vDa,2,3,"td",29);J();I(8,31);P(9,wDa,2,0,"th",27);P(10,xDa,2,1,"td",29);J();I(11,32);P(12,yDa,2,0,"th",27);P(13,zDa,2,1,"td",29);J();I(14,33);P(15,ADa,2,0,"th",34);P(16,BDa,2,1,"td",29);J();I(17,35);P(18,CDa,2,0,"th",27);P(19,DDa,2,1,"td",
36);J();I(20,37);P(21,EDa,4,0,"th",38);P(22,FDa,2,1,"td",36);J();I(23,39);P(24,GDa,2,0,"th",40);P(25,IDa,2,1,"td",29);J();P(26,JDa,1,0,"tr",41);P(27,KDa,1,1,"tr",42);F()}if(a&2){a=N().issues;var c=N();D("dataSource",a)("trackBy",c.trackByIssueId);z(26);D("matHeaderRowDef",c.tableColumns);z(1);D("matRowDefColumns",c.tableColumns)}},NDa=function(a,b){a&1&&(E(0,"div",23),P(1,MDa,28,4,"table",24),F());if(a&2){a=b.issues;N();var c=O(27);z(1);D("ngIf",a)("ngIfElse",c)}},ODa=function(a){a&1&&(E(0,"p",58),
Q(1,"Loading..."),F())},PDa=function(a){if(a&1){var b=t();E(0,"button",4);K("click",function(c){v(b);N().expansionChange.emit();c.stopPropagation();return w()});H(1,"b-icon",5);F()}a&2&&(a=N(),Fg("collapsed",!a.expanded),ug("aria-label",a.expanded?"Collapse children":"Expand children"))},QDa=function(a){a&1&&H(0,"div",6)},RDa=function(){},UDa=function(){var a={timeout:5E3};a=void 0===a?{}:a;return null!=SDa?SDa:SDa=TDa(a)},VDa=function(){return new Promise(function(a,b){window.gapi.load("client",
{callback:a,onerror:b})})},TDa=function(a){a=void 0===a?{}:a;var b;return of(function(c){if(1==c.nextAddress)return(b=window.gapi)&&b.client&&b.client.load?c.return(b):c.yield(WDa(Ip(Jp("https://apis.google.com/js/api.js")),a),2);if(3!=c.nextAddress){b=window.gapi;if(!b)throw Error("jd");return b.client&&b.client.load?c.jumpTo(3):c.yield(VDa(),3)}return c.return(b)})},XDa=function(a,b,c){var d=a.config.get(b);c!==d&&a.config.update(b,c)},ZDa=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(YDa.has(a))return YDa.get(a);b=Promise.resolve(c.reloadAuthResponse()).finally(function(){YDa.delete(a)});YDa.set(a,b);return b}return Promise.resolve()},$Da=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})},aEa=function(a){if(a&1){var b=t();E(0,"div",5);K("clickOutside",function(){v(b);
var c=N();return w(c.hide())});E(1,"div",6);Q(2," Relative link may be malformed:\u00a0 ");E(3,"code");Q(4);F();E(5,"button",7);K("click",function(){v(b);var c=N();return w(c.copyToClipboard())});H(6,"mat-icon",8);F()();E(7,"div",6);Q(8," Force open as: \u00a0 ");E(9,"a",9);K("click",function(c){v(b);var d=N();qBa(c)||(c.preventDefault(),c.stopPropagation(),Kp(d.domSafe,"http://"+d.originalHref));return w()});Q(10);F()()()}a&2&&(a=N(),z(4),Sg(a.originalHref),z(5),Pg("href","http://",a.originalHref,
"",Ie),z(1),R(" http://",a.originalHref," "))},bEa=function(){return{color:"accent",clickAction:"check-indeterminate"}},cEa=function(a){a&1&&(E(0,"b-glue"),H(1,"mat-icon",5),F())},gEa=function(a){if(a&1){var b=t();E(0,"div",6);K("clickOutside",function(){v(b);var c=N();return w(c.hide())});E(1,"span",7)(2,"a",8);K("click",function(c){v(b);var d=N();return w(dEa(d,c))})("keydown",function(c){v(b);var d=N();return w(eEa(d,c))});Q(3);F()();E(4,"button",9);K("keydown.Tab",function(c){v(b);var d=N();return w(fEa(d,
c))})("click",function(){v(b);var c=N();return w(c.copyToClipboard())});H(5,"mat-icon",10);F()()}a&2&&(a=N(),z(2),D("href",a.originalHref,Ie)("rel",a.EXTERNAL_LINK_REL),z(1),Sg(a.originalHref))},hEa=function(a){a&1&&(I(0),H(1,"img",3),U(2,"async"),J());if(a&2){a=N(2);var b;z(1);D("src",V(2,2,a.srcRedirected$),Ie);ug("alt",null!==(b=a.alt)&&void 0!==b?b:"user provided image")}},iEa=function(a){a&1&&(I(0),P(1,hEa,3,4,"ng-container",0),U(2,"async"),J());if(a&2){a=N();var b=O(3);z(1);D("ngIf",V(2,2,a.showImage$))("ngIfElse",
b)}},jEa=function(a){if(a&1){var b=t();E(0,"a",4);K("click",function(c){v(b);var d=N();return w(d.trigger(c))})("keydown.enter",function(c){v(b);var d=N();return w(d.trigger(c))});U(1,"async");U(2,"async");E(3,"b-glue");H(4,"mat-icon",5);F();I(5);Q(6);U(7,"async");J();F()}a&2&&(a=N(),D("href",V(1,3,a.src$),Ie)("title",V(2,5,a.src$)),z(6),Sg(V(7,7,a.srcTruncated$)))},kEa=function(a){a&1&&(H(0,"mat-icon",6),U(1,"async"));a&2&&(a=N(),Pg("matTooltip","Unable to load image ",V(1,1,a.srcTruncated$),""))},
lEa=function(a){a&1&&(I(0),H(1,"br"),E(2,"a",4),H(3,"b-secure-image-widget",5),F(),H(4,"br"),J());if(a&2){a=N().ngIf;var b=N();z(2);D("href",a,Ie)("rel",b.EXTERNAL_LINK_REL);z(1);D("src",a)("alt",b.alt||"User provided screenshot")("showByDefault",!0)}},mEa=function(a){a&1&&H(0,"b-secure-image-widget",6);if(a&2){a=N().ngIf;var b=N();D("src",a)("alt",b.alt||"User provided screenshot")("showByDefault",!1)}},nEa=function(a){a&1&&(I(0)(1,1),U(2,"async"),P(3,lEa,5,5,"ng-container",2),P(4,mEa,1,3,"b-secure-image-widget",
3),J()());a&2&&(a=N(),z(1),D("ngSwitch",V(2,3,a.displayMode$)),z(2),D("ngSwitchCase",a.DisplayMode.SHOW),z(1),D("ngSwitchCase",a.DisplayMode.COLLAPSE))},oEa=function(a){for(;a.firstChild;)a.removeChild(a.firstChild)},pEa=function(a,b){a&1&&(I(0),H(1,"b-plain-format-section",2),J());a&2&&(a=b.$implicit,z(1),D("section",a))},qEa=function(a){a&1&&H(0,"b-plain-format-quoted-section",1);a&2&&(a=N(),D("section",a.section))},rEa=function(a){a&1&&H(0,"b-plain-format-unquoted-section",1);a&2&&(a=N(),D("section",
a.section))},tEa=function(a){if(a&1){var b=t();E(0,"a",4);K("click",function(){v(b);var c=N();c.showQuote=!0;sEa(c);return w()});Q(1," - Show quoted text - ");F()}a&2&&(a=N(),ug("aria-controls",a.childId))},uEa=function(a){if(a&1){var b=t();E(0,"a",5);K("click",function(){v(b);var c=N();c.showQuote=!1;sEa(c);return w()});Q(1," - Hide quoted text - ");F()}a&2&&(a=N(),ug("aria-controls",a.childId))},vEa=function(a,b){a&1&&(I(0),H(1,"b-literal-format-presenter",1),J());a&2&&(a=b.ngIf,z(1),D("content",
a))},wEa=function(a,b){a&1&&(I(0),H(1,"b-markdown-format-presenter",1),J());a&2&&(a=b.ngIf,z(1),D("content",a))},xEa=function(a,b){a&1&&(I(0),H(1,"b-plain-format-presenter",1),J());a&2&&(a=b.ngIf,z(1),D("content",a))},yEa=function(a){switch(a.formattingMode){case "LITERAL":return(0,C.of)({literalFormat:{content:km(ji(a.comment))}});case "MARKDOWN":return a={markdownFormat:{content:km(ji(""))}},(0,C.of)(a);case void 0:case "PLAIN":case "UNSPECIFIED_FORMATTING_MODE":return a={plainFormat:{plainSection:[{isQuoted:!1,
content:km(ji(a.comment))}]}},(0,C.of)(a);default:return jj(a.formattingMode,"Unknown formatting mode: "+a.formattingMode)}},zEa=function(a,b){a&1&&(I(0),E(1,"div",1),H(2,"b-formatted-comment-presenter",2),F(),J());a&2&&(a=b.$implicit,b=N(),z(1),Fg("invisible",""===(b.comment||"").trim())("error",a.isFallback),z(1),D("formattedComment",a.formattedComment))},AEa=function(a){a&1&&(E(0,"a",2),H(1,"mat-icon",3),F());a&2&&(a=N(),D("href",a.mdHelpLink,Ie)("disableRipple",!0))},BEa=function(a){a&1&&H(0,
"b-formatted-comment-presenter",4);a&2&&(a=N(),D("formattedComment",a.note.formattedComment))},CEa=function(a){a&1&&H(0,"b-live-preview",5);a&2&&(a=N(),D("comment",a.rawComment)("issueId",a.issueId)("audience",a.audience)("formattingMode",a.formattingModeOverride||a.formattingMode||a.FormattingMode.PLAIN)("idPrefix",a.idPrefix))},DEa=function(a,b){if(a&1){var c=t();E(0,"a",8);K("click",function(){var d=v(c).$implicit,e=N(2);return w(e.clickSegment.emit(d.name||d.path))});Q(1);F()}a&2&&(a=b.$implicit,
D("href",a.path,Ie),z(1),R(" ",a.name||a.path," "))},EEa=function(a){a&1&&(I(0),E(1,"button",4),H(2,"mat-icon",5),F(),E(3,"mat-menu",null,6),P(5,DEa,2,2,"a",7),F(),J());if(a&2){var b=O(4);a=N();z(1);D("matMenuTriggerFor",b);z(4);D("ngForOf",a.segments)}},FEa=function(a){if(a&1){var b=t();E(0,"button",4);K("click",function(){v(b);var c=N();return w(c.toggle())});H(1,"mat-icon",5);F()}a&2&&(a=N(),Fg("isClosed",a.isClosed),D("ngClass",a.direction)("matTooltip",a.toggleButtonLabel),ug("aria-label",a.toggleButtonLabel),
z(1),D("svgIcon",a.isLTR?"chevron-left":"chevron-right"))},GEa=function(a){a=a.getBoundingClientRect();return 0<=a.top&&a.bottom<=window.innerHeight},HEa=function(a){a=a.getBoundingClientRect();return 0<a.bottom&&a.top<window.innerHeight},IEa=function(a,b,c,d){var e=(d=void 0===d?!1:d)?function(f){return c.partially(f)}:function(f){return c.fully(f)};return(new C.Observable(function(f){f.next(e(a));var h=b(function(l){f.next(l[0].isIntersecting)},d?{threshold:0}:{threshold:1});h.observe(a);return function(){h.unobserve(a)}})).pipe(Qf())},
JEa=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,C.merge)((0,C.of)(void 0),(0,C.fromEvent)(window,"scroll").pipe(Nf(500))).pipe(B(function(){return d(a)}),Qf())},KEa=function(a){a&1&&(E(0,"span",8),Q(1),F());a&2&&(a=N(),z(1),Sg(a.placeholder))},LEa=function(a){a&1&&(E(0,"span",12),Q(1),F());a&2&&(a=N(2),z(1),Sg(a.triggerValue))},MEa=function(a){a&1&&Og(0,0,["*ngSwitchCase","true"])},NEa=function(a){a&1&&(E(0,"span",9),P(1,LEa,2,
1,"span",10),P(2,MEa,1,0,"ng-content",11),F());a&2&&(a=N(),D("ngSwitch",!!a.customTrigger),z(2),D("ngSwitchCase",!0))},OEa=function(a){if(a&1){var b=t();E(0,"div",13)(1,"div",14,15);K("@transformPanel.done",function(c){v(b);var d=N();return w(d._panelDoneAnimatingStream.next(c.toState))})("keydown",function(c){v(b);var d=N();return w(d._handleKeydown(c))});Og(3,1);F()()}a&2&&(a=N(),D("@transformPanelWrap",void 0),z(1),Ig("mat-select-panel ",a._getPanelTheme(),""),Eg("transform-origin",a._transformOrigin)("font-size",
a._triggerFontSize,"px"),D("ngClass",a.panelClass)("@transformPanel",a.multiple?"showing-multiple":"showing"),ug("id",a.id+"-panel")("aria-multiselectable",a.multiple)("aria-label",a.ariaLabel||null)("aria-labelledby",a._getPanelAriaLabelledby()))},PEa=function(a){a&1&&Kg(0)},QEa=function(a){if(a&1){var b=t();E(0,"div",3);K("mouseenter",function(){v(b);var c=N();return w(c.toggle(!0))})("mouseleave",function(){v(b);var c=N();return w(c.toggle(!1))})("mousemove",function(){v(b);N().activity.next();
return w()});P(1,PEa,1,0,"ng-container",4);F()}a&2&&(a=N(),D("ngClass",a.bubbleStyle)("@fade",void 0),z(1),D("ngTemplateOutlet",a.panelTemplate))},REa=function(a){a&1&&(I(0),E(1,"span",3),Q(2),U(3,"toAccessLevelLabel"),F(),J());a&2&&(a=N(2),z(1),Fg("xs",a.compactMode),D("ngClass",a.chipClass),z(1),R(" ",$g(3,4,a.accessLevel,a.compactMode)," "))},SEa=function(a){a&1&&(E(0,"div",7),Q(1),E(2,"a",8),Q(3," Learn more"),F()());a&2&&(a=N(3),z(1),R(" ",a.bubbleText," "),z(1),D("href",Lp(a.documentationLinks),
Ie))},TEa=function(a){a&1&&(E(0,"xap-bubble",4)(1,"span",5),Q(2),U(3,"toAccessLevelLabel"),F(),P(4,SEa,4,2,"ng-template",null,6,qh),F());if(a&2){var b=O(5);a=N(2);D("panelTemplate",b);z(1);Fg("xs",a.compactMode);D("ngClass",a.chipClass);z(1);R(" ",$g(3,5,a.accessLevel,a.compactMode)," ")}},UEa=function(a){a&1&&(I(0),P(1,REa,4,7,"ng-container",1),P(2,TEa,6,8,"ng-template",null,2,qh),J());if(a&2){var b=O(3);a=N();z(1);D("ngIf",a.labelOnlyMode)("ngIfElse",b)}},VEa=function(a){a&1&&(I(0),Q(1,"Un-"),J())},
WEa=function(a){a&1&&(E(0,"span"),Q(1," Assigned to "),H(2,"b-user-display",16),F());a&2&&(a=N(2).ngIf,z(2),D("model",a.assigneeUser)("hovercardEnabled",!1))},XEa=function(a){a&1&&(E(0,"span"),Q(1," Accepted by "),H(2,"b-user-display",16),F());a&2&&(a=N(2).ngIf,z(2),D("model",a.assigneeUser)("hovercardEnabled",!1))},YEa=function(a){a&1&&(E(0,"span"),Q(1," Duplicate of "),E(2,"a",3),Q(3),F()());if(a&2){a=N(2).ngIf;var b=N(),c;z(2);wg("aria-label","Go to issue ",a.duplicateOfIssueId,"");D("href",b.editIssue(null!==
(c=a.duplicateOfIssueId)&&void 0!==c?c:void 0),Ie);z(1);R(" ",a.duplicateOfIssueId," ")}},ZEa=function(a){a&1&&(E(0,"span"),Q(1),F());if(a&2){a=N().ngIf;var b=N(2);z(1);R(" ",b.STATUS_JS_FULL_TEXT[a]," ")}},$Ea=function(a,b){a&1&&(I(0,13),P(1,WEa,3,2,"span",14),P(2,XEa,3,2,"span",14),P(3,YEa,4,3,"span",14),P(4,ZEa,2,1,"span",15),J());a&2&&(D("ngSwitch",b.ngIf),z(1),D("ngSwitchCase","ASSIGNED"),z(1),D("ngSwitchCase","ACCEPTED"),z(1),D("ngSwitchCase","DUPLICATE"))},aFa=function(a,b){a&1&&(I(0),H(1,
"b-app-vote-button",17),J());if(a&2){a=b.ngIf;b=N().ngIf;var c=N(2),d;z(1);D("issueId",c.issueId)("voteCount",b.voteCount)("upvoted",null!==(d=a.voted)&&void 0!==d?d:!1)}},bFa=function(a){a&1&&(I(0),P(1,aFa,2,3,"ng-container",1),J());a&2&&(a=N(2),z(1),D("ngIf",a.issue.userData))},dFa=function(a){if(a&1){var b=t();I(0);E(1,"button",18);K("click",function(){v(b);var c=N(2);return w(cFa(c,c.childContextId))});Q(2," Unlink parent ");F();J()}},eFa=function(a,b){a&1&&(E(0,"li"),Q(1," Last updated by "),
H(2,"b-user-display",16),Q(3," on: "),H(4,"b-formatted-date-time",19),F());a&2&&(a=b.ngIf,b=N().ngIf,z(2),D("model",a)("hovercardEnabled",!1),z(2),D("timestamp",b.modifiedTimeMicros/1E3))},fFa=function(a,b){a&1&&(I(0),P(1,eFa,5,3,"li",1),E(2,"li"),Q(3," Reported by "),H(4,"b-user-display",16),Q(5," on: "),H(6,"b-formatted-date-time",19),F(),J());a&2&&(a=b.ngIf,b=N().ngIf,z(1),D("ngIf",a.lastModifier),z(3),D("model",b.reporterUser)("hovercardEnabled",!1),z(2),D("timestamp",a.createdTimeMicros/1E3))},
gFa=function(a){a&1&&(E(0,"li",20),H(1,"b-note-container",21),F());if(a&2){a=N(2);var b;z(1);D("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())}},jFa=function(a,b){if(a&1){var c=t();I(0);E(1,"div",2)(2,"h3")(3,"a",3);Q(4);F();Q(5," \u00a0 ");E(6,"span",4);Q(7);F()();E(8,"ul")(9,"li",5);H(10,"b-access-level-indicator",
6);F();E(11,"li",7)(12,"span",8);Q(13);F();Q(14," \u00a0 ");P(15,$Ea,5,4,"ng-container",9);F()();E(16,"div",10)(17,"b-cc-button",11);K("onCc",function(f){v(c);var h=N();h.location&&f&&h.analytics.trackEvent(h.location+"_"+Mp.ISSUE_CARD,"add","CC");return w()});F();P(18,bFa,2,1,"ng-container",1);P(19,dFa,3,0,"ng-container",1);F();E(20,"ul");P(21,fFa,7,4,"ng-container",1);P(22,gFa,2,4,"li",12);F()();J()}if(a&2){a=b.ngIf;b=N();var d,e;z(3);wg("aria-label","Go to issue ",b.issueId,"");D("href",b.editIssue(b.issueId),
Ie);z(1);Sg(b.issueId);z(3);Sg(a.title);z(3);D("labelOnlyMode",!0)("accessLevel",null==b.issue.accessLimit?null:b.issue.accessLimit.accessLevel);z(2);D("ngClass",b.priorityClass(a.priority));z(1);Sg(b.ISSUE_PRIORITY_TEXT_JS[null!==(d=a.priority)&&void 0!==d?d:b.ISSUE_PRIORITY_ENUM.PRIORITY_UNSPECIFIED]);z(2);D("ngIf",a.status);z(2);D("issueId",b.issueId)("ccState",hFa(b,null!==(e=a.ccUsers)&&void 0!==e?e:Wg(15,iFa)));z(1);D("ngIf",b.issue.aggregatedData);z(1);D("ngIf",b.childContextId);z(2);D("ngIf",
b.issue.aggregatedData);z(1);D("ngIf",b.firstEvent.unlinkifiedComment)}},kFa=function(a){a&1&&H(0,"b-user-image",5);a&2&&(a=N(),D("email",a.email))},lFa=function(a){a&1&&Kg(0)},mFa=function(a){a&1&&(I(0),E(1,"span",6),P(2,lFa,1,0,"ng-container",7),F(),E(3,"onedev-hovercard",null,8),H(5,"b-issue-person-card",9),F(),J());if(a&2){var b=O(4);a=N();var c=O(4);z(1);D("onedevHovercardTrigger",b);z(1);D("ngTemplateOutlet",c);z(3);D("email",a.email)}},nFa=function(a){a&1&&(E(0,"span"),Q(1),F());a&2&&(a=N(),
z(1),Sg(a.email))},oFa=function(a){a&1&&(E(0,"span",10),H(1,"b-availability-chip",11),F());a&2&&(a=N(),z(1),D("user",a.email))},pFa=function(a){a&1&&H(0,"b-user-image",6);a&2&&(a=N(),D("email",a.email))},qFa=function(a){a&1&&H(0,"b-user-display-name",7);a&2&&(a=N(),D("email",a.email)("hovercardFocusEnabled",!0)("availabilityChipEnabled",!1))},rFa=function(a){a&1&&Kg(0)},sFa=function(a){a&1&&(I(0),E(1,"span",10),P(2,rFa,1,0,"ng-container",11),F(),E(3,"onedev-hovercard",null,12),H(5,"b-issue-person-card",
13),F(),J());if(a&2){var b=O(4);N();var c=O(2);a=N();z(1);D("onedevHovercardTrigger",b);z(1);D("ngTemplateOutlet",c);z(3);D("email",a.email)}},tFa=function(a){a&1&&(E(0,"span",14),Q(1),F());a&2&&(a=N(2),z(1),Sg(a.email))},uFa=function(a){a&1&&(P(0,sFa,6,3,"ng-container",8),P(1,tFa,2,1,"ng-template",null,9,qh));if(a&2){var b=O(2);a=N();D("ngIf",a.isNonObfuscatedEmail(a.email))("ngIfElse",b)}},vFa=function(a){a&1&&(H(0,"mat-icon",15),U(1,"async"),U(2,"async"));if(a&2){a=N();var b,c;D("svgIcon",null!==
(b=V(1,2,a.iconName$))&&void 0!==b?b:"")("matTooltip",null!==(c=V(2,4,a.iconToolTip$))&&void 0!==c?c:"")}},wFa=function(a){a&1&&(I(0),H(1,"b-availability-chip",16),J());a&2&&(a=N(),z(1),D("user",a.email))},xFa=function(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1}},yFa=function(a,b){a&1&&(E(0,"div",0,1),Og(2),F());a&2&&(a=b.id,b=N(),D("id",b.id)("ngClass",b._classList),ug("aria-label",b.ariaLabel||null)("aria-labelledby",b._getPanelAriaLabelledby(a)))},
zFa=function(a){a&1&&(E(0,"div")(1,"div",9),Q(2," An issue cannot reference itself. "),F()())},AFa=function(a){a&1&&(E(0,"mat-option",10)(1,"div",11),H(2,"b-spinner",12),F()());a&2&&(z(2),D("large",!0))},BFa=function(a){a&1&&(E(0,"mat-option",13),Q(1," No issues found. "),F())},CFa=function(a){a&1&&H(0,"mat-icon",24);if(a&2){a=N().$implicit;var b=N();D("svgIcon",b.STATUS_ICON[a.status])}},DFa=function(a){a&1&&H(0,"b-issue-card",25,26);if(a&2){var b=O(1);a=N().$implicit;D("onedevIsHovercardReady",
b.init)("issueId",a.resourceId)}},FFa=function(a,b){a&1&&(E(0,"mat-option",14)(1,"div",15),P(2,CFa,1,1,"mat-icon",16),E(3,"strong",17),Q(4),F(),E(5,"onedev-hovercard",null,18),P(7,DFa,2,2,"b-issue-card",19),F(),E(8,"a",20),K("click",function(d){return d.stopPropagation()}),H(9,"mat-icon",21),F(),E(10,"span",22),Q(11),F(),H(12,"div",23),U(13,"boldPrefixMatches"),F()());if(a&2){a=b.$implicit;var c=O(6);b=N();D("value",a);z(1);ug("aria-label",a.resourceId+", "+a.displayText+", click ALT RightArrow to open the issue in a new tab.");
z(1);D("ngIf",a.status);z(1);Qg("title",a.resourceId);z(1);R(" ",a.resourceId," ");z(4);D("onedevHovercardTrigger",c)("href",b.getIssueLink(a),Ie);z(3);Sg(EFa(a));z(1);Qg("title",a.displayText);D("innerHTML",$g(13,10,a.displayText,b.query),He)}},GFa=function(a,b){a&1&&(E(0,"a",13),Q(1),F());a&2&&(a=b.$implicit,b=b.last,Pg("href","issues/",a.resourceId,"",Ie),z(1),Tg(" ",a.resourceId,"",b?"":","," "))},HFa=function(a){a&1&&(E(0,"div",11),P(1,GFa,2,3,"a",12),F());a&2&&(a=N(),z(1),D("ngForOf",a.selectedIssues))},
IFa=function(a){a&1&&(E(0,"div",11)(1,"a",14)(2,"span",15),Q(3),F(),E(4,"span"),H(5,"mat-icon",16),F()()());a&2&&(a=N(),z(1),Pg("href","issues/",a.selectedIssues[0].resourceId,"",Ie),z(2),R(" ",a.selectedIssues[0].displayText," "))},KFa=function(a){if(a&1){var b=t();E(0,"div",17)(1,"div",18);K("click",function(){v(b);var c=N();return w(JFa(c))})("keyup.space",function(){v(b);var c=N();return w(JFa(c))});F()()}a&2&&(a=N(),z(1),D("matTooltip",a.isQueryRestricted?"Searching in current component tree":
"Click to search in current component tree"),ug("aria-checked",a.isQueryRestricted))},LFa=function(a,b){return[].concat(r(b)).map(function(c){return Np[c]}).every(function(c){return c.check(a)})},MFa=function(a){return!!Np[a]},Op=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))},NFa=function(a){a&1&&Og(0)},OFa=function(a){a&1&&Kg(0)},PFa=function(a){if(a&1){var b=t();E(0,"button",7,8);K("click",function(e){v(b);
var f=N();return w(f.onClick(e))});P(2,OFa,1,0,"ng-container",9);F()}if(a&2){a=N();var c=O(1),d;D("color",a.color)("disabled",a.disabled)("ngClass",a.size)("matTooltip",null!==(d=a.tooltip)&&void 0!==d?d:"");ug("aria-label",a.bAriaLabel)("aria-expanded",a.bAriaExpanded);z(2);D("ngTemplateOutlet",c)}},QFa=function(a){a&1&&Kg(0)},RFa=function(a){if(a&1){var b=t();E(0,"button",10,8);K("click",function(e){v(b);var f=N();return w(f.onClick(e))});P(2,QFa,1,0,"ng-container",9);F()}if(a&2){a=N();var c=O(1),
d;D("color",a.color)("disabled",a.disabled)("ngClass",a.size)("matTooltip",null!==(d=a.tooltip)&&void 0!==d?d:"");ug("aria-label",a.bAriaLabel)("aria-expanded",a.bAriaExpanded);z(2);D("ngTemplateOutlet",c)}},SFa=function(a){a&1&&Kg(0)},TFa=function(a){if(a&1){var b=t();E(0,"button",11,8);K("click",function(e){v(b);var f=N();return w(f.onClick(e))});P(2,SFa,1,0,"ng-container",9);F()}if(a&2){a=N();var c=O(1),d;D("color",a.color)("disabled",a.disabled)("ngClass",a.size)("matTooltip",null!==(d=a.tooltip)&&
void 0!==d?d:"");ug("aria-label",a.bAriaLabel)("aria-expanded",a.bAriaExpanded);z(2);D("ngTemplateOutlet",c)}},UFa=function(a){a&1&&Kg(0)},VFa=function(a){if(a&1){var b=t();E(0,"button",12,8);K("click",function(e){v(b);var f=N();return w(f.onClick(e))});P(2,UFa,1,0,"ng-container",9);F()}if(a&2){a=N();var c=O(1),d;D("color",a.color)("disabled",a.disabled)("ngClass",a.size)("matTooltip",null!==(d=a.tooltip)&&void 0!==d?d:"");ug("aria-label",a.bAriaLabel)("aria-expanded",a.bAriaExpanded);z(2);D("ngTemplateOutlet",
c)}},WFa=function(a){a&1&&Kg(0)},XFa=function(a){if(a&1){var b=t();E(0,"button",7,8);K("click",function(e){v(b);var f=N();return w(f.onClick(e))});P(2,WFa,1,0,"ng-container",9);F()}if(a&2){a=N();var c=O(1),d;D("color",a.color)("disabled",a.disabled)("ngClass",a.size)("matTooltip",null!==(d=a.tooltip)&&void 0!==d?d:"");ug("aria-label",a.bAriaLabel)("aria-expanded",a.bAriaExpanded);z(2);D("ngTemplateOutlet",c)}},YFa=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:jj(a)}},$Fa=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=ZFa(b),f=b.nextElementSibling&&ZFa(b.nextElementSibling),h=b.previousElementSibling&&ZFa(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!=f&&e<f){var q;if(null==(q=b.nextElementSibling)?0:q.classList.contains("dragging"))return d="none",c();b=b.nextElementSibling;d="before";return c()}var u;if((null==(u=b.nextElementSibling)?0:u.classList.contains("dragging"))&&e===f)return d="none",c();d="after";return c()}d="current";return c()},ZFa=function(a){return Number(a.dataset.level)},aGa=function(a){var b;return Pp(null!=(b=a.dataset.ancestorchain)?b:"")},bGa=function(a){a&1&&H(0,
"th",28)},cGa=function(a){if(a&1){var b=t();E(0,"td",29,30);K("click",function(c){v(b);O(1).focus();return w(c.stopPropagation())});F()}},dGa=function(a){a&1&&H(0,"th",28)},eGa=function(a){if(a&1){var b=t();E(0,"td",31,32);K("click",function(c){v(b);O(1).focus();return w(c.stopPropagation())})("dragstart",function(c){v(b);var d=N();return w(d.handleDragStart(c))});H(2,"mat-icon",33);F()}},fGa=function(a){a&1&&(E(0,"th",28),Q(1," Id "),F())},gGa=function(a,b){a&1&&(E(0,"td",34),H(1,"b-issue-id-cell",
35),F());a&2&&(a=b.$implicit,z(1),D("id",a.id))},hGa=function(a){a&1&&(E(0,"th",28),Q(1," Id "),F())},iGa=function(a){a&1&&(E(0,"td",34),Q(1,"--"),F())},jGa=function(a){a&1&&(E(0,"th",28),Q(1," Title "),F())},kGa=function(a,b){if(a&1){var c=t();E(0,"td",34)(1,"b-expandable-issue-title-cell",36);K("expansionChange",function(){var d=v(c).$implicit,e=N();return w(e.toggleExpansion(d))});U(2,"async");U(3,"async");F()()}a&2&&(a=b.$implicit,z(1),D("issue",V(2,4,a.issue$))("expandable",V(3,6,a.hasChildren$))("expanded",
!!a.expandedCount)("level",a.level))},lGa=function(a){a&1&&(E(0,"th",28),Q(1," Type "),F())},mGa=function(a,b){a&1&&(E(0,"td",34),H(1,"b-issue-type-cell",37),U(2,"async"),F());a&2&&(a=b.$implicit,z(1),D("issue",V(2,1,a.issue$)))},nGa=function(a){a&1&&(E(0,"th",28),Q(1," Assignee "),F())},oGa=function(a,b){a&1&&(I(0),E(1,"b-person-hovercard",41),Q(2),F(),J());a&2&&(a=b.$implicit,b=N(3),z(1),D("email",b.getAssigneeString(a)),z(1),R(" ",b.ldapOnly(b.getAssigneeString(a))," "))},pGa=function(a){a&1&&
(I(0),P(1,oGa,3,2,"ng-container",21),U(2,"async"),J());a&2&&(a=N().$implicit,z(1),D("ngIf",V(2,1,a.issue$)))},qGa=function(a,b){a&1&&H(0,"b-user-image",41);a&2&&D("email",b.$implicit)},rGa=function(a,b){a&1&&(I(0),P(1,qGa,1,1,"b-user-image",42),J());a&2&&(a=b.$implicit,b=N(3),z(1),D("ngIf",b.getAssigneeString(a)))},sGa=function(a){a&1&&(I(0),P(1,rGa,2,1,"ng-container",21),U(2,"async"),J());a&2&&(a=N().$implicit,z(1),D("ngIf",V(2,1,a.issue$)))},tGa=function(a,b){a&1&&H(0,"b-user-image",41);a&2&&D("email",
b.$implicit)},uGa=function(a){a&1&&(I(0),P(1,tGa,1,1,"b-user-image",42),J());if(a&2){a=N().$implicit;var b=N(3);z(1);D("ngIf",b.getAssigneeString(a))}},vGa=function(a,b){a&1&&(I(0),P(1,uGa,2,1,"ng-container",21),J());a&2&&(a=b.$implicit,b=N(3),z(1),D("ngIf",b.isInProgress(a)))},wGa=function(a){a&1&&(I(0),P(1,vGa,2,1,"ng-container",21),U(2,"async"),J());a&2&&(a=N().$implicit,z(1),D("ngIf",V(2,1,a.issue$)))},xGa=function(a){a&1&&(H(0,"b-issue-assignee-cell",37),U(1,"async"));a&2&&(a=N().$implicit,D("issue",
V(1,1,a.issue$)))},yGa=function(a){a&1&&(E(0,"td",34),I(1,38),P(2,pGa,3,3,"ng-container",39),P(3,sGa,3,3,"ng-container",39),P(4,wGa,3,3,"ng-container",39),P(5,xGa,2,3,"b-issue-assignee-cell",40),J(),F());a&2&&(a=N(),z(1),D("ngSwitch",a.options.assigneeMode),z(1),D("ngSwitchCase","short"),z(1),D("ngSwitchCase","avatar"),z(1),D("ngSwitchCase","avatar-in-progress"))},zGa=function(a){a&1&&(E(0,"th",28),Q(1," Status "),F())},AGa=function(a,b){a&1&&(I(0),E(1,"a",45),Q(2," Fix Pending "),F(),J());a&2&&(a=
b.$implicit,z(1),Pg("href","http://cl/",a.changelistNumber,"",Ie),Rg("matTooltip","Open cl/",a.changelistNumber," from ",a.author,""))},BGa=function(a){a&1&&(I(0),P(1,AGa,3,3,"ng-container",21),J());if(a&2){a=N().$implicit;var b=N();z(1);D("ngIf",null==b.projectData?null:null==b.projectData.bugToPendingFixCl?null:b.projectData.bugToPendingFixCl.get(a.id))}},CGa=function(a){a&1&&(H(0,"b-issue-status-cell",37),U(1,"async"));a&2&&(a=N().$implicit,D("issue",V(1,1,a.issue$)))},EGa=function(a,b){a&1&&(E(0,
"td",34),P(1,BGa,2,1,"ng-container",43),P(2,CGa,2,3,"ng-template",null,44,qh),F());if(a&2){a=b.$implicit;var c=O(3);b=N();z(1);D("ngIf",b.options.showPendingFixCls&&DGa(b,a.id))("ngIfElse",c)}},FGa=function(a){a&1&&(E(0,"th",28),Q(1," Team "),F())},GGa=function(a,b){a&1&&(E(0,"td",34),H(1,"b-issue-team-cell",37),U(2,"async"),F());a&2&&(a=b.$implicit,z(1),D("issue",V(2,1,a.issue$)))},HGa=function(a){a&1&&H(0,"th",28)},IGa=function(a,b){a&1&&(E(0,"td",34)(1,"b-actions-menu",46),K("click",function(c){return c.stopPropagation()}),
F()());a&2&&(a=b.$implicit,b=N(),z(1),D("menuItems",b.getMenuItems(a)))},JGa=function(a){a&1&&(E(0,"th",28),Q(1," CLs "),F())},KGa=function(a,b){a&1&&(E(0,"b-async-data-placeholder",48)(1,"a",49),K("click",function(c){return c.stopPropagation()}),H(2,"b-formatted-date-time",50),F()());a&2&&(a=b.ngIf,D("isReady",null!==a.cl),z(1),Pg("href","http://cl/",null==a.cl?null:a.cl.changelistNumber,"",Ie)("matTooltip","Submitted by ",null==a.cl?null:a.cl.author,""),z(1),D("paddingLeftPx",0)("timestamp",null==
a.cl?null:a.cl.timestamp))},MGa=function(a){a&1&&(I(0),P(1,KGa,3,5,"b-async-data-placeholder",47),U(2,"async"),U(3,"mostRecentCL$"),J());a&2&&(a=N().$implicit,z(1),D("ngIf",Xg(5,LGa,V(2,1,V(3,3,a.issue$)))))},NGa=function(a,b){a&1&&(E(0,"td",34),P(1,MGa,4,7,"ng-container",21),F());a&2&&(a=b.$implicit,z(1),D("ngIf",0<a.level))},OGa=function(a){a&1&&H(0,"th",28)},PGa=function(a){a&1&&(E(0,"b-actions-menu",46),K("click",function(c){return c.stopPropagation()}),F());if(a&2){a=N().$implicit;var b=N();
D("menuItems",b.getMenuItemsForDraft(a))}},QGa=function(a){a&1&&H(0,"b-spinner")},RGa=function(a,b){a&1&&(E(0,"td",51),P(1,PGa,1,1,"b-actions-menu",52),P(2,QGa,1,0,"ng-template",null,53,qh),F());if(a&2){a=b.$implicit;var c=O(3);z(1);D("ngIf",!a.saving)("ngIfElse",c)}},SGa=function(a,b){if(a&1){var c=t();E(0,"td",34)(1,"b-async-data-placeholder",48);U(2,"async");E(3,"b-button",54);K("onAction",function(){var d=v(c).$implicit,e=N();return w(e.displayAllSiblings(d))});E(4,"span",55);Q(5);F()()()()}a&
2&&(a=b.$implicit,b=N(),Eg("padding-left",24*a.level+b.TITLE_FIXED_OFFSET_PX,"px"),ug("colspan",b.tableColumns.length),z(1),D("isReady",!!V(2,5,a.parentIssue$)),z(4),R("Display ",a.truncatedSiblingCount," more"))},TGa=function(a){a&1&&(E(0,"th",28),Q(1," Title "),F())},UGa=function(a,b){if(a&1){var c=t();E(0,"td",34)(1,"div",56)(2,"b-text-input-cell",57);K("valueChange",function(d){var e=v(c).$implicit;return w(e.title=d)})("commit",function(){var d=v(c).$implicit,e=N();return w(e.saveDraft(d))});
F();E(3,"b-button",58);K("onAction",function(){var d=v(c).$implicit,e=N();return w(e.saveDraft(d))});Q(4," Create ");F();E(5,"b-button",59);K("onAction",function(){var d=v(c).$implicit,e=N();return w(e.cancelDraft(d))});Q(6," Cancel ");F()()()}a&2&&(a=b.$implicit,Eg("padding-left",24*(a.level+1),"px"),z(2),D("value",a.title)("readonly",a.saving),z(1),D("disabled",!a.title||a.saving),z(2),D("disabled",a.saving))},VGa=function(a){a&1&&H(0,"tr",61)},WGa=function(a){a&1&&(I(0),P(1,VGa,1,0,"tr",60),J());
a&2&&(a=N(),z(1),D("matHeaderRowDef",a.tableColumns))},YGa=function(a,b){if(a&1){var c=t();E(0,"tr",62);K("click",function(d){var e=v(c).$implicit,f=N();return w(f.navigateToIssue(d,e))})("mouseup",function(d){var e=v(c).$implicit,f=N();return w(f.navigateToIssue(d,e))})("focusin",function(){var d=v(c).$implicit,e=N();return w(Hp(e.focusManager,d))})("keydown",function(d){var e=v(c).$implicit,f=N();return w(f.onRowKeydown(e,d))});U(1,"async");U(2,"async");U(3,"async");F()}a&2&&(a=b.$implicit,b=N(),
Fg("selected",V(1,10,XGa(b.selectionModel,a.ancestorChain)))("closed",b.isClosed(V(2,12,a.issue$)))("highlighted",!!b.getUserInvolvement(V(3,14,a.issue$))),D("row",a),ug("data-level",a.level)("data-type",a.type)("data-ancestorchain",a.ancestorChain.hash()))},ZGa=function(a,b){if(a&1){var c=t();E(0,"tr",63);K("focusin",function(){var d=v(c).$implicit,e=N();return w(Hp(e.focusManager,d))})("keydown",function(d){var e=v(c).$implicit,f=N();return w(f.onRowKeydown(e,d))});F()}a&2&&(a=b.$implicit,D("row",
a),ug("data-level",a.level)("data-type",a.type)("data-ancestorchain",a.ancestorChain.hash()))},$Ga=function(a,b){if(a&1){var c=t();E(0,"tr",64);K("keydown",function(d){var e=v(c).$implicit,f=N();return w(f.onRowKeydown(e,d))})("keydown.escape",function(){var d=v(c).$implicit,e=N();return w(e.cancelDraft(d))})("keydown.backspace",function(){var d=v(c).$implicit,e=N();return w(d.title||e.cancelDraft(d))})("focusin",function(){var d=v(c).$implicit,e=N();return w(Hp(e.focusManager,d))});F()}a&2&&(a=b.$implicit,
D("row",a),ug("data-type",a.type))},aHa=function(a){return function(b){return yj(b,Qp,1).map(function(c){return{workspaceId:c.getWorkspaceId(),workspaceName:c.getName(),issueId:a}})}},bHa=function(a,b){if(a&1){var c=t();I(0);E(1,"iframe",6);K("load",function(){v(c);var d=N();return w(d.contentLoaded=!0)});F();J()}a&2&&(a=b.$implicit,b=N(),z(1),Fg("loading",!b.contentLoaded),D("src",a,cfa))},cHa=function(a){a&1&&H(0,"mat-spinner",7)},eHa=function(a){return dHa.some(function(b){return b.test(a)})},
fHa=function(a){var b;return null==(b=a.formContent)?void 0:b.locale},iHa=function(a){var b=fHa(a);b=(b&&gHa.includes(b)?fHa(a):"en").replaceAll("-","_").toLowerCase();var c;a=(null==(c=a.initializationData)?0:c.useNightlyRelease)?"nightly":"live";return li(hHa,a,b)},kHa=function(a,b,c){if(jHa)return jHa;var d=iHa(a);return jHa=b.feedbackV2GlobalObject?Promise.resolve(b.feedbackV2GlobalObject):new Promise(function(e,f){var h=Rp(document,"SCRIPT");pj(h,d);h.onload=function(){b.feedbackV2GlobalObject?
e(b.feedbackV2GlobalObject):f("feedbackV2GlobalObject not found on window.")};h.onerror=function(){f("Feedback binary script tag failed to load: "+d.toString())};c.body.appendChild(h)})},lHa=function(a,b,c,d,e){e=void 0===e?!0:e;var f,h,l,q,u;return of(function(x){switch(x.nextAddress){case 1:return f=Date.now(),x.yield(kHa(a,c,d),2);case 2:h=x.yieldResult;if(!(e||(null==(q=a.initializationData)?0:q.useNightlyRelease)||(null==(u=a.initializationData)?0:u.isLocalServer))){l=h.initializeFeedbackClient(a,
f,b);x.jumpTo(3);break}return x.yield(h.initializeFeedbackClientAsync(a,f,b),4);case 4:l=x.yieldResult;case 3:return l.initiateAloha(),x.return(l)}})},mHa=function(a,b,c){var d=!0;d=void 0===d?!0:d;var e,f,h,l;return of(function(q){f=e=c||da;if(f.isFormOpened)throw h=Error("kd"),h.name="DuplicateFormError",h;f.isFormOpened=!0;a.callbacks=a.callbacks||{};l=a.callbacks.onClose||function(){};a.callbacks.onClose=function(u){f.isFormOpened=!1;l(u)};try{return q.return(lHa(a,b,f,e.document,d))}catch(u){throw f.isFormOpened=
!1,u;}})},pHa=function(a,b){return of(function(c){return c.return(new Promise(function(d){var e=nHa(null!=b?b:"")+"/aloha_form_properties?productId="+a;gj(e,function(f){f=f.target;var h=null;try{h=Pba(oHa,JSON.stringify(f.getResponseJson(")]}'\n")))}catch(l){f=new oHa,h=new Sp,h=Sb(h,5,!0),h=Sb(h,2,!0),h=Sb(h,4,!1),h=Sb(h,8,!0),h=Sb(h,9,!0),h=Sb(h,7,!0),h=Sb(h,10,!0),h=Sb(h,12,!0),h=Sb(h,13,!1),h=Sb(h,14,!0),h=Sb(h,15,!0),h=gl(f,Sp,1,h)}d(h)},"GET","",{},2E3,!0)}))})},nHa=function(a){return eHa(a)?
a:"https://www.google.com/tools/feedback"},qHa=function(a){a&1&&(E(0,"div",8),H(1,"b-spinner"),F())},rHa=function(a){a&1&&H(0,"code",22);a&2&&(a=N(2).$implicit,N(2),D("innerHtml",im(a.formattingModeDiff),He))},sHa=function(a){a&1&&(E(0,"code",23),Q(1),F());a&2&&(a=N(2).$implicit,z(1),R(" ",a.formattingMode," "))},tHa=function(a){a&1&&(E(0,"p",19),Q(1," Formatting: "),P(2,rHa,1,1,"code",20),P(3,sHa,2,1,"code",21),F());a&2&&(a=N(3),z(2),D("ngIf",a.diffView),z(1),D("ngIf",!a.diffView))},uHa=function(a){if(a&
1){var b=t();E(0,"div")(1,"span",24)(2,"b-person-hovercard",25);U(3,"omitObfuscatedEmail");Q(4);U(5,"appendDomain");F()();E(6,"a",26);K("click",function(c){v(b);var d=N().$implicit,e=N(2);d=d.version;c.stopPropagation();c=e.paths.editIssue(e.issueId)+("#comment"+e.commentNumber+"version"+d);e.location.replaceState(c);return w()});Q(7);F()()}a&2&&(a=N().$implicit,N(2),z(2),D("email",V(3,5,ck(a.lastEditorUser))),z(2),R(" <",V(5,7,ck(a.lastEditorUser)),"> "),z(2),wg("aria-label","Comment version ",a.version,
""),Pg("id","bv2-edit-issue-comment-",a.version,""),z(1),R(" #",a.version,""))},vHa=function(a){a&1&&(E(0,"div",30),Q(1),F());a&2&&(a=N(2).$implicit,z(1),Sg(a.preview))},wHa=function(a){a&1&&(E(0,"div",31),Q(1,"Comment deleted."),F())},xHa=function(a){a&1&&(E(0,"div",32),Q(1,"Comment history restricted."),F())},yHa=function(a){a&1&&(I(0),P(1,vHa,2,1,"div",27),P(2,wHa,2,0,"div",28),P(3,xHa,2,0,"div",29),J());a&2&&(a=N().$implicit,z(1),D("ngIf",!a.restricted&&!a.deleted),z(1),D("ngIf",!a.restricted&&
a.deleted),z(1),D("ngIf",a.restricted))},zHa=function(a){a&1&&(E(0,"div",35),Q(1,"Comment deleted."),F())},AHa=function(a){a&1&&(E(0,"div",36),U(1,"async"),F());if(a&2){a=N(2).$implicit;var b=N(2);Fg("codefont",V(1,3,b.codefont.codefont$));D("innerHtml",a.unlinkifiedComment,He)}},BHa=function(a){a&1&&(E(0,"div",36),U(1,"async"),F());if(a&2){a=N(2).$implicit;var b=N(2);Fg("codefont",V(1,3,b.codefont.codefont$));D("innerHtml",im(a.diff),He)}},CHa=function(a){a&1&&(E(0,"div",32),Q(1," This comment is not available due to present or past restrictions on the comment. "),
F())},DHa=function(a){a&1&&(I(0),P(1,zHa,2,0,"div",33),P(2,AHa,2,5,"div",34),P(3,BHa,2,5,"div",34),P(4,CHa,2,0,"div",29),J());if(a&2){a=N().$implicit;var b=N(2);z(1);D("ngIf",!a.restricted&&a.deleted);z(1);D("ngIf",!b.diffView&&!a.restricted&&!a.deleted);z(1);D("ngIf",b.diffView&&!a.restricted&&!a.deleted);z(1);D("ngIf",a.restricted)}},EHa=function(a,b){if(a&1){var c=t();E(0,"li",11)(1,"div",12);H(2,"b-user-image",13);F();E(3,"div",14);K("click",function(){var d=v(c).$implicit;return w(d.open=!d.open)});
H(4,"b-user-display",15)(5,"b-formatted-date-time",16);P(6,tHa,4,2,"p",17);P(7,uHa,8,9,"div",18);P(8,yHa,4,3,"ng-container",18);F();P(9,DHa,5,4,"ng-container",18);F()}a&2&&(a=b.$implicit,N(2),Fg("comment-version-open",a.open),z(2),D("email",ck(a.lastEditorUser)),z(2),D("model",a.lastEditorUser),z(1),D("timestamp",a.lastModified),z(1),D("ngIf",!a.deleted),z(1),D("ngIf",a.open),z(1),D("ngIf",!a.open),z(1),D("ngIf",a.open))},FHa=function(a){a&1&&(E(0,"ul",9),P(1,EHa,10,9,"li",10),F());a&2&&(a=N(),z(1),
D("ngForOf",a.history)("ngForTrackBy",a.trackByIndex))},IHa=function(a,b){var c=new GHa;a=Tp(c,a,b);HHa(c,a);c=a.map(function(d){var e=d[0];d=d[1];switch(e){case -1:return lp("SPAN",{"class":"diff-removed"},d);case 1:return lp("SPAN",{"class":"diff-added"},d);case 0:return lp("SPAN",{"class":null},d);default:throw Error("md`"+e);}});return mp(c)},JHa=function(a){var b;return"DELETED"===(null==(b=a.entityStatus)?void 0:b.status)},KHa=function(a){a&1&&(E(0,"div",2),Q(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. "),
E(2,"a",13),Q(3," Learn more "),F()());a&2&&(a=N(2),z(2),D("href",a.getRestrictedAccessHelpLink(),Ie))},MHa=function(a){a&1&&(I(0),P(1,KHa,4,1,"div",8),J());a&2&&(a=N(),z(1),D("ngIf",LHa(a)))},NHa=function(a){a&1&&(E(0,"div",2)(1,"span",14),Q(2," You do not have access to view this attachment. "),F()())},OHa=function(a){a&1&&H(0,"mat-spinner",15)},PHa=function(a){a&1&&(E(0,"span"),Q(1),F());a&2&&(a=N(),Fg("muted",a.isGreyedOut),z(1),R(" ",a.displayName,""))},QHa=function(a){if(a&1){var b=t();E(0,
"a",2);K("click",function(c){v(b);var d=N();return w(d.handleClick(c))});Q(1);F()}a&2&&(a=N(),D("href",a.linkUrl,Ie)("rel",a.EXTERNAL_LINK_REL),z(1),R(" ",a.displayName,""))},THa=function(a){a&1&&(E(0,"span"),Q(1),E(2,"b"),Q(3),F(),Q(4," on "),E(5,"b"),Q(6),U(7,"date"),F(),Q(8,". "),F());a&2&&(a=N(4),z(1),R(" Currently, the ",a.contentType," is scheduled for deletion in "),z(2),Sg(RHa(SHa(a).getTime(),!0)),z(3),Sg($g(7,3,SHa(a),"longDate")))},UHa=function(a){a&1&&(E(0,"span")(1,"b"),Q(2,"Retention:"),
F(),Q(3),E(4,"b"),Q(5),F(),Q(6," from the last modification of the issue. "),P(7,THa,9,6,"span",11),F());if(a&2){a=N(3);var b=O(10);z(3);R(" This ",a.contentType," has a retention period of ");z(2);Sg(a.getRetentionPeriod());z(2);D("ngIf",!(SHa(a).getTime()<(new Cj).getTime()))("ngIfElse",b)}},VHa=function(a){a&1&&(Q(0),E(1,"b"),Q(2,"overridden"),F(),Q(3," retention period set to match the issue retention period. "));a&2&&(a=N(3),R(" The ",a.contentType," has an "))},WHa=function(a){a&1&&(E(0,"p",
10),P(1,UHa,8,4,"span",11),P(2,VHa,4,1,"ng-template",12),F());if(a&2){a=N(2);var b=O(8);D("ngSwitch",a.retention);z(1);D("ngIf",!(a.retentionState&&!a.retentionState.scheduledDeletionTime))("ngIfElse",b);z(1);D("ngSwitchCase",a.retentionModel.INDEFINITE)}},XHa=function(a){a&1&&(E(0,"div",7)(1,"p")(2,"b"),Q(3,"Restricted Access:"),F(),Q(4),E(5,"a",8),Q(6," Learn More "),F()(),P(7,WHa,3,4,"p",9),F());a&2&&(a=N(),z(4),R(" This ",a.contentType," is only available to users with the appropriate permissions. "),
z(1),D("rel",a.EXTERNAL_LINK_REL),ug("href",a.documentationLinks.getRestrictedAccessHelpLink(),Ie),z(2),D("ngIf",a.retentionState))},YHa=function(a){a&1&&(E(0,"b"),Q(1,"Retention:"),F(),Q(2));a&2&&(a=N(),z(2),R(" This ",a.contentType," has an indefinite retention period. "))},ZHa=function(a){a&1&&(Q(0," The retention has "),E(1,"b"),Q(2,"expired"),F(),Q(3),E(4,"b"),Q(5),U(6,"date"),F(),Q(7,". "));a&2&&(a=N(),z(3),R(" and the ",a.contentType," was scheduled for deletion on "),z(2),Sg($g(6,2,SHa(a),
"longDate")))},$Ha=function(a){a&1&&(E(0,"span"),Q(1),F());a&2&&(a=N().$implicit,z(1),Sg(a.text))},aIa=function(a){a&1&&(E(0,"span"),H(1,"b-access-level-indicator",2),F());a&2&&(a=N().$implicit,z(1),D("accessLevel",a.accessLevel))},bIa=function(a,b){a&1&&(E(0,"span"),P(1,$Ha,2,1,"span",1),P(2,aIa,2,1,"span",1),F());a&2&&(a=b.$implicit,b=N(),z(1),D("ngIf",b.isText(a)),z(1),D("ngIf",!b.isText(a)))},dIa=function(a,b){var c=cIa.get(b);if(!c)return null;a=a.toLowerCase().indexOf(c);return 0<=a?{accessLevel:b,
startOfMatch:a,endOfMatch:a+c.length}:null},eIa=function(a){if(a&1){var b=t();E(0,"div");H(1,"br");E(2,"mat-checkbox",8);K("ngModelChange",function(c){v(b);var d=N();return w(d.acknowledged=c)});F();E(3,"span");Q(4,"All information in this issue is suitable for external sharing.");F()()}a&2&&(a=N(),z(2),D("ngModel",a.acknowledged))},fIa=function(a){if(a&1){var b=t();E(0,"button",9);K("click",function(){v(b);var c=N();return w(c.allow())});Q(1," Move Issue ");F()}a&2&&(a=N(),D("disabled",!a.acknowledged))},
gIa=function(a){a&1&&(E(0,"span"),Q(1),F());a&2&&(a=N().$implicit,z(1),R("(",a.disabledReason,")"))},hIa=function(a,b){a&1&&(E(0,"mat-radio-button",8),Q(1),P(2,gIa,2,1,"span",9),F());a&2&&(a=b.$implicit,D("value",a)("disabled",!a.enabled),z(1),R(" ",a.displayText," "),z(1),D("ngIf",!a.enabled))},iIa=function(a){a&1&&(E(0,"span"),Q(1),F());a&2&&(a=N().$implicit,z(1),R("(",a.disabledReason,")"))},jIa=function(a,b){a&1&&(E(0,"mat-radio-button",8),Q(1),P(2,iIa,2,1,"span",9),F());a&2&&(a=b.$implicit,D("value",
a)("disabled",!a.enabled),z(1),R(" ",a.displayText," "),z(1),D("ngIf",!a.enabled))},kIa=function(a){return a?"https://goto.corp.google.com/buganizer-delete":"https://issuetracker.google.com/issues/new?component=169992&template=543202"},lIa=function(a){a&1&&H(0,"mat-icon",7);if(a&2){a:switch(N().reactionType){case "UPVOTE":a="thumb_up_24px";break a;default:a="warning"}D("svgIcon",a)}},mIa=function(a){a&1&&H(0,"b-spinner")},nIa=function(a,b){a&1&&(E(0,"div")(1,"div",9),Q(2),F()());a&2&&(a=b.$implicit,
N(2),z(2),Sg(ck(a.user)))},oIa=function(a){a&1&&(I(0),P(1,nIa,3,1,"div",8),J());a&2&&(a=N(),z(1),D("ngForOf",a.allResponders))},pIa=function(a){a&1&&(E(0,"span"),Q(1),F());a&2&&(a=N(),z(1),R("Retain ",a.resource," as long as issue?"))},qIa=function(a){a&1&&(E(0,"span"),Q(1,"Apply component retention settings?"),F())},rIa=function(a){a&1&&(E(0,"span")(1,"p"),Q(2),F(),E(3,"p")(4,"b"),Q(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."),
F(),H(6,"br"),Q(7," Before selecting this option, you should make sure that Legal and Privacy have approved this non-standard retention period."),F()());a&2&&(a=N(),z(2),R("Are you sure you want to override any component retention settings, and retain this ",a.resource," as long as issue?"))},sIa=function(a){a&1&&(E(0,"span")(1,"p"),Q(2),F()());a&2&&(a=N(),z(2),Tg("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."))},
tIa=function(a){if(a&1){var b=t();E(0,"mat-checkbox",9);K("ngModelChange",function(c){v(b);var d=N();return w(d.acknowledgeToMatchIssueRetention=c)});Q(1," I acknowledge ");F()}a&2&&(a=N(),D("ngModel",a.acknowledgeToMatchIssueRetention))},uIa=function(){var a=Math.random;this.initialMaxDelayMs_=500;this.random_=a;this.reset()},Vp=function(a){return new Up((a instanceof Up?a:new Up(a)).value,!0)},vIa=function(a){if(a.oauthTokens){var b=a.oauthTokens;return(0,C.firstValueFrom)(b).then(function(c){c=
new C.BehaviorSubject(c);b.subscribe(c);return new Wp(c)})}return a.apiKey?a.appAuthTokens?Promise.resolve(new Xp(a.apiKey,a.appAuthTokens)):Promise.resolve(new Yp(a.apiKey,a.authUser)):Promise.reject(Error("xd"))},wIa=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}},xIa=function(a){return new C.Observable(function(b){var c=
Zp(function(){b.next({});b.complete()},a);return function(){$p(c)}})},yIa=function(a){var b=new aq;b.setName(a);return b},AIa=function(a){a.isPrivate?(a=new bq,rk(a,2,zIa,!0)):(a=new bq,rk(a,1,zIa,!0));return a},CIa=function(a){var b=new cq;a=m(a.parts);for(var c=a.next();!c.done;c=a.next()){var d=c.value;c=new dq;if(d.value instanceof eq)d.isDecreasing?rk(c,4,fq,d.value.toString()):rk(c,2,fq,d.value.toString());else if("string"===typeof d.value)d.isDecreasing?rk(c,3,fq,d.value):rk(c,1,fq,d.value);
else if("number"===typeof d.value)d.isDecreasing?rk(c,9,fq,sb(d.value)):rk(c,10,fq,sb(d.value));else if(d.value instanceof Uint8Array)d.isDecreasing?rk(c,5,fq,pb(d.value,!1,!1)):rk(c,7,fq,pb(d.value,!1,!1));else if(d.value instanceof gq)d.isDecreasing?(d=BIa(d.value),hq(c,11,fq,d)):(d=BIa(d.value),hq(c,12,fq,d));else if(d.value instanceof iq){var e=d.value.rep;"number"===typeof e?d.isDecreasing?rk(c,9,fq,sb(e)):rk(c,10,fq,sb(e)):"string"===typeof e&&(d.isDecreasing?rk(c,6,fq,e):rk(c,8,fq,e))}jq(b,
1,dq,c)}return b},GIa=function(a,b){if(a instanceof kq)return 0<yj(b,dq,1).length?null:DIa.apply(kq,r(a.parts));a=Array.of.apply(Array,r(a.root.parts));b=m(yj(b,dq,1));for(var c=b.next();!c.done;c=b.next())switch(c=c.value,Hk(c,fq)){case 4:var d=a,e=d.push,f=lq,h=mq(c,fq,4);c=Db(c,h);e.call(d,Vp(f(c)));break;case 2:d=a;e=d.push;f=lq;h=mq(c,fq,2);c=Db(c,h);e.call(d,new Up(f(c)));break;case 6:d=a;e=d.push;f=mq(c,fq,6);c=Db(c,f);e.call(d,Vp(new iq(c)));break;case 8:d=a;e=d.push;f=mq(c,fq,8);c=Db(c,f);
e.call(d,new Up(new iq(c)));break;case 10:a.push(new Up(new iq(nq(c,mq(c,fq,10)))));break;case 9:a.push(Vp(new iq(nq(c,mq(c,fq,9)))));break;case 3:a.push(Vp(oq(c,3,fq)));break;case 1:a.push(new Up(oq(c,1,fq)));break;case 7:d=void 0;a.push(new Up(null==(d=pq(c,mq(c,fq,7)))?void 0:EIa(d)));break;case 5:d=void 0;a.push(Vp(null==(d=pq(c,mq(c,fq,5)))?void 0:EIa(d)));break;case 12:c=FIa(Sl(c,vj,12,fq));if(null===c)return null;a.push(new Up(c));break;case 11:c=FIa(Sl(c,vj,11,fq));if(null===c)return null;
a.push(Vp(c));break;case 0:return null;default:return null}return DIa.apply(kq,r(a))},qq=function(a){return(null!=a?a:[]).map(vk)},rq=function(a){return(null!=a?a:[]).map(xk)},sq=function(a){return null==a?"":"number"===typeof a?isFinite(a)?String(a):"":a&&(a=String(a),254>=a.length)?a:""},KIa=function(){var a=tq("gapi.config.get");if((a=sq(a&&a("googleapis.config/sessionIndex")))||(a=sq(da.__X_GOOG_AUTHUSER))||(a=sq(tq("google.authuser"))))return a;var b=da.location.href||"",c=HIa.exec(b);try{a=
sq(c&&decodeURIComponent(c[2]))}catch(d){}if(a)return a;c=IIa.exec(b);try{a=sq(c&&decodeURIComponent(c[2]))}catch(d){}if(a)return a;a=JIa.exec(b);return(a=sq(a&&a[1]))?a:""},LIa=function(){var a=tq("gapi.auth.getToken");a=(a=a?a():null)&&a.access_token;var b=null;if(!a){a=(a=tq("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}},MIa=function(a){a=
void 0===a?"":a;var b;if(!(b=LIa())){b=a;var c=void 0===c?KIa():c;a={};var d=uq([]);d&&(a.Authorization=d);b||(b=(b=tq("gapi.config.get"))&&b("client/apiKey"));b&&(a["X-Goog-Api-Key"]=b);c&&(a["X-Goog-AuthUser"]=String(c));b=a}return b},NIa=function(a,b){b=void 0===b?0:b;var c;if(c=0===b)c=(c=tq("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=tq("gapi.config.get"))&&b("client/rewrite"))&&b[a]&&(a=String(b[a]));return a},PIa=function(a,b){return 1>a||!isFinite(a)?Promise.reject("gapi.client missing"):(new Promise(function(c){return da.setTimeout(c,b)})).then(function(){return OIa(a-1,2*b)})},OIa=function(a,b){a=void 0===a?0:a;b=void 0===b?5E3:b;var c=da;try{do var d=c.gapi;while(!d&&c!==c.top&&(c=c.parent))}catch(e){}if(!d)return PIa(a,
b);da.gapi||(da.gapi=d);return d.client?Promise.resolve(d):new Promise(function(e,f){d.load("client",function(){d.client?e(d):f("gapi.client missing")})})},QIa=function(){var a=void 0===a?"":a;var b=void 0===b?KIa():b;var c=tq("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)},RIa=function(a){return(new vq).setEventType(2).setRpcType(2).setLookupType(a)},SIa=function(a){a=
Math.round(1E3*a);return isFinite(a)?a:null},yq=function(a,b,c,d){wq.call(this);this.initialized_=!1;this.title_=null;this.cache_=b;this.id_=c;this.transport_=a;TIa(this.transport_,this.id_);d&&xq(d.getEventTarget(),"e",this.onContactsChange_,!1,this)},UIa=function(a){var b={};if(a){a=m(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},WIa=function(a){return a.extendedData&&a.extendedData.contactPreferences?a.extendedData.contactPreferences.map(function(b){return VIa(b.name,
b.email)}).join(", "):""},ZIa=function(a,b,c){var d=[];a&&(XIa("name",a.name,b,d,c),XIa("phone",a.phone,b,d,c),XIa("photo",a.photo,b,d,c));return d.map(function(e){return new YIa(e)})},XIa=function(a,b,c,d,e){if(b){b=m(b);for(var f=b.next();!f.done;f=b.next())if(f=f.value,"CONTACT"!==tq("metadata.containerType",f)){var h=c,l=d,q=e,u=tq("metadata.encodedContainerId",f),x=tq("metadata.containerType",f);if(h.contains(u,x))var y=h.get(u,x)||0;else y=l.length,h.set(u,x,y),l.push({}),q.push(u);y=l[y];y[a]=
y[a]||[];y[a].push(f)}}},aJa=function(a,b){if(a){a=$Ia(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},bJa=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},cJa=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},
dJa=function(a){this.query_=a;this.error_=0},Aq=function(a,b){b=a(b||eJa,void 0);a=zq();b&&b.renderAsElement?a=b.renderAsElement():(a=a.createElement("DIV"),b=fJa(b),gJa(a,b));1==a.childNodes.length&&(b=a.firstChild,1==b.nodeType&&(a=b));return a},fJa=function(a){return Ta(a)?a.toSafeHtml&&(a=a.toSafeHtml(),a instanceof Bq)?a:jp("zSoyz"):jp(String(a))},Dq=function(a,b,c,d,e,f,h){this.serverBase_="string"===typeof a?new Cq(a):a;this.useApiary_=!!c;this.apiaryClientDeferred_=d;this.onAuthError_=e;this.testGaia_=
!!f;this.contactStoreConfig_=h;this.commonAcParams_={};this.acWrappers_={};this.onAcCompleteListeners_={};this.inputToAcWrapper_={};this.focusedElement_=null},hJa=function(a){a=a.getEmail();if(!a)return!1;for(var b=m(["-pager","+pager","-oncall","+oncall","lifeguard-ng"]),c=b.next();!c.done;c=b.next())if(0<=a.indexOf(c.value))return!0;return!1},lJa=function(a,b,c){a=a.filter(iJa());if(!c)return a;c=c.map(function(d){return{contact:d,toString:function(){return d.text}}});b=jJa(new kJa(c),b,c.length);
return a.concat(b.map(function(d){return d.contact}))},pJa=function(a){if(a&1){var b=t();E(0,"input",7,8);K("change",function(){v(b);var c=N();if(mJa(c)){var d=Eq(c);nJa(c);oJa(c,!0);Eq(c).focus();d.scrollTop=c.scrollPosition;d.selectionEnd=c.textAreaLastCursorLocation;d.dispatchEvent(new KeyboardEvent("keydown"));c.contentChange.emit(c.getValue())}return w()})("keyup",function(c){v(b);var d=N();document.activeElement===Fq(d)&&("Enter"===c.key||"Tab"===c.key?(d.taggingInProgress=!1,oJa(d,!0),Eq(d).focus()):
oJa(d));return w()});F()}a&2&&(a=N(),D("value",a.autocompleteUserName))},qJa=function(a){a&1&&H(0,"div",9,10)},rJa=function(a){a&1&&Kg(0)},sJa=function(a){a&1&&Kg(0)},tJa=function(a){a&1&&H(0,"b-live-preview",11);a&2&&(a=N(),D("comment",a.newComment.text)("issueId",a.origComment.issueId)("audience",a.origComment.audience)("formattingMode",a.newComment.formattingMode))},uJa=function(a){if(a&1){var b=t();E(0,"section")(1,"div",12)(2,"b-recaptcha",13);K("onUpdate",function(c){v(b);var d=N();return w(d.recaptchaResponse=
c)});F()()()}},vJa=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]}}},wJa=function(a){var b=[],c=new Map;a=m(a);for(var d=a.next();!d.done;d=a.next())if(d=d.value,""!==d.displayText)if(c.get(d.resourceId)){var e=c.get(d.resourceId);e.relations=[].concat(r(e.relations),r(d.relations))}else c.set(d.resourceId,d),b.push(d);return b},xJa=function(a){a&1&&H(0,"b-restricted-chip",
10);a&2&&(a=N(),D("label",a.getRestrictedLabel())("retentionState",null==a.attachment?null:a.attachment.piiRetentionState)("contentType","attachment"))},yJa=function(a){a&1&&(E(0,"span",11),H(1,"b-actions-menu",12),F());a&2&&(a=N(),z(1),D("menuItems",a.actionMenuItems)("buttonLabel","Attachment actions")("matTooltip","Attachment actions"))},CJa=function(a){if(a&1){var b=t();E(0,"span")(1,"b-conditional-link",13);K("customHandler",function(){v(b);var c=N();c.isRestricted()?zJa(c,!1):c.domSafe.openInNewTab(AJa(c,
!1));return w()});F()()}a&2&&(a=N(),Ig("bv2-issue-attachment-link ",BJa(a),""),z(1),D("isGreyedOut",!a.hasViewAccess)("displayName","View")("linkUrl",AJa(a,!1))("linkEnabled",!0)("useCustomHandler",!0))},DJa=function(a){if(a&1){var b=t();E(0,"span")(1,"b-conditional-link",13);K("customHandler",function(){v(b);var c=N();c.isRestricted()?zJa(c,!0):c.domSafe.openInNewTab(AJa(c,!0));return w()});F()()}a&2&&(a=N(),Ig("bv2-issue-attachment-link ",BJa(a),""),z(1),D("isGreyedOut",!a.hasViewAccess)("displayName",
"Download")("linkUrl",AJa(a,!0))("linkEnabled",!0)("useCustomHandler",!0))},EJa=function(a){a&1&&(E(0,"span",14)(1,"a",15),H(2,"mat-icon",16),F()());a&2&&(a=N(),z(1),D("href",a.documentationLinks.getRestrictedAccessHelpLink(),Ie)("disableRipple",!0),z(1),D("svgIcon","help-outline"))},FJa=function(a){a&1&&(E(0,"div",17),Q(1," You do not have access to this restricted attachment. "),E(2,"a",18),Q(3,"Learn more"),F()());a&2&&(a=N(),z(2),D("href",a.documentationLinks.getRestrictedAccessHelpLink(),Ie))},
HJa=function(a){if(a&1){var b=t();E(0,"button",20,21);K("click",function(){v(b);var c=N(2);return w(GJa(c))});Q(2," Edit ");F()}},IJa=function(a,b){a&1&&(I(0),Q(1," on behalf of "),H(2,"b-user-display-name",22),J());a&2&&(a=b.ngIf,z(2),D("email",a)("showEmail",!1))},JJa=function(a){a&1&&(I(0),P(1,IJa,3,2,"ng-container",12),U(2,"async"),J());a&2&&(a=N(2),z(1),D("ngIf",V(2,1,a.onBehalfOfEmail$)))},KJa=function(a,b){if(a&1){var c=t();E(0,"a",23);K("click",function(d){var e=v(c).$implicit;N(2).issueReferenceResolver.visit({issueId:e,
elementId:"comment1",event:d});return w()});Q(1);F()}a&2&&(a=b.$implicit,b=N().$implicit,N(),D("routerLinkObj",mta(a,{comment:1})),ug("aria-label","Comment number"+b.commentNumber),z(1),R(" #",b.commentNumber,""))},MJa=function(a){a&1&&(I(0),E(1,"span",24),Q(2," \u2022 Edited"),F(),J());if(a&2){a=N().$implicit;var b=N();z(1);D("matTooltip",LJa(b,a))}},NJa=function(a){a&1&&(I(0),E(1,"p",25),Q(2," Description has been deleted. "),F(),J())},OJa=function(a){if(a&1){var b=t();E(0,"b-restricted-comment-placeholder",
28);K("onConfirm",function(){v(b);var c=N().ngIf,d=N(3).$implicit,e=N();return w(e.loadRestrictedComment(c,d))});U(1,"async");F()}a&2&&(a=N(5),D("disabled",!V(1,1,a.mayReadPii$)))},PJa=function(a){a&1&&(I(0),P(1,OJa,2,3,"b-restricted-comment-placeholder",27),U(2,"async"),J());a&2&&(a=N(4),z(1),D("ngIf",V(2,1,a.shouldShowRestrictedPlaceholder$)))},QJa=function(a){a&1&&(I(0),P(1,PJa,3,3,"ng-container",12),U(2,"async"),J());a&2&&(a=N(3),z(1),D("ngIf",V(2,1,a.id$)))},RJa=function(a,b){a&1&&(H(0,"b-note-container",
31),U(1,"async"));if(a&2){a=b.$implicit;b=N().ngIf;var c=N(4);D("issueId",b)("issueAccessLevel",V(1,4,c.accessLevel$))("note",a)("formattingMode",c.formattingMode)}},SJa=function(a){a&1&&(I(0),P(1,RJa,2,6,"b-note-container",30),U(2,"async"),J());if(a&2){a=N(3).$implicit;var b=N();z(1);D("ngIf",""!==a.unlinkifiedComment&&V(2,1,b.firstNote$))}},TJa=function(a){a&1&&(I(0),Q(1," Add one."),J())},UJa=function(a){a&1&&(E(0,"p",32),Q(1," No description yet."),P(2,TJa,2,0,"ng-container",12),F());a&2&&(a=
N(4),z(2),D("ngIf",a.canEditComment()))},VJa=function(a){a&1&&(P(0,SJa,3,3,"ng-container",12),U(1,"async"),P(2,UJa,3,1,"p",29));if(a&2){a=N(2).$implicit;var b=N();D("ngIf",V(1,2,b.id$));z(2);D("ngIf",""===a.unlinkifiedComment)}},WJa=function(a){a&1&&(P(0,QJa,3,3,"ng-container",17),U(1,"async"),P(2,VJa,3,4,"ng-template",null,26,qh));if(a&2){var b=O(3);a=N(2);D("ngIf",V(1,2,a.isRedacted$))("ngIfElse",b)}},XJa=function(a,b){a&1&&(I(0),H(1,"b-attachment-viewer",36),J());if(a&2){a=b.ngIf;b=N().$implicit;
var c=N(3);z(1);D("issueId",a)("attachment",b)("attachmentUploader",c.getUserEmailIfAvailable())}},YJa=function(a,b){a&1&&(E(0,"div",35),P(1,XJa,2,3,"ng-container",12),U(2,"async"),F());a&2&&(a=b.$implicit,b=N(3),Pg("id","attachment",a.attachmentId,""),z(1),D("ngIf",V(2,2,b.id$)))},ZJa=function(a){a&1&&(E(0,"div",33),P(1,YJa,3,4,"div",34),F());a&2&&(a=N().$implicit,z(1),D("ngForOf",a.attachments))},aKa=function(a,b){a&1&&(E(0,"div",2),H(1,"mat-icon",3),E(2,"div",4)(3,"div",5)(4,"div",6)(5,"h4",7),
Q(6,"Description"),F(),P(7,HJa,3,0,"button",8),H(8,"b-user-display",9),E(9,"onedev-hovercard",null,10),H(11,"b-issue-person-card",11),F(),Q(12," created issue "),P(13,JJa,3,3,"ng-container",12),U(14,"async"),P(15,KJa,2,3,"a",13),U(16,"async"),P(17,MJa,3,1,"ng-container",12),U(18,"async"),F(),E(19,"div"),H(20,"b-formatted-date-time",14)(21,"b-actions-menu",15,16),U(23,"async"),F()(),P(24,NJa,3,0,"ng-container",17),U(25,"async"),P(26,WJa,4,4,"ng-template",null,18,qh),P(28,ZJa,2,1,"div",19),F()());if(a&
2){a=b.$implicit;var c=O(10),d=O(27);b=N();var e;z(7);D("ngIf",b.canEditComment());z(1);D("onedevHovercardTrigger",c)("model",a.userPerformingActionUser);z(3);D("email",b.getUserEmailIfAvailable());z(2);D("ngIf",V(14,13,b.isAuthorNotReporter$));z(2);D("ngIf",a.commentNumber&&V(16,15,b.id$));z(2);D("ngIf",V(18,17,b.isShowCommentHistoryActionInMenu$));z(3);D("timestamp",a.modifiedDate);z(1);D("buttonLabel","Description actions")("menuItems",null!==(e=V(23,19,b.commentActionMenuItems$))&&void 0!==e?
e:Wg(23,$Ja));z(3);D("ngIf",V(25,21,b.isDeleted$))("ngIfElse",d);z(4);D("ngIf",null==a?null:null==a.attachments?null:a.attachments.length)}},bKa=function(a){a&1&&H(0,"b-spinner")},cKa=function(a){return(null==a?void 0:a.emailAddress)||(null==a?void 0:a.obfuscatedEmailAddress)||""},dKa=function(a,b){a&1&&H(0,"b-issue-person-card",7);a&2&&D("email",b.ngIf)},eKa=function(a,b){a&1&&(I(0),E(1,"span",4),Q(2),U(3,"shortenEmail"),F(),E(4,"onedev-hovercard",null,5),P(6,dKa,1,1,"b-issue-person-card",6),F(),
J());if(a&2){a=b.ngIf;var c=O(5);b=N(2);z(1);D("onedevHovercardTrigger",c);z(1);R(" ",$g(3,3,b.userToString(a),30)," ");z(4);D("ngIf",a.emailAddress)}},fKa=function(a,b){if(a&1){var c=t();E(0,"a",8);K("click",function(d){var e=v(c).ngIf,f=N(2);return w(f.scrollCommentIntoView(d,e))});Q(1);F()}a&2&&(a=b.ngIf,b=N(2),wg("aria-label","Comment number ",a,""),D("routerLinkObj",b.getCommentNumberLink(a)),z(1),R(" #",a,""))},gKa=function(a){a&1&&(I(0),Q(1,","),J())},hKa=function(a,b){a&1&&(E(0,"span",1),
P(1,eKa,7,6,"ng-container",2),E(2,"span"),P(3,fKa,2,3,"a",3),P(4,gKa,2,0,"ng-container",2),F()());a&2&&(a=b.$implicit,b=b.last,z(1),D("ngIf",a.userPerformingActionUser),z(2),D("ngIf",a.commentNumber),z(1),D("ngIf",!b))},iKa=function(a,b){a&1&&(E(0,"div",4)(1,"a",5),U(2,"removePngExtension"),H(3,"b-secure-image-widget",6),F(),H(4,"comments-info",7),F());a&2&&(a=b.$implicit,b=N(3),z(1),Qg("href",V(2,5,a.src),Ie),z(2),D("showByDefault",!0)("src",a.src),z(1),D("issueId",b.issueId)("comments",a.comments))},
jKa=function(a){if(a&1){var b=t();E(0,"button",10);K("click",function(){v(b);var c=N(2).ngIf,d=N(2);c=c.length;var e=Zo(d.maxImagesInOneRow$);e&&d.lastRenderedImageIndex$.next((Math.floor(c/e)+4)*e);return w()});Q(1," Load more ");F()}},kKa=function(a){if(a&1){var b=t();E(0,"button",11);K("click",function(){v(b);var c=N(4);return w(c.goToResourcesTab())});Q(1," See all screenshots ");F()}},lKa=function(a){a&1&&(I(0),P(1,jKa,2,0,"button",8),P(2,kKa,2,0,"ng-template",null,9,qh),J());if(a&2){var b=O(3);
a=N(3);z(1);D("ngIf",a.paginate)("ngIfElse",b)}},mKa=function(a,b){a&1&&(I(0),E(1,"div",2),P(2,iKa,5,7,"div",3),U(3,"async"),F(),P(4,lKa,4,2,"ng-container",1),J());if(a&2){a=b.ngIf;b=N().ngIf;var c=N();z(1);Fg("show-all-images",c.paginate);z(1);D("ngForOf",V(3,4,c.imagesToRender$));z(2);D("ngIf",b.length!==a.length)}},nKa=function(a){a&1&&(I(0),P(1,mKa,5,6,"ng-container",1),U(2,"async"),J());a&2&&(a=N(),z(1),D("ngIf",V(2,1,a.imagesToRender$)))},oKa=function(a){var b=new Map;a=m(a);for(var c=a.next();!c.done;c=
a.next()){c=c.value;var d=void 0,e=null!=(d=b.get(c.src))?d:[];e.push(c.comment);b.set(c.src,e)}return Array.from(b.entries()).map(function(f){var h=m(f);f=h.next().value;h=h.next().value;return{src:f,comments:wn(h)}})},pKa=function(a){a&1&&(E(0,"span",5),Q(1),U(2,"reverse"),F());a&2&&(a=N(),z(1),Sg(V(2,1,a.leftText)))},qKa=function(a){a&1&&(I(0),E(1,"b-external-hyperlink-widget",6),Q(2),F(),J());a&2&&(a=N(),z(1),D("href",a.redirectedHref)("originalHref",a.originalHref),z(1),Sg(a.linkText))},rKa=
function(a){a&1&&(E(0,"b-issue-reference-widget",9),Q(1),F());a&2&&(a=N(2),D("href",a.redirectedHref)("issueId",a.issueId),z(1),Sg(a.linkText))},sKa=function(a){a&1&&(E(0,"a",10),Q(1),F());a&2&&(a=N(2),Qg("href",a.redirectedHref,Ie),z(1),Sg(a.linkText))},tKa=function(a){a&1&&(P(0,rKa,2,3,"b-issue-reference-widget",7),P(1,sKa,2,2,"ng-template",null,8,qh));if(a&2){var b=O(2);a=N();D("ngIf",a.issueId)("ngIfElse",b)}},uKa=function(a){a&1&&(E(0,"span",11),Q(1),F());a&2&&(a=N(),z(1),Sg(a.rightText))},vKa=
function(a){var b=document.createElement("div");if(a=rqa(a))void 0!==b.tagName&&Tka(b),b.innerHTML=im(a);return b},wKa=function(a){a&1&&(I(0),E(1,"td"),H(2,"b-issue-priority-display",2),F(),E(3,"td",3)(4,"span",4),Q(5),F(),H(6,"mentioned-link-with-context",5),F(),E(7,"td"),H(8,"comments-info",6),U(9,"toComments"),F(),J());if(a&2){a=N().$implicit;var b=N(3),c;z(2);D("matTooltip",a.hasViewAccess?"":"Access is denied to this issue")("issuePriority",a.priority);z(2);D("matTooltip",a.hasViewAccess?"":
"Access is denied to this issue");z(1);R(" ",null!==(c=a.title)&&void 0!==c?c:"--"," ");z(1);D("sourceComment",a.sourceComments[0].issueEvent)("relatedLink",a.relatedLinks[0]);z(2);D("issueId",b.issueId)("comments",V(9,8,a.sourceComments))}},xKa=function(a,b){a&1&&(E(0,"tr"),P(1,wKa,10,10,"ng-container",0),F());a&2&&(a=b.$implicit,z(1),D("ngIf",a.sourceComments&&a.relatedLinks))},yKa=function(a){if(a&1){var b=t();E(0,"button",9);K("click",function(){v(b);var c=N(4);c.lastRenderedMentionedIssueIndex$.next(c.lastRenderedMentionedIssueIndex$.value+
100);return w()});Q(1," Load more ");F()}},zKa=function(a){if(a&1){var b=t();E(0,"button",10);K("click",function(){v(b);var c=N(4);return w(c.goToResourcesTab())});Q(1," See all mentioned issues ");F()}},AKa=function(a){a&1&&(E(0,"div"),P(1,yKa,2,0,"button",7),P(2,zKa,2,0,"ng-template",null,8,qh),F());if(a&2){var b=O(3);a=N(3);z(1);D("ngIf",a.paginate)("ngIfElse",b)}},BKa=function(a,b){a&1&&(I(0),E(1,"section")(2,"table"),P(3,xKa,2,1,"tr",1),F(),P(4,AKa,4,2,"div",0),F(),J());a&2&&(a=b.ngIf,b=N().ngIf,
z(3),D("ngForOf",b),z(1),D("ngIf",a.length!==b.length))},CKa=function(a){a&1&&(I(0),P(1,BKa,5,2,"ng-container",0),U(2,"async"),J());a&2&&(a=N(),z(1),D("ngIf",V(2,1,a.allMentionedIssues$)))},DKa=function(a,b){a&1&&(E(0,"div",2),H(1,"mentioned-link-with-context",3)(2,"comments-info",4),U(3,"toComments"),F());a&2&&(a=b.$implicit,b=N(3),z(1),D("sourceComment",a[0].comment)("relatedLink",a[0]),z(1),D("issueId",b.issueId)("comments",V(3,4,a)))},EKa=function(a){if(a&1){var b=t();E(0,"button",7);K("click",
function(){v(b);var c=N(4);c.lastRenderedRelatedLinkIndex$.next(c.lastRenderedRelatedLinkIndex$.value+100);return w()});Q(1," Load more ");F()}},FKa=function(a){if(a&1){var b=t();E(0,"button",8);K("click",function(){v(b);var c=N(4);return w(c.goToResourcesTab())});Q(1," See all related links ");F()}},GKa=function(a){a&1&&(E(0,"div"),P(1,EKa,2,0,"button",5),P(2,FKa,2,0,"ng-template",null,6,qh),F());if(a&2){var b=O(3);a=N(3);z(1);D("ngIf",a.paginate)("ngIfElse",b)}},HKa=function(a,b){a&1&&(I(0),P(1,
DKa,4,6,"div",1),P(2,GKa,4,2,"div",0),J());if(a&2){a=b.ngIf;b=N().ngIf;var c=N();z(1);D("ngForOf",a)("ngForTrackBy",c.trackByHref);z(1);D("ngIf",b.length!==a.length)}},IKa=function(a){a&1&&(I(0),P(1,HKa,3,3,"ng-container",0),U(2,"async"),J());a&2&&(a=N(),z(1),D("ngIf",V(2,1,a.linkGroupsToRender$)))},KKa=function(a,b){var c=a.filter(function(d){return Asa(d[0])});a=a.filter(function(d){return!Asa(d[0])});return JKa([].concat(r(c),r(a)).slice(0,b),"asc")},MKa=function(a){a&1&&(I(0),H(1,"mat-icon",10),
Kg(2,11),J());if(a&2){a=N().$implicit;N();var b=O(10);z(2);D("ngTemplateOutlet",b)("ngTemplateOutletContext",Xg(2,LKa,a))}},NKa=function(){},OKa=function(a){a&1&&P(0,NKa,0,0,"ng-template")},PKa=function(a){a&1&&(I(0),P(1,OKa,1,0,null,12),J());a&2&&(a=N(2).$implicit,z(1),D("ngTemplateOutlet",a.tabIconTemplate))},QKa=function(a){a&1&&(P(0,PKa,2,1,"ng-container",3),Kg(1,11));if(a&2){a=N().$implicit;N();var b=O(10);D("ngIf",a.tabIconTemplate);z(1);D("ngTemplateOutlet",b)("ngTemplateOutletContext",Xg(3,
LKa,a))}},RKa=function(a,b){if(a&1){var c=t();E(0,"button",7);K("click",function(){var e=v(c).$implicit,f=N();e=e.key;f.internalExpandedTabs.has(e)?f.internalExpandedTabs.delete(e):f.internalExpandedTabs.add(e);f.expandedTabsChanged.emit(new Set(f.internalExpandedTabs));return w()});U(1,"async");U(2,"async");U(3,"async");P(4,MKa,3,4,"ng-container",8);U(5,"async");P(6,QKa,2,5,"ng-template",null,9,qh);F()}if(a&2){a=b.$implicit;var d=O(7);b=N();Fg("expanded",!!V(1,8,Gp(b.internalExpandedTabs,a.key)));
wg("aria-controls","expandable-tabs-",a.key,"-content");ug("aria-label",a.ariaLabel)("aria-expanded",!!V(2,10,Gp(b.internalExpandedTabs,a.key)))("aria-selected",!!V(3,12,Gp(b.internalExpandedTabs,a.key)));z(4);D("ngIf",V(5,14,Gp(b.internalExpandedTabs,a.key)))("ngIfElse",d)}},TKa=function(a,b){if(a&1){var c=t();I(0);E(1,"button",13);K("click",function(){v(c);var d=N();return w(SKa(d))});Q(2);F();J()}a&2&&(a=b.ngIf,b=N(),z(1),Fg("expandable-tabs-hide-all",a.allTabsExpanded)("expandable-tabs-show-all",
!a.allTabsExpanded),ug("aria-label",(a.allTabsExpanded?"Hide all":"Show all")+" "+b.ariaLabel),z(1),R(" ",a.allTabsExpanded?"Hide all":"Show all"," "))},UKa=function(){},VKa=function(a){a&1&&P(0,UKa,0,0,"ng-template")},WKa=function(a){a&1&&(I(0),P(1,VKa,1,0,null,12),J());a&2&&(a=N(2).$implicit,z(1),D("ngTemplateOutlet",a.tabIconTemplate))},XKa=function(){},YKa=function(a){a&1&&P(0,XKa,0,0,"ng-template")},ZKa=function(a){a&1&&(I(0),P(1,YKa,1,0,null,12),J());a&2&&(a=N(2).$implicit,z(1),D("ngTemplateOutlet",
a.tabContentTemplate))},$Ka=function(a){a&1&&(E(0,"div",15)(1,"h4"),P(2,WKa,2,1,"ng-container",3),Kg(3,11),F(),P(4,ZKa,2,1,"ng-container",3),F());if(a&2){a=N().$implicit;N();var b=O(10);Pg("id","expandable-tabs-",a.key,"-content");z(2);D("ngIf",a.tabIconTemplate);z(1);D("ngTemplateOutlet",b)("ngTemplateOutletContext",Xg(5,LKa,a));z(1);D("ngIf",a.tabContentTemplate)}},aLa=function(a,b){a&1&&(I(0),P(1,$Ka,5,7,"div",14),U(2,"async"),J());a&2&&(a=b.$implicit,b=N(),z(1),D("ngIf",V(2,1,Gp(b.internalExpandedTabs,
a.key))))},bLa=function(){},cLa=function(a){a&1&&P(0,bLa,0,0,"ng-template")},dLa=function(a){a&1&&(I(0),P(1,cLa,1,0,null,12),J());a&2&&(a=N().tab,z(1),D("ngTemplateOutlet",a.tabHeaderTemplate))},eLa=function(a){a&1&&Q(0);a&2&&(a=N().tab,Sg(a.key))},fLa=function(a,b){a&1&&(P(0,dLa,2,1,"ng-container",8),P(1,eLa,1,1,"ng-template",null,16,qh));if(a&2){a=b.tab;var c=O(2);D("ngIf",a.tabHeaderTemplate)("ngIfElse",c)}},gLa=function(a){a&1&&H(0,"mat-icon",9)},hLa=function(a){a&1&&(Q(0),U(1,"async"));if(a&
2){a=N(2);var b;R("Screenshots (",null!==(b=V(1,1,a.distinctImageLinksCount$))&&void 0!==b?b:0,")")}},kLa=function(a,b){if(a&1){var c=t();E(0,"inline-images-summary",11);K("click",function(){v(c);var e=N(3);iLa(e.issueSummaryTracking,e.issueId,e.TabKeys.IMAGES);return w()});U(1,"async");F()}if(a&2){a=b.ngIf;b=N(3);var d;D("issueId",a)("imageLinks",null!==(d=V(1,2,b.imageLinks$))&&void 0!==d?d:Wg(4,jLa))}},lLa=function(a){a&1&&(P(0,kLa,2,5,"inline-images-summary",10),U(1,"async"));a&2&&(a=N(2),D("ngIf",
V(1,1,a.issueId$)))},mLa=function(a){a&1&&H(0,"mat-icon",12)},nLa=function(a){a&1&&(Q(0),U(1,"async"));if(a&2){a=N(2);var b;R("Mentioned issues (",null!==(b=V(1,1,a.distinctIssuesCount$))&&void 0!==b?b:0,")")}},oLa=function(a,b){if(a&1){var c=t();E(0,"b-mentioned-issues",14);K("click",function(){v(c);var d=N(3);iLa(d.issueSummaryTracking,d.issueId,d.TabKeys.MENTIONED_ISSUES);return w()});F()}a&2&&(a=b.ngIf,b=N(3),D("issueReferences",a)("currentIssueId",b.issueId))},pLa=function(a){a&1&&(P(0,oLa,1,
2,"b-mentioned-issues",13),U(1,"async"));a&2&&(a=N(2),D("ngIf",V(1,1,a.issues$)))},qLa=function(a){a&1&&H(0,"mat-icon",15)},rLa=function(a){a&1&&(Q(0),U(1,"async"));if(a&2){a=N(2);var b;R("Links (",null!==(b=V(1,1,a.distinctOtherLinksCount$))&&void 0!==b?b:0,")")}},sLa=function(a){if(a&1){var b=t();E(0,"related-links-widget",16);K("click",function(){v(b);var d=N(2);iLa(d.issueSummaryTracking,d.issueId,d.TabKeys.LINKS);return w()});U(1,"async");F()}if(a&2){a=N(2);var c;D("links",null!==(c=V(1,2,a.otherLinks$))&&
void 0!==c?c:Wg(4,jLa))("issueId",a.issueId)}},uLa=function(a,b){if(a&1){var c=t();E(0,"expandable-tabs",2);K("expandedTabsChanged",function(d){var e=v(c).ngIf,f=N();return w(f.onTabExpanded$.emit({expandedTabKeys:d,allTabKeys:e}))})("contentShownChanged",function(d){v(c);var e=N(),f=e.issueSummaryTracking;e=e.issueId;for(var h=m(tLa),l=h.next();!l.done;l=h.next())l=l.value,d.has(l)?(Gq(f.issueInteractionsTracking,e,l+"-content-shown"),f.issueInteractionsTracking.getState(e).variations.delete(l+"-content-not-shown")):
(Gq(f.issueInteractionsTracking,e,l+"-content-not-shown"),f.issueInteractionsTracking.getState(e).variations.delete(l+"-content-shown"));0<d.size?(f.recordImpressionOnce(),Gq(f.issueInteractionsTracking,e,"SW-content-shown"),f.issueInteractionsTracking.getState(e).variations.delete("SW-content-not-shown")):(Gq(f.issueInteractionsTracking,e,"SW-content-not-shown"),f.issueInteractionsTracking.getState(e).variations.delete("SW-content-shown"));return w()});E(1,"expandable-tab",3);P(2,gLa,1,0,"ng-template",
4);P(3,hLa,2,3,"ng-template",5);P(4,lLa,2,3,"ng-template",6);F();E(5,"expandable-tab",7);P(6,mLa,1,0,"ng-template",4);P(7,nLa,2,3,"ng-template",5);P(8,pLa,2,3,"ng-template",6);F();E(9,"expandable-tab",8);P(10,qLa,1,0,"ng-template",4);P(11,rLa,2,3,"ng-template",5);P(12,sLa,2,5,"ng-template",6);F()()}a&2&&(a=b.ngIf,b=N(),D("tabKeys",a)("expandedTabs",b.initiallyExpandedTabs),z(1),D("key",b.TabKeys.IMAGES),z(4),D("key",b.TabKeys.MENTIONED_ISSUES),z(4),D("key",b.TabKeys.LINKS))},vLa=function(a){a&1&&
(E(0,"div",29),H(1,"img",30),Q(2,"\u00a0 "),E(3,"a",31),Q(4),F()());if(a&2){a=N().$implicit;var b=N(3);z(3);D("href",b.makeCritiqueUrl(a.clIds,a.pendingChangeLists),Ie);z(1);R("",a.clIds.length+a.pendingChangeLists.length," CLs")}},wLa=function(a,b){a&1&&H(0,"b-user-image",32);a&2&&D("email",b.$implicit)},xLa=function(a,b){if(a&1){var c=t();E(0,"div",23);K("click",function(){var e=v(c).$implicit,f=N(3);return w(f.log(e))});E(1,"div",24);P(2,vLa,5,2,"div",25);F();P(3,wLa,1,1,"b-user-image",26);U(4,
"slice");E(5,"button",27);H(6,"mat-icon",28);F()()}if(a&2){a=b.$implicit;N(2);var d=O(17);z(2);D("ngIf",0<a.clIds.length||0<a.pendingChangeLists.length);z(1);D("ngForOf",ah(4,3,a.contributors,0,10));z(2);D("matMenuTriggerFor",d)}},yLa=function(a){a&1&&(I(0),P(1,xLa,7,7,"div",22),U(2,"async"),J());a&2&&(a=N(2),z(1),D("ngIf",V(2,1,a.projectData$)))},zLa=function(a,b){a&1&&(E(0,"div",36),H(1,"div",37),Q(2),U(3,"number"),F());if(a&2){a=b.$implicit;b=N().$implicit;var c=N(3);Rg("title","",b.totalCount-
b.openCount," of ",b.totalCount," tasks complete");z(1);ug("style",c.makePie(a/100),bfa);z(1);R(" ",$g(3,4,a,"1.0-0"),"% Complete ")}},ALa=function(a){a&1&&(E(0,"div",29),H(1,"mat-icon",38),Q(2),F());if(a&2){a=N(3).$implicit;var b=N();z(2);R(" Target: ",b.getEndDate(a)," ")}},CLa=function(a){a&1&&(E(0,"a",31),Q(1),F());if(a&2){a=N(2).$implicit;var b=N(3);D("href",b.makeCritiqueUrl(Wg(2,BLa),a.pendingChangeLists),Ie);z(1);R("(",a.pendingChangeLists.length," pending)")}},DLa=function(a){a&1&&(E(0,"div",
29),H(1,"img",30),Q(2,"\u00a0 "),E(3,"a",31),Q(4),F(),Q(5," \u00a0 "),P(6,CLa,2,3,"a",39),F());if(a&2){a=N().$implicit;var b=N(3);z(3);D("href",b.makeCritiqueUrl(a.clIds,a.pendingChangeLists),Ie);z(1);R("",a.clIds.length+a.pendingChangeLists.length," CLs");z(2);D("ngIf",0<a.pendingChangeLists.length)}},ELa=function(a,b){if(a&1){var c=t();E(0,"div",34);K("click",function(){var e=v(c).$implicit,f=N(3);return w(f.log(e))});P(1,zLa,4,7,"div",35);P(2,ALa,3,1,"div",25);P(3,DLa,7,3,"div",25);F()}if(a&2){a=
b.$implicit;b=N(2).$implicit;var d=N();z(1);D("ngIf",0<a.totalCount&&(a.totalCount-a.openCount)/a.totalCount*100);z(1);D("ngIf",d.getEndDate(b));z(1);D("ngIf",0<a.clIds.length||0<a.pendingChangeLists.length)}},FLa=function(a){a&1&&(I(0),P(1,ELa,4,3,"div",33),U(2,"async"),J());a&2&&(a=N(2),z(1),D("ngIf",V(2,1,a.projectData$)))},HLa=function(a){a&1&&(I(0),H(1,"expandable-issues-table",41),U(2,"async"),J());if(a&2){a=N(2).$implicit;var b=N();z(1);Pg("saveExpansionAtKey","project-expansion-",a.issueId,
"");D("rootIssueId",a.issueId)("filters",b.hackyPrefs.prefs.projectFilters)("tableColumns",b.TABLE_COLUMNS)("options",Wg(8,GLa))("projectData",V(2,6,b.projectData$))}},ILa=function(a){a&1&&(I(0),H(1,"b-issue-description",42)(2,"hr")(3,"issue-summary-card",43,44),U(5,"async"),H(6,"hr"),E(7,"p",45),Q(8," No children. "),E(9,"a",46),Q(10,"Add Children"),F()(),J());if(a&2){var b=O(4);a=N(2).$implicit;z(1);D("id",a.issueId);z(2);Fg("hidden",!V(5,6,b.shouldShowSummaryCard$));D("issueId",a.issueId)("alwaysStartCollapsed",
!0);z(6);Pg("href","/issues/",a.issueId,"/dependencies",Ie)}},JLa=function(a){a&1&&(E(0,"div",40),H(1,"hr"),P(2,HLa,3,9,"ng-container",13),P(3,ILa,11,8,"ng-container",13),F());a&2&&(a=N().$implicit,z(2),D("ngIf",0<a.childIssueCount),z(1),D("ngIf",0===a.childIssueCount))},KLa=function(a,b){a&1&&(I(0),E(1,"a",49),Q(2,"Taskflow"),F(),J());a&2&&(a=b.$implicit,z(1),D("href",a,Ie))},LLa=function(a){a&1&&(I(0),E(1,"a",50),Q(2),F(),J());if(a&2){a=N().$implicit;var b=N(3);z(1);D("href",b.makeScreenshotViewUrl(a.screenshots),
Ie);z(1);R("",a.screenshots.length," Screenshots")}},MLa=function(a,b){a&1&&(I(0),P(1,LLa,3,2,"ng-container",13),J());a&2&&(a=b.$implicit,z(1),D("ngIf",3<a.screenshots.length))},NLa=function(a,b){a&1&&(I(0),H(1,"activity-stream",51),J());a&2&&(a=b.$implicit,z(1),D("activityEvents",a)("title","Project Activity"))},OLa=function(a){a&1&&H(0,"b-spinner")},PLa=function(a){a&1&&(E(0,"footer"),H(1,"hr"),E(2,"a",47),Q(3,"Launch"),F(),P(4,KLa,3,1,"ng-container",13),U(5,"async"),P(6,MLa,2,1,"ng-container",
13),U(7,"async"),H(8,"hr"),P(9,NLa,2,2,"ng-container",1),U(10,"async"),P(11,OLa,1,0,"ng-template",null,48,qh),F());if(a&2){var b=O(12);a=N(2);z(4);D("ngIf",V(5,4,a.taskFlowLink$));z(2);D("ngIf",V(7,6,a.projectData$));z(3);D("ngIf",V(10,8,a.projectActivityStream$))("ngIfElse",b)}},QLa=function(a,b){if(a&1){var c=t();I(0);E(1,"header",3)(2,"aside",4)(3,"div",5)(4,"button",6);K("click",function(){var d=v(c).$implicit,e=N();return w(vp(e.hackyPrefs,d.issueId))});Q(5,"Add");F()()();E(6,"div",7)(7,"div",
3)(8,"div",8)(9,"span",9)(10,"a",10);Q(11);F();E(12,"i",11);K("click",function(){var d=v(c).$implicit,e=N();return w(wp(e.hackyPrefs,"project-"+d.issueId))});F()();E(13,"span",12);Q(14);F()();P(15,yLa,3,3,"ng-container",13);F()();E(16,"mat-menu",null,14)(18,"button",15);K("click",function(){var d=v(c).$implicit,e=N();return w(Hq(e.hackyPrefs,d.issueId,-1))});H(19,"mat-icon",16);E(20,"span",17);Q(21,"Move up");F()();E(22,"button",15);K("click",function(){var d=v(c).$implicit,e=N();return w(Hq(e.hackyPrefs,
d.issueId,1))});H(23,"mat-icon",18);E(24,"span",17);Q(25,"Move down");F()();H(26,"mat-divider");E(27,"button",19);K("click",function(){var d=v(c).$implicit,e=N();return w(Iq(e.hackyPrefs,d.issueId))});H(28,"mat-icon",20);E(29,"span",17);Q(30,"Remove from My Projects");F()()()();P(31,FLa,3,3,"ng-container",13);P(32,JLa,4,2,"div",21);P(33,PLa,13,10,"footer",13);J()}a&2&&(a=b.$implicit,b=N(),z(10),Pg("href","/issues/",a.issueId,"/dependencies",Ie),z(1),R(" ",a.snapshot[0].title," "),z(3),R(" ",a.issueId,
" "),z(1),D("ngIf",!b.addMode),z(3),D("disabled",!Jq(b.hackyPrefs,a.issueId,-1)),z(4),D("disabled",!Jq(b.hackyPrefs,a.issueId,1)),z(9),D("ngIf",!b.isCollapsed(a.issueId)),z(1),D("ngIf",!b.isCollapsed(a.issueId)),z(1),D("ngIf",!b.isCollapsed(a.issueId)&&0<a.childIssueCount))},RLa=function(a){a&1&&(I(0),H(1,"b-spinner"),J())},SLa=function(a){if(a&1){var b=t();E(0,"p",53);Q(1);E(2,"a",54);K("click",function(){v(b);var c=N(2);return w(Iq(c.hackyPrefs,c.issueId))});Q(3," Remove ");F()()}a&2&&(a=N(2),z(1),
R(" b/",a.issueId," "))},TLa=function(a){a&1&&(P(0,RLa,2,0,"ng-container",1),P(1,SLa,4,1,"ng-template",null,52,qh));if(a&2){var b=O(2);a=N();D("ngIf",a.issueFridge.isThinking(a.issueId))("ngIfElse",b)}},VLa=function(a){a=ULa(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},XLa=function(a){a=encodeURIComponent(a.join("\n\n"));return"/issues/new?component="+
WLa+"&description="+a},YLa=function(a,b){a&1&&(I(0),H(1,"issue-as-project-card",9),J());a&2&&(a=b.$implicit,z(1),D("issueId",a.issueId)("addMode",!0))},ZLa=function(a){a&1&&(E(0,"p",3),Q(1,"No projects found."),F())},$La=function(a){if(a&1){var b=t();E(0,"button",10);K("click",function(){v(b);var c=N(2);return w(c.suggestionCount=2*c.suggestionCount)});Q(1," Show more ");F()}},aMa=function(a,b){a&1&&(I(0),E(1,"div",2)(2,"p",3)(3,"a",4),H(4,"mat-icon",5),F(),Q(5," Issues calculated from parent/child work items. "),
F(),P(6,YLa,2,2,"ng-container",6),U(7,"slice"),P(8,ZLa,2,0,"p",7),P(9,$La,2,0,"button",8),F(),J());a&2&&(a=b.ngIf,b=N(),z(6),D("ngForOf",ah(7,3,a,0,b.suggestionCount)),z(2),D("ngIf",0===a.length),z(1),D("ngIf",a.length>b.suggestionCount&&!b.disableShowMore))},bMa=function(a){a&1&&(E(0,"p",3),H(1,"b-spinner"),Q(2," Loading project suggestions... "),F())},cMa=function(a){a&1&&(E(0,"p",11),Q(1),F());a&2&&(a=N(),z(1),R(" ",a.errorMsg," "))},dMa=function(a){if(a&1){var b=t();E(0,"aside",12)(1,"div",13)(2,
"h2");Q(3,"Hotlist Suggestions");F();E(4,"suggested-hotlists",14);K("click",function(c){v(b);var d=N();Ssa(c).match(/\bBUTTON\b/)&&d.dialogRef.close();return w()});F()();E(5,"div",13)(6,"h2");Q(7,"Project Suggestions");F();E(8,"suggested-issue-projects",15);K("click",function(c){v(b);var d=N();Ssa(c).match(/\bBUTTON\b/)&&d.dialogRef.close();return w()});F()()()}a&2&&(z(4),D("suggestionCount",5)("disableShowMore",!0),z(4),D("suggestionCount",5)("disableShowMore",!0))},eMa=function(a){if(a&1){var b=
t();E(0,"div",3);K("@arrowPosition.start",function(){v(b);var c=N();return w(c._disableViewStateAnimation=!0)})("@arrowPosition.done",function(){v(b);var c=N();return w(c._disableViewStateAnimation=!1)});H(1,"div",4);E(2,"div",5);H(3,"div",6)(4,"div",7)(5,"div",8);F()()}a&2&&(a=N(),D("@arrowOpacity",a._getArrowViewState())("@arrowPosition",a._getArrowViewState())("@allowChildren",a._getArrowDirectionState()),z(2),D("@indicator",a._getArrowDirectionState()),z(1),D("@leftPointer",a._getArrowDirectionState()),
z(1),D("@rightPointer",a._getArrowDirectionState()))},fMa=function(a){a&1&&H(0,"th",21)},gMa=function(a){a&1&&H(0,"td",22)},hMa=function(a){a&1&&(E(0,"th",21),Q(1," Id "),F())},iMa=function(a,b){a&1&&(E(0,"td",23),H(1,"b-issue-id-cell",24),F());a&2&&(a=b.$implicit,z(1),D("id",a.id))},jMa=function(a){a&1&&(E(0,"th",21),Q(1," Title "),F())},kMa=function(a,b){a&1&&(E(0,"td",23),H(1,"b-issue-title-cell",25),U(2,"async"),F());a&2&&(a=b.$implicit,b=N(),z(1),D("issue",V(2,2,a.issue$))("issueUrlFactory",
b.issueUrlFactory))},lMa=function(a){a&1&&(E(0,"th",26),Q(1," Type "),F())},mMa=function(a,b){a&1&&(E(0,"td",23),H(1,"b-issue-type-cell",27),U(2,"async"),F());a&2&&(a=b.$implicit,z(1),D("issue",V(2,1,a.issue$)))},nMa=function(a){a&1&&(E(0,"th",28),Q(1," Assignee "),F())},oMa=function(a,b){a&1&&(E(0,"td",23),H(1,"b-issue-assignee-cell",27),U(2,"async"),F());a&2&&(a=b.$implicit,z(1),D("issue",V(2,1,a.issue$)))},pMa=function(a){a&1&&(E(0,"th",29),Q(1," Reporter "),F())},qMa=function(a,b){a&1&&(E(0,"td",
23),H(1,"b-issue-reporter-cell",27),U(2,"async"),F());a&2&&(a=b.$implicit,z(1),D("issue",V(2,1,a.issue$)))},rMa=function(a){a&1&&(E(0,"th",30),Q(1," Status "),F())},sMa=function(a,b){a&1&&(E(0,"td",23),H(1,"b-issue-status-cell",27),U(2,"async"),F());a&2&&(a=b.$implicit,z(1),D("issue",V(2,1,a.issue$)))},tMa=function(a){a&1&&(E(0,"th",21),Q(1," Team "),F())},uMa=function(a,b){a&1&&(E(0,"td",23),H(1,"b-issue-team-cell",27),U(2,"async"),F());a&2&&(a=b.$implicit,z(1),D("issue",V(2,1,a.issue$)))},vMa=function(a){a&
1&&(E(0,"th",31),Q(1," Created "),F())},wMa=function(a,b){a&1&&(E(0,"td",23),H(1,"b-issue-created-time-cell",27),U(2,"async"),F());a&2&&(a=b.$implicit,z(1),D("issue",V(2,1,a.issue$)))},xMa=function(a){a&1&&H(0,"th",21)},yMa=function(a,b){a&1&&(E(0,"td",23)(1,"b-actions-menu",32),K("click",function(c){return c.stopPropagation()}),F()());a&2&&(a=b.$implicit,b=N(),z(1),D("menuItems",b.getMenuItems(a.id)))},zMa=function(a){a&1&&H(0,"tr",33)},AMa=function(a,b){if(a&1){var c=t();E(0,"tr",34);K("click",
function(d){var e=v(c).$implicit,f=N();return w(f.navigateToIssue(d,e.id))})("mouseup",function(d){var e=v(c).$implicit,f=N();return w(f.navigateToIssue(d,e.id))})("focusin",function(){var d=v(c).$implicit,e=N();return w(Hp(e.focusManager,d))})("keydown",function(d){var e=v(c).$implicit,f=N();return w(f.onRowKeydown(e,d))});F()}a&2&&D("row",b.$implicit)},BMa=function(a,b){return(null==a?void 0:a.id)===(null==b?void 0:b.id)},Fn=function(a){return Zo(a.issue$)},CMa=function(a,b){if(!b||!b.direction)return a;
switch(b.active){case "status":return bsa()(a,b.direction);case "assignee":return csa()(a,b.direction);case "reporter":return esa()(a,b.direction);case "type":return dsa()(a,b.direction);case "createdTime":return fsa()(a,b.direction);default:return a}},DMa=function(a){a&1&&(E(0,"div"),H(1,"b-slo-time-indicator",1),F());a&2&&(a=N(),z(1),D("sloSnoozeUntil",a.sloSnoozeUntil)("sloBounds",a.assignmentSlo)("includeObjective",!0))},EMa=function(a){a&1&&(E(0,"div"),H(1,"b-slo-time-indicator",2),F());a&2&&
(a=N(),z(1),D("sloSnoozeUntil",a.sloSnoozeUntil)("sloBounds",a.responseSlo)("includeObjective",!0))},FMa=function(a){a&1&&(E(0,"div"),H(1,"b-slo-time-indicator",3),F());a&2&&(a=N(),z(1),D("sloSnoozeUntil",a.sloSnoozeUntil)("sloBounds",a.closureSlo)("includeObjective",!0))},GMa=function(a){a&1&&(E(0,"div",8),H(1,"b-slo-status-summary",9),F());a&2&&(a=N(),z(1),D("sloStatus",a.sloStatus)("sloSnoozeUntil",a.sloSnoozeUntil)("onlyShowMetric",a.onlyShowMetric))},HMa=function(a){a&1&&(I(0),Q(1," No applicable SLO rules "),
J())},IMa=function(a){a&1&&(I(0),Q(1," No SLO set on issue component "),J())},JMa=function(a){a&1&&(E(0,"div",10),P(1,HMa,2,0,"ng-container",7),P(2,IMa,2,0,"ng-container",7),F());a&2&&(a=N(),z(1),D("ngIf",a.editSloLink),z(1),D("ngIf",!a.editSloLink))},KMa=function(a){if(a&1){var b=t();E(0,"a",12);K("click",function(){v(b);var c=N(2);return w(c.trackOpenSlo())});Q(1);F()}a&2&&(a=N(2),D("href",a.editSloLink,Ie),z(1),R(" ",a.sloName," "))},LMa=function(a){a&1&&(E(0,"span"),Q(1," (private) "),F())},MMa=
function(a){a&1&&(E(0,"span"),Q(1," SLO definition: "),P(2,KMa,2,2,"a",11),P(3,LMa,2,0,"span",7),F());a&2&&(a=N(),z(2),D("ngIf",a.sloName),z(1),D("ngIf",!a.sloName))},NMa=function(a,b){if(a&1){var c=t();E(0,"div",5)(1,"mat-checkbox",6);K("change",function(d){var e=v(c).$implicit,f=N();e=e.key;d.checked?f.updatedColumns.push(e):f.updatedColumns.splice(f.updatedColumns.indexOf(e),1);return w()});F();Q(2);F()}a&2&&(a=b.$implicit,b=N(),z(1),D("checked",b.currentColumns.includes(a.key)),z(1),R(" ",a.value,
" "))},OMa=function(a){a&1&&(E(0,"div",15),H(1,"img",16),Q(2,"\u00a0 "),E(3,"a",17),Q(4),F()());if(a&2){a=N().$implicit;var b=N(2);z(3);D("href",b.makeCritiqueUrl(a.clIds),Ie);z(1);R("",a.clIds.length," CLs")}},PMa=function(a,b){a&1&&H(0,"b-user-image",18);a&2&&D("email",b.$implicit)},QMa=function(a,b){if(a&1){var c=t();E(0,"div",11);K("click",function(){var d=v(c).$implicit,e=N(2);return w(e.log(d))});E(1,"div",12);P(2,OMa,5,2,"div",13);F();P(3,PMa,1,1,"b-user-image",14);F()}a&2&&(a=b.$implicit,
z(2),D("ngIf",0<a.clIds.length),z(1),D("ngForOf",a.contributors))},RMa=function(a){a&1&&(I(0),H(1,"b-issue-priority-display",20),J());a&2&&(a=N().$implicit,z(1),D("issuePriority",a))},SMa=function(a,b){a&1&&(I(0),P(1,RMa,2,1,"ng-container",10),J());a&2&&(a=b.$implicit,z(1),D("ngIf","P0"===a||"P1"===a))},TMa=function(a){a&1&&(I(0),E(1,"div"),Q(2),E(3,"a",21),Q(4,"View as project"),F()(),J());a&2&&(a=N(2).$implicit,z(2),Tg(" \ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d\udc66 ",a.childIssueCount," ",1===
a.childIssueCount?"child":"children",". "))},UMa=function(a){a&1&&(E(0,"div",15),H(1,"img",16),Q(2,"\u00a0 "),E(3,"a",17),Q(4),F()());if(a&2){a=N().$implicit;var b=N(2);z(3);D("href",b.makeCritiqueUrl(a.clIds),Ie);z(1);R("",a.clIds.length," CLs")}},VMa=function(a,b){if(a&1){var c=t();E(0,"div",19);K("click",function(){var d=v(c).$implicit,e=N(2);return w(e.log(d))});P(1,SMa,2,1,"ng-container",10);P(2,TMa,5,2,"ng-container",10);P(3,UMa,5,2,"div",13);F()}a&2&&(a=b.$implicit,b=N().$implicit,z(1),D("ngIf",
b.snapshot[0].priority),z(1),D("ngIf",0<b.childIssueCount),z(1),D("ngIf",0<a.clIds.length))},WMa=function(a,b){if(a&1){var c=t();I(0);E(1,"p",22);K("click",function(){var d=v(c).$implicit,e=N(2);return w(e.log(d))});Q(2," Description: ");F();E(3,"p");Q(4);U(5,"slice");F();J()}a&2&&(a=b.$implicit,z(4),R(" ",ah(5,1,null==a.firstEvent?null:a.firstEvent.unlinkifiedComment,0,300)," "))},XMa=function(a,b){if(a&1){var c=t();E(0,"div",1);K("click",function(){var d=v(c).$implicit,e=N();return w(e.log(d))});
E(1,"div",2)(2,"div")(3,"span",3)(4,"a",4);Q(5);F();E(6,"i",5);K("click",function(){var d=v(c).$implicit,e=N();return w(wp(e.hackyPrefs,"project-"+d.issueId))});F()();E(7,"span",6);Q(8);F()();P(9,QMa,4,2,"div",7);U(10,"async");F();P(11,VMa,4,3,"div",8);U(12,"async");E(13,"div",9);P(14,WMa,6,5,"ng-container",10);U(15,"async");F();H(16,"div",2);F()}a&2&&(a=b.$implicit,b=N(),Fg("collapsed",b.prefs.collapsed["project-"+a.issueId]),z(4),Pg("href","/issues/",a.issueId,"/dependencies",Ie),z(1),R(" ",a.snapshot[0].title,
" "),z(3),R(" ",a.issueId," "),z(1),D("ngIf",V(10,8,b.projectData$)),z(2),D("ngIf",V(12,10,b.projectData$)),z(3),D("ngIf",V(15,12,b.issueFr$)))},ZMa=function(a){a=YMa(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},aNa=function(a){a=encodeURIComponent(a.join("\n\n"));return"/issues/new?component="+$Ma+"&description="+a},bNa=function(a){a&
1&&H(0,"mat-icon",24)},cNa=function(a){a&1&&H(0,"mat-icon",25)},eNa=function(a){if(a&1){var b=t();E(0,"mat-slide-toggle",26);K("ngModelChange",function(c){v(b);var d=N();return w(d.isAssignedToMeOnly=c)})("change",function(c){v(b);var d=N();return w(dNa(d,c.checked))});Q(1," Assigned only ");F()}a&2&&(a=N(),D("ngModel",a.isAssignedToMeOnly))},fNa=function(a,b){a&1&&(I(0),H(1,"flat-issues-table",27),J());a&2&&(a=b.ngIf,b=N(),z(1),D("issueIds",a)("displayedColumns",b.columnsToDisplay)("assigneeMode",
"avatar-in-progress"))},gNa=function(a){a&1&&H(0,"b-spinner")},hNa=function(a){return tva(a.getSearch())},iNa=function(a){a&1&&(E(0,"div",27),H(1,"img",28),Q(2,"\u00a0 "),E(3,"a",29),Q(4),F()());if(a&2){a=N().ngIf;var b=N(3);z(3);D("href",b.makeCritiqueUrl(a.clIds,a.pendingChangeLists),Ie);z(1);R("",a.clIds.length+a.pendingChangeLists.length," CLs")}},jNa=function(a,b){a&1&&H(0,"b-user-image",30);a&2&&D("email",b.$implicit)},kNa=function(a,b){a&1&&(E(0,"div",21)(1,"div",22),P(2,iNa,5,2,"div",23),
F(),P(3,jNa,1,1,"b-user-image",24),U(4,"slice"),E(5,"button",25),H(6,"mat-icon",26),F()());if(a&2){a=b.ngIf;N(2);var c=O(18);z(2);D("ngIf",0<a.clIds.length||0<a.pendingChangeLists.length);z(1);D("ngForOf",ah(4,3,a.contributors,0,10));z(2);D("matMenuTriggerFor",c)}},lNa=function(a){a&1&&(I(0),P(1,kNa,7,7,"div",20),U(2,"async"),J());a&2&&(a=N(2),z(1),D("ngIf",V(2,1,a.savedSearchAggregatedData$)))},nNa=function(a){a&1&&(E(0,"a",29),Q(1),F());if(a&2){a=N(2).$implicit;var b=N(3);D("href",b.makeCritiqueUrl(Wg(2,
mNa),a.pendingChangeLists),Ie);z(1);R("(",a.pendingChangeLists.length," pending)")}},oNa=function(a){a&1&&(E(0,"div",27),H(1,"img",28),Q(2,"\u00a0 "),E(3,"a",29),Q(4),F(),Q(5," \u00a0 "),P(6,nNa,2,3,"a",33),F());if(a&2){a=N().$implicit;var b=N(3);z(3);D("href",b.makeCritiqueUrl(a.clIds,a.pendingChangeLists),Ie);z(1);R("",a.clIds.length+a.pendingChangeLists.length," CLs");z(2);D("ngIf",0<a.pendingChangeLists.length)}},pNa=function(a,b){a&1&&(E(0,"div",32),P(1,oNa,7,3,"div",23),F());a&2&&(a=b.$implicit,
z(1),D("ngIf",0<a.clIds.length||0<a.pendingChangeLists.length))},qNa=function(a){a&1&&(I(0),P(1,pNa,2,1,"div",31),U(2,"async"),J());a&2&&(a=N(2),z(1),D("ngIf",V(2,1,a.savedSearchAggregatedData$)))},rNa=function(a,b){a&1&&(I(0),H(1,"flat-issues-table",37),J());a&2&&(a=b.ngIf,b=N(3),z(1),D("issueIds",a)("displayedColumns",b.columnsToDisplay)("assigneeMode","avatar-in-progress"))},sNa=function(a){a&1&&(E(0,"div",34),P(1,rNa,2,3,"ng-container",11),U(2,"slice"),U(3,"async"),E(4,"div",35)(5,"a",36),Q(6,
"View all issues"),F()()());if(a&2){a=N().ngIf;var b=N();z(1);D("ngIf",ah(2,2,V(3,6,b.savedSearchIssueIds$),0,10));z(4);Pg("href","/savedsearches/",a.searchId,"",Ie)}},tNa=function(a){a&1&&(I(0),H(1,"activity-stream",40),U(2,"async"),J());a&2&&(a=N(3),z(1),D("activityEvents",V(2,1,a.savedSearchActivityEvents$)))},uNa=function(a){a&1&&H(0,"b-spinner")},vNa=function(a){a&1&&(E(0,"footer"),H(1,"hr"),P(2,tNa,3,3,"ng-container",38),U(3,"async"),P(4,uNa,1,0,"ng-template",null,39,qh),F());if(a&2){var b=
O(5);a=N(2);z(2);D("ngIf",V(3,2,a.savedSearchActivityEvents$))("ngIfElse",b)}},wNa=function(a,b){if(a&1){var c=t();E(0,"div",1)(1,"header",2)(2,"aside",3)(3,"div",4)(4,"button",5);K("click",function(){var d=v(c).ngIf,e=N();return w(vp(e.hackyPrefs,"savedsearch-"+d.searchId))});Q(5,"Add");F()()();E(6,"div",6)(7,"span",7)(8,"a",8);Q(9);F();E(10,"i",9);K("click",function(){var d=v(c).ngIf,e=N();return w(wp(e.hackyPrefs,"savedsearch-"+d.searchId))});F()();E(11,"span",10);Q(12);F()();P(13,lNa,3,3,"ng-container",
11);F();P(14,qNa,3,3,"ng-container",11);P(15,sNa,7,8,"div",12);P(16,vNa,6,4,"footer",11);E(17,"mat-menu",null,13)(19,"button",14);K("click",function(){var d=v(c).ngIf,e=N();return w(e.reorder(d.searchId,-1))});H(20,"mat-icon",15);E(21,"span",16);Q(22,"Move up");F()();E(23,"button",14);K("click",function(){var d=v(c).ngIf,e=N();return w(e.reorder(d.searchId,1))});H(24,"mat-icon",17);E(25,"span",16);Q(26,"Move down");F()();H(27,"mat-divider");E(28,"button",18);K("click",function(){var d=v(c).ngIf,e=
N();Iq(e.hackyPrefs,Mn(d.searchId));return w()});H(29,"mat-icon",19);E(30,"span",16);Q(31,"Remove from My Projects");F()()()()}a&2&&(a=b.ngIf,b=N(),Fg("collapsed",b.isCollapsed(a)),z(8),Pg("href","/savedsearches/",a.searchId,"",Ie),z(1),R(" ",a.name," "),z(3),R(" savedsearches/",a.searchId," "),z(1),D("ngIf",!b.addMode),z(1),D("ngIf",!b.isCollapsed(a)),z(1),D("ngIf",!b.isCollapsed(a)),z(1),D("ngIf",!b.isCollapsed(a)),z(3),D("disabled",!b.canMove(a.searchId,-1)),z(4),D("disabled",!b.canMove(a.searchId,
1)))},xNa=function(a){a&1&&H(0,"mat-pseudo-checkbox",5);a&2&&(a=N(),D("state",a.selected?"checked":"unchecked")("disabled",a.disabled))},yNa=function(a){return a&&a.length?a.map(function(b){return b.toApiUrlParam()}).join(","):null},Lq=function(a,b){b=void 0===b?{}:b;return null==b.id?"":Kq(a,b)},Kq=function(a,b){var c=b=void 0===b?{}:b;b=c.params;c=c.tab;b&&(a=lta(a,b));c&&(a=a+"#"+c);return a},zNa=function(a){if(a&1){var b=t();E(0,"button",7);K("click",function(){v(b);var c=N(2);return w(c.removeHotlist.emit())});
H(1,"mat-icon",8);F()}a&2&&(a=N(2),Fg("invisible",a.disabled),ug("aria-disabled",a.disabled)("aria-label","Remove the hotlist "+a.hotlist.name))},ANa=function(a){a&1&&(I(0),E(1,"span",1)(2,"span",2)(3,"a",3),Q(4),F()(),P(5,zNa,2,4,"button",4),F(),E(6,"onedev-hovercard",null,5),H(8,"b-hotlist-card",6),F(),J());if(a&2){var b=O(7);a=N();z(1);Eg("padding-right",a.removable?0:"10px");Fg("muted",a.disabled);D("onedevHovercardTrigger",b)("onedevHovercardActive",a.showHovercard);z(2);D("href",a.pathBuilder.viewHotlist(a.hotlist.hotlistId),
Ie);ug("aria-label",a.getAriaLabel(a.hotlist));z(1);Sg(a.hotlist.name);z(1);D("ngIf",a.removable);z(3);D("hotlist",a.hotlist)}},BNa=function(a){a&1&&H(0,"mat-icon",3)},CNa=function(a){a&1&&H(0,"b-spinner")},DNa=function(a){if(a&1){var b=t();E(0,"b-star-toggle",9);K("starClicked",function(){v(b);var c=N(2);return w(c.starClicked.emit())});U(1,"async");U(2,"async");F()}a&2&&(a=N(2),D("starMessage","Star this hotlist")("unStarMessage","Un-star this hotlist")("acceptInput",!V(1,4,Gp(a.isSavingStar,a.hotlist.hotlistId)))("starred",
V(2,6,Gp(a.starredHotlists,a.hotlist.hotlistId))))},ENa=function(a){a&1&&(E(0,"p",10),Q(1),F());a&2&&(a=N(2),z(1),R(" ",a.hotlist.description," "))},FNa=function(a){a&1&&(E(0,"div",1)(1,"div",2)(2,"label",3),Q(3),F(),E(4,"span",4),P(5,DNa,3,8,"b-star-toggle",5),E(6,"a",6),K("click",function(b){return b.stopPropagation()})("keydown.enter",function(b){return b.stopPropagation()}),H(7,"mat-icon",7),F()()(),P(8,ENa,2,1,"p",8),F());a&2&&(a=N(),z(3),R(" ",a.hotlist.name," "),z(2),D("ngIf",a.shouldShowStar(a.hotlist)),
z(1),D("routerLink",a.paths.viewHotlist(a.hotlist.hotlistId)),z(2),D("ngIf",!a.isCompact&&a.hotlist.description))},GNa=function(a){a&1&&Kg(0)},HNa=function(a){a&1&&(I(0),P(1,GNa,1,0,"ng-container",6),J());if(a&2){N();var b=O(12);z(1);D("ngTemplateOutlet",b)}},INa=function(a){a&1&&Kg(0)},JNa=function(a){a&1&&(I(0),P(1,INa,1,0,"ng-container",6),J());if(a&2){N();var b=O(6);z(1);D("ngTemplateOutlet",b)}},MNa=function(a){if(a&1){var b=t();E(0,"button",7);K("click",function(){v(b);var c=N();return w(KNa(c))});
Q(1," Create ");F()}a&2&&(a=N(),D("disabled",!(0<LNa(a).length)))},NNa=function(a){if(a&1){var b=t();E(0,"button",8);K("click",function(){v(b);var c=N();return w(Mq(c))});Q(1);F()}a&2&&(a=N(),D("mat-dialog-close",!0)("matTooltip",a.saveBtnTooltip)("disabled",a.pristine),ug("aria-label",a.saveBtnTooltip),z(1),R(" ",a.saveBtnLabel," "))},PNa=function(a){if(a&1){var b=t();E(0,"button",19);K("click",function(){v(b);var c=N(2),d=Lj(c.query$.value);c.allHotlistIds.has(d)?(c.selectedHotlistIds.add(d),Mq(c)):
ONa(c,d);return w()});Q(1);U(2,"async");E(3,"span",20);Q(4,"(add hotlist by ID)");F()()}a&2&&(a=N(2),z(1),R(" ",V(2,1,a.query$)," "))},QNa=function(a){if(a&1){var b=t();E(0,"button",21);K("click",function(){v(b);N(2).showCreateNewPane=!0;return w()});Q(1);U(2,"async");E(3,"span",20);Q(4,"(create new)");F()()}a&2&&(a=N(2),z(1),R(" ",V(2,1,a.query$)," "))},RNa=function(a,b){if(a&1){var c=t();I(0);E(1,"div",25,26);U(3,"async");E(4,"mat-list-option",27);K("focus",function(){v(c);var f=O(2);return w(f.show())})("blur",
function(){v(c);var f=O(2);return w(f.hide())});U(5,"async");E(6,"hotlist-matlist-option",28);K("starClicked",function(){var f=v(c).$implicit,h=N(3);return w(h.toggleStar(f.hotlistId))});F()()();J()}if(a&2){a=b.$implicit;b=N(3);var d,e;z(1);D("matTooltip",!1===(null==(d=V(3,10,a.permissions$))?null:d.appender)?b.NO_ACCESS_MESSAGE:"");z(3);Eg("height","auto");D("selected",b.selectedHotlistIds.has(a.hotlistId))("disabled",!1===(null==(e=V(5,12,a.permissions$))?null:e.appender))("value",a.hotlistId);
z(2);D("hotlist",a)("isCompact",!1)("starredHotlists",b.starredHotlists)("isSavingStar",b.isSavingStar)}},SNa=function(a){if(a&1){var b=t();I(0);E(1,"div",29)(2,"span",20);Q(3," The number of hotlists is too large to show at once. ");F();E(4,"button",30);K("click",function(){v(b);var c=N(3);return w(c.forceShowOverflow$.next(!0))});Q(5," Show all anyway ");F()();J()}},TNa=function(a,b){if(a&1){var c=t();I(0);E(1,"mat-selection-list",22,23);K("selectionChange",function(d){v(c);var e=N(2);return w(e.onChangeMatList(d))});
P(3,RNa,7,14,"ng-container",24);F();P(4,SNa,6,0,"ng-container",18);U(5,"async");J()}a&2&&(a=b.$implicit,b=N(2),z(3),D("ngForOf",a)("ngForTrackBy",b.trackByHotlistId),z(1),D("ngIf",V(5,3,b.isOverflowMode$)))},UNa=function(a){if(a&1){var b=t();E(0,"header",9)(1,"h2");Q(2,"Search for Hotlists");F();E(3,"div",10);H(4,"mat-icon",11);E(5,"input",12,13);K("input",function(){v(b);var c=O(6);N().query$.next(c.value);return w()});F()()();E(7,"section",14,15);P(9,PNa,5,3,"button",16);U(10,"async");P(11,QNa,
5,3,"button",17);U(12,"async");P(13,TNa,6,5,"ng-container",18);U(14,"async");F()}a&2&&(a=N(),z(9),D("ngIf",V(10,3,a.showLoadById$)),z(2),D("ngIf",V(12,5,a.showCreateNew$)),z(2),D("ngIf",V(14,7,a.visibleHotlists$)))},VNa=function(a){a&1&&(E(0,"header",9)(1,"h2"),Q(2,"Create new hotlist"),F()(),E(3,"section",31)(4,"div",32)(5,"form",33)(6,"label",34),Q(7,"Name"),F(),H(8,"input",35),E(9,"label",36),Q(10,"Description"),F(),H(11,"textarea",37),E(12,"p",20),Q(13," Note: Access controls can be adjusted after the hotlist is created. "),
F()()()());a&2&&(a=N(),z(5),D("formGroup",a.hotlistUnderEdit))},WNa=function(a,b){return a.name.localeCompare(b.name)},XNa=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)},YNa=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)"]},ZNa=function(a,b){a&1&&(E(0,"span",11),Q(1," of "),E(2,"a",12),Q(3),F()());if(a&2){a=b.$implicit;N(2);var c=O(12);z(2);Pg("routerLink","/issues/",a,"");D("onedevHovercardTrigger",c);z(1);R(" ",a," ")}},$Na=function(a,b){a&1&&(E(0,"div")(1,"div",9),U(2,"async"),Q(3),F(),P(4,ZNa,4,3,"span",10),U(5,"async"),F());a&2&&(a=b.$implicit,b=N(),z(1),Ig("chippy ",V(2,6,b.statusCssClass$),""),D("title",b.STATUS_JS_FULL_TEXT[a]),
z(2),R(" ",b.STATUS_JS_TERSE[a]," "),z(1),D("ngIf",V(5,8,b.canonicalId$)))},aOa=function(a,b){a&1&&(E(0,"span"),Q(1),F());a&2&&(a=b.$implicit,b=N(),Ig("b-chip squared issue-type-",a,""),z(1),R(" ",b.ISSUE_TYPE_TEXT[a]," "))},cOa=function(a,b){if(a&1){var c=t();E(0,"b-hotlist-chip-smart",17);K("removeHotlist",function(){var d=v(c).$implicit,e=N(2);return w(bOa(e,d))});F()}a&2&&D("id",b.$implicit)},eOa=function(a,b){if(a&1){var c=t();E(0,"div",13)(1,"button",14);K("onHotkey",function(){v(c);var d=N();
return w(dOa(d))})("click",function(){v(c);var d=N();return w(dOa(d))});H(2,"mat-icon",15);Q(3);U(4,"async");F();P(5,cOa,1,1,"b-hotlist-chip-smart",16);F()}a&2&&(a=b.$implicit,b=N(),z(1),D("hotkey",b.HOTKEYS.OPEN_HOTLIST_PICKER),z(2),R(" ",V(4,3,b.textOfHotlistBtn$)," "),z(2),D("ngForOf",a))},fOa=function(a){a&1&&(E(0,"div",18),H(1,"smart-full-history-btn"),F())},gOa=function(a){a&1&&(H(0,"b-issue-card",19,20),U(2,"async"));if(a&2){var b=O(1);a=N();D("onedevIsHovercardReady",b.init)("issueId",V(2,
2,a.canonicalId$))}},hOa=function(a){return null==a?void 0:a.snapshot[0].hotlistId},iOa=function(a){a&1&&(E(0,"h3",3,4),Q(2),F());a&2&&(a=N(),ug("title",a.isLongTitle?a.titlePlain:""),z(2),R(" ",a.titleTruncated,"\n"))},lOa=function(a){if(a&1){var b=t();E(0,"mat-form-field",5)(1,"input",6,7);K("keyup",function(c){v(b);var d=N();return w(jOa(d,c))})("blur",function(){v(b);var c=N();return w(jOa(c,null))});F()()}a&2&&(a=N(),D("ngStyle",Xg(2,kOa,a.editModeWidth)),z(1),D("value",a.titlePlain))},nOa=function(a){if(a&
1){var b=t();E(0,"button",8);K("click",function(){v(b);var c=N();return w(mOa(c))});H(1,"mat-icon",9);F()}a&2&&(a=N(),D("disabled",a.disabled))},pOa=function(a,b){if(a&1){var c=t();E(0,"button",1);K("click",function(){v(c);var d=N();return w(oOa(d))});U(1,"async");Q(2);F()}a&2&&(a=b.ngIf,b=N(),D("disabled",b.disabled||b.fridge.isSaving(b.internalIssueId)||!1===V(1,3,b.canEdit$))("title",a.isDupe?b.TOOLTIP_UNMARK_DUPE:b.TOOLTIP_MARK_DUPE),z(2),R(" ",a.isDupe?"Unmark Duplicate":"Mark as Duplicate",
" "))},qOa=function(a){a&1&&(E(0,"p",11),Q(1),F());a&2&&(a=N(),z(1),R(" * Status update must be less than ",a.CHAR_LIMIT," characters. "))},rOa=function(a){a&1&&(E(0,"div",12),H(1,"b-live-preview",13),F());a&2&&(a=N(),z(1),D("comment",a.newStatusUpdate.updateText)("issueId",a.origStatusUpdate.issueId)("formattingMode",a.newStatusUpdate.formattingMode)("audience",a.formattingAudience))},sOa=function(a,b){a&1&&(E(0,"li",6)(1,"div",7),H(2,"b-user-image",8),F(),E(3,"div",9),H(4,"b-user-display",10)(5,
"b-formatted-date-time",11),E(6,"p",12),Q(7," Formatting: "),E(8,"code",13),Q(9),F()(),H(10,"br"),E(11,"span",14)(12,"b-person-hovercard",15),U(13,"omitObfuscatedEmail"),Q(14),U(15,"appendDomain"),F()(),Q(16),F(),E(17,"pre"),Q(18),F()());a&2&&(a=b.$implicit,b=b.index+1,z(2),D("email",null==a.author?null:a.author.emailAddress),z(2),D("model",a.author),z(1),D("timestamp",a.updateTime),z(4),R(" ",a.formattingMode," "),z(3),D("email",V(13,8,null==a.author?null:a.author.emailAddress)),z(2),R(" <",V(15,
10,null==a.author?null:a.author.emailAddress),"> "),z(2),R(" #",b," "),z(2),Sg(a.updateText))},uOa=function(a){if(a&1){var b=t();E(0,"button",13);K("click",function(){v(b);var c=N(3);return w(tOa(c))});Q(1," Mark as fresh ");F()}},vOa=function(a){a&1&&(I(0),P(1,uOa,2,0,"button",12),U(2,"async"),J());a&2&&(a=N(2),z(1),D("ngIf",V(2,1,a.freshnessIndicator$)===a.Freshness.STALE))},wOa=function(a){a&1&&H(0,"mat-icon",19)},xOa=function(a,b){a&1&&(I(0),P(1,wOa,1,0,"mat-icon",14),U(2,"async"),Q(3," Updated by "),
E(4,"span",15),Q(5),U(6,"shortenEmail"),F(),H(7,"b-formatted-date-time",16),E(8,"onedev-hovercard",null,17),H(10,"b-issue-person-card",18),F(),J());if(a&2){a=b.ngIf;var c=O(9);b=N(2);var d,e;z(1);D("ngIf",V(2,5,b.freshnessIndicator$)===b.Freshness.FRESH);z(3);D("onedevHovercardTrigger",c);z(1);R(" ",V(6,7,null!==(d=null==a.author?null:a.author.emailAddress)&&void 0!==d?d:"")," ");z(2);D("timestamp",a.updateTime);z(3);D("email",null!==(e=null==a.author?null:a.author.emailAddress)&&void 0!==e?e:"")}},
yOa=function(a,b){a&1&&H(0,"b-actions-menu",20);a&2&&(a=b.ngIf,D("buttonLabel","Status Update actions")("menuItems",a))},zOa=function(a,b){a&1&&(H(0,"b-note-container",25),U(1,"async"),U(2,"async"));if(a&2){a=b.ngIf;b=N().ngIf;var c=N(2),d;D("issueId",b.issueId)("issueAccessLevel",V(1,4,c.accessLevel$))("note",a)("formattingMode",null!==(d=V(2,6,c.formattingMode$))&&void 0!==d?d:c.FormattingMode.PLAIN)}},AOa=function(a){if(a&1){var b=t();E(0,"button",26);K("click",function(){v(b);var c=N(3);return w(c.isCollapsed=
!1)});Q(1," Show More ");F()}},BOa=function(a){a&1&&(I(0),E(1,"div",21)(2,"div",null,22),P(4,zOa,3,8,"b-note-container",23),U(5,"async"),F(),P(6,AOa,2,0,"button",24),F(),J());a&2&&(a=N(2),z(2),Fg("collapsed",a.isCollapsed),z(2),D("ngIf",V(5,4,a.statusUpdateAsNote$)),z(2),D("ngIf",a.isCollapsed))},COa=function(a){a&1&&(E(0,"p",27),Q(1,"No status update yet."),F())},EOa=function(a,b){if(a&1){var c=t();E(0,"div",1);U(1,"async");H(2,"mat-icon",2);E(3,"div",3)(4,"header",4)(5,"div",5)(6,"h4",6);Q(7,"Status Update");
F();E(8,"button",7);K("click",function(){v(c);var d=N();return w(DOa(d))});Q(9," Edit ");F();P(10,vOa,3,3,"ng-container",8);U(11,"async");F();E(12,"div",9);P(13,xOa,11,9,"ng-container",8);U(14,"async");P(15,yOa,1,2,"b-actions-menu",10);U(16,"async");F()();P(17,BOa,7,6,"ng-container",8);U(18,"async");P(19,COa,2,0,"p",11);U(20,"async");F()()}a&2&&(a=b.ngIf,b=N(),Ig("carded margin-s-sides margin-s-bottom bg-main highlighted-left flex-kids-x ",V(1,9,b.semanticClass$),""),D("ngClass",a),z(10),D("ngIf",
V(11,11,b.currentUserIsAuthoritative$)),z(3),D("ngIf",V(14,13,b.statusUpdate$)),z(2),D("ngIf",V(16,15,b.menuItems$)),z(2),D("ngIf",V(18,17,b.statusUpdate$)),z(2),D("ngIf",V(20,19,b.statusIsEmpty$)))},FOa=function(a){switch(a){case "display-none no-content":return"noUpdate";case "authoritative-team no-content":return"noUpdateTeamMember";case "normal":return"hasUpdate";case "display-none loading":return"";default:return""}},GOa=function(a){a&1&&(E(0,"p",10),Q(1),F());a&2&&(a=N().$implicit,z(1),Sg(a.description))},
HOa=function(a,b){a&1&&(I(0),E(1,"mat-list-option",6)(2,"div",7)(3,"label",8),Q(4),F()(),P(5,GOa,2,1,"p",9),F(),J());a&2&&(a=b.$implicit,b=N(),z(1),Eg("height","auto"),D("selected",b.selectedSavedSearches.has(a.searchId))("value",a.searchId),z(3),Sg(a.name),z(1),D("ngIf",a.description))},IOa=function(a){if(a&1){var b=t();E(0,"div",19)(1,"button",20);K("click",function(){v(b);var c=N(2);return w(c.headerOnly=!1)});Q(2," Show affected files ");H(3,"mat-icon",21);F()()}},JOa=function(a,b){a&1&&(E(0,
"div",27)(1,"div",28),Q(2," \u00b7 "),E(3,"a",9),Q(4),F()()());a&2&&(a=b.$implicit,b=N(3),z(3),Rg("href","https://critique.corp.google.com/cl/",null==b.changelistWithId?null:b.changelistWithId.id,"",a.replace("//","/").split("#")[0],"",Ie),z(1),R(" ",a.replace("//depot/google3/","").split("#")[0]," "))},KOa=function(a){if(a&1){var b=t();E(0,"div",22)(1,"p",23);Q(2," Affected files ");E(3,"button",24);K("click",function(){v(b);var c=N(2);return w(c.headerOnly=!0)});H(4,"mat-icon",25);F()();P(5,JOa,
5,3,"div",26);F()}a&2&&(a=N().ngIf,z(5),D("ngForOf",a.affectedFiles))},LOa=function(a){a&1&&(E(0,"div",29)(1,"div",30),H(2,"mat-icon",31),E(3,"a",32),Q(4," Open in Critique "),F()()());a&2&&(a=N(2),z(3),Pg("href","https://critique.corp.google.com/cl/",null==a.changelistWithId?null:a.changelistWithId.id,"",Ie))},MOa=function(a,b){a&1&&(E(0,"div",1)(1,"div",2)(2,"div",3),H(3,"img",4),F(),E(4,"div",5)(5,"div",6)(6,"a",7),Q(7),F()(),E(8,"div",8)(9,"a",9),Q(10),F(),Q(11," \u00b7 "),E(12,"span"),Q(13),
F(),Q(14," \u00b7 "),E(15,"span"),Q(16,"Authored by "),H(17,"b-user-display",10),F(),Q(18," \u00b7 "),E(19,"span"),Q(20),F()()(),E(21,"div",11)(22,"button",12),H(23,"mat-icon",13),F(),E(24,"mat-menu",null,14)(26,"button",15),Q(27," Hide this notification "),F()()()(),P(28,IOa,4,0,"div",16),P(29,KOa,6,1,"div",17),P(30,LOa,5,1,"div",18),F());if(a&2){a=b.ngIf;var c=O(25);b=N();z(5);D("title",a.description.replace(/<br>/g," ").replace(/<[^>]*>/g,""));z(1);Pg("href","https://critique.corp.google.com/cl/",
null==b.changelistWithId?null:b.changelistWithId.id,"",Ie);z(1);R(" ",a.description.replace(/<br>/g," ").replace(/<[^>]*>/g,"")," ");z(2);Pg("href","https://critique.corp.google.com/cl/",null==b.changelistWithId?null:b.changelistWithId.id,"",Ie);z(1);R("cl/",null==b.changelistWithId?null:b.changelistWithId.id,"");z(3);Sg(a.pending?"Pending":"Submitted");z(4);D("model",b.emailToUser(a.author));z(3);Tg("",a.affectedFiles.length," file",1===a.affectedFiles.length?"":"s"," affected");z(2);D("matMenuTriggerFor",
c);z(6);D("ngIf",b.headerOnly);z(1);D("ngIf",!b.headerOnly);z(1);D("ngIf",!b.headerOnly)}},NOa=function(a){a&1&&(I(0),Q(1),H(2,"b-user-display",21),J());if(a&2){a=N().$implicit;var b=N().ngIf,c=N();z(1);R(" \u00b7 ",c.STATUS_TERSE[a]," to ");z(1);D("model",b.snapshot[0].assigneeUser)}},OOa=function(a){a&1&&(I(0),Q(1),H(2,"b-user-display",21),J());if(a&2){a=N().$implicit;var b=N().ngIf,c=N();z(1);R(" \u00b7 ",c.STATUS_TERSE[a]," \u00b7 ");z(1);D("model",b.snapshot[0].assigneeUser)}},POa=function(a){a&
1&&(I(0),Q(1),J());if(a&2){a=N().$implicit;var b=N(2);z(1);R(" \u00b7 ",b.STATUS_TERSE[a]," ")}},QOa=function(a){a&1&&(I(0,18),P(1,NOa,3,2,"ng-container",19),P(2,OOa,3,2,"ng-container",19),P(3,POa,2,1,"ng-container",20),J());if(a&2){a=N().ngIf;var b=N();D("ngSwitch",a.snapshot[0].status);z(1);D("ngSwitchCase",b.IssueStatus.ASSIGNED);z(1);D("ngSwitchCase",b.IssueStatus.ACCEPTED)}},ROa=function(a){if(a&1){var b=t();E(0,"div",25)(1,"button",26);K("click",function(){v(b);var c=N(3);return w(c.headerOnly=
!1)});Q(2," Show recent updates ");H(3,"mat-icon",27);F()()}},SOa=function(a){a&1&&(E(0,"span"),Q(1),F());a&2&&(a=N().$implicit,z(1),R("(",a.count,")"))},TOa=function(a,b){if(a&1){var c=t();I(0);E(1,"span");Q(2," \u00b7 ");E(3,"span",40);K("click",function(){v(c);N(7);console.log("likeComment() is unimplemented");return w()});Q(4);F()();P(5,SOa,2,1,"span",1);J()}a&2&&(a=b.$implicit,z(4),Sg(a.hasReacted?"Unlike":"Like"),z(1),D("ngIf",0<a.count))},UOa=function(a){a&1&&(I(0),P(1,TOa,6,2,"ng-container",
1),J());if(a&2){a=N(2).$implicit;var b=N(4);z(1);D("ngIf",null==a.event.commentReactions?null:a.event.commentReactions.get(b.ReactionType.UPVOTE))}},VOa=function(a){a&1&&(I(0),E(1,"div",34),H(2,"b-user-image",35),F(),E(3,"div",36)(4,"p",37)(5,"a",8),Q(6),F()(),E(7,"p",38),H(8,"b-user-display",21),Q(9," commented \u00b7"),H(10,"b-formatted-date-time",39),P(11,UOa,2,1,"ng-container",1),F()(),J());if(a&2){a=N().$implicit;var b=N(3).ngIf,c=N();z(2);D("email",c.getUserEmailIfAvailable(a.event));z(2);D("title",
a.event.unlinkifiedComment);z(1);Rg("href","/issues/",b.issueId,"#comment",a.event.commentNumber,"",Ie);z(1);R(" ",a.event.unlinkifiedComment," ");z(2);D("model",a.event.userPerformingActionUser);z(2);D("timestamp",a.event.modifiedDate);z(1);D("ngIf",null==a.event.commentReactions?null:a.event.commentReactions.has(c.ReactionType.UPVOTE))}},WOa=function(a){a&1&&(I(0),E(1,"div",34),H(2,"b-user-image",35),F(),E(3,"div",36)(4,"p",41),Q(5," Issue created "),F(),E(6,"p",38),H(7,"b-user-display",21),Q(8,
" created issue \u00b7"),H(9,"b-formatted-date-time",39),F()(),J());if(a&2){a=N().$implicit;var b=N(4);z(2);D("email",b.getUserEmailIfAvailable(a.event));z(5);D("model",a.event.userPerformingActionUser);z(2);D("timestamp",a.event.modifiedDate)}},XOa=function(a){a&1&&(I(0),E(1,"div",34),H(2,"b-user-image",35),F(),E(3,"div",36)(4,"p",41),Q(5),F(),E(6,"p",38),H(7,"b-user-display",21),Q(8," submitted "),H(9,"b-changelist-link",42),Q(10," \u00b7"),H(11,"b-formatted-date-time",39),F()(),J());if(a&2){a=
N().$implicit;var b=N(4);z(2);D("email",b.clAuthorToEmailAddress(a.event));z(3);R(" ",b.clEventToClDescription(a.event)," ");z(2);D("model",b.clAuthorToUser(a.event));z(2);D("changelistId",b.getClNumber(a.event));z(2);D("timestamp",a.event.modifiedDate)}},YOa=function(a){a&1&&(I(0),E(1,"div",34),H(2,"b-user-image",35),F(),E(3,"div",36)(4,"p",41),Q(5),F(),E(6,"p",38),H(7,"b-user-display",21),Q(8," submitted "),H(9,"b-changelist-link",42),Q(10,", fixing "),E(11,"a",8),Q(12),F(),Q(13," \u00b7"),H(14,
"b-formatted-date-time",39),F()(),J());if(a&2){a=N().$implicit;var b=N(3).ngIf,c=N();z(2);D("email",c.clAuthorToEmailAddress(a.event));z(3);R(" ",c.clEventToClDescription(a.event)," ");z(2);D("model",c.clAuthorToUser(a.event));z(2);D("changelistId",c.getClNumber(a.event));z(2);Pg("href","/issues/",b.issueId,"",Ie);z(1);R("b/",b.issueId,"");z(2);D("timestamp",a.event.modifiedDate)}},ZOa=function(a){a&1&&(I(0),E(1,"div",34),H(2,"b-user-image",35),F(),E(3,"div",36)(4,"p",41),Q(5," Priority changed from "),
H(6,"b-issue-priority-display",10),Q(7," to "),H(8,"b-issue-priority-display",10),F(),E(9,"p",38),H(10,"b-user-display",21),Q(11," updated issue \u00b7"),H(12,"b-formatted-date-time",39),F()(),J());if(a&2){a=N().$implicit;var b=N(4);z(2);D("email",b.getUserEmailIfAvailable(a.event));z(4);D("issuePriority",b.toIssuePriority(b.getPreviousDiffValue(a.event,"priority")));z(2);D("issuePriority",b.toIssuePriority(b.getNewDiffValue(a.event,"priority")));z(2);D("model",a.event.userPerformingActionUser);z(2);
D("timestamp",a.event.modifiedDate)}},$Oa=function(a){a&1&&(I(0),E(1,"div",34),H(2,"b-user-image",35),F(),E(3,"div",36)(4,"p",41),Q(5),F(),E(6,"p",38),H(7,"b-user-display",21),Q(8," updated issue \u00b7"),H(9,"b-formatted-date-time",39),F()(),J());if(a&2){a=N().$implicit;var b=N(4);z(2);D("email",b.getUserEmailIfAvailable(a.event));z(3);Tg(" Status changed from ",b.getPreviousDiffValue(a.event,"status")," to ",b.getNewDiffValue(a.event,"status")," ");z(2);D("model",a.event.userPerformingActionUser);
z(2);D("timestamp",a.event.modifiedDate)}},aPa=function(a){a&1&&(I(0),E(1,"div",34),H(2,"b-user-image",35),F(),E(3,"div",36)(4,"p",41),Q(5),F(),E(6,"p",38),H(7,"b-user-display",21),Q(8," updated issue \u00b7"),H(9,"b-formatted-date-time",39),F()(),J());if(a&2){a=N().$implicit;var b=N(4);z(2);D("email",b.getUserEmailIfAvailable(a.event));z(3);Tg(" Assignee changed from ",b.getPreviousDiffValue(a.event,"assignee")," to ",b.getNewDiffValue(a.event,"assignee")," ");z(2);D("model",a.event.userPerformingActionUser);
z(2);D("timestamp",a.event.modifiedDate)}},bPa=function(a){a&1&&(I(0),E(1,"div",34),H(2,"b-user-image",35),F(),E(3,"div",36)(4,"p",41),Q(5),F(),E(6,"p",38),H(7,"b-user-display",21),Q(8," modified status update \u00b7"),H(9,"b-formatted-date-time",39),F()(),J());if(a&2){a=N().$implicit;var b=N(4);z(2);D("email",b.getUserEmailIfAvailable(a.event));z(3);R(" ",null==a.event.statusUpdate?null:a.event.statusUpdate.updateText," ");z(2);D("model",a.event.userPerformingActionUser);z(2);D("timestamp",a.event.modifiedDate)}},
cPa=function(a){a&1&&(I(0),Q(1," Default case "),J())},dPa=function(a,b){a&1&&(E(0,"div",33),I(1,18),P(2,VOa,12,8,"ng-container",19),P(3,WOa,10,3,"ng-container",19),P(4,XOa,12,5,"ng-container",19),P(5,YOa,15,7,"ng-container",19),P(6,ZOa,13,5,"ng-container",19),P(7,$Oa,10,5,"ng-container",19),P(8,aPa,10,5,"ng-container",19),P(9,bPa,10,4,"ng-container",19),P(10,cPa,2,0,"ng-container",20),J(),F());a&2&&(a=b.$implicit,z(1),D("ngSwitch",a.eventType),z(1),D("ngSwitchCase","comment"),z(1),D("ngSwitchCase",
"newIssue"),z(1),D("ngSwitchCase","changelist"),z(1),D("ngSwitchCase","changelistFixed"),z(1),D("ngSwitchCase","priority"),z(1),D("ngSwitchCase","status"),z(1),D("ngSwitchCase","assignee"),z(1),D("ngSwitchCase","statusUpdate"))},ePa=function(a){if(a&1){var b=t();E(0,"div",28)(1,"p",29);Q(2," Recent updates ");E(3,"button",30);K("click",function(){v(b);var c=N(3);return w(c.headerOnly=!0)});H(4,"mat-icon",31);F()();P(5,dPa,11,9,"div",32);F()}a&2&&(a=N().ngIf,z(5),D("ngForOf",a.slice(-3)))},fPa=function(a){if(a&
1){var b=t();E(0,"div",46);H(1,"mat-icon",47);E(2,"button",48);K("click",function(){v(b);var c=N(3).ngIf,d=N();return w(d.showCommentBox.set(c.issueId,!0))});Q(3," Add a comment ");F()()}},gPa=function(a){if(a&1){var b=t();E(0,"div",49);H(1,"b-user-image",35);E(2,"mat-form-field");H(3,"textarea",50);F();E(4,"button",51);H(5,"mat-icon",52);F();E(6,"button",53);K("click",function(){v(b);var c=N(3).ngIf,d=N();return w(d.showCommentBox.set(c.issueId,!1))});H(7,"mat-icon",54);F();E(8,"button",55);H(9,
"mat-icon",56);F()()}a&2&&(a=N(4),z(1),D("email",a.currentUser.email),z(2),D("bFocus",!0))},hPa=function(a){a&1&&(E(0,"div",43),P(1,fPa,4,0,"div",44),P(2,gPa,10,2,"div",45),F());if(a&2){a=N(2).ngIf;var b=N();z(1);D("ngIf",!b.showCommentBox.get(a.issueId));z(1);D("ngIf",b.showCommentBox.get(a.issueId))}},iPa=function(a){a&1&&(I(0),P(1,ROa,4,0,"div",22),P(2,ePa,6,1,"div",23),P(3,hPa,3,2,"div",24),J());a&2&&(a=N(2),z(1),D("ngIf",a.headerOnly),z(1),D("ngIf",!a.headerOnly),z(1),D("ngIf",!a.headerOnly))},
jPa=function(a,b){a&1&&(I(0),E(1,"div",3)(2,"div",4),H(3,"img",5),F(),E(4,"div",6)(5,"div",7)(6,"a",8),Q(7),F()(),E(8,"div",9)(9,"a",8),Q(10),F(),Q(11," \u00b7 "),H(12,"b-issue-priority-display",10),P(13,QOa,4,3,"ng-container",11),F()(),E(14,"div",12)(15,"button",13),H(16,"mat-icon",14),F(),E(17,"mat-menu",null,15)(19,"button",16),Q(20," Hide this notification "),F()()()(),P(21,iPa,4,3,"ng-container",17),U(22,"async"),J());if(a&2){a=b.ngIf;var c=O(18);b=N();var d=O(3);z(6);Pg("href","/issues/",a.issueId,
"",Ie);z(1);R(" ",a.snapshot[0].title," ");z(2);Pg("href","/issues/",a.issueId,"",Ie);z(1);R("b/",a.issueId,"");z(2);D("issuePriority",a.snapshot[0].priority);z(1);D("ngIf",b.convertIssueStatusStrToTag(a.snapshot[0].status));z(2);D("matMenuTriggerFor",c);z(6);D("ngIf",V(22,9,null==b.issueWithEvents?null:b.issueWithEvents.events))("ngIfElse",d)}},kPa=function(a){a&1&&H(0,"b-spinner")},lPa=function(a){a&1&&(I(0),H(1,"mat-icon",11),J())},mPa=function(a){if(a&1){var b=t();I(0);E(1,"button",12);K("mousedown",
function(c){v(b);var d=N();return w(d.back(c))});H(2,"mat-icon",13);F();J()}},nPa=function(a){if(a&1){var b=t();I(0);E(1,"button",14);K("mousedown",function(c){v(b);var d=N();return w(d.expand(d.componentOption,c))});H(2,"mat-icon",15);F();J()}a&2&&(a=N(),z(1),D("matTooltip","View child components of "+a.componentOption.name),ug("aria-label","View child components of "+a.componentOption.name),z(1),D("svgIcon",a.showFolderSpecialIcon?"folder_special_24px":"folder"))},oPa=function(a){if(a&1){var b=
t();I(0);E(1,"a",19);K("mousedown",function(d){v(b);var e=N().$implicit;N(2).selectComponentId.emit(e.id);d.preventDefault();d.stopPropagation();return w()});U(2,"boldPrefixMatches");U(3,"toString");F();J()}if(a&2){a=N().$implicit;var c=N(2);z(1);D("innerHtml",$g(2,1,V(3,4,a.name),c.query),He)}},pPa=function(a){a&1&&Q(0);a&2&&(a=N().$implicit,R(" ",a.name," "))},qPa=function(a){a&1&&(I(0),Q(1,"\u00a0>\u00a0"),J())},rPa=function(a,b){a&1&&(I(0),P(1,oPa,4,6,"ng-container",6),P(2,pPa,1,1,"ng-template",
null,17,qh),P(4,qPa,2,0,"ng-container",18),J());if(a&2){a=b.$implicit;b=b.last;var c=O(3);z(1);D("ngIf",a.name!=a.id)("ngIfElse",c);z(3);D("ngIf",!b)}},sPa=function(a){a&1&&(I(0),P(1,rPa,5,3,"ng-container",16),J());a&2&&(a=N(),z(1),D("ngForOf",a.componentOption.componentPath))},tPa=function(a,b){if(a&1){var c=t();I(0);E(1,"a",20);K("mousedown",function(d){var e=v(c).ngIf;N(2).selectComponentId.emit(e.id);d.preventDefault();d.stopPropagation();return w()});Q(2);F();J()}a&2&&(a=b.ngIf,z(2),R(" ",a.name,
" "))},uPa=function(a){a&1&&P(0,tPa,3,1,"ng-container",18);a&2&&(a=N(),D("ngIf",a.componentOption.componentPath[a.componentOption.componentPath.length-1]))},vPa=function(a){a&1&&(E(0,"span",21),Q(1," [Archived] "),F())},wPa=function(a){return{type:"team",id:a.getId(),name:a.getName(),description:a.getDescription(),pathNames:a.getPathNamesList(),pathIds:a.getPathIdsList(),expanded:!1}},xPa=function(a){return{type:"team",id:a.id,name:a.name,description:a.description,expanded:!1}},yPa=function(a,b){var c,
d=null!=(c=null==b?void 0:b.componentPathId)?c:[],e,f=null!=(e=null==b?void 0:b.componentPathName)?e:[];b=d.map(function(h,l){return{id:h,name:f[l],pathText:f.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}},zPa=function(a){return new Map([].concat(r(a.entries())).map(function(b){var c=m(b);b=c.next().value;c=c.next().value;return[b,c.map(xPa)]}))},APa=function(a){a&
1&&H(0,"img",5);a&2&&(a=N(),ug("src",a.getLogoUrl(),Ie))},BPa=function(a){a&1&&(E(0,"span",9),Q(1,"no components"),F())},CPa=function(a){a&1&&(E(0,"div",6),H(1,"div",7),U(2,"boldPrefixMatches"),P(3,BPa,2,0,"span",8),F());a&2&&(a=N(),z(1),D("innerHtml",$g(2,2,a.teamOption.name,a.query),He),z(2),D("ngIf",a.hasNoComponent))},DPa=function(a){if(a&1){var b=t();I(0);E(1,"a",15);K("mousedown",function(c){v(b);var d=N(2).index,e=N(2);d=null==e.teamOption.pathIds?null:e.teamOption.pathIds[d];c.preventDefault();
c.stopPropagation();d&&e.selectTeamId.emit(d);return w()});Q(2);F();J()}a&2&&(a=N(2).$implicit,z(2),Sg(a))},EPa=function(a){a&1&&Q(0);a&2&&(a=N(2).$implicit,Sg(a))},FPa=function(a){a&1&&(I(0),P(1,DPa,3,1,"ng-container",12),P(2,EPa,1,1,"ng-template",null,14,qh),I(4),Q(5," \u00b7 "),J()());if(a&2){var b=O(3);a=N(3);z(1);D("ngIf",a.allowSegmentSelection)("ngIfElse",b)}},GPa=function(a){a&1&&(I(0),E(1,"strong",17),Q(2),F(),J());a&2&&(a=N(2).$implicit,z(2),Sg(a))},HPa=function(a){a&1&&Q(0);a&2&&(a=N(2).$implicit,
Sg(a))},IPa=function(a){a&1&&(P(0,GPa,3,1,"ng-container",12),P(1,HPa,1,1,"ng-template",null,16,qh));if(a&2){var b=O(2);a=N(3);D("ngIf",a.compact)("ngIfElse",b)}},JPa=function(a,b){a&1&&(I(0),P(1,FPa,6,2,"ng-container",12),P(2,IPa,3,2,"ng-template",null,13,qh),J());if(a&2){a=b.last;var c=O(3);z(1);D("ngIf",!a)("ngIfElse",c)}},KPa=function(a){a&1&&(E(0,"div",10),P(1,JPa,4,2,"ng-container",11),F());a&2&&(a=N(),z(1),D("ngForOf",a.teamOption.pathNames))},LPa=function(){var a=hd(Vi),b=a?a.location:null;
return{getPathname:function(){return b?b.pathname+b.search:""}}},MPa=function(a){if(a&1){var b=t();E(0,"button",9);K("mousedown",function(c){v(b);N().clearQuery();return w(Nq(c))});H(1,"mat-icon",10);F()}},NPa=function(a){a&1&&(E(0,"div",13),Q(1," Checking for admin access... "),F())},OPa=function(a){a&1&&(E(0,"div",15),Q(1," You do not have admin access to this component. "),E(2,"a",16),Q(3,"View component admins"),F()());a&2&&(a=N(3),z(2),D("href",a.paths.manageComponent(a.selectedComponent.componentId,
"access"),Ie))},PPa=function(a){a&1&&P(0,OPa,4,1,"div",14);a&2&&(a=N(2),D("ngIf",!a.hasAccess&&a.selectedComponent))},QPa=function(a){a&1&&(E(0,"div"),P(1,NPa,2,0,"div",11),P(2,PPa,1,1,"ng-template",null,12,qh),F());if(a&2){var b=O(3);a=N();z(1);D("ngIf",a.checkingAccess)("ngIfElse",b)}},RPa=function(a){a&1&&H(0,"mat-progress-bar",24)},SPa=function(a){a&1&&(I(0),Q(1,"s"),J())},UPa=function(a,b){if(a&1){var c=t();I(0);E(1,"div",30);K("mousedown",function(e){var f=v(c).$implicit,h=N(5);TPa(h.searchState,
f);return w(Nq(e))});E(2,"team-row",31);K("selectTeamId",function(e){v(c);var f=N(5);return w(Oq(f.searchState,e))});F()();J()}if(a&2){a=b.$implicit;b=N(5);var d=O(3);z(1);D("data",a);z(1);D("teamOption",a)("query",d.value)("hasNoComponent",b.searchState.hasNoComponent(a.id))}},VPa=function(a){a&1&&(E(0,"div",27)(1,"div",28),Q(2," Filter components by my teams "),E(3,"span"),Q(4),P(5,SPa,2,0,"ng-container",5),F()(),P(6,UPa,3,4,"ng-container",29),H(7,"mat-divider"),F());a&2&&(a=N().ngIf,z(4),R("",
a.length," team"),z(1),D("ngIf",1<a.length),z(1),D("ngForOf",a))},WPa=function(a,b){a&1&&(I(0),P(1,VPa,8,3,"div",26),J());a&2&&(a=b.ngIf,z(1),D("ngIf",a.length))},XPa=function(a){a&1&&Kg(0)},ZPa=function(a){a&1&&(I(0),P(1,WPa,2,1,"ng-container",5),U(2,"async"),P(3,XPa,1,0,"ng-container",25),J());if(a&2){a=N(2);var b=O(12);z(1);D("ngIf",V(2,3,a.searchState.myTeams$));z(2);D("ngTemplateOutlet",b)("ngTemplateOutletContext",Xg(5,YPa,a.searchState.recentComponents))}},$Pa=function(a){a&1&&(I(0),Q(1,"s"),
J())},aQa=function(a){a&1&&Kg(0)},dQa=function(a,b){a&1&&(I(0),P(1,aQa,1,0,"ng-container",25),J());if(a&2){a=b.$implicit;b=b.index;N(5);var c=O(10);z(1);D("ngTemplateOutlet",c)("ngTemplateOutletContext",Yg(4,bQa,a,Xg(2,cQa,b)))}},eQa=function(a){if(a&1){var b=t();E(0,"button",33);K("mousedown",function(){v(b);var c=N(5);return w(c.searchState.showAllTeams$.next(!0))});H(1,"mat-icon",34);Q(2," Show all teams ");F()}},fQa=function(a,b){a&1&&(E(0,"div",27)(1,"div",28),Q(2," Filter components by teams "),
E(3,"span"),Q(4),P(5,$Pa,2,0,"ng-container",5),F()(),P(6,dQa,2,7,"ng-container",29),U(7,"async"),P(8,eQa,3,0,"button",32),U(9,"async"),H(10,"mat-divider"),F());a&2&&(a=b.ngIf,b=N(4),z(4),R("",a," team"),z(1),D("ngIf",1<a),z(1),D("ngForOf",V(7,4,b.searchState.filteredTeamOptions$)),z(2),D("ngIf",V(9,6,b.searchState.hasHiddenTeams$)))},gQa=function(a,b){a&1&&(I(0),P(1,fQa,11,8,"div",26),J());a&2&&(a=b.ngIf,z(1),D("ngIf",a.length))},hQa=function(a){a&1&&Kg(0)},jQa=function(a){a&1&&(I(0),P(1,gQa,2,1,
"ng-container",5),U(2,"async"),P(3,hQa,1,0,"ng-container",25),J());if(a&2){a=N(2);var b=O(12);z(1);D("ngIf",V(2,3,a.searchState.teamOptions$));z(2);D("ngTemplateOutlet",b)("ngTemplateOutletContext",Xg(5,iQa,a.searchState.componentOptions))}},kQa=function(a){a&1&&Kg(0)},mQa=function(a,b){a&1&&(I(0),P(1,kQa,1,0,"ng-container",25),J());if(a&2){a=b.$implicit;b=b.index;N(7);var c=O(10);z(1);D("ngTemplateOutlet",c)("ngTemplateOutletContext",Yg(4,bQa,a,Xg(2,lQa,b)))}},nQa=function(a){a&1&&(E(0,"div",42),
P(1,mQa,2,7,"ng-container",29),F());a&2&&(a=N(2).ngIf,z(1),D("ngForOf",a))},qQa=function(a){if(a&1){var b=t();I(0);P(1,nQa,2,1,"div",41);E(2,"button",33);K("mousedown",function(c){v(b);var d=N(5),e=d.searchState.teamScope$.value;e.expanded?oQa(d.searchState,e):pQa(d.searchState,e);return w(Nq(c))});H(3,"mat-icon",34);Q(4);F();J()}a&2&&(a=N(5),z(1),D("ngIf",a.searchState.teamScope$.value.expanded),z(2),Fg("expanded",a.searchState.teamScope$.value.expanded),z(1),R(" ",a.searchState.teamScope$.value.expanded?
"Hide":"Show"," child teams "))},rQa=function(a,b){a&1&&(I(0),P(1,qQa,5,4,"ng-container",5),J());a&2&&(a=b.ngIf,z(1),D("ngIf",a.length))},uQa=function(a){if(a&1){var b=t();E(0,"div",36)(1,"div",28);Q(2," Filtering by team: ");F();E(3,"div",37)(4,"team-row",38);K("selectTeamId",function(d){v(b);var e=N(3);return w(Oq(e.searchState,d))});F();E(5,"button",39);K("mousedown",function(d){v(b);var e=N(3);sQa(e.searchState);return w(Nq(d))});H(6,"mat-icon",40);F()();P(7,rQa,2,1,"ng-container",5);F()}if(a&
2){a=N(3);var c=O(3);z(3);D("data",a.searchState.teamScope$.value)("listOrder",Wg(7,tQa));z(1);D("teamOption",a.searchState.teamScope$.value)("query",c.value)("compact",!0)("allowSegmentSelection",!0);z(3);D("ngIf",a.searchState.getChildTeams(a.searchState.teamScope$.value.id))}},vQa=function(a){a&1&&Kg(0)},xQa=function(a){a&1&&(I(0),P(1,uQa,8,8,"div",35),P(2,vQa,1,0,"ng-container",25),J());if(a&2){a=N(2);var b=O(12);z(1);D("ngIf",a.searchState.teamScope$.value);z(1);D("ngTemplateOutlet",b)("ngTemplateOutletContext",
Yg(3,wQa,a.searchState.componentOptions,a.searchState.teamScope$.value))}},AQa=function(a){if(a&1){var b=t();E(0,"div",44)(1,"div",45);Q(2,"Component Tree Browser");F();E(3,"component-row",46);K("goBack",function(){v(b);var c=N(3);return w(yQa(c.searchState))})("selectComponentId",function(c){v(b);var d=N(3);return w(zQa(d.searchState,c))});F()()}a&2&&(a=N(3),z(3),D("componentOption",a.searchState.componentScope))},BQa=function(a){a&1&&Kg(0)},DQa=function(a){a&1&&(I(0),P(1,AQa,4,1,"div",43),P(2,BQa,
1,0,"ng-container",25),J());if(a&2){a=N(2);var b=O(12);z(1);D("ngIf",a.searchState.componentScope);z(1);D("ngTemplateOutlet",b)("ngTemplateOutletContext",Xg(3,CQa,a.searchState.componentOptions))}},EQa=function(a){if(a&1){var b=t();E(0,"div",17,18);K("mousedown",function(c){v(b);N();return w(Nq(c))});E(2,"div",19);P(3,RPa,1,0,"mat-progress-bar",20);F();E(4,"div",21);I(5,22);U(6,"async");P(7,ZPa,4,7,"ng-container",23);P(8,jQa,4,7,"ng-container",23);P(9,xQa,3,6,"ng-container",23);P(10,DQa,3,5,"ng-container",
23);J();F()()}a&2&&(a=N(),z(3),D("ngIf",a.isLoading()),z(2),D("ngSwitch",V(6,6,a.searchState.state$)),z(2),D("ngSwitchCase","default"),z(1),D("ngSwitchCase","global"),z(1),D("ngSwitchCase","team_scope"),z(1),D("ngSwitchCase","component_scope"))},FQa=function(a){if(a&1){var b=t();E(0,"button",50);K("mousedown",function(c){v(b);var d=N().team,e=N();d.expanded?oQa(e.searchState,d):pQa(e.searchState,d);return w(Nq(c))});H(1,"mat-icon",51);F()}a&2&&(a=N().team,z(1),Fg("expanded",a.expanded))},GQa=function(a){a&
1&&Kg(0)},IQa=function(a,b){a&1&&(I(0),P(1,GQa,1,0,"ng-container",25),J());if(a&2){a=b.$implicit;b=b.index;var c=N(2),d=c.level;c=c.order;N();var e=O(10);z(1);D("ngTemplateOutlet",e)("ngTemplateOutletContext",Zg(HQa,a,d+1,c.concat(b)))}},JQa=function(a){a&1&&(I(0),P(1,IQa,2,6,"ng-container",29),J());if(a&2){a=N().team;var b=N();z(1);D("ngForOf",b.searchState.getChildTeams(a.id))}},KQa=function(a,b){if(a&1){var c=t();E(0,"div",47);K("mousedown",function(h){var l=v(c).team,q=N();TPa(q.searchState,l);
return w(Nq(h))});E(1,"div",48);P(2,FQa,2,2,"button",49);E(3,"team-row",31);K("selectTeamId",function(h){v(c);var l=N();return w(Oq(l.searchState,h))});F()()();P(4,JQa,2,1,"ng-container",5)}if(a&2){a=b.team;var d=b.level;b=b.order;var e=N(),f=O(3);D("listOrder",b)("data",a);z(1);Eg("margin-left",28*d,"px");z(1);D("ngIf",e.searchState.getChildTeams(a.id).length);z(1);Fg("indent",!e.searchState.getChildTeams(a.id).length);D("teamOption",a)("query",f.value)("hasNoComponent",e.searchState.hasNoComponent(a.id));
z(1);D("ngIf",a.expanded)}},LQa=function(a){a&1&&(I(0),Q(1,"s"),J())},NQa=function(a,b){if(a&1){var c=t();E(0,"div",56);K("mousedown",function(f){var h=v(c).$implicit,l=N(3);MQa(l.searchState,h.id);return w(Nq(f))});E(1,"component-row",57);K("selectComponentId",function(f){v(c);var h=N(3);return w(MQa(h.searchState,f))})("expandComponent",function(f){v(c);var h=N(3);return w(h.searchState.expandComponent(f))});F()()}if(a&2){a=b.$implicit;b=N(2).mode;var d=N(),e=O(3);D("data",a);z(1);D("showFolderSpecialIcon",
d.currentTracker.enableTrackersComponentPathTruncation&&d.currentTracker.inTracker)("componentOption",a)("query",e.value)("mode",b)}},OQa=function(a,b){a&1&&(E(0,"div",54)(1,"div",28),Q(2),E(3,"span"),Q(4),P(5,LQa,2,0,"ng-container",5),F()(),P(6,NQa,2,5,"div",55),F());if(a&2){a=b.ngIf;var c=N();b=c.mode;c=c.$implicit;z(2);R(" ","recent"===b?"Select recent component":"Select component"," ");z(2);R("",a," component");z(1);D("ngIf",1<a);z(1);D("ngForOf",c)}},PQa=function(a){a&1&&(I(0),Q(1," No recent components "),
J())},QQa=function(a){a&1&&(I(0),Q(1," No child components "),J())},RQa=function(a){a&1&&(I(0),Q(1),H(2,"mat-icon",61),Q(3," above ("),E(4,"a",62),Q(5,"learn more "),H(6,"mat-icon",63),F(),Q(7," about team associations)"),J());a&2&&(a=N(4).teamScope,z(1),R(" for ",a.name,". Remove the team filter by clicking on the "))},SQa=function(a){a&1&&(I(0),Q(1," No components found "),P(2,RQa,8,1,"ng-container",5),J());a&2&&(a=N(3).teamScope,z(2),D("ngIf",a))},TQa=function(a){a&1&&(E(0,"div",59),I(1,22),P(2,
PQa,2,0,"ng-container",23),P(3,QQa,2,0,"ng-container",23),P(4,SQa,3,1,"ng-container",60),J(),F());a&2&&(a=N(2).mode,z(1),D("ngSwitch",a),z(1),D("ngSwitchCase","recent"),z(1),D("ngSwitchCase","leaf"))},UQa=function(a){a&1&&P(0,TQa,5,3,"div",58);a&2&&(a=N(2),D("ngIf",!(a.componentLoading||a.searchState.componentsLoading)))},VQa=function(a,b){a&1&&(P(0,OQa,7,4,"div",52),P(1,UQa,1,1,"ng-template",null,53,qh));if(a&2){a=b.$implicit;var c=O(2);D("ngIf",a.length)("ngIfElse",c)}},WQa=function(a,b){b=m([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},XQa=function(a,b){a&1&&(E(0,"mat-radio-button",13),Q(1),F());a&2&&(a=b.$implicit,b=N(2),D("checked",b.selectedFilter.type===a.type)("value",a),z(1),R(" ",a.display," "))},YQa=function(a,b){a&1&&(E(0,"mat-radio-button",13),Q(1),F());a&2&&(a=b.$implicit,b=N(2),D("checked",b.selectedFilter.type===a.type)("value",a),z(1),R(" ",a.display," "))},ZQa=function(a){if(a&
1){var b=t();I(0);E(1,"b-team-component-picker",14);K("selectedComponentChange",function(c){v(b);var d=N(2);return w(d.selectComponent(null!==c&&void 0!==c?c:null))});F();J()}a&2&&(a=N(2),z(1),D("selectedComponent",a.selectedComponent)("placeholder","Choose Component")("isRequired",!0))},$Qa=function(a,b){a&1&&(E(0,"mat-radio-button",13),Q(1),F());a&2&&(a=b.$implicit,b=N(2),D("checked",b.selectedFilter.type===a.type)("value",a),z(1),R(" ",a.display," "))},aRa=function(a,b){a&1&&(E(0,"mat-list-option",
23),Q(1),F());a&2&&(a=b.$implicit,D("value",a),z(1),R(" ",a.name," "))},bRa=function(a){a&1&&(E(0,"mat-list-option",23),Q(1," No hotlists matching search "),F());a&2&&D("value",null)},cRa=function(a,b){a&1&&(I(0),P(1,aRa,2,2,"mat-list-option",21),P(2,bRa,2,1,"mat-list-option",22),J());a&2&&(a=b.$implicit,z(1),D("ngForOf",a),z(1),D("ngIf",0===a.length))},dRa=function(a){if(a&1){var b=t();E(0,"mat-selection-list",19);K("selectionChange",function(d){v(b);var e=N(3);0<d.options.length&&(d=d.options[0].value,
e.selectedHotlist=d,Pq("streamFilterSelectedHotlist")(d),e.filters.get(3).search.value=String(d.hotlistId),e.selectedFilter=e.filters.get(3));e.isHotlistPanelOpen=!1;return w()});P(1,cRa,3,2,"ng-container",20);U(2,"async");F()}if(a&2){a=N(3);var c=O(7);D("multiple",!1);z(1);D("ngIf",V(2,3,a.displayedHotlists$))("ngIfElse",c)}},eRa=function(a){if(a&1){var b=t();I(0);E(1,"mat-form-field",15)(2,"mat-label");Q(3,"Search starred hotlists");F();E(4,"input",16,17);K("input",function(){v(b);var e=O(5);N(2).userHotlistQuery$.next(e.value);
return w()})("focus",function(){v(b);var e=O(5),f=N(2);e.select();f.isHotlistPanelOpen=!0;return w()});F()();P(7,dRa,3,5,"ng-template",18);K("detach",function(){v(b);N(2).isHotlistPanelOpen=!1;return w()})("backdropClick",function(){v(b);N(2).isHotlistPanelOpen=!1;return w()});J()}if(a&2){var c=O(6);a=N(2);var d=O(1);z(4);D("value",a.selectedHotlist?a.selectedHotlist.name:"");z(3);D("cdkConnectedOverlayOrigin",d)("cdkConnectedOverlayOrigin",c)("cdkConnectedOverlayOpen",a.isHotlistPanelOpen)}},fRa=
function(a){if(a&1){var b=t();E(0,"div")(1,"label",6);Q(2,"Filter stream by");F();E(3,"mat-radio-group",7);K("change",function(c){v(b);var d=N();if(c=c.value)d.selectedFilter=c;return w()});P(4,XQa,2,3,"mat-radio-button",8);P(5,YQa,2,3,"mat-radio-button",8);P(6,ZQa,2,3,"ng-container",9);P(7,$Qa,2,3,"mat-radio-button",8);P(8,eRa,8,4,"ng-container",9);F()();H(9,"mat-divider");E(10,"div",10)(11,"button",11);K("click",function(){v(b);var c=N();return w(c.closeMenu())});Q(12,"Cancel");F();E(13,"button",
12);K("click",function(){v(b);var c=N();return w(c.emitSelection())});Q(14,"Apply");F()()}a&2&&(a=N(),z(3),D("value",a.selectedFilter),z(1),D("ngIf",a.filters.get(a.FilterType.ME)),z(1),D("ngIf",a.filters.get(a.FilterType.COMPONENT)),z(1),D("ngIf",a.selectedFilter.type===a.FilterType.COMPONENT),z(1),D("ngIf",a.filters.get(a.FilterType.HOTLIST)),z(1),D("ngIf",a.selectedFilter.type===a.FilterType.HOTLIST))},gRa=function(a){a&1&&H(0,"b-spinner")},hRa=function(a,b){if(a&1){var c=t();I(0);E(1,"mat-list-option",
11);K("click",function(){var d=v(c).$implicit;N(2);d.value=!d.value;Bva("activityStreamHeaderOnly")(d.value);return w()});Q(2);F();J()}a&2&&(a=b.$implicit,z(1),D("value",a)("selected",a.value),z(1),R(" ",a.display," "))},iRa=function(a){a&1&&(E(0,"mat-selection-list"),P(1,hRa,3,3,"ng-container",10),F());a&2&&(a=N(),z(1),D("ngIf",a.settings.get(a.SettingType.CARD_HEADER_ONLY)))},jRa=function(a,b){a&1&&(I(0),H(1,"b-changelist-activity-card",14),J());a&2&&(a=b.$implicit,z(1),D("changelistWithId",a))},
kRa=function(a){a&1&&(E(0,"div",12),P(1,jRa,2,1,"ng-container",13),U(2,"async"),F());a&2&&(a=N(),z(1),D("ngForOf",V(2,1,a.changelistsWithIds)))},lRa=function(a){a&1&&(E(0,"div",18),H(1,"b-spinner"),F())},mRa=function(a){a&1&&(I(0),E(1,"p",20),Q(2),U(3,"async"),F(),J());if(a&2){a=N(2).$implicit;var b=N(2);z(2);b.currentDisplayDate=new Date(a.issue.majorModifiedTimeMicros/1E3);a=b.dateFormatter.formatUserCalendar(b.currentDisplayDate);Sg(V(3,1,a))}},nRa=function(a){a&1&&(I(0),P(1,mRa,4,3,"ng-container",
10),H(2,"b-issue-activity-card",19),J());if(a&2){a=N().$implicit;var b=N(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;D("ngIf",!c);z(1);D("issueWithEvents",a)("headerOnly",b.settings.get(b.SettingType.CARD_HEADER_ONLY).value)}},pRa=function(a,b){a&1&&(I(0),P(1,nRa,3,3,"ng-container",10),U(2,"async"),J());if(a&2){a=b.$implicit;var c;z(1);D("ngIf",0<(null!==(c=V(2,1,a.events))&&void 0!==
c?c:Wg(3,oRa)).length)}},qRa=function(a){if(a&1){var b=t();E(0,"div",21)(1,"p",22);Q(2,"You've reached the end of recent activity.");F();E(3,"button",23);K("click",function(){v(b);N();var c=O(1);return w(c.scrollTo(0,0))});Q(4,"Back to top");F()()}},rRa=function(a){a&1&&(E(0,"div",12,15),P(2,lRa,2,0,"div",16),P(3,pRa,3,4,"ng-container",13),U(4,"async"),P(5,qRa,5,0,"div",17),F());a&2&&(a=N(),z(2),D("ngIf",a.loadingCards),z(1),D("ngForOf",V(4,3,a.issuesWithEvents$)),z(2),D("ngIf",!a.loadingCards))},
sRa=function(a){a&1&&Kg(0)},tRa=function(a){a&1&&(I(0),E(1,"span",11),Q(2,"No projects added"),F(),J())},uRa=function(a){a&1&&(I(0),P(1,tRa,3,0,"ng-container",10),U(2,"async"),U(3,"async"),J());if(a&2){N();var b=O(2);a=N();var c;z(1);D("ngIf",0===V(2,1,a.unarchivedProjectsCount$)&&0===((null==(c=V(3,3,null==b?null:b.rows$))?null:c.length)||0))}},wRa=function(a){if(a&1){var b=t();E(0,"p",11);Q(1);E(2,"a",14);K("click",function(){v(b);var c=N(4);return w(vRa(c,[]))});Q(3,"Show all");F()()}a&2&&(a=N().ngIf,
z(1),Tg("Filtering ",a.count," closed issue",1===a.count?"":"s",". "))},xRa=function(a){if(a&1){var b=t();E(0,"p");Q(1,"Closed issues may be filtered. ");E(2,"a",14);K("click",function(){v(b);var c=N(4);return w(vRa(c,[]))});Q(3,"Show all");F()()}},yRa=function(a,b){a&1&&(I(0),P(1,wRa,4,2,"p",13),P(2,xRa,4,0,"p",10),J());if(a&2){a=b.ngIf;N(2);var c=O(2);z(1);D("ngIf",a.count);z(1);D("ngIf",0===a.count&&0<c.filters.length)}},zRa=function(a){if(a&1){var b=t();E(0,"a",14);K("click",function(){v(b);var c=
N(3);return w(vRa(c,["OPEN"]))});Q(1,"Only show open issues");F()}},BRa=function(a){a&1&&(I(0),P(1,yRa,3,2,"ng-container",10),U(2,"async"),P(3,zRa,2,0,"a",12),J());if(a&2){N();var b=O(2);z(1);D("ngIf",Xg(4,ARa,V(2,2,b.model.filteredRowCount$)));z(2);D("ngIf",0===b.filters.length)}},CRa=function(a,b){a&1&&(E(0,"section"),H(1,"expandable-issues-table",8,9),U(3,"async"),P(4,uRa,4,5,"ng-container",10),U(5,"async"),P(6,BRa,4,6,"ng-container",10),U(7,"async"),F());if(a&2){a=b.$implicit;var c=O(2);b=N();
var d,e;Fg("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]);z(1);Fg("hidden",0===((null==(d=V(3,9,c.rows$))?null:d.length)||0));D("rootIssueId",a)("modifyMenuItems",b.modifyMenuItems)("filters",b.hackyPrefs.prefs.projectFilters);z(3);D("ngIf",null!==V(5,11,b.unarchivedProjectsCount$));z(2);D("ngIf",null==(e=V(7,13,null==c?null:c.rows$))?null:e.length)}},DRa=function(a){if(a&1){var b=t();E(0,"issue-card-compact",23);K("onDismiss",function(){v(b);var c=N().$implicit,d=N(3);return w(d.addProject(c.issueId))});
F()}a&2&&(a=N().$implicit,D("issue",a)("onlyTitle",!0))},ERa=function(a,b){a&1&&(I(0),P(1,DRa,1,2,"issue-card-compact",22),J());a&2&&(a=b.index,b=N(3),z(1),D("ngIf",a<b.suggestLimit))},FRa=function(a){a&1&&(E(0,"p"),Q(1," No projects to suggest. Check out the "),E(2,"a",24),Q(3," work tracking data model "),H(4,"mat-icon",25),F()())},GRa=function(a){if(a&1){var b=t();E(0,"b-button",26);K("onAction",function(){v(b);var c=N().ngIf,d=N(2);return w(d.suggestLimit=c.length)});Q(1," Show more ");F()}},
HRa=function(a,b){a&1&&(I(0),E(1,"div",19),P(2,ERa,2,1,"ng-container",20),P(3,FRa,5,0,"p",10),P(4,GRa,2,0,"b-button",21),F(),J());a&2&&(a=b.ngIf,b=N(2),z(2),D("ngForOf",a),z(1),D("ngIf",0===a.length),z(1),D("ngIf",a.length>b.suggestLimit))},IRa=function(a){a&1&&H(0,"b-spinner")},JRa=function(a){a&1&&(E(0,"div",15)(1,"h1",16),Q(2,"Suggested projects"),F(),P(3,HRa,5,3,"ng-container",17),U(4,"async"),P(5,IRa,1,0,"ng-template",null,18,qh),F());if(a&2){var b=O(6);a=N();z(3);D("ngIf",V(4,2,a.suggestedProjects$))("ngIfElse",
b)}},KRa=function(a){if(a&1){var b=t();E(0,"b-button",30);K("onAction",function(){v(b);var c=N(2);return w(c.createChild())});U(1,"async");Q(2," Create new project ");F()}a&2&&(a=N(2),D("disabled",!V(1,1,a.canEdit$)))},LRa=function(a){if(a&1){var b=t();P(0,KRa,3,3,"b-button",27);E(1,"b-button",28);K("onAction",function(){v(b);var c=N();return w(c.addChild())});U(2,"async");Q(3," Add existing project ");F();E(4,"b-button",29);K("onAction",function(){v(b);var c=N();return w(c.showSuggestedProjects=
!c.showSuggestedProjects)});U(5,"async");Q(6);F()}a&2&&(a=N(),D("ngIf",a.isNonPublicSession),z(1),D("disabled",!V(2,4,a.canEdit$)),z(3),D("disabled",!V(5,6,a.canEdit$)),z(2),R(" ",a.showSuggestedProjects?"Hide suggestions":"Suggest projects"," "))},MRa=function(a){a&1&&H(0,"my-work-card",9);a&2&&D("assignedOnly",!0)},NRa=function(a){a&1&&H(0,"my-work-card",9);a&2&&D("assignedOnly",!1)},ORa=function(a,b){a&1&&H(0,"hotlist-as-project-card",11);a&2&&D("hotlistId",b.$implicit)},PRa=function(a){a&1&&(I(0),
P(1,ORa,1,1,"hotlist-as-project-card",10),J());if(a&2){a=N().$implicit;var b=N();z(1);D("ngIf",b.extractHotlistId(a))}},QRa=function(a){a&1&&H(0,"issue-as-immersed-card",14);a&2&&(a=N(2).$implicit,D("issueId",a))},RRa=function(a){a&1&&H(0,"issue-as-project-card",14);a&2&&(a=N(2).$implicit,D("issueId",a))},SRa=function(a){a&1&&(I(0)(1,5),P(2,QRa,1,1,"issue-as-immersed-card",12),P(3,RRa,1,1,"issue-as-project-card",13),J()());if(a&2){a=N().$implicit;var b=N();z(1);D("ngSwitch",null==b.prefs.itemDisplayType?
null:b.prefs.itemDisplayType[a]);z(1);D("ngSwitchCase",b.IMMERSED)}},TRa=function(a){a&1&&H(0,"issue-as-immersed-card",14);a&2&&(a=N(2).$implicit,D("issueId",a))},URa=function(a){a&1&&H(0,"issue-as-project-card",14);a&2&&(a=N(2).$implicit,D("issueId",a))},VRa=function(a){a&1&&(I(0)(1,5),P(2,TRa,1,1,"issue-as-immersed-card",12),P(3,URa,1,1,"issue-as-project-card",13),J()());if(a&2){a=N().$implicit;var b=N();z(1);D("ngSwitch",null==b.prefs.itemDisplayType?null:b.prefs.itemDisplayType[a]);z(1);D("ngSwitchCase",
b.IMMERSED)}},WRa=function(a,b){a&1&&H(0,"saved-search-as-project-card",16);a&2&&D("savedSearchId",b.$implicit)},XRa=function(a){a&1&&(I(0),P(1,WRa,1,1,"saved-search-as-project-card",15),J());if(a&2){a=N().$implicit;var b=N();z(1);D("ngIf",b.extractSavedSearchId(a))}},YRa=function(a){if(a&1){var b=t();I(0);E(1,"p",17);Q(2," Unknown id/url format: `");E(3,"code");Q(4);F();Q(5,"`. ");E(6,"a",18);K("click",function(){v(b);var c=N().$implicit,d=N();return w(Iq(d.hackyPrefs,c))});Q(7," Remove ");F();H(8,
"br");Q(9," Learn more: ");E(10,"a",19);Q(11,"go/b-learn-project-add");F()();J()}a&2&&(a=N().$implicit,z(4),Sg(a))},ZRa=function(a,b){a&1&&(I(0)(1,5),P(2,MRa,1,1,"my-work-card",6),P(3,NRa,1,1,"my-work-card",6),P(4,PRa,2,1,"ng-container",7),P(5,SRa,4,2,"ng-container",7),P(6,VRa,4,2,"ng-container",7),P(7,XRa,2,1,"ng-container",7),P(8,YRa,12,1,"ng-container",8),J()());a&2&&(a=b.$implicit,b=N(),z(1),D("ngSwitch",b.inferEntityType(a)),z(1),D("ngSwitchCase","assigned-to-me"),z(1),D("ngSwitchCase","recent-stuff-i-follow"),
z(1),D("ngSwitchCase","hotlist"),z(1),D("ngSwitchCase","plain-id"),z(1),D("ngSwitchCase","issue"),z(1),D("ngSwitchCase","savedsearch"))},$Ra=function(a){if(a&1){var b=t();E(0,"aside",21)(1,"button",22);K("click",function(){v(b);var c=N(2);return w(c.onClickAdd())});H(2,"mat-icon",23);Q(3," Add project ");F();E(4,"button",24);K("click",function(){v(b);var c=N(2);return w(c.onClickAddHotlist())});Q(5," Add Hotlist ");F();E(6,"button",24);K("click",function(){v(b);var c=N(2);return w(c.onClickAddSavedSearch())});
Q(7," Add Saved Search ");F()()}},aSa=function(a,b){a&1&&(I(0),P(1,$Ra,8,0,"aside",20),J());a&2&&(a=b.$implicit,z(1),D("ngIf",0<a.length&&10>=a.length))},bSa=function(a){if(a&1){var b=t();I(0);E(1,"div",25);H(2,"img",26);E(3,"p");Q(4," No Projects selected. ");E(5,"button",27);K("click",function(){v(b);var c=N();return w(c.onClickAdd())});Q(6,"Add Project");F()();E(7,"p",17)(8,"a",28);H(9,"mat-icon",29);F();Q(10,' You can add hotlists or "parent" tracking issues. ');F()();J()}a&2&&(a=N(),z(2),D("src",
a.SPACE_EMPTY_STATE,Ie))},cSa=function(a){a&1&&(I(0),E(1,"div")(2,"h2"),Q(3,"Suggestions"),F(),H(4,"suggested-issue-projects"),F(),H(5,"suggested-hotlists"),J())},dSa=function(a){a&1&&H(0,"my-work-card",10);a&2&&D("assignedOnly",!0)},eSa=function(a){a&1&&H(0,"my-work-card",10);a&2&&D("assignedOnly",!1)},fSa=function(a,b){a&1&&H(0,"hotlist-as-project-card",12);a&2&&D("hotlistId",b.$implicit)},gSa=function(a){a&1&&(I(0),P(1,fSa,1,1,"hotlist-as-project-card",11),J());if(a&2){a=N().$implicit;var b=N();
z(1);D("ngIf",b.extractHotlistId(a))}},hSa=function(a){a&1&&(I(0),H(1,"issue-as-project-card",13),J());a&2&&(a=N().$implicit,z(1),D("issueId",a))},iSa=function(a,b){a&1&&H(0,"issue-as-project-card",13);a&2&&D("issueId",b.$implicit)},jSa=function(a){a&1&&(I(0),P(1,iSa,1,1,"issue-as-project-card",14),J());if(a&2){a=N().$implicit;var b=N();z(1);D("ngIf",b.extractIssueId(a))}},kSa=function(a,b){a&1&&H(0,"saved-search-as-project-card",16);a&2&&D("savedSearchId",b.$implicit)},lSa=function(a){a&1&&(I(0),
P(1,kSa,1,1,"saved-search-as-project-card",15),J());if(a&2){a=N().$implicit;var b=N();z(1);D("ngIf",b.extractSavedSearchId(a))}},mSa=function(a){if(a&1){var b=t();I(0);E(1,"p",17);Q(2," Unknown id/url format: `");E(3,"code");Q(4);F();Q(5,"`. ");E(6,"a",18);K("click",function(){v(b);var c=N().$implicit,d=N();return w(Iq(d.hackyPrefs,c))});Q(7," Remove ");F();H(8,"br");Q(9," Learn more: ");E(10,"a",19);Q(11,"go/b-learn-project-add");F()();J()}a&2&&(a=N().$implicit,z(4),Sg(a))},oSa=function(a,b){a&1&&
(I(0)(1,5),E(2,"mat-tab",6),P(3,dSa,1,1,"my-work-card",7),P(4,eSa,1,1,"my-work-card",7),P(5,gSa,2,1,"ng-container",8),P(6,hSa,2,1,"ng-container",8),P(7,jSa,2,1,"ng-container",8),P(8,lSa,2,1,"ng-container",8),P(9,mSa,12,1,"ng-container",9),F(),J()());if(a&2){a=b.$implicit;b=N();var c;z(1);D("ngSwitch",b.inferEntityType(a));z(1);D("label",null!==(c=nSa(b,a))&&void 0!==c?c:a);z(1);D("ngSwitchCase","assigned-to-me");z(1);D("ngSwitchCase","recent-stuff-i-follow");z(1);D("ngSwitchCase","hotlist");z(1);
D("ngSwitchCase","plain-id");z(1);D("ngSwitchCase","issue");z(1);D("ngSwitchCase","savedsearch")}},pSa=function(a){if(a&1){var b=t();E(0,"aside",21)(1,"button",22);K("click",function(){v(b);var c=N(2);return w(c.onClickAdd())});H(2,"mat-icon",23);Q(3," Add project ");F();E(4,"button",24);K("click",function(){v(b);var c=N(2);return w(c.onClickAddHotlist())});Q(5," Add Hotlist ");F();E(6,"button",24);K("click",function(){v(b);var c=N(2);return w(c.onClickAddSavedSearch())});Q(7," Add Saved Search ");
F()()}},qSa=function(a,b){a&1&&(I(0),P(1,pSa,8,0,"aside",20),J());a&2&&(a=b.$implicit,z(1),D("ngIf",0<a.length&&10>=a.length))},sSa=function(a){for(var b={},c=m(a.getComponentsMap().entries()),d=c.next();!d.done;d=c.next()){var e=m(d.value);d=e.next().value;e=e.next().value;b[Number(d)]=Ul(e)}var f,h;return{issuesWithSignals:yj(a,Qq,1).map(rSa),numTotalResults:null!=(f=a.getNumTotalResults())?f:0,components:b,nextPageToken:null!=(h=a.getNextPageToken())?h:""}},rSa=function(a){return{issue:lm(a.getIssue()),
signals:a.getSignalsList().map(tSa)}},tSa=function(a){return{signalType:cra[tk(a,1,0)],timestamp:uj(a.getTimestamp())}},uSa=function(a){return{dismissTimestamp:Hl(a,vj,1)?uj(Ok(a,vj,1)):void 0}},vSa=function(a){return rra[a]},xSa=function(a,b){if(a&1){var c=t();E(0,"span",6);K("click",function(){v(c);var e=N().$implicit,f=N();return w(f.toggleSignal(e))});H(1,"mat-icon",7);Q(2);F()}if(a&2){a=b.$implicit;b=N().$implicit;var d=N();Ig("chippy rounded ",a.className," margin-s-right");Fg("selected",d.selectedSignals.includes(b));
D("matTooltip",wSa(b));z(1);D("svgIcon",a.icon);z(1);Tg(" ",a.text," (",d.signalCounts[b],") ")}},ySa=function(a,b){a&1&&(I(0),P(1,xSa,3,9,"span",5),J());a&2&&(a=b.$implicit,b=N(),z(1),D("ngIf",b.SIGNAL_MAPPING[a]))},zSa=function(a,b){if(a&1){var c=t();I(0);E(1,"issue-card-compact",9);K("onDismiss",function(){v(c);var e=N().$implicit,f=N();return w(f.dismissIssue(e.issueId))});F();J()}if(a&2){a=b.$implicit;b=N().$implicit;var d=N();z(1);D("issue",b)("moreInfoIconSvg",a.icon)("moreInfoMessage",d.getSignalTypeTooltip(b.issueId))("moreInfoAccentColor",
a.color)("disableDismiss",d.dismissInProgress[b.issueId])}},BSa=function(a,b){a&1&&(I(0),P(1,zSa,2,5,"ng-container",8),J());a&2&&(b=b.$implicit,a=N(),z(1),b=ASa(a,b.issueId),D("ngIf",b?a.SIGNAL_MAPPING[b.signalType]:null))},CSa=function(a,b){a&1&&(E(0,"span",1),H(1,"mat-icon",2),F());a&2&&(a=b.ngIf,b=N(),Ig("chippy rounded ",a.className," margin-xs-right"),D("matTooltip",b.getSignalTypeTooltip()),z(1),D("svgIcon",a.icon))},DSa=function(a,b){a&1&&(I(0),H(1,"b-signal-chip",8),J());a&2&&(a=b.$implicit,
z(1),D("signal",a))},ESa=function(a,b){a&1&&(E(0,"span"),P(1,DSa,2,1,"ng-container",7),F());a&2&&(a=b.row,b=N(2),z(1),D("ngIf",ASa(b,a.issueId)))},FSa=function(a,b){if(a&1){var c=t();I(0);E(1,"button",9);K("click",function(d){var e=v(c).$implicit,f=N().row;N(2).navigateToIssue(d,e,f);return w(d.stopPropagation())});Q(2);F();J()}if(a&2){a=b.$implicit;N(3);z(2);a:switch(a.signalType){case "MENTIONED":case "NEEDS_REPORTER_INPUT":a="Reply";break a;default:a="View"}R(" ",a," ")}},GSa=function(a,b){a&1&&
(E(0,"span"),P(1,FSa,3,1,"ng-container",7),F());a&2&&(a=b.row,b=N(2),z(1),D("ngIf",ASa(b,a.issueId)))},HSa=function(a){a&1&&(E(0,"flat-issues-table",5),P(1,ESa,2,1,"span",6),P(2,GSa,2,1,"span",6),F());a&2&&(a=N(),Fg("collapsed",a.hackyPrefs.prefs.collapsed[a.SECTION_SLUG]),D("issueIds",a.getIssueIdsToDisplay())("displayedColumns",a.columnsToDisplay)("customColumns",a.customColumns),z(1),D("forViewCell","alert"),z(1),D("forViewCell","action"))},ISa=function(a){a&1&&(E(0,"p",10),Q(1,"None"),F())},JSa=
function(a,b){if(a&1){var c=t();I(0);E(1,"issue-card-compact",4);K("onDismiss",function(){var d=v(c).$implicit,e=N();Iq(e.hackyPrefs,d.issueId);e.refreshMonitor.refreshRequest.next();return w()});F();J()}a&2&&(a=b.$implicit,z(1),D("issue",a))},KSa=function(a){a&1&&(I(0),Q(1," No pinned issues. Click the 'pin' icon to add issues here. "),J())},LSa=function(a,b){for(a.has(b)&&a.delete(b);50<=a.size;)a.delete(a.keys().next().value);a.set(b,void 0)},MSa=function(a,b){var c;b=null!=(c=null==b?void 0:b.split(","))?
c:[];a.clear();c=m(b);for(b=c.next();!b.done;b=c.next())a.set(b.value,void 0)},NSa=function(a){a&1&&(E(0,"h4",11),Q(1,"Pinned"),F())},OSa=function(a,b){if(a&1){var c=t();I(0);E(1,"issue-card-compact",12);K("onDismiss",function(){var d=v(c).$implicit,e=N(2);Iq(e.hackyPrefs,d.issueId);e.getIssueIdsToDisplay();return w()});F();J()}a&2&&(a=b.$implicit,z(1),D("issue",a))},QSa=function(a){a&1&&(I(0),P(1,NSa,2,0,"h4",8),U(2,"async"),E(3,"section",9),P(4,OSa,2,1,"ng-container",10),U(5,"async"),F(),J());if(a&
2){a=N();var b;z(1);D("ngIf",null!==(b=0<(null!==(b=V(2,2,a.pinnedIssues$))&&void 0!==b?b:Wg(6,PSa)).length)&&void 0!==b?b:!1);z(3);D("ngForOf",V(5,4,a.pinnedIssues$))}},RSa=function(a){if(a&1){var b=t();I(0);E(1,"button",13);K("click",function(c){v(b);var d=N().row,e=N();Iq(e.hackyPrefs,d.issueId);e.getIssueIdsToDisplay();return w(c.stopPropagation())});E(2,"mat-icon",14);Q(3,"keep_off");F()();J()}},SSa=function(a){if(a&1){var b=t();I(0);E(1,"button",15);K("click",function(c){v(b);var d=N().row,
e=N();vp(e.hackyPrefs,d.issueId);e.getIssueIdsToDisplay();return w(c.stopPropagation())});E(2,"mat-icon",14);Q(3,"keep");F()();J()}},TSa=function(a,b){a&1&&(E(0,"span"),P(1,RSa,4,0,"ng-container",1),P(2,SSa,4,0,"ng-container",1),F());a&2&&(a=b.row,b=N(),z(1),D("ngIf",Rq(b.hackyPrefs).includes(a.issueId)),z(1),D("ngIf",!Rq(b.hackyPrefs).includes(a.issueId)))},USa=function(a,b){a&1&&(I(0),H(1,"flat-issues-table",5),J());a&2&&(a=b.ngIf,b=N(),z(1),Fg("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]),
D("issueIds",a)("displayedColumns",b.columnsToDisplay))},VSa=function(a){a&1&&H(0,"b-spinner")},WSa=function(a){a&1&&(E(0,"div",4),H(1,"mat-icon",5),Q(2),U(3,"async"),F());if(a&2){a=N();var b=O(4);D("onedevHovercardTrigger",b);z(2);R("",V(3,2,a.teamName$)," ")}},XSa=function(a,b){a&1&&H(0,"b-team-chip",7);a&2&&D("teamId",b.$implicit)},YSa=function(a){a&1&&(I(0),E(1,"div",2),H(2,"b-user-image",14)(3,"b-user-display",15),Q(4," submitted "),H(5,"b-changelist-link",16),Q(6," for "),E(7,"b-issue-reference-widget",
17),Q(8),F(),H(9,"b-formatted-date-time",18),F(),E(10,"p",19),Q(11),F(),J());if(a&2){a=N().$implicit;var b=N(2);z(2);D("email",b.clAuthorToEmailAddress(a.event));z(1);D("model",b.clAuthorToUser(a.event));z(2);D("changelistId",b.getClNumber(a.event));z(2);D("href","b/issues/{{event.issueId}}")("issueId",a.issueId);z(1);R("b/",a.issueId,"");z(1);D("timestamp",a.event.modifiedDate);z(2);Sg(b.clEventToClDescription(a.event))}},ZSa=function(a){a&1&&(I(0),E(1,"div",2),H(2,"b-user-image",14)(3,"b-user-display",
15),Q(4," commented on "),E(5,"b-issue-reference-widget",17),Q(6),F(),H(7,"b-formatted-date-time",18),F(),E(8,"p",19),Q(9),F(),J());if(a&2){a=N().$implicit;var b=N(2);z(2);D("email",b.getUserEmailIfAvailable(a.event));z(1);D("model",a.event.userPerformingActionUser);z(2);D("href",b.getIssueDetailsUrl(a.issueId))("issueId",a.issueId);z(1);R("b/",a.issueId,"");z(1);D("timestamp",a.event.modifiedDate);z(2);Sg(a.event.unlinkifiedComment)}},$Sa=function(a){a&1&&(I(0),E(1,"div",2),H(2,"b-user-image",14)(3,
"b-user-display",15),Q(4," changed priority for "),E(5,"b-issue-reference-widget",17),Q(6),F(),H(7,"b-formatted-date-time",18),F(),E(8,"p",20),Q(9,"Priority changed from "),H(10,"b-issue-priority-display",21),Q(11," to "),H(12,"b-issue-priority-display",21),F(),J());if(a&2){a=N().$implicit;var b=N(2);z(2);D("email",b.getUserEmailIfAvailable(a.event));z(1);D("model",a.event.userPerformingActionUser);z(2);D("href",b.getIssueDetailsUrl(a.issueId))("issueId",a.issueId);z(1);R("b/",a.issueId,"");z(1);
D("timestamp",a.event.modifiedDate);z(3);D("issuePriority",b.toIssuePriority(b.getPreviousDiffValue(a.event,"priority")));z(2);D("issuePriority",b.toIssuePriority(b.getNewDiffValue(a.event,"priority")))}},aTa=function(a){a&1&&(I(0),E(1,"div",2),H(2,"b-user-image",14)(3,"b-user-display",15),Q(4," changed status for "),E(5,"b-issue-reference-widget",17),Q(6),F(),H(7,"b-formatted-date-time",18),F(),E(8,"p",20),Q(9),F(),J());if(a&2){a=N().$implicit;var b=N(2);z(2);D("email",b.getUserEmailIfAvailable(a.event));
z(1);D("model",a.event.userPerformingActionUser);z(2);D("href",b.getIssueDetailsUrl(a.issueId))("issueId",a.issueId);z(1);R("b/",a.issueId,"");z(1);D("timestamp",a.event.modifiedDate);z(2);Tg("Status changed from ",b.getPreviousDiffValue(a.event,"status")," to ",b.getNewDiffValue(a.event,"status"),"")}},bTa=function(a){a&1&&(I(0),E(1,"div",2),H(2,"b-user-image",14)(3,"b-user-display",15),Q(4),F(),J());if(a&2){a=N().$implicit;var b=N(2);z(2);D("email",b.getUserEmailIfAvailable(a.event));z(1);D("model",
a.event.userPerformingActionUser);z(1);R(" updated ",a.issueId," ")}},cTa=function(a,b){a&1&&(E(0,"div",10),I(1,11),P(2,YSa,12,8,"ng-container",12),P(3,ZSa,10,7,"ng-container",12),P(4,$Sa,13,8,"ng-container",12),P(5,aTa,10,8,"ng-container",12),P(6,bTa,5,3,"ng-container",13),J(),F());a&2&&(a=b.$implicit,Fg("margin-bottom",!b.last),z(1),D("ngSwitch",a.eventType),z(1),D("ngSwitchCase","changelist"),z(1),D("ngSwitchCase","comment"),z(1),D("ngSwitchCase","priority"),z(1),D("ngSwitchCase","status"))},dTa=
function(a){a&1&&(E(0,"div",8),P(1,cTa,7,7,"div",9),F());a&2&&(a=N(),z(1),D("ngForOf",a.teamActivityEvents))},eTa=function(a,b){a&1&&H(0,"b-team-chip",12);a&2&&D("teamId",b.$implicit)},fTa=function(){},gTa=function(a){a&1&&P(0,fTa,0,0,"ng-template")},iTa=function(a,b){a&1&&(E(0,"li"),P(1,gTa,1,0,null,14),F());if(a&2){a=b.$implicit;N(2);var c=O(38);z(1);D("ngTemplateOutlet",c)("ngTemplateOutletContext",Xg(2,hTa,a))}},jTa=function(a,b){a&1&&(E(0,"div")(1,"ol"),P(2,iTa,2,4,"li",13),F()());a&2&&(a=b.$implicit,
z(2),D("ngForOf",null==a?null:a.results))},kTa=function(){},lTa=function(a){a&1&&P(0,kTa,0,0,"ng-template")},mTa=function(a,b){a&1&&(E(0,"li"),P(1,lTa,1,0,null,14),F());if(a&2){a=b.$implicit;N(2);var c=O(38);z(1);D("ngTemplateOutlet",c)("ngTemplateOutletContext",Xg(2,hTa,a))}},nTa=function(a,b){a&1&&(E(0,"div")(1,"ol"),P(2,mTa,2,4,"li",13),F()());a&2&&(a=b.$implicit,z(2),D("ngForOf",null==a?null:a.results))},oTa=function(a){a&1&&H(0,"b-issue-card",24,25);if(a&2){var b=O(1);a=N().$implicit;D("onedevIsHovercardReady",
b.init)("issueId",a.issueId)}},pTa=function(a){a&1&&(E(0,"span",26),Q(1),F());a&2&&(a=N().$implicit,z(1),R("(",null==a.aggregatedData?null:a.aggregatedData.voteCount," Votes)"))},qTa=function(a){a&1&&(E(0,"span",26),Q(1),F());a&2&&(a=N().$implicit,z(1),R("(",null==a?null:null==a.snapshot[0].duplicateIssueId?null:a.snapshot[0].duplicateIssueId.length," Duplicates)"))},rTa=function(a,b){a&1&&(E(0,"span"),Q(1),F());a&2&&(a=b.$implicit,b=N(2),Ig("chippy status-",a,""),z(1),R(" ",b.STATUS_TERSE[a]," "))},
sTa=function(a,b){a&1&&(E(0,"onedev-hovercard",null,15),P(2,oTa,2,2,"b-issue-card",16),F(),E(3,"div",17)(4,"span",18)(5,"span"),Q(6),F(),E(7,"span",19),Q(8),F()(),E(9,"span")(10,"a",20),Q(11),F(),P(12,pTa,2,1,"span",21),P(13,qTa,2,1,"span",21),F(),E(14,"span",22),P(15,rTa,2,4,"span",23),F()());if(a&2){a=b.$implicit;var c=O(1);N();z(5);b=a.snapshot[0].priority;b=null!=b?opa[b]:void 0;Ig("p-chip priority-",b," margin-s-right");z(1);R(" ",a.snapshot[0].priority," ");z(2);Sg(a.issueId);z(2);Pg("href",
"/issues/",a.issueId,"",Ie);D("onedevHovercardTrigger",c);z(1);Sg(a.snapshot[0].title);z(1);var d,e;b=0<(null!=(e=null==(d=a.aggregatedData)?void 0:d.voteCount)?e:0);D("ngIf",b);z(1);var f;d=0<(null!=(f=null==a?void 0:a.snapshot[0].duplicateIssueId)?f:[]).length;D("ngIf",d);z(2);if(f="NEW"===a.snapshot[0].status||"ASSIGNED"===a.snapshot[0].status?!1:!0)f=a.snapshot[0].status,f=null!=f?rl[f]:void 0;D("ngIf",f)}},tTa=function(a){a=void 0===a?[]:a;return a.map(function(b){return"teamId:"+b+"+"}).join(" OR ")},
uTa=function(a,b){if(a&1){var c=t();I(0);E(1,"issue-card-compact",5);K("onDismiss",function(){var d=v(c).$implicit,e=N().hackyPrefs;d=d.issueId;var f=e.prefs;f.issuesThisWeek&&f.issuesThisWeek.issues.includes(d)&&(f.issuesThisWeek.issues.splice(f.issuesThisWeek.issues.indexOf(d),1),e.save(f));return w()});F();J()}a&2&&(a=b.$implicit,z(1),D("issue",a)("onlyTitle",!0))},Sq=function(a){return!!a},vTa=function(a,b){return[a.filter(b),a.filter(function(c){return!b(c)})]},wTa=function(a){window.localStorage.setItem("task_prioritization.hidden_task_ids",
JSON.stringify(a))},xTa=function(a){return(0,C.pipe)(Wf(function(b,c){return"hidden"===c.type?[].concat(r(b),[c.id]):b.filter(function(d){return d!==c.id})},a),bg(a))},yTa=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"})},zTa=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},BTa=function(a){return(a=a.map(ATa).find(function(b){return!!b}))?{type:"Future Availability",text:a}:void 0},ATa=function(a){var b=new Date(a.timeRange.startTime);if(a.status.hasOutOfOffice)return zTa("OOO in",b,24);if(a.status.hasOutsideWorkingHours)return zTa("Outside working hours in",b,3)},CTa=function(a){a=a.map(function(b){return new Tq({email:b})});
return new Uq({userIds:a})},DTa=function(a){return new C.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()}})},Vq=function(a){return{"X-Goog-Api-Key":a,Authorization:uq([])||"","X-Goog-AuthUser":"0"}},ETa=function(a){return a.pipe(Kf(a.pipe(Nf(0))))},FTa=function(a){return a.getTagsList().includes(3)&&3===a.getType()},HTa=function(a){return GTa(a).some(function(b){return ol(b,
3)<=(new Date).getTime()})},ITa=function(a){return HTa(a)?!1:GTa(a).some(function(b){return 2592E5>=ol(b,3)-(new Date).getTime()})},GTa=function(a){return(a=a.getSloStatus())?[a.getResponseBounds(),a.getClosureBounds(),a.getAssignmentBounds()].filter(Sq).filter(function(b){return 0!==ol(b,3)}):[]},KTa=function(a){if(a=Wq(a.getResource())){var b;var c=tk(a,18,0);var d=Bj(a,6).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?JTa[c][d]:void 0;
var f=(a=null==(f=a.getDescription().match(/REVIEW_TIME_SECONDS=(\d+)/))?void 0:f[1])?(new Date).getTime()/1E3-Number(a):void 0;if(!(!f||!b||f<b||21600>f))return{type:"Slow CL",text:"Slow CL",tooltipText:"This CL has taken longer to submit than similar CLs"}}},MTa=function(a){var b=a.numTasksPerSection,c=a.myWorkCriteria,d=a.needsMyInputCriteria,e=m(vTa(a.tasks,function(f){return f.isMyWork}));a=e.next().value;e=e.next().value;return[].concat(r(LTa(a,c).slice(0,b)),r(LTa(e,d).slice(0,b)))},Xq=function(a){return a.resource.getLastModifiedTimestamp()},
Yq=function(a,b){return a.signals.some(function(c){return c.type===b})},LTa=function(a,b){return a.sort(function(c,d){var e;return null!=(e=b.map(function(f){return Number(f(d))-Number(f(c))}).find(function(f){return 0!==f}))?e:0})},NTa=function(a){return a.isMyWork||Tl(Sl(a.resource,Zq,9,$q),8)},QTa=function(a){return 1===yj(Sl(a.resource,Zq,9,$q),ar,4).map(OTa).map(Number).reduce(PTa,0)},TTa=function(a){var b=(a=null==(b=Ok(Sl(a.resource,Zq,9,$q),RTa,2))?void 0:Sl(b,tj,1,STa))?(new Date(a.getYear(),
a.getMonth()-1,a.getDay())).getTime()-(new Date).getTime():void 0;return b&&6048E5>b?-b:-6048E5},OTa=function(a){return![2,1].includes(tk(a,2,0))},PTa=function(a,b){return a+b},UTa=function(a){return 3===br(a.resource).getStatus()},VTa=function(a){return Yq(a,"Current Iteration")},WTa=function(a){return Yq(a,"P0")},XTa=function(a){return Yq(a,"Out of SLO")},YTa=function(a){return Yq(a,"Near SLO")},ZTa=function(a){return ol(br(a.resource),19)},gUa=function(a){for(var b=m(a),c=b.next();!c.done;c=b.next())c=
c.value,$Ta.set(c.id,c);return MTa({tasks:a,numTasksPerSection:2,myWorkCriteria:[aUa,bUa,cUa,Xq],needsMyInputCriteria:[aUa,dUa,bUa,eUa,cUa,fUa,Xq]})},eUa=function(a){return Yq(a,"Future Availability")},fUa=function(a){return!Yq(a,"Current Availability")},aUa=function(a){return Tl(Wq(a.resource),12)},dUa=function(a){var b=(a=null==(b=Wq(a.resource).getDescription().match(/DIFFBASE=(\d+)/))?void 0:b[1])&&"cl/"+a;return b?(b=$Ta.get(b))&&aUa(b)?dUa(b)-1:0:0},cUa=function(a){return Yq(a,"Submission Deadline")},
bUa=function(a){return Yq(a,"Rollback")},hUa=function(a){return zj(cr(a.resource),21)},iUa=function(a){return zj(cr(a.resource),24)},jUa=function(a){return zj(cr(a.resource),23)},kUa=function(a){return zj(cr(a.resource),22)},lUa=function(a){return Tl(cr(a.resource),25)},mUa=function(a){var b=new Set(a.map(function(c){return Hk(c.resource,$q)}));if(0===b.size)return a;if(1===b.size)switch([].concat(r(b.keys()))[0]){case 6:return MTa({tasks:a,numTasksPerSection:2,myWorkCriteria:[WTa,UTa,VTa,XTa,YTa,
ZTa],needsMyInputCriteria:[WTa,XTa,YTa,ZTa]});case 5:return MTa({tasks:a,numTasksPerSection:2,myWorkCriteria:[hUa,iUa,Xq],needsMyInputCriteria:[lUa,kUa,jUa,Xq]});case 8:return gUa(a);case 9:return MTa({tasks:a.filter(NTa),numTasksPerSection:1,myWorkCriteria:[TTa,Xq],needsMyInputCriteria:[TTa,QTa,Xq]});default:return a}throw Error("Wd");},nUa=function(a){var b,c;a=null!=(c=null==(b=br(a.getResource()))?void 0:b.getBlockingIssueIdsList().length)?c:0;return 0<a?(0,C.of)({type:"Blocking",text:"Blocking "+
a+" issue"+(1<a?"s":"")}):(0,C.of)(void 0)},oUa=function(){return(0,C.pipe)(Wf(function(a,b){return a.concat(b)}))},pUa=function(a){a=a.getResource();switch(Hk(a,$q)){case 8:return 2===tk(Wq(a),2,0);case 6:return Tl(br(a),13);case 5:return cr(a).getOwnedByMe();case 9:return Sl(a,Zq,9,$q).getOwnedByMe();default:return!1}},qUa=function(a){a=Wq(a.getResource());return 1===(null==a?void 0:tk(a,2,0))?a.getAuthorEmail():""},rUa=function(a){if(a&1){var b=t();I(0);H(1,"br");Q(2," Some tasks are hidden, ");
E(3,"a",11);K("click",function(){v(b);var c=N(3);return w(c.showHiddenTasks.emit())});Q(4,"show hidden tasks");F();Q(5,"? ");J()}},sUa=function(a){a&1&&(E(0,"mat-header-cell",8),H(1,"img",9),E(2,"div"),Q(3," No tasks available that meet the criteria. "),P(4,rUa,6,0,"ng-container",10),F()());a&2&&(a=N(2),z(4),D("ngIf",a.areTasksHidden))},tUa=function(a){a&1&&H(0,"mat-cell")},uUa=function(a){a&1&&H(0,"mat-header-row",12)},vUa=function(a){a&1&&H(0,"mat-row")},yUa=function(a){a&1&&(E(0,"mat-table",2),
I(1,3),P(2,sUa,5,1,"mat-header-cell",4),P(3,tUa,1,0,"mat-cell",5),J(),P(4,uUa,1,0,"mat-header-row",6),P(5,vUa,1,0,"mat-row",7),F());a&2&&(D("dataSource",Wg(3,wUa)),z(4),D("matHeaderRowDef",Wg(4,xUa)),z(1),D("matRowDefColumns",Wg(5,xUa)))},zUa=function(a){a&1&&(E(0,"mat-header-cell"),Q(1,"Task title"),F())},AUa=function(a,b){if(a&1){var c=t();E(0,"mat-cell")(1,"div",19);H(2,"mat-icon",20);U(3,"taskIcon");E(4,"span",21)(5,"a",22);K("click",function(){var d=v(c).$implicit,e=N(2);return w(e.logTaskOpenedMetric(d))});
Q(6);F()()()()}a&2&&(a=b.$implicit,z(2),D("svgIcon",V(3,3,a)),z(3),D("href",a.resourceUrl,Ie),z(1),R(" ",a.title," "))},BUa=function(a){a&1&&(E(0,"mat-header-cell"),Q(1," Signals "),F())},CUa=function(a,b){a&1&&(E(0,"div",24),Q(1),F());a&2&&(a=b.$implicit,D("matTooltip",a.tooltipText)("matTooltipDisabled",!a.tooltipText),z(1),R(" ",a.text," "))},DUa=function(a,b){a&1&&(E(0,"mat-cell"),P(1,CUa,2,3,"div",23),F());a&2&&(a=b.$implicit,z(1),D("ngForOf",a.signals))},EUa=function(a){a&1&&(E(0,"mat-header-cell"),
Q(1," Actions "),F())},FUa=function(a){if(a&1){var b=t();E(0,"button",27);K("click",function(){v(b);var c=N().$implicit,d=N(2);return w(d.unhideTask(c))});H(1,"mat-icon",20);F()}a&2&&(z(1),D("svgIcon","show_task"))},GUa=function(a){if(a&1){var b=t();E(0,"button",28);K("click",function(){v(b);var c=N().$implicit,d=N(2);return w(d.hideTask(c))});H(1,"mat-icon",20);F()}a&2&&(z(1),D("svgIcon","hide_task"))},HUa=function(a,b){a&1&&(E(0,"mat-cell"),P(1,FUa,2,1,"button",25),U(2,"async"),P(3,GUa,2,1,"ng-template",
null,26,qh),F());if(a&2){a=b.$implicit;var c=O(4);z(1);D("ngIf",V(2,2,a.isHidden$))("ngIfElse",c)}},IUa=function(a){a&1&&H(0,"mat-header-row")},JUa=function(a,b){a&1&&(E(0,"mat-row"),U(1,"async"),F());a&2&&Fg("hidden-task",V(1,2,b.$implicit.isHidden$))},KUa=function(a){a&1&&(E(0,"mat-table",2),I(1,13),P(2,zUa,2,0,"mat-header-cell",14),P(3,AUa,7,5,"mat-cell",5),J(),I(4,15),P(5,BUa,2,0,"mat-header-cell",14),P(6,DUa,2,1,"mat-cell",5),J(),I(7,16),P(8,EUa,2,0,"mat-header-cell",14),P(9,HUa,5,4,"mat-cell",
5),J(),P(10,IUa,1,0,"mat-header-row",17),P(11,JUa,2,4,"mat-row",18),F());a&2&&(a=N(),D("dataSource",a.tasks),z(10),D("matHeaderRowDef",a.displayedColumns),z(1),D("matRowDefColumns",a.displayedColumns))},LUa=function(a){var b={attributeFilter:["aria-label","aria-valuenow"]};return new C.Observable(function(c){(new MutationObserver(function(d){var e=d[0].target,f;d=null!=(f=e.getAttribute("aria-label"))?f:"";var h;f=null!=(h=e.getAttribute("aria-valuenow"))?h:"indeterminate";c.next([d,f])})).observe(a,
b)})},MUa=function(a){a&1&&(I(0),Q(1,"Recommended Tasks"),J())},NUa=function(a){a&1&&(I(0),Q(1,"Needs My Input"),J())},OUa=function(a){a&1&&H(0,"mat-progress-spinner",5);a&2&&D("diameter",16)},PUa=function(a){a&1&&(I(0),Q(1,"Less"),J())},QUa=function(a){a&1&&(I(0),Q(1,"More"),J())},RUa=function(a){if(a&1){var b=t();E(0,"button",8);K("click",function(){v(b);var c=N().ngIf,d=N(2);c=!c.viewAll;d.viewAll$.next(c);d.metrics.logUsageMetric("toggle_view_all",c);return w()});Q(1," View ");P(2,PUa,2,0,"ng-container",
2);P(3,QUa,2,0,"ng-container",2);F()}a&2&&(a=N().ngIf,z(2),D("ngIf",a.viewAll),z(1),D("ngIf",!a.viewAll))},SUa=function(a){a&1&&(I(0),Q(1,"Hide"),J())},TUa=function(a){a&1&&(I(0),Q(1,"Show"),J())},VUa=function(a){if(a&1){var b=t();E(0,"button",9);K("click",function(){v(b);var c=N().ngIf,d=N(2);return w(UUa(d,!c.showHidden))});P(1,SUa,2,0,"ng-container",2);P(2,TUa,2,0,"ng-container",2);Q(3," Hidden Tasks ");F()}a&2&&(a=N().ngIf,z(1),D("ngIf",a.showHidden),z(1),D("ngIf",!a.showHidden))},WUa=function(a){a&
1&&(I(0),P(1,RUa,4,2,"button",6),U(2,"async"),P(3,VUa,4,2,"button",7),U(4,"async"),J());a&2&&(a=N(2),z(1),D("ngIf",V(2,2,a.areTasksFiltered$)),z(2),D("ngIf",V(4,4,a.areTasksHidden$)))},YUa=function(a){a&1&&(Og(0),P(1,WUa,5,6,"ng-container",2),U(2,"async"),U(3,"async"));a&2&&(a=N(),z(1),D("ngIf",Yg(5,XUa,V(2,1,a.showHidden$),V(3,3,a.viewAll$))))},ZUa=function(a){if(a&1){var b=t();I(0);E(1,"tp-task-table",10);K("showHiddenTasks",function(){v(b);var e=N(2);return w(UUa(e,!0))});U(2,"async");F();J()}if(a&
2){a=N().ngIf;var c=N(),d;z(1);D("tasks",a.tasks)("showZeroState",!!a.areAllTasksLoaded&&0===a.tasks.length)("areTasksHidden",null!==(d=V(2,3,c.areTasksHidden$))&&void 0!==d?d:!1)}},$Ua=function(a,b){a&1&&(I(0),P(1,ZUa,3,5,"ng-container",2),J());a&2&&(a=b.ngIf,z(1),D("ngIf",a.tasks&&(0<a.tasks.length||a.areAllTasksLoaded)))},bVa=function(a,b){if(a&1){var c=t();E(0,"div",41);H(1,"span",42);E(2,"button",43);K("click",function(){v(c);var d=N(2);aVa(d.userFeedback);return w()});Q(3," Give feedback ");
F()()}a&2&&(a=b.$implicit,z(1),D("innerHtml",a,He))},cVa=function(a){if(a&1){var b=t();E(0,"button",44);K("click",function(){v(b);var c=N(2);aVa(c.userFeedback);return w()});Q(1," Give feedback ");F()}},dVa=function(a,b){if(a&1){var c=t();E(0,"button",45);K("click",function(){var d=v(c).$implicit,e=N(2);return w(e.prefs.sectionA=d)});Q(1);F()}a&2&&(a=b.$implicit,z(1),R(" ",a," "))},eVa=function(a,b){if(a&1){var c=t();E(0,"button",45);K("click",function(){var d=v(c).$implicit,e=N(2);return w(e.prefs.sectionW=
d)});Q(1);F()}a&2&&(a=b.$implicit,z(1),R(" ",a," "))},fVa=function(a,b){if(a&1){var c=t();E(0,"button",45);K("click",function(){var d=v(c).$implicit,e=N(2);return w(e.prefs.sectionT=d)});Q(1);F()}a&2&&(a=b.$implicit,z(1),R(" ",a," "))},gVa=function(a){a&1&&H(0,"working-on-this-week")},hVa=function(a){a&1&&H(0,"pinned-issues")},iVa=function(a){a&1&&H(0,"needs-attention-widget")},jVa=function(a){a&1&&H(0,"needs-attention-table")},kVa=function(a){a&1&&(E(0,"section",46),P(1,gVa,1,0,"working-on-this-week",
38),P(2,hVa,1,0,"pinned-issues",38),P(3,iVa,1,0,"needs-attention-widget",38),P(4,jVa,1,0,"needs-attention-table",38),F());a&2&&(a=N(2),z(1),D("ngIf",null==a.prefs.sectionA?null:a.prefs.sectionA.includes("working-on-this-week")),z(1),D("ngIf",null==a.prefs.sectionA?null:a.prefs.sectionA.includes("pinned-issues")),z(1),D("ngIf",null==a.prefs.sectionA?null:a.prefs.sectionA.includes("needs-attention-cards")),z(1),D("ngIf",null==a.prefs.sectionA?null:a.prefs.sectionA.includes("needs-attention-table")))},
lVa=function(a){a&1&&H(0,"my-projects",47)},mVa=function(a){a&1&&H(0,"my-projects-as-cards")},nVa=function(a){a&1&&H(0,"my-projects-as-tabs")},oVa=function(a){a&1&&(E(0,"h2"),Q(1," My issues "),F())},pVa=function(a){a&1&&H(0,"working-on-this-week")},qVa=function(a){if(a&1){var b=t();E(0,"pinned-issues",48,49);K("cdkDropListDropped",function(c){v(b);var d=N(2);vp(d.hackyPrefs,c.previousContainer.data[c.previousIndex].issueId);d.refreshMonitor.refreshRequest.next();return w()});F()}},rVa=function(a){a&
1&&H(0,"recently-viewed-i-own")},sVa=function(a){a&1&&H(0,"suggested-issues")},tVa=function(a){a&1&&H(0,"team-inbox",52)},uVa=function(a,b){a&1&&(E(0,"div",54),Q(1),F());a&2&&(a=b.ngIf,z(1),R(" ",a," "))},vVa=function(a){a&1&&(E(0,"tp-needs-attention",52),P(1,uVa,2,1,"div",53),U(2,"async"),F());a&2&&(a=N(3),z(1),D("ngIf",V(2,1,a.taskPrioritizationTasksCount$)))},wVa=function(a){a&1&&H(0,"team-activity-stream",52)},xVa=function(a){a&1&&H(0,"b-activity-stream",52)},yVa=function(a){a&1&&(E(0,"section",
50),P(1,tVa,1,0,"team-inbox",51),P(2,vVa,3,3,"tp-needs-attention",51),P(3,wVa,1,0,"team-activity-stream",51),P(4,xVa,1,0,"b-activity-stream",51),F());a&2&&(a=N(2),z(1),D("ngIf",null==a.prefs.sectionT?null:a.prefs.sectionT.includes("team-inbox")),z(1),D("ngIf",null==a.prefs.sectionT?null:a.prefs.sectionT.includes("tp-my-work")),z(1),D("ngIf",null==a.prefs.sectionT?null:a.prefs.sectionT.includes("team-activity-stream")),z(1),D("ngIf",null==a.prefs.sectionT?null:a.prefs.sectionT.includes("activity-stream")))},
CVa=function(a){if(a&1){var b=t();E(0,"article",2)(1,"header",3);P(2,bVa,4,1,"div",4);P(3,cVa,2,0,"ng-template",null,5,qh);E(5,"aside",6)(6,"form",7);K("submit",function(){v(b);var d=N(),e=d.ldapOverride;null!=e&&(document.location.search="?ldap="+e,d.hackyPrefs.init(e));return w()});E(7,"input",8);K("ngModelChange",function(d){v(b);var e=N();return w(e.ldapOverride=d)});F();H(8,"input",9);F();E(9,"button",10);K("click",function(){v(b);var d=N();d.showSettings=!d.showSettings;return w(d.log(d.prefs))});
H(10,"mat-icon",11);F()()();E(11,"aside",12)(12,"div",13)(13,"h2",14);Q(14," Dashboard Settings ");F();E(15,"p",14);Q(16," Layout: ");E(17,"mat-button-toggle-group",15);K("change",function(d){v(b);var e=N();return w(zVa(e.hackyPrefs,{layout:d.value}))});E(18,"mat-button-toggle",16)(19,"mat-icon",17);Q(20,"space_dashboard");F()();E(21,"mat-button-toggle",18)(22,"mat-icon",17);Q(23,"view_stream");F()();E(24,"mat-button-toggle",19);H(25,"mat-icon",20);F()();H(26,"br");Q(27," Show Hidden Settings: ");
E(28,"mat-button-toggle-group",21);K("change",function(d){v(b);var e=N();zVa(e.hackyPrefs,{showHiddenSettings:d.value});e.showSettings=!1;return w()});E(29,"mat-button-toggle",22);Q(30," Yes ");F();E(31,"mat-button-toggle",23);Q(32," No ");F()()();E(33,"form",24);K("submit",function(){v(b);var d=N();console.log("Saving settings",d.prefs);d.showSettings=!1;d.hackyPrefs.save(d.prefs);return w()});E(34,"div",14)(35,"h2");Q(36," Widgets in Each Section ");F();E(37,"label");Q(38,"A: Alerts - Zero Inbox");
F();E(39,"div",25)(40,"input",26);K("ngModelChange",function(d){v(b);var e=N();return w(e.prefs.sectionA=d)});F();E(41,"span",27);P(42,dVa,2,1,"button",28);F()();E(43,"label");Q(44,"W: My Work - Big Rocks");F();E(45,"div",25)(46,"input",26);K("ngModelChange",function(d){v(b);var e=N();return w(e.prefs.sectionW=d)});F();E(47,"span",27);P(48,eVa,2,1,"button",28);F()();E(49,"label");Q(50,"T: Team - Broader awareness, opportunity");F();E(51,"div",25)(52,"input",26);K("ngModelChange",function(d){v(b);
var e=N();return w(e.prefs.sectionT=d)});F();E(53,"span",27);P(54,fVa,2,1,"button",28);F()()();E(55,"button",29);Q(56,"Close");F();E(57,"a",30);Q(58,"Power edit");F();E(59,"button",31);K("click",function(){v(b);var d=N();return w(AVa(d))});Q(60,"Clear all settings");F();E(61,"button",32);K("click",function(){v(b);N().refreshMonitor.refreshRequest.next();return w()});H(62,"mat-icon",33);F()()()();E(63,"div",34);P(64,kVa,5,4,"section",35);E(65,"section",36);P(66,lVa,1,0,"my-projects",37);P(67,mVa,1,
0,"my-projects-as-cards",38);P(68,nVa,1,0,"my-projects-as-tabs",38);P(69,oVa,2,0,"h2",38);P(70,pVa,1,0,"working-on-this-week",38);P(71,qVa,2,0,"pinned-issues",39);P(72,rVa,1,0,"recently-viewed-i-own",38);P(73,sVa,1,0,"suggested-issues",38);F();P(74,yVa,5,4,"section",40);F()()}if(a&2){var c=O(4);a=N();Fg("settings-open",a.showSettings)("show-hidden-settings",a.prefs.showHiddenSettings);z(2);D("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(5);D("ngModel",a.ldapOverride)("ngModelOptions",Wg(42,BVa));z(2);Fg("active",a.showSettings);z(2);Fg("collapsed",!a.showSettings);z(7);D("checked",null==a.prefs.layout?null:a.prefs.layout.includes("-a"));z(3);D("checked",null==a.prefs.layout||a.prefs.layout.includes("-b"));z(3);D("checked",null==a.prefs.layout?null:a.prefs.layout.includes("-c"));z(5);D("value",!0)("checked",a.prefs.showHiddenSettings);z(2);D("value",!1)("checked",
!a.prefs.showHiddenSettings);z(9);D("ngModel",a.prefs.sectionA)("ngModelOptions",Wg(43,BVa));z(2);D("ngForOf",a.VALID_WIDGETS_A);z(4);D("ngModel",a.prefs.sectionW)("ngModelOptions",Wg(44,BVa));z(2);D("ngForOf",a.VALID_WIDGETS_W);z(4);D("ngModel",a.prefs.sectionT)("ngModelOptions",Wg(45,BVa));z(2);D("ngForOf",a.VALID_WIDGETS_T);z(3);Pg("href","/issues/",a.prefs.id,"",Ie);z(6);Ig("grid padded margin-top ",a.prefs.layout,"");z(1);D("ngIf",a.isCurrentUserHomepage);z(2);D("ngIf",null==a.prefs.sectionW?
null:a.prefs.sectionW.includes("my-projects-as-tree"));z(1);D("ngIf",null==a.prefs.sectionW?null:a.prefs.sectionW.includes("my-projects-as-cards"));z(1);D("ngIf",null==a.prefs.sectionW?null:a.prefs.sectionW.includes("my-projects-as-tabs"));z(1);D("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);D("ngIf",null==a.prefs.sectionW?null:a.prefs.sectionW.includes("working-on-this-week"));
z(1);D("ngIf",null==a.prefs.sectionW?null:a.prefs.sectionW.includes("pinned-issues"));z(1);D("ngIf",null==a.prefs.sectionW?null:a.prefs.sectionW.includes("recently-viewed-i-own"));z(1);D("ngIf",null==a.prefs.sectionW?null:a.prefs.sectionW.includes("suggested-issues"));z(1);D("ngIf",a.isCurrentUserHomepage)}},DVa=function(a){a&1&&(E(0,"button",15)(1,"span"),Q(2,"Edit"),F(),H(3,"b-icon",16),F());if(a&2){a=N();var b=O(7);D("disabled",a.isAnonymous)("matMenuTriggerFor",b)}},EVa=function(a){a&1&&(E(0,
"button",15)(1,"span"),Q(2,"Link"),F(),H(3,"b-icon",16),F());if(a&2){a=N();var b=O(68);D("disabled",a.isAnonymous)("matMenuTriggerFor",b)}},FVa=function(a){a&1&&(E(0,"button",15)(1,"span"),Q(2,"CC"),F(),H(3,"b-icon",16),F());if(a&2){a=N();var b=O(84);D("disabled",a.isAnonymous)("matMenuTriggerFor",b)}},GVa=function(a,b){if(a&1){var c=t();E(0,"button",3);K("click",function(){var d=v(c).$implicit,e=N();return w(e.quickBulkEdit("PRIORITY",d))});Q(1);F()}a&2&&(a=b.$implicit,z(1),R(" ",a," "))},HVa=function(a,
b){if(a&1){var c=t();E(0,"button",3);K("click",function(){var d=v(c).$implicit,e=N();return w(e.quickBulkEdit("SEVERITY",d))});Q(1);F()}a&2&&(a=b.$implicit,z(1),R(" ",a," "))},IVa=function(a,b){if(a&1){var c=t();E(0,"button",3);K("click",function(){var d=v(c).$implicit,e=N();return w(e.quickBulkEdit("STATUS",d))});Q(1);F()}a&2&&(a=b.$implicit,b=N(),z(1),R(" ",b.STATUS_FULL_TEXT[a]," "))},JVa=function(a,b){if(a&1){var c=t();E(0,"button",17);K("click",function(){var e=v(c).$implicit,f=N();return w(f.quickBulkEdit("TYPE",
e))});Q(1);F()}if(a&2){a=b.$implicit;b=N();var d;D("matTooltip",null!==(d=b.constants.protoIssueTypesShortDescriptions.get(a))&&void 0!==d?d:"");z(1);R(" ",b.constants.protoIssueTypesDisplayNames.get(a)," ")}},KVa=function(a){if(a&1){var b=t();E(0,"button",5);K("click",function(){v(b);var c=N(2);return w(c.exportCsvClicked.emit())});Q(1,"Export issues to CSV ");F()}},LVa=function(a){if(a&1){var b=t();E(0,"button",5);K("click",function(){v(b);var c=N(2);return w(c.flagAsSpamClicked.emit())});Q(1,"Flag issues as spam ");
F()}},MVa=function(a){a&1&&(I(0),E(1,"button",1)(2,"span"),Q(3,"More"),F(),H(4,"b-icon",2),F(),E(5,"mat-menu",null,3),P(7,KVa,2,0,"button",4),P(8,LVa,2,0,"button",4),F(),J());if(a&2){var b=O(6);a=N();z(1);D("disabled",a.isAnonymous)("matMenuTriggerFor",b);z(6);D("ngIf",a.showExportCsv);z(1);D("ngIf",a.showFlagIssuesAsSpam)}},NVa=function(a){a&1&&(I(0),Q(1," Network connection has been interrupted. "),J())},OVa=function(a){a&1&&Q(0," Network connection has been interrupted or login credentials may have expired. ")},
RVa=function(a){if(a&1){var b=t();E(0,"button",5);K("click",function(c){v(b);N(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=fca("undefined"!=typeof"/refreshSso".href?"/refreshSso".href:"/refreshSso")||zc;var f=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(f&&h){if(l)throw Error("Xd");h=!1}f=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(",");ya()&&c.navigator&&c.navigator.standalone&&f&&"_self"!=f?(d=Rp(document,"A"),e=e instanceof vc?e:PVa(e),d.href=wc(e),d.target=f,h&&(d.rel="noreferrer"),e=document.createEvent("MouseEvent"),e.initMouseEvent("click",!0,!0,c,1),
d.dispatchEvent(e)):h?(c=QVa("",c,f,q),e=wc(e),c&&(dr&&ka(e,";")&&(e="'"+e.replace(/'/g,"%27")+"'"),c.opener=null,""===e&&(e="javascript:''"),e=ii('<meta name="referrer" content="no-referrer"><meta http-equiv="refresh" content="0; url='+er(e)+'">'),(c=c.document)&&c.write&&(c.write(im(e)),c.close()))):((c=QVa(e,c,f,q))&&d.noopener&&(c.opener=null),c&&d.noreferrer&&(c.opener=null));return w()});Q(1," Log in again ");F()}},SVa=function(a){a&1&&(E(0,"b-callout",1)(1,"b-callout-body"),P(2,NVa,2,0,"ng-container",
2),P(3,OVa,1,0,"ng-template",null,3,qh),F(),E(5,"b-callout-actions"),P(6,RVa,2,0,"button",4),F()());if(a&2){var b=O(4);a=N();D("messageType","error");z(2);D("ngIf",a.isAnonymous)("ngIfElse",b);z(4);D("ngIf",!a.isAnonymous)}},TVa=function(a){a&1&&(E(0,"a",1),Q(1," Hiring!\n"),F())},UVa=function(a,b){a&1&&(E(0,"tr")(1,"td",5),Q(2),F(),E(3,"td"),Q(4,":"),F(),E(5,"td",6),Q(6),F()());a&2&&(a=b.$implicit,z(2),Sg(a.displayAs),z(4),Sg(a.description))},VVa=function(a,b){a&1&&(E(0,"thead")(1,"tr"),H(2,"th",
3),E(3,"th",4),Q(4),F()(),P(5,UVa,7,2,"tr",1),F());a&2&&(a=b.$implicit,z(4),Sg(a.title),z(1),D("ngForOf",a.hotkeys))},WVa=function(a){if(!a.aggregatedData)return 0;a=a.aggregatedData;var b=Date.now()-a.modifiedTimeMicros/1E3;return Math.pow(.5,b/6048E5)+1-Math.pow(.5,a.voteCount/50)},ZVa=function(a,b){var c=new XVa;YVa(c,a,b);return c},YVa=function(a,b,c){var d=Ba(b.snapshot),e=b.aggregatedData;var f=b&&b.accessLimit?b.accessLimit.accessLevel:void 0;a.accessLevel=f;a.id=b.issueId;a.issueId=b.issueId;
a.trackerId=b.trackerId;d.componentId&&(a.componentId=d.componentId);a.componentPath=c&&c.componentPathInfo&&c.componentPathInfo.componentPathName?c.componentPathInfo.componentPathName.map(function(l){return String(l)}):[String(d.componentId)];d.type&&(a.type=d.type);if(d.status){a.status=d.status;var h;a.isClosed=!(null==(h=Cn[d.status])?0:h.open)||b.isArchived}a.priority=d.priority.substr(1);a.severity=d.severity.substr(1);a.reporter=Yj(d.reporterUser);a.assignee=Yj(d.assigneeUser);a.assigneeEmail=
ck(d.assigneeUser);a.verifier=Yj(d.verifierUser);a.verifierEmail=ck(d.verifierUser);a.cc=Zj(d.ccUsers);a.collaborator=Zj(d.collaboratorsUsers);a.changelist=d.changelist;a.postmortem=d.postmortems;a.hotlistId=d.hotlistId;a.blockingIssueId=d.blockingIssueId;a.blockedByIssueId=d.blockedByIssueId;a.teamId=e&&e.teamId?e.teamId:0;a.createdTime=e?Math.round(e.createdTimeMicros/1E3):0;a.modifiedTime=e?Math.round(e.modifiedTimeMicros/1E3):0;a.resolvedTime=e&&e.resolvedTimeMicros?Math.round(e.resolvedTimeMicros/
1E3):null;a.verifiedTime=e&&e.verifiedTimeMicros?Math.round(e.verifiedTimeMicros/1E3):null;a.majorModifiedTime=b.majorModifiedTimeMicros?Math.round(b.majorModifiedTimeMicros/1E3):0;a.archived=b.isArchived;a.lastViewedTime=b.userData&&b.userData.lastViewedTimeMicros?Math.round(b.userData.lastViewedTimeMicros/1E3):null;a.title=d.title;a.foundInVersion=d.foundInVersion;a.targetedToVersion=d.targetedToVersion;a.verifiedInVersion=d.verifiedInVersion;d.inProd&&(a.inProd=d.inProd);a.duplicateOfIssueId=d.duplicateOfIssueId;
a.starred=b.userData&&b.userData.starred?b.userData.starred:!1;a.voteCount=e?e.voteCount:0;a.magic=WVa(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=Yj(d.authorUser);a.customFieldMap={};a.customFieldNameToIdMap={};a.customFieldValueMap={};if(c&&c.componentPathInfo&&c.componentPathInfo.allCustomField)for(b=m(c.componentPathInfo.allCustomField),c=b.next();!c.done;c=
b.next())c=c.value,a.customFieldMap[String(c.customFieldId)]=c,a.customFieldNameToIdMap[c.name.toLowerCase()]=c.customFieldId;if(d.customField)for(b=m(d.customField),c=b.next();!c.done;c=b.next())c=c.value,a.customFieldValueMap[String(c.customFieldId)]=c;a.hotlists=[];a.retentionState=e?e.retentionState:void 0;a.sloId=e?""+e.sloId:"";a.sloStatus=e?e.sloStatus||null:null;a.sloSnoozeUntil=d.sloSnoozeUntil;a.isRead=!!a.lastViewedTime&&a.lastViewedTime>=a.majorModifiedTime;d.effort&&(a.effort=d.effort)},
$Va=function(a){a&1&&H(0,"bug-screensaver")},aWa=function(a){a&1&&(E(0,"footer"),H(1,"img",1),U(2,"async"),E(3,"span",2),Q(4),U(5,"async"),F(),Q(6," Powered by Google "),E(7,"span",3),Q(8,"|"),F(),E(9,"a",4),Q(10,"Privacy"),F(),E(11,"span",3),Q(12,"|"),F(),E(13,"a",5),Q(14,"Terms"),F()());a&2&&(a=N(),z(1),D("src",V(2,2,a.trackerLogo$),Ie),z(3),R("",V(5,4,a.trackerName$)," Issue Tracker"))},bWa=function(a){var b;return null!=(b=hk(a))?b:null},cWa=function(a){var b;return null!=(b=ik(a))?b:null},dWa=
function(a,b){if(a&1){var c=t();I(0);E(1,"b-fab-segmented",1);K("clickMain",function(f){v(c);var h=N(3);return w(h.trackClick(f))})("clickSegment",function(f){v(c);var h=N(3);return w(h.trackClick(f))});F();J()}if(a&2){a=b.ngIf;b=N().ngIf;var d=N().ngIf,e=N();z(1);D("label",b)("icon",a)("href",e.createIssuePath)("segments",d)}},eWa=function(a){a&1&&(I(0),P(1,dWa,2,4,"ng-container",0),U(2,"async"),J());a&2&&(a=N(2),z(1),D("ngIf",V(2,1,a.buttonIcon$)))},fWa=function(a){a&1&&(I(0),P(1,eWa,3,3,"ng-container",
0),U(2,"async"),J());a&2&&(a=N(),z(1),D("ngIf",V(2,1,a.buttonLabel$)))},gWa=function(a){for(var b=m(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},hWa=function(a){return a.map(gWa)},jWa=function(a){var b={name:a.getName(),description:a.getDescription()};1===Hk(a,fr)?b.hotlistId=Number(a.getHotlistId()):4===Hk(a,fr)&&(b.savedSearchId=Number(iWa(a,4)));return b},kWa=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(jWa),adminUsers:dk(a.getAdminUsersList())}},lWa=function(a){var b=new gr;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&&rk(b,4,fr,String(a.savedSearchId));return b},mWa=function(a){var b;return(null!=(b=a.getBookmarkGroupsList())?b:[]).map(kWa)},nWa=function(a){a&1&&Kg(0)},oWa=
function(a){a&1&&Kg(0)},pWa=function(a){a&1&&(I(0),P(1,oWa,1,0,"ng-container",1),J());a&2&&(a=N(),z(1),D("ngTemplateOutlet",a.content))},qWa=function(a){a&1&&Q(0," Archived ")},rWa=function(a){a&1&&(E(0,"button",16),K("click",function(c){return c.stopPropagation()}),H(1,"mat-icon",17),F());if(a&2){N();var b=O(5);D("matMenuTriggerFor",b)}},sWa=function(a){if(a&1){var b=t();E(0,"button",18);K("click",function(){v(b);var c=N(3).$implicit;return w(c.unstar())});Q(1," Unstar ");F()}},tWa=function(a){if(a&
1){var b=t();E(0,"button",18);K("click",function(){v(b);var c=N(3).$implicit;return w(c.unarchive())});Q(1," Unarchive ");F()}},uWa=function(a){if(a&1){var b=t();E(0,"button",18);K("click",function(){v(b);var c=N(2).$implicit,d=N(3);return w(d.handleBookmarkGroupOpen(c.id))});Q(1," Open ");F();E(2,"button",18);K("click",function(){v(b);var c=N(2).$implicit,d=N(3);return w(d.handleBookmarkGroupDashboard(c.id))});Q(3," Dashboard ");F();E(4,"button",18);K("click",function(){v(b);var c=N(2).$implicit,
d=N(3);return w(d.openEditBookmarkGroup(c.id))});Q(5," Settings ");F();P(6,sWa,2,0,"button",19);P(7,tWa,2,0,"button",19)}a&2&&(a=N(2).$implicit,z(6),D("ngIf",a.isUnstarable()),z(1),D("ngIf",a.isEditable()))},vWa=function(a){a&1&&(E(0,"div",11)(1,"span",12),Q(2),F(),P(3,rWa,2,1,"button",13),E(4,"mat-menu",null,14),P(6,uWa,8,2,"ng-template",15),F()());a&2&&(a=N().$implicit,wg("id","bv2-user-archived-bookmarkgroup-item-",a.id,""),z(2),Sg(a.name),z(1),D("ngIf",a))},wWa=function(a,b){if(a&1){var c=t();
E(0,"li",22)(1,"a",23);K("click",function(d){var e=v(c).$implicit,f=N(5);return w(f.onAnchorClick(e.href,d))});E(2,"span",12);Q(3);F()()()}a&2&&(a=b.$implicit,b=N(2).$implicit,Fg("selected-indented",a.isSelected())("bv2-bookmark-group-hotlist-item","HOTLIST"==a.type)("bv2-bookmark-group-saved-search-item","SAVED_SEARCH"==a.type),gia("id","bv2-user-hotlists-bg-",b.id,"-",a.type,"-",a.id,""),D("title",a.name),z(1),D("href",a.href,Ie),z(2),R(" ",a.name," "))},xWa=function(a){a&1&&(E(0,"ul",20),P(1,wWa,
4,12,"li",21),F());a&2&&(a=N().$implicit,z(1),D("ngForOf",a.items))},yWa=function(a,b){a&1&&(E(0,"li",7)(1,"sidebar-zippy",8),P(2,vWa,7,3,"ng-template",null,9,qh),P(4,xWa,2,1,"ng-template",null,10,qh),F()());if(a&2){a=b.$implicit;var c=O(3),d=O(5);D("title",a.name);z(1);D("header",c)("content",d)}},zWa=function(a){a&1&&(E(0,"button",28),H(1,"mat-icon",17),F());if(a&2){N();var b=O(6);D("matMenuTriggerFor",b)}},AWa=function(a){if(a&1){var b=t();E(0,"button",18);K("click",function(){v(b);var c=N(2).$implicit;
return w(c.unstar())});Q(1," Unstar ");F()}},BWa=function(a){if(a&1){var b=t();E(0,"button",18);K("click",function(){v(b);var c=N(2).$implicit;return w(c.unarchive())});Q(1," Unarchive ");F()}},CWa=function(a){if(a&1){var b=t();E(0,"button",18);K("click",function(){v(b);var c=N().$implicit,d=N(3);return w(d.openEditHotlist(c.id))});Q(1," Settings ");F();P(2,AWa,2,0,"button",19);P(3,BWa,2,0,"button",19)}a&2&&(a=N().$implicit,z(2),D("ngIf",a.isUnstarable()),z(1),D("ngIf",a.isEditable()))},DWa=function(a,
b){if(a&1){var c=t();E(0,"li",24)(1,"a",25);K("click",function(d){var e=v(c).$implicit,f=N(3);return w(f.onAnchorClick(e.href,d))});E(2,"span",12);Q(3);F()();P(4,zWa,2,1,"button",26);E(5,"mat-menu",null,27);P(7,CWa,4,2,"ng-template",15);F()()}a&2&&(a=b.$implicit,Fg("selected",a.isSelected()),Pg("id","bv2-user-hotlists-archived-hotlist-item-",a.id,""),D("title",a.name),z(1),D("href",a.href,Ie),z(2),Sg(a.name),z(1),D("ngIf",a))},EWa=function(a){a&1&&(E(0,"ul",4),P(1,yWa,6,3,"li",5),P(2,DWa,8,7,"li",
6),F());a&2&&(a=N(2),z(1),D("ngForOf",a.bookmarkGroups),z(1),D("ngForOf",a.hotlists))},FWa=function(a){a&1&&(E(0,"div"),H(1,"hr"),E(2,"sidebar-zippy",1),P(3,qWa,1,0,"ng-template",null,2,qh),P(5,EWa,3,2,"ng-template",null,3,qh),F()());if(a&2){var b=O(4),c=O(6);z(2);D("header",b)("content",c)}},GWa=function(a){a&1&&H(0,"b-spinner")},HWa=function(a){if(a&1){var b=t();E(0,"b-star-toggle",15);K("starClicked",function(){v(b);var c=N().$implicit,d=N();return w(d.toggleStar(c))});F()}a&2&&(a=N().$implicit,
D("starMessage","Star this item")("unStarMessage","Un-star this item")("starred",a.isStarred))},IWa=function(a){a&1&&H(0,"b-hotlist-card",16);a&2&&(a=N().$implicit,D("hotlist",a))},JWa=function(a){a&1&&H(0,"b-bookmark-group-card",17);a&2&&(a=N().$implicit,D("bookmarkGroup",a))},KWa=function(a,b){a&1&&(E(0,"mat-option",8)(1,"div",9),P(2,HWa,1,3,"b-star-toggle",10),E(3,"onedev-hovercard",null,11),P(5,IWa,1,1,"b-hotlist-card",12),P(6,JWa,1,1,"b-bookmark-group-card",13),F(),E(7,"span",14),Q(8),F()()());
if(a&2){a=b.$implicit;var c=O(4);b=N();D("value",a);z(1);Fg("bv2-bookmark-group",b.showHotlists&&a.isGroup);z(1);D("ngIf",b.shouldShowStar(a));z(3);D("ngIf",!a.isGroup);z(1);D("ngIf",!!a.isGroup);z(1);D("onedevHovercardTrigger",c);z(1);Sg(a.name)}},LWa=function(){return Uga(function(){return(0,C.from)(Promise.resolve(void 0))})},MWa=function(a){a&1&&H(0,"a",1)},NWa=function(a){if(a&1){var b=t();E(0,"xap-dialog-layout")(1,"xap-dialog-layout-content")(2,"b-hotlist-search",3);K("itemSelect",function(c){v(b);
var d=N();d.itemSelect.emit(c);d.dialog.disabled=!0;d.dialog.disabled=!1;return w()});F()()()}a&2&&(a=N(),z(2),D("showGroups",a.showGroups)("showHotlists",a.showHotlists)("allowStarring",a.allowStarring)("focusOnInit",!0))},OWa=function(a){if(a&1){var b=t();E(0,"span");Q(1,"Bookmark groups");F();E(2,"b-hotlist-search-popup",4);K("itemSelect",function(c){v(b);var d=N();c.isGroup&&d.handleBookmarkGroupOpen(c.bookmarkGroupId);return w()});F()}a&2&&(z(2),D("showHotlists",!1))},PWa=function(a){a&1&&(E(0,
"button",17),K("click",function(c){return c.stopPropagation()}),H(1,"mat-icon",18),F());if(a&2){N();var b=O(5);D("matMenuTriggerFor",b)}},QWa=function(a){if(a&1){var b=t();E(0,"button",19);K("click",function(){v(b);var c=N(3).$implicit;return w(c.unstar())});Q(1," Unstar ");F()}},RWa=function(a){if(a&1){var b=t();E(0,"button",19);K("click",function(){v(b);var c=N(3).$implicit;return w(c.archive())});Q(1," Archive ");F()}},SWa=function(a){if(a&1){var b=t();E(0,"button",19);K("click",function(){v(b);
var c=N(3).$implicit;return w(c.setAsPreferredHomepage())});Q(1," Set as homepage ");F()}},TWa=function(a){if(a&1){var b=t();E(0,"button",19);K("click",function(){v(b);var c=N(2).$implicit,d=N(3);return w(d.handleBookmarkGroupOpen(c.id))});Q(1," Open ");F();E(2,"button",19);K("click",function(){v(b);var c=N(2).$implicit,d=N(3);return w(d.handleBookmarkGroupDashboard(c.id))});Q(3," Dashboard ");F();E(4,"button",19);K("click",function(){v(b);var c=N(2).$implicit,d=N(3);return w(d.editBookmarkGroup(c.id))});
Q(5," Settings ");F();P(6,QWa,2,0,"button",20);P(7,RWa,2,0,"button",20);P(8,SWa,2,0,"button",20)}a&2&&(a=N(2).$implicit,z(6),D("ngIf",a.isUnstarable()),z(1),D("ngIf",a.isEditable()),z(1),D("ngIf",!a.isPreferredHomepage()))},UWa=function(a){a&1&&(E(0,"div",12)(1,"span",13),Q(2),F(),P(3,PWa,2,1,"button",14),E(4,"mat-menu",null,15),P(6,TWa,9,3,"ng-template",16),F()());a&2&&(a=N().$implicit,wg("id","bv2-user-bookmarkgroup-item-",a.id,""),z(2),Sg(a.name),z(1),D("ngIf",a))},VWa=function(a){a&1&&(E(0,"button",
27),H(1,"mat-icon",18),F());if(a&2){N();var b=O(6);D("matMenuTriggerFor",b)}},WWa=function(a){if(a&1){var b=t();E(0,"button",19);K("click",function(){v(b);var c=N(2).$implicit;return w(c.unstar())});Q(1," Unstar ");F()}},XWa=function(a){if(a&1){var b=t();E(0,"button",19);K("click",function(){v(b);var c=N(2).$implicit;return w(c.setAsPreferredHomepage())});Q(1," Set as homepage ");F()}},YWa=function(a){if(a&1){var b=t();E(0,"button",19);K("click",function(){v(b);var c=N().$implicit,d=N(5);"HOTLIST"===
c.type?d.location.url(d.paths.editHotlist(c.id)):d.location.url(d.paths.editSavedSearch(c.id));return w()});Q(1," Settings ");F();P(2,WWa,2,0,"button",20);P(3,XWa,2,0,"button",20)}a&2&&(a=N().$implicit,z(2),D("ngIf",a.isUnstarable()),z(1),D("ngIf",!a.isPreferredHomepage()))},ZWa=function(a,b){if(a&1){var c=t();E(0,"li",23)(1,"a",24);K("click",function(d){var e=v(c).$implicit,f=N(5);return w(f.onAnchorClick(e.href,d))});E(2,"span",13);Q(3);F()();P(4,VWa,2,1,"button",25);E(5,"mat-menu",null,26);P(7,
YWa,4,2,"ng-template",16);F()()}a&2&&(a=b.$implicit,b=N(2).$implicit,Fg("selected-indented",a.isSelected())("bv2-bookmark-group-hotlist-item","HOTLIST"==a.type)("bv2-bookmark-group-saved-search-item","SAVED_SEARCH"==a.type),gia("id","bv2-user-hotlists-bg-",b.id,"-",a.type,"-",a.id,""),D("title",a.name),z(1),D("href",a.href,Ie),z(2),R(" ",a.name," "),z(1),D("ngIf",b))},$Wa=function(a){a&1&&(E(0,"ul",21),P(1,ZWa,8,13,"li",22),F());a&2&&(a=N().$implicit,z(1),D("ngForOf",a.items))},aXa=function(a,b){a&
1&&(E(0,"li",8)(1,"sidebar-zippy",9),P(2,UWa,7,3,"ng-template",null,10,qh),P(4,$Wa,2,1,"ng-template",null,11,qh),F()());if(a&2){a=b.$implicit;var c=O(3),d=O(5);D("title",a.name);z(1);D("header",c)("content",d)("expanded",!1)}},bXa=function(a){a&1&&(E(0,"ul",6),P(1,aXa,6,4,"li",7),F());a&2&&(a=N(2),z(1),D("ngForOf",a.bookmarkGroups))},cXa=function(a){a&1&&P(0,bXa,2,1,"ul",5);a&2&&(a=N(),D("ngIf",a.bookmarkGroups))},dXa=function(a){if(a&1){var b=t();E(0,"span");Q(1,"Hotlists");F();E(2,"b-hotlist-search-popup",
4);K("itemSelect",function(c){v(b);var d=N();d.analytics.trackEvent("hotlistSearch","goToHotlist");d.location.url(c.href);return w()});F()}a&2&&(z(2),D("showGroups",!1))},eXa=function(a){a&1&&(E(0,"button",14),H(1,"mat-icon",15),F());if(a&2){N();var b=O(6);D("matMenuTriggerFor",b)}},fXa=function(a){if(a&1){var b=t();E(0,"button",16);K("click",function(){v(b);var c=N(2).$implicit;return w(c.unstar())});Q(1," Unstar ");F()}},gXa=function(a){if(a&1){var b=t();E(0,"button",16);K("click",function(){v(b);
var c=N(2).$implicit;return w(c.setAsPreferredHomepage())});Q(1," Set as homepage ");F()}},hXa=function(a){if(a&1){var b=t();E(0,"button",16);K("click",function(){v(b);var c=N().$implicit,d=N(3);return w(d.openEditHotlist(c.id))});Q(1," Settings ");F();P(2,fXa,2,0,"button",17);P(3,gXa,2,0,"button",17)}a&2&&(a=N().$implicit,z(2),D("ngIf",a.isUnstarable()),z(1),D("ngIf",!a.isPreferredHomepage()))},iXa=function(a,b){if(a&1){var c=t();E(0,"li",8)(1,"a",9);K("click",function(d){var e=v(c).$implicit,f=
N(3);return w(f.onAnchorClick(e.href,d))});E(2,"span",10);Q(3);F()();P(4,eXa,2,1,"button",11);E(5,"mat-menu",null,12);P(7,hXa,4,2,"ng-template",13);F()()}a&2&&(a=b.$implicit,Fg("selected",a.isSelected()),Pg("id","bv2-user-hotlists-hotlist-item-",a.id,""),D("title",a.name),z(1),D("href",a.href,Ie),z(2),Sg(a.name),z(1),D("ngIf",a))},jXa=function(a){a&1&&(E(0,"ul",6),P(1,iXa,8,7,"li",7),F());a&2&&(a=N(2),z(1),D("ngForOf",a.hotlists))},kXa=function(a){a&1&&P(0,jXa,2,1,"ul",5);a&2&&(a=N(),D("ngIf",a.hotlists))},
lXa=function(a){a&1&&(E(0,"span"),Q(1,"Saved searches"),F())},mXa=function(a){if(a&1){var b=t();E(0,"button",14);K("click",function(){v(b);var c=N(2).$implicit;return w(c.setAsPreferredHomepage())});Q(1," Set as homepage ");F()}},oXa=function(a){if(a&1){var b=t();E(0,"button",14);K("click",function(){v(b);var c=N().$implicit,d=N(3);return w(d.openEditSavedSearch(c.id))});Q(1," Settings ");F();P(2,mXa,2,0,"button",15);E(3,"button",14);K("click",function(){v(b);var c=N().$implicit,d=N(3);return w(nXa(d,
c))});Q(4," Delete ");F()}a&2&&(a=N().$implicit,z(2),D("ngIf",!a.isPreferredHomepage()))},pXa=function(a,b){if(a&1){var c=t();E(0,"li",7)(1,"a",8);K("click",function(e){var f=v(c).$implicit,h=N(3);return w(h.onAnchorClick(f.href,e))});E(2,"span",9);Q(3);F()();E(4,"button",10);H(5,"mat-icon",11);F();E(6,"mat-menu",null,12);P(8,oXa,5,1,"ng-template",13);F()()}if(a&2){a=b.$implicit;var d=O(7);Fg("selected",a.isSelected());wg("id","bv2-saved-searches-search-item-",a.id,"");D("title",a.name);z(1);D("href",
a.href,Ie);z(2);Sg(a.name);z(1);D("matMenuTriggerFor",d)}},qXa=function(a){a&1&&(E(0,"ul",5),P(1,pXa,9,7,"li",6),F());a&2&&(a=N(2),z(1),D("ngForOf",a.searches))},rXa=function(a){a&1&&P(0,qXa,2,1,"ul",4);a&2&&(a=N(),D("ngIf",a.searches))},uXa=function(a){var b=a.match(/\(.*\)/);if(a.match(/'.*'/)||a.match(/".*"/)||b)return{complexSyntax:!0};a=a.split(/\s+/).filter(Boolean);b=a.filter(sXa).length;var c=a.filter(function(d){return!sXa(d)}).filter(tXa).length;return{filters:b,text:a.length-b-c,resourceIds:c}},
tXa=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)},sXa=function(a){return!!a.match(/\w:\w/g)},vXa=function(a,b){return(null!=a?a:0)+(null!=b?b:0)},xXa=function(a){a&1&&(E(0,"onedev-feature-tooltip-controller",23)(1,"onedev-feature-tooltip",24)(2,"p",25),Q(3,'New "Needs Attention" Page'),F(),Q(4," Track issues which need your attention based on activity. "),F()());a&2&&(a=N(),D("showTooltip$",
a.showFeatureTooltip$),z(1),D("customPositions",Xg(3,wXa,a.TOOLTIP_POSITIONS.RIGHT_CENTER_BOTTOM))("tooltipId",a.TOOLTIP_ID_NEEDS_ATTENTION_SIDEBAR))},zXa=function(a){if(a&1){var b=t();E(0,"button",31);K("click",function(){v(b);var c=N(2);return w(yXa(c,c.EXPERIMENTAL_HOMEPAGE))});Q(1," Set as homepage ");F();E(2,"span",32);Q(3," Experimental. ");E(4,"a",33);Q(5,"Learn more");F();Q(6,". ");F()}},AXa=function(a){if(a&1){var b=t();I(0);E(1,"li",26)(2,"a",8);K("click",function(d){v(b);var e=N();e.onAnchorClick(e.experimentalHomepagePath,
d);e.appSearchState.clear();return w()});H(3,"mat-icon",27);Q(4," Home ");F();E(5,"button",28);H(6,"mat-icon",29);F();E(7,"mat-menu",null,30);P(9,zXa,7,0,"ng-template",11);F()();J()}if(a&2){var c=O(8);a=N();z(1);Fg("selected",!!a.location.path().match(/^\/dash\b/));z(1);D("href",a.experimentalHomepagePath,Ie);z(3);D("matMenuTriggerFor",c)}},BXa=function(a,b){a&1&&H(0,"mat-icon",39);a&2&&(a=b.$implicit,D("matBadge",99<a?"99+":a)("matBadgeHidden",0===a)("matBadgeDescription","Badge indicating "+a+" issues need attention"))},
CXa=function(a){a&1&&H(0,"mat-icon",40)},DXa=function(a){a&1&&(I(0),E(1,"button",41),H(2,"mat-icon",29),F(),J());if(a&2){N();var b=O(10);z(1);D("matMenuTriggerFor",b)}},EXa=function(a){if(a&1){var b=t();E(0,"button",31);K("click",function(){v(b);var c=N(2);yXa(c,"NEEDS_ATTENTION");return w()});Q(1," Set as homepage ");F()}},FXa=function(a){if(a&1){var b=t();E(0,"li",34)(1,"a",35);K("click",function(d){v(b);var e=N();return w(e.onAnchorClick(e.needsAttentionPath,d))});P(2,BXa,1,3,"mat-icon",36);U(3,
"async");P(4,CXa,1,0,"ng-template",null,37,qh);Q(6," Needs attention ");F();P(7,DXa,3,1,"ng-container",5);U(8,"async");E(9,"mat-menu",null,38);P(11,EXa,2,0,"ng-template",11);F()()}if(a&2){var c=O(5);a=N();Fg("selected",!!a.location.path().match(/^\/attention\b/));z(1);D("href",a.needsAttentionPath,Ie)("onedevFeatureTooltip",a.TOOLTIP_ID_NEEDS_ATTENTION_SIDEBAR)("hideTooltipWhenAnchorNotVisible",!0);z(1);D("ngIf",V(3,8,a.needsAttentionIssueCount$))("ngIfElse",c);z(5);D("ngIf",!V(8,10,a.isHomepageNeedsAttention$))}},
GXa=function(a){a&1&&(I(0),E(1,"button",42),H(2,"mat-icon",29),F(),J());if(a&2){N();var b=O(15);z(1);D("matMenuTriggerFor",b)}},IXa=function(a){if(a&1){var b=t();E(0,"button",31);K("click",function(){v(b);var c=N();return w(HXa(c))});Q(1," Set as homepage ");F()}},KXa=function(a){if(a&1){var b=t();E(0,"li")(1,"a",8);K("click",function(c){v(b);var d=N();return w(d.onAnchorClick(d.votedPath,c))});H(2,"mat-icon",43);Q(3," Upvoted by me ");F()()}a&2&&(a=N(),Fg("selected",JXa(a.appSearchState)),z(1),D("href",
a.votedPath,Ie))},LXa=function(a,b){if(a&1){var c=t();E(0,"li")(1,"a",8);K("click",function(d){var e=v(c).$implicit,f=N();return w(f.onAnchorClick(e,d))});H(2,"mat-icon",44);Q(3," Recently Viewed ");F()()}a&2&&(a=b.$implicit,b=N(),Fg("selected",!!b.location.path().match(/^\/recent\b/)),z(1),D("href",a,Ie))},MXa=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},NXa=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)},PXa=function(a,b,c){b=void 0===b?"#ccc":b;c=void 0===c?400:c;OXa++;var d=156;d+=12*(OXa-1);return function(e){e=void 0===e?b:e;var f,h=null!=(f=document.getElementById(a))?f:MXa(a,d);NXa(h,e,c)}},QXa=function(a){a=void 0===
a?!1:a;var b=Vva(),c=b.total,d=b.redundancyRatio;So("after-60s","xhr","redundant",b.redundant);So("after-60s","xhr","total",c);So("after-60s","xhr","redundancyRatio",d);a&&(console.table(Tva()),console.log(b))},SXa=function(a){if(a&1){var b=t();E(0,"a",8);K("keydown.enter",function(){v(b);var c=N(2);return w(RXa(c))})("keydown.space",function(){v(b);var c=N(2);return w(RXa(c))})("click",function(){v(b);var c=N(2);return w(RXa(c))});Q(1," Dismiss");F()}},TXa=function(a){a&1&&(E(0,"div",4)(1,"div",
5),H(2,"span",6),P(3,SXa,2,0,"a",7),F()());a&2&&(a=N(),z(2),D("innerHtml",a.announcement.message,He),z(1),D("ngIf",a.announcement.dismissible))},VXa=function(a){if(a&1){var b=t();E(0,"b-resizable-sidebar",9);K("widthChanged",function(c){v(b);var d=N();c!==d.matSidebarWidth&&(d.matSidebarWidth=c,UXa(d,c));return w()});H(1,"b-sidebar");F()}a&2&&(a=N(),D("size",a.matSidebarWidth)("disableToggleBtn",!0))},WXa=function(a){switch(a){case "COMFORTABLE":return"d-comfort";case "COZY":return"d-cozy";case "COMPACT":return"d-compact";
default:return"d-comfort"}},YXa=function(a){if(a&1){var b=t();E(0,"button",10);K("click",function(){v(b);var c=N(2),d=new Cj;c.date=d;c.dateSelectionChange.emit(d);XXa(c,c.date);c.calendar._getCurrentViewComponent()._focusActiveCell(!1);c.dateChange.emit(c.date);return w(c.saveClicked.emit())});Q(1,"Today");F()}},ZXa=function(a){if(a&1){var b=t();E(0,"button",11);K("click",function(){v(b);var c=N(2);c.date=void 0;c.dateSelectionChange.emit(void 0);c.dateChange.emit(c.date);return w(c.saveClicked.emit())});
Q(1,"None");F()}},$Xa=function(a){a&1&&(E(0,"div",1),P(1,YXa,2,0,"button",8),P(2,ZXa,2,0,"button",9),H(3,"mat-divider"),F());a&2&&(a=N(),z(1),D("ngIf",a.todayButtonEnabled),z(1),D("ngIf",a.noneButtonEnabled&&!a.required))},aYa=function(a){a&1&&H(0,"b-formatted-date-time",4);a&2&&(a=N(),D("date",a.value))},bYa=function(a){a&1&&(I(0),Q(1,"---"),J())},cYa=function(a,b){if(a&1){var c=t();E(0,"div",8)(1,"mat-checkbox",9);K("change",function(){var d=v(c).$implicit,e=N();e.focusFilterBox();var f=e.valueMap.get(d);
f?e.valueMap.set(d,!1):!1===f?(f=null===e.originalValueMap.get(d),e.valueMap.set(d,f?null:!0)):e.valueMap.set(d,!0);e.onSave.emit({valueMap:e.valueMap,valueChanged:e.valueChanged()});return w()})("click",function(d){return d.stopPropagation()});Q(2);F()()}a&2&&(a=b.$implicit,b=N(),D("title",b.getDisplayString(a)),z(1),D("checked",!!b.valueMap.get(a))("indeterminate",null===b.valueMap.get(a)),z(1),R(" ",b.getDisplayString(a)," "))},eYa=function(a){if(a&1){var b=t();E(0,"input",10,11);K("keydown",function(c){v(b);
var d=N();"Enter"===c.key&&(dYa(d)&&d.addValue(),c.preventDefault());return w()})("click",function(c){return c.stopPropagation()})("ngModelChange",function(c){v(b);var d=N();return w(d.filterValue=c)});F()}a&2&&(a=N(),D("type","REPEATED_NUMERIC"===a.type?"number":"text")("ngModel",a.filterValue)("placeholder","REPEATED_ENUM"===a.type?"Filter values":"Add or filter values"))},fYa=function(a){a&1&&H(0,"mat-divider")},gYa=function(a){if(a&1){var b=t();E(0,"div",12);K("click",function(c){v(b);var d=N();
c.stopPropagation();return w(d.addValue())});Q(1," Add ");F()}},hYa=function(a){if(a&1){var b=t();E(0,"div")(1,"b-date-time-input",13);K("valueChange",function(c){v(b);var d=N();return w(d.currentSelectedDate=c)});F();E(2,"div",14);K("click",function(c){v(b);var d=N();c.stopPropagation();if(c=d.currentSelectedDate)d.filterValue=c?c.getMonth()+1+"/"+c.getDate()+"/"+c.getFullYear():"",d.addValue(),d.currentSelectedDate=void 0;return w()});Q(3," Add ");F()()}a&2&&(a=N(),z(1),D("value",a.currentSelectedDate))},
iYa=function(a){a&1&&Kg(0)},kYa=function(a){if(a&1){var b=t();E(0,"div",3);K("click",function(){v(b);var d=N();return w(d.select(void 0))});P(1,iYa,1,0,"ng-container",4);F()}if(a&2){a=N();var c=O(3);D("option",void 0);ug("aria-selected",a.isSelected(void 0));z(1);D("ngTemplateOutlet",c)("ngTemplateOutletContext",Wg(4,jYa))}},lYa=function(a){a&1&&Kg(0)},nYa=function(a){if(a&1){var b=t();E(0,"div",3);K("click",function(){v(b);var e=N().$implicit,f=N();return w(f.select(e))});P(1,lYa,1,0,"ng-container",
4);F()}if(a&2){a=N().$implicit;var c=N(),d=O(3);D("option",a);ug("aria-selected",c.isSelected(a));z(1);D("ngTemplateOutlet",d)("ngTemplateOutletContext",Xg(4,mYa,a))}},oYa=function(a,b){a&1&&(I(0),P(1,nYa,2,6,"div",0),J());a&2&&(a=b.$implicit,z(1),D("ngIf",a))},pYa=function(a){a&1&&(I(0),Q(1),J());a&2&&(a=N(2).$implicit,z(1),R(" ",a," "))},qYa=function(a){a&1&&(E(0,"span",8),Q(1,"--"),F())},rYa=function(a){a&1&&(I(0),P(1,pYa,2,1,"ng-container",5),P(2,qYa,2,0,"ng-template",null,7,qh),J());if(a&2){var b=
O(3);a=N().$implicit;z(1);D("ngIf",null!=a)("ngIfElse",b)}},sYa=function(a){a&1&&Kg(0)},tYa=function(a){a&1&&P(0,sYa,1,0,"ng-container",4);if(a&2){a=N().$implicit;var b=N();D("ngTemplateOutlet",b.optionTemplate)("ngTemplateOutletContext",Xg(2,mYa,a))}},uYa=function(a){a&1&&(P(0,rYa,4,2,"ng-container",5),P(1,tYa,1,4,"ng-template",null,6,qh));if(a&2){var b=O(2);a=N();D("ngIf",!a.optionTemplate)("ngIfElse",b)}},vYa=function(a){a&1&&Kg(0)},xYa=function(a){a&1&&(I(0),P(1,vYa,1,0,"ng-container",10),J());
a&2&&(a=N(),z(1),D("ngTemplateOutlet",a.valueTemplate)("ngTemplateOutletContext",Xg(2,wYa,a.value)))},yYa=function(a){a&1&&Kg(0)},zYa=function(a){a&1&&(I(0),P(1,yYa,1,0,"ng-container",10),J());a&2&&(a=N(2),z(1),D("ngTemplateOutlet",a.optionTemplate)("ngTemplateOutletContext",Xg(2,wYa,a.value)))},AYa=function(a){a&1&&P(0,zYa,2,4,"ng-container",3);if(a&2){a=N();var b=O(8);D("ngIf",a.optionTemplate)("ngIfElse",b)}},BYa=function(a){a&1&&(I(0),Q(1),J());a&2&&(a=N(2),z(1),R(" ",a.value," "))},CYa=function(a){a&
1&&(E(0,"span",12),Q(1,"--"),F())},DYa=function(a){a&1&&(P(0,BYa,2,1,"ng-container",3),P(1,CYa,2,0,"ng-template",null,11,qh));if(a&2){var b=O(2);a=N();D("ngIf",null!=a.value)("ngIfElse",b)}},EYa=function(a){a&1&&(Sd(),E(0,"svg",13),H(1,"path",14),F())},FYa=function(a){a&1&&(E(0,"div"),Q(1," The selected issues have no custom fields in common. "),F())},GYa=function(a){a&1&&(E(0,"span"),Q(1,"*"),F())},HYa=function(a){if(a&1){var b=t();E(0,"input",16);K("ngModelChange",function(c){v(b);var d=N(2).$implicit;
return w(d.textValue=c)});F()}a&2&&(a=N(2).$implicit,N(),D("ngModel",a.textValue),ug("aria-labelledby",hr(a)))},IYa=function(a){if(a&1){var b=t();E(0,"input",17);K("ngModelChange",function(c){v(b);var d=N(2).$implicit;return w(d.numericValue=c)});F()}a&2&&(a=N(2).$implicit,N(),D("ngModel",a.numericValue),ug("aria-labelledby",hr(a)))},KYa=function(a){if(a&1){var b=t();E(0,"div")(1,"b-date-time-input",18);K("valueChange",function(e){v(b);var f=N(2).$implicit;N();return w(f.dateValue=e?Ej(e):void 0)});
F()()}if(a&2){a=N(2).$implicit;var c=N(),d;z(1);D("value",null!==(d=JYa(a.dateValue))&&void 0!==d?d:void 0)("required",c.isCustomFieldRequired(a))("customAriaLabelledBy",hr(a))("customFormId","bv2-custom-field-"+a.customFieldId)}},MYa=function(a){if(a&1){var b=t();E(0,"onedev-single-select",19);K("valueChange",function(d){v(b);var e=N(2).$implicit;return w(e.enumValue=d)});F()}if(a&2){a=N(2).$implicit;N();var c;D("value",a.enumValue)("options",null!==(c=a.allowedValue)&&void 0!==c?c:Wg(3,LYa));ug("aria-labelledby",
hr(a))}},OYa=function(a){if(a&1){var b=t();E(0,"b-bulk-repeated-field-picker",20);K("onSave",function(e){v(b);var f=N(2).$implicit,h=N();return w(NYa(h,f.customFieldId,e))});F()}if(a&2){a=N(2).$implicit;var c=N(),d;D("type",c.getCustomFieldType(a))("originalValueMap",c.repeatedCustomFieldsMap.get(a.customFieldId))("enumChoices",null!==(d=a.allowedValue)&&void 0!==d?d:Wg(3,LYa))}},PYa=function(a){a&1&&(I(0,10),P(1,HYa,1,2,"input",11),P(2,IYa,1,2,"input",12),P(3,KYa,2,4,"div",13),P(4,MYa,1,4,"onedev-single-select",
14),P(5,OYa,1,4,"b-bulk-repeated-field-picker",15),J());if(a&2){a=N().$implicit;var b=N();D("ngSwitch",b.getCustomFieldType(a));z(1);D("ngSwitchCase","TEXT");z(1);D("ngSwitchCase","NUMERIC");z(1);D("ngSwitchCase","DATE");z(1);D("ngSwitchCase","ENUM")}},QYa=function(a){if(a&1){var b=t();E(0,"span");Q(1," Multiple values ");F();E(2,"a",21);K("click",function(){v(b);var c=N().$implicit,d=N();return w(d.clearCustomFieldValue(c))});Q(3,"X");F()}},RYa=function(a,b){a&1&&(E(0,"div",5)(1,"div",6)(2,"label",
7),Q(3),P(4,GYa,2,0,"span",1),F()(),P(5,PYa,6,5,"ng-template",8),P(6,QYa,4,0,"ng-template",null,9,qh),F());if(a&2){a=b.$implicit;var c=O(7);N();z(2);D("matTooltip",(a.description||"")+" [ID: "+a.customFieldId+"]");ug("id",hr(a));z(1);R(" ",a.name," ");z(1);D("ngIf",a.required);z(1);D("ngIf",!a.hasMultipleValues)("ngIfElse",c)}},SYa=function(a){return a?new Set(Bj(a,1).map(function(b){return Kj(b)})):new Set},ir=function(a,b,c){return a.has(b)?c:""},TYa=function(a,b,c){return a.has(b)?c:[]},jr=function(a,
b,c){return{fieldName:a,diffType:"SINGLE_VALUE",diff:{oldValue:b,newValue:c}}},WYa=function(a){if(!a)return"";var b=UYa.get(tk(a,1,0)),c=zj(a,2),d="Issue Retention: "+b;b=d;c&&(b=d+(", Days: "+c));d=VYa.get(tk(a,3,0));c=zj(a,4);a=zj(a,5);d=", Restricted Retention: "+d;c&&(d+=", Restricted Days: "+c);a&&(d+=", Restricted+ Days: "+a);return b+d},YYa=function(a){if(!a)return"";var b=a.getInherit(),c=XYa.get(a.getSource()),d=a.getId();a=a.getComment();b="Inherit: "+b+", Source: "+c+", ID: "+d;return a?
b+(", Justification: "+a):b},ZYa=function(a){if(!a)return"";var b=a.getInherit();a=a.getId();return"Inherit: "+b+", ID: "+a},$Ya=function(a){a&1&&(E(0,"li")(1,"a",4),Q(2," Create an issue in this component"),F()());a&2&&(a=N(2),z(1),D("href",a.createIssueUrl,Ie))},aZa=function(a,b){a&1&&(I(0),E(1,"h3"),Q(2),F(),E(3,"p"),Q(4),F(),H(5,"b-access-level-indicator",3),E(6,"p"),Q(7),F(),E(8,"ul")(9,"li")(10,"a",4),Q(11," View recent open issues"),F()(),P(12,$Ya,3,1,"li",2),E(13,"li")(14,"a",4),Q(15," View component"),
F()()(),J());a&2&&(a=b.ngIf,b=N(),z(2),Sg(a.name),z(2),R("ID: ",b.componentId,""),z(1),D("accessLevel",null==a.accessLimit?null:a.accessLimit.accessLevel)("labelOnlyMode",!0),z(2),Sg(a.description),z(3),D("href",b.recentIssuesUrl,Ie),z(2),D("ngIf",!b.isAnonymous),z(2),D("href",b.viewComponentUrl,Ie))},bZa=function(a,b){a&1&&(E(0,"mat-option",19),Q(1),F());a&2&&(a=b.$implicit,D("value",a),z(1),R(" ",a," "))},cZa=function(a){if(a&1){var b=t();E(0,"mat-form-field",16)(1,"mat-select",17);K("selectionChange",
function(c){v(b);var d=N(2);return w(d._changePageSize(c.value))});P(2,bZa,2,2,"mat-option",18);F()()}a&2&&(a=N(2),D("appearance",a._formFieldAppearance)("color",a.color),z(1),D("value",a.pageSize)("disabled",a.disabled)("panelClass",a.selectConfig.panelClass||"")("disableOptionCentering",a.selectConfig.disableOptionCentering)("aria-label",a._intl.itemsPerPageLabel),z(1),D("ngForOf",a._displayedPageSizeOptions))},dZa=function(a){a&1&&(E(0,"div",20),Q(1),F());a&2&&(a=N(2),z(1),Sg(a.pageSize))},eZa=
function(a){a&1&&(E(0,"div",12)(1,"div",13),Q(2),F(),P(3,cZa,3,8,"mat-form-field",14),P(4,dZa,2,1,"div",15),F());a&2&&(a=N(),z(2),R(" ",a._intl.itemsPerPageLabel," "),z(1),D("ngIf",1<a._displayedPageSizeOptions.length),z(1),D("ngIf",1>=a._displayedPageSizeOptions.length))},fZa=function(a){if(a&1){var b=t();E(0,"button",21);K("click",function(){v(b);var c=N();if(c.hasPreviousPage()){var d=c.pageIndex;c.pageIndex=0;c._emitPageEvent(d)}return w()});Sd();E(1,"svg",7);H(2,"path",22);F()()}a&2&&(a=N(),
D("matTooltip",a._intl.firstPageLabel)("matTooltipDisabled",a._previousButtonsDisabled())("matTooltipPosition","above")("disabled",a._previousButtonsDisabled()),ug("aria-label",a._intl.firstPageLabel))},gZa=function(a){if(a&1){var b=t();Sd();Td();E(0,"button",23);K("click",function(){v(b);var c=N();if(c.hasNextPage()){var d=c.pageIndex;c.pageIndex=(c.pageSize?Math.ceil(c.length/c.pageSize):0)-1;c._emitPageEvent(d)}return w()});Sd();E(1,"svg",7);H(2,"path",24);F()()}a&2&&(a=N(),D("matTooltip",a._intl.lastPageLabel)("matTooltipDisabled",
a._nextButtonsDisabled())("matTooltipPosition","above")("disabled",a._nextButtonsDisabled()),ug("aria-label",a._intl.lastPageLabel))},hZa=function(a){if(a&1){var b=t();E(0,"mat-paginator",3);K("page",function(c){v(b);var d=N(),e=c.pageIndex*c.pageSize;d.childrenOnPage=d.children.slice(e,e+c.pageSize);return w()});F()}a&2&&(a=N(),D("length",a.children.length)("pageSize",a.pageSize)("pageSizeOptions",a.pageSizeOptions))},iZa=function(a,b){if(a&1){var c=t();E(0,"li")(1,"a",4);K("click",function(){var e=
v(c).$implicit,f=N();return w(f.onVisit.emit(e))});Q(2);F();E(3,"onedev-hovercard",null,5);H(5,"b-component-card",6);F()()}if(a&2){a=b.$implicit;var d=O(4);b=N();z(1);D("onedevHovercardTrigger",d)("href",b.paths.manageComponent(a.componentId),Ie);z(1);R(" ",a.name," ");z(3);D("componentId",a.componentId.toString())}},jZa=function(a){if(a&1){var b=t();E(0,"button",6);K("click",function(){v(b);var c=N();return w(c.onClickCopyIssueShortLinks.emit())});Q(1);F()}a&2&&(a=N(),z(1),R(" Copy '",a.shortLinkPrefix,
"'' links "))},kZa=function(a,b){a&1&&(E(0,"span",5)(1,"a",6),Q(2),F(),E(3,"onedev-hovercard",null,7),H(5,"b-component-card",8),F()());if(a&2){a=b.$implicit;var c=O(4);z(1);D("onedevHovercardTrigger",c)("routerLinkObj",a.route);z(1);Sg(a.name);z(3);D("componentId",a.id.toString())}},lZa=function(a){a&1&&(E(0,"span",9),Q(1,"[Archived]"),F())},kr=function(a,b){b=void 0===b?eo:b;var c,d=null!=(c=null==a?void 0:a.componentPathId)?c:[],e,f=null!=(e=null==a?void 0:a.componentPathName)?e:[];return d.map(function(h,
l){var q;l=null!=(q=f[l])?q:String(h);q=b(h);return{id:h,name:l,route:q}})},mZa=function(a){if(a&1){var b=t();E(0,"a",18);K("click",function(){v(b);var c=N().$implicit,d=N();return w(d.showChildren(c))});H(1,"mat-icon",19);F()}},nZa=function(a){if(a&1){var b=t();E(0,"a",20);K("click",function(){v(b);var c=N().$implicit;return w(c.showChildren=!1)});H(1,"mat-icon",21);F()}},pZa=function(a){a&1&&(E(0,"a",22),Q(1," (Recent Issues) "),F());if(a&2){a=N().$implicit;var b=N();D("href",b.paths.listIssues(Xg(1,
oZa,"status:open componentid:"+a.componentId)),Ie)}},qZa=function(a){a&1&&(E(0,"span"),Q(1,"[Archived]"),F())},rZa=function(a){a&1&&(E(0,"a",23),Q(1," Create issue "),F());if(a&2){a=N().$implicit;var b=N();D("href",b.paths.createIssue()+"?component="+a.componentId,Ie)}},sZa=function(a){a&1&&(E(0,"div",28),Q(1," No child components found. "),F())},tZa=function(a){a&1&&(E(0,"div",29),H(1,"b-spinner"),F())},uZa=function(a){if(a&1){var b=t();E(0,"component-subtree-list",30);K("childClosed",function(d){v(b);
var e=N(3);return w(e.onSubtreeChildClosed(d))});F()}if(a&2){a=N(2).$implicit;var c=N();D("components",a.children)("parentComponent",a)("rootController",c.rootController)("includeArchived",c.includeArchived)}},vZa=function(a){a&1&&(E(0,"div",24),P(1,sZa,2,0,"div",25),P(2,tZa,2,0,"div",26),P(3,uZa,1,4,"component-subtree-list",27),F());a&2&&(a=N().$implicit,z(1),D("ngIf",a.noChildren),z(1),D("ngIf",!(a.noChildren||a.children)),z(1),D("ngIf",a.children))},wZa=function(a,b){if(a&1){var c=t();E(0,"li",
2);K("click",function(d){var e=v(c).$implicit,f=N();return w(f.setSelected(e.componentId,d))});E(1,"div",3);H(2,"div",4);E(3,"div",5);P(4,mZa,2,0,"a",6);P(5,nZa,2,0,"a",7);F();E(6,"div",8)(7,"div")(8,"a",9);Q(9);F();P(10,pZa,2,3,"a",10);P(11,qZa,2,0,"span",11);H(12,"b-access-level-indicator",12)(13,"b-tracker-chip-smart",13);F();E(14,"div",14);Q(15);F()();E(16,"div",15);P(17,rZa,2,1,"a",16);F()();P(18,vZa,4,3,"div",17);F()}a&2&&(a=b.$implicit,b=N(),Pg("id","component-",a.componentId,""),z(4),D("ngIf",
!a.showChildren),z(1),D("ngIf",a.showChildren),z(3),D("href",b.paths.viewComponent(a.componentId),Ie),z(1),R(" ",a.name," "),z(1),D("ngIf",!a.archived),z(1),D("ngIf",a.archived),z(1),D("accessLevel",null==a.accessLimit?null:a.accessLimit.accessLevel),z(1),D("trackerId",a.trackerId),z(2),Sg(a.description),z(2),D("ngIf",!a.archived),z(1),D("ngIf",a.showChildren))},xZa=function(a){if(a&1){var b=t();E(0,"a",18);K("click",function(){v(b);var c=N().$implicit,d=N();return w(d.showChildren(c))});H(1,"mat-icon",
19);F()}},yZa=function(a){if(a&1){var b=t();E(0,"a",20);K("click",function(){v(b);var c=N().$implicit;return w(c.showChildren=!1)});H(1,"mat-icon",21);F()}},AZa=function(a){a&1&&(E(0,"a",22),Q(1," (Recent Issues) "),F());if(a&2){a=N().$implicit;var b=N();D("href",b.paths.listIssues(Xg(1,zZa,"status:open componentid:"+a.componentId)),Ie)}},BZa=function(a){a&1&&(E(0,"span"),Q(1,"[Archived]"),F())},CZa=function(a){a&1&&(E(0,"a",23),Q(1," Create issue "),F());if(a&2){a=N().$implicit;var b=N();D("href",
b.paths.createIssue()+"?component="+a.componentId,Ie)}},DZa=function(a){a&1&&(E(0,"div",28),Q(1," No child components found. "),F())},EZa=function(a){a&1&&(E(0,"div",29),H(1,"b-spinner"),F())},FZa=function(a){if(a&1){var b=t();E(0,"component-subtree-list",30);K("childClosed",function(d){v(b);var e=N(3);return w(e.onSubtreeChildClosed(d))});F()}if(a&2){a=N(2).$implicit;var c=N();D("components",a.children)("parentComponent",a)("rootController",c.rootController)("includeArchived",c.includeArchived)}},
GZa=function(a){a&1&&(E(0,"div",24),P(1,DZa,2,0,"div",25),P(2,EZa,2,0,"div",26),P(3,FZa,1,4,"component-subtree-list",27),F());a&2&&(a=N().$implicit,z(1),D("ngIf",a.noChildren),z(1),D("ngIf",!(a.noChildren||a.children)),z(1),D("ngIf",a.children))},HZa=function(a,b){if(a&1){var c=t();E(0,"li",2);K("click",function(d){var e=v(c).$implicit,f=N();return w(f.setSelected(e.componentId,d))});E(1,"div",3);H(2,"div",4);E(3,"div",5);P(4,xZa,2,0,"a",6);P(5,yZa,2,0,"a",7);F();E(6,"div",8)(7,"div")(8,"a",9);Q(9);
F();P(10,AZa,2,3,"a",10);P(11,BZa,2,0,"span",11);H(12,"b-access-level-indicator",12)(13,"b-tracker-chip-smart",13);F();E(14,"div",14);Q(15);F()();E(16,"div",15);P(17,CZa,2,1,"a",16);F()();P(18,GZa,4,3,"div",17);F()}a&2&&(a=b.$implicit,b=N(),D("id","component-"+a.componentId),z(4),D("ngIf",!a.showChildren),z(1),D("ngIf",a.showChildren),z(3),D("href",b.paths.viewComponent(a.componentId),Ie),z(1),R(" ",a.name," "),z(1),D("ngIf",!a.archived),z(1),D("ngIf",a.archived),z(1),D("accessLevel",null==a.accessLimit?
null:a.accessLimit.accessLevel),z(1),D("trackerId",a.trackerId),z(2),Sg(a.description),z(2),D("ngIf",!a.archived),z(1),D("ngIf",a.showChildren))},IZa=function(a){a&1&&(H(0,"div"),U(1,"lowercase"));a&2&&(a=N(3),Ig("bv2-edit-icon ",V(1,3,a.type),""))},JZa=function(a){a&1&&(E(0,"div")(1,"label"),Q(2),F(),P(3,IZa,2,5,"div",10),F());a&2&&(a=N(2),Ig("bv2-editable-title bv2-editable-title-",a.name," flex-kids-x"),z(2),R(" ",a.title," "),z(1),D("ngIf",!a.readonly&&!a.disabled))},KZa=function(a){a&1&&Kg(0)},
LZa=function(a){if(a&1){var b=t();E(0,"div",14);K("menuClosed",function(){v(b);var e=N(2);return w(lr(e,null,!1,!0))});P(1,KZa,1,0,"ng-container",15);F()}if(a&2){N();var c=O(6);N();var d=O(7);D("matMenuTriggerFor",d);z(1);D("ngTemplateOutlet",c)}},MZa=function(a){a&1&&Kg(0)},NZa=function(a){a&1&&(E(0,"div",16),P(1,MZa,1,0,"ng-container",15),F());if(a&2){N();var b=O(6);z(1);D("ngTemplateOutlet",b)}},OZa=function(a){a&1&&H(0,"b-user-membership-chip",25);a&2&&(a=N(5),D("user",a.user)("email",a.value)("teamId",
a.teamId)("enableSmallChip",!0))},PZa=function(a){a&1&&H(0,"b-user-image",26);a&2&&(a=N(5),D("email",a.value))},QZa=function(a){a&1&&(E(0,"span",27)(1,"b-person-hovercard",28),Q(2),F()());a&2&&(a=N(5),z(1),D("email",a.value),z(1),R(" ",a.getDisplayValue("--")," "))},RZa=function(a){a&1&&(I(0),E(1,"div",21),P(2,OZa,1,4,"b-user-membership-chip",22),P(3,PZa,1,1,"b-user-image",23),P(4,QZa,3,2,"span",24),F(),J());a&2&&(a=N(4),z(2),D("ngIf",a.enableTeamAnnotations&&!!a.value),z(1),D("ngIf",!a.enableTeamAnnotations&&
!!a.value),z(1),D("ngIf",!a.enableTeamAnnotations))},SZa=function(a){a&1&&(E(0,"div"),P(1,RZa,5,3,"ng-container",3),F());a&2&&(a=N(3),z(1),D("ngIf",a.isUser))},TZa=function(a){a&1&&H(0,"b-truncated-span",33);a&2&&(a=N(4),D("maxWidth",150)("modelValue",a.getDisplayValue("--"))("disabled",!a.truncate))},UZa=function(a){a&1&&H(0,"b-truncated-span",34);a&2&&(a=N(4),D("ngClass",a.getPriority(a.value))("maxWidth",150)("modelValue",a.getDisplayValue("--"))("disabled",!a.truncate))},VZa=function(a){a&1&&
H(0,"b-truncated-span",33);a&2&&(a=N(4),Ig("chippy status-",a.convertIssueStatusStrToTag(a.value),""),D("maxWidth",150)("modelValue",a.getDisplayValue("--"))("disabled",!a.truncate))},WZa=function(a){a&1&&H(0,"div",35)},XZa=function(a){a&1&&(E(0,"div"),P(1,TZa,1,3,"b-truncated-span",29),P(2,UZa,1,4,"b-truncated-span",30),P(3,VZa,1,6,"b-truncated-span",31),P(4,WZa,1,0,"div",32),F());a&2&&(a=N(3),z(1),D("ngIf","Priority"!==a.title&&"Status"!==a.title),z(1),D("ngIf","Priority"===a.title),z(1),D("ngIf",
"Status"===a.title),z(1),D("ngIf",!a.title&&!a.readonly&&!a.disabled))},YZa=function(a){a&1&&(E(0,"div",36),H(1,"mat-icon",37),F())},ZZa=function(a){a&1&&(E(0,"div",38),H(1,"mat-icon",39),F())},a_a=function(a){if(a&1){var b=t();E(0,"div",17,18);K("keydown",function(c){v(b);var d=N(2);return w($Za(d,c))})("click",function(c){v(b);var d=N(2);return w(lr(d,c,!0,!1))});P(2,SZa,2,1,"div",3);P(3,XZa,5,4,"div",3);P(4,YZa,2,0,"div",19);P(5,ZZa,2,0,"div",20);F()}a&2&&(a=N(2),Fg("edit-field-user-container",
a.isUser)("edit-field-activated",a.isActive),z(2),D("ngIf",a.isUser),z(1),D("ngIf",!a.isUser),z(1),D("ngIf","ENUM"!=a.type),z(1),D("ngIf","ENUM"==a.type))},b_a=function(a){if(a&1){var b=t();E(0,"div",8,9);K("click",function(c){v(b);var d=N();return w(lr(d,c,!0,!1))})("keydown",function(c){v(b);var d=N();return w($Za(d,c))});P(2,JZa,4,5,"div",10);P(3,LZa,2,2,"div",11);P(4,NZa,2,1,"div",12);P(5,a_a,6,8,"ng-template",null,13,qh);F()}a&2&&(a=N(),Ig("bv2-issue-metadata-field-inner bv2-issue-metadata-field-",
a.name,""),Fg("bv2-disabled",a.disabled)("bv2-readonly",a.readonly),xg("aria-label","",a.title," value is ",a.getDisplayValue("empty"),""),D("matTooltip",a.getTooltip()),ug("aria-disabled",!1),z(2),D("ngIf",a.title),z(1),D("ngIf","ENUM"===a.type),z(1),D("ngIf","ENUM"!==a.type))},c_a=function(a){if(a&1){var b=t();E(0,"div",43);K("click",function(){v(b);var c=N(2);return w(c.setFieldValue(!c.value))});E(1,"label");Q(2);F()()}a&2&&(a=N(2),Ig("bv2-editable-title bv2-editable-title-",a.name," flex-kids-x"),
z(2),Sg(a.title))},e_a=function(a){if(a&1){var b=t();E(0,"div",40);P(1,c_a,3,4,"div",41);E(2,"b-slide-toggle",42);K("modelChange",function(){v(b);var d=N();return w(d.setFieldValue(!d.value))});F()()}if(a&2){a=N();var c;Ig("bv2-issue-metadata-field-inner bv2-issue-metadata-field-",a.name,"");D("ngClass",Yg(10,d_a,a.disabled,a.readonly))("matTooltip",a.getTooltip());ug("aria-disabled",!1);z(1);D("ngIf",a.title);z(1);D("disabled",a.disabled||a.readonly)("aria-label",a.name)("model",null!==(c=a.value)&&
void 0!==c?c:void 0)}},f_a=function(a){a&1&&H(0,"b-availability-chip",45);a&2&&(a=N(2),D("user",a.value))},g_a=function(a){a&1&&(I(0),P(1,f_a,1,1,"b-availability-chip",44),J());a&2&&(a=N(),z(1),D("ngIf",a.value&&a.enableWaldoAvailability))},h_a=function(a){if(a&1){var b=t();E(0,"button",48);K("click",function(){v(b);var c=N(2);return w(c.clearFieldValue())});E(1,"span",49);H(2,"mat-icon",50);F();Q(3," \u00a0 ");F()}a&2&&(a=N(2),Fg("b-menu-item-checked",null==a.value),D("disabled",null==a.value))},
i_a=function(a,b){if(a&1){var c=t();E(0,"button",51);K("click",function(){var d=v(c).$implicit,e=N(2);return w(e.setFieldValue(d.value))});E(1,"span",49);H(2,"mat-icon",50);F();Q(3);F()}a&2&&(a=b.$implicit,b=N(2),Fg("b-menu-item-checked",b.value==a.value),D("disabled",b.value==a.value)("matTooltip",a.altText||""),ug("aria-label",a.displayText)("title",!b.showEnumTitle||a.altText?"":a.displayText),z(3),R(" ",a.displayText," "))},j_a=function(a){a&1&&(P(0,h_a,4,3,"button",46),P(1,i_a,4,7,"button",47));
a&2&&(a=N(),D("ngIf",a.clearable),z(1),D("ngForOf",a.choices))},k_a=function(a){a&1&&Kg(0)},l_a=function(a){a&1&&Kg(0)},m_a=function(a){if(a&1){var b=t();E(0,"div",43);K("click",function(d){return d.stopPropagation()});E(1,"b-date-time-picker-content",57);K("dateSelectionChange",function(d){v(b);var e=N(2);return w(e.googDateValue=null!==d&&void 0!==d?d:null)})("saveClicked",function(){v(b);var d=N(2);return w(d.setFieldValue(d.googDateValue))})("cancelClicked",function(){v(b);var d=N(2);return w(lr(d,
null,!1,!1))});F()()}if(a&2){a=N(2);var c;z(1);D("required",!(a.clearable&&"DATE"===a.type))("date",null!==(c=a.googDateValue)&&void 0!==c?c:void 0)}},o_a=function(a){if(a&1){var b=t();E(0,"textarea",66);K("ngModelChange",function(c){v(b);var d=N(4);return w(d.textBuffer=c)})("keydown",function(c){v(b);var d=N(4);return w(n_a(d,c))});F()}a&2&&(a=N(4),D("ngModel",a.textBuffer),ug("aria-label",a.title))},q_a=function(a){if(a&1){var b=t();E(0,"input",67);K("ngModelChange",function(c){v(b);var d=N(4);
return w(d.textBuffer=c)})("keydown",function(c){v(b);var d=N(4);return w(p_a(d,c))});F()}a&2&&(a=N(4),D("ngModel",a.textBuffer),ug("type","NUMERIC"===a.type?"number":"text")("aria-label",a.title))},r_a=function(a){a&1&&(E(0,"div"),P(1,o_a,1,2,"textarea",64),P(2,q_a,1,3,"input",65),F());a&2&&(a=N(3),z(1),D("ngIf",a.multiline),z(1),D("ngIf",!a.multiline))},s_a=function(a){if(a&1){var b=t();E(0,"textarea",70);K("ngModelChange",function(c){v(b);var d=N(4);return w(d.textBuffer=c)})("keydown",function(c){v(b);
var d=N(4);return w(n_a(d,c))})("autocompleteActive",function(c){v(b);var d=N(4);return w(d.autocompleteActive=c)});F()}a&2&&(a=N(4),D("ngModel",a.textBuffer)("bContactAutocomplete","MULTI"),ug("aria-label",a.title))},t_a=function(a){if(a&1){var b=t();E(0,"input",71);K("ngModelChange",function(c){v(b);var d=N(4);return w(d.textBuffer=c)})("keydown",function(c){v(b);var d=N(4);return w(p_a(d,c))})("autocompleteActive",function(c){v(b);var d=N(4);return w(d.autocompleteActive=c)});F()}a&2&&(a=N(4),
D("ngModel",a.textBuffer)("bContactAutocomplete","SINGLE"),ug("type","NUMERIC"===a.type?"number":"text")("aria-label",a.title))},u_a=function(a){a&1&&(E(0,"div"),P(1,s_a,1,3,"textarea",68),P(2,t_a,1,4,"input",69),F());a&2&&(a=N(3),z(1),D("ngIf",a.multiline),z(1),D("ngIf",!a.multiline))},w_a=function(a){if(a&1){var b=t();E(0,"div",58);K("click",function(c){return c.stopPropagation()});P(1,r_a,3,2,"div",3);P(2,u_a,3,2,"div",3);E(3,"div",59)(4,"button",60);K("click",function(){v(b);var c=N(2);return w(v_a(c))});
H(5,"mat-icon",61);F();E(6,"button",62);K("click",function(c){v(b);var d=N(2);return w(lr(d,c,!1,!0))});H(7,"mat-icon",63);F()();E(8,"div",36);H(9,"mat-icon",37);F()()}a&2&&(a=N(2),z(1),D("ngIf",!a.isUser),z(1),D("ngIf",a.isUser),z(2),wg("aria-label","Apply change to ",a.title,""),Pg("matTooltip","Apply change to ",a.title,""),D("disabled",a.value==a.textBuffer),z(2),wg("aria-label","Discard change to ",a.title,""),Pg("matTooltip","Discard change to ",a.title,""))},x_a=function(a){a&1&&(E(0,"div",
52,53),P(2,k_a,1,0,"ng-container",54),P(3,l_a,1,0,"ng-container",54),P(4,m_a,2,2,"div",55),P(5,w_a,10,7,"div",56),F());a&2&&(a=N(),Ig("bv2-issue-metadata-field-edit bv2-issue-metadata-field-",a.name,"-edit"),D("ngSwitch",a.type),z(2),D("ngSwitchCase","ENUM"),z(1),D("ngSwitchCase","BOOL"),z(1),D("ngSwitchCase","DATE"))},y_a=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}},z_a=function(a){a&
1&&H(0,"b-icon",7);a&2&&(a=N(),D("name",a.iconName))},A_a=function(a){a&1&&(E(0,"span",8),Q(1),F());a&2&&(a=N(),z(1),Sg(a.title))},B_a=function(a){a&1&&(E(0,"div",9),Q(1,"\u00a0"),F())},C_a=function(a){a&1&&(E(0,"label"),Q(1),F());a&2&&(a=N(),z(1),R(" ",a.title," "))},E_a=function(a,b){a&1&&(E(0,"div",18),Kg(1,19),F());if(a&2){a=b.$implicit;b=b.index;N(2);var c=O(13);z(1);D("ngTemplateOutletContext",Yg(2,D_a,a,b))("ngTemplateOutlet",c)}},F_a=function(a){a&1&&(E(0,"collapsible-panel",15),P(1,E_a,2,
5,"div",16),Kg(2,17),F());if(a&2){a=N();var b=O(15);D("isExpanded",a.isExpanded)("iconName",a.iconName)("hasCompactTitleBar",!0)("title",a.collapsiblePanelTitle);z(1);D("ngForOf",a.getDisplayValues())("ngForTrackBy",a.trackByIndex);z(1);D("ngTemplateOutlet",b)}},G_a=function(a,b){a&1&&(E(0,"div",18),Kg(1,19),F());if(a&2){a=b.$implicit;b=b.index;N(2);var c=O(13);z(1);D("ngTemplateOutletContext",Yg(2,D_a,a,b))("ngTemplateOutlet",c)}},H_a=function(a){a&1&&(E(0,"div"),Q(1,"--"),F())},I_a=function(a){a&
1&&(I(0),P(1,G_a,2,5,"div",16),Kg(2,17),P(3,H_a,2,0,"div",3),J());if(a&2){a=N();var b=O(15);z(1);D("ngForOf",a.getDisplayValues())("ngForTrackBy",a.trackByIndex);z(1);D("ngTemplateOutlet",b);z(1);D("ngIf",!(null==a.values?0:a.values.length))}},L_a=function(a){if(a&1){var b=t();E(0,"button",24);K("menuOpened",function(){v(b);var d=N(2);J_a(d);d.enumPendingValues=new Set(d.values||[]);return w()})("menuClosed",function(){v(b);var d=N(2);return w(K_a(d))});Q(1,"Edit ");F()}if(a&2){a=N(2);var c=O(17);
wg("aria-label","Add item to ",a.title,"");D("matMenuTriggerFor",c)}},M_a=function(a){a&1&&(E(0,"button",25),Q(1,"Add "),F());if(a&2){a=N(2);var b=O(22);wg("aria-label","Add item to ",a.title,"");D("xapInlineDialogClick",b)("overlayPositions",a.OVERLAY_POSITION_LIST)}},N_a=function(a){if(a&1){var b=t();E(0,"button",26);K("beforeOpened",function(){v(b);var d=N(2);return w(d.invalidMessage="")});Q(1,"Add ");F()}if(a&2){a=N(2);var c=O(20);wg("aria-label","Add item to ",a.title,"");Pg("matTooltip","Add item to ",
a.title,"");D("xapInlineDialogClick",c)("overlayPositions",a.OVERLAY_POSITION_LIST)}},O_a=function(a){a&1&&(I(0,20),P(1,L_a,2,2,"button",21),P(2,M_a,2,3,"button",22),P(3,N_a,2,4,"button",23),J());a&2&&(a=N(),D("ngSwitch",a.type),z(1),D("ngSwitchCase","REPEATED_ENUM"),z(1),D("ngSwitchCase","REPEATED_DATE"))},P_a=function(a){a&1&&(E(0,"div"),H(1,"b-changelist-link",37),F());if(a&2){a=N(2).item;var b=N();z(1);D("changelistId",b.asNumber(a))}},Q_a=function(a){a&1&&(E(0,"div")(1,"a",38),Q(2),F()());if(a&
2){a=N(3).item;var b=N();z(1);D("href",b.getTaskFlowLink(a),Ie);ug("aria-label","Workspace"+a.workspaceId);z(1);R(" ",a.workspaceName," ")}},R_a=function(a){a&1&&P(0,Q_a,3,3,"div",30);if(a&2){N();var b=O(6);N();a=N();D("ngIf","WORKSPACES"===a.type)("ngIfElse",b)}},S_a=function(a){a&1&&(E(0,"div"),H(1,"b-team-display",39),F());a&2&&(a=N(3).item,z(1),D("teamId",a.teamId)("componentId",a.componentId))},T_a=function(a){a&1&&P(0,S_a,2,2,"div",30);if(a&2){N();var b=O(8);N();a=N();D("ngIf","TEAM"===a.type)("ngIfElse",
b)}},U_a=function(a){if(a&1){var b=t();E(0,"div")(1,"a",40);K("click",function(){v(b);var c=N(4);return w(c.trackClick("postmortem"))});Q(2);F()()}a&2&&(a=N(3).item,z(1),Pg("href","https://pm.corp.google.com/",a,"",Ie),wg("aria-label","Postmortem ",a,""),z(1),R(" ",a," "))},V_a=function(a){a&1&&P(0,U_a,3,3,"div",30);if(a&2){N();var b=O(10);N();a=N();D("ngIf","POSTMORTEMS"===a.type)("ngIfElse",b)}},W_a=function(a){a&1&&(E(0,"div"),H(1,"b-truncated-span",42),F());if(a&2){a=N(3).item;var b=N();z(1);
D("maxWidth",150)("modelValue",a)("disabled",!b.truncate)}},X_a=function(a){a&1&&H(0,"b-user-membership-chip",46);if(a&2){a=N(4).item;var b=N();D("user",b.getUser(a))("email",a)("teamId",b.teamId)("enableSmallChip",!0)}},Y_a=function(a){a&1&&(E(0,"b-person-hovercard",47),Q(1),F());a&2&&(a=N(4).item,D("email",a),z(1),R(" ",a," "))},Z_a=function(a){a&1&&(E(0,"div",43),P(1,X_a,1,4,"b-user-membership-chip",44),P(2,Y_a,2,2,"b-person-hovercard",45),F());a&2&&(a=N(4),z(1),D("ngIf",a.enableTeamAnnotations),
z(1),D("ngIf",!a.enableTeamAnnotations))},$_a=function(a){a&1&&(P(0,W_a,2,3,"div",3),P(1,Z_a,3,2,"div",41));if(a&2){a=N(2).item;var b=N();D("ngIf",!b.isUser&&b.isString(a));z(1);D("ngIf",b.isUser&&b.isString(a))}},a0a=function(a){if(a&1){var b=t();E(0,"button",48,49);K("click",function(){v(b);var d=N(2).$index,e=N();return w(e.removeItem(d))});F()}if(a&2){a=N(2).item;var c=N();xg("aria-label","Remove ",a," from ",c.title,"");D("disabled",c.listFieldDisabled)("matTooltip","Remove item")}},b0a=function(a){a&
1&&(E(0,"div",28)(1,"div",29),P(2,P_a,2,1,"div",30),P(3,R_a,1,2,"ng-template",null,31,qh),P(5,T_a,1,2,"ng-template",null,32,qh),P(7,V_a,1,2,"ng-template",null,33,qh),P(9,$_a,2,2,"ng-template",null,34,qh),F(),P(11,a0a,2,4,"button",35),H(12,"div",36),F());if(a&2){var b=O(4);N();a=N();z(2);D("ngIf","CHANGELISTS"===a.type)("ngIfElse",b);z(9);D("ngIf",!a.readonly&&"REPEATED_ENUM"!==a.type)}},c0a=function(a,b){a&1&&P(0,b0a,13,3,"div",27);a&2&&(a=b.$index,b=N(),D("ngIf",b.showingAll||a<b.defaultLineCount||
!!b.values&&b.values.length===b.defaultLineCount+1))},d0a=function(a){if(a&1){var b=t();E(0,"div",51,52);K("click",function(c){v(b);var d=N(2);return w(mr(d,!1,c))})("keydown.enter",function(c){v(b);var d=N(2);return w(mr(d,!1,c))})("keydown.space",function(c){v(b);var d=N(2);return w(mr(d,!1,c))});Q(2," (show fewer) ");F()}a&2&&(a=N(2),xg("aria-label","Show at most ",a.defaultLineCount," ",a.title," items"),Pg("matTooltip","Show a truncated list of at most ",a.defaultLineCount," items"))},e0a=function(a){if(a&
1){var b=t();E(0,"div")(1,"div",53);Q(2);E(3,"span",54,55);K("click",function(c){v(b);var d=N(2);return w(mr(d,!0,c))})("keydown.enter",function(c){v(b);var d=N(2);return w(mr(d,!0,c))})("keydown.space",function(c){v(b);var d=N(2);return w(mr(d,!0,c))});Q(5," (show all) ");F()()()}a&2&&(a=N(2),z(2),R(" ... and ",a.values.length-a.defaultLineCount," more "),z(1),xg("aria-label","Show all ",null==a.values?null:a.values.length," ",a.title," items"),Pg("matTooltip","Show all ",null==a.values?null:a.values.length,
" items in the list"))},f0a=function(a){a&1&&(P(0,d0a,3,3,"div",50),P(1,e0a,6,4,"div",3));a&2&&(a=N(),D("ngIf",a.showingAll&&!!a.values&&a.values.length>a.defaultLineCount+1),z(1),D("ngIf",!a.showingAll&&!!a.values&&a.values.length>a.defaultLineCount+1))},g0a=function(a,b){if(a&1){var c=t();E(0,"button",57);K("click",function(d){var e=v(c).$implicit,f=N(2);e=e.value;f.enumPendingValues.has(e)?f.enumPendingValues.delete(e):f.enumPendingValues.add(e);null==d||d.stopPropagation();return w()});E(1,"span",
58);H(2,"mat-icon",59);F();Q(3);F()}a&2&&(a=b.$implicit,b=N(2),Fg("b-menu-item-checked",b.enumPendingValues.has(a.value)),D("disabled",b.listFieldDisabled),ug("aria-label",a.displayText),z(3),R(" ",a.displayText," "))},h0a=function(a){a&1&&P(0,g0a,4,5,"button",56);a&2&&(a=N(),D("ngForOf",a.sortedEnumChoices)("ngForTrackBy",a.trackByIndex))},i0a=function(a){a&1&&H(0,"input",69);a&2&&(a=N(2),wg("aria-label","Addition to ",a.title,""),D("bContactAutocomplete","MULTI"))},j0a=function(a){a&1&&H(0,"input",
70);a&2&&(a=N(2),wg("aria-label","Addition to ",a.title,""),D("type","REPEATED_NUMERIC"===a.type?"number":"text"))},k0a=function(a){a&1&&(E(0,"mat-error"),Q(1),F());a&2&&(a=N(2),xg("aria-label","",a.title," error: ",a.invalidMessage,""),z(1),R(" ",a.invalidMessage," "))},n0a=function(a){if(a&1){var b=t();E(0,"xap-dialog-layout")(1,"xap-dialog-layout-content")(2,"form",60,61);K("ngSubmit",function(){v(b);var d=O(3),e=O(4),f=N();return w(l0a(f,d,e))});P(5,i0a,1,2,"input",62);P(6,j0a,1,2,"input",63);
E(7,"div",64)(8,"button",65);H(9,"mat-icon",66);F();E(10,"button",67);K("click",function(){v(b);var d=N();return w(m0a(d,!0))});H(11,"mat-icon",68);F()();P(12,k0a,2,3,"mat-error",3);F()()()}if(a&2){var c=O(3);a=N();z(5);D("ngIf",a.isUser);z(1);D("ngIf",!a.isUser);z(2);wg("aria-label","Apply addition to ",a.title,"");D("disabled",!c.valid||a.listFieldDisabled);z(2);wg("aria-label","Discard addition to ",a.title,"");z(2);D("ngIf",a.invalidMessage)}},o0a=function(a){if(a&1){var b=t();E(0,"b-date-time-picker-content",
71);K("dateChange",function(c){v(b);var d=N();return w(c&&d.addItems(c))})("cancelClicked",function(){v(b);var c=N();return w(m0a(c,!1))});F()}a&2&&D("required",!0)("renderPanel",!1)},nr=function(a,b){return{originX:a,originY:b}},or=function(a,b){return{overlayX:a,overlayY:b}},p0a=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}},s0a=function(a){if(a&1){var b=t();E(0,"b-edit-field",3);K("valueChange",function(e){v(b);var f=N(2);return w(f.save.emit(e))});F()}if(a&2){a=N().ngIf;var c=N(),d;D("readonly",c.readonly)("name","customField"+c.field.customFieldId)("title",c.field.name)("type",c.field.type)("tooltip",c.getTooltip())("clearable",!c.field.required)("value",q0a(c))("displayValueOverride",c.getDisplayValue())("choices",null!==(d=a.choices)&&void 0!==d?d:Wg(11,r0a))("showEnumTitle",!0)("disabled",
c.disabled)}},u0a=function(a){if(a&1){var b=t();E(0,"b-list-field",4);K("valuesChange",function(d){v(b);var e=N(2);return w(e.save.emit(d.values))});F()}if(a&2){a=N().ngIf;var c=N();D("readonly",c.readonly)("defaultLineCount",3)("title",c.field.name)("type",c.field.type)("tooltip",c.getTooltip())("values",t0a(c))("displayValuesOverride",a.displayValues)("enumChoices",a.choices)("listFieldDisabled",c.disabled)}},v0a=function(a,b){a&1&&(I(0),P(1,s0a,1,12,"b-edit-field",1),P(2,u0a,1,9,"b-list-field",
2),J());a&2&&(a=b.ngIf,z(1),D("ngIf",!a.isRepeated()),z(1),D("ngIf",a.isRepeated()))},w0a=function(a){a&1&&(E(0,"div"),Q(1," Loading custom fields... "),F())},x0a=function(a){a&1&&(E(0,"div"),Q(1),F());a&2&&(a=N(2),z(1),R(" There are no custom fields in component ",a.selectedComponent.name,". "))},y0a=function(a,b){a&1&&(E(0,"mat-option",9),Q(1),F());a&2&&(a=b.$implicit,D("value",a),z(1),R(" ",a.name," "))},z0a=function(a){if(a&1){var b=t();E(0,"div")(1,"mat-form-field",6)(2,"mat-label");Q(3,"Custom field");
F();E(4,"mat-select",7);K("selectionChange",function(c){v(b);var d=N(2);return w(d.fieldSelected.emit(c.value))});P(5,y0a,2,2,"mat-option",8);F()()()}a&2&&(a=N(2),z(5),D("ngForOf",a.customFields))},A0a=function(a){a&1&&(E(0,"div",4),P(1,w0a,2,0,"div",5),P(2,x0a,2,1,"div",5),P(3,z0a,6,1,"div",5),F());a&2&&(a=N(),z(1),D("ngIf",null==a.customFields),z(1),D("ngIf",a.customFields&&!a.customFields.length),z(1),D("ngIf",null==a.customFields?null:a.customFields.length))},B0a=function(a){a&1&&Kg(0)},C0a=function(){},
D0a=function(a){a&1&&(I(0),Q(1),J());a&2&&(a=N().value,z(1),Sg(a.textValue))},E0a=function(a){a&1&&(I(0),H(1,"b-formatted-date-time",5),J());if(a&2){a=N().value;var b=N();z(1);D("date",b.toDate(a.dateValue))}},F0a=function(a){a&1&&(I(0),Q(1),J());a&2&&(a=N().value,z(1),Sg(a.enumValue))},G0a=function(a){a&1&&(I(0),Q(1),J());a&2&&(a=N().value,z(1),Sg(a.numericValue))},H0a=function(a,b){a&1&&(I(0),Q(1),J());a&2&&(a=b.$implicit,b=b.last,z(1),Tg("",a,"",b?"":", ",""))},I0a=function(a){a&1&&(I(0),P(1,H0a,
2,2,"ng-container",6),J());a&2&&(a=N().value,z(1),D("ngForOf",a.repeatedTextValue.values))},J0a=function(a,b){a&1&&(I(0),H(1,"b-formatted-date-time",5),Q(2),J());if(a&2){a=b.$implicit;b=b.last;var c=N(3);z(1);D("date",c.toDate(a));z(1);Sg(b?"":", ")}},K0a=function(a){a&1&&(I(0),P(1,J0a,3,2,"ng-container",6),J());a&2&&(a=N().value,z(1),D("ngForOf",a.repeatedDateValue.values))},L0a=function(a,b){a&1&&(I(0),Q(1),J());a&2&&(a=b.$implicit,b=b.last,z(1),Tg("",a,"",b?"":", ",""))},M0a=function(a){a&1&&(I(0),
P(1,L0a,2,2,"ng-container",6),J());a&2&&(a=N().value,z(1),D("ngForOf",a.repeatedEnumValue.values))},N0a=function(a,b){a&1&&(I(0),Q(1),J());a&2&&(a=b.$implicit,b=b.last,z(1),Tg("",a,"",b?"":", ",""))},O0a=function(a){a&1&&(I(0),P(1,N0a,2,2,"ng-container",6),J());a&2&&(a=N().value,z(1),D("ngForOf",a.repeatedNumericValue.values))},P0a=function(a,b){a&1&&(P(0,D0a,2,1,"ng-container",4),P(1,E0a,2,1,"ng-container",4),P(2,F0a,2,1,"ng-container",4),P(3,G0a,2,1,"ng-container",4),P(4,I0a,2,1,"ng-container",
4),P(5,K0a,2,1,"ng-container",4),P(6,M0a,2,1,"ng-container",4),P(7,O0a,2,1,"ng-container",4));a&2&&(a=b.value,b=N(),D("ngIf",null!=a.textValue),z(1),D("ngIf",b.isNonemptyJsonDateValue(a.dateValue)),z(1),D("ngIf",null!=a.enumValue),z(1),D("ngIf",null!=a.numericValue),z(1),D("ngIf",null!=a.repeatedTextValue),z(1),D("ngIf",null!=a.repeatedDateValue),z(1),D("ngIf",null!=a.repeatedEnumValue),z(1),D("ngIf",null!=a.repeatedNumericValue))},pr=function(a){var b=void 0===b?Q0a:b;var c=Ua(a),d=function(e){e=
m(e);e.next();e=Ff(e);return b(c,e)};return function(){var e=yd.apply(0,arguments),f=this||da,h=R0a.get(f);h||(h={},R0a.set(f,h));f=h;h=[this].concat(r(e));e=d?d(h):h;if(Object.prototype.hasOwnProperty.call(f,e))f=f[e];else{var l=m(h);h=l.next().value;l=Ff(l);h=a.apply(h,l);f=f[e]=h}return f}},qr=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},rr=function(a,b){for(var c in a)if(c.toLowerCase()===
b.toLowerCase())return a[c]},S0a=function(a,b){for(var c in a)if(c.toLowerCase()===b.toLowerCase()){delete a[c];break}},U0a=function(a){a=tc(a);for(var b=0;b<T0a.length;++b){var c=T0a[b],d=rr(a,c);d&&(a["X-Goog-Upload-Header-"+c]=d,S0a(a,c))}return a},V0a=function(a){a=tc(a);S0a(a,"X-Goog-Upload-Status");return a},X0a=function(a){if(a&1){var b=t();E(0,"button",3);K("fileSelected",function(c){v(b);var d=N();return w(W0a(d,c))});H(1,"mat-icon",4);F()}a&2&&(a=N(),D("selectorType",a.SelectorType.MULTIPLE_FILE_SELECTION)("disableAutoUpload",
!0)("disabled",a.disabled))},Y0a=function(a){if(a&1){var b=t();E(0,"button",5);K("fileSelected",function(c){v(b);var d=N();return w(W0a(d,c))});H(1,"mat-icon",4);Q(2," Add attachments ");F()}a&2&&(a=N(),D("selectorType",a.SelectorType.MULTIPLE_FILE_SELECTION)("disableAutoUpload",!0)("disabled",a.disabled))},Z0a=function(a){a&1&&(E(0,"span"),Q(1),U(2,"humanFileSize"),U(3,"humanFileSize"),F());if(a&2){a=N().$implicit;var b;z(1);Tg(" ",V(2,2,a.transferredBytes)," of ",V(3,4,null!==(b=a.size)&&void 0!==
b?b:0)," ")}},$0a=function(a){a&1&&(E(0,"span",11),Q(1),F());a&2&&(a=N().$implicit,z(1),R(" ",a.errorMessage," "))},a1a=function(a){a&1&&(E(0,"span",11),Q(1),U(2,"humanFileSize"),F());if(a&2){a=N().$implicit;var b;z(1);R(" ",V(2,1,null!==(b=a.size)&&void 0!==b?b:0)," ")}},c1a=function(a,b){if(a&1){var c=t();E(0,"div",3)(1,"div",4);H(2,"mat-icon",5);E(3,"span",6);Q(4);F();E(5,"span",7);P(6,Z0a,4,6,"span",8);P(7,$0a,2,1,"span",9);P(8,a1a,3,3,"span",9);F()();E(9,"button",10);K("click",function(){var d=
v(c).$implicit,e=N(2);return w(e.cancel(d))});F()()}a&2&&(a=b.$implicit,b=N(2),D("ngClass",Xg(8,b1a,a.state===b.uploadStates.ERROR)),z(3),D("matTooltip",a.name),z(1),Sg(a.name),z(2),D("ngIf",a.state===b.uploadStates.UPLOADING),z(1),D("ngIf",a.state===b.uploadStates.ERROR),z(1),D("ngIf",a.state===b.uploadStates.COMPLETE),z(1),D("matTooltip",a.state===b.uploadStates.UPLOADING?"Cancel upload":"Remove attachment"),ug("aria-label","Remove attachment"+a.name))},d1a=function(a){a&1&&(E(0,"div",1),P(1,c1a,
10,10,"div",2),F());a&2&&(a=N(),z(1),D("ngForOf",a.uploads))},e1a=function(a){this.action=a;this.wfv=!1},f1a=function(a,b){e1a.call(this,"set-drive-options");this.appId=a;this.appOrigin=b},g1a=function(a){a=a&&a.getWindow()||window;return a.gadgets&&a.gadgets.rpc},i1a=function(a,b){var c=b&&b.getWindow()||window;if(g1a(b))a();else if(h1a)h1a.push(a);else var d=h1a=[a],e=c.setInterval(function(){if(g1a(b)){c.clearInterval(e);for(var f=0;f<d.length;f++)d[f]();h1a=null}},100)},k1a=function(a,b){var c;
a:{for(c=b.target;c;){if(1==c.nodeType){var d=sr(c,"overflowY");if("auto"==d||"scroll"==d)break a}c=c.parentNode}c=null}(!c||!j1a(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()},l1a=function(a){if(a&1){var b=t();E(0,"div",6)(1,"button",7);K("click",function(){v(b);var c=N(3);return w(c.onClick())});Q(2,"Comment and vote +1");F()()}},m1a=function(a,b){a&1&&(I(0),H(1,"mat-icon",3),E(2,"div",
4),Q(3),F(),P(4,l1a,3,0,"div",5),J());a&2&&(a=b.ngIf,z(1),D("matTooltip","The +1 button is located in the top right corner of the issue details page"),z(2),R(" ",a.voted?"You have already voted on this issue":"Comment and upvote issue to increase this issue's visibility"," "),z(1),D("ngIf",!a.voted))},o1a=function(a){a&1&&(E(0,"div",1),P(1,m1a,5,3,"ng-container",2),U(2,"async"),F());a&2&&(a=N(),z(1),D("ngIf",Xg(3,n1a,V(2,1,a.hasUserVoted$))))},p1a=function(a){if(a&1){var b=t();I(0);E(1,"b-plus-one-comment-callout",
7);K("onSubmitComment",function(){v(b);N().onSubmit.emit();return w()});F();J()}a&2&&(a=N(),z(1),D("isPlusOneText","+1"===a.comment.value.trim()))},q1a=function(a){if(a&1){var b=t();E(0,"b-drive-attachment",12);K("onPickDoc",function(c){v(b);var d=N(2);d.comment&&(d.comment.value+="\n\n"+c.url+" ("+c.name+")");return w()})("onCloneBlob",function(c){v(b);var d=N(2);d.comment&&d.comment.uploads.push(c);return w()});F()}a&2&&(a=N(2),D("disabled",a.attachmentsDisabled))},r1a=function(a){if(a&1){var b=
t();I(0);E(1,"button",16);K("click",function(){v(b);var c=N(3);return w(c.onRestrict.emit())});H(2,"mat-icon",17);F();J()}a&2&&(a=N(3),z(1),D("disabled",a.attachmentsDisabled))},s1a=function(a){if(a&1){var b=t();E(0,"button",18);K("click",function(){v(b);var c=N(3);return w(c.onRestrict.emit())});H(1,"mat-icon",17);Q(2);F()}a&2&&(a=N(3),z(2),R(" ",a.getRestrictedLabel()," "))},t1a=function(a){a&1&&(E(0,"div",13),P(1,r1a,3,1,"ng-container",14),P(2,s1a,3,1,"ng-template",null,15,qh),F());if(a&2){var b=
O(3);a=N(2);z(1);D("ngIf",!a.isRestricted())("ngIfElse",b)}},u1a=function(a){if(a&1){var b=t();E(0,"div",8);Og(1,1,["class","goog-inline-block"]);E(2,"b-attachment-selector",9);K("onSelect",function(d){v(b);var e=N();d=e.attachmentUploader.upload(d);e.comment&&e.comment.uploads.push(d);return w()});F();P(3,q1a,1,1,"b-drive-attachment",10);U(4,"async");P(5,t1a,4,2,"div",11);F()}if(a&2){a=N();var c;z(2);D("disabled",a.attachmentsDisabled);z(1);D("ngIf",!(null!==(c=V(4,3,a.currentTracker.inTracker$))&&
void 0!==c&&c));z(2);D("ngIf",a.showRestrictionOptions)}},v1a=function(a){a&1&&(E(0,"div"),H(1,"b-live-preview",19),F());a&2&&(a=N(),z(1),D("comment",a.comment.value)("issueId",a.issueId)("audience",a.audience)("formattingMode",a.comment.formattingMode))},x1a=function(a,b){if(a&1){var c=t();E(0,"button",13);K("click",function(){var d=v(c).$implicit,e=N(3);return w(w1a(e.issueEditBuilder,d))});Q(1);F()}a&2&&(a=b.$implicit,b=N(3),D("disabled",b.issueEditBuilder.issueState==a),z(1),R(" ",a.displayValue,
" "))},y1a=function(a){if(a&1){var b=t();E(0,"div",27)(1,"span");Q(2,"Multiple");F();E(3,"a",28);K("click",function(){v(b);var c=N(4);return w(c.issueEditBuilder.clearAssignee())});Q(4,"X");F()()}},z1a=function(a){if(a&1){var b=t();E(0,"div",27)(1,"span");Q(2,"Possibly multiple");F();E(3,"a",28);K("click",function(){v(b);var c=N(4);return w(c.issueEditBuilder.clearAssignee())});Q(4,"X");F()()}},B1a=function(a){if(a&1){var b=t();E(0,"div")(1,"input",29);K("ngModelChange",function(c){v(b);var d=N(4);
return w(d.issueEditBuilder.commonAssignee=c)})("ngModelChange",function(){v(b);var c=N(4);return w(A1a(c.issueEditBuilder))});F()()}a&2&&(a=N(4),z(1),D("ngModel",a.issueEditBuilder.commonAssignee)("bContactAutocomplete","SINGLE"),ug("cdkFocusInitial",a.focus===a.FocusableField.ASSIGNEE||null))},C1a=function(a){if(a&1){var b=t();E(0,"div",27)(1,"span");Q(2);F();E(3,"a",30);K("click",function(){v(b);var c=N(4);return w(c.issueEditBuilder.clearVerifier())});Q(4,"X");F()()}a&2&&(a=N(4),Fg("bv2-invalid-multiple-user-chip",
!tr(a.issueEditBuilder)),z(2),R(" Multiple ",tr(a.issueEditBuilder)?"":"(some unset)"," "))},D1a=function(a){if(a&1){var b=t();E(0,"div",27)(1,"span");Q(2);F();E(3,"a",30);K("click",function(){v(b);var c=N(4);return w(c.issueEditBuilder.clearVerifier())});Q(4,"X");F()()}a&2&&(a=N(4),Fg("bv2-invalid-multiple-user-chip",!tr(a.issueEditBuilder)),z(2),R(" Possibly multiple ",tr(a.issueEditBuilder)?"":"(some unset)"," "))},E1a=function(a){if(a&1){var b=t();E(0,"div")(1,"input",31);K("ngModelChange",function(c){v(b);
var d=N(4);return w(d.issueEditBuilder.commonVerifier=c)});F()()}a&2&&(a=N(4),z(1),D("ngModel",a.issueEditBuilder.commonVerifier)("required","VERIFIED"==(null==a.issueEditBuilder.issueState?null:a.issueEditBuilder.issueState.status))("bContactAutocomplete","SINGLE"),ug("cdkFocusInitial",a.focus===a.FocusableField.VERIFIER||null))},F1a=function(a){a&1&&(E(0,"div")(1,"div",21)(2,"label",22),Q(3," Assignee "),F(),E(4,"div",15),P(5,y1a,5,0,"div",23),P(6,z1a,5,0,"div",23),P(7,B1a,2,3,"div",24),F()(),E(8,
"div",21)(9,"label",25),Q(10," Verifier "),F(),E(11,"div",15),P(12,C1a,5,3,"div",26),P(13,D1a,5,3,"div",26),P(14,E1a,2,4,"div",24),F()()());a&2&&(a=N(3),z(4),D("ngSwitch",a.issueEditBuilder.selectedAssigneesStatus),z(1),D("ngSwitchCase","MULTIPLE"),z(1),D("ngSwitchCase","POSSIBLY_MULTIPLE"),z(5),D("ngSwitch",a.issueEditBuilder.selectedVerifiersStatus),z(1),D("ngSwitchCase","MULTIPLE"),z(1),D("ngSwitchCase","POSSIBLY_MULTIPLE"))},G1a=function(a){if(a&1){var b=t();E(0,"div",21)(1,"label",32);Q(2," Issue ID ");
F();E(3,"input",33);K("ngModelChange",function(c){v(b);var d=N(3);return w(d.issueEditBuilder.commonDuplicateOf=c.trim())});F()()}a&2&&(a=N(3),z(3),D("ngModel",a.issueEditBuilder.commonDuplicateOf),ug("cdkFocusInitial",a.focus===a.FocusableField.DUPE_ID||null))},H1a=function(a,b){a&1&&(E(0,"li"),Q(1),H(2,"b-access-level-indicator",36),F());a&2&&(a=b.$implicit,z(1),R(" ",a.path," "),z(1),D("accessLevel",a.accessLevel))},I1a=function(a){a&1&&(E(0,"div",34)(1,"div")(2,"strong"),Q(3,"You are editing issues in components that have external viewers:"),
F()(),E(4,"ul"),P(5,H1a,3,2,"li",35),F()());a&2&&(a=N(3),z(5),D("ngForOf",a.externalWarnings))},J1a=function(a){if(a&1){var b=t();E(0,"div",9)(1,"button",10)(2,"span");Q(3);F();H(4,"b-icon",11);F();E(5,"mat-menu",null,12)(7,"button",13);K("click",function(){v(b);var d=N(2);return w(d.issueEditBuilder.issueState=void 0)});Q(8,"No change ");F();P(9,x1a,2,2,"button",14);F();E(10,"div",15);P(11,F1a,15,6,"div",16);P(12,G1a,4,2,"div",17);F();E(13,"div")(14,"b-comment-box",18);K("onSubmit",function(){v(b);
var d;null==(d=N(2).matDialogRef)||d.close(!0);return w()});F()();H(15,"div",19);P(16,I1a,6,1,"div",20);F()}if(a&2){var c=O(6);a=N(2);z(1);D("matMenuTriggerFor",c);z(2);Sg(a.issueEditBuilder.issueState?a.issueEditBuilder.issueState.displayValue:"No change");z(4);D("disabled",!a.issueEditBuilder.issueState);z(2);D("ngForOf",a.issueStates);z(1);D("ngSwitch",!a.issueEditBuilder.issueState||"DUPLICATE"!==a.issueEditBuilder.issueState.status);z(1);D("ngSwitchCase",!0);z(3);D("comment",a.comment)("showToolbar",
!1);z(2);D("ngIf",0<a.externalWarnings.length)}},K1a=function(a){if(a&1){var b=t();E(0,"div",37)(1,"b-recaptcha",38);K("onUpdate",function(c){v(b);var d=N(2);return w(d.issueEditBuilder.recaptchaResponse=c)});F()()}},M1a=function(a){a&1&&(E(0,"form",null,1)(2,"h1",2),Q(3,"Change issue status"),F(),E(4,"div",3)(5,"span"),Q(6,"Enter updated issue status information below"),F(),P(7,J1a,17,9,"div",4),F(),P(8,K1a,2,0,"div",5),E(9,"div",6)(10,"button",7),Q(11," Cancel "),F(),E(12,"button",8),Q(13," Save "),
F()()());if(a&2){var b=O(1);a=N();z(7);D("ngIf",a.issueEditBuilder);z(1);D("ngIf",a.issueEditBuilder&&a.enableRecaptcha);z(2);D("mat-dialog-close",!1);z(2);var c=D("mat-dialog-close",!0),d;if(!(d=b.invalid))a:{if(null!=a.issueEditBuilder){d=L1a(a.issueEditBuilder);var e=d.get("status");if("DUPLICATE"===e){d=!d.get("duplicateOfIssueId");break a}if("VERIFIED"===e){d=!tr(a.issueEditBuilder)&&!d.get("verifier");break a}}d=!1}c("disabled",d||!(!a.enableRecaptcha||""!==a.issueEditBuilder.recaptchaResponse))}},
ur=function(a){var b;a=null==a?void 0:null==(b=a.accessLimit)?void 0:b.accessLevel;return"EXTERNAL_PARTNER"===a||"EXTERNAL_PUBLIC"===a},N1a=function(a){var b;return"EXTERNAL_PARTNER"===(null==a?void 0:null==(b=a.accessLimit)?void 0:b.accessLevel)},vr=function(a){var b;return"EXTERNAL_PUBLIC"===(null==a?void 0:null==(b=a.accessLimit)?void 0:b.accessLevel)},O1a=function(a,b){return a?a.join(" > "):String(b)},P1a=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""}},Q1a=function(a){a&1&&(E(0,"div")(1,"p"),Q(2),F()());a&2&&(a=N(),z(2),Tg(" Checking if you have permissions to mark these issues as spam. Checked ",a.issuesChecked," of ",a.issuesToFlag.length,"... "))},R1a=function(a,b){a&1&&(E(0,"li"),Q(1),
F());a&2&&(a=b.$implicit,z(1),Tg(" ",a.issueId," - ",a.title," "))},S1a=function(a){a&1&&(E(0,"div")(1,"p"),Q(2),F(),E(3,"ul"),P(4,R1a,2,2,"li",9),F()());a&2&&(a=N(),z(2),R(" You do not have permissions to mark ",a.protectedIssues.length," issues. These will not be flagged as spam. "),z(2),D("ngForOf",a.protectedIssues))},T1a=function(a,b){a&1&&(E(0,"mat-option",6),Q(1),F());a&2&&(a=b.$implicit,D("value",a),z(1),R(" ",a.label," "))},U1a=function(a){a&1&&(I(0),E(1,"h3"),Q(2," View as: "),E(3,"mat-form-field")(4,
"mat-select",3)(5,"mat-select-trigger",4),Q(6),F(),P(7,T1a,2,2,"mat-option",5),F()()(),J());a&2&&(a=N(),z(4),D("formControl",a.currentSnoozeType),z(2),R(" ",null==a.currentSnoozeType.value?null:a.currentSnoozeType.value.label," "),z(1),D("ngForOf",a.snoozeTypeChoices))},Z1a=function(a,b){if(a&1){var c=t();E(0,"div",18,19);K("click",function(){var e=v(c).$implicit,f=N(2);V1a(f,e)||wr(f,e);return w()});E(2,"mat-pseudo-checkbox",20);K("click",function(e){var f=v(c).$implicit,h=N(2);e.stopPropagation();
return w(W1a(h,f))});F();E(3,"span");Q(4);F()()}if(a&2){a=b.$implicit;b=b.index;var d=N(2);Eg("display",d.shouldShowHotlist[a.hotlistId]?"block":"none");Fg("focused",b===d.focusedRowIndex);Qg("title",a.name);ug("id","hotlist-item-"+a.hotlistId)("aria-checked",X1a(d.selectedHotlistMap[a.hotlistId]))("aria-disabled",V1a(d,a));z(2);D("state",Y1a(d.selectedHotlistMap[a.hotlistId]))("disabled",V1a(d,a));z(2);R(" ",a.name," ")}},$1a=function(a){a&1&&(E(0,"span"),Q(1),F());a&2&&(a=N(2),z(1),R(" (",a.filterText,
")"))},a2a=function(a){if(a&1){var b=t();E(0,"div",21,22);K("click",function(){v(b);var c=N(2);return w(c.loadHotlist())})("keydown.enter",function(){v(b);var c=N(2);return w(c.loadHotlist())});Q(2,"Load hotlist from id ");E(3,"span");Q(4);F()()}a&2&&(a=N(2),Fg("focused",a.focusedRowIndex===a.choices.length+1),ug("aria-label","Load hotlist from"+a.filterText),z(4),R("(",a.filterText,")"))},c2a=function(a){if(a&1){var b=t();E(0,"div",23,24);K("click",function(){v(b);var c=N(2);return w(b2a(c))})("keydown.enter",
function(){v(b);var c=N(2);return w(b2a(c))});Q(2,"Apply");F()}a&2&&(a=N(2),Fg("focused",a.focusedRowIndex===a.choices.length+2))},d2a=function(a){if(a&1){var b=t();E(0,"div",5)(1,"div",10,11);P(3,Z1a,5,11,"div",12);F()();H(4,"mat-divider");E(5,"div",13,14);K("click",function(){v(b);var c=N();return w(c.createHotlist())})("keydown.enter",function(){v(b);var c=N();return w(c.createHotlist())});Q(7,"Create new hotlist ");P(8,$1a,2,1,"span",15);F();P(9,a2a,5,4,"div",16);P(10,c2a,3,2,"div",17)}a&2&&(a=
N(),z(3),D("ngForOf",a.choices),z(2),Fg("focused",a.focusedRowIndex===a.choices.length),D("disabled",!a.canCreate),ug("aria-label","Create new hotlist"+a.filterText),z(3),D("ngIf",!!a.filterText),z(1),D("ngIf",a.canLoad),z(1),D("ngIf",a.pendingChanges))},f2a=function(a){if(a&1){var b=t();E(0,"b-app-bar-bulk-edit-menus",6);K("onBulkEdit",function(c){v(b);var d=N();return w(d.bulkEdit(c))})("onQuickBulkEdit",function(c){v(b);var d=N();return w(d.quickBulkEdit(c))})("onBulkEditIssueRelation",function(c){v(b);
var d=N();return w(d.bulkEditIssueRelation(c))})("onBulkMarkIssueRead",function(){v(b);var c=N();return w(c.bulkMarkIssueRead())});F()}a&2&&(a=N(),D("readStatePrompt",e2a(a)))},j2a=function(a){if(a&1){var b=t();E(0,"b-copy-issue-id-button",7);K("onClickCopyIssueIds",function(){v(b);var c=N();return w(g2a(c.copyIssueIdService,xr(c)))})("onClickCopyIssueShortLinks",function(){v(b);var c=N();return w(h2a(c.copyIssueIdService,xr(c)))})("onClickCopyAsIssueSearch",function(){v(b);var c=N();return w(i2a(c.copyIssueIdService,
xr(c)))});F()}a&2&&(a=N(),D("shortLinkPrefix",a.copyIssueIdService.shortLinkPrefix)("shouldShowCopyIssueShortLinks",a.activeSession.isInternalSession()))},k2a=function(a){if(a&1){var b=t();E(0,"div",8)(1,"b-hotlist-picker",9);K("onApply",function(c){v(b);var d=N();return w(d.handleHotlistPickerSave(c))})("onCreate",function(c){v(b);var d=N();return w(d.onCreateHotlist.emit(c))})("onLoad",function(c){v(b);var d=N();return w(d.onLoadHotlist.emit(c))});F()()}a&2&&(a=N(),z(1),D("selectedHotlistIds",a.hotlistIdMatrix)("choices",
a.hotlistChoices))},m2a=function(a){if(a&1){var b=t();E(0,"b-comment-box",16);K("commentChange",function(c){v(b);var d=N(2);return w(d.comment=c)})("onSubmit",function(){v(b);var c=N(2);return w(l2a(c))});F()}a&2&&(a=N(2),D("comment",a.comment)("showToolbar",!1))},n2a=function(a,b){a&1&&(E(0,"li"),Q(1),H(2,"b-access-level-indicator",19),F());a&2&&(a=b.$implicit,z(1),R(" ",a.path," "),z(1),D("accessLevel",a.accessLevel))},o2a=function(a){a&1&&(E(0,"div",17)(1,"div")(2,"strong"),Q(3,"You are commenting on issues in components that have external viewers:"),
F()(),E(4,"ul"),P(5,n2a,3,2,"li",18),F()());a&2&&(a=N(2),z(5),D("ngForOf",a.externalWarnings))},p2a=function(a){if(a&1){var b=t();E(0,"div",20)(1,"b-recaptcha",21);K("onUpdate",function(c){v(b);var d=N(2);return w(d.recaptchaResponse=c)});F()()}},q2a=function(a){a&1&&(E(0,"h1",10),Q(1,"Add comment"),F(),E(2,"mat-dialog-content"),P(3,m2a,1,2,"b-comment-box",11),P(4,o2a,6,1,"div",12),F(),P(5,p2a,2,0,"div",13),E(6,"mat-dialog-actions")(7,"button",14),Q(8," Cancel "),F(),E(9,"button",15),Q(10," Save "),
F()());a&2&&(a=N(),z(3),D("ngIf",a.comment),z(1),D("ngIf",0<a.externalWarnings.length),z(1),D("ngIf",a.enableRecaptcha),z(2),D("mat-dialog-close",!1),z(2),D("disabled",a.enableRecaptcha&&""===a.recaptchaResponse)("mat-dialog-close",!0))},s2a=function(a){for(var b=m(r2a),c=b.next();!c.done;c=b.next())if(c=c.value,c.accessLevel===a)return c.title;return yr.title},t2a=function(a){a&1&&H(0,"mat-icon",10);a&2&&(a=N(),D("matTooltip",a.disabledDropdownTooltip))},u2a=function(a,b){if(a&1){var c=t();E(0,"div",
11);K("click",function(){var d=v(c).$implicit,e=N();e.selectedDisplay$.next(d);e.updatedAccessLimitLevel.emit(d.accessLevel);return w()});E(1,"div",12);H(2,"mat-icon",13);E(3,"span",14);Q(4);F()();E(5,"div",15);Q(6);F()()}a&2&&(a=b.$implicit,b=N(),z(2),D("svgIcon",a.icon),z(2),R(" ",a.title," "),z(2),R(" ",b.implicitAccessEnabled?a.descriptionWithExpandedAccess:a.descriptionNoExpandedAccess," "))},v2a=function(a){a&1&&(E(0,"span"),Q(1,"Edit"),F())},w2a=function(a){a&1&&(E(0,"span"),Q(1,"Cancel"),
F())},C2a=function(a){if(a&1){var b=t();I(0);E(1,"td")(2,"div")(3,"div",11);Q(4);F();E(5,"div",12)(6,"a",13);Q(7);F()()()();E(8,"td",3)(9,"mat-radio-button",14);K("change",function(d){v(b);var e=N(2);return w(x2a(e,d.value))});F()();E(10,"td",3)(11,"b-button",15);K("onAction",function(){v(b);var d=N().$implicit,e=N();return w(y2a(e,d))});P(12,v2a,2,0,"span",9);P(13,w2a,2,0,"span",9);F()();E(14,"td",3)(15,"b-button",16);K("onAction",function(){v(b);var d=N().$implicit,e=N();return w(z2a(e,d))});Q(16,
" Delete ");F()();J()}if(a&2){a=N().$implicit;var c=N();z(3);Fg("selected",A2a(c,a));z(1);R(" ",a.name," ");z(2);D("href",B2a(c,a),Ie);ug("aria-label",a.name+"- Click to create a new issue");z(1);R(" ",B2a(c,a)," ");z(2);Pg("id","template-default-radio-",a.index,"");D("checked",c.defaultIndex===a.index)("aria-label","Make template "+a.name+" as default template")("value",a.index);z(2);D("bAriaLabel",A2a(c,a)?"Cancel editing "+a.name:"Edit "+a.name);z(1);D("ngIf",!A2a(c,a));z(1);D("ngIf",A2a(c,a));
z(2);D("bAriaLabel","Delete "+a.name)("disabled",!(0<=a.index&&!c.templates[a.index].default))}},D2a=function(a){a&1&&(E(0,"h2",66),Q(1," Create Template "),F())},E2a=function(a){a&1&&(E(0,"h2",66),Q(1),F());a&2&&(a=N(2).$implicit,z(1),Tg(' Edit template "',a.name,'" ',a.editableTemplate.isDirty()?"(changed)":""," "))},F2a=function(a){if(a&1){var b=t();E(0,"div",20)(1,"div",21)(2,"label",67);Q(3,"Issue Access Level");F()();E(4,"b-issue-access-limits-dropdown",68);K("updatedAccessLimitLevel",function(d){v(b);
var e=N(2).$implicit;return w(e.editableTemplate.onAccessLimitLevelSelected(d))});F()()}if(a&2){a=N(2).$implicit;var c=N();z(4);D("disabled",!1)("defaultAccessLimitLevel",a.editableTemplate.issueAccessLimitLevel)("implicitAccessEnabled",c.implicitAccessEnabled)}},H2a=function(a,b){if(a&1){var c=t();E(0,"button",69);K("click",function(){var e=v(c).$implicit,f=N(2).$implicit,h=N();f.issueType=e.value;return w(G2a(h))});Q(1);F()}if(a&2){a=b.$implicit;b=N(2).$implicit;var d;D("disabled",b.issueType===
a.value)("matTooltip",null!==(d=a.altText)&&void 0!==d?d:"");z(1);R(" ",a.displayText," ")}},I2a=function(a,b){if(a&1){var c=t();E(0,"button",70);K("click",function(){var d=v(c).$implicit,e=N(2).$implicit;e.editableTemplate.priority=d.value;e.editableTemplate.dirty=!0;return w()});Q(1);F()}a&2&&(a=b.$implicit,b=N(2).$implicit,D("disabled",b.editableTemplate.priority===a.value),z(1),R(" ",a.displayText," "))},J2a=function(a,b){if(a&1){var c=t();E(0,"button",70);K("click",function(){var d=v(c).$implicit,
e=N(2).$implicit;e.editableTemplate.severity=d.value;e.editableTemplate.dirty=!0;return w()});Q(1);F()}a&2&&(a=b.$implicit,b=N(2).$implicit,D("disabled",b.editableTemplate.severity===a.value),z(1),R(" ",a.displayText," "))},K2a=function(a,b){if(a&1){var c=t();E(0,"div",71)(1,"b-hotlist-chip",72);K("removeHotlist",function(){var d=v(c).$implicit,e=N(3);return w(e.removeHotlist(d.hotlistId))});F()()}a&2&&(a=b.$implicit,z(1),D("hotlist",a))},M2a=function(a){if(a&1){var b=t();E(0,"div",20)(1,"div",21)(2,
"label",73);Q(3,"Collaborators");F();H(4,"mat-icon",74);F();E(5,"input",75);K("ngModelChange",function(c){v(b);var d=N(2).$implicit;return w(L2a(d.editableTemplate,c))});F()()}a&2&&(a=N(2).$implicit,z(5),D("bContactAutocomplete","MULTI")("ngModel",a.editableTemplate.collaborators.join(", ")))},N2a=function(a){a&1&&(E(0,"h3"),Q(1,"Custom issue fields"),F())},O2a=function(a){if(a&1){var b=t();E(0,"input",83);K("ngModelChange",function(d){v(b);var e=N().$implicit,f=N(2).$implicit;return w(f.editableTemplate.customFieldValues[e.id].textValue=
d)})("ngModelChange",function(){v(b);N(3).$implicit.editableTemplate.dirty=!0;return w()});F()}if(a&2){a=N().$implicit;var c=N(2).$implicit;wg("id","template-cf-",a.id,"");D("ngModel",c.editableTemplate.customFieldValues[a.id].textValue)}},P2a=function(a){if(a&1){var b=t();E(0,"input",84);K("ngModelChange",function(d){v(b);var e=N().$implicit,f=N(2).$implicit;return w(f.editableTemplate.customFieldValues[e.id].numericValue=d)})("ngModelChange",function(){v(b);N(3).$implicit.editableTemplate.dirty=
!0;return w()});F()}if(a&2){a=N().$implicit;var c=N(2).$implicit;wg("id","template-cf-",a.id,"");D("ngModel",c.editableTemplate.customFieldValues[a.id].numericValue)}},R2a=function(a){if(a&1){var b=t();E(0,"b-edit-field",85);K("valueChange",function(h){v(b);var l=N().$implicit,q=N(2).$implicit,u=N();return w(u.setCustomField(q,l.id,h))});F()}if(a&2){a=N().$implicit;var c=N(2).$implicit,d=N(),e,f;wg("id","template-cf-",a.id,"");D("type",d.FieldType.ENUM)("name",a.name)("clearable",!0)("value",null!==
(e=null==c.editableTemplate.customFieldValues[a.id]?null:c.editableTemplate.customFieldValues[a.id].enumValue)&&void 0!==e?e:null)("choices",null!==(f=a.enumFields)&&void 0!==f?f:Wg(6,Q2a))}},S2a=function(a){if(a&1){var b=t();E(0,"bv2-input-date-picker",86);K("boundValueChange",function(e){v(b);var f=N().$implicit,h=N(2).$implicit,l=N();return w(h.editableTemplate.customFieldValues[f.id].dateValue=l.getDateValue(e))})("boundValueChange",function(){v(b);N(3).$implicit.editableTemplate.dirty=!0;return w()});
F()}if(a&2){a=N().$implicit;var c=N(2).$implicit,d;wg("id","template-cf-",a.id,"");D("boundValue",null!==(d=c.editableTemplate.customFieldValues[a.id].dateValue)&&void 0!==d?d:void 0)}},U2a=function(a){if(a&1){var b=t();E(0,"b-list-field",87);K("valuesChange",function(e){v(b);var f=N().$implicit,h=N(2).$implicit,l=N();return w(l.setCustomField(h,f.id,e.values))});F()}if(a&2){a=N().$implicit;var c=N(2).$implicit,d=N();wg("id","template-cf-",a.id,"");D("defaultLineCount",2)("type",d.getListFieldType(a.type))("values",
T2a(c.editableTemplate.customFieldValues[a.id]))("enumChoices",a.enumFields)("truncate",!0)}},V2a=function(a,b){a&1&&(E(0,"div")(1,"div",21)(2,"label",76),Q(3),F()(),E(4,"div",77),P(5,O2a,1,2,"input",78),P(6,P2a,1,2,"input",79),P(7,R2a,1,7,"b-edit-field",80),P(8,S2a,1,2,"bv2-input-date-picker",81),P(9,U2a,1,6,"b-list-field",82),F()());a&2&&(a=b.$implicit,Ig("cell-",a.cellType,""),z(2),Pg("for","template-cf-",a.id,""),z(1),Tg("",a.name," (id=",a.id,")"),z(1),D("ngSwitch",a.type),z(1),D("ngSwitchCase",
"TEXT"),z(1),D("ngSwitchCase","NUMERIC"),z(1),D("ngSwitchCase","ENUM"),z(1),D("ngSwitchCase","DATE"))},Z2a=function(a){if(a&1){var b=t();E(0,"td",17)(1,"div",18);P(2,D2a,2,0,"h2",19);P(3,E2a,2,2,"h2",19);E(4,"div",20)(5,"div",21)(6,"label",22);Q(7,"Template Name");F()();E(8,"input",23);K("ngModelChange",function(h){v(b);var l=N().$implicit;return w(l.editableTemplate.name=h)})("ngModelChange",function(){v(b);N().$implicit.editableTemplate.dirty=!0;return w()});F()();E(9,"div",20)(10,"div",21)(11,
"label",24);Q(12,"Description of Template");F()();E(13,"input",25);K("ngModelChange",function(h){v(b);var l=N().$implicit;return w(l.editableTemplate.description=h)})("ngModelChange",function(){v(b);N().$implicit.editableTemplate.dirty=!0;return w()});F()();E(14,"div",26)(15,"h3");Q(16," Standard issue fields ");F();P(17,F2a,5,3,"div",27);E(18,"div",20)(19,"div",21)(20,"label",28);Q(21,"Title");F()();E(22,"input",29);K("ngModelChange",function(h){v(b);var l=N().$implicit;return w(l.editableTemplate.title=
h)})("ngModelChange",function(){v(b);N().$implicit.editableTemplate.dirty=!0;return w()});F()();E(23,"div",30)(24,"div",21)(25,"label",31);Q(26,"Type");F()();E(27,"button",32)(28,"span");Q(29);F();H(30,"b-icon",33);F();E(31,"mat-menu",34,35);P(33,H2a,2,3,"button",36);F()();E(34,"div",30)(35,"div",21)(36,"label",37);Q(37,"Priority");F()();E(38,"button",38)(39,"span");Q(40);F();H(41,"b-icon",33);F();E(42,"mat-menu",34,39);P(44,I2a,2,2,"button",40);F()();E(45,"div",30)(46,"div",21)(47,"label",41);Q(48,
"Severity");F()();E(49,"button",42)(50,"span");Q(51);F();H(52,"b-icon",33);F();E(53,"mat-menu",34,43);P(55,J2a,2,2,"button",40);F()();E(56,"div",44)(57,"div",21)(58,"label",45);Q(59,"Default Hotlists");F()();E(60,"b-hotlist-picker",46);K("onApply",function(h){v(b);var l=N(2);return w(l.handleHotlistPickerSave(h))})("onCreate",function(h){v(b);var l=N(2);return w(l.createHotlist(h))})("onLoad",function(h){v(b);var l=N(2);return w(l.loadHotlist(h))});F();P(61,K2a,2,1,"div",47);F();H(62,"div",48);E(63,
"div",49)(64,"div",21)(65,"label",50);Q(66,"Assignee");F()();E(67,"input",51);K("ngModelChange",function(h){v(b);var l=N().$implicit;return w(l.editableTemplate.assignee=h)})("ngModelChange",function(){v(b);N().$implicit.editableTemplate.dirty=!0;return w()});F()();E(68,"div",49)(69,"div",21)(70,"label",52);Q(71,"Verifier");F()();E(72,"input",53);K("ngModelChange",function(h){v(b);var l=N().$implicit;return w(l.editableTemplate.verifier=h)})("ngModelChange",function(){v(b);N().$implicit.editableTemplate.dirty=
!0;return w()});F()();P(73,M2a,6,2,"div",27);E(74,"div",20)(75,"div",21)(76,"label",54);Q(77,"CC");F()();E(78,"input",55);K("ngModelChange",function(h){v(b);var l=N().$implicit;return w(W2a(l.editableTemplate,h))});F()();E(79,"div",20)(80,"div",21)(81,"label",56);Q(82,"Initial Comment");F()();E(83,"textarea",57);K("ngModelChange",function(h){v(b);var l=N().$implicit;return w(l.editableTemplate.comment=h)})("ngModelChange",function(){v(b);N().$implicit.editableTemplate.dirty=!0;return w()});Q(84,"              ");
F();E(85,"b-markdown-toggle",58);K("change",function(h){v(b);var l=N().$implicit;return w(l.editableTemplate.setFormattingMode(h))});F()();E(86,"div",20)(87,"div",21)(88,"label",59);Q(89,"In Prod");F()();E(90,"b-slide-toggle",60);K("modelChange",function(){v(b);var h=N().$implicit.editableTemplate;h.inProd=!h.inProd;h.dirty=!0;return w()});F()()();E(91,"div",61);P(92,N2a,2,0,"h3",9);P(93,V2a,10,11,"div",62);F();E(94,"div",63)(95,"b-button",64);K("onAction",function(){v(b);var h=N(2);return w(X2a(h))});
Q(96," Save ");F();E(97,"b-button",65);K("onAction",function(){v(b);var h=N(2);return w(Y2a(h))});Q(98," Cancel ");F()()()()}if(a&2){var c=O(32),d=O(43),e=O(54);a=N().$implicit;var f=N();z(2);D("ngIf",a.editableTemplate.new);z(1);D("ngIf",!a.editableTemplate.new);z(5);D("ngModel",a.editableTemplate.name);z(5);D("ngModel",a.editableTemplate.description);z(4);D("ngIf",f.enableIssueAccessLimits);z(5);D("ngModel",a.editableTemplate.title);z(5);D("matMenuTriggerFor",c);z(2);Sg(a.issueType);z(2);D("overlapTrigger",
!0);z(2);D("ngForOf",f.issueTypeChoices);z(5);D("matMenuTriggerFor",d);z(2);Sg(a.editableTemplate.priority);z(2);D("overlapTrigger",!0);z(2);D("ngForOf",f.priorityChoices);z(5);D("matMenuTriggerFor",e);z(2);Sg(a.editableTemplate.severity);z(2);D("overlapTrigger",!0);z(2);D("ngForOf",f.severityChoices);z(5);D("selectedHotlistIds",f.selectedHotlistIds)("choices",f.hotlists);z(1);D("ngForOf",f.selectedHotlists);z(6);D("bContactAutocomplete","SINGLE")("ngModel",a.editableTemplate.assignee);z(5);D("bContactAutocomplete",
"SINGLE")("ngModel",a.editableTemplate.verifier);z(1);D("ngIf",f.enableCollaborators);z(5);D("bContactAutocomplete","MULTI")("ngModel",a.editableTemplate.cc.join(", "));z(5);D("ngModel",a.editableTemplate.comment);z(2);D("initialValue",a.editableTemplate.formattingMode);z(5);D("model",a.editableTemplate.inProd);z(2);D("ngIf",0<f.customFieldRows.length);z(1);D("ngForOf",f.customFieldRows);z(2);D("disabled",!a.editableTemplate.isDirty())}},$2a=function(a,b){a&1&&(E(0,"tr"),P(1,C2a,17,15,"ng-container",
9),P(2,Z2a,99,34,"td",10),F());a&2&&(a=b.$implicit,z(1),D("ngIf",!a.editableTemplate),z(1),D("ngIf",!!a.editableTemplate))},a3a=function(a,b){a&1&&(E(0,"div",88),Q(1),F(),E(2,"div",89)(3,"button",90),Q(4," Cancel "),F(),E(5,"button",91),Q(6," Confirm "),F()());a&2&&(a=b.$implicit,z(1),R(' Are you sure you want to delete the template "',a.name,'"? '),z(2),D("mat-dialog-close",!1),z(2),D("mat-dialog-close",!0))},b3a=function(a,b){a&1&&(E(0,"div",88),Q(1),F(),E(2,"div",89)(3,"button",92),Q(4," Cancel "),
F(),E(5,"button",92),Q(6," Don't Save "),F(),E(7,"button",93),Q(8," Save "),F()());a&2&&(a=b.$implicit,z(1),R(' Do you want to save changes to template "',a.name,'" before closing? '),z(2),D("mat-dialog-close",void 0),z(2),D("mat-dialog-close",!1),z(2),D("mat-dialog-close",!0))},d3a=function(a){if("CUSTOM_FIELD"===a.type)return new zr({name:a.customFieldId?String(a.customFieldId):a.customFieldName||"",label:a.customFieldName||"",fullLabel:a.customFieldName||"",isCustomField:!0,sortable:void 0!==a.customFieldId,
tooltip:""});a=Kj(a.type);"canonicalIssueId"===a&&(a="duplicateOfIssueId");return c3a.includes(a)?Ar(a):null},f3a=function(a){return e3a(a.map(d3a).filter(function(b){return!!b}))},g3a=function(a){return a.map(function(b){b.isCustomField?b={type:"CUSTOM_FIELD",customFieldId:Lj(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})},e3a=function(a){return vn(a,
function(b){return b.name})},Ar=function(a){var b={name:a,label:a.toUpperCase()},c=h3a[a];c?Object.assign(b,c):c3a.includes(a)||(b.isCustomField=!0);b.fullLabel=b.fullLabel||b.label.charAt(0).toUpperCase()+b.label.slice(1).toLowerCase();return new zr(b)},j3a=function(a,b){b=void 0===b?document.documentElement:b;return(0,C.concat)((0,C.defer)(function(){return(0,C.of)(b.querySelector(a))}),i3a(b,{childList:!0,subtree:!0}).pipe(Gf(function(c){return c.some(function(d){return 0<d.addedNodes.length})}),
B(function(){return b.querySelector(a)}))).pipe(Gf(nk),Rf(),B(function(c){return c}))},i3a=function(a,b){return new C.Observable(function(c){var d=new MutationObserver(function(e){c.next(e)});d.observe(a,b);return function(){d.disconnect()}})},Br=function(a,b){return function(c){var d=c.target.closest(a);d&&c.currentTarget.contains(d)&&b(c,d)}},k3a=function(a,b){a&1&&H(0,"col");a&2&&Ig("",b.$implicit.name,"-col")},l3a=function(a){a&1&&Kg(0)},n3a=function(a,b){a&1&&(I(0),P(1,l3a,1,0,"ng-container",
8),J());a&2&&(a=b.$implicit,b=N(),z(1),D("ngTemplateOutlet",b.headerCellTemplates[a.name]||b.defaultHeaderCellTemplate)("ngTemplateOutletContext",Xg(2,m3a,a)))},o3a=function(a){a&1&&Kg(0)},q3a=function(a,b){a&1&&(I(0),P(1,o3a,1,0,"ng-container",8),J());if(a&2){a=b.$implicit;b=b.index;var c=N(),d=c.$implicit;c=c.index;var e=N().ngIf;z(1);D("ngTemplateOutlet",e[b])("ngTemplateOutletContext",Zg(p3a,d,a,c))}},r3a=function(a,b){if(a&1){var c=t();E(0,"tr",10,11);K("click",function(){var e=v(c).index,f=
N(2);f.focusedRowIndex!==e&&(f.focusedRowIndex=e,f.focusedRowIndexChange.emit(e));return w()})("focus",function(){var e=v(c).index,f=N(2);f.focusedRowIndex!==e&&(f.focusedRowIndex=e,f.focusedRowIndexChange.emit(e));return w()});P(2,q3a,2,6,"ng-container",4);F()}if(a&2){a=b.$implicit;b=b.index;var d=N(2);Fg("selected",a.selected)("unread",!d.readUnreadOptOut&&!a.isRead&&!a.isClosed)("closed",a.isClosed)("grid-focus",d.focusedRowIndex===b);ug("data-row-id",a.id)("data-is-read",a.isRead)("aria-label",
d.renderRowLabel(a,b)+(a.selected?", row starred":""));z(2);D("ngForOf",d.columns)}},s3a=function(a){a&1&&(I(0),P(1,r3a,3,12,"tr",9),J());a&2&&(a=N(),z(1),D("ngForOf",a.list))},t3a=function(a,b){a&1&&(E(0,"th"),H(1,"pop-grid-default-th",12),F());a&2&&(a=b.column,z(1),D("column",a))},u3a=function(a,b){a&1&&(E(0,"td"),H(1,"pop-grid-default-cell",13),F());a&2&&(a=b.row,b=b.column,z(1),D("row",a)("column",b))},v3a=function(a){if(a&1){var b=t();E(0,"b-sortable-header",3);K("sortChanged",function(c){v(b);
var d=N();d.grid&&d.grid.sortChange.emit(c);return w()});F()}a&2&&(a=N(),D("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||""))},w3a=function(a){a&1&&(E(0,"span",6),Q(1),F());a&2&&(a=N(2),z(1),R("column-",a.column.name,""))},x3a=function(a){a&1&&(E(0,"div",4),P(1,w3a,2,1,"span",5),Q(2),F());a&2&&(a=N(),ug("aria-label",a.column.label),z(1),D("ngIf",!a.column.label),
z(1),R(" ",a.column.label," "))},y3a=function(a){if(a&1){var b=t();E(0,"div",13,14);K("menuOpened",function(){v(b);var d=N();return w(d.menuOpen=!0)})("menuClosed",function(){v(b);var d=N();return w(d.menuOpen=!1)})("keydown.enter",function(d){v(b);O(1).openMenu();d.preventDefault();return w(d.stopPropagation())})("keydown.space",function(){v(b);var d=O(1);return w(d.openMenu())});F()}if(a&2){a=N();var c=O(5);Fg("columnpicker-button-active",a.menuOpen);wg("aria-label","",a.column.fullLabel," column configuration");
D("matMenuTriggerFor",c)}},B3a=function(a,b){if(a&1){var c=t();E(0,"button",15);K("click",function(){var d=v(c).$implicit,e=N();return w(z3a(e,d.name))});H(1,"b-icon",16);E(2,"span",17);Q(3);F()()}a&2&&(a=b.$implicit,b=N(),Fg("b-menu-item-checked",A3a(a.name).get(b.listViewPrefs)),z(3),R(" ",a.menuItem," "))},C3a=function(a){a&1&&H(0,"mat-divider")},D3a=function(a){if(a&1){var b=t();E(0,"button",22);K("click",function(){v(b);var c=N().$implicit,d=N().before,e=N();return w(e.add(c,d))});Q(1);F()}a&
2&&(a=N().$implicit,D("matTooltip",a.tooltip),z(1),R(" ",a.fullLabel," "))},F3a=function(a){a&1&&(E(0,"button",9)(1,"span"),Q(2),F()());if(a&2){a=N().$implicit;var b=N().before;N();var c=O(18);D("matMenuTriggerFor",c)("matMenuTriggerData",Yg(3,E3a,a.columns,b));z(2);Sg(a.label)}},G3a=function(a,b){a&1&&(I(0),P(1,D3a,2,2,"button",20),P(2,F3a,3,6,"button",21),J());a&2&&(a=b.$implicit,b=N(2),z(1),D("ngIf",b.isIssueGridColumn(a)),z(1),D("ngIf",!b.isIssueGridColumn(a)))},I3a=function(a){if(a&1){var b=
t();E(0,"button",18);K("click",function(){var c=v(b).before,d=N();return w(H3a(d,c))});Q(1," Custom Field ");F();H(2,"mat-divider");P(3,G3a,3,2,"ng-container",19)}a&2&&(a=N(),z(3),D("ngForOf",a.currentAvailableItems))},J3a=function(a,b){if(a&1){var c=t();E(0,"button",18);K("click",function(){var d=v(c).$implicit,e=N().before,f=N();return w(f.add(d,e))});Q(1);F()}a&2&&(a=b.$implicit,z(1),R(" ",a.fullLabel," "))},K3a=function(a,b){a&1&&P(0,J3a,2,1,"button",23);a&2&&D("ngForOf",b.columns)},A3a=function(a){switch(a){case "showHotlists":return{get:function(b){return b.showHotlists},
set:function(b,c){b.showHotlists=c}};case "wrapTitles":return{get:function(b){return b.wrapTitles},set:function(b,c){b.wrapTitles=c}};case "wrapComponents":return{get:function(b){return b.wrapComponents},set:function(b,c){b.wrapComponents=c}};case "showStatusIcons":return{get:function(b){var c;return"icon"===(null==(c=b.fieldStatus)?void 0:c.mode)},set:function(b,c){var d;b.fieldStatus=null!=(d=b.fieldStatus)?d:{};b.fieldStatus.mode=c?"icon":void 0}};case "status-plain":return{get:function(b){var c;
return"plain"===(null==(c=b.fieldStatus)?void 0:c.mode)},set:function(b,c){var d;b.fieldStatus=null!=(d=b.fieldStatus)?d:{};b.fieldStatus.mode=c?"plain":void 0}};case "rtlComponentPath":return{get:function(b){return b.rtlComponentPath},set:function(b,c){b.rtlComponentPath=c}};default:throw Error("qe`"+a);}},L3a=function(a){a&1&&(I(0),Q(1," This issue has not been modified since "),H(2,"b-formatted-date-time",1),Q(3," and is scheduled for deletion on "),E(4,"strong"),H(5,"b-formatted-date-time",1),
F(),Q(6,". "),E(7,"a",2),Q(8,"Learn more"),F(),J());a&2&&(a=N(),z(2),D("mode","date")("timestamp",a.modifiedTime),z(3),D("mode","date")("timestamp",a.retentionExpireTime),z(2),D("href",a.documentationLink,Ie))},M3a=function(a){a&1&&(E(0,"b-base-chip",1)(1,"div",2),H(2,"retention-text",3),F(),E(3,"div",4),H(4,"retention-help-text",5),F()());a&2&&(a=N(),D("compactMode",a.compactMode)("labelClass",a.dangerZone?"danger":"expiring")("labelOnlyMode",a.labelOnlyMode),z(2),D("retentionState",a.retentionState)("compactMode",
a.compactMode),z(2),D("retentionState",a.retentionState)("modifiedTime",a.modifiedTime))},N3a=function(a){var b=void 0===b?new Date:b;var c=cp(bp(a.scheduledDeletionTime));b=b.getTime();a=(a=Hwa(a.retentionPeriod))?1E3*a.getSeconds()+(a.getNanos()||0)/1E6:0;return b>=c-Math.max(12096E5,.2*a)},O3a=function(a){a&1&&Kg(0)},P3a=function(a,b){a&1&&(E(0,"th",22),P(1,O3a,1,0,"ng-container",23),F());a&2&&(a=b.column,b=N(),ug("data-stable-column-name",a.name),z(1),D("ngIf",b.isIssueGridColumn(a)))},Q3a=function(a){a&
1&&Kg(0)},R3a=function(a,b){a&1&&(E(0,"th",24),P(1,Q3a,1,0,"ng-container",23),F());a&2&&(a=b.column,b=N(),ug("data-stable-column-name",a.name),z(1),D("ngIf",b.isIssueGridColumn(a)))},T3a=function(a){if(a&1){var b=t();I(0);E(1,"mat-pseudo-checkbox",26);K("click",function(c){v(b);var d=N(2);c.stopPropagation();return w(d.toggleAllIssueSelection())})("keydown.enter",function(c){v(b);var d=N(2);c.stopPropagation();return w(d.toggleAllIssueSelection())})("keydown.space",function(c){v(b);var d=N(2);c.stopPropagation();
return w(d.toggleAllIssueSelection())});F();J()}a&2&&(a=N(2),z(1),D("state",a.getHeaderCheckboxState()),ug("aria-checked",S3a(a)))},U3a=function(a,b){a&1&&(E(0,"th",25),P(1,T3a,2,2,"ng-container",23),F());a&2&&(a=b.column,b=N(),ug("data-stable-column-name",a.name),z(1),D("ngIf",b.isIssueGridColumn(a)))},V3a=function(a){a&1&&Kg(0)},W3a=function(a,b){a&1&&(E(0,"th"),P(1,V3a,1,0,"ng-container",23),F());a&2&&(a=b.column,b=N(),ug("data-stable-column-name",a.name),z(1),D("ngIf",b.isIssueGridColumn(a)))},
X3a=function(a){a&1&&(I(0),H(1,"pop-grid-default-th",27),J());a&2&&(a=N().column,z(1),D("column",a))},Y3a=function(a,b){a&1&&(E(0,"th"),P(1,X3a,2,1,"ng-container",23),F());a&2&&(a=b.column,b=N(),ug("data-stable-column-name",a.name),z(1),D("ngIf",b.isIssueGridColumn(a)))},Z3a=function(a){if(a&1){var b=t();E(0,"b-column-picker",30);K("selectedColumnsChange",function(d){v(b);var e=N(3);e.columns=d;e.columnsChange.emit(d);e.cdr.detectChanges();return w()});F()}if(a&2){a=N(2).column;var c=N();D("column",
a)("availableColumns",c.availableColumns)("selectedColumns",c.columns)}},$3a=function(a){a&1&&H(0,"pop-grid-default-th",27);a&2&&(a=N(2).column,D("column",a))},a4a=function(a){a&1&&(I(0),P(1,Z3a,1,3,"b-column-picker",28),P(2,$3a,1,1,"pop-grid-default-th",29),J());a&2&&(a=N(2),z(1),D("ngIf",a.enableColumnSaving),z(1),D("ngIf",!a.enableColumnSaving))},b4a=function(a,b){a&1&&(E(0,"th"),P(1,a4a,3,2,"ng-container",23),F());a&2&&(a=b.column,b=N(),ug("data-stable-column-name",a.name),z(1),D("ngIf",b.isIssueGridColumn(a)))},
c4a=function(a){a&1&&Kg(0)},d4a=function(a){a&1&&(E(0,"td",22),P(1,c4a,1,0,"ng-container",23),F());a&2&&(N(),z(1),D("ngIf",!0))},e4a=function(a){a&1&&Kg(0)},f4a=function(a){a&1&&(E(0,"td",31),P(1,e4a,1,0,"ng-container",23),F());a&2&&(N(),z(1),D("ngIf",!0))},g4a=function(a){if(a&1){var b=t();I(0);E(1,"mat-pseudo-checkbox",32);K("click",function(c){v(b);var d=N(),e=d.index;d=d.row;var f=N();c.stopPropagation();return w(f.onCheckboxClicked(c,e,d))});F();J()}a&2&&(a=N().row,z(1),D("state",a.selected?
"checked":"unchecked"),ug("aria-label","Select issue "+a.issueId)("aria-checked",a.selected))},h4a=function(a){a&1&&(E(0,"td",25),P(1,g4a,2,3,"ng-container",23),F());a&2&&(N(),z(1),D("ngIf",!0))},i4a=function(a){if(a&1){var b=t();I(0);E(1,"b-star-toggle",34);K("starClicked",function(){v(b);var d=N().row,e=N();return w(e.toggleStar(d))});F();J()}if(a&2){a=N().row;var c=N();z(1);D("starred",a.starred)("disabled",c.starInProgress[a.issueId])("starMessage","Star this issue")("unStarMessage","Un-star this issue")}},
j4a=function(a){a&1&&(E(0,"td",33),P(1,i4a,2,4,"ng-container",23),F());a&2&&(N(),z(1),D("ngIf",!0))},k4a=function(a){a&1&&(I(0),E(1,"span"),Q(2),F(),J());a&2&&(a=N().row,z(1),ug("title",a.position),z(1),R(" ",a.position," "))},l4a=function(a){a&1&&(E(0,"td"),P(1,k4a,3,2,"ng-container",23),F());a&2&&(N(),z(1),D("ngIf",!0))},m4a=function(a){a&1&&(I(0),E(1,"a",36),Q(2),F(),J());if(a&2){a=N().row;var b=N();z(1);D("href",b.paths.editIssue(a.issueId),Ie);ug("title",a.title);z(1);R(" ",a.issueId," ")}},
n4a=function(a){a&1&&(E(0,"td",35),P(1,m4a,3,3,"ng-container",23),F());a&2&&(N(),z(1),D("ngIf",!0))},o4a=function(a){a&1&&H(0,"archived-issue-indicator")},p4a=function(a,b){a&1&&H(0,"b-hotlist-chip-smart",47);a&2&&D("id",b.$implicit)("removable",!1)},q4a=function(a){a&1&&(E(0,"div",45),P(1,p4a,1,2,"b-hotlist-chip-smart",46),F());a&2&&(a=N(2).row,z(1),D("ngForOf",a.hotlistId))},r4a=function(a){a&1&&(I(0),E(1,"div",38),P(2,o4a,1,0,"archived-issue-indicator",23),H(3,"b-access-level-indicator",39)(4,
"b-tracker-chip-smart",40)(5,"b-retention-chip",41),E(6,"div",42)(7,"a",43),Q(8),F()(),P(9,q4a,2,1,"div",44),F(),J());if(a&2){a=N().row;var b=N();z(1);Fg("bv2-grid-cell-flex-wrap",b.listViewPrefs&&b.listViewPrefs.wrapTitles);z(1);D("ngIf",a.archived);z(1);D("accessLevel",a.accessLevel)("compactMode",!0);z(1);D("trackerId",a.trackerId)("compactMode",!0);z(1);D("retentionState",a.retentionState)("showOnlyInDangerZone",!0)("compactMode",!0)("modifiedTime",a.modifiedTime);z(2);D("href",b.paths.editIssue(a.issueId),
Ie);ug("title",a.title);z(1);R(" ",a.title," ");z(1);D("ngIf",b.listViewPrefs&&b.listViewPrefs.showHotlists)}},s4a=function(a){a&1&&(E(0,"td",37),P(1,r4a,10,15,"ng-container",23),F());a&2&&(a=N(),Fg("bv2-grid-cell-variable-height",a.listViewPrefs&&a.listViewPrefs.wrapTitles),z(1),D("ngIf",!0))},u4a=function(a){a&1&&(I(0),E(1,"div",49),Q(2),F(),J());if(a&2){a=N().row;var b=N();z(1);D("ngClass",Zg(t4a,b.isLowPriority(a),b.isHighPriority(a),b.isP0Priority(a)));z(1);R(" P",a.priority," ")}},v4a=function(a){a&
1&&(E(0,"td",48),P(1,u4a,3,6,"ng-container",23),F());a&2&&(N(),z(1),D("ngIf",!0))},w4a=function(a){a&1&&(I(0),E(1,"div",49),Q(2),F(),J());a&2&&(a=N().row,N(),z(1),D("ngClass",Zg(t4a,2<=Number(a.severity),2>Number(a.severity),0===Number(a.severity))),z(1),R(" S",a.severity," "))},x4a=function(a){a&1&&(E(0,"td",50),P(1,w4a,3,6,"ng-container",23),F());a&2&&(N(),z(1),D("ngIf",!0))},y4a=function(a){a&1&&H(0,"mat-icon",56);if(a&2){a=N().$implicit;var b=N(3);D("svgIcon",b.STATUS_ICON[a])}},z4a=function(a){a&
1&&(I(0),Q(1),J());if(a&2){a=N().$implicit;var b=N(3);z(1);Sg(b.STATUS_TERSE[a])}},A4a=function(a){a&1&&(E(0,"span"),Q(1),F());if(a&2){a=N().$implicit;var b=N(3);Ig("chippy status-",a," margin-left-auto");z(1);R(" ",b.STATUS_TERSE[a]," ")}},B4a=function(a,b){a&1&&(I(0),E(1,"span",52),P(2,y4a,1,1,"mat-icon",53),P(3,z4a,2,1,"ng-container",54),P(4,A4a,2,4,"span",55),F(),J());a&2&&(a=b.$implicit,b=N(3),z(1),D("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),D("ngSwitchCase","icon"),z(1),D("ngSwitchCase","plain"))},C4a=function(a){a&1&&(I(0),P(1,B4a,5,4,"ng-container",23),J());if(a&2){a=N().row;var b=N();z(1);D("ngIf",b.convertIssueStatusStrToTag(a.status))}},D4a=function(a){a&1&&(E(0,"td",51),P(1,C4a,2,1,"ng-container",23),F());a&2&&(N(),z(1),D("ngIf",!0))},E4a=function(a){a&1&&(I(0),Q(1),U(2,"enumToHuman"),J());a&2&&(a=N().row,z(1),R(" ",V(2,1,a.type)," "))},F4a=function(a){a&
1&&(E(0,"td",57),P(1,E4a,3,3,"ng-container",23),F());a&2&&(N(),z(1),D("ngIf",!0))},G4a=function(a){a&1&&(E(0,"b-person-hovercard",60),U(1,"omitObfuscatedEmail"),Q(2),F());a&2&&(a=N(2).row,D("email",V(1,2,a.reporter)),z(2),R(" ",a.reporter," "))},H4a=function(a){a&1&&(E(0,"span"),Q(1,"--"),F())},I4a=function(a){a&1&&(I(0),P(1,G4a,3,4,"b-person-hovercard",59),U(2,"omitObfuscatedEmail"),P(3,H4a,2,0,"span",23),J());a&2&&(a=N().row,z(1),D("ngIf",V(2,2,a.reporter)),z(2),D("ngIf",!a.reporter))},J4a=function(a){a&
1&&(E(0,"td",58),P(1,I4a,4,4,"ng-container",23),F());a&2&&(N(),z(1),D("ngIf",!0))},K4a=function(a){a&1&&(E(0,"b-person-hovercard",60),U(1,"omitObfuscatedEmail"),Q(2),F());a&2&&(a=N(2).row,D("email",V(1,2,a.assignee)),z(2),R(" ",a.assignee," "))},L4a=function(a){a&1&&(E(0,"span"),Q(1,"--"),F())},M4a=function(a){a&1&&(I(0),P(1,K4a,3,4,"b-person-hovercard",59),U(2,"omitObfuscatedEmail"),P(3,L4a,2,0,"span",23),J());a&2&&(a=N().row,z(1),D("ngIf",V(2,2,a.assignee)),z(2),D("ngIf",!a.assignee))},N4a=function(a){a&
1&&(E(0,"td",58),P(1,M4a,4,4,"ng-container",23),F());a&2&&(N(),z(1),D("ngIf",!0))},O4a=function(a){a&1&&(E(0,"b-person-hovercard",60),U(1,"omitObfuscatedEmail"),Q(2),F());a&2&&(a=N(2).row,D("email",V(1,2,a.verifier)),z(2),R(" ",a.verifier," "))},P4a=function(a){a&1&&(E(0,"span"),Q(1,"--"),F())},Q4a=function(a){a&1&&(I(0),P(1,O4a,3,4,"b-person-hovercard",59),U(2,"omitObfuscatedEmail"),P(3,P4a,2,0,"span",23),J());a&2&&(a=N().row,z(1),D("ngIf",V(2,2,a.verifier)),z(2),D("ngIf",!a.verifier))},R4a=function(a){a&
1&&(E(0,"td",58),P(1,Q4a,4,4,"ng-container",23),F());a&2&&(N(),z(1),D("ngIf",!0))},S4a=function(a){a&1&&(I(0),E(1,"span"),U(2,"arrayToHuman"),Q(3),U(4,"arrayToHuman"),F(),J());a&2&&(a=N().row,z(1),ug("title",V(2,2,a.cc)),z(2),R(" ",V(4,4,a.cc)," "))},T4a=function(a){a&1&&(E(0,"td",58),P(1,S4a,5,6,"ng-container",23),F());a&2&&(N(),z(1),D("ngIf",!0))},U4a=function(a){a&1&&(I(0),E(1,"span"),U(2,"arrayToHuman"),Q(3),U(4,"arrayToHuman"),F(),J());a&2&&(a=N().row,z(1),ug("title",V(2,2,a.changelist)),z(2),
R(" ",V(4,4,a.changelist)," "))},V4a=function(a){a&1&&(E(0,"td",58),P(1,U4a,5,6,"ng-container",23),F());a&2&&(N(),z(1),D("ngIf",!0))},W4a=function(a){a&1&&(I(0),E(1,"span"),U(2,"arrayToHuman"),Q(3),U(4,"arrayToHuman"),F(),J());a&2&&(a=N().row,z(1),ug("title",V(2,2,a.postmortem)),z(2),R(" ",V(4,4,a.postmortem)," "))},X4a=function(a){a&1&&(E(0,"td",58),P(1,W4a,5,6,"ng-container",23),F());a&2&&(N(),z(1),D("ngIf",!0))},Y4a=function(a){a&1&&Kg(0)},Z4a=function(a){a&1&&(E(0,"span"),Q(1,", "),F())},a5a=
function(a,b){a&1&&(I(0),P(1,Y4a,1,0,"ng-container",62),P(2,Z4a,2,0,"span",23),J());if(a&2){a=b.$implicit;b=b.last;N(3);var c=O(48);z(1);D("ngTemplateOutlet",c)("ngTemplateOutletContext",Xg(3,$4a,a));z(1);D("ngIf",!b)}},b5a=function(a){a&1&&(I(0),P(1,a5a,3,5,"ng-container",61),J());a&2&&(a=N().row,z(1),D("ngForOf",a.blockingIssueId))},c5a=function(a){a&1&&(E(0,"td",58),P(1,b5a,2,1,"ng-container",23),F());a&2&&(N(),z(1),D("ngIf",!0))},d5a=function(a){a&1&&Kg(0)},e5a=function(a){a&1&&(E(0,"span"),Q(1,
", "),F())},f5a=function(a,b){a&1&&(I(0),P(1,d5a,1,0,"ng-container",62),P(2,e5a,2,0,"span",23),J());if(a&2){a=b.$implicit;b=b.last;N(3);var c=O(48);z(1);D("ngTemplateOutlet",c)("ngTemplateOutletContext",Xg(3,$4a,a));z(1);D("ngIf",!b)}},g5a=function(a){a&1&&(I(0),P(1,f5a,3,5,"ng-container",61),J());a&2&&(a=N().row,z(1),D("ngForOf",a.blockedByIssueId))},h5a=function(a){a&1&&(E(0,"td",58),P(1,g5a,2,1,"ng-container",23),F());a&2&&(N(),z(1),D("ngIf",!0))},i5a=function(a){a&1&&Kg(0)},j5a=function(a){a&
1&&(I(0),P(1,i5a,1,0,"ng-container",62),J());if(a&2){a=N(2).row;N();var b=O(48);z(1);D("ngTemplateOutlet",b)("ngTemplateOutletContext",Xg(2,$4a,a.duplicateOfIssueId))}},k5a=function(a){a&1&&(I(0),P(1,j5a,2,4,"ng-container",23),J());a&2&&(a=N().row,z(1),D("ngIf",a.duplicateOfIssueId))},l5a=function(a){a&1&&(E(0,"td",58),P(1,k5a,2,1,"ng-container",23),F());a&2&&(N(),z(1),D("ngIf",!0))},m5a=function(a){a&1&&(I(0),H(1,"b-formatted-date-time",64),J());a&2&&(a=N().row,z(1),D("timestamp",a.createdTime))},
n5a=function(a){a&1&&(E(0,"td",63),P(1,m5a,2,1,"ng-container",23),F());a&2&&(N(),z(1),D("ngIf",!0))},o5a=function(a){a&1&&(I(0),H(1,"b-formatted-date-time",64),J());a&2&&(a=N().row,z(1),D("timestamp",a.modifiedTime))},p5a=function(a){a&1&&(E(0,"td",63),P(1,o5a,2,1,"ng-container",23),F());a&2&&(N(),z(1),D("ngIf",!0))},q5a=function(a){a&1&&(I(0),H(1,"b-formatted-date-time",64),J());a&2&&(a=N().row,z(1),D("timestamp",a.resolvedTime))},r5a=function(a){a&1&&(E(0,"td",63),P(1,q5a,2,1,"ng-container",23),
F());a&2&&(N(),z(1),D("ngIf",!0))},s5a=function(a){a&1&&(I(0),H(1,"b-formatted-date-time",64),J());a&2&&(a=N().row,z(1),D("timestamp",a.verifiedTime))},t5a=function(a){a&1&&(E(0,"td",63),P(1,s5a,2,1,"ng-container",23),F());a&2&&(N(),z(1),D("ngIf",!0))},u5a=function(a){a&1&&(I(0),E(1,"span"),U(2,"arrayToHuman"),Q(3),U(4,"arrayToHuman"),F(),J());a&2&&(a=N().row,z(1),ug("title",V(2,2,a.foundInVersion)),z(2),R(" ",V(4,4,a.foundInVersion)," "))},v5a=function(a){a&1&&(E(0,"td",58),P(1,u5a,5,6,"ng-container",
23),F());a&2&&(N(),z(1),D("ngIf",!0))},w5a=function(a){a&1&&(I(0),E(1,"span"),U(2,"arrayToHuman"),Q(3),U(4,"arrayToHuman"),F(),J());a&2&&(a=N().row,z(1),ug("title",V(2,2,a.targetedToVersion)),z(2),R(" ",V(4,4,a.targetedToVersion)," "))},x5a=function(a){a&1&&(E(0,"td",58),P(1,w5a,5,6,"ng-container",23),F());a&2&&(N(),z(1),D("ngIf",!0))},y5a=function(a){a&1&&(I(0),E(1,"span"),U(2,"arrayToHuman"),Q(3),U(4,"arrayToHuman"),F(),J());a&2&&(a=N().row,z(1),ug("title",V(2,2,a.verifiedInVersion)),z(2),R(" ",
V(4,4,a.verifiedInVersion)," "))},z5a=function(a){a&1&&(E(0,"td",58),P(1,y5a,5,6,"ng-container",23),F());a&2&&(N(),z(1),D("ngIf",!0))},A5a=function(a){a&1&&(I(0),Q(1),U(2,"yesNo"),J());a&2&&(a=N().row,z(1),R(" ",V(2,1,a.inProd)," "))},B5a=function(a){a&1&&(E(0,"td",58),P(1,A5a,3,3,"ng-container",23),F());a&2&&(N(),z(1),D("ngIf",!0))},C5a=function(a){a&1&&(I(0),Q(1),U(2,"yesNo"),J());a&2&&(a=N().row,z(1),R(" ",V(2,1,a.archived)," "))},D5a=function(a){a&1&&(E(0,"td",58),P(1,C5a,3,3,"ng-container",23),
F());a&2&&(N(),z(1),D("ngIf",!0))},E5a=function(a){a&1&&(I(0),E(1,"div",38)(2,"div",42)(3,"span"),U(4,"componentPath"),Q(5),U(6,"componentPath"),F()()(),J());a&2&&(a=N().row,z(3),ug("title",V(4,2,a.componentPath)),z(2),Sg(V(6,4,a.componentPath)))},G5a=function(a){a&1&&(E(0,"td",65),P(1,E5a,7,6,"ng-container",23),F());if(a&2){a=N();var b;var c=!(null==(b=a.listViewPrefs)||!b.rtlComponentPath);D("ngClass",Yg(2,F5a,a.listViewPrefs&&a.listViewPrefs.wrapComponents,c));z(1);D("ngIf",!0)}},H5a=function(a){a&
1&&(E(0,"slo-status-card",68),H(1,"b-aggregated-slo-status-indicator",69),F());a&2&&(a=N(2).row,D("sloId",a.sloId)("sloStatus",a.sloStatus)("sloSnoozeUntil",a.sloSnoozeUntil),z(1),D("sloStatus",a.sloStatus)("sloSnoozeUntil",a.sloSnoozeUntil))},I5a=function(a){a&1&&(I(0),P(1,H5a,2,5,"slo-status-card",67),J());a&2&&(a=N().row,z(1),D("ngIf",a.sloStatus))},J5a=function(a){a&1&&(E(0,"td",66),P(1,I5a,2,1,"ng-container",23),F());a&2&&(N(),z(1),D("ngIf",!0))},K5a=function(a){a&1&&(E(0,"slo-status-card",71),
H(1,"b-slo-time-indicator",72),F());a&2&&(a=N(2).row,D("sloId",a.sloId)("sloStatus",a.sloStatus)("sloSnoozeUntil",a.sloSnoozeUntil)("onlyShowMetric","RESPONSE"),z(1),D("sloBounds",a.sloStatus.responseBounds))},L5a=function(a){a&1&&(I(0),P(1,K5a,2,5,"slo-status-card",70),J());a&2&&(a=N().row,z(1),D("ngIf",a.sloStatus))},M5a=function(a){a&1&&(E(0,"td",66),P(1,L5a,2,1,"ng-container",23),F());a&2&&(N(),z(1),D("ngIf",!0))},N5a=function(a){a&1&&(E(0,"slo-status-card",71),H(1,"b-slo-time-indicator",72),
F());a&2&&(a=N(2).row,D("sloId",a.sloId)("sloStatus",a.sloStatus)("sloSnoozeUntil",a.sloSnoozeUntil)("onlyShowMetric","ASSIGNMENT"),z(1),D("sloBounds",a.sloStatus.assignmentBounds))},O5a=function(a){a&1&&(I(0),P(1,N5a,2,5,"slo-status-card",70),J());a&2&&(a=N().row,z(1),D("ngIf",a.sloStatus))},P5a=function(a){a&1&&(E(0,"td",66),P(1,O5a,2,1,"ng-container",23),F());a&2&&(N(),z(1),D("ngIf",!0))},Q5a=function(a){a&1&&(E(0,"slo-status-card",71),H(1,"b-slo-time-indicator",72),F());a&2&&(a=N(2).row,D("sloId",
a.sloId)("sloStatus",a.sloStatus)("sloSnoozeUntil",a.sloSnoozeUntil)("onlyShowMetric","CLOSURE"),z(1),D("sloBounds",a.sloStatus.closureBounds))},R5a=function(a){a&1&&(I(0),P(1,Q5a,2,5,"slo-status-card",70),J());a&2&&(a=N().row,z(1),D("ngIf",a.sloStatus))},S5a=function(a){a&1&&(E(0,"td",66),P(1,R5a,2,1,"ng-container",23),F());a&2&&(N(),z(1),D("ngIf",!0))},T5a=function(a,b){a&1&&H(0,"b-formatted-date-time",74);a&2&&(a=b.$implicit,N(3),D("timestamp",1E3*a.seconds))},U5a=function(a){a&1&&(I(0),P(1,T5a,
1,1,"b-formatted-date-time",73),J());a&2&&(a=N().row,z(1),D("ngIf",null==a.retentionState?null:a.retentionState.scheduledDeletionTime))},V5a=function(a){a&1&&(E(0,"td",58),P(1,U5a,2,1,"ng-container",23),F());a&2&&(N(),z(1),D("ngIf",!0))},W5a=function(a){a&1&&H(0,"div",76)},X5a=function(a){a&1&&(E(0,"div"),H(1,"b-team-display",77),F());a&2&&(a=N(2).row,z(1),D("teamId",a.teamId.toString())("componentId",a.componentId.toString())("anchorLinkEnabled",!1))},Y5a=function(a){a&1&&(I(0),P(1,W5a,1,0,"div",
75),P(2,X5a,2,3,"div",23),J());a&2&&(a=N(2),z(1),D("ngIf",a.isLoadingTeams),z(1),D("ngIf",!a.isLoadingTeams))},Z5a=function(a){a&1&&(E(0,"td",58),P(1,Y5a,3,2,"ng-container",23),F());a&2&&(N(),z(1),D("ngIf",!0))},$5a=function(a){a&1&&(I(0),Q(1),J());a&2&&(a=N().row,z(1),R(" ",null==a.effort?null:a.effort.estimate," "))},a6a=function(a){a&1&&(E(0,"td",58),P(1,$5a,2,1,"ng-container",23),F());a&2&&(N(),z(1),D("ngIf",!0))},b6a=function(a){a&1&&(I(0),Q(1),J());if(a&2){a=N().row;var b=N();z(1);R(" ",b.isTotalEstimatesEnabled?
(null==a.effort?null:a.effort.totalOpen)||"":""," ")}},c6a=function(a){a&1&&(E(0,"td",58),P(1,b6a,2,1,"ng-container",23),F());a&2&&(N(),z(1),D("ngIf",!0))},d6a=function(a){a&1&&(I(0),Q(1),J());if(a&2){a=N().row;var b=N();z(1);R(" ",b.isTotalEstimatesEnabled?(null==a.effort?null:a.effort.totalComplete)||"":""," ")}},e6a=function(a){a&1&&(E(0,"td",58),P(1,d6a,2,1,"ng-container",23),F());a&2&&(N(),z(1),D("ngIf",!0))},f6a=function(a){a&1&&H(0,"b-issue-card",81,82);if(a&2){var b=O(1);a=N().id;D("onedevIsHovercardReady",
b.init)("issueId",a)}},g6a=function(a,b){a&1&&(E(0,"onedev-hovercard",null,78),P(2,f6a,2,2,"b-issue-card",79),F(),E(3,"span",80),Q(4),F());if(a&2){a=b.id;var c=O(1);z(3);D("onedevHovercardTrigger",c);z(1);Sg(a)}},h6a=function(a){if(a&1){var b=t();E(0,"b-app-bar-bulk-edit-menus",10);K("onBulkEdit",function(c){v(b);var d=N();return w(d.bulkEdit(c))})("onQuickBulkEdit",function(c){v(b);var d=N();return w(d.quickBulkEdit(c))})("onBulkEditIssueRelation",function(c){v(b);var d=N();return w(d.bulkEditIssueRelation(c))})("onBulkMarkIssueRead",
function(){v(b);var c=N();return w(c.bulkMarkIssueRead())});F()}a&2&&(a=N(),D("readStatePrompt",e2a(a)))},i6a=function(a){if(a&1){var b=t();E(0,"b-copy-issue-id-button",11);K("onClickCopyIssueIds",function(){v(b);var c=N();return w(g2a(c.copyIssueIdService,xr(c)))})("onClickCopyIssueShortLinks",function(){v(b);var c=N();return w(h2a(c.copyIssueIdService,xr(c)))})("onClickCopyAsIssueSearch",function(){v(b);var c=N();return w(i2a(c.copyIssueIdService,xr(c)))});F()}a&2&&(a=N(),D("shortLinkPrefix",a.copyIssueIdService.shortLinkPrefix)("shouldShowCopyIssueShortLinks",
a.activeSession.isInternalSession()))},j6a=function(a){if(a&1){var b=t();E(0,"div",12)(1,"b-hotlist-picker",13);K("onApply",function(c){v(b);var d=N();return w(d.handleHotlistPickerSave(c))})("onCreate",function(c){v(b);var d=N();return w(d.onCreateHotlist.emit(c))})("onLoad",function(c){v(b);var d=N();return w(d.onLoadHotlist.emit(c))});F()()}a&2&&(a=N(),z(1),D("selectedHotlistIds",a.hotlistIdMatrix)("choices",a.hotlistChoices))},k6a=function(a){if(a&1){var b=t();E(0,"hotlist-add-issue-btn",16);
K("issueAddedToHotlist",function(){v(b);var c=N(2);return w(c.refresh())});F()}a&2&&(a=N(2),D("hotlistId",a.currentHotlistId))},l6a=function(a){a&1&&H(0,"hotlist-archive-btn",17);a&2&&(a=N(2),D("hotlistId",a.currentHotlistId))},m6a=function(a){a&1&&(I(0),P(1,k6a,1,1,"hotlist-add-issue-btn",14),P(2,l6a,1,1,"hotlist-archive-btn",15),J());a&2&&(a=N(),z(1),D("ngIf",a.enableBulkEditUi),z(1),D("ngIf",a.isHotlistAdmin))},n6a=function(a){a&1&&(E(0,"span",21),Q(1,"Reporting"),F())},o6a=function(a){if(a&1){var b=
t();E(0,"b-button",18);K("onAction",function(){v(b);var c=N();return w(c.openInEstado())});H(1,"b-icon",19);P(2,n6a,2,0,"span",20);F()}a&2&&(a=N(),D("size",a.hasSelectedIssues()?"large":"medium")("format",a.hasSelectedIssues()?"icon":"flat"),z(2),D("ngIf",!a.hasSelectedIssues()))},p6a=function(a){if(a&1){var b=t();E(0,"b-comment-box",28);K("commentChange",function(c){v(b);var d=N(2);return w(d.comment=c)})("onSubmit",function(){v(b);var c=N(2);return w(l2a(c))});F()}a&2&&(a=N(2),D("comment",a.comment)("showToolbar",
!1))},q6a=function(a,b){a&1&&(E(0,"li"),Q(1),H(2,"b-access-level-indicator",31),F());a&2&&(a=b.$implicit,z(1),R(" ",a.path," "),z(1),D("accessLevel",a.accessLevel))},r6a=function(a){a&1&&(E(0,"div",29)(1,"div")(2,"strong"),Q(3,"You are commenting on issues in components that have external viewers:"),F()(),E(4,"ul"),P(5,q6a,3,2,"li",30),F()());a&2&&(a=N(2),z(5),D("ngForOf",a.externalWarnings))},s6a=function(a){if(a&1){var b=t();E(0,"div",32)(1,"b-recaptcha",33);K("onUpdate",function(c){v(b);var d=
N(2);return w(d.recaptchaResponse=c)});F()()}},t6a=function(a){a&1&&(E(0,"h1",22),Q(1,"Add comment"),F(),E(2,"mat-dialog-content"),P(3,p6a,1,2,"b-comment-box",23),P(4,r6a,6,1,"div",24),F(),P(5,s6a,2,0,"div",25),E(6,"mat-dialog-actions")(7,"button",26),Q(8," Cancel "),F(),E(9,"button",27),Q(10," Save "),F()());a&2&&(a=N(),z(3),D("ngIf",a.comment),z(1),D("ngIf",0<a.externalWarnings.length),z(1),D("ngIf",a.enableRecaptcha),z(2),D("mat-dialog-close",!1),z(2),D("disabled",a.enableRecaptcha&&""===a.recaptchaResponse)("mat-dialog-close",
!0))},v6a=function(a,b){if(a&1){var c=t();E(0,"div",5)(1,"b-contact-chip",6);K("chipSelection",function(){var d=v(c).index,e=N();e.selectedChipIndex!==d&&Cr(e,d)&&(u6a(e),e.selectedChipIndex=d,e.items[d].isSelected=!0);return w()})("chipClear",function(){v(c);var d=N();return w(u6a(d))})("chipRemove",function(){var d=v(c).index,e=N();return w(e.removeItem(d))});F()()}a&2&&(a=b.$implicit,b=N(),z(1),D("isReadonly",a.isReadonly)("isSelected",a.isSelected)("isWidgetDisabled",b.isWidgetDisabled())("principalType",
a.principalType)("detailedUserType",a.detailedUserType)("nestedChips",a.nestedChips)("value",a.value)("displayText",a.displayText)("accessLevel",b.getAccessLevel()))},y6a=function(a){if(a&1){var b=t();E(0,"input",7,8);K("autocompleteActive",function(){v(b);var c=N();return w(c.chipifyFn())})("ngModelChange",function(c){v(b);var d=N();return w(d.typedText=c)})("focus",function(){v(b);var c=N();return w(w6a(c))})("blur",function(){v(b);var c=N();x6a(c,c.typedText.split(",")[0].trim());c.isFocused=!1;
return w()});F()}a&2&&(a=N(),D("bContactAutocomplete","MULTI")("additionalContactsCallback",a.additionalContactsFn)("ngModel",a.typedText)("disabled",a.isWidgetDisabled()),ug("id",a.idForInputBox))},z6a=function(a){a&1&&(E(0,"span"),Q(1," Groups cannot be granted Restricted+ reader permission. "),E(2,"a",9),Q(3,"Learn more"),F()());a&2&&(a=N(),z(2),ug("href",Lp(a.documentationLinks)+"#components",Ie))},A6a=function(a){a&1&&(E(0,"span"),Q(1," Invalid user(s). "),F())},B6a=function(a){a&1&&(E(0,"span"),
Q(1,' "Public" or external users are not allowed for component designated as "internal access". '),F())},C6a=function(a){a&1&&(E(0,"span"),Q(1,' "Public" is not allowed for components designated as "external partner access". '),F())},D6a=function(a){a&1&&(E(0,"span"),Q(1," SLO lead can not be a group. "),F())},E6a=function(a){a&1&&(E(0,"span"),Q(1," SLO lead can only be a full-time Googler. "),F())},F6a=function(a){if(a&1){var b=t();E(0,"div",7)(1,"button",8);K("click",function(){v(b);var c=N();return w(c.onPressSave())});
Q(2," Save ");F();E(3,"button",9);K("click",function(){v(b);var c=N();return w(c.onPressRevert())});Q(4," Revert changes ");F()()}a&2&&(a=N(),z(1),D("disabled",a.hasNoChanges()||a.hotlistAccessPolicyFridge.isSaving()||a.isInvalid())("matTooltip",a.isInvalid()?"Invalid form data":a.hasNoChanges()?"No changes":"Save these changes"),z(2),D("disabled",a.hasNoChanges()||a.hotlistAccessPolicyFridge.isSaving())("matTooltip",a.hasNoChanges()?"No changes":"Go back to the last saved state"))},G6a=function(a){if(a&
1){var b=t();E(0,"div",7)(1,"button",8);K("click",function(){v(b);var d=N();return w(d.save())});Q(2," Save ");F();E(3,"button",9);K("click",function(){v(b);var d=N();return w(d.revert())});Q(4," Revert changes ");F();H(5,"hotlist-archive-btn",10);U(6,"async");F()}if(a&2){a=N();var c;z(1);D("disabled",a.hasNoChanges()||a.fridge.isSaving())("matTooltip",a.hasNoChanges()?"No changes":"Save these changes");z(2);D("disabled",a.hasNoChanges()||a.fridge.isSaving())("matTooltip",a.hasNoChanges()?"No changes":
"Go back to the last saved state");z(2);D("hotlistId",null!==(c=V(6,5,a.id$))&&void 0!==c?c:void 0)}},H6a=function(a,b){a&1&&(I(0),Q(1),J());a&2&&(a=b.$implicit,z(1),R(" ",a.name," "))},I6a=function(a){a&1&&(E(0,"strong",4),Q(1,"(archived)"),F())},J6a=function(a){a&1&&H(0,"b-spinner")},K6a=function(a){a&1&&(H(0,"hotlist-add-issue-btn",5),U(1,"async"));if(a&2){a=N();var b;D("hotlistId",null!==(b=V(1,1,a.id$))&&void 0!==b?b:void 0)}},L6a=function(a){a&1&&(E(0,"p",8),Q(1," This hotlist cannot be edited because you are not an administrator of it. "),
F())},M6a=function(a){a&1&&(I(0),H(1,"b-edit-hotlist-toolbar",1),E(2,"div",2),H(3,"b-edit-hotlist-header",1),E(4,"mat-tab-group",3)(5,"mat-tab",4),H(6,"b-edit-hotlist-basic",5),U(7,"async"),F(),E(8,"mat-tab",6),H(9,"b-edit-hotlist-acl",5),U(10,"async"),F()(),P(11,L6a,2,0,"p",7),U(12,"async"),F(),J());a&2&&(a=N(),z(1),D("hotlistId",a.id),z(2),D("hotlistId",a.id),z(1),D("selectedIndex",a.tabIndex),z(2),D("hotlistId",a.id)("isReadOnly",!1===V(7,8,a.isAdmin$)),z(3),D("hotlistId",a.id)("isReadOnly",!1===
V(10,10,a.isAdmin$)),z(2),D("ngIf",!1===V(12,12,a.isAdmin$)))},N6a=function(a,b){a&1&&(I(0),H(1,"empty-toolbar"),E(2,"div",9)(3,"h2"),Q(4,"Error"),F(),E(5,"p"),Q(6),F()(),J());a&2&&(a=b.$implicit,z(6),Sg(a))},O6a=function(a){a&1&&(E(0,"b-callout",1)(1,"b-callout-body"),Q(2),F()());a&2&&(a=N(),z(2),Sg(a.error))},P6a=function(a){a&1&&Kg(0)},Q6a=function(a){a&1&&(E(0,"span"),Q(1,"Details"),F())},R6a=function(a){a&1&&(E(0,"span"),Q(1,"Members"),F())},T6a=function(a){a&1&&(E(0,"div",13)(1,"a",14),P(2,
Q6a,2,0,"span",15),P(3,R6a,2,0,"span",15),F()());if(a&2){a=N(2);z(1);if(void 0===a.email)var b="";else{b=encodeURIComponent(a.getName());var c=encodeURIComponent(a.email);b=S6a(a.email)?"https://ganpati2.corp.google.com/group/"+b+".corp":Pxa(a.email)?"https://twosync.corp.google.com/rosterz/"+c:"https://groups.google.com/a/google.com/forum/#!members/"+b}D("href",b,Ie);z(1);D("ngIf",S6a(a.email));z(1);D("ngIf",!S6a(a.email))}},U6a=function(a){a&1&&(I(0),E(1,"span",2),P(2,P6a,1,0,"ng-container",3),
F(),E(3,"onedev-hovercard",null,4)(5,"div",5)(6,"div",6)(7,"div",7)(8,"div",8)(9,"div",9)(10,"h3"),Q(11),F()(),E(12,"div",10),H(13,"mat-icon",11),E(14,"span"),Q(15),F()()(),P(16,T6a,4,3,"div",12),F()()()(),J());if(a&2){var b=O(4);a=N();var c=O(2);z(1);D("onedevHovercardTrigger",b);z(1);D("ngTemplateOutlet",c);z(9);Sg(a.getName());z(4);Sg(a.email);z(1);D("ngIf",a.shouldShowLinks())}},V6a=function(a){a&1&&Og(0)},W6a=function(a,b){a&1&&H(0,"mat-icon",8);a&2&&D("svgIcon",b.ngIf)},X6a=function(a){a&1&&
(E(0,"b-person-hovercard",9),Q(1),F());a&2&&(a=N(),D("email",a.value),z(1),R(" ",a.displayText," "))},Y6a=function(a){a&1&&(E(0,"b-group-email-card",9),Q(1),F());a&2&&(a=N(),D("email",a.value),z(1),R(" ",a.displayText," "))},Z6a=function(a){a&1&&(E(0,"div"),Q(1),F());a&2&&(a=N(),z(1),R(" ",a.displayText," "))},$6a=function(a){if(a&1){var b=t();E(0,"div",10);K("click",function(){v(b);var c=N();return w(c.chipRemove.emit())});H(1,"mat-icon",11);F()}a&2&&(a=N(),Pg("matTooltip","'Remove ",a.displayText,
"'"),ug("aria-label","Remove "+a.displayText))},a7a=function(a,b){a&1&&(E(0,"div",19),H(1,"b-contact-chip",20),F());a&2&&(a=b.$implicit,b=N(2),z(1),D("value",a.value)("detailedUserType",a.detailedUserType)("principalType",a.principalType)("accessLevel",b.accessLevel)("displayText",a.displayText))},b7a=function(a){a&1&&(E(0,"div",12)(1,"div",13)(2,"div",14),P(3,a7a,2,5,"div",15),E(4,"div",16),H(5,"div",17)(6,"div",18),F()()()());a&2&&(a=N(),z(3),D("ngForOf",a.nestedChips))},c7a=function(a){a&1&&(I(0),
Q(1,", "),J())},d7a=function(a,b){a&1&&(I(0),Q(1),P(2,c7a,2,0,"ng-container",14),J());if(a&2){a=b.$implicit;b=b.last;var c=N(2);z(1);R(" ",c.convertUserToString(a)," ");z(1);D("ngIf",!b)}},e7a=function(a,b){if(a&1){var c=t();E(0,"tr",7);K("click",function(){var e=v(c).$implicit,f=N();return w(f.editHotlist(e))})("focus",function(){var e=v(c).index,f=N();return w(f.setFocusOnIndex(e))});H(1,"td",2);E(2,"td",8)(3,"a",9);K("click",function(e){return e.stopPropagation()});Q(4);F()();E(5,"td",10);Q(6);
F();E(7,"td",11);P(8,d7a,3,2,"ng-container",12);F();E(9,"td",13);Q(10);F()()}if(a&2){a=b.$implicit;b=b.index;var d=N();Fg("grid-focus",d.isFocused(b));ug("aria-selected",d.isFocused(b))("aria-label",d.renderRowLabel(b));z(3);D("href",d.paths.editHotlist(a.hotlistId),Ie);z(1);R(" ",a.name," ");z(2);R(" ",a.description," ");z(2);D("ngForOf",a.adminUsers);z(2);R(" ",a.hotlistId," ")}},f7a=function(a){if(a&1){var b=t();E(0,"button",9);K("click",function(){v(b);var c=N(2);return w(c.appEvents.dashboardPanels.moveToTop.next(c.panelId))});
Q(1," Move to top ");F()}},g7a=function(a){if(a&1){var b=t();E(0,"button",10);K("click",function(){v(b);var c=N(2);return w(c.appEvents.dashboardPanels.moveUp.next(c.panelId))});Q(1," Move up ");F()}},h7a=function(a){if(a&1){var b=t();E(0,"button",11);K("click",function(){v(b);var c=N(2);return w(c.appEvents.dashboardPanels.moveDown.next(c.panelId))});Q(1," Move down ");F()}},i7a=function(a){if(a&1){var b=t();E(0,"button",12);K("click",function(){v(b);var c=N(2);return w(c.appEvents.dashboardPanels.moveToBottom.next(c.panelId))});
Q(1," Move to bottom ");F()}},j7a=function(a){if(a&1){var b=t();P(0,f7a,2,0,"button",4);P(1,g7a,2,0,"button",5);P(2,h7a,2,0,"button",6);P(3,i7a,2,0,"button",7);E(4,"button",8);K("click",function(){v(b);var c=N();return w(c.removePanel())});Q(5," Remove ");F()}a&2&&(a=N(),D("ngIf",!a.first),z(1),D("ngIf",!a.first),z(1),D("ngIf",!a.last),z(1),D("ngIf",!a.last))},k7a=function(a){a&1&&(E(0,"span"),Q(1),F());a&2&&(a=N(),ug("title",a.getValue()),z(1),R(" ",a.getValue(),"\n"))},l7a=function(a){a&1&&H(0,
"b-custom-field-value-display",2);a&2&&(a=N(),D("customFieldValue",a.getCustomFieldValue()))},m7a=function(a){a&1&&H(0,"b-actions-menu",7);a&2&&(a=N(),D("menuItems",a.menuItems))},n7a=function(a){a&1&&(E(0,"span",8)(1,"strong"),Q(2),F(),Q(3,"\u00a0of\u00a0"),E(4,"strong"),Q(5),F()());a&2&&(a=N(),z(2),Tg("",a.searchResults.startIndex,"\u00a0-\u00a0",a.searchResults.endIndex,""),z(3),Sg(a.searchResults.totalText))},o7a=function(a){a&1&&(E(0,"div"),Q(1," Hotlist not found. "),F())},p7a=function(a){a&
1&&(E(0,"div"),Q(1," Loading details... "),F())},q7a=function(a){a&1&&H(0,"b-panel-controls",11);a&2&&(a=N(2),D("panelId",a.panel.panelId))},r7a=function(a){a&1&&(E(0,"span",12),Q(1," \u00a0(changed) "),F())},s7a=function(a){a&1&&(E(0,"div"),P(1,q7a,1,1,"b-panel-controls",6),E(2,"span",7),Q(3," Hotlist: "),E(4,"a",8)(5,"span",9),Q(6),F()()(),P(7,r7a,2,0,"span",10),F());a&2&&(a=N(),z(1),D("ngIf",a.isDashboardEditable),z(3),D("href",a.paths.viewHotlist(a.hotlistId),Ie),z(1),Qg("matTooltip",a.resource.description),
z(1),Sg(a.resource.name),z(1),D("ngIf",a.hasParamChanges()))},t7a=function(a){if(a&1){var b=t();E(0,"div",13)(1,"button",14);K("click",function(){v(b);var c=N();return w(c.save())});Q(2,"Save ");F();E(3,"button",15);K("click",function(){v(b);var c=N();return w(c.discardChanges())});Q(4," Discard changes ");F()()}},u7a=function(a){a&1&&(E(0,"span"),Q(1),F());a&2&&(a=N(3),z(1),R(" Searching for ",a.searchParams.query," ..."))},v7a=function(a){a&1&&(E(0,"div",19),H(1,"b-spinner",20),P(2,u7a,2,1,"span",
3),F());a&2&&(a=N(2),z(1),D("large",!1),z(1),D("ngIf",a.searchParams&&(null==a.searchParams?null:a.searchParams.query)))},w7a=function(a){a&1&&(E(0,"div",21),Q(1," No issues in hotlist. "),F())},y7a=function(a){if(a&1){var b=t();E(0,"div",22)(1,"b-issues-grid",23);K("init",function(c){v(b);var d=N(2);return w(x7a(d,c))})("focusedRowIndexChange",function(c){v(b);var d=N(2);return w(d.focusedRowIndex=c)})("columnsChange",function(c){v(b);var d=N(2);return w(d.issueColumns=c)})("sortChange",function(c){v(b);
var d=N(2);return w(d.setSort(c.field,c.direction))})("onRowDragDrop",function(c){v(b);var d=N(2);return w(d.repositionIssue(c.srcIndex,c.destIndex))})("rowClick",function(c){v(b);var d=N(2);return w(d.goToIssue(c.id,c.isRead,c.event))})("onNextPage",function(){v(b);var c=N(2);return w(c.goToPage(c.page+1))})("onPrevPage",function(){v(b);var c=N(2);return w(c.goToPage(c.page-1))});F()()}a&2&&(a=N(2),z(1),D("searchResults",a.searchResults)("focusedRowIndex",a.focusedRowIndex)("columns",a.issueColumns)("enableColumnSaving",
a.isColumnSaveEnabled)("sort",a.getSort()))},z7a=function(a){a&1&&(E(0,"div"),P(1,v7a,3,2,"div",16),P(2,w7a,2,0,"div",17),P(3,y7a,2,5,"div",18),F());a&2&&(a=N(),z(1),D("ngIf",a.isLoading),z(1),D("ngIf",!a.isLoading&&!(null==a.searchResults?0:null==a.searchResults.issues?0:a.searchResults.issues.length)),z(1),D("ngIf",!a.isLoading&&(null==a.searchResults?null:null==a.searchResults.issues?null:a.searchResults.issues.length)))},A7a=function(a){a&1&&(E(0,"div"),Q(1," Saved search not found. "),F())},
B7a=function(a){a&1&&(E(0,"div"),Q(1," Loading details... "),F())},C7a=function(a){a&1&&H(0,"b-panel-controls",11);a&2&&(a=N(2),D("panelId",a.panel.panelId))},D7a=function(a){a&1&&(E(0,"span",12),Q(1," \u00a0(changed) "),F())},E7a=function(a){a&1&&(E(0,"div",6),P(1,C7a,1,1,"b-panel-controls",7),E(2,"span",6),Q(3," Saved search: "),E(4,"a",8)(5,"span",9),Q(6),F()()(),P(7,D7a,2,0,"span",10),F());a&2&&(a=N(),z(1),D("ngIf",a.isDashboardEditable),z(3),D("href",a.paths.viewSavedSearch(a.savedSearchId),
Ie),z(1),Qg("matTooltip",a.resource.description),z(1),Sg(a.resource.name),z(1),D("ngIf",a.hasParamChanges()))},F7a=function(a,b){a&1&&(E(0,"span"),Q(1),F());a&2&&(a=b.ngIf,z(1),R("Searching for ",a,"..."))},G7a=function(a){a&1&&(E(0,"div",16),H(1,"b-spinner",17),P(2,F7a,2,1,"span",3),F());a&2&&(a=N(2),z(1),D("large",!1),z(1),D("ngIf",null==a.searchParams?null:a.searchParams.query))},H7a=function(a){a&1&&(E(0,"div",18),Q(1," No issues in saved search. "),F())},I7a=function(a){if(a&1){var b=t();E(0,
"div",19)(1,"b-issues-grid",20);K("init",function(c){v(b);var d=N(2);return w(x7a(d,c))})("focusedRowIndexChange",function(c){v(b);var d=N(2);return w(d.focusedRowIndex=c)})("columnsChange",function(c){v(b);var d=N(2);return w(d.columnsChange(c))})("sortChange",function(c){v(b);var d=N(2);return w(d.setSort(c.field,c.direction))})("rowClick",function(c){v(b);var d=N(2);return w(d.goToIssue(c.id,c.isRead,c.event))})("onNextPage",function(){v(b);var c=N(2);return w(c.goToPage(c.page+1))})("onPrevPage",
function(){v(b);var c=N(2);return w(c.goToPage(c.page-1))});F()()}a&2&&(a=N(2),z(1),D("searchResults",a.searchResults)("focusedRowIndex",a.focusedRowIndex)("columns",a.issueColumns)("enableColumnSaving",a.isColumnSaveEnabled)("sort",a.getSort()))},J7a=function(a){a&1&&(E(0,"div"),P(1,G7a,3,2,"div",13),P(2,H7a,2,0,"div",14),P(3,I7a,2,5,"div",15),F());a&2&&(a=N(),z(1),D("ngIf",a.isLoading),z(1),D("ngIf",!a.isLoading&&a.searchResults&&0===a.searchResults.issues.length),z(1),D("ngIf",!a.isLoading&&a.searchResults&&
0!==a.searchResults.issues.length))},K7a=function(a,b){a&1&&(E(0,"span",3)(1,"a",4),Q(2),F()());a&2&&(a=b.$implicit,z(1),Pg("routerLink","/teams/",a.id,"/edit"),D("preserveFragment",!0),z(1),Sg(a.name))},L7a=function(a){a&1&&(E(0,"p")(1,"span",6),Q(2,"NOTE:"),F(),Q(3),E(4,"a",7),Q(5,"Learn more"),F()());a&2&&(a=N(),z(3),R(" ",a.data.noteText," "),z(1),D("href",a.getDisablingFieldsHelpLink(),Ie))},M7a=function(a){a&1&&(I(0),H(1,"span",26)(2,"b-icon",27),J());a&2&&(a=N(),z(1),D("innerHTML",a.menuLabel,
He))},N7a=function(a){a&1&&(E(0,"div",28),Q(1," This includes emails about major updates and: "),E(2,"ul",29)(3,"li"),Q(4,"All title, hotlist, and status changes."),F(),E(5,"li"),Q(6,"Blocking, Blocked By, or Duplicate changes."),F(),E(7,"li"),Q(8,"Changes to Reporter, Verifier, and CCs."),F(),E(9,"li"),Q(10,"Changes to Type, Found In, Targeted To, Verified In, and In Prod. "),F(),E(11,"li"),Q(12,"Changes to custom fields marked as minor."),F()()())},O7a=function(a){a&1&&(E(0,"div",30),Q(1," This includes emails about: "),
E(2,"ul",29)(3,"li"),Q(4,"New comments."),F(),E(5,"li"),Q(6,"Priority or Severity changes."),F(),E(7,"li"),Q(8,"Assignee changes."),F(),E(9,"li"),Q(10,"Component changes."),F(),E(11,"li"),Q(12,"Issue closure or reopening."),F(),E(13,"li"),Q(14,"Changes to custom fields marked as major."),F()()())},P7a=function(a,b){a&1&&(E(0,"mat-option",6),Q(1),F());a&2&&(a=b.$implicit,D("value",a),z(1),R(" ",a.name," "))},Q7a=function(a){a&1&&(E(0,"span",11),Q(1," (must be between 30 days and 10 years) "),F())},
S7a=function(a){if(a&1){var b=t();E(0,"div",12)(1,"b-duration-picker",13);K("durationDaysChange",function(c){v(b);var d=N();d.model.retentionPeriodDays=null!==c&&void 0!==c?c:null;d.modelChange.emit(d.model);Dr(d);return w()});F();E(2,"div",14);Q(3);F()()}a&2&&(a=N(),z(1),D("disabled",a.issueRetentionDisabled)("durationDays",a.model.retentionPeriodDays),z(2),R(" Issues will be marked for deletion when they have not been modified for ",R7a(a.model.retentionPeriodDays),". "))},T7a=function(a){a&1&&
(E(0,"div",15)(1,"p"),Q(2,"Please note indefinite retention is not appropriate in many circumstances. Before selecting this option, you should make sure "),E(3,"b"),Q(4,"one or more"),F(),Q(5," of the following is true:"),F(),E(6,"ol")(7,"li"),Q(8,"There is no personal data, user data, or any other forms of sensitive data being stored."),F(),E(9,"li"),Q(10,"You have a process in place to manually delete this data within an approved period of time."),F(),E(11,"li"),Q(12,"Legal and Privacy have approved this non-standard retention period."),
F()()())},U7a=function(a){a&1&&(E(0,"span",11),Q(1," (Issue Retention is shorter than default Restricted Retention) "),F())},W7a=function(a){a&1&&(E(0,"span",11),Q(1),F());a&2&&(a=N(),z(1),R(" ",V7a(a)," "))},X7a=function(a){a&1&&(E(0,"div",21)(1,"p"),Q(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."),
F()())},Z7a=function(a){if(a&1){var b=t();E(0,"div",12)(1,"div")(2,"span",16);Q(3,"Restricted retention:");F();E(4,"b-duration-picker",17);K("durationDaysChange",function(c){v(b);var d=N();d.model.piiRetentionPeriodDays=null!==c&&void 0!==c?c:null;d.modelChange.emit(d.model);Dr(d);return w()});F()();E(5,"div",18)(6,"p");Q(7);F()();E(8,"div")(9,"span",16);Q(10,"Restricted+ retention:");F();E(11,"b-duration-picker",19);K("durationDaysChange",function(c){v(b);var d=N();d.model.spiiRetentionPeriodDays=
null!==c&&void 0!==c?c:null;d.modelChange.emit(d.model);Dr(d);return w()});F()();E(12,"div",18)(13,"p");Q(14);F()();P(15,X7a,3,0,"div",20);F()}a&2&&(a=N(),z(4),D("disabled",!Er(a))("durationDays",a.model.piiRetentionPeriodDays),z(3),R(" Restricted comments and attachments will be marked for deletion when the containing issue has not been modified for ",R7a(a.model.piiRetentionPeriodDays),". "),z(4),D("disabled",!Er(a))("durationDays",a.model.spiiRetentionPeriodDays),z(3),R(" Restricted+ comments and attachments will be marked for deletion when the containing issue has not been modified for ",
R7a(a.model.spiiRetentionPeriodDays),". "),z(1),D("ngIf",a.model.piiRetentionSelection===a.RetentionSelection.CUSTOM_PERIOD&&Y7a(a)))},$7a=function(a){a&1&&(E(0,"div",22)(1,"p"),Q(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."),F()())},Fr=function(a,b,
c,d){var e=a.slice(0,b);e=(e=a8a(e,c))&&e.index||0;var f=a.slice(b);c=(new RegExp(d||c,"gi")).exec(f);return{val:a.slice(e,(c?c.index:f.length)+b),idx:e}},a8a=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},Gr=function(a,b){return(void 0===b?0:b)?-1<a.search(/^\d+\+?$/):-1<a.search(/^\d+$/)},b8a=function(a){return"-"===a.charAt(0)?{negated:!0,token:a.slice(1)}:{negated:!1,token:a}},Hr=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?Nj(q,e):ka(q,e):!1});b=b.idx;for(var f=b+e.length,h=m(a),l=h.next();!l.done;l=h.next())l=l.value.completionCfg,l.startIdx=b,l.endIdx=f,l.matchingString=e;return a},Ir=function(a,b,c,d){return{trackId:b+":"+a,name:a,id:a,label:c,completionCfg:{enableShadowPlaceholder:!0,completionValue:a,type:d}}},e8a=function(a,b){if(a&1){var c=t();E(0,"div",9)(1,"div",10);K("click",function(d){var e=v(c).$implicit,f=N();e=e.key;
if(d=void 0===d?null:d)d.preventDefault(),d.stopPropagation();d=f.options.propertyValues[e];d.value=!d.value;c8a(f);d8a(f);f.optionsChange.emit(f.options);return w()});E(2,"mat-checkbox",11);K("change",function(d){var e=v(c).$implicit,f=N();e.value.value=d.checked;c8a(f);d8a(f);f.optionsChange.emit(f.options);return w()})("click",function(d){return d.stopPropagation()});Q(3);F()()()}a&2&&(a=b.$implicit,ug("aria-checked",a.value.value),z(2),D("checked",a.value.value),z(1),R(" ",a.value.displayString,
" "))},f8a=function(a){a&1&&(E(0,"div",12),Q(1),F());a&2&&(a=N(),z(1),R(" ",a.errorString," "))},h8a=function(a){if(a&1){var b=t();E(0,"span",4)(1,"input",5);K("ngModelChange",function(c){v(b);var d=N(2);return w(d.businessDayString=c)})("ngModelChange",function(){v(b);var c=N(2);return w(g8a(c))});F();E(2,"span",8);Q(3,"days,");F()()}a&2&&(a=N(2),z(1),Fg("ng-invalid",!!a.errorString),D("ngModel",a.businessDayString))},j8a=function(a,b){a&1&&(E(0,"mat-option",9),Q(1),F());a&2&&(a=b.$implicit,b=N(2),
D("value",a),z(1),R(" ",i8a(b,a)," "))},n8a=function(a){if(a&1){var b=t();E(0,"span",2);P(1,h8a,4,3,"span",3);E(2,"span",4)(3,"input",5);K("ngModelChange",function(c){v(b);var d=N();return w(d.intervalString=c)})("ngModelChange",function(){v(b);var c=N();return w(g8a(c))});F();E(4,"mat-select",6);K("ngModelChange",function(c){v(b);var d=N();return w(d.intervalUnit=c)})("selectionChange",function(){v(b);var c=N();k8a(c);l8a(c);return w()});P(5,j8a,2,2,"mat-option",7);F()()()}a&2&&(a=N(),z(1),D("ngIf",
2==a.dayType),z(2),Fg("invalid",!!a.errorString),D("ngModel",a.intervalString),z(1),D("ngModel",a.intervalUnit),z(1),D("ngForOf",2==a.dayType?[Jr,Kr]:[Jr,Kr,m8a]))},o8a=function(a){a&1&&(E(0,"span",13),Q(1),F());a&2&&(a=N(2),z(1),Tg(" ",a.objectiveBusinessDays," day",1!=a.objectiveBusinessDays?"s":""," "))},p8a=function(a){a&1&&(E(0,"span"),Q(1,", "),F())},q8a=function(a){a&1&&(E(0,"span"),P(1,p8a,2,0,"span",12),E(2,"span"),Q(3),F()());a&2&&(a=N(2),z(1),D("ngIf",a.objectiveBusinessDays),z(2),Tg("",
a.intervalString," ",i8a(a,a.intervalUnit),""))},r8a=function(a){a&1&&(E(0,"span",10),P(1,o8a,2,2,"span",11),P(2,q8a,4,3,"span",12),F());a&2&&(a=N(),z(1),D("ngIf",a.objectiveBusinessDays),z(1),D("ngIf",a.intervalString&&"0"!=a.intervalString))},t8a=function(a){if(a&1){var b=t();E(0,"b-icon",22);K("click",function(){v(b);var c=N(2);return w(s8a(c,0))});F()}a&2&&D("name","add")("size","small")},v8a=function(a){if(a&1){var b=t();E(0,"span",17)(1,"span",18)(2,"span",19);P(3,t8a,1,2,"b-icon",20);F();E(4,
"span",19)(5,"b-icon",21);K("click",function(c){v(b);var d=N();return w(u8a(d,c))});F()()()()}a&2&&(a=N(),z(3),D("ngIf",a.canPerformActions),z(2),D("name","delete")("size","small"))},w8a=function(a){a&1&&H(0,"td",42)},x8a=function(a){if(a&1){var b=t();E(0,"td",43)(1,"slo-element-property-picker",44);K("optionsChange",function(c){v(b);var d=N().$implicit;return w(d.typePickerValues=c)});F()()}a&2&&(a=N().$implicit,z(1),D("selectAllText","Any type")("validator",a.validateTypePicker)("options",a.typePickerValues))},
y8a=function(a){if(a&1){var b=t();E(0,"td",45)(1,"slo-element-property-picker",46);K("optionsChange",function(c){v(b);var d=N().$implicit;return w(d.priorityPickerValues=c)});F()()}a&2&&(a=N().$implicit,z(1),D("selectAllText","Any priority")("validator",a.validatePriorityPicker)("options",a.priorityPickerValues))},z8a=function(a){if(a&1){var b=t();E(0,"td",47)(1,"slo-element-property-picker",48);K("optionsChange",function(d){v(b);var e=N().$implicit;return w(e.postmortemPickerValues=d)});F()()}if(a&
2){a=N().$implicit;var c=N(2);z(1);D("selectAllText",c.postmortemAllSummaryValue)("validator",a.validatePostmortemPicker)("options",a.postmortemPickerValues)}},B8a=function(a,b){a&1&&(E(0,"mat-option",53),Q(1),F());a&2&&(a=b.$implicit,N(4),D("value",a),z(1),R(" ",0===a?" - ":A8a.get(a)," "))},C8a=function(a){if(a&1){var b=t();E(0,"td",49)(1,"mat-form-field",50)(2,"mat-select",51);K("ngModelChange",function(d){v(b);var e=N().$implicit;return w(e.selectedMetric=d)});P(3,B8a,2,2,"mat-option",52);F()()()}if(a&
2){a=N().$implicit;var c=N(2);z(2);D("ngModel",a.selectedMetric)("customValidators",a.metricValidators);z(1);D("ngForOf",c.metricChoices)}},D8a=function(a){if(a&1){var b=t();E(0,"td",54)(1,"slo-objective-selector",55);K("objectiveDurationChange",function(c){v(b);var d=N().$implicit;return w(d.selectedObjectiveDuration=c)})("objectiveBusinessDaysChange",function(c){v(b);var d=N().$implicit;return w(d.selectedObjectiveBusinessDays=c)});F()()}a&2&&(a=N().$implicit,z(1),D("dayType",a.selectedDayType)("objectiveDuration",
a.selectedObjectiveDuration)("objectiveBusinessDays",a.selectedObjectiveBusinessDays)("validator",a.validateObjective))},F8a=function(a,b){a&1&&(E(0,"mat-option",53),Q(1),F());a&2&&(a=b.$implicit,N(4),D("value",a),z(1),R(" ",E8a.get(a||1)," "))},G8a=function(a){if(a&1){var b=t();E(0,"td",56)(1,"mat-form-field",57)(2,"mat-select",58);K("ngModelChange",function(d){v(b);var e=N().$implicit;return w(e.selectedDayType=d)})("selectionChange",function(){v(b);var d=N().$implicit;2===d.selectedDayType?0===
d.selectedObjectiveDuration.getSeconds()%86400&&(d.selectedObjectiveBusinessDays=d.selectedObjectiveDuration.getSeconds()/86400,d.selectedObjectiveDuration.setSeconds(0)):(0===d.selectedObjectiveDuration.getSeconds()&&d.selectedObjectiveDuration.setSeconds(86400*d.selectedObjectiveBusinessDays),d.selectedObjectiveBusinessDays=0);return w()});P(3,F8a,2,2,"mat-option",52);F()()()}if(a&2){a=N().$implicit;var c=N(2);z(2);D("ngModel",a.selectedDayType);z(1);D("ngForOf",c.dayTypes)}},K8a=function(a){if(a&
1){var b=t();E(0,"td",59)(1,"span",18)(2,"span",19)(3,"b-icon",60);K("click",function(){v(b);var c=N(3);if(c.openRow)if(c.openRow.isValid())H8a(c.openRow.typePickerValues)&&H8a(c.openRow.priorityPickerValues)&&H8a(c.openRow.postmortemPickerValues)?c.confirmationDialogService.open({title:"SLO validation error",content:jp("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}):I8a(c);else{var d=c.openRow;(2!=d.selectedDayType?0<d.selectedObjectiveDuration.getSeconds():0<d.selectedObjectiveDuration.getSeconds()||0<d.selectedObjectiveBusinessDays)||c.confirmationDialogService.open({title:"SLO validation error",content:jp('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 w()});
F()();E(4,"span",19)(5,"b-icon",61);K("click",function(){v(b);var c=N().$implicit,d=N(2);return w(J8a(d,c))});F()()()()}a&2&&(z(3),D("name","done")("size","small"),z(2),D("name","delete")("size","small"))},L8a=function(a){a&1&&H(0,"td",62)},M8a=function(a){a&1&&(E(0,"div"),Q(1),F());a&2&&(a=N(2).$implicit,z(1),R("ERROR: ",a.parseResult.error,""))},N8a=function(a,b){a&1&&(E(0,"span",68)(1,"span",69),Q(2),F()());a&2&&(a=b.$implicit,z(2),Sg(a))},P8a=function(a){a&1&&(E(0,"span",66),P(1,N8a,3,1,"span",
67),F());if(a&2){a=N(2).$implicit;z(1);if(0===a.parseResult.types.length)a=["Any"];else{for(var b=[],c=m(a.controllerReference.sloParseService.jspbTypeToString.keys()),d=c.next();!d.done;d=c.next())d=d.value,a.parseResult.types.includes(d)&&b.push(O8a(a.controllerReference,d));a=b}D("ngForOf",a)}},Q8a=function(a){a&1&&(E(0,"td",63),P(1,M8a,2,1,"div",64),P(2,P8a,2,1,"span",65),F());a&2&&(a=N().$implicit,z(1),D("ngIf",a.parseResult.error),z(1),D("ngIf",!a.parseResult.error))},R8a=function(a){a&1&&(E(0,
"div"),Q(1),F());a&2&&(a=N(2).$implicit,z(1),R("ERROR: ",a.parseResult.error,""))},S8a=function(a,b){a&1&&(E(0,"span",68)(1,"span",69),Q(2),F()());a&2&&(a=b.$implicit,z(2),Sg(a))},U8a=function(a){a&1&&(E(0,"span",66),P(1,S8a,3,1,"span",67),F());if(a&2){a=N(2).$implicit;z(1);if(0===a.parseResult.priorities.length)a=["Any"];else{for(var b=[],c=m(a.controllerReference.sloParseService.jspbPriorityToString.keys()),d=c.next();!d.done;d=c.next())d=d.value,a.parseResult.priorities.includes(d)&&b.push(T8a(a.controllerReference,
d));a=b}D("ngForOf",a)}},V8a=function(a){a&1&&(E(0,"td",70),P(1,R8a,2,1,"div",64),P(2,U8a,2,1,"span",65),F());a&2&&(a=N().$implicit,z(1),D("ngIf",a.parseResult.error),z(1),D("ngIf",!a.parseResult.error))},W8a=function(a){a&1&&(E(0,"div"),Q(1),F());a&2&&(a=N(2).$implicit,z(1),R("ERROR: ",a.parseResult.error,""))},X8a=function(a,b){a&1&&(E(0,"span",68)(1,"span",69),Q(2),F()());a&2&&(a=b.$implicit,z(2),Sg(a))},Y8a=function(a){a&1&&(E(0,"span",66),P(1,X8a,3,1,"span",67),F());if(a&2){a=N(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])];D("ngForOf",a)}},Z8a=function(a){a&1&&(E(0,"td",71),P(1,W8a,2,1,"div",64),P(2,Y8a,2,1,"span",65),F());a&2&&(a=N().$implicit,z(1),D("ngIf",a.parseResult.error),z(1),D("ngIf",!a.parseResult.error))},$8a=function(a){a&1&&(E(0,"td",72),Q(1),F());a&2&&(a=N().$implicit,N(2),z(1),a=a.sloElement.getMetric(),
a=0===a?" - ":A8a.get(a),R(" ",a," "))},a9a=function(a){if(a&1){var b=t();E(0,"td",73)(1,"slo-objective-selector",74);K("objectiveDurationChange",function(c){v(b);var d=N().$implicit;return w(d.selectedObjectiveDuration=c)})("objectiveBusinessDaysChange",function(c){v(b);var d=N().$implicit;return w(d.selectedObjectiveBusinessDays=c)});F()()}a&2&&(a=N().$implicit,z(1),D("dayType",a.selectedDayType)("objectiveDuration",a.selectedObjectiveDuration)("objectiveBusinessDays",a.selectedObjectiveBusinessDays)("isDisabled",
!a.isEditingInternal))},b9a=function(a){a&1&&(E(0,"td",75),Q(1),F());a&2&&(a=N().$implicit,N(2),z(1),a=a.sloElement.getDayType(),a=E8a.get(a||1),R(" ",a," "))},d9a=function(a){if(a&1){var b=t();E(0,"b-icon",85);K("click",function(c){v(b);var d=N(2).$implicit,e=N(2);return w(c9a(e,d,c))});F()}a&2&&D("name","edit")("size","small")},e9a=function(a){a&1&&H(0,"b-icon",86);if(a&2){N();var b=O(8);D("name","more-settings-vertical")("size","small")("matMenuTriggerFor",b)}},g9a=function(a){if(a&1){var b=t();
E(0,"button",87);K("click",function(){v(b);var c=N(2).$implicit,d=N(2);return w(f9a(d,c,1))});Q(1," Move row down ");F()}},h9a=function(a){if(a&1){var b=t();E(0,"button",88);K("click",function(){v(b);var c=N(2).$implicit,d=N(2);return w(f9a(d,c,-1))});Q(1," Move row up ");F()}},j9a=function(a){if(a&1){var b=t();E(0,"td",76)(1,"span",18)(2,"span",19);P(3,d9a,1,2,"b-icon",77);F();E(4,"span",19)(5,"span");P(6,e9a,1,3,"b-icon",78);F();E(7,"mat-menu",null,79);P(9,g9a,2,0,"button",80);P(10,h9a,2,0,"button",
81);E(11,"button",82);K("click",function(){v(b);var d=N().$implicit,e=N(2);s8a(e,e.collection.indexOf(d)+1);return w()});Q(12," Add row below ");F();E(13,"button",83);K("click",function(){v(b);var d=N().$implicit,e=N(2);s8a(e,e.collection.indexOf(d));return w()});Q(14," Add row above ");F();E(15,"button",84);K("click",function(){v(b);var d=N().$implicit,e=N(2);return w(J8a(e,d))});Q(16," Remove ");F()()()()()}if(a&2){a=N().$implicit;var c=N(2);z(3);D("ngIf",a.canEdit);z(3);D("ngIf",a.canEdit);z(3);
D("ngIf",i9a(c,a,1).valid);z(1);D("ngIf",i9a(c,a,-1).valid)}},k9a=function(a,b){a&1&&(E(0,"tr",25),P(1,w8a,1,0,"td",26),P(2,x8a,2,3,"td",27),P(3,y8a,2,3,"td",28),P(4,z8a,2,3,"td",29),P(5,C8a,4,3,"td",30),P(6,D8a,2,4,"td",31),P(7,G8a,4,2,"td",32),P(8,K8a,6,4,"td",33),P(9,L8a,1,0,"td",34),P(10,Q8a,3,2,"td",35),P(11,V8a,3,2,"td",36),P(12,Z8a,3,2,"td",37),P(13,$8a,2,1,"td",38),P(14,a9a,2,4,"td",39),P(15,b9a,2,1,"td",40),P(16,j9a,17,4,"td",41),F());a&2&&(a=b.$implicit,b=N(2),Fg("draggable",!b.isDisabled&&
null==b.openRow),z(1),D("ngIf",a.isEditingInternal),z(1),D("ngIf",a.isEditingInternal),z(1),D("ngIf",a.isEditingInternal),z(1),D("ngIf",a.isEditingInternal),z(1),D("ngIf",a.isEditingInternal),z(1),D("ngIf",a.isEditingInternal),z(1),D("ngIf",a.isEditingInternal),z(1),D("ngIf",a.isEditingInternal),z(1),D("ngIf",!a.isEditingInternal),z(1),D("ngIf",!a.isEditingInternal),z(1),D("ngIf",!a.isEditingInternal),z(1),D("ngIf",!a.isEditingInternal),z(1),D("ngIf",!a.isEditingInternal),z(1),D("ngIf",!a.isEditingInternal),
z(1),D("ngIf",!a.isEditingInternal),z(1),D("ngIf",!a.isEditingInternal))},l9a=function(a){if(a&1){var b=t();E(0,"tbody",23);K("cdkDropListDropped",function(c){v(b);var d=N();return w(d.onDrop(c))});P(1,k9a,17,18,"tr",24);F()}a&2&&(a=N(),D("cdkDropListData",a.collection)("cdkDropListDisabled",a.isDisabled||null!=a.openRow),z(1),D("ngForOf",a.collection))},m9a=function(a){a&1&&(E(0,"div",89),Q(1," There are currently no rules for this SLO "),F())},n9a=function(a,b){if(a&1){var c=t();E(0,"tr",7);K("click",
function(){var e=v(c).$implicit,f=N();return w(f.editSlo(e))})("focus",function(){var e=v(c).index,f=N();return w(f.setFocusOnIndex(e))});H(1,"td",2);E(2,"td",8)(3,"a",9);K("click",function(e){return e.stopPropagation()});Q(4);F()();E(5,"td",10);Q(6);F()()}if(a&2){a=b.$implicit;b=b.index;var d=N();Fg("grid-focus",d.isFocused(b));ug("aria-selected",d.isFocused(b))("aria-label",d.renderRowLabel(b));z(3);D("href",d.paths.editSlo(a.sloId),Ie);z(1);R(" ",a.name," ");z(2);R(" ",a.description," ")}},o9a=
function(a){if(a)return(Array.isArray(a)?a.map(function(b){return Lj(b)}):[Lj(a)]).filter(function(b){return!isNaN(b)})},p9a=function(a,b){if(b&&!Array.isArray(b))return a.find(function(c){return!Lr(c,b)})},q9a=function(a,b){"string"===typeof a&&(a=a.trim())&&b(gk(a))},r9a=function(a,b){if(!a)return[];a=m("string"===typeof a?a.split(","):a);for(var c=a.next();!c.done;c=a.next())q9a(c.value,function(d){return b.push(d)});return Jna(b)},Mr=function(a){var b;return null!=(b=null==a?void 0:a.trim())?
b:""},Nr=function(a,b,c){b=[b,c].map(function(d){return null!=d?d:""}).join(";");a.setAttribute("pkd-ac-state",String(ji(b)))},s9a=function(a,b){b=[String(b.getId()),b.getValue()].join(";");a.setAttribute("pkd-target",String(ji(b)))},t9a=function(a,b){a.setAttribute("pkd-ps-state",String(ji("1")));b.warmUpCache().then(function(){a.setAttribute("pkd-ps-state",String(ji("2")))},function(){a.setAttribute("pkd-ps-state",String(ji("3")))})},x9a=function(a){var b=Aq(u9a,{id:Or(v9a)});a.appendChild(b);return new w9a(b)},
Pr=function(a,b){return a.querySelector('[peoplekit-id="'+b+'"]')},y9a=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"))})},Rr=function(a){return new Qr(a)},Sr=function(a,b){b=b.ownerDocument.createEvent("CustomEvent");b.initEvent(a,!0,!0);return b},A9a=function(a,b){return new z9a(a,b)},B9a=function(a,b,c){var d=Math.max(b,
c);return a>Math.min(b,c)&&a<d},D9a=function(a,b,c){return new Vr(new C9a(void 0===a?0:a,null!=b?b:[],null!=c?c:null))},Wr=function(a){if(a=a.getAttribute("pk-log")){var b=m(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},Xr=function(a,b,c,d){d=void 0===d?[]:d;d=void 0===d?[]:d;b=[Or(E9a),b,c.join(","),d.join(",")].join(";");b=ji(b);a.setAttribute("pk-log",String(b))},G9a=function(a){var b;
return Object.freeze({id:"ENOWEf",iconUrl:null==(b=F9a.get(a))?void 0:b.get("ENOWEf"),label:"Hide Suggestion",keyboardShortcut:[],veid:127674})},H9a=function(a){return a.map(function(b){if(Yr)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)}})},K9a=function(a,b){var c=Or(Zr.getInstance()),d=Object,e=d.assign;c=c+":"+a.id;var f=H9a(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("we`"+b);}d=Aq(I9a,e.call(d,{},a,{id:c,keyboardShortcut:f,densityClass:b}));a.veid&&Xr(d,a.veid,["impression","pk-click"]);return new J9a(d,a)},M9a=function(a){var b=new L9a([]);return new $r(a,b)},S9a=function(a,b,c,d,e){var f=N9a(c),h=as(a),l=bs(a);l&&h.intersection(O9a(l));P9a(h,zq(a),zq(c));a=
Q9a(a,b);b=h.left;a&4?b+=h.width:a&2&&(b+=h.width/2);h=new cs(b,h.top+(a&1?h.height:0));h=ds(h,f);a=Q9a(c,d);h=R9a(h,es(c),a).rect;c=bs(c);c.top-=f.y;c.right-=f.x;c.bottom-=f.y;c.left-=f.x;f=h;f.left<c.left?f.left=c.left:f.left+f.width>c.right&&(f.left=c.right-f.width);h=f;e&&(e=h,d&1?e.top<c.top&&(d=c.top-e.top,e.top+=d,e.height-=d):(d=e.top+e.height,d>c.bottom&&(e.height-=d-c.bottom)),h=e);return h},V9a=function(a,b){gs(a,new cs(b.left,b.top));b=b.getSize();T9a(es(a),b)||U9a(a,b)},W9a=function(a,
b,c){return new hs(a,b,c)},Z9a=function(a,b,c,d){var e=Aq(X9a);Xr(e,28041,["impression"]);var f=new Y9a(e);a.appendChild(e);return new is(e,b,c,f,d)},$9a=function(a){var b=new Image;b.src=a;a=b.complete;b.src="";return a},ks=function(a,b,c,d,e,f){e=void 0===e?new js:e;f=void 0===f?"":f;b=Aq(a$a,{imageUrls:b.map(function(h){return h||"https://lh3.googleusercontent.com/a/default-user"}),backupUrl:f||"https://lh3.googleusercontent.com/a/default-user",size:c,preloadSize:d,pixelRatio:b$a()});e=new c$a(b,
e);a.appendChild(b);return e},f$a=function(a,b){b=Aq(d$a,{label:b.label});a.appendChild(b);return new e$a(b)},h$a=function(a,b){for(var c=m(["peoplekitThemeLight","peoplekitThemeDark"]),d=c.next();!d.done;d=c.next())a.classList.remove(d.value);(b=g$a.get(b))&&a.classList.add(b)},k$a=function(a,b,c,d){b=Aq(i$a,{content:b,header:d});a.appendChild(b);a=f$a(Pr(b,"TvD9Pc"),{label:"Close"});h$a(b,c.getTheme());return new j$a(b,a)},m$a=function(a,b){var c="",d=0;b=m(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 l$a(l$a(er(c),"#\ufe0f\u20e3\u20e31\ufe0f\u20e3\u20e3","<b>"),"2\ufe0f\u20e3\u20e3*\ufe0f\u20e3\u20e3","</b>")},n$a=function(a){var b=a.getDisplayName();return b?m$a(b,a.getMatchInfo().getDisplayNameMatches()):""},o$a=function(a){var b=a.getDisplayValue();return b?m$a(b,a.getMatchInfo().getDisplayValueMatches()):
""},p$a=function(a,b){var c=b?n$a(a):er(a.getDisplayName());b=b?o$a(a):er(a.getDisplayValue());c=c||b;b=b||er(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()]}},s$a=function(a,b,c,d){var e=b.result();var f=p$a(e,!1),h=b.getDisplayNameWithOverrideApplied();e=er(h)||f.sublabel;var l=f.sublabel;b=f.photos;var q=f.hovercardId;f=ls;h='<div peoplekit-id="'+ms("tJHJj")+
'" class="'+ms("peoplekitComponentsHideconfirmationdialogImplHeader")+'" data-hovercard-id="'+ms(q)+'" data-name="'+ms(h)+'"><div class="'+ms("peoplekitComponentsHideconfirmationdialogImplHeaderRow")+'"><div class="'+ms("peoplekitComponentsHideconfirmationdialogImplLeft")+'">';q=ls('<div class="'+ms("peoplekitComponentsHideconfirmationdialogImplAvatar")+'"><div class="'+ms("peoplekitComponentsHideconfirmationdialogImplAvatarContainer")+'" peoplekit-id="'+ms("d6MZcd")+'"></div></div>');h=h+q+'</div><div class="'+
ms("peoplekitComponentsHideconfirmationdialogImplCenter")+'">';e=ls('<div class="'+ms("peoplekitComponentsHideconfirmationdialogImplLabelContainer")+'"><div peoplekit-id="'+ms("E0kCZc")+'" class="'+ms("peoplekitComponentsHideconfirmationdialogImplLabel")+" "+ms("peoplekitComponentsHideconfirmationdialogImplLabelRow")+'" translate="no">'+ns(ps(e))+"</div>"+(l?'<div class="'+ms("peoplekitComponentsHideconfirmationdialogImplSublabel")+" "+ms("peoplekitComponentsHideconfirmationdialogImplLabelRow")+'" translate="no">'+
ns(ps(l))+"</div>":"")+"</div>");l=f(h+e+"</div></div></div>");e=0===d?"Hide":"Show";f='<div peoplekit-id="'+ms("bN97Pc")+'" class="'+ms("peoplekitComponentsHideconfirmationdialogImplContent")+'"><div class="'+ms("peoplekitComponentsHideconfirmationdialogImplHeadline")+'">';f=(0==d?f+"Hide Suggestion?":f+"Show Suggestion?")+('</div><div class="'+ms("peoplekitComponentsHideconfirmationdialogImplDescription")+'">');d=ls((0==d?f+"This person will no longer be shown as a suggestion. To see them again, search for them while sharing a photo.":
f+"Suggest this person when showing people results.")+"</div></div>");d=Aq(q$a,{content:d,header:l});a.appendChild(d);a=f$a(Pr(d,"IbE0S"),{label:"Cancel"});e=e={confirmButtonText:e};e=e.confirmButtonText;l="";switch(Ta(e)?e.toString():e){case "Confirm":l+="Confirm";break;case "Hide":l+="Hide";break;case "Show":l+="Show";break;default:l+="Apply"}e=f$a(Pr(d,"McfNlf"),{label:l});h$a(d,c.getTheme());a=new r$a(d,a,e);d=Pr(a.getRoot(),"d6MZcd");ks(d,b,36,36,c);return new qs(a)},t$a=function(a){switch(a){case 0:return 40;
case 1:return 32;case 2:return 28;default:throw Error("we`"+a);}},rs=function(a){switch(a){case 0:return"googleMaterialDefaultDensity";case 1:return"workspaceMaterialComfortableDensity";case 2:return"workspaceMaterialCompactDensity";default:throw Error("we`"+a);}},u$a=function(){var a=void 0===a?10:a;var b="";if(1>a)return b;for(;b.length<a;)b+=Math.random().toString(36).substring(2);return b.length>a?b.substring(0,a):b},v$a=function(a){var b=a.getCaller(),c=a.getClient();a=a.getRequestType();return b&&
c&&a?JSON.stringify([b.serialize(),c.serialize(),a]):null},w$a=function(a){var b=new ss;if(a instanceof ts)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},ws=function(a){a=
void 0===a?null:a;var b=(new us).setExperimentFlags(new vs).setSource(3);a&&b.setError(w$a(a));return b},E$a=function(a){var b=void 0===b?new x$a:b;if(y$a)return y$a;var c=new z$a(a),d=new A$a(a);if(b.storage_)try{b.storage_.setItem("__sak","1");b.storage_.removeItem("__sak");var e=!0}catch(f){e=!1}else e=!1;b=e?new xs(a,b):new ys(a);b.clean();c=new B$a(new C$a(b,c),d);return y$a=new D$a(a,c)},G$a=function(a,b,c,d){var e=p$a(a,!0);a=F$a(a,e,b,d);b=a.sublabel;d=a.allowSublabelTranslation;c.customSublabel&&
(b=c.customSublabel.sublabel,d=c.customSublabel.shouldAllowTranslation);return{id:a.id,hovercardId:a.hovercardId,label:a.label,sublabel:c.shouldHideSublabel?"":b,photos:a.photos,densityClass:a.densityClass,tags:a.tags,allowSublabelTranslation:d}},F$a=function(a,b,c,d){var e=[];Tl(zs.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:Or(H$a),hovercardId:b.hovercardId,label:b.label,sublabel:b.sublabel,photos:b.photos,densityClass:d,tags:e,allowSublabelTranslation:!1}},K$a=function(a,b,c){var d="",e=er(a.getDescription()),f=!1,h=a.getMemberList().length;if(1<h||a.getDisplayName())d=a.getMemberList().map(function(l){var q="";if(l.getPrimaryTarget().getName()){var u,x;(q=(q=null==(u=l.getPrimaryTarget())?void 0:null==(x=u.getName())?void 0:x.getGivenName())?m$a(q,l.getMatchInfo().getGivenNameMatches()):"")||(q=
n$a(l))}q||(q=o$a(l));return q}),b&&(d=d.reverse()),d=n$a(a)||I$a({memberNames:d}),e||c||null===a.getTotalMemberCount()||(e=Number(a.getTotalMemberCount()),e=J$a({memberCount:e}),f=!0);else if(1===h)return d=a.getMemberList()[0],e=p$a(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:f}},M$a=function(a,b,c,d,e,f){a=K$a(a,d,e);if(a.flatResult)return f=F$a(a.flatResult,a,b,f),b=f.sublabel,d=f.allowSublabelTranslation,c.customSublabel&&(b=c.customSublabel.sublabel,d=c.customSublabel.shouldAllowTranslation),{id:f.id,hovercardId:f.hovercardId,label:f.label,sublabel:c.shouldHideSublabel?"":b,photos:f.photos,densityClass:f.densityClass,tags:f.tags,type:a.type,allowSublabelTranslation:d};b=a.sublabel;d=a.allowSublabelTranslation;c.customSublabel&&(b=
c.customSublabel.sublabel,d=c.customSublabel.shouldAllowTranslation);return{id:Or(L$a),hovercardId:a.hovercardId,label:a.label,sublabel:c.shouldHideSublabel?"":b,type:a.type,photos:a.photos,densityClass:f,tags:[],allowSublabelTranslation:d}},O$a=function(a,b,c,d,e,f){return new N$a(a,b,c,d,e,f)},Q$a=function(a,b){return new P$a(a,void 0===b?"":b)},R$a=function(a){var b=-1;(a=As(a))&&Km(a,2)&&(b=zj(a,2,0));return"index:"+b},X$a=function(a,b){var c=Aq(S$a,{icon:b.icon,tooltipLabel:b.tooltipLabel,ariaLabel:b.ariaLabel});
a.appendChild(c);var d=c.classList,e=d.add;a:{var f=b.density||0;switch(f){case 0:f="googleMaterialDefaultDensity";break a;case 1:f="workspaceMaterialComfortableDensity";break a;case 2:f="workspaceMaterialCompactDensity";break a;default:throw Error("we`"+f);}}e.call(d,f);if(b.tooltipLabel){e=c.getAttribute("data-tooltip-id")||"";d={label:b.tooltipLabel,ariaLabel:b.ariaLabel};e=Aq(T$a,{label:d.label,id:e,ariaLabel:d.ariaLabel});a.appendChild(e);var h=new U$a(e,d.showDelayMs,d.hideDelayMs);V$a(h,c)}return new W$a(c,
b.icon,b.disabledIcon,h,b.disableNavigationFocus,b.onClick)},Z$a=function(a,b,c,d){var e=Object.assign({},c);e.onClick=function(f){d.select(a.getSelection(),1);var h;null==(h=c.onClick)||h.call(c,f)};return new Y$a(a,b,e)},bab=function(a,b){var c=(new $$a).filterResult(b.result)===b.result;Tl(b.clientConfig.internal,7,!1)&&c?a=new aab(a,b.appearanceConfig,b.clientConfig,b.interactions):b.resultCustomization.secondaryActionButtonConfig&&(a=Z$a(a,b.appearanceConfig,b.resultCustomization.secondaryActionButtonConfig,
b.interactions));return a},cab=function(a,b){var c=(new $$a).filterResult(b.result)===b.result;Tl(b.clientConfig.internal,7,!1)&&!c&&(a=new Bs(a,b.appearanceConfig,b.clientConfig));return a},fab=function(){return function(a){var b=a.result;var c=a.selectionsState;var d=a.resultConfig,e=a.appearanceConfig,f=a.resultCustomization,h=G$a(b,d,f,rs(e.getDensity())),l=Aq(dab,h);Xr(l,25285,["impression","pk-select","pk-deselect"],[R$a(b.getPrimaryTarget().getLoggingToken())]);var q=Pr(l,"d6MZcd"),u=t$a(e.getDensity()),
x;f=null!=(x=f.backupAvatarUrl)?x:"";e=ks(q,h.photos,u,u,e,f);b=new eab(l,b,c,d,h.tags,e);c=new Cs(new Ds(b,c));return cab(bab(c,a),a)}},iab=function(a){return function(b){var c=b.result,d=b.resultConfig,e=b.appearanceConfig,f=b.clientConfig,h=b.resultCustomization;b=b.isRightToLeft;var l=c.getPrimaryTarget().getId();f=Es(l)||Fs(l)?M$a(c,d,h,b,Tl(f.internal,6,!1),rs(e.getDensity())):G$a(c,d,h,rs(e.getDensity()));b=Object;l=b.assign;a:switch(a){case 1:var q=ls('<div class="'+ms("peoplekitComponentsResultlistitemDisabledIconIndicator")+
'" aria-label="'+ms(". Already selected")+'">'+ls('<svg xmlns="http://www.w3.org/2000/svg" height="18px" viewBox="0 0 24 24" width="18px" class="'+(ms("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=ls("");break a;default:q='<div class="'+ms("peoplekitComponentsResultlistitemDisabledTextIndicator")+'">',q=ls(q+"DISABLED</div>")}b=Aq(gab,l.call(b,{},
f,{disableReason:q}));l=Pr(b,"d6MZcd");q=t$a(e.getDensity());var u;h=null!=(u=h.backupAvatarUrl)?u:"";e=ks(l,f.photos,q,q,e,h);return new hab(b,c,d,f.tags,e)}},kab=function(a,b,c,d,e,f,h,l){b=d.getResultCustomizationCallback()(a,b);var q=!!c.get(a.getPrimaryTarget().getId());if(b.shouldDisable)q=6;else{var u=a.getPrimaryTarget().getId();q=Fs(u)?3:Es(u)?2:q&&!d.getAllowResultDeselection()?5:1===a.getTargetList().length?1:1<a.getTargetList().length?4:0}q=jab.get(q);if(!q)throw Error("He");return q({result:a,
selectionsState:c,resultConfig:d,appearanceConfig:e,clientConfig:f,isRightToLeft:h,interactions:l,resultCustomization:b})},nab=function(a,b,c,d,e,f,h,l){h=Aq(lab,{header:h||""});a.appendChild(h);a=x9a(Pr(h,"tjneg"));return{resultList:new mab(a,b,c,d,e,f,l),list:a}},qab=function(a,b,c,d,e,f,h,l,q){a=nab(a,b,c,d,e,l,q,f);b=a.resultList;b=new oab(b,a.list,h);return new pab(b,f)},rab=function(a,b){A9a({getPrevKeyCode:function(){return 38},getNextKeyCode:function(){return 40}},{}).attach(a,b)},tab=function(a,
b){var c=sab({header:"Couldn't hide suggestion"});var d=ls("<div>There was a problem and this person could not be hidden</div>");return k$a(a,d,b,c)},uab=function(a,b){var c=sab({header:"Couldn't show suggestion"});var d=ls("<div>There was a problem and this person could not be shown in suggestions</div>");return k$a(a,d,b,c)},wab=function(a,b){return new vab(a,b)},xab=function(a){return a.map(function(b){return b.getLoggingToken()}).filter(Boolean)},Gs=function(a){return a.filter(function(b){return!b.isPlaceholder()}).map(function(b){return b.selectionToken().getLoggingToken()}).filter(Boolean)},
Hs=function(a,b,c,d){var e;d=m(d);for(var f=d.next();!f.done;f=d.next()){f=f.value;try{f(a,b,c)}catch(h){e||(e=h)}}if(e)throw e;},yab=function(a,b,c,d,e){e=m(e);for(var f=e.next();!f.done;f=e.next())f=f.value,f(a,b,c,d)},zab=function(a){var b=document.createElement("div"),c=a.veid,d=a.action;a=a.pairs;if(b){var e="";d&&d.length&&(e="; track:"+d.join(",").trim());d="";a&&a.length&&(d="; "+a.join("; ").trim());b.setAttribute("jslog",c+e+d);b.LSWHIf=void 0}return b},Aab=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})},Cab=function(a){if(Bab.has(a))return Bab.get(a);throw Error("Ke`"+a);},Eab=function(a){if(Dab.has(a))return Dab.get(a);throw Error("Le`"+a);},Fab=function(a){for(var b=new Map,c=m(Object.keys(a)),d=c.next();!d.done;d=c.next())d=d.value,b.set(a[d].string,a[d].xid);return b},Hab=function(a){return a?a.__owner?a.__owner:a.parentNode&&11===a.parentNode.nodeType?a.parentNode.host:
Gab(a):null},Jab=function(a,b){for(a=Hab(a);a&&!b(a);)a=Hab(a)},Lab=function(a,b,c,d,e,f){var h=c.beginSession(function(){},f.sessionOptions||new Is);return Kab(a,b,c,h,d,e,f)},Kab=function(a,b,c,d,e,f,h){f.internal.getClearcut().setInterfaceType(4);f.internal.getClearcut().setComponentFlow(7);var l=f.internal,q=e.getEnvironmentConfig(),u=q.experimentsConfig_.getProfileId();if(u)if(l.getExperiments().getIsEnabled()){var x=Cb(Mab||(Mab=Nab('[null,null,null,null,null,null,null,"AIzaSyBAMHkvD9gqERVdYmGsYLnAtfzigZdAqJQ"]')));
x=new Oab(x,7)}else x=new Js;else x=new Js;l=l.getExperiments();q=x.loadExperiments(l.getApplication(),(new Ks).setPeopleApiEnv(q.apiEnv_),u);zs=new Pab(l,q);q=Aq(Qab);a.appendChild(q);h$a(q,e.getTheme());Xr(q,64611,["impression"]);a=new Ls;u=e.getEntryPoint();u=new Rab(d,a,u);l=f.internal.getClearcut();x=new Sab(l);x=Ms(x);l=l.getInterfaceType();l=new Uab(new Vab(x,l));var y=new Wab(h.intelligence);h=Aq(Xab);q.appendChild(h);x=Aq(Yab);Xr(x,85843,["impression"]);h.appendChild(x);var G=Pr(x,"tjneg");
a:{var L=e.getAutocompleteHeader();var M=e.getAutocompleteCustomGrouping();switch(e.getAutocompleteGroupingType()){case 1:M=qab(G,e,e,f,a,u,new Zab(e.getAutocompleteGroupingLabel()),y,L);break a;case 2:M=qab(G,e,e,f,a,u,new $ab(e.getAutocompleteGroupingLabel()),y,L);break a;case 3:if(!M)break;M=qab(G,e,e,f,a,u,M,y,L);break a;case 4:if(M){y=Aq(lab,{header:L||""});G.appendChild(y);L=x9a(Pr(y,"tjneg"));M=new abb(L,e,e,f,a,u,M);Tl(f.internal,7,!1)&&rab(y,M.getNavigatable());M=new pab(M,u);break a}}M=
nab(G,e,e,f,a,y,L,u);M=new pab(M.resultList,u)}G=Pr(G,"rymPhb");b.setAttribute("aria-owns",G.id);b.setAttribute("aria-controls",G.id);G.setAttribute("aria-labelledby",b.id);y=e.getNoResultsMessage();G=Aq(bbb);y?y.display?y=new cbb(G,y):(y=Aq(dbb,y),G.appendChild(y),y=new ebb):y=new fbb;x.appendChild(G);l=new gbb(x,b,M,d,l,e,y);Tl(f.internal,7,!1)&&(l=new Ns(l,c,d,f,e));b=new hbb(h,b,l,a,e);t9a(b.getRoot(),c);c=f.internal.getClearcut();f=e.getEntryPoint();d=zs.getExperiments();Tl(d,2,!1)||Tl(c,6,!0)?
(d=new Os,l=KIa(),f=(new ibb).setClientId(c.getClientId()).setApplication(c.getSocialApplicationOrUndefined()).setEntryPoint(f).setVersionName("1.0").setBaselineCl(523619082),f=new Ps(d,1394,l,void 0,void 0,void 0,new jbb(f)),f.setClientSideLogOnlyForDevelopment(!c.getEnableClearcut()||!1),c=new kbb,d=zs.getExperimentIds(),c=Mb(c,3,d,ub),f.clearcut_.setClearExperimentIds(c),q.hasAttribute("pk-log")?(c=new lbb(new Qs(q),f),c=new mbb(q,c),c=new nbb(c)):c=new obb):c=new obb;c.start();return new pbb(q,
b,a,u,c,e)},rbb=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);qbb.lastIndex=0;for(var d=qbb.exec(a);d&&d.index<c;d=qbb.exec(a))b.push(a.substring(Number(qbb.lastIndex)));return b},vbb=function(a){a=Array.from(a).flatMap(function(f){return(f||"").split(sbb)}).filter(Boolean);if(!a.length)return a;var b=new Set;a=m(a);for(var c=a.next();!c.done;c=a.next()){c=Rs(tbb(c.value)).replace(ubb,"").toUpperCase().toLowerCase();
c=m(rbb(c).filter(Boolean));for(var d=c.next();!d.done;d=c.next())b.add(d.value)}var e="";return Array.from(b).sort().reverse().filter(function(f){if(e.startsWith(f))return!1;e=f;return!0})},xbb=function(a){var b;return wbb(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)})},ybb=function(a,b){return isFinite(a.fieldAffinity)?a.fieldAffinity:b&&Es(a.id)&&9!==a.id.getType()?isFinite(a.itemAffinity)?a.itemAffinity:-Infinity:-Infinity},
Bbb=function(a,b,c){if(Es(a.id)||Es(b.id)){var d=zbb.has(a.id.getType()),e=zbb.has(b.id.getType());if(d!==e)return d?-1:1;if(Es(a.id)&&Es(b.id))return Abb(a,b,c,!1)}d=ybb(a,c);c=ybb(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},Abb=function(a,b,c,d){var e=isFinite(a.itemAffinity)?a.itemAffinity:-Infinity,f=isFinite(b.itemAffinity)?b.itemAffinity:-Infinity;return e!==f?e>f?-1:1:d?Bbb(a,b,c):0},Gbb=function(a,
b,c){var d=Ss(b.getTargetType(),b.getValue()),e=[].concat(r(b.getProfileIdList().map(Cbb)),r(b.getContactIdList().map(Dbb)),r(b.getCustomSourceIdList().map(Ebb)));Fbb.includes(d.getType())&&e.push(d);return{id:d,containerIds:e,dataSource:b.getContactIdList().length?1:2,isMe:!!b.getIsMe(),isPrimary:a.getTargetList()[0]===b,itemAffinity:a.hasAffinity()?a.getAffinity().getValue():-Infinity,fieldAffinity:b.hasAffinity()?b.getAffinity().getValue():-Infinity,provenance:c,resultExtendedData:a.hasExtendedData()?
a.getExtendedData():void 0,targetData:b,resultData:a}},Hbb=function(a){return(a||"").trim()},Pbb=function(a){var b=a.resultData,c=a.targetData,d=Ibb(Ts(a.id).setDataSource(a.dataSource||0),!!a.isMe);a.containerIds&&(d.sourceIds_=a.containerIds||[]);b.hasResultType()&&Jbb(d,b.getResultType());c.hasValue()&&d.setValue(Hbb(c.getValue()));c.hasDescription()&&d.setDescription(c.getDescription());if(c.hasName()){var e=c.getName();d.setName((new Kbb).setDisplayName(e.getDisplayName()).setGivenName(e.getGivenName()).setFamilyName(e.getFamilyName()).setSourceType(e.getSourceType()))}c.hasPhoto()&&
(e=c.getPhoto(),d.setPhoto((new Us).setUrl(e.getUrl()).setType(e.getType()).setSourceType(e.getSourceType()).setGlyph(e.getGlyph())));if(b.hasTotalMemberCount()){var f;a.totalMemberCount=null!=(f=b.getTotalMemberCount())?f:void 0}b.hasAffinity()&&d.setPersonLoggingId(b.getAffinity().getLoggingId()||"");c.hasAffinity()&&d.setFieldLoggingId(c.getAffinity().getLoggingId()||"");c.hasOrgState()&&Lbb(d,c.getOrgState());c.hasDataSource()&&d.setDataSource(c.getDataSource());c.getTagList().length&&Mbb(d,c.getTagList().map(function(h){return Nbb(h.altText_).setIconUrl(h.getIconUrl())}));
c.hasExtendedData()&&Obb(d,c.getExtendedData());return d},Rbb=function(a){return a?Qbb.get(a)||0:0},Ubb=function(a){switch(a.getValueCase()){case 2:return Vs(a.getEmail().getValue()||"");case 3:var b=a.getPhone();return b.getOriginalValue()&&Db(b,2)?(a=Sbb(b.getOriginalValue()||""),b=Sbb(Db(b,2)||""),!a.equals(b)&&a.getValue().startsWith(b.getValue())?a:b):Sbb(Db(b,2)||b.getDisplayValue()||b.getOriginalValue()||"");case 4:a=Sl(a,Ws,4,Xs);if(a.hasProfileId())return a=a.getProfileId()||"",new Ys(8,
Mr(a).toLowerCase(),a);switch(Hk(a,Zs)){case 2:return a=a.getEmail()||"",new Ys(6,Mr(a).toLowerCase(),a);case 3:return Tbb(a.getPhone()||"")}}return $s},Wbb=function(a){return yj(a,Vbb,5).map(function(b){switch(b.getIdCase()){case 1:return Cbb(b.getProfileId()||"");case 2:return Dbb(b.getContactId()||"");default:return null}}).filter(Boolean)},Xbb=function(a,b){return Hl(a,at,3)&&Ok(a,at,3).getIsPlaceholder()?3:bt(b,8)?1:0},Ybb=function(a){return a&&a.hasAffinity()?Number(a.getAffinity().getValue_legacyNullable()):
-Infinity},Zbb=function(a){return a.hasAffinity()?Number(a.getAffinity().getValue_legacyNullable()):-Infinity},$bb=function(a){return!!a&&!!a.getPrimary()},bcb=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"+acb(a):""},dcb=function(a){var b=new ct,c=a?2:1;ccb(b.setEventType(4),
c).setToken(a);return b},fcb=function(a,b){var c=new dt;c=(new ct).setLookupInfo(c);et(c.setEventType(6),9).setItemCount(a.length).setQueryScope(ecb.get(b)||0);return c},gcb=function(){var a=new ct;et(a.setEventType(6),11);return a},hcb=function(){var a=new ct;et(a.setEventType(6),10);return a},icb=function(a,b){var c=new ct;et(c.setEventType(6),6).setQueryLength(a.length).setQueryScope(ecb.get(b)||0);return c},jcb=function(a){var b=new ct;et(b.setEventType(6),5).setQueryScope(ecb.get(a)||0);return b},
kcb=function(a,b){switch(a){case 8:case 3:case 17:return(new ft).setProfileId(b);case 1:case 6:return(new ft).setEmail(b);case 7:case 2:return(new ft).setPhone(b);default:return null}},ncb=function(a){return((a=yj(a,lcb,2).find(function(b){return 1===Db(b,1)}))?mcb.get(Db(a,2)):0)||0},qcb=function(a,b){b.hasAffinity()&&a.setFieldLoggingId(ocb(Nba(pq(b.getAffinity(),1))||""));if(b.hasName()){var c=b.getName(),d=a.setName,e=(new Kbb).setDisplayName(c.getValue()).setGivenName(c.getGivenName()).setFamilyName(c.getFamilyName()),
f=e.setSourceType;a:switch(c.getSourceType()){case 1:c=3;break a;case 2:c=4;break a;default:c=0}d.call(a,f.call(e,c))}b.hasPhoto()&&(b=b.getPhoto(),a.setPhoto((new Us).setUrl(b.getUrl()).setGlyph(b.getGlyph()).setType(pcb.get(b.getType())||0)))},scb=function(a,b){if(b.hasProfileId())switch(Hk(b,Zs)){case 2:var c=b.getEmail()||"";return rcb(Ts(a.id).setValue(b.getProfileId()||""),(new gt).setType(1).setValue(c));case 3:return c=b.getPhone()||"",rcb(Ts(a.id).setValue(b.getProfileId()||""),(new gt).setType(2).setValue(c));
default:return b=b.getProfileId()||"",Ts(a.id).setValue(b)}switch(Hk(b,Zs)){case 2:return b=b.getEmail()||"",rcb(Ts(a.id).setValue(b),(new gt).setType(1).setValue(b));case 3:return b=b.getPhone()||"",rcb(Ts(a.id).setValue(b),(new gt).setType(2).setValue(b));default:return b=b.getProfileId()||"",Ts(a.id).setValue(b)}},vcb=function(a,b){var c=Ibb(Ts(a.id),!!a.isMe);a.containerIds&&(c.sourceIds_=a.containerIds||[]);b&&qcb(c,b);a.group&&((b=yj(a.group,tcb,6).find(function(d){return null!=oq(d,1,ucb)}))?
c.setValue(oq(b,1,ucb)||""):a.group.hasGroupId()&&c.setValue(a.group.getGroupId()||""));a.targetExtendedData&&(c.extendedData_=a.targetExtendedData);a.target=c},xcb=function(a){return new wcb(a)},Acb=function(a){if(8===a.getTargetType()){var b=a.getOriginatingField();if(b&&(b=b.getType(),b=ycb.get(b)))return b}return(b=zcb.get(a.getTargetType()))?b:Es(a.getId())?8:0},Ccb=function(a,b,c){var d=new ht,e=new it;gl(d,it,2,e);e.setProvenance(b);b=new jt;gl(d,jt,1,b);k(b,9,1===c);b.setProfileId(a.getProfileId()||
null);b.setContactId(a.getContactId()||null);c=8===Acb(a)?8:a.getIsPersonalResult()?4:3;k(b,8,c);c=null;8===a.getTargetType()&&(e=a.getOriginatingField())&&ycb.has(e.getType())&&(c=e.getValue());c||(c=a.getValue());c&&b.setFieldValue(c);Es(a.getId())||b.setName(a.getName()?a.getName().getDisplayName():null);c=Acb(a);k(b,7,c);b.setFieldLoggingId(a.getFieldLoggingId()||null);b.setPersonLoggingId(a.getPersonLoggingId()||null);b.setIsPlaceholder(3===a.getDataSource());8===Db(b,7)&&b.setGroupId(a.getId().getValue());
return new Bcb(a,d)},Ecb=function(a){a=Dcb.indexOf(a.provenance);return 0>a?Dcb.length:a},Fcb=function(a){return a.containerIds&&a.containerIds.some(function(b){return 3===b.getType()})},Hcb=function(a,b){var c=a.getPrimaryTarget(),d=a.getTargetList().map(function(e){return e===c?b:e});return new Vr(new Gcb(a,d))},Jcb=function(a,b){b.useOriginalDisplayValue_&&(a=new Map(Array.from(a,function(c){var d=m(c);c=d.next().value;d=d.next().value;if(c.equals(d.getPrimaryTarget().getId())&&c.getOriginalValue()!==
d.getDisplayValue()&&d.getPrimaryTarget().getValue()===d.getDisplayValue()){var e=c.getOriginalValue(),f=d.getPrimaryTarget();d=Hcb(d,new Icb(f,e))}return[c,d]})));return a},Kcb=function(a){return 0!==a&&12!==a},Mcb=function(){return new Lcb(yd.apply(0,arguments))},Ocb=function(){return new Ncb(yd.apply(0,arguments))},Qcb=function(){var a=yd.apply(0,arguments);return 1===a.length?a[0]:new Pcb(a)},Rcb=function(a,b){return new Promise(function(c){0<b?setTimeout(function(){return c(a)},b):c(a)})},Scb=
function(a,b,c){b=Rcb(b,c);return Promise.race([a,b])},Tcb=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)}}},Wcb=function(a,b,c,d){b=Ucb(a,b).map(function(e){var f=m(e);e=f.next().value;f=f.next().value;return new kt(e,f)});c=Ucb(a,c).map(function(e){var f=m(e);e=f.next().value;f=f.next().value;return new kt(e,
f)});a=Ucb(a,d).map(function(e){var f=m(e);e=f.next().value;f=f.next().value;return new kt(e,f)});return new Vcb(b,c,a)},Xcb=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}},Ycb=function(a){return a.reduce(function(b,c){var d=Xcb(c);if(b.has(d)){var e;null==(e=b.get(d))||e.push(c)}else b.set(d,[c]);return b},new Map)},Zcb=function(a,b){b=void 0===b?new lt:b;var c=new Map;a=m(a);for(var d=a.next();!d.done;d=a.next()){d=
d.value;for(var e=m(d.data.keys()),f=e.next();!f.done;f=e.next())f=f.value,c.set(f,d.data.get(f))}return{data:c,metadata:b}},adb=function(a){return!a||a instanceof $cb?a:new $cb(a)},cdb=function(a){return bdb.get(a)||0},edb=function(a,b){var c=ddb(mt(new nt,"PeopleStore").setLogSource(tk(a,4,574)).setApplication(a.getSocialApplication()).setEnvironment(b.getPeopleApiEnv()).setVersion("1004").setBaselineCl(523619082).setEnableClearcut(a.getEnableClearcut()),[].concat(r(b.getExperiments().getExperimentIdsList()),
r(ot?ot.getExperimentIds():[]))).setClientAgent(2);b.getClearcutUrl()&&c.setClearcutUrl(b.getClearcutUrl());(a=yj(a,pt,5).find(function(d){return 0===d.getEntryPoint()}))&&c.setEventSource(qt(a,4));return c},fdb=function(a){return(Hl(a,rt,12)?Ok(Ok(a,rt,12),pt,2):a.getSources())||new pt},gdb=function(a){return(Hl(a,rt,12)?Ok(Ok(a,rt,12),pt,3):a.getSources())||new pt},hdb=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)},idb=function(a){if(!a.hasSessionState())return"";
a=a.getSessionState();return ol(a,3,0)+":"+ol(a,4,0)+":"+ol(a,5,0)+":"+a.getInstanceId()},jdb=function(a){return Hl(a,it,2)?As(a).getContext()||0:0},kdb=function(a){var b=new Map;a=m(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=c.getSessionState();d=d?ol(d,3,0)+"-"+ol(d,4,0)+"-"+ol(d,5,0)+"-"+d.getInstanceId():"";b.has(d)?b.get(d).push(c):b.set(d,[c])}return Array.from(b.values())},st=function(a,b,c,d){d=void 0===d?!1:d;a=a.filter(function(h){return!Tl(h,4,!1)});if(d){d=m(a);for(var e=
d.next();!e.done;e=d.next())k(e.value,4,!0)}if(c)for(d=a.filter(function(h){return h&&!h.hasSessionState()}),d=m(d),e=d.next();!e.done;e=d.next())e.value.setSessionState(c.clone());a=kdb(a);c=[];a=m(a);for(d=a.next();!d.done;d=a.next())if(d=d.value,e=d.find(function(h){return h&&h.hasSessionState()})){e=e.getSessionState();var f=new ldb;f.setSessionState(e);f.setEventType(b);ac(f,3,d);f.setEventSources(e.getSources());c.push(f)}return c},mdb=function(a){var b;a=a.getMetadata();a.hasCacheState()&&
(a=a.getCacheState(),a.hasSource()&&(b=a.getSource()));return b||new tt},ndb=function(a){a&1&&(E(0,"a",3),Q(1),U(2,"async"),F());if(a&2){a=N();var b;D("href",a.manageComponentLink,Ie);z(1);Sg(null==(b=V(2,2,a.component$))?null:b.name)}},odb=function(a){a&1&&(E(0,"output"),Q(1),F());a&2&&(a=N(),z(1),Sg(a.componentId))},pdb=function(a){a&1&&(E(0,"li")(1,"label"),Q(2,"Component"),F(),H(3,"b-async-component",6),F());a&2&&(a=N(2),z(3),D("componentId",a.issueComponentId))},qdb=function(a){a&1&&(E(0,"li")(1,
"label"),Q(2,"Team"),F(),H(3,"b-team-display",7),F());a&2&&(a=N(2),z(3),D("teamId",a.issueTeamId))},rdb=function(a){a&1&&(E(0,"ol",3)(1,"li")(2,"label"),Q(3,"ID"),F(),E(4,"output"),Q(5),F()(),E(6,"li")(7,"label"),Q(8,"Type"),F(),E(9,"output"),Q(10),F()(),E(11,"li")(12,"label"),Q(13,"Priority"),F(),H(14,"b-issue-priority-display",4),F(),E(15,"li")(16,"label"),Q(17,"Severity"),F(),E(18,"output"),Q(19),F()(),E(20,"li")(21,"label"),Q(22,"Status"),F(),E(23,"output"),Q(24),F()(),E(25,"li")(26,"label"),
Q(27,"Last modified"),F(),E(28,"output"),Q(29),U(30,"date"),F()(),P(31,pdb,4,1,"li",5),P(32,qdb,4,1,"li",5),F());a&2&&(a=N(),z(5),Sg(a.issueId),z(5),Sg(a.issueType),z(4),D("issuePriority",a.issuePriority),z(5),Sg(a.issueSeverity),z(5),Sg(a.issueStatus),z(5),Sg($g(30,8,a.issueLastModified,"medium")),z(2),D("ngIf",a.issueComponentId),z(1),D("ngIf",a.issueTeamId))},sdb=function(a){return a.startsWith('"')&&a.endsWith('"')||a.startsWith("'")&&a.endsWith("'")?a.toLowerCase().substr(1,a.length-2):a.toLowerCase()},
tdb=function(a){a.label||(a=Gj(a),a.label={customFieldId:void 0,field:"_TEXT_"});return a},vdb=function(a){return{type:udb[a.getType()],value:a.getValue()}},xdb=function(a){var b,c;return{type:wdb[a.getType()],values:(null!=(b=a.getValuesList())?b:[]).map(xdb),simpleValues:(null!=(c=yj(a,ydb,3))?c:[]).map(vdb)}},Cdb=function(a){var b,c=zdb[a.getType()],d=(null!=(b=a.getValuesList())?b:[]).map(xdb);b=Tl(a,3);if(a.hasLabel()){var e=a.getLabel();e={field:Adb[e.getField()],customFieldId:Number(e.getCustomFieldId())}}else e=
void 0;return{type:c,values:d,negated:b,label:e,operator:Bdb[tk(a,5,0)]}},Hdb=function(a){switch(a.getKindCase()){case 2:return{syntaxErrorResponse:{syntaxError:Dk(Sl(a,Ddb,2,Edb),1)},queryBuilderResponse:void 0};case 1:a=Sl(a,ut,1,Edb);var b;return{syntaxErrorResponse:void 0,queryBuilderResponse:{type:Fdb[a.getType()],expressions:(null!=(b=yj(a,Gdb,2))?b:[]).map(Cdb)}};default:return{syntaxErrorResponse:void 0,queryBuilderResponse:void 0}}},Idb=function(a){a&1&&(E(0,"span",11),Q(1," > "),F())},Kdb=
function(a,b){if(a&1){var c=t();E(0,"span")(1,"a",9);K("click",function(d){var e=v(c).$implicit,f=N(2);e=new vt(e.pathIds,e.pathNames);f.onTeamSelect.emit(e);d.stopPropagation();d.preventDefault();Jdb(f.autocompleteTrigger);return w()});Q(2);F();P(3,Idb,2,0,"span",10);F()}a&2&&(a=b.$implicit,b=b.last,z(1),D("matTooltip",a.pathNameText),z(1),Sg(a.name),z(1),D("ngIf",!b))},Ldb=function(a,b){a&1&&(E(0,"mat-option",6)(1,"div"),P(2,Kdb,4,3,"span",7),F(),E(3,"span",8),Q(4),U(5,"slice"),F()());a&2&&(a=b.$implicit,
D("value",a),z(2),D("ngForOf",a.teamPath),z(1),D("matTooltip",a.description),z(1),R("",ah(5,4,a.description,0,100)," "))},Mdb=function(a){return a.getTeamSuggestionsList().map(function(b){return new vt(b.getPathIdsList(),b.getPathNamesList(),b.getDescription())})},Ndb=function(a,b){a&1&&(E(0,"mat-option",5)(1,"div",6),Q(2),F()());a&2&&(a=b.$implicit,D("value",a),z(2),R(" ",a.name," "))},Odb=function(a,b){a&1&&(E(0,"mat-option",13),Q(1),F());a&2&&(a=b.$implicit,D("value",a.key),z(1),R(" ",a.value,
" "))},Pdb=function(a){if(a&1){var b=t();E(0,"mat-form-field",10)(1,"mat-select",11);K("ngModelChange",function(c){v(b);var d=N(2);return w(d.expressionType=c)});P(2,Odb,2,2,"mat-option",12);U(3,"keyvalue");F()()}a&2&&(a=N(2),z(1),D("ngModel",a.expressionType),z(1),D("ngForOf",V(3,2,a.globalTypeLabels)))},Qdb=function(a,b){a&1&&(E(0,"mat-option",13),Q(1),F());a&2&&(a=b.$implicit,D("value",a[0]),z(1),R(" ",a[1]," "))},Rdb=function(a,b){a&1&&(E(0,"mat-option",13),Q(1),F());if(a&2){a=b.$implicit;b=N(2).$implicit;
var c=N(2);D("value",a);z(1);R(" ",c.getTypeLabel(b,a)," ")}},Sdb=function(a){if(a&1){var b=t();E(0,"mat-form-field",10)(1,"mat-select",21);K("ngModelChange",function(c){v(b);var d=N().$implicit;return w(d.type=c)});P(2,Rdb,2,2,"mat-option",12);F()()}a&2&&(a=N().$implicit,z(1),D("ngModel",a.type),z(1),D("ngForOf",a.getLegalTypes()))},Tdb=function(a,b){if(a&1){var c=t();E(0,"div",28)(1,"mat-checkbox",29);K("change",function(d){var e=v(c).$implicit,f=N(3).$implicit;return w(f.enumValues[e.id]=d.checked)});
Q(2);F()()}a&2&&(a=b.$implicit,b=N(3).$implicit,z(1),D("checked",b.enumValues[a.id]),z(1),R(" ",a.label||a.id," "))},Udb=function(a){a&1&&(E(0,"div",26),P(1,Tdb,3,2,"div",27),F());a&2&&(a=N(2).$implicit,z(1),D("ngForOf",a.getOptions()))},Vdb=function(a){if(a&1){var b=t();E(0,"div")(1,"input",30);K("ngModelChange",function(c){v(b);var d=N(3).$implicit;return w(d.csv=c)});F()()}a&2&&(a=N(3).$implicit,z(1),D("ngModel",a.csv)("bContactAutocomplete","MULTI"))},Wdb=function(a){if(a&1){var b=t();E(0,"div",
22)(1,"input",31);K("ngModelChange",function(c){v(b);var d=N(3).$implicit;return w(d.csv=c)});F()()}a&2&&(a=N(3).$implicit,z(1),D("ngModel",a.csv))},Xdb=function(a){if(a&1){var b=t();E(0,"div",22)(1,"input",32);K("ngModelChange",function(c){v(b);var d=N(3).$implicit;return w(d.csv=c)});F()()}a&2&&(a=N(3).$implicit,z(1),D("ngModel",a.csv))},Ydb=function(a){if(a&1){var b=t();E(0,"div",22)(1,"input",33);K("ngModelChange",function(c){v(b);var d=N(3).$implicit;return w(d.csv=c)});F()()}a&2&&(a=N(3).$implicit,
z(1),D("ngModel",a.csv))},Zdb=function(a){a&1&&(E(0,"div"),P(1,Vdb,2,2,"div",24),P(2,Wdb,2,1,"div",18),P(3,Xdb,2,1,"div",18),P(4,Ydb,2,1,"div",18),F());a&2&&(a=N(2).$implicit,z(1),D("ngIf","user"==a.getWidgetType()),z(1),D("ngIf","csv"==a.getWidgetType()),z(1),D("ngIf","id"==a.getWidgetType()),z(1),D("ngIf","number"==a.getWidgetType()))},$db=function(a,b){if(a&1){var c=t();E(0,"div",37)(1,"div",38)(2,"input",33);K("ngModelChange",function(d){var e=v(c).$implicit;return w(e.value=d)});F()();E(3,"button",
39);K("click",function(){var d=v(c).$implicit,e=N(3).$implicit,f=N(2);return w(wt(f,e,d))});F()()}a&2&&(a=b.$implicit,z(2),D("ngModel",a.value))},aeb=function(a){if(a&1){var b=t();E(0,"button",40);K("click",function(){v(b);var c=N(3).$implicit,d=N(2);return w(xt(d,c))});Q(1);F()}a&2&&(a=N(3).$implicit,z(1),R(" + ","OR"==a.type||"NOR"==a.type?"OR":"AND"," "))},beb=function(a){a&1&&(E(0,"div",34),P(1,$db,4,1,"div",35),P(2,aeb,2,1,"button",36),F());a&2&&(a=N(2).$implicit,z(1),D("ngForOf",a.values),z(1),
D("ngIf",a.type))},deb=function(a){if(a&1){var b=t();E(0,"div",49);K("click",function(){v(b);var d=N(2).$implicit,e=N(5);return w(ceb(e,d))});U(1,"componentPath");E(2,"span",50);Q(3);U(4,"componentPath");F()()}if(a&2){a=N(2).$implicit;var c=N(5);D("title",V(1,2,c.components[a.value]));z(3);R(" ",V(4,4,c.components[a.value])," ")}},eeb=function(a){if(a&1){var b=t();E(0,"div",38)(1,"b-team-component-picker",51);K("selectedComponentChange",function(c){v(b);var d=N(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;yt(d);return w()});F()()}a&2&&(a=N(7),z(1),D("selectedComponent",a.componentUnderEdit)("placeholder","Choose Component")("isRequired",!0))},feb=function(a){if(a&1){var b=t();E(0,"div",43);P(1,deb,5,6,"div",44);P(2,eeb,2,3,"div",45);E(3,"button",46);K("click",function(){v(b);var d=N().$implicit;N(5);d.includeSubs=!d.includeSubs;
return w()});H(4,"mat-icon",47);F();E(5,"button",48);K("click",function(){v(b);var d=N().$implicit,e=N(3).$implicit,f=N(2);return w(wt(f,e,d))});F()()}if(a&2){a=N().$implicit;var c=N(5);z(1);D("ngIf",c.chipUnderEdit!==a);z(1);D("ngIf",c.chipUnderEdit===a);z(1);D("title",a.includeSubs?"Subcomponents are included":"Subcomponents are not included");ug("aria-checked",a.includeSubs);z(1);D("svgIcon",a.includeSubs?"child-components-24px":"child-components-hide-24px")}},geb=function(a,b){a&1&&(I(0),P(1,
feb,6,5,"div",42),J());a&2&&(a=b.$implicit,b=N(5),z(1),D("ngIf",b.chipUnderEdit===a||a.value))},heb=function(a){if(a&1){var b=t();E(0,"button",40);K("click",function(){v(b);var c=N(3).$implicit,d=N(2);return w(xt(d,c))});Q(1);F()}a&2&&(a=N(3).$implicit,z(1),R(" + ","OR"==a.type||"NAND"==a.type?"OR":"AND"," "))},ieb=function(a){a&1&&(E(0,"div",34),P(1,geb,2,1,"ng-container",41),P(2,heb,2,1,"button",36),F());a&2&&(a=N(2).$implicit,z(1),D("ngForOf",a.values),z(1),D("ngIf",a.type))},keb=function(a){if(a&
1){var b=t();E(0,"div",49);K("click",function(){v(b);var d=N(2).$implicit,e=N(5);return w(jeb(e,d))});E(1,"span",50);Q(2);F()()}if(a&2){a=N(2).$implicit;var c=N(5);D("title",null==c.trackers[a.value]?null:c.trackers[a.value].name);z(2);R(" ",null==c.trackers[a.value]?null:c.trackers[a.value].name," ")}},leb=function(a){if(a&1){var b=t();E(0,"div",38)(1,"b-tracker-picker",54);K("onTrackerSelect",function(c){v(b);var d=N(7);d.analytics.trackEvent(Mp.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;yt(d);return w()});F()()}a&2&&(a=N(7),z(1),D("selectedTracker",a.trackerUnderEdit))},meb=function(a){if(a&1){var b=t();E(0,"div",53);P(1,keb,3,2,"div",44);P(2,leb,2,1,"div",45);E(3,"button",48);K("click",function(){v(b);var d=N().$implicit,e=N(3).$implicit,f=N(2);return w(wt(f,e,d))});F()()}if(a&2){a=N().$implicit;var c=N(5);z(1);D("ngIf",c.chipUnderEdit!==a);z(1);D("ngIf",c.chipUnderEdit===
a)}},neb=function(a,b){a&1&&(I(0),P(1,meb,4,2,"div",52),J());a&2&&(a=b.$implicit,b=N(5),z(1),D("ngIf",b.chipUnderEdit===a||a.value))},oeb=function(a){if(a&1){var b=t();E(0,"button",40);K("click",function(){v(b);var c=N(3).$implicit,d=N(2);return w(xt(d,c))});Q(1);F()}a&2&&(a=N(3).$implicit,z(1),R(" + ","OR"==a.type||"NAND"==a.type?"OR":"AND"," "))},peb=function(a){a&1&&(E(0,"div",34),P(1,neb,2,1,"ng-container",41),P(2,oeb,2,1,"button",36),F());a&2&&(a=N(2).$implicit,z(1),D("ngForOf",a.values),z(1),
D("ngIf",a.type))},reb=function(a){if(a&1){var b=t();E(0,"div",49);K("click",function(){v(b);var d=N(2).$implicit,e=N(6);return w(qeb(e,d))});U(1,"teamPath");E(2,"span",50);Q(3);U(4,"teamPath");F()()}if(a&2){a=N(2).$implicit;var c=N(6);D("title",V(1,2,c.teams[a.value]));z(3);R(" ",V(4,4,c.teams[a.value])," ")}},teb=function(a){if(a&1){var b=t();E(0,"div",38)(1,"b-team-picker",58);K("onTeamSelect",function(c){v(b);var d=N(8);return w(seb(d,c))});F()()}a&2&&(a=N(8),z(1),D("teamSelected",a.teamUnderEdit))},
ueb=function(a){if(a&1){var b=t();E(0,"div",56);P(1,reb,5,6,"div",44);P(2,teb,2,1,"div",45);E(3,"button",57);K("click",function(){v(b);var d=N().$implicit;N(6);d.includeSubs=!d.includeSubs;return w()});H(4,"mat-icon",47);F();E(5,"button",48);K("click",function(){v(b);var d=N().$implicit,e=N(4).$implicit,f=N(2);return w(wt(f,e,d))});F()()}if(a&2){a=N().$implicit;var c=N(6);z(1);D("ngIf",c.chipUnderEdit!==a);z(1);D("ngIf",c.chipUnderEdit===a);z(1);D("title",a.includeSubs?"Subteams are included":"Subteams are not included");
ug("aria-checked",a.includeSubs);z(1);D("svgIcon",a.includeSubs?"child-teams-24px":"child-teams-hide-24px")}},veb=function(a,b){a&1&&(I(0),P(1,ueb,6,5,"div",55),J());a&2&&(a=b.$implicit,b=N(6),z(1),D("ngIf",b.chipUnderEdit===a||a.value))},web=function(a){if(a&1){var b=t();E(0,"button",40);K("click",function(){v(b);var c=N(4).$implicit,d=N(2);return w(xt(d,c))});Q(1);F()}a&2&&(a=N(4).$implicit,z(1),R(" + ","OR"==a.type||"NAND"==a.type?"OR":"AND"," "))},xeb=function(a){a&1&&(I(0),P(1,veb,2,1,"ng-container",
41),P(2,web,2,1,"button",36),J());a&2&&(a=N(3).$implicit,z(1),D("ngForOf",a.values),z(1),D("ngIf",a.type))},yeb=function(a){a&1&&(E(0,"div",34),P(1,xeb,3,2,"ng-container",24),F());a&2&&(a=N(4),z(1),D("ngIf",a.sessionIsInternal))},Aeb=function(a){if(a&1){var b=t();E(0,"div")(1,"bv2-input-date-picker",59);K("boundValueChange",function(c){v(b);N(3).$implicit.dateFrom=zeb(c);return w()});F();Q(2," and ");E(3,"bv2-input-date-picker",59);K("boundValueChange",function(c){v(b);N(3).$implicit.dateTo=zeb(c);
return w()});F()()}a&2&&(a=N(3).$implicit,z(1),D("boundValue",a.dateFrom)("isRequired",!0),z(2),D("boundValue",a.dateTo)("isRequired",!0))},Beb=function(a){if(a&1){var b=t();E(0,"div");Q(1," the last ");E(2,"input",60);K("ngModelChange",function(c){v(b);var d=N(3).$implicit;return w(d.duration=c)});F();Q(3," days. ");F()}a&2&&(a=N(3).$implicit,z(2),D("ngModel",a.duration))},Ceb=function(a){if(a&1){var b=t();E(0,"div")(1,"bv2-input-date-picker",59);K("boundValueChange",function(c){v(b);N(3).$implicit.dateFrom=
zeb(c);return w()});F()()}a&2&&(a=N(3).$implicit,z(1),D("boundValue",a.dateFrom)("isRequired",!0))},Deb=function(a){a&1&&(E(0,"div"),P(1,Aeb,4,4,"div",24),P(2,Beb,4,1,"div",24),P(3,Ceb,2,2,"div",24),F());a&2&&(a=N(2).$implicit,z(1),D("ngIf","RANGE"==a.type||"NRANGE"==a.type),z(1),D("ngIf","DURATION"==a.type||"NDURATION"==a.type),z(1),D("ngIf","LE"==a.type||"LT"==a.type||"GE"==a.type||"GT"==a.type||"OR"==a.type))},Eeb=function(a){if(a&1){var b=t();E(0,"div",49);K("click",function(){v(b);var d=N(2).$implicit,
e=N(5);return w(zt(e,d))});E(1,"span",50);Q(2);F()()}if(a&2){a=N(2).$implicit;var c=N(5);D("title",(null==c.hotlists[a.value]?null:c.hotlists[a.value].name)||a.value);z(2);R(" ",(null==c.hotlists[a.value]?null:c.hotlists[a.value].name)||a.value," ")}},Feb=function(a,b){a&1&&(E(0,"mat-option",13),Q(1),F());a&2&&(a=b.$implicit,D("value",a.hotlistId),z(1),R(" ",a.name," "))},Geb=function(a){if(a&1){var b=t();E(0,"mat-form-field",64)(1,"mat-select",65);K("ngModelChange",function(d){v(b);var e=N(2).$implicit;
return w(e.value=d)})("selectionChange",function(){v(b);var d=N(7);return w(yt(d))});P(2,Feb,2,2,"mat-option",12);F()()}if(a&2){a=N(2).$implicit;var c=N(5);z(1);D("ngModel",a.value);z(1);D("ngForOf",c.userHotlists)}},Heb=function(a){if(a&1){var b=t();E(0,"div",62);P(1,Eeb,3,2,"div",44);P(2,Geb,3,2,"mat-form-field",63);E(3,"button",48);K("click",function(){v(b);var d=N().$implicit,e=N(3).$implicit,f=N(2);return w(wt(f,e,d))});F()()}if(a&2){a=N().$implicit;var c=N(5);z(1);D("ngIf",c.chipUnderEdit!==
a);z(1);D("ngIf",c.chipUnderEdit===a)}},Ieb=function(a,b){a&1&&(I(0),P(1,Heb,4,2,"div",61),J());a&2&&(a=b.$implicit,b=N(5),z(1),D("ngIf",b.chipUnderEdit===a||a.value))},Jeb=function(a){if(a&1){var b=t();E(0,"button",40);K("click",function(){v(b);var c=N(3).$implicit,d=N(2);return w(xt(d,c))});Q(1);F()}a&2&&(a=N(3).$implicit,z(1),R(" + ","OR"==a.type||"NAND"==a.type?"OR":"AND"," "))},Keb=function(a){a&1&&(E(0,"div",34),P(1,Ieb,2,1,"ng-container",41),P(2,Jeb,2,1,"button",36),F());a&2&&(a=N(2).$implicit,
z(1),D("ngForOf",a.values),z(1),D("ngIf",a.type))},Leb=function(a){if(a&1){var b=t();E(0,"div",49);K("click",function(){v(b);var d=N(2).$implicit,e=N(5);return w(zt(e,d))});E(1,"span",50);Q(2);F()()}if(a&2){a=N(2).$implicit;var c=N(5);D("title",(null==c.savedSearches[a.value]?null:c.savedSearches[a.value].name)||a.value);z(2);R(" ",(null==c.savedSearches[a.value]?null:c.savedSearches[a.value].name)||a.value," ")}},Meb=function(a,b){a&1&&(E(0,"mat-option",13),Q(1),F());a&2&&(a=b.$implicit,D("value",
a.searchId),z(1),R(" ",a.name," "))},Neb=function(a){if(a&1){var b=t();E(0,"mat-form-field",64)(1,"mat-select",66);K("ngModelChange",function(d){v(b);var e=N(2).$implicit;return w(e.value=d)})("selectionChange",function(){v(b);var d=N(7);return w(yt(d))});P(2,Meb,2,2,"mat-option",12);F()()}if(a&2){a=N(2).$implicit;var c=N(5);z(1);D("ngModel",a.value);z(1);D("ngForOf",c.userSavedSearches)}},Oeb=function(a){if(a&1){var b=t();E(0,"div",62);P(1,Leb,3,2,"div",44);P(2,Neb,3,2,"mat-form-field",63);E(3,"button",
48);K("click",function(){v(b);var d=N().$implicit,e=N(3).$implicit,f=N(2);return w(wt(f,e,d))});F()()}if(a&2){a=N().$implicit;var c=N(5);z(1);D("ngIf",c.chipUnderEdit!==a);z(1);D("ngIf",c.chipUnderEdit===a)}},Peb=function(a,b){a&1&&(I(0),P(1,Oeb,4,2,"div",61),J());a&2&&(a=b.$implicit,b=N(5),z(1),D("ngIf",b.chipUnderEdit===a||a.value))},Qeb=function(a){if(a&1){var b=t();E(0,"button",40);K("click",function(){v(b);var c=N(3).$implicit,d=N(2);return w(xt(d,c))});Q(1);F()}a&2&&(a=N(3).$implicit,z(1),R(" + ",
"OR"==a.type||"NAND"==a.type?"OR":"AND"," "))},Reb=function(a){a&1&&(E(0,"div",34),P(1,Peb,2,1,"ng-container",41),P(2,Qeb,2,1,"button",36),F());a&2&&(a=N(2).$implicit,z(1),D("ngForOf",a.values),z(1),D("ngIf",a.type))},Seb=function(a){a&1&&(E(0,"div",22),P(1,Udb,2,1,"div",23),P(2,Zdb,5,4,"div",24),P(3,beb,3,2,"div",25),P(4,ieb,3,2,"div",25),P(5,peb,3,2,"div",25),P(6,yeb,2,1,"div",25),P(7,Deb,4,3,"div",24),P(8,Keb,3,2,"div",25),P(9,Reb,3,2,"div",25),F());if(a&2){a=N().$implicit;var b=N(2);z(1);D("ngIf",
"enum"===a.getWidgetType());z(1);D("ngIf",a instanceof At);z(1);D("ngIf","text"==a.getWidgetType());z(1);D("ngIf","component"==a.getWidgetType());z(1);D("ngIf",b.isTrackerSearchEnabled&&"tracker"==a.getWidgetType());z(1);D("ngIf","team"==a.getWidgetType());z(1);D("ngIf","date"===a.getWidgetType());z(1);D("ngIf","hotlist"==a.getWidgetType());z(1);D("ngIf","savedsearch"==a.getWidgetType())}},Teb=function(a){a&1&&(E(0,"div",67),Q(1),F());if(a&2){a=N().$implicit;var b=N(2);z(1);R(" ",b.getCustomFieldName(a),
" ")}},Web=function(a){if(a&1){var b=t();E(0,"div",68)(1,"b-custom-field-picker",69);K("fieldSelected",function(c){v(b);var d=N().index,e=N(2),f=c.customFieldId;e.customFields[f]=c;e.expressions[d]=Ueb(e.searchRuleFactory,"CUSTOM_FIELD",e.customFields[f]);Veb(e,e.expressions[d]);return w()});F()()}},Yeb=function(a,b){if(a&1){var c=t();E(0,"div",14)(1,"div",15)(2,"mat-form-field",10)(3,"mat-select",16);K("ngModelChange",function(d){var e=v(c).$implicit;return w(e.label.field=d)})("selectionChange",
function(){var d=v(c).index,e=N(2);return w(Xeb(e,d))});P(4,Qdb,2,2,"mat-option",12);F()();P(5,Sdb,3,2,"mat-form-field",3);F();E(6,"button",17);K("click",function(){var d=v(c).$implicit,e=N(2);return w(e.removeExpression(d))});F();P(7,Seb,10,9,"div",18);P(8,Teb,2,1,"div",19);P(9,Web,2,0,"div",20);F()}a&2&&(a=b.$implicit,b=N(2),z(3),D("ngModel",a.label.field),z(1),D("ngForOf",b.availableLabels),z(1),D("ngIf",!a.isPendingCustomField),z(2),D("ngIf",!a.isPendingCustomField),z(1),D("ngIf",a.label.customFieldId),
z(1),D("ngIf",a.isPendingCustomField))},Zeb=function(a,b){if(a&1){var c=t();E(0,"button",70);K("click",function(){var d=v(c).$implicit,e=N(2);e.expressions.push({label:{field:d[0]}});Xeb(e,e.expressions.length-1);return w()});Q(1);F()}a&2&&(a=b.$implicit,z(1),R(" ",a[1]," "))},$eb=function(a){a&1&&(E(0,"div",1)(1,"span",2),Q(2,"Advanced search query builder"),F(),P(3,Pdb,4,4,"mat-form-field",3),P(4,Yeb,10,6,"div",4),E(5,"div",5)(6,"button",6),Q(7),F(),E(8,"mat-menu",7,8),P(10,Zeb,2,1,"button",9),
F()()());if(a&2){var b=O(9);a=N();z(3);D("ngIf",a.expressions.length);z(1);D("ngForOf",a.expressions)("ngForTrackBy",a.trackByIndex);z(2);D("matMenuTriggerFor",b);z(1);R(" ",a.expressionType," ... ");z(3);D("ngForOf",a.availableLabels)}},afb=function(a){return{experimentId:a.getExperimentId(),state:a.getState(),userGroup:tk(a,3,0),title:a.getTitle(),description:a.getDescription(),learnMoreLink:Dk(a,6)}},bfb=function(a){a&1&&H(0,"div",3)},cfb=function(a){a&1&&H(0,"div",4)},efb=function(a){if(a&1){var b=
t();E(0,"button",2);K("click",function(){v(b);var c=N();return w(dfb(c))});H(1,"mat-icon",3);Q(2);F()}a&2&&(a=N(),D("matTooltip","Open release notes"),z(1),D("svgIcon",a.alertMode?"release-notes-alert":"release-notes-default"),z(1),R(" ",a.buttonLabel," "))},ffb=function(a){if(a&1){var b=t();E(0,"button",4);K("click",function(){v(b);var c=N();return w(dfb(c))});Q(1);F()}a&2&&(a=N(),z(1),R(" ",a.buttonLabel," "))},gfb=function(a){if(a&1){var b=t();E(0,"button",9);K("click",function(c){v(b);var d=N();
return w(d.manageSlos(c))});Q(1,"Manage SLOs");F()}},hfb=function(a){a&1&&(E(0,"a",13),Q(1,"Early Access "),H(2,"b-feature-stage-label",14),F())},ifb=function(a){a&1&&(I(0),H(1,"mat-divider")(2,"b-whats-new-button",15),J());a&2&&(z(2),D("menuMode",!0))},jfb=function(a){a&1&&H(0,"b-whats-new-button",4);a&2&&(a=N(),D("alertMode",a.majorReleaseNotesUpdated))},kfb=function(a){if(a&1){var b=t();E(0,"button",5);K("click",function(){v(b);N().userFeedback.startFeedback();return w()});H(1,"mat-icon",6);F()}},
lfb=function(a,b){if(a&1){var c=t();E(0,"button",6);K("click",function(){var d=v(c).$implicit,e=N();e.currentTracker.setTrackerId(d.trackerId);e.appSearchState.searchTriggered$.next("switch-trackers");return w()});H(1,"img",7);E(2,"span",8);Q(3);F()()}a&2&&(a=b.$implicit,D("value",a.trackerId),ug("title",a.name),z(1),D("src",null==a.branding?null:a.branding.logoUrl,Ie),z(2),Sg(a.name))},mfb=function(a){if(a&1){var b=t();E(0,"button",5);K("click",function(){v(b);var c=N();return w(c.clickMenu.emit())});
H(1,"mat-icon",6);F()}},pfb=function(a,b){a&1&&(E(0,"output",7),Q(1),F());a&2&&(a=b.$implicit,D("ngClass",a.color?Xg(2,nfb,a.color):Wg(4,ofb)),z(1),Sg(a.name))},qfb=function(a){a&1&&H(0,"tracker-switcher",2);a&2&&(a=N(),D("associatedTrackers",a.associatedTrackers))},rfb=function(a){a&1&&(E(0,"span"),Q(1," Currently selected hotlist: "),E(2,"strong"),Q(3),F()());a&2&&(a=N(3),z(3),Sg(a.header.hotlist.name))},sfb=function(a){a&1&&Q(0," Showing your subscribed hotlists. Start typing a hotlist name or ID to filter. ")},
tfb=function(a){a&1&&(I(0),P(1,rfb,4,1,"span",5),P(2,sfb,1,0,"ng-template",null,6,qh),J());if(a&2){var b=O(3);a=N(2);z(1);D("ngIf",a.header.hotlist)("ngIfElse",b)}},ufb=function(a){a&1&&(E(0,"span"),Q(1,"Currently selected saved search: "),E(2,"strong"),Q(3),F()());a&2&&(a=N(3),z(3),Sg(a.header.savedSearch.name))},vfb=function(a){a&1&&Q(0," Showing your saved searches. Start typing a saved search name or ID to filter. ")},wfb=function(a){a&1&&(I(0),P(1,ufb,4,1,"span",5),P(2,vfb,1,0,"ng-template",
null,7,qh),J());if(a&2){var b=O(3);a=N(2);z(1);D("ngIf",a.header.savedSearch)("ngIfElse",b)}},xfb=function(a){a&1&&(E(0,"span"),Q(1," and "),E(2,"strong"),Q(3,"subcomponents"),F()())},yfb=function(a){a&1&&(E(0,"span"),Q(1," Currently selected component: "),E(2,"strong",9),Q(3),F(),H(4,"b-access-level-indicator",10)(5,"b-tracker-chip-smart",11),P(6,xfb,4,0,"span",4),F());if(a&2){a=N(3);z(3);var b=a.header.component;b=b.componentPathInfo&&b.componentPathInfo.componentPathName?b.componentPathInfo.componentPathName.join(" > "):
b.name;Sg(b);z(1);D("accessLevel",null==a.header.component.accessLimit?null:a.header.component.accessLimit.accessLevel);z(1);D("trackerId",a.header.component.trackerId);z(1);D("ngIf",a.header.includeChildren)}},zfb=function(a){a&1&&Q(0," Start typing a component name or ID to see auto-complete suggestions. ")},Afb=function(a){a&1&&(I(0),P(1,yfb,7,4,"span",5),P(2,zfb,1,0,"ng-template",null,8,qh),J());if(a&2){var b=O(3);a=N(2);z(1);D("ngIf",a.header.component)("ngIfElse",b)}},Bfb=function(a){a&1&&(E(0,
"span"),Q(1," Currently selected tracker: "),E(2,"strong"),Q(3),F()());a&2&&(a=N(3),z(3),Sg(a.header.tracker.name))},Cfb=function(a){a&1&&Q(0," Start typing a tracker name or ID to see auto-complete suggestions. ")},Dfb=function(a){a&1&&(I(0),P(1,Bfb,4,1,"span",5),P(2,Cfb,1,0,"ng-template",null,12,qh),J());if(a&2){var b=O(3);a=N(2);z(1);D("ngIf",a.header.tracker)("ngIfElse",b)}},Efb=function(a){a&1&&(E(0,"span"),Q(1," and "),E(2,"strong"),Q(3,"subteams"),F()())},Ffb=function(a){a&1&&(E(0,"span"),
Q(1," Currently selected team: "),E(2,"strong"),Q(3),F(),P(4,Efb,4,0,"span",4),F());a&2&&(a=N(3),z(3),Sg(a.header.team.name),z(1),D("ngIf",a.header.includeChildren))},Gfb=function(a){a&1&&Q(0," Start typing a team name or ID to see auto-complete suggestions. ")},Hfb=function(a){a&1&&(I(0),P(1,Ffb,5,2,"span",5),P(2,Gfb,1,0,"ng-template",null,13,qh),J());if(a&2){var b=O(3);a=N(2);z(1);D("ngIf",a.header.team)("ngIfElse",b)}},Ifb=function(a,b){a&1&&(E(0,"span"),Q(1," Currently selected custom field: "),
E(2,"strong"),Q(3),F(),Q(4," of type "),E(5,"strong"),Q(6),U(7,"lowercase"),F(),Q(8,". "),F());a&2&&(a=b.$implicit,z(3),Sg(a.name),z(3),Sg(V(7,2,a.type)))},Jfb=function(a){a&1&&Q(0," customfield[id]: [value] ")},Kfb=function(a){a&1&&(I(0),P(1,Ifb,9,4,"span",5),P(2,Jfb,1,0,"ng-template",null,14,qh),J());if(a&2){var b=O(3);a=N(2);z(1);D("ngIf",a.header.customField)("ngIfElse",b)}},Lfb=function(a){a&1&&(E(0,"div",3),P(1,tfb,4,2,"ng-container",4),P(2,wfb,4,2,"ng-container",4),P(3,Afb,4,2,"ng-container",
4),P(4,Dfb,4,2,"ng-container",4),P(5,Hfb,4,2,"ng-container",4),P(6,Kfb,4,2,"ng-container",4),F());a&2&&(a=N(),z(1),D("ngIf","hotlist"===a.header.type),z(1),D("ngIf","savedsearch"===a.header.type),z(1),D("ngIf","component"===a.header.type),z(1),D("ngIf","tracker"===a.header.type),z(1),D("ngIf","team"===a.header.type),z(1),D("ngIf","customfield"===a.header.type))},Mfb=function(a){a&1&&(E(0,"span"),Q(1),F());a&2&&(a=N().$implicit,z(1),Tg(" ",a.id,": ",a.name," "))},Nfb=function(a){a&1&&(E(0,"span"),
Q(1),E(2,"span"),Q(3),F()());a&2&&(a=N().$implicit,z(1),R(" Hotlist ",a.hotlistId,": "),z(2),Sg(a.name))},Ofb=function(a){a&1&&(E(0,"span"),Q(1),E(2,"span"),Q(3),F(),H(4,"br"),E(5,"span",16),Q(6),F()());a&2&&(a=N().$implicit,z(1),R(" Saved search ",a.searchId,": "),z(2),Sg(a.name),z(3),Sg(a.query))},Pfb=function(a){a&1&&(E(0,"span"),Q(1),F());a&2&&(a=N().$implicit,z(1),R(" ",a.name," "))},Qfb=function(a){a&1&&(E(0,"span"),Q(1," > "),F())},Sfb=function(a,b){if(a&1){var c=t();I(0);E(1,"span",19);K("click",
function(d){var e=v(c).$implicit;Rfb(e);return w(d.stopPropagation())});Q(2);F();P(3,Qfb,2,0,"span",4);J()}a&2&&(a=b.$implicit,b=b.last,z(1),Rg("title","",a.id,": ",a.name,""),z(1),Sg(a.name),z(1),D("ngIf",!b))},Tfb=function(a){a&1&&(E(0,"span"),Q(1," Component "),E(2,"strong",9),Q(3),F(),H(4,"b-access-level-indicator",10)(5,"b-tracker-chip-smart",11),E(6,"span",17),P(7,Sfb,4,4,"ng-container",18),F()());a&2&&(a=N().$implicit,z(3),Sg(a.componentId),z(1),D("accessLevel",null==a.accessLimit?null:a.accessLimit.accessLevel),
z(1),D("trackerId",a.trackerId),z(2),D("ngForOf",a.componentPath))},Ufb=function(a){a&1&&(E(0,"span"),Q(1),E(2,"span"),Q(3),F()());a&2&&(a=N().$implicit,z(1),R(" Tracker ",a.trackerId,": "),z(2),Sg(a.name))},Vfb=function(a){a&1&&(E(0,"span"),Q(1," > "),F())},Wfb=function(a,b){if(a&1){var c=t();I(0);E(1,"span",19);K("click",function(d){var e=v(c).$implicit;Rfb(e);return w(d.stopPropagation())});Q(2);F();P(3,Vfb,2,0,"span",4);J()}a&2&&(a=b.$implicit,b=b.last,z(1),Rg("title","",a.id,": ",a.name,""),
z(1),Sg(a.name),z(1),D("ngIf",!b))},Xfb=function(a){a&1&&(E(0,"span"),Q(1," Team "),E(2,"strong"),Q(3),F(),E(4,"span",17),P(5,Wfb,4,4,"ng-container",18),F()());a&2&&(a=N().$implicit,z(3),Sg(a.id),z(2),D("ngForOf",a.teamPath))},Yfb=function(a){a&1&&(E(0,"span"),Q(1),F());a&2&&(a=N().$implicit,z(1),Tg(" ",a.label,": ",a.name," "))},$fb=function(a,b){if(a&1){var c=t();E(0,"b-app-search-auto-complete-option",15);K("optionClicked",function(e){v(c);var f=N();0<=e&&e<f.items.length&&(e=f.items[e],e.id&&
e.completionCfg&&Zfb(e),f.itemSelected.emit(e));return w()});P(1,Mfb,2,2,"span",4);P(2,Nfb,4,2,"span",4);P(3,Ofb,7,3,"span",4);P(4,Pfb,2,1,"span",4);P(5,Tfb,8,4,"span",4);P(6,Ufb,4,2,"span",4);P(7,Xfb,6,2,"span",4);P(8,Yfb,2,2,"span",4);F()}if(a&2){a=b.$implicit;b=b.index;var d=N();wg("id","b-app-search-option-",b,"");D("index",b)("isActive",0<=b&&b<d.items.length?b===d.activeItemIndex:!1);z(1);D("ngIf","issue"===a.completionCfg.type);z(1);D("ngIf","hotlist"===a.completionCfg.type);z(1);D("ngIf",
"savedsearch"===a.completionCfg.type);z(1);D("ngIf","atom"===a.completionCfg.type);z(1);D("ngIf","component"===a.completionCfg.type);z(1);D("ngIf","tracker"===a.completionCfg.type);z(1);D("ngIf","team"===a.completionCfg.type);z(1);D("ngIf",!d.SPECIAL_ITEM_TYPES.includes(a.completionCfg.type))}},bgb=function(a){if(a&1){var b=t();E(0,"div",21)(1,"input",22,23);K("ngModelChange",function(c){v(b);var d=N();return w(d.searchName=c)})("keydown.Tab",function(){v(b);var c=N();return w(agb(c))})("keydown.enter",
function(){v(b);var c=N();return w(c.saveSearch())});F();E(3,"button",24);K("click",function(){v(b);var c=N();return w(c.saveSearch())});H(4,"mat-icon",25);F()()}a&2&&(a=N(),z(1),D("ngModel",a.searchName),z(2),D("disabled",!a.searchName))},cgb=function(a){a&1&&(I(0),E(1,"span",10),Q(2),F(),J());a&2&&(a=N(),z(1),Fg("muted",a.disabled),z(1),Sg(a.cardTitle))},dgb=function(a){a&1&&H(0,"mat-icon",11)},egb=function(a){a&1&&H(0,"mat-icon",12)},fgb=function(a){a&1&&(E(0,"mat-select-trigger"),H(1,"mat-icon",
20),E(2,"span"),Q(3),F()());a&2&&(a=N(3),z(1),D("svgIcon",a.selectedOption.icon),z(2),Sg(a.selectedOption.displayText))},ggb=function(a){a&1&&H(0,"mat-icon",20);a&2&&(a=N().$implicit,D("svgIcon",a.icon))},igb=function(a,b){a&1&&(E(0,"mat-option",21),P(1,ggb,1,1,"mat-icon",22),Q(2),F());a&2&&(a=b.$implicit,D("value",a),z(1),D("ngIf",a.icon),z(1),R("",a.displayText," "))},jgb=function(a){if(a&1){var b=t();E(0,"mat-form-field",16)(1,"mat-label");Q(2," Choose type... ");F();E(3,"mat-select",17);K("valueChange",
function(c){v(b);var d=N(2);return w(d.selectedOption=c)})("selectionChange",function(c){v(b);N(2).dropdownSelectionChanged.emit(c.value);return w()});P(4,fgb,4,2,"mat-select-trigger",18);P(5,igb,3,3,"mat-option",19);F()()}a&2&&(a=N(2),z(3),D("disabled",a.disabled)("value",a.selectedOption),z(1),D("ngIf",a.selectedOption&&a.selectedOption.icon),z(1),D("ngForOf",a.dropdownOptions))},kgb=function(a){if(a&1){var b=t();E(0,"mat-form-field",13)(1,"input",14);K("ngModelChange",function(c){v(b);var d=N();
return w(d.cardTitleChange.emit(c))});F()();P(2,jgb,6,4,"mat-form-field",15)}a&2&&(a=N(),z(1),Fg("muted",a.disabled||!a.selected),D("placeholder",a.placeholderForCardTitle)("disabled",a.disabled||!a.selected)("ngModel",a.cardTitle),ug("aria-label",a.ariaLabelForCardTitle),z(1),D("ngIf",a.dropdownOptions.length))},lgb=function(a){a&1&&(E(0,"div",23),Og(1),F())},mgb=function(a){a&1&&(E(0,"button",31),H(1,"mat-icon",32),F());a&2&&(a=N(2),D("disabled",a.disabled))},ngb=function(a){a&1&&H(0,"mat-divider",
33);a&2&&D("vertical",!0)},ogb=function(a){a&1&&(E(0,"mat-slide-toggle",34),Q(1," Required "),F());a&2&&(a=N(2),D("disabled",a.disabled))},pgb=function(a){if(a&1){var b=t();E(0,"mat-slide-toggle",35);K("change",function(c){v(b);var d=N(2);return w(d.isInheritedChange.emit(c))});Q(1," Inherited ");F()}a&2&&(a=N(2),D("checked",a.isInherited)("disabled",a.inheritedDisabled)("matTooltip",a.inheritedDisabledTooltipText)("matTooltipDisabled",!a.inheritedDisabled))},qgb=function(a){if(a&1){var b=t();E(0,
"div",24)(1,"button",25);K("click",function(){v(b);var c=N();return w(c.onSave())});Q(2," Save ");F();E(3,"button",26);K("click",function(){v(b);var c=N();return w(c.onCancel())});Q(4," Cancel ");F();P(5,mgb,2,1,"button",27);P(6,ngb,1,1,"mat-divider",28);P(7,ogb,2,1,"mat-slide-toggle",29);P(8,pgb,2,4,"mat-slide-toggle",30);F()}a&2&&(a=N(),z(1),D("disabled",a.isSaveButtonDisabled),z(2),D("disabled",a.disabled),z(2),D("ngIf",a.showDeleteButton),z(1),D("ngIf",a.showDeleteButton&&a.showRequiredToggle),
z(1),D("ngIf",a.showRequiredToggle),z(1),D("ngIf",a.showInheritedToggle))},rgb=function(a){a&1&&(E(0,"h3"),Q(1),F());a&2&&(a=N(2),z(1),R(" Edit Custom Field ",a.editableField.customFieldId," "))},sgb=function(a){a&1&&(E(0,"h3"),Q(1," Create Custom Field "),F())},tgb=function(a){a&1&&(E(0,"div",40),Q(1),F());a&2&&(a=N(2),z(1),R(" ",a.serverError," "))},vgb=function(a,b){a&1&&(E(0,"button",41),Q(1),U(2,"enumToHuman"),F());if(a&2){a=b.$implicit;N();var c=O(32);D("matMenuTriggerFor",c)("matMenuTriggerData",
Xg(5,ugb,a));z(1);R(" ",V(2,3,a)," ")}},wgb=function(a,b){if(a&1){var c=t();E(0,"button",43);K("click",function(){var d=v(c).$implicit,e=N().type,f=N(2);return w(f.setType(e,"Multiple"===d))});Q(1);F()}a&2&&(a=b.$implicit,z(1),R(" ",a," "))},xgb=function(a){a&1&&P(0,wgb,2,1,"button",42);a&2&&(a=N(2),D("ngForOf",a.secondaryTypes))},zgb=function(a){if(a&1){var b=t();E(0,"td",7)(1,"label",44);Q(2," Allowed Values: ");F();E(3,"b-list-field",45);K("valuesChange",function(c){v(b);var d=N(2);return w(ygb(d,
c.values))});F()()}a&2&&(a=N(2),z(3),D("defaultLineCount",3)("type",a.ListFieldType.REPEATED_TEXT)("values",a.editableField.allowedValue)("listFieldDisabled",a.isSaving)("preventDuplicates",!0)("isDefaultOrAllowedValues",!0)("truncate",!0))},Agb=function(a){a&1&&(E(0,"label",46),Q(1," Default Value: "),F())},Dgb=function(a,b){if(a&1){var c=t();E(0,"b-edit-field",47);K("valueChange",function(d){v(c);var e=N(2);Bgb(e,d);return w()});F()}a&2&&(a=b.ngIf,b=N(2),D("name","Default")("type",a)("tooltip",
"Set default value")("value",Cgb(b))("choices",b.allowedValues)("showEnumTitle",!0)("disabled",b.isSaving)("truncate",!0)("clearable",!0))},Egb=function(a){a&1&&(E(0,"label",48),Q(1," Default Values: "),F())},Fgb=function(a,b){if(a&1){var c=t();E(0,"b-list-field",49);K("valuesChange",function(d){v(c);var e=N(2);Bgb(e,d.values);return w()});F()}a&2&&(a=b.ngIf,b=N(2),D("defaultLineCount",3)("type",a)("tooltip","Set default values")("values",b.getListFieldValues())("enumChoices",b.allowedValues)("isDefaultOrAllowedValues",
!0)("listFieldDisabled",b.isSaving)("truncate",!0))},Ggb=function(a,b){if(a&1){var c=t();E(0,"button",50);K("click",function(){var d=v(c).$implicit,e=N(2);return w(e.setFieldSignificance(d))});Q(1);U(2,"enumToHuman");F()}a&2&&(a=b.$implicit,z(1),R(" ",V(2,1,a)," "))},Hgb=function(a){if(a&1){var b=t();E(0,"div",4);P(1,rgb,2,1,"h3",3);P(2,sgb,2,0,"h3",3);P(3,tgb,2,1,"div",5);E(4,"form",6)(5,"div",7)(6,"label",8);Q(7,"Name:");F();E(8,"input",9);K("ngModelChange",function(h){v(b);var l=N();return w(l.editableField.name=
h)});F()();E(9,"div",7)(10,"label",10);Q(11,"Description:");F();E(12,"textarea",11);K("ngModelChange",function(h){v(b);var l=N();return w(l.editableField.description=h)});F()();E(13,"table",12)(14,"tr")(15,"td",7)(16,"div",13)(17,"label",14);Q(18," Type: ");F();E(19,"onedev-hovercard",null,15)(21,"div",16)(22,"div",17);Q(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. ");F()()()();E(24,"button",18);Q(25);U(26,
"enumToHuman");H(27,"b-icon",19);F();E(28,"mat-menu",null,20);P(30,vgb,3,7,"button",21);F();E(31,"mat-menu",null,22);P(33,xgb,1,1,"ng-template",23);F()();P(34,zgb,4,7,"td",24);E(35,"td",7);P(36,Agb,2,0,"label",25);P(37,Dgb,1,9,"b-edit-field",26);P(38,Egb,2,0,"label",27);P(39,Fgb,1,8,"b-list-field",28);F();E(40,"td",7)(41,"label",29);Q(42," Required: ");F();E(43,"b-edit-field",30);K("valueChange",function(h){v(b);var l=N();return w(l.editableField.required=!!h)});F()();E(44,"td",7)(45,"div",13)(46,
"label",31);Q(47," Field Significance: ");F();E(48,"onedev-hovercard",null,32)(50,"div",33)(51,"div",17);Q(52," This affects whether users will receive notifications when changes are made to this field. ");H(53,"br");Q(54," See\u00a0 ");E(55,"a",34);Q(56,"Email Settings ");F()()()()();E(57,"button",35);Q(58);U(59,"enumToHuman");H(60,"b-icon",19);F();E(61,"mat-menu",null,36);P(63,Ggb,3,3,"button",37);F()()()();E(64,"button",38);K("click",function(){v(b);var h=N();return w(h.save())});Q(65," Save ");
F();E(66,"button",39);K("click",function(){v(b);var h=N();return w(h.cancel())});Q(67," Cancel ");F()()()}if(a&2){var c=O(20),d=O(29),e=O(49),f=O(62);a=N();z(1);D("ngIf",!!a.editableField.customFieldId);z(1);D("ngIf",!a.editableField.customFieldId);z(1);D("ngIf",a.serverError);z(5);D("bFocus",a.editableField&&!a.isLoading)("ngModel",a.editableField.name)("disabled",a.isSaving);z(4);D("ngModel",a.editableField.description)("disabled",a.isSaving);z(5);D("onedevHovercardTrigger",c);z(7);D("matMenuTriggerFor",
d)("disabled",!!a.editableField.customFieldId);z(1);R(" ",V(26,28,a.editableField.type)," ");z(5);D("ngForOf",a.typeChoices);z(4);D("ngIf",["REPEATED_ENUM","ENUM"].includes(a.editableField.type));z(2);D("ngIf",!a.editableField.isRepeated());z(1);D("ngIf",a.getSingleEditFieldType(a.editableField));z(1);D("ngIf",a.editableField.isRepeated());z(1);D("ngIf",a.getListFieldType(a.editableField));z(4);D("name","Required")("type",a.FieldType.BOOL)("tooltip","Whether the field is required")("value",a.editableField.required);
z(3);D("onedevHovercardTrigger",e);z(9);D("href",a.documentationLinks.baseDocumentationUrl+"/concepts/settings#email",Ie);z(2);D("matMenuTriggerFor",f);z(1);R(" ",V(59,30,a.editableField.fieldSignificance)," ");z(5);D("ngForOf",a.significanceChoices);z(1);D("disabled",!a.hasUnsavedChanges()||!a.editableField.name)}},Igb=function(a){a&1&&(E(0,"div",51),H(1,"b-spinner",52),F());a&2&&(z(1),D("large",!0))},Jgb=function(a){a&1&&(E(0,"th"),Q(1,"Actions"),F())},Lgb=function(a){if(a&1){var b=t();E(0,"td",
59)(1,"button",60);K("click",function(){v(b);var c=N().index,d=N(2);return w(d.editField(c))});Q(2,"Edit");F();E(3,"button",60);K("click",function(){v(b);var c=N().index,d=N(2);return w(Kgb(d,c))});Q(4,"Delete");F()()}},Mgb=function(a,b){a&1&&(E(0,"tr",56)(1,"td"),Q(2),F(),E(3,"td"),Q(4),F(),E(5,"td"),Q(6),U(7,"enumToHuman"),F(),E(8,"td"),Q(9),F(),E(10,"td"),Q(11),U(12,"yesNo"),F(),E(13,"td"),H(14,"b-custom-field-value-display",57),F(),E(15,"td"),Q(16),U(17,"arrayToHuman"),F(),E(18,"td"),Q(19),U(20,
"enumToHuman"),F(),P(21,Lgb,5,0,"td",58),F());a&2&&(a=b.$implicit,b=N(2),D("ngClass",a.enabledOnIssues?"enabled-field":"disabled-field"),z(2),Sg(a.name),z(2),Sg(a.customFieldId),z(2),Sg(V(7,10,a.type)),z(3),Sg(a.description),z(2),Sg(V(12,12,a.required)),z(3),D("customFieldValue",a.typedDefaultValue),z(2),Sg(V(17,14,a.allowedValue)),z(3),Sg(V(20,16,a.fieldSignificance)),z(2),D("ngIf",b.editMode))},Ngb=function(a){a&1&&(E(0,"tr")(1,"td",61),Q(2," There are no custom fields defined on this component. "),
F()())},Ogb=function(a){a&1&&(E(0,"tr")(1,"td",62)(2,"strong"),Q(3,"Fields inherited from parent components"),F()()())},Pgb=function(a){a&1&&(I(0),H(1,"b-component-card",69,70),J());if(a&2){var b=O(2);a=N().$implicit;z(1);D("onedevIsHovercardReady",b.init)("componentId",a.componentId.toString())}},Rgb=function(a){if(a&1){var b=t();E(0,"b-field-state-menu",71,72);K("fieldStateChange",function(d){v(b);var e=N(),f=e.$implicit;e=e.index;var h=N(3);return w(h.updateCustomFieldState(f,d,e))});F()}if(a&
2){a=N().$implicit;var c=N(3);D("fieldName",a.name)("fieldState",a.stateOnIssues)("enabledOnParent",Qgb(c,a.customFieldId))("disabled",!c.editMode)("matTooltip",c.msgFieldStateTip);ug("aria-label",c.msgFieldStateTip)}},Sgb=function(a,b){if(a&1){var c=t();E(0,"tr",56)(1,"td");Q(2);F();E(3,"td");Q(4);F();E(5,"td");Q(6);U(7,"enumToHuman");F();E(8,"td");Q(9);F();E(10,"td");Q(11);U(12,"yesNo");F();E(13,"td");H(14,"b-custom-field-value-display",57);F();E(15,"td");Q(16);U(17,"arrayToHuman");F();E(18,"td");
Q(19);U(20,"enumToHuman");F();E(21,"td",59)(22,"div",63)(23,"div",64);Q(24,"Inherited From");F();E(25,"a",65);K("click",function(){v(c);var e=N(3);return w(e.trackClick("parentCustomFields"))});Q(26);F();E(27,"onedev-hovercard",null,66);P(29,Pgb,3,2,"ng-container",67);F()();P(30,Rgb,2,6,"b-field-state-menu",68);F()()}if(a&2){a=b.$implicit;var d=O(28);b=N(3);D("ngClass",a.enabledOnIssues?"enabled-field":"disabled-field");z(2);Sg(a.name);z(2);Sg(a.customFieldId);z(2);Sg(V(7,13,a.type));z(3);Sg(a.description);
z(2);Sg(V(12,15,a.required));z(3);D("customFieldValue",a.typedDefaultValue);z(2);Sg(V(17,17,a.allowedValue));z(3);Sg(V(20,19,a.fieldSignificance));z(6);D("onedevHovercardTrigger",d)("href",b.paths.manageComponent(a.componentId,"customFields"),Ie);z(1);R(" ",b.componentIdsToNames[a.componentId]," ");z(4);D("ngIf",b.editMode)}},Tgb=function(a){a&1&&(I(0),P(1,Sgb,31,21,"tr",54),J());a&2&&(a=N(2),z(1),D("ngForOf",a.inheritedCustomFields))},Ugb=function(a){a&1&&(E(0,"tfoot")(1,"tr")(2,"td",62),Q(3," Custom fields in this table are sorted alphabetically. To see or modify field ordering, go to the "),
E(4,"a",73),Q(5,"Field Ordering"),F(),Q(6," tab."),H(7,"br"),Q(8," Before removing custom fields or adding/changing required state, ensure that no automation depends on them. "),F()()())},Vgb=function(a){if(a&1){var b=t();E(0,"div",74)(1,"button",75);K("click",function(){v(b);var c=N(2);c.editableField=new Tj;c.originalEditableFieldValue=Gj(c.editableField);c.setType("TEXT");c.allowedValues=[];c.serverError=null;return w()});Q(2," Add a Custom Field ");F()()}},Wgb=function(a){a&1&&(E(0,"div")(1,"table",
53)(2,"tr")(3,"th"),Q(4,"Name"),F(),E(5,"th"),Q(6,"ID"),F(),E(7,"th"),Q(8,"Type"),F(),E(9,"th"),Q(10,"Description"),F(),E(11,"th"),Q(12,"Required?"),F(),E(13,"th"),Q(14,"Default Value"),F(),E(15,"th"),Q(16,"Allowed Values"),F(),E(17,"th"),Q(18,"Field Significance"),F(),P(19,Jgb,2,0,"th",3),F(),P(20,Mgb,22,18,"tr",54),P(21,Ngb,3,0,"tr",3),P(22,Ogb,4,0,"tr",3),P(23,Tgb,2,1,"ng-container",3),P(24,Ugb,9,0,"tfoot",3),F(),P(25,Vgb,3,0,"div",55),F());a&2&&(a=N(),z(19),D("ngIf",a.editMode),z(1),D("ngForOf",
a.customFields),z(1),D("ngIf",!a.customFields.length),z(1),D("ngIf",a.inheritedCustomFields.length),z(1),D("ngIf",a.inheritedCustomFields.length),z(1),D("ngIf",a.customFields.length),z(1),D("ngIf",a.editMode))},Xgb=function(a){if(a&1){var b=t();E(0,"button",18);K("click",function(){v(b);var c=N().index,d=N();return w(d.removeAtIndex.emit(c))});H(1,"mat-icon",19);F()}a&2&&(a=N().$implicit,ug("aria-label","Delete row "+a.label))},Ygb=function(a,b){if(a&1){var c=t();E(0,"div",9)(1,"div",10);H(2,"mat-icon",
11);E(3,"div",1)(4,"mat-form-field",12)(5,"input",13,14);K("change",function(f){var h=v(c).index,l=N();l.options[h].label=f.target.value;l.optionsChange.emit(l.options);return w()});F()()();E(7,"div",1)(8,"mat-form-field",12)(9,"input",15,16);K("change",function(f){var h=v(c).index,l=N();return w(l.valueChange(f,h))});F()()();P(11,Xgb,2,1,"button",17);F()()}if(a&2){a=b.$implicit;var d=O(6),e=O(10);b=N();z(4);D("appearance",d.focused||e.focused?"standard":"none");z(1);Fg("muted",b.disabled);D("value",
a.label)("placeholder",null==a.label?"Dropdown value":"")("disabled",b.disabled);z(3);D("appearance",d.focused||e.focused?"standard":"none");z(1);Fg("muted",b.disabled);D("value",a.value)("placeholder",null==a.value?"Average days":"")("disabled",b.disabled);z(2);D("ngIf",!b.disabled)}},Zgb=function(a){if(a&1){var b=t();E(0,"button",20);K("click",function(){v(b);var c=N();return w(c.addRow.emit())});Q(1," Add row\n");F()}},$gb=function(a){a&1&&Kg(0)},ahb=function(a){a&1&&(I(0),P(1,$gb,1,0,"ng-container",
5),J());if(a&2){N();var b=O(7);z(1);D("ngTemplateOutlet",b)}},bhb=function(a){if(a&1){var b=t();I(0);E(1,"b-numeric-config",6);K("valueChange",function(c){v(b);var d=N();return w(d.numericSpecMultiplier=c)});F();J()}a&2&&(a=N(),z(1),D("disabled",a.disabled)("value",a.numericSpecMultiplier))},chb=function(a){a&1&&Kg(0)},dhb=function(a){if(a&1){var b=t();E(0,"div",7)(1,"label",8);Q(2,"Aggregation Rule");F();E(3,"a",9);H(4,"mat-icon",10);F();H(5,"br");E(6,"mat-form-field",11)(7,"mat-select",12);K("valueChange",
function(c){v(b);var d=N();return w(d.selectedAggregationRule=c)});E(8,"mat-select-trigger");Q(9);U(10,"aggregationRuleText");F();E(11,"mat-option",13)(12,"div",14);Q(13);U(14,"aggregationRuleText");F();E(15,"div",15);Q(16,"All parents and children are added to the total");F()();E(17,"mat-option",13)(18,"div",14);Q(19);U(20,"aggregationRuleText");F();E(21,"div",15);Q(22,"Take the assigned estimate if larger than total of all immediate children");F()()()()()}a&2&&(a=N(),z(7),D("value",a.selectedAggregationRule)("disabled",
a.disabled),z(2),R(" ",V(10,7,a.selectedAggregationRule)," "),z(2),D("value",a.aggregationRules.SUM),z(2),Sg(V(14,9,a.aggregationRules.SUM)),z(4),D("value",a.aggregationRules.MAX),z(2),Sg(V(20,11,a.aggregationRules.MAX)))},ehb=function(a){if(a&1){var b=t();E(0,"b-config-grid",16);K("optionsChange",function(c){v(b);var d=N();return w(d.enumSpecOptions=c)})("addRow",function(){v(b);var c=N();return w(c.addRow())})("removeAtIndex",function(c){v(b);N().enumSpecOptions.splice(c,1);return w()});F()}a&2&&
(a=N(),D("options",a.enumSpecOptions)("disabled",a.disabled||a.inherit))},fhb=function(a){return a&&"0"!==a.getTeamId()?a.getDeleted()?"DELETED":"VALID":"MISSING"},ghb=function(a){if(a&1){var b=t();E(0,"div",6);Q(1," Select a team from the suggestions below, or edit in ");E(2,"a",7);K("click",function(){v(b);var c=N();return w(c.trackClick("viewTeamAssociationOnComponent"))});Q(3,"component settings");F();Q(4,".\n");F()}a&2&&(a=N(),z(2),D("href",a.componentSetting,Ie))},hhb=function(a){a&1&&(E(0,
"div",6),Q(1," Assigned team no longer exists, select a different team from the suggestions below, or edit/opt out of team mapping in "),E(2,"a",8),Q(3,"component settings"),F(),Q(4,".\n"),F());a&2&&(a=N(),z(2),D("href",a.componentSetting,Ie))},ihb=function(a){if(a&1){var b=t();E(0,"mat-radio-group",9);K("ngModelChange",function(c){v(b);var d=N();return w(d.teamAction=c)});E(1,"p")(2,"mat-radio-button",10);Q(3," Don't make any changes ");F()();E(4,"p")(5,"mat-radio-button",11);Q(6," Map component to selected team ");
F()()()}a&2&&(a=N(),D("ngModel",a.teamAction))},jhb=function(a){a&1&&(I(0),E(1,"span",19),Q(2),F(),J());a&2&&(a=N().$implicit,z(2),Sg(a.teamPath))},khb=function(a){a&1&&Q(0," -- ")},lhb=function(a,b){a&1&&(P(0,jhb,3,1,"ng-container",17),P(1,khb,1,0,"ng-template",null,18,qh));if(a&2){a=b.$implicit;var c=O(2);D("ngIf",a)("ngIfElse",c)}},mhb=function(a){if(a&1){var b=t();E(0,"div",12)(1,"onedev-single-select",13);K("valueChange",function(d){v(b);var e=N();return w(e.selectedTeam=d)})("valueChange",function(d){v(b);
var e=N();return w(e.selectOption(d))});F();P(2,lhb,3,2,"ng-template",null,14,qh);E(4,"a",15);K("click",function(){v(b);var d=N();return w(d.trackClick("viewTeamInMoma"))});H(5,"mat-icon",16);F()()}if(a&2){var c=O(3);a=N();z(1);D("disabled","NONE"===a.teamAction)("value",a.selectedTeam)("options",a.teamOptions)("includeEmptyOption",!1)("optionTemplate",c);z(3);ug("href",a.getMomaTeamLink(),Ie)}},nhb=function(a){if(a&1){var b=t();E(0,"b-callout-actions")(1,"b-button",2);K("click",function(){v(b);var c=
N();return w(c.openDialog())});Q(2);F()()}a&2&&(a=N(),z(2),Sg(a.buttonName))},ohb=function(a){a&1&&(E(0,"div",8),H(1,"b-team-warning",9),F());a&2&&(a=N().ngIf,z(1),D("warningType",a)("messageOnly",!0))},phb=function(a,b){a&1&&(I(0),P(1,ohb,2,2,"div",7),J());a&2&&(a=b.ngIf,b=N(),z(1),D("ngIf",b.isAdmin&&("MISSING"===a||"DELETED"===a)))},qhb=function(a){if(a&1){var b=t();E(0,"div",10)(1,"mat-checkbox",11);K("change",function(c){v(b);var d=N();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 w()});Q(2," Override the inherited team ");F()()}a&2&&(a=N(),z(1),D("disabled",!a.isAdmin)("checked",!a.inherit))},shb=function(a){if(a&1){var b=t();E(0,"a",13);K("click",function(){v(b);N(2);So(Mp.MANAGE_COMPONENT,"navigate","to-internal-team-page");return w()});H(1,"mat-icon",14);F()}a&2&&(a=N(2),D("routerLink",rhb(a)?"/teams/"+a.model.id+"/edit":null)("target",a.anchorTarget))},
thb=function(a){a&1&&(I(0),P(1,shb,2,2,"a",12),J());a&2&&(a=N(),z(1),D("ngIf",rhb(a)))},uhb=function(a){if(a&1){var b=t();E(0,"a",16);K("click",function(){v(b);var c=N(2);So(Mp.MANAGE_COMPONENT,"linkout-moma","team",Number(c.model.id));return w()});H(1,"mat-icon",14);F()}a&2&&(a=N(2),ug("href",a.getMomaTeamLink(),Ie))},vhb=function(a){a&1&&P(0,uhb,2,1,"a",15);a&2&&(a=N(),D("ngIf",rhb(a)))},yhb=function(a,b){if(a&1){var c=t();E(0,"li",11);K("keydown",function(e){var f=v(c).index,h=N();return w(h.onKeyDown(e,
f))})("focus",function(){var e=v(c).index,f=N();return w(f.onFocus(e))});H(1,"mat-icon",12);E(2,"span");Q(3);F();E(4,"div",13)(5,"button",14);K("click",function(){var e=v(c).index,f=N();return w(whb(f,e))});H(6,"mat-icon",15);F();E(7,"button",16);K("click",function(){var e=v(c).index,f=N();return w(xhb(f,e))});H(8,"mat-icon",17);F()()()}if(a&2){a=b.$implicit;b=b.index;var d=N();ug("aria-label",a.name)("aria-grabbed",b===d.grabbedIndex);z(3);Sg(a.name);z(2);Fg("invisible",0===b);z(2);Fg("invisible",
b===d.fields.length-1)}},zhb=function(a){a&1&&(E(0,"th",14),Q(1," Order"),F())},Ahb=function(a,b){a&1&&(E(0,"td",15),Q(1),F());a&2&&(a=b.index,z(1),R(" ",a+1," "))},Bhb=function(a){a&1&&(E(0,"th",14),Q(1," Name"),F())},Chb=function(a,b){a&1&&(E(0,"td",15),Q(1),F());a&2&&(a=b.$implicit,z(1),R(" ",a.name," "))},Dhb=function(a){a&1&&(E(0,"th",14),Q(1," Type"),F())},Ehb=function(a,b){a&1&&(E(0,"td",15),Q(1),U(2,"toCustomFieldTypeDisplayValue"),F());a&2&&(a=b.$implicit,z(1),R(" ",V(2,1,a.type)," "))},
Fhb=function(a){a&1&&(E(0,"th",14),Q(1," Required"),F())},Ghb=function(a,b){a&1&&(E(0,"td",15),Q(1),F());a&2&&(a=b.$implicit,z(1),R(" ",a.required?"Yes":"No"," "))},Hhb=function(a){a&1&&(E(0,"th",14),Q(1," ID"),F())},Ihb=function(a,b){a&1&&(E(0,"td",15),Q(1),F());a&2&&(a=b.$implicit,z(1),R(" ",a.customFieldId," "))},Jhb=function(a){a&1&&H(0,"tr",16)},Khb=function(a){a&1&&H(0,"tr",17)},Lhb=function(a){a&1&&(E(0,"div",18),Q(1," There are no custom fields defined on this component. "),F())},Ohb=function(a){if(a&
1){var b=t();E(0,"div",19)(1,"div")(2,"button",20);K("click",function(){v(b);var c=N();return w(Mhb(c))});Q(3," Reorder fields ");F();E(4,"button",20);K("click",function(){v(b);var c=N();return w(Nhb(c))});Q(5," Reset ordering ");F()()()}a&2&&(a=N(),z(2),D("disabled",0===a.fields.length),z(2),D("disabled","CUSTOMIZED"!==a.fieldOrdering))},Phb=function(a){a&1&&(E(0,"span"),Q(1),F());a&2&&(a=N(),z(1),a=a.lineNumbers.length,R(" (",a+(1==a?" TODO":" TODOs"),") "))},Rhb=function(a,b){if(a&1){var c=t();
E(0,"li",5)(1,"a",6);K("click",function(){v(c);var d=N(2);return w(d.trackClick("lineNumber"))});Q(2);F()()}a&2&&(a=b.$implicit,b=N(2),z(1),D("href",Qhb(b,a),Ie),z(1),Sg(a))},Shb=function(a){a&1&&(E(0,"span"),Q(1," ("),E(2,"ul",3),P(3,Rhb,3,2,"li",4),F(),Q(4,") "),F());a&2&&(a=N(),z(3),D("ngForOf",a.lineNumbers))},Thb=function(a){a&1&&H(0,"div",2)},Uhb=function(a){a&1&&(I(0),Og(1),J())},Vhb=function(a){a&1&&(Sd(),E(0,"svg",1),H(1,"path",2),F());a&2&&(a=N(),D("matTooltip",a.warning))},Whb=function(a){a&
1&&Kg(0)},Zhb=function(a){if(a&1){var b=t();E(0,"div",1);K("keydown",function(c){v(b);var d=N();return w(d.processKeydown(c))});E(1,"div",2);P(2,Whb,1,0,"ng-container",3);F();E(3,"div",4)(4,"button",5);K("click",function(){v(b);var c=N();return w(Xhb(c))});Q(5,"Save");F();E(6,"button",6);K("click",function(){v(b);var c=N();return w(Yhb(c))});Q(7,"Cancel");F()()()}a&2&&(a=N(),D("cdkTrapFocusAutoCapture",!0),z(2),D("ngTemplateOutlet",a.editorTemplate))},$hb=function(a){a&1&&Kg(0)},bib=function(a){a&
1&&(I(0),P(1,$hb,1,0,"ng-container",8),J());a&2&&(a=N(),z(1),D("ngTemplateOutlet",a.valueTemplate)("ngTemplateOutletContext",Xg(2,aib,a.value)))},cib=function(a){a&1&&Q(0);a&2&&(a=N(),Sg(null!=a.value?a.value:"--"))},dib=function(a){a&1&&(Sd(),E(0,"svg",9),H(1,"path",10),F())},eib=function(a){if(a&1){var b=t();E(0,"input",11);K("ngModelChange",function(c){v(b);var d=N();return w(d.editingValue=c)});F()}a&2&&(a=N(),D("ngModel",a.editingValue))},fib=function(a){return null!=a?Number(a):void 0},gib=
function(a){a&1&&H(0,"mat-icon",12);if(a&2){N();var b=O(5);D("onedevHovercardTrigger",b)}},hib=function(a){if(a&1){var b=t();I(0);E(1,"onedev-numeric-field",13);K("valueChange",function(d){v(b);var e=N(2);e.selectedNumericEstimate=d;null==d?e.effortChange.emit(void 0):e.effortChange.emit({estimate:String(d)});return w()});F();J()}if(a&2){a=N(2);var c=O(2);z(1);D("value",a.selectedNumericEstimate)("valueTemplate",c)("disabled",a.disabled)("displayEditIcon",!a.disabled)}},iib=function(a){a&1&&(I(0),
Q(1),J());a&2&&(a=N().$implicit,z(1),R(" ",a.label," "))},jib=function(a){a&1&&Q(0," -- ")},kib=function(a,b){a&1&&(P(0,iib,2,1,"ng-container",16),P(1,jib,1,0,"ng-template",null,17,qh));if(a&2){a=b.$implicit;var c=O(2);D("ngIf",a)("ngIfElse",c)}},mib=function(a){if(a&1){var b=t();I(0);E(1,"onedev-single-select",14);K("valueChange",function(e){v(b);var f=N(2);return w(f.selectOption(e))});F();P(2,kib,3,2,"ng-template",null,15,qh);J()}if(a&2){var c=O(3);a=N(2);var d;z(1);D("value",a.selectedOption)("options",
null!==(d=null==a.effortSpec.enumSpec?null:a.effortSpec.enumSpec.options)&&void 0!==d?d:Wg(6,lib))("includeEmptyOption",!0)("optionTemplate",c)("disabled",a.disabled)("displayArrowIcon",!a.disabled)}},nib=function(a){a&1&&(I(0),Q(1),J());a&2&&(a=N(2),z(1),R(" ",null==a.effort?null:a.effort.estimate," "))},oib=function(a){a&1&&(E(0,"onedev-edit-field")(1,"onedev-field-label",2),Q(2),P(3,gib,1,1,"mat-icon",3),F(),E(4,"onedev-hovercard",null,4)(6,"div",5)(7,"div",6),Q(8," This estimate was made under a different configuration and needs to be updated. "),
E(9,"a",7),Q(10,"Learn more"),F()()()(),E(11,"onedev-field-value",8),I(12,9),P(13,hib,2,4,"ng-container",10),P(14,mib,4,7,"ng-container",10),P(15,nib,2,1,"ng-container",11),J(),F()());a&2&&(a=N(),z(1),D("thinking",a.thinking),z(1),R(" ",a.fieldName," "),z(1),D("ngIf",!a.isCompatibleValue),z(8),D("thinking",a.thinking),z(1),D("ngSwitch",a.fieldType),z(1),D("ngSwitchCase","NUMERIC"),z(1),D("ngSwitchCase","DROPDOWN"))},pib=function(a){a&1&&(I(0),Q(1),J());a&2&&(a=N(2),z(1),R(" ",null==a.effort?null:
a.effort.estimate," "))},qib=function(a){a&1&&Q(0);a&2&&(a=N().$implicit,R(" ",null!=a?a:"--"," "))},rib=function(a,b){a&1&&(P(0,pib,2,1,"ng-container",16),P(1,qib,1,1,"ng-template",null,18,qh));if(a&2){a=b.$implicit;var c=O(2);b=N();D("ngIf",b.isNaN(a))("ngIfElse",c)}},sib=function(a){a&1&&H(0,"mat-icon",13)},tib=function(a){a&1&&H(0,"mat-icon",14)},uib=function(a){a&1&&(E(0,"span"),H(1,"b-formatted-date-time",22),F());a&2&&(a=N(2),z(1),D("timestamp",a.sloSnoozeUntil))},vib=function(a){a&1&&(E(0,
"span"),H(1,"b-formatted-date-time",22),F());a&2&&(a=N(2),z(1),D("timestamp",a.issueCreationTimestamp/1E3))},wib=function(a){if(a&1){var b=t();E(0,"snooze-date-time-picker",23);K("closePicker",function(){v(b);var c=N(2);return w(c.isDateTimePickerOpen=!1)})("snoozeUntilCommit",function(c){v(b);N(2).onSnoozeChange.next(c);return w()});F()}a&2&&(a=N(2),D("sloStatus",a.sloStatus)("snoozeUntil",a.sloSnoozeUntil))},xib=function(a){if(a&1){var b=t();E(0,"div",11);Q(1," SLO starts on: ");E(2,"div",15)(3,
"a",16,17);K("click",function(){v(b);var d=N();return w(d.isDateTimePickerOpen=!d.isDateTimePickerOpen)});P(5,uib,2,1,"span",18);P(6,vib,2,1,"span",18);F();E(7,"a",19);H(8,"mat-icon",20);F();P(9,wib,1,2,"ng-template",21);F()()}if(a&2){var c=O(4);a=N();z(5);D("ngIf",a.sloSnoozeUntil);z(1);D("ngIf",!a.sloSnoozeUntil);z(3);D("cdkConnectedOverlayOrigin",c)("cdkConnectedOverlayOpen",a.isDateTimePickerOpen)}},yib=function(a,b){if(a&1){var c=t();E(0,"a",25);K("click",function(){v(c);var d=N(2);return w(d.trackOpenSlo())});
Q(1);F()}a&2&&(a=b.ngIf,b=N(2),ug("href",b.editSloLink,Ie),z(1),R(" ",a.name," "))},zib=function(a){a&1&&(E(0,"div",11),Q(1," SLO definition: "),P(2,yib,2,2,"a",24),U(3,"async"),F());a&2&&(a=N(),z(2),D("ngIf",V(3,1,a.slo$)))},Aib=function(a){if(a&1){var b=t();E(0,"a",26);K("click",function(){v(b);N();So(Mp.MANAGE_COMPONENT,"open","fromIssueSloBox");return w()});Q(1,"Select an SLO");F()}a&2&&(a=N(),ug("href",a.componentSloLink,Ie))},Bib=function(a){a&1&&(E(0,"a",10),Q(1," Create Component "),F());
a&2&&(a=N(),D("href",a.createComponentPath,Ie))},Cib=function(a){if(a&1){var b=t();E(0,"xap-dialog-layout",11)(1,"xap-dialog-layout-content")(2,"b-team-component-picker",12);K("selectedComponentChange",function(d){v(b);var e=N();return w(e.viewComponent(null!==d&&void 0!==d?d:null,"openFromSearch"))});U(3,"async");F()()()}if(a&2){a=N();var c;z(2);D("includeArchived",null!==(c=V(3,4,a.includeArchived$))&&void 0!==c?c:!1)("placeholder","Choose Component to navigate to that component")("shouldFocus",
!0)("isRequired",!1)}},Eib=function(a){if(a&1){var b=t();E(0,"div",13)(1,"b-slide-toggle",14);K("modelChange",function(d){v(b);var e=N();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&&Dib(e,d,(0,C.firstValueFrom)(e.topLevelComponents$));return w()});U(2,"async");F()()}if(a&2){a=N();var c;z(1);D("model",null!==(c=V(2,2,a.includeArchived$))&&void 0!==c?
c:!1)("tooltip",a.includeArchived?"Show archived components.":"Hide archived components.")}},Fib=function(a){a&1&&(E(0,"div",15),H(1,"b-spinner",16),F())},Gib=function(a){a&1&&(E(0,"p",3),Q(1),F());a&2&&(a=N(),z(1),Sg(a.packageMentionSet.packageName))},Hib=function(a,b){a&1&&(E(0,"li"),H(1,"b-file-mention",4),F());a&2&&(a=b.$implicit,b=N(),z(1),D("issueId",b.issueId)("packageName",b.packageMentionSet.packageName)("filename",a.filename)("lineNumbers",a.lineNumber)("changeNumber",a.changeNumber))},
Iib=function(a){a&1&&(E(0,"span",6),Q(1," Select at least one tracker "),F())},Jib=function(a,b){if(a&1){var c=t();E(0,"div",7)(1,"mat-checkbox",8);K("change",function(d){var e=v(c).$implicit,f=N();return w(f.trackerCheckboxValues[e.trackerId]=d.checked)});Q(2);F()()}a&2&&(a=b.$implicit,b=N(),z(1),D("checked",b.trackerCheckboxValues[a.trackerId]||!1),z(1),R(" ",a.name," "))},Kib=function(a){a&1&&(H(0,"b-tracker-search",6),U(1,"async"),U(2,"async"));a&2&&(a=N(),D("currentTrackerId",V(1,2,a.currentTracker.trackerId$))("availableTrackers",
V(2,4,a.currentTracker.availableTrackers$)))},Lib=function(a){a&1&&(E(0,"div",7),H(1,"b-spinner"),E(2,"span"),Q(3,"Initializing query builder..."),F()())},Mib=function(a){a&1&&(E(0,"div",10),H(1,"mat-icon",11),E(2,"p"),Q(3," The query is too complex to show in the query builder. You can still perform the search or save the search. "),F()())},Nib=function(a){a&1&&(E(0,"div"),Q(1," We cannot understand your query because it seems to be incorrect (syntactically). Make sure all parentheses are balanced and all labels have values. "),
F())},Oib=function(a){a&1&&(E(0,"div",8),P(1,Mib,4,0,"div",9),P(2,Nib,2,0,"div",5),F());a&2&&(a=N(),z(1),D("ngIf","NOT_REPRESENTABLE"===(null==a.advancedSearchCtrl?null:a.advancedSearchCtrl.getState())),z(1),D("ngIf","SYNTAX_ERROR"===(null==a.advancedSearchCtrl?null:a.advancedSearchCtrl.getState())))},Pib=function(a){a&1&&(E(0,"div",8),Q(1," We encountered a problem while retrieving the interpretation of the search query from the server. Please try again. "),F())},Qib=function(a){a&1&&H(0,"b-tracker-account-menu-hack")},
Rib=function(a){a&1&&(E(0,"span"),Q(1),H(2,"span",16),F());a&2&&(a=N(2).$implicit,z(1),R(" ",a.diff.oldValue," "))},Sib=function(a){a&1&&(E(0,"span")(1,"label"),Q(2),F(),P(3,Rib,3,1,"span",15),Q(4),F());a&2&&(a=N().$implicit,z(2),R("",a.fieldName,":"),z(1),D("ngIf",a.diff.oldValue),z(1),R(" ",a.diff.newValue," "))},Tib=function(a,b){a&1&&(E(0,"div")(1,"label"),Q(2),F(),Q(3),F());a&2&&(a=b.$implicit,b=N(3).$implicit,z(2),R("-",b.fieldName,":"),z(1),R(" ",a," "))},Uib=function(a){a&1&&(I(0),P(1,Tib,
4,2,"div",17),J());a&2&&(a=N(2).$implicit,z(1),D("ngForOf",a.diff.removed))},Vib=function(a,b){a&1&&(E(0,"div")(1,"label"),Q(2),F(),Q(3),F());a&2&&(a=b.$implicit,b=N(3).$implicit,z(2),R("+",b.fieldName,":"),z(1),R(" ",a," "))},Wib=function(a){a&1&&(I(0),P(1,Vib,4,2,"div",17),J());a&2&&(a=N(2).$implicit,z(1),D("ngForOf",a.diff.added))},Xib=function(a){a&1&&(E(0,"div"),P(1,Uib,2,1,"ng-container",15),P(2,Wib,2,1,"ng-container",15),F());a&2&&(a=N().$implicit,z(1),D("ngIf",a.diff.removed),z(1),D("ngIf",
a.diff.added))},Yib=function(a,b){a&1&&(E(0,"div",14),P(1,Sib,5,3,"span",15),P(2,Xib,3,2,"div",15),F());a&2&&(a=b.$implicit,z(1),D("ngIf","SINGLE_VALUE"==a.diffType),z(1),D("ngIf","COLLECTION"==a.diffType))},Zib=function(a,b){a&1&&(E(0,"li",5)(1,"div",6),H(2,"b-user-image",7),F(),E(3,"div",8)(4,"h4"),H(5,"b-user-display-name",9),E(6,"span",10),H(7,"b-formatted-date-time",11),F()(),E(8,"div",12),P(9,Yib,3,2,"div",13),F()()());a&2&&(a=b.$implicit,b=N(),z(2),D("email",b.userToDisplay(a.author)),z(3),
D("email",b.userToDisplay(a.author)),z(2),D("timestamp",a.timestamp),z(2),D("ngForOf",a.diffs))},$ib=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"}},ajb=function(a){a&1&&(I(0),Q(1," > "),J())},bjb=function(a,b){a&1&&(I(0),E(1,"a",7),Q(2),F(),P(3,ajb,2,0,"ng-container",3),J());a&2&&(a=b.$implicit,b=b.last,z(1),wg("aria-label","View recent issues in ",a.name,""),D("routerLinkObj",a.route),z(1),Sg(a.name),z(1),D("ngIf",!b))},cjb=function(a){a&1&&(E(0,"span"),Q(1," [Archived]"),F())},djb=function(a){a&1&&(E(0,"div",5),P(1,bjb,4,4,"ng-container",6),U(2,"async"),P(3,cjb,2,0,"span",3),U(4,"async"),F());a&2&&(a=
N(),z(1),D("ngForOf",V(2,2,a.componentPath$)),z(2),D("ngIf",V(4,4,a.isArchived$)))},ejb=function(a,b){a&1&&(I(0),E(1,"div",8),H(2,"mat-icon",9),E(3,"div",10),Q(4),F()(),E(5,"p",11),Q(6),F(),E(7,"p",10),Q(8),F(),J());a&2&&(a=b.$implicit,z(4),Sg(a.name),z(2),R("Component ID: ",a.componentId,""),z(2),Sg(a.description))},fjb=function(a,b){a&1&&(E(0,"div",12)(1,"a",13),Q(2,"View recent open issues"),F(),E(3,"a",14),Q(4,"View component settings"),F(),E(5,"a",15),Q(6,"Create issue in this component"),F()());
a&2&&(a=b.$implicit,z(1),D("routerLinkObj",a.recentIssues),z(2),D("routerLinkObj",a.componentSettings),z(2),D("routerLinkObj",a.createIssue))},gjb=function(a){a&1&&(E(0,"a",15),Q(1," Create Component "),F())},hjb=function(a){a&1&&(E(0,"p",19),Q(1," None found. "),E(2,"a",20),Q(3,"Learn More"),F()())},ijb=function(a){a&1&&(I(0),H(1,"b-component-path-card",31,32),J());if(a&2){var b=O(2);a=N().$implicit;z(1);D("onedevIsHovercardReady",b.init)("componentId",a.componentId)}},jjb=function(a,b){a&1&&(E(0,
"li")(1,"a",21)(2,"div",22)(3,"span",23),Q(4),H(5,"b-access-level-indicator",24)(6,"b-tracker-chip-smart",25),F(),E(7,"p",26),Q(8),F()(),E(9,"div",27)(10,"a",28),Q(11," Edit "),F(),E(12,"a",28),Q(13," Create Issue "),F()()(),E(14,"onedev-hovercard",null,29),P(16,ijb,3,2,"ng-container",30),F()());if(a&2){a=b.$implicit;var c=O(15);b=N(2);z(1);D("routerLinkObj",b.viewIssues(a.componentId));z(1);D("onedevHovercardTrigger",c);z(2);R(" ",a.name||a.componentId," ");z(1);D("accessLevel",null==a.accessLimit?
null:a.accessLimit.accessLevel)("labelOnlyMode",!0);z(1);D("trackerId",a.trackerId)("showHovercard",!1);z(2);Sg(a.description);z(2);D("routerLinkObj",b.componentSettings(a.componentId));z(2);D("routerLinkObj",b.createIssue(a.componentId))}},kjb=function(a,b){a&1&&(I(0),P(1,hjb,4,0,"p",16),E(2,"ol",17),P(3,jjb,17,10,"li",18),F(),J());a&2&&(a=b.$implicit,z(1),D("ngIf",0===a.length),z(2),D("ngForOf",a))},mjb=function(a){a&1&&(E(0,"a",25),Q(1," Learn more "),F());a&2&&(N(),D("href",ljb(),Ie))},njb=function(a){var b;
return(null!=(b=a.getIssueDigestsList())?b:[]).map(Cpa)},pjb=function(a){var b=new Set,c=0;a=m(a.matchAll(ojb));for(var d=a.next();!d.done;d=a.next())if(d=m(d.value).next().value,!b.has(d)){c+=d.length;if(2049<c)break;b.add(d)}return[].concat(r(b))},qjb=function(a){a&1&&(E(0,"div"),H(1,"b-spinner"),E(2,"span"),Q(3,"Loading..."),F()())},rjb=function(a){a&1&&(E(0,"div",2),P(1,qjb,4,0,"div",3),F());if(a&2){a=N();var b=O(2);z(1);D("ngIf",a.isInitiallyLoading)("ngIfElse",b)}},sjb=function(a){a&1&&(E(0,
"span",17)(1,"strong"),Q(2),F(),Q(3," of "),E(4,"strong"),Q(5),F()());a&2&&(a=N(4),z(2),Tg("",a.startIndex,"\u2013",a.endIndex,""),z(3),Sg(a.totalText))},tjb=function(a){if(a&1){var b=t();E(0,"div",11);P(1,sjb,6,3,"span",12);E(2,"b-button",13);K("onAction",function(){v(b);var c=N(3);return w(c.fetchIssues(c.page-1))});H(3,"b-icon",14);F();E(4,"b-button",15);K("onAction",function(){v(b);var c=N(3);return w(c.fetchIssues(c.page+1))});H(5,"b-icon",16);F()()}a&2&&(a=N(3),z(1),D("ngIf",!a.isRefreshing),
z(1),D("disabled",1>=a.page),z(2),D("disabled",a.page>=a.numPages))},ujb=function(a){if(a&1){var b=t();E(0,"button",18);K("click",function(){v(b);var c=N(3);return w(c.triggerSimilarIssuesSurvey())});H(1,"mat-icon",19);F()}},vjb=function(a){a&1&&(E(0,"li")(1,"h3"),Q(2),F(),P(3,tjb,6,3,"div",9),P(4,ujb,2,0,"button",10),F());a&2&&(a=N(2),z(2),Sg(a.getHeader()),z(1),D("ngIf",!a.enableSimilarIssues),z(1),D("ngIf",a.showSuggestedDupes))},wjb=function(a){a&1&&(E(0,"div",20),Q(1,"There may already be issues opened on this topic. Please consider +1 to the canonical issue if that is the case."),
F())},xjb=function(a){if(a&1){var b=t();E(0,"b-issue-card",26,27);K("init",function(){v(b);var e=N(4);return w(e.trackTitleHoverOver())});F()}if(a&2){var c=O(1);a=N().$implicit;var d=N(3);D("onedevIsHovercardReady",c.init)("issueId",a.id)("location",d.CATEGORIES.MAGIC_BOX+d.getGroupName())}},yjb=function(a,b){if(a&1){var c=t();E(0,"li",22)(1,"onedev-hovercard",null,23);P(3,xjb,2,3,"b-issue-card",24);F();E(4,"a",25);K("click",function(){v(c);var e=N(3);return w(e.trackTitleClick())});Q(5);F()()}if(a&
2){a=b.$implicit;var d=O(2);b=N(3);D("ngClass",b.enableSimilarIssues?"magic-box-item-new":"magic-box-item");z(4);Pg("href","issues/",a.id,"",Ie);D("onedevHovercardTrigger",d);z(1);R(" ",a.title," ")}},zjb=function(a){a&1&&(I(0),P(1,yjb,6,4,"li",21),J());a&2&&(a=N(2),z(1),D("ngForOf",a.magicBoxIssues))},Ajb=function(a){a&1&&(E(0,"li"),Q(1),F());a&2&&(a=N(2),z(1),R(" No ",a.getHeader().toLowerCase()," found. "))},Bjb=function(a){a&1&&(E(0,"li",28)(1,"a",29),Q(2," View All Issues \u2192 "),F()());a&
2&&(a=N(2),z(1),Qg("href",a.viewAllHref,Ie))},Cjb=function(a){if(a&1){var b=t();E(0,"li",30)(1,"button",31);K("click",function(){v(b);var c=N(2);c.fetchIssues(c.page+1);c.analytics.trackEvent(Mp.MAGIC_BOX,"loadMore");return w()});H(2,"mat-icon",32);Q(3," Load more ");F()()}},Djb=function(a){if(a&1){var b=t();E(0,"li",33)(1,"a",29)(2,"button",34);K("click",function(){v(b);N(2).analytics.trackEvent(Mp.MAGIC_BOX,"viewAll");return w()});Q(3,"View all ");H(4,"mat-icon",35);F()()()}a&2&&(a=N(2),z(1),Qg("href",
a.viewAllHref,Ie))},Ejb=function(a){a&1&&(E(0,"li"),H(1,"b-spinner"),E(2,"span"),Q(3,"Loading..."),F()())},Fjb=function(a){a&1&&(E(0,"ul"),P(1,vjb,5,3,"li",4),P(2,wjb,2,0,"div",5),P(3,zjb,2,1,"ng-container",4),P(4,Ajb,2,1,"li",4),P(5,Bjb,3,1,"li",6),P(6,Cjb,4,0,"li",7),P(7,Djb,5,1,"li",8),P(8,Ejb,4,0,"li",4),F());a&2&&(a=N(),z(1),D("ngIf",!a.hideHeader),z(1),D("ngIf",a.showSuggestedDupes),z(1),D("ngIf",!a.isRefreshing),z(1),D("ngIf",0==a.magicBoxIssues.length&&!a.isRefreshing),z(1),D("ngIf",!a.isRefreshing&&
1<a.numPages&&!a.enableSimilarIssues&&a.viewAllHref),z(1),D("ngIf",!a.isRefreshing&&a.endIndex<a.numTotalResults&&a.enableSimilarIssues),z(1),D("ngIf",!a.isRefreshing&&1<a.numPages&&a.enableSimilarIssues&&a.viewAllHref),z(1),D("ngIf",a.isRefreshing))},Gjb=function(a){a&1&&Kg(0)},Ijb=function(a){a&1&&(I(0),P(1,Gjb,1,0,"ng-container",8),J());a&2&&(a=N(),z(1),D("ngTemplateOutlet",a.valueTemplate)("ngTemplateOutletContext",Xg(2,Hjb,a.value)))},Jjb=function(a){a&1&&Q(0);a&2&&(a=N(),Sg(a.value||"--"))},
Kjb=function(a){a&1&&(Sd(),E(0,"svg",9),H(1,"path",10),F());a&2&&(a=N(),Fg("centered",a.centerEditIcon))},Ljb=function(a){a&1&&H(0,"textarea",15);a&2&&(a=N(3),D("formControl",a.editingValue)("cdkAutosizeMaxRows",a.multilineMaxLines))},Mjb=function(a){a&1&&H(0,"input",16);a&2&&(a=N(3),D("formControl",a.editingValue))},Njb=function(a){a&1&&(I(0),E(1,"div",12),P(2,Ljb,1,2,"textarea",13),P(3,Mjb,1,1,"ng-template",null,14,qh),F(),J());if(a&2){var b=O(4);a=N(2);z(2);D("ngIf",a.allowMultipleLines)("ngIfElse",
b)}},Ojb=function(a){a&1&&Kg(0)},Qjb=function(a){a&1&&(I(0),P(1,Ojb,1,0,"ng-container",8),J());a&2&&(a=N(2),z(1),D("ngTemplateOutlet",a.editorTemplate)("ngTemplateOutletContext",Xg(2,Pjb,a.editingValue)))},Rjb=function(a){a&1&&(P(0,Njb,5,2,"ng-container",11),P(1,Qjb,2,4,"ng-container",11));a&2&&(a=N(),D("ngIf",!a.editorTemplate),z(1),D("ngIf",a.editorTemplate))},Sjb=function(){},Tjb=function(a){a&1&&H(0,"span",2);a&2&&(a=N(),D("@indicatorRotate",a._getExpandedState()))},Ujb=function(a){if(a&1){var b=
t();E(0,"b-hotlist-picker",24);K("onApply",function(c){v(b);var d=N();return w(d.handleHotlistPickerSave(c))})("onLoad",function(c){v(b);var d=N();return w(d.loadHotlist(c))})("onCreate",function(c){v(b);var d=N();return w(d.createHotlist(c))});F()}a&2&&(a=N(),D("selectedHotlistIds",a.selectedHotlistIds)("choices",a.hotlists))},Zjb=function(a){a&1&&(E(0,"div",25),H(1,"b-icon",26),E(2,"span"),Q(3),F(),E(4,"a",27),Q(5,"View access settings"),F()());a&2&&(a=N(),D("ngClass",Yg(5,Vjb,Wjb(a),Xjb(a))),z(1),
D("name","alert")("size","small"),z(2),R("",Yjb(a),"\u00a0"),z(1),D("href",a.selectedComponent?a.paths.manageComponent(a.selectedComponent.componentId,"access"):"",Ie))},bkb=function(a){a&1&&(E(0,"div",30),Q(1),F());a&2&&(a=N(2),z(1),R(" Error: The following required field(s) have not been filled: ",$jb(a).concat(akb(a)).join(", ")," "))},ckb=function(a){a&1&&(E(0,"li"),Q(1),F());if(a&2){a=N(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"):"";Sg(a)}},dkb=function(a){a&1&&(E(0,"li"),Q(1),F());a&2&&(a=N(3),z(1),R(" Collaborators: you cannot add ",a.invalidCollaboratorsInput.join(", ")," "))},ekb=function(a){a&1&&(E(0,"div",30),Q(1," Error: The following field(s) have invalid values: "),E(2,"ul"),P(3,ckb,2,1,"li",20),P(4,dkb,2,1,"li",20),F()());a&2&&(a=N(2),z(3),D("ngIf",!a.isBlockedByIssueIdValid||
!a.isBlockingIssueIdValid||!a.isParentIssueIdsValid),z(1),D("ngIf",!a.isCollaboratorsValid))},fkb=function(a){a&1&&(E(0,"div",30),Q(1," Error: There is at least one upload ongoing. Please cancel or wait for it to be finished. "),F())},hkb=function(a){a&1&&(E(0,"div",28),P(1,bkb,2,1,"div",29),P(2,ekb,5,2,"div",29),P(3,fkb,2,0,"div",29),F());a&2&&(a=N(),z(1),D("ngIf",0!==$jb(a).length||0!==akb(a).length),z(1),D("ngIf",!a.isBlockedByIssueIdValid||!a.isBlockingIssueIdValid||!a.isParentIssueIdsValid||
!a.isCollaboratorsValid),z(1),D("ngIf",gkb(a.comment)))},ikb=function(a,b){if(a&1){var c=t();E(0,"div",33)(1,"b-hotlist-chip",34);K("removeHotlist",function(){var d=v(c).$implicit,e=N(2);return w(e.removeHotlist(d.hotlistId))});F()()}a&2&&(a=b.$implicit,z(1),D("hotlist",a))},jkb=function(a){a&1&&(E(0,"div",31),P(1,ikb,2,1,"div",32),F());a&2&&(a=N(),z(1),D("ngForOf",a.selectedHotlists))},kkb=function(a,b){if(a&1){var c=t();E(0,"button",43);K("click",function(){var d=v(c).$implicit,e=N(2);e.selectedTemplate=
d;e.getIssueTemplate();return w()});Q(1);F()}a&2&&(a=b.$implicit,z(1),Sg(a.name))},lkb=function(a){if(a&1){var b=t();E(0,"button",43);K("click",function(){v(b);var c=N(2);c.selectedTemplate=c.availableExistingIssueTemplate;c.getIssueTemplate();return w()});Q(1);F()}a&2&&(a=N(2),z(1),Sg(a.availableExistingIssueTemplate.name))},mkb=function(a){a&1&&(E(0,"div",35)(1,"div",14)(2,"label",36),Q(3,"Template"),F()(),E(4,"button",37),Q(5),H(6,"b-icon",38),F(),E(7,"mat-menu",39,40),P(9,kkb,2,1,"button",41),
P(10,lkb,2,1,"button",42),F()());if(a&2){var b=O(8);a=N();var c;z(4);D("matMenuTriggerFor",b);z(1);Sg(null!==(c=null==a.selectedTemplate?null:a.selectedTemplate.name)&&void 0!==c?c:"");z(2);D("overlapTrigger",!0);z(2);D("ngForOf",a.availablePredefinedTemplates);z(1);D("ngIf",a.availableExistingIssueTemplate)}},nkb=function(a){a&1&&(E(0,"div",44)(1,"div",30),Q(2," You do not have permission to create issues in this component. "),F()())},okb=function(a){if(a&1){var b=t();E(0,"div",66)(1,"b-magic-box",
67);K("headerChange",function(c){v(b);var d=N(3);return w(d.magicBoxHeader=c)});F()()}a&2&&(a=N(3),z(1),D("componentId",a.issue.componentId)("hideHeader",!0)("showInline",a.showRecentIssuesInline)("issueTitle",a.issue.title)("issue",a.issue)("customFieldMap",a.customFieldMap))},qkb=function(a){if(a&1){var b=t();E(0,"div",62)(1,"div",63)(2,"a",64);K("click",function(){v(b);var c=N(2);return w(pkb(c))})("keydown.enter",function(){v(b);var c=N(2);return w(pkb(c))})("keydown.space",function(){v(b);var c=
N(2);return w(pkb(c))});Q(3);F()();P(4,okb,2,6,"div",65);F()}a&2&&(a=N(2),z(3),Tg(" ",a.showRecentIssuesInline?"Hide":"View"," ",a.magicBoxHeader.toLowerCase()," "),z(1),D("ngIf",a.showRecentIssuesInline&&a.issue.componentId))},rkb=function(a,b){if(a&1){var c=t();E(0,"button",71);K("click",function(){var d=v(c).$implicit,e=N(3);return w(e.setPriority(d.value))});Q(1);F()}a&2&&(a=b.$implicit,z(1),Sg(a.displayText))},skb=function(a){if(a&1){var b=t();E(0,"div",35)(1,"div",14)(2,"label",68);Q(3,"Priority");
F()();E(4,"button",69);Q(5);H(6,"b-icon",38);F();E(7,"mat-menu",39,70)(9,"button",71);K("click",function(){v(b);var d=N(2);return w(d.setPriority(void 0))});Q(10,"--");F();P(11,rkb,2,1,"button",72);F()()}if(a&2){var c=O(8);a=N(2);z(4);D("matMenuTriggerFor",c);ug("aria-label","Priority, required"+(a.issue.priority?", "+a.issue.priority:""));z(1);R("",a.issue.priority?a.issue.priority:"--"," ");z(2);D("overlapTrigger",!0);z(4);D("ngForOf",a.priorityChoices)}},ukb=function(a,b){if(a&1){var c=t();E(0,
"button",76);K("click",function(){var d=v(c).$implicit,e=N(3);return w(tkb(e,d.value))});Q(1);F()}a&2&&(a=b.$implicit,Qg("title",a.altText||""),z(1),Sg(a.displayText))},vkb=function(a){if(a&1){var b=t();E(0,"div",35)(1,"div",14)(2,"label",73);Q(3,"Type");F()();E(4,"button",69);U(5,"enumToHuman");Q(6);U(7,"enumToHuman");H(8,"b-icon",38);F();E(9,"mat-menu",39,74)(11,"button",71);K("click",function(){v(b);var d=N(2);return w(tkb(d))});Q(12,"--");F();P(13,ukb,2,2,"button",75);F()()}if(a&2){var c=O(10);
a=N(2);z(4);D("matMenuTriggerFor",c);ug("aria-label","Type, required"+(a.issue.type?V(5,5,", "+a.issue.type):""));z(2);R("",V(7,7,a.issue.type||"--")," ");z(3);D("overlapTrigger",!0);z(4);D("ngForOf",a.issueTypeChoices)}},wkb=function(a){if(a&1){var b=t();E(0,"div",80)(1,"div",14)(2,"label",81);Q(3,"Assignee");F()();E(4,"div",82)(5,"input",83);K("ngModelChange",function(c){v(b);var d=N(3);return w(d.assigneeText=c)});F()()()}a&2&&(a=N(3),z(5),D("ngModel",a.assigneeText)("bContactAutocomplete","SINGLE"))},
xkb=function(a){a&1&&(E(0,"mat-error"),Q(1," Collaborators only accepts individual users. "),F())},ykb=function(a){if(a&1){var b=t();E(0,"div",84)(1,"div",14)(2,"label",85);Q(3,"Collaborators");F();H(4,"mat-icon",86);F();E(5,"div",82)(6,"input",87);K("ngModelChange",function(c){v(b);var d=N(3);return w(d.collaboratorsText=Bt(c))});F()();P(7,xkb,2,0,"mat-error",20);F()}a&2&&(a=N(3),z(6),Fg("invalid",!a.isCollaboratorsValid),D("ngModel",Ct(a.collaboratorsText))("bContactAutocomplete","MULTI"),z(1),
D("ngIf",!a.isCollaboratorsValid&&a.submitRequested))},zkb=function(a){if(a&1){var b=t();E(0,"div",88)(1,"div",14)(2,"label",89);Q(3,"CC");F()();E(4,"div",82)(5,"input",90);K("ngModelChange",function(c){v(b);var d=N(3);return w(d.ccsText=Bt(c))});F()()()}a&2&&(a=N(3),z(5),D("ngModel",Ct(a.ccsText))("bContactAutocomplete","MULTI"))},Akb=function(a){a&1&&(I(0),E(1,"div",12),P(2,wkb,6,2,"div",77),P(3,ykb,8,5,"div",78),F(),E(4,"div",12),P(5,zkb,6,2,"div",79),F(),J());a&2&&(a=N(2),z(2),D("ngIf",a.canEditIssuesInComponent),
z(1),D("ngIf",a.canEditIssuesInComponent),z(2),D("ngIf",a.canEditIssuesInComponent))},Bkb=function(a){if(a&1){var b=t();E(0,"div",80)(1,"div",14)(2,"label",81);Q(3,"Assignee");F()();E(4,"div",82)(5,"input",83);K("ngModelChange",function(c){v(b);var d=N(3);return w(d.assigneeText=c)});F()()()}a&2&&(a=N(3),z(5),D("ngModel",a.assigneeText)("bContactAutocomplete","SINGLE"))},Ckb=function(a){if(a&1){var b=t();E(0,"div",88)(1,"div",14)(2,"label",89);Q(3,"CC");F()();E(4,"div",82)(5,"input",90);K("ngModelChange",
function(c){v(b);var d=N(3);return w(d.ccsText=Bt(c))});F()()()}a&2&&(a=N(3),z(5),D("ngModel",Ct(a.ccsText))("bContactAutocomplete","MULTI"))},Dkb=function(a){a&1&&(I(0),E(1,"div",12),P(2,Bkb,6,2,"div",77),P(3,Ckb,6,2,"div",79),F(),J());a&2&&(a=N(2),z(2),D("ngIf",a.canEditIssuesInComponent),z(1),D("ngIf",a.canEditIssuesInComponent))},Ekb=function(a){if(a&1){var b=t();E(0,"div",12)(1,"div",13)(2,"b-issue-access-limits-dropdown",91);K("updatedAccessLimitLevel",function(c){v(b);var d=N(2);return w(d.onAccessLimitLevelSelected(c))});
F()()()}a&2&&(a=N(2),z(2),D("disabled",!1)("implicitAccessEnabled",a.componentHasExpandedAccessEnabled)("defaultAccessLimitLevel",a.selectedAccessLimitLevel))},Fkb=function(a,b){if(a&1){var c=t();E(0,"button",71);K("click",function(){var d=v(c).$implicit,e=N(3);return w(e.issue.severity=e.toIssueSeverity(d.value))});Q(1);F()}a&2&&(a=b.$implicit,z(1),Sg(a.displayText))},Gkb=function(a){a&1&&(E(0,"span"),Q(1,"*"),F())},Hkb=function(a){a&1&&(E(0,"span"),Q(1,"*"),F())},Ikb=function(a){a&1&&(E(0,"span"),
Q(1,"*"),F())},Kkb=function(a){if(a&1){var b=t();E(0,"div",99)(1,"div",14)(2,"label",117);Q(3," Parents ");P(4,Ikb,2,0,"span",20);F()();E(5,"input",118);K("ngModelChange",function(c){v(b);var d=N(3);d.parentIssueIds=Jkb(d,c).map(op);c=Ct(d.parentIssueIds);d.isParentIssueIdsValid=d.ISSUE_ID_LIST_PATTERN.test(c);return w()});F()()}a&2&&(a=N(3),z(4),D("ngIf",!a.isParentIssueIdsValid),z(1),D("ngModel",Ct(a.parentIssueIds)))},Lkb=function(a){a&1&&(E(0,"span"),Q(1,"*"),F())},Mkb=function(a){if(a&1){var b=
t();E(0,"div",99)(1,"div",14)(2,"label",119);Q(3," Children ");P(4,Lkb,2,0,"span",20);F()();E(5,"input",120);K("ngModelChange",function(c){v(b);var d=N(3);d.childrenIssueIds=Jkb(d,c).map(op);c=Ct(d.childrenIssueIds);d.isChildIssueIdsValid=d.ISSUE_ID_LIST_PATTERN.test(c);return w()});F()()}a&2&&(a=N(3),z(4),D("ngIf",!a.isChildIssueIdsValid),z(1),D("ngModel",Ct(a.childrenIssueIds)))},Nkb=function(a){if(a&1){var b=t();E(0,"div",99)(1,"div",14)(2,"label",121);Q(3," Access level ");F()();E(4,"b-issue-access-limits-dropdown",
122);K("updatedAccessLimitLevel",function(c){v(b);var d=N(3);return w(d.onAccessLimitLevelSelected(c))});F()()}a&2&&(a=N(3),z(4),D("disabled",!1)("defaultAccessLimitLevel",a.selectedAccessLimitLevel)("implicitAccessEnabled",a.componentHasExpandedAccessEnabled))},Okb=function(a){if(a&1){var b=t();E(0,"onedev-text-field",126);K("valueChange",function(d){v(b);var e=N(2).$implicit,f=N(3);return w(f.setCustomFieldValue(e,d))});F()}if(a&2){a=N(2).$implicit;var c=N(3);Pg("id","bv2-custom-field-",a.customFieldId,
"");D("value",a.textValue);ug("required",c.isCustomFieldRequired(a))("aria-labelledby","bv2-custom-field-"+a.customFieldId+"-label")}},Pkb=function(a){if(a&1){var b=t();E(0,"onedev-numeric-field",126);K("valueChange",function(d){v(b);var e=N(2).$implicit,f=N(3);return w(f.setCustomFieldValue(e,d))});F()}if(a&2){a=N(2).$implicit;var c=N(3);Pg("id","bv2-custom-field-",a.customFieldId,"");D("value",a.numericValue);ug("required",c.isCustomFieldRequired(a))("aria-labelledby","bv2-custom-field-"+a.customFieldId+
"-label")}},Qkb=function(a){if(a&1){var b=t();E(0,"div")(1,"bv2-input-date-picker",127);K("boundValueChange",function(d){v(b);var e=N(2).$implicit,f=N(3);return w(f.setCustomFieldValue(e,d))});F()()}if(a&2){a=N(2).$implicit;var c=N(3);z(1);Qg("bv2AriaLabelledby","bv2-custom-field-"+a.customFieldId+"-label");D("boundValue",a.dateValue)("isRequired",c.isCustomFieldRequired(a))("bv2Id","bv2-custom-field-"+a.customFieldId)}},Rkb=function(a){if(a&1){var b=t();E(0,"onedev-single-select",128);K("valueChange",
function(d){v(b);var e=N(2).$implicit,f=N(3);return w(f.setCustomFieldValue(e,d))});F()}if(a&2){a=N(2).$implicit;var c=N(3);D("value",a.enumValue)("options",c.getCustomFieldAllowedValues(a))("includeEmptyOption",!0);ug("aria-labelledby","bv2-custom-field-"+a.customFieldId+"-label")}},Skb=function(a,b){a&1&&(E(0,"div"),P(1,Okb,1,4,"onedev-text-field",124),P(2,Pkb,1,4,"onedev-numeric-field",124),P(3,Qkb,2,4,"div",20),P(4,Rkb,1,4,"onedev-single-select",125),F());a&2&&(a=b.ngIf,b=N(4),z(1),D("ngIf",a===
b.FieldType.TEXT),z(1),D("ngIf",a===b.FieldType.NUMERIC),z(1),D("ngIf",a===b.FieldType.DATE),z(1),D("ngIf",a===b.FieldType.ENUM))},Tkb=function(a,b){if(a&1){var c=t();E(0,"div")(1,"b-list-field",129);K("valuesChange",function(e){v(c);var f=N().$implicit,h=N(3);return w(h.setCustomFieldValue(f,e.values))});F()()}if(a&2){a=b.ngIf;b=N().$implicit;var d=N(3);z(1);D("defaultLineCount",2)("type",a)("values",d.getListFieldValues(b))("enumChoices",d.customFieldAllowedValuesMap[b.customFieldId]||null)("truncate",
!0);ug("aria-labelledby","bv2-custom-field-"+b.customFieldId+"-label")}},Vkb=function(a,b){a&1&&(E(0,"div",99)(1,"div",14)(2,"label",123),Q(3),F()(),P(4,Skb,5,4,"div",20),P(5,Tkb,2,6,"div",20),F());if(a&2){a=b.$implicit;b=N(3);z(2);Pg("id","bv2-custom-field-",a.customFieldId,"-label");var c=b.customFieldMap[a.customFieldId];Qg("title",(c&&c.description?c.description:"Custom Field")+" [ID: "+a.customFieldId+"]");D("ngClass",Xg(7,Ukb,b.isCustomFieldRequired(a)));var d=(c=b.customFieldMap[a.customFieldId])?
c.name:"";c&&b.canEditIssuesInComponent&&b.customFieldMap[a.customFieldId].required&&(d+=", required field");ug("aria-label",d);z(1);R(" ",b.getCustomFieldName(a)," ");z(1);D("ngIf",b.getSingleEditFieldType(b.customFieldMap[a.customFieldId]));z(1);D("ngIf",b.getListFieldType(b.customFieldMap[a.customFieldId]))}},Wkb=function(a){if(a&1){var b=t();E(0,"mat-expansion-panel",92)(1,"mat-expansion-panel-header")(2,"mat-panel-title");Q(3," Advanced fields (Required fields marked with");E(4,"span",93);Q(5,
"*");F();Q(6,") ");F()();E(7,"div",94)(8,"div",95)(9,"div",14)(10,"label",96);Q(11," Severity ");F()();E(12,"button",97);Q(13);H(14,"b-icon",38);F();E(15,"mat-menu",39,98);P(17,Fkb,2,1,"button",72);F()();E(18,"div",99)(19,"div",14)(20,"label",100);Q(21," Found in ");F()();E(22,"input",101);K("ngModelChange",function(d){v(b);var e=N(2);return w(e.issue.foundInVersion=Bt(d))});F()();E(23,"div",102)(24,"div",14)(25,"label",103);Q(26," In prod ");F()();E(27,"mat-slide-toggle",104);K("ngModelChange",function(d){v(b);
var e=N(2);return w(e.issue.inProd=d)});F()();H(28,"div",54);E(29,"div",99)(30,"div",14)(31,"label",105);Q(32," Reporter ");F()();E(33,"input",106);K("ngModelChange",function(d){v(b);var e=N(2);return w(e.reporterText=d)});F()();E(34,"div",99)(35,"div",14)(36,"label",107);Q(37," Verifier ");F()();E(38,"input",108);K("ngModelChange",function(d){v(b);var e=N(2);return w(e.verifierText=d)});F()();E(39,"div",99)(40,"div",14)(41,"label",109);Q(42," Targeted to ");F()();E(43,"input",110);K("ngModelChange",
function(d){v(b);var e=N(2);return w(e.issue.targetedToVersion=Bt(d))});F()();H(44,"div",54);E(45,"div",99)(46,"div",14)(47,"label",111);Q(48," Blocked by ");P(49,Gkb,2,0,"span",20);F()();E(50,"input",112);K("ngModelChange",function(d){v(b);var e=N(2);e.issue.blockedByIssueId=Jkb(e,d);d=Ct(e.issue.blockedByIssueId);e.isBlockedByIssueIdValid=e.ISSUE_ID_LIST_PATTERN.test(d);return w()});F()();E(51,"div",99)(52,"div",14)(53,"label",113);Q(54," Blocking ");P(55,Hkb,2,0,"span",20);F()();E(56,"input",114);
K("ngModelChange",function(d){v(b);var e=N(2);e.issue.blockingIssueId=Jkb(e,d);d=Ct(e.issue.blockingIssueId);e.isBlockingIssueIdValid=e.ISSUE_ID_LIST_PATTERN.test(d);return w()});F()();P(57,Kkb,6,2,"div",115);P(58,Mkb,6,2,"div",115);P(59,Nkb,5,3,"div",115);H(60,"div",54);P(61,Vkb,6,9,"div",116);F()()}if(a&2){var c=O(16);a=N(2);z(12);D("matMenuTriggerFor",c);ug("aria-label","Severity"+(a.issue.severity?", "+a.issue.severity:""));z(1);Sg(a.issue.severity);z(2);D("overlapTrigger",!0);z(2);D("ngForOf",
a.severityChoices);z(5);D("ngModel",Ct(a.originalIssueCopy.foundInVersion));z(5);D("ngModel",a.issue.inProd);z(6);D("ngModel",a.reporterText)("bContactAutocomplete","SINGLE");z(5);D("ngModel",a.verifierText)("bContactAutocomplete","SINGLE");z(5);D("ngModel",Ct(a.originalIssueCopy.targetedToVersion));z(6);D("ngIf",!a.isBlockedByIssueIdValid);z(1);D("ngModel",Ct(a.issue.blockedByIssueId));z(5);D("ngIf",!a.isBlockingIssueIdValid);z(1);D("ngModel",Ct(a.issue.blockingIssueId));z(1);D("ngIf",!a.sessionIsExternal);
z(1);D("ngIf",!a.sessionIsExternal);z(1);D("ngIf",a.enableIssueAccessLimits&&!vr(a.selectedComponent));z(2);D("ngForOf",a.issue.customField)}},Xkb=function(a){a&1&&(E(0,"div",25),H(1,"b-icon",26),E(2,"span"),Q(3),F(),E(4,"a",27),Q(5,"View access settings"),F()());a&2&&(a=N(2),D("ngClass",Yg(5,Vjb,Wjb(a),Xjb(a))),z(1),D("name","alert")("size","small"),z(2),R("",Yjb(a),"\u00a0"),z(1),D("href",a.selectedComponent?a.paths.manageComponent(a.selectedComponent.componentId,"access"):"",Ie))},Ykb=function(a){if(a&
1){var b=t();E(0,"div",130)(1,"b-recaptcha",131);K("onUpdate",function(c){v(b);var d=N(2);return w(d.recaptchaResponse=c)});F()()}},clb=function(a){if(a&1){var b=t();E(0,"div");P(1,qkb,5,3,"div",45);E(2,"div",12)(3,"div",13)(4,"div",14)(5,"label",46);Q(6,"Title");F()();E(7,"div",47)(8,"input",48);K("ngModelChange",function(c){v(b);var d=N();return w(d.setTitle(c))});F()()();P(9,skb,12,5,"div",18);P(10,vkb,14,9,"div",18);F();P(11,Akb,6,3,"ng-container",20);P(12,Dkb,4,2,"ng-container",20);E(13,"div",
49)(14,"div",12)(15,"div",13)(16,"div",14)(17,"label",50);Q(18,"Description");F()();E(19,"b-comment-box",51);K("commentChange",function(c){v(b);var d=N();return w(d.comment=c)})("onChange",function(){v(b);var c=N();return w(c.saveCommentDraft())})("onSubmit",function(c){v(b);var d=N();return w(Zkb(d,!c))})("onRestrict",function(){v(b);var c=N();return w(c.showNewContentJudgementDialog())});E(20,"b-markdown-toggle",52);K("change",function(c){v(b);var d=N();return w(d.comment.formattingMode=c)});F()()()();
P(21,Ekb,3,3,"div",53);H(22,"div",54);E(23,"div",55);P(24,Wkb,62,20,"mat-expansion-panel",56);F();P(25,Xkb,6,8,"div",9);P(26,Ykb,2,0,"div",57);E(27,"div",58)(28,"b-button",59);K("onAction",function(){v(b);var c=N();return w(Zkb(c,!0))});Q(29," Create ");F();E(30,"b-button",60);K("onAction",function(){v(b);var c=N();return w(Zkb(c,!1))});Q(31," Create & Start Another ");F();E(32,"b-button",61);K("onAction",function(){v(b);var c=N();c.draftStore.$window.sessionStorage.removeItem(ep("0"));$kb(c.reloadService);
return w()});Q(33," Discard ");F()()()()}a&2&&(a=N(),z(1),D("ngIf",a.selectedComponent),z(7),D("ngModel",a.issue.title)("bFocus",a.newIssueStarted),z(1),D("ngIf",a.canEditIssuesInComponent),z(1),D("ngIf",a.canEditIssuesInComponent),z(1),D("ngIf",a.enableCollaborators),z(1),D("ngIf",!a.enableCollaborators),z(7),D("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",Xg(25,alb,gkb(a.comment))),z(1),D("initialValue",a.comment.formattingMode),z(1),D("ngIf",a.canEditIssuesInComponent&&a.enableIssueAccessLimits&&!!vr(a.selectedComponent)),z(3),D("ngIf",a.canEditIssuesInComponent),z(1),D("ngIf",Wjb(a)||Xjb(a)),z(1),D("ngIf",a.enableRecaptcha),z(2),D("disabled",blb(a)),z(2),D("disabled",blb(a)),z(2),D("disabled",blb(a)))},dlb=
function(a,b){a&1&&(E(0,"h2",132),Q(1,"This component has a default description"),F(),E(2,"mat-dialog-content"),Q(3," You have already entered a description, but the component you chose has a default description: "),E(4,"div",133),Q(5),F()(),E(6,"mat-dialog-actions")(7,"button",134),Q(8,"Use component description"),F(),E(9,"button",135),Q(10,"Keep my description"),F()());a&2&&(a=b.$implicit,z(5),Sg(a),z(2),D("mat-dialog-close",!0))},elb=function(a,b){b.assigneeText=Yj(a.assigneeUser);b.reporterText=
Yj(a.reporterUser);b.verifierText=Yj(a.verifierUser);b.collaboratorsText=Zj(a.collaboratorsUsers);b.ccsText=Zj(a.ccUsers)},glb=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=gk(a.assigneeText));null!=a.reporterText&&(b.reporterUser=gk(a.reporterText));null!=a.verifierText&&(b.verifierUser=gk(a.verifierText));a.collaboratorsText&&(c=flb(a.collaboratorsText),c.length?b.collaboratorsUsers=
c:b.collaboratorsUsers=void 0);a.ccsText&&(a=flb(a.ccsText),a.length?b.ccUsers=a:b.ccUsers=void 0)},flb=function(a){var b=[];a=m(a);for(var c=a.next();!c.done;c=a.next())(c=gk(c.value))&&b.push(c);return b},ilb=function(a,b){for(var c=m(Object.keys(b)),d=c.next();!d.done;d=c.next()){d=d.value;var e=b[d],f=hlb[d];"customField"===d||Fj(e,f)||(Array.isArray(e)?a[d]?(e=Jna([].concat(r(e),r(a[d]))),a[d]=e):a[d]=e:""!==e&&(a[d]=e))}},jlb=function(a){a=Object.assign({},a);return delete a.hotlistId,a},klb=
function(a){var b={};a=m(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},llb=function(a){if(a&1){var b=t();E(0,"b-star-toggle",12);K("starClicked",function(){v(b);var c=N(2);return w(c.toggleStar())});F()}a&2&&(a=N(2),D("starMessage","Star this bookmark group")("unStarMessage","Un-star this bookmark group")("starred",a.isStarred))},mlb=function(a){a&1&&H(0,"b-star-toggle",13);a&2&&D("starMessage",
"You are an admin of this bookmark group, and cannot star/unstar it.")("unStarMessage","You are an admin of this bookmark group, and cannot star/unstar it.")("starred",!0)("disabled",!0)},nlb=function(a){if(a&1){var b=t();E(0,"div")(1,"div",7);P(2,llb,1,3,"b-star-toggle",8);P(3,mlb,1,4,"b-star-toggle",9);E(4,"span",10);Q(5);E(6,"span")(7,"button",11);K("click",function(){v(b);var c=N();return w(c.editBookmarkGroup())});F()()()()()}a&2&&(a=N(),z(2),D("ngIf",!a.isAdmin),z(1),D("ngIf",a.isAdmin),z(2),
R("",a.bookmarkGroup.name," "))},qlb=function(a){if(a&1){var b=t();E(0,"b-saved-search-panel",17);K("focusedRowIndexChange",function(f){v(b);var h=N().$implicit,l=N();return w(olb(l,h,f))})("selectionChange",function(f){v(b);var h=N(2);return w(plb(h,f))})("resultsLoaded",function(f){v(b);var h=N(2);return w(h.loadHotlists(f))});F()}if(a&2){var c=N();a=c.$implicit;var d=c.first;c=c.last;var e=N();D("panel",a)("isDashboardEditable",e.isAdmin)("focusedRowIndex",a.focusedRowIndex)("savedSearchId",a.resourceId)("first",
d)("last",c)}},rlb=function(a){if(a&1){var b=t();E(0,"b-hotlist-panel",18);K("focusedRowIndexChange",function(f){v(b);var h=N().$implicit,l=N();return w(olb(l,h,f))})("selectionChange",function(f){v(b);var h=N(2);return w(plb(h,f))})("resultsLoaded",function(f){v(b);var h=N(2);return w(h.loadHotlists(f))});F()}if(a&2){var c=N();a=c.$implicit;var d=c.first;c=c.last;var e=N();D("panel",a)("isDashboardEditable",e.isAdmin)("focusedRowIndex",a.focusedRowIndex)("hotlistId",a.resourceId)("first",d)("last",
c)}},slb=function(a,b){a&1&&(E(0,"div",14),P(1,qlb,1,6,"b-saved-search-panel",15),P(2,rlb,1,6,"b-hotlist-panel",16),F());a&2&&(D("ngSwitch",b.$implicit.type),z(1),D("ngSwitchCase","SAVED_SEARCH"),z(1),D("ngSwitchCase","HOTLIST"))},tlb=function(a){if(a&1){var b=t();E(0,"button",8);K("click",function(){v(b);var c=N();return w(c.archive())});Q(1," Archive bookmark group ");F()}a&2&&(a=N(),D("disabled",a.hasUnsavedChanges()||a.isSaving()))},ulb=function(a){if(a&1){var b=t();E(0,"button",8);K("click",
function(){v(b);var c=N();return w(c.unarchive())});Q(1," Unarchive bookmark group ");F()}a&2&&(a=N(),D("disabled",a.hasUnsavedChanges()||a.isSaving()))},vlb=function(a){a&1&&(E(0,"span",32),Q(1," (archived) "),F())},xlb=function(a,b){if(a&1){var c=t();E(0,"div")(1,"b-hotlist-chip-smart",48);K("removeHotlist",function(){var d=v(c).ngIf,e=N(4);return w(wlb(e,d))});F()()}a&2&&(a=b.ngIf,z(1),D("id",a))},zlb=function(a,b){if(a&1){var c=t();E(0,"div",49)(1,"a",50);Q(2);F();E(3,"span",51);K("click",function(){var e=
v(c).ngIf,f=N(4);return w(ylb(f,e))})("keydown.enter",function(){var e=v(c).ngIf,f=N(4);return w(ylb(f,e))})("keydown.space",function(){var e=v(c).ngIf,f=N(4);return w(ylb(f,e))});Q(4," \u00d7 ");F()()}if(a&2){a=b.ngIf;b=N().$implicit;var d=N(3);z(1);D("href",d.paths.viewSavedSearch(a),Ie)("matTooltip","Go to saved search: "+d.getDisplayName(b));z(1);R(" S: ",d.getDisplayName(b)," ");z(1);D("matTooltip","Remove item: "+d.getDisplayName(b));ug("aria-label","Remove item: "+d.getDisplayName(b))}},Alb=
function(a){a&1&&(E(0,"span",52),Q(1,"<None>"),F())},Blb=function(a,b){a&1&&(E(0,"div",45),P(1,xlb,2,1,"div",7),P(2,zlb,5,5,"div",46),P(3,Alb,2,0,"span",47),F());if(a&2){a=b.$implicit;b=N(3);z(1);var c;var d="HOTLIST"===a.resourceType?null==(c=a.hotlistId)?void 0:c.toString():void 0;D("ngIf",d);z(1);D("ngIf","SAVED_SEARCH"===a.resourceType?a.savedSearchId:void 0);z(1);D("ngIf",!(null==b.bookmarkGroupUnderEdit.item?0:b.bookmarkGroupUnderEdit.item.length))}},Dlb=function(a,b){if(a&1){var c=t();E(0,
"button",61);K("click",function(){var d=v(c).$implicit,e=N(5);return w(Clb(e,d))});Q(1);F()}a&2&&(a=b.$implicit,z(1),R("",a.name," "))},Elb=function(a){a&1&&P(0,Dlb,2,1,"button",60);a&2&&(a=N(4),D("ngForOf",a.savedSearchChoices))},Flb=function(a){a&1&&(E(0,"div",53)(1,"label",54),Q(2,"Add from saved searches:"),F(),E(3,"button",55)(4,"span",56),Q(5,"Select"),F(),H(6,"mat-icon",57),F(),E(7,"mat-menu",null,58),P(9,Elb,1,1,"ng-template",59),F()());if(a&2){var b=O(8);z(3);D("matMenuTriggerFor",b)}},Klb=
function(a){if(a&1){var b=t();I(0);E(1,"div",30)(2,"label",33)(3,"span",18);Q(4,"Selected items");F()();E(5,"div",34,35);P(7,Blb,4,3,"div",36);F()();E(8,"div",37)(9,"div",38)(10,"label",39);Q(11,"Add hotlist from favorites:");F();E(12,"b-hotlist-picker",40);K("onApply",function(c){v(b);var d=N(2);return w(Glb(d,c))})("onCreate",function(c){v(b);var d=N(2);return w(Hlb(d,c))})("onLoad",function(c){v(b);var d=N(2);return w(Ilb(d,c))});F()();E(13,"div",41)(14,"label",42);Q(15,"Add hotlist by query:");
F();E(16,"b-hotlist-search",43);K("itemSelect",function(c){v(b);var d=N(2);"hotlistId"in c&&!d.selectedHotlistIds[0].includes(c.hotlistId)&&(Jlb(d,c.hotlistId),d.bookmarkGroupUnderEdit.item.push({name:c.name,resourceType:"HOTLIST",hotlistId:c.hotlistId}));return w()});F()();P(17,Flb,10,1,"div",44);F();J()}a&2&&(a=N(2),z(7),D("ngForOf",a.bookmarkGroupUnderEdit.item),z(5),D("selectedHotlistIds",a.selectedHotlistIds)("choices",a.userHotlists)("checkEditAcl",!1),z(4),D("showGroups",!1)("allowStarring",
!1),z(1),D("ngIf",0<a.savedSearchChoices.length))},Mlb=function(a){a&1&&(E(0,"span"),Q(1),E(2,"a",65),Q(3),F()());if(a&2){a=N().$implicit;var b=N(3);z(1);R(" Hotlist ",a.hotlistId,": ");z(1);D("href",Llb(b,a),Ie);z(1);R(" ",a.name||"(name not available)"," ")}},Nlb=function(a){a&1&&(E(0,"span"),Q(1),E(2,"a",65),Q(3),F()());if(a&2){a=N().$implicit;var b=N(3);z(1);R(" Saved search ",a.savedSearchId,": ");z(1);D("href",Llb(b,a),Ie);z(1);R(" ",a.name||"(name not available)"," ")}},Olb=function(a,b){a&
1&&(E(0,"li"),P(1,Mlb,4,3,"span",7),P(2,Nlb,4,3,"span",7),F());a&2&&(a=b.$implicit,z(1),D("ngIf","HOTLIST"===a.resourceType),z(1),D("ngIf","SAVED_SEARCH"===a.resourceType))},Plb=function(a){a&1&&(E(0,"div",62)(1,"label")(2,"span",18),Q(3,"Items"),F()(),E(4,"div",63)(5,"ul"),P(6,Olb,3,2,"li",64),F()()());a&2&&(a=N(2),z(6),D("ngForOf",a.bookmarkGroup.item))},Qlb=function(a){if(a&1){var b=t();E(0,"div",66)(1,"button",67);K("click",function(){v(b);var c=N(2);return w(c.saveMetadata())});Q(2," Update ");
F();E(3,"button",68);K("click",function(){v(b);var c=N(2);return w(c.revertMetadataChanges())});Q(4," Revert changes ");F()()}a&2&&(a=N(2),z(1),D("disabled",!a.hasUnsavedMetadataChanges()||a.isSaving()))},Rlb=function(a){if(a&1){var b=t();E(0,"div",66)(1,"button",67);K("click",function(){v(b);var c=N(2);return w(c.saveAccessPolicy())});Q(2," Update ");F();E(3,"button",68);K("click",function(){v(b);var c=N(2);return w(c.revertAccessPolicyChanges())});Q(4," Revert changes ");F()()}a&2&&(a=N(2),z(1),
D("disabled",!a.hasUnsavedAccessPolicyChanges()||a.isSaving()||!a.isAdminsFieldValid||!a.isReaderFieldValid))},Vlb=function(a){if(a&1){var b=t();I(0);E(1,"div",9)(2,"h2");Q(3);F();P(4,vlb,2,0,"span",10);E(5,"a",11);Q(6," (View Dashboard)");F()();E(7,"mat-tab-group",12);K("selectedIndexChange",function(d){v(b);var e=N();return w(e.selectedTabIndex=d)})("selectedIndexChange",function(d){v(b);var e=N();return w(e.tabChange(d))});E(8,"mat-tab",13)(9,"div",14);H(10,"b-error-banner",15);E(11,"div",16)(12,
"label",17)(13,"span",18);Q(14,"Name");F()();E(15,"input",19,20);K("ngModelChange",function(d){v(b);var e=N();return w(e.bookmarkGroupUnderEdit.name=d)});F()();E(17,"div",16)(18,"label",21)(19,"span",18);Q(20,"Description");F()();E(21,"textarea",22);K("ngModelChange",function(d){v(b);var e=N();return w(e.bookmarkGroupUnderEdit.description=d)});F()();P(22,Klb,18,7,"ng-container",23);P(23,Plb,7,1,"ng-template",null,24,qh);P(25,Qlb,5,1,"div",25);F()();E(26,"mat-tab",26)(27,"div",14)(28,"div",16)(29,
"label")(30,"span",18);Q(31,"Admins");F();E(32,"p",27);Q(33," Edit access controls, edit name and description, reorder items, add/remove items ");F()();E(34,"b-multi-user-input",28);K("usersChange",function(d){v(b);var e=N();return w(e.accessPolicyUnderEdit.admins=d)})("isValid",function(d){v(b);var e=N();return w(e.isAdminsFieldValid=d)});F()();E(35,"div",16)(36,"label")(37,"span",18);Q(38,"View only");F();E(39,"p",27);Q(40," View the bookmark group ");F();E(41,"b-multi-user-input",29);K("usersChange",
function(d){v(b);var e=N();return w(e.accessPolicyUnderEdit.readers=d)})("isValid",function(d){v(b);var e=N();return w(e.isReaderFieldValid=d)});F()()();E(42,"div",30);Q(43," See ");E(44,"a",31);Q(45,"access control documentation");F();Q(46," for an explanation of the settings. ");F();P(47,Rlb,5,1,"div",25);F()()();J()}if(a&2){var c=O(24);a=N();z(3);Tg(" Bookmark group ",a.bookmarkGroup.bookmarkGroupId,": ",a.bookmarkGroup.name," ");z(1);D("ngIf",a.isArchived());z(1);D("href",a.paths.dashboard(a.bookmarkGroup.bookmarkGroupId),
Ie);z(2);D("selectedIndex",a.selectedTabIndex);z(3);D("error",a.error);z(1);D("ngClass",Xg(28,Slb,a.isEditDisabled()));z(4);D("ngModel",a.bookmarkGroupUnderEdit.name)("disabled",a.isEditDisabled());z(2);D("ngClass",Xg(30,Slb,a.isEditDisabled()));z(4);D("ngModel",a.bookmarkGroupUnderEdit.description)("disabled",a.isEditDisabled());z(1);D("ngIf",a.isAdmin)("ngIfElse",c);z(3);D("ngIf",a.isAdmin);z(3);D("ngClass",Xg(32,Slb,a.isEditDisabled()));z(6);Fg("disabled",a.isEditDisabled());D("users",a.accessPolicyUnderEdit.admins);
z(1);D("ngClass",Xg(34,Slb,a.isEditDisabled()));z(6);Fg("disabled",a.isEditDisabled());D("users",a.accessPolicyUnderEdit.readers)("includeAliases",!0)("includeViewAliases",!0)("containerChips",Xg(38,Tlb,Xg(36,Ulb,a.accessPolicyUnderEdit.admins)));z(3);D("href",Lp(a.documentationLinks)+"#bookmark-groups",Ie);z(3);D("ngIf",a.isAdmin)}},Wlb=function(a){if(a&1){var b=t();E(0,"button",8);K("click",function(){v(b);var c=N();return w(c.delete())});Q(1," Delete saved search ");F()}a&2&&(a=N(),D("disabled",
a.hasUnsavedChanges()||a.isSaving()))},Xlb=function(a){a&1&&(I(0),E(1,"div",9)(2,"h2"),Q(3," Saved search not found "),F()(),J())},Ylb=function(a){if(a&1){var b=t();E(0,"div",34)(1,"button",35);K("click",function(){v(b);var c=N(2);return w(c.saveMetadata())});Q(2," Update ");F();E(3,"button",36);K("click",function(){v(b);var c=N(2);return w(c.revertMetadataChanges())});Q(4," Revert changes ");F()()}a&2&&(a=N(2),z(1),D("disabled",!a.hasUnsavedMetadataChanges()||a.isSaving()))},Zlb=function(a){if(a&
1){var b=t();E(0,"div",34)(1,"button",35);K("click",function(){v(b);var c=N(2);return w(c.saveAccessPolicy())});Q(2," Update ");F();E(3,"button",36);K("click",function(){v(b);var c=N(2);return w(c.revertAccessPolicyChanges())});Q(4," Revert changes ");F()()}a&2&&(a=N(2),z(1),D("disabled",!a.hasUnsavedAccessPolicyChanges()||a.isSaving()||!a.isAdminsFieldValid||!a.isReaderFieldValid))},cmb=function(a){if(a&1){var b=t();I(0);E(1,"div",9)(2,"h2");Q(3);F();E(4,"a",10);Q(5," (View Issues)");F()();E(6,"mat-tab-group",
11);K("selectedIndexChange",function(c){v(b);var d=N();return w(d.selectedTabIndex=c)})("selectedIndexChange",function(c){v(b);var d=N();return w(d.tabChange(c))});E(7,"mat-tab",12)(8,"div",13);H(9,"b-error-banner",14);E(10,"div",15)(11,"label",16)(12,"span",17);Q(13,"Name");F()();E(14,"input",18,19);K("ngModelChange",function(c){v(b);var d=N();return w(d.savedSearchUnderEdit.name=c)});F()();E(16,"div",15)(17,"label",20)(18,"span",17);Q(19,"Description");F()();E(20,"textarea",21);K("ngModelChange",
function(c){v(b);var d=N();return w(d.savedSearchUnderEdit.description=c)});Q(21,"            ");F()();E(22,"div",22)(23,"label",23)(24,"span",17);Q(25,"Query");F();E(26,"p",24);Q(27," To modify query and display preferences, run the saved search and modify its parameters ");F();E(28,"div",25);Q(29);F()()();P(30,Ylb,5,1,"div",26);F()();E(31,"mat-tab",27)(32,"div",13)(33,"div",15)(34,"label",28)(35,"span",17);Q(36,"Admins");F();E(37,"p",24);Q(38," Edit access controls, edit name and description, edit query ");
F()();E(39,"b-multi-user-input",29);K("usersChange",function(c){v(b);var d=N();return w(d.accessPolicyUnderEdit.admins=c)})("isValid",function(c){v(b);var d=N();return w(d.isAdminsFieldValid=c)});F()();E(40,"div",15)(41,"label",30)(42,"span",17);Q(43,"View and execute search");F()();E(44,"b-multi-user-input",31);K("usersChange",function(c){v(b);var d=N();return w(d.accessPolicyUnderEdit.readers=c)})("isValid",function(c){v(b);var d=N();return w(d.isReaderFieldValid=c)});F()();E(45,"div",32);Q(46,
" See ");E(47,"a",33);Q(48,"access control documentation");F();Q(49," for an explanation of the settings. ");F();P(50,Zlb,5,1,"div",26);F()()();J()}a&2&&(a=N(),z(3),Tg(" Saved search ",a.savedSearch.searchId,": ",a.savedSearch.name," "),z(1),D("href",a.paths.viewSavedSearch(a.savedSearch.searchId),Ie),z(2),D("selectedIndex",a.selectedTabIndex),z(3),D("error",a.error),z(1),D("ngClass",Xg(26,$lb,a.isEditDisabled())),z(4),D("ngModel",a.savedSearchUnderEdit.name)("disabled",a.isEditDisabled()),z(2),D("ngClass",
Xg(28,$lb,a.isEditDisabled())),z(4),D("ngModel",a.savedSearchUnderEdit.description)("disabled",a.isEditDisabled()),z(9),R(" ",a.savedSearch.query," "),z(1),D("ngIf",a.isAdmin),z(3),D("ngClass",Xg(30,$lb,a.isEditDisabled())),z(6),Fg("disabled",a.isEditDisabled()),D("users",a.accessPolicyUnderEdit.admins),z(1),D("ngClass",Xg(32,$lb,a.isEditDisabled())),z(4),Fg("disabled",a.isEditDisabled()),D("users",a.accessPolicyUnderEdit.readers)("includeAliases",!0)("includeViewAliases",!0)("containerChips",Xg(36,
amb,Xg(34,bmb,a.accessPolicyUnderEdit.admins))),z(3),D("href",Lp(a.documentationLinks)+"#saved-searches",Ie),z(3),D("ngIf",a.isAdmin))},dmb=function(a){a&1&&(E(0,"div",7),H(1,"b-spinner"),F())},emb=function(a){if(a&1){var b=t();E(0,"div",39)(1,"span",40)(2,"mat-checkbox",41);K("change",function(c){v(b);var d=N(2);return w(d.alertState.setValue(c.checked))});F()();E(3,"div")(4,"strong",42);Q(5,"SLO Notifications");F();E(6,"div",43);Q(7," When checked, admins will be notified when any component that would be automatically assigned this SLO overrides their SLO settings. ");
F()()()}a&2&&(a=N(2),Fg("bv2-edit-resource-readonly",a.isEditDisabled()),z(2),D("checked",a.alertState.getValue())("disabled",a.isEditDisabled()))},fmb=function(a){a&1&&(E(0,"div",44),Q(1," Action is required to keep your SLO definitions in Buganizer and BugScope in sync. "),E(2,"a",45),Q(3," Learn more "),F()())},hmb=function(a){if(a&1){var b=t();E(0,"b-button",50);K("onAction",function(){v(b);var c=N(3);return w(gmb(c,!0))});Q(1," Archive ");F()}a&2&&(a=N(3),D("disabled",a.hasUnsavedMetadataChanges()||
a.isSaving()))},imb=function(a){if(a&1){var b=t();E(0,"b-button",51);K("onAction",function(){v(b);var c=N(3);return w(gmb(c,!1))});Q(1," Unarchive ");F()}a&2&&(a=N(3),D("disabled",a.hasUnsavedMetadataChanges()||a.isSaving()))},jmb=function(a){if(a&1){var b=t();E(0,"div",26)(1,"b-button",46);K("onAction",function(){v(b);var d=N(2);return w(d.saveMetadata())});Q(2," Update ");F();E(3,"b-button",47);K("onAction",function(){v(b);var d=N(2);return w(d.revertMetadataChanges())});Q(4," Revert changes ");
F();P(5,hmb,2,1,"b-button",48);P(6,imb,2,1,"b-button",49);F()}if(a&2){N();var c=O(9);a=N();z(1);D("disabled",!a.hasUnsavedMetadataChanges()||a.isSaving()||!a.elementPickerIsValid||!!c.pending||!!c.invalid);z(2);D("disabled",!a.hasUnsavedMetadataChanges()||a.isSaving()||!!c.pending||!!c.invalid);z(2);D("ngIf",a.slo&&!a.slo.isArchived);z(1);D("ngIf",a.slo&&a.slo.isArchived)}},kmb=function(a){if(a&1){var b=t();E(0,"div",25)(1,"b-button",52);K("onAction",function(){v(b);var c=N(2);return w(c.saveAccessPolicy())});
Q(2," Update ");F();E(3,"b-button",53);K("onAction",function(){v(b);var c=N(2);return w(c.revertAccessPolicyChanges())});Q(4," Revert changes ");F()()}a&2&&(a=N(2),z(1),D("disabled",!a.hasUnsavedAccessPolicyChanges()||a.isSaving()||a.isInvalid()))},lmb=function(a){if(a&1){var b=t();E(0,"div")(1,"div",8)(2,"h2")(3,"span",9);Q(4);F()()();E(5,"mat-tab-group",10);K("selectedIndexChange",function(c){v(b);var d=N();return w(d.selectedTabIndex=c)})("selectedIndexChange",function(c){v(b);var d=N();return w(d.tabChange(c))});
E(6,"mat-tab",11)(7,"div",12)(8,"form",13,14)(10,"div",15)(11,"label",16)(12,"span",17);Q(13,"Name");F()();E(14,"input",18);K("ngModelChange",function(c){v(b);var d=N();return w(d.editableCopy.name=c)});F()();E(15,"div",15)(16,"label",19)(17,"span",17);Q(18,"Description");F()();E(19,"textarea",20);K("ngModelChange",function(c){v(b);var d=N();return w(d.editableCopy.description=c)});Q(20,"              ");F()();P(21,emb,8,4,"div",21);F();P(22,fmb,4,0,"div",22);E(23,"div",15)(24,"slo-elements-picker",
23);K("onCollectionUpdate",function(c){v(b);var d=N();return w(d.updateCollection(c))})("onValidation",function(c){v(b);var d=N();return w(d.elementPickerIsValid=c)});F()();E(25,"div",24)(26,"div",25)(27,"div",26)(28,"b-button",27);K("onAction",function(){v(b);var c=N();return w(c.showUpdateHistoryModal())});Q(29," View history ");F()()();E(30,"div",25);P(31,jmb,7,4,"div",28);F()()()();E(32,"mat-tab",29)(33,"div",30)(34,"form",31)(35,"div",15)(36,"label",32)(37,"span",17);Q(38,"Admins");F();E(39,
"p",33);Q(40," Edit name, description and metrics ");F()();E(41,"b-multi-user-input",34);K("usersChange",function(c){v(b);var d=N();return w(d.editableAccessPolicy.admins=c)})("isValid",function(c){v(b);var d=N();return w(d.validity.admins=c)});F()();E(42,"div",15)(43,"label",35)(44,"span",17);Q(45,"Readers");F();E(46,"p",33);Q(47," View the SLO definition (this is not required to see an issue's SLO status) ");F()();E(48,"b-multi-user-input",36);K("usersChange",function(c){v(b);var d=N();return w(d.editableAccessPolicy.readers=
c)})("isValid",function(c){v(b);var d=N();return w(d.validity.readers=c)});F()()();E(49,"div",15);Q(50," See ");E(51,"a",37);Q(52,"access control documentation");F();Q(53," for an explanation of the settings. ");F();P(54,kmb,5,1,"div",38);F()()()()}a&2&&(a=N(),z(4),Tg(" SLO ",a.slo.sloId,": ",a.slo.name," "),z(1),D("selectedIndex",a.selectedTabIndex),z(5),Fg("bv2-edit-resource-readonly",a.isEditDisabled()),z(4),D("required",!0)("ngModel",a.editableCopy.name)("disabled",a.isEditDisabled()),z(1),Fg("bv2-edit-resource-readonly",
a.isEditDisabled()),z(4),D("ngModel",a.editableCopy.description)("disabled",a.isEditDisabled()),z(2),D("ngIf",a.isImportedFromBugScope||a.alertState.getSavedValue()),z(1),D("ngIf",a.isUneditedFromBugScope&&a.isAdmin()),z(1),Fg("bv2-edit-resource-readonly",a.isEditDisabled()),z(1),D("isDisabled",a.isEditDisabled())("collection",a.editableCopy.elements),z(7),D("ngIf",a.isAdmin()),z(4),Fg("bv2-edit-resource-readonly",a.isEditDisabled()),z(6),D("users",a.editableAccessPolicy.admins),ug("disabled",a.isEditDisabled()?
!0:null),z(1),Fg("bv2-edit-resource-readonly",a.isEditDisabled()),z(6),D("users",a.editableAccessPolicy.readers)("includeAliases",!0)("includeViewAliases",!0),ug("disabled",a.isEditDisabled()?!0:null),z(3),Pg("href","",Lp(a.documentationLinks),"#slos",Ie),z(3),D("ngIf",a.isAdmin()))},mmb=function(a){if(a&1){var b=t();E(0,"div",5);H(1,"img",6)(2,"img",7);E(3,"p",8);Q(4," This issue is not blocking anything \u00a0\ud83e\udd73 ");F();E(5,"p",9);Q(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. ');
E(7,"a",10);Q(8,"Learn more");F()();E(9,"button",11);K("click",function(){v(b);var c=N(2);return w(c.onClickAdd())});Q(10," Add ");F()()}a&2&&(a=N(2),z(1),D("src",a.TEA_LIGHT,Ie),z(1),D("src",a.TEA_DARK,Ie))},nmb=function(a,b){a&1&&H(0,"b-issues-table",18);a&2&&(a=b.ngIf,b=N(6),D("issueIds",a)("menuItemFactory",b.getMenuItems))},omb=function(a){a&1&&(I(0),P(1,nmb,1,2,"b-issues-table",17),U(2,"async"),J());a&2&&(a=N(5),z(1),D("ngIf",V(2,1,a.blockedAndOpenIds$)))},pmb=function(a){a&1&&(E(0,"p",19),
Q(1,"Not blocking any open issues \ud83e\udd73"),F())},qmb=function(a,b){a&1&&(I(0),E(1,"h4",15),Q(2),F(),P(3,omb,3,3,"ng-container",12),P(4,pmb,2,0,"ng-template",null,16,qh),J());if(a&2){a=b.$implicit;var c=O(5);z(2);R("Open (",a.length,")");z(1);D("ngIf",0<a.length)("ngIfElse",c)}},rmb=function(a,b){a&1&&H(0,"b-issues-table",18);a&2&&(a=b.ngIf,b=N(6),D("issueIds",a)("menuItemFactory",b.getMenuItems))},smb=function(a){a&1&&(I(0),E(1,"h4",15),Q(2),F(),P(3,rmb,1,2,"b-issues-table",17),U(4,"async"),
J());if(a&2){a=N().$implicit;var b=N(4);z(2);R("Closed (",a.length,")");z(1);D("ngIf",V(4,2,b.blockedAndClosedIds$))}},tmb=function(a,b){a&1&&(I(0),P(1,smb,5,4,"ng-container",1),J());a&2&&(a=b.$implicit,z(1),D("ngIf",0<a.length))},umb=function(a){a&1&&(I(0),P(1,qmb,6,3,"ng-container",1),U(2,"async"),P(3,tmb,2,1,"ng-container",1),U(4,"async"),J());a&2&&(a=N(3),z(1),D("ngIf",V(2,2,a.blockedAndOpen$)),z(2),D("ngIf",V(4,4,a.blockedAndClosed$)))},vmb=function(a,b){a&1&&(E(0,"li")(1,"a",22)(2,"span",9),
Q(3),F(),E(4,"aside",23),H(5,"button",24),F()()());a&2&&(a=b.$implicit,z(1),Pg("routerLink","/issues/",a,""),wg("aria-label","Issue ",a,""),z(2),R("b/",a,""))},wmb=function(a){a&1&&(E(0,"h4",15),Q(1,"Loading..."),F(),E(2,"ol",20),P(3,vmb,6,3,"li",21),F());a&2&&(a=N(2).$implicit,z(3),D("ngForOf",a))},xmb=function(a,b){a&1&&(I(0),E(1,"a",25),Q(2," View as search results "),F(),J());a&2&&(a=b.ngIf,z(1),D("routerLink",a.path)("queryParams",a.params))},ymb=function(a){if(a&1){var b=t();P(0,umb,5,6,"ng-container",
12);U(1,"async");P(2,wmb,4,1,"ng-template",null,13,qh);E(4,"aside",14)(5,"button",11);K("click",function(){v(b);var d=N(2);return w(d.onClickAdd())});Q(6," Add ");F();P(7,xmb,3,2,"ng-container",1);U(8,"async");F()}if(a&2){var c=O(3);a=N(2);D("ngIf",V(1,3,a.issuesBeingBlocked$))("ngIfElse",c);z(7);D("ngIf",V(8,5,a.searchUrl$))}},zmb=function(a,b){a&1&&(I(0),P(1,mmb,11,2,"div",3),P(2,ymb,9,7,"ng-template",null,4,qh),J());if(a&2){a=b.$implicit;var c=O(3);z(1);D("ngIf",0===a.length)("ngIfElse",c)}},Amb=
function(a){a&1&&(E(0,"aside",26),H(1,"b-spinner"),F())},Bmb=function(a,b){a&1&&(I(0),H(1,"b-issues-table",1),J());a&2&&(a=b.ngIf,b=N(),z(1),D("issueIds",a)("tableColumns",b.tableColumns)("menuItemFactory",b.getMenuItems)("filters",b.filters)("initialSort",b.initialSort))},Cmb=function(a){a&1&&H(0,"th",27)},Dmb=function(a){if(a&1){var b=t();E(0,"td",28,29);K("click",function(c){v(b);O(1).focus();return w(c.stopPropagation())});F()}},Emb=function(a){a&1&&H(0,"th",27)},Fmb=function(a){if(a&1){var b=
t();E(0,"td",30,31);K("click",function(c){v(b);O(1).focus();return w(c.stopPropagation())})("dragstart",function(c){v(b);var d=N();return w(d.handleDragStart(c))});H(2,"mat-icon",32);F()}},Gmb=function(a){a&1&&(E(0,"th",27),Q(1," Id "),F())},Hmb=function(a,b){a&1&&(E(0,"td",33),H(1,"b-issue-id-cell",34),F());a&2&&(a=b.$implicit,z(1),D("id",a.id))},Imb=function(a){a&1&&(E(0,"th",27),Q(1," Id "),F())},Jmb=function(a){a&1&&(E(0,"td",33),Q(1,"--"),F())},Kmb=function(a){a&1&&(E(0,"th",27),Q(1," Title "),
F())},Lmb=function(a,b){if(a&1){var c=t();E(0,"td",33)(1,"b-expandable-issue-title-cell",35);K("expansionChange",function(){var d=v(c).$implicit,e=N();return w(e.toggleExpansion(d))});U(2,"async");U(3,"async");F()()}a&2&&(a=b.$implicit,z(1),D("issue",V(2,4,a.issue$))("expandable",V(3,6,a.hasChildren$))("expanded",!!a.expandedCount)("level",a.level))},Mmb=function(a){a&1&&(E(0,"th",27),Q(1," Type "),F())},Nmb=function(a,b){a&1&&(E(0,"td",33),H(1,"b-issue-type-cell",36),U(2,"async"),F());a&2&&(a=b.$implicit,
z(1),D("issue",V(2,1,a.issue$)))},Omb=function(a){a&1&&(E(0,"th",27),Q(1," Assignee "),F())},Pmb=function(a,b){a&1&&(E(0,"td",33),H(1,"b-issue-assignee-cell",36),U(2,"async"),F());a&2&&(a=b.$implicit,z(1),D("issue",V(2,1,a.issue$)))},Qmb=function(a){a&1&&(E(0,"th",27),Q(1," Status "),F())},Rmb=function(a,b){a&1&&(E(0,"td",33),H(1,"b-issue-status-cell",36),U(2,"async"),F());a&2&&(a=b.$implicit,z(1),D("issue",V(2,1,a.issue$)))},Smb=function(a){a&1&&(E(0,"th",27),Q(1," Team "),F())},Tmb=function(a,b){a&
1&&(E(0,"td",33),H(1,"b-issue-team-cell",36),U(2,"async"),F());a&2&&(a=b.$implicit,z(1),D("issue",V(2,1,a.issue$)))},Umb=function(a){a&1&&H(0,"th",27)},Vmb=function(a,b){a&1&&(E(0,"td",33)(1,"b-actions-menu",37),K("click",function(c){return c.stopPropagation()}),F()());a&2&&(a=b.$implicit,b=N(),z(1),D("menuItems",b.getMenuItems(a)))},Wmb=function(a){a&1&&H(0,"th",27)},Xmb=function(a){a&1&&(E(0,"b-actions-menu",37),K("click",function(c){return c.stopPropagation()}),F());if(a&2){a=N().$implicit;var b=
N();D("menuItems",b.getMenuItemsForDraft(a))}},Ymb=function(a){a&1&&H(0,"b-spinner")},Zmb=function(a,b){a&1&&(E(0,"td",38),P(1,Xmb,1,1,"b-actions-menu",39),P(2,Ymb,1,0,"ng-template",null,40,qh),F());if(a&2){a=b.$implicit;var c=O(3);z(1);D("ngIf",!a.saving)("ngIfElse",c)}},$mb=function(a,b){if(a&1){var c=t();E(0,"td",33)(1,"b-async-data-placeholder",41);U(2,"async");E(3,"b-button",42);K("onAction",function(){var d=v(c).$implicit,e=N();return w(e.displayAllSiblings(d))});E(4,"span",43);Q(5);F()()()()}a&
2&&(a=b.$implicit,b=N(),Eg("padding-left",24*a.level+b.TITLE_FIXED_OFFSET_PX,"px"),ug("colspan",b.tableColumns.length),z(1),D("isReady",!!V(2,5,a.parentIssue$)),z(4),R("Display ",a.truncatedSiblingCount," more"))},anb=function(a){a&1&&(E(0,"th",27),Q(1," Title "),F())},bnb=function(a,b){if(a&1){var c=t();E(0,"td",33)(1,"div",44)(2,"b-text-input-cell",45);K("valueChange",function(d){var e=v(c).$implicit;return w(e.title=d)})("commit",function(){var d=v(c).$implicit,e=N();return w(e.saveDraft(d))});
F();E(3,"b-button",46);K("onAction",function(){var d=v(c).$implicit,e=N();return w(e.saveDraft(d))});Q(4," Create ");F();E(5,"b-button",47);K("onAction",function(){var d=v(c).$implicit,e=N();return w(e.cancelDraft(d))});Q(6," Cancel ");F()()()}a&2&&(a=b.$implicit,Eg("padding-left",24*(a.level+1),"px"),z(2),D("value",a.title)("readonly",a.saving),z(1),D("disabled",!a.title||a.saving),z(2),D("disabled",a.saving))},cnb=function(a){a&1&&H(0,"tr",48)},dnb=function(a,b){if(a&1){var c=t();E(0,"tr",49);K("click",
function(d){var e=v(c).$implicit,f=N();return w(f.navigateToIssue(d,e))})("mouseup",function(d){var e=v(c).$implicit,f=N();return w(f.navigateToIssue(d,e))})("focusin",function(){var d=v(c).$implicit,e=N();return w(Hp(e.focusManager,d))})("keydown",function(d){var e=v(c).$implicit,f=N();return w(f.onRowKeydown(e,d))});U(1,"async");U(2,"async");F()}a&2&&(a=b.$implicit,b=N(),Fg("selected",V(1,8,XGa(b.selectionModel,a.ancestorChain)))("closed",b.isClosed(V(2,10,a.issue$))),D("row",a),ug("data-level",
a.level)("data-type",a.type)("data-ancestorchain",a.ancestorChain.hash()))},enb=function(a,b){if(a&1){var c=t();E(0,"tr",50);K("focusin",function(){var d=v(c).$implicit,e=N();return w(Hp(e.focusManager,d))})("keydown",function(d){var e=v(c).$implicit,f=N();return w(f.onRowKeydown(e,d))});F()}a&2&&(a=b.$implicit,D("row",a),ug("data-level",a.level)("data-type",a.type)("data-ancestorchain",a.ancestorChain.hash()))},fnb=function(a,b){if(a&1){var c=t();E(0,"tr",51);K("keydown",function(d){var e=v(c).$implicit,
f=N();return w(f.onRowKeydown(e,d))})("keydown.escape",function(){var d=v(c).$implicit,e=N();return w(e.cancelDraft(d))})("keydown.backspace",function(){var d=v(c).$implicit,e=N();return w(d.title||e.cancelDraft(d))})("focusin",function(){var d=v(c).$implicit,e=N();return w(Hp(e.focusManager,d))});F()}a&2&&(a=b.$implicit,D("row",a),ug("data-type",a.type))},gnb=function(a,b){a&1&&(I(0),H(1,"b-issues-table",1),J());a&2&&(a=b.ngIf,b=N(),z(1),D("issueIds",a)("tableColumns",b.tableColumns)("filters",b.filters)("issueUrlFactory",
b.editIssueDependencies)("menuItemFactory",b.getMenuItems))},hnb=function(a,b){if(a&&a.length)return a.map(b)},inb=function(a){return{filename:a.getFilename(),lineNumber:xj(a,2),changeNumber:ol(a,3)}},jnb=function(a){return{packageName:Dk(a,1),fileMentionSet:hnb(yj(a,Dt,2),inb)}},lnb=function(a){return{totalMentions:zj(a,1),truncated:Tl(a,2),packageMentionSet:hnb(yj(a,knb,3),jnb)}},Et=function(a){var b=mnb(a.open);a=mnb(a.total);return b===a?"("+b+")":"("+b+"/"+a+")"},mnb=function(a){var b=a.count;
a=a.exact;return 0===b||a?""+b:b+"+"},nnb=function(a){return"("+mnb(a)+")"},Ft=function(a){return{count:99<a?99:a,exact:99<a?!1:!0}},onb=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:jj(b)}},pnb=function(a,b){a&1&&(E(0,"span",10),Q(1),F());a&2&&(a=b.ngIf,Pg("title","",a," applied filter(s)"),z(1),
Sg(a))},qnb=function(a){a&1&&(I(0),P(1,pnb,2,2,"span",9),U(2,"async"),J());a&2&&(a=N(),z(1),D("ngIf",V(2,1,a.internalSelectedOptions.size$)))},rnb=function(a){a&1&&(E(0,"h1",11),Q(1),F());a&2&&(a=N(),z(1),Sg(a.overlayTitle))},snb=function(a){a&1&&(E(0,"h1"),Q(1),F());a&2&&(a=N().$implicit,z(1),Sg(a.title))},tnb=function(a){a&1&&(E(0,"p"),Q(1),F());a&2&&(a=N().$implicit,z(1),Sg(a.description))},unb=function(a,b){if(a&1){var c=t();E(0,"div",12)(1,"div",13)(2,"mat-checkbox",14);K("change",function(d){var e=
v(c).$implicit,f=N();e=e.key;d.checked?f.internalSelectedOptions.add(e):f.internalSelectedOptions.delete(e);f.onChange.emit(new Set(f.internalSelectedOptions));return w()});U(3,"async");F();E(4,"div");P(5,snb,2,1,"h1",3);P(6,tnb,2,1,"p",3);F()()()}a&2&&(a=b.$implicit,b=N(),z(2),D("checked",V(3,3,Gp(b.internalSelectedOptions,a.key))),z(3),D("ngIf",a.title),z(1),D("ngIf",a.description))},vnb=function(a){if(a&1){var b=t();I(0);H(1,"mat-divider");E(2,"div",15)(3,"button",16);K("click",function(){v(b);
var c=N(),d=O(1);return w(c.cancel(d))});Q(4);F();E(5,"button",17);K("click",function(){v(b);var c=N(),d=O(1);return w(c.confirm(d))});Q(6);F()();J()}a&2&&(a=N(),z(4),Sg(a.cancelButtonLabel),z(2),Sg(a.confirmButtonLabel))},wnb=function(a){a&1&&H(0,"b-spinner")},xnb=function(a){a&1&&Kg(0)},ynb=function(a){a&1&&(I(0),P(1,xnb,1,0,"ng-container",28),J());if(a&2){N(2);var b=O(14);z(1);D("ngTemplateOutlet",b)}},znb=function(a){a&1&&(H(0,"b-parents-table",29),U(1,"async"),U(2,"async"));if(a&2){a=N().ngIf;
var b=N();D("issueId",a)("parentIds",V(1,3,b.parentIds$))("filters",V(2,5,b.issueFilters.value$))}},Anb=function(a){a&1&&Kg(0)},Cnb=function(a){a&1&&(I(0),P(1,Anb,1,0,"ng-container",30),U(2,"async"),J());if(a&2){a=N(2);var b=O(10);z(1);D("ngTemplateOutlet",b)("ngTemplateOutletContext",Xg(4,Bnb,V(2,2,null==a.parentsTable?null:a.parentsTable.filteredRowCount$)))}},Dnb=function(a){a&1&&Kg(0)},Enb=function(a){a&1&&(E(0,"div")(1,"span",31),Q(2,"This issue has no parents"),F(),P(3,Dnb,1,0,"ng-container",
28),F());if(a&2){N(2);var b=O(14);z(3);D("ngTemplateOutlet",b)}},Fnb=function(a){a&1&&Kg(0)},Gnb=function(a){a&1&&(I(0),P(1,Fnb,1,0,"ng-container",28),J());if(a&2){N(2);var b=O(12);z(1);D("ngTemplateOutlet",b)}},Hnb=function(a){a&1&&(H(0,"b-blockers-table",32),U(1,"async"),U(2,"async"));if(a&2){a=N().ngIf;var b=N();D("issueId",a)("filters",V(1,3,b.issueFilters.value$))("blockerIds",V(2,5,b.blockerIds$))}},Inb=function(a){a&1&&Kg(0)},Jnb=function(a){a&1&&(I(0),P(1,Inb,1,0,"ng-container",30),U(2,"async"),
J());if(a&2){a=N(2);var b=O(10);z(1);D("ngTemplateOutlet",b)("ngTemplateOutletContext",Xg(4,Bnb,V(2,2,null==a.blockersTable?null:a.blockersTable.filteredRowCount$)))}},Knb=function(a){a&1&&Kg(0)},Lnb=function(a){a&1&&(E(0,"div")(1,"span",31),Q(2,"This issue is not blocked "),E(3,"span",33),Q(4,"\ud83c\udf89"),F()(),P(5,Knb,1,0,"ng-container",28),F());if(a&2){N(2);var b=O(12);z(5);D("ngTemplateOutlet",b)}},Mnb=function(a){a&1&&Kg(0)},Nnb=function(a){a&1&&(I(0),P(1,Mnb,1,0,"ng-container",28),J());if(a&
2){N(2);var b=O(16);z(1);D("ngTemplateOutlet",b)}},Onb=function(a){a&1&&(E(0,"div",34)(1,"section",35)(2,"div",36),Q(3," Progress: "),F(),E(4,"div",36),Q(5),U(6,"number"),U(7,"async"),U(8,"number"),U(9,"async"),F(),E(10,"div",37),U(11,"async"),E(12,"div",38)(13,"div",39),U(14,"async"),F(),E(15,"onedev-hovercard",null,40)(17,"div",41)(18,"div",42),Q(19),U(20,"async"),F()()()()(),H(21,"mat-icon",43),E(22,"onedev-hovercard",null,44)(24,"div",41)(25,"div",45)(26,"p"),Q(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. "),
F()()()()()());if(a&2){var b=O(16),c=O(23);a=N(2);z(5);Tg(" ",$g(6,8,V(7,11,a.totalDaysComplete$),"1.0-2")," of ",$g(8,13,V(9,16,a.totalDaysCount$),"1.0-2")," days complete ");z(5);wg("aria-label","",V(11,18,a.totalDaysDisplayPercent$)," Percentage of effort completed");z(2);D("onedevHovercardTrigger",b);z(1);Eg("width",V(14,20,a.totalDaysDisplayPercent$),"%");z(6);R(" ",V(20,22,a.progressHovercardContent$)," ");z(2);D("onedevHovercardTrigger",c)}},Pnb=function(a){a&1&&Kg(0)},Qnb=function(a){a&1&&
(I(0),P(1,Pnb,1,0,"ng-container",30),U(2,"async"),J());if(a&2){a=N(2);var b=O(10);z(1);D("ngTemplateOutlet",b)("ngTemplateOutletContext",Xg(4,Bnb,V(2,2,null==a.relationsTable?null:a.relationsTable.filteredRowCount$)))}},Rnb=function(a){a&1&&Kg(0)},Snb=function(a){a&1&&(I(0),E(1,"span",31),Q(2,"This issue has no children"),F(),P(3,Rnb,1,0,"ng-container",28),J());if(a&2){N(3);var b=O(16);z(3);D("ngTemplateOutlet",b)}},Tnb=function(a){a&1&&(I(0),P(1,Snb,4,1,"ng-container",1),U(2,"async"),U(3,"async"),
J());if(a&2){a=N(2);var b;z(1);D("ngIf",0===V(2,1,a.unarchivedChildIssueCount$)&&0===((null==(b=V(3,3,null==a.relationsTable?null:a.relationsTable.rows$))?null:b.length)||0))}},Unb=function(a,b){a&1&&(E(0,"div",10)(1,"section",11)(2,"div",12)(3,"h4",13)(4,"div",14),H(5,"mat-icon",15),F(),Q(6),U(7,"async"),F(),P(8,ynb,2,1,"ng-container",1),U(9,"async"),F(),P(10,znb,3,7,"b-parents-table",16),U(11,"async"),P(12,Cnb,3,6,"ng-container",1),U(13,"async"),P(14,Enb,4,1,"ng-template",null,17,qh),F(),E(16,"section")(17,
"div",18)(18,"h4",13)(19,"div",19),H(20,"mat-icon",20),F(),Q(21),U(22,"async"),F(),P(23,Gnb,2,1,"ng-container",1),U(24,"async"),F(),P(25,Hnb,3,7,"b-blockers-table",21),U(26,"async"),P(27,Jnb,3,6,"ng-container",1),U(28,"async"),P(29,Lnb,6,1,"ng-template",null,22,qh),F(),E(31,"section")(32,"div",23)(33,"h4",13)(34,"div",24),H(35,"mat-icon",25),F(),Q(36),U(37,"async"),F(),P(38,Nnb,2,1,"ng-container",1),U(39,"async"),U(40,"async"),F(),P(41,Onb,28,24,"div",26),U(42,"async"),U(43,"async"),H(44,"b-issue-relations-table",
27),U(45,"async"),U(46,"async"),U(47,"async"),P(48,Qnb,3,6,"ng-container",1),U(49,"async"),P(50,Tnb,4,5,"ng-container",1),U(51,"async"),F()());if(a&2){a=b.ngIf;var c=O(15),d=O(30);b=N();var e,f;z(6);R(" Parents ",V(7,19,b.counts.countParentsDisplay$)," ");z(2);D("ngIf",V(9,21,b.parentsCount$));z(2);D("ngIf",V(11,23,b.parentsCount$))("ngIfElse",c);z(2);D("ngIf",V(13,25,b.issueFilters.value$));z(9);R(" Blockers ",V(22,27,b.counts.countBlockersDisplay$)," ");z(2);D("ngIf",V(24,29,b.showBlockersTable$));
z(2);D("ngIf",V(26,31,b.showBlockersTable$))("ngIfElse",d);z(2);D("ngIf",V(28,33,b.issueFilters.value$));z(9);R(" Child issues ",V(37,35,b.counts.countChildrenDisplay$)," ");z(2);D("ngIf",V(39,37,b.unarchivedChildIssueCount$)||0<((null==(e=V(40,39,null==b.relationsTable?null:b.relationsTable.rows$))?null:e.length)||0));z(3);D("ngIf",b.isTotalEstimatesEnabled&&V(42,41,b.unarchivedChildIssueCount$)&&V(43,43,b.totalDaysCount$));z(3);Fg("hidden",!(null==(f=V(45,45,null==b.relationsTable?null:b.relationsTable.rows$))?
0:f.length)&&!V(46,47,null==b.relationsTable?null:b.relationsTable.filteredRowCount$));D("rootIssueId",a)("filters",V(47,49,b.issueFilters.value$));z(4);D("ngIf",V(49,51,b.issueFilters.value$));z(2);D("ngIf",null!==V(51,53,b.unarchivedChildIssueCount$))}},Vnb=function(a){if(a&1){var b=t();E(0,"p",31);Q(1);E(2,"button",47);K("click",function(){v(b);var c=N(2);return w(c.issueFilters.reset([]))});Q(3,"Show all");F()()}a&2&&(a=N().filteredCount,z(1),Tg(" Filtering ",a," issue",1===a?"":"s",". "))},Wnb=
function(a,b){a&1&&P(0,Vnb,4,2,"p",46);a&2&&D("ngIf",b.filteredCount)},Ynb=function(a){if(a&1){var b=t();E(0,"b-button",48);K("onAction",function(){v(b);var c=N();return w(Xnb(c))});U(1,"async");Q(2," Add blocker ");F()}a&2&&(a=N(),D("disabled",!V(1,1,a.canEdit$)))},$nb=function(a){if(a&1){var b=t();E(0,"b-button",49);K("onAction",function(){v(b);var c=N();return w(Znb(c))});U(1,"async");Q(2," Add parent ");F()}a&2&&(a=N(),D("disabled",!V(1,1,a.canEdit$)))},aob=function(a){if(a&1){var b=t();E(0,"b-button",
52);K("onAction",function(){v(b);var c=N(2);return w(c.createChild())});U(1,"async");Q(2," Create new child ");F()}a&2&&(a=N(2),D("disabled",!V(1,1,a.canEdit$)))},bob=function(a){if(a&1){var b=t();P(0,aob,3,3,"b-button",50);E(1,"b-button",51);K("onAction",function(){v(b);var c=N();return w(c.addChild())});U(2,"async");Q(3," Add existing child ");F()}a&2&&(a=N(),D("ngIf",a.isNonPublicSession),z(1),D("disabled",!V(2,2,a.canEdit$)))},cob=function(a,b){return(0,C.combineLatest)([a,b]).pipe(B(function(c){var d=
m(c);c=d.next().value;d=d.next().value;return 0===d?0:Math.round(100*c/d*100)/100}))},dob=function(a){return 1===a?a+" day":a+" days"},eob=function(a){a&1&&(E(0,"div",3),H(1,"mat-icon",4),E(2,"span",5),Q(3),U(4,"async"),F()());if(a&2){a=N();var b;z(3);R("",null==(b=V(4,1,a.issues$))?null:b.length," parent issues")}},fob=function(a){a&1&&(E(0,"div",3),H(1,"mat-icon",6),E(2,"span",5),Q(3),U(4,"async"),F()());if(a&2){a=N();var b;z(3);R("Blocked by ",null==(b=V(4,1,a.issues$))?null:b.length," issues")}},
gob=function(a,b){a&1&&(E(0,"span"),Q(1),F());a&2&&(a=b.$implicit,b=N(4),Ig("chippy status-",a," margin-s-left"),z(1),R(" ",b.STATUS_TERSE[a]," "))},hob=function(a){a&1&&(I(0),E(1,"a",8)(2,"div",9)(3,"div",10)(4,"div",11),Q(5),F(),E(6,"div",12),Q(7),F()(),E(8,"div",10)(9,"div",13),Q(10),F(),P(11,gob,2,4,"span",14),F()()(),J());if(a&2){var b=N();a=b.$implicit;b=b.last;var c=N(2);z(1);Pg("routerLink","/issues/",a.issueId,"");z(1);Fg("border-bottom",!b);z(3);Sg(a.issueId);z(2);Sg(a.snapshot[0].title);
z(2);D("ngClass",c.priorityClass(a.snapshot[0].priority));z(1);Sg(a.snapshot[0].priority);z(1);D("ngIf",c.convertIssueStatusStrToTag(a.snapshot[0].status))}},iob=function(a,b){a&1&&(I(0),P(1,hob,12,8,"ng-container",2),J());a&2&&(a=b.index,z(1),D("ngIf",5>a))},kob=function(a){if(a&1){var b=t();I(0);E(1,"div",15)(2,"button",16);K("click",function(){v(b);var c=N(2);return w(job(c))});Q(3,"View all parent issues");F()();J()}},lob=function(a){if(a&1){var b=t();I(0);E(1,"div",15)(2,"button",16);K("click",
function(){v(b);var c=N(2),d;null==(d=c.hovercardInstance)||d.closeHovercard$.next();Gt(c.router,"/issues/"+c.currentIssueId+"/dependencies");return w()});Q(3,"View all blockers");F()();J()}},mob=function(a,b){a&1&&(E(0,"div"),P(1,iob,2,1,"ng-container",7),P(2,kob,4,0,"ng-container",2),P(3,lob,4,0,"ng-container",2),F());a&2&&(a=b.$implicit,b=N(),z(1),D("ngForOf",a),z(1),D("ngIf",5<a.length&&b.mode===b.ListIssuesHovercardMode.PARENT_ISSUES),z(1),D("ngIf",5<a.length&&b.mode===b.ListIssuesHovercardMode.BLOCKED_BY_ISSUES))},
nob=function(a){a&1&&H(0,"mat-icon",7)},oob=function(a){a&1&&(I(0),H(1,"b-list-issues-card",8,9),J());if(a&2){var b=O(2);N();var c=O(5);a=N();z(1);D("onedevIsHovercardReady",b.init)("hovercardInstance",c)("currentIssueId",a.issueId)("issueIds",a.multiParentIssueIds)("mode",a.ListIssuesHovercardMode.PARENT_ISSUES)}},pob=function(a){a&1&&(I(0),E(1,"a",3),Q(2),F(),P(3,nob,1,0,"mat-icon",4),E(4,"onedev-hovercard",null,5),P(6,oob,3,5,"ng-container",6),F(),J());if(a&2){var b=O(5);a=N();z(1);Pg("title",
"",a.multiParentIssueIds.length," parents at this position");D("onedevHovercardTrigger",b);z(1);R("",a.multiParentIssueIds.length," Parents\u2026");z(1);D("ngIf",1<a.multiParentIssueIds.length)}},qob=function(a,b){a&1&&(I(0),E(1,"b-issue-reference-widget",10),Q(2),F(),H(3,"mat-icon",7),J());if(a&2){a=b.$implicit;b=b.last;var c=N();z(1);D("href",c.getIssueLink(a))("issueId",a);z(1);c.issueIdToTitle.has(a)?(a=c.issueIdToTitle.get(a),a=aya(a)):a=String(a);Sg(a);z(1);Fg("last",b)}},rob=function(a){a&
1&&(I(0),Q(1,"\u2026 >"),J())},sob=function(a){a&1&&(I(0),Q(1,"\u2026"),J())},tob=function(a){if(a&1){var b=t();E(0,"a",16);K("click",function(){v(b);var c=N(4);return w(c.compactMode$.next(!1))});P(1,rob,2,0,"ng-container",6);P(2,sob,2,0,"ng-container",6);F()}a&2&&(a=N().$implicit,z(1),D("ngIf",a.isSpliced),z(1),D("ngIf",a.isTruncated))},uob=function(a){a&1&&(E(0,"a",17),Q(1),F());if(a&2){a=N().$implicit;var b=O(7);Fg("muted",a.name==a.id);D("routerLinkObj",a.route)("onedevHovercardTrigger",b);z(1);
Sg(a.name)}},vob=function(a){a&1&&(E(0,"span",18),Q(1),F());a&2&&(a=N().$implicit,Fg("muted",a.name==a.id),z(1),Sg(a.name))},wob=function(a){a&1&&(I(0),Q(1," > "),J())},xob=function(a){a&1&&(I(0),H(1,"b-component-path-card",19,20),J());if(a&2){var b=O(2);a=N().$implicit;z(1);D("onedevIsHovercardReady",b.init)("componentId",a.id)}},yob=function(a,b){a&1&&(I(0),P(1,tob,3,2,"a",11),P(2,uob,2,5,"a",12),P(3,vob,2,3,"ng-template",null,13,qh),P(5,wob,2,0,"ng-container",6),E(6,"onedev-hovercard",null,14),
P(8,xob,3,2,"ng-container",15),F(),J());if(a&2){a=b.$implicit;b=b.last;var c=O(4),d=N(3);z(1);D("ngIf",a.isSpliced||a.isTruncated);z(1);D("ngIf",!d.viewOnly)("ngIfElse",c);z(3);D("ngIf",!b)}},zob=function(a,b){a&1&&(E(0,"span",9),P(1,yob,9,4,"ng-container",10),F());a&2&&(a=b.$implicit,z(1),D("ngForOf",a))},Aob=function(a){a&1&&(E(0,"span"),Q(1,"[Archived]"),F())},Bob=function(a){if(a&1){var b=t();E(0,"button",21);K("click",function(){v(b);N(2).editing=!0;return w()});H(1,"mat-icon",22);F()}},Cob=
function(a){a&1&&(E(0,"a",23),U(1,"async"),H(2,"mat-icon",24),F());if(a&2){a=N(2);var b;D("routerLinkObj",a.popoutLink(null==(b=V(1,1,a.component$))?null:b.componentId))}},Dob=function(a){a&1&&(E(0,"b-async-data-placeholder",2),U(1,"async"),E(2,"div",3),H(3,"mat-icon",4),P(4,zob,2,1,"span",5),U(5,"async"),P(6,Aob,2,0,"span",6),U(7,"async"),P(8,Bob,2,0,"button",7),P(9,Cob,3,3,"a",8),F()());a&2&&(a=N(),D("isReady",V(1,6,a.isReady$)),z(3),D("svgIcon",a.currentTracker.enableTrackersComponentPathTruncation&&
a.currentTracker.inTracker?"folder_special_24px":"folder"),z(1),D("ngIf",V(5,8,a.componentPath$)),z(2),D("ngIf",V(7,10,a.isArchived$)),z(2),D("ngIf",!a.viewOnly),z(1),D("ngIf",a.popoutLink))},Fob=function(a){if(a&1){var b=t();E(0,"b-team-component-picker",25);K("selectedComponentChange",function(c){v(b);var d=N();d.editing=!1;c&&Eob(d.issueEditComponentService,d.issueId,c);return w()})("dropdownClosed",function(){v(b);N().editing=!1;return w()});U(1,"async");F()}a&2&&(a=N(),D("selectedComponent",
V(1,3,a.component$))("isRequired",!0)("shouldFocus",!0))},Gob=function(a){a&1&&(Sd(),Td(),I(0),Q(1,"Insights"),J())},Hob=function(){function a(){var e,f,h;return null==(e=b.google)?void 0:null==(f=e.corp)?void 0:null==(h=f.devops)?void 0:h.tools}var b=void 0===b?window:b;var c=void 0===c?5E3:c;var d=100;return new Promise(function(e,f){function h(){var l=a();null!=l?e(l):(setTimeout(h,d),d*=2)}h();setTimeout(function(){var l=a();null!=l?e(l):f("timeout: "+c)},c)})},Iob=function(a){return["PROD","NIGHTLY"].includes(a)?
"production":"autopush"},Job=function(a){if(a&1){var b=t();E(0,"b-insights-graph-menu",2);K("openSidebar",function(d){v(b);var e=N(2);return w(e.openSidebar(d.panel))});F()}if(a&2){a=N().ngIf;var c=N();D("availablePanels",a)("iconOnly",c.iconOnly)("buttonClassname",c.buttonClassname)}},Kob=function(a){a&1&&(I(0),P(1,Job,1,3,"b-insights-graph-menu",1),U(2,"async"),J());a&2&&(a=N(),z(1),D("ngIf",V(2,1,a.shouldShowInsightsGraphMenu$)))},Lob=function(a){a&1&&Kg(0)},Mob=function(a){a&1&&(I(0),P(1,Lob,
1,0,"ng-container",5),J());a&2&&(a=N(),z(1),D("ngTemplateOutlet",a.content))},Nob=function(a,b){if(a&1){var c=t();E(0,"button",13);K("click",function(e){var f=v(c).$implicit;return w(f.action(e))});H(1,"mat-icon",14);Q(2);F()}if(a&2){a=b.$implicit;var d;D("disabled",a.disabled)("title",a.title);ug("aria-label",a.title);z(1);D("svgIcon",null!==(d=a.icon)&&void 0!==d?d:"");z(1);R(" ",a.label," ")}},Oob=function(a){if(a&1){var b=t();I(0);E(1,"button",15);K("click",function(d){v(b);var e=N(2);d.stopPropagation();
d.preventDefault();var f;null==(f=e.helpHover)||f.toggle();return w()});H(2,"mat-icon",16);Q(3," Retention: ");H(4,"retention-text",17);Q(5," \u00a0 ");H(6,"help-hover",18);F();J()}if(a&2){a=N().ngIf;var c=O(14);z(4);D("retentionState",a.retentionState);z(2);D("content",c)}},Pob=function(a){a&1&&(I(0),H(1,"retention-help-text",19),J());a&2&&(a=N(2).ngIf,z(1),D("retentionState",a.retentionState)("modifiedTime",a.modifiedTimeMilliseconds))},Qob=function(a){a&1&&P(0,Pob,2,2,"ng-container",0);a&2&&(a=
N().ngIf,D("ngIf",a.retentionState&&a.modifiedTimeMilliseconds))},Rob=function(a,b){if(a&1){var c=t();I(0);H(1,"b-app-vote-button",1)(2,"hotlist-picker-btn",2);E(3,"smart-dupe-btn",3,4);K("onHotkey",function(){v(c);var e=O(4);return w(oOa(e))});F();E(5,"b-notification-menu",5);K("subscriptionChange",function(e){v(c);var f=N();return w(f.updateSubscription(e))})("showNotificationSettings",function(e){v(c);var f=N();return w(f.showNotificationSettings(e))});F();H(6,"insights-graph-menu-smart",6);E(7,
"button",7);H(8,"mat-icon",8);F();E(9,"mat-menu",9,10);P(11,Nob,3,5,"button",11);P(12,Oob,7,2,"ng-container",0);F();P(13,Qob,1,1,"ng-template",null,12,qh);J()}if(a&2){a=b.ngIf;var d=O(10);b=N();z(1);D("issueId",a.issueId)("voteCount",a.voteCount)("upvoted",a.voted);z(1);D("issueId",a.issueId);z(1);D("issueId",a.issueId)("hotkey",b.HOTKEYS.TOGGLE_MARK_AS_DUPLICATE);z(2);D("subscription",a.notificationSubscription)("issueId",a.issueId)("iconOnly",!0);z(1);D("iconOnly",!0);z(1);D("matMenuTriggerFor",
d);z(4);D("ngForOf",a.menuItems);z(1);D("ngIf",null==a.retentionState?null:a.retentionState.scheduledDeletionTime)}},Sob=function(){},Tob=function(a){a&1&&(E(0,"output"),Q(1),U(2,"async"),F());if(a&2){a=N().ngIf;var b=N();z(1);Tg(" ",a," of ",V(2,2,b.currentSearchResults.totalText$)," ")}},Xob=function(a,b){if(a&1){var c=t();I(0);P(1,Tob,3,4,"output",0);E(2,"span",1)(3,"button",2);K("onHotkey",function(){v(c);var d=N();return w(Uob(d.currentSearchResults))})("click",function(){v(c);var d=N();return w(Uob(d.currentSearchResults))});
U(4,"async");H(5,"mat-icon",3);F();E(6,"button",4);K("onHotkey",function(){v(c);var d=N();return w(Vob(d.currentSearchResults))})("click",function(){v(c);var d=N();return w(Vob(d.currentSearchResults))});U(7,"async");H(8,"mat-icon",5);F()();J()}a&2&&(a=b.ngIf,b=N(),z(1),D("ngIf",-1!==a),z(1),D("ngClass",Xg(10,Wob,-1===a)),z(1),D("hotkey",b.HOTKEYS.GO_TO_PREVIOUS_ISSUE)("disabled",!V(4,6,b.currentSearchResults.hasPreviousIssue$)),z(3),D("hotkey",b.HOTKEYS.GO_TO_NEXT_ISSUE)("disabled",!V(7,8,b.currentSearchResults.hasNextIssue$)))},
Yob=function(a){if(a&1){var b=t();I(0);E(1,"button",16);K("click",function(){v(b);var c=N();return w(c.onPressCancel())});Q(2," Cancel ");F();E(3,"button",17);K("click",function(){v(b);var c=N();return w(c.onPressSave())});U(4,"async");Q(5," Save ");F();J()}a&2&&(a=N(),z(3),D("disabled",!V(4,1,a.hasSelectionChanged$)))},Zob=function(a){if(a&1){var b=t();E(0,"button",18);K("click",function(){v(b);var c=N();return w(c.onPressCancel())});Q(1," Close ");F()}},$ob=function(a){a&1&&H(0,"b-access-level-indicator",
6);a&2&&(a=N(2).$implicit,D("accessLevel",a.accessLevel))},apb=function(a){a&1&&H(0,"b-access-limits-chip",7);a&2&&(a=N(2).$implicit,D("issueId",a.issueId)("componentId",a.componentId)("accessLimitLevel",a.issueAccessLimitLevel))},bpb=function(a){a&1&&H(0,"b-retention-chip",8);a&2&&(a=N(2).$implicit,D("retentionState",a.retentionState)("compactMode",!1)("modifiedTime",a.modifiedTime))},cpb=function(a){a&1&&(E(0,"div",2),P(1,$ob,1,1,"b-access-level-indicator",3),P(2,apb,1,3,"b-access-limits-chip",
4),P(3,bpb,1,3,"b-retention-chip",5),F());a&2&&(a=N().$implicit,z(1),D("ngIf",a.isShowingPublicPartner),z(1),D("ngIf",a.isAccessLimited),z(1),D("ngIf",a.isShowingRetention))},dpb=function(a,b){a&1&&(I(0),P(1,cpb,4,3,"div",1),J());a&2&&(a=b.$implicit,z(1),D("ngIf",a.isShowingPublicPartner||a.isShowingRetention||a.isAccessLimited))},epb=function(a){a&1&&Kg(0)},fpb=function(a){a&1&&(I(0),P(1,epb,1,0,"ng-container",23),J());if(a&2){N();var b=O(12);z(1);D("ngTemplateOutlet",b)}},gpb=function(a,b){a&1&&
H(0,"ancestors-breadcrumbs",30);a&2&&(a=b.ngIf,b=N(3),D("ancestors",a)("issueId",b.issueId))},hpb=function(a){a&1&&(I(0),H(1,"b-component-breadcrumb-chip",26),U(2,"async"),E(3,"div",27),P(4,gpb,1,2,"ancestors-breadcrumbs",28),U(5,"async"),H(6,"b-issue-id-picker",29),U(7,"async"),U(8,"async"),U(9,"async"),F(),J());a&2&&(a=N(2),z(1),D("componentId",V(2,8,a.componentId$))("compactMode",!0)("issueId",a.issueId),z(3),D("ngIf",V(5,10,a.ancestors$)),z(2),D("issueId",a.issueId)("componentId",V(7,12,a.componentId$))("issueTitle",
V(8,14,a.issueTitle$))("isExternalIssue",!!V(9,16,a.isWithinExternalComponent$)))},ipb=function(a){if(a&1){var b=t();E(0,"b-team-chip",24);K("onTeamLoaded",function(){v(b);var c=N();return w(c.isTeamLoaded=!0)});U(1,"async");U(2,"async");F();P(3,hpb,10,18,"ng-container",25)}a&2&&(a=N(),D("componentId",V(1,3,a.componentId$))("teamId",V(2,5,a.teamId$)),z(3),D("ngIf",a.isTeamLoaded))},jpb=function(a){a&1&&(I(0),H(1,"b-component-breadcrumb-chip",31),U(2,"async"),E(3,"div",32),H(4,"b-issue-id-picker",
33),U(5,"async"),U(6,"async"),U(7,"async"),F(),J());a&2&&(a=N(2),z(1),D("componentId",V(2,6,a.componentId$))("issueId",a.issueId),z(3),D("issueId",a.issueId)("componentId",V(5,8,a.componentId$))("issueTitle",V(6,10,a.issueTitle$))("isExternalIssue",!!V(7,12,a.isWithinExternalComponent$)))},kpb=function(a){if(a&1){var b=t();E(0,"b-team-chip",24);K("onTeamLoaded",function(){v(b);var c=N();return w(c.isTeamLoaded=!0)});U(1,"async");U(2,"async");F();P(3,jpb,8,14,"ng-container",25)}a&2&&(a=N(),D("componentId",
V(1,3,a.componentId$))("teamId",V(2,5,a.teamId$)),z(3),D("ngIf",a.isTeamLoaded))},lpb=function(a){a&1&&(I(0),Q(1),J());a&2&&(a=N().$implicit,z(1),R(" ",a," "))},mpb=function(a,b){a&1&&(E(0,"div",34),H(1,"mat-icon",35),P(2,lpb,2,1,"ng-container",25),F());if(a&2){a=b.$implicit;N();var c=O(36);D("onedevHovercardTrigger",c);z(2);D("ngIf",2<=a)}},npb=function(a){a&1&&(I(0),H(1,"b-list-issues-card",36,37),U(3,"async"),J());if(a&2){var b=O(2);a=N();var c=O(36);z(1);D("onedevIsHovercardReady",b.init)("hovercardInstance",
c)("currentIssueId",a.issueId)("issueIds",V(3,5,a.blockedByids$))("mode",a.ListIssuesHovercardMode.BLOCKED_BY_ISSUES)}},opb=function(a){return 1===a?"Blocked":"Blocked by "+a+" issues"},ppb=function(a){if(0!==a.length)return 1===a.length?Ht.ISSUE(a[0]):Ht.ISSUE_LIST},qpb=function(a,b){a&1&&(E(0,"div",1),H(1,"img",2),E(2,"h3"),Q(3),F(),E(4,"a",3),U(5,"async"),Q(6),F()());a&2&&(a=b.$implicit,b=N(),z(1),D("src",null==a.branding?null:a.branding.logoUrl,Ie),z(2),R("This issue is a part of the ",a.name,
" tracker."),z(1),D("href",V(5,4,b.trackerRedirectUrl$),Ie),z(2),R(" View in ",a.name," Tracker "))},rpb=function(a){a&1&&(E(0,"div")(1,"ol")(2,"li")(3,"label"),Q(4,"Issue ID"),F(),E(5,"output"),Q(6),F()(),E(7,"li")(8,"label"),Q(9,"Type"),F(),E(10,"output"),Q(11),F()(),E(12,"li")(13,"label"),Q(14,"Status"),F(),E(15,"output"),Q(16),F()()()());a&2&&(a=N(2),z(6),Sg(a.issueId),z(5),Sg(a.issueType),z(5),Sg(a.issueStatus))},spb=function(a){a&1&&(E(0,"div",1)(1,"div",2),H(2,"img",3),U(3,"async"),H(4,"mat-icon",
4)(5,"img",3),U(6,"async"),F(),E(7,"h3",5),Q(8),U(9,"async"),F(),P(10,rpb,17,3,"div",6),E(11,"div",7)(12,"a",8),U(13,"async"),Q(14,"Continue"),F()()());a&2&&(a=N(),z(2),D("src",V(3,5,a.currentTrackerLogo$),Ie),z(3),D("src",V(6,7,a.trackerLogo$),Ie),z(3),R(" Redirecting to ",V(9,9,a.trackerName$)," "),z(2),D("ngIf",null!=a.issue),z(2),D("href",V(13,11,a.trackerRedirectUrl$),Ie))},tpb=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))},upb=function(a){if(a&1){var b=t();E(0,"input",3,4);K("peoplekitAutocompleteSelectionChange",function(c){v(b);var d=N();0<c.length&&(d.inputValue=c[0].result().getPrimaryTarget().getValue());return w()})("ngModelChange",function(c){v(b);var d=N();return w(d.inputValue=c)});F()}a&2&&(a=N(),D("peoplekitAutocompleteConfig",a.mergedAutocompleteConfig)("peoplekitSearchSessionOptions",
a.sessionOptions)("ngModel",a.inputValue))},vpb=function(a){a&1&&Kg(0)},xpb=function(a){a&1&&(I(0),P(1,vpb,1,0,"ng-container",6),J());a&2&&(a=N(),z(1),D("ngTemplateOutlet",a.selectedUserTemplate)("ngTemplateOutletContext",Xg(2,wpb,a.email)))},ypb=function(a){a&1&&Q(0);a&2&&(a=N(),R(" ",a.email," "))},zpb=function(a){a&1&&(Sd(),E(0,"svg",7),H(1,"path",8),F())},Apb=function(a){a&1&&H(0,"b-user-membership-chip",4);if(a&2){a=N().$implicit;var b=N(),c;D("email",a)("teamId",null!==(c=b.teamId)&&void 0!==
c?c:"")("enableSmallChip",!0)}},Bpb=function(a,b){a&1&&P(0,Apb,1,3,"b-user-membership-chip",3);a&2&&D("ngIf",b.$implicit)},Cpb=function(a){a&1&&Kg(0)},Dpb=function(a){a&1&&(I(0),P(1,Cpb,1,0,"ng-container",31),J());if(a&2){N();var b=O(64);z(1);D("ngTemplateOutlet",b)}},Fpb=function(a,b){a&1&&H(0,"b-list-field",33);a&2&&(a=b.ngIf,b=N(3),D("readonly",!0)("defaultLineCount",3)("title","Team")("type",b.ListFieldType.TEAM)("values",Xg(5,Epb,a)))},Gpb=function(a){a&1&&(I(0),P(1,Fpb,1,7,"b-list-field",32),
U(2,"async"),J());a&2&&(a=N(2),z(1),D("ngIf",V(2,1,a.teamHovercardInputs$)))},Ipb=function(a){if(a&1){var b=t();E(0,"div",35)(1,"b-team-warning",36);K("updateTeam",function(){v(b);var h=N(3);h.issueFridge.poke(h.issueId);return w()});U(2,"async");U(3,"async");F()()}if(a&2){a=N().ngIf;var c=N().ngIf,d=N(),e,f;z(1);D("warningType",a)("componentId",c.componentId)("parentComponentId",(null==(e=V(2,4,d.component$))?null:e.parentComponentId)||0)("teamSuggestions",null!==(f=V(3,6,d.teamSuggestions$))&&void 0!==
f?f:Wg(8,Hpb))}},Jpb=function(a){a&1&&(I(0),P(1,Ipb,4,9,"div",34),U(2,"async"),J());a&2&&(a=N(2),z(1),D("ngIf",V(2,1,a.shouldDisplayTeamSuggestions$)))},Lpb=function(a){if(a&1){var b=t();I(0);E(1,"b-edit-field",37,38);K("valueChange",function(f){v(b);var h=O(2),l=N(2);return w(Kpb(l,h,null!==f&&void 0!==f?f:""))});U(3,"async");U(4,"async");U(5,"async");F();J()}if(a&2){a=N().ngIf;var c=N(),d,e;z(1);D("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",!V(3,10,c.hasAclToEdit$))("disabled",!!V(4,12,c.isSaving$("reporter")))("showAvailability",!0)("teamId",null!==(e=V(5,14,c.teamId$))&&void 0!==e?e:"")}},Npb=function(a){if(a&1){var b=t();E(0,"onedev-edit-field")(1,"onedev-field-label");Q(2,"Reporter");F();E(3,"onedev-field-value",39);U(4,"async");E(5,"b-user-picker",40);K("emailChange",function(e){v(b);var f=N(2);return w(Mpb(f.editIssueService,f.issueId,e))});U(6,"async");U(7,"async");
F()()()}if(a&2){a=N().ngIf;var c=N(),d;z(3);D("thinking",!!V(4,4,c.isSaving$("reporter")));z(2);D("user",a.reporterUser)("teamId",null!==(d=V(6,6,c.teamId$))&&void 0!==d?d:"")("disabled",!V(7,8,c.hasAclToEdit$))}},Opb=function(a){a&1&&Kg(0)},Ppb=function(a){a&1&&(I(0),P(1,Opb,1,0,"ng-container",31),J());if(a&2){N();var b=O(66);z(1);D("ngTemplateOutlet",b)}},Qpb=function(a,b){if(a&1){var c=t();E(0,"div",42);H(1,"div",43);E(2,"span",44);K("click",function(){var d=v(c).ngIf,e=N(3);return w(It(e,d))})("keydown.enter",
function(d){var e=v(c).ngIf;It(N(3),e);d.stopPropagation();return w(d.preventDefault())})("keydown.space",function(d){var e=v(c).ngIf;It(N(3),e);d.stopPropagation();return w(d.preventDefault())});U(3,"async");U(4,"async");Q(5);F()()}a&2&&(a=b.ngIf,b=N(3),z(2),Fg("disabled",!!V(3,6,b.isSaving$("status"))),D("matTooltip",a.description||""),ug("aria-disabled",!!V(4,8,b.isSaving$("status")))("aria-label",a.displayText||null),z(3),R(" ",a.displayText," "))},Rpb=function(a){a&1&&(I(0),P(1,Qpb,6,10,"div",
41),U(2,"async"),J());a&2&&(a=N(2),z(1),D("ngIf",V(2,1,a.issueStatusQuickAction$)))},Spb=function(a){a&1&&(H(0,"b-issue-card",45,46),U(2,"async"));if(a&2){var b=O(1);a=N(2);D("onedevIsHovercardReady",b.init)("issueId",V(2,2,a.canonicalIssueId$))}},Upb=function(a){if(a&1){var b=t();E(0,"b-estimated-effort-row",47);K("effortChange",function(e){v(b);var f=N(2);return w(Tpb(f.editIssueService,f.issueId,e))});U(1,"async");U(2,"async");U(3,"async");F()}if(a&2){a=N(2);var c,d;D("effort",null!==(c=V(1,3,
a.effort$))&&void 0!==c?c:void 0)("effortSpec",null!==(d=V(2,5,a.effortSpec$))&&void 0!==d?d:void 0)("disabled",!V(3,7,a.hasAclToEdit$))}},Vpb=function(a){a&1&&(E(0,"span"),Q(1," Edit "),F())},Wpb=function(a){a&1&&(E(0,"span"),Q(1," View "),F())},Ypb=function(a){if(a&1){var b=t();E(0,"div",48)(1,"div",49)(2,"span",50);Q(3,"Access");F();E(4,"div",51)(5,"span",52);Q(6);U(7,"async");F();E(8,"div",53);K("click",function(){v(b);var d=N(2);return w(d.toggleAccessLimits())})("keydown.enter",function(d){v(b);
var e=N(2);return w(e.toggleAccessLimitsWithKeystroke(d))})("keydown.space",function(d){v(b);var e=N(2);return w(e.toggleAccessLimitsWithKeystroke(d))});U(9,"async");U(10,"async");U(11,"async");U(12,"async");P(13,Vpb,2,0,"span",0);U(14,"async");U(15,"async");P(16,Wpb,2,0,"span",0);U(17,"async");U(18,"async");F()()();E(19,"onedev-hovercard",null,54)(21,"div",55)(22,"div",56)(23,"span",57);Q(24," Issue access level can only be set by Issue admins and it enables issue-level access control. ");E(25,"a",
58);Q(26,"Learn more.");F()()()()()()}if(a&2){var c=O(20);a=N(2);z(1);D("onedevHovercardTrigger",c)("onedevHovercardActive",!0)("onedevHovercardConfig",a.ACCESS_LIMITS_HOVERCARD_CONFIG);z(5);Sg(a.getAccessLimitLevelDisplay(V(7,9,a.accessLimitLevel$)));z(2);D("matTooltip",Xpb(V(11,15,a.enableIssueAccessLimits$),V(12,17,a.accessLimitLevel$))?"Manage issue level access limits":"View issue level access limits");ug("aria-label",Xpb(V(9,11,a.enableIssueAccessLimits$),V(10,13,a.accessLimitLevel$))?"Manage issue level access limits":
"View issue level access limits");z(5);D("ngIf",V(14,19,a.enableIssueAccessLimits$)&&V(15,21,a.hasAclToAdmin$));z(3);D("ngIf",!(V(17,23,a.enableIssueAccessLimits$)&&V(18,25,a.hasAclToAdmin$)));z(9);D("href",a.documentationLinks.getIssueAccessLimit(),Ie)}},Zpb=function(a){a&1&&(E(0,"div"),Q(1),U(2,"async"),E(3,"a",64),Q(4,"Learn more"),F()());if(a&2){a=N(2).ngIf;var b=N();z(1);R(" Expanded access is turned on for this component. ",V(2,2,b.enableCollaborators$)||0<a.collaborators.length?"Assignees, verifiers and collaborators":
"Assignees and verifiers"," can edit issues in this component, and CC'd users can comment on them. ");z(2);D("href",Lp(b.documentationLinks)+"#expanded-access",Ie)}},$pb=function(a){a&1&&(E(0,"div",59)(1,"span",60),Q(2,"Expanded Access"),F(),E(3,"xap-bubble",61)(4,"xap-icon-trigger"),H(5,"mat-icon",62),F(),P(6,Zpb,5,4,"ng-template",null,63,qh),F()());if(a&2){var b=O(7);z(3);D("panelTemplate",b)}},aqb=function(a){a&1&&(E(0,"span",70),U(1,"async"),Q(2),F());if(a&2){a=N().ngIf;var b=N(4);Fg("disabled",
!!V(1,3,b.isSaving$("assignee")));z(2);R(" ",a.displayText," ")}},bqb=function(a,b){if(a&1){var c=t();E(0,"div",68);K("onHotkey",function(){var d=v(c).ngIf,e=N(4);return w(It(e,d))})("click",function(){var d=v(c).ngIf,e=N(4);return w(It(e,d))})("keydown.enter",function(d){var e=v(c).ngIf;It(N(4),e);d.stopPropagation();return w(d.preventDefault())})("keydown.space",function(d){var e=v(c).ngIf;It(N(4),e);d.stopPropagation();return w(d.preventDefault())});U(1,"async");H(2,"div",43);P(3,aqb,3,5,"span",
69);U(4,"async");F()}a&2&&(a=b.ngIf,b=N(4),D("hotkey",b.HOTKEYS.ASSIGN_ISSUE_TO_DEFAULT_ASSIGNEE)("matTooltip",a.description),ug("aria-disabled",!!V(1,5,b.isSaving$("assignee")))("aria-label",a.description),z(3),D("ngIf",V(4,7,b.hasAclToEdit$)))},cqb=function(a){a&1&&(I(0),P(1,bqb,5,9,"div",67),U(2,"async"),J());a&2&&(a=N(3),z(1),D("ngIf",V(2,1,a.issueAssigneeQuickAction$)))},eqb=function(a){if(a&1){var b=t();I(0);E(1,"b-edit-field",65,66);K("onHotkey",function(){v(b);var f=O(2);return w(lr(f,null,
!0,!1))})("valueChange",function(f){v(b);var h=O(2),l=N(2);return w(dqb(l,h,null!==f&&void 0!==f?f:""))});U(3,"async");U(4,"async");U(5,"async");F();P(6,cqb,3,3,"ng-container",0);J()}if(a&2){a=N().ngIf;var c=N(),d,e;z(1);D("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",!V(3,12,c.hasAclToEdit$))("disabled",!!V(4,14,c.isSaving$("assignee")))("showAvailability",
!0)("teamId",null!==(e=V(5,16,c.teamId$))&&void 0!==e?e:"");z(5);D("ngIf",c.defaultAssigneeQuickActionEnabled)}},gqb=function(a){if(a&1){var b=t();E(0,"div",75);K("click",function(){v(b);var c=N(3);return w(fqb(c.editIssueService,c.issueId,""))});Q(1," Un-assign ");F()}},hqb=function(a,b){if(a&1){var c=t();E(0,"div",77);K("onHotkey",function(){var d=v(c).ngIf,e=N(4);return w(It(e,d))})("click",function(){var d=v(c).ngIf,e=N(4);return w(It(e,d))})("keydown.enter",function(d){var e=v(c).ngIf;It(N(4),
e);d.stopPropagation();return w(d.preventDefault())})("keydown.space",function(d){var e=v(c).ngIf;It(N(4),e);d.stopPropagation();return w(d.preventDefault())});U(1,"async");U(2,"async");Q(3);F()}a&2&&(a=b.ngIf,b=N(4),Fg("disabled",!!V(1,7,b.isSaving$("assignee"))),D("hotkey",b.HOTKEYS.ASSIGN_ISSUE_TO_DEFAULT_ASSIGNEE)("matTooltip",a.description),ug("aria-disabled",!!V(2,9,b.isSaving$("assignee")))("aria-label",a.description),z(3),R(" ",a.displayText," "))},iqb=function(a){a&1&&(I(0),P(1,hqb,4,11,
"div",76),U(2,"async"),J());a&2&&(a=N(3),z(1),D("ngIf",V(2,1,a.issueAssigneeQuickAction$)))},jqb=function(a){if(a&1){var b=t();E(0,"onedev-edit-field")(1,"onedev-field-label");Q(2,"Assignee");F();E(3,"onedev-field-value",39);U(4,"async");E(5,"b-user-picker",71,72);K("onHotkey",function(){v(b);var e=O(6);return w(e.openPopOver())})("emailChange",function(e){v(b);var f=N(2);return w(fqb(f.editIssueService,f.issueId,e))});U(7,"async");U(8,"async");F();E(9,"div",73);P(10,gqb,2,0,"div",74);U(11,"async");
P(12,iqb,3,3,"ng-container",0);U(13,"async");F()()()}if(a&2){a=N().ngIf;var c=N(),d;z(3);D("thinking",!!V(4,7,c.isSaving$("assignee")));z(2);D("hotkey",c.HOTKEYS.CHANGE_ASSIGNEE)("user",a.assigneeUser)("teamId",null!==(d=V(7,9,c.teamId$))&&void 0!==d?d:"")("disabled",!V(8,11,c.hasAclToEdit$));z(5);D("ngIf",a.assigneeUser&&V(11,13,c.hasAclToEdit$));z(2);D("ngIf",c.defaultAssigneeQuickActionEnabled&&V(13,15,c.hasAclToEdit$))}},lqb=function(a){if(a&1){var b=t();I(0);E(1,"b-edit-field",78,79);K("valueChange",
function(f){v(b);var h=O(2),l=N(2);return w(kqb(l,h,null!==f&&void 0!==f?f:""))});U(3,"async");U(4,"async");U(5,"async");F();J()}if(a&2){a=N().ngIf;var c=N(),d,e;z(1);D("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",!V(3,10,c.hasAclToEdit$))("disabled",!!V(4,12,c.isSaving$("verifier")))("showAvailability",!0)("teamId",null!==(e=V(5,14,c.teamId$))&&void 0!==e?e:"")}},nqb=function(a){if(a&
1){var b=t();E(0,"onedev-edit-field")(1,"onedev-field-label");Q(2,"Verifier");F();E(3,"onedev-field-value",39);U(4,"async");E(5,"b-user-picker",40);K("emailChange",function(e){v(b);var f=N(2);return w(mqb(f.editIssueService,f.issueId,e))});U(6,"async");U(7,"async");F()()()}if(a&2){a=N().ngIf;var c=N(),d;z(3);D("thinking",!!V(4,4,c.isSaving$("verifier")));z(2);D("user",a.verifierUser)("teamId",null!==(d=V(6,6,c.teamId$))&&void 0!==d?d:"")("disabled",!V(7,8,c.hasAclToEdit$))}},oqb=function(a){a&1&&
(E(0,"span"),Q(1," Remove me "),F())},pqb=function(a){a&1&&(E(0,"span"),Q(1," Add me "),F())},rqb=function(a){if(a&1){var b=t();E(0,"div",53);K("click",function(){v(b);var c=N(3);return w(qqb(c))})("keydown.enter",function(c){v(b);var d=N(3);qqb(d);c.stopPropagation();c.preventDefault();return w()})("keydown.space",function(c){v(b);var d=N(3);qqb(d);c.stopPropagation();c.preventDefault();return w()});U(1,"async");U(2,"async");U(3,"async");U(4,"async");P(5,oqb,2,0,"span",0);U(6,"async");P(7,pqb,2,
0,"span",0);U(8,"async");U(9,"async");F()}a&2&&(a=N(3),Fg("disabled",!!V(1,7,a.isSaving$("collaborators"))),D("matTooltip",V(4,13,a.isCurrentUserCollaborator$)?"Remove yourself from collaborators":"Add yourself to collaborators"),ug("aria-disabled",!!V(2,9,a.isSaving$("collaborators")))("aria-label",V(3,11,a.isCurrentUserCollaborator$)?"Remove yourself from collaborators":"Add yourself to collaborators"),z(5),D("ngIf",V(6,15,a.isCurrentUserCollaborator$)),z(2),D("ngIf",!V(8,17,a.isCurrentUserCollaborator$)&&
V(9,19,a.hasAclToEdit$)))},sqb=function(a){a&1&&(E(0,"span"),Q(1," Un-CC me "),F())},tqb=function(a){a&1&&(E(0,"span"),Q(1," CC me "),F())},wqb=function(a){if(a&1){var b=t();E(0,"div",53);K("click",function(){v(b);var c=N(3);return w(uqb(c))})("keydown.enter",function(c){v(b);var d=N(3);return w(vqb(d,c))})("keydown.space",function(c){v(b);var d=N(3);return w(vqb(d,c))});U(1,"async");U(2,"async");U(3,"async");U(4,"async");P(5,sqb,2,0,"span",0);U(6,"async");P(7,tqb,2,0,"span",0);U(8,"async");U(9,"async");
F()}a&2&&(a=N(3),Fg("disabled",!!V(1,7,a.isSaving$("ccs"))),D("matTooltip",V(4,13,a.isCurrentUserCCd$)?"Remove yourself from CC":"Add yourself to CC"),ug("aria-disabled",!!V(2,9,a.isSaving$("ccs")))("aria-label",V(3,11,a.isCurrentUserCCd$)?"Remove yourself from CC":"Add yourself to CC"),z(5),D("ngIf",V(6,15,a.isCurrentUserCCd$)),z(2),D("ngIf",!V(8,17,a.isCurrentUserCCd$)&&V(9,19,a.isAllowedToEditCC$)))},zqb=function(a){if(a&1){var b=t();I(0);E(1,"b-collaborators-field",80,81);K("valuesChange",function(l){v(b);
var q=O(2),u=N(2);return w(xqb(u,q,l.values))});U(3,"async");U(4,"async");U(5,"async");U(6,"async");E(7,"div",82);P(8,rqb,10,21,"div",83);U(9,"async");U(10,"async");U(11,"async");F()();E(12,"onedev-hovercard",null,84)(14,"div",55)(15,"div",56)(16,"span",57);Q(17," Collaborators are users who are actively working on an issue. ");E(18,"a",85);Q(19,"Learn more.");F();Q(20);U(21,"async");F()()()();E(22,"b-list-field",86,87);K("valuesChange",function(l){v(b);var q=O(23),u=N(2);return w(yqb(u,q,l.values))});
U(24,"async");U(25,"async");U(26,"async");E(27,"div",82);P(28,wqb,10,21,"div",83);U(29,"async");U(30,"async");U(31,"async");F()();J()}if(a&2){var c=O(13);a=N().ngIf;var d=N(),e,f,h;z(1);D("readonly",!V(3,25,d.hasAclToEdit$))("collaborators",a.collaborators)("collaboratorsUsers",a.collaboratorsUsers)("listFieldDisabled",!!V(4,27,d.isSaving$("collaborators")))("teamId",null!==(e=V(5,29,d.teamId$))&&void 0!==e?e:"")("isCollapsible",!0)("additionAllowed",null!==(f=V(6,31,d.enableCollaborators$))&&void 0!==
f?f:!1)("onedevHovercardTrigger",c)("onedevHovercardActive",!0)("onedevHovercardConfig",d.COLLABORATORS_HOVERCARD_CONFIG);z(7);D("ngIf",V(9,33,d.isCurrentUserCollaborator$)||!V(10,35,d.isCurrentUserCollaborator$)&&V(11,37,d.hasAclToEdit$));z(12);R(" ",V(21,39,d.enableCollaborators$)?"":"Rollout is underway to this component, until then you cannot add collaborators"," ");z(2);Rg("collapsiblePanelTitle","",a.cc.length," ",1===a.cc.length?"user":"users","");D("defaultLineCount",5)("readonly",!V(24,41,
d.isAllowedToEditCC$))("type",d.ListFieldType.USERCHIP)("isUser",!0)("values",a.cc)("users",a.ccUsers)("listFieldDisabled",!!V(25,43,d.isSaving$("ccs")))("isCollapsible",!0)("isExpanded",!0)("teamId",null!==(h=V(26,45,d.teamId$))&&void 0!==h?h:"");z(6);D("ngIf",V(29,47,d.isCurrentUserCCd$)||!V(30,49,d.isCurrentUserCCd$)&&V(31,51,d.isAllowedToEditCC$))}},Aqb=function(a){a&1&&(E(0,"span"),Q(1," Un-CC me "),F())},Bqb=function(a){a&1&&(E(0,"span"),Q(1," CC me "),F())},Cqb=function(a){if(a&1){var b=t();
E(0,"div",53);K("click",function(){v(b);var c=N(3);return w(uqb(c))})("keydown.enter",function(c){v(b);var d=N(3);return w(vqb(d,c))})("keydown.space",function(c){v(b);var d=N(3);return w(vqb(d,c))});U(1,"async");U(2,"async");U(3,"async");U(4,"async");P(5,Aqb,2,0,"span",0);U(6,"async");P(7,Bqb,2,0,"span",0);U(8,"async");U(9,"async");F()}a&2&&(a=N(3),Fg("disabled",!!V(1,7,a.isSaving$("ccs"))),D("matTooltip",V(4,13,a.isCurrentUserCCd$)?"Remove yourself from CC":"Add yourself to CC"),ug("aria-disabled",
!!V(2,9,a.isSaving$("ccs")))("aria-label",V(3,11,a.isCurrentUserCCd$)?"Remove yourself from CC":"Add yourself to CC"),z(5),D("ngIf",V(6,15,a.isCurrentUserCCd$)),z(2),D("ngIf",!V(8,17,a.isCurrentUserCCd$)&&V(9,19,a.isAllowedToEditCC$)))},Dqb=function(a){if(a&1){var b=t();E(0,"b-list-field",88,87);K("valuesChange",function(e){v(b);var f=O(1),h=N(2);return w(yqb(h,f,e.values))});U(2,"async");U(3,"async");U(4,"async");E(5,"div",82);P(6,Cqb,10,21,"div",83);U(7,"async");U(8,"async");U(9,"async");F()()}if(a&
2){a=N().ngIf;var c=N(),d;D("defaultLineCount",5)("readonly",!V(2,9,c.isAllowedToEditCC$))("type",c.ListFieldType.USERCHIP)("isUser",!0)("values",a.cc)("users",a.ccUsers)("listFieldDisabled",!!V(3,11,c.isSaving$("ccs")))("teamId",null!==(d=V(4,13,c.teamId$))&&void 0!==d?d:"");z(6);D("ngIf",V(7,15,c.isCurrentUserCCd$)||!V(8,17,c.isCurrentUserCCd$)&&V(9,19,c.isAllowedToEditCC$))}},Eqb=function(a){a&1&&Kg(0)},Fqb=function(a){a&1&&(I(0),P(1,Eqb,1,0,"ng-container",31),J());if(a&2){N();var b=O(68);z(1);
D("ngTemplateOutlet",b)}},Gqb=function(a){a&1&&H(0,"b-list-field",89);if(a&2){a=N().ngIf;var b=N(2);D("readonly",!0)("defaultLineCount",3)("title","TaskFlow Workspaces")("type",b.ListFieldType.WORKSPACES)("values",a)("tooltip","Links to TaskFlow workspaces this issue belongs to")}},Hqb=function(a,b){a&1&&(I(0),P(1,Gqb,1,6,"b-list-field",18),U(2,"async"),J());a&2&&(a=b.ngIf,b=N(2),z(1),D("ngIf",V(2,1,b.shouldDisplayWtdmUi$)&&a.length))},Iqb=function(a){a&1&&H(0,"b-list-field",89);if(a&2){a=N().ngIf;
var b=N();D("readonly",!0)("defaultLineCount",3)("title","Postmortems")("type",b.ListFieldType.POSTMORTEMS)("values",a.postmortems)("tooltip","Postmortems (auto-populated from a daily dump of Requiem)")}},Kqb=function(a,b){a&1&&(E(0,"div"),Kg(1,90),F());if(a&2){a=b.$implicit;N();var c=O(80);z(1);D("ngTemplateOutlet",c)("ngTemplateOutletContext",Xg(2,Jqb,a))}},Lqb=function(a){a&1&&Kg(0)},Mqb=function(a){a&1&&(I(0),P(1,Lqb,1,0,"ng-container",31),J());if(a&2){N();var b=O(78);z(1);D("ngTemplateOutlet",
b)}},Nqb=function(a){a&1&&H(0,"hr",91)},Oqb=function(a){a&1&&Kg(0)},Pqb=function(a){a&1&&(I(0),P(1,Oqb,1,0,"ng-container",31),J());if(a&2){N(2);var b=O(64);z(1);D("ngTemplateOutlet",b)}},Qqb=function(a){a&1&&Kg(0)},Rqb=function(a){a&1&&(I(0),P(1,Qqb,1,0,"ng-container",31),J());if(a&2){N(2);var b=O(66);z(1);D("ngTemplateOutlet",b)}},Sqb=function(a){a&1&&Kg(0)},Tqb=function(a){a&1&&(I(0),P(1,Sqb,1,0,"ng-container",31),J());if(a&2){N(2);var b=O(68);z(1);D("ngTemplateOutlet",b)}},Uqb=function(a,b){a&
1&&(E(0,"div"),Kg(1,90),F());if(a&2){a=b.$implicit;N(2);var c=O(80);z(1);D("ngTemplateOutlet",c)("ngTemplateOutletContext",Xg(2,Jqb,a))}},Vqb=function(a){a&1&&Kg(0)},Wqb=function(a){a&1&&(I(0),P(1,Vqb,1,0,"ng-container",31),J());if(a&2){N(2);var b=O(78);z(1);D("ngTemplateOutlet",b)}},Xqb=function(a){a&1&&(E(0,"collapsible-panel",92),U(1,"async"),P(2,Pqb,2,1,"ng-container",0),U(3,"async"),P(4,Rqb,2,1,"ng-container",0),U(5,"async"),P(6,Tqb,2,1,"ng-container",0),U(7,"async"),P(8,Uqb,2,4,"div",19),U(9,
"async"),P(10,Wqb,2,1,"ng-container",0),U(11,"async"),F());if(a&2){a=N(2);var b;D("titleWhenCollapsed",null!==(b=V(1,8,a.showHiddenFieldsLabel$))&&void 0!==b?b:"")("titleWhenExpanded","Hide additional fields");z(2);D("ngIf",a.showSloStatus&&!V(3,10,a.isSloStatusPrimary$));z(2);D("ngIf",!V(5,12,a.isSeverityPrimary$));z(2);D("ngIf",a.showChangelists&&!V(7,14,a.isChangelistPrimary$));z(2);D("ngForOf",V(9,16,a.hiddenCustomFields$))("ngForTrackBy",a.trackCustomField);z(2);D("ngIf",!V(11,18,a.isForgottenFourPrimary$))}},
Zqb=function(a){if(a&1){var b=t();E(0,"b-issue-slo-box",94);K("onSnoozeChange",function(h){v(b);var l=N(3);return w(Yqb(l.editIssueService,l.issueId,h.date,h.snoozeType))});U(1,"async");U(2,"async");U(3,"async");U(4,"async");F()}if(a&2){a=N(2).ngIf;var c=N(),d,e,f;D("sloStatus",null!==(d=V(1,6,c.sloStatus$))&&void 0!==d?d:void 0)("sloSnoozeUntil",a.sloSnoozeUntil)("sloId",null!==(e=V(2,8,c.sloId$))&&void 0!==e?e:void 0)("componentId",a.componentId)("isEditable",!!V(3,10,c.hasAclToEdit$))("issueCreationTimestamp",
null!==(f=V(4,12,c.createdTimeMicros$))&&void 0!==f?f:0)}},$qb=function(a){a&1&&P(0,Zqb,5,14,"ng-template",93);a&2&&(a=N(2),D("refreshable",a.refreshMonitor.getObservable()))},brb=function(a){if(a&1){var b=t();E(0,"b-edit-field",95);K("valueChange",function(d){v(b);var e=N(2);return w(arb(e.editIssueService,e.issueId,null!==d&&void 0!==d?d:""))});U(1,"async");U(2,"async");F()}if(a&2){a=N().ngIf;var c=N();D("name","severity")("title","Severity")("type",c.FieldType.ENUM)("tooltip","Set severity, which reflects how much the issue affects the use of the product")("value",
a.severity)("choices",c.severityChoices)("readonly",!V(1,8,c.hasAclToEdit$))("disabled",!!V(2,10,c.isSaving$("severity")))}},crb=function(a){if(a&1){var b=t();E(0,"insights-graph-btn",99);K("pressed",function(){v(b);var c=N(3).issueInsightsSidebarService;c.analytics.trackEvent(Mp.SIDEBAR,"ingress-click");c.openSidebar("deployments");return w()});F()}},erb=function(a){if(a&1){var b=t();E(0,"b-list-field",96);K("valuesChange",function(h){v(b);var l=N(2);return w(drb(l.editIssueService,l.issueId,h.values))});
U(1,"async");U(2,"async");E(3,"div",97);P(4,crb,1,0,"insights-graph-btn",98);U(5,"async");F()();H(6,"b-list-field",89);U(7,"async");U(8,"async");U(9,"async")}if(a&2){a=N().ngIf;var c=N(),d,e,f;D("readonly",!V(1,15,c.hasAclToEdit$))("defaultLineCount",3)("title","Changelists")("type",c.ListFieldType.CHANGELISTS)("values",a.changelist)("listFieldDisabled",!!V(2,17,c.isSaving$("changelists")));z(4);D("ngIf",V(5,19,c.issueInsightsSidebarService.shouldShowInsightsGraphButton$));z(2);Fg("bv2-issue-metadata-error",
null==(d=V(7,21,c.pendingChangelists$))?null:d.hasError);D("readonly",!0)("defaultLineCount",3)("title","Pending Changelists")("type",c.ListFieldType.CHANGELISTS)("values",null!==(e=null==(e=V(8,23,c.pendingChangelists$))?null:e.cls)&&void 0!==e?e:Wg(27,Hpb))("tooltip",(null==(f=V(9,25,c.pendingChangelists$))?0:f.hasError)?"Error fetching pending CLs":"Pending changelists (auto-populated)")}},grb=function(a){if(a&1){var b=t();E(0,"b-edit-field",100);K("valueChange",function(d){v(b);var e=N(2);return w(frb(e.editIssueService,
e.issueId,null!==d&&void 0!==d?d:""))});U(1,"csv");U(2,"async");U(3,"async");F()}if(a&2){a=N().ngIf;var c=N();D("name","foundInVersion")("title","Found In")("type",c.FieldType.TEXT)("multiline",!0)("tooltip","Set the version(s) of the product affected by this issue (comma-separated list)")("value",V(1,8,a.foundInVersion))("readonly",!V(2,10,c.hasAclToEdit$))("disabled",!!V(3,12,c.isSaving$("foundInVersion")))}},irb=function(a){if(a&1){var b=t();E(0,"b-edit-field",101);K("valueChange",function(d){v(b);
var e=N(2);return w(hrb(e.editIssueService,e.issueId,null!==d&&void 0!==d?d:""))});U(1,"csv");U(2,"async");U(3,"async");F()}if(a&2){a=N().ngIf;var c=N();D("name","targetedToVersion")("title","Targeted To")("type",c.FieldType.TEXT)("multiline",!0)("tooltip","Set the version(s) of the product in which the issue should be fixed (comma-separated list)")("value",V(1,8,a.targetedToVersion))("readonly",!V(2,10,c.hasAclToEdit$))("disabled",!!V(3,12,c.isSaving$("targetedToVersion")))}},krb=function(a){if(a&
1){var b=t();E(0,"b-edit-field",100);K("valueChange",function(d){v(b);var e=N(2);return w(jrb(e.editIssueService,e.issueId,null!==d&&void 0!==d?d:""))});U(1,"csv");U(2,"async");U(3,"async");F()}if(a&2){a=N().ngIf;var c=N();D("name","verifiedInVersion")("title","Verified In")("type",c.FieldType.TEXT)("multiline",!0)("tooltip","Set the version(s) of the product in which the issue fix was verified (comma-separated list)")("value",V(1,8,a.verifiedInVersion))("readonly",!V(2,10,c.hasAclToEdit$))("disabled",
!!V(3,12,c.isSaving$("verifiedInVersion")))}},mrb=function(a){if(a&1){var b=t();E(0,"b-edit-field",102);K("valueChange",function(d){v(b);var e=N(2);return w(lrb(e.editIssueService,e.issueId,null!==d&&void 0!==d?d:!1))});U(1,"async");U(2,"async");F()}if(a&2){a=N().ngIf;var c=N();D("name","inProd")("title","In Prod")("type",c.FieldType.BOOL)("value",a.inProd)("tooltip","Set if this issue occurs in production")("readonly",!V(1,7,c.hasAclToEdit$))("disabled",!!V(2,9,c.isSaving$("inProd")))}},nrb=function(a){a&
1&&Kg(0)},orb=function(a){a&1&&Kg(0)},prb=function(a){a&1&&Kg(0)},qrb=function(a){a&1&&Kg(0)},rrb=function(a){a&1&&(E(0,"div",4),P(1,nrb,1,0,"ng-container",31),P(2,orb,1,0,"ng-container",31),P(3,prb,1,0,"ng-container",31),P(4,qrb,1,0,"ng-container",31),F());if(a&2){N();var b=O(70),c=O(72),d=O(74),e=O(76);z(1);D("ngTemplateOutlet",b);z(1);D("ngTemplateOutlet",c);z(1);D("ngTemplateOutlet",d);z(1);D("ngTemplateOutlet",e)}},trb=function(a,b){if(a&1){var c=t();E(0,"b-custom-field-editor",103);K("save",
function(e){var f=v(c).$implicit,h=N(2);return w(srb(h.editIssueService,h.issueId,f.customFieldId,e))});U(1,"async");U(2,"async");F()}if(a&2){a=b.$implicit;b=N().ngIf;var d=N();D("issue",b)("field",a)("readonly",!V(1,4,d.hasAclToEdit$))("disabled",!!V(2,6,d.isSaving$(a.customFieldId)))}},xrb=function(a,b){if(a&1){var c=t();I(0);P(1,Dpb,2,1,"ng-container",0);U(2,"async");P(3,Gpb,3,3,"ng-container",0);P(4,Jpb,3,3,"ng-container",0);U(5,"async");P(6,Lpb,6,16,"ng-container",1);P(7,Npb,8,10,"ng-template",
null,2,qh);E(9,"b-edit-field",3);K("valueChange",function(u){v(c);var x=N();return w(urb(x.editIssueService,x.issueId,null!==u&&void 0!==u?u:""))});U(10,"async");U(11,"async");F();E(12,"div",4)(13,"b-edit-field",5);K("onHotkey",function(u){v(c);var x=N();(u=sn("P"+u))&&vrb(x.editIssueService,x.issueId,u);return w()})("valueChange",function(u){v(c);var x=N();return w(vrb(x.editIssueService,x.issueId,null!==u&&void 0!==u?u:""))});U(14,"async");U(15,"async");F();P(16,Ppb,2,1,"ng-container",0);U(17,"async");
F();E(18,"div",6)(19,"b-edit-field",7);K("valueChange",function(u){v(c);var x=N();return w(wrb(x,null!==u&&void 0!==u?u:""))});U(20,"async");U(21,"async");U(22,"async");U(23,"async");F();P(24,Rpb,3,3,"ng-container",0);U(25,"async");F();E(26,"onedev-hovercard",null,8);P(28,Spb,3,4,"b-issue-card",9);F();P(29,Upb,4,9,"b-estimated-effort-row",10);U(30,"async");U(31,"async");P(32,Ypb,27,27,"div",11);U(33,"async");U(34,"async");E(35,"div",12);U(36,"async");P(37,$pb,8,1,"div",13);U(38,"async");E(39,"div",
14);P(40,eqb,7,18,"ng-container",1);P(41,jqb,14,17,"ng-template",null,15,qh);F();P(43,lqb,6,16,"ng-container",1);P(44,nqb,8,10,"ng-template",null,16,qh);P(46,zqb,32,53,"ng-container",1);U(47,"async");P(48,Dqb,10,21,"ng-template",null,17,qh);F();P(50,Fqb,2,1,"ng-container",0);U(51,"async");P(52,Hqb,3,3,"ng-container",0);U(53,"async");P(54,Iqb,1,6,"b-list-field",18);P(55,Kqb,2,4,"div",19);U(56,"async");P(57,Mqb,2,1,"ng-container",0);U(58,"async");P(59,Nqb,1,0,"hr",20);U(60,"async");P(61,Xqb,12,20,"collapsible-panel",
21);U(62,"async");P(63,$qb,1,1,"ng-template",null,22,qh);P(65,brb,3,12,"ng-template",null,23,qh);P(67,erb,10,28,"ng-template",null,24,qh);P(69,grb,4,14,"ng-template",null,25,qh);P(71,irb,4,14,"ng-template",null,26,qh);P(73,krb,4,14,"ng-template",null,27,qh);P(75,mrb,3,11,"ng-template",null,28,qh);P(77,rrb,5,4,"ng-template",null,29,qh);P(79,trb,3,8,"ng-template",null,30,qh);J()}if(a&2){a=b.ngIf;var d=O(8),e=O(27),f=O(42),h=O(45),l=O(49);b=N();var q;z(1);D("ngIf",b.showSloStatus&&V(2,51,b.isSloStatusPrimary$));
z(2);D("ngIf",b.sessionIsInternal);z(1);D("ngIf",V(5,53,b.teamWarningType$));z(2);D("ngIf",!b.enablePeoplekitAc)("ngIfElse",d);z(3);D("name","type")("title","Type")("type",b.FieldType.ENUM)("value",a.type)("choices",b.typeChoices)("readonly",!V(10,55,b.hasAclToEdit$))("disabled",!!V(11,57,b.isSaving$("type")));z(4);D("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",!V(14,59,b.hasAclToEdit$))("disabled",!!V(15,61,b.isSaving$("priority")));z(3);D("ngIf",V(17,63,b.isSeverityPrimary$));z(3);D("name","status")("title","Status")("type",b.FieldType.ENUM)("value",a.status)("choices",null!==(q=V(20,65,b.statusChoices$))&&void 0!==q?q:Wg(101,Hpb))("readonly",!V(21,67,b.hasAclToEdit$))("disabled",!!V(22,69,b.isSaving$("status")))("onedevHovercardActive",!!V(23,71,b.canonicalIssueId$))("onedevHovercardTrigger",e);z(5);D("ngIf",
V(25,73,b.hasAclToEdit$));z(5);D("ngIf",b.sessionIsInternal&&V(30,75,b.isEffortEnabled$)&&!V(31,77,b.isWithinExternalComponent$));z(3);D("ngIf",Xpb(V(33,79,b.enableIssueAccessLimits$),V(34,81,b.accessLimitLevel$)));z(3);Fg("implicit-access-box",V(36,83,b.showImplicitAccessIndicator$));z(2);D("ngIf",V(38,85,b.showImplicitAccessIndicator$));z(3);D("ngIf",!b.enablePeoplekitAc)("ngIfElse",f);z(3);D("ngIf",!b.enablePeoplekitAc)("ngIfElse",h);z(3);D("ngIf",V(47,87,b.enableCollaborators$)||0<a.collaborators.length)("ngIfElse",
l);z(4);D("ngIf",b.showChangelists&&V(51,89,b.isChangelistPrimary$));z(2);D("ngIf",V(53,91,b.workspaces$));z(2);D("ngIf",!b.sessionIsExternal&&(null==a.postmortems?null:a.postmortems.length));z(1);D("ngForOf",V(56,93,b.visibleCustomFields$))("ngForTrackBy",b.trackCustomField);z(2);D("ngIf",V(58,95,b.isForgottenFourPrimary$));z(2);D("ngIf",V(60,97,b.hasHiddenFields$));z(2);D("ngIf",V(62,99,b.hasHiddenFields$))}},yrb=function(a){a&1&&H(0,"edit-issue-metadata",5);a&2&&(a=N(),D("issueId",a.issueId))},
zrb=function(a,b){if(a instanceof Element){var c=hk(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)}}},Arb=function(a,b){a&1&&(E(0,"h2",5),Q(1),F());a&2&&(a=b.ngIf,z(1),R("Issue ",a,""))},Brb=function(a){a&1&&H(0,"div")},Crb=function(a){a&1&&(E(0,"a",19),Q(1,"Learn more"),F())},Drb=function(a){if(a&1){var b=t();E(0,"button",20);K("click",function(){var c=
v(b).ngIf,d=N(5);return w(d.editIssueService.unarchive(c))});Q(1," Unarchive ");F()}},Erb=function(a){a&1&&(E(0,"b-callout",16)(1,"b-callout-body"),Q(2,"This issue has been archived. "),P(3,Crb,2,0,"a",17),F(),E(4,"b-callout-actions"),P(5,Drb,2,0,"button",18),U(6,"async"),F()());a&2&&(a=N(4),D("messageType","caution")("format","app")("iconOverride","archive_24px"),z(3),D("ngIf",a.activeSession.isInternalSession()),z(2),D("ngIf",V(6,5,a.id$)))},Frb=function(a){a&1&&(E(0,"a",23),Q(1,"Learn more"),F())},
Grb=function(a){a&1&&(E(0,"b-callout",21)(1,"b-callout-body"),Q(2," This issue is in an archived component. "),P(3,Frb,2,0,"a",22),F()());a&2&&(a=N(4),D("format","app")("iconOverride","archive_24px"),z(3),D("ngIf",a.activeSession.isInternalSession()))},Hrb=function(a,b){a&1&&(I(0),Q(1," Reason: "),E(2,"code"),Q(3),F(),Q(4,". "),J());a&2&&(a=b.$implicit,z(3),Sg(a))},Irb=function(a){a&1&&(E(0,"a",27),Q(1,"Learn more"),F())},Krb=function(a){if(a&1){var b=t();E(0,"button",28);K("click",function(){var d=
v(b).ngIf,e=N(5);return w(Jrb(e.editIssueService,d))});U(1,"async");U(2,"async");Q(3," Undelete ");F()}if(a&2){a=N(5);var c;D("matTooltip",null!==(c=V(1,2,a.undeleteButtonTooltip$))&&void 0!==c?c:"")("disabled",!V(2,4,a.permissions.canUndeleteIssue$))}},Lrb=function(a){a&1&&(E(0,"b-callout",24)(1,"b-callout-body"),Q(2," This issue has been deleted. "),P(3,Hrb,5,1,"ng-container",6),U(4,"async"),P(5,Irb,2,0,"a",25),F(),E(6,"b-callout-actions"),P(7,Krb,4,6,"button",26),U(8,"async"),F()());if(a&2){a=
N(4);var b;z(3);D("ngIf",null==(b=V(4,3,a.snapshot$))?null:b.deletionReason);z(2);D("ngIf",a.activeSession.isInternalSession());z(2);D("ngIf",V(8,5,a.id$))}},Mrb=function(a,b){a&1&&(E(0,"output",37),Q(1),F());a&2&&(a=b.$implicit,z(1),R(" ",a," "))},Orb=function(a,b){a&1&&(E(0,"a",34,35),Q(2),P(3,Mrb,2,1,"output",36),U(4,"async"),F());if(a&2){a=b.$implicit;var c=O(1);D("routerLink",a.link)("active",c.isActive)("routerLinkActiveOptions",Wg(7,Nrb));z(2);R(" ",a.title," ");z(1);D("ngIf",V(4,5,a.count$))}},
Prb=function(a,b){a&1&&(E(0,"header",29),H(1,"b-tracker-banner",30),U(2,"async"),U(3,"async"),H(4,"issue-header",31),E(5,"nav",32),P(6,Orb,5,8,"a",33),F()());a&2&&(a=b.$implicit,b=N(4),z(1),D("issueId",V(2,4,b.id$))("trackerId",V(3,6,b.issueTrackerId$)),z(3),D("issueId",a),z(2),D("ngForOf",b.tabs))},Qrb=function(a,b){a&1&&H(0,"issue-metadata-sidebar",31);a&2&&D("issueId",b.ngIf)},Rrb=function(a){a&1&&(E(0,"div",8),U(1,"async"),P(2,Erb,7,7,"b-callout",9),U(3,"async"),P(4,Grb,4,3,"b-callout",10),U(5,
"async"),P(6,Lrb,9,7,"b-callout",11),U(7,"async"),P(8,Prb,7,8,"header",12),U(9,"async"),E(10,"div",13)(11,"article",14),H(12,"router-outlet"),F(),P(13,Qrb,1,1,"issue-metadata-sidebar",15),U(14,"async"),F()());a&2&&(a=N(3),Fg("issue-editor-false",!V(1,7,a.permissions.hasAclToEdit$)),z(2),D("ngIf",V(3,9,a.archived$)),z(2),D("ngIf",V(5,11,a.inArchivedComponent$)),z(2),D("ngIf",V(7,13,a.deleted$)),z(2),D("ngIf",V(9,15,a.id$)),z(5),D("ngIf",V(14,17,a.id$)))},Srb=function(a){a&1&&(E(0,"div"),P(1,Rrb,15,
19,"div",7),U(2,"async"),F());if(a&2){a=N(2);var b=O(7);z(1);D("ngIf",!V(2,2,a.showTrackerRedirect$))("ngIfElse",b)}},Trb=function(a){a&1&&(P(0,Srb,3,4,"div",6),U(1,"async"));a&2&&(a=N(),D("ngIf",!V(1,1,a.issue404$)))},Urb=function(a){a&1&&(E(0,"div",38),H(1,"b-tracker-redirect",39),U(2,"async"),F());a&2&&(a=N(),z(1),D("issue",V(2,1,a.issue$)))},Vrb=function(a){a&1&&(E(0,"div",38),H(1,"b-access-denied-metadata",40),U(2,"async"),F());a&2&&(a=N(),z(1),D("issueMetadata",V(2,1,a.issueMetadata$)))},Wrb=
function(a,b){a&1&&(I(0),H(1,"b-issues-table",1),J());a&2&&(a=b.ngIf,b=N(),z(1),D("issueIds",a)("menuItemFactory",b.getMenuItems)("tableColumns",b.tableColumns)("initialSort",b.initialSort))},Yrb=function(a){if(a&1){var b=t();E(0,"div",5);H(1,"img",6);E(2,"p",7);Q(3," This issue has no duplicates ");F();E(4,"p",8);Q(5," A duplicate is an issue with similar content. ");F();E(6,"p",8);Q(7,' Any issue added here will be closed as a duplicate of this one, making this the "canonical issue". ');E(8,"a",
9);Q(9,"Learn more");F()();E(10,"button",10);K("click",function(){v(b);var c=N(2);return w(Xrb(c))});Q(11," Add ");F()()}a&2&&(a=N(2),z(1),D("src",a.ROBOT_SLEEPING,Ie))},Zrb=function(a,b){a&1&&H(0,"b-duplicates-table",15);a&2&&(a=b.$implicit,b=N(2).$implicit,D("issueId",a)("duplicateIds",b))},$rb=function(a,b){a&1&&(I(0),E(1,"a",16),Q(2," View as search results "),F(),J());a&2&&(a=b.ngIf,z(1),D("routerLink",a.path)("queryParams",a.params))},asb=function(a){if(a&1){var b=t();E(0,"h4",11);Q(1);U(2,
"async");E(3,"button",12);K("click",function(){v(b);var c=N(2);return w(Xrb(c))});Q(4," Add ");F()();P(5,Zrb,1,2,"b-duplicates-table",13);U(6,"async");E(7,"aside",14);P(8,$rb,3,2,"ng-container",1);U(9,"async");F()}a&2&&(a=N(2),z(1),R("Duplicates ",V(2,3,a.counts.countDuplicateDisplay$)," "),z(4),D("ngIf",V(6,5,a.id$)),z(3),D("ngIf",V(9,7,a.dupeUrl$)))},bsb=function(a){a&1&&(I(0),P(1,Yrb,12,1,"div",3),U(2,"async"),P(3,asb,10,9,"ng-template",null,4,qh),J());if(a&2){var b=O(4);a=N();z(1);D("ngIf",!V(2,
2,a.showTable$))("ngIfElse",b)}},csb=function(a){a&1&&(E(0,"aside",17),H(1,"b-spinner"),F())},dsb=function(a,b){a&1&&(E(0,"mat-option",9)(1,"div",10),Q(2),F(),E(3,"div",11),Q(4),F()());a&2&&(a=b.$implicit,D("value",a),z(2),Sg(a.name),z(2),Sg(a.description))},esb=function(a){if(a&1){var b=t();E(0,"mat-form-field",6)(1,"mat-select",7);K("valueChange",function(c){v(b);var d=N();return w(d.selectedFilter=c)})("selectionChange",function(c){v(b);var d=N();c=c.value;d.preferences.save({commentFilterPreferences:{commentFilter:c.commentFilterType}}).pipe(dg(d.destroyed$)).subscribe();
d.analytics.trackEvent(Mp.EDIT_ISSUE,"click",c.commentFilterType);return w()});E(2,"mat-select-trigger");Q(3);F();P(4,dsb,5,3,"mat-option",8);F()()}a&2&&(a=N(),z(1),D("value",a.selectedFilter),z(2),Sg(null==a.selectedFilter?null:a.selectedFilter.displayName),z(1),D("ngForOf",a.filters))},fsb=function(a){a&1&&(I(0),H(1,"mat-icon",12),E(2,"span"),Q(3,"Oldest first"),F(),J())},gsb=function(a){a&1&&(I(0),H(1,"mat-icon",13),E(2,"span"),Q(3,"Newest first"),F(),J())},ksb=function(a){switch(a){case "FULL_HISTORY":return hsb;
case "ALL_COMMENTS":return Jt;case "HUMAN_ONLY":return isb;case "TEAM_AND_ASSIGNEE":return jsb;default:return Jt}},lsb=function(a){a&1&&(I(0),Q(1,", "),H(2,"br"),J())},msb=function(a){a&1&&(I(0),Q(1," reacted"),J())},nsb=function(a,b){a&1&&(I(0),E(1,"div"),Q(2),P(3,lsb,3,0,"ng-container",3),P(4,msb,2,0,"ng-container",3),U(5,"async"),F(),J());if(a&2){a=b.$implicit;b=b.last;var c=N();z(2);R(" ",a,"");z(1);D("ngIf",!b);z(1);D("ngIf",!V(5,3,c.isOverflowReactionCount$)&&b)}},osb=function(a){if(a&1){var b=
t();E(0,"span");Q(1," and ");E(2,"button",4);K("click",function(){v(b);var c=N();if(c.commentNumber&&c.issueId){var d,e,f=null!=(e=null==(d=Zo(c.reactionState$))?void 0:d.type)?e:"REACTION_TYPE_UNSPECIFIED";c.matDialogService.open(Kt,{width:"560px",data:{commentNumber:c.commentNumber,issueId:c.issueId,reactionType:f}})}return w()});Q(3);U(4,"async");F();Q(5," reacted ");F()}a&2&&(a=N(),z(3),R(" ",V(4,1,a.overflowReactionCount$)," more "))},psb=function(a){a&1&&(I(0),Q(1),J());a&2&&(a=N(2),z(1),R(" by ",
Yj(a.event.lastCommentEditorUser),""))},qsb=function(a){a&1&&(I(0)(1),Q(2,"Message last modified"),J(),P(3,psb,2,1,"ng-container",0),I(4),Q(5," on "),H(6,"b-formatted-date-time",1),J()());a&2&&(a=N(),z(3),D("ngIf",0===a.event.version&&!!a.event.lastCommentEditorUser),z(3),D("timestamp",a.event.commentLastModifiedAtDate))},rsb=function(a){a&1&&H(0,"b-user-email",5);a&2&&(a=N().$implicit,D("email",a.text)("withProfile",!0))},ssb=function(a){a&1&&(E(0,"b-issue-reference-widget",6),I(1),Q(2),J(),F());
if(a&2){a=N().$implicit;var b=N();D("href",$n(a.text))("issueId",b.getIssueId(a));z(2);Sg(a.text)}},tsb=function(a){a&1&&(I(0),Q(1),J());a&2&&(a=N().$implicit,z(1),Sg(a.text))},usb=function(a,b){a&1&&(I(0)(1,1),P(2,rsb,1,2,"b-user-email",2),P(3,ssb,3,3,"b-issue-reference-widget",3),P(4,tsb,2,1,"ng-container",4),J()());a&2&&(a=b.$implicit,z(1),D("ngSwitch",a.tag),z(1),D("ngSwitchCase","user"),z(1),D("ngSwitchCase","bug"))},vsb=function(a){a&1&&(I(0),H(1,"b-component-card",3,4),J());if(a&2){var b=O(2);
a=N();z(1);D("onedevIsHovercardReady",b.init)("componentId",a.id)}},wsb=function(a){a&1&&(E(0,"span"),Q(1),F());if(a&2){a=N(5);var b;z(1);Sg(null!==(b=a.effortSpecName)&&void 0!==b?b:"Estimated Effort")}},xsb=function(a){a&1&&(E(0,"label"),P(1,wsb,2,1,"span",11),Q(2,":\u200b "),F());if(a&2){a=N(4);var b=O(5);z(1);D("ngIf",a.effortEnabled)("ngIfElse",b)}},ysb=function(a){a&1&&(E(0,"label"),Q(1),F());a&2&&(a=N(3).$implicit,z(1),R("",a.displayName,":\u200b"))},zsb=function(a){a&1&&(E(0,"span"),H(1,"b-user-display-name",
14),F());a&2&&(a=N().$implicit,z(1),D("email",a)("showEmail",!0))},Asb=function(a){a&1&&(I(0),H(1,"plain-component-path",15),J());a&2&&(a=N(4).$implicit,z(1),D("id",a.oldValue))},Bsb=function(a){a&1&&H(0,"b-formatted-date-time",17);if(a&2){a=N(2).$implicit;var b=N(4);D("timestamp",1E3*b.asNumber(a))}},Csb=function(a){a&1&&(E(0,"span"),Q(1,"[Issue creation date]"),F())},Dsb=function(a){a&1&&(E(0,"span"),P(1,Bsb,1,1,"b-formatted-date-time",16),P(2,Csb,2,0,"span",5),F());a&2&&(a=N().$implicit,z(1),D("ngIf",
"<none>"!==a),z(1),D("ngIf","<none>"===a))},Esb=function(a){a&1&&(I(0),E(1,"span"),Q(2),F(),J());if(a&2){a=N().$implicit;var b=N(4);z(2);Sg(b.getAccessLimitLevel(a))}},Fsb=function(a){a&1&&(E(0,"span"),Q(1),F());a&2&&(a=N().$implicit,z(1),Sg(a))},Gsb=function(a){a&1&&(I(0),P(1,zsb,2,2,"span",5),P(2,Asb,2,1,"ng-container",5),P(3,Dsb,3,2,"span",5),P(4,Esb,3,1,"ng-container",5),P(5,Fsb,2,1,"span",5),Q(6," \u00a0 "),H(7,"span",13),Q(8," \u00a0 "),J());a&2&&(a=N(3).$implicit,z(1),D("ngIf",a.isUser),z(1),
D("ngIf","component"===a.name),z(1),D("ngIf","sloSnoozeUntil"==a.name),z(1),D("ngIf","access_limit"===a.name),z(1),D("ngIf",!a.isUser&&"component"!==a.name&&"sloSnoozeUntil"!==a.name&&"access_limit"!==a.name))},Hsb=function(a){a&1&&H(0,"b-user-display-name",14);a&2&&(a=N().$implicit,D("email",a)("showEmail",!0))},Isb=function(a){a&1&&(E(0,"span"),H(1,"plain-component-path",15),F());a&2&&(a=N(4).$implicit,z(1),D("id",a.newValue))},Jsb=function(a){a&1&&H(0,"b-formatted-date-time",17);if(a&2){a=N(2).$implicit;
var b=N(4);D("timestamp",1E3*b.asNumber(a))}},Ksb=function(a){a&1&&(E(0,"span"),Q(1,"[Issue creation date]"),F())},Lsb=function(a){a&1&&(E(0,"span"),P(1,Jsb,1,1,"b-formatted-date-time",16),P(2,Ksb,2,0,"span",5),F());a&2&&(a=N().$implicit,z(1),D("ngIf","<none>"!==a),z(1),D("ngIf","<none>"===a))},Msb=function(a){a&1&&(I(0),E(1,"span"),Q(2),F(),J());if(a&2){a=N().$implicit;var b=N(4);z(2);Sg(b.getAccessLimitLevel(a))}},Osb=function(a){a&1&&(E(0,"span",20),Q(1),F());if(a&2){a=N().$implicit;var b=N(3).$implicit;
D("ngClass",Xg(2,Nsb,b.oldValue&&"title"==b.name));z(1);Sg(a)}},Psb=function(a){a&1&&(I(0),P(1,Hsb,1,2,"b-user-display-name",18),P(2,Isb,2,1,"span",5),P(3,Lsb,3,2,"span",5),P(4,Msb,3,1,"ng-container",5),P(5,Osb,2,4,"span",19),J());a&2&&(a=N(3).$implicit,z(1),D("ngIf",a.isUser),z(1),D("ngIf","component"===a.name),z(1),D("ngIf","sloSnoozeUntil"===a.name),z(1),D("ngIf","access_limit"===a.name),z(1),D("ngIf",!a.isUser&&"component"!=a.name&&"sloSnoozeUntil"!=a.name&&"access_limit"!=a.name))},Qsb=function(a){a&
1&&(E(0,"div",10),P(1,xsb,3,2,"label",11),P(2,ysb,2,1,"ng-template",null,12,qh),P(4,Gsb,9,5,"ng-container",5),P(5,Psb,6,5,"ng-container",5),F());if(a&2){var b=O(3);a=N(2).$implicit;z(1);D("ngIf","effort"===a.name)("ngIfElse",b);z(3);D("ngIf",a.oldValue);z(1);D("ngIf",a.newValue)}},Rsb=function(a){a&1&&(E(0,"span"),Q(1,", "),F())},Ssb=function(a,b){a&1&&(E(0,"span"),H(1,"b-user-display-name",14),P(2,Rsb,2,0,"span",5),F());a&2&&(a=b.$implicit,b=b.last,z(1),D("email",a)("showEmail",!0),z(1),D("ngIf",
!b))},Tsb=function(a){a&1&&(E(0,"span"),P(1,Ssb,3,3,"span",21),F());a&2&&(a=N(4).$implicit,z(1),D("ngForOf",a.added))},Usb=function(a){a&1&&(E(0,"span"),Q(1,", "),F())},Vsb=function(a,b){a&1&&(E(0,"span")(1,"span"),Q(2),F(),P(3,Usb,2,0,"span",5),F());a&2&&(a=b.$implicit,b=b.last,z(2),Sg(a),z(1),D("ngIf",!b))},Wsb=function(a){a&1&&(E(0,"span"),P(1,Vsb,4,2,"span",21),F());a&2&&(a=N(4).$implicit,z(1),D("ngForOf",a.added))},Xsb=function(a){a&1&&(E(0,"div")(1,"label"),Q(2),F(),P(3,Tsb,2,1,"span",5),P(4,
Wsb,2,1,"span",5),F());a&2&&(a=N(3).$implicit,z(2),R("+",a.displayName,":\u200b"),z(1),D("ngIf",a.isUser),z(1),D("ngIf",!a.isUser))},Ysb=function(a){a&1&&(E(0,"span"),Q(1,", "),F())},Zsb=function(a,b){a&1&&(E(0,"span"),H(1,"b-user-display-name",14),P(2,Ysb,2,0,"span",5),F());a&2&&(a=b.$implicit,b=b.last,z(1),D("email",a)("showEmail",!0),z(1),D("ngIf",!b))},$sb=function(a){a&1&&(E(0,"span"),P(1,Zsb,3,3,"span",21),F());a&2&&(a=N(4).$implicit,z(1),D("ngForOf",a.removed))},atb=function(a){a&1&&(E(0,"span"),
Q(1,", "),F())},btb=function(a,b){a&1&&(E(0,"span")(1,"span"),Q(2),F(),P(3,atb,2,0,"span",5),F());a&2&&(a=b.$implicit,b=b.last,z(2),Sg(a),z(1),D("ngIf",!b))},ctb=function(a){a&1&&(E(0,"span"),P(1,btb,4,2,"span",21),F());a&2&&(a=N(4).$implicit,z(1),D("ngForOf",a.removed))},dtb=function(a){a&1&&(E(0,"div")(1,"label"),Q(2),F(),P(3,$sb,2,1,"span",5),P(4,ctb,2,1,"span",5),F());a&2&&(a=N(3).$implicit,z(2),R("-",a.displayName,":\u200b"),z(1),D("ngIf",a.isUser),z(1),D("ngIf",!a.isUser))},etb=function(a){a&
1&&(E(0,"div",10),P(1,Xsb,5,3,"div",5),P(2,dtb,5,3,"div",5),F());if(a&2){a=N(2).$implicit;var b=N();z(1);D("ngIf",a.added&&a.added.length&&b.isStringArray(a.added));z(1);D("ngIf",a.removed&&a.removed.length&&b.isStringArray(a.removed))}},ftb=function(a){a&1&&Kg(0)},htb=function(a,b){a&1&&(E(0,"span"),P(1,ftb,1,0,"ng-container",22),F());if(a&2){a=b.$implicit;b=b.last;var c=N(4).$implicit;N();var d=O(3);z(1);D("ngTemplateOutlet",d)("ngTemplateOutletContext",Zg(gtb,c,a,b))}},itb=function(a){a&1&&(E(0,
"div")(1,"label"),Q(2),F(),P(3,htb,2,6,"span",21),F());a&2&&(a=N(3).$implicit,z(2),R("+",a.displayName,":\u200b"),z(1),D("ngForOf",a.added))},jtb=function(a){a&1&&Kg(0)},ktb=function(a,b){a&1&&(E(0,"span"),P(1,jtb,1,0,"ng-container",22),F());if(a&2){a=b.$implicit;b=b.last;var c=N(4).$implicit;N();var d=O(3);z(1);D("ngTemplateOutlet",d)("ngTemplateOutletContext",Zg(gtb,c,a,b))}},ltb=function(a){a&1&&(E(0,"div")(1,"label"),Q(2),F(),P(3,ktb,2,6,"span",21),F());a&2&&(a=N(3).$implicit,z(2),R("-",a.displayName,
":\u200b"),z(1),D("ngForOf",a.removed))},mtb=function(a){a&1&&(E(0,"div",10),P(1,itb,4,2,"div",5),P(2,ltb,4,2,"div",5),F());if(a&2){a=N(2).$implicit;var b=N();z(1);D("ngIf",a.added&&a.added.length&&b.isLinkedItemArray(a.added));z(1);D("ngIf",a.removed&&a.removed.length&&b.isLinkedItemArray(a.removed))}},ntb=function(a){a&1&&H(0,"b-formatted-date-time",17);a&2&&(a=N().$implicit,D("timestamp",a))},otb=function(a){a&1&&(E(0,"span"),Q(1," - "),F())},ptb=function(a,b){a&1&&(E(0,"span"),H(1,"b-formatted-date-time",
17),P(2,otb,2,0,"span",5),F());a&2&&(a=b.$implicit,b=b.last,z(1),D("timestamp",a),z(1),D("ngIf",!b))},qtb=function(a){a&1&&(E(0,"span"),P(1,ptb,3,2,"span",21),F());a&2&&(a=N(4).$implicit,z(1),D("ngForOf",a.oldValue.split(", ")))},rtb=function(a){a&1&&(E(0,"span"),Q(1),F());a&2&&(a=N().$implicit,z(1),Sg(a))},utb=function(a){a&1&&(I(0),P(1,ntb,1,1,"b-formatted-date-time",16),P(2,qtb,2,1,"span",5),P(3,rtb,2,1,"span",5),Q(4," \u00a0 "),H(5,"span",13),Q(6," \u00a0 "),J());if(a&2){a=N(3).$implicit;var b=
N();z(1);D("ngIf",stb(b,a,"oldValue"));z(1);D("ngIf",ttb(b,a,"oldValue"));z(1);D("ngIf",!stb(b,a,"oldValue")&&!ttb(b,a,"oldValue"))}},vtb=function(a){a&1&&H(0,"b-formatted-date-time",17);a&2&&(a=N().$implicit,D("timestamp",a))},wtb=function(a){a&1&&(E(0,"span"),Q(1," - "),F())},xtb=function(a,b){a&1&&(E(0,"span"),H(1,"b-formatted-date-time",17),P(2,wtb,2,0,"span",5),F());a&2&&(a=b.$implicit,b=b.last,z(1),D("timestamp",a),z(1),D("ngIf",!b))},ytb=function(a){a&1&&(E(0,"span"),P(1,xtb,3,2,"span",21),
F());a&2&&(a=N(4).$implicit,z(1),D("ngForOf",a.newValue.split(", ")))},ztb=function(a){a&1&&(E(0,"span"),Q(1),F());a&2&&(a=N().$implicit,z(1),Sg(a))},Atb=function(a){a&1&&(I(0),P(1,vtb,1,1,"b-formatted-date-time",16),P(2,ytb,2,1,"span",5),P(3,ztb,2,1,"span",5),J());if(a&2){a=N(3).$implicit;var b=N();z(1);D("ngIf",stb(b,a,"newValue"));z(1);D("ngIf",ttb(b,a,"newValue"));z(1);D("ngIf",!stb(b,a,"newValue")&&!ttb(b,a,"newValue"))}},Btb=function(a){a&1&&(E(0,"div",10)(1,"label"),Q(2),F(),P(3,utb,7,3,"ng-container",
5),P(4,Atb,4,3,"ng-container",5),F());if(a&2){a=N(2).$implicit;var b=N();z(1);ug("title",b.customFieldName(a));z(1);R("",b.customFieldName(a),":\u200b");z(1);D("ngIf",a.oldValue);z(1);D("ngIf",a.newValue)}},Ctb=function(a){a&1&&(E(0,"span",26),Q(1,"Updated"),F())},Dtb=function(a){a&1&&(E(0,"span"),Q(1,"Deleted"),F())},Etb=function(a){a&1&&(E(0,"span"),Q(1),F());a&2&&(a=N().$implicit,z(1),R("Edited (unknown status '",a.status,"')"))},Ftb=function(a,b){a&1&&(I(0)(1,7),P(2,Ctb,2,0,"span",23),P(3,Dtb,
2,0,"span",24),P(4,Etb,2,1,"span",25),J()());a&2&&(a=b.$implicit,z(1),D("ngSwitch",a.status),z(1),D("ngSwitchCase","ACTIVE"),z(1),D("ngSwitchCase","DELETED"))},Gtb=function(a){a&1&&(E(0,"div",10)(1,"label"),Q(2),F(),P(3,Ftb,5,3,"ng-container",5),F());a&2&&(a=N(2).$implicit,z(2),R("",a.displayName,":\u200b"),z(1),D("ngIf",null==a.statusUpdateDiff?null:a.statusUpdateDiff.entityStatus))},Htb=function(a){a&1&&(E(0,"div",10)(1,"label"),Q(2),F(),E(3,"pre",27),Q(4),U(5,"json"),F()());a&2&&(a=N(2).$implicit,
z(2),R("",a.displayName,":\u200b"),z(2),Sg(V(5,2,a)))},Itb=function(a){a&1&&(I(0),H(1,"b-formatted-date-time",6),I(2,7),P(3,Qsb,6,4,"div",8),P(4,etb,3,2,"div",8),P(5,mtb,3,2,"div",8),P(6,Btb,5,4,"div",8),P(7,Gtb,4,2,"div",8),P(8,Htb,6,4,"div",9),J()());a&2&&(a=N().$implicit,z(1),D("timestamp",a.timestamp),z(1),D("ngSwitch",!0),z(1),D("ngSwitchCase","SINGLE_VALUE"===a.type),z(1),D("ngSwitchCase","COLLECTION"===a.type||"USER_COLLECTION"===a.type),z(1),D("ngSwitchCase","LINKED_COLLECTION"===a.type),
z(1),D("ngSwitchCase","CUSTOM_FIELD"===a.type),z(1),D("ngSwitchCase","STATUS_UPDATE"===a.type))},Jtb=function(a,b){a&1&&(E(0,"div",4),P(1,Itb,9,7,"ng-container",5),F());a&2&&(a=b.$implicit,b=N(),z(1),D("ngIf","sloSnoozeUntil"===(null==a?void 0:a.name)?b.activeSession.isInternalSession():!0))},Ktb=function(a){a&1&&(E(0,"span"),Q(1,", "),F())},Ltb=function(a){a&1&&(E(0,"span")(1,"b-issue-reference-widget",29),Q(2),F(),P(3,Ktb,2,0,"span",5),F());if(a&2){a=N().$implicit;var b=N(),c=b.change;b=b.isLast;
z(1);D("href",c.href)("issueId",a);z(1);Sg(a);z(1);D("ngIf",!b)}},Mtb=function(a){a&1&&(E(0,"span"),Q(1,", "),F())},Ntb=function(a){a&1&&(I(0),H(1,"hotlist-link",15),P(2,Mtb,2,0,"span",5),J());if(a&2){a=N(2).$implicit;var b=N().isLast;z(1);D("id",a);z(1);D("ngIf",!b)}},Otb=function(a){a&1&&(E(0,"span"),Q(1,", "),F())},Ptb=function(a){a&1&&(E(0,"a",31),Q(1),F(),P(2,Otb,2,0,"span",5));if(a&2){a=N(2).$implicit;var b=N(),c=b.isLast;D("href",b.change.href,Ie);z(1);Sg(a);z(1);D("ngIf",!c)}},Qtb=function(a){a&
1&&(P(0,Ntb,3,2,"ng-container",11),P(1,Ptb,3,3,"ng-template",null,30,qh));if(a&2){var b=O(2);a=N(2).diff;var c=N();D("ngIf",c.isHotlistDiff(a))("ngIfElse",b)}},Rtb=function(a){a&1&&(I(0),P(1,Ltb,4,4,"span",11),P(2,Qtb,3,2,"ng-template",null,28,qh),J());if(a&2){var b=O(3);a=N().diff;var c=N();z(1);D("ngIf",c.isIssueDiff(a))("ngIfElse",b)}},Stb=function(a,b){a&1&&P(0,Rtb,4,2,"ng-container",5);a&2&&D("ngIf",b.change.value)},Ttb=function(a){a&1&&(E(0,"span"),Q(1,"Estimated Effort (disabled)"),F())},Utb=
function(a,b){a&1&&(H(0,"b-user-membership-chip",29),U(1,"async"));if(a&2){a=b.ngIf;b=N(2);var c;D("user",b.event.userPerformingActionUser)("email",a)("teamId",null!==(c=V(1,3,b.teamId$))&&void 0!==c?c:"")}},Vtb=function(a){a&1&&H(0,"b-user-display",30);a&2&&(a=N(2),D("model",a.event.userPerformingActionUser))},Wtb=function(a){a&1&&Kg(0)},Xtb=function(a){a&1&&(I(0),E(1,"span",31),P(2,Wtb,1,0,"ng-container",32),F(),E(3,"onedev-hovercard",null,33),H(5,"b-issue-person-card",34),F(),J());if(a&2){var b=
O(4);N();var c=O(11);a=N();z(1);D("onedevHovercardTrigger",b);z(1);D("ngTemplateOutlet",c);z(3);D("email",a.getUserEmailIfAvailable())}},Ytb=function(a){a&1&&(E(0,"span",35),Q(1),F());a&2&&(a=N(2),z(1),R(" <",Yj(a.event.userPerformingActionUser),"> "))},Ztb=function(a){if(a&1){var b=t();E(0,"span")(1,"a",36);K("click",function(c){v(b);var d=N(2);return w(d.scrollCommentIntoView(c,d.event.commentNumber))});Q(2);F()()}a&2&&(a=N(2),z(1),D("routerLinkObj",a.getCommentNumberLink(a.event.commentNumber)),
ug("aria-label","Comment number"+a.event.commentNumber),z(1),R(" #",a.event.commentNumber,""))},aub=function(a){if(a&1){var b=t();E(0,"button",37);K("click",function(){v(b);var c=N(2);return w($tb(c.issueCommentDialogsService,c.issueId,c.deobfuscatedEvent||c.event))});F()}},bub=function(a){a&1&&H(0,"b-restricted-chip",38);if(a&2){a=N(2);var b,c;D("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)}},dub=function(a){a&1&&(H(0,"b-actions-menu",39,40),U(2,"async"));if(a&2){a=N(2);var b;D("buttonLabel","Comment actions")("menuItems",null!==(b=V(2,2,a.commentActionMenuItems$))&&void 0!==b?b:Wg(4,cub))}},eub=function(a){a&1&&(E(0,"div",41),H(1,"b-tagged-text",42),F());a&2&&(a=N(2),z(1),D("texts",a.event.taggedSummary))},fub=function(a){a&1&&(H(0,"b-issue-event-details",43),U(1,"async"),U(2,"async"),U(3,"async"));if(a&2){a=N().ngIf;var b=N(),c,d;D("diffs",null!==(c=V(1,4,b.preEventDiffs$))&&
void 0!==c?c:Wg(10,cub))("customFieldMap",a.customFieldMap)("effortSpecName",null==(d=V(2,6,b.effortSpec$))?null:d.name)("effortEnabled",!!V(3,8,b.isEffortEnabled$))}},gub=function(a){a&1&&(E(0,"div",44),Q(1," Comment has been deleted. "),F())},hub=function(a){if(a&1){var b=t();E(0,"b-restricted-comment-placeholder",45);K("onConfirm",function(){v(b);var c=N(2);return w(c.loadRestrictedComment())});U(1,"async");F()}a&2&&(a=N(2),D("disabled",!V(1,1,a.mayReadPii$)))},iub=function(a){a&1&&H(0,"b-note-container",
46);a&2&&(a=N(2),D("issueId",a.issueId)("issueAccessLevel",a.issueAccessLevel)("note",a.deobfuscatedEvent||a.event)("formattingMode",a.formattingMode))},jub=function(a){if(a&1){var b=t();I(0);H(1,"b-summarized-note-container",46);E(2,"button",47);K("click",function(){v(b);var c=N(2);c.wasSummarized=!0;c.isSummarized=!c.isSummarized;return w()});H(3,"mat-icon",48);Q(4,"Expand details");F();J()}a&2&&(a=N(2),z(1),D("issueId",a.issueId)("issueAccessLevel",a.issueAccessLevel)("note",a.deobfuscatedEvent||
a.event)("formattingMode",a.formattingMode))},kub=function(a){if(a&1){var b=t();I(0);E(1,"button",47);K("click",function(){v(b);var c=N(2);c.wasSummarized=!0;c.isSummarized=!c.isSummarized;return w()});H(2,"mat-icon",49);Q(3,"Collapse details");F();J()}},lub=function(a){a&1&&H(0,"b-formatted-date-time",50);a&2&&(a=N(2),D("timestamp",a.event.modifiedDate))},mub=function(a){a&1&&H(0,"mat-icon",58)},nub=function(a){a&1&&H(0,"mat-icon",59)},oub=function(a,b){a&1&&(E(0,"span"),Q(1),F());a&2&&(a=b.ngIf,
z(1),Sg(a))},pub=function(a){a&1&&H(0,"b-comment-reaction-responders-card",60);a&2&&(a=N(3),D("reactionState",null==a.event.commentReactions?null:a.event.commentReactions.get(a.ReactionType.UPVOTE))("issueId",a.issueId)("commentNumber",a.event.commentNumber))},uub=function(a){if(a&1){var b=t();E(0,"div",51)(1,"button",52,53);K("click",function(){v(b);var d=N(2);return w(qub(d))});U(3,"async");U(4,"async");U(5,"async");P(6,mub,1,0,"mat-icon",54);P(7,nub,1,0,"mat-icon",55);P(8,oub,2,1,"span",0);U(9,
"async");F();E(10,"onedev-hovercard",null,56);P(12,pub,1,3,"b-comment-reaction-responders-card",57);U(13,"async");F()()}if(a&2){var c=O(11);a=N(2);z(1);D("ariaLabel",rub(a,a.ReactionType.UPVOTE))("ngClass",Xg(20,sub,V(3,10,a.noUpvoteReactions$)))("onedevHovercardTrigger",c)("onedevHovercardConfig",a.commentReactionsHovercardConfig)("onedevHovercardActive",!!V(5,14,a.showCommentReactionHovercard$));ug("aria-disabled",!V(4,12,a.hasAclToUpvoteReact$)||a.commentReactionIsSaving);z(5);D("ngIf",!tub(a,
a.ReactionType.UPVOTE));z(1);D("ngIf",tub(a,a.ReactionType.UPVOTE));z(1);D("ngIf",V(9,16,a.upvoteReactionCountDisplayString$));z(4);D("ngIf",!V(13,18,a.noUpvoteReactions$))}},vub=function(a){if(a&1){var b=t();E(0,"a",64);K("click",function(){v(b);var c=N(3);return w(c.showCommentHistoryDialog(c.event.commentNumber))});Q(1," Show History ");F()}},wub=function(a){a&1&&(E(0,"div",61),H(1,"b-comment-edit-timestamp-message",62),P(2,vub,2,0,"a",63),F());a&2&&(a=N(2),z(1),D("event",a.event),z(1),D("ngIf",
a.commentHistoryEnabled))},xub=function(a){a&1&&(H(0,"b-issue-event-details",43),U(1,"async"),U(2,"async"),U(3,"async"));if(a&2){a=N().ngIf;var b=N(),c,d;D("diffs",null!==(c=V(1,4,b.postEventDiffs$))&&void 0!==c?c:Wg(10,cub))("customFieldMap",a.customFieldMap)("effortSpecName",null==(d=V(2,6,b.effortSpec$))?null:d.name)("effortEnabled",!!V(3,8,b.isEffortEnabled$))}},yub=function(a,b){a&1&&(E(0,"div",67),H(1,"b-attachment-viewer",68),F());a&2&&(a=b.$implicit,b=N(3),Pg("id","attachment",a.attachmentId,
""),z(1),D("issueId",b.issueId)("attachment",a)("attachmentUploader",b.getUserEmailIfAvailable()))},zub=function(a){a&1&&(E(0,"div",65),P(1,yub,2,4,"div",66),F());a&2&&(a=N(2),z(1),D("ngForOf",a.event.attachments))},Bub=function(a){a&1&&(I(0),E(1,"div",1),H(2,"b-user-image",2),F(),E(3,"div",3)(4,"h4",4),U(5,"async"),P(6,Utb,2,5,"b-user-membership-chip",5),P(7,Vtb,1,1,"ng-template",null,6,qh),P(9,Xtb,6,3,"ng-container",7),P(10,Ytb,2,1,"ng-template",null,8,qh),P(12,Ztb,3,3,"span",0),P(13,aub,1,0,"button",
9),U(14,"async"),E(15,"span",10),P(16,bub,1,3,"b-restricted-chip",11),H(17,"b-formatted-date-time",12),P(18,dub,3,5,"b-actions-menu",13),F()(),H(19,"div",14),P(20,eub,2,1,"div",15),P(21,fub,4,11,"b-issue-event-details",16),U(22,"async"),H(23,"div",14),E(24,"div",17)(25,"div",18),P(26,gub,2,0,"div",19),P(27,hub,2,3,"b-restricted-comment-placeholder",20),E(28,"div",21),P(29,iub,1,4,"b-note-container",22),P(30,jub,5,4,"ng-container",0),P(31,kub,4,0,"ng-container",0),F(),E(32,"div",23)(33,"div",24),P(34,
lub,1,1,"b-formatted-date-time",25),U(35,"async"),F(),P(36,uub,14,22,"div",26),F()(),P(37,wub,3,2,"div",27),F(),P(38,xub,4,11,"b-issue-event-details",16),U(39,"async"),H(40,"div",14),P(41,zub,2,1,"div",28),H(42,"div",14),F(),J());if(a&2){var b=O(8),c=O(11);a=N();z(2);D("email",a.getUserEmailIfAvailable());z(2);ug("aria-label",V(5,23,a.ariaLabelHeading$));z(2);D("ngIf",a.enableTeamAnnotations&&a.getUserEmailIfAvailable())("ngIfElse",b);z(3);D("ngIf",a.isNonObfuscatedEmail(a.getUserEmailIfAvailable()))("ngIfElse",
c);z(3);D("ngIf",a.isCommentEvent(a.event));z(1);D("ngIf",V(14,25,a.canEditComment$)&&!Lt(a));z(3);D("ngIf",a.isRestricted());z(1);D("timestamp",a.event.modifiedDate);z(1);D("ngIf",a.isCommentEvent(a.event));z(2);D("ngIf",a.event.taggedSummary&&a.event.taggedSummary.length);z(1);D("ngIf","FULL_HISTORY"===V(22,27,a.showFullHistoryFromFiltering$));z(5);D("ngIf",a.isDeleted());z(1);D("ngIf",Lt(a)&&!a.isDeleted());z(2);D("ngIf",Aub(a)&&!Lt(a)&&!a.isDeleted()&&!a.isSummarized);z(1);D("ngIf",Aub(a)&&!Lt(a)&&
!a.isDeleted()&&a.isSummarized);z(1);D("ngIf",a.wasSummarized&&!a.isSummarized);z(3);D("ngIf",V(35,29,a.isShowingCommentTimestamp$));z(2);var d,e=a.ReactionType.UPVOTE,f,h=!a.issuePermissionService.hasAclToComment()&&0===(null==(d=a.event.commentReactions)?void 0:null==(f=d.get(e))?void 0:f.count);d=a.isInternalSession&&a.commentReactionsEnabled&&Aub(a)&&!a.isDeleted()&&!Lt(a)&&!h;D("ngIf",d);z(1);D("ngIf",a.isCommentEvent(a.event)&&0<(a.event.commentVersion||0)&&!Lt(a));z(1);D("ngIf","FULL_HISTORY"===
V(39,31,a.showFullHistoryFromFiltering$));z(3);D("ngIf",null==a.event?null:null==a.event.attachments?null:a.event.attachments.length)}},Cub=function(a){a&1&&(E(0,"aside",3),H(1,"b-spinner"),F())},Dub=function(a){a&1&&(I(0),Q(1,"s"),J())},Eub=function(a){if(a&1){var b=t();I(0);E(1,"div",6)(2,"button",7);K("click",function(){v(b);var f=N().index,h=N(),l,q,u=null!=(q=null==(l=h.foldedCommentsCounts.get(f))?void 0:l.eventFoldedCount)?q:0;for(l=0;l<u&&((zn(h.internalEvents[f-l])||An(h.internalEvents[f-
l]))&&h.eventDisplayMode.set(f-l,"full"),0!==f-l);l++);h.foldedCommentsCounts.delete(f);return w()});Q(3);P(4,Dub,2,0,"ng-container",4);F();H(5,"div",8);F();J()}if(a&2){a=N().index;var c=N(),d,e;z(3);R(" ",null==(d=c.foldedCommentsCounts.get(a))?null:d.commentFoldedCount," update");z(1);D("ngIf",1<(null!==(e=null==(e=c.foldedCommentsCounts.get(a))?null:e.commentFoldedCount)&&void 0!==e?e:1))}},Fub=function(a){a&1&&(E(0,"div",9),H(1,"b-history-event",10),F());if(a&2){var b=N();a=b.$implicit;b=b.index;
var c=N();z(1);D("issueId",c.internalIssueId)("issueAccessLevel",c.issueAccessLevel)("event",a)("isSummarized",c.eventDisplayMode.get(b)===c.eventDisplayModes.SUMMARIZED)}},Hub=function(a,b){a&1&&(I(0),P(1,Eub,6,2,"ng-container",4),P(2,Fub,2,4,"div",5),J());if(a&2){a=b.$implicit;b=b.index;var c=N(),d;z(1);D("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=
Gub(c.eventDisplayMode.get(b));else{var e,f;d=(c.showFullHistory||a.isMajorEvent)&&(zn(a)&&!!a.unlinkifiedComment||An(a)||0<(null==(e=a.preDiffs)?void 0:e.length)||0<(null==(f=a.postDiffs)?void 0:f.length))}D("ngIf",d)}},Iub=function(a){a&1&&(E(0,"aside",3),H(1,"b-spinner"),F())},Jub=function(a){if(a&1){var b=t();E(0,"div",12)(1,"b-recaptcha",13);K("onUpdate",function(c){v(b);var d=N(4);return w(d.recaptchaResponse$.next(c))});F()()}},Lub=function(a){if(a&1){var b=t();E(0,"span")(1,"mat-checkbox",
14);K("change",function(){v(b);var c=N(4);return w(Kub(c))});U(2,"async");U(3,"async");Q(4," CC Me ");F()()}a&2&&(a=N(4),z(1),D("checked",!!V(2,2,a.autoCcOnComment$))("disabled",!!V(3,4,a.isCurrentUserCCd$)))},Mub=function(a){a&1&&(E(0,"mat-checkbox",17),Q(1," CC Me "),F());a&2&&D("checked",!0)("disabled",!0)},Nub=function(a){a&1&&(E(0,"span",15),P(1,Mub,2,2,"mat-checkbox",16),U(2,"async"),F());a&2&&(a=N(4),z(1),D("ngIf",V(2,1,a.isCurrentUserCCd$)))},Oub=function(a){if(a&1){var b=t();E(0,"b-markdown-toggle",
18);K("change",function(c){v(b);var d=N().ngIf;return w(d.formattingMode=c)});F()}a&2&&(a=N().ngIf,D("initialValue",a.formattingMode))},Qub=function(a,b){if(a&1){var c=t();I(0);E(1,"b-comment-box",3,4);K("onHotkey",function(){v(c);var l=O(2);return w(Pub(l,"editpage-hotkey"))})("onChange",function(){v(c);var l=N(3);return w(l.saveCommentDraft())})("onFocusEvent",function(){v(c);var l=N(3);return w(l.wasFocused=!0)})("onSubmit",function(){v(c);var l=N(3);return w(l.submitCommentBox())})("onRestrict",
function(){v(c);var l=N(3);return w(l.showNewContentJudgementDialog())});U(3,"async");U(4,"async");U(5,"async");U(6,"async");P(7,Jub,2,0,"div",5);E(8,"div",6)(9,"b-button",7);K("onAction",function(){v(c);var l=N(3);return w(l.submitCommentBox())})("click",function(){v(c);var l=N(3);return w(l.submitCommentBox())});U(10,"async");Q(11," Comment ");F();E(12,"div",8);P(13,Lub,5,6,"span",0);U(14,"async");U(15,"async");P(16,Nub,3,3,"span",9);U(17,"async");U(18,"async");P(19,Oub,1,1,"b-markdown-toggle",
10);U(20,"async");F();H(21,"b-access-level-indicator",11);U(22,"async");F()();J()}if(a&2){a=b.ngIf;b=N(2).ngIf;var d=N(),e,f,h;z(1);D("hotkey",d.HOTKEYS.FOCUS_COMMENT_BOX)("supportsPreview",!0)("issueId",b.issueId)("comment",a)("componentId",b.componentId)("placeholder",null!==(e=V(3,15,d.commentPlaceholderText$))&&void 0!==e?e:void 0)("judgementForNewContent",null!==(f=V(4,17,d.judgementForNewContent$))&&void 0!==f?f:void 0)("audience",null!==(h=V(5,19,d.audience$))&&void 0!==h?h:void 0)("disabled",
!1===V(6,21,d.commentBoxEnabled$));z(6);D("ngIf",d.enableRecaptcha);z(2);D("disabled",!1===V(10,23,d.commentButtonEnabled$));z(4);D("ngIf",!V(14,25,d.isCurrentUserCCd$)&&V(15,27,d.hasAclToEdit$));z(3);D("ngIf",V(17,29,d.isCurrentUserCCd$)||!V(18,31,d.hasAclToEdit$));z(3);D("ngIf",V(20,33,d.hasAclToComment$));z(2);D("accessLevel",V(22,35,d.accessLevel$))}},Sub=function(a){a&1&&(I(0),E(1,"h3",1),Q(2,"Add comment"),F(),E(3,"div",2),U(4,"async"),P(5,Qub,23,37,"ng-container",0),U(6,"async"),F(),J());a&
2&&(a=N(2),z(3),D("ngClass",Yg(6,Rub,V(4,2,a.empty$),!a.wasFocused)),z(2),D("ngIf",V(6,4,a.comment$)))},Tub=function(a,b){a&1&&(I(0),P(1,Sub,7,9,"ng-container",0),J());a&2&&(a=b.ngIf,z(1),D("ngIf",!a.isDeleted))},Uub=function(a,b){a&1&&(H(0,"b-note-container",23),U(1,"async"));if(a&2){a=b.ngIf;b=N().ngIf;var c=N();D("issueId",b)("issueAccessLevel",V(1,4,c.canonicalAccessLevel$))("formattingMode",a.formattingMode)("note",a)}},Vub=function(a,b){a&1&&(E(0,"div",24),Q(1),F());a&2&&(a=b.ngIf,b=N(2),Ig("chippy status-",
a,""),D("title",b.STATUS_FULL_TEXT[a]),z(1),R(" ",b.STATUS_TERSE[a]," "))},Wub=function(a,b){a&1&&(I(0),H(1,"span",25),E(2,"span",26),Q(3),F(),J());a&2&&(a=b.ngIf,z(3),Tg(" ",a.length," duplicate",1===a.length?"":"s"," "))},Xub=function(a,b){a&1&&(I(0),H(1,"span",25),E(2,"div",27)(3,"span",28),Q(4),F(),H(5,"mat-icon",29),F(),J());a&2&&(a=b.ngIf,z(2),Pg("matTooltip","",a.voteCount," votes on this issue"),z(2),Sg(9999<a.voteCount?"9999+":a.voteCount))},Yub=function(a,b){a&1&&(I(0),H(1,"span",25),E(2,
"div",30)(3,"span",28),Q(4),F(),H(5,"mat-icon",31),F(),J());a&2&&(a=b.ngIf,z(2),Pg("matTooltip","",a.length," comments on this issue"),z(2),Sg(a.length))},Zub=function(a,b){a&1&&(I(0),H(1,"span",25)(2,"b-formatted-date-time",32),J());a&2&&(a=b.ngIf,z(2),D("timestamp",a/1E3))},$ub=function(a,b){if(a&1){var c=t();E(0,"button",33);K("click",function(){var d=v(c).$implicit;N();var e=O(31);N().reject(d);var f;null==(f=e.trigger)||f.close();return w()});E(1,"span");Q(2);F()()}a&2&&(a=b.$implicit,b=N(2),
z(2),Sg(b.REJECT_REASON_TO_DISPLAY[a]))},bvb=function(a,b){if(a&1){var c=t();E(0,"div",3)(1,"div",4)(2,"a",5)(3,"span",6);Q(4);U(5,"async");F();H(6,"mat-icon",7);F();P(7,Uub,2,6,"b-note-container",8);U(8,"async");E(9,"div",9);H(10,"b-issue-id-picker",10);U(11,"async");U(12,"async");U(13,"async");H(14,"b-issue-priority-display",11);U(15,"async");P(16,Vub,2,5,"div",12);U(17,"async");P(18,Wub,4,2,"ng-container",13);U(19,"async");P(20,Xub,6,2,"ng-container",13);U(21,"async");P(22,Yub,6,2,"ng-container",
13);U(23,"async");P(24,Zub,3,1,"ng-container",13);U(25,"async");F()();E(26,"div",14)(27,"button",15);K("click",function(){v(c);var d=N();return w(d.accept())});H(28,"mat-icon",16);Q(29," Accept ");F();E(30,"split-button",17,18)(32,"button",19);K("click",function(){v(c);var d=N();return w(d.reject())});H(33,"mat-icon",20);Q(34," Reject ");F();E(35,"div",21);P(36,$ub,3,1,"button",22);F()()()()}a&2&&(a=b.ngIf,b=N(),z(2),D("href",b.getIssueLink(a),Ie),z(2),Sg(V(5,18,b.canonicalTitle$)),z(3),D("ngIf",
V(8,20,b.canonicalDescription$)),z(3),D("issueId",a)("enableHotkeys",!1)("componentId",V(11,22,b.canonicalComponentId$))("issueTitle",V(12,24,b.canonicalTitle$))("isExternalIssue",!!V(13,26,b.isCanonicalInExternalComponent$)),z(4),D("issuePriority",V(15,28,b.canonicalPriority$)),z(2),D("ngIf",V(17,30,b.statusForChip$)),z(2),D("ngIf",V(19,32,b.canonicalDuplicates$)),z(2),D("ngIf",Xg(40,avb,V(21,34,b.canonicalVoteCount$)||0)),z(2),D("ngIf",V(23,36,b.canonicalComments$)),z(2),D("ngIf",V(25,38,b.canonicalCreateMicros$)),
z(3),D("disabled",b.isSaving),z(3),D("disabled",b.isSaving),z(2),D("disabled",b.isSaving),z(4),D("ngForOf",b.REJECT_REASONS))},cvb=function(a){a&1&&(H(0,"canonical-recommendation",8,9),U(2,"async"));if(a&2){var b=O(1);a=N().$implicit;Fg("hidden",!V(2,3,b.show$));D("currentIssueId",a)}},dvb=function(a,b){a&1&&(I(0),H(1,"issue-description-area",4),P(2,cvb,3,5,"canonical-recommendation",5),H(3,"status-update",6)(4,"b-issue-description",7),J());a&2&&(a=b.$implicit,b=N(),z(1),D("id",a),z(1),D("ngIf",b.enableIDPCanonicalRecommendation),
z(1),D("issueId",a),z(1),D("id",a))},evb=function(a,b){a&1&&(H(0,"issue-summary-card",10,11),U(2,"async"));if(a&2){a=b.$implicit;var c=O(1);Fg("hidden",!V(2,3,c.shouldShowSummaryCard$));D("issueId",a)}},fvb=function(a){a&1&&H(0,"issue-event-list",14);a&2&&(a=N().$implicit,D("id",a))},gvb=function(a){a&1&&H(0,"issue-event-list",14);a&2&&(a=N().$implicit,D("id",a))},hvb=function(a,b){a&1&&(E(0,"div",12),H(1,"b-event-stream-header"),P(2,fvb,1,1,"issue-event-list",13),H(3,"b-post-comment",6),P(4,gvb,
1,1,"issue-event-list",13),F());a&2&&(a=b.$implicit,b=N(),Fg("recent-first",b.showRecentEventsFirst),z(2),D("ngIf",!b.showRecentEventsFirst),z(1),D("issueId",a),z(1),D("ngIf",b.showRecentEventsFirst))},ivb=function(a){a&1&&(E(0,"section")(1,"h4"),H(2,"mat-icon",2),Q(3),F(),H(4,"inline-images-summary",3)(5,"br")(6,"hr",4),F());if(a&2){a=N(2).ngIf;var b=N().ngIf;z(3);R(" Screenshots (",a.length,") ");z(1);D("issueId",b.issueId)("imageLinks",a)("paginate",!0)}},jvb=function(a){a&1&&(I(0),P(1,ivb,7,4,
"section",1),J());a&2&&(a=N().ngIf,z(1),D("ngIf",a.length))},kvb=function(a){a&1&&(I(0),P(1,jvb,2,1,"ng-container",1),J());a&2&&(a=N(2),z(1),D("ngIf",a.isInternalSession))},lvb=function(a){a&1&&(E(0,"section")(1,"h4"),H(2,"mat-icon",5),Q(3),F(),H(4,"b-mentioned-issues",6)(5,"br")(6,"hr",4),F());if(a&2){a=N().ngIf;var b=N().ngIf;z(3);R(" Mentioned issues (",a.length,") ");z(1);D("issueReferences",a)("currentIssueId",b.issueId)("paginate",!0)}},mvb=function(a,b){a&1&&(I(0),P(1,lvb,7,4,"section",1),
J());a&2&&(a=b.ngIf,z(1),D("ngIf",a.length))},nvb=function(a){a&1&&(E(0,"section")(1,"h4"),H(2,"mat-icon",7),Q(3),F(),H(4,"related-links-widget",8),F());if(a&2){a=N().ngIf;var b=N().ngIf;z(3);R(" Links (",a.length,") ");z(1);D("links",a)("issueId",b.issueId)("paginate",!0)}},ovb=function(a,b){a&1&&(I(0),P(1,nvb,5,4,"section",1),J());a&2&&(a=b.ngIf,z(1),D("ngIf",a.length))},pvb=function(a){a&1&&(I(0),P(1,kvb,2,1,"ng-container",1),U(2,"async"),P(3,mvb,2,1,"ng-container",1),U(4,"async"),P(5,ovb,2,1,
"ng-container",1),U(6,"async"),J());a&2&&(a=N(),z(1),D("ngIf",V(2,3,a.imageLinks$)),z(2),D("ngIf",V(4,5,a.issueReferences$)),z(2),D("ngIf",V(6,7,a.otherLinks$)))},qvb=function(a){a&1&&(E(0,"div",4),H(1,"img",5),E(2,"p",6),Q(3," This issue has no TODOs "),F(),E(4,"p",7),Q(5," Buganizer uses a separate service to look for TODOs in the codebase. It didn't find any. "),E(6,"a",8),Q(7,"Learn more"),F()()());a&2&&(a=N(3),z(1),D("src",a.ROBOT_SLEEPING,Ie))},rvb=function(a,b){a&1&&H(0,"b-package-mentions-listing",
12);if(a&2){a=b.$implicit;b=N(3).ngIf;var c=N().ngIf,d=N();D("issueId",c)("packageMentionSet",a)("displayPackageName",d.displayPackageNames(b))}},svb=function(a){if(a&1){var b=t();I(0);P(1,rvb,1,3,"b-package-mentions-listing",9);E(2,"p",10)(3,"a",11);K("click",function(){v(b);var c=N(4);return w(c.trackSqueegeeClick())});Q(4,"View in Squeegee");F()();J()}a&2&&(a=N(2).ngIf,z(1),D("ngForOf",a.mentions.packageMentionSet),z(2),D("href",a.link,Ie))},tvb=function(a){a&1&&P(0,svb,5,2,"ng-container",1);a&
2&&(a=N().ngIf,D("ngIf",a.mentions))},uvb=function(a,b){a&1&&(I(0),P(1,qvb,8,1,"div",2),P(2,tvb,1,1,"ng-template",null,3,qh),J());if(a&2){a=b.ngIf;var c=O(3);N(2);z(1);D("ngIf",!(a.mentions&&0<a.mentions.totalMentions))("ngIfElse",c)}},vvb=function(a){a&1&&(I(0),P(1,uvb,4,2,"ng-container",1),U(2,"async"),J());a&2&&(a=N(),z(1),D("ngIf",V(2,1,a.codeMentionsState$)))},wvb=function(a){a&1&&H(0,"b-spinner",6);a&2&&D("large",!0)},xvb=function(a){a&1&&H(0,"b-hotlist-grid",7);a&2&&(a=N(),D("hotlists",a.hotlists))},
yvb=function(a){a&1&&(E(0,"div",9),H(1,"b-spinner"),E(2,"span"),Q(3),F()());a&2&&(a=N(),z(3),R(" Searching",a.query?" for "+a.query:"","..."))},zvb=function(a){a&1&&(I(0),Q(1," No issues match your search. "),J())},Avb=function(a){a&1&&Q(0," Use search box to find issues. ")},Cvb=function(a){a&1&&(E(0,"a",16),Q(1," Click to see all open issues"),F());a&2&&D("queryParams",Wg(1,Bvb))},Dvb=function(a){a&1&&(E(0,"a",17),Q(1,"Learn more about searching"),F())},Evb=function(a){a&1&&(E(0,"div",10),H(1,"img",
11),P(2,zvb,2,0,"ng-container",12),P(3,Avb,1,0,"ng-template",null,13,qh),P(5,Cvb,2,2,"a",14),U(6,"async"),P(7,Dvb,2,0,"ng-template",null,15,qh),F());if(a&2){var b=O(4),c=O(8);a=N();var d;D("bFocus",!0);z(1);D("src",a.SPACE_EMPTY_STATE,Ie);z(1);D("ngIf",a.query)("ngIfElse",b);z(3);D("ngIf",null!==(d=V(6,6,a.currentTracker.inTracker$))&&void 0!==d?d:!1)("ngIfElse",c)}},Gvb=function(a){if(a&1){var b=t();E(0,"div",18)(1,"b-issues-grid",19);K("init",function(c){v(b);var d=N();return w(d.resultsGrid=c)})("columnsChange",
function(c){v(b);var d=N();return w(d.issueColumns=c)})("columnsChange",function(){v(b);N();Fvb();return w()})("sortChange",function(c){v(b);var d=N();return w(d.setSort(c.field,c.direction))})("rowClick",function(c){v(b);var d=N();return w(d.goToIssue(c.id,c.isRead,c.event))})("onNextPage",function(){v(b);var c=N();return w(Mt(c,c.page,1))})("onPrevPage",function(){v(b);var c=N();return w(Mt(c,c.page,-1))});F()()}a&2&&(a=N(),z(1),D("searchResults",a.searchResults)("focusedRowIndex",a.focusedRowIndex)("columns",
a.issueColumns)("enableColumnSaving",!!a.isColumnSaveEnabled)("sort",a.getSort()))},Hvb=function(a){a&1&&(E(0,"div",9),H(1,"b-spinner"),Q(2," Loading recent issues... "),F())},Ivb=function(a){a&1&&(E(0,"div",10),Q(1," No recent issues found. "),F())},Jvb=function(a){if(a&1){var b=t();E(0,"div",11)(1,"b-issues-grid",12);K("init",function(c){v(b);var d=N();return w(d.resultsGrid=c)})("columnsChange",function(c){v(b);var d=N();return w(d.issueColumns=c)})("sortChange",function(c){v(b);var d=N();return w(d.setSort(c.field,
c.direction))})("rowClick",function(c){v(b);var d=N();return w(d.goToIssue(c.id,c.isRead,c.event))})("onNextPage",function(){v(b);var c=N(),d;return w(c.goToPage((null!==(d=c.page)&&void 0!==d?d:0)+1))})("onPrevPage",function(){v(b);var c=N(),d;return w(c.goToPage((null!==(d=c.page)&&void 0!==d?d:0)-1))});F()()}a&2&&(a=N(),z(1),D("searchResults",a.searchResults)("focusedRowIndex",a.focusedRowIndex)("columns",a.issueColumns)("enableColumnSaving",!!a.isColumnSaveEnabled)("sort",a.getSort()))},Kvb=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=m(c);c=e.next().value;e.next();d=m(d);e=d.next().value;d.next();return c-e}).map(function(c){c=m(c);c.next();return c.next().value})},Lvb=function(a){a&1&&(E(0,"div",6)(1,"h2"),Q(2,"Manage SLOs"),F(),E(3,"p",7),Q(4,"You have admin rights for all SLOs listed below."),F()())},Mvb=function(a){a&1&&H(0,"b-spinner",8);a&2&&D("large",!0)},Nvb=function(a){a&1&&(E(0,"div",11),Q(1,"You have no Active SLOs"),
F())},Ovb=function(a){a&1&&H(0,"b-slo-grid",12);a&2&&(a=N(2),D("slos",a.activeSlos))},Pvb=function(a){a&1&&(I(0),P(1,Nvb,2,0,"div",9),P(2,Ovb,1,1,"b-slo-grid",10),J());a&2&&(a=N(),z(1),D("ngIf",!a.activeSlos.length),z(1),D("ngIf",a.activeSlos.length))},Qvb=function(a){a&1&&(E(0,"p",19),Q(1," You have no archived SLOs. "),F())},Rvb=function(a){a&1&&H(0,"b-slo-grid",12);a&2&&(a=N(3),D("slos",a.archivedSlos))},Svb=function(a){a&1&&(E(0,"div",17),P(1,Qvb,2,0,"p",18),P(2,Rvb,1,1,"b-slo-grid",10),F());
a&2&&(a=N(2),z(1),D("ngIf",!a.archivedSlos.length),z(1),D("ngIf",a.archivedSlos.length))},Tvb=function(a){if(a&1){var b=t();I(0);E(1,"button",13);K("click",function(){v(b);var c=N();c.areArchivedSlosExpanded=!c.areArchivedSlosExpanded;return w()});E(2,"h4",14);H(3,"mat-icon",15);Q(4);F()();P(5,Svb,3,2,"div",16);J()}a&2&&(a=N(),z(3),Fg("rotate-180",a.areArchivedSlosExpanded),D("svgIcon","arrow-dropdown"),z(1),R(" Archived SLOs (",a.archivedSlos.length,") "),z(1),D("ngIf",a.areArchivedSlosExpanded))},
Uvb=function(a){a&1&&(I(0),E(1,"p"),Q(2,"Team inheritance path:"),F(),H(3,"b-team-breadcrumb",1),J());a&2&&(a=N(),z(3),D("teamPath",a.teamPath))},Vvb=function(a){a&1&&(I(0),E(1,"p"),Q(2,"Component inheritance path:"),F(),H(3,"b-component-breadcrumb",2),J());a&2&&(a=N(),z(3),D("componentPathInfo",a.componentPath))},Wvb=function(a){var b={};a=m(a.groupMetadata);for(var c=a.next();!c.done;c=a.next())c=c.value,b[c.groupEmail]=c;return b},Zvb=function(a){return{approximateSize:ol(a,2),groupEmail:Dk(a,
1),sizeCategory:Xvb[tk(a,3,0)],permissionCategory:Yvb[tk(a,5,0)]}},awb=function(a){var b;return{groupMetadata:(null!=(b=yj(a,$vb,1))?b:[]).map(Zvb)}},cwb=function(a,b){var c=[];if(!b||!a)return c;for(var d=m(bwb),e=d.next();!e.done;e=d.next()){e=e.value;var f=Pj(e.accessor(b)||[],e.accessor(a)||[]);f.length&&c.push({field:e.field,addedPrincipals:f})}return c},ewb=function(a,b){if(!a.appenders||!b||Fj(b.appenders,a.appenders))return!1;a=m(a.appenders||[]);for(var c=a.next();!c.done;c=a.next())if(c=
c.value,dwb.has(c)&&!b.appenders.includes(c))return!0;return!1},fwb=function(a){var b=new Map;a=m(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},gwb=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"},
hwb=function(a){if(0===a.size)return Nt;for(var b=1===a.size?lp("P",{},"The following large group is added: "):lp("P",{},"The following large groups are added: "),c=[],d=m(a.keys()),e=d.next();!e.done;e=d.next()){e=e.value;var f=a.get(e).approximateSize;c.push(lp("P",{},mp(lp("B",{},e)," has approximately ",lp("B",{},f)," Googlers.")))}return mp(b,c)},iwb=function(a){if(0===a.size)return Nt;var b=1===a.size?lp("P",{},"The following open group is added: "):lp("P",{},"The following open groups are added: "),
c=[];a=m(a.keys());for(var d=a.next();!d.done;d=a.next())c.push(lp("P",{},lp("B",{},d.value)));return mp(b,c)},jwb=function(a){var b=new Map;a=m(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},kwb=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},lwb=function(a,b,c){a="USER:"+a;b=b.admins.concat(b.inheritedAdmins);
var d=c.admins.concat(c.inheritedAdmins);c=b.filter(function(f){return!d.includes(f)});b=c.filter(function(f){return f.startsWith("GROUP:")});var e=c.filter(function(f){return f.startsWith("USER:")});return d.includes(a)||0===c.length?!1:e.includes(a)?!0:b.length?!0:!1},Ot=function(a){var b=a.split(":");a=b[0];return"ALIAS"===a?(b=b[1],{value:b,displayText:$na(b),principalType:a,detailedUserType:null}):{value:b[1],displayText:b[1],principalType:a,detailedUserType:null}},mwb=function(a,b){a&1&&H(0,
"b-contact-chip",6);a&2&&(a=b.$implicit,b=N(2),D("value",a.value)("detailedUserType",a.detailedUserType)("principalType",a.principalType)("accessLevel",b.accessLevel)("displayText",a.displayText))},nwb=function(a,b){a&1&&(I(0),E(1,"tr",3)(2,"th",4),Q(3),F(),E(4,"td"),P(5,mwb,1,5,"b-contact-chip",5),F()(),J());a&2&&(a=b.$implicit,z(3),Sg(a.permission),z(2),D("ngForOf",a.principals))},rwb=function(a){var b="minimal";b=void 0===b?"expanded":b;a=owb(a);a=axa(a,function(c){c=pwb(c);return qwb(c,b)});return owb(a)},
twb=function(a){a=owb(a);a=axa(a,function(b){b=swb(b);return pwb(b)});return owb(a)},qwb=function(a,b){var c="expanded"===b?uwb:vwb;return new Set([].concat(r(a)).flatMap(function(d){return[].concat(r(c.get(d)))}))},swb=function(a){return new Set(Pt.filter(function(b){return Hna(a,vwb.get(b))}))},pwb=function(a){a=qwb(a,"expanded");var b=swb(a);return new Set([].concat(r(b)).filter(function(c){return[].concat(r(wwb.get(c))).every(function(d){return!b.has(d)})}))},owb=function(a){var b=new Map;a=m(a.entries());
for(var c=a.next();!c.done;c=a.next()){var d=m(c.value);c=d.next().value;d=d.next().value;d=m(d);for(var e=d.next();!e.done;e=d.next()){e=e.value;var f=void 0;b.set(e,(null!=(f=b.get(e))?f:new Set).add(c))}}return b},ywb=function(){function a(f,h){c.has(f)||c.set(f,new Set);var l=c.get(f);l.add(h);var q;h=m(null!=(q=b.get(h))?q:[]);for(q=h.next();!q.done;q=h.next())q=q.value,l.has(q)||a(f,q)}var b=xwb,c=new Map,d=[].concat(r(b.values())).flatMap(function(f){return[].concat(r(f))});d=m(new Set([].concat(r(b.keys()),
r(d))));for(var e=d.next();!e.done;e=d.next())e=e.value,a(e,e);return c},zwb=function(a){var b=rwb(new Map([["componentAdmin",new Set(a.componentAdmin)],["issueAdmin",new Set(a.issueAdmin)],["issueEditor",new Set(a.editor)],["issueContributor",new Set(a.contributor)],["componentAdminOnly",new Set(a.componentAdminOnly)],["issueCreator",new Set(a.createIssuesOnly)],["issueAdminOnly",new Set(a.issueAdminOnly)],["issueEditorExisting",new Set(a.editExistingIssuesOnly)],["issueCommenter",new Set(a.commentOnly)],
["restrictedPlusViewer",new Set(a.viewRestrictedPlus)],["restrictedViewer",new Set(a.viewRestricted)],["issueViewer",new Set(a.viewer)]])),c=function(d){var e;return[].concat(r(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")}}},Awb=function(a){var b=a.componentAccessPolicy;a=a.issueAccessPolicy;return wn([].concat(r(b?[].concat(r(b.inheritedAdmins||[]),r(b.admins||[]),r(b.appenders||[])):[]),r(a?[].concat(r(a.admins||[]),r(a.editors||[]),r(a.appenders||[]),r(a.readers||[]),r(a.restrictedReaders||[]),r(a.restrictedPlusReaders||[])):[]))).sort()},Cwb=function(a){function b(e){var f;return[].concat(r(null!=(f=d.get(e))?f:[])).sort()}if(!a)return Bwb;var c=a.issueAccessPolicy;
a=a.componentAccessPolicy;var d=twb(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}},Dwb=function(a,b){var c;(c=!b)||(c=!(!Fj([].concat(r(b.admins)).sort(),[].concat(r(a.admins)).sort())||!Fj([].concat(r(b.appenders)).sort(),
[].concat(r(a.appenders)).sort())||!Fj(b.implicitAccess,a.implicitAccess)));return!c},Ewb=function(a,b){return b&&a?!Fj([].concat(r(a.admins)).sort(),[].concat(r(b.admins)).sort())||!Fj([].concat(r(a.editors)).sort(),[].concat(r(b.editors)).sort())||!Fj([].concat(r(a.appenders)).sort(),[].concat(r(b.appenders)).sort())||!Fj([].concat(r(a.readers)).sort(),[].concat(r(b.readers)).sort())||!Fj([].concat(r(a.restrictedReaders)).sort(),[].concat(r(b.restrictedReaders)).sort())||!Fj([].concat(r(a.restrictedPlusReaders)).sort(),
[].concat(r(b.restrictedPlusReaders)).sort()):!1},Fwb=function(a,b){var c=Object.keys(a);c=m(c);for(var d=c.next();!d.done;d=c.next())if(d=d.value,!Mra(a[d],b[d]))return!0;return!1},Gwb=function(a){if(a&1){var b=t();E(0,"input",17);K("ngModelChange",function(c){v(b);var d=N(2);return w(d.rolesEditor.component.accessLimit.accessLevel=c)});F()}a&2&&(a=N(2),D("disabled",!a.rolesEditor.isAdmin)("ngModel",a.rolesEditor.component.accessLimit.accessLevel))},Hwb=function(a){if(a&1){var b=t();E(0,"input",
18);K("ngModelChange",function(c){v(b);var d=N(2);return w(d.rolesEditor.component.accessLimit.accessLevel=c)});F()}a&2&&(a=N(2),D("disabled",!a.rolesEditor.isAdmin||!a.isParentPartner())("ngModel",a.rolesEditor.component.accessLimit.accessLevel))},Iwb=function(a){if(a&1){var b=t();E(0,"input",19);K("ngModelChange",function(c){v(b);var d=N(2);return w(d.rolesEditor.component.accessLimit.accessLevel=c)});F()}a&2&&(a=N(2),D("disabled",!a.rolesEditor.isAdmin||!a.isParentPublic())("ngModel",a.rolesEditor.component.accessLimit.accessLevel))},
Jwb=function(a){a&1&&(E(0,"div",3)(1,"div",4)(2,"span",5),Q(3,"Component visibility: "),F()(),E(4,"div",6)(5,"div",7),P(6,Gwb,1,2,"input",8),E(7,"label",9),Q(8),F()(),E(9,"div",7),P(10,Hwb,1,2,"input",10),E(11,"label",11),Q(12),F()(),E(13,"div",12),P(14,Iwb,1,2,"input",13),E(15,"label",14),Q(16),F()()(),E(17,"p",15)(18,"a",16),Q(19," Learn more "),F()()());a&2&&(a=N(),z(6),D("ngIf",a.rolesEditor.component&&a.rolesEditor.component.accessLimit),z(2),R(" ",P1a(a.AccessLevelStrings.INTERNAL)," "),z(2),
D("ngIf",a.rolesEditor.component&&a.rolesEditor.component.accessLimit),z(2),R(" ",P1a(a.AccessLevelStrings.EXTERNAL_PARTNER)," "),z(2),D("ngIf",a.rolesEditor.component&&a.rolesEditor.component.accessLimit),z(2),R(" ",P1a(a.AccessLevelStrings.EXTERNAL_PUBLIC)," "),z(2),a=a.documentationLinks,a=a.session.isExternalSession()?a.baseDocumentationUrl+"/concepts/external-access":"http://go/buganizer-external-access",D("href",a,Ie))},Owb=function(a,b){if(a&1){var c=t();I(0);E(1,"tr")(2,"td")(3,"div",2)(4,
"div",3)(5,"label",4);Q(6);F();E(7,"button",5);H(8,"mat-icon",6);F()();E(9,"b-multi-user-input",7);K("usersChange",function(e){var f=v(c).$implicit,h=N();return w(h.updateRolesMap(f.roleType,e))})("isValid",function(e){var f=v(c).$implicit,h=N();h.aclFormValidity.set(f.roleType,e);e=[].concat(r(h.aclFormValidity.values())).every(Boolean);h.formIsValid.emit(e);return w()});F()()();E(10,"td");H(11,"b-icon",8);F();E(12,"td");H(13,"b-icon",8);F();E(14,"td");H(15,"b-icon",8);F();E(16,"td");H(17,"b-icon",
8);F();E(18,"td");H(19,"b-icon",8);F();E(20,"td");H(21,"b-icon",8);F();E(22,"td");H(23,"b-icon",8);F();E(24,"td");H(25,"b-icon",8);F()();J()}if(a&2){a=b.$implicit;b=N();var d;z(3);Fg("bv2-edit-resource-readonly",b.canEdit);z(2);D("htmlFor",a.roleType);z(1);Sg(a.label);z(1);D("matTooltip",a.tooltip);z(2);D("idForInputBox",a.roleType)("users",a.users)("ariaLabel",a.ariaLabel)("accessLevel",b.accessLevel)("customValidators",null!==(d=a.customValidators)&&void 0!==d?d:Wg(22,Kwb))("includeAliases",a.includeAliases)("includeViewAliases",
a.includeViewAliases)("containerChips",(null==a.chips?0:a.chips.values)&&0<a.chips.values.length?Xg(26,Lwb,Yg(23,Mwb,a.chips.displayText,a.chips.values)):Wg(28,Nwb));ug("disabled",b.canEdit?null:!0);z(2);D("name",b.getIconName(a,"componentAdmin"));z(2);D("name",b.getIconName(a,"createIssues"));z(2);D("name",b.getIconName(a,"issueAdmin"));z(2);D("name",b.getIconName(a,"issueEditor"));z(2);D("name",b.getIconName(a,"issueCommenter"));z(2);D("name",b.getIconName(a,"issueReader"));z(2);D("name",b.getIconName(a,
"restrictedReader"));z(2);D("name",b.getIconName(a,"restrictedPlusReader"))}},Pwb=function(a){a&1&&(E(0,"div",1)(1,"p"),Q(2," Your component is only using advanced roles. Simplify your component\u2019s role assignment by moving some users to standard roles. "),E(3,"a",2),Q(4,"Learn more"),F()()());a&2&&(a=N(),z(3),Pg("href","",Lp(a.documentationLinks),"#role-based-permissions",Ie))},Qwb=function(a){a&1&&(E(0,"div",2),H(1,"b-spinner"),F())},Swb=function(a){if(a&1){var b=t();E(0,"div")(1,"div",3)(2,
"mat-tab-group")(3,"mat-tab",4)(4,"roles-view",5);K("saveRolesMap",function(c){v(b);var d=N();Rwb(d.rolesEditor,c);return w()});F()();E(5,"mat-tab",6);H(6,"permissions-view",7);F()()()()}a&2&&(a=N(),z(4),D("rolesMap",a.rolesEditor.rolesMap)("isSaving",a.isSaving())("component",a.rolesEditor.component)("rolesEditor",a.rolesEditor),z(2),D("componentReaders",a.rolesEditor.componentReaders)("componentAccessPolicy",a.rolesEditor.componentFlattenedAccessPolicy)("issueAccessPolicy",a.rolesEditor.issueDefaultFlattenedAccessPolicy)("accessLevel",
null==a.rolesEditor.component?null:null==a.rolesEditor.component.accessLimit?null:a.rolesEditor.component.accessLimit.accessLevel))},Uwb=function(a){if(a&1){var b=t();E(0,"b-button",14,15);K("onAction",function(){v(b);var c=N(3);return w(Twb(c))});Q(2);F()}a&2&&(a=N(3),D("disabled",a.isSaving()),z(2),R(" ",a.archiveAction," Component "))},Vwb=function(a){if(a&1){var b=t();E(0,"b-button",16);K("onAction",function(){v(b);var c=N(3);return w(c.createIssue())});Q(1," Create Issue ");F()}a&2&&(a=N(3),
D("tooltip",a.isArchived()?"Cannot create issue in archived component":"")("disabled",a.isArchived()))},Wwb=function(a){a&1&&(I(0),E(1,"a",11),Q(2," Browse Components "),F(),P(3,Uwb,3,2,"b-button",12),P(4,Vwb,2,2,"b-button",13),J());a&2&&(a=N(2),z(1),D("routerLinkObj",a.componentListRoute(a.component.componentId)),z(2),D("ngIf",a.isAdmin()),z(1),D("ngIf",!a.isAnonymous))},Xwb=function(a){a&1&&(E(0,"div",17),H(1,"b-spinner"),F())},Ywb=function(a){a&1&&(E(0,"span",38),Q(1," (archived) "),F())},Zwb=
function(a){a&1&&Kg(0)},$wb=function(a){a&1&&Kg(0)},axb=function(a){a&1&&Kg(0)},bxb=function(a){a&1&&Kg(0)},cxb=function(a){a&1&&Kg(0)},dxb=function(a){if(a&1){var b=t();E(0,"div",77)(1,"div",48)(2,"label",78)(3,"span",45);Q(4,"Parent Component");F()();E(5,"span",50)(6,"div",79)(7,"strong");Q(8,"Careful!");F();Q(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. ");
E(10,"div",52);H(11,"div",53)(12,"div",54);F()()()();E(13,"b-team-component-picker",80);K("selectedComponentChange",function(c){v(b);var d=N(4);return w(d.parentComponent=null!==c&&void 0!==c?c:null)});F()()}a&2&&(a=N(4),z(2),Fg("required",a.isParentComponentRequired),z(11),D("selectedComponent",a.parentComponent)("placeholder","Choose Component")("isRequired",a.isParentComponentRequired))},exb=function(a){a&1&&(E(0,"a",81),Q(1," Learn more "),F());a&2&&(N(4),D("href",ljb(),Ie))},fxb=function(a){if(a&
1){var b=t();E(0,"div",82)(1,"label",83)(2,"span",45);Q(3,"Retention Settings");F()();E(4,"div",84)(5,"p");Q(6,"Please choose a period of time to retain the data stored in this component.");H(7,"br");E(8,"a",85);Q(9," Learn more ");F()()();E(10,"div",86)(11,"b-retention-settings-form",87);K("modelChange",function(c){v(b);var d=N(4);return w(d.component.retentionSettings=c)})("validChange",function(c){v(b);N(4).retentionIsValid=c;return w()});F()()()}a&2&&(a=N(4),Fg("bv2-edit-resource-readonly",!a.isAdmin()),
z(8),D("href",Qt(),Ie),z(3),D("issueRetentionDisabled",a.isAccessEditDisabled())("isExternal",a.isExternal())("initialModel",a.component.retentionSettings))},hxb=function(a){if(a&1){var b=t();E(0,"div",91)(1,"b-component-team-picker",92);K("modelChange",function(c){v(b);var d=N(5);d.component.team=c;d.componentTeam$.next(d.component.team);d.component.slo.inherit&&gxb(d);return w()});F()()}a&2&&(a=N(5),z(1),Qg("anchorTarget",a.hasUnsavedChanges()?"_blank":"_self"),D("isAdmin",a.isAdmin())("isTopLevel",
!a.isParentComponentRequired)("parentModel",null==a.parentComponent?null:a.parentComponent.team)("useInternalLink",!0)("model",a.component.team))},ixb=function(a){a&1&&(E(0,"div",88)(1,"label",89)(2,"span",45),Q(3,"Team Configuration"),F()(),P(4,hxb,2,6,"div",90),F());a&2&&(a=N(4),Fg("bv2-edit-resource-readonly",!a.isAdmin()),z(4),D("ngIf",a.component.team))},jxb=function(a){a&1&&(E(0,"a",105),Q(1),F());if(a&2){a=N().ngIf;var b=N(5),c;D("routerLinkObj",b.getSloManagementLink(a.id));z(1);R(" ",null!==
(c=null==a.slo?null:a.slo.name)&&void 0!==c?c:a.id," ")}},kxb=function(a){a&1&&Q(0," None ")},lxb=function(a,b){a&1&&(E(0,"div",102),Q(1," Inherited SLO Policy: "),P(2,jxb,2,2,"a",103),P(3,kxb,1,0,"ng-template",null,104,qh),F());if(a&2){a=b.ngIf;var c=O(4);z(2);D("ngIf","0"!==a.id)("ngIfElse",c)}},mxb=function(a){a&1&&(E(0,"a",110),Q(1),U(2,"titlecase"),F());a&2&&(a=N().ngIf,D("routerLinkObj",a.link),z(1),Tg(" (",V(2,3,a.type),") ",a.name," "))},nxb=function(a){a&1&&Q(0," None ")},oxb=function(a){a&
1&&(E(0,"div",112),H(1,"slo-inheritance-breadcrumbs",113),F());a&2&&(a=N().ngIf,z(1),D("componentPath",a.componentPath)("teamPath",a.teamPath))},pxb=function(a){a&1&&(I(0),P(1,oxb,2,2,"div",111),J());a&2&&(a=N(6),z(1),D("ngIf",a.showSloInheritancePath))},qxb=function(a,b){if(a&1){var c=t();E(0,"div",106);Q(1," Policy Source: ");P(2,mxb,3,5,"a",107);P(3,nxb,1,0,"ng-template",null,108,qh);E(5,"button",109);K("click",function(){v(c);var e=N(5);return w(e.showSloInheritancePath=!e.showSloInheritancePath)});
Q(6);F();P(7,pxb,2,1,"ng-container",7);U(8,"async");F()}if(a&2){a=b.ngIf;var d=O(4);b=N(5);z(2);D("ngIf",a.link)("ngIfElse",d);z(3);ug("aria-expanded",b.showSloInheritancePath);z(1);R(" ",b.showSloInheritancePath?"Hide":"Show"," full path ");z(1);D("ngIf",V(8,5,b.policySourcePath$))}},rxb=function(a){a&1&&(I(0),Q(1,", "),E(2,"a",115),Q(3,"Team Leads"),F(),J());a&2&&(a=N(7),z(2),D("routerLinkObj",{path:"/teams/"+a.component.team.id+"/edit",fragment:"basic"}))},sxb=function(a){a&1&&(I(0),Q(1," SLO Admins: "),
E(2,"a",115),Q(3,"Component Admins"),F(),P(4,rxb,4,1,"ng-container",7),J());a&2&&(a=N(6),z(2),D("routerLinkObj",a.componentPermissions(a.componentId)),z(2),D("ngIf",a.component.team&&"0"!==a.component.team.id))},txb=function(a){a&1&&(E(0,"div",114),P(1,sxb,5,2,"ng-container",7),F());a&2&&(a=N(5),z(1),D("ngIf",a.enableTeamLeadSloEditingUi))},uxb=function(a){a&1&&(I(0),H(1,"mat-icon",117),Q(2," on "),J())},vxb=function(a){a&1&&(H(0,"mat-icon",118),Q(1," off "))},wxb=function(a){a&1&&(I(0),Q(1," Lock: "),
P(2,uxb,3,0,"ng-container",0),U(3,"async"),P(4,vxb,2,0,"ng-template",null,116,qh),J());if(a&2){var b=O(5);a=N(5);z(2);D("ngIf",V(3,2,a.sloLocked$))("ngIfElse",b)}},yxb=function(a){if(a&1){var b=t();E(0,"div",119)(1,"mat-checkbox",120);K("change",function(c){v(b);var d=N(5);c=c.checked;d.component.slo.inherit=!c;c||gxb(d);return w()});E(2,"span");Q(3,"Override the inherited SLO policy");F()()()}a&2&&(a=N(5),z(1),D("checked",!a.component.slo.inherit)("disabled",!xxb(a)))},zxb=function(a){if(a&1){var b=
t();E(0,"div",127)(1,"label",128);Q(2," Justification ");F();H(3,"mat-icon",129);E(4,"textarea",130);K("ngModelChange",function(c){v(b);var d=N(6);return w(d.component.slo.comment=c)});F()()}a&2&&(a=N(6),z(4),D("ngModel",a.component.slo.comment)("disabled",!Rt(a)))},Axb=function(a){a&1&&(E(0,"a",131),H(1,"mat-icon",132),F());a&2&&(a=N(6),Qg("target",a.hasUnsavedChanges()?"_blank":"_self"),D("routerLinkObj",a.getSloManagementLink(a.component.slo.id)))},Exb=function(a){if(a&1){var b=t();I(0);P(1,zxb,
5,2,"div",121);E(2,"mat-slide-toggle",122);K("ngModelChange",function(c){v(b);var d=N(5);return w(d.isEnableSloChecked=c)})("change",function(c){v(b);var d=N(5);c=c.checked;d.isEnableSloChecked=c;c||(d.component.slo.id="0");return w()});Q(3," Enable SLO ");F();E(4,"div",123)(5,"label",124);Q(6,"SLO policy");F();E(7,"slo-picker",125);K("onSloSelect",function(c){v(b);var d=N(5);return w(d.onSloChange(c))});F();P(8,Axb,2,2,"a",126);F();J()}a&2&&(a=N(5),z(1),D("ngIf",Bxb(a)),z(1),Fg("indented",Cxb(a)),
D("ngModel",a.isEnableSloChecked)("disabled",!Dxb(a)),z(5),D("bv2Disabled",!a.isEnableSloChecked||!Dxb(a))("boundId",a.component.slo.id)("bv2Placeholder",a.isEnableSloChecked&&Dxb(a)?"Type to search for an SLO":"SLO disabled"),z(1),D("ngIf",a.component.slo.id&&"0"!==a.component.slo.id))},Fxb=function(a){a&1&&(E(0,"div",93)(1,"div",48)(2,"label",94)(3,"span",45),Q(4,"SLO Configuration"),F()(),E(5,"span",50)(6,"div",95)(7,"strong"),Q(8,"Careful!"),F(),Q(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. "),
E(10,"div",52),H(11,"div",53)(12,"div",54),F()()()(),E(13,"div",96),P(14,lxb,5,2,"div",97),U(15,"async"),P(16,qxb,9,7,"div",98),U(17,"async"),P(18,txb,2,1,"div",99),E(19,"div",100),P(20,wxb,6,4,"ng-container",7),F()(),P(21,yxb,4,2,"div",101),P(22,Exb,9,9,"ng-container",7),F());if(a&2){a=N(4);Fg("bv2-edit-resource-readonly",!Rt(a));z(14);D("ngIf",V(15,8,a.inheritedSlo$));z(2);D("ngIf",V(17,10,a.sloPolicySource$));z(2);D("ngIf",a.sessionIsInternal);z(2);D("ngIf",a.enableSloLockingUi);z(1);D("ngIf",
Cxb(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;D("ngIf",a)}},Gxb=function(a){if(a&1){var b=t();E(0,"div",73)(1,"b-button",133);K("onAction",function(){v(b);var c=N(4);return w(c.saveMetadata())});Q(2," Update ");F();E(3,"b-button",134);K("onAction",function(){v(b);var c=N(4);return w(c.revertMetadataChanges())});Q(4," Revert Changes ");F();E(5,"b-button",134);K("onAction",
function(){v(b);var c=N(4);return w(c.createChild())});Q(6," Create Child Component ");F()()}a&2&&(a=N(4),z(1),D("disabled",a.isSaving()||!a.hasUnsavedMetadataChanges()),z(2),D("disabled",a.isSaving()||!a.hasUnsavedMetadataChanges()),z(2),D("disabled",a.hasUnsavedMetadataChanges()))},Hxb=function(a){if(a&1){var b=t();E(0,"b-button",135);K("onAction",function(){v(b);var c=N(4);return w(c.showUpdateHistoryModal())});Q(1," View History ");F()}},Ixb=function(a){a&1&&H(0,"b-spinner")},Jxb=function(a){if(a&
1){var b=t();E(0,"b-component-children-list",136);K("onVisit",function(){v(b);var c=N(4);return w(c.trackClick("openChildComponent"))});F()}a&2&&(a=N(4),D("children",a.childComponents))},Kxb=function(a){a&1&&(E(0,"span"),Q(1," No child components. "),F())},Lxb=function(a){if(a&1){var b=t();E(0,"div",39)(1,"form",40,41);H(3,"b-error-banner",42);E(4,"div",43)(5,"label",44)(6,"span",45);Q(7,"Name");F()();E(8,"input",46);K("ngModelChange",function(c){v(b);var d=N(3);return w(d.component.name=c)});F()();
E(9,"div",47)(10,"div",48)(11,"label",49)(12,"span",45);Q(13,"Description");F()();E(14,"span",50)(15,"div",51);Q(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. ");E(17,"div",52);H(18,"div",53)(19,"div",54);F()()()();E(20,"textarea",55);K("ngModelChange",function(c){v(b);var d=N(3);return w(d.component.description=c)});Q(21,"            ");F()();P(22,dxb,14,5,"div",56);E(23,"div",57)(24,"div",
58)(25,"mat-checkbox",59);K("change",function(c){v(b);var d=N(3);return w(d.setCommentEditState(c.checked))});F()();E(26,"div")(27,"strong",60);Q(28,"Editable Comments");F();E(29,"div",61);Q(30," When checked, users with comment access can modify their own issue comments, and editors can modify the first issue comment. ");H(31,"br");P(32,exb,2,1,"a",62);F()()();P(33,fxb,12,6,"div",63);P(34,ixb,5,3,"div",64);P(35,Fxb,23,12,"div",65);E(36,"div",66)(37,"div",48)(38,"label",67)(39,"span",45);Q(40,"Component Alias");
F()();E(41,"span",50)(42,"div",68);Q(43," You can create a new issue in this component by sending an email to this alias. ");H(44,"br");E(45,"a",69);Q(46," Learn more ");F();E(47,"div",52);H(48,"div",53)(49,"div",54);F()()()();E(50,"div")(51,"a",70);Q(52);F()()();E(53,"div",71);P(54,Gxb,7,3,"div",72);E(55,"div",73);P(56,Hxb,2,0,"b-button",74);F()();E(57,"div",75)(58,"label")(59,"span",45);Q(60,"Child Components");F()();P(61,Ixb,1,0,"b-spinner",7);P(62,Jxb,1,1,"b-component-children-list",76);P(63,
Kxb,2,0,"span",7);F()()()}a&2&&(a=N(3),z(1),Fg("show-errors",a.error),z(2),D("error",a.error),z(1),Fg("bv2-edit-resource-readonly",St(a)),z(4),D("ngModel",a.component.name)("disabled",St(a)),z(1),Fg("bv2-edit-resource-readonly",St(a)),z(11),D("ngModel",a.component.description)("disabled",St(a)),z(2),D("ngIf",a.isAdmin()),z(1),Fg("bv2-edit-resource-readonly",a.isAccessEditDisabled()),z(2),D("checked",a.commentEditsEnabled)("disabled",St(a)),z(7),D("ngIf",!a.sessionIsExternal),z(1),D("ngIf",!a.sessionIsExternal),
z(1),D("ngIf",a.sessionIsInternal),z(1),D("ngIf",a.component.slo&&a.sessionIsInternal),z(10),D("href",a.documentationLinks.baseDocumentationUrl+"/guides/create-issue-email",Ie),z(6),Pg("href","mailto:",a.component.emailAlias,"",Ie),ug("aria-label","Component Alias -"+a.component.emailAlias),z(1),Sg(a.component.emailAlias),z(2),D("ngIf",a.isEditorInternal||Rt(a)),z(2),D("ngIf",a.componentHistoryUiEnabled),z(5),D("ngIf",void 0===a.childComponents),z(1),D("ngIf",a.childComponents&&0<a.childComponents.length),
z(1),D("ngIf",a.childComponents&&0===a.childComponents.length))},Mxb=function(a){a&1&&(E(0,"div",141),Q(1," Standard Fields "),F())},Oxb=function(a){if(a&1){var b=t();E(0,"b-component-standard-fields",142);K("updateComponent",function(c){v(b);var d=N(4);return w(Nxb(d,c))});F()}a&2&&(a=N(4),D("effortSpec",a.component.effortSpec)("parentEffortSpec",null==a.parentComponent?null:a.parentComponent.effortSpec)("disabled",!a.isEditorInternal))},Pxb=function(a){a&1&&(E(0,"div",143),Q(1," Custom Fields "),
F())},Qxb=function(a){a&1&&(P(0,Mxb,2,0,"div",137),P(1,Oxb,1,3,"b-component-standard-fields",138),P(2,Pxb,2,0,"div",139),H(3,"b-component-custom-fields",140));a&2&&(a=N(3),D("ngIf",a.sessionIsInternal&&!a.isExternal()),z(1),D("ngIf",a.sessionIsInternal&&!a.isExternal()),z(1),D("ngIf",a.sessionIsInternal&&!a.isExternal()),z(1),D("editMode",a.isEditorInternal)("isSaving",a.isSaving())("component",a.component)("parentComponent",a.parentComponent))},Sxb=function(a){a&1&&(E(0,"a",147),Q(1," Learn more "),
F());a&2&&(N(4),D("href",Rxb(),Ie))},Uxb=function(a){if(a&1){var b=t();E(0,"div",39)(1,"div",144);Q(2," Field ordering will be applied to all issues and templates in this component, including the right panel on the Issue Detail page. ");P(3,Sxb,2,1,"a",145);F();E(4,"b-field-reorder",146);K("onReload",function(){v(b);var c=N(3);return w(Txb(c))});F()()}a&2&&(a=N(3),z(3),D("ngIf",a.sessionIsInternal),z(1),D("fields",a.effectiveCustomFields)("componentId",a.componentId)("fieldOrdering",a.component.fieldOrdering)("isAdmin",
a.isAdmin()))},Vxb=function(a){a&1&&H(0,"b-edit-templates",149);a&2&&(a=N(4),D("componentId",a.componentId)("supportCustomFields",!0))},Wxb=function(a){a&1&&(E(0,"div"),Q(1),F());a&2&&(a=N().$implicit,z(1),Sg(a.description))},Xxb=function(a,b){a&1&&(E(0,"div",151)(1,"label"),Q(2),F(),P(3,Wxb,2,1,"div",7),E(4,"div")(5,"a",70),Q(6),F()()());a&2&&(a=b.$implicit,z(2),Sg(a.name),z(1),D("ngIf",a.description),z(2),D("href",a.url,Ie),ug("aria-label","Click to open the template "+a.name),z(1),Sg(a.url))},
Yxb=function(a){a&1&&(I(0),P(1,Xxb,7,5,"div",150),J());a&2&&(a=N(4),z(1),D("ngForOf",a.templates))},Zxb=function(a){a&1&&(E(0,"div",39),P(1,Vxb,1,2,"b-edit-templates",148),P(2,Yxb,2,1,"ng-container",7),F());a&2&&(a=N(3),z(1),D("ngIf",a.isEditorInternal),z(1),D("ngIf",!a.isEditorInternal))},$xb=function(a){a&1&&H(0,"role-based-permissions")},ayb=function(a){if(a&1){var b=t();E(0,"div")(1,"div",18)(2,"h2");Q(3);F();P(4,Ywb,2,0,"span",19);E(5,"a",20);K("click",function(){v(b);var l=N(2);return w(l.trackClick("recentIssues"))});
Q(6," (Recent Issues)");F();H(7,"b-access-level-indicator",21)(8,"b-tracker-chip-smart",22);F();E(9,"div",23);H(10,"b-component-breadcrumb",24)(11,"div",25);F();E(12,"mat-tab-group",26);K("selectedIndexChange",function(l){v(b);var q=N(2);return w(q.tabChange(l))});E(13,"mat-tab",27);P(14,Zwb,1,0,"ng-container",28);F();E(15,"mat-tab",29);P(16,$wb,1,0,"ng-container",28);F();E(17,"mat-tab",30);P(18,axb,1,0,"ng-container",28);F();E(19,"mat-tab",31);P(20,bxb,1,0,"ng-container",28);F();E(21,"mat-tab",32);
P(22,cxb,1,0,"ng-container",28);F()();P(23,Lxb,64,29,"ng-template",null,33,qh);P(25,Qxb,4,7,"ng-template",null,34,qh);P(27,Uxb,5,5,"ng-template",null,35,qh);P(29,Zxb,3,2,"ng-template",null,36,qh);P(31,$xb,1,0,"ng-template",null,37,qh);F()}if(a&2){var c=O(24),d=O(26),e=O(28),f=O(30),h=O(32);a=N(2);z(3);Tg(" Component ",a.component.componentId,": ",a.currentName," ");z(1);D("ngIf",a.isArchived());z(1);D("routerLinkObj",a.getRecentIssuesLink());z(2);D("accessLevel",a.getComponentAccessLevel());z(1);
D("trackerId",a.component.trackerId);z(2);D("componentPathInfo",a.component.componentPathInfo)("isArchived",a.isArchived())("label","Parent Component");z(2);D("selectedIndex",a.selectedTabIndex);z(1);D("id",a.Tab.BASIC);z(1);D("ngTemplateOutlet",c);z(1);D("id",a.Tab.CUSTOM_FIELDS)("label",a.sessionIsInternal&&!a.isExternal()?"Fields":"Custom Fields");z(1);D("ngTemplateOutlet",d);z(1);D("id",a.Tab.FIELD_ORDERING);z(1);D("ngTemplateOutlet",e);z(1);D("id",a.Tab.TEMPLATES);z(1);D("ngTemplateOutlet",f);
z(1);D("id",a.Tab.ACCESS);z(1);D("ngTemplateOutlet",h)}},byb=function(a){a&1&&(E(0,"span")(1,"p"),Q(2," Archiving a component causes it and its subcomponents and all issues in those components to be hidden from normal use."),H(3,"br"),E(4,"a",157),Q(5," Learn more "),F()(),E(6,"p"),Q(7," If you no longer have a reason to retain the data stored in these components, please change the retention period as needed "),H(8,"br"),Q(9," so they can be scheduled for deletion. "),E(10,"a",158),Q(11," Learn more "),
F()()());a&2&&(N(3),z(4),D("href","http://go/archived-components",Ie),z(6),D("href",Qt(),Ie))},cyb=function(a){a&1&&(E(0,"span"),Q(1," : "),E(2,"b"),Q(3),F()());if(a&2){a=N().$implicit;var b=N(3);Fg("b-archive-warning-indef",!a.retentionSettings.retentionPeriodDays);z(3);Sg(b.getRetentionPeriod(a))}},dyb=function(a,b){a&1&&(E(0,"span")(1,"span"),Q(2),F(),P(3,cyb,4,3,"span",159),H(4,"br"),F());a&2&&(a=b.$implicit,b=N(3),z(2),Sg(a.componentPath),z(1),D("ngIf","Archive"===b.archiveAction))},eyb=function(a){if(a&
1){var b=t();E(0,"h2",152);Q(1);F();E(2,"mat-dialog-content");P(3,byb,12,2,"span",7);E(4,"p");Q(5," The following components will be affected: ");F();E(6,"div",153);P(7,dyb,5,2,"span",154);F()();E(8,"mat-dialog-actions")(9,"button",155);K("click",function(){v(b);var c=N(2);c.archive();c.isArchiving=!1;return w()});Q(10," Yes ");F();E(11,"button",156);K("click",function(){v(b);N(2).isArchiving=!1;return w()});Q(12," No ");F()()}a&2&&(a=N(2),z(1),Sg(a.component&&a.archiveAction?"Are you sure you want to "+
a.archiveAction.toLowerCase()+' "'+a.component.name+'" and its subcomponents?':""),z(2),D("ngIf","Archive"===a.archiveAction),z(4),D("ngForOf",a.descendants))},fyb=function(a){if(a&1){var b=t();I(0);E(1,"div",2)(2,"div",3)(3,"div",4)(4,"b-button",5);K("onAction",function(){v(b);var c=N();return w(c.back())});H(5,"b-icon",6);F();P(6,Wwb,5,3,"ng-container",7);F()()();E(7,"div",8);P(8,Xwb,2,0,"div",9);P(9,ayb,33,21,"div",7);F();P(10,eyb,13,3,"ng-template",null,10,qh);J()}a&2&&(a=N(),z(6),D("ngIf",a.component),
z(2),D("ngIf",a.isLoading),z(1),D("ngIf",!a.isLoading&&a.component&&a.component.componentId))},gyb=function(a){a&1&&(E(0,"div",160),H(1,"b-tracker-redirect",161),F());a&2&&(a=N(),z(1),D("component",a.component))},hyb=function(a){var b=null;if(a instanceof Tt)var c=a.getSourceTeamId();else c=a.sourceTeamId,b=a.sourceComponentId;return{sourceTeamId:c,sourceComponentId:b}},iyb=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)}},jyb=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.getPathNamesList();a=a.getPathIdsList();d=[];for(var e=a.findIndex(function(f){return""+f===b});e<a.length;e++)d.push({id:a[e],name:c[e]});return d},kyb=function(a,b){a&1&&(E(0,"div",39),H(1,"b-team-breadcrumb",40),F());a&2&&(a=b.ngIf,z(1),D("teamPath",a))},lyb=function(a,b){a&1&&(I(0),Q(1),J());a&2&&(a=b.ngIf,
z(1),Sg(a.trim()))},myb=function(a){a&1&&Q(0," No description ")},nyb=function(a,b){a&1&&(I(0),H(1,"b-multi-user-input",41),J());a&2&&(a=b.ngIf,z(1),D("users",a),ug("disabled",!0))},oyb=function(a){a&1&&(I(0),E(1,"p"),Q(2,"No child teams"),F(),J())},pyb=function(a,b){a&1&&(I(0),H(1,"br"),E(2,"a",44),Q(3),F(),J());a&2&&(a=b.$implicit,z(2),Pg("routerLink","/teams/",a.id,"/edit"),z(1),Sg(a.name))},qyb=function(a){a&1&&P(0,pyb,4,2,"ng-container",43);a&2&&(a=N().ngIf,D("ngForOf",a))},ryb=function(a,b){a&
1&&(I(0),P(1,oyb,3,0,"ng-container",18),P(2,qyb,1,1,"ng-template",null,42,qh),J());if(a&2){a=b.ngIf;var c=O(3);z(1);D("ngIf",0===a.length)("ngIfElse",c)}},syb=function(a){a&1&&(E(0,"a",48),Q(1),F());if(a&2){a=N().ngIf;var b;D("routerLinkObj",a.link);z(1);R(" ",null!==(b=null==a.slo?null:a.slo.name)&&void 0!==b?b:a.id," ")}},tyb=function(a){a&1&&Q(0," None ")},uyb=function(a,b){a&1&&(E(0,"div",45),Q(1," Inherited SLO Policy: "),P(2,syb,2,2,"a",46),P(3,tyb,1,0,"ng-template",null,47,qh),F());if(a&2){a=
b.ngIf;var c=O(4);z(2);D("ngIf",a.link)("ngIfElse",c)}},vyb=function(a,b){a&1&&(E(0,"a",49),Q(1),F());a&2&&(a=b.ngIf,D("routerLinkObj",a.link),z(1),R(" ",a.name," "))},wyb=function(a){a&1&&Q(0," None ")},xyb=function(a){a&1&&(I(0),H(1,"mat-icon",51),Q(2," on "),J())},yyb=function(a){a&1&&(H(0,"mat-icon",52),Q(1," off "))},zyb=function(a){a&1&&(I(0),Q(1," Lock: "),P(2,xyb,3,0,"ng-container",18),P(3,yyb,2,0,"ng-template",null,50,qh),J());if(a&2){var b=O(4);a=N(2);z(2);D("ngIf",a.originalSloLock)("ngIfElse",
b)}},Ayb=function(a){if(a&1){var b=t();E(0,"div",54)(1,"mat-checkbox",55);K("change",function(c){v(b);var d=N(3);d.isSloInheritEnabled=!c.checked;d.isSloInheritEnabled&&(d.sloId=d.parentTeam.getSlo().getSloId());return w()});E(2,"span");Q(3,"Override the inherited SLO");F()()()}a&2&&(a=N(3),z(1),D("disabled",!a.hasEditAccess)("checked",!a.isSloInheritEnabled))},Byb=function(a){if(a&1){var b=t();E(0,"div",60)(1,"label",61);Q(2," Justification to override the org SLO ");F();H(3,"mat-icon",62);E(4,"textarea",
63);K("ngModelChange",function(c){v(b);var d=N(4);return w(d.sloJustification$.next(c))});U(5,"async");F()()}a&2&&(a=N(4),z(3),D("matTooltip",a.justificationRequiredText),ug("aria-label",a.justificationRequiredText),z(1),D("ngModel",V(5,4,a.sloJustification$))("disabled",!a.hasEditAccess))},Cyb=function(a,b){a&1&&(E(0,"a",64),U(1,"async"),H(2,"mat-icon",9),F());a&2&&(a=b.ngIf,b=N(4),Qg("target",V(1,2,b.hasUnsavedChanges$)?"_blank":"_self"),D("routerLinkObj",a))},Dyb=function(a){if(a&1){var b=t();
I(0);P(1,Byb,6,6,"div",56);E(2,"div",14)(3,"mat-slide-toggle",57);K("ngModelChange",function(d){v(b);var e=N(3);return w(e.enableSloChecked=d)})("change",function(d){v(b);var e=N(3);return w(e.enableSloChecked=d.checked)});Q(4," Enable SLO ");F();E(5,"slo-picker",58);K("onSloSelect",function(d){v(b);var e=N(3);return w(e.onSloChange(d))});F();P(6,Cyb,3,4,"a",59);U(7,"async");F();J()}if(a&2){a=N().ngIf;var c=N(2);z(1);D("ngIf",!a.value);z(2);Fg("indented",!a.value);D("ngModel",c.enableSloChecked)("disabled",
!c.hasEditAccess);z(2);D("boundId",c.sloId)("bv2Disabled",!c.hasEditAccess||!c.enableSloChecked||c.isSloInheritEnabled)("bv2Placeholder",c.enableSloChecked?"Type to search for an SLO":"SLO disabled");z(1);D("ngIf",V(7,9,c.sloPickerLink$))}},Eyb=function(a,b){a&1&&(I(0),P(1,Ayb,4,2,"div",53),P(2,Dyb,8,11,"ng-container",6),J());a&2&&(a=b.ngIf,b=N(2),z(1),D("ngIf",!a.value),z(1),D("ngIf",!b.isSloInheritEnabled))},Fyb=function(a){if(a&1){var b=t();E(0,"div",14)(1,"mat-checkbox",65);K("change",function(c){v(b);
var d=N(2);return w(d.sloLocked=c.checked)});E(2,"span");Q(3,"Lock for all child teams");F()()()}a&2&&(a=N(2),z(1),D("checked",a.sloLocked)("disabled",!a.canEditSloLock))},Iyb=function(a){if(a&1){var b=t();E(0,"div",14)(1,"div",20)(2,"label",21)(3,"span",16);Q(4," SLO lead ");F()();E(5,"span",22)(6,"div",23);Q(7," Single team lead receiving SLO reports of unassigned issues. ");E(8,"div",24);H(9,"div",25)(10,"div",26);F()()()();E(11,"div");I(12);E(13,"b-multi-user-input",66);K("usersChange",function(c){v(b);
var d=N(2);1<c.length||(d.sloLead=1===c.length?c[0]:"");return w()})("isValid",function(c){v(b);var d=N(2);return w(d.isSloLeadValid=c)});F();J();F()()}a&2&&(a=N(2),z(13),D("users",a.sloLead?Xg(5,Gyb,a.sloLead):Wg(7,Hyb))("customValidators",a.sloLeadUserValidators)("detailedUserValidators",a.sloLeadGooglerValidators)("maxUserAllowed",1),ug("disabled",a.hasEditAccess?null:!0))},Lyb=function(a){if(a&1){var b=t();E(0,"div",67)(1,"div",68)(2,"button",69);K("click",function(){v(b);var c=N().ngIf,d=N();
return w(Jyb(d,c))});U(3,"async");Q(4," Update ");F();E(5,"button",70);K("click",function(){v(b);var c=N(2);return w(Kyb(c))});U(6,"async");Q(7," Revert changes ");F()()()}a&2&&(a=N(2),z(2),D("disabled",!V(3,2,a.hasUnsavedChanges$)),z(3),D("disabled",!V(6,4,a.hasUnsavedChanges$)))},Myb=function(a){a&1&&(I(0),E(1,"p"),Q(2,"No mapped components"),F(),J())},Nyb=function(a,b){a&1&&(E(0,"ul")(1,"li")(2,"a",44),Q(3),F()()());a&2&&(a=b.$implicit,z(2),Pg("routerLink","/components/",a.componentId,"/manage"),
z(1),R(" ",a.name," "))},Oyb=function(a){a&1&&(P(0,Nyb,4,2,"ul",43),U(1,"async"));a&2&&(a=N(3),D("ngForOf",V(1,1,a.associatedComponents$)))},Pyb=function(a,b){a&1&&(I(0),P(1,Myb,3,0,"ng-container",18),P(2,Oyb,2,3,"ng-template",null,71,qh),J());if(a&2){a=b.ngIf;var c=O(3);z(1);D("ngIf",0===a.length)("ngIfElse",c)}},Ryb=function(a,b){if(a&1){var c=t();I(0);E(1,"div",7)(2,"h2");Q(3);E(4,"a",8);Q(5);H(6,"mat-icon",9);F()()();P(7,kyb,2,1,"div",10);U(8,"async");E(9,"mat-tab-group",11);K("selectedIndexChange",
function(f){v(c);var h=N();return w(h.selectedTabIndex=f)})("selectedIndexChange",function(f){v(c);var h=N();return w(h.tabChange(f))});E(10,"mat-tab",12)(11,"div",13);Q(12," Team information on this page comes from ");E(13,"a",8);Q(14," Team Graph ");H(15,"mat-icon",9);F();Q(16," and is view only. ");E(17,"div",14)(18,"div",15)(19,"label")(20,"span",16);Q(21,"Description");F()();E(22,"div",17);P(23,lyb,2,1,"ng-container",18);P(24,myb,1,0,"ng-template",null,19,qh);F()()();E(26,"div",14)(27,"div",
20)(28,"label",21)(29,"span",16);Q(30," Team admins ");F();E(31,"span",22)(32,"div",23);Q(33," Team admins are team leads from Team Graph. ");E(34,"div",24);H(35,"div",25)(36,"div",26);F()()()();P(37,nyb,2,2,"ng-container",6);U(38,"async");F()();E(39,"div",14)(40,"div",15)(41,"label")(42,"span",16);Q(43,"Child team(s)");F()();P(44,ryb,4,2,"ng-container",6);U(45,"async");F()()()();E(46,"mat-tab",27)(47,"div",13)(48,"div",20)(49,"label",21)(50,"span",16);Q(51,"SLO configuration");F()();E(52,"span",
22)(53,"div",28)(54,"strong");Q(55,"Careful!");F();Q(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. ");E(57,"div",24);H(58,"div",25)(59,"div",26);F()()()();E(60,"div",29);P(61,uyb,5,2,"div",30);U(62,"async");E(63,"div",31);Q(64," Policy Source: ");P(65,vyb,2,2,"a",32);U(66,"async");P(67,wyb,1,0,"ng-template",null,33,qh);F();E(69,"div",34);P(70,zyb,5,2,"ng-container",6);F()();H(71,"b-error-banner",
35);P(72,Eyb,3,2,"ng-container",6);U(73,"async");P(74,Fyb,4,2,"div",36);P(75,Iyb,14,8,"div",36);P(76,Lyb,8,6,"div",37);F()();E(77,"mat-tab",38)(78,"div",13)(79,"div",14)(80,"div",15)(81,"label")(82,"span",16);Q(83," Component(s) that have mapped to this team ");F()()();P(84,Pyb,4,2,"ng-container",6);U(85,"async");F()()()();J()}if(a&2){a=b.ngIf;var d=O(25),e=O(68);b=N();z(3);R(" Team ",a.getTeamId(),": ");z(1);Pg("href","https://moma.corp.google.com/team/",a.getTeamId(),"",Ie);z(1);R(" ",a.getName(),
" ");z(2);D("ngIf",V(8,23,b.teamPath$));z(2);D("selectedIndex",b.selectedTabIndex);z(1);D("id",b.Tab.BASIC);z(3);Pg("href","https://moma.corp.google.com/team/",a.getTeamId(),"",Ie);z(10);D("ngIf",a.getDescription())("ngIfElse",d);z(14);D("ngIf",V(38,25,b.adminsAndLeads$));z(7);D("ngIf",V(45,27,b.childTeams$));z(2);D("id",b.Tab.SLO);z(15);D("ngIf",V(62,29,b.inheritedSlo$));z(4);D("ngIf",V(66,31,b.sloPolicySource$))("ngIfElse",e);z(5);D("ngIf",b.enableSloLockingUi);z(1);D("error",b.error);z(1);D("ngIf",
Xg(37,Qyb,V(73,33,b.isRootTeam$)));z(2);D("ngIf",b.enableSloLockingUi);z(1);D("ngIf",b.enableSloLead);z(1);D("ngIf",b.hasEditAccess);z(1);D("id",b.Tab.MAPPINGS);z(7);D("ngIf",V(85,35,b.associatedComponents$))}},Syb=function(){return"NEAR_SLO MENTIONED UNBLOCKED NEEDS_REPORTER_INPUT REPLIED_TO_MENTION NEWLY_BLOCKING ASSIGNED".split(" ")},Tyb=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"}},Uyb=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""}},Vyb=function(a,b){a&1&&(E(0,"div",14),H(1,"mat-checkbox",15),E(2,"div")(3,"label",16),Q(4),F(),E(5,"label",17),Q(6),F()()());if(a&2){a=b.ngIf;b=N().$implicit;var c=N().ngIf;z(1);D("id","select-signal-checkbox-"+b)("aria-labelledby","checkbox-label-"+b)("value",b)("checked",c.includes(b));
z(2);Pg("id","checkbox-label-",b,"")("for","select-signal-checkbox-",b,"-input");z(1);R(" ",a.header," ");z(1);Pg("for","select-signal-checkbox-",b,"-input");z(1);R(" ",a.body," ")}},Xyb=function(a,b){a&1&&(I(0),P(1,Vyb,7,9,"div",13),J());a&2&&(a=b.$implicit,N(3),z(1),D("ngIf",Wyb.has(a)?Wyb.get(a):null))},Yyb=function(a){a&1&&(E(0,"div",11),P(1,Xyb,2,1,"ng-container",12),F());a&2&&(a=N(2),z(1),D("ngForOf",a.ALL_SIGNAL_TYPES))},Zyb=function(a){if(a&1){var b=t();E(0,"div",4)(1,"p",5);Q(2," Select alerts ");
E(3,"button",6);K("click",function(){v(b);var c=N();c=m(c.checkboxes);for(var d=c.next();!d.done;d=c.next())d=d.value,d.checked||d.toggle();return w()});Q(4," Select all ");F()();P(5,Yyb,2,1,"div",7);U(6,"async");H(7,"mat-divider");E(8,"div",8)(9,"button",9);K("click",function(){v(b);var c=N();return w(c.closeMenu())});Q(10,"Cancel");F();E(11,"button",10);K("click",function(){v(b);var c=N();return w(c.emitSelection())});Q(12,"Apply");F()()()}a&2&&(a=N(),z(5),D("ngIf",V(6,1,a.selectedSignals$)))},
$yb=function(a){a&1&&(I(0),Q(1),J());a&2&&(a=N(3),z(1),R("(",a.count,")"))},azb=function(a){a&1&&(I(0),Q(1),P(2,$yb,2,1,"ng-container",3),J());if(a&2){a=N().ngIf;var b=N();z(1);R(" ",a.text," ");z(1);D("ngIf",-1<b.count)}},bzb=function(a){if(a&1){var b=t();E(0,"button",5);K("click",function(){v(b);var c=N(2);return w(c.onClickRemove())});E(1,"span",6);Q(2);F();H(3,"mat-icon",7);F()}a&2&&(a=N().ngIf,z(2),R("remove filter ",a.text,""))},czb=function(a,b){a&1&&(E(0,"span",1),U(1,"async"),H(2,"mat-icon",
2),P(3,azb,3,2,"ng-container",3),P(4,bzb,4,1,"button",4),F());a&2&&(a=b.ngIf,b=N(),Ig("chippy rounded ",a.className," margin-xs-right"),Fg("full-chip",!b.iconOnly)("selected",b.isSelected),D("matTooltip",V(1,12,b.getSignalTypeTooltip()))("matTooltipShowDelay",b.matTooltipShowDelay),z(2),D("svgIcon",a.icon),z(1),D("ngIf",!b.iconOnly),z(1),D("ngIf",b.removable))},dzb=function(a){a&1&&(E(0,"span",19),Q(1,"No filters selected"),F())},fzb=function(a,b){if(a&1){var c=t();I(0);E(1,"b-signal-chip",20);K("onRemove",
function(){var d=v(c).$implicit,e=N(2);return w(e.toggleSignal(d))});F();J()}a&2&&(a=b.$implicit,z(1),D("removable",!0)("generalDescriptionOnly",!0)("iconOnly",!1)("isSelected",!0)("matTooltipShowDelay",750)("signal",Xg(6,ezb,a)))},izb=function(a){if(a&1){var b=t();E(0,"div",8)(1,"div",9)(2,"button",10);K("click",function(){v(b);var d=N();return w(d.fetchIssues())})("onHotkey",function(){v(b);var d=N();return w(d.fetchIssues())});H(3,"mat-icon",11);F();E(4,"p",12);Q(5," Applied alerts ");F();E(6,
"a",13);H(7,"mat-icon",14);F()();E(8,"section",15)(9,"select-signals-menu",16);K("selected",function(d){v(b);var e=N();return w(gzb(e,d))});F();P(10,dzb,2,0,"span",17);U(11,"async");P(12,fzb,2,8,"ng-container",18);U(13,"async");F()()}if(a&2){a=N();var c;z(2);D("hotkey",a.HOTKEYS.REFRESH_ISSUE_LIST);z(7);D("selectedSignals$",a.selectedSignals$);z(1);D("ngIf",0===(null!==(c=V(11,4,a.selectedSignals$))&&void 0!==c?c:Wg(8,hzb)).length);z(2);D("ngForOf",V(13,6,a.selectedSignals$))}},kzb=function(a){if(a&
1){var b=t();E(0,"div")(1,"button",21);K("click",function(){v(b);var c=N();return w(jzb(c))});Q(2," Dismiss selected ");F()()}a&2&&(a=N(),z(1),D("disabled",a.dismissSelectedInProgress))},lzb=function(a){a&1&&(E(0,"div",22),H(1,"b-spinner"),E(2,"span"),Q(3," Searching for issues needing attention..."),F()())},mzb=function(a){a&1&&(E(0,"p",28),Q(1," No alerts are selected. Select alerts via the filter icon above. "),F())},nzb=function(a){a&1&&(E(0,"p",28),Q(1,"No issues matching the current filters."),
F())},ozb=function(a){a&1&&(E(0,"div",23),H(1,"img",24),E(2,"p",25),Q(3,"So empty"),F(),P(4,mzb,2,0,"p",26),U(5,"async"),P(6,nzb,2,0,"ng-template",null,27,qh),F());if(a&2){var b=O(7);a=N();var c;z(1);D("src",a.SPACE_EMPTY_STATE,Ie);z(3);D("ngIf",0===(null!==(c=V(5,3,a.selectedSignals$))&&void 0!==c?c:Wg(5,hzb)).length)("ngIfElse",b)}},pzb=function(a,b){a&1&&(E(0,"th",44)(1,"span",0),Q(2),F()());a&2&&(a=b.column,ug("data-stable-column-name",a.name),z(2),R("column-",a.name,""))},rzb=function(a,b){if(a&
1){var c=t();E(0,"th",45);I(1);E(2,"mat-pseudo-checkbox",46);K("click",function(d){v(c);var e=N(2);d.stopPropagation();return w(e.toggleAllIssueSelection())})("keydown.enter",function(d){v(c);var e=N(2);d.stopPropagation();return w(e.toggleAllIssueSelection())})("keydown.space",function(d){v(c);var e=N(2);d.stopPropagation();return w(e.toggleAllIssueSelection())});F();J();F()}a&2&&(a=b.column,b=N(2),ug("data-stable-column-name",a.name),z(2),D("state",b.getHeaderCheckboxState()),ug("aria-checked",
qzb(b)))},szb=function(a,b){a&1&&(E(0,"th"),I(1),H(2,"pop-grid-default-th",47),J(),F());a&2&&(a=b.column,ug("data-stable-column-name",a.name),z(2),D("column",a))},tzb=function(a){a&1&&H(0,"td",44)},uzb=function(a,b){if(a&1){var c=t();E(0,"td",45);I(1);E(2,"mat-pseudo-checkbox",48);K("click",function(d){var e=v(c),f=e.index;e=e.row;var h=N(2);d.stopPropagation();return w(h.onCheckboxClicked(d,f,e))});F();J();F()}a&2&&(a=b.row,z(2),D("state",a.selected?"checked":"unchecked"),ug("aria-label","Select issue "+
a.issueId)("aria-checked",a.selected))},vzb=function(a,b){if(a&1){var c=t();E(0,"td",49);I(1);E(2,"b-star-toggle",50);K("starClicked",function(){var d=v(c).row,e=N(2);return w(e.toggleStar(d))});F();J();F()}a&2&&(a=b.row,b=N(2),z(2),D("starred",a.starred)("disabled",b.starInProgress[a.issueId])("starMessage","Star this issue")("unStarMessage","Un-star this issue"))},xzb=function(a,b){if(a&1){var c=t();E(0,"td",51);I(1);E(2,"a",52);K("click",function(){var d=v(c).row,e=N(2);return w(wzb(e,d.issueId))});
Q(3);F();J();F()}a&2&&(a=b.row,b=N(2),z(2),D("href",b.paths.editIssue(a.issueId),Ie),ug("title",a.title),z(1),R(" ",a.issueId," "))},yzb=function(a,b){a&1&&(I(0),H(1,"b-signal-chip",54),J());a&2&&(a=b.$implicit,b=N(3),z(1),D("signal",a)("iconOnly",!0)("isSelected",b.selectedSignals$.value.includes(a.signalType)))},zzb=function(a,b){a&1&&(E(0,"td",53),P(1,yzb,2,3,"ng-container",18),F());a&2&&(a=b.row,z(1),D("ngForOf",a.signals))},Azb=function(a,b){if(a&1){var c=t();E(0,"td");I(1);E(2,"button",21);
K("click",function(){var d=v(c).row,e=N(2);return w(e.dismissIssue(d))});Q(3," Dismiss ");F();J();F()}a&2&&(a=b.row,b=N(2),z(2),D("disabled",b.dismissInProgress[a.issueId]))},Bzb=function(a){a&1&&H(0,"archived-issue-indicator")},Czb=function(a,b){a&1&&H(0,"b-hotlist-chip-smart",64);a&2&&D("id",b.$implicit)("removable",!1)},Dzb=function(a){a&1&&(E(0,"div",62),P(1,Czb,1,2,"b-hotlist-chip-smart",63),F());a&2&&(a=N().row,z(1),D("ngForOf",a.hotlistId))},Ezb=function(a,b){if(a&1){var c=t();E(0,"td",55);
U(1,"async");I(2);E(3,"div",56);U(4,"async");P(5,Bzb,1,0,"archived-issue-indicator",3);H(6,"b-access-level-indicator",57)(7,"b-retention-chip",58);E(8,"div",59)(9,"a",60);K("click",function(){var h=v(c).row,l=N(2);return w(wzb(l,h.issueId))});Q(10);F()();P(11,Dzb,2,1,"div",61);U(12,"async");F();J();F()}if(a&2){a=b.row;b=N(2);var d,e,f;Fg("bv2-grid-cell-variable-height",null==(d=V(1,15,b.listViewPrefs$))?null:d.wrapTitles);z(3);Fg("bv2-grid-cell-flex-wrap",null==(e=V(4,17,b.listViewPrefs$))?null:e.wrapTitles);
z(2);D("ngIf",a.archived);z(1);D("accessLevel",a.accessLevel)("compactMode",!0);z(1);D("retentionState",a.retentionState)("showOnlyInDangerZone",!0)("compactMode",!0)("modifiedTime",a.modifiedTime);z(2);D("href",b.paths.editIssue(a.issueId),Ie);ug("title",a.title);z(1);R(" ",a.title," ");z(1);D("ngIf",null==(f=V(12,19,b.listViewPrefs$))?null:f.showHotlists)}},Fzb=function(a,b){a&1&&(E(0,"td",65),I(1),E(2,"div",66),Q(3),F(),J(),F());a&2&&(a=b.row,b=N(2),z(2),Fg("low",b.isLowPriority(a))("high",b.isHighPriority(a))("p0",
b.isP0Priority(a)),z(1),R(" P",a.priority," "))},Gzb=function(a){a&1&&H(0,"mat-icon",72);if(a&2){a=N().$implicit;var b=N(4);D("svgIcon",b.STATUS_ICON[a])}},Hzb=function(a){a&1&&(I(0),Q(1),J());if(a&2){a=N().$implicit;var b=N(4);z(1);Sg(b.STATUS_TERSE[a])}},Izb=function(a){a&1&&(E(0,"span"),Q(1),F());if(a&2){a=N().$implicit;var b=N(4);Ig("chippy status-",a,"");z(1);R(" ",b.STATUS_TERSE[a]," ")}},Jzb=function(a,b){a&1&&(I(0),E(1,"span",68),U(2,"async"),P(3,Gzb,1,1,"mat-icon",69),P(4,Hzb,2,1,"ng-container",
70),P(5,Izb,2,4,"span",71),F(),J());if(a&2){a=b.$implicit;b=N(4);var c;z(1);D("ngSwitch",null==(c=V(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);D("ngSwitchCase","icon");z(1);D("ngSwitchCase","plain")}},Kzb=function(a){a&1&&(I(0),P(1,Jzb,6,6,"ng-container",3),J());if(a&2){a=N().row;var b=N(2);z(1);D("ngIf",b.convertIssueStatusStrToTag(a.status))}},Lzb=function(a){a&1&&(E(0,"td",67),P(1,Kzb,
2,1,"ng-container",3),F());a&2&&(N(2),z(1),D("ngIf",!0))},Mzb=function(a,b){a&1&&(E(0,"b-person-hovercard",75),Q(1),F());a&2&&(a=b.ngIf,b=N().row,D("email",a),z(1),R(" ",b.assignee," "))},Nzb=function(a){a&1&&(E(0,"span"),Q(1,"--"),F())},Ozb=function(a,b){a&1&&(E(0,"td",73),I(1),P(2,Mzb,2,2,"b-person-hovercard",74),U(3,"omitObfuscatedEmail"),P(4,Nzb,2,0,"span",3),J(),F());a&2&&(a=b.row,z(2),D("ngIf",V(3,2,a.assignee)),z(2),D("ngIf",!a.assignee))},Qzb=function(a){if(a&1){var b=t();E(0,"div",29)(1,
"pop-grid",30);K("focusedRowIndexChange",function(c){v(b);var d=N();return w(d.focusedRowIndex=c)})("rowClick",function(c){v(b);var d=N();return w(d.goToIssue(c.id,c.isRead,c.event))})("sortChange",function(c){v(b);var d=N();return w(d.onSortChange(c))});P(2,pzb,3,2,"th",31);P(3,rzb,3,3,"th",32);P(4,szb,3,2,"th",33);P(5,tzb,1,0,"td",34);P(6,uzb,3,3,"td",35);P(7,vzb,3,4,"td",36);P(8,xzb,4,3,"td",37);P(9,zzb,2,1,"td",38);P(10,Azb,4,1,"td",39);P(11,Ezb,13,21,"td",40);P(12,Fzb,4,7,"td",41);P(13,Lzb,2,
1,"td",42);P(14,Ozb,5,4,"td",43);F()()}a&2&&(a=N(),z(1),D("list",Pzb(a))("columns",a.columns)("focusedRowIndex",a.focusedRowIndex)("enableDragDropHeader",!1)("rowLabelRenderer",a.issueDescription)("sort",a.sortConfig),z(1),D("forHeaderCell","focused"),z(1),D("forHeaderCell","selected"),z(2),D("forViewCell","focused"),z(1),D("forViewCell","selected"),z(1),D("forViewCell","starred"),z(1),D("forViewCell","issueId"),z(1),D("forViewCell","alerts"),z(1),D("forViewCell","dismiss"),z(1),D("forViewCell","title"),
z(1),D("forViewCell","priority"),z(1),D("forViewCell","status"),z(1),D("forViewCell","assignee"))},Rzb=function(a){a&1&&Kg(0)},Tzb=function(a,b){a&1&&(I(0),P(1,Rzb,1,0,"ng-container",7),J());if(a&2){a=b.$implicit;N(3);var c=O(5);z(1);D("ngTemplateOutlet",c)("ngTemplateOutletContext",Xg(2,Szb,a))}},Uzb=function(a){a&1&&(E(0,"div",4)(1,"div",5),Q(2,"TEAMFOOD"),F(),P(3,Tzb,2,4,"ng-container",6),U(4,"async"),F());a&2&&(a=N(2),z(3),D("ngForOf",V(4,1,a.beapFeaturesTF$)))},Vzb=function(a){a&1&&Kg(0)},Wzb=
function(a,b){a&1&&(I(0),P(1,Vzb,1,0,"ng-container",7),J());if(a&2){a=b.$implicit;N(3);var c=O(5);z(1);D("ngTemplateOutlet",c)("ngTemplateOutletContext",Xg(2,Szb,a))}},Xzb=function(a){a&1&&(E(0,"div",4)(1,"div",5),Q(2,"EARLY ACCESS"),F(),P(3,Wzb,2,4,"ng-container",6),U(4,"async"),F());a&2&&(a=N(2),z(3),D("ngForOf",V(4,1,a.beapFeaturesEA$)))},Yzb=function(a){a&1&&(I(0),P(1,Uzb,5,3,"div",3),U(2,"async"),P(3,Xzb,5,3,"div",3),U(4,"async"),J());a&2&&(a=N(),z(1),D("ngIf",V(2,2,a.hasFeaturesTF$)),z(2),D("ngIf",
V(4,4,a.hasFeaturesEA$)))},Zzb=function(a){a&1&&(E(0,"div",8),Q(1,"No available experiments"),F())},$zb=function(a){a&1&&(E(0,"a",23),Q(1," Learn more"),F());a&2&&(a=N().feature,ug("href",a.learnMoreLink,Ie))},aAb=function(a){a&1&&(E(0,"b-callout",24)(1,"b-callout-body"),Q(2," Reload page to see changes. "),F()())},bAb=function(a,b){if(a&1){var c=t();E(0,"div",9)(1,"div",10)(2,"div",11);H(3,"mat-slide-toggle",12);U(4,"featureState");U(5,"featureState");F();E(6,"div",13)(7,"div",14);Q(8);F();E(9,"span",
15);Q(10);P(11,$zb,2,1,"a",16);F();E(12,"div",17)(13,"a",18);K("click",function(){var d=v(c).feature;N().linkClicked[d.experimentId]=!0;return w()});H(14,"mat-icon",19);Q(15);U(16,"featureState");F()();P(17,aAb,3,0,"b-callout",20);F();E(18,"div",21);H(19,"b-app-beap-state-indicator",22);F()()()}a&2&&(a=b.feature,b=N(),z(3),D("checked",V(4,10,a.state))("matTooltip",V(5,12,a.state)?"Opted in":"Opted out")("disabled",!0),z(5),R(" ",a.title," "),z(2),R("",a.description," "),z(1),D("ngIf",a.learnMoreLink),
z(2),ug("href","https://webdog.corp.google.com/app/list;frontend=buganizer;id="+a.experimentId,Ie),z(2),R(" ",V(16,14,a.state)?"Opt out":"Opt in"," "),z(2),D("ngIf",!!b.linkClicked[a.experimentId]),z(2),D("experimentId",a.experimentId))},cAb=function(a){a&1&&(E(0,"mat-option",26),Q(1),F());a&2&&(a=N().$implicit,D("value",a),z(1),R(" ",a.name," "))},dAb=function(a,b){a&1&&(I(0),P(1,cAb,2,2,"mat-option",25),J());a&2&&(a=b.$implicit,z(1),D("ngIf",a.shouldDisplay()))},eAb=function(a,b){a&1&&(E(0,"mat-option",
29),Q(1),F());a&2&&(a=b.$implicit,D("value",a.id),z(1),R(" ",a.name," "))},gAb=function(a){if(a&1){var b=t();E(0,"mat-form-field",5)(1,"mat-select",27);K("ngModelChange",function(c){v(b);var d=N();return w(d.preferredHomepage.selectedOptionId=c)})("selectionChange",function(){v(b);var c=N();return w(fAb(c.preferredHomepage))});P(2,eAb,2,2,"mat-option",28);F()()}a&2&&(a=N(),z(1),D("ngModel",a.preferredHomepage.selectedOptionId),z(1),D("ngForOf",a.preferredHomepage.selectedMainOption.options))},hAb=
function(a,b){a&1&&(E(0,"mat-option",30),Q(1),F());a&2&&(a=b.$implicit,D("value",a.value),z(1),R(" ",a.label," "))},iAb=function(a,b){a&1&&(E(0,"mat-option",30),Q(1),F());a&2&&(a=b.$implicit,D("value",a.value),z(1),R(" ",a.label," "))},jAb=function(a,b){a&1&&(E(0,"mat-option",30),Q(1),F());a&2&&(a=b.$implicit,D("value",a.value),z(1),R(" ",a.label," "))},kAb=function(a){if(a&1){var b=t();E(0,"div",20)(1,"mat-slide-toggle",31);K("change",function(c){v(b);var d=N();c=c.checked;d.userPreferences.showInlineImages=
c;d.save("showInlineImages",c.toString());return w()});Q(2," Show SnipIt images inline in comments ");F()()}a&2&&(a=N(),z(1),D("checked",a.getShowInlineImages()))},lAb=function(a){if(a&1){var b=t();I(0);E(1,"div",0)(2,"div",1)(3,"p",2);Q(4,"Other");F()();E(5,"div")(6,"div")(7,"mat-slide-toggle",32);K("change",function(c){v(b);var d=N();d.userPreferences.bugScreensaverPreferences.enableBugScreensaver=c.checked;return w(d.save("saveBugScreensaverPreferences"))});Q(8," Enable bug screensaver ");F()()()();
J()}a&2&&(a=N(),z(7),D("checked",a.userPreferences.bugScreensaverPreferences.enableBugScreensaver))},mAb=function(a,b){a&1&&(E(0,"mat-option",19),Q(1),U(2,"toNewEmailPreference"),F());a&2&&(a=b.$implicit,D("value",a),z(1),R(" ",V(2,2,a)," "))},nAb=function(a,b){a&1&&(E(0,"mat-option",19),Q(1),U(2,"toNewEmailPreference"),F());a&2&&(a=b.$implicit,D("value",a),z(1),R(" ",V(2,2,a)," "))},oAb=function(a,b){a&1&&(E(0,"mat-option",19),Q(1),U(2,"toNewEmailPreference"),F());a&2&&(a=b.$implicit,D("value",a),
z(1),R(" ",V(2,2,a)," "))},pAb=function(a,b){a&1&&(E(0,"mat-option",19),Q(1),U(2,"toNewEmailPreference"),F());a&2&&(a=b.$implicit,D("value",a),z(1),R(" ",V(2,2,a)," "))},qAb=function(a){if(a&1){var b=t();E(0,"div")(1,"mat-form-field",20)(2,"mat-label",21);Q(3," Collaborator ");F();E(4,"mat-select",7);K("ngModelChange",function(c){v(b);var d=N();return w(d.userPreferences.notificationPreferences.collaboratorPriority=c)})("selectionChange",function(){v(b);var c=N();return w(c.save("saveNotificationPreferences"))});
P(5,pAb,3,4,"mat-option",8);F()()()}a&2&&(a=N(),z(4),D("ngModel",a.userPreferences.notificationPreferences.collaboratorPriority),z(1),D("ngForOf",a.priorities))},rAb=function(a,b){a&1&&(E(0,"mat-option",19),Q(1),U(2,"toNewEmailPreference"),F());a&2&&(a=b.$implicit,D("value",a),z(1),R(" ",V(2,2,a)," "))},sAb=function(a,b){a&1&&(E(0,"mat-option",19),Q(1),U(2,"toNewEmailPreference"),F());a&2&&(a=b.$implicit,D("value",a),z(1),R(" ",V(2,2,a)," "))},tAb=function(a,b){a&1&&(E(0,"mat-option",3),Q(1),F());
a&2&&(a=b.$implicit,D("value",a.id),z(1),R(" ",a.displayName," "))},uAb=function(a){a&1&&(I(0),H(1,"b-spinner"),J())},vAb=function(a,b){a&1&&(E(0,"mat-option",16),Q(1),F());a&2&&(a=b.$implicit,D("value",a.frequency),z(1),R(" ",a.display," "))},wAb=function(a,b){a&1&&(E(0,"mat-option",16),Q(1),F());a&2&&(a=b.$implicit,D("value",a.ordinal),z(1),R(" ",a.display," "))},xAb=function(a){if(a&1){var b=t();E(0,"div")(1,"mat-form-field",11)(2,"mat-label");Q(3," Repeat on ");F();E(4,"mat-select",13);K("ngModelChange",
function(d){v(b);var e=N(2).ngIf,f=N(2);Ut(f,Object.assign({},e,{ordinal:d}));return w()});P(5,wAb,2,2,"mat-option",14);F()()()}if(a&2){a=N(2).ngIf;var c=N(2);z(4);D("ngModel",a.ordinal);z(1);D("ngForOf",c.repeatOnOptions.get(a.frequency))}},yAb=function(a,b){a&1&&(E(0,"mat-option",16),Q(1),F());a&2&&(a=b.$implicit,D("value",a.timeOfDay),z(1),R(" ~",a.display," "))},zAb=function(a,b){if(a&1){var c=t();I(0);E(1,"div")(2,"mat-form-field",11)(3,"mat-label");Q(4," Repeat at ");F();E(5,"mat-select",17);
K("ngModelChange",function(e){v(c);var f=N(2).ngIf,h=N(2);Ut(h,Object.assign({},f,{timeOfDay:e}));return w()});P(6,yAb,2,2,"mat-option",14);F()()();J()}if(a&2){a=b.ngIf;b=N(2).ngIf;var d=N(2);z(5);D("ngModel",b.timeOfDay)("compareWith",d.compareTimeOfDay);z(1);D("ngForOf",a)}},AAb=function(a){if(a&1){var b=t();I(0);E(1,"div")(2,"mat-form-field",11)(3,"mat-label");Q(4," Frequency ");F();E(5,"mat-select",13);K("ngModelChange",function(d){v(b);var e=N().ngIf,f=N(2);return w(f.setFrequency(d,e))});P(6,
vAb,2,2,"mat-option",14);F()()();P(7,xAb,6,2,"div",0);P(8,zAb,7,3,"ng-container",0);U(9,"async");E(10,"div")(11,"b-timezone-picker",15);K("timezoneIdChange",function(d){v(b);var e=N().ngIf,f=N(2);return w(f.setTimeZone(d,e))});F()();J()}if(a&2){a=N().ngIf;var c=N(2);z(5);D("ngModel",a.frequency);z(1);D("ngForOf",c.frequencyOptions);z(1);D("ngIf",a.frequency!==c.DAILY);z(1);D("ngIf",V(9,6,c.repeatAtOptions$));z(3);D("timezoneId",a.timeZone.id)("fullWidth",!0)}},CAb=function(a,b){if(a&1){var c=t();
I(0);E(1,"div")(2,"div",6)(3,"mat-slide-toggle",10);K("change",function(){v(c);var d=N(2);return w(BAb(d))});U(4,"async");Q(5," Subscribed ");P(6,uAb,2,0,"ng-container",0);U(7,"async");F()();E(8,"div")(9,"mat-form-field",11)(10,"mat-label");Q(11,"Scope");F();H(12,"input",12);F()();P(13,AAb,12,8,"ng-container",0);F();J()}a&2&&(a=b.ngIf,b=N(2),z(3),D("disabled",V(4,6,b.isThinking$))("checked",0!==a.id),z(3),D("ngIf",V(7,8,b.isThinking$)),z(6),D("ngModel",b.currentUser.email)("disabled",!0),z(1),D("ngIf",
0!==a.id))},DAb=function(a){a&1&&(I(0),E(1,"div",1)(2,"div",2)(3,"p",3),Q(4,"Frequency settings"),F(),E(5,"p",4),Q(6," Choose when to receive notifications for your report. "),F()(),P(7,CAb,14,10,"ng-container",0),U(8,"async"),F(),H(9,"hr",9),J());a&2&&(a=N(),z(7),D("ngIf",V(8,1,a.userSubscription$)))},EAb=function(a){a&1&&(I(0),H(1,"b-spinner"),J())},FAb=function(a){a&1&&(E(0,"th",26),Q(1,"Scope"),F())},GAb=function(a,b){a&1&&(E(0,"td",27),Q(1),F());a&2&&(a=b.$implicit,z(1),R(" ",a.lead.emailAddress,
" "))},HAb=function(a){a&1&&(E(0,"th",26),Q(1,"Frequency"),F())},KAb=function(a,b){a&1&&(E(0,"td",27),Q(1),U(2,"async"),U(3,"async"),F());if(a&2){a=b.$implicit;b=N(2);var c;z(1);Eia(" ",b.frequencyDisplayMap.get(a.frequency)," ",a.ordinal?"weekly"===a.frequency?"- "+IAb[a.ordinal-1].display:"monthly"===a.frequency?"- "+JAb(a.ordinal):"":""," - ",null==(c=V(2,4,b.hourOfDayDisplayMap$))?null:c.get(a.timeOfDay.hours)," - ",null==(c=V(3,6,b.timeZoneDisplayMap$))?null:c.get(a.timeZone.id)," ")}},LAb=function(a){a&
1&&H(0,"th",26)},NAb=function(a){if(a&1){var b=t();E(0,"td",27)(1,"button",28);H(2,"mat-icon",29);F();E(3,"mat-menu",null,30)(5,"button",31);K("click",function(){var d=v(b).$implicit,e=N(2);return w(e.openDialog(d))});Q(6," Edit subscription ");F();E(7,"button",31);K("click",function(){var d=v(b).$implicit,e=N(2);return w(MAb(e,d))});Q(8," Delete subscription ");F()()()}if(a&2){var c=O(4);z(1);D("matMenuTriggerFor",c)}},OAb=function(a){a&1&&H(0,"tr",32)},PAb=function(a){a&1&&H(0,"tr",33)},QAb=function(a){a&
1&&(I(0),E(1,"table",18),I(2,19),P(3,FAb,2,0,"th",20),P(4,GAb,2,1,"td",21),J(),I(5,22),P(6,HAb,2,0,"th",20),P(7,KAb,4,8,"td",21),J(),I(8,23),P(9,LAb,1,0,"th",20),P(10,NAb,9,1,"td",21),J(),P(11,OAb,1,0,"tr",24),P(12,PAb,1,0,"tr",25),F(),J());a&2&&(a=N(),z(1),D("dataSource",a.subscriptions$),z(10),D("matHeaderRowDef",a.columns),z(1),D("matRowDefColumns",a.columns))},RAb=function(a){a&1&&(E(0,"mat-error"),Q(1,"Please select a valid email"),F())},SAb=function(a,b){a&1&&(E(0,"mat-option",16),Q(1),F());
a&2&&(a=b.$implicit,D("value",a.frequency),z(1),R(" ",a.display," "))},TAb=function(a,b){a&1&&(E(0,"mat-option",16),Q(1),F());a&2&&(a=b.$implicit,D("value",a.ordinal),z(1),R(" ",a.display," "))},UAb=function(a){if(a&1){var b=t();E(0,"div")(1,"mat-form-field",11)(2,"mat-label");Q(3," Repeat on ");F();E(4,"mat-select",13);K("ngModelChange",function(d){v(b);var e=N().$implicit;return w(e.ordinal=d)});P(5,TAb,2,2,"mat-option",14);F()()()}if(a&2){a=N().$implicit;var c=N();z(4);D("ngModel",a.ordinal);z(1);
D("ngForOf",c.repeatOnOptions.get(a.frequency))}},VAb=function(a,b){a&1&&(E(0,"mat-option",16),Q(1),F());a&2&&(a=b.$implicit,D("value",a.timeOfDay),z(1),R(" ~",a.display," "))},WAb=function(a,b){if(a&1){var c=t();I(0);E(1,"div")(2,"mat-form-field",11)(3,"mat-label");Q(4," Repeat at ");F();E(5,"mat-select",17);K("ngModelChange",function(e){v(c);var f=N().$implicit;return w(f.timeOfDay=e)});P(6,VAb,2,2,"mat-option",14);F()()();J()}if(a&2){a=b.ngIf;b=N().$implicit;var d=N();z(5);D("ngModel",b.timeOfDay)("compareWith",
d.compareTimeOfDay);z(1);D("ngForOf",a)}},ZAb=function(a,b){if(a&1){var c=t();E(0,"h1",34);Q(1,"Add SLO report preference");F();E(2,"mat-dialog-content")(3,"p",35);Q(4," Select the user scope and frequency for your SLO email report. ");F();E(5,"div")(6,"mat-form-field",36)(7,"mat-label");Q(8,"Scope");F();E(9,"input",37);K("ngModelChange",function(e){var f=v(c).$implicit,h=N();return w(f.lead=h.emailToUser(e))});F();P(10,RAb,2,0,"mat-error",0);F()();E(11,"div")(12,"mat-form-field",11)(13,"mat-label");
Q(14," Frequency ");F();E(15,"mat-select",13);K("ngModelChange",function(e){var f=v(c).$implicit;return w(f.frequency=e)})("ngModelChange",function(e){var f=v(c).$implicit;N();return w(XAb(e,f))});P(16,SAb,2,2,"mat-option",14);F()()();P(17,UAb,6,2,"div",0);P(18,WAb,7,3,"ng-container",0);U(19,"async");E(20,"div")(21,"b-timezone-picker",15);K("timezoneIdChange",function(e){var f=v(c).$implicit;return w(f.timeZone.id=e)});F()()();E(22,"mat-dialog-actions")(23,"button",38);Q(24,"Cancel");F();E(25,"button",
39);K("click",function(){var e=v(c).$implicit,f=N();return w(YAb(f,e))});Q(26);F()()}if(a&2){a=b.$implicit;b=N();var d;z(9);D("ngModel",null!==(d=null==a.lead?null:a.lead.emailAddress)&&void 0!==d?d:"")("bContactAutocomplete","SINGLE");z(1);D("ngIf",b.dialogInvalidEmailFormat);z(5);D("ngModel",a.frequency);z(1);D("ngForOf",b.frequencyOptions);z(1);D("ngIf",a.frequency!==b.DAILY);z(1);D("ngIf",V(19,11,b.repeatAtOptions$));z(3);D("timezoneId",a.timeZone.id)("fullWidth",!0);z(4);D("disabled",!a.lead||
!a.lead.emailAddress);z(1);R(" ",0===a.id?"Add":"Update"," ")}},JAb=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"},$Ab=function(a){a&1&&(E(0,"mat-tab",7)(1,"div",3),H(2,"b-slo-reports-settings"),F()())},aBb=function(a){a&1&&(E(0,"mat-tab",8)(1,"div",3),H(2,"b-beap-settings"),F()())},bBb=function(a){if(a&1){var b=t();E(0,"b-star-toggle",13);K("starClicked",function(){v(b);var c=N(2);return w(c.toggleStar())});
F()}a&2&&(a=N(2),D("starMessage","Star this bookmark group")("unStarMessage","Un-star this bookmark group")("starred",a.isStarred))},cBb=function(a){a&1&&H(0,"b-star-toggle",14);a&2&&D("starMessage","You are an admin of this bookmark group, and cannot star/unstar it.")("unStarMessage","You are an admin of this bookmark group, and cannot star/unstar it.")("starred",!0)("disabled",!0)},dBb=function(a,b){a&1&&(E(0,"li")(1,"a",15),Q(2),F()());a&2&&(a=b.$implicit,b=N(2),z(1),D("href",b.getUrl(a),Ie)("title",
a.description),z(1),R(" ",b.getDisplayName(a)," "))},eBb=function(a){if(a&1){var b=t();E(0,"div")(1,"div",4)(2,"div",5);P(3,bBb,1,3,"b-star-toggle",6);P(4,cBb,1,4,"b-star-toggle",7);E(5,"span",8);Q(6);F();E(7,"button",9);K("click",function(){v(b);var c=N();return w(c.openEditBookmarkGroup())});F()();E(8,"div",10);Q(9);F()();E(10,"ul",11);P(11,dBb,3,3,"li",12);F()()}a&2&&(a=N(),z(3),D("ngIf",!a.userIsAdmin),z(1),D("ngIf",a.userIsAdmin),z(2),R("Bookmark Group: ",a.bookmarkGroup.name," "),z(3),Sg(a.bookmarkGroup.description),
z(2),D("ngForOf",a.bookmarkGroup.item))},fBb=function(a){if(a&1){var b=t();E(0,"b-star-toggle",16);K("starClicked",function(){v(b);var c=N(2);return w(c.toggleStar())})("keydown.space",function(c){return c.stopPropagation()})("keydown.enter",function(c){return c.stopPropagation()});F()}a&2&&(a=N(2),D("starMessage","Star this hotlist")("unStarMessage","Un-star this hotlist")("starred",a.isStarred))},gBb=function(a){a&1&&H(0,"b-star-toggle",17);a&2&&D("starMessage","You are an admin of this hotlist, and cannot star/unstar it.")("unStarMessage",
"You are an admin of this hotlist, and cannot star/unstar it.")("starred",!0)("disabled",!0)},hBb=function(a){a&1&&H(0,"b-star-toggle",17);a&2&&D("starMessage","")("unStarMessage","")("starred",!1)("disabled",!0)},iBb=function(a){a&1&&(E(0,"div",18),Q(1," Hotlist not found. "),F());a&2&&D("bFocus",!0)},jBb=function(a){a&1&&(E(0,"div"),Q(1," Loading details... "),F())},kBb=function(a){a&1&&(E(0,"span",25),Q(1," (archived) "),F())},lBb=function(a){a&1&&(E(0,"span",26),Q(1," \u00a0(changed) "),F())},
mBb=function(a){if(a&1){var b=t();E(0,"div")(1,"span",19);Q(2," Hotlist: ");E(3,"span",20);Q(4);F()();P(5,kBb,2,0,"span",21);E(6,"div",22)(7,"button",23);K("click",function(){v(b);var c=N(2);return w(c.openEditHotlist())});F()();P(8,lBb,2,0,"span",24);F()}a&2&&(a=N(2),z(3),D("matTooltip",a.hotlist.description),z(1),R(" ",a.hotlist.name," "),z(1),D("ngIf",a.hotlist.archived),z(3),D("ngIf",a.hasParamChanges()))},nBb=function(a){if(a&1){var b=t();E(0,"div",27)(1,"button",28);K("click",function(){v(b);
var c=N(2);return w(c.save())});Q(2,"Save ");F();E(3,"button",29);K("click",function(){v(b);var c=N(2);return w(c.discardChanges())});Q(4,"Discard changes ");F()()}},oBb=function(a){a&1&&(E(0,"div",9),P(1,fBb,1,3,"b-star-toggle",10),P(2,gBb,1,4,"b-star-toggle",11),P(3,hBb,1,4,"b-star-toggle",11),E(4,"div",12),P(5,iBb,2,1,"div",13),P(6,jBb,2,0,"div",14),P(7,mBb,9,4,"div",14),F(),P(8,nBb,5,0,"div",15),F());a&2&&(a=N(),z(1),D("ngIf",!a.isDirectAdmin()&&a.hotlist&&!a.hotlist.archived),z(1),D("ngIf",a.isDirectAdmin()&&
a.hotlist&&!a.hotlist.archived),z(1),D("ngIf",!a.hotlist),z(2),D("ngIf",!a.hotlist&&!a.hotlistLoading),z(1),D("ngIf",a.hotlistLoading),z(1),D("ngIf",a.hotlist&&!a.hotlistLoading),z(1),D("ngIf",a.hasParamChanges()))},pBb=function(a){a&1&&(E(0,"div",30),H(1,"b-spinner"),E(2,"span"),Q(3),F()());a&2&&(a=N(),z(3),R(" Loading hotlist: ",a.hotlistId,""))},qBb=function(a){a&1&&(E(0,"div",31),Q(1),F());a&2&&(a=N(),D("bFocus",!0),z(1),R(" No issues in hotlist ",a.hotlistId,". "))},rBb=function(a){if(a&1){var b=
t();E(0,"div",32)(1,"b-issues-grid",33);K("init",function(c){v(b);var d=N();return w(d.resultsGrid=c)})("focusedRowIndexChange",function(c){v(b);var d=N();return w(d.focusedRowIndex=c)})("columnsChange",function(c){v(b);var d=N();return w(d.issueColumns=c)})("sortChange",function(c){v(b);var d=N();return w(d.setSort(c.field,c.direction))})("rowClick",function(c){v(b);var d=N();return w(d.goToIssue(c.id,c.isRead,c.event))})("onRowDragDrop",function(c){v(b);var d=N();return w(d.repositionIssue(c.srcIndex,
c.destIndex))})("onNextPage",function(){v(b);var c=N();return w(Mt(c,c.page,1))})("onPrevPage",function(){v(b);var c=N();return w(Mt(c,c.page,-1))});F()()}a&2&&(a=N(),z(1),D("searchResults",a.searchResults)("focusedRowIndex",a.focusedRowIndex)("columns",a.issueColumns)("enableColumnSaving",!!a.isColumnSaveEnabled)("sort",a.getSort()))},sBb=function(a){a&1&&(E(0,"div"),Q(1," Loading details... "),F())},tBb=function(a){a&1&&(E(0,"div"),Q(1," Saved search not found. "),F())},uBb=function(a){a&1&&(E(0,
"span",15),Q(1," \u00a0(changed) "),F())},vBb=function(a){if(a&1){var b=t();E(0,"div",11);Q(1," Saved search: ");E(2,"span",12);Q(3);F();E(4,"button",13);K("click",function(){v(b);var c=N(2);return w(c.openEditSavedSearch())});F();P(5,uBb,2,0,"span",14);F()}a&2&&(a=N(2),z(2),D("matTooltip",a.savedSearch.description),z(1),R(" ",a.savedSearch.name," "),z(2),D("ngIf",a.hasParamChanges()))},wBb=function(a){a&1&&(E(0,"div",9),P(1,sBb,2,0,"div",8),P(2,tBb,2,0,"div",8),P(3,vBb,6,3,"div",10),F());a&2&&(a=
N(),z(1),D("ngIf",!a.savedSearch&&a.isLoading),z(1),D("ngIf",!a.savedSearch&&!a.isLoading),z(1),D("ngIf",a.savedSearch))},xBb=function(a){if(a&1){var b=t();E(0,"div",16)(1,"button",17);K("click",function(){v(b);var c=N();return w(c.save())});Q(2,"Save ");F();E(3,"button",18);K("click",function(){v(b);var c=N();return w(c.discardChanges())});Q(4,"Discard changes ");F();E(5,"span",19)(6,"a",20);K("click",function(){v(b);var c=N();c.analytics.trackEvent(c.ANALYTICS_CATEGORY,"backToNormalSearch");return w()});
Q(7," Back to normal search");F()()()}a&2&&(a=N(),z(6),D("href",a.exitLink,Ie))},yBb=function(a){a&1&&(E(0,"span"),Q(1),F());a&2&&(a=N(3),z(1),R(" Searching",a.searchParams.query?" for "+a.searchParams.query:"","..."))},zBb=function(a){a&1&&(E(0,"div",24),H(1,"b-spinner"),P(2,yBb,2,1,"span",8),F());a&2&&(a=N(2),z(2),D("ngIf",a.searchParams))},ABb=function(a){a&1&&(E(0,"div",25),Q(1," No issues in saved search. "),F());a&2&&D("bFocus",!0)},BBb=function(a){if(a&1){var b=t();E(0,"div",26)(1,"b-issues-grid",
27);K("init",function(c){v(b);var d=N(2);return w(d.resultsGrid=c)})("focusedRowIndexChange",function(c){v(b);var d=N(2);return w(d.focusedRowIndex=c)})("columnsChange",function(c){v(b);var d=N(2);return w(d.issueColumns=c)})("sortChange",function(c){v(b);var d=N(2);return w(d.setSort(c.field,c.direction))})("rowClick",function(c){v(b);var d=N(2);return w(d.goToIssue(c.id,c.isRead,c.event))})("onNextPage",function(){v(b);var c=N(2);return w(Mt(c,c.page,1))})("onPrevPage",function(){v(b);var c=N(2);
return w(Mt(c,c.page,-1))});F()()}a&2&&(a=N(2),z(1),D("searchResults",a.searchResults)("focusedRowIndex",a.focusedRowIndex)("columns",a.issueColumns)("enableColumnSaving",!!a.isColumnSaveEnabled)("sort",a.getSort()))},CBb=function(a){a&1&&(E(0,"div"),P(1,zBb,3,1,"div",21),P(2,ABb,2,1,"div",22),P(3,BBb,2,5,"div",23),F());a&2&&(a=N(),z(1),D("ngIf",a.isLoading),z(1),D("ngIf",!a.isLoading&&!a.hasResults()),z(1),D("ngIf",!a.isLoading&&a.hasResults()))},DBb=function(a,b){return rn().config.enabledFlags.get(a)?
[b]:[]},EBb=function(){var a=hd(Vt).getEnvironmentType(),b={};return(b.DEV="Dev",b.NIGHTLY="Autopush",b.QA="Dev",b.PROD="Prod",b)[a]},GBb=function(){return new FBb(new Wt("https://people-pa.googleapis.com","AIzaSyClMyMjdjUv-Z9gej4bgUQoU3CSbak7a9s",{withCredentials:!0,"googleapis.config/auth/useFirstPartyAuth":!0,"googleapis.config/auth/useFirstPartyAuthV2":!0}))},HBb=function(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}},IBb="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},JBb=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");},Xi=JBb(this),Xt=function(a,b){if(b)a:{var c=Xi;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&&IBb(c,a,{configurable:!0,writable:!0,value:b})}};Xt("Symbol",function(a){if(a)return a;var b=function(f,h){this.$jscomp$symbol$id_=f;IBb(this,"description",{configurable:!0,writable:!0,value:h})};b.prototype.toString=function(){return this.$jscomp$symbol$id_};var c="jscomp_symbol_"+(1E9*Math.random()>>>0)+"_",d=0,e=function(f){if(this instanceof e)throw new TypeError("b");return new b(c+(f||"")+"_"+d++,f)};return e});
Xt("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=Xi[b[c]];"function"===typeof d&&"function"!=typeof d.prototype[a]&&IBb(d.prototype,a,{configurable:!0,writable:!0,value:function(){return KBb(HBb(this))}})}return a});Xt("Symbol.asyncIterator",function(a){return a?a:Symbol("d")});
var KBb=function(a){a={next:a};a[Symbol.iterator]=function(){return this};return a},Yt=function(a){return a.raw=a},m=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:HBb(a)};throw Error("e`"+String(a));},Ff=function(a){for(var b,c=[];!(b=a.next()).done;)c.push(b.value);return c},r=function(a){return a instanceof Array?a:Ff(m(a))},Zt=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)},LBb="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)Zt(d,e)&&(a[e]=d[e])}return a};Xt("Object.assign",function(a){return a||LBb});var MBb="function"==typeof Object.create?Object.create:function(a){var b=function(){};b.prototype=a;return new b},NBb;
if("function"==typeof Object.setPrototypeOf)NBb=Object.setPrototypeOf;else{var OBb;a:{var PBb={a:!0},QBb={};try{QBb.__proto__=PBb;OBb=QBb.a;break a}catch(a){}OBb=!1}NBb=OBb?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError("f`"+a);return a}:null}
var $t=NBb,W=function(a,b){a.prototype=MBb(b.prototype);a.prototype.constructor=a;if($t)$t(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},RBb=function(){this.isRunning_=!1;this.yieldAllIterator_=null;this.yieldResult=void 0;this.nextAddress=1;this.finallyAddress_=this.catchAddress_=0;this.finallyContexts_=this.abruptCompletion_=null};g=RBb.prototype;
g.start_=function(){if(this.isRunning_)throw new TypeError("h");this.isRunning_=!0};g.next_=function(a){this.yieldResult=a};g.throw_=function(a){this.abruptCompletion_={exception:a,isException:!0};this.nextAddress=this.catchAddress_||this.finallyAddress_};g.return=function(a){this.abruptCompletion_={return:a};this.nextAddress=this.finallyAddress_};g.yield=function(a,b){this.nextAddress=b;return{value:a}};g.jumpTo=function(a){this.nextAddress=a};
var tf=function(a){a.nextAddress=0},pf=function(a,b,c){a.catchAddress_=b;void 0!=c&&(a.finallyAddress_=c)},au=function(a,b){a.nextAddress=b;a.catchAddress_=0},sf=function(a){a.catchAddress_=0;var b=a.abruptCompletion_.exception;a.abruptCompletion_=null;return b},qf=function(a,b,c,d){d?a.finallyContexts_[d]=a.abruptCompletion_:a.finallyContexts_=[a.abruptCompletion_];a.catchAddress_=b||0;a.finallyAddress_=c||0},rf=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},SBb=function(a){this.context_=new RBb;this.program_=a};SBb.prototype.next_=function(a){this.context_.start_();if(this.context_.yieldAllIterator_)return TBb(this,this.context_.yieldAllIterator_.next,a,this.context_.next_);this.context_.next_(a);return bu(this)};
var UBb=function(a,b){a.context_.start_();var c=a.context_.yieldAllIterator_;if(c)return TBb(a,"return"in c?c["return"]:function(d){return{value:d,done:!0}},b,a.context_.return);a.context_.return(b);return bu(a)};SBb.prototype.throw_=function(a){this.context_.start_();if(this.context_.yieldAllIterator_)return TBb(this,this.context_.yieldAllIterator_["throw"],a,this.context_.next_);this.context_.throw_(a);return bu(this)};
var TBb=function(a,b,c,d){try{var e=b.call(a.context_.yieldAllIterator_,c);if(!(e instanceof Object))throw new TypeError("g`"+e);if(!e.done)return a.context_.isRunning_=!1,e;var f=e.value}catch(h){return a.context_.yieldAllIterator_=null,a.context_.throw_(h),bu(a)}a.context_.yieldAllIterator_=null;d.call(a.context_,f);return bu(a)},bu=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}},VBb=function(a){this.next=function(b){return a.next_(b)};this.throw=function(b){return a.throw_(b)};this.return=function(b){return UBb(a,b)};this[Symbol.iterator]=function(){return this}},wbb=function(a){var b=xbb;a=new VBb(new SBb(a));$t&&b.prototype&&$t(a,
b.prototype);return a},WBb=function(a){function b(d){return a.next(d)}function c(d){return a.throw(d)}return new Promise(function(d,e){function f(h){h.done?d(h.value):Promise.resolve(h.value).then(b,c).then(f,e)}f(a.next())})},of=function(a){return WBb(new VBb(new SBb(a)))},ega=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))})},yd=function(){for(var a=Number(this),b=[],c=a;c<arguments.length;c++)b[c-a]=arguments[c];return b};Xt("Reflect.setPrototypeOf",function(a){return a?a:$t?function(b,c){try{return $t(b,c),!0}catch(d){return!1}}:null});
Xt("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=Xi.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(u){this.asyncThrow_(u)}}}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(u){return function(x){q||(q=!0,u.call(l,x))}}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=Xi.console;"undefined"!==typeof l&&l.error(h.result_)}},1)};e.prototype.notifyUnhandledRejection_=
function(){if(this.isRejectionHandled_)return!1;var h=Xi.CustomEvent,l=Xi.Event,q=Xi.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=Xi.document.createEvent("CustomEvent"),h.initCustomEvent("unhandledrejection",!1,!0,h));h.promise=this;h.reason=this.result_;return q(h)};e.prototype.executeOnSettledCallbacks_=function(){if(null!=this.onSettledCallbacks_){for(var h=
0;h<this.onSettledCallbacks_.length;++h)f.asyncExecute(this.onSettledCallbacks_[h]);this.onSettledCallbacks_=null}};var f=new b;e.prototype.settleSameAsPromise_=function(h){var 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(u){q.reject(u)}};e.prototype.then=function(h,l){function q(G,L){return"function"==typeof G?function(M){try{u(G(M))}catch(T){x(T)}}:
L}var u,x,y=new e(function(G,L){u=G;x=L});this.callWhenSettled_(q(h,u),q(l,x));return y};e.prototype.catch=function(h){return this.then(void 0,h)};e.prototype.callWhenSettled_=function(h,l){function q(){switch(u.state_){case 1:h(u.result_);break;case 2:l(u.result_);break;default:throw Error("k`"+u.state_);}}var u=this;null==this.onSettledCallbacks_?f.asyncExecute(q):this.onSettledCallbacks_.push(q);this.isRejectionHandled_=!0};e.resolve=c;e.reject=function(h){return new e(function(l,q){q(h)})};e.race=
function(h){return new e(function(l,q){for(var u=m(h),x=u.next();!x.done;x=u.next())c(x.value).callWhenSettled_(l,q)})};e.all=function(h){var l=m(h),q=l.next();return q.done?c([]):new e(function(u,x){function y(M){return function(T){G[M]=T;L--;0==L&&u(G)}}var G=[],L=0;do G.push(void 0),L++,c(q.value).callWhenSettled_(y(G.length-1),x),q=l.next();while(!q.done)})};return e});var cu=function(a,b,c){if(null==a)throw new TypeError("l`"+c);if(b instanceof RegExp)throw new TypeError("m`"+c);return a+""};
Xt("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=cu(this,b,"startsWith"),e=d.length,f=b.length;c=Math.max(0,Math.min(c|0,d.length));for(var h=0;h<f&&c<e;)if(d[c++]!=b[h++])return!1;return h>=f}});var XBb=function(a,b,c){a instanceof String&&(a=String(a));for(var d=a.length,e=0;e<d;e++){var f=a[e];if(b.call(c,f,e,a))return{i:e,v:f}}return{i:-1,v:void 0}};Xt("Array.prototype.find",function(a){return a?a:function(b,c){return XBb(this,b,c).v}});
Xt("WeakMap",function(a){function b(){}function c(q){var u=typeof q;return"object"===u&&null!==q||"function"===u}function d(q){if(!Zt(q,f)){var u=new b;IBb(q,f,{value:u})}}function e(q){var u=Object[q];u&&(Object[q]=function(x){if(x instanceof b)return x;Object.isExtensible(x)&&d(x);return u(x)})}if(function(){if(!a||!Object.seal)return!1;try{var q=Object.seal({}),u=Object.seal({}),x=new a([[q,2],[u,3]]);if(2!=x.get(q)||3!=x.get(u))return!1;x.delete(q);x.set(u,4);return!x.has(q)&&4==x.get(u)}catch(y){return!1}}())return a;
var f="$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=m(q);for(var u;!(u=q.next()).done;)u=u.value,this.set(u[0],u[1])}};l.prototype.set=function(q,u){if(!c(q))throw Error("n");d(q);if(!Zt(q,f))throw Error("o`"+q);q[f][this.id_]=u;return this};l.prototype.get=function(q){return c(q)&&Zt(q,f)?q[f][this.id_]:void 0};l.prototype.has=function(q){return c(q)&&Zt(q,f)&&Zt(q[f],this.id_)};l.prototype.delete=
function(q){return c(q)&&Zt(q,f)&&Zt(q[f],this.id_)?delete q[f][this.id_]:!1};return l});
Xt("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(m([[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 u=q.entries(),x=u.next();if(x.done||x.value[0]!=l||"s"!=x.value[1])return!1;x=u.next();return x.done||4!=x.value[0].x||"t"!=x.value[1]||!u.next().done?!1:!0}catch(y){return!1}}())return a;var b=new WeakMap,c=function(l){this.data_={};this.head_=
f();this.size=0;if(l){l=m(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 u=d(this,l);u.list||(u.list=this.data_[u.id]=[]);u.entry?u.entry.value=q:(u.entry={next:this.head_,previous:this.head_.previous,head:this.head_,key:l,value:q},u.list.push(u.entry),this.head_.previous.next=u.entry,this.head_.previous=u.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=f();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 u=this.entries(),x;!(x=u.next()).done;)x=x.value,l.call(q,x[1],x[0],this)};c.prototype[Symbol.iterator]=c.prototype.entries;var d=function(l,q){var u=q&&typeof q;"object"==u||"function"==u?b.has(q)?u=b.get(q):(u=""+ ++h,b.set(q,u)):u="p_"+q;var x=l.data_[u];if(x&&Zt(l.data_,u))for(l=0;l<x.length;l++){var y=x[l];if(q!==q&&y.key!==y.key||q===y.key)return{id:u,list:x,index:l,entry:y}}return{id:u,list:x,index:-1,
entry:void 0}},e=function(l,q){var u=l.head_;return KBb(function(){if(u){for(;u.head!=l.head_;)u=u.previous;for(;u.next!=u.head;)return u=u.next,{done:!1,value:q(u)};u=null}return{done:!0,value:void 0}})},f=function(){var l={};return l.previous=l.next=l.head=l},h=0;return c});Xt("Number.isFinite",function(a){return a?a:function(b){return"number"!==typeof b?!1:!isNaN(b)&&Infinity!==b&&-Infinity!==b}});Xt("Number.isNaN",function(a){return a?a:function(b){return"number"===typeof b&&isNaN(b)}});
var YBb=function(a,b){a instanceof String&&(a+="");var c=0,d=!1,e={next:function(){if(!d&&c<a.length){var f=c++;return{value:b(f,a[f]),done:!1}}d=!0;return{done:!0,value:void 0}}};e[Symbol.iterator]=function(){return e};return e};Xt("Array.prototype.entries",function(a){return a?a:function(){return YBb(this,function(b,c){return[b,c]})}});Xt("Array.prototype.keys",function(a){return a?a:function(){return YBb(this,function(b){return b})}});
Xt("Array.from",function(a){return a?a:function(b,c,d){c=null!=c?c:function(l){return l};var e=[],f="undefined"!=typeof Symbol&&Symbol.iterator&&b[Symbol.iterator];if("function"==typeof f){b=f.call(b);for(var h=0;!(f=b.next()).done;)e.push(c.call(d,f.value,h++))}else for(f=b.length,h=0;h<f;h++)e.push(c.call(d,b[h],h));return e}});Xt("Number.isInteger",function(a){return a?a:function(b){return Number.isFinite(b)?b===Math.floor(b):!1}});
Xt("Array.prototype.values",function(a){return a?a:function(){return YBb(this,function(b,c){return c})}});Xt("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 du=function(a){return a?a:Array.prototype.fill};Xt("Int8Array.prototype.fill",du);Xt("Uint8Array.prototype.fill",du);Xt("Uint8ClampedArray.prototype.fill",du);
Xt("Int16Array.prototype.fill",du);Xt("Uint16Array.prototype.fill",du);Xt("Int32Array.prototype.fill",du);Xt("Uint32Array.prototype.fill",du);Xt("Float32Array.prototype.fill",du);Xt("Float64Array.prototype.fill",du);Xt("Object.setPrototypeOf",function(a){return a||$t});
Xt("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(m([c]));if(!d.has(c)||1!=d.size||d.add(c)!=d||1!=d.size||d.add({x:4})!=d||2!=d.size)return!1;var e=d.entries(),f=e.next();if(f.done||f.value[0]!=c||f.value[1]!=c)return!1;f=e.next();return f.done||f.value[0]==c||4!=f.value[0].x||f.value[1]!=f.value[0]?!1:e.next().done}catch(h){return!1}}())return a;var b=function(c){this.map_=new Map;if(c){c=
m(c);for(var d;!(d=c.next()).done;)this.add(d.value)}this.size=this.map_.size};b.prototype.add=function(c){c=0===c?0:c;this.map_.set(c,c);this.size=this.map_.size;return this};b.prototype.delete=function(c){c=this.map_.delete(c);this.size=this.map_.size;return c};b.prototype.clear=function(){this.map_.clear();this.size=0};b.prototype.has=function(c){return this.map_.has(c)};b.prototype.entries=function(){return this.map_.entries()};b.prototype.values=function(){return this.map_.values()};b.prototype.keys=
b.prototype.values;b.prototype[Symbol.iterator]=b.prototype.values;b.prototype.forEach=function(c,d){var e=this;this.map_.forEach(function(f){return c.call(d,f,f,e)})};return b});Xt("Object.entries",function(a){return a?a:function(b){var c=[],d;for(d in b)Zt(b,d)&&c.push([d,b[d]]);return c}});Xt("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}});
Xt("String.prototype.endsWith",function(a){return a?a:function(b,c){var d=cu(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}});Xt("String.prototype.repeat",function(a){return a?a:function(b){var c=cu(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}});Xt("Object.getOwnPropertySymbols",function(a){return a?a:function(){return[]}});
Xt("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}});Xt("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}});Xt("Object.is",function(a){return a?a:function(b,c){return b===c?0!==b||1/b===1/c:b!==b&&c!==c}});
Xt("Array.prototype.findIndex",function(a){return a?a:function(b,c){return XBb(this,b,c).i}});Xt("Array.prototype.flatMap",function(a){return a?a:function(b,c){var d=[];Array.prototype.forEach.call(this,function(e,f){e=b.call(c,e,f,this);Array.isArray(e)?d.push.apply(d,e):d.push(e)});return d}});
Xt("String.prototype.matchAll",function(a){return a?a:function(b){if(b instanceof RegExp&&!b.global)throw new TypeError("q");var c=new RegExp(b,b instanceof RegExp?void 0:"g"),d=this,e=!1,f={next:function(){if(e)return{value:void 0,done:!0};var h=c.exec(d);if(!h)return e=!0,{value:void 0,done:!0};""===h[0]&&(c.lastIndex+=1);return{value:h,done:!1}}};f[Symbol.iterator]=function(){return f};return f}});
Xt("Array.prototype.includes",function(a){return a?a:function(b,c){var d=this;d instanceof String&&(d=String(d));var e=d.length;c=c||0;for(0>c&&(c=Math.max(c+e,0));c<e;c++){var f=d[c];if(f===b||Object.is(f,b))return!0}return!1}});Xt("String.prototype.includes",function(a){return a?a:function(b,c){return-1!==cu(this,b,"includes").indexOf(b,c||0)}});
Xt("Promise.allSettled",function(a){function b(d){return{status:"fulfilled",value:d}}function c(d){return{status:"rejected",reason:d}}return a?a:function(d){var e=this;d=Array.from(d,function(f){return e.resolve(f).then(b,c)});return e.all(d)}});Xt("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}});
Xt("String.prototype.padStart",function(a){return a?a:function(b,c){var d=cu(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}});Xt("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)Zt(b,d)&&c.push(b[d]);return c}});
Xt("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;})})}});
Xt("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)}});Xt("Array.of",function(a){return a?a:function(b){return Array.from(arguments)}});
Xt("String.prototype.codePointAt",function(a){return a?a:function(b){var c=cu(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 ZBb=ZBb||{},da=this||self,$Bb=function(a,b){var c=tq("WIZ_global_data.oxN3nb");a=c&&c[a];return null!=a?a:b},tq=function(a,b){a=a.split(".");b=b||da;for(var c=0;c<a.length;c++)if(b=b[a[c]],null==b)return null;return b},kc=function(a){var b=typeof a;return"object"!=b?b:a?Array.isArray(a)?"array":b:"null"},Pa=function(a){var b=kc(a);return"array"==b||"object"==b&&"number"==typeof a.length},Ta=function(a){var b=typeof a;return"object"==b&&null!=a||"function"==b},Ua=function(a){return Object.prototype.hasOwnProperty.call(a,
aCb)&&a[aCb]||(a[aCb]=++bCb)},aCb="closure_uid_"+(1E9*Math.random()>>>0),bCb=0,cCb=function(a,b,c){return a.call.apply(a.bind,arguments)},dCb=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)}},eu=function(a,b,c){eu=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?
cCb:dCb;return eu.apply(null,arguments)},fu=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)}},eCb=function(a){(0,eval)(a)},fCb=function(a,b){a=a.split(".");var c=da;a[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)a.length||void 0===b?c[d]&&c[d]!==Object.prototype[d]?c=c[d]:c=c[d]={}:c[d]=b},gu=function(a,b){function c(){}c.prototype=b.prototype;a.superClass_=
b.prototype;a.prototype=new c;a.prototype.constructor=a;a.base=function(d,e,f){for(var h=Array(arguments.length-2),l=2;l<arguments.length;l++)h[l-2]=arguments[l];return b.prototype[e].apply(d,h)}},gCb=function(a){return a};gu(ba,Error);ba.prototype.name="CustomError";var hCb;gu(ca,ba);ca.prototype.name="AssertionError";var Nj=function(a,b){return 0==a.lastIndexOf(b,0)},hu=function(a,b){var c=a.length-b.length;return 0<=c&&a.indexOf(b,c)==c},S6a=function(a){return 0==Lr("@ldap.google.com",a.slice(a.length-16))},Hm=function(a){return/^[\s\xa0]*$/.test(a)},Qj=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]},Lr=function(a,b){a=String(a).toLowerCase();b=String(b).toLowerCase();return a<b?-1:a==b?0:1},pCb=function(a){if(!iCb.test(a))return a;-1!=a.indexOf("&")&&
(a=a.replace(jCb,"&amp;"));-1!=a.indexOf("<")&&(a=a.replace(kCb,"&lt;"));-1!=a.indexOf(">")&&(a=a.replace(lCb,"&gt;"));-1!=a.indexOf('"')&&(a=a.replace(mCb,"&quot;"));-1!=a.indexOf("'")&&(a=a.replace(nCb,"&#39;"));-1!=a.indexOf("\x00")&&(a=a.replace(oCb,"&#0;"));return a},jCb=/&/g,kCb=/</g,lCb=/>/g,mCb=/"/g,nCb=/'/g,oCb=/\x00/g,iCb=/[\x00&<>"']/,ka=function(a,b){return-1!=a.indexOf(b)},za=function(a,b){return ka(a.toLowerCase(),b.toLowerCase())},Aa=function(a,b){var c=0;a=Qj(String(a)).split(".");
b=Qj(String(b)).split(".");for(var d=Math.max(a.length,b.length),e=0;0==c&&e<d;e++){var f=a[e]||"",h=b[e]||"";do{f=/(\d*)(\D*)(.*)/.exec(f)||["","","",""];h=/(\d*)(\D*)(.*)/.exec(h)||["","","",""];if(0==f[0].length&&0==h[0].length)break;c=qCb(0==f[1].length?0:parseInt(f[1],10),0==h[1].length?0:parseInt(h[1],10))||qCb(0==f[2].length,0==h[2].length)||qCb(f[2],h[2]);f=f[3];h=h[3]}while(0==c)}return c},qCb=function(a,b){return a<b?-1:a>b?1:0};var ia=$Bb(610401301,!1),rCb=$Bb(516931134,$Bb(1,!0));var ja,sCb=da.navigator;ja=sCb?sCb.userAgentData||null:null;var Ga=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},Ea=Array.prototype.forEach?function(a,b,c){Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e="string"===typeof a?a.split(""):a,f=0;f<d;f++)f in e&&b.call(c,e[f],f,a)},tCb=Array.prototype.filter?function(a,b,c){return Array.prototype.filter.call(a,
b,c)}:function(a,b,c){for(var d=a.length,e=[],f=0,h="string"===typeof a?a.split(""):a,l=0;l<d;l++)if(l in h){var q=h[l];b.call(c,q,l,a)&&(e[f++]=q)}return e},$b=Array.prototype.map?function(a,b){return Array.prototype.map.call(a,b,void 0)}:function(a,b){for(var c=a.length,d=Array(c),e="string"===typeof a?a.split(""):a,f=0;f<c;f++)f in e&&(d[f]=b.call(void 0,e[f],f,a));return d},uCb=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 vCb=function(a){vCb[" "](a);return a};vCb[" "]=function(){};var wCb=function(a,b){try{return vCb(a[b]),!0}catch(c){}return!1};var xCb=qa(),iu=aaa(),ju=oa("Edge"),dr=ju||iu,ku=oa("Gecko")&&!(za(fa(),"WebKit")&&!oa("Edge"))&&!(oa("Trident")||oa("MSIE"))&&!oa("Edge"),lu=za(fa(),"WebKit")&&!oa("Edge"),yCb=lu&&oa("Mobile"),Yr=haa(),zCb=iaa(),ACb=(va()?"Linux"===ja.platform:oa("Linux"))||jaa(),BCb=da.navigator||null;BCb&&ka(BCb.appVersion||"","X11");var CCb=gaa(),DCb=wa(),ECb=oa("iPad"),FCb=oa("iPod"),GCb=ya();za(fa(),"KaiOS");var HCb=function(){var a=da.document;return a?a.documentMode:void 0},ICb;
a:{var JCb="",KCb=function(){var a=fa();if(ku)return/rv:([^\);]+)(\)|;)/.exec(a);if(ju)return/Edge\/([\d\.]+)/.exec(a);if(iu)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(lu)return/WebKit\/(\S+)/.exec(a);if(xCb)return/(?:Version)[ \/]?(\S+)/.exec(a)}();KCb&&(JCb=KCb?KCb[1]:"");if(iu){var LCb=HCb();if(null!=LCb&&LCb>parseFloat(JCb)){ICb=String(LCb);break a}}ICb=JCb}var MCb=ICb,NCb;if(da.document&&iu){var OCb=HCb();NCb=OCb?OCb:parseInt(MCb,10)||void 0}else NCb=void 0;var mu=NCb;var PCb=sa(),QCb=wa()||oa("iPod"),RCb=oa("iPad"),SCb=daa(),TCb=ta(),UCb=caa()&&!ya();var VCb={},nu=null,WCb=ku||lu||!UCb&&!iu&&"function"==typeof da.atob,uaa=function(a,b){void 0===b&&(b=0);XCb();b=VCb[b];for(var c=Array(Math.floor(a.length/3)),d=b[64]||"",e=0,f=0;e<a.length-2;e+=3){var h=a[e],l=a[e+1],q=a[e+2],u=b[h>>2];h=b[(h&3)<<4|l>>4];l=b[(l&15)<<2|q>>6];q=b[q&63];c[f++]=u+h+l+q}u=0;q=d;switch(a.length-e){case 2:u=a[e+1],q=b[(u&15)<<2]||d;case 1:a=a[e],c[f]=b[a>>2]+b[(a&3)<<4|u>>4]+q+d}return c.join("")},ocb=function(a){if(WCb)return da.atob(a);var b="";YCb(a,function(c){b+=
String.fromCharCode(c)});return b},ZCb=function(a){var b=[];YCb(a,function(c){b.push(c)});return b},yaa=function(a){var b=a.length,c=3*b/4;c%3?c=Math.floor(c):ka("=.",a[b-1])&&(c=ka("=.",a[b-2])?c-2:c-1);var d=new Uint8Array(c),e=0;YCb(a,function(f){d[e++]=f});return e!==c?d.subarray(0,e):d},YCb=function(a,b){function c(q){for(;d<a.length;){var u=a.charAt(d++),x=nu[u];if(null!=x)return x;if(!Hm(u))throw Error("E`"+u);}return q}XCb();for(var d=0;;){var e=c(-1),f=c(0),h=c(64),l=c(64);if(64===l&&-1===
e)break;b(e<<2|f>>4);64!=h&&(b(f<<4&240|h>>2),64!=l&&b(h<<6&192|l))}},XCb=function(){if(!nu){nu={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;5>c;c++){var d=a.concat(b[c].split(""));VCb[c]=d;for(var e=0;e<d.length;e++){var f=d[e];void 0===nu[f]&&(nu[f]=e)}}}};var Baa="undefined"!==typeof Uint8Array,taa=!iu&&"function"===typeof btoa,zaa=/[-_.]/g,waa={"-":"+",_:"/",".":"="},Caa,db={};var $Cb,bb=function(a,b){if(b!==db)throw Error("F");this.value_=a;if(null!=a&&0===a.length)throw Error("G");},ab=function(){return $Cb||($Cb=new bb(null,db))},Yb=function(a){var b=a.value_;return null==b?"":"string"===typeof b?b:a.value_=vaa(b)},EIa=function(a){return(a=Faa(a))?new Uint8Array(a):Daa()};bb.prototype.isEmpty=function(){return null==this.value_};bb.prototype.sizeBytes=function(){var a=Faa(this);return a?a.length:0};
var Faa=function(a){if(db!==db)throw Error("F");var b=a.value_;null==b||$a(b)||("string"===typeof b?b=Aaa(b):(kc(b),b=null));return null==b?b:a.value_=b};var aDb="function"===typeof Uint8Array.prototype.slice,Jaa="function"===typeof BigInt;var bDb=function(a,b){this.bytes_=null;this.bytesAreImmutable_=!1;this.cursor_=this.end_=this.start_=0;this.init(a,void 0,void 0,b)};g=bDb.prototype;g.init=function(a,b,c,d){d=void 0===d?{}:d;this.aliasBytesFields=void 0===d.aliasBytesFields?!1:d.aliasBytesFields;a&&(a=Gaa(a),this.bytes_=a.buffer,this.bytesAreImmutable_=a.isImmutable,this.start_=b||0,this.end_=void 0!==c?this.start_+c:this.bytes_.length,this.cursor_=this.start_)};g.free=function(){this.clear();100>cDb.length&&cDb.push(this)};
g.clear=function(){this.bytes_=null;this.bytesAreImmutable_=!1;this.cursor_=this.end_=this.start_=0;this.aliasBytesFields=!1};g.getEnd=function(){return this.end_};g.setEnd=function(a){this.end_=a};g.reset=function(){this.cursor_=this.start_};g.getCursor=function(){return this.cursor_};g.advance=function(a){dDb(this,this.cursor_+a)};
g.readSplitVarint64=function(a){var b=0,c=0,d=0,e=this.bytes_,f=this.cursor_;do{var h=e[f++];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[f++],c|=(h&127)<<d;dDb(this,f);if(128>h)return a(b>>>0,c>>>0);throw Error("z");};var dDb=function(a,b){a.cursor_=b;if(b>a.end_)throw Error("A`"+b+"`"+a.end_);};g=bDb.prototype;
g.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");dDb(this,b);return d};g.readUint8=function(){var a=this.bytes_[this.cursor_];this.advance(1);return a};
g.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};g.readUint64=function(){var a=this.readUint32(),b=this.readUint32();return Haa(a,b)};g.readUint64String=function(){var a=this.readUint32(),b=this.readUint32();return Laa(a,b)};g.readInt8=function(){var a=this.bytes_[this.cursor_];this.advance(1);return a<<24>>24};
g.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};g.readInt64=function(){var a=this.readUint32(),b=this.readUint32();return Iaa(a,b)};g.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)};
g.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 dDb(this,b),!!(a&127)}throw Error("z");};g.readByteString=function(a){if(0==a)return ab();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?Daa():aDb?c.slice(b,a):new Uint8Array(c.subarray(b,a)));return Eaa(b)};
var cDb=[];var eDb=function(a,b){if(cDb.length){var c=cDb.pop();c.init(a,void 0,void 0,b);a=c}else a=new bDb(a,b);this.decoder_=a;this.fieldCursor_=this.decoder_.getCursor();this.nextWireType_=this.nextTag_=this.nextField_=-1;this.setOptions(b)};g=eDb.prototype;g.setOptions=function(a){a=void 0===a?{}:a;this.discardUnknownFields=void 0===a.discardUnknownFields?!1:a.discardUnknownFields};g.free=function(){this.decoder_.clear();this.nextWireType_=this.nextField_=this.nextTag_=-1;100>fDb.length&&fDb.push(this)};
g.getCursor=function(){return this.decoder_.getCursor()};g.getTag=function(){return this.nextTag_};g.reset=function(){this.decoder_.reset();this.fieldCursor_=this.decoder_.getCursor();this.nextWireType_=this.nextField_=this.nextTag_=-1};g.advance=function(a){this.decoder_.advance(a)};
var Jba=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},dc=function(a){switch(a.nextWireType_){case 0:0!=a.nextWireType_?dc(a):a.decoder_.readBool();break;case 1:a.decoder_.advance(8);break;case 2:if(2!=a.nextWireType_)dc(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(!Jba(a))throw Error("x");if(4==a.nextWireType_){if(a.nextField_!=b)throw Error("y");break}dc(a)}while(1);break;default:throw Error("v`"+a.nextWireType_+"`"+a.fieldCursor_);}};g=eDb.prototype;g.readInt32=function(){return this.decoder_.readSignedVarint32()};g.readInt64=function(){return this.decoder_.readSplitVarint64(Iaa)};g.readUint32=function(){return this.decoder_.readSignedVarint32()>>>0};
g.readUint64=function(){return this.decoder_.readSplitVarint64(Haa)};g.readUint64String=function(){return this.decoder_.readSplitVarint64(Laa)};g.readDouble=function(){return this.decoder_.readDouble()};g.readBool=function(){return this.decoder_.readBool()};g.readByteString=function(){var a=this.decoder_.readSignedVarint32()>>>0;return this.decoder_.readByteString(a)};g.readSplitVarint64=function(a){return this.decoder_.readSplitVarint64(a)};var fDb=[];var eb="function"===typeof Symbol&&"symbol"===typeof Symbol()?Symbol():void 0;var xb={},gDb,Fb=Object.freeze(hb([],23)),hDb=function(a){this.idx_=0;this.arr_=a};hDb.prototype.next=function(){return this.idx_<this.arr_.length?{done:!1,value:this.arr_[this.idx_++]}:{done:!0,value:void 0}};hDb.prototype[Symbol.iterator]=function(){return this};var Qb=!rCb;var Zaa="function"===typeof Symbol&&"symbol"===typeof Symbol()?Symbol():"di";var Kb=function(a,b,c,d){c=void 0===c?zb:c;d=void 0===d?zb:d;var e=gb(a);e|=32;hb(a,e);this.arrayState=e;this.valueCtor=b;this.keyToApi=c||zb;this.valueToApi=this.valueCtor?dba:d||zb;var f=new Map;this.map_=f;for(var h=0;h<a.length;h++){var l=a[h],q=c(l[0],!1,!0),u=l[1];b||(u=d(l[1],!1,!0,void 0,void 0,e));null!=q&&f.set(q,u)}this.size=f.size},iDb=function(a){if(a.arrayState&2)throw Error("P");},nba=function(a,b){b=void 0===b?eba:b;for(var c=Array.from(a.map_.keys()),d=0;d<c.length;d++){var e=c[d],
f=a.map_.get(c[d]);c[d]=[b(e),b(f)]}return c},hba=function(a,b){b=void 0===b?eba: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};g=Kb.prototype;g.getLength=function(){return this.size};g.clear=function(){iDb(this);this.map_.clear();this.size=0};g.delete=function(a){iDb(this);return this.map_.delete(a)?(this.size=this.map_.size,!0):!1};
g.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 hDb(a)};g.keys=function(){return this.map_.keys()};g.values=function(){for(var a=Array.from(this.map_.keys()),b=0;b<a.length;b++)a[b]=this.get(a[b]);return new hDb(a)};g.forEach=function(a,b){var c=this;this.map_.forEach(function(d,e){a.call(b,c.get(e),e,c)})};
g.set=function(a,b){iDb(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};g.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&&lb(c),d=this.valueToApi(c,!1,!0,e,this.callToMutableOnAccess,d),d!==c&&b.set(a,d),d):c}};
g.has=function(a){return this.valueCtor?null!=this.get(a):this.map_.has(a)};Kb.prototype[Symbol.iterator]=function(){return this.entries()};var jDb=function(a){var b=a.pivot_+a.arrayIndexOffset;return a.internalSparseObject_||(a.internalSparseObject_=a.internalArray_[b]={})},Db=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]},k=function(a,b,c,d){qb(a);return Gb(a,b,c,d)},Gb=function(a,b,c,d){a.internalCachedImmutable_&&(a.internalCachedImmutable_=void 0);if(b>=a.pivot_||d)return jDb(a)[b]=
c,a;a.internalArray_[b+a.arrayIndexOffset]=c;(c=a.internalSparseObject_)&&b in c&&delete c[b];return a},Jm=function(a,b){return null!=Db(a,b,!1)},Hl=function(a,b,c){return void 0!==kDb(a,b,c,!1)},Ql=function(a,b,c,d){return void 0!==kDb(a,b,mq(a,d,c))},lDb=function(a,b,c){return jba(a,b,c,!1,3,gb(a.internalArray_)).length},ou=function(a,b,c,d,e){Rb(a,b,c,e,d,!1,1);return a},nq=function(a,b){var c=Db(a,b),d=Uaa(c);null!=d&&d!==c&&Gb(a,b,d);return d},bt=function(a,b){a=Db(a,b);return null==a?a:!!a},
pq=function(a,b){var c=Db(a,b),d=pb(c,!0,!!(gb(a.internalArray_)&18));null!=d&&d!==c&&Gb(a,b,d);return d},pu=function(a,b,c,d){return Ib(a,b,Uaa,c,d)},Kl=function(a,b){a=pq(a,b);return null==a?ab():a},Tl=function(a,b,c){c=void 0===c?!1:c;return Vb(bt(a,b),c)},Jb,fn=function(a,b,c){c=null==c?Fb:Maa(c,1);return k(a,b,c)},sl=function(a,b,c){return Mb(a,b,c,vb)},Kk=function(a,b,c){return Mb(a,b,c,Xaa)},qu=function(a,b){return k(a,b,void 0,!1)},mDb=function(a,b,c){qb(a);c=pb(c,!1,!1);null==c||c.isEmpty()?
Gb(a,b,void 0,!1):Gb(a,b,c);return a},rk=function(a,b,c,d){qb(a);(c=Hk(a,c))&&c!==b&&null!=d&&Gb(a,c,void 0,!1);return Gb(a,b,d)},mq=function(a,b,c){return Hk(a,b)===c?c:-1},Hk=function(a,b){for(var c=0,d=0;d<b.length;d++){var e=b[d];null!=Db(a,e)&&(0!==c&&Gb(a,c,void 0,!1),c=e)}return c},ru=function(a,b,c){var d=gb(a.internalArray_);Paa(d);var e=Db(a,c);b=Cb(yb(e,b,!0,d));e!==b&&Gb(a,c,b);return b},kDb=function(a,b,c,d){var e=Db(a,c,d);b=yb(e,b,!1,gb(a.internalArray_));b!==e&&null!=b&&Gb(a,c,b,d);
return b},Ok=function(a,b,c,d){d=void 0===d?!1:d;b=kDb(a,b,c,d);if(null==b)return b;if(!nb(a)){var e=Cb(b);e!==b&&(b=e,Gb(a,c,b,d))}return b},yj=function(a,b,c){var d=gb(a.internalArray_),e=!!(d&2);b=jba(a,b,c,void 0,e?1:2,d);a=Qb?Hb(a,c,3,void 0,e):b;if(!(e||gb(a)&8)){for(e=0;e<b.length;e++)c=b[e],d=Cb(c),c!==d&&(b[e]=d,Qb&&(a[e]=d.internalArray_));fb(a,8)}return b},gl=function(a,b,c,d,e){qb(a);null==d&&(d=void 0);return Gb(a,c,d,e)},hq=function(a,b,c,d){qb(a);null==d&&(d=void 0);return rk(a,b,c,
d)},ac=function(a,b,c,d){qb(a);var e=null==c?Fb:Qb?ib([]):c;if(null!=c){for(var f=!!c.length,h=0;h<c.length;h++){var l=c[h];f=f&&!nb(l);Qb&&(e[h]=l.internalArray_)}e=Maa(e,1|(f?8:0)|(Qb?0:4));Qb&&(a.internalWrappers_||(a.internalWrappers_={}),a.internalWrappers_[b]=c)}else Qb&&a.internalWrappers_&&(a.internalWrappers_[b]=void 0);return Gb(a,b,e,d)},jq=function(a,b,c,d,e){Rb(a,b,c,d,e);return a},zj=function(a,b,c){c=void 0===c?0:c;return Vb(Db(a,b),c)},su=function(a,b){return Vaa(Db(a,b))},tu=function(a,
b){a=su(a,b);return null==a?void 0:a},nDb=function(a,b){a:if(a=Db(a,b),null!=a){switch(typeof a){case "string":a=+a;break a;case "number":break a}a=void 0}return a},ol=function(a,b,c){c=void 0===c?0:c;return Vb(Db(a,b),c)},uu=function(a,b){a=Db(a,b);return null==a?void 0:a},Ck=function(a,b,c){c=void 0===c?"0":c;return Vb(Db(a,b),c)},oDb=function(a,b){var c=void 0===c?0:c;return Vb(Db(a,b),c)},pDb=function(a,b){var c=void 0===c?0:c;return ol(a,mq(a,b,1),c)},iWa=function(a,b){var c=fr;var d=void 0===
d?"0":d;return Ck(a,mq(a,c,b),d)},xj=function(a,b,c,d){return Ib(a,b,Vaa,c,d)},Aj=function(a,b,c,d){return Ib(a,b,Waa,c,d)},Bj=function(a,b,c,d){return Ib(a,b,Yaa,c,d)},qDb=function(a,b){return Db(a,b)},Ym=function(a,b,c,d){return 2===d?Hb(a,b,2,!1,nb(a)):Hb(a,b,0,void 0===c?!1:c,nb(a))},rDb=function(a,b,c){return k(a,b,c)},Dk=function(a,b,c){c=void 0===c?"":c;return Vb(Db(a,b),c)},pl=function(a,b,c){c=void 0===c?0:c;return Vb(nq(a,b),c)},tk=function(a,b,c){c=void 0===c?0:c;return Vb(Db(a,b),c)},
vu=function(a,b,c){a=xj(a,b,void 0,2);rb(a,c);return a[c]},sDb=function(a,b){a=Ib(a,b,wb,void 0,2);rb(a);return a[void 0]},wu=function(a,b,c){a=Aj(a,b,void 0,2);rb(a,c);return a[c]},tDb=function(a,b){a=pu(a,1,void 0,2);rb(a,b);return a[b]},xu=function(a,b,c){a=Bj(a,b,void 0,2);rb(a,c);return a[c]},uDb=function(a,b){a=Ib(a,b,gb(a.internalArray_)&18?fba:gba,void 0,2);rb(a);return a[void 0]},vDb=function(a,b,c){a=Ym(a,b,void 0,2);rb(a,c);return a[c]},ok=function(a,b,c){return Dk(a,mq(a,c,b))},oq=function(a,
b,c){b=mq(a,c,b);return Db(a,b)},Sl=function(a,b,c,d){return Ok(a,b,mq(a,d,c))},yu=function(a,b){a=Db(a,b);return null==a?void 0:a},qt=function(a,b){a=Db(a,b);return null==a?void 0:a},Vk=function(a,b,c){return Nb(a,b,c,0)},Am=function(a,b){return null!=Db(a,b)},Tm=function(a,b){return null!=Db(a,b)},Bk=function(a,b){return null!=Db(a,b)},Km=function(a,b){return null!=su(a,b)},nl=function(a,b){return null!=Db(a,b)},wDb=function(a,b,c){return iba(a,Db(a,b),b,void 0,c,cba)},Yl=function(a,b,c){return iba(a,
Db(a,b),b,void 0,c,Bb)};var Wb;var Y=function(a,b,c,d){null==a&&(a=Wb);Wb=void 0;var e=this.constructor.messageId;if(null==a){a=e?[e]:[];var f=48;var h=!0;d&&(f|=128);hb(a,f)}else{if(!Array.isArray(a))throw Error();if(e&&e!==a[0])throw Error();f=fb(a,0)|32;h=0!==(16&f);if(d){if(f|=128,0<a.length){var l=a[a.length-1];if(ob(l)&&"g"in l){delete l.g;var q=!0,u;for(u in l){q=!1;break}q&&a.pop()}}}else if(128&f)throw Error();hb(a,f)}this.arrayIndexOffset=e?0:-1;this.internalWrappers_=void 0;this.internalArray_=a;a:{f=this.internalArray_.length;
e=f-1;if(f&&(f=this.internalArray_[e],ob(f))){this.internalSparseObject_=f;this.pivot_=e-this.arrayIndexOffset;break a}void 0!==b&&-1<b?(this.pivot_=Math.max(b,e+1-this.arrayIndexOffset),this.internalSparseObject_=void 0):this.pivot_=Number.MAX_VALUE}if(!d&&this.internalSparseObject_&&"g"in this.internalSparseObject_)throw Error("R");if(c){b=h&&!0;d=this.pivot_;var x;for(h=0;h<c.length;h++)e=c[h],e<d?(e+=this.arrayIndexOffset,(f=a[e])?wba(f,b):a[e]=Fb):(x||(x=jDb(this)),(f=x[e])?wba(f,b):x[e]=Fb)}};
Y.prototype.toJSON=function(){var a=this.internalArray_;return gDb?a:Zb(a,pba,qba,void 0,!1,!1)};Y.prototype.serialize=function(){gDb=!0;try{return JSON.stringify(this.toJSON(),mba)}finally{gDb=!1}};var Pba=function(a,b){if(null==b||""==b)return new a;b=JSON.parse(b);if(!Array.isArray(b))throw Error(void 0);return kba(a,lb(b))};
Y.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 Lba=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};Y.prototype.hasExtension=function(a){return void 0!==Lba(this,a)};Y.prototype.clone=function(){return vba(this,!1)};Y.prototype.isMutable=function(){return!nb(this)};
Y.prototype.isImmutable=function(){return nb(this)};var zu=function(a,b,c){return b.ctor?b.setExtensionFn(a,b.ctor,b.fieldIndex,c,!0):b.setExtensionFn(a,b.fieldIndex,c,!0)};Y.prototype.messagePrototypeMarker=xb;Y.prototype.toString=function(){return this.internalArray_.toString()};var bc=Symbol(),Dba=Symbol(),cc=Symbol(),xDb=ec(function(a,b,c){if(0!==a.nextWireType_)return!1;k(b,c,a.readInt64());return!0},function(a,b,c){a.writeInt64(c,Db(b,c))}),Au=ec(function(a,b,c){if(0!==a.nextWireType_)return!1;k(b,c,a.readInt32());return!0},function(a,b,c){a.writeInt32(c,su(b,c))}),yDb=ec(function(a,b,c){if(0!==a.nextWireType_&&2!==a.nextWireType_)return!1;b=Hb(b,c,0,!1,nb(b));if(2==a.nextWireType_){c=bDb.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){a.writeRepeatedInt32(c,xj(b,c))}),zDb=ec(function(a,b,c){if(1!==a.nextWireType_)return!1;k(b,c,a.decoder_.readUint64String());return!0},function(a,b,c){a.writeFixed64(c,Db(b,c))}),ADb=ec(function(a,b,c){if(5!==a.nextWireType_)return!1;k(b,c,a.decoder_.readUint32());return!0},function(a,b,c){a.writeFixed32(c,nDb(b,c))}),BDb=ec(function(a,b,c){if(0!==a.nextWireType_)return!1;k(b,c,a.readBool());
return!0},function(a,b,c){a.writeBool(c,bt(b,c))}),CDb=ec(function(a,b,c,d,e){if(2!==a.nextWireType_)return!1;b=ru(b,d,c);c=a.decoder_.getEnd();d=a.decoder_.readSignedVarint32()>>>0;var f=a.decoder_.getCursor()+d,h=f-c;0>=h&&(a.decoder_.setEnd(f),e(b,a,void 0,void 0,void 0),h=f-a.decoder_.getCursor());if(h)throw Error("u`"+d+"`"+(d-h));a.decoder_.cursor_=f;a.decoder_.setEnd(c);return!0},function(a,b,c,d,e){a.writeMessage(c,Ok(b,d,c),e)});var Kba=function(a,b,c,d){this.fieldIndex=a;this.fieldName=b;this.ctor=c;this.toObjectFn=d;this.isRepeated=0;this.getExtensionFn=Ok;this.setExtensionFn=gl;this.defaultValue=void 0};var DDb=function(a){Y.call(this,a)};W(DDb,Y);DDb.prototype.getCustomerId=function(){return Db(this,1)};var EDb=function(a){Y.call(this,a)};W(EDb,Y);var FDb=function(a){Y.call(this,a)};W(FDb,Y);FDb.prototype.getCustomerId=function(){return Ok(this,DDb,1)};var GDb=function(a){Y.call(this,a)};W(GDb,Y);var HDb=[1,2];var Bu=function(a){Y.call(this,a)};W(Bu,Y);Bu.prototype.getId=function(){return Dk(this,1)};Bu.prototype.setId=function(a){return Ub(this,1,a)};Bu.prototype.getSourceId=function(){return tk(this,2,0)};Bu.prototype.setSourceId=function(a){return Vk(this,2,a)};var Cu=function(a){Y.call(this,a)};W(Cu,Y);g=Cu.prototype;g.getUrl=function(){return Dk(this,1)};g.setUrl=function(a){return Ub(this,1,a)};g.getHeight=function(){return zj(this,2)};g.setHeight=function(a){return Nb(this,2,a,0)};g.getWidth=function(){return zj(this,3)};g.setWidth=function(a){return Nb(this,3,a,0)};var El=function(a){Y.call(this,a)};W(El,Y);El.prototype.getSeconds=function(){return ol(this,1)};El.prototype.setSeconds=function(a){return Tb(this,1,a)};El.prototype.getNanos=function(){return zj(this,2)};El.prototype.setNanos=function(a){return Nb(this,2,a,0)};var IDb=function(a){Y.call(this,a)};W(IDb,Y);var Du=function(a){Y.call(this,a,-1,JDb)};W(Du,Y);Du.prototype.getEmail=function(a){return xu(this,1,a)};Du.prototype.setEmail=function(a){return Pb(this,1,a,void 0,Bj)};Du.prototype.getGroupId=function(a){return xu(this,2,a)};Du.prototype.setGroupId=function(a){Pb(this,2,a,void 0,Bj)};var JDb=[1,2];var vj=function(a){Y.call(this,a)};W(vj,Y);g=vj.prototype;g.getSeconds=function(){return ol(this,1)};g.setSeconds=function(a){return Tb(this,1,a)};g.getNanos=function(){return zj(this,2)};g.setNanos=function(a){return Nb(this,2,a,0)};g.toDate=function(){var a=this.getSeconds(),b=this.getNanos();return new Date(1E3*a+b/1E6)};var KDb=function(a){Y.call(this,a)};W(KDb,Y);var LDb=function(a){Y.call(this,a)};W(LDb,Y);var MDb=function(a){Y.call(this,a)};W(MDb,Y);var NDb=function(a){Y.call(this,a)};W(NDb,Y);NDb.prototype.getPhotoId=function(){return Dk(this,1)};var ODb=function(a){Y.call(this,a)};W(ODb,Y);var PDb=function(a){Y.call(this,a)};W(PDb,Y);var Eu=function(a){Y.call(this,a)};W(Eu,Y);var Fu=[2,4,5,6,7];var QDb=function(a){Y.call(this,a)};W(QDb,Y);var Gu=function(a){Y.call(this,a,-1,RDb)};W(Gu,Y);g=Gu.prototype;g.getId=function(){return Ok(this,Bu,1)};g.setId=function(a){return gl(this,Bu,1,a)};g.getName=function(){return Dk(this,2)};g.setName=function(a){return Ub(this,2,a)};g.getDescription=function(){return Dk(this,3)};g.setDescription=function(a){return Ub(this,3,a)};g.getParentId=function(){return Dk(this,4)};g.setParentId=function(a){return Ub(this,4,a)};g.getType=function(){return tk(this,6,0)};
g.setType=function(a){return Vk(this,6,a)};g.getMimeType=function(){return Dk(this,7)};g.setMimeType=function(a){Ub(this,7,a)};g.getUrl=function(){return Dk(this,8)};g.setUrl=function(a){return Ub(this,8,a)};g.getIconUrl=function(){return Dk(this,11)};g.setIconUrl=function(a){return Ub(this,11,a)};var Hu=function(a){return yj(a,Cu,10)};Gu.prototype.getLastModifiedTimestamp=function(){return Ok(this,vj,12)};var Iu=function(a){Y.call(this,a)};W(Iu,Y);
Iu.prototype.getShared=function(){return Tl(this,1)};Iu.prototype.setShared=function(a){Sb(this,1,a)};var RDb=[5,10,22];var Ju=function(a){Y.call(this,a)};W(Ju,Y);Ju.prototype.getLabel=function(){return Dk(this,2)};Ju.prototype.setLabel=function(a){return Ub(this,2,a)};var TDb=function(a){Y.call(this,a,-1,SDb)};W(TDb,Y);g=TDb.prototype;g.getStatus=function(){return tk(this,1,0)};g.setStatus=function(a){return Vk(this,1,a)};g.getItemList=function(){return yj(this,Gu,2)};g.setItemList=function(a){ac(this,2,a)};g.addItem=function(a,b){return jq(this,2,Gu,a,b)};g.setItem=function(a,b){return ou(this,2,Gu,a,b)};g.getItemCount=function(){return lDb(this,Gu,2)};g.getErrorCode=function(){return tk(this,4,0)};g.getInternalOnlyV1ViewInfo=function(){return Ok(this,Ju,7)};
var SDb=[2];var Ku=function(a){Y.call(this,a,-1,UDb)};W(Ku,Y);g=Ku.prototype;g.getSourceId=function(){return tk(this,1,0)};g.setSourceId=function(a){return Vk(this,1,a)};g.getName=function(){return Dk(this,8)};g.setName=function(a){return Ub(this,8,a)};g.getInternalOnlyV1ViewInfo=function(){return Ok(this,Ju,18)};var UDb=[14];var WDb=function(a){Y.call(this,a,-1,VDb)};W(WDb,Y);g=WDb.prototype;g.getCommand=function(){return tk(this,1,0)};g.setCommand=function(a){return Vk(this,1,a)};g.getSource=function(){return Ok(this,Ku,2)};g.setSource=function(a){return gl(this,Ku,2,a)};g.hasSource=function(){return Hl(this,Ku,2)};g.setVisible=function(a){return Sb(this,5,a)};g.getItemList=function(){return yj(this,Gu,7)};g.setItemList=function(a){ac(this,7,a)};g.addItem=function(a,b){return jq(this,7,Gu,a,b)};
g.setItem=function(a,b){return ou(this,7,Gu,a,b)};g.getItemCount=function(){return lDb(this,Gu,7)};var VDb=[3,7];var YDb=function(a){Y.call(this,a,-1,XDb)};W(YDb,Y);g=YDb.prototype;g.getCommand=function(){return tk(this,1,0)};g.setCommand=function(a){return Vk(this,1,a)};g.getItemList=function(){return yj(this,Gu,4)};g.setItemList=function(a){ac(this,4,a)};g.addItem=function(a,b){return jq(this,4,Gu,a,b)};g.setItem=function(a,b){return ou(this,4,Gu,a,b)};g.getItemCount=function(){return lDb(this,Gu,4)};var ZDb=mc(YDb),XDb=[4];var Xba="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");var Lu=function(a){return function(){return a}},Mu=function(){},$Db=function(a){return a},iJa=function(){var a=hJa;return function(){return!a.apply(this,arguments)}},aEb=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}},Nu=function(a,b){var c=0;return function(d){da.clearTimeout(c);var e=arguments;c=da.setTimeout(function(){a.apply(void 0,e)},b)}},bEb=function(a,b){var c=0,d=!1,e=[],f=function(){c=0;d&&(d=!1,h())},h=function(){c=da.setTimeout(f,b);var l=e;e=[];a.apply(void 0,l)};
return function(l){e=arguments;c?d=!0:h()}};var cEb={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 dEb,eEb=function(){if(void 0===dEb){var a=null,b=da.trustedTypes;if(b&&b.createPolicy){try{a=b.createPolicy("goog#html",{createHTML:gCb,createScript:gCb,createScriptURL:gCb})}catch(c){da.console&&da.console.error(c.message)}dEb=a}else dEb=a}return dEb};var xc=function(a,b){this.stringConstValueWithSecurityContract__googStringSecurityPrivate_=a===fEb&&b||"";this.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_=gEb};xc.prototype.implementsGoogStringTypedString=!0;xc.prototype.getTypedStringValue=function(){return this.stringConstValueWithSecurityContract__googStringSecurityPrivate_};
var yc=function(a){return a instanceof xc&&a.constructor===xc&&a.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_===gEb?a.stringConstValueWithSecurityContract__googStringSecurityPrivate_:"type_error:Const"},Jp=function(a){return new xc(fEb,a)},gEb={},fEb={};var Ou=function(a,b){this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_=b===hEb?a:""};Ou.prototype.toString=function(){return this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_+""};Ou.prototype.implementsGoogStringTypedString=!0;Ou.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_.toString()};
var oj=function(a){if(a instanceof Ou&&a.constructor===Ou)return a.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_;kc(a);return"type_error:TrustedResourceUrl"},Ip=function(a){return ki(yc(a))},hEb={},ki=function(a){var b=eEb();a=b?b.createScriptURL(a):a;return new Ou(a,hEb)};var vc=function(a,b){this.privateDoNotAccessOrElseSafeUrlWrappedValue_=b===iEb?a:""};vc.prototype.toString=function(){return this.privateDoNotAccessOrElseSafeUrlWrappedValue_.toString()};vc.prototype.implementsGoogStringTypedString=!0;vc.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeUrlWrappedValue_.toString()};
var wc=function(a){if(a instanceof vc&&a.constructor===vc)return a.privateDoNotAccessOrElseSafeUrlWrappedValue_;kc(a);return"type_error:SafeUrl"},jEb=/^data:(.*);base64,[a-z0-9+\/]+=*$/i,kEb=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i,fca=function(a){if(a instanceof vc)return a;a="object"==typeof a&&a.implementsGoogStringTypedString?a.getTypedStringValue():String(a);kEb.test(a)?a=ni(a):(a=String(a).replace(/(%0A|%0D)/g,""),a=a.match(jEb)?ni(a):null);return a},lEb;
try{new URL("s://g"),lEb=!0}catch(a){lEb=!1}
var mEb=lEb,PVa=function(a){if(a instanceof vc)return a;a="object"==typeof a&&a.implementsGoogStringTypedString?a.getTypedStringValue():String(a);a:{var b=a;if(mEb){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 ni(a)},iEb={},ni=function(a){return new vc(a,iEb)},zc=ni("about:invalid#zClosurez");var nEb={},Pu=function(a,b){this.privateDoNotAccessOrElseSafeStyleWrappedValue_=b===nEb?a:"";this.implementsGoogStringTypedString=!0};Pu.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeStyleWrappedValue_};Pu.prototype.toString=function(){return this.privateDoNotAccessOrElseSafeStyleWrappedValue_.toString()};
var oEb=function(a){if(a instanceof Pu&&a.constructor===Pu)return a.privateDoNotAccessOrElseSafeStyleWrappedValue_;kc(a);return"type_error:SafeStyle"},pEb=new Pu("",nEb),aca=RegExp("^[-+,.\"'%_!#/ a-zA-Z0-9\\[\\]]+$"),$ba=RegExp("\\b(url\\([ \t\n]*)('[ -&(-\\[\\]-~]*'|\"[ !#-\\[\\]-~]*\"|[!#-&*-\\[\\]-~]*)([ \t\n]*\\))","g"),Zba=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"),bca=/\/\*/;var qEb={},Qu=function(a,b){this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_=b===qEb?a:"";this.implementsGoogStringTypedString=!0};Qu.prototype.toString=function(){return this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_.toString()};Qu.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_};var rEb=function(a){if(a instanceof Qu&&a.constructor===Qu)return a.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_;kc(a);return"type_error:SafeStyleSheet"};var sEb={},Bq=function(a,b){this.privateDoNotAccessOrElseSafeHtmlWrappedValue_=b===sEb?a:"";this.implementsGoogStringTypedString=!0};Bq.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeHtmlWrappedValue_.toString()};Bq.prototype.toString=function(){return this.privateDoNotAccessOrElseSafeHtmlWrappedValue_.toString()};
var im=function(a){if(a instanceof Bq&&a.constructor===Bq)return a.privateDoNotAccessOrElseSafeHtmlWrappedValue_;kc(a);return"type_error:SafeHtml"},jp=function(a){return a instanceof Bq?a:ii(pCb("object"==typeof a&&a.implementsGoogStringTypedString?a.getTypedStringValue():String(a)))},Ru=function(a){if(a instanceof Bq)return a;a=jp(a);a=im(a).toString().replace(/(\r\n|\r|\n)/g,"<br>");return ii(a)},lp=function(a,b,c){var d=String(a);if(!tEb.test(d))throw Error("Z");if(d.toUpperCase()in uEb)throw Error("Z");
a=String(a);d="<"+a;var e="";if(b)for(var f in b)if(Object.prototype.hasOwnProperty.call(b,f)){if(!tEb.test(f))throw Error("Z");var h=b[f];if(null!=h){var l=f;var q=h;if(q instanceof xc)q=yc(q);else if("style"==l.toLowerCase()){h=void 0;if(!Ta(q))throw Error("Z");if(!(q instanceof Pu)){var u="";for(h in q)if(Object.prototype.hasOwnProperty.call(q,h)){if(!/^[-_a-zA-Z0-9]+$/.test(h))throw Error("Y`"+h);var x=q[h];null!=x&&(x=Array.isArray(x)?x.map(eca).join(" "):eca(x),u+=h+":"+x+";")}q=u?new Pu(u,
nEb):pEb}q=oEb(q)}else{if(/^on/i.test(l))throw Error("Z");if(l.toLowerCase()in vEb)if(q instanceof Ou)q=oj(q).toString();else if(q instanceof vc)q=wc(q);else if("string"===typeof q)q=(fca(q)||zc).getTypedStringValue();else throw Error("Z");}q.implementsGoogStringTypedString&&(q=q.getTypedStringValue());l=l+'="'+pCb(String(q))+'"';e+=" "+l}}b=d+e;null==c?c=[]:Array.isArray(c)||(c=[c]);!0===cEb[a.toLowerCase()]?b+=">":(f=mp(c),b+=">"+im(f).toString()+"</"+a+">");return ii(b)},wEb=function(a){var b=
jp(Nt),c=[],d=function(e){Array.isArray(e)?e.forEach(d):(e=jp(e),c.push(im(e).toString()))};a.forEach(d);return ii(c.join(im(b).toString()))},mp=function(a){return wEb(Array.prototype.slice.call(arguments))},ii=function(a){var b=eEb();a=b?b.createHTML(a):a;return new Bq(a,sEb)},tEb=/^[a-zA-Z0-9-]+$/,vEb={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0},uEb={APPLET:!0,BASE:!0,EMBED:!0,IFRAME:!0,LINK:!0,MATH:!0,META:!0,OBJECT:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0},Nt=
new Bq(da.trustedTypes&&da.trustedTypes.emptyHTML||"",sEb);var xEb=aEb(function(){var a=document.createElement("div"),b=document.createElement("div");b.appendChild(document.createElement("div"));a.appendChild(b);b=a.firstChild.firstChild;a.innerHTML=im(Nt);return!b.parentElement}),gJa=function(a,b){if(xEb())for(;a.lastChild;)a.removeChild(a.lastChild);a.innerHTML=im(b)},yEb=function(a,b){b=b instanceof vc?b:PVa(b);a.action=wc(b)},AEb=function(a,b){var c=zEb(a.ownerDocument&&a.ownerDocument.defaultView);c&&a.setAttribute("nonce",c);a.src=oj(b)},QVa=function(a,
b,c,d){a=a instanceof vc?a:PVa(a);b=b||da;c=c instanceof xc?yc(c):c||"";return void 0!==d?b.open(wc(a),c,d):b.open(wc(a),c)},BEb=/^[\w+/_-]+[=]{0,2}$/,zEb=function(a){a=(a||da).document;return a.querySelector?(a=a.querySelector("script[nonce]"))&&(a=a.nonce||a.getAttribute("nonce"))&&BEb.test(a)?a:"":""};var CEb=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")},DEb=function(a){return a.replace(/[\s\xa0]+/g," ").replace(/^\s+|\s+$/g,"")},er=function(a){return a=pCb(a)},EEb=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},l$a=function(a,b,c){return a.replace(new RegExp(kp(b),"g"),c.replace(/\$/g,
"$$$$"))},kp=function(a){return String(a).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")},FEb=String.prototype.repeat?function(a,b){return a.repeat(b)}:function(a,b){return Array(b+1).join(a)},Su=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+FEb("0",Math.max(0,b-c))+a},Gm=function(a){return null==a?"":String(a)},Tu=function(){return Math.floor(2147483648*Math.random()).toString(36)+
Math.abs(Math.floor(2147483648*Math.random())^Date.now()).toString(36)},Sj=function(a){var b=Number(a);return 0==b&&Hm(a)?NaN:b},Wj=function(a){return a.replace(RegExp("(^|[\\s]+)([a-z])","g"),function(b,c,d){return c+d.toUpperCase()})},Lj=function(a){isFinite(a)&&(a=String(a));return"string"===typeof a?/^\s*-?0x/i.test(a)?parseInt(a,16):parseInt(a,10):NaN},GEb=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(ha){q&&q.mark&&q.mark(ha)}function c(ha,xa){q&&q.measure&&q.measure(ha,xa)}function d(ha){return u+ha}function e(ha){ma||a[S]&&(ma=a[S].resolve(0));if(ma){var xa=ma[X];xa||(xa=ma.then);xa.call(ma,ha)}else a[T](ha,0)}function f(ha){0===Ma&&0===aa.length&&e(h);ha&&aa.push(ha)}function h(){if(!na){for(na=!0;aa.length;){var ha=aa;aa=[];for(var xa=0;xa<ha.length;xa++){var Da=ha[xa];try{Da.zone.runTask(Da,null,null)}catch(Wa){Ja.onUnhandledError(Wa)}}}Ja.microtaskDrainDone();na=
!1}}function l(){}var q=a.performance;b("Zone");var u=a.__Zone_symbol_prefix||"__zone_symbol__",x=!0===a[d("forceDuplicateZoneCheck")];if(a.Zone){if(x||"function"!==typeof a.Zone.__symbol__)throw Error("$");return a.Zone}var y=function(ha,xa){this._parent=ha;this._name=xa?xa.name||"unnamed":"<root>";this._properties=xa&&xa.properties||{};this._zoneDelegate=new L(this,this._parent&&this._parent._zoneDelegate,xa)};y.assertZonePatched=function(){if(a.Promise!==Fa.ZoneAwarePromise)throw Error("aa");};
y.__load_patch=function(ha,xa,Da){Da=void 0===Da?!1:Da;if(Fa.hasOwnProperty(ha)){if(!Da&&x)throw Error("ba`"+ha);}else a["__Zone_disable_"+ha]||(Da="Zone:"+ha,b(Da),Fa[ha]=xa(a,y,Ja),c(Da,Da))};y.prototype.get=function(ha){var xa=this.getZoneWith(ha);if(xa)return xa._properties[ha]};y.prototype.getZoneWith=function(ha){for(var xa=this;xa;){if(xa._properties.hasOwnProperty(ha))return xa;xa=xa._parent}return null};y.prototype.fork=function(ha){if(!ha)throw Error("ca");return this._zoneDelegate.fork(this,
ha)};y.prototype.wrap=function(ha,xa){if("function"!==typeof ha)throw Error("da`"+ha);var Da=this._zoneDelegate.intercept(this,ha,xa),Wa=this;return function(){return Wa.runGuarded(Da,this,arguments,xa)}};y.prototype.run=function(ha,xa,Da,Wa){Ab={parent:Ab,zone:this};try{return this._zoneDelegate.invoke(this,ha,xa,Da,Wa)}finally{Ab=Ab.parent}};y.prototype.runGuarded=function(ha,xa,Da,Wa){Ab={parent:Ab,zone:this};try{try{return this._zoneDelegate.invoke(this,ha,void 0===xa?null:xa,Da,Wa)}catch(Ra){if(this._zoneDelegate.handleError(this,
Ra))throw Ra;}}finally{Ab=Ab.parent}};y.prototype.runTask=function(ha,xa,Da){if(ha.zone!=this)throw Error("ea`"+(ha.zone||Ca).name+"`"+this.name);if("notScheduled"!==ha.state||"eventTask"!==ha.type&&"macroTask"!==ha.type){var Wa="running"!=ha.state;Wa&&ha._transitionTo("running","scheduled");ha.runCount++;var Ra=cb;cb=ha;Ab={parent:Ab,zone:this};try{"macroTask"==ha.type&&ha.data&&!ha.data.isPeriodic&&(ha.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,ha,xa,Da)}catch(Ec){if(this._zoneDelegate.handleError(this,
Ec))throw Ec;}}finally{"notScheduled"!==ha.state&&"unknown"!==ha.state&&("eventTask"==ha.type||ha.data&&ha.data.isPeriodic?Wa&&ha._transitionTo("scheduled","running"):(ha.runCount=0,this._updateTaskCount(ha,-1),Wa&&ha._transitionTo("notScheduled","running","notScheduled"))),Ab=Ab.parent,cb=Ra}}};y.prototype.scheduleTask=function(ha){if(ha.zone&&ha.zone!==this)for(var xa=this;xa;){if(xa===ha.zone)throw Error("fa`"+this.name+"`"+ha.zone.name);xa=xa.parent}ha._transitionTo("scheduling","notScheduled");
xa=[];ha._zoneDelegates=xa;ha._zone=this;try{ha=this._zoneDelegate.scheduleTask(this,ha)}catch(Da){throw ha._transitionTo("unknown","scheduling","notScheduled"),this._zoneDelegate.handleError(this,Da),Da;}ha._zoneDelegates===xa&&this._updateTaskCount(ha,1);"scheduling"==ha.state&&ha._transitionTo("scheduled","scheduling");return ha};y.prototype.scheduleMicroTask=function(ha,xa,Da,Wa){return this.scheduleTask(new M("microTask",ha,xa,Da,Wa,void 0))};y.prototype.scheduleMacroTask=function(ha,xa,Da,Wa,
Ra){return this.scheduleTask(new M("macroTask",ha,xa,Da,Wa,Ra))};y.prototype.scheduleEventTask=function(ha,xa,Da,Wa,Ra){return this.scheduleTask(new M("eventTask",ha,xa,Da,Wa,Ra))};y.prototype.cancelTask=function(ha){if(ha.zone!=this)throw Error("ga`"+(ha.zone||Ca).name+"`"+this.name);if("scheduled"===ha.state||"running"===ha.state){ha._transitionTo("canceling","scheduled","running");try{this._zoneDelegate.cancelTask(this,ha)}catch(xa){throw ha._transitionTo("unknown","canceling"),this._zoneDelegate.handleError(this,
xa),xa;}this._updateTaskCount(ha,-1);ha._transitionTo("notScheduled","canceling");ha.runCount=0;return ha}};y.prototype._updateTaskCount=function(ha,xa){var Da=ha._zoneDelegates;-1==xa&&(ha._zoneDelegates=null);for(var Wa=0;Wa<Da.length;Wa++)Da[Wa]._updateTaskCount(ha.type,xa)};Xi.Object.defineProperties(y.prototype,{parent:{configurable:!0,enumerable:!0,get:function(){return this._parent}},name:{configurable:!0,enumerable:!0,get:function(){return this._name}}});Xi.Object.defineProperties(y,{root:{configurable:!0,
enumerable:!0,get:function(){for(var ha=y.current;ha.parent;)ha=ha.parent;return ha}},current:{configurable:!0,enumerable:!0,get:function(){return Ab.zone}},currentTask:{configurable:!0,enumerable:!0,get:function(){return cb}}});y.__symbol__=d;var G={name:"",onHasTask:function(ha,xa,Da,Wa){return ha.hasTask(Da,Wa)},onScheduleTask:function(ha,xa,Da,Wa){return ha.scheduleTask(Da,Wa)},onInvokeTask:function(ha,xa,Da,Wa,Ra,Ec){return ha.invokeTask(Da,Wa,Ra,Ec)},onCancelTask:function(ha,xa,Da,Wa){return ha.cancelTask(Da,
Wa)}},L=function(ha,xa,Da){this._taskCounts={microTask:0,macroTask:0,eventTask:0};this.zone=ha;this._parentDelegate=xa;this._forkZS=Da&&(Da&&Da.onFork?Da:xa._forkZS);this._forkDlgt=Da&&(Da.onFork?xa:xa._forkDlgt);this._forkCurrZone=Da&&(Da.onFork?this.zone:xa._forkCurrZone);this._interceptZS=Da&&(Da.onIntercept?Da:xa._interceptZS);this._interceptDlgt=Da&&(Da.onIntercept?xa:xa._interceptDlgt);this._interceptCurrZone=Da&&(Da.onIntercept?this.zone:xa._interceptCurrZone);this._invokeZS=Da&&(Da.onInvoke?
Da:xa._invokeZS);this._invokeDlgt=Da&&(Da.onInvoke?xa:xa._invokeDlgt);this._invokeCurrZone=Da&&(Da.onInvoke?this.zone:xa._invokeCurrZone);this._handleErrorZS=Da&&(Da.onHandleError?Da:xa._handleErrorZS);this._handleErrorDlgt=Da&&(Da.onHandleError?xa:xa._handleErrorDlgt);this._handleErrorCurrZone=Da&&(Da.onHandleError?this.zone:xa._handleErrorCurrZone);this._scheduleTaskZS=Da&&(Da.onScheduleTask?Da:xa._scheduleTaskZS);this._scheduleTaskDlgt=Da&&(Da.onScheduleTask?xa:xa._scheduleTaskDlgt);this._scheduleTaskCurrZone=
Da&&(Da.onScheduleTask?this.zone:xa._scheduleTaskCurrZone);this._invokeTaskZS=Da&&(Da.onInvokeTask?Da:xa._invokeTaskZS);this._invokeTaskDlgt=Da&&(Da.onInvokeTask?xa:xa._invokeTaskDlgt);this._invokeTaskCurrZone=Da&&(Da.onInvokeTask?this.zone:xa._invokeTaskCurrZone);this._cancelTaskZS=Da&&(Da.onCancelTask?Da:xa._cancelTaskZS);this._cancelTaskDlgt=Da&&(Da.onCancelTask?xa:xa._cancelTaskDlgt);this._cancelTaskCurrZone=Da&&(Da.onCancelTask?this.zone:xa._cancelTaskCurrZone);this._hasTaskCurrZone=this._hasTaskDlgtOwner=
this._hasTaskDlgt=this._hasTaskZS=null;var Wa=Da&&Da.onHasTask,Ra=xa&&xa._hasTaskZS;if(Wa||Ra)this._hasTaskZS=Wa?Da:G,this._hasTaskDlgt=xa,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=ha,Da.onScheduleTask||(this._scheduleTaskZS=G,this._scheduleTaskDlgt=xa,this._scheduleTaskCurrZone=this.zone),Da.onInvokeTask||(this._invokeTaskZS=G,this._invokeTaskDlgt=xa,this._invokeTaskCurrZone=this.zone),Da.onCancelTask||(this._cancelTaskZS=G,this._cancelTaskDlgt=xa,this._cancelTaskCurrZone=this.zone)};L.prototype.fork=
function(ha,xa){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,ha,xa):new y(ha,xa)};L.prototype.intercept=function(ha,xa,Da){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,ha,xa,Da):xa};L.prototype.invoke=function(ha,xa,Da,Wa,Ra){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,ha,xa,Da,Wa,Ra):xa.apply(Da,Wa)};L.prototype.handleError=function(ha,xa){return this._handleErrorZS?this._handleErrorZS.onHandleError(this._handleErrorDlgt,
this._handleErrorCurrZone,ha,xa):!0};L.prototype.scheduleTask=function(ha,xa){var Da=xa;if(this._scheduleTaskZS)this._hasTaskZS&&Da._zoneDelegates.push(this._hasTaskDlgtOwner),(Da=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,ha,xa))||(Da=xa);else if(xa.scheduleFn)xa.scheduleFn(xa);else if("microTask"==xa.type)f(xa);else throw Error("ha");return Da};L.prototype.invokeTask=function(ha,xa,Da,Wa){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,
this._invokeTaskCurrZone,ha,xa,Da,Wa):xa.callback.apply(Da,Wa)};L.prototype.cancelTask=function(ha,xa){if(this._cancelTaskZS)ha=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,ha,xa);else{if(!xa.cancelFn)throw Error("ia");ha=xa.cancelFn(xa)}return ha};L.prototype.hasTask=function(ha,xa){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,ha,xa)}catch(Da){this.handleError(ha,Da)}};L.prototype._updateTaskCount=function(ha,xa){var Da=this._taskCounts,
Wa=Da[ha];xa=Da[ha]=Wa+xa;if(0>xa)throw Error("ja");0!=Wa&&0!=xa||this.hasTask(this.zone,{microTask:0<Da.microTask,macroTask:0<Da.macroTask,eventTask:0<Da.eventTask,change:ha})};var M=function(ha,xa,Da,Wa,Ra,Ec){this._zone=null;this.runCount=0;this._zoneDelegates=null;this._state="notScheduled";this.type=ha;this.source=xa;this.data=Wa;this.scheduleFn=Ra;this.cancelFn=Ec;if(!Da)throw Error("ka");this.callback=Da;var Va=this;this.invoke="eventTask"===ha&&Wa&&Wa.useG?M.invokeTask:function(){return M.invokeTask.call(a,
Va,this,arguments)}};M.invokeTask=function(ha,xa,Da){ha||(ha=this);Ma++;try{return ha.runCount++,ha.zone.runTask(ha,xa,Da)}finally{1==Ma&&h(),Ma--}};M.prototype._transitionTo=function(ha,xa,Da){if(this._state===xa||this._state===Da)this._state=ha,"notScheduled"==ha&&(this._zoneDelegates=null);else throw Error("la`"+this.type+"`"+this.source+"`"+ha+"`"+xa+"`"+(Da?" or '"+Da+"'":"")+"`"+this._state);};M.prototype.toString=function(){return this.data&&"undefined"!==typeof this.data.handleId?this.data.handleId.toString():
Object.prototype.toString.call(this)};M.prototype.toJSON=function(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}};Xi.Object.defineProperties(M.prototype,{zone:{configurable:!0,enumerable:!0,get:function(){return this._zone}},state:{configurable:!0,enumerable:!0,get:function(){return this._state}}});var T=d("setTimeout"),S=d("Promise"),X=d("then"),aa=[],na=!1,ma,Ca={name:"NO ZONE"},Fa={},Ja={symbol:d,currentZoneFrame:function(){return Ab},onUnhandledError:l,
microtaskDrainDone:l,scheduleMicroTask:f,showUncaughtError:function(){return!y[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},Ab={parent:null,zone:new y(null,null)},cb=null,Ma=0;c("Zone","Zone");return a.Zone=y})("undefined"!==typeof window&&window||"undefined"!==typeof self&&self||global);Zone.__load_patch("Error",function(a,b,c){function d(aa){for(var na={zoneName:aa.zone.name},ma=na;aa.parent;){aa=aa.parent;var Ca={zoneName:aa.zone.name};na=na.parent=Ca}return ma}function e(aa,na,ma){ma=void 0===ma?!0:ma;aa=aa.split("\n");for(var Ca=0;aa[Ca]!==u&&aa[Ca]!==x&&aa[Ca]!==y&&aa[Ca]!==G&&aa[Ca]!==L&&Ca<aa.length;)Ca++;for(;Ca<aa.length&&na;Ca++){var Fa=aa[Ca];if(Fa.trim())switch(q[Fa]){case 0:aa.splice(Ca,1);Ca--;break;case 1:na.parent?na=na.parent:na=null;aa.splice(Ca,1);Ca--;break;default:aa[Ca]+=
ma?" ["+na.zone.name+"]":" ["+na.zoneName+"]"}}return aa.join("\n")}function f(){var aa=this,na=l.apply(this,arguments),ma=na.originalStack=na.stack;if(f.stackRewrite&&ma){var Ca=c.currentZoneFrame();if("lazy"===M)na[c.symbol("zoneFrameNames")]=d(Ca);else if("default"===M)try{na.stack=na.zoneAwareStack=e(ma,Ca)}catch(Fa){}}return this instanceof l&&this.constructor!=l?(Object.keys(na).concat("stack","message").forEach(function(Fa){var Ja=na[Fa];if(void 0!==Ja)try{aa[Fa]=Ja}catch(Ab){}}),this):na}
var h=c.symbol("zoneJsInternalStackFrames"),l=a[c.symbol("Error")]=a.Error,q={},u,x,y,G,L;a.Error=f;var M=a.__Zone_Error_BlacklistedStackFrames_policy||a.__Zone_Error_ZoneJsInternalStackFrames_policy||"default";f.prototype=l.prototype;f[h]=q;f.stackRewrite=!1;var T=c.symbol("zoneAwareStack");"lazy"===M&&Object.defineProperty(f.prototype,"zoneAwareStack",{configurable:!0,enumerable:!0,get:function(){this[T]||(this[T]=e(this.originalStack,this[c.symbol("zoneFrameNames")],!1));return this[T]},set:function(aa){this.originalStack=
aa;this[T]=e(this.originalStack,this[c.symbol("zoneFrameNames")],!1)}});var S=["stackTraceLimit","captureStackTrace","prepareStackTrace"];(a=Object.keys(l))&&a.forEach(function(aa){0===S.filter(function(na){return na===aa}).length&&Object.defineProperty(f,aa,{get:function(){return l[aa]},set:function(na){l[aa]=na}})});l.hasOwnProperty("stackTraceLimit")&&(l.stackTraceLimit=Math.max(l.stackTraceLimit,15),Object.defineProperty(f,"stackTraceLimit",{get:function(){return l.stackTraceLimit},set:function(aa){return l.stackTraceLimit=
aa}}));l.hasOwnProperty("captureStackTrace")&&Object.defineProperty(f,"captureStackTrace",{value:function(aa,na){l.captureStackTrace(aa,na)}});Object.defineProperty(f,"prepareStackTrace",{get:function(){return l.prepareStackTrace},set:function(aa){return aa&&"function"===typeof aa?l.prepareStackTrace=function(na,ma){if(ma)for(var Ca=0;Ca<ma.length;Ca++)if("zoneCaptureStackTrace"===ma[Ca].getFunctionName()){ma.splice(Ca,1);break}return aa.call(this,na,ma)}:l.prepareStackTrace=aa}});if("disable"!==
M){var X=b.current.fork({name:"detect",onHandleError:function(aa,na,ma,Ca){if(Ca.originalStack&&Error===f)for(aa=Ca.originalStack.split(/\n/),Ca=ma=na=!1;aa.length;){var Fa=aa.shift();if(/:\d+:\d+/.test(Fa)||"ZoneAwareError"===Fa){var Ja=Fa.split("(")[0].split("@")[0],Ab=1;-1!==Ja.indexOf("ZoneAwareError")&&(-1!==Ja.indexOf("new ZoneAwareError")?(u=Fa,x=Fa.replace("new ZoneAwareError","new Error.ZoneAwareError")):(y=Fa,G=Fa.replace("Error.",""),-1===Fa.indexOf("Error.ZoneAwareError")&&(L=Fa.replace("ZoneAwareError",
"Error.ZoneAwareError"))),q[x]=0);-1!==Ja.indexOf("runGuarded")?ma=!0:-1!==Ja.indexOf("runTask")?Ca=!0:-1!==Ja.indexOf("run")?na=!0:Ab=0;q[Fa]=Ab;if(na&&ma&&Ca){f.stackRewrite=!0;break}}}return!1}}).fork({name:"child",onScheduleTask:function(aa,na,ma,Ca){return aa.scheduleTask(ma,Ca)},onInvokeTask:function(aa,na,ma,Ca,Fa,Ja){return aa.invokeTask(ma,Ca,Fa,Ja)},onCancelTask:function(aa,na,ma,Ca){return aa.cancelTask(ma,Ca)},onInvoke:function(aa,na,ma,Ca,Fa,Ja,Ab){return aa.invoke(ma,Ca,Fa,Ja,Ab)}});
b=Error.stackTraceLimit;Error.stackTraceLimit=100;X.run(function(){X.runGuarded(function(){var aa=function(){};X.scheduleEventTask(h,function(){X.scheduleMacroTask(h,function(){X.scheduleMicroTask(h,function(){throw Error();},void 0,function(na){na._transitionTo=aa;na.invoke()});X.scheduleMicroTask(h,function(){throw Error();},void 0,function(na){na._transitionTo=aa;na.invoke()})},void 0,function(na){na._transitionTo=aa;na.invoke()},function(){})},void 0,function(na){na._transitionTo=aa;na.invoke()},
function(){})})});Error.stackTraceLimit=b}});var Ac=Object.getOwnPropertyDescriptor,lca=Object.defineProperty,oca=Object.getPrototypeOf,HEb=Object.create,IEb=Array.prototype.slice,JEb=Zone.__symbol__("addEventListener"),KEb=Zone.__symbol__("removeEventListener"),Lc=Zone.__symbol__(""),Cc=Zone.__symbol__,LEb="undefined"!==typeof window,Kc=LEb?window:void 0,Fc=LEb&&Kc||"object"===typeof self&&self||global,MEb="undefined"!==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,Nc=!("nw"in Fc)&&"undefined"!==typeof Fc.process&&"[object process]"===
{}.toString.call(Fc.process),NEb=!Nc&&!MEb&&!(!LEb||!Kc.HTMLElement),OEb="undefined"!==typeof Fc.process&&"[object process]"==={}.toString.call(Fc.process)&&!MEb&&!(!LEb||!Kc.HTMLElement),Dc={},kca=function(a){if(a=a||Fc.event){var b=Dc[a.type];b||(b=Dc[a.type]=Cc("ON_PROPERTY"+a.type));var c=this||a.target||Fc;b=c[b];NEb&&c===Kc&&"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}},Hc=Cc("originalInstance"),qca=!1,rca=!1;var Oc=!1;if("undefined"!==typeof window)try{var PEb=Object.defineProperty({},"passive",{get:function(){Oc=!0}});window.addEventListener("test",PEb,PEb);window.removeEventListener("test",PEb,PEb)}catch(a){Oc=!1}var wca={useG:!0},Mc={},vca={},yca=new RegExp("^"+Lc+"(\\w+)(true|false)$"),uca=Cc("propagationStopped");Zone.__load_patch("ZoneAwarePromise",function(a,b,c){function d(Va){if(Va&&Va.toString===Object.prototype.toString){var kb=Va.constructor&&Va.constructor.name;return(kb?kb:"")+": "+JSON.stringify(Va)}return Va?Va.toString():Object.prototype.toString.call(Va)}function e(Va){c.onUnhandledError(Va);try{var kb=b[ma];"function"===typeof kb&&kb.call(this,Va)}catch(Qa){}}function f(Va){return Va}function h(Va){return Ra.reject(Va)}function l(Va,kb){return function(Qa){try{q(Va,kb,Qa)}catch(tb){q(Va,!1,tb)}}}
function q(Va,kb,Qa){var tb=Ma();if(Va===Qa)throw new TypeError("na");if(null===Va[Ca]){var Ya=null;try{if("object"===typeof Qa||"function"===typeof Qa)Ya=Qa&&Qa.then}catch(Eb){return tb(function(){q(Va,!1,Eb)})(),Va}if(!1!==kb&&Qa instanceof Ra&&Qa.hasOwnProperty(Ca)&&Qa.hasOwnProperty(Fa)&&null!==Qa[Ca])u(Qa),q(Va,Qa[Ca],Qa[Fa]);else if(!1!==kb&&"function"===typeof Ya)try{Ya.call(Qa,tb(l(Va,kb)),tb(l(Va,!1)))}catch(Eb){tb(function(){q(Va,!1,Eb)})()}else{Va[Ca]=kb;tb=Va[Fa];Va[Fa]=Qa;Va[Ja]===Ja&&
!0===kb&&(Va[Ca]=Va[cb],Va[Fa]=Va[Ab]);!1===kb&&Qa instanceof Error&&(Ya=b.currentTask&&b.currentTask.data&&b.currentTask.data.__creationTrace__)&&M(Qa,ha,{configurable:!0,enumerable:!1,writable:!0,value:Ya});for(Ya=0;Ya<tb.length;)x(Va,tb[Ya++],tb[Ya++],tb[Ya++],tb[Ya++]);if(0==tb.length&&0==kb){Va[Ca]=0;kb=Qa;try{throw Error("oa`"+d(Qa)+"`"+(Qa&&Qa.stack?"\n"+Qa.stack:""));}catch(Eb){kb=Eb}X&&(kb.throwOriginal=!0);kb.rejection=Qa;kb.promise=Va;kb.zone=b.current;kb.task=b.currentTask;S.push(kb);
c.scheduleMicroTask()}}}return Va}function u(Va){if(0===Va[Ca]){try{var kb=b[xa];kb&&"function"===typeof kb&&kb.call(this,{rejection:Va[Fa],promise:Va})}catch(Qa){}Va[Ca]=!1;for(kb=0;kb<S.length;kb++)Va===S[kb].promise&&S.splice(kb,1)}}function x(Va,kb,Qa,tb,Ya){u(Va);var Eb=Va[Ca],Xb=Eb?"function"===typeof tb?tb:f:"function"===typeof Ya?Ya:h;kb.scheduleMicroTask("Promise.then",function(){try{var sc=Va[Fa],Gc=!!Qa&&Ja===Qa[Ja];Gc&&(Qa[Ab]=sc,Qa[cb]=Eb);var Se=kb.run(Xb,void 0,Gc&&Xb!==h&&Xb!==f?[]:
[sc]);q(Qa,!0,Se)}catch(vd){q(Qa,!1,vd)}},Qa)}function y(Va){var kb=Va.prototype,Qa=L(kb,"then");if(!Qa||!1!==Qa.writable&&Qa.configurable){var tb=kb.then;kb[na]=tb;Va.prototype.then=function(Ya,Eb){var Xb=this;return(new Ra(function(sc,Gc){tb.call(Xb,sc,Gc)})).then(Ya,Eb)};Va[Ec]=!0}}function G(Va){return function(kb,Qa){kb=Va.apply(kb,Qa);if(kb instanceof Ra)return kb;Qa=kb.constructor;Qa[Ec]||y(Qa);return kb}}var L=Object.getOwnPropertyDescriptor,M=Object.defineProperty,T=c.symbol,S=[],X=!0===
a[T("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],aa=T("Promise"),na=T("then");c.onUnhandledError=function(Va){if(c.showUncaughtError()){var kb=Va&&Va.rejection;kb?console.error("Unhandled Promise rejection:",kb instanceof Error?kb.message:kb,"; Zone:",Va.zone.name,"; Task:",Va.task&&Va.task.source,"; Value:",kb,kb instanceof Error?kb.stack:void 0):console.error(Va)}};c.microtaskDrainDone=function(){for(var Va={};S.length;){Va.$jscomp$loop$prop$uncaughtPromiseError$2195=S.shift();try{Va.$jscomp$loop$prop$uncaughtPromiseError$2195.zone.runGuarded(function(kb){return function(){if(kb.$jscomp$loop$prop$uncaughtPromiseError$2195.throwOriginal)throw kb.$jscomp$loop$prop$uncaughtPromiseError$2195.rejection;
throw kb.$jscomp$loop$prop$uncaughtPromiseError$2195;}}(Va))}catch(kb){e(kb)}Va={$jscomp$loop$prop$uncaughtPromiseError$2195:Va.$jscomp$loop$prop$uncaughtPromiseError$2195}}};var ma=T("unhandledPromiseRejectionHandler"),Ca=T("state"),Fa=T("value"),Ja=T("finally"),Ab=T("parentPromiseValue"),cb=T("parentPromiseState"),Ma=function(){var Va=!1;return function(kb){return function(){Va||(Va=!0,kb.apply(null,arguments))}}},ha=T("currentTaskTrace"),xa=T("rejectionHandledHandler"),Da=function(){},Wa=a.AggregateError,
Ra=function(Va){if(!(this instanceof Ra))throw Error("pa");this[Ca]=null;this[Fa]=[];try{var kb=Ma();Va&&Va(kb(l(this,!0)),kb(l(this,!1)))}catch(Qa){q(this,!1,Qa)}};Ra.toString=function(){return"function ZoneAwarePromise() { [native code] }"};Ra.resolve=function(Va){return q(new this(null),!0,Va)};Ra.reject=function(Va){return q(new this(null),!1,Va)};Ra.any=function(Va){if(!Va||"function"!==typeof Va[Symbol.iterator])return Promise.reject(new Wa([],"All promises were rejected"));var kb=[],Qa=0;try{for(var tb=
m(Va),Ya=tb.next();!Ya.done;Ya=tb.next()){var Eb=Ya.value;Qa++;kb.push(Ra.resolve(Eb))}}catch(Gc){return Promise.reject(new Wa([],"All promises were rejected"))}if(0===Qa)return Promise.reject(new Wa([],"All promises were rejected"));var Xb=!1,sc=[];return new Ra(function(Gc,Se){for(var vd=0;vd<kb.length;vd++)kb[vd].then(function($d){Xb||(Xb=!0,Gc($d))},function($d){sc.push($d);Qa--;0===Qa&&(Xb=!0,Se(new Wa(sc,"All promises were rejected")))})})};Ra.race=function(Va){function kb(sc){tb(sc)}function Qa(sc){Ya(sc)}
var tb,Ya,Eb=new this(function(sc,Gc){tb=sc;Ya=Gc});Va=m(Va);for(var Xb=Va.next();!Xb.done;Xb=Va.next())(Xb=Xb.value)&&Xb.then||(Xb=this.resolve(Xb)),Xb.then(kb,Qa);return Eb};Ra.all=function(Va){return Ra.allWithCallback(Va)};Ra.allSettled=function(Va){return(this&&this.prototype instanceof Ra?this:Ra).allWithCallback(Va,{thenCallback:function(kb){return{status:"fulfilled",value:kb}},errorCallback:function(kb){return{status:"rejected",reason:kb}}})};Ra.allWithCallback=function(Va,kb){var Qa,tb,Ya=
new this(function(vd,$d){Qa=vd;tb=$d}),Eb=2,Xb=0,sc=[],Gc={};Va=m(Va);for(var Se=Va.next();!Se.done;Gc={$jscomp$loop$prop$curValueIndex$2198:Gc.$jscomp$loop$prop$curValueIndex$2198},Se=Va.next()){(Se=Se.value)&&Se.then||(Se=this.resolve(Se));Gc.$jscomp$loop$prop$curValueIndex$2198=Xb;try{Se.then(function(vd){return function($d){sc[vd.$jscomp$loop$prop$curValueIndex$2198]=kb?kb.thenCallback($d):$d;Eb--;0===Eb&&Qa(sc)}}(Gc),function(vd){return function($d){kb?(sc[vd.$jscomp$loop$prop$curValueIndex$2198]=
kb.errorCallback($d),Eb--,0===Eb&&Qa(sc)):tb($d)}}(Gc))}catch(vd){tb(vd)}Eb++;Xb++}Eb-=2;0===Eb&&Qa(sc);return Ya};Xi.Object.defineProperty(Ra.prototype,Symbol.toStringTag,{configurable:!0,enumerable:!0,get:function(){return"Promise"}});Xi.Object.defineProperty(Ra.prototype,Symbol.species,{configurable:!0,enumerable:!0,get:function(){return Ra}});Ra.prototype.then=function(Va,kb){var Qa,tb=null==(Qa=this.constructor)?void 0:Qa[Symbol.species];tb&&"function"===typeof tb||(tb=this.constructor||Ra);
Qa=new tb(Da);tb=b.current;null==this[Ca]?this[Fa].push(tb,Qa,Va,kb):x(this,tb,Qa,Va,kb);return Qa};Ra.prototype.catch=function(Va){return this.then(null,Va)};Ra.prototype.finally=function(Va){var kb,Qa=null==(kb=this.constructor)?void 0:kb[Symbol.species];Qa&&"function"===typeof Qa||(Qa=Ra);kb=new Qa(Da);kb[Ja]=Ja;Qa=b.current;null==this[Ca]?this[Fa].push(Qa,kb,Va,Va):x(this,Qa,kb,Va,Va);return kb};Ra.resolve=Ra.resolve;Ra.reject=Ra.reject;Ra.race=Ra.race;Ra.all=Ra.all;aa=a[aa]=a.Promise;a.Promise=
Ra;var Ec=T("thenPatched");c.patchThen=y;aa&&(y(aa),Jc(a,"fetch",function(Va){return G(Va)}));Promise[b.__symbol__("uncaughtPromiseErrors")]=S;return Ra});var Pc=Cc("zoneTask");Zone.__load_patch("toString",function(a){var b=Function.prototype.toString,c=Cc("OriginalDelegate"),d=Cc("Promise"),e=Cc("Error"),f=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)};f[c]=b;Function.prototype.toString=f;var h=Object.prototype.toString;Object.prototype.toString=function(){return"function"===typeof Promise&&this instanceof
Promise?"[object Promise]":h.call(this)}});Zone.__load_patch("util",function(a,b,c){var d=Dca(a);c.patchOnProperties=nca;c.patchMethod=Jc;c.bindArguments=hca;c.patchMacroTask=pca;var e=b.__symbol__("BLACK_LISTED_EVENTS"),f=b.__symbol__("UNPATCHED_EVENTS");a[f]&&(a[e]=a[f]);a[e]&&(b[e]=b[f]=a[e]);c.patchEventPrototype=Aca;c.patchEventTarget=zca;c.isIEOrEdge=sca;c.ObjectDefineProperty=lca;c.ObjectGetOwnPropertyDescriptor=Ac;c.ObjectCreate=HEb;c.ArraySlice=IEb;c.patchClass=Ic;c.wrapWithCurrentZone=gca;c.filterProperties=Cca;c.attachOriginToPatched=
Bc;c._redefineProperty=Object.defineProperty;c.patchCallbacks=Bca;c.getGlobalObjects=function(){return{globalSources:vca,zoneSymbolEventNames:Mc,eventNames:d,isBrowser:NEb,isMix:OEb,isNode:Nc,TRUE_STR:"true",FALSE_STR:"false",ZONE_SYMBOL_PREFIX:Lc,ADD_EVENT_LISTENER_STR:"addEventListener",REMOVE_EVENT_LISTENER_STR:"removeEventListener"}}});var Rc,Sc,Eca,Fca,Tc;var Nca=[].concat(r("abort animationcancel animationend animationiteration auxclick beforeinput blur cancel canplay canplaythrough change compositionstart compositionupdate compositionend cuechange click close contextmenu curechange dblclick drag dragend dragenter dragexit dragleave dragover drop durationchange emptied ended error focus focusin focusout gotpointercapture input invalid keydown keypress keyup load loadstart loadeddata loadedmetadata lostpointercapture mousedown mouseenter mouseleave mousemove mouseout mouseover mouseup mousewheel orientationchange pause play playing pointercancel pointerdown pointerenter pointerleave pointerlockchange mozpointerlockchange webkitpointerlockerchange pointerlockerror mozpointerlockerror webkitpointerlockerror pointermove pointout pointerover pointerup progress ratechange reset resize scroll seeked seeking select selectionchange selectstart show sort stalled submit suspend timeupdate volumechange touchcancel touchmove touchstart touchend transitioncancel transitionend waiting wheel".split(" ")),
r(["webglcontextrestored","webglcontextlost","webglcontextcreationerror"]),r(["autocomplete","autocompleteerror"]),r(["toggle"]),r("afterscriptexecute beforescriptexecute DOMContentLoaded freeze fullscreenchange mozfullscreenchange webkitfullscreenchange msfullscreenchange fullscreenerror mozfullscreenerror webkitfullscreenerror msfullscreenerror readystatechange visibilitychange resume".split(" ")),r("absolutedeviceorientation afterinput afterprint appinstalled beforeinstallprompt beforeprint beforeunload devicelight devicemotion deviceorientation deviceorientationabsolute deviceproximity hashchange languagechange message mozbeforepaint offline online paint pageshow pagehide popstate rejectionhandled storage unhandledrejection unload userproximity vrdisplayconnected vrdisplaydisconnected vrdisplaypresentchange".split(" ")),
r("beforecopy beforecut beforepaste copy cut paste dragstart loadend animationstart search transitionrun transitionstart webkitanimationend webkitanimationiteration webkitanimationstart webkittransitionend".split(" ")),r("activate afterupdate ariarequest beforeactivate beforedeactivate beforeeditfocus beforeupdate cellchange controlselect dataavailable datasetchanged datasetcomplete errorupdate filterchange layoutcomplete losecapture move moveend movestart propertychange resizeend resizestart rowenter rowexit rowsdelete rowsinserted command compassneedscalibration deactivate help mscontentzoom msmanipulationstatechanged msgesturechange msgesturedoubletap msgestureend msgesturehold msgesturestart msgesturetap msgotpointercapture msinertiastart mslostpointercapture mspointercancel mspointerdown mspointerenter mspointerhover mspointerleave mspointermove mspointerout mspointerover mspointerup pointerout mssitemodejumplistitemremoved msthumbnailclick stop storagecommit".split(" ")));(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=Jca;Ica()});b.__load_patch("registerElement",function(c,d,e){d=e.getGlobalObjects();var f=d.isMix;(d.isBrowser||f)&&"registerElement"in c.document&&e.patchCallbacks(e,document,"Document","registerElement",["createdCallback","attachedCallback","detachedCallback","attributeChangedCallback"])});b.__load_patch("EventTargetLegacy",function(c,
d,e){Kca(c,e);d=e.getGlobalObjects();var f=d.isMix;d.isNode&&!f||Mca(e,c)||(d="undefined"!==typeof WebSocket,Oca(e),e.patchClass("XMLHttpRequest"),d&&Lca(e,c),Zone[e.symbol("patchEvents")]=!0)})}})("undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:{});Zone.__load_patch("legacy",function(a){(a=a[Zone.__symbol__("legacyPatch")])&&a()});Zone.__load_patch("queueMicrotask",function(a,b,c){c.patchMethod(a,"queueMicrotask",function(){return function(d,e){b.current.scheduleMicroTask("queueMicrotask",e[0])}})});Zone.__load_patch("timers",function(a){Qc(a,"set","clear","Timeout");Qc(a,"set","clear","Interval");Qc(a,"set","clear","Immediate")});
Zone.__load_patch("requestAnimationFrame",function(a){Qc(a,"request","cancel","AnimationFrame");Qc(a,"mozRequest","mozCancel","AnimationFrame");Qc(a,"webkitRequest","webkitCancel","AnimationFrame")});Zone.__load_patch("blocking",function(a,b){for(var c=["alert","prompt","confirm"],d=0;d<c.length;d++)Jc(a,c[d],function(e,f,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,f=d.TRUE_STR,h=d.FALSE_STR;d=d.ZONE_SYMBOL_PREFIX;for(var l=0;l<b.length;l++){var q=b[l],u=d+(q+h),x=d+(q+f);e[q]={};e[q][h]=u;e[q][f]=x}(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(){Ic("MutationObserver");Ic("WebKitMutationObserver")});Zone.__load_patch("IntersectionObserver",function(){Ic("IntersectionObserver")});Zone.__load_patch("FileReader",function(){Ic("FileReader")});
Zone.__load_patch("on_property",function(a,b,c){if((!Nc||OEb)&&!Zone[c.symbol("patchEvents")]){b=a.__Zone_ignore_on_properties;c=[];if(NEb){var d=window;c=c.concat("Document SVGElement Element HTMLElement HTMLBodyElement HTMLMediaElement HTMLFrameSetElement HTMLFrameElement HTMLIFrameElement HTMLMarqueeElement Worker".split(" "));a:{try{var e=Kc.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")){var f=!0;break a}}catch(l){}f=!1}e=f?[{target:d,ignoreProperties:["error"]}]:
[];f=Dca(d);var h=b?b.concat(e):b;e=oca(d);d&&(f=Cca(d,f,h),nca(d,f,e))}c=c.concat("XMLHttpRequest XMLHttpRequestEventTarget IDBIndex IDBRequest IDBOpenDBRequest IDBDatabase IDBTransaction IDBCursor WebSocket".split(" "));for(d=0;d<c.length;d++)(e=a[c[d]])&&e.prototype&&(f=e.prototype,e=Dca(e.prototype),f&&(e=Cca(f,e,b),nca(f,e,void 0)))}});
Zone.__load_patch("customElements",function(a,b,c){b=c.getGlobalObjects();var d=b.isMix;(b.isBrowser||d)&&a.customElements&&"customElements"in a&&c.patchCallbacks(c,a.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])});
Zone.__load_patch("XHR",function(a,b){(function(q){function u(ma){var Ca=ma.data,Fa=Ca.target;Fa[f]=!1;Fa[l]=!1;var Ja=Fa[e];L||(L=Fa[JEb],M=Fa[KEb]);Ja&&M.call(Fa,"readystatechange",Ja);Ja=Fa[e]=function(){if(Fa.readyState===Fa.DONE)if(!Ca.aborted&&Fa[f]&&"scheduled"===ma.state){var Ab=Fa[b.__symbol__("loadfalse")];if(0!==Fa.status&&Ab&&0<Ab.length){var cb=ma.invoke;ma.invoke=function(){for(var Ma=Fa[b.__symbol__("loadfalse")],ha=0;ha<Ma.length;ha++)Ma[ha]===ma&&Ma.splice(ha,1);Ca.aborted||"scheduled"!==
ma.state||cb.call(ma)};Ab.push(ma)}else ma.invoke()}else Ca.aborted||!1!==Fa[f]||(Fa[l]=!0)};L.call(Fa,"readystatechange",Ja);Fa[c]||(Fa[c]=ma);aa.apply(Fa,Ca.args);Fa[f]=!0;return ma}function x(){}function y(ma){ma=ma.data;ma.aborted=!0;return na.apply(ma.target,ma.args)}var G=q.XMLHttpRequest;if(G){G=G.prototype;var L=G[JEb],M=G[KEb];!L&&(q=q.XMLHttpRequestEventTarget)&&(q=q.prototype,L=q[JEb],M=q[KEb]);var T=Jc(G,"open",function(){return function(ma,Ca){ma[d]=0==Ca[2];ma[h]=Ca[1];return T.apply(ma,
Ca)}}),S=Cc("fetchTaskAborting"),X=Cc("fetchTaskScheduling"),aa=Jc(G,"send",function(){return function(ma,Ca){if(!0===b.current[X]||ma[d])return aa.apply(ma,Ca);Ca={target:ma,url:ma[h],isPeriodic:!1,args:Ca,aborted:!1};var Fa=Zone.current.scheduleMacroTask("XMLHttpRequest.send",x,Ca,u,y);ma&&!0===ma[l]&&!Ca.aborted&&"scheduled"===Fa.state&&Fa.invoke()}}),na=Jc(G,"abort",function(){return function(ma,Ca){var Fa=ma[c];if(Fa&&"string"==typeof Fa.type)null==Fa.cancelFn||Fa.data&&Fa.data.aborted||Fa.zone.cancelTask(Fa);
else if(!0===b.current[S])return na.apply(ma,Ca)}})}})(a);var c=Cc("xhrTask"),d=Cc("xhrSync"),e=Cc("xhrListener"),f=Cc("xhrScheduled"),h=Cc("xhrURL"),l=Cc("xhrErrorBeforeScheduled")});Zone.__load_patch("geolocation",function(a){a.navigator&&a.navigator.geolocation&&jca(a.navigator.geolocation)});
Zone.__load_patch("PromiseRejectionEvent",function(a,b){function c(d){return function(e){xca(a,d).forEach(function(f){var h=a.PromiseRejectionEvent;h&&(h=new h(d,{promise:e.promise,reason:e.rejection}),f.invoke(h))})}}a.PromiseRejectionEvent&&(b[Cc("unhandledPromiseRejectionHandler")]=c("unhandledrejection"),b[Cc("rejectionHandledHandler")]=c("rejectionhandled"))});Zone.__load_patch("canvas",function(a,b,c){a=a.HTMLCanvasElement;"undefined"!==typeof a&&a.prototype&&a.prototype.toBlob&&c.patchMacroTask(a.prototype,"toBlob",function(d,e){return{name:"HTMLCanvasElement.toBlob",target:d,cbIdx:0,args:e}})});var Qca=Uc({"\u0275prov":Uc}),Tca=Uc({"\u0275inj":Uc}),Rca=Uc({ngInjectableDef:Uc}),Uca=Uc({ngInjectorDef:Uc});var $c=function(a,b){b=Error.call(this,"NG0"+Math.abs(a)+(b?": "+b.trim():""));this.message=b.message;"stack"in b&&(this.stack=b.stack);this.code=a};W($c,Error);var Xca;var $ca=Uc({__forward_ref__:Uc});var Ae="undefined"!==typeof globalThis&&globalThis||"undefined"!==typeof global&&global||"undefined"!==typeof window&&window||"undefined"!==typeof self&&"undefined"!==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self;var QEb={},REb=/\n/gm,ed=void 0;var Bd=function(a,b){this._desc=a;this.\u0275prov=void 0;"number"==typeof b?this.__NG_ELEMENT_ID__=b:void 0!==b&&(this.\u0275prov=Vc({token:this,providedIn:b.providedIn||"root",factory:b.factory}))};Bd.prototype.toString=function(){return"InjectionToken "+this._desc};Xi.Object.defineProperties(Bd.prototype,{multi:{configurable:!0,enumerable:!0,get:function(){return this}}});var Ada=new Bd("ENVIRONMENT_INITIALIZER");var SEb=new Bd("INJECTOR",-1);var zda=new Bd("INJECTOR_DEF_TYPES");var Eda=function(){};Eda.prototype.get=function(a,b){b=void 0===b?QEb:b;if(b===QEb)throw a=Error("ta`"+Zc(a)),a.name="NullInjectorError",a;return b};var nd=Uc({"\u0275cmp":Uc}),lda=Uc({"\u0275dir":Uc}),pda=Uc({"\u0275pipe":Uc}),TEb=Uc({"\u0275mod":Uc}),sd=Uc({"\u0275fac":Uc}),ae=Uc({__NG_ELEMENT_ID__:Uc}),UEb=Uc({__NG_ENV_ID__:Uc});var pd={},ld=[];var Bda=Uc({provide:String,useValue:Uc});var Pha=new Bd("Set Injector scope.");var Dd={},VEb={},Dda=void 0,Uu=function(){},je=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;Jda(a,function(f){return WEb(e,f)});this.records.set(SEb,Cd(void 0,this));d.has("environment")&&this.records.set(Uu,Cd(void 0,this));a=this.records.get(Pha);null!=a&&"string"===typeof a.value&&this.scopes.add(a.value);this.injectorDefTypes=new Set(this.get(zda.multi,ld,2))};W(je,Uu);
je.prototype.destroy=function(){XEb(this);this._destroyed=!0;try{for(var a=m(this._ngOnDestroyHooks),b=a.next();!b.done;b=a.next())b.value.ngOnDestroy();for(var c=m(this._onDestroyHooks),d=c.next();!d.done;d=c.next()){var e=d.value;e()}}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}};
je.prototype.onDestroy=function(a){var b=this;this._onDestroyHooks.push(a);return function(){var c=b._onDestroyHooks.indexOf(a);-1!==c&&b._onDestroyHooks.splice(c,1)}};je.prototype.runInContext=function(a){XEb(this);var b=fd(this),c=bd();try{return a()}finally{fd(b),bd(c)}};
je.prototype.get=function(a,b,c){b=void 0===b?QEb:b;c=void 0===c?0:c;XEb(this);if(a.hasOwnProperty(UEb))return a[UEb](this);c=gd(c);var d=fd(this),e=bd();try{if(!(c&4)){var f=this.records.get(a);if(void 0===f){var h=("function"===typeof a||"object"===typeof a&&a instanceof Bd)&&Xc(a),l;if(l=h)if(h.providedIn){var q=dd(h.providedIn);l="string"===typeof q?"any"===q||this.scopes.has(q):this.injectorDefTypes.has(q)}else l=!1;l?f=Cd(Gda(a),Dd):f=null;this.records.set(a,f)}if(null!=f){b=f;b.value===Dd&&
(b.value=VEb,b.value=b.factory());var u;if(u="object"===typeof b.value&&b.value){var x=b.value;u=null!==x&&"object"===typeof x&&"function"===typeof x.ngOnDestroy}u&&this._ngOnDestroyHooks.add(b.value);return b.value}}var y=c&2?Ad():this.parent;b=c&8&&b===QEb?null:b;return y.get(a,b)}catch(na){if("NullInjectorError"===na.name){(na.ngTempTokenPath=na.ngTempTokenPath||[]).unshift(Zc(a));if(d)throw na;u=na;var G=this.source,L=u.ngTempTokenPath;a.__source&&L.unshift(a.__source);var M="\n"+u.message;a=
G;a=void 0===a?null:a;M=M&&"\n"===M.charAt(0)&&"\u0275"==M.charAt(1)?M.slice(2):M;var T=Zc(L);if(Array.isArray(L))T=L.map(Zc).join(" -> ");else if("object"===typeof L){G=[];for(var S in L)if(L.hasOwnProperty(S)){var X=L[S];G.push(S+":"+("string"===typeof X?JSON.stringify(X):Zc(X)))}T="{"+G.join(", ")+"}"}var aa="R3InjectorError"+(a?"("+a+")":"")+"["+T+"]: "+M.replace(REb,"\n  ");u.message=aa;u.ngTokenPath=L;u.ngTempTokenPath=null;throw u;}throw na;}finally{bd(e),fd(d)}};
var mea=function(a){var b=fd(a),c=bd();try{for(var d=a.get(Ada.multi,ld,2),e=m(d),f=e.next();!f.done;f=e.next()){var h=f.value;h()}}finally{fd(b),bd(c)}};je.prototype.toString=function(){for(var a=[],b=m(this.records.keys()),c=b.next();!c.done;c=b.next())a.push(Zc(c.value));return"R3Injector["+a.join(", ")+"]"};
var XEb=function(a){if(a._destroyed)throw new $c(205,!1);},WEb=function(a,b){b=dd(b);var c=zd(b)?b:dd(b&&b.provide),d=Ida(b);if(zd(b)||!0!==b.multi)a.records.get(c);else{var e=a.records.get(c);e||(e=Cd(void 0,Dd,!0),e.factory=function(){return bda(e.multi)},a.records.set(c,e));c=b;e.multi.push(b)}a.records.set(c,d)};Xi.Object.defineProperties(je.prototype,{destroyed:{configurable:!0,enumerable:!0,get:function(){return this._destroyed}}});var YEb=id(Ed(function(a){return{token:a}}),-1),Vu=id(Ed(),8);id(Ed(),2);var Wu=id(Ed(),4);id(Ed(),1);var Oda=function(a,b,c){this.previousValue=a;this.currentValue=b;this.firstChange=c};Oda.prototype.isFirstChange=function(){return this.firstChange};Hd.ngInherit=!0;var Md=Uda(null),wia=null,Jg=!0;var ZEb=function(a){this.ref=a};ZEb.prototype.deref=function(){return this.ref};var $Eb,aFb=null!=($Eb=Ae.WeakRef)?$Eb:ZEb;var bFb=0,Xda=null,Xu=function(){this.id=bFb++;this.ref=new aFb(this);this.producers=new Map;this.consumers=new Map;this.trackingVersion=0};Xi.Object.defineProperties(Xu.prototype,{hasProducers:{configurable:!0,enumerable:!0,get:function(){return 0<this.producers.size}}});var cFb=function(){},Yu=function(a,b){Xu.call(this);var c=this;this.watch=a;this.schedule=b;this.dirty=!1;this.cleanupFn=cFb;this.registerOnCleanup=function(d){c.cleanupFn=d}};W(Yu,Xu);Yu.prototype.notify=function(){this.dirty||this.schedule(this);this.dirty=!0};
Yu.prototype.run=function(){this.dirty=!1;var a;if(!(a=0===this.trackingVersion))a:{a=m(this.producers);for(var b=a.next();!b.done;b=a.next()){var c=m(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=Ud(this);this.trackingVersion++;try{this.cleanupFn(),this.cleanupFn=cFb,this.watch(this.registerOnCleanup)}finally{Ud(a)}}};
Yu.prototype.cleanup=function(){this.cleanupFn()};var ge=function(a,b){var c=A;this.factory=a;this.resolving=!1;this.canSeeViewProviders=b;this.injectImpl=c};var $da=!0,aea=0,de={},he=function(a,b){this._tNode=a;this._lView=b};he.prototype.get=function(a,b,c){return iea(this._tNode,this._lView,a,gd(c),b)};Uc({provide:String,useValue:Uc});var Zu=function(){},mg=function(a){if(Array.isArray(a))return nea({name:""},void 0,a,"");var b,c=null!=(b=a.name)?b:"";return nea({name:c},a.parent,a.providers,c)},dFb=new Eda;Zu.\u0275prov=Vc({token:Zu,providedIn:"any",factory:function(){return n(SEb)}});Zu.__NG_ELEMENT_ID__=-1;var $u=function(){};var av=function(){},eFb=function(){};var oea=void 0;var fFb=new Bd("AppId",{providedIn:"root",factory:function(){return"ng"}}),Jha=new Bd("Platform Initializer"),bv=new Bd("Platform ID",{providedIn:"platform",factory:function(){return"unknown"}});new Bd("Application Packages Root URL");var cv=new Bd("AnimationModuleType"),gFb=new Bd("CSP nonce",{providedIn:"root",factory:function(){var a;return(null==(a=pea().body.querySelector("[ngCspNonce]"))?void 0:a.getAttribute("ngCspNonce"))||null}});new Bd("",{providedIn:"root",factory:function(){return new Set}});var hFb=function(){},iFb=function(){};var ke=function(a){this.nativeElement=a};ke.__NG_ELEMENT_ID__=function(){return le(Nd(),t())};var dv=function(){},ev=function(){};ev.__NG_ELEMENT_ID__=function(){var a=t(),b=Kd(Nd().index,a);return(Fd(b)?b:a)[11]};var rea=new Map,efa=0;var Qe=function(){this._console=console};Qe.prototype.handleError=function(a){var b=this._findOriginalError(a);this._console.error("ERROR",a);b&&this._console.error("ORIGINAL ERROR",b)};Qe.prototype._findOriginalError=function(a){for(a=a&&a.ngOriginalError;a&&a.ngOriginalError;)a=a.ngOriginalError;return a||null};new Bd("");var jFb=new Bd("",{providedIn:"root",factory:function(){return!1}});var wea=/^>|^->|\x3c!--|--\x3e|--!>|<!-$/g,xea=/(<|>)/;var ve=function(){Xu.apply(this,arguments);this._lView=null};W(ve,Xu);ve.prototype.runInContext=function(a,b,c){var d=Ud(this);this.trackingVersion++;try{a(b,c)}finally{Ud(d)}};ve.prototype.destroy=function(){this.trackingVersion++};Xi.Object.defineProperties(ve.prototype,{lView:{configurable:!0,enumerable:!0,set:function(a){this._lView=a}},hasReadASignal:{configurable:!0,enumerable:!0,get:function(){return this.hasProducers}}});var ue=null;var Ne={};var we=function(a){this.changingThisBreaksApplicationSecurity=a};we.prototype.toString=function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see https://g.co/ng/security#xss)"};var kFb=function(){we.apply(this,arguments)};W(kFb,we);kFb.prototype.getTypeName=function(){return"HTML"};var lFb=function(){we.apply(this,arguments)};W(lFb,we);lFb.prototype.getTypeName=function(){return"URL"};var mFb=function(){we.apply(this,arguments)};W(mFb,we);
mFb.prototype.getTypeName=function(){return"ResourceURL"};var ze;var Rea=function(a){this.inertDocumentHelper=a};Rea.prototype.getInertBodyElement=function(a){a="<body><remove></remove>"+a;try{var b=(new window.DOMParser).parseFromString(Be(a),"text/html").body;if(null===b)return this.inertDocumentHelper.getInertBodyElement(a);b.removeChild(b.firstChild);return b}catch(c){return null}};var Qea=function(a){this.defaultDoc=a;this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")};
Qea.prototype.getInertBodyElement=function(a){var b=this.inertDocument.createElement("template");b.innerHTML=Be(a);return b};var Lea=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;var nFb=Ce("area,br,col,hr,img,wbr"),oFb=Ce("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),pFb=Ce("rp,rt"),qFb=De(pFb,oFb),rFb=De(oFb,Ce("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")),sFb=De(pFb,Ce("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")),
Tea=De(nFb,rFb,sFb,qFb),Vea=Ce("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),tFb=Ce("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"),
uFb=Ce("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"),
Uea=De(Vea,tFb,uFb),Wea=Ce("script,style,template"),Sea=function(){this.buf=[]};Sea.prototype.endElement=function(a){a=a.nodeName.toLowerCase();Tea.hasOwnProperty(a)&&!nFb.hasOwnProperty(a)&&(this.buf.push("</"),this.buf.push(a),this.buf.push(">"))};var Xea=function(a,b){if(b&&(a.compareDocumentPosition(b)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw Error("xa`"+a.outerHTML);return b},Nea=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Oea=/([^#-~ |!])/g,Ee;var vFb={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 Fe;var fv=function(){this.all=new Set;this.queue=new Map};fv.prototype.create=function(a,b,c){var d=this,e=Zone.current,f=new Yu(a,function(l){d.all.has(l)&&d.queue.set(l,e)},c);this.all.add(f);f.notify();a=function(){f.cleanup();var l;null==(l=h)||l();d.all.delete(f);d.queue.delete(f)};var h=null==b?void 0:b.onDestroy(a);return{destroy:a}};
fv.prototype.flush=function(){if(0!==this.queue.size)for(var a={},b=m(this.queue),c=b.next();!c.done;a={$jscomp$loop$prop$watch$2205:a.$jscomp$loop$prop$watch$2205},c=b.next()){var d=m(c.value);c=d.next().value;d=d.next().value;a.$jscomp$loop$prop$watch$2205=c;c=d;this.queue.delete(a.$jscomp$loop$prop$watch$2205);c.run(function(e){return function(){return e.$jscomp$loop$prop$watch$2205.run()}}(a))}};fv.\u0275prov=Vc({token:fv,providedIn:"root",factory:function(){return new fv}});var rh=function(a,b){this._lView=a;this._cdRefInjectingView=b;this._appRef=null;this._attachedToViewContainer=!1};g=rh.prototype;g.destroy=function(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){var a=this._lView[3];if(Gd(a)){var b=a[8],c=b?b.indexOf(this):-1;-1<c&&(Aea(a,c),ud(b,c))}this._attachedToViewContainer=!1}Cea(this._lView[1],this._lView)};g.onDestroy=function(a){var b=this._lView;null===b[21]&&(b[21]=[]);b[21].push(a)};
g.markForCheck=function(){tea(this._cdRefInjectingView||this._lView)};g.detach=function(){this._lView[2]&=-129};g.detectChanges=function(){vfa(this._lView[1],this._lView,this.context)};
Xi.Object.defineProperties(rh.prototype,{rootNodes:{configurable:!0,enumerable:!0,get:function(){var a=this._lView,b=a[1];return Te(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 wFb=function(a){rh.call(this,a);this._view=a};W(wFb,rh);wFb.prototype.detectChanges=function(){var a=this._view;vfa(a[1],a,a[8],!1)};
Xi.Object.defineProperties(wFb.prototype,{context:{configurable:!0,enumerable:!0,get:function(){return null}}});var xFb=function(){};xFb.\u0275prov=Vc({token:xFb,providedIn:"root",factory:function(){return null}});var gv=function(){this.full="0.0.0-PLACEHOLDER";this.minor=this.major="0";this.patch=["0","0","0-PLACEHOLDER"].slice(2).join(".")},yFb=new gv;var zFb={};var AFb=function(a){this.ngModule=a};W(AFb,$u);var BFb=function(a,b){return new th(b[nd]||null,a.ngModule)},CFb=function(a,b){this.injector=a;this.parentInjector=b};CFb.prototype.get=function(a,b,c){c=gd(c);var d=this.injector.get(a,zFb,c);return d!==zFb||b===zFb?d:this.parentInjector.get(a,b,c)};
var th=function(a,b){this.componentDef=a;this.ngModule=b;this.componentType=a.type;this.selector=a.selectors.map(hda).join(",");this.ngContentSelectors=a.ngContentSelectors?a.ngContentSelectors:[];this.isBoundToModule=!!b};W(th,iFb);
th.prototype.create=function(a,b,c,d){d=d||this.ngModule;var e;(d=d instanceof Uu?d:null==(e=d)?void 0:e.injector)&&null!==this.componentDef.getStandaloneInjector&&(d=this.componentDef.getStandaloneInjector(d)||d);d=d?new CFb(a,d):a;a=d.get(dv,null);if(null===a)throw new $c(407,!1);e=d.get(xFb,null);var f=d.get(fv,null);f={rendererFactory:a,sanitizer:e,effectManager:f};a=a.createRenderer(null,this.componentDef);e=this.componentDef.selectors[0][0]||"div";if(c)e=this.componentDef.encapsulation,e=d.get(jFb,
!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;var l=this.componentDef.onPush?576:528;e=ofa(0,null,null,1,0,null,null,null,null,null,null);d=Je(null,e,null,l,null,null,f,a,d,null,null);Tda(d);try{var q=this.componentDef;l=null;if(q.findHostDirectiveDefs){var u=[];l=new Map;q.findHostDirectiveDefs(q,u,l);u.push(q)}else u=[q];var x=d[1];d[25]=h;var y=Ke(x,25,2,"#host",null);x=u;for(var G=d[1],L=m(x),M=L.next();!M.done;M=
L.next())y.mergedAttrs=jd(y.mergedAttrs,M.value.hostAttrs);null!==y.mergedAttrs&&(Re(y,y.mergedAttrs,!0),null!==h&&Gea(a,h,y));L=null;null!==h&&(L=null);var T=f.rendererFactory.createRenderer(h,q),S=Je(d,kfa(q),null,q.onPush?64:16,d[y.index],y,f,T,null,null,L);G.firstCreatePass&&rfa(G,y,x.length-1);Me(d,S);var X=d[y.index]=S;var aa=e.data[25];if(h)if(c)dda(a,h,["ng-version",yFb.full]);else{var na=q.selectors[0];c=[];y=[];G=1;for(T=2;G<na.length;){var ma=na[G];if("string"===typeof ma)2===T?""!==ma&&
c.push(ma,na[++G]):8===T&&y.push(ma);else{if(0!==(T&1))break;T=ma}G++}c&&dda(a,h,c);if(y&&0<y.length){var Ca=y.join(" ");""===Ca?a.removeAttribute(h,"class"):a.setAttribute(h,"class",Ca)}}if(void 0!==b){var Fa=this.ngContentSelectors,Ja=aa.projection=[];for(na=0;na<Fa.length;na++){var Ab=b[na];Ja.push(null!=Ab?Array.from(Ab):null)}}b=u;Fa=l;u=[zfa];var cb=Nd(),Ma=d[1],ha=Jd(cb,d);sfa(Ma,d,cb,b,null,Fa);for(Fa=0;Fa<b.length;Fa++){var xa=fe(d,Ma,cb.directiveStart+Fa,cb);me(xa,d)}lfa(Ma,d,cb);ha&&me(ha,
d);var Da=fe(d,Ma,cb.directiveStart+cb.componentOffset,cb);X[8]=d[8]=Da;if(null!==u)for(var Wa=m(u),Ra=Wa.next();!Ra.done;Ra=Wa.next()){var Ec=Ra.value;Ec(Da,q)}jfa(Ma,cb,X);var Va=Da;hfa(e,d,null)}finally{Wda()}return new hv(this.componentType,Va,le(aa,d),d,aa)};Xi.Object.defineProperties(th.prototype,{inputs:{configurable:!0,enumerable:!0,get:function(){return yfa(this.componentDef.inputs)}},outputs:{configurable:!0,enumerable:!0,get:function(){return yfa(this.componentDef.outputs)}}});
var hv=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 wFb(d);this.componentType=a};W(hv,hFb);
hv.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,qfa(c[1],c,d,a,b),this.previousInputValues.set(a,b),a=Kd(this._tNode.index,c),tea(a)))};hv.prototype.destroy=function(){this.hostView.destroy()};hv.prototype.onDestroy=function(a){this.hostView.onDestroy(a)};
Xi.Object.defineProperties(hv.prototype,{injector:{configurable:!0,enumerable:!0,get:function(){return new he(this._tNode,this._rootLView)}}});var Ue=function(a,b,c){this._parent=b;this._bootstrapComponents=[];this.destroyCbs=[];this.componentFactoryResolver=new AFb(this);var d=(a[TEb]||null).bootstrap;this._bootstrapComponents=d instanceof Function?d():d;this._r3Injector=lea(a,b,[{provide:av,useValue:this},{provide:$u,useValue:this.componentFactoryResolver}].concat(r(c)),Zc(a),new Set(["environment"]));mea(this._r3Injector);this.instance=this._r3Injector.get(a)};W(Ue,av);
Ue.prototype.destroy=function(){var a=this._r3Injector;!a.destroyed&&a.destroy();this.destroyCbs.forEach(function(b){return b()});this.destroyCbs=null};Ue.prototype.onDestroy=function(a){this.destroyCbs.push(a)};Xi.Object.defineProperties(Ue.prototype,{injector:{configurable:!0,enumerable:!0,get:function(){return this._r3Injector}}});var DFb=function(a){this.moduleType=a};W(DFb,eFb);DFb.prototype.create=function(a){return new Ue(this.moduleType,a,[])};
var Ve=function(a){this.componentFactoryResolver=new AFb(this);this.instance=null;var b=new je([].concat(r(a.providers),[{provide:av,useValue:this},{provide:$u,useValue:this.componentFactoryResolver}]),a.parent||Ad(),a.debugName,new Set(["environment"]));this.injector=b;a.runEnvironmentInitializers&&mea(b)};W(Ve,av);Ve.prototype.destroy=function(){this.injector.destroy()};Ve.prototype.onDestroy=function(a){this.injector.onDestroy(a)};var EFb=new Bd("Application Initializer"),iv=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=hd(EFb,{optional:!0}))?b:[]},FFb=function(a){if(!a.initialized){for(var b=[],c={},d=m(a.appInits),e=d.next();!e.done;c={$jscomp$loop$prop$initResult$2207:c.$jscomp$loop$prop$initResult$2207},e=d.next())e=e.value,c.$jscomp$loop$prop$initResult$2207=e(),We(c.$jscomp$loop$prop$initResult$2207)?b.push(c.$jscomp$loop$prop$initResult$2207):
Cfa(c.$jscomp$loop$prop$initResult$2207)&&(e=new Promise(function(f){return function(h,l){f.$jscomp$loop$prop$initResult$2207.subscribe({complete:h,error:l})}}(c)),b.push(e));Promise.all(b).then(function(){a.done=!0;a.resolve()}).catch(function(f){a.reject(f)});0===b.length&&(a.done=!0,a.resolve());a.initialized=!0}};iv.\u0275fac=function(a){return new (a||iv)};iv.\u0275prov=Vc({token:iv,factory:iv.\u0275fac,providedIn:"root"});var jv=function(){};jv.prototype.log=function(a){console.log(a)};jv.prototype.warn=function(a){console.warn(a)};jv.\u0275fac=function(a){return new (a||jv)};jv.\u0275prov=Vc({token:jv,factory:jv.\u0275fac,providedIn:"platform"});var Efa=["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 Ffa={};var bj=new Bd("LocaleId",{providedIn:"root",factory:function(){return hd(bj,12)||("undefined"!==typeof ZBb?"en-US":"undefined"!==typeof $localize&&$localize.locale||"en-US")}});new Bd("DefaultCurrencyCode",{providedIn:"root",factory:function(){return"USD"}});new Bd("Translations");new Bd("TranslationsFormat");var kv=function(){};kv.prototype.getModuleId=function(){};kv.\u0275fac=function(a){return new (a||kv)};kv.\u0275prov=Vc({token:kv,factory:kv.\u0275fac,providedIn:"root"});new Bd("compilerOptions");var Gfa=Promise.resolve(0);var GFb=!1,ef={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):GFb&&console.log("RxJS: Back to a better error behavior. Thank you. <3");GFb=a},get useDeprecatedSynchronousErrorHandling(){return GFb}};var xf="function"===typeof Symbol&&Symbol.observable||"@@observable";var HFb={closed:!0,next:function(){},error:function(a){if(ef.useDeprecatedSynchronousErrorHandling)throw a;Ye(a)},complete:function(){}};var bf=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 mf=Array.isArray||function(a){return a&&"number"===typeof a.length};var af=function(a){this.closed=!1;this._subscriptions=this._parentOrParents=null;a&&(this._ctorUnsubscribe=!0,this._unsubscribe=a)};
af.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 af)a.remove(this);else if(null!==a)for(var e=0;e<a.length;++e)a[e].remove(this);if(Ze(c)){b&&(this._unsubscribe=void 0);try{c.call(this)}catch(q){var f=q instanceof bf?Jfa(q.errors):[q]}}if(mf(d)){e=-1;for(var h=d.length;++e<h;){var l=d[e];if($e(l))try{l.unsubscribe()}catch(q){f=
f||[],q instanceof bf?f=f.concat(Jfa(q.errors)):f.push(q)}}}if(f)throw new bf(f);}};
af.prototype.add=function(a){var b=a;if(!a)return af.EMPTY;switch(typeof a){case "function":b=new af(a);case "object":if(b===this||b.closed||"function"!==typeof b.unsubscribe)return b;if(this.closed)return b.unsubscribe(),b;b instanceof af||(a=b,b=new af,b._subscriptions=[a]);break;default:throw Error("za`"+a);}var c=b._parentOrParents;if(null===c)b._parentOrParents=this;else if(c instanceof af){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};af.prototype.remove=function(a){var b=this._subscriptions;b&&(a=b.indexOf(a),-1!==a&&b.splice(a,1))};var IFb=new af;IFb.closed=!0;af.EMPTY=IFb;var cf=function(a,b,c){af.call(this);this.syncErrorValue=null;this.isStopped=this.syncErrorThrowable=this.syncErrorThrown=!1;switch(arguments.length){case 0:this.destination=HFb;break;case 1:if(!a){this.destination=HFb;break}if("object"===typeof a){a instanceof cf?(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)}};W(cf,af);
cf.EMPTY=af.EMPTY;cf.create=function(a,b,c){a=new cf(a,b,c);a.syncErrorThrowable=!1;return a};g=cf.prototype;g.next=function(a){this.isStopped||this._next(a)};g.error=function(a){this.isStopped||(this.isStopped=!0,this._error(a))};g.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())};g.unsubscribe=function(){this.closed||(this.isStopped=!0,af.prototype.unsubscribe.call(this))};g._next=function(a){this.destination.next(a)};g._error=function(a){this.destination.error(a);this.unsubscribe()};
g._complete=function(){this.destination.complete();this.unsubscribe()};var lv=function(a,b,c,d){cf.call(this);this._parentSubscriber=a;var e=this;if(Ze(b))var f=b;else b&&(f=b.next,c=b.error,d=b.complete,b!==HFb&&(e=Object.create(b),Ifa(b)&&b.add(this.unsubscribe.bind(this)),e.unsubscribe=this.unsubscribe.bind(this)));this._context=e;this._next=f;this._error=c;this._complete=d};W(lv,cf);lv.EMPTY=cf.EMPTY;lv.create=cf.create;g=lv.prototype;
g.next=function(a){if(!this.isStopped&&this._next){var b=this._parentSubscriber;ef.useDeprecatedSynchronousErrorHandling&&b.syncErrorThrowable?this.__tryOrSetError(b,this._next,a)&&this.unsubscribe():this.__tryOrUnsub(this._next,a)}};
g.error=function(a){if(!this.isStopped){var b=this._parentSubscriber,c=ef.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):Ye(a),this.unsubscribe();else{this.unsubscribe();if(c)throw a;Ye(a)}}};
g.complete=function(){var a=this;if(!this.isStopped){var b=this._parentSubscriber;if(this._complete){var c=function(){return a._complete.call(a._context)};ef.useDeprecatedSynchronousErrorHandling&&b.syncErrorThrowable?this.__tryOrSetError(b,c):this.__tryOrUnsub(c)}this.unsubscribe()}};g.__tryOrUnsub=function(a,b){try{a.call(this._context,b)}catch(c){this.unsubscribe();if(ef.useDeprecatedSynchronousErrorHandling)throw c;Ye(c)}};
g.__tryOrSetError=function(a,b,c){if(!ef.useDeprecatedSynchronousErrorHandling)throw Error("Aa");try{b.call(this._context,c)}catch(d){return ef.useDeprecatedSynchronousErrorHandling?(a.syncErrorValue=d,a.syncErrorThrown=!0):Ye(d),!0}return!1};g._unsubscribe=function(){var a=this._parentSubscriber;this._parentSubscriber=this._context=null;a.unsubscribe()};var JFb=function(a){cf.call(this);this.destination=a};W(JFb,cf);JFb.EMPTY=cf.EMPTY;JFb.create=cf.create;var ff=function(a){a&&(this._subscribe=a)};g=ff.prototype;g.lift=function(a){var b=new ff;b.source=this;b.operator=a;return b};
g.subscribe=function(a,b,c){var d=this.operator;a:{if(a){if(a instanceof cf||Mfa(a)&&Ifa(a))break a;if(Mfa(a)){a=new JFb(a);break a}}a=a||b||c?new cf(a,b,c):new cf(HFb)}d?a.add(d.call(a,this.source)):a.add(this.source||ef.useDeprecatedSynchronousErrorHandling&&!a.syncErrorThrowable?this._subscribe(a):this._trySubscribe(a));if(ef.useDeprecatedSynchronousErrorHandling&&a.syncErrorThrowable&&(a.syncErrorThrowable=!1,a.syncErrorThrown))throw a.syncErrorValue;return a};
g._trySubscribe=function(a){try{return this._subscribe(a)}catch(b){ef.useDeprecatedSynchronousErrorHandling&&(a.syncErrorThrown=!0,a.syncErrorValue=b),Kfa(a)?a.error(b):console.warn(b)}};g.forEach=function(a,b){var c=this;b=Nfa(b);return new b(function(d,e){var f=c.subscribe(function(h){try{a(h)}catch(l){e(l),f&&f.unsubscribe()}},e,d)})};g._subscribe=function(a){var b=this.source;return b&&b.subscribe(a)};ff.prototype[xf]=function(){return this};
ff.prototype.pipe=function(){var a=yd.apply(0,arguments);return 0===a.length?this:Lfa(a)(this)};var KFb=function(a){var b=Nfa(b);return new b(function(c,d){var e;a.subscribe(function(f){return e=f},function(f){return d(f)},function(){return c(e)})})};ff.create=function(a){return new ff(a)};var mv=function(a,b){af.call(this);this.subject=a;this.subscriber=b;this.closed=!1};W(mv,af);mv.EMPTY=af.EMPTY;mv.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 nv=function(){function a(){this.message="object unsubscribed";this.name="ObjectUnsubscribedError";return this}a.prototype=Object.create(Error.prototype);return a}();var Yf=function(){this.observers=[];this.hasError=this.isStopped=this.closed=!1;this.thrownError=null};W(Yf,ff);g=Yf.prototype;g.lift=function(a){var b=new ov(this,this);b.operator=a;return b};g.next=function(a){if(this.closed)throw new nv;if(!this.isStopped){var b=this.observers,c=b.length;b=b.slice();for(var d=0;d<c;d++)b[d].next(a)}};
g.error=function(a){if(this.closed)throw new nv;this.hasError=!0;this.thrownError=a;this.isStopped=!0;var b=this.observers,c=b.length;b=b.slice();for(var d=0;d<c;d++)b[d].error(a);this.observers.length=0};g.complete=function(){if(this.closed)throw new nv;this.isStopped=!0;var a=this.observers,b=a.length;a=a.slice();for(var c=0;c<b;c++)a[c].complete();this.observers.length=0};g.unsubscribe=function(){this.closed=this.isStopped=!0;this.observers=null};
g._trySubscribe=function(a){if(this.closed)throw new nv;return ff.prototype._trySubscribe.call(this,a)};g._subscribe=function(a){if(this.closed)throw new nv;if(this.hasError)return a.error(this.thrownError),af.EMPTY;if(this.isStopped)return a.complete(),af.EMPTY;this.observers.push(a);return new mv(this,a)};var pv=function(a){var b=new ff;b.source=a;return b};
Xi.Object.defineProperties(Yf.prototype,{observed:{configurable:!0,enumerable:!0,get:function(){var a;return 0<(null==(a=this.observers)?void 0:a.length)}}});Yf.create=function(a,b){return new ov(a,b)};var ov=function(a,b){Yf.call(this);this.destination=a;this.source=b};W(ov,Yf);ov.create=Yf.create;ov.prototype.next=function(a){var b=this.destination;b&&b.next&&b.next(a)};ov.prototype.error=function(a){var b=this.destination;b&&b.error&&this.destination.error(a)};
ov.prototype.complete=function(){var a=this.destination;a&&a.complete&&this.destination.complete()};ov.prototype._subscribe=function(a){return this.source?this.source.subscribe(a):af.EMPTY};var nf=function(){Yf.apply(this,arguments);this.value=null;this.hasCompleted=this.hasNext=!1};W(nf,Yf);nf.create=Yf.create;nf.prototype._subscribe=function(a){return this.hasError?(a.error(this.thrownError),af.EMPTY):this.hasCompleted&&this.hasNext?(a.next(this.value),a.complete(),af.EMPTY):Yf.prototype._subscribe.call(this,a)};nf.prototype.next=function(a){this.hasCompleted||(this.value=a,this.hasNext=!0)};nf.prototype.error=function(a){this.hasCompleted||Yf.prototype.error.call(this,a)};
nf.prototype.complete=function(){this.hasCompleted=!0;this.hasNext&&Yf.prototype.next.call(this,this.value);Yf.prototype.complete.call(this)};var qv=function(a){Yf.call(this);this._value=a};W(qv,Yf);qv.create=Yf.create;qv.prototype._subscribe=function(a){var b=Yf.prototype._subscribe.call(this,a);b&&!b.closed&&a.next(this._value);return b};qv.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new nv;return this._value};qv.prototype.next=function(a){Yf.prototype.next.call(this,this._value=a)};Xi.Object.defineProperties(qv.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this.getValue()}}});var Ef=new ff(function(a){return a.complete()});var Qfa=function(a){return function(b){for(var c=0,d=a.length;c<d&&!b.closed;c++)b.next(a[c]);b.complete()}};var LFb=function(a,b,c){this.kind=a;this.value=b;this.error=c;this.hasValue="N"===a};LFb.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)}};
LFb.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 MFb={now:function(){return(MFb.delegate||Date).now()},delegate:void 0};var Xf=function(a,b,c){a=void 0===a?Infinity:a;b=void 0===b?Infinity:b;c=void 0===c?MFb:c;Yf.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};W(Xf,Yf);Xf.create=Yf.create;g=Xf.prototype;
g.nextInfiniteTimeWindow=function(a){var b=this._events;b.push(a);b.length>this._bufferSize&&b.shift();Yf.prototype.next.call(this,a)};g.nextTimeWindow=function(a){this._events.push({time:this._getNow(),value:a});this._trimBufferThenGetEvents();Yf.prototype.next.call(this,a)};
g._subscribe=function(a){var b=this._infiniteTimeWindow,c=b?this._events:this._trimBufferThenGetEvents(),d=c.length;if(this.closed)throw new nv;if(this.isStopped||this.hasError)var e=af.EMPTY;else this.observers.push(a),e=new mv(this,a);if(b)for(var f=0;f<d&&!a.closed;f++)a.next(c[f]);else for(f=0;f<d&&!a.closed;f++)a.next(c[f].value);this.hasError?a.error(this.thrownError):this.isStopped&&a.complete();return e};g._getNow=function(){var a=this.timestampProvider;return a?a.now():MFb.now()};
g._trimBufferThenGetEvents=function(){for(var a=this._getNow(),b=this._bufferSize,c=this._windowTime,d=this._events,e=d.length,f=0;f<e&&!(a-d[f].time<c);)f++;e>b&&(f=Math.max(f,e-b));0<f&&d.splice(0,f);return d};var OFb=function(a,b){b=void 0===b?NFb:b;this.SchedulerAction=a;this.now=b};OFb.prototype.schedule=function(a,b,c){b=void 0===b?0:b;return(new this.SchedulerAction(this,a)).schedule(c,b)};var NFb=MFb.now;var Sf=function(){function a(){this.message="no elements in sequence";this.name="EmptyError";return this}a.prototype=Object.create(Error.prototype);return a}();var Tfa=function(){};Tfa.prototype.call=function(a,b){b._refCount++;a=new rv(a,b);var c=b.subscribe(a);a.closed||(a.connection=b.connect());return c};var rv=function(a,b){cf.call(this,a);this.connectable=b;this.connection=null};W(rv,cf);rv.EMPTY=cf.EMPTY;rv.create=cf.create;
rv.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 sv=function(a,b){this.source=a;this.subjectFactory=b;this._refCount=0;this._isComplete=!1};W(sv,ff);sv.create=ff.create;sv.prototype._subscribe=function(a){return this.getSubject().subscribe(a)};sv.prototype.getSubject=function(){var a=this._subject;if(!a||a.isStopped)this._subject=this.subjectFactory();return this._subject};
sv.prototype.connect=function(){var a=this._connection;a||(this._isComplete=!1,a=this._connection=new af,a.add(this.source.subscribe(new tv(this.getSubject(),this))),a.closed&&(this._connection=null,a=af.EMPTY));return a};sv.prototype.refCount=function(){return lf()(this)};var mha,uv=sv.prototype;
mha={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:uv._subscribe},_isComplete:{value:uv._isComplete,writable:!0},getSubject:{value:uv.getSubject},connect:{value:uv.connect},refCount:{value:uv.refCount}};var tv=function(a,b){cf.call(this);this.destination=a;this.connectable=b};W(tv,cf);tv.EMPTY=cf.EMPTY;tv.create=cf.create;
tv.prototype._error=function(a){this._unsubscribe();cf.prototype._error.call(this,a)};tv.prototype._complete=function(){this.connectable._isComplete=!0;this._unsubscribe();cf.prototype._complete.call(this)};tv.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 Ufa=function(a){this.project=a;this.thisArg=void 0};Ufa.prototype.call=function(a,b){return b.subscribe(new vv(a,this.project,this.thisArg))};var vv=function(a,b,c){cf.call(this,a);this.project=b;this.count=0;this.thisArg=c||this};W(vv,cf);vv.EMPTY=cf.EMPTY;vv.create=cf.create;vv.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 wf="function"===typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator";var jga=function(a){return a&&"number"===typeof a.length&&"function"!==typeof a};var PFb=function(a){return function(b){var c=a[wf]();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 QFb=function(a){return function(b){var c=a[xf]();if("function"!==typeof c.subscribe)throw new TypeError("Ea");return c.subscribe(b)}};var RFb=function(a){return function(b){a.then(function(c){b.closed||(b.next(c),b.complete())},function(c){return b.error(c)}).then(null,Ye);return b}};var uf=function(a){if(a&&"function"===typeof a[xf])return QFb(a);if(jga(a))return Qfa(a);if(bga(a))return RFb(a);if(a&&"function"===typeof a[wf])return PFb(a);if(Symbol&&Symbol.asyncIterator&&a&&"function"===typeof a[Symbol.asyncIterator])return dga(a);throw new TypeError("Fa`"+($e(a)?"an invalid object":"'"+a+"'"));};var wv=function(a){cf.call(this);this.parent=a};W(wv,cf);wv.EMPTY=cf.EMPTY;wv.create=cf.create;wv.prototype._next=function(a){this.parent.notifyNext(a)};wv.prototype._error=function(a){this.parent.notifyError(a);this.unsubscribe()};wv.prototype._complete=function(){this.parent.notifyComplete();this.unsubscribe()};var xv=function(a,b,c){cf.call(this);this.parent=a;this.outerValue=b;this.outerIndex=c};W(xv,cf);xv.EMPTY=cf.EMPTY;xv.create=cf.create;
xv.prototype._next=function(a){this.parent.notifyNext(this.outerValue,a,this.outerIndex)};xv.prototype._error=function(a){this.parent.notifyError(a);this.unsubscribe()};xv.prototype._complete=function(){this.parent.notifyComplete(this);this.unsubscribe()};var yv=function(){cf.apply(this,arguments)};W(yv,cf);yv.EMPTY=cf.EMPTY;yv.create=cf.create;yv.prototype.notifyNext=function(a){this.destination.next(a)};yv.prototype.notifyError=function(a){this.destination.error(a)};
yv.prototype.notifyComplete=function(){this.destination.complete()};var zv=function(){cf.apply(this,arguments)};W(zv,cf);zv.EMPTY=cf.EMPTY;zv.create=cf.create;zv.prototype.notifyNext=function(a,b){this.destination.next(b)};zv.prototype.notifyError=function(a){this.destination.error(a)};zv.prototype.notifyComplete=function(){this.destination.complete()};var SFb={},Pga=function(a,b){this.resultSelector=a;this.keys=b};Pga.prototype.call=function(a,b){return b.subscribe(new Bv(a,this.resultSelector,this.keys))};var Bv=function(a,b,c){zv.call(this,a);this.resultSelector=b;this.keys=c;this.active=0;this.values=[];this.observables=[]};W(Bv,zv);Bv.EMPTY=zv.EMPTY;Bv.create=zv.create;g=Bv.prototype;g._next=function(a){this.values.push(SFb);this.observables.push(a)};
g._complete=function(){var a=this.observables,b=a.length;if(0===b)this.destination.complete();else{this.toRespond=this.active=b;for(var c=0;c<b;c++)this.add(vf(a[c],new xv(this,null,c)))}};g.notifyComplete=function(){0===--this.active&&this.destination.complete()};
g.notifyNext=function(a,b,c){var d=this.values,e=d[c];e=this.toRespond?e===SFb?--this.toRespond:this.toRespond:0;d[c]=b;0===e&&(this.resultSelector?this._tryResultSelector(d):this.destination.next(this.keys?this.keys.reduce(function(f,h,l){return f[h]=d[l],f},{}):d.slice()))};g._tryResultSelector=function(a){try{var b=this.resultSelector.apply(this,a)}catch(c){this.destination.error(c);return}this.destination.next(b)};var lga=function(a,b){b=void 0===b?Infinity:b;this.project=a;this.concurrent=b};lga.prototype.call=function(a,b){return b.subscribe(new Cv(a,this.project,this.concurrent))};var Cv=function(a,b,c){c=void 0===c?Infinity:c;yv.call(this,a);this.destination=a;this.project=b;this.concurrent=c;this.hasCompleted=!1;this.buffer=[];this.index=this.active=0};W(Cv,yv);Cv.EMPTY=yv.EMPTY;Cv.create=yv.create;
Cv.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 wv(this);this.destination.add(a);vf(c,a)}else this.buffer.push(a)};Cv.prototype._complete=function(){this.hasCompleted=!0;0===this.active&&0===this.buffer.length&&this.destination.complete();this.unsubscribe()};Cv.prototype.notifyNext=function(a){this.destination.next(a)};
Cv.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 oga=function(a){var b=requestAnimationFrame,c=cancelAnimationFrame;Dv&&(b=Dv.requestAnimationFrame,c=Dv.cancelAnimationFrame);var d=b(function(e){c=void 0;a(e)});return new af(function(){var e;return null==(e=c)?void 0:e(d)})},TFb=function(){return((null==Dv?void 0:Dv.requestAnimationFrame)||requestAnimationFrame).apply(null,r(yd.apply(0,arguments)))},UFb=function(){((null==Dv?void 0:Dv.cancelAnimationFrame)||cancelAnimationFrame).apply(null,r(yd.apply(0,arguments)))},Dv=void 0;var nga={now:function(){return(nga.delegate||performance).now()},delegate:void 0};var VFb=pga();var Ev=function(){af.call(this)};W(Ev,af);Ev.EMPTY=af.EMPTY;Ev.prototype.schedule=function(){return this};var WFb=function(a,b){var c=yd.apply(2,arguments);return(null==Fv?0:Fv.setInterval)?Fv.setInterval.apply(Fv,[a,b].concat(r(c))):setInterval.apply(null,[a,b].concat(r(c)))},Fv=void 0;var Gv=function(a,b){af.call(this);this.scheduler=a;this.work=b;this.pending=!1};W(Gv,Ev);Gv.EMPTY=Ev.EMPTY;g=Gv.prototype;g.schedule=function(a,b){b=void 0===b?0:b;if(this.closed)return this;this.state=a;a=this.id;var c=this.scheduler;null!=a&&(this.id=this.recycleAsyncId(c,a,b));this.pending=!0;this.delay=b;this.id=this.id||this.requestAsyncId(c,this.id,b);return this};g.requestAsyncId=function(a,b,c){c=void 0===c?0:c;return WFb(a.flush.bind(a,this),c)};
g.recycleAsyncId=function(a,b,c){c=void 0===c?0:c;if(null!==c&&this.delay===c&&!1===this.pending)return b;((null==Fv?void 0:Fv.clearInterval)||clearInterval)(b)};g.execute=function(a,b){if(this.closed)return Error("Ja");this.pending=!1;if(a=this._execute(a,b))return a;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))};g._execute=function(a){var b=!1,c=void 0;try{this.work(a)}catch(d){b=!0,c=!!d&&d||Error(d)}if(b)return this.unsubscribe(),c};
g._unsubscribe=function(){var a=this.id,b=this.scheduler,c=b.actions,d=c.indexOf(this);this.state=this.work=null;this.pending=!1;this.scheduler=null;-1!==d&&c.splice(d,1);null!=a&&(this.id=this.recycleAsyncId(b,a,null));this.delay=null};var Hv=function(a,b){b=void 0===b?NFb:b;OFb.call(this,a,b);this.actions=[];this.active=!1;this.scheduled=void 0};W(Hv,OFb);Hv.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 Hf=new Hv(Gv);var XFb=new ff(Df);var yga=function(a,b){this.predicate=a;this.thisArg=b};yga.prototype.call=function(a,b){return b.subscribe(new Iv(a,this.predicate,this.thisArg))};var Iv=function(a,b,c){cf.call(this,a);this.predicate=b;this.thisArg=c;this.count=0};W(Iv,cf);Iv.EMPTY=cf.EMPTY;Iv.create=cf.create;Iv.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 Aga=function(){};Aga.prototype.call=function(a,b){return b.subscribe(new Jv(a))};var Jv=function(a){zv.call(this,a);this.hasFirst=!1;this.observables=[];this.subscriptions=[]};W(Jv,zv);Jv.EMPTY=zv.EMPTY;Jv.create=zv.create;g=Jv.prototype;g._next=function(a){this.observables.push(a)};
g._complete=function(){var a=this.observables,b=a.length;if(0===b)this.destination.complete();else{for(var c=0;c<b&&!this.hasFirst;c++){var d=vf(a[c],new xv(this,null,c));this.subscriptions&&this.subscriptions.push(d);this.add(d)}this.observables=null}};g.notifyNext=function(a,b,c){if(!this.hasFirst){this.hasFirst=!0;for(var d=0;d<this.subscriptions.length;d++)if(d!==c){var e=this.subscriptions[d];e.unsubscribe();this.remove(e)}this.subscriptions=null}this.destination.next(b)};
g.notifyComplete=function(a){this.hasFirst=!0;zv.prototype.notifyComplete.call(this,a)};g.notifyError=function(a){this.hasFirst=!0;zv.prototype.notifyError.call(this,a)};var YFb=function(a){this.resultSelector=a};YFb.prototype.call=function(a,b){return b.subscribe(new Kv(a,this.resultSelector))};var Kv=function(a,b,c){void 0===c&&Object.create(null);cf.call(this,a);this.iterators=[];this.active=0;this.resultSelector=b};W(Kv,cf);Kv.EMPTY=cf.EMPTY;Kv.create=cf.create;Kv.prototype._next=function(a){var b=this.iterators;mf(a)?b.push(new Lv(a)):"function"===typeof a[wf]?b.push(new ZFb(a[wf]())):b.push(new Mv(this.destination,this,a))};
Kv.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--}}};Kv.prototype._tryresultSelector=function(a){try{var b=this.resultSelector.apply(this,a)}catch(c){this.destination.error(c);return}this.destination.next(b)};var ZFb=function(a){this.iterator=a;this.nextResult=a.next()};ZFb.prototype.hasValue=function(){return!0};
ZFb.prototype.next=function(){var a=this.nextResult;this.nextResult=this.iterator.next();return a};ZFb.prototype.hasCompleted=function(){var a=this.nextResult;return a&&!!a.done};var Lv=function(a){this.array=a;this.length=this.index=0;this.length=a.length};Lv.prototype[wf]=function(){return this};Lv.prototype.next=function(){var a=this.index++,b=this.array;return a<this.length?{value:b[a],done:!1}:{value:null,done:!0}};Lv.prototype.hasValue=function(){return this.array.length>this.index};
Lv.prototype.hasCompleted=function(){return this.array.length===this.index};var Mv=function(a,b,c){yv.call(this,a);this.parent=b;this.observable=c;this.stillUnsubscribed=!0;this.buffer=[];this.isComplete=!1};W(Mv,yv);Mv.EMPTY=yv.EMPTY;Mv.create=yv.create;Mv.prototype[wf]=function(){return this};g=Mv.prototype;g.next=function(){var a=this.buffer;return 0===a.length&&this.isComplete?{value:null,done:!0}:{value:a.shift(),done:!1}};g.hasValue=function(){return 0<this.buffer.length};
g.hasCompleted=function(){return 0===this.buffer.length&&this.isComplete};g.notifyComplete=function(){if(0<this.buffer.length){this.isComplete=!0;var a=this.parent;a.active--;0===a.active&&a.destination.complete()}else this.destination.complete()};
g.notifyNext=function(a){this.buffer.push(a);a:{a=this.parent;for(var b=a.iterators,c=b.length,d=a.destination,e=0;e<c;e++){var f=b[e];if("function"===typeof f.hasValue&&!f.hasValue())break a}e=!1;f=[];for(var h=0;h<c;h++){var l=b[h],q=l.next();l.hasCompleted()&&(e=!0);if(q.done){d.complete();break a}f.push(q.value)}a.resultSelector?a._tryresultSelector(f):d.next(f);e&&d.complete()}};g.subscribe=function(){return vf(this.observable,new wv(this))};var $Fb=function(a,b,c){this.key=a;this.groupSubject=b;this.refCountSubscription=c};W($Fb,ff);$Fb.create=ff.create;$Fb.prototype._subscribe=function(a){var b=new af,c=this.refCountSubscription,d=this.groupSubject;c&&!c.closed&&b.add(new aGb(c));b.add(d.subscribe(a));return b};var aGb=function(a){af.call(this);this.parent=a;a.count++};W(aGb,af);aGb.EMPTY=af.EMPTY;
aGb.prototype.unsubscribe=function(){var a=this.parent;a.closed||this.closed||(af.prototype.unsubscribe.call(this),--a.count,0===a.count&&a.attemptedToUnsubscribe&&a.unsubscribe())};var Hga=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 bGb=function(a,b){a=void 0===a?Nv:a;b=void 0===b?Infinity:b;Hv.call(this,a,function(){return c.frame});var c=this;this.maxFrames=b;this.frame=0;this.index=-1};W(bGb,Hv);bGb.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 Nv=function(a,b,c){c=void 0===c?a.index+=1:c;Gv.call(this,a,b);this.scheduler=a;this.work=b;this.index=c;this.active=!0;this.index=a.index=c};W(Nv,Gv);Nv.EMPTY=Gv.EMPTY;Nv.prototype.schedule=function(a,b){b=void 0===b?0:b;if(Number.isFinite(b)){if(!this.id)return Gv.prototype.schedule.call(this,a,b);this.active=!1;var c=new Nv(this.scheduler,this.work);this.add(c);return c.schedule(a,b)}return af.EMPTY};
Nv.prototype.requestAsyncId=function(a,b,c){this.delay=a.frame+(void 0===c?0:c);a=a.actions;a.push(this);a.sort(cGb);return!0};Nv.prototype.recycleAsyncId=function(){};Nv.prototype._execute=function(a,b){if(!0===this.active)return Gv.prototype._execute.call(this,a,b)};var cGb=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 Ov=function(a,b){Gv.call(this,a,b);this.scheduler=a;this.work=b};W(Ov,Gv);Ov.EMPTY=Gv.EMPTY;Ov.prototype.requestAsyncId=function(a,b,c){c=void 0===c?0:c;if(null!==c&&0<c)return Gv.prototype.requestAsyncId.call(this,a,b,c);a.actions.push(this);return a.scheduled||(a.scheduled=TFb(function(){return a.flush(void 0)}))};
Ov.prototype.recycleAsyncId=function(a,b,c){c=void 0===c?0:c;if(null!==c&&0<c||null===c&&0<this.delay)return Gv.prototype.recycleAsyncId.call(this,a,b,c);0===a.actions.length&&(UFb(b),a.scheduled=void 0)};var dGb=function(){Hv.apply(this,arguments)};W(dGb,Hv);dGb.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 eGb=new dGb(Ov);var fGb=1,gGb,Iga={},hGb=function(a){var b=fGb++;Iga[b]=!0;gGb||(gGb=Promise.resolve());gGb.then(function(){return Jga(b)&&a()});return b},iGb=function(a){Jga(a)};var kGb=function(){return((null==jGb?void 0:jGb.setImmediate)||hGb).apply(null,r(yd.apply(0,arguments)))},jGb=void 0;var Pv=function(a,b){Gv.call(this,a,b);this.scheduler=a;this.work=b};W(Pv,Gv);Pv.EMPTY=Gv.EMPTY;Pv.prototype.requestAsyncId=function(a,b,c){c=void 0===c?0:c;if(null!==c&&0<c)return Gv.prototype.requestAsyncId.call(this,a,b,c);a.actions.push(this);return a.scheduled||(a.scheduled=kGb(a.flush.bind(a,void 0)))};
Pv.prototype.recycleAsyncId=function(a,b,c){c=void 0===c?0:c;if(null!==c&&0<c||null===c&&0<this.delay)return Gv.prototype.recycleAsyncId.call(this,a,b,c);0===a.actions.length&&(((null==jGb?void 0:jGb.clearImmediate)||iGb)(b),a.scheduled=void 0)};var lGb=function(){Hv.apply(this,arguments)};W(lGb,Hv);lGb.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 mGb=new lGb(Pv);var Qv=function(a,b){Gv.call(this,a,b);this.scheduler=a;this.work=b};W(Qv,Gv);Qv.EMPTY=Gv.EMPTY;Qv.prototype.schedule=function(a,b){b=void 0===b?0:b;if(0<b)return Gv.prototype.schedule.call(this,a,b);this.delay=b;this.state=a;this.scheduler.flush(this);return this};Qv.prototype.execute=function(a,b){return 0<b||this.closed?Gv.prototype.execute.call(this,a,b):this._execute(a,b)};
Qv.prototype.requestAsyncId=function(a,b,c){c=void 0===c?0:c;return null!==c&&0<c||null===c&&0<this.delay?Gv.prototype.requestAsyncId.call(this,a,b,c):a.flush(this)};var nGb=function(){Hv.apply(this,arguments)};W(nGb,Hv);var oGb=new nGb(Qv);var pGb=function(){function a(){this.message="argument out of range";this.name="ArgumentOutOfRangeError";return this}a.prototype=Object.create(Error.prototype);return a}();var qGb=function(){function a(b){this.message=b;this.name="NotFoundError";return this}a.prototype=Object.create(Error.prototype);return a}();var rGb=function(){function a(b){this.message=b;this.name="SequenceError";return this}a.prototype=Object.create(Error.prototype);return a}();var C={};C.Observable=ff;C.ConnectableObservable=sv;C.GroupedObservable=$Fb;C.observable=xf;C.animationFrames=function(a){return a?pga(a):VFb};C.Subject=Yf;C.BehaviorSubject=qv;C.ReplaySubject=Xf;C.AsyncSubject=nf;C.asap=mGb;C.asapScheduler=mGb;C.async=Hf;C.asyncScheduler=Hf;C.queue=oGb;C.queueScheduler=oGb;C.animationFrame=eGb;C.animationFrameScheduler=eGb;C.VirtualTimeScheduler=bGb;C.VirtualAction=Nv;C.Scheduler=OFb;C.Subscription=af;C.Subscriber=cf;C.Notification=LFb;
C.NotificationKind={NEXT:"N",ERROR:"E",COMPLETE:"C"};C.pipe=function(){return Lfa(yd.apply(0,arguments))};C.noop=Df;C.identity=df;C.isObservable=function(a){return!!a&&(a instanceof ff||"function"===typeof a.lift&&"function"===typeof a.subscribe)};C.lastValueFrom=function(a){return new Promise(function(b,c){var d=!1,e;a.subscribe({next:function(f){e=f;d=!0},error:c,complete:function(){d?b(e):c(new Sf)}})})};
C.firstValueFrom=function(a){return new Promise(function(b,c){var d=new af;d.add(a.subscribe({next:function(e){b(e);d.unsubscribe()},error:c,complete:function(){c(new Sf)}}))})};C.ArgumentOutOfRangeError=pGb;C.EmptyError=Sf;C.NotFoundError=qGb;C.ObjectUnsubscribedError=nv;C.SequenceError=rGb;C.TimeoutError=Hga;C.UnsubscriptionError=bf;C.bindCallback=Vfa;C.bindNodeCallback=Yfa;
C.combineLatest=function(){var a=yd.apply(0,arguments),b=void 0,c=void 0,d=void 0;hf(a[a.length-1])&&(c=a.pop());"function"===typeof a[a.length-1]&&(b=a.pop());if(1===a.length){var e=a[0];mf(e)&&(a=e);$e(e)&&Object.getPrototypeOf(e)===Object.prototype&&(d=Object.keys(e),a=d.map(function(f){return e[f]}))}return jf(gf(a,c),new Pga(b,d))};C.concat=Bf;C.defer=mga;C.empty=function(a){return a?Ofa(a):Ef};
C.forkJoin=function(){var a=yd.apply(0,arguments);if(1===a.length){var b=a[0];if(mf(b))return Cf(b,null);if($e(b)&&Object.getPrototypeOf(b)===Object.prototype)return a=Object.keys(b),Cf(a.map(function(d){return b[d]}),a)}if("function"===typeof a[a.length-1]){var c=a.pop();a=1===a.length&&mf(a[0])?a[0]:a;return Cf(a,null).pipe(B(function(d){return c.apply(null,r(d))}))}return Cf(a,null)};C.from=yf;C.fromEvent=qga;C.fromEventPattern=sga;
C.generate=function(a,b,c,d,e){if(1==arguments.length){var f=a.initialState;b=a.condition;c=a.iterate;var h=a.resultSelector||df;e=a.scheduler}else void 0===d||hf(d)?(f=a,h=df,e=d):(f=a,h=d);return new ff(function(l){var q=f;if(e)return e.schedule(tga,0,{subscriber:l,iterate:c,condition:b,resultSelector:h,state:q});do{if(b){var u=void 0;try{u=b(q)}catch(x){l.error(x);break}if(!u){l.complete();break}}u=void 0;try{u=h(q)}catch(x){l.error(x);break}l.next(u);if(l.closed)break;try{q=c(q)}catch(x){l.error(x);
break}}while(1)})};C.iif=function(a,b,c){b=void 0===b?Ef:b;c=void 0===c?Ef:c;return mga(function(){return a()?b:c})};C.interval=function(a,b){a=void 0===a?0:a;b=void 0===b?Hf:b;if(!uga(a)||0>a)a=0;b&&"function"===typeof b.schedule||(b=Hf);return new ff(function(c){c.add(b.schedule(vga,a,{subscriber:c,counter:0,period:a}));return c})};
C.merge=function(){var a=yd.apply(0,arguments),b=Infinity,c=void 0,d=a[a.length-1];hf(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 ff?a[0]:Af(b)(gf(a,c))};C.never=function(){return XFb};C.of=Rfa;C.onErrorResumeNext=wga;
C.pairs=function(a,b){return b?new ff(function(c){var d=Object.keys(a),e=new af;e.add(b.schedule(xga,0,{keys:d,index:0,subscriber:c,subscription:e,obj:a}));return e}):new ff(function(c){for(var d=Object.keys(a),e=0;e<d.length&&!c.closed;e++){var f=d[e];a.hasOwnProperty(f)&&c.next([f,a[f]])}c.complete()})};C.partition=function(a,b,c){return[Gf(b,c)(new ff(uf(a))),Gf(zga(b,c))(new ff(uf(a)))]};C.race=Bga;
C.range=function(a,b,c){a=void 0===a?0:a;return new ff(function(d){void 0===b&&(b=a,a=0);var e=0,f=a;if(c)return c.schedule(Cga,0,{index:e,count:b,start:a,subscriber:d});do{if(e++>=b){d.complete();break}d.next(f++);if(d.closed)break}while(1)})};C.throwError=function(a,b){return b?new ff(function(c){return b.schedule(Sfa,0,{error:a,subscriber:c})}):new ff(function(c){return c.error(a)})};C.timer=Fga;
C.using=function(a,b){return new ff(function(c){try{var d=a()}catch(h){c.error(h);return}try{var e=b(d)}catch(h){c.error(h);return}var f=(e?yf(e):Ef).subscribe(c);return function(){f.unsubscribe();d&&d.unsubscribe()}})};C.zip=function(){var a=yd.apply(0,arguments),b=void 0;"function"===typeof a[a.length-1]&&(b=a.pop());return jf(gf(a),new YFb(b))};C.scheduled=kga;C.EMPTY=Ef;C.NEVER=XFb;C.config=ef;var Rv=function(a){a=void 0===a?!1:a;C.Subject.call(this);this.__isAsync=a};W(Rv,C.Subject);Rv.create=C.Subject.create;Rv.prototype.emit=function(a){C.Subject.prototype.next.call(this,a)};
Rv.prototype.subscribe=function(a,b,c){var d=a;b=b||function(){return null};if(a&&"object"===typeof a){var e;d=null==(e=a.next)?void 0:e.bind(a);var f;b=null==(f=a.error)?void 0:f.bind(a);var h;c=null==(h=a.complete)?void 0:h.bind(a)}this.__isAsync&&(b=Kga(b),d&&(d=Kga(d)),c&&(c=Kga(c)));d=C.Subject.prototype.subscribe.call(this,{next:d,error:b,complete:c});a instanceof C.Subscription&&a.add(d);return d};var Mga=function(a){this.durationSelector=a};Mga.prototype.call=function(a,b){return b.subscribe(new Sv(a,this.durationSelector))};var Sv=function(a,b){yv.call(this,a);this.durationSelector=b;this.value=null;this.hasValue=!1;this.throttled=null};W(Sv,yv);Sv.EMPTY=yv.EMPTY;Sv.create=yv.create;
Sv.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=vf(c,new wv(this));!a||a.closed?sGb(this):this.add(this.throttled=a)}};var sGb=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))};Sv.prototype.notifyNext=function(){sGb(this)};Sv.prototype.notifyComplete=function(){sGb(this)};var Oga=function(a){this.closingNotifier=a};Oga.prototype.call=function(a,b){return b.subscribe(new Tv(a,this.closingNotifier))};var Tv=function(a,b){yv.call(this,a);this.buffer=[];this.add(vf(b,new wv(this)))};W(Tv,yv);Tv.EMPTY=yv.EMPTY;Tv.create=yv.create;Tv.prototype._next=function(a){this.buffer.push(a)};Tv.prototype.notifyNext=function(){var a=this.buffer;this.buffer=[];this.destination.next(a)};var Tga=function(a){this.durationSelector=a};Tga.prototype.call=function(a,b){return b.subscribe(new Uv(a,this.durationSelector))};var Uv=function(a,b){yv.call(this,a);this.durationSelector=b;this.value=null;this.hasValue=!1;this.durationSubscription=null};W(Uv,yv);Uv.EMPTY=yv.EMPTY;Uv.create=yv.create;g=Uv.prototype;g._next=function(a){try{var b=this.durationSelector.call(this,a);b&&this._tryNext(a,b)}catch(c){this.destination.error(c)}};g._complete=function(){tGb(this);this.destination.complete()};
g._tryNext=function(a,b){var c=this.durationSubscription;this.value=a;this.hasValue=!0;c&&(c.unsubscribe(),this.remove(c));(c=vf(b,new wv(this)))&&!c.closed&&this.add(this.durationSubscription=c)};g.notifyNext=function(){tGb(this)};g.notifyComplete=function(){tGb(this)};var tGb=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;yv.prototype._next.call(a,b)}};var Vga=function(a,b){this.dueTime=a;this.scheduler=b};Vga.prototype.call=function(a,b){return b.subscribe(new Vv(a,this.dueTime,this.scheduler))};var Vv=function(a,b,c){cf.call(this,a);this.dueTime=b;this.scheduler=c;this.lastValue=this.debouncedSubscription=null;this.hasValue=!1};W(Vv,cf);Vv.EMPTY=cf.EMPTY;Vv.create=cf.create;Vv.prototype._next=function(a){uGb(this);this.lastValue=a;this.hasValue=!0;this.add(this.debouncedSubscription=this.scheduler.schedule(Xga,this.dueTime,this))};
Vv.prototype._complete=function(){Wga(this);this.destination.complete()};var Wga=function(a){uGb(a);if(a.hasValue){var b=a.lastValue;a.lastValue=null;a.hasValue=!1;a.destination.next(b)}},uGb=function(a){var b=a.debouncedSubscription;null!==b&&(a.remove(b),b.unsubscribe(),a.debouncedSubscription=null)};var Yga=function(a){this.defaultValue=a};Yga.prototype.call=function(a,b){return b.subscribe(new Wv(a,this.defaultValue))};var Wv=function(a,b){cf.call(this,a);this.defaultValue=b;this.isEmpty=!0};W(Wv,cf);Wv.EMPTY=cf.EMPTY;Wv.create=cf.create;Wv.prototype._next=function(a){this.isEmpty=!1;this.destination.next(a)};Wv.prototype._complete=function(){this.isEmpty&&this.destination.next(this.defaultValue);this.destination.complete()};var Zga=function(a,b){this.delay=a;this.scheduler=b};Zga.prototype.call=function(a,b){return b.subscribe(new Xv(a,this.delay,this.scheduler))};var Xv=function(a,b,c){cf.call(this,a);this.destination=a;this.delay=b;this.scheduler=c;this.queue=[];this.active=!1};W(Xv,cf);Xv.EMPTY=cf.EMPTY;Xv.create=cf.create;
var vGb=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)};Xv.prototype._schedule=function(a){this.active=!0;var b=this.destination;b.add(a.schedule(vGb,this.delay,{source:this,destination:b,scheduler:a}))};
Xv.prototype._next=function(a){var b=this.scheduler;a=new wGb(b.now()+this.delay,a);this.queue.push(a);!1===this.active&&this._schedule(b)};Xv.prototype._error=function(a){this.queue.length=0;this.destination.error(a);this.unsubscribe()};Xv.prototype._complete=function(){0===this.queue.length&&this.destination.complete();this.unsubscribe()};var wGb=function(a,b){this.time=a;this.value=b};var $ga=function(a){this.compare=a;this.keySelector=void 0};$ga.prototype.call=function(a,b){return b.subscribe(new Yv(a,this.compare,this.keySelector))};var Yv=function(a,b,c){cf.call(this,a);this.keySelector=c;this.hasKey=!1;"function"===typeof b&&(this.compare=b)};W(Yv,cf);Yv.EMPTY=cf.EMPTY;Yv.create=cf.create;Yv.prototype.compare=function(a,b){return a===b};
Yv.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 aha=function(){this.count=1};aha.prototype.call=function(a,b){return b.subscribe(new Zv(a,this.count))};var Zv=function(a,b){cf.call(this,a);this.count=b;this._valueCount=0};W(Zv,cf);Zv.EMPTY=cf.EMPTY;Zv.create=cf.create;Zv.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 cha=function(a){this.errorFactory=a};cha.prototype.call=function(a,b){return b.subscribe(new $v(a,this.errorFactory))};var $v=function(a,b){cf.call(this,a);this.errorFactory=b;this.hasValue=!1};W($v,cf);$v.EMPTY=cf.EMPTY;$v.create=cf.create;$v.prototype._next=function(a){this.hasValue=!0;this.destination.next(a)};$v.prototype._complete=function(){if(this.hasValue)return this.destination.complete();try{var a=this.errorFactory()}catch(b){a=b}this.destination.error(a)};var eha=function(a){this.callback=a};eha.prototype.call=function(a,b){a=b.subscribe(a);a.add(this.callback);return a};var fha=function(){};fha.prototype.call=function(a,b){return b.subscribe(new aw(a))};var aw=function(){cf.apply(this,arguments)};W(aw,cf);aw.EMPTY=cf.EMPTY;aw.create=cf.create;aw.prototype._next=function(){};var hha=function(){this.total=1};hha.prototype.call=function(a,b){return b.subscribe(new bw(a,this.total))};var bw=function(a,b){cf.call(this,a);this.total=b;this.ring=[];this.count=0};W(bw,cf);bw.EMPTY=cf.EMPTY;bw.create=cf.create;bw.prototype._next=function(a){var b=this.ring,c=this.total,d=this.count++;b.length<c?b.push(a):b[d%c]=a};
bw.prototype._complete=function(){var a=this.destination,b=this.count;if(0<b)for(var c=this.count>=this.total?this.total:this.count,d=this.ring,e=0;e<c;e++){var f=b++%c;a.next(d[f])}a.complete()};var kha=function(a){this.value=a};kha.prototype.call=function(a,b){return b.subscribe(new cw(a,this.value))};var cw=function(a,b){cf.call(this,a);this.value=b};W(cw,cf);cw.EMPTY=cf.EMPTY;cw.create=cf.create;cw.prototype._next=function(){this.destination.next(this.value)};var lha=function(a,b,c){this.accumulator=a;this.seed=b;this.hasSeed=void 0===c?!1:c};lha.prototype.call=function(a,b){return b.subscribe(new dw(a,this.accumulator,this.seed,this.hasSeed))};var dw=function(a,b,c,d){cf.call(this,a);this.accumulator=b;this._state=c;this._hasState=d;this.index=0};W(dw,cf);dw.EMPTY=cf.EMPTY;dw.create=cf.create;
dw.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 sha=function(a){this.total=a};sha.prototype.call=function(a,b){return b.subscribe(new ew(a,this.total))};var ew=function(a,b){cf.call(this,a);this.total=b;this.count=0};W(ew,cf);ew.EMPTY=cf.EMPTY;ew.create=cf.create;ew.prototype._next=function(a){++this.count>this.total&&this.destination.next(a)};var tha=function(a){this.project=a};tha.prototype.call=function(a,b){return b.subscribe(new fw(a,this.project))};var fw=function(a,b){yv.call(this,a);this.destination=a;this.project=b;this.index=0};W(fw,yv);fw.EMPTY=yv.EMPTY;fw.create=yv.create;g=fw.prototype;g._next=function(a){var b=this.index++;try{var c=this.project(a,b)}catch(d){this.destination.error(d);return}(a=this.innerSubscription)&&a.unsubscribe();a=new wv(this);this.destination.add(a);this.innerSubscription=a;vf(c,a)};
g._complete=function(){var a=this.innerSubscription;a&&!a.closed||yv.prototype._complete.call(this);this.unsubscribe()};g._unsubscribe=function(){this.innerSubscription=void 0};g.notifyComplete=function(){this.innerSubscription=void 0;this.isStopped&&yv.prototype._complete.call(this)};g.notifyNext=function(a){this.destination.next(a)};var vha=function(a){this.notifier=a};vha.prototype.call=function(a,b){a=new gw(a);var c=vf(this.notifier,new wv(a));return c&&!a.notifierHasNotified?(a.add(c),b.subscribe(a)):a};var gw=function(a){yv.call(this,a);this.notifierHasNotified=!1};W(gw,yv);gw.EMPTY=yv.EMPTY;gw.create=yv.create;gw.prototype.notifyNext=function(){this.notifierHasNotified=!0;this.complete()};gw.prototype.notifyComplete=function(){};var wha=function(a,b){this.predicate=a;this.inclusive=b};wha.prototype.call=function(a,b){return b.subscribe(new hw(a,this.predicate,this.inclusive))};var hw=function(a,b,c){cf.call(this,a);this.predicate=b;this.inclusive=c;this.index=0};W(hw,cf);hw.EMPTY=cf.EMPTY;hw.create=cf.create;hw.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 yha=function(a,b){this.nextOrObserver=a;this.error=b;this.complete=void 0};yha.prototype.call=function(a,b){return b.subscribe(new iw(a,this.nextOrObserver,this.error,this.complete))};var iw=function(a,b,c,d){cf.call(this,a);this._tapComplete=this._tapError=this._tapNext=Df;this._tapError=c||Df;this._tapComplete=d||Df;Ze(b)?(this._context=this,this._tapNext=b):b&&(this._context=b,this._tapNext=b.next||Df,this._tapError=b.error||Df,this._tapComplete=b.complete||Df)};W(iw,cf);iw.EMPTY=cf.EMPTY;
iw.create=cf.create;iw.prototype._next=function(a){try{this._tapNext.call(this._context,a)}catch(b){this.destination.error(b);return}this.destination.next(a)};iw.prototype._error=function(a){try{this._tapError.call(this._context,a)}catch(b){this.destination.error(b);return}this.destination.error(a)};iw.prototype._complete=function(){try{this._tapComplete.call(this._context)}catch(a){this.destination.error(a);return}return this.destination.complete()};var zha={leading:!0,trailing:!1},Aha=function(a,b,c){this.durationSelector=a;this.leading=b;this.trailing=c};Aha.prototype.call=function(a,b){return b.subscribe(new jw(a,this.durationSelector,this.leading,this.trailing))};var jw=function(a,b,c,d){yv.call(this,a);this.destination=a;this.durationSelector=b;this._leading=c;this._trailing=d;this._sendValue=null;this._hasValue=!1};W(jw,yv);jw.EMPTY=yv.EMPTY;jw.create=yv.create;
jw.prototype._next=function(a){this._hasValue=!0;this._sendValue=a;this._throttled||(this._leading?this.send():xGb(this,a))};jw.prototype.send=function(){var a=this._sendValue;this._hasValue&&(this.destination.next(a),xGb(this,a));this._hasValue=!1;this._sendValue=null};var xGb=function(a,b){try{var c=a.durationSelector(b)}catch(d){a.destination.error(d);return}a.add(a._throttled=vf(c,new wv(a)))},yGb=function(a){var b=a._throttled,c=a._trailing;b&&b.unsubscribe();a._throttled=null;c&&a.send()};
jw.prototype.notifyNext=function(){yGb(this)};jw.prototype.notifyComplete=function(){yGb(this)};var Cha=function(a,b){this.observables=a;this.project=b};Cha.prototype.call=function(a,b){return b.subscribe(new kw(a,this.observables,this.project))};var kw=function(a,b,c){zv.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(vf(b[c],new xv(this,void 0,c)))};W(kw,zv);kw.EMPTY=zv.EMPTY;kw.create=zv.create;
kw.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))};kw.prototype.notifyComplete=function(){};kw.prototype._next=function(a){0===this.toRespond.length&&(a=[a].concat(r(this.values)),this.project?this._tryProject(a):this.destination.next(a))};kw.prototype._tryProject=function(a){try{var b=this.project.apply(this,a)}catch(c){this.destination.error(c);return}this.destination.next(b)};var hg=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 Rv(!1);this.onMicrotaskEmpty=new Rv(!1);this.onStable=new Rv(!1);this.onError=new Rv(!1);if("undefined"==typeof Zone)throw new $c(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=Ae.requestAnimationFrame;c=Ae.cancelAnimationFrame;"undefined"!==typeof Zone&&b&&c&&((c=b[Zone.__symbol__("OriginalDelegate")])&&(b=c),Zone.__symbol__("OriginalDelegate"));
this.nativeRequestAnimationFrame=b;Gha(this)},ig=function(){return"undefined"!==typeof Zone&&!0===Zone.current.get("isAngularZone")},Hha=function(){if(ig())throw new $c(909,!1);};hg.prototype.run=function(a,b,c){return this._inner.run(a,b,c)};hg.prototype.runTask=function(a,b,c){var d=this._inner;a=d.scheduleEventTask("NgZoneEvent: undefined",a,zGb,Lga,Lga);try{return d.runTask(a,b,c)}finally{d.cancelTask(a)}};hg.prototype.runGuarded=function(a,b,c){return this._inner.runGuarded(a,b,c)};
hg.prototype.runOutsideAngular=function(a){return this._outer.run(a)};var zGb={},ng=function(){this.hasPendingMacrotasks=this.hasPendingMicrotasks=!1;this.isStable=!0;this.onUnstable=new Rv;this.onMicrotaskEmpty=new Rv;this.onStable=new Rv;this.onError=new Rv};ng.prototype.run=function(a,b,c){return a.apply(b,c)};ng.prototype.runGuarded=function(a,b,c){return a.apply(b,c)};ng.prototype.runOutsideAngular=function(a){return a()};ng.prototype.runTask=function(a,b,c){return a.apply(b,c)};
var Xha=new Bd("",{providedIn:"root",factory:Iha});var AGb=new Bd(""),BGb=new Bd(""),lw=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;CGb||(CGb=c,DGb(b));this._watchAngularEvents();a.run(function(){d.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})};
lw.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(){Hha();Hfa(function(){a._isZoneStable=!0;a._runCallbacksIfReady()})}})})};lw.prototype.isStable=function(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks};
lw.prototype._runCallbacksIfReady=function(){var a=this;if(this.isStable())Hfa(function(){for(;0!==a._callbacks.length;){var c=a._callbacks.pop();clearTimeout(c.timeoutId);c.doneCb(a._didWork)}a._didWork=!1});else{var b=EGb(this);this._callbacks=this._callbacks.filter(function(c){return c.updateCb&&c.updateCb(b)?(clearTimeout(c.timeoutId),!1):!0});this._didWork=!0}};
var EGb=function(a){return a.taskTrackingZone?a.taskTrackingZone.macroTasks.map(function(b){return{source:b.source,creationLocation:b.creationLocation,data:b.data}}):[]};g=lw.prototype;g.addCallback=function(a,b,c){var d=this,e=-1;b&&0<b&&(e=setTimeout(function(){d._callbacks=d._callbacks.filter(function(f){return f.timeoutId!==e});a(d._didWork,EGb(d))},b));this._callbacks.push({doneCb:a,timeoutId:e,updateCb:c})};
g.whenStable=function(a,b,c){if(c&&!this.taskTrackingZone)throw Error("Ma");this.addCallback(a,b,c);this._runCallbacksIfReady()};g.registerApplication=function(a){this.registry.registerApplication(a,this)};g.unregisterApplication=function(a){this.registry.unregisterApplication(a)};g.findProviders=function(){return[]};lw.\u0275fac=function(a){return new (a||lw)(n(hg),n(mw),n(BGb))};lw.\u0275prov=Vc({token:lw,factory:lw.\u0275fac});var mw=function(){this._applications=new Map};
mw.prototype.registerApplication=function(a,b){this._applications.set(a,b)};mw.prototype.unregisterApplication=function(a){this._applications.delete(a)};mw.prototype.findTestabilityInTree=function(a,b){var c,d;return null!=(d=null==(c=CGb)?void 0:c.findTestabilityInTree(this,a,void 0===b?!0:b))?d:null};mw.\u0275fac=function(a){return new (a||mw)};mw.\u0275prov=Vc({token:mw,factory:mw.\u0275fac,providedIn:"platform"});var CGb;var FGb=this,kg=null,Mha=new Bd("AllowMultipleToken"),Qha=new Bd("PlatformDestroyListeners"),GGb=new Bd("appBootstrapListener"),HGb=function(a,b){this.name=a;this.token=b},lg=function(a){this._injector=a;this._modules=[];this._destroyListeners=[];this._destroyed=!1},IGb=function(a,b,c){var d=Sha(null==c?void 0:c.ngZone,Rha({eventCoalescing:null==c?void 0:c.ngZoneEventCoalescing,runCoalescing:null==c?void 0:c.ngZoneRunCoalescing}));return d.run(function(){var e=Afa(b.moduleType,a.injector,Yha(function(){return d})),
f=e.injector.get(Qe,null);d.runOutsideAngular(function(){var h=d.onError.subscribe({next:function(l){f.handleError(l)}});e.onDestroy(function(){og(a._modules,e);h.unsubscribe()})});return Tha(f,d,function(){var h=e.injector.get(iv);FFb(h);return h.donePromise.then(function(){var l=e.injector.get(bj,"en-US")||"en-US";if(null==l)throw Error("sa`Expected localeId to be defined` [Expected=> null != "+(l+" <=Actual]"));a._moduleDoBootstrap(e);return e})})})},KGb=function(){var a=JGb(),b=nw;var c=void 0===
c?[]:c;var d=Uha({},c);Promise.resolve(new DFb(b)).then(function(e){return IGb(a,e,d)})};lg.prototype._moduleDoBootstrap=function(a){var b=a.injector.get(ow);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 $c(-403,!1);this._modules.push(a)};lg.prototype.onDestroy=function(a){this._destroyListeners.push(a)};
lg.prototype.destroy=function(){if(this._destroyed)throw new $c(404,!1);this._modules.slice().forEach(function(b){return b.destroy()});this._destroyListeners.forEach(function(b){return b()});var a=this._injector.get(Qha,null);a&&(a.forEach(function(b){return b()}),a.clear());this._destroyed=!0};Xi.Object.defineProperties(lg.prototype,{injector:{configurable:!0,enumerable:!0,get:function(){return this._injector}},destroyed:{configurable:!0,enumerable:!0,get:function(){return this._destroyed}}});
lg.\u0275fac=function(a){return new (a||lg)(n(Zu))};lg.\u0275prov=Vc({token:lg,factory:lg.\u0275fac,providedIn:"platform"});var ow=function(){this._bootstrapListeners=[];this._destroyed=this._runningTick=!1;this._destroyListeners=[];this._views=[];this.internalErrorHandler=hd(Wha);this.componentTypes=[];this.components=[];this.isStable=hd(Xha);this._injector=hd(Uu)};
ow.prototype.bootstrap=function(a,b){var c=this,d=a instanceof iFb;if(!this._injector.get(iv).done)throw new $c(405,!1);var e;d?e=a:e=BFb(this._injector.get($u),a);this.componentTypes.push(e.componentType);a=e.isBoundToModule?void 0:this._injector.get(av);var f=e.create(dFb,[],b||e.selector,a),h=f.location.nativeElement,l=f.injector.get(AGb,null);null==l||l.registerApplication(h);f.onDestroy(function(){c.detachView(f.hostView);og(c.components,f);null==l||l.unregisterApplication(h)});this._loadComponent(f);
return f};var LGb=function(a){if(a._runningTick)throw new $c(101,!1);try{a._runningTick=!0;for(var b=m(a._views),c=b.next();!c.done;c=b.next())c.value.detectChanges()}catch(d){a.internalErrorHandler(d)}finally{a._runningTick=!1}},MGb=function(a,b){a._views.push(b);if(b._attachedToViewContainer)throw new $c(902,!1);b._appRef=a};g=ow.prototype;g.detachView=function(a){og(this._views,a);a._appRef=null;var b=a._lView;re(b[11],2,a._lView[1].firstChild,b,null,null,!1)};
g._loadComponent=function(a){MGb(this,a.hostView);LGb(this);this.components.push(a);var b=this._injector.get(GGb,[]);b.push.apply(b,r(this._bootstrapListeners));b.forEach(function(c){return c(a)})};g.ngOnDestroy=function(){if(!this._destroyed)try{this._destroyListeners.forEach(function(a){return a()}),this._views.slice().forEach(function(a){return a.destroy()})}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}};
g.onDestroy=function(a){var b=this;this._destroyListeners.push(a);return function(){return og(b._destroyListeners,a)}};g.destroy=function(){if(this._destroyed)throw new $c(406,!1);var a=this._injector;a.destroy&&!a.destroyed&&a.destroy()};Xi.Object.defineProperties(ow.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}}});
ow.\u0275fac=function(a){return new (a||ow)};ow.\u0275prov=Vc({token:ow,factory:ow.\u0275fac,providedIn:"root"});var Wha=new Bd("",{providedIn:"root",factory:function(){return hd(Qe).handleError.bind(FGb)}}),pg=function(){this.zone=hd(hg);this.applicationRef=hd(ow)};pg.prototype.initialize=function(){var a=this;this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:function(){a.zone.run(function(){LGb(a.applicationRef)})}}))};
pg.prototype.ngOnDestroy=function(){var a;null==(a=this._onMicrotaskEmptySubscription)||a.unsubscribe()};pg.\u0275fac=function(a){return new (a||pg)};pg.\u0275prov=Vc({token:pg,factory:pg.\u0275fac,providedIn:"root"});new Bd("");new Bd("AnalyzeForEntryComponents");var yg=0,zg=0,Ag=0,Cg=0,Dg=0;var Cia=Dia;var Vg=function(a){this._injector=a;this.cachedInjectors=new Map};Vg.prototype.ngOnDestroy=function(){try{for(var a=m(this.cachedInjectors.values()),b=a.next();!b.done;b=a.next()){var c=b.value;null!==c&&c.destroy()}}finally{this.cachedInjectors.clear()}};Vg.\u0275prov=Vc({token:Vg,providedIn:"environment",factory:function(){return new Vg(n(Uu))}});var lh=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=lh.prototype;b[Symbol.iterator]||(b[Symbol.iterator]=Sia)};g=lh.prototype;g.get=function(a){return this._results[a]};g.map=function(a){return this._results.map(a)};g.filter=function(a){return this._results.filter(a)};g.find=function(a){return this._results.find(a)};
g.reduce=function(a,b){return this._results.reduce(a,b)};g.forEach=function(a){this._results.forEach(a)};g.some=function(a){return this._results.some(a)};g.toArray=function(){return this._results.slice()};g.toString=function(){return this._results.toString()};
g.reset=function(a,b){this.dirty=!1;a=a.flat(Number.POSITIVE_INFINITY);a:{var c=this._results;if(c.length!==a.length)b=!1;else{for(var d=0;d<c.length;d++){var e=c[d],f=a[d];b&&(e=b(e),f=b(f));if(f!==e){b=!1;break a}}b=!0}}if(this._changesDetected=!b)this._results=a,this.length=a.length,this.last=a[this.length-1],this.first=a[0]};var gh=function(a){!a._changes||!a._changesDetected&&a._emitDistinctChangesOnly||a._changes.emit(a)};lh.prototype.setDirty=function(){this.dirty=!0};
lh.prototype.destroy=function(){this.changes.complete();this.changes.unsubscribe()};Xi.Object.defineProperties(lh.prototype,{changes:{configurable:!0,enumerable:!0,get:function(){return this._changes||(this._changes=new Rv)}}});Symbol.iterator;var eh=function(){};eh.__NG_ELEMENT_ID__=Tia;var ch=function(a,b,c){this._declarationLView=a;this._declarationTContainer=b;this.elementRef=c};W(ch,eh);ch.__NG_ELEMENT_ID__=eh.__NG_ELEMENT_ID__;ch.prototype.createEmbeddedView=function(a,b){return NGb(this,a,b)};
var NGb=function(a,b,c){var d=a._declarationTContainer.tView;c=Je(a._declarationLView,d,b,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));hfa(d,c,b);return new rh(c)};Xi.Object.defineProperties(ch.prototype,{ssrId:{configurable:!0,enumerable:!0,get:function(){var a;return(null==(a=this._declarationTContainer.tView)?void 0:a.ssrId)||null}}});var fh=function(){};fh.__NG_ELEMENT_ID__=Via;var dh=function(a,b,c){this._lContainer=a;this._hostTNode=b;this._hostLView=c};W(dh,fh);dh.__NG_ELEMENT_ID__=fh.__NG_ELEMENT_ID__;g=dh.prototype;g.clear=function(){for(;0<this.length;)this.remove(this.length-1)};g.get=function(a){var b=this._lContainer[8];return null!==b&&b[a]||null};g.createEmbeddedView=function(a,b,c){if("number"===typeof c)var d=c;else if(null!=c){d=c.index;var e=c.injector}a=NGb(a,b||{},e);OGb(this,a,d);return a};
g.createComponent=function(a,b,c,d){var e=a&&"function"!==typeof a;if(!e){var f=b||{};b=f.index;c=f.injector;d=f.projectableNodes;f=f.environmentInjector||f.ngModuleRef}a=e?a:new th(a[nd]||null);c=c||this.parentInjector;f||null!=a.ngModule||(e=(e?c:this.parentInjector).get(Uu,null))&&(f=e);d=a.create(c,d,null,f);OGb(this,d.hostView,b);return d};g.insert=function(a,b){return OGb(this,a,b)};
var OGb=function(a,b,c){var d=b._lView,e=d[1];if(Gd(d[3])){var f=a.indexOf(b);-1!==f?a.detach(f):(f=d[3],f=new dh(f,f[6],f[3]),f.detach(f.indexOf(b)))}c=a._adjustIndex(c);a=a._lContainer;f=11+c;var h=a.length;0<c&&(a[f-1][4]=d);c<h-11?(d[4]=a[f],f=11+c,f>=a.length?a.push(d):a.splice(f,0,d)):(a.push(d),d[4]=null);d[3]=a;f=d[16];null!==f&&a!==f&&(h=f[9],d[15]!==d[3][3][15]&&(f[2]=!0),null===h?f[9]=[d]:h.push(d));f=d[18];null!==f&&PGb(f,e);d[2]|=128;f=Eea(c,a);h=d[11];var l=h.parentNode(a[7]);if(null!==
l){var q=a[6];d[0]=l;d[6]=q;re(h,1,e.firstChild,d,l,f,!1)}if(b._appRef)throw new $c(902,!1);b._attachedToViewContainer=!0;d=Wia(a);c>=d.length?d.push(b):d.splice(c,0,b);return b};g=dh.prototype;g.move=function(a,b){return this.insert(a,b)};g.indexOf=function(a){var b=this._lContainer[8];return null!==b?b.indexOf(a):-1};g.remove=function(a){a=this._adjustIndex(a,-1);var b=Aea(this._lContainer,a);b&&(ud(Wia(this._lContainer),a),Cea(b[1],b))};
g.detach=function(a){a=this._adjustIndex(a,-1);var b=Aea(this._lContainer,a);return b&&null!=ud(Wia(this._lContainer),a)?new rh(b):null};g._adjustIndex=function(a,b){return null==a?this.length+(void 0===b?0:b):a};
Xi.Object.defineProperties(dh.prototype,{element:{configurable:!0,enumerable:!0,get:function(){return le(this._hostTNode,this._hostLView)}},injector:{configurable:!0,enumerable:!0,get:function(){return new he(this._hostTNode,this._hostLView)}},parentInjector:{configurable:!0,enumerable:!0,get:function(){var a=eea(this._hostTNode,this._hostLView);if(-1!==a){var b=Yd(a,this._hostLView);return new he(b[1].data[(a&32767)+8],b)}return new he(null,this._hostLView)}},length:{configurable:!0,enumerable:!0,
get:function(){return this._lContainer.length-11}}});var Xia=Yia;var nh=function(a){this.queryList=a;this.matches=null};nh.prototype.clone=function(){return new nh(this.queryList)};nh.prototype.setDirty=function(){this.queryList.setDirty()};var mh=function(a){this.queries=a=void 0===a?[]:a};mh.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 mh(c)}return null};
mh.prototype.detachView=function(a){PGb(this,a)};var PGb=function(a,b){for(var c=0;c<a.queries.length;c++)null!==b.queries.queries[c].matches&&a.queries[c].setDirty()},bja=function(a,b,c){this.predicate=a;this.flags=b;this.read=void 0===c?null:c},oh=function(a){this.queries=a=void 0===a?[]:a};g=oh.prototype;g.elementStart=function(a,b){for(var c=0;c<this.queries.length;c++)this.queries[c].elementStart(a,b)};g.elementEnd=function(a){for(var b=0;b<this.queries.length;b++)this.queries[b].elementEnd(a)};
g.embeddedTView=function(a){for(var b=null,c=0;c<this.length;c++){var d=this.queries[c].embeddedTView(a,null!==b?b.length:0);d&&(d.indexInDeclarationView=c,null!==b?b.push(d):b=[d])}return null!==b?new oh(b):null};g.template=function(a,b){for(var c=0;c<this.queries.length;c++)this.queries[c].template(a,b)};g.track=function(a){this.queries.push(a)};Xi.Object.defineProperties(oh.prototype,{length:{configurable:!0,enumerable:!0,get:function(){return this.queries.length}}});
var ph=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};
ph.prototype.elementStart=function(a,b){if(QGb(this,b)){var c=this.metadata.predicate;if(Array.isArray(c))for(var d=0;d<c.length;d++){var e=c[d];a:{var f=b.localNames;if(null!==f)for(var h=0;h<f.length;h+=2)if(f[h]===e){f=f[h+1];break a}f=null}RGb(this,a,b,f);RGb(this,a,b,ee(b,a,e,!1,!1))}else c===eh?b.type&4&&RGb(this,a,b,-1):RGb(this,a,b,ee(b,a,c,!1,!1))}};ph.prototype.elementEnd=function(a){this._declarationNodeIndex===a.index&&(this._appliesToNextNode=!1)};
ph.prototype.template=function(a,b){this.elementStart(a,b)};ph.prototype.embeddedTView=function(a,b){return QGb(this,a)?(this.crossesNgTemplate=!0,SGb(this,-a.index,b),new ph(this.metadata)):null};
var QGb=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},RGb=function(a,b,c,d){if(null!==d){var e=a.metadata.read;null!==e?e===ke||e===fh||e===eh&&c.type&4?SGb(a,c.index,-2):(b=ee(c,b,e,!1,!1),null!==b&&SGb(a,c.index,b)):SGb(a,c.index,d)}},SGb=function(a,b,c){null===a.matches?a.matches=[b,c]:a.matches.push(b,c)};var pw=function(){};pw.\u0275fac=function(a){return new (a||pw)(n(ow))};pw.\u0275mod=od({type:pw});pw.\u0275inj=Wc({});var qw=function(){};qw.__NG_ELEMENT_ID__=dja;var TGb=function(){};TGb.prototype.supports=function(a){return dia(a)};TGb.prototype.create=function(a){return new rw(a)};var UGb=function(a,b){return b},rw=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||UGb};
rw.prototype.forEachItem=function(a){var b;for(b=this._itHead;null!==b;b=b._next)a(b)};var VGb=function(a,b){var c=a._itHead;a=a._removalsHead;for(var d=0,e=null;c||a;){var f=!a||c&&c.currentIndex<eja(a,d,e)?c:a,h=eja(f,d,e),l=f.currentIndex;if(f===a)d--,a=a._nextRemoved;else if(c=c._next,null==f.previousIndex)d++;else{e||(e=[]);var q=h-d,u=l-d;if(q!=u){for(var x=0;x<q;x++){var y=x<e.length?e[x]:e[x]=0,G=y+x;u<=G&&G<q&&(e[x]=y+1)}e[f.previousIndex]=u-q}}h!==l&&b(f,h,l)}};
rw.prototype.forEachAddedItem=function(a){var b;for(b=this._additionsHead;null!==b;b=b._nextAdded)a(b)};rw.prototype.forEachRemovedItem=function(a){var b;for(b=this._removalsHead;null!==b;b=b._nextRemoved)a(b)};var WGb=function(a,b){for(a=a._identityChangesHead;null!==a;a=a._nextIdentityChange)b(a)};g=rw.prototype;g.diff=function(a){null==a&&(a=[]);if(!dia(a))throw new $c(900,!1);return this.check(a)?this:null};g.onDestroy=function(){};
g.check=function(a){var b=this;this._reset();var c=this._itHead,d=!1;if(Array.isArray(a)){this.length=a.length;for(var e=0;e<this.length;e++){var f=a[e];var h=this._trackByFn(e,f);null!==c&&Object.is(c.trackById,h)?(d&&(c=this._verifyReinsertion(c,f,h,e)),Object.is(c.item,f)||this._addIdentityChange(c,f)):(c=this._mismatch(c,f,h,e),d=!0);c=c._next}}else{var l=0;eia(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};
g._reset=function(){if(this.isDirty){var a;for(a=this._previousItHead=this._itHead;null!==a;a=a._next)a._nextPrevious=a._next;for(a=this._additionsHead;null!==a;a=a._nextAdded)a.previousIndex=a.currentIndex;this._additionsHead=this._additionsTail=null;for(a=this._movesHead;null!==a;a=a._nextMoved)a.previousIndex=a.currentIndex;this._identityChangesHead=this._identityChangesTail=this._removalsHead=this._removalsTail=this._movesHead=this._movesTail=null}};
g._mismatch=function(a,b,c,d){if(null===a)var e=this._itTail;else e=a._prev,this._remove(a);a=null===this._unlinkedRecords?null:this._unlinkedRecords.get(c,null);null!==a?(Object.is(a.item,b)||this._addIdentityChange(a,b),this._reinsertAfter(a,e,d)):(a=null===this._linkedRecords?null:this._linkedRecords.get(c,d),null!==a?(Object.is(a.item,b)||this._addIdentityChange(a,b),this._moveAfter(a,e,d)):a=this._addAfter(new XGb(b,c),e,d));return a};
g._verifyReinsertion=function(a,b,c,d){b=null===this._unlinkedRecords?null:this._unlinkedRecords.get(c,null);null!==b?a=this._reinsertAfter(b,a._prev,d):a.currentIndex!=d&&(a.currentIndex=d,this._addToMoves(a,d));return a};
g._truncate=function(a){for(;null!==a;){var b=a._next;this._addToRemovals(this._unlink(a));a=b}null!==this._unlinkedRecords&&this._unlinkedRecords.clear();null!==this._additionsTail&&(this._additionsTail._nextAdded=null);null!==this._movesTail&&(this._movesTail._nextMoved=null);null!==this._itTail&&(this._itTail._next=null);null!==this._removalsTail&&(this._removalsTail._nextRemoved=null);null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)};
g._reinsertAfter=function(a,b,c){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(a);var d=a._prevRemoved,e=a._nextRemoved;null===d?this._removalsHead=e:d._nextRemoved=e;null===e?this._removalsTail=d:e._prevRemoved=d;this._insertAfter(a,b,c);this._addToMoves(a,c);return a};g._moveAfter=function(a,b,c){this._unlink(a);this._insertAfter(a,b,c);this._addToMoves(a,c);return a};
g._addAfter=function(a,b,c){this._insertAfter(a,b,c);this._additionsTail=null===this._additionsTail?this._additionsHead=a:this._additionsTail._nextAdded=a;return a};g._insertAfter=function(a,b,c){var d=null===b?this._itHead:b._next;a._next=d;a._prev=b;null===d?this._itTail=a:d._prev=a;null===b?this._itHead=a:b._next=a;null===this._linkedRecords&&(this._linkedRecords=new sw);this._linkedRecords.put(a);a.currentIndex=c;return a};g._remove=function(a){return this._addToRemovals(this._unlink(a))};
g._unlink=function(a){null!==this._linkedRecords&&this._linkedRecords.remove(a);var b=a._prev,c=a._next;null===b?this._itHead=c:b._next=c;null===c?this._itTail=b:c._prev=b;return a};g._addToMoves=function(a,b){if(a.previousIndex===b)return a;this._movesTail=null===this._movesTail?this._movesHead=a:this._movesTail._nextMoved=a;return a};
g._addToRemovals=function(a){null===this._unlinkedRecords&&(this._unlinkedRecords=new sw);this._unlinkedRecords.put(a);a.currentIndex=null;a._nextRemoved=null;null===this._removalsTail?(this._removalsTail=this._removalsHead=a,a._prevRemoved=null):(a._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=a);return a};
g._addIdentityChange=function(a,b){a.item=b;this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=a:this._identityChangesTail._nextIdentityChange=a;return a};Xi.Object.defineProperties(rw.prototype,{isDirty:{configurable:!0,enumerable:!0,get:function(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}}});
var XGb=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},YGb=function(){this._tail=this._head=null};YGb.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)};
YGb.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};YGb.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 sw=function(){this.map=new Map};sw.prototype.put=function(a){var b=a.trackById,c=this.map.get(b);c||(c=new YGb,this.map.set(b,c));c.add(a)};
sw.prototype.get=function(a,b){var c=this.map.get(a);return c?c.get(a,b):null};sw.prototype.remove=function(a){var b=a.trackById;this.map.get(b).remove(a)&&this.map.delete(b);return a};sw.prototype.clear=function(){this.map.clear()};Xi.Object.defineProperties(sw.prototype,{isEmpty:{configurable:!0,enumerable:!0,get:function(){return 0===this.map.size}}});var ZGb=function(){};ZGb.prototype.supports=function(a){return a instanceof Map||cia(a)};ZGb.prototype.create=function(){return new $Gb};var $Gb=function(){this._records=new Map;this._removalsTail=this._removalsHead=this._additionsTail=this._additionsHead=this._changesTail=this._changesHead=this._previousMapHead=this._appendAfter=this._mapHead=null};$Gb.prototype.forEachItem=function(a){var b;for(b=this._mapHead;null!==b;b=b._next)a(b)};var aHb=function(a,b){for(a=a._changesHead;null!==a;a=a._nextChanged)b(a)};
g=$Gb.prototype;g.forEachAddedItem=function(a){var b;for(b=this._additionsHead;null!==b;b=b._nextAdded)a(b)};g.forEachRemovedItem=function(a){var b;for(b=this._removalsHead;null!==b;b=b._nextRemoved)a(b)};g.diff=function(a){if(!a)a=new Map;else if(!(a instanceof Map||cia(a)))throw new $c(900,!1);return this.check(a)?this:null};g.onDestroy=function(){};
g.check=function(a){var b=this;this._reset();var c=this._mapHead;this._appendAfter=null;this._forEach(a,function(d,e){c&&c.key===e?(b._maybeAddToChanges(c,d),b._appendAfter=c,c=c._next):(d=b._getOrCreateRecordForKey(e,d),c=b._insertBeforeOrAppend(c,d))});if(c)for(c._prev&&(c._prev._next=null),a=this._removalsHead=c;null!==a;a=a._nextRemoved)a===this._mapHead&&(this._mapHead=null),this._records.delete(a.key),a._nextRemoved=a._next,a.previousValue=a.currentValue,a.currentValue=null,a._prev=null,a._next=
null;this._changesTail&&(this._changesTail._nextChanged=null);this._additionsTail&&(this._additionsTail._nextAdded=null);return this.isDirty};g._insertBeforeOrAppend=function(a,b){if(a){var c=a._prev;b._next=a;b._prev=c;a._prev=b;c&&(c._next=b);a===this._mapHead&&(this._mapHead=b);return this._appendAfter=a}this._appendAfter?(this._appendAfter._next=b,b._prev=this._appendAfter):this._mapHead=b;this._appendAfter=b;return null};
g._getOrCreateRecordForKey=function(a,b){if(this._records.has(a)){a=this._records.get(a);this._maybeAddToChanges(a,b);b=a._prev;var c=a._next;b&&(b._next=c);c&&(c._prev=b);a._next=null;a._prev=null;return a}c=new bHb(a);this._records.set(a,c);c.currentValue=b;this._addToAdditions(c);return c};
g._reset=function(){if(this.isDirty){var a;for(a=this._previousMapHead=this._mapHead;null!==a;a=a._next)a._nextPrevious=a._next;for(a=this._changesHead;null!==a;a=a._nextChanged)a.previousValue=a.currentValue;for(a=this._additionsHead;null!=a;a=a._nextAdded)a.previousValue=a.currentValue;this._removalsHead=this._additionsHead=this._additionsTail=this._changesHead=this._changesTail=null}};
g._maybeAddToChanges=function(a,b){Object.is(b,a.currentValue)||(a.previousValue=a.currentValue,a.currentValue=b,this._addToChanges(a))};g._addToAdditions=function(a){null===this._additionsHead?this._additionsHead=this._additionsTail=a:this._additionsTail=this._additionsTail._nextAdded=a};g._addToChanges=function(a){null===this._changesHead?this._changesHead=this._changesTail=a:this._changesTail=this._changesTail._nextChanged=a};
g._forEach=function(a,b){a instanceof Map?a.forEach(b):Object.keys(a).forEach(function(c){return b(a[c],c)})};Xi.Object.defineProperties($Gb.prototype,{isDirty:{configurable:!0,enumerable:!0,get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}}});var bHb=function(a){this.key=a;this._nextChanged=this._nextRemoved=this._nextAdded=this._prev=this._next=this._nextPrevious=this.currentValue=this.previousValue=null};var tw=function(a){this.factories=a};tw.prototype.find=function(a){var b=this.factories.find(function(c){return c.supports(a)});if(null!=b)return b;throw new $c(901,!1);};tw.\u0275prov=Vc({token:tw,providedIn:"root",factory:function(){return new tw([new TGb])}});var uw=function(a){this.factories=a};uw.prototype.find=function(a){var b=this.factories.find(function(c){return c.supports(a)});if(b)return b;throw new $c(901,!1);};uw.\u0275prov=Vc({token:uw,providedIn:"root",factory:function(){return new uw([new ZGb])}});var vw=function(){var a=this;this.taskId=0;this.collection=new Set;this.ngZone=hd(hg);this.completed=!1;this.ngZone.runOutsideAngular(function(){a.promise=new Promise(function(b){a.resolve=b})})};vw.prototype.add=function(){if(this.completed)return-1;var a=this.taskId++;this.collection.add(a);return a};vw.prototype.remove=function(a){this.completed||(this.collection.delete(a),0===this.collection.size&&this.complete())};vw.prototype.ngOnDestroy=function(){this.complete();this.collection.clear()};
vw.prototype.complete=function(){this.completed=!0;this.resolve()};vw.\u0275fac=function(a){return new (a||vw)};vw.\u0275prov=Vc({token:vw,factory:vw.\u0275fac,providedIn:"root"});var cHb=Oha(null,"core",[]);var dHb=/\s+/,eHb=[],ww=function(a,b,c,d){this._iterableDiffers=a;this._keyValueDiffers=b;this._ngEl=c;this._renderer=d;this.initialClasses=eHb;this.stateMap=new Map};
ww.prototype.ngDoCheck=function(){for(var a=m(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=m(a),b=a.next();!b.done;b=a.next())this._updateState(b.value,!0);else if(null!=a){var c=m(Object.keys(a));for(b=c.next();!b.done;b=c.next())b=b.value,this._updateState(b,!!a[b])}this._applyStateDiff()};
ww.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})};ww.prototype._applyStateDiff=function(){for(var a=m(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}};
ww.prototype._toggleClass=function(a,b){var c=this;a=a.trim();0<a.length&&a.split(dHb).forEach(function(d){b?c._renderer.addClass(c._ngEl.nativeElement,d):c._renderer.removeClass(c._ngEl.nativeElement,d)})};Xi.Object.defineProperties(ww.prototype,{klass:{configurable:!0,enumerable:!0,set:function(a){this.initialClasses=null!=a?a.trim().split(dHb):eHb}},ngClass:{configurable:!0,enumerable:!0,set:function(a){this.rawClass="string"===typeof a?a.trim().split(dHb):a}}});
ww.\u0275fac=function(a){return new (a||ww)(A(tw),A(uw),A(ke),A(ev))};ww.\u0275dir=qd({type:ww,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0});var fHb=function(a,b,c,d){this.$implicit=a;this.ngForOf=b;this.index=c;this.count=d};Xi.Object.defineProperties(fHb.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 xw=function(a,b,c){this._viewContainer=a;this._template=b;this._differs=c;this._ngForOf=null;this._ngForOfDirty=!0;this._differ=null};xw.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)};
xw.prototype._applyChanges=function(a){var b=this,c=this._viewContainer;VGb(a,function(h,l,q){null==h.previousIndex?c.createEmbeddedView(b._template,new fHb(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 f=c.get(d).context;f.index=d;f.count=e;f.ngForOf=this._ngForOf}WGb(a,function(h){c.get(h.currentIndex).context.$implicit=h.item})};
Xi.Object.defineProperties(xw.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)}}});xw.\u0275fac=function(a){return new (a||xw)(A(fh),A(eh),A(tw))};
xw.\u0275dir=qd({type:xw,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});var yw=function(a,b){this._viewContainer=a;this._context=new gHb;this._elseViewRef=this._thenViewRef=this._elseTemplateRef=null;this._thenTemplateRef=b};
yw.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)))};
Xi.Object.defineProperties(yw.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){gja("ngIfThen",a);this._thenTemplateRef=a;this._thenViewRef=null;this._updateView()}},ngIfElse:{configurable:!0,enumerable:!0,set:function(a){gja("ngIfElse",a);this._elseTemplateRef=a;this._elseViewRef=null;this._updateView()}}});yw.\u0275fac=function(a){return new (a||yw)(A(fh),A(eh))};
yw.\u0275dir=qd({type:yw,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});var gHb=function(){this.ngIf=this.$implicit=null};var hHb=function(a,b){this._viewContainerRef=a;this._templateRef=b;this._created=!1};hHb.prototype.create=function(){this._created=!0;this._viewContainerRef.createEmbeddedView(this._templateRef)};hHb.prototype.destroy=function(){this._created=!1;this._viewContainerRef.clear()};var zw=function(){this._defaultViews=[];this._defaultUsed=!1;this._lastCaseCheckIndex=this._caseCount=0;this._lastCasesMatched=!1};zw.prototype._addCase=function(){return this._caseCount++};zw.prototype._addDefault=function(a){this._defaultViews.push(a)};
zw.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};
zw.prototype._updateDefaultCases=function(a){if(0<this._defaultViews.length&&a!==this._defaultUsed){this._defaultUsed=a;for(var b=m(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()}}};Xi.Object.defineProperties(zw.prototype,{ngSwitch:{configurable:!0,enumerable:!0,set:function(a){this._ngSwitch=a;0===this._caseCount&&this._updateDefaultCases(!0)}}});zw.\u0275fac=function(a){return new (a||zw)};
zw.\u0275dir=qd({type:zw,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0});var Aw=function(a,b,c){this.ngSwitch=c;c._addCase();this._view=new hHb(a,b)};Aw.prototype.ngDoCheck=function(){var a=this._view,b=this.ngSwitch._matchCase(this.ngSwitchCase);b&&!a._created?a.create():!b&&a._created&&a.destroy()};Aw.\u0275fac=function(a){return new (a||Aw)(A(fh),A(eh),A(zw,9))};Aw.\u0275dir=qd({type:Aw,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0});
var Bw=function(a,b,c){c._addDefault(new hHb(a,b))};Bw.\u0275fac=function(a){return new (a||Bw)(A(fh),A(eh),A(zw,9))};Bw.\u0275dir=qd({type:Bw,selectors:[["","ngSwitchDefault",""]],standalone:!0});var Cw=function(a,b,c){this._ngEl=a;this._differs=b;this._renderer=c;this._differ=this._ngStyle=null};Cw.prototype.ngDoCheck=function(){if(this._differ){var a=this._differ.diff(this._ngStyle);a&&this._applyChanges(a)}};Cw.prototype._setStyle=function(a,b){var c=m(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)};
Cw.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)});aHb(a,function(c){return b._setStyle(c.key,c.currentValue)})};Xi.Object.defineProperties(Cw.prototype,{ngStyle:{configurable:!0,enumerable:!0,set:function(a){this._ngStyle=a;!this._differ&&a&&(this._differ=this._differs.find(a).create())}}});Cw.\u0275fac=function(a){return new (a||Cw)(A(ke),A(uw),A(ev))};
Cw.\u0275dir=qd({type:Cw,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0});var Dw=function(a){this._viewContainerRef=a;this.ngTemplateOutletInjector=this.ngTemplateOutlet=this.ngTemplateOutletContext=this._viewRef=null};
Dw.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)};
Dw.\u0275fac=function(a){return new (a||Dw)(A(fh))};Dw.\u0275dir=qd({type:Dw,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Hd]});var iHb=function(){};iHb.prototype.createSubscription=function(a,b){return a.subscribe({next:b,error:function(c){throw c;}})};iHb.prototype.dispose=function(a){a.unsubscribe()};var jHb=function(){};jHb.prototype.createSubscription=function(a,b){return a.then(b,function(c){throw c;})};jHb.prototype.dispose=function(){};var kHb=new jHb,lHb=new iHb,Ew=function(a){this._strategy=this._obj=this._subscription=this._latestValue=null;this._ref=a};g=Ew.prototype;
g.ngOnDestroy=function(){this._subscription&&this._dispose();this._ref=null};g.transform=function(a){return this._obj?a!==this._obj?(this._dispose(),this.transform(a)):this._latestValue:(a&&this._subscribe(a),this._latestValue)};g._subscribe=function(a){var b=this;this._obj=a;this._strategy=this._selectStrategy(a);this._subscription=this._strategy.createSubscription(a,function(c){return b._updateLatestValue(a,c)})};
g._selectStrategy=function(a){if(We(a))return kHb;if(Cfa(a))return lHb;throw zh();};g._dispose=function(){this._strategy.dispose(this._subscription);this._obj=this._subscription=this._latestValue=null};g._updateLatestValue=function(a,b){a===this._obj&&(this._latestValue=b,this._ref.markForCheck())};Ew.\u0275fac=function(a){return new (a||Ew)(A(qw,16))};Ew.\u0275pipe=rd({name:"async",type:Ew,pure:!1,standalone:!0});var Fw=function(){};Fw.prototype.transform=function(a){if(null==a)return null;if("string"!==typeof a)throw zh();return a.toLowerCase()};Fw.\u0275fac=function(a){return new (a||Fw)};Fw.\u0275pipe=rd({name:"lowercase",type:Fw,pure:!0,standalone:!0});
var mHb=/(?:[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,Gw=
function(){};Gw.prototype.transform=function(a){if(null==a)return null;if("string"!==typeof a)throw zh();return a.replace(mHb,function(b){return b[0].toUpperCase()+b.slice(1).toLowerCase()})};Gw.\u0275fac=function(a){return new (a||Gw)};Gw.\u0275pipe=rd({name:"titlecase",type:Gw,pure:!0,standalone:!0});var zja=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Gh={},qja=/((?:[^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]*)/,tja={};var nHb=new Bd("DATE_PIPE_DEFAULT_TIMEZONE"),oHb=new Bd("DATE_PIPE_DEFAULT_OPTIONS"),Hw=function(a,b,c){this.locale=a;this.defaultTimezone=b;this.defaultOptions=c};
Hw.prototype.transform=function(a,b,c,d){if(null==a||""===a||a!==a)return null;try{var e,f,h=null!=(f=null!=b?b:null==(e=this.defaultOptions)?void 0:e.dateFormat)?f:"mediumDate",l,q,u,x=null!=(u=null!=(q=null!=c?c:null==(l=this.defaultOptions)?void 0:l.timezone)?q:this.defaultTimezone)?u:void 0;return vja(a,h,d||this.locale,x)}catch(y){throw zh();}};Hw.\u0275fac=function(a){return new (a||Hw)(A(bj,16),A(nHb,24),A(oHb,24))};Hw.\u0275pipe=rd({name:"date",type:Hw,pure:!0,standalone:!0});var Iw=function(){};Iw.prototype.transform=function(a){return JSON.stringify(a,null,2)};Iw.\u0275fac=function(a){return new (a||Iw)};Iw.\u0275pipe=rd({name:"json",type:Iw,pure:!1,standalone:!0});var Jw=function(a){this.differs=a;this.keyValues=[];this.compareFn=Bja};Jw.prototype.transform=function(a,b){var c=this;b=void 0===b?Bja: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};
Jw.\u0275fac=function(a){return new (a||Jw)(A(uw,16))};Jw.\u0275pipe=rd({name:"keyvalue",type:Jw,pure:!1,standalone:!0});var Eja=/^(\d+)?\.((\d+)(-(\d+))?)?$/;var Kw=function(a){this._locale=a};
Kw.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("Xa`"+a);var d=a}else d=Number(a);a=d;var e=Xe(c)[14][0],f=yh(c,5);f=void 0===f?"-":f;d={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0};var h=e.split(";"),l=h[0],q=h[1],u=-1!==l.indexOf(".")?l.split("."):[l.substring(0,l.lastIndexOf("0")+1),l.substring(l.lastIndexOf("0")+
1)],x=u[0],y=u[1]||"";d.posPre=x.substring(0,x.indexOf("#"));for(e=0;e<y.length;e++){var G=y.charAt(e);"0"===G?d.minFrac=d.maxFrac=e+1:"#"===G?d.maxFrac=e+1:d.posSuf+=G}var L=x.split(",");d.gSize=L[1]?L[1].length:0;d.lgSize=L[2]||L[1]?(L[2]||L[1]).length:0;if(q){var M=l.length-d.posPre.length-d.posSuf.length,T=q.indexOf("#");d.negPre=q.substring(0,T).replace(/'/g,"");d.negSuf=q.slice(T+M).replace(/'/g,"")}else d.negPre=f+d.posPre,d.negSuf=d.posSuf;return Hja(a,d,c,b)}catch(S){throw zh();}};
Kw.\u0275fac=function(a){return new (a||Kw)(A(bj,16))};Kw.\u0275pipe=rd({name:"number",type:Kw,pure:!0,standalone:!0});var Lw=function(){};Lw.prototype.transform=function(a,b,c){if(null==a)return null;if(!this.supports(a))throw zh();return a.slice(b,c)};Lw.prototype.supports=function(a){return"string"===typeof a||Array.isArray(a)};Lw.\u0275fac=function(a){return new (a||Lw)};Lw.\u0275pipe=rd({name:"slice",type:Lw,pure:!1,standalone:!0});var Mw=function(){};Mw.\u0275fac=function(a){return new (a||Mw)};Mw.\u0275mod=od({type:Mw});Mw.\u0275inj=Wc({});var Nw=function(a,b){this._renderer=a;this._elementRef=b;this.onChange=function(){};this.onTouched=function(){}};Nw.prototype.setProperty=function(a,b){this._renderer.setProperty(this._elementRef.nativeElement,a,b)};Nw.prototype.registerOnTouched=function(a){this.onTouched=a};Nw.prototype.registerOnChange=function(a){this.onChange=a};Nw.prototype.setDisabledState=function(a){this.setProperty("disabled",a)};Nw.\u0275fac=function(a){return new (a||Nw)(A(ev),A(ke))};Nw.\u0275dir=qd({type:Nw});
var Rh=function(){Nw.apply(this,arguments)};W(Rh,Nw);Rh.\u0275fac=function(){var a;return function(b){return(a||(a=ie(Rh)))(b||Rh)}}();Rh.\u0275dir=qd({type:Rh,features:[qg]});var Ow=new Bd("NgValueAccessor");var pHb=function(a){return a.src};new Bd("ImageLoader",{providedIn:"root",factory:function(){return pHb}});var Vi=new Bd("DocumentToken");new Bd("PRECONNECT_CHECK_BLOCKLIST");new Bd("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:function(){return new Set}});var qHb={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840]};new Bd("ImageConfig",{providedIn:"root",factory:function(){return qHb}});var rHb=null,sHb=function(){};var Pw=function(){};Pw.prototype.historyGo=function(){throw Error("Ya");};Pw.\u0275fac=function(a){return new (a||Pw)};Pw.\u0275prov=Vc({token:Pw,factory:function(){return n(Qw)},providedIn:"platform"});var tHb=new Bd("Location Initialized"),Qw=function(a){this._doc=a;this._location=window.location;this._history=window.history};W(Qw,Pw);Qw.prototype.onPopState=function(a){var b=uHb(this._doc,"window");b.addEventListener("popstate",a,!1);return function(){return b.removeEventListener("popstate",a)}};
var vHb=function(a,b){var c=uHb(a._doc,"window");c.addEventListener("hashchange",b,!1);return function(){return c.removeEventListener("hashchange",b)}};g=Qw.prototype;g.pushState=function(a,b,c){window.history.pushState?this._history.pushState(a,b,c):this._location.hash=c};g.replaceState=function(a,b,c){window.history.pushState?this._history.replaceState(a,b,c):this._location.hash=c};g.forward=function(){this._history.forward()};g.back=function(){this._history.back()};
g.historyGo=function(a){this._history.go(void 0===a?0:a)};g.getState=function(){return this._history.state};
Xi.Object.defineProperties(Qw.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}}});Qw.\u0275fac=function(a){return new (a||Qw)(n(Vi))};Qw.\u0275prov=Vc({token:Qw,factory:function(){return new Qw(n(Vi))},providedIn:"platform"});var Rw=function(){};Rw.prototype.historyGo=function(){throw Error("Ya");};Rw.\u0275fac=function(a){return new (a||Rw)};Rw.\u0275prov=Vc({token:Rw,factory:function(){return hd(Sw)},providedIn:"root"});var wHb=new Bd("appBaseHref"),Sw=function(a,b){this._platformLocation=a;this._removeListenerFns=[];var c,d,e;this._baseHref=null!=(e=null!=(d=null!=b?b:rHb.getBaseHref())?d:null==(c=hd(Vi).location)?void 0:c.origin)?e:""};W(Sw,Rw);g=Sw.prototype;g.ngOnDestroy=function(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()};
g.onPopState=function(a){this._removeListenerFns.push(this._platformLocation.onPopState(a),vHb(this._platformLocation,a))};g.getBaseHref=function(){return this._baseHref};g.prepareExternalUrl=function(a){return Ija(this._baseHref,a)};g.path=function(a){var b=this._platformLocation.pathname+Jh(this._platformLocation.search),c=this._platformLocation.hash;return c&&(void 0===a?0:a)?b+c:b};g.pushState=function(a,b,c,d){this._platformLocation.pushState(a,b,this.prepareExternalUrl(c+Jh(d)))};
g.replaceState=function(a,b,c,d){this._platformLocation.replaceState(a,b,this.prepareExternalUrl(c+Jh(d)))};g.forward=function(){this._platformLocation.forward()};g.back=function(){this._platformLocation.back()};g.getState=function(){return this._platformLocation.getState()};g.historyGo=function(a){var b,c;null==(c=(b=this._platformLocation).historyGo)||c.call(b,void 0===a?0:a)};Sw.\u0275fac=function(a){return new (a||Sw)(n(Pw),n(wHb,8))};Sw.\u0275prov=Vc({token:Sw,factory:Sw.\u0275fac,providedIn:"root"});var Tw=function(a,b){this._platformLocation=a;this._baseHref="";this._removeListenerFns=[];null!=b&&(this._baseHref=b)};W(Tw,Rw);g=Tw.prototype;g.ngOnDestroy=function(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()};g.onPopState=function(a){this._removeListenerFns.push(this._platformLocation.onPopState(a),vHb(this._platformLocation,a))};g.getBaseHref=function(){return this._baseHref};
g.path=function(){var a=this._platformLocation.hash;null==a&&(a="#");return 0<a.length?a.substring(1):a};g.prepareExternalUrl=function(a){a=Ija(this._baseHref,a);return 0<a.length?"#"+a:a};g.pushState=function(a,b,c,d){c=this.prepareExternalUrl(c+Jh(d));0==c.length&&(c=this._platformLocation.pathname);this._platformLocation.pushState(a,b,c)};
g.replaceState=function(a,b,c,d){c=this.prepareExternalUrl(c+Jh(d));0==c.length&&(c=this._platformLocation.pathname);this._platformLocation.replaceState(a,b,c)};g.forward=function(){this._platformLocation.forward()};g.back=function(){this._platformLocation.back()};g.getState=function(){return this._platformLocation.getState()};g.historyGo=function(a){var b,c;null==(c=(b=this._platformLocation).historyGo)||c.call(b,void 0===a?0:a)};Tw.\u0275fac=function(a){return new (a||Tw)(n(Pw),n(wHb,8))};
Tw.\u0275prov=Vc({token:Tw,factory:Tw.\u0275fac});var Uw=function(a){var b=this;this._subject=new Rv;this._urlChangeListeners=[];this._urlChangeSubscription=null;this._locationStrategy=a;a=this._locationStrategy.getBaseHref();this._basePath=Kja(Jja(a.replace(/\/index.html$/,"")));this._locationStrategy.onPopState(function(c){b._subject.emit({url:b.path(!0),pop:!0,state:c.state,type:c.type})})};g=Uw.prototype;g.ngOnDestroy=function(){var a;null==(a=this._urlChangeSubscription)||a.unsubscribe();this._urlChangeListeners=[]};
g.path=function(a){return this.normalize(this._locationStrategy.path(void 0===a?!1:a))};g.getState=function(){return this._locationStrategy.getState()};g.normalize=function(a){var b=this._basePath;a=a.replace(/\/index.html$/,"");b&&a.startsWith(b)?(b=a.substring(b.length),b=""===b||["/",";","?","#"].includes(b[0])?b:a):b=a;return Jja(b)};g.prepareExternalUrl=function(a){a&&"/"!==a[0]&&(a="/"+a);return this._locationStrategy.prepareExternalUrl(a)};
g.go=function(a,b,c){b=void 0===b?"":b;c=void 0===c?null:c;this._locationStrategy.pushState(c,"",a,b);this._notifyUrlChangeListeners(this.prepareExternalUrl(a+Jh(b)),c)};g.replaceState=function(a,b,c){b=void 0===b?"":b;c=void 0===c?null:c;this._locationStrategy.replaceState(c,"",a,b);this._notifyUrlChangeListeners(this.prepareExternalUrl(a+Jh(b)),c)};g.forward=function(){this._locationStrategy.forward()};g.back=function(){this._locationStrategy.back()};
g.historyGo=function(a){var b,c;null==(c=(b=this._locationStrategy).historyGo)||c.call(b,void 0===a?0:a)};g._notifyUrlChangeListeners=function(a,b){a=void 0===a?"":a;this._urlChangeListeners.forEach(function(c){return c(a,b)})};g.subscribe=function(a,b,c){return this._subject.subscribe({next:a,error:b,complete:c})};Uw.\u0275fac=function(a){return new (a||Uw)(n(Rw))};Uw.\u0275prov=Vc({token:Uw,factory:function(){return new Uw(n(Rw))},providedIn:"root"});new gv;var xHb=function(){};xHb.\u0275prov=Vc({token:xHb,providedIn:"root",factory:function(){return new yHb}});var yHb=function(){var a=n(Vi),b=window;this.document=a;this.window=b;this.offset=function(){return[0,0]}};yHb.prototype.setOffset=function(a){Array.isArray(a)?this.offset=function(){return a}:this.offset=a};yHb.prototype.getScrollPosition=function(){return zHb(this)?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]};
var AHb=function(a,b){zHb(a)&&a.window.scrollTo(b[0],b[1])},zHb=function(a){try{return!!a.window&&!!a.window.scrollTo&&"pageXOffset"in a.window}catch(b){return!1}};var BHb=function(){};var CHb={provide:Ow,useExisting:cd(function(){return Qh}),multi:!0},DHb=new Bd("CompositionEventMode"),Qh=function(a,b,c){Nw.call(this,a,b);this._compositionMode=c;this._composing=!1;null==this._compositionMode&&(this._compositionMode=!/android (\d+)/.test((rHb?window.navigator.userAgent:"").toLowerCase()))};W(Qh,Nw);Qh.prototype.writeValue=function(a){this.setProperty("value",null==a?"":a)};Qh.prototype._handleInput=function(a){if(!this._compositionMode||this._compositionMode&&!this._composing)this.onChange(a)};
Qh.prototype._compositionStart=function(){this._composing=!0};Qh.prototype._compositionEnd=function(a){this._composing=!1;this._compositionMode&&this.onChange(a)};Qh.\u0275fac=function(a){return new (a||Qh)(A(ev),A(ke),A(DHb,8))};
Qh.\u0275dir=qd({type:Qh,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&&K("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:[Ug([CHb]),qg]});var Vw=new Bd("NgValidators"),Ww=new Bd("NgAsyncValidators"),Xw=function(a){return Mja(a)};var Yw=function(){this._rawValidators=[];this._rawAsyncValidators=[];this._onDestroyCallbacks=[]};g=Yw.prototype;g._setValidators=function(a){this._rawValidators=a||[];this._composedValidatorFn=Wja(this._rawValidators)};g._setAsyncValidators=function(a){this._rawAsyncValidators=a||[];this._composedAsyncValidatorFn=Yja(this._rawAsyncValidators)};g._registerOnDestroy=function(a){this._onDestroyCallbacks.push(a)};
g._invokeOnDestroyCallbacks=function(){this._onDestroyCallbacks.forEach(function(a){return a()});this._onDestroyCallbacks=[]};g.reset=function(a){this.control&&this.control.reset(a)};g.hasError=function(a,b){return this.control?this.control.hasError(a,b):!1};g.getError=function(a,b){return this.control?this.control.getError(a,b):null};
Xi.Object.defineProperties(Yw.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 Zw=function(){Yw.apply(this,arguments);this.valueAccessor=this.name=this._parent=null};W(Zw,Yw);var $w=function(){Yw.apply(this,arguments)};W($w,Yw);Xi.Object.defineProperties($w.prototype,{formDirective:{configurable:!0,enumerable:!0,get:function(){return null}},path:{configurable:!0,enumerable:!0,get:function(){return null}}});var EHb=function(a){this._cd=a};
Xi.Object.defineProperties(EHb.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 ax=function(a){this._cd=a};W(ax,EHb);ax.\u0275fac=function(a){return new (a||ax)(A(Zw,2))};
ax.\u0275dir=qd({type:ax,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(a,b){a&2&&Fg("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:[qg]});var bx=function(a){this._cd=a};W(bx,EHb);bx.\u0275fac=function(a){return new (a||bx)(A($w,10))};
bx.\u0275dir=qd({type:bx,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(a,b){a&2&&Fg("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:[qg]});var cx=new Bd("CallSetDisabledState",{providedIn:"root",factory:function(){return"whenDisabledForLegacyCode"}});var dx=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)},fka=function(a,b){a._assignValidators(b)},gka=function(a,b){a._assignAsyncValidators(b)},FHb=function(a){a=a._rawValidators;return Array.isArray(a)?a.includes(Xw):a===Xw},ika=function(a,b){b=void 0===b?{}:b;a.touched=!0;a._parent&&
!b.onlySelf&&ika(a._parent,b)},GHb=function(a,b){b=void 0===b?{}:b;a.touched=!1;a._pendingTouched=!1;a._forEachChild(function(c){GHb(c,{onlySelf:!0})});a._parent&&!b.onlySelf&&a._parent._updateTouched(b)},jka=function(a,b){b=void 0===b?{}:b;a.pristine=!1;a._parent&&!b.onlySelf&&jka(a._parent,b)},HHb=function(a,b){b=void 0===b?{}:b;a.pristine=!0;a._pendingDirty=!1;a._forEachChild(function(c){HHb(c,{onlySelf:!0})});a._parent&&!b.onlySelf&&a._parent._updatePristine(b)};g=dx.prototype;
g.disable=function(a){a=void 0===a?{}:a;var b=this._parentMarkedDirty(a.onlySelf);this.status="DISABLED";this.errors=null;this._forEachChild(function(c){c.disable(Object.assign({},a,{onlySelf:!0}))});this._updateValue();!1!==a.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status));this._updateAncestors(Object.assign({},a,{skipPristineCheck:b}));this._onDisabledChange.forEach(function(c){return c(!0)})};
g.enable=function(a){a=void 0===a?{}:a;var b=this._parentMarkedDirty(a.onlySelf);this.status="VALID";this._forEachChild(function(c){c.enable(Object.assign({},a,{onlySelf:!0}))});Ph(this,{onlySelf:!0,emitEvent:a.emitEvent});this._updateAncestors(Object.assign({},a,{skipPristineCheck:b}));this._onDisabledChange.forEach(function(c){return c(!1)})};g._updateAncestors=function(a){this._parent&&!a.onlySelf&&(Ph(this._parent,a),a.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())};
g.setParent=function(a){this._parent=a};g.getRawValue=function(){return this.value};var Ph=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&&Ph(a._parent,b)};g=dx.prototype;
g._updateTreeValidity=function(a){a=void 0===a?{emitEvent:!0}:a;this._forEachChild(function(b){return b._updateTreeValidity(a)});Ph(this,{onlySelf:!0,emitEvent:a.emitEvent})};g._setInitialStatus=function(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"};g._runValidator=function(){return this.validator?this.validator(this):null};
g._runAsyncValidator=function(a){var b=this;this.asyncValidator&&(this.status="PENDING",this._hasOwnPendingAsyncValidator=!0,this._asyncValidationSubscription=Rja(this.asyncValidator(this)).subscribe(function(c){b._hasOwnPendingAsyncValidator=!1;b.setErrors(c,{emitEvent:a})}))};g._cancelExistingSubscription=function(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)};
g.setErrors=function(a,b){b=void 0===b?{}:b;this.errors=a;this._updateControlsErrors(!1!==b.emitEvent)};g.get=function(a){if(null==a)return null;Array.isArray(a)||(a=a.split("."));return 0===a.length?null:a.reduce(function(b,c){return b&&b._find(c)},this)};g.getError=function(a,b){return(b=b?this.get(b):this)&&b.errors?b.errors[a]:null};g.hasError=function(a,b){return!!this.getError(a,b)};
g._updateControlsErrors=function(a){this.status=this._calculateStatus();a&&this.statusChanges.emit(this.status);this._parent&&this._parent._updateControlsErrors(a)};g._initObservables=function(){this.valueChanges=new Rv;this.statusChanges=new Rv};g._calculateStatus=function(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"};
g._anyControlsHaveStatus=function(a){return this._anyControls(function(b){return b.status===a})};g._anyControlsDirty=function(){return this._anyControls(function(a){return a.dirty})};g._anyControlsTouched=function(){return this._anyControls(function(a){return a.touched})};g._updatePristine=function(a){a=void 0===a?{}:a;this.pristine=!this._anyControlsDirty();this._parent&&!a.onlySelf&&this._parent._updatePristine(a)};
g._updateTouched=function(a){a=void 0===a?{}:a;this.touched=this._anyControlsTouched();this._parent&&!a.onlySelf&&this._parent._updateTouched(a)};g._registerOnCollectionChange=function(a){this._onCollectionChange=a};g._setUpdateStrategy=function(a){Sh(a)&&null!=a.updateOn&&(this._updateOn=a.updateOn)};g._parentMarkedDirty=function(a){var b=this._parent&&this._parent.dirty;return!a&&!!b&&!this._parent._anyControlsDirty()};g._find=function(){return null};
g._assignValidators=function(a){a=this._rawValidators=Array.isArray(a)?a.slice():a;this._composedValidatorFn=Array.isArray(a)?Wja(a):a||null};g._assignAsyncValidators=function(a){a=this._rawAsyncValidators=Array.isArray(a)?a.slice():a;this._composedAsyncValidatorFn=Array.isArray(a)?Yja(a):a||null};
Xi.Object.defineProperties(dx.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 ex=function(a,b,c){var d=dx.call,e=nka(b);c=(Sh(b)?b.asyncValidators:c)||null;d.call(dx,this,e,c);this.controls=a;this._initObservables();this._setUpdateStrategy(b);this._setUpControls();Ph(this,{onlySelf:!0,emitEvent:!!this.asyncValidator})};W(ex,dx);var IHb=function(a,b,c){if(a.controls[b])return a.controls[b];a.controls[b]=c;c.setParent(a);c._registerOnCollectionChange(a._onCollectionChange);return c};g=ex.prototype;
g.addControl=function(a){var b=void 0===b?{}:b;IHb(this,a);Ph(this,{emitEvent:b.emitEvent});this._onCollectionChange()};g.removeControl=function(a){var b=void 0===b?{}:b;this.controls[a]&&this.controls[a]._registerOnCollectionChange(function(){});delete this.controls[a];Ph(this,{emitEvent:b.emitEvent});this._onCollectionChange()};g.contains=function(a){return this.controls.hasOwnProperty(a)&&this.controls[a].enabled};
g.setValue=function(a,b){var c=this;b=void 0===b?{}:b;oka(this,a);Object.keys(a).forEach(function(d){var e=c.controls;if(!Object.keys(e).length)throw new $c(1E3,"");if(!e[d])throw new $c(1001,"");c.controls[d].setValue(a[d],{onlySelf:!0,emitEvent:b.emitEvent})});Ph(this,b)};g.reset=function(a,b){a=void 0===a?{}:a;b=void 0===b?{}:b;this._forEachChild(function(c,d){c.reset(a[d],{onlySelf:!0,emitEvent:b.emitEvent})});this._updatePristine(b);this._updateTouched(b);Ph(this,b)};
g.getRawValue=function(){return this._reduceChildren({},function(a,b,c){a[c]=b.getRawValue();return a})};g._syncPendingControls=function(){var a=this._reduceChildren(!1,function(b,c){return c._syncPendingControls()?!0:b});a&&Ph(this,{onlySelf:!0});return a};g._forEachChild=function(a){var b=this;Object.keys(this.controls).forEach(function(c){var d=b.controls[c];d&&a(d,c)})};g._setUpControls=function(){var a=this;this._forEachChild(function(b){b.setParent(a);b._registerOnCollectionChange(a._onCollectionChange)})};
g._updateValue=function(){this.value=this._reduceValue()};g._anyControls=function(a){for(var b=m(Object.entries(this.controls)),c=b.next();!c.done;c=b.next()){var d=m(c.value);c=d.next().value;d=d.next().value;if(this.contains(c)&&a(d))return!0}return!1};g._reduceValue=function(){var a=this;return this._reduceChildren({},function(b,c,d){if(c.enabled||a.disabled)b[d]=c.value;return b})};g._reduceChildren=function(a,b){var c=a;this._forEachChild(function(d,e){c=b(c,d,e)});return c};
g._allControlsDisabled=function(){for(var a=m(Object.keys(this.controls)),b=a.next();!b.done;b=a.next())if(this.controls[b.value].enabled)return!1;return 0<Object.keys(this.controls).length||this.disabled};g._find=function(a){return this.controls.hasOwnProperty(a)?this.controls[a]:null};var JHb={provide:$w,useExisting:cd(function(){return fx})},KHb=Promise.resolve(),fx=function(a,b,c){$w.call(this);this.callSetDisabledState=c;this.submitted=!1;this._directives=new Set;this.ngSubmit=new Rv;this.form=new ex({},Wja(a),Yja(b))};W(fx,$w);g=fx.prototype;g.ngAfterViewInit=function(){this._setUpdateStrategy()};
g.addControl=function(a){var b=this;KHb.then(function(){var c=b._findContainer(a.path);a.control=IHb(c,a.name,a.control);Lh(a.control,a,b.callSetDisabledState);Ph(a.control,{emitEvent:!1});b._directives.add(a)})};g.removeControl=function(a){var b=this;KHb.then(function(){var c=b._findContainer(a.path);c&&c.removeControl(a.name);b._directives.delete(a)})};g.updateModel=function(a,b){var c=this;KHb.then(function(){c.form.get(a.path).setValue(b)})};g.setValue=function(a){this.control.setValue(a)};
g.onSubmit=function(a){this.submitted=!0;lka(this.form,this._directives);this.ngSubmit.emit(a);var b;return"dialog"===(null==a?void 0:null==(b=a.target)?void 0:b.method)};g.onReset=function(){this.resetForm()};g.resetForm=function(){this.form.reset(void 0);this.submitted=!1};g._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)};g._findContainer=function(a){a.pop();return a.length?this.form.get(a):this.form};
Xi.Object.defineProperties(fx.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}}});fx.\u0275fac=function(a){return new (a||fx)(A(Vw,10),A(Ww,10),A(cx,8))};
fx.\u0275dir=qd({type:fx,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(a,b){a&1&&K("submit",function(c){return b.onSubmit(c)})("reset",function(){return b.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Ug([JHb]),qg]});var gx=function(a,b,c){a=void 0===a?null:a;var d=dx.call,e=nka(b);c=(Sh(b)?b.asyncValidators:c)||null;d.call(dx,this,e,c);this.defaultValue=null;this._onChange=[];this._pendingChange=!1;this._applyFormState(a);this._setUpdateStrategy(b);this._initObservables();Ph(this,{onlySelf:!0,emitEvent:!!this.asyncValidator});Sh(b)&&(b.nonNullable||b.initialValueIsDefault)&&(pka(a)?this.defaultValue=a.value:this.defaultValue=a)};W(gx,dx);g=gx.prototype;
g.setValue=function(a,b){var c=this;b=void 0===b?{}:b;this.value=this._pendingValue=a;this._onChange.length&&!1!==b.emitModelToViewChange&&this._onChange.forEach(function(d){return d(c.value,!1!==b.emitViewToModelChange)});Ph(this,b)};g.reset=function(a,b){a=void 0===a?this.defaultValue:a;b=void 0===b?{}:b;this._applyFormState(a);HHb(this,b);GHb(this,b);this.setValue(this.value,b);this._pendingChange=!1};g._updateValue=function(){};g._anyControls=function(){return!1};g._allControlsDisabled=function(){return this.disabled};
g.registerOnChange=function(a){this._onChange.push(a)};g._unregisterOnChange=function(a){var b=this._onChange;a=b.indexOf(a);-1<a&&b.splice(a,1)};g._unregisterOnDisabledChange=function(a){var b=this._onDisabledChange;a=b.indexOf(a);-1<a&&b.splice(a,1)};g._forEachChild=function(){};
g._syncPendingControls=function(){return"submit"===this.updateOn&&(this._pendingDirty&&jka(this),this._pendingTouched&&ika(this),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1};g._applyFormState=function(a){pka(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 LHb={provide:Zw,useExisting:cd(function(){return hx})},MHb=Promise.resolve(),hx=function(a,b,c,d,e,f){Zw.call(this);this._changeDetectorRef=e;this.callSetDisabledState=f;this.control=new gx;this._registered=!1;this.name="";this.update=new Rv;this._parent=a;this._setValidators(b);this._setAsyncValidators(c);this.valueAccessor=mka(d)};W(hx,Zw);g=hx.prototype;
g.ngOnChanges=function(a){this._checkForErrors();if(!this._registered||"name"in a){if(this._registered&&(this._checkName(),this.formDirective)){var b=a.name.previousValue;this.formDirective.removeControl({name:b,path:this._getPath(b)})}this._setUpControl()}"isDisabled"in a&&this._updateDisabled(a);kka(a,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)};g.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)};
g.viewToModelUpdate=function(a){this.viewModel=a;this.update.emit(a)};g._setUpControl=function(){this._setUpdateStrategy();this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this);this._registered=!0};g._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)};g._isStandalone=function(){return!this._parent||!(!this.options||!this.options.standalone)};
g._setUpStandalone=function(){Lh(this.control,this,this.callSetDisabledState);Ph(this.control,{emitEvent:!1})};g._checkForErrors=function(){this._checkName()};g._checkParentType=function(){};g._checkName=function(){this.options&&this.options.name&&(this.name=this.options.name)};g._updateValue=function(a){var b=this;MHb.then(function(){b.control.setValue(a,{emitViewToModelChange:!1});var c;null==(c=b._changeDetectorRef)||c.markForCheck()})};
g._updateDisabled=function(a){var b=this;a=a.isDisabled.currentValue;var c=0!==a&&sh(a);MHb.then(function(){c&&!b.control.disabled?b.control.disable():!c&&b.control.disabled&&b.control.enable();var d;null==(d=b._changeDetectorRef)||d.markForCheck()})};g._getPath=function(a){return this._parent?$ja(a,this._parent):[a]};
Xi.Object.defineProperties(hx.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}}});hx.\u0275fac=function(a){return new (a||hx)(A($w,9),A(Vw,10),A(Ww,10),A(Ow,10),A(qw,8),A(cx,8))};
hx.\u0275dir=qd({type:hx,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Ug([LHb]),qg,Hd]});var ix=function(){};ix.\u0275fac=function(a){return new (a||ix)};ix.\u0275dir=qd({type:ix,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]});var NHb={provide:Ow,useExisting:cd(function(){return jx}),multi:!0},jx=function(){Rh.apply(this,arguments)};W(jx,Rh);jx.prototype.writeValue=function(a){this.setProperty("value",null==a?"":a)};jx.prototype.registerOnChange=function(a){this.onChange=function(b){a(""==b?null:parseFloat(b))}};jx.\u0275fac=function(){var a;return function(b){return(a||(a=ie(jx)))(b||jx)}}();
jx.\u0275dir=qd({type:jx,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(a,b){a&1&&K("input",function(c){return b.onChange(c.target.value)})("blur",function(){return b.onTouched()})},features:[Ug([NHb]),qg]});var OHb={provide:Ow,useExisting:cd(function(){return kx}),multi:!0},lx=function(){};lx.\u0275fac=function(a){return new (a||lx)};lx.\u0275mod=od({type:lx});lx.\u0275inj=Wc({});var mx=function(){this._accessors=[]};mx.prototype.add=function(a,b){this._accessors.push([a,b])};mx.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}};
mx.prototype.select=function(a){var b=this;this._accessors.forEach(function(c){b._isSameGroup(c,a)&&c[1]!==a&&c[1].writeValue(a.value)})};mx.prototype._isSameGroup=function(a,b){return a[0].control?a[0]._parent===b._control._parent&&a[1].name===b.name:!1};mx.\u0275fac=function(a){return new (a||mx)};mx.\u0275prov=Vc({token:mx,factory:mx.\u0275fac,providedIn:lx});
var kx=function(a,b,c,d){Rh.call(this,a,b);this._registry=c;this._injector=d;this.setDisabledStateFired=!1;this.onChange=function(){};var e;this.callSetDisabledState=null!=(e=hd(cx,{optional:!0}))?e:"whenDisabledForLegacyCode"};W(kx,Rh);g=kx.prototype;g.ngOnInit=function(){this._control=this._injector.get(Zw);this._checkName();this._registry.add(this._control,this)};g.ngOnDestroy=function(){this._registry.remove(this)};
g.writeValue=function(a){this._state=a===this.value;this.setProperty("checked",this._state)};g.registerOnChange=function(a){var b=this;this._fn=a;this.onChange=function(){a(b.value);b._registry.select(b)}};g.setDisabledState=function(a){(this.setDisabledStateFired||a||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",a);this.setDisabledStateFired=!0};g._checkName=function(){!this.name&&this.formControlName&&(this.name=this.formControlName)};
kx.\u0275fac=function(a){return new (a||kx)(A(ev),A(ke),A(mx),A(Zu))};kx.\u0275dir=qd({type:kx,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(a,b){a&1&&K("change",function(){return b.onChange()})("blur",function(){return b.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[Ug([OHb]),qg]});var PHb=new Bd("NgModelWithFormControlWarning"),QHb={provide:Zw,useExisting:cd(function(){return nx})},nx=function(a,b,c,d,e){Zw.call(this);this._ngModelWarningConfig=d;this.callSetDisabledState=e;this.update=new Rv;this._ngModelWarningSent=!1;this._setValidators(a);this._setAsyncValidators(b);this.valueAccessor=mka(c)};W(nx,Zw);
nx.prototype.ngOnChanges=function(a){if(this._isControlChanged(a)){var b=a.form.previousValue;b&&Nh(b,this);Lh(this.form,this,this.callSetDisabledState);Ph(this.form,{emitEvent:!1})}kka(a,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)};nx.prototype.ngOnDestroy=function(){this.form&&Nh(this.form,this)};nx.prototype.viewToModelUpdate=function(a){this.viewModel=a;this.update.emit(a)};nx.prototype._isControlChanged=function(a){return a.hasOwnProperty("form")};
Xi.Object.defineProperties(nx.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}}});nx.\u0275fac=function(a){return new (a||nx)(A(Vw,10),A(Ww,10),A(Ow,10),A(PHb,8),A(cx,8))};
nx.\u0275dir=qd({type:nx,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[Ug([QHb]),qg,Hd]});var RHb={provide:$w,useExisting:cd(function(){return ox})},ox=function(a,b,c){$w.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 Rv;this._setValidators(a);this._setAsyncValidators(b)};W(ox,$w);g=ox.prototype;g.ngOnChanges=function(a){a.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)};
g.ngOnDestroy=function(){this.form&&(Mh(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(function(){}))};g.addControl=function(a){var b=this.form.get(a.path);Lh(b,a,this.callSetDisabledState);Ph(b,{emitEvent:!1});this.directives.push(a);return b};g.removeControl=function(a){Nh(a.control||null,a);var b=this.directives;a=b.indexOf(a);-1<a&&b.splice(a,1)};g.updateModel=function(a,b){this.form.get(a.path).setValue(b)};
g.onSubmit=function(a){this.submitted=!0;lka(this.form,this.directives);this.ngSubmit.emit(a);var b;return"dialog"===(null==a?void 0:null==(b=a.target)?void 0:b.method)};g.onReset=function(){this.resetForm()};g.resetForm=function(){this.form.reset(void 0);this.submitted=!1};g._updateDomValue=function(){var a=this;this.directives.forEach(function(b){var c=b.control,d=a.form.get(b.path);c!==d&&(Nh(c||null,b),d instanceof gx&&(Lh(d,b,a.callSetDisabledState),b.control=d))});this.form._updateTreeValidity({emitEvent:!1})};
g._setUpFormContainer=function(a){var b=this.form.get(a.path);aka(b,a);Ph(b,{emitEvent:!1})};g._cleanUpFormContainer=function(a){if(this.form){var b=this.form.get(a.path);b&&Mh(b,a)&&Ph(b,{emitEvent:!1})}};g._updateRegistrations=function(){this.form._registerOnCollectionChange(this._onCollectionChange);this._oldForm&&this._oldForm._registerOnCollectionChange(function(){})};g._updateValidators=function(){aka(this.form,this);this._oldForm&&Mh(this._oldForm,this)};g._checkFormPresent=function(){};
Xi.Object.defineProperties(ox.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[]}}});ox.\u0275fac=function(a){return new (a||ox)(A(Vw,10),A(Ww,10),A(cx,8))};
ox.\u0275dir=qd({type:ox,selectors:[["","formGroup",""]],hostBindings:function(a,b){a&1&&K("submit",function(c){return b.onSubmit(c)})("reset",function(){return b.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Ug([RHb]),qg,Hd]});var SHb={provide:Zw,useExisting:cd(function(){return px})},px=function(a,b,c,d,e){Zw.call(this);this._ngModelWarningConfig=e;this._added=!1;this.name=null;this.update=new Rv;this._ngModelWarningSent=!1;this._parent=a;this._setValidators(b);this._setAsyncValidators(c);this.valueAccessor=mka(d)};W(px,Zw);g=px.prototype;g.ngOnChanges=function(a){this._added||this._setUpControl();kka(a,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))};
g.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)};g.viewToModelUpdate=function(a){this.viewModel=a;this.update.emit(a)};g._checkParentType=function(){};g._setUpControl=function(){this.control=this.formDirective.addControl(this);this._added=!0};
Xi.Object.defineProperties(px.prototype,{isDisabled:{configurable:!0,enumerable:!0,set:function(){}},path:{configurable:!0,enumerable:!0,get:function(){return $ja(null==this.name?this.name:this.name.toString(),this._parent)}},formDirective:{configurable:!0,enumerable:!0,get:function(){return this._parent?this._parent.formDirective:null}}});px.\u0275fac=function(a){return new (a||px)(A($w,13),A(Vw,10),A(Ww,10),A(Ow,10),A(PHb,8))};
px.\u0275dir=qd({type:px,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[Ug([SHb]),qg,Hd]});var qx=function(){this._validator=Oja};qx.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):Oja,this._onChange&&this._onChange())};qx.prototype.validate=function(a){return this._validator(a)};qx.prototype.registerOnValidatorChange=function(a){this._onChange=a};qx.prototype.enabled=function(a){return null!=a};qx.\u0275fac=function(a){return new (a||qx)};
qx.\u0275dir=qd({type:qx,features:[Hd]});var THb={provide:Vw,useExisting:cd(function(){return rx}),multi:!0},rx=function(){qx.apply(this,arguments);this.inputName="min";this.normalizeInput=function(a){return"number"===typeof a?a:parseFloat(a)};this.createValidator=function(a){return Lja(a)}};W(rx,qx);rx.\u0275fac=function(){var a;return function(b){return(a||(a=ie(rx)))(b||rx)}}();
rx.\u0275dir=qd({type:rx,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&&ug("min",b._enabled?b.min:null)},inputs:{min:"min"},features:[Ug([THb]),qg]});var UHb={provide:Vw,useExisting:cd(function(){return sx}),multi:!0},sx=function(){qx.apply(this,arguments);this.inputName="required";this.normalizeInput=sh;this.createValidator=function(){return Mja}};
W(sx,qx);sx.prototype.enabled=function(a){return a};sx.\u0275fac=function(){var a;return function(b){return(a||(a=ie(sx)))(b||sx)}}();sx.\u0275dir=qd({type:sx,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(a,b){a&2&&ug("required",b._enabled?"":null)},inputs:{required:"required"},features:[Ug([UHb]),qg]});
var VHb={provide:Vw,useExisting:cd(function(){return tx}),multi:!0},tx=function(){qx.apply(this,arguments);this.inputName="maxlength";this.normalizeInput=function(a){return"number"===typeof a?a:parseInt(a,10)};this.createValidator=function(a){return Nja(a)}};W(tx,qx);tx.\u0275fac=function(){var a;return function(b){return(a||(a=ie(tx)))(b||tx)}}();
tx.\u0275dir=qd({type:tx,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(a,b){a&2&&ug("maxlength",b._enabled?b.maxlength:null)},inputs:{maxlength:"maxlength"},features:[Ug([VHb]),qg]});var WHb={provide:Vw,useExisting:cd(function(){return ux}),multi:!0},ux=function(){qx.apply(this,arguments);this.inputName="pattern";this.normalizeInput=function(a){return a};this.createValidator=function(a){return Pja(a)}};
W(ux,qx);ux.\u0275fac=function(){var a;return function(b){return(a||(a=ie(ux)))(b||ux)}}();ux.\u0275dir=qd({type:ux,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(a,b){a&2&&ug("pattern",b._enabled?b.pattern:null)},inputs:{pattern:"pattern"},features:[Ug([WHb]),qg]});var vx=function(){};vx.\u0275fac=function(a){return new (a||vx)};vx.\u0275mod=od({type:vx});vx.\u0275inj=Wc({imports:[lx]});var wx=function(){};wx.\u0275fac=function(a){return new (a||wx)};wx.\u0275mod=od({type:wx});wx.\u0275inj=Wc({imports:[vx]});var xx=function(){};xx.\u0275fac=function(a){return new (a||xx)};xx.\u0275mod=od({type:xx});xx.\u0275inj=Wc({imports:[vx]});new gv;var Th,qka="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 Uh;var Xh,Wh;var vka;var XHb;try{XHb="undefined"!==typeof Intl&&Intl.v8BreakIterator}catch(a){XHb=!1}
var yx=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&&!XHb)&&"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};yx.\u0275fac=function(a){return new (a||yx)(n(bv))};yx.\u0275prov=Vc({token:yx,factory:yx.\u0275fac,providedIn:"root"});var zx=function(a){this._platform=a};zx.prototype.isDisabled=function(a){return a.hasAttribute("disabled")};zx.prototype.isVisible=function(a){return!!(a.offsetWidth||a.offsetHeight||"function"===typeof a.getClientRects&&a.getClientRects().length)&&"visible"===getComputedStyle(a).visibility};
var YHb=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===yka(c)||!a.isVisible(c)))return!1;c=b.nodeName.toLowerCase();var d=yka(b);if(b.hasAttribute("contenteditable"))a=-1!==d;else{var e;if(!(e="iframe"===c||"object"===c)&&(e=a._platform.WEBKIT&&a._platform.IOS)){e=b.nodeName.toLowerCase();var f="input"===e&&b.type;e=!("text"===f||"password"===f||"select"===e||"textarea"===e)}a=e?!1:"audio"===
c?b.hasAttribute("controls")?-1!==d:!1:"video"===c?-1===d?!1:null!==d?!0:a._platform.FIREFOX||b.hasAttribute("controls"):0<=b.tabIndex}return a};zx.prototype.isFocusable=function(a){if("input"==a.nodeName.toLowerCase()&&"hidden"==a.type)var b=!1;else b=a.nodeName.toLowerCase(),b="input"===b||"select"===b||"button"===b||"textarea"===b||"a"==a.nodeName.toLowerCase()&&a.hasAttribute("href")||a.hasAttribute("contenteditable")||xka(a);return b&&!this.isDisabled(a)&&this.isVisible(a)};
zx.\u0275fac=function(a){return new (a||zx)(n(yx))};zx.\u0275prov=Vc({token:zx,factory:zx.\u0275fac,providedIn:"root"});var Cx=function(a,b,c,d,e){var f=this;this._element=a;this._checker=b;this._ngZone=c;this._document=d;this._hasAttached=!1;this.startAnchorListener=function(){return ZHb(f)};this.endAnchorListener=function(){return Ax(f)};this._enabled=!0;(void 0===e?0:e)||Bx(this)};
Cx.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 Bx=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))},$Hb=function(a){return new Promise(function(b){a._executeOnStable(function(){return b(a.focusInitialElement())})})};
Cx.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)};
Cx.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 Ax(this)};var Ax=function(a){(a=a._getRegionBoundary("start"))&&a.focus(void 0);return!!a},ZHb=function(a){(a=a._getRegionBoundary("end"))&&a.focus(void 0);return!!a};g=Cx.prototype;g.hasAttached=function(){return this._hasAttached};
g._getFirstTabbableElement=function(a){if(this._checker.isFocusable(a)&&YHb(this._checker,a))return a;a=a.children;for(var b=0;b<a.length;b++){var c=a[b].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(a[b]):null;if(c)return c}return null};g._getLastTabbableElement=function(a){if(this._checker.isFocusable(a)&&YHb(this._checker,a))return a;a=a.children;for(var b=a.length-1;0<=b;b--){var c=a[b].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(a[b]):null;if(c)return c}return null};
g._createAnchor=function(){var a=this._document.createElement("div");this._toggleAnchorTabIndex(this._enabled,a);a.classList.add("cdk-visually-hidden");a.classList.add("cdk-focus-trap-anchor");a.setAttribute("aria-hidden","true");return a};g._toggleAnchorTabIndex=function(a,b){a?b.setAttribute("tabindex","0"):b.removeAttribute("tabindex")};var aIb=function(a,b){a._startAnchor&&a._endAnchor&&(a._toggleAnchorTabIndex(b,a._startAnchor),a._toggleAnchorTabIndex(b,a._endAnchor))};
Cx.prototype._executeOnStable=function(a){this._ngZone.isStable?a():this._ngZone.onStable.pipe(Rf()).subscribe(a)};Xi.Object.defineProperties(Cx.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 Dx=function(a,b,c){this._checker=a;this._ngZone=b;this._document=c};
Dx.prototype.create=function(a,b){return new Cx(a,this._checker,this._ngZone,this._document,void 0===b?!1:b)};Dx.\u0275fac=function(a){return new (a||Dx)(n(zx),n(hg),n(Vi))};Dx.\u0275prov=Vc({token:Dx,factory:Dx.\u0275fac,providedIn:"root"});var Ex=function(a,b){this._elementRef=a;this._focusTrapFactory=b;this._previouslyFocusedElement=null;this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)};g=Ex.prototype;
g.ngOnDestroy=function(){this.focusTrap.destroy();this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)};g.ngAfterContentInit=function(){Bx(this.focusTrap);this.autoCapture&&this._captureFocus()};g.ngDoCheck=function(){this.focusTrap.hasAttached()||Bx(this.focusTrap)};g.ngOnChanges=function(a){(a=a.autoCapture)&&!a.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()};
g._captureFocus=function(){this._previouslyFocusedElement=Zh();$Hb(this.focusTrap)};Xi.Object.defineProperties(Ex.prototype,{enabled:{configurable:!0,enumerable:!0,get:function(){return this.focusTrap.enabled},set:function(a){this.focusTrap.enabled=bi(a)}},autoCapture:{configurable:!0,enumerable:!0,get:function(){return this._autoCapture},set:function(a){this._autoCapture=bi(a)}}});Ex.\u0275fac=function(a){return new (a||Ex)(A(ke),A(Dx),A(Vi))};
Ex.\u0275dir=qd({type:Ex,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[Hd]});var bIb=new Bd("cdk-input-modality-detector-options"),cIb={ignoreKeys:[18,17,224,91,16]},Fx=Vh({passive:!0,capture:!0}),Gx=function(a,b,c,d){var e=this;this._platform=a;this._mostRecentTarget=null;this._modality=new C.BehaviorSubject(null);this._lastTouchMs=0;this._onKeydown=function(f){var h,l;(null==(h=e._options)?0:null==(l=h.ignoreKeys)?0:l.some(function(q){return q===f.keyCode}))||(e._modality.next("keyboard"),e._mostRecentTarget=$h(f))};this._onMousedown=function(f){650>Date.now()-e._lastTouchMs||
(e._modality.next(fi(f)?"keyboard":"mouse"),e._mostRecentTarget=$h(f))};this._onTouchstart=function(f){gi(f)?e._modality.next("keyboard"):(e._lastTouchMs=Date.now(),e._modality.next("touch"),e._mostRecentTarget=$h(f))};this._options=Object.assign({},cIb,d);this.modalityDetected=this._modality.pipe(ag(1));this.modalityDetected.pipe(Qf());a.isBrowser&&b.runOutsideAngular(function(){c.addEventListener("keydown",e._onKeydown,Fx);c.addEventListener("mousedown",e._onMousedown,Fx);c.addEventListener("touchstart",
e._onTouchstart,Fx)})};Gx.prototype.ngOnDestroy=function(){this._modality.complete();this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Fx),document.removeEventListener("mousedown",this._onMousedown,Fx),document.removeEventListener("touchstart",this._onTouchstart,Fx))};Xi.Object.defineProperties(Gx.prototype,{mostRecentModality:{configurable:!0,enumerable:!0,get:function(){return this._modality.value}}});
Gx.\u0275fac=function(a){return new (a||Gx)(n(yx),n(hg),n(Vi),n(bIb,8))};Gx.\u0275prov=Vc({token:Gx,factory:Gx.\u0275fac,providedIn:"root"});var dIb=new Bd("cdk-focus-monitor-default-options"),eIb=Vh({passive:!0,capture:!0}),Hx=function(a,b,c,d,e){var f=this;this._ngZone=a;this._platform=b;this._inputModalityDetector=c;this._origin=null;this._originFromTouchInteraction=this._windowFocused=!1;this._elementInfo=new Map;this._monitoredElementCount=0;this._rootNodeFocusListenerCount=new Map;this._windowFocusListener=function(){f._windowFocused=!0;f._windowFocusTimeoutId=window.setTimeout(function(){return f._windowFocused=!1})};this._stopInputModalityDetector=
new C.Subject;this._rootNodeFocusAndBlurListener=function(h){for(var l=$h(h);l;l=l.parentElement)"focus"===h.type?f._onFocus(h,l):f._onBlur(h,l)};this._document=d;this._detectionMode=(null==e?void 0:e.detectionMode)||0};
Hx.prototype.monitor=function(a,b){b=void 0===b?!1:b;a=di(a);if(!this._platform.isBrowser||1!==a.nodeType)return(0,C.of)(null);var c=Yh(a)||this._getDocument(),d=this._elementInfo.get(a);if(d)return b&&(d.checkChildren=!0),d.subject;b={checkChildren:b,subject:new C.Subject,rootNode:c};this._elementInfo.set(a,b);this._registerGlobalListeners(b);return b.subject};
Hx.prototype.stopMonitoring=function(a){a=di(a);var b=this._elementInfo.get(a);b&&(b.subject.complete(),this._setClasses(a),this._elementInfo.delete(a),this._removeGlobalListeners(b))};var Ix=function(a,b,c,d){b=di(b);b===a._getDocument().activeElement?a._getClosestElementsInfo(b).forEach(function(e){var f=m(e);e=f.next().value;f=f.next().value;return a._originChanged(e,c,f)}):(a._setOrigin(c),"function"===typeof b.focus&&b.focus(d))};g=Hx.prototype;
g.ngOnDestroy=function(){var a=this;this._elementInfo.forEach(function(b,c){return a.stopMonitoring(c)})};g._getDocument=function(){return this._document||document};g._getWindow=function(){return this._getDocument().defaultView||window};
g._getFocusOrigin=function(a){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(a)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:a&&this._isLastInteractionFromInputLabel(a)?"mouse":"program"};g._shouldBeAttributedToTouch=function(a){return 1===this._detectionMode||!(null==a||!a.contains(this._inputModalityDetector._mostRecentTarget))};
g._setClasses=function(a,b){a.classList.toggle("cdk-focused",!!b);a.classList.toggle("cdk-touch-focused","touch"===b);a.classList.toggle("cdk-keyboard-focused","keyboard"===b);a.classList.toggle("cdk-mouse-focused","mouse"===b);a.classList.toggle("cdk-program-focused","program"===b)};
g._setOrigin=function(a,b){var c=this;b=void 0===b?!1:b;this._ngZone.runOutsideAngular(function(){c._origin=a;c._originFromTouchInteraction="touch"===a&&b;0===c._detectionMode&&(clearTimeout(c._originTimeoutId),c._originTimeoutId=setTimeout(function(){return c._origin=null},c._originFromTouchInteraction?650:1))})};g._onFocus=function(a,b){var c=this._elementInfo.get(b);a=$h(a);c&&(c.checkChildren||b===a)&&this._originChanged(b,this._getFocusOrigin(a),c)};
g._onBlur=function(a,b){var c=this._elementInfo.get(b);!c||c.checkChildren&&a.relatedTarget instanceof Node&&b.contains(a.relatedTarget)||(this._setClasses(b),this._emitOrigin(c,null))};g._emitOrigin=function(a,b){a.subject.observers.length&&this._ngZone.run(function(){return a.subject.next(b)})};
g._registerGlobalListeners=function(a){var b=this;if(this._platform.isBrowser){var c=a.rootNode;(a=this._rootNodeFocusListenerCount.get(c)||0)||this._ngZone.runOutsideAngular(function(){c.addEventListener("focus",b._rootNodeFocusAndBlurListener,eIb);c.addEventListener("blur",b._rootNodeFocusAndBlurListener,eIb)});this._rootNodeFocusListenerCount.set(c,a+1);1===++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(function(){b._getWindow().addEventListener("focus",b._windowFocusListener)}),
this._inputModalityDetector.modalityDetected.pipe(dg(this._stopInputModalityDetector)).subscribe(function(d){b._setOrigin(d,!0)}))}};
g._removeGlobalListeners=function(a){a=a.rootNode;if(this._rootNodeFocusListenerCount.has(a)){var b=this._rootNodeFocusListenerCount.get(a);1<b?this._rootNodeFocusListenerCount.set(a,b-1):(a.removeEventListener("focus",this._rootNodeFocusAndBlurListener,eIb),a.removeEventListener("blur",this._rootNodeFocusAndBlurListener,eIb),this._rootNodeFocusListenerCount.delete(a))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),
clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))};g._originChanged=function(a,b,c){this._setClasses(a,b);this._emitOrigin(c,b);this._lastFocusOrigin=b};g._getClosestElementsInfo=function(a){var b=[];this._elementInfo.forEach(function(c,d){(d===a||c.checkChildren&&d.contains(a))&&b.push([d,c])});return b};
g._isLastInteractionFromInputLabel=function(a){var b=this._inputModalityDetector,c=b._mostRecentTarget;if("mouse"!==b.mostRecentModality||!c||c===a||"INPUT"!==a.nodeName&&"TEXTAREA"!==a.nodeName||a.disabled)return!1;if(a=a.labels)for(b=0;b<a.length;b++)if(a[b].contains(c))return!0;return!1};Hx.\u0275fac=function(a){return new (a||Hx)(n(hg),n(yx),n(Gx),n(Vi,8),n(dIb,8))};Hx.\u0275prov=Vc({token:Hx,factory:Hx.\u0275fac,providedIn:"root"});
var Jx=function(a,b){this._elementRef=a;this._focusMonitor=b;this._focusOrigin=null;this.cdkFocusChange=new Rv};Jx.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)})};Jx.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef);this._monitorSubscription&&this._monitorSubscription.unsubscribe()};
Xi.Object.defineProperties(Jx.prototype,{focusOrigin:{configurable:!0,enumerable:!0,get:function(){return this._focusOrigin}}});Jx.\u0275fac=function(a){return new (a||Jx)(A(ke),A(Hx))};Jx.\u0275dir=qd({type:Jx,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]});var Kx=function(){};Kx.prototype.attach=function(a){this._attachedHost=a;return a.attach(this)};Kx.prototype.detach=function(){var a=this._attachedHost;null!=a&&(this._attachedHost=null,a.detach())};Xi.Object.defineProperties(Kx.prototype,{isAttached:{configurable:!0,enumerable:!0,get:function(){return null!=this._attachedHost}}});var Lx=function(a,b,c,d,e){this.component=a;this.viewContainerRef=b;this.injector=c;this.componentFactoryResolver=d;this.projectableNodes=e};W(Lx,Kx);
var Mx=function(a,b,c,d){this.templateRef=a;this.viewContainerRef=b;this.context=c;this.injector=d};W(Mx,Kx);Mx.prototype.attach=function(a,b){this.context=b=void 0===b?this.context:b;return Kx.prototype.attach.call(this,a)};Mx.prototype.detach=function(){this.context=void 0;return Kx.prototype.detach.call(this)};Xi.Object.defineProperties(Mx.prototype,{origin:{configurable:!0,enumerable:!0,get:function(){return this.templateRef.elementRef}}});var Nx=function(){this._isDisposed=!1};g=Nx.prototype;
g.hasAttached=function(){return!!this._attachedPortal};g.attach=function(a){if(a instanceof Lx)return this._attachedPortal=a,this.attachComponentPortal(a);if(a instanceof Mx)return this._attachedPortal=a,this.attachTemplatePortal(a)};g.detach=function(){this._attachedPortal&&(this._attachedPortal=this._attachedPortal._attachedHost=null);this._invokeDisposeFn()};g.dispose=function(){this.hasAttached()&&this.detach();this._invokeDisposeFn();this._isDisposed=!0};
g.setDisposeFn=function(a){this._disposeFn=a};g._invokeDisposeFn=function(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)};var Ox=function(a,b,c,d,e){this._isDisposed=!1;this.outletElement=a;this._componentFactoryResolver=b;this._appRef=c;this._defaultInjector=d;this._document=e};W(Ox,Nx);
Ox.prototype.attachComponentPortal=function(a){var b=this,c=BFb(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||dFb),MGb(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};Ox.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};
Ox.prototype.dispose=function(){Nx.prototype.dispose.call(this);this.outletElement.remove()};Ox.prototype._getComponentRootNode=function(a){return a.hostView.rootNodes[0]};var Px=function(a,b){Mx.call(this,a,b)};W(Px,Mx);Px.\u0275fac=function(a){return new (a||Px)(A(eh),A(fh))};Px.\u0275dir=qd({type:Px,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[qg]});var Qx=function(a,b,c){this._isDisposed=!1;this._componentFactoryResolver=a;this._viewContainerRef=b;this._isInitialized=!1;this.attached=new Rv;this._document=c};W(Qx,Nx);g=Qx.prototype;g.ngOnInit=function(){this._isInitialized=!0};
g.ngOnDestroy=function(){Nx.prototype.dispose.call(this);this._attachedRef=this._attachedPortal=null};
g.attachComponentPortal=function(a){a._attachedHost=this;var b=null!=a.viewContainerRef?a.viewContainerRef:this._viewContainerRef,c=BFb(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]);Nx.prototype.setDisposeFn.call(this,function(){return d.destroy()});this._attachedPortal=a;this._attachedRef=d;this.attached.emit(d);
return d};g.attachTemplatePortal=function(a){var b=this;a._attachedHost=this;var c=this._viewContainerRef.createEmbeddedView(a.templateRef,a.context,{injector:a.injector});Nx.prototype.setDisposeFn.call(this,function(){return b._viewContainerRef.clear()});this._attachedPortal=a;this._attachedRef=c;this.attached.emit(c);return c};g._getRootNode=function(){var a=this._viewContainerRef.element.nativeElement;return a.nodeType===a.ELEMENT_NODE?a:a.parentNode};
Xi.Object.defineProperties(Qx.prototype,{portal:{configurable:!0,enumerable:!0,get:function(){return this._attachedPortal},set:function(a){if(!this.hasAttached()||a||this._isInitialized)this.hasAttached()&&Nx.prototype.detach.call(this),a&&Nx.prototype.attach.call(this,a),this._attachedPortal=a||null}}});Qx.\u0275fac=function(a){return new (a||Qx)(A($u),A(fh),A(Vi))};
Qx.\u0275dir=qd({type:Qx,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[qg]});var Rx=function(){};Rx.\u0275fac=function(a){return new (a||Rx)};Rx.\u0275mod=od({type:Rx});Rx.\u0275inj=Wc({});var fIb=function(){};W(fIb,sHb);var Sx=function(){};W(Sx,fIb);var gIb=function(a,b,c){a.addEventListener(b,c,!1);return function(){a.removeEventListener(b,c,!1)}};Sx.prototype.dispatchEvent=function(a,b){a.dispatchEvent(b)};Sx.prototype.remove=function(a){a.parentNode&&a.parentNode.removeChild(a)};Sx.prototype.createElement=function(a,b){b=b||document;return b.createElement(a)};var uHb=function(a,b){return"window"===b?window:"document"===b?a:"body"===b?a.body:null};
Sx.prototype.getBaseHref=function(){var a=(hIb=hIb||document.querySelector("base"))?hIb.getAttribute("href"):null;null==a?a=null:(iIb=iIb||document.createElement("a"),iIb.setAttribute("href",a),a=iIb.pathname,a="/"===a.charAt(0)?a:"/"+a);return a};var hIb=null,iIb;var jIb=function(){},DGb=function(a){Ae.getAngularTestability=function(b,c){b=a.findTestabilityInTree(b,void 0===c?!0:c);if(null==b)throw Error("Za");return b};Ae.getAllAngularTestabilities=function(){return Array.from(a._applications.values())};Ae.getAllAngularRootElements=function(){return Array.from(a._applications.keys())};Ae.frameworkStabilizers||(Ae.frameworkStabilizers=[]);Ae.frameworkStabilizers.push(function(b){var c=Ae.getAllAngularTestabilities(),d=c.length,e=!1,f=function(h){e=e||h;d--;
0==d&&b(e)};c.forEach(function(h){h.whenStable(f)})})};jIb.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 Tx=function(){};Tx.prototype.build=function(){return new XMLHttpRequest};Tx.\u0275fac=function(a){return new (a||Tx)};Tx.\u0275prov=Vc({token:Tx,factory:Tx.\u0275fac});var kIb=new Bd("EventManagerPlugins"),Ux=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()};Ux.prototype.addEventListener=function(a,b,c){return this._findPluginFor(b).addEventListener(a,b,c)};
Ux.prototype._findPluginFor=function(a){var b=this._eventNameToPlugin.get(a);if(b)return b;b=this._plugins;for(var c=0;c<b.length;c++){var d=b[c];if(d.supports(a))return this._eventNameToPlugin.set(a,d),d}throw Error("$a`"+a);};Ux.\u0275fac=function(a){return new (a||Ux)(n(kIb),n(hg))};Ux.\u0275prov=Vc({token:Ux,factory:Ux.\u0275fac});var lIb=function(a){this._doc=a};var Vx=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=mIb(this);this.platformIsServer="server"===d;nIb(this)},qIb=function(a,b){b=m(b);for(var c=b.next();!c.done;c=b.next())if(c=c.value,1===oIb(a,c,1))for(var d=a,e=m(d.hostNodes),f=e.next();!f.done;f=e.next())pIb(d,f.value,c)};
Vx.prototype.ngOnDestroy=function(){var a=this.styleNodesInDOM;a&&(a.forEach(function(c){return c.remove()}),a.clear());a=m(this.styleRef.keys());for(var b=a.next();!b.done;b=a.next())rIb(this,b.value);nIb(this)};
var rIb=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)},mIb=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},oIb=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},pIb=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 f;(b=null==(f=a.get(c))?void 0:f.elements)?b.push(d):a.set(c,{elements:[d],usage:1})},nIb=function(a){var b=a.hostNodes;b.clear();b.add(a.doc.head)};
Vx.\u0275fac=function(a){return new (a||Vx)(n(Vi),n(fFb),n(gFb,8),n(bv))};Vx.\u0275prov=Vc({token:Vx,factory:Vx.\u0275fac});var sIb={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/"},Aka=/%COMP%/g,tIb=new Bd("RemoveStylesOnCompDestory",{providedIn:"root",factory:function(){return!1}}),Xx=function(a,b,c,d,e,f,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"===f;this.defaultRenderer=new Wx(a,e,h,this.platformIsServer)};Xx.prototype.createRenderer=function(a,b){if(!a||!b)return this.defaultRenderer;this.platformIsServer&&3===b.encapsulation&&(b=Object.assign({},b,{encapsulation:0}));b=uIb(this,a,b);b instanceof vIb?(qIb(b.sharedStylesHost,b.styles),b.rendererUsageCount++,b.setAttribute(a,b.hostAttr,"")):b instanceof Yx&&(qIb(b.sharedStylesHost,b.styles),b.rendererUsageCount++);return b};
var uIb=function(a,b,c){var d=a.rendererByCompId,e=d.get(c.id);if(!e){e=a.doc;var f=a.ngZone,h=a.eventManager,l=a.sharedStylesHost,q=a.removeStylesOnCompDestory,u=a.platformIsServer;switch(c.encapsulation){case 0:e=new vIb(h,l,c,a.appId,q,e,f,u);break;case 3:return new wIb(h,l,b,c,e,f,a.nonce,u);default:e=new Yx(h,l,c,q,e,f,u)}e.onDestroy=function(){return d.delete(c.id)};d.set(c.id,e)}return e};Xx.prototype.ngOnDestroy=function(){this.rendererByCompId.clear()};
Xx.\u0275fac=function(a){return new (a||Xx)(n(Ux),n(Vx),n(fFb),n(tIb),n(Vi),n(bv),n(hg),n(gFb))};Xx.\u0275prov=Vc({token:Xx,factory:Xx.\u0275fac});var Wx=function(a,b,c,d){this.eventManager=a;this.doc=b;this.ngZone=c;this.platformIsServer=d;this.data=Object.create(null);this.destroyNode=null};g=Wx.prototype;g.destroy=function(){};g.createElement=function(a,b){return b?this.doc.createElementNS(sIb[b]||b,a):this.doc.createElement(a)};g.createComment=function(a){return this.doc.createComment(a)};
g.createText=function(a){return this.doc.createTextNode(a)};g.appendChild=function(a,b){("TEMPLATE"===a.tagName&&void 0!==a.content?a.content:a).appendChild(b)};g.insertBefore=function(a,b,c){a&&("TEMPLATE"===a.tagName&&void 0!==a.content?a.content:a).insertBefore(b,c)};g.removeChild=function(a,b){a&&a.removeChild(b)};g.selectRootElement=function(a,b){var c="string"===typeof a?this.doc.querySelector(a):a;if(!c)throw Error("ab`"+a);b||(c.textContent="");return c};g.parentNode=function(a){return a.parentNode};
g.nextSibling=function(a){return a.nextSibling};g.setAttribute=function(a,b,c,d){d?(b=d+":"+b,(d=sIb[d])?a.setAttributeNS(d,b,c):a.setAttribute(b,c)):a.setAttribute(b,c)};g.removeAttribute=function(a,b,c){if(c){var d=sIb[c];d?a.removeAttributeNS(d,b):a.removeAttribute(c+":"+b)}else a.removeAttribute(b)};g.addClass=function(a,b){a.classList.add(b)};g.removeClass=function(a,b){a.classList.remove(b)};g.setStyle=function(a,b,c,d){d&3?a.style.setProperty(b,c,d&1?"important":""):a.style[b]=c};
g.removeStyle=function(a,b,c){c&2?a.style.removeProperty(b):a.style[b]=""};g.setProperty=function(a,b,c){a[b]=c};g.setValue=function(a,b){a.nodeValue=b};g.listen=function(a,b,c){if("string"===typeof a&&(a=uHb(this.doc,a),!a))throw Error("bb`"+a+"`"+b);return this.eventManager.addEventListener(a,b,xIb(this,c))};
var xIb=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(),c.returnValue=!1)}},wIb=function(a,b,c,d,e,f,h,l){Wx.call(this,a,e,f,l);this.sharedStylesHost=b;this.hostEl=c;this.shadowRoot=c.attachShadow({mode:"open"});a=this.sharedStylesHost;b=this.shadowRoot;a.hostNodes.add(b);c=m(a.styleRef.keys());for(e=c.next();!e.done;e=c.next())pIb(a,b,e.value);d=Bka(d.id,d.styles);d=m(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)};W(wIb,Wx);var Zx=function(a,b){return b===a.hostEl?a.shadowRoot:b};g=wIb.prototype;g.appendChild=function(a,b){return Wx.prototype.appendChild.call(this,Zx(this,a),b)};g.insertBefore=function(a,b,c){return Wx.prototype.insertBefore.call(this,Zx(this,a),b,c)};g.removeChild=function(a,b){return Wx.prototype.removeChild.call(this,Zx(this,a),b)};
g.parentNode=function(a){return Zx(this,Wx.prototype.parentNode.call(this,Zx(this,a)))};g.destroy=function(){this.sharedStylesHost.hostNodes.delete(this.shadowRoot)};var Yx=function(a,b,c,d,e,f,h,l){Wx.call(this,a,e,f,h);this.sharedStylesHost=b;this.removeStylesOnCompDestory=d;this.rendererUsageCount=0;this.styles=l?Bka(l,c.styles):c.styles};W(Yx,Wx);
Yx.prototype.destroy=function(){if(this.removeStylesOnCompDestory){for(var a=this.sharedStylesHost,b=m(this.styles),c=b.next();!c.done;c=b.next())c=c.value,0>=oIb(a,c,-1)&&rIb(a,c);this.rendererUsageCount--;if(0===this.rendererUsageCount){var d;null==(d=this.onDestroy)||d.call(this)}}};var vIb=function(a,b,c,d,e,f,h,l){d=d+"-"+c.id;Yx.call(this,a,b,c,e,f,h,l,d);this.contentAttr="_ngcontent-%COMP%".replace(Aka,d);this.hostAttr="_nghost-%COMP%".replace(Aka,d)};W(vIb,Yx);
vIb.prototype.createElement=function(a,b){a=Yx.prototype.createElement.call(this,a,b);Yx.prototype.setAttribute.call(this,a,this.contentAttr,"");return a};var ay=function(a){this._doc=a};W(ay,lIb);ay.prototype.supports=function(){return!0};ay.prototype.addEventListener=function(a,b,c){var d=this;a.addEventListener(b,c,!1);return function(){return d.removeEventListener(a,b,c)}};ay.prototype.removeEventListener=function(a,b,c){return a.removeEventListener(b,c)};ay.\u0275fac=function(a){return new (a||ay)(n(Vi))};ay.\u0275prov=Vc({token:ay,factory:ay.\u0275fac});var yIb=["alt","control","meta","shift"],zIb={"\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"},AIb={alt:function(a){return a.altKey},control:function(a){return a.ctrlKey},meta:function(a){return a.metaKey},shift:function(a){return a.shiftKey}},by=function(a){this._doc=a};W(by,lIb);by.prototype.supports=function(a){return null!=BIb(a)};
by.prototype.addEventListener=function(a,b,c){var d=BIb(b),e=CIb(d.fullKey,c,this.manager._zone);return this.manager._zone.runOutsideAngular(function(){return gIb(a,d.domEventName,e)})};
var BIb=function(a){var b=a.toLowerCase().split(".");a=b.shift();if(0===b.length||"keydown"!==a&&"keyup"!==a)return null;var c=DIb(b.pop()),d="",e=b.indexOf("code");-1<e&&(b.splice(e,1),d="code.");yIb.forEach(function(f){var h=b.indexOf(f);-1<h&&(b.splice(h,1),d+=f+".")});d+=c;if(0!=b.length||0===c.length)return null;a={domEventName:a};a.fullKey=d;return a},EIb=function(a,b){var c=zIb[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");yIb.forEach(function(e){e!==c&&(0,AIb[e])(a)&&(d+=e+".")});d+=c;return d===b},CIb=function(a,b,c){return function(d){EIb(d,a)&&c.runGuarded(function(){return b(d)})}},DIb=function(a){switch(a){case "esc":return"escape";default:return a}};by.\u0275fac=function(a){return new (a||by)(n(Vi))};by.\u0275prov=Vc({token:by,factory:by.\u0275fac});var JGb=Oha(cHb,"browser",[{provide:bv,useValue:"browser"},{provide:Jha,useValue:function(){var a=new Sx;rHb||(rHb=a)},multi:!0},{provide:Vi,useFactory:function(){return oea=document},deps:[]}]),FIb=new Bd(""),GIb=[{provide:BGb,useClass:jIb,deps:[]},{provide:AGb,useClass:lw,deps:[hg,mw,BGb]},{provide:lw,useClass:lw,deps:[hg,mw,BGb]}],HIb=[{provide:Pha,useValue:"root"},{provide:Qe,useFactory:function(){return new Qe},deps:[]},{provide:kIb,useClass:ay,multi:!0,deps:[Vi,hg,bv]},{provide:kIb,useClass:by,
multi:!0,deps:[Vi]},Xx,Vx,Ux,{provide:dv,useExisting:Xx},{provide:BHb,useClass:Tx,deps:[]},[]],cy=function(){};cy.\u0275fac=function(a){return new (a||cy)(n(FIb,12))};cy.\u0275mod=od({type:cy});cy.\u0275inj=Wc({providers:[].concat(r(HIb),r(GIb)),imports:[Mw,pw]});var dy=function(a){this._doc=a};dy.prototype.getTitle=function(){return this._doc.title};dy.prototype.setTitle=function(a){this._doc.title=a||""};dy.\u0275fac=function(a){return new (a||dy)(n(Vi))};dy.\u0275prov=Vc({token:dy,factory:function(a){var b=null;a?b=new a:b=new dy(n(Vi));return b},providedIn:"root"});new Bd("HammerGestureConfig");new Bd("HammerLoader");new Vu;var IIb=function(){},JIb=function(){};var ey=function(a){var b=this;this.normalizedNames=new Map;this.lazyUpdate=null;a?this.lazyInit="string"===typeof a?function(){b.headers=new Map;a.split("\n").forEach(function(c){var d=c.indexOf(":");if(0<d){var e=c.slice(0,d),f=e.toLowerCase();c=c.slice(d+1).trim();KIb(b,e,f);b.headers.has(f)?b.headers.get(f).push(c):b.headers.set(f,[c])}})}:function(){b.headers=new Map;Object.keys(a).forEach(function(c){var d=a[c],e=c.toLowerCase();"string"===typeof d&&(d=[d]);0<d.length&&(b.headers.set(e,d),KIb(b,
c,e))})}:this.headers=new Map};g=ey.prototype;g.has=function(a){this.init();return this.headers.has(a.toLowerCase())};g.get=function(a){this.init();return(a=this.headers.get(a.toLowerCase()))&&0<a.length?a[0]:null};g.keys=function(){this.init();return Array.from(this.normalizedNames.values())};g.getAll=function(a){this.init();return this.headers.get(a.toLowerCase())||null};g.append=function(a,b){return this.clone({name:a,value:b,op:"a"})};g.set=function(a,b){return this.clone({name:a,value:b,op:"s"})};
g.delete=function(a,b){return this.clone({name:a,value:b,op:"d"})};var KIb=function(a,b,c){a.normalizedNames.has(c)||a.normalizedNames.set(c,b)};ey.prototype.init=function(){var a=this;this.lazyInit&&(this.lazyInit instanceof ey?LIb(this,this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(b){return MIb(a,b)}),this.lazyUpdate=null))};
var LIb=function(a,b){b.init();Array.from(b.headers.keys()).forEach(function(c){a.headers.set(c,b.headers.get(c));a.normalizedNames.set(c,b.normalizedNames.get(c))})};ey.prototype.clone=function(a){var b=new ey;b.lazyInit=this.lazyInit&&this.lazyInit instanceof ey?this.lazyInit:this;b.lazyUpdate=(this.lazyUpdate||[]).concat([a]);return b};
var MIb=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;KIb(a,b.name,c);b=("a"===b.op?a.headers.get(c):void 0)||[];b.push.apply(b,r(d));a.headers.set(c,b);break;case "d":var e=b.value;if(e){if(d=a.headers.get(c))d=d.filter(function(f){return-1===e.indexOf(f)}),0===d.length?(a.headers.delete(c),a.normalizedNames.delete(c)):a.headers.set(c,d)}else a.headers.delete(c),a.normalizedNames.delete(c)}};
ey.prototype.forEach=function(a){var b=this;this.init();Array.from(this.normalizedNames.keys()).forEach(function(c){return a(b.normalizedNames.get(c),b.headers.get(c))})};var NIb=function(){},Dka=/%(\d[a-f0-9])/gi,Eka={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"},fy=function(a){var b=this;a=void 0===a?{}:a;this.cloneFrom=this.updates=null;this.encoder=a.encoder||new NIb;if(a.fromString){if(a.fromObject)throw Error("cb");this.map=Cka(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(Gka):[""+d];b.map.set(c,d)})):this.map=null};g=fy.prototype;
g.has=function(a){this.init();return this.map.has(a)};g.get=function(a){this.init();return(a=this.map.get(a))?a[0]:null};g.getAll=function(a){this.init();return this.map.get(a)||null};g.keys=function(){this.init();return Array.from(this.map.keys())};g.append=function(a,b){return this.clone({param:a,value:b,op:"a"})};g.set=function(a,b){return this.clone({param:a,value:b,op:"s"})};g.delete=function(a,b){return this.clone({param:a,value:b,op:"d"})};
g.toString=function(){var a=this;this.init();return this.keys().map(function(b){var c=Fka(b);return a.map.get(b).map(function(d){return c+"="+Fka(d)}).join("&")}).filter(function(b){return""!==b}).join("&")};g.clone=function(a){var b=new fy({encoder:this.encoder});b.cloneFrom=this.cloneFrom||this;b.updates=(this.updates||[]).concat(a);return b};
g.init=function(){var a=this;null===this.map&&(this.map=new Map);null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(function(b){return a.map.set(b,a.cloneFrom.map.get(b))}),this.updates.forEach(function(b){switch(b.op){case "a":case "s":var c=("a"===b.op?a.map.get(b.param):void 0)||[];c.push(""+b.value);a.map.set(b.param,c);break;case "d":if(void 0!==b.value){c=a.map.get(b.param)||[];var d=c.indexOf(""+b.value);-1!==d&&c.splice(d,1);0<c.length?a.map.set(b.param,c):a.map.delete(b.param)}else a.map.delete(b.param)}}),
this.cloneFrom=this.updates=null)};var OIb=function(){this.map=new Map};g=OIb.prototype;g.set=function(a,b){this.map.set(a,b);return this};g.get=function(a){this.map.has(a)||this.map.set(a,a.defaultValue());return this.map.get(a)};g.delete=function(a){this.map.delete(a);return this};g.has=function(a){return this.map.has(a)};g.keys=function(){return this.map.keys()};var gy=function(a,b,c,d){this.url=b;this.body=null;this.withCredentials=this.reportProgress=!1;this.responseType="json";this.method=a.toUpperCase();a:switch(this.method){case "DELETE":case "GET":case "HEAD":case "OPTIONS":case "JSONP":a=!1;break a;default:a=!0}if(a||d)this.body=void 0!==c?c:null,c=d;c&&(this.reportProgress=!!c.reportProgress,this.withCredentials=!!c.withCredentials,c.responseType&&(this.responseType=c.responseType),c.headers&&(this.headers=c.headers),c.context&&(this.context=c.context),
c.params&&(this.params=c.params));this.headers||(this.headers=new ey);this.context||(this.context=new OIb);this.params?(c=this.params.toString(),0===c.length?this.urlWithParams=b:(d=b.indexOf("?"),this.urlWithParams=b+(-1===d?"?":d<b.length-1?"&":"")+c)):(this.params=new fy,this.urlWithParams=b)},PIb=function(a){return null===a.body?null:Hka(a.body)||Ika(a.body)||Jka(a.body)||"undefined"!==typeof URLSearchParams&&a.body instanceof URLSearchParams||"string"===typeof a.body?a.body:a.body instanceof
fy?a.body.toString():"object"===typeof a.body||"boolean"===typeof a.body||Array.isArray(a.body)?JSON.stringify(a.body):a.body.toString()};
gy.prototype.clone=function(a){a=void 0===a?{}:a;var b=a.method||this.method,c=a.url||this.url,d=a.responseType||this.responseType,e=void 0!==a.body?a.body:this.body,f=void 0!==a.withCredentials?a.withCredentials:this.withCredentials,h=void 0!==a.reportProgress?a.reportProgress:this.reportProgress,l=a.headers||this.headers,q=a.params||this.params,u,x=null!=(u=a.context)?u:this.context;void 0!==a.setHeaders&&(l=Object.keys(a.setHeaders).reduce(function(y,G){return y.set(G,a.setHeaders[G])},l));a.setParams&&
(q=Object.keys(a.setParams).reduce(function(y,G){return y.set(G,a.setParams[G])},q));return new gy(b,c,e,{params:q,headers:l,context:x,reportProgress:h,responseType:d,withCredentials:f})};var hy=function(a,b,c){this.headers=a.headers||new ey;this.status=void 0!==a.status?a.status:void 0===b?200:b;this.statusText=a.statusText||(void 0===c?"OK":c);this.url=a.url||null;this.ok=200<=this.status&&300>this.status},QIb=function(a){a=void 0===a?{}:a;hy.call(this,a);this.type=2};W(QIb,hy);
QIb.prototype.clone=function(a){a=void 0===a?{}:a;return new QIb({headers:a.headers||this.headers,status:void 0!==a.status?a.status:this.status,statusText:a.statusText||this.statusText,url:a.url||this.url||void 0})};var iy=function(a){a=void 0===a?{}:a;hy.call(this,a);this.type=4;this.body=void 0!==a.body?a.body:null};W(iy,hy);
iy.prototype.clone=function(a){a=void 0===a?{}:a;return new iy({body:void 0!==a.body?a.body:this.body,headers:a.headers||this.headers,status:void 0!==a.status?a.status:this.status,statusText:a.statusText||this.statusText,url:a.url||this.url||void 0})};
var RIb=function(a){hy.call(this,a,0,"Unknown Error");this.name="HttpErrorResponse";this.ok=!1;this.message=200<=this.status&&300>this.status?"Http failure during parsing for "+(a.url||"(unknown url)"):"Http failure response for "+(a.url||"(unknown url)")+": "+a.status+" "+a.statusText;this.error=a.error||null};W(RIb,hy);var jy=function(a){this.handler=a};g=jy.prototype;
g.request=function(a,b,c){var d=this;c=void 0===c?{}:c;if(a instanceof gy)b=a;else{var e=void 0;e=c.headers instanceof ey?c.headers:new ey(c.headers);var f=void 0;c.params&&(f=c.params instanceof fy?c.params:new fy({fromObject:c.params}));b=new gy(a,b,void 0!==c.body?c.body:null,{headers:e,context:c.context,params:f,reportProgress:c.reportProgress,responseType:c.responseType||"json",withCredentials:c.withCredentials})}e=(0,C.of)(b).pipe(zf(function(h){return d.handler.handle(h)},1));if(a instanceof
gy||"events"===c.observe)return e;a=e.pipe(Gf(function(h){return h instanceof iy}));switch(c.observe||"body"){case "body":switch(b.responseType){case "arraybuffer":return a.pipe(B(function(h){if(null!==h.body&&!(h.body instanceof ArrayBuffer))throw Error("db");return h.body}));case "blob":return a.pipe(B(function(h){if(null!==h.body&&!(h.body instanceof Blob))throw Error("eb");return h.body}));case "text":return a.pipe(B(function(h){if(null!==h.body&&"string"!==typeof h.body)throw Error("fb");return h.body}));
default:return a.pipe(B(function(h){return h.body}))}case "response":return a;default:throw Error("gb`"+c.observe);}};g.delete=function(a,b){b=void 0===b?{}:b;return this.request("DELETE",a,b)};g.get=function(a,b){b=void 0===b?{}:b;return this.request("GET",a,b)};g.head=function(a,b){b=void 0===b?{}:b;return this.request("HEAD",a,b)};g.jsonp=function(a,b){return this.request("JSONP",a,{params:(new fy).append(b,"JSONP_CALLBACK"),observe:"body",responseType:"json"})};
g.options=function(a,b){b=void 0===b?{}:b;return this.request("OPTIONS",a,b)};g.patch=function(a,b,c){c=void 0===c?{}:c;return this.request("PATCH",a,Kka(c,b))};g.post=function(a,b,c){c=void 0===c?{}:c;return this.request("POST",a,Kka(c,b))};g.put=function(a,b,c){c=void 0===c?{}:c;return this.request("PUT",a,Kka(c,b))};jy.\u0275fac=function(a){return new (a||jy)(n(IIb))};jy.\u0275prov=Vc({token:jy,factory:jy.\u0275fac});var ky=new Bd(""),SIb=new Bd(""),TIb=new Bd(""),ly=function(a,b){this.backend=a;this.injector=b;this.chain=null};W(ly,IIb);ly.prototype.handle=function(a){var b=this;null===this.chain&&(this.chain=Array.from(new Set([].concat(r(this.injector.get(SIb)),r(this.injector.get(TIb,[]))))).reduceRight(function(c,d){return Nka(c,d,b.injector)},Lka));return this.chain(a,function(c){return b.backend.handle(c)})};ly.\u0275fac=function(a){return new (a||ly)(n(JIb),n(Uu))};ly.\u0275prov=Vc({token:ly,factory:ly.\u0275fac});var UIb=/^\)\]\}',?\n/,my=function(a){this.xhrFactory=a};
my.prototype.handle=function(a){var b=this;if("JSONP"===a.method)throw Error("hb");return new C.Observable(function(c){var d=b.xhrFactory.build();d.open(a.method,a.urlWithParams);a.withCredentials&&(d.withCredentials=!0);a.headers.forEach(function(S,X){return d.setRequestHeader(S,X.join(","))});a.headers.has("Accept")||d.setRequestHeader("Accept","application/json, text/plain, */*");if(!a.headers.has("Content-Type")){var e=null===a.body||Jka(a.body)?null:Ika(a.body)?a.body.type||null:Hka(a.body)?
null:"string"===typeof a.body?"text/plain":a.body instanceof fy?"application/x-www-form-urlencoded;charset=UTF-8":"object"===typeof a.body||"number"===typeof a.body||"boolean"===typeof a.body?"application/json":null;null!==e&&d.setRequestHeader("Content-Type",e)}a.responseType&&(e=a.responseType.toLowerCase(),d.responseType="json"!==e?e:"text");var f=PIb(a),h=null,l=function(){if(null!==h)return h;var S=d.statusText||"OK",X=new ey(d.getAllResponseHeaders()),aa=("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 QIb({headers:X,status:d.status,statusText:S,url:aa})},q=function(){var S=l(),X=S.headers,aa=S.status,na=S.statusText;S=S.url;var ma=null;204!==aa&&(ma="undefined"===typeof d.response?d.responseText:d.response);0===aa&&(aa=ma?200:0);var Ca=200<=aa&&300>aa;if("json"===a.responseType&&"string"===typeof ma){var Fa=ma;ma=ma.replace(UIb,"");try{ma=""!==ma?JSON.parse(ma):null}catch(Ja){ma=Fa,
Ca&&(Ca=!1,ma={error:Ja,text:ma})}}Ca?(c.next(new iy({body:ma,headers:X,status:aa,statusText:na,url:S||void 0})),c.complete()):c.error(new RIb({error:ma,headers:X,status:aa,statusText:na,url:S||void 0}))},u=function(S){var X=l().url;c.error(new RIb({error:S,status:d.status||0,statusText:d.statusText||"Unknown Error",url:X||void 0}))},x=!1,y=function(S){x||(c.next(l()),x=!0);var X={type:3,loaded:S.loaded};S.lengthComputable&&(X.total=S.total);"text"===a.responseType&&d.responseText&&(X.partialText=
d.responseText);c.next(X)},G=function(S){var X={type:1,loaded:S.loaded};S.lengthComputable&&(X.total=S.total);c.next(X)};d.addEventListener("load",q);d.addEventListener("error",u);d.addEventListener("timeout",u);d.addEventListener("abort",u);a.reportProgress&&(d.addEventListener("progress",y),null!==f&&d.upload&&d.upload.addEventListener("progress",G));var L,M=function(){null!=L||(L=Oka())},T=function(){var S;null==(S=L)||S()};d.addEventListener("loadstart",M);d.addEventListener("loadend",T);d.send(f);
c.next({type:0});return function(){d.removeEventListener("loadstart",M);d.removeEventListener("loadend",T);d.removeEventListener("error",u);d.removeEventListener("abort",u);d.removeEventListener("load",q);d.removeEventListener("timeout",u);var S;null==(S=L)||S();a.reportProgress&&(d.removeEventListener("progress",y),null!==f&&d.upload&&d.upload.removeEventListener("progress",G));d.readyState!==d.DONE&&d.abort()}})};my.\u0275fac=function(a){return new (a||my)(n(BHb))};my.\u0275prov=Vc({token:my,factory:my.\u0275fac});var Pka=new Bd("XSRF_ENABLED"),VIb=new Bd("XSRF_COOKIE_NAME",{providedIn:"root",factory:function(){return"XSRF-TOKEN"}}),Rka=new Bd("XSRF_HEADER_NAME",{providedIn:"root",factory:function(){return"X-XSRF-TOKEN"}}),Qka=function(){},ny=function(a,b,c){this.doc=a;this.platform=b;this.cookieName=c;this.lastCookieString="";this.lastToken=null};
ny.prototype.getToken=function(){if("server"===this.platform)return null;var a=this.doc.cookie||"";if(a!==this.lastCookieString){a:{var b=this.cookieName;b=encodeURIComponent(b);for(var c=m(a.split(";")),d=c.next();!d.done;d=c.next()){d=d.value;var e=d.indexOf("=");e=m(-1==e?[d,""]:[d.slice(0,e),d.slice(e+1)]);d=e.next().value;e=e.next().value;if(d.trim()===b){b=decodeURIComponent(e);break a}}b=null}this.lastToken=b;this.lastCookieString=a}return this.lastToken};
ny.\u0275fac=function(a){return new (a||ny)(n(Vi),n(bv),n(VIb))};ny.\u0275prov=Vc({token:ny,factory:ny.\u0275fac});var WIb=new Bd("LEGACY_INTERCEPTOR_FN");var XIb={cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"},YIb=XIb.cookieName,ZIb=XIb.headerName,$Ib=[];void 0!==YIb&&$Ib.push({provide:VIb,useValue:YIb});void 0!==ZIb&&$Ib.push({provide:Rka,useValue:ZIb});var oy=function(){};oy.\u0275fac=function(a){return new (a||oy)};oy.\u0275mod=od({type:oy});
oy.\u0275inj=Wc({providers:[function(){for(var a=[jy,my,ly,{provide:IIb,useExisting:ly},{provide:JIb,useExisting:my},{provide:SIb,useValue:Ska,multi:!0},{provide:Pka,useValue:!0},{provide:Qka,useClass:ny}],b=m(yd.apply(0,arguments)),c=b.next();!c.done;c=b.next())a.push.apply(a,r(c.value.\u0275providers));return{"\u0275providers":a}}({"\u0275kind":1,"\u0275providers":[{provide:WIb,useFactory:function(){var a=null;return function(b,c){if(null===a){var d;a=(null!=(d=hd(ky,{optional:!0}))?d:[]).reduceRight(Mka,
Lka)}return a(b,c)}}},{provide:SIb,useExisting:WIb,multi:!0}]})]});new Bd("");var py=function(){};py.\u0275fac=function(a){return new (a||py)};py.\u0275prov=Vc({token:py,factory:function(a){return a?new (a||py):n(qy)},providedIn:"root"});var qy=function(a){this._doc=a};W(qy,py);
qy.prototype.sanitize=function(a,b){if(null==b)return null;switch(a){case 0:return b;case 1:return ye(b,"HTML")?xe(b):Yea(this._doc,String(b)).toString();case 2:return ye(b,"Style")?xe(b):b;case 3:if(ye(b,"Script"))return xe(b);throw Error("ib");case 4:return ye(b,"URL")?xe(b):Mea(String(b));case 5:if(ye(b,"ResourceURL"))return xe(b);throw Error("jb");default:throw Error("kb`"+a);}};qy.prototype.bypassSecurityTrustHtml=function(a){return new kFb(a)};qy.prototype.bypassSecurityTrustUrl=function(a){return new lFb(a)};
qy.prototype.bypassSecurityTrustResourceUrl=function(a){return new mFb(a)};qy.\u0275fac=function(a){return new (a||qy)(n(Vi))};qy.\u0275prov=Vc({token:qy,factory:function(a){a?a=new a:(a=n(Zu),a=new qy(a.get(Vi)));return a},providedIn:"root"});new gv;var bJb=function(a){var b=tq("window.location.href");null==a&&(a='Unknown Error of type "null/undefined"');if("string"===typeof a)return{message:a,name:"Unknown error",lineNumber:"Not available",fileName:b,stack:"Not available"};var c=!1;try{var d=a.lineNumber||a.line||"Not available"}catch(h){d="Not available",c=!0}try{var e=a.fileName||a.filename||a.sourceURL||da.$googDebugFname||b}catch(h){e="Not available",c=!0}b=aJb(a);if(!(!c&&a.lineNumber&&a.fileName&&a.stack&&a.message&&a.name)){c=a.message;
if(null==c){if(a.constructor&&a.constructor instanceof Function){if(a.constructor.name)c=a.constructor.name;else if(c=a.constructor,ry[c])c=ry[c];else{c=String(c);if(!ry[c]){var f=/function\s+([^\(]+)/m.exec(c);ry[c]=f?f[1]:"[Anonymous]"}c=ry[c]}c='Unknown Error of type "'+c+'"'}else c="Unknown Error of unknown type";"function"===typeof a.toString&&Object.prototype.toString!==a.toString&&(c+=": "+a.toString())}return{message:c,name:a.name||"UnknownError",lineNumber:d,fileName:e,stack:b||"Not available"}}a.stack=
b;return{message:a.message,name:a.name,lineNumber:a.lineNumber,fileName:a.fileName,stack:a.stack}},aJb=function(a,b){b||(b={});b[cJb(a)]=!0;var c=a.stack||"";(a=a.cause)&&!b[cJb(a)]&&(c+="\nCaused by: ",a.stack&&0==a.stack.indexOf(a.toString())||(c+="string"===typeof a?a:a.message+"\n"),c+=aJb(a,b));return c},cJb=function(a){var b="";"function"===typeof a.toString&&(b=""+a);return b+a.stack},ry={};var dJb;try{new URL("s://g"),dJb=!0}catch(a){dJb=!1}var Uka=dJb;var Wka=function(a){this.isValid=a},Xka=[mi("data"),mi("http"),mi("https"),mi("mailto"),mi("ftp"),new Wka(function(a){return/^[^:]*([/?#]|$)/.test(a)})];var sy=function(a){this.decorated=new qy(a)};W(sy,py);sy.prototype.sanitize=function(a,b){if(null==b)return null;if(b instanceof Ou||b instanceof vc||b instanceof Bq){if(eJb(b,a))return this.decorated.sanitize(a,fJb(this,b));throw Error("lb`"+vFb[a]+"`"+b);}return this.decorated.sanitize(a,b)};sy.prototype.bypassSecurityTrustHtml=function(){throw Error("mb");};sy.prototype.bypassSecurityTrustUrl=function(){throw Error("mb");};
sy.prototype.bypassSecurityTrustResourceUrl=function(){throw Error("mb");};var fJb=function(a,b){if(null!=b){if(b instanceof Bq)return a.decorated.bypassSecurityTrustHtml(String(b));if(b instanceof vc)return a.decorated.bypassSecurityTrustUrl(wc(b));if(b instanceof Ou)return a.decorated.bypassSecurityTrustResourceUrl(String(b))}return null},eJb=function(a,b){switch(b){case 1:return a instanceof Bq;case 4:return a instanceof vc||a instanceof Ou;case 5:return a instanceof Ou;case 3:return!1;default:return!1}};
sy.\u0275fac=function(a){return new (a||sy)(n(Vi))};sy.\u0275prov=Vc({token:sy,factory:sy.\u0275fac});var gJb=[{provide:xFb,useExisting:py},{provide:py,useClass:sy}],ty=function(){};ty.\u0275fac=function(a){return new (a||ty)};ty.\u0275mod=od({type:ty});ty.\u0275inj=Wc({providers:gJb,imports:[cy]});var pi=new Set(["true","1"]),qi=new Set(["false","0"]);var hJb=function(){},iJb=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 yi=function(a,b){this._onDoneFns=[];this._onStartFns=[];this._onDestroyFns=[];this._originalOnDoneFns=[];this._originalOnStartFns=[];this._finished=this._destroyed=this._started=!1;this._position=0;this.parentPlayer=null;this.totalTime=(void 0===a?0:a)+(void 0===b?0:b)};g=yi.prototype;g._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(a){return a()}),this._onDoneFns=[])};g.onStart=function(a){this._originalOnStartFns.push(a);this._onStartFns.push(a)};
g.onDone=function(a){this._originalOnDoneFns.push(a);this._onDoneFns.push(a)};g.onDestroy=function(a){this._onDestroyFns.push(a)};g.hasStarted=function(){return this._started};g.init=function(){};g.play=function(){this.hasStarted()||(this._onStart(),jJb(this));this._started=!0};var jJb=function(a){Promise.resolve().then(function(){return a._onFinish()})};g=yi.prototype;g._onStart=function(){this._onStartFns.forEach(function(a){return a()});this._onStartFns=[]};g.pause=function(){};g.restart=function(){};
g.finish=function(){this._onFinish()};g.destroy=function(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(function(a){return a()}),this._onDestroyFns=[])};g.reset=function(){this._finished=this._started=!1;this._onStartFns=this._originalOnStartFns;this._onDoneFns=this._originalOnDoneFns};g.setPosition=function(a){this._position=this.totalTime?a*this.totalTime:1};
g.getPosition=function(){return this.totalTime?this._position/this.totalTime:1};g.triggerCallback=function(a){a="start"==a?this._onStartFns:this._onDoneFns;a.forEach(function(b){return b()});a.length=0};var ala=function(a){var b=this;this._onDoneFns=[];this._onStartFns=[];this._destroyed=this._started=this._finished=!1;this._onDestroyFns=[];this.parentPlayer=null;this.totalTime=0;this.players=a;var c=0,d=0,e=0,f=this.players.length;0==f?Promise.resolve().then(function(){return b._onFinish()}):this.players.forEach(function(h){h.onDone(function(){++c==f&&b._onFinish()});h.onDestroy(function(){++d==f&&b._onDestroy()});h.onStart(function(){++e==f&&b._onStart()})});this.totalTime=this.players.reduce(function(h,
l){return Math.max(h,l.totalTime)},0)};g=ala.prototype;g._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(a){return a()}),this._onDoneFns=[])};g.init=function(){this.players.forEach(function(a){return a.init()})};g.onStart=function(a){this._onStartFns.push(a)};g._onStart=function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(function(a){return a()}),this._onStartFns=[])};g.onDone=function(a){this._onDoneFns.push(a)};g.onDestroy=function(a){this._onDestroyFns.push(a)};
g.hasStarted=function(){return this._started};g.play=function(){this.parentPlayer||this.init();this._onStart();this.players.forEach(function(a){return a.play()})};g.pause=function(){this.players.forEach(function(a){return a.pause()})};g.restart=function(){this.players.forEach(function(a){return a.restart()})};g.finish=function(){this._onFinish();this.players.forEach(function(a){return a.finish()})};g.destroy=function(){this._onDestroy()};
g._onDestroy=function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(function(a){return a.destroy()}),this._onDestroyFns.forEach(function(a){return a()}),this._onDestroyFns=[])};g.reset=function(){this.players.forEach(function(a){return a.reset()});this._started=this._finished=this._destroyed=!1};g.setPosition=function(a){var b=a*this.totalTime;this.players.forEach(function(c){c.setPosition(c.totalTime?Math.min(1,b/c.totalTime):1)})};
g.getPosition=function(){var a=this.players.reduce(function(b,c){return null===b||c.totalTime>b.totalTime?c:b},null);return null!=a?a.getPosition():0};g.beforeDestroy=function(){this.players.forEach(function(a){a.beforeDestroy&&a.beforeDestroy()})};g.triggerCallback=function(a){a="start"==a?this._onStartFns:this._onDoneFns;a.forEach(function(b){return b()});a.length=0};var hla="undefined"===typeof document?null:document.documentElement;var qla=RegExp("{{\\s*(.+?)\\s*}}","g"),rla=/-+([a-z0-9])/g;var tla=RegExp("s*:selfs*,?","g"),kJb=function(a){this._driver=a};g=kJb.prototype;g.build=function(a,b){b=new lJb(b);this._resetContextStyleTimingState(b);return Li(this,Ii(a),b)};g._resetContextStyleTimingState=function(a){a.currentQuerySelector="";a.collectedStyles=new Map;a.collectedStyles.set("",new Map);a.currentTime=0};
g.visitTrigger=function(a,b){var c=this,d=b.queryCount=0,e=b.depCount=0,f=[],h=[];"@"==a.name.charAt(0)&&b.errors.push(new $c(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(u){l.name=u;f.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 $c(3007,!1))});return{type:7,name:a.name,states:f,transitions:h,queryCount:d,
depCount:e,options:null}};g.visitState=function(a,b){var c=this.visitStyle(a.styles,b),d=a.options&&a.options.params||null;if(c.containsDynamicStyles){var e=new Set,f=d||{};c.styles.forEach(function(h){h instanceof Map&&h.forEach(function(l){ola(l).forEach(function(q){f.hasOwnProperty(q)||e.add(q)})})});e.size&&(Ki(e.values()),b.errors.push(new $c(3008,!1)))}return{type:0,name:a.name,style:c,options:d?{params:d}:null}};
g.visitTransition=function(a,b){b.queryCount=0;b.depCount=0;var c=Li(this,Ii(a.animation),b);return{type:1,matchers:$ka(a.expr,b.errors),animation:c,queryCount:b.queryCount,depCount:b.depCount,options:Mi(a.options)}};g.visitSequence=function(a,b){var c=this;return{type:2,steps:a.steps.map(function(d){return Li(c,d,b)}),options:Mi(a.options)}};
g.visitGroup=function(a,b){var c=this,d=b.currentTime,e=0,f=a.steps.map(function(h){b.currentTime=d;h=Li(c,h,b);e=Math.max(e,b.currentTime);return h});b.currentTime=e;return{type:3,steps:f,options:Mi(a.options)}};
g.visitAnimate=function(a,b){var c=wla(a.timings,b.errors);b.currentAnimateTimings=c;var d=a.styles?a.styles:ti({});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=ti(d));b.currentTime+=c.duration+c.delay;var e=this.visitStyle(d,b);e.isEmptyStep=a;a=e}b.currentAnimateTimings=null;return{type:4,timings:c,style:a,options:null}};g.visitStyle=function(a,b){a=this._makeStyleAst(a,b);this._validateStyleAst(a,b);return a};
g._makeStyleAst=function(a,b){var c=[],d=Array.isArray(a.styles)?a.styles:[a.styles];d=m(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 $c(3002,!1)):c.push(mla(e));var f=!1,h=null;c.forEach(function(l){if(l instanceof Map&&(l.has("easing")&&(h=l.get("easing"),l.delete("easing")),!f)){l=m(l.values());for(var q=l.next();!q.done;q=l.next())if(0<=q.value.toString().indexOf("{{")){f=!0;break}}});return{type:6,styles:c,easing:h,offset:a.offset,
containsDynamicStyles:f,options:null}};g._validateStyleAst=function(a,b){var c=b.currentAnimateTimings,d=b.currentTime,e=b.currentTime;c&&0<e&&(e-=c.duration+c.delay);a.styles.forEach(function(f){"string"!==typeof f&&f.forEach(function(h,l){var q=b.collectedStyles.get(b.currentQuerySelector),u=q.get(l),x=!0;u&&(e!=d&&e>=u.startTime&&d<=u.endTime&&(b.errors.push(new $c(3010,!1)),x=!1),e=u.startTime);x&&q.set(l,{startTime:e,endTime:d});b.options&&pla(h,b.options,b.errors)})})};
g.visitKeyframes=function(a,b){var c=this,d={type:5,styles:[],options:null};if(!b.currentAnimateTimings)return b.errors.push(new $c(3011,!1)),d;var e=0,f=[],h=!1,l=!1,q=0,u=a.steps.map(function(T){T=c._makeStyleAst(T,b);var S=null!=T.offset?T.offset:vla(T.styles),X=0;null!=S&&(e++,X=T.offset=S);l=l||0>X||1<X;h=h||X<q;q=X;f.push(X);return T});l&&b.errors.push(new $c(3012,!1));h&&b.errors.push(new $c(3200,!1));a=a.steps.length;var x=0;0<e&&e<a?b.errors.push(new $c(3202,!1)):0==e&&(x=1/(a-1));var y=
a-1,G=b.currentTime,L=b.currentAnimateTimings,M=L.duration;u.forEach(function(T,S){S=0<x?S==y?1:x*S:f[S];var X=S*M;b.currentTime=G+L.delay+X;L.duration=X;c._validateStyleAst(T,b);T.offset=S;d.styles.push(T)});return d};g.visitReference=function(a,b){return{type:8,animation:Li(this,Ii(a.animation),b),options:Mi(a.options)}};g.visitAnimateChild=function(a,b){b.depCount++;return{type:9,options:Mi(a.options)}};
g.visitAnimateRef=function(a,b){return{type:10,animation:this.visitReference(a.animation,b),options:Mi(a.options)}};
g.visitQuery=function(a,b){var c=b.currentQuerySelector,d=a.options||{};b.queryCount++;b.currentQuery=a;var e=m(ula(a.selector)),f=e.next().value;e=e.next().value;b.currentQuerySelector=c.length?c+" "+f:f;Bi(b.collectedStyles,b.currentQuerySelector,new Map);var h=Li(this,Ii(a.animation),b);b.currentQuery=null;b.currentQuerySelector=c;return{type:11,selector:f,limit:d.limit||0,optional:!!d.optional,includeSelf:e,animation:h,originalSelector:a.selector,options:Mi(a.options)}};
g.visitStagger=function(a,b){b.currentQuery||b.errors.push(new $c(3013,!1));var c="full"===a.timings?{duration:0,delay:0,easing:"full"}:Di(a.timings,b.errors,!0);return{type:12,animation:Li(this,Ii(a.animation),b),timings:c,options:null}};var lJb=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 uy=function(){this._map=new Map};uy.prototype.get=function(a){return this._map.get(a)||[]};uy.prototype.append=function(a,b){var c=this._map.get(a);c||this._map.set(a,c=[]);c.push.apply(c,r(b))};uy.prototype.has=function(a){return this._map.has(a)};uy.prototype.clear=function(){this._map.clear()};var mJb=RegExp(":enter","g"),nJb=RegExp(":leave","g"),yla=function(){};g=yla.prototype;
g.buildKeyframes=function(a,b,c,d,e,f,h,l,q,u){u=void 0===u?[]:u;q=q||new uy;a=new vy(a,b,q,d,e,u,[]);a.options=l;d=l.delay?Ci(l.delay):0;a.currentTimeline.delayNextStep(d);oJb(a.currentTimeline,[f],null,a.errors,l);Li(this,c,a);c=a.timelines.filter(function(y){return y.containsAnimation()});if(c.length&&h.size){for(f=c.length-1;0<=f;f--)if(e=c[f],e.element===b){var x=e;break}x&&x._currentEmptyStepKeyframe===x._currentKeyframe&&oJb(x,[h],null,a.errors,l)}return c.length?c.map(function(y){return y.buildKeyframes()}):
[xla(b,[],[],[],0,d,"",!1)]};g.visitTrigger=function(){};g.visitState=function(){};g.visitTransition=function(){};g.visitAnimateChild=function(a,b){var c=b.subInstructions.get(b.element);if(c){var d=wy(b,a.options),e=b.currentTimeline.currentTime;c=this._visitSubInstructions(c,d,d.options);e!=c&&xy(b,c)}b.previousNode=a};
g.visitAnimateRef=function(a,b){var c=wy(b,a.options);xy(c);this._applyAnimationRefDelays([a.options,a.animation.options],b,c);this.visitReference(a.animation,c);xy(b,c.currentTimeline.currentTime);b.previousNode=a};g._applyAnimationRefDelays=function(a,b,c){a=m(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=void 0,f=null==(e=d)?void 0:e.delay;if(f){var h=e=void 0;d="number"===typeof f?f:Ci(Ji(f,null!=(h=null==(e=d)?void 0:e.params)?h:{},b.errors));c.delayNextStep(d)}}};
g._visitSubInstructions=function(a,b,c){var d=b.currentTimeline.currentTime,e=null!=c.duration?Ci(c.duration):null,f=null!=c.delay?Ci(c.delay):null;0!==e&&a.forEach(function(h){var l={duration:null!=e?e:h.duration,delay:b.currentTimeline.currentTime+(null!=f?f:0)+h.delay,easing:""};h=new pJb(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};
g.visitReference=function(a,b){qJb(b,a.options,!0);Li(this,a.animation,b);b.previousNode=a};g.visitSequence=function(a,b){var c=this,d=b.subContextCount,e=b,f=a.options;f&&(f.params||f.delay)&&(e=wy(b,f),xy(e),null!=f.delay&&(6==e.previousNode.type&&(yy(e.currentTimeline),e.previousNode=rJb),e.delayNextStep(Ci(f.delay))));a.steps.length&&(a.steps.forEach(function(h){return Li(c,h,e)}),zy(e.currentTimeline),e.subContextCount>d&&xy(e));b.previousNode=a};
g.visitGroup=function(a,b){var c=this,d=[],e=b.currentTimeline.currentTime,f=a.options&&a.options.delay?Ci(a.options.delay):0;a.steps.forEach(function(h){var l=wy(b,a.options);f&&l.delayNextStep(f);Li(c,h,l);e=Math.max(e,l.currentTimeline.currentTime);d.push(l.currentTimeline)});d.forEach(function(h){return sJb(b.currentTimeline,h)});xy(b,e);b.previousNode=a};
g._visitTiming=function(a,b){return a.dynamic?(a=a.strValue,a=b.params?Ji(a,b.params,b.errors):a,Di(a,b.errors)):{duration:a.duration,delay:a.delay,easing:a.easing}};
g.visitAnimate=function(a,b){var c=b.currentAnimateTimings=this._visitTiming(a.timings,b),d=b.currentTimeline;c.delay&&(tJb(b.currentTimeline,b.currentTimeline.duration+c.delay),yy(d));var e=a.style;5==e.type?this.visitKeyframes(e,b):(tJb(b.currentTimeline,b.currentTimeline.duration+c.duration),this.visitStyle(e,b),zy(d));b.currentAnimateTimings=null;b.previousNode=a};
g.visitStyle=function(a,b){var c=b.currentTimeline,d=b.currentAnimateTimings;!d&&0<c._currentKeyframe.size&&(c.duration+=1,c._loadKeyframe());d=d&&d.easing||a.easing;if(a.isEmptyStep){d&&c._previousKeyframe.set("easing",d);d=m(c._globalTimelineStyles);for(var e=d.next();!e.done;e=d.next()){var f=m(e.value);e=f.next().value;f=f.next().value;c._backFill.set(e,f||"*");c._currentKeyframe.set(e,"*")}c._currentEmptyStepKeyframe=c._currentKeyframe}else oJb(c,a.styles,d,b.errors,b.options);b.previousNode=
a};g.visitKeyframes=function(a,b){var c=b.currentAnimateTimings,d=b.currentTimeline.duration,e=c.duration,f=wy(b).currentTimeline;f.easing=c.easing;a.styles.forEach(function(h){tJb(f,(h.offset||0)*e);oJb(f,h.styles,h.easing,b.errors,b.options);zy(f)});sJb(b.currentTimeline,f);xy(b,d+e);b.previousNode=a};
g.visitQuery=function(a,b){var c=this,d=b.currentTimeline.currentTime,e=a.options||{},f=e.delay?Ci(e.delay):0;f&&(6===b.previousNode.type||0==d&&0<b.currentTimeline._currentKeyframe.size)&&(yy(b.currentTimeline),b.previousNode=rJb);var h=d;d=uJb(b,a.selector,a.limit,a.includeSelf,e.optional?!0:!1,b.errors);b.currentQueryTotal=d.length;var l=null;d.forEach(function(q,u){b.currentQueryIndex=u;u=wy(b,a.options,q);f&&u.delayNextStep(f);q===b.element&&(l=u.currentTimeline);Li(c,a.animation,u);zy(u.currentTimeline);
h=Math.max(h,u.currentTimeline.currentTime)});b.currentQueryIndex=0;b.currentQueryTotal=0;xy(b,h);l&&(sJb(b.currentTimeline,l),yy(b.currentTimeline));b.previousNode=a};
g.visitStagger=function(a,b){var c=b.parentContext,d=b.currentTimeline,e=a.timings,f=Math.abs(e.duration),h=f*(b.currentQueryTotal-1);f*=b.currentQueryIndex;switch(0>e.duration?"reverse":e.easing){case "reverse":f=h-f;break;case "full":f=c.currentStaggerTime}e=b.currentTimeline;f&&e.delayNextStep(f);e=e.currentTime;Li(this,a.animation,b);b.previousNode=a;c.currentStaggerTime=d.currentTime-e+(d.startTime-c.currentTimeline.startTime)};
var rJb={},vy=function(a,b,c,d,e,f,h,l){this._driver=a;this.element=b;this.subInstructions=c;this._enterClassName=d;this._leaveClassName=e;this.errors=f;this.timelines=h;this.currentAnimateTimings=this.parentContext=null;this.previousNode=rJb;this.subContextCount=0;this.options={};this.currentStaggerTime=this.currentQueryTotal=this.currentQueryIndex=0;this.currentTimeline=l||new Ay(this._driver,b,0);h.push(this.currentTimeline)},qJb=function(a,b,c){if(b){var d=a.options;null!=b.duration&&(d.duration=
Ci(b.duration));null!=b.delay&&(d.delay=Ci(b.delay));var e=b.params;if(e){var f=d.params;f||(f=a.options.params={});Object.keys(e).forEach(function(h){c&&f.hasOwnProperty(h)||(f[h]=Ji(e[h],f,a.errors))})}}};vy.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 wy=function(a,b,c){b=void 0===b?null:b;c=c||a.element;c=new vy(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();qJb(c,b);c.currentQueryIndex=a.currentQueryIndex;c.currentQueryTotal=a.currentQueryTotal;c.parentContext=a;a.subContextCount++;return c},xy=function(a,b){a.previousNode=rJb;a.currentTimeline=a.currentTimeline.fork(a.element,
b);a.timelines.push(a.currentTimeline)};vy.prototype.delayNextStep=function(a){0<a&&this.currentTimeline.delayNextStep(a)};var uJb=function(a,b,c,d,e,f){var h=[];d&&h.push(a.element);0<b.length&&(b=b.replace(mJb,"."+a._enterClassName),b=b.replace(nJb,"."+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,r(a)));e||0!=h.length||f.push(new $c(3014,!1));return h};
Xi.Object.defineProperties(vy.prototype,{params:{configurable:!0,enumerable:!0,get:function(){return this.options.params}}});
var Ay=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()};Ay.prototype.containsAnimation=function(){switch(this._keyframes.size){case 0:return!1;case 1:return 0<this._currentKeyframe.size;default:return!0}};Ay.prototype.delayNextStep=function(a){var b=1===this._keyframes.size&&this._pendingStyles.size;this.duration||b?(tJb(this,this.currentTime+a),b&&yy(this)):this.startTime+=a};
Ay.prototype.fork=function(a,b){zy(this);return new Ay(this._driver,a,b||this.currentTime,this._elementTimelineStylesLookup)};Ay.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 tJb=function(a,b){zy(a);a.duration=b;a._loadKeyframe()};
Ay.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 oJb=function(a,b,c,d,e){c&&a._previousKeyframe.set("easing",c);c=e&&e.params||{};b=Bla(b,a._globalTimelineStyles);b=m(b);for(e=b.next();!e.done;e=b.next()){var f=m(e.value);e=f.next().value;f=f.next().value;f=Ji(f,c,d);a._pendingStyles.set(e,f);if(!a._localTimelineStyles.has(e)){var h=void 0;a._backFill.set(e,null!=(h=a._globalTimelineStyles.get(e))?h:"*")}a._updateStyle(e,f)}},zy=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)}))},yy=function(a){for(var b=m(a._localTimelineStyles),c=b.next();!c.done;c=b.next()){var d=m(c.value);c=d.next().value;d=d.next().value;a._pendingStyles.set(c,d);a._updateStyle(c,d)}},sJb=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)})};
Ay.prototype.buildKeyframes=function(){var a=this;zy(this);var b=new Set,c=new Set,d=1===this._keyframes.size&&0===this.duration,e=[];this._keyframes.forEach(function(u,x){u=Fi(u,new Map,a._backFill);u.forEach(function(y,G){"!"===y?b.add(G):"*"===y&&c.add(G)});d||u.set("offset",x/a.duration);e.push(u)});var f=b.size?Ki(b.values()):[],h=c.size?Ki(c.values()):[];if(d){var l=e[0],q=new Map(l);l.set("offset",0);q.set("offset",1);e=[l,q]}return xla(this.element,e,f,h,this.duration,this.startTime,this.easing,
!1)};Xi.Object.defineProperties(Ay.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 pJb=function(a,b,c,d,e,f,h){h=void 0===h?!1:h;Ay.call(this,a,b,f.delay);this.keyframes=c;this.preStyleProps=d;this.postStyleProps=e;this._stretchStartingKeyframe=h;this.timings={duration:f.duration,delay:f.delay,easing:f.easing}};
W(pJb,Ay);pJb.prototype.containsAnimation=function(){return 1<this.keyframes.length};
pJb.prototype.buildKeyframes=function(){var a=this.keyframes,b=this.timings,c=b.delay,d=b.duration,e=b.easing;if(this._stretchStartingKeyframe&&c){b=[];e=d+c;var f=c/e,h=Fi(a[0]);h.set("offset",0);b.push(h);h=Fi(a[0]);h.set("offset",Ala(f));b.push(h);f=a.length-1;for(h=1;h<=f;h++){var l=Fi(a[h]),q=l.get("offset");l.set("offset",Ala((c+q*d)/e));b.push(l)}d=e;c=0;e="";a=b}return xla(this.element,a,this.preStyleProps,this.postStyleProps,d,c,e,!0)};var vJb=function(){};var wJb=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(" ")),xJb=function(){};W(xJb,vJb);
var bla=function(a,b,c){var d="",e=b.toString().trim();wJb.has(a)&&0!==b&&"0"!==b&&("number"===typeof b?d="px":(a=b.match(/^[+-]?[\d\.]+([a-z]*)$/))&&0==a[1].length&&c.push(new $c(3005,!1)));return e+d};var By=function(){};g=By.prototype;g.containsElement=function(a,b){return jla(a,b)};g.getParentElement=function(a){return ila(a)};g.query=function(a,b,c){return kla(a,b,c)};g.computeStyle=function(a,b,c){return c||""};g.animate=function(a,b,c,d){return new yi(c,d)};By.\u0275fac=function(a){return new (a||By)};By.\u0275prov=Vc({token:By,factory:By.\u0275fac});var yJb=function(){};var zJb={},Ni=function(a,b,c){this._triggerName=a;this.ast=b;this._stateStyles=c};Ni.prototype.match=function(a,b,c,d){return Dla(this.ast.matchers,a,b,c,d)};Ni.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};
Ni.prototype.build=function(a,b,c,d,e,f,h,l,q,u){var x=[],y=this.ast.options&&this.ast.options.params||zJb;h=this.buildStyles(c,h&&h.params||zJb,x);var G=l&&l.params||zJb;l=this.buildStyles(d,G,x);var L=new Set,M=new Map,T=new Map,S="void"===d,X;y={params:Ela(G,y),delay:null==(X=this.ast.options)?void 0:X.delay};a=u?[]:zla(a,b,this.ast.animation,e,f,h,l,y,q,x);var aa=0;a.forEach(function(na){aa=Math.max(na.duration+na.delay,aa)});if(x.length)return Cla(b,this._triggerName,c,d,S,h,l,[],[],M,T,aa,x);
a.forEach(function(na){var ma=na.element,Ca=Bi(M,ma,new Set);na.preStyleProps.forEach(function(Ja){return Ca.add(Ja)});var Fa=Bi(T,ma,new Set);na.postStyleProps.forEach(function(Ja){return Fa.add(Ja)});ma!==b&&L.add(ma)});x=Ki(L.values());return Cla(b,this._triggerName,c,d,S,h,l,a,x,M,T,aa)};var AJb=function(a,b){this.styles=a;this.defaultParams=b};
AJb.prototype.buildStyles=function(a,b){var c=new Map,d=Ei(this.defaultParams);Object.keys(a).forEach(function(e){var f=a[e];null!==f&&(d[e]=f)});this.styles.styles.forEach(function(e){"string"!==typeof e&&e.forEach(function(f,h){f&&(f=Ji(f,d,b));var l=Ai(h);f=bla(l,f,b);c.set(h,f)})});return c};var BJb=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 AJb(e.style,e.options&&e.options.params||{}))});Gla(this.states,"true","1");Gla(this.states,"false","0");b.transitions.forEach(function(e){d.transitionFactories.push(new Ni(a,e,d.states))});this.fallbackTransition=Fla(a,this.states)},CJb=function(a,b,c,d,e){return a.transitionFactories.find(function(f){return f.match(b,c,
d,e)})||null};var DJb=new uy,EJb=function(a,b,c){this.bodyNode=a;this._driver=b;this._normalizer=c;this._animations=new Map;this._playersById=new Map;this.players=[]};g=EJb.prototype;g.register=function(a,b){var c=[];b=(new kJb(this._driver)).build(b,c,[]);if(c.length)throw new $c(3503,!1);this._animations.set(a,b)};g._buildPlayer=function(a,b,c){var d=a.element;b=cla(a.keyframes,b,c);return this._driver.animate(d,b,a.duration,a.delay,a.easing,[],!0)};
g.create=function(a,b,c){var d=this;c=void 0===c?{}:c;var e=[],f=this._animations.get(a),h=new Map;f?(b=zla(this._driver,b,f,"ng-enter","ng-leave",new Map,new Map,c,DJb,e),b.forEach(function(l){var q=Bi(h,l.element,new Map);l.postStyleProps.forEach(function(u){return q.set(u,null)})})):(e.push(new $c(3300,!1)),b=[]);if(e.length)throw new $c(3504,!1);h.forEach(function(l,q){l.forEach(function(u,x){l.set(x,d._driver.computeStyle(q,x,"*"))})});e=b.map(function(l){var q=h.get(l.element);return d._buildPlayer(l,
new Map,q)});e=zi(e);this._playersById.set(a,e);e.onDestroy(function(){return d.destroy(a)});this.players.push(e);return e};g.destroy=function(a){var b=this._getPlayer(a);b.destroy();this._playersById.delete(a);a=this.players.indexOf(b);0<=a&&this.players.splice(a,1)};g._getPlayer=function(a){a=this._playersById.get(a);if(!a)throw new $c(3301,!1);return a};g.listen=function(a,b,c,d){b=fla(b,"","","");ela(this._getPlayer(a),c,b,d);return function(){}};
g.command=function(a,b,c,d){if("register"==c)this.register(a,d[0]);else if("create"==c)this.create(a,b,d[0]||{});else switch(b=this._getPlayer(a),c){case "play":b.play();break;case "pause":b.pause();break;case "reset":b.reset();break;case "restart":b.restart();break;case "finish":b.finish();break;case "init":b.init();break;case "setPosition":b.setPosition(parseFloat(d[0]));break;case "destroy":this.destroy(a)}};var FJb=[],GJb={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Ila={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},HJb=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=Ei(a),delete a.value,this.options=a):this.options={};this.options.params||(this.options.params={})},IJb=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])})}};Xi.Object.defineProperties(HJb.prototype,{params:{configurable:!0,enumerable:!0,get:function(){return this.options.params}}});var JJb=new HJb("void"),Cy=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;Pi(b,this._hostClassName)};g=Cy.prototype;
g.listen=function(a,b,c,d){var e=this;if(!this._triggers.has(b))throw new $c(3302,!1);if(null==c||0==c.length)throw new $c(3303,!1);if("start"!=c&&"done"!=c)throw new $c(3400,!1);var f=Bi(this._elementListeners,a,[]),h={name:b,phase:c,callback:d};f.push(h);var l=Bi(this._engine.statesByElement,a,new Map);l.has(b)||(Pi(a,"ng-trigger"),Pi(a,"ng-trigger-"+b),l.set(b,JJb));return function(){Dy(e._engine,function(){var q=f.indexOf(h);0<=q&&f.splice(q,1);e._triggers.has(b)||l.delete(b)})}};
g.register=function(a,b){if(this._triggers.has(a))return!1;this._triggers.set(a,b);return!0};g._getTrigger=function(a){a=this._triggers.get(a);if(!a)throw new $c(3401,!1);return a};
g.trigger=function(a,b,c,d){var e=this;d=void 0===d?!0:d;var f=this._getTrigger(b),h=new KJb(this.id,b,a),l=this._engine.statesByElement.get(a);l||(Pi(a,"ng-trigger"),Pi(a,"ng-trigger-"+b),this._engine.statesByElement.set(a,l=new Map));var q=l.get(b),u=new HJb(c,this.id);c&&c.hasOwnProperty("value")||!q||IJb(u,q.options);l.set(b,u);q||(q=JJb);if("void"!==u.value&&q.value===u.value){if(!Ola(q.params,u.params)){d=[];var x=f.fallbackTransition.buildStyles(q.value,q.params,d),y=f.fallbackTransition.buildStyles(u.value,
u.params,d);d.length?this._engine.reportError(d):Dy(this._engine,function(){Hi(a,x);Gi(a,y)})}}else{c=Bi(this._engine.playersByElement,a,[]);c.forEach(function(L){L.namespaceId==e.id&&L.triggerName==b&&L.queued&&L.destroy()});l=CJb(f,q.value,u.value,a,u.params);var G=!1;if(!l){if(!d)return;l=f.fallbackTransition;G=!0}this._engine.totalQueuedPlayers++;this._queue.push({element:a,triggerName:b,transition:l,fromState:q,toState:u,player:h,isFallbackTransition:G});G||(Pi(a,"ng-animate-queued"),h.onStart(function(){Qi(a,
"ng-animate-queued")}));h.onDone(function(){var L=e.players.indexOf(h);0<=L&&e.players.splice(L,1);if(L=e._engine.playersByElement.get(a)){var M=L.indexOf(h);0<=M&&L.splice(M,1)}});this.players.push(h);c.push(h);return h}};g.deregister=function(a){var b=this;this._triggers.delete(a);this._engine.statesByElement.forEach(function(c){return c.delete(a)});this._elementListeners.forEach(function(c,d){b._elementListeners.set(d,c.filter(function(e){return e.name!=a}))})};
var LJb=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))};
Cy.prototype._signalRemovalForInnerTriggers=function(a,b){var c=this,d=this._engine.driver.query(a,".ng-trigger",!0);d.forEach(function(e){if(!e.__ng_removed){var f=MJb(c._engine,e);f.size?f.forEach(function(h){return NJb(h,e,b,!1,!0)}):LJb(c,e)}});OJb(this._engine,function(){return d.forEach(function(e){return LJb(c,e)})})};
var NJb=function(a,b,c,d,e){var f=a._engine.statesByElement.get(b),h=new Map;if(f){var l=[];f.forEach(function(q,u){h.set(u,q.value);a._triggers.has(u)&&(q=a.trigger(b,u,"void",e))&&l.push(q)});if(l.length){PJb(a._engine,a.id,b,!0,c,h);if(d)zi(l).onDone(function(){return Si(a._engine,b)});return!0}}return!1},QJb=function(a,b){var c=a._elementListeners.get(b),d=a._engine.statesByElement.get(b);if(c&&d){var e=new Set;c.forEach(function(f){f=f.name;if(!e.has(f)){e.add(f);var h=a._triggers.get(f).fallbackTransition,
l=d.get(f)||JJb,q=new HJb("void"),u=new KJb(a.id,f,b);a._engine.totalQueuedPlayers++;a._queue.push({element:b,triggerName:f,transition:h,fromState:l,toState:q,player:u,isFallbackTransition:!0})}})}};
Cy.prototype.removeNode=function(a,b){var c=this,d=this._engine;a.childElementCount&&this._signalRemovalForInnerTriggers(a,b);if(!NJb(this,a,b,!0)){var e=!1;if(d.totalAnimations){var f=d.players.length?d.playersByQueriedElement.get(a):[];if(f&&f.length)e=!0;else for(f=a;f=f.parentNode;)if(d.statesByElement.get(f)){e=!0;break}}QJb(this,a);e?PJb(d,this.id,a,!1,b):(e=a.__ng_removed,e&&e!==GJb||(Dy(d,function(){return LJb(c,a)}),RJb(d,a),d._onRemovalComplete(a,b)))}};
Cy.prototype.insertNode=function(a){Pi(a,this._hostClassName)};
var SJb=function(a,b){var c=[];a._queue.forEach(function(d){var e=d.player;if(!e.destroyed){var f=d.element,h=a._elementListeners.get(f);h&&h.forEach(function(l){if(l.name==d.triggerName){var q=fla(f,d.triggerName,d.fromState.value,d.toState.value);q._data=b;ela(d.player,l.phase,q,l.callback)}});e.markedForDestroy?Dy(a._engine,function(){e.destroy()}):c.push(d)}});a._queue=[];return c.sort(function(d,e){var f=d.transition.ast.depCount,h=e.transition.ast.depCount;return 0==f||0==h?f-h:a._engine.driver.containsElement(d.element,
e.element)?1:-1})};Cy.prototype.destroy=function(a){this.players.forEach(function(b){return b.destroy()});this._signalRemovalForInnerTriggers(this.hostElement,a)};
var Ey=function(a,b,c){this.bodyNode=a;this.driver=b;this._normalizer=c;this.players=[];this.newHostElements=new Map;this.playersByElement=new Map;this.playersByQueriedElement=new Map;this.statesByElement=new Map;this.disabledNodes=new Set;this.totalQueuedPlayers=this.totalAnimations=0;this._namespaceLookup={};this._namespaceList=[];this._flushFns=[];this._whenQuietFns=[];this.namespacesByHostElement=new Map;this.collectedEnterElements=[];this.collectedLeaveElements=[];this.onRemovalComplete=function(){}};
g=Ey.prototype;g._onRemovalComplete=function(a,b){this.onRemovalComplete(a,b)};g._balanceNamespaceList=function(a,b){var c=this._namespaceList,d=this.namespacesByHostElement;if(0<=c.length-1){for(var e=!1,f=this.driver.getParentElement(b);f;){var h=d.get(f);if(h){e=c.indexOf(h);c.splice(e+1,0,a);e=!0;break}f=this.driver.getParentElement(f)}e||c.unshift(a)}else c.push(a);d.set(b,a);return a};
g.register=function(a,b){var c=this._namespaceLookup[a];c||(c=new Cy(a,b,this),this.bodyNode&&this.driver.containsElement(this.bodyNode,b)?this._balanceNamespaceList(c,b):(this.newHostElements.set(b,c),this.collectedEnterElements.push(b)),c=this._namespaceLookup[a]=c);return c};g.registerTrigger=function(a,b,c){(a=this._namespaceLookup[a])&&a.register(b,c)&&this.totalAnimations++};
g.destroy=function(a,b){var c=this;if(a){var d=this._fetchNamespace(a);Dy(this,function(){c.namespacesByHostElement.delete(d.hostElement);delete c._namespaceLookup[a];var e=c._namespaceList.indexOf(d);0<=e&&c._namespaceList.splice(e,1)});OJb(this,function(){return d.destroy(b)})}};g._fetchNamespace=function(a){return this._namespaceLookup[a]};
var MJb=function(a,b){var c=new Set;if(b=a.statesByElement.get(b)){b=m(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};Ey.prototype.trigger=function(a,b,c,d){return Oi(b)&&(a=this._fetchNamespace(a))?(a.trigger(b,c,d),!0):!1};
Ey.prototype.insertNode=function(a,b,c,d){if(Oi(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 TJb=function(a,b,c){c?a.disabledNodes.has(b)||(a.disabledNodes.add(b),Pi(b,"ng-animate-disabled")):a.disabledNodes.has(b)&&(a.disabledNodes.delete(b),Qi(b,"ng-animate-disabled"))};
Ey.prototype.removeNode=function(a,b,c,d){if(Oi(b)){var e=a?this._fetchNamespace(a):null;e?e.removeNode(b,d):PJb(this,a,b,!1,d);c&&(c=this.namespacesByHostElement.get(b))&&c.id!==a&&c.removeNode(b,d)}else this._onRemovalComplete(b,d)};var PJb=function(a,b,c,d,e,f){a.collectedLeaveElements.push(c);c.__ng_removed={namespaceId:b,setForRemoval:e,hasAnimation:d,removedBeforeQueried:!1,previousTriggersValues:f}};
Ey.prototype.listen=function(a,b,c,d,e){return Oi(b)?this._fetchNamespace(a).listen(b,c,d,e):function(){}};Ey.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 RJb=function(a,b){var c=a.driver.query(b,".ng-trigger",!0);c.forEach(function(d){return UJb(a,d)});0!=a.playersByQueriedElement.size&&(c=a.driver.query(b,".ng-animating",!0),c.forEach(function(d){return VJb(a,d)}))},UJb=function(a,b){(a=a.playersByElement.get(b))&&a.forEach(function(c){c.queued?c.markedForDestroy=!0:c.destroy()})},VJb=function(a,b){(a=a.playersByQueriedElement.get(b))&&a.forEach(function(c){return c.finish()})},Si=function(a,b){var c=b.__ng_removed;if(c&&c.setForRemoval){b.__ng_removed=
GJb;if(c.namespaceId){RJb(a,b);var d=a._fetchNamespace(c.namespaceId);d&&LJb(d,b)}a._onRemovalComplete(b,c.setForRemoval)}var e;(null==(e=b.classList)?0:e.contains("ng-animate-disabled"))&&TJb(a,b,!1);a.driver.query(b,".ng-animate-disabled",!0).forEach(function(f){TJb(a,f,!1)})};
Ey.prototype.flush=function(a){var b=this;a=void 0===a?-1:a;var c=[];this.newHostElements.size&&(this.newHostElements.forEach(function(f,h){return b._balanceNamespaceList(f,h)}),this.newHostElements.clear());if(this.totalAnimations&&this.collectedEnterElements.length)for(var d=0;d<this.collectedEnterElements.length;d++)Pi(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++)Si(this,this.collectedLeaveElements[a]);this.totalQueuedPlayers=0;this.collectedEnterElements.length=0;this.collectedLeaveElements.length=0;this._flushFns.forEach(function(f){return f()});this._flushFns=[];if(this._whenQuietFns.length){var e=this._whenQuietFns;this._whenQuietFns=[];if(c.length)zi(c).onDone(function(){e.forEach(function(f){return f()})});else e.forEach(function(f){return f()})}};
Ey.prototype.reportError=function(){throw new $c(3402,!1);};
Ey.prototype._flushAnimations=function(a,b){var c=this,d=new uy,e=[],f=new Map,h=[],l=new Map,q=new Map,u=new Map,x=new Set;this.disabledNodes.forEach(function(Qa){x.add(Qa);Qa=c.driver.query(Qa,".ng-animate-queued",!0);for(var tb=0;tb<Qa.length;tb++)x.add(Qa[tb])});var y=this.bodyNode,G=Array.from(this.statesByElement.keys()),L=Kla(G,this.collectedEnterElements),M=new Map,T=0;L.forEach(function(Qa,tb){var Ya="ng-enter"+T++;M.set(tb,Ya);Qa.forEach(function(Eb){return Pi(Eb,Ya)})});for(var S=[],X=
new Set,aa=new Set,na=0;na<this.collectedLeaveElements.length;na++){var ma=this.collectedLeaveElements[na],Ca=ma.__ng_removed;Ca&&Ca.setForRemoval&&(S.push(ma),X.add(ma),Ca.hasAnimation?this.driver.query(ma,".ng-star-inserted",!0).forEach(function(Qa){return X.add(Qa)}):aa.add(ma))}var Fa=new Map,Ja=Kla(G,Array.from(X));Ja.forEach(function(Qa,tb){var Ya="ng-leave"+T++;Fa.set(tb,Ya);Qa.forEach(function(Eb){return Pi(Eb,Ya)})});a.push(function(){L.forEach(function(Qa,tb){var Ya=M.get(tb);Qa.forEach(function(Eb){return Qi(Eb,
Ya)})});Ja.forEach(function(Qa,tb){var Ya=Fa.get(tb);Qa.forEach(function(Eb){return Qi(Eb,Ya)})});S.forEach(function(Qa){Si(c,Qa)})});var Ab=[],cb=[];for(a=this._namespaceList.length-1;0<=a;a--)SJb(this._namespaceList[a],b).forEach(function(Qa){var tb=Qa.player,Ya=Qa.element;Ab.push(tb);if(c.collectedEnterElements.length){var Eb=Ya.__ng_removed;if(Eb&&Eb.setForMove){if(Eb.previousTriggersValues&&Eb.previousTriggersValues.has(Qa.triggerName)){Eb=Eb.previousTriggersValues.get(Qa.triggerName);var Xb=
c.statesByElement.get(Qa.element);if(Xb&&Xb.has(Qa.triggerName)){var sc=Xb.get(Qa.triggerName);sc.value=Eb;Xb.set(Qa.triggerName,sc)}}tb.destroy();return}}Eb=!y||!c.driver.containsElement(y,Ya);Xb=Fa.get(Ya);sc=M.get(Ya);var Gc=c._buildInstruction(Qa,d,sc,Xb,Eb);if(Gc.errors&&Gc.errors.length)cb.push(Gc);else if(Eb)tb.onStart(function(){return Hi(Ya,Gc.fromStyles)}),tb.onDestroy(function(){return Gi(Ya,Gc.toStyles)}),e.push(tb);else if(Qa.isFallbackTransition)tb.onStart(function(){return Hi(Ya,Gc.fromStyles)}),
tb.onDestroy(function(){return Gi(Ya,Gc.toStyles)}),e.push(tb);else{var Se=[];Gc.timelines.forEach(function(vd){vd.stretchStartingKeyframe=!0;c.disabledNodes.has(vd.element)||Se.push(vd)});Gc.timelines=Se;d.append(Ya,Gc.timelines);h.push({instruction:Gc,player:tb,element:Ya});Gc.queriedElements.forEach(function(vd){return Bi(l,vd,[]).push(tb)});Gc.preStyleProps.forEach(function(vd,$d){if(vd.size){var Ri=q.get($d);Ri||q.set($d,Ri=new Set);vd.forEach(function(X8,Tr){return Ri.add(Tr)})}});Gc.postStyleProps.forEach(function(vd,
$d){var Ri=u.get($d);Ri||u.set($d,Ri=new Set);vd.forEach(function(X8,Tr){return Ri.add(Tr)})})}});if(cb.length){var Ma=[];cb.forEach(function(){Ma.push(new $c(3505,!1))});Ab.forEach(function(Qa){return Qa.destroy()});this.reportError(Ma)}var ha=new Map,xa=new Map;h.forEach(function(Qa){var tb=Qa.element;d.has(tb)&&(xa.set(tb,tb),c._beforeAnimationBuild(Qa.player.namespaceId,Qa.instruction,ha))});e.forEach(function(Qa){var tb=Qa.element;c._getPreviousPlayers(tb,!1,Qa.namespaceId,Qa.triggerName,null).forEach(function(Ya){Bi(ha,
tb,[]).push(Ya);Ya.destroy()})});var Da=S.filter(function(Qa){return Pla(Qa,q,u)}),Wa=new Map;Jla(Wa,this.driver,aa,u,"*").forEach(function(Qa){Pla(Qa,q,u)&&Da.push(Qa)});var Ra=new Map;L.forEach(function(Qa){Jla(Ra,c.driver,new Set(Qa),q,"!")});Da.forEach(function(Qa){var tb=Wa.get(Qa),Ya=Ra.get(Qa),Eb,Xb;Wa.set(Qa,new Map([].concat(r(Array.from(null!=(Eb=null==tb?void 0:tb.entries())?Eb:[])),r(Array.from(null!=(Xb=null==Ya?void 0:Ya.entries())?Xb:[])))))});var Ec=[],Va=[],kb={};h.forEach(function(Qa){var tb=
Qa.element,Ya=Qa.player,Eb=Qa.instruction;if(d.has(tb))if(x.has(tb))Ya.onDestroy(function(){return Gi(tb,Eb.toStyles)}),Ya.disabled=!0,Ya.totalTime=Eb.totalTime,e.push(Ya);else{var Xb=kb;if(1<xa.size){Qa=tb;for(var sc=[];Qa=Qa.parentNode;){var Gc=xa.get(Qa);if(Gc){Xb=Gc;break}sc.push(Qa)}sc.forEach(function(Se){return xa.set(Se,Xb)})}Qa=c._buildAnimation(Ya.namespaceId,Eb,ha,f,Ra,Wa);WJb(Ya,Qa);Xb===kb?Ec.push(Ya):((Qa=c.playersByElement.get(Xb))&&Qa.length&&(Ya.parentPlayer=zi(Qa)),e.push(Ya))}else Hi(tb,
Eb.fromStyles),Ya.onDestroy(function(){return Gi(tb,Eb.toStyles)}),Va.push(Ya),x.has(tb)&&e.push(Ya)});Va.forEach(function(Qa){var tb=f.get(Qa.element);tb&&tb.length&&(tb=zi(tb),WJb(Qa,tb))});e.forEach(function(Qa){Qa.parentPlayer?XJb(Qa,Qa.parentPlayer):Qa.destroy()});for(b=0;b<S.length;b++)if(aa=S[b],a=aa.__ng_removed,Qi(aa,"ng-leave"),!a||!a.hasAnimation){a=[];if(l.size)for((G=l.get(aa))&&G.length&&a.push.apply(a,r(G)),G=this.driver.query(aa,".ng-animating",!0),na=0;na<G.length;na++)(ma=l.get(G[na]))&&
ma.length&&a.push.apply(a,r(ma));a=a.filter(function(Qa){return!Qa.destroyed});a.length?Lla(this,aa,a):Si(this,aa)}S.length=0;Ec.forEach(function(Qa){c.players.push(Qa);Qa.onDone(function(){Qa.destroy();var tb=c.players.indexOf(Qa);c.players.splice(tb,1)});Qa.play()});return Ec};var Dy=function(a,b){a._flushFns.push(b)},OJb=function(a,b){a._whenQuietFns.push(b)};
Ey.prototype._getPreviousPlayers=function(a,b,c,d,e){var f=[];if(b)(e=this.playersByQueriedElement.get(a))&&(f=e);else if(a=this.playersByElement.get(a)){var h=!e||"void"==e;a.forEach(function(l){l.queued||(h||l.triggerName==d)&&f.push(l)})}if(c||d)f=f.filter(function(l){return c&&c!=l.namespaceId||d&&d!=l.triggerName?!1:!0});return f};
Ey.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 f={},h=m(b.timelines),l=h.next();!l.done;f={$jscomp$loop$prop$players$2218:f.$jscomp$loop$prop$players$2218},l=h.next()){l=l.value.element;var q=l!==e;f.$jscomp$loop$prop$players$2218=Bi(c,l,[]);this._getPreviousPlayers(l,q,a,d,b.toState).forEach(function(u){return function(x){var y=x._player;y.beforeDestroy&&y.beforeDestroy();x.destroy();u.$jscomp$loop$prop$players$2218.push(x)}}(f))}Hi(e,
b.fromStyles)};
Ey.prototype._buildAnimation=function(a,b,c,d,e,f){var h=this,l=b.triggerName,q=b.element,u=[],x=new Set,y=new Set,G=b.timelines.map(function(M){var T=M.element;x.add(T);var S=T.__ng_removed;if(S&&S.removedBeforeQueried)return new yi(M.duration,M.delay);S=T!==q;var X=Nla((c.get(T)||FJb).map(function(ma){return ma._player})).filter(function(ma){return ma.element?ma.element===T:!1}),aa=e.get(T),na=f.get(T);aa=cla(M.keyframes,aa,na);X=h._buildPlayer(M,aa,X);M.subTimeline&&d&&y.add(T);S&&(M=new KJb(a,
l,T),WJb(M,X),u.push(M));return X});u.forEach(function(M){Bi(h.playersByQueriedElement,M.element,[]).push(M);M.onDone(function(){var T=h.playersByQueriedElement,S=M.element,X=T.get(S);if(X){if(X.length){var aa=X.indexOf(M);X.splice(aa,1)}0==X.length&&T.delete(S)}return X})});x.forEach(function(M){return Pi(M,"ng-animating")});var L=zi(G);L.onDestroy(function(){x.forEach(function(M){return Qi(M,"ng-animating")});Gi(q,b.toStyles)});y.forEach(function(M){Bi(d,M,[]).push(L)});return L};
Ey.prototype._buildPlayer=function(a,b,c){return 0<b.length?this.driver.animate(a.element,b,a.duration,a.delay,a.easing,c):new yi(a.duration,a.delay)};
var KJb=function(a,b,c){this.namespaceId=a;this.triggerName=b;this.element=c;this._player=new yi;this._containsRealPlayer=!1;this._queuedCallbacks=new Map;this.destroyed=!1;this.parentPlayer=null;this.disabled=this.markedForDestroy=!1;this.queued=!0;this.totalTime=0},WJb=function(a,b){a._containsRealPlayer||(a._player=b,a._queuedCallbacks.forEach(function(c,d){c.forEach(function(e){return ela(b,d,void 0,e)})}),a._queuedCallbacks.clear(),a._containsRealPlayer=!0,a.totalTime=b.totalTime,a.queued=!1)},
XJb=function(a,b){var c=a._player;if(c.triggerCallback)b.onStart(function(){return c.triggerCallback("start")});b.onDone(function(){return a.finish()});b.onDestroy(function(){return a.destroy()})};g=KJb.prototype;g._queueEvent=function(a,b){Bi(this._queuedCallbacks,a,[]).push(b)};g.onDone=function(a){this.queued&&this._queueEvent("done",a);this._player.onDone(a)};g.onStart=function(a){this.queued&&this._queueEvent("start",a);this._player.onStart(a)};
g.onDestroy=function(a){this.queued&&this._queueEvent("destroy",a);this._player.onDestroy(a)};g.init=function(){this._player.init()};g.hasStarted=function(){return this.queued?!1:this._player.hasStarted()};g.play=function(){!this.queued&&this._player.play()};g.pause=function(){!this.queued&&this._player.pause()};g.restart=function(){!this.queued&&this._player.restart()};g.finish=function(){this._player.finish()};g.destroy=function(){this.destroyed=!0;this._player.destroy()};
g.reset=function(){!this.queued&&this._player.reset()};g.setPosition=function(a){this.queued||this._player.setPosition(a)};g.getPosition=function(){return this.queued?0:this._player.getPosition()};g.triggerCallback=function(a){var b=this._player;b.triggerCallback&&b.triggerCallback(a)};var Fy=function(a,b,c){var d=this;this.bodyNode=a;this._driver=b;this._normalizer=c;this._triggerCache={};this.onRemovalComplete=function(){};this._transitionEngine=new Ey(a,b,c);this._timelineEngine=new EJb(a,b,c);this._transitionEngine.onRemovalComplete=function(e,f){return d.onRemovalComplete(e,f)}};g=Fy.prototype;
g.registerTrigger=function(a,b,c,d,e){a=a+"-"+d;c=this._triggerCache[a];if(!c){c=[];e=(new kJb(this._driver)).build(e,c,[]);if(c.length)throw new $c(3404,!1);c=new BJb(d,e,this._normalizer);this._triggerCache[a]=c}this._transitionEngine.registerTrigger(b,d,c)};g.register=function(a,b){this._transitionEngine.register(a,b)};g.destroy=function(a,b){this._transitionEngine.destroy(a,b)};g.onRemove=function(a,b,c,d){this._transitionEngine.removeNode(a,b,d||!1,c)};
g.disableAnimations=function(a,b){TJb(this._transitionEngine,a,b)};g.process=function(a,b,c,d){"@"==c.charAt(0)?(c=m(gla(c)),a=c.next().value,c=c.next().value,this._timelineEngine.command(a,b,c,d)):this._transitionEngine.trigger(a,b,c,d)};g.listen=function(a,b,c,d,e){return"@"==c.charAt(0)?(c=m(gla(c)),a=c.next().value,c=c.next().value,this._timelineEngine.listen(a,b,c,e)):this._transitionEngine.listen(a,b,c,d,e)};g.flush=function(a){this._transitionEngine.flush(void 0===a?-1:a)};
Xi.Object.defineProperties(Fy.prototype,{players:{configurable:!0,enumerable:!0,get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)}}});var Ti=function(a,b,c){this._element=a;this._startStyles=b;this._endStyles=c;this._state=0;var d=YJb.get(a);d||YJb.set(a,d=new Map);this._initialStyles=d};Ti.prototype.start=function(){1>this._state&&(this._startStyles&&Gi(this._element,this._startStyles,this._initialStyles),this._state=1)};Ti.prototype.finish=function(){this.start();2>this._state&&(Gi(this._element,this._initialStyles),this._endStyles&&(Gi(this._element,this._endStyles),this._endStyles=null),this._state=1)};
Ti.prototype.destroy=function(){this.finish();3>this._state&&(YJb.delete(this._element),this._startStyles&&(Hi(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Hi(this._element,this._endStyles),this._endStyles=null),Gi(this._element,this._initialStyles),this._state=3)};var YJb=new WeakMap;var ZJb=function(a,b,c,d){this.element=a;this.keyframes=b;this.options=c;this._specialStyles=d;this._onDoneFns=[];this._onStartFns=[];this._onDestroyFns=[];this._destroyed=this._started=this._finished=this._initialized=!1;this._originalOnDoneFns=[];this._originalOnStartFns=[];this.time=0;this.parentPlayer=null;this.currentSnapshot=new Map;this._duration=c.duration;this._delay=c.delay||0;this.time=this._duration+this._delay};g=ZJb.prototype;
g._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(a){return a()}),this._onDoneFns=[])};g.init=function(){this._buildPlayer();this._preparePlayerBeforeStart()};g._buildPlayer=function(){var a=this;if(!this._initialized){this._initialized=!0;var b=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,b,this.options);this._finalKeyframe=b.length?b[b.length-1]:new Map;this.domPlayer.addEventListener("finish",function(){return a._onFinish()})}};
g._preparePlayerBeforeStart=function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()};g._convertKeyframesToObject=function(a){var b=[];a.forEach(function(c){b.push(Object.fromEntries(c))});return b};g._triggerWebAnimation=function(a,b,c){return a.animate(this._convertKeyframesToObject(b),c)};g.onStart=function(a){this._originalOnStartFns.push(a);this._onStartFns.push(a)};g.onDone=function(a){this._originalOnDoneFns.push(a);this._onDoneFns.push(a)};g.onDestroy=function(a){this._onDestroyFns.push(a)};
g.play=function(){this._buildPlayer();this.hasStarted()||(this._onStartFns.forEach(function(a){return a()}),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start());this.domPlayer.play()};g.pause=function(){this.init();this.domPlayer.pause()};g.finish=function(){this.init();this._specialStyles&&this._specialStyles.finish();this._onFinish();this.domPlayer.finish()};
g.reset=function(){this._resetDomPlayerState();this._started=this._finished=this._destroyed=!1;this._onStartFns=this._originalOnStartFns;this._onDoneFns=this._originalOnDoneFns};g._resetDomPlayerState=function(){this.domPlayer&&this.domPlayer.cancel()};g.restart=function(){this.reset();this.play()};g.hasStarted=function(){return this._started};
g.destroy=function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(function(a){return a()}),this._onDestroyFns=[])};g.setPosition=function(a){void 0===this.domPlayer&&this.init();this.domPlayer.currentTime=a*this.time};g.getPosition=function(){return this.domPlayer.currentTime/this.time};
g.beforeDestroy=function(){var a=this,b=new Map;this.hasStarted()&&this._finalKeyframe.forEach(function(c,d){if("offset"!==d){var e=b.set,f;a._finished?f=c:f=window.getComputedStyle(a.element)[d];e.call(b,d,f)}});this.currentSnapshot=b};g.triggerCallback=function(a){a="start"===a?this._onStartFns:this._onDoneFns;a.forEach(function(b){return b()});a.length=0};Xi.Object.defineProperties(ZJb.prototype,{totalTime:{configurable:!0,enumerable:!0,get:function(){return this._delay+this._duration}}});var $Jb=function(){};g=$Jb.prototype;g.containsElement=function(a,b){return jla(a,b)};g.getParentElement=function(a){return ila(a)};g.query=function(a,b,c){return kla(a,b,c)};g.computeStyle=function(a,b){return window.getComputedStyle(a)[b]};
g.animate=function(a,b,c,d,e,f){f=void 0===f?[]:f;var h={duration:c,delay:d,fill:0==d?"both":"forwards"};e&&(h.easing=e);var l=new Map;e=f.filter(function(u){return u instanceof ZJb});0!==c&&0!==d||e.forEach(function(u){u.currentSnapshot.forEach(function(x,y){return l.set(y,x)})});var q=nla(b).map(function(u){return Fi(u)});q=sla(a,q,l);b=Rla(a,q);return new ZJb(a,q,h,b)};var Gy=function(a,b){this._nextAnimationId=0;this._renderer=a.createRenderer(b.body,{id:"0",encapsulation:2,styles:[],data:{animation:[]}})};W(Gy,hJb);Gy.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 aKb(b,this._renderer)};Gy.\u0275fac=function(a){return new (a||Gy)(n(dv),n(Vi))};Gy.\u0275prov=Vc({token:Gy,factory:Gy.\u0275fac});
var aKb=function(a,b){this._id=a;this._renderer=b};W(aKb,iJb);aKb.prototype.create=function(a,b){return new bKb(this._id,a,b||{},this._renderer)};var bKb=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)};g=bKb.prototype;g._listen=function(a,b){return this._renderer.listen(this.element,"@@"+this.id+":"+a,b)};
g._command=function(a){return this._renderer.setProperty(this.element,"@@"+this.id+":"+a,yd.apply(1,arguments))};g.onDone=function(a){this._listen("done",a)};g.onStart=function(a){this._listen("start",a)};g.onDestroy=function(a){this._listen("destroy",a)};g.init=function(){this._command("init")};g.hasStarted=function(){return this._started};g.play=function(){this._command("play");this._started=!0};g.pause=function(){this._command("pause")};g.restart=function(){this._command("restart")};g.finish=function(){this._command("finish")};
g.destroy=function(){this._command("destroy")};g.reset=function(){this._command("reset");this._started=!1};g.setPosition=function(a){this._command("setPosition",a)};g.getPosition=function(){var a,b;return null!=(b=null==(a=this._renderer.engine.players[+this.id])?void 0:a.getPosition())?b:0};var Hy=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 f=null==e?void 0:e.parentNode(d);f&&e.removeChild(f,d)}};
Hy.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 Iy("",d,this.engine,function(){return c._rendererCache.delete(d)}),this._rendererCache.set(d,b)),b;var e=b.id,f=b.id+"-"+this._currentId;this._currentId++;this.engine.register(f,a);var h=function(l){Array.isArray(l)?l.forEach(h):c.engine.registerTrigger(e,f,a,l.name,l)};b.data.animation.forEach(h);return new cKb(this,f,d,this.engine)};
Hy.prototype.begin=function(){this._cdRecurDepth++;this.delegate.begin&&this.delegate.begin()};Hy.prototype._scheduleCountTask=function(){var a=this;this.promise.then(function(){a._microtaskId++})};
var dKb=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 f=m(e);e=f.next().value;f=f.next().value;e(f)});a._animationCallbacksBuffer=[]})}),a._animationCallbacksBuffer.push([c,d]))};
Hy.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()};Hy.\u0275fac=function(a){return new (a||Hy)(n(dv),n(Fy),n(hg))};Hy.\u0275prov=Vc({token:Hy,factory:Hy.\u0275fac});
var Iy=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};g=Iy.prototype;g.destroy=function(){this.engine.destroy(this.namespaceId,this.delegate);this.delegate.destroy();var a;null==(a=this._onDestroy)||a.call(this)};g.createElement=function(a,b){return this.delegate.createElement(a,b)};g.createComment=function(a){return this.delegate.createComment(a)};g.createText=function(a){return this.delegate.createText(a)};
g.appendChild=function(a,b){this.delegate.appendChild(a,b);this.engine._transitionEngine.insertNode(this.namespaceId,b,a,!1)};g.insertBefore=function(a,b,c,d){d=void 0===d?!0:d;this.delegate.insertBefore(a,b,c);this.engine._transitionEngine.insertNode(this.namespaceId,b,a,d)};g.removeChild=function(a,b,c){this.engine.onRemove(this.namespaceId,b,this.delegate,c)};g.selectRootElement=function(a,b){return this.delegate.selectRootElement(a,b)};g.parentNode=function(a){return this.delegate.parentNode(a)};
g.nextSibling=function(a){return this.delegate.nextSibling(a)};g.setAttribute=function(a,b,c,d){this.delegate.setAttribute(a,b,c,d)};g.removeAttribute=function(a,b,c){this.delegate.removeAttribute(a,b,c)};g.addClass=function(a,b){this.delegate.addClass(a,b)};g.removeClass=function(a,b){this.delegate.removeClass(a,b)};g.setStyle=function(a,b,c,d){this.delegate.setStyle(a,b,c,d)};g.removeStyle=function(a,b,c){this.delegate.removeStyle(a,b,c)};
g.setProperty=function(a,b,c){"@"==b.charAt(0)&&"@.disabled"==b?this.disableAnimations(a,!!c):this.delegate.setProperty(a,b,c)};g.setValue=function(a,b){this.delegate.setValue(a,b)};g.listen=function(a,b,c){return this.delegate.listen(a,b,c)};g.disableAnimations=function(a,b){this.engine.disableAnimations(a,b)};Xi.Object.defineProperties(Iy.prototype,{data:{configurable:!0,enumerable:!0,get:function(){return this.delegate.data}}});
var cKb=function(a,b,c,d,e){Iy.call(this,b,c,d,e);this.factory=a;this.namespaceId=b};W(cKb,Iy);cKb.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)};
cKb.prototype.listen=function(a,b,c){var d=this;if("@"==b.charAt(0)){a=Sla(a);b=b.slice(1);var e="";"@"!=b.charAt(0)&&(e=m(Tla(b)),b=e.next().value,e=e.next().value);return this.engine.listen(this.namespaceId,a,b,e,function(f){dKb(d.factory,f._data||-1,c,f)})}return this.delegate.listen(a,b,c)};var Jy=function(a,b,c){Fy.call(this,a.body,b,c)};W(Jy,Fy);Jy.prototype.ngOnDestroy=function(){this.flush()};Jy.\u0275fac=function(a){return new (a||Jy)(n(Vi),n(yJb),n(vJb),n(ow))};Jy.\u0275prov=Vc({token:Jy,factory:Jy.\u0275fac});var eKb=[{provide:hJb,useClass:Gy},{provide:vJb,useFactory:function(){return new xJb}},{provide:Fy,useClass:Jy},{provide:dv,useFactory:function(a,b,c){return new Hy(a,b,c)},deps:[Xx,Fy,hg]}],fKb=[{provide:yJb,useFactory:function(){return new $Jb}},{provide:cv,useValue:"BrowserAnimations"}].concat(r(eKb));
[{provide:yJb,useClass:By},{provide:cv,useValue:"NoopAnimations"}].concat(r(eKb));var Ky=function(){};Ky.\u0275fac=function(a){return new (a||Ky)};Ky.\u0275mod=od({type:Ky});Ky.\u0275inj=Wc({providers:fKb,imports:[ty]});var gKb=new Set,Ly,My=function(a,b){this._platform=a;this._nonce=b;this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Ula};My.prototype.matchMedia=function(a){if(this._platform.WEBKIT||this._platform.BLINK){var b=this._nonce;if(!gKb.has(a))try{Ly||(Ly=document.createElement("style"),b&&(Ly.nonce=b),Ly.setAttribute("type","text/css"),document.head.appendChild(Ly)),Ly.sheet&&(Ly.sheet.insertRule("@media "+a+" {body{ }}",0),gKb.add(a))}catch(c){console.error(c)}}return this._matchMedia(a)};
My.\u0275fac=function(a){return new (a||My)(n(yx),n(gFb,8))};My.\u0275prov=Vc({token:My,factory:My.\u0275fac,providedIn:"root"});var Ny=function(a,b){this._mediaMatcher=a;this._zone=b;this._queries=new Map;this._destroySubject=new C.Subject};Ny.prototype.ngOnDestroy=function(){this._destroySubject.next();this._destroySubject.complete()};
Ny.prototype.observe=function(a){var b=this;a=Vla(ai(a)).map(function(c){return b._registerQuery(c).observable});a=(0,C.combineLatest)(a);a=(0,C.concat)(a.pipe(Rf()),a.pipe(ag(1),Nf(0)));return a.pipe(B(function(c){var d={matches:!1,breakpoints:{}};c.forEach(function(e){var f=e.matches;e=e.query;d.matches=d.matches||f;d.breakpoints[e]=f});return d}))};
Ny.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 C.Observable(function(e){var f=function(h){return b._zone.run(function(){return e.next(h)})};c.addListener(f);return function(){c.removeListener(f)}})).pipe(bg(c),B(function(e){return{query:a,matches:e.matches}}),dg(this._destroySubject)),mql:c};this._queries.set(a,d);return d};Ny.\u0275fac=function(a){return new (a||Ny)(n(My),n(hg))};
Ny.\u0275prov=Vc({token:Ny,factory:Ny.\u0275fac,providedIn:"root"});var Oy=function(a,b){var c=this;this._platform=a;this._document=b;this._breakpointSubscription=hd(Ny).observe("(forced-colors: active)").subscribe(function(){c._hasCheckedHighContrastMode&&(c._hasCheckedHighContrastMode=!1,c._applyBodyHighContrastModeCssClasses())})},hKb=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};Oy.prototype.ngOnDestroy=function(){this._breakpointSubscription.unsubscribe()};
Oy.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=hKb(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")}};
Oy.\u0275fac=function(a){return new (a||Oy)(n(yx),n(Vi))};Oy.\u0275prov=Vc({token:Oy,factory:Oy.\u0275fac,providedIn:"root"});var iKb=new Bd("liveAnnouncerElement",{providedIn:"root",factory:Wla}),jKb=new Bd("LIVE_ANNOUNCER_DEFAULT_OPTIONS");var Py=function(){};Py.prototype.create=function(a){return"undefined"===typeof MutationObserver?null:new MutationObserver(a)};Py.\u0275fac=function(a){return new (a||Py)};Py.\u0275prov=Vc({token:Py,factory:Py.\u0275fac,providedIn:"root"});var Qy=function(a){this._mutationObserverFactory=a;this._observedElements=new Map};g=Qy.prototype;g.ngOnDestroy=function(){var a=this;this._observedElements.forEach(function(b,c){return a._cleanupObserver(c)})};
g.observe=function(a){var b=this,c=di(a);return new C.Observable(function(d){var e=b._observeElement(c).subscribe(d);return function(){e.unsubscribe();b._unobserveElement(c)}})};g._observeElement=function(a){if(this._observedElements.has(a))this._observedElements.get(a).count++;else{var b=new C.Subject,c=this._mutationObserverFactory.create(function(d){return b.next(d)});c&&c.observe(a,{characterData:!0,childList:!0,subtree:!0});this._observedElements.set(a,{observer:c,stream:b,count:1})}return this._observedElements.get(a).stream};
g._unobserveElement=function(a){this._observedElements.has(a)&&(this._observedElements.get(a).count--,this._observedElements.get(a).count||this._cleanupObserver(a))};g._cleanupObserver=function(a){if(this._observedElements.has(a)){var b=this._observedElements.get(a),c=b.observer;b=b.stream;c&&c.disconnect();b.complete();this._observedElements.delete(a)}};Qy.\u0275fac=function(a){return new (a||Qy)(n(Py))};Qy.\u0275prov=Vc({token:Qy,factory:Qy.\u0275fac,providedIn:"root"});
var Ry=function(a,b,c){this._contentObserver=a;this._elementRef=b;this._ngZone=c;this.event=new Rv;this._disabled=!1;this._currentSubscription=null};Ry.prototype.ngAfterContentInit=function(){this._currentSubscription||this.disabled||this._subscribe()};Ry.prototype.ngOnDestroy=function(){this._unsubscribe()};
Ry.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(Nf(a.debounce)):b).subscribe(a.event)})};Ry.prototype._unsubscribe=function(){var a;null==(a=this._currentSubscription)||a.unsubscribe()};
Xi.Object.defineProperties(Ry.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){(this._disabled=bi(a))?this._unsubscribe():this._subscribe()}},debounce:{configurable:!0,enumerable:!0,get:function(){return this._debounce},set:function(a){this._debounce=ei(a);this._subscribe()}}});Ry.\u0275fac=function(a){return new (a||Ry)(A(Qy),A(ke),A(hg))};
Ry.\u0275dir=qd({type:Ry,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]});var Sy=function(){};Sy.\u0275fac=function(a){return new (a||Sy)};Sy.\u0275mod=od({type:Sy});Sy.\u0275inj=Wc({providers:[Py]});var kKb=0,Ty=function(a,b,c,d){this._ngZone=b;this._defaultOptions=d;this._document=c;this._liveElement=a||this._createLiveElement()};g=Ty.prototype;
g.announce=function(a){var b=yd.apply(1,arguments),c=this,d=this._defaultOptions;if(1===b.length&&"number"===typeof b[0])var e=b[0];else{b=m(b);var f=b.next().value;e=b.next().value}this.clear();clearTimeout(this._previousTimeout);f||(f=d&&d.politeness?d.politeness:"polite");null==e&&d&&(e=d.duration);this._liveElement.setAttribute("aria-live",f);this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id);return this._ngZone.runOutsideAngular(function(){c._currentPromise||(c._currentPromise=
new Promise(function(h){return c._currentResolve=h}));clearTimeout(c._previousTimeout);c._previousTimeout=setTimeout(function(){c._liveElement.textContent=a;"number"===typeof e&&(c._previousTimeout=setTimeout(function(){return c.clear()},e));c._currentResolve();c._currentPromise=c._currentResolve=void 0},100);return c._currentPromise})};g.clear=function(){this._liveElement&&(this._liveElement.textContent="")};
g.ngOnDestroy=function(){clearTimeout(this._previousTimeout);var a;null==(a=this._liveElement)||a.remove();this._liveElement=null;var b;null==(b=this._currentResolve)||b.call(this);this._currentPromise=this._currentResolve=void 0};
g._createLiveElement=function(){for(var a=this._document.getElementsByClassName("cdk-live-announcer-element"),b=this._document.createElement("div"),c=0;c<a.length;c++)a[c].remove();b.classList.add("cdk-live-announcer-element");b.classList.add("cdk-visually-hidden");b.setAttribute("aria-atomic","true");b.setAttribute("aria-live","polite");b.id="cdk-live-announcer-"+kKb++;this._document.body.appendChild(b);return b};
g._exposeAnnouncerToModals=function(a){for(var b=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]'),c=0;c<b.length;c++){var d=b[c],e=d.getAttribute("aria-owns");e?-1===e.indexOf(a)&&d.setAttribute("aria-owns",e+" "+a):d.setAttribute("aria-owns",a)}};Ty.\u0275fac=function(a){return new (a||Ty)(n(iKb,8),n(hg),n(Vi),n(jKb,8))};Ty.\u0275prov=Vc({token:Ty,factory:Ty.\u0275fac,providedIn:"root"});var Uy=function(a){a._applyBodyHighContrastModeCssClasses()};Uy.\u0275fac=function(a){return new (a||Uy)(n(Oy))};Uy.\u0275mod=od({type:Uy});Uy.\u0275inj=Wc({imports:[Sy]});var $la=0,Vy=function(a,b){this._platform=b;this._messageRegistry=new Map;this._messagesContainer=null;this._id=""+$la++;this._document=a;this._id=hd(fFb)+"-"+$la++};Vy.prototype.describe=function(a,b,c){if(this._canBeDescribed(a,b)){var d=Zla(b,c);"string"!==typeof b?(ama(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 Wy=function(a,b,c,d){if(c&&a._isElementNode(b)){d=Zla(c,d);a._isElementDescribedByMessage(b,d)&&a._removeMessageReference(b,d);"string"===typeof c&&(b=a._messageRegistry.get(d))&&0===b.referenceCount&&a._deleteMessageElement(d);var e;0===(null==(e=a._messagesContainer)?void 0:e.childNodes.length)&&(a._messagesContainer.remove(),a._messagesContainer=null)}};g=Vy.prototype;
g.ngOnDestroy=function(){for(var a=this._document.querySelectorAll('[cdk-describedby-host="'+this._id+'"]'),b=0;b<a.length;b++)this._removeCdkDescribedByReferenceIds(a[b]),a[b].removeAttribute("cdk-describedby-host");var c;null==(c=this._messagesContainer)||c.remove();this._messagesContainer=null;this._messageRegistry.clear()};
g._createMessageElement=function(a,b){var c=this._document.createElement("div");ama(c,this._id);c.textContent=a;b&&c.setAttribute("role",b);this._createMessagesContainer();this._messagesContainer.appendChild(c);this._messageRegistry.set(Zla(a,b),{messageElement:c,referenceCount:0})};g._deleteMessageElement=function(a){var b,c;null==(b=this._messageRegistry.get(a))||null==(c=b.messageElement)||c.remove();this._messageRegistry.delete(a)};
g._createMessagesContainer=function(){if(!this._messagesContainer){for(var a=this._document.querySelectorAll('.cdk-describedby-message-container[platform="server"]'),b=0;b<a.length;b++)a[b].remove();a=this._document.createElement("div");a.style.visibility="hidden";a.classList.add("cdk-describedby-message-container");a.classList.add("cdk-visually-hidden");this._platform&&!this._platform.isBrowser&&a.setAttribute("platform","server");this._document.body.appendChild(a);this._messagesContainer=a}};
g._removeCdkDescribedByReferenceIds=function(a){var b=Ui(a).filter(function(c){return 0!=c.indexOf("cdk-describedby-message")});a.setAttribute("aria-describedby",b.join(" "))};g._addMessageReference=function(a,b){b=this._messageRegistry.get(b);Xla(a,b.messageElement.id);a.setAttribute("cdk-describedby-host",this._id);b.referenceCount++};g._removeMessageReference=function(a,b){b=this._messageRegistry.get(b);b.referenceCount--;Yla(a,b.messageElement.id);a.removeAttribute("cdk-describedby-host")};
g._isElementDescribedByMessage=function(a,b){a=Ui(a);b=(b=this._messageRegistry.get(b))&&b.messageElement.id;return!!b&&-1!=a.indexOf(b)};g._canBeDescribed=function(a,b){if(!this._isElementNode(a))return!1;if(b&&"object"===typeof b)return!0;b=null==b?"":b.trim();a=a.getAttribute("aria-label");return b?!a||a.trim()!==b:!1};g._isElementNode=function(a){return a.nodeType===this._document.ELEMENT_NODE};Vy.\u0275fac=function(a){return new (a||Vy)(n(Vi),n(yx))};
Vy.\u0275prov=Vc({token:Vy,factory:Vy.\u0275fac,providedIn:"root"});var Xy=function(a,b,c,d,e,f,h){Cx.call(this,a,b,c,d,h.defer);this._focusTrapManager=e;this._inertStrategy=f;this._focusTrapManager.register(this)};W(Xy,Cx);Xy.prototype.destroy=function(){this._focusTrapManager.deregister(this);Cx.prototype.destroy.call(this)};Xy.prototype._enable=function(){this._inertStrategy.preventFocus(this);aIb(this,!0)};Xy.prototype._disable=function(){this._inertStrategy.allowFocus(this);aIb(this,!1)};
Xi.Object.defineProperties(Xy.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 lKb=function(){this._listener=null};lKb.prototype.preventFocus=function(a){var b=this;this._listener&&a._document.removeEventListener("focus",this._listener,!0);this._listener=function(c){return b._trapFocus(a,c)};a._ngZone.runOutsideAngular(function(){a._document.addEventListener("focus",b._listener,!0)})};lKb.prototype.allowFocus=function(a){this._listener&&(a._document.removeEventListener("focus",this._listener,!0),this._listener=null)};
lKb.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)&&Ax(a)})};var mKb=new Bd("FOCUS_TRAP_INERT_STRATEGY");var Yy=function(){this._focusTrapStack=[]};Yy.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()};Yy.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())};Yy.\u0275fac=function(a){return new (a||Yy)};Yy.\u0275prov=Vc({token:Yy,factory:Yy.\u0275fac,providedIn:"root"});var Zy=function(a,b,c,d,e){this._checker=a;this._ngZone=b;this._focusTrapManager=c;this._document=d;this._inertStrategy=e||new lKb};Zy.prototype.create=function(a,b){b=void 0===b?{defer:!1}:b;var c;"boolean"===typeof b?c={defer:b}:c=b;return new Xy(a,this._checker,this._ngZone,this._document,this._focusTrapManager,this._inertStrategy,c)};Zy.\u0275fac=function(a){return new (a||Zy)(n(zx),n(hg),n(Yy),n(Vi),n(mKb,8))};Zy.\u0275prov=Vc({token:Zy,factory:Zy.\u0275fac,providedIn:"root"});var $y=function(a){var b=this;this._items=a;this._activeItemIndex=-1;this._activeItem=null;this._wrap=!1;this._letterKeyStream=new C.Subject;this._typeaheadSubscription=C.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 C.Subject;this.change=new C.Subject;a instanceof lh&&(this._itemChangesSubscription=a.changes.subscribe(function(c){b._activeItem&&
(c=c.toArray().indexOf(b._activeItem),-1<c&&c!==b._activeItemIndex&&(b._activeItemIndex=c))}))},nKb=function(a,b){a._skipPredicateFn=b;return a},az=function(a){a._wrap=!0;return a},oKb=function(a){a._vertical=!0;return a},bz=function(a,b){a._horizontal=b;return a},pKb=function(a){a._allowedModifierKeys=["shiftKey"];return a},qKb=function(a,b){b=void 0===b?200:b;a._typeaheadSubscription.unsubscribe();a._typeaheadSubscription=a._letterKeyStream.pipe(eg(function(c){return a._pressedLetters.push(c)}),
Nf(b),Gf(function(){return 0<a._pressedLetters.length}),B(function(){return a._pressedLetters.join("")})).subscribe(function(c){for(var d=a._getItemsArray(),e=1;e<d.length+1;e++){var f=(a._activeItemIndex+e)%d.length,h=d[f];if(!a._skipPredicateFn(h)&&0===h.getLabel().toUpperCase().trim().indexOf(c)){a.setActiveItem(f);break}}a._pressedLetters=[]});return a},cz=function(a){a._homeAndEnd=!0;return a},rKb=function(a){a._pageUpAndDown={enabled:!0,delta:10};return a};
$y.prototype.setActiveItem=function(a){var b=this._activeItem;dz(this,a);this._activeItem!==b&&this.change.next(this._activeItemIndex)};
$y.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){sKb(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||hi(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 sKb=function(a){a._setActiveItemByIndex(a._items.length-1,-1)};$y.prototype.setNextItemActive=function(){0>this._activeItemIndex?this._setActiveItemByIndex(0,1):this._setActiveItemByDelta(1)};
$y.prototype.setPreviousItemActive=function(){0>this._activeItemIndex&&this._wrap?sKb(this):this._setActiveItemByDelta(-1)};var dz=function(a,b){var c=a._getItemsArray();b="number"===typeof b?b:c.indexOf(b);c=c[b];a._activeItem=null==c?null:c;a._activeItemIndex=b};g=$y.prototype;
g.destroy=function(){this._typeaheadSubscription.unsubscribe();var a;null==(a=this._itemChangesSubscription)||a.unsubscribe();this._letterKeyStream.complete();this.tabOut.complete();this.change.complete();this._pressedLetters=[]};g._setActiveItemByDelta=function(a){this._wrap?this._setActiveInWrapMode(a):this._setActiveInDefaultMode(a)};
g._setActiveInWrapMode=function(a){for(var b=this._getItemsArray(),c=1;c<=b.length;c++){var d=(this._activeItemIndex+a*c+b.length)%b.length;if(!this._skipPredicateFn(b[d])){this.setActiveItem(d);break}}};g._setActiveInDefaultMode=function(a){this._setActiveItemByIndex(this._activeItemIndex+a,a)};g._setActiveItemByIndex=function(a,b){var c=this._getItemsArray();if(c[a]){for(;this._skipPredicateFn(c[a]);)if(a+=b,!c[a])return;this.setActiveItem(a)}};
g._getItemsArray=function(){return this._items instanceof lh?this._items.toArray():this._items};Xi.Object.defineProperties($y.prototype,{activeItemIndex:{configurable:!0,enumerable:!0,get:function(){return this._activeItemIndex}},activeItem:{configurable:!0,enumerable:!0,get:function(){return this._activeItem}}});var ez=function(){$y.apply(this,arguments)};W(ez,$y);ez.prototype.setActiveItem=function(a){this.activeItem&&this.activeItem.setInactiveStyles();$y.prototype.setActiveItem.call(this,a);this.activeItem&&this.activeItem.setActiveStyles()};var fz=function(){$y.apply(this,arguments);this._origin="program"};W(fz,$y);fz.prototype.setActiveItem=function(a){$y.prototype.setActiveItem.call(this,a);this.activeItem&&this.activeItem.focus(this._origin)};var tKb=new Bd("cdk-dir-doc",{providedIn:"root",factory:bma});var uKb=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i,gz=function(a){this.value="ltr";this.change=new Rv;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)?uKb.test(navigator.language)?"rtl":"ltr":"rtl"===b?"rtl":"ltr"}};gz.prototype.ngOnDestroy=function(){this.change.complete()};
gz.\u0275fac=function(a){return new (a||gz)(n(tKb,8))};gz.\u0275prov=Vc({token:gz,factory:gz.\u0275fac,providedIn:"root"});var hz=function(){};hz.\u0275fac=function(a){return new (a||hz)};hz.\u0275mod=od({type:hz});hz.\u0275inj=Wc({});var iz=function(a){this._attachedOverlays=[];this._document=a};iz.prototype.ngOnDestroy=function(){this.detach()};iz.prototype.add=function(a){this.remove(a);this._attachedOverlays.push(a)};iz.prototype.remove=function(a){a=this._attachedOverlays.indexOf(a);-1<a&&this._attachedOverlays.splice(a,1);0===this._attachedOverlays.length&&this.detach()};iz.\u0275fac=function(a){return new (a||iz)(n(Vi))};iz.\u0275prov=Vc({token:iz,factory:iz.\u0275fac,providedIn:"root"});var jz=function(a,b){iz.call(this,a);var c=this;this._ngZone=b;this._keydownListener=function(d){for(var e=c._attachedOverlays,f={},h=e.length-1;-1<h;f={$jscomp$loop$prop$keydownEvents$2220:f.$jscomp$loop$prop$keydownEvents$2220},h--)if(0<e[h]._keydownEvents.observers.length){f.$jscomp$loop$prop$keydownEvents$2220=e[h]._keydownEvents;c._ngZone?c._ngZone.run(function(l){return function(){return l.$jscomp$loop$prop$keydownEvents$2220.next(d)}}(f)):f.$jscomp$loop$prop$keydownEvents$2220.next(d);break}}};
W(jz,iz);jz.prototype.add=function(a){var b=this;iz.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)};jz.prototype.detach=function(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)};
jz.\u0275fac=function(a){return new (a||jz)(n(Vi),n(hg,8))};jz.\u0275prov=Vc({token:jz,factory:jz.\u0275fac,providedIn:"root"});var kz=function(a,b,c){iz.call(this,a);var d=this;this._platform=b;this._ngZone=c;this._cursorStyleIsSet=!1;this._pointerDownListener=function(e){d._pointerDownEventTarget=$h(e)};this._clickListener=function(e){var f=$h(e),h="click"===e.type&&d._pointerDownEventTarget?d._pointerDownEventTarget:f;d._pointerDownEventTarget=null;for(var l=d._attachedOverlays.slice(),q={},u=l.length-1;-1<u;q={$jscomp$loop$prop$outsidePointerEvents$2222:q.$jscomp$loop$prop$outsidePointerEvents$2222},u--){var x=l[u];if(!(1>
x._outsidePointerEvents.observers.length)&&x.hasAttached()){if(x.overlayElement.contains(f)||x.overlayElement.contains(h))break;q.$jscomp$loop$prop$outsidePointerEvents$2222=x._outsidePointerEvents;d._ngZone?d._ngZone.run(function(y){return function(){return y.$jscomp$loop$prop$outsidePointerEvents$2222.next(e)}}(q)):q.$jscomp$loop$prop$outsidePointerEvents$2222.next(e)}}}};W(kz,iz);
kz.prototype.add=function(a){var b=this;iz.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}};
kz.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}};
kz.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)};kz.\u0275fac=function(a){return new (a||kz)(n(Vi),n(yx),n(hg,8))};kz.\u0275prov=Vc({token:kz,factory:kz.\u0275fac,providedIn:"root"});var lz=function(a,b){this._platform=b;this._document=a};lz.prototype.ngOnDestroy=function(){var a;null==(a=this._containerElement)||a.remove()};var vKb=function(a){a._containerElement||a._createContainer();return a._containerElement};
lz.prototype._createContainer=function(){if(this._platform.isBrowser||wka())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");wka()?a.setAttribute("platform","test"):this._platform.isBrowser||a.setAttribute("platform","server");this._document.body.appendChild(a);this._containerElement=a};
lz.\u0275fac=function(a){return new (a||lz)(n(Vi),n(yx))};lz.\u0275prov=Vc({token:lz,factory:lz.\u0275fac,providedIn:"root"});var wKb=tka(),mz=function(a,b){this._viewportRuler=a;this._previousHTMLStyles={top:"",left:""};this._isEnabled=!1;this._document=b};mz.prototype.attach=function(){};
mz.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=ci(-this._previousScrollPosition.left);a.style.top=ci(-this._previousScrollPosition.top);a.classList.add("cdk-global-scrollblock");this._isEnabled=!0}};
mz.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");wKb&&(b.scrollBehavior=c.scrollBehavior="auto");window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top);wKb&&(b.scrollBehavior=d,c.scrollBehavior=e)}};
mz.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 nz=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()})}};nz.prototype.attach=function(a){this._overlayRef=a};
nz.prototype.enable=function(){var a=this;if(!this._scrollSubscription){var b=this._scrollDispatcher.scrolled(0).pipe(Gf(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)}};nz.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)};nz.prototype.detach=function(){this.disable();this._overlayRef=null};var oz=function(){};oz.prototype.enable=function(){};oz.prototype.disable=function(){};oz.prototype.attach=function(){};var pz=function(a,b,c,d){this._scrollDispatcher=a;this._viewportRuler=b;this._ngZone=c;this._config=d;this._scrollSubscription=null};pz.prototype.attach=function(a){this._overlayRef=a};
pz.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;cma(b,[{width:d,height:c,bottom:c,right:d,top:0,left:0}])&&(a.disable(),a._ngZone.run(function(){return a._overlayRef.detach()}))}}))};
pz.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)};pz.prototype.detach=function(){this.disable();this._overlayRef=null};var xKb=new Bd("VIRTUAL_SCROLL_STRATEGY");var qz=function(a,b,c){this._ngZone=a;this._platform=b;this._scrolled=new C.Subject;this._globalSubscription=null;this._scrolledCount=0;this.scrollContainers=new Map;this._document=c};qz.prototype.register=function(a){var b=this;this.scrollContainers.has(a)||this.scrollContainers.set(a,a._elementScrolled.subscribe(function(){return b._scrolled.next(a)}))};qz.prototype.deregister=function(a){var b=this.scrollContainers.get(a);b&&(b.unsubscribe(),this.scrollContainers.delete(a))};
qz.prototype.scrolled=function(a){var b=this;a=void 0===a?20:a;return this._platform.isBrowser?new C.Observable(function(c){b._globalSubscription||b._addGlobalListener();var d=0<a?b._scrolled.pipe(Jf(a)).subscribe(c):b._scrolled.subscribe(c);b._scrolledCount++;return function(){d.unsubscribe();b._scrolledCount--;b._scrolledCount||b._removeGlobalListener()}}):(0,C.of)()};
qz.prototype.ngOnDestroy=function(){var a=this;this._removeGlobalListener();this.scrollContainers.forEach(function(b,c){return a.deregister(c)});this._scrolled.complete()};var yKb=function(a,b){var c=[];a.scrollContainers.forEach(function(d,e){a._scrollableContainsElement(e,b)&&c.push(e)});return c};qz.prototype._getWindow=function(){return this._document.defaultView||window};
qz.prototype._scrollableContainsElement=function(a,b){b=di(b);a=a.elementRef.nativeElement;do if(b==a)return!0;while(b=b.parentElement);return!1};qz.prototype._addGlobalListener=function(){var a=this;this._globalSubscription=this._ngZone.runOutsideAngular(function(){return(0,C.fromEvent)(a._getWindow().document,"scroll").subscribe(function(){return a._scrolled.next()})})};
qz.prototype._removeGlobalListener=function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)};qz.\u0275fac=function(a){return new (a||qz)(n(hg),n(yx),n(Vi,8))};qz.\u0275prov=Vc({token:qz,factory:qz.\u0275fac,providedIn:"root"});var rz=function(a,b,c,d){var e=this;this.elementRef=a;this.scrollDispatcher=b;this.ngZone=c;this.dir=d;this._destroyed=new C.Subject;this._elementScrolled=new C.Observable(function(f){return e.ngZone.runOutsideAngular(function(){return(0,C.fromEvent)(e.elementRef.nativeElement,"scroll").pipe(dg(e._destroyed)).subscribe(f)})})};rz.prototype.ngOnInit=function(){this.scrollDispatcher.register(this)};rz.prototype.ngOnDestroy=function(){this.scrollDispatcher.deregister(this);this._destroyed.next();this._destroyed.complete()};
rz.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!=uka()?(null!=a.left&&(a.right=b.scrollWidth-b.clientWidth-a.left),2==uka()?a.left=a.right:1==uka()&&(a.left=a.right?-a.right:a.right)):null!=a.right&&(a.left=b.scrollWidth-b.clientWidth-a.right);this._applyScrollToOptions(a)};
rz.prototype._applyScrollToOptions=function(a){var b=this.elementRef.nativeElement;tka()?b.scrollTo(a):(null!=a.top&&(b.scrollTop=a.top),null!=a.left&&(b.scrollLeft=a.left))};rz.\u0275fac=function(a){return new (a||rz)(A(ke),A(qz),A(hg),A(gz,8))};rz.\u0275dir=qd({type:rz,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0});var zKb=function(){},AKb=function(a,b,c,d){VGb(a,function(e,f,h){if(null==e.previousIndex){var l=c(e,f,h);l=b.createEmbeddedView(l.templateRef,l.context,l.index);f=1}else null==h?(b.remove(f),f=3):(l=b.get(f),b.move(l,h),f=2);if(d){var q;d({context:null==(q=l)?void 0:q.context,operation:f,record:e})}})};zKb.prototype.detach=function(){};var sz=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 C.Subject;b&&b.length&&(a?b.forEach(function(f){return e._markSelected(f)}):this._markSelected(b[0]),this._selectedToEmit.length=0)};g=sz.prototype;
g.select=function(){var a=this;yd.apply(0,arguments).forEach(function(c){return a._markSelected(c)});var b=this._hasQueuedChanges();this._emitChangeEvent();return b};g.deselect=function(){var a=this;yd.apply(0,arguments).forEach(function(c){return a._unmarkSelected(c)});var b=this._hasQueuedChanges();this._emitChangeEvent();return b};g.toggle=function(a){return this.isSelected(a)?this.deselect(a):this.select(a)};
g.clear=function(a){a=void 0===a?!0:a;this._unmarkAll();var b=this._hasQueuedChanges();a&&this._emitChangeEvent();return b};g.isSelected=function(a){return this._selection.has(this._getConcreteValue(a))};g.isEmpty=function(){return 0===this._selection.size};g.hasValue=function(){return!this.isEmpty()};g.sort=function(a){this._multiple&&this.selected&&this._selected.sort(a)};
g._emitChangeEvent=function(){this._selected=null;if(this._selectedToEmit.length||this._deselectedToEmit.length)this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[]};g._markSelected=function(a){a=this._getConcreteValue(a);this.isSelected(a)||(this._multiple||this._unmarkAll(),this.isSelected(a)||this._selection.add(a),this._emitChanges&&this._selectedToEmit.push(a))};
g._unmarkSelected=function(a){a=this._getConcreteValue(a);this.isSelected(a)&&(this._selection.delete(a),this._emitChanges&&this._deselectedToEmit.push(a))};g._unmarkAll=function(){var a=this;this.isEmpty()||this._selection.forEach(function(b){return a._unmarkSelected(b)})};g._verifyValueAssignment=function(){};g._hasQueuedChanges=function(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)};
g._getConcreteValue=function(a){if(this.compareWith)for(var b=m(this._selection),c=b.next();!c.done;c=b.next())if(c=c.value,this.compareWith(a,c))return c;return a};Xi.Object.defineProperties(sz.prototype,{selected:{configurable:!0,enumerable:!0,get:function(){this._selected||(this._selected=Array.from(this._selection.values()));return this._selected}}});var tz=function(){this._listeners=[]};tz.prototype.notify=function(a,b){for(var c=m(this._listeners),d=c.next();!d.done;d=c.next())d=d.value,d(a,b)};tz.prototype.listen=function(a){var b=this;this._listeners.push(a);return function(){b._listeners=b._listeners.filter(function(c){return a!==c})}};tz.prototype.ngOnDestroy=function(){this._listeners=[]};tz.\u0275fac=function(a){return new (a||tz)};tz.\u0275prov=Vc({token:tz,factory:tz.\u0275fac,providedIn:"root"});var BKb=new Bd("_ViewRepeater");var uz=function(a,b,c){var d=this;this._platform=a;this._change=new C.Subject;this._changeListener=function(e){d._change.next(e)};this._document=c;b.runOutsideAngular(function(){if(a.isBrowser){var e=d._getWindow();e.addEventListener("resize",d._changeListener);e.addEventListener("orientationchange",d._changeListener)}d.change().subscribe(function(){return d._viewportSize=null})})};g=uz.prototype;
g.ngOnDestroy=function(){if(this._platform.isBrowser){var a=this._getWindow();a.removeEventListener("resize",this._changeListener);a.removeEventListener("orientationchange",this._changeListener)}this._change.complete()};g.getViewportSize=function(){this._viewportSize||this._updateViewportSize();var a={width:this._viewportSize.width,height:this._viewportSize.height};this._platform.isBrowser||(this._viewportSize=null);return a};
g.getViewportScrollPosition=function(){if(!this._platform.isBrowser)return{top:0,left:0};var a=this._document,b=this._getWindow(),c=a.documentElement,d=c.getBoundingClientRect();return{top:-d.top||a.body.scrollTop||b.scrollY||c.scrollTop||0,left:-d.left||a.body.scrollLeft||b.scrollX||c.scrollLeft||0}};g.change=function(a){a=void 0===a?20:a;return 0<a?this._change.pipe(Jf(a)):this._change};g._getWindow=function(){return this._document.defaultView||window};
g._updateViewportSize=function(){var a=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:a.innerWidth,height:a.innerHeight}:{width:0,height:0}};uz.\u0275fac=function(a){return new (a||uz)(n(yx),n(hg),n(Vi,8))};uz.\u0275prov=Vc({token:uz,factory:uz.\u0275fac,providedIn:"root"});var CKb=new Bd("VIRTUAL_SCROLLABLE"),vz=function(a,b,c,d){rz.call(this,a,b,c,d)};W(vz,rz);vz.\u0275fac=function(a){return new (a||vz)(A(ke),A(qz),A(hg),A(gz,8))};vz.\u0275dir=qd({type:vz,features:[qg]});var DKb=["contentWrapper"],EKb="undefined"!==typeof requestAnimationFrame?C.animationFrameScheduler:C.asapScheduler,wz=function(a,b,c,d,e,f,h,l){rz.call(this,a,f,c,e);var q=this;this.elementRef=a;this._changeDetectorRef=b;this._scrollStrategy=d;this.scrollable=l;this._platform=hd(yx);this._detachedSubject=new C.Subject;this._renderedRangeSubject=new C.Subject;this._orientation="vertical";this._appendOnly=!1;this.scrolledIndexChange=new C.Observable(function(u){return q._scrollStrategy.scrolledIndexChange.subscribe(function(x){return Promise.resolve().then(function(){return q.ngZone.run(function(){return u.next(x)})})})});
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=C.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)};W(wz,vz);wz.\u0275dir=vz.\u0275dir;g=wz.prototype;g.ngOnInit=function(){var a=this;this._platform.isBrowser&&(this.scrollable===this&&vz.prototype.ngOnInit.call(this),this.ngZone.runOutsideAngular(function(){return Promise.resolve().then(function(){a._measureViewportSize();a._scrollStrategy.attach(a);a.scrollable._elementScrolled.pipe(bg(null),Jf(0,EKb)).subscribe(function(){return a._scrollStrategy.onContentScrolled()});a._markChangeDetectionNeeded()})}))};
g.ngOnDestroy=function(){this.detach();this._scrollStrategy.detach();this._renderedRangeSubject.complete();this._detachedSubject.complete();this._viewportChanges.unsubscribe();vz.prototype.ngOnDestroy.call(this)};g.attach=function(a){var b=this;this.ngZone.runOutsideAngular(function(){b._forOf=a;b._forOf.dataStream.pipe(dg(b._detachedSubject)).subscribe(function(c){c=c.length;c!==b._dataLength&&(b._dataLength=c,b._scrollStrategy.onDataLengthChanged());b._doChangeDetection()})})};
g.detach=function(){this._forOf=null;this._detachedSubject.next()};g.getViewportSize=function(){return this._viewportSize};g._measureViewportSize=function(){var a=this.scrollable.elementRef.nativeElement;this._viewportSize="horizontal"===this.orientation?a.clientWidth:a.clientHeight};g._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()})}))};
g._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=m(b);for(var c=b.next();!c.done;c=b.next())c=c.value,c()};
g._calculateSpacerSize=function(){this._totalContentHeight="horizontal"===this.orientation?"":"0px";this._totalContentWidth="horizontal"===this.orientation?"0px":""};Xi.Object.defineProperties(wz.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=bi(a)}}});
wz.\u0275fac=function(a){return new (a||wz)(A(ke),A(qw),A(hg),A(xKb,8),A(gz,8),A(qz),A(uz),A(CKb,8))};
wz.\u0275cmp=p({type:wz,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(a,b){a&1&&ih(DKb,7);if(a&2){var c;hh(c=kh())&&(b._contentWrapper=c.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(a,b){a&2&&Fg("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:[Ug([{provide:rz,useFactory:function(a,b){return a||b},deps:[[new Vu,new YEb(CKb)],wz]}]),qg,Lia],ngContentSelectors:["*"],decls:4,vars:4,consts:[[1,"cdk-virtual-scroll-content-wrapper"],["contentWrapper",""],[1,"cdk-virtual-scroll-spacer"]],template:function(a,b){a&1&&(Ng(),E(0,"div",0,1),Og(2),F(),H(3,"div",2));a&2&&(z(3),Eg("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 xz=function(){};xz.\u0275fac=function(a){return new (a||xz)};xz.\u0275mod=od({type:xz});xz.\u0275inj=Wc({});var yz=function(){};yz.\u0275fac=function(a){return new (a||yz)};yz.\u0275mod=od({type:yz});yz.\u0275inj=Wc({imports:[hz,xz,wz,hz,xz]});var zz=function(a,b,c,d){var e=this;this._scrollDispatcher=a;this._viewportRuler=b;this._ngZone=c;this.noop=function(){return new oz};this.close=function(f){return new nz(e._scrollDispatcher,e._ngZone,e._viewportRuler,f)};this.block=function(){return new mz(e._viewportRuler,e._document)};this.reposition=function(f){return new pz(e._scrollDispatcher,e._viewportRuler,e._ngZone,f)};this._document=d};zz.\u0275fac=function(a){return new (a||zz)(n(qz),n(uz),n(hg),n(Vi))};
zz.\u0275prov=Vc({token:zz,factory:zz.\u0275fac,providedIn:"root"});var Az=function(a){this.scrollStrategy=new oz;this.panelClass="";this.hasBackdrop=!1;this.backdropClass="cdk-overlay-dark-backdrop";this.disposeOnNavigation=!1;if(a){var b=Object.keys(a);b=m(b);for(var c=b.next();!c.done;c=b.next())c=c.value,void 0!==a[c]&&(this[c]=a[c])}};var Bz=function(a,b,c,d,e,f,h,l,q,u){var x=this;u=void 0===u?!1:u;this._portalOutlet=a;this._host=b;this._pane=c;this._config=d;this._ngZone=e;this._keyboardDispatcher=f;this._document=h;this._location=l;this._outsideClickDispatcher=q;this._animationsDisabled=u;this._backdropElement=null;this._backdropClick=new C.Subject;this._attachments=new C.Subject;this._detachments=new C.Subject;this._locationChanges=C.Subscription.EMPTY;this._backdropClickHandler=function(y){return x._backdropClick.next(y)};
this._backdropTransitionendHandler=function(y){x._disposeBackdrop(y.target)};this._keydownEvents=new C.Subject;this._outsidePointerEvents=new C.Subject;d.scrollStrategy&&(this._scrollStrategy=d.scrollStrategy,this._scrollStrategy.attach(this));this._positionStrategy=d.positionStrategy};g=Bz.prototype;
g.attach=function(a){var b=this;!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);a=this._portalOutlet.attach(a);this._positionStrategy&&this._positionStrategy.attach(this);this._updateStackingOrder();this._updateElementSize();this._updateElementDirection();this._scrollStrategy&&this._scrollStrategy.enable();this._ngZone.onStable.pipe(Rf()).subscribe(function(){b.hasAttached()&&b.updatePosition()});this._togglePointerEvents(!0);this._config.hasBackdrop&&
this._attachBackdrop();this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0);this._attachments.next();this._keyboardDispatcher.add(this);this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(function(){return b.dispose()}));this._outsideClickDispatcher.add(this);if("function"===typeof(null==a?void 0:a.onDestroy))a.onDestroy(function(){b.hasAttached()&&b._ngZone.runOutsideAngular(function(){return Promise.resolve().then(function(){return b.detach()})})});
return a};g.detach=function(){if(this.hasAttached()){FKb(this);this._togglePointerEvents(!1);this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach();this._scrollStrategy&&this._scrollStrategy.disable();var a=this._portalOutlet.detach();this._detachments.next();this._keyboardDispatcher.remove(this);this._detachContentWhenStable();this._locationChanges.unsubscribe();this._outsideClickDispatcher.remove(this);return a}};
g.dispose=function(){var a=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose();this._disposeScrollStrategy();this._disposeBackdrop(this._backdropElement);this._locationChanges.unsubscribe();this._keyboardDispatcher.remove(this);this._portalOutlet.dispose();this._attachments.complete();this._backdropClick.complete();this._keydownEvents.complete();this._outsidePointerEvents.complete();this._outsideClickDispatcher.remove(this);var b;null==(b=this._host)||b.remove();this._previousHostParent=
this._pane=this._host=null;a&&this._detachments.next();this._detachments.complete()};g.hasAttached=function(){return this._portalOutlet.hasAttached()};g.backdropClick=function(){return this._backdropClick};g.attachments=function(){return this._attachments};g.keydownEvents=function(){return this._keydownEvents};g.outsidePointerEvents=function(){return this._outsidePointerEvents};g.getConfig=function(){return this._config};g.updatePosition=function(){this._positionStrategy&&this._positionStrategy.apply()};
var GKb=function(a,b){b!==a._positionStrategy&&(a._positionStrategy&&a._positionStrategy.dispose(),a._positionStrategy=b,a.hasAttached()&&(b.attach(a),a.updatePosition()))};g=Bz.prototype;g.updateSize=function(a){this._config=Object.assign({},this._config,a);this._updateElementSize()};g.setDirection=function(a){this._config=Object.assign({},this._config,{direction:a});this._updateElementDirection()};g.addPanelClass=function(a){this._pane&&this._toggleClasses(this._pane,a,!0)};
g.removePanelClass=function(a){this._pane&&this._toggleClasses(this._pane,a,!1)};g.getDirection=function(){var a=this._config.direction;return a?"string"===typeof a?a:a.value:"ltr"};g._updateElementDirection=function(){this._host.setAttribute("dir",this.getDirection())};
g._updateElementSize=function(){if(this._pane){var a=this._pane.style;a.width=ci(this._config.width);a.height=ci(this._config.height);a.minWidth=ci(this._config.minWidth);a.minHeight=ci(this._config.minHeight);a.maxWidth=ci(this._config.maxWidth);a.maxHeight=ci(this._config.maxHeight)}};g._togglePointerEvents=function(a){this._pane.style.pointerEvents=a?"":"none"};
g._attachBackdrop=function(){var a=this;this._backdropElement=this._document.createElement("div");this._backdropElement.classList.add("cdk-overlay-backdrop");this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation");this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0);this._host.parentElement.insertBefore(this._backdropElement,this._host);this._backdropElement.addEventListener("click",this._backdropClickHandler);
this._animationsDisabled||"undefined"===typeof requestAnimationFrame?this._backdropElement.classList.add("cdk-overlay-backdrop-showing"):this._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){a._backdropElement&&a._backdropElement.classList.add("cdk-overlay-backdrop-showing")})})};g._updateStackingOrder=function(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)};
var FKb=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)})))};
Bz.prototype._toggleClasses=function(a,b,c){b=ai(b||[]).filter(function(d){return!!d});b.length&&(c?a.classList.add.apply(a.classList,r(b)):a.classList.remove.apply(a.classList,r(b)))};
Bz.prototype._detachContentWhenStable=function(){var a=this;this._ngZone.runOutsideAngular(function(){var b=a._ngZone.onStable.pipe(dg((0,C.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())})})};
Bz.prototype._disposeScrollStrategy=function(){var a=this._scrollStrategy;a&&(a.disable(),a.detach&&a.detach())};Bz.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)};
Xi.Object.defineProperties(Bz.prototype,{overlayElement:{configurable:!0,enumerable:!0,get:function(){return this._pane}},hostElement:{configurable:!0,enumerable:!0,get:function(){return this._host}}});var HKb=function(a,b){this.connectionPair=a;this.scrollableViewProperties=b};var fma=/([A-Za-z%]+)$/,Cz=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 C.Subject;this._resizeSubscription=C.Subscription.EMPTY;this._offsetY=this._offsetX=0;this._appliedPanelClasses=[];this.positionChanges=
this._positionChanges;this.setOrigin(a)};Cz.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()})};
Cz.prototype.apply=function(){if(!this._isDisposed&&this._platform.isBrowser)if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)IKb(this);else{this._clearPanelClasses();this._resetOverlayElementStyles();this._resetBoundingBoxStyles();this._viewportRect=this._getNarrowedViewportRect();this._originRect=this._getOriginRect();this._overlayRect=this._pane.getBoundingClientRect();this._containerRect=vKb(this._overlayContainer).getBoundingClientRect();for(var a=this._originRect,b=this._overlayRect,
c=this._viewportRect,d=this._containerRect,e=[],f,h=m(this._preferredPositions),l=h.next();!l.done;l=h.next()){l=l.value;var q=this._getOriginPoint(a,d,l),u=this._getOverlayPoint(q,b,l),x=this._getOverlayFit(u,b,c,l);if(x.isCompletelyWithinViewport){this._isPushed=!1;this._applyPosition(l,q);return}if(this._canFitWithFlexibleDimensions(x,u,c))e.push({position:l,origin:q,overlayRect:b,boundingBoxRect:this._calculateBoundingBoxRect(q,l)});else if(!f||f.overlayFit.visibleArea<x.visibleArea)f={overlayFit:x,
overlayPoint:u,originPoint:q,position:l,overlayRect:b}}if(e.length){a=null;b=-1;e=m(e);for(c=e.next();!c.done;c=e.next())c=c.value,d=c.boundingBoxRect.width*c.boundingBoxRect.height*(c.position.weight||1),d>b&&(b=d,a=c);this._isPushed=!1;this._applyPosition(a.position,a.origin)}else this._canPush&&(this._isPushed=!0),this._applyPosition(f.position,f.originPoint)}};Cz.prototype.detach=function(){this._clearPanelClasses();this._previousPushAmount=this._lastPosition=null;this._resizeSubscription.unsubscribe()};
Cz.prototype.dispose=function(){this._isDisposed||(this._boundingBox&&Wi(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 IKb=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=vKb(a._overlayContainer).getBoundingClientRect();var c=a._getOriginPoint(a._originRect,a._containerRect,b);a._applyPosition(b,c)}else a.apply()}},JKb=function(a,b){a._scrollables=b;return a},Dz=function(a,b){a._preferredPositions=b;-1===b.indexOf(a._lastPosition)&&(a._lastPosition=
null);return a},Ez=function(a,b){a._viewportMargin=b;return a},Fz=function(a,b){a._hasFlexibleDimensions=void 0===b?!0:b;return a},KKb=function(a,b){a._growAfterOpen=void 0===b?!0:b;return a},LKb=function(a,b){a._canPush=void 0===b?!0:b;return a},MKb=function(a,b){a._positionLocked=void 0===b?!0:b;return a};Cz.prototype.setOrigin=function(a){this._origin=a;return this};var NKb=function(a,b){a._transformOriginSelector=b;return a};g=Cz.prototype;
g._getOriginPoint=function(a,b,c){if("center"==c.originX)var d=a.left+a.width/2;else{d=this._isRtl()?a.right:a.left;var e=this._isRtl()?a.left:a.right;d="start"==c.originX?d:e}0>b.left&&(d-=b.left);a="center"==c.originY?a.top+a.height/2:"top"==c.originY?a.top:a.bottom;0>b.top&&(a-=b.top);return{x:d,y:a}};
g._getOverlayPoint=function(a,b,c){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)}};
g._getOverlayFit=function(a,b,c,d){b=hma(b);var e=a.x;a=a.y;var f=this._getOffset(d,"x");d=this._getOffset(d,"y");f&&(e+=f);d&&(a+=d);d=-a;a=a+b.height-c.height;c=this._subtractOverflows(b.width,-e,e+b.width-c.width);e=this._subtractOverflows(b.height,d,a);d=c*e;return{visibleArea:d,isCompletelyWithinViewport:b.width*b.height===d,fitsInViewportVertically:e===b.height,fitsInViewportHorizontally:c==b.width}};
g._canFitWithFlexibleDimensions=function(a,b,c){if(this._hasFlexibleDimensions){var d=c.bottom-b.y;c=c.right-b.x;b=gma(this._overlayRef.getConfig().minHeight);var e=gma(this._overlayRef.getConfig().minWidth);c=a.fitsInViewportHorizontally||null!=e&&e<=c;return(a.fitsInViewportVertically||null!=b&&b<=d)&&c}return!1};
g._pushOverlayOnScreen=function(a,b,c){if(this._previousPushAmount&&this._positionLocked)return{x:a.x+this._previousPushAmount.x,y:a.y+this._previousPushAmount.y};b=hma(b);var d=this._viewportRect,e=Math.max(a.x+b.width-d.width,0),f=Math.max(a.y+b.height-d.height,0),h=Math.max(d.top-c.top-a.y,0),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||-f:a.y<this._viewportMargin?d.top-c.top-a.y:0;this._previousPushAmount={x:e,y:c};
return{x:a.x+e,y:a.y+c}};g._applyPosition=function(a,b){this._setTransformOrigin(a);this._setOverlayElementStyles(b,a);this._setBoundingBoxStyles(b,a);a.panelClass&&this._addPanelClasses(a.panelClass);this._lastPosition=a;this._positionChanges.observers.length&&(b=this._getScrollVisibility(),this._positionChanges.next(new HKb(a,b)));this._isInitialRender=!1};
g._setTransformOrigin=function(a){if(this._transformOriginSelector){var b=this._boundingBox.querySelectorAll(this._transformOriginSelector),c=a.overlayY;a="center"===a.overlayX?"center":this._isRtl()?"start"===a.overlayX?"right":"left":"start"===a.overlayX?"left":"right";for(var d=0;d<b.length;d++)b[d].style.transformOrigin=a+" "+c}};
g._calculateBoundingBoxRect=function(a,b){var c=this._viewportRect,d=this._isRtl();if("top"===b.overlayY){var e=a.y;var f=c.height-e+this._viewportMargin}else if("bottom"===b.overlayY){var h=c.height-a.y+2*this._viewportMargin;f=c.height-h+this._viewportMargin}else{e=Math.min(c.bottom-a.y+c.top,a.y);var l=this._lastBoundingBoxSize.height;f=2*e;e=a.y-e;f>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 u=a.x;b=c.right-a.x}else u=Math.min(c.right-a.x+c.left,a.x),c=this._lastBoundingBoxSize.width,b=2*u,u=a.x-u,b>c&&!this._isInitialRender&&!this._growAfterOpen&&(u=a.x-c/2);return{top:e,left:u,bottom:h,right:q,width:b,height:f}};
g._setBoundingBoxStyles=function(a,b){a=this._calculateBoundingBoxRect(a,b);this._isInitialRender||this._growAfterOpen||(a.height=Math.min(a.height,this._lastBoundingBoxSize.height),a.width=Math.min(a.width,this._lastBoundingBoxSize.width));var c={};if(this._hasExactPosition())c.top=c.left="0",c.bottom=c.right=c.maxHeight=c.maxWidth="",c.width=c.height="100%";else{var d=this._overlayRef.getConfig().maxHeight,e=this._overlayRef.getConfig().maxWidth;c.height=ci(a.height);c.top=ci(a.top);c.bottom=ci(a.bottom);
c.width=ci(a.width);c.left=ci(a.left);c.right=ci(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=ci(d));e&&(c.maxWidth=ci(e))}this._lastBoundingBoxSize=a;Wi(this._boundingBox.style,c)};g._resetBoundingBoxStyles=function(){Wi(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})};
g._resetOverlayElementStyles=function(){Wi(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})};
g._setOverlayElementStyles=function(a,b){var c={},d=this._hasExactPosition(),e=this._hasFlexibleDimensions,f=this._overlayRef.getConfig();if(d){var h=this._viewportRuler.getViewportScrollPosition();Wi(c,this._getExactOverlayY(b,a,h));Wi(c,this._getExactOverlayX(b,a,h))}else c.position="static";a="";h=this._getOffset(b,"x");b=this._getOffset(b,"y");h&&(a+="translateX("+h+"px) ");b&&(a+="translateY("+b+"px)");c.transform=a.trim();f.maxHeight&&(d?c.maxHeight=ci(f.maxHeight):e&&(c.maxHeight=""));f.maxWidth&&
(d?c.maxWidth=ci(f.maxWidth):e&&(c.maxWidth=""));Wi(this._pane.style,c)};g._getExactOverlayY=function(a,b,c){var d={top:"",bottom:""};b=this._getOverlayPoint(b,this._overlayRect,a);this._isPushed&&(b=this._pushOverlayOnScreen(b,this._overlayRect,c));"bottom"===a.overlayY?d.bottom=this._document.documentElement.clientHeight-(b.y+this._overlayRect.height)+"px":d.top=ci(b.y);return d};
g._getExactOverlayX=function(a,b,c){var d={left:"",right:""};b=this._getOverlayPoint(b,this._overlayRect,a);this._isPushed&&(b=this._pushOverlayOnScreen(b,this._overlayRect,c));"right"===(this._isRtl()?"end"===a.overlayX?"left":"right":"end"===a.overlayX?"right":"left")?d.right=this._document.documentElement.clientWidth-(b.x+this._overlayRect.width)+"px":d.left=ci(b.x);return d};
g._getScrollVisibility=function(){var a=this._getOriginRect(),b=this._pane.getBoundingClientRect(),c=this._scrollables.map(function(d){return d.elementRef.nativeElement.getBoundingClientRect()});return{isOriginClipped:dma(a,c),isOriginOutsideView:cma(a,c),isOverlayClipped:dma(b,c),isOverlayOutsideView:cma(b,c)}};g._subtractOverflows=function(a){return yd.apply(1,arguments).reduce(function(b,c){return b-Math.max(c,0)},a)};
g._getNarrowedViewportRect=function(){var a=this._document.documentElement.clientWidth,b=this._document.documentElement.clientHeight,c=this._viewportRuler.getViewportScrollPosition();return{top:c.top+this._viewportMargin,left:c.left+this._viewportMargin,right:c.left+a-this._viewportMargin,bottom:c.top+b-this._viewportMargin,width:a-2*this._viewportMargin,height:b-2*this._viewportMargin}};g._isRtl=function(){return"rtl"===this._overlayRef.getDirection()};
g._hasExactPosition=function(){return!this._hasFlexibleDimensions||this._isPushed};g._getOffset=function(a,b){return"x"===b?null==a.offsetX?this._offsetX:a.offsetX:null==a.offsetY?this._offsetY:a.offsetY};g._validatePositions=function(){};g._addPanelClasses=function(a){var b=this;this._pane&&ai(a).forEach(function(c){""!==c&&-1===b._appliedPanelClasses.indexOf(c)&&(b._appliedPanelClasses.push(c),b._pane.classList.add(c))})};
g._clearPanelClasses=function(){var a=this;this._pane&&(this._appliedPanelClasses.forEach(function(b){a._pane.classList.remove(b)}),this._appliedPanelClasses=[])};g._getOriginRect=function(){var a=this._origin;if(a instanceof ke)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}};
Xi.Object.defineProperties(Cz.prototype,{positions:{configurable:!0,enumerable:!0,get:function(){return this._preferredPositions}}});var OKb=function(){this._cssPosition="static";this._height=this._width=this._xOffset=this._xPosition=this._alignItems=this._bottomOffset=this._topOffset="";this._isDisposed=!1};g=OKb.prototype;g.attach=function(a){var b=a.getConfig();this._overlayRef=a;this._width&&!b.width&&a.updateSize({width:this._width});this._height&&!b.height&&a.updateSize({height:this._height});a.hostElement.classList.add("cdk-global-overlay-wrapper");this._isDisposed=!1};
g.top=function(a){this._bottomOffset="";this._topOffset=void 0===a?"":a;this._alignItems="flex-start";return this};g.left=function(a){this._xOffset=void 0===a?"":a;this._xPosition="left";return this};g.bottom=function(a){this._topOffset="";this._bottomOffset=void 0===a?"":a;this._alignItems="flex-end";return this};g.right=function(a){this._xOffset=void 0===a?"":a;this._xPosition="right";return this};g.start=function(a){this._xOffset=void 0===a?"":a;this._xPosition="start";return this};
g.end=function(a){this._xOffset=void 0===a?"":a;this._xPosition="end";return this};g.width=function(a){a=void 0===a?"":a;this._overlayRef?this._overlayRef.updateSize({width:a}):this._width=a;return this};g.height=function(a){a=void 0===a?"":a;this._overlayRef?this._overlayRef.updateSize({height:a}):this._height=a;return this};var PKb=function(a){a.left("");a._xPosition="center";return a},QKb=function(a){a.top("");a._alignItems="center";return a};
OKb.prototype.apply=function(){if(this._overlayRef&&this._overlayRef.hasAttached()){var a=this._overlayRef.overlayElement.style,b=this._overlayRef.hostElement.style,c=this._overlayRef.getConfig(),d=c.width,e=c.height,f=c.maxWidth;c=c.maxHeight;d=("100%"===d||"100vw"===d)&&(!f||"100%"===f||"100vw"===f);e=("100%"===e||"100vh"===e)&&(!c||"100%"===c||"100vh"===c);f=this._xPosition;c=this._xOffset;var h="rtl"===this._overlayRef.getConfig().direction,l="",q="",u="";if(d)u="flex-start";else if("center"===
f)u="center",h?q=c:l=c;else if(h)if("left"===f||"end"===f)u="flex-end",l=c;else{if("right"===f||"start"===f)u="flex-start",q=c}else if("left"===f||"start"===f)u="flex-start",l=c;else if("right"===f||"end"===f)u="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=u;b.alignItems=e?"flex-start":this._alignItems}};
OKb.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 Gz=function(a,b,c,d){this._viewportRuler=a;this._document=b;this._platform=c;this._overlayContainer=d};Gz.prototype.global=function(){return new OKb};var Hz=function(a,b){return new Cz(b,a._viewportRuler,a._document,a._platform,a._overlayContainer)};Gz.\u0275fac=function(a){return new (a||Gz)(n(uz),n(Vi),n(yx),n(lz))};Gz.\u0275prov=Vc({token:Gz,factory:Gz.\u0275fac,providedIn:"root"});var RKb=0,Iz=function(a,b,c,d,e,f,h,l,q,u,x,y){this.scrollStrategies=a;this._overlayContainer=b;this._componentFactoryResolver=c;this._positionBuilder=d;this._keyboardDispatcher=e;this._injector=f;this._ngZone=h;this._document=l;this._directionality=q;this._location=u;this._outsideClickDispatcher=x;this._animationsModuleType=y};g=Iz.prototype;
g.create=function(a){var b=this._createHostElement(),c=this._createPaneElement(b),d=this._createPortalOutlet(c);a=new Az(a);a.direction=a.direction||this._directionality.value;return new Bz(d,b,c,a,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)};g.position=function(){return this._positionBuilder};
g._createPaneElement=function(a){var b=this._document.createElement("div");b.id="cdk-overlay-"+RKb++;b.classList.add("cdk-overlay-pane");a.appendChild(b);return b};g._createHostElement=function(){var a=this._document.createElement("div");vKb(this._overlayContainer).appendChild(a);return a};g._createPortalOutlet=function(a){this._appRef||(this._appRef=this._injector.get(ow));return new Ox(a,this._componentFactoryResolver,this._appRef,this._injector,this._document)};
Iz.\u0275fac=function(a){return new (a||Iz)(n(zz),n(lz),n($u),n(Gz),n(jz),n(Zu),n(hg),n(Vi),n(gz),n(Uw),n(kz),n(cv,8))};Iz.\u0275prov=Vc({token:Iz,factory:Iz.\u0275fac,providedIn:"root"});var SKb=[{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"}],TKb=new Bd("cdk-connected-overlay-scroll-strategy"),Jz=function(a){this.elementRef=a};Jz.\u0275fac=function(a){return new (a||Jz)(A(ke))};
Jz.\u0275dir=qd({type:Jz,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0});
var Kz=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=C.Subscription.EMPTY;this.viewportMargin=0;this.disableClose=this.open=!1;this.backdropClick=new Rv;this.positionChange=new Rv;this.attach=new Rv;this.detach=new Rv;this.overlayKeydown=new Rv;this.overlayOutsideClick=new Rv;this._templatePortal=new Mx(b,
c);this._scrollStrategyFactory=d;this.scrollStrategy=this._scrollStrategyFactory()};g=Kz.prototype;g.ngOnDestroy=function(){this._attachSubscription.unsubscribe();this._detachSubscription.unsubscribe();this._backdropSubscription.unsubscribe();this._positionSubscription.unsubscribe();this._overlayRef&&this._overlayRef.dispose()};
g.ngOnChanges=function(a){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),a.origin&&this.open&&this._position.apply());a.open&&(this.open?this._attachOverlay():this._detachOverlay())};
g._createOverlay=function(){var a=this;this.positions&&this.positions.length||(this.positions=SKb);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||hi(c)||(c.preventDefault(),a._detachOverlay())});this._overlayRef.outsidePointerEvents().subscribe(function(c){a.overlayOutsideClick.next(c)})};
g._buildConfig=function(){var a=this._position=this.positionStrategy||this._createPositionStrategy();a=new Az({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};
g._updatePositionStrategy=function(a){var b=this,c=this.positions.map(function(d){return{originX:d.originX,originY:d.originY,overlayX:d.overlayX,overlayY:d.overlayY,offsetX:d.offsetX||b.offsetX,offsetY:d.offsetY||b.offsetY,panelClass:d.panelClass||void 0}});return NKb(MKb(Ez(KKb(LKb(Fz(Dz(a.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()),c),this.flexibleDimensions),this.push),this.growAfterOpen),this.viewportMargin),this.lockPosition),this.transformOriginSelector)};
g._createPositionStrategy=function(){var a=Hz(this._overlay.position(),this._getFlexibleConnectedPositionStrategyOrigin());this._updatePositionStrategy(a);return a};g._getFlexibleConnectedPositionStrategyOrigin=function(){return this.origin instanceof Jz?this.origin.elementRef:this.origin};
g._attachOverlay=function(){var a=this;this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay();this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal);this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(function(b){a.backdropClick.emit(b)}):this._backdropSubscription.unsubscribe();this._positionSubscription.unsubscribe();0<this.positionChange.observers.length&&(this._positionSubscription=this._position.positionChanges.pipe(xha(function(){return 0<
a.positionChange.observers.length})).subscribe(function(b){a.positionChange.emit(b);0===a.positionChange.observers.length&&a._positionSubscription.unsubscribe()}))};g._detachOverlay=function(){this._overlayRef&&this._overlayRef.detach();this._backdropSubscription.unsubscribe();this._positionSubscription.unsubscribe()};
Xi.Object.defineProperties(Kz.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=
bi(a)}},lockPosition:{configurable:!0,enumerable:!0,get:function(){return this._lockPosition},set:function(a){this._lockPosition=bi(a)}},flexibleDimensions:{configurable:!0,enumerable:!0,get:function(){return this._flexibleDimensions},set:function(a){this._flexibleDimensions=bi(a)}},growAfterOpen:{configurable:!0,enumerable:!0,get:function(){return this._growAfterOpen},set:function(a){this._growAfterOpen=bi(a)}},push:{configurable:!0,enumerable:!0,get:function(){return this._push},set:function(a){this._push=
bi(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"}}});Kz.\u0275fac=function(a){return new (a||Kz)(A(Iz),A(eh),A(fh),A(TKb),A(gz,8))};
Kz.\u0275dir=qd({type:Kz,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:[Hd]});var UKb={provide:TKb,deps:[Iz],useFactory:function(a){return function(){return a.scrollStrategies.reposition()}}};var Lz=function(){};Lz.\u0275fac=function(a){return new (a||Lz)};Lz.\u0275mod=od({type:Lz});Lz.\u0275inj=Wc({providers:[Iz,UKb],imports:[hz,Rx,yz,yz]});new gv;new gv;var VKb=new Bd("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}}),Mz=function(a,b,c){this._sanityChecks=b;this._document=c;this._hasDoneGlobalChecks=!1;a._applyBodyHighContrastModeCssClasses();this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)};Mz.prototype._checkIsEnabled=function(a){return wka()?!1:"boolean"===typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[a]};Mz.\u0275fac=function(a){return new (a||Mz)(n(Oy),n(VKb,8),n(Vi))};Mz.\u0275mod=od({type:Mz});
Mz.\u0275inj=Wc({imports:[hz,hz]});new Bd("MAT_DATE_LOCALE",{providedIn:"root",factory:kma});var Nz=function(){this.localeChanges=this._localeChanges=new C.Subject},Pz=function(a,b){return Oz(b)&&a.isValid(b)?b:null};Nz.prototype.deserialize=function(a){return null==a||Oz(a)&&this.isValid(a)?a:this.invalid()};Nz.prototype.setLocale=function(a){this.locale=a;this._localeChanges.next()};var Qz=function(a,b,c){return a.getYear(b)-a.getYear(c)||a.getMonth(b)-a.getMonth(c)||a.getDate(b)-a.getDate(c)};
Nz.prototype.sameDate=function(a,b){if(a&&b){var c=this.isValid(a),d=this.isValid(b);return c&&d?!Qz(this,a,b):c==d}return a==b};var WKb=function(a,b,c,d){return c&&0>Qz(a,b,c)?c:d&&0<Qz(a,b,d)?d:b};var Rz=new Bd("mat-date-formats");var Sz=function(){};Sz.\u0275fac=function(a){return new (a||Sz)};Sz.\u0275prov=Vc({token:Sz,factory:Sz.\u0275fac,providedIn:"root"});new Bd("MAT_HAMMER_OPTIONS");var Tz=function(){};Tz.\u0275fac=function(a){return new (a||Tz)};Tz.\u0275dir=qd({type:Tz,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]});var Uz=function(){};Uz.\u0275fac=function(a){return new (a||Uz)};Uz.\u0275mod=od({type:Uz});Uz.\u0275inj=Wc({imports:[Mz,Mz]});var XKb=new Bd("MAT_OPTION_PARENT_COMPONENT");$i(function(){});var YKb=new Bd("MatOptgroup");var ZKb=Vh({passive:!0,capture:!0}),aLb=function(a,b,c,d){var e=$Kb,f=e._events.get(b);f?(a=f.get(c))?a.add(d):f.set(c,new Set([d])):(e._events.set(b,new Map([[c,new Set([d])]])),a.runOutsideAngular(function(){document.addEventListener(b,e._delegateEventHandler,ZKb)}))};var bLb=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 cLb={enterDuration:225,exitDuration:150},dLb=Vh({passive:!0,capture:!0}),eLb=["mousedown","touchstart"],fLb=["mouseup","mouseleave","touchend","touchcancel"],Vz=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=di(c))},gLb=function(a,b,c,d){d=void 0===d?{}:d;var e=a._containerRect=a._containerRect||a._containerElement.getBoundingClientRect(),f=Object.assign({},
cLb,d.animation);d.centered&&(b=e.left+e.width/2,c=e.top+e.height/2);var h=d.radius||mma(b,c,e);b-=e.left;var l=c-e.top;c=f.enterDuration;var q=document.createElement("div");q.classList.add("mat-ripple-element");q.style.left=b-h+"px";q.style.top=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 u=new bLb(a,q,d,e);q.style.transform="scale3d(1, 1, 1)";u.state=0;d.persistent||(a._mostRecentTransientRipple=u);var x=null;e||!c&&!f.exitDuration||a._ngZone.runOutsideAngular(function(){var y=function(){return a._finishRippleTransition(u)},G=function(){return a._destroyRipple(u)};q.addEventListener("transitionend",y);q.addEventListener("transitioncancel",G);x={onTransitionEnd:y,onTransitionCancel:G}});a._activeRipples.set(u,x);!e&&c||a._finishRippleTransition(u);
return u},hLb=function(a,b){if(2!==b.state&&3!==b.state){var c=b.element,d=Object.assign({},cLb,b.config.animation);c.style.transitionDuration=d.exitDuration+"ms";c.style.opacity="0";b.state=2;!b._animationForciblyDisabledThroughCss&&d.exitDuration||a._finishRippleTransition(b)}};Vz.prototype.fadeOutAllNonPersistent=function(){this._getActiveRipples().forEach(function(a){a.config.persistent||hLb(a._renderer,a)})};
var iLb=function(a,b){var c=di(b);a._platform.isBrowser&&c&&c!==a._triggerElement&&(a._removeTriggerEvents(),a._triggerElement=c,eLb.forEach(function(d){aLb(a._ngZone,d,c,a)}))};g=Vz.prototype;
g.handleEvent=function(a){var b=this;"mousedown"===a.type?this._onMousedown(a):"touchstart"===a.type?this._onTouchStart(a):this._onPointerUp();this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(function(){fLb.forEach(function(c){b._triggerElement.addEventListener(c,b,dLb)})}),this._pointerUpEventsRegistered=!0)};g._finishRippleTransition=function(a){0===a.state?this._startFadeOutTransition(a):2===a.state&&this._destroyRipple(a)};
g._startFadeOutTransition=function(a){var b=a===this._mostRecentTransientRipple,c=a.config.persistent;a.state=1;c||b&&this._isPointerDown||hLb(a._renderer,a)};
g._destroyRipple=function(a){var b,c=null!=(b=this._activeRipples.get(a))?b:null;this._activeRipples.delete(a);this._activeRipples.size||(this._containerRect=null);a===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null);a.state=3;null!==c&&(a.element.removeEventListener("transitionend",c.onTransitionEnd),a.element.removeEventListener("transitioncancel",c.onTransitionCancel));a.element.remove()};
g._onMousedown=function(a){var b=fi(a),c=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;this._target.rippleDisabled||b||c||(this._isPointerDown=!0,gLb(this,a.clientX,a.clientY,this._target.rippleConfig))};g._onTouchStart=function(a){if(!this._target.rippleDisabled&&!gi(a)){this._lastTouchStartEvent=Date.now();this._isPointerDown=!0;a=a.changedTouches;for(var b=0;b<a.length;b++)gLb(this,a[b].clientX,a[b].clientY,this._target.rippleConfig)}};
g._onPointerUp=function(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(function(a){var b=1===a.state||a.config.terminateOnPointerUp&&0===a.state;!a.config.persistent&&b&&hLb(a._renderer,a)}))};g._getActiveRipples=function(){return Array.from(this._activeRipples.keys())};
g._removeTriggerEvents=function(){var a=this,b=this._triggerElement;b&&(eLb.forEach(function(c){var d=$Kb,e=d._events.get(c);if(e){var f=e.get(b);f&&(f.delete(a),0===f.size&&e.delete(b),0===e.size&&(d._events.delete(c),document.removeEventListener(c,d._delegateEventHandler,ZKb)))}}),this._pointerUpEventsRegistered&&fLb.forEach(function(c){return b.removeEventListener(c,a,dLb)}))};
var $Kb=new function(){var a=this;this._events=new Map;this._delegateEventHandler=function(b){var c=$h(b);if(c){var d;null==(d=a._events.get(b.type))||d.forEach(function(e,f){(f===c||f.contains(c))&&e.forEach(function(h){return h.handleEvent(b)})})}}};var jLb=new Bd("mat-ripple-global-options"),Wz=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 Vz(this,b,a,c)};g=Wz.prototype;g.ngOnInit=function(){this._isInitialized=!0;this._setupTriggerEventsIfEnabled()};g.ngOnDestroy=function(){this._rippleRenderer._removeTriggerEvents()};g.fadeOutAllNonPersistent=function(){this._rippleRenderer.fadeOutAllNonPersistent()};
g._setupTriggerEventsIfEnabled=function(){!this.disabled&&this._isInitialized&&iLb(this._rippleRenderer,this.trigger)};g.launch=function(a,b,c){return"number"===typeof a?gLb(this._rippleRenderer,a,void 0===b?0:b,Object.assign({},this.rippleConfig,c)):gLb(this._rippleRenderer,0,0,Object.assign({},this.rippleConfig,a))};
Xi.Object.defineProperties(Wz.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}}});Wz.\u0275fac=function(a){return new (a||Wz)(A(ke),A(hg),A(yx),A(jLb,8),A(cv,8))};
Wz.\u0275dir=qd({type:Wz,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(a,b){a&2&&Fg("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 Xz=function(a){this._animationMode=a;this.state="unchecked";this.disabled=!1;this.appearance="full"};Xz.\u0275fac=function(a){return new (a||Xz)(A(cv,8))};
Xz.\u0275cmp=p({type:Xz,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(a,b){a&2&&Fg("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 kLb=["text"],lLb=0,mLb=function(a,b){this.source=a;this.isUserInput=void 0===b?!1:b},Yz=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-"+lLb++;this.onSelectionChange=new Rv;this._stateChanges=new C.Subject};g=Yz.prototype;g.select=function(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())};
g.deselect=function(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())};g.focus=function(a,b){var c=this._getHostElement();"function"===typeof c.focus&&c.focus(b)};g.setActiveStyles=function(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())};g.setInactiveStyles=function(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())};g.getLabel=function(){return this.viewValue};
g._handleKeydown=function(a){13!==a.keyCode&&32!==a.keyCode||hi(a)||(this._selectViaInteraction(),a.preventDefault())};g._selectViaInteraction=function(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))};g._getTabIndex=function(){return this.disabled?"-1":"0"};g._getHostElement=function(){return this._element.nativeElement};
g.ngAfterViewChecked=function(){if(this._selected){var a=this.viewValue;a!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=a)}};g.ngOnDestroy=function(){this._stateChanges.complete()};g._emitSelectionChangeEvent=function(a){this.onSelectionChange.emit(new mLb(this,void 0===a?!1:a))};
Xi.Object.defineProperties(Yz.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=bi(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()}}});Yz.\u0275fac=function(){pe()};
Yz.\u0275dir=qd({type:Yz,viewQuery:function(a,b){a&1&&ih(kLb,7);if(a&2){var c;hh(c=kh())&&(b._text=c.first)}},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}});var Zz=function(){};Zz.\u0275fac=function(a){return new (a||Zz)};Zz.\u0275mod=od({type:Zz});Zz.\u0275inj=Wc({imports:[Mz,Mz]});var $z=function(){};$z.\u0275fac=function(a){return new (a||$z)};$z.\u0275mod=od({type:$z});$z.\u0275inj=Wc({imports:[Mz]});var nLb={capture:!0},oLb=["focus","click","mouseenter","touchstart"],aA=function(){var a=this;this._document=hd(Vi,{optional:!0});this._animationMode=hd(cv,{optional:!0});this._globalRippleOptions=hd(jLb,{optional:!0});this._platform=hd(yx);this._ngZone=hd(hg);this._onInteraction=function(b){b.target!==a._document&&(b=b.target.closest("[mat-button-ripple-uninitialized]"))&&(b.removeAttribute("mat-button-ripple-uninitialized"),a._appendRipple(b))};this._ngZone.runOutsideAngular(function(){for(var b=
m(oLb),c=b.next();!c.done;c=b.next()){c=c.value;var d=void 0;null==(d=a._document)||d.addEventListener(c,a._onInteraction,nLb)}})};aA.prototype.ngOnDestroy=function(){for(var a=m(oLb),b=a.next();!b.done;b=a.next()){b=b.value;var c=void 0;null==(c=this._document)||c.removeEventListener(b,this._onInteraction,nLb)}};
aA.prototype._appendRipple=function(a){if(this._document){var b=this._document.createElement("span");b.classList.add("mat-mdc-button-ripple");var c=new pLb(a,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);c.rippleConfig.centered=a.hasAttribute("mat-icon-button");iLb(new Vz(c,this._ngZone,b,this._platform),a);a.append(b)}};
aA.prototype._createMatRipple=function(a){if(this._document){var b;null==(b=a.querySelector(".mat-mdc-button-ripple"))||b.remove();a.removeAttribute("mat-button-ripple-uninitialized");b=this._document.createElement("span");b.classList.add("mat-mdc-button-ripple");var c=new Wz(new ke(b),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);c._isInitialized=!0;c.trigger=a;a.append(b);return c}};
aA.\u0275fac=function(a){return new (a||aA)};aA.\u0275prov=Vc({token:aA,factory:aA.\u0275fac,providedIn:"root"});var pLb=function(a,b,c){this._button=a;this._globalRippleOptions=b;this._setRippleConfig(b,c)};pLb.prototype._setRippleConfig=function(a,b){this.rippleConfig=a||{};"NoopAnimations"===b&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0})};
Xi.Object.defineProperties(pLb.prototype,{rippleDisabled:{configurable:!0,enumerable:!0,get:function(){var a;return this._button.hasAttribute("disabled")||!(null==(a=this._globalRippleOptions)||!a.disabled)}}});var qLb=[{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"]}],rLb=Yi($i(Zi(function(a){this._elementRef=a}))),bA=function(a,b,c,d){var e=rLb.call(this,a)||this;e._platform=b;e._ngZone=c;e._animationMode=d;e._focusMonitor=hd(Hx);e._rippleLoader=hd(aA);e._isFab=!1;var f=a.nativeElement.classList;a=m(qLb);for(var h=a.next();!h.done;h=a.next())h=h.value,e._hasHostAttributes(h.selector)&&h.mdcClasses.forEach(function(l){f.add(l)});return e};W(bA,rLb);g=bA.prototype;
g.ngAfterViewInit=function(){this._focusMonitor.monitor(this._elementRef,!0)};g.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef)};g.focus=function(a,b){(a=void 0===a?"program":a)?Ix(this._focusMonitor,this._elementRef.nativeElement,a,b):this._elementRef.nativeElement.focus(b)};g._hasHostAttributes=function(){var a=this;return yd.apply(0,arguments).some(function(b){return a._elementRef.nativeElement.hasAttribute(b)})};
g._isRippleDisabled=function(){this._ripple&&(this._ripple.disabled=this.disableRipple||this.disabled)};Xi.Object.defineProperties(bA.prototype,{ripple:{configurable:!0,enumerable:!0,get:function(){!this._ripple&&this._rippleLoader&&(this._ripple=this._rippleLoader._createMatRipple(this._elementRef.nativeElement));return this._ripple},set:function(a){this._ripple=a}}});bA.\u0275fac=function(){pe()};bA.\u0275dir=qd({type:bA,features:[qg]});
var cA=function(a,b,c,d){var e=bA.call(this,a,b,c,d)||this;e._haltDisabledEvents=function(f){e.disabled&&(f.preventDefault(),f.stopImmediatePropagation())};return e};W(cA,bA);cA.prototype.ngOnInit=function(){var a=this;this._ngZone.runOutsideAngular(function(){a._elementRef.nativeElement.addEventListener("click",a._haltDisabledEvents)})};cA.prototype.ngOnDestroy=function(){bA.prototype.ngOnDestroy.call(this);this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)};
cA.\u0275fac=function(){pe()};cA.\u0275dir=qd({type:cA,features:[qg]});var sLb=["mat-button",""],tLb=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],uLb=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],
vLb=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-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-button-ripple{overflow:hidden}.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'},
wLb=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"},dA=function(a,b,c,d){return bA.call(this,a,b,c,d)||this};W(dA,bA);dA.\u0275dir=bA.\u0275dir;
dA.\u0275fac=function(a){return new (a||dA)(A(ke),A(yx),A(hg),A(cv,8))};
dA.\u0275cmp=p({type:dA,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostAttrs:["mat-button-ripple-uninitialized",""],hostVars:9,hostBindings:function(a,b){a&2&&(ug("disabled",b.disabled||null)("mat-button-disabled",b._isRippleDisabled())("mat-button-is-fab",b._isFab),Fg("_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:[qg],attrs:sLb,ngContentSelectors:uLb,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&&(Ng(tLb),H(0,"span",0),Og(1),E(2,"span",1),Og(3,1),F(),Og(4,2),H(5,"span",2)(6,"span",3));a&2&&Fg("mdc-button__ripple",!b._isFab)("mdc-fab__ripple",b._isFab)},styles:[vLb(),wLb()],encapsulation:2,changeDetection:0});
var eA=function(a,b,c,d){return cA.call(this,a,b,c,d)||this};W(eA,cA);eA.\u0275dir=cA.\u0275dir;eA.\u0275fac=function(a){return new (a||eA)(A(ke),A(yx),A(hg),A(cv,8))};
eA.\u0275cmp=p({type:eA,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostAttrs:["mat-button-ripple-uninitialized",""],hostVars:11,hostBindings:function(a,b){a&2&&(ug("disabled",b.disabled||null)("tabindex",b.disabled?-1:b.tabIndex)("aria-disabled",b.disabled.toString())("mat-button-disabled",b._isRippleDisabled())("mat-button-is-fab",b._isFab),Fg("_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:[qg],attrs:sLb,ngContentSelectors:uLb,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&&(Ng(tLb),H(0,"span",0),Og(1),E(2,"span",1),Og(3,1),F(),Og(4,2),H(5,"span",2)(6,"span",3));a&2&&Fg("mdc-button__ripple",
!b._isFab)("mdc-fab__ripple",b._isFab)},styles:[vLb(),wLb()],encapsulation:2,changeDetection:0});var fA=function(a,b,c,d){return bA.call(this,a,b,c,d)||this};W(fA,bA);fA.\u0275dir=bA.\u0275dir;Xi.Object.defineProperties(fA.prototype,{ripple:{configurable:!0,enumerable:!0,get:function(){!this._ripple&&this._rippleLoader&&(this._ripple=this._rippleLoader._createMatRipple(this._elementRef.nativeElement),this._ripple.centered=!0);return this._ripple}}});fA.\u0275fac=function(a){return new (a||fA)(A(ke),A(yx),A(hg),A(cv,8))};
fA.\u0275cmp=p({type:fA,selectors:[["button","mat-icon-button",""]],hostAttrs:["mat-button-ripple-uninitialized",""],hostVars:9,hostBindings:function(a,b){a&2&&(ug("disabled",b.disabled||null)("mat-button-disabled",b._isRippleDisabled())("mat-button-is-fab",b._isFab),Fg("_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:[qg],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&&(Ng(),H(0,"span",0),Og(1),H(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-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-ripple{overflow:hidden}.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 gA=function(a,b){this.selection=a;this._adapter=b;this.selectionChanged=this._selectionChanged=new C.Subject;this.selection=a};gA.prototype.updateSelection=function(a,b){var c=this.selection;this.selection=a;this._selectionChanged.next({selection:a,source:b,oldValue:c})};gA.prototype.ngOnDestroy=function(){this._selectionChanged.complete()};gA.prototype._isValidDateInstance=function(a){return Oz(a)&&this._adapter.isValid(a)};gA.\u0275fac=function(){pe()};gA.\u0275prov=Vc({token:gA,factory:gA.\u0275fac});
var hA=function(a){gA.call(this,null,a)};W(hA,gA);hA.prototype.add=function(a){gA.prototype.updateSelection.call(this,a,this)};hA.prototype.isValid=function(){return null!=this.selection&&this._isValidDateInstance(this.selection)};hA.prototype.isComplete=function(){return null!=this.selection};hA.prototype.clone=function(){var a=new hA(this._adapter);a.updateSelection(this.selection,this);return a};hA.\u0275fac=function(a){return new (a||hA)(n(Nz))};hA.\u0275prov=Vc({token:hA,factory:hA.\u0275fac});
var xLb={provide:gA,deps:[[new Vu,new Wu,gA],Nz],useFactory:function(a,b){return a||new hA(b)}};new Vu;new Wu;var iA=function(){this.changes=new C.Subject};iA.prototype.formatYearRange=function(a,b){return a+" \u2013 "+b};iA.prototype.formatYearRangeLabel=function(a,b){return a+" to "+b};iA.\u0275fac=function(a){return new (a||iA)};iA.\u0275prov=Vc({token:iA,factory:iA.\u0275fac,providedIn:"root"});var yLb=function(a,b,c,d,e,f,h){e=void 0===e?{}:e;this.value=a;this.displayValue=b;this.ariaLabel=c;this.enabled=d;this.cssClasses=e;this.compareValue=void 0===f?a:f;this.rawValue=h},zLb=1,jA=function(a,b){var c=this;this._elementRef=a;this._ngZone=b;this._platform=hd(yx);this._focusActiveCellAfterViewChecked=!1;this.numCols=7;this.activeCell=0;this.isRange=!1;this.cellAspectRatio=1;this.previewEnd=this.previewStart=null;this.selectedValueChange=new Rv;this.previewChange=new Rv;this.activeDateChange=
new Rv;this.dragStarted=new Rv;this.dragEnded=new Rv;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=yma(d),f=e?c._getCellFromElement(e):null;e!==d.target&&(c._didDragSinceMouseDown=!0);uma(d.target)&&d.preventDefault();
c._ngZone.run(function(){return c.previewChange.emit({value:(null==f?0:f.enabled)?f:null,event:d})})}};this._leaveHandler=function(d){null!==c.previewEnd&&c.isRange&&("blur"!==d.type&&(c._didDragSinceMouseDown=!0),!d.target||!c._getCellFromElement(d.target)||d.relatedTarget&&c._getCellFromElement(d.relatedTarget)||c._ngZone.run(function(){return c.previewChange.emit({value:null,event:d})}))};this._mousedownHandler=function(d){if(c.isRange){c._didDragSinceMouseDown=!1;var e=d.target&&c._getCellFromElement(d.target);
e&&c._isInRange(e.rawValue)&&c._ngZone.run(function(){c.dragStarted.emit({value:e.rawValue,event:d})})}};this._mouseupHandler=function(d){if(c.isRange){var e=uma(d.target);e?e.closest(".mat-calendar-body")===c._elementRef.nativeElement&&c._ngZone.run(function(){var f=c._getCellFromElement(e),h;c.dragEnded.emit({value:null!=(h=null==f?void 0:f.rawValue)?h:null,event:d})}):c._ngZone.run(function(){c.dragEnded.emit({value:null,event:d})})}};this._touchendHandler=function(d){(d=yma(d))&&c._mouseupHandler({target:d})};
this._id="mat-calendar-body-"+zLb++;this._startDateLabelId=this._id+"-start-date";this._endDateLabelId=this._id+"-end-date";b.runOutsideAngular(function(){var d=a.nativeElement;d.addEventListener("mouseenter",c._enterHandler,!0);d.addEventListener("touchmove",c._touchmoveHandler,!0);d.addEventListener("focus",c._enterHandler,!0);d.addEventListener("mouseleave",c._leaveHandler,!0);d.addEventListener("blur",c._leaveHandler,!0);d.addEventListener("mousedown",c._mousedownHandler);d.addEventListener("touchstart",
c._mousedownHandler);c._platform.isBrowser&&(window.addEventListener("mouseup",c._mouseupHandler),window.addEventListener("touchend",c._touchendHandler))})};g=jA.prototype;g.ngAfterViewChecked=function(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)};g._cellClicked=function(a,b){this._didDragSinceMouseDown||a.enabled&&this.selectedValueChange.emit({value:a.value,event:b})};
g._emitActiveDateChange=function(a,b){a.enabled&&this.activeDateChange.emit({value:a.value,event:b})};g._isSelected=function(a){return this.startValue===a||this.endValue===a};g.ngOnChanges=function(a){var b=a.numCols,c=this.rows,d=this.numCols;if(a.rows||b)this._firstRowOffset=c&&c.length&&c[0].length?d-c[0].length:0;if(a.cellAspectRatio||b||!this._cellPadding)this._cellPadding=50*this.cellAspectRatio/d+"%";if(b||!this._cellWidth)this._cellWidth=100/d+"%"};
g.ngOnDestroy=function(){var a=this._elementRef.nativeElement;a.removeEventListener("mouseenter",this._enterHandler,!0);a.removeEventListener("touchmove",this._touchmoveHandler,!0);a.removeEventListener("focus",this._enterHandler,!0);a.removeEventListener("mouseleave",this._leaveHandler,!0);a.removeEventListener("blur",this._leaveHandler,!0);a.removeEventListener("mousedown",this._mousedownHandler);a.removeEventListener("touchstart",this._mousedownHandler);this._platform.isBrowser&&(window.removeEventListener("mouseup",
this._mouseupHandler),window.removeEventListener("touchend",this._touchendHandler))};g._isActiveCell=function(a,b){b=a*this.numCols+b;a&&(b-=this._firstRowOffset);return b==this.activeCell};g._focusActiveCell=function(a){var b=this;a=void 0===a?!0:a;this._ngZone.runOutsideAngular(function(){b._ngZone.onStable.pipe(Rf()).subscribe(function(){setTimeout(function(){var c=b._elementRef.nativeElement.querySelector(".mat-calendar-body-active");c&&(a||(b._skipNextFocus=!0),c.focus())})})})};
g._scheduleFocusActiveCellAfterViewChecked=function(){this._focusActiveCellAfterViewChecked=!0};g._isRangeStart=function(a){return vma(a,this.startValue,this.endValue)};g._isRangeEnd=function(a){return wma(a,this.startValue,this.endValue)};g._isInRange=function(a){return xma(a,this.startValue,this.endValue,this.isRange)};g._isComparisonStart=function(a){return vma(a,this.comparisonStart,this.comparisonEnd)};
g._isComparisonBridgeStart=function(a,b,c){if(!this._isComparisonStart(a)||this._isRangeStart(a)||!this._isInRange(a))return!1;a=this.rows[b][c-1];a||(a=(b=this.rows[b-1])&&b[b.length-1]);return a&&!this._isRangeEnd(a.compareValue)};g._isComparisonBridgeEnd=function(a,b,c){if(!this._isComparisonEnd(a)||this._isRangeEnd(a)||!this._isInRange(a))return!1;a=this.rows[b][c+1];a||(a=(b=this.rows[b+1])&&b[0]);return a&&!this._isRangeStart(a.compareValue)};
g._isComparisonEnd=function(a){return wma(a,this.comparisonStart,this.comparisonEnd)};g._isInComparisonRange=function(a){return xma(a,this.comparisonStart,this.comparisonEnd,this.isRange)};g._isComparisonIdentical=function(a){return this.comparisonStart===this.comparisonEnd&&a===this.comparisonStart};g._isPreviewStart=function(a){return vma(a,this.previewStart,this.previewEnd)};g._isPreviewEnd=function(a){return wma(a,this.previewStart,this.previewEnd)};
g._isInPreview=function(a){return xma(a,this.previewStart,this.previewEnd,this.isRange)};g._getDescribedby=function(a){return this.isRange?this.startValue===a&&this.endValue===a?this._startDateLabelId+" "+this._endDateLabelId:this.startValue===a?this._startDateLabelId:this.endValue===a?this._endDateLabelId:null:null};g._getCellFromElement=function(a){var b=uma(a);return b&&(a=b.getAttribute("data-mat-row"),b=b.getAttribute("data-mat-col"),a&&b)?this.rows[parseInt(a)][parseInt(b)]:null};
jA.\u0275fac=function(a){return new (a||jA)(A(ke),A(hg))};
jA.\u0275cmp=p({type:jA,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:[Hd],attrs:["mat-calendar-body",""],decls:6,vars:6,consts:[["aria-hidden","true",4,"ngIf"],["role","row",4,"ngFor","ngForOf"],[1,"mat-calendar-body-hidden-label",3,"id"],["aria-hidden","true"],[1,"mat-calendar-body-label"],["role","row"],["class","mat-calendar-body-label",
3,"paddingTop","paddingBottom",4,"ngIf"],["role","gridcell","class","mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom",4,"ngFor","ngForOf"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"ngClass","tabindex","click","focus"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(a,b){a&1&&(P(0,pma,3,6,"tr",0),P(1,sma,3,2,"tr",1),E(2,"label",
2),Q(3),F(),E(4,"label",2),Q(5),F());a&2&&(D("ngIf",b._firstRowOffset<b.labelMinRequiredCells),z(1),D("ngForOf",b.rows),z(1),D("id",b._startDateLabelId),z(1),R(" ",b.startDateAccessibleName,"\n"),z(1),D("id",b._endDateLabelId),z(1),R(" ",b.endDateAccessibleName,"\n"))},dependencies:[ww,xw,yw],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 ALb=new Bd("MAT_DATE_RANGE_SELECTION_STRATEGY");new Vu;new Wu;var kA=function(a,b,c,d,e){this._changeDetectorRef=a;this._dateFormats=b;this._dateAdapter=c;this._dir=d;this._rangeStrategy=e;this._rerenderSubscription=C.Subscription.EMPTY;this.activeDrag=null;this.selectedChange=new Rv;this._userSelection=new Rv;this.dragStarted=new Rv;this.dragEnded=new Rv;this.activeDateChange=new Rv;this._activeDate=new dp};g=kA.prototype;g.ngAfterContentInit=function(){var a=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(bg(null)).subscribe(function(){return a._init()})};
g.ngOnChanges=function(a){var b=a.comparisonStart||a.comparisonEnd;b&&!b.firstChange&&this._setRanges(this.selected);a.activeDrag&&!this.activeDrag&&this._clearPreview()};g.ngOnDestroy=function(){this._rerenderSubscription.unsubscribe()};g._dateSelected=function(a){var b=a.value,c=this._getDateFromDayOfMonth(b),d;(d=this._getDateInCurrentMonth(this._selected))===b&&d===b||this.selectedChange.emit(c);this._userSelection.emit({value:c,event:a.event});this._clearPreview();this._changeDetectorRef.markForCheck()};
g._updateActiveDate=function(a){var b=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(a.value);Qz(this._dateAdapter,b,this.activeDate)&&this.activeDateChange.emit(this._activeDate)};
g._handleCalendarBodyKeydown=function(a){var b=this._activeDate,c=this._isRtl();switch(a.keyCode){case 37:this.activeDate=lA(this._activeDate,c?1:-1);break;case 39:this.activeDate=lA(this._activeDate,c?-1:1);break;case 38:this.activeDate=lA(this._activeDate,-7);break;case 40:this.activeDate=lA(this._activeDate,7);break;case 36:this.activeDate=lA(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case 35:this.activeDate=lA(this._activeDate,BLb(this._activeDate)-this._dateAdapter.getDate(this._activeDate));
break;case 33:this.activeDate=a.altKey?mA(this._activeDate,-1):nA(this._activeDate,-1);break;case 34:this.activeDate=a.altKey?mA(this._activeDate,1):nA(this._activeDate,1);break;case 13:case 32:this._selectionKeyPressed=!0;this._canSelect(this._activeDate)&&a.preventDefault();return;case 27:null==this._previewEnd||hi(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}Qz(this._dateAdapter,b,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked());a.preventDefault()};g._handleCalendarBodyKeyup=function(a){if(32===a.keyCode||13===a.keyCode)this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:a}),this._selectionKeyPressed=!1};
g._init=function(){this._setRanges(this.selected);this._todayDate=this._getCellCompareValue(new dp);this._monthLabel=this._dateFormats.display.monthLabel?this._dateAdapter.format(this.activeDate,this._dateFormats.display.monthLabel):this._dateAdapter.locale.SHORTMONTHS[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();this._firstWeekOffset=(7+oA(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1).getDay()-this._dateAdapter.getFirstDayOfWeek())%
7;this._initWeekdays();this._createWeekCells();this._changeDetectorRef.markForCheck()};g._focusActiveCell=function(a){this._matCalendarBody._focusActiveCell(a)};g._focusActiveCellAfterViewChecked=function(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()};
g._previewChanged=function(a){var b=a.event;a=a.value;if(this._rangeStrategy){a=a?a.rawValue:null;var c=this._rangeStrategy.createPreview(a,this.selected,b);this._previewStart=this._getCellCompareValue(c.start);this._previewEnd=this._getCellCompareValue(c.end);if(this.activeDrag&&a){var d,e;if(c=null==(e=(d=this._rangeStrategy).createDrag)?void 0:e.call(d,this.activeDrag.value,this.selected,a,b))this._previewStart=this._getCellCompareValue(c.start),this._previewEnd=this._getCellCompareValue(c.end)}this._changeDetectorRef.detectChanges()}};
g._dragEnded=function(a){if(this.activeDrag)if(a.value){var b,c,d=null==(b=this._rangeStrategy)?void 0:null==(c=b.createDrag)?void 0:c.call(b,this.activeDrag.value,this.selected,a.value,a.event);this.dragEnded.emit({value:null!=d?d:null,event:a.event})}else this.dragEnded.emit({value:null,event:a.event})};g._getDateFromDayOfMonth=function(a){return oA(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),a)};
g._initWeekdays=function(){var a=this._dateAdapter.getFirstDayOfWeek(),b=CLb(this._dateAdapter,"narrow"),c=CLb(this._dateAdapter,"long").map(function(d,e){return{long:d,narrow:b[e]}});this._weekdays=c.slice(a).concat(c.slice(0,a))};
g._createWeekCells=function(){var a=BLb(this.activeDate),b=DLb;this._weeks=[[]];for(var c=0,d=this._firstWeekOffset;c<a;c++,d++){7==d&&(this._weeks.push([]),d=0);var e=oA(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),c+1),f=this._shouldEnableDate(e),h=this._dateAdapter.format(e,this._dateFormats.display.dateA11yLabel),l=this.dateClass?this.dateClass(e,"month"):void 0;this._weeks[this._weeks.length-1].push(new yLb(c+1,b[c],h,f,l,this._getCellCompareValue(e),
e))}};g._shouldEnableDate=function(a){return!!a&&(!this.minDate||0<=Qz(this._dateAdapter,a,this.minDate))&&(!this.maxDate||0>=Qz(this._dateAdapter,a,this.maxDate))&&(!this.dateFilter||this.dateFilter(a))};g._getDateInCurrentMonth=function(a){return a&&this._hasSameMonthAndYear(a,this.activeDate)?this._dateAdapter.getDate(a):null};g._hasSameMonthAndYear=function(a,b){return!(!a||!b||this._dateAdapter.getMonth(a)!=this._dateAdapter.getMonth(b)||this._dateAdapter.getYear(a)!=this._dateAdapter.getYear(b))};
g._getCellCompareValue=function(a){if(a){var b=this._dateAdapter.getYear(a),c=this._dateAdapter.getMonth(a);a=this._dateAdapter.getDate(a);return(new Date(b,c,a)).getTime()}return null};g._isRtl=function(){return this._dir&&"rtl"===this._dir.value};g._setRanges=function(a){this._rangeStart=this._rangeEnd=this._getCellCompareValue(a);this._isRange=!1;this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart);this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)};
g._canSelect=function(a){return!this.dateFilter||this.dateFilter(a)};g._clearPreview=function(){this._previewStart=this._previewEnd=null};
Xi.Object.defineProperties(kA.prototype,{activeDate:{configurable:!0,enumerable:!0,get:function(){return this._activeDate},set:function(a){var b=this._activeDate;a=Pz(this._dateAdapter,this._dateAdapter.deserialize(a))||new dp;this._activeDate=WKb(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=Pz(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=Pz(this._dateAdapter,this._dateAdapter.deserialize(a))}},maxDate:{configurable:!0,enumerable:!0,get:function(){return this._maxDate},set:function(a){this._maxDate=Pz(this._dateAdapter,this._dateAdapter.deserialize(a))}}});kA.\u0275fac=function(a){return new (a||kA)(A(qw),A(Rz,8),A(Nz,8),A(gz,8),A(ALb,8))};
kA.\u0275cmp=p({type:kA,selectors:[["mat-month-view"]],viewQuery:function(a,b){a&1&&ih(jA,5);if(a&2){var c;hh(c=kh())&&(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:[Hd],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&&(E(0,"table",0)(1,"thead",1)(2,"tr"),P(3,zma,5,2,"th",2),F(),E(4,"tr"),H(5,"th",3),F()(),E(6,"tbody",4),K("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)}),F()());a&2&&(z(3),D("ngForOf",b._weekdays),z(3),D("label",b._monthLabel)("rows",b._weeks)("todayValue",b._todayDate)("startValue",b._rangeStart)("endValue",b._rangeEnd)("comparisonStart",b._comparisonRangeStart)("comparisonEnd",b._comparisonRangeEnd)("previewStart",
b._previewStart)("previewEnd",b._previewEnd)("isRange",b._isRange)("labelMinRequiredCells",3)("activeCell",b._dateAdapter.getDate(b.activeDate)-1)("startDateAccessibleName",b.startDateAccessibleName)("endDateAccessibleName",b.endDateAccessibleName))},dependencies:[xw,jA],encapsulation:2,changeDetection:0});var pA=function(a,b,c){this._changeDetectorRef=a;this._dateAdapter=b;this._dir=c;this._rerenderSubscription=C.Subscription.EMPTY;this.selectedChange=new Rv;this.yearSelected=new Rv;this.activeDateChange=new Rv;this._activeDate=new dp};g=pA.prototype;g.ngAfterContentInit=function(){var a=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(bg(null)).subscribe(function(){return a._init()})};g.ngOnDestroy=function(){this._rerenderSubscription.unsubscribe()};
g._init=function(){var a=this;this._todayYear=this._dateAdapter.getYear(new dp);var b=this._dateAdapter.getYear(this._activeDate)-cj(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(var c=0,d=[];24>c;c++)d.push(b+c),4==d.length&&(this._years.push(d.map(function(e){return a._createCellForYear(e)})),d=[]);this._changeDetectorRef.markForCheck()};g._yearSelected=function(a){var b=a.value;a=oA(b,0,1);b=this._getDateFromYear(b);this.yearSelected.emit(a);this.selectedChange.emit(b)};
g._updateActiveDate=function(a){var b=this._activeDate;this.activeDate=this._getDateFromYear(a.value);Qz(this._dateAdapter,b,this.activeDate)&&this.activeDateChange.emit(this.activeDate)};
g._handleCalendarBodyKeydown=function(a){var b=this._activeDate,c=this._isRtl();switch(a.keyCode){case 37:this.activeDate=mA(this._activeDate,c?1:-1);break;case 39:this.activeDate=mA(this._activeDate,c?-1:1);break;case 38:this.activeDate=mA(this._activeDate,-4);break;case 40:this.activeDate=mA(this._activeDate,4);break;case 36:this.activeDate=mA(this._activeDate,-cj(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case 35:this.activeDate=mA(this._activeDate,24-cj(this._dateAdapter,
this.activeDate,this.minDate,this.maxDate)-1);break;case 33:this.activeDate=mA(this._activeDate,a.altKey?-240:-24);break;case 34:this.activeDate=mA(this._activeDate,a.altKey?240:24);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}Qz(this._dateAdapter,b,this.activeDate)&&this.activeDateChange.emit(this.activeDate);this._focusActiveCellAfterViewChecked();a.preventDefault()};
g._handleCalendarBodyKeyup=function(a){if(32===a.keyCode||13===a.keyCode)this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:a}),this._selectionKeyPressed=!1};g._getActiveCell=function(){return cj(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)};g._focusActiveCell=function(){this._matCalendarBody._focusActiveCell()};g._focusActiveCellAfterViewChecked=function(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()};
g._getDateFromYear=function(a){var b=this._dateAdapter.getMonth(this.activeDate);var c=oA(a,b,1);c=BLb(c);return oA(a,b,Math.min(this._dateAdapter.getDate(this.activeDate),c))};g._createCellForYear=function(a){var b=oA(a,0,1),c=""+b.getFullYear();b=this.dateClass?this.dateClass(b,"multi-year"):void 0;return new yLb(a,c,c,this._shouldEnableYear(a),b)};
g._shouldEnableYear=function(a){if(void 0===a||null===a||this.maxDate&&a>this._dateAdapter.getYear(this.maxDate)||this.minDate&&a<this._dateAdapter.getYear(this.minDate))return!1;if(!this.dateFilter)return!0;for(var b=oA(a,0,1);this._dateAdapter.getYear(b)==a;b=lA(b,1))if(this.dateFilter(b))return!0;return!1};g._isRtl=function(){return this._dir&&"rtl"===this._dir.value};g._setSelectedYear=function(a){this._selectedYear=null;a&&(this._selectedYear=this._dateAdapter.getYear(a))};
Xi.Object.defineProperties(pA.prototype,{activeDate:{configurable:!0,enumerable:!0,get:function(){return this._activeDate},set:function(a){var b=this._activeDate;a=Pz(this._dateAdapter,this._dateAdapter.deserialize(a))||new dp;this._activeDate=WKb(this._dateAdapter,a,this.minDate,this.maxDate);Bma(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=Pz(this._dateAdapter,
this._dateAdapter.deserialize(a));this._setSelectedYear(a)}},minDate:{configurable:!0,enumerable:!0,get:function(){return this._minDate},set:function(a){this._minDate=Pz(this._dateAdapter,this._dateAdapter.deserialize(a))}},maxDate:{configurable:!0,enumerable:!0,get:function(){return this._maxDate},set:function(a){this._maxDate=Pz(this._dateAdapter,this._dateAdapter.deserialize(a))}}});pA.\u0275fac=function(a){return new (a||pA)(A(qw),A(Nz,8),A(gz,8))};
pA.\u0275cmp=p({type:pA,selectors:[["mat-multi-year-view"]],viewQuery:function(a,b){a&1&&ih(jA,5);if(a&2){var c;hh(c=kh())&&(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&&(E(0,"table",0)(1,"thead",1)(2,"tr"),H(3,"th",2),F()(),E(4,"tbody",3),K("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)}),F()());a&2&&(z(4),D("rows",b._years)("todayValue",b._todayYear)("startValue",b._selectedYear)("endValue",b._selectedYear)("numCols",4)("cellAspectRatio",4/7)("activeCell",b._getActiveCell()))},dependencies:[jA],encapsulation:2,changeDetection:0});var qA=function(a,b,c,d){this._changeDetectorRef=a;this._dateFormats=b;this._dateAdapter=c;this._dir=d;this._rerenderSubscription=C.Subscription.EMPTY;this.selectedChange=new Rv;this.monthSelected=new Rv;this.activeDateChange=new Rv;this._activeDate=new dp};g=qA.prototype;g.ngAfterContentInit=function(){var a=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(bg(null)).subscribe(function(){return a._init()})};g.ngOnDestroy=function(){this._rerenderSubscription.unsubscribe()};
g._monthSelected=function(a){a=a.value;var b=oA(this._dateAdapter.getYear(this.activeDate),a,1);this.monthSelected.emit(b);a=this._getDateFromMonth(a);this.selectedChange.emit(a)};g._updateActiveDate=function(a){var b=this._activeDate;this.activeDate=this._getDateFromMonth(a.value);Qz(this._dateAdapter,b,this.activeDate)&&this.activeDateChange.emit(this.activeDate)};
g._handleCalendarBodyKeydown=function(a){var b=this._activeDate,c=this._isRtl();switch(a.keyCode){case 37:this.activeDate=nA(this._activeDate,c?1:-1);break;case 39:this.activeDate=nA(this._activeDate,c?-1:1);break;case 38:this.activeDate=nA(this._activeDate,-4);break;case 40:this.activeDate=nA(this._activeDate,4);break;case 36:this.activeDate=nA(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case 35:this.activeDate=nA(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));
break;case 33:this.activeDate=mA(this._activeDate,a.altKey?-10:-1);break;case 34:this.activeDate=mA(this._activeDate,a.altKey?10:1);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}Qz(this._dateAdapter,b,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked());a.preventDefault()};
g._handleCalendarBodyKeyup=function(a){if(32===a.keyCode||13===a.keyCode)this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:a}),this._selectionKeyPressed=!1};
g._init=function(){var a=this;this._setSelectedMonth(this.selected);this._todayMonth=this._getMonthInCurrentYear(new dp);this._yearLabel=""+this.activeDate.getFullYear();var b=this._dateAdapter.locale.SHORTMONTHS;this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(function(c){return c.map(function(d){return a._createCellForMonth(d,b[d])})});this._changeDetectorRef.markForCheck()};g._focusActiveCell=function(){this._matCalendarBody._focusActiveCell()};g._focusActiveCellAfterViewChecked=function(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()};
g._getMonthInCurrentYear=function(a){return a&&this._dateAdapter.getYear(a)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(a):null};g._getDateFromMonth=function(a){var b=oA(this._dateAdapter.getYear(this.activeDate),a,1);b=BLb(b);return oA(this._dateAdapter.getYear(this.activeDate),a,Math.min(this._dateAdapter.getDate(this.activeDate),b))};
g._createCellForMonth=function(a,b){var c=oA(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 yLb(a,b.toLocaleUpperCase(),d,this._shouldEnableMonth(a),c)};
g._shouldEnableMonth=function(a){var b=this._dateAdapter.getYear(this.activeDate);if(void 0===a||null===a||this._isYearAndMonthAfterMaxDate(b,a)||this._isYearAndMonthBeforeMinDate(b,a))return!1;if(!this.dateFilter)return!0;for(b=oA(b,a,1);this._dateAdapter.getMonth(b)==a;b=lA(b,1))if(this.dateFilter(b))return!0;return!1};g._isYearAndMonthAfterMaxDate=function(a,b){if(this.maxDate){var c=this._dateAdapter.getYear(this.maxDate),d=this._dateAdapter.getMonth(this.maxDate);return a>c||a===c&&b>d}return!1};
g._isYearAndMonthBeforeMinDate=function(a,b){if(this.minDate){var c=this._dateAdapter.getYear(this.minDate),d=this._dateAdapter.getMonth(this.minDate);return a<c||a===c&&b<d}return!1};g._isRtl=function(){return this._dir&&"rtl"===this._dir.value};g._setSelectedMonth=function(a){this._selectedMonth=this._getMonthInCurrentYear(a)};
Xi.Object.defineProperties(qA.prototype,{activeDate:{configurable:!0,enumerable:!0,get:function(){return this._activeDate},set:function(a){var b=this._activeDate;a=Pz(this._dateAdapter,this._dateAdapter.deserialize(a))||new dp;this._activeDate=WKb(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=Pz(this._dateAdapter,
this._dateAdapter.deserialize(a));this._setSelectedMonth(a)}},minDate:{configurable:!0,enumerable:!0,get:function(){return this._minDate},set:function(a){this._minDate=Pz(this._dateAdapter,this._dateAdapter.deserialize(a))}},maxDate:{configurable:!0,enumerable:!0,get:function(){return this._maxDate},set:function(a){this._maxDate=Pz(this._dateAdapter,this._dateAdapter.deserialize(a))}}});qA.\u0275fac=function(a){return new (a||qA)(A(qw),A(Rz,8),A(Nz,8),A(gz,8))};
qA.\u0275cmp=p({type:qA,selectors:[["mat-year-view"]],viewQuery:function(a,b){a&1&&ih(jA,5);if(a&2){var c;hh(c=kh())&&(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&&(E(0,"table",0)(1,"thead",1)(2,"tr"),H(3,"th",2),F()(),E(4,"tbody",3),K("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)}),F()());a&2&&(z(4),D("label",b._yearLabel)("rows",b._months)("todayValue",b._todayMonth)("startValue",b._selectedMonth)("endValue",b._selectedMonth)("labelMinRequiredCells",2)("numCols",4)("cellAspectRatio",4/7)("activeCell",b._dateAdapter.getMonth(b.activeDate)))},dependencies:[jA],encapsulation:2,changeDetection:0});var ELb=1,rA=function(a,b,c,d,e){this._intl=a;this.calendar=b;this._dateAdapter=c;this._dateFormats=d;this._id="mat-calendar-header-"+ELb++;this._periodButtonLabelId=this._id+"-period-label";this.calendar.stateChanges.subscribe(function(){return e.markForCheck()})};
rA.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):Bma(this._dateAdapter,a,b,this.calendar.minDate,this.calendar.maxDate)};
rA.prototype._formatMinAndMaxYearLabels=function(){var a=this._dateAdapter.getYear(this.calendar.activeDate)-cj(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),b=a+24-1;a=""+oA(a,0,1).getFullYear();b=""+oA(b,0,1).getFullYear();return[a,b]};
Xi.Object.defineProperties(rA.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,r(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,r(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]}}});rA.\u0275fac=function(a){return new (a||rA)(A(iA),A(cd(function(){return sA})),A(Nz,8),A(Rz,8),A(qw))};
rA.\u0275cmp=p({type:rA,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&&(Ng(),E(0,"div",0)(1,"div",1)(2,"button",2),K("click",function(){b.calendar.currentView="month"==b.calendar.currentView?"multi-year":"month"}),E(3,"span",3),Q(4),F(),Sd(),E(5,"svg",4),H(6,"polygon",5),F()(),Td(),H(7,"div",6),Og(8),E(9,"button",7),K("click",function(){b.calendar.activeDate="month"==b.calendar.currentView?
nA(b.calendar.activeDate,-1):mA(b.calendar.activeDate,"year"==b.calendar.currentView?-1:-24)}),F(),E(10,"button",8),K("click",function(){b.calendar.activeDate="month"==b.calendar.currentView?nA(b.calendar.activeDate,1):mA(b.calendar.activeDate,"year"==b.calendar.currentView?1:24)}),F()()(),E(11,"label",9),Q(12),F());a&2&&(z(2),ug("aria-label",b.periodButtonLabel)("aria-describedby",b._periodButtonLabelId),z(2),Sg(b.periodButtonText),z(1),Fg("mat-calendar-invert","month"!==b.calendar.currentView),
z(4),D("disabled",!(b.calendar.minDate?!b.calendar.minDate||!b._isSameView(b.calendar.activeDate,b.calendar.minDate):1)),ug("aria-label",b.prevButtonLabel),z(1),D("disabled",!(!b.calendar.maxDate||!b._isSameView(b.calendar.activeDate,b.calendar.maxDate))),ug("aria-label",b.nextButtonLabel),z(1),D("id",b._periodButtonLabelId),z(1),Sg(b.periodButtonDescription))},dependencies:[dA,fA],encapsulation:2,changeDetection:0});
var sA=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 Rv;this.yearSelected=new Rv;this.monthSelected=new Rv;this.viewChanged=new Rv(!0);this._userSelection=new Rv;this._userDragDrop=new Rv;this._activeDrag=null;this.stateChanges=new C.Subject;this._intlChanges=a.changes.subscribe(function(){d.markForCheck();e.stateChanges.next()})};g=sA.prototype;
g.ngAfterContentInit=function(){this._calendarHeaderPortal=new Lx(this.headerComponent||rA);this.activeDate=this.startAt||new dp;this._currentView=this.startView};g.ngAfterViewChecked=function(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this._getCurrentViewComponent()._focusActiveCell(!1))};g.ngOnDestroy=function(){this._intlChanges.unsubscribe();this.stateChanges.complete()};
g.ngOnChanges=function(a){var b=a.minDate&&!this._dateAdapter.sameDate(a.minDate.previousValue,a.minDate.currentValue)?a.minDate:void 0,c=a.maxDate&&!this._dateAdapter.sameDate(a.maxDate.previousValue,a.maxDate.currentValue)?a.maxDate:void 0;(a=b||c||a.dateFilter)&&!a.firstChange&&(a=this._getCurrentViewComponent())&&(this._changeDetectorRef.detectChanges(),a._init());this.stateChanges.next()};
g._dateSelected=function(a){var b=a.value;b&&!this._dateAdapter.sameDate(b,this.selected)&&this.selectedChange.emit(b);this._userSelection.emit(a)};g._yearSelectedInMultiYearView=function(a){this.yearSelected.emit(a)};g._monthSelectedInYearView=function(a){this.monthSelected.emit(a)};g._goToDateInView=function(a,b){this.activeDate=a;this.currentView=b};g._dragStarted=function(a){this._activeDrag=a};g._dragEnded=function(a){this._activeDrag&&(a.value&&this._userDragDrop.emit(a),this._activeDrag=null)};
g._getCurrentViewComponent=function(){return this.monthView||this.yearView||this.multiYearView};
Xi.Object.defineProperties(sA.prototype,{startAt:{configurable:!0,enumerable:!0,get:function(){return this._startAt},set:function(a){this._startAt=Pz(this._dateAdapter,this._dateAdapter.deserialize(a))}},selected:{configurable:!0,enumerable:!0,get:function(){return this._selected},set:function(a){this._selected=Pz(this._dateAdapter,this._dateAdapter.deserialize(a))}},minDate:{configurable:!0,enumerable:!0,get:function(){return this._minDate},set:function(a){this._minDate=Pz(this._dateAdapter,this._dateAdapter.deserialize(a))}},
maxDate:{configurable:!0,enumerable:!0,get:function(){return this._maxDate},set:function(a){this._maxDate=Pz(this._dateAdapter,this._dateAdapter.deserialize(a))}},activeDate:{configurable:!0,enumerable:!0,get:function(){return this._clampedActiveDate},set:function(a){this._clampedActiveDate=WKb(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)}}});sA.\u0275fac=function(a){return new (a||sA)(A(iA),A(Nz,8),A(Rz,8),A(qw))};
sA.\u0275cmp=p({type:sA,selectors:[["mat-calendar"]],viewQuery:function(a,b){a&1&&(ih(kA,5),ih(qA,5),ih(pA,5));if(a&2){var c;hh(c=kh())&&(b.monthView=c.first);hh(c=kh())&&(b.yearView=c.first);hh(c=kh())&&(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:[Ug([xLb]),Hd],decls:5,vars:5,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content",3,"ngSwitch"],[3,"activeDate","selected","dateFilter",
"maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag","activeDateChange","_userSelection","dragStarted","dragEnded",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate",
"selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag","activeDateChange","_userSelection","dragStarted","dragEnded"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange"]],template:function(a,b){a&1&&(P(0,Cma,
0,0,"ng-template",0),E(1,"div",1),P(2,Dma,1,11,"mat-month-view",2),P(3,Ema,1,6,"mat-year-view",3),P(4,Fma,1,6,"mat-multi-year-view",4),F());a&2&&(D("cdkPortalOutlet",b._calendarHeaderPortal),z(1),D("ngSwitch",b.currentView),z(1),D("ngSwitchCase","month"),z(1),D("ngSwitchCase","year"),z(1),D("ngSwitchCase","multi-year"))},dependencies:[zw,Aw,Jx,Qx,kA,qA,pA],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 FLb=["mat-button",""],GLb=["*"],HLb=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"},
ILb="mat-button mat-flat-button mat-icon-button mat-raised-button mat-stroked-button mat-mini-fab mat-fab".split(" "),JLb=Yi($i(Zi(function(a){this._elementRef=a}))),tA=function(a,b,c){var d=JLb.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=m(ILb),f=e.next();!f.done;f=e.next())f=f.value,d._hasHostAttributes(f)&&d._getHostElement().classList.add(f);a.nativeElement.classList.add("mat-button-base");
d.isRoundButton&&(d.color="accent");return d};W(tA,JLb);g=tA.prototype;g.ngAfterViewInit=function(){this._focusMonitor.monitor(this._elementRef,!0)};g.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef)};g.focus=function(a,b){a?Ix(this._focusMonitor,this._getHostElement(),a,b):this._getHostElement().focus(b)};g._getHostElement=function(){return this._elementRef.nativeElement};g._isRippleDisabled=function(){return this.disableRipple||this.disabled};
g._hasHostAttributes=function(){var a=this;return yd.apply(0,arguments).some(function(b){return a._getHostElement().hasAttribute(b)})};tA.\u0275fac=function(a){return new (a||tA)(A(ke),A(Hx),A(cv,8))};
tA.\u0275cmp=p({type:tA,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&&ih(Wz,5);if(a&2){var c;hh(c=kh())&&(b.ripple=c.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(a,b){a&2&&(ug("disabled",b.disabled||null),Fg("_mat-animation-noopable","NoopAnimations"===b._animationMode)("mat-button-disabled",
b.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[qg],attrs:FLb,ngContentSelectors:GLb,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&&(Ng(),E(0,"span",0),Og(1),F(),H(2,"span",1)(3,"span",2));a&2&&(z(2),Fg("mat-button-ripple-round",b.isRoundButton||b.isIconButton),D("matRippleDisabled",
b._isRippleDisabled())("matRippleCentered",b.isIconButton)("matRippleTrigger",b._getHostElement()))},dependencies:[Wz],styles:[HLb()],encapsulation:2,changeDetection:0});var uA=function(a,b,c,d){var e=tA.call(this,b,a,c)||this;e._ngZone=d;e._haltDisabledEvents=function(f){e.disabled&&(f.preventDefault(),f.stopImmediatePropagation())};return e};W(uA,tA);
uA.prototype.ngAfterViewInit=function(){var a=this;tA.prototype.ngAfterViewInit.call(this);this._ngZone?this._ngZone.runOutsideAngular(function(){a._elementRef.nativeElement.addEventListener("click",a._haltDisabledEvents)}):this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)};uA.prototype.ngOnDestroy=function(){tA.prototype.ngOnDestroy.call(this);this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)};
uA.\u0275fac=function(a){return new (a||uA)(A(Hx),A(ke),A(cv,8),A(hg,8))};
uA.\u0275cmp=p({type:uA,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&&(ug("tabindex",b.disabled?-1:b.tabIndex)("disabled",b.disabled||null)("aria-disabled",b.disabled.toString()),Fg("_mat-animation-noopable","NoopAnimations"===b._animationMode)("mat-button-disabled",b.disabled))},
inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[qg],attrs:FLb,ngContentSelectors:GLb,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&&(Ng(),E(0,"span",0),Og(1),F(),H(2,"span",1)(3,"span",2));a&2&&(z(2),Fg("mat-button-ripple-round",b.isRoundButton||b.isIconButton),
D("matRippleDisabled",b._isRippleDisabled())("matRippleCentered",b.isIconButton)("matRippleTrigger",b._getHostElement()))},dependencies:[Wz],styles:[HLb()],encapsulation:2,changeDetection:0});var vA=function(a,b,c,d){return Yz.call(this,a,b,c,d)||this};W(vA,Yz);vA.\u0275fac=function(a){return new (a||vA)(A(ke),A(qw),A(XKb,8),A(YKb,8))};
vA.\u0275cmp=p({type:vA,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(a,b){a&1&&K("click",function(){return b._selectViaInteraction()})("keydown",function(c){return b._handleKeydown(c)});a&2&&(Lg("id",b.id),ug("tabindex",b._getTabIndex())("aria-selected",b.selected)("aria-disabled",b.disabled.toString()),Fg("mat-selected",b.selected)("mat-option-multiple",b.multiple)("mat-active",b.active)("mat-option-disabled",b.disabled))},
exportAs:["matOption"],features:[qg],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&&(Ng(),P(0,Gma,1,2,"mat-pseudo-checkbox",0),E(1,"span",1,2),Og(3),F(),P(4,Hma,2,1,"span",
3),H(5,"div",4));a&2&&(D("ngIf",b.multiple),z(4),D("ngIf",b.group&&b.group._inert),z(1),D("matRippleTrigger",b._getHostElement())("matRippleDisabled",b.disabled||b.disableRipple))},dependencies:[Wz,yw,Xz],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 wA=function(){};wA.\u0275fac=function(a){return new (a||wA)};wA.\u0275mod=od({type:wA});wA.\u0275inj=Wc({imports:[Zz,Mw,Mz,$z]});var KLb={params:{enterAnimationDuration:"150ms",exitAnimationDuration:"75ms"}},LLb=ri("dialogContainer",[ui("void, exit",ti({opacity:0,transform:"scale(0.7)"})),ui("enter",ti({transform:"none"})),vi("* => enter",{type:3,steps:[si("{{enterAnimationDuration}} cubic-bezier(0, 0, 0.2, 1)",ti({transform:"none",opacity:1})),xi("@*",wi())],options:null},KLb),vi("* => void, * => exit",{type:3,steps:[si("{{exitAnimationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)",ti({opacity:0})),xi("@*",wi())],options:null},
KLb)]);var xA=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 MLb=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 yA=function(a,b,c,d,e,f,h,l){this._isDisposed=!1;this._elementRef=a;this._focusTrapFactory=b;this._config=d;this._interactivityChecker=e;this._ngZone=f;this._overlayRef=h;this._focusMonitor=l;this._closeInteractionType=this._elementFocusedBeforeDialogWasOpened=null;this._ariaLabelledBy=this._config.ariaLabelledBy||null;this._document=c};W(yA,Nx);g=yA.prototype;g._contentAttached=function(){this._initializeFocusTrap();this._handleBackdropClicks();this._captureInitialFocus()};
g._captureInitialFocus=function(){this._trapFocus()};g.ngOnDestroy=function(){this._restoreFocus()};g.attachComponentPortal=function(a){a=this._portalOutlet.attachComponentPortal(a);this._contentAttached();return a};g.attachTemplatePortal=function(a){a=this._portalOutlet.attachTemplatePortal(a);this._contentAttached();return a};g._recaptureFocus=function(){this._containsFocus()||this._trapFocus()};
g._forceFocus=function(a,b){this._interactivityChecker.isFocusable(a)||(a.tabIndex=-1,this._ngZone.runOutsideAngular(function(){var c=function(){a.removeEventListener("blur",c);a.removeEventListener("mousedown",c);a.removeAttribute("tabindex")};a.addEventListener("blur",c);a.addEventListener("mousedown",c)}));a.focus(b)};g._focusByCssSelector=function(a,b){(a=this._elementRef.nativeElement.querySelector(a))&&this._forceFocus(a,b)};
g._trapFocus=function(){var a=this,b=this._elementRef.nativeElement;switch(this._config.autoFocus){case !1:case "dialog":this._containsFocus()||b.focus();break;case !0:case "first-tabbable":$Hb(this._focusTrap).then(function(c){c||a._focusDialogContainer()});break;case "first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}};
g._restoreFocus=function(){var a=this._config.restoreFocus,b=null;"string"===typeof a?b=this._document.querySelector(a):"boolean"===typeof a?b=a?this._elementFocusedBeforeDialogWasOpened:null:a&&(b=a);if(this._config.restoreFocus&&b&&"function"===typeof b.focus){a=Zh();var c=this._elementRef.nativeElement;if(!a||a===this._document.body||a===c||c.contains(a))this._focusMonitor?(Ix(this._focusMonitor,b,this._closeInteractionType),this._closeInteractionType=null):b.focus()}this._focusTrap&&this._focusTrap.destroy()};
g._focusDialogContainer=function(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()};g._containsFocus=function(){var a=this._elementRef.nativeElement,b=Zh();return a===b||a.contains(b)};g._initializeFocusTrap=function(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement);this._document&&(this._elementFocusedBeforeDialogWasOpened=Zh())};
g._handleBackdropClicks=function(){var a=this;this._overlayRef.backdropClick().subscribe(function(){a._config.disableClose&&a._recaptureFocus()})};yA.\u0275fac=function(a){return new (a||yA)(A(ke),A(Dx),A(Vi,8),A(MLb),A(zx),A(hg),A(Bz),A(Hx))};
yA.\u0275cmp=p({type:yA,selectors:[["cdk-dialog-container"]],viewQuery:function(a,b){a&1&&ih(Qx,7);if(a&2){var c;hh(c=kh())&&(b._portalOutlet=c.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(a,b){a&2&&ug("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:[qg],decls:1,
vars:0,consts:[["cdkPortalOutlet",""]],template:function(a){a&1&&P(0,Ima,0,0,"ng-template",0)},dependencies:[Qx],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}\n"],encapsulation:2});var NLb=new Bd("DialogScrollStrategy"),OLb=new Bd("DialogData"),PLb=new Bd("DefaultDialogConfig"),QLb={provide:NLb,deps:[Iz],useFactory:function(a){return function(){return a.scrollStrategies.block()}}};var RLb=function(a,b){var c=this;this.overlayRef=a;this.config=b;this.closed=new C.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||hi(d)||(d.preventDefault(),c.close(void 0,{focusOrigin:"keyboard"}))});this.backdropClick.subscribe(function(){c.disableClose||c.close(void 0,{focusOrigin:"mouse"})});
this._detachSubscription=a._detachments.subscribe(function(){!1!==b.closeOnOverlayDetachments&&c.close()})};g=RLb.prototype;g.close=function(a,b){if(this.containerInstance){var c=this.closed;this.containerInstance._closeInteractionType=(null==b?void 0:b.focusOrigin)||"program";this._detachSubscription.unsubscribe();this.overlayRef.dispose();c.next(a);c.complete();this.componentInstance=this.containerInstance=null}};g.updatePosition=function(){this.overlayRef.updatePosition()};
g.updateSize=function(a,b){this.overlayRef.updateSize({width:void 0===a?"":a,height:void 0===b?"":b})};g.addPanelClass=function(a){this.overlayRef.addPanelClass(a)};g.removePanelClass=function(a){this.overlayRef.removePanelClass(a)};var SLb=0,zA=function(a,b,c,d,e,f){var h=this;this._overlay=a;this._injector=b;this._defaultOptions=c;this._parentDialog=d;this._overlayContainer=e;this._openDialogsAtThisLevel=[];this._afterAllClosedAtThisLevel=new C.Subject;this._afterOpenedAtThisLevel=new C.Subject;this._ariaHiddenElements=new Map;(0,C.defer)(function(){return h.openDialogs.length?h._getAfterAllClosed():h._getAfterAllClosed().pipe(bg(void 0))});this._scrollStrategy=f};g=zA.prototype;
g.open=function(a,b){var c=this;b=Object.assign({},this._defaultOptions||new MLb,b);b.id=b.id||"cdk-dialog-"+SLb++;b.id&&this.getDialogById(b.id);var d=this._getOverlayConfig(b);d=this._overlay.create(d);var e=new RLb(d,b);d=this._attachContainer(d,e,b);e.containerInstance=d;this._attachDialogContent(a,e,d,b);this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology();this.openDialogs.push(e);e.closed.subscribe(function(){return c._removeOpenDialog(e,!0)});this.afterOpened.next(e);
return e};g.getDialogById=function(a){this.openDialogs.find(function(b){return b.id===a})};g.ngOnDestroy=function(){var a=this;Jma(this._openDialogsAtThisLevel,function(b){!1===b.config.closeOnDestroy&&a._removeOpenDialog(b,!1)});Jma(this._openDialogsAtThisLevel,function(b){return b.close()});this._afterAllClosedAtThisLevel.complete();this._afterOpenedAtThisLevel.complete();this._openDialogsAtThisLevel=[]};
g._getOverlayConfig=function(a){var b=new Az({positionStrategy:a.positionStrategy||QKb(PKb(this._overlay.position().global())),scrollStrategy:a.scrollStrategy||this._scrollStrategy(),panelClass:a.panelClass,hasBackdrop:a.hasBackdrop,direction:a.direction,minWidth:a.minWidth,minHeight:a.minHeight,maxWidth:a.maxWidth,maxHeight:a.maxHeight,width:a.width,height:a.height,disposeOnNavigation:a.closeOnNavigation});a.backdropClass&&(b.backdropClass=a.backdropClass);return b};
g._attachContainer=function(a,b,c){var d,e=c.injector||(null==(d=c.viewContainerRef)?void 0:d.injector);b=[{provide:MLb,useValue:c},{provide:RLb,useValue:b},{provide:Bz,useValue:a}];c.container?"function"===typeof c.container?d=c.container:(d=c.container.type,b.push.apply(b,r(c.container.providers(c)))):d=yA;c=new Lx(d,c.viewContainerRef,mg({parent:e||this._injector,providers:b}),c.componentFactoryResolver);return a.attach(c).instance};
g._attachDialogContent=function(a,b,c,d){if(a instanceof eh){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 Mx(a,null,b,e))}else e=this._createInjector(d,b,c,this._injector),a=c.attachComponentPortal(new Lx(a,d.viewContainerRef,e,d.componentFactoryResolver)),b.componentInstance=a.instance};
g._createInjector=function(a,b,c,d){var e,f=a.injector||(null==(e=a.viewContainerRef)?void 0:e.injector);e=[{provide:OLb,useValue:a.data},{provide:RLb,useValue:b}];a.providers&&("function"===typeof a.providers?e.push.apply(e,r(a.providers(b,a,c))):e.push.apply(e,r(a.providers)));!a.direction||f&&f.get(gz,null,{optional:!0})||e.push({provide:gz,useValue:{value:a.direction,change:(0,C.of)()}});return mg({parent:f||d,providers:e})};
g._removeOpenDialog=function(a,b){a=this.openDialogs.indexOf(a);-1<a&&(this.openDialogs.splice(a,1),this.openDialogs.length||(this._ariaHiddenElements.forEach(function(c,d){c?d.setAttribute("aria-hidden",c):d.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),b&&this._getAfterAllClosed().next()))};
g._hideNonDialogContentFromAssistiveTechnology=function(){var a=vKb(this._overlayContainer);if(a.parentElement)for(var b=a.parentElement.children,c=b.length-1;-1<c;c--){var d=b[c];d===a||"SCRIPT"===d.nodeName||"STYLE"===d.nodeName||d.hasAttribute("aria-live")||(this._ariaHiddenElements.set(d,d.getAttribute("aria-hidden")),d.setAttribute("aria-hidden","true"))}};g._getAfterAllClosed=function(){var a=this._parentDialog;return a?a._getAfterAllClosed():this._afterAllClosedAtThisLevel};
Xi.Object.defineProperties(zA.prototype,{openDialogs:{configurable:!0,enumerable:!0,get:function(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}},afterOpened:{configurable:!0,enumerable:!0,get:function(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}}});zA.\u0275fac=function(a){return new (a||zA)(n(Iz),n(Zu),n(PLb,8),n(zA,12),n(lz),n(NLb))};zA.\u0275prov=Vc({token:zA,factory:zA.\u0275fac});var AA=function(){};AA.\u0275fac=function(a){return new (a||AA)};AA.\u0275mod=od({type:AA});AA.\u0275inj=Wc({providers:[zA,QLb],imports:[Lz,Rx,Uy,Rx]});var BA=function(a,b,c,d,e,f,h,l){yA.call(this,a,b,c,d,e,f,h,l);this._animationStateChanged=new Rv};W(BA,yA);BA.prototype._captureInitialFocus=function(){this._config.delayFocusTrap||this._trapFocus()};BA.prototype._openAnimationDone=function(a){this._config.delayFocusTrap&&this._trapFocus();this._animationStateChanged.next({state:"opened",totalTime:a})};BA.\u0275fac=function(a){return new (a||BA)(A(ke),A(Dx),A(Vi,8),A(xA),A(zx),A(hg),A(Bz),A(Hx))};
BA.\u0275cmp=p({type:BA,selectors:[["ng-component"]],features:[qg],decls:0,vars:0,template:function(){},encapsulation:2});var CA=function(a,b,c){var d=this;this._ref=a;this._containerInstance=c;this._afterOpened=new C.Subject;this._beforeClosed=new C.Subject;this._state=0;this.disableClose=b.disableClose;this.id=a.id;c._animationStateChanged.pipe(Gf(function(e){return"opened"===e.state}),Rf()).subscribe(function(){d._afterOpened.next();d._afterOpened.complete()});c._animationStateChanged.pipe(Gf(function(e){return"closed"===e.state}),Rf()).subscribe(function(){clearTimeout(d._closeFallbackTimeout);d._finishDialogClose()});
a.overlayRef._detachments.subscribe(function(){d._beforeClosed.next(d._result);d._beforeClosed.complete();d._finishDialogClose()});(0,C.merge)(this.backdropClick(),this.keydownEvents().pipe(Gf(function(e){return 27===e.keyCode&&!d.disableClose&&!hi(e)}))).subscribe(function(e){d.disableClose||(e.preventDefault(),d._closeInteractionType="keydown"===e.type?"keyboard":"mouse",d.close(void 0))})};
CA.prototype.close=function(a){var b=this;this._result=a;this._containerInstance._animationStateChanged.pipe(Gf(function(c){return"closing"===c.state}),Rf()).subscribe(function(c){b._beforeClosed.next(a);b._beforeClosed.complete();FKb(b._ref.overlayRef);b._closeFallbackTimeout=setTimeout(function(){return b._finishDialogClose()},c.totalTime+100)});this._state=1;this._containerInstance._startExitAnimation()};CA.prototype.afterOpened=function(){return this._afterOpened};var DA=function(a){return a._ref.closed};
g=CA.prototype;g.backdropClick=function(){return this._ref.backdropClick};g.keydownEvents=function(){return this._ref.keydownEvents};g.updatePosition=function(a){var b=this._ref.config.positionStrategy;a&&(a.left||a.right)?a.left?b.left(a.left):b.right(a.right):PKb(b);a&&(a.top||a.bottom)?a.top?b.top(a.top):b.bottom(a.bottom):QKb(b);this._ref.updatePosition()};g.updateSize=function(a,b){this._ref.updateSize(void 0===a?"":a,void 0===b?"":b)};g.addPanelClass=function(a){this._ref.addPanelClass(a)};
g.removePanelClass=function(a){this._ref.removePanelClass(a)};g.getState=function(){return this._state};g._finishDialogClose=function(){this._state=2;this._ref.close(this._result,{focusOrigin:this._closeInteractionType});this.componentInstance=null};new Bd("MatMdcDialogData");new Bd("mat-mdc-dialog-default-options");new Bd("mat-mdc-dialog-scroll-strategy");
var TLb=0,EA=function(a,b,c,d,e,f,h,l,q){var u=this;this._overlay=a;this._defaultOptions=c;this._parentDialog=d;this._dialogRefConstructor=h;this._dialogContainerType=l;this._dialogDataToken=q;this._openDialogsAtThisLevel=[];this._afterAllClosedAtThisLevel=new C.Subject;this._afterOpenedAtThisLevel=new C.Subject;this._idPrefix="mat-dialog-";this.dialogConfigClass=xA;(0,C.defer)(function(){return u.openDialogs.length?u._getAfterAllClosed():u._getAfterAllClosed().pipe(bg(void 0))});this._scrollStrategy=
f;this._dialog=b.get(zA)};g=EA.prototype;g._getAfterAllClosed=function(){var a=this._parentDialog;return a?a._getAfterAllClosed():this._afterAllClosedAtThisLevel};
g.open=function(a,b){var c=this,d;b=Object.assign({},this._defaultOptions||new xA,b);b.id=b.id||"mat-dialog-"+TLb++;b.scrollStrategy=b.scrollStrategy||this._scrollStrategy();a=this._dialog.open(a,Object.assign({},b,{positionStrategy:QKb(PKb(this._overlay.position().global())),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:function(){return[{provide:c.dialogConfigClass,useValue:b},{provide:MLb,useValue:b}]}},templateContext:function(){return{dialogRef:d}},
providers:function(e,f,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:f.data},{provide:c._dialogRefConstructor,useValue:d}]}}));d.componentInstance=a.componentInstance;this.openDialogs.push(d);this.afterOpened.next(d);DA(d).subscribe(function(){var e=c.openDialogs.indexOf(d);-1<e&&(c.openDialogs.splice(e,1),c.openDialogs.length||c._getAfterAllClosed().next())});return d};
g.getDialogById=function(a){this.openDialogs.find(function(b){return b.id===a})};g.ngOnDestroy=function(){this._closeDialogs(this._openDialogsAtThisLevel);this._afterAllClosedAtThisLevel.complete();this._afterOpenedAtThisLevel.complete()};g._closeDialogs=function(a){for(var b=a.length;b--;)a[b].close()};
Xi.Object.defineProperties(EA.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}}});EA.\u0275fac=function(){pe()};EA.\u0275prov=Vc({token:EA,factory:EA.\u0275fac});var FA=function(){CA.apply(this,arguments)};W(FA,CA);var ULb=function(){xA.apply(this,arguments);this.enterAnimationDuration=KLb.params.enterAnimationDuration;this.exitAnimationDuration=KLb.params.exitAnimationDuration};W(ULb,xA);var GA=function(a,b,c,d,e,f,h,l,q){BA.call(this,a,b,c,d,e,f,h,q);this._changeDetectorRef=l;this._state="enter"};W(GA,BA);GA.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})};
GA.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})};GA.prototype._startExitAnimation=function(){this._state="exit";this._changeDetectorRef.markForCheck()};
GA.prototype._getAnimationState=function(){return{value:this._state,params:{enterAnimationDuration:this._config.enterAnimationDuration||"150ms",exitAnimationDuration:this._config.exitAnimationDuration||"75ms"}}};GA.\u0275fac=function(a){return new (a||GA)(A(ke),A(Dx),A(Vi,8),A(ULb),A(zx),A(hg),A(Bz),A(qw),A(Hx))};
GA.\u0275cmp=p({type:GA,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-dialog-container"],hostVars:7,hostBindings:function(a,b){a&1&&yia("@dialogContainer.start",function(c){return b._onAnimationStart(c)})("@dialogContainer.done",function(c){return b._onAnimationDone(c)});a&2&&(Lg("id",b._config.id),ug("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),Mg("@dialogContainer",b._getAnimationState()))},features:[qg],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(a){a&1&&P(0,Kma,0,0,"ng-template",0)},dependencies:[Qx],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:[LLb]}});var HA=new Bd("MatDialogData"),VLb=new Bd("mat-dialog-default-options"),WLb=new Bd("mat-dialog-scroll-strategy"),XLb={provide:WLb,deps:[Iz],useFactory:function(a){return function(){return a.scrollStrategies.block()}}},IA=function(a,b,c,d,e,f,h,l){EA.call(this,a,b,d,f,h,e,FA,GA,HA,l);this.dialogConfigClass=ULb};W(IA,EA);IA.\u0275fac=function(a){return new (a||IA)(n(Iz),n(Zu),n(Uw,8),n(VLb,8),n(WLb),n(IA,12),n(lz),n(cv,8))};IA.\u0275prov=Vc({token:IA,factory:IA.\u0275fac});var YLb=0,JA=function(a,b,c){this.dialogRef=a;this._elementRef=b;this._dialog=c;this.type="button"};JA.prototype.ngOnInit=function(){this.dialogRef||(this.dialogRef=Lma(this._elementRef,this._dialog.openDialogs))};JA.prototype.ngOnChanges=function(a){if(a=a._matDialogClose||a._matDialogCloseResult)this.dialogResult=a.currentValue};JA.prototype._onButtonClick=function(a){var b=this.dialogRef,c=this.dialogResult;b._closeInteractionType=0===a.screenX&&0===a.screenY?"keyboard":"mouse";b.close(c)};
JA.\u0275fac=function(a){return new (a||JA)(A(FA,8),A(ke),A(IA))};JA.\u0275dir=qd({type:JA,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(a,b){a&1&&K("click",function(c){return b._onButtonClick(c)});a&2&&ug("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:[Hd]});
var KA=function(a,b,c){this._dialogRef=a;this._elementRef=b;this._dialog=c;this.id="mat-dialog-title-"+YLb++};KA.prototype.ngOnInit=function(){var a=this;this._dialogRef||(this._dialogRef=Lma(this._elementRef,this._dialog.openDialogs));this._dialogRef&&Promise.resolve().then(function(){var b=a._dialogRef._containerInstance;b&&!b._ariaLabelledBy&&(b._ariaLabelledBy=a.id)})};KA.\u0275fac=function(a){return new (a||KA)(A(FA,8),A(ke),A(IA))};
KA.\u0275dir=qd({type:KA,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(a,b){a&2&&Lg("id",b.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]});var LA=function(){};LA.\u0275fac=function(a){return new (a||LA)};LA.\u0275dir=qd({type:LA,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]});var MA=function(){this.align="start"};
MA.\u0275fac=function(a){return new (a||MA)};MA.\u0275dir=qd({type:MA,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"],hostVars:4,hostBindings:function(a,b){a&2&&Fg("mat-dialog-actions-align-center","center"===b.align)("mat-dialog-actions-align-end","end"===b.align)},inputs:{align:"align"}});var NA=function(){};NA.\u0275fac=function(a){return new (a||NA)};NA.\u0275mod=od({type:NA});NA.\u0275inj=Wc({providers:[IA,XLb],imports:[AA,Lz,Rx,Mz,Mz]});var ZLb=Vh({passive:!0}),OA=function(a,b){this._platform=a;this._ngZone=b;this._monitoredElements=new Map};
OA.prototype.monitor=function(a){var b=this;if(!this._platform.isBrowser)return C.EMPTY;var c=di(a);if(a=this._monitoredElements.get(c))return a.subject;var d=new C.Subject,e=function(f){"cdk-text-field-autofill-start"!==f.animationName||c.classList.contains("cdk-text-field-autofilled")?"cdk-text-field-autofill-end"===f.animationName&&c.classList.contains("cdk-text-field-autofilled")&&(c.classList.remove("cdk-text-field-autofilled"),b._ngZone.run(function(){return d.next({target:f.target,isAutofilled:!1})})):
(c.classList.add("cdk-text-field-autofilled"),b._ngZone.run(function(){return d.next({target:f.target,isAutofilled:!0})}))};this._ngZone.runOutsideAngular(function(){c.addEventListener("animationstart",e,ZLb);c.classList.add("cdk-text-field-autofill-monitored")});this._monitoredElements.set(c,{subject:d,unlisten:function(){c.removeEventListener("animationstart",e,ZLb)}});return d};
OA.prototype.stopMonitoring=function(a){a=di(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))};OA.prototype.ngOnDestroy=function(){var a=this;this._monitoredElements.forEach(function(b,c){return a.stopMonitoring(c)})};OA.\u0275fac=function(a){return new (a||OA)(n(yx),n(hg))};OA.\u0275prov=Vc({token:OA,factory:OA.\u0275fac,providedIn:"root"});var PA=function(a,b,c,d){var e=this;this._elementRef=a;this._platform=b;this._ngZone=c;this._destroyed=new C.Subject;this._enabled=!0;this._previousMinRows=-1;this._isViewInited=!1;this._handleFocusEvent=function(f){e._hasFocus="focus"===f.type};this._document=d;this._textareaElement=this._elementRef.nativeElement};g=PA.prototype;g._setMinHeight=function(){var a=this.minRows&&this._cachedLineHeight?this.minRows*this._cachedLineHeight+"px":null;a&&(this._textareaElement.style.minHeight=a)};
g._setMaxHeight=function(){var a=this.maxRows&&this._cachedLineHeight?this.maxRows*this._cachedLineHeight+"px":null;a&&(this._textareaElement.style.maxHeight=a)};
g.ngAfterViewInit=function(){var a=this;this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,QA(this),this._ngZone.runOutsideAngular(function(){(0,C.fromEvent)(a._getWindow(),"resize").pipe(Jf(16),dg(a._destroyed)).subscribe(function(){return QA(a,!0)});a._textareaElement.addEventListener("focus",a._handleFocusEvent);a._textareaElement.addEventListener("blur",a._handleFocusEvent)}),this._isViewInited=!0,QA(this,!0))};
g.ngOnDestroy=function(){this._textareaElement.removeEventListener("focus",this._handleFocusEvent);this._textareaElement.removeEventListener("blur",this._handleFocusEvent);this._destroyed.next();this._destroyed.complete()};
g._cacheTextareaLineHeight=function(){if(!this._cachedLineHeight){var a=this._textareaElement.cloneNode(!1);a.rows=1;a.style.position="absolute";a.style.visibility="hidden";a.style.border="none";a.style.padding="0";a.style.height="";a.style.minHeight="";a.style.maxHeight="";a.style.overflow="hidden";this._textareaElement.parentNode.appendChild(a);this._cachedLineHeight=a.clientHeight;a.remove();this._setMinHeight();this._setMaxHeight()}};
g._measureScrollHeight=function(){var a=this._textareaElement,b=a.style.marginBottom||"",c=this._platform.FIREFOX,d=c&&this._hasFocus;c=c?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring";d&&(a.style.marginBottom=a.clientHeight+"px");a.classList.add(c);var e=a.scrollHeight-4;a.classList.remove(c);d&&(a.style.marginBottom=b);return e};
g._cacheTextareaPlaceholderHeight=function(){if(this._isViewInited&&void 0==this._cachedPlaceholderHeight)if(this.placeholder){var a=this._textareaElement.value;this._textareaElement.value=this._textareaElement.placeholder;this._cachedPlaceholderHeight=this._measureScrollHeight();this._textareaElement.value=a}else this._cachedPlaceholderHeight=0};g.ngDoCheck=function(){this._platform.isBrowser&&QA(this)};
var QA=function(a,b){b=void 0===b?!1:b;if(a._enabled&&(a._cacheTextareaLineHeight(),a._cacheTextareaPlaceholderHeight(),a._cachedLineHeight)){var c=a._elementRef.nativeElement,d=c.value;if(b||a._minRows!==a._previousMinRows||d!==a._previousValue)b=a._measureScrollHeight(),c.style.height=Math.max(b,a._cachedPlaceholderHeight||0)+"px",a._ngZone.runOutsideAngular(function(){"undefined"!==typeof requestAnimationFrame?requestAnimationFrame(function(){return a._scrollToCaretPosition(c)}):setTimeout(function(){return a._scrollToCaretPosition(c)})}),
a._previousValue=d,a._previousMinRows=a._minRows}};g=PA.prototype;g.reset=function(){void 0!==this._initialHeight&&(this._textareaElement.style.height=this._initialHeight)};g._noopInputHandler=function(){};g._getDocument=function(){return this._document||document};g._getWindow=function(){return this._getDocument().defaultView||window};g._scrollToCaretPosition=function(a){var b=a.selectionStart,c=a.selectionEnd;!this._destroyed.isStopped&&this._hasFocus&&a.setSelectionRange(b,c)};
Xi.Object.defineProperties(PA.prototype,{minRows:{configurable:!0,enumerable:!0,get:function(){return this._minRows},set:function(a){this._minRows=ei(a);this._setMinHeight()}},maxRows:{configurable:!0,enumerable:!0,get:function(){return this._maxRows},set:function(a){this._maxRows=ei(a);this._setMaxHeight()}},enabled:{configurable:!0,enumerable:!0,get:function(){return this._enabled},set:function(a){a=bi(a);this._enabled!==a&&((this._enabled=a)?QA(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()}}});PA.\u0275fac=function(a){return new (a||PA)(A(ke),A(yx),A(hg),A(Vi,8))};
PA.\u0275dir=qd({type:PA,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(a){a&1&&K("input",function(){})},inputs:{minRows:["cdkAutosizeMinRows","minRows"],maxRows:["cdkAutosizeMaxRows","maxRows"],enabled:["cdkTextareaAutosize","enabled"],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"]});var RA=function(){};RA.\u0275fac=function(a){return new (a||RA)};RA.\u0275mod=od({type:RA});RA.\u0275inj=Wc({});var $Lb=new Bd("MatError");var aMb=new Bd("MatPrefix");var bMb=new Bd("MatSuffix");var cMb=ri("transitionMessages",[ui("enter",ti({opacity:1,transform:"translateY(0%)"})),vi("void => enter",[ti({opacity:0,transform:"translateY(-5px)"}),si("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])]);var SA=function(){};SA.\u0275fac=function(a){return new (a||SA)};SA.\u0275dir=qd({type:SA});var TA=new Bd("MatFormField");new Bd("MAT_FORM_FIELD_DEFAULT_OPTIONS");var dMb=0,UA=function(a,b){this.id="mat-error-"+dMb++;a||b.nativeElement.setAttribute("aria-live","polite")};UA.\u0275fac=function(a){return new (a||UA)(ce("aria-live"),A(ke))};UA.\u0275dir=qd({type:UA,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(a,b){a&2&&ug("id",b.id)},inputs:{id:"id"},features:[Ug([{provide:$Lb,useExisting:UA}])]});var eMb=new Bd("MatHint");var VA=function(){};VA.\u0275fac=function(a){return new (a||VA)};VA.\u0275dir=qd({type:VA,selectors:[["mat-label"]]});var WA=function(){};WA.\u0275fac=function(a){return new (a||WA)};WA.\u0275dir=qd({type:WA,selectors:[["mat-placeholder"]]});var fMb=["connectionContainer"],gMb=["inputContainer"],hMb=["label"],iMb=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],jMb=0,kMb=Yi(function(a){this._elementRef=a},"primary"),lMb=new Bd("MAT_FORM_FIELD_DEFAULT_OPTIONS"),XA=function(a,b,c,d,e,f,h){a=kMb.call(this,a)||this;a._changeDetectorRef=b;a._dir=c;a._defaults=d;a._platform=e;a._ngZone=f;a._outlineGapCalculationNeededImmediately=
!1;a._outlineGapCalculationNeededOnStable=!1;a._destroyed=new C.Subject;a._hideRequiredMarker=!1;a._showAlwaysAnimate=!1;a._subscriptAnimationState="";a._hintLabel="";a._hintLabelId="mat-hint-"+jMb++;a._labelId="mat-form-field-label-"+jMb++;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};W(XA,kMb);g=XA.prototype;
g._shouldAlwaysFloat=function(){return"always"===this.floatLabel&&!this._showAlwaysAnimate};g._canLabelFloat=function(){return"never"!==this.floatLabel};g.getLabelId=function(){return this._hasFloatingLabel()?this._labelId:null};
g.ngAfterContentInit=function(){var a=this,b=this._control;b.controlType&&this._elementRef.nativeElement.classList.add("mat-form-field-type-"+b.controlType);b.stateChanges.pipe(bg(null)).subscribe(function(){a._syncDescribedByIds();a._changeDetectorRef.markForCheck()});b.ngControl&&b.ngControl.valueChanges&&b.ngControl.valueChanges.pipe(dg(this._destroyed)).subscribe(function(){return a._changeDetectorRef.markForCheck()});this._ngZone.runOutsideAngular(function(){a._ngZone.onStable.pipe(dg(a._destroyed)).subscribe(function(){a._outlineGapCalculationNeededOnStable&&
dj(a)})});(0,C.merge)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(function(){a._outlineGapCalculationNeededOnStable=!0;a._changeDetectorRef.markForCheck()});this._hintChildren.changes.pipe(bg(null)).subscribe(function(){a._processHints();a._changeDetectorRef.markForCheck()});this._errorChildren.changes.pipe(bg(null)).subscribe(function(){a._syncDescribedByIds();a._changeDetectorRef.markForCheck()});this._dir&&this._dir.change.pipe(dg(this._destroyed)).subscribe(function(){"function"===
typeof requestAnimationFrame?a._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){return dj(a)})}):dj(a)})};g.ngAfterContentChecked=function(){this._outlineGapCalculationNeededImmediately&&dj(this)};g.ngAfterViewInit=function(){this._subscriptAnimationState="enter";this._changeDetectorRef.detectChanges()};g.ngOnDestroy=function(){this._destroyed.next();this._destroyed.complete()};g._shouldForward=function(a){var b=this._control?this._control.ngControl:null;return b&&b[a]};
g._hasPlaceholder=function(){return!!(this._control&&this._control.placeholder||this._placeholderChild)};g._hasLabel=function(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)};g._shouldLabelFloat=function(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())};g._hideControlPlaceholder=function(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()};
g._hasFloatingLabel=function(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()};g._getDisplayedMessages=function(){return this._errorChildren&&0<this._errorChildren.length&&this._control.errorState?"error":"hint"};
g._animateAndLockLabel=function(){var a=this;this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,(0,C.fromEvent)(this._label.nativeElement,"transitionend").pipe(Rf()).subscribe(function(){a._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())};g._validatePlaceholders=function(){};g._processHints=function(){this._syncDescribedByIds()};g._validateHints=function(){};
g._getDefaultFloatLabelState=function(){return this._defaults&&this._defaults.floatLabel||"auto"};
g._syncDescribedByIds=function(){if(this._control){var a=[];this._control.userAriaDescribedBy&&"string"===typeof this._control.userAriaDescribedBy&&a.push.apply(a,r(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,r(this._errorChildren.map(function(d){return d.id})));this._control.setDescribedByIds(a)}};g._validateControlChild=function(){};
var dj=function(a){var b=a._label?a._label.nativeElement:null,c=a._connectionContainerRef.nativeElement;if("outline"===a.appearance&&a._platform.isBrowser)if(b&&b.children.length&&b.textContent.trim())if(a._isAttachedToDOM()){var d=0,e=0,f=c.querySelectorAll(".mat-form-field-outline-start"),h=c.querySelectorAll(".mat-form-field-outline-gap");if(a._label&&a._label.nativeElement.children.length){d=c.getBoundingClientRect();if(0===d.width&&0===d.height){a._outlineGapCalculationNeededOnStable=!0;a._outlineGapCalculationNeededImmediately=
!1;return}d=a._getStartEnd(d);e=b.children;c=a._getStartEnd(e[0].getBoundingClientRect());for(var 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<f.length;b++)f[b].style.width=d+"px";for(f=0;f<h.length;f++)h[f].style.width=e+"px";a._outlineGapCalculationNeededOnStable=a._outlineGapCalculationNeededImmediately=!1}else a._outlineGapCalculationNeededImmediately=!0;else for(a=c.querySelectorAll(".mat-form-field-outline-start, .mat-form-field-outline-gap"),h=0;h<a.length;h++)a[h].style.width=
"0"};XA.prototype._getStartEnd=function(a){return this._dir&&"rtl"===this._dir.value?a.right:a.left};XA.prototype._isAttachedToDOM=function(){var a=this._elementRef.nativeElement;if(a.getRootNode){var b=a.getRootNode();return b&&b!==a}return document.documentElement.contains(a)};
Xi.Object.defineProperties(XA.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=bi(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}}});XA.\u0275fac=function(a){return new (a||XA)(A(ke),A(qw),A(gz,8),A(lMb,8),A(yx),A(hg),A(cv,8))};
XA.\u0275cmp=p({type:XA,selectors:[["mat-form-field"]],contentQueries:function(a,b,c){a&1&&(jh(c,SA,5),jh(c,SA,7),jh(c,VA,5),jh(c,VA,7),jh(c,WA,5),jh(c,$Lb,5),jh(c,eMb,5),jh(c,aMb,5),jh(c,bMb,5));if(a&2){var d;hh(d=kh())&&(b._controlNonStatic=d.first);hh(d=kh())&&(b._controlStatic=d.first);hh(d=kh())&&(b._labelChildNonStatic=d.first);hh(d=kh())&&(b._labelChildStatic=d.first);hh(d=kh())&&(b._placeholderChild=d.first);hh(d=kh())&&(b._errorChildren=d);hh(d=kh())&&(b._hintChildren=d);hh(d=kh())&&(b._prefixChildren=
d);hh(d=kh())&&(b._suffixChildren=d)}},viewQuery:function(a,b){a&1&&(ih(fMb,7),ih(gMb,5),ih(hMb,5));if(a&2){var c;hh(c=kh())&&(b._connectionContainerRef=c.first);hh(c=kh())&&(b._inputContainerRef=c.first);hh(c=kh())&&(b._label=c.first)}},hostAttrs:["ngSkipHydration","true",1,"mat-form-field"],hostVars:40,hostBindings:function(a,b){a&2&&Fg("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:[Ug([{provide:TA,useExisting:XA}]),qg],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&&(Ng(iMb),E(0,"div",0)(1,"div",
1,2),K("click",function(){return b._control.onContainerClick()}),P(3,Mma,9,0,"ng-container",3),P(4,Nma,2,1,"div",4),E(5,"div",5,6),Og(7),E(8,"span",7),P(9,Rma,5,16,"label",8),F()(),P(10,Sma,2,0,"div",9),F(),P(11,Tma,2,4,"div",10),E(12,"div",11),P(13,Uma,2,1,"div",12),P(14,Wma,5,2,"div",13),F()());a&2&&(z(3),D("ngIf","outline"==b.appearance),z(1),D("ngIf",b._prefixChildren.length),z(5),D("ngIf",b._hasFloatingLabel()),z(1),D("ngIf",b._suffixChildren.length),z(1),D("ngIf","outline"!=b.appearance),z(1),
D("ngSwitch",b._getDisplayedMessages()),z(1),D("ngSwitchCase","error"),z(1),D("ngSwitchCase","hint"))},dependencies:[yw,zw,Aw,Ry],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:[cMb]},changeDetection:0});var YA=function(){};YA.\u0275fac=function(a){return new (a||YA)};YA.\u0275mod=od({type:YA});YA.\u0275inj=Wc({imports:[Mw,Mz,Sy,Mz]});var mMb=new Bd("MAT_INPUT_VALUE_ACCESSOR");var nMb="button checkbox file hidden image radio range reset submit".split(" "),oMb=0,pMb=ima(function(a,b,c,d){this._defaultErrorStateMatcher=a;this._parentForm=b;this._parentFormGroup=c;this.ngControl=d;this.stateChanges=new C.Subject}),ZA=function(a,b,c,d,e,f,h,l,q,u){var x=pMb.call(this,f,d,e,c)||this;x._elementRef=a;x._platform=b;x._autofillMonitor=l;x._formField=u;x._uid="mat-input-"+oMb++;x.focused=!1;x.stateChanges=new C.Subject;x.controlType="mat-input";x.autofilled=!1;x._disabled=!1;x._type=
"text";x._readonly=!1;x._neverEmptyInputTypes="date datetime datetime-local month time week".split(" ").filter(function(G){return rka().has(G)});x._iOSKeyupListener=function(G){G=G.target;G.value||0!==G.selectionStart||0!==G.selectionEnd||(G.setSelectionRange(1,1),G.setSelectionRange(0,0))};c=x._elementRef.nativeElement;var y=c.nodeName.toLowerCase();x._inputValueAccessor=h||c;x._previousNativeValue=x.value;x.id=x.id;b.IOS&&q.runOutsideAngular(function(){a.nativeElement.addEventListener("keyup",x._iOSKeyupListener)});
x._isServer=!x._platform.isBrowser;x._isNativeSelect="select"===y;x._isTextarea="textarea"===y;x._isInFormField=!!u;x._isNativeSelect&&(x.controlType=c.multiple?"mat-native-select-multiple":"mat-native-select");return x};W(ZA,pMb);g=ZA.prototype;g.ngAfterViewInit=function(){var a=this;this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(function(b){a.autofilled=b.isAutofilled;a.stateChanges.next()})};g.ngOnChanges=function(){this.stateChanges.next()};
g.ngOnDestroy=function(){this.stateChanges.complete();this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement);this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)};g.ngDoCheck=function(){this.ngControl&&(this.updateErrorState(),null!==this.ngControl.disabled&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next()));this._dirtyCheckNativeValue();this._dirtyCheckPlaceholder()};
g.focus=function(a){this._elementRef.nativeElement.focus(a)};g._focusChanged=function(a){a!==this.focused&&(this.focused=a,this.stateChanges.next())};g._onInput=function(){};g._dirtyCheckNativeValue=function(){var a=this._elementRef.nativeElement.value;this._previousNativeValue!==a&&(this._previousNativeValue=a,this.stateChanges.next())};
g._dirtyCheckPlaceholder=function(){var a=this._getPlaceholder();if(a!==this._previousPlaceholder){var b=this._elementRef.nativeElement;(this._previousPlaceholder=a)?b.setAttribute("placeholder",a):b.removeAttribute("placeholder")}};g._getPlaceholder=function(){return this.placeholder||null};g._validateType=function(){nMb.indexOf(this._type)};g._isNeverEmpty=function(){return-1<this._neverEmptyInputTypes.indexOf(this._type)};
g._isBadInput=function(){var a=this._elementRef.nativeElement.validity;return a&&a.badInput};g.setDescribedByIds=function(a){a.length?this._elementRef.nativeElement.setAttribute("aria-describedby",a.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")};g.onContainerClick=function(){this.focused||this.focus()};g._isInlineSelect=function(){var a=this._elementRef.nativeElement;return this._isNativeSelect&&(a.multiple||1<a.size)};
Xi.Object.defineProperties(ZA.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){this._disabled=bi(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:FHb(b))?d:!1},
set:function(a){this._required=bi(a)}},type:{configurable:!0,enumerable:!0,get:function(){return this._type},set:function(a){this._type=a||"text";this._validateType();!this._isTextarea&&rka().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=bi(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}}});
ZA.\u0275fac=function(a){return new (a||ZA)(A(ke),A(yx),A(Zw,10),A(fx,8),A(ox,8),A(Sz),A(mMb,10),A(OA),A(hg),A(TA,8))};
ZA.\u0275dir=qd({type:ZA,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&&K("focus",function(){return b._focusChanged(!0)})("blur",function(){return b._focusChanged(!1)})("input",function(){return b._onInput()});a&2&&(Lg("id",b.id)("disabled",b.disabled)("required",b.required),ug("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),Fg("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:[Ug([{provide:SA,useExisting:ZA}]),qg,Hd]});var $A=function(){var a=ZA.apply(this,arguments)||this;a._legacyFormField=hd(TA,{optional:!0});return a};W($A,ZA);$A.prototype._getPlaceholder=function(){var a=this._legacyFormField,b;return!a||"legacy"!==a.appearance||(null==(b=a._hasLabel)?0:b.call(a))?this.placeholder:null};$A.\u0275fac=function(){var a;return function(b){return(a||(a=ie($A)))(b||$A)}}();
$A.\u0275dir=qd({type:$A,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&&(ug("data-placeholder",b.placeholder),Fg("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:[Ug([{provide:SA,useExisting:$A}]),qg]});var aB=function(){};aB.\u0275fac=function(a){return new (a||aB)};aB.\u0275mod=od({type:aB});aB.\u0275inj=Wc({providers:[Sz],imports:[RA,YA,Mz,RA,YA]});var qMb={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},bB=qMb;bB=qMb;var rMb=RegExp("^((?:[-+]\\d*)?\\d{4})(?:(?:-?(\\d{2})(?:-?(\\d{2}))?)|(?:-?(\\d{3}))|(?:-?W(\\d{2})(?:-?([1-7]))?))?$"),sMb=/^(\d{2})(?::?(\d{2})(?::?(\d{2})(\.\d+)?)?)?$/,tMb=/Z|(?:([-+])(\d{2})(?::?(\d{2}))?)$/,uMb=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},vMb=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)},cB=function(a,b,c,d,e,f){"string"===
typeof a?(this.years="y"==a?b:0,this.months="m"==a?b:0,this.days="d"==a?b:0,this.hours="h"==a?b:0,this.minutes="n"==a?b:0,this.seconds="s"==a?b:0):(this.years=a||0,this.months=b||0,this.days=c||0,this.hours=d||0,this.minutes=e||0,this.seconds=f||0)};g=cB.prototype;
g.toIsoString=function(a){var b=Math.min(this.years,this.months,this.days,this.hours,this.minutes,this.seconds),c=Math.max(this.years,this.months,this.days,this.hours,this.minutes,this.seconds);if(0>b&&0<c)return null;if(!a&&0==b&&0==c)return"PT0S";c=[];0>b&&c.push("-");c.push("P");(this.years||a)&&c.push(Math.abs(this.years)+"Y");(this.months||a)&&c.push(Math.abs(this.months)+"M");(this.days||a)&&c.push(Math.abs(this.days)+"D");if(this.hours||this.minutes||this.seconds||a)c.push("T"),(this.hours||
a)&&c.push(Math.abs(this.hours)+"H"),(this.minutes||a)&&c.push(Math.abs(this.minutes)+"M"),(this.seconds||a)&&c.push(Math.abs(this.seconds)+"S");return c.join("")};g.equals=function(a){return a.years==this.years&&a.months==this.months&&a.days==this.days&&a.hours==this.hours&&a.minutes==this.minutes&&a.seconds==this.seconds};g.clone=function(){return new cB(this.years,this.months,this.days,this.hours,this.minutes,this.seconds)};
g.isZero=function(){return 0==this.years&&0==this.months&&0==this.days&&0==this.hours&&0==this.minutes&&0==this.seconds};g.times=function(a){return new cB(this.years*a,this.months*a,this.days*a,this.hours*a,this.minutes*a,this.seconds*a)};g.add=function(a){this.years+=a.years;this.months+=a.months;this.days+=a.days;this.hours+=a.hours;this.minutes+=a.minutes;this.seconds+=a.seconds};
var Cj=function(a,b,c){"number"===typeof a?(this.date=wMb(a,b||0,c||1),xMb(this,c||1)):Ta(a)?(this.date=wMb(a.getFullYear(),a.getMonth(),a.getDate()),xMb(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),xMb(this,a))},wMb=function(a,b,c){b=new Date(a,b,c);0<=a&&100>a&&b.setFullYear(b.getFullYear()-1900);return b};g=Cj.prototype;g.firstDayOfWeek_=bB.FIRSTDAYOFWEEK;
g.firstWeekCutOffDay_=bB.FIRSTWEEKCUTOFFDAY;g.clone=function(){var a=new Cj(this.date);a.firstDayOfWeek_=this.firstDayOfWeek_;a.firstWeekCutOffDay_=this.firstWeekCutOffDay_;return a};g.getFullYear=function(){return this.date.getFullYear()};g.getYear=function(){return this.getFullYear()};g.getMonth=function(){return this.date.getMonth()};g.getDate=function(){return this.date.getDate()};g.getTime=function(){return this.date.getTime()};g.getDay=function(){return this.date.getDay()};
g.getUTCFullYear=function(){return this.date.getUTCFullYear()};g.getUTCMonth=function(){return this.date.getUTCMonth()};g.getUTCDate=function(){return this.date.getUTCDate()};g.getUTCDay=function(){return this.date.getDay()};g.getUTCHours=function(){return this.date.getUTCHours()};g.getUTCMinutes=function(){return this.date.getUTCMinutes()};g.getFirstDayOfWeek=function(){return this.firstDayOfWeek_};var BLb=function(a){return uMb(a.getFullYear(),a.getMonth())};g=Cj.prototype;
g.getDayOfYear=function(){for(var a=this.getDate(),b=this.getFullYear(),c=this.getMonth()-1;0<=c;c--)a+=uMb(b,c);return a};g.getTimezoneOffset=function(){return this.date.getTimezoneOffset()};g.set=function(a){this.date=new Date(a.getFullYear(),a.getMonth(),a.getDate())};g.setFullYear=function(a){this.date.setFullYear(a)};g.setYear=function(a){this.setFullYear(a)};g.setMonth=function(a){this.date.setMonth(a)};g.setDate=function(a){this.date.setDate(a)};g.setTime=function(a){this.date.setTime(a)};
g.setUTCFullYear=function(a){this.date.setUTCFullYear(a)};g.setUTCMonth=function(a){this.date.setUTCMonth(a)};g.setUTCDate=function(a){this.date.setUTCDate(a)};
g.add=function(a){if(a.years||a.months){var b=this.getMonth()+a.months+12*a.years,c=this.getYear()+Math.floor(b/12);b%=12;0>b&&(b+=12);var d=Math.min(uMb(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()),xMb(this,a.getDate()))};
g.toIsoString=function(a){var b=this.getFullYear(),c=0>b?"-":1E4<=b?"+":"";return[c+Su(Math.abs(b),c?6:4),Su(this.getMonth()+1,2),Su(this.getDate(),2)].join(a?"-":"")};g.equals=function(a){return!(!a||this.getYear()!=a.getYear()||this.getMonth()!=a.getMonth()||this.getDate()!=a.getDate())};g.toString=function(){return this.toIsoString()};var xMb=function(a,b){a.getDate()!=b&&(b=a.getDate()<b?1:-1,a.date.setUTCHours(a.date.getUTCHours()+b))};Cj.prototype.valueOf=function(){return this.date.valueOf()};
var dp=function(a,b,c,d,e,f,h){this.date="number"===typeof a?new Date(a,b||0,c||1,d||0,e||0,f||0,h||0):new Date(a&&a.getTime?a.getTime():Date.now())};gu(dp,Cj);g=dp.prototype;g.getHours=function(){return this.date.getHours()};g.getMinutes=function(){return this.date.getMinutes()};g.getSeconds=function(){return this.date.getSeconds()};g.getMilliseconds=function(){return this.date.getMilliseconds()};g.getUTCDay=function(){return this.date.getUTCDay()};g.getUTCHours=function(){return this.date.getUTCHours()};
g.getUTCMinutes=function(){return this.date.getUTCMinutes()};g.getUTCSeconds=function(){return this.date.getUTCSeconds()};g.getUTCMilliseconds=function(){return this.date.getUTCMilliseconds()};g.setHours=function(a){this.date.setHours(a)};g.setMinutes=function(a){this.date.setMinutes(a)};g.setSeconds=function(a){this.date.setSeconds(a)};g.setMilliseconds=function(a){this.date.setMilliseconds(a)};g.setUTCHours=function(a){this.date.setUTCHours(a)};g.setUTCMinutes=function(a){this.date.setUTCMinutes(a)};
g.setUTCSeconds=function(a){this.date.setUTCSeconds(a)};g.setUTCMilliseconds=function(a){this.date.setUTCMilliseconds(a)};g.add=function(a){Cj.prototype.add.call(this,a);a.hours&&this.setUTCHours(this.date.getUTCHours()+a.hours);a.minutes&&this.setUTCMinutes(this.date.getUTCMinutes()+a.minutes);a.seconds&&this.setUTCSeconds(this.date.getUTCSeconds()+a.seconds)};
g.toIsoString=function(a){var b=Cj.prototype.toIsoString.call(this,a);return a?b+"T"+Su(this.getHours(),2)+":"+Su(this.getMinutes(),2)+":"+Su(this.getSeconds(),2):b+"T"+Su(this.getHours(),2)+Su(this.getMinutes(),2)+Su(this.getSeconds(),2)};g.equals=function(a){return this.getTime()==a.getTime()};g.toString=function(){return this.toIsoString()};g.clone=function(){var a=new dp(this.date);a.firstDayOfWeek_=this.getFirstDayOfWeek();a.firstWeekCutOffDay_=this.firstWeekCutOffDay_;return a};var yMb=function(){},ym=function(a){if("number"==typeof a){var b=new yMb;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(":",Su(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=zMb(a);b.tzNames_=[c,c];b.tzNamesExt_={STD_LONG_NAME_GMT:a,STD_GENERIC_LOCATION:a};b.transitions_=[];return b}b=new yMb;
b.timeZoneId_=a.id;b.standardOffset_=-a.std_offset;b.tzNames_=a.names;b.tzNamesExt_=a.names_ext;b.transitions_=a.transitions;return b},zMb=function(a){var b=["GMT"];b.push(0>=a?"+":"-");a=Math.abs(a);b.push(Su(Math.floor(a/60)%100,2),":",Su(a%60,2));return b.join("")},AMb=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]};
yMb.prototype.getOffset=function(a){a=this.standardOffset_-AMb(this,a);return-1440===a?0:a};var dB=function(a){this.patternParts_=[];this.dateTimeSymbols_=bB;"number"==typeof a?this.applyStandardPattern_(a):this.applyPattern_(a)},BMb=[/^'(?:[^']|'')*('|$)/,/^(?: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]+/],eB=function(a){return a.getHours?a.getHours():0};
dB.prototype.applyPattern_=function(a){for(CMb&&(a=a.replace(/\u200f/g,""));a;){for(var b=a,c=0;c<BMb.length;++c){var d=a.match(BMb[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("nb`"+a);}};
dB.prototype.format=function(a,b){if(!a)throw Error("ob");var c=b?6E4*(a.getTimezoneOffset()-b.getOffset(a)):0,d=c?new Date(a.getTime()+c):a,e=d;b&&d.getTimezoneOffset()!=a.getTimezoneOffset()&&(d=new Date(d.getTime()+6E4*(d.getTimezoneOffset()-a.getTimezoneOffset())),e=new Date(a.getTime()+(c+(0<c?-864E5:864E5))));c=[];for(var f=0;f<this.patternParts_.length;++f){var h=this.patternParts_[f].text;1==this.patternParts_[f].type?c.push(DMb(this,h,a,d,e,b)):c.push(h)}return c.join("")};
dB.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 fB=function(a,b){return EMb(b,a.dateTimeSymbols_)},CMb=!1,EMb=function(a,b){a=String(a);b=b||bB;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("")},gB=function(a){if(!(a.getHours&&a.getSeconds&&a.getMinutes))throw Error("pb");},FMb=function(a,b){gB(b);b=eB(b);return a.dateTimeSymbols_.AMPMS[12<=b&&24>b?1:0]},DMb=function(a,b,c,d,e,f){var h=b.length;switch(b.charAt(0)){case "G":return c=
0<d.getFullYear()?1:0,4<=h?a.dateTimeSymbols_.ERANAMES[c]:a.dateTimeSymbols_.ERAS[c];case "y":return c=d.getFullYear(),0>c&&(c=-c),2==h&&(c%=100),fB(a,Su(c,h));case "Y":return c=d.getMonth(),e=d.getDate(),c=vMb(d.getFullYear(),c,e,a.dateTimeSymbols_.FIRSTWEEKCUTOFFDAY,a.dateTimeSymbols_.FIRSTDAYOFWEEK),c=(new Date(c)).getFullYear(),0>c&&(c=-c),2==h&&(c%=100),fB(a,Su(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=fB(a,Su(c+1,h))}return h;case "k":return gB(e),c=eB(e)||24,fB(a,Su(c,h));case "S":return fB(a,(e.getMilliseconds()/1E3).toFixed(Math.min(3,h)).slice(2)+(3<h?Su(0,h-3):""));case "E":return c=d.getDay(),4<=h?a.dateTimeSymbols_.WEEKDAYS[c]:a.dateTimeSymbols_.SHORTWEEKDAYS[c];case "a":return FMb(a,e);case "b":return FMb(a,e);case "B":return FMb(a,e);case "h":return gB(e),c=eB(e)%12||12,fB(a,Su(c,h));case "K":return gB(e),c=eB(e)%12,
fB(a,Su(c,h));case "H":return gB(e),c=eB(e),fB(a,Su(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=fB(a,Su(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=fB(a,Su(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 fB(a,Su(d.getDate(),h));case "m":return gB(e),fB(a,Su(e.getMinutes?e.getMinutes():0,h));case "s":return gB(e),fB(a,Su(e.getSeconds(),h));case "v":return(f||ym(c.getTimezoneOffset())).timeZoneId_;case "V":return a=f||ym(c.getTimezoneOffset()),2>=h?a.timeZoneId_:0<AMb(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=vMb(e.getFullYear(),c,d,a.dateTimeSymbols_.FIRSTWEEKCUTOFFDAY,a.dateTimeSymbols_.FIRSTDAYOFWEEK),fB(a,Su(Math.floor(Math.round((c-(new Date((new Date(c)).getFullYear(),0,1)).valueOf())/864E5)/7)+1,h));case "z":return a=f||ym(c.getTimezoneOffset()),4>h?a.tzNames_[0<AMb(a,c)?2:0]:a.tzNames_[0<AMb(a,c)?3:1];
case "Z":return d=f||ym(c.getTimezoneOffset()),4>h?(h=-d.getOffset(c),a=[0>h?"-":"+"],h=Math.abs(h),a.push(Su(Math.floor(h/60)%100,2),Su(h%60,2)),h=a.join("")):h=fB(a,zMb(d.getOffset(c))),h;default:return""}};var GMb={TOP_LEFT:0,TOP_RIGHT:1,BOTTOM_LEFT:2,BOTTOM_RIGHT:3,LEFT_TOP:4,LEFT_BOTTOM:5,RIGHT_TOP:6,RIGHT_BOTTOM:7,0:"TOP_LEFT",1:"TOP_RIGHT",2:"BOTTOM_LEFT",3:"BOTTOM_RIGHT",4:"LEFT_TOP",5:"LEFT_BOTTOM",6:"RIGHT_TOP",7:"RIGHT_BOTTOM"};var ej;var HMb=function(a,b){this.url=a;this.svgText=null;this.options=b},hB=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},iB=function(a,b,c){a._addSvgIconConfig("",b,new HMb(c))},IMb=function(a,b){return a._fontCssClassesByAlias.get(b)||
b};hB.prototype.setDefaultFontSetClass=function(){this._defaultFontSetClass=yd.apply(0,arguments)};var JMb=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,C.throwError)(Error("qb`"+d))};g=hB.prototype;
g.ngOnDestroy=function(){this._resolvers=[];this._svgIconConfigs.clear();this._iconSetConfigs.clear();this._cachedIconsByUrl.clear()};g._getSvgFromConfig=function(a){return a.svgText?(0,C.of)(this._svgElementFromConfig(a).cloneNode(!0)):this._loadSvgIconFromConfig(a).pipe(B(function(b){return b.cloneNode(!0)}))};
g._getSvgFromIconSetConfigs=function(a,b){var c=this,d=this._extractIconWithNameFromAnySet(a,b);if(d)return(0,C.of)(d);d=b.filter(function(e){return!e.svgText}).map(function(e){return c._loadSvgIconSetFromConfig(e).pipe(Lf(function(f){f="Loading icon set URL: "+c._sanitizer.sanitize(5,e.url)+" failed: "+f.message;c._errorHandler.handleError(Error(f));return(0,C.of)(null)}))});return(0,C.forkJoin)(d).pipe(B(function(){var e=c._extractIconWithNameFromAnySet(a,b);if(!e)throw Error("qb`"+a);return e}))};
g._extractIconWithNameFromAnySet=function(a,b){for(var c=b.length-1;0<=c;c--){var d=b[c];if(d.svgText&&-1<d.svgText.toString().indexOf(a)){var e=this._svgElementFromConfig(d);if(d=this._extractSvgIconFromSet(e,a,d.options))return d}}return null};g._loadSvgIconFromConfig=function(a){var b=this;return this._fetchIcon(a).pipe(eg(function(c){return a.svgText=c}),B(function(){return b._svgElementFromConfig(a)}))};
g._loadSvgIconSetFromConfig=function(a){return a.svgText?(0,C.of)(null):this._fetchIcon(a).pipe(eg(function(b){return a.svgText=b}))};
g._extractSvgIconFromSet=function(a,b,c){a=a.querySelector('[id="'+b+'"]');if(!a)return null;a=a.cloneNode(!0);a.removeAttribute("id");if("svg"===a.nodeName.toLowerCase())return this._setSvgAttributes(a,c);if("symbol"===a.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(a),c);b=this._svgElementFromString(Yma("<svg></svg>"));b.appendChild(a);return this._setSvgAttributes(b,c)};
g._svgElementFromString=function(a){var b=this._document.createElement("DIV");b.innerHTML=a;a=b.querySelector("svg");if(!a)throw Error("tb");return a};g._toSvgElement=function(a){for(var b=this._svgElementFromString(Yma("<svg></svg>")),c=a.attributes,d=0;d<c.length;d++){var e=c[d],f=e.name;e=e.value;"id"!==f&&b.setAttribute(f,e)}for(c=0;c<a.childNodes.length;c++)a.childNodes[c].nodeType===this._document.ELEMENT_NODE&&b.appendChild(a.childNodes[c].cloneNode(!0));return b};
g._setSvgAttributes=function(a,b){a.setAttribute("fit","");a.setAttribute("height","100%");a.setAttribute("width","100%");a.setAttribute("preserveAspectRatio","xMidYMid meet");a.setAttribute("focusable","false");b&&b.viewBox&&a.setAttribute("viewBox",b.viewBox);return a};
g._fetchIcon=function(a){var b=this,c=a.url,d,e;a=null!=(e=null==(d=a.options)?void 0:d.withCredentials)?e:!1;if(!this._httpClient)throw Error("rb");if(null==c)throw Error("ub`"+c);var f=this._sanitizer.sanitize(5,c);if(!f)throw Error("sb`"+c);if(c=this._inProgressUrlFetches.get(f))return c;c=this._httpClient.get(f,{responseType:"text",withCredentials:a}).pipe(B(function(h){return Yma(h)}),Tf(function(){return b._inProgressUrlFetches.delete(f)}),Zf());this._inProgressUrlFetches.set(f,c);return c};
g._addSvgIconConfig=function(a,b,c){this._svgIconConfigs.set(a+":"+b,c);return this};g._addSvgIconSetConfig=function(a,b){var c=this._iconSetConfigs.get(a);c?c.push(b):this._iconSetConfigs.set(a,[b]);return this};g._svgElementFromConfig=function(a){if(!a.svgElement){var b=this._svgElementFromString(a.svgText);this._setSvgAttributes(b,a.options);a.svgElement=b}return a.svgElement};
g._getIconConfigFromResolvers=function(a,b){for(var c=0;c<this._resolvers.length;c++){var d=this._resolvers[c](b,a);if(d)return d.url&&d.options?new HMb(d.url,d.options):new HMb(d)}};hB.\u0275fac=function(a){return new (a||hB)(n(jy,8),n(py),n(Vi,8),n(Qe))};hB.\u0275prov=Vc({token:hB,factory:hB.\u0275fac,providedIn:"root"});new Vu;new Wu;new Vu;new Vu;var KMb=Yi(function(a){this._elementRef=a}),LMb=new Bd("MAT_ICON_DEFAULT_OPTIONS"),MMb=new Bd("mat-icon-location",{providedIn:"root",factory:Zma}),NMb="clip-path color-profile src cursor fill filter marker marker-start marker-mid marker-end mask stroke".split(" "),OMb=NMb.map(function(a){return"["+a+"]"}).join(", "),PMb=/^url\(['"]?#(.*?)['"]?\)$/,jB=function(a,b,c,d,e,f){var h=KMb.call(this,a)||this;h._iconRegistry=b;h._location=d;h._errorHandler=e;h._inline=!1;h._previousFontSetClass=[];h._currentIconFetch=
C.Subscription.EMPTY;f&&(f.color&&(h.color=h.defaultColor=f.color),f.fontSet&&(h.fontSet=f.fontSet));c||a.nativeElement.setAttribute("aria-hidden","true");return h};W(jB,KMb);g=jB.prototype;g._splitIconName=function(a){if(!a)return["",""];var b=a.split(":");switch(b.length){case 1:return["",b[0]];case 2:return b;default:throw Error("vb`"+a);}};g.ngOnInit=function(){this._updateFontIconClasses()};
g.ngAfterViewChecked=function(){var a=this._elementsWithExternalReferences;a&&a.size&&(a=this._location.getPathname(),a!==this._previousPath&&(this._previousPath=a,this._prependPathToReferences(a)))};g.ngOnDestroy=function(){this._currentIconFetch.unsubscribe();this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()};g._usingFontIcon=function(){return!this.svgIcon};
g._setSvgElement=function(a){this._clearSvgElement();var b=this._location.getPathname();this._previousPath=b;this._cacheChildrenWithExternalReferences(a);this._prependPathToReferences(b);this._elementRef.nativeElement.appendChild(a)};g._clearSvgElement=function(){var a=this._elementRef.nativeElement,b=a.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();b--;){var c=a.childNodes[b];1===c.nodeType&&"svg"!==c.nodeName.toLowerCase()||c.remove()}};
g._updateFontIconClasses=function(){if(this._usingFontIcon()){var a=this._elementRef.nativeElement,b=(this.fontSet?IMb(this._iconRegistry,this.fontSet).split(/ +/):this._iconRegistry._defaultFontSetClass).filter(function(c){return 0<c.length});this._previousFontSetClass.forEach(function(c){return a.classList.remove(c)});b.forEach(function(c){return a.classList.add(c)});this._previousFontSetClass=b;this.fontIcon===this._previousFontIconClass||b.includes("mat-ligature-font")||(this._previousFontIconClass&&
a.classList.remove(this._previousFontIconClass),this.fontIcon&&a.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}};g._cleanupFontValue=function(a){return"string"===typeof a?a.trim().split(" ")[0]:a};g._prependPathToReferences=function(a){var b=this._elementsWithExternalReferences;b&&b.forEach(function(c,d){c.forEach(function(e){d.setAttribute(e.name,"url('"+a+"#"+e.value+"')")})})};
g._cacheChildrenWithExternalReferences=function(a){var b=a.querySelectorAll(OMb),c=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(a={$jscomp$loop$prop$i$2224:0};a.$jscomp$loop$prop$i$2224<b.length;a={$jscomp$loop$prop$i$2224:a.$jscomp$loop$prop$i$2224},a.$jscomp$loop$prop$i$2224++)NMb.forEach(function(d){return function(e){var f=b[d.$jscomp$loop$prop$i$2224],h=f.getAttribute(e);if(h=h?h.match(PMb):null){var l=c.get(f);l||(l=[],c.set(f,l));l.push({name:e,value:h[1]})}}}(a))};
g._updateSvgIcon=function(a){var b=this;this._svgName=this._svgNamespace=null;this._currentIconFetch.unsubscribe();if(a){a=m(this._splitIconName(a));var c=a.next().value,d=a.next().value;c&&(this._svgNamespace=c);d&&(this._svgName=d);this._currentIconFetch=JMb(this._iconRegistry,d,c).pipe(Rf()).subscribe(function(e){return b._setSvgElement(e)},function(e){b._errorHandler.handleError(Error("wb`"+c+"`"+d+"`"+e.message))})}};
Xi.Object.defineProperties(jB.prototype,{inline:{configurable:!0,enumerable:!0,get:function(){return this._inline},set:function(a){this._inline=bi(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())}}});jB.\u0275fac=function(a){return new (a||jB)(A(ke),A(hB),ce("aria-hidden"),A(MMb),A(Qe),A(LMb,8))};
jB.\u0275cmp=p({type:jB,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(a,b){a&2&&(ug("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),Fg("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:[qg],ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(Ng(),Og(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 kB=function(a,b,c){var d=this;this.document=a;this.focusTrapFactory=b;this.elementRef=c;this.dismiss=new Rv;this.action=new Rv;this.pointerPosition=2;this.color="blue";this.actionBtnIcon=this.actionBtnText="";this.Position=GMb;this.width=272;this.previouslyFocusedElement=null;this.focusTrap=this.focusTrapFactory.create(this.elementRef.nativeElement,{defer:!0});this.dismissIfEscape=function(e){"Escape"===e.key&&d.dismissTooltip()};this.setPreviouslyFocusedElement=function(){var e=d.document.activeElement;
null!=e&&e.closest("onedev-feature-tooltip-body")||(d.previouslyFocusedElement=d.document.activeElement)};this.document.addEventListener("keydown",this.dismissIfEscape);this.document.addEventListener("focusin",this.setPreviouslyFocusedElement)};kB.prototype.ngAfterContentInit=function(){Bx(this.focusTrap);this.setPreviouslyFocusedElement();$Hb(this.focusTrap)};
kB.prototype.ngOnDestroy=function(){this.document.removeEventListener("keydown",this.dismissIfEscape);this.document.removeEventListener("focusin",this.setPreviouslyFocusedElement);this.focusTrap.destroy()};
kB.prototype.dismissTooltip=function(){this.dismiss.next();this.previouslyFocusedElement&&"focus"in this.previouslyFocusedElement&&this.previouslyFocusedElement.focus({preventScroll:!0});this.document.removeEventListener("keydown",this.dismissIfEscape);this.document.removeEventListener("focusin",this.setPreviouslyFocusedElement)};Xi.Object.defineProperties(kB.prototype,{widthOffset:{configurable:!0,enumerable:!0,set:function(a){this.width=272+64*a}}});
kB.\u0275fac=function(a){return new (a||kB)(A(Vi),A(Zy),A(ke))};
kB.\u0275cmp=p({type:kB,selectors:[["onedev-feature-tooltip-body"]],hostVars:16,hostBindings:function(a,b){a&2&&Fg("pointer-top-left",b.pointerPosition===b.Position.TOP_LEFT)("pointer-top-right",b.pointerPosition===b.Position.TOP_RIGHT)("pointer-bottom-left",b.pointerPosition===b.Position.BOTTOM_LEFT)("pointer-bottom-right",b.pointerPosition===b.Position.BOTTOM_RIGHT)("pointer-left-top",b.pointerPosition===b.Position.LEFT_TOP)("pointer-left-bottom",b.pointerPosition===b.Position.LEFT_BOTTOM)("pointer-right-top",
b.pointerPosition===b.Position.RIGHT_TOP)("pointer-right-bottom",b.pointerPosition===b.Position.RIGHT_BOTTOM)},inputs:{pointerPosition:"pointerPosition",widthOffset:"widthOffset",color:"color",actionBtnText:"actionBtnText",actionBtnIcon:"actionBtnIcon"},outputs:{dismiss:"dismiss",action:"action"},features:[Ug([{provide:mKb,useValue:{preventFocus:function(){},allowFocus:function(){}}},Zy])],ngContentSelectors:["*"],decls:8,vars:5,consts:[["cdkTrapFocus","","role","dialog","aria-modal","true","aria-label",
"Feature Tooltip",1,"tooltip-body","gmat-body-2",3,"ngClass"],[1,"pointer-container"],[1,"pointer"],[1,"button-row"],["class","action-button","mat-button","",3,"click",4,"ngIf"],["cdkFocusInitial","","mat-flat-button","",1,"close-button",3,"color","click"],["mat-button","",1,"action-button",3,"click"],[1,"action-button-wrapper"],["class","action-button-icon",4,"ngIf"],[1,"action-button-icon"]],template:function(a,b){a&1&&(Ng(),E(0,"div",0)(1,"div",1),H(2,"div",2),F(),Og(3),E(4,"div",3),P(5,ana,4,
2,"button",4),E(6,"button",5),K("click",function(){return b.dismissTooltip()}),Q(7," Got it "),F()()());a&2&&(Eg("width",b.width,"px"),D("ngClass",b.color),z(5),D("ngIf",b.actionBtnText),z(1),D("color","white"===b.color?"primary":""))},dependencies:[Ex,ww,yw,tA,jB],styles:[".overlay-container{overflow:hidden}.dark-mode,:root{--tooltip-white-bg:var(--surface-default,#fff);--tooltip-blue-bg:var(--blue-700,#1967d2);--tooltip-white-text:var(--grey-800,#3c4043);--tooltip-blue-text:var(--text-inverse,#fff);--tooltip-shadow-color:rgba(0,0,0,.2)}.dark-mode{--tooltip-white-bg:var(--surface-default,#28292c);--tooltip-blue-bg:var(--blue-300,#8ab4f8);--tooltip-white-text:var(--grey-300,#dadce0);--tooltip-blue-text:var(--text-inverse,#000);--tooltip-shadow-color:rgba(0,0,0,.5)}.tooltip-body{padding:24px;border-radius:8px;color:var(--tooltip-text);background-color:var(--tooltip-bg);position:relative;--pointer-edge-offset:24px;--pointer-width:18px;--pointer-height:12px;--pointer-container-height:30px;--pointer-container-width:calc(var(--pointer-edge-offset)*2 + var(--pointer-width));--pointer-adjustment:-9px;box-shadow:0 1px 3px 0 var(--tooltip-shadow-color),0 4px 8px 3px var(--tooltip-shadow-color)}.tooltip-body.blue{--tooltip-text:var(--tooltip-blue-text);--tooltip-bg:var(--tooltip-blue-bg)}.tooltip-body.white{--tooltip-text:var(--tooltip-white-text);--tooltip-bg:var(--tooltip-white-bg)}.tooltip-body .button-row{margin-top:16px;text-align:right}.tooltip-body .button-row>button{height:36px}.tooltip-body .button-row .close-button{color:var(--tooltip-bg);margin-left:16px;width:88px}.tooltip-body .button-row .action-button{padding-left:8px;padding-right:8px}.tooltip-body .button-row .action-button .action-button-wrapper{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center}.tooltip-body .button-row .action-button .action-button-wrapper .action-button-icon{font-size:18px;height:18px;padding-left:8px;width:18px}.tooltip-body .pointer-container{position:absolute;overflow:hidden;pointer-events:none}.tooltip-body .pointer-container .pointer{width:16px;height:16px;position:absolute;background-color:var(--tooltip-bg)}.tooltip-body .tooltip-title{margin:0 4px 0 0}.pointer-bottom-left .pointer-container{height:var(--pointer-container-height);width:var(--pointer-container-width)}.pointer-bottom-left .pointer{left:calc(var(--pointer-edge-offset) + 1px);-webkit-transform:rotate(45deg) skew(8deg,8deg);transform:rotate(45deg) skew(8deg,8deg)}.pointer-bottom-left .tooltip-body{margin-bottom:var(--pointer-height)}.pointer-bottom-left .pointer{box-shadow:2px 2px 8px 3px var(--tooltip-shadow-color);top:var(--pointer-adjustment)}.pointer-bottom-left .pointer-container{bottom:calc(var(--pointer-container-height)*-1)}.pointer-bottom-left .pointer-container{left:0}.pointer-bottom-right .pointer-container{height:var(--pointer-container-height);width:var(--pointer-container-width)}.pointer-bottom-right .pointer{left:calc(var(--pointer-edge-offset) + 1px);-webkit-transform:rotate(45deg) skew(8deg,8deg);transform:rotate(45deg) skew(8deg,8deg)}.pointer-bottom-right .tooltip-body{margin-bottom:var(--pointer-height)}.pointer-bottom-right .pointer{box-shadow:2px 2px 8px 3px var(--tooltip-shadow-color);top:var(--pointer-adjustment)}.pointer-bottom-right .pointer-container{bottom:calc(var(--pointer-container-height)*-1)}.pointer-bottom-right .pointer-container{right:0}.pointer-top-left .pointer-container{height:var(--pointer-container-height);width:var(--pointer-container-width)}.pointer-top-left .pointer{left:calc(var(--pointer-edge-offset) + 1px);-webkit-transform:rotate(45deg) skew(8deg,8deg);transform:rotate(45deg) skew(8deg,8deg)}.pointer-top-left .tooltip-body{margin-top:var(--pointer-height)}.pointer-top-left .pointer{box-shadow:-1px -1px 3px 0 var(--tooltip-shadow-color);bottom:var(--pointer-adjustment)}.pointer-top-left .pointer-container{top:calc(var(--pointer-container-height)*-1)}.pointer-top-left .pointer-container{left:0}.pointer-top-right .pointer-container{height:var(--pointer-container-height);width:var(--pointer-container-width)}.pointer-top-right .pointer{left:calc(var(--pointer-edge-offset) + 1px);-webkit-transform:rotate(45deg) skew(8deg,8deg);transform:rotate(45deg) skew(8deg,8deg)}.pointer-top-right .tooltip-body{margin-top:var(--pointer-height)}.pointer-top-right .pointer{box-shadow:-1px -1px 3px 0 var(--tooltip-shadow-color);bottom:var(--pointer-adjustment)}.pointer-top-right .pointer-container{top:calc(var(--pointer-container-height)*-1)}.pointer-top-right .pointer-container{right:0}.pointer-left-top .pointer-container{height:var(--pointer-container-width);width:var(--pointer-container-height)}.pointer-left-top .pointer{top:calc(var(--pointer-edge-offset) + 1px);-webkit-transform:rotate(135deg) skew(8deg,8deg);transform:rotate(135deg) skew(8deg,8deg)}.pointer-left-top .tooltip-body{margin-left:var(--pointer-height)}.pointer-left-top .pointer{box-shadow:2px 2px 5px 0 var(--tooltip-shadow-color);right:var(--pointer-adjustment)}.pointer-left-top .pointer-container{left:calc(var(--pointer-container-height)*-1)}.pointer-left-top .pointer-container{top:0}.pointer-left-bottom .pointer-container{height:var(--pointer-container-width);width:var(--pointer-container-height)}.pointer-left-bottom .pointer{top:calc(var(--pointer-edge-offset) + 1px);-webkit-transform:rotate(135deg) skew(8deg,8deg);transform:rotate(135deg) skew(8deg,8deg)}.pointer-left-bottom .tooltip-body{margin-left:var(--pointer-height)}.pointer-left-bottom .pointer{box-shadow:2px 2px 5px 0 var(--tooltip-shadow-color);right:var(--pointer-adjustment)}.pointer-left-bottom .pointer-container{left:calc(var(--pointer-container-height)*-1)}.pointer-left-bottom .pointer-container{bottom:0}.pointer-right-top .pointer-container{height:var(--pointer-container-width);width:var(--pointer-container-height)}.pointer-right-top .pointer{top:calc(var(--pointer-edge-offset) + 1px);-webkit-transform:rotate(135deg) skew(8deg,8deg);transform:rotate(135deg) skew(8deg,8deg)}.pointer-right-top .tooltip-body{margin-right:var(--pointer-height)}.pointer-right-top .pointer{left:var(--pointer-adjustment);box-shadow:1px -1px 8px 3px var(--tooltip-shadow-color)}.pointer-right-top .pointer-container{right:calc(var(--pointer-container-height)*-1)}.pointer-right-top .pointer-container{top:0}.pointer-right-bottom .pointer-container{height:var(--pointer-container-width);width:var(--pointer-container-height)}.pointer-right-bottom .pointer{top:calc(var(--pointer-edge-offset) + 1px);-webkit-transform:rotate(135deg) skew(8deg,8deg);transform:rotate(135deg) skew(8deg,8deg)}.pointer-right-bottom .tooltip-body{margin-right:var(--pointer-height)}.pointer-right-bottom .pointer{left:var(--pointer-adjustment);box-shadow:1px -1px 8px 3px var(--tooltip-shadow-color)}.pointer-right-bottom .pointer-container{right:calc(var(--pointer-container-height)*-1)}.pointer-right-bottom .pointer-container{bottom:0}"],
encapsulation:2,changeDetection:0});var lB=function(){};lB.\u0275fac=function(a){return new (a||lB)};lB.\u0275mod=od({type:lB});lB.\u0275inj=Wc({});var mB=function(){this.anchorMap=new Map},nB=function(a,b){if(a.anchorMap.has(b))return a.anchorMap.get(b);var c={created$:new C.ReplaySubject(1),destroyed$:new C.Subject,dismissTooltip$:new C.Subject};a.anchorMap.set(b,c);return c},QMb=function(a,b,c){nB(a,b).created$.next(c)},RMb=function(a,b){nB(a,b).destroyed$.next();nB(a,b).created$.next(void 0)};mB.prototype.dismissTooltip=function(a){nB(this,a).dismissTooltip$.next()};mB.\u0275fac=function(a){return new (a||mB)};
mB.\u0275prov=Vc({token:mB,factory:mB.\u0275fac,providedIn:lB});var oB={TOP_LEFT:{pointerPosition:2,connectedPosition:{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",offsetX:-12}},TOP_CENTER_RIGHT:{pointerPosition:2,connectedPosition:{originX:"center",originY:"top",overlayX:"start",overlayY:"bottom",offsetX:-33}},TOP_CENTER_LEFT:{pointerPosition:3,connectedPosition:{originX:"center",originY:"top",overlayX:"end",overlayY:"bottom",offsetX:33}},TOP_RIGHT:{pointerPosition:3,connectedPosition:{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",
offsetX:12}},RIGHT_TOP:{pointerPosition:4,connectedPosition:{originX:"end",originY:"top",overlayX:"start",overlayY:"top",offsetY:-12}},RIGHT_CENTER_BOTTOM:{pointerPosition:4,connectedPosition:{originX:"end",originY:"center",overlayX:"start",overlayY:"top",offsetY:-33}},RIGHT_CENTER_TOP:{pointerPosition:5,connectedPosition:{originX:"end",originY:"center",overlayX:"start",overlayY:"bottom",offsetY:33}},RIGHT_BOTTOM:{pointerPosition:5,connectedPosition:{originX:"end",originY:"bottom",overlayX:"start",
overlayY:"bottom",offsetY:12}},LEFT_BOTTOM:{pointerPosition:7,connectedPosition:{originX:"start",originY:"bottom",overlayX:"end",overlayY:"bottom",offsetY:12}},LEFT_CENTER_BOTTOM:{pointerPosition:6,connectedPosition:{originX:"start",originY:"center",overlayX:"end",overlayY:"top",offsetY:-33}},LEFT_CENTER_TOP:{pointerPosition:7,connectedPosition:{originX:"start",originY:"center",overlayX:"end",overlayY:"bottom",offsetY:33}},LEFT_TOP:{pointerPosition:6,connectedPosition:{originX:"start",originY:"top",
overlayX:"end",overlayY:"top",offsetY:-12}},BOTTOM_LEFT:{pointerPosition:0,connectedPosition:{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top",offsetX:-12}},BOTTOM_CENTER_RIGHT:{pointerPosition:0,connectedPosition:{originX:"center",originY:"bottom",overlayX:"start",overlayY:"top",offsetX:-33}},BOTTOM_CENTER_LEFT:{pointerPosition:1,connectedPosition:{originX:"center",originY:"bottom",overlayX:"end",overlayY:"top",offsetX:33}},BOTTOM_RIGHT:{pointerPosition:1,connectedPosition:{originX:"end",
originY:"bottom",overlayX:"end",overlayY:"top",offsetX:12}}},SMb=[oB.TOP_CENTER_RIGHT,oB.TOP_CENTER_LEFT,oB.BOTTOM_CENTER_RIGHT,oB.BOTTOM_CENTER_LEFT],TMb=[oB.TOP_LEFT,oB.TOP_RIGHT,oB.BOTTOM_LEFT,oB.BOTTOM_RIGHT],UMb=[oB.LEFT_CENTER_BOTTOM,oB.LEFT_CENTER_TOP,oB.RIGHT_CENTER_BOTTOM,oB.RIGHT_CENTER_TOP],VMb=[oB.LEFT_TOP,oB.LEFT_BOTTOM,oB.RIGHT_TOP,oB.RIGHT_BOTTOM];var pB=function(){};pB.\u0275fac=function(a){return new (a||pB)};pB.\u0275mod=od({type:pB});pB.\u0275inj=Wc({});var qB=function(){},XMb=function(a,b){return WMb(a,b).map(function(c){return c.connectedPosition})},YMb=function(a,b,c){a=WMb(a,b).find(function(d){return d.connectedPosition===c});if(!a)throw Error("xb`"+JSON.stringify(c));return a.pointerPosition},WMb=function(a,b){b=ZMb(b).filter(function(c){return!a.includes(c)});return a.concat(b)},ZMb=function(a){var b,c=null==a?void 0:null==(b=a.nativeElement)?void 0:b.clientWidth,d;a=null==a?void 0:null==(d=a.nativeElement)?void 0:d.clientHeight;return(void 0!==
c&&60>c?SMb:TMb).concat(void 0!==a&&60>a?UMb:VMb)};qB.\u0275fac=function(a){return new (a||qB)};qB.\u0275prov=Vc({token:qB,factory:qB.\u0275fac,providedIn:pB});var rB={};rB.AssertionError=ca;rB.ENABLE_ASSERTS=!1;rB.assert=function(a){return a};rB.assertArray=function(a){return a};rB.assertBoolean=function(a){return a};rB.assertElement=function(a){return a};rB.assertExists=function(a){return a};rB.assertFinite=function(a){return a};rB.assertFunction=function(a){return a};rB.assertInstanceof=function(a){return a};rB.assertNumber=function(a){return a};rB.assertObject=function(a){return a};rB.assertString=function(a){return a};rB.fail=function(){};var $Mb=["template"],sB=function(a,b,c,d,e){var f=this;this.anchorService=a;this.overlay=b;this.containerRef=c;this.ngZone=d;this.changeDetectorRef=e;this.open$=new C.Subject;this.customPositions=[];this.widthOffset=0;this.color="blue";this.hasBackdrop=!1;this.actionBtnIcon=this.actionBtnText="";this.dismiss=new Rv;this.beforeShown=new Rv;this.action=new Rv;this.pointerPosition=0;this.destroyed$=new C.ReplaySubject;this.init$=new C.ReplaySubject;this.savedAnchorStyles={zIndex:"",position:""};this.hideFeatureTooltip=
function(){f.overlayRef&&f.hasBackdrop&&f.anchor&&(f.anchor.nativeElement.style.position=f.savedAnchorStyles.position,f.anchor.nativeElement.style.zIndex=f.savedAnchorStyles.zIndex);var h;null==(h=f.overlayRef)||h.dispose();f.overlayRef=void 0}};sB.prototype.ngOnChanges=function(a){if(a.customPositions){var b;null==(b=this.overlayRef)||GKb(b,aNb(this))}};
sB.prototype.ngOnInit=function(){var a=nB(this.anchorService,this.tooltipId),b=a.destroyed$,c=a.dismissTooltip$;bNb(this,a.created$);b.pipe(dg(this.destroyed$)).subscribe(this.hideFeatureTooltip);cNb(this,c)};sB.prototype.ngAfterViewInit=function(){this.init$.next()};sB.prototype.ngOnDestroy=function(){this.hideFeatureTooltip();this.destroyed$.next()};
var bNb=function(a,b){a.open$.pipe(uha(a.init$),eg(function(){a.beforeShown.emit()}),cg(function(){return b.pipe(dg(a.dismiss))}),dg(a.destroyed$),Gf(function(c){return!!c&&!a.isVisible()})).subscribe(function(c){a.anchor=c;c=c.nativeElement;if(a.hasBackdrop){var d=c.style,e=d.position;a.savedAnchorStyles={zIndex:d.zIndex,position:e};if("static"===e||""===e)c.style.position="relative";c.style.zIndex="1001"}a.overlayRef=a.overlay.create({positionStrategy:aNb(a),scrollStrategy:a.getScrollStrategy(),
minWidth:"fit-content",hasBackdrop:a.hasBackdrop});var f;null==(f=a.overlayRef)||f.attach(new Mx(a.templateRef,a.containerRef))})},cNb=function(a,b){b.pipe(dg(a.destroyed$),Gf(function(){return a.isVisible()})).subscribe(function(){a.hideFeatureTooltip();a.dismiss.emit()})};sB.prototype.getScrollStrategy=function(){var a=this.overlay.scrollStrategies;return this.hasBackdrop?a.block():a.reposition()};
sB.prototype.getPositionStrategy=function(){if(!this.anchor)throw Error("yb");return Dz(Hz(this.overlay.position(),this.anchor),XMb(this.customPositions,this.anchor))};var aNb=function(a){var b=a.getPositionStrategy();b.positionChanges.subscribe(function(c){a.ngZone.run(function(){a.pointerPosition=YMb(a.customPositions,a.anchor,c.connectionPair);a.changeDetectorRef.markForCheck()})});return b};sB.prototype.isVisible=function(){return!!this.overlayRef};
sB.\u0275fac=function(a){return new (a||sB)(A(mB),A(Iz),A(fh),A(hg),A(qw),A(qB))};
sB.\u0275cmp=p({type:sB,selectors:[["onedev-feature-tooltip"]],viewQuery:function(a,b){a&1&&ih($Mb,5);if(a&2){var c;hh(c=kh())&&(b.templateRef=c.first)}},inputs:{tooltipId:"tooltipId",open$:"open$",customPositions:"customPositions",widthOffset:"widthOffset",color:"color",hasBackdrop:"hasBackdrop",actionBtnText:"actionBtnText",actionBtnIcon:"actionBtnIcon"},outputs:{dismiss:"dismiss",beforeShown:"beforeShown",action:"action"},features:[Hd],ngContentSelectors:["*"],decls:2,vars:0,consts:[["template",
""],[3,"actionBtnText","actionBtnIcon","color","pointerPosition","widthOffset","action","dismiss"]],template:function(a){a&1&&(Ng(),P(0,bna,2,5,"ng-template",null,0,qh))},dependencies:[kB],encapsulation:2,changeDetection:0});var tB=function(){};tB.\u0275fac=function(a){return new (a||tB)};tB.\u0275mod=od({type:tB});tB.\u0275inj=Wc({});var uB=function(){};uB.\u0275fac=function(a){return new (a||uB)};uB.\u0275mod=od({type:uB});uB.\u0275inj=Wc({imports:[tB]});var vB=function(){};vB.prototype.getValue=function(a){a=window.localStorage.getItem(a);return(0,C.of)(a?JSON.parse(a):null)};vB.prototype.getValues=function(a){return(0,C.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))};vB.prototype.setValue=function(a,b){window.localStorage.setItem(a,JSON.stringify(b));return(0,C.of)(void 0)};vB.\u0275fac=function(a){return new (a||vB)};
vB.\u0275prov=Vc({token:vB,factory:vB.\u0275fac,providedIn:tB});var dNb=function(a){this.cellValue_=a};var wB=function(a,b,c){this.metricName_=a;this.cellType_=b;this.fields_=c||[];this.cellMap_=new Map};g=wB.prototype;g.addCell=function(a){var b=yd.apply(1,arguments),c=this.getCells(b);c?c.push(new dNb(a)):this.setCell(a,b)};g.setCell=function(a){var b=this.getKey_(yd.apply(1,arguments));this.cellMap_.set(b,[new dNb(a)])};g.getCells=function(){var a=this.getKey_(yd.apply(0,arguments));return this.cellMap_.has(a)?this.cellMap_.get(a):void 0};
g.getCell=function(){var a=this.getCells(yd.apply(0,arguments));return a&&a.length?a[0]:void 0};g.clear=function(){this.cellMap_.clear()};g.getKey_=function(){var a=yd.apply(0,arguments);return a?a.join(","):"key"};var xB=function(a,b){wB.call(this,a,3,b)};W(xB,wB);xB.prototype.incrementCounter=function(){this.incrementCounterBy(1,yd.apply(0,arguments))};xB.prototype.incrementCounterBy=function(a){var b=yd.apply(1,arguments),c=0,d=this.getCell(b);d&&(c=d.cellValue_);this.setCell(c+a,b)};var eNb=function(a,b){wB.call(this,a,2,b)};W(eNb,wB);eNb.prototype.record=function(a){this.addCell(a,yd.apply(1,arguments))};var hj=function(){this.disposed_=this.disposed_;this.onDisposeCallbacks_=this.onDisposeCallbacks_};hj.prototype.disposed_=!1;hj.prototype.isDisposed=function(){return this.disposed_};hj.prototype.dispose=function(){this.disposed_||(this.disposed_=!0,this.disposeInternal())};var yB=function(a,b){b=fu(fj,b);a.disposed_?b():(a.onDisposeCallbacks_||(a.onDisposeCallbacks_=[]),a.onDisposeCallbacks_.push(b))};hj.prototype.disposeInternal=function(){if(this.onDisposeCallbacks_)for(;this.onDisposeCallbacks_.length;)this.onDisposeCallbacks_.shift()()};var zB=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.propagationStopped_=!1};zB.prototype.stopPropagation=function(){this.propagationStopped_=!0};zB.prototype.preventDefault=function(){this.defaultPrevented=!0};var fNb=[],gNb=[],hNb=!1,iNb=function(a){fNb[fNb.length]=a;if(hNb)for(var b=0;b<gNb.length;b++)a(eu(gNb[b].wrap,gNb[b]))};var jNb=function(){if(!da.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{da.addEventListener("test",function(){},b),da.removeEventListener("test",function(){},b)}catch(c){}return a}();var AB=function(a,b){zB.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)};gu(AB,zB);var kNb={2:"touch",3:"pen",4:"mouse"};
AB.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)?ku&&(wCb(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=lu||void 0!==a.offsetX?
a.offsetX:a.layerX,this.offsetY=lu||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=Yr?a.metaKey:a.ctrlKey;this.pointerId=
a.pointerId||0;this.pointerType="string"===typeof a.pointerType?a.pointerType:kNb[a.pointerType]||"";this.state=a.state;this.event_=a;a.defaultPrevented&&AB.superClass_.preventDefault.call(this)};AB.prototype.stopPropagation=function(){AB.superClass_.stopPropagation.call(this);this.event_.stopPropagation?this.event_.stopPropagation():this.event_.cancelBubble=!0};
AB.prototype.preventDefault=function(){AB.superClass_.preventDefault.call(this);var a=this.event_;a.preventDefault?a.preventDefault():a.returnValue=!1};var lNb="closure_listenable_"+(1E6*Math.random()|0),BB=function(a){return!(!a||!a[lNb])};var mNb=0;var nNb=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=++mNb;this.removed=this.callOnce=!1},oNb=function(a){a.removed=!0;a.listener=null;a.proxy=null;a.src=null;a.handler=null};var CB=function(a){this.src=a;this.listeners={};this.typeCount_=0};CB.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.listeners[f];a||(a=this.listeners[f]=[],this.typeCount_++);var h=pNb(a,b,d,e);-1<h?(b=a[h],c||(b.callOnce=!1)):(b=new nNb(b,this.src,f,!!d,e),b.callOnce=c,a.push(b));return b};
CB.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.listeners))return!1;var e=this.listeners[a];b=pNb(e,b,c,d);return-1<b?(oNb(e[b]),Ka(e,b),0==e.length&&(delete this.listeners[a],this.typeCount_--),!0):!1};var qNb=function(a,b){var c=b.type;if(!(c in a.listeners))return!1;var d=La(a.listeners[c],b);d&&(oNb(b),0==a.listeners[c].length&&(delete a.listeners[c],a.typeCount_--));return d};
CB.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,oNb(d[e]);delete this.listeners[c];this.typeCount_--}return b};CB.prototype.getListener=function(a,b,c,d){a=this.listeners[a.toString()];var e=-1;a&&(e=pNb(a,b,c,d));return-1<e?a[e]:null};
CB.prototype.hasListener=function(a,b){var c=void 0!==a,d=c?a.toString():"",e=void 0!==b;return Rba(this.listeners,function(f){for(var h=0;h<f.length;++h)if(!(c&&f[h].type!=d||e&&f[h].capture!=b))return!0;return!1})};var pNb=function(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.removed&&f.listener==b&&f.capture==!!c&&f.handler==d)return e}return-1};var rNb="closure_lm_"+(1E6*Math.random()|0),sNb={},tNb=0,xq=function(a,b,c,d,e){if(d&&d.once)return DB(a,b,c,d,e);if(Array.isArray(b)){for(var f=0;f<b.length;f++)xq(a,b[f],c,d,e);return null}c=uNb(c);return BB(a)?a.listen(b,c,Ta(d)?!!d.capture:!!d,e):vNb(a,b,c,!1,d,e)},vNb=function(a,b,c,d,e,f){if(!b)throw Error("zb");var h=Ta(e)?!!e.capture:!!e,l=EB(a);l||(a[rNb]=l=new CB(a));c=l.add(b,c,d,h,f);if(c.proxy)return c;d=wNb();c.proxy=d;d.src=a;d.listener=c;if(a.addEventListener)jNb||(e=h),void 0===e&&
(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(xNb(b.toString()),d);else if(a.addListener&&a.removeListener)a.addListener(d);else throw Error("Ab");tNb++;return c},wNb=function(){var a=yNb,b=function(c){return a.call(b.src,b.listener,c)};return b},DB=function(a,b,c,d,e){if(Array.isArray(b)){for(var f=0;f<b.length;f++)DB(a,b[f],c,d,e);return null}c=uNb(c);return BB(a)?a.listenOnce(b,c,Ta(d)?!!d.capture:!!d,e):vNb(a,b,c,!0,d,e)},FB=function(a,b,c,d,e){if(Array.isArray(b))for(var f=
0;f<b.length;f++)FB(a,b[f],c,d,e);else d=Ta(d)?!!d.capture:!!d,c=uNb(c),BB(a)?a.unlisten(b,c,d,e):a&&(a=EB(a))&&(b=a.getListener(b,c,d,e))&&GB(b)},GB=function(a){if("number"===typeof a||!a||a.removed)return!1;var b=a.src;if(BB(b))return b.unlistenByKey(a);var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(xNb(c),d):b.addListener&&b.removeListener&&b.removeListener(d);tNb--;(c=EB(b))?(qNb(c,a),0==c.typeCount_&&(c.src=null,b[rNb]=null)):oNb(a);
return!0},xNb=function(a){return a in sNb?sNb[a]:sNb[a]="on"+a},yNb=function(a,b){if(a.removed)a=!0;else{b=new AB(b,this);var c=a.listener,d=a.handler||a.src;a.callOnce&&GB(a);a=c.call(d,b)}return a},EB=function(a){a=a[rNb];return a instanceof CB?a:null},zNb="__closure_events_fn_"+(1E9*Math.random()>>>0),uNb=function(a){if("function"===typeof a)return a;a[zNb]||(a[zNb]=function(b){return a.handleEvent(b)});return a[zNb]};iNb(function(a){yNb=a(yNb)});var wq=function(){hj.call(this);this.eventTargetListeners_=new CB(this);this.actualEventTarget_=this;this.parentEventTarget_=null};gu(wq,hj);wq.prototype[lNb]=!0;g=wq.prototype;g.getParentEventTarget=function(){return this.parentEventTarget_};g.setParentEventTarget=function(a){this.parentEventTarget_=a};g.addEventListener=function(a,b,c,d){xq(this,a,b,c,d)};g.removeEventListener=function(a,b,c,d){FB(this,a,b,c,d)};
g.dispatchEvent=function(a){var b,c=this.getParentEventTarget();if(c)for(b=[];c;c=c.getParentEventTarget())b.push(c);c=this.actualEventTarget_;var d=a.type||a;if("string"===typeof a)a=new zB(a,c);else if(a instanceof zB)a.target=a.target||c;else{var e=a;a=new zB(d,c);uc(a,e)}e=!0;if(b)for(var f=b.length-1;!a.propagationStopped_&&0<=f;f--){var h=a.currentTarget=b[f];e=h.fireListeners(d,!0,a)&&e}a.propagationStopped_||(h=a.currentTarget=c,e=h.fireListeners(d,!0,a)&&e,a.propagationStopped_||(e=h.fireListeners(d,
!1,a)&&e));if(b)for(f=0;!a.propagationStopped_&&f<b.length;f++)h=a.currentTarget=b[f],e=h.fireListeners(d,!1,a)&&e;return e};g.disposeInternal=function(){wq.superClass_.disposeInternal.call(this);this.removeAllListeners();this.parentEventTarget_=null};g.listen=function(a,b,c,d){return this.eventTargetListeners_.add(String(a),b,!1,c,d)};g.listenOnce=function(a,b,c,d){return this.eventTargetListeners_.add(String(a),b,!0,c,d)};
g.unlisten=function(a,b,c,d){return this.eventTargetListeners_.remove(String(a),b,c,d)};g.unlistenByKey=function(a){return qNb(this.eventTargetListeners_,a)};g.removeAllListeners=function(a){return this.eventTargetListeners_?this.eventTargetListeners_.removeAll(a):0};
g.fireListeners=function(a,b,c){a=this.eventTargetListeners_.listeners[String(a)];if(!a)return!0;a=a.concat();for(var d=!0,e=0;e<a.length;++e){var f=a[e];if(f&&!f.removed&&f.capture==b){var h=f.listener,l=f.handler||f.src;f.callOnce&&this.unlistenByKey(f);d=!1!==h.call(l,c)&&d}}return d&&!c.defaultPrevented};g.getListener=function(a,b,c,d){return this.eventTargetListeners_.getListener(String(a),b,c,d)};
g.hasListener=function(a,b){return this.eventTargetListeners_.hasListener(void 0!==a?String(a):void 0,b)};var ANb=function(a,b){this.limit_=100;this.create_=a;this.reset_=b;this.occupants_=0;this.head_=null};ANb.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};ANb.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 BNb=iu||lu;var CNb=function(a,b){return a+Math.random()*(b-a)};var cs=function(a,b){this.x=void 0!==a?a:0;this.y=void 0!==b?b:0};cs.prototype.clone=function(){return new cs(this.x,this.y)};cs.prototype.equals=function(a){return a instanceof cs&&(this==a?!0:this&&a?this.x==a.x&&this.y==a.y:!1)};var ds=function(a,b){return new cs(a.x-b.x,a.y-b.y)};g=cs.prototype;g.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};g.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};
g.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};g.translate=function(a,b){a instanceof cs?(this.x+=a.x,this.y+=a.y):(this.x+=Number(a),"number"===typeof b&&(this.y+=b));return this};g.scale=function(a,b){this.x*=a;this.y*="number"===typeof b?b:a;return this};var HB=function(a,b){this.width=a;this.height=b},T9a=function(a,b){return a==b?!0:a&&b?a.width==b.width&&a.height==b.height:!1};g=HB.prototype;g.clone=function(){return new HB(this.width,this.height)};g.aspectRatio=function(){return this.width/this.height};g.isEmpty=function(){return!(this.width*this.height)};g.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};g.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};
g.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};g.scale=function(a,b){this.width*=a;this.height*="number"===typeof b?b:a;return this};var zq=function(a){return a?new IB(JB(a)):hCb||(hCb=new IB)},KB=function(a,b){return"string"===typeof b?a.getElementById(b):b},LB=function(a,b){return(b||document).getElementsByTagName(String(a))},ENb=function(a,b){nc(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:DNb.hasOwnProperty(d)?a.setAttribute(DNb[d],c):Nj(d,"aria-")||Nj(d,"data-")?a.setAttribute(d,c):a[d]=c})},
DNb={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"},MB=function(a){a=(a||window).document;a=FNb(a)?a.documentElement:a.body;return new HB(a.clientWidth,a.clientHeight)},OB=function(a){var b=NB(a);a=a.parentWindow||a.defaultView;return iu&&a.pageYOffset!=b.scrollTop?new cs(b.scrollLeft,b.scrollTop):new cs(a.pageXOffset||
b.scrollLeft,a.pageYOffset||b.scrollTop)},NB=function(a){return a.scrollingElement?a.scrollingElement:!lu&&FNb(a)?a.documentElement:a.body||a.documentElement},PB=function(a){return a?a.parentWindow||a.defaultView:window},HNb=function(a,b,c){return GNb(document,arguments)},GNb=function(a,b){var c=b[1],d=Rp(a,String(b[0]));c&&("string"===typeof c?d.className=c:Array.isArray(c)?d.className=c.join(" "):ENb(d,c));2<b.length&&INb(a,d,b,2);return d},INb=function(a,b,c,d){function e(l){l&&b.appendChild("string"===
typeof l?a.createTextNode(l):l)}for(;d<c.length;d++){var f=c[d];if(!Pa(f)||Ta(f)&&0<f.nodeType)e(f);else{a:{if(f&&"number"==typeof f.length){if(Ta(f)){var h="function"==typeof f.item||"string"==typeof f.item;break a}if("function"===typeof f){h="function"==typeof f.item;break a}}h=!1}Ea(h?Oa(f):f,e)}}},Rp=function(a,b){b=String(b);"application/xhtml+xml"===a.contentType&&(b=b.toLowerCase());return a.createElement(b)},FNb=function(a){return"CSS1Compat"==a.compatMode},JNb=function(a,b){INb(JB(a),a,arguments,
1)},KNb=function(a){for(var b;b=a.firstChild;)a.removeChild(b)},QB=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null},RB=function(a){return Ta(a)&&1==a.nodeType},Gab=function(a){var b;if(BNb&&(b=a.parentElement))return b;b=a.parentNode;return RB(b)?b:null},j1a=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},JB=function(a){return 9==a.nodeType?a:a.ownerDocument||a.document},LNb=function(a){return a.contentDocument||a.contentWindow.document},SB=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 KNb(a),a.appendChild(JB(a).createTextNode(String(b)))},MNb={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},NNb={IMG:" ",BR:"\n"},ONb=function(a){a=
a.tabIndex;return"number"===typeof a&&0<=a&&32768>a},PNb=function(a,b,c){if(!(a.nodeName in MNb))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 NNb)b.push(NNb[a.nodeName]);else for(a=a.firstChild;a;)PNb(a,b,c),a=a.nextSibling},b$a=function(){var a=PB();return void 0!==a.devicePixelRatio?a.devicePixelRatio:a.matchMedia?QNb(3)||QNb(2)||QNb(1.5)||QNb(1)||.75:1},QNb=function(a){return PB().matchMedia("(min-resolution: "+a+"dppx),(min--moz-device-pixel-ratio: "+
a+"),(min-resolution: "+96*a+"dpi)").matches?a:0},IB=function(a){this.document_=a||da.document||document};g=IB.prototype;g.getDomHelper=zq;g.getElement=function(a){return KB(this.document_,a)};g.$=IB.prototype.getElement;g.getElementsByTagName=function(a,b){return(b||this.document_).getElementsByTagName(String(a))};
g.getElementsByTagNameAndClass=function(a,b,c){c=c||this.document_;a=a&&"*"!=a?String(a).toUpperCase():"";if(c.querySelectorAll&&c.querySelector&&(a||b))b=c.querySelectorAll(a+(b?"."+b:""));else if(b&&c.getElementsByClassName)if(c=c.getElementsByClassName(b),a){for(var d={},e=0,f=0,h;h=c[f];f++)a==h.nodeName&&(d[e++]=h);d.length=e;b=d}else b=c;else if(c=c.getElementsByTagName(a||"*"),b){d={};for(f=e=0;h=c[f];f++)a=h.className,"function"==typeof a.split&&Ha(a.split(/\s+/),b)&&(d[e++]=h);d.length=e;
b=d}else b=c;return b};g.$$=IB.prototype.getElementsByTagNameAndClass;g.setProperties=ENb;g.getViewportSize=function(a){return MB(a||this.getWindow())};g.createDom=function(a,b,c){return GNb(this.document_,arguments)};g.createElement=function(a){return Rp(this.document_,a)};g.createTextNode=function(a){return this.document_.createTextNode(String(a))};g.getWindow=function(){var a=this.document_;return a.parentWindow||a.defaultView};g.appendChild=function(a,b){a.appendChild(b)};g.append=JNb;
g.canHaveChildren=function(a){if(1!=a.nodeType)return!1;switch(a.tagName){case "APPLET":case "AREA":case "BASE":case "BR":case "COL":case "COMMAND":case "EMBED":case "FRAME":case "HR":case "IMG":case "INPUT":case "IFRAME":case "ISINDEX":case "KEYGEN":case "LINK":case "NOFRAMES":case "NOSCRIPT":case "META":case "OBJECT":case "PARAM":case "SCRIPT":case "SOURCE":case "STYLE":case "TRACK":case "WBR":return!1}return!0};g.removeChildren=KNb;g.removeNode=QB;
g.getChildren=function(a){return void 0!=a.children?a.children:Array.prototype.filter.call(a.childNodes,function(b){return 1==b.nodeType})};g.isElement=RB;g.getParentElement=Gab;g.contains=j1a;
g.isFocusable=function(a){var b;"A"==a.tagName&&a.hasAttribute("href")||"INPUT"==a.tagName||"TEXTAREA"==a.tagName||"SELECT"==a.tagName||"BUTTON"==a.tagName?b=!a.disabled&&(!a.hasAttribute("tabindex")||ONb(a)):b=a.hasAttribute("tabindex")&&ONb(a);if(b&&iu){var c;"function"!==typeof a.getBoundingClientRect||iu&&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 RNb,SNb=function(){var a=da.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!oa("Presto")&&(a=function(){var e=Rp(document,"IFRAME");e.style.display="none";document.documentElement.appendChild(e);var f=e.contentWindow;e=f.document;e.open();e.close();var h="callImmediate"+Math.random(),l="file:"==f.location.protocol?"*":f.location.protocol+"//"+f.location.host;e=eu(function(q){if(("*"==l||q.origin==l)&&q.data==h)this.port1.onmessage()},
this);f.addEventListener("message",e,!1);this.port1={};this.port2={postMessage:function(){f.postMessage(h,l)}}});if("undefined"!==typeof a&&!aaa()){var b=new a,c={},d=c;b.port1.onmessage=function(){if(void 0!==c.next){c=c.next;var e=c.cb;c.cb=null;e()}};return function(e){d.next={cb:e};d=d.next;b.port2.postMessage(0)}}return function(e){da.setTimeout(e,0)}},TNb=$Db;iNb(function(a){TNb=a});var UNb=function(){this.workTail_=this.workHead_=null};UNb.prototype.add=function(a,b){var c=VNb.get();c.set(a,b);this.workTail_?this.workTail_.next=c:this.workHead_=c;this.workTail_=c};UNb.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 VNb=new ANb(function(){return new WNb},function(a){return a.reset()}),WNb=function(){this.next=this.scope=this.fn=null};
WNb.prototype.set=function(a,b){this.fn=a;this.scope=b;this.next=null};WNb.prototype.reset=function(){this.next=this.scope=this.fn=null};var XNb,YNb=!1,ZNb=new UNb,TB=function(a,b){XNb||$Nb();YNb||(XNb(),YNb=!0);ZNb.add(a,b)},$Nb=function(){if(da.Promise&&da.Promise.resolve){var a=da.Promise.resolve(void 0);XNb=function(){a.then(aOb)}}else XNb=function(){var b=aOb;b=TNb(b);"function"!==typeof da.setImmediate||da.Window&&da.Window.prototype&&!ra()&&da.Window.prototype.setImmediate==da.setImmediate?(RNb||(RNb=SNb()),RNb(b)):da.setImmediate(b)}},aOb=function(){for(var a;a=ZNb.remove();){try{a.fn.call(a.scope)}catch(b){ea(b)}VNb.put(a)}YNb=
!1};var bOb=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};var VB=function(a){this.state_=0;this.result_=void 0;this.callbackEntriesTail_=this.callbackEntries_=this.parent_=null;this.hadUnhandledRejection_=this.executing_=!1;if(a!=Mu)try{var b=this;a.call(void 0,function(c){UB(b,2,c)},function(c){UB(b,3,c)})}catch(c){UB(this,3,c)}},cOb=function(){this.next=this.context=this.onRejected=this.onFulfilled=this.child=null;this.always=!1};cOb.prototype.reset=function(){this.context=this.onRejected=this.onFulfilled=this.child=null;this.always=!1};
var dOb=new ANb(function(){return new cOb},function(a){a.reset()}),eOb=function(a,b,c){var d=dOb.get();d.onFulfilled=a;d.onRejected=b;d.context=c;return d},WB=function(a){if(a instanceof VB)return a;var b=new VB(Mu);UB(b,2,a);return b},fOb=function(a){return new VB(function(b,c){c(a)})},hOb=function(a,b,c){gOb(a,b,c,null)||TB(fu(b,a))},iOb=function(a){return new VB(function(b,c){a.length||b(void 0);for(var d=0,e;d<a.length;d++)e=a[d],hOb(e,b,c)})},jOb=function(a){return new VB(function(b,c){var d=
a.length,e=[];if(d)for(var f=function(u,x){d--;e[u]=x;0==d&&b(e)},h=function(u){c(u)},l=0,q;l<a.length;l++)q=a[l],hOb(q,fu(f,l),h);else b(e)})},kOb=function(a){return new VB(function(b,c){var d=a.length,e=[];if(d)for(var f=function(u){b(u)},h=function(u,x){d--;e[u]=x;0==d&&c(e)},l=0,q;l<a.length;l++)q=a[l],hOb(q,f,fu(h,l));else b(void 0)})},mOb=function(){var a,b,c=new VB(function(d,e){a=d;b=e});return new lOb(c,a,b)};
VB.prototype.then=function(a,b,c){return nOb(this,"function"===typeof a?a:null,"function"===typeof b?b:null,c)};VB.prototype.$goog_Thenable=!0;var pOb=function(a,b){b=eOb(b,b);b.always=!0;oOb(a,b);return a};VB.prototype.thenCatch=function(a,b){return nOb(this,null,a,b)};VB.prototype.catch=VB.prototype.thenCatch;VB.prototype.cancel=function(a){if(0==this.state_){var b=new XB(a);TB(function(){qOb(this,b)},this)}};
var qOb=function(a,b){if(0==a.state_)if(a.parent_){var c=a.parent_;if(c.callbackEntries_){for(var d=0,e=null,f=null,h=c.callbackEntries_;h&&(h.always||(d++,h.child==a&&(e=h),!(e&&1<d)));h=h.next)e||(f=h);e&&(0==c.state_&&1==d?qOb(c,b):(f?(d=f,d.next==c.callbackEntriesTail_&&(c.callbackEntriesTail_=d),d.next=d.next.next):rOb(c),sOb(c,e,3,b)))}a.parent_=null}else UB(a,3,b)},oOb=function(a,b){a.callbackEntries_||2!=a.state_&&3!=a.state_||tOb(a);a.callbackEntriesTail_?a.callbackEntriesTail_.next=b:a.callbackEntries_=
b;a.callbackEntriesTail_=b},nOb=function(a,b,c,d){var e=eOb(null,null,null);e.child=new VB(function(f,h){e.onFulfilled=b?function(l){try{var q=b.call(d,l);f(q)}catch(u){h(u)}}:f;e.onRejected=c?function(l){try{var q=c.call(d,l);void 0===q&&l instanceof XB?h(l):f(q)}catch(u){h(u)}}:h});e.child.parent_=a;oOb(a,e);return e.child};VB.prototype.unblockAndFulfill_=function(a){this.state_=0;UB(this,2,a)};VB.prototype.unblockAndReject_=function(a){this.state_=0;UB(this,3,a)};
var UB=function(a,b,c){0==a.state_&&(a===c&&(b=3,c=new TypeError("Bb")),a.state_=1,gOb(c,a.unblockAndFulfill_,a.unblockAndReject_,a)||(a.result_=c,a.state_=b,a.parent_=null,tOb(a),3!=b||c instanceof XB||uOb(a,c)))},gOb=function(a,b,c,d){if(a instanceof VB)return oOb(a,eOb(b||Mu,c||null,d)),!0;if(bOb(a))return a.then(b,c,d),!0;if(Ta(a))try{var e=a.then;if("function"===typeof e)return vOb(a,e,b,c,d),!0}catch(f){return c.call(d,f),!0}return!1},vOb=function(a,b,c,d,e){var f=!1,h=function(q){f||(f=!0,
c.call(e,q))},l=function(q){f||(f=!0,d.call(e,q))};try{b.call(a,h,l)}catch(q){l(q)}},tOb=function(a){a.executing_||(a.executing_=!0,TB(a.executeCallbacks_,a))},rOb=function(a){var b=null;a.callbackEntries_&&(b=a.callbackEntries_,a.callbackEntries_=b.next,b.next=null);a.callbackEntries_||(a.callbackEntriesTail_=null);return b};VB.prototype.executeCallbacks_=function(){for(var a;a=rOb(this);)sOb(this,a,this.state_,this.result_);this.executing_=!1};
var sOb=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,wOb(b,c,d);else try{b.always?b.onFulfilled.call(b.context):wOb(b,c,d)}catch(e){xOb.call(null,e)}dOb.put(b)},wOb=function(a,b,c){2==b?a.onFulfilled.call(a.context,c):a.onRejected&&a.onRejected.call(a.context,c)},uOb=function(a,b){a.hadUnhandledRejection_=!0;TB(function(){a.hadUnhandledRejection_&&xOb.call(null,b)})},xOb=ea,XB=function(a){ba.call(this,
a);this.reportErrorToServer=!1};gu(XB,ba);XB.prototype.name="cancel";var lOb=function(a,b,c){this.promise=a;this.resolve=b;this.reject=c};var YB=function(a,b){wq.call(this);this.interval_=a||1;this.timerObject_=b||da;this.boundTick_=eu(this.tick_,this);this.last_=Date.now()};gu(YB,wq);g=YB.prototype;g.enabled=!1;g.timer_=null;g.setInterval=function(a){this.interval_=a;this.timer_&&this.enabled?(this.stop(),this.start()):this.timer_&&this.stop()};
g.tick_=function(){if(this.enabled){var a=Date.now()-this.last_;0<a&&a<.8*this.interval_?this.timer_=this.timerObject_.setTimeout(this.boundTick_,this.interval_-a):(this.timer_&&(this.timerObject_.clearTimeout(this.timer_),this.timer_=null),this.dispatchEvent("tick"),this.enabled&&(this.stop(),this.start()))}};g.start=function(){this.enabled=!0;this.timer_||(this.timer_=this.timerObject_.setTimeout(this.boundTick_,this.interval_),this.last_=Date.now())};
g.stop=function(){this.enabled=!1;this.timer_&&(this.timerObject_.clearTimeout(this.timer_),this.timer_=null)};g.disposeInternal=function(){YB.superClass_.disposeInternal.call(this);this.stop();delete this.timerObject_};
var Zp=function(a,b,c){if("function"===typeof a)c&&(a=eu(a,c));else if(a&&"function"==typeof a.handleEvent)a=eu(a.handleEvent,a);else throw Error("Cb");return 2147483647<Number(b)?-1:da.setTimeout(a,b||0)},$p=function(a){da.clearTimeout(a)},yOb=function(a,b){var c=null;return(new VB(function(d,e){c=Zp(function(){d(b)},a);-1==c&&e(Error("Db"))})).thenCatch(function(d){$p(c);throw d;})};var zOb=function(a){hj.call(this);this.streamzLogger_=a;this.metricMap=new Map;this.disabledMetrics_=new Set;this.invocationCount=0;this.flushInterval=3E4;this.flushTimer=new YB(this.flushInterval);this.flushTimer.listen("tick",this.snapshotAndFlush,!1,this);yB(this,this.flushTimer)};W(zOb,hj);var AOb=function(a){a.flushTimer.enabled||a.flushTimer.start();a.invocationCount++;100<=a.invocationCount&&a.snapshotAndFlush()};g=zOb.prototype;
g.snapshotAndFlush=function(){var a=this.metricMap.values();a=[].concat(r(a)).filter(function(b){return b.cellMap_.size});a.length&&this.streamzLogger_.flush(a,!1);BOb(a);this.invocationCount=0;this.flushTimer.enabled&&this.flushTimer.stop()};g.addNewCounter=function(a){var b=yd.apply(1,arguments);this.metricMap.has(a)||this.metricMap.set(a,new xB(a,b))};g.addNewEventMetric=function(a){var b=yd.apply(1,arguments);this.metricMap.has(a)||this.metricMap.set(a,new eNb(a,b))};
g.getMetric=function(a){return this.disabledMetrics_.has(a)?void 0:this.metricMap.get(a)};g.incrementCounter=function(a){this.incrementCounterBy.apply(this,[a,1].concat(r(yd.apply(1,arguments))))};g.incrementCounterBy=function(a,b){var c=yd.apply(2,arguments),d=this.getMetric(a);d&&d instanceof xB&&(d.incrementCounterBy(b,c),AOb(this))};g.record=function(a,b){var c=yd.apply(2,arguments),d=this.getMetric(a);d&&d instanceof eNb&&(d.record(b,c),AOb(this))};var BOb=function(a){for(var b=0;b<a.length;b++)a[b].clear()};var COb=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"})};COb.prototype.increment=function(a,b,c){this.streamzService_.incrementCounter(this.metricName_,a,b,c)};COb.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};
var DOb=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"})};DOb.prototype.record=function(a,b,c){this.streamzService_.record(this.metricName_,a,b,c)};DOb.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};
var EOb=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"})};EOb.prototype.increment=function(a,b){this.streamzService_.incrementCounter(this.metricName_,a,b)};EOb.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};
var FOb=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"})};FOb.prototype.increment=function(a,b,c){this.streamzService_.incrementCounter(this.metricName_,a,b,c)};FOb.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};var GOb={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 JOb=function(a){a=HOb(a);for(var b=2654435769,c=2654435769,d=314159265,e=a.length,f=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<=f;f-=12,h+=12)b+=IOb(a,h),c+=IOb(a,h+4),d+=IOb(a,h+8),l();d+=e;switch(f){case 11:d+=a[h+10]<<24;case 10:d+=a[h+9]<<16;case 9:d+=a[h+8]<<8;case 8:c+=a[h+7]<<24;case 7:c+=a[h+6]<<16;case 6:c+=a[h+5]<<8;case 5:c+=a[h+4];
case 4:b+=a[h+3]<<24;case 3:b+=a[h+2]<<16;case 2:b+=a[h+1]<<8;case 1:b+=a[h]}l();return GOb.toString(d)},KOb=function(a){return a},HOb=function(a){for(var b=[],c=0;c<a.length;c++)b.push(a.charCodeAt(c));return b},IOb=function(a,b){return a[b]+(a[b+1]<<8)+(a[b+2]<<16)+(a[b+3]<<24)};var LOb=function(a){Y.call(this,a)};W(LOb,Y);LOb.prototype.getValueCase=function(){return Hk(this,MOb)};var MOb=[1,2,3];var NOb=function(a){Y.call(this,a)};W(NOb,Y);NOb.prototype.getValueCase=function(){return Hk(this,OOb)};var OOb=[1,2,3];var QOb=function(a){Y.call(this,a,-1,POb)};W(QOb,Y);QOb.prototype.setField=function(a){ou(this,1,LOb,a)};var POb=[1];var SOb=function(a){Y.call(this,a,-1,ROb)};W(SOb,Y);SOb.prototype.getFieldName=function(){return xu(this,3)};SOb.prototype.setFieldName=function(a){Pb(this,3,a,void 0,Bj)};var ROb=[3,6,4];var UOb=function(a){Y.call(this,a,-1,TOb)};W(UOb,Y);var TOb=[1];var VOb=function(a){if(!a)return"";if(/^about:(?:blank|srcdoc)$/.test(a))return window.origin||"";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("Eb`"+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("Fb`"+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 XOb=function(a,b,c){var d=String(da.location.href);return d&&a&&b?[b,WOb(VOb(d),a,c||null)].join(" "):null},WOb=function(a,b,c){var d=[],e=[];if(1==(Array.isArray(c)?2:1))return e=[b,a],Ea(d,function(l){e.push(l)}),YOb(e.join(" "));var f=[],h=[];Ea(c,function(l){h.push(l.key);f.push(l.value)});c=Math.floor((new Date).getTime()/1E3);e=0==f.length?[c,b,a]:[f.join(":"),c,b,a];Ea(d,function(l){e.push(l)});a=YOb(e.join(" "));a=[c,a];0==h.length||a.push(h.join(""));return a.join("_")},YOb=function(a){var b=
dna();b.update(a);return b.digestString().toLowerCase()};var ZOb={};var $Ob=function(){this.document_=document||{cookie:""}};g=$Ob.prototype;g.isEnabled=function(){if(!da.navigator.cookieEnabled)return!1;if(!this.isEmpty())return!0;this.set("TESTCOOKIESENABLED","1",{maxAge:60});if("1"!==this.get("TESTCOOKIESENABLED"))return!1;this.remove("TESTCOOKIESENABLED");return!0};
g.set=function(a,b,c){var d=!1;if("object"===typeof c){var e=c.sameSite;d=c.secure||!1;var f=c.domain||void 0;var h=c.path||void 0;var l=c.maxAge}if(/[;=\s]/.test(a))throw Error("Gb`"+a);if(/[;\r\n]/.test(b))throw Error("Hb`"+b);void 0===l&&(l=-1);c=f?";domain="+f:"";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:"")};
g.get=function(a,b){for(var c=a+"=",d=(this.document_.cookie||"").split(";"),e=0,f;e<d.length;e++){f=Qj(d[e]);if(0==f.lastIndexOf(c,0))return f.slice(c.length);if(f==a)return""}return b};g.remove=function(a,b,c){var d=this.containsKey(a);this.set(a,"",{maxAge:0,path:b,domain:c});return d};g.getKeys=function(){return aPb(this).keys};g.getValues=function(){return aPb(this).values};g.isEmpty=function(){return!this.document_.cookie};
g.getCount=function(){return this.document_.cookie?(this.document_.cookie||"").split(";").length:0};g.containsKey=function(a){return void 0!==this.get(a)};g.containsValue=function(a){for(var b=aPb(this).values,c=0;c<b.length;c++)if(b[c]==a)return!0;return!1};g.clear=function(){for(var a=aPb(this).keys,b=a.length-1;0<=b;b--)this.remove(a[b])};
var aPb=function(a){a=(a.document_.cookie||"").split(";");for(var b=[],c=[],d,e,f=0;f<a.length;f++)e=Qj(a[f]),d=e.indexOf("="),-1==d?(b.push(""),c.push(e)):(b.push(e.substring(0,d)),c.push(e.substring(d+1)));return{keys:b,values:c}};var bPb=function(a){return!!ZOb.FPA_SAMESITE_PHASE2_MOD||!(void 0===a||!a)},cPb=function(a,b,c,d){(a=da[a])||(a=(new $Ob).get(b));return a?XOb(a,c,d):null},uq=function(a,b){b=void 0===b?!1:b;var c=VOb(String(da.location.href)),d=[];var e=b;e=void 0===e?!1:e;var f=da.__SAPISID||da.__APISID||da.__3PSAPISID||da.__OVERRIDE_SID;bPb(e)&&(f=f||da.__1PSAPISID);if(f)e=!0;else{var h=new $Ob;f=h.get("SAPISID")||h.get("APISID")||h.get("__Secure-3PAPISID")||h.get("SID")||h.get("OSID");bPb(e)&&(f=f||h.get("__Secure-1PAPISID"));
e=!!f}e&&(e=(c=0==c.indexOf("https:")||0==c.indexOf("chrome-extension:")||0==c.indexOf("moz-extension:"))?da.__SAPISID:da.__APISID,e||(e=new $Ob,e=e.get(c?"SAPISID":"APISID")||e.get("__Secure-3PAPISID")),(e=e?XOb(e,c?"SAPISIDHASH":"APISIDHASH",a):null)&&d.push(e),c&&bPb(b)&&((b=cPb("__1PSAPISID","__Secure-1PAPISID","SAPISID1PHASH",a))&&d.push(b),(a=cPb("__3PSAPISID","__Secure-3PAPISID","SAPISID3PHASH",a))&&d.push(a)));return 0==d.length?null:d.join(" ")};var ZB=function(a){Y.call(this,a,-1,dPb)};W(ZB,Y);var dPb=[2];var ePb=function(a){this.currBaseValue_=this.currValue_=this.initialValue_=a};ePb.prototype.reset=function(){this.currBaseValue_=this.currValue_=this.initialValue_};ePb.prototype.getValue=function(){return this.currValue_};var fPb=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,""))},gPb=function(a){try{return da.JSON.parse(a)}catch(b){}a=String(a);if(fPb(a))try{return eval("("+a+")")}catch(b){}throw Error("Ib`"+a);},iPb=function(a,b){return(new hPb(b)).serialize(a)},hPb=function(a){this.replacer_=
a};hPb.prototype.serialize=function(a){var b=[];jPb(this,a,b);return b.join("")};
var jPb=function(a,b,c){if(null==b)c.push("null");else{if("object"==typeof b){if(Array.isArray(b)){var d=b;b=d.length;c.push("[");for(var e="",f=0;f<b;f++)c.push(e),e=d[f],jPb(a,a.replacer_?a.replacer_.call(d,String(f),e):e,c),e=",";c.push("]");return}if(b instanceof String||b instanceof Number||b instanceof Boolean)b=b.valueOf();else{c.push("{");f="";for(d in b)Object.prototype.hasOwnProperty.call(b,d)&&(e=b[d],"function"!=typeof e&&(c.push(f),kPb(d,c),c.push(":"),jPb(a,a.replacer_?a.replacer_.call(b,
d,e):e,c),f=","));c.push("}");return}}switch(typeof b){case "string":kPb(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("Jb`"+typeof b);}}},lPb={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\u000b"},mPb=/\uffff/.test("\uffff")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g,kPb=function(a,b){b.push('"',a.replace(mPb,
function(c){var d=lPb[c];d||(d="\\u"+(c.charCodeAt(0)|65536).toString(16).slice(1),lPb[c]=d);return d}),'"')};var nPb=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 oPb=function(){};oPb.prototype.cachedOptions_=null;oPb.prototype.getOptions=function(){return this.cachedOptions_||(this.cachedOptions_=this.internalGetOptions())};var pPb,qPb=function(){};gu(qPb,oPb);qPb.prototype.createInstance=function(){var a=rPb(this);return a?new ActiveXObject(a):new XMLHttpRequest};qPb.prototype.internalGetOptions=function(){var a={};rPb(this)&&(a[0]=!0,a[1]=!0);return a};
var rPb=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("Kb");}return a.ieProgId_};pPb=new qPb;var sPb=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$"),tPb=function(a,b){if(a){a=a.split("&");for(var c=0;c<a.length;c++){var d=a[c].indexOf("="),e=null;if(0<=d){var f=a[c].substring(0,d);e=a[c].substring(d+1)}else f=a[c];b(f,e?decodeURIComponent(e.replace(/\+/g," ")):"")}}},uPb=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]},vPb=function(a,b,c){if(Array.isArray(b))for(var d=0;d<b.length;d++)vPb(a,String(b[d]),c);else null!=b&&c.push(a+(""===b?"":"="+encodeURIComponent(String(b))))},wPb=function(a,b){var c=[];for(b=b||0;b<a.length;b+=2)vPb(a[b],a[b+1],c);return c.join("&")},xPb=function(a){var b=[],c;for(c in a)vPb(c,a[c],b);return b.join("&")},$B=function(a,b){var c=2==arguments.length?wPb(arguments[1],0):wPb(arguments,
1);return uPb(a,c)},lta=function(a,b){b=xPb(b);return uPb(a,b)},aC=function(a,b,c){c=null!=c?"="+encodeURIComponent(String(c)):"";return uPb(a,b+c)},yPb=function(a,b,c,d){for(var e=c.length;0<=(b=a.indexOf(c,b))&&b<d;){var f=a.charCodeAt(b-1);if(38==f||63==f)if(f=a.charCodeAt(b+e),!f||61==f||38==f||35==f)return b;b+=e+1}return-1},zPb=/#|$/,APb=function(a,b){var c=a.search(zPb),d=yPb(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," "))},BPb=/[?&]($|#)/;var bC=function(a){wq.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};gu(bC,wq);
var CPb=/^https?$/i,DPb=["POST","PUT"],EPb=[],gj=function(a,b,c,d,e,f,h){var l=new bC;EPb.push(l);b&&l.listen("complete",b);l.listenOnce("ready",l.cleanupSend_);f&&(l.timeoutInterval_=Math.max(0,f));h&&(l.withCredentials_=h);l.send(a,c,d,e);return l};bC.prototype.cleanupSend_=function(){this.dispose();La(EPb,this)};bC.prototype.setTrustToken=function(a){this.trustToken_=a};
bC.prototype.send=function(a,b,c,d){if(this.xhr_)throw Error("Lb`"+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():pPb.getOptions();this.xhr_.onreadystatechange=eu(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=m(d.keys());for(var f=e.next();!f.done;f=e.next())f=f.value,c.set(f,d.get(f))}else throw Error("Mb`"+String(d));d=Array.from(c.keys()).find(function(h){return"content-type"==h.toLowerCase()});e=da.FormData&&a instanceof da.FormData;!Ha(DPb,b)||d||e||c.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");b=m(c);for(d=
b.next();!d.done;d=b.next())c=m(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{FPb(this),0<this.timeoutInterval_&&((this.useXhr2Timeout_=GPb(this.xhr_))?(this.xhr_.timeout=
this.timeoutInterval_,this.xhr_.ontimeout=eu(this.timeout_,this)):this.timeoutId_=Zp(this.timeout_,this.timeoutInterval_,this)),this.inSend_=!0,this.xhr_.send(a),this.inSend_=!1}catch(h){this.error_(5,h)}};var GPb=function(a){return iu&&"number"===typeof a.timeout&&void 0!==a.ontimeout};bC.prototype.createXhr=function(){return this.xmlHttpFactory_?this.xmlHttpFactory_.createInstance():pPb.createInstance()};
bC.prototype.timeout_=function(){"undefined"!=typeof ZBb&&this.xhr_&&(this.lastError_="Timed out after "+this.timeoutInterval_+"ms, aborting",this.lastErrorCode_=8,this.dispatchEvent("timeout"),this.abort(8))};bC.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;HPb(this);IPb(this)};var HPb=function(a){a.errorDispatched_||(a.errorDispatched_=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};
bC.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"),IPb(this))};bC.prototype.disposeInternal=function(){this.xhr_&&(this.active_&&(this.active_=!1,this.inAbort_=!0,this.xhr_.abort(),this.inAbort_=!1),IPb(this,!0));bC.superClass_.disposeInternal.call(this)};
bC.prototype.onReadyStateChange_=function(){if(!this.isDisposed())if(this.inOpen_||this.inSend_||this.inAbort_)JPb(this);else this.onReadyStateChangeEntryPoint_()};bC.prototype.onReadyStateChangeEntryPoint_=function(){JPb(this)};
var JPb=function(a){if(a.active_&&"undefined"!=typeof ZBb&&(!a.xhrOptions_[1]||4!=a.getReadyState()||2!=a.getStatus()))if(a.inSend_&&4==a.getReadyState())Zp(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()+"]";HPb(a)}}finally{IPb(a)}}},IPb=function(a,
b){if(a.xhr_){FPb(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){}}},FPb=function(a){a.xhr_&&a.useXhr2Timeout_&&(a.xhr_.ontimeout=null);a.timeoutId_&&($p(a.timeoutId_),a.timeoutId_=null)};g=bC.prototype;g.isActive=function(){return!!this.xhr_};g.isComplete=function(){return 4==this.getReadyState()};
g.isSuccess=function(){var a=this.getStatus();a:switch(a){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:var b=!0;break a;default:b=!1}if(!b){if(a=0===a)a=String(this.lastUri_).match(sPb)[1]||null,!a&&da.self&&da.self.location&&(a=da.self.location.protocol.slice(0,-1)),a=!CPb.test(a?a.toLowerCase():"");b=a}return b};g.getReadyState=function(){return this.xhr_?this.xhr_.readyState:0};g.getStatus=function(){try{return 2<this.getReadyState()?this.xhr_.status:-1}catch(a){return-1}};
g.getLastUri=function(){return String(this.lastUri_)};g.getResponseText=function(){try{return this.xhr_?this.xhr_.responseText:""}catch(a){return""}};g.getResponseJson=function(a){if(this.xhr_){var b=this.xhr_.responseText;a&&0==b.indexOf(a)&&(b=b.substring(a.length));a:{a=b;if(da.JSON)try{var c=da.JSON.parse(a);break a}catch(d){}c=gPb(a)}return c}};
g.getResponse=function(){try{if(!this.xhr_)return null;if("response"in this.xhr_)return this.xhr_.response;switch(this.responseType_){case "":case "text":return this.xhr_.responseText;case "arraybuffer":if("mozResponseArrayBuffer"in this.xhr_)return this.xhr_.mozResponseArrayBuffer}return null}catch(a){return null}};g.getResponseHeader=function(a){if(this.xhr_&&this.isComplete())return a=this.xhr_.getResponseHeader(a),null===a?void 0:a};
g.getAllResponseHeaders=function(){return this.xhr_&&2<=this.getReadyState()?this.xhr_.getAllResponseHeaders()||"":""};g.getResponseHeaders=function(){for(var a={},b=this.getAllResponseHeaders().split("\r\n"),c=0;c<b.length;c++)if(!Hm(b[c])){var d=GEb(b[c]),e=d[0];d=d[1];if("string"===typeof d){d=d.trim();var f=a[e]||[];a[e]=f;f.push(d)}}return Qba(a,function(h){return h.join(", ")})};var kj=function(a,b){return a.xhr_?a.xhr_.getResponseHeader(b):null};bC.prototype.getLastErrorCode=function(){return this.lastErrorCode_};
bC.prototype.getLastError=function(){return"string"===typeof this.lastError_?this.lastError_:String(this.lastError_)};iNb(function(a){bC.prototype.onReadyStateChangeEntryPoint_=a(bC.prototype.onReadyStateChangeEntryPoint_)});var cC=function(a){Y.call(this,a)};W(cC,Y);cC.prototype.setTransmissionType=function(a){k(this,1,a)};cC.prototype.setRetryCount=function(a){k(this,3,a)};var dC=function(a){Y.call(this,a,-1,KPb)};W(dC,Y);var KPb=[1];var eC=function(a){Y.call(this,a)};W(eC,Y);eC.prototype.getLocale=function(){return Db(this,5)};eC.prototype.setLocale=function(a){return k(this,5,a)};eC.prototype.setBuildLabel=function(a){k(this,7,a)};eC.prototype.getMutableFlushInfo=function(){return ru(this,cC,10)};var LPb=["platform","platformVersion","architecture","model","uaFullVersion"];new dC;var fC=function(a){Y.call(this,a)};W(fC,Y);fC.prototype.getMutableJsClientInfo=function(){return ru(this,eC,11)};var MPb=function(a){Y.call(this,a)};W(MPb,Y);g=MPb.prototype;g.getKey=function(){return Db(this,1)};g.hasKey=function(){return Am(this,1)};g.getValue=function(){return Db(this,2)};g.getValue_legacyNullable=function(){return Db(this,2)};g.setValue=function(a){return k(this,2,a)};g.hasValue=function(){return Am(this,2)};var gC=function(a){Y.call(this,a,33,NPb)};W(gC,Y);g=gC.prototype;g.getTag=function(){return Db(this,2)};g.getComponentId=function(){return Db(this,26)};g.setComponentId=function(a){return k(this,26,a)};g.hasComponentId=function(){return Am(this,26)};g.addValue=function(){return jq(this,3,MPb)};g.setValue=function(a,b){return ou(this,3,MPb,a,b)};g.getStore=function(){return pq(this,4)};var OPb=function(a,b){return k(a,8,b)};gC.prototype.getExperimentIds=function(){return Ok(this,ZB,16)};
gC.prototype.setExperimentIds=function(a){gl(this,ZB,16,a)};var hC=function(a,b){k(a,24,b)},NPb=[3,20,27];var iC=function(a){Y.call(this,a,17,PPb)};W(iC,Y);iC.prototype.getClientInfo=function(){return Ok(this,fC,1)};iC.prototype.getMutableClientInfo=function(){return ru(this,fC,1)};iC.prototype.setClientInfo=function(a){gl(this,fC,1,a)};iC.prototype.setLogSource=function(a){return k(this,2,a)};var PPb=[3,5];var jC=function(a){Y.call(this,a,-1,QPb)};W(jC,Y);jC.prototype.getId=function(a){return xu(this,1,a)};jC.prototype.setId=function(a){return Pb(this,1,a,void 0,Bj)};var QPb=[1];var kC=function(a){Y.call(this,a,6,RPb)};W(kC,Y);kC.prototype.getExperiments=function(){return Ok(this,jC,2)};kC.prototype.setExperiments=function(a){gl(this,jC,2,a)};kC.prototype.hasExperiments=function(){return Hl(this,jC,2)};var RPb=[5];var SPb=function(a){Y.call(this,a)};W(SPb,Y);var TPb=fc(175237375,{jsExtension:0},SPb,function(a){if(null!=a)return jc(a),{suggestedFlushIntervalMillis:zj(a,1,-1)}});var mC=function(a,b,c,d,e,f,h,l,q,u,x){wq.call(this);var y=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;wq.call(this);this.getAuthHeaderValue=b||function(){};this.logRequestBuilder=new lC(a,f);this.networkIOSend=d;this.network=x;this.bufferSize=1E3;this.uniformRandomFunction=fu(CNb,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=f||!1;this.isSendBeaconSupported=!this.isServiceWorkerScope&&(65<=ua("Chromium")||45<=ua("Firefox")||12<=ua("Safari")||
ya()&&kaa())&&!!PB()&&!!PB().navigator&&!!PB().navigator.sendBeacon;a=rDb(new fC,1,1);this.logRequestBuilder.setClientInfo(a);this.flushBackoff=new ePb(1E4);this.flushTimer=new YB(this.flushBackoff.getValue());yB(this,this.flushTimer);u=UPb(this,u);xq(this.flushTimer,"tick",u,!1,this);this.backupTimer=new YB(6E5);yB(this,this.backupTimer);xq(this.backupTimer,"tick",u,!1,this);this.disableAutomaticFlush||this.backupTimer.start();this.isServiceWorkerScope||(xq(document,"visibilitychange",function(){"hidden"===
document.visibilityState&&y.finalFlush()}),xq(document,"pagehide",this.finalFlush,!1,this))};W(mC,wq);var UPb=function(a,b){return b?function(){b().then(function(){a.flush()})}:function(){a.flush()}};mC.prototype.disposeInternal=function(){this.finalFlush();wq.prototype.disposeInternal.call(this)};mC.prototype.setClearcutUrl=function(a){this.clearcutUrl_=a};mC.prototype.setUseConsistentTimezoneOffset=function(a){this.useConsistentTimezoneOffset=a};
var VPb=function(a){a.clearcutUrl_||(a.clearcutUrl_=.01>a.uniformRandomFunction()?"https://www.google.com/log?format=json&hasfast=true":"https://play.google.com/log?format=json&hasfast=true");return a.clearcutUrl_},nC=function(a,b){b instanceof gC?a.log(b):(b=OPb(new gC,b.serialize()),a.log(b))};g=mC.prototype;g.setClearcutClientInfo=function(a){this.logRequestBuilder.setClientInfo(a)};g.setComponentId=function(a){this.componentId=a};
g.setOpaqueExperimentIds=function(a){this.experimentIds_||(this.experimentIds_=new ZB);fn(this.experimentIds_,2,a)};g.setClearExperimentIds=function(a){a?(this.experimentIds_||(this.experimentIds_=new ZB),a=a.serialize(),k(this.experimentIds_,4,a)):this.experimentIds_&&qu(this.experimentIds_,4)};g.setClientSideLogOnlyForDevelopment=function(a){this.clientSideLogOnlyForDevelopment=a};g.setGzipCompressor=function(a){this.gzipCompressor=a};g.setBuildLabel=function(a){this.logRequestBuilder.setBuildLabel(a)};
g.setFlushIntervalMs=function(a){this.clientSpecifiedFlushInterval=!0;WPb(this,a)};var WPb=function(a,b){a.flushBackoff=new ePb(1>b?1:b);a.flushTimer.setInterval(a.flushBackoff.getValue())};
mC.prototype.log=function(a){a=a.clone();var b=this.sequencePosition++;k(a,21,b);this.componentId&&a.setComponentId(this.componentId);if(!Db(a,1)){b=a;var c=Date.now().toString();k(b,1,c)}Tm(a,15)||k(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 XPb(a));
this.disableAutomaticFlush||this.flushTimer.enabled||this.flushTimer.start()};
mC.prototype.flush=function(a,b){var c=this;if(0===this.pendingEvents_.length)a&&a();else if(this.sendBeaconApiEnabled)this.logRequestBuilder.setTransmissionType(3),YPb(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 f=this.getAuthHeaderValue();f&&(d.Authorization=
f);var h=VPb(this);this.sessionIndex&&(d["X-Goog-AuthUser"]=this.sessionIndex,h=aC(h,"authuser",this.sessionIndex));this.pageId&&(d["X-Goog-PageId"]=this.pageId,h=aC(h,"pageId",this.pageId));if(f&&this.lastFailedAuth===f)b&&b("stale-auth-token");else if(this.pendingEvents_=[],this.flushTimer.enabled&&this.flushTimer.stop(),this.numLogsDroppedSinceLastFlush=0,this.clientSideLogOnlyForDevelopment)a&&a();else{var l=e.serialize(),q;this.gzipCompressor&&this.gzipCompressor.getHiddenPropertyName_()&&(q=
this.gzipCompressor.compress(l));var u={url:h,body:l,bodyType:1,requestHeaders:d,requestType:"POST",withCredentials:this.withCredentials,timeoutMillis:this.timeoutMillis},x=function(L){c.flushBackoff.reset();c.flushTimer.setInterval(c.flushBackoff.getValue());if(L){var M=null;try{var T=JSON.parse(L.replace(")]}'\n",""));M=new kC(T)}catch(S){}M&&(L=Number(Ck(M,1,"-1")),0<L&&(c.startWaitingMs=Date.now(),c.noFlushUntilMs=c.startWaitingMs+L),M=M.getExtension(TPb))&&(M=zj(M,1,-1),-1!=M&&(c.clientSpecifiedFlushInterval||
WPb(c,M)))}a&&a();c.numRetriesSinceLastSuccessfulFlush=0},y=function(L,M){var T=yj(e,gC,3),S=c.flushBackoff;S.currBaseValue_=Math.min(3E5,2*S.currBaseValue_);S.currValue_=Math.min(3E5,S.currBaseValue_+Math.round(.2*(Math.random()-.5)*S.currBaseValue_));c.flushTimer.setInterval(c.flushBackoff.getValue());401===L&&f&&(c.lastFailedAuth=f);void 0===M&&(M=500<=L&&600>L||401===L||0===L);M&&(c.pendingEvents_=T.concat(c.pendingEvents_),c.disableAutomaticFlush||c.flushTimer.enabled||c.flushTimer.start());
b&&b("net-send-failed",L);++c.numRetriesSinceLastSuccessfulFlush},G=function(){c.network?c.network.send(u,x,y):c.networkIOSend(u,x,y)};q?q.then(function(L){u.requestHeaders["Content-Encoding"]="gzip";u.requestHeaders["Content-Type"]="application/binary";u.body=L;u.bodyType=2;G()},function(){G()}):G()}}}};
mC.prototype.finalFlush=function(){this.clientSideLogOnlyForDevelopment||(ZPb(this.logRequestBuilder,!0),this.useSendBeaconForFinalFlush&&(this.logRequestBuilder.setTransmissionType(3),YPb(this)),this.useGetRequestForFinalFlush&&(this.logRequestBuilder.setTransmissionType(2),$Pb(this)),this.flush(),ZPb(this.logRequestBuilder,!1))};
var YPb=function(a){aQb(a,32,10,function(b,c){b=aC(b,"format","json");var d=!1;try{d=PB().navigator.sendBeacon(b,c.serialize())}catch(e){}a.sendBeaconApiEnabled&&!d&&(a.sendBeaconApiEnabled=!1);return d})},$Pb=function(a){aQb(a,6,5,function(b,c){c=c.serialize();for(var d=[],e=0,f=0;f<c.length;f++){var h=c.charCodeAt(f);255<h&&(d[e++]=h&255,h>>=8);d[e++]=h}c=uaa(d,3);b=$B(b,"format","base64json","p",c);if(15360<b.length)return!1;(new Image).src=b;return!0})},aQb=function(a,b,c,d){if(0!==a.pendingEvents_.length){var e=
VPb(a);for(var f=e.search(zPb),h=0,l,q=[];0<=(l=yPb(e,h,"format",f));)q.push(e.substring(h,l)),h=Math.min(e.indexOf("&",l)+1||f,f);q.push(e.slice(h));e=q.join("").replace(BPb,"$1");e=$B(e,"auth",a.getAuthHeaderValue(),"authuser",a.sessionIndex||"0");for(f=0;f<c&&a.pendingEvents_.length;++f){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()}},XPb=function(){zB.call(this,"event-logged",void 0)};W(XPb,zB);var lC=function(a,b){this.isServiceWorkerScope=b=void 0===b?!1:b;this.uach=this.locale=null;this.logRequest=new iC;this.logRequest.setLogSource(a);b||(this.locale=document.documentElement.getAttribute("lang"));this.setClientInfo(new fC)};
lC.prototype.setLogSource=function(a){this.logRequest.setLogSource(a);return this};lC.prototype.setClientInfo=function(a){this.logRequest.setClientInfo(a);Db(a,1)||k(a,1,1);this.isServiceWorkerScope||(a=this.getMutableJsClientInfo(),a.getLocale()||a.setLocale(this.locale));this.uach&&(a=this.getMutableJsClientInfo(),Ok(a,dC,9)||gl(a,dC,9,this.uach))};lC.prototype.setBuildLabel=function(a){this.getMutableJsClientInfo().setBuildLabel(a)};
lC.prototype.setTransmissionType=function(a){Hl(this.getMutableClientInfo(),eC,11)&&this.getMutableFlushInfo().setTransmissionType(a)};var ZPb=function(a,b){Hl(a.getMutableClientInfo(),eC,11)&&(a=a.getMutableFlushInfo(),k(a,2,b))};lC.prototype.setRetryCount=function(a){Hl(this.getMutableClientInfo(),eC,11)&&this.getMutableFlushInfo().setRetryCount(a)};lC.prototype.getMutableClientInfo=function(){return this.logRequest.getClientInfo()};
var bQb=function(a,b){var c=void 0===c?LPb:c;b(PB(),c).then(function(d){a.uach=d;d=a.getMutableJsClientInfo();gl(d,dC,9,a.uach);return!0}).catch(function(){return!1})};lC.prototype.getMutableJsClientInfo=function(){var a=this.getMutableClientInfo(),b=Ok(a,eC,11);b||(b=new eC,gl(a,eC,11,b));return b};lC.prototype.getMutableFlushInfo=function(){var a=this.getMutableJsClientInfo(),b=Ok(a,cC,10);b||(b=new cC,k(b,2,!1),gl(a,cC,10,b));return b};
lC.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=k(c,4,d);a=ac(c,3,a);b&&k(a,14,b);return a};gu(ij,hj);g=ij.prototype;g.setBuildLabel=function(a){this.buildLabel_=a};g.setGzipCompressor=function(a){this.gzipCompressor_=a};g.setComponentId=function(a){this.componentId_=a;return this};g.setClearExperimentIds=function(a){this.clearExperimentIds_=a};g.setOpaqueExperimentIds=function(a){this.opaqueExperimentIds_=a};g.setClearcutClientInfo=function(a){this.clearcutClientInfo_=a};g.useSendBeaconForFinalFlush=function(){this.useSendBeaconForFinalFlush_=!0;return this};
g.useGetRequestForFinalFlush=function(){this.useGetRequestForFinalFlush_=!0;return this};g.setFlushIntervalMs=function(a){this.flushIntervalMs_=Math.max(a,1E3)};g.setUseConsistentTimezoneOffset=function(a){this.useConsistentTimezoneOffset=a};
g.build=function(){var a=new mC(this.logSource_,this.getAuthHeaderValue_?this.getAuthHeaderValue_:uq,this.sessionIndex_,this.networkIOSend_,this.destinationUrl_,this.enableServiceWorkerScope_,!1,this.disableWithCredentials_,void 0,void 0,this.network_?this.network_:void 0);yB(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_&&bQb(a.logRequestBuilder,this.userAgentClientHintsProvider_);this.useConsistentTimezoneOffset&&a.setUseConsistentTimezoneOffset(!0);return a};var oC=function(a,b,c,d,e,f){a=void 0===a?-1:a;b=void 0===b?"":b;c=void 0===c?"":c;d=void 0===d?!1:d;e=void 0===e?"":e;hj.call(this);f?c=f:(f=(new ij(a,"0")).setComponentId(b),yB(this,f),""!=c&&(f.destinationUrl_=c),d&&(f.enableServiceWorkerScope_=!0),e&&f.setBuildLabel(e),c=f.build());this.logSource_=a;this.componentId_=b;this.transport_=c};W(oC,hj);oC.prototype.getComponentId=function(){return this.componentId_};
oC.prototype.flush=function(a){a=a||[];if(a.length){for(var b=new UOb,c=[],d=0;d<a.length;d++){var e=a[d],f=e;var h=new SOb;h=k(h,1,f.metricName_);for(var l=f,q=[],u=0;u<l.fields_.length;u++)q.push(l.fields_[u].field_name);h=Kk(h,3,q);l=[];q=[];u=m(f.cellMap_.keys());for(var x=u.next();!x.done;x=u.next())q.push(x.value.split(","));for(u=0;u<q.length;u++){x=q[u];var y=f.cellType_;for(var G=f.getCells(x)||[],L=[],M=0;M<G.length;M++){var T=G[M];T=T&&T.cellValue_;var S=new NOb;switch(y){case 3:rk(S,1,
OOb,Number(T));break;case 2:rk(S,2,OOb,sb(Number(T)))}L.push(S)}y=L;for(G=0;G<y.length;G++){L=y[G];M=new QOb;L=gl(M,NOb,2,L);M=x;T=[];S=f;for(var X=[],aa=0;aa<S.fields_.length;aa++)X.push(S.fields_[aa].field_type);S=X;for(X=0;X<S.length;X++){aa=S[X];var na=M[X],ma=new LOb;switch(aa){case 3:rk(ma,1,MOb,String(na));break;case 2:rk(ma,2,MOb,Number(na));break;case 1:rk(ma,3,MOb,"true"==na)}T.push(ma)}ac(L,1,T);l.push(L)}}ac(h,4,l);c.push(h);e.clear()}ac(b,1,c);nC(this.transport_,b);this.transport_.flush()}};var cQb=new Bd("PRODUCTION_ALLOWLIST",{factory:function(){return"l2YMRd lfR6bb iQyyte LhFyIb aVezrf i1iYkd dVgi5c kMzkoe pglXEd AbcbBc Yc0Dnb cvLsDf UAiaPe NdZs2d elAd5d q7HsZb kbrYBc qX517e KmD3Se w0tcsb".split(" ")}}),dQb=new Bd("STREAMZ_PRODUCT_IDENTIFIER"),eQb=new Bd("STREAMZ_ALLOWLIST_IDENTIFIER"),fQb=new Bd("one_developer_workflow.streamz_service",{providedIn:"root",factory:function(){return hd(hg).runOutsideAngular(function(){var a=new oC(1503);a=new zOb(a);a.flushInterval=1E4;a.flushTimer.setInterval(1E4);
return a})}}),pC=function(a,b,c,d,e){this.streamzService=a;this.zone=b;this.oneDeveloperWorkflowUsageMetrics=new COb(this.streamzService);new DOb(this.streamzService);new EOb(this.streamzService);new FOb(this.streamzService);this.productIdentifier=d||window.location.hostname;this.productionAllowlist=c.map(KOb);this.allowlistIdentifier=JOb(null!=e?e:this.productIdentifier)};
pC.prototype.logUsageMetric=function(a,b){var c=this;this.zone.runOutsideAngular(function(){gQb(c)&&c.oneDeveloperWorkflowUsageMetrics.increment(a,c.productIdentifier,b)})};var gQb=function(a){return a.productionAllowlist.some(function(b){return a.allowlistIdentifier===b})};pC.\u0275fac=function(a){return new (a||pC)(n(fQb),n(hg),n(cQb),n(dQb,8),n(eQb,8))};pC.\u0275prov=Vc({token:pC,factory:pC.\u0275fac,providedIn:"root"});var hQb=new Bd("Feature Tooltip Controller Config"),qC=function(a,b,c){this.config=a;this.keyValueStore=b;this.injector=c;this.clientStreamzService=this.config.enableUsageTracking?this.injector.get(pC):void 0;this.lastTooltipKey="onedev.lastTooltipTime."+this.config.productName;var d;this.config.shownMetricName=null!=(d=this.config.shownMetricName)?d:"tooltipShown";var e;this.config.hiddenMetricName=null!=(e=this.config.hiddenMetricName)?e:"tooltipHidden"},iQb=function(a){return a.keyValueStore.getValue(a.lastTooltipKey).pipe(B(function(b){return null===
b?!0:(new Date).getTime()-b>=a.config.cooldownMilliseconds}))};qC.prototype.hideTooltip=function(a){var b;null==(b=this.clientStreamzService)||b.logUsageMetric(this.config.hiddenMetricName,!0);(0,C.forkJoin)([this.keyValueStore.setValue(this.lastTooltipKey,(new Date).getTime()),this.keyValueStore.setValue(rC(this,a),"HIDDEN")]).pipe(Vf())};
var jQb=function(a,b){a.keyValueStore.getValue(rC(a,b)).pipe(Gf(function(c){return"SHOWING"!==c})).subscribe(function(){a.keyValueStore.setValue(rC(a,b),"HIDDEN")})},lQb=function(a,b,c){var d=c.map(function(e){return rC(a,e)});return a.keyValueStore.getValues(d).pipe(B(function(e){return kQb(a,b,c,e)}))};
qC.prototype.showTooltip=function(a){var b;null==(b=this.clientStreamzService)||b.logUsageMetric(this.config.shownMetricName,!0);(0,C.forkJoin)([this.keyValueStore.setValue(this.lastTooltipKey,(new Date).getTime()),this.keyValueStore.setValue(rC(this,a),"SHOWING")]).pipe(Vf())};var kQb=function(a,b,c,d){return c.filter(function(e){e=d.get(rC(a,e));return e===b||"UNSEEN"===b&&null===e})},rC=function(a,b){return"onedev.tooltips."+a.config.productName+"."+b};
qC.\u0275fac=function(a){return new (a||qC)(n(hQb),n(vB),n(Zu))};qC.\u0275prov=Vc({token:qC,factory:qC.\u0275fac,providedIn:uB});var sC=function(a){var b=this;this.featureTooltipService=a;this.showTooltip$=(0,C.of)(void 0);this.destroyed$=new C.ReplaySubject;this.getCurrentlyShowingTooltips=function(){return lQb(b.featureTooltipService,"SHOWING",mQb(b))}};
sC.prototype.ngAfterContentInit=function(){var a=this,b=this.showTooltip$.pipe(cg(this.getCurrentlyShowingTooltips),cg(function(c){return 0<c.length?(0,C.of)(c[0]):(0,C.of)(void 0).pipe(nQb(a),oQb(a))}),B(function(c){return pQb(a,c)}),Gf(function(c){return!!c}),B(function(c){return c}),$f({bufferSize:1,refCount:!0}));qQb(this,b);b.pipe(dg(this.destroyed$)).subscribe(function(c){c.open$.next();a.featureTooltipService.showTooltip(c.tooltipId)})};sC.prototype.ngOnDestroy=function(){this.destroyed$.next()};
var nQb=function(a){return(0,C.pipe)(cg(function(){return iQb(a.featureTooltipService)}),Gf(C.identity))},oQb=function(a){return(0,C.pipe)(cg(function(){return lQb(a.featureTooltipService,"UNSEEN",mQb(a))}),Gf(function(b){return 0<b.length}),B(function(b){return b[0]}))},qQb=function(a,b){b.pipe(cg(function(c){return c.dismiss.pipe(Vf(c.tooltipId))}),dg(a.destroyed$)).subscribe(function(c){a.featureTooltipService.hideTooltip(c)})},mQb=function(a){return a.tooltips.map(function(b){return b.tooltipId})},
pQb=function(a,b){return a.tooltips.find(function(c){return c.tooltipId===b})};sC.\u0275fac=function(a){return new (a||sC)(A(qC))};sC.\u0275cmp=p({type:sC,selectors:[["onedev-feature-tooltip-controller"]],contentQueries:function(a,b,c){a&1&&jh(c,sB,4);if(a&2){var d;hh(d=kh())&&(b.tooltips=d)}},inputs:{showTooltip$:"showTooltip$"},decls:0,vars:0,template:function(){},encapsulation:2,changeDetection:0});var tC=function(a,b){this.anchorService=a;this.element=b;this.hideTooltipWhenAnchorNotVisible=!1};tC.prototype.ngOnInit=function(){var a=this;this.hideTooltipWhenAnchorNotVisible?(this.intersectionObserver=new IntersectionObserver(function(b){m(b).next().value.isIntersecting?QMb(a.anchorService,a.tooltipId,a.element):RMb(a.anchorService,a.tooltipId)}),this.intersectionObserver.observe(this.element.nativeElement)):QMb(this.anchorService,this.tooltipId,this.element)};
tC.prototype.ngOnDestroy=function(){RMb(this.anchorService,this.tooltipId);var a;null==(a=this.intersectionObserver)||a.disconnect()};tC.\u0275fac=function(a){return new (a||tC)(A(mB),A(ke))};tC.\u0275dir=qd({type:tC,selectors:[["","onedevTooltipAnchor",""]],inputs:{tooltipId:["onedevTooltipAnchor","tooltipId"],hideTooltipWhenAnchorNotVisible:"hideTooltipWhenAnchorNotVisible"}});var uC=function(a,b,c){var d=this;this.featureTooltipService=a;this.renderer=b;this.elementRef=c;this.preventTooltipFromShowing=function(){jQb(d.featureTooltipService,d.tooltipId)}};uC.prototype.ngOnInit=function(){this.unsubscribeFromEvent||(this.event="click")};uC.prototype.ngOnDestroy=function(){var a;null==(a=this.unsubscribeFromEvent)||a.call(this)};
Xi.Object.defineProperties(uC.prototype,{event:{configurable:!0,enumerable:!0,set:function(a){var b;null==(b=this.unsubscribeFromEvent)||b.call(this);this.unsubscribeFromEvent=this.renderer.listen(this.elementRef.nativeElement,a,this.preventTooltipFromShowing)}}});uC.\u0275fac=function(a){return new (a||uC)(A(qC),A(ev),A(ke))};uC.\u0275dir=qd({type:uC,selectors:[["","onedevTooltipPreventer",""]],inputs:{tooltipId:["onedevTooltipPreventer","tooltipId"],event:["onedevPreventTooltipOn","event"]}});var rQb=new Bd("TooltipAnchor"),sQb=new Bd("TooltipPeventer"),vC=function(a,b,c,d,e,f){this.featureTooltipService=a;this.anchorService=b;this.elementRef=c;this.renderer=d;this.anchorClass=e;this.preventerClass=f;this.tooltipPreventer=new this.preventerClass(this.featureTooltipService,this.renderer,this.elementRef);this.tooltipAnchor=new this.anchorClass(this.anchorService,this.elementRef)};vC.prototype.ngOnInit=function(){this.tooltipPreventer.ngOnInit();this.tooltipAnchor.ngOnInit()};
vC.prototype.ngOnDestroy=function(){this.tooltipPreventer.ngOnDestroy();this.tooltipAnchor.ngOnDestroy()};Xi.Object.defineProperties(vC.prototype,{tooltipId:{configurable:!0,enumerable:!0,set:function(a){this.tooltipPreventer.tooltipId=a;this.tooltipAnchor.tooltipId=a}},hideTooltipWhenAnchorNotVisible:{configurable:!0,enumerable:!0,set:function(a){this.tooltipAnchor.hideTooltipWhenAnchorNotVisible=a}},event:{configurable:!0,enumerable:!0,set:function(a){this.tooltipPreventer.event=a}}});
vC.\u0275fac=function(a){return new (a||vC)(A(qC),A(mB),A(ke),A(ev),A(rQb),A(sQb))};vC.\u0275dir=qd({type:vC,selectors:[["","onedevFeatureTooltip",""]],inputs:{tooltipId:["onedevFeatureTooltip","tooltipId"],hideTooltipWhenAnchorNotVisible:"hideTooltipWhenAnchorNotVisible",event:["onedevPreventTooltipOn","event"]},features:[Ug([{provide:rQb,useValue:tC},{provide:sQb,useValue:uC}])]});var wC=function(){this.className="gmat-subtitle-1 tooltip-title"};wC.\u0275fac=function(a){return new (a||wC)};wC.\u0275dir=qd({type:wC,selectors:[["","onedevTooltipTitle",""]],hostVars:2,hostBindings:function(a,b){a&2&&Gg(b.className)}});var tQb=ri("transformMenu",[ui("void",ti({opacity:0,transform:"scale(0.8)"})),vi("void => enter",si("120ms cubic-bezier(0, 0, 0.2, 1)",ti({opacity:1,transform:"scale(1)"}))),vi("* => void",si("100ms 25ms linear",ti({opacity:0})))]),uQb=ri("fadeInItems",[ui("showing",ti({opacity:1})),vi("void => *",[ti({opacity:0}),si("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])]);var vQb=new Bd("MatMenuContent"),xC=function(a,b,c,d,e,f,h){this._template=a;this._componentFactoryResolver=b;this._appRef=c;this._injector=d;this._viewContainerRef=e;this._document=f;this._changeDetectorRef=h;this._attached=new C.Subject};
xC.prototype.attach=function(a){a=void 0===a?{}:a;this._portal||(this._portal=new Mx(this._template,this._viewContainerRef));this.detach();this._outlet||(this._outlet=new Ox(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()};
xC.prototype.detach=function(){this._portal.isAttached&&this._portal.detach()};xC.prototype.ngOnDestroy=function(){this._outlet&&this._outlet.dispose()};xC.\u0275fac=function(a){return new (a||xC)(A(eh),A($u),A(ow),A(Zu),A(fh),A(Vi),A(qw))};xC.\u0275dir=qd({type:xC});var wQb=new Bd("MAT_MENU_PANEL");var xQb=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],yQb=Zi($i(function(){})),yC=function(a,b,c,d,e){var f=yQb.call(this)||this;f._elementRef=a;f._document=b;f._focusMonitor=c;f._parentMenu=d;f._changeDetectorRef=e;f.role="menuitem";f._hovered=new C.Subject;f._focused=new C.Subject;f._highlighted=!1;f._triggersSubmenu=!1;var h;null==d||null==(h=d.addItem)||h.call(d,f);return f};W(yC,yQb);g=yC.prototype;
g.focus=function(a,b){this._focusMonitor&&a?Ix(this._focusMonitor,this._getHostElement(),a,b):this._getHostElement().focus(b);this._focused.next(this)};g.ngAfterViewInit=function(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)};g.ngOnDestroy=function(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef);this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this);this._hovered.complete();this._focused.complete()};
g._getTabIndex=function(){return this.disabled?"-1":"0"};g._getHostElement=function(){return this._elementRef.nativeElement};g._checkDisabled=function(a){this.disabled&&(a.preventDefault(),a.stopPropagation())};g._handleMouseEnter=function(){this._hovered.next(this)};g.getLabel=function(){for(var a=this._elementRef.nativeElement.cloneNode(!0),b=a.querySelectorAll("mat-icon, .material-icons"),c=0;c<b.length;c++)b[c].remove();var d;return(null==(d=a.textContent)?void 0:d.trim())||""};
g._setHighlighted=function(a){this._highlighted=a;var b;null==(b=this._changeDetectorRef)||b.markForCheck()};g._setTriggersSubmenu=function(a){this._triggersSubmenu=a;var b;null==(b=this._changeDetectorRef)||b.markForCheck()};g._hasFocus=function(){return this._document&&this._document.activeElement===this._getHostElement()};yC.\u0275fac=function(a){return new (a||yC)(A(ke),A(Vi),A(Hx),A(wQb,8),A(qw))};
yC.\u0275cmp=p({type:yC,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&&K("click",function(c){return b._checkDisabled(c)})("mouseenter",function(){return b._handleMouseEnter()});a&2&&(ug("role",b.role)("tabindex",b._getTabIndex())("aria-disabled",b.disabled)("disabled",b.disabled||null),Fg("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:[qg],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",4,"ngIf"],["viewBox","0 0 5 10","focusable","false",1,"mat-mdc-menu-submenu-icon"],["points",
"0,0 5,5 0,10"]],template:function(a,b){a&1&&(Ng(xQb),Og(0),E(1,"span",0),Og(2,1),F(),H(3,"div",1),P(4,fna,2,0,"svg",2));a&2&&(z(3),D("matRippleDisabled",b.disableRipple||b.disabled)("matRippleTrigger",b._getHostElement()),z(1),D("ngIf",b._triggersSubmenu))},dependencies:[yw,Wz],encapsulation:2,changeDetection:0});var zQb=0,AQb=new Bd("mat-menu-default-options",{providedIn:"root",factory:gna}),zC=function(a,b,c,d){this._elementRef=a;this._ngZone=b;this._changeDetectorRef=d;this._directDescendantItems=new lh;this._classList={};this._panelAnimationState="void";this._animationDone=new C.Subject;this.close=this.closed=new Rv;this.panelId="mat-menu-panel-"+zQb++;this.overlayPanelClass=c.overlayPanelClass||"";this._xPosition=c.xPosition;this._yPosition=c.yPosition;this.backdropClass=c.backdropClass;this._overlapTrigger=
c.overlapTrigger;this._hasBackdrop=c.hasBackdrop};g=zC.prototype;g.ngOnInit=function(){this.setPositionClasses()};
g.ngAfterContentInit=function(){var a=this;this._updateDirectDescendants();this._keyManager=cz(qKb(az(new fz(this._directDescendantItems))));this._keyManager.tabOut.subscribe(function(){return a.closed.emit("tab")});this._directDescendantItems.changes.pipe(bg(this._directDescendantItems),cg(function(b){return C.merge.apply(null,r(b.map(function(c){return c._focused})))})).subscribe(function(b){return dz(a._keyManager,b)});this._directDescendantItems.changes.subscribe(function(b){var c=a._keyManager,
d;"enter"===a._panelAnimationState&&(null==(d=c.activeItem)?0:d._hasFocus())&&(b=b.toArray(),d=Math.max(0,Math.min(b.length-1,c.activeItemIndex||0)),b[d]&&!b[d].disabled?c.setActiveItem(d):c.setNextItemActive())})};g.ngOnDestroy=function(){var a;null==(a=this._keyManager)||a.destroy();this._directDescendantItems.destroy();this.closed.complete();var b;null==(b=this._firstItemFocusSubscription)||b.unsubscribe()};
g._hovered=function(){return this._directDescendantItems.changes.pipe(bg(this._directDescendantItems),cg(function(a){return C.merge.apply(null,r(a.map(function(b){return b._hovered})))}))};g.addItem=function(){};g.removeItem=function(){};
g._handleKeydown=function(a){var b=a.keyCode,c=this._keyManager;switch(b){case 27:hi(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:if(38===b||40===b)c._origin="keyboard";c.onKeydown(a);return}a.stopPropagation()};
var BQb=function(a,b){b=void 0===b?"program":b;var c;null==(c=a._firstItemFocusSubscription)||c.unsubscribe();a._firstItemFocusSubscription=a._ngZone.onStable.pipe(Rf()).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;e._origin=b;e._setActiveItemByIndex(0,1);!e.activeItem&&d&&d.focus()}})};g=zC.prototype;
g.setElevation=function(a){var b=this;a=this._elevationPrefix+Math.min(this._baseElevation+a,24);var c=Object.keys(this._classList).find(function(d){return d.startsWith(b._elevationPrefix)});c&&c!==this._previousElevation||(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[a]=!0,this._previousElevation=a)};
g.setPositionClasses=function(a,b){a=void 0===a?this.xPosition:a;b=void 0===b?this.yPosition:b;var c=this._classList;c["mat-menu-before"]="before"===a;c["mat-menu-after"]="after"===a;c["mat-menu-above"]="above"===b;c["mat-menu-below"]="below"===b;var d;null==(d=this._changeDetectorRef)||d.markForCheck()};g._startAnimation=function(){this._panelAnimationState="enter"};g._resetAnimation=function(){this._panelAnimationState="void"};
g._onAnimationDone=function(a){this._animationDone.next(a);this._isAnimating=!1};g._onAnimationStart=function(a){this._isAnimating=!0;"enter"===a.toState&&0===this._keyManager.activeItemIndex&&(a.element.scrollTop=0)};g._updateDirectDescendants=function(){var a=this;this._allItems.changes.pipe(bg(this._allItems)).subscribe(function(b){a._directDescendantItems.reset(b.filter(function(c){return c._parentMenu===a}));gh(a._directDescendantItems)})};
Xi.Object.defineProperties(zC.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=bi(a)}},hasBackdrop:{configurable:!0,enumerable:!0,
get:function(){return this._hasBackdrop},set:function(a){this._hasBackdrop=bi(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}}});
zC.\u0275fac=function(a){return new (a||zC)(A(ke),A(hg),A(AQb),A(qw))};
zC.\u0275dir=qd({type:zC,contentQueries:function(a,b,c){a&1&&(jh(c,vQb,5),jh(c,yC,5),jh(c,yC,4));if(a&2){var d;hh(d=kh())&&(b.lazyContent=d.first);hh(d=kh())&&(b._allItems=d);hh(d=kh())&&(b.items=d)}},viewQuery:function(a,b){a&1&&ih(eh,5);if(a&2){var c;hh(c=kh())&&(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 CQb=new Bd("mat-menu-scroll-strategy"),DQb={provide:CQb,deps:[Iz],useFactory:function(a){return function(){return a.scrollStrategies.reposition()}}},EQb=Vh({passive:!0}),AC=function(a,b,c,d,e,f,h,l,q){var u=this;this._overlay=a;this._element=b;this._viewContainerRef=c;this._menuItemInstance=f;this._dir=h;this._focusMonitor=l;this._ngZone=q;this._overlayRef=null;this._menuOpen=!1;this._menuCloseSubscription=this._hoverSubscription=this._closingActionsSubscription=C.Subscription.EMPTY;this._changeDetectorRef=
hd(qw);this._handleTouchStart=function(x){gi(x)||(u._openedBy="touch")};this._openedBy=void 0;this.restoreFocus=!0;this.onMenuOpen=this.menuOpened=new Rv;this.onMenuClose=this.menuClosed=new Rv;this._scrollStrategy=d;this._parentMaterialMenu=e instanceof zC?e:void 0;b.nativeElement.addEventListener("touchstart",this._handleTouchStart,EQb)};AC.prototype.ngAfterContentInit=function(){this._handleHover()};
AC.prototype.ngOnDestroy=function(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null);this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,EQb);this._menuCloseSubscription.unsubscribe();this._closingActionsSubscription.unsubscribe();this._hoverSubscription.unsubscribe()};var BC=function(a){return!!(a._menuItemInstance&&a._parentMaterialMenu&&a.menu)};g=AC.prototype;
g.openMenu=function(){var a=this,b=this.menu;if(!this._menuOpen&&b){var c=this._createOverlay(b),d=c.getConfig(),e=d.positionStrategy;this._setPosition(b,e);d.hasBackdrop=null==b.hasBackdrop?!BC(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 zC&&(b._startAnimation(),b._directDescendantItems.changes.pipe(dg(b.close)).subscribe(function(){IKb(MKb(e,
!1));MKb(e,!0)}))}};g.closeMenu=function(){var a;null==(a=this.menu)||a.close.emit()};g.focus=function(a,b){this._focusMonitor&&a?Ix(this._focusMonitor,this._element,a,b):this._element.nativeElement.focus(b)};g.updatePosition=function(){var a;null==(a=this._overlayRef)||a.updatePosition()};
g._destroyMenu=function(a){var b=this;if(this._overlayRef&&this.menuOpen){var c=this.menu;this._closingActionsSubscription.unsubscribe();this._overlayRef.detach();!this.restoreFocus||"keydown"!==a&&this._openedBy&&BC(this)||this.focus(this._openedBy);this._openedBy=void 0;if(c instanceof zC)c._resetAnimation(),c.lazyContent?c._animationDone.pipe(Gf(function(e){return"void"===e.toState}),Rf(),dg(c.lazyContent._attached)).subscribe({next:function(){return c.lazyContent.detach()},complete:function(){return b._setIsMenuOpen(!1)}}):
this._setIsMenuOpen(!1);else{this._setIsMenuOpen(!1);var d;null==c||null==(d=c.lazyContent)||d.detach()}}};g._initMenu=function(a){a.parentMenu=BC(this)?this._parentMaterialMenu:void 0;a.direction=this.dir;this._setMenuElevation(a);BQb(a,this._openedBy||"program");this._setIsMenuOpen(!0)};g._setMenuElevation=function(a){if(a.setElevation){for(var b=0,c=a.parentMenu;c;)b++,c=c.parentMenu;a.setElevation(b)}};
g._setIsMenuOpen=function(a){a!==this._menuOpen&&((this._menuOpen=a)?this.menuOpened.emit():this.menuClosed.emit(),BC(this)&&this._menuItemInstance._setHighlighted(a),this._changeDetectorRef.markForCheck())};g._createOverlay=function(a){if(!this._overlayRef){var b=this._getOverlayConfig(a);this._subscribeToPositions(a,b.positionStrategy);this._overlayRef=this._overlay.create(b);this._overlayRef.keydownEvents().subscribe()}return this._overlayRef};
g._getOverlayConfig=function(a){return new Az({positionStrategy:NKb(KKb(MKb(Hz(this._overlay.position(),this._element))),".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:a.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:a.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})};
g._subscribeToPositions=function(a,b){var c=this;a.setPositionClasses&&b.positionChanges.subscribe(function(d){var e="start"===d.connectionPair.overlayX?"after":"before",f="top"===d.connectionPair.overlayY?"below":"above";c._ngZone?c._ngZone.run(function(){return a.setPositionClasses(e,f)}):a.setPositionClasses(e,f)})};
g._setPosition=function(a,b){var c=m("before"===a.xPosition?["end","start"]:["start","end"]),d=c.next().value;c=c.next().value;var e=m("above"===a.yPosition?["bottom","top"]:["top","bottom"]),f=e.next().value;e=e.next().value;var h=m([f,e]),l=h.next().value;h=h.next().value;var q=m([d,c]),u=q.next().value;q=q.next().value;var x=0;BC(this)?(q=d="before"===a.xPosition?"start":"end",c=u="end"===d?"start":"end",this._parentMaterialMenu&&(null==this._parentInnerPadding&&(this._parentInnerPadding=(a=this._parentMaterialMenu.items.first)?
a._getHostElement().offsetTop:0),x="bottom"===f?this._parentInnerPadding:-this._parentInnerPadding)):a.overlapTrigger||(l="top"===f?"bottom":"top",h="top"===e?"bottom":"top");Dz(b,[{originX:d,originY:l,overlayX:u,overlayY:f,offsetY:x},{originX:c,originY:l,overlayX:q,overlayY:f,offsetY:x},{originX:d,originY:h,overlayX:u,overlayY:e,offsetY:-x},{originX:c,originY:h,overlayX:q,overlayY:e,offsetY:-x}])};
g._menuClosingActions=function(){var a=this,b=this._overlayRef.backdropClick(),c=this._overlayRef._detachments,d=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,C.of)(),e=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(Gf(function(f){return f!==a._menuItemInstance}),Gf(function(){return a._menuOpen})):(0,C.of)();return(0,C.merge)(b,d,e,c)};g._handleMousedown=function(a){fi(a)||(this._openedBy=0===a.button?"mouse":void 0,BC(this)&&a.preventDefault())};
g._handleKeydown=function(a){a=a.keyCode;if(13===a||32===a)this._openedBy="keyboard";BC(this)&&(39===a&&"ltr"===this.dir||37===a&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())};g._handleClick=function(a){BC(this)?(a.stopPropagation(),this.openMenu()):this._menuOpen?this.closeMenu():this.openMenu()};
g._handleHover=function(){var a=this;BC(this)&&this._parentMaterialMenu&&(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(Gf(function(b){return b===a._menuItemInstance&&!b.disabled}),Pf(0,C.asapScheduler)).subscribe(function(){a._openedBy="mouse";a.menu instanceof zC&&a.menu._isAnimating?a.menu._animationDone.pipe(Rf(),Pf(0,C.asapScheduler),dg(a._parentMaterialMenu._hovered())).subscribe(function(){return a.openMenu()}):a.openMenu()}))};
g._getPortal=function(a){this._portal&&this._portal.templateRef===a.templateRef||(this._portal=new Mx(a.templateRef,this._viewContainerRef));return this._portal};
Xi.Object.defineProperties(AC.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(BC(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"}}});AC.\u0275fac=function(a){return new (a||AC)(A(Iz),A(ke),A(fh),A(CQb),A(wQb,8),A(yC,10),A(gz,8),A(Hx),A(hg))};
AC.\u0275dir=qd({type:AC,hostVars:3,hostBindings:function(a,b){a&1&&K("click",function(c){return b._handleClick(c)})("mousedown",function(c){return b._handleMousedown(c)})("keydown",function(c){return b._handleKeydown(c)});a&2&&ug("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 CC=function(){xC.apply(this,arguments)};W(CC,xC);CC.\u0275fac=function(){var a;return function(b){return(a||(a=ie(CC)))(b||CC)}}();CC.\u0275dir=qd({type:CC,selectors:[["ng-template","matMenuContent",""]],features:[Ug([{provide:vQb,useExisting:CC}]),qg]});var DC=function(){return yC.apply(this,arguments)||this};W(DC,yC);DC.\u0275fac=function(){var a;return function(b){return(a||(a=ie(DC)))(b||DC)}}();
DC.\u0275cmp=p({type:DC,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:20,hostBindings:function(a,b){a&2&&(ug("role",b.role)("tabindex",b._getTabIndex())("aria-disabled",b.disabled.toString())("disabled",b.disabled||null),Fg("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:[Ug([{provide:yC,useExisting:DC}]),qg],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",4,"ngIf"],["viewBox","0 0 5 10","focusable","false",1,"mat-menu-submenu-icon"],["points","0,0 5,5 0,10"]],template:function(a,b){a&1&&(Ng(),
Og(0),H(1,"div",0),P(2,hna,2,0,"svg",1));a&2&&(z(1),D("matRippleDisabled",b.disableRipple||b.disabled)("matRippleTrigger",b._getHostElement()),z(1),D("ngIf",b._triggersSubmenu))},dependencies:[yw,Wz],encapsulation:2,changeDetection:0});var EC=function(){AC.apply(this,arguments)};W(EC,AC);EC.\u0275fac=function(){var a;return function(b){return(a||(a=ie(EC)))(b||EC)}}();EC.\u0275dir=qd({type:EC,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[qg]});var FC=function(a,b,c,d){zC.call(this,a,b,c,d);this._elevationPrefix="mat-elevation-z";this._baseElevation=4};W(FC,zC);FC.\u0275dir=zC.\u0275dir;FC.\u0275fac=function(a){return new (a||FC)(A(ke),A(hg),A(AQb),A(qw))};
FC.\u0275cmp=p({type:FC,selectors:[["mat-menu"]],hostAttrs:["ngSkipHydration","true"],hostVars:3,hostBindings:function(a){a&2&&ug("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[Ug([{provide:wQb,useExisting:FC}]),qg],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&&(Ng(),P(0,ina,3,6,"ng-template"))},dependencies:[ww],
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:[tQb,uQb]},changeDetection:0});var GC=function(){};GC.\u0275fac=function(a){return new (a||GC)};GC.\u0275mod=od({type:GC});GC.\u0275inj=Wc({providers:[DQb],imports:[Mw,Mz,Zz,Lz,xz,Mz]});var FQb=["tooltip"],GQb=new Bd("mat-tooltip-scroll-strategy"),HQb={provide:GQb,deps:[Iz],useFactory:function(a){return function(){return a.scrollStrategies.reposition({scrollThrottle:20})}}},IQb=new Bd("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),JQb=Vh({passive:!0}),HC=function(a,b,c,d,e,f,h,l,q,u,x,y){var G=this;this._overlay=a;this._elementRef=b;this._scrollDispatcher=c;this._viewContainerRef=d;this._ngZone=e;this._platform=
f;this._ariaDescriber=h;this._focusMonitor=l;this._dir=u;this._defaultOptions=x;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 C.Subject;this._scrollStrategy=q;this._document=y;x&&(this._showDelay=x.showDelay,this._hideDelay=x.hideDelay,x.position&&(this.position=x.position),x.positionAtOrigin&&
(this.positionAtOrigin=x.positionAtOrigin),x.touchGestures&&(this.touchGestures=x.touchGestures));u.change.pipe(dg(this._destroyed)).subscribe(function(){G._overlayRef&&G._updatePosition(G._overlayRef)})};g=HC.prototype;g.ngAfterViewInit=function(){var a=this;this._viewInitialized=!0;this._setupPointerEnterEventsIfNeeded();this._focusMonitor.monitor(this._elementRef).pipe(dg(this._destroyed)).subscribe(function(b){b?"keyboard"===b&&a._ngZone.run(function(){return a.show()}):a._ngZone.run(function(){return a.hide(0)})})};
g.ngOnDestroy=function(){var a=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout);this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null);this._passiveListeners.forEach(function(b){var c=m(b);b=c.next().value;c=c.next().value;a.removeEventListener(b,c,JQb)});this._passiveListeners.length=0;this._destroyed.next();this._destroyed.complete();Wy(this._ariaDescriber,a,this.message,"tooltip");this._focusMonitor.stopMonitoring(a)};
g.show=function(a,b){var c=this;a=void 0===a?this.showDelay:a;if(this.disabled||!this.message||this._isTooltipVisible()){var d;null==(d=this._tooltipInstance)||d._cancelPendingAnimations()}else b=this._createOverlay(b),this._detach(),this._portal=this._portal||new Lx(this._tooltipComponent,this._viewContainerRef),b=this._tooltipInstance=b.attach(this._portal).instance,b._triggerElement=this._elementRef.nativeElement,b._mouseLeaveHideDelay=this._hideDelay,b._onHide.pipe(dg(this._destroyed)).subscribe(function(){return c._detach()}),
this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),b.show(a)};g.hide=function(a){a=void 0===a?this.hideDelay:a;var b=this._tooltipInstance;b&&(b.isVisible()?b.hide(a):(b._cancelPendingAnimations(),this._detach()))};g.toggle=function(a){this._isTooltipVisible()?this.hide():this.show(void 0,a)};g._isTooltipVisible=function(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()};
g._createOverlay=function(a){var b=this;if(this._overlayRef){var c=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!a)&&c._origin instanceof ke)return this._overlayRef;this._detach()}c=yKb(this._scrollDispatcher,this._elementRef);a=JKb(Ez(Fz(NKb(Hz(this._overlay.position(),this.positionAtOrigin?a||this._elementRef:this._elementRef),"."+this._cssClassPrefix+"-tooltip"),!1),this._viewportMargin),c);a.positionChanges.pipe(dg(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(dg(this._destroyed)).subscribe(function(){return b._detach()});this._overlayRef.outsidePointerEvents().pipe(dg(this._destroyed)).subscribe(function(){var e;
return null==(e=b._tooltipInstance)?void 0:e._handleBodyInteraction()});this._overlayRef.keydownEvents().pipe(dg(this._destroyed)).subscribe(function(e){b._isTooltipVisible()&&27===e.keyCode&&!hi(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};
g._detach=function(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach();this._tooltipInstance=null};g._updatePosition=function(a){a=a.getConfig().positionStrategy;var b=this._getOrigin(),c=this._getOverlayPosition();Dz(a,[this._addOffset(Object.assign({},b.main,c.main)),this._addOffset(Object.assign({},b.fallback,c.fallback))])};g._addOffset=function(a){return a};
g._getOrigin=function(){var a=!this._dir||"ltr"==this._dir.value,b=this.position;if("above"==b||"below"==b)var c={originX:"center",originY:"above"==b?"top":"bottom"};else if("before"==b||"left"==b&&a||"right"==b&&!a)c={originX:"start",originY:"center"};else if("after"==b||"right"==b&&a||"left"==b&&!a)c={originX:"end",originY:"center"};a=this._invertPosition(c.originX,c.originY);return{main:c,fallback:{originX:a.x,originY:a.y}}};
g._getOverlayPosition=function(){var a=!this._dir||"ltr"==this._dir.value,b=this.position;if("above"==b)var c={overlayX:"center",overlayY:"bottom"};else if("below"==b)c={overlayX:"center",overlayY:"top"};else if("before"==b||"left"==b&&a||"right"==b&&!a)c={overlayX:"end",overlayY:"center"};else if("after"==b||"right"==b&&a||"left"==b&&!a)c={overlayX:"start",overlayY:"center"};a=this._invertPosition(c.overlayX,c.overlayY);return{main:c,fallback:{overlayX:a.x,overlayY:a.y}}};
g._updateTooltipMessage=function(){var a=this;this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(Rf(),dg(this._destroyed)).subscribe(function(){a._tooltipInstance&&a._overlayRef.updatePosition()}))};g._setTooltipClass=function(a){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=a,this._tooltipInstance._markForCheck())};
g._invertPosition=function(a,b){"above"===this.position||"below"===this.position?"top"===b?b="bottom":"bottom"===b&&(b="top"):"end"===a?a="start":"start"===a&&(a="end");return{x:a,y:b}};
g._updateCurrentPositionClass=function(a){var b=a.overlayY,c=a.originX;a=a.originY;b="center"===b?this._dir&&"rtl"===this._dir.value?"end"===c?"left":"right":"start"===c?"left":"right":"bottom"===b&&"top"===a?"above":"below";if(b!==this._currentPosition){if(c=this._overlayRef)a=this._cssClassPrefix+"-tooltip-panel-",c.removePanelClass(a+this._currentPosition),c.addPanelClass(a+b);this._currentPosition=b}};
g._setupPointerEnterEventsIfNeeded=function(){var a=this;!this._disabled&&this.message&&this._viewInitialized&&!this._passiveListeners.length&&(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",function(b){a._setupPointerExitEventsIfNeeded();var c=void 0;void 0!==b.x&&void 0!==b.y&&(c=b);a.show(void 0,c)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",function(b){var c,d=(b=null==(c=b.targetTouches)?void 0:
c[0])?{x:b.clientX,y:b.clientY}:void 0;a._setupPointerExitEventsIfNeeded();clearTimeout(a._touchstartTimeout);a._touchstartTimeout=setTimeout(function(){return a.show(void 0,d)},500)}])),this._addListeners(this._passiveListeners))};
g._setupPointerExitEventsIfNeeded=function(){var a=this;if(!this._pointerExitEventsInitialized){this._pointerExitEventsInitialized=!0;var b=[];if(this._platformSupportsMouseEvents())b.push(["mouseleave",function(d){d=d.relatedTarget;var e;d&&(null==(e=a._overlayRef)?0:e.overlayElement.contains(d))||a.hide()}],["wheel",function(d){return a._wheelListener(d)}]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();var c=function(){clearTimeout(a._touchstartTimeout);a.hide(a._defaultOptions.touchendHideDelay)};
b.push(["touchend",c],["touchcancel",c])}this._addListeners(b);this._passiveListeners.push.apply(this._passiveListeners,r(b))}};g._addListeners=function(a){var b=this;a.forEach(function(c){var d=m(c);c=d.next().value;d=d.next().value;b._elementRef.nativeElement.addEventListener(c,d,JQb)})};g._platformSupportsMouseEvents=function(){return!this._platform.IOS&&!this._platform.ANDROID};
g._wheelListener=function(a){if(this._isTooltipVisible()){a=this._document.elementFromPoint(a.clientX,a.clientY);var b=this._elementRef.nativeElement;a===b||b.contains(a)||this.hide()}};
g._disableNativeGesturesIfNecessary=function(){var a=this.touchGestures;if("off"!==a){var b=this._elementRef.nativeElement,c=b.style;if("on"===a||"INPUT"!==b.nodeName&&"TEXTAREA"!==b.nodeName)c.userSelect=c.msUserSelect=c.webkitUserSelect=c.MozUserSelect="none";"on"!==a&&b.draggable||(c.webkitUserDrag="none");c.touchAction="none";c.webkitTapHighlightColor="transparent"}};
Xi.Object.defineProperties(HC.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=bi(a);this._detach();this._overlayRef=null}},disabled:{configurable:!0,
enumerable:!0,get:function(){return this._disabled},set:function(a){(this._disabled=bi(a))?this.hide(0):this._setupPointerEnterEventsIfNeeded()}},showDelay:{configurable:!0,enumerable:!0,get:function(){return this._showDelay},set:function(a){this._showDelay=ei(a)}},hideDelay:{configurable:!0,enumerable:!0,get:function(){return this._hideDelay},set:function(a){this._hideDelay=ei(a);this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}},message:{configurable:!0,enumerable:!0,
get:function(){return this._message},set:function(a){var b=this;Wy(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)}}});HC.\u0275fac=function(){pe()};
HC.\u0275dir=qd({type:HC,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 JC=function(a,b,c,d,e,f,h,l,q,u,x,y){HC.call(this,a,b,c,d,e,f,h,l,q,u,x,y);this._tooltipComponent=IC;this._cssClassPrefix="mat-mdc";this._viewportMargin=8};W(JC,HC);JC.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};
JC.\u0275fac=function(a){return new (a||JC)(A(Iz),A(ke),A(qz),A(fh),A(hg),A(yx),A(Vy),A(Hx),A(GQb),A(gz,8),A(IQb,8),A(Vi))};JC.\u0275dir=qd({type:JC,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],exportAs:["matTooltip"],features:[qg]});var KC=function(a,b){this._changeDetectorRef=a;this._isVisible=this._closeOnInteraction=!1;this._onHide=new C.Subject;this._animationsDisabled="NoopAnimations"===b};g=KC.prototype;
g.show=function(a){var b=this;null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId);this._showTimeoutId=setTimeout(function(){b._toggleVisibility(!0);b._showTimeoutId=void 0},a)};g.hide=function(a){var b=this;null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId);this._hideTimeoutId=setTimeout(function(){b._toggleVisibility(!1);b._hideTimeoutId=void 0},a)};g.isVisible=function(){return this._isVisible};
g.ngOnDestroy=function(){this._cancelPendingAnimations();this._onHide.complete();this._triggerElement=null};g._handleBodyInteraction=function(){this._closeOnInteraction&&this.hide(0)};g._markForCheck=function(){this._changeDetectorRef.markForCheck()};g._handleMouseLeave=function(a){(a=a.relatedTarget)&&this._triggerElement.contains(a)||(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))};g._onShow=function(){};
g._handleAnimationEnd=function(a){a=a.animationName;a!==this._showAnimation&&a!==this._hideAnimation||this._finalizeAnimation(a===this._showAnimation)};g._cancelPendingAnimations=function(){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId);null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId);this._showTimeoutId=this._hideTimeoutId=void 0};g._finalizeAnimation=function(a){a?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()};
g._toggleVisibility=function(a){var b=this._tooltip.nativeElement,c=this._showAnimation,d=this._hideAnimation;b.classList.remove(a?d:c);b.classList.add(a?c:d);(this._isVisible=a)&&!this._animationsDisabled&&"function"===typeof getComputedStyle&&(c=getComputedStyle(b),"0s"===c.getPropertyValue("animation-duration")||"none"===c.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0);a&&this._onShow();this._animationsDisabled&&(b.classList.add("_mat-animation-noopable"),this._finalizeAnimation(a))};
KC.\u0275fac=function(a){return new (a||KC)(A(qw),A(cv,8))};KC.\u0275dir=qd({type:KC});var IC=function(a,b,c){KC.call(this,a,c);this._elementRef=b;this._isMultiline=!1;this._showAnimation="mat-mdc-tooltip-show";this._hideAnimation="mat-mdc-tooltip-hide"};W(IC,KC);IC.\u0275dir=KC.\u0275dir;IC.prototype._onShow=function(){this._isMultiline=this._isTooltipMultiline();this._markForCheck()};
IC.prototype._isTooltipMultiline=function(){var a=this._elementRef.nativeElement.getBoundingClientRect();return 24<a.height&&200<=a.width};IC.\u0275fac=function(a){return new (a||IC)(A(qw),A(ke),A(cv,8))};
IC.\u0275cmp=p({type:IC,selectors:[["mat-tooltip-component"]],viewQuery:function(a,b){a&1&&ih(FQb,7);if(a&2){var c;hh(c=kh())&&(b._tooltip=c.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(a,b){a&1&&K("mouseleave",function(c){return b._handleMouseLeave(c)});a&2&&Eg("zoom",b.isVisible()?1:null)},features:[qg],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&&(E(0,"div",0,1),K("animationend",function(c){return b._handleAnimationEnd(c)}),E(2,"div",2),Q(3),F()());a&2&&(Fg("mdc-tooltip--multiline",b._isMultiline),D("ngClass",b.tooltipClass),z(3),Sg(b.message))},dependencies:[ww],styles:['.mdc-tooltip__surface{word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.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{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}}.mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color, #fff)}.mdc-tooltip__surface{border-radius:var(--mdc-plain-tooltip-container-shape, var(--mdc-shape-small, 4px))}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape, var(--mdc-shape-small, 4px))}.mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color, #000)}.mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font, inherit);font-size:var(--mdc-plain-tooltip-supporting-text-size, inherit);font-weight:var(--mdc-plain-tooltip-supporting-text-weight, inherit);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking, inherit)}.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 LC=function(){};LC.\u0275fac=function(a){return new (a||LC)};LC.\u0275mod=od({type:LC});LC.\u0275inj=Wc({providers:[HQb],imports:[Uy,Mw,Lz,Mz,Mz,xz]});/*

 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 KQb=["tooltip"],NC=function(a,b,c,d,e,f,h,l,q,u,x,y){HC.call(this,a,b,c,d,e,f,h,l,q,u,x,y);this._tooltipComponent=MC};W(NC,HC);NC.\u0275fac=function(a){return new (a||NC)(A(Iz),A(ke),A(qz),A(fh),A(hg),A(yx),A(Vy),A(Hx),A(GQb),A(gz,8),A(IQb,8),A(Vi))};NC.\u0275dir=qd({type:NC,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[qg]});
var MC=function(a,b,c){KC.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)")};W(MC,KC);MC.\u0275dir=KC.\u0275dir;MC.\u0275fac=function(a){return new (a||MC)(A(qw),A(Ny),A(cv,8))};
MC.\u0275cmp=p({type:MC,selectors:[["mat-tooltip-component"]],viewQuery:function(a,b){a&1&&ih(KQb,7);if(a&2){var c;hh(c=kh())&&(b._tooltip=c.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(a,b){a&1&&K("mouseleave",function(c){return b._handleMouseLeave(c)});a&2&&Eg("zoom",b.isVisible()?1:null)},features:[qg],decls:4,vars:6,consts:[[1,"mat-tooltip",3,"ngClass","animationend"],["tooltip",""]],template:function(a,b){a&1&&(E(0,"div",0,1),K("animationend",function(d){return b._handleAnimationEnd(d)}),
U(2,"async"),Q(3),F());if(a&2){var c;Fg("mat-tooltip-handset",null==(c=V(2,4,b._isHandset))?null:c.matches);D("ngClass",b.tooltipClass);z(3);Sg(b.message)}},dependencies:[ww,Ew],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 OC=function(){};OC.\u0275fac=function(a){return new (a||OC)};OC.\u0275mod=od({type:OC});OC.\u0275inj=Wc({imports:[Mz,Mz]});var LQb=new Bd("g3cWidgetTaskManagementServicePromiseClient"),MQb=new Bd("g3cWidgetUserPrefsServicePromiseClient"),NQb=new Bd("g3cWidgetServiceConfig");var tj=function(a){Y.call(this,a)};W(tj,Y);g=tj.prototype;g.getYear=function(){return zj(this,1)};g.setYear=function(a){return Nb(this,1,a,0)};g.getMonth=function(){return zj(this,2)};g.setMonth=function(a){return Nb(this,2,a,0)};g.getDay=function(){return zj(this,3)};var ar=function(a){Y.call(this,a,-1,OQb)};W(ar,Y);ar.prototype.getLabel=function(){return Dk(this,1)};ar.prototype.setLabel=function(a){return Ub(this,1,a)};ar.prototype.getOwnersList=function(){return Bj(this,3)};var OQb=[3];var PC=function(a){Y.call(this,a)};W(PC,Y);PC.prototype.getTypeName=function(){return Dk(this,1).split("/").pop()};PC.prototype.getValue=function(){var a=Db(this,2);if(Array.isArray(a)||a instanceof Y)throw Error("T");return Kl(this,2)};PC.prototype.setValue=function(a){if(null==a)a=this;else if(Array.isArray(a))a=k(this,2,Zb(a,pba,qba,void 0,!1,!1));else if("string"===typeof a||a instanceof bb||$a(a))a=mDb(this,2,a);else throw Error("U`"+a);return a};var RTa=function(a){Y.call(this,a)};W(RTa,Y);var STa=[1,2,3];var Zq=function(a){Y.call(this,a,-1,PQb)};W(Zq,Y);g=Zq.prototype;g.getDescription=function(){return Dk(this,1)};g.setDescription=function(a){return Ub(this,1,a)};g.getStatus=function(){return tk(this,3,0)};g.setStatus=function(a){return Vk(this,3,a)};g.getVersion=function(){return ol(this,5)};g.setVersion=function(a){return Tb(this,5,a)};g.getOwnedByMe=function(){return Tl(this,7)};g.setOwnedByMe=function(a){return Sb(this,7,a)};var PQb=[4,6];var QC=function(a){Y.call(this,a)};W(QC,Y);var RC=function(a){Y.call(this,a)};W(RC,Y);g=RC.prototype;g.getAssignmentBounds=function(){return Ok(this,QC,1)};g.setAssignmentBounds=function(a){gl(this,QC,1,a)};g.hasAssignmentBounds=function(){return Hl(this,QC,1)};g.getResponseBounds=function(){return Ok(this,QC,2)};g.setResponseBounds=function(a){gl(this,QC,2,a)};g.hasResponseBounds=function(){return Hl(this,QC,2)};g.getClosureBounds=function(){return Ok(this,QC,3)};g.setClosureBounds=function(a){gl(this,QC,3,a)};
g.hasClosureBounds=function(){return Hl(this,QC,3)};var SC=function(a){Y.call(this,a)};W(SC,Y);SC.prototype.getAccessLevel=function(){return tk(this,1,0)};SC.prototype.setAccessLevel=function(a){return Vk(this,1,a)};var RQb=function(a){Y.call(this,a,-1,QQb)};W(RQb,Y);g=RQb.prototype;g.getType=function(){return tk(this,1,0)};g.setType=function(a){return Vk(this,1,a)};g.getPriority=function(){return tk(this,2,0)};g.setPriority=function(a){return Vk(this,2,a)};g.getSeverity=function(){return tk(this,3,0)};g.setSeverity=function(a){return Vk(this,3,a)};g.getStatus=function(){return tk(this,4,0)};g.setStatus=function(a){return Vk(this,4,a)};g.getSloStatus=function(){return Ok(this,RC,20)};
g.setSloStatus=function(a){gl(this,RC,20,a)};g.hasSloStatus=function(){return Hl(this,RC,20)};g.getComponentId=function(){return ol(this,11)};g.setComponentId=function(a){return Tb(this,11,a)};g.getVersion=function(){return zj(this,16)};g.setVersion=function(a){return Nb(this,16,a,0)};g.getAccessLimit=function(){return Ok(this,SC,21)};g.setAccessLimit=function(a){return gl(this,SC,21,a)};g.getBlockingIssueIdsList=function(){return Ib(this,22,wb)};var QQb=[7,22,10];var TQb=function(a){Y.call(this,a,-1,SQb)};W(TQb,Y);g=TQb.prototype;g.getDescription=function(){return Dk(this,1)};g.setDescription=function(a){return Ub(this,1,a)};g.getStatus=function(){return tk(this,3,0)};g.setStatus=function(a){return Vk(this,3,a)};g.getAuthorEmail=function(){return Dk(this,10)};var SQb=[5,6,7,11,17,13,14];var TC=function(a){Y.call(this,a,-1,UQb)};W(TC,Y);TC.prototype.getOwnedByMe=function(){return Tl(this,3)};TC.prototype.setOwnedByMe=function(a){return Sb(this,3,a)};TC.prototype.getMimeType=function(){return Dk(this,15)};TC.prototype.setMimeType=function(a){Ub(this,15,a)};var UQb=[17,6];var VQb=function(a){Y.call(this,a)};W(VQb,Y);g=VQb.prototype;g.getResourceId=function(){return Dk(this,17)};g.setResourceId=function(a){Ub(this,17,a)};g.getTitle=function(){return Dk(this,2)};g.setTitle=function(a){return Ub(this,2,a)};g.getLastModifiedTimestamp=function(){return ol(this,3)};g.getIconName=function(){return Dk(this,10)};g.getIsDeleted=function(){return Tl(this,19)};g.setIsDeleted=function(a){Sb(this,19,a)};
var cr=function(a){return Sl(a,TC,5,$q)},br=function(a){return Sl(a,RQb,6,$q)},Wq=function(a){return Sl(a,TQb,8,$q)},$q=[5,6,7,8,9,18,22,23,24];var UC=function(a){Y.call(this,a)};W(UC,Y);UC.prototype.getName=function(){return Dk(this,1)};UC.prototype.setName=function(a){return Ub(this,1,a)};UC.prototype.getContent=function(){return Dk(this,2)};UC.prototype.setContent=function(a){return Ub(this,2,a)};var VC=function(a){Y.call(this,a)};W(VC,Y);VC.prototype.getResource=function(){return Ok(this,VQb,6)};VC.prototype.setResource=function(a){return gl(this,VQb,6,a)};VC.prototype.getNote=function(){return Ok(this,UC,22)};var WQb=function(a){Y.call(this,a)};W(WQb,Y);var XQb=function(a){Y.call(this,a)};W(XQb,Y);var YQb=[2];var hl=function(a){Y.call(this,a)};W(hl,Y);hl.prototype.getId=function(){return Dk(this,1)};hl.prototype.setId=function(a){return Ub(this,1,a)};hl.prototype.getVersion=function(){return Dk(this,2)};hl.prototype.setVersion=function(a){return Ub(this,2,a)};var WC=function(a){Y.call(this,a)};W(WC,Y);WC.prototype.getName=function(){return Dk(this,1)};WC.prototype.setName=function(a){return Ub(this,1,a)};var XC=function(a,b,c){var d=this;this.userPrefsApiPromiseClient=a;this.config=c;this.sessionIndex="0";(0,C.defer)(function(){var e=(new WC).setName("keys/2");return(0,C.from)(d.userPrefsApiPromiseClient.getUserPrefs(e,d.getHeaders()))}).pipe(B(function(e){return(e=Sl(e.getUserPrefs()||new XQb,WQb,2,YQb))?12096E5>=Date.now()-ol(e,21):!1}),$f(1))};
XC.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:uq([])||"","X-Goog-AuthUser":this.sessionIndex}};XC.\u0275fac=function(a){return new (a||XC)(n(MQb),n(LQb),n(NQb,8))};XC.\u0275prov=Vc({token:XC,factory:XC.\u0275fac,providedIn:"root"});var YC=function(){};YC.\u0275fac=function(a){return new (a||YC)};YC.\u0275mod=od({type:YC});YC.\u0275inj=Wc({imports:[Zz,Mz,Mz]});var ZC=function(){};ZC.\u0275fac=function(a){return new (a||ZC)};ZC.\u0275mod=od({type:ZC});ZC.\u0275inj=Wc({imports:[Uy,lB,Mw,uB,YC,OC,Lz,pB]});var ZQb=function(a){Y.call(this,a)};W(ZQb,Y);var $Qb=function(a,b,c){this.requestMessage_=a;this.methodDescriptor_=b;this.metadata_=c};$Qb.prototype.getMethodDescriptor=function(){return this.methodDescriptor_};$Qb.prototype.getMetadata=function(){return this.metadata_};var aRb=function(a,b,c){c=void 0===c?{}:c;this.responseMessage_=a;this.metadata_=c;this.methodDescriptor_=b;this.status_=null};aRb.prototype.getMetadata=function(){return this.metadata_};aRb.prototype.getMethodDescriptor=function(){return this.methodDescriptor_};aRb.prototype.getStatus=function(){return this.status_};var $C=function(a,b,c,d,e){this.name=a;this.requestType=b;this.responseType=c;this.requestSerializeFn=d;this.responseDeserializeFn=e},bRb=function(a,b,c){c=void 0===c?{}:c;return new $Qb(b,a,c)};$C.prototype.getName=function(){return this.name};$C.prototype.getName=$C.prototype.getName;var cRb=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}},dRb=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 aD=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};W(aD,Error);aD.prototype.toString=function(){var a="RpcError("+(dRb(this.code)||String(this.code))+")";this.message&&(a+=": "+this.message);return a};aD.prototype.name="RpcError";var eRb=Promise;var bD=function(a){Y.call(this,a,-1,fRb)};W(bD,Y);bD.prototype.getCode=function(){return zj(this,1)};bD.prototype.setCode=function(a){return Nb(this,1,a,0)};bD.prototype.getMessage=function(){return Dk(this,2)};bD.prototype.setMessage=function(a){Ub(this,2,a)};var gRb=mc(bD),fRb=[3];var cD=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_&&hRb(this)},mRb=function(a,b){xq(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("Nb");c=atob(c)}try{var d=
a.grpcResponseDeserializeFn_(c)}catch(f){dD(a,new aD(13,"Error when deserializing response data; error: "+f+(", response: "+c)));return}c=cRb(a.xhr_.getStatus());iRb(a,jRb(a));0==c?kRb(a,d):dD(a,new aD(c,"Xhr succeeded but the status code is not 200"))}else{d=a.xhr_.getResponseText();var e={};d?(e=lRb(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());iRb(a,jRb(a));dD(a,new aD(d,c,e))}})},hRb=function(a){a.xhrNodeReadableStream_.on("data",
function(b){if("1"in b){var c=b["1"];try{var d=a.grpcResponseDeserializeFn_(c)}catch(e){dD(a,new aD(13,"Error when deserializing response data; error: "+e+(", response: "+c)))}d&&kRb(a,d)}if("2"in b)for(b=lRb(a,b["2"]),c=0;c<a.onStatusCallbacks_.length;c++)a.onStatusCallbacks_[c](b)});a.xhrNodeReadableStream_.on("end",function(){iRb(a,jRb(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=cRb(c);break;default:d=14}iRb(a,jRb(a));b=nPb(b)+", error: "+a.xhr_.getLastError();-1!=c&&(b+=", http status code: "+c);dD(a,new aD(d,b))}})},jRb=function(a){var b={},c=a.xhr_.getResponseHeaders();Object.keys(c).forEach(function(d){b[d]=c[d]});return b},lRb=function(a,b){var c=2,d={};try{var e=gRb(b);c=e.getCode();var f=e.getMessage();yj(e,PC,3).length&&(d["grpc-web-status-details-bin"]=
b)}catch(h){a.xhr_&&404===a.xhr_.getStatus()?(c=5,f="Not Found: "+a.xhr_.getLastUri()):(c=14,f="Unable to parse RpcStatus: "+h)}return{code:c,details:f,metadata:d}};cD.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 eD=function(a,b){b=a.indexOf(b);-1<b&&a.splice(b,1)};
cD.prototype.removeListener=function(a,b){"data"==a?eD(this.onDataCallbacks_,b):"metadata"==a?eD(this.onMetadataCallbacks_,b):"status"==a?eD(this.onStatusCallbacks_,b):"end"==a?eD(this.onEndCallbacks_,b):"error"==a&&eD(this.onErrorCallbacks_,b);return this};cD.prototype.cancel=function(){this.xhr_.abort()};
var kRb=function(a,b){for(var c=0;c<a.onDataCallbacks_.length;c++)a.onDataCallbacks_[c](b)},iRb=function(a,b){for(var c=0;c<a.onMetadataCallbacks_.length;c++)a.onMetadataCallbacks_[c](b)},dD=function(a,b){for(var c=0;c<a.onErrorCallbacks_.length;c++)a.onErrorCallbacks_[c](b)};cD.prototype.cancel=cD.prototype.cancel;cD.prototype.removeListener=cD.prototype.removeListener;cD.prototype.on=cD.prototype.on;var fD=function(a){this.worker_=a.worker||null;this.streamBinaryChunks_=a.streamBinaryChunks||!1;this.cacheMode_=this.credentialsMode_=void 0};gu(fD,oPb);fD.prototype.createInstance=function(){var a=new gD(this.worker_,this.streamBinaryChunks_);this.credentialsMode_&&a.setCredentialsMode(this.credentialsMode_);this.cacheMode_&&a.setCacheMode(this.cacheMode_);return a};fD.prototype.internalGetOptions=Lu({});fD.prototype.setCredentialsMode=function(a){this.credentialsMode_=a};
fD.prototype.setCacheMode=function(a){this.cacheMode_=a};var gD=function(a,b){wq.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};
gu(gD,wq);gD.prototype.open=function(a,b){if(0!=this.readyState)throw this.abort(),Error("Ob");this.method_=a;this.url_=b;this.readyState=1;hD(this)};gD.prototype.send=function(a){if(1!=this.readyState)throw this.abort(),Error("Pb");this.inProgress_=!0;var b={headers:this.requestHeaders_,method:this.method_,credentials:this.credentialsMode_,cache:this.cacheMode_};a&&(b.body=a);(this.worker_||da).fetch(new Request(this.url_,b)).then(this.handleResponse_.bind(this),this.handleSendFailure_.bind(this))};
gD.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,iD(this));this.readyState=0};
gD.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,hD(this)),this.inProgress_&&(this.readyState=3,hD(this),this.inProgress_)))if("arraybuffer"===this.responseType)a.arrayBuffer().then(this.handleResponseArrayBuffer_.bind(this),this.handleSendFailure_.bind(this));else if("undefined"!==typeof da.ReadableStream&&
"body"in a){this.currentReader_=a.body.getReader();if(this.streamBinaryChunks_){if(this.responseType)throw Error("Qb");this.response=[]}else this.response=this.responseText="",this.textDecoder_=new TextDecoder;nRb(this)}else a.text().then(this.handleResponseText_.bind(this),this.handleSendFailure_.bind(this))};var nRb=function(a){a.currentReader_.read().then(a.handleDataFromStream_.bind(a)).catch(a.handleSendFailure_.bind(a))};
gD.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?iD(this):hD(this);3==this.readyState&&nRb(this)}};gD.prototype.handleResponseText_=function(a){this.inProgress_&&(this.response=this.responseText=a,iD(this))};
gD.prototype.handleResponseArrayBuffer_=function(a){this.inProgress_&&(this.response=a,iD(this))};gD.prototype.handleSendFailure_=function(){this.inProgress_&&iD(this)};var iD=function(a){a.readyState=4;a.fetchResponse_=null;a.currentReader_=null;a.textDecoder_=null;hD(a)};g=gD.prototype;g.setRequestHeader=function(a,b){this.requestHeaders_.append(a,b)};g.getResponseHeader=function(a){return this.responseHeaders_?this.responseHeaders_.get(a.toLowerCase())||"":""};
g.getAllResponseHeaders=function(){if(!this.responseHeaders_)return"";for(var a=[],b=this.responseHeaders_.entries(),c=b.next();!c.done;)c=c.value,a.push(c[0]+": "+c[1]),c=b.next();return a.join("\r\n")};g.setCredentialsMode=function(a){this.credentialsMode_=a};g.setCacheMode=function(a){this.cacheMode_=a};var hD=function(a){a.onreadystatechange&&a.onreadystatechange.call(a)};
Object.defineProperty(gD.prototype,"withCredentials",{get:function(){return"include"===this.credentialsMode_},set:function(a){this.setCredentialsMode(a?"include":"same-origin")}});var oRb=function(a){if(a.getCount&&"function"==typeof a.getCount)a=a.getCount();else if(Pa(a)||"string"===typeof a)a=a.length;else{var b=0,c;for(c in a)b++;a=b}return a},jD=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(Pa(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return Sba(a)},pRb=
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(Pa(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}}},qRb=function(a,b,c){if(a.forEach&&"function"==typeof a.forEach)a.forEach(b,c);else if(Pa(a)||"string"===typeof a)Array.prototype.forEach.call(a,
b,c);else for(var d=pRb(a),e=jD(a),f=e.length,h=0;h<f;h++)b.call(c,e[h],d&&d[h],a)},rRb=function(a,b,c){if("function"==typeof a.every)return a.every(b,c);if(Pa(a)||"string"===typeof a)return Array.prototype.every.call(a,b,c);for(var d=pRb(a),e=jD(a),f=e.length,h=0;h<f;h++)if(!b.call(c,e[h],d&&d[h],a))return!1;return!0};var Cq=function(a,b){this.domain_=this.userInfo_=this.scheme_="";this.port_=null;this.fragment_=this.path_="";this.ignoreCase_=!1;var c;a instanceof Cq?(this.ignoreCase_=void 0!==b?b:a.ignoreCase_,kD(this,a.scheme_),this.setUserInfo(a.getUserInfo()),lD(this,a.getDomain()),mD(this,a.port_),this.setPath(a.getPath()),nD(this,a.queryData_.clone()),oD(this,a.fragment_)):a&&(c=String(a).match(sPb))?(this.ignoreCase_=!!b,kD(this,c[1]||"",!0),this.setUserInfo(c[2]||"",!0),lD(this,c[3]||"",!0),mD(this,c[4]),
this.setPath(c[5]||"",!0),nD(this,c[6]||"",!0),oD(this,c[7]||"",!0)):(this.ignoreCase_=!!b,this.queryData_=new pD(null,this.ignoreCase_))};
Cq.prototype.toString=function(){var a=[],b=this.scheme_;b&&a.push(qD(b,sRb,!0),":");var c=this.getDomain();if(c||"file"==b)a.push("//"),(b=this.getUserInfo())&&a.push(qD(b,sRb,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.port_,null!=c&&a.push(":",String(c));if(c=this.getPath())this.domain_&&"/"!=c.charAt(0)&&a.push("/"),a.push(qD(c,"/"==c.charAt(0)?tRb:uRb,!0));(c=this.queryData_.toString())&&a.push("?",c);(c=this.fragment_)&&a.push("#",qD(c,vRb));return a.join("")};
Cq.prototype.resolve=function(a){var b=this.clone(),c=!!a.scheme_;c?kD(b,a.scheme_):c=a.hasUserInfo();c?b.setUserInfo(a.getUserInfo()):c=!!a.domain_;c?lD(b,a.getDomain()):c=null!=a.port_;var d=a.getPath();if(c)mD(b,a.port_);else if(c=a.hasPath()){if("/"!=d.charAt(0))if(this.domain_&&!this.hasPath())d="/"+d;else{var e=b.getPath().lastIndexOf("/");-1!=e&&(d=b.getPath().slice(0,e+1)+d)}e=d;if(".."==e||"."==e)d="";else if(ka(e,"./")||ka(e,"/.")){d=Nj(e,"/");e=e.split("/");for(var f=[],h=0;h<e.length;){var l=
e[h++];"."==l?d&&h==e.length&&f.push(""):".."==l?((1<f.length||1==f.length&&""!=f[0])&&f.pop(),d&&h==e.length&&f.push("")):(f.push(l),d=!0)}d=f.join("/")}else d=e}c?b.setPath(d):c=a.hasQuery();c?nD(b,a.queryData_.clone()):c=!!a.fragment_;c&&oD(b,a.fragment_);return b};Cq.prototype.clone=function(){return new Cq(this)};var kD=function(a,b,c){a.scheme_=c?rD(b,!0):b;a.scheme_&&(a.scheme_=a.scheme_.replace(/:$/,""));return a};Cq.prototype.getUserInfo=function(){return this.userInfo_};
Cq.prototype.setUserInfo=function(a,b){this.userInfo_=b?rD(a):a;return this};Cq.prototype.hasUserInfo=function(){return!!this.userInfo_};Cq.prototype.getDomain=function(){return this.domain_};var lD=function(a,b,c){a.domain_=c?rD(b,!0):b;return a},mD=function(a,b){if(b){b=Number(b);if(isNaN(b)||0>b)throw Error("Rb`"+b);a.port_=b}else a.port_=null;return a};Cq.prototype.getPath=function(){return this.path_};Cq.prototype.setPath=function(a,b){this.path_=b?rD(a,!0):a;return this};
Cq.prototype.hasPath=function(){return!!this.path_};Cq.prototype.hasQuery=function(){return""!==this.queryData_.toString()};var nD=function(a,b,c){b instanceof pD?(a.queryData_=b,a.queryData_.setIgnoreCase(a.ignoreCase_)):(c||(b=qD(b,wRb)),a.queryData_=new pD(b,a.ignoreCase_));return a};Cq.prototype.setQuery=function(a){return nD(this,a)};Cq.prototype.getQuery=function(){return this.queryData_.toString()};
var sD=function(a,b,c){a.queryData_.set(b,c);return a},tD=function(a,b){return a.queryData_.get(b)},oD=function(a,b,c){a.fragment_=c?rD(b):b;return a},uD=function(a){sD(a,"zx",Tu());return a};Cq.prototype.removeParameter=function(a){this.queryData_.remove(a);return this};Cq.prototype.isReadOnly=function(){return!1};Cq.prototype.setIgnoreCase=function(a){this.ignoreCase_=a;this.queryData_&&this.queryData_.setIgnoreCase(a)};
var vD=function(a,b){return a instanceof Cq?a.clone():new Cq(a,b)},xRb=function(a,b,c,d,e){var f=new Cq(null);a&&kD(f,a);b&&f.setUserInfo(b);c&&lD(f,c);d&&mD(f,d);e&&f.setPath(e);return f},rD=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},qD=function(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,yRb),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},yRb=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},sRb=
/[#\/\?@]/g,uRb=/[#\?:]/g,tRb=/[#\?]/g,wRb=/[#\?@]/g,vRb=/#/g,pD=function(a,b){this.count_=this.keyMap_=null;this.encodedQuery_=a||null;this.ignoreCase_=!!b},wD=function(a){a.keyMap_||(a.keyMap_=new Map,a.count_=0,a.encodedQuery_&&tPb(a.encodedQuery_,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};g=pD.prototype;g.getCount=function(){wD(this);return this.count_};
g.add=function(a,b){wD(this);this.encodedQuery_=null;a=xD(this,a);var c=this.keyMap_.get(a);c||this.keyMap_.set(a,c=[]);c.push(b);this.count_+=1;return this};g.remove=function(a){wD(this);a=xD(this,a);return this.keyMap_.has(a)?(this.encodedQuery_=null,this.count_-=this.keyMap_.get(a).length,this.keyMap_.delete(a)):!1};g.clear=function(){this.keyMap_=this.encodedQuery_=null;this.count_=0};g.isEmpty=function(){wD(this);return 0==this.count_};g.containsKey=function(a){wD(this);a=xD(this,a);return this.keyMap_.has(a)};
g.containsValue=function(a){var b=this.getValues();return Ha(b,a)};g.forEach=function(a,b){wD(this);this.keyMap_.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)};g.getKeys=function(){wD(this);for(var a=Array.from(this.keyMap_.values()),b=Array.from(this.keyMap_.keys()),c=[],d=0;d<b.length;d++)for(var e=a[d],f=0;f<e.length;f++)c.push(b[d]);return c};
g.getValues=function(a){wD(this);var b=[];if("string"===typeof a)this.containsKey(a)&&(b=b.concat(this.keyMap_.get(xD(this,a))));else{a=Array.from(this.keyMap_.values());for(var c=0;c<a.length;c++)b=b.concat(a[c])}return b};g.set=function(a,b){wD(this);this.encodedQuery_=null;a=xD(this,a);this.containsKey(a)&&(this.count_-=this.keyMap_.get(a).length);this.keyMap_.set(a,[b]);this.count_+=1;return this};g.get=function(a,b){if(!a)return b;a=this.getValues(a);return 0<a.length?String(a[0]):b};
g.setValues=function(a,b){this.remove(a);0<b.length&&(this.encodedQuery_=null,this.keyMap_.set(xD(this,a),Oa(b)),this.count_+=b.length)};g.toString=function(){if(this.encodedQuery_)return this.encodedQuery_;if(!this.keyMap_)return"";for(var a=[],b=Array.from(this.keyMap_.keys()),c=0;c<b.length;c++){var d=b[c],e=encodeURIComponent(String(d));d=this.getValues(d);for(var f=0;f<d.length;f++){var h=e;""!==d[f]&&(h+="="+encodeURIComponent(String(d[f])));a.push(h)}}return this.encodedQuery_=a.join("&")};
g.clone=function(){var a=new pD;a.encodedQuery_=this.encodedQuery_;this.keyMap_&&(a.keyMap_=new Map(this.keyMap_),a.count_=this.count_);return a};var xD=function(a,b){b=String(b);a.ignoreCase_&&(b=b.toLowerCase());return b};pD.prototype.setIgnoreCase=function(a){a&&!this.ignoreCase_&&(wD(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};
pD.prototype.extend=function(a){for(var b=0;b<arguments.length;b++)qRb(arguments[b],function(c,d){this.add(d,c)},this)};var zRb=function(a){var b="";nc(a,function(c,d){b+=d;b+=":";b+=c;b+="\r\n"});return b},ARb=function(a,b,c){if(pc(c))return a;c=zRb(c);if("string"===typeof a)return aC(a,encodeURIComponent(String(b)),c);sD(a,b,c);return a};var Qr=function(a){hj.call(this);this.handler_=a;this.keys_={}};gu(Qr,hj);var BRb=[];Qr.prototype.listen=function(a,b,c,d){Array.isArray(b)||(b&&(BRb[0]=b.toString()),b=BRb);for(var e=0;e<b.length;e++){var f=xq(a,b[e],c||this.handleEvent,d||!1,this.handler_||this);if(!f)break;this.keys_[f.key]=f}return this};Qr.prototype.listenOnce=function(a,b,c,d){return CRb(this,a,b,c,d)};
var CRb=function(a,b,c,d,e,f){if(Array.isArray(c))for(var h=0;h<c.length;h++)CRb(a,b,c[h],d,e,f);else{b=DB(b,c,d||a.handleEvent,e,f||a.handler_||a);if(!b)return a;a.keys_[b.key]=b}return a};
Qr.prototype.unlisten=function(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)this.unlisten(a,b[f],c,d,e);else c=c||this.handleEvent,d=Ta(d)?!!d.capture:!!d,e=e||this.handler_||this,c=uNb(c),d=!!d,b=BB(a)?a.getListener(b,c,d,e):a?(a=EB(a))?a.getListener(b,c,d,e):null:null,b&&(GB(b),delete this.keys_[b.key]);return this};Qr.prototype.removeAll=function(){nc(this.keys_,function(a,b){this.keys_.hasOwnProperty(b)&&GB(a)},this);this.keys_={}};
Qr.prototype.disposeInternal=function(){Qr.superClass_.disposeInternal.call(this);this.removeAll()};Qr.prototype.handleEvent=function(){throw Error("Tb");};var DRb=function(){this.isInputValid_=!0;this.streamPos_=0;this.leftoverInput_=""};DRb.prototype.error_=function(a,b){this.isInputValid_=!1;throw Error("Ub`"+this.streamPos_+"`"+b+"`"+a);};
DRb.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=ZCb(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 mj=function(){this.errorMessage_=null;this.result_=[];this.countLengthBytes_=this.length_=this.tag_=this.state_=this.streamPos_=0;this.messageBuffer_=null;this.countMessageBytes_=0};mj.prototype.getErrorMessage=function(){return this.errorMessage_};mj.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_);};mj.prototype.acceptsBinaryInput=function(){return!0};
mj.prototype.parse=function(a){function b(q){q&128&&f.error_(h,l,"invalid tag");2!=(q&7)&&f.error_(h,l,"invalid wire type");f.tag_=q>>>3;1!=f.tag_&&2!=f.tag_&&15!=f.tag_&&f.error_(h,l,"unexpected tag");f.state_=1;f.length_=0;f.countLengthBytes_=0}function c(q){f.countLengthBytes_++;5==f.countLengthBytes_&&q&240&&f.error_(h,l,"message length too long");f.length_|=(q&127)<<7*(f.countLengthBytes_-1);q&128||(f.state_=2,f.countMessageBytes_=0,"undefined"!==typeof Uint8Array?f.messageBuffer_=new Uint8Array(f.length_):
f.messageBuffer_=Array(f.length_),0==f.length_&&e())}function d(q){f.messageBuffer_[f.countMessageBytes_++]=q;f.countMessageBytes_==f.length_&&e()}function e(){if(15>f.tag_){var q={};q[f.tag_]=f.messageBuffer_;f.result_.push(q)}f.state_=0}for(var f=this,h=a instanceof Array?a:new Uint8Array(a),l=0;l<h.length;){switch(f.state_){case 3:f.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("Vb`"+f.state_);}f.streamPos_++;l++}a=
f.result_;f.result_=[];return 0<a.length?a:null};var nj=function(){this.errorMessage_=null;this.streamPos_=0;this.base64Decoder_=new DRb;this.pbParser_=new mj};nj.prototype.getErrorMessage=function(){return this.errorMessage_};nj.prototype.error_=function(a,b){this.errorMessage_="The stream is broken @"+this.streamPos_+". Error: "+b+". With input:\n"+a;throw Error(this.errorMessage_);};nj.prototype.acceptsBinaryInput=function(){return!1};
nj.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 yD=function(a){return"\r"==a||"\n"==a||" "==a||"\t"==a};var jna=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)},ERb={INIT:0,VALUE:1,OBJECT_OPEN:2,OBJECT_END:3,ARRAY_OPEN:4,ARRAY_END:5,STRING:6,KEY_START:7,KEY_END:8,TRUE1:9,TRUE2:10,TRUE3:11,FALSE1:12,FALSE2:13,FALSE3:14,FALSE4:15,NULL1:16,NULL2:17,NULL3:18,NUM_DECIMAL_POINT:19,
NUM_DIGIT:20};g=jna.prototype;g.getErrorMessage=function(){return this.errorMessage_};g.done=function(){return 2===this.streamState_};g.error_=function(a,b){this.streamState_=3;this.errorMessage_="The stream is broken @"+this.pos_+"/"+b+". With input:\n"+a;throw Error(this.errorMessage_);};g.acceptsBinaryInput=function(){return!1};
g.parse=function(a){function b(){for(;G<a.length;)if(yD(a[G]))G++,f.pos_++;else break;return G<u}function c(){for(var M;;){M=a[G++];if(!M)break;f.pos_++;switch(f.state_){case q.INIT:"{"===M?f.state_=q.OBJECT_OPEN:"["===M?f.state_=q.ARRAY_OPEN:yD(M)||f.error_(a,G);continue;case q.KEY_START:case q.OBJECT_OPEN:if(yD(M))continue;if(f.state_===q.KEY_START)h.push(q.KEY_END);else if("}"===M){e("{}");f.state_=d();continue}else h.push(q.OBJECT_END);'"'===M?f.state_=q.STRING:f.error_(a,G);continue;case q.KEY_END:case q.OBJECT_END:if(yD(M))continue;
":"===M?(f.state_===q.OBJECT_END&&(h.push(q.OBJECT_END),f.depth_++),f.state_=q.VALUE):"}"===M?(f.depth_--,e(),f.state_=d()):","===M?(f.state_===q.OBJECT_END&&h.push(q.OBJECT_END),f.state_=q.KEY_START):f.error_(a,G);continue;case q.ARRAY_OPEN:case q.VALUE:if(yD(M))continue;if(f.state_===q.ARRAY_OPEN)if(f.depth_++,f.state_=q.VALUE,"]"===M){f.depth_--;if(0===f.depth_){f.state_=q.ARRAY_END;return}e("[]");f.state_=d();continue}else h.push(q.ARRAY_END);'"'===M?f.state_=q.STRING:"{"===M?f.state_=q.OBJECT_OPEN:
"["===M?f.state_=q.ARRAY_OPEN:"t"===M?f.state_=q.TRUE1:"f"===M?f.state_=q.FALSE1:"n"===M?f.state_=q.NULL1:"-"!==M&&(-1!=="0123456789".indexOf(M)?f.state_=q.NUM_DIGIT:f.error_(a,G));continue;case q.ARRAY_END:if(","===M)h.push(q.ARRAY_END),f.state_=q.VALUE,1===f.depth_&&(y=G);else if("]"===M){f.depth_--;if(0===f.depth_)return;e();f.state_=d()}else if(yD(M))continue;else f.error_(a,G);continue;case q.STRING:var T=G;a:for(;;){for(;0<f.unicodeCount_;)if(M=a[G++],4===f.unicodeCount_?f.unicodeCount_=0:f.unicodeCount_++,
!M)break a;if('"'===M&&!f.slashed_){f.state_=d();break}if("\\"===M&&!f.slashed_&&(f.slashed_=!0,M=a[G++],!M))break;if(f.slashed_)if(f.slashed_=!1,"u"===M&&(f.unicodeCount_=1),M=a[G++])continue;else break;l.lastIndex=G;M=l.exec(a);if(!M){G=a.length+1;break}G=M.index+1;M=a[M.index];if(!M)break}f.pos_+=G-T;continue;case q.TRUE1:if(!M)continue;"r"===M?f.state_=q.TRUE2:f.error_(a,G);continue;case q.TRUE2:if(!M)continue;"u"===M?f.state_=q.TRUE3:f.error_(a,G);continue;case q.TRUE3:if(!M)continue;"e"===M?
f.state_=d():f.error_(a,G);continue;case q.FALSE1:if(!M)continue;"a"===M?f.state_=q.FALSE2:f.error_(a,G);continue;case q.FALSE2:if(!M)continue;"l"===M?f.state_=q.FALSE3:f.error_(a,G);continue;case q.FALSE3:if(!M)continue;"s"===M?f.state_=q.FALSE4:f.error_(a,G);continue;case q.FALSE4:if(!M)continue;"e"===M?f.state_=d():f.error_(a,G);continue;case q.NULL1:if(!M)continue;"u"===M?f.state_=q.NULL2:f.error_(a,G);continue;case q.NULL2:if(!M)continue;"l"===M?f.state_=q.NULL3:f.error_(a,G);continue;case q.NULL3:if(!M)continue;
"l"===M?f.state_=d():f.error_(a,G);continue;case q.NUM_DECIMAL_POINT:"."===M?f.state_=q.NUM_DIGIT:f.error_(a,G);continue;case q.NUM_DIGIT:if(-1!=="0123456789.eE+-".indexOf(M))continue;else G--,f.pos_--,f.state_=d();continue;default:f.error_(a,G)}}}function d(){var M=h.pop();return null!=M?M:q.VALUE}function e(M){1<f.depth_||(M||(M=-1===y?f.buffer_+a.substring(x,G):a.substring(y,G)),f.deliverMessageAsRawString_?f.result_.push(M):f.result_.push(JSON.parse(M)),y=G)}for(var f=this,h=f.stack_,l=f.stringInputPattern_,
q=ERb,u=a.length,x=0,y=-1,G=0;G<u;)switch(f.streamState_){case 3:return f.error_(a,G),null;case 2:return b()&&f.error_(a,G),null;case 0:if(b()){var L=a[G++];f.pos_++;if("["===L){f.streamState_=1;x=G;f.state_=q.ARRAY_OPEN;continue}else f.error_(a,G)}return null;case 1:return c(),0===f.depth_&&f.state_==q.ARRAY_END?(f.streamState_=2,f.buffer_=a.substring(G)):f.buffer_=-1===y?f.buffer_+a.substring(x):a.substring(y),0<f.result_.length?(L=f.result_,f.result_=[],L):null}return null};var lj=function(){this.errorMessage_=this.jsonStreamParser_=null;this.state_=this.streamPos_=0;this.result_=[];this.statusParsed_=!1};lj.prototype.getErrorMessage=function(){return this.errorMessage_};lj.prototype.acceptsBinaryInput=function(){return!1};
lj.prototype.parse=function(a){function b(q){f.state_=6;f.errorMessage_="The stream is broken @"+f.streamPos_+"/"+h+". Error: "+q+". With input:\n";throw Error(f.errorMessage_);}function c(){f.jsonStreamParser_=new jna({allowCompactJsonArrayFormat:!0,deliverMessageAsRawString:!0})}function d(q){if(q)for(var u=0;u<q.length;u++){var x={};x[1]=q[u];f.result_.push(x)}}function e(q){if(q){(f.statusParsed_||1<q.length)&&b("extra status: "+q);f.statusParsed_=!0;var u={};u[2]=q[0];f.result_.push(u)}}for(var f=
this,h=0;h<a.length;){var l;if(l=2!==f.state_){a:{for(;h<a.length;){if(!yD(a[h])){l=!0;break a}h++;f.streamPos_++}l=!1}l=!l}if(l)return null;switch(f.state_){case 6:b("stream already broken");break;case 0:"["===a[h]?(f.state_=1,h++,f.streamPos_++):b("unexpected input token");break;case 1:"["===a[h]?(f.state_=2,c()):","===a[h]||"null,"==a.slice(h,h+5)?f.state_=3:"]"===a[h]?(f.state_=5,h++,f.streamPos_++):b("unexpected input token");break;case 2:l=f.jsonStreamParser_.parse(a.substring(h));d(l);f.jsonStreamParser_.done()?
(f.state_=3,l=f.jsonStreamParser_.buffer_,f.streamPos_+=a.length-h-l.length,a=l,h=0):(f.streamPos_+=a.length-h,h=a.length);break;case 3:","===a[h]||"null,"==a.slice(h,h+5)?(f.state_=4,c(),f.jsonStreamParser_.parse("["),h+=","===a[h]?1:5,f.streamPos_++):"]"===a[h]&&(f.state_=5,h++,f.streamPos_++);break;case 4:l=f.jsonStreamParser_.parse(a.substring(h));e(l);f.jsonStreamParser_.done()?(f.state_=5,l=f.jsonStreamParser_.buffer_,f.streamPos_+=a.length-h-l.length,a=l,h=0):(f.streamPos_+=a.length-h,h=a.length);
break;case 5:b("extra input after stream end")}}return 0<f.result_.length?(a=f.result_,f.result_=[],a):null};var FRb=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 Qr(this);this.eventHandler_.listen(this.xhr_,"readystatechange",this.readyStateChangeHandler_)};FRb.prototype.getXhr=function(){return this.xhr_};
var zD=function(a,b){a.status_!=b&&(a.status_=b,a.statusHandler_&&a.statusHandler_())},AD=function(a){a.eventHandler_.removeAll();if(a.xhr_){var b=a.xhr_;a.xhr_=null;b.abort();b.dispose()}};FRb.prototype.getStatus=function(){return this.status_};
FRb.prototype.readyStateChangeHandler_=function(a){a=a.target;try{if(a==this.xhr_)a:{var b=this.xhr_.getReadyState(),c=this.xhr_.getLastErrorCode(),d=this.xhr_.getStatus(),e=this.xhr_.getResponseText();a=[];if(this.xhr_.getResponse()instanceof Array){var f=this.xhr_.getResponse();0<f.length&&f[0]instanceof Uint8Array&&(this.hasStreamingResponseData_=!0,a=f)}if(!(3>b||3==b&&!e&&0==a.length))if(d=200==d||206==d,4==b&&(8==c?zD(this,7):7==c?zD(this,8):d||zD(this,3)),this.parser_||(this.parser_=kna(this.xhr_),
null==this.parser_&&zD(this,5)),2<this.status_)AD(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("Wb");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(x){zD(this,5);
AD(this);break a}}else if(e.length>this.pos_){l=e.slice(this.pos_);this.pos_=e.length;try{var u=this.parser_.parse(l);null!=u&&this.dataHandler_&&this.dataHandler_(u)}catch(x){zD(this,5);AD(this);break a}}4==b?(0!=e.length||this.hasStreamingResponseData_?zD(this,2):zD(this,4),AD(this)):zD(this,1)}}}catch(x){zD(this,6),AD(this)}};var GRb=function(a){this.xhrReader_=a;a=eu(this.onData_,this);this.xhrReader_.dataHandler_=a;a=eu(this.onStatusChange_,this);this.xhrReader_.statusHandler_=a;this.callbackMap_={};this.callbackOnceMap_={}};g=GRb.prototype;g.on=function(a,b){var c=this.callbackMap_[a];c||(c=[],this.callbackMap_[a]=c);c.push(b);return this};g.addListener=function(a,b){this.on(a,b);return this};g.removeListener=function(a,b){var c=this.callbackMap_[a];c&&La(c,b);(a=this.callbackOnceMap_[a])&&La(a,b);return this};
g.once=function(a,b){var c=this.callbackOnceMap_[a];c||(c=[],this.callbackOnceMap_[a]=c);c.push(b);return this};g.onData_=function(a){var b=this.callbackMap_.data;b&&HRb(this,a,b);(b=this.callbackOnceMap_.data)&&HRb(this,a,b);this.callbackOnceMap_.data=[]};
var HRb=function(a,b,c){for(var d={},e=0;e<b.length;d={$jscomp$loop$prop$message$2226:d.$jscomp$loop$prop$message$2226},e++)d.$jscomp$loop$prop$message$2226=b[e],c.forEach(function(f){return function(h){try{h(f.$jscomp$loop$prop$message$2226)}catch(l){a.handleError_("message-callback exception (ignored) "+l)}}}(d))};
GRb.prototype.onStatusChange_=function(){switch(this.xhrReader_.getStatus()){case 1:IRb(this,"readable");break;case 5:case 6:case 4:case 7:case 3:IRb(this,"error");break;case 8:IRb(this,"close");break;case 2:IRb(this,"end")}};var IRb=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]=[]};GRb.prototype.handleError_=function(){};var BD=function(a){a=void 0===a?{}:a;this.suppressCorsPreflight_=a.suppressCorsPreflight||tq("suppressCorsPreflight",a)||!1;this.withCredentials_=a.withCredentials||tq("withCredentials",a)||!1;this.streamInterceptors_=a.streamInterceptors||[];this.unaryInterceptors_=a.unaryInterceptors||[];this.workerScope_=a.workerScope;this.chunkedServerStreaming_=a.useFetchDownloadStreams||!1},LRb=function(a,b,c,d,e){var f=b.substr(0,b.length-e.name.length);return JRb(function(h){return new eRb(function(l,q){var u=
{},x=KRb(a,h,f);x.on("error",function(y){return q(y)});x.on("metadata",function(y){u=y});x.on("data",function(y){var G=u;G=void 0===G?{}:G;l(new aRb(y,h.getMethodDescriptor(),G))})})},a.unaryInterceptors_).call(a,bRb(e,c,d)).then(function(h){return h.responseMessage_})},CD=function(a,b,c,d,e){return LRb(a,b,c,d,e)};
BD.prototype.serverStreaming=function(a,b,c,d){var e=this,f=a.substr(0,a.length-d.name.length);return JRb(function(h){var l=h.getMethodDescriptor(),q=h.getMetadata(),u=MRb(e,!1);q=NRb(e,q,u,f+l.getName());var x=ORb(u,l.responseDeserializeFn,!0);h=l.requestSerializeFn(h.requestMessage_);u.send(q,"POST",h);return x},this.streamInterceptors_).call(this,bRb(d,b,c))};
var KRb=function(a,b,c){var d=b.getMethodDescriptor(),e=b.getMetadata(),f=MRb(a,!0);a=NRb(a,e,f,c+d.getName());c=ORb(f,d.responseDeserializeFn,!1);mRb(c,"base64"==e["X-Goog-Encode-Response-If-Executable"]);b=d.requestSerializeFn(b.requestMessage_);f.send(a,"POST",b);return c},MRb=function(a,b){b=a.chunkedServerStreaming_&&!b;return a.workerScope_||b?new bC(new fD({worker:a.workerScope_,streamBinaryChunks:b})):new bC},NRb=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=ARb(d,"$httpHeaders",b);else for(var f in b)c.headers.set(f,b[f]);return d},ORb=function(a,b,c){if(c)if(!iu||10<=Number(mu)){c=new FRb(a);var d=new GRb(c)}else d=null;return new cD({xhr:a,nodeReadableStream:d},b)},JRb=function(a,b){var c=a;b.forEach(function(d){var e=c;c=function(f){return d.intercept(f,
e)}});return c};var PRb=function(a){this.client_=new BD({format:"jspb"});this.hostname_=void 0==a?a:a.replace(/\/+$/,"")};var QRb=function(a){Y.call(this,a)};W(QRb,Y);QRb.prototype.getUserPrefs=function(){return Ok(this,XQb,1)};var RRb=new $C("/google.internal.devopsconsole.v1.UserPrefsTaskService/GetUserPrefs",WC,QRb,function(a){return a.serialize()},mc(QRb));var DD=function(a){Y.call(this,a,-1,SRb)};W(DD,Y);var SRb=[1];var TRb=function(a){this.client_=new BD({format:"jspb"});this.hostname_=void 0==a?a:a.replace(/\/+$/,"")};TRb.prototype.getUserPrefs=function(a,b){return CD(this.client_,this.hostname_+"/$rpc/google.internal.devopsconsole.v1.UserPrefsTaskService/GetUserPrefs",a,b||{},RRb)};var URb=function(a,b){this.target=a;this.targetElement=b;this.value=this.target.value},ED=function(a,b,c){var d=this;this._elementRef=a;this._dateAdapter=b;this._dateFormats=c;this.dateChange=new Rv;this.dateInput=new Rv;this.stateChanges=new C.Subject;this._onTouched=function(){};this._validatorOnChange=function(){};this._cvaOnChange=function(){};this._localeSubscription=this._valueChangesSubscription=C.Subscription.EMPTY;this._parseValidator=function(){return d._lastValueValid?null:{matDatepickerParse:{text:d._elementRef.nativeElement.value}}};
this._filterValidator=function(e){e=Pz(d._dateAdapter,d._dateAdapter.deserialize(e.value));return!e||d._matchesFilter(e)?null:{matDatepickerFilter:!0}};this._minValidator=function(e){e=Pz(d._dateAdapter,d._dateAdapter.deserialize(e.value));var f=d._rangeInput.min;return!f||!e||0>=Qz(d._dateAdapter,f,e)?null:{matDatepickerMin:{min:f,actual:e}}};this._maxValidator=function(e){e=Pz(d._dateAdapter,d._dateAdapter.deserialize(e.value));var f=d._rangeInput.max;return!f||!e||0<=Qz(d._dateAdapter,f,e)?null:
{matDatepickerMax:{max:f,actual:e}}};this._lastValueValid=!1;this._localeSubscription=b.localeChanges.subscribe(function(){d._assignValueProgrammatically(d.value)})};g=ED.prototype;g._getValidators=function(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]};
g._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 URb(b,b._elementRef.nativeElement)),b.dateChange.emit(new URb(b,b._elementRef.nativeElement)))})};
g.ngAfterViewInit=function(){this._isInitialized=!0};g.ngOnChanges=function(a){a:{var b=this._dateAdapter,c=Object.keys(a);c=m(c);for(var d=c.next();!d.done;d=c.next()){var e=a[d.value];d=e.previousValue;e=e.currentValue;if(Oz(d)&&Oz(e)){if(!b.sameDate(d,e)){a=!0;break a}}else{a=!0;break a}}a=!1}a&&this.stateChanges.next(void 0)};g.ngOnDestroy=function(){this._valueChangesSubscription.unsubscribe();this._localeSubscription.unsubscribe();this.stateChanges.complete()};
g.registerOnValidatorChange=function(a){this._validatorOnChange=a};g.validate=function(a){return this._validator?this._validator(a):null};g.writeValue=function(a){this._assignValueProgrammatically(a)};g.registerOnChange=function(a){this._cvaOnChange=a};g.registerOnTouched=function(a){this._onTouched=a};g.setDisabledState=function(a){this.disabled=a};
g._onKeydown=function(a){var b=["ctrlKey","shiftKey","metaKey"];hi(a,"altKey")&&40===a.keyCode&&b.every(function(c){return!hi(a,c)})&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),a.preventDefault())};
g._onInput=function(a){var b=this._lastValueValid,c=this._dateAdapter.parse(a,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(c);c=Pz(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 URb(this,this._elementRef.nativeElement)))};g._onChange=function(){this.dateChange.emit(new URb(this,this._elementRef.nativeElement))};
g._onBlur=function(){this.value&&this._formatValue(this.value);this._onTouched()};g._formatValue=function(a){this._elementRef.nativeElement.value=null!=a?this._dateAdapter.format(a,this._dateFormats.display.dateInput):""};g._assignValue=function(a){this._model?(this._assignValueToModel(a),this._pendingValue=null):this._pendingValue=a};g._isValidValue=function(a){return!a||this._dateAdapter.isValid(a)};g._parentDisabled=function(){return!1};
g._assignValueProgrammatically=function(a){a=this._dateAdapter.deserialize(a);this._lastValueValid=this._isValidValue(a);a=Pz(this._dateAdapter,a);this._assignValue(a);this._formatValue(a)};g._matchesFilter=function(a){var b=this._rangeInput.dateFilter;return!b||b(a)};
Xi.Object.defineProperties(ED.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=bi(a);var b=this._elementRef.nativeElement;this._disabled!==a&&(this._disabled=a,this.stateChanges.next(void 0));a&&this._isInitialized&&b.blur&&b.blur()}}});
ED.\u0275fac=function(a){return new (a||ED)(A(ke),A(Nz,8),A(Rz,8))};ED.\u0275dir=qd({type:ED,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[Hd]});var VRb=new Bd("MAT_DATE_RANGE_INPUT_PARENT"),FD=function(a,b,c,d,e,f,h,l){ED.call(this,b,h,l);this._rangeInput=a;this._elementRef=b;this._defaultErrorStateMatcher=c;this._injector=d;this._parentForm=e;this._parentFormGroup=f;this._dir=hd(gz,{optional:!0})};W(FD,ED);g=FD.prototype;g.ngOnInit=function(){var a=this._injector.get(Zw,null,{optional:!0,self:!0});a&&(this.ngControl=a)};g.ngDoCheck=function(){this.ngControl&&this.updateErrorState()};g.isEmpty=function(){return 0===this._elementRef.nativeElement.value.length};
g._getPlaceholder=function(){return this._elementRef.nativeElement.placeholder};g.focus=function(){this._elementRef.nativeElement.focus()};g._onInput=function(a){ED.prototype._onInput.call(this,a);this._rangeInput._handleChildValueChange()};g._openPopup=function(){this._rangeInput._openDatepicker()};g._getMinDate=function(){return this._rangeInput.min};g._getMaxDate=function(){return this._rangeInput.max};g._getDateFilter=function(){return this._rangeInput.dateFilter};g._parentDisabled=function(){return this._rangeInput._groupDisabled};
g._shouldHandleChangeEvent=function(a){a=a.source;return a!==this._rangeInput._startInput&&a!==this._rangeInput._endInput};g._assignValueProgrammatically=function(a){ED.prototype._assignValueProgrammatically.call(this,a);var b;null==(b=this===this._rangeInput._startInput?this._rangeInput._endInput:this._rangeInput._startInput)||b._validatorOnChange()};g._getAccessibleName=function(){return lna(this._elementRef.nativeElement,!0)};
FD.\u0275fac=function(a){return new (a||FD)(A(VRb),A(ke),A(Sz),A(Zu),A(fx,8),A(ox,8),A(Nz,8),A(Rz,8))};FD.\u0275dir=qd({type:FD,features:[qg]});ima(FD);var WRb={provide:new Bd("mat-datepicker-scroll-strategy"),deps:[Iz],useFactory:function(a){return function(){return a.scrollStrategies.reposition()}}};Yi(function(a){this._elementRef=a});var XRb=new Bd("mat-mdc-fab-default-options",{providedIn:"root",factory:mna});[].concat(r(["disabled","disableRipple","color","tabIndex"]),["extended"]);var GD=function(){};GD.\u0275fac=function(a){return new (a||GD)};GD.\u0275mod=od({type:GD});GD.\u0275inj=Wc({imports:[Mz,Zz,Mz]});var HD=function(){};HD.\u0275fac=function(a){return new (a||HD)};HD.\u0275mod=od({type:HD});HD.\u0275inj=Wc({providers:[iA,WRb],imports:[Mw,GD,Lz,Uy,Rx,Mz,xz]});var ID=function(){};ID.\u0275fac=function(a){return new (a||ID)};ID.\u0275mod=od({type:ID});ID.\u0275inj=Wc({providers:[HQb],imports:[Uy,Mw,Lz,Mz,Mz,xz]});var JD=function(){};JD.\u0275fac=function(a){return new (a||JD)};JD.\u0275mod=od({type:JD});JD.\u0275inj=Wc({providers:[{provide:MQb,useFactory:function(a){return new TRb(nna(a))},deps:[NQb]},{provide:LQb,useFactory:function(a){return new PRb(nna(a))},deps:[NQb]},XC],imports:[Mw,ZC,YC,HD,NA,OC,aB,GC,ID]});var YRb=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"})};YRb.prototype.record=function(a,b,c,d){this.streamzService_.record(this.metricName_,a,b,c,d)};YRb.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};
var ZRb=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"})};ZRb.prototype.increment=function(a,b,c){this.streamzService_.incrementCounter(this.metricName_,a,b,c)};ZRb.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};
var $Rb=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"})};$Rb.prototype.record=function(a,b,c,d){this.streamzService_.record(this.metricName_,a,b,c,d)};$Rb.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};var aSb="alternate author bookmark canonical cite help icon license next prefetch dns-prefetch prerender preconnect preload prev search subresource".split(" ");var bSb=function(a){this.servicePromise_=a;a.then(eu(function(){},this),function(){},this)},cSb=function(a,b,c){return a.servicePromise_.then(function(d){var e=d[b];if(!e)throw Error("Yb`"+b);return e.apply(d,c)})},eSb=function(a,b,c){for(var d=Array(arguments.length-2),e=2;e<arguments.length;e++)d[e-2]=arguments[e];e=dSb(a,b).then(function(f){return f.apply(null,d)});return new bSb(e)},fSb={},dSb=function(a,b){var c=fSb[b];if(c)return c;c=(c=tq(b))?WB(c):(new VB(function(d,e){var f=(new IB(document)).createElement("SCRIPT");
f.async=!0;pj(f,Ip(a));f.onload=f.onreadystatechange=function(){f.readyState&&"loaded"!=f.readyState&&"complete"!=f.readyState||d()};f.onerror=e;(document.head||document.getElementsByTagName("head")[0]).appendChild(f)})).then(function(){var d=tq(b);if(!d)throw Error("Zb`"+b+"`"+a);return d});return fSb[b]=c};var gSb=function(a){this.loader_=a};gSb.prototype.startFeedback=function(a){cSb(this.loader_,"startFeedback",arguments)};gSb.prototype.requestSurvey=function(a){cSb(this.loader_,"requestSurvey",arguments).thenCatch(function(){},this)};gSb.prototype.presentSurvey=function(a){cSb(this.loader_,"presentSurvey",arguments).thenCatch(function(){},this)};var hSb=Jp("https://www.gstatic.com/feedback/js/help/prod/service/lazy.min.js");dSb(hSb,"help.service.Lazy.create").thenCatch(function(){});var KD=function(a){this.http=a};g=KD.prototype;g.get=function(a){return this.request("get",a)};g.delete=function(a){return this.request("delete",a)};g.post=function(a){return this.request("post",a,a.body)};g.put=function(a){return this.request("put",a,a.body)};g.request=function(a,b,c){var d=b.options;d=void 0===d?{}:d;d={headers:d.headers||{},params:Object.assign({},d.params)};var e;c=null!=(e=null==c?void 0:c.toJSON())?e:null;return this.http.request(a,b.url,Object.assign({},d,{body:c})).pipe(B(Bna(b.responseConstructor)))};
KD.\u0275fac=function(a){return new (a||KD)(n(jy))};KD.\u0275prov=Vc({token:KD,factory:KD.\u0275fac,providedIn:"root"});var LD=function(a){this.jspbExecutor=a};LD.prototype.get=function(a){return(0,C.firstValueFrom)(this.jspbExecutor.get(a))};LD.prototype.delete=function(a){return(0,C.firstValueFrom)(this.jspbExecutor.delete(a))};LD.prototype.post=function(a){return(0,C.firstValueFrom)(this.jspbExecutor.post(a))};LD.prototype.put=function(a){return(0,C.firstValueFrom)(this.jspbExecutor.put(a))};
LD.\u0275fac=function(a){return new (a||LD)(n(KD))};LD.\u0275prov=Vc({token:LD,factory:LD.\u0275fac,providedIn:"root"});var jSb=function(a){Y.call(this,a,-1,iSb)};W(jSb,Y);g=jSb.prototype;g.getAuthor=function(){return Dk(this,1)};g.setAuthor=function(a){k(this,1,a)};g.getDescription=function(){return Dk(this,2)};g.setDescription=function(a){return k(this,2,a)};g.hasDescription=function(){return Am(this,2)};g.getPending=function(){return Tl(this,3)};g.getTimestamp=function(){return ol(this,4)};g.setTimestamp=function(a){return k(this,4,a)};g.hasTimestamp=function(){return Tm(this,4)};var iSb=[5];jSb.messageId="b.ChangelistDetailsResponse";var MD=function(a){Y.call(this,a,-1,kSb)};W(MD,Y);MD.prototype.getIssueIdsList=function(){return Aj(this,1)};MD.prototype.setIssueIdsList=function(a){return sl(this,1,a)};MD.prototype.addIssueIds=function(a){Ob(this,1,a)};MD.prototype.getAuthorEmail=function(){return Dk(this,3)};var kSb=[1];var lSb=function(a){Y.call(this,a)};W(lSb,Y);g=lSb.prototype;g.getQuery=function(){return Ok(this,MD,1)};g.setQuery=function(a){return gl(this,MD,1,a)};g.clearQuery=function(){qu(this,1)};g.hasQuery=function(){return Hl(this,MD,1)};g.getNextPageToken=function(){return Dk(this,2)};lSb.messageId="b.ListChangelistsRequest";var xna=function(a){Y.call(this,a,-1,mSb)};W(xna,Y);g=xna.prototype;g.getAuthor=function(){return Dk(this,1)};g.setAuthor=function(a){k(this,1,a)};g.getPending=function(){return Tl(this,3)};g.getTimestamp=function(){return Ok(this,vj,4)};g.setTimestamp=function(a){return gl(this,vj,4,a)};g.hasTimestamp=function(){return Hl(this,vj,4)};g.getIssueIdsList=function(){return Aj(this,5)};g.setIssueIdsList=function(a){return sl(this,5,a)};g.addIssueIds=function(a){Ob(this,5,a)};var mSb=[5,6];var oSb=function(a){Y.call(this,a,-1,nSb)};W(oSb,Y);oSb.prototype.getNextPageToken=function(){return Dk(this,2)};var nSb=[1];oSb.messageId="b.ListChangelistsResponse";var qSb=function(a){Y.call(this,a,-1,pSb)};W(qSb,Y);var pSb=[1];qSb.messageId="b.PendingChangelistsResponse";var ND=function(a){this.executor=a};ND.prototype.getPendingChangelistsForIssue=function(a){return this.executor.get({url:"action/issues/"+a+"/pending_changelists",responseConstructor:qSb}).pipe(B(wna))};ND.prototype.getChangelistDetails=function(a){return this.executor.get({url:"/action/changelists/"+a,responseConstructor:jSb}).pipe(B(Ana))};ND.\u0275fac=function(a){return new (a||ND)(n(KD))};ND.\u0275prov=Vc({token:ND,factory:ND.\u0275fac,providedIn:"root"});
var OD=function(a){this.changelistResources=a};OD.prototype.getPendingChangelistsForIssue=function(a){return(0,C.firstValueFrom)(this.changelistResources.getPendingChangelistsForIssue(a))};OD.prototype.getChangelistDetails=function(a){return(0,C.firstValueFrom)(this.changelistResources.getChangelistDetails(a))};OD.\u0275fac=function(a){return new (a||OD)(n(ND))};OD.\u0275prov=Vc({token:OD,factory:OD.\u0275fac,providedIn:"root"});var rSb={ACCESS_LEVEL_UNSPECIFIED:"ACCESS_LEVEL_UNSPECIFIED",INTERNAL:"INTERNAL",EXTERNAL_PARTNER:"EXTERNAL_PARTNER",EXTERNAL_PUBLIC:"EXTERNAL_PUBLIC"},aoa={0:"ACCESS_LEVEL_UNSPECIFIED",1:"INTERNAL",2:"EXTERNAL_PARTNER",3:"EXTERNAL_PUBLIC"},coa={ACCESS_LEVEL_UNSPECIFIED:0,INTERNAL:1,EXTERNAL_PARTNER:2,EXTERNAL_PUBLIC:3},lpa={0:"ACCESS_LEVEL_UNSPECIFIED",1:"LIMIT_NONE",2:"LIMIT_VIEW",3:"LIMIT_APPEND",4:"LIMIT_VIEW_TRUSTED"},tpa={ACCESS_LEVEL_UNSPECIFIED:0,LIMIT_NONE:1,LIMIT_VIEW:2,LIMIT_APPEND:3,LIMIT_VIEW_TRUSTED:4},
Epa={ACTION_TYPE_UNSPECIFIED:0,ADD:1,REMOVE:2},NCa={0:"CONFIDENCE_LEVEL_UNSPECIFIED",1:"VERY_HIGH",2:"HIGH",3:"MEDIUM",4:"LOW"},sSb={CONFIDENCE_LEVEL_UNSPECIFIED:0,VERY_HIGH:1,HIGH:2,MEDIUM:3,LOW:4},zoa={0:"UNKNOWN",1:"TEXT",2:"DATE",3:"ENUM",4:"NUMERIC",5:"REPEATED_TEXT",6:"REPEATED_DATE",7:"REPEATED_ENUM",8:"REPEATED_NUMERIC"},Foa={UNKNOWN:0,TEXT:1,DATE:2,ENUM:3,NUMERIC:4,REPEATED_TEXT:5,REPEATED_DATE:6,REPEATED_ENUM:7,REPEATED_NUMERIC:8},gpa={0:"DELETION_REASON_UNSPECIFIED",1:"USER_REQUEST",2:"ABUSE",
3:"PII",4:"RETENTION"},rpa={DELETION_REASON_UNSPECIFIED:0,USER_REQUEST:1,ABUSE:2,PII:3,RETENTION:4},Uqa={1:"COMFORTABLE",2:"COZY",3:"COMPACT"},hra={COMFORTABLE:1,COZY:2,COMPACT:3},Swa={0:"NO_DETAILED_TYPE",1:"UNRESTRICTED_GOOGLER",2:"TVC",3:"EXTERNAL",4:"PUBLIC",5:"ISSUE_CREATION_ONLY"},nqa={0:"UNKNOWN_DIFF_TYPE",1:"SINGLE_VALUE",2:"COLLECTION",5:"USER_COLLECTION",3:"LINKED_COLLECTION",4:"CUSTOM_FIELD",6:"STATUS_UPDATE"},Boa={0:"UNKNOWN",1:"SILENT",2:"MINOR",3:"MAJOR",4:"BULK",5:"CLOSING"},Goa={UNKNOWN:0,
SILENT:1,MINOR:2,MAJOR:3,BULK:4,CLOSING:5},Mm={0:"UNKNOWN_PRIORITY",4:"CLOSURE_ONLY",1:"MINIMAL",2:"IMPORTANT",3:"ALL"},bn={UNKNOWN_PRIORITY:0,CLOSURE_ONLY:4,MINIMAL:1,IMPORTANT:2,ALL:3},Tqa={0:"DEFAULT",1:"ASSIGNMENT",2:"RESPONSE",3:"CLOSURE"},gra={DEFAULT:0,ASSIGNMENT:1,RESPONSE:2,CLOSURE:3},Adb={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"},dqa={0:"FIELD_ORDERING_UNSPECIFIED",1:"INHERITED",2:"CUSTOMIZED"},tSb={FIELD_ORDERING_UNSPECIFIED:0,INHERITED:1,CUSTOMIZED:2},Aoa={0:"UNSPECIFIED",1:"INHERIT",2:"DISABLED",3:"ENABLED"},uSb={UNSPECIFIED_FORMATTING_AUDIENCE:0,INTERNAL_AUDIENCE:1,EXTERNAL_AUDIENCE:2},vSb={UNSPECIFIED_FORMATTING_MODE:"UNSPECIFIED_FORMATTING_MODE",
PLAIN:"PLAIN",MARKDOWN:"MARKDOWN",LITERAL:"LITERAL"},wqa={0:"UNSPECIFIED_FORMATTING_MODE",1:"PLAIN",2:"MARKDOWN",3:"LITERAL"},tl={UNSPECIFIED_FORMATTING_MODE:0,PLAIN:1,MARKDOWN:2,LITERAL:3},loa={0:"IMPLICIT_ACCESS_UNSPECIFIED",1:"ALLOW",2:"DENY"},wSb={IMPLICIT_ACCESS_UNSPECIFIED:0,ALLOW:1,DENY:2},hn={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"},bra={1:hn.ISSUE_ID,2:hn.COMPONENT_PATH,3:hn.TYPE,4:hn.STATUS,5:hn.PRIORITY,6:hn.SEVERITY,
7:hn.REPORTER,8:hn.ASSIGNEE,9:hn.VERIFIER,10:hn.CC,43:hn.COLLABORATOR,11:hn.CHANGELIST,32:hn.POSTMORTEM,12:hn.BLOCKING_ISSUE_ID,13:hn.BLOCKED_BY_ISSUE_ID,14:hn.CREATED_TIME,15:hn.MODIFIED_TIME,16:hn.RESOLVED_TIME,17:hn.VERIFIED_TIME,38:hn.DELETION_TIME,18:hn.TITLE,19:hn.FOUND_IN_VERSION,20:hn.TARGETED_TO_VERSION,21:hn.VERIFIED_IN_VERSION,22:hn.IN_PROD,23:hn.CANONICAL_ISSUE_ID,24:hn.CUSTOM_FIELD,25:hn.POSITION,26:hn.VOTE_COUNT,27:hn.DUPLICATE_COUNT,28:hn.CC_COUNT,44:hn.COLLABORATOR_COUNT,29:hn.MODIFIED_BY,
30:hn.LAST_MODIFIER,31:hn.ARCHIVED,33:hn.MIN_SLO,35:hn.ASSIGNMENT_SLO,36:hn.RESPONSE_SLO,37:hn.CLOSURE_SLO,39:hn.TEAM,40:hn.ESTIMATE,41:hn.ESTIMATE_TOTAL_OPEN,42:hn.ESTIMATE_TOTAL_COMPLETE},pra={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},Mpa={ISSUE_RELATION_UNSPECIFIED:0,BLOCKING:1,BLOCKED_BY:2,DUPLICATE:3,CANONICAL:4},hpa={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"},npa={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},zdb={0:"NODE_JOIN_TYPE_UNSPECIFIED",1:"AND",2:"OR",3:"ERR",4:"NIL"},xSb={UNKNOWN_SUBSCRIPTION:"UNKNOWN_SUBSCRIPTION",UNSUBSCRIBED:"UNSUBSCRIBED",SUBSCRIBED_CLOSURE_ONLY:"SUBSCRIBED_CLOSURE_ONLY",
SUBSCRIBED_MAJOR_UPDATES:"SUBSCRIBED_MAJOR_UPDATES",SUBSCRIBED_ALL_UPDATES:"SUBSCRIBED_ALL_UPDATES"},sqa={0:"UNKNOWN_SUBSCRIPTION",1:"UNSUBSCRIBED",2:"SUBSCRIBED_CLOSURE_ONLY",3:"SUBSCRIBED_MAJOR_UPDATES",4:"SUBSCRIBED_ALL_UPDATES"},Ipa={UNKNOWN_SUBSCRIPTION:0,UNSUBSCRIBED:1,SUBSCRIBED_CLOSURE_ONLY:2,SUBSCRIBED_MAJOR_UPDATES:3,SUBSCRIBED_ALL_UPDATES:4},Bdb={0:"OPERATOR_UNSPECIFIED",1:"EQ",2:"GT",3:"LT",4:"GE",5:"LE"},Yvb={0:"UNKNOWN_PERMISSION",1:"OPEN_TO_JOIN"},Toa={0:"PII_SEVERITY_UNSPECIFIED",
1:"NONE_DETECTED",2:"PII",3:"SPII"},Rwa={0:"PRINCIPAL_TYPE_UNSPECIFIED",1:"NON_GAIA",2:"USER",3:"GROUP",4:"ALIAS"},ySb={PRIORITY_UNSPECIFIED:"PRIORITY_UNSPECIFIED",P0:"P0",P1:"P1",P2:"P2",P3:"P3",P4:"P4"},ipa={0:"PRIORITY_UNSPECIFIED",1:"P0",2:"P1",3:"P2",4:"P3",5:"P4"},opa={PRIORITY_UNSPECIFIED:0,P0:1,P1:2,P2:3,P3:4,P4:5},zSb={REACTION_TYPE_UNSPECIFIED:"REACTION_TYPE_UNSPECIFIED",UPVOTE:"UPVOTE"},Iqa={0:"REACTION_TYPE_UNSPECIFIED",1:"UPVOTE"},ASb={REACTION_TYPE_UNSPECIFIED:0,UPVOTE:1},Wpa={0:"UNSPECIFIED",
1:"USER_REQUEST",2:"ABUSE",3:"PII",4:"RETENTION"},JCa={REJECTION_REASON_UNSPECIFIED:0,REVERSED:1,SIMILAR:2,NOT_SIMILAR:3,OTHER:4},rva={0:"UNKNOWN",1:"HOTLIST",2:"BOOKMARK_GROUP",3:"SAVED_SEARCH"},BSb={UNKNOWN:0,HOTLIST:1,BOOKMARK_GROUP:2,SAVED_SEARCH:3},CSb={RETENTION_UNSPECIFIED:"RETENTION_UNSPECIFIED",COMPONENT_DEFAULT:"COMPONENT_DEFAULT",INDEFINITE:"INDEFINITE"},ll={0:"RETENTION_UNSPECIFIED",1:"COMPONENT_DEFAULT",2:"INDEFINITE"},qpa={RETENTION_UNSPECIFIED:0,COMPONENT_DEFAULT:1,INDEFINITE:2},DSb=
{UNSPECIFIED_RETENTION:"UNSPECIFIED_RETENTION",BUGANIZER_DEFAULT:"BUGANIZER_DEFAULT",CUSTOM_PERIOD:"CUSTOM_PERIOD",INDEFINITE_RETENTION:"INDEFINITE_RETENTION"},Poa={0:"UNSPECIFIED_RETENTION",1:"BUGANIZER_DEFAULT",2:"CUSTOM_PERIOD",3:"INDEFINITE_RETENTION"},Roa={UNSPECIFIED_RETENTION:0,BUGANIZER_DEFAULT:1,CUSTOM_PERIOD:2,INDEFINITE_RETENTION:3},jpa={0:"SEVERITY_UNSPECIFIED",1:"S0",2:"S1",3:"S2",4:"S3",5:"S4"},ppa={SEVERITY_UNSPECIFIED:0,S0:1,S1:2,S2:3,S3:4,S4:5},ESb={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"},cra={0:"SIGNAL_TYPE_UNKNOWN",1:"NEAR_SLO",2:"MENTIONED",6:"REPLIED_TO_MENTION",7:"NEWLY_BLOCKING",3:"UNBLOCKED",5:"ASSIGNED",4:"NEEDS_REPORTER_INPUT"},rra={SIGNAL_TYPE_UNKNOWN:0,NEAR_SLO:1,MENTIONED:2,REPLIED_TO_MENTION:6,NEWLY_BLOCKING:7,UNBLOCKED:3,ASSIGNED:5,NEEDS_REPORTER_INPUT:4},udb={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"},Xvb={0:"UNKNOWN",1:"NORMAL",2:"LARGE",3:"HUGE",4:"ENORMOUS"},kpa={0:"SLO_SNOOZE_TYPE_UNSPECIFIED",1:"STARTS_ON",2:"ASSIGNMENT_ETA",3:"RESPONSE_ETA",4:"CLOSURE_ETA"},spa={SLO_SNOOZE_TYPE_UNSPECIFIED:0,STARTS_ON:1,ASSIGNMENT_ETA:2,RESPONSE_ETA:3,CLOSURE_ETA:4},cqa={0:"SLO_SOURCE_UNSPECIFIED",1:"USER",2:"BUGSCOPE"},Xoa={SLO_SOURCE_UNSPECIFIED:0,
USER:1,BUGSCOPE:2},toa={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"},voa={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},FSb={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"},ml={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"},rl={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},Xpa={0:"ACTIVE",1:"DELETED",2:"PURGED"},Nqa={0:"THEME_UNSPECIFIED",1:"GOOGLE",2:"OPEN_SOURCE"},iva={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"},kva={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},Fdb={0:"QUERY_BUILDER_RESPONSE_TYPE_UNSPECIFIED",1:"AND",2:"OR"},MCa={0:"TYPE_UNSPECIFIED",1:"ISSUE_DEDUPLICATION"},GSb={TYPE_UNSPECIFIED:0,ISSUE_DEDUPLICATION:1},ICa={TYPE_UNSPECIFIED:0,VIEWED:1,ACCEPTED:2,REJECTED:3},hoa={0:"UNSPECIFIED",1:"ACTIVE",2:"DELETED",3:"UNAVAILABLE"},ioa={UNSPECIFIED:0,ACTIVE:1,DELETED:2,UNAVAILABLE:3},wdb=
{0:"VALUE_TYPE_UNSPECIFIED",1:"NOT",2:"OR",3:"AND",4:"RANGE",5:"SIMPLE"},HSb={VIEW_UNSPECIFIED:0,BASIC:1,FULL:2};var Ina=Object.prototype.hasOwnProperty;var Uj=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};
Uj.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};Uj.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 Yna={UNSPECIFIED:0,INHERIT:1,DISABLED:2,ENABLED:3};var Gk=function(a){Y.call(this,a)};W(Gk,Y);g=Gk.prototype;g.getCustomFieldId=function(){return pDb(this,PD)};g.setCustomFieldId=function(a){return rk(this,1,PD,a)};g.hasCustomFieldId=function(){var a=mq(this,PD,1);return null!=Db(this,a)};g.getStandardField=function(){return tk(this,mq(this,PD,2),0)};g.setStandardField=function(a){rk(this,2,PD,a)};var PD=[1,2];Gk.messageId="b.FieldId";var QD=function(a){Y.call(this,a)};W(QD,Y);g=QD.prototype;g.setFieldId=function(a){gl(this,Gk,1,a)};g.getStateOnIssues=function(){return tk(this,2,0)};g.setStateOnIssues=function(a){k(this,2,a)};g.getEnabledOnIssues=function(){return Tl(this,3)};g.setEnabledOnIssues=function(a){k(this,3,a)};QD.messageId="b.FieldConfig";var Tj=function(){this.required=!1;this.allowedValue=null;this.stateOnIssues=1;this.shared=!1;this.type="TEXT";this.fieldSignificance="MINOR"};Tj.prototype.isDate=function(){return"DATE"===this.type};Tj.prototype.isText=function(){return"TEXT"===this.type};Tj.prototype.isNumeric=function(){return"NUMERIC"===this.type};Tj.prototype.isRepeated=function(){return["REPEATED_TEXT","REPEATED_DATE","REPEATED_ENUM","REPEATED_NUMERIC"].includes(this.type)};var dwb=new Set([{alias:"googlers_unrestricted"},{alias:"google_domain"}].map(function(a){return"ALIAS:"+a.alias})),ISb={AGGREGATION_TYPE_UNSPECIFIED:"AGGREGATION_TYPE_UNSPECIFIED",SUM:"SUM",MAX:"MAX"};var Xj=function(a){Y.call(this,a)};W(Xj,Y);Xj.prototype.getAccessLevel=function(){return tk(this,1,0)};Xj.prototype.setAccessLevel=function(a){return k(this,1,a)};Xj.messageId="b.AccessLimit";var cl=function(a){Y.call(this,a,-1,JSb)};W(cl,Y);g=cl.prototype;g.getEmailAddress=function(){return Dk(this,1)};g.setEmailAddress=function(a){return Ub(this,1,a)};g.getObfuscatedEmailAddress=function(){return Dk(this,2)};g.setObfuscatedEmailAddress=function(a){Ub(this,2,a)};g.getUserGaiaStatus=function(){return tk(this,3,0)};g.setUserGaiaStatus=function(a){Vk(this,3,a)};g.getAliasesList=function(){return Bj(this,4)};g.setAliasesList=function(a){Kk(this,4,a)};var JSb=[4];var ek=function(a){Y.call(this,a,-1,KSb)};W(ek,Y);g=ek.prototype;g.getEmailAddress=function(){return Dk(this,1)};g.setEmailAddress=function(a){return k(this,1,a)};g.getObfuscatedEmailAddress=function(){return Dk(this,2)};g.setObfuscatedEmailAddress=function(a){k(this,2,a)};g.getUserGaiaStatus=function(){return tk(this,3,0)};g.setUserGaiaStatus=function(a){k(this,3,a)};g.getAliasesList=function(){return Bj(this,4)};g.setAliasesList=function(a){Kk(this,4,a)};var KSb=[4];var qk=function(a){Y.call(this,a)};W(qk,Y);g=qk.prototype;g.getUser=function(){return Sl(this,ek,1,pk)};g.setUser=function(a){hq(this,1,pk,a)};g.hasUser=function(){return Ql(this,ek,1,pk)};g.getGroup=function(){return Sl(this,ek,2,pk)};g.setGroup=function(a){hq(this,2,pk,a)};var pk=[1,2,3];var RD=function(a){Y.call(this,a,-1,LSb)};W(RD,Y);g=RD.prototype;g.getAppendersList=function(){return yj(this,qk,6)};g.setAppendersList=function(a){ac(this,6,a)};g.getReadersList=function(){return yj(this,qk,8)};g.setReadersList=function(a){ac(this,8,a)};g.setImplicitAccess=function(a){return k(this,10,a)};var LSb=[2,3,4,5,6,7,8,9,11,12];RD.messageId="b.AccessPolicy";var Ek=function(a){Y.call(this,a)};W(Ek,Y);g=Ek.prototype;g.getResourcePath=function(){return Dk(this,2)};g.setResourcePath=function(a){return k(this,2,a)};g.hasResourcePath=function(){return Am(this,2)};g.getSeverity=function(){return tk(this,3,0)};g.setSeverity=function(a){return k(this,3,a)};g.hasSeverity=function(){return nl(this,3)};g.getJudgementReason=function(){return Dk(this,4)};g.setJudgementReason=function(a){return k(this,4,a)};Ek.messageId="b.ContentJudgement";var MSb={PII_SEVERITY_UNSPECIFIED:0,NONE_DETECTED:1,PII:2,SPII:3};var Nk=function(a){Y.call(this,a,-1,NSb)};W(Nk,Y);Nk.prototype.getValuesList=function(){return yj(this,tj,1)};Nk.prototype.setValuesList=function(a){ac(this,1,a)};Nk.prototype.setValues=function(a,b){ou(this,1,tj,a,b)};var NSb=[1];var Mk=function(a){Y.call(this,a,-1,OSb)};W(Mk,Y);Mk.prototype.getValuesList=function(){return pu(this,1)};Mk.prototype.setValuesList=function(a){Mb(this,1,a,Taa)};Mk.prototype.getValues=function(a){return tDb(this,a)};Mk.prototype.setValues=function(a,b){Pb(this,1,a,Saa(b),pu)};var OSb=[1];var Lk=function(a){Y.call(this,a,-1,PSb)};W(Lk,Y);Lk.prototype.getValuesList=function(){return Bj(this,1)};Lk.prototype.setValuesList=function(a){Kk(this,1,a)};Lk.prototype.getValues=function(a){return xu(this,1,a)};Lk.prototype.setValues=function(a,b){Pb(this,1,a,b,Bj)};var PSb=[1];var Jk=function(a){Y.call(this,a,-1,QSb)};W(Jk,Y);g=Jk.prototype;g.getCustomFieldId=function(){return Ck(this,1)};g.setCustomFieldId=function(a){return k(this,1,a)};g.hasCustomFieldId=function(){return Bk(this,1)};g.getDisplayValues=function(){return xu(this,12)};g.setDisplayValues=function(a,b){Pb(this,12,a,b,Bj)};g.getTextValue=function(){return ok(this,4,Ik)};g.setTextValue=function(a){rk(this,4,Ik,a)};g.getDateValue=function(){return Sl(this,tj,5,Ik)};g.setDateValue=function(a){hq(this,5,Ik,a)};
g.getEnumValue=function(){return ok(this,6,Ik)};g.setEnumValue=function(a){rk(this,6,Ik,a)};g.getNumericValue=function(){return pl(this,mq(this,Ik,7))};g.setNumericValue=function(a){rk(this,7,Ik,sb(a))};g.getRepeatedTextValue=function(){return Sl(this,Lk,8,Ik)};g.setRepeatedTextValue=function(a){hq(this,8,Ik,a)};g.getRepeatedDateValue=function(){return Sl(this,Nk,9,Ik)};g.setRepeatedDateValue=function(a){hq(this,9,Ik,a)};g.getRepeatedEnumValue=function(){return Sl(this,Lk,10,Ik)};
g.setRepeatedEnumValue=function(a){hq(this,10,Ik,a)};g.getRepeatedNumericValue=function(){return Sl(this,Mk,11,Ik)};g.setRepeatedNumericValue=function(a){hq(this,11,Ik,a)};var QSb=[12],Ik=[4,5,6,7,8,9,10,11];var Pk=function(a){Y.call(this,a,-1,RSb)};W(Pk,Y);g=Pk.prototype;g.getCustomFieldId=function(){return Ck(this,1)};g.setCustomFieldId=function(a){return k(this,1,a)};g.hasCustomFieldId=function(){return Bk(this,1)};g.getComponentId=function(){return Ck(this,2)};g.setComponentId=function(a){return k(this,2,a)};g.hasComponentId=function(){return Bk(this,2)};g.getType=function(){return tk(this,3,0)};g.setType=function(a){return k(this,3,a)};g.hasType=function(){return nl(this,3)};
g.getRequired=function(){return Tl(this,4)};g.setRequired=function(a){k(this,4,a)};g.getName=function(){return Dk(this,5)};g.setName=function(a){return k(this,5,a)};g.hasName=function(){return Am(this,5)};g.getNameOrUndefined=function(){return yu(this,5)};g.getDescription=function(){return Dk(this,6)};g.setDescription=function(a){return k(this,6,a)};g.hasDescription=function(){return Am(this,6)};g.getTypedDefaultValue=function(){return Ok(this,Jk,10)};
g.setTypedDefaultValue=function(a){gl(this,Jk,10,a)};g.getFieldSignificance=function(){return tk(this,9,0)};g.setFieldSignificance=function(a){return k(this,9,a)};g.getStateOnIssues=function(){return tk(this,11,0)};g.setStateOnIssues=function(a){k(this,11,a)};g.getEnabledOnIssues=function(){return Tl(this,12)};g.setEnabledOnIssues=function(a){k(this,12,a)};g.getShared=function(){return Tl(this,13)};g.setShared=function(a){k(this,13,a)};var RSb=[8];var Uk=function(a){Y.call(this,a)};W(Uk,Y);Uk.prototype.getLabel=function(){return Dk(this,1)};Uk.prototype.setLabel=function(a){return Ub(this,1,a)};Uk.prototype.getValue=function(){return pl(this,2)};Uk.prototype.setValue=function(a){return Nb(this,2,sb(a),0)};var Tk=function(a){Y.call(this,a,-1,SSb)};W(Tk,Y);var Koa=function(a,b){return ac(a,1,b)};Tk.prototype.setOptions=function(a){ou(this,1,Uk,a)};var SSb=[1];var Sk=function(a){Y.call(this,a)};W(Sk,Y);var Ioa=function(a,b){return Nb(a,1,sb(b),0)};var Rk=function(a){Y.call(this,a)};W(Rk,Y);g=Rk.prototype;g.getInherit=function(){return Tl(this,1)};g.setInherit=function(a){return Sb(this,1,a)};g.getId=function(){return ol(this,2)};g.setId=function(a){return Tb(this,2,a)};g.getName=function(){return Dk(this,3)};g.setName=function(a){return Ub(this,3,a)};var Hoa=function(a,b){hq(a,4,Rl,b)},Joa=function(a,b){hq(a,5,Rl,b)};Rk.prototype.getCustomFieldId=function(){return ol(this,100)};Rk.prototype.setCustomFieldId=function(a){return Tb(this,100,a)};
var Rl=[4,5];var ul=function(a){Y.call(this,a)};W(ul,Y);var SD=function(a){Y.call(this,a)};W(SD,Y);g=SD.prototype;g.getStartTime=function(){return Ok(this,vj,1)};g.setStartTime=function(a){gl(this,vj,1,a)};g.getEndTime=function(){return Ok(this,vj,2)};g.setEndTime=function(a){gl(this,vj,2,a)};g.getTargetTime=function(){return Ok(this,vj,3)};g.setTargetTime=function(a){gl(this,vj,3,a)};g.getObjective=function(){return Ok(this,El,4)};g.setObjective=function(a){gl(this,El,4,a)};g.getBusinessDays=function(){return zj(this,5)};
g.setBusinessDays=function(a){Nb(this,5,a,0)};g.getDayType=function(){return tk(this,6,0)};g.setDayType=function(a){Vk(this,6,a)};var TD=function(a){Y.call(this,a)};W(TD,Y);g=TD.prototype;g.getAssignmentBounds=function(){return Ok(this,SD,1)};g.setAssignmentBounds=function(a){gl(this,SD,1,a)};g.hasAssignmentBounds=function(){return Hl(this,SD,1)};g.getResponseBounds=function(){return Ok(this,SD,2)};g.setResponseBounds=function(a){gl(this,SD,2,a)};g.hasResponseBounds=function(){return Hl(this,SD,2)};g.getClosureBounds=function(){return Ok(this,SD,3)};g.setClosureBounds=function(a){gl(this,SD,3,a)};
g.hasClosureBounds=function(){return Hl(this,SD,3)};var Gl=function(a){Y.call(this,a,-1,TSb)};W(Gl,Y);Gl.prototype.getSourceIssueIdsList=function(){return Ib(this,1,wb)};Gl.prototype.setSourceIssueIdsList=function(a){return Mb(this,1,a,vb)};var TSb=[1];var USb=function(a){Y.call(this,a)};W(USb,Y);var UD=function(a){Y.call(this,a)};W(UD,Y);UD.prototype.getStatus=function(){return tk(this,1,0)};UD.prototype.setStatus=function(a){return Vk(this,1,a)};UD.prototype.getReason=function(){return tk(this,2,0)};UD.prototype.setReason=function(a){Vk(this,2,a)};var VD=function(a){Y.call(this,a)};W(VD,Y);VD.prototype.getRetentionPeriod=function(){return Ok(this,El,1)};VD.prototype.setRetentionPeriod=function(a){gl(this,El,1,a)};VD.prototype.getScheduledDeletionTime=function(){return Ok(this,vj,2)};VD.prototype.setScheduledDeletionTime=function(a){gl(this,vj,2,a)};var VSb=function(a){Y.call(this,a)};W(VSb,Y);g=VSb.prototype;g.getAttachmentId=function(){return ol(this,1)};g.setAttachmentId=function(a){Tb(this,1,a)};g.getContentType=function(){return Dk(this,2)};g.getLength=function(){return ol(this,3)};g.getFilename=function(){return Dk(this,4)};g.setFilename=function(a){Ub(this,4,a)};g.getEntityStatus=function(){return Ok(this,UD,6)};g.hasEntityStatus=function(){return Hl(this,UD,6)};g.getEtag=function(){return Kl(this,7)};
g.setEtag=function(a){mDb(this,7,a)};g.getContentVerdict=function(){return Ok(this,USb,10)};var WD=function(a){Y.call(this,a,-1,WSb)};W(WD,Y);WD.prototype.getValuesList=function(){return yj(this,tj,1)};WD.prototype.setValuesList=function(a){ac(this,1,a)};WD.prototype.setValues=function(a,b){ou(this,1,tj,a,b)};var WSb=[1];var XD=function(a){Y.call(this,a,-1,XSb)};W(XD,Y);XD.prototype.getValuesList=function(){return pu(this,1)};XD.prototype.setValuesList=function(a){Mb(this,1,a,Taa)};XD.prototype.getValues=function(a){return tDb(this,a)};XD.prototype.setValues=function(a,b){Pb(this,1,a,Saa(b),pu)};var XSb=[1];var YD=function(a){Y.call(this,a,-1,YSb)};W(YD,Y);YD.prototype.getValuesList=function(){return Bj(this,1)};YD.prototype.setValuesList=function(a){Kk(this,1,a)};YD.prototype.getValues=function(a){return xu(this,1,a)};YD.prototype.setValues=function(a,b){Pb(this,1,a,b,Bj)};var YSb=[1];var ZD=function(a){Y.call(this,a)};W(ZD,Y);g=ZD.prototype;g.getValueCase=function(){return Hk(this,$D)};g.getCustomFieldId=function(){return ol(this,1)};g.setCustomFieldId=function(a){return Tb(this,1,a)};g.getTextValue=function(){return ok(this,2,$D)};g.setTextValue=function(a){rk(this,2,$D,a)};g.getDateValue=function(){return Sl(this,tj,3,$D)};g.setDateValue=function(a){hq(this,3,$D,a)};g.getEnumValue=function(){return ok(this,4,$D)};g.setEnumValue=function(a){rk(this,4,$D,a)};
g.getNumericValue=function(){return pl(this,mq(this,$D,5))};g.setNumericValue=function(a){rk(this,5,$D,sb(a))};g.getRepeatedTextValue=function(){return Sl(this,YD,6,$D)};g.setRepeatedTextValue=function(a){hq(this,6,$D,a)};g.getRepeatedDateValue=function(){return Sl(this,WD,7,$D)};g.setRepeatedDateValue=function(a){hq(this,7,$D,a)};g.getRepeatedEnumValue=function(){return Sl(this,YD,8,$D)};g.setRepeatedEnumValue=function(a){hq(this,8,$D,a)};
g.getRepeatedNumericValue=function(){return Sl(this,XD,9,$D)};g.setRepeatedNumericValue=function(a){hq(this,9,$D,a)};g.getDisplayString=function(){return Dk(this,10)};var $D=[2,3,4,5,6,7,8,9];var $Sb=function(a){Y.call(this,a,-1,ZSb)};W($Sb,Y);g=$Sb.prototype;g.getCustomFieldId=function(){return ol(this,1)};g.setCustomFieldId=function(a){return Tb(this,1,a)};g.getComponentId=function(){return ol(this,2)};g.setComponentId=function(a){return Tb(this,2,a)};g.getType=function(){return tk(this,3,0)};g.setType=function(a){return Vk(this,3,a)};g.getRequired=function(){return Tl(this,4)};g.setRequired=function(a){Sb(this,4,a)};g.getName=function(){return Dk(this,5)};
g.setName=function(a){return Ub(this,5,a)};g.getDescription=function(){return Dk(this,6)};g.setDescription=function(a){return Ub(this,6,a)};g.getTypedDefaultValue=function(){return Ok(this,ZD,10)};g.setTypedDefaultValue=function(a){gl(this,ZD,10,a)};g.getEnumValues=function(a){return xu(this,8,a)};g.getFieldSignificance=function(){return tk(this,9,0)};g.setFieldSignificance=function(a){return Vk(this,9,a)};g.getShared=function(){return Tl(this,11)};g.setShared=function(a){Sb(this,11,a)};var ZSb=[8];var aTb=function(a){Y.call(this,a)};W(aTb,Y);g=aTb.prototype;g.getCustomFieldId=function(){return pDb(this,aE)};g.setCustomFieldId=function(a){return rk(this,1,aE,a)};g.hasCustomFieldId=function(){var a=mq(this,aE,1);return null!=Db(this,a)};g.getStandardField=function(){return tk(this,mq(this,aE,2),0)};g.setStandardField=function(a){rk(this,2,aE,a)};var aE=[1,2];var cTb=function(a){Y.call(this,a,-1,bTb)};W(cTb,Y);g=cTb.prototype;g.getHasReacted=function(){return Tl(this,1)};g.setHasReacted=function(a){return Sb(this,1,a)};g.getCount=function(){return ol(this,2)};g.setCount=function(a){return Tb(this,2,a)};g.getRecentRespondersList=function(){return yj(this,cl,3)};g.getType=function(){return tk(this,4,0)};g.setType=function(a){return Vk(this,4,a)};var bTb=[3];var eTb=function(a){Y.call(this,a,-1,dTb)};W(eTb,Y);eTb.prototype.getReactionStatesList=function(){return yj(this,cTb,2)};eTb.prototype.addReactionStates=function(a){return jq(this,2,cTb,a)};var dTb=[2];var jm=function(a){Y.call(this,a)};W(jm,Y);var bE=function(a){Y.call(this,a)};W(bE,Y);bE.prototype.getContent=function(){return Ok(this,jm,1)};bE.prototype.setContent=function(a){return gl(this,jm,1,a)};bE.prototype.hasContent=function(){return Hl(this,jm,1)};var cE=function(a){Y.call(this,a)};W(cE,Y);cE.prototype.getContent=function(){return Ok(this,jm,1)};cE.prototype.setContent=function(a){return gl(this,jm,1,a)};cE.prototype.hasContent=function(){return Hl(this,jm,1)};var fTb=function(a){Y.call(this,a)};W(fTb,Y);g=fTb.prototype;g.getIsQuoted=function(){return Tl(this,1)};g.setIsQuoted=function(a){return Sb(this,1,a)};g.getContent=function(){return Ok(this,jm,2)};g.setContent=function(a){return gl(this,jm,2,a)};g.hasContent=function(){return Hl(this,jm,2)};var dE=function(a){Y.call(this,a,-1,gTb)};W(dE,Y);dE.prototype.getPlainSectionList=function(){return yj(this,fTb,1)};dE.prototype.setPlainSectionList=function(a){return ac(this,1,a)};var gTb=[1];var hTb=function(a){Y.call(this,a)};W(hTb,Y);g=hTb.prototype;g.getKindCase=function(){return Hk(this,eE)};g.getPlainFormat=function(){return Sl(this,dE,1,eE)};g.setPlainFormat=function(a){hq(this,1,eE,a)};g.hasPlainFormat=function(){return Ql(this,dE,1,eE)};g.getMarkdownFormat=function(){return Sl(this,cE,2,eE)};g.setMarkdownFormat=function(a){hq(this,2,eE,a)};g.hasMarkdownFormat=function(){return Ql(this,cE,2,eE)};g.getLiteralFormat=function(){return Sl(this,bE,3,eE)};
g.setLiteralFormat=function(a){hq(this,3,eE,a)};g.hasLiteralFormat=function(){return Ql(this,bE,3,eE)};var eE=[1,2,3];var jTb=function(a){Y.call(this,a,-1,iTb)};W(jTb,Y);jTb.prototype.getMentionedUser=function(){return Ok(this,cl,1)};jTb.prototype.getState=function(){return tk(this,2,0)};var iTb=[3];var fE=function(a){Y.call(this,a,-1,kTb)};W(fE,Y);g=fE.prototype;g.getIssueId=function(){return ol(this,6)};g.setIssueId=function(a){return Tb(this,6,a)};g.getCommentNumber=function(){return zj(this,7)};g.setCommentNumber=function(a){return Nb(this,7,a,0)};g.getComment=function(){return Dk(this,1)};g.setComment=function(a){Ub(this,1,a)};g.getFormattedComment=function(){return Ok(this,hTb,16)};g.hasFormattedComment=function(){return Hl(this,hTb,16)};
g.getMentionsList=function(){return yj(this,jTb,14)};g.getFormattingMode=function(){return tk(this,9,0)};g.setFormattingMode=function(a){return Vk(this,9,a)};g.getAttachmentsList=function(){return yj(this,VSb,2)};g.setAttachmentsList=function(a){ac(this,2,a)};g.getModifiedTime=function(){return Ok(this,vj,4)};g.getEntityStatus=function(){return Ok(this,UD,5)};g.hasEntityStatus=function(){return Hl(this,UD,5)};g.getVersion=function(){return zj(this,8)};g.setVersion=function(a){return Nb(this,8,a,0)};
g.getContentVerdict=function(){return Ok(this,USb,10)};g.getRedacted=function(){return Tl(this,13)};g.getEtag=function(){return Kl(this,15)};g.setEtag=function(a){mDb(this,15,a)};g.getCommentReaction=function(){return Ok(this,eTb,17)};var kTb=[14,2];var gE=function(a){Y.call(this,a)};W(gE,Y);gE.prototype.getAccessLevel=function(){return tk(this,1,0)};gE.prototype.setAccessLevel=function(a){return Vk(this,1,a)};var mTb=function(a){Y.call(this,a,-1,lTb)};W(mTb,Y);g=mTb.prototype;g.getComponentId=function(){return ol(this,1)};g.setComponentId=function(a){return Tb(this,1,a)};g.getType=function(){return tk(this,2,0)};g.setType=function(a){return Vk(this,2,a)};g.getStatus=function(){return tk(this,3,0)};g.setStatus=function(a){return Vk(this,3,a)};g.getPriority=function(){return tk(this,4,0)};g.setPriority=function(a){return Vk(this,4,a)};g.getSeverity=function(){return tk(this,5,0)};
g.setSeverity=function(a){return Vk(this,5,a)};g.getTitle=function(){return Dk(this,6)};g.setTitle=function(a){return Ub(this,6,a)};g.getReporter=function(){return Ok(this,cl,7)};g.setReporter=function(a){gl(this,cl,7,a)};g.setAssignee=function(a){gl(this,cl,8,a)};g.clearAssignee=function(){return qu(this,8)};g.setVerifier=function(a){gl(this,cl,9,a)};g.clearVerifier=function(){return qu(this,9)};g.setCollaborators=function(a){ou(this,31,cl,a)};
g.getBlockingIssueIdsList=function(){return Ib(this,13,wb)};g.addHotlistIds=function(a,b){return Ob(this,14,a,b)};g.getCustomFieldsList=function(){return yj(this,ZD,15)};g.setCustomFieldsList=function(a){ac(this,15,a)};g.getInProd=function(){return Tl(this,20)};g.setInProd=function(a){Sb(this,20,a)};g.getIsArchived=function(){return Tl(this,21)};g.setIsArchived=function(a){return Sb(this,21,a)};g.getIsDeleted=function(){return Tl(this,23)};g.setIsDeleted=function(a){Sb(this,23,a)};
g.getDeletionReason=function(){return tk(this,24,0)};g.setDeletionReason=function(a){Vk(this,24,a)};g.getEntityStatus=function(){return Ok(this,UD,25)};g.hasEntityStatus=function(){return Hl(this,UD,25)};g.getSloSnoozeUntil=function(){return Ok(this,vj,26)};g.setSloSnoozeUntil=function(a){gl(this,vj,26,a)};g.getSloSnoozeType=function(){return tk(this,30,0)};g.setSloSnoozeType=function(a){Vk(this,30,a)};g.getPostmortemsList=function(){return Bj(this,27)};
g.setPostmortemsList=function(a){Kk(this,27,a)};g.getRetention=function(){return tk(this,28,0)};g.setRetention=function(a){Vk(this,28,a)};g.getEffort=function(){return Ok(this,ul,29)};g.setEffort=function(a){gl(this,ul,29,a)};g.hasEffort=function(){return Hl(this,ul,29)};g.getAccessLimit=function(){return Ok(this,gE,32)};g.setAccessLimit=function(a){return gl(this,gE,32,a)};var lTb=[10,31,12,13,14,15,16,17,18,19,22,27];var hE=function(a){Y.call(this,a,-1,nTb)};W(hE,Y);hE.prototype.getNotificationSubscription=function(){return tk(this,4,0)};hE.prototype.setNotificationSubscription=function(a){return Vk(this,4,a)};var nTb=[3];var Eqa=function(a){Y.call(this,a)};W(Eqa,Y);Eqa.prototype.getHref=function(){return Dk(this,1)};var tm=function(a){Y.call(this,a)};W(tm,Y);tm.prototype.getIssueId=function(){return ol(this,1)};tm.prototype.setIssueId=function(a){return k(this,1,a)};tm.prototype.getCommentNumber=function(){return zj(this,2)};tm.prototype.setCommentNumber=function(a){return k(this,2,a)};var oTb=function(a){Y.call(this,a)};W(oTb,Y);var Dqa=[1,2];var pTb=function(a){Y.call(this,a)};W(pTb,Y);g=pTb.prototype;g.getIssueId=function(){return ol(this,1)};g.setIssueId=function(a){return Tb(this,1,a)};g.getUpdateText=function(){return Dk(this,2)};g.setUpdateText=function(a){Ub(this,2,a)};g.getFormattingMode=function(){return tk(this,4,0)};g.setFormattingMode=function(a){return Vk(this,4,a)};g.getAuthor=function(){return Ok(this,cl,5)};g.setAuthor=function(a){gl(this,cl,5,a)};g.getUpdateTime=function(){return Ok(this,vj,6)};
g.setUpdateTime=function(a){gl(this,vj,6,a)};g.getVersion=function(){return zj(this,7)};g.setVersion=function(a){return Nb(this,7,a,0)};g.getEntityStatus=function(){return Ok(this,UD,8)};g.hasEntityStatus=function(){return Hl(this,UD,8)};var rTb=function(a){Y.call(this,a,-1,qTb)};W(rTb,Y);g=rTb.prototype;g.getIssueId=function(){return ol(this,2)};g.setIssueId=function(a){return Tb(this,2,a)};g.getIssueState=function(){return Ok(this,mTb,3)};g.getAttachmentsList=function(){return yj(this,VSb,18)};g.setAttachmentsList=function(a){ac(this,18,a)};g.getDescription=function(){return Ok(this,fE,44)};g.setDescription=function(a){return gl(this,fE,44,a)};g.hasDescription=function(){return Hl(this,fE,44)};
g.getStatusUpdate=function(){return Ok(this,pTb,43)};g.hasStatusUpdate=function(){return Hl(this,pTb,43)};g.getCreatedTime=function(){return Ok(this,vj,5)};g.getModifiedTime=function(){return Ok(this,vj,6)};g.getLastModifier=function(){return Ok(this,cl,14)};g.setLastModifier=function(a){gl(this,cl,14,a)};g.getUserData=function(){return Ok(this,hE,9)};g.setUserData=function(a){gl(this,hE,9,a)};g.getVoteCount=function(){return ol(this,10)};g.setVoteCount=function(a){Tb(this,10,a)};
g.getParentIssueIdsList=function(){return Ib(this,37,wb)};g.setParentIssueIdsList=function(a){Mb(this,37,a,vb)};g.getAccessLimit=function(){return Ok(this,SC,11)};g.setAccessLimit=function(a){return gl(this,SC,11,a)};g.getVersion=function(){return zj(this,12)};g.setVersion=function(a){return Nb(this,12,a,0)};g.getEtag=function(){return Kl(this,13)};g.setEtag=function(a){mDb(this,13,a)};g.getCustomFieldsList=function(){return yj(this,$Sb,15)};g.setCustomFieldsList=function(a){ac(this,15,a)};
g.getVisibleFieldsList=function(){return yj(this,aTb,34)};g.setVisibleFieldsList=function(a){ac(this,34,a)};g.getSloStatus=function(){return Ok(this,TD,16)};g.setSloStatus=function(a){gl(this,TD,16,a)};g.hasSloStatus=function(){return Hl(this,TD,16)};g.getSloId=function(){return ol(this,17)};g.setSloId=function(a){return Tb(this,17,a)};g.getTeamId=function(){return ol(this,33)};g.setTeamId=function(a){return Tb(this,33,a)};g.getRetentionState=function(){return Ok(this,VD,29)};
g.setRetentionState=function(a){gl(this,VD,29,a)};g.getAncestorsMap=function(){return wDb(this,38,Gl)};g.getChildIssueCount=function(){return zj(this,39)};g.setChildIssueCount=function(a){Nb(this,39,a,0)};g.getIsArchived=function(){return Tl(this,40)};g.setIsArchived=function(a){return Sb(this,40,a)};g.getRelatedLinksList=function(){return yj(this,oTb,41)};g.getTrackerId=function(){return ol(this,42)};g.setTrackerId=function(a){Tb(this,42,a)};var qTb=[18,37,31,15,34,41];var iE=function(a){Y.call(this,a)};W(iE,Y);iE.prototype.getContent=function(){return Ok(this,jm,1)};iE.prototype.setContent=function(a){return gl(this,jm,1,a)};iE.prototype.hasContent=function(){return Hl(this,jm,1)};var jE=function(a){Y.call(this,a)};W(jE,Y);jE.prototype.getContent=function(){return Ok(this,jm,1)};jE.prototype.setContent=function(a){return gl(this,jm,1,a)};jE.prototype.hasContent=function(){return Hl(this,jm,1)};var Wk=function(a){Y.call(this,a)};W(Wk,Y);g=Wk.prototype;g.getIsQuoted=function(){return Tl(this,1)};g.setIsQuoted=function(a){return k(this,1,a)};g.getContent=function(){return Ok(this,jm,2)};g.setContent=function(a){return gl(this,jm,2,a)};g.hasContent=function(){return Hl(this,jm,2)};var kE=function(a){Y.call(this,a,-1,sTb)};W(kE,Y);kE.prototype.getPlainSectionList=function(){return yj(this,Wk,1)};kE.prototype.setPlainSectionList=function(a){return ac(this,1,a)};var sTb=[1];var Il=function(a){Y.call(this,a)};W(Il,Y);g=Il.prototype;g.getKindCase=function(){return Hk(this,lE)};g.getPlainFormat=function(){return Sl(this,kE,1,lE)};g.setPlainFormat=function(a){hq(this,1,lE,a)};g.hasPlainFormat=function(){return Ql(this,kE,1,lE)};g.getMarkdownFormat=function(){return Sl(this,jE,2,lE)};g.setMarkdownFormat=function(a){hq(this,2,lE,a)};g.hasMarkdownFormat=function(){return Ql(this,jE,2,lE)};g.getLiteralFormat=function(){return Sl(this,iE,3,lE)};
g.setLiteralFormat=function(a){hq(this,3,lE,a)};g.hasLiteralFormat=function(){return Ql(this,iE,3,lE)};var lE=[1,2,3];var Zk=function(a){Y.call(this,a)};W(Zk,Y);Zk.prototype.getSeverity=function(){return tk(this,1,0)};Zk.prototype.setSeverity=function(a){return k(this,1,a)};Zk.prototype.hasSeverity=function(){return nl(this,1)};var om=function(a){Y.call(this,a)};W(om,Y);var Xk=function(a){Y.call(this,a)};W(Xk,Y);Xk.prototype.hasRetentionSelection=function(){return nl(this,1)};var Dl=function(a){Y.call(this,a)};W(Dl,Y);Dl.prototype.getRetentionPeriod=function(){return Ok(this,El,1)};Dl.prototype.setRetentionPeriod=function(a){gl(this,El,1,a)};Dl.prototype.getScheduledDeletionTime=function(){return Ok(this,vj,2)};Dl.prototype.setScheduledDeletionTime=function(a){gl(this,vj,2,a)};Dl.messageId="b.RetentionState";var dl=function(a){Y.call(this,a)};W(dl,Y);g=dl.prototype;g.getHours=function(){return zj(this,1)};g.setHours=function(a){return Nb(this,1,a,0)};g.getMinutes=function(){return zj(this,2)};g.setMinutes=function(a){return Nb(this,2,a,0)};g.getSeconds=function(){return zj(this,3)};g.setSeconds=function(a){return Nb(this,3,a,0)};g.getNanos=function(){return zj(this,4)};g.setNanos=function(a){return Nb(this,4,a,0)};var fl=function(a){Y.call(this,a)};W(fl,Y);g=fl.prototype;g.getId=function(){return ol(this,1)};g.setId=function(a){return k(this,1,a)};g.setFrequency=function(a){return Vk(this,3,a)};g.getTimeZone=function(){return Ok(this,hl,5)};g.setTimeZone=function(a){return gl(this,hl,5,a)};g.hasTimeZone=function(){return Hl(this,hl,5)};var mE=function(a){Y.call(this,a)};W(mE,Y);mE.prototype.getTeamId=function(){return ol(this,1)};mE.prototype.setTeamId=function(a){return Tb(this,1,a)};mE.prototype.getEffectiveSloEditPolicy=function(){return tk(this,3,0)};var al=function(a){Y.call(this,a)};W(al,Y);g=al.prototype;g.getInherit=function(){return Tl(this,1)};g.setInherit=function(a){return k(this,1,a)};g.getSource=function(){return tk(this,2,0)};g.setSource=function(a){return k(this,2,a)};g.hasSource=function(){return nl(this,2)};g.getSourceOrUndefined=function(){return qt(this,2)};g.getId=function(){return Ck(this,3)};g.setId=function(a){return k(this,3,a)};g.getSourceTeamId=function(){return Ck(this,5)};g.setSourceTeamId=function(a){k(this,5,a)};
g.getComment=function(){return Dk(this,4)};g.setComment=function(a){k(this,4,a)};var $k=function(a){Y.call(this,a)};W($k,Y);g=$k.prototype;g.getStartTime=function(){return Ok(this,vj,1)};g.setStartTime=function(a){gl(this,vj,1,a)};g.getEndTime=function(){return Ok(this,vj,2)};g.setEndTime=function(a){gl(this,vj,2,a)};g.getTargetTime=function(){return Ok(this,vj,3)};g.setTargetTime=function(a){gl(this,vj,3,a)};g.getObjective=function(){return Ok(this,El,4)};g.setObjective=function(a){gl(this,El,4,a)};g.getBusinessDays=function(){return zj(this,5)};
g.setBusinessDays=function(a){k(this,5,a)};g.getDayType=function(){return tk(this,6,0)};g.setDayType=function(a){k(this,6,a)};var il=function(a){Y.call(this,a)};W(il,Y);g=il.prototype;g.getMetric=function(){return tk(this,1,0)};g.getMatcher=function(){return Dk(this,2)};g.setMatcher=function(a){k(this,2,a)};g.getDayType=function(){return tk(this,4,0)};g.setDayType=function(a){k(this,4,a)};g.getObjective=function(){return Ok(this,El,3)};g.setObjective=function(a){gl(this,El,3,a)};g.getBusinessDays=function(){return zj(this,5)};g.setBusinessDays=function(a){k(this,5,a)};var kl=function(a){Y.call(this,a,-1,tTb)};W(kl,Y);g=kl.prototype;g.getSloId=function(){return Ck(this,1)};g.setSloId=function(a){return k(this,1,a)};g.getVersion=function(){return zj(this,2)};g.setVersion=function(a){return k(this,2,a)};g.getVersionOrUndefined=function(){return tu(this,2)};g.getName=function(){return Dk(this,3)};g.setName=function(a){return k(this,3,a)};g.hasName=function(){return Am(this,3)};g.getNameOrUndefined=function(){return yu(this,3)};
g.getDescription=function(){return Dk(this,4)};g.setDescription=function(a){return k(this,4,a)};g.hasDescription=function(){return Am(this,4)};g.getParentId=function(){return Ck(this,5)};g.setParentId=function(a){return k(this,5,a)};g.getIsArchived=function(){return Tl(this,8)};g.setIsArchived=function(a){return k(this,8,a)};var tTb=[6,7];kl.messageId="b.SloState";var Fl=function(a){Y.call(this,a)};W(Fl,Y);g=Fl.prototype;g.getAssignmentBounds=function(){return Ok(this,$k,1)};g.setAssignmentBounds=function(a){gl(this,$k,1,a)};g.hasAssignmentBounds=function(){return Hl(this,$k,1)};g.getResponseBounds=function(){return Ok(this,$k,2)};g.setResponseBounds=function(a){gl(this,$k,2,a)};g.hasResponseBounds=function(){return Hl(this,$k,2)};g.getClosureBounds=function(){return Ok(this,$k,3)};g.setClosureBounds=function(a){gl(this,$k,3,a)};
g.hasClosureBounds=function(){return Hl(this,$k,3)};var nE=function(a){Y.call(this,a)};W(nE,Y);nE.prototype.getIssueId=function(){return Ck(this,1)};nE.prototype.setIssueId=function(a){return k(this,1,a)};nE.prototype.getReason=function(){return tk(this,2,0)};nE.prototype.setReason=function(a){k(this,2,a)};nE.messageId="b.DeleteIssueRequest";var Dpa=function(a){Y.call(this,a)};W(Dpa,Y);g=Dpa.prototype;g.getFieldName=function(){return Dk(this,1)};g.setFieldName=function(a){k(this,1,a)};g.getValue=function(){return Dk(this,2)};g.setValue=function(a){return k(this,2,a)};g.hasValue=function(){return Am(this,2)};g.setActionType=function(a){k(this,3,a)};g.getCustomFieldValue=function(){return Ok(this,Jk,5)};g.setCustomFieldValue=function(a){return gl(this,Jk,5,a)};g.clearCustomFieldValue=function(){return qu(this,5)};
g.hasCustomFieldValue=function(){return Hl(this,Jk,5)};var wl=function(a){Y.call(this,a)};W(wl,Y);wl.prototype.getAccessLevel=function(){return tk(this,1,0)};wl.prototype.setAccessLevel=function(a){return k(this,1,a)};var vl=function(a){Y.call(this,a)};W(vl,Y);vl.prototype.getIssueId=function(){return Ck(this,1)};vl.prototype.setIssueId=function(a){return k(this,1,a)};vl.prototype.getIssueAccessLimit=function(){return Ok(this,wl,2)};vl.prototype.setIssueAccessLimit=function(a){gl(this,wl,2,a)};vl.messageId="b.GetRetainedAccessPrincipalsRequest";var Cl=function(a){Y.call(this,a)};W(Cl,Y);g=Cl.prototype;g.getVoteCount=function(){return ol(this,1)};g.setVoteCount=function(a){k(this,1,a)};g.getCreatedTimeMicros=function(){return ol(this,2)};g.setCreatedTimeMicros=function(a){k(this,2,a)};g.getModifiedTimeMicros=function(){return ol(this,3)};g.setModifiedTimeMicros=function(a){k(this,3,a)};g.getLastModifier=function(){return Ok(this,ek,10)};g.setLastModifier=function(a){gl(this,ek,10,a)};g.getSloStatus=function(){return Ok(this,Fl,6)};
g.setSloStatus=function(a){gl(this,Fl,6,a)};g.hasSloStatus=function(){return Hl(this,Fl,6)};g.getSloId=function(){return Ck(this,7)};g.setSloId=function(a){return k(this,7,a)};g.getTeamId=function(){return Ck(this,9)};g.setTeamId=function(a){return k(this,9,a)};g.getRetentionState=function(){return Ok(this,Dl,8)};g.setRetentionState=function(a){gl(this,Dl,8,a)};var oE=function(a){Y.call(this,a,-1,uTb)};W(oE,Y);g=oE.prototype;g.getHasReacted=function(){return Tl(this,1)};g.setHasReacted=function(a){return k(this,1,a)};g.getCount=function(){return ol(this,2)};g.setCount=function(a){return k(this,2,a)};g.getRecentRespondersList=function(){return yj(this,ek,3)};g.getType=function(){return tk(this,4,0)};g.setType=function(a){return k(this,4,a)};g.hasType=function(){return nl(this,4)};var uTb=[3];oE.messageId="b.ReactionState";var pE=function(a){Y.call(this,a,-1,vTb)};W(pE,Y);pE.prototype.getReactionStatesList=function(){return yj(this,oE,1)};pE.prototype.addReactionStates=function(a){return jq(this,1,oE,a)};var vTb=[1];pE.messageId="b.CommentReaction";var qE=function(a){Y.call(this,a)};W(qE,Y);g=qE.prototype;g.getStatus=function(){return tk(this,1,0)};g.setStatus=function(a){return k(this,1,a)};g.hasStatus=function(){return nl(this,1)};g.getReason=function(){return tk(this,2,0)};g.setReason=function(a){k(this,2,a)};var rE=function(a){Y.call(this,a,-1,wTb)};W(rE,Y);rE.prototype.getMentionedUser=function(){return Ok(this,ek,1)};rE.prototype.getState=function(){return tk(this,2,0)};var wTb=[3];var sE=function(a){Y.call(this,a,-1,xTb)};W(sE,Y);g=sE.prototype;g.getIssueId=function(){return Ck(this,1)};g.setIssueId=function(a){return k(this,1,a)};g.getMentionsList=function(){return yj(this,rE,16)};g.getVersion=function(){return zj(this,6)};g.setVersion=function(a){return k(this,6,a)};g.getVersionOrUndefined=function(){return tu(this,6)};g.getEntityStatus=function(){return Ok(this,qE,9)};g.hasEntityStatus=function(){return Hl(this,qE,9)};g.getFormattingMode=function(){return tk(this,10,0)};
g.setFormattingMode=function(a){return k(this,10,a)};g.getFormattedComment=function(){return Ok(this,Il,13)};g.hasFormattedComment=function(){return Hl(this,Il,13)};g.getPiiRetentionState=function(){return Ok(this,Dl,11)};g.getPiiRetention=function(){return tk(this,12,0)};g.setPiiRetention=function(a){return k(this,12,a)};g.hasPiiRetention=function(){return nl(this,12)};g.getRedacted=function(){return Tl(this,15)};g.getEtag=function(){return Dk(this,17)};g.setEtag=function(a){k(this,17,a)};
g.hasEtag=function(){return Am(this,17)};g.getCommentReaction=function(){return Ok(this,pE,18)};var xTb=[16];sE.messageId="b.IssueComment";var ql=function(a){Y.call(this,a,-1,yTb)};W(ql,Y);g=ql.prototype;g.getCreatedTimeMicros=function(){return ol(this,2)};g.setCreatedTimeMicros=function(a){k(this,2,a)};g.getComponentId=function(){return Ck(this,3)};g.setComponentId=function(a){return k(this,3,a)};g.hasComponentId=function(){return Bk(this,3)};g.getVersion=function(){return ol(this,4)};g.setVersion=function(a){return k(this,4,a)};g.getVersionOrUndefined=function(){return uu(this,4)};g.getType=function(){return tk(this,5,0)};
g.setType=function(a){return k(this,5,a)};g.hasType=function(){return nl(this,5)};g.getStatus=function(){return tk(this,6,0)};g.setStatus=function(a){return k(this,6,a)};g.hasStatus=function(){return nl(this,6)};g.getPriority=function(){return tk(this,7,0)};g.setPriority=function(a){return k(this,7,a)};g.hasPriority=function(){return nl(this,7)};g.getSeverity=function(){return tk(this,8,0)};g.setSeverity=function(a){return k(this,8,a)};g.hasSeverity=function(){return nl(this,8)};
g.getTitle=function(){return Dk(this,9)};g.setTitle=function(a){return k(this,9,a)};g.getAttachmentId=function(){return wu(this,14)};g.setAttachmentId=function(a){Pb(this,14,a,void 0,Aj)};g.getPostmortemsList=function(){return Bj(this,35)};g.setPostmortemsList=function(a){Kk(this,35,a)};g.setFoundInVersion=function(a){Pb(this,19,a,void 0,Bj)};g.setTargetedToVersion=function(a){Pb(this,20,a,void 0,Bj)};g.setVerifiedInVersion=function(a){Pb(this,21,a,void 0,Bj)};
g.getInProd=function(){return Tl(this,22)};g.setInProd=function(a){k(this,22,a)};g.getHotlistIdList=function(){return Aj(this,23)};g.setHotlistIdList=function(a){sl(this,23,a)};g.getHotlistId=function(){return wu(this,23)};g.setHotlistId=function(a){Pb(this,23,a,void 0,Aj)};g.setCustomField=function(a,b){return ou(this,24,Jk,a,b)};g.getRetention=function(){return tk(this,42,0)};g.setRetention=function(a){k(this,42,a)};g.getIsDeleted=function(){return Tl(this,27)};
g.setIsDeleted=function(a){k(this,27,a)};g.getDeletionReason=function(){return tk(this,28,0)};g.setDeletionReason=function(a){k(this,28,a)};g.getSignificanceOverride=function(){return tk(this,29,0)};g.setSignificanceOverride=function(a){k(this,29,a)};g.getIsArchived=function(){return Tl(this,31)};g.setIsArchived=function(a){return k(this,31,a)};g.getComment=function(){return Dk(this,25)};g.setComment=function(a){k(this,25,a)};g.getFormattingMode=function(){return tk(this,45,0)};
g.setFormattingMode=function(a){return k(this,45,a)};g.getSloSnoozeUntil=function(){return Ok(this,vj,34)};g.setSloSnoozeUntil=function(a){gl(this,vj,34,a)};g.getSloSnoozeType=function(){return tk(this,52,0)};g.setSloSnoozeType=function(a){k(this,52,a)};g.getEffort=function(){return Ok(this,ul,50)};g.setEffort=function(a){gl(this,ul,50,a)};g.hasEffort=function(){return Hl(this,ul,50)};g.getAccessLimitLevel=function(){return tk(this,53,0)};var yTb=[40,51,14,16,17,18,35,19,20,21,23,24,30];var Bl=function(a){Y.call(this,a)};W(Bl,Y);g=Bl.prototype;g.getStarred=function(){return Tl(this,1)};g.setStarred=function(a){k(this,1,a)};g.getVoted=function(){return Tl(this,2)};g.setVoted=function(a){return k(this,2,a)};g.getNotificationSubscription=function(){return tk(this,4,0)};g.setNotificationSubscription=function(a){return k(this,4,a)};Bl.messageId="b.IssueUserData";var tE=function(a){Y.call(this,a)};W(tE,Y);g=tE.prototype;g.getIssueId=function(){return Ck(this,1)};g.setIssueId=function(a){return k(this,1,a)};g.getUpdateText=function(){return Dk(this,2)};g.setUpdateText=function(a){k(this,2,a)};g.getFormattingMode=function(){return tk(this,4,0)};g.setFormattingMode=function(a){return k(this,4,a)};g.getAuthor=function(){return Ok(this,ek,5)};g.setAuthor=function(a){gl(this,ek,5,a)};g.getUpdateTime=function(){return Ok(this,vj,6)};
g.setUpdateTime=function(a){gl(this,vj,6,a)};g.getVersion=function(){return zj(this,7)};g.setVersion=function(a){return k(this,7,a)};g.getVersionOrUndefined=function(){return tu(this,7)};g.getEntityStatus=function(){return Ok(this,qE,8)};g.hasEntityStatus=function(){return Hl(this,qE,8)};tE.messageId="b.StatusUpdate";var Al=function(a){Y.call(this,a,-1,zTb)};W(Al,Y);g=Al.prototype;g.getIssueId=function(){return Ck(this,1)};g.setIssueId=function(a){return k(this,1,a)};g.setSnapshot=function(a){ou(this,2,ql,a)};g.getUserData=function(){return Ok(this,Bl,3)};g.setUserData=function(a){gl(this,Bl,3,a)};g.getParentIssueIdsList=function(){return Aj(this,8)};g.setParentIssueIdsList=function(a){sl(this,8,a)};g.getAccessLimit=function(){return Ok(this,Xj,5)};g.setAccessLimit=function(a){return gl(this,Xj,5,a)};
g.getCustomFieldsList=function(){return yj(this,Pk,15)};g.setCustomFieldsList=function(a){ac(this,15,a)};g.getDescription=function(){return Ok(this,sE,16)};g.setDescription=function(a){return gl(this,sE,16,a)};g.hasDescription=function(){return Hl(this,sE,16)};g.getVisibleFieldsList=function(){return yj(this,Gk,6)};g.setVisibleFieldsList=function(a){ac(this,6,a)};g.getAncestorsMap=function(){return wDb(this,9,Gl)};g.getChildIssueCount=function(){return zj(this,10)};
g.setChildIssueCount=function(a){k(this,10,a)};g.getIsArchived=function(){return Tl(this,11)};g.setIsArchived=function(a){return k(this,11,a)};g.getRelatedLinksList=function(){return yj(this,oTb,12)};g.getTrackerId=function(){return Ck(this,13)};g.setTrackerId=function(a){k(this,13,a)};g.getStatusUpdate=function(){return Ok(this,tE,14)};g.hasStatusUpdate=function(){return Hl(this,tE,14)};var zTb=[2,8,15,6,12];var zl=function(a){Y.call(this,a)};W(zl,Y);g=zl.prototype;g.getIssueId=function(){return Ck(this,1)};g.setIssueId=function(a){return k(this,1,a)};g.getPosition=function(){return zj(this,2)};g.setPosition=function(a){return k(this,2,a)};g.getIssue=function(){return Ok(this,Al,3)};g.setIssue=function(a){gl(this,Al,3,a)};zl.messageId="b.HotlistIssue";var BTb=function(a){Y.call(this,a,-1,ATb)};W(BTb,Y);g=BTb.prototype;g.getSnapshot=function(){return Ok(this,ql,1)};g.setSnapshot=function(a){gl(this,ql,1,a)};g.getAttachmentsList=function(){return Ib(this,2,gb(this.internalArray_)&18?fba:gba)};g.setAttachmentsList=function(a){fn(this,2,a)};g.getAttachments=function(){return uDb(this,2)};g.getTemplateId=function(){return Ck(this,4)};g.setTemplateId=function(a){k(this,4,a)};g.getContentJudgement=function(){return Ok(this,Ek,5)};
g.setContentJudgement=function(a){return gl(this,Ek,5,a)};var ATb=[2,3];var Gpa=function(a){Y.call(this,a,-1,CTb)};W(Gpa,Y);g=Gpa.prototype;g.getIssueId=function(){return Ck(this,1)};g.setIssueId=function(a){return k(this,1,a)};g.setActionsList=function(a){ac(this,2,a)};g.getAttachmentsList=function(){return Ib(this,3,gb(this.internalArray_)&18?fba:gba)};g.setAttachmentsList=function(a){fn(this,3,a)};g.getAttachments=function(){return uDb(this,3)};g.getSignificanceOverride=function(){return Dk(this,4)};g.setSignificanceOverride=function(a){k(this,4,a)};var CTb=[2,3,5];var ETb=function(a){Y.call(this,a,-1,DTb)};W(ETb,Y);g=ETb.prototype;g.getCount=function(){return zj(this,2)};g.setCount=function(a){return k(this,2,a)};g.setS=function(a){k(this,3,a)};g.setP=function(a){return k(this,4,a)};g.getNextPageToken=function(){return Dk(this,5)};g.setTrackerIdsList=function(a){sl(this,6,a)};var DTb=[6];var Apa=function(a){Y.call(this,a)};W(Apa,Y);g=Apa.prototype;g.getIssueId=function(){return Ck(this,1)};g.setIssueId=function(a){return k(this,1,a)};g.getComponentId=function(){return Ck(this,2)};g.setComponentId=function(a){return k(this,2,a)};g.hasComponentId=function(){return Bk(this,2)};var ypa=function(a){Y.call(this,a)};W(ypa,Y);g=ypa.prototype;g.getIssueId=function(){return Ck(this,1)};g.setIssueId=function(a){return k(this,1,a)};g.getComponentId=function(){return Ck(this,2)};g.setComponentId=function(a){return k(this,2,a)};g.hasComponentId=function(){return Bk(this,2)};var Lpa=function(a){Y.call(this,a,-1,FTb)};W(Lpa,Y);g=Lpa.prototype;g.getIssueId=function(){return Ck(this,1)};g.setIssueId=function(a){return k(this,1,a)};g.getRelation=function(){return tk(this,3,0)};g.setRelation=function(a){k(this,3,a)};g.setActionType=function(a){k(this,4,a)};var FTb=[2];var xl=function(a){Y.call(this,a)};W(xl,Y);xl.prototype.getIssueId=function(){return Ck(this,1)};xl.prototype.setIssueId=function(a){return k(this,1,a)};xl.messageId="b.UnCcUserActionRequest";var uE=function(a){Y.call(this,a)};W(uE,Y);uE.prototype.getIssueId=function(){return Ck(this,1)};uE.prototype.setIssueId=function(a){return k(this,1,a)};uE.messageId="b.UndeleteIssueRequest";var vE=function(a){Y.call(this,a)};W(vE,Y);vE.prototype.getAccessLevel=function(){return tk(this,1,0)};vE.prototype.setAccessLevel=function(a){return k(this,1,a)};var wE=function(a){Y.call(this,a)};W(wE,Y);wE.prototype.getIssueId=function(){return Ck(this,1)};wE.prototype.setIssueId=function(a){return k(this,1,a)};wE.prototype.getIssueAccessLimit=function(){return Ok(this,vE,2)};wE.prototype.setIssueAccessLimit=function(a){gl(this,vE,2,a)};wE.messageId="b.UpdateIssueAccessLimitRequest";var yl=function(a){Y.call(this,a,-1,GTb)};W(yl,Y);yl.prototype.getSignificanceOverride=function(){return tk(this,4,0)};yl.prototype.setSignificanceOverride=function(a){k(this,4,a)};var GTb=[1,2];var Opa=function(a){Y.call(this,a)};W(Opa,Y);g=Opa.prototype;g.getIssueId=function(){return Ck(this,1)};g.setIssueId=function(a){return k(this,1,a)};g.getRetention=function(){return tk(this,2,0)};g.setRetention=function(a){k(this,2,a)};g.getSignificanceOverride=function(){return tk(this,3,0)};g.setSignificanceOverride=function(a){k(this,3,a)};var Ll=function(a){Y.call(this,a)};W(Ll,Y);Ll.prototype.getContentJudgement=function(){return Ok(this,Ek,2)};Ll.prototype.setContentJudgement=function(a){return gl(this,Ek,2,a)};var ITb=function(a){Y.call(this,a,-1,HTb)};W(ITb,Y);ITb.prototype.getIssueId=function(){return Ck(this,1)};ITb.prototype.setIssueId=function(a){return k(this,1,a)};var HTb=[3];var JTb=function(a){Y.call(this,a)};W(JTb,Y);g=JTb.prototype;g.getFilename=function(){return Dk(this,1)};g.setFilename=function(a){k(this,1,a)};g.getMimeType=function(){return Dk(this,2)};g.setMimeType=function(a){k(this,2,a)};g.getSize=function(){return ol(this,5)};g.setSize=function(a){return k(this,5,a)};var Ol=function(a){Y.call(this,a)};W(Ol,Y);Ol.prototype.getTeamId=function(){return ol(this,1)};Ol.prototype.setTeamId=function(a){return Tb(this,1,a)};Ol.prototype.getScore=function(){return pl(this,2)};Ol.prototype.setScore=function(a){Nb(this,2,sb(a),0)};var Nl=function(a){Y.call(this,a)};W(Nl,Y);Nl.prototype.getInherit=function(){return Tl(this,1)};Nl.prototype.setInherit=function(a){return k(this,1,a)};Nl.prototype.getId=function(){return Ck(this,2)};Nl.prototype.setId=function(a){return k(this,2,a)};var xE=function(a){Y.call(this,a)};W(xE,Y);xE.prototype.getUser=function(){return Ok(this,ek,1)};xE.prototype.setUser=function(a){gl(this,ek,1,a)};xE.prototype.hasUser=function(){return Hl(this,ek,1)};var Tt=function(a){Y.call(this,a)};W(Tt,Y);g=Tt.prototype;g.getInherit=function(){return Tl(this,1)};g.setInherit=function(a){return k(this,1,a)};g.getSloId=function(){return Ck(this,2)};g.setSloId=function(a){return k(this,2,a)};g.getComment=function(){return Dk(this,3)};g.setComment=function(a){k(this,3,a)};g.getSourceTeamId=function(){return Ck(this,4)};g.setSourceTeamId=function(a){k(this,4,a)};var yE=function(a){Y.call(this,a,-1,KTb)};W(yE,Y);g=yE.prototype;g.getTeamId=function(){return Ck(this,1)};g.setTeamId=function(a){return k(this,1,a)};g.getVersion=function(){return zj(this,2)};g.setVersion=function(a){return k(this,2,a)};g.getVersionOrUndefined=function(){return tu(this,2)};g.getName=function(){return Dk(this,3)};g.setName=function(a){return k(this,3,a)};g.hasName=function(){return Am(this,3)};g.getNameOrUndefined=function(){return yu(this,3)};
g.getDescription=function(){return Dk(this,4)};g.setDescription=function(a){return k(this,4,a)};g.hasDescription=function(){return Am(this,4)};g.getPathNamesList=function(){return Bj(this,5)};g.getPathIdsList=function(){return Ib(this,10,wb)};g.getMembersList=function(){return yj(this,xE,7)};g.getDeleted=function(){return Tl(this,8)};g.getSlo=function(){return Ok(this,Tt,11)};g.setSlo=function(a){gl(this,Tt,11,a)};g.hasSlo=function(){return Hl(this,Tt,11)};var KTb=[5,10,6,7];yE.messageId="b.TeamState";var MTb=function(a){Y.call(this,a,-1,LTb)};W(MTb,Y);g=MTb.prototype;g.getPathIdsList=function(){return Aj(this,1)};g.getPathNamesList=function(){return Bj(this,2)};g.getId=function(){return Ck(this,3)};g.setId=function(a){return k(this,3,a)};g.getName=function(){return Dk(this,4)};g.setName=function(a){return k(this,4,a)};g.hasName=function(){return Am(this,4)};g.getNameOrUndefined=function(){return yu(this,4)};g.getDescription=function(){return Dk(this,5)};
g.setDescription=function(a){return k(this,5,a)};g.hasDescription=function(){return Am(this,5)};var LTb=[1,2];var NTb=function(a){Y.call(this,a)};W(NTb,Y);g=NTb.prototype;g.getId=function(){return Ck(this,1)};g.setId=function(a){return k(this,1,a)};g.getName=function(){return Dk(this,2)};g.setName=function(a){return k(this,2,a)};g.hasName=function(){return Am(this,2)};g.getNameOrUndefined=function(){return yu(this,2)};g.getDescription=function(){return Dk(this,3)};g.setDescription=function(a){return k(this,3,a)};g.hasDescription=function(){return Am(this,3)};var Pl=function(a){Y.call(this,a,-1,OTb)};W(Pl,Y);var OTb=[1,2,4];var Vl=function(a){Y.call(this,a,-1,PTb)};W(Vl,Y);g=Vl.prototype;g.getComponentId=function(){return Ck(this,1)};g.setComponentId=function(a){return k(this,1,a)};g.hasComponentId=function(){return Bk(this,1)};g.getName=function(){return Dk(this,3)};g.setName=function(a){return k(this,3,a)};g.hasName=function(){return Am(this,3)};g.getNameOrUndefined=function(){return yu(this,3)};g.getDescription=function(){return Dk(this,4)};g.setDescription=function(a){return k(this,4,a)};
g.hasDescription=function(){return Am(this,4)};g.getArchived=function(){return Tl(this,5)};g.setArchived=function(a){k(this,5,a)};g.getCustomFieldId=function(){return wu(this,7)};g.setCustomFieldId=function(a){return Pb(this,7,a,void 0,Aj)};g.getHotlistIdList=function(){return Aj(this,8)};g.setHotlistIdList=function(a){sl(this,8,a)};g.getHotlistId=function(){return wu(this,8)};g.setHotlistId=function(a){Pb(this,8,a,void 0,Aj)};g.getTemplateId=function(){return wu(this,9)};
g.setTemplateId=function(a){Pb(this,9,a,void 0,Aj)};g.getAccessLimit=function(){return Ok(this,Xj,12)};g.setAccessLimit=function(a){return gl(this,Xj,12,a)};g.setCommentEditState=function(a){return k(this,15,a)};g.getSloId=function(){return Ck(this,16)};g.setSloId=function(a){return k(this,16,a)};g.getSlo=function(){return Ok(this,al,19)};g.setSlo=function(a){gl(this,al,19,a)};g.hasSlo=function(){return Hl(this,al,19)};g.getRetentionSettings=function(){return Ok(this,Xk,21)};
g.setRetentionSettings=function(a){gl(this,Xk,21,a)};g.hasRetentionSettings=function(){return Hl(this,Xk,21)};g.getTeam=function(){return Ok(this,Nl,22)};g.setTeam=function(a){gl(this,Nl,22,a)};g.hasTeam=function(){return Hl(this,Nl,22)};g.getEffortSpec=function(){return Ok(this,Rk,24)};g.getTeamSuggestionsList=function(){return yj(this,Ol,25)};g.setTeamSuggestionsList=function(a){ac(this,25,a)};g.getTrackerId=function(){return Ck(this,26)};g.setTrackerId=function(a){k(this,26,a)};
var PTb=[6,7,8,9,25];Vl.messageId="b.Component";var Xl=function(a){Y.call(this,a)};W(Xl,Y);g=Xl.prototype;g.getTemplateId=function(){return ol(this,1)};g.setTemplateId=function(a){k(this,1,a)};g.getComponentId=function(){return Ck(this,2)};g.setComponentId=function(a){return k(this,2,a)};g.hasComponentId=function(){return Bk(this,2)};g.getDefault=function(){return Tl(this,6)};g.setDefault=function(a){k(this,6,a)};g.getName=function(){return Dk(this,3)};g.setName=function(a){return k(this,3,a)};g.hasName=function(){return Am(this,3)};
g.getNameOrUndefined=function(){return yu(this,3)};g.getDescription=function(){return Dk(this,4)};g.setDescription=function(a){return k(this,4,a)};g.hasDescription=function(){return Am(this,4)};g.getSnapshot=function(){return Ok(this,ql,5)};g.setSnapshot=function(a){gl(this,ql,5,a)};var zE=function(a){Y.call(this,a)};W(zE,Y);zE.prototype.getSlo=function(){return Ok(this,al,1)};zE.prototype.setSlo=function(a){gl(this,al,1,a)};zE.prototype.hasSlo=function(){return Hl(this,al,1)};zE.messageId="b.UpdateComponentSloRequest";var AE=function(a){Y.call(this,a)};W(AE,Y);AE.prototype.getTeam=function(){return Ok(this,Nl,1)};AE.prototype.setTeam=function(a){gl(this,Nl,1,a)};AE.prototype.hasTeam=function(){return Hl(this,Nl,1)};AE.messageId="b.UpdateComponentTeamRequest";var rm=function(a){Y.call(this,a,-1,QTb)};W(rm,Y);rm.prototype.setActionsList=function(a){ac(this,1,a)};rm.prototype.getIssueIdsList=function(){return Aj(this,2)};rm.prototype.setIssueIdsList=function(a){return sl(this,2,a)};rm.prototype.addIssueIds=function(a){Ob(this,2,a)};var QTb=[1,2];var STb=function(a){Y.call(this,a,-1,RTb)};W(STb,Y);STb.prototype.getSignificanceOverride=function(){return Dk(this,3)};STb.prototype.setSignificanceOverride=function(a){k(this,3,a)};var RTb=[4];var ura=function(a){Y.call(this,a)};W(ura,Y);var TTb=function(a){return"action/issues/"+a+"/statusUpdate"},Ht={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"},UTb={ISSUE_ID:"issueId",COMPONENT_ID:"componentId",GROUP_ID:"groupId",HOTLIST_ID:"hotlistId",SAVED_SEARCH_ID:"savedSearchId",SLO_ID:"sloId",TEAM_ID:"teamId"};var zm=function(a){Y.call(this,a)};W(zm,Y);zm.prototype.getLogoUrl=function(){return Dk(this,1)};zm.prototype.getTheme=function(){return tk(this,2,0)};zm.prototype.setTheme=function(a){return k(this,2,a)};zm.messageId="b.Branding";var qn=function(a){Y.call(this,a,-1,VTb)};W(qn,Y);g=qn.prototype;g.getTrackerId=function(){return Ck(this,1)};g.setTrackerId=function(a){k(this,1,a)};g.getComponentId=function(){return Ck(this,2)};g.setComponentId=function(a){return k(this,2,a)};g.hasComponentId=function(){return Bk(this,2)};g.getName=function(){return Dk(this,3)};g.setName=function(a){return k(this,3,a)};g.hasName=function(){return Am(this,3)};g.getNameOrUndefined=function(){return yu(this,3)};var VTb=[4];qn.messageId="b.Tracker";var Cm={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"},WTb={},XTb=(WTb[3]="LITERAL_FORMATTING_MODE",WTb[1]="PLAIN_FORMATTING_MODE",WTb[2]="MARKDOWN_FORMATTING_MODE",WTb),YTb=XTb[2],ZTb=XTb[1],BE={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 Em=function(a){this.type=a.type;this.customFieldId=a.customFieldId||void 0;this.customFieldName=a.customFieldName||void 0};Em.prototype.isCustomField=function(){return"CUSTOM_FIELD"===this.type};Em.prototype.toApiUrlParam=function(){return this.isCustomField()?this.type.toLowerCase()+"."+this.customFieldId:this.type.toLowerCase()};Em.prototype.toString=function(){return this.toApiUrlParam()};var Im=function(a,b){this.fieldId=a;this.direction=b};Im.prototype.toApiUrlParam=function(){return this.fieldId.toApiUrlParam()+":"+("ASCENDING"===this.direction?"asc":"desc")};Im.prototype.toString=function(){return this.toApiUrlParam()};var Rm=function(a){Y.call(this,a)};W(Rm,Y);var Wm=function(a){Y.call(this,a)};W(Wm,Y);var gn=function(a){Y.call(this,a)};W(gn,Y);g=gn.prototype;g.getType=function(){return tk(this,1,1)};g.setType=function(a){return k(this,1,a)};g.hasType=function(){return nl(this,1)};g.getCustomFieldId=function(){return ol(this,2)};g.setCustomFieldId=function(a){return k(this,2,a)};g.hasCustomFieldId=function(){return Tm(this,2)};var dn=function(a){Y.call(this,a)};W(dn,Y);dn.prototype.getTimeZone=function(){return Dk(this,5)};dn.prototype.setTimeZone=function(a){return k(this,5,a)};dn.prototype.hasTimeZone=function(){return Am(this,5)};var $m=function(a){Y.call(this,a,-1,$Tb)};W($m,Y);$m.prototype.getColumnList=function(){return yj(this,gn,1)};$m.prototype.setColumnList=function(a){return ac(this,1,a)};$m.prototype.setColumn=function(a){return ou(this,1,gn,a)};var $Tb=[1];var cn=function(a){Y.call(this,a)};W(cn,Y);var Nm=function(a){Y.call(this,a)};W(Nm,Y);var jn=function(a){Y.call(this,a)};W(jn,Y);jn.prototype.getColumn=function(){return Ok(this,gn,1)};jn.prototype.setColumn=function(a){return gl(this,gn,1,a)};var an=function(a){Y.call(this,a,-1,aUb)};W(an,Y);an.prototype.getColumnList=function(){return yj(this,jn,1)};an.prototype.setColumnList=function(a){return ac(this,1,a)};an.prototype.setColumn=function(a){return ou(this,1,jn,a)};var aUb=[1];var Om=function(a){Y.call(this,a)};W(Om,Y);Om.prototype.getDensity=function(){return tk(this,1,1)};Om.prototype.setDensity=function(a){return k(this,1,a)};var Sm=function(a){Y.call(this,a)};W(Sm,Y);var en=function(a){Y.call(this,a)};W(en,Y);g=en.prototype;g.getResourceType=function(){return tk(this,1,1)};g.setResourceType=function(a){k(this,1,a)};g.hasResourceType=function(){return nl(this,1)};g.getResourceId=function(){return Ck(this,2)};g.setResourceId=function(a){k(this,2,a)};g.hasResourceId=function(){return Bk(this,2)};var Pm=function(a){Y.call(this,a)};W(Pm,Y);var Xm=function(a){Y.call(this,a,-1,bUb)};W(Xm,Y);var bUb=[1];var Lm=function(a){Y.call(this,a)};W(Lm,Y);var Vm=function(a){Y.call(this,a)};W(Vm,Y);Vm.prototype.getComponentId=function(){return ol(this,1)};Vm.prototype.setComponentId=function(a){return k(this,1,a)};Vm.prototype.hasComponentId=function(){return Tm(this,1)};var Um=function(a){Y.call(this,a,-1,cUb)};W(Um,Y);var qra=function(a,b){ac(a,1,b)},cUb=[1];var Qm=function(a){Y.call(this,a)};W(Qm,Y);var Zm=function(a){Y.call(this,a)};W(Zm,Y);g=Zm.prototype;g.getDisplayColumns=function(){return Ok(this,$m,4)};g.getSortColumns=function(){return Ok(this,an,6)};g.getLayoutPreferences=function(){return Ok(this,cn,10)};g.getDateTimePreferences=function(){return Ok(this,dn,11)};g.getHomepagePreferences=function(){return Ok(this,en,13)};g.clearHomepagePreferences=function(){return qu(this,13)};g.getShowInlineImages=function(){return Tl(this,29)};var ln=function(a){Y.call(this,a,-1,dUb)};W(ln,Y);g=ln.prototype;g.getAnalyticsId=function(){return Dk(this,1)};g.getAppName=function(){return Dk(this,2)};g.getDocumentationBaseUrl=function(){return Dk(this,3)};g.getEnvironmentType=function(){return Dk(this,5)};g.getMaxAccurateSearchResults=function(){return zj(this,6)};g.getOnePickUrl=function(){return Dk(this,7)};g.getOnePickSecretToken=function(){return Dk(this,12)};g.getCommentNumberLimit=function(){return zj(this,8)};
g.getCreateComponentRedirectDelay=function(){return pl(this,9)};g.getCreateRestrictedSubresourcesComponentWhitelist=function(){return sDb(this,13)};g.getCollaboratorsComponentAllowlist=function(){return sDb(this,17)};g.getIssueAccessLimitsComponentAllowlist=function(){return sDb(this,18)};g.getCollaboratorsComponentDenylist=function(){return sDb(this,19)};var dUb=[10,13,17,18,19];var nn=function(a){Y.call(this,a)};W(nn,Y);g=nn.prototype;g.getEmail=function(){return Dk(this,1)};g.setEmail=function(a){return k(this,1,a)};g.hasEmail=function(){return Am(this,1)};g.getSessionIdentifier=function(){return Dk(this,3)};g.getUserTypeLabel=function(){return Dk(this,5)};var on=function(a){Y.call(this,a,-1,eUb)};W(on,Y);on.prototype.getId=function(){return Dk(this,1)};on.prototype.setId=function(a){return k(this,1,a)};var eUb=[2,4];on.messageId="b.TimeZoneData";var pn=function(a){Y.call(this,a,-1,fUb)};W(pn,Y);pn.prototype.getMessage=function(){return Dk(this,1)};pn.prototype.setMessage=function(a){k(this,1,a)};pn.prototype.getTagsList=function(){return Bj(this,4)};pn.prototype.getTags=function(a){return xu(this,4,a)};var fUb=[4];pn.messageId="b.Announcement";var mn=function(a){Y.call(this,a,-1,gUb)};W(mn,Y);mn.prototype.getAnnouncement=function(){return Ok(this,pn,2)};var gUb=[1];var sra=function(a){Y.call(this,a)};W(sra,Y);g=sra.prototype;g.getUser=function(){return Ok(this,nn,1)};g.setUser=function(a){gl(this,nn,1,a)};g.hasUser=function(){return Hl(this,nn,1)};g.getConfig=function(){return Ok(this,ln,2)};g.getXsrfToken=function(){return Dk(this,3)};g.getCspNonce=function(){return Dk(this,8)};g.getFrontendAccessMode=function(){return Dk(this,4)};g.getMustAcknowledgeTerms=function(){return Tl(this,5)};g.getShowNewFeaturesDialog=function(){return Tl(this,6)};
g.getUserPreferences=function(){return Ok(this,Zm,7)};g.getAppBaseHref=function(){return Dk(this,10)};g.getTracker=function(){return Ok(this,qn,11)};g.getPassiveLoginIframeUrl=function(){return Ok(this,ura,12)};var tra=window,kn;var Vt=function(){this.session=rn();this.tracker=this.session.tracker||void 0};Vt.prototype.getAppBaseHref=function(){return this.session.appBaseHref};Vt.prototype.getFrontendAccessMode=function(){return this.session.frontendAccessMode||"INTERNAL"};Vt.prototype.isExternalSession=function(){return"INTERNAL"!==this.getFrontendAccessMode()};Vt.prototype.isInternalSession=function(){return"INTERNAL"===this.getFrontendAccessMode()};
var hUb=function(a){return"PARTNER"===a.getFrontendAccessMode()},CE=function(a){return"PUBLIC"===a.getFrontendAccessMode()};Vt.prototype.isNonPublicSession=function(){return"PUBLIC"!==this.getFrontendAccessMode()};var DE=function(a,b){return!!a.session.config.enabledFlags.get(b)};g=Vt.prototype;g.isAnonymous=function(){return this.session.user.anonymous};g.getUserEmail=function(){return this.session.user.email||""};g.getSessionIdentifier=function(){return this.session.user.sessionIdentifier||"0"};
g.getTracker=function(){return this.tracker};g.getPassiveLoginIframeUrl=function(){return this.session.passiveLoginIframeUrl};g.getMustAcknowledgeTerms=function(){return this.session.mustAcknowledgeTerms};g.getShowNewFeaturesDialog=function(){return this.session.showNewFeaturesDialog};g.getEnvironmentType=function(){return this.session.config.environmentType||"QA"};
var zCa=function(a){a=a.getEnvironmentType();switch(a){case "QA":case "DEV":return!1;case "NIGHTLY":case "PROD":return!0;default:jj(a,"Unknown environment type.")}};g=Vt.prototype;g.getAppBaseUrl=function(a){return(void 0===a?0:a)||!this.isInternalSession()?zCa(this)?"https://issuetracker.google.com/":"https://issuetracker.sandbox.google.com/":zCa(this)?"http://b/":"http://b-qa/"};g.getOnePickUrl=function(){return this.session.config.onePickUrl};g.getAppName=function(){return this.session.config.appName};
g.getCommentNumberLimit=function(){return this.session.config.commentNumberLimit};g.getCreateComponentRedirectDelay=function(){return this.session.config.createComponentRedirectDelay};g.getDocumentationBaseUrl=function(){return this.session.config.documentationBaseUrl};g.getMaxAccurateSearchResults=function(){return this.session.config.maxAccurateSearchResults};g.getAnalyticsId=function(){return this.session.config.analyticsId};g.getUserPreferences=function(){return this.session.userPreferences};
g.getXsrfToken=function(){return this.session.xsrfToken};g.getOnePickSecretToken=function(){return this.session.config.onePickSecretToken};g.getCreateRestrictedSubresourcesComponentWhitelist=function(){return this.session.config.createRestrictedSubresourcesComponentWhitelist};g.getCollaboratorsComponentAllowlist=function(){return this.session.config.collaboratorsComponentAllowlist};g.getCollaboratorsComponentDenylist=function(){return this.session.config.collaboratorsComponentDenylist};
g.getIssueAccessLimitsComponentAllowlist=function(){return this.session.config.issueAccessLimitsComponentAllowlist};g.getCspNonce=function(){return this.session.cspNonce};g.getAnnouncement=function(){return this.session.preload.announcement};g.getUserTypeLabel=function(){return this.session.user.userTypeLabel||"UNKNOWN"};Vt.\u0275fac=function(a){return new (a||Vt)};Vt.\u0275prov=Vc({token:Vt,factory:Vt.\u0275fac,providedIn:"root"});var EE=new Bd("buganizerWindow",{factory:function(){return window}});var Z=function(){this.destroyed$=new C.ReplaySubject(1);this.subscriptions=new C.Subscription};Z.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete();this.subscriptions.unsubscribe()};Z.\u0275fac=function(a){return new (a||Z)};Z.\u0275dir=qd({type:Z});var FE=function(a,b){Z.call(this);this.$window=a;this.activeSession=b;this.enableTrackers=DE(this.activeSession,"enableTrackers");a=C.BehaviorSubject;if(this.enableTrackers){var c;b=null!=(c=this.$window.sessionStorage.getItem("buganizer.current_tracker_id"))?c:""}else b="";this.trackerId$=new a(b);this.enableTrackers&&(c=(c=this.activeSession.getTracker())?c.trackerId:void 0)&&this.setTrackerId(c)};W(FE,Z);FE.\u0275dir=Z.\u0275dir;
FE.prototype.setTrackerId=function(a){this.trackerId$.next(a);this.$window.sessionStorage.setItem("buganizer.current_tracker_id",a)};FE.prototype.getTrackerId=function(){return this.trackerId$.value};FE.\u0275fac=function(a){return new (a||FE)(n(EE),n(Vt))};FE.\u0275prov=Vc({token:FE,factory:FE.\u0275fac,providedIn:"root"});var GE=function(a){Y.call(this,a)};W(GE,Y);GE.messageId="f.mt";var HE=function(a){Y.call(this,a,-1,iUb)};W(HE,Y);HE.prototype.setIdsList=function(a){sl(this,2,a)};HE.prototype.getIds=function(){return wu(this,2)};HE.prototype.setIds=function(a){return Pb(this,2,a,void 0,Aj)};var iUb=[2];HE.messageId="b.BatchGetIssuesRequest";var kUb=function(a){Y.call(this,a,-1,jUb)};W(kUb,Y);kUb.prototype.getIssuesList=function(){return yj(this,Al,1)};var jUb=[1];kUb.messageId="b.BatchGetIssuesResponse";var sm=function(a){Y.call(this,a)};W(sm,Y);sm.prototype.getIssueId=function(){return Ck(this,1)};sm.prototype.setIssueId=function(a){return k(this,1,a)};sm.prototype.getMessage=function(){return Dk(this,2)};sm.prototype.setMessage=function(a){k(this,2,a)};var mUb=function(a){Y.call(this,a,-1,lUb)};W(mUb,Y);mUb.prototype.setErrors=function(a,b){ou(this,2,sm,a,b)};var lUb=[2];mUb.messageId="b.BulkEditResponse";var IE=function(a){Y.call(this,a,-1,nUb)};W(IE,Y);IE.prototype.getReadersList=function(){return yj(this,qk,1)};IE.prototype.setReadersList=function(a){ac(this,1,a)};IE.prototype.getAppendersList=function(){return yj(this,qk,2)};IE.prototype.setAppendersList=function(a){ac(this,2,a)};var nUb=[1,2,3];IE.messageId="b.GetRetainedAccessPrincipalsResponse";var JE=function(a){Y.call(this,a)};W(JE,Y);JE.prototype.getIssueId=function(){return Ck(this,1)};JE.prototype.setIssueId=function(a){return k(this,1,a)};JE.messageId="b.IssueCreateResponse";var oUb=function(a){Y.call(this,a)};W(oUb,Y);var Vpa=function(a){Y.call(this,a,-1,pUb)};W(Vpa,Y);g=Vpa.prototype;g.getContentType=function(){return Db(this,1)};g.getTimestamp=function(){return Db(this,2)};g.setTimestamp=function(a){return k(this,2,a)};g.hasTimestamp=function(){return null!=Db(this,2)};g.getToken=function(){return Db(this,3)};g.setToken=function(a){return k(this,3,a)};g.getLength=function(){return Db(this,4)};g.getFilename=function(){return Db(this,5)};g.setFilename=function(a){k(this,5,a)};
g.getPath=function(){return Db(this,7)};g.setPath=function(a){return k(this,7,a)};g.hasPath=function(){return Am(this,7)};g.getHash=function(){return Db(this,11)};g.setHash=function(a){return k(this,11,a)};g.getObjectId=function(){return Ok(this,oUb,15)};g.setObjectId=function(a){gl(this,oUb,15,a)};var pUb=[13];var KE=function(a){Y.call(this,a)};W(KE,Y);g=KE.prototype;g.getAttachmentId=function(){return Ck(this,1)};g.setAttachmentId=function(a){k(this,1,a)};g.getDescription=function(){return Dk(this,2)};g.setDescription=function(a){return k(this,2,a)};g.hasDescription=function(){return Am(this,2)};g.getContentType=function(){return Dk(this,4)};g.getFilename=function(){return Dk(this,5)};g.setFilename=function(a){k(this,5,a)};g.getLength=function(){return ol(this,6)};g.getEtag=function(){return Dk(this,8)};
g.setEtag=function(a){k(this,8,a)};g.hasEtag=function(){return Am(this,8)};g.getContentVerdict=function(){return Ok(this,om,9)};g.getEntityStatus=function(){return Ok(this,qE,10)};g.hasEntityStatus=function(){return Hl(this,qE,10)};g.getPiiRetentionState=function(){return Ok(this,Dl,12)};g.getPiiRetention=function(){return tk(this,13,0)};g.setPiiRetention=function(a){return k(this,13,a)};g.hasPiiRetention=function(){return nl(this,13)};KE.messageId="b.Attachment";var dm=function(a){Y.call(this,a)};W(dm,Y);g=dm.prototype;g.getOldValue=function(){return Dk(this,1)};g.getNewValue=function(){return Dk(this,2)};g.getCustomFieldId=function(){return ol(this,3)};g.setCustomFieldId=function(a){return k(this,3,a)};g.hasCustomFieldId=function(){return Tm(this,3)};var LE=function(a){Y.call(this,a)};W(LE,Y);LE.prototype.getHref=function(){return Dk(this,1)};LE.prototype.getValue=function(){return Dk(this,2)};LE.prototype.setValue=function(a){return k(this,2,a)};LE.prototype.hasValue=function(){return Am(this,2)};var gm=function(a){Y.call(this,a,-1,qUb)};W(gm,Y);gm.prototype.getAddedList=function(){return yj(this,LE,1)};gm.prototype.getRemovedList=function(){return yj(this,LE,2)};var qUb=[1,2];var cm=function(a){Y.call(this,a)};W(cm,Y);cm.prototype.getOldValue=function(){return Dk(this,1)};cm.prototype.getNewValue=function(){return Dk(this,2)};var oqa=function(a){Y.call(this,a)};W(oqa,Y);var $l=function(a){Y.call(this,a)};W($l,Y);var bm=[1,2];var hm=function(a){Y.call(this,a)};W(hm,Y);hm.prototype.getEntityStatus=function(){return Ok(this,qE,1)};hm.prototype.hasEntityStatus=function(){return Hl(this,qE,1)};var fm=function(a){Y.call(this,a,-1,rUb)};W(fm,Y);fm.prototype.getAddedList=function(){return Bj(this,1)};fm.prototype.getRemovedList=function(){return Bj(this,2)};var rUb=[1,2];var em=function(a){Y.call(this,a,-1,sUb)};W(em,Y);em.prototype.getAddedList=function(){return yj(this,ek,1)};em.prototype.getRemovedList=function(){return yj(this,ek,2)};var sUb=[1,2];var nm=function(a){Y.call(this,a)};W(nm,Y);g=nm.prototype;g.getName=function(){return Dk(this,1)};g.setName=function(a){return k(this,1,a)};g.hasName=function(){return Am(this,1)};g.getNameOrUndefined=function(){return yu(this,1)};g.getDisplayName=function(){return Dk(this,2)};g.setDisplayName=function(a){return k(this,2,a)};g.getType=function(){return tk(this,3,0)};g.setType=function(a){return k(this,3,a)};g.hasType=function(){return nl(this,3)};g.getTimestamp=function(){return Ok(this,vj,4)};
g.setTimestamp=function(a){return gl(this,vj,4,a)};g.hasTimestamp=function(){return Hl(this,vj,4)};var am=[6,7,8,9,10,11];nm.messageId="b.EventDiff";var uqa=function(a){Y.call(this,a)};W(uqa,Y);uqa.prototype.getTag=function(){return Dk(this,1)};var pm=function(a){Y.call(this,a,-1,tUb)};W(pm,Y);g=pm.prototype;g.getComment=function(){return Ok(this,sE,6)};g.setComment=function(a){gl(this,sE,6,a)};g.getAttachmentsList=function(){return yj(this,KE,10)};g.setAttachmentsList=function(a){ac(this,10,a)};g.getVersion=function(){return ol(this,7)};g.setVersion=function(a){return k(this,7,a)};g.getVersionOrUndefined=function(){return uu(this,7)};g.getStatusUpdate=function(){return Ok(this,tE,13)};g.hasStatusUpdate=function(){return Hl(this,tE,13)};
var tUb=[2,3,10,9];pm.messageId="b.IssueEvent";var No=function(a){Y.call(this,a)};W(No,Y);No.prototype.getIssue=function(){return Ok(this,Al,1)};No.prototype.setIssue=function(a){gl(this,Al,1,a)};No.messageId="b.IssueFetchResponse";var ME=function(a){Y.call(this,a,-1,uUb)};W(ME,Y);ME.prototype.getIssuesList=function(){return yj(this,Al,1)};ME.prototype.getNumTotalResults=function(){return zj(this,2)};ME.prototype.getComponentsMap=function(){return Yl(this,3,Vl)};ME.prototype.getNextPageToken=function(){return Dk(this,5)};var uUb=[1];ME.messageId="b.IssueSearchResponse";var wUb=function(a){Y.call(this,a,-1,vUb)};W(wUb,Y);var vUb=[1];wUb.messageId="b.ListIssueEventsResponse";var NE=function(a){Y.call(this,a)};W(NE,Y);g=NE.prototype;g.getIssueId=function(){return Ck(this,1)};g.setIssueId=function(a){return k(this,1,a)};g.getStatus=function(){return tk(this,2,0)};g.setStatus=function(a){return k(this,2,a)};g.hasStatus=function(){return nl(this,2)};g.getTitle=function(){return Dk(this,3)};g.setTitle=function(a){return k(this,3,a)};g.getVersion=function(){return zj(this,4)};g.setVersion=function(a){return k(this,4,a)};g.getVersionOrUndefined=function(){return tu(this,4)};
g.getIsArchived=function(){return Tl(this,5)};g.setIsArchived=function(a){return k(this,5,a)};var OE=function(a){Y.call(this,a,-1,xUb)};W(OE,Y);OE.prototype.getIssueDigestsList=function(){return yj(this,NE,1)};OE.prototype.getNumTotalResults=function(){return ol(this,2)};var xUb=[1];OE.messageId="b.RelatedIssuesResponse";var PE=function(){},QE=function(a,b){this.executor=a;this.currentTrackerId=b};g=QE.prototype;g.createIssue=function(a){var b=new BTb;b.setSnapshot(upa(a.snapshot));a.attachments&&b.setAttachmentsList(a.attachments);a.templateId&&b.setTemplateId(String(a.templateId));a.contentJudgement&&b.setContentJudgement(roa(a.contentJudgement));var c={};a.recaptchaToken&&(c["G-Recaptcha-Response-Token"]=a.recaptchaToken);return this.executor.post({url:"action/issues",body:b,options:{headers:c},responseConstructor:JE}).pipe(B(Qpa))};
g.getIssue=function(a){var b={},c=this.currentTrackerId.getTrackerId();c&&(b.currentTrackerId=c);return this.executor.get({url:"action/issues/"+a,options:{params:b},responseConstructor:No}).pipe(B(function(d){return qm(d)}))};g.batchGetIssues=function(a){var b=new HE;b.setIdsList(a);return this.executor.post({url:"action/issues/batch",body:b,responseConstructor:kUb}).pipe(B(function(c){return c.getIssuesList().map(function(d){return lm(d)})}))};
g.updateIssue=function(a,b){b=Hpa(b);return this.executor.post({url:"action/issues/"+a,body:b,responseConstructor:No}).pipe(B(function(c){return qm(c)}))};g.moveIssueExternal=function(a,b){b=Bpa(b);return this.executor.post({url:"action/issues/"+a+"/external_move",body:b,responseConstructor:No}).pipe(B(function(c){return qm(c)}))};g.moveIssue=function(a,b){b=zpa(b);return this.executor.post({url:"action/issues/"+a+"/move",body:b,responseConstructor:No}).pipe(B(function(c){return qm(c)}))};
g.unCcUser=function(a){var b=xpa(a);return this.executor.post({url:"action/issues/"+a+"/unccuser",body:b,responseConstructor:No}).pipe(B(function(c){return qm(c)}))};g.updateAccessLimit=function(a,b){var c=(new wE).setIssueId(a);b&&(b=tpa[b])&&(b=(new vE).setAccessLevel(b),c.setIssueAccessLimit(b));return this.executor.post({url:"action/issues/"+a+"/accessLimit",body:c,responseConstructor:GE})};
g.getRetainedAccessPrincipals=function(a,b){b=wpa(a,b);return this.executor.post({url:"action/issues/"+a+"/retainedAccessPrincipals",body:b,responseConstructor:IE}).pipe(B(function(c){var d,e,f;return{readers:uk(null!=(d=c.getReadersList())?d:[]),appenders:uk(null!=(e=c.getAppendersList())?e:[]),writers:uk(null!=(f=yj(c,qk,3))?f:[])}}))};g.relateIssue=function(a,b){b=Npa(b);return this.executor.post({url:"action/issues/"+a+"/relate",body:b,responseConstructor:No}).pipe(B(function(c){return qm(c)}))};
g.updateIssueHotlists=function(a,b){b=Jpa(b);return this.executor.post({url:"action/issues/"+a+"/hotlists",body:b,responseConstructor:No}).pipe(B(function(c){return qm(c)}))};g.updateIssueRetention=function(a,b){b=Ppa(b);return this.executor.post({url:"action/issues/"+a+"/update_retention",body:b,responseConstructor:No}).pipe(B(function(c){return qm(c)}))};
g.listIssues=function(a,b){b=void 0===b?{}:b;var c=new ETb;k(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:ME}).pipe(B(Lqa))};
g.issueBulkEdit=function(a,b){var c={};b&&(c["G-Recaptcha-Response-Token"]=b);b=new STb;var d=a.bulkEditOps.map(zqa);ac(b,4,d);a.significanceOverride&&b.setSignificanceOverride(a.significanceOverride);return this.executor.post({url:"action/issues/bulk_edit",body:b,responseConstructor:mUb,options:{headers:c}}).pipe(B(Bqa))};
g.getRelatedIssues=function(a){var b={};a.q&&(b.q=a.q);a.s&&(b.s=a.s);a.count&&(b.count=String(a.count));a.p&&(b.p=String(a.p));a.trackerId&&(b.trackerId=a.trackerId);var c="action/related";a.resourceType&&(c+="/"+a.resourceType,a.resourceId&&(c+="/"+a.resourceId));return this.executor.get({url:c,options:{params:b},responseConstructor:OE}).pipe(B(Kpa))};
var yUb=function(a,b){return a.executor.get({url:"action/issues/"+b+"/events",options:{params:{currentTrackerId:a.currentTrackerId.getTrackerId()}},responseConstructor:wUb}).pipe(B(function(c){return yj(c,pm,1).map(function(d){return vqa(d)})}))};QE.\u0275fac=function(a){return new (a||QE)(n(KD),n(FE))};QE.\u0275prov=Vc({token:QE,factory:QE.\u0275fac,providedIn:"root"});var RE=function(a){this.observableApi=a};W(RE,PE);g=RE.prototype;g.createIssue=function(a){return(0,C.firstValueFrom)(this.observableApi.createIssue(a))};
g.getIssue=function(a){return(0,C.firstValueFrom)(this.observableApi.getIssue(a))};g.batchGetIssues=function(a){return(0,C.firstValueFrom)(this.observableApi.batchGetIssues(a))};g.updateIssue=function(a,b){return(0,C.firstValueFrom)(this.observableApi.updateIssue(a,b))};g.moveIssueExternal=function(a,b){return(0,C.firstValueFrom)(this.observableApi.moveIssueExternal(a,b))};g.moveIssue=function(a,b){return(0,C.firstValueFrom)(this.observableApi.moveIssue(a,b))};g.unCcUser=function(a){return(0,C.firstValueFrom)(this.observableApi.unCcUser(a))};
g.updateAccessLimit=function(a,b){return(0,C.firstValueFrom)(this.observableApi.updateAccessLimit(a,b))};g.getRetainedAccessPrincipals=function(a,b){return(0,C.firstValueFrom)(this.observableApi.getRetainedAccessPrincipals(a,b))};g.relateIssue=function(a,b){return(0,C.firstValueFrom)(this.observableApi.relateIssue(a,b))};g.updateIssueHotlists=function(a,b){return(0,C.firstValueFrom)(this.observableApi.updateIssueHotlists(a,b))};
g.updateIssueRetention=function(a,b){return(0,C.firstValueFrom)(this.observableApi.updateIssueRetention(a,b))};g.listIssues=function(a,b){b=void 0===b?{}:b;return(0,C.firstValueFrom)(this.observableApi.listIssues(a,b))};g.issueBulkEdit=function(a,b){return(0,C.firstValueFrom)(this.observableApi.issueBulkEdit(a,b))};g.getRelatedIssues=function(a){return(0,C.firstValueFrom)(this.observableApi.getRelatedIssues(a))};RE.\u0275fac=function(a){return new (a||RE)(n(QE))};
RE.\u0275prov=Vc({token:RE,factory:RE.\u0275fac,providedIn:"root"});var SE=function(a){Y.call(this,a)};W(SE,Y);var TE=function(a,b){return Tb(a,1,b)},zUb=function(a,b){return Tb(a,2,b)};var AUb=function(a){Y.call(this,a)};W(AUb,Y);g=AUb.prototype;g.getIssueId=function(){return ol(this,1)};g.setIssueId=function(a){return Tb(this,1,a)};g.setRelationshipType=function(a){return Vk(this,2,a)};g.getIssueRelationship=function(){return Ok(this,SE,3)};g.setIssueRelationship=function(a){return gl(this,SE,3,a)};g.getSignificanceOverride=function(){return tk(this,4,0)};g.setSignificanceOverride=function(a){Vk(this,4,a)};var CUb=function(a){Y.call(this,a,-1,BUb)};W(CUb,Y);g=CUb.prototype;g.getIssueId=function(){return Ck(this,1)};g.setIssueId=function(a){return k(this,1,a)};g.setRelationshipType=function(a){return k(this,2,a)};g.setRequestsList=function(a){return ac(this,3,a)};g.addAndReturnRequests=function(){return Rb(this,3,AUb)};g.getSignificanceOverride=function(){return tk(this,4,0)};g.setSignificanceOverride=function(a){k(this,4,a)};var BUb=[3];CUb.messageId="b.BatchCreateIssueRelationshipsRequest";var EUb=function(a){Y.call(this,a,-1,DUb)};W(EUb,Y);EUb.prototype.getIssueRelationshipsList=function(){return yj(this,SE,1)};var DUb=[1];EUb.messageId="b.BatchCreateIssueRelationshipsResponse";var GUb=function(a){Y.call(this,a,-1,FUb)};W(GUb,Y);g=GUb.prototype;g.getIssueId=function(){return Ck(this,1)};g.setIssueId=function(a){return k(this,1,a)};g.setRelationshipType=function(a){return k(this,2,a)};g.getSignificanceOverride=function(){return tk(this,4,0)};g.setSignificanceOverride=function(a){k(this,4,a)};var FUb=[3];GUb.messageId="b.BatchDeleteIssueRelationshipsRequest";var UE=function(a){Y.call(this,a,-1,HUb)};W(UE,Y);UE.prototype.getSourceIssueIdsList=function(){return Aj(this,1)};UE.prototype.setSourceIssueIdsList=function(a){return sl(this,1,a)};UE.prototype.setRelationshipType=function(a){return k(this,2,a)};UE.prototype.setIncludeArchived=function(a){return k(this,3,a)};var HUb=[1];UE.messageId="b.BatchGetIssueRelationshipsRequest";var VE=function(a){Y.call(this,a,-1,IUb)};W(VE,Y);VE.prototype.getIssueRelationshipsList=function(){return yj(this,SE,1)};VE.prototype.getTotalSize=function(){return zj(this,2)};var IUb=[1];var KUb=function(a){Y.call(this,a,-1,JUb)};W(KUb,Y);var JUb=[1];KUb.messageId="b.BatchGetIssueRelationshipsResponse";var WE=function(a){Y.call(this,a)};W(WE,Y);WE.prototype.getIssueRelationship=function(){return Ok(this,SE,1)};WE.prototype.setIssueRelationship=function(a){return gl(this,SE,1,a)};WE.messageId="b.CreateIssueRelationshipResponse";var XE=function(a){Y.call(this,a,-1,LUb)};W(XE,Y);var MUb=function(a,b){return sl(a,1,b)};XE.prototype.setRelationshipType=function(a){return k(this,2,a)};XE.prototype.setIncludeArchived=function(a){return k(this,3,a)};var NUb=function(a,b){return k(a,4,b)},OUb=function(a,b){return k(a,5,b)},LUb=[1];XE.messageId="b.GetIssueDescendantsRequest";var PUb=function(a){Y.call(this,a)};W(PUb,Y);PUb.messageId="b.GetIssueDescendantsResponse";var RUb=function(a){Y.call(this,a,-1,QUb)};W(RUb,Y);RUb.prototype.getIssueRelationshipsList=function(){return yj(this,SE,1)};var QUb=[1];RUb.messageId="b.ListIssueRelationshipsResponse";var YE=function(a){Y.call(this,a)};W(YE,Y);YE.prototype.getIssueRelationship=function(){return Ok(this,SE,1)};YE.prototype.setIssueRelationship=function(a){return gl(this,SE,1,a)};YE.messageId="b.UpdateIssueRelationshipResponse";var ZE=function(a){this.executor=a};g=ZE.prototype;g.list=function(a,b){return this.executor.get({url:"action/issues/"+a+"/relationships?relationshipType="+b,responseConstructor:RUb}).pipe(B(function(c){return c.getIssueRelationshipsList()}))};g.create=function(a,b,c){return this.executor.post({url:"action/issues/"+a+"/relationships?relationshipType="+b,body:c,responseConstructor:WE}).pipe(B(function(d){var e;return null!=(e=d.getIssueRelationship())?e:new SE}))};
g.update=function(a,b,c){return this.executor.put({url:"action/issues/"+a+"/relationships/"+ol(c,1)+"?relationshipType="+b,body:c,responseConstructor:YE}).pipe(B(function(d){var e;return null!=(e=d.getIssueRelationship())?e:new SE}))};g.delete=function(a,b,c){return this.executor.delete({url:"action/issues/"+a+"/relationships/"+c+"?relationshipType="+b,responseConstructor:null})};
g.batchGet=function(a,b,c){a=(new UE).setSourceIssueIdsList(a).setRelationshipType(b).setIncludeArchived(c);return this.executor.post({url:"action/issues/batch_relationships",body:a,responseConstructor:KUb}).pipe(B(function(d){return yj(d,VE,1)}))};
var SUb=function(a,b,c){c=c.map(function(d){return(new AUb).setIssueRelationship(d)});b=(new CUb).setIssueId(b).setRelationshipType(1).setRequestsList(c);return a.executor.post({url:"action/issues/relationships_batchCreate",body:b,responseConstructor:EUb}).pipe(B(function(d){return d.getIssueRelationshipsList()}))},TUb=function(a,b,c){b=(new GUb).setIssueId(b).setRelationshipType(1);c=sl(b,3,c);return a.executor.post({url:"action/issues/relationships_batchDelete",body:c,responseConstructor:null})};
ZE.prototype.getDescendants=function(a){var b=a.issueIds,c=a.relationshipType,d=a.includeArchived,e=a.depthLimit;a=a.prefixSizeLimit;b=OUb(NUb(MUb(new XE,b).setRelationshipType(c).setIncludeArchived(d),e),a);return this.executor.post({url:"action/issues/descendants",body:b,responseConstructor:PUb}).pipe(B(function(f){var h=new Map;f=wDb(f,1,VE);f=m(f.entries());for(var l=f.next();!l.done;l=f.next()){var q=m(l.value);l=q.next().value;q=q.next().value;h.set(String(l),q)}return h}))};
ZE.\u0275fac=function(a){return new (a||ZE)(n(KD))};ZE.\u0275prov=Vc({token:ZE,factory:ZE.\u0275fac,providedIn:"root"});var wra=new Set(["blockedById","blockingId","duplicateId","parentIssueIds","childIssueIds"]);var $E=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,""]]),aF=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 bF={},cF=(bF[0]=aF.get(0),bF[1]=aF.get(1),bF[2]=aF.get(2),bF[3]=aF.get(3),bF[4]=aF.get(4),bF[5]=aF.get(5),bF[10]=aF.get(10),bF[9]=aF.get(9),bF[6]=aF.get(6),bF[8]=aF.get(8),bF[7]=aF.get(7),bF),UUb=Fra(cF,ml),dF={},asa=(dF.STATUS_UNSPECIFIED=0,dF.NEW=10,dF.ASSIGNED=20,dF.ACCEPTED=30,dF.FIXED=40,dF.VERIFIED=50,dF.DUPLICATE=60,dF.INFEASIBLE=70,dF.NOT_REPRODUCIBLE=80,dF.OBSOLETE=90,dF.INTENDED_BEHAVIOR=100,dF),eF={},VUb=(eF.ASSIGNED=!0,eF.ACCEPTED=!0,eF.FIXED=!0,eF.VERIFIED=!0,eF.DUPLICATE=!0,eF.INFEASIBLE=
!0,eF.NOT_REPRODUCIBLE=!0,eF.OBSOLETE=!0,eF.INTENDED_BEHAVIOR=!0,eF),fF={},gF=(fF[0]=$E.get(0),fF[1]=$E.get(1),fF[2]=$E.get(2),fF[3]=$E.get(3),fF[4]=$E.get(4),fF[5]=$E.get(5),fF[10]=$E.get(10),fF[9]=$E.get(9),fF[6]=$E.get(6),fF[8]=$E.get(8),fF[7]=$E.get(7),fF),tn=Fra(gF,ml),hF={},WUb=(hF.P0="P0",hF.P1="P1",hF.P2="P2",hF.P3="P3",hF.P4="P4",hF.PRIORITY_UNSPECIFIED="--",hF),iF={},XUb=(iF.S0="S0",iF.S1="S1",iF.S2="S2",iF.S3="S3",iF.S4="S4",iF.SEVERITY_UNSPECIFIED="--",iF),jF={},YUb=(jF[0]="",jF[1]="Bug",
jF[2]="Feature Request",jF[3]="Customer Issue",jF[4]="Internal Cleanup",jF[5]="Process",jF[6]="Vulnerability",jF[7]="Privacy Issue",jF[8]="Project",jF[9]="Feature",jF[10]="Milestone",jF[11]="Epic",jF[12]="Story",jF[13]="Task",jF),ZUb=Fra(YUb,hpa),kF={},$Ub=(kF[0]="issue-status-wont-fix",kF[1]="issue-status-new",kF[2]="issue-status-assigned",kF[3]="issue-status-accepted",kF[4]="issue-status-fixed",kF[5]="issue-status-verified",kF[10]="issue-status-duplicate",kF[9]="issue-status-wont-fix",kF[6]="issue-status-wont-fix",
kF[8]="issue-status-wont-fix",kF[7]="issue-status-wont-fix",kF),aVb=Fra($Ub,ml);var Gra=function(a,b,c,d,e){this.status=a;this.displayValue=b;this.open=c;this.assigneeRequirement=d;this.sortOrder=e},lF={},Cn=(lF.NEW=un("NEW",!0,"FORBIDDEN",10),lF.ASSIGNED=un("ASSIGNED",!0,"REQUIRED",20),lF.ACCEPTED=un("ACCEPTED",!0,"REQUIRED",30),lF.FIXED=un("FIXED",!1,"REQUIRED",40),lF.VERIFIED=un("VERIFIED",!1,"REQUIRED",50),lF.DUPLICATE=un("DUPLICATE",!1,"ALLOWED",60),lF.INFEASIBLE=un("INFEASIBLE",!1,"ALLOWED",70),lF.NOT_REPRODUCIBLE=un("NOT_REPRODUCIBLE",!1,"ALLOWED",80),lF.OBSOLETE=un("OBSOLETE",
!1,"ALLOWED",90),lF.INTENDED_BEHAVIOR=un("INTENDED_BEHAVIOR",!1,"ALLOWED",100),lF),bVb=[Cn.NEW,Cn.ASSIGNED,Cn.ACCEPTED,Cn.FIXED,Cn.VERIFIED,Cn.NOT_REPRODUCIBLE,Cn.INTENDED_BEHAVIOR,Cn.OBSOLETE,Cn.INFEASIBLE,Cn.DUPLICATE],cVb=bVb.map(function(a){return{value:a.status,displayText:a.displayValue}}),dVb=new Set(Object.values(oc(Cn,function(a){return"REQUIRED"===a.assigneeRequirement})));var eVb=function(a,b){this.data=a;this.cfg=b;this.lastValidated=Date.now()};g=eVb.prototype;g.age=function(){return Date.now()-this.lastValidated};g.isFresh=function(){return this.age()<this.cfg.freshUntil};g.isAncient=function(){return this.age()>this.cfg.ancientAfter};g.getStatus=function(){return this.isFresh()?"fresh":this.isAncient()?"ancient":"uncertain"};g.toString=function(){var a=String(this.data);return Math.ceil(this.age()/1E3)+"s old -- "+a};
var fVb=function(a){this.cfg=a;this.cache=new Map},gVb=function(a,b){a=mF(a,b);return null==a?Infinity:a},mF=function(a,b){var c;return null==(c=a.get(b,!0))?void 0:c.age()};fVb.prototype.isFresh=function(a){return gVb(this,a)<this.cfg.freshUntil};var hVb=function(a,b){return gVb(a,b)<=a.cfg.ancientAfter};g=fVb.prototype;g.isAncient=function(){var a=mF(this);return a?a>this.cfg.ancientAfter:!1};g.getStatus=function(a){a=this.get(a,!0);if(null!=a)return a.getStatus()};
g.has=function(a,b){return!!this.get(a,void 0===b?!1:b)};g.get=function(a,b){b=void 0===b?!1:b;var c=this.cache.get(a);if(null!=c)return c.age()>this.cfg.ancientAfter&&!b&&this.cache.delete(a),this.cache.get(a)};g.getData=function(a,b){var c;return null==(c=this.get(a,void 0===b?!1:b))?void 0:c.data};g.set=function(a,b){this.cache.set(a,new eVb(b,this.cfg))};g.touch=function(a){var b=this.cache.get(a);b&&this.cache.set(a,new eVb(b.data,this.cfg))};
g.validate=function(a,b,c,d){d=void 0===d?!1:d;if(!this.has(a,d))return!1;a=this.getData(a,d);return c(a,b)};g.debug=function(){return Object.assign({},this.cfg,{count:this.cache.size,keys:this.cache.keys()})};g.toString=function(){return Array.from(this.cache,function(a){a=m(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 nF={trustMemory:!0},iVb=function(){},Mna=["startIndex","totalSize","curPageToken","nextPageToken","prevPageToken"],jVb=function(a){this.ids=[];Object.assign(this,a)};W(jVb,iVb);jVb.prototype.toString=function(){return JSON.stringify(Object.assign({},this,{ids:"["+this.ids.join(",")+"]"}))};
var kVb={freshUntil:1E4,ancientAfter:792E5},pF=function(a){var b=this;a=void 0===a?{}:a;this.error$=new C.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("kc`"+b.idKey+"`"+c);throw Error("lc`"+c);};this.valsById=new Map;this.collectionsById=new Map;this.setsByLabel=new Map;this.inFlightGets$=new C.BehaviorSubject(Object.freeze({}));
this.inFlightSaves$=new C.BehaviorSubject(Object.freeze({}));this.getting$=this.inFlightGets$.pipe(B(msa));this.saving$=this.inFlightSaves$.pipe(B(msa));this.thinking$=(0,C.combineLatest)(this.getting$,this.saving$).pipe(B(function(c){var d=m(c);c=d.next().value;d=d.next().value;return c||d}),Qf());this.gotOne=function(c){return function(d,e){e=void 0===e?{}:e;e=e.doNotTrack?lsa:oF({label:c,value:mF(b.memory,c)});if(b.memory.validate(c,d,b.isEqual))e("one-isSame"),b.memory.touch(c);else{b.memory.set(c,
d);var f=b.valsById.get(c);e("one-isChanged");f?f.next(d):rj(b.recordType+"::gotOne("+c+") !isEqual. Nobody's listening")}}};this.gotSet=function(c){return function(d){for(var e=m(d),f=e.next();!f.done;f=e.next()){f=f.value;var h=b.idForRecord(f);b.gotOne(h)(f,{doNotTrack:!0})}(e=lVb(b,c))?e.next(d):sj("gotSet("+c+"), but no channel is set up")}};this.gotAll=function(c){return function(d){var e=oF({label:c,value:mF(b.collectiveMemory,c)});if(b.normalizeQueryResponses)for(var f=m(d.results),h=f.next();!h.done;h=
f.next()){h=h.value;var l=b.idForRecord(h);b.gotOne(l)(h,{doNotTrack:!0})}f=b.normalize(d);b.collectiveMemory.validate(c,f,Lna);b.collectiveMemory.set(c,f);e("all-isChanged");(e=b.collectionsById.get(c))?(d=b.dereference(f,d.results),e.next(d)):rna(c+" gotAll but don't have a behaviorSubject set up to broadcast on. Strange...",d)}};this.dereferenceOne=function(c){return function(d){var e=c.find(function(f){return b.idForRecord(f)===d});null==e&&sj("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=m(c);c=d.next().value;d=d.next().value;return c+": "+d}).join(", "),inFlightSaves:Object.entries(b.inFlightSaves).map(function(c){var d=m(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?msa(b.inFlightSaves):!!b.inFlightSaves[c]};this.isSaving$=function(c){return b.inFlightSaves$.pipe(B(function(d){return!!d[c]}),Qf())};this.isGetting=function(c){return null==c?msa(b.inFlightGets):!!b.inFlightGets[c]};this.watchOne=this.watch=function(c,d){d=void 0===d?nF:d;"number"===typeof d&&
(d=nF);if(null==c)return(0,C.of)();"number"===typeof c&&(c=String(c));var e=mVb(b,c);nVb(b,c,d).catch(function(){});return pv(e)};this.watchSet=function(c,d){d=void 0===d?nF:d;"number"===typeof d&&(d=nF);if(0===c.length)return(0,C.of)([]);c=c.map(function(f){return"number"===typeof f?String(f):f});var e=lVb(b,c);oVb(b,c,d);return e};this.watchMany=function(c){var d=void 0===d?nF:d;c=Object.assign({},b.defaultQuery,c);var e=pVb(b,c);b.getAll(c,d);return pv(e)};this.save=function(c){var d=b.idForRecord(c);
if(null==d)throw Error("mc");c=b.doSave(c).pipe(Pf(0,C.asapScheduler),oha(),lf());b.setIsSaving(d);c.subscribe(b.gotOne(d),b.gotErr(d,b.inFlightSaves$),qVb(d,b.inFlightSaves$));return c};this.setIsSaving=function(c){var d={};nsa(b.inFlightSaves$,(d[c]=!0,d))};this.clearIsSaving=function(c){osa(b.inFlightSaves$,c)};this.setIsGetting=function(c){var d={};nsa(b.inFlightGets$,(d[c]=!0,d))};this.clearIsGetting=function(c){osa(b.inFlightGets$,c)};this.poke=function(c,d){return null==c?vsa():nVb(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("nc");b.gotOne(e)(c,Object.assign({},{doNotTrack:!0},d))}};this.memory=new fVb(Object.assign({},kVb,a));this.collectiveMemory=new fVb(Object.assign({},kVb,a))};g=pF.prototype;g.fetchOne=function(){throw Error("oc");};g.fetchAll=function(){throw Error("pc");};
g.fetchSet=function(){throw Error("qc");};g.doSave=function(){throw Error("rc");};g.copy=function(){throw Error("sc");};g.isEqual=function(a,b){return Lna(a,b,100)};
var nVb=function(a,b,c){c=void 0===c?{}:c;var d=c.trustMemory,e=c.trustUncertainMemory;c=oF({label:b,value:mF(a.memory,b)});d=d&&a.memory.isFresh(b);e=e&&hVb(a.memory,b);if(d||e)return c("one-trustMemory"),c=a.memory.getData(b),usa(c);if(a.inFlightGets[b])return c("one-inFlight"),c=mVb(a,b),tsa(c).then(usa);c("one-fetch");var f=a.fetchOne(b).pipe(Pf(0,C.asapScheduler));a.setIsGetting(b);return new Promise(function(h,l){f.subscribe(function(q){a.gotOne(b)(q);h(q)},function(q){a.gotErr(b,a.inFlightGets$)(q);
l(q)},qVb(b,a.inFlightGets$))})},oVb=function(a,b,c){c=(void 0===c?{}:c).trustMemory;var d="["+[].concat(r(b)).sort().join("-")+"]",e=oF({label:d});if(c&&rVb(a,b))sVb(a,b),e("set-trustMemory");else if(a.inFlightGets[d])e("set-inFlight");else{e("set-fetch");c=a.fetchSet(b).pipe(Pf(0,C.asapScheduler));e={};e=(e[d]=!0,e);for(var f=m(b),h=f.next();!h.done;h=f.next())e[h.value]=!0;nsa(a.inFlightGets$,e);c.subscribe(a.gotSet(b),function(l){psa(a.inFlightGets$,b);a.gotErr(d,a.inFlightGets$)(l)},function(){psa(a.inFlightGets$,
[d].concat(r(b)))})}},rVb=function(a,b){return b.every(function(c){return a.memory.isFresh(c)})},sVb=function(a,b){var c=tVb(a,b).filter(nk);lVb(a,b).next(c)};
pF.prototype.getAll=function(a,b){var c=(void 0===b?{}:b).trustMemory;b=qsa(a);var d=oF({label:b,value:mF(this.collectiveMemory,b)});if(c&&this.collectiveMemory.isFresh(b))return d("all-trustMemory"),a=this.collectiveMemory.getData(b),b=tVb(this,a.ids).filter(nk),a=this.dereference(a,b),Promise.resolve(a);if(this.inFlightGets[b])return d("all-inFlight"),a=pVb(this,a),tsa(a);d("all-fetch");c=this.fetchAll(a).pipe(Pf(0,C.asapScheduler));this.setIsGetting(b);c.subscribe(this.gotAll(b),this.gotErr(b,
this.inFlightGets$),qVb(b,this.inFlightGets$));a=pVb(this,a);return tsa(a)};pF.prototype.gotErr=function(a,b){var c=this;return function(d){d=Object.assign({},{idOrKey:a},d);sna(a+" gotErr()",d);osa(b,a);JSON.stringify(d,null,2);c.error$.next(d)}};var qVb=function(a,b){return function(){osa(b,a)}};pF.prototype.normalize=function(a){var b=a.results.map(this.idForRecord);return new jVb(Object.assign({},ssa(a),{ids:b}))};
pF.prototype.dereference=function(a,b){b=a.ids.map(this.dereferenceOne(b)).filter(Boolean);return Object.assign({},ssa(a),{results:b})};
var tVb=function(a,b){return b.map(function(c){return a.memory.getData(c)})},pVb=function(a,b){b=qsa(b);return rsa(a.collectionsById,b,new C.ReplaySubject(1))},lVb=function(a,b){b="["+[].concat(r(b)).sort().join("-")+"]";return rsa(a.setsByLabel,b,new C.ReplaySubject(1))},mVb=function(a,b){var c=new C.ReplaySubject(1),d=a.memory.getData(b);null!=d&&c.next(d);return rsa(a.valsById,b,c)},uVb=function(a,b){return["string","number"].includes(typeof b)?a.memory.getStatus(String(b)):a.collectiveMemory.getStatus(qsa(b))};
pF.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(qsa(a))};var qF=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)};
Xi.Object.defineProperties(pF.prototype,{inFlightGets:{configurable:!0,enumerable:!0,get:function(){return this.inFlightGets$.getValue()}},inFlightSaves:{configurable:!0,enumerable:!0,get:function(){return this.inFlightSaves$.getValue()}}});var oF=function(a){for(var b=m(Object.keys(a)),c=b.next();!c.done;c=b.next())c=c.value,null==a[c]&&delete a[c];return function(){}},rF=function(){pF.apply(this,arguments);this.defaultQuery={}};W(rF,pF);var sF=function(a){rF.call(this);this.observableIssueResources=a;this.recordType="eventsForIssue"};W(sF,rF);sF.prototype.isEqual=function(a,b){return(null==a?void 0:a.id)!==(null==b?void 0:b.id)?!1:Zra(null==a?void 0:a.events,null==b?void 0:b.events)};sF.prototype.copy=function(a){return a&&Gj(a)};sF.prototype.fetchOne=function(a){return yUb(this.observableIssueResources,a).pipe(B(function(b){return{id:a,events:b}}))};sF.prototype.fetchSet=function(a){var b=this;return(0,C.combineLatest)(a.map(function(c){return b.fetchOne(c)})).pipe(B(function(c){return c.filter(nk)}))};
sF.\u0275fac=function(a){return new (a||sF)(n(QE))};sF.\u0275prov=Vc({token:sF,factory:sF.\u0275fac,providedIn:"root"});var wsa=RegExp("^https?:\\/\\/((?:screenshot.googleplex.com|screenshot.corp.google.com|screen.corp.google.com|screenshot|screen)\\/([\\w-]+)(?:\\.png)?$)"),zsa=RegExp("^(https?:\\/\\/)(www\\.)?(go|goto|goto\\.google\\.com)\\/([A-Za-z0-9-]+$)");var tF=function(a,b,c,d){this.issueApi=a;this.issueRelationshipApi=b;this.changelistApi=c;this.eventsForIssueFridge=d},xVb=function(a,b){var c,d,e,f,h,l,q,u,x,y,G,L,M,T,S,X,aa,na,ma,Ca,Fa,Ja,Ab;return of(function(cb){switch(cb.nextAddress){case 1:return b=wn(b),d=c=0,e=[],f=[],h=[],l=[],q=[],u=[],x=[],y=[],null==b||0===b.length?cb.return({totalCount:c,openCount:d,clIds:e,pendingChangeLists:f,hyperLinks:h,issueLinks:l,screenshots:q,goLinks:u,contributors:x,comments:y}):cb.yield(vVb(a,b),2);case 2:return G=
cb.yieldResult,L=[].concat(r(b)),Object.values(G).forEach(function(Ma){L.push.apply(L,r(Ma))}),L=wn(L),cb.yield(a.getIssues(L),3);case 3:M=cb.yieldResult;T={};S=m(M);for(X=S.next();!X.done;X=S.next())aa=X.value,T[aa.issueId]=aa;c=L.length-b.length;na=m(b);ma=na.next();case 4:if(ma.done){cb.jumpTo(6);break}Ca=ma.value;return cb.yield(wVb(a,Ca,G,T),7);case 7:Fa=cb.yieldResult;d+=Fa.openCount;e.push.apply(e,r(Fa.clIds));f.push.apply(f,r(Fa.pendingChangeLists));h.push.apply(h,r(Fa.hyperLinks));l.push.apply(l,
r(Fa.issueLinks));q.push.apply(q,r(Fa.screenshots));u.push.apply(u,r(Fa.goLinks));x.push.apply(x,r(Fa.contributors));y.push.apply(y,r(Fa.comments));ma=na.next();cb.jumpTo(4);break;case 6:return y.sort(function(Ma,ha){var xa,Da,Wa,Ra;return(null==(xa=ha.comments)?NaN:null==(Da=xa[0])?NaN:Da.modifiedTime)-(null==(Wa=Ma.comments)?NaN:null==(Ra=Wa[0])?NaN:Ra.modifiedTime)}),Ja=f.map(function(Ma){return Ma.fixedIssueIds}).flat(),Ab=f.map(function(Ma){return Ma.issueIds}).flat(),cb.return({totalCount:c,
openCount:d,clIds:wn(e),pendingChangeLists:vn(f,function(Ma){return Ma.changelistNumber}),bugToPendingCl:new Map(Ab.map(function(Ma){return[Ma,f.find(function(ha){return ha.issueIds.includes(Ma)})]})),bugToPendingFixCl:new Map(Ja.map(function(Ma){return[Ma,f.find(function(ha){return ha.fixedIssueIds.includes(Ma)})]})),hyperLinks:wn(h),issueLinks:wn(l),screenshots:wn(q),goLinks:wn(u),contributors:wn(x),comments:y})}})},CVb=function(a,b){var c,d,e,f,h,l,q,u,x,y,G,L,M,T,S,X,aa,na,ma,Ca,Fa,Ja,Ab,cb,Ma,
ha,xa;return of(function(Da){switch(Da.nextAddress){case 1:return b=wn(b),c=b.length,d=0,e=[],f=[],h=[],l=[],q=[],u=[],x=[],null==b||0===b.length?Da.return({totalCount:c,openCount:d,clIds:e,pendingChangeLists:[],hyperLinks:f,issueLinks:h,screenshots:l,goLinks:q,contributors:u,comments:x}):Da.yield(Promise.all([a.getIssues(b),yVb(a,b)]),2);case 2:y=Da.yieldResult,G=m(y),L=G.next().value,M=G.next().value,T=L,S=M,T.sort(function(Wa,Ra){return Ra.majorModifiedTimeMicros-Wa.majorModifiedTimeMicros}),X=
10,aa=0,na=m(T),ma=na.next();case 3:if(ma.done){Da.jumpTo(5);break}Ca=ma.value;Dn(Ca)&&(d+=1);Fa=zVb(Ca);e.push.apply(e,r(Fa));Ja=AVb(Ca);f.push.apply(f,r(Ja.hyperLinks));h.push.apply(h,r(Ja.issueLinks));q.push.apply(q,r(Ja.goLinks));l.push.apply(l,r(Ja.screenshots));Ab=Vra(Ca);null!=Ab&&u.push(Ab);if(!(aa<X)){Da.jumpTo(4);break}pf(Da,7);return Da.yield(BVb(a,Ca.issueId),9);case 9:cb=Da.yieldResult;0<cb.comments.length&&x.push(cb);aa+=1;au(Da,4);break;case 7:Ma=sf(Da),console.warn("fetch comments",
Ma);case 4:ma=na.next();Da.jumpTo(3);break;case 5:return e.sort(function(Wa,Ra){return Number(Ra)-Number(Wa)}),ha=S.map(function(Wa){return Wa.fixedIssueIds}).flat(),xa=S.map(function(Wa){return Wa.issueIds}).flat(),Da.return({totalCount:c,openCount:d,clIds:wn(e),pendingChangeLists:vn(S,function(Wa){return Wa.changelistNumber}),bugToPendingCl:new Map(xa.map(function(Wa){return[Wa,S.find(function(Ra){return Ra.issueIds.includes(Wa)})]})),bugToPendingFixCl:new Map(ha.map(function(Wa){return[Wa,S.find(function(Ra){return Ra.fixedIssueIds.includes(Wa)})]})),
hyperLinks:wn(f),issueLinks:wn(h),screenshots:wn(l),goLinks:wn(q),contributors:wn(u),comments:x})}})},wVb=function(a,b,c,d){var e,f,h,l,q,u,x,y,G,L,M,T,S,X,aa,na,ma,Ca,Fa,Ja,Ab,cb;return of(function(Ma){switch(Ma.nextAddress){case 1:return f=e=0,h=[],l=[],q=[],u=[],x=[],y=[],G=[],L=DVb(a,d[b],c,d),M=L.map(function(ha){return ha.issueId}),Ma.yield(yVb(a,M),2);case 2:T=Ma.yieldResult,L.sort(function(ha,xa){return xa.majorModifiedTimeMicros-ha.majorModifiedTimeMicros}),S=10,X=0,aa=m(L),na=aa.next();
case 3:if(na.done){Ma.jumpTo(5);break}ma=na.value;ma.issueId!==b&&Dn(ma)&&(f+=1);Ca=zVb(ma);h.push.apply(h,r(Ca));Fa=AVb(ma);l.push.apply(l,r(Fa.hyperLinks));q.push.apply(q,r(Fa.issueLinks));x.push.apply(x,r(Fa.goLinks));u.push.apply(u,r(Fa.screenshots));Ja=Vra(ma);null!=Ja&&y.push(Ja);if(!(X<S)){Ma.jumpTo(4);break}pf(Ma,7);return Ma.yield(BVb(a,ma.issueId),9);case 9:Ab=Ma.yieldResult;0<Ab.comments.length&&G.push(Ab);X+=1;au(Ma,4);break;case 7:cb=sf(Ma),console.warn("fetch comments",cb);case 4:na=
aa.next();Ma.jumpTo(3);break;case 5:return h.sort(function(ha,xa){return Number(xa)-Number(ha)}),Ma.return({totalCount:e,openCount:f,clIds:h,pendingChangeLists:T,hyperLinks:l,issueLinks:q,screenshots:u,goLinks:x,contributors:y,comments:G})}})},DVb=function(a,b,c,d){if(null==b)return console.warn("getIssueAndDescendants() missing an issue"),[];var e=[b];b=m(c[b.issueId]);for(var f=b.next();!f.done;f=b.next())f=DVb(a,d[f.value],c,d),e.push.apply(e,r(f));return e},zVb=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,r(a));return b},yVb=function(a,b){var c;return of(function(d){if(1==d.nextAddress){var e=d.yield,f=C.firstValueFrom;var h=a.changelistApi;var l=(new lSb).setQuery(rDb((new MD).setIssueIdsList(b),2,2));h=h.executor.post({url:"action/changelists/list",body:l,responseConstructor:oSb}).pipe(B(zna));return e.call(d,f.call(C,h),2)}c=d.yieldResult;return d.return(c.changelists)})},vVb=function(a,b){var c,d,e,f,h,l,q,u,x,y;return of(function(G){if(1==
G.nextAddress)return c={},G.yield((0,C.firstValueFrom)(a.issueRelationshipApi.getDescendants({issueIds:b,relationshipType:1,includeArchived:!1,depthLimit:10,prefixSizeLimit:100})),2);d=G.yieldResult;e=m(d.entries());for(f=e.next();!f.done;f=e.next())h=f.value,l=m(h),q=l.next().value,u=l.next().value,x=q,y=u,c[String(x)]=y.getIssueRelationshipsList().map(function(L){return String(ol(L,1))});return G.return(c)})},AVb=function(a){var b=[],c=[],d=[],e=[];a=m(a.relatedLinks||[]);for(var f=a.next();!f.done;f=
a.next())f=f.value,"hyperlink"===f.type?(xsa(f.href)?d.push(f.href):b.push(f.href),Asa(f)&&e.push(f.href)):"issueReference"===f.type&&c.push(f.issueId);return{hyperLinks:b,issueLinks:c,goLinks:e,screenshots:d}},BVb=function(a,b){var c,d,e,f,h,l,q,u,x,y;return of(function(G){if(1==G.nextAddress)return c=3,d=new Set,e=[],G.yield((0,C.firstValueFrom)(a.eventsForIssueFridge.watchOne(b)),2);f=G.yieldResult;if(void 0===f)return G.return({issueId:b,comments:e});h=m(f.events.reverse());for(l=h.next();!l.done&&
!(q=l.value,zn(q)&&q.isHumanAuthor&&(u=q.commentNumber,null!==u&&!d.has(u)&&(d.add(u),x=q.unlinkifiedComment,y=q.commentLastModifiedAtDate,null!=x&&0<x.length&&null!=y&&e.push({commentNumber:u,content:x,modifiedTime:y}),d.size>=c)));l=h.next());return G.return({issueId:b,comments:e})})};
tF.prototype.getIssues=function(a){var b=this,c,d,e,f,h;return of(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);f=[];pf(l,5);return l.yield(b.issueApi.batchGetIssues(e),7);case 7:f=l.yieldResult;au(l,6);break;case 5:h=sf(l),console.warn("fetch issues",h);case 6:c.push.apply(c,r(f));d+=100;l.jumpTo(2);break;case 4:return l.return(c)}})};tF.\u0275fac=function(a){return new (a||tF)(n(RE),n(ZE),n(ND),n(sF))};
tF.\u0275prov=Vc({token:tF,factory:tF.\u0275fac,providedIn:"root"});var EVb=["needs-attention-table","needs-attention-cards","pinned-issues","working-on-this-week"],FVb="my-projects-as-cards my-projects-as-tabs my-projects-as-tree recently-viewed-i-own pinned-issues working-on-this-week suggested-issues".split(" "),GVb=["team-activity-stream","team-inbox","tp-my-work","tp-needs-input","activity-stream"];[].concat(r(EVb),r(FVb),r(GVb));var HVb=["children","immersed"];r(HVb);
var Rsa=["assigned-to-me","recent-stuff-i-follow"],IVb={collapsed:{},projectFilters:[]},JVb={layout:"layout-b",showHiddenSettings:!1,sectionA:"",sectionW:"my-projects-as-cards",sectionT:"tp-my-work tp-needs-input",collapsed:{},projectFilters:["OPEN"],pinned:[],issuesThisWeek:{issues:[],weekNumber:0}};var KVb=rn(),Pn=Rn(KVb.user.email);var uF=function(){};uF.prototype.adapt=function(a){var b,c=new LVb(a.call.bind(a),a.split.bind(a),null!=(b=a.bufferTimeMs)?b:500,a.maxBatchSize||100);return c.get.bind(c)};uF.\u0275fac=function(a){return new (a||uF)};uF.\u0275prov=Vc({token:uF,factory:uF.\u0275fac,providedIn:"root"});
var LVb=function(a,b,c,d){var e=this;this.batchCall=a;this.batchSplit=b;this.bufferTimeMs=c;this.maxBatchSize=d;this.inputSubject=new C.Subject;this.inputs$=this.inputSubject.pipe(Kf(this.inputSubject.pipe(Jf(this.bufferTimeMs,C.asapScheduler))));this.removeDuplicates=B(function(f){return[].concat(r(new Set(f)))});this.limitInputSize=B(function(f){for(var h=m(f.slice(e.maxBatchSize)),l=h.next();!l.done;l=h.next())e.inputSubject.next(l.value);return new Set(f.slice(0,e.maxBatchSize))});this.makeBatchCalls=
(0,C.pipe)(zf(function(f){try{return e.batchCall(f).pipe(Rf(),B(function(h){return{inputs:f,batchResponse:h,error:void 0}}),Lf(function(h){return(0,C.of)({inputs:f,batchResponse:void 0,error:h})}))}catch(h){return(0,C.of)({inputs:f,batchResponse:void 0,error:h})}}),Zf());this.batchResults$=this.inputs$.pipe(this.removeDuplicates,this.limitInputSize,this.makeBatchCalls)};
LVb.prototype.get=function(a){var b=this;return new C.Observable(function(c){c=b.batchResults$.pipe(Gf(function(d){return d.inputs.has(a)}),Rf(),B(function(d){if(!d.error&&d.batchResponse)return b.batchSplit(a,d.batchResponse);throw new MVb(d.error,d.inputs);})).subscribe(c);b.inputSubject.next(a);return c})};var MVb=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,MVb.prototype)};
W(MVb,Error);var NVb=function(a){Y.call(this,a)};W(NVb,Y);NVb.messageId="b.CreateComponentResponse";var PVb=function(a){Y.call(this,a,-1,OVb)};W(PVb,Y);var OVb=[1];PVb.messageId="b.ListComponentsResponse";var Zl=function(a){Y.call(this,a)};W(Zl,Y);Zl.prototype.getRetentionSettings=function(){return Ok(this,Xk,2)};Zl.prototype.setRetentionSettings=function(a){gl(this,Xk,2,a)};Zl.prototype.hasRetentionSettings=function(){return Hl(this,Xk,2)};var RVb=function(a){Y.call(this,a,-1,QVb)};W(RVb,Y);var QVb=[2];RVb.messageId="b.SubcomponentsResponse";var SVb=function(){},TVb=function(){},vF=function(a,b){this.executor=a;this.currentTrackerId=b};W(vF,TVb);g=vF.prototype;g.get=function(a){return this.query({id:[a]}).pipe(B(function(b){return b.length?b[0]:null}))};g.getChildren=function(a,b){a={parentId:String(a)};if(void 0===b?0:b)a.includearchived=!0;return this.query(a)};g.getDescendants=function(a){return this.executor.get({url:"action/components/"+a+"/descendants",responseConstructor:RVb}).pipe(B(mqa))};
g.fetchComponent=function(a,b){var c={};b.checkEditAccess&&(c.checkEditAccess="true");return this.executor.get({url:"action/components/"+a,options:{params:c},responseConstructor:Vl}).pipe(B(Ul))};
g.query=function(a){var b={};a.id&&(b.id=a.id.map(String));a.parentId&&(b.parentId=String(a.parentId));a.query&&(b.query=a.query);a.includearchived&&(b.includearchived="true");a=this.currentTrackerId.getTrackerId();Sn(a)||(b.currentTrackerId=a);return this.executor.get({url:"action/components",options:{params:b},responseConstructor:PVb}).pipe(B(kqa))};
g.create=function(a){a=eqa(a);return this.executor.post({url:"action/components",body:a,responseConstructor:NVb}).pipe(B(function(b){return Ul(Ok(b,Vl,1))}))};
g.update=function(a){var b=a.componentId,c=new Vl;c.setComponentId(String(a.componentId));k(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);sl(c,7,d)}if(a.componentPathInfo){var e=a.componentPathInfo;d=new Pl;if(e.componentPathId){var f=e.componentPathId.map(String);sl(d,1,f)}e.componentPathName&&(f=e.componentPathName.map(String),Kk(d,2,f));e.allCustomField&&(e=e.allCustomField.map(Qk),
ac(d,4,e));gl(c,Pl,10,d)}a.accessLimit&&c.setAccessLimit(doa(a.accessLimit));k(c,13,a.emailAlias);a.userHasEditAccess&&k(c,14,a.userHasEditAccess);a.commentEditState&&c.setCommentEditState("ENABLED"===a.commentEditState?1:2);k(c,18,String(a.defaultTemplateId));a.slo&&c.setSlo(Yoa(a.slo));k(c,20,a.bugscopeSloId);a.retentionSettings&&c.setRetentionSettings(Soa(a.retentionSettings));a.fieldOrdering&&k(c,23,tSb[a.fieldOrdering]);a.effortSpec&&(d=Loa(a.effortSpec),gl(c,Rk,24,d));a.team&&c.setTeam(Zpa(a.team));
var h;c.setTeamSuggestionsList((null!=(h=a.teamSuggestions)?h:[]).map(bqa));return this.executor.post({url:"action/components/"+b,body:c,responseConstructor:Vl}).pipe(B(Ul))};g.move=function(a,b){return this.executor.post({url:"action/components/"+a+"/move",body:null,options:{params:{parentId:String(b)}},responseConstructor:Vl}).pipe(B(Ul))};g.updateSlo=function(a,b){var c=new zE;c.setSlo(Yoa(b));return this.executor.post({url:"action/components/"+a+"/updateSlo",body:c,responseConstructor:Vl}).pipe(B(Ul))};
g.updateTeam=function(a,b){var c=new AE;c.setTeam(Zpa(b));return this.executor.post({url:"action/components/"+a+"/updateTeam",body:c,responseConstructor:Vl}).pipe(B(Ul))};vF.\u0275fac=function(a){return new (a||vF)(n(KD),n(FE))};vF.\u0275prov=Vc({token:vF,factory:vF.\u0275fac,providedIn:"root"});var wF=function(a){this.observableApi=a};W(wF,SVb);g=wF.prototype;g.get=function(a){return(0,C.firstValueFrom)(this.observableApi.get(a))};
g.getChildren=function(a,b){return(0,C.firstValueFrom)(this.observableApi.getChildren(a,void 0===b?!1:b))};g.getDescendants=function(a){return(0,C.firstValueFrom)(this.observableApi.getDescendants(a))};g.fetchComponent=function(a,b){return(0,C.firstValueFrom)(this.observableApi.fetchComponent(a,b))};g.query=function(a){return(0,C.firstValueFrom)(this.observableApi.query(a))};g.create=function(a){return(0,C.firstValueFrom)(this.observableApi.create(a))};g.update=function(a){return(0,C.firstValueFrom)(this.observableApi.update(a))};
g.move=function(a,b){return(0,C.firstValueFrom)(this.observableApi.move(a,b))};g.updateSlo=function(a,b){return(0,C.firstValueFrom)(this.observableApi.updateSlo(a,b))};g.updateTeam=function(a,b){return(0,C.firstValueFrom)(this.observableApi.updateTeam(a,b))};wF.\u0275fac=function(a){return new (a||wF)(n(vF))};wF.\u0275prov=Vc({token:wF,factory:wF.\u0275fac,providedIn:"root"});var xF=function(a){rF.call(this,{freshUntil:12E4,ancientAfter:6048E5});this.batchedComponentApi=a;this.recordType="component";this.idKey="componentId"};W(xF,rF);xF.prototype.fetchOne=function(a){return this.batchedComponentApi.get(a).pipe(Lf(function(){return(0,C.of)(void 0)}))};xF.prototype.fetchSet=function(a){var b=this;return(0,C.combineLatest)(a.map(function(c){return b.fetchOne(c)})).pipe(B(function(c){return c.filter(nk)}))};xF.\u0275fac=function(a){return new (a||xF)(n(yF))};
xF.\u0275prov=Vc({token:xF,factory:xF.\u0275fac,providedIn:"root"});var yF=function(a,b){var c=this;this.observableComponentApi=a;this.batchApiAdapter=b;this.get=this.batchApiAdapter.adapt({bufferTimeMs:0,call:function(d){return c.call(d)},split:function(d,e){return c.splitBatch(d,e)}})};
yF.prototype.call=function(a){return 1===a.size?this.observableComponentApi.fetchComponent([].concat(r(a))[0],{}).pipe(B(function(b){return new Map(b?[[b.componentId,b]]:[])})):this.observableComponentApi.query({id:[].concat(r(a))}).pipe(B(function(b){return new Map(b.map(function(c){return[c.componentId,c]}))}))};yF.prototype.splitBatch=function(a,b){return b.get(Number(a))};yF.\u0275fac=function(a){return new (a||yF)(n(TVb),n(uF))};yF.\u0275prov=Vc({token:yF,factory:yF.\u0275fac,providedIn:"root"});var zF=function(a){Y.call(this,a)};W(zF,Y);zF.prototype.getSnapshot=function(){return Ok(this,ql,1)};zF.prototype.setSnapshot=function(a){gl(this,ql,1,a)};zF.messageId="b.IssueTemplateResponse";var VVb=function(a){Y.call(this,a,-1,UVb)};W(VVb,Y);var UVb=[1];VVb.messageId="b.ListTemplatesResponse";var AF=function(a){Y.call(this,a)};W(AF,Y);AF.messageId="b.TemplateResponse";var BF=function(){},CF=function(a){this.executor=a};g=CF.prototype;g.get=function(a,b){return this.executor.get({url:"action/components/"+a+"/templates/"+b,responseConstructor:AF}).pipe(B(Usa))};g.query=function(a){return this.executor.get({url:"action/components/"+a+"/templates",responseConstructor:VVb}).pipe(B(Vsa))};g.create=function(a,b){b=iqa(b);return this.executor.post({url:"action/components/"+a+"/templates",responseConstructor:AF,body:b}).pipe(B(Usa))};
g.update=function(a,b,c){c=iqa(c);return this.executor.post({url:"action/components/"+a+"/templates/"+b,responseConstructor:AF,body:c}).pipe(B(Usa))};g.delete=function(a,b){return this.executor.delete({url:"action/components/"+a+"/templates/"+b,responseConstructor:null})};g.getIssueTemplate=function(a,b){return this.executor.get({url:"action/components/"+a+"/issue_template",responseConstructor:zF,options:{params:{templateId:String(b)}}}).pipe(B(jqa))};CF.\u0275fac=function(a){return new (a||CF)(n(KD))};
CF.\u0275prov=Vc({token:CF,factory:CF.\u0275fac,providedIn:"root"});var DF=function(a){this.observableApi=a};W(DF,BF);g=DF.prototype;g.get=function(a,b){return(0,C.firstValueFrom)(this.observableApi.get(a,b))};g.query=function(a){return(0,C.firstValueFrom)(this.observableApi.query(a))};g.create=function(a,b){return(0,C.firstValueFrom)(this.observableApi.create(a,b))};g.update=function(a,b,c){return(0,C.firstValueFrom)(this.observableApi.update(a,b,c))};
g.delete=function(a,b){return(0,C.firstValueFrom)(this.observableApi.delete(a,b))};g.getIssueTemplate=function(a,b){return(0,C.firstValueFrom)(this.observableApi.getIssueTemplate(a,b))};DF.\u0275fac=function(a){return new (a||DF)(n(CF))};DF.\u0275prov=Vc({token:DF,factory:DF.\u0275fac,providedIn:"root"});var Wsa=function(){var a=this;this.promise=new Promise(function(b,c){a.resolve=b;a.reject=c})};var WVb=Symbol("tc"),XVb=Symbol("uc"),EF=Symbol("vc"),FF=function(){};FF.prototype.schedule=function(a,b){b=void 0===b?0:b;var c=Tn(),d=c.promise;b=setTimeout(function(){try{var e=a()}catch(f){c.reject(f);d[EF]=!0;return}c.resolve(e);d[EF]=!0},b);d[WVb]=b;d[XVb]=c.reject;d[EF]=!1;return c.promise};FF.prototype.cancel=function(a){var b=a[WVb];if(null==b||a[EF])return!1;clearTimeout(b);var c;null==(c=a[XVb])||c.call(a,Error("wc"));return a[EF]=!0};FF.\u0275fac=function(a){return new (a||FF)};
FF.\u0275prov=Vc({token:FF,factory:FF.\u0275fac,providedIn:"root"});var GF=function(a){this.timeout=a};GF.prototype.adapt=function(a){return new YVb(this.timeout,a)};GF.\u0275fac=function(a){return new (a||GF)(n(FF))};GF.\u0275prov=Vc({token:GF,factory:GF.\u0275fac,providedIn:"root"});var YVb=function(a,b){this.timeout=a;this.bulkGet=b;this.batchedInputs=[[]];this.batchedDeferreds=[[]];this.isBatchScheduled=!1};
YVb.prototype.get=function(a){var b=Tn(),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||ZVb(this);return b.promise};
var ZVb=function(a){a.isBatchScheduled=!0;a.timeout.schedule(function(){for(var b={},c=0;c<a.batchedInputs.length;b={$jscomp$loop$prop$batchedDeferred$2231:b.$jscomp$loop$prop$batchedDeferred$2231},c++){var d=a.batchedInputs[c];b.$jscomp$loop$prop$batchedDeferred$2231=a.batchedDeferreds[c];a.bulkGet(d).then(function(e){return function(f){for(var h=0;h<e.$jscomp$loop$prop$batchedDeferred$2231.length;h++)e.$jscomp$loop$prop$batchedDeferred$2231[h].resolve(f[h])}}(b),function(e){return function(f){for(var h=
m(e.$jscomp$loop$prop$batchedDeferred$2231),l=h.next();!l.done;l=h.next())l.value.reject(f)}}(b))}a.batchedInputs=[[]];a.batchedDeferreds=[[]];a.isBatchScheduled=!1})};var Un=function(a){Y.call(this,a)};W(Un,Y);Un.prototype.getResource=function(){return Dk(this,1)};Un.prototype.setResource=function(a){return k(this,1,a)};Un.prototype.getRelation=function(){return tk(this,2,0)};Un.prototype.setRelation=function(a){k(this,2,a)};Un.messageId="b.ResourceRelation";var aWb=function(a){Y.call(this,a,-1,$Vb)};W(aWb,Y);var $Vb=[1];aWb.messageId="b.UserAccessBatchResponse";var HF=function(){this.resourceNamePattern=RegExp("^((components|issues|hotlists|savedSearches|bookmarkGroups|templates|slos|teams)\\/\\d+|components\\/\\d+\\/slo|components\\/\\d+\\/issueDefaults|teams\\/\\d+\\/slo|issues\\/\\d+\\/(attachments|comments)\\/\\d+)$")};HF.prototype.validate=function(a){return this.resourceNamePattern.test(a)};HF.\u0275fac=function(a){return new (a||HF)};HF.\u0275prov=Vc({token:HF,factory:HF.\u0275fac,providedIn:"root"});
var IF=function(a,b,c){var d=this;this.userAccess=a;this.resourceNameValidator=b;this.accesses={};this.accessGetter=c.adapt(function(e){return bWb(d,e)})},bWb=function(a,b){return cWb(a,b).then(function(c){return Ysa(b,c)})},JF=function(a,b,c){return a.resourceNameValidator.validate(c)?dWb(a,b,c):Promise.reject("invalid resource name: "+c)},cWb=function(a,b){var c=[],d=[];b=m(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)},dWb=function(a,b,c){var d=b+"/"+c,e=a.accesses[d];if(e)return e;b=a.accessGetter.get({relation:b,resourceName:c}).then(function(f){return null==f?!1:f});a.accesses[d]=b;b.then(function(){delete a.accesses[d]});return b};IF.\u0275fac=function(a){return new (a||IF)(n(KF),n(HF),n(GF))};IF.\u0275prov=Vc({token:IF,factory:IF.\u0275fac,providedIn:"root"});var LF=function(a){this.executor=a};
LF.prototype.bulkGetUserAccess=function(a,b){return this.executor.get({url:"action/user_access",options:{params:{relations:a.join(","),resourceNames:b.join(",")}},responseConstructor:aWb}).pipe(B(Xsa))};LF.\u0275fac=function(a){return new (a||LF)(n(KD))};LF.\u0275prov=Vc({token:LF,factory:LF.\u0275fac,providedIn:"root"});var KF=function(a){this.observableApi=a};KF.prototype.bulkGetUserAccess=function(a,b){return(0,C.firstValueFrom)(this.observableApi.bulkGetUserAccess(a,b))};
KF.\u0275fac=function(a){return new (a||KF)(n(LF))};KF.\u0275prov=Vc({token:KF,factory:KF.\u0275fac,providedIn:"root"});var eWb=new Bd("MatSnackBarData"),fWb=function(){this.politeness="assertive";this.announcementMessage="";this.duration=0;this.data=null;this.horizontalPosition="center";this.verticalPosition="bottom"};var gWb=Math.pow(2,31)-1,MF=function(a,b){var c=this;this._overlayRef=b;this._afterDismissed=new C.Subject;this._afterOpened=new C.Subject;this._onAction=new C.Subject;this._dismissedByAction=!1;this.containerInstance=a;a._onExit.subscribe(function(){return c._finishDismiss()})};MF.prototype.dismiss=function(){this._afterDismissed.closed||this.containerInstance.exit();clearTimeout(this._durationTimeoutId)};
var cta=function(a){a._onAction.closed||(a._dismissedByAction=!0,a._onAction.next(),a._onAction.complete(),a.dismiss());clearTimeout(a._durationTimeoutId)};g=MF.prototype;g._dismissAfter=function(a){var b=this;this._durationTimeoutId=setTimeout(function(){return b.dismiss()},Math.min(a,gWb))};g._open=function(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())};
g._finishDismiss=function(){this._overlayRef.dispose();this._onAction.closed||this._onAction.complete();this._afterDismissed.next({dismissedByAction:this._dismissedByAction});this._afterDismissed.complete();this._dismissedByAction=!1};g.afterOpened=function(){return this.containerInstance._onEnter};g.onAction=function(){return this._onAction};var hWb=ri("state",[ui("void, hidden",ti({transform:"scale(0.8)",opacity:0})),ui("visible",ti({transform:"scale(1)",opacity:1})),vi("* => visible",si("150ms cubic-bezier(0, 0, 0.2, 1)")),vi("* => void, * => hidden",si("75ms cubic-bezier(0.4, 0.0, 1, 1)",ti({opacity:0})))]);var iWb=0,NF=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=hd(Vi);this._trackedModals=new Set;this._announceDelay=150;this._destroyed=!1;this._onAnnounce=new C.Subject;this._onExit=new C.Subject;this._onEnter=new C.Subject;this._animationState="void";this._liveElementId="mat-snack-bar-container-live-"+iWb++;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"))};W(NF,Nx);NF.prototype.attachComponentPortal=function(a){a=this._portalOutlet.attachComponentPortal(a);this._afterPortalAttached();return a};NF.prototype.attachTemplatePortal=function(a){a=this._portalOutlet.attachTemplatePortal(a);this._afterPortalAttached();return a};
var jWb=function(a,b){var c=b.fromState;b=b.toState;("void"===b&&"void"!==c||"hidden"===b)&&a._completeExit();if("visible"===b){var d=a._onEnter;a._ngZone.run(function(){d.next();d.complete()})}};g=NF.prototype;g.enter=function(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())};
g.exit=function(){var a=this;this._ngZone.run(function(){a._animationState="hidden";a._elementRef.nativeElement.setAttribute("mat-exit","");clearTimeout(a._announceTimeoutId)});return this._onExit};g.ngOnDestroy=function(){this._destroyed=!0;this._clearFromModals();this._completeExit()};g._completeExit=function(){var a=this;this._ngZone.onMicrotaskEmpty.pipe(Rf()).subscribe(function(){a._ngZone.run(function(){a._onExit.next();a._onExit.complete()})})};
g._afterPortalAttached=function(){var a=this._elementRef.nativeElement,b=this.snackBarConfig.panelClass;b&&(Array.isArray(b)?b.forEach(function(c){return a.classList.add(c)}):a.classList.add(b));this._exposeToModals()};
g._exposeToModals=function(){for(var a=this._liveElementId,b=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]'),c=0;c<b.length;c++){var d=b[c],e=d.getAttribute("aria-owns");this._trackedModals.add(d);e?-1===e.indexOf(a)&&d.setAttribute("aria-owns",e+" "+a):d.setAttribute("aria-owns",a)}};
g._clearFromModals=function(){var a=this;this._trackedModals.forEach(function(b){var c=b.getAttribute("aria-owns");c&&(c=c.replace(a._liveElementId,"").trim(),0<c.length?b.setAttribute("aria-owns",c):b.removeAttribute("aria-owns"))});this._trackedModals.clear()};g._assertNotAttached=function(){};
g._screenReaderAnnounce=function(){var a=this;this._announceTimeoutId||this._ngZone.runOutsideAngular(function(){a._announceTimeoutId=setTimeout(function(){var b=a._elementRef.nativeElement.querySelector("[aria-hidden]"),c=a._elementRef.nativeElement.querySelector("[aria-live]");if(b&&c){var d=null;a._platform.isBrowser&&document.activeElement instanceof HTMLElement&&b.contains(document.activeElement)&&(d=document.activeElement);b.removeAttribute("aria-hidden");c.appendChild(b);var e;null==(e=d)||
e.focus();a._onAnnounce.next();a._onAnnounce.complete()}},a._announceDelay)})};NF.\u0275fac=function(a){return new (a||NF)(A(hg),A(ke),A(qw),A(yx),A(fWb))};NF.\u0275dir=qd({type:NF,viewQuery:function(a,b){a&1&&ih(Qx,7);if(a&2){var c;hh(c=kh())&&(b._portalOutlet=c.first)}},features:[qg]});var kWb=new Bd("mat-snack-bar-default-options",{providedIn:"root",factory:function(){return new fWb}}),OF=function(a,b,c,d,e,f){this._overlay=a;this._live=b;this._injector=c;this._breakpointObserver=d;this._parentSnackBar=e;this._defaultConfig=f;this._snackBarRefAtThisLevel=null};g=OF.prototype;
g.open=function(a,b,c){b=void 0===b?"":b;var d=Object.assign({},this._defaultConfig,c);d.data={message:a,action:b};d.announcementMessage===a&&(d.announcementMessage=void 0);return this._attach(this.simpleSnackBarComponent,d)};g.dismiss=function(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()};g.ngOnDestroy=function(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()};
g._attachSnackBarContainer=function(a,b){var c=mg({parent:b&&b.viewContainerRef&&b.viewContainerRef.injector||this._injector,providers:[{provide:fWb,useValue:b}]});a=a.attach(new Lx(this.snackBarContainerComponent,b.viewContainerRef,c));a.instance.snackBarConfig=b;return a.instance};
g._attach=function(a,b){var c=this,d=Object.assign({},new fWb,this._defaultConfig,b),e=this._createOverlay(d);b=this._attachSnackBarContainer(e,d);var f=new MF(b,e);if(a instanceof eh)f.instance=b.attachTemplatePortal(new Mx(a,null,{$implicit:d.data,snackBarRef:f}));else{var h=this._createInjector(d,f);a=b.attachComponentPortal(new Lx(a,void 0,h));f.instance=a.instance}this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait)").pipe(dg(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(f,d);return this._openedSnackBarRef=f};
g._animateSnackBar=function(a,b){var c=this;a._afterDismissed.subscribe(function(){c._openedSnackBarRef==a&&(c._openedSnackBarRef=null);b.announcementMessage&&c._live.clear()});this._openedSnackBarRef?(this._openedSnackBarRef._afterDismissed.subscribe(function(){a.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):a.containerInstance.enter();b.duration&&0<b.duration&&a.afterOpened().subscribe(function(){return a._dismissAfter(b.duration)})};
g._createOverlay=function(a){var b=new Az;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"):PKb(c);"top"===a.verticalPosition?c.top("0"):c.bottom("0");b.positionStrategy=c;return this._overlay.create(b)};
g._createInjector=function(a,b){return mg({parent:a&&a.viewContainerRef&&a.viewContainerRef.injector||this._injector,providers:[{provide:MF,useValue:b},{provide:eWb,useValue:a.data}]})};Xi.Object.defineProperties(OF.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}}});
OF.\u0275fac=function(a){return new (a||OF)(n(Iz),n(Ty),n(Zu),n(Ny),n(OF,12),n(kWb))};OF.\u0275prov=Vc({token:OF,factory:OF.\u0275fac});var PF=function(a,b){this.snackBarRef=a;this.data=b};PF.prototype.action=function(){cta(this.snackBarRef)};Xi.Object.defineProperties(PF.prototype,{hasAction:{configurable:!0,enumerable:!0,get:function(){return!!this.data.action}}});PF.\u0275fac=function(a){return new (a||PF)(A(MF),A(eWb))};
PF.\u0275cmp=p({type:PF,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&&(E(0,"span",0),Q(1),F(),P(2,Zsa,3,1,"div",1));a&2&&(z(1),Sg(b.data.message),z(1),D("ngIf",b.hasAction))},dependencies:[yw,tA],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 QF=function(){NF.apply(this,arguments)};W(QF,NF);QF.\u0275dir=NF.\u0275dir;QF.prototype._afterPortalAttached=function(){NF.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")};QF.\u0275fac=function(){var a;return function(b){return(a||(a=ie(QF)))(b||QF)}}();
QF.\u0275cmp=p({type:QF,selectors:[["snack-bar-container"]],hostAttrs:[1,"mat-snack-bar-container"],hostVars:1,hostBindings:function(a,b){a&1&&yia("@state.done",function(c){return jWb(b,c)});a&2&&Mg("@state",b._animationState)},features:[qg],decls:3,vars:3,consts:[["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(a,b){a&1&&(E(0,"div",0),P(1,$sa,0,0,"ng-template",1),F(),H(2,"div"));a&2&&(z(2),ug("aria-live",b._live)("role",b._role)("id",b._liveElementId))},dependencies:[Qx],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:[hWb]}});var RF=function(){};RF.\u0275fac=function(a){return new (a||RF)};RF.\u0275mod=od({type:RF});RF.\u0275inj=Wc({imports:[Lz,Rx,Mw,YC,Mz,Mz]});var SF=function(a,b,c,d,e,f){OF.call(this,a,b,c,d,e,f);this.simpleSnackBarComponent=PF;this.snackBarContainerComponent=QF;this.handsetCssClass="mat-snack-bar-handset"};W(SF,OF);SF.\u0275fac=function(a){return new (a||SF)(n(Iz),n(Ty),n(Zu),n(Ny),n(SF,12),n(kWb))};SF.\u0275prov=Vc({token:SF,factory:SF.\u0275fac,providedIn:RF});var TF=function(a){this.snackBar=a};TF.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(UF,b)};TF.\u0275fac=function(a){return new (a||TF)(n(SF))};TF.\u0275prov=Vc({token:TF,factory:TF.\u0275fac,providedIn:"root"});
var UF=function(a,b){this.data=a;this.snackBarRef=b};UF.\u0275fac=function(a){return new (a||UF)(A(eWb),A(MF))};
UF.\u0275cmp=p({type:UF,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&&(E(0,"div",0),P(1,ata,2,1,"span",1),P(2,
bta,1,1,"span",2),E(3,"div",3),P(4,dta,2,1,"button",4),P(5,eta,2,1,"button",4),P(6,fta,2,0,"button",5),F()());a&2&&(z(1),D("ngIf",!b.data.htmlMessage),z(1),D("ngIf",b.data.htmlMessage),z(2),D("ngIf",b.data.actionLabel),z(1),D("ngIf",b.data.dismissLabel),z(1),D("ngIf",!b.data.dismissLabel))},dependencies:[yw,tA,jB],styles:[".snackbar-content[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;word-break:break-word}button[_ngcontent-%COMP%]:not(.mat-icon-button){height:24px;line-height:24px;padding:0 10px}.mat-icon-button[_ngcontent-%COMP%]{line-height:24px}.actions[_ngcontent-%COMP%]{display:flex;flex-wrap:nowrap;margin-left:5px;align-items:center}\n/*# sourceMappingURL=snackbar_content.css.map */"]});var VF=function(a){this.snackbar=a};VF.prototype.dismiss=function(){this.lastSnackbar&&this.lastSnackbar.dismiss()};var WF=function(a,b,c){a.open({message:b,duration:void 0===c?1E4:c})},lWb=function(a,b,c){a.open({message:b,duration:void 0===c?1E4:c})},XF=function(a,b,c){a.open({message:b,duration:void 0===c?0:c,snackbarType:"ERROR"})};VF.prototype.open=function(a){return this.lastSnackbar=a=this.snackbar.open(a)};VF.\u0275fac=function(a){return new (a||VF)(n(TF))};
VF.\u0275prov=Vc({token:VF,factory:VF.\u0275fac,providedIn:"root"});var YF=function(){};g=YF.prototype;g.debug=function(){rj.apply(null,r(yd.apply(0,arguments)))};g.error=function(){sna.apply(null,r(yd.apply(0,arguments)))};g.info=function(){qna.apply(null,r(yd.apply(0,arguments)))};g.log=function(){rna.apply(null,r(yd.apply(0,arguments)))};g.warn=function(){sj.apply(null,r(yd.apply(0,arguments)))};YF.\u0275fac=function(a){return new (a||YF)};YF.\u0275prov=Vc({token:YF,factory:YF.\u0275fac,providedIn:"root"});var ZF=function(a,b,c,d){this.butterBar=a;this.activeSession=b;this.$log=c;this.timeout=d};
ZF.prototype.errorHandler=function(a,b){var c=this;this.timeout.schedule(function(){var d=403===b.status?"Access denied for: "+c.activeSession.getUserEmail():429===b.status?"Request throttled for: "+c.activeSession.getUserEmail()+". Please wait a few seconds and try again.":Wn(b)?Wn(b):404===b.status?"Invalid ID.":"Unknown HTTP error "+b.status+". Please copy your data and refresh the page.";c.$log.error(d,b);XF(c.butterBar,d)})};
var $F=function(a,b){a.$log.warn(b);XF(a.butterBar,b)},aG=function(a,b){if(Vn(b))a.errorHandler(null,b);else throw b;};ZF.\u0275fac=function(a){return new (a||ZF)(n(VF),n(Vt),n(YF),n(FF))};ZF.\u0275prov=Vc({token:ZF,factory:ZF.\u0275fac,providedIn:"root"});var bG=function(a,b,c,d){this.issueApi=a;this.templatesApi=b;this.errorHandler=c;this.userAccess=d},nWb=function(a,b){b=a.issueApi.getIssue(b).then(function(c){var d=Object,e=d.assign,f=Ba(c.issue.snapshot),h=c.firstEvent.unlinkifiedComment;f.comment=h?h.trim():"";f.status="NEW";f.createdTimeMicros=null;f.version=null;f.changelist=null;f.significanceOverride=null;f.duplicateIssueId=null;f.duplicateOfIssueId=null;return e.call(d,{},{snapshot:f,customFieldMap:{}},{trackerId:c.issue.trackerId})}).then(function(c){return mWb(a,
c)});b.catch(function(c){a.errorHandler.errorHandler(null,c)});return b},mWb=function(a,b){var c=b.snapshot.hotlistId;if(!c)return b;var d=c.map(function(e){return JF(a.userAccess,"appender","hotlists/"+e)});return Promise.all(d).then(function(e){b.snapshot.hotlistId=c.filter(function(f,h){return e[h]});return b})};bG.\u0275fac=function(a){return new (a||bG)(n(PE),n(BF),n(ZF),n(IF))};bG.\u0275prov=Vc({token:bG,factory:bG.\u0275fac,providedIn:"root"});var cG=function(){this.bookmarkGroupModified=new C.Subject;this.commentSubmitted=new C.Subject;this.commentRendered=new C.Subject;this.componentModified=new C.Subject;this.contactChipsRevertChanges=new C.Subject;this.customFieldsModified=new C.Subject;this.dashboardPanels={moveDown:new C.Subject,moveUp:new C.Subject,moveToTop:new C.Subject,moveToBottom:new C.Subject,remove:new C.Subject};this.favoritesModified=new C.Subject;this.hotlistCreated=new C.Subject;this.onClickAppMenuIcon=new C.Subject;this.openEditField=
new C.Subject;this.sidebarWidthChanged=new C.Subject;this.hotlistChanged=new C.Subject;this.savedSearchModified=new C.Subject;this.sidebarUpdated=new C.Subject;this.topBarEvents={browseComponents:new C.Subject,manageHotlists:new C.Subject,manageSlos:new C.Subject,setDensity:new C.Subject,openSettings:new C.Subject};this.templateModified=new C.Subject;this.issueViewed=new C.Subject;this.issueEdited=new C.Subject;this.focusCommentBox=new C.Subject;this.scrollToCommentBox=new C.Subject;this.needsAttentionIssueCount=
new C.Subject;this.recaptchaSubmitted=new C.Subject};cG.\u0275fac=function(a){return new (a||cG)};cG.\u0275prov=Vc({token:cG,factory:cG.\u0275fac,providedIn:"root"});var dG=function(a,b){rF.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(Gf(nk),B(function(e){return e.templates}),B(function(e){var f;return null!=(f=e.find(function(h){return h.default}))?f:e[0]}))};this.appEvents.templateModified.pipe(Gf(function(d){return!!d&&"0"!==d})).subscribe(function(d){c.poke(d)})};W(dG,rF);
dG.prototype.fetchOne=function(a){return(0,C.from)(this.template.templatesApi.query(Number(a)).then(function(b){return{componentId:a,templates:b}}))};dG.\u0275fac=function(a){return new (a||dG)(n(bG),n(cG))};dG.\u0275prov=Vc({token:dG,factory:dG.\u0275fac,providedIn:"root"});var eG=function(a){Y.call(this,a,-1,oWb)};W(eG,Y);eG.prototype.getIssueId=function(){return ol(this,1)};eG.prototype.setIssueId=function(a){return k(this,1,a)};eG.prototype.setCurrentTrackerId=function(a){k(this,3,a)};var oWb=[2];eG.messageId="b.BatchGetIssueCommentsRequest";var qWb=function(a){Y.call(this,a,-1,pWb)};W(qWb,Y);qWb.prototype.getIssueCommentsList=function(){return yj(this,sE,1)};var pWb=[1];qWb.messageId="b.BatchGetIssueCommentsResponse";var fG=function(a,b){this.jspbExecutor=a;this.currentTrackerId=b};fG.prototype.batchGet=function(a,b){a=(new eG).setIssueId(Number(a));b=Mb(a,2,b,ub);(a=this.currentTrackerId.getTrackerId())&&b.setCurrentTrackerId(a);return this.jspbExecutor.post({url:"action/comments/batch",responseConstructor:qWb,body:b}).pipe(B(Cqa))};fG.\u0275fac=function(a){return new (a||fG)(n(KD),n(FE))};fG.\u0275prov=Vc({token:fG,factory:fG.\u0275fac,providedIn:"root"});var gG=function(a,b){rF.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)}})};W(gG,rF);
gG.prototype.fetchSet=function(a){var b=this,c=a[0].split("-")[0];return(0,C.combineLatest)(a.map(function(d){return b.get(d)})).pipe(B(function(d){var e=[];d=m(d);for(var f=d.next();!f.done;f=d.next())if(f=f.value){var h=void 0,l={issueId:c,commentId:null!=(h=f.commentNumber)?h:0};e.push({id:l,formattedComment:f})}return e}))};
gG.prototype.call=function(a){var b="",c=[];a=m(a);for(var d=a.next();!d.done;d=a.next()){var e=m(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(B(function(f){var h=b,l=new Map;f=m(f);for(var q=f.next();!q.done;q=f.next()){q=q.value;var u=void 0,x=Number(h)+"-"+(null!=(u=q.commentNumber)?u:0);l.set(x,q)}return l}))};gG.prototype.splitBatch=function(a,b){return b.get(a)};
gG.\u0275fac=function(a){return new (a||gG)(n(fG),n(uF))};gG.\u0275prov=Vc({token:gG,factory:gG.\u0275fac,providedIn:"root"});var sWb=function(a){Y.call(this,a,-1,rWb)};W(sWb,Y);var rWb=[1,2];sWb.messageId="b.CheckPermissionResponse";var hG=function(){},iG=function(a){this.executor=a};g=iG.prototype;g.get=function(a,b){a=Xn(Yn(a,b));return this.executor.get({url:"action/access_policies/"+a,responseConstructor:RD}).pipe(B(moa))};
g.update=function(a,b,c){a=Xn(Yn(a,b));b=new RD;var d,e=(null!=(d=c.admins)?d:[]).map(sk);ac(b,2,e);var f;b.setAppendersList((null!=(f=c.appenders)?f:[]).map(sk));var h;d=(null!=(h=c.editors)?h:[]).map(sk);ac(b,4,d);var l;b.setReadersList((null!=(l=c.readers)?l:[]).map(sk));var q;h=(null!=(q=c.restrictedReaders)?q:[]).map(sk);ac(b,11,h);var u;q=(null!=(u=c.restrictedPlusReaders)?u:[]).map(sk);ac(b,12,q);c.implicitAccess&&b.setImplicitAccess(wSb[c.implicitAccess]);return this.executor.post({url:"action/access_policies/"+
a,body:b,responseConstructor:RD}).pipe(B(moa))};g.checkPermission=function(a,b,c,d){a=Xn(a.join(","));b=Xn(b);c=Xn(Yn(c,d));return this.executor.get({url:"action/check_permission/"+a+"/"+b+"/"+c,responseConstructor:sWb}).pipe(B(joa))};g.setAccessLimit=function(a,b,c){a=Xn(Yn(a,b));c=doa(c);return this.executor.post({url:"action/access_limits/"+a,body:c,responseConstructor:Xj}).pipe(B(boa))};
g.checkComponentImplicitAccessEnabled=function(a){return this.get("COMPONENT",a).pipe(B(function(b){return"ALLOW"===b.implicitAccess}))};iG.\u0275fac=function(a){return new (a||iG)(n(KD))};iG.\u0275prov=Vc({token:iG,factory:iG.\u0275fac,providedIn:"root"});var jG=function(a){this.observableApi=a};W(jG,hG);g=jG.prototype;g.get=function(a,b){return(0,C.firstValueFrom)(this.observableApi.get(a,b))};g.update=function(a,b,c){return(0,C.firstValueFrom)(this.observableApi.update(a,b,c))};
g.checkPermission=function(a,b,c,d){return(0,C.firstValueFrom)(this.observableApi.checkPermission(a,b,c,d))};g.setAccessLimit=function(a,b,c){return(0,C.firstValueFrom)(this.observableApi.setAccessLimit(a,b,c))};g.checkComponentImplicitAccessEnabled=function(a){return(0,C.firstValueFrom)(this.observableApi.checkComponentImplicitAccessEnabled(a))};jG.\u0275fac=function(a){return new (a||jG)(n(iG))};jG.\u0275prov=Vc({token:jG,factory:jG.\u0275fac,providedIn:"root"});var kG=function(a){rF.call(this);this.accessPolicyApi=a;this.recordType="hotlistAccessPolicy";this.isEqual=Fj};W(kG,rF);kG.prototype.fetchOne=function(a){return this.accessPolicyApi.get("HOTLIST",a).pipe(B(function(b){return Object.assign({},{id:a},b)}))};kG.prototype.doSave=function(a){var b=a.id;return this.accessPolicyApi.update("HOTLIST",b,a).pipe(B(function(c){return Object.assign({},{id:b},c)}))};kG.\u0275fac=function(a){return new (a||kG)(n(iG))};
kG.\u0275prov=Vc({token:kG,factory:kG.\u0275fac,providedIn:"root"});var tWb=function(a){this.allowExecution=a;this.queue=[]};tWb.prototype.addTask=function(a){this.queue.push(a);uWb(this)};var uWb=function(a){if(0!==a.queue.length)if(a.allowExecution()){var b=m(a.queue),c=b.next().value;a.queue=Ff(b);c();uWb(a)}else setTimeout(function(){uWb(a)},0)};var Co=Symbol("yc"),lG=function(a){this.params=a||{}};lG.prototype.has=function(a){return Object.prototype.hasOwnProperty.call(this.params,a)};lG.prototype.get=function(a){return this.has(a)?(a=this.params[a],Array.isArray(a)?a[0]:a):null};lG.prototype.getAll=function(a){return this.has(a)?(a=this.params[a],Array.isArray(a)?a:[a]):[]};Xi.Object.defineProperties(lG.prototype,{keys:{configurable:!0,enumerable:!0,get:function(){return Object.keys(this.params)}}});var tta={exact:yta,subset:Bta},uta={exact:wta,subset:zta,ignored:function(){return!0}},ko=function(a,b,c){a=void 0===a?new jo([],{}):a;b=void 0===b?{}:b;this.root=a;this.queryParams=b;this.fragment=void 0===c?null:c};ko.prototype.toString=function(){return vWb.serialize(this)};Xi.Object.defineProperties(ko.prototype,{queryParamMap:{configurable:!0,enumerable:!0,get:function(){this._queryParamMap||(this._queryParamMap=new lG(this.queryParams));return this._queryParamMap}}});
var jo=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})};jo.prototype.hasChildren=function(){return 0<this.numberOfChildren};jo.prototype.toString=function(){return Gta(this)};Xi.Object.defineProperties(jo.prototype,{numberOfChildren:{configurable:!0,enumerable:!0,get:function(){return Object.keys(this.children).length}}});var oo=function(a,b){this.path=a;this.parameters=b};
oo.prototype.toString=function(){return Eta(this.path)+Fta(this.parameters)};var mG=function(){};mG.\u0275fac=function(a){return new (a||mG)};mG.\u0275prov=Vc({token:mG,factory:function(){return new oG},providedIn:"root"});var oG=function(){};oG.prototype.parse=function(a){a=new wWb(a);pG(a,"/");var b=""===a.remaining||a.remaining.startsWith("?")||a.remaining.startsWith("#")?new jo([],{}):new jo([],xWb(a));return new ko(b,a.parseQueryParams(),pG(a,"#")?decodeURIComponent(a.remaining):null)};
oG.prototype.serialize=function(a){var b="/"+io(a.root,!0),c=Jta(a.queryParams);a="string"===typeof a.fragment?"#"+encodeURI(a.fragment):"";return b+c+a};var vWb=new oG,Kta=/^[^\/()?;#]+/,yWb=/^[^\/()?;=#]+/,zWb=/^[^=?&#]+/,AWb=/^[^&#]+/,wWb=function(a){this.remaining=this.url=a};
wWb.prototype.parseQueryParams=function(){var a={};if(pG(this,"?")){do{var b,c=this.remaining.match(zWb);if(b=c?c[0]:""){this.capture(b);c="";if(pG(this,"=")){var d;if(d=(d=this.remaining.match(AWb))?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(pG(this,"&"))}return a};
var xWb=function(a){if(""===a.remaining)return{};pG(a,"/");var b=[];for(a.remaining.startsWith("(")||b.push(BWb(a));a.remaining.startsWith("/")&&!a.remaining.startsWith("//")&&!a.remaining.startsWith("/(");)a.capture("/"),b.push(BWb(a));var c={};a.remaining.startsWith("/(")&&(a.capture("/"),c=CWb(a,!0));var d={};a.remaining.startsWith("(")&&(d=CWb(a,!1));if(0<b.length||0<Object.keys(c).length)d.primary=new jo(b,c);return d},BWb=function(a){var b=Lta(a.remaining);if(""===b&&a.remaining.startsWith(";"))throw new $c(4009,
!1);a.capture(b);b=decodeURIComponent(b);for(var c={};pG(a,";");){var d,e=a;if(d=(d=e.remaining.match(yWb))?d[0]:""){e.capture(d);var f="";if(pG(e,"=")){var h=Lta(e.remaining);h&&(f=h,e.capture(f))}c[decodeURIComponent(d)]=decodeURIComponent(f)}}return new oo(b,c)},CWb=function(a,b){var c={};for(a.capture("(");!pG(a,")")&&0<a.remaining.length;){var d=Lta(a.remaining),e=a.remaining[d.length];if("/"!==e&&")"!==e&&";"!==e)throw new $c(4010,!1);e=void 0;-1<d.indexOf(":")?(e=d.slice(0,d.indexOf(":")),
a.capture(e),a.capture(":")):b&&(e="primary");d=xWb(a);c[e]=1===Object.keys(d).length?d.primary:new jo([],d);pG(a,"//")}return c},pG=function(a,b){return a.remaining.startsWith(b)?(a.remaining=a.remaining.substring(b.length),!0):!1};wWb.prototype.capture=function(a){if(!pG(this,a))throw new $c(4011,!1);};var Wta=function(a,b,c){this.isAbsolute=a;this.numberOfDoubleDots=b;this.commands=c;if(a&&0<c.length&&Sta(c[0]))throw new $c(4003,!1);if((a=c.find(no))&&a!==(0<c.length?c[c.length-1]:null))throw new $c(4004,!1);},Rta=function(a,b,c){this.segmentGroup=a;this.processChildren=b;this.index=c};var qG=function(a,b){this.id=a;this.url=b},Wo=function(a,b,c,d){c=void 0===c?"imperative":c;d=void 0===d?null:d;qG.call(this,a,b);this.type=0;this.navigationTrigger=c;this.restoredState=d};W(Wo,qG);Wo.prototype.toString=function(){return"NavigationStart(id: "+this.id+", url: '"+this.url+"')"};var Do=function(a,b,c){qG.call(this,a,b);this.urlAfterRedirects=c;this.type=1};W(Do,qG);
Do.prototype.toString=function(){return"NavigationEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"')"};var Eo=function(a,b,c,d){qG.call(this,a,b);this.reason=c;this.code=d;this.type=2};W(Eo,qG);Eo.prototype.toString=function(){return"NavigationCancel(id: "+this.id+", url: '"+this.url+"')"};var Go=function(a,b,c,d){qG.call(this,a,b);this.reason=c;this.code=d;this.type=16};W(Go,qG);
var Fo=function(a,b,c,d){qG.call(this,a,b);this.error=c;this.target=d;this.type=3};W(Fo,qG);Fo.prototype.toString=function(){return"NavigationError(id: "+this.id+", url: '"+this.url+"', error: "+this.error+")"};var DWb=function(a,b,c,d){qG.call(this,a,b);this.urlAfterRedirects=c;this.state=d;this.type=4};W(DWb,qG);DWb.prototype.toString=function(){return"RoutesRecognized(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"};
var EWb=function(a,b,c,d){qG.call(this,a,b);this.urlAfterRedirects=c;this.state=d;this.type=7};W(EWb,qG);EWb.prototype.toString=function(){return"GuardsCheckStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"};var FWb=function(a,b,c,d,e){qG.call(this,a,b);this.urlAfterRedirects=c;this.state=d;this.shouldActivate=e;this.type=8};W(FWb,qG);
FWb.prototype.toString=function(){return"GuardsCheckEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+", shouldActivate: "+this.shouldActivate+")"};var GWb=function(a,b,c,d){qG.call(this,a,b);this.urlAfterRedirects=c;this.state=d;this.type=5};W(GWb,qG);GWb.prototype.toString=function(){return"ResolveStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"};
var HWb=function(a,b,c,d){qG.call(this,a,b);this.urlAfterRedirects=c;this.state=d;this.type=6};W(HWb,qG);HWb.prototype.toString=function(){return"ResolveEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"};var IWb=function(a){this.route=a;this.type=9};IWb.prototype.toString=function(){return"RouteConfigLoadStart(path: "+this.route.path+")"};var JWb=function(a){this.route=a;this.type=10};
JWb.prototype.toString=function(){return"RouteConfigLoadEnd(path: "+this.route.path+")"};var Dua=function(a){this.snapshot=a;this.type=11};Dua.prototype.toString=function(){return"ChildActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"};var KWb=function(a){this.snapshot=a;this.type=12};KWb.prototype.toString=function(){return"ChildActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"};
var Eua=function(a){this.snapshot=a;this.type=13};Eua.prototype.toString=function(){return"ActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"};var LWb=function(a){this.snapshot=a;this.type=14};LWb.prototype.toString=function(){return"ActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"};var MWb=function(a,b){this.position=a;this.anchor=b;this.type=15};
MWb.prototype.toString=function(){return"Scroll(anchor: '"+this.anchor+"', position: '"+(this.position?this.position[0]+", "+this.position[1]:null)+"')"};var NWb=function(){this.injector=this.route=this.outlet=null;this.children=new rG;this.attachRef=null},rG=function(){this.contexts=new Map},OWb=function(a,b){if(a=a.getContext(b))a.outlet=null,a.attachRef=null},PWb=function(a,b){var c=a.getContext(b);c||(c=new NWb,a.contexts.set(b,c));return c};rG.prototype.getContext=function(a){return this.contexts.get(a)||null};rG.\u0275fac=function(a){return new (a||rG)};rG.\u0275prov=Vc({token:rG,factory:rG.\u0275fac,providedIn:"root"});var sG=function(a){this._root=a};sG.prototype.parent=function(a){a=this.pathFromRoot(a);return 1<a.length?a[a.length-2]:null};sG.prototype.children=function(a){return(a=aua(a,this._root))?a.children.map(function(b){return b.value}):[]};sG.prototype.firstChild=function(a){return(a=aua(a,this._root))&&0<a.children.length?a.children[0].value:null};sG.prototype.pathFromRoot=function(a){return bua(a,this._root).map(function(b){return b.value})};
Xi.Object.defineProperties(sG.prototype,{root:{configurable:!0,enumerable:!0,get:function(){return this._root.value}}});var qo=function(a,b){this.value=a;this.children=b};qo.prototype.toString=function(){return"TreeNode("+this.value+")"};var dua=function(a,b){this._root=a;this.snapshot=b;hua(this,a)};W(dua,sG);dua.prototype.toString=function(){return this.snapshot.toString()};var so=function(a,b,c,d,e,f,h,l){this.url=a;this.params=b;this.queryParams=c;this.fragment=d;this.data=e;this.outlet=f;this.component=h;this._futureSnapshot=l;var q,u;this.title=null!=(u=null==(q=this.data)?void 0:q.pipe(B(function(x){return x[Co]})))?u:(0,C.of)(void 0)};
so.prototype.toString=function(){return this.snapshot?this.snapshot.toString():"Future("+this._futureSnapshot+")"};
Xi.Object.defineProperties(so.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(B(function(a){return new lG(a)})));return this._paramMap}},queryParamMap:{configurable:!0,enumerable:!0,get:function(){this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(B(function(a){return new lG(a)})));return this._queryParamMap}}});
var ro=function(a,b,c,d,e,f,h,l,q){this.url=a;this.params=b;this.queryParams=c;this.fragment=d;this.data=e;this.outlet=f;this.component=h;this.routeConfig=l;this._resolve=q};ro.prototype.toString=function(){return"Route(url:'"+this.url.map(function(a){return a.toString()}).join("/")+"', path:'"+(this.routeConfig?this.routeConfig.path:"")+"')"};
Xi.Object.defineProperties(ro.prototype,{title:{configurable:!0,enumerable:!0,get:function(){var a;return null==(a=this.data)?void 0:a[Co]}},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 lG(this.params));return this._paramMap}},queryParamMap:{configurable:!0,enumerable:!0,get:function(){this._queryParamMap||(this._queryParamMap=new lG(this.queryParams));return this._queryParamMap}}});var cua=function(a,b){this._root=b;this.url=a;hua(this,b)};W(cua,sG);cua.prototype.toString=function(){return iua(this._root)};var tG=function(){this._activatedRoute=this.activated=null;this.name="primary";this.activateEvents=new Rv;this.deactivateEvents=new Rv;this.attachEvents=new Rv;this.detachEvents=new Rv;this.parentContexts=hd(rG);this.location=hd(fh);this.changeDetector=hd(qw);this.environmentInjector=hd(Uu);this.inputBinder=hd(QWb,{optional:!0})};tG.prototype.ngOnChanges=function(a){if(a.name){a=a.name;var b=a.previousValue;a.firstChange||(RWb(this,b)&&(this.deactivate(),OWb(this.parentContexts,b)),SWb(this))}};
tG.prototype.ngOnDestroy=function(){RWb(this,this.name)&&OWb(this.parentContexts,this.name);var a;null==(a=this.inputBinder)||uG(a,this)};var RWb=function(a,b){var c;return(null==(c=a.parentContexts.getContext(b))?void 0:c.outlet)===a};tG.prototype.ngOnInit=function(){SWb(this)};
var SWb=function(a){var b=a.parentContexts,c=a.name,d=PWb(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):TWb(a,b.route,b.injector))};tG.prototype.detach=function(){if(!this.activated)throw new $c(4012,!1);this.location.detach();var a=this.activated;this._activatedRoute=this.activated=null;this.detachEvents.emit(a.instance);return a};
tG.prototype.attach=function(a,b){this.activated=a;this._activatedRoute=b;this.location.insert(a.hostView);null!=(b=this.inputBinder)&&(uG(b,this),UWb(b,this));this.attachEvents.emit(a.instance)};tG.prototype.deactivate=function(){if(this.activated){var a=this.component;this.activated.destroy();this._activatedRoute=this.activated=null;this.deactivateEvents.emit(a)}};
var TWb=function(a,b,c){if(a.isActivated)throw new $c(4013,!1);a._activatedRoute=b;var d=a.location,e=b.snapshot.component,f=PWb(a.parentContexts,a.name).children;a.activated=d.createComponent(e,{index:d.length,injector:new VWb(b,f,d.injector),environmentInjector:null!=c?c:a.environmentInjector});a.changeDetector.markForCheck();null!=(b=a.inputBinder)&&(uG(b,a),UWb(b,a));a.activateEvents.emit(a.activated.instance)};
Xi.Object.defineProperties(tG.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 $c(4012,!1);return this.activated.instance}},activatedRoute:{configurable:!0,enumerable:!0,get:function(){if(!this.activated)throw new $c(4012,!1);return this._activatedRoute}}});
tG.\u0275fac=function(a){return new (a||tG)};tG.\u0275dir=qd({type:tG,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Hd]});var VWb=function(a,b,c){this.route=a;this.childContexts=b;this.parent=c};VWb.prototype.get=function(a,b){return a===so?this.route:a===rG?this.childContexts:this.parent.get(a,b)};
var QWb=new Bd(""),vG=function(){this.outletDataSubscriptions=new Map},uG=function(a,b){var c;null==(c=a.outletDataSubscriptions.get(b))||c.unsubscribe();a.outletDataSubscriptions.delete(b)},UWb=function(a,b){var c=b.activatedRoute,d=(0,C.combineLatest)([c.queryParams,c.params,c.data]).pipe(cg(function(e){var f=m(e);e=f.next().value;var h=f.next().value;f=f.next().value;return Promise.resolve(Object.assign({},e,h,f))})).subscribe(function(e){if(b.isActivated&&b.activatedComponentRef&&b.activatedRoute===
c&&null!==c.component){var f=fja(c.component);if(f){f=m(f.inputs);for(var h=f.next();!h.done;h=f.next())h=h.value.templateName,b.activatedComponentRef.setInput(h,e[h])}else uG(a,b)}else uG(a,b)});a.outletDataSubscriptions.set(b,d)};vG.\u0275fac=function(a){return new (a||vG)};vG.\u0275prov=Vc({token:vG,factory:vG.\u0275fac});var to=function(){};to.\u0275fac=function(a){return new (a||to)};to.\u0275cmp=p({type:to,selectors:[["ng-component"]],standalone:!0,features:[Lia],decls:1,vars:0,template:function(a){a&1&&H(0,"router-outlet")},dependencies:[tG],encapsulation:2});var XWb=function(a,b,c,d){return B(function(e){(new WWb(b,e.targetRouterState,e.currentRouterState,c,d)).activate(a);return e})},WWb=function(a,b,c,d,e){this.routeReuseStrategy=a;this.futureState=b;this.currState=c;this.forwardEvent=d;this.inputBindingEnabled=e};WWb.prototype.activate=function(a){var b=this.futureState._root,c=this.currState?this.currState._root:null;YWb(this,b,c,a);jua(this.futureState.root);wG(this,b,c,a)};
var YWb=function(a,b,c,d){var e=po(c);b.children.forEach(function(f){var h=f.value.outlet,l=e[h],q=f.value,u=l?l.value:null;q===u?q.component?(q=d.getContext(q.outlet))&&YWb(a,f,l,q.children):YWb(a,f,l,d):u&&ZWb(a,l,d);delete e[h]});Object.values(e).forEach(function(f){ZWb(a,f,d)})},ZWb=function(a,b,c){var d=c.getContext(b.value.outlet);c=d&&b.value.component?d.children:c;b=po(b);for(var e=m(Object.keys(b)),f=e.next();!f.done;f=e.next())ZWb(a,b[f.value],c);d&&(d.outlet&&(d.outlet.deactivate(),d.children.contexts=
new Map),d.attachRef=null,d.route=null)},wG=function(a,b,c,d){var e=po(c);b.children.forEach(function(f){var h=e[f.value.outlet],l=f.value,q=h?h.value:null;jua(l);l===q?l.component?(l=PWb(d,l.outlet),wG(a,f,h,l.children)):wG(a,f,h,d):l.component?(h=PWb(d,l.outlet),q=vo(l.snapshot),h.attachRef=null,h.route=l,h.injector=q,h.outlet&&TWb(h.outlet,l,h.injector),wG(a,f,null,h.children)):wG(a,f,null,d);a.forwardEvent(new LWb(f.value.snapshot))});b.children.length&&a.forwardEvent(new KWb(b.value.snapshot))};var uua=Symbol("Ac");var wua=function(a){this.path=a;this.route=this.path[this.path.length-1]},xua=function(a,b){this.component=a;this.route=b};var Kua=function(a){this.segmentGroup=a||null},$Wb=function(a){this.urlTree=a},aXb=function(a,b){this.urlSerializer=a;this.urlTree=b},bXb=function(a){var b=[];for(a=a.root;;){b=b.concat(a.segments);if(0===a.numberOfChildren)return(0,C.of)(b);if(1<a.numberOfChildren||!a.children.primary)return(0,C.throwError)(new $c(4E3,!1));a=a.children.primary}},eXb=function(a,b,c,d){var e=a.urlSerializer.parse(c);b=cXb(a,c,e.root,b,d);return new ko(b,dXb(e.queryParams,a.urlTree.queryParams),e.fragment)},dXb=function(a,
b){var c={};Object.entries(a).forEach(function(d){var e=m(d);d=e.next().value;e=e.next().value;c[d]="string"===typeof e&&e.startsWith(":")?b[e.substring(1)]:e});return c},cXb=function(a,b,c,d,e){var f=fXb(c.segments,d,e),h={};Object.entries(c.children).forEach(function(l){var q=m(l);l=q.next().value;q=q.next().value;h[l]=cXb(a,b,q,d,e)});return new jo(f,h)},fXb=function(a,b,c){return a.map(function(d){if(d.path.startsWith(":")){if(d=c[d.path.substring(1)],!d)throw new $c(4001,!1);}else a:for(var e=
0,f=m(b),h=f.next();!h.done;h=f.next()){h=h.value;if(h.path===d.path){b.splice(e);d=h;break a}e++}return d})};var Mua={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};var Vua=function(a,b,c,d,e,f,h){this.injector=a;this.configLoader=b;this.rootComponentType=c;this.config=d;this.urlTree=e;this.paramsInheritanceStrategy=f;this.urlSerializer=h;this.allowRedirects=!0;this.applyRedirects=new aXb(this.urlSerializer,this.urlTree)};
Vua.prototype.recognize=function(){var a=this,b=Rua(this.urlTree.root,[],[],this.config).segmentGroup;return gXb(this,this.injector,this.config,b,"primary").pipe(Lf(function(c){if(c instanceof $Wb)return a.allowRedirects=!1,a.urlTree=c.urlTree,a.match(c.urlTree);if(c instanceof Kua)throw new $c(4002,!1);throw c;}),B(function(c){var d=new ro([],Object.freeze({}),Object.freeze(Object.assign({},a.urlTree.queryParams)),a.urlTree.fragment,{},"primary",a.rootComponentType,null,{});c=new cua("",new qo(d,
c));var e=a.urlTree.queryParams,f=a.urlTree.fragment;e=void 0===e?null:e;f=void 0===f?null:f;d=Ota(d);d=Uta(d,[],e,f);d.queryParams=a.urlTree.queryParams;c.url=a.urlSerializer.serialize(d);hXb(a,c._root);return{state:c,tree:d}}))};Vua.prototype.match=function(a){return gXb(this,this.injector,this.config,a.root,"primary").pipe(Lf(function(b){if(b instanceof Kua)throw new $c(4002,!1);throw b;}))};
var hXb=function(a,b){var c=b.value,d=gua(c,a.paramsInheritanceStrategy);c.params=Object.freeze(d.params);c.data=Object.freeze(d.data);b.children.forEach(function(e){return hXb(a,e)})},gXb=function(a,b,c,d,e){return 0===d.segments.length&&d.hasChildren()?a.processChildren(b,c,d):iXb(a,b,c,d,d.segments,e,!0)};
Vua.prototype.processChildren=function(a,b,c){for(var d=this,e=[],f=m(Object.keys(c.children)),h=f.next();!h.done;h=f.next())h=h.value,"primary"===h?e.unshift(h):e.push(h);return(0,C.from)(e).pipe(zf(function(l){var q=c.children[l],u=tua(b,l);return gXb(d,a,u,q,l)},1),Wf(function(l,q){l.push.apply(l,r(q));return l}),Of(null),jha(),zf(function(l){if(null===l)return Bo(c);l=Uua(l);Sua(l);return(0,C.of)(l)}))};
var iXb=function(a,b,c,d,e,f,h){return(0,C.from)(c).pipe(zf(function(l){var q;return jXb(a,null!=(q=l._injector)?q:b,c,l,d,e,f,h).pipe(Lf(function(u){if(u instanceof Kua)return(0,C.of)(null);throw u;}))},1),Uf(function(l){return!!l}),Lf(function(l){if(yua(l))return 0!==e.length||d.children[f]?Bo(d):(0,C.of)([]);throw l;}))},jXb=function(a,b,c,d,e,f,h,l){if((uo(d)===h||"primary"!==h&&Qua(e,f,d))&&("**"===d.path||Lua(e,d,f).matched))if(void 0===d.redirectTo)a=kXb(a,b,e,d,f,h);else{var q;l&&a.allowRedirects?
q="**"===d.path?lXb(a,b,c,d,h):mXb(a,b,e,c,d,f,h):q=Bo(e);a=q}else a=Bo(e);return a},lXb=function(a,b,c,d,e){var f=eXb(a.applyRedirects,[],d.redirectTo,{});return d.redirectTo.startsWith("/")?(0,C.throwError)(new $Wb(f)):bXb(f).pipe(zf(function(h){var l=new jo(h,{});return iXb(a,b,c,l,h,e,!1)}))},mXb=function(a,b,c,d,e,f,h){f=Lua(c,e,f);var l=f.consumedSegments,q=f.remainingSegments,u=f.positionalParamSegments;if(!f.matched)return Bo(c);f=eXb(a.applyRedirects,l,e.redirectTo,u);return e.redirectTo.startsWith("/")?
(0,C.throwError)(new $Wb(f)):bXb(f).pipe(zf(function(x){return iXb(a,b,d,c,x.concat(q),h,!1)}))},kXb=function(a,b,c,d,e,f){var h;if("**"===d.path){var l,q=new ro(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||{},uo(d),null!=(l=null!=(h=d.component)?h:d._loadedComponent)?l:null,d,d.resolve||{});h=(0,C.of)({snapshot:q,consumedSegments:[],remainingSegments:[]});c.children={}}else h=Nua(c,d,e,b).pipe(B(function(u){var x=
u.consumedSegments,y=u.remainingSegments;if(!u.matched)return null;var G,L;return{snapshot:new ro(x,u.parameters,Object.freeze(Object.assign({},a.urlTree.queryParams)),a.urlTree.fragment,d.data||{},uo(d),null!=(L=null!=(G=d.component)?G:d._loadedComponent)?L:null,d,d.resolve||{}),consumedSegments:x,remainingSegments:y}}));return h.pipe(cg(function(u){if(null===u)return Bo(c);var x;b=null!=(x=d._injector)?x:b;return nXb(a,b,d,e).pipe(cg(function(y){y=y.routes;var G,L=null!=(G=d._loadedInjector)?G:
b,M=u.snapshot,T=Rua(c,u.consumedSegments,u.remainingSegments,y);G=T.segmentGroup;T=T.slicedSegments;return 0===T.length&&G.hasChildren()?a.processChildren(L,y,G).pipe(B(function(S){return null===S?null:[new qo(M,S)]})):0===y.length&&0===T.length?(0,C.of)([new qo(M,[])]):iXb(a,L,y,G,T,uo(d)===f?"primary":f,!0).pipe(B(function(S){return[new qo(M,S)]}))}))}))},nXb=function(a,b,c,d){return c.children?(0,C.of)({routes:c.children,injector:b}):c.loadChildren?void 0!==c._loadedRoutes?(0,C.of)({routes:c._loadedRoutes,
injector:c._loadedInjector}):Iua(b,c,d).pipe(zf(function(e){return e?a.configLoader.loadChildren(b,c).pipe(eg(function(f){c._loadedRoutes=f.routes;c._loadedInjector=f.injector})):(0,C.throwError)(oua(3))})):(0,C.of)({routes:[],injector:b})};var oXb=new Bd("ROUTES"),xG=function(){this.componentLoaders=new WeakMap;this.childrenLoaders=new WeakMap;hd(kv)};
xG.prototype.loadComponent=function(a){var b=this;if(this.componentLoaders.get(a))return this.componentLoaders.get(a);if(a._loadedComponent)return(0,C.of)(a._loadedComponent);if(this.onLoadStartListener)this.onLoadStartListener(a);var c=go(a.loadComponent()).pipe(B(cva),eg(function(d){if(b.onLoadEndListener)b.onLoadEndListener(a);a._loadedComponent=d}),Tf(function(){b.componentLoaders.delete(a)}));c=(new C.ConnectableObservable(c,function(){return new C.Subject})).pipe(lf());this.componentLoaders.set(a,
c);return c};
xG.prototype.loadChildren=function(a,b){var c=this;if(this.childrenLoaders.get(b))return this.childrenLoaders.get(b);if(b._loadedRoutes)return(0,C.of)({routes:b._loadedRoutes,injector:b._loadedInjector});if(this.onLoadStartListener)this.onLoadStartListener(b);var d=pXb(b.loadChildren).pipe(B(function(e){if(c.onLoadEndListener)c.onLoadEndListener(b);if(!Array.isArray(e)){var f=e.create(a).injector;e=f.get(oXb,[],10).flat()}return{routes:e.map(sua),injector:f}}),Tf(function(){c.childrenLoaders.delete(b)}));d=
(new C.ConnectableObservable(d,function(){return new C.Subject})).pipe(lf());this.childrenLoaders.set(b,d);return d};var pXb=function(a){return go(a()).pipe(B(cva),zf(function(b){return b instanceof eFb||Array.isArray(b)?(0,C.of)(b):(0,C.from)(Promise.resolve(new DFb(b)))}))};xG.\u0275fac=function(a){return new (a||xG)};xG.\u0275prov=Vc({token:xG,factory:xG.\u0275fac,providedIn:"root"});var yG=function(){var a=this;this.lastSuccessfulNavigation=this.currentNavigation=null;this.events=new C.Subject;this.configLoader=hd(xG);this.environmentInjector=hd(Uu);this.urlSerializer=hd(mG);this.rootContexts=hd(rG);this.inputBindingEnabled=null!==hd(QWb,{optional:!0});this.navigationId=0;this.afterPreactivation=function(){return(0,C.of)(void 0)};this.rootComponentType=null;this.configLoader.onLoadEndListener=function(b){return a.events.next(new JWb(b))};this.configLoader.onLoadStartListener=
function(b){return a.events.next(new IWb(b))}};yG.prototype.complete=function(){var a;null==(a=this.transitions)||a.complete()};
var qXb=function(a,b){var c=++a.navigationId,d;null==(d=a.transitions)||d.next(Object.assign({},a.transitions.value,b,{id:c}))},vXb=function(a,b){a.transitions=new C.BehaviorSubject({id:0,targetPageId: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(Gf(function(c){return 0!==c.id}),B(function(c){return Object.assign({},c,{extractedUrl:b.urlHandlingStrategy.extract(c.rawUrl)})}),cg(function(c){var d=!1,e=!1;return(0,C.of)(c).pipe(eg(function(f){a.currentNavigation={id:f.id,initialUrl:f.rawUrl,extractedUrl:f.extractedUrl,trigger:f.source,
extras:f.extras,previousNavigation:a.lastSuccessfulNavigation?Object.assign({},a.lastSuccessfulNavigation,{previousNavigation:null}):null}}),cg(function(f){var h=b.browserUrlTree.toString();h=!b.navigated||f.extractedUrl.toString()!==h||h!==b.currentUrlTree.toString();var l,q=null!=(l=f.extras.onSameUrlNavigation)?l:b.onSameUrlNavigation;if(!h&&"reload"!==q)return a.events.next(new Go(f.id,b.urlSerializer.serialize(c.rawUrl),"",0)),b.rawUrlTree=f.rawUrl,f.resolve(null),C.EMPTY;"imperative"!==f.source&&
(b.browserUrlTree=f.extractedUrl);return(0,C.of)(f).pipe(cg(function(u){var x,y=null==(x=a.transitions)?void 0:x.getValue();a.events.next(new Wo(u.id,a.urlSerializer.serialize(u.extractedUrl),u.source,u.restoredState));var G;return y!==(null==(G=a.transitions)?void 0:G.getValue())?C.EMPTY:Promise.resolve(u)}),Wua(a.environmentInjector,a.configLoader,a.rootComponentType,b.config,a.urlSerializer,b.paramsInheritanceStrategy),eg(function(u){c.targetSnapshot=u.targetSnapshot;c.urlAfterRedirects=u.urlAfterRedirects;
a.currentNavigation=Object.assign({},a.currentNavigation,{finalUrl:u.urlAfterRedirects});if("eager"===b.urlUpdateStrategy){if(!u.extras.skipLocationChange){var x=b.urlHandlingStrategy.merge(u.urlAfterRedirects,u.rawUrl);rXb(b,x,u)}b.browserUrlTree=u.urlAfterRedirects}u=new DWb(u.id,a.urlSerializer.serialize(u.extractedUrl),a.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);a.events.next(u)}))}),eg(function(f){f=new EWb(f.id,a.urlSerializer.serialize(f.extractedUrl),a.urlSerializer.serialize(f.urlAfterRedirects),
f.targetSnapshot);a.events.next(f)}),B(function(f){var h=Object,l=h.assign;var q=f.currentSnapshot;var u=f.targetSnapshot._root;q=yo(u,q?q._root:null,a.rootContexts,[u.value]);return c=l.call(h,{},f,{guards:q})}),Bua(a.environmentInjector,function(f){return a.events.next(f)}),eg(function(f){c.guardsResult=f.guardsResult;if(lo(f.guardsResult))throw pua(f.guardsResult);f=new FWb(f.id,a.urlSerializer.serialize(f.extractedUrl),a.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot,!!f.guardsResult);
a.events.next(f)}),Gf(function(f){return f.guardsResult?!0:(sXb(b,f),tXb(a,f,3),!1)}),bva(function(f){if(f.guards.canActivateChecks.length)return(0,C.of)(f).pipe(eg(function(h){h=new GWb(h.id,a.urlSerializer.serialize(h.extractedUrl),a.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);a.events.next(h)}),cg(function(h){var l=!1;return(0,C.of)(h).pipe(Yua(b.paramsInheritanceStrategy,a.environmentInjector),eg({next:function(){return l=!0},complete:function(){l||(sXb(b,h),tXb(a,h,2))}}))}),
eg(function(h){h=new HWb(h.id,a.urlSerializer.serialize(h.extractedUrl),a.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);a.events.next(h)}))}),bva(function(f){var h=function(l){var q=[],u;(null==(u=l.routeConfig)?0:u.loadComponent)&&!l.routeConfig._loadedComponent&&q.push(a.configLoader.loadComponent(l.routeConfig).pipe(eg(function(y){l.component=y}),B(function(){})));u=m(l.children);for(var x=u.next();!x.done;x=u.next())q.push.apply(q,r(h(x.value)));return q};return(0,C.combineLatest)(h(f.targetSnapshot.root)).pipe(Of(),
Rf())}),bva(function(){return a.afterPreactivation()}),B(function(f){var h=f.targetSnapshot;var l=f.currentRouterState;l=nua(b.routeReuseStrategy,h._root,l?l._root:void 0);h=new dua(l,h);return c=Object.assign({},f,{targetRouterState:h})}),eg(function(f){b.currentUrlTree=f.urlAfterRedirects;b.rawUrlTree=b.urlHandlingStrategy.merge(f.urlAfterRedirects,f.rawUrl);b.routerState=f.targetRouterState;"deferred"===b.urlUpdateStrategy&&(f.extras.skipLocationChange||rXb(b,b.rawUrlTree,f),b.browserUrlTree=f.urlAfterRedirects)}),
XWb(a.rootContexts,b.routeReuseStrategy,function(f){return a.events.next(f)},a.inputBindingEnabled),Rf(),eg({next:function(f){d=!0;a.lastSuccessfulNavigation=a.currentNavigation;b.navigated=!0;a.events.next(new Do(f.id,a.urlSerializer.serialize(f.extractedUrl),a.urlSerializer.serialize(b.currentUrlTree)));var h;null==(h=b.titleStrategy)||h.updateTitle(f.targetRouterState.snapshot);f.resolve(!0)},complete:function(){d=!0}}),Tf(function(){d||e||tXb(a,c,1);var f;(null==(f=a.currentNavigation)?void 0:
f.id)===c.id&&(a.currentNavigation=null)}),Lf(function(f){e=!0;if(qua(f)){qua(f)&&lo(f.url)||(b.navigated=!0,sXb(b,c,!0));var h=new Eo(c.id,a.urlSerializer.serialize(c.extractedUrl),f.message,f.cancellationCode);a.events.next(h);qua(f)&&lo(f.url)?(f=b.urlHandlingStrategy.merge(f.url,b.rawUrlTree),uXb(b,f,"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{sXb(b,
c,!0);var l=new Fo(c.id,a.urlSerializer.serialize(c.extractedUrl),f,null!=(h=c.targetSnapshot)?h:void 0);a.events.next(l);try{c.resolve(b.errorHandler(f))}catch(q){c.reject(q)}}return C.EMPTY}))}))},tXb=function(a,b,c){c=new Eo(b.id,a.urlSerializer.serialize(b.extractedUrl),"",c);a.events.next(c);b.resolve(!1)};Xi.Object.defineProperties(yG.prototype,{hasRequestedNavigation:{configurable:!0,enumerable:!0,get:function(){return 0!==this.navigationId}}});yG.\u0275fac=function(a){return new (a||yG)};
yG.\u0275prov=Vc({token:yG,factory:yG.\u0275fac,providedIn:"root"});var zG=function(){},wXb=function(a){for(a=a.root;void 0!==a;){var b=void 0;var c=null!=(b=a.data[Co])?b:c;a=a.children.find(function(d){return"primary"===d.outlet})}return c};zG.\u0275fac=function(a){return new (a||zG)};zG.\u0275prov=Vc({token:zG,factory:function(){return hd(AG)},providedIn:"root"});var AG=function(a){this.title=a};W(AG,zG);AG.prototype.updateTitle=function(a){a=wXb(a);void 0!==a&&this.title.setTitle(a)};AG.\u0275fac=function(a){return new (a||AG)(n(dy))};
AG.\u0275prov=Vc({token:AG,factory:AG.\u0275fac,providedIn:"root"});var BG=function(){};BG.\u0275fac=function(a){return new (a||BG)};BG.\u0275prov=Vc({token:BG,factory:function(){return hd(CG)},providedIn:"root"});var xXb=function(){};xXb.prototype.store=function(){};xXb.prototype.shouldReuseRoute=function(a,b){return a.routeConfig===b.routeConfig};var CG=function(){};W(CG,xXb);CG.\u0275fac=function(){var a;return function(b){return(a||(a=ie(CG)))(b||CG)}}();CG.\u0275prov=Vc({token:CG,factory:CG.\u0275fac,providedIn:"root"});var yXb=new Bd("",{providedIn:"root",factory:function(){return{}}});var DG=function(){};DG.\u0275fac=function(a){return new (a||DG)};DG.\u0275prov=Vc({token:DG,factory:function(){return hd(EG)},providedIn:"root"});var EG=function(){};EG.prototype.extract=function(a){return a};EG.prototype.merge=function(a){return a};EG.\u0275fac=function(a){return new (a||EG)};EG.\u0275prov=Vc({token:EG,factory:EG.\u0275fac,providedIn:"root"});var zXb={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},AXb={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},FG=function(){var a=this;this.disposed=!1;this.currentPageId=0;this.console=hd(jv);this.options=hd(yXb,{optional:!0})||{};this.pendingTasks=hd(vw);this.errorHandler=this.options.errorHandler||eva;this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||fva;this.navigated=!1;this.lastSuccessfulId=-1;this.urlHandlingStrategy=
hd(DG);this.routeReuseStrategy=hd(BG);this.titleStrategy=hd(zG);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=hd(oXb,{optional:!0}))?void 0:b.flat())?c:[];this.navigationTransitions=hd(yG);this.urlSerializer=
hd(mG);this.location=hd(Uw);hd(QWb,{optional:!0});hd(hg)instanceof hg&&ig();this.config=this.config.map(sua);this.navigated=!1;this.lastSuccessfulId=-1;this.browserUrlTree=this.rawUrlTree=this.currentUrlTree=new ko;this.routerState=eua();vXb(this.navigationTransitions,this).subscribe(function(d){a.lastSuccessfulId=d.id;a.currentPageId=d.targetPageId},function(d){a.console.warn("Unhandled Navigation Error: "+d)})};
FG.prototype.initialNavigation=function(){BXb(this);if(!this.navigationTransitions.hasRequestedNavigation){var a=this.location.getState();CXb(this,this.location.path(!0),"imperative",a)}};
var BXb=function(a){a.locationSubscription||(a.locationSubscription=a.location.subscribe(function(b){var c="popstate"===b.type?"popstate":"hashchange";"popstate"===c&&setTimeout(function(){CXb(a,b.url,c,b.state)},0)}))},CXb=function(a,b,c,d){var e={replaceUrl:!0},f=(null==d?0:d.navigationId)?d:null;d&&(d=Object.assign({},d),delete d.navigationId,delete d.\u0275routerPageId,0!==Object.keys(d).length&&(e.state=d));b=DXb(a,b);uXb(a,b,c,f,e)};FG.prototype.ngOnDestroy=function(){this.dispose()};
FG.prototype.dispose=function(){this.navigationTransitions.complete();this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0);this.disposed=!0};
var GG=function(a,b,c){var d=c=void 0===c?{}:c;c=d.relativeTo;var e=d.queryParams,f=d.fragment;f=d.preserveFragment?a.currentUrlTree.fragment:f;switch(d.queryParamsHandling){case "merge":d=Object.assign({},a.currentUrlTree.queryParams,e);break;case "preserve":d=a.currentUrlTree.queryParams;break;default:d=e||null}null!==d&&(d=EXb(d));try{var h=Ota(c?c.snapshot:a.routerState.snapshot.root)}catch(l){"string"===typeof b[0]&&b[0].startsWith("/")||(b=[]),h=a.currentUrlTree.root}return Uta(h,b,d,null!=
f?f:null)},Gt=function(a,b,c){c=void 0===c?{skipLocationChange:!1}:c;b=lo(b)?b:DXb(a,b);b=a.urlHandlingStrategy.merge(b,a.rawUrlTree);return uXb(a,b,"imperative",null,c)};FG.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 $c(4008,!1);return Gt(this,GG(this,a,b),b)};var DXb=function(a,b){try{var c=a.urlSerializer.parse(b)}catch(d){c=a.malformedUriErrorHandler(d,a.urlSerializer,b)}return c};
FG.prototype.isActive=function(a,b){var c;!0===b?c=Object.assign({},zXb):!1===b?c=Object.assign({},AXb):c=b;if(lo(a))return vta(this.currentUrlTree,a,c);a=DXb(this,a);return vta(this.currentUrlTree,a,c)};
var EXb=function(a){return Object.keys(a).reduce(function(b,c){var d=a[c];null!==d&&void 0!==d&&(b[c]=d);return b},{})},uXb=function(a,b,c,d,e,f){if(a.disposed)return Promise.resolve(!1);if(f){var h=f.resolve;var l=f.reject;f=f.promise}else f=new Promise(function(G,L){h=G;l=L});if("computed"===a.canceledNavigationResolution)if(d&&d.\u0275routerPageId)var q=d.\u0275routerPageId;else if(e.replaceUrl||e.skipLocationChange){var u;q=null!=(u=a.browserPageId)?u:0}else{var x;q=(null!=(x=a.browserPageId)?
x:0)+1}else q=0;var y=a.pendingTasks.add();dva(a,function(){Promise.resolve().then(function(){return a.pendingTasks.remove(y)})});qXb(a.navigationTransitions,{targetPageId:q,source:c,restoredState:d,currentUrlTree:a.currentUrlTree,currentRawUrl:a.currentUrlTree,rawUrl:b,extras:e,resolve:h,reject:l,promise:f,currentSnapshot:a.routerState.snapshot,currentRouterState:a.routerState});return f.catch(function(G){return Promise.reject(G)})},rXb=function(a,b,c){b=a.urlSerializer.serialize(b);var d=Object.assign({},
c.extras.state,FXb(a,c.id,c.targetPageId)),e=a.location;var f=void 0===f?"":f;e.path()==e.normalize(b+Jh(f))||c.extras.replaceUrl?a.location.replaceState(b,"",d):a.location.go(b,"",d)},sXb=function(a,b,c){c=void 0===c?!1:c;if("computed"===a.canceledNavigationResolution){c=a.currentPageId-b.targetPageId;var d;if("popstate"!==b.source&&"eager"!==a.urlUpdateStrategy&&a.currentUrlTree!==(null==(d=a.navigationTransitions.currentNavigation)?void 0:d.finalUrl)||0===c){var e;a.currentUrlTree===(null==(e=
a.navigationTransitions.currentNavigation)?void 0:e.finalUrl)&&0===c&&(a.resetState(b),a.browserUrlTree=b.currentUrlTree,GXb(a))}else a.location.historyGo(c)}else"replace"===a.canceledNavigationResolution&&(c&&a.resetState(b),GXb(a))};FG.prototype.resetState=function(a){this.routerState=a.currentRouterState;this.currentUrlTree=a.currentUrlTree;this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,a.rawUrl)};
var GXb=function(a){a.location.replaceState(a.urlSerializer.serialize(a.rawUrlTree),"",FXb(a,a.lastSuccessfulId,a.currentPageId))},FXb=function(a,b,c){return"computed"===a.canceledNavigationResolution?{navigationId:b,"\u0275routerPageId":c}:{navigationId:b}};
Xi.Object.defineProperties(FG.prototype,{navigationId:{configurable:!0,enumerable:!0,get:function(){return this.navigationTransitions.navigationId}},browserPageId:{configurable:!0,enumerable:!0,get:function(){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}}});FG.\u0275fac=function(a){return new (a||FG)};FG.\u0275prov=Vc({token:FG,factory:FG.\u0275fac,providedIn:"root"});var HG=function(a,b,c,d,e,f){var h=this;this.router=a;this.route=b;this.tabIndexAttribute=c;this.renderer=d;this.el=e;this.locationStrategy=f;this._replaceUrl=this._skipLocationChange=this._preserveFragment=!1;this.commands=this.href=null;this.onChanges=new C.Subject;var l;b=null==(l=e.nativeElement.tagName)?void 0:l.toLowerCase();(this.isAnchorElement="a"===b||"area"===b)?this.subscription=a.events.subscribe(function(q){q instanceof Do&&HXb(h)}):IXb(this,"0")},IXb=function(a,b){null!=a.tabIndexAttribute||
a.isAnchorElement||JXb(a,"tabindex",b)};HG.prototype.ngOnChanges=function(){this.isAnchorElement&&HXb(this);this.onChanges.next(this)};HG.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;Gt(this.router,this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state});return!this.isAnchorElement};
HG.prototype.ngOnDestroy=function(){var a;null==(a=this.subscription)||a.unsubscribe()};var HXb=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?cfa:Ie)(a.href));JXb(a,"href",b)},JXb=function(a,b,c){var d=a.renderer;a=a.el.nativeElement;null!==c?d.setAttribute(a,b,c):d.removeAttribute(a,b)};
Xi.Object.defineProperties(HG.prototype,{preserveFragment:{configurable:!0,enumerable:!0,set:function(a){this._preserveFragment=sh(a)},get:function(){return this._preserveFragment}},skipLocationChange:{configurable:!0,enumerable:!0,set:function(a){this._skipLocationChange=sh(a)},get:function(){return this._skipLocationChange}},replaceUrl:{configurable:!0,enumerable:!0,set:function(a){this._replaceUrl=sh(a)},get:function(){return this._replaceUrl}},routerLink:{configurable:!0,enumerable:!0,set:function(a){null!=
a?(this.commands=Array.isArray(a)?a:[a],IXb(this,"0")):(this.commands=null,IXb(this,null))}},urlTree:{configurable:!0,enumerable:!0,get:function(){return null===this.commands?null:GG(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})}}});HG.\u0275fac=function(a){return new (a||HG)(A(FG),A(so),ce("tabindex"),A(ev),A(ke),A(Rw))};
HG.\u0275dir=qd({type:HG,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(a,b){a&1&&K("click",function(c){return b.onClick(c.button,c.ctrlKey,c.shiftKey,c.altKey,c.metaKey)});a&2&&ug("target",b.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,
features:[Hd]});var IG=function(a,b,c,d,e){var f=this;this.router=a;this.element=b;this.renderer=c;this.cdr=d;this.link=e;this.classes=[];this._isActive=!1;this.routerLinkActiveOptions={exact:!1};this.isActiveChange=new Rv;this.routerEventsSubscription=a.events.subscribe(function(h){h instanceof Do&&f.update()})};IG.prototype.ngAfterContentInit=function(){var a=this;(0,C.of)(this.links.changes,(0,C.of)(null)).pipe(Af()).subscribe(function(){a.update();KXb(a)})};
var KXb=function(a){var b;null==(b=a.linkInputChangesSubscription)||b.unsubscribe();b=[].concat(r(a.links.toArray()),[a.link]).filter(function(c){return!!c}).map(function(c){return c.onChanges});a.linkInputChangesSubscription=(0,C.from)(b).pipe(Af()).subscribe(function(c){a._isActive!==LXb(a,a.router)(c)&&a.update()})};IG.prototype.ngOnChanges=function(){this.update()};
IG.prototype.ngOnDestroy=function(){this.routerEventsSubscription.unsubscribe();var a;null==(a=this.linkInputChangesSubscription)||a.unsubscribe()};
IG.prototype.update=function(){var a=this;this.links&&this.router.navigated&&Promise.resolve().then(function(){var b=MXb(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 LXb=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}},MXb=function(a){var b=LXb(a,a.router);return a.link&&b(a.link)||a.links.some(b)};
Xi.Object.defineProperties(IG.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})}}});IG.\u0275fac=function(a){return new (a||IG)(A(FG),A(ke),A(ev),A(qw),A(HG,8))};
IG.\u0275dir=qd({type:IG,selectors:[["","routerLinkActive",""]],contentQueries:function(a,b,c){a&1&&jh(c,HG,5);if(a&2){var d;hh(d=kh())&&(b.links=d)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[Hd]});var NXb=function(){},JG=function(a,b,c,d,e){this.router=a;this.injector=c;this.preloadingStrategy=d;this.loader=e},OXb=function(a){a.subscription=a.router.events.pipe(Gf(function(b){return b instanceof Do}),zf(function(){return a.preload()},1)).subscribe(function(){})};JG.prototype.preload=function(){return PXb(this,this.injector,this.router.config)};JG.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()};
var PXb=function(a,b,c){var d=[];c=m(c);for(var e=c.next();!e.done;e=c.next()){e=e.value;e.providers&&!e._injector&&(e._injector=Bfa(e.providers,b,"Route: "+e.path));var f=void 0,h=null!=(f=e._injector)?f:b,l=void 0;f=null!=(l=e._loadedInjector)?l:h;(e.loadChildren&&!e._loadedRoutes&&void 0===e.canLoad||e.loadComponent&&!e._loadedComponent)&&d.push(QXb(a,h,e));if(e.children||e._loadedRoutes)h=void 0,d.push(PXb(a,f,null!=(h=e.children)?h:e._loadedRoutes))}return(0,C.from)(d).pipe(Af())},QXb=function(a,
b,c){return a.preloadingStrategy.preload(c,function(){var d=(c.loadChildren&&void 0===c.canLoad?a.loader.loadChildren(b,c):(0,C.of)(null)).pipe(zf(function(f){if(null===f)return(0,C.of)(void 0);c._loadedRoutes=f.routes;c._loadedInjector=f.injector;var h;return PXb(a,null!=(h=f.injector)?h:b,f.routes)}));if(c.loadComponent&&!c._loadedComponent){var e=a.loader.loadComponent(c);return(0,C.from)([d,e]).pipe(Af())}return d})};JG.\u0275fac=function(a){return new (a||JG)(n(FG),n(kv),n(Uu),n(NXb),n(xG))};
JG.\u0275prov=Vc({token:JG,factory:JG.\u0275fac,providedIn:"root"});var RXb=new Bd(""),KG=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"};
KG.prototype.init=function(){if("disabled"!==this.options.scrollPositionRestoration){var a=this.viewportScroller;try{if(zHb(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=SXb(this);this.scrollEventsSubscription=
TXb(this)};
var SXb=function(a){return a.transitions.events.subscribe(function(b){b instanceof Wo?(a.store[a.lastId]=a.viewportScroller.getScrollPosition(),a.lastSource=b.navigationTrigger,a.restoredId=b.restoredState?b.restoredState.navigationId:0):b instanceof Do?(a.lastId=b.id,UXb(a,a.urlSerializer.parse(b.urlAfterRedirects).fragment)):b instanceof Go&&0===b.code&&(a.lastSource=void 0,a.restoredId=0,UXb(a,a.urlSerializer.parse(b.url).fragment))})},TXb=function(a){return a.transitions.events.subscribe(function(b){if(b instanceof MWb)if(b.position)"top"===
a.options.scrollPositionRestoration?AHb(a.viewportScroller,[0,0]):"enabled"===a.options.scrollPositionRestoration&&AHb(a.viewportScroller,b.position);else if(b.anchor&&"enabled"===a.options.anchorScrolling){var c=a.viewportScroller;if(zHb(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&&(d.body.createShadowRoot||"function"===typeof d.body.attachShadow))for(d=d.createTreeWalker(d.body,NodeFilter.SHOW_ELEMENT),
e=d.currentNode;e;){if(e=e.shadowRoot)if(e=e.getElementById(b)||e.querySelector('[name="'+b+'"]')){b=e;break a}e=d.nextNode()}b=null}}if(b){e=b.getBoundingClientRect();d=e.left+c.window.pageXOffset;e=e.top+c.window.pageYOffset;var f=c.offset();c.window.scrollTo(d-f[0],e-f[1]);b.focus()}}}else"disabled"!==a.options.scrollPositionRestoration&&AHb(a.viewportScroller,[0,0])})},UXb=function(a,b){a.zone.runOutsideAngular(function(){setTimeout(function(){a.zone.run(function(){a.transitions.events.next(new MWb("popstate"===
a.lastSource?a.store[a.restoredId]:null,b))})},0)})};KG.prototype.ngOnDestroy=function(){var a;null==(a=this.routerEventsSubscription)||a.unsubscribe();var b;null==(b=this.scrollEventsSubscription)||b.unsubscribe()};KG.\u0275fac=function(){pe()};KG.\u0275prov=Vc({token:KG,factory:KG.\u0275fac});new Bd("",{providedIn:"root",factory:function(){return!1}});var VXb=new Bd("",{factory:function(){return new C.Subject}}),WXb=new Bd("",{providedIn:"root",factory:function(){return 1}}),XXb=new Bd("");var YXb=new Bd("ROUTER_FORROOT_GUARD"),ZXb=[Uw,{provide:mG,useClass:oG},FG,rG,{provide:so,useFactory:function(a){return a.routerState.root},deps:[FG]},xG,[]],LG=function(){};LG.\u0275fac=function(a){return new (a||LG)(n(YXb,8))};LG.\u0275mod=od({type:LG});LG.\u0275inj=Wc({imports:[to]});var $Xb=new Bd("");new gv;var MG=function(a,b,c,d){var e=this;this.location=a;this.platformLocation=b;this.activatedRoute=c;this.router=d;this.scheduler=new tWb(function(){return!e.router.navigationTransitions.currentNavigation})};g=MG.prototype;g.absUrl=function(){return this.platformLocation.href};g.hash=function(a,b){return"undefined"===typeof a?this.getHash():this.setHash(null!=a?a:"",b)};g.getHash=function(){var a;return null!=(a=this.activatedRoute.snapshot.fragment)?a:""};
g.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})});return this};g.path=function(a,b){return"undefined"===typeof a?this.getPath():this.setPath(a,b)};var aYb=function(a,b){a.path(b,!0)};g=MG.prototype;g.getPath=function(){var a=m(this.location.path().split("?")).next().value;return m(a.split("#")).next().value};
g.setPath=function(a,b){var c=this;a=void 0===a?"":a;b=void 0===b?!1:b;this.addTask(function(){c.router.navigate([a],{replaceUrl:b,queryParamsHandling:"preserve"})});return this};g.search=function(a,b,c){if("undefined"===typeof a)return this.getSearch();this.setSearch(a,b,c);return this};g.getSearch=function(){return hva(this.activatedRoute.snapshot.queryParamMap)};
g.setSearch=function(a,b,c){var d=this;c=void 0===c?!1:c;this.addTask(function(){var e={};d.router.navigate([],{relativeTo:d.activatedRoute,queryParams:(e[a]=b,e),queryParamsHandling:"merge",replaceUrl:c})})};g.url=function(a,b){return"undefined"===typeof a?this.getUrl():this.setUrl(a,b)};g.replaceUrl=function(a){return this.url(a,!0)};g.setUrl=function(a,b){var c=this;b=void 0===b?!1:b;return new Promise(function(d,e){c.addTask(function(){Gt(c.router,a,{replaceUrl:b}).then(d).catch(e)})})};
g.getUrl=function(){return this.location.path(!0)};g.addTask=function(a){this.scheduler.addTask(a)};MG.\u0275fac=function(a){return new (a||MG)(n(Uw),n(Pw),n(so),n(FG))};MG.\u0275prov=Vc({token:MG,factory:MG.\u0275fac,providedIn:"root"});var NG=function(a){this.bLocation=a};NG.prototype.createIssue=function(a){return bo("issues/new",{params:a})};NG.prototype.editIssue=function(a,b){return $n(a,b)};NG.prototype.listIssues=function(a){return co(a)};NG.prototype.viewSavedSearch=function(a){return Zn("savedsearches/:savedSearchId",{id:a,params:void 0})};
var bYb=function(a,b){b="/"!==b.charAt(0)?"/"+b:b;return a.bLocation.path()===b},cYb=function(a,b){b="/"!==b.charAt(0)?"/"+b:b;a=a.bLocation.url();a=new Cq(a);b=new Cq(b);return a.getPath()===b.getPath()&&rD(a.queryData_.toString())===rD(b.queryData_.toString())};g=NG.prototype;g.viewHotlist=function(a){return Zn("hotlists/:hotlistId",{id:a})};g.editHotlist=function(a){return bo("hotlists/:hotlistId/edit",{id:a,tab:void 0})};g.createHotlist=function(){return"hotlists/new"};g.createBookmarkGroup=function(){return"bookmark-groups/new"};
g.viewBookmarkGroup=function(a){return Zn("bookmark-groups/:groupId",{id:a})};g.editBookmarkGroup=function(a){return bo("bookmark-groups/:groupId/edit",{id:a})};g.editSavedSearch=function(a){return bo("savedsearches/:savedSearchId/edit",{id:a})};g.dashboard=function(a){return bo("dashboard/:groupId",{id:a})};g.issuesCsvAction=function(a,b,c,d,e){c=hta(c);d=ita(d);return $B("action/issues/csv","q",a,"trackerIds",b,"s",c,"c",d,"h",e)};
g.hotlistIssuesCsvAction=function(a,b,c,d,e){a="action/hotlists/"+a+"/issues/csv";c=hta(c);(d=ita(d))&&(d="position,"+d);return $B(a,"trackerIds",b,"s",c,"c",d,"h",e)};g.toApiSortParamValue=function(a){return hta(a)};g.getAttachmentAction=function(a,b){return"action/issues/"+a.toString()+"/attachments/"+b.toString()};g.listComponents=function(){return bo("components",{params:void 0})};g.viewComponent=function(a,b){return Zn("components/:componentId",{id:a,tab:b})};
g.manageComponent=function(a,b){return jta(a,b)};g.createComponent=function(a){return bo("components/new",{params:a})};g.editComponent=function(a,b){return bo("components/:componentId/edit",{id:a,tab:b})};g.createSlo=function(){return bo("slos/new",{params:void 0})};g.editSlo=function(a){return qta(a).path};g.listSlos=function(){return bo("slos",{params:void 0})};
g.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};g.listHotlists=function(){return"hotlists"};g.settings=function(a){return kta(a)};NG.\u0275fac=function(a){return new (a||NG)(n(MG))};NG.\u0275prov=Vc({token:NG,factory:NG.\u0275fac,providedIn:"root"});var dYb=function(a,b){this.childIterator_=a[da.Symbol.iterator]();this.mapFn_=b};dYb.prototype[Symbol.iterator]=function(){return this};dYb.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 eYb=function(a,b){return new dYb(a,b)};var OG=function(){};OG.prototype.next=function(){return fYb};var fYb={done:!0,value:void 0};OG.prototype.__iterator__=function(){return this};var gYb=function(a){if(a instanceof PG||a instanceof QG||a instanceof RG)return a;if("function"==typeof a.next)return new PG(function(){return a});if("function"==typeof a[Symbol.iterator])return new PG(function(){return a[Symbol.iterator]()});if("function"==typeof a.__iterator__)return new PG(function(){return a.__iterator__()});throw Error("Bc");},PG=function(a){this.func_=a};PG.prototype.__iterator__=function(){return new QG(this.func_())};PG.prototype[Symbol.iterator]=function(){return new RG(this.func_())};
PG.prototype.toEs6=function(){return new RG(this.func_())};var QG=function(a){this.iter_=a};W(QG,OG);QG.prototype.next=function(){return this.iter_.next()};QG.prototype[Symbol.iterator]=function(){return new RG(this.iter_)};QG.prototype.toEs6=function(){return new RG(this.iter_)};var RG=function(a){PG.call(this,function(){return a});this.iter_=a};W(RG,PG);RG.prototype.next=function(){return this.iter_.next()};var SG=function(a,b){this.map_={};this.keys_=[];this.version_=this.size=0;var c=arguments.length;if(1<c){if(c%2)throw Error("X");for(var d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])}else a&&this.addAll(a)};g=SG.prototype;g.getCount=function(){return this.size};g.getValues=function(){TG(this);for(var a=[],b=0;b<this.keys_.length;b++)a.push(this.map_[this.keys_[b]]);return a};g.getKeys=function(){TG(this);return this.keys_.concat()};g.containsKey=function(a){return this.has(a)};
g.has=function(a){return UG(this.map_,a)};g.containsValue=function(a){for(var b=0;b<this.keys_.length;b++){var c=this.keys_[b];if(UG(this.map_,c)&&this.map_[c]==a)return!0}return!1};g.equals=function(a,b){if(this===a)return!0;if(this.size!=a.getCount())return!1;b=b||hYb;TG(this);for(var c,d=0;c=this.keys_[d];d++)if(!b(this.get(c),a.get(c)))return!1;return!0};var hYb=function(a,b){return a===b};SG.prototype.isEmpty=function(){return 0==this.size};
SG.prototype.clear=function(){this.map_={};this.keys_.length=0;this.setSizeInternal_(0);this.version_=0};SG.prototype.remove=function(a){return this.delete(a)};SG.prototype.delete=function(a){return UG(this.map_,a)?(delete this.map_[a],this.setSizeInternal_(this.size-1),this.version_++,this.keys_.length>2*this.size&&TG(this),!0):!1};
var TG=function(a){if(a.size!=a.keys_.length){for(var b=0,c=0;b<a.keys_.length;){var d=a.keys_[b];UG(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],UG(e,d)||(a.keys_[c++]=d,e[d]=1),b++;a.keys_.length=c}};g=SG.prototype;g.get=function(a,b){return UG(this.map_,a)?this.map_[a]:b};g.set=function(a,b){UG(this.map_,a)||(this.setSizeInternal_(this.size+1),this.keys_.push(a),this.version_++);this.map_[a]=b};
g.addAll=function(a){if(a instanceof SG)for(var b=a.getKeys(),c=0;c<b.length;c++)this.set(b[c],a.get(b[c]));else for(b in a)this.set(b,a[b])};g.forEach=function(a,b){for(var c=this.getKeys(),d=0;d<c.length;d++){var e=c[d],f=this.get(e);a.call(b,f,e,this)}};g.clone=function(){return new SG(this)};g.transpose=function(){for(var a=new SG,b=0;b<this.keys_.length;b++){var c=this.keys_[b];a.set(this.map_[c],c)}return a};g.keys=function(){return gYb(this.__iterator__(!0)).toEs6()};g.values=function(){return gYb(this.__iterator__(!1)).toEs6()};
g.entries=function(){var a=this;return eYb(this.keys(),function(b){return[b,a.get(b)]})};g.__iterator__=function(a){TG(this);var b=0,c=this.version_,d=this,e=new OG;e.next=function(){if(c!=d.version_)throw Error("Cc");if(b>=d.keys_.length)return fYb;var f=d.keys_[b++];return{value:a?f:d.map_[f],done:!1}};return e};g.setSizeInternal_=function(a){this.size=a};var UG=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var VG=function(a,b,c){this.maxCount_=a||null;this.cache_=!!b;this.evictionCallback_=c;this.map_=new SG;this.head_=new iYb("");this.head_.next=this.head_.prev=this.head_},kYb=function(a,b){(b=a.map_.get(b))&&a.cache_&&(b.remove(),jYb(a,b));return b};VG.prototype.get=function(a,b){return(a=kYb(this,a))?a.value:b};var lYb=function(a,b){return(a=a.map_.get(b))?a.value:void 0};g=VG.prototype;g.set=function(a,b){var c=kYb(this,a);c?c.value=b:(c=new iYb(a,b),this.map_.set(a,c),jYb(this,c))};
g.shift=function(){return mYb(this,this.head_.next)};g.pop=function(){return mYb(this,this.head_.prev)};g.remove=function(a){return(a=this.map_.get(a))?(this.removeNode(a),!0):!1};g.removeNode=function(a){a.remove();this.map_.remove(a.key)};g.getCount=function(){return this.map_.getCount()};g.isEmpty=function(){return this.map_.isEmpty()};g.getKeys=function(){return this.map(function(a,b){return b})};g.getValues=function(){return this.map(function(a){return a})};
g.contains=function(a){return this.some(function(b){return b==a})};g.containsKey=function(a){return this.map_.containsKey(a)};g.clear=function(){nYb(this,0)};g.forEach=function(a,b){for(var c=this.head_.next;c!=this.head_;c=c.next)a.call(b,c.value,c.key,this)};g.map=function(a,b){for(var c=[],d=this.head_.next;d!=this.head_;d=d.next)c.push(a.call(b,d.value,d.key,this));return c};g.some=function(a,b){for(var c=this.head_.next;c!=this.head_;c=c.next)if(a.call(b,c.value,c.key,this))return!0;return!1};
g.every=function(a,b){for(var c=this.head_.next;c!=this.head_;c=c.next)if(!a.call(b,c.value,c.key,this))return!1;return!0};
var jYb=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_&&nYb(a,a.maxCount_)},nYb=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)}},mYb=function(a,b){a.head_!=b&&a.removeNode(b);return b.value},iYb=function(a,b){this.key=a;this.value=b};
iYb.prototype.remove=function(){this.prev.next=this.next;this.next.prev=this.prev;delete this.prev;delete this.next};var WG=function(){this.caches=new Map};WG.prototype.create=function(a,b){if(this.caches.has(a))throw Error("Dc`"+a);b=new XG(null==b?void 0:b.capacity);this.caches.set(a,b);return b};WG.prototype.get=function(a){return this.caches.get(a)};WG.\u0275fac=function(a){return new (a||WG)};WG.\u0275prov=Vc({token:WG,factory:WG.\u0275fac,providedIn:"root"});var XG=function(a){this.lruCache=new VG(a,!0)};XG.prototype.get=function(a){return this.lruCache.get(a)};
XG.prototype.put=function(a,b){void 0!==b&&this.lruCache.set(a,b);return b};XG.prototype.remove=function(a){this.lruCache.remove(a)};XG.prototype.removeAll=function(){this.lruCache.clear()};var Ho=function(a){Y.call(this,a)};W(Ho,Y);g=Ho.prototype;g.getType=function(){return tk(this,1,0)};g.setType=function(a){return k(this,1,a)};g.hasType=function(){return nl(this,1)};g.getCustomFieldId=function(){return Ck(this,2)};g.setCustomFieldId=function(a){return k(this,2,a)};g.hasCustomFieldId=function(){return Bk(this,2)};g.getCustomFieldName=function(){return Dk(this,3)};var Io=function(a){Y.call(this,a)};W(Io,Y);Io.prototype.getField=function(){return Ok(this,Ho,1)};Io.prototype.setField=function(a){gl(this,Ho,1,a)};Io.prototype.getDirection=function(){return tk(this,2,0)};Io.prototype.setDirection=function(a){return k(this,2,a)};var Jo=function(a){Y.call(this,a,-1,oYb)};W(Jo,Y);g=Jo.prototype;g.getHotlistId=function(){return Ck(this,1)};g.setHotlistId=function(a){k(this,1,a)};g.getName=function(){return Dk(this,3)};g.setName=function(a){return k(this,3,a)};g.hasName=function(){return Am(this,3)};g.getNameOrUndefined=function(){return yu(this,3)};g.getDescription=function(){return Dk(this,4)};g.setDescription=function(a){return k(this,4,a)};g.hasDescription=function(){return Am(this,4)};
g.getArchived=function(){return Tl(this,6)};g.setArchived=function(a){k(this,6,a)};g.getDisplayColumnList=function(){return yj(this,Ho,8)};g.setDisplayColumnList=function(a){ac(this,8,a)};g.getSortOrderList=function(){return yj(this,Io,9)};g.setSortOrderList=function(a){ac(this,9,a)};g.getCreatedTimeMicros=function(){return ol(this,10)};g.setCreatedTimeMicros=function(a){k(this,10,a)};g.getModifiedTimeMicros=function(){return ol(this,11)};g.setModifiedTimeMicros=function(a){k(this,11,a)};
g.getAdminUsersList=function(){return yj(this,ek,14)};g.setAdminUsersList=function(a){ac(this,14,a)};g.getEtag=function(){return Dk(this,15)};g.setEtag=function(a){k(this,15,a)};g.hasEtag=function(){return Am(this,15)};var oYb=[8,9,14];Jo.messageId="b.Hotlist";var YG=function(a){Y.call(this,a,-1,pYb)};W(YG,Y);YG.prototype.getHotlistsList=function(){return yj(this,Jo,1)};var pYb=[1];YG.messageId="b.ListHotlistsResponse";var ZG=function(a,b){this.hotlistApi=b;this.hotlistCache=a.get("hotlists-second-level-cache")||a.create("hotlists-second-level-cache",{capacity:1E3})};ZG.prototype.get=function(a){var b=this.hotlistCache.get(String(a))||this.hotlistApi.get(a);return this.hotlistCache.put(String(a),b)};ZG.prototype.bulkLoad=function(a){var b=this;a=a.filter(function(d){return!b.hotlistCache.get(String(d))});if(!a.length)return Promise.resolve();var c=this.hotlistApi.bulkLoad(a);qYb(this,a,c);return c.then(function(){})};
var qYb=function(a,b,c){c=c.then(function(f){if(f){var h={};f=m(f);for(var l=f.next();!l.done;l=f.next())l=l.value,h[l.hotlistId]=l;return h}});var d={};b=m(b);for(var e=b.next();!e.done;d={$jscomp$loop$prop$id$2235:d.$jscomp$loop$prop$id$2235},e=b.next())d.$jscomp$loop$prop$id$2235=e.value,a.hotlistCache.put(String(d.$jscomp$loop$prop$id$2235),c.then(function(f){return function(h){return h&&h[f.$jscomp$loop$prop$id$2235]?h[f.$jscomp$loop$prop$id$2235]:Promise.reject({data:{message:"Could not load hotlist "+
f.$jscomp$loop$prop$id$2235}})}}(d)))};g=ZG.prototype;g.repositionHotlistIssue=function(a,b,c){return this.hotlistApi.repositionHotlistIssue(a,b,c)};g.createHotlist=function(a,b){return this.hotlistApi.createHotlist(a,b)};g.queryHotlists=function(a){return this.hotlistApi.queryHotlists(a)};g.archiveHotlist=function(a,b){return this.hotlistApi.archiveHotlist(a,b)};g.updateMetadata=function(a,b){return this.hotlistApi.updateMetadata(a,b)};
g.getPagedHotlistContent=function(a,b,c,d,e){return this.hotlistApi.getPagedHotlistContent(a,b,c,d,e)};ZG.\u0275fac=function(a){return new (a||ZG)(n(WG),n($G))};ZG.\u0275prov=Vc({token:ZG,factory:ZG.\u0275fac,providedIn:"root"});var aH=function(a,b){this.paths=a;this.executor=b};g=aH.prototype;g.get=function(a){return this.executor.get({url:"action/hotlists/"+a,responseConstructor:Jo}).pipe(B(Ko))};g.bulkLoad=function(a){return this.executor.get({url:"action/hotlists",responseConstructor:YG,options:{params:{id:a.map(String)}}}).pipe(B(pva))};
g.repositionHotlistIssue=function(a,b,c){var d=new zl;d.setIssueId(b);d.setPosition(c);return this.executor.put({url:"action/hotlists/"+a+"/issues",body:d,responseConstructor:null})};g.createHotlist=function(a,b){var c=new Jo;c.setName(a);b&&c.setDescription(b);return this.executor.post({url:"action/hotlists",body:c,responseConstructor:Jo}).pipe(B(Ko))};
g.queryHotlists=function(a){return this.executor.get({url:"action/hotlists",responseConstructor:YG,options:{params:{q:a}}}).pipe(B(function(b){var c;return(null!=(c=b.getHotlistsList())?c:[]).map(Ko)}))};g.archiveHotlist=function(a,b){return this.executor.post({url:"action/hotlists/"+a+"/archive",body:ova(b),responseConstructor:Jo}).pipe(B(Ko))};
g.updateMetadata=function(a,b){var c={};b.etag&&(c["If-Match"]=String(b.etag));return this.executor.post({url:"action/hotlists/"+a,body:ova(b),options:{headers:c},responseConstructor:Jo}).pipe(B(Ko))};g.getPagedHotlistContent=function(a,b,c,d,e){b={p:String(b),count:String(c)};if(d=this.paths.toApiSortParamValue(d))b.s=d;e&&(b.trackerIds=e);return this.executor.get({url:"action/hotlists/"+a+"/issues",options:{params:Object.assign({},b)},responseConstructor:ME}).pipe(B(Lqa))};
aH.\u0275fac=function(a){return new (a||aH)(n(NG),n(KD))};aH.\u0275prov=Vc({token:aH,factory:aH.\u0275fac,providedIn:"root"});var $G=function(a){this.observableApi=a};g=$G.prototype;g.get=function(a){return(0,C.firstValueFrom)(this.observableApi.get(a))};g.bulkLoad=function(a){return(0,C.firstValueFrom)(this.observableApi.bulkLoad(a))};g.repositionHotlistIssue=function(a,b,c){return(0,C.firstValueFrom)(this.observableApi.repositionHotlistIssue(a,b,c))};
g.createHotlist=function(a,b){return(0,C.firstValueFrom)(this.observableApi.createHotlist(a,b))};g.queryHotlists=function(a){return(0,C.firstValueFrom)(this.observableApi.queryHotlists(a))};g.archiveHotlist=function(a,b){return(0,C.firstValueFrom)(this.observableApi.archiveHotlist(a,b))};g.updateMetadata=function(a,b){return(0,C.firstValueFrom)(this.observableApi.updateMetadata(a,b))};
g.getPagedHotlistContent=function(a,b,c,d,e){return(0,C.firstValueFrom)(this.observableApi.getPagedHotlistContent(a,b,c,d,e))};$G.\u0275fac=function(a){return new (a||$G)(n(aH))};$G.\u0275prov=Vc({token:$G,factory:$G.\u0275fac,providedIn:"root"});var rYb=function(a){Y.call(this,a)};W(rYb,Y);g=rYb.prototype;g.getUser=function(){return Ok(this,ek,5)};g.setUser=function(a){gl(this,ek,5,a)};g.hasUser=function(){return Hl(this,ek,5)};g.getResourceType=function(){return tk(this,2,0)};g.setResourceType=function(a){k(this,2,a)};g.hasResourceType=function(){return nl(this,2)};g.getResourceId=function(){return Ck(this,3)};g.setResourceId=function(a){k(this,3,a)};g.hasResourceId=function(){return Bk(this,3)};g.getName=function(){return Dk(this,4)};
g.setName=function(a){return k(this,4,a)};g.hasName=function(){return Am(this,4)};g.getNameOrUndefined=function(){return yu(this,4)};var Lo=function(a){Y.call(this,a,-1,sYb)};W(Lo,Y);g=Lo.prototype;g.getName=function(){return Dk(this,3)};g.setName=function(a){return k(this,3,a)};g.hasName=function(){return Am(this,3)};g.getNameOrUndefined=function(){return yu(this,3)};g.getDescription=function(){return Dk(this,4)};g.setDescription=function(a){return k(this,4,a)};g.hasDescription=function(){return Am(this,4)};g.getQuery=function(){return Dk(this,7)};g.setQuery=function(a){return k(this,7,a)};g.clearQuery=function(){qu(this,7)};
g.hasQuery=function(){return Am(this,7)};g.getSortOrderList=function(){return yj(this,Io,8)};g.setSortOrderList=function(a){ac(this,8,a)};g.getDisplayColumnList=function(){return yj(this,Ho,6)};g.setDisplayColumnList=function(a){ac(this,6,a)};g.getAdminUsersList=function(){return yj(this,ek,11)};g.setAdminUsersList=function(a){ac(this,11,a)};var sYb=[8,6,11];var bH=function(a){Y.call(this,a)};W(bH,Y);bH.prototype.getFavorite=function(){return Ok(this,rYb,1)};bH.messageId="b.Favorite";var uYb=function(a){Y.call(this,a,-1,tYb)};W(uYb,Y);uYb.prototype.addHotlist=function(a){jq(this,1,Jo,a)};var tYb=[1];uYb.messageId="b.HotlistBatchResponse";var Mo=function(a){Y.call(this,a,-1,vYb)};W(Mo,Y);g=Mo.prototype;g.getId=function(){return Ck(this,1)};g.setId=function(a){return k(this,1,a)};g.getName=function(){return Dk(this,2)};g.setName=function(a){return k(this,2,a)};g.hasName=function(){return Am(this,2)};g.getNameOrUndefined=function(){return yu(this,2)};g.getDescription=function(){return Dk(this,3)};g.setDescription=function(a){return k(this,3,a)};g.hasDescription=function(){return Am(this,3)};
g.getAdminUsersList=function(){return yj(this,ek,8)};g.setAdminUsersList=function(a){ac(this,8,a)};g.getStarred=function(){return Tl(this,5)};g.setStarred=function(a){k(this,5,a)};g.getResourceType=function(){return Dk(this,6)};g.setResourceType=function(a){k(this,6,a)};g.hasResourceType=function(){return Am(this,6)};var vYb=[8];var xva=function(a){Y.call(this,a,-1,wYb)};W(xva,Y);g=xva.prototype;g.getId=function(){return Ck(this,1)};g.setId=function(a){return k(this,1,a)};g.getName=function(){return Dk(this,2)};g.setName=function(a){return k(this,2,a)};g.hasName=function(){return Am(this,2)};g.getNameOrUndefined=function(){return yu(this,2)};g.getDescription=function(){return Dk(this,3)};g.setDescription=function(a){return k(this,3,a)};g.hasDescription=function(){return Am(this,3)};
g.getAdminUsersList=function(){return yj(this,ek,8)};g.setAdminUsersList=function(a){ac(this,8,a)};g.getStarred=function(){return Tl(this,5)};g.setStarred=function(a){k(this,5,a)};var wYb=[8,6];var cH=function(a){Y.call(this,a,-1,xYb)};W(cH,Y);cH.prototype.getHotlistsList=function(){return yj(this,Mo,1)};cH.prototype.getBookmarkGroupsList=function(){return yj(this,xva,2)};var xYb=[1,2,3,4];cH.messageId="b.SidebarInfo";var zYb=function(a){Y.call(this,a,-1,yYb)};W(zYb,Y);var yYb=[1];zYb.messageId="b.UserRecentComponentResponse";var BYb=function(a){Y.call(this,a,-1,AYb)};W(BYb,Y);var AYb=[1];BYb.messageId="b.UserSavedSearchesResponse";var dH=function(){},eH=function(){};eH.\u0275fac=function(a){return new (a||eH)};eH.\u0275prov=Vc({token:eH,factory:eH.\u0275fac,providedIn:"root"});var fH=function(a){this.executor=a};W(fH,eH);g=fH.prototype;g.getUserHotlists=function(){return this.executor.get({url:"action/current_user/hotlists",responseConstructor:uYb}).pipe(B(qva))};g.getUserSidebar=function(){return this.executor.get({url:"action/current_user/sidebar",responseConstructor:cH}).pipe(B(yva))};
g.getRecentComponents=function(){return this.executor.get({url:"action/current_user/recent_components",responseConstructor:zYb}).pipe(B(fqa))};g.getUserSavedSearches=function(){return this.executor.get({url:"action/current_user/searches",responseConstructor:BYb}).pipe(B(uva))};g.getFavorite=function(a,b){return this.executor.get({url:"action/favorites/"+a+"/"+b,responseConstructor:bH}).pipe(B(sva))};
g.saveFavorite=function(a){var b=new rYb;b.setResourceType(BSb[a.resourceType]);b.setResourceId(String(a.resourceId));return this.executor.post({url:"action/favorites",body:b,responseConstructor:bH}).pipe(B(sva))};g.deleteFavorite=function(a){return this.executor.delete({url:"action/favorites/"+a.resourceType+"/"+a.resourceId,responseConstructor:null})};
var CYb=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})};fH.\u0275fac=function(a){return new (a||fH)(n(KD))};fH.\u0275prov=Vc({token:fH,factory:fH.\u0275fac,providedIn:"root"});var gH=function(a){this.observableApi=a};
W(gH,dH);g=gH.prototype;g.getUserHotlists=function(){return(0,C.firstValueFrom)(this.observableApi.getUserHotlists())};g.getUserSidebar=function(){return(0,C.firstValueFrom)(this.observableApi.getUserSidebar())};g.getRecentComponents=function(){return(0,C.firstValueFrom)(this.observableApi.getRecentComponents())};g.getUserSavedSearches=function(){return(0,C.firstValueFrom)(this.observableApi.getUserSavedSearches())};
g.getFavorite=function(a,b){return(0,C.firstValueFrom)(this.observableApi.getFavorite(a,b))};g.saveFavorite=function(a){return(0,C.firstValueFrom)(this.observableApi.saveFavorite(a))};g.deleteFavorite=function(a){return(0,C.firstValueFrom)(this.observableApi.deleteFavorite(a))};gH.\u0275fac=function(a){return new (a||gH)(n(fH))};gH.\u0275prov=Vc({token:gH,factory:gH.\u0275fac,providedIn:"root"});var DYb={parent:"me"},hH=function(a,b,c){rF.call(this,{freshUntil:3E5});var d=this;this.observableHotlistResources=a;this.observableUserResources=b;this.appEvents=c;this.recordType="hotlist";this.idKey="hotlistId";(0,C.merge)(this.appEvents.hotlistChanged,this.appEvents.hotlistCreated,this.appEvents.bookmarkGroupModified).subscribe(function(){d.pokeMany(DYb)})};W(hH,rF);
hH.prototype.fetchOne=function(a){return this.observableHotlistResources.get(a).pipe(Lf(function(b){return 403===b.status?(0,C.of)(void 0):(0,C.throwError)(b)}))};hH.prototype.fetchAll=function(a){if("me"===a.parent)return this.observableUserResources.getUserHotlists().pipe(B(function(b){return{results:b}}));sj("Unsupported query for Fridge['"+this.recordType+"']",a);return(0,C.of)({results:[]})};
hH.prototype.fetchSet=function(a){return this.observableHotlistResources.bulkLoad(a).pipe(B(function(b){return(null!=b?b:[]).filter(nk)}))};hH.prototype.doSave=function(a){return this.observableHotlistResources.updateMetadata(a.hotlistId,a)};var EYb=function(a){return a.watchMany(DYb).pipe(B(function(b){return b.results}))};hH.\u0275fac=function(a){return new (a||hH)(n(aH),n(eH),n(cG))};hH.\u0275prov=Vc({token:hH,factory:hH.\u0275fac,providedIn:"root"});var zva=function(a){Y.call(this,a,-1,FYb)};W(zva,Y);var FYb=[1];var GYb=!1;var Mp={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",TEAM_CARD:"teamCard",TEAM_WARNING:"teamWarning",UPDATE_HISTORY_MODAL:"updateHistoryModal",WHATS_NEW:"whatsNew"};var iH=function(){var a=new ij(852,"0");a.setComponentId("");a.useSendBeaconForFinalFlush();a.useGetRequestForFinalFlush();a.enableSendBeaconApi_=!0;a=new oC(852,void 0,void 0,void 0,void 0,a.build());a=this.service=new zOb(a);a.flushInterval=3E3;a.flushTimer.setInterval(3E3)};iH.\u0275fac=function(a){return new (a||iH)};iH.\u0275prov=Vc({token:iH,factory:iH.\u0275fac,providedIn:"root"});var HYb={clear:function(){},getItem:function(){},removeItem:function(){},setItem:function(){}},Oo=window.localStorage||HYb,IYb=function(a){return function(){var b=Oo.getItem(a);if(null!=b)return b=Number(b),isNaN(b)?void 0:b}},JYb=function(a){return function(){var b=Oo.getItem(a);if(null!=b)return String(b)}},KYb=function(a){return function(b){null==b?Oo.removeItem(a):Oo.setItem(a,String(b))}},LYb=function(a){return function(b){null==b?Oo.removeItem(a):Oo.setItem(a,b)}},MYb=function(a){return function(){var b=
Po(a)();Bva(a)(!b);return!b}},jH=function(a){return function(){var b=Oo.getItem(a);if(null!=b)try{return JSON.parse(b)}catch(c){console.warn("JSON.parse("+a+")"),console.warn(c)}}},Pq=function(a){return function(b){null==b?Oo.removeItem(a):Oo.setItem(a,JSON.stringify(b))}};var NYb=Po("debug-logging")(),kH=function(a,b){this.activeSession=a;this.streamz=b;this.pageLoadTime=new YRb(this.streamz.service);this.userLatency=new $Rb(this.streamz.service);this.userActionCounter=new ZRb(this.streamz.service);this.frontendAccessMode=this.activeSession.getFrontendAccessMode();this.environmentType=this.activeSession.getEnvironmentType()};
kH.prototype.timePageLoad=function(a,b){this.pageLoadTime.record(a,b,this.frontendAccessMode,this.environmentType);NYb&&console.log("Clearcut stub",{action:b,duration:a})};var lH=function(a,b,c){a.userLatency.record(b,c,a.frontendAccessMode,a.environmentType);NYb&&console.log("Clearcut stub",{action:c,duration:b})},mH=function(a,b){a.userActionCounter.increment(b,a.frontendAccessMode,a.environmentType);NYb&&console.log("Clearcut stub",{action:b})};
kH.\u0275fac=function(a){return new (a||kH)(n(Vt),n(iH))};kH.\u0275prov=Vc({token:kH,factory:kH.\u0275fac,providedIn:"root"});var Cva=window,Qva=function(){return{count:0,duration:0,transferSize:0,cacheHits:0,cacheHitRate:0}},OYb=function(a){if(Qo())try{window.performance.mark(a)}catch(b){console.warn("route_performance",b)}};var Rva=Po("debug-logging")(),Uo=window,PYb,Pva=!1;var QYb=Mp.GLOBAL_SEARCH,RYb=Mp.JOURNEY,SYb=Pq("journey-log"),TYb=jH("journey-log"),nH={},UYb=(nH.ssue__edit="edit",nH.ssue__addComment="comment",nH["ssue__light-ixn"]="ixn",nH.ssue__copyIssueId="ixn",nH[QYb+"__.*__.*text"]="ilp-search",nH[QYb+"__.*__filters"]="ilp-filter",nH),oH={startEvents:["ilp-search"],successEvents:["edit","ixn","comment"],abortEvents:["ilp-filter","idle"],successMarker:"SUCCESS-search",count:["nav"]},pH=function(a){this.clearcut=a},VYb=function(a,b){var c=void 0===c?Date.now():
c;var d,e=null!=(d=TYb())?d:[];e.push([b,c]);100<e.length&&(e=e.slice(-100));SYb(e);if(oH.successEvents.includes(b)){b=e;c=oH.abortEvents;d=oH.successEvents;e=oH.startEvents;for(var f=oH.successMarker,h,l=b.length-1;0<=l;l--){var q=m(b[l]),u=q.next().value;q=q.next().value;if(c.includes(u))break;if(f===u)break;if(d.includes(u)){if(h&&x)break;var x=q}else x&&e.includes(u)&&(h=q)}x=h&&x?[h,x]:void 0;x&&(x=m(x),h=x.next().value,x=x.next().value-h,lH(a.clearcut,x,Sva(RYb,"global-search-text")),Ro({hitType:"event",
eventCategory:RYb,eventAction:"global-search-text",eventLabel:"duration",eventValue:x}),VYb(a,oH.successMarker))}};pH.\u0275fac=function(a){return new (a||pH)(n(kH))};pH.\u0275prov=Vc({token:pH,factory:pH.\u0275fac,providedIn:"root"});var qH=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))}},WYb=function(a){Qo()&&(null!=a.observer&&a.observer.disconnect(),a.observer=new Cva.PerformanceObserver(a.onMeasurement),a.observer.observe({entryTypes:["measure"]}))};qH.\u0275fac=function(a){return new (a||qH)(n(kH))};
qH.\u0275prov=Vc({token:qH,factory:qH.\u0275fac,providedIn:"root"});var Vo={},XYb={logInfo:function(){console.log(Vva());console.log("\nDuplicate Requests:");console.table(Tva())},getCounts:function(){return Vo},getDupes:Tva,getAggregates:Vva};var YYb={attributes:!1,childList:!0,subtree:!0},rH=function(a,b,c){var d=this;this.ngZone=a;this.router=b;this.activatedRoute=c;this.dom$=new C.Subject;this.cdr$=this.ngZone.onStable;this.xhr$=new C.Subject;this.render$=(0,C.merge)(this.dom$,this.cdr$);this.renderSettled$=this.render$.pipe(Nf(200));this.navigatedTo$=this.router.events.pipe(Gf(Xva),B(function(){return Wva(d.activatedRoute.snapshot)}));this.navigatedTo$.pipe(cg(function(e){return d.renderSettled$.pipe(Rf(),B(function(){return e}))}),
$f(1));this.domObserver=new MutationObserver(function(){return void d.dom$.next()})},ZYb=function(a){a.domObserver.disconnect();a.domObserver.observe(document.body,YYb)};rH.prototype.intercept=function(a,b){var c=a.method+" "+a.urlWithParams;Vo[c]=~~Vo[c]+1;this.xhr$.next(c);return b.handle(a)};rH.\u0275fac=function(a){return new (a||rH)(n(hg),n(FG),n(so))};rH.\u0275prov=Vc({token:rH,factory:rH.\u0275fac,providedIn:"root"});var $Yb={provide:ky,useExisting:rH,multi:!0};var sH=function(a,b){this.cdr=a;this.zone=b;this.destroyed=!1};sH.prototype.ngOnDestroy=function(){this.destroyed=!0};sH.prototype.detectChanges=function(){var a=this;this.destroyed||this.zone.run(function(){a.cdr.detectChanges()})};sH.prototype.markForCheck=function(){var a=this;this.destroyed||this.zone.run(function(){a.cdr.markForCheck()})};sH.\u0275fac=function(a){return new (a||sH)(n(qw),n(hg))};sH.\u0275prov=Vc({token:sH,factory:sH.\u0275fac});var tH=function(a){Z.call(this);var b=this;this.ngZone=a;this.activeSubject$=new C.BehaviorSubject(!1);this.active$=this.activeSubject$.pipe(Qf(),dg(this.destroyed$),Zva(this.ngZone));this.onUserEvent=bEb(function(){b.activeSubject$.next(!0);aZb(b)},200);this.onVisibilityChange=function(){"hidden"===document.visibilityState?(b.activeSubject$.next(!1),clearTimeout(b.activeTimeoutId)):(b.activeSubject$.next(!0),aZb(b))}};W(tH,Z);tH.\u0275dir=Z.\u0275dir;
tH.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)};
tH.prototype.ngOnDestroy=function(){Z.prototype.ngOnDestroy.call(this);clearTimeout(this.activeTimeoutId);window.removeEventListener("click",this.onUserEvent);window.removeEventListener("keydown",this.onUserEvent);window.removeEventListener("mousemove",this.onUserEvent);window.removeEventListener("wheel",this.onUserEvent);window.removeEventListener("touchstart",this.onUserEvent);window.removeEventListener("focus",this.onUserEvent);document.removeEventListener("visibilitychange",this.onVisibilityChange)};
var aZb=function(a){clearTimeout(a.activeTimeoutId);a.activeTimeoutId=setTimeout(function(){a.activeSubject$.next(!1)},3E3)};tH.\u0275fac=function(a){return new (a||tH)(n(hg))};tH.\u0275prov=Vc({token:tH,factory:tH.\u0275fac,providedIn:"root"});var bZb=[Do,Fo,Eo],vH=function(a,b){Z.call(this);var c=this;this.router=a;this.activatedRoute=b;this.routeChangeStart=new C.Subject;this.routeChangeSuccess=new C.Subject;this.locationChangeStart=new C.Subject;this.locationChangeSuccess=new C.Subject;this.routeUpdate=new C.Subject;this.viewContentLoaded=new C.Subject;this.navigationEnd$=this.router.events.pipe(Gf(Xva));this.navigationOver$=this.router.events.pipe(Gf(function(d){return bZb.some(function(e){return d instanceof e})}));uH(this,Eua).subscribe(function(d){c.routeChangeStart.next({params:Object.assign({},
d.snapshot.queryParams,d.snapshot.params)})});a=uH(this,LWb);(0,C.merge)(this.navigationOver$.pipe(Vf(C.NEVER)),this.routeChangeStart.pipe(Vf(a))).pipe(cg(df),dg(this.destroyed$),Gf(function(d){return d.snapshot.routeConfig.isRootRoute}),B(function(d){return{params:Object.assign({},d.snapshot.queryParams,d.snapshot.params)}})).subscribe(function(d){c.routeChangeSuccess.next(d)});uH(this,Wo).pipe(B(function(d){return d.url}),Qf()).subscribe(function(){c.locationChangeStart.next()});uH(this,Do).pipe(B(function(d){return d.url}),
Qf()).subscribe(function(){c.locationChangeSuccess.next()});a=this.activatedRoute.queryParams.pipe(fg(uH(this,DWb)));(0,C.merge)(this.routeChangeStart.pipe(Vf(C.NEVER)),this.navigationOver$.pipe(Vf(a))).pipe(cg(df),dg(this.destroyed$)).subscribe(function(d){d=m(d);d.next();d=d.next().value;c.routeUpdate.next({params:d.state.root.params})});uH(this,Do).subscribe(function(){c.viewContentLoaded.next()})};W(vH,Z);vH.\u0275dir=Z.\u0275dir;
var uH=function(a,b){return a.router.events.pipe(Gf(function(c){return c instanceof b}),B(function(c){return c}),dg(a.destroyed$))};vH.\u0275fac=function(a){return new (a||vH)(n(FG),n(so))};vH.\u0275prov=Vc({token:vH,factory:vH.\u0275fac,providedIn:"root"});var $va=IYb("last-visit"),awa=IYb("last-visit-count"),cwa=KYb("last-visit"),bwa=KYb("last-visit-count");null==Date.now&&(Date.now=function(){return(new Date).getTime()});var cZb=Po("onedev-darkmode"),dZb=Po("hasClickedCommentSortBtn"),wH=function(a,b,c,d){Z.call(this);var e=this;this.journeyTracker=d;this.preapply=function(){var q=eZb;return function(u){return function(x,y){e.trackEvent(q,u,x,y)}}};dwa();To("dimension13",b.getUserTypeLabel());d=b.getUserPreferences();To("dimension7",cZb()?"dark":"default");var f;To("dimension3",null==(f=d.themePreferences)?void 0:f.density);To("dimension6",DE(b,"readUnreadOptOut"));To("dimension8",DE(b,"enableEnhancedCommentThread"));
To("dimension9",dZb());f=d.showFullHistory?"fh":"comments";var h;if(DE(b,"enableCommentFiltering")&&(null==(h=d.commentFilterPreferences)?0:h.commentFilter)){var l;f=null==(l=d.commentFilterPreferences)?void 0:l.commentFilter}To("dimension2",f);To("dimension5",d.showRecentEventsFirst?"newestFirst":"oldestFirst");To("dimension11",DE(b,"enableHomepageVariantA"));this.subscriptions.add(a.viewContentLoaded.pipe(bg(void 0)).subscribe(function(){var q=Wva(c.snapshot);To("page",q);Ro({hitType:"pageview",
page:q})}))};W(wH,Z);wH.\u0275dir=Z.\u0275dir;wH.prototype.trackEvent=function(a,b,c,d){So(a,b,c,"boolean"===typeof d?d?1:0:d);d=this.journeyTracker;a=Sva(a,b,c);b=m(Object.entries(UYb));for(c=b.next();!c.done;c=b.next()){var e=m(c.value);c=e.next().value;e=e.next().value;if(a.match(new RegExp(c))){VYb(d,e);break}}};var fZb=function(a,b,c){Ro(Object.assign({},{hitType:"timing",timingCategory:"userAction",timingVar:a,timingValue:b},void 0!==c?{timingLabel:c}:{}))};
wH.\u0275fac=function(a){return new (a||wH)(n(vH),n(Vt),n(so),n(pH))};wH.\u0275prov=Vc({token:wH,factory:wH.\u0275fac,providedIn:"root"});var hZb=function(a){Y.call(this,a,-1,gZb)};W(hZb,Y);g=hZb.prototype;g.getComponentId=function(){return ol(this,1)};g.setComponentId=function(a){return k(this,1,a)};g.hasComponentId=function(){return Tm(this,1)};g.getType=function(){return tk(this,2,0)};g.setType=function(a){return k(this,2,a)};g.hasType=function(){return nl(this,2)};g.getPriority=function(){return tk(this,3,0)};g.setPriority=function(a){return k(this,3,a)};g.hasPriority=function(){return nl(this,3)};
g.getSeverity=function(){return tk(this,4,0)};g.setSeverity=function(a){return k(this,4,a)};g.hasSeverity=function(){return nl(this,4)};g.getStatus=function(){return tk(this,5,0)};g.setStatus=function(a){return k(this,5,a)};g.hasStatus=function(){return nl(this,5)};g.getReporter=function(){return Ok(this,ek,6)};g.setReporter=function(a){gl(this,ek,6,a)};g.setAssignee=function(a){gl(this,ek,7,a)};g.clearAssignee=function(){return qu(this,7)};g.setVerifier=function(a){gl(this,ek,8,a)};
g.clearVerifier=function(){return qu(this,8)};g.addHotlistIds=function(a,b){return Ob(this,10,a,b)};g.getBlockingIssueIdsList=function(){return Ib(this,12,wb)};g.getInProd=function(){return Tl(this,15)};g.setInProd=function(a){k(this,15,a)};g.getSloSnoozeUntil=function(){return Ok(this,vj,16)};g.setSloSnoozeUntil=function(a){gl(this,vj,16,a)};g.getRetention=function(){return tk(this,17,0)};g.setRetention=function(a){k(this,17,a)};g.getEntityStatus=function(){return Ok(this,qE,18)};
g.hasEntityStatus=function(){return Hl(this,qE,18)};g.getIsArchived=function(){return Tl(this,19)};g.setIsArchived=function(a){return k(this,19,a)};var gZb=[9,10,11,12,14];var iZb=function(a){Y.call(this,a)};W(iZb,Y);g=iZb.prototype;g.getIssueId=function(){return ol(this,1)};g.setIssueId=function(a){return k(this,1,a)};g.getIssueState=function(){return Ok(this,hZb,2)};g.getVersion=function(){return zj(this,3)};g.setVersion=function(a){return k(this,3,a)};g.getVersionOrUndefined=function(){return tu(this,3)};g.getCreatedTime=function(){return Ok(this,vj,4)};g.getModifiedTime=function(){return Ok(this,vj,5)};g.getSloId=function(){return ol(this,9)};
g.setSloId=function(a){return k(this,9,a)};g.getSloStatus=function(){return Ok(this,Fl,10)};g.setSloStatus=function(a){gl(this,Fl,10,a)};g.hasSloStatus=function(){return Hl(this,Fl,10)};g.getRetentionState=function(){return Ok(this,Dl,11)};g.setRetentionState=function(a){gl(this,Dl,11,a)};g.getAccessLimit=function(){return Ok(this,Xj,12)};g.setAccessLimit=function(a){return gl(this,Xj,12,a)};g.getTeamId=function(){return ol(this,13)};g.setTeamId=function(a){return k(this,13,a)};iZb.messageId="b.IssueMetadata";var xH=function(a){Y.call(this,a,-1,jZb)};W(xH,Y);xH.prototype.getIssueIdsList=function(){return Ib(this,1,wb)};xH.prototype.setIssueIdsList=function(a){return Mb(this,1,a,vb)};xH.prototype.addIssueIds=function(a){Ob(this,1,a)};var jZb=[1];var kZb=function(a){Y.call(this,a)};W(kZb,Y);kZb.messageId="b.UpdateIssueReadTimestampResponse";var yH=function(a){this.executor=a};yH.prototype.delete=function(a,b){var c=new nE;c.setIssueId(String(a));c.setReason(rpa[b]);return this.executor.post({url:"action/issues/"+a+"/delete",body:c,responseConstructor:null})};yH.prototype.undelete=function(a){var b=new uE;b.setIssueId(String(a));return this.executor.post({url:"action/issues/"+a+"/undelete",body:b,responseConstructor:null})};yH.prototype.getMetadata=function(a){return this.executor.get({url:"action/issues/"+a+"/metadata",responseConstructor:iZb}).then(Gqa)};
yH.prototype.markRead=function(a,b){b=void 0===b?!0:b;var c=new xH;c.setIssueIdsList(a.map(Number));k(c,2,b);return this.executor.post({url:"action/issues/read_timestamp",body:c,responseConstructor:kZb}).then(Fqa)};yH.\u0275fac=function(a){return new (a||yH)(n(LD))};yH.\u0275prov=Vc({token:yH,factory:yH.\u0275fac,providedIn:"root"});var zH=function(){this.refreshRequest=new C.Subject};zH.prototype.getObservable=function(){return this.refreshRequest};var lZb=function(a,b){return a.getObservable().pipe(bg(void 0)).pipe(cg(function(){return b}))};zH.\u0275fac=function(a){return new (a||zH)};zH.\u0275prov=Vc({token:zH,factory:zH.\u0275fac,providedIn:"root"});var AH=Mp.ISSUE,BH=function(a,b,c,d,e,f,h,l){rF.call(this);var q=this;this.batchApiAdapter=a;this.issueResources=b;this.userResources=c;this.refreshMonitor=d;this.issueService=e;this.activeSession=f;this.hotlistFridge=h;this.analytics=l;this.recordType="issue";this.normalizeQueryResponses=!1;this.idForRecord=function(u){return String(u.issueId)};this.isEqual=Fj;this.issueFetchResponse$=new C.Subject;this.get=this.batchApiAdapter.adapt({bufferTimeMs:0,call:function(u){return q.call(u)},split:function(u,
x){return q.splitBatch(u,x)}});this.refreshMonitor.getObservable().subscribe(function(){q.invalidate()})};W(BH,rF);BH.prototype.fetchOne=function(a){return this.get(a).pipe(Lf(function(){return(0,C.of)(void 0)}))};BH.prototype.fetchSet=function(a){var b=this;return(0,C.combineLatest)(a.map(function(c){return b.fetchOne(c)})).pipe(B(function(c){return c.filter(nk)}))};
BH.prototype.fetchAll=function(a){var b=a.filter;a={s:a.sort,count:a.pageSize};if(b)return this.issueResources.listIssues(b,a).pipe(B(function(c){return{results:c.issues,totalSize:c.numTotalResults}}));throw Error("Lc");};BH.prototype.copy=function(a){return a&&Gj(a)};
var mZb=function(a,b,c){a.analytics.trackEvent(AH,"light-ixn","star");var d={starred:c,voted:null,notificationSubscription:null};CE(a.activeSession)&&(d.voted=c);return CYb(a.userResources,b,d).pipe(eg(function(){qF(a,b,function(e){e.userData&&(e.userData.starred=c,CE(a.activeSession)&&(e.userData.voted=c))})}))};
BH.prototype.setVoted=function(a,b){var c=this;this.analytics.trackEvent(AH,"light-ixn","vote",b);return CYb(this.userResources,a,{voted:b,starred:null,notificationSubscription:null}).pipe(eg(function(){qF(c,a,function(d){d.userData&&(d.userData.voted=b)})}))};
BH.prototype.setNotificationSubscription=function(a,b){var c=this,d;return of(function(e){if(1==e.nextAddress)return c.analytics.trackEvent(AH,"light-ixn","notifs",Number(b)),d={voted:null,starred:null,notificationSubscription:b},e.yield((0,C.firstValueFrom)(CYb(c.userResources,a,d)),2);qF(c,a,function(f){f.userData&&(f.userData.notificationSubscription=b)});tf(e)})};
var nZb=function(a,b,c){a.analytics.trackEvent(AH,"edit","title");var d={issueId:b,actions:[{fieldName:"title",value:c}]};qF(a,b,function(e){e.snapshot[0].title=c});return a.issueResources.updateIssue(b,d).pipe(eg(function(e){e&&a.announce(e.issue)}))},oZb=function(a,b,c,d){var e,f,h,l,q,u,x;return of(function(y){if(1==y.nextAddress){a.analytics.trackEvent(AH,"edit","hotlists");e={removeHotlistIds:d,addHotlistIds:c,hotlistIssue:{issueId:b}};f=m([].concat(r(c),r(d)));for(h=f.next();!h.done;h=f.next())l=
h.value,a.hotlistFridge.setIsSaving(l);pf(y,2);return y.yield((0,C.firstValueFrom)(a.issueResources.updateIssueHotlists(b,e)).finally(function(){for(var G=m([].concat(r(c),r(d))),L=G.next();!L.done;L=G.next())a.hotlistFridge.clearIsSaving(L.value)}),4)}if(2!=y.nextAddress)return(q=y.yieldResult)&&a.announce(q.issue),y.return(null==(u=q)?void 0:u.issue);x=sf(y);a.poke(b);throw x;})},pZb=function(a,b,c){return CH(a,"ADD","DUPLICATE",c,[b]).then(function(){return a.poke(b)})};
BH.prototype.removeDuplicate=function(a,b){var c=this;return CH(this,"REMOVE","DUPLICATE",b,[a]).then(function(){return c.poke(a)})};
var CH=function(a,b,c,d,e){if(0===e.length||null==d)return Promise.resolve(void 0);a.analytics.trackEvent(AH,"edit","relation",Number(c));b={relation:c,issueId:d,targetIds:e,actionType:b};qZb(a,b);var f=[d].concat(r(e));e=m(f);for(c=e.next();!c.done;c=e.next())a.setIsSaving(c.value);return(0,C.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=m(f),l=h.next();!l.done;l=h.next())a.clearIsSaving(l.value)})},
DH=function(a,b,c){c=void 0===c?{}:c;var d=void 0===c.markRead?!0:c.markRead,e=void 0===c.eagerUpdate?!0:c.eagerUpdate,f,h,l,q;return of(function(u){if(1==u.nextAddress)return a.activeSession.isAnonymous()?u.return():u.yield(a.issueService.markRead(b,d),2);f=u.yieldResult;if(e)for(h=m(b),l=h.next();!l.done;l=h.next())q=l.value,qF(a,String(q),function(x){x.userData&&(x.userData.lastViewedTimeMicros=f.readTimestamp)});return u.return(f.readTimestamp?Math.round(f.readTimestamp/1E3):void 0)})},qZb=function(a,
b){qF(a,b.issueId,function(c){switch(b.relation){case "BLOCKED_BY":if("ADD"===b.actionType){var d;c.snapshot[0].blockedByIssueId=[].concat(r(null!=(d=c.snapshot[0].blockedByIssueId)?d:[]),r(b.targetIds.map(String)))}else if("REMOVE"===b.actionType){var e,f;c.snapshot[0].blockedByIssueId=null!=(f=null==(e=c.snapshot[0].blockedByIssueId)?void 0:e.filter(function(h){return!b.targetIds.includes(String(h))}))?f:[]}}})};
BH.prototype.call=function(a){var b=this;if(1===a.size){var c=[].concat(r(a))[0];return this.issueResources.getIssue(c).pipe(eg(function(d){b.issueFetchResponse$.next(d)}),B(function(d){return new Map([[c,d.issue]])}))}return this.issueResources.batchGetIssues([].concat(r(a))).pipe(B(function(d){return new Map(d.map(function(e){return[e.issueId,e]}))}))};BH.prototype.splitBatch=function(a,b){return b.get(a)};BH.\u0275fac=function(a){return new (a||BH)(n(uF),n(QE),n(eH),n(zH),n(yH),n(Vt),n(hH),n(wH))};
BH.\u0275prov=Vc({token:BH,factory:BH.\u0275fac,providedIn:"root"});var EH=function(a,b){rF.call(this);this.observableIssueResources=a;this.issueFridge=b;this.recordType="issue-fr";this.idForRecord=function(c){return c.issueId};this.isEqual=Fj;this.destroyed$=new C.ReplaySubject(1);GYb?a=void 0:(GYb=!0,a=Ava());a&&rZb(this,a);this.issueFridge.issueFetchResponse$.pipe(Gf(nk),B(fwa),dg(this.destroyed$)).subscribe(this.announce)};W(EH,rF);
var FH=function(a,b){return a.watch(b).pipe(cg(function(c){return a.issueFridge.watch(b).pipe(B(function(d){return c&&d&&Object.assign({},c,{issue:d})}))}))},GH=function(a,b,c){return a.poke(b,c).then(function(){return(0,C.firstValueFrom)(FH(a,b))})},rZb=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)};
EH.prototype.fetchOne=function(a){var b=this;this.issueFridge.setIsGetting(a);return this.observableIssueResources.getIssue(a).pipe(eg(function(c){(null==c?0:c.issue)&&b.issueFridge.announce(c.issue);b.issueFridge.clearIsGetting(a)}),B(function(c){return c&&fwa(c)}),Lf(function(c){b.issueFridge.clearIsGetting(a);return(0,C.throwError)(c)}))};EH.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete()};EH.prototype.copy=function(a){return a&&Object.assign({},a)};
EH.\u0275fac=function(a){return new (a||EH)(n(QE),n(BH))};EH.\u0275prov=Vc({token:EH,factory:EH.\u0275fac,providedIn:"root"});var HH={},sZb=(HH.BUG="BUG",HH.FEATURE_REQUEST="FEATURE_REQUEST",HH.CUSTOMER_ISSUE="CUSTOMER_ISSUE",HH.INTERNAL_CLEANUP="INTERNAL_CLEANUP",HH.PROCESS="PROCESS",HH.VULNERABILITY="VULNERABILITY",HH.PRIVACY_ISSUE="PRIVACY_ISSUE",HH.EPIC="STORY",HH.STORY="TASK",HH.TASK="TASK",HH.PROJECT="TASK",HH.FEATURE="TASK",HH.MILESTONE="TASK",HH);var IH=function(a,b,c){pF.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=Fj;this.activeMoveOperation$=new C.BehaviorSubject(new Set);this.defaultQuery={type:"descendants",depth:1};this.assignParentToIssues=hwa(function(e,f){return tZb(d,e,f)});this.assignParentToOneIssue=function(e,f){return tZb(d,String(e),[{issueId:f}])};
this.moveChildrenInAPI=gwa(function(e){return d.moveChildrenInAPISequentially(e)});this.moveChildrenInAPISequentially=hwa(function(e){var f,h,l,q,u,x,y,G,L,M,T,S,X,aa,na,ma,Ca,Fa,Ja,Ab,cb,Ma,ha,xa,Da,Wa;return of(function(Ra){switch(Ra.nextAddress){case 1:h=nwa(e);if(0===h.length)return Ra.return();l=h.map(function(Ec){return Ec.issues.map(function(Va){return Va.parentId})}).flat();q=h.map(function(Ec){return Ec.newParentId});u=wn([].concat(r(l),r(q)));x=m(u);for(y=x.next();!y.done;y=x.next())G=y.value,
d.setIsSaving(G);pf(Ra,2);L=m(h);M=L.next();case 4:if(M.done){au(Ra,3);break}T=M.value;S={};X=m(T.newRelations);aa=X.next();case 7:if(aa.done){M=L.next();Ra.jumpTo(4);break}S.$jscomp$loop$prop$newRelation$2237=aa.value;na=T.issues.find(function(Ec){return function(Va){return Va.issueId===Ec.$jscomp$loop$prop$newRelation$2237.targetIssueId}}(S)).parentId;if(T.newParentId===na)return Ca=void 0,Ra.yield((0,C.firstValueFrom)(d.issueRelationshipService.update(T.newParentId,1,TE(zUb(new SE,null!=(Ca=hk(S.$jscomp$loop$prop$newRelation$2237.afterIssueId))?
Ca:0),Number(S.$jscomp$loop$prop$newRelation$2237.targetIssueId)))),8);ma=void 0;return Ra.yield((0,C.firstValueFrom)(d.issueRelationshipService.create(T.newParentId,1,TE(zUb(new SE,null!=(ma=hk(S.$jscomp$loop$prop$newRelation$2237.afterIssueId))?ma:0),Number(S.$jscomp$loop$prop$newRelation$2237.targetIssueId)))).catch(function(Ec){var Va,kb;if(!(null==Ec?0:null==(Va=Ec.error)?0:null==(kb=Va.details)?0:kb.includes("ALREADY_EXISTS")))throw Ec;}),12);case 12:return Ra.yield((0,C.firstValueFrom)(d.issueRelationshipService.delete(na,
1,S.$jscomp$loop$prop$newRelation$2237.targetIssueId)),8);case 8:S={$jscomp$loop$prop$newRelation$2237:S.$jscomp$loop$prop$newRelation$2237};aa=X.next();Ra.jumpTo(7);break;case 2:f=Fa=sf(Ra);case 3:Ja=d.activeMoveOperation$.value;Ab=m(e.map(function(Ec){return Ec.eventTimestamps}).flat());for(cb=Ab.next();!cb.done;cb=Ab.next())Ma=cb.value,Ja.delete(Ma);d.activeMoveOperation$.next(Ja);ha=m(u);for(y=ha.next();!y.done;y=ha.next())xa=y.value,d.clearIsSaving(xa);Promise.all(u.map(function(Ec){return d.poke(Ec)}));
Da=m(h);for(M=Da.next();!M.done;M=Da.next())Wa=M.value,f&&Wa.done.reject(f),Wa.done.resolve();tf(Ra)}})});this.refreshMonitor.getObservable().subscribe(function(){d.invalidate()})};W(IH,pF);IH.prototype.fetchOne=function(a){var b=this;return uZb(this,function(){return b.issueRelationshipService.list(a,1).pipe(B(function(c){return{issueId:a,relatedChildren:c.map(vpa),totalChildCount:c.length}}),Lf(function(c){return Vn(c)&&403===c.status?(0,C.of)(void 0):(0,C.throwError)(c)}))})};
IH.prototype.fetchAll=function(a){var b=this;switch(a.type){case "descendants":var c,d=[].concat(r(null!=(c=a.ids)?c:[]));return 0===d.length?(0,C.of)({results:[]}):uZb(this,function(){return b.issueRelationshipService.getDescendants({issueIds:d,relationshipType:1,includeArchived:!!a.includeArchived,depthLimit:a.depth,prefixSizeLimit:500}).pipe(B(yqa),B(function(e){return{results:e}}))});default:jj(a.type)}};IH.prototype.copy=function(a){return a&&Gj(a)};
var uZb=function(a,b){var c=function(){return a.activeMoveOperation$.pipe(Gf(function(d){return 0===d.size}),cg(function(){return b()}),cg(function(d){return 0===a.activeMoveOperation$.value.size?(0,C.of)(d):c()}),Rf())};return c()},vZb=function(a,b){return a.watch(b).pipe(cg(function(c){return c&&c.totalChildCount===c.relatedChildren.length?(0,C.of)(c):a.watch(b,{trustMemory:!1})}))},JH=function(a,b,c){return a.watchMany({type:"descendants",ids:new Set([b]),depth:void 0===c?100:c})},wZb=function(a,
b){return a.pokeMany({type:"descendants",ids:new Set([b]),depth:3})};
IH.prototype.unlinkFromParent=function(a,b,c){c=void 0===c?!1:c;var d=this,e;return of(function(f){switch(f.nextAddress){case 1:qF(d.issueFridge,b,function(h){--h.childIssueCount});qF(d.issueFridge,a,function(h){h.parentIssueIds=h.parentIssueIds.filter(function(l){return l!==b})});qF(d,b,function(h){var l=h.relatedChildren;h.relatedChildren=mwa(l,a);h.totalChildCount-=l.length-h.relatedChildren.length});if(c)return f.return();pf(f,2);return f.yield((0,C.firstValueFrom)(d.issueRelationshipService.delete(b,
1,a)),4);case 4:au(f,0);break;case 2:return e=sf(f),f.yield(Promise.all([d.poke(b),d.issueFridge.poke(b),d.issueFridge.poke(a)]),5);case 5:throw e;}})};
var tZb=function(a,b,c){var d,e,f,h,l,q,u,x,y,G;return of(function(L){switch(L.nextAddress){case 1:d=[];e=[];f=[];if(0===c.length)return L.return({added:d,notAdded:e});h=xZb(a,b);l=c.map(function(M,T){var S="-1"===M.afterIssueId?h:M.afterIssueId;return{targetIssueId:M.issueId,afterIssueId:T?c[T-1].issueId:S}});yZb(a,b,l);q=m(l);u=q.next();case 2:if(u.done){L.jumpTo(4);break}x=u.value;pf(L,5);y=void 0;return L.yield((0,C.firstValueFrom)(a.issueRelationshipService.create(b,1,TE(zUb(new SE,null!=(y=
hk(x.afterIssueId))?y:0),Number(x.targetIssueId)))),7);case 7:d.push(x.targetIssueId);au(L,3);break;case 5:G=sf(L);if(!Vn(G))throw G;f.push(G);e.push(x.targetIssueId);case 3:u=q.next();L.jumpTo(2);break;case 4:return Promise.all([a.poke(b),a.issueFridge.poke(b)]),L.return(Object.assign({},{added:d,notAdded:e},f.length?{errors:f}:{}))}})},yZb=function(a,b,c){var d=0;qF(a,b,function(e){var f=lwa(e.relatedChildren,c);d=f.length-e.relatedChildren.length;e.relatedChildren=f;e.totalChildCount+=d},{evenWhenInFlight:!0});
qF(a.issueFridge,b,function(e){e.childIssueCount+=d},{evenWhenInFlight:!0})},zZb=function(a,b,c){var d,e,f,h,l,q,u,x,y,G,L,M;return of(function(T){if(1==T.nextAddress)return d=[],e=[],f=[],0===c.length?T.return({added:d,notAdded:e}):T.yield(Promise.allSettled(c.map(function(S){return(0,C.firstValueFrom)(a.issueRelationshipService.create(S,1,TE(zUb(new SE,Number(xZb(a,S))),Number(b))))})),2);h=T.yieldResult;l=m(h.entries());for(q=l.next();!q.done;q=l.next())u=q.value,x=m(u),y=x.next().value,G=x.next().value,
L=y,M=G,"fulfilled"===M.status&&d.push(c[L]),"rejected"===M.status&&(e.push(c[L]),f.push(M.reason));Promise.all(c.map(function(S){return a.poke(S)}));return T.return({added:d,notAdded:e,errors:f})})},AZb=function(a,b,c){var d=b.parentId,e=Date.now();a.activeMoveOperation$.next(a.activeMoveOperation$.value.add(e));for(var f={},h=m(c),l=h.next();!l.done;f={$jscomp$loop$prop$issue$2239:f.$jscomp$loop$prop$issue$2239},l=h.next())f.$jscomp$loop$prop$issue$2239=l.value,qF(a,f.$jscomp$loop$prop$issue$2239.parentId,
function(X){return function(aa){aa.relatedChildren=mwa(aa.relatedChildren,X.$jscomp$loop$prop$issue$2239.issueId);--aa.totalChildCount}}(f));var q=void 0,u;if(null==(u=b.position)?0:u.issueId){var x;if("after"===(null==(x=b.position)?void 0:x.position))q=b.position.issueId;else{var y;if("before"===(null==(y=b.position)?void 0:y.position)){var G,L;f=null!=(L=null==(G=a.memory.getData(d))?void 0:G.relatedChildren)?L:[];G=m(f.entries());for(L=G.next();!L.done;L=G.next())if(h=m(L.value),L=h.next().value,
h=h.next().value,h.targetIssueId===b.position.issueId){b=void 0;q=null==(b=f[L-1])?void 0:b.targetIssueId;break}}}}var M=c.map(function(X,aa){return{targetIssueId:X.issueId,afterIssueId:aa?c[aa-1].issueId:q}});void 0!==uVb(a,d)?qF(a,d,function(X){X.relatedChildren=lwa(X.relatedChildren,M);X.totalChildCount+=M.length},{evenWhenInFlight:!0}):a.announce({issueId:d,relatedChildren:lwa([],M),totalChildCount:M.length});b=new Wsa;var T,S;a.moveChildrenInAPI({newParentId:d,newRelations:M,issues:c,eventTimestamps:[e],
newParentChildrenSnapshot:null!=(S=null==(T=a.memory.getData(d))?void 0:T.relatedChildren)?S:[],done:b});return b.promise},xZb=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"};IH.\u0275fac=function(a){return new (a||IH)(n(ZE),n(BH),n(zH))};IH.\u0275prov=Vc({token:IH,factory:IH.\u0275fac,providedIn:"root"});var KH=function(a){rF.call(this);this.observableAccessResources=a;this.recordType="permissions"};W(KH,rF);KH.prototype.fetchOne=function(a){return this.fetchSet([a]).pipe(B(function(b){return m(b).next().value}))};
KH.prototype.fetchSet=function(a){for(var b=[],c=m(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(B(function(e){return a.map(function(f){return Object.assign({},e[f],{id:f})})}))};KH.\u0275fac=function(a){return new (a||KH)(n(LF))};KH.\u0275prov=Vc({token:KH,factory:KH.\u0275fac,providedIn:"root"});var BZb={results:[]},LH=function(a){rF.call(this);this.savedSearchResources=a;this.recordType="savedSearch";this.idKey="searchId"};W(LH,rF);LH.prototype.fetchAll=function(a){if("me"===a.parent)return this.savedSearchResources.getUserSavedSearches().pipe(B(function(b){return{results:b}}));sj("Unsupported query for Fridge['"+this.recordType+"']",a);return(0,C.of)(BZb)};LH.\u0275fac=function(a){return new (a||LH)(n(eH))};LH.\u0275prov=Vc({token:LH,factory:LH.\u0275fac,providedIn:"root"});var CZb=function(a,b){this.rawGet=a;this.cacheSize=b;this.lruCache=new VG(this.cacheSize,!0,function(c,d){d.subscription.unsubscribe()})};CZb.prototype.get=function(a){var b=this;return new C.Observable(function(c){var d=b.lruCache.get(a);d||(d=DZb(b,a));return d.obs$.subscribe(c)})};
var DZb=function(a,b){var c=a.rawGet(b).pipe($f({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 EZb(c,d);a.lruCache.set(b,c);return c},EZb=function(a,b){this.obs$=a;this.subscription=b};var GZb=function(a){Y.call(this,a,-1,FZb)};W(GZb,Y);var HZb=function(a,b){return sl(a,1,b)},FZb=[1];GZb.messageId="b.BatchChildTeamsRequest";var JZb=function(a){Y.call(this,a,-1,IZb)};W(JZb,Y);var IZb=[1];var KZb=function(a){Y.call(this,a)};W(KZb,Y);KZb.messageId="b.BatchChildTeamsResponse";var MH=function(a){Y.call(this,a)};W(MH,Y);MH.messageId="b.BatchGetTeamsResponse";var NH=function(a){Y.call(this,a,-1,LZb)};W(NH,Y);NH.prototype.getTeamSuggestionsList=function(){return yj(this,MTb,1)};NH.prototype.setTeamSuggestionsList=function(a){ac(this,1,a)};var LZb=[1];NH.messageId="b.TeamSuggestionResult";var OH=function(a){Y.call(this,a)};W(OH,Y);OH.prototype.getTeamId=function(){return Ck(this,1)};OH.prototype.setTeamId=function(a){return k(this,1,a)};OH.messageId="b.UpdateTeamSloRequest";var PH=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 CZb(function(e){return d.batchAdaptedGet(e)},100)};PH.prototype.get=function(a){return this.executor.get({url:"action/teams/"+a,responseConstructor:yE})};PH.prototype.getTeam=function(a){return this.memoizingTeamStateMap.get(a)};
var MZb=function(a,b){b=b.filter(function(c){return"0"!==c}).map(function(c){return a.getTeam(c)});return(0,C.forkJoin)(b).pipe(B(function(c){var d=new MH;c=m(c);for(var e=c.next();!e.done;e=c.next())e=e.value,Yl(d,1,yE).set(e.getTeamId(),e);return d}))};
PH.prototype.getChildTeams=function(a){a=HZb(new GZb,a);return this.executor.post({url:"action/child_teams",body:a,responseConstructor:KZb}).pipe(B(function(b){b=[].concat(r(Yl(b,1,JZb).entries()));return new Map(b.map(function(c){var d=m(c);c=d.next().value;d=d.next().value;return[c,yj(d,NTb,1).map(Ypa)]}))}))};
var QH=function(a,b){return a.executor.get({url:"action/suggest_teams",options:{params:{query:b}},responseConstructor:NH})},NZb=function(a){return QH(a,"").pipe(B(function(b){return b.getTeamSuggestionsList().map($pa)}))},OZb=function(a,b,c){return"0"===b?(0,C.of)(!1):a.memoizingTeamStateMap.get(b).pipe(B(function(d){return void 0!==d.getMembersList().find(function(e){return e&&ck(e.getUser())===c})}))},PZb=function(a,b){return a.executor.get({url:"action/teams",options:{params:{teamIds:b.join(","),
view:"full"}},responseConstructor:MH}).pipe(Lf(function(){return(0,C.of)(new MH)}),B(function(c){return new Map(Array.from(Yl(c,1,yE).entries()).map(function(d){var e=m(d);d=e.next().value;e=e.next().value;return[d,ol(e,9)]}))}))};PH.prototype.updateTeam=function(a){return this.executor.post({url:"action/teams/"+a.getTeamId(),body:a,responseConstructor:yE})};PH.\u0275fac=function(a){return new (a||PH)(n(KD),n(RH),n(uF))};PH.\u0275prov=Vc({token:PH,factory:PH.\u0275fac,providedIn:"root"});
var RH=function(a){this.executor=a};RH.prototype.call=function(a){return this.executor.get({url:"action/teams",options:{params:{teamIds:[].concat(r(a)).join(",")}},responseConstructor:MH}).pipe(Lf(function(){return(0,C.of)(new MH)}))};RH.prototype.split=function(a,b){return Yl(b,1,yE).get(a)||new yE};RH.\u0275fac=function(a){return new (a||RH)(n(KD))};RH.\u0275prov=Vc({token:RH,factory:RH.\u0275fac,providedIn:"root"});var SH=function(a){pF.call(this);this.teamsApi=a;this.defaultQuery={};this.recordType="TeamDigest";this.idForRecord=function(b){var c;return null!=(c=b.teamId)?c:"NO_ID"}};W(SH,pF);SH.prototype.fetchAll=function(a){if(a.myTeams)return NZb(this.teamsApi).pipe(B(function(b){b=void 0===b?[]:b;return{results:b}}));throw Error("Mc");};SH.\u0275fac=function(a){return new (a||SH)(n(PH))};SH.\u0275prov=Vc({token:SH,factory:SH.\u0275fac,providedIn:"root"});var TH=function(a){rF.call(this);this.teamsApi=a;this.recordType="team";this.idForRecord=function(b){return b.getTeamId()}};W(TH,rF);TH.prototype.fetchOne=function(a){return"0"===a?(0,C.of)(void 0):this.teamsApi.getTeam(a).pipe(Lf(function(){return(0,C.of)(void 0)}))};TH.prototype.fetchSet=function(a){var b=this;return(0,C.combineLatest)(a.map(function(c){return b.fetchOne(c)})).pipe(B(function(c){return c.filter(nk)}))};TH.\u0275fac=function(a){return new (a||TH)(n(PH))};
TH.\u0275prov=Vc({token:TH,factory:TH.\u0275fac,providedIn:"root"});var RZb=function(a){Y.call(this,a,-1,QZb)};W(RZb,Y);RZb.prototype.getTrackersList=function(){return yj(this,qn,1)};var QZb=[1];RZb.messageId="b.BatchGetTrackersResponse";var UH=function(a){Y.call(this,a,-1,SZb)};W(UH,Y);UH.prototype.getTrackersList=function(){return yj(this,qn,1)};UH.prototype.getNextPageToken=function(){return Dk(this,2)};UH.prototype.getTotalSize=function(){return zj(this,3)};var SZb=[1];UH.messageId="b.ListTrackersResponse";var VH=function(a){this.jspbExecutor=a};VH.prototype.get=function(a){return this.jspbExecutor.get({url:"action/trackers/"+a,responseConstructor:qn}).pipe(B(Bm))};VH.prototype.batchGet=function(a){return this.jspbExecutor.get({url:"action/trackers/batch",responseConstructor:RZb,options:{params:{trackerIds:a}}}).pipe(B(Oqa))};
VH.prototype.query=function(a,b,c){return this.jspbExecutor.get({url:"action/trackers",responseConstructor:UH,options:{params:{query:a,pageSize:String(b),pageToken:void 0===c?"":c}}}).pipe(B(Pqa))};VH.\u0275fac=function(a){return new (a||VH)(n(KD))};VH.\u0275prov=Vc({token:VH,factory:VH.\u0275fac,providedIn:"root"});var WH=function(a,b){rF.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)};W(WH,rF);WH.prototype.fetchOne=function(a){return this.trackerApi.get(a)};WH.prototype.fetchSet=function(a){return this.trackerApi.batchGet(a)};
WH.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(B(function(d){var e;return{results:null!=(e=null==d?void 0:d.trackers)?e:[]}}))};WH.\u0275fac=function(a){return new (a||WH)(n(VH),n(Vt))};WH.\u0275prov=Vc({token:WH,factory:WH.\u0275fac,providedIn:"root"});var XH=function(a){this.issueFridge=a},TZb=function(a,b,c){c=void 0===c?!1:c;if(null==b)return(0,C.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(B(function(e){return e.results}))},UZb=function(a){var b=Qn();return a.issueFridge.watchMany({filter:On()!==Pn?"(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(B(function(c){return c.results}))},VZb=function(a){return a.issueFridge.watchMany({filter:"assignee:"+Qn()+" status:open modified:30d",
pageSize:50,sort:"modified_time:desc"}).pipe(B(function(b){return b.results}))};XH.\u0275fac=function(a){return new (a||XH)(n(BH))};XH.\u0275prov=Vc({token:XH,factory:XH.\u0275fac,providedIn:"root"});var YH=function(a){var b=this;this.queryIssuesService=a;this.issuesFromQuery$=(0,C.defer)(function(){return TZb(b.queryIssuesService,Qn(),!0)});this.suggestedHotlists$=this.issuesFromQuery$.pipe(B(this.fetchHotlistsFromIssues.bind(this)))};
YH.prototype.fetchHotlistsFromIssues=function(a){var b=new Map;a=m(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=void 0,e=void 0,f=null!=(e=null==(d=c.snapshot[0])?void 0:d.hotlistId)?e:[];d=m(f);for(e=d.next();!e.done;e=d.next())if(e=e.value,b.has(e)){f=void 0;var h=null!=(f=b.get(e))?f:{count:0,confidence:0};h.count++;h.confidence+=this.calculateConfidence(c);b.set(e,h)}else f=this.calculateConfidence(c),b.set(e,{count:1,confidence:f})}return WZb(b)};
var WZb=function(a){return new Map([].concat(r(a.entries())).sort(function(b,c){return c[1].confidence-b[1].confidence}))};YH.prototype.calculateConfidence=function(a){var b=0,c=Qn(),d,e,f,h=(null==(d=a.snapshot[0])?void 0:null==(e=d.assigneeUser)?void 0:null==(f=e.emailAddress)?void 0:f.split("@")[0])===c,l,q,u;d=(null==(l=a.snapshot[0])?void 0:null==(q=l.reporterUser)?void 0:null==(u=q.emailAddress)?void 0:u.split("@")[0])===c;h&&(b+=5);d&&(b+=3);return b=Dn(a)?b+2:b+1};
YH.\u0275fac=function(a){return new (a||YH)(n(XH))};YH.\u0275prov=Vc({token:YH,factory:YH.\u0275fac,providedIn:"root"});var XZb=function(a){Y.call(this,a)};W(XZb,Y);g=XZb.prototype;g.getIssueId=function(){return Ck(this,1)};g.setIssueId=function(a){return k(this,1,a)};g.getComment=function(){return Dk(this,2)};g.setComment=function(a){k(this,2,a)};g.getFormattingMode=function(){return tk(this,3,0)};g.setFormattingMode=function(a){return k(this,3,a)};g.getContentJudgement=function(){return Ok(this,Ek,4)};g.setContentJudgement=function(a){return gl(this,Ek,4,a)};var YZb=function(a){Y.call(this,a)};W(YZb,Y);g=YZb.prototype;g.getType=function(){return tk(this,1,0)};g.setType=function(a){return k(this,1,a)};g.hasType=function(){return nl(this,1)};g.setPageSize=function(a){return k(this,2,a)};g.setPageToken=function(a){return k(this,3,a)};YZb.messageId="b.ListCommentReactionRespondersRequest";var xm=function(a){Y.call(this,a)};W(xm,Y);xm.prototype.getCreatedTime=function(){return Ok(this,vj,2)};xm.messageId="b.CommentReactionResponder";var ZH=function(a){Y.call(this,a,-1,ZZb)};W(ZH,Y);ZH.prototype.getNextPageToken=function(){return Dk(this,2)};ZH.prototype.getTotalSize=function(){return zj(this,3)};var ZZb=[1];ZH.messageId="b.ListCommentReactionRespondersResponse";var a_b=function(a){Y.call(this,a,-1,$Zb)};W(a_b,Y);a_b.prototype.getIssueCommentsList=function(){return yj(this,sE,1)};var $Zb=[1];a_b.messageId="b.ListIssueCommentHistoryResponse";var b_b=function(a){Y.call(this,a)};W(b_b,Y);g=b_b.prototype;g.getIssueId=function(){return Ck(this,1)};g.setIssueId=function(a){return k(this,1,a)};g.getCommentNumber=function(){return zj(this,2)};g.setCommentNumber=function(a){return k(this,2,a)};g.getComment=function(){return Dk(this,3)};g.setComment=function(a){k(this,3,a)};g.getFormattingMode=function(){return tk(this,4,0)};g.setFormattingMode=function(a){return k(this,4,a)};var $H=function(){};$H.\u0275fac=function(a){return new (a||$H)};$H.\u0275prov=Vc({token:$H,factory:$H.\u0275fac,providedIn:"root"});var aI=function(a){this.executor=a};g=aI.prototype;g.get=function(a,b,c){var d={};c&&(d["X-Restricted-Content-Limit"]=String(ooa(c)));return this.executor.get({url:"action/issues/"+a+"/comment/"+b,options:{headers:d},responseConstructor:sE}).pipe(B(wm))};
g.create=function(a,b,c,d,e){var f={};e&&(f["G-Recaptcha-Response-Token"]=e);e=new XZb;e.setIssueId(a);e.setComment(b);e.setFormattingMode(um(c));e.setContentJudgement(d);return this.executor.post({url:"action/issues/"+a+"/comment",body:e,responseConstructor:null,options:{headers:f}})};
g.update=function(a,b,c,d,e){var f={};e&&(f["G-Recaptcha-Response-Token"]=e);e=new b_b;e.setIssueId(a);e.setCommentNumber(b);e.setComment(c);e.setFormattingMode(um(d));return this.executor.post({url:"action/issues/"+a+"/updateComment",body:e,options:{headers:f},responseConstructor:null})};g.delete=function(a,b,c,d){return this.executor.delete({url:"action/issues/"+a+"/comment/"+b,options:{params:{reason:c},headers:{"If-Match":d}},responseConstructor:null})};
g.undelete=function(a,b,c){var d={};void 0!==c&&(d.comment_version=String(c));return this.executor.post({url:"action/issues/"+a+"/comment/"+b+"/undelete",body:null,options:{params:d},responseConstructor:sE}).pipe(B(wm))};g.listHistory=function(a,b){return this.executor.get({url:"action/issues/"+a+"/comment/"+b+"/history",responseConstructor:a_b}).pipe(B(Hqa))};
g.updateCommentReaction=function(a){var b=a.issueId,c=a.commentId,d=a.reactionType;a=a.hasReacted;var e;d=(new pE).addReactionStates((new oE).setType(null!=(e=ASb[d])?e:0).setHasReacted(a));return this.executor.post({url:"action/issues/"+b+"/comment/"+c+"/updateReaction",body:d,responseConstructor:pE}).pipe(B(xqa))};
g.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 f;d=(new YZb).setType(null!=(f=ASb[d])?f:0).setPageSize(a);e&&d.setPageToken(e);return this.executor.post({url:"action/issues/"+b+"/comment/"+c+"/listReactionResponders",body:d,responseConstructor:ZH}).pipe(B(Kqa))};aI.\u0275fac=function(a){return new (a||aI)(n(KD))};aI.\u0275prov=Vc({token:aI,factory:aI.\u0275fac,providedIn:"root"});
var bI=function(a){this.observableApi=a};W(bI,$H);g=bI.prototype;g.get=function(a,b,c){return(0,C.firstValueFrom)(this.observableApi.get(a,b,c))};g.create=function(a,b,c,d,e){return(0,C.firstValueFrom)(this.observableApi.create(a,b,c,d,e))};g.update=function(a,b,c,d,e){return(0,C.firstValueFrom)(this.observableApi.update(a,b,c,d,e))};g.delete=function(a,b,c,d){return(0,C.firstValueFrom)(this.observableApi.delete(a,b,c,d))};
g.undelete=function(a,b,c){return(0,C.firstValueFrom)(this.observableApi.undelete(a,b,c))};g.listHistory=function(a,b){return(0,C.firstValueFrom)(this.observableApi.listHistory(a,b))};g.updateCommentReaction=function(a){return(0,C.firstValueFrom)(this.observableApi.updateCommentReaction(a))};g.listCommentReactionResponders=function(a){return(0,C.firstValueFrom)(this.observableApi.listCommentReactionResponders(a))};bI.\u0275fac=function(a){return new (a||bI)(n(aI))};
bI.\u0275prov=Vc({token:bI,factory:bI.\u0275fac,providedIn:"root"});var cI=function(a,b){this.teamDigestFridge=a;this.activeSession=b;this.destroyed$=new C.Subject;this.email=this.activeSession.getUserEmail();this.user=gk(this.activeSession.getUserEmail());this.isInternal=this.activeSession.isInternalSession();this.teams$=this.teamDigestFridge.watchMany({myTeams:!0}).pipe(B(function(c){return c.results}));this.teams$.pipe(B(function(c){return c.map(function(d){return d.teamId})}));this.allTeamIds$=this.teams$.pipe(B(function(c){return c.flatMap(function(d){return d.pathIds})}),
B(function(c){return[].concat(r(new Set(c))).filter(nk)}));this.allTeamIdsSubject$=Yo(this.allTeamIds$.pipe(dg(this.destroyed$)),[])};cI.prototype.ngOnDestroy=function(){this.destroyed$.next()};Xi.Object.defineProperties(cI.prototype,{allTeamIds:{configurable:!0,enumerable:!0,get:function(){return this.allTeamIdsSubject$.value}}});cI.\u0275fac=function(a){return new (a||cI)(n(SH),n(Vt))};cI.\u0275prov=Vc({token:cI,factory:cI.\u0275fac,providedIn:"root"});var c_b="QA"===rn().config.environmentType?412808:1294964,Kra=[9019942154,9327443891,1953099861400,1292819114016,1525660445733],dI=function(a,b,c,d,e){var f=this;this.issueApi=a;this.issueCommentsApi=b;this.currentUser=c;this.issueRelationshipsFridge=d;this.issueRelationshipService=e;this.prefs$=new C.BehaviorSubject(void 0);this.issue$=new C.BehaviorSubject(void 0);this.projectIds$=this.prefs$.pipe(B(function(h){return null==h?void 0:h.id}),cg(this.issueRelationshipsFridge.watch),B(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),d_b(f)):console.error("UNHANDLED: Couldn't save hackypref",h)}};dI.prototype.init=function(a){a=void 0===a?Pn:a;var b=this;return of(function(c){b.ldap=a;return c.yield(e_b(b),0)})};var e_b=function(a){return of(function(b){return b.yield(f_b(a),0)})};
dI.prototype.save=function(a){var b=this,c=a.id;null==c?console.warn("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(){g_b(b,c)}).catch(this.onSaveError))};
var zVa=function(a,b){a.save(Object.assign({},a.prefs,b))},d_b=function(a){var b,c,d,e,f;of(function(h){if(1==h.nextAddress){b=a.prefs.id;if(null==b)return h.return();d=null!=(c=Zo(a.projectIds$))?c:[];return h.yield(h_b(a),2)}e=h.yieldResult;a.prefs.id=e;a.save(a.prefs);f=d.map(Number).map(function(l){return TE(new SE,l)});SUb(a.issueRelationshipService,e,f).subscribe();return h.yield(i_b(a,b),0)})},i_b=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"}]})},wp=function(a,b){a.prefs.collapsed[b]=!a.prefs.collapsed[b];a.save(a.prefs)},g_b=function(a,b){var c;return of(function(d){if(1==d.nextAddress)return d.yield(a.issueApi.getIssue(b),2);c=d.yieldResult;j_b(a,c);tf(d)})},j_b=function(a,b){var c,d,e,f,h,l,q,u;of(function(x){if(1==x.nextAddress){c=b.issue.issueId;e=null==(d=b.firstEvent)?void 0:d.unlinkifiedComment;a.configVersionNumber=(null==(f=b.firstEvent)?void 0:f.commentVersion)||0;h=
{};try{h=JSON.parse(null!=(l=e)?l:"")}catch(y){console.warn("unable to parse as json: `"+e+"`"),console.error(y)}return x.yield(k_b(a),2)}q=x.yieldResult;u=Object.assign({},q,h,{id:c});a.prefs$.next(u);tf(x)})},f_b=function(a){var b;return of(function(c){switch(c.nextAddress){case 1:return c.yield(l_b(a),2);case 2:b=c.yieldResult;if(null!=b){c.jumpTo(3);break}return c.yield(h_b(a),4);case 4:b=c.yieldResult;case 3:return c.yield(g_b(a,b),0)}})},l_b=function(a){var b,c,d,e;return of(function(f){if(1==
f.nextAddress)return c=null!=(b=a.ldap)?b:Pn,null==c?f.return():f.yield(m_b(a,c),2);d=f.yieldResult;return f.return(null==(e=d)?void 0:e.issueId)})},m_b=function(a,b){var c,d,e,f;return of(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==(f=e.issues)?void 0:f[0])})},h_b=function(a){var b,c,d,e,f,h;return of(function(l){if(1==
l.nextAddress){c=null!=(b=a.ldap)?b:Pn;if(null==c)return console.error("createConfigIssue() needs an ldap to make an issue"),l.return("");d={snapshot:{title:"__experimental config__ for "+c,componentId:c_b,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,f=e.issueId,h=[{fieldName:"isArchived",value:"true"}],l.yield(a.issueApi.updateIssue(f,{issueId:f,
actions:h}),3)):l.return(e.issueId)})},k_b=function(a){var b;return of(function(c){0<a.currentUser.allTeamIds.length?(b=a.currentUser.allTeamIds.map(Number),b=Lra(b)):console.warn("No team ids found on currentUser");return c.return(Object.assign({},JVb,{teamIds:b}))})},Rq=function(a){var b;return null!=(b=a.prefs.pinned)?b:[]},vp=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)},Iq=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)}},Hq=function(a,b,c){var d=a.prefs;if(null!=d.pinned&&Jq(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)}},Jq=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},n_b=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,f;d=null!=(f=null==(e=b.issuesThisWeek)?void 0:e.weekNumber)?f:0;if(!b.issuesThisWeek||c>d||52===d&&c<d)b.issuesThisWeek={issues:[],weekNumber:c},a.save(b)};Xi.Object.defineProperties(dI.prototype,{prefs:{configurable:!0,enumerable:!0,get:function(){var a;return null!=(a=this.prefs$.value)?a:IVb}}});
dI.\u0275fac=function(a){return new (a||dI)(n(RE),n($H),n(cI),n(IH),n(ZE))};dI.\u0275prov=Vc({token:dI,factory:dI.\u0275fac,providedIn:"root"});var eI=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 f;this.currTeamIds=null!=(f=this.hackyPrefs.prefs.teamIds)?f:[];this.currTeamIssuesFilter="("+owa(this.currTeamIds)+") (created<"+pwa()+") -status:(duplicate | infeasible | intended_behavior | not_reproducible | obsolete)";this.recentTeamIssues$=(0,C.timer)(1,11E3).pipe(cg(function(){return e.issueFridge.watchMany({filter:e.currTeamIssuesFilter,
sort:"modified_time:desc",pageSize:20})}),B(function(h){return h.results}));this.teamObjects$=this.teamFridge.watchSet(this.currTeamIds);this.noChangeEvents$=this.recentTeamIssues$.pipe(B(function(h){return e.getNoChangeEvents(h)}));this.changedIssues$=this.recentTeamIssues$.pipe(B(function(h){return Hsa(h,e.lastModifiedIssueTimestampMap)}));this.eventsForUpdatedIssues$=this.changedIssues$.pipe(B(function(h){return h.map(function(l){return l.issueId})}),cg(this.eventsForIssueFridge.watchSet));this.allRecentTeamEvents$=
(0,C.combineLatest)([this.noChangeEvents$,this.eventsForUpdatedIssues$]).pipe(B(function(h){var l=m(h);h=l.next().value;l=l.next().value;for(var q=m(l),u=q.next();!u.done;u=q.next())u=u.value,e.issuesToEventsMap.set(u.id,u);return[].concat(r(h),r(l))}),Gf(nk));this.interestingEventsForTeamActivity$=(0,C.combineLatest)([this.teamObjects$,this.allRecentTeamEvents$]).pipe(B(function(h){var l=m(h);h=l.next().value;l=l.next().value;return e.filterAllEventsToRecentActivity(h,l)}))};
eI.prototype.getInterestingEventType=function(a,b){if(b.modifiedDate<(new Date(Date.now()-3456E5)).getTime())return"";if(o_b(a,b.userPerformingActionUser)&&(0<b.preDiffs.length||0<b.postDiffs.length)){a=[].concat(r(b.preDiffs),r(b.postDiffs));a=m(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 Hn(b)?"changelist":zn(b)&&b.isHumanAuthor?"comment":""};
var o_b=function(a,b){if(!b||!b.emailAddress||0===a.length)return!1;a=m(a);for(var c=a.next();!c.done;c=a.next())if(c.value.getMembersList().find(function(d){return d&&ck(d.getUser())===ck(b)}))return!0;return!1};
eI.prototype.filterAllEventsToRecentActivity=function(a,b){var c=[];b=m(b);for(var d=b.next();!d.done;d=b.next()){var e=d.value;if(e){d=e.id;e=m(e.events);for(var f=e.next();!f.done;f=e.next()){f=f.value;var h=this.getInterestingEventType(a,f);""!==h&&c.push({issueId:d,event:f,eventType:h})}c.sort(function(l,q){return q.event.modifiedDate-l.event.modifiedDate})}}return c};
eI.prototype.getNoChangeEvents=function(a){var b=[];a=m(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};eI.\u0275fac=function(a){return new (a||eI)(n(BH),n(dI),n(sF),n(TH))};eI.\u0275prov=Vc({token:eI,factory:eI.\u0275fac,providedIn:"root"});var fI=function(a,b){var c=this;this.queryIssuesService=a;this.eventsForIssueFridge=b;this.lastModifiedIssueTimestampMap=new Map;this.issuesToEventsMap=new Map;this.ldap=Qn();this.issuesFromQuery$=(0,C.defer)(function(){return TZb(c.queryIssuesService,c.ldap)});this.changedIssues$=this.issuesFromQuery$.pipe(B(function(d){return Hsa(d,c.lastModifiedIssueTimestampMap)}));this.eventsForUpdatedIssues$=this.changedIssues$.pipe(B(function(d){return d.map(function(e){return e.issueId})}),cg(function(d){return(0,C.combineLatest)(d.map(function(e){return c.eventsForIssueFridge.watch(e,
{trustUncertainMemory:!0})}))}),Gf(nk));this.suggestedIssues$=(0,C.combineLatest)([this.issuesFromQuery$,this.eventsForUpdatedIssues$]).pipe(cg(function(d){d=m(d);var e=d.next().value;d=d.next().value;d=m(d);for(var f=d.next();!f.done;f=d.next())f=f.value,null!=f&&c.issuesToEventsMap.set(f.id,f);d=C.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){f=[];h=m(h);for(var l=
h.next();!l.done;l=h.next()){var q=l.value,u=q.snapshot[0].reporterUser,x=q.snapshot[0].assigneeUser;l=f;var y=l.push,G=q.issueId;u=null===u?0:c.getLdapFromUser(u)===e?1:0;x=null===x?0:c.getLdapFromUser(x)===e?1:0;var L=q.majorModifiedTimeMicros,M=c.getPriority(q);var T=void 0;var S=e;var X=0,aa=new Set,na=null==(T=c.issuesToEventsMap.get(q.issueId))?void 0:T.events;if(void 0!==na)for(T=m(na),na=T.next();!na.done;na=T.next()){var ma=na.value;if(zn(ma)&&ma.isHumanAuthor){var Ca=ma.commentNumber;null===
Ca||aa.has(Ca)||(na=ma.lastCommentEditorUser,null!=na&&(aa.add(Ca),ma=ma.unlinkifiedComment,na=c.getLdapFromUser(na),null!=ma&&0<ma.length&&na===S&&(X+=1)))}}S=X;na=void 0;X=e;aa=0;T=new Set;q=null==(na=c.issuesToEventsMap.get(q.issueId))?void 0:na.events;if(void 0!==q)for(q=m(q),na=q.next();!na.done;na=q.next())na=na.value,Hn(na)&&(ma=na.commentNumber,null==ma||T.has(ma)||(T.add(ma),Jn(na)===X&&(aa+=1)));q=aa;y.call(l,{issueId:G,reporterStatus:u,assigneeStatus:x,lastModifiedTime:L,priority:M,commentCountByUser:S,
clCountByUser:q})}}else f=[];e=[];f=m(f);for(y=f.next();!y.done;y=f.next())h=e,l=h.push,y=y.value,G=5-y.priority,u=y.lastModifiedTime,u=Math.abs(1E3*Date.now()-u)/864E8,l.call(h,{issueId:y.issueId,interest:G+(1>=u?4:7>=u?3:14>=u?2:30>=u?1:0)+2*y.commentCountByUser+2*y.clCountByUser+2*y.assigneeStatus+y.reporterStatus,priority:y.priority});f=[];p_b(e);for(h=0;10>h;++h)f.push(e[h].issueId);e=f}else e=[];return d.call(C,e)}),$f({refCount:!0,bufferSize:1}))};
fI.prototype.getLdapFromUser=function(a){return null!=a&&null!=a.emailAddress?a.emailAddress.split("@")[0]:null};fI.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 p_b=function(a){a.sort(function(b,c){return b.interest===c.interest?b.priority-c.priority:c.interest-b.interest})};
fI.\u0275fac=function(a){return new (a||fI)(n(XH),n(sF))};fI.\u0275prov=Vc({token:fI,factory:fI.\u0275fac,providedIn:"root"});var gI=function(a,b,c){this.issueFridge=a;this.eventsForIssueFridge=b;this.hotlistApi=c;this.lastModifiedIssueTimestampMap=new Map;this.issuesToEventsMap=new Map},r_b=function(a,b){var c=(0,C.timer)(1,11E3).pipe(cg(function(){return a.issueFridge.watchMany({filter:"parentid:"+b+"+ OR id:"+b,sort:"modified_time:desc",pageSize:20})}),B(function(e){return e.results})),d=c.pipe(B(function(e){return a.getNoChangeEvents(e)}));c=c.pipe(B(function(e){return q_b(a,e)})).pipe(B(function(e){return e.map(function(f){return f.issueId})}),
cg(a.eventsForIssueFridge.watchSet));return(0,C.combineLatest)([d,c]).pipe(B(function(e){var f=m(e);e=f.next().value;f=f.next().value;for(var h=m(f),l=h.next();!l.done;l=h.next())l=l.value,a.issuesToEventsMap.set(l.id,l);return[].concat(r(e),r(f))}),Gf(nk),B(function(e){return a.filterAllEventsToRecentActivity(e)}))},s_b=function(a,b){var c=(0,C.timer)(1,11E3).pipe(cg(function(){return a.hotlistApi.getPagedHotlistContent(b,1,20,[])}),B(function(e){return e.issues})),d=c.pipe(B(function(e){return a.getNoChangeEvents(e)}));
c=c.pipe(B(function(e){return q_b(a,e)})).pipe(B(function(e){return e.map(function(f){return f.issueId})}),cg(a.eventsForIssueFridge.watchSet));return(0,C.combineLatest)([d,c]).pipe(B(function(e){var f=m(e);e=f.next().value;f=f.next().value;for(var h=m(f),l=h.next();!l.done;l=h.next())l=l.value,a.issuesToEventsMap.set(l.id,l);return[].concat(r(e),r(f))}),Gf(nk),B(function(e){return a.filterAllEventsToRecentActivity(e)}))},t_b=function(a,b){var c=(0,C.timer)(1,11E3).pipe(cg(function(){return a.issueFridge.watchMany({filter:"savedsearchid:"+
b,sort:"modified_time:desc",pageSize:20})}),B(function(e){return e.results})),d=c.pipe(B(function(e){return a.getNoChangeEvents(e)}));c=c.pipe(B(function(e){return q_b(a,e)})).pipe(B(function(e){return e.map(function(f){return f.issueId})}),cg(a.eventsForIssueFridge.watchSet));return(0,C.combineLatest)([d,c]).pipe(B(function(e){var f=m(e);e=f.next().value;f=f.next().value;for(var h=m(f),l=h.next();!l.done;l=h.next())l=l.value,a.issuesToEventsMap.set(l.id,l);return[].concat(r(e),r(f))}),Gf(nk),B(function(e){return a.filterAllEventsToRecentActivity(e)}))};
gI.prototype.getNoChangeEvents=function(a){var b=[];a=m(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 q_b=function(a,b){var c=[];b=m(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 f=e=void 0;a.lastModifiedIssueTimestampMap.set(d.issueId,null!=(f=null==(e=d.aggregatedData)?void 0:e.modifiedTimeMicros)?f:0)}}return c};
gI.prototype.filterAllEventsToRecentActivity=function(a){var b=[];a=m(a);for(var c=a.next();!c.done;c=a.next()){var d=c.value;if(d){c=d.id;d=m(d.events);for(var e=d.next();!e.done;e=d.next()){e=e.value;var f=this.getInterestingEventType(e);""!==f&&b.push({issueId:c,event:e,eventType:f})}b.sort(function(h,l){return l.event.modifiedDate-h.event.modifiedDate})}}return b};
gI.prototype.getInterestingEventType=function(a){if(a.modifiedDate<Date.now()-12096E5)return"";if(0<a.preDiffs.length||0<a.postDiffs.length){var b=[].concat(r(a.preDiffs),r(a.postDiffs));b=m(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 Hn(a)?"changelistFixed":"status"}}return Hn(a)?"changelist":zn(a)&&a.isHumanAuthor?"comment":""};
gI.\u0275fac=function(a){return new (a||gI)(n(BH),n(sF),n(aH))};gI.\u0275prov=Vc({token:gI,factory:gI.\u0275fac,providedIn:"root"});var u_b={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},v_b={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},hI=function(a,b){this.issueFridge=a;this.issueRelationshipApi=b;this.parentToChildIssueIds=
new Map},w_b=function(a){return a.issueFridge.watchMany({filter:"(assignee:"+Qn()+") t:(feature | feature_request | story | task | internal_cleanup | process) modified:90d parentId:any",pageSize:50,sort:"modified_time:desc"}).pipe(B(function(b){var c;return null!=(c=b.results)?c:[]}),zf(a.findPossibleProjectIssueIds.bind(a)))};
hI.prototype.findPossibleProjectIssueIds=function(a){var b=this,c,d,e,f,h,l,q,u,x,y,G,L;return of(function(M){switch(M.nextAddress){case 1:if(!a||0===a.length)return M.return([]);c=[a[0]];for(d={$jscomp$loop$prop$g$2247:1};d.$jscomp$loop$prop$g$2247<a.length;d={$jscomp$loop$prop$g$2247:d.$jscomp$loop$prop$g$2247},d.$jscomp$loop$prop$g$2247++)c.some(function(T){return function(S){return S.parentIssueIds[0]===a[T.$jscomp$loop$prop$g$2247].parentIssueIds[0]}}(d))||c.push(a[d.$jscomp$loop$prop$g$2247]);
return M.yield(x_b(b,c),2);case 2:e=[],f=0;case 3:if(!(f<c.length)){M.jumpTo(5);break}return M.yield(y_b(b,c[f]),6);case 6:h=M.yieldResult;e.push.apply(e,r(h));f++;M.jumpTo(3);break;case 5:l=new Map;q=m(e);for(u=q.next();!u.done;u=q.next())x=u.value,x.isArchived||(x.confidence=b.calculateConfidence(x),l.has(x.issueId)&&(y=l.get(x.issueId),G=x,x.confidence=y.confidence>G.confidence?y.confidence:G.confidence),l.set(x.issueId,x));L=Array.from(l.values());L.sort(function(T,S){return S.confidence-T.confidence});
return M.return(L.filter(function(T){return 0<T.confidence}).map(function(T){return T.issueId}).slice(0,10))}})};
var x_b=function(a,b){var c,d,e,f,h,l,q,u,x;return of(function(y){if(1==y.nextAddress)return c=b.filter(function(G){return G.parentIssueIds&&0<G.parentIssueIds.length}).map(function(G){return G.parentIssueIds[0]}),d=[].concat(r(c)),y.yield((0,C.firstValueFrom)(a.issueRelationshipApi.batchGet(c,1,!1)),2);if(3!=y.nextAddress){e=y.yieldResult;f=[];h=m(e);for(l=h.next();!l.done;l=h.next())q=l.value,f=q.getIssueRelationshipsList().map(function(G){return String(ol(G,1))}),a.parentToChildIssueIds.set(String(ol(q,
3)),f),d.push.apply(d,r(f));return y.yield((0,C.firstValueFrom)(a.issueFridge.watchSet(d)),3)}u=y.yieldResult;x=u.filter(function(G){return c.includes(G.issueId)});return 0<x.length?y.yield(x_b(a,x),0):y.jumpTo(0)})},y_b=function(a,b,c){c=void 0===c?[]:c;var d,e,f,h,l,q,u,x,y,G,L,M;return of(function(T){switch(T.nextAddress){case 1:var S=Object,X=S.assign,aa=b.issueId,na=b.isArchived,ma=z_b(a,b)?1:0,Ca=(null!=(d=b.snapshot[0].changelist)?d:[]).length;var Fa=2592E9>1E3*Date.now()-b.majorModifiedTimeMicros;
e=X.call(S,{},u_b,{issueId:aa,issueIdChain:[],isArchived:na,issueNumAssignedOrReported:ma,issueNumCls:Ca,issueNumRecentlyModified:Fa?1:0,issueChildrenCount:b.childIssueCount||0,issueNumOpen:Dn(b)?1:0,issueNumClosed:Dn(b)?0:1});f=a.parentToChildIssueIds.get(b.issueId)||[];if(!(0<f.length)){T.jumpTo(2);break}l=m(f);q=l.next();case 3:if(q.done){T.jumpTo(2);break}u=q.value;return T.yield((0,C.firstValueFrom)(a.issueFridge.watchOne(u)),6);case 6:h=T.yieldResult;if(!h){T.jumpTo(4);break}e.directChildrenNumAssignedOrReported+=
z_b(a,h)?1:0;x=void 0;e.directChildrenNumCls+=(null!=(x=h.snapshot[0].changelist)?x:[]).length;S=e.directChildrenNumRecentlyModified;X=h;X=2592E9>1E3*Date.now()-X.majorModifiedTimeMicros;e.directChildrenNumRecentlyModified=S+(X?1:0);e.directChildrenCount+=1;e.directChildrenNumOpen+=Dn(h)?1:0;e.directChildrenNumClosed+=Dn(h)?0:1;case 4:q=l.next();T.jumpTo(3);break;case 2:y=m(c);for(G=y.next();!G.done;G=y.next())L=G.value,e.issueIdChain.unshift(L.issueId),e.rollupNumAssignedOrReported+=L.issueNumAssignedOrReported+
L.directChildrenNumAssignedOrReported,e.rollupNumCls+=L.issueNumCls+L.directChildrenNumCls,e.rollupNumRecentlyModified+=L.issueNumRecentlyModified+L.directChildrenNumRecentlyModified,e.rollupChildrenCount+=L.issueChildrenCount+L.directChildrenCount,e.rollupNumOpen+=L.issueNumOpen+L.directChildrenNumOpen,e.rollupNumClosed+=L.issueNumClosed+L.directChildrenNumClosed;e.issueIdChain.unshift(b.issueId);c.push(e);return b.parentIssueIds&&0<b.parentIssueIds.length?T.yield((0,C.firstValueFrom)(a.issueFridge.watchOne(b.parentIssueIds[0])),
8):T.return(c);case 8:return(M=T.yieldResult)?T.return(y_b(a,M,c)):T.return(c)}})};
hI.prototype.calculateConfidence=function(a){var b=void 0===b?v_b: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 z_b=function(a,b){var c=Qn(),d=a.getLdapFromUser(b.snapshot[0].assigneeUser);return a.getLdapFromUser(b.snapshot[0].reporterUser)===c||d===c};hI.prototype.getLdapFromUser=function(a){return null!=a&&null!=a.emailAddress?a.emailAddress.split("@")[0]:null};
hI.\u0275fac=function(a){return new (a||hI)(n(BH),n(ZE))};hI.\u0275prov=Vc({token:hI,factory:hI.\u0275fac,providedIn:"root"});var iI=function(){},A_b=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""}};iI.\u0275fac=function(a){return new (a||iI)};
iI.\u0275cmp=p({type:iI,selectors:[["b-issue-priority-display"]],inputs:{issuePriority:"issuePriority"},decls:2,vars:2,consts:[[1,"p-chip",3,"ngClass"]],template:function(a,b){a&1&&(E(0,"span",0),Q(1),F());a&2&&(D("ngClass",A_b(b)),z(1),a=b.issuePriority,R(" ",null==a?"--":WUb[a]," "))},dependencies:[ww],styles:["\n/*# sourceMappingURL=issue_priority_display.css.map */"],changeDetection:0});var jI=function(a){Y.call(this,a)};W(jI,Y);jI.prototype.getDisplayName=function(){return Dk(this,1)};jI.prototype.setDisplayName=function(a){return k(this,1,a)};jI.prototype.getPhotoUrl=function(){return Dk(this,2)};var B_b=function(a){Y.call(this,a)};W(B_b,Y);B_b.messageId="b.UserProfileBatchResponse";var kI=function(a,b){var c=this;this.userProfilesBatchApiConfig=a;this.batchApiAdapter=b;this.batchAdaptedGet=this.batchApiAdapter.adapt(this.userProfilesBatchApiConfig);this.memoizingUserProfileMap=new CZb(function(d){return c.batchAdaptedGet(d)},100)};kI.prototype.get=function(a){return this.memoizingUserProfileMap.get(a)};kI.\u0275fac=function(a){return new (a||kI)(n(lI),n(uF))};kI.\u0275prov=Vc({token:kI,factory:kI.\u0275fac,providedIn:"root"});var lI=function(a){this.executor=a};
lI.prototype.call=function(a){return this.executor.get({url:"action/user_profiles",options:{params:{usernames:[].concat(r(a)).join(",")}},responseConstructor:B_b}).pipe(Lf(function(){return(0,C.of)(new B_b)}))};lI.prototype.split=function(a,b){return Yl(b,1,jI).get(a)||new jI};lI.\u0275fac=function(a){return new (a||lI)(n(KD))};lI.\u0275prov=Vc({token:lI,factory:lI.\u0275fac,providedIn:"root"});var mI=function(a,b,c){Z.call(this);this.templateRef=a;this.viewContainer=b;this.cdr=c;this.viewContainer.createEmbeddedView(this.templateRef)};W(mI,Z);Xi.Object.defineProperties(mI.prototype,{refreshable:{configurable:!0,enumerable:!0,set:function(a){var b=this;a.pipe(dg(this.destroyed$)).subscribe(function(){b.viewContainer.clear();b.viewContainer.createEmbeddedView(b.templateRef);b.cdr.detectChanges()})}}});mI.\u0275fac=function(a){return new (a||mI)(A(eh),A(fh),A(qw))};
mI.\u0275dir=qd({type:mI,selectors:[["","refreshable",""]],inputs:{refreshable:"refreshable"},features:[qg]});var C_b=function(){};var ap=function(){this.Serializable$values={}},$o=function(a,b){return a.Serializable$values.hasOwnProperty(b)?a.Serializable$values[b]:null},nI=function(a,b){return null!=a.Serializable$values[b]};var D_b=function(){};var E_b=function(a,b){this.requestService=a;this.hookFactory=void 0===b?null:b};W(E_b,D_b);
var F_b=function(a,b,c){var d=qwa(a.hookFactory,b);return null==d?c:C.EMPTY.pipe(eg({complete:function(){d.onBeforeSend()}}),Rga(c.pipe(eg(function(e){d.onSuccess(e)},function(e){d.onError(e)}))))},G_b=function(a,b){var c=b.responseCtor||void 0,d=a.requestService,e=d.send,f=b.body instanceof ap?vwa(b.body,swa,twa,uwa):b.body;return F_b(a,b,e.call(d,{path:b.path,httpMethod:b.httpMethod,methodId:b.methodId,body:f,queryParams:b.queryParams,streamingType:b.streamingType&&b.streamingType},c))};var H_b=function(){};H_b.prototype.send=function(a,b){Dwa(a);return this.makeRequest(a).pipe(B(function(c){return b?zwa(b,c):c}))};var I_b=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.dayOfWeek=null==a.dayOfWeek?null:a.dayOfWeek;this.Serializable$values.periodStartMinutes=null==a.periodStartMinutes?null:a.periodStartMinutes;this.Serializable$values.periodEndMinutes=null==a.periodEndMinutes?null:a.periodEndMinutes};W(I_b,ap);I_b.prototype.getPartialClassMetadata=function(){return{keys:["dayOfWeek","periodEndMinutes","periodStartMinutes"]}};
Xi.Object.defineProperties(I_b.prototype,{dayOfWeek:{configurable:!0,enumerable:!0,get:function(){return nI(this,"dayOfWeek")?$o(this,"dayOfWeek"):0},set:function(a){this.Serializable$values.dayOfWeek=a}},periodEndMinutes:{configurable:!0,enumerable:!0,get:function(){return nI(this,"periodEndMinutes")?$o(this,"periodEndMinutes"):0},set:function(a){this.Serializable$values.periodEndMinutes=a}},periodStartMinutes:{configurable:!0,enumerable:!0,get:function(){return nI(this,"periodStartMinutes")?$o(this,
"periodStartMinutes"):0},set:function(a){this.Serializable$values.periodStartMinutes=a}}});var Uq=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};W(Uq,ap);Uq.prototype.getPartialClassMetadata=function(){return{arrays:{userIds:Tq},keys:["debugOptions","userIds"],objects:{debugOptions:oI}}};
Xi.Object.defineProperties(Uq.prototype,{debugOptions:{configurable:!0,enumerable:!0,get:function(){return nI(this,"debugOptions")?$o(this,"debugOptions"):this.debugOptions=new oI},set:function(a){this.Serializable$values.debugOptions=a}},userIds:{configurable:!0,enumerable:!0,get:function(){return nI(this,"userIds")?$o(this,"userIds"):this.userIds=[]},set:function(a){this.Serializable$values.userIds=a}}});
var J_b=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.results=null==a.results?null:a.results};W(J_b,ap);J_b.prototype.getPartialClassMetadata=function(){return{arrays:{results:K_b},keys:["results"]}};
Xi.Object.defineProperties(J_b.prototype,{hasResults:{configurable:!0,enumerable:!0,get:function(){return null!==$o(this,"results")}},results:{configurable:!0,enumerable:!0,get:function(){return nI(this,"results")?$o(this,"results"):this.results=[]},set:function(a){this.Serializable$values.results=a}}});
var pI=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};W(pI,ap);
pI.prototype.getPartialClassMetadata=function(){return{keys:["committedUntil","eventSummary","nextAvailable","occupiedUntil"]}};
Xi.Object.defineProperties(pI.prototype,{committedUntil:{configurable:!0,enumerable:!0,get:function(){return nI(this,"committedUntil")?$o(this,"committedUntil"):""},set:function(a){this.Serializable$values.committedUntil=a}},eventSummary:{configurable:!0,enumerable:!0,get:function(){return nI(this,"eventSummary")?$o(this,"eventSummary"):""},set:function(a){this.Serializable$values.eventSummary=a}},nextAvailable:{configurable:!0,enumerable:!0,get:function(){return nI(this,"nextAvailable")?$o(this,
"nextAvailable"):""},set:function(a){this.Serializable$values.nextAvailable=a}},occupiedUntil:{configurable:!0,enumerable:!0,get:function(){return nI(this,"occupiedUntil")?$o(this,"occupiedUntil"):""},set:function(a){this.Serializable$values.occupiedUntil=a}}});
var qI=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};W(qI,ap);qI.prototype.getPartialClassMetadata=function(){return{keys:["geoCoordinates","label","location"],objects:{geoCoordinates:rI}}};
Xi.Object.defineProperties(qI.prototype,{geoCoordinates:{configurable:!0,enumerable:!0,get:function(){return nI(this,"geoCoordinates")?$o(this,"geoCoordinates"):this.geoCoordinates=new rI},set:function(a){this.Serializable$values.geoCoordinates=a}},label:{configurable:!0,enumerable:!0,get:function(){return nI(this,"label")?$o(this,"label"):""},set:function(a){this.Serializable$values.label=a}},location:{configurable:!0,enumerable:!0,get:function(){return nI(this,"location")?$o(this,"location"):""},
set:function(a){this.Serializable$values.location=a}}});var sI=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};W(sI,ap);sI.prototype.getPartialClassMetadata=function(){return{keys:["committedUntil","nextAvailable","occupiedUntil"]}};
Xi.Object.defineProperties(sI.prototype,{committedUntil:{configurable:!0,enumerable:!0,get:function(){return nI(this,"committedUntil")?$o(this,"committedUntil"):""},set:function(a){this.Serializable$values.committedUntil=a}},nextAvailable:{configurable:!0,enumerable:!0,get:function(){return nI(this,"nextAvailable")?$o(this,"nextAvailable"):""},set:function(a){this.Serializable$values.nextAvailable=a}},occupiedUntil:{configurable:!0,enumerable:!0,get:function(){return nI(this,"occupiedUntil")?$o(this,
"occupiedUntil"):""},set:function(a){this.Serializable$values.occupiedUntil=a}}});var L_b=function(){this.Serializable$values={}};W(L_b,ap);L_b.prototype.getPartialClassMetadata=function(){return{keys:[]}};
var tI=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};W(tI,ap);
tI.prototype.getPartialClassMetadata=function(){return{keys:["committedUntil","eventSummary","inMeetingsUntil","nextAvailable","occupiedUntil"]}};
Xi.Object.defineProperties(tI.prototype,{committedUntil:{configurable:!0,enumerable:!0,get:function(){return nI(this,"committedUntil")?$o(this,"committedUntil"):""},set:function(a){this.Serializable$values.committedUntil=a}},eventSummary:{configurable:!0,enumerable:!0,get:function(){return nI(this,"eventSummary")?$o(this,"eventSummary"):""},set:function(a){this.Serializable$values.eventSummary=a}},inMeetingsUntil:{configurable:!0,enumerable:!0,get:function(){return nI(this,"inMeetingsUntil")?$o(this,
"inMeetingsUntil"):""},set:function(a){this.Serializable$values.inMeetingsUntil=a}},nextAvailable:{configurable:!0,enumerable:!0,get:function(){return nI(this,"nextAvailable")?$o(this,"nextAvailable"):""},set:function(a){this.Serializable$values.nextAvailable=a}},occupiedUntil:{configurable:!0,enumerable:!0,get:function(){return nI(this,"occupiedUntil")?$o(this,"occupiedUntil"):""},set:function(a){this.Serializable$values.occupiedUntil=a}}});var M_b=function(){this.Serializable$values={}};W(M_b,ap);
M_b.prototype.getPartialClassMetadata=function(){return{keys:[]}};var rI=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};W(rI,ap);rI.prototype.getPartialClassMetadata=function(){return{keys:["latitude","longitude"]}};
Xi.Object.defineProperties(rI.prototype,{latitude:{configurable:!0,enumerable:!0,get:function(){return nI(this,"latitude")?$o(this,"latitude"):0},set:function(a){this.Serializable$values.latitude=a}},longitude:{configurable:!0,enumerable:!0,get:function(){return nI(this,"longitude")?$o(this,"longitude"):0},set:function(a){this.Serializable$values.longitude=a}}});var uI=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.timeZone=null==a.timeZone?null:a.timeZone};
W(uI,ap);uI.prototype.getPartialClassMetadata=function(){return{keys:["timeZone"]}};Xi.Object.defineProperties(uI.prototype,{timeZone:{configurable:!0,enumerable:!0,get:function(){return nI(this,"timeZone")?$o(this,"timeZone"):""},set:function(a){this.Serializable$values.timeZone=a}}});
var vI=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};W(vI,ap);
vI.prototype.getPartialClassMetadata=function(){return{keys:["experimentalBuildingId","experimentalDeskId","experimentalFloorId","label"]}};
Xi.Object.defineProperties(vI.prototype,{experimentalBuildingId:{configurable:!0,enumerable:!0,get:function(){return nI(this,"experimentalBuildingId")?$o(this,"experimentalBuildingId"):""},set:function(a){this.Serializable$values.experimentalBuildingId=a}},experimentalDeskId:{configurable:!0,enumerable:!0,get:function(){return nI(this,"experimentalDeskId")?$o(this,"experimentalDeskId"):""},set:function(a){this.Serializable$values.experimentalDeskId=a}},experimentalFloorId:{configurable:!0,enumerable:!0,
get:function(){return nI(this,"experimentalFloorId")?$o(this,"experimentalFloorId"):""},set:function(a){this.Serializable$values.experimentalFloorId=a}},label:{configurable:!0,enumerable:!0,get:function(){return nI(this,"label")?$o(this,"label"):""},set:function(a){this.Serializable$values.label=a}}});
var wI=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};W(wI,ap);wI.prototype.getPartialClassMetadata=function(){return{keys:["comeBackTime","committedUntil","eventSummary"]}};
Xi.Object.defineProperties(wI.prototype,{comeBackTime:{configurable:!0,enumerable:!0,get:function(){return nI(this,"comeBackTime")?$o(this,"comeBackTime"):""},set:function(a){this.Serializable$values.comeBackTime=a}},committedUntil:{configurable:!0,enumerable:!0,get:function(){return nI(this,"committedUntil")?$o(this,"committedUntil"):""},set:function(a){this.Serializable$values.committedUntil=a}},eventSummary:{configurable:!0,enumerable:!0,get:function(){return nI(this,"eventSummary")?$o(this,"eventSummary"):
""},set:function(a){this.Serializable$values.eventSummary=a}}});var xI=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.comeBackTime=null==a.comeBackTime?null:a.comeBackTime};W(xI,ap);xI.prototype.getPartialClassMetadata=function(){return{keys:["comeBackTime"]}};
Xi.Object.defineProperties(xI.prototype,{comeBackTime:{configurable:!0,enumerable:!0,get:function(){return nI(this,"comeBackTime")?$o(this,"comeBackTime"):""},set:function(a){this.Serializable$values.comeBackTime=a}}});var yI=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};W(yI,ap);
yI.prototype.getPartialClassMetadata=function(){return{keys:["code","details","message"],objectMaps:{details:{ctor:null,isPropertyArray:!0,isSerializable:!1,isValueArray:!1}}}};
Xi.Object.defineProperties(yI.prototype,{code:{configurable:!0,enumerable:!0,get:function(){return nI(this,"code")?$o(this,"code"):0},set:function(a){this.Serializable$values.code=a}},details:{configurable:!0,enumerable:!0,get:function(){return nI(this,"details")?$o(this,"details"):this.details=[]},set:function(a){this.Serializable$values.details=a}},message:{configurable:!0,enumerable:!0,get:function(){return nI(this,"message")?$o(this,"message"):""},set:function(a){this.Serializable$values.message=
a}}});var zI=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.startTime=null==a.startTime?null:a.startTime;this.Serializable$values.endTime=null==a.endTime?null:a.endTime};W(zI,ap);zI.prototype.getPartialClassMetadata=function(){return{keys:["endTime","startTime"]}};
Xi.Object.defineProperties(zI.prototype,{endTime:{configurable:!0,enumerable:!0,get:function(){return nI(this,"endTime")?$o(this,"endTime"):""},set:function(a){this.Serializable$values.endTime=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return nI(this,"startTime")?$o(this,"startTime"):""},set:function(a){this.Serializable$values.startTime=a}}});
var AI=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};W(AI,ap);AI.prototype.getPartialClassMetadata=function(){return{keys:["computationDuration","overrideCurrentTime"]}};
Xi.Object.defineProperties(AI.prototype,{computationDuration:{configurable:!0,enumerable:!0,get:function(){return nI(this,"computationDuration")?$o(this,"computationDuration"):""},set:function(a){this.Serializable$values.computationDuration=a}},overrideCurrentTime:{configurable:!0,enumerable:!0,get:function(){return nI(this,"overrideCurrentTime")?$o(this,"overrideCurrentTime"):""},set:function(a){this.Serializable$values.overrideCurrentTime=a}}});
var BI=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};W(BI,ap);BI.prototype.getPartialClassMetadata=function(){return{keys:["nextCommitmentStatus","nextCommitmentTime"],objects:{nextCommitmentStatus:CI}}};
Xi.Object.defineProperties(BI.prototype,{nextCommitmentStatus:{configurable:!0,enumerable:!0,get:function(){return nI(this,"nextCommitmentStatus")?$o(this,"nextCommitmentStatus"):this.nextCommitmentStatus=new CI},set:function(a){this.Serializable$values.nextCommitmentStatus=a}},nextCommitmentTime:{configurable:!0,enumerable:!0,get:function(){return nI(this,"nextCommitmentTime")?$o(this,"nextCommitmentTime"):""},set:function(a){this.Serializable$values.nextCommitmentTime=a}}});
var DI=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.timeRange=null==a.timeRange?null:a.timeRange};W(DI,ap);DI.prototype.getPartialClassMetadata=function(){return{keys:["timeRange"],objects:{timeRange:zI}}};Xi.Object.defineProperties(DI.prototype,{timeRange:{configurable:!0,enumerable:!0,get:function(){return nI(this,"timeRange")?$o(this,"timeRange"):this.timeRange=new zI},set:function(a){this.Serializable$values.timeRange=a}}});
var EI=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};W(EI,ap);EI.prototype.getPartialClassMetadata=function(){return{arrays:{availabilities:N_b},keys:["availabilities","nextPollTime","workingHours"],objects:{workingHours:FI}}};
Xi.Object.defineProperties(EI.prototype,{availabilities:{configurable:!0,enumerable:!0,get:function(){return nI(this,"availabilities")?$o(this,"availabilities"):this.availabilities=[]},set:function(a){this.Serializable$values.availabilities=a}},nextPollTime:{configurable:!0,enumerable:!0,get:function(){return nI(this,"nextPollTime")?$o(this,"nextPollTime"):""},set:function(a){this.Serializable$values.nextPollTime=a}},workingHours:{configurable:!0,enumerable:!0,get:function(){return nI(this,"workingHours")?
$o(this,"workingHours"):this.workingHours=new FI},set:function(a){this.Serializable$values.workingHours=a}}});var oI=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};W(oI,ap);oI.prototype.getPartialClassMetadata=function(){return{keys:["forceEnableUserStatusCache","timeSettings"],objects:{timeSettings:AI}}};
Xi.Object.defineProperties(oI.prototype,{forceEnableUserStatusCache:{configurable:!0,enumerable:!0,get:function(){return nI(this,"forceEnableUserStatusCache")?$o(this,"forceEnableUserStatusCache"):!1},set:function(a){this.Serializable$values.forceEnableUserStatusCache=a}},timeSettings:{configurable:!0,enumerable:!0,get:function(){return nI(this,"timeSettings")?$o(this,"timeSettings"):this.timeSettings=new AI},set:function(a){this.Serializable$values.timeSettings=a}}});
var K_b=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.userId=null==a.userId?null:a.userId;this.Serializable$values.status=null==a.status?null:a.status;this.Serializable$values.userAvailabilities=null==a.userAvailabilities?null:a.userAvailabilities};W(K_b,ap);K_b.prototype.getPartialClassMetadata=function(){return{keys:["status","userAvailabilities","userId"],objects:{status:yI,userAvailabilities:EI,userId:Tq}}};
Xi.Object.defineProperties(K_b.prototype,{hasStatus:{configurable:!0,enumerable:!0,get:function(){return null!==$o(this,"status")}},status:{configurable:!0,enumerable:!0,get:function(){return nI(this,"status")?$o(this,"status"):this.status=new yI},set:function(a){this.Serializable$values.status=a}},hasUserAvailabilities:{configurable:!0,enumerable:!0,get:function(){return null!==$o(this,"userAvailabilities")}},userAvailabilities:{configurable:!0,enumerable:!0,get:function(){return nI(this,"userAvailabilities")?
$o(this,"userAvailabilities"):this.userAvailabilities=new EI},set:function(a){this.Serializable$values.userAvailabilities=a}},hasUserId:{configurable:!0,enumerable:!0,get:function(){return null!==$o(this,"userId")}},userId:{configurable:!0,enumerable:!0,get:function(){return nI(this,"userId")?$o(this,"userId"):this.userId=new Tq},set:function(a){this.Serializable$values.userId=a}}});
var N_b=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.timeRange=null==a.timeRange?null:a.timeRange;this.Serializable$values.status=null==a.status?null:a.status;this.Serializable$values.contexts=null==a.contexts?null:a.contexts};W(N_b,ap);N_b.prototype.getPartialClassMetadata=function(){return{keys:["contexts","status","timeRange"],objects:{contexts:GI,status:CI,timeRange:zI}}};
Xi.Object.defineProperties(N_b.prototype,{contexts:{configurable:!0,enumerable:!0,get:function(){return nI(this,"contexts")?$o(this,"contexts"):this.contexts=new GI},set:function(a){this.Serializable$values.contexts=a}},hasStatus:{configurable:!0,enumerable:!0,get:function(){return null!==$o(this,"status")}},status:{configurable:!0,enumerable:!0,get:function(){return nI(this,"status")?$o(this,"status"):this.status=new CI},set:function(a){this.Serializable$values.status=a}},timeRange:{configurable:!0,
enumerable:!0,get:function(){return nI(this,"timeRange")?$o(this,"timeRange"):this.timeRange=new zI},set:function(a){this.Serializable$values.timeRange=a}}});
var GI=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};W(GI,ap);
GI.prototype.getPartialClassMetadata=function(){return{keys:["localTime","upcomingCommitmentContext","upcomingOoo","workingElsewhere"],objects:{localTime:uI,upcomingCommitmentContext:BI,upcomingOoo:DI,workingElsewhere:HI}}};
Xi.Object.defineProperties(GI.prototype,{localTime:{configurable:!0,enumerable:!0,get:function(){return nI(this,"localTime")?$o(this,"localTime"):this.localTime=new uI},set:function(a){this.Serializable$values.localTime=a}},upcomingCommitmentContext:{configurable:!0,enumerable:!0,get:function(){return nI(this,"upcomingCommitmentContext")?$o(this,"upcomingCommitmentContext"):this.upcomingCommitmentContext=new BI},set:function(a){this.Serializable$values.upcomingCommitmentContext=a}},upcomingOoo:{configurable:!0,
enumerable:!0,get:function(){return nI(this,"upcomingOoo")?$o(this,"upcomingOoo"):this.upcomingOoo=new DI},set:function(a){this.Serializable$values.upcomingOoo=a}},workingElsewhere:{configurable:!0,enumerable:!0,get:function(){return nI(this,"workingElsewhere")?$o(this,"workingElsewhere"):this.workingElsewhere=new HI},set:function(a){this.Serializable$values.workingElsewhere=a}}});
var Tq=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};W(Tq,ap);Tq.prototype.getPartialClassMetadata=function(){return{keys:["email","obfuscatedGaiaId"]}};
Xi.Object.defineProperties(Tq.prototype,{email:{configurable:!0,enumerable:!0,get:function(){return nI(this,"email")?$o(this,"email"):""},set:function(a){this.Serializable$values.email=a}},obfuscatedGaiaId:{configurable:!0,enumerable:!0,get:function(){return nI(this,"obfuscatedGaiaId")?$o(this,"obfuscatedGaiaId"):""},set:function(a){this.Serializable$values.obfuscatedGaiaId=a}}});
var II=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};W(II,ap);II.prototype.getPartialClassMetadata=function(){return{keys:["customLocation","homeLocation","officeLocation"],objects:{customLocation:qI,homeLocation:L_b,officeLocation:vI}}};
Xi.Object.defineProperties(II.prototype,{customLocation:{configurable:!0,enumerable:!0,get:function(){return nI(this,"customLocation")?$o(this,"customLocation"):this.customLocation=new qI},set:function(a){this.Serializable$values.customLocation=a}},homeLocation:{configurable:!0,enumerable:!0,get:function(){return nI(this,"homeLocation")?$o(this,"homeLocation"):this.homeLocation=new L_b},set:function(a){this.Serializable$values.homeLocation=a}},officeLocation:{configurable:!0,enumerable:!0,get:function(){return nI(this,
"officeLocation")?$o(this,"officeLocation"):this.officeLocation=new vI},set:function(a){this.Serializable$values.officeLocation=a}}});
var CI=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};W(CI,ap);CI.prototype.getPartialClassMetadata=function(){return{keys:"calendarBusy doNotDisturb inMeeting inactive outOfOffice outsideWorkingHours".split(" "),objects:{calendarBusy:pI,doNotDisturb:sI,inMeeting:tI,inactive:M_b,outOfOffice:wI,outsideWorkingHours:xI}}};
Xi.Object.defineProperties(CI.prototype,{calendarBusy:{configurable:!0,enumerable:!0,get:function(){return nI(this,"calendarBusy")?$o(this,"calendarBusy"):this.calendarBusy=new pI},set:function(a){this.Serializable$values.calendarBusy=a}},doNotDisturb:{configurable:!0,enumerable:!0,get:function(){return nI(this,"doNotDisturb")?$o(this,"doNotDisturb"):this.doNotDisturb=new sI},set:function(a){this.Serializable$values.doNotDisturb=a}},inMeeting:{configurable:!0,enumerable:!0,get:function(){return nI(this,
"inMeeting")?$o(this,"inMeeting"):this.inMeeting=new tI},set:function(a){this.Serializable$values.inMeeting=a}},inactive:{configurable:!0,enumerable:!0,get:function(){return nI(this,"inactive")?$o(this,"inactive"):this.inactive=new M_b},set:function(a){this.Serializable$values.inactive=a}},hasOutOfOffice:{configurable:!0,enumerable:!0,get:function(){return null!==$o(this,"outOfOffice")}},outOfOffice:{configurable:!0,enumerable:!0,get:function(){return nI(this,"outOfOffice")?$o(this,"outOfOffice"):
this.outOfOffice=new wI},set:function(a){this.Serializable$values.outOfOffice=a}},hasOutsideWorkingHours:{configurable:!0,enumerable:!0,get:function(){return null!==$o(this,"outsideWorkingHours")}},outsideWorkingHours:{configurable:!0,enumerable:!0,get:function(){return nI(this,"outsideWorkingHours")?$o(this,"outsideWorkingHours"):this.outsideWorkingHours=new xI},set:function(a){this.Serializable$values.outsideWorkingHours=a}}});
var HI=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.location=null==a.location?null:a.location};W(HI,ap);HI.prototype.getPartialClassMetadata=function(){return{keys:["location"],objects:{location:II}}};Xi.Object.defineProperties(HI.prototype,{location:{configurable:!0,enumerable:!0,get:function(){return nI(this,"location")?$o(this,"location"):this.location=new II},set:function(a){this.Serializable$values.location=a}}});
var FI=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.availableTime=null==a.availableTime?null:a.availableTime};W(FI,ap);FI.prototype.getPartialClassMetadata=function(){return{arrays:{availableTime:I_b},keys:["availableTime"]}};Xi.Object.defineProperties(FI.prototype,{availableTime:{configurable:!0,enumerable:!0,get:function(){return nI(this,"availableTime")?$o(this,"availableTime"):this.availableTime=[]},set:function(a){this.Serializable$values.availableTime=a}}});
var O_b=new Bd("API_VERSION"),P_b=new Bd("REQUEST_SERVICE"),JI=function(){};JI.\u0275fac=function(a){return new (a||JI)};JI.\u0275mod=od({type:JI});JI.\u0275inj=Wc({});
var Q_b={$Xgafv:"$.xgafv",access_token:"access_token",alt:"alt",callback:"callback",fields:"fields",key:"key",oauth_token:"oauth_token",prettyPrint:"prettyPrint",quotaUser:"quotaUser",uploadType:"uploadType",upload_protocol:"upload_protocol"},KI=function(a,b,c){this.gapiVersion=a;this.gapiVersion=null==a?"v1alpha":a;this.$apiClient=new E_b(b,c)},R_b=function(a,b){var c=void 0===c?{}:c;var d=void 0===d?{}:d;return G_b(a.$apiClient,{body:b,httpMethod:"POST",methodId:"waldo_service_api_from_stubby_sandbox.useravailabilities.batchget",
path:"/"+a.gapiVersion+"/useravailabilities:batchget",queryParams:Ewa(c,Q_b,d),responseCtor:J_b})};KI.\u0275fac=function(a){return new (a||KI)(n(O_b,8),n(P_b),n(C_b,8))};KI.\u0275prov=Vc({token:KI,factory:KI.\u0275fac});var LI=function(){};LI.\u0275fac=function(a){return new (a||LI)};LI.\u0275prov=Vc({token:LI,factory:function(a){return KI.\u0275fac(a)},providedIn:JI});var MI=function(a){var b=this;this.apiStub=a;this.result=new C.Subject;this.destroyed=new C.ReplaySubject(1);this.trigger=new C.Subject;this.batchedTrigger=this.trigger.pipe(Kf(this.trigger.pipe(Jf(200))));this.responseHandler=function(c){if(c.hasResults){c=m(c.results);for(var d=c.next();!d.done;d=c.next()){var e=d.value;d="";e.hasUserId&&e.userId.email&&(d=e.userId.email);if(d)if(e.hasUserAvailabilities){e=e.userAvailabilities.availabilities[0];if(e.hasStatus&&e.status.hasOutOfOffice){e=e.status.outOfOffice;
if(e.comeBackTime){var f=e=new Date(e.comeBackTime),h=new Date;e=h.getFullYear()===f.getFullYear()&&h.getMonth()===f.getMonth()&&h.getDate()===f.getDate()?"at "+e.toLocaleString("en-Us",{hour:"numeric",minute:"2-digit",hour12:!0}):"on "+(e.getFullYear()!==(new Date).getFullYear()?e.toLocaleString("en-Us",{weekday:"short",month:"short",day:"numeric",year:"numeric"}):e.toLocaleString("en-Us",{weekday:"short",month:"short",day:"numeric"}));e=" - back "+e}else e="";e="Out of Office"+e}else e="";b.result.next({emailAddress:d,
availability:e})}else b.result.next({emailAddress:d,availability:""})}}};this.batchedTrigger.pipe(dg(this.destroyed)).subscribe(function(c){c=[].concat(r(new Set(c)));var d=c.slice(0,100);S_b(b,d);c=m(c.slice(100));for(d=c.next();!d.done;d=c.next())b.trigger.next(d.value)})},S_b=function(a,b){var c,d;of(function(e){for(var f=new Uq,h=[],l=m(b),q=l.next();!q.done;q=l.next()){q=q.value;var u=new Tq;u.email=q;h.push(u)}f.userIds=h;c=f;d=R_b(a.apiStub,c);d.pipe(dg(a.destroyed)).subscribe(a.responseHandler);
tf(e)})},T_b=function(a,b){if(!b)return(0,C.of)("");a.trigger.next(b);return a.result.pipe(Gf(function(c){return c.emailAddress===b})).pipe(B(function(c){return c.availability}))};MI.prototype.ngOnDestroy=function(){this.destroyed.next()};MI.\u0275fac=function(a){return new (a||MI)(n(LI))};MI.\u0275prov=Vc({token:MI,factory:MI.\u0275fac});var NI=function(a){var b=this;this.waldoAvailabilityService=a;this.user="";this.userSubject=new C.ReplaySubject(1);this.availability=this.userSubject.pipe(cg(function(c){return T_b(b.waldoAvailabilityService,c)}))};NI.prototype.ngOnChanges=function(){this.userSubject.next(this.user)};NI.\u0275fac=function(a){return new (a||NI)(A(MI))};
NI.\u0275cmp=p({type:NI,selectors:[["waldo-availability-chip"]],inputs:{user:"user"},features:[Hd],decls:2,vars:3,consts:[["class","chip__container",4,"ngIf"],[1,"chip__container"],["preserveAspectRatio","xMidYMid meet","width","100%","height","100%","version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink","viewBox","0 0 24 24","aria-hidden","true",1,"chip__icon"],["d","M9.31 17l2.44-2.44L14.19 17l1.06-1.06-2.44-2.44 2.44-2.44L14.19 10l-2.44 2.44L9.31 10l-1.06 1.06 2.44 2.44-2.44 2.44L9.31 17zM19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11z"],
["aria-hidden","true",1,"chip__text"]],template:function(a,b){a&1&&(P(0,Fwa,6,3,"div",0),U(1,"async"));a&2&&D("ngIf",V(1,1,b.availability))},dependencies:[yw,Ew],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 OI=function(a){this.refreshMonitor=a;this.user="";this.coinonly=null};OI.\u0275fac=function(a){return new (a||OI)(A(zH))};OI.\u0275cmp=p({type:OI,selectors:[["b-availability-chip"]],inputs:{user:"user",coinonly:"coinonly"},decls:1,vars:1,consts:[[3,"refreshable"],[3,"user"]],template:function(a,b){a&1&&P(0,Gwa,1,2,"ng-template",0);a&2&&D("refreshable",b.refreshMonitor.getObservable())},dependencies:[NI,mI],styles:["waldo-availability-chip[_ngcontent-%COMP%] { margin-left: 5px; }"],changeDetection:0});var U_b=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.sloSnoozeUntil=null;this.status="NEW"};
U_b.prototype.setData=function(a,b,c){this.issueId=b;a=Gj(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=Gj(a);this.assignee=Yj(a.assigneeUser);this.assigneeUser=a.assigneeUser;this.authorUser=a.authorUser;this.attachmentId=a.attachmentId;this.blockedByIssueId=a.blockedByIssueId;this.blockingIssueId=a.blockingIssueId;this.cc=ak(a.ccUsers)||[];this.ccUsers=a.ccUsers||[];this.collaborators=ak(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=Yj(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=Yj(a.authorUser);this.verifiedInVersion=a.verifiedInVersion;this.verifier=Yj(a.verifierUser);this.verifierUser=a.verifierUser;this.version=a.version;this.sloSnoozeUntil=a.sloSnoozeUntil;this.sloSnoozeType=a.sloSnoozeType;var d,e;this.effortEstimate=null!=(e=null==(d=a.effort)?void 0:d.estimate)?e:null;this.customField=[];a&&(this.customField=(a.customField||[]).filter(function(f){return f}).map(function(f){return new V_b(f)}));
d={};c=m(c);for(e=c.next();!e.done;d={$jscomp$loop$prop$fieldResource$2254:d.$jscomp$loop$prop$fieldResource$2254},e=c.next())d.$jscomp$loop$prop$fieldResource$2254=e.value,e=d.$jscomp$loop$prop$fieldResource$2254.allowedValue?d.$jscomp$loop$prop$fieldResource$2254.allowedValue.map(function(f){return{value:f,displayText:f}}):null,(a=this.customField.find(function(f){return function(h){return h.customFieldId===f.$jscomp$loop$prop$fieldResource$2254.customFieldId}}(d)))?(a.type=d.$jscomp$loop$prop$fieldResource$2254.type,
a.customFieldName=d.$jscomp$loop$prop$fieldResource$2254.name,a.choices=e,this.customFieldMap[String(d.$jscomp$loop$prop$fieldResource$2254.customFieldId)]=a):(a=new V_b({customFieldId:d.$jscomp$loop$prop$fieldResource$2254.customFieldId}),a.type=d.$jscomp$loop$prop$fieldResource$2254.type,a.customFieldName=d.$jscomp$loop$prop$fieldResource$2254.name,a.choices=e,this.customFieldMap[String(d.$jscomp$loop$prop$fieldResource$2254.customFieldId)]=a)};
var X_b=function(a){for(var b=[],c=m(Object.values(a.customFieldMap)),d=c.next();!d.done;d=c.next()){d=d.value;var e=W_b(a,d.customFieldId);e=e?e.getValue():null;var f=d.getValue();if(!Fj(e,f)){if(e=d.isEmpty())d.textValue="";b.push({fieldName:"customField",customFieldValue:d,actionType:e?"REMOVE":"ADD"})}}if(a.originalModelData){PI(Yj(a.originalModelData.assigneeUser),a.assignee,"assignee",b);PI(a.originalModelData.componentId,a.componentId,"componentId",b);PI(a.originalModelData.createdTimeMicros,
a.createdTimeMicros,"createdTimeMicros",b);PI(a.originalModelData.deletionReason,a.deletionReason,"deletionReason",b);PI(a.originalModelData.duplicateOfIssueId,a.duplicateOfIssueId,"duplicateOfIssueId",b);PI(a.originalModelData.inProd,a.inProd,"inProd",b);PI(a.originalModelData.isArchived,a.isArchived,"isArchived",b);PI(a.originalModelData.isDeleted,a.isDeleted,"isDeleted",b);PI(a.originalModelData.priority,a.priority,"priority",b);PI(Yj(a.originalModelData.reporterUser),a.reporter,"reporter",b);
PI(a.originalModelData.severity,a.severity,"severity",b);PI(a.originalModelData.significanceOverride,a.significanceOverride,"significanceOverride",b);PI(a.originalModelData.status,a.status,"status",b);PI(a.originalModelData.title,a.title,"title",b);PI(a.originalModelData.type,a.type,"type",b);PI(Yj(a.originalModelData.authorUser),a.user,"user",b);PI(Yj(a.originalModelData.verifierUser),a.verifier,"verifier",b);PI(a.originalModelData.version,a.version,"version",b);var h,l,q,u;PI(null!=(q=null==(h=
a.originalModelData.sloSnoozeUntil)?void 0:h.seconds)?q:null,null!=(u=null==(l=a.sloSnoozeUntil)?void 0:l.seconds)?u:null,"sloSnoozeUntil",b);PI(a.originalModelData.sloSnoozeType,a.sloSnoozeType,"sloSnoozeType",b);var x,y;PI(null!=(y=null==(x=a.originalModelData.effort)?void 0:x.estimate)?y:null,a.effortEstimate,"effortEstimate",b);QI(a.originalModelData.attachmentId,a.attachmentId,"attachmentId",b);QI(ak(a.originalModelData.ccUsers),a.cc,"ccs",b);QI(ak(a.originalModelData.collaboratorsUsers),a.collaborators,
"collaborators",b);QI(a.originalModelData.changelist,a.changelist,"changelists",b);QI(a.originalModelData.blockedByIssueId,a.blockedByIssueId,"blockedByIssueId",b);QI(a.originalModelData.blockingIssueId,a.blockingIssueId,"blockingIssueId",b);QI(a.originalModelData.foundInVersion,a.foundInVersion,"foundInVersion",b);QI(a.originalModelData.targetedToVersion,a.targetedToVersion,"targetedToVersion",b);QI(a.originalModelData.verifiedInVersion,a.verifiedInVersion,"verifiedInVersion",b);QI(a.originalModelData.hotlistId,
a.hotlistId,"hotlists",b)}return b.length?{issueId:a.issueId,actions:b}:null},PI=function(a,b,c,d){a!==b&&d.push({fieldName:c,value:null!=b?String(b):void 0})},QI=function(a,b,c,d){var e=Tna(b||[],new Set(a));a=Tna(a||[],new Set(b));e.length&&d.push({fieldName:c,value:e.join(","),actionType:"ADD"});a.length&&d.push({fieldName:c,value:a.join(","),actionType:"REMOVE"})};g=U_b.prototype;
g.setCustomField=function(a,b){a=String(a);if(this.customFieldMap[a]){var c=this.customFieldMap[a].type;if(c)switch(c){case "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:jj(c,"Unexpected custom field type: "+c)}}};g.setIsDeleted=function(a){this.isDeleted=a};g.setIsArchived=function(a){this.isArchived=a};g.setDeletionReason=function(a){this.deletionReason=a};g.setReporter=function(a){this.reporter=a};g.setType=function(a){this.type=a};g.setPriority=function(a){this.priority=a};
g.setSeverity=function(a){this.severity=a};g.setAssignee=function(a){this.assignee=a;a=Cn[this.status];!this.assignee&&this.originalModelData&&Yj(this.originalModelData.assigneeUser)&&"REQUIRED"===(null==a?void 0:a.assigneeRequirement)?this.status="NEW":this.assignee&&"FIXED"!==this.status&&"VERIFIED"!==this.status&&(this.status="ASSIGNED")};
g.setVerifier=function(a){this.verifier=a;!this.verifier&&this.originalModelData&&Yj(this.originalModelData.verifierUser)&&"VERIFIED"===this.originalModelData.status&&(this.status="FIXED")};
g.setStatus=function(a){this.status=a;a=Cn[this.status];"FORBIDDEN"===(null==a?void 0:a.assigneeRequirement)&&this.assigneeUser?this.assignee="":"REQUIRED"!==(null==a?void 0:a.assigneeRequirement)||this.assigneeUser||(this.assignee=this.currentUserEmail);"VERIFIED"!==this.status||this.verifier||(this.verifier=this.currentUserEmail)};g.setInProd=function(a){this.inProd=a};g.setCollaborators=function(a){this.collaborators=a};g.setFoundInVersion=function(a){this.foundInVersion=a};
g.setTargetedToVersion=function(a){this.targetedToVersion=a};g.setVerifiedInVersion=function(a){this.verifiedInVersion=a};g.setSloSnoozeUntil=function(a){this.sloSnoozeUntil=a};g.setSloSnoozeType=function(a){this.sloSnoozeType=a};var W_b=function(a,b){return a.originalModelData?(a=(a.originalModelData.customField||[]).find(function(c){return c.customFieldId===b}))?new Uj(a):null:null},V_b=function(a){Uj.call(this,a);this.choices=this.customFieldName=this.type=null};W(V_b,Uj);
V_b.prototype.isRepeated=function(){return null==this.type?!1:["REPEATED_TEXT","REPEATED_DATE","REPEATED_ENUM","REPEATED_NUMERIC"].includes(this.type)};var Y_b=new Map([["assignee",function(a,b){a.assigneeUser=gk(b.assignee)}],["ccs",function(a,b){a.ccUsers=b.cc.map(gk).filter(nk)}],["changelists",function(a,b){a.changelist=b.changelist}],["hotlists",function(a,b){a.hotlistId=b.hotlistId}],["reporter",function(a,b){a.reporterUser=gk(b.reporter)}],["verifier",function(a,b){a.verifierUser=gk(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 RI=function(a){this.$window=a};RI.\u0275fac=function(a){return new (a||RI)(n(EE))};RI.\u0275prov=Vc({token:RI,factory:RI.\u0275fac,providedIn:"root"});var SI=function(a){this.session=a;this.baseDocumentationUrl=a.getDocumentationBaseUrl()},Lp=function(a){return a.session.isInternalSession()?"https://g3doc.corp.google.com/company/teams/buganizer/user-guide/concepts/access-control":a.baseDocumentationUrl+"/concepts/access-control"};SI.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":""};
var Z_b=function(a){return a.session.isInternalSession()?"https://g3doc.corp.google.com/company/teams/buganizer/user-guide/concepts/automation-access":Lp(a)},$_b=function(a){return a.session.isExternalSession()?a.baseDocumentationUrl+"/concepts/public-access":"http://go/buganizer-public-access"},a0b=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"},ljb=function(){return"https://g3doc.corp.google.com/company/teams/buganizer/user-guide/guides/manage-component#enabling-comment-editing"},
b0b=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"},Qt=function(){return"http://go/buganizer-retention"};SI.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 Rxb=function(){return"https://g3doc.corp.google.com/company/teams/buganizer/user-guide/concepts/custom-fields"};SI.prototype.getDisablingFieldsHelpLink=function(){return Rxb()+"#hiding-inherited-fields"};var c0b=function(a){return a.session.isInternalSession()?"http://go/delete-comments-attachments":""};SI.\u0275fac=function(a){return new (a||SI)(n(Vt))};SI.\u0275prov=Vc({token:SI,factory:SI.\u0275fac,providedIn:"root"});var TI=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};TI.\u0275fac=function(a){return new (a||TI)(A(FA),A(HA))};
TI.\u0275cmp=p({type:TI,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&&(E(0,"h1",0),Q(1),F(),H(2,"div",1),E(3,"div",2),P(4,Lwa,2,1,"button",3),E(5,"button",4),K("click",
function(){return b.dialogRef.close(!0)}),Q(6),F()());a&2&&(z(1),Sg(b.data.title),z(1),D("innerHTML",b.data.content,He),z(2),D("ngIf",b.showCancelButton),z(1),D("color",b.confirmButtonTheme),z(1),R(" ",b.confirmButtonText," "))},dependencies:[yw,tA,KA,LA,MA],encapsulation:2});var UI=function(a){this.dialog=a},d0b=function(a,b){return new Promise(function(c){a.open(Object.assign({},b,{onConfirm:function(){c(!0)},onDismiss:function(){c(!1)}}))})};
UI.prototype.open=function(a){var b=a.onConfirm,c=a.onDismiss;DA(this.dialog.open(TI,{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()})};UI.\u0275fac=function(a){return new (a||UI)(n(IA))};UI.\u0275prov=Vc({token:UI,factory:UI.\u0275fac,providedIn:"root"});var VI=function(a,b,c){this.activeSession=a;this.documentationLinks=b;this.confirmationDialogService=c},e0b=function(a,b){return new Promise(function(c){WI(a,b,function(){c(!0)},function(){c(!1)})})},WI=function(a,b,c,d){if(a.activeSession.isExternalSession())c&&c();else{var e="",f=jp("");if("VULNERABILITY"===b)e="Set the issue type to \u201cVulnerability\u201d?",b={},f=mp(Ru('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'),
lp("A",(b.href="http://goto.google.com/vulnerability-slo",b.target="_blank",b),"Learn more"));else if("PRIVACY_ISSUE"===b){e="Set the issue type to \u201cPrivacy Issue\u201d?";b={};f={};var h={};f=mp(Ru('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. '),lp("A",(b.href="http://goto.google.com/pib-slo",b.target="_blank",b),"Learn more"),Ru(".\n\nDO NOT use this type to file "),
lp("A",(f.href="http://goto.google.com/incident-response-policy",f.target="_blank",f),"privacy incidents"),Ru(". Incidents should be filed at "),lp("A",(h.href="http://goto.google.com/privacy-incidents",h.target="_blank",h),"go/privacy-incidents"),Ru(".\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:f,onConfirm:null!=c?c:function(){},onDismiss:null!=d?d:function(){}})}};VI.\u0275fac=function(a){return new (a||VI)(n(Vt),n(SI),n(UI))};VI.\u0275prov=Vc({token:VI,factory:VI.\u0275fac,providedIn:"root"});var g0b=function(a){Y.call(this,a,-1,f0b)};W(g0b,Y);var f0b=[1];g0b.messageId="b.TimeZoneDataList";var XI=function(a,b){var c=this;this.executor=a;this.activeSession=b;this.memoized=new CZb(function(d){a:{var e=m(c.activeSession.session.preload.timezones);for(var f=e.next();!f.done;f=e.next())if(f=f.value,d===f.timeZoneId_){e=f;break a}e=void 0}return e?(0,C.of)(e):c.executor.get({url:"action/timezone/"+encodeURIComponent(d),responseConstructor:on}).pipe(B(Mqa))},10)};XI.prototype.get=function(a){return this.memoized.get(a)};
var h0b=function(a){return a.executor.get({url:"action/timezone",responseConstructor:g0b}).pipe(B(function(b){return null==b?void 0:yj(b,on,1).map(function(c){c=Mqa(c);var d=zMb(c.getOffset(new Date));return{id:c.timeZoneId_,displayName:"("+d+") - "+c.timeZoneId_}})}))};XI.\u0275fac=function(a){return new (a||XI)(n(KD),n(Vt))};XI.\u0275prov=Vc({token:XI,factory:XI.\u0275fac,providedIn:"root"});var YI=function(a){this.executor=a},i0b=function(a,b){return a.executor.post({url:"action/current_user/preferences",responseConstructor:Zm,body:nra(b)}).pipe(B(function(c){return ara(c)}))};YI.\u0275fac=function(a){return new (a||YI)(n(KD))};YI.\u0275prov=Vc({token:YI,factory:YI.\u0275fac,providedIn:"root"});var ZI=function(a){this.userPreferencesManagerBase=a;this.destroyed$=new C.ReplaySubject(1);this.preferencesSubject$=this.userPreferencesManagerBase.preferences$;this.preferences$=this.preferencesSubject$.pipe(B(Gj));this.textDisplayPreferences$=this.preferences$.pipe(B(function(b){return b.textDisplayPreferences||{}}));this.textDisplayPreferencesSubject$=Yo(this.textDisplayPreferences$.pipe(dg(this.destroyed$)),{});this.lastPublishMode$=this.textDisplayPreferences$.pipe(B(function(b){return b.lastPublishMode}),
Qf());this.lastPublishModeProto$=this.lastPublishMode$.pipe(B(Dm));this.themePreferences$=this.preferences$.pipe(B(function(b){var c;return null!=(c=b.themePreferences)?c:Gj(BE.themePreferences)}),fp());this.listViewPreferences$=this.preferences$.pipe(B(function(b){var c;return null!=(c=b.listViewPreferences)?c:Gj(BE.listViewPreferences)}),fp());this.layoutPreferences$=this.preferences$.pipe(B(this.getLayoutPreferences),fp());this.dateTimePreferences$=this.preferences$.pipe(B(function(b){var c;return null!=
(c=b.dateTimePreferences)?c:Gj(BE.dateTimePreferences)}),fp());this.homepagePreferences$=this.preferences$.pipe(B(this.getHomepagePreferences),fp());this.keyboardPrefs$=this.preferences$.pipe(B(function(b){var c;return null!=(c=b.keyboardPreferences)?c:Gj(BE.keyboardPreferences)}),fp());this.displayColumnsPreferences$=this.preferences$.pipe(B(function(b){var c,d;return null!=(d=null==(c=b.displayColumns)?void 0:c.column)?d:[]}),fp());this.sortColumnsPreferences$=this.preferences$.pipe(B(function(b){var c,
d;return null!=(d=null==(c=b.sortColumns)?void 0:c.column)?d:[]}),fp());this.needsAttentionPreferences$=this.preferences$.pipe(B(function(b){var c;return null!=(c=b.needsAttentionPreferences)?c:Gj(BE.needsAttentionPreferences)}),fp());this.bugScreensaverPreferences$=this.preferences$.pipe(B(function(b){var c;return null!=(c=b.bugScreensaverPreferences)?c:Gj(BE.bugScreensaverPreferences)}),fp());this.bugScreensaverSubject$=Yo(this.bugScreensaverPreferences$.pipe(dg(this.destroyed$)),BE.bugScreensaverPreferences);
this.g3nPreferences$=this.preferences$.pipe(B(function(b){var c;return null!=(c=b.g3nPreferences)?c:Gj(BE.g3nPreferences)}),fp());Yo(this.g3nPreferences$.pipe(dg(this.destroyed$)),BE.g3nPreferences);this.teamWarningPreferences$=this.preferences$.pipe(B(function(b){var c;return null!=(c=b.teamWarningPreferences)?c:Gj(BE.teamWarningPreferences)}),fp());this.teamWarningPreferencesSubject$=Yo(this.teamWarningPreferences$.pipe(dg(this.destroyed$)),BE.teamWarningPreferences);this.commentFilterPreferences$=
this.preferences$.pipe(B(function(b){var c;return null!=(c=b.commentFilterPreferences)?c:Gj(BE.commentFilterPreferences)}),fp());Yo(this.commentFilterPreferences$.pipe(dg(this.destroyed$)),BE.commentFilterPreferences);this.codeFont$=this.preferences$.pipe(B(function(b){return!!b.useCodefont}),Qf());this.autoCcOnComment$=this.preferences$.pipe(B(function(b){var c;return null!=(c=b.autoCcOnComment)?c:!1}),Qf());this.showFullHistory$=this.preferences$.pipe(B(function(b){return!!b.showFullHistory}),Qf());
this.showRecentEventsFirst$=this.preferences$.pipe(B(function(b){return!!b.showRecentEventsFirst}),Qf());this.showInlineImages$=this.preferences$.pipe(B(function(b){var c;return null!=(c=b.showInlineImages)?c:BE.showInlineImages}),Qf())};ZI.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete()};ZI.prototype.save=function(a){return this.userPreferencesManagerBase.save(a)};
var j0b=function(a,b){b=Object.assign({},a.getLayoutPreferences(a.preferencesSubject$.value),b);return a.save({layoutPreferences:b}).pipe(B(a.getLayoutPreferences))},k0b=function(a,b){return a.save({homepagePreferences:b}).pipe(B(a.getHomepagePreferences))};ZI.prototype.getDateTimePreferences=function(){var a;return null!=(a=(void 0).dateTimePreferences)?a:Gj(BE.dateTimePreferences)};
var l0b=function(a,b){b=Object.assign({},a.preferencesSubject$.value.collapsed,b);return a.save({collapsed:b})},m0b=function(a,b){var c;return null==(c=a.preferencesSubject$.value.collapsed)?void 0:c[b]};ZI.prototype.clearHomepagePreferences=function(){return k0b(this,{})};var n0b=function(a,b){return a.save({displayColumns:{column:b}}).pipe(B(function(c){var d,e;return null!=(e=null==(d=c.displayColumns)?void 0:d.column)?e:[]}))};
ZI.prototype.saveSortColumns=function(a){return this.save({sortColumns:{column:a}}).pipe(B(function(b){var c,d;return null!=(d=null==(c=b.sortColumns)?void 0:c.column)?d:[]}))};var o0b=function(a,b){return a.save({teamWarningPreferences:b}).pipe(B(function(c){var d;return null!=(d=c.teamWarningPreferences)?d:Gj(BE.teamWarningPreferences)}))};ZI.prototype.getLayoutPreferences=function(a){var b;return null!=(b=a.layoutPreferences)?b:Gj(BE.layoutPreferences)};
ZI.prototype.getHomepagePreferences=function(a){var b;return null!=(b=a.homepagePreferences)?b:Gj(BE.homepagePreferences)};var $I=function(a){return Gj(a.preferencesSubject$.getValue())};ZI.\u0275fac=function(a){return new (a||ZI)(n(aJ))};ZI.\u0275prov=Vc({token:ZI,factory:ZI.\u0275fac,providedIn:"root"});
var aJ=function(a,b){this.activeSession=a;this.userPreferencesResources=b;this.preferences$=new C.BehaviorSubject(Gj(BE));a=this.preferences$.value;if(b=this.activeSession.getUserPreferences())a=Object.assign({},a,b),p0b(a);this.preferences$.next(a)};aJ.prototype.save=function(a){var b=this;return this.activeSession.isAnonymous()?(0,C.of)(q0b(this,a)):i0b(this.userPreferencesResources,a).pipe(B(function(){return q0b(b,a)}))};
var q0b=function(a,b){var c=Gj(a.preferences$.value);c=Object.assign({},c,b);p0b(c);a.preferences$.next(c);return c},p0b=function(a){a.dateTimePreferences&&(a.dateTimePreferences.calendarFormat||(a.dateTimePreferences.calendarFormat=BE.dateTimePreferences.calendarFormat),a.dateTimePreferences.timeFormat||(a.dateTimePreferences.timeFormat=BE.dateTimePreferences.timeFormat),a.dateTimePreferences.sloEtaViewAs||(a.dateTimePreferences.sloEtaViewAs=BE.dateTimePreferences.sloEtaViewAs))};
aJ.\u0275fac=function(a){return new (a||aJ)(n(Vt),n(YI))};aJ.\u0275prov=Vc({token:aJ,factory:aJ.\u0275fac,providedIn:"root"});var r0b=Pwa({PRIORITY_UNSPECIFIED:0,P0:1,P1:2,P2:3,P3:4,P4:5}),s0b=Pwa({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}),t0b=Pwa({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});t0b.slice(0,7);var bJ={},cJ=(bJ.BUG="Unintended behavior",bJ.FEATURE_REQUEST="Request for new functionality",bJ.CUSTOMER_ISSUE="Issue affecting a 3rd party",bJ.INTERNAL_CLEANUP="Maintenance work",bJ.PROCESS="Miscellaneous non-feature work",bJ.VULNERABILITY="A security concern",bJ.PRIVACY_ISSUE="A privacy concern",bJ.PROJECT="Goal-driven effort",bJ.FEATURE="A collection of work",bJ.MILESTONE="An important achievement",bJ.EPIC="A large collection of work",bJ.STORY="A small collection of work",bJ.TASK="A small unit of work",
bJ.TYPE_UNSPECIFIED="Unspecified",bJ),u0b="TYPE_UNSPECIFIED BUG FEATURE_REQUEST CUSTOMER_ISSUE INTERNAL_CLEANUP PROCESS VULNERABILITY PRIVACY_ISSUE PROJECT FEATURE MILESTONE EPIC STORY TASK".split(" "),v0b="PRIORITY_UNSPECIFIED P0 P1 P2 P3 P4".split(" ").slice(1),w0b="STATUS_UNSPECIFIED NEW ASSIGNED ACCEPTED FIXED VERIFIED NOT_REPRODUCIBLE INTENDED_BEHAVIOR OBSOLETE INFEASIBLE DUPLICATE".split(" ").slice(1),dJ=u0b.slice(1),x0b=["S0","S1","S2","S3","S4"],y0b=u0b.slice(1,8),eJ={},z0b=(eJ.PRIORITY_UNSPECIFIED=
"(Unspecified Priority)",eJ.P0="P0",eJ.P1="P1",eJ.P2="P2",eJ.P3="P3",eJ.P4="P4",eJ),fJ={},A0b=(fJ.TYPE_UNSPECIFIED="(Unspecified Issue Type)",fJ.BUG="Bug",fJ.FEATURE_REQUEST="Feature Request",fJ.CUSTOMER_ISSUE="Customer Issue",fJ.INTERNAL_CLEANUP="Internal Cleanup",fJ.PROCESS="Process",fJ.VULNERABILITY="Vulnerability",fJ.PRIVACY_ISSUE="Privacy Issue",fJ.PROJECT="Project",fJ.FEATURE="Feature",fJ.MILESTONE="Milestone",fJ.EPIC="Epic",fJ.STORY="Story",fJ.TASK="Task",fJ),B0b=v0b.map(function(a){return z0b[a]}),
C0b=dJ.map(function(a){return A0b[a]}),D0b=new Map([[1,cJ.BUG],[2,cJ.FEATURE_REQUEST],[3,cJ.CUSTOMER_ISSUE],[4,cJ.INTERNAL_CLEANUP],[5,cJ.PROCESS],[6,cJ.VULNERABILITY],[7,cJ.PRIVACY_ISSUE],[8,cJ.PROJECT],[9,cJ.FEATURE],[10,cJ.MILESTONE],[11,cJ.EPIC],[12,cJ.STORY],[13,cJ.TASK]]),E0b=new Map([["BUG",cJ.BUG],["FEATURE_REQUEST",cJ.FEATURE_REQUEST],["CUSTOMER_ISSUE",cJ.CUSTOMER_ISSUE],["INTERNAL_CLEANUP",cJ.INTERNAL_CLEANUP],["PROCESS",cJ.PROCESS],["VULNERABILITY",cJ.VULNERABILITY],["PRIVACY_ISSUE",cJ.PRIVACY_ISSUE],
["PROJECT",cJ.PROJECT],["FEATURE",cJ.FEATURE],["MILESTONE",cJ.MILESTONE],["EPIC",cJ.EPIC],["STORY",cJ.STORY],["TASK",cJ.TASK]]),F0b=new Set("PROJECT FEATURE MILESTONE EPIC STORY TASK".split(" ")),G0b=dJ.map(function(a){return{value:a,displayText:Era(a),altText:E0b.get(a)}}),gJ=function(){this.protoIssueTypesEnumStrings=new Map(xn(t0b,dJ));this.protoIssueStatusesEnumStrings=new Map(xn(s0b,w0b));this.priorities=v0b;this.severities=x0b;this.issueTypes=y0b;this.editIssueTypes=dJ;this.editIssueTypeChoices=
G0b;xn(dJ,C0b);this.protoIssuePrioritiesDisplayNames=new Map(xn(r0b,B0b));this.protoIssueTypesDisplayNames=new Map(xn(t0b,C0b));this.protoIssueTypesShortDescriptions=D0b;this.issueTypesShortDescriptions=E0b;this.supportedTimeZones=[{name:"Local time",id:""},{name:"UTC",id:"UTC"},{name:"America/Los_Angeles",id:"America/Los_Angeles"}]};gJ.\u0275fac=function(a){return new (a||gJ)};gJ.\u0275prov=Vc({token:gJ,factory:gJ.\u0275fac,providedIn:"root"});var hJ=function(a,b,c,d){Z.call(this);var e=this;this.errorHandler=d;this.cachedFormatters=new Map;this.formatPrefChange$=new C.Subject;this.userTimeZone=null;this.timeZones={};this.userPrefs=BE.dateTimePreferences;Promise.all(c.supportedTimeZones.map(function(f){if(""===f.id)return Promise.resolve({name:"",timeZone:null});var h=b.get(f.id).pipe(dg(e.destroyed$));return(0,C.firstValueFrom)(h).then(function(l){return{name:f.name,timeZone:l}})})).then(function(f){f=m(f);for(var h=f.next();!h.done;h=
f.next())h=h.value,e.timeZones[h.name]=h.timeZone;a.preferences$.pipe(dg(e.destroyed$)).subscribe(function(l){l.dateTimePreferences&&(l=l.dateTimePreferences,e.userPrefs=l,e.userTimeZone=e.timeZones[l.timeZone],e.formatPrefChange$.next())})}).catch(function(f){e.errorHandler.errorHandler(null,f)})};W(hJ,Z);hJ.\u0275dir=Z.\u0275dir;hJ.prototype.format=function(a,b,c){var d=this.cachedFormatters.get(a);d||(d=new dB(a),this.cachedFormatters.set(a,d));return b?d.format(c,b):d.format(c)};
var H0b=function(a,b){return a.formatPrefChange$.subscribe(b)};hJ.prototype.formatUserCalendar=function(a){return this.format(this.userPrefs.calendarFormat,this.userTimeZone,a)};hJ.prototype.formatUserTime=function(a){return this.format(this.userPrefs.timeFormat,this.userTimeZone,a)};hJ.\u0275fac=function(a){return new (a||hJ)(n(ZI),n(XI),n(gJ),n(ZF))};hJ.\u0275prov=Vc({token:hJ,factory:hJ.\u0275fac,providedIn:"root"});var iJ=function(a){this.dateFormatter=a};
iJ.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(Dj(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(Dj(c))}).join(", ");if(a.repeatedEnumValue)return a.repeatedEnumValue.values.join(", ");
if(a.repeatedNumericValue)return a.repeatedNumericValue.values.join(", ")}return""};iJ.\u0275fac=function(a){return new (a||iJ)(n(hJ))};iJ.\u0275prov=Vc({token:iJ,factory:iJ.\u0275fac,providedIn:"root"});var jJ=function(a,b){this.customFieldFormatter=a;this.hotlistFridge=b;this.FIELD_TEXT_MAP={assignee:"Assignee",type:"Issue Type",componentId:"Component ID",duplicateOfIssueId:"Canonical Issue ID",inProd:"In Prod",priority:"Priority",severity:"Severity",status:"Status",title:"Title",verifier:"Verifier",effortEstimate:"Estimated Effort",sloSnoozeUntil:"SLO Snooze Until",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"]},K0b=function(a,b,c,d){c=void 0===c?null:c;d=void 0===d?"":d;var e;b.bulkEditOps&&(e=Nwa(b.bulkEditOps));var f=b.actions||[];!f.length&&b.bulkEditOps&&(f=Mwa(b.bulkEditOps));b=I0b(f).map(function(h){return J0b(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+"."},I0b=function(a){var b=
[],c=[];a=m(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)},J0b=function(a,b,c,d){c=void 0===c?null:c;d=void 0===d?"":d;var e=a.FIELD_TEXT_MAP[b.fieldName]||b.fieldName,f=b.value||"<none>";b.customFieldValue?(d=new Uj(b.customFieldValue),e=c[d.customFieldId].name||c[d.customFieldId].customFieldName,f=a.customFieldFormatter.format(d)||"<none>"):e="effortEstimate"===b.fieldName&&d?d:a.FIELD_TEXT_MAP[b.fieldName]||b.fieldName;"hotlists"===
b.fieldName?f=b.value.split(",").map(function(h){var l,q;return(l=null==(q=Zo(a.hotlistFridge.watch(String(h),{trustUncertainMemory:!0})))?void 0:q.name)?"'"+l+"'":h}).join(","):a.ENUM_FIELDS.includes(b.fieldName)&&(f=f?Wj(f.replace(/_/g," ").toLowerCase()):"");return"ADD"===b.actionType&&"hotlists"===b.fieldName?(f=f.replace(/,/g,", "),"Added issue to Hotlist ["+f+"]"):"REMOVE"===b.actionType&&"hotlists"===b.fieldName?(f=f.replace(/,/g,", "),"Removed issue from Hotlist ["+f+"]"):"ADD"===b.actionType&&
"parentId"===b.fieldName?"Added child issue(s) to parent ["+f+"]":"REMOVE"===b.actionType&&"parentId"===b.fieldName?"Unlinked child issue(s) from parent ["+f+"]":b.actionType||"status"!==b.fieldName?b.actionType||"comment"!==b.fieldName?b.actionType||"attachments"!==b.fieldName?b.actionType||"sloSnoozeUntil"!==b.fieldName?"ADD"!==b.actionType||b.customFieldValue?"REMOVE"!==b.actionType||b.customFieldValue?"isArchived"===b.fieldName?"true"===b.value?"Archived successfully":"Unarchived successfully":
e+' set to "'+f+'"':(f=f.replace(/,/g,", "),'"'+f+'" removed from '+e):(f=f.replace(/,/g,", "),'"'+f+'" added to '+e):b.value?"SLO snoozed":"SLO un-snoozed":"":"Comment added":'Status set to "'+Cn[b.value].displayValue+'"'};jJ.\u0275fac=function(a){return new (a||jJ)(n(iJ),n(hH))};jJ.\u0275prov=Vc({token:jJ,factory:jJ.\u0275fac,providedIn:"root"});var kJ=function(a){Y.call(this,a,-1,L0b)};W(kJ,Y);kJ.prototype.getAttachmentsList=function(){return yj(this,KE,1)};kJ.prototype.setAttachmentsList=function(a){ac(this,1,a)};var L0b=[1];kJ.messageId="b.CreateAttachmentsResponse";var lJ=function(a){Y.call(this,a)};W(lJ,Y);lJ.prototype.getErrorMessage=function(){return Dk(this,2)};lJ.prototype.setErrorMessage=function(a){k(this,2,a)};lJ.messageId="b.EncryptedMediaResponse";var M0b=function(){},mJ=function(a){this.executor=a};W(mJ,M0b);var N0b=function(a,b){var c=new JTb;c.setFilename(b.filename);c.setMimeType(b.mimeType);null!=b.encryptedBlobId&&k(c,3,b.encryptedBlobId);k(c,4,b.docId);null!=b.size&&c.setSize(b.size);return a.executor.post({url:"action/issues/drive_attachment",body:c,responseConstructor:lJ}).then(Rpa)};mJ.\u0275fac=function(a){return new (a||mJ)(n(LD))};mJ.\u0275prov=Vc({token:mJ,factory:mJ.\u0275fac,providedIn:"root"});var nJ=function(){};nJ.\u0275fac=function(a){return new (a||nJ)};nJ.\u0275prov=Vc({token:nJ,factory:nJ.\u0275fac,providedIn:"root"});var oJ=function(a){this.executor=a};W(oJ,nJ);oJ.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})};
oJ.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:KE}).then(Ml)};oJ.\u0275fac=function(a){return new (a||oJ)(n(LD))};oJ.\u0275prov=Vc({token:oJ,factory:oJ.\u0275fac,providedIn:"root"});var Qwa=function(a){Y.call(this,a)};W(Qwa,Y);var O0b=function(a){Y.call(this,a)};W(O0b,Y);O0b.messageId="b.PrincipalTypeInfoBatchResponse";var pJ=function(a,b){this.principalResources=a;this.principalTypeGetter=b.adapt(P0b(this,!1));this.principalTypeWithDetailGetter=b.adapt(P0b(this,!0))},P0b=function(a,b){return function(c){return Q0b(a.principalResources,c,b).then(function(d){return Uwa(c,d)})}};pJ.prototype.get=function(a){return qJ(this,a,!1)};var qJ=function(a,b,c){return(c?a.principalTypeWithDetailGetter.get(b):a.principalTypeGetter.get(b)).then(function(d){return null!=d?d:Vwa()})};
pJ.\u0275fac=function(a){return new (a||pJ)(n(rJ),n(GF))};pJ.\u0275prov=Vc({token:pJ,factory:pJ.\u0275fac,providedIn:"root"});var rJ=function(a){this.executor=a},Q0b=function(a,b,c){var d={};d.email=wn(b);c&&(d.includeDetailedUserType="true");return a.executor.get({url:"action/principal_types",options:{params:d},responseConstructor:O0b}).then(Twa).then(function(e){for(var f={},h=m(b),l=h.next();!l.done;l=h.next()){l=l.value;var q=void 0;f[l]=null!=(q=e[l])?q:Vwa()}return f})};
rJ.\u0275fac=function(a){return new (a||rJ)(n(LD))};rJ.\u0275prov=Vc({token:rJ,factory:rJ.\u0275fac,providedIn:"root"});var sJ=function(a,b,c){this.dialogRef=a;this.data=c;this.readMoreLink=b.baseDocumentationUrl+"/concepts/access-control#explicit_access_warnings";this.userEmails=c.userEmails};sJ.prototype.close=function(a){this.dialogRef.close(a)};sJ.\u0275fac=function(a){return new (a||sJ)(A(FA),A(SI),A(HA))};
sJ.\u0275cmp=p({type:sJ,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&&(E(0,"div",0)(1,"h1",1),Q(2,"User may not have access"),F(),E(3,"section",2)(4,"p"),Q(5," The following user(s) may not be able to edit, interact with, or get notifications about this issue: "),
F(),E(6,"ul"),P(7,Wwa,2,1,"li",3),F(),E(8,"section"),Q(9,"Continue anyway?"),F()(),E(10,"footer",4)(11,"div",5)(12,"a",6),Q(13,"Learn more"),F()(),E(14,"button",7),K("click",function(){return b.close(!0)}),Q(15,"Continue"),F(),E(16,"button",8),K("click",function(){return b.close(!1)}),Q(17,"Cancel"),F()()());a&2&&(z(7),D("ngForOf",b.userEmails),z(5),D("href",b.readMoreLink,Ie))},dependencies:[xw,tA,KA,LA,MA],styles:["ul[_ngcontent-%COMP%]{list-style:disc;margin-bottom:10px}"]});var tJ=function(a,b,c,d,e){this.matDialogService=a;this.analytics=b;this.butterBar=c;this.logger=d;this.accessPolicy=e},uJ=function(a,b){var c=b.componentId,d=b.userEmails,e=b.relation,f=b.analyticsEventLabel,h,l,q;return of(function(u){switch(u.nextAddress){case 1:if(d.every(function(x){return 0===x.length}))return u.return(!0);pf(u,2);return u.yield(R0b(a,c,d,e),4);case 4:h=u.yieldResult;if(0===h.length)return u.return(!0);a.analytics.trackEvent(Mp.ADD_USER_WITHOUT_ACCESS,"warn",f);return u.yield(a.confirm(h,
e),5);case 5:l=u.yieldResult;if(!l)return WF(a.butterBar,"Save cancelled.",4E3),a.analytics.trackEvent(Mp.ADD_USER_WITHOUT_ACCESS,"cancel",f),u.return(!1);a.analytics.trackEvent(Mp.ADD_USER_WITHOUT_ACCESS,"proceed",f);return u.return(!0);case 2:return q=sf(u),a.logger.error(q),u.return(!1)}})},R0b=function(a,b,c,d){var e;return of(function(f){if(1==f.nextAddress)return f.yield(a.accessPolicy.checkPermission(c,d,"ISSUE_DEFAULTS",b),2);e=f.yieldResult;return f.return([].concat(r(e.noAccessEmails||[]),
r(e.unknownEmails||[])))})};tJ.prototype.confirm=function(a,b){var c=this,d,e,f;return of(function(h){if(1==h.nextAddress)return d={userEmails:a,relation:b},e=c.matDialogService.open(sJ,{width:"400px",data:d}),h.yield((0,C.firstValueFrom)(DA(e)),2);f=h.yieldResult;return h.return(!!f)})};tJ.\u0275fac=function(a){return new (a||tJ)(n(IA),n(wH),n(VF),n(YF),n(hG))};tJ.\u0275prov=Vc({token:tJ,factory:tJ.\u0275fac,providedIn:"root"});var vJ=function(a,b){this.size=a;this.name=b;this.transferredBytes=0;this.errorMessage="";this.blobRef=null;this.state=1};vJ.prototype.cancel=function(){this.state=4};var S0b={UPLOADING:1,COMPLETE:2,ERROR:3,CANCELLED:4,1:"UPLOADING",2:"COMPLETE",3:"ERROR",4:"CANCELLED"};var wJ=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};wJ.prototype.reset=function(){this.value="";T0b(this)};var T0b=function(a){for(var b=m(a.uploads),c=b.next();!c.done;c=b.next())c.value.cancel();a.uploads=[]},U0b=function(a){return a.fromTemplate&&a.initialComment===a.value};
wJ.prototype.getAttachments=function(){for(var a=[],b=m(this.uploads),c=b.next();!c.done;c=b.next())c=c.value,2===c.state&&c.blobRef&&a.push(Gj(c.blobRef));return a};wJ.prototype.hasContent=function(){return!(!this.value&&!this.uploads.length)};var V0b=function(a){return!a.isEmpty()&&!gkb(a)};wJ.prototype.isEmpty=function(){return!this.value&&!W0b(this)};
var gkb=function(a){return a.uploads.some(function(b){return 1===b.state||3===b.state})},W0b=function(a){return a.uploads.some(function(b){return 2===b.state})};var xJ=function(a,b){Z.call(this);this.router=a;this.activatedRoute=b;this.params={};this.routeParams$=new C.BehaviorSubject({});this.issueId$=this.routeParams$.pipe(B(function(c){return c.issueId}),Qf())};W(xJ,Z);xJ.\u0275dir=Z.\u0275dir;
var Y0b=function(a){a.activatedRoute.queryParams.pipe(dg(a.destroyed$)).subscribe(function(b){X0b(a,a.routeParams$.value,b)});a.router.events.pipe(Gf(function(b){return b instanceof Eua}),B(function(b){return b}),dg(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);X0b(a,c,b.queryParams)})},Z0b=function(a,b){return a.routeParams$.pipe(B(function(c){return c[b]}))},X0b=function(a,b,c){for(var d=m(Object.keys(a.params)),
e=d.next();!e.done;e=d.next())delete a.params[Xwa(e.value)];a.routeParams$.next(b);c=m(Object.entries(c));for(d=c.next();!d.done;d=c.next())e=m(d.value),d=e.next().value,e=e.next().value,a.params[Xwa(d)]=e;b=m(Object.entries(b));for(c=b.next();!c.done;c=b.next())d=m(c.value),c=d.next().value,d=d.next().value,a.params[Xwa(c)]=d};xJ.\u0275fac=function(a){return new (a||xJ)(n(FG),n(so))};xJ.\u0275prov=Vc({token:xJ,factory:xJ.\u0275fac,providedIn:"root"});var yJ=new Bd("routeParams",{factory:function(){return hd(xJ).params}});var zJ=function(a,b,c,d){this.routeParams=a;this.issueComments=b;this.draftStore=c;this.errorHandler=d};zJ.prototype.get=function(a){var b=this;if(this.routeParams.comment)return(0,C.of)(this.routeParams.comment);var c=this.routeParams.template_issue;if(c){var d=Lj(this.routeParams.template_comment)||1;return(0,C.defer)(function(){return $0b(b,c,d,b.routeParams.do_attribution)})}return a?(0,C.of)(this.draftStore.$window.sessionStorage.getItem(ep(a))||""):(0,C.of)("")};
var $0b=function(a,b,c,d){var e,f,h,l,q;return of(function(u){if(1==u.nextAddress)return pf(u,2),u.yield(a.issueComments.get(b,c),4);if(2!=u.nextAddress)return e=u.yieldResult,f=e.unlinkifiedComment,h=(new Date(Number(e.lastModified)/1E3)).toLocaleDateString(),d?(l="> From issue "+b+" on "+h+":",u.return(l+"\n\n"+f)):u.return(f);q=sf(u);aG(a.errorHandler,q);return u.return("")})};zJ.\u0275fac=function(a){return new (a||zJ)(n(yJ),n($H),n(RI),n(ZF))};
zJ.\u0275prov=Vc({token:zJ,factory:zJ.\u0275fac,providedIn:"root"});var a1b=function(a,b,c,d,e){var f=this;this.issueId=a;this.defaultCommentSource=b;this.issueFetchResponseFridge=c;this.activeSession=d;this.userPreferencesManager=e;this.issueFr$=FH(this.issueFetchResponseFridge,this.issueId);this.issue$=this.issueFr$.pipe(B(function(h){return null==h?void 0:h.issue}));this.componentId$=this.issue$.pipe(B(function(h){return null==h?void 0:h.snapshot[0].componentId}),Qf());this.comment$=this.defaultCommentSource.get(this.issueId).pipe(bg(""),Qf(),fg(this.userPreferencesManager.lastPublishModeProto$),
B(function(h){var l=m(h);h=l.next().value;l=l.next().value;h=new wJ(h);h.formattingMode=l;return h}),$f({bufferSize:1,refCount:!0}));this.comment=function(){return Zo(f.comment$)};this.createRestrictedResourcesComponentWhitelist=this.activeSession.getCreateRestrictedSubresourcesComponentWhitelist();this.componentJudgementForNewContent$=this.componentId$.pipe(B(function(h){if(h&&f.createRestrictedResourcesComponentWhitelist.includes(h))return(new Ek).setSeverity(2).setJudgementReason("None Specified")}),
$f({bufferSize:1,refCount:!0}));this.userDefinedJudgementForNewContent$=new C.BehaviorSubject(void 0);this.judgementForNewContent$=(0,C.combineLatest)([this.componentJudgementForNewContent$.pipe(bg(void 0)),this.userDefinedJudgementForNewContent$]).pipe(B(function(h){var l=m(h);h=l.next().value;l=l.next().value;return null!=l?l:h}),$f({bufferSize:1,refCount:!1}));this.judgementForNewContent=function(){return Zo(f.judgementForNewContent$)}},b1b=function(a){var b=a.comment(),c,d=1===(null==(c=a.judgementForNewContent())?
void 0:c.getSeverity())?void 0:a.judgementForNewContent();a=b.value;c=b.formattingMode;var e=[];b=m(b.uploads);for(var f=b.next();!f.done;f=b.next())f=f.value,2===f.state&&f.blobRef&&(f=Gj({attachment:f.blobRef}),d&&(f.contentJudgement={severity:yk(d.getSeverity()),judgementReason:d.getJudgementReason()}),e.push(f));return{judgementForNewContent:d,commentText:a,formattingMode:c,attachmentsWithJudgements:e}},c1b=function(a){var b=b1b(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},AJ=function(a,b,c,d){this.defaultCommentSource=a;this.issueFetchResponseFridge=b;this.activeSession=c;this.userPreferencesManager=d};AJ.prototype.create=function(a){return new a1b(a,this.defaultCommentSource,this.issueFetchResponseFridge,this.activeSession,this.userPreferencesManager)};AJ.\u0275fac=function(a){return new (a||AJ)(n(zJ),n(EH),n(Vt),n(ZI))};
AJ.\u0275prov=Vc({token:AJ,factory:AJ.\u0275fac,providedIn:"root"});var BJ=function(){};BJ.prototype.isSloSnoozed=function(a){return!!a&&a.seconds>Date.now()/1E3};
var CJ=function(a){return!!a&&!!a.targetTime&&0!==a.targetTime.seconds},DJ=function(a){return CJ(a.assignmentBounds)||CJ(a.responseBounds)||CJ(a.closureBounds)},d1b=function(a){if(!a)return null;var b=[],c=[];a.assignmentBounds&&Ywa(b,c,a.assignmentBounds,"ASSIGNMENT");a.responseBounds&&Ywa(b,c,a.responseBounds,"RESPONSE");a.closureBounds&&Ywa(b,c,a.closureBounds,"CLOSURE");return 0<b.length?(b.sort(Zwa),b[0]):0<c.length?(c.sort(Zwa),{sloBounds:c[0].sloBounds,sloMetric:""}):null};
BJ.\u0275fac=function(a){return new (a||BJ)};BJ.\u0275prov=Vc({token:BJ,factory:BJ.\u0275fac,providedIn:"root"});var e1b=function(a,b,c,d,e){var f=this;this.issueId=a;this.issueFetchResponseFridge=b;this.constants=c;this.activeSession=d;this.sloStatusHelpersService=e;this.enableNonWtdmFieldPerTypeVisibility=DE(this.activeSession,"enableNonWtdmFieldPerTypeVisibility")||!1;this.showSloStatus=this.activeSession.isInternalSession();this.showChangelists=!this.activeSession.isExternalSession();this.issueFetchResponse$=FH(this.issueFetchResponseFridge,this.issueId);this.issue$=this.issueFetchResponse$.pipe(B(function(h){return null==
h?void 0:h.issue}));this.issueSnapshot$=this.issue$.pipe(B(function(h){return null==h?void 0:h.snapshot[0]}));this.hasSloDefined$=this.issue$.pipe(B(function(h){var l;return null==h?void 0:null==(l=h.aggregatedData)?void 0:l.sloStatus}),B(function(h){return!!h&&DJ(h)}));this.isWtdmType$=this.issueSnapshot$.pipe(B(function(h){return null!=(null==h?void 0:h.type)&&F0b.has(h.type)}));this.isForgottenFourPrimary$=this.isWtdmType$.pipe(B(function(h){return!h&&!f.enableNonWtdmFieldPerTypeVisibility}));
this.isSloStatusPrimary$=(0,C.combineLatest)([this.hasSloDefined$,this.isWtdmType$]).pipe(B(function(h){var l=m(h);h=l.next().value;l=l.next().value;return h||!l}));this.isSeverityPrimary$=this.isWtdmType$.pipe(B(function(h){return!h}));this.isChangelistPrimary$=(0,C.combineLatest)([this.isWtdmType$,this.issueSnapshot$]).pipe(B(function(h){var l=m(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(B(function(h){var l;
return null!=(l=null==h?void 0:h.issue.customFields)?l:[]}));this.visibleFields$=this.issue$.pipe(B(function(h){var l;return null!=(l=null==h?void 0:h.visibleFields)?l:[]}));this.visibleFieldIds$=this.visibleFields$.pipe(B(function(h){return h.map(function(l){return l.customFieldId}).filter(nk)}),B(function(h){return new Set(h)}),$f({refCount:!0,bufferSize:1}));this.visibleCustomFields$=(0,C.combineLatest)([this.visibleFieldIds$,this.customFields$]).pipe(B(function(h){h=m(h);var l=h.next().value;
return h.next().value.filter(function(q){return l.has(q.customFieldId)})}),$f({refCount:!0,bufferSize:1}));this.hiddenCustomFields$=(0,C.combineLatest)([this.visibleFieldIds$,this.customFields$]).pipe(B(function(h){h=m(h);var l=h.next().value;return h.next().value.filter(function(q){return!l.has(q.customFieldId)})}),$f({refCount:!0,bufferSize:1}));this.hiddenFieldCount$=(0,C.combineLatest)([this.isForgottenFourPrimary$,this.isSeverityPrimary$,this.isSloStatusPrimary$,this.isChangelistPrimary$,this.hiddenCustomFields$]).pipe(B(function(h){var l=
m(h);h=l.next().value;var q=l.next().value,u=l.next().value,x=l.next().value;l=l.next().value;return(h?0:4)+(q?0:1)+(!f.showSloStatus||u?0:1)+(!f.showChangelists||x?0:2)+l.length}),$f({refCount:!0,bufferSize:1}));this.hasHiddenFields$=this.hiddenFieldCount$.pipe(B(function(h){return 0<h}));this.showHiddenFieldsLabel$=this.hiddenFieldCount$.pipe(B(function(h){return 1===h?"Show 1 additional field":"Show "+h+" additional fields"}))},EJ=function(a,b,c,d){this.issueFetchResponseFridge=a;this.constants=
b;this.activeSession=c;this.sloStatusHelpersService=d};EJ.prototype.create=function(a){return new e1b(a,this.issueFetchResponseFridge,this.constants,this.activeSession,this.sloStatusHelpersService)};EJ.\u0275fac=function(a){return new (a||EJ)(n(EH),n(gJ),n(Vt),n(BJ))};EJ.\u0275prov=Vc({token:EJ,factory:EJ.\u0275fac,providedIn:"root"});var eZb=Mp.EDIT_ISSUE,FJ=function(a,b){Z.call(this);this.analytics=a;this.clearcut=b;this.issueToTrackingState=new Map;this.getState=gp(this.issueToTrackingState,bxa);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")};W(FJ,Z);FJ.\u0275dir=Z.\u0275dir;
var GJ=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),f1b(a,c,"idp-time-to-action",b.variations),d.firstActionSeen=!0)},Gq=function(a,b,c){a.getState(b).variations.add(c)},f1b=function(a,b,c,d){lH(a.clearcut,b,c);d=m(d);for(var e=d.next();!e.done;e=d.next())lH(a.clearcut,b,c+"-"+e.value)};FJ.prototype.resetState=function(a){this.issueToTrackingState.delete(a)};
FJ.\u0275fac=function(a){return new (a||FJ)(n(wH),n(kH))};FJ.\u0275prov=Vc({token:FJ,factory:FJ.\u0275fac,providedIn:"root"});var HJ=function(a,b,c,d,e,f,h){var l=this;this.issueFetchResponseFridge=a;this.issueFridge=b;this.teamFridge=c;this.componentFridge=d;this.eventsForIssue=e;this.paramsService=f;this.activatedRoute=h;this.id$=this.paramsService.issueId$;this.urlComment$=this.activatedRoute.fragment.pipe(B(Mxa),$f({refCount:!0,bufferSize:1}));this.issueJs$=this.id$.pipe(cg(function(q){return FH(l.issueFetchResponseFridge,q)}),$f({refCount:!0,bufferSize:1}));this.issueJs$.pipe(B(function(q){return null==q?void 0:q.firstEvent}));
this.eventsJs$=this.id$.pipe(cg(this.eventsForIssue.watch),B(function(q){var u;return null!=(u=null==q?void 0:q.events)?u:[]}));this.starred$=this.issueJs$.pipe(B(cxa));this.lastViewedTimeMicros$=this.issueJs$.pipe(B(dxa));this.lastViewedTimeMicros$.pipe(B(function(q){return!q}));this.issueJs$.pipe(B(exa));this.issueJs$.pipe(B(vxa));this.accessLimitLevel$=this.issueJs$.pipe(B(mxa));this.voted$=this.issueJs$.pipe(B(wxa));this.status$=this.issueJs$.pipe(B(fxa));this.priority$=this.issueJs$.pipe(B(gxa));
this.assignee$=this.issueJs$.pipe(B(hxa));this.issueJs$.pipe(B(ixa));this.teamId$=this.issueJs$.pipe(B(jxa));this.team$=this.teamId$.pipe(cg(this.teamFridge.watch),$f({refCount:!0,bufferSize:1}));this.ccUsers$=this.issueJs$.pipe(B(lxa));this.collaboratorsUsers$=this.issueJs$.pipe(B(nxa));this.issueJs$.pipe(B(function(q){var u,x;return null!=(x=null==(u=Gn(q))?void 0:u.severity)?x:void 0}));this.type$=this.issueJs$.pipe(B(oxa));this.issueJs$.pipe(B(pxa));this.issueJs$.pipe(B(qxa));this.issueJs$.pipe(B(rxa));
this.postmortems$=this.issueJs$.pipe(B(sxa));this.postmortems$.pipe(B(function(q){return 0<q.length}));this.issueJs$.pipe(B(txa));this.effort$=this.issueJs$.pipe(B(uxa));this.isDeleted$=this.issueJs$.pipe(B(yxa));this.accessLevel$=this.issueJs$.pipe(B(Axa));this.modifiedTime$=this.issueJs$.pipe(B(Bxa));this.retention$=this.issueJs$.pipe(B(Dxa));this.retention=function(){return Zo(l.retention$)};this.retentionState$=this.issueJs$.pipe(B(Gxa));this.retentionState=function(){return Zo(l.retentionState$)};
this.canonicalIssueId$=this.issueJs$.pipe(B(Exa));this.canonicalIssue$=this.canonicalIssueId$.pipe(cg(this.issueFridge.watch));this.sloStatus$=this.issueJs$.pipe(B(function(q){var u;return null==q?void 0:null==(u=q.issue.aggregatedData)?void 0:u.sloStatus}));this.sloId$=this.issueJs$.pipe(B(Hxa));this.createdTimeMicros$=this.issueJs$.pipe(B(Ixa));this.componentId$=this.issueJs$.pipe(B(kxa));this.component$=this.componentId$.pipe(cg(this.componentFridge.watch));this.teamSuggestions$=this.component$.pipe(B(function(q){var u;
return null!=(u=null==q?void 0:q.teamSuggestions)?u:[]}));this.effortSpec$=this.component$.pipe(B(Jxa));this.isEffortEnabled$=this.component$.pipe(B(Kxa));this.component$.pipe(B(Lxa));this.thinking$=this.issueFetchResponseFridge.thinking$};HJ.\u0275fac=function(a){return new (a||HJ)(n(EH),n(BH),n(TH),n(xF),n(sF),n(xJ),n(so))};HJ.\u0275prov=Vc({token:HJ,factory:HJ.\u0275fac,providedIn:"root"});var g1b={admin:!1,writer:!0,appender:!0,reader:!0},JJ=function(a,b,c,d,e,f){var h=this;this.issueDetailsBrain=a;this.permissionsFridge=b;this.activeSession=c;this.accessPolicyApi=d;this.errorHandler=e;this.userAccess=f;this.currentUserEmail=this.activeSession.getUserEmail();this.currentUserEmailPattern=new RegExp("^"+kp(this.currentUserEmail).replace("@","(\\+.*)?@")+"$");this.issueId$=this.issueDetailsBrain.id$;this.issuePermissions$=this.issueId$.pipe(cg(function(l){return l?h.permissionsFridge.watchOne("issues/"+
l):(0,C.of)(void 0)}),B(function(l){return null!=l?l:g1b}),bg(g1b),$f({bufferSize:1,refCount:!1}));this.hasAclToEdit$=this.issuePermissions$.pipe(B(function(l){return!!l.writer}));this.hasAclToEdit=function(){return!!Zo(h.hasAclToEdit$)};this.hasAclToComment$=this.issuePermissions$.pipe(B(function(l){return!!l.appender}));this.hasAclToComment=function(){return!!Zo(h.hasAclToComment$)};this.hasAclToAdmin$=this.issuePermissions$.pipe(B(function(l){return!!l.admin}));this.hasAclToAdmin=function(){return!!Zo(h.hasAclToAdmin$)};
this.isCurrentUserCCd$=this.issueDetailsBrain.ccUsers$.pipe(B(function(l){return l.some(function(q){return IJ(h,q.emailAddress)})}));this.isCurrentUserCCd=function(){return!!Zo(h.isCurrentUserCCd$)};this.isCurrentUserCollaborator$=this.issueDetailsBrain.collaboratorsUsers$.pipe(B(function(l){return l.some(function(q){return IJ(h,q.emailAddress)})}));this.isCurrentUserCollaborator=function(){return!!Zo(h.isCurrentUserCollaborator$)};this.isAllowedToEditCC$=this.hasAclToEdit$;(0,C.combineLatest)([this.hasAclToEdit$,
this.isCurrentUserCCd$]).pipe(B(function(l){var q=m(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(Qf(),cg(function(l){return l?h.accessPolicyApi.checkComponentImplicitAccessEnabled(Number(l)):(0,C.of)(!1)}),Lf(function(l){if(403===l.status)return(0,C.of)(!0);h.errorHandler.errorHandler(null,l);return(0,C.of)(!1)}),
$f({bufferSize:1,refCount:!1}));this.isImplicitAccessEnabled=function(){return!!Zo(h.isImplicitAccessEnabled$)};this.showImplicitAccessIndicator$=(0,C.combineLatest)([this.hasAclToEdit$,this.isImplicitAccessEnabled$]).pipe(B(function(l){var q=m(l);l=q.next().value;q=q.next().value;return l&&q}));this.showImplicitAccessIndicator=function(){return!!Zo(h.showImplicitAccessIndicator$)};this.canDeleteIssue$=this.hasAclToAdmin$;this.canUndeleteIssue$=(0,C.combineLatest)([this.issueDetailsBrain.isDeleted$,
this.canDeleteIssue$]).pipe(B(function(l){var q=m(l);l=q.next().value;q=q.next().value;return l&&q}));this.userIsComponentAdmin$=this.issueDetailsBrain.componentId$.pipe(Qf(),cg(function(l){return l?JF(h.userAccess,"admin","components/"+l):(0,C.of)(!1)}),Lf(function(l){h.errorHandler.errorHandler(null,l);return(0,C.of)(!1)}),$f({bufferSize:1,refCount:!1}));this.accessLevel$=this.issueDetailsBrain.accessLevel$;this.accessLevel=function(){return Zo(h.accessLevel$)};this.isWithinExternalComponent$=this.accessLevel$.pipe(B(function(l){return!(!l||
"INTERNAL"===l)}));this.audience$=this.isWithinExternalComponent$.pipe(B(function(l){return l?"EXTERNAL_AUDIENCE":"INTERNAL_AUDIENCE"}));this.audience=function(){return Zo(h.audience$)};this.canChangeCommentRetention$=this.hasAclToEdit$;this.canChangeCommentRetention=function(){return Zo(h.canChangeCommentRetention$)}},IJ=function(a,b){return 0===(null==b?void 0:b.search(a.currentUserEmailPattern))},h1b=function(a,b){return zn(b)&&"DELETED"===b.commentDeletionStatus?a.hasAclToAdmin()||Yj(b.lastCommentEditorUser)===
a.activeSession.getUserEmail()&&a.hasAclToComment()?!0:!1:!1},i1b=function(a,b){return zn(b)&&"ACTIVE"===b.commentDeletionStatus?ck(b.userPerformingActionUser)===a.activeSession.getUserEmail()?!0:a.hasAclToAdmin():!1};
JJ.prototype.canEditComment$=function(a){var b=this;return(0,C.combineLatest)([this.issueDetailsBrain.component$,this.hasAclToEdit$,this.hasAclToComment$]).pipe(B(function(c){var d=m(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&&ck(a.userPerformingActionUser)===b.activeSession.getUserEmail():!1}))};
JJ.\u0275fac=function(a){return new (a||JJ)(n(HJ),n(KH),n(Vt),n(hG),n(ZF),n(IF))};JJ.\u0275prov=Vc({token:JJ,factory:JJ.\u0275fac,providedIn:"root"});var j1b={type:"TAKE",displayText:"Assign to me",description:"Assign issue to yourself"},k1b={type:"DEFAULT_ASSIGNEE",displayText:"Assign to default",description:"Use the component's default assignee"},l1b={type:"START",displayText:"Start work",description:"Change issue status to '"+tn.ACCEPTED+"'"},m1b={type:"FIX",displayText:"Mark fixed",description:"Change issue status to '"+tn.FIXED+"'"},n1b={type:"VERIFY",displayText:"Verify",description:"Change issue status to '"+tn.VERIFIED+"'"},o1b={type:"REOPEN",
displayText:"Re-open",description:"Change issue status back to '"+tn.ASSIGNED+"'"};var q1b=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($f({bufferSize:1,refCount:!0}));this.issueSnapshot$=this.issue$.pipe(B(function(f){return null==f?void 0:f.snapshot[0]}));this.currentAssignee$=this.issueSnapshot$.pipe(B(function(f){return(null==f?void 0:f.assigneeUser)&&ck(f.assigneeUser)}),B(ik));
this.defaultAssigneeForComponent$=this.issueSnapshot$.pipe(B(function(f){return null==f?void 0:f.componentId}),Qf(),cg(function(f){return f?e.componentTemplatesFridge.defaultTemplate$(String(f)):(0,C.of)(void 0)}),B(function(f){return f&&ck(f.snapshot.assigneeUser)}),$f({bufferSize:1,refCount:!0}));this.defaultAssigneeForComponent=function(){return Zo(e.defaultAssigneeForComponent$)};this.issueAssigneeQuickAction$=(0,C.combineLatest)([this.currentAssignee$,this.defaultAssigneeForComponent$]).pipe(B(function(f){var h=
m(f);f=h.next().value;h=h.next().value;return e.defaultAssigneeQuickActionEnabled&&h&&f!==h?k1b:void 0}));this.issueStatusQuickAction$=this.issueSnapshot$.pipe(B(function(f){return f&&p1b(e,f)}))},p1b=function(a,b){var c=a.activeSession.getUserEmail();a=ck(b.assigneeUser)===c;c=ck(b.verifierUser)===c;b=b.status;if(c&&"FIXED"===b)return n1b;if(a)switch(b){case "ASSIGNED":return l1b;case "ACCEPTED":return m1b;default:return o1b}switch(b){case "NEW":return j1b;case "ASSIGNED":return j1b;case "ACCEPTED":return j1b;
default:return o1b}},KJ=function(a,b,c){this.activeSession=a;this.issueFridge=b;this.componentTemplatesFridge=c};KJ.prototype.create=function(a){return new q1b(a,this.activeSession,this.issueFridge,this.componentTemplatesFridge)};KJ.\u0275fac=function(a){return new (a||KJ)(n(Vt),n(BH),n(dG))};KJ.\u0275prov=Vc({token:KJ,factory:KJ.\u0275fac,providedIn:"root"});var Oxa=RegExp("^[^\\.\\s]{2}\\.{3}@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$"),Nxa=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])?$"),Rxa=["@twosync.google.com","@twosync-src.google.com","@twosync-loas.google.com"];var LJ=function(){this.transform=Sxa};LJ.\u0275fac=function(a){return new (a||LJ)};LJ.\u0275pipe=rd({name:"toNewEmailPreference",type:LJ,pure:!0});var MJ=function(){this.transform=Txa};MJ.\u0275fac=function(a){return new (a||MJ)};MJ.\u0275pipe=rd({name:"enumToHuman",type:MJ,pure:!0});var NJ=function(){this.transform=Uxa};NJ.\u0275fac=function(a){return new (a||NJ)};NJ.\u0275pipe=rd({name:"arrayToHuman",type:NJ,pure:!0});var OJ=function(){};OJ.prototype.transform=function(a,b){return im(Vxa(a,b)).toString()};
OJ.\u0275fac=function(a){return new (a||OJ)};OJ.\u0275pipe=rd({name:"boldPrefixMatches",type:OJ,pure:!0});var PJ=function(){this.transform=Wxa};PJ.\u0275fac=function(a){return new (a||PJ)};PJ.\u0275pipe=rd({name:"yesNo",type:PJ,pure:!0});var QJ=function(){this.transform=Xxa};QJ.\u0275fac=function(a){return new (a||QJ)};QJ.\u0275pipe=rd({name:"componentPath",type:QJ,pure:!0});var RJ=function(){this.transform=Yxa};RJ.\u0275fac=function(a){return new (a||RJ)};
RJ.\u0275pipe=rd({name:"teamPath",type:RJ,pure:!0});var SJ=function(){this.transform=Zxa};SJ.\u0275fac=function(a){return new (a||SJ)};SJ.\u0275pipe=rd({name:"humanFileSize",type:SJ,pure:!0});var TJ=function(){this.transform=np};TJ.\u0275fac=function(a){return new (a||TJ)};TJ.\u0275pipe=rd({name:"omitObfuscatedEmail",type:TJ,pure:!0});var UJ=function(){this.transform=op};UJ.\u0275fac=function(a){return new (a||UJ)};UJ.\u0275pipe=rd({name:"toString",type:UJ,pure:!0});
var VJ=function(){this.transform=$xa};VJ.\u0275fac=function(a){return new (a||VJ)};VJ.\u0275pipe=rd({name:"csv",type:VJ,pure:!0});var r1b=new Map([["(",")"],[")","("],["{","}"],["}","{"],["[","]"],["]","["],["<",">"],[">","<"]]),WJ=function(){};WJ.prototype.transform=function(a){return null==a?void 0:a.split("").reverse().map(function(b){var c;return null!=(c=r1b.get(b))?c:b}).join("")};WJ.\u0275fac=function(a){return new (a||WJ)};WJ.\u0275pipe=rd({name:"reverse",type:WJ,pure:!0});var XJ=function(){};
XJ.\u0275fac=function(a){return new (a||XJ)};XJ.\u0275mod=od({type:XJ});XJ.\u0275inj=Wc({});var YJ=function(a){a=void 0===a?[]:a;this.internalValue$=new C.BehaviorSubject(new Set);this.value$=pv(this.internalValue$).pipe(B(function(b){return new Set(b)}),Qf(Fj),$f({refCount:!0,bufferSize:1}));this.reset(a)};g=YJ.prototype;g.reset=function(a){this.value.clear();a=m(a);for(var b=a.next();!b.done;b=a.next())this.value.add(b.value);this.internalValue$.next(this.value)};
g.add=function(){for(var a=m(yd.apply(0,arguments)),b=a.next();!b.done;b=a.next())this.value.add(b.value);this.internalValue$.next(this.value);return this};g.clear=function(){this.value.clear();this.internalValue$.next(this.value)};g.delete=function(a){a=this.value.delete(a);this.internalValue$.next(this.value);return a};g.has=function(a){return this.value.has(a)};var Gp=function(a,b){return a.internalValue$.pipe(B(function(c){return c.has(b)}),Qf())};YJ.prototype[Symbol.iterator]=function(){return this.value.values()};
YJ.prototype.toString=function(){return"[ReactiveSet](["+[].concat(r(this.value.values())).join(", ")+"])"};YJ.prototype.indexOf=function(a){return[].concat(r(this.value.values())).indexOf(a)};
Xi.Object.defineProperties(YJ.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(B(function(a){return a.size}),Qf())}}});var s1b=function(){this.propertiesBeingSaved=new YJ};s1b.prototype.get=function(a){return this.propertiesBeingSaved.has(op(a))};var ZJ=function(a,b){a.propertiesBeingSaved.add(op(b))},$J=function(a,b){a.propertiesBeingSaved.delete(op(b))};s1b.prototype.properties=function(){return[].concat(r(this.propertiesBeingSaved))};var aK=function(){};aK.prototype.transform=function(a){return pp(a)};aK.\u0275fac=function(a){return new (a||aK)};aK.\u0275pipe=rd({name:"appendDomain",type:aK,pure:!0});var dya={"\u2705":"good","\u26a0\ufe0f":"warn","\u26a0":"warn","\u26d4":"bad","\u274c":"bad","\ud83d\uded1":"bad","\ud83d\udeab":"bad"};var bK=function(a,b,c,d,e,f,h,l,q,u,x,y,G,L,M,T,S,X,aa,na,ma,Ca,Fa,Ja,Ab,cb,Ma){var ha=this;this.issueFetchResponseFridge=a;this.activeSession=b;this.butterBar=c;this.issueInteractionsTracking=d;this.issueApi=e;this.componentFridge=f;this.permissionsFridge=h;this.eventsForIssueFridge=l;this.statusMessages=q;this.errorHandler=u;this.confirmationDialogService=x;this.principalTypes=y;this.issuePermissionService=G;this.accessPolicy=L;this.issueTypeDialog=M;this.logger=T;this.issueFridge=S;this.confirmNoAccessService=
X;this.issueService=aa;this.attachmentsMember=na;this.userPreferencesManager=ma;this.issueComments=Ca;this.draftStore=Fa;this.attachmentApi=Ja;this.issueFieldsFactory=Ab;this.issueQuickActionsFactory=cb;this.issueCommentDraftFactory=Ma;this.isSavingMap=new Map;this.savingState=gp(this.isSavingMap,function(){return new s1b});this.issueFieldsMap=new Map;this.issueFields=gp(this.issueFieldsMap,function(xa){return ha.issueFieldsFactory.create(xa)});this.issueQuickActionsMap=new Map;this.issueQuickActions=
gp(this.issueQuickActionsMap,function(xa){return ha.issueQuickActionsFactory.create(xa)});this.editableIssueMap=new Map;this.editableIssue$=gp(this.editableIssueMap,function(xa){return t1b(ha,xa)});this.editableIssue=function(xa){return ha.editableIssue$(xa).value};this.subscriptions=new Map;this.getSubscription=gp(this.subscriptions,function(){return new C.Subscription});this.issueCommentDraftMap=new Map;this.issueCommentDraft=gp(this.issueCommentDraftMap,function(xa){return ha.issueCommentDraftFactory.create(xa)});
this.FOR_ISSUE_COMMENT_DIALOGS_SERVICE_ONLY={saveCommentDraft:this.saveCommentDraft.bind(this)}};bK.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()};
bK.prototype.updateComponent=function(a,b,c){var d=this,e,f,h,l,q;return of(function(u){if(1==u.nextAddress)return e=d.editableIssue(a),e.componentId=b,(f=cK(d,e))&&f.actions&&f.actions.length?u.yield(d.getRetentionState(a),2):u.return();h=u.yieldResult;dK(d,f);l={issueId:a,componentId:b};q=c?d.issueApi.moveIssueExternal(a,l):d.issueApi.moveIssue(a,l);return u.return(eK(d,q,f,{originalRetentionState:h}))})};
var Mpb=function(a,b,c){var d;return of(function(e){if(!c)return XF(a.butterBar,"Reporter can't be empty."),e.return();a.editableIssue(b).setReporter(c);return e.return(null!=(d=a.updateIssue(b))?d:Promise.resolve())})},urb=function(a,b,c){var d,e,f,h;return of(function(l){if(1==l.nextAddress){d=Bra(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(e0b(a.issueTypeDialog,d),3)}if(2!=l.nextAddress&&
(f=l.yieldResult,!f))return l.return();e.setType(d);return l.return(null!=(h=a.updateIssue(b))?h:Promise.resolve())})},vrb=function(a,b,c){var d,e,f;return of(function(h){d=sn(c);if(!d)return a.logger.warn("unknown priority: "+c),h.return();e=a.editableIssue(b);e.setPriority(d);return h.return(null!=(f=a.updateIssue(b))?f:Promise.resolve())})},v1b=function(a,b,c){var d,e,f;return of(function(h){d=a.editableIssue(b);d.duplicateOfIssueId=c;d.status="DUPLICATE";e=cK(a,d);return e?(f=e.actions.find(function(l){return"duplicateOfIssueId"===
l.fieldName&&!Hm(l.value||"")}))&&f.value?h.return(u1b(a,b,{actionIssueId:f.value,implicitAppenders:d.cc,implicitEditors:[],isDeduping:!0,isRemovingSelfFromCc:!1,requestData:e})):h.return():h.return()})},w1b=function(a,b,c){var d,e;return of(function(f){d=a.editableIssue(b);d.setStatus(c);return f.return(null!=(e=a.updateIssue(b))?e:Promise.resolve())})},x1b=function(a,b,c){var d,e,f;return of(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:jj(c.type)}return h.return(null!=(f=a.updateIssue(b))?f:Promise.resolve())})},Tpb=function(a,b,c){var d,e;return of(function(f){d=
a.editableIssue(b);var h;d.effortEstimate=null!=(h=null==c?void 0:c.estimate)?h:null;return f.return(null!=(e=a.updateIssue(b))?e:Promise.resolve())})},frb=function(a,b,c){var d,e,f;return of(function(h){d=a.editableIssue(b);e=Rj(c,!1);d.setFoundInVersion(e);return h.return(null!=(f=a.updateIssue(b))?f:Promise.resolve())})},jrb=function(a,b,c){var d,e,f;return of(function(h){d=a.editableIssue(b);e=Rj(c,!1);d.setVerifiedInVersion(e);return h.return(null!=(f=a.updateIssue(b))?f:Promise.resolve())})},
hrb=function(a,b,c){var d,e,f;return of(function(h){d=a.editableIssue(b);e=Rj(c,!1);d.setTargetedToVersion(e);return h.return(null!=(f=a.updateIssue(b))?f:Promise.resolve())})},lrb=function(a,b,c){var d,e;return of(function(f){d=a.editableIssue(b);d.setInProd(c);return f.return(null!=(e=a.updateIssue(b))?e:Promise.resolve())})},arb=function(a,b,c){var d,e,f;return of(function(h){d=Cra(c);if(!d)return a.logger.warn("unknown severity: "+c),h.return();e=a.editableIssue(b);e.setSeverity(d);return h.return(null!=
(f=a.updateIssue(b))?f:Promise.resolve())})},Yqb=function(a,b,c,d){var e,f;return of(function(h){e=a.editableIssue(b);e.setSloSnoozeUntil(c);e.setSloSnoozeType(d);return h.return(null!=(f=a.updateIssue(b))?f:Promise.resolve())})},drb=function(a,b,c){var d,e,f;return of(function(h){d=a.editableIssue(b);d.changelist=null!=(e=c)?e:[];return h.return(null!=(f=a.updateIssue(b))?f:Promise.resolve())})},srb=function(a,b,c,d){var e,f;return of(function(h){e=a.editableIssue(b);e.setCustomField(c,d);return h.return(null!=
(f=a.updateIssue(b))?f:Promise.resolve())})},mqb=function(a,b,c){var d,e,f,h;return of(function(l){switch(l.nextAddress){case 1:return d=a.editableIssue(b),a.issuePermissionService.isImplicitAccessEnabled()?l.yield(y1b(a,b,"verifier",[c]),5):l.yield(uJ(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(f=l.yieldResult,!f)return l.return();case 3:return d.setVerifier(c),
l.return(null!=(h=a.updateIssue(b))?h:Promise.resolve())}})},fqb=function(a,b,c){var d,e,f,h;return of(function(l){switch(l.nextAddress){case 1:return d=a.editableIssue(b),a.issuePermissionService.isImplicitAccessEnabled()?l.yield(y1b(a,b,"assignee",[c]),5):l.yield(uJ(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(f=l.yieldResult,!f)return l.return();
case 3:return d.setAssignee(c),l.return(null!=(h=a.updateIssue(b))?h:Promise.resolve())}})},z1b=function(a,b,c){var d,e,f,h,l,q;return of(function(u){switch(u.nextAddress){case 1:d=a.editableIssue(b);if(a.issuePermissionService.isImplicitAccessEnabled())return u.yield(y1b(a,b,"CC",c),5);e=Nra(d.cc,c);f=e.added;return u.yield(uJ(a.confirmNoAccessService,{componentId:String(d.componentId),userEmails:f,relation:"reader",analyticsEventLabel:"cc"}),4);case 4:h=u.yieldResult;if(!h)return u.return();u.jumpTo(3);
break;case 5:if(l=u.yieldResult,!l)return u.return();case 3:return d.cc=c,u.return(null!=(q=a.updateIssue(b))?q:Promise.resolve())}})},A1b=function(a,b,c){var d,e,f,h,l,q;return of(function(u){switch(u.nextAddress){case 1:d=a.editableIssue(b);if(a.issuePermissionService.isImplicitAccessEnabled())return u.yield(y1b(a,b,"collaborators",c),5);e=Nra(d.collaborators,c);f=e.added;return u.yield(uJ(a.confirmNoAccessService,{componentId:String(d.componentId),userEmails:f,relation:"reader",analyticsEventLabel:"collaborators"}),
4);case 4:h=u.yieldResult;if(!h)return u.return();u.jumpTo(3);break;case 5:if(l=u.yieldResult,!l)return u.return();case 3:return d.setCollaborators(c),u.return(null!=(q=a.updateIssue(b))?q:Promise.resolve())}})};bK.prototype.unarchive=function(a){var b=this,c,d;return of(function(e){c=b.editableIssue(a);c.setIsArchived(!1);return e.return(null!=(d=b.updateIssue(a))?d:Promise.resolve())})};
bK.prototype.updateIssueRetention=function(a,b){var c=this,d,e,f;return of(function(h){switch(h.nextAddress){case 1:return d={issueId:a,retention:b},e=c.savingState(a),ZJ(e,"retention"),pf(h,2,3),h.yield(c.issueApi.updateIssueRetention(a,d),5);case 5:return h.yield(c.issueFridge.poke(a),6);case 6:WF(c.butterBar,"Issue retention updated to "+b+".",4E3);case 3:qf(h);$J(e,"retention");rf(h,0);break;case 2:f=sf(h),aG(c.errorHandler,f),h.jumpTo(3)}})};
var B1b=function(a,b){var c,d,e;return of(function(f){c=a.editableIssue(b);c.setIsDeleted(!0);c.setDeletionReason("ABUSE");d=cK(a,c);if(!d||!d.actions)return f.jumpTo(0);dK(a,d);e=a.issueService.delete(b,"ABUSE");return f.yield(eK(a,e,d),0)})},Jrb=function(a,b){var c,d,e;return of(function(f){c=a.editableIssue(b);c.setIsDeleted(!1);c.setDeletionReason(null);d=cK(a,c);if(!d||!d.actions)return f.jumpTo(0);dK(a,d);e=a.issueService.undelete(b);return f.yield(eK(a,e,d),0)})};
bK.prototype.updateSubscription=function(a,b){var c=this,d,e,f,h,l;return of(function(q){switch(q.nextAddress){case 1:return d=c.savingState(a),q.yield((0,C.firstValueFrom)(c.issueFridge.watch(a,{trustUncertainMemory:!0})),2);case 2:e=q.yieldResult;h=null==(f=e)?void 0:f.userData;if(null==h||d.get("subscribe"))return q.return();pf(q,3,4);ZJ(d,"subscribe");return q.yield(c.issueFridge.setNotificationSubscription(a,b),4);case 4:qf(q);$J(d,"subscribe");rf(q,0);break;case 3:l=sf(q),aG(c.errorHandler,
l),q.jumpTo(4)}})};
var C1b=function(a,b,c){var d,e;of(function(f){switch(f.nextAddress){case 1:d=a.savingState(b);if(!c.attachmentId||d.get("undeleteAttachment"))return f.return();pf(f,2,3);WF(a.butterBar,"Restoring attachment...");ZJ(d,"undeleteAttachment");return f.yield(a.attachmentsMember.undelete(b.toString(),c),5);case 5:WF(a.butterBar,"Attachment restored."),GH(a.issueFetchResponseFridge,b),a.eventsForIssueFridge.poke(b);case 3:qf(f);$J(d,"undeleteAttachment");rf(f,0);break;case 2:e=sf(f),aG(a.errorHandler,e),
f.jumpTo(3)}})},D1b=function(a,b,c,d){var e,f;return of(function(h){switch(h.nextAddress){case 1:e=a.savingState(b);if(!c.attachmentId||e.get("deleteAttachment"))return h.return();pf(h,2,3);WF(a.butterBar,"Deleting attachment...");ZJ(e,"deleteAttachment");return h.yield(a.attachmentsMember.delete(b,c,d),5);case 5:WF(a.butterBar,"Attachment deleted."),GH(a.issueFetchResponseFridge,b),a.eventsForIssueFridge.poke(b);case 3:qf(h);$J(e,"deleteAttachment");rf(h,0);break;case 2:f=sf(h),aG(a.errorHandler,
f),h.jumpTo(3)}})};
bK.prototype.saveCommentDraft=function(a,b){var c=this,d=this.issueCommentDraft(a),e=d.comment(),f=b1b(d);if(!f.commentText&&!f.attachmentsWithJudgements.length)return Promise.resolve();var h=c1b(d);dK(this,h);return eK(this,function(){return of(function(l){switch(l.nextAddress){case 1:return l.yield(E1b(c,a),2);case 2:if(!f.commentText){l.jumpTo(3);break}return l.yield(c.issueComments.create(String(a),f.commentText,f.formattingMode,f.judgementForNewContent,b),4);case 4:e.reset(),c.draftStore.$window.sessionStorage.removeItem(ep(a));
case 3:if(!f.attachmentsWithJudgements.length){l.jumpTo(5);break}var q=l.yield;var u=c.attachmentApi;var x=f.attachmentsWithJudgements,y=new ITb;y.setIssueId(String(a));void 0!==x&&(x=x.map(Spa),ac(y,3,x));u=u.executor.post({url:"action/issues/"+a+"/attachments",body:y,responseConstructor:kJ}).then(Tpa);return q.call(l,u,6);case 6:e.reset();case 5:return d.userDefinedJudgementForNewContent$.next(void 0),l.return(GH(c.issueFetchResponseFridge,a))}})}(),h)};
var E1b=function(a,b){var c,d;return of(function(e){if(!$I(a.userPreferencesManager).autoCcOnComment||!a.issuePermissionService.hasAclToEdit()||a.issuePermissionService.isCurrentUserCCd())return e.return();c=a.editableIssue(b);var f=[].concat(r(c.cc),[a.activeSession.getUserEmail()]);c.cc=f;d={issueId:b,actions:[{fieldName:"ccs",value:a.activeSession.getUserEmail(),actionType:"ADD"}]};return e.yield(a.issueApi.updateIssue(b,d),0)})},t1b=function(a,b){var c=FH(a.issueFetchResponseFridge,b).pipe(B(function(e){var f=
new U_b;if(e){var h=F1b(a,b,Gj(Ba(e.issue.snapshot)));f.currentUserEmail=a.activeSession.getUserEmail();f.setData(h,b,e.issue.customFields)}return f})),d=new C.BehaviorSubject(new U_b);a.getSubscription(b).add(c.subscribe(d));return d};
bK.prototype.updateIssue=function(a){var b=this.editableIssue(a),c=cK(this,b);if(!c)return null;for(var d=!1,e=[],f=[],h=a,l=m(c.actions),q=l.next();!q.done;q=l.next()){q=q.value;var u=q.value||"";if("REMOVE"!==q.actionType)switch(q.fieldName){case "ccs":e=u.split(",").filter(Boolean);break;case "verifier":case "assignee":case "collaborators":f=u.split(",").filter(Boolean);break;case "duplicateOfIssueId":Hm(u)||(e=b.cc,h=String(u),d=!0)}}return u1b(this,a,{actionIssueId:h,implicitAppenders:e,implicitEditors:f,
isDeduping:d,isRemovingSelfFromCc:1===c.actions.length&&"ccs"===c.actions[0].fieldName&&"REMOVE"===c.actions[0].actionType&&this.activeSession.getUserEmail()===c.actions[0].value,requestData:c})};
var u1b=function(a,b,c){var d=c.actionIssueId,e=c.implicitAppenders,f=c.implicitEditors,h=c.isDeduping,l=c.isRemovingSelfFromCc,q=c.requestData,u,x,y,G,L,M,T,S,X,aa,na,ma,Ca,Fa;return of(function(Ja){switch(Ja.nextAddress){case 1:return Ja.yield(Promise.all([G1b(a,e,"appender",d),G1b(a,f,"writer",d)]),2);case 2:u=Ja.yieldResult;x=m(u);y=x.next().value;G=x.next().value;L=y;M=G;T=L.noAccessEmails||[];S=M.noAccessEmails||[];X=[].concat(r(T),r(S));if(0===X.length)return Ja.return(H1b(a,q,h,l));pf(Ja,
3);return Ja.yield(Promise.all(X.map(function(Ab){return I1b(a,Ab)})),5);case 5:return aa=Ja.yieldResult,na=ksa({userPrincipals:aa,newEditors:S,newImplicitUsers:X,isExternalSession:a.activeSession.isExternalSession(),issueId:b,actionIssueId:d}),ma=na.title,Ca=na.content,Ja.yield(d0b(a.confirmationDialogService,{title:ma,content:jp(Ca),confirmButtonText:"Allow"}),6);case 6:if(Fa=Ja.yieldResult)return Ja.return(H1b(a,q,h,l));a.permissionsFridge.poke("issues/"+b);GH(a.issueFetchResponseFridge,b);au(Ja,
0);break;case 3:sf(Ja),XF(a.butterBar,"Could not determine email type."),tf(Ja)}})},H1b=function(a,b,c,d){dK(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 eK(a,e,b)},G1b=function(a,b,c,d,e,f){e=void 0===e?!1:e;f=void 0===f?null:f;if(e&&!f)throw Error("Qc");var h=e?"ISSUE_DEFAULTS":"ISSUE";d=e?f:d;e={noAccessEmails:[]};
return 0!==b.length&&a.issuePermissionService.isImplicitAccessEnabled()?a.accessPolicy.checkPermission(b.map(pp),c,h,d):Promise.resolve(e)},F1b=function(a,b,c){var d=a.isSavingMap.get(b);a=(a=a.editableIssueMap.get(b))&&Zo(a);if(!a||!d)return c;b=d.properties();d={};b=m(b);for(var e=b.next();!e.done;d={$jscomp$loop$prop$customFieldId$2258:d.$jscomp$loop$prop$customFieldId$2258},e=b.next())if(e=e.value,e.match(/^\d+$/)){d.$jscomp$loop$prop$customFieldId$2258=Lj(e);var f=(c.customField||[]).find(function(h){return function(l){return l.customFieldId===
h.$jscomp$loop$prop$customFieldId$2258}}(d));e=a.customFieldMap[e];f&&e&&(f.textValue=e.textValue,f.dateValue=e.dateValue,f.enumValue=e.enumValue,f.numericValue=e.numericValue)}else f=void 0,null==(f=Y_b.get(e))||f(c,a);return c},cK=function(a,b){var c=X_b(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(gya(e)))});return c.actions.length?c:null},dK=function(a,b){var c=String(b.issueId);WF(a.butterBar,"Saving...",0);var d=
b.actions.map(function(e){return e.fieldName}).join(",");GJ(a.issueInteractionsTracking,c,{label:d});a=a.savingState(c);b=m(b.actions);for(c=b.next();!c.done;c=b.next())ZJ(a,gya(c.value))},eK=function(a,b,c,d){var e,f;return of(function(h){switch(h.nextAddress){case 1:return pf(h,2),h.yield(b,4);case 4:return e=h.yieldResult,DH(a.issueFridge,[c.issueId],{eagerUpdate:!1}).then(function(){var l=String(c.issueId);GH(a.issueFetchResponseFridge,l);a.eventsForIssueFridge.poke(l)}),h.yield(J1b(a,c,e,d),
5);case 5:au(h,0);break;case 2:f=sf(h),K1b(a,c,f),tf(h)}})},J1b=function(a,b,c,d){var e=(void 0===d?{}:d).originalRetentionState,f,h,l,q;return of(function(u){f=a.savingState(String(b.issueId));h=m(b.actions);for(l=h.next();!l.done;l=h.next())q=l.value,$J(f,gya(q));return c?u.yield(L1b(a,b,e),0):u.jumpTo(0)})},K1b=function(a,b,c){var d=String(b.issueId),e=a.savingState(d);b=m(b.actions);for(var f=b.next();!f.done;f=b.next())$J(e,gya(f.value));a.permissionsFridge.poke("issues/"+d);GH(a.issueFetchResponseFridge,
d);Vn(c)&&403===c.status&&Wn(c)?$F(a.errorHandler,Wn(c)):aG(a.errorHandler,c)},L1b=function(a,b,c){var d,e,f,h,l,q,u,x,y,G,L;return of(function(M){switch(M.nextAddress){case 1:return M.yield(a.getEffortSpec(String(b.issueId)),2);case 2:d=M.yieldResult;e=a.editableIssue(String(b.issueId));l=K0b(a.statusMessages,b,e.customFieldMap,null!=(h=null==(f=d)?void 0:f.name)?h:"");if(!c){M.jumpTo(3);break}return M.yield(Promise.all([a.getRetentionState(String(b.issueId)),a.getRetention(String(b.issueId))]),
4);case 4:q=M.yieldResult;u=m(q);x=u.next().value;y=u.next().value;G=x;L=y;var T=l;if("INDEFINITE"!==L&&c&&G){var S=Kwa(c);var X=Kwa(G);S=S===X?"":" Issue retention period changed from "+S+" to "+X+"."}else S="";l=T+S;case 3:WF(a.butterBar,l),tf(M)}})},y1b=function(a,b,c,d){return of(function(e){if(1==e.nextAddress){var f=a.editableIssue(b);var h=a.activeSession.getUserEmail();f=new Map([["CC",f.cc],["collaborators",f.collaborators],["assignee",f.assignee?[f.assignee]:[]],["verifier",f.verifier?[f.verifier]:
[]]]);(new Set([].concat(r(f.values())).flat())).has(h)?(f.set(c,d),h=!(new Set([].concat(r(f.values())).flat())).has(h)):h=!1;e=h?e.yield(M1b(a,b,a.editableIssue(b).componentId,c),2):e.return(!0)}else e=e.return(e.yieldResult);return e})},M1b=function(a,b,c,d){var e;return of(function(f){if(1==f.nextAddress)return f.yield(G1b(a,[a.activeSession.getUserEmail()],"reader",b,!0,c),2);e=f.yieldResult;return e.noAccessEmails&&0!==e.noAccessEmails.length?f.return(d0b(a.confirmationDialogService,{title:"Removing yourself from "+
d+" may revoke your access to the issue",content:jp("This issue is in a component with Expanded Access enabled, and you do not have access to view this issue by default. Removing yourself from "+d+" may also remove your ability to view the issue. Are you sure you would like to do this?")})):f.return(!0)})};bK.prototype.getRetentionState=function(a){return(0,C.firstValueFrom)(FH(this.issueFetchResponseFridge,a).pipe(B(Gxa)))};
bK.prototype.getRetention=function(a){return(0,C.firstValueFrom)(FH(this.issueFetchResponseFridge,a).pipe(B(Dxa)))};bK.prototype.getEffortSpec=function(a){return(0,C.firstValueFrom)(FH(this.issueFetchResponseFridge,a).pipe(B(kxa),cg(this.componentFridge.watch),B(Jxa)))};var I1b=function(a,b){return of(function(c){return a.activeSession.isExternalSession()?c.return({principalType:"NON_GAIA",detailedUserType:"NO_DETAILED_TYPE"}):c.return(qJ(a.principalTypes,b,!0))})};
bK.prototype.ngOnDestroy=function(){this.isSavingMap.clear();this.issueFieldsMap.clear();this.issueQuickActionsMap.clear();this.editableIssueMap.clear();for(var a=m(this.subscriptions.values()),b=a.next();!b.done;b=a.next())b.value.unsubscribe();this.subscriptions.clear()};bK.\u0275fac=function(a){return new (a||bK)(n(EH),n(Vt),n(VF),n(FJ),n(PE),n(xF),n(KH),n(sF),n(jJ),n(ZF),n(UI),n(pJ),n(JJ),n(hG),n(VI),n(YF),n(BH),n(tJ),n(yH),n(nJ),n(ZI),n($H),n(RI),n(M0b),n(EJ),n(KJ),n(AJ))};
bK.\u0275prov=Vc({token:bK,factory:bK.\u0275fac,providedIn:"root"});var fK=function(a,b,c){Z.call(this);this.issueDetailsBrain=a;this.issuePermissionService=b;this.editIssueService=c;this.assigneeInProgress$=new C.ReplaySubject(1);this.ccInProgress$=new C.ReplaySubject(1);this.id$=this.issueDetailsBrain.id$;this.assigneeUpdate$=this.issueDetailsBrain.issueJs$.pipe(B(function(d){var e;return Yj(null==(e=Ura(d))?void 0:e.assigneeUser)||""}));this.ccUpdate$=this.issueDetailsBrain.issueJs$.pipe(B(function(d){var e;return Zj(null==(e=Ura(d))?void 0:e.ccUsers)||[]}));this.assignee$=
this.assigneeUpdate$.pipe($f({refCount:!0,bufferSize:1}));this.cc$=this.ccUpdate$.pipe($f({refCount:!0,bufferSize:1}));this.assigneeUpdating$=this.assigneeInProgress$;this.ccUpdating$=this.ccInProgress$;this.editAccess$=this.issuePermissionService.hasAclToEdit$};W(fK,Z);fK.\u0275dir=Z.\u0275dir;
var N1b=function(a,b){var c,d,e;return of(function(f){switch(f.nextAddress){case 1:c=Zo(a.id$);if(!c)return f.return();a.assigneeInProgress$.next(!0);d="remove_user"===b.action?"":b.email;pf(f,2,3);return f.yield(fqb(a.editIssueService,c,d),5);case 5:return f.yield((0,C.firstValueFrom)(a.assigneeUpdate$.pipe(Gf(function(h){h=b.email===h;return"set_user"===b.action?h:!h}),If(6E4))),3);case 3:qf(f);a.assigneeInProgress$.next(!1);rf(f,0);break;case 2:throw e=sf(f),e;}})},O1b=function(a,b){var c,d,e,
f,h;return of(function(l){switch(l.nextAddress){case 1:c=Zo(a.id$);if(!c)return l.return();d=a.editIssueService.editableIssue(c);e=d.cc.includes(b.email);f=void 0;"set_user"!==b.action||e?"remove_user"===b.action&&e&&(f=z1b(a.editIssueService,c,d.cc.filter(function(q){return q!==b.email}))):f=z1b(a.editIssueService,c,[].concat(r(d.cc),[b.email]));if(!f)return l.return();pf(l,2,3);a.ccInProgress$.next(!0);return l.yield(f,5);case 5:return l.yield((0,C.firstValueFrom)(a.ccUpdate$.pipe(Gf(function(q){q=
q.includes(b.email);return"set_user"===b.action?q:!q}),If(6E4))),3);case 3:qf(l);a.ccInProgress$.next(!1);rf(l,0);break;case 2:throw h=sf(l),h;}})};fK.\u0275fac=function(a){return new (a||fK)(n(HJ),n(JJ),n(bK))};fK.\u0275prov=Vc({token:fK,factory:fK.\u0275fac});var hya;var gK=function(a){var b=this;this.elementRef=a;this.eventType="click";this.clickOutside=new Rv;this.clickHandler=function(c){if(c instanceof MouseEvent){var d=c.target;d&&(b.elementRef.nativeElement.contains(d)||b.clickOutside.emit(c))}}};gK.prototype.ngOnInit=function(){this.getRoot().addEventListener(this.eventType,this.clickHandler,!0)};gK.prototype.ngOnDestroy=function(){this.getRoot().removeEventListener(this.eventType,this.clickHandler,!0)};
gK.prototype.getRoot=function(){var a;return null!=(a=iya(this.elementRef.nativeElement))?a:document};gK.\u0275fac=function(a){return new (a||gK)(A(ke))};gK.\u0275dir=qd({type:gK,selectors:[["","clickOutside",""]],inputs:{eventType:["clickOutsideEvent","eventType"]},outputs:{clickOutside:"clickOutside"}});var hK=function(){};hK.\u0275fac=function(a){return new (a||hK)};hK.\u0275mod=od({type:hK});hK.\u0275inj=Wc({});var P1b,Q1b=Symbol("Rc"),R1b=Symbol("Sc"),iK=function(a){this.viewContainerRef=a;this.className="onedev-hovercard";this.onHide=new Rv;this[P1b]=new C.ReplaySubject(1);this.wasTriggeredByKeyboard=!1;this.isOnHover$=new C.BehaviorSubject(!1);this.closeHovercard$=new C.Subject};iK.prototype.ngOnInit=function(){};var S1b=function(a){var b=a[R1b];return b?(b.loaded||(b.viewContainerRef.createEmbeddedView(b.templateRef),b.cdr.detectChanges(),b.loaded=!0),a[Q1b].pipe(Pf(0))):(0,C.of)(void 0)};P1b=Q1b;
iK.\u0275fac=function(a){return new (a||iK)(A(fh))};
iK.\u0275cmp=p({type:iK,selectors:[["onedev-hovercard"]],viewQuery:function(a,b){a&1&&ih(eh,7);if(a&2){var c;hh(c=kh())&&(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&&(Ng(),P(0,jya,2,3,"ng-template"))},dependencies:[Ex,gK],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 jK=function(a,b,c,d){this.templateRef=a;this.viewContainerRef=b;this.cdr=c;this.loaded=!1;d[R1b]=this};jK.\u0275fac=function(a){return new (a||jK)(A(eh),A(fh),A(qw),A(iK))};jK.\u0275dir=qd({type:jK,selectors:[["","onedevHovercardLazyBody",""]]});var kK=function(a){this.hovercard=a;this.destroyed$=new C.ReplaySubject(1)};kK.prototype.ngOnDestroy=function(){this.destroyed$.next()};kK.prototype.ngOnInit=function(){this.isHovercardReady$.pipe(dg(this.destroyed$)).subscribe(this.hovercard[Q1b])};
kK.\u0275fac=function(a){return new (a||kK)(A(iK))};kK.\u0275dir=qd({type:kK,selectors:[["","onedevIsHovercardReady",""]],inputs:{isHovercardReady$:["onedevIsHovercardReady","isHovercardReady$"]}});var T1b={originX:"start",originY:"center",overlayX:"end",overlayY:"center",offsetX:-10},U1b={originX:"center",originY:"top",overlayX:"center",overlayY:"bottom",offsetY:-10},V1b=[{originX:"end",originY:"center",overlayX:"start",overlayY:"center",offsetX:10},{originX:"center",originY:"bottom",overlayX:"center",overlayY:"top",offsetY:10},U1b,{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 lK=function(){this.delay=600;this.position=V1b;this.triggerKey=[]},mK=function(a,b){var c=this;this.overlay=a;this.origin=b;this.waitFor$=void 0;this.enabled=!0;this.config=new lK;this.active=!1;this.hovercardShown$=new C.ReplaySubject(1);this.hide$=new C.Subject;this.hovercard$=new C.BehaviorSubject(null);this.isHovered$=new C.BehaviorSubject(!1);this.isKeyboardActivated$=new C.BehaviorSubject(!1);this.destroyed$=new C.ReplaySubject(1);this.onDocumentKeyDown=function(d){"Escape"===d.key&&(W1b(c),
d.stopPropagation(),d.preventDefault())};X1b(this);this.handleClose()},X1b=function(a){Y1b(a).pipe(dg(a.destroyed$)).subscribe(function(b){(a.active=b)?a.show():a.hide()})};mK.prototype.handleClose=function(){var a=this;this.hovercard$.pipe(cg(function(b){return(null==b?void 0:b.closeHovercard$)||C.NEVER}),dg(this.destroyed$)).subscribe(function(){W1b(a)})};mK.prototype.dispose=function(){Z1b(this);var a;null==(a=this.overlayRef)||a.dispose();this.destroyed$.next();this.destroyed$.complete()};
mK.prototype.isExpanded=function(){return this.hovercard$.getValue()?this.active:void 0};mK.prototype.toggle=function(a){this.isHovered$.next(a)};var W1b=function(a){a.isKeyboardActivated$.next(!1);a.isHovered$.next(!1);var b;null==(b=a.hovercard$.getValue())||b.isOnHover$.next(!1)};
mK.prototype.show=function(){var a=this;this.enabled&&this.overlayRef&&!this.overlayRef.hasAttached()&&this.hovercard$.getValue()&&(this.hovercard$.getValue().wasTriggeredByKeyboard=this.isKeyboardActivated$.value,S1b(this.hovercard$.getValue()).pipe(Rf(),dg(this.destroyed$)).subscribe(function(){a.overlayRef&&a.templatePortal&&a.overlayRef.attach(a.templatePortal);document.addEventListener("keydown",a.onDocumentKeyDown);a.hovercardShown$.next()}))};mK.prototype.hide=function(){Z1b(this);this.hide$.next()};
var Z1b=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()}};mK.prototype.getPositionStrategy=function(){return Dz(Ez(Fz(Hz(this.overlay.position(),this.origin)),8),this.config.position)};
var Y1b=function(a){return(0,C.combineLatest)([$1b(a).pipe(bg(!1)),a.isKeyboardActivated$]).pipe(ag(1),B(function(b){var c=m(b);b=c.next().value;c=c.next().value;return b||c}),cg(function(b){var c;return(null==(c=a.waitFor$)?void 0:c.pipe(Vf(b)))||(0,C.of)(b)}))},$1b=function(a){return a.hovercard$.pipe(cg(function(b){return(0,C.combineLatest)([a.isHovered$,(null==b?void 0:b.isOnHover$)||(0,C.of)(!1)]).pipe(B(function(c){var d=m(c);c=d.next().value;d=d.next().value;return c||d}),Nf(a.config.delay),
dg(a.destroyed$))}))};var a2b=new Bd("onedevHovercardLoggingOn"),nK=function(a,b,c,d,e){var f=this;this.viewContainerRef=c;this.injector=e;this.config=new lK;this.destroyed$=new C.ReplaySubject(1);this.triggerControl=new mK(a,b);this.triggerControl.hovercardShown$.pipe(fg(d||(0,C.of)(!1)),dg(this.destroyed$)).subscribe(function(h){h=m(h);h.next();h.next().value&&(f.clientStreamzService||(f.clientStreamzService=f.injector.get(pC)),f.clientStreamzService.logUsageMetric("hovercardShown",!0))})};g=nK.prototype;
g.ngOnChanges=function(a){if(a.hovercard){var b;a=null==(b=a.hovercard)?void 0:b.currentValue;this.triggerControl.hovercard$.next(a);if(a){b=this.triggerControl;var c=this.viewContainerRef;b.config=this.config;b.overlayRef=b.overlay.create({positionStrategy:b.getPositionStrategy(),scrollStrategy:b.overlay.scrollStrategies.reposition()});b.templatePortal=new Mx(a.templateRef,c);b.hovercard$.next(a)}}};g.ngOnDestroy=function(){this.triggerControl.dispose();this.destroyed$.next();this.destroyed$.complete()};
g.isExpanded=function(){return this.triggerControl.isExpanded()};g.onKeyDown=function(a){if(this.config.triggerKey.includes(a.key)){var b=this.triggerControl;a.stopPropagation();a.preventDefault();b.isKeyboardActivated$.next(!0)}};g.toggle=function(a){this.triggerControl.toggle(a)};g.hide=function(){this.triggerControl.hide()};Xi.Object.defineProperties(nK.prototype,{enabled:{configurable:!0,enumerable:!0,set:function(a){this.triggerControl.enabled=a}}});
nK.\u0275fac=function(a){return new (a||nK)(A(Iz),A(ke),A(fh),A(a2b,8),A(Zu))};
nK.\u0275dir=qd({type:nK,selectors:[["","onedevHovercardTrigger",""]],hostVars:2,hostBindings:function(a,b){a&1&&K("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&&ug("aria-haspopup",b.hovercard?"true":void 0)("aria-expanded",b.isExpanded())},inputs:{hovercard:["onedevHovercardTrigger",
"hovercard"],enabled:["onedevHovercardActive","enabled"],config:["onedevHovercardConfig","config"]},features:[Hd]});var b2b=function(a){return["chip","gmat-caption",a]},oK=function(){this.variant="grey";this.isTall=!1};oK.\u0275fac=function(a){return new (a||oK)};
oK.\u0275cmp=p({type:oK,selectors:[["onedev-chip"]],hostVars:2,hostBindings:function(a,b){a&2&&Fg("tall",b.isTall)},inputs:{variant:"variant",isTall:"isTall"},ngContentSelectors:["*"],decls:3,vars:3,consts:[[3,"ngClass"],[1,"centering"]],template:function(a,b){a&1&&(Ng(),E(0,"div",0)(1,"div",1),Og(2),F()());a&2&&D("ngClass",Xg(1,b2b,b.variant))},dependencies:[ww],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 pK=function(a){this.chip=a};pK.\u0275fac=function(a){return new (a||pK)(A(oK))};pK.\u0275dir=qd({type:pK,selectors:[["","onedevChipIcon",""]],hostVars:10,hostBindings:function(a,b){a&2&&Eg("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 qK=function(){};qK.\u0275fac=function(a){return new (a||qK)};qK.\u0275cmp=p({type:qK,selectors:[["","onedevDot",""]],hostVars:1,hostBindings:function(a){a&2&&ug("aria-hidden",!0)},attrs:["onedevDot",""],decls:1,vars:0,template:function(a){a&1&&Q(0,"\u00a0\u00b7\u00a0")},encapsulation:2});var c2b=[[["","onedev-additional-content",""]],[["onedev-hovercard-action"]]],d2b=function(a){return{"with-avatar":a}},rK=function(){};rK.prototype.ngOnInit=function(){};rK.\u0275fac=function(a){return new (a||rK)};
rK.\u0275cmp=p({type:rK,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&&(Ng(c2b),E(0,"div",0)(1,"div",1)(2,"div",2),P(3,kya,1,2,"img",3),E(4,"div",4),Q(5),F(),P(6,lya,2,1,"div",5),F(),P(7,mya,4,1,"div",6),E(8,"div",7),P(9,qya,7,3,"ng-container",8),P(10,rya,4,1,"ng-container",8),P(11,uya,21,6,"ng-container",8),Og(12),F()(),Og(13,1),F());a&2&&(z(2),D("ngClass",Xg(8,d2b,b.person.imageUrl)),z(1),D("ngIf",b.person.imageUrl),z(2),R(" ",b.person.name||b.person.email," "),z(1),D("ngIf",b.person.name),z(1),D("ngIf",b.outOfOfficeDescription),z(2),D("ngIf",b.person.title||
b.person.department),z(1),D("ngIf",b.person.location),z(1),D("ngIf",b.person.ldap))},dependencies:[oK,pK,ww,yw,qK,jB],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 e2b=new Bd("API_VERSION"),f2b=new Bd("REQUEST_SERVICE"),sK=function(){};sK.\u0275fac=function(a){return new (a||sK)};sK.\u0275mod=od({type:sK});sK.\u0275inj=Wc({});
var g2b={$Xgafv:"$.xgafv",access_token:"access_token",affinityType:"affinityType",alt:"alt",authDelegationContextContactsEncryptedOwnerId:"authDelegationContext.contacts.encryptedOwnerId",authDelegationContextDelegationType:"authDelegationContext.delegationType",authDelegationContextObfuscatedOwnerId:"authDelegationContext.obfuscatedOwnerId",authDelegationContextUnicornObfuscatedOwnerId:"authDelegationContext.unicorn.obfuscatedOwnerId",blockDirection:"blockDirection",callback:"callback",client:"client",
clientId:"client.id",clientVersionClientAgent:"clientVersion.clientAgent",clientVersionClientType:"clientVersion.clientType",clientVersionClientVersion:"clientVersion.clientVersion",clientVersionGmsCoreContextAppManagementContext:"clientVersion.gmsCoreContext.appManagementContext",clientVersionGmsCoreContextIsFirstParty:"clientVersion.gmsCoreContext.isFirstParty",clientVersionGmsCoreContextPackageName:"clientVersion.gmsCoreContext.packageName",clientVersionGmsCoreContextPackageSignature:"clientVersion.gmsCoreContext.packageSignature",
consentOptionsStrategy:"consentOptions.strategy",consistencyOptionsLevel:"consistencyOptions.level",consistencyOptionsLevelOptionsBoundedConsistencyMaxAllowedStaleness:"consistencyOptions.levelOptions.boundedConsistency.maxAllowedStaleness",consistencyOptionsLevelOptionsExactTimestamp:"consistencyOptions.levelOptions.exactTimestamp",consistencyOptionsLevelOptionsStaleConsistencyConsistencyRequirement:"consistencyOptions.levelOptions.staleConsistency.consistencyRequirement",contactId:"contactId",contactListType:"contactListType",
contactLookupOptionsEmailLookupType:"contactLookupOptions.emailLookupType",container:"container",containerId:"containerId",containerIds:"containerIds",contextAllowedRequesterState:"context.allowedRequesterState",contextAuthDelegationContextContactsEncryptedOwnerId:"context.authDelegationContext.contacts.encryptedOwnerId",contextAuthDelegationContextDelegationType:"context.authDelegationContext.delegationType",contextAuthDelegationContextObfuscatedOwnerId:"context.authDelegationContext.obfuscatedOwnerId",
contextAuthDelegationContextUnicornObfuscatedOwnerId:"context.authDelegationContext.unicorn.obfuscatedOwnerId",contextClientType:"context.clientType",contextClientVersionClientAgent:"context.clientVersion.clientAgent",contextClientVersionClientType:"context.clientVersion.clientType",contextClientVersionClientVersion:"context.clientVersion.clientVersion",contextClientVersionGmsCoreContextAppManagementContext:"context.clientVersion.gmsCoreContext.appManagementContext",contextClientVersionGmsCoreContextIsFirstParty:"context.clientVersion.gmsCoreContext.isFirstParty",
contextClientVersionGmsCoreContextPackageName:"context.clientVersion.gmsCoreContext.packageName",contextClientVersionGmsCoreContextPackageSignature:"context.clientVersion.gmsCoreContext.packageSignature",contextConsistencyContextBase64EncodedZookie:"context.consistencyContext.base64EncodedZookie",contextConsistencyContextDirectoryVersionToken:"context.consistencyContext.directoryVersionToken",contextConsistencyContextFbsRequireAllImportantWritesUpToTime:"context.consistencyContext.fbsRequireAllImportantWritesUpToTime",
contextConsistencyContextFbsVersionInfo:"context.consistencyContext.fbsVersionInfo",contextConsistencyOptionsLevel:"context.consistencyOptions.level",contextConsistencyOptionsLevelOptionsBoundedConsistencyMaxAllowedStaleness:"context.consistencyOptions.levelOptions.boundedConsistency.maxAllowedStaleness",contextConsistencyOptionsLevelOptionsExactTimestamp:"context.consistencyOptions.levelOptions.exactTimestamp",contextConsistencyOptionsLevelOptionsStaleConsistencyConsistencyRequirement:"context.consistencyOptions.levelOptions.staleConsistency.consistencyRequirement",
contextMigrationOptionsUseClusterBased:"context.migrationOptions.useClusterBased",contextMigrationOptionsUseLegacyRequestMaskBehavior:"context.migrationOptions.useLegacyRequestMaskBehavior",contextMigrationOptionsUseNewRequestMaskBehavior:"context.migrationOptions.useNewRequestMaskBehavior",contextRequestGroupLoggingId:"context.requestGroupLoggingId",contextRightOfPublicityContext:"context.rightOfPublicityContext",coreIdParamsCheckIdentityAcl:"coreIdParams.checkIdentityAcl",coreIdParamsEnablePrivateAccountEmails:"coreIdParams.enablePrivateAccountEmails",
coreIdParamsEnablePrivateNames:"coreIdParams.enablePrivateNames",coreIdParamsIdentityAclOptionsContextConfigName:"coreIdParams.identityAclOptions.context.configName",coreIdParamsIdentityAclOptionsContextObjectId:"coreIdParams.identityAclOptions.context.objectId",coreIdParamsIdentityAclOptionsContextObjectPart:"coreIdParams.identityAclOptions.context.objectPart",coreIdParamsIdentityAclOptionsMode:"coreIdParams.identityAclOptions.mode",coreIdParamsIgnoreAclConditionIgnoreAclConditionType:"coreIdParams.ignoreAclCondition.ignoreAclConditionType",
coreIdParamsUseRealtimeNotificationExpandedAcls:"coreIdParams.useRealtimeNotificationExpandedAcls",coreNameCoreProfileFirstName:"coreName.coreProfileFirstName",coreNameCoreProfileLastName:"coreName.coreProfileLastName",customLookupType:"customLookupType",dataFormatsAffinityFormatsScoreFormat:"dataFormats.affinityFormats.scoreFormat",dataFormatsProfilePhotoOptionsPrivateUrlFormat:"dataFormats.profilePhotoOptions.privateUrlFormat",dataJoinParamsProfileJoinType:"dataJoinParams.profileJoinType",dedupeOption:"dedupeOption",
delayFullSync:"delayFullSync",delegatedGroupIdDelegatedGroupId:"delegatedGroupId.delegatedGroupId",deleteContacts:"deleteContacts",deleteTrashedContacts:"deleteTrashedContacts",deletionContextMutationContextAndroidDeviceInfoId:"deletionContext.mutationContext.androidDeviceInfo.id",deletionContextMutationContextHostAppInfoHostAppName:"deletionContext.mutationContext.hostAppInfo.hostAppName",deletionContextMutationContextSource:"deletionContext.mutationContext.source",deletionContextMutationContextThirdPartyInfoClientName:"deletionContext.mutationContext.thirdPartyInfo.clientName",
deletionContextMutationContextThirdPartyInfoProjectNumber:"deletionContext.mutationContext.thirdPartyInfo.projectNumber",deletionContextMutationContextTimestamp:"deletionContext.mutationContext.timestamp",deviceId:"deviceId",deviceIdentifierClientInstanceId:"deviceIdentifier.clientInstanceId",deviceIdentityDeviceId:"deviceIdentity.deviceId",extensionSetExtendedRequestDataPeopleBackendExtensionApplication:"extensionSet.extendedRequestData.peopleBackendExtension.application",extensionSetExtensionNames:"extensionSet.extensionNames",
fieldFilterField:"fieldFilter.field",fieldMask:"fieldMask",fieldValueFilterAdminAssistants:"fieldValueFilter.adminAssistants",fieldValueFilterDottedLineManagers:"fieldValueFilter.dottedLineManagers",fieldValueFilterExecAssistants:"fieldValueFilter.execAssistants",fieldValueFilterIndirectManagers:"fieldValueFilter.indirectManagers",fieldValueFilterIndirectManagersWithMaxNumHops:"fieldValueFilter.indirectManagersWithMaxNumHops",fieldValueFilterManagers:"fieldValueFilter.managers",fieldValueFilterProfileExternalIdCustomTag:"fieldValueFilter.profileExternalId.customTag",
fieldValueFilterProfileExternalIdStandardTag:"fieldValueFilter.profileExternalId.standardTag",fieldValueFilterProfileExternalIdValue:"fieldValueFilter.profileExternalId.value",fields:"fields",getPeopleRequestContextAllowedRequesterState:"getPeopleRequest.context.allowedRequesterState",getPeopleRequestContextAuthDelegationContextContactsEncryptedOwnerId:"getPeopleRequest.context.authDelegationContext.contacts.encryptedOwnerId",getPeopleRequestContextAuthDelegationContextDelegationType:"getPeopleRequest.context.authDelegationContext.delegationType",
getPeopleRequestContextAuthDelegationContextObfuscatedOwnerId:"getPeopleRequest.context.authDelegationContext.obfuscatedOwnerId",getPeopleRequestContextAuthDelegationContextUnicornObfuscatedOwnerId:"getPeopleRequest.context.authDelegationContext.unicorn.obfuscatedOwnerId",getPeopleRequestContextClientType:"getPeopleRequest.context.clientType",getPeopleRequestContextClientVersionClientAgent:"getPeopleRequest.context.clientVersion.clientAgent",getPeopleRequestContextClientVersionClientType:"getPeopleRequest.context.clientVersion.clientType",
getPeopleRequestContextClientVersionClientVersion:"getPeopleRequest.context.clientVersion.clientVersion",getPeopleRequestContextClientVersionGmsCoreContextAppManagementContext:"getPeopleRequest.context.clientVersion.gmsCoreContext.appManagementContext",getPeopleRequestContextClientVersionGmsCoreContextIsFirstParty:"getPeopleRequest.context.clientVersion.gmsCoreContext.isFirstParty",getPeopleRequestContextClientVersionGmsCoreContextPackageName:"getPeopleRequest.context.clientVersion.gmsCoreContext.packageName",
getPeopleRequestContextClientVersionGmsCoreContextPackageSignature:"getPeopleRequest.context.clientVersion.gmsCoreContext.packageSignature",getPeopleRequestContextConsistencyContextDirectoryVersionToken:"getPeopleRequest.context.consistencyContext.directoryVersionToken",getPeopleRequestContextConsistencyOptionsLevel:"getPeopleRequest.context.consistencyOptions.level",getPeopleRequestContextConsistencyOptionsLevelOptionsBoundedConsistencyMaxAllowedStaleness:"getPeopleRequest.context.consistencyOptions.levelOptions.boundedConsistency.maxAllowedStaleness",
getPeopleRequestContextConsistencyOptionsLevelOptionsExactTimestamp:"getPeopleRequest.context.consistencyOptions.levelOptions.exactTimestamp",getPeopleRequestContextConsistencyOptionsLevelOptionsStaleConsistencyConsistencyRequirement:"getPeopleRequest.context.consistencyOptions.levelOptions.staleConsistency.consistencyRequirement",getPeopleRequestContextMigrationOptionsUseClusterBased:"getPeopleRequest.context.migrationOptions.useClusterBased",getPeopleRequestContextMigrationOptionsUseLegacyRequestMaskBehavior:"getPeopleRequest.context.migrationOptions.useLegacyRequestMaskBehavior",
getPeopleRequestContextMigrationOptionsUseNewRequestMaskBehavior:"getPeopleRequest.context.migrationOptions.useNewRequestMaskBehavior",getPeopleRequestContextRequestGroupLoggingId:"getPeopleRequest.context.requestGroupLoggingId",getPeopleRequestContextRightOfPublicityContext:"getPeopleRequest.context.rightOfPublicityContext",getPeopleRequestCoreIdParamsCheckIdentityAcl:"getPeopleRequest.coreIdParams.checkIdentityAcl",getPeopleRequestCoreIdParamsEnablePrivateAccountEmails:"getPeopleRequest.coreIdParams.enablePrivateAccountEmails",
getPeopleRequestCoreIdParamsEnablePrivateNames:"getPeopleRequest.coreIdParams.enablePrivateNames",getPeopleRequestCoreIdParamsIdentityAclOptionsContextConfigName:"getPeopleRequest.coreIdParams.identityAclOptions.context.configName",getPeopleRequestCoreIdParamsIdentityAclOptionsContextObjectId:"getPeopleRequest.coreIdParams.identityAclOptions.context.objectId",getPeopleRequestCoreIdParamsIdentityAclOptionsContextObjectPart:"getPeopleRequest.coreIdParams.identityAclOptions.context.objectPart",getPeopleRequestCoreIdParamsIdentityAclOptionsMode:"getPeopleRequest.coreIdParams.identityAclOptions.mode",
getPeopleRequestCoreIdParamsIgnoreAclConditionIgnoreAclConditionType:"getPeopleRequest.coreIdParams.ignoreAclCondition.ignoreAclConditionType",getPeopleRequestCoreIdParamsUseRealtimeNotificationExpandedAcls:"getPeopleRequest.coreIdParams.useRealtimeNotificationExpandedAcls",getPeopleRequestDataFormatsAffinityFormatsScoreFormat:"getPeopleRequest.dataFormats.affinityFormats.scoreFormat",getPeopleRequestDataFormatsProfilePhotoOptionsPrivateUrlFormat:"getPeopleRequest.dataFormats.profilePhotoOptions.privateUrlFormat",
getPeopleRequestDedupeOption:"getPeopleRequest.dedupeOption",getPeopleRequestExtensionSetExtendedRequestDataPeopleBackendExtensionApplication:"getPeopleRequest.extensionSet.extendedRequestData.peopleBackendExtension.application",getPeopleRequestExtensionSetExtensionNames:"getPeopleRequest.extensionSet.extensionNames",getPeopleRequestIncludeFieldAcl:"getPeopleRequest.includeFieldAcl",getPeopleRequestIncludedProfileStates:"getPeopleRequest.includedProfileStates",getPeopleRequestMergedPersonSourceOptionsCertificateParamsRequestCertificates:"getPeopleRequest.mergedPersonSourceOptions.certificateParams.requestCertificates",
getPeopleRequestMergedPersonSourceOptionsConnectedSitesOptionsConnectedSiteType:"getPeopleRequest.mergedPersonSourceOptions.connectedSitesOptions.connectedSiteType",getPeopleRequestMergedPersonSourceOptionsDataJoinParamsProfileJoinType:"getPeopleRequest.mergedPersonSourceOptions.dataJoinParams.profileJoinType",getPeopleRequestMergedPersonSourceOptionsDeviceContactFilterDeviceIdentifierClientInstanceId:"getPeopleRequest.mergedPersonSourceOptions.deviceContactFilter.deviceIdentifier.clientInstanceId",
getPeopleRequestMergedPersonSourceOptionsDeviceContactFilterFilterType:"getPeopleRequest.mergedPersonSourceOptions.deviceContactFilter.filterType",getPeopleRequestMergedPersonSourceOptionsIncludeAccountLocale:"getPeopleRequest.mergedPersonSourceOptions.includeAccountLocale",getPeopleRequestMergedPersonSourceOptionsIncludeAffinity:"getPeopleRequest.mergedPersonSourceOptions.includeAffinity",getPeopleRequestMergedPersonSourceOptionsIncludedContactDeletionStates:"getPeopleRequest.mergedPersonSourceOptions.includedContactDeletionStates",
getPeopleRequestMergedPersonSourceOptionsIncludedProfileStates:"getPeopleRequest.mergedPersonSourceOptions.includedProfileStates",getPeopleRequestMergedPersonSourceOptionsPersonModelParamsPersonModel:"getPeopleRequest.mergedPersonSourceOptions.personModelParams.personModel",getPeopleRequestMergedPersonSourceOptionsPlaceParamsRequestPhotoTypes:"getPeopleRequest.mergedPersonSourceOptions.placeParams.requestPhotoTypes",getPeopleRequestMergedPersonSourceOptionsPlaceParamsRequestPlaces:"getPeopleRequest.mergedPersonSourceOptions.placeParams.requestPlaces",
getPeopleRequestPersonId:"getPeopleRequest.personId",getPeopleRequestRequestConfigContextConfigKey:"getPeopleRequest.requestConfigContext.configKey",getPeopleRequestRequestConfigContextVersion:"getPeopleRequest.requestConfigContext.version",getPeopleRequestRequestMaskCustomRequestMask:"getPeopleRequest.requestMask.customRequestMask",getPeopleRequestRequestMaskImageUrlType:"getPeopleRequest.requestMask.imageUrlType",getPeopleRequestRequestMaskIncludeContainer:"getPeopleRequest.requestMask.includeContainer",
getPeopleRequestRequestMaskIncludeField:"getPeopleRequest.requestMask.includeField",getPeopleRequestRequestMaskIncludePeopleInCommon:"getPeopleRequest.requestMask.includePeopleInCommon",getPeopleRequestRequestMaskPersonAttribute:"getPeopleRequest.requestMask.personAttribute",getPeopleRequestRequestMaskPhotoOptionsPrivateUrlFormat:"getPeopleRequest.requestMask.photoOptions.privateUrlFormat",graphRestricts:"graphRestricts",groupExtensionSetExtensionNames:"groupExtensionSet.extensionNames",groupId:"groupId",
id:"id",includeAllAvailableSources:"includeAllAvailableSources",includeAllReachablePeople:"includeAllReachablePeople",includeBlocks:"includeBlocks",includeContent:"includeContent",includeFieldAcl:"includeFieldAcl",includeLinkedPeople:"includeLinkedPeople",includeOthers:"includeOthers",includedProfileStates:"includedProfileStates",key:"key",listFilterParamsContainer:"listFilterParams.container",listFilterParamsExcludeUnreachablePeople:"listFilterParams.excludeUnreachablePeople",matchType:"matchType",
maxContacts:"maxContacts",mergedPersonSourceOptionsCertificateParamsRequestCertificates:"mergedPersonSourceOptions.certificateParams.requestCertificates",mergedPersonSourceOptionsConnectedSitesOptionsConnectedSiteType:"mergedPersonSourceOptions.connectedSitesOptions.connectedSiteType",mergedPersonSourceOptionsDataJoinParamsProfileJoinType:"mergedPersonSourceOptions.dataJoinParams.profileJoinType",mergedPersonSourceOptionsDeviceContactFilterDeviceIdentifierClientInstanceId:"mergedPersonSourceOptions.deviceContactFilter.deviceIdentifier.clientInstanceId",
mergedPersonSourceOptionsDeviceContactFilterFilterType:"mergedPersonSourceOptions.deviceContactFilter.filterType",mergedPersonSourceOptionsIncludeAccountLocale:"mergedPersonSourceOptions.includeAccountLocale",mergedPersonSourceOptionsIncludeAffinity:"mergedPersonSourceOptions.includeAffinity",mergedPersonSourceOptionsIncludedContactDeletionStates:"mergedPersonSourceOptions.includedContactDeletionStates",mergedPersonSourceOptionsIncludedProfileStates:"mergedPersonSourceOptions.includedProfileStates",
mergedPersonSourceOptionsPersonModelParamsPersonModel:"mergedPersonSourceOptions.personModelParams.personModel",mergedPersonSourceOptionsPlaceParamsRequestPhotoTypes:"mergedPersonSourceOptions.placeParams.requestPhotoTypes",mergedPersonSourceOptionsPlaceParamsRequestPlaces:"mergedPersonSourceOptions.placeParams.requestPlaces",oauth_token:"oauth_token",objectTypesRestricts:"objectTypesRestricts",options:"options",orderBy:"orderBy",pageSize:"pageSize",pageToken:"pageToken",pagingOptionsPageSize:"pagingOptions.pageSize",
pagingOptionsPageToken:"pagingOptions.pageToken",peopleType:"peopleType",personAttribute:"personAttribute",personExpansion:"personExpansion",personId:"personId",photoOptionsMaxHeight:"photoOptions.maxHeight",photoOptionsMaxWidth:"photoOptions.maxWidth",placeParamsRequestPlaces:"placeParams.requestPlaces",postPhotoMutateReadOption:"postPhotoMutateReadOption",prefixQuery:"prefixQuery",prettyPrint:"prettyPrint",profileId:"profileId",profileLookupOptionsEmailLookupOption:"profileLookupOptions.emailLookupOption",
profileLookupOptionsExcludeGaiaAccountTypes:"profileLookupOptions.excludeGaiaAccountTypes",profileLookupOptionsUseTrustedClientPhoneLookupQuota:"profileLookupOptions.useTrustedClientPhoneLookupQuota",query:"query",quotaFilterType:"quotaFilterType",quotaUser:"quotaUser",requestConfigContextConfigKey:"requestConfigContext.configKey",requestConfigContextVersion:"requestConfigContext.version",requestMask:"requestMask",requestMaskCustomRequestMask:"requestMask.customRequestMask",requestMaskImageUrlType:"requestMask.imageUrlType",
requestMaskIncludeContainer:"requestMask.includeContainer",requestMaskIncludeField:"requestMask.includeField",requestMaskIncludePeopleInCommon:"requestMask.includePeopleInCommon",requestMaskPersonAttribute:"requestMask.personAttribute",requestMaskPhotoOptionsPrivateUrlFormat:"requestMask.photoOptions.privateUrlFormat",requestOptionsRequireConsistency:"requestOptions.requireConsistency",requestOptionsTreatRestrictsAsFilter:"requestOptions.treatRestrictsAsFilter",requireCompleteResults:"requireCompleteResults",
returnedFieldAcl:"returnedFieldAcl",searchSettingsMinTotalItemsAccuracy:"searchSettings.minTotalItemsAccuracy",searchSettingsNumToScore:"searchSettings.numToScore",searchSettingsScoringType:"searchSettings.scoringType",skipPostMutateGet:"skipPostMutateGet",sortOptionsSortField:"sortOptions.sortField",sortOptionsSortOrder:"sortOptions.sortOrder",source:"source",sources:"sources",squery:"squery",stFieldSpecExpressionsExpressionNames:"stFieldSpecExpressions.expressionNames",stFieldSpecExpressionsExpressions:"stFieldSpecExpressions.expressions",
startIndex:"startIndex",stquery:"stquery",syncParametersFullSyncOption:"syncParameters.fullSyncOption",syncParametersSyncToken:"syncParameters.syncToken",syncToken:"syncToken",type:"type",uploadType:"uploadType",upload_protocol:"upload_protocol",useBytes:"useBytes"},tK=function(a,b,c){this.gapiVersion=a;this.gapiVersion=null==a?"v2":a;this.$apiClient=new E_b(b,c)};
tK.prototype.list=function(a,b){a=void 0===a?{}:a;b=void 0===b?{}:b;return G_b(this.$apiClient,{body:null,httpMethod:"GET",methodId:"people_pa.people.lookup.list",path:"/"+this.gapiVersion+"/people/lookup",queryParams:Ewa(a,g2b,b)})};tK.\u0275fac=function(a){return new (a||tK)(n(e2b,8),n(f2b),n(C_b,8))};tK.\u0275prov=Vc({token:tK,factory:tK.\u0275fac});var uK=function(){};uK.\u0275fac=function(a){return new (a||uK)};uK.\u0275prov=Vc({token:uK,factory:function(a){return tK.\u0275fac(a)},providedIn:sK});
var vK=function(a,b,c){this.gapiVersion=a;this.gapiVersion=null==a?"v2":a;this.$apiClient=new E_b(b,c)};vK.\u0275fac=function(a){return new (a||vK)(n(e2b,8),n(f2b),n(C_b,8))};vK.\u0275prov=Vc({token:vK,factory:vK.\u0275fac});var wK=function(){};wK.\u0275fac=function(a){return new (a||wK)};wK.\u0275prov=Vc({token:wK,factory:function(a){return vK.\u0275fac(a)},providedIn:sK});var vya=/.*@google.com/,h2b=new Bd("onedevPeopleServiceConfig"),i2b={},xK=function(a,b,c){var d=this;this.lookupApiClient=a;this.destroy$=new C.Subject;this.config=i2b;c&&c.pipe(eg(function(e){window.gapi&&e.accessToken&&window.gapi.auth.setToken({access_token:e.accessToken})}),dg(this.destroy$)).subscribe({next:function(e){d.config=e}})},k2b=function(a,b){return j2b(a,[b]).pipe(B(function(c){return c[0]}))},j2b=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(B(function(c){return zya(b,c)}))};xK.prototype.ngOnDestroy=function(){this.destroy$.next()};xK.\u0275fac=function(a){return new (a||xK)(n(uK),n(wK),n(h2b,8))};xK.\u0275prov=Vc({token:xK,factory:xK.\u0275fac});var l2b=function(a){Y.call(this,a)};W(l2b,Y);g=l2b.prototype;g.getSize=function(){return su(this,1)};g.setSize=function(a){return k(this,1,a)};g.getWidth=function(){return su(this,12)};g.setWidth=function(a){return k(this,12,a)};g.getHeight=function(){return su(this,13)};g.setHeight=function(a){return k(this,13,a)};g.setStretch=function(a){return k(this,33,a)};g.setCrop=function(a){return k(this,2,a)};g.setCircleCrop=function(a){return k(this,51,a)};g.setImageCrop=function(a){return k(this,32,a)};
g.setSmartCrop=function(a){return k(this,19,a)};g.setSmartCropNoClip=function(a){return k(this,52,a)};g.setSmartCropUseFace=function(a){return k(this,67,a)};g.setDetectFaces=function(a){k(this,80,a)};g.setCenterCrop=function(a){return k(this,20,a)};g.setPad=function(a){return k(this,60,a)};g.setDownload=function(a){k(this,3,a)};g.setHtml=function(a){k(this,4,a)};g.getObjectId=function(){return Db(this,7)};g.setObjectId=function(a){k(this,7,a)};g.setLooseFaceCrop=function(a){return k(this,65,a)};
g.setFaceCropVersion=function(a){k(this,94,a)};g.setFrameId=function(a){k(this,29,a)};g.setTileX=function(a){k(this,9,a)};g.setTileY=function(a){k(this,10,a)};g.setTileZoom=function(a){k(this,11,a)};g.setTileGeneration=function(a){k(this,14,a)};g.setForceTileGeneration=function(a){k(this,34,a)};g.setTilePyramidAsProto=function(a){k(this,72,a)};g.setExpirationTime=function(a){k(this,15,a)};g.setImageFilter=function(a){return k(this,16,a)};g.setKillAnimation=function(a){return k(this,17,a)};
g.setUnfiltered=function(a){k(this,18,a)};g.setUnfilteredWithTransforms=function(a){k(this,45,a)};g.setIncludeMetadata=function(a){k(this,22,a)};g.setIncludePublicMetadata=function(a){k(this,54,a)};g.setStripGoogleData=function(a){k(this,82,a)};g.setPreserveGoogleData=function(a){k(this,83,a)};g.setStripMetadata=function(a){k(this,93,a)};g.setStripGeoinfo=function(a){k(this,95,a)};g.setEsPortraitApprovedOnly=function(a){return k(this,21,a)};g.setBypassTakedown=function(a){k(this,23,a)};
g.getToken=function(){return Db(this,24)};g.setToken=function(a){return k(this,24,a)};g.setVersionedToken=function(a){k(this,36,a)};g.setSkipRefererCheck=function(a){k(this,6,a)};g.setRotate=function(a){return k(this,26,a)};g.setHorizontalFlip=function(a){k(this,30,a)};g.setVerticalFlip=function(a){k(this,31,a)};g.getOverlay=function(){return bt(this,27)};g.setOverlay=function(a){return k(this,27,a)};g.setQueryString=function(a){k(this,28,a)};g.setRequestJpeg=function(a){return k(this,57,a)};
g.setRequestPng=function(a){return k(this,58,a)};g.setRequestGif=function(a){k(this,59,a)};g.setRequestAvif=function(a){k(this,103,a)};g.setRequestWebp=function(a){return k(this,35,a)};g.setRequestWebpUnlessMaybeTransparent=function(a){k(this,41,a)};g.setRequestAnimatedWebp=function(a){k(this,64,a)};g.setNoWebp=function(a){k(this,48,a)};g.setRequestH264=function(a){return k(this,49,a)};g.setLossy=function(a){k(this,97,a)};g.setNoOverlay=function(a){return k(this,37,a)};
g.setBorderSize=function(a){k(this,38,a)};g.setBorderRadius=function(a){k(this,86,a)};g.setBorderColor=function(a){k(this,39,a)};g.getBackgroundColor=function(){return su(this,87)};g.setBackgroundColor=function(a){k(this,87,a)};g.setPadColor=function(a){k(this,88,a)};g.setSubstitutionColor=function(a){k(this,89,a)};g.setNoSilhouette=function(a){k(this,40,a)};g.setFocusBlur=function(a){k(this,42,a)};g.setFocalPlane=function(a){k(this,43,a)};g.setQualityLevel=function(a){return k(this,44,a)};
g.setQualityBucket=function(a){return k(this,62,a)};g.setNoUpscale=function(a){k(this,46,a)};g.setPreserveAspectRatio=function(a){k(this,61,a)};g.setForceTransformation=function(a){k(this,50,a)};g.setNoDefaultImage=function(a){k(this,53,a)};g.setNoCorrectExifOrientation=function(a){k(this,55,a)};g.setSelectFrameNumber=function(a){k(this,56,a)};g.setVideoFormat=function(a){k(this,63,a)};g.setVideoMultiFormat=function(a){k(this,81,a)};g.setVideoManifest=function(a){k(this,98,a)};
g.setDownloadVideo=function(a){k(this,90,a)};g.setVideoBegin=function(a){k(this,68,a)};g.setVideoLength=function(a){k(this,69,a)};g.setMatchVersion=function(a){k(this,66,a)};g.setImageDigest=function(a){k(this,70,a)};g.setInternalClient=function(a){k(this,71,a)};g.setMonogram=function(a){k(this,73,a)};g.setForceMonogram=function(a){return k(this,84,a)};g.setMonogramDogfood=function(a){k(this,91,a)};g.setIgnoreLowResProfilePhoto=function(a){k(this,96,a)};g.setAutoloop=function(a){k(this,74,a)};
g.getImageVersion=function(){return Db(this,75)};g.setImageVersion=function(a){k(this,75,a)};g.setPitchDegrees=function(a){k(this,76,sb(a))};g.setYawDegrees=function(a){k(this,77,sb(a))};g.setRollDegrees=function(a){k(this,78,sb(a))};g.setFovDegrees=function(a){k(this,79,sb(a))};g.setBadge=function(a){k(this,85,a)};g.setColorProfile=function(a){k(this,92,a)};g.setDeepCrop=function(a){k(this,99,a)};g.setRequestVideoFast=function(a){k(this,100,a)};g.setVideoFormatFilters=function(a){k(this,102,a)};
g.setDummyCacheKeyModifier=function(a){k(this,104,a)};var yK=function(a){this.value_=void 0;this.childNodes_={};a&&this.setAll(a)};yK.prototype.set=function(a,b){m2b(this,a,b,!1)};yK.prototype.add=function(a,b){m2b(this,a,b,!0)};var m2b=function(a,b,c,d){for(var e=0;e<b.length;e++){var f=b.charAt(e);a.childNodes_[f]||(a.childNodes_[f]=new yK);a=a.childNodes_[f]}if(d&&void 0!==a.value_)throw Error("Tc`"+b);a.value_=c};yK.prototype.setAll=function(a){var b=pRb(a);a=jD(a);for(var c=0;c<b.length;c++)this.set(b[c],a[c])};
var n2b=function(a,b){for(var c=0;c<b.length;c++)if(a=a.childNodes_[b.charAt(c)],!a)return;return a};yK.prototype.get=function(a){return(a=n2b(this,a))?a.value_:void 0};yK.prototype.getValues=function(){var a=[];o2b(this,a);return a};var o2b=function(a,b){void 0!==a.value_&&b.push(a.value_);for(var c in a.childNodes_)o2b(a.childNodes_[c],b)};
yK.prototype.getKeys=function(a){var b=[];if(a){for(var c=this,d=0;d<a.length;d++){var e=a.charAt(d);if(!c.childNodes_[e])return[];c=c.childNodes_[e]}p2b(c,a,b)}else p2b(this,"",b);return b};var p2b=function(a,b,c){void 0!==a.value_&&c.push(b);for(var d in a.childNodes_)p2b(a.childNodes_[d],b+d,c)};g=yK.prototype;g.containsKey=function(a){return void 0!==this.get(a)};
g.containsValue=function(a){if(this.value_===a)return!0;for(var b in this.childNodes_)if(this.childNodes_[b].containsValue(a))return!0;return!1};g.clear=function(){this.childNodes_={};this.value_=void 0};g.remove=function(a){for(var b=this,c=[],d=0;d<a.length;d++){var e=a.charAt(d);if(!b.childNodes_[e])throw Error("Uc`"+a);c.push([b,e]);b=b.childNodes_[e]}a=b.value_;for(delete b.value_;0<c.length;)if(e=c.pop(),b=e[0],e=e[1],b.childNodes_[e].isEmpty())delete b.childNodes_[e];else break;return a};
g.clone=function(){return new yK(this)};g.getCount=function(){return oRb(this.getValues())};g.isEmpty=function(){return void 0===this.value_&&pc(this.childNodes_)};var s2b=function(){if(!q2b){var a=q2b=new yK,b;for(b in r2b)a.add(b,r2b[b])}},q2b,zK=function(a,b){this.types=a;this.setters=b},r2b={a:new zK([3,0],[function(a,b){a.setEsPortraitApprovedOnly(b)},function(a,b){a.setSelectFrameNumber(b)}]),al:new zK([3],[function(a,b){a.setAutoloop(b)}]),b:new zK([3,0],[function(a,b){a.setBypassTakedown(b)},function(a,b){a.setBorderSize(b)}]),ba:new zK([0],[function(a,b){a.setBadge(b)}]),bc:new zK([0],[function(a,b){a.setBackgroundColor(b)}]),br:new zK([0],[function(a,
b){a.setBorderRadius(b)}]),c:new zK([3,0],[function(a,b){a.setCrop(b)},function(a,b){a.setBorderColor(b)}]),cc:new zK([3],[function(a,b){a.setCircleCrop(b)}]),ci:new zK([3],[function(a,b){a.setImageCrop(b)}]),ckm:new zK([3],[function(a,b){a.setDummyCacheKeyModifier(b)}]),cp:new zK([0],[function(a,b){a.setColorProfile(b)}]),cv:new zK([0],[function(a,b){a.setFaceCropVersion(b)}]),d:new zK([3],[function(a,b){a.setDownload(b)}]),dc:new zK([5],[function(a,b){a.setDeepCrop(b)}]),df:new zK([3],[function(a,
b){a.setDetectFaces(b)}]),dv:new zK([3],[function(a,b){a.setDownloadVideo(b)}]),e:new zK([0],[function(a,b){a.setExpirationTime(b)}]),f:new zK([4],[function(a,b){a.setImageFilter(b)}]),fg:new zK([3],[function(a,b){a.setForceTileGeneration(b)}]),fh:new zK([3],[function(a,b){a.setHorizontalFlip(b)}]),fm:new zK([3],[function(a,b){a.setForceMonogram(b)}]),fo:new zK([2],[function(a,b){a.setFovDegrees(b)}]),ft:new zK([3],[function(a,b){a.setForceTransformation(b)}]),fv:new zK([3],[function(a,b){a.setVerticalFlip(b)}]),
g:new zK([3],[function(a,b){a.setTileGeneration(b)}]),gd:new zK([3],[function(a,b){a.setPreserveGoogleData(b)}]),h:new zK([3,0],[function(a,b){a.setHtml(b)},function(a,b){a.setHeight(b)}]),i:new zK([3],[function(a,b){a.setIncludeMetadata(b)}]),ic:new zK([0],[function(a,b){a.setInternalClient(b)}]),id:new zK([3],[function(a,b){a.setImageDigest(b)}]),il:new zK([3],[function(a,b){a.setIgnoreLowResProfilePhoto(b)}]),ip:new zK([3],[function(a,b){a.setIncludePublicMetadata(b)}]),iv:new zK([0],[function(a,
b){a.setImageVersion(b)}]),j:new zK([1],[function(a,b){a.setFrameId(b)}]),k:new zK([3,0],[function(a,b){a.setKillAnimation(b)},function(a,b){a.setFocusBlur(b)}]),l:new zK([0],[function(a,b){a.setQualityLevel(b)}]),lf:new zK([3],[function(a,b){a.setLooseFaceCrop(b)}]),lo:new zK([3],[function(a,b){a.setLossy(b)}]),m:new zK([0],[function(a,b){a.setVideoFormat(b)}]),md:new zK([3],[function(a,b){a.setMonogramDogfood(b)}]),mm:new zK([4],[function(a,b){a.setVideoMultiFormat(b)}]),mo:new zK([3],[function(a,
b){a.setMonogram(b)}]),mv:new zK([3],[function(a,b){a.setMatchVersion(b)}]),n:new zK([3],[function(a,b){a.setCenterCrop(b)}]),nc:new zK([3],[function(a,b){a.setNoCorrectExifOrientation(b)}]),nd:new zK([3],[function(a,b){a.setNoDefaultImage(b)}]),ng:new zK([3],[function(a,b){a.setStripGeoinfo(b)}]),no:new zK([3],[function(a,b){a.setNoOverlay(b)}]),ns:new zK([3],[function(a,b){a.setNoSilhouette(b)}]),nt0:new zK([4],[function(a,b){a.setVersionedToken(b)}]),nu:new zK([3],[function(a,b){a.setNoUpscale(b)}]),
nw:new zK([3],[function(a,b){a.setNoWebp(b)}]),o:new zK([1,3],[function(a,b){a.setObjectId(b)},function(a,b){a.setOverlay(b)}]),p:new zK([3,0],[function(a,b){a.setSmartCrop(b)},function(a,b){a.setFocalPlane(b)}]),pa:new zK([3],[function(a,b){a.setPreserveAspectRatio(b)}]),pc:new zK([0],[function(a,b){a.setPadColor(b)}]),pd:new zK([3],[function(a,b){a.setPad(b)}]),pf:new zK([3],[function(a,b){a.setSmartCropUseFace(b)}]),pg:new zK([3],[function(a,b){a.setTilePyramidAsProto(b)}]),pi:new zK([2],[function(a,
b){a.setPitchDegrees(b)}]),pp:new zK([3],[function(a,b){a.setSmartCropNoClip(b)}]),q:new zK([4],[function(a,b){a.setQueryString(b)}]),r:new zK([3,0],[function(a,b){a.setSkipRefererCheck(b)},function(a,b){a.setRotate(b)}]),ra:new zK([3],[function(a,b){a.setRequestAvif(b)}]),rf:new zK([3],[function(a,b){a.setRequestVideoFast(b)}]),rg:new zK([3],[function(a,b){a.setRequestGif(b)}]),rh:new zK([3],[function(a,b){a.setRequestH264(b)}]),rj:new zK([3],[function(a,b){a.setRequestJpeg(b)}]),ro:new zK([2],[function(a,
b){a.setRollDegrees(b)}]),rp:new zK([3],[function(a,b){a.setRequestPng(b)}]),rw:new zK([3],[function(a,b){a.setRequestWebp(b)}]),rwa:new zK([3],[function(a,b){a.setRequestAnimatedWebp(b)}]),rwu:new zK([3],[function(a,b){a.setRequestWebpUnlessMaybeTransparent(b)}]),s:new zK([3,0],[function(a,b){a.setStretch(b)},function(a,b){a.setSize(b)}]),sc:new zK([0],[function(a,b){a.setSubstitutionColor(b)}]),sg:new zK([3],[function(a,b){a.setStripGoogleData(b)}]),sm:new zK([3],[function(a,b){a.setStripMetadata(b)}]),
t:new zK([4],[function(a,b){a.setToken(b)}]),u:new zK([3],[function(a,b){a.setUnfiltered(b)}]),ut:new zK([3],[function(a,b){a.setUnfilteredWithTransforms(b)}]),v:new zK([0],[function(a,b){a.setQualityBucket(b)}]),vb:new zK([0],[function(a,b){a.setVideoBegin(b)}]),vf:new zK([4],[function(a,b){a.setVideoFormatFilters(b)}]),vl:new zK([0],[function(a,b){a.setVideoLength(b)}]),vm:new zK([3],[function(a,b){a.setVideoManifest(b)}]),w:new zK([0],[function(a,b){a.setWidth(b)}]),x:new zK([0],[function(a,b){a.setTileX(b)}]),
y:new zK([0],[function(a,b){a.setTileY(b)}]),ya:new zK([2],[function(a,b){a.setYawDegrees(b)}]),z:new zK([0],[function(a,b){a.setTileZoom(b)}])};
s2b.prototype.parse=function(a){var b=new l2b,c=new l2b;if(""==a)a=!0;else{a=a.split("-");for(var d=!0,e=0;e<a.length;e++){var f=a[e];if(0==f.length)d=!1;else{var h=f,l=!1;var q=h;var u=h.charAt(0);u!=u.toLowerCase()&&(l=!0,q=h.charAt(0).toLowerCase()+h.substring(1));var x=q2b;for(u=1;u<=q.length;++u){var y=x,G=q.substring(0,u);if(0==G.length?y.isEmpty():!n2b(y,G))break}q=1==u?null:(q=x.get(q.substring(0,u-1)))?{option:h.substring(0,u-1),value:h.substring(u-1),signed:l,attributes:q}:null;if(q){h=
[];l=[];u=!1;for(x=0;x<q.attributes.types.length;x++){y=q.attributes.types[x];var L=q.value;G=e;if(q.signed&&1==y)for(var M=L.length;12>M&&G<a.length-1;)L+="-"+a[G+1],M=L.length,++G;else if(2==y)for(;G<a.length-1&&a[G+1].match(/^[\d\.]/);)L+="-"+a[G+1],++G;M=q.attributes.setters[x];L=t2b(this,y)(q.option,L,b,c,M);if(null===L){u=!0;e=G;break}else h.push(y),l.push(L)}if(!u)for(q=0;q<l.length;q++)x=h[q],L=l[q],u2b(this,x)(f,L);d=d&&u}else d=!1}}a=d}return new v2b(b,c,a)};
var w2b=function(a,b,c,d,e,f){e(c,b);a=a.charAt(0);f=f(a==a.toUpperCase());e(d,f)};g=s2b.prototype;g.parseAndSetIntOption_=function(a,b,c,d,e){if(""==b)return 0;b=Lj(b);if(isNaN(b))return 1;w2b(a,b,c,d,e,Number);return null};g.logIntParseError_=function(){};g.parseAndSetFloatOption_=function(a,b,c,d,e){if(""==b)return 0;b=Sj(b);if(isNaN(b))return 1;w2b(a,b,c,d,e,Number);return null};g.logFloatParseError_=function(){};
g.parseAndSetBoolOption_=function(a,b,c,d,e){if(""!=b)return 2;w2b(a,!0,c,d,e,Boolean);return null};g.logBoolParseError_=function(){};g.parseAndSetStringOption_=function(a,b,c,d,e){if(""==b)return 0;w2b(a,b,c,d,e,function(f){return f?"1":""});return null};g.logStringParseError_=function(){};
var t2b=function(a,b){switch(b){case 0:return eu(a.parseAndSetIntOption_,a);case 2:return eu(a.parseAndSetFloatOption_,a);case 3:return eu(a.parseAndSetBoolOption_,a);case 4:case 1:return eu(a.parseAndSetStringOption_,a);default:return function(){}}},u2b=function(a,b){switch(b){case 0:return eu(a.logIntParseError_,a);case 2:return eu(a.logFloatParseError_,a);case 3:return eu(a.logBoolParseError_,a);case 4:case 1:return eu(a.logStringParseError_,a);default:return function(){}}},v2b=function(a,b,c){this.valueProto_=
a;this.signatureFlagProto_=b;this.valid_=c};v2b.prototype.isValid=function(){return this.valid_};var x2b=function(a,b){null!=a&&this.append.apply(this,arguments)};g=x2b.prototype;g.buffer_="";g.set=function(a){this.buffer_=""+a};g.append=function(a,b,c){this.buffer_+=String(a);if(null!=b)for(var d=1;d<arguments.length;d++)this.buffer_+=arguments[d];return this};g.clear=function(){this.buffer_=""};g.getLength=function(){return this.buffer_.length};g.toString=function(){return this.buffer_};var AK=function(a){this.parser_=null;this.components_=[];this.parsedOptions_=null;y2b(this,a)};AK.prototype.getParsedOptions=function(){return this.parsedOptions_};var z2b=function(a){null==a.parser_&&(a.parser_=new s2b);return a.parser_},y2b=function(a,b){a.parsedOptions_=b?"string"===typeof b?z2b(a).parse(b):b:z2b(a).parse("")},BK=function(a,b){return a==b?!1:!0};g=AK.prototype;
g.setEsPortraitApprovedOnly=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;BK(a,bt(c,21),bt(b.signatureFlagProto_,21))&&c.setEsPortraitApprovedOnly(a);return this};g.setSelectFrameNumber=function(a){var b=this.parsedOptions_,c=b.valueProto_;BK(a,su(c,56),su(b.signatureFlagProto_,56))&&c.setSelectFrameNumber(a)};g.setAutoloop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;BK(a,bt(c,74),bt(b.signatureFlagProto_,74))&&c.setAutoloop(a)};
g.setBypassTakedown=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;BK(a,Tl(c,23,!1),Tl(b.signatureFlagProto_,23,!1))&&c.setBypassTakedown(a)};g.setBorderSize=function(a){var b=this.parsedOptions_,c=b.valueProto_;BK(a,su(c,38),su(b.signatureFlagProto_,38))&&c.setBorderSize(a)};g.setBadge=function(a){var b=this.parsedOptions_,c=b.valueProto_;BK(a,su(c,85),su(b.signatureFlagProto_,85))&&c.setBadge(a)};
g.setBackgroundColor=function(a){var b=this.parsedOptions_,c=b.valueProto_;BK(a,c.getBackgroundColor(),b.signatureFlagProto_.getBackgroundColor())&&c.setBackgroundColor(a)};g.setBorderRadius=function(a){var b=this.parsedOptions_,c=b.valueProto_;BK(a,su(c,86),su(b.signatureFlagProto_,86))&&c.setBorderRadius(a)};g.setCrop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;BK(a,Tl(c,2,!1),Tl(b.signatureFlagProto_,2,!1))&&c.setCrop(a);return this};
g.setBorderColor=function(a){var b=this.parsedOptions_,c=b.valueProto_;BK(a,su(c,39),su(b.signatureFlagProto_,39))&&c.setBorderColor(a)};g.setCircleCrop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;BK(a,bt(c,51),bt(b.signatureFlagProto_,51))&&c.setCircleCrop(a);return this};g.setImageCrop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;BK(a,bt(c,32),bt(b.signatureFlagProto_,32))&&c.setImageCrop(a);return this};
g.setDummyCacheKeyModifier=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;BK(a,bt(c,104),bt(b.signatureFlagProto_,104))&&c.setDummyCacheKeyModifier(a)};g.setColorProfile=function(a){var b=this.parsedOptions_,c=b.valueProto_;BK(a,su(c,92),su(b.signatureFlagProto_,92))&&c.setColorProfile(a)};g.setFaceCropVersion=function(a){var b=this.parsedOptions_,c=b.valueProto_;BK(a,su(c,94),su(b.signatureFlagProto_,94))&&c.setFaceCropVersion(a)};
g.setDownload=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;BK(a,Tl(c,3,!1),Tl(b.signatureFlagProto_,3,!1))&&c.setDownload(a)};g.setDeepCrop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;BK(a,Db(c,99),Db(b.signatureFlagProto_,99))&&c.setDeepCrop(a)};g.setDetectFaces=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;BK(a,bt(c,80),bt(b.signatureFlagProto_,80))&&c.setDetectFaces(a)};
g.setDownloadVideo=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;BK(a,bt(c,90),bt(b.signatureFlagProto_,90))&&c.setDownloadVideo(a)};g.setExpirationTime=function(a){var b=this.parsedOptions_,c=b.valueProto_;BK(a,su(c,15),su(b.signatureFlagProto_,15))&&c.setExpirationTime(a)};g.setImageFilter=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;BK(a,Db(c,16),Db(b.signatureFlagProto_,16))&&c.setImageFilter(a);return this};
g.setForceTileGeneration=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;BK(a,Tl(c,34,!1),Tl(b.signatureFlagProto_,34,!1))&&c.setForceTileGeneration(a)};g.setHorizontalFlip=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;BK(a,bt(c,30),bt(b.signatureFlagProto_,30))&&c.setHorizontalFlip(a)};g.setForceMonogram=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;BK(a,bt(c,84),bt(b.signatureFlagProto_,84))&&c.setForceMonogram(a);return this};
g.setFovDegrees=function(a){var b=this.parsedOptions_,c=b.valueProto_;BK(a,nq(c,79),nq(b.signatureFlagProto_,79))&&c.setFovDegrees(a)};g.setForceTransformation=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;BK(a,bt(c,50),bt(b.signatureFlagProto_,50))&&c.setForceTransformation(a)};g.setVerticalFlip=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;BK(a,bt(c,31),bt(b.signatureFlagProto_,31))&&c.setVerticalFlip(a)};
g.setTileGeneration=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;BK(a,Tl(c,14,!1),Tl(b.signatureFlagProto_,14,!1))&&c.setTileGeneration(a)};g.setPreserveGoogleData=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;BK(a,bt(c,83),bt(b.signatureFlagProto_,83))&&c.setPreserveGoogleData(a)};g.setHtml=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;BK(a,Tl(c,4,!1),Tl(b.signatureFlagProto_,4,!1))&&c.setHtml(a)};
g.setHeight=function(a){var b=this.parsedOptions_,c=b.valueProto_;BK(a,c.getHeight(),b.signatureFlagProto_.getHeight())&&c.setHeight(a);return this};g.setIncludeMetadata=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;BK(a,bt(c,22),bt(b.signatureFlagProto_,22))&&c.setIncludeMetadata(a)};g.setInternalClient=function(a){var b=this.parsedOptions_,c=b.valueProto_;BK(a,su(c,71),su(b.signatureFlagProto_,71))&&c.setInternalClient(a)};
g.setImageDigest=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;BK(a,bt(c,70),bt(b.signatureFlagProto_,70))&&c.setImageDigest(a)};g.setIgnoreLowResProfilePhoto=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;BK(a,bt(c,96),bt(b.signatureFlagProto_,96))&&c.setIgnoreLowResProfilePhoto(a)};g.setIncludePublicMetadata=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;BK(a,bt(c,54),bt(b.signatureFlagProto_,54))&&c.setIncludePublicMetadata(a)};
g.setImageVersion=function(a){var b=this.parsedOptions_,c=b.valueProto_;BK(a,c.getImageVersion(),b.signatureFlagProto_.getImageVersion())&&c.setImageVersion(a)};g.setFrameId=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;BK(a,Db(c,29),Db(b.signatureFlagProto_,29))&&c.setFrameId(a)};g.setKillAnimation=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;BK(a,bt(c,17),bt(b.signatureFlagProto_,17))&&c.setKillAnimation(a);return this};
g.setFocusBlur=function(a){var b=this.parsedOptions_,c=b.valueProto_;BK(a,su(c,42),su(b.signatureFlagProto_,42))&&c.setFocusBlur(a)};g.setQualityLevel=function(a){var b=this.parsedOptions_,c=b.valueProto_;BK(a,su(c,44),su(b.signatureFlagProto_,44))&&c.setQualityLevel(a);return this};g.setLooseFaceCrop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;BK(a,bt(c,65),bt(b.signatureFlagProto_,65))&&c.setLooseFaceCrop(a);return this};
g.setLossy=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;BK(a,bt(c,97),bt(b.signatureFlagProto_,97))&&c.setLossy(a)};g.setVideoFormat=function(a){var b=this.parsedOptions_,c=b.valueProto_;BK(a,su(c,63),su(b.signatureFlagProto_,63))&&c.setVideoFormat(a)};g.setMonogramDogfood=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;BK(a,bt(c,91),bt(b.signatureFlagProto_,91))&&c.setMonogramDogfood(a)};
g.setVideoMultiFormat=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;BK(a,Db(c,81),Db(b.signatureFlagProto_,81))&&c.setVideoMultiFormat(a)};g.setMonogram=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;BK(a,bt(c,73),bt(b.signatureFlagProto_,73))&&c.setMonogram(a)};g.setMatchVersion=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;BK(a,bt(c,66),bt(b.signatureFlagProto_,66))&&c.setMatchVersion(a)};
g.setCenterCrop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;BK(a,Tl(c,20,!1),Tl(b.signatureFlagProto_,20,!1))&&c.setCenterCrop(a);return this};g.setNoCorrectExifOrientation=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;BK(a,bt(c,55),bt(b.signatureFlagProto_,55))&&c.setNoCorrectExifOrientation(a)};g.setNoDefaultImage=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;BK(a,bt(c,53),bt(b.signatureFlagProto_,53))&&c.setNoDefaultImage(a)};
g.setStripGeoinfo=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;BK(a,bt(c,95),bt(b.signatureFlagProto_,95))&&c.setStripGeoinfo(a)};g.setNoOverlay=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;BK(a,Tl(c,37,!1),Tl(b.signatureFlagProto_,37,!1))&&c.setNoOverlay(a);return this};g.setNoSilhouette=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;BK(a,bt(c,40),bt(b.signatureFlagProto_,40))&&c.setNoSilhouette(a)};
g.setVersionedToken=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;BK(a,Db(c,36),Db(b.signatureFlagProto_,36))&&c.setVersionedToken(a)};g.setNoUpscale=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;BK(a,bt(c,46),bt(b.signatureFlagProto_,46))&&c.setNoUpscale(a)};g.setNoWebp=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;BK(a,Tl(c,48,!1),Tl(b.signatureFlagProto_,48,!1))&&c.setNoWebp(a)};
g.setObjectId=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;BK(a,c.getObjectId(),b.signatureFlagProto_.getObjectId())&&c.setObjectId(a)};g.setOverlay=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;BK(a,c.getOverlay(),b.signatureFlagProto_.getOverlay())&&c.setOverlay(a);return this};g.setSmartCrop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;BK(a,Tl(c,19,!1),Tl(b.signatureFlagProto_,19,!1))&&c.setSmartCrop(a);return this};
g.setFocalPlane=function(a){var b=this.parsedOptions_,c=b.valueProto_;BK(a,su(c,43),su(b.signatureFlagProto_,43))&&c.setFocalPlane(a)};g.setPreserveAspectRatio=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;BK(a,bt(c,61),bt(b.signatureFlagProto_,61))&&c.setPreserveAspectRatio(a)};g.setPadColor=function(a){var b=this.parsedOptions_,c=b.valueProto_;BK(a,su(c,88),su(b.signatureFlagProto_,88))&&c.setPadColor(a)};
g.setPad=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;BK(a,bt(c,60),bt(b.signatureFlagProto_,60))&&c.setPad(a);return this};g.setSmartCropUseFace=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;BK(a,Tl(c,67,!1),Tl(b.signatureFlagProto_,67,!1))&&c.setSmartCropUseFace(a);return this};g.setTilePyramidAsProto=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;BK(a,Tl(c,72,!1),Tl(b.signatureFlagProto_,72,!1))&&c.setTilePyramidAsProto(a)};
g.setPitchDegrees=function(a){var b=this.parsedOptions_,c=b.valueProto_;BK(a,nq(c,76),nq(b.signatureFlagProto_,76))&&c.setPitchDegrees(a)};g.setSmartCropNoClip=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;BK(a,Tl(c,52,!1),Tl(b.signatureFlagProto_,52,!1))&&c.setSmartCropNoClip(a);return this};g.setQueryString=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;BK(a,Db(c,28),Db(b.signatureFlagProto_,28))&&c.setQueryString(a)};
g.setSkipRefererCheck=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;BK(a,Tl(c,6,!1),Tl(b.signatureFlagProto_,6,!1))&&c.setSkipRefererCheck(a)};g.setRotate=function(a){var b=this.parsedOptions_,c=b.valueProto_;BK(a,su(c,26),su(b.signatureFlagProto_,26))&&c.setRotate(a);return this};g.setRequestAvif=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;BK(a,Tl(c,103,!1),Tl(b.signatureFlagProto_,103,!1))&&c.setRequestAvif(a)};
g.setRequestVideoFast=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;BK(a,bt(c,100),bt(b.signatureFlagProto_,100))&&c.setRequestVideoFast(a)};g.setRequestGif=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;BK(a,bt(c,59),bt(b.signatureFlagProto_,59))&&c.setRequestGif(a)};g.setRequestH264=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;BK(a,Tl(c,49,!1),Tl(b.signatureFlagProto_,49,!1))&&c.setRequestH264(a);return this};
g.setRequestJpeg=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;BK(a,bt(c,57),bt(b.signatureFlagProto_,57))&&c.setRequestJpeg(a);return this};g.setRollDegrees=function(a){var b=this.parsedOptions_,c=b.valueProto_;BK(a,nq(c,78),nq(b.signatureFlagProto_,78))&&c.setRollDegrees(a)};g.setRequestPng=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;BK(a,bt(c,58),bt(b.signatureFlagProto_,58))&&c.setRequestPng(a);return this};
g.setRequestWebp=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;BK(a,Tl(c,35,!1),Tl(b.signatureFlagProto_,35,!1))&&c.setRequestWebp(a);return this};g.setRequestAnimatedWebp=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;BK(a,Tl(c,64,!1),Tl(b.signatureFlagProto_,64,!1))&&c.setRequestAnimatedWebp(a)};g.setRequestWebpUnlessMaybeTransparent=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;BK(a,Tl(c,41,!1),Tl(b.signatureFlagProto_,41,!1))&&c.setRequestWebpUnlessMaybeTransparent(a)};
g.setStretch=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;BK(a,bt(c,33),bt(b.signatureFlagProto_,33))&&c.setStretch(a);return this};g.setSize=function(a){var b=this.parsedOptions_,c=b.valueProto_;BK(a,c.getSize(),b.signatureFlagProto_.getSize())&&c.setSize(a);return this};g.setSubstitutionColor=function(a){var b=this.parsedOptions_,c=b.valueProto_;BK(a,su(c,89),su(b.signatureFlagProto_,89))&&c.setSubstitutionColor(a)};
g.setStripGoogleData=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;BK(a,bt(c,82),bt(b.signatureFlagProto_,82))&&c.setStripGoogleData(a)};g.setStripMetadata=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;BK(a,bt(c,93),bt(b.signatureFlagProto_,93))&&c.setStripMetadata(a)};g.setToken=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;BK(a,c.getToken(),b.signatureFlagProto_.getToken())&&c.setToken(a);return this};
g.setUnfiltered=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;BK(a,bt(c,18),bt(b.signatureFlagProto_,18))&&c.setUnfiltered(a)};g.setUnfilteredWithTransforms=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;BK(a,bt(c,45),bt(b.signatureFlagProto_,45))&&c.setUnfilteredWithTransforms(a)};g.setQualityBucket=function(a){var b=this.parsedOptions_,c=b.valueProto_;BK(a,su(c,62),su(b.signatureFlagProto_,62))&&c.setQualityBucket(a);return this};
g.setVideoBegin=function(a){var b=this.parsedOptions_,c=b.valueProto_;BK(a,Db(c,68),Db(b.signatureFlagProto_,68))&&c.setVideoBegin(a)};g.setVideoFormatFilters=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;BK(a,Db(c,102),Db(b.signatureFlagProto_,102))&&c.setVideoFormatFilters(a)};g.setVideoLength=function(a){var b=this.parsedOptions_,c=b.valueProto_;BK(a,Db(c,69),Db(b.signatureFlagProto_,69))&&c.setVideoLength(a)};
g.setVideoManifest=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;BK(a,bt(c,98),bt(b.signatureFlagProto_,98))&&c.setVideoManifest(a)};g.setWidth=function(a){var b=this.parsedOptions_,c=b.valueProto_;BK(a,c.getWidth(),b.signatureFlagProto_.getWidth())&&c.setWidth(a);return this};g.setTileX=function(a){var b=this.parsedOptions_,c=b.valueProto_;BK(a,su(c,9),su(b.signatureFlagProto_,9))&&c.setTileX(a)};
g.setTileY=function(a){var b=this.parsedOptions_,c=b.valueProto_;BK(a,su(c,10),su(b.signatureFlagProto_,10))&&c.setTileY(a)};g.setYawDegrees=function(a){var b=this.parsedOptions_,c=b.valueProto_;BK(a,nq(c,77),nq(b.signatureFlagProto_,77))&&c.setYawDegrees(a)};g.setTileZoom=function(a){var b=this.parsedOptions_,c=b.valueProto_;BK(a,su(c,11),su(b.signatureFlagProto_,11))&&c.setTileZoom(a)};g.setOptions=function(a){y2b(this,a)};
g.build=function(){this.components_.length=0;var a=this.parsedOptions_,b=a.valueProto_;a=a.signatureFlagProto_;CK(this,"s",b.getSize(),a.getSize());CK(this,"w",b.getWidth(),a.getWidth());DK(this,"c",Tl(b,2,!1),Tl(a,2,!1));DK(this,"d",Tl(b,3,!1),Tl(a,3,!1));CK(this,"h",b.getHeight(),a.getHeight());DK(this,"s",bt(b,33),bt(a,33));DK(this,"h",Tl(b,4,!1),Tl(a,4,!1));DK(this,"p",Tl(b,19,!1),Tl(a,19,!1));DK(this,"pp",Tl(b,52,!1),Tl(a,52,!1));DK(this,"pf",Tl(b,67,!1),Tl(a,67,!1));DK(this,"n",Tl(b,20,!1),
Tl(a,20,!1));CK(this,"r",su(b,26),su(a,26));DK(this,"r",Tl(b,6,!1),Tl(a,6,!1));DK(this,"o",b.getOverlay(),a.getOverlay());var c=b.getObjectId();EK(this,"o",c,a.getObjectId());c=Db(b,29);EK(this,"j",c,Db(a,29));CK(this,"x",su(b,9),su(a,9));CK(this,"y",su(b,10),su(a,10));CK(this,"z",su(b,11),su(a,11));DK(this,"g",Tl(b,14,!1),Tl(a,14,!1));CK(this,"e",su(b,15),su(a,15));EK(this,"f",Db(b,16),Db(a,16));DK(this,"k",bt(b,17),bt(a,17));DK(this,"u",bt(b,18),!0);DK(this,"ut",bt(b,45),!0);DK(this,"i",bt(b,22),
!0);DK(this,"a",bt(b,21),bt(a,21));DK(this,"b",Tl(b,23,!1),Tl(a,23,!1));CK(this,"b",su(b,38),su(a,38));CK(this,"c",su(b,39),su(a,39),16,8);EK(this,"q",Db(b,28),Db(a,28));DK(this,"fh",bt(b,30),bt(a,30));DK(this,"fv",bt(b,31),bt(a,31));DK(this,"fg",Tl(b,34,!1),Tl(a,34,!1));DK(this,"ci",bt(b,32),bt(a,32));EK(this,"t",b.getToken(),a.getToken());EK(this,"nt0",Db(b,36),Db(a,36));DK(this,"rw",Tl(b,35,!1),Tl(a,35,!1));DK(this,"rwu",Tl(b,41,!1),Tl(a,41,!1));DK(this,"rwa",Tl(b,64,!1),Tl(a,64,!1));DK(this,"nw",
Tl(b,48,!1),Tl(a,48,!1));DK(this,"rh",Tl(b,49,!1),Tl(a,49,!1));DK(this,"no",Tl(b,37,!1),Tl(a,37,!1));DK(this,"ns",bt(b,40),bt(a,40));CK(this,"k",su(b,42),su(a,42));CK(this,"p",su(b,43),su(a,43));CK(this,"l",su(b,44),su(a,44));CK(this,"v",su(b,62),su(a,62));DK(this,"nu",bt(b,46),bt(a,46));DK(this,"ft",bt(b,50),bt(a,50));DK(this,"cc",bt(b,51),bt(a,51));DK(this,"nd",bt(b,53),bt(a,53));DK(this,"ip",bt(b,54),bt(a,54));DK(this,"nc",bt(b,55),bt(a,55));CK(this,"a",su(b,56),su(a,56));DK(this,"rj",bt(b,57),
bt(a,57));DK(this,"rp",bt(b,58),bt(a,58));DK(this,"rg",bt(b,59),bt(a,59));DK(this,"pd",bt(b,60),bt(a,60));DK(this,"pa",bt(b,61),bt(a,61));CK(this,"m",su(b,63),su(a,63));CK(this,"vb",Db(b,68),Db(a,68));CK(this,"vl",Db(b,69),Db(a,69));DK(this,"lf",bt(b,65),bt(a,65));DK(this,"mv",bt(b,66),bt(a,66));DK(this,"id",bt(b,70),bt(a,70));CK(this,"ic",su(b,71),!0);DK(this,"pg",Tl(b,72,!1),Tl(a,72,!1));DK(this,"mo",bt(b,73),bt(a,73));DK(this,"al",bt(b,74),bt(a,74));CK(this,"iv",b.getImageVersion(),a.getImageVersion());
CK(this,"pi",nq(b,76),nq(a,76));CK(this,"ya",nq(b,77),nq(a,77));CK(this,"ro",nq(b,78),nq(a,78));CK(this,"fo",nq(b,79),nq(a,79));DK(this,"df",bt(b,80),bt(a,80));EK(this,"mm",Db(b,81),Db(a,81));DK(this,"sg",bt(b,82),bt(a,82));DK(this,"gd",bt(b,83),bt(a,83));DK(this,"fm",bt(b,84),bt(a,84));CK(this,"ba",su(b,85),su(a,85));CK(this,"br",su(b,86),su(a,86));CK(this,"bc",b.getBackgroundColor(),a.getBackgroundColor(),16,8);CK(this,"pc",su(b,88),su(a,88),16,8);CK(this,"sc",su(b,89),su(a,89),16,8);DK(this,"dv",
bt(b,90),bt(a,90));DK(this,"md",bt(b,91),bt(a,91));CK(this,"cp",su(b,92),su(a,92));DK(this,"sm",bt(b,93),bt(a,93));CK(this,"cv",su(b,94),su(a,94));DK(this,"ng",bt(b,95),bt(a,95));DK(this,"il",bt(b,96),bt(a,96));DK(this,"lo",bt(b,97),bt(a,97));DK(this,"vm",bt(b,98),bt(a,98));EK(this,"dc",Db(b,99),Db(a,99));DK(this,"rf",bt(b,100),bt(a,100));EK(this,"vf",Db(b,102),Db(a,102));DK(this,"ra",Tl(b,103,!1),Tl(a,103,!1));DK(this,"ckm",bt(b,104),bt(a,104));return this.components_.join("-")};
var CK=function(a,b,c,d,e,f){if(null!=c){var h=void 0==e||10!=e&&16!=e?10:e;c=c.toString(h);e=new x2b;e.append(16==h?"0x":"");h=e.append;void 0==f?f="":(f-=c.length,f=0>=f?"":FEb("0",f));h.call(e,f);e.append(c);A2b(a,b,e.toString(),!!d)}},DK=function(a,b,c,d){c&&A2b(a,b,"",!!d)},EK=function(a,b,c,d){c&&A2b(a,b,c,!!d)},A2b=function(a,b,c,d){d&&(b=b.charAt(0).toUpperCase()+b.substring(1));a.components_.push(b+c)};var FK=function(a){AK.call(this,a)};gu(FK,AK);g=FK.prototype;g.setCrop=function(a){a&&GK(this);return FK.superClass_.setCrop.call(this,a)};g.setHeight=function(a){a=null==a||0>a?void 0:a;null!=a&&this.setSize();return FK.superClass_.setHeight.call(this,a)};g.setStretch=function(a){a&&GK(this);return FK.superClass_.setStretch.call(this,a)};g.setQualityLevel=function(a){return FK.superClass_.setQualityLevel.call(this,a)};
g.setImageFilter=function(a){a&&(a=a.replace(";",":"));return FK.superClass_.setImageFilter.call(this,a)};g.setImageCrop=function(a){a&&GK(this);return FK.superClass_.setImageCrop.call(this,a)};g.setCircleCrop=function(a){a&&GK(this);return FK.superClass_.setCircleCrop.call(this,a)};g.setSize=function(a){Ta(a)&&(a=Math.max(a.width,a.height));a=null==a||0>a?void 0:a;null!=a&&(this.setWidth(),this.setHeight());return FK.superClass_.setSize.call(this,a)};
g.setSmartCrop=function(a){a&&GK(this);return FK.superClass_.setSmartCrop.call(this,a)};g.setSmartCropNoClip=function(a){a&&GK(this);return FK.superClass_.setSmartCropNoClip.call(this,a)};g.setSmartCropUseFace=function(a){a&&GK(this);return FK.superClass_.setSmartCropUseFace.call(this,a)};g.setCenterCrop=function(a){a&&GK(this);return FK.superClass_.setCenterCrop.call(this,a)};g.setPad=function(a){a&&GK(this);return FK.superClass_.setPad.call(this,a)};
g.setWidth=function(a){a=null==a||0>a?void 0:a;null!=a&&this.setSize();return FK.superClass_.setWidth.call(this,a)};var GK=function(a){a.setCenterCrop();a.setCircleCrop();a.setCrop();a.setImageCrop();a.setPad();a.setSmartCrop();a.setSmartCropNoClip();a.setSmartCropUseFace()};
FK.prototype.build=function(){var a=this.getParsedOptions().valueProto_;bt(a,18)||bt(a,45)?a.getSize()||this.setSize(0):(a=this.getParsedOptions().valueProto_,a.getSize()||a.getWidth()||a.getHeight()||(this.setSize(),this.setHeight(),this.setWidth(),GK(this)));return FK.superClass_.build.call(this)};var B2b=/^[^\/]*\/\//,HK=function(a,b){b=void 0===b?!1:b;this.original_=a;this.originalPrefix_="";(a=this.original_.match(B2b))&&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_=vD(a,!0);this.isFreeformUrl_=b;this.valid_=!0;this.obfuscated_=!1},C2b=function(a,b){a.pathPrefix_=a.pathPrefix_?a.pathPrefix_+("/"+b):b},IK=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]&&(C2b(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)C2b(a,
a.components_[0]);else if("image"==a.components_[0])C2b(a,a.components_[0]);else if(7==b||3==b)return a.valid_=!1,a.components_;if(3>=b){a.obfuscated_=!0;3==b&&(C2b(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_};HK.prototype.isValid=function(){IK(this);return this.valid_};var D2b=function(a){IK(a);return a.obfuscated_},E2b=function(a){IK(a);return a.isFreeformUrl_};
HK.prototype.getDomain=function(){var a=this.uri_.port_;return this.uri_.getDomain()+(a?":"+a:"")};HK.prototype.getQuery=function(){return this.uri_.queryData_.toString()};var JK=function(a){IK(a);void 0==a.pathPrefix_&&(a.pathPrefix_=null);return a.pathPrefix_};HK.prototype.hasOptions=function(){switch(IK(this).length){case 7:return!0;case 6:return null==JK(this);case 5:return!1;case 3:return!0;case 2:return null==JK(this);case 1:return!1;default:return!1}};
var KK=function(a,b){if(E2b(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=IK(a)[b]}else if(D2b(a))a:{var c=null!=JK(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=IK(a)[b]}else a:{c=null!=JK(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=IK(a)[b]}return a};g=HK.prototype;g.getObfuscatedGaiaId=function(){void 0==this.obfuscatedGaiaId_&&(this.obfuscatedGaiaId_=KK(this,0));return this.obfuscatedGaiaId_};g.getPhotoId=function(){void 0==this.photoId_&&(this.photoId_=KK(this,1));return this.photoId_};g.getImageVersion=function(){void 0==this.imageVersion_&&(this.imageVersion_=KK(this,2));return this.imageVersion_};g.getOptions=function(){void 0==this.options_&&(this.options_=KK(this,4));return this.options_};
g.getFilename=function(){void 0==this.filename_&&(this.filename_=KK(this,5));return this.filename_};var F2b=function(){};F2b.prototype.parse=function(a,b){return new G2b(a,void 0===b?!1:b)};var G2b=function(a,b){HK.call(this,a,void 0===b?!1:b)};W(G2b,HK);G2b.prototype.getParsedOptions=function(){if(void 0==this.parsedOptions_){var a=this.getOptions();a||(a="");this.parsedOptions_=(new s2b).parse(a)}return this.parsedOptions_};var LK=function(a,b){b=void 0===b?!1:b;this.parsedImageUrl_=null;a instanceof G2b||(void 0==H2b&&(H2b=new F2b),a=H2b.parse(a.toString(),b));this.parsedImageUrl_=a;a=this.parsedImageUrl_.getParsedOptions();AK.call(this,a);this.protocolPrefix_=this.parsedImageUrl_.originalPrefix_;this.domain_=this.parsedImageUrl_.getDomain();this.query_=this.parsedImageUrl_.getQuery()},H2b;gu(LK,FK);LK.prototype.isValid=function(){return this.parsedImageUrl_.isValid()};
LK.prototype.build=function(){if(!this.parsedImageUrl_.isValid())return this.parsedImageUrl_.original_;var a=LK.superClass_.build.call(this),b=[];null!=JK(this.parsedImageUrl_)&&b.push(JK(this.parsedImageUrl_));var c=E2b(this.parsedImageUrl_);if(D2b(this.parsedImageUrl_)){var d=this.parsedImageUrl_;void 0==d.obfuscatedData_&&(d.obfuscatedData_=KK(d,6));b.push(d.obfuscatedData_+(a?"="+a:""))}else if(c){d=b.push;var e=this.parsedImageUrl_;void 0===e.freeformUrlPath_&&(e.freeformUrlPath_=KK(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_=KK(e,3)),d.call(b,e.signature_),a&&b.push(a),b.push(this.parsedImageUrl_.getFilename());a=c?b.join("="):b.join("/");a=vD(this.protocolPrefix_+this.domain_+"/"+a+(this.query_?"?"+this.query_:"")).toString();a.startsWith("%3a//")&&(a=a.replace("%3a//","://"));
return a};var I2b=[[["onedev-hovercard-action"]],[["","onedev-additional-content",""]]],MK=function(a,b){var c=this;this.peopleService=a;this.waldoService=b;this.enableWaldo=!1;this.providedEmail$=new C.ReplaySubject(1);this.person$=this.providedEmail$.pipe(cg(function(d){return k2b(c.peopleService,d)}),B(function(d){if(d){var e=Object,f=e.assign;if(d.imageUrl){var h=d.imageUrl;var l=new LK(h);l.setSize(48);h=l.build()||h}else h=d.imageUrl;d=f.call(e,{},d,{imageUrl:h})}return d}),$f(1));this.outOfOfficeDescription$=
new C.ReplaySubject;this.init=new C.ReplaySubject(1);this.destroyed$=new C.ReplaySubject(1)};MK.prototype.ngOnInit=function(){var a=this;this.person$.pipe(Rf(),dg(this.destroyed$)).subscribe(function(){a.init.next()});this.enableWaldo&&J2b(this)};var J2b=function(a){a.waldoService&&a.person$.pipe(cg(function(b){return b?T_b(a.waldoService,b.email):(0,C.of)("")}),dg(a.destroyed$)).subscribe(function(b){a.outOfOfficeDescription$.next(b)})};
Xi.Object.defineProperties(MK.prototype,{email:{configurable:!0,enumerable:!0,get:function(){return this.emailInternal},set:function(a){this.emailInternal=a;this.providedEmail$.next(a)}}});MK.\u0275fac=function(a){return new (a||MK)(A(xK),A(MI,8))};
MK.\u0275cmp=p({type:MK,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&&(Ng(I2b),P(0,Aya,4,4,"onedev-person-hovercard-body",0),U(1,"async"));a&2&&D("ngIf",V(1,1,b.person$))},dependencies:[yw,rK,Ew],encapsulation:2,changeDetection:0});var K2b=[[["onedev-hovercard-action"],["",8,"actions"]]],NK=function(){};NK.prototype.ngOnInit=function(){};NK.\u0275fac=function(a){return new (a||NK)};
NK.\u0275cmp=p({type:NK,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&&(Ng(K2b),P(0,Bya,3,3,"onedev-person-hovercard",0))},dependencies:[MK,jK,kK],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 OK=function(){this.isNonObfuscatedEmail=ip};OK.\u0275fac=function(a){return new (a||OK)};
OK.\u0275cmp=p({type:OK,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&&(Ng(),P(0,Dya,6,4,"ng-container",0),P(1,Eya,1,0,"ng-template",null,1,qh));if(a&2){var c=O(2);D("ngIf",!!b.email&&b.isNonObfuscatedEmail(b.email))("ngIfElse",c)}},dependencies:[yw,
Dw,iK,nK,NK],encapsulation:2,changeDetection:0});var PK=function(a){this.window=a};PK.prototype.openInNewTab=function(a){a=oi(a);pna(this.window,a,"_blank")};var Kp=function(a,b){b=oi(b);pna(a.window,b)},QK=function(a,b){a=a.window.location;b=oi(b);b=Vka(b);void 0!==b&&(a.href=b)};PK.\u0275fac=function(a){return new (a||PK)(n(EE))};PK.\u0275prov=Vc({token:PK,factory:PK.\u0275fac,providedIn:"root"});var RK=function(){this.onAction=new Rv;this.disabled=!1};RK.prototype.handleClick=function(){this.onAction.emit()};RK.\u0275fac=function(a){return new (a||RK)};
RK.\u0275cmp=p({type:RK,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&&(Ng(),E(0,"button",0),K("click",function(){return b.handleClick()}),Og(1),F());a&2&&D("disabled",b.disabled)},dependencies:[tA],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 SK=function(a,b,c){Z.call(this);this.domSafe=a;this.cdr=b;this.actionService=c;this.currentAssignee="";this.currentCc=[];this.ccActionDisabled=this.assigneeActionDisabled=!1};W(SK,Z);SK.\u0275dir=Z.\u0275dir;
SK.prototype.ngOnInit=function(){var a=this;if(this.actionService){var b;null==(b=this.actionService)||b.assignee$.pipe(dg(this.destroyed$)).subscribe(function(d){a.currentAssignee=d;a.cdr.detectChanges()});var c;null==(c=this.actionService)||c.cc$.pipe(dg(this.destroyed$)).subscribe(function(d){a.currentCc=d;a.cdr.detectChanges()})}};
var Fya=function(a){if(a.actionService&&!a.assigneeActionDisabled){a.assigneeActionDisabled=!0;var b=a.email===a.currentAssignee?"remove_user":"set_user";So(Mp.PERSON_CARD,"assigneeAction",b);N1b(a.actionService,{email:a.email,action:b}).finally(function(){a.assigneeActionDisabled=!1})}},Gya=function(a){if(a.actionService&&!a.ccActionDisabled){a.ccActionDisabled=!0;var b=a.currentCc.includes(a.email)?"remove_user":"set_user";So(Mp.PERSON_CARD,"ccAction",b);O1b(a.actionService,{email:a.email,action:b}).finally(function(){a.ccActionDisabled=
!1})}};SK.\u0275fac=function(a){return new (a||SK)(A(PK),A(sH,2),A(fK,8))};
SK.\u0275cmp=p({type:SK,selectors:[["b-issue-person-card"]],inputs:{email:"email"},features:[Ug([sH]),qg],decls:6,vars:4,consts:[[3,"email"],["class","actions",4,"ngIf"],[3,"click"],[1,"actions"],[3,"disabled","onAction"]],template:function(a,b){a&1&&(E(0,"b-person-card",0),P(1,Hya,9,8,"ng-container",1),U(2,"async"),E(3,"onedev-hovercard-action",2),K("click",function(c){So(Mp.PERSON_CARD,"showAssignedIssuesAction");var d=co({q:"assignee:"+b.email+" status:open"});c.ctrlKey||c.metaKey?b.domSafe.openInNewTab(d):
QK(b.domSafe,d)}),E(4,"span"),Q(5,"Show assigned issues"),F()()());a&2&&(D("email",b.email),z(1),D("ngIf",b.actionService&&V(2,2,b.actionService.editAccess$)))},dependencies:[yw,RK,NK,Ew],encapsulation:2,changeDetection:0});var TK=function(a,b){var c=this;this.session=a;this.userProfiles=b;this.hovercardEnabled=this.availabilityChipEnabled=!0;this.hovercardFocusEnabled=!1;this.email$=new C.ReplaySubject(1);this.showEmail$=new C.BehaviorSubject(!1);this.isNonObfuscatedEmail=ip;this.userProfile$=this.email$.pipe(cg(function(d){return c.userProfiles.get(d)})).pipe(bg(new jI));this.content$=(0,C.combineLatest)([this.email$,this.userProfile$,this.showEmail$]).pipe(B(function(d){var e=m(d);d=e.next().value;var f=e.next().value;
e=e.next().value;return(f=f.getDisplayName())?e?d+" ("+f+")":f:d}));this.vars$=(0,C.combineLatest)([this.email$,this.content$]).pipe(B(function(d){var e=m(d);d=e.next().value;e=e.next().value;return{email:d,content:e}}));this.enableWaldoAvailability=DE(this.session,"enableWaldoAvailability")&&this.session.isInternalSession()};Xi.Object.defineProperties(TK.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)}}});
TK.\u0275fac=function(a){return new (a||TK)(A(Vt),A(kI))};
TK.\u0275cmp=p({type:TK,selectors:[["b-user-display-name"]],inputs:{availabilityChipEnabled:"availabilityChipEnabled",hovercardEnabled:"hovercardEnabled",hovercardFocusEnabled:"hovercardFocusEnabled",email:"email",showEmail:"showEmail"},decls:2,vars:3,consts:[[4,"ngIf"],["displayName",""],[4,"ngIf","ngIfElse"],["coinonly","",3,"user"],["role","button",1,"keep-focus-ring",3,"onedevHovercardTrigger"],[4,"ngTemplateOutlet"],["card",""],[3,"email"]],template:function(a,b){a&1&&(P(0,Mya,4,2,"ng-container",
0),U(1,"async"));a&2&&D("ngIf",V(1,1,b.vars$))},dependencies:[yw,Dw,OI,SK,iK,nK,Ew],encapsulation:2,changeDetection:0});var Pya={"alertmanager-buganizer-handler@google.com":"https://g3doc.corp.google.com/production/borg/alertmanager/g3doc/templates/AlertManager-darkred.png","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","modem-explorer-jobs@google.com":"https://static.corp.google.com/modem-tools/riemann/logo/riemann_logo.svg","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@google.com":"https://static.corp.google.com/modem-tools/riemann/logo/riemann_logo.svg","pixel-modem-tools-issue-classifier-be@prod.google.com":"https://static.corp.google.com/modem-tools/riemann/logo/riemann_logo.svg","pixel-modem-tools-ltp-be@google.com":"https://static.corp.google.com/modem-tools/ltp/logo.svg","pixel-modem-tools-ltp-be@prod.google.com":"https://static.corp.google.com/modem-tools/ltp/logo.svg"};var UK=function(a,b){var c=this;this.userProfiles=a;this.activeSession=b;this.email$=new C.ReplaySubject(1);this.isNonObfuscatedEmail=ip;this.userProfile$=this.email$.pipe(cg(function(d){return d?c.userProfiles.get(d).pipe(bg(new jI)):(0,C.of)(void 0)}));this.vars$=(0,C.combineLatest)([this.email$,this.userProfile$]).pipe(B(function(d){var e=m(d);d=e.next().value;e=e.next().value;if(!e)return{email:d,showImage:!1,src:void 0,srcset:void 0};var f=!e.getPhotoUrl(),h=f?void 0:e.getPhotoUrl(),l;f?l=void 0:
l=Dk(e,3)?Dk(e,3)+" 2x":e.getPhotoUrl()+" 1x";return{email:d,showImage:!f,src:h,srcset:l}}))},Tya=function(a,b){return!b||a.activeSession.isExternalSession()?!1:void 0!==Pya[b]};Xi.Object.defineProperties(UK.prototype,{email:{configurable:!0,enumerable:!0,set:function(a){ip(a)?this.email$.next(a):this.email$.next(void 0)}}});UK.\u0275fac=function(a){return new (a||UK)(A(kI),A(Vt))};
UK.\u0275cmp=p({type:UK,selectors:[["b-user-image"]],inputs:{email:"email"},decls:2,vars:3,consts:[[4,"ngIf"],[4,"ngIf","ngIfElse"],["imageDisplay",""],["role","img","aria-label","user avatar",3,"onedevHovercardTrigger"],[4,"ngTemplateOutlet"],["card",""],[3,"email"],["class","user-avatar material",3,"anonymous",4,"ngIf"],["alt","",1,"user-avatar","material","robo-avatar",3,"src"],[1,"user-avatar","material"],["alt","",3,"src","srcset",4,"ngIf"],["alt","",3,"src","srcset"]],template:function(a,b){a&
1&&(P(0,Vya,4,2,"ng-container",0),U(1,"async"));a&2&&D("ngIf",V(1,1,b.vars$))},dependencies:[yw,Dw,SK,iK,nK,Ew],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 VK=function(){this.onlyTitle=this.disableDismiss=!1;this.onDismiss=new Rv;this.STATUS_TERSE=cF;this.STATUS_FULL_TEXT=gF};VK.prototype.convertIssueStatusStrToTag=function(a){return rl[a]};VK.\u0275fac=function(a){return new (a||VK)};
VK.\u0275cmp=p({type:VK,selectors:[["issue-card-compact"]],hostAttrs:[1,"carded"],inputs:{issue:"issue",dismissIcon:"dismissIcon",dismissTooltip:"dismissTooltip",disableDismiss:"disableDismiss",moreInfoIcon:"moreInfoIcon",moreInfoIconSvg:"moreInfoIconSvg",moreInfoMessage:"moreInfoMessage",moreInfoAccentColor:"moreInfoAccentColor",onlyTitle:"onlyTitle"},outputs:{onDismiss:"onDismiss"},decls:1,vars:1,consts:[[4,"ngIf"],[1,"title","line-clamp-3"],[1,"subtle-link",3,"href"],["class","dismiss",4,"ngIf"],
["class","assignee",4,"ngIf"],["class","meta",4,"ngIf"],[1,"dismiss"],["mat-icon-button","",1,"small",3,"matTooltip","disabled","click"],["inline","true",1,"google-material-icons"],[1,"assignee"],["class","margin-xs-right",3,"email",4,"ngIf"],[3,"email",4,"ngIf"],[1,"margin-xs-right",3,"email"],[3,"email"],[1,"meta"],[3,"issuePriority",4,"ngIf"],[3,"issuePriority"],["class","icon-s",3,"svgIcon",4,"ngIf"],["inline","true","class","google-material-icons icon-s",4,"ngIf"],[1,"line-clamp-2"],[1,"icon-s",
3,"svgIcon"],["inline","true",1,"google-material-icons","icon-s"]],template:function(a,b){a&1&&P(0,hza,8,7,"ng-container",0);a&2&&D("ngIf",b.issue)},dependencies:[yw,jB,UK,TK,iI,tA,NC,MJ],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 L2b={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"}}},WK=L2b;WK=L2b;var M2b={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 N2b={DECIMAL_SEP:".",GROUP_SEP:",",PERCENT:"%",ZERO_DIGIT:"0",PLUS_SIGN:"+",MINUS_SIGN:"-",EXP_SYMBOL:"E",PERMILL:"\u2030",INFINITY:"\u221e",NAN:"NaN",DECIMAL_PATTERN:"#,##0.###",SCIENTIFIC_PATTERN:"#E0",PERCENT_PATTERN:"#,##0%",CURRENCY_PATTERN:"\u00a4#,##0.00",DEF_CURRENCY_CODE:"USD"},XK=N2b;XK=N2b;var YK=function(a){this.maximumIntegerDigits_=40;this.minimumIntegerDigits_=1;this.significantDigits_=0;this.maximumFractionDigits_=3;this.minExponentDigits_=this.minimumFractionDigits_=0;this.useSignForPositiveExponent_=!1;this.positiveSuffix_=this.positivePrefix_="";this.negativePrefix_=XK.MINUS_SIGN;this.negativeSuffix_="";this.multiplier_=1;this.negativePercentSignExpected_=!1;this.groupingArray_=[];this.useExponentialNotation_=this.decimalSeparatorAlwaysShown_=!1;this.compactStyle_=0;this.pattern_=
"string"===typeof a?a:"";"number"===typeof a?this.applyStandardPattern_(a):this.applyPattern_(a)};
YK.prototype.applyPattern_=function(a){this.pattern_=a.replace(/ /g,"\u00a0");var b=[0];this.positivePrefix_=O2b(this,a,b);for(var c=b[0],d=-1,e=0,f=0,h=0,l=-1,q=a.length,u=!0;b[0]<q&&u;b[0]++)switch(a.charAt(b[0])){case "#":0<f?h++:e++;0<=l&&0>d&&l++;break;case "0":if(0<h)throw Error("dd`"+a);f++;0<=l&&0>d&&l++;break;case ",":0<l&&this.groupingArray_.push(l);l=0;break;case ".":if(0<=d)throw Error("ed`"+a);d=e+f+h;break;case "E":if(this.useExponentialNotation_)throw Error("fd`"+a);this.useExponentialNotation_=
!0;this.minExponentDigits_=0;b[0]+1<q&&"+"==a.charAt(b[0]+1)&&(b[0]++,this.useSignForPositiveExponent_=!0);for(;b[0]+1<q&&"0"==a.charAt(b[0]+1);)b[0]++,this.minExponentDigits_++;if(1>e+f||1>this.minExponentDigits_)throw Error("gd`"+a);u=!1;break;default:b[0]--,u=!1}0==f&&0<e&&0<=d&&(f=d,0==f&&f++,h=e-f,e=f-1,f=1);if(0>d&&0<h||0<=d&&(d<e||d>e+f)||0==l)throw Error("hd`"+a);h=e+f+h;this.maximumFractionDigits_=0<=d?h-d:0;0<=d&&(this.minimumFractionDigits_=e+f-d,0>this.minimumFractionDigits_&&(this.minimumFractionDigits_=
0));this.minimumIntegerDigits_=(0<=d?d:h)-e;this.useExponentialNotation_&&(this.maximumIntegerDigits_=e+this.minimumIntegerDigits_,0==this.maximumFractionDigits_&&0==this.minimumIntegerDigits_&&(this.minimumIntegerDigits_=1));this.groupingArray_.push(Math.max(0,l));this.decimalSeparatorAlwaysShown_=0==d||d==h;c=b[0]-c;this.positiveSuffix_=O2b(this,a,b);b[0]<a.length&&";"==a.charAt(b[0])?(b[0]++,1!=this.multiplier_&&(this.negativePercentSignExpected_=!0),this.negativePrefix_=O2b(this,a,b),b[0]+=c,
this.negativeSuffix_=O2b(this,a,b)):(this.negativePrefix_+=this.positivePrefix_,this.negativeSuffix_+=this.positiveSuffix_)};
YK.prototype.applyStandardPattern_=function(a){switch(a){case 1:this.applyPattern_(XK.DECIMAL_PATTERN);break;case 2:this.applyPattern_(XK.SCIENTIFIC_PATTERN);break;case 3:this.applyPattern_(XK.PERCENT_PATTERN);break;case 4:a=this.applyPattern_;var b=XK.CURRENCY_PATTERN;var c=["0"],d=M2b[XK.DEF_CURRENCY_CODE];if(d){d=d[0]&7;if(0<d){c.push(".");for(var e=0;e<d;e++)c.push("0")}b=b.replace(/0.00/g,c.join(""))}a.call(this,b);break;case 5:P2b(this,1);break;case 6:P2b(this,2);break;default:throw Error("Yc");
}};var P2b=function(a,b){a.compactStyle_=b;a.applyPattern_(XK.DECIMAL_PATTERN);a.minimumFractionDigits_=0;a.maximumFractionDigits_=2;if(0<a.minimumFractionDigits_)throw Error("Wc");a.significantDigits_=2};
YK.prototype.parse=function(a,b){b=b||[0];if(0!==this.compactStyle_)throw Error("Zc");a=a.replace(/ |\u202f/g,"\u00a0");var c=a.indexOf(this.positivePrefix_,b[0])==b[0],d=a.indexOf(this.negativePrefix_,b[0])==b[0];c&&d&&(this.positivePrefix_.length>this.negativePrefix_.length?d=!1:this.positivePrefix_.length<this.negativePrefix_.length&&(c=!1));c?b[0]+=this.positivePrefix_.length:d&&(b[0]+=this.negativePrefix_.length);if(a.indexOf(XK.INFINITY,b[0])==b[0]){b[0]+=XK.INFINITY.length;var e=Infinity}else{e=
a;var f=!1,h=!1,l=!1,q=-1,u=1,x=XK.DECIMAL_SEP,y=XK.GROUP_SEP,G=XK.EXP_SYMBOL;if(0!=this.compactStyle_)throw Error("$c");y=y.replace(/\u202f/g,"\u00a0");for(var L="";b[0]<e.length;b[0]++){var M=e.charAt(b[0]),T=Q2b(M);if(0<=T&&9>=T)L+=T,l=!0;else if(M==x.charAt(0)){if(f||h)break;L+=".";f=!0}else if(M==y.charAt(0)&&("\u00a0"!=y.charAt(0)||b[0]+1<e.length&&0<=Q2b(e.charAt(b[0]+1)))){if(f||h)break}else if(M==G.charAt(0)){if(h)break;L+="E";h=!0;q=b[0]}else if("+"==M||"-"==M){if(l&&q!=b[0]-1)break;L+=
M}else if(1==this.multiplier_&&M==XK.PERCENT.charAt(0)){if(1!=u)break;u=100;if(l){b[0]++;break}}else if(1==this.multiplier_&&M==XK.PERMILL.charAt(0)){if(1!=u)break;u=1E3;if(l){b[0]++;break}}else break}1!=this.multiplier_&&(u=this.multiplier_);e=parseFloat(L)/u}if(c){if(a.indexOf(this.positiveSuffix_,b[0])!=b[0])return NaN;b[0]+=this.positiveSuffix_.length}else if(d){if(a.indexOf(this.negativeSuffix_,b[0])!=b[0])return NaN;b[0]+=this.negativeSuffix_.length}return d?-e:e};
YK.prototype.format=function(a){if(this.minimumFractionDigits_>this.maximumFractionDigits_)throw Error("ad");if(isNaN(a))return XK.NAN;var b=[];var c=a;if(0==this.compactStyle_)c=ZK;else{c=Math.abs(c);var d=R2b(this,1>=c?0:S2b(c)).divisorBase;c=R2b(this,d+S2b(T2b(this,$K(c,-d)).intValue))}a=$K(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)U2b(this,e,this.minimumIntegerDigits_,b),V2b(this,0,b);else{var f=Math.floor(Math.log(e)/Math.log(10)+2E-15);e=$K(e,-f);var h=this.minimumIntegerDigits_;1<this.maximumIntegerDigits_&&this.maximumIntegerDigits_>this.minimumIntegerDigits_?(h=f%this.maximumIntegerDigits_,0>h&&(h=this.maximumIntegerDigits_+h),e=$K(e,h),f-=h,h=1):1>this.minimumIntegerDigits_?(f++,e=$K(e,-1)):(f-=this.minimumIntegerDigits_-1,e=$K(e,this.minimumIntegerDigits_-
1));U2b(this,e,h,b);V2b(this,f,b)}}else U2b(this,a,this.minimumIntegerDigits_,b);else b.push(XK.INFINITY);d?c.negative_suffix?b.push(c.negative_suffix):(isFinite(a)&&b.push(c.suffix),b.push(this.negativeSuffix_)):(isFinite(a)&&b.push(c.suffix),b.push(this.positiveSuffix_));return b.join("")};
var T2b=function(a,b){var c=$K(b,a.maximumFractionDigits_);0<a.significantDigits_&&(c=W2b(c,a.significantDigits_,a.maximumFractionDigits_));c=Math.round(c);isFinite(c)?(b=Math.floor($K(c,-a.maximumFractionDigits_)),a=Math.floor(c-$K(b,a.maximumFractionDigits_))):a=0;return{intValue:b,fracValue:a}},U2b=function(a,b,c,d){if(a.minimumFractionDigits_>a.maximumFractionDigits_)throw Error("ad");d||(d=[]);b=T2b(a,b);var e=b.intValue,f=b.fracValue,h=0<a.minimumFractionDigits_||0<f||!1;b=a.minimumFractionDigits_;
h&&(b=a.minimumFractionDigits_);for(var l="",q=e;1E20<q;)l="0"+l,q=Math.round($K(q,-1));l=q+l;var u=XK.DECIMAL_SEP;q=XK.ZERO_DIGIT.charCodeAt(0);var x=l.length,y=0;if(0<e||0<c){for(e=x;e<c;e++)d.push(String.fromCharCode(q));if(2<=a.groupingArray_.length)for(c=1;c<a.groupingArray_.length;c++)y+=a.groupingArray_[c];c=x-y;if(0<c){e=a.groupingArray_;y=x=0;for(var G,L=XK.GROUP_SEP,M=l.length,T=0;T<M;T++)if(d.push(String.fromCharCode(q+Number(l.charAt(T)))),1<M-T)if(G=e[y],T<c){var S=c-T;(1===G||0<G&&1===
S%G)&&d.push(L)}else y<e.length&&(T===c?y+=1:G===T-c-x+1&&(d.push(L),x+=G,y+=1))}else{c=l;l=a.groupingArray_;e=XK.GROUP_SEP;G=c.length;L=[];for(x=l.length-1;0<=x&&0<G;x--){y=l[x];for(M=0;M<y&&0<=G-M-1;M++)L.push(String.fromCharCode(q+Number(c.charAt(G-M-1))));G-=y;0<G&&L.push(e)}d.push.apply(d,L.reverse())}}else h||d.push(String.fromCharCode(q));(a.decimalSeparatorAlwaysShown_||h)&&d.push(u);f=String(f);h=f.split("e+");2==h.length&&(f=String(W2b(parseFloat(h[0]),a.significantDigits_,1)),f=f.replace(".",
""),f+=FEb("0",parseInt(h[1],10)-f.length+1));a.maximumFractionDigits_+1>f.length&&(f="1"+FEb("0",a.maximumFractionDigits_-f.length)+f);for(a=f.length;"0"==f.charAt(a-1)&&a>b+1;)a--;for(b=1;b<a;b++)d.push(String.fromCharCode(q+Number(f.charAt(b))))},V2b=function(a,b,c){c.push(XK.EXP_SYMBOL);0>b?(b=-b,c.push(XK.MINUS_SIGN)):a.useSignForPositiveExponent_&&c.push(XK.PLUS_SIGN);b=""+b;for(var d=XK.ZERO_DIGIT,e=b.length;e<a.minExponentDigits_;e++)c.push(d);c.push(b)},Q2b=function(a){a=a.charCodeAt(0);
if(48<=a&&58>a)return a-48;var b=XK.ZERO_DIGIT.charCodeAt(0);return b<=a&&a<b+10?a-b:-1},O2b=function(a,b,c){for(var d="",e=!1,f=b.length;c[0]<f;c[0]++){var h=b.charAt(c[0]);if("'"==h)c[0]+1<f&&"'"==b.charAt(c[0]+1)?(c[0]++,d+="'"):e=!e;else if(e)d+=h;else switch(h){case "#":case "0":case ",":case ".":case ";":return d;case "\u00a4":c[0]+1<f&&"\u00a4"==b.charAt(c[0]+1)?(c[0]++,d+=XK.DEF_CURRENCY_CODE):(h=XK.DEF_CURRENCY_CODE,d+=h in M2b?M2b[h][1]:h);break;case "%":if(!a.negativePercentSignExpected_&&
1!=a.multiplier_)throw Error("bd");if(a.negativePercentSignExpected_&&100!=a.multiplier_)throw Error("cd");a.multiplier_=100;a.negativePercentSignExpected_=!1;d+=XK.PERCENT;break;case "\u2030":if(!a.negativePercentSignExpected_&&1!=a.multiplier_)throw Error("bd");if(a.negativePercentSignExpected_&&1E3!=a.multiplier_)throw Error("cd");a.multiplier_=1E3;a.negativePercentSignExpected_=!1;d+=XK.PERMILL;break;default:d+=h}}return d},ZK={divisorBase:0,negative_prefix:"",negative_suffix:"",prefix:"",suffix:""},
R2b=function(a,b){a=1==a.compactStyle_?WK.COMPACT_DECIMAL_SHORT_PATTERN:WK.COMPACT_DECIMAL_LONG_PATTERN;null==a&&(a=WK.COMPACT_DECIMAL_SHORT_PATTERN);if(3>b)return ZK;b=Math.min(14,b);var c=a[$K(1,b)];for(--b;!c&&3<=b;)c=a[$K(1,b)],b--;if(!c)return ZK;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]}:ZK:ZK},S2b=function(a){if(!isFinite(a))return 0<a?a:0;for(var b=0;1<=(a/=10);)b++;return b},$K=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))},X2b=function(a,b){return a&&isFinite(a)?$K(Math.round($K(a,b)),-b):a},W2b=function(a,b,c){if(!a)return a;b=b-S2b(a)-1;return b<-c?X2b(a,-c):X2b(a,b)};var Y2b=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"},Z2b=Y2b;Z2b=Y2b;var $2b=function(a,b){var c=a|0;if(void 0===b){b=Math;var d=b.min,e=a+"",f=e.indexOf(".");b=d.call(b,-1===f?0:e.length-f-1,3)}d=Math.pow(10,b);a={v:b,f:(a*d|0)%d};return 1==c&&0==a.v?"one":"other"},a3b=$2b;a3b=$2b;var aL=function(a){this.pattern_=a;this.parsedPattern_=this.literals_=this.initialLiterals_=null;a=XK;var b=WK;if(b3b!==a||c3b!==b)b3b=a,c3b=b,d3b=new YK(1);this.numberFormatter_=d3b},b3b=null,c3b=null,d3b=null,e3b=RegExp("'([{}#].*?)'","g"),f3b=RegExp("''","g");aL.prototype.format=function(a){return this.format_(a,!1)};
aL.prototype.format_=function(a,b){if(this.pattern_){this.initialLiterals_=[];var c=g3b(this,this.pattern_);this.parsedPattern_=h3b(this,c);this.pattern_=null}if(!this.parsedPattern_||0==this.parsedPattern_.length)return"";this.literals_=Oa(this.initialLiterals_);c=[];i3b(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 i3b=function(a,b,c,d,e){for(var f=0;f<b.length;f++)switch(b[f].type){case 4:e.push(b[f].value);break;case 3:var h=b[f].value,l=a,q=e,u=c[h];void 0===u?q.push("Undefined parameter - "+h):(l.literals_.push(u),q.push(l.buildPlaceholder_(l.literals_)));break;case 2:h=b[f].value;l=a;q=c;u=d;var x=e,y=h.argumentIndex;void 0===q[y]?x.push("Undefined parameter - "+y):(y=h[q[y]],void 0===y&&(y=h.other),i3b(l,y,q,u,x));break;case 0:h=b[f].value;j3b(a,h,c,a3b,d,e);break;case 1:h=b[f].value,j3b(a,h,c,Z2b,
d,e)}},j3b=function(a,b,c,d,e,f){var h=b.argumentIndex,l=b.argumentOffset,q=+c[h];isNaN(q)?f.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=[],i3b(a,h,c,e,b),c=b.join(""),e?f.push(c):(a=a.numberFormatter_.format(l),f.push(c.replace(/#/g,a))))},g3b=function(a,b){var c=a.initialLiterals_,d=eu(a.buildPlaceholder_,a);b=b.replace(f3b,function(){c.push("'");return d(c)});return b=b.replace(e3b,function(e,f){c.push(f);return d(c)})},
k3b=function(a){var b=0,c=[],d=[],e=/[{}]/g;e.lastIndex=0;for(var f;f=e.exec(a);){var h=f.index;"}"==f[0]?(c.pop(),0==c.length&&(f={type:1},f.value=a.substring(b,h),d.push(f),b=h+1)):(0==c.length&&(b=a.substring(b,h),""!=b&&d.push({type:0,value:b}),b=h+1),c.push("{"))}b=a.substring(b);""!=b&&d.push({type:0,value:b});return d},l3b=/^\s*(\w+)\s*,\s*plural\s*,(?:\s*offset:(\d+))?/,m3b=/^\s*(\w+)\s*,\s*selectordinal\s*,/,n3b=/^\s*(\w+)\s*,\s*select\s*,/,h3b=function(a,b){var c=[];b=k3b(b);for(var d=0;d<
b.length;d++){var e={};if(0==b[d].type)e.type=4,e.value=b[d].value;else if(1==b[d].type){var f=b[d].value;switch(l3b.test(f)?0:m3b.test(f)?1:n3b.test(f)?2:/^\s*\w+\s*/.test(f)?3:5){case 2:e.type=2;e.value=o3b(a,b[d].value);break;case 0:e.type=0;e.value=p3b(a,b[d].value);break;case 1:e.type=1;e.value=q3b(a,b[d].value);break;case 3:e.type=3,e.value=b[d].value}}c.push(e)}return c},o3b=function(a,b){var c="";b=b.replace(n3b,function(l,q){c=q;return""});var d={};d.argumentIndex=c;b=k3b(b);for(var e=0;e<
b.length;){var f=b[e].value;e++;var h;1==b[e].type&&(h=h3b(a,b[e].value));d[f.replace(/\s/g,"")]=h;e++}return d},p3b=function(a,b){var c="",d=0;b=b.replace(l3b,function(q,u,x){c=u;x&&(d=parseInt(x,10));return""});var e={};e.argumentIndex=c;e.argumentOffset=d;b=k3b(b);for(var f=0;f<b.length;){var h=b[f].value;f++;var l;1==b[f].type&&(l=h3b(a,b[f].value));e[h.replace(/\s*(?:=)?(\w+)\s*/,"$1")]=l;f++}return e},q3b=function(a,b){var c="";b=b.replace(m3b,function(l,q){c=q;return""});var d={};d.argumentIndex=
c;d.argumentOffset=0;b=k3b(b);for(var e=0;e<b.length;){var f=b[e].value;e++;if(1==b[e].type)var h=h3b(a,b[e].value);d[f.replace(/\s*(?:=)?(\w+)\s*/,"$1")]=h;e++}return d};aL.prototype.buildPlaceholder_=function(a){return"\ufddf_"+(a.length-1).toString(10)+"_"};var s3b=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=EMb(b),f=EMb(c),h=EMb(d);a=b*(c+d)?" ":"";var l=c*d?" ":"";b=r3b("{COUNT, plural, =0 {}=1 {{TEXT} day}other {{TEXT} days}}",b,e);c=r3b("{COUNT, plural, =0 {}=1 {{TEXT} hour}other {{TEXT} hours}}",c,f);d=r3b("{COUNT, plural, =0 {}=1 {{TEXT} minute}other {{TEXT} minutes}}",d,h);return b+a+c+l+d},r3b=function(a,b,c){return(new aL(a)).format({COUNT:b,TEXT:c})};var bL=function(a,b){var c=this;this.userPreferencesManager=a;this.timeZonesApi=b;this.cachedFormatters=new VG(100,!0);this.userDatePrefs$=this.userPreferencesManager.dateTimePreferences$;this.userCalendarFormat$=this.userDatePrefs$.pipe(B(function(d){return d.calendarFormat||"MMM d, yyyy"}));this.userTimeFormat$=this.userDatePrefs$.pipe(B(function(d){return d.timeFormat||"hh:mma"}));this.userTimeZone$=this.userDatePrefs$.pipe(cg(function(d){return d.timeZone?c.timeZonesApi.get(d.timeZone):(0,C.of)(void 0)}))};
bL.prototype.format=function(a,b,c){var d=this.cachedFormatters.get(a);void 0===d&&(d=new dB(a),this.cachedFormatters.set(a,d));return b?d.format(c,b):d.format(c)};bL.prototype.formatUserCalendar=function(a){var b=this;return(0,C.combineLatest)([this.userCalendarFormat$,this.userTimeZone$]).pipe(B(function(c){var d=m(c);c=d.next().value;d=d.next().value;return b.format(c,d,a)}))};
bL.prototype.formatUserTime=function(a){var b=this;return(0,C.combineLatest)([this.userTimeFormat$,this.userTimeZone$]).pipe(B(function(c){var d=m(c);c=d.next().value;d=d.next().value;return b.format(c,d,a)}))};
var t3b=function(a,b){return(0,C.combineLatest)([a.userCalendarFormat$,a.userTimeFormat$,a.userTimeZone$]).pipe(B(function(c){var d=m(c);c=d.next().value;var e=d.next().value;d=d.next().value;return a.format(c+" "+e,d,b)}))},u3b=function(a,b,c){return c?a.timeZonesApi.get(c).pipe(B(function(d){return a.format("yyyy-MM-dd HH:mm:ss Z",d,b)})):(0,C.of)(a.format("yyyy-MM-dd HH:mm:ss Z",void 0,b))},RHa=function(a,b){var c=void 0;c=void 0===c?0:c;b=void 0===b?!1:b;var d=new Cj;c&&d.setTime(c);c=new Cj;
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 cB("m",a)),e=Math.floor((c.getTime()-d.getTime())/864E5));d=new cB(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"};bL.\u0275fac=function(a){return new (a||bL)(n(ZI),n(XI))};bL.\u0275prov=Vc({token:bL,factory:bL.\u0275fac,providedIn:"root"});var v3b=[["year",31536E3],["month",2592E3],["week",604800],["day",86400],["hour",3600],["minute",60],["second",1]];var w3b,x3b,y3b=[{name:"local",id:""},{name:"UTC",id:"UTC"},{name:"MTV",id:"America/Los_Angeles"}],z3b=Symbol("id"),A3b=Symbol("id"),cL=function(a){var b=this;this.dateFormatter=a;this.paddingLeftPx=5;this.timestampMs$=new C.ReplaySubject(1);this.timestampIso$=this.timestampMs$.pipe(B(function(c){return c?(new Date(c)).toISOString():""}));this.timestampDate$=this.timestampMs$.pipe(B(function(c){if(void 0!==c)return new Date(c)}));this[w3b]=this.timestampDate$.pipe(cg(function(c){if(void 0===c)return(0,C.of)("");
switch(b.mode){case "date":return b.dateFormatter.formatUserCalendar(c);case "time":return b.dateFormatter.formatUserTime(c);case "datetime":return t3b(b.dateFormatter,c);case "relativepast":a:if(c=Math.floor((new Date).getTime()/1E3-c.getTime()/1E3),300>c)c="just now";else{for(var d=m(v3b),e=d.next();!e.done;e=d.next()){var f=m(e.value);e=f.next().value;f=f.next().value;f=Math.floor(c/f);if(1===f){c=f+" "+e+" ago";break a}if(1<f){c=f+" "+e+"s ago";break a}}c=void 0}return(0,C.of)(c);default:return jj(b.mode)}}));
this[x3b]=this.timestampDate$.pipe(cg(function(c){return void 0===c?(0,C.of)(""):(0,C.combineLatest)(y3b.map(function(d){return u3b(b.dateFormatter,c,d.id).pipe(B(function(e){return{formatted:e,tzName:d.name}}))})).pipe(B3b)}));this.vars$=(0,C.combineLatest)([this[z3b],this[A3b]]).pipe(B(function(c){var d=m(c);c=d.next().value;d=d.next().value;return{formatted:c,title:d}}))};cL.prototype.ngOnInit=function(){};
Xi.Object.defineProperties(cL.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 vj?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())}}});w3b=z3b;x3b=A3b;cL.\u0275fac=function(a){return new (a||cL)(A(bL))};
cL.\u0275cmp=p({type:cL,selectors:[["b-formatted-date-time"]],inputs:{timestamp:"timestamp",date:"date",mode:"mode",paddingLeftPx:"paddingLeftPx"},decls:2,vars:3,consts:[[4,"ngIf"],[3,"title"]],template:function(a,b){a&1&&(P(0,iza,4,8,"ng-container",0),U(1,"async"));a&2&&D("ngIf",V(1,1,b.vars$))},dependencies:[yw,Ew],encapsulation:2,changeDetection:0});
var B3b=(0,C.pipe)(B(function(a){var b=new Map;a=m(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 dL=function(){};dL.\u0275fac=function(a){return new (a||dL)};dL.\u0275cmp=p({type:dL,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&&(Ng(),P(0,jza,1,0,"div",0),P(1,kza,2,0,"ng-container",1));a&2&&(D("ngIf",!b.isReady),z(1),D("ngIf",b.isReady))},dependencies:[yw],encapsulation:2});var eL=function(){this.issue=null;this.isDataLoaded=!1};eL.prototype.ngOnChanges=function(){var a;this.assignee=np(ck(null==(a=this.issue)?void 0:a.snapshot[0].assigneeUser)||void 0);this.isDataLoaded=null!==this.issue};eL.\u0275fac=function(a){return new (a||eL)};
eL.\u0275cmp=p({type:eL,selectors:[["b-issue-assignee-cell"]],inputs:{issue:"issue"},features:[Hd],decls:4,vars:3,consts:[[3,"isReady"],[3,"email",4,"ngIf","ngIfElse"],["noData",""],[3,"email"]],template:function(a,b){a&1&&(E(0,"b-async-data-placeholder",0),P(1,lza,2,2,"b-person-hovercard",1),P(2,mza,1,0,"ng-template",null,2,qh),F());if(a&2){var c=O(3);D("isReady",b.isDataLoaded);z(1);D("ngIf",b.assignee)("ngIfElse",c)}},dependencies:[dL,yw,OK],encapsulation:2,changeDetection:0});var fL=function(){this.mode="datetime";this.isDataLoaded=!1};fL.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};fL.\u0275fac=function(a){return new (a||fL)};
fL.\u0275cmp=p({type:fL,selectors:[["b-issue-created-time-cell"]],inputs:{issue:"issue",mode:"mode"},features:[Hd],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&&(E(0,"b-async-data-placeholder",0),P(1,nza,1,2,"b-formatted-date-time",1),F(),P(2,oza,1,0,"ng-template",null,2,qh));if(a&2){var c=O(3);D("isReady",b.isDataLoaded);z(1);D("ngIf",b.createdTime)("ngIfElse",c)}},dependencies:[dL,yw,cL],
encapsulation:2,changeDetection:0});var gL=function(){this.issue=null;this.isDataLoaded=!1};gL.prototype.ngOnChanges=function(){var a;this.reporter=np(ck(null==(a=this.issue)?void 0:a.snapshot[0].reporterUser)||void 0);this.isDataLoaded=null!==this.issue};gL.\u0275fac=function(a){return new (a||gL)};
gL.\u0275cmp=p({type:gL,selectors:[["b-issue-reporter-cell"]],inputs:{issue:"issue"},features:[Hd],decls:4,vars:3,consts:[[3,"isReady"],[3,"email",4,"ngIf","ngIfElse"],["noData",""],[3,"email"]],template:function(a,b){a&1&&(E(0,"b-async-data-placeholder",0),P(1,pza,2,2,"b-person-hovercard",1),P(2,qza,1,0,"ng-template",null,2,qh),F());if(a&2){var c=O(3);D("isReady",b.isDataLoaded);z(1);D("ngIf",b.reporter)("ngIfElse",c)}},dependencies:[dL,yw,OK],encapsulation:2,changeDetection:0});var hL=function(){this.STATUS_FULL_TEXT=gF;this.STATUS_TERSE=cF;this.issue=null;this.isDataLoaded=!1};hL.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};hL.prototype.convertIssueStatusStrToTag=function(a){return rl[a]};hL.\u0275fac=function(a){return new (a||hL)};
hL.\u0275cmp=p({type:hL,selectors:[["b-issue-status-cell"]],inputs:{issue:"issue"},features:[Hd],decls:4,vars:3,consts:[[3,"isReady"],[3,"class","title",4,"ngIf","ngIfElse"],["noData",""],[3,"title"]],template:function(a,b){a&1&&(E(0,"b-async-data-placeholder",0),P(1,rza,2,5,"div",1),P(2,sza,1,0,"ng-template",null,2,qh),F());if(a&2){var c=O(3);D("isReady",b.isDataLoaded);z(1);D("ngIf",b.convertIssueStatusStrToTag(b.status))("ngIfElse",c)}},dependencies:[dL,yw],encapsulation:2,changeDetection:0});var C3b=0,iL=function(a,b){Z.call(this);var c=this;this.teamsService=b;this.anchorLinkEnabled=!0;this.teamNotAssignedMessage="No team assigned";this.linkFocused=new Rv;this.linkBlurred=new Rv;this.teamName=this.teamId;this.teamLogoUrl=this.teamDescription="";this.providedTeamId$=new C.ReplaySubject(1);this.teamLinkId="b-team-link-content-"+C3b;this.fetchedTeam$=this.providedTeamId$.pipe(Qf(),Gf(function(d){return"0"!==d}),cg(function(d){return c.teamsService.getTeam(d)}),B(function(d){return d.getTeamId()!==
c.teamId?(new yE).setTeamId(c.teamId).setName(c.teamId).setDescription(""):d}),Lf(function(){return(0,C.of)((new yE).setTeamId(c.teamId).setName(c.teamId).setDescription(""))}));this.isTeamFetched$=this.fetchedTeam$.pipe(B(function(){return!0}),bg(!1));this.fetchedTeam$.pipe(dg(this.destroyed$)).subscribe(function(d){c.teamName=d.getName();c.teamDescription=d.getDescription();c.teamLogoUrl="https://moma-teams-photos.corp.google.com/logo/"+d.getTeamId()});C3b++};W(iL,Z);iL.\u0275dir=Z.\u0275dir;
g=iL.prototype;g.ngOnInit=function(){};g.ngOnChanges=function(a){a.teamId&&this.providedTeamId$.next(this.teamId)};g.trackClick=function(a){So(Mp.TEAM_CARD,"click",a,1)};g.manageComponentLink=function(){return jta(this.componentId,"basic")};g.linkAriaLabelledBy=function(){if(this.labelledById)return this.labelledById+" "+this.teamLinkId};iL.\u0275fac=function(a){return new (a||iL)(A(Vt),A(PH))};
iL.\u0275cmp=p({type:iL,selectors:[["b-team-card"]],inputs:{teamId:"teamId",componentId:"componentId",anchorLinkEnabled:"anchorLinkEnabled",teamNotAssignedMessage:"teamNotAssignedMessage",labelledById:"labelledById"},outputs:{linkFocused:"linkFocused",linkBlurred:"linkBlurred"},features:[qg,Hd],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&&(E(0,"div",0)(1,"div",1)(2,"div",2),H(3,"img",3),E(4,"div",4)(5,"div",5),H(6,"mat-icon",6),Q(7),F(),E(8,"div",7),Q(9),F()()(),E(10,"p",8),Q(11),F(),E(12,"div",9)(13,"a",10),K("click",function(){return b.trackClick("viewTeamSettingsPage")}),E(14,"button",11),Q(15,"View team settings"),F()(),E(16,"a",12),K("click",function(){return b.trackClick("viewTeamInMoma")}),E(17,"button",11),Q(18,"View team in Moma "),H(19,"mat-icon",13),F()(),P(20,tza,3,1,"a",14),
F()()());a&2&&(z(3),ug("src",b.teamLogoUrl,Ie),z(4),R(" Team: ",b.teamName," "),z(2),R("Team ID: ",b.teamId,""),z(2),Sg(b.teamDescription),z(2),Pg("routerLink","/teams/",b.teamId,"/edit"),z(3),Pg("href","https://moma.corp.google.com/team/",b.teamId,"",Ie),z(4),D("ngIf",b.componentId))},dependencies:[yw,jB,HG,tA],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 D3b=0,jL=function(a){Z.call(this);var b=this;this.teamsService=a;this.anchorLinkEnabled=!0;this.teamNotAssignedMessage="No team assigned";this.providedTeamId$=new C.ReplaySubject(1);this.teamLinkId="b-team-link-content-"+D3b;this.teamName=this.teamId;this.fetchedTeam$=this.providedTeamId$.pipe(Qf(),Gf(function(c){return"0"!==c}),cg(function(c){return b.teamsService.getTeam(c)}),B(function(c){return c.getTeamId()!==b.teamId?(new yE).setTeamId(b.teamId).setName(b.teamId).setDescription(""):c}),
Lf(function(){return(0,C.of)((new yE).setTeamId(b.teamId).setName(b.teamId).setDescription(""))}));this.isTeamFetched$=this.fetchedTeam$.pipe(B(function(){return!0}),bg(!1));this.fetchedTeam$.pipe(dg(this.destroyed$)).subscribe(function(c){b.teamName=c.getName()});D3b++};W(jL,Z);jL.\u0275dir=Z.\u0275dir;jL.prototype.ngOnInit=function(){};jL.prototype.ngOnChanges=function(a){a.teamId&&this.providedTeamId$.next(this.teamId)};jL.prototype.trackClick=function(a){So(Mp.TEAM_CARD,"click",a,1)};
jL.prototype.linkAriaLabelledBy=function(){if(this.labelledById)return this.labelledById+" "+this.teamLinkId};jL.\u0275fac=function(a){return new (a||jL)(A(PH))};
jL.\u0275cmp=p({type:jL,selectors:[["b-team-display"]],inputs:{teamId:"teamId",componentId:"componentId",anchorLinkEnabled:"anchorLinkEnabled",teamNotAssignedMessage:"teamNotAssignedMessage",labelledById:"labelledById"},features:[qg,Hd],decls:8,vars:6,consts:[[4,"ngIf","ngIfElse"],["card","onedevHovercard"],[3,"componentId","teamId"],["loading",""],["target","_blank","class","card-anchor keep-focus-ring",3,"href","onedevHovercardTrigger","click",4,"ngIf"],[3,"onedevHovercardTrigger",4,"ngIf"],["target",
"_blank",1,"card-anchor","keep-focus-ring",3,"href","onedevHovercardTrigger","click"],["svgIcon","pop-out",1,"icon-xs"],[3,"onedevHovercardTrigger"],["class","animated-loading-bar",4,"ngIf"],[4,"ngIf"],[1,"animated-loading-bar"]],template:function(a,b){a&1&&(P(0,wza,3,2,"ng-container",0),U(1,"async"),E(2,"onedev-hovercard",null,1),I(4),H(5,"b-team-card",2),J(),F(),P(6,zza,2,2,"ng-template",null,3,qh));if(a&2){var c=O(7);D("ngIf","0"!=b.teamId&&V(1,4,b.isTeamFetched$))("ngIfElse",c);z(5);D("componentId",
null==b.componentId?null:b.componentId.toString())("teamId",b.teamId.toString())}},dependencies:[yw,jB,iK,nK,iL,Ew]});var kL=function(){this.issue=null;this.componentId=this.teamId="";this.isDataLoaded=!1};kL.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};kL.\u0275fac=function(a){return new (a||kL)};
kL.\u0275cmp=p({type:kL,selectors:[["b-issue-team-cell"]],inputs:{issue:"issue"},features:[Hd],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&&(E(0,"b-async-data-placeholder",0),P(1,Aza,1,3,"b-team-display",1),P(2,Bza,1,0,"ng-template",null,2,qh),F());if(a&2){var c=O(3);D("isReady",b.isDataLoaded);
z(1);D("ngIf",b.teamId)("ngIfElse",c)}},dependencies:[dL,yw,jL],encapsulation:2,changeDetection:0});var E3b=Yt(["https://www.gstatic.com/buganizer/gfx/","/",""]),lL=Yt(["https://www.gstatic.com/buganizer/img/v2/",""]),F3b=li(E3b,"2023-03-14-05391d2a","all-icons.svg"),G3b=li(lL,"empty_blocker_light.png"),H3b=li(lL,"empty_blocker_dark.png"),I3b=li(lL,"empty_child_light.png"),J3b=li(lL,"empty_child_dark.png"),K3b=li(lL,"robot_sleeping.png"),L3b=li(lL,"tea_light.png"),M3b=li(lL,"tea_dark.png"),N3b=li(lL,"space_empty_state.png");var mL=function(a,b,c,d){Z.call(this);var e=this;this.currentTrackerId=a;this.activeSession=b;this.trackerFridge=c;this.errorHandler=d;this.handleTrackerError=function(f){e.errorHandler.errorHandler(null,f)};this.enableTrackersComponentPathTruncation=DE(this.activeSession,"enableTrackersComponentPathTruncation");this.enableTrackers=this.currentTrackerId.enableTrackers;this.trackerId$=this.currentTrackerId.trackerId$;this.tracker$=this.trackerId$.pipe(cg(function(f){return""===f?(0,C.of)(void 0):e.trackerFridge.watch(f).pipe(bg(void 0))}));
this.inTracker$=this.tracker$.pipe(B(function(f){return!!f}));this.inTracker=!1;this.associatedTrackers$=this.tracker$.pipe(B(function(f){var h;return null!=(h=null==f?void 0:f.associatedTrackerIds)?h:[]}),cg(this.trackerFridge.watchSet));this.availableTrackers$=this.associatedTrackers$.pipe(fg(this.tracker$),B(function(f){var h=m(f);f=h.next().value;return(h=h.next().value)?[h].concat(r(f)):[]}));this.trackerFridge.error$.pipe(dg(this.destroyed$)).subscribe(this.handleTrackerError);this.tracker$.pipe(dg(this.destroyed$)).subscribe(function(f){e.tracker=
f});this.inTracker$.pipe(dg(this.destroyed$)).subscribe(function(f){e.inTracker=f})};W(mL,Z);mL.\u0275dir=Z.\u0275dir;mL.prototype.getTrackerId=function(){return this.currentTrackerId.getTrackerId()};var O3b=function(a){a=a.getTrackerId();if(""!==a&&"0"!==a)return[a]};mL.prototype.setTrackerId=function(a){this.currentTrackerId.setTrackerId(a)};
var nL=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:P3b(a,b,!0,c.trackerId,d)):a=P3b(a,b,!1,"",d);return a},P3b=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},oL=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)}};mL.\u0275fac=function(a){return new (a||mL)(n(FE),n(Vt),n(WH),n(ZF))};mL.\u0275prov=Vc({token:mL,factory:mL.\u0275fac,providedIn:"root"});var pL=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=""};
pL.prototype.ngOnChanges=function(a){if(a.tracker||a.isGlobalBuganizer){this.redirectUrl=nL(this.currentTracker,"",this.tracker);this.name=this.getName();this.extendedName=this.isGlobalBuganizer?this.name:"the "+this.name+" Tracker";if(this.isGlobalBuganizer)a="https://www.gstatic.com/buganizer/img/v3/logo_light.svg";else{var b,c;if(null==(b=this.tracker)?0:null==(c=b.branding)?0:c.logoUrl){var d,e,f;a=null!=(f=null==(d=this.tracker)?void 0:null==(e=d.branding)?void 0:e.logoUrl)?f:""}else a="https://www.gstatic.com/buganizer/img/v3/logo_light.svg"}this.logoLight=
a;if(this.isGlobalBuganizer)d="https://www.gstatic.com/buganizer/img/v3/logo_dark.svg";else{var h;d=null!=(h=this.logoLight)?h:""}this.logoDark=d}};pL.prototype.getName=function(){if(this.isGlobalBuganizer)return this.activeSession.getAppName();var a,b;return null!=(b=null==(a=this.tracker)?void 0:a.name)?b:""};pL.\u0275fac=function(a){return new (a||pL)(A(Vt),A(mL))};
pL.\u0275cmp=p({type:pL,selectors:[["b-tracker-chip"]],inputs:{tracker:"tracker",compactMode:"compactMode",showHovercard:"showHovercard",isGlobalBuganizer:"isGlobalBuganizer"},features:[Hd],decls:1,vars:1,consts:[[4,"ngIf"],[1,"chippy","rounded",3,"onedevHovercardTrigger","onedevHovercardActive"],["alt","",1,"logo","light-only",3,"src"],["alt","",1,"logo","dark-only",3,"src"],[1,"name"],["card","onedevHovercard"],[1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"hovertext"],[1,"flex-kids-y",
"padded-s-top","actions"],["mat-button","","target","_blank",1,"gmat-button","primary",3,"href"],["mat-button","","class","gmat-button primary","href","http://go/chrome-buganizer#trackers","target","_blank",4,"ngIf"],["mat-button","","href","http://go/chrome-buganizer#trackers","target","_blank",1,"gmat-button","primary"]],template:function(a,b){a&1&&P(0,Eza,17,12,"ng-container",0);a&2&&D("ngIf",b.tracker||b.isGlobalBuganizer)},dependencies:[yw,iK,nK,uA],styles:[".dark-mode   [_nghost-%COMP%]    , .light-mode   [_nghost-%COMP%]    , :root   [_nghost-%COMP%]    {--tracker-chip-bg:#d5e2fa}.dark-mode   [_nghost-%COMP%]    {--tracker-chip-bg:#283143}.chippy[_ngcontent-%COMP%]{color:#202124;color:var(--text-high-contrast);margin-right:8px;background:var(--tracker-chip-bg);display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;padding-right:10px;vertical-align:middle;border:0;box-shadow:none}.chippy[_ngcontent-%COMP%]:focus{outline:1px solid var(--primary)}.chippy.xs[_ngcontent-%COMP%]{margin-right:4px}.chippy.xs[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{width:14px;height:14px}.logo[_ngcontent-%COMP%]{margin-right:4px;width:16px;height:16px}.onedev-hovercard-body[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.onedev-hovercard-body[_ngcontent-%COMP%]   .hovertext[_ngcontent-%COMP%]{margin-bottom:1em}.onedev-hovercard-body[_ngcontent-%COMP%]   .actions[_ngcontent-%COMP%]{-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-ms-flex-align:start;align-items:flex-start}.onedev-hovercard-body[_ngcontent-%COMP%]   .actions[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{height:24px;line-height:24px;margin-left:-8px}"],
changeDetection:0});var qL=function(a,b){var c=this;this.currentTracker=a;this.trackerFridge=b;this.compactMode=!1;this.showHovercard=!0;this.trackerId$=new C.BehaviorSubject("");this.tracker$=this.trackerId$.pipe(zf(function(d){return!c.currentTracker.enableTrackers||Sn(d)?(0,C.of)(void 0):c.trackerFridge.watch(d)}));this.isCurrentTracker$=(0,C.combineLatest)([this.currentTracker.trackerId$,this.trackerId$]).pipe(B(function(d){var e=m(d);d=e.next().value;e=e.next().value;return Sn(d)?Sn(e):d===e}))};
qL.prototype.ngOnChanges=function(a){a.trackerId&&this.trackerId$.next(this.trackerId||"")};Xi.Object.defineProperties(qL.prototype,{isGlobalBuganizer:{configurable:!0,enumerable:!0,get:function(){return Sn(this.trackerId)}}});qL.\u0275fac=function(a){return new (a||qL)(A(mL),A(WH))};
qL.\u0275cmp=p({type:qL,selectors:[["b-tracker-chip-smart"]],inputs:{trackerId:"trackerId",compactMode:"compactMode",showHovercard:"showHovercard"},features:[Hd],decls:2,vars:3,consts:[[3,"tracker","compactMode","showHovercard","isGlobalBuganizer",4,"ngIf"],[3,"tracker","compactMode","showHovercard","isGlobalBuganizer"]],template:function(a,b){a&1&&(P(0,Fza,2,6,"b-tracker-chip",0),U(1,"async"));a&2&&D("ngIf",b.currentTracker.enableTrackers&&!1===V(1,1,b.isCurrentTracker$))},dependencies:[yw,pL,Ew],
encapsulation:2,changeDetection:0});var rL=function(){this.issue=null;this.useButtonToNavigate=!1;this.anchorTarget=void 0;this.title="";this.isDataLoaded=!1;this.link=""};rL.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:"")};rL.prototype.getIssueUrl=function(a){return this.issueUrlFactory?this.issueUrlFactory(a):$n(a)};
rL.\u0275fac=function(a){return new (a||rL)};
rL.\u0275cmp=p({type:rL,selectors:[["b-issue-title-cell"]],hostAttrs:[1,"flex-kids-x"],inputs:{issue:"issue",issueUrlFactory:"issueUrlFactory",useButtonToNavigate:"useButtonToNavigate",anchorTarget:"anchorTarget"},features:[Hd],decls:5,vars:5,consts:[[1,"title","title-location","gap-xs",3,"isReady"],[3,"trackerId","compactMode"],[4,"ngIf","ngIfElse"],["useLinkToNavigate",""],["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&&(E(0,"b-async-data-placeholder",0),H(1,"b-tracker-chip-smart",1),P(2,Gza,5,3,"ng-container",2),P(3,Hza,2,3,"ng-template",null,3,qh),F());if(a&2){var c=O(4);D("isReady",b.isDataLoaded);z(1);D("trackerId",null==b.issue?null:b.issue.trackerId)("compactMode",!0);z(1);D("ngIf",b.useButtonToNavigate)("ngIfElse",c)}},dependencies:[dL,
yw,uA,jB,HG,qL],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 sL=function(){this.type=this.issue=null;this.isDataLoaded=!1};sL.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};sL.\u0275fac=function(a){return new (a||sL)};
sL.\u0275cmp=p({type:sL,selectors:[["b-issue-type-cell"]],inputs:{issue:"issue"},features:[Hd],decls:4,vars:3,consts:[[1,"nowrap",3,"isReady"],[4,"ngIf","ngIfElse"],["noData",""]],template:function(a,b){a&1&&(E(0,"b-async-data-placeholder",0),P(1,Iza,3,3,"ng-container",1),P(2,Jza,1,0,"ng-template",null,2,qh),F());if(a&2){var c=O(3);D("isReady",b.isDataLoaded);z(1);D("ngIf",b.type)("ngIfElse",c)}},dependencies:[dL,yw,MJ],encapsulation:2,changeDetection:0});var Q3b=["actionsMenuIconButton"],tL=function(){this.buttonLabel="";this.buttonIcon="more-settings-vertical"};tL.prototype.trackByIndex=function(a){return a};tL.prototype.onAction=function(a,b){return of(function(c){if("mouseup"===a.type&&a instanceof MouseEvent&&1!==a.button)return c.return();"action"!==b.type&&"select"!==b.type||b.action(a);tf(c)})};tL.prototype.ngOnInit=function(){};tL.\u0275fac=function(a){return new (a||tL)};
tL.\u0275cmp=p({type:tL,selectors:[["b-actions-menu"]],viewQuery:function(a,b){a&1&&ih(Q3b,5);if(a&2){var c;hh(c=kh())&&(b.actionsMenuIconButton=c.first)}},inputs:{menuItems:"menuItems",buttonLabel:"buttonLabel",buttonIcon:"buttonIcon",header:"header"},decls:6,vars:4,consts:[["mat-icon-button","","class","gmat-button medium","aria-haspopup","true",3,"matTooltip","matMenuTriggerFor",4,"ngIf"],["menu","matMenu"],[1,"b-actions-menu-panel"],["class","bv2-menu-header",4,"ngIf"],[4,"ngFor","ngForOf","ngForTrackBy"],
["mat-icon-button","","aria-haspopup","true",1,"gmat-button","medium",3,"matTooltip","matMenuTriggerFor"],["actionsMenuIconButton",""],[1,"icon-s",3,"svgIcon"],[1,"bv2-menu-header"],[4,"ngIf"],["mat-menu-item","",3,"matMenuTriggerFor"],["class","icon-s",3,"svgIcon",4,"ngIf"],["class","hint",4,"ngIf"],["submenu","matMenu"],[1,"hint"],["mat-menu-item","",3,"disabled","ngClass","click","mouseup",4,"ngIf"],["mat-menu-item","","role","menuitemcheckbox",3,"b-menu-item-checked","disabled","ngClass","click",
"mouseup",4,"ngIf"],["mat-menu-item","",3,"disabled","ngClass","click","mouseup"],["mat-menu-item","","role","menuitemcheckbox",3,"disabled","ngClass","click","mouseup"],[1,"b-menu-item-check-mark"],["svgIcon","done",1,"icon-s"]],template:function(a,b){a&1&&(P(0,Kza,3,4,"button",0),E(1,"mat-menu",null,1)(3,"div",2),P(4,Lza,2,1,"div",3),P(5,Zza,3,2,"ng-container",4),F()());a&2&&(D("ngIf",0<b.menuItems.length),z(4),D("ngIf",b.header),z(1),D("ngForOf",b.menuItems)("ngForTrackBy",b.trackByIndex))},dependencies:[FC,
DC,EC,ww,xw,yw,jB,tA,NC],styles:["[_nghost-%COMP%]{display:inline-block}.mat-menu-item[_ngcontent-%COMP%]{align-items:center;display:flex}.mat-menu-item[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%]{margin-right:8px}.mat-menu-item[_ngcontent-%COMP%]   .hint[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted);margin-left:auto;padding-left:16px}  .b-actions-menu-panel .mat-menu-item[disabled]{pointer-events:auto}\n/*# sourceMappingURL=actions_menu.css.map */"],changeDetection:0});var uL=function(){};uL.prototype.onClick=function(a,b){R3b(b)&&a.preventDefault()};var R3b=function(a){if(window.getSelection){var b=window.getSelection();if(b&&!b.isCollapsed&&a.contains(b.focusNode))return!0}return!1};uL.\u0275fac=function(a){return new (a||uL)};uL.\u0275dir=qd({type:uL,selectors:[["","selectionPreventsClick",""]],hostBindings:function(a,b){a&1&&K("click",function(c){return b.onClick(c,c.target)})}});var S3b=new Bd("CDK_DRAG_PARENT");var T3b=new Bd("CdkDragHandle"),vL=function(a,b){this.element=a;this._stateChanges=new C.Subject;this._disabled=!1;this._parentDrag=b};vL.prototype.ngOnDestroy=function(){this._stateChanges.complete()};Xi.Object.defineProperties(vL.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){this._disabled=bi(a);this._stateChanges.next(this)}}});vL.\u0275fac=function(a){return new (a||vL)(A(ke),A(S3b,12))};
vL.\u0275dir=qd({type:vL,selectors:[["","cdkDragHandle",""]],hostAttrs:[1,"cdk-drag-handle"],inputs:{disabled:["cdkDragHandleDisabled","disabled"]},standalone:!0,features:[Ug([{provide:T3b,useExisting:vL}])]});var U3b=new Bd("CdkDragPlaceholder");var V3b=new Bd("CdkDragPreview"),wL=function(a){this.templateRef=a;this._matchSize=!1};Xi.Object.defineProperties(wL.prototype,{matchSize:{configurable:!0,enumerable:!0,get:function(){return this._matchSize},set:function(a){this._matchSize=bi(a)}}});wL.\u0275fac=function(a){return new (a||wL)(A(eh))};wL.\u0275dir=qd({type:wL,selectors:[["ng-template","cdkDragPreview",""]],inputs:{data:"data",matchSize:"matchSize"},standalone:!0,features:[Ug([{provide:V3b,useExisting:wL}])]});var W3b=new Bd("CDK_DRAG_CONFIG");var X3b=new Bd("CdkDropListGroup"),xL=function(){this._items=new Set;this._disabled=!1};xL.prototype.ngOnDestroy=function(){this._items.clear()};Xi.Object.defineProperties(xL.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){this._disabled=bi(a)}}});xL.\u0275fac=function(a){return new (a||xL)};
xL.\u0275dir=qd({type:xL,selectors:[["","cdkDropListGroup",""]],inputs:{disabled:["cdkDropListGroupDisabled","disabled"]},exportAs:["cdkDropListGroup"],standalone:!0,features:[Ug([{provide:X3b,useExisting:xL}])]});var Y3b=Vh({passive:!1,capture:!0}),yL=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 C.Subject;this.pointerUp=new C.Subject;this.scroll=new C.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},Z3b=function(a,b){a._dropInstances.has(b)||a._dropInstances.add(b)},$3b=function(a,b){a._dragInstances.add(b);1===a._dragInstances.size&&a._ngZone.runOutsideAngular(function(){a._document.addEventListener("touchmove",a._persistentTouchmoveListener,Y3b)})},b4b=function(a,b){a._dragInstances.delete(b);a4b(a,b);0===a._dragInstances.size&&a._document.removeEventListener("touchmove",a._persistentTouchmoveListener,
Y3b)};
yL.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:Y3b}),a||this._globalListeners.set("mousemove",{handler:function(d){return c.pointerMove.next(d)},
options:Y3b}),this._ngZone.runOutsideAngular(function(){c._globalListeners.forEach(function(d,e){c._document.addEventListener(e,d.handler,d.options)})})))};var a4b=function(a,b){b=a._activeDragInstances.indexOf(b);-1<b&&(a._activeDragInstances.splice(b,1),0===a._activeDragInstances.length&&a._clearGlobalListeners())};yL.prototype.isDragging=function(a){return-1<this._activeDragInstances.indexOf(a)};
yL.prototype.scrolled=function(a){var b=this,c=[this.scroll];a&&a!==this._document&&c.push(new C.Observable(function(d){return b._ngZone.runOutsideAngular(function(){var e=function(f){b._activeDragInstances.length&&d.next(f)};a.addEventListener("scroll",e,!0);return function(){a.removeEventListener("scroll",e,!0)}})}));return C.merge.apply(null,r(c))};
yL.prototype.ngOnDestroy=function(){var a=this;this._dragInstances.forEach(function(b){return b4b(a,b)});this._dropInstances.forEach(function(b){a._dropInstances.delete(b)});this._clearGlobalListeners();this.pointerMove.complete();this.pointerUp.complete()};yL.prototype._clearGlobalListeners=function(){var a=this;this._globalListeners.forEach(function(b,c){a._document.removeEventListener(c,b.handler,b.options)});this._globalListeners.clear()};yL.\u0275fac=function(a){return new (a||yL)(n(hg),n(Vi))};
yL.\u0275prov=Vc({token:yL,factory:yL.\u0275fac,providedIn:"root"});var gAa=0;var zL=function(a){this._document=a;this.positions=new Map};zL.prototype.clear=function(){this.positions.clear()};zL.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:$za(c)})})};
var c4b=function(a,b){var c=$h(b);b=a.positions.get(c);if(!b)return null;b=b.scrollPosition;if(c===a._document){var d=a.getViewportScrollPosition();var e=d.top;d=d.left}else e=c.scrollTop,d=c.scrollLeft;var f=b.top-e,h=b.left-d;a.positions.forEach(function(l,q){l.clientRect&&c!==q&&c.contains(q)&&qp(l.clientRect,f,h)});b.top=e;b.left=d;return{top:f,left:h}};zL.prototype.getViewportScrollPosition=function(){return{top:window.scrollY,left:window.scrollX}};var d4b=Vh({passive:!0}),e4b=Vh({passive:!1}),iAa=new Set(["position"]),AL=function(a,b,c,d,e,f){var h=this;this._config=b;this._document=c;this._ngZone=d;this._viewportRuler=e;this._dragDropRegistry=f;this._passiveTransform={x:0,y:0};this._activeTransform={x:0,y:0};this._hasStartedDragging=!1;this._moveEvents=new C.Subject;this._resizeSubscription=this._scrollSubscription=this._pointerUpSubscription=this._pointerMoveSubscription=C.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 C.Subject;this.started=new C.Subject;this.released=new C.Subject;this.ended=new C.Subject;this.entered=new C.Subject;this.exited=new C.Subject;this.dropped=new C.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 u=h._getConstrainedPointerPosition(q);h._hasMoved=!0;h._lastKnownPointerPosition=q;h._updatePointerDirectionDelta(u);if(h._dropContainer)h._updateActiveDropContainer(u,q);else{q=h.constrainPosition?h._initialClientRect:h._pickupPositionOnPage;var x=h._activeTransform;x.x=u.x-q.x+h._passiveTransform.x;x.y=u.y-q.y+h._passiveTransform.y;
h._applyRootElementTransform(x.x,x.y)}h._moveEvents.observers.length&&h._ngZone.run(function(){h._moveEvents.next({source:h,pointerPosition:u,event:l,distance:h._getDragDistance(u),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),x=h._dropContainer,q)?x&&(x.isDragging()||0<x._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()};f4b(g4b(this,a),b.parentDragRef||null);this._parentPositions=new zL(c);$3b(f,this)};AL.prototype.getPlaceholderElement=function(){return this._placeholder};
AL.prototype.getRootElement=function(){return this._rootElement};
var h4b=function(a){return a.isDragging()?a.getPlaceholderElement():a.getRootElement()},i4b=function(a,b){a._handles=b.map(function(d){return di(d)});a._handles.forEach(function(d){return rp(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},g4b=function(a,b){var c=di(b);c!==a._rootElement&&(a._rootElement&&a._removeRootElementListeners(a._rootElement),a._ngZone.runOutsideAngular(function(){c.addEventListener("mousedown",
a._pointerDown,e4b);c.addEventListener("touchstart",a._pointerDown,d4b);c.addEventListener("dragstart",a._nativeDragStart,e4b)}),a._initialTransform=void 0,a._rootElement=c);"undefined"!==typeof SVGElement&&a._rootElement instanceof SVGElement&&(a._ownerSVGElement=a._rootElement.ownerSVGElement);return a},j4b=function(a,b){a._boundaryElement=b?di(b):null;a._resizeSubscription.unsubscribe();b&&(a._resizeSubscription=a._viewportRuler.change(10).subscribe(function(){return a._containInsideBoundaryOnResize()}));
return a},f4b=function(a,b){a._parentDragRef=b};g=AL.prototype;
g.dispose=function(){this._removeRootElementListeners(this._rootElement);if(this.isDragging()){var a;null==(a=this._rootElement)||a.remove()}var b;null==(b=this._anchor)||b.remove();this._destroyPreview();this._destroyPlaceholder();b4b(this._dragDropRegistry,this);this._removeSubscriptions();this.beforeStarted.complete();this.started.complete();this.released.complete();this.ended.complete();this.entered.complete();this.exited.complete();this.dropped.complete();this._moveEvents.complete();this._handles=
[];this._disabledHandles.clear();this._dropContainer=void 0;this._resizeSubscription.unsubscribe();this._parentPositions.clear();this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=this._parentDragRef=null};g.isDragging=function(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)};
g.reset=function(){this._rootElement.style.transform=this._initialTransform||"";this._activeTransform={x:0,y:0};this._passiveTransform={x:0,y:0}};g.withDirection=function(a){this._direction=a;return this};g._withDropContainer=function(a){this._dropContainer=a};g.setFreeDragPosition=function(a){this._activeTransform={x:0,y:0};this._passiveTransform.x=a.x;this._passiveTransform.y=a.y;this._dropContainer||this._applyRootElementTransform(a.x,a.y)};
g._sortFromLastPointerPosition=function(){var a=this._lastKnownPointerPosition;a&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(a),a)};g._removeSubscriptions=function(){this._pointerMoveSubscription.unsubscribe();this._pointerUpSubscription.unsubscribe();this._scrollSubscription.unsubscribe()};g._destroyPreview=function(){var a;null==(a=this._preview)||a.remove();var b;null==(b=this._previewRef)||b.destroy();this._preview=this._previewRef=null};
g._destroyPlaceholder=function(){var a;null==(a=this._placeholder)||a.remove();var b;null==(b=this._placeholderRef)||b.destroy();this._placeholder=this._placeholderRef=null};
g._endDragSequence=function(a){var b=this;if(this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),a4b(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();
a4b(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();a4b(this._dragDropRegistry,this)}};
g._startDragSequence=function(a){sp(a)&&(this._lastTouchEventTime=Date.now());this._toggleNativeDragInteractions();var b=this._dropContainer;if(b){var c=this._rootElement,d=c.parentNode,e=this._placeholder=this._createPlaceholderElement(),f=this._anchor=this._anchor||this._document.createComment(""),h=this._getShadowRoot();d.insertBefore(f,c);this._initialTransform=c.style.transform||"";this._preview=this._createPreviewElement();jAa(c,!1);this._document.body.appendChild(d.replaceChild(e,c));this._getPreviewInsertionPoint(d,
h).appendChild(this._preview);this.started.next({source:this,event:a});b.start();this._initialContainer=b;this._initialIndex=b.getItemIndex(this)}else this.started.next({source:this,event:a}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(b?b._scrollableElements:[])};
g._initializeDragSequence=function(a,b){var c=this;this._parentDragRef&&b.stopPropagation();var d=this.isDragging(),e=sp(b),f=!e&&0!==b.button,h=this._rootElement,l=$h(b),q=!e&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now();e=e?gi(b):fi(b);l&&l.draggable&&"mousedown"===b.type&&b.preventDefault();d||f||q||e||(this._handles.length&&(d=h.style,this._rootElementTapHighlight=d.webkitTapHighlightColor||"",d.webkitTapHighlightColor="transparent"),this._hasStartedDragging=this._hasMoved=
!1,this._removeSubscriptions(),this._initialClientRect=this._rootElement.getBoundingClientRect(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(function(u){return c._updateOnScroll(u)}),this._boundaryElement&&(this._boundaryRect=$za(this._boundaryElement)),this._pickupPositionInElement=
(d=this._previewTemplate)&&d.template&&!d.matchSize?{x:0,y:0}:this._getPointerPositionInElement(this._initialClientRect,a,b),a=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(b),this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:a.x,y:a.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,b))};
g._cleanupDragArtifacts=function(a){var b=this;jAa(this._rootElement,!0);this._anchor.parentNode.replaceChild(this._rootElement,this._anchor);this._destroyPreview();this._destroyPlaceholder();this._initialClientRect=this._boundaryRect=this._previewRect=this._initialTransform=void 0;this._ngZone.run(function(){var c=b._dropContainer,d=c.getItemIndex(b),e=b._getPointerPositionOnPage(a),f=b._getDragDistance(e),h=c._isOverContainer(e.x,e.y);b.ended.next({source:b,distance:f,dropPoint:e,event:a});b.dropped.next({item:b,
currentIndex:d,previousIndex:b._initialIndex,container:c,previousContainer:b._initialContainer,isPointerOverContainer:h,distance:f,dropPoint:e,event:a});c.drop(b,d,b._initialIndex,b._initialContainer,h,f,e,a);b._dropContainer=b._initialContainer})};
g._updateActiveDropContainer=function(a,b){var c=this,d=a.x,e=a.y;a=b.x;b=b.y;var f=this._initialContainer._getSiblingContainerFromPosition(this,d,e);!f&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(d,e)&&(f=this._initialContainer);f&&f!==this._dropContainer&&this._ngZone.run(function(){c.exited.next({item:c,container:c._dropContainer});c._dropContainer.exit(c);c._dropContainer=f;c._dropContainer.enter(c,d,e,f===c._initialContainer&&f.sortingDisabled?c._initialIndex:
void 0);c.entered.next({item:c,container:f,currentIndex:f.getItemIndex(c)})});this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(a,b),this._dropContainer._sortItem(this,d,e,this._pointerDirectionDelta),this.constrainPosition?this._applyPreviewTransform(d,e):this._applyPreviewTransform(d-this._pickupPositionInElement.x,e-this._pickupPositionInElement.y))};
g._createPreviewElement=function(){var a=this._previewTemplate,b=this.previewClass,c=a?a.template:null;if(c&&a){var d=a.matchSize?this._initialClientRect:null;c=a.viewContainer.createEmbeddedView(c,a.context);c.detectChanges();var e=pAa(c,this._document);this._previewRef=c;a.matchSize?qAa(e,d):e.style.transform=oAa(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else e=fAa(this._rootElement),qAa(e,this._initialClientRect),this._initialTransform&&(e.style.transform=this._initialTransform);
hAa(e.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":""+(this._config.zIndex||1E3)},iAa);rp(e,!1);e.classList.add("cdk-drag-preview");e.setAttribute("dir",this._direction);b&&(Array.isArray(b)?b.forEach(function(f){return e.classList.add(f)}):e.classList.add(b));return e};
g._animatePreviewToPlaceholder=function(){var a=this;if(!this._hasMoved)return Promise.resolve();var b=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating");this._applyPreviewTransform(b.left,b.top);var c=nAa(this._preview);return 0===c?Promise.resolve():this._ngZone.runOutsideAngular(function(){return new Promise(function(d){var e=function(h){if(!h||$h(h)===a._preview&&"transform"===h.propertyName){var l;null==(l=a._preview)||l.removeEventListener("transitionend",
e);d();clearTimeout(f)}},f=setTimeout(e,1.5*c);a._preview.addEventListener("transitionend",e)})})};g._createPlaceholderElement=function(){var a=this._placeholderTemplate,b=a?a.template:null;b?(this._placeholderRef=a.viewContainer.createEmbeddedView(b,a.context),this._placeholderRef.detectChanges(),a=pAa(this._placeholderRef,this._document)):a=fAa(this._rootElement);a.style.pointerEvents="none";a.classList.add("cdk-drag-placeholder");return a};
g._getPointerPositionInElement=function(a,b,c){b=(b=b===this._rootElement?null:b)?b.getBoundingClientRect():a;c=sp(c)?c.targetTouches[0]:c;var d=this._getViewportScrollPosition();return{x:b.left-a.left+(c.pageX-b.left-d.left),y:b.top-a.top+(c.pageY-b.top-d.top)}};
g._getPointerPositionOnPage=function(a){var b=this._getViewportScrollPosition(),c=sp(a)?a.touches[0]||a.changedTouches[0]||{pageX:0,pageY:0}:a;a=c.pageX-b.left;b=c.pageY-b.top;if(this._ownerSVGElement&&(c=this._ownerSVGElement.getScreenCTM())){var d=this._ownerSVGElement.createSVGPoint();d.x=a;d.y=b;return d.matrixTransform(c.inverse())}return{x:a,y:b}};
g._getConstrainedPointerPosition=function(a){var b=this._dropContainer?this._dropContainer.lockAxis:null,c=this.constrainPosition?this.constrainPosition(a,this,this._initialClientRect,this._pickupPositionInElement):a;a=c.x;c=c.y;if("x"===this.lockAxis||"x"===b)c=this._pickupPositionOnPage.y;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 f=this._getPreviewRect(),h=d.top+e;e=d.bottom-
(f.height-e);a=Math.max(d.left+b,Math.min(d.right-(f.width-b),a));c=Math.max(h,Math.min(e,c))}return{x:a,y:c}};g._updatePointerDirectionDelta=function(a){var b=a.x;a=a.y;var c=this._pointerDirectionDelta,d=this._pointerPositionAtLastDirectionChange,e=Math.abs(a-d.y);Math.abs(b-d.x)>this._config.pointerDirectionChangeThreshold&&(c.x=b>d.x?1:-1,d.x=b);e>this._config.pointerDirectionChangeThreshold&&(c.y=a>d.y?1:-1,d.y=a);return c};
g._toggleNativeDragInteractions=function(){if(this._rootElement&&this._handles){var a=0<this._handles.length||!this.isDragging();a!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=a,rp(this._rootElement,a))}};g._removeRootElementListeners=function(a){a.removeEventListener("mousedown",this._pointerDown,e4b);a.removeEventListener("touchstart",this._pointerDown,d4b);a.removeEventListener("dragstart",this._nativeDragStart,e4b)};
g._applyRootElementTransform=function(a,b){a=oAa(a,b);b=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=b.transform&&"none"!=b.transform?b.transform:"");b.transform=kAa(a,this._initialTransform)};g._applyPreviewTransform=function(a,b){var c,d=(null==(c=this._previewTemplate)?0:c.template)?void 0:this._initialTransform;this._preview.style.transform=kAa(oAa(a,b),d)};g._getDragDistance=function(a){var b=this._pickupPositionOnPage;return b?{x:a.x-b.x,y:a.y-b.y}:{x:0,y:0}};
g._cleanupCachedDimensions=function(){this._boundaryRect=this._previewRect=void 0;this._parentPositions.clear()};
g._containInsideBoundaryOnResize=function(){var a=this._passiveTransform,b=a.x;a=a.y;if(!(0===b&&0===a||this.isDragging())&&this._boundaryElement){var c=this._rootElement.getBoundingClientRect(),d=this._boundaryElement.getBoundingClientRect();if(!(0===d.width&&0===d.height||0===c.width&&0===c.height)){var e=d.left-c.left,f=c.right-d.right,h=d.top-c.top,l=c.bottom-d.bottom;d.width>c.width?(0<e&&(b+=e),0<f&&(b-=f)):b=0;d.height>c.height?(0<h&&(a+=h),0<l&&(a-=l)):a=0;b===this._passiveTransform.x&&a===
this._passiveTransform.y||this.setFreeDragPosition({y:a,x:b})}}};g._getDragStartDelay=function(a){var b=this.dragStartDelay;return"number"===typeof b?b:sp(a)?b.touch:b?b.mouse:0};
g._updateOnScroll=function(a){var b=c4b(this._parentPositions,a);b&&(a=$h(a),this._boundaryRect&&a!==this._boundaryElement&&a.contains(this._boundaryElement)&&qp(this._boundaryRect,b.top,b.left),this._pickupPositionOnPage.x+=b.left,this._pickupPositionOnPage.y+=b.top,this._dropContainer||(this._activeTransform.x-=b.left,this._activeTransform.y-=b.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y)))};
g._getViewportScrollPosition=function(){var a;return(null==(a=this._parentPositions.positions.get(this._document))?void 0:a.scrollPosition)||this._parentPositions.getViewportScrollPosition()};g._getShadowRoot=function(){void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=Yh(this._rootElement));return this._cachedShadowRoot};
g._getPreviewInsertionPoint=function(a,b){var c=this._previewContainer||"global";return"parent"===c?a:"global"===c?(a=this._document,b||a.fullscreenElement||a.webkitFullscreenElement||a.mozFullScreenElement||a.msFullscreenElement||a.body):di(c)};g._getPreviewRect=function(){this._previewRect&&(this._previewRect.width||this._previewRect.height)||(this._previewRect=this._preview?this._preview.getBoundingClientRect():this._initialClientRect);return this._previewRect};
g._getTargetHandle=function(a){return this._handles.find(function(b){return a.target&&(a.target===b||b.contains(a.target))})};Xi.Object.defineProperties(AL.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)},set:function(a){var b=bi(a);b!==this._disabled&&(this._disabled=b,this._toggleNativeDragInteractions(),this._handles.forEach(function(c){return rp(c,b)}))}}});var BL=function(a,b){this._element=a;this._dragDropRegistry=b;this._itemPositions=[];this.orientation="vertical";this._previousSwap={drag:null,delta:0,overlaps:!1}};BL.prototype.start=function(a){this.withItems(a)};
BL.prototype.sort=function(a,b,c,d){var e=this._itemPositions,f=this._getItemIndexFromPointerPosition(a,b,c,d);if(-1===f&&0<e.length)return null;var h="horizontal"===this.orientation,l=e.findIndex(function(M){return M.drag===a}),q=e[f],u=q.clientRect,x=l>f?1:-1,y=this._getItemOffsetPx(e[l].clientRect,u,x),G=this._getSiblingOffsetPx(l,e,x),L=e.slice();tp(e,l,f);e.forEach(function(M,T){if(L[T]!==M){var S=M.drag===a;T=S?y:G;S=S?a.getPlaceholderElement():M.drag.getRootElement();M.offset+=T;h?(S.style.transform=
kAa("translate3d("+Math.round(M.offset)+"px, 0, 0)",M.initialTransform),qp(M.clientRect,0,T)):(S.style.transform=kAa("translate3d(0, "+Math.round(M.offset)+"px, 0)",M.initialTransform),qp(M.clientRect,T,0))}});this._previousSwap.overlaps=aAa(u,b,c);this._previousSwap.drag=q.drag;this._previousSwap.delta=h?d.x:d.y;return{previousIndex:l,currentIndex:f}};
BL.prototype.enter=function(a,b,c,d){d=null==d||0>d?this._getItemIndexFromPointerPosition(a,b,c):d;var e=this._activeDraggables,f=e.indexOf(a),h=a.getPlaceholderElement(),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<f&&e.splice(f,1);l&&!this._dragDropRegistry.isDragging(l)?(b=l.getRootElement(),b.parentElement.insertBefore(h,b),e.splice(d,0,a)):(di(this._element).appendChild(h),e.push(a));h.style.transform="";this._cacheItemPositions()};
BL.prototype.withItems=function(a){this._activeDraggables=a.slice();this._cacheItemPositions()};var k4b=function(a,b){a._sortPredicate=b};
BL.prototype.reset=function(){var a=this;this._activeDraggables.forEach(function(b){var c=b.getRootElement();if(c){var d,e=null==(d=a._itemPositions.find(function(f){return f.drag===b}))?void 0:d.initialTransform;c.style.transform=e||""}});this._itemPositions=[];this._activeDraggables=[];this._previousSwap.drag=null;this._previousSwap.delta=0;this._previousSwap.overlaps=!1};
BL.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 l4b=function(a,b,c){a._itemPositions.forEach(function(d){qp(d.clientRect,b,c)});a._itemPositions.forEach(function(d){d=d.drag;a._dragDropRegistry.isDragging(d)&&d._sortFromLastPointerPosition()})};g=BL.prototype;
g._cacheItemPositions=function(){var a="horizontal"===this.orientation;this._itemPositions=this._activeDraggables.map(function(b){var c=h4b(b);return{drag:b,offset:0,initialTransform:c.style.transform||"",clientRect:$za(c)}}).sort(function(b,c){return a?b.clientRect.left-c.clientRect.left:b.clientRect.top-c.clientRect.top})};g._getItemOffsetPx=function(a,b,c){var d="horizontal"===this.orientation,e=d?b.left-a.left:b.top-a.top;-1===c&&(e+=d?b.width-a.width:b.height-a.height);return e};
g._getSiblingOffsetPx=function(a,b,c){var d="horizontal"===this.orientation,e=b[a].clientRect;a=b[a+-1*c];b=e[d?"width":"height"]*c;if(a){var f=d?"left":"top";d=d?"right":"bottom";b=-1===c?b-(a.clientRect[f]-e[d]):b+(e[f]-a.clientRect[d])}return b};
g._shouldEnterAsFirstChild=function(a,b){if(!this._activeDraggables.length)return!1;var c=this._itemPositions,d="horizontal"===this.orientation;if(c[0].drag!==this._activeDraggables[0])return c=c[c.length-1].clientRect,d?a>=c.right:b>=c.bottom;c=c[0].clientRect;return d?a<=c.left:b<=c.top};
g._getItemIndexFromPointerPosition=function(a,b,c,d){var e=this,f="horizontal"===this.orientation,h=this._itemPositions.findIndex(function(l){var q=l.drag;l=l.clientRect;if(q===a)return!1;if(d){var u=f?d.x:d.y;if(q===e._previousSwap.drag&&e._previousSwap.overlaps&&u===e._previousSwap.delta)return!1}return f?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 n4b=function(a,b,c,d,e){var f=this;this._dragDropRegistry=b;this._ngZone=d;this._viewportRuler=e;this.autoScrollDisabled=this.sortingDisabled=this.disabled=!1;this.autoScrollStep=2;this.enterPredicate=function(){return!0};this.sortPredicate=function(){return!0};this.beforeStarted=new C.Subject;this.entered=new C.Subject;this.exited=new C.Subject;this.dropped=new C.Subject;this.sorted=new C.Subject;this.receivingStarted=new C.Subject;this.receivingStopped=new C.Subject;this._isDragging=!1;this._draggables=
[];this._siblings=[];this._activeSiblings=new Set;this._viewportScrollSubscription=C.Subscription.EMPTY;this._horizontalScrollDirection=this._verticalScrollDirection=0;this._stopScrollTimers=new C.Subject;this._cachedShadowRoot=null;this._startScrollInterval=function(){f._stopScrolling();(0,C.interval)(0,C.animationFrameScheduler).pipe(dg(f._stopScrollTimers)).subscribe(function(){var h=f._scrollNode,l=f.autoScrollStep;1===f._verticalScrollDirection?h.scrollBy(0,-l):2===f._verticalScrollDirection&&
h.scrollBy(0,l);1===f._horizontalScrollDirection?h.scrollBy(-l,0):2===f._horizontalScrollDirection&&h.scrollBy(l,0)})};this.element=di(a);this._document=c;m4b(this,[this.element]);Z3b(b,this);this._parentPositions=new zL(c);this._sortStrategy=new BL(this.element,b);k4b(this._sortStrategy,function(h,l){return f.sortPredicate(h,l,f)})};g=n4b.prototype;
g.dispose=function(){this._stopScrolling();this._stopScrollTimers.complete();this._viewportScrollSubscription.unsubscribe();this.beforeStarted.complete();this.entered.complete();this.exited.complete();this.dropped.complete();this.sorted.complete();this.receivingStarted.complete();this.receivingStopped.complete();this._activeSiblings.clear();this._scrollNode=null;this._parentPositions.clear();this._dragDropRegistry._dropInstances.delete(this)};g.isDragging=function(){return this._isDragging};
g.start=function(){this._draggingStarted();this._notifyReceivingSiblings()};g.enter=function(a,b,c,d){this._draggingStarted();null==d&&this.sortingDisabled&&(d=this._draggables.indexOf(a));this._sortStrategy.enter(a,b,c,d);this._cacheParentPositions();this._notifyReceivingSiblings();this.entered.next({item:a,container:this,currentIndex:this.getItemIndex(a)})};g.exit=function(a){this._reset();this.exited.next({item:a,container:this})};
g.drop=function(a,b,c,d,e,f,h,l){l=void 0===l?{}:l;this._reset();this.dropped.next({item:a,currentIndex:b,previousIndex:c,container:this,previousContainer:d,isPointerOverContainer:e,distance:f,dropPoint:h,event:l})};g.withItems=function(a){var b=this,c=this._draggables;this._draggables=a;a.forEach(function(d){return d._withDropContainer(b)});this.isDragging()&&(c.filter(function(d){return d.isDragging()}).every(function(d){return-1===a.indexOf(d)})?this._reset():this._sortStrategy.withItems(this._draggables))};
g.withDirection=function(a){this._sortStrategy.direction=a;return this};g.connectedTo=function(a){this._siblings=a.slice();return this};var o4b=function(a,b){a._sortStrategy.orientation=b},m4b=function(a,b){var c=di(a.element);a._scrollableElements=-1===b.indexOf(c)?[c].concat(r(b)):b.slice()};g=n4b.prototype;g.getItemIndex=function(a){return this._isDragging?this._sortStrategy.getItemIndex(a):this._draggables.indexOf(a)};
g._sortItem=function(a,b,c,d){!this.sortingDisabled&&this._clientRect&&bAa(this._clientRect,b,c)&&(b=this._sortStrategy.sort(a,b,c,d))&&this.sorted.next({previousIndex:b.previousIndex,currentIndex:b.currentIndex,container:this,item:a})};
g._startScrollingIfNecessary=function(a,b){var c=this;if(!this.autoScrollDisabled){var d=0,e=0;this._parentPositions.positions.forEach(function(q,u){if(u!==c._document&&q.clientRect&&!l&&bAa(q.clientRect,a,b)){var x=q.clientRect;q=rAa(x,b);x=sAa(x,a);var y=0,G=0;if(q){var L=u.scrollTop;1===q?0<L&&(y=1):u.scrollHeight-L>u.clientHeight&&(y=2)}x&&(q=u.scrollLeft,1===x?0<q&&(G=1):u.scrollWidth-q>u.clientWidth&&(G=2));q=m([y,G]);d=q.next().value;e=q.next().value;if(d||e)l=u}});if(!d&&!e){var f=this._viewportRuler.getViewportSize(),
h=f.width;f=f.height;h={width:h,height:f,top:0,right:h,bottom:f,left:0};d=rAa(h,b);e=sAa(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())}};g._stopScrolling=function(){this._stopScrollTimers.next()};
g._draggingStarted=function(){var a=di(this.element).style;this.beforeStarted.next();this._isDragging=!0;this._initialScrollSnap=a.msScrollSnapType||a.scrollSnapType||"";a.scrollSnapType=a.msScrollSnapType="none";this._sortStrategy.start(this._draggables);this._cacheParentPositions();this._viewportScrollSubscription.unsubscribe();this._listenToScrollEvents()};g._cacheParentPositions=function(){var a=di(this.element);this._parentPositions.cache(this._scrollableElements);this._clientRect=this._parentPositions.positions.get(a).clientRect};
g._reset=function(){var a=this;this._isDragging=!1;var b=di(this.element).style;b.scrollSnapType=b.msScrollSnapType=this._initialScrollSnap;this._siblings.forEach(function(c){return c._stopReceiving(a)});this._sortStrategy.reset();this._stopScrolling();this._viewportScrollSubscription.unsubscribe();this._parentPositions.clear()};g._isOverContainer=function(a,b){return null!=this._clientRect&&aAa(this._clientRect,a,b)};
g._getSiblingContainerFromPosition=function(a,b,c){return this._siblings.find(function(d){return d._canReceive(a,b,c)})};g._canReceive=function(a,b,c){if(!this._clientRect||!aAa(this._clientRect,b,c)||!this.enterPredicate(a,this))return!1;a=this._getShadowRoot().elementFromPoint(b,c);if(!a)return!1;b=di(this.element);return a===b||b.contains(a)};
g._startReceiving=function(a,b){var c=this,d=this._activeSiblings;!d.has(a)&&b.every(function(e){return c.enterPredicate(e,c)||-1<c._draggables.indexOf(e)})&&(d.add(a),this._cacheParentPositions(),this._listenToScrollEvents(),this.receivingStarted.next({initiator:a,receiver:this,items:b}))};g._stopReceiving=function(a){this._activeSiblings.delete(a);this._viewportScrollSubscription.unsubscribe();this.receivingStopped.next({initiator:a,receiver:this})};
g._listenToScrollEvents=function(){var a=this;this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(function(b){a.isDragging()?(b=c4b(a._parentPositions,b))&&l4b(a._sortStrategy,b.top,b.left):0<a._activeSiblings.size&&a._cacheParentPositions()})};g._getShadowRoot=function(){this._cachedShadowRoot||(this._cachedShadowRoot=Yh(di(this.element))||this._document);return this._cachedShadowRoot};
g._notifyReceivingSiblings=function(){var a=this,b=this._sortStrategy._activeDraggables.filter(function(c){return c.isDragging()});this._siblings.forEach(function(c){return c._startReceiving(a,b)})};var p4b={dragStartThreshold:5,pointerDirectionChangeThreshold:5},CL=function(a,b,c,d){this._document=a;this._ngZone=b;this._viewportRuler=c;this._dragDropRegistry=d};CL.prototype.createDrag=function(a,b){b=void 0===b?p4b:b;return new AL(a,b,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)};CL.\u0275fac=function(a){return new (a||CL)(n(Vi),n(hg),n(uz),n(yL))};CL.\u0275prov=Vc({token:CL,factory:CL.\u0275fac,providedIn:"root"});var q4b=0,r4b=new Bd("CdkDropList"),DL=function(a,b,c,d,e,f,h){var l=this;this.element=a;this._changeDetectorRef=c;this._scrollDispatcher=d;this._dir=e;this._group=f;this._destroyed=new C.Subject;this.connectedTo=[];this.id="cdk-drop-list-"+q4b++;this.enterPredicate=function(){return!0};this.sortPredicate=function(){return!0};this.dropped=new Rv;this.entered=new Rv;this.exited=new Rv;this.sorted=new Rv;this._unsortedItems=new Set;this._dropListRef=new n4b(a,b._dragDropRegistry,b._document,b._ngZone,
b._viewportRuler);this._dropListRef.data=this;h&&this._assignDefaults(h);this._dropListRef.enterPredicate=function(q,u){return l.enterPredicate(q.data,u.data)};this._dropListRef.sortPredicate=function(q,u,x){return l.sortPredicate(q,u.data,x.data)};this._setupInputSyncSubscription(this._dropListRef);this._handleEvents(this._dropListRef);s4b.push(this);f&&f._items.add(this)};DL.prototype.addItem=function(a){this._unsortedItems.add(a);this._dropListRef.isDragging()&&this._syncItemsWithRef()};
DL.prototype.removeItem=function(a){this._unsortedItems.delete(a);this._dropListRef.isDragging()&&this._syncItemsWithRef()};var t4b=function(a){return Array.from(a._unsortedItems).sort(function(b,c){return h4b(b._dragRef).compareDocumentPosition(h4b(c._dragRef))&Node.DOCUMENT_POSITION_FOLLOWING?-1:1})};g=DL.prototype;
g.ngOnDestroy=function(){var a=s4b.indexOf(this);-1<a&&s4b.splice(a,1);this._group&&this._group._items.delete(this);this._unsortedItems.clear();this._dropListRef.dispose();this._destroyed.next();this._destroyed.complete()};
g._setupInputSyncSubscription=function(a){var b=this;this._dir&&this._dir.change.pipe(bg(this._dir.value),dg(this._destroyed)).subscribe(function(c){return a.withDirection(c)});a.beforeStarted.subscribe(function(){var c=ai(b.connectedTo).map(function(e){return"string"===typeof e?s4b.find(function(f){return f.id===e}):e});b._group&&b._group._items.forEach(function(e){-1===c.indexOf(e)&&c.push(e)});if(!b._scrollableParentsResolved){var d=yKb(b._scrollDispatcher,b.element).map(function(e){return e.elementRef.nativeElement});
m4b(b._dropListRef,d);b._scrollableParentsResolved=!0}a.disabled=b.disabled;a.lockAxis=b.lockAxis;a.sortingDisabled=bi(b.sortingDisabled);a.autoScrollDisabled=bi(b.autoScrollDisabled);a.autoScrollStep=ei(b.autoScrollStep,2);o4b(a.connectedTo(c.filter(function(e){return e&&e!==b}).map(function(e){return e._dropListRef})),b.orientation)})};
g._handleEvents=function(a){var b=this;a.beforeStarted.subscribe(function(){b._syncItemsWithRef();b._changeDetectorRef.markForCheck()});a.entered.subscribe(function(c){b.entered.emit({container:b,item:c.item.data,currentIndex:c.currentIndex})});a.exited.subscribe(function(c){b.exited.emit({container:b,item:c.item.data});b._changeDetectorRef.markForCheck()});a.sorted.subscribe(function(c){b.sorted.emit({previousIndex:c.previousIndex,currentIndex:c.currentIndex,container:b,item:c.item.data})});a.dropped.subscribe(function(c){b.dropped.emit({previousIndex:c.previousIndex,
currentIndex:c.currentIndex,previousContainer:c.previousContainer.data,container:c.container.data,item:c.item.data,isPointerOverContainer:c.isPointerOverContainer,distance:c.distance,dropPoint:c.dropPoint,event:c.event});b._changeDetectorRef.markForCheck()});(0,C.merge)(a.receivingStarted,a.receivingStopped).subscribe(function(){return b._changeDetectorRef.markForCheck()})};
g._assignDefaults=function(a){var b=a.lockAxis,c=a.draggingDisabled,d=a.sortingDisabled,e=a.listAutoScrollDisabled;a=a.listOrientation;this.disabled=null==c?!1:c;this.sortingDisabled=null==d?!1:d;this.autoScrollDisabled=null==e?!1:e;this.orientation=a||"vertical";b&&(this.lockAxis=b)};g._syncItemsWithRef=function(){this._dropListRef.withItems(t4b(this).map(function(a){return a._dragRef}))};
Xi.Object.defineProperties(DL.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled||!!this._group&&this._group.disabled},set:function(a){this._dropListRef.disabled=this._disabled=bi(a)}}});var s4b=[];DL.\u0275fac=function(a){return new (a||DL)(A(ke),A(CL),A(qw),A(qz),A(gz,8),A(X3b,12),A(W3b,8))};
DL.\u0275dir=qd({type:DL,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(a,b){a&2&&(ug("id",b.id),Fg("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:[Ug([{provide:X3b,useValue:void 0},{provide:r4b,useExisting:DL}])]});var EL=function(a,b,c,d,e,f,h,l,q,u,x){var y=this;this.element=a;this.dropContainer=b;this._ngZone=d;this._viewContainerRef=e;this._dir=h;this._changeDetectorRef=q;this._selfHandle=u;this._parentDrag=x;this._destroyed=new C.Subject;this.started=new Rv;this.released=new Rv;this.ended=new Rv;this.entered=new Rv;this.exited=new Rv;this.dropped=new Rv;this.moved=new C.Observable(function(G){var L=y._dragRef.moved.pipe(B(function(M){return{source:y,pointerPosition:M.pointerPosition,event:M.event,delta:M.delta,
distance:M.distance}})).subscribe(G);return function(){L.unsubscribe()}});this._dragRef=l.createDrag(a,{dragStartThreshold:f&&null!=f.dragStartThreshold?f.dragStartThreshold:5,pointerDirectionChangeThreshold:f&&null!=f.pointerDirectionChangeThreshold?f.pointerDirectionChangeThreshold:5,zIndex:null==f?void 0:f.zIndex});this._dragRef.data=this;u4b.push(this);f&&this._assignDefaults(f);b&&(this._dragRef._withDropContainer(b._dropListRef),b.addItem(this));this._syncInputs(this._dragRef);this._handleEvents(this._dragRef)};
g=EL.prototype;g.getPlaceholderElement=function(){return this._dragRef.getPlaceholderElement()};g.getRootElement=function(){return this._dragRef.getRootElement()};g.reset=function(){this._dragRef.reset()};g.setFreeDragPosition=function(a){this._dragRef.setFreeDragPosition(a)};g.ngAfterViewInit=function(){var a=this;this._ngZone.runOutsideAngular(function(){a._ngZone.onStable.pipe(Rf(),dg(a._destroyed)).subscribe(function(){a._updateRootElement();a._setupHandlesListener();a.freeDragPosition&&a._dragRef.setFreeDragPosition(a.freeDragPosition)})})};
g.ngOnChanges=function(a){var b=a.rootElementSelector;a=a.freeDragPosition;b&&!b.firstChange&&this._updateRootElement();a&&!a.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)};g.ngOnDestroy=function(){var a=this;this.dropContainer&&this.dropContainer.removeItem(this);var b=u4b.indexOf(this);-1<b&&u4b.splice(b,1);this._ngZone.runOutsideAngular(function(){a._destroyed.next();a._destroyed.complete();a._dragRef.dispose()})};
g._updateRootElement=function(){var a=this.element.nativeElement,b=a;if(this.rootElementSelector){var c;b=void 0!==a.closest?a.closest(this.rootElementSelector):null==(c=a.parentElement)?void 0:c.closest(this.rootElementSelector)}g4b(this._dragRef,b||a)};g._getBoundaryElement=function(){var a=this.boundaryElement;return a?"string"===typeof a?this.element.nativeElement.closest(a):di(a):null};
g._syncInputs=function(a){var b=this;a.beforeStarted.subscribe(function(){if(!a.isDragging()){var c=b._dir,d=b.dragStartDelay,e=b._placeholderTemplate?{template:b._placeholderTemplate.templateRef,context:b._placeholderTemplate.data,viewContainer:b._viewContainerRef}:null,f=b._previewTemplate?{template:b._previewTemplate.templateRef,context:b._previewTemplate.data,matchSize:b._previewTemplate.matchSize,viewContainer:b._viewContainerRef}:null;a.disabled=b.disabled;a.lockAxis=b.lockAxis;a.dragStartDelay=
"object"===typeof d&&d?d:ei(d);a.constrainPosition=b.constrainPosition;a.previewClass=b.previewClass;d=j4b(a,b._getBoundaryElement());d._placeholderTemplate=e;d._previewTemplate=f;d._previewContainer=b.previewContainer||"global";c&&a.withDirection(c.value)}});a.beforeStarted.pipe(Rf()).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;f4b(a,(null==(d=u4b.find(function(e){return e.element.nativeElement===
c}))?void 0:d._dragRef)||null);break}c=c.parentElement}})};
g._handleEvents=function(a){var b=this;a.started.subscribe(function(c){b.started.emit({source:b,event:c.event});b._changeDetectorRef.markForCheck()});a.released.subscribe(function(c){b.released.emit({source:b,event:c.event})});a.ended.subscribe(function(c){b.ended.emit({source:b,distance:c.distance,dropPoint:c.dropPoint,event:c.event});b._changeDetectorRef.markForCheck()});a.entered.subscribe(function(c){b.entered.emit({container:c.container.data,item:b,currentIndex:c.currentIndex})});a.exited.subscribe(function(c){b.exited.emit({container:c.container.data,
item:b})});a.dropped.subscribe(function(c){b.dropped.emit({previousIndex:c.previousIndex,currentIndex:c.currentIndex,previousContainer:c.previousContainer.data,container:c.container.data,isPointerOverContainer:c.isPointerOverContainer,item:b,distance:c.distance,dropPoint:c.dropPoint,event:c.event})})};
g._assignDefaults=function(a){var b=a.lockAxis,c=a.dragStartDelay,d=a.constrainPosition,e=a.previewClass,f=a.boundaryElement,h=a.draggingDisabled,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);f&&(this.boundaryElement=f);l&&(this.rootElementSelector=l);a&&(this.previewContainer=a)};
g._setupHandlesListener=function(){var a=this;this._handles.changes.pipe(bg(this._handles),eg(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);i4b(a._dragRef,b)}),cg(function(b){return C.merge.apply(null,r(b.map(function(c){return c._stateChanges.pipe(bg(c))})))}),dg(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),rp(d,!0)):c._disabledHandles.has(d)&&(c._disabledHandles.delete(d),rp(d,c.disabled))})};Xi.Object.defineProperties(EL.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled||this.dropContainer&&this.dropContainer.disabled},set:function(a){this._disabled=bi(a);this._dragRef.disabled=this._disabled}}});var u4b=[];EL.\u0275fac=function(a){return new (a||EL)(A(ke),A(r4b,12),A(Vi),A(hg),A(fh),A(W3b,8),A(gz,8),A(CL),A(qw),A(T3b,10),A(S3b,12))};
EL.\u0275dir=qd({type:EL,selectors:[["","cdkDrag",""]],contentQueries:function(a,b,c){a&1&&(jh(c,V3b,5),jh(c,U3b,5),jh(c,T3b,5));if(a&2){var d;hh(d=kh())&&(b._previewTemplate=d.first);hh(d=kh())&&(b._placeholderTemplate=d.first);hh(d=kh())&&(b._handles=d)}},hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(a,b){a&2&&Fg("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:[Ug([{provide:S3b,useExisting:EL}]),Hd]});var FL=function(){};FL.\u0275fac=function(a){return new (a||FL)};FL.\u0275mod=od({type:FL});FL.\u0275inj=Wc({providers:[CL],imports:[xz]});var GL=new Bd("CDK_TABLE");new Bd("text-column-options");var HL=function(a){this.template=a};HL.\u0275fac=function(a){return new (a||HL)(A(eh))};HL.\u0275dir=qd({type:HL,selectors:[["","cdkCellDef",""]]});var IL=function(a){this.template=a};IL.\u0275fac=function(a){return new (a||IL)(A(eh))};IL.\u0275dir=qd({type:IL,selectors:[["","cdkHeaderCellDef",""]]});var JL=function(a){this.template=a};JL.\u0275fac=function(a){return new (a||JL)(A(eh))};JL.\u0275dir=qd({type:JL,selectors:[["","cdkFooterCellDef",""]]});
var v4b=tAa(function(){}),KL=function(a){var b=v4b.call(this)||this;b._table=a;b._stickyEnd=!1;return b};W(KL,v4b);KL.prototype._updateColumnCssClassName=function(){this._columnCssClassName=["cdk-column-"+this.cssClassFriendlyName]};KL.prototype._setNameInput=function(a){a&&(this._name=a,this.cssClassFriendlyName=a.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())};
Xi.Object.defineProperties(KL.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=bi(a);this._hasStickyChanged=b!==this._stickyEnd}}});KL.\u0275fac=function(a){return new (a||KL)(A(GL,8))};
KL.\u0275dir=qd({type:KL,selectors:[["","cdkColumnDef",""]],contentQueries:function(a,b,c){a&1&&(jh(c,HL,5),jh(c,IL,5),jh(c,JL,5));if(a&2){var d;hh(d=kh())&&(b.cell=d.first);hh(d=kh())&&(b.headerCell=d.first);hh(d=kh())&&(b.footerCell=d.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[Ug([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:KL}]),qg]});
var w4b=function(a,b){b.nativeElement.classList.add.apply(b.nativeElement.classList,r(a._columnCssClassName))},LL=function(a,b){w4b.call(this,a,b)};W(LL,w4b);LL.\u0275fac=function(a){return new (a||LL)(A(KL),A(ke))};LL.\u0275dir=qd({type:LL,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[qg]});
var ML=function(a,b){w4b.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"))};W(ML,w4b);ML.\u0275fac=function(a){return new (a||ML)(A(KL),A(ke))};ML.\u0275dir=qd({type:ML,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[qg]});var x4b=function(){this.tasks=[];this.endTasks=[]},y4b=new Bd("_COALESCED_STYLE_SCHEDULER"),NL=function(a){this._ngZone=a;this._currentSchedule=null;this._destroyed=new C.Subject};NL.prototype.schedule=function(a){this._createScheduleIfNeeded();this._currentSchedule.tasks.push(a)};NL.prototype.ngOnDestroy=function(){this._destroyed.next();this._destroyed.complete()};
NL.prototype._createScheduleIfNeeded=function(){var a=this;this._currentSchedule||(this._currentSchedule=new x4b,this._getScheduleObservable().pipe(dg(this._destroyed)).subscribe(function(){for(;a._currentSchedule.tasks.length||a._currentSchedule.endTasks.length;){var b=a._currentSchedule;a._currentSchedule=new x4b;for(var c=m(b.tasks),d=c.next();!d.done;d=c.next())d=d.value,d();b=m(b.endTasks);for(d=b.next();!d.done;d=b.next())c=d.value,c()}a._currentSchedule=null}))};
NL.prototype._getScheduleObservable=function(){return this._ngZone.isStable?(0,C.from)(Promise.resolve(void 0)):this._ngZone.onStable.pipe(Rf())};NL.\u0275fac=function(a){return new (a||NL)(n(hg))};NL.\u0275prov=Vc({token:NL,factory:NL.\u0275fac});var OL=function(a,b){this.template=a;this._differs=b};OL.prototype.ngOnChanges=function(a){this._columnsDiffer||(a=a.columns&&a.columns.currentValue||[],this._columnsDiffer=this._differs.find(a).create(),this._columnsDiffer.diff(a))};OL.\u0275fac=function(a){return new (a||OL)(A(eh),A(tw))};OL.\u0275dir=qd({type:OL,features:[Hd]});var z4b=function(){OL.apply(this,arguments)};W(z4b,OL);z4b.\u0275dir=OL.\u0275dir;z4b.\u0275fac=OL.\u0275fac;
var A4b=tAa(z4b),PL=function(a,b,c){a=A4b.call(this,a,b)||this;a._table=c;return a};W(PL,A4b);PL.prototype.ngOnChanges=function(a){A4b.prototype.ngOnChanges.call(this,a)};PL.\u0275fac=function(a){return new (a||PL)(A(eh),A(tw),A(GL,8))};PL.\u0275dir=qd({type:PL,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[qg,Hd]});var B4b=function(){OL.apply(this,arguments)};W(B4b,OL);B4b.\u0275dir=OL.\u0275dir;
B4b.\u0275fac=OL.\u0275fac;var C4b=tAa(B4b),QL=function(a,b,c){a=C4b.call(this,a,b)||this;a._table=c;return a};W(QL,C4b);QL.prototype.ngOnChanges=function(a){C4b.prototype.ngOnChanges.call(this,a)};QL.\u0275fac=function(a){return new (a||QL)(A(eh),A(tw),A(GL,8))};QL.\u0275dir=qd({type:QL,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[qg,Hd]});var RL=function(a,b,c){OL.call(this,a,b);this._table=c};W(RL,OL);
RL.\u0275fac=function(a){return new (a||RL)(A(eh),A(tw),A(GL,8))};RL.\u0275dir=qd({type:RL,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[qg]});var TL=function(a){this._viewContainer=a;SL=this};TL.prototype.ngOnDestroy=function(){SL===this&&(SL=null)};var SL=null;TL.\u0275fac=function(a){return new (a||TL)(A(fh))};TL.\u0275dir=qd({type:TL,selectors:[["","cdkCellOutlet",""]]});var UL=function(){};
UL.\u0275fac=function(a){return new (a||UL)};UL.\u0275cmp=p({type:UL,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&&Kg(0,0)},dependencies:[TL],encapsulation:2});var VL=function(){};VL.\u0275fac=function(a){return new (a||VL)};
VL.\u0275cmp=p({type:VL,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&Kg(0,0)},dependencies:[TL],encapsulation:2});var WL=function(a){this.templateRef=a;this._contentClassName="cdk-no-data-row"};WL.\u0275fac=function(a){return new (a||WL)(A(eh))};WL.\u0275dir=qd({type:WL,selectors:[["ng-template","cdkNoDataRow",""]]});var D4b=new Bd("CDK_SPL");var E4b=["top","bottom","left","right"],F4b=function(a,b,c,d,e,f,h){e=void 0===e?!0:e;f=void 0===f?!0:f;this._isNativeHtmlTable=a;this._stickCellCss=b;this.direction=c;this._coalescedStyleScheduler=d;this._isBrowser=e;this._needsPositionStickyOnElement=f;this._positionListener=h;this._cachedCellWidths=[];this._borderCellCss={top:b+"-border-elem-top",bottom:b+"-border-elem-bottom",left:b+"-border-elem-left",right:b+"-border-elem-right"}},G4b=function(a,b,c){var d=[];b=m(b);for(var e=b.next();!e.done;e=
b.next())if(e=e.value,e.nodeType===e.ELEMENT_NODE){d.push(e);for(var f=0;f<e.children.length;f++)d.push(e.children[f])}a._coalescedStyleScheduler.schedule(function(){for(var h=m(d),l=h.next();!l.done;l=h.next())a._removeStickyStyle(l.value,c)})},H4b=function(a,b,c,d,e){e=void 0===e?!0:e;if(b.length&&a._isBrowser&&(c.some(function(G){return G})||d.some(function(G){return G}))){var f=b[0],h=f.children.length,l=a._getCellWidths(f,e),q=a._getStickyStartColumnPositions(l,c),u=a._getStickyEndColumnPositions(l,
d),x=c.lastIndexOf(!0),y=d.indexOf(!0);a._coalescedStyleScheduler.schedule(function(){var G="rtl"===a.direction,L=G?"right":"left";G=G?"left":"right";for(var M=m(b),T=M.next();!T.done;T=M.next()){T=T.value;for(var S=0;S<h;S++){var X=T.children[S];c[S]&&a._addStickyStyle(X,L,q[S],S===x);d[S]&&a._addStickyStyle(X,G,u[S],S===y)}}a._positionListener&&(a._positionListener.stickyColumnsUpdated({sizes:-1===x?[]:l.slice(0,x+1).map(function(aa,na){return c[na]?aa:null})}),a._positionListener.stickyEndColumnsUpdated({sizes:-1===
y?[]:l.slice(y).map(function(aa,na){return d[na+y]?aa:null}).reverse()}))})}else a._positionListener&&(a._positionListener.stickyColumnsUpdated({sizes:[]}),a._positionListener.stickyEndColumnsUpdated({sizes:[]}))},I4b=function(a,b,c,d){if(a._isBrowser){var e="bottom"===d?b.slice().reverse():b,f="bottom"===d?c.slice().reverse():c,h=[],l=[],q=[];for(c=b=0;b<e.length;b++)if(f[b]){h[b]=c;var u=e[b];q[b]=a._isNativeHtmlTable?Array.from(u.children):[u];u=u.getBoundingClientRect().height;c+=u;l[b]=u}var x=
f.lastIndexOf(!0);a._coalescedStyleScheduler.schedule(function(){for(var y=0;y<e.length;y++)if(f[y])for(var G=h[y],L=y===x,M=m(q[y]),T=M.next();!T.done;T=M.next())a._addStickyStyle(T.value,d,G,L);if("top"===d){var S;null==(S=a._positionListener)||S.stickyHeaderRowsUpdated({sizes:l,offsets:h,elements:q})}else{var X;null==(X=a._positionListener)||X.stickyFooterRowsUpdated({sizes:l,offsets:h,elements:q})}})}},J4b=function(a,b,c){if(a._isNativeHtmlTable){var d=b.querySelector("tfoot");a._coalescedStyleScheduler.schedule(function(){c.some(function(e){return!e})?
a._removeStickyStyle(d,["bottom"]):a._addStickyStyle(d,"bottom",0,!1)})}};g=F4b.prototype;g._removeStickyStyle=function(a,b){for(var c=m(b),d=c.next();!d.done;d=c.next())d=d.value,a.style[d]="",a.classList.remove(this._borderCellCss[d]);E4b.some(function(e){return-1===b.indexOf(e)&&a.style[e]})?a.style.zIndex=this._getCalculatedZIndex(a):(a.style.zIndex="",this._needsPositionStickyOnElement&&(a.style.position=""),a.classList.remove(this._stickCellCss))};
g._addStickyStyle=function(a,b,c,d){a.classList.add(this._stickCellCss);d&&a.classList.add(this._borderCellCss[b]);a.style[b]=c+"px";a.style.zIndex=this._getCalculatedZIndex(a);this._needsPositionStickyOnElement&&(a.style.cssText+="position: -webkit-sticky; position: sticky; ")};g._getCalculatedZIndex=function(a){for(var b={top:100,bottom:10,left:1,right:1},c=0,d=m(E4b),e=d.next();!e.done;e=d.next())e=e.value,a.style[e]&&(c+=b[e]);return c?""+c:""};
g._getCellWidths=function(a,b){if(void 0!==b&&!b&&this._cachedCellWidths.length)return this._cachedCellWidths;b=[];a=a.children;for(var c=0;c<a.length;c++)b.push(a[c].getBoundingClientRect().width);return this._cachedCellWidths=b};g._getStickyStartColumnPositions=function(a,b){for(var c=[],d=0,e=0;e<a.length;e++)b[e]&&(c[e]=d,d+=a[e]);return c};g._getStickyEndColumnPositions=function(a,b){for(var c=[],d=0,e=a.length;0<e;e--)b[e]&&(c[e]=d,d+=a[e]);return c};var K4b=[[["caption"]],[["colgroup"],["col"]]],XL=function(a,b){this.viewContainer=a;this.elementRef=b};XL.\u0275fac=function(a){return new (a||XL)(A(fh),A(ke))};XL.\u0275dir=qd({type:XL,selectors:[["","rowOutlet",""]]});var YL=function(a,b){this.viewContainer=a;this.elementRef=b};YL.\u0275fac=function(a){return new (a||YL)(A(fh),A(ke))};YL.\u0275dir=qd({type:YL,selectors:[["","headerRowOutlet",""]]});var ZL=function(a,b){this.viewContainer=a;this.elementRef=b};
ZL.\u0275fac=function(a){return new (a||ZL)(A(fh),A(ke))};ZL.\u0275dir=qd({type:ZL,selectors:[["","footerRowOutlet",""]]});var $L=function(a,b){this.viewContainer=a;this.elementRef=b};$L.\u0275fac=function(a){return new (a||$L)(A(fh),A(ke))};$L.\u0275dir=qd({type:$L,selectors:[["","noDataRowOutlet",""]]});
var aM=function(a,b,c,d,e,f,h,l,q,u,x,y){this._differs=a;this._changeDetectorRef=b;this._elementRef=c;this._dir=e;this._platform=h;this._viewRepeater=l;this._coalescedStyleScheduler=q;this._viewportRuler=u;this._stickyPositioningListener=x;this._ngZone=y;this._onDestroy=new C.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 Rv;d||this._elementRef.nativeElement.setAttribute("role","table");this._document=f;this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName};
aM.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(dg(this._onDestroy)).subscribe(function(){a._forceRecalculateCellWidths=!0})};
aM.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&&bM(this);this._checkStickyStates()};
aM.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();ema(this.dataSource)&&this.dataSource.disconnect(this)};
aM.prototype.renderRows=function(){var a=this;this._renderRows=this._getAllRenderRows();var b=this._dataDiffer.diff(this._renderRows);if(b){var c=this._rowOutlet.viewContainer;AKb(b,c,function(d,e,f){return a._getEmbeddedViewArgs(d.item,f)},function(d){1===d.operation&&d.context&&a._renderCellTemplateForItem(d.record.item.rowDef,d.context)});this._updateRowIndexContext();WGb(b,function(d){c.get(d.currentIndex).context.$implicit=d.item.data});this._updateNoDataRow();this._ngZone&&ig()?this._ngZone.onStable.pipe(Rf(),
dg(this._onDestroy)).subscribe(function(){bM(a)}):bM(this)}else this._updateNoDataRow();this.contentChanged.next()};
var L4b=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});G4b(a._stickyStyler,b,["top"]);I4b(a._stickyStyler,b,c,"top");a._headerRowDefs.forEach(function(d){return d.resetStickyChanged()})},M4b=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});
G4b(a._stickyStyler,b,["bottom"]);I4b(a._stickyStyler,b,c,"bottom");J4b(a._stickyStyler,a._elementRef.nativeElement,c);a._footerRowDefs.forEach(function(d){return d.resetStickyChanged()})},bM=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)G4b(a._stickyStyler,[].concat(r(b),r(c),r(d)),["left","right"]),a._stickyColumnStylesNeedReset=!1;b.forEach(function(e,
f){a._addStickyColumnStyles([e],a._headerRowDefs[f])});a._rowDefs.forEach(function(e){for(var f=[],h=0;h<c.length;h++)a._renderRows[h].rowDef===e&&f.push(c[h]);a._addStickyColumnStyles(f,e)});d.forEach(function(e,f){a._addStickyColumnStyles([e],a._footerRowDefs[f])});Array.from(a._columnDefsByName.values()).forEach(function(e){return e.resetStickyChanged()})};g=aM.prototype;
g._getAllRenderRows=function(){var a=[],b=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(var c=0;c<this._data.length;c++){var d=this._data[c],e=this._getRenderRowsForData(d,c,b.get(d));this._cachedRenderRowsMap.has(d)||this._cachedRenderRowsMap.set(d,new WeakMap);for(d=0;d<e.length;d++){var f=e[d],h=this._cachedRenderRowsMap.get(f.data);h.has(f.rowDef)?h.get(f.rowDef).push(f):h.set(f.rowDef,[f]);a.push(f)}}return a};
g._getRenderRowsForData=function(a,b,c){return this._getRowDefs(a,b).map(function(d){var e=c&&c.has(d)?c.get(d):[];return e.length?(d=e.shift(),d.dataIndex=b,d):{data:a,rowDef:d,dataIndex:b}})};g._cacheColumnDefs=function(){var a=this;this._columnDefsByName.clear();uAa(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(function(b){a._columnDefsByName.has(b.name);a._columnDefsByName.set(b.name,b)})};
g._cacheRowDefs=function(){this._headerRowDefs=uAa(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs);this._footerRowDefs=uAa(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs);this._rowDefs=uAa(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);this._defaultRowDef=this._rowDefs.filter(function(a){return!a.when})[0]};
g._renderUpdatedColumns=function(){var a=function(d,e){return d||!!e._columnsDiffer.diff(e.columns)},b=this._rowDefs.reduce(a,!1);b&&this._forceRenderDataRows();var c=this._headerRowDefs.reduce(a,!1);c&&this._forceRenderHeaderRows();(a=this._footerRowDefs.reduce(a,!1))&&this._forceRenderFooterRows();return b||c||a};
g._switchDataSource=function(a){this._data=[];ema(this.dataSource)&&this.dataSource.disconnect(this);this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null);a||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear());this._dataSource=a};
g._observeRenderChanges=function(){var a=this;if(this.dataSource){var b;ema(this.dataSource)?b=this.dataSource.connect(this):(0,C.isObservable)(this.dataSource)?b=this.dataSource:Array.isArray(this.dataSource)&&(b=(0,C.of)(this.dataSource));this._renderChangeSubscription=b.pipe(dg(this._onDestroy)).subscribe(function(c){a._data=c||[];a.renderRows()})}};
g._forceRenderHeaderRows=function(){var a=this;0<this._headerRowOutlet.viewContainer.length&&this._headerRowOutlet.viewContainer.clear();this._headerRowDefs.forEach(function(b,c){return a._renderRow(a._headerRowOutlet,b,c)});L4b(this)};g._forceRenderFooterRows=function(){var a=this;0<this._footerRowOutlet.viewContainer.length&&this._footerRowOutlet.viewContainer.clear();this._footerRowDefs.forEach(function(b,c){return a._renderRow(a._footerRowOutlet,b,c)});M4b(this)};
g._addStickyColumnStyles=function(a,b){var c=this,d=Array.from(b.columns||[]).map(function(e){return c._columnDefsByName.get(e)});b=d.map(function(e){return e.sticky});d=d.map(function(e){return e.stickyEnd});H4b(this._stickyStyler,a,b,d,!this._fixedLayout||this._forceRecalculateCellWidths)};g._getRenderedRows=function(a){for(var b=[],c=0;c<a.viewContainer.length;c++){var d=a.viewContainer.get(c);b.push(d.rootNodes[0])}return b};
g._getRowDefs=function(a,b){if(1==this._rowDefs.length)return[this._rowDefs[0]];var c=[];if(this.multiTemplateDataRows)c=this._rowDefs.filter(function(e){return!e.when||e.when(b,a)});else{var d=this._rowDefs.find(function(e){return e.when&&e.when(b,a)})||this._defaultRowDef;d&&c.push(d)}return c};g._getEmbeddedViewArgs=function(a,b){return{templateRef:a.rowDef.template,context:{$implicit:a.data},index:b}};
g._renderRow=function(a,b,c,d){d=void 0===d?{}:d;a=a.viewContainer.createEmbeddedView(b.template,d,c);this._renderCellTemplateForItem(b,d);return a};g._renderCellTemplateForItem=function(a,b){a=m(this._getCellTemplates(a));for(var c=a.next();!c.done;c=a.next())c=c.value,SL&&SL._viewContainer.createEmbeddedView(c,b);this._changeDetectorRef.markForCheck()};
g._updateRowIndexContext=function(){for(var a=this._rowOutlet.viewContainer,b=0,c=a.length;b<c;b++){var d=a.get(b).context;d.count=c;d.first=0===b;d.last=b===c-1;d.even=0===b%2;d.odd=!d.even;this.multiTemplateDataRows?(d.dataIndex=this._renderRows[b].dataIndex,d.renderIndex=b):d.index=this._renderRows[b].dataIndex}};
g._getCellTemplates=function(a){var b=this;return a&&a.columns?Array.from(a.columns,function(c){c=b._columnDefsByName.get(c);return a instanceof PL?c.headerCell.template:a instanceof QL?c.footerCell.template:c.cell.template}):[]};
g._applyNativeTableSections=function(){for(var a=this._document.createDocumentFragment(),b=m([{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=m(d.outlets);for(var e=d.next();!e.done;e=d.next())c.appendChild(e.value.elementRef.nativeElement);a.appendChild(c)}this._elementRef.nativeElement.appendChild(a)};
g._forceRenderDataRows=function(){this._dataDiffer.diff([]);this._rowOutlet.viewContainer.clear();this.renderRows()};g._checkStickyStates=function(){var a=function(b,c){return b||c.hasStickyChanged()};this._headerRowDefs.reduce(a,!1)&&L4b(this);this._footerRowDefs.reduce(a,!1)&&M4b(this);Array.from(this._columnDefsByName.values()).reduce(a,!1)&&(this._stickyColumnStylesNeedReset=!0,bM(this))};
g._setupStickyStyler=function(){var a=this;this._stickyStyler=new F4b(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,C.of)()).pipe(dg(this._onDestroy)).subscribe(function(b){a._stickyStyler.direction=b;bM(a)})};g._getOwnDefs=function(a){var b=this;return a.filter(function(c){return!c._table||c._table===b})};
g._updateNoDataRow=function(){var a=this._customNoDataRow||this._noDataRow;if(a){var b=0===this._rowOutlet.viewContainer.length;if(b!==this._isShowingNoDataRow){var c=this._noDataRowOutlet.viewContainer;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}}};
Xi.Object.defineProperties(aM.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=bi(a);this._rowOutlet&&this._rowOutlet.viewContainer.length&&
(this._forceRenderDataRows(),bM(this))}},fixedLayout:{configurable:!0,enumerable:!0,get:function(){return this._fixedLayout},set:function(a){this._fixedLayout=bi(a);this._stickyColumnStylesNeedReset=this._forceRecalculateCellWidths=!0}}});aM.\u0275fac=function(a){return new (a||aM)(A(tw),A(qw),A(ke),ce("role"),A(gz,8),A(Vi),A(yx),A(BKb),A(y4b),A(uz),A(D4b,12),A(hg,8))};
aM.\u0275cmp=p({type:aM,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(a,b,c){a&1&&(jh(c,WL,5),jh(c,KL,5),jh(c,RL,5),jh(c,PL,5),jh(c,QL,5));if(a&2){var d;hh(d=kh())&&(b._noDataRow=d.first);hh(d=kh())&&(b._contentColumnDefs=d);hh(d=kh())&&(b._contentRowDefs=d);hh(d=kh())&&(b._contentHeaderRowDefs=d);hh(d=kh())&&(b._contentFooterRowDefs=d)}},viewQuery:function(a,b){a&1&&(ih(XL,7),ih(YL,7),ih(ZL,7),ih($L,7));if(a&2){var c;hh(c=kh())&&(b._rowOutlet=c.first);hh(c=kh())&&(b._headerRowOutlet=
c.first);hh(c=kh())&&(b._footerRowOutlet=c.first);hh(c=kh())&&(b._noDataRowOutlet=c.first)}},hostAttrs:["ngSkipHydration","true",1,"cdk-table"],hostVars:2,hostBindings:function(a,b){a&2&&Fg("cdk-table-fixed-layout",b.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[Ug([{provide:GL,useExisting:aM},{provide:BKb,useClass:zKb},{provide:y4b,useClass:NL},
{provide:D4b,useValue:null}])],ngContentSelectors:["caption","colgroup, col"],decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(a){a&1&&(Ng(K4b),Og(0),Og(1,1),Kg(2,0)(3,1)(4,2)(5,3))},dependencies:[XL,YL,ZL,$L],styles:[".cdk-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2});var cM=function(){};cM.\u0275fac=function(a){return new (a||cM)};cM.\u0275mod=od({type:cM});cM.\u0275inj=Wc({imports:[yz]});var dM=function(){HL.apply(this,arguments)};W(dM,HL);dM.\u0275fac=function(){var a;return function(b){return(a||(a=ie(dM)))(b||dM)}}();dM.\u0275dir=qd({type:dM,selectors:[["","matCellDef",""]],features:[Ug([{provide:HL,useExisting:dM}]),qg]});var eM=function(){IL.apply(this,arguments)};W(eM,IL);eM.\u0275fac=function(){var a;return function(b){return(a||(a=ie(eM)))(b||eM)}}();eM.\u0275dir=qd({type:eM,selectors:[["","matHeaderCellDef",""]],features:[Ug([{provide:IL,useExisting:eM}]),qg]});
var fM=function(){return KL.apply(this,arguments)||this};W(fM,KL);fM.prototype._updateColumnCssClassName=function(){KL.prototype._updateColumnCssClassName.call(this);this._columnCssClassName.push("mat-column-"+this.cssClassFriendlyName)};Xi.Object.defineProperties(fM.prototype,{name:{configurable:!0,enumerable:!0,get:function(){return this._name},set:function(a){this._setNameInput(a)}}});fM.\u0275fac=function(){var a;return function(b){return(a||(a=ie(fM)))(b||fM)}}();
fM.\u0275dir=qd({type:fM,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[Ug([{provide:KL,useExisting:fM},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:fM}]),qg]});var gM=function(){LL.apply(this,arguments)};W(gM,LL);gM.\u0275fac=function(){var a;return function(b){return(a||(a=ie(gM)))(b||gM)}}();gM.\u0275dir=qd({type:gM,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[qg]});
var hM=function(){ML.apply(this,arguments)};W(hM,ML);hM.\u0275fac=function(){var a;return function(b){return(a||(a=ie(hM)))(b||hM)}}();hM.\u0275dir=qd({type:hM,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[qg]});var iM=function(){return PL.apply(this,arguments)||this};W(iM,PL);iM.\u0275fac=function(){var a;return function(b){return(a||(a=ie(iM)))(b||iM)}}();iM.\u0275dir=qd({type:iM,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[Ug([{provide:PL,useExisting:iM}]),qg]});var jM=function(){RL.apply(this,arguments)};W(jM,RL);jM.\u0275fac=function(){var a;return function(b){return(a||(a=ie(jM)))(b||jM)}}();
jM.\u0275dir=qd({type:jM,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[Ug([{provide:RL,useExisting:jM}]),qg]});var kM=function(){};W(kM,UL);kM.\u0275fac=function(){var a;return function(b){return(a||(a=ie(kM)))(b||kM)}}();
kM.\u0275cmp=p({type:kM,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[Ug([{provide:UL,useExisting:kM}]),qg],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&Kg(0,0)},dependencies:[TL],encapsulation:2});var lM=function(){};W(lM,VL);lM.\u0275fac=function(){var a;return function(b){return(a||(a=ie(lM)))(b||lM)}}();
lM.\u0275cmp=p({type:lM,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[Ug([{provide:VL,useExisting:lM}]),qg],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&Kg(0,0)},dependencies:[TL],encapsulation:2});var N4b=[[["caption"]],[["colgroup"],["col"]]],mM=function(){aM.apply(this,arguments);this.stickyCssClass="mat-table-sticky";this.needsPositionStickyOnElement=!1};W(mM,aM);mM.\u0275fac=function(){var a;return function(b){return(a||(a=ie(mM)))(b||mM)}}();
mM.\u0275cmp=p({type:mM,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:["ngSkipHydration","true",1,"mat-table"],hostVars:2,hostBindings:function(a,b){a&2&&Fg("mat-table-fixed-layout",b.fixedLayout)},exportAs:["matTable"],features:[Ug([{provide:BKb,useClass:zKb},{provide:aM,useExisting:mM},{provide:GL,useExisting:mM},{provide:y4b,useClass:NL},{provide:D4b,useValue:null}]),qg],ngContentSelectors:["caption","colgroup, col"],decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],
["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(a){a&1&&(Ng(N4b),Og(0),Og(1,1),Kg(2,0)(3,1)(4,2)(5,3))},dependencies:[XL,YL,ZL,$L],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 eBa=function(a){return{row:a}},lBa=function(){return["pinnedIssues"]},O4b=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"]]),nM=function(a,b,c,d){this.issueFridge=a;this.domSafe=b;this.router=c;this.hackyPrefs=d;this.getUserInvolvement=Tsa;this.ldapOnly=
Rn;this.viewCellTemplates={};this.COLUMN_TITLES=O4b;this.issueIds$=new C.BehaviorSubject([]);this.defaultColumns=["title","priority","type","id","status"];this.displayedColumns=[];this.customColumns=[];this.displayedIssues$=this.issueIds$.pipe(cg(this.issueFridge.watchSet))};g=nM.prototype;g.ngOnChanges=function(a){!a.displayedColumns||0!==this.displayedColumns.length&&this.displayedColumns.every(function(b){return O4b.has(b)})||(this.displayedColumns=this.defaultColumns)};
g.navigateToIssue=function(a,b){a.defaultPrevented||"mouseup"===a.type&&a instanceof MouseEvent&&1!==a.button||"A"===a.target.tagName||(b=$n(b.issueId),a.ctrlKey||a.metaKey||a instanceof MouseEvent&&1===a.button?this.domSafe.openInNewTab(b):a&&a.shiftKey?Kp(this.domSafe,b):Gt(this.router,b))};
g.getMenuItems=function(a){var b=this,c=[{type:"action",label:"Add to My Projects",action:function(){vp(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 f=b.hackyPrefs,h=a.issueId,l=f.prefs;l.issuesThisWeek&&!l.issuesThisWeek.issues.includes(h)&&(l.issuesThisWeek.issues.unshift(h),
f.save(l))},title:"Add to this week",icon:"add"});return c};g.getViewCellTemplate=function(a){if(null!=a)return this.viewCellTemplates[a]||void 0};g.getAssigneeString=function(a){var b,c;return np(ck(null==a?void 0:null==(b=a.snapshot)?void 0:null==(c=b[0])?void 0:c.assigneeUser)||void 0)};g.isInProgress=function(a){return"ACCEPTED"===(null==a?void 0:a.snapshot[0].status)};g.trackByIssueLastModified=function(a,b){return b.issueId+"-"+b.majorModifiedTimeMicros};
Xi.Object.defineProperties(nM.prototype,{issueIds:{configurable:!0,enumerable:!0,set:function(a){this.issueIds$.next(null!=a?a:[])}}});nM.\u0275fac=function(a){return new (a||nM)(A(BH),A(PK),A(FG),A(dI))};
nM.\u0275cmp=p({type:nM,selectors:[["flat-issues-table"]],inputs:{issueIds:"issueIds",displayedColumns:"displayedColumns",customColumns:"customColumns",assigneeMode:"assigneeMode"},features:[Hd],decls:2,vars:3,consts:[[4,"ngIf"],["mat-table","","cdkDropList","","cdkDropListSortingDisabled","",1,"full-width",3,"dataSource","trackBy","cdkDropListConnectedTo","cdkDropListData"],["matColumnDef","id"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","priority"],
["matColumnDef","title"],["matColumnDef","type"],["matColumnDef","status"],["matColumnDef","team"],["matColumnDef","assignee"],["mat-header-cell","","mat-sort-header","assignee",4,"matHeaderCellDef"],["matColumnDef","reporter"],["mat-header-cell","","mat-sort-header","reporter",4,"matHeaderCellDef"],["matColumnDef","createdTime"],["mat-header-cell","","mat-sort-header","createdTime",4,"matHeaderCellDef"],["matColumnDef","modifiedTime"],["mat-header-cell","","mat-sort-header","modifiedTime",4,"matHeaderCellDef"],
["matColumnDef","menu"],[4,"ngFor","ngForOf"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","selectionPreventsClick","","class","clickable",3,"highlighted","click","mouseup",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],[3,"issuePriority"],[1,"break-word",3,"issue"],[3,"issue"],["mat-header-cell","","mat-sort-header","assignee"],[3,"ngSwitch"],[4,"ngSwitchCase"],[3,"issue",4,"ngSwitchDefault"],[3,"email"],[3,"email",4,"ngIf"],["mat-header-cell","","mat-sort-header",
"reporter"],["mat-header-cell","","mat-sort-header","createdTime"],["mat-header-cell","","mat-sort-header","modifiedTime"],["mode","relativepast",3,"timestamp",4,"ngIf","ngIfElse"],["noData",""],["mode","relativepast",3,"timestamp"],["buttonLabel","More options",3,"menuItems","click"],[3,"matColumnDef",4,"ngIf"],[3,"matColumnDef"],["mat-header-cell","","class","first-letter-capitalized",4,"matHeaderCellDef"],["mat-header-cell","",1,"first-letter-capitalized"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],
["mat-header-row",""],["mat-row","","selectionPreventsClick","",1,"clickable",3,"click","mouseup"],[3,"issue",4,"cdkDragPreview"]],template:function(a,b){a&1&&(P(0,mBa,38,8,"ng-container",0),U(1,"async"));a&2&&D("ngIf",V(1,1,b.displayedIssues$))},dependencies:[xw,yw,Dw,zw,Aw,Bw,mM,eM,iM,fM,dM,jM,gM,hM,kM,lM,eL,fL,gL,hL,kL,rL,sL,iI,tL,DL,wL,VK,UK,OK,uL,cL,Ew],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 oM=function(a,b){this.templateRef=a;this.flatIssuesTable=b};oM.prototype.ngOnInit=function(){this.forViewCell&&(this.flatIssuesTable.viewCellTemplates[this.forViewCell]=this.templateRef)};oM.\u0275fac=function(a){return new (a||oM)(A(eh),A(nM))};oM.\u0275dir=qd({type:oM,selectors:[["","forViewCell",""]],inputs:{forViewCell:"forViewCell"}});var P4b=new Bd("IssueCard");var pM=function(){};pM.prototype.visit=function(){};pM.\u0275fac=function(a){return new (a||pM)};pM.\u0275prov=Vc({token:pM,factory:pM.\u0275fac,providedIn:"root"});var Q4b=["el"],qM=function(a){this.viewContainerRef=a};qM.\u0275fac=function(a){return new (a||qM)(A(fh))};qM.\u0275dir=qd({type:qM,selectors:[["","issueCardHost",""]]});var rM=function(a,b){Z.call(this);this.issueReferenceResolver=a;this.issueCard=b;this.hovercardReady=new C.ReplaySubject(1)};W(rM,Z);rM.\u0275dir=Z.\u0275dir;rM.prototype.ngOnInit=function(){};
rM.prototype.ngAfterViewInit=function(){var a=this;this.issueCardHost.changes.pipe(dg(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(Rf(),dg(a.destroyed$)).subscribe(a.hovercardReady),b.changeDetectorRef.detectChanges())})};
rM.prototype.visit=function(a){if(!qBa(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})}};rM.\u0275fac=function(a){return new (a||rM)(A(pM),A(P4b,8))};
rM.\u0275cmp=p({type:rM,selectors:[["b-issue-reference-widget"]],viewQuery:function(a,b){a&1&&(ih(Q4b,7),ih(qM,5));if(a&2){var c;hh(c=kh())&&(b.el=c.first);hh(c=kh())&&(b.issueCardHost=c)}},inputs:{href:"href",issueId:"issueId",commentNumber:"commentNumber"},features:[qg],ngContentSelectors:["*"],decls:6,vars:3,consts:[["issueHovercard","onedevHovercard"],[3,"onedevIsHovercardReady",4,"onedevHovercardLazyBody"],[3,"onedevHovercardTrigger","onedevHovercardActive","href","click"],["el",""],[3,"onedevIsHovercardReady"],
["issueCardHost",""]],template:function(a,b){a&1&&(Ng(),E(0,"onedev-hovercard",null,0),P(2,rBa,2,1,"div",1),F(),E(3,"a",2,3),K("click",function(d){return b.visit(d)}),Og(5),F());if(a&2){var c=O(1);z(3);D("onedevHovercardTrigger",c)("onedevHovercardActive",!!b.issueCard)("href",b.href,Ie)}},dependencies:[iK,jK,nK,kK,qM],encapsulation:2,changeDetection:0});var sM=function(a){Z.call(this);var b=this;this.changelistApi=a;this.providedChangelistId$=new C.ReplaySubject(1);this.changelist$=this.providedChangelistId$.pipe(cg(function(c){return b.changelistApi.getChangelistDetails(c)}),$f({refCount:!0,bufferSize:1}));this.init=new C.ReplaySubject(1)};W(sM,Z);sM.\u0275dir=Z.\u0275dir;sM.prototype.ngOnInit=function(){var a=this;this.changelist$.pipe(Rf(),dg(this.destroyed$)).subscribe(function(){a.init.next()})};
sM.prototype.ngOnChanges=function(a){a.changelistId&&this.providedChangelistId$.next(this.changelistId)};sM.\u0275fac=function(a){return new (a||sM)(A(ND))};
sM.\u0275cmp=p({type:sM,selectors:[["b-changelist-card"]],inputs:{changelistId:"changelistId"},outputs:{init:"init"},features:[qg,Hd],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&&(E(0,"div",0)(1,"div",1),P(2,vBa,16,6,"ng-container",2),U(3,"async"),F()());a&2&&(z(2),D("ngIf",V(3,1,b.changelist$)))},dependencies:[xw,yw,TK,cL,Ew],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 tM=function(){this.config=Object.assign({},new lK,{delay:400,position:[{originX:"start",originY:"center",overlayX:"end",overlayY:"center",offsetX:-20}]})};tM.prototype.ngOnInit=function(){};tM.\u0275fac=function(a){return new (a||tM)};
tM.\u0275cmp=p({type:tM,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&&(E(0,"a",0),Q(1),F(),E(2,"onedev-hovercard",null,1),P(4,wBa,2,2,"b-changelist-card",2),F());if(a&
2){var c=O(3);D("href","http://critique.corp.google.com/"+b.changelistId,Ie)("onedevHovercardTrigger",c)("onedevHovercardConfig",b.config);ug("aria-label","Changelist"+b.changelistId);z(1);R(" ",b.changelistId,"\n")}},dependencies:[iK,jK,nK,kK,sM],encapsulation:2});var uM=function(){this.model={};this.hovercardEnabled=this.availabilityChipEnabled=!0;this.hovercardFocusEnabled=!1};uM.prototype.getDisplayString=function(){return Yj(this.model)};var R4b=function(a){var b=a.model;return(b&&b.getUserGaiaStatus?eoa(bk(b)):eoa(b))&&!!a.getEmailAddress()};uM.prototype.getEmailAddress=function(){return ck(this.model)||""};uM.\u0275fac=function(a){return new (a||uM)};
uM.\u0275cmp=p({type:uM,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&&(I(0),P(1,xBa,1,4,"b-user-display-name",0),P(2,yBa,2,1,"span",
1),J());a&2&&(z(1),D("ngIf",R4b(b)),z(1),D("ngIf",!R4b(b)))},dependencies:[yw,TK],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 vM=function(){this.toIssuePriority=sn;this.clAuthorToUser=Isa;this.getClNumber=Jsa;this.clEventToClDescription=Ksa;this.getPreviousDiffValue=Lsa;this.getNewDiffValue=Msa;this.getIssueDetailsUrl=Nsa;this.numEventsDisplayed=3;this.activityEvents=null;this.title="Recent Activity"},IBa=function(a){return a.activityEvents&&0!==a.activityEvents.length?3<=a.activityEvents.length-a.numEventsDisplayed?3:a.activityEvents.length-a.numEventsDisplayed:0};
vM.prototype.trackByEventModifiedTime=function(a,b){return b.issueId+"-"+b.event.modifiedDate};vM.\u0275fac=function(a){return new (a||vM)};
vM.\u0275cmp=p({type:vM,selectors:[["activity-stream"]],inputs:{activityEvents:"activityEvents",title:"title"},decls:3,vars:6,consts:[[4,"ngIf"],[1,"heading-xs","margin-s-y"],[1,"events"],["class","flex-kids-x",3,"margin-xs-bottom",4,"ngFor","ngForOf","ngForTrackBy"],[1,"flex-kids-x"],[1,"bv2-profile-avatar",3,"email"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[1,"type-m","event-heading"],[3,"model"],[3,"changelistId"],[3,"href","issueId"],["mode","relativepast",3,"timestamp"],[1,"line-clamp-2",
"type-s","muted","break-word"],[1,"type-s","muted"],[3,"issuePriority"],["mat-button","","color","primary",1,"gmat-button","margin-s-top","small",3,"click"]],template:function(a,b){a&1&&(P(0,HBa,5,3,"ng-container",0),U(1,"slice"),P(2,JBa,3,1,"ng-container",0));a&2&&(D("ngIf",ah(1,2,b.activityEvents,0,b.numEventsDisplayed)),z(2),D("ngIf",0<IBa(b)))},dependencies:[xw,yw,zw,Aw,Bw,tA,UK,uM,iI,tM,rM,cL,Lw],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 S4b=["determinateSpinner"],T4b=Yi(function(a){this._elementRef=a},"primary"),U4b=new Bd("mat-progress-spinner-default-options",{providedIn:"root",factory:LBa}),wM=function(a,b,c){a=T4b.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};W(wM,T4b);g=wM.prototype;g._circleRadius=function(){return(this.diameter-10)/2};g._viewBox=function(){var a=2*this._circleRadius()+this.strokeWidth;return"0 0 "+a+" "+a};g._strokeCircumference=function(){return 2*Math.PI*this._circleRadius()};g._strokeDashOffset=function(){return"determinate"===this.mode?this._strokeCircumference()*(100-this._value)/100:null};g._circleStrokeWidth=function(){return this.strokeWidth/this.diameter*100};
Xi.Object.defineProperties(wM.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,ei(a)))}},diameter:{configurable:!0,enumerable:!0,get:function(){return this._diameter},set:function(a){this._diameter=ei(a)}},strokeWidth:{configurable:!0,enumerable:!0,get:function(){var a;return null!=(a=this._strokeWidth)?a:this.diameter/10},set:function(a){this._strokeWidth=ei(a)}}});
wM.\u0275fac=function(a){return new (a||wM)(A(ke),A(cv,8),A(U4b))};
wM.\u0275cmp=p({type:wM,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(a,b){a&1&&ih(S4b,5);if(a&2){var c;hh(c=kh())&&(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&&(ug("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow","determinate"===b.mode?b.value:null)("mode",b.mode),Eg("width",b.diameter,"px")("height",b.diameter,"px")("--mdc-circular-progress-size",
b.diameter+"px")("--mdc-circular-progress-active-indicator-width",b.diameter+"px"),Fg("_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:[qg],decls:14,vars:11,consts:[["circle",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["determinateSpinner",""],["xmlns","http://www.w3.org/2000/svg",
"focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg",
"focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(a,b){a&1&&(P(0,KBa,2,8,"ng-template",null,0,qh),E(2,"div",1,2),Sd(),E(4,"svg",3),H(5,"circle",4),F()(),Td(),E(6,"div",5)(7,"div",6)(8,"div",7),Kg(9,8),F(),E(10,"div",9),Kg(11,8),F(),E(12,"div",10),Kg(13,8),F()()());if(a&2){var c=O(1);z(4);ug("viewBox",b._viewBox());z(1);Eg("stroke-dasharray",b._strokeCircumference(),"px")("stroke-dashoffset",b._strokeDashOffset(),"px")("stroke-width",
b._circleStrokeWidth(),"%");ug("r",b._circleRadius());z(4);D("ngTemplateOutlet",c);z(2);D("ngTemplateOutlet",c);z(2);D("ngTemplateOutlet",c)}},dependencies:[Dw],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 xM=function(){};xM.\u0275fac=function(a){return new (a||xM)};xM.\u0275mod=od({type:xM});xM.\u0275inj=Wc({imports:[Mw,Mz]});var V4b=Yi(function(a){this._elementRef=a},"primary"),yM=function(a,b,c,d,e,f,h,l,q){var u=V4b.call(this,a)||this;u._document=c;u._nonce=q;u._diameter=100;u._value=0;u._resizeSubscription=C.Subscription.EMPTY;u.mode="determinate";u._spinnerAnimationLabel=u._getSpinnerAnimationLabel();W4b.has(c.head)||W4b.set(c.head,new Set([100]));u._noopAnimations="NoopAnimations"===d&&!!e&&!e._forceAnimations;"mat-spinner"===a.nativeElement.nodeName.toLowerCase()&&(u.mode="indeterminate");e&&(e.color&&(u.color=
u.defaultColor=e.color),e.diameter&&(u.diameter=e.diameter),e.strokeWidth&&(u.strokeWidth=e.strokeWidth));b.isBrowser&&b.SAFARI&&h&&f&&l&&(u._resizeSubscription=h.change(150).subscribe(function(){"indeterminate"===u.mode&&l.run(function(){return f.markForCheck()})}));return u};W(yM,V4b);g=yM.prototype;g.ngOnInit=function(){var a=this._elementRef.nativeElement;this._styleRoot=Yh(a)||this._document.head;this._attachStyleNode();a.classList.add("mat-progress-spinner-indeterminate-animation")};
g.ngOnDestroy=function(){this._resizeSubscription.unsubscribe()};g._getCircleRadius=function(){return(this.diameter-10)/2};g._getViewBox=function(){var a=2*this._getCircleRadius()+this.strokeWidth;return"0 0 "+a+" "+a};g._getStrokeCircumference=function(){return 2*Math.PI*this._getCircleRadius()};g._getStrokeDashOffset=function(){return"determinate"===this.mode?this._getStrokeCircumference()*(100-this._value)/100:null};g._getCircleStrokeWidth=function(){return this.strokeWidth/this.diameter*100};
g._getCircleTransformOrigin=function(a){var b;a=50*(null!=(b=a.currentScale)?b:1);return a+"% "+a+"%"};g._attachStyleNode=function(){var a=this._styleRoot,b=this._diameter,c=W4b.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,W4b.set(a,c));c.add(b)}};
g._getAnimationText=function(){var a=this._getStrokeCircumference();return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n    0%      { stroke-dashoffset: START_VALUE;  transform: rotate(0); }\n    12.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(0); }\n    12.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(72.5deg); }\n    25%     { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(72.5deg); }\n\n    25.0001%   { stroke-dashoffset: START_VALUE;  transform: rotate(270deg); }\n    37.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(270deg); }\n    37.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(161.5deg); }\n    50%     { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(161.5deg); }\n\n    50.0001%  { stroke-dashoffset: START_VALUE;  transform: rotate(180deg); }\n    62.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(180deg); }\n    62.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(251.5deg); }\n    75%     { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(251.5deg); }\n\n    75.0001%  { stroke-dashoffset: START_VALUE;  transform: rotate(90deg); }\n    87.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(90deg); }\n    87.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(341.5deg); }\n    100%    { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(341.5deg); }\n  }\n".replace(/START_VALUE/g,
""+.95*a).replace(/END_VALUE/g,""+.2*a).replace(/DIAMETER/g,this._spinnerAnimationLabel)};g._getSpinnerAnimationLabel=function(){return this.diameter.toString().replace(".","_")};
Xi.Object.defineProperties(yM.prototype,{diameter:{configurable:!0,enumerable:!0,get:function(){return this._diameter},set:function(a){this._diameter=ei(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=ei(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,ei(a)))}}});var W4b=new WeakMap;yM.\u0275fac=function(a){return new (a||yM)(A(ke),A(yx),A(Vi,8),A(cv,8),A(U4b),A(qw),A(uz),A(hg),A(gFb,8))};
yM.\u0275cmp=p({type:yM,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&&(ug("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),Eg("width",b.diameter,"px")("height",b.diameter,"px"),Fg("_mat-animation-noopable",b._noopAnimations))},inputs:{color:"color",
diameter:"diameter",strokeWidth:"strokeWidth",mode:"mode",value:"value"},exportAs:["matProgressSpinner"],features:[qg],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&&(Sd(),E(0,"svg",0,1),P(2,MBa,1,11,"circle",2),P(3,NBa,1,9,"circle",3),F());a&2&&(Eg("width",b.diameter,"px")("height",b.diameter,"px"),D("ngSwitch","indeterminate"===b.mode),ug("viewBox",b._getViewBox()),z(2),D("ngSwitchCase",!0),z(1),D("ngSwitchCase",!1))},dependencies:[zw,Aw],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 zM=function(){};zM.\u0275fac=function(a){return new (a||zM)};zM.\u0275cmp=p({type:zM,selectors:[["b-spinner"]],inputs:{large:"large"},decls:2,vars:2,consts:[["class","large",3,"diameter",4,"ngIf"],["class","small",3,"diameter","strokeWidth",4,"ngIf"],[1,"large",3,"diameter"],[1,"small",3,"diameter","strokeWidth"]],template:function(a,b){a&1&&(P(0,OBa,1,1,"mat-spinner",0),P(1,PBa,1,2,"mat-spinner",1));a&2&&(D("ngIf",b.large),z(1),D("ngIf",!b.large))},dependencies:[yw,yM],styles:[".muted[_nghost-%COMP%]     .mat-progress-spinner circle, .muted[_nghost-%COMP%]     .mat-spinner circle{stroke:rgba(0,0,0,.4)}[_nghost-%COMP%]     .mat-progress-spinner circle, [_nghost-%COMP%]     .mat-spinner circle{stroke:var(--text-primary)}.large[_ngcontent-%COMP%]{position:absolute;left:50%;top:50%;margin-left:-18px;margin-top:-18px}[_nghost-%COMP%]{animation-delay:150ms;animation-duration:200ms;animation-name:_ngcontent-%COMP%_fade-in;animation-timing-function:linear;animation-fill-mode:both;display:inline-block;vertical-align:middle}[_nghost-%COMP%]     mat-spinner.small{margin-top:-2px}@keyframes _ngcontent-%COMP%_fade-in{0%{opacity:0}100%{opacity:1}}\n/*# sourceMappingURL=spinner.css.map */"]});var AM=function(){this._inset=this._vertical=!1};Xi.Object.defineProperties(AM.prototype,{vertical:{configurable:!0,enumerable:!0,get:function(){return this._vertical},set:function(a){this._vertical=bi(a)}},inset:{configurable:!0,enumerable:!0,get:function(){return this._inset},set:function(a){this._inset=bi(a)}}});AM.\u0275fac=function(a){return new (a||AM)};
AM.\u0275cmp=p({type:AM,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(a,b){a&2&&(ug("aria-orientation",b.vertical?"vertical":"horizontal"),Fg("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 VBa=function(){return[]},BM=function(a,b,c,d,e,f){Z.call(this);var h=this;this.hotlistFridge=a;this.hackyPrefs=b;this.data=c;this.projectActivity=d;this.hotlistApi=e;this.issueFridge=f;this.makeCritiqueUrl=Fsa;this.makePie=Gsa;this.hotlistId$=new C.ReplaySubject(1);this.hotlist$=this.hotlistId$.pipe(cg(this.hotlistFridge.watchOne));this.orderedByHotlistPositionIssueIds$=this.hotlistId$.pipe(cg(function(l){return h.hotlistApi.getPagedHotlistContent(l,1,50,[])}),B(function(l){return l.issues}),
B(function(l){return l.map(function(q){return q.issueId})}));this.openIssueIds$=this.hotlistId$.pipe(cg(function(l){return h.issueFridge.watchMany({filter:"hotlistid:"+l+" status:open",pageSize:25,sort:"modified_time:desc"})}),B(function(l){return l.results}),B(function(l){return l.map(function(q){return q.issueId})}));this.hotlistIssueIds$=(0,C.combineLatest)([this.openIssueIds$,this.orderedByHotlistPositionIssueIds$]).pipe(B(function(l){l=m(l);var q=l.next().value,u=l.next().value;l=[];q=new Set(q);
u=m(u);for(var x=u.next();!x.done&&(x=x.value,q.has(x)&&l.push(x),25!==l.length);x=u.next());return l}),dg(this.destroyed$));this.projectData$=this.orderedByHotlistPositionIssueIds$.pipe(cg(function(l){return CVb(h.data,[].concat(r(l)))}),$f({refCount:!0,bufferSize:1}));this.hotlistActivityEvents$=this.hotlistId$.pipe(cg(function(l){return s_b(h.projectActivity,l)}));this.columnsToDisplay=["title","assignee","status","id","menu"]};W(BM,Z);BM.\u0275dir=Z.\u0275dir;
BM.prototype.isCollapsed=function(a){a=a.hotlistId;return this.addMode||this.prefs.collapsed["hotlist-"+a]};BM.prototype.removeHotlist=function(a){Iq(this.hackyPrefs,Ln(a))};BM.prototype.reorder=function(a,b){Hq(this.hackyPrefs,Ln(a),b)};BM.prototype.canMove=function(a,b){return Jq(this.hackyPrefs,Ln(a),b)};Xi.Object.defineProperties(BM.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}}});
BM.\u0275fac=function(a){return new (a||BM)(A(hH),A(dI),A(tF),A(gI),A(aH),A(BH))};
BM.\u0275cmp=p({type:BM,selectors:[["hotlist-as-project-card"]],inputs:{addMode:"addMode",hotlistId:"hotlistId"},features:[qg],decls:2,vars:3,consts:[["class","carded bg-main",3,"collapsed","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"],[1,"symbol","arrow",3,"click"],[1,
"muted","item-id"],[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"],["class","margin-left-auto flex-kids-x align-items-center",4,"ngIf"],[1,"margin-left-auto","flex-kids-x","align-items-center"],[1,"collapsed-stats","margin-right"],["class","flex-kids-x align-items-center",4,"ngIf"],["class",
"contributor-avatar",3,"email",4,"ngFor","ngForOf"],["mat-icon-button","","aria-label","More options","aria-haspopup","true",1,"gmat-button","card-overflow",3,"matMenuTriggerFor"],["svgIcon","more-settings-vertical",1,"icon-m"],[1,"flex-kids-x","align-items-center"],["aria-hidden","true","alt","","src","https://static.corp.google.com/devtools/codereview/new_logo_only.svg",2,"width","16px"],["target","_blank",1,"subtle-link",2,"color","var(--text-good)",3,"href"],[1,"contributor-avatar",3,"email"],
["class","flex-kids-x align-items-center gap stats",4,"ngIf"],[1,"flex-kids-x","align-items-center","gap","stats"],["class","flex-kids-x align-items-center",3,"title",4,"ngIf"],[1,"flex-kids-x","align-items-center",3,"title"],[1,"pie","margin-s-right"],["target","_blank","class","subtle-link","style","color: var(--text-good)",3,"href",4,"ngIf"],[1,"main-content"],[1,"margin-s-top"],[3,"href"],[3,"issueIds","displayedColumns","assigneeMode"],[4,"ngIf","ngIfElse"],["loading",""],[3,"activityEvents"]],
template:function(a,b){a&1&&(P(0,eCa,32,13,"div",0),U(1,"async"));a&2&&D("ngIf",V(1,1,b.hotlist$))},dependencies:[xw,yw,tA,jB,UK,nM,zM,FC,DC,EC,AM,vM,Ew,Lw,Kw],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}.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);cursor:pointer}.pie[_ngcontent-%COMP%]{display:inline-block;width:24px;height:24px;border-radius:50%;background-color:#f8f9fa;background-color:var(--surface-secondary)}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}.add-mode[_ngcontent-%COMP%]   .symbol.arrow[_ngcontent-%COMP%]{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 */']});var CM=function(a,b){Z.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(B(function(d){return[].concat(r(d.keys())).filter(function(e){return!Rq(c.hackyPrefs).includes(Ln(e))})}));this.skipFirstSuggestion=!1;this.suggestedHotlists$.pipe(dg(this.destroyed$)).subscribe(function(d){var e=Array.from(d)[0][0];d=Array.from(d)[0][1];
0===Rq(c.hackyPrefs).length&&!c.hackyPrefs.prefs.hasUserEdits&&(5<d.confidence||3<d.count)&&(vp(c.hackyPrefs,Ln(e)),c.skipFirstSuggestion=!0,c.suggestionCount++)})};W(CM,Z);CM.\u0275dir=Z.\u0275dir;CM.\u0275fac=function(a){return new (a||CM)(A(dI),A(YH))};
CM.\u0275cmp=p({type:CM,selectors:[["suggested-hotlists"]],inputs:{disableShowMore:"disableShowMore",suggestionCount:"suggestionCount"},features:[qg],decls:4,vars:4,consts:[[4,"ngIf","ngIfElse"],["loading",""],[1,"flex-kids-y","gap"],[1,"muted"],["mat-icon-button","","href","http://go/b-learn-hotlist-suggestions","target","_blank","title","Learn more","aria-label","Learn more",1,"small"],["svgIcon","info",1,"icon-s"],[4,"ngFor","ngForOf"],["class","muted",4,"ngIf"],["mat-button","","class","gmat-button",
3,"click",4,"ngIf"],[3,"hotlistId","addMode"],["mat-button","",1,"gmat-button",3,"click"]],template:function(a,b){a&1&&(P(0,iCa,10,7,"ng-container",0),U(1,"async"),P(2,jCa,3,0,"ng-template",null,1,qh));if(a&2){var c=O(3);D("ngIf",V(1,2,b.suggestedHotlistIds$))("ngIfElse",c)}},dependencies:[xw,yw,tA,uA,jB,BM,zM,Ew,Lw],styles:["[_nghost-%COMP%] { display: block; }"]});var X4b=yn(function(a){var b,c;return null!=(c=null==a?void 0:null==(b=a.aggregatedData)?void 0:b.voteCount)?c:0},Rra),DM=function(a){this.issueFridge=a;this.componentIdToRecentCanonicals=new Map};
DM.prototype.search=function(a,b,c,d){var e=this;if(!a.trim())return(0,C.of)(void 0);if("canonical"===b){b=Y4b(this,a,d);d=Z4b(this,d).pipe(cg(function(h){return e.issueFridge.watchMany({filter:kCa(a,xp("-id",null==c?void 0:c.id),xp("status","open"),xp("componentid",h)),pageSize:10})}),B(function(h){return null==h?void 0:h.results}));var f=this.issueFridge.watchMany({filter:kCa(a,xp("-id",null==c?void 0:c.id)),pageSize:10,sort:"modified_time:desc"}).pipe(B(function(h){return null==h?void 0:h.results}),
bg([]));return(0,C.combineLatest)([b,d,f]).pipe(B(function(h){return vn(h.flat(),function(l){return l.issueId})}),B(function(h){return h.slice(0,10)}),B(function(h){return X4b(h,"desc")}))}return this.issueFridge.watchMany({filter:a,pageSize:10}).pipe(B(function(h){return null==h?void 0:h.results}))};
var Y4b=function(a,b,c){return c?$4b(a,c).pipe(cg(function(d){return 0===d.length?(0,C.of)([]):a.issueFridge.watchMany({filter:kCa(b,xp("id",d),xp("status","open")),pageSize:10}).pipe(B(function(e){return null==e?void 0:e.results}))})):(0,C.of)([])},$4b=function(a,b){if(!b)return(0,C.of)([]);if(a.componentIdToRecentCanonicals.has(b))return a.componentIdToRecentCanonicals.get(b);var c=a.issueFridge.watchMany({filter:kCa(xp("componentid",b,!0),xp("status","duplicate")),sort:"modified_time:desc",pageSize:250}).pipe(B(function(d){return null==
d?void 0:d.results}),B(function(d){return d.map(function(e){return e.snapshot[0].duplicateOfIssueId})}),B(function(d){return wn(d.filter(nk))}),$f({bufferSize:1,refCount:!0}));a.componentIdToRecentCanonicals.set(b,c);return c},Z4b=function(a,b){return b?$4b(a,b).pipe(cg(function(c){return a.issueFridge.watchSet(c)}),B(function(c){return c.map(function(d){return d.snapshot[0].componentId})}),B(function(c){return[b].concat(r(c.filter(nk)))}),B(wn),$f({bufferSize:1,refCount:!0})):(0,C.of)([])};
DM.\u0275fac=function(a){return new (a||DM)(n(BH))};DM.\u0275prov=Vc({token:DM,factory:DM.\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(M,T,S){M.addEventListener?M.addEventListener(T,S,!1):M.attachEvent("on"+T,S)}function e(M){if("keypress"==M.type){var T=String.fromCharCode(M.which);M.shiftKey||(T=T.toLowerCase());return T}return u[M.which]?u[M.which]:x[M.which]?x[M.which]:String.fromCharCode(M.which).toLowerCase()}function f(M){return"shift"==M||"ctrl"==M||"alt"==M||"meta"==M}function h(M,T){var S,X=[];"+"===M?M=["+"]:(M=M.replace(/\+{2}/g,"+plus"),M=M.split("+"));for(S=0;S<M.length;++S){var aa=M[S];
G[aa]&&(aa=G[aa]);T&&"keypress"!=T&&y[aa]&&(aa=y[aa],X.push("shift"));f(aa)&&X.push(aa)}M=aa;S=T;if(!S){if(!L){L={};for(var na in u)95<na&&112>na||u.hasOwnProperty(na)&&(L[u[na]]=na)}S=L[M]?"keydown":"keypress"}"keypress"==S&&X.length&&(S="keydown");return{key:aa,modifiers:X,action:S}}function l(M,T){return null===M||M===b?!1:M===T?!0:l(M.parentNode,T)}function q(M){function T(ha){ha=ha||{};var xa=!1,Da;for(Da in Fa)ha[Da]?xa=!0:Fa[Da]=0;xa||(Ma=!1)}function S(ha,xa,Da,Wa,Ra,Ec){var Va,kb,Qa=[],tb=
Da.type;if(!Ca._callbacks[ha])return[];"keyup"==tb&&f(ha)&&(xa=[ha]);for(Va=0;Va<Ca._callbacks[ha].length;++Va)if(kb=Ca._callbacks[ha][Va],(Wa||!kb.seq||Fa[kb.seq]==kb.level)&&tb==kb.action){var Ya;(Ya="keypress"==tb&&!Da.metaKey&&!Da.ctrlKey)||(Ya=kb.modifiers,Ya=xa.sort().join(",")===Ya.sort().join(","));Ya&&(Ya=Wa&&kb.seq==Wa&&kb.level==Ec,(!Wa&&kb.combo==Ra||Ya)&&Ca._callbacks[ha].splice(Va,1),Qa.push(kb))}return Qa}function X(ha,xa,Da,Wa){Ca.stopCallback(xa,xa.target||xa.srcElement,Da,Wa)||!1!==
ha(xa,Da)||(xa.preventDefault?xa.preventDefault():xa.returnValue=!1,xa.stopPropagation?xa.stopPropagation():xa.cancelBubble=!0)}function aa(ha){"number"!==typeof ha.which&&(ha.which=ha.keyCode);var xa=e(ha);if(xa)if("keyup"==ha.type&&Ab===xa)Ab=!1;else{var Da=Ca,Wa=Da.handleKey,Ra=[];ha.shiftKey&&Ra.push("shift");ha.altKey&&Ra.push("alt");ha.ctrlKey&&Ra.push("ctrl");ha.metaKey&&Ra.push("meta");Wa.call(Da,xa,Ra,ha)}}function na(ha,xa,Da,Wa){function Ra(Qa){return function(){Ma=Qa;++Fa[ha];clearTimeout(Ja);
Ja=setTimeout(T,1E3)}}function Ec(Qa){X(Da,Qa,ha);"keyup"!==Wa&&(Ab=e(Qa));setTimeout(T,10)}for(var Va=Fa[ha]=0;Va<xa.length;++Va){var kb=Va+1===xa.length?Ec:Ra(Wa||h(xa[Va+1]).action);ma(xa[Va],kb,Wa,ha,Va)}}function ma(ha,xa,Da,Wa,Ra){Ca._directMap[ha+":"+Da]=xa;ha=ha.replace(/\s+/g," ");var Ec=ha.split(" ");1<Ec.length?na(ha,Ec,xa,Da):(Da=h(ha,Da),Ca._callbacks[Da.key]=Ca._callbacks[Da.key]||[],S(Da.key,Da.modifiers,{type:Da.action},Wa,ha,Ra),Ca._callbacks[Da.key][Wa?"unshift":"push"]({callback:xa,
modifiers:Da.modifiers,action:Da.action,seq:Wa,level:Ra,combo:ha}))}var Ca=this;M=M||b;if(!(Ca instanceof q))return new q(M);Ca.target=M;Ca._callbacks={};Ca._directMap={};var Fa={},Ja,Ab=!1,cb=!1,Ma=!1;Ca._handleKey=function(ha,xa,Da){var Wa=S(ha,xa,Da),Ra;xa={};var Ec=0,Va=!1;for(Ra=0;Ra<Wa.length;++Ra)Wa[Ra].seq&&(Ec=Math.max(Ec,Wa[Ra].level));for(Ra=0;Ra<Wa.length;++Ra)Wa[Ra].seq?Wa[Ra].level==Ec&&(Va=!0,xa[Wa[Ra].seq]=1,X(Wa[Ra].callback,Da,Wa[Ra].combo,Wa[Ra].seq)):Va||X(Wa[Ra].callback,Da,Wa[Ra].combo);
Wa="keypress"==Da.type&&cb;Da.type!=Ma||f(ha)||Wa||T(xa);cb=Va&&"keydown"==Da.type};Ca._bindMultiple=function(ha,xa,Da){for(var Wa=0;Wa<ha.length;++Wa)ma(ha[Wa],xa,Da)};d(M,"keypress",aa);d(M,"keydown",aa);d(M,"keyup",aa)}if(a){var u={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"},x={106:"*",107:"+",109:"-",110:".",
111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},y={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"},G={option:"alt",command:"meta","return":"enter",escape:"esc",plus:"+",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},L;for(c=1;20>c;++c)u[111+c]="f"+c;for(c=0;9>=c;++c)u[c+96]=c;q.prototype.bind=function(M,T,S){M=M instanceof Array?
M:[M];this._bindMultiple.call(this,M,T,S);return this};q.prototype.unbind=function(M,T){return this.bind.call(this,M,function(){},T)};q.prototype.trigger=function(M,T){if(this._directMap[M+":"+T])this._directMap[M+":"+T]({},M);return this};q.prototype.reset=function(){this._callbacks={};this._directMap={};return this};q.prototype.stopCallback=function(M,T){return-1<(" "+T.className+" ").indexOf(" mousetrap ")||l(T,this.target)?!1:"INPUT"==T.tagName||"SELECT"==T.tagName||"TEXTAREA"==T.tagName||T.isContentEditable};
q.prototype.handleKey=function(){return this._handleKey.apply(this,arguments)};q.addKeycodes=function(M){for(var T in M)M.hasOwnProperty(T)&&(u[T]=M[T]);L=null};q.init=function(){var M=q(b),T;for(T in M)"_"!==T.charAt(0)&&(q[T]=function(S){return function(){return M[S].apply(M,arguments)}}(T))};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 yp=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 a5b=function(a,b,c,d,e,f){this.combo=a;this.callback=b;this.allowIn=c;this.description=d;this.action=e;this.persistent=f;this.combo=Array.isArray(a)?a:[a];this.allowIn=c||[];this.description=d||""};
Xi.Object.defineProperties(a5b.prototype,{formatted:{configurable:!0,enumerable:!0,get:function(){if(!this._formatted){for(var a=this.combo[0].split(/[\s]/),b=0;b<a.length;b++){var c=b;var d={command:"\u2318",shift:"\u21e7",left:"\u2190",right:"\u2192",up:"\u2191",down:"\u2193","return":"\u23ce",backspace:"\u232b"};for(var e=a[b].split("+"),f=0;f<e.length;f++)"mod"===e[f]&&(window.navigator&&0<=window.navigator.platform.indexOf("Mac")?e[f]="command":e[f]="ctrl"),e[f]=d[e[f]]||e[f];d=e.join(" + ");
a[c]=d}this._formatted=a}return this._formatted}}});var b5b=new Bd("HotkeyOptions");var EM=function(a){this.options=a;this.hotkeys=[];this.pausedHotkeys=[];this.cheatSheetToggle=new C.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 a5b(this.options.cheatSheetHotkey||"?",function(){this.cheatSheetToggle.next()}.bind(this),[],this.options.cheatSheetDescription||
"Show / hide this help menu"));this.options.cheatSheetCloseEsc&&this.add(new a5b("esc",function(){this.cheatSheetToggle.next(!1)}.bind(this),["HOTKEYS-CHEATSHEET"],this.options.cheatSheetCloseEscDescription||"Hide this help menu"))};g=EM.prototype;
g.add=function(a,b){var c=this;if(Array.isArray(a)){for(var d=[],e=m(a),f=e.next();!f.done;f=e.next())d.push(this.add(f.value,b));return d}this.remove(a);this.hotkeys.push(a);this.mousetrap.bind(a.combo,function(h,l){var q=!0;if(h){var u=h.target,x=u.nodeName.toUpperCase();-1<(" "+u.className+" ").indexOf(" mousetrap ")?q=!0:-1<c.preventIn.indexOf(x)&&-1===a.allowIn.map(function(y){return y.toUpperCase()}).indexOf(x)&&(q=!1)}if(q)return a.callback.apply(c,[h,l])},b);return a};
g.remove=function(a){var b=[];if(!a){var c=m(this.hotkeys);for(a=c.next();!a.done;a=c.next())b.push(this.remove(a.value));return b}if(Array.isArray(a)){c=m(a);for(a=c.next();!a.done;a=c.next())b.push(this.remove(a.value));return b}b=this.hotkeys.indexOf(a);return-1<b?(this.hotkeys.splice(b,1),this.mousetrap.unbind(a.combo),a):null};
g.get=function(a){if(!a)return this.hotkeys;if(Array.isArray(a)){var b=[];a=m(a);for(var c=a.next();!c.done;c=a.next())b.push(this.get(c.value));return b}for(b=0;b<this.hotkeys.length;b++)if(-1<this.hotkeys[b].combo.indexOf(a))return this.hotkeys[b];return null};g.pause=function(a){if(!a)return this.pause(this.hotkeys);if(Array.isArray(a)){var b=[];a=m(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};
g.unpause=function(a){if(!a)return this.unpause(this.pausedHotkeys);if(Array.isArray(a)){var b=[];a=m(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};g.reset=function(){this.mousetrap.reset()};EM.\u0275fac=function(a){return new (a||EM)(n(b5b))};EM.\u0275prov=Vc({token:EM,factory:EM.\u0275fac});var FM=function(){};FM.\u0275fac=function(a){return new (a||FM)};FM.\u0275mod=od({type:FM});FM.\u0275inj=Wc({imports:[Mw]});var c5b;Yba("A AREA BUTTON HEAD INPUT LINK MENU META OPTGROUP OPTION PROGRESS STYLE SELECT SOURCE TEXTAREA TITLE TRACK".split(" "));
var d5b="combobox grid group listbox menu menubar radiogroup row rowgroup tablist textbox toolbar tree treegrid".split(" "),GM=function(a,b){b?a.setAttribute("role",b):a.removeAttribute("role")},HM=function(a,b,c){Array.isArray(c)&&(c=c.join(" "));var d="aria-"+b;""===c||void 0==c?(c5b||(c={},c5b=(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=c5b,b in c?a.setAttribute(d,c[b]):a.removeAttribute(d)):a.setAttribute(d,c)},e5b=function(a,b){a=a.getAttribute("aria-"+b);return null==a||void 0==a?"":String(a)},IM=function(a,b){var c="";b&&(c=b.id);HM(a,"activedescendant",c)};var JM=function(a,b,c,d){Z.call(this);var e=this;this.rawHotkeysService=c;this.ngZone=d;this.enabled=!0;this.paused=!1;this.hotkeyGroups=new Map;this.stopCallback=function(f,h){if(!e.enabled||e.paused)h=!0;else if(-1<(" "+h.className+" ").indexOf(" mousetrap ")||h.classList.contains("has-hotkey"))h=!1;else{if(f=h.getAttribute)f=h.getAttribute("role")||null,f=Ha(d5b,f);h=f||"true"===h.contentEditable||"INPUT"===h.tagName&&"text"===h.type||"SELECT"===h.tagName||"TEXTAREA"===h.tagName||f5b(h)?!0:!1}return h};
b.keyboardPrefs$.pipe(dg(this.destroyed$)).subscribe(function(f){f&&(e.enabled=!!f.enableAllHotkeys)});a.routeChangeStart.pipe(dg(this.destroyed$)).subscribe(function(){e.unpause()});this.rawHotkeysService.mousetrap.stopCallback=this.stopCallback;this.destroyed$.subscribe(function(){g5b(e)})};W(JM,Z);JM.\u0275dir=Z.\u0275dir;JM.prototype.isEnabled=function(){return this.enabled};JM.prototype.isPaused=function(){return this.paused};
var KM=function(a,b){var c=b.title,d=b.hotkeys,e;b=null!=(e=a.hotkeyGroups.get(c))?e:[];a.hotkeyGroups.set(c,[].concat(r(b),r(d)));h5b(a);return function(){var f=new Set(d.map(function(q){return q.onPress})),h,l=(null!=(h=a.hotkeyGroups.get(c))?h:[]).filter(function(q){return!f.has(q.onPress)});l.length?a.hotkeyGroups.set(c,l):a.hotkeyGroups.delete(c);h5b(a)}},g5b=function(a){var b=[].concat(r(a.rawHotkeysService.hotkeys));b=m(b);for(var c=b.next();!c.done;c=b.next())a.rawHotkeysService.remove(c.value);
a.rawHotkeysService.reset()},h5b=function(a){g5b(a);for(var b=m(a.hotkeyGroups.values()),c=b.next();!c.done;c=b.next()){var d=i5b(a,c.value);c={};d=m(d);for(var e=d.next();!e.done;c={$jscomp$loop$prop$binding$2260:c.$jscomp$loop$prop$binding$2260},e=d.next())c.$jscomp$loop$prop$binding$2260=e.value,e=new a5b(pCa(c.$jscomp$loop$prop$binding$2260.key),function(f){return function(h){a.ngZone.run(function(){f.$jscomp$loop$prop$binding$2260.command()});h.stopPropagation();return!1}}(c),c.$jscomp$loop$prop$binding$2260.allowIn),
a.rawHotkeysService.add(e)}},f5b=function(a){return[].concat(r(document.getElementsByClassName("cdk-overlay-pane"))).filter(function(b){return"static"===b.style.position}).some(function(b){return b.contains(a)})},i5b=function(a,b){var c=[],d={};b=m(b);for(var e=b.next();!e.done;d={$jscomp$loop$prop$hotkeySpec$2262:d.$jscomp$loop$prop$hotkeySpec$2262},e=b.next()){d.$jscomp$loop$prop$hotkeySpec$2262=e.value;e={};for(var f=m(d.$jscomp$loop$prop$hotkeySpec$2262.keys.entries()),h=f.next();!h.done;e={$jscomp$loop$prop$index$2264:e.$jscomp$loop$prop$index$2264},
h=f.next()){var l=m(h.value);h=l.next().value;l=l.next().value;e.$jscomp$loop$prop$index$2264=h;c.push(new j5b(l,function(q,u){return function(){a.ngZone.run(function(){q.$jscomp$loop$prop$hotkeySpec$2262.onPress(u.$jscomp$loop$prop$index$2264)})}}(d,e),d.$jscomp$loop$prop$hotkeySpec$2262.allowIn))}}qaa(c,function(q,u){return q.strokeLength>u.strokeLength?-1:q.strokeLength<u.strokeLength?1:0});return c};JM.prototype.pause=function(){this.paused=!0};JM.prototype.unpause=function(){this.paused=!1};
var k5b=function(a){return[].concat(r(a.hotkeyGroups.entries())).map(function(b){var c=m(b);b=c.next().value;c=c.next().value;return{title:b,hotkeys:vn(c,qCa)}})};JM.\u0275fac=function(a){return new (a||JM)(n(vH),n(ZI),n(EM),n(hg))};JM.\u0275prov=Vc({token:JM,factory:JM.\u0275fac,providedIn:"root"});var j5b=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 LM=function(a,b){Z.call(this);this.hotkeys=a;this.tooltip=b;this.hotkeyEnabled=!0;this.onHotkey=new Rv;this.hasHotkey=!0};W(LM,Z);LM.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+")"}};
LM.prototype.ngOnInit=function(){var a=this;this.hotkeyEnabled&&this.subscriptions.add(KM(this.hotkeys,{title:this.hotkey.category,hotkeys:[Object.assign({},this.hotkey,{onPress:function(b){a.onHotkey.next(b)}})]}))};LM.\u0275fac=function(a){return new (a||LM)(A(JM),A(NC,8))};
LM.\u0275dir=qd({type:LM,selectors:[["","hotkey",""]],hostVars:2,hostBindings:function(a,b){a&2&&Fg("has-hotkey",b.hasHotkey)},inputs:{hotkey:"hotkey",hotkeyEnabled:"hotkeyEnabled",matTooltip:"matTooltip"},outputs:{onHotkey:"onHotkey"},features:[qg,Hd]});var l5b={category:"Edit Issue Page",keys:[zp("r")],displayAs:"Shift + r",description:"Refresh"},m5b={category:"Issue List",keys:["u",zp("r")],displayAs:"u / Shift+r",description:"Refresh search results"},MM={ASSIGN_ISSUE_TO_DEFAULT_ASSIGNEE:{category:"Edit Issue Page",keys:[zp("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:[Ap("p","0"),Ap("p","1"),Ap("p","2"),Ap("p","3"),Ap("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:l5b,REFRESH_ISSUE_LIST:m5b,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 NM=function(){};NM.\u0275fac=function(a){return new (a||NM)};NM.\u0275mod=od({type:NM});NM.\u0275inj=Wc({});var OM=function(){this.relayOnly=!1;this.keydown$=new C.Subject};OM.prototype.onKeydown=function(a){this.relayOnly||this.keydown$.next(a)};Xi.Object.defineProperties(OM.prototype,{tabindex:{configurable:!0,enumerable:!0,get:function(){return this.relayOnly?null:"0"}}});OM.\u0275fac=function(a){return new (a||OM)};
OM.\u0275dir=qd({type:OM,selectors:[["","onedevKeyEventReceiver",""]],hostVars:1,hostBindings:function(a,b){a&1&&K("keydown",function(c){return b.onKeydown(c)});a&2&&ug("tabindex",b.tabindex)},inputs:{relayOnly:"relayOnly"}});var n5b=0,PM=function(a){this.keyEventReceiver=a;this.id="onedev-popup-panel-"+n5b;this.closePanel$=new C.ReplaySubject(1);n5b++};PM.prototype.processKeydown=function(a){this.keyEventReceiver&&this.keyEventReceiver.keydown$.next(a);var b=a.code;("Escape"===b||a.altKey&&"ArrowUp"===b)&&this.closePanel$.next()};PM.\u0275fac=function(a){return new (a||PM)(A(OM,8))};
PM.\u0275cmp=p({type:PM,selectors:[["onedev-popup-panel"]],viewQuery:function(a,b){a&1&&ih(eh,7);if(a&2){var c;hh(c=kh())&&(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&&(Ng(),P(0,rCa,2,3,"ng-template"))},styles:[".onedev-popup-panel{background-color:var(--surface-default,#fff);border-radius:4px;overflow:auto}.onedev-popup-panel:focus{outline:0}"],
encapsulation:2});var QM=function(a,b,c,d,e){this.overlay=a;this.element=b;this.viewContainerRef=c;this.focusTrapFactory=d;this.cdr=e;this.disabled=!1;this.closeOnBackdropClick=!0;this.opened=new Rv;this.closed=new Rv;this.isOpen=!1;this.destroyed$=new C.ReplaySubject(1);this.closingActionsSubscription=C.Subscription.EMPTY};QM.prototype.ngOnDestroy=function(){this.close();this.destroyed$.next();this.destroyed$.complete()};
QM.prototype.open=function(){var a=this;this.disabled||this.isOpen||(this.overlayRef=this.createOverlay(),this.templatePortal=new Mx(this.popupPanel.templateRef,this.viewContainerRef),this.overlayRef.attach(this.templatePortal),this.closingActionsSubscription=o5b(this).pipe(dg(this.destroyed$)).subscribe(function(){a.close()}),this.trapFocus(),this.isOpen=!0,this.opened.emit())};
QM.prototype.close=function(){if(this.isOpen){this.isOpen=!1;var a;if(null==(a=this.overlayRef)?0:a.hasAttached())this.overlayRef.detach(),this.overlayRef.dispose();this.focusTrap&&this.focusTrap.destroy();this.closingActionsSubscription.unsubscribe();this.element.nativeElement.focus();this.closed.emit();this.cdr.markForCheck()}};
QM.prototype.createOverlay=function(){var a=this.getPositionStrategy(),b=this.getScrollStrategy();return this.overlay.create({positionStrategy:a,scrollStrategy:b,hasBackdrop:!0,backdropClass:"onedev-popup-panel-backdrop"})};var o5b=function(a){var b=a.overlayRef.backdropClick(),c=a.overlayRef._detachments,d=a.popupPanel.closePanel$;return a.closeOnBackdropClick?(0,C.merge)(b,c,d):(0,C.merge)(c,d)};
QM.prototype.trapFocus=function(){this.overlayRef&&(this.focusTrap=this.focusTrapFactory.create(this.overlayRef.hostElement),this.focusTrap.focusInitialElement())};
QM.prototype.getPositionStrategy=function(){return Dz(Ez(Fz(Hz(this.overlay.position(),this.element)),8),[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"}])};QM.prototype.getScrollStrategy=function(){return this.overlay.scrollStrategies.reposition()};
Xi.Object.defineProperties(QM.prototype,{onedevPopupPanelTriggerFor:{configurable:!0,enumerable:!0,get:function(){return this.popupPanel},set:function(a){this.popupPanel=a}}});QM.\u0275fac=function(a){return new (a||QM)(A(Iz),A(ke),A(fh),A(Zy),A(qw))};
QM.\u0275dir=qd({type:QM,selectors:[["","onedevPopupPanelTrigger",""]],hostAttrs:["aria-haspopup","true"],hostVars:3,hostBindings:function(a,b){a&2&&ug("aria-disabled",b.disabled)("aria-expanded",b.isOpen||null)("aria-controls",b.isOpen?b.popupPanel.id:null)},inputs:{onedevPopupPanelTriggerFor:"onedevPopupPanelTriggerFor",disabled:["onedevPopupPanelTriggerDisabled","disabled"],closeOnBackdropClick:["onedevPopupPanelTriggerCloseOnBackdropClick","closeOnBackdropClick"]},outputs:{opened:"onedevPopupPanelTriggerOpened",
closed:"onedevPopupPanelTriggerClosed"},exportAs:["onedevPopupPanelTrigger"],standalone:!0});var RM=function(){};RM.\u0275fac=function(a){return new (a||RM)};RM.\u0275mod=od({type:RM});RM.\u0275inj=Wc({imports:[Mw,Lz,Rx,YC,ID,Uy,hK]});var p5b=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)};p5b.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};
p5b.prototype.destroy=function(){var a=this._textarea;a&&(a.remove(),this._textarea=void 0)};var SM=function(a){this._document=a};SM.prototype.copy=function(a){a=new p5b(a,this._document);var b=a.copy();a.destroy();return b};SM.\u0275fac=function(a){return new (a||SM)(n(Vi))};SM.\u0275prov=Vc({token:SM,factory:SM.\u0275fac,providedIn:"root"});new Bd("CDK_COPY_TO_CLIPBOARD_CONFIG");var TM=function(a,b,c,d){Z.call(this);this.activeSession=a;this.currentTracker=b;this.clipboard=c;this.butterBar=d;this.componentId=0;this.issueTitle=this.issueId="";this.disabled=this.isExternalIssue=!1;this.showCopyOptions=this.enableHotkeys=!0;this.isOpen=!1;this.HOTKEYS=MM};W(TM,Z);TM.\u0275dir=Z.\u0275dir;var Bp=function(a,b){a.clipboard.copy(b.value);a.trigger.close()};TM.prototype.getIssueUrl=function(){return this.getAppBaseUrl(this.isExternalIssue)};
TM.prototype.getAppBaseUrl=function(a){return nL(this.currentTracker,this.issueId,void 0,void 0===a?!1:a)};TM.\u0275fac=function(a){return new (a||TM)(A(Vt),A(mL),A(SM),A(VF))};
TM.\u0275cmp=p({type:TM,selectors:[["b-issue-id-picker"]],viewQuery:function(a,b){a&1&&ih(QM,5);if(a&2){var c;hh(c=kh())&&(b.trigger=c.first)}},inputs:{componentId:"componentId",issueId:"issueId",issueTitle:"issueTitle",isExternalIssue:"isExternalIssue",disabled:"disabled",enableHotkeys:"enableHotkeys",showCopyOptions:"showCopyOptions"},features:[qg],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&&(E(0,"button",0),K("click",function(){b.clipboard.copy(b.issueId);WF(b.butterBar,"Issue ID copied",2E3)}),Q(1),P(2,sCa,1,0,"mat-icon",1),F(),P(3,ECa,7,5,"ng-container",2));a&2&&(Fg("square-right",b.showCopyOptions),ug("aria-label",
"Copy issue number "+b.issueId),z(1),R(" ",b.issueId," "),z(1),D("ngIf",!b.showCopyOptions),z(1),D("ngIf",b.showCopyOptions))},dependencies:[Ex,yw,LM,tA,jB,NC,PM,QM],styles:["[_nghost-%COMP%]{border-radius:4px;font-family:Roboto,Arial,sans-serif;line-height:1rem;font-size:.75rem;letter-spacing:.025em;font-weight:400;display:inline-block;user-select:none;white-space:nowrap;line-height:22px}button[_ngcontent-%COMP%], mat-icon[_ngcontent-%COMP%]{vertical-align:middle}.issue-id[_ngcontent-%COMP%]{padding:0 3px}.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 UM=function(){};UM.prototype.ngOnInit=function(){};UM.prototype.onClick=function(a){a.stopPropagation()};UM.\u0275fac=function(a){return new (a||UM)};
UM.\u0275cmp=p({type:UM,selectors:[["b-issue-id-cell"]],hostBindings:function(a,b){a&1&&K("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&&(E(0,"b-async-data-placeholder",0),P(1,FCa,1,2,"b-issue-id-picker",1),F());a&2&&(D("isReady",!!b.id),z(1),D("ngIf",b.id))},dependencies:[dL,yw,TM],encapsulation:2,changeDetection:0});var VM=function(){this.priority=this.issue=null;this.isDataLoaded=!1};VM.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};VM.\u0275fac=function(a){return new (a||VM)};
VM.\u0275cmp=p({type:VM,selectors:[["b-issue-priority-cell"]],inputs:{issue:"issue"},features:[Hd],decls:4,vars:3,consts:[[1,"nowrap",3,"isReady"],[4,"ngIf","ngIfElse"],["noData",""],[3,"issuePriority"]],template:function(a,b){a&1&&(E(0,"b-async-data-placeholder",0),P(1,GCa,2,1,"ng-container",1),P(2,HCa,1,0,"ng-template",null,2,qh),F());if(a&2){var c=O(3);D("isReady",b.isDataLoaded);z(1);D("ngIf",b.priority)("ngIfElse",c)}},dependencies:[dL,yw,iI],encapsulation:2,changeDetection:0});var Dp=function(a){Y.call(this,a)};W(Dp,Y);Dp.prototype.getType=function(){return tk(this,2,0)};Dp.prototype.setType=function(a){return k(this,2,a)};Dp.prototype.hasType=function(){return nl(this,2)};Dp.messageId="b.UserEngagement";var Cp=function(a){Y.call(this,a)};W(Cp,Y);Cp.prototype.getParent=function(){return Dk(this,1)};Cp.prototype.setParent=function(a){return k(this,1,a)};Cp.messageId="b.BatchCreateUserEngagementsRequest";var q5b=function(a){Y.call(this,a)};W(q5b,Y);g=q5b.prototype;g.getResource=function(){return Dk(this,1)};g.setResource=function(a){return k(this,1,a)};g.getType=function(){return tk(this,2,0)};g.setType=function(a){return k(this,2,a)};g.hasType=function(){return nl(this,2)};g.setPageSize=function(a){return k(this,4,a)};g.setPageToken=function(a){return k(this,5,a)};q5b.messageId="b.LookupRecommendationsRequest";var PCa=function(a){Y.call(this,a)};W(PCa,Y);g=PCa.prototype;g.getName=function(){return Dk(this,1)};g.setName=function(a){return k(this,1,a)};g.hasName=function(){return Am(this,1)};g.getNameOrUndefined=function(){return yu(this,1)};g.getSource=function(){return Dk(this,2)};g.setSource=function(a){return k(this,2,a)};g.hasSource=function(){return Am(this,2)};g.getSourceOrUndefined=function(){return yu(this,2)};g.getResource=function(){return Dk(this,3)};
g.setResource=function(a){return k(this,3,a)};g.getType=function(){return tk(this,4,0)};g.setType=function(a){return k(this,4,a)};g.hasType=function(){return nl(this,4)};g.getScore=function(){return pl(this,6)};g.setScore=function(a){k(this,6,sb(a))};g.getConfidence=function(){return tk(this,7,0)};var LCa=[9];var WM=function(a){Y.call(this,a,-1,r5b)};W(WM,Y);WM.prototype.setRequestsList=function(a){return ac(this,1,a)};WM.prototype.addAndReturnRequests=function(){return Rb(this,1,Cp)};var r5b=[1];WM.messageId="b.BatchCreateUserEngagementsRequest";var XM=function(a){Y.call(this,a,-1,s5b)};W(XM,Y);XM.prototype.getNextPageToken=function(){return Dk(this,2)};XM.prototype.getTotalSize=function(){return ol(this,3)};var s5b=[1];XM.messageId="b.LookupRecommendationsResponse";var YM=function(a){this.executor=a},t5b=function(a,b){var c=(new q5b).setResource(b.resource).setType(GSb[b.type]).setPageSize(b.pageSize).setPageToken(b.pageToken);c=k(c,6,HSb[b.view]);void 0!==b.minConfidence&&k(c,3,sSb[b.minConfidence]);return a.executor.post({url:"action/recommendations/lookup",body:c,responseConstructor:XM}).pipe(B(QCa))};YM.\u0275fac=function(a){return new (a||YM)(n(KD))};YM.\u0275prov=Vc({token:YM,factory:YM.\u0275fac,providedIn:"root"});var ZM=function(a){rF.call(this);this.recommendationsService=a;this.recordType="issueRecommendations";this.idForRecord=function(b){return b.issueId+"-"+b.recommendationType};this.isEqual=Fj};W(ZM,rF);ZM.prototype.fetchOne=function(a){a=u5b(a);var b=a.issueId,c=a.recommendationType;return t5b(this.recommendationsService,{resource:"issues/"+b,type:c,minConfidence:"MEDIUM",pageSize:5,view:"FULL"}).pipe(B(function(d){return{issueId:b,recommendationType:c,recommendations:d.recommendations}}),Lf(function(){return(0,C.of)(void 0)}))};
ZM.prototype.copy=function(a){return a&&Gj(a)};var u5b=function(a){var b=m(a.split("-"));a=b.next().value;b=b.next().value;return{issueId:a,recommendationType:b}};ZM.\u0275fac=function(a){return new (a||ZM)(n(YM))};ZM.\u0275prov=Vc({token:ZM,factory:ZM.\u0275fac,providedIn:"root"});new Promise(function(){});var $M=function(a,b){this.checker=a;this.document=b},v5b=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?v5b(a,b[c]):null;if(d)return d}return null};$M.\u0275fac=function(a){return new (a||$M)(n(zx),n(Vi))};$M.\u0275prov=Vc({token:$M,factory:$M.\u0275fac,providedIn:"root"});var aN=function(a,b){this.elementRef=a;this.interactivityHelper=b};aN.prototype.ngOnInit=function(){};aN.prototype.focus=function(){var a=v5b(this.interactivityHelper,this.elementRef.nativeElement,!0);a&&a.focus()};Xi.Object.defineProperties(aN.prototype,{element:{configurable:!0,enumerable:!0,get:function(){return this.elementRef.nativeElement}}});aN.\u0275fac=function(a){return new (a||aN)(A(ke),A($M))};aN.\u0275dir=qd({type:aN,selectors:[["tr","row",""]],inputs:{row:"row"}});var bN=function(){};bN.\u0275fac=function(a){return new (a||bN)};bN.\u0275mod=od({type:bN});bN.\u0275inj=Wc({});var cN=function(a,b){fz.call(this,a);this.directives=a;this.isEqual=b};W(cN,fz);var Hp=function(a,b){var c;return of(function(d){if(1==d.nextAddress)return d.yield((0,C.firstValueFrom)(a.directives.changes.pipe(bg(a.directives.toArray()),B(function(e){return e.find(function(f){return a.isEqual(f.row,b)})}),Gf(Boolean),If(3E3))),2);c=d.yieldResult;dz(a,c);tf(d)})};var w5b=new Bd("GMAT_TABS_OPTION");var x5b=new Bd("MatInkBarPositioner",{providedIn:"root",factory:function(){return function(a){return{left:a?(a.offsetLeft||0)+"px":"0",width:a?(a.offsetWidth||0)+"px":"0"}}}});var y5b=ri("translateTab",[ui("center, void, left-origin-center, right-origin-center",ti({transform:"none"})),ui("left",ti({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),ui("right",ti({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),vi("* => left, * => right, left => center, right => center",si("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),vi("void => left-origin-center",[ti({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),
si("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),vi("void => right-origin-center",[ti({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),si("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])]);var z5b=function(a){return{animationDuration:a}},A5b=function(a,b){return{value:a,params:b}},dN=function(a,b,c,d){Qx.call(this,a,b,d);this._host=c;this._leavingSub=this._centeringSub=C.Subscription.EMPTY};W(dN,Qx);
dN.prototype.ngOnInit=function(){var a=this;Qx.prototype.ngOnInit.call(this);this._centeringSub=this._host._beforeCentering.pipe(bg(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()})};dN.prototype.ngOnDestroy=function(){Qx.prototype.ngOnDestroy.call(this);this._centeringSub.unsubscribe();this._leavingSub.unsubscribe()};
dN.\u0275fac=function(a){return new (a||dN)(A($u),A(fh),A(cd(function(){return eN})),A(Vi))};dN.\u0275dir=qd({type:dN,selectors:[["","matTabBodyHost",""]],features:[qg]});
var fN=function(a,b,c){var d=this;this._elementRef=a;this._dir=b;this._dirChangeSubscription=C.Subscription.EMPTY;this._translateTabComplete=new C.Subject;this._onCentering=new Rv;this._beforeCentering=new Rv;this._afterLeavingCenter=new Rv;this._onCentered=new Rv(!0);this.animationDuration="500ms";this.preserveContent=!1;b&&(this._dirChangeSubscription=b.change.subscribe(function(e){d._computePositionAnimationState(e);c.markForCheck()}));this._translateTabComplete.pipe(Qf(function(e,f){return e.fromState===
f.fromState&&e.toState===f.toState})).subscribe(function(e){d._isCenterPosition(e.toState)&&d._isCenterPosition(d._position)&&d._onCentered.emit();d._isCenterPosition(e.fromState)&&!d._isCenterPosition(d._position)&&d._afterLeavingCenter.emit()})};g=fN.prototype;g.ngOnInit=function(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))};g.ngOnDestroy=function(){this._dirChangeSubscription.unsubscribe();this._translateTabComplete.complete()};
g._onTranslateTabStarted=function(a){a=this._isCenterPosition(a.toState);this._beforeCentering.emit(a);a&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)};g._getLayoutDirection=function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"};g._isCenterPosition=function(a){return"center"==a||"left-origin-center"==a||"right-origin-center"==a};
g._computePositionAnimationState=function(a){a=void 0===a?this._getLayoutDirection():a;this._position=0>this._positionIndex?"ltr"==a?"left":"right":0<this._positionIndex?"ltr"==a?"right":"left":"center"};g._computePositionFromOrigin=function(a){var b=this._getLayoutDirection();return"ltr"==b&&0>=a||"rtl"==b&&0<a?"left-origin-center":"right-origin-center"};Xi.Object.defineProperties(fN.prototype,{position:{configurable:!0,enumerable:!0,set:function(a){this._positionIndex=a;this._computePositionAnimationState()}}});
fN.\u0275fac=function(a){return new (a||fN)(A(ke),A(gz,8),A(qw))};fN.\u0275dir=qd({type:fN,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}});var eN=function(a,b,c){fN.call(this,a,b,c)};W(eN,fN);eN.\u0275dir=fN.\u0275dir;
eN.\u0275fac=function(a){return new (a||eN)(A(ke),A(gz,8),A(qw))};
eN.\u0275cmp=p({type:eN,selectors:[["mat-tab-body"]],viewQuery:function(a,b){a&1&&ih(Qx,5);if(a&2){var c;hh(c=kh())&&(b._portalHost=c.first)}},hostAttrs:[1,"mat-mdc-tab-body"],features:[qg],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-mdc-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(a,b){a&1&&(E(0,"div",0,1),K("@translateTab.start",function(c){return b._onTranslateTabStarted(c)})("@translateTab.done",function(c){return b._translateTabComplete.next(c)}),P(2,SCa,0,
0,"ng-template",2),F());a&2&&D("@translateTab",Yg(3,A5b,b._position,Xg(1,z5b,b.animationDuration)))},dependencies:[dN],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:[y5b]}});var B5b=new Bd("MatTabContent");var C5b=new Bd("MAT_TABS_CONFIG");var D5b=Vh({passive:!0}),gN=function(a,b,c,d,e,f,h){var l=this;this._elementRef=a;this._changeDetectorRef=b;this._viewportRuler=c;this._dir=d;this._ngZone=e;this._platform=f;this._animationMode=h;this._scrollDistance=0;this._selectedIndexChanged=!1;this._destroyed=new C.Subject;this._showPaginationControls=!1;this._disableScrollBefore=this._disableScrollAfter=!0;this._stopScrolling=new C.Subject;this._disablePagination=!1;this._selectedIndex=0;this.selectFocusedIndex=new Rv;this.indexFocused=new Rv;
e.runOutsideAngular(function(){(0,C.fromEvent)(a.nativeElement,"mouseleave").pipe(dg(l._destroyed)).subscribe(function(){l._stopInterval()})})};g=gN.prototype;g.ngAfterViewInit=function(){var a=this;(0,C.fromEvent)(this._previousPaginator.nativeElement,"touchstart",D5b).pipe(dg(this._destroyed)).subscribe(function(){a._handlePaginatorPress("before")});(0,C.fromEvent)(this._nextPaginator.nativeElement,"touchstart",D5b).pipe(dg(this._destroyed)).subscribe(function(){a._handlePaginatorPress("after")})};
g.ngAfterContentInit=function(){var a=this,b=this._dir?this._dir.change:(0,C.of)("ltr"),c=this._viewportRuler.change(150),d=function(){a.updatePagination();a._alignInkBarToSelectedTab()};this._keyManager=nKb(az(cz(bz(new fz(this._items),this._getLayoutDirection()))),function(){return!1});dz(this._keyManager,this._selectedIndex);this._ngZone.onStable.pipe(Rf()).subscribe(d);(0,C.merge)(b,c,this._items.changes,this._itemsResized()).pipe(dg(this._destroyed)).subscribe(function(){a._ngZone.run(function(){Promise.resolve().then(function(){a._scrollDistance=
Math.max(0,Math.min(a._getMaxScrollDistance(),a._scrollDistance));d()})});bz(a._keyManager,a._getLayoutDirection())});this._keyManager.change.subscribe(function(e){a.indexFocused.emit(e);a._setTabFocus(e)})};
g._itemsResized=function(){var a=this;return"function"!==typeof ResizeObserver?C.EMPTY:this._items.changes.pipe(bg(this._items),cg(function(b){return new C.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()}})})}),ag(1),Gf(function(b){return b.some(function(c){return 0<c.contentRect.width&&0<c.contentRect.height})}))};
g.ngAfterContentChecked=function(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck());this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck());this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())};
g.ngOnDestroy=function(){var a;null==(a=this._keyManager)||a.destroy();this._destroyed.next();this._destroyed.complete();this._stopScrolling.complete()};g._handleKeydown=function(a){if(!hi(a))switch(a.keyCode){case 13:case 32:if(this.focusIndex!==this.selectedIndex){var b=this._items.get(this.focusIndex);b&&!b.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(a))}break;default:this._keyManager.onKeydown(a)}};
g._onContentChanges=function(){var a=this,b=this._elementRef.nativeElement.textContent;b!==this._currentTextContent&&(this._currentTextContent=b||"",this._ngZone.run(function(){a.updatePagination();a._alignInkBarToSelectedTab();a._changeDetectorRef.markForCheck()}))};g.updatePagination=function(){this._checkPaginationEnabled();this._checkScrollingControls();this._updateTabScrollPosition()};g._isValidIndex=function(a){return this._items?!!this._items.toArray()[a]:!0};
g._setTabFocus=function(a){this._showPaginationControls&&this._scrollToLabel(a);this._items&&this._items.length&&(this._items.toArray()[a].focus(),a=this._tabListContainer.nativeElement,a.scrollLeft="ltr"==this._getLayoutDirection()?0:a.scrollWidth-a.offsetWidth)};g._getLayoutDirection=function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"};
g._updateTabScrollPosition=function(){if(!this.disablePagination){var a=this.scrollDistance;this._tabList.nativeElement.style.transform="translateX("+Math.round("ltr"===this._getLayoutDirection()?-a:a)+"px)";if(this._platform.TRIDENT||this._platform.EDGE)this._tabListContainer.nativeElement.scrollLeft=0}};g._scrollHeader=function(a){return this._scrollTo(this._scrollDistance+("before"==a?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)};
g._handlePaginatorClick=function(a){this._stopInterval();this._scrollHeader(a)};
g._scrollToLabel=function(a){if(!this.disablePagination){var b=this._items?this._items.toArray()[a]:null;if(b){a=this._tabListContainer.nativeElement.offsetWidth;var c=b.elementRef.nativeElement;b=c.offsetLeft;var d=c.offsetWidth;"ltr"==this._getLayoutDirection()?c=b+d:(c=this._tabListInner.nativeElement.offsetWidth-b,b=c-d);d=this.scrollDistance;a=this.scrollDistance+a;b<d?this.scrollDistance-=d-b:c>a&&(this.scrollDistance+=Math.min(c-a,b-d))}}};
g._checkPaginationEnabled=function(){if(this.disablePagination)this._showPaginationControls=!1;else{var a=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;a||(this.scrollDistance=0);a!==this._showPaginationControls&&this._changeDetectorRef.markForCheck();this._showPaginationControls=a}};
g._checkScrollingControls=function(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())};g._getMaxScrollDistance=function(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0};
g._alignInkBarToSelectedTab=function(){var a=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null;(a=a?a.elementRef.nativeElement:null)?E5b(this._inkBar,a):this._inkBar.hide()};g._stopInterval=function(){this._stopScrolling.next()};
g._handlePaginatorPress=function(a,b){var c=this;b&&null!=b.button&&0!==b.button||(this._stopInterval(),(0,C.timer)(650,100).pipe(dg((0,C.merge)(this._stopScrolling,this._destroyed))).subscribe(function(){var d=c._scrollHeader(a),e=d.maxScrollDistance;d=d.distance;(0===d||d>=e)&&c._stopInterval()}))};
g._scrollTo=function(a){if(this.disablePagination)return{maxScrollDistance:0,distance:0};var b=this._getMaxScrollDistance();this._scrollDistance=Math.max(0,Math.min(b,a));this._scrollDistanceChanged=!0;this._checkScrollingControls();return{maxScrollDistance:b,distance:this._scrollDistance}};
Xi.Object.defineProperties(gN.prototype,{disablePagination:{configurable:!0,enumerable:!0,get:function(){return this._disablePagination},set:function(a){this._disablePagination=bi(a)}},selectedIndex:{configurable:!0,enumerable:!0,get:function(){return this._selectedIndex},set:function(a){a=ei(a);this._selectedIndex!=a&&(this._selectedIndexChanged=!0,this._selectedIndex=a,this._keyManager&&dz(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)}}});gN.\u0275fac=function(a){return new (a||gN)(A(ke),A(qw),A(uz),A(gz,8),A(hg),A(yx),A(cv,8))};gN.\u0275dir=qd({type:gN,inputs:{disablePagination:"disablePagination"}});var F5b=$i(function(){}),hN=function(a){var b=F5b.call(this)||this;b.elementRef=a;return b};W(hN,F5b);hN.prototype.focus=function(){this.elementRef.nativeElement.focus()};hN.\u0275fac=function(a){return new (a||hN)(A(ke))};hN.\u0275dir=qd({type:hN,features:[qg]});RCa(hN);var iN=function(a,b,c,d,e,f,h){gN.call(this,a,b,c,d,e,f,h);this._disableRipple=!1};W(iN,gN);iN.prototype._itemSelected=function(a){a.preventDefault()};Xi.Object.defineProperties(iN.prototype,{disableRipple:{configurable:!0,enumerable:!0,get:function(){return this._disableRipple},set:function(a){this._disableRipple=bi(a)}}});iN.\u0275fac=function(a){return new (a||iN)(A(ke),A(qw),A(uz),A(gz,8),A(hg),A(yx),A(cv,8))};iN.\u0275dir=qd({type:iN,inputs:{disableRipple:"disableRipple"},features:[qg]});var G5b=new Bd("MatTabLabel"),H5b=new Bd("MAT_TAB"),jN=function(a,b,c){Mx.call(this,a,b);this._closestTab=c};W(jN,Px);jN.\u0275fac=function(a){return new (a||jN)(A(eh),A(fh),A(H5b,8))};jN.\u0275dir=qd({type:jN,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[Ug([{provide:G5b,useExisting:jN}]),qg]});var I5b=$i(function(){}),J5b=new Bd("MAT_TAB_GROUP"),kN=function(a,b){var c=I5b.call(this)||this;c._viewContainerRef=a;c._closestTabGroup=b;c.textLabel="";c._contentPortal=null;c._stateChanges=new C.Subject;c.position=null;c.origin=null;c.isActive=!1;return c};W(kN,I5b);kN.prototype.ngOnChanges=function(a){(a.hasOwnProperty("textLabel")||a.hasOwnProperty("disabled"))&&this._stateChanges.next()};kN.prototype.ngOnDestroy=function(){this._stateChanges.complete()};
kN.prototype.ngOnInit=function(){this._contentPortal=new Mx(this._explicitContent||this._implicitContent,this._viewContainerRef)};kN.prototype._setTemplateLabelInput=function(a){a&&a._closestTab===this&&(this._templateLabel=a)};Xi.Object.defineProperties(kN.prototype,{content:{configurable:!0,enumerable:!0,get:function(){return this._contentPortal}}});kN.\u0275fac=function(a){return new (a||kN)(A(fh),A(J5b,8))};
kN.\u0275dir=qd({type:kN,viewQuery:function(a,b){a&1&&ih(eh,7);if(a&2){var c;hh(c=kh())&&(b._implicitContent=c.first)}},inputs:{textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},features:[qg,Hd]});var K5b=0,L5b=Yi(Zi(function(a){this._elementRef=a}),"primary"),lN=function(a,b,c,d){a=L5b.call(this,a)||this;a._changeDetectorRef=b;a._animationMode=d;a._tabs=new lh;a._indexToSelect=0;a._lastFocusedTabIndex=null;a._tabBodyWrapperHeight=0;a._tabsSubscription=C.Subscription.EMPTY;a._tabLabelSubscription=C.Subscription.EMPTY;a._dynamicHeight=!1;a._selectedIndex=null;a.headerPosition="above";a._disablePagination=!1;a._preserveContent=!1;a.selectedIndexChange=new Rv;a.focusChange=new Rv;a.animationDone=
new Rv;a.selectedTabChange=new Rv(!0);a._groupId=K5b++;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};W(lN,L5b);g=lN.prototype;
g.ngAfterContentChecked=function(){var a=this,b=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=b){var c=null==this._selectedIndex;if(!c){this.selectedTabChange.emit(this._createChangeEvent(b));var d=this._tabBodyWrapper.nativeElement;d.style.minHeight=d.clientHeight+"px"}Promise.resolve().then(function(){a._tabs.forEach(function(e,f){return e.isActive=f===b});c||(a.selectedIndexChange.emit(b),a._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach(function(e,
f){e.position=f-b;null==a._selectedIndex||0!=e.position||e.origin||(e.origin=b-a._selectedIndex)});this._selectedIndex!==b&&(this._selectedIndex=b,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())};
g.ngAfterContentInit=function(){var a=this;this._subscribeToAllTabChanges();this._subscribeToTabLabels();this._tabsSubscription=this._tabs.changes.subscribe(function(){var b=a._clampTabIndex(a._indexToSelect);if(b===a._selectedIndex){for(var c=a._tabs.toArray(),d,e=0;e<c.length;e++)if(c[e].isActive){a._indexToSelect=a._selectedIndex=e;a._lastFocusedTabIndex=null;d=c[e];break}!d&&c[b]&&Promise.resolve().then(function(){c[b].isActive=!0;a.selectedTabChange.emit(a._createChangeEvent(b))})}a._changeDetectorRef.markForCheck()})};
g._subscribeToAllTabChanges=function(){var a=this;this._allTabs.changes.pipe(bg(this._allTabs)).subscribe(function(b){a._tabs.reset(b.filter(function(c){return c._closestTabGroup===a||!c._closestTabGroup}));gh(a._tabs)})};g.ngOnDestroy=function(){this._tabs.destroy();this._tabsSubscription.unsubscribe();this._tabLabelSubscription.unsubscribe()};g.updatePagination=function(){this._tabHeader&&this._tabHeader.updatePagination()};g._focusChanged=function(a){this._lastFocusedTabIndex=a;this.focusChange.emit(this._createChangeEvent(a))};
g._createChangeEvent=function(a){var b=new M5b;b.index=a;this._tabs&&this._tabs.length&&(b.tab=this._tabs.toArray()[a]);return b};g._subscribeToTabLabels=function(){var a=this;this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe();this._tabLabelSubscription=C.merge.apply(null,r(this._tabs.map(function(b){return b._stateChanges}))).subscribe(function(){return a._changeDetectorRef.markForCheck()})};g._clampTabIndex=function(a){return Math.min(this._tabs.length-1,Math.max(a||0,0))};
g._getTabLabelId=function(a){return"mat-tab-label-"+this._groupId+"-"+a};g._getTabContentId=function(a){return"mat-tab-content-"+this._groupId+"-"+a};g._setTabBodyWrapperHeight=function(a){if(this._dynamicHeight&&this._tabBodyWrapperHeight){var b=this._tabBodyWrapper.nativeElement;b.style.height=this._tabBodyWrapperHeight+"px";this._tabBodyWrapper.nativeElement.offsetHeight&&(b.style.height=a+"px")}};
g._removeTabBodyWrapperHeight=function(){var a=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=a.clientHeight;a.style.height="";this.animationDone.emit()};g._handleClick=function(a,b,c){b.focusIndex=c;a.disabled||(this.selectedIndex=c)};g._getTabIndex=function(a){var b,c=null!=(b=this._lastFocusedTabIndex)?b:this.selectedIndex;return a===c?0:-1};g._tabFocusChanged=function(a,b){a&&"mouse"!==a&&"touch"!==a&&(this._tabHeader.focusIndex=b)};
Xi.Object.defineProperties(lN.prototype,{dynamicHeight:{configurable:!0,enumerable:!0,get:function(){return this._dynamicHeight},set:function(a){this._dynamicHeight=bi(a)}},selectedIndex:{configurable:!0,enumerable:!0,get:function(){return this._selectedIndex},set:function(a){this._indexToSelect=ei(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=ei(a,null)}},disablePagination:{configurable:!0,enumerable:!0,get:function(){return this._disablePagination},set:function(a){this._disablePagination=bi(a)}},preserveContent:{configurable:!0,enumerable:!0,get:function(){return this._preserveContent},set:function(a){this._preserveContent=bi(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}}});lN.\u0275fac=function(a){return new (a||lN)(A(ke),A(qw),A(C5b,8),A(cv,8))};
lN.\u0275dir=qd({type:lN,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:[qg]});var M5b=function(){};var N5b=0,mN=function(a,b,c,d,e,f,h){gN.call(this,a,d,e,b,c,f,h);this._disableRipple=!1;this.color="primary"};W(mN,gN);mN.prototype._itemSelected=function(){};mN.prototype.ngAfterContentInit=function(){var a=this;this._items.changes.pipe(bg(null),dg(this._destroyed)).subscribe(function(){O5b(a)});gN.prototype.ngAfterContentInit.call(this)};
var O5b=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()}};mN.prototype._getRole=function(){return this.tabPanel?"tablist":this._elementRef.nativeElement.getAttribute("role")};
Xi.Object.defineProperties(mN.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=bi(a)}}});
mN.\u0275fac=function(a){return new (a||mN)(A(ke),A(gz,8),A(hg),A(qw),A(uz),A(yx),A(cv,8))};mN.\u0275dir=qd({type:mN,inputs:{backgroundColor:"backgroundColor",disableRipple:"disableRipple",color:"color",tabPanel:"tabPanel"},features:[qg]});
var P5b=aj(Zi($i(function(){}))),nN=function(a,b,c,d,e,f){var h=P5b.call(this)||this;h._tabNavBar=a;h.elementRef=b;h._focusMonitor=e;h._isActive=!1;h.id="mat-tab-link-"+N5b++;h.rippleConfig=c||{};h.tabIndex=parseInt(d)||0;"NoopAnimations"===f&&(h.rippleConfig.animation={enterDuration:0,exitDuration:0});return h};W(nN,P5b);g=nN.prototype;g.focus=function(){this.elementRef.nativeElement.focus()};g.ngAfterViewInit=function(){this._focusMonitor.monitor(this.elementRef)};g.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this.elementRef)};
g._handleFocus=function(){this._tabNavBar.focusIndex=this._tabNavBar._items.toArray().indexOf(this)};g._handleKeydown=function(a){this._tabNavBar.tabPanel&&32===a.keyCode&&this.elementRef.nativeElement.click()};g._getAriaControls=function(){var a;return this._tabNavBar.tabPanel?null==(a=this._tabNavBar.tabPanel)?void 0:a.id:this.elementRef.nativeElement.getAttribute("aria-controls")};g._getAriaSelected=function(){return this._tabNavBar.tabPanel?this.active?"true":"false":this.elementRef.nativeElement.getAttribute("aria-selected")};
g._getAriaCurrent=function(){return this.active&&!this._tabNavBar.tabPanel?"page":null};g._getRole=function(){return this._tabNavBar.tabPanel?"tab":this.elementRef.nativeElement.getAttribute("role")};g._getTabIndex=function(){return this._tabNavBar.tabPanel?this._isActive&&!this.disabled?0:-1:this.tabIndex};
Xi.Object.defineProperties(nN.prototype,{active:{configurable:!0,enumerable:!0,get:function(){return this._isActive},set:function(a){a=bi(a);a!==this._isActive&&(this._isActive=a,O5b(this._tabNavBar))}},rippleDisabled:{configurable:!0,enumerable:!0,get:function(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}}});nN.\u0275fac=function(a){return new (a||nN)(A(mN),A(ke),A(jLb,8),ce("tabindex"),A(Hx),A(cv,8))};
nN.\u0275dir=qd({type:nN,inputs:{active:"active",id:"id"},features:[qg]});RCa(nN);var oN=function(a,b,c,d){this._elementRef=a;this._ngZone=b;this._inkBarPositioner=c;this._animationMode=d},E5b=function(a,b){a.show();a._ngZone.run(function(){a._ngZone.onStable.pipe(Rf()).subscribe(function(){var c=a._inkBarPositioner(b),d=a._elementRef.nativeElement;d.style.left=c.left;d.style.width=c.width})})};oN.prototype.show=function(){this._elementRef.nativeElement.style.visibility="visible"};oN.prototype.hide=function(){this._elementRef.nativeElement.style.visibility="hidden"};
oN.\u0275fac=function(a){return new (a||oN)(A(ke),A(hg),A(x5b),A(cv,8))};oN.\u0275dir=qd({type:oN,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(a,b){a&2&&Fg("_mat-animation-noopable","NoopAnimations"===b._animationMode)}});var Q5b=function(a){return{animationDuration:a}},R5b=function(a,b){return{value:a,params:b}},pN=function(a,b,c,d){dN.call(this,a,b,c,d)};W(pN,dN);pN.\u0275fac=function(a){return new (a||pN)(A($u),A(fh),A(cd(function(){return qN})),A(Vi))};pN.\u0275dir=qd({type:pN,selectors:[["","matTabBodyHost",""]],features:[qg]});var qN=function(a,b,c){fN.call(this,a,b,c)};W(qN,fN);qN.\u0275dir=fN.\u0275dir;qN.\u0275fac=function(a){return new (a||qN)(A(ke),A(gz,8),A(qw))};
qN.\u0275cmp=p({type:qN,selectors:[["mat-tab-body"]],viewQuery:function(a,b){a&1&&ih(Qx,5);if(a&2){var c;hh(c=kh())&&(b._portalHost=c.first)}},hostAttrs:[1,"mat-tab-body"],features:[qg],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(a,b){a&1&&(E(0,"div",0,1),K("@translateTab.start",function(c){return b._onTranslateTabStarted(c)})("@translateTab.done",function(c){return b._translateTabComplete.next(c)}),P(2,TCa,0,0,"ng-template",
2),F());a&2&&D("@translateTab",Yg(3,R5b,b._position,Xg(1,Q5b,b.animationDuration)))},dependencies:[pN],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:[y5b]}});var rN=function(){return hN.apply(this,arguments)||this};W(rN,hN);rN.\u0275fac=function(){var a;return function(b){return(a||(a=ie(rN)))(b||rN)}}();rN.\u0275dir=qd({type:rN,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(a,b){a&2&&(ug("aria-disabled",!!b.disabled),Fg("mat-tab-disabled",b.disabled))},inputs:{disabled:"disabled"},features:[qg]});var S5b=["tabListContainer"],T5b=["tabList"],U5b=["tabListInner"],V5b=["nextPaginator"],W5b=["previousPaginator"],sN=function(a,b,c,d,e,f,h){iN.call(this,a,b,c,d,e,f,h)};W(sN,iN);sN.\u0275dir=iN.\u0275dir;sN.\u0275fac=function(a){return new (a||sN)(A(ke),A(qw),A(uz),A(gz,8),A(hg),A(yx),A(cv,8))};
sN.\u0275cmp=p({type:sN,selectors:[["mat-tab-header"]],contentQueries:function(a,b,c){a&1&&jh(c,rN,4);if(a&2){var d;hh(d=kh())&&(b._items=d)}},viewQuery:function(a,b){a&1&&(ih(oN,7),ih(S5b,7),ih(T5b,7),ih(U5b,7),ih(V5b,5),ih(W5b,5));if(a&2){var c;hh(c=kh())&&(b._inkBar=c.first);hh(c=kh())&&(b._tabListContainer=c.first);hh(c=kh())&&(b._tabList=c.first);hh(c=kh())&&(b._tabListInner=c.first);hh(c=kh())&&(b._nextPaginator=c.first);hh(c=kh())&&(b._previousPaginator=c.first)}},hostAttrs:[1,"mat-tab-header"],
hostVars:4,hostBindings:function(a,b){a&2&&Fg("mat-tab-header-pagination-controls-enabled",b._showPaginationControls)("mat-tab-header-rtl","rtl"==b._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[qg],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&&(Ng(),E(0,"button",0,1),K("click",function(){return b._handlePaginatorClick("before")})("mousedown",function(c){return b._handlePaginatorPress("before",c)})("touchend",function(){return b._stopInterval()}),H(2,"div",2),F(),E(3,"div",3,4),K("keydown",function(c){return b._handleKeydown(c)}),E(5,"div",5,6),K("cdkObserveContent",function(){return b._onContentChanges()}),E(7,"div",7,8),Og(9),F(),H(10,"mat-ink-bar"),F()(),E(11,"button",
9,10),K("mousedown",function(c){return b._handlePaginatorPress("after",c)})("click",function(){return b._handlePaginatorClick("after")})("touchend",function(){return b._stopInterval()}),H(13,"div",2),F());a&2&&(Fg("mat-tab-header-pagination-disabled",b._disableScrollBefore),D("matRippleDisabled",b._disableScrollBefore||b.disableRipple)("disabled",b._disableScrollBefore||null),z(5),Fg("_mat-animation-noopable","NoopAnimations"===b._animationMode),z(6),Fg("mat-tab-header-pagination-disabled",b._disableScrollAfter),
D("matRippleDisabled",b._disableScrollAfter||b.disableRipple)("disabled",b._disableScrollAfter||null))},dependencies:[Wz,Ry,oN],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 tN=function(){var a=kN.apply(this,arguments)||this;a._explicitContent=void 0;return a};W(tN,kN);tN.\u0275dir=kN.\u0275dir;Xi.Object.defineProperties(tN.prototype,{templateLabel:{configurable:!0,enumerable:!0,get:function(){return this._templateLabel},set:function(a){this._setTemplateLabelInput(a)}}});tN.\u0275fac=function(){var a;return function(b){return(a||(a=ie(tN)))(b||tN)}}();
tN.\u0275cmp=p({type:tN,selectors:[["mat-tab"]],contentQueries:function(a,b,c){a&1&&(jh(c,G5b,5),jh(c,B5b,7,eh));if(a&2){var d;hh(d=kh())&&(b.templateLabel=d.first);hh(d=kh())&&(b._explicitContent=d.first)}},inputs:{disabled:"disabled"},exportAs:["matTab"],features:[Ug([{provide:H5b,useExisting:tN}]),qg],ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(Ng(),P(0,UCa,1,0,"ng-template"))},encapsulation:2});var X5b=["tabBodyWrapper"],Y5b=["tabHeader"],uN=function(a,b,c,d){return lN.call(this,a,b,c,d)||this};W(uN,lN);uN.\u0275dir=lN.\u0275dir;uN.\u0275fac=function(a){return new (a||uN)(A(ke),A(qw),A(C5b,8),A(cv,8))};
uN.\u0275cmp=p({type:uN,selectors:[["mat-tab-group"]],contentQueries:function(a,b,c){a&1&&jh(c,tN,5);if(a&2){var d;hh(d=kh())&&(b._allTabs=d)}},viewQuery:function(a,b){a&1&&(ih(X5b,5),ih(Y5b,5));if(a&2){var c;hh(c=kh())&&(b._tabBodyWrapper=c.first);hh(c=kh())&&(b._tabHeader=c.first)}},hostAttrs:["ngSkipHydration","true",1,"mat-tab-group"],hostVars:4,hostBindings:function(a,b){a&2&&Fg("mat-tab-group-dynamic-height",b.dynamicHeight)("mat-tab-group-inverted-header","below"===b.headerPosition)},inputs:{color:"color",
disableRipple:"disableRipple"},exportAs:["matTabGroup"],features:[Ug([{provide:J5b,useExisting:uN}]),qg],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&&(E(0,"mat-tab-header",0,1),K("indexFocused",function(c){return b._focusChanged(c)})("selectFocusedIndex",function(c){return b.selectedIndex=c}),P(2,YCa,5,15,"div",2),F(),E(3,"div",3,4),P(5,ZCa,1,11,"mat-tab-body",5),F());a&2&&(D("selectedIndex",b.selectedIndex||0)("disableRipple",b.disableRipple)("disablePagination",b.disablePagination),z(2),D("ngForOf",b._tabs),
z(1),Fg("_mat-animation-noopable","NoopAnimations"===b._animationMode),z(2),D("ngForOf",b._tabs))},dependencies:[ww,xw,yw,Qx,Wz,Jx,rN,qN,sN],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 vN=function(){jN.apply(this,arguments)};W(vN,jN);vN.\u0275fac=function(){var a;return function(b){return(a||(a=ie(vN)))(b||vN)}}();vN.\u0275dir=qd({type:vN,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[Ug([{provide:G5b,useExisting:vN}]),qg]});var Z5b=["tabListContainer"],$5b=["tabList"],a6b=["tabListInner"],b6b=["nextPaginator"],c6b=["previousPaginator"],wN=function(a,b,c,d,e,f,h){mN.call(this,a,b,c,d,e,f,h)};W(wN,mN);wN.\u0275dir=mN.\u0275dir;wN.\u0275fac=function(a){return new (a||wN)(A(ke),A(gz,8),A(hg),A(qw),A(uz),A(yx),A(cv,8))};
wN.\u0275cmp=p({type:wN,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(a,b,c){a&1&&jh(c,xN,5);if(a&2){var d;hh(d=kh())&&(b._items=d)}},viewQuery:function(a,b){a&1&&(ih(oN,7),ih(Z5b,7),ih($5b,7),ih(a6b,7),ih(b6b,5),ih(c6b,5));if(a&2){var c;hh(c=kh())&&(b._inkBar=c.first);hh(c=kh())&&(b._tabListContainer=c.first);hh(c=kh())&&(b._tabList=c.first);hh(c=kh())&&(b._tabListInner=c.first);hh(c=kh())&&(b._nextPaginator=c.first);hh(c=kh())&&(b._previousPaginator=c.first)}},hostAttrs:[1,"mat-tab-nav-bar",
"mat-tab-header"],hostVars:11,hostBindings:function(a,b){a&2&&(ug("role",b._getRole()),Fg("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:[qg],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&&(Ng(),E(0,"button",0,1),K("click",function(){return b._handlePaginatorClick("before")})("mousedown",function(c){return b._handlePaginatorPress("before",c)})("touchend",function(){return b._stopInterval()}),H(2,"div",2),F(),E(3,"div",3,4),K("keydown",function(c){return b._handleKeydown(c)}),E(5,"div",5,6),K("cdkObserveContent",function(){return b._onContentChanges()}),
E(7,"div",7,8),Og(9),F(),H(10,"mat-ink-bar"),F()(),E(11,"button",9,10),K("mousedown",function(c){return b._handlePaginatorPress("after",c)})("click",function(){return b._handlePaginatorClick("after")})("touchend",function(){return b._stopInterval()}),H(13,"div",2),F());a&2&&(Fg("mat-tab-header-pagination-disabled",b._disableScrollBefore),D("matRippleDisabled",b._disableScrollBefore||b.disableRipple)("disabled",b._disableScrollBefore||null),z(5),Fg("_mat-animation-noopable","NoopAnimations"===b._animationMode),
z(6),Fg("mat-tab-header-pagination-disabled",b._disableScrollAfter),D("matRippleDisabled",b._disableScrollAfter||b.disableRipple)("disabled",b._disableScrollAfter||null))},dependencies:[Wz,Ry,oN],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 xN=function(a,b,c,d,e,f,h,l){a=nN.call(this,a,b,e,f,h,l)||this;a._tabLinkRipple=new Vz(a,c,b,d);iLb(a._tabLinkRipple,b.nativeElement);return a};W(xN,nN);xN.prototype.ngOnDestroy=function(){nN.prototype.ngOnDestroy.call(this);this._tabLinkRipple._removeTriggerEvents()};xN.\u0275fac=function(a){return new (a||xN)(A(wN),A(ke),A(hg),A(yx),A(jLb,8),ce("tabindex"),A(Hx),A(cv,8))};
xN.\u0275dir=qd({type:xN,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mat-tab-link","mat-focus-indicator"],hostVars:11,hostBindings:function(a,b){a&1&&K("focus",function(){return b._handleFocus()})("keydown",function(c){return b._handleKeydown(c)});a&2&&(ug("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()),Fg("mat-tab-disabled",
b.disabled)("mat-tab-label-active",b.active))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matTabLink"],features:[qg]});var yN=function(){};yN.\u0275fac=function(a){return new (a||yN)};yN.\u0275mod=od({type:yN});yN.\u0275inj=Wc({imports:[Mw,Mz,Rx,Zz,Sy,Uy,Mz]});var zN=function(a){this.inkBarPositioner=a};zN.prototype.isEnabled=function(){return this.inkBarPositioner===$Ca};zN.\u0275fac=function(a){return new (a||zN)(A(x5b))};zN.\u0275dir=qd({type:zN,selectors:[["","gmat-tabs",""],["mat-tab-group"],["","mat-tab-nav-bar",""]],hostVars:2,hostBindings:function(a,b){a&2&&Fg("gmat-tabs",b.isEnabled())},features:[Ug([{provide:x5b,useFactory:function(a,b,c){return a.nativeElement.hasAttribute("gmat-tabs")||c&&c.enabled?$Ca:b},deps:[ke,[new Wu,x5b],[new Vu,w5b]]}])]});var AN=function(a,b){this.context={};b.createEmbeddedView(a,this.context)};Xi.Object.defineProperties(AN.prototype,{xapLet:{configurable:!0,enumerable:!0,set:function(a){var b=new Set(aDa(a));if(void 0!==this.context)for(var c=m(aDa(this.context).filter(function(e){return!b.has(e)})),d=c.next();!d.done;d=c.next())delete this.context[d.value];c=m(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}}});
AN.\u0275fac=function(a){return new (a||AN)(A(eh),A(fh))};AN.\u0275dir=qd({type:AN,selectors:[["","xapLet",""]],inputs:{xapLet:"xapLet"}});var d6b=["input"],e6b=0,f6b=function(a,b){this.source=a;this.value=b},g6b=new Bd("MatRadioGroup"),h6b=new Bd("mat-radio-default-options",{providedIn:"root",factory:bDa}),BN=function(a){this._changeDetector=a;this._value=null;this._name="mat-radio-group-"+e6b++;this._selected=null;this._isInitialized=!1;this._labelPosition="after";this._required=this._disabled=!1;this._controlValueAccessorChangeFn=function(){};this.onTouched=function(){};this.change=new Rv};g=BN.prototype;
g._checkSelectedRadioButton=function(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)};g.ngAfterContentInit=function(){this._isInitialized=!0};g._touch=function(){if(this.onTouched)this.onTouched()};g._updateRadioButtonNames=function(){var a=this;this._radios&&this._radios.forEach(function(b){b.name=a.name;b._markForCheck()})};
g._updateSelectedRadioFromValue=function(){var a=this,b=null!==this._selected&&this._selected.value===this._value;this._radios&&!b&&(this._selected=null,this._radios.forEach(function(c){c.checked=a.value===c.value;c.checked&&(a._selected=c)}))};g._emitChangeEvent=function(){this._isInitialized&&this.change.emit(new f6b(this._selected,this._value))};g._markRadiosForCheck=function(){this._radios&&this._radios.forEach(function(a){return a._markForCheck()})};g.writeValue=function(a){this.value=a;this._changeDetector.markForCheck()};
g.registerOnChange=function(a){this._controlValueAccessorChangeFn=a};g.registerOnTouched=function(a){this.onTouched=a};g.setDisabledState=function(a){this.disabled=a;this._changeDetector.markForCheck()};
Xi.Object.defineProperties(BN.prototype,{name:{configurable:!0,enumerable:!0,get:function(){return this._name},set:function(a){this._name=a;this._updateRadioButtonNames()}},labelPosition:{configurable:!0,enumerable:!0,get:function(){return this._labelPosition},set:function(a){this._labelPosition="before"===a?"before":"after";this._markRadiosForCheck()}},value:{configurable:!0,enumerable:!0,get:function(){return this._value},set:function(a){this._value!==a&&(this._value=a,this._updateSelectedRadioFromValue(),
this._checkSelectedRadioButton())}},selected:{configurable:!0,enumerable:!0,get:function(){return this._selected},set:function(a){this.value=(this._selected=a)?a.value:null;this._checkSelectedRadioButton()}},disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){this._disabled=bi(a);this._markRadiosForCheck()}},required:{configurable:!0,enumerable:!0,get:function(){return this._required},set:function(a){this._required=bi(a);this._markRadiosForCheck()}}});
BN.\u0275fac=function(a){return new (a||BN)(A(qw))};BN.\u0275dir=qd({type:BN,inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required"},outputs:{change:"change"}});
var i6b=Zi(aj(function(a){this._elementRef=a})),CN=function(a,b,c,d,e,f,h,l){b=i6b.call(this,b)||this;b._changeDetector=c;b._focusMonitor=d;b._radioDispatcher=e;b._providerOverride=h;b._uniqueId="mat-radio-"+ ++e6b;b.id=b._uniqueId;b.change=new Rv;b._checked=!1;b._value=null;b._removeUniqueSelectionListener=function(){};b.radioGroup=a;b._noopAnimations="NoopAnimations"===f;l&&(b.tabIndex=ei(l,0));return b};W(CN,i6b);g=CN.prototype;
g.focus=function(a,b){b?Ix(this._focusMonitor,this._inputElement,b,a):this._inputElement.nativeElement.focus(a)};g._markForCheck=function(){this._changeDetector.markForCheck()};g.ngOnInit=function(){var a=this;if(this.radioGroup){if(this.checked=this.radioGroup.value===this._value)this.radioGroup.selected=this;this.name=this.radioGroup.name}this._removeUniqueSelectionListener=this._radioDispatcher.listen(function(b,c){b!==a.id&&c===a.name&&(a.checked=!1)})};g.ngDoCheck=function(){this._updateTabIndex()};
g.ngAfterViewInit=function(){var a=this;this._updateTabIndex();this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(b){!b&&a.radioGroup&&a.radioGroup._touch()})};g.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef);this._removeUniqueSelectionListener()};g._emitChangeEvent=function(){this.change.emit(new f6b(this,this._value))};g._isRippleDisabled=function(){return this.disableRipple||this.disabled};g._onInputClick=function(a){a.stopPropagation()};
g._onInputInteraction=function(a){a.stopPropagation();this.checked||this.disabled||(a=this.radioGroup&&this.value!==this.radioGroup.value,this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),a&&this.radioGroup._emitChangeEvent()))};g._onTouchTargetClick=function(a){this._onInputInteraction(a);this.disabled||this._inputElement.nativeElement.focus()};g._setDisabled=function(a){this._disabled!==a&&(this._disabled=a,this._changeDetector.markForCheck())};
g._updateTabIndex=function(){var a=this.radioGroup;a=a&&a.selected&&!this.disabled?a.selected===this?this.tabIndex:-1:this.tabIndex;if(a!==this._previousTabIndex){var b,c=null==(b=this._inputElement)?void 0:b.nativeElement;c&&(c.setAttribute("tabindex",a+""),this._previousTabIndex=a)}};
Xi.Object.defineProperties(CN.prototype,{checked:{configurable:!0,enumerable:!0,get:function(){return this._checked},set:function(a){a=bi(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(bi(a))}},
required:{configurable:!0,enumerable:!0,get:function(){return this._required||this.radioGroup&&this.radioGroup.required},set:function(a){this._required=bi(a)}},color:{configurable:!0,enumerable:!0,get:function(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"},set:function(a){this._color=a}},inputId:{configurable:!0,enumerable:!0,get:function(){return(this.id||this._uniqueId)+"-input"}}});CN.\u0275fac=function(){pe()};
CN.\u0275dir=qd({type:CN,viewQuery:function(a,b){a&1&&ih(d6b,5);if(a&2){var c;hh(c=kh())&&(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:[qg]});var j6b=function(a){return{enterDuration:a}},k6b={provide:Ow,useExisting:cd(function(){return DN}),multi:!0},DN=function(){BN.apply(this,arguments)};W(DN,BN);DN.\u0275fac=function(){var a;return function(b){return(a||(a=ie(DN)))(b||DN)}}();
DN.\u0275dir=qd({type:DN,selectors:[["mat-radio-group"]],contentQueries:function(a,b,c){a&1&&jh(c,EN,5);if(a&2){var d;hh(d=kh())&&(b._radios=d)}},hostAttrs:["role","radiogroup",1,"mat-radio-group"],exportAs:["matRadioGroup"],features:[Ug([k6b,{provide:g6b,useExisting:DN}]),qg]});var EN=function(a,b,c,d,e,f,h,l){return CN.call(this,a,b,c,d,e,f,h,l)||this};W(EN,CN);EN.\u0275dir=CN.\u0275dir;EN.\u0275fac=function(a){return new (a||EN)(A(g6b,8),A(ke),A(qw),A(Hx),A(tz),A(cv,8),A(h6b,8),ce("tabindex"))};
EN.\u0275cmp=p({type:EN,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-radio-button"],hostVars:17,hostBindings:function(a,b){a&1&&K("focus",function(){return b._inputElement.nativeElement.focus()});a&2&&(ug("tabindex",null)("id",b.id)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),Fg("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:[qg],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&&(Ng(),E(0,"label",0,1)(2,"span",2),H(3,"span",3)(4,"span",4),E(5,"input",5,6),K("change",function(d){return b._onInputInteraction(d)})("click",function(d){return b._onInputClick(d)}),F(),E(7,"span",7),H(8,"span",8),F()(),E(9,"span",9)(10,"span",10),Q(11,"\u00a0"),F(),Og(12),F()());if(a&2){var c=O(1);ug("for",b.inputId);z(5);
D("id",b.inputId)("checked",b.checked)("disabled",b.disabled)("required",b.required);ug("name",b.name)("value",b.value)("aria-label",b.ariaLabel)("aria-labelledby",b.ariaLabelledby)("aria-describedby",b.ariaDescribedby);z(2);D("matRippleTrigger",c)("matRippleDisabled",b._isRippleDisabled())("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",Xg(17,j6b,b._noopAnimations?0:150));z(2);Fg("mat-radio-label-before","before"==b.labelPosition)}},dependencies:[Wz],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 l6b=["searchInput"],eDa=function(a,b){return{issues:a,tab:b}},m6b={title:"Select an issue.",defaultChoices:[],allowMultipleIds:!1},n6b={SIMILAR_ISSUES:"Similar issues",SEARCH_RESULTS:"Search results",ISSUE_IDS:"Issue IDs"},FN=function(a,b,c,d,e,f,h,l){Z.call(this);var q=this;this.dialogRef=a;this.initialData=b;this.issueFridge=c;this.issueRecommendationsFridge=d;this.issuePickerSearchService=e;this.analytics=f;this.activeSession=h;this.liveAnnouncer=l;this.data=Object.assign({},m6b,this.initialData);
var u;this.currentComponent=null!=(u=this.data.componentId)?u:void 0;this.currentIssueId$=(0,C.defer)(function(){var x;return"issue"===(null==(x=q.data.currentResource)?void 0:x.type)?(0,C.of)(q.data.currentResource.id):C.NEVER});this.selectedIssues=new YJ;this.tableColumns="single-selection title id priority status duplicateCount votes createdTime".split(" ");this.issueUrlFactory=$n;this.trackByIssueId=function(x,y){return y.issueId};this.issues$=this.issueFridge.watchSet([]);this.similarIssues$=
this.currentIssueId$.pipe(Gf(function(){return DE(q.activeSession,"enableSimilarIssuesTabInIssuePicker")}),cg(function(x){return q.issueRecommendationsFridge.watch(x+"-ISSUE_DEDUPLICATION",void 0)}),B(function(x){var y;return null==x?void 0:null==(y=x.recommendations)?void 0:y.map(function(G){var L;return null==(L=G.content)?void 0:L.recommendedIssue})}),B(function(x){var y;return null!=(y=null==x?void 0:x.filter(nk))?y:[]}));this.searchText$=new C.BehaviorSubject("");this.searchTextTrimmed$=this.searchText$.pipe(B(function(x){return x.trim()}),
Qf());this.idsInSearchText$=this.searchTextTrimmed$.pipe(B(fya),B(wn),Qf(Fj));this.issuesWithIdMatches$=this.idsInSearchText$.pipe(cg(function(x){return q.issueFridge.watchSet(x)}));this.searchResults$=this.searchTextTrimmed$.pipe(Nf(200),cg(function(x){return q.issuePickerSearchService.search(x,q.data.edgeType,q.data.currentResource,q.currentComponent)}),bg(void 0),$f({bufferSize:1,refCount:!0}));this.idsToAutoSelect$=this.issuesWithIdMatches$.pipe(B(function(x){return 1!==x.length||4>x[0].issueId.length?
[]:[x[0].issueId]}),Qf(Fj));this.TABS=n6b;this.visibleTabs$=(0,C.combineLatest)([this.similarIssues$.pipe(bg([])),this.issuesWithIdMatches$.pipe(bg([])),this.searchTextTrimmed$.pipe(bg(void 0))]).pipe(B(function(x){var y=m(x);x=y.next().value;var G=y.next().value;y=y.next().value;return[].concat(r(x.length?["Similar issues"]:[]),r(y?["Search results"]:[]),r(G.length?["Issue IDs"]:[]))}),Qf());this.automaticallySelectedTab$=(0,C.combineLatest)([this.searchTextTrimmed$,this.idsToAutoSelect$,this.similarIssues$.pipe(bg([]))]).pipe(B(function(x){x=
m(x);var y=x.next().value,G=x.next().value;x.next();return G.length?"Issue IDs":y?"Search results":"Similar issues"}),Qf());this.automaticallySelectedTabIndex$=this.automaticallySelectedTab$.pipe(fg(this.visibleTabs$),B(function(x){x=m(x);var y=x.next().value;return x.next().value.indexOf(y)}),Qf());this.correctedDisplayedRows=new lh;this.lastSelectionTab="none"};W(FN,Z);FN.\u0275dir=Z.\u0275dir;
FN.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.idsToAutoSelect$.subscribe(function(b){a.selectedIssues.reset(b)}));this.subscriptions.add(this.automaticallySelectedTab$.subscribe(function(b){a.liveAnnouncer.announce(b+" tab is active")}));"canonical"===this.data.edgeType&&this.subscriptions.add($4b(this.issuePickerSearchService,this.currentComponent).subscribe())};
FN.prototype.ngAfterViewInit=function(){this.focusManager=cz(new cN(this.correctedDisplayedRows,function(a,b){return a.issueId===b.issueId}))};var LDa=function(a,b){var c,d;return of(function(e){if(1==e.nextAddress)return e.yield(Fp(),2);c=new Map(a.displayedRows.toArray().map(function(f){return[f.row.issueId,f]}));d=b.map(function(f){return c.get(f.issueId)}).filter(nk);a.correctedDisplayedRows.reset(d);gh(a.correctedDisplayedRows);tf(e)})};
FN.prototype.onPressConfirm=function(){var a=this,b,c,d,e,f,h;return of(function(l){if(1==l.nextAddress){if(!a.selectedIssues.size)return l.return();b=[].concat(r(a.selectedIssues));c={selectedIssueIds:b};a.dialogRef.close(c);d=a.analytics;e=d.trackEvent;f="picked-"+a.data.edgeType;h=a.lastSelectionTab;return l.yield(o6b(a,b[0]),2)}e.call(d,"assistive-issue-picker",f,h,l.yieldResult);tf(l)})};FN.prototype.onPressCancel=function(){this.dialogRef.close()};
FN.prototype.selectIssue=function(a,b){this.selectedIssues.reset([a]);this.lastSelectionTab=b};FN.prototype.onRowKeydown=function(a,b,c){if(0===a&&"ArrowUp"===c.key)this.inputEl.nativeElement.focus(),c.preventDefault();else this.focusManager.onKeydown(c)};
var o6b=function(a,b){var c,d;return of(function(e){if(1==e.nextAddress){if("canonical"!==a.data.edgeType)return e.return(0);c=Set;return e.yield((0,C.firstValueFrom)($4b(a.issuePickerSearchService,a.currentComponent)),2)}d=new c(e.yieldResult);return e.return(d.has(b)?1:0)})};FN.\u0275fac=function(a){return new (a||FN)(A(FA),A(HA),A(BH),A(ZM),A(DM),A(wH),A(Vt),A(Ty))};
FN.\u0275cmp=p({type:FN,selectors:[["assistive-issue-picker-dialog"]],viewQuery:function(a,b){a&1&&(ih(l6b,5),ih(aN,5));if(a&2){var c;hh(c=kh())&&(b.inputEl=c.first);hh(c=kh())&&(b.displayedRows=c)}},hostBindings:function(a,b){a&1&&K("keydown.control.enter",function(){return b.onPressConfirm()})("keydown.meta.enter",function(){return b.onPressConfirm()})("keydown.escape",function(){return b.onPressCancel()})},features:[qg],decls:28,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"],["loading",""],["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","ngIfElse"],["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,"padded-s","padded-left","muted"]],template:function(a,b){if(a&1){var c=t();E(0,"div",0)(1,"div",1);H(2,"mat-icon",2);E(3,"span");Q(4,"Close as duplicate of:");F()();E(5,"header",3);H(6,
"mat-icon",4);E(7,"input",5,6);K("keydown.arrowdown",function(){return b.focusManager.setActiveItem(0)})("input",function(){v(c);var l=O(8);return w(b.searchText$.next(l.value))});F()()();E(9,"mat-tab-group",7);U(10,"async");U(11,"async");P(12,hDa,4,3,"mat-tab",8);U(13,"async");P(14,mDa,4,3,"mat-tab",9);U(15,"async");P(16,rDa,4,3,"mat-tab",10);U(17,"async");F();P(18,NDa,2,2,"ng-template",null,11,qh);E(20,"div",12)(21,"button",13);K("click",function(){return b.onPressCancel()});Q(22," Cancel ");F();
E(23,"button",14);K("click",function(){return b.onPressConfirm()});U(24,"async");Q(25," Close as duplicate ");F()();P(26,ODa,2,0,"ng-template",null,15,qh)}if(a&2){var d,e,f,h;z(9);Fg("hidden",!(null==(d=V(10,7,b.visibleTabs$))?0:d.length));D("selectedIndex",V(11,9,b.automaticallySelectedTabIndex$));z(3);D("ngIf",null==(e=V(13,11,b.visibleTabs$))?null:e.includes(b.TABS.SIMILAR_ISSUES));z(2);D("ngIf",null==(f=V(15,13,b.visibleTabs$))?null:f.includes(b.TABS.SEARCH_RESULTS));z(2);D("ngIf",null==(h=V(17,
15,b.visibleTabs$))?null:h.includes(b.TABS.ISSUE_IDS));z(7);D("disabled",!V(24,17,b.selectedIssues.size$))}},dependencies:[yw,Dw,zN,fL,UM,VM,hL,rL,tA,KA,LA,MA,jB,DN,EN,mM,eM,iM,fM,dM,jM,gM,hM,kM,lM,uN,tN,NC,aN,AN,Ew],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}.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 p6b=function(a,b){return[a,b]},GN=function(){this.size=this.name=""};GN.prototype.ngOnInit=function(){};GN.\u0275fac=function(a){return new (a||GN)};
GN.\u0275cmp=p({type:GN,selectors:[["b-icon"]],inputs:{name:"name",size:"size"},decls:1,vars:5,consts:[[3,"svgIcon","ngClass"]],template:function(a,b){a&1&&H(0,"mat-icon",0);a&2&&D("svgIcon",b.name)("ngClass",Yg(2,p6b,b.name,b.size))},dependencies:[ww,jB],styles:['[_nghost-%COMP%]{display:inline-block;line-height:0;vertical-align:middle}.hoverable[_nghost-%COMP%] > .mat-icon[_ngcontent-%COMP%]::before{background:none;border-radius:50%;bottom:-3px;box-sizing:border-box;content:"";display:block;left:-3px;opacity:0;position:absolute;right:-3px;top:-3px;z-index:-1}.hoverable[_nghost-%COMP%] > .mat-icon[_ngcontent-%COMP%]:hover::before, .hoverable[_nghost-%COMP%] > .mat-icon[_ngcontent-%COMP%]:focus::before{background-color:#dadce0;background-color:var(--c300);opacity:1}[_nghost-%COMP%]   .mat-icon[_ngcontent-%COMP%]{position:relative}[_nghost-%COMP%]   .small[_ngcontent-%COMP%]{height:18px;width:18px}[_nghost-%COMP%]   .large[_ngcontent-%COMP%]{height:24px;width:24px}'],changeDetection:0});var HN=function(){this.expandable=this.issue=null;this.expanded=!1;this.level=0;this.expansionChange=new Rv;this.title=""};HN.prototype.ngOnChanges=function(){var a,b;this.title=(null==(a=this.issue)?void 0:null==(b=a.snapshot[0])?void 0:b.title)||""};HN.\u0275fac=function(a){return new (a||HN)};
HN.\u0275cmp=p({type:HN,selectors:[["b-expandable-issue-title-cell"]],inputs:{issue:"issue",expandable:"expandable",expanded:"expanded",level:"level"},outputs:{expansionChange:"expansionChange"},features:[Hd],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&&(E(0,"div",0),P(1,PDa,2,3,"button",1),P(2,QDa,1,0,"div",2),H(3,"b-issue-title-cell",3),F());a&2&&(Eg("margin-left",24*b.level,"px"),z(1),D("ngIf",b.expandable),z(1),D("ngIf",!b.expandable),z(1),D("issue",b.issue))},dependencies:[yw,GN,tA,rL],styles:[".expander[_ngcontent-%COMP%]{transition:transform .2s ease-in-out}.expander.collapsed[_ngcontent-%COMP%]{transform:rotate(-90deg)}.leaf[_ngcontent-%COMP%]{width:32px;min-width:32px;display:inline-block}"],
changeDetection:0});var IN=function(){};IN.\u0275fac=function(a){return new (a||IN)};IN.\u0275mod=od({type:IN});IN.\u0275inj=Wc({imports:[Mw]});var JN=function(){};JN.\u0275fac=function(a){return new (a||JN)};JN.\u0275mod=od({type:JN});JN.\u0275inj=Wc({imports:[Uy,hK,Mw,YC,Lz]});var KN=function(){};KN.\u0275fac=function(a){return new (a||KN)};KN.\u0275mod=od({type:KN});KN.\u0275inj=Wc({imports:[Mw]});var LN=function(){};LN.\u0275fac=function(a){return new (a||LN)};LN.\u0275mod=od({type:LN});LN.\u0275inj=Wc({});var MN=function(){};MN.\u0275fac=function(a){return new (a||MN)};MN.\u0275mod=od({type:MN});MN.\u0275inj=Wc({imports:[KN,Mw,LN,OC]});var NN=function(){};NN.\u0275fac=function(a){return new (a||NN)};NN.\u0275mod=od({type:NN});NN.\u0275inj=Wc({providers:[xK],imports:[sK]});/*

 Copyright 2005, 2007 Bob Ippolito. All Rights Reserved.
 Copyright The Closure Library Authors.
 SPDX-License-Identifier: MIT
*/
var ON=function(a,b){this.sequence_=[];this.onCancelFunction_=a;this.defaultScope_=b||null;this.hadError_=this.fired_=!1;this.result_=void 0;this.silentlyCanceled_=this.blocking_=this.blocked_=!1;this.unhandledErrorId_=0;this.parent_=null;this.branches_=0};gu(ON,RDa);
ON.prototype.cancel=function(a){if(this.fired_)this.result_ instanceof ON&&this.result_.cancel();else{if(this.parent_){var b=this.parent_;delete this.parent_;a?b.cancel(a):(b.branches_--,0>=b.branches_&&b.cancel())}this.onCancelFunction_?this.onCancelFunction_.call(this.defaultScope_,this):this.silentlyCanceled_=!0;this.fired_||(a=new PN(this),QN(this),RN(this,!1,a))}};ON.prototype.continue_=function(a,b){this.blocked_=!1;RN(this,a,b)};
var RN=function(a,b,c){a.fired_=!0;a.result_=c;a.hadError_=!b;q6b(a)},QN=function(a){if(a.fired_){if(!a.silentlyCanceled_)throw new r6b(a);a.silentlyCanceled_=!1}};ON.prototype.callback=function(a){QN(this);RN(this,!0,a)};ON.prototype.addCallback=function(a,b){return s6b(this,a,null,b)};var s6b=function(a,b,c,d){a.sequence_.push([b,c,d]);a.fired_&&q6b(a);return a};
ON.prototype.then=function(a,b,c){var d,e,f=new VB(function(h,l){e=h;d=l});s6b(this,e,function(h){h instanceof PN?f.cancel():d(h);return t6b},this);return f.then(a,b,c)};ON.prototype.$goog_Thenable=!0;ON.prototype.isError=function(a){return a instanceof Error};
var u6b=function(a){return uCb(a.sequence_,function(b){return"function"===typeof b[1]})},t6b={},q6b=function(a){if(a.unhandledErrorId_&&a.fired_&&u6b(a)){var b=a.unhandledErrorId_,c=v6b[b];c&&(da.clearTimeout(c.id_),delete v6b[b]);a.unhandledErrorId_=0}a.parent_&&(a.parent_.branches_--,delete a.parent_);b=a.result_;for(var d=c=!1;a.sequence_.length&&!a.blocked_;){var e=a.sequence_.shift(),f=e[0],h=e[1];e=e[2];if(f=a.hadError_?h:f)try{var l=f.call(e||a.defaultScope_,b);l===t6b&&(l=void 0);void 0!==
l&&(a.hadError_=a.hadError_&&(l==b||a.isError(l)),a.result_=b=l);if(bOb(b)||"function"===typeof da.Promise&&b instanceof da.Promise)d=!0,a.blocked_=!0}catch(q){b=q,a.hadError_=!0,u6b(a)||(c=!0)}}a.result_=b;d&&(l=eu(a.continue_,a,!0),d=eu(a.continue_,a,!1),b instanceof ON?(s6b(b,l,d),b.blocking_=!0):b.then(l,d));c&&(b=new w6b(b),v6b[b.id_]=b,a.unhandledErrorId_=b.id_)},r6b=function(){ba.call(this)};gu(r6b,ba);r6b.prototype.message="Deferred has already fired";r6b.prototype.name="AlreadyCalledError";
var PN=function(){ba.call(this)};gu(PN,ba);PN.prototype.message="Deferred was canceled";PN.prototype.name="CanceledError";var w6b=function(a){this.id_=da.setTimeout(eu(this.throwError,this),0);this.error_=a};w6b.prototype.throwError=function(){delete v6b[this.id_];throw this.error_;};var v6b={};var WDa=function(a,b){var c=b||{};b=c.document||document;var d=oj(a).toString(),e=(new IB(b)).createElement("SCRIPT"),f={script_:e,timeout_:void 0},h=new ON(x6b,f),l=null,q=null!=c.timeout?c.timeout:5E3;0<q&&(l=window.setTimeout(function(){y6b(e,!0);var u=new z6b(1,"Timeout reached for loading script "+d);QN(h);RN(h,!1,u)},q),f.timeout_=l);e.onload=e.onreadystatechange=function(){e.readyState&&"loaded"!=e.readyState&&"complete"!=e.readyState||(y6b(e,c.cleanupWhenDone||!1,l),h.callback(null))};e.onerror=
function(){y6b(e,!0,l);var u=new z6b(0,"Error while loading script "+d);QN(h);RN(h,!1,u)};f=c.attributes||{};uc(f,{type:"text/javascript",charset:"UTF-8"});ENb(e,f);AEb(e,a);A6b(b).appendChild(e);return h},A6b=function(a){var b=LB("HEAD",a);return b&&0!==b.length?b[0]:a.documentElement},x6b=function(){if(this&&this.script_){var a=this.script_;a&&"SCRIPT"==a.tagName&&y6b(a,!0,this.timeout_)}},y6b=function(a,b,c){null!=c&&da.clearTimeout(c);a.onload=function(){};a.onerror=function(){};a.onreadystatechange=
function(){};b&&window.setTimeout(function(){QB(a)},0)},z6b=function(a,b){var c="Jsloader error (code #"+a+")";b&&(c+=": "+b);ba.call(this,c);this.code=a};gu(z6b,ba);var SDa=null,YDa=new WeakMap;var SN=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,C.defer)(function(){return UDa().then(function(f){f=f||window.gapi;e.setGapiConfig(f);return $Da(f,{apiKey:e.gapiKey,clientId:e.gapiAuthParams.clientId,scope:e.gapiAuthParams.scope}).then(function(){return f})})})};W(SN,H_b);
SN.prototype.makeRequest=function(a){var b=this;return this.gapi.pipe(zf(function(c){var d=(0,C.of)(void 0);void 0!==b.gapiAuthParams.minAuthTokenTimeRemaining&&(d=(0,C.from)(ZDa(c,b.gapiAuthParams.minAuthTokenTimeRemaining)));return d.pipe(zf(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}))}))}))};
SN.prototype.parseResponse=function(a){return new C.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)})})};SN.prototype.setGapiConfig=function(a){for(var b in this.gapiConfigUpdates)this.gapiConfigUpdates.hasOwnProperty(b)&&XDa(a,b,this.gapiConfigUpdates[b])};var B6b=function(a,b,c,d,e){d=void 0===d?{}:d;e=void 0===e?{}:e;SN.call(this,a,c,d,e);this.waldoApiKey=b};W(B6b,SN);B6b.prototype.makeRequest=function(a){var b=SN.prototype.makeRequest,c=b.call;(a.queryParams||(a.queryParams={})).key=this.waldoApiKey;return c.call(b,this,a)};var FBb=function(a){this.proxiedService=a};W(FBb,H_b);FBb.prototype.makeRequest=function(a){var b=this;return(0,C.defer)(function(){return b.proxiedService.makeRequest(a)})};var C6b=new Bd("environment"),D6b={"client/cors":!0,"googleapis.config/auth/useFirstPartyAuth":!0,"googleapis.config/auth/useFirstPartyAuthV2":!0},TN=function(){};TN.\u0275fac=function(a){return new (a||TN)};TN.\u0275mod=od({type:TN});TN.\u0275inj=Wc({imports:[Mw,JI]});var UN=function(){};UN.\u0275fac=function(a){return new (a||UN)};UN.\u0275mod=od({type:UN});UN.\u0275inj=Wc({imports:[Mw,NN,MN,TN]});var VN=function(){};VN.\u0275fac=function(a){return new (a||VN)};VN.\u0275mod=od({type:VN});VN.\u0275inj=Wc({imports:[Mw,UN,JN]});var WN=function(){};WN.\u0275fac=function(a){return new (a||WN)};WN.\u0275mod=od({type:WN});WN.\u0275inj=Wc({imports:[Mw]});var XN=function(){};XN.\u0275fac=function(a){return new (a||XN)};XN.\u0275mod=od({type:XN});XN.\u0275inj=Wc({imports:[Uy,Mw,NM,YC,OC,ID,RM]});var E6b=["theInput"],YN=function(){this.placeholder=this.value="";this.readonly=!1;this.autoFocus=!0;this.valueChange=new Rv;this.commit=new Rv};YN.prototype.ngAfterViewInit=function(){this.autoFocus&&this.input.nativeElement.focus()};YN.\u0275fac=function(a){return new (a||YN)};
YN.\u0275cmp=p({type:YN,selectors:[["b-text-input-cell"]],viewQuery:function(a,b){a&1&&ih(E6b,5);if(a&2){var c;hh(c=kh())&&(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&&(E(0,"input",0,1),K("keydown.enter",function(c){b.readonly||b.commit.emit(c)})("ngModelChange",
function(c){return b.valueChange.emit(c)}),F());a&2&&(Fg("readonly",b.readonly)("override",b.readonly),D("placeholder",b.placeholder)("disabled",b.readonly)("ngModel",b.value))},dependencies:[Qh,ax,hx],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 ZN=function(){};ZN.\u0275fac=function(a){return new (a||ZN)};ZN.\u0275mod=od({type:ZN});ZN.\u0275inj=Wc({imports:[Mw,OC,LG,YC]});var $N=function(){};$N.\u0275fac=function(a){return new (a||$N)};$N.\u0275mod=od({type:$N});$N.\u0275inj=Wc({imports:[Mw,OC,JN,ZN]});var aO=function(){};aO.\u0275fac=function(a){return new (a||aO)};aO.\u0275mod=od({type:aO});aO.\u0275inj=Wc({imports:[Mw,JN,YC]});var bO=function(){HG.apply(this,arguments)};W(bO,HG);Xi.Object.defineProperties(bO.prototype,{routerLinkObj:{configurable:!0,enumerable:!0,set:function(a){this.queryParams=a.queryParams;this.routerLink=a.path;this.fragment=a.fragment}}});bO.\u0275fac=function(){var a;return function(b){return(a||(a=ie(bO)))(b||bO)}}();bO.\u0275dir=qd({type:bO,selectors:[["a","routerLinkObj",""],["area","routerLinkObj",""]],inputs:{routerLinkObj:"routerLinkObj"},features:[qg]});var cO=function(){};
cO.\u0275fac=function(a){return new (a||cO)};cO.\u0275mod=od({type:cO});cO.\u0275inj=Wc({imports:[Mw,LG]});var dO=function(){};dO.\u0275fac=function(a){return new (a||dO)};dO.\u0275mod=od({type:dO});dO.\u0275inj=Wc({imports:[Mw]});var eO=function(){};eO.\u0275fac=function(a){return new (a||eO)};eO.\u0275mod=od({type:eO});eO.\u0275inj=Wc({imports:[Mw,OC]});var fO=function(){};fO.\u0275fac=function(a){return new (a||fO)};fO.\u0275mod=od({type:fO});fO.\u0275inj=Wc({imports:[dO,XJ,Mw,IN,wx,eO,XN,WN,YC,OC,VN,cO,LG,$N,aO]});var gO=function(){};gO.\u0275fac=function(a){return new (a||gO)};gO.\u0275mod=od({type:gO});gO.\u0275inj=Wc({imports:[Mw,yN]});var hO=function(){};hO.\u0275fac=function(a){return new (a||hO)};hO.\u0275mod=od({type:hO});hO.\u0275inj=Wc({});var iO=function(){};iO.\u0275fac=function(a){return new (a||iO)};iO.\u0275mod=od({type:iO});iO.\u0275inj=Wc({imports:[Zz,Mz,Mz]});var jO=function(){HL.apply(this,arguments)};W(jO,HL);jO.\u0275fac=function(){var a;return function(b){return(a||(a=ie(jO)))(b||jO)}}();jO.\u0275dir=qd({type:jO,selectors:[["","matCellDef",""]],features:[Ug([{provide:HL,useExisting:jO}]),qg]});var kO=function(){IL.apply(this,arguments)};W(kO,IL);kO.\u0275fac=function(){var a;return function(b){return(a||(a=ie(kO)))(b||kO)}}();kO.\u0275dir=qd({type:kO,selectors:[["","matHeaderCellDef",""]],features:[Ug([{provide:IL,useExisting:kO}]),qg]});
var lO=function(){return KL.apply(this,arguments)||this};W(lO,KL);lO.prototype._updateColumnCssClassName=function(){KL.prototype._updateColumnCssClassName.call(this);this._columnCssClassName.push("mat-column-"+this.cssClassFriendlyName)};Xi.Object.defineProperties(lO.prototype,{name:{configurable:!0,enumerable:!0,get:function(){return this._name},set:function(a){this._setNameInput(a)}}});lO.\u0275fac=function(){var a;return function(b){return(a||(a=ie(lO)))(b||lO)}}();
lO.\u0275dir=qd({type:lO,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[Ug([{provide:KL,useExisting:lO},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:lO}]),qg]});var nO=function(){LL.apply(this,arguments)};W(nO,LL);nO.\u0275fac=function(){var a;return function(b){return(a||(a=ie(nO)))(b||nO)}}();
nO.\u0275dir=qd({type:nO,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],features:[qg]});var oO=function(){ML.apply(this,arguments)};W(oO,ML);oO.\u0275fac=function(){var a;return function(b){return(a||(a=ie(oO)))(b||oO)}}();oO.\u0275dir=qd({type:oO,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[qg]});var pO=function(){return PL.apply(this,arguments)||this};W(pO,PL);pO.\u0275fac=function(){var a;return function(b){return(a||(a=ie(pO)))(b||pO)}}();pO.\u0275dir=qd({type:pO,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[Ug([{provide:PL,useExisting:pO}]),qg]});var qO=function(){RL.apply(this,arguments)};W(qO,RL);qO.\u0275fac=function(){var a;return function(b){return(a||(a=ie(qO)))(b||qO)}}();
qO.\u0275dir=qd({type:qO,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[Ug([{provide:RL,useExisting:qO}]),qg]});var rO=function(){};W(rO,UL);rO.\u0275fac=function(){var a;return function(b){return(a||(a=ie(rO)))(b||rO)}}();
rO.\u0275cmp=p({type:rO,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],features:[Ug([{provide:UL,useExisting:rO}]),qg],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&Kg(0,0)},dependencies:[TL],encapsulation:2});var sO=function(){};W(sO,VL);sO.\u0275fac=function(){var a;return function(b){return(a||(a=ie(sO)))(b||sO)}}();
sO.\u0275cmp=p({type:sO,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[Ug([{provide:VL,useExisting:sO}]),qg],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&Kg(0,0)},dependencies:[TL],encapsulation:2});var F6b=[[["caption"]],[["colgroup"],["col"]]],tO=function(){aM.apply(this,arguments);this.stickyCssClass="mat-mdc-table-sticky";this.needsPositionStickyOnElement=!1};W(tO,aM);tO.prototype.ngOnInit=function(){aM.prototype.ngOnInit.call(this);this._isNativeHtmlTable&&this._elementRef.nativeElement.querySelector("tbody").classList.add("mdc-data-table__content")};tO.\u0275fac=function(){var a;return function(b){return(a||(a=ie(tO)))(b||tO)}}();
tO.\u0275cmp=p({type:tO,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:["ngSkipHydration","true",1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(a,b){a&2&&Fg("mdc-table-fixed-layout",b.fixedLayout)},exportAs:["matTable"],features:[Ug([{provide:aM,useExisting:tO},{provide:GL,useExisting:tO},{provide:y4b,useClass:NL},{provide:BKb,useClass:zKb},{provide:D4b,useValue:null}]),qg],ngContentSelectors:["caption","colgroup, col"],decls:6,vars:0,consts:[["headerRowOutlet",
""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(a){a&1&&(Ng(F6b),Og(0),Og(1,1),Kg(2,0)(3,1)(4,2)(5,3))},dependencies:[XL,YL,ZL,$L],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--checkbox{width:1px}.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__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-wrapper{align-items:center;display:inline-flex;vertical-align:middle}.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--checkbox{width:1px}.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__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-wrapper{align-items:center;display:inline-flex;vertical-align:middle}.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__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__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 uO=function(){};uO.\u0275fac=function(a){return new (a||uO)};uO.\u0275mod=od({type:uO});uO.\u0275inj=Wc({imports:[Mz,cM,Mz]});var vO=function(){};vO.\u0275fac=function(a){return new (a||vO)};vO.\u0275mod=od({type:vO});vO.\u0275inj=Wc({imports:[cM,Mz,Mz]});var wO=function(){};wO.\u0275fac=function(a){return new (a||wO)};wO.\u0275mod=od({type:wO});wO.\u0275inj=Wc({providers:[{provide:w5b,useValue:{enabled:!0}}],imports:[Mw,gO,fO,YC,NA,OC,iO,vO,yN,ID,bN,hO]});var xO=function(a){var b=this;this.elementRef=a;this.eventType="click";this.clickOutside=new Rv;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))}};xO.prototype.ngOnInit=function(){document.addEventListener(this.eventType,this.clickHandler,!0)};
xO.prototype.ngOnDestroy=function(){document.removeEventListener(this.eventType,this.clickHandler,!0)};xO.\u0275fac=function(a){return new (a||xO)(A(ke))};xO.\u0275dir=qd({type:xO,selectors:[["","clickOutside",""]],inputs:{eventType:["clickOutsideEvent","eventType"]},outputs:{clickOutside:"clickOutside"}});var yO=function(){};yO.\u0275fac=function(a){return new (a||yO)};yO.\u0275mod=od({type:yO});yO.\u0275inj=Wc({});var zO=function(){};zO.\u0275fac=function(a){return new (a||zO)};zO.\u0275cmp=p({type:zO,selectors:[["b-glue"]],ngContentSelectors:["*"],decls:2,vars:0,consts:[[1,"no-wrapping"]],template:function(a){a&1&&(Ng(),E(0,"span",0),Og(1),F())},styles:['.no-wrapping[_ngcontent-%COMP%] {\n  white-space: nowrap;\n}\n\n.no-wrapping[_ngcontent-%COMP%]::after {\n  content: "\\002060"\n}'],changeDetection:0});var G6b=["el"],AO=function(a,b,c){this.clipboard=a;this.snackBar=b;this.domSafe=c;this.opened=!1};AO.prototype.getNgContentParentEl=function(){return this.el.nativeElement};AO.prototype.hide=function(){this.opened=!1};AO.prototype.copyToClipboard=function(){this.clipboard.copy(this.originalHref);this.snackBar.open("URL copied","",{duration:2E3})};AO.\u0275fac=function(a){return new (a||AO)(A(SM),A(SF),A(PK))};
AO.\u0275cmp=p({type:AO,selectors:[["b-broken-link"]],viewQuery:function(a,b){a&1&&ih(G6b,7);if(a&2){var c;hh(c=kh())&&(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&&(Ng(),E(0,"a",0,1),K("click",function(d){d.preventDefault();d.stopPropagation();b.opened=!b.opened}),E(2,"b-glue"),H(3,"mat-icon",2),F(),E(4,"span",null,3),Og(6),F()(),P(7,aEa,11,3,"ng-template",4));if(a&2){var c=O(1);z(7);D("cdkConnectedOverlayPush",
!0)("cdkConnectedOverlayOrigin",c)("cdkConnectedOverlayOpen",b.opened)}},dependencies:[Kz,Jz,xO,zO,jB,tA,NC],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 H6b=new Bd("mat-checkbox-default-options",{providedIn:"root",factory:bEa});var I6b=["input"],J6b=["label"],K6b=0,L6b=bEa(),M6b=aj(Yi(Zi($i(function(a){this._elementRef=a})))),BO=function(a,b,c,d,e,f,h){b=M6b.call(this,b)||this;b._changeDetectorRef=c;b._ngZone=d;b._animationMode=f;b._options=h;b.ariaLabel="";b.ariaLabelledby=null;b.labelPosition="after";b.name=null;b.change=new Rv;b.indeterminateChange=new Rv;b._onTouched=function(){};b._currentAnimationClass="";b._currentCheckState=0;b._controlValueAccessorChangeFn=function(){};b._checked=!1;b._disabled=!1;b._indeterminate=
!1;b._options=b._options||L6b;b.color=b.defaultColor=b._options.color||L6b.color;b.tabIndex=parseInt(e)||0;b.id=b._uniqueId=a+ ++K6b;return b};W(BO,M6b);g=BO.prototype;g.ngAfterViewInit=function(){this._syncIndeterminate(this._indeterminate)};g._isRippleDisabled=function(){return this.disableRipple||this.disabled};g._onLabelTextChange=function(){this._changeDetectorRef.detectChanges()};g.writeValue=function(a){this.checked=!!a};g.registerOnChange=function(a){this._controlValueAccessorChangeFn=a};
g.registerOnTouched=function(a){this._onTouched=a};g.setDisabledState=function(a){this.disabled=a};
g._transitionCheckState=function(a){var b=this._currentCheckState,c=this._elementRef.nativeElement;if(b!==a&&c&&(this._currentAnimationClass&&c.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(b,a),this._currentCheckState=a,0<this._currentAnimationClass.length)){c.classList.add(this._currentAnimationClass);var d=this._currentAnimationClass;this._ngZone.runOutsideAngular(function(){setTimeout(function(){c.classList.remove(d)},
1E3)})}};g._emitChangeEvent=function(){this._controlValueAccessorChangeFn(this.checked);this.change.emit(this._createChangeEvent(this.checked));this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)};g.toggle=function(){this.checked=!this.checked;this._controlValueAccessorChangeFn(this.checked)};
g._handleInputClick=function(){var a=this,b,c=null==(b=this._options)?void 0:b.clickAction;this.disabled||"noop"===c?this.disabled||"noop"!==c||(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==c&&Promise.resolve().then(function(){a._indeterminate=!1;a.indeterminateChange.emit(a._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())};
g._onInteractionEvent=function(a){a.stopPropagation()};g._onBlur=function(){var a=this;Promise.resolve().then(function(){a._onTouched();a._changeDetectorRef.markForCheck()})};
g._getAnimationClassForCheckStateTransition=function(a,b){if("NoopAnimations"===this._animationMode)return"";switch(a){case 0:if(1===b)return this._animationClasses.uncheckedToChecked;if(3==b)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case 2:return 1===b?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case 1:return 2===b?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;
case 3:return 1===b?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""};g._syncIndeterminate=function(a){var b=this._inputElement;b&&(b.nativeElement.indeterminate=a)};
Xi.Object.defineProperties(BO.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=bi(a)}},checked:{configurable:!0,enumerable:!0,get:function(){return this._checked},set:function(a){a=bi(a);a!=this.checked&&(this._checked=a,this._changeDetectorRef.markForCheck())}},disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},
set:function(a){a=bi(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=bi(a);b&&(this._indeterminate?this._transitionCheckState(3):this._transitionCheckState(this.checked?1:2),this.indeterminateChange.emit(this._indeterminate));this._syncIndeterminate(this._indeterminate)}}});BO.\u0275fac=function(){pe()};
BO.\u0275dir=qd({type:BO,viewQuery:function(a,b){a&1&&(ih(I6b,5),ih(J6b,5),ih(Wz,5));if(a&2){var c;hh(c=kh())&&(b._inputElement=c.first);hh(c=kh())&&(b._labelElement=c.first);hh(c=kh())&&(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:[qg]});var CO=function(){};CO.\u0275fac=function(a){return new (a||CO)};CO.\u0275mod=od({type:CO});CO.\u0275inj=Wc({});var N6b=function(a){return{enterDuration:a}},O6b=function(){},P6b={provide:Ow,useExisting:cd(function(){return DO}),multi:!0},DO=function(a,b,c,d,e,f,h){a=BO.call(this,"mat-checkbox-",a,b,d,e,f,h)||this;a._focusMonitor=c;a._animationClasses={uncheckedToChecked:"mat-checkbox-anim-unchecked-checked",uncheckedToIndeterminate:"mat-checkbox-anim-unchecked-indeterminate",checkedToUnchecked:"mat-checkbox-anim-checked-unchecked",checkedToIndeterminate:"mat-checkbox-anim-checked-indeterminate",indeterminateToChecked:"mat-checkbox-anim-indeterminate-checked",
indeterminateToUnchecked:"mat-checkbox-anim-indeterminate-unchecked"};return a};W(DO,BO);DO.\u0275dir=BO.\u0275dir;g=DO.prototype;g._createChangeEvent=function(a){var b=new O6b;b.source=this;b.checked=a;return b};g._getAnimationTargetElement=function(){return this._elementRef.nativeElement};g.ngAfterViewInit=function(){var a=this;BO.prototype.ngAfterViewInit.call(this);this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(b){b||a._onBlur()})};g.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef)};
g._onInputClick=function(a){a.stopPropagation();BO.prototype._handleInputClick.call(this)};g.focus=function(a,b){a?Ix(this._focusMonitor,this._inputElement,a,b):this._inputElement.nativeElement.focus(b)};DO.\u0275fac=function(a){return new (a||DO)(A(ke),A(qw),A(Hx),A(hg),ce("tabindex"),A(cv,8),A(H6b,8))};
DO.\u0275cmp=p({type:DO,selectors:[["mat-checkbox"]],hostAttrs:[1,"mat-checkbox"],hostVars:14,hostBindings:function(a,b){a&2&&(Lg("id",b.id),ug("tabindex",null)("aria-label",null)("aria-labelledby",null),Fg("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:[Ug([P6b]),qg],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&&(Ng(),E(0,"label",0,1)(2,"span",2)(3,"input",3,4),K("change",
function(e){return b._onInteractionEvent(e)})("click",function(e){return b._onInputClick(e)}),F(),E(5,"span",5),H(6,"span",6),F(),H(7,"span",7),E(8,"span",8),Sd(),E(9,"svg",9),H(10,"path",10),F(),Td(),H(11,"span",11),F()(),E(12,"span",12,13),K("cdkObserveContent",function(){return b._onLabelTextChange()}),E(14,"span",14),Q(15,"\u00a0"),F(),Og(16),F()());if(a&2){var c=O(1),d=O(13);ug("for",b.inputId);z(2);Fg("mat-checkbox-inner-container-no-side-margin",!d.textContent||!d.textContent.trim());z(1);
D("id",b.inputId)("required",b.required)("checked",b.checked)("disabled",b.disabled)("tabIndex",b.tabIndex);ug("value",b.value)("name",b.name)("aria-label",b.ariaLabel||null)("aria-labelledby",b.ariaLabelledby)("aria-describedby",b.ariaDescribedby);z(2);D("matRippleTrigger",c)("matRippleDisabled",b._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",Xg(18,N6b,"NoopAnimations"===b._animationMode?0:150))}},dependencies:[Wz,Ry],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 EO=function(){this.checked=!1};EO.\u0275fac=function(a){return new (a||EO)};EO.\u0275cmp=p({type:EO,selectors:[["b-checkbox-widget"]],inputs:{checked:"checked"},decls:1,vars:2,consts:[["gmat-checkbox","",3,"disabled","checked"]],template:function(a,b){a&1&&H(0,"mat-checkbox",0);a&2&&D("disabled",!0)("checked",b.checked)},dependencies:[DO],encapsulation:2,changeDetection:0});var Q6b=["el"],FO=function(a,b,c){Z.call(this);this.domSafe=a;this.clipboard=b;this.snackBar=c;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.opened=!1};W(FO,Z);FO.\u0275dir=Z.\u0275dir;FO.prototype.ngOnInit=function(){};FO.prototype.ngAfterViewInit=function(){var a=this;this.cdkConnectedOverlay.attach.pipe(dg(this.destroyed$)).subscribe(function(){var b=a.cdkConnectedOverlay.overlayRef.overlayElement;b&&(b=b.querySelector("a"))&&b.focus()})};FO.prototype.getNgContentParentEl=function(){return this.el.nativeElement};
var R6b=function(a){var b=a.getNgContentParentEl(),c,d;if(d=pBa(b))a=a.originalHref,b=null!=(c=b.textContent)?c:"",d=b===a||a.startsWith("mailto:")&&a.substring(7)===b?!0:!1;return!d};FO.prototype.hide=function(){this.opened=!1};var dEa=function(a,b){qBa(b)||(b.preventDefault(),b.stopPropagation(),Kp(a.domSafe,a.href))};FO.prototype.copyToClipboard=function(){this.clipboard.copy(this.originalHref);this.snackBar.open("URL copied","",{duration:2E3})};
var fEa=function(a,b){b.preventDefault();if(a=a.cdkConnectedOverlay.overlayRef.overlayElement){var c=a.querySelector("a");c&&setTimeout(function(){c.focus()})}},eEa=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()})}};FO.\u0275fac=function(a){return new (a||FO)(A(PK),A(SM),A(SF))};
FO.\u0275cmp=p({type:FO,selectors:[["b-external-hyperlink-widget"]],viewQuery:function(a,b){a&1&&(ih(Q6b,7),ih(Kz,7));if(a&2){var c;hh(c=kh())&&(b.el=c.first);hh(c=kh())&&(b.cdkConnectedOverlay=c.first)}},inputs:{originalHref:"originalHref",href:"href"},features:[qg],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&&(Ng(),E(0,"a",0,1),K("click",function(d){qBa(d)||(d.preventDefault(),d.stopPropagation(),R6b(b)?
b.opened=!b.opened:dEa(b,d))}),P(2,cEa,2,0,"b-glue",2),E(3,"span",null,3),Og(5),F()(),P(6,gEa,6,3,"ng-template",4));if(a&2){var c=O(1);Fg("needs-user-confirm",R6b(b));D("href",b.originalHref,Ie)("rel",b.EXTERNAL_LINK_REL);z(2);D("ngIf",R6b(b));z(4);D("cdkConnectedOverlayPush",!0)("cdkConnectedOverlayOrigin",c)("cdkConnectedOverlayOpen",b.opened)}},dependencies:[yw,Kz,Jz,xO,zO,jB,tA,NC],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 GO=function(a){this.codefont$=a.codeFont$};GO.\u0275fac=function(a){return new (a||GO)(n(ZI))};GO.\u0275prov=Vc({token:GO,factory:GO.\u0275fac,providedIn:"root"});var S6b=["child"],HO=function(a){this.codefont=a};HO.prototype.ngOnInit=function(){};HO.prototype.ngOnChanges=function(){oBa(this.child.nativeElement,this.content.content)};HO.\u0275fac=function(a){return new (a||HO)(A(GO))};
HO.\u0275cmp=p({type:HO,selectors:[["b-literal-format-presenter"]],viewQuery:function(a,b){a&1&&ih(S6b,7);if(a&2){var c;hh(c=kh())&&(b.child=c.first)}},inputs:{content:"content"},features:[Hd],decls:3,vars:4,consts:[[1,"type-m","child"],["child",""]],template:function(a,b){a&1&&(E(0,"div",0,1),U(2,"async"),F());a&2&&Fg("codefont",V(2,2,b.codefont.codefont$))},dependencies:[Ew],styles:[".child[_ngcontent-%COMP%] { white-space: pre-wrap; }"],changeDetection:0});var IO=function(a,b){this.session=a;this.userPreferencesManager=b;this.textDisplayPreferences$=this.userPreferencesManager.preferences$.pipe(B(function(c){return c.textDisplayPreferences?c.textDisplayPreferences:{}}),Qf());this.textDisplayPreferences$.pipe(B(function(c){return c.lastPublishMode===YTb}),Qf());this.commentDisplayOverride$=this.textDisplayPreferences$.pipe(B(function(c){return c.commentDisplayOverride}),Qf())};IO.\u0275fac=function(a){return new (a||IO)(n(Vt),n(ZI))};
IO.\u0275prov=Vc({token:IO,factory:IO.\u0275fac,providedIn:"root"});var JO=function(){this.isMentioningMe=!1};JO.prototype.ngOnInit=function(){this.username=this.email.replace(/@google.com$/,"")};JO.\u0275fac=function(a){return new (a||JO)};
JO.\u0275cmp=p({type:JO,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&&(E(0,"span",0,1),Q(2),F(),E(3,"onedev-hovercard",null,2),H(5,"b-issue-person-card",3),F());if(a&2){var c=O(4);Fg("me",b.isMentioningMe);D("onedevHovercardTrigger",c);z(2);R("@",b.username,"");z(3);D("email",b.email)}},dependencies:[SK,iK,nK],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 KO=function(a){Y.call(this,a)};W(KO,Y);KO.prototype.getUrl=function(){return Dk(this,1)};KO.prototype.setUrl=function(a){return k(this,1,a)};KO.prototype.hasUrl=function(){return Am(this,1)};KO.messageId="b.ImageRedirectRequest";var LO=function(a){Y.call(this,a)};W(LO,Y);LO.prototype.getUrl=function(){return Dk(this,1)};LO.prototype.setUrl=function(a){return k(this,1,a)};LO.prototype.hasUrl=function(){return Am(this,1)};LO.messageId="b.ImageRedirectResponse";var MO=function(a){this.executor=a},T6b=function(a,b){var c=new KO;c.setUrl(b);return a.executor.post({url:"action/imageRedirect",body:c,responseConstructor:LO}).pipe(B(function(d){return d.getUrl()}))};MO.\u0275fac=function(a){return new (a||MO)(n(KD))};MO.\u0275prov=Vc({token:MO,factory:MO.\u0275fac,providedIn:"root"});var NO=function(a){var b=this;this.imageRedirector=a;this.src$=new C.BehaviorSubject("");this.showImage$=new C.BehaviorSubject(!1);this.error$=new C.BehaviorSubject(!1);this.srcTruncated$=this.src$.pipe(B(function(c){var d=c;d=void 0===d?"":d;var e=void 0===e?48:e;c=[].concat(r(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,C.combineLatest)([this.src$,this.showImage$]).pipe(Gf(function(c){c=m(c);c.next();return c.next().value}),cg(function(c){var d=m(c).next().value;return(c=Bsa(d))?(0,C.of)(c):T6b(b.imageRedirector,d).pipe(Lf(function(){b.error$.next(!0);return d}))}))};NO.prototype.trigger=function(a){a.preventDefault();a.stopPropagation();this.showImage$.next(!0)};
Xi.Object.defineProperties(NO.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}}});NO.\u0275fac=function(a){return new (a||NO)(A(MO))};
NO.\u0275cmp=p({type:NO,selectors:[["b-secure-image-widget"]],inputs:{showByDefault:"showByDefault",src:"src",alt:"alt"},decls:6,vars:4,consts:[[4,"ngIf","ngIfElse"],["widget",""],["error",""],[3,"src"],["tabindex","0",1,"normal-link",3,"href","title","click","keydown.enter"],["svgIcon","image",1,"icon-s"],["svgIcon","broken-image",1,"icon-l",3,"matTooltip"]],template:function(a,b){a&1&&(P(0,iEa,3,4,"ng-container",0),U(1,"async"),P(2,jEa,8,9,"ng-template",null,1,qh),P(4,kEa,2,3,"ng-template",null,
2,qh));if(a&2){var c=O(5);D("ngIf",!1===V(1,2,b.error$))("ngIfElse",c)}},dependencies:[yw,jB,NC,zO,Ew],styles:["a[_ngcontent-%COMP%]{word-break:break-all;margin:0 2px}a[_ngcontent-%COMP%]:hover{text-decoration:underline}mat-icon[_ngcontent-%COMP%]{vertical-align:middle;line-height:18px;margin-top:-3px;margin-right:1px}img[_ngcontent-%COMP%]{max-width:100%}\n/*# sourceMappingURL=secure_image.css.map */"],changeDetection:0});var U6b={HIDE:"HIDE",COLLAPSE:"COLLAPSE",SHOW:"SHOW"},OO=function(a,b){var c=this;this.activeSession=a;this.userPreferencesManager=b;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.DisplayMode=U6b;this.src$=new C.BehaviorSubject("");this.isMarkdownImage$=new C.BehaviorSubject(!1);this.displayMode$=(0,C.combineLatest)([this.src$,this.userPreferencesManager.showInlineImages$,this.isMarkdownImage$]).pipe(B(function(d){var e=m(d);d=e.next().value;var f=e.next().value;e=e.next().value;return d&&
DE(c.activeSession,"enableImageSummary")&&c.activeSession.isInternalSession()?!f&&e?"COLLAPSE":f?"SHOW":"HIDE":"HIDE"}),bg("HIDE"))};Xi.Object.defineProperties(OO.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}}});OO.\u0275fac=function(a){return new (a||OO)(A(Vt),A(ZI))};
OO.\u0275cmp=p({type:OO,selectors:[["b-snipit-image"]],inputs:{src:"src",isMarkdownImage:"isMarkdownImage",alt:"alt"},decls:2,vars:3,consts:[[4,"ngIf"],[3,"ngSwitch"],[4,"ngSwitchCase"],[3,"src","alt","showByDefault",4,"ngSwitchCase"],["target","_blank",3,"href","rel"],[1,"thumbnail",3,"src","alt","showByDefault"],[3,"src","alt","showByDefault"]],template:function(a,b){a&1&&(P(0,nEa,5,5,"ng-container",0),U(1,"async"));a&2&&D("ngIf",V(1,1,b.src$))},dependencies:[yw,zw,Aw,NO,Ew],styles:["[_nghost-%COMP%]   b-secure-image-widget.thumbnail[_ngcontent-%COMP%]{display:inline-block;margin-top:8px;margin-bottom:8px;max-width:70%}[_nghost-%COMP%]   b-secure-image-widget.thumbnail[_ngcontent-%COMP%]     img{border:2px solid;border-color:#e8eaed;border-color:var(--c200);border-radius:8px;min-width:18px;min-height:18px;max-width:100%;max-height:350px}\n/*# sourceMappingURL=snipit_image.css.map */"],
changeDetection:0});var V6b=Symbol(),W6b=Symbol(),X6b=Symbol(),Y6b=Symbol(),Z6b=Symbol(),$6b=Symbol(),PO=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=[]},c7b=function(a,b,c){for(var d=b.querySelectorAll("*"),e=0;e<d.length;e++){var f=d[e],h=f.dataset.bId;h&&(f.id=h)}d=m(b.querySelectorAll("a"));for(e=d.next();!e.done;e=
d.next())if(e=e.value,(h=e.getAttribute("href"))&&xsa(h)&&e&&pBa(e)&&h===e.textContent&&(f=e.nextSibling,a7b(a,e,h,void 0,c),h=void 0,null!=(h=f)&&h.textContent&&(h=f.textContent.match(/(^[^\w]+)/))))h=h[1],f.textContent=f.textContent.substring(h.length),f=document.createElement("span"),f.textContent=h,e.insertAdjacentElement("afterend",f);d=b.querySelectorAll("*[data-b-widget]");for(e=0;e<d.length;e++)switch(f=d[e],f.dataset.bWidget){case "image":h=a;var l=c,q=f.dataset.bImgSrc,u=f.dataset.bImgRedirectedSrc;
oEa(f);if(q){var x=f.dataset.bImgAlt;if(xsa(q))a7b(h,f,q,x,l,!0);else if(DE(h.flags.session,"enableMarkdownInlineImages"))f=h.createComponent(NO,f,l),l=f.instance,l.src=q,x&&(l.alt=x),h.secureImageRefs.push(f);else{var y=document.createElement("a");x?y.appendChild(document.createTextNode(x)):y.appendChild(document.createTextNode(q));f.appendChild(y);b7b(h,y,q,u||q,l)}}break;case "checkbox":h=a;x=c;q=null!=f.dataset.bCheckboxChecked;oEa(f);f=h.createComponent(EO,f,x);f.instance.checked=q;h.checkboxRefs.push(f);
break;case "url":h=a;q=c;x=f.dataset.bOriginalHref;l=f.dataset.bRedirectedHref;x&&l&&(f.removeAttribute("href"),b7b(h,f,x,l,q));break;case "broken-url":h=a;l=c;if(x=f.dataset.bOriginalHref){q=Array.from(f.childNodes);f=h.createComponent(AO,f,l);l=f.instance;l.originalHref=x;x=l.getNgContentParentEl();q=m(q);for(l=q.next();!l.done;l=q.next())x.appendChild(l.value);h.brokenLinkRefs.push(f)}break;case "mention":a.session.isInternalSession()&&(x=void 0,h=a,l=c,q="","@"===(null==(x=f.textContent)?void 0:
x[0])&&(q=f.textContent.slice(1)),oEa(f),f=h.createComponent(JO,f,l),x=f.instance,x.email=q,x.isMentioningMe=h.session.getUserEmail()===q,h.mentionChipRefs.push(f));break;case "issue-reference":y=void 0;h=a;var G=c;q=f.href;x=f.dataset.bIssueId;l=f.dataset.bCommentNumber;if(q&&x){u=Number(l);l=Array.from(f.childNodes);var L=document.createElement("span");null==(y=f.parentNode)||y.insertBefore(L,f);y=h.createComponent(rM,L,G);G=y.instance;G.href=q;G.issueId=x;G.commentNumber=u;q=G.el.nativeElement;
x=m(l);for(l=x.next();!l.done;l=x.next())q.appendChild(l.value);f.remove();h.issueReferenceRefs.push(y)}}a=b.querySelectorAll("a");for(c=0;c<a.length;c++)d=a[c],d.getAttribute("target")||d.setAttribute("target","_self");b=b.querySelectorAll("table");for(a=0;a<b.length;a++)c=b[a],c.parentNode&&(d=document.createElement("div"),d.classList.add("table-overflow"),c.parentNode.insertBefore(d,c),d.appendChild(c))};PO.prototype.ngOnDestroy=function(){d7b(this)};
var a7b=function(a,b,c,d,e,f){f=void 0===f?!1:f;var h=b;b instanceof HTMLAnchorElement&&(h=document.createElement("span"),b.insertAdjacentElement("afterend",h));b=a.createComponent(OO,h,e);e=b.instance;e.src=c;e.alt=d;e.isMarkdownImage=f;a.snipItImageRefs.push(b)},b7b=function(a,b,c,d,e){var f=Array.from(b.childNodes);b=a.createComponent(FO,b,e);e=b.instance;e.originalHref=c;e.href=d;c=e.getNgContentParentEl();f=m(f);for(d=f.next();!d.done;d=f.next())c.appendChild(d.value);a.externalHyperlinkRefs.push(b)};
PO.prototype.createComponent=function(a,b,c){c={environmentInjector:this.appRef.injector,elementInjector:c.injector};a=a[nd]||null;var d=c.elementInjector||Ad();c=(new th(a)).create(d,c.projectableNodes,c.hostElement,c.environmentInjector);b.appendChild(c.location.nativeElement);MGb(this.appRef,c.hostView);this.allComponentRefs.push(c);return c};
var d7b=function(a){for(var b=m(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=[]};PO.prototype[V6b]=function(){return this.secureImageRefs.slice()};PO.prototype[W6b]=function(){return this.snipItImageRefs.slice()};PO.prototype[X6b]=function(){return this.checkboxRefs.slice()};PO.prototype[Y6b]=function(){return this.externalHyperlinkRefs.slice()};
PO.prototype[Z6b]=function(){return this.brokenLinkRefs.slice()};PO.prototype[$6b]=function(){return this.issueReferenceRefs.slice()};PO.\u0275fac=function(a){return new (a||PO)(n(ow),n(IO),n(Vt))};PO.\u0275prov=Vc({token:PO,factory:PO.\u0275fac});var e7b=["child"],f7b=Symbol(),QO=function(a,b,c){this.dynamicComponents=a;this.codefont=b;this.viewContainerRef=c};QO.prototype.ngOnInit=function(){};QO.prototype.ngOnChanges=function(){d7b(this.dynamicComponents);var a=this.child.nativeElement;oBa(a,this.content.content);c7b(this.dynamicComponents,a,this.viewContainerRef)};QO.prototype.ngOnDestroy=function(){d7b(this.dynamicComponents)};QO.prototype[f7b]=function(){return this.dynamicComponents};
QO.\u0275fac=function(a){return new (a||QO)(A(PO,2),A(GO),A(fh))};
QO.\u0275cmp=p({type:QO,selectors:[["b-markdown-format-presenter"]],viewQuery:function(a,b){a&1&&ih(e7b,7);if(a&2){var c;hh(c=kh())&&(b.child=c.first)}},inputs:{content:"content"},features:[Ug([{provide:PO,useClass:PO}]),Hd],decls:3,vars:4,consts:[[1,"type-m","markdown-display"],["child",""]],template:function(a,b){a&1&&(E(0,"div",0,1),U(2,"async"),F());a&2&&Fg("codefont",V(2,2,b.codefont.codefont$))},dependencies:[Ew],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 g7b=["child"],h7b=function(){return"[_nghost-%COMP%]     a:visited{color:#7627bb;color:var(--link-visited)}"},RO=function(a){this.codefont=a};RO.prototype.ngOnInit=function(){};RO.\u0275fac=function(a){return new (a||RO)(A(GO))};
RO.\u0275cmp=p({type:RO,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&&(E(0,"div",0),U(1,"async"),P(2,pEa,2,1,"ng-container",1),F());a&2&&(Fg("codefont",V(1,3,b.codefont.codefont$)),z(2),D("ngForOf",b.content.plainSection))},dependencies:function(){return[xw,SO,Ew]},styles:[h7b()],changeDetection:0});var SO=function(){};SO.prototype.ngOnInit=function(){};
SO.\u0275fac=function(a){return new (a||SO)};SO.\u0275cmp=p({type:SO,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&&(I(0),P(1,qEa,1,1,"b-plain-format-quoted-section",0),P(2,rEa,1,1,"b-plain-format-unquoted-section",0),J());a&2&&(z(1),D("ngIf",b.section.isQuoted),z(1),D("ngIf",!b.section.isQuoted))},dependencies:function(){return[yw,TO,UO]},encapsulation:2,changeDetection:0});
var TO=function(){this.showQuote=!1;i7b++;this.childId="plainFormatQuotedSection"+i7b};TO.prototype.ngOnInit=function(){};TO.prototype.ngOnChanges=function(){sEa(this)};var sEa=function(a){var b=a.child.nativeElement;a.showQuote?oBa(b,a.section.content):nBa(b)};TO.\u0275fac=function(a){return new (a||TO)};
TO.\u0275cmp=p({type:TO,selectors:[["b-plain-format-quoted-section"]],viewQuery:function(a,b){a&1&&ih(g7b,7);if(a&2){var c;hh(c=kh())&&(b.child=c.first)}},inputs:{section:"section"},features:[Hd],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&&(E(0,"div"),P(1,tEa,2,1,"a",0),P(2,uEa,2,1,"a",1),H(3,"div",2,3),F());a&2&&(z(1),D("ngIf",!b.showQuote),z(1),D("ngIf",b.showQuote),z(1),D("id",b.childId))},dependencies:[yw],styles:[h7b()],changeDetection:0});var i7b=0,UO=function(a,b){this.dynamicComponents=a;this.viewContainerRef=b};UO.prototype.ngOnInit=function(){};
UO.prototype.ngOnChanges=function(){d7b(this.dynamicComponents);var a=this.child.nativeElement;oBa(a,this.section.content);c7b(this.dynamicComponents,a,this.viewContainerRef)};UO.\u0275fac=function(a){return new (a||UO)(A(PO,2),A(fh))};
UO.\u0275cmp=p({type:UO,selectors:[["b-plain-format-unquoted-section"]],viewQuery:function(a,b){a&1&&ih(g7b,7);if(a&2){var c;hh(c=kh())&&(b.child=c.first)}},inputs:{section:"section"},features:[Ug([{provide:PO,useClass:PO}]),Hd],decls:2,vars:0,consts:[[1,"child"],["child",""]],template:function(a){a&1&&H(0,"div",0,1)},encapsulation:2,changeDetection:0});var VO=function(){};VO.prototype.ngOnInit=function(){};VO.\u0275fac=function(a){return new (a||VO)};
VO.\u0275cmp=p({type:VO,selectors:[["b-formatted-comment-presenter"]],inputs:{formattedComment:"formattedComment"},decls:3,vars:3,consts:[[4,"ngIf"],[3,"content"]],template:function(a,b){a&1&&(P(0,vEa,2,1,"ng-container",0),P(1,wEa,2,1,"ng-container",0),P(2,xEa,2,1,"ng-container",0));a&2&&(D("ngIf",b.formattedComment.literalFormat),z(1),D("ngIf",b.formattedComment.markdownFormat),z(1),D("ngIf",b.formattedComment.plainFormat))},dependencies:[yw,HO,QO,RO],encapsulation:2,changeDetection:0});var WO=function(a){Y.call(this,a)};W(WO,Y);g=WO.prototype;g.getFormattingMode=function(){return tk(this,1,0)};g.setFormattingMode=function(a){return k(this,1,a)};g.getSource=function(){return Dk(this,2)};g.setSource=function(a){return k(this,2,a)};g.hasSource=function(){return Am(this,2)};g.getSourceOrUndefined=function(){return yu(this,2)};g.getIssueId=function(){return ol(this,3)};g.setIssueId=function(a){return k(this,3,a)};g.getIdPrefix=function(){return Dk(this,4)};
g.setIdPrefix=function(a){return k(this,4,a)};g.setCurrentTrackerId=function(a){k(this,7,a)};WO.messageId="b.FormatCommentRequest";var XO=function(a){Y.call(this,a,-1,j7b)};W(XO,Y);XO.prototype.getFormattedComment=function(){return Ok(this,Il,1)};XO.prototype.hasFormattedComment=function(){return Hl(this,Il,1)};XO.prototype.getMentionsList=function(){return yj(this,rE,2)};var j7b=[2];XO.messageId="b.FormatCommentResponse";var YO=function(a,b){this.executor=a;this.currentTrackerId=b};YO.prototype.format=function(a){return"LITERAL"===a.formattingMode||""===a.comment.trim()?yEa(a):k7b(this,a).pipe(B(function(b){return b.hasFormattedComment()?Noa(b.getFormattedComment()):{}}))};
var l7b=function(a,b){if("LITERAL"===b.formattingMode||""===b.comment.trim())return(0,C.of)([]);var c=new WO;c.setSource(b.comment);var d;c.setIssueId(null!=(d=hk(b.issueId))?d:0);k(c,6,uSb[b.audience]);c.setFormattingMode(um(b.formattingMode));c.setIdPrefix(b.idPrefix);return k7b(a,b).pipe(B(function(e){return e.getMentionsList().map(function(f){return ck(f.getMentionedUser())||""})}))},k7b=function(a,b){var c,d=(new WO).setSource(b.comment).setIssueId(null!=(c=hk(b.issueId))?c:0);b=k(d,6,uSb[b.audience]).setFormattingMode(um(b.formattingMode)).setIdPrefix(b.idPrefix);
(c=a.currentTrackerId.getTrackerId())&&b.setCurrentTrackerId(c);return a.executor.post({url:"action/formatComment",body:b,responseConstructor:XO})};YO.\u0275fac=function(a){return new (a||YO)(n(KD),n(FE))};YO.\u0275prov=Vc({token:YO,factory:YO.\u0275fac,providedIn:"root"});var ZO=function(a){Z.call(this);var b=this;this.formatter=a;this.issueId="";this.audience="EXTERNAL_AUDIENCE";this.formattingMode="LITERAL";this.params$=new C.ReplaySubject(1);this.formattedResult$=this.params$.pipe(Nf(200),cg(function(c){return b.formatter.format(c).pipe(m7b,Lf(function(){var d={literalFormat:{content:km(ji(c.comment))}};return(0,C.of)({formattedComment:d,isFallback:!0})}))}))};W(ZO,Z);ZO.\u0275dir=Z.\u0275dir;
ZO.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()})}))};ZO.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()})};
ZO.prototype.getIdPrefix=function(){return this.idPrefix||"b"+this.issueId+"-draft"};ZO.\u0275fac=function(a){return new (a||ZO)(A(YO))};
ZO.\u0275cmp=p({type:ZO,selectors:[["b-live-preview"]],inputs:{comment:"comment",comment$:"comment$",issueId:"issueId",audience:"audience",formattingMode:"formattingMode",idPrefix:"idPrefix"},features:[qg,Hd],decls:2,vars:3,consts:[[4,"ngIf"],[1,"md-preview"],[3,"formattedComment"]],template:function(a,b){a&1&&(P(0,zEa,3,5,"ng-container",0),U(1,"async"));a&2&&D("ngIf",V(1,1,b.formattedResult$))},dependencies:[yw,VO,Ew],styles:["[_nghost-%COMP%]{display:block}.md-preview[_ngcontent-%COMP%]{min-height:32px;margin-top:16px}.md-preview[_ngcontent-%COMP%]{box-sizing:border-box;padding:8px;background-color:#f8f9fa;background-color:var(--c50);border-radius:4px}.md-preview.error[_ngcontent-%COMP%]{background-color:#fef4f3;background-color:var(--bad-bg-pale);box-shadow:inset 0 0 0 1px #ea4335;box-shadow:inset 0 0 0 1px var(--bad)}[_nghost-%COMP%]     .markdown-display pre, [_nghost-%COMP%]     .markdown-display code{background-color:#f1f3f4;background-color:var(--c100)}.bv2-note-container-note   [_nghost-%COMP%]   .md-preview[_ngcontent-%COMP%]{min-height:0;margin-top:0;padding:0;background-color:rgba(0,0,0,0)}\n/*# sourceMappingURL=live_preview.css.map */"],
changeDetection:0});var m7b=B(function(a){return{formattedComment:a,isFallback:!1}});var $O=function(a,b,c){Z.call(this);var d=this;this.prefs=a;this.flags=b;this.links=c;this.change=new Rv;this.checkedSubject=new C.BehaviorSubject(!1);this.mdHelpLink=this.links.session.isInternalSession()?"http://go/buganizer-markdown-quickstart":"https://commonmark.org/help/";this.flags.textDisplayPreferences$.pipe(dg(this.destroyed$)).subscribe(function(e){d.currentTextDisplayPreferences=e});this.flags.commentDisplayOverride$.pipe(dg(this.destroyed$)).subscribe(function(e){d.currentCommentDisplayOverride=
e})};W($O,Z);$O.\u0275dir=Z.\u0275dir;$O.prototype.ngOnInit=function(){this.checkedSubject.next("MARKDOWN"===this.initialValue)};$O.prototype.ngOnChanges=function(){null!=this.initialValue&&this.checkedSubject.next("MARKDOWN"===this.initialValue)};$O.prototype.save=function(a){a=Object.assign({},this.currentTextDisplayPreferences,a);this.prefs.save({textDisplayPreferences:a}).pipe(dg(this.destroyed$)).subscribe()};$O.\u0275fac=function(a){return new (a||$O)(A(ZI),A(IO),A(SI))};
$O.\u0275cmp=p({type:$O,selectors:[["b-markdown-toggle"]],inputs:{initialValue:"initialValue"},outputs:{change:"change"},features:[qg,Hd],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&&(E(0,"mat-checkbox",0),K("change",function(d){var e=b.currentCommentDisplayOverride;d=d.checked?YTb:e?e:ZTb;b.save({lastPublishMode:d});b.change.emit(Dm(d))}),U(1,"async"),Q(2," Markdown "),F(),P(3,AEa,2,2,"a",1));if(a&2){var c;D("checked",null!==(c=V(1,2,b.checkedSubject))&&void 0!==c?c:!1);z(3);D("ngIf",b.mdHelpLink)}},dependencies:[DO,yw,jB,uA,NC,Ew],
encapsulation:2,changeDetection:0});var aP=function(a,b){Z.call(this);var c=this;this.appEvents=b;this.init=new Rv;this.FormattingMode=vSb;a.textDisplayPreferencesSubject$.pipe(dg(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:jj(d.commentDisplayOverride)}})};
W(aP,Z);aP.\u0275dir=Z.\u0275dir;aP.prototype.ngOnInit=function(){};aP.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)};aP.prototype.ngAfterViewInit=function(){this.appEvents.commentRendered.next([this.issueId,this.note.commentNumber]);this.init.next(this)};
aP.\u0275fac=function(a){return new (a||aP)(A(ZI),A(cG))};
aP.\u0275cmp=p({type:aP,selectors:[["b-note-container"]],inputs:{note:"note",issueAccessLevel:"issueAccessLevel",formattingMode:"formattingMode",issueId:"issueId"},outputs:{init:"init"},features:[qg,Hd],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&&(E(0,"div",0)(1,"div",1),P(2,
BEa,1,1,"b-formatted-comment-presenter",2),F()(),P(3,CEa,1,5,"ng-template",null,3,qh));if(a&2){var c=O(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;D("ngIf",a)("ngIfElse",c)}},dependencies:[yw,VO,ZO],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 bP=function(){};bP.\u0275fac=function(a){return new (a||bP)};bP.\u0275mod=od({type:bP});bP.\u0275inj=Wc({imports:[Mw,JN,VN]});var cP=function(){this.segments=[];this.clickMain=new Rv;this.clickSegment=new Rv};cP.prototype.ngOnInit=function(){};Xi.Object.defineProperties(cP.prototype,{showMoreButton:{configurable:!0,enumerable:!0,get:function(){return 0<this.segments.length}}});cP.\u0275fac=function(a){return new (a||cP)};
cP.\u0275cmp=p({type:cP,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&&(E(0,"span",0)(1,"a",1),K("click",function(){return b.clickMain.emit(b.label)}),H(2,"mat-icon",2),Q(3),F(),P(4,EEa,6,2,"ng-container",3),F());a&2&&(z(1),Fg("square-right",b.showMoreButton),ug("href",b.href||void 0,Ie),z(1),D("svgIcon",b.icon),z(1),R(" ",b.label," "),z(1),D("ngIf",b.showMoreButton))},dependencies:[xw,yw,tA,uA,FC,DC,EC,jB],styles:['[mat-button][_ngcontent-%COMP%]{vertical-align:middle;color:#202124;color:var(--text-default);font-family:"Google Sans",Roboto,Arial,sans-serif;font-size:.875rem;letter-spacing:.0107142857em;font-weight:500}.shrink-wrap[_ngcontent-%COMP%]{display:inline-block;border-radius:24px;white-space:nowrap;transition:box-shadow .2s ease-in-out;background-color:#fff;background-color:var(--fab-button-bg);box-shadow:0px 1px 2px 0px rgba(0, 0, 0, 0.3), 0px 1px 3px 1px rgba(0, 0, 0, 0.15)}.shrink-wrap[_ngcontent-%COMP%]:hover{box-shadow:0px 1px 3px 0px rgba(0, 0, 0, 0.3), 0px 4px 8px 3px rgba(0, 0, 0, 0.15)}.mat-button[_ngcontent-%COMP%]{border-radius:24px}.main[_ngcontent-%COMP%]{padding-left:10px;padding-right:24px}.main.square-right[_ngcontent-%COMP%]{padding-right:8px}.more[_ngcontent-%COMP%]{padding-right:10px;padding-left:4px;min-width:0;color:#80868b;color:var(--gfx-muted)}.more[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{line-height:24px}.more[_ngcontent-%COMP%]:hover, .more[_ngcontent-%COMP%]:focus{color:#202124;color:var(--text-default)}.more[_ngcontent-%COMP%]{transition:border .2s ease-in-out;border-left:1px solid rgba(0,0,0,0)}.shrink-wrap[_ngcontent-%COMP%]:hover   .more[_ngcontent-%COMP%]{border-left:1px solid;border-left-color:#dadce0;border-left-color:var(--divider)}\n/*# sourceMappingURL=fab_segmented.css.map */']});var n7b=[cP],dP=function(){};dP.\u0275fac=function(a){return new (a||dP)};dP.\u0275mod=od({type:dP});dP.\u0275inj=Wc({imports:[Mw,YC,GC,OC,ID]});var eP=function(){};eP.prototype.onPressBack=function(){var a;null==(a=window.history)||a.back()};eP.\u0275fac=function(a){return new (a||eP)};
eP.\u0275cmp=p({type:eP,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&&(E(0,"section",0)(1,"button",1),K("click",function(){return b.onPressBack()}),H(2,"mat-icon",2),F()())},dependencies:[tA,jB,NC],styles:[".button-bar[_ngcontent-%COMP%] {\n      height: 46px;\n      box-sizing: border-box;\n    }"]});var fP=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 Rv;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=Nu(function(e){d.widthChanged.emit(e);d.events.sidebarWidthChanged.next(e)},400);this.trackKeyboardResizing=Nu(function(){So(Mp.SIDEBAR,"resizeKeyboard")},2E3)};fP.prototype.ngOnInit=function(){var a=this;this.ngZone.runOutsideAngular(function(){document.addEventListener("mousemove",a.onMousemove)});document.addEventListener("mouseup",this.onMouseup,!0)};
fP.prototype.ngOnDestroy=function(){document.removeEventListener("mousemove",this.onMousemove);document.removeEventListener("mouseup",this.onMouseup,!0)};var o7b=function(a,b){var c=a.width+b;c<a.minSnapWidth&&(c=0>b?0:a.minSnapWidth);a.setWidth(c);a.trackKeyboardResizing()};fP.prototype.toggle=function(){this.setWidth(this.isClosed?this.lastOpenPosition:0)};
fP.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)};
Xi.Object.defineProperties(fP.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}}});fP.\u0275fac=function(a){return new (a||fP)(A(sH,2),A(cG),A(hg))};
fP.\u0275cmp=p({type:fP,selectors:[["b-resizable-sidebar"]],hostVars:2,hostBindings:function(a,b){a&2&&Gg(b.direction)},inputs:{minWidth:"minWidth",disableToggleBtn:"disableToggleBtn",hideToggleBtnOnOpen:"hideToggleBtnOnOpen",direction:"direction",size:"size"},outputs:{widthChanged:"widthChanged"},features:[Ug([sH])],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&&(Ng(),E(0,"div",0)(1,"div",1),Og(2),F(),E(3,"div",2),K("mousedown",function(c){return b.startDragging(c.pageX)})("keyup.arrowleft",
function(){return o7b(b,-10)})("keyup.arrowright",function(){return o7b(b,10)})("keyup.space",function(){return b.toggle()})("keyup.enter",function(){return b.toggle()})("dblclick",function(){return b.toggle()}),F()(),P(4,FEa,2,6,"button",3));a&2&&(Eg("width",b.width+"px"),Fg("isDragging",b.isDragging)("isClosed",b.isClosed),D("ngClass",b.direction),z(1),Eg("width",b.lastOpenPosition+"px"),z(2),ug("aria-valuenow",b.width)("aria-valuetext",b.width+" pixels"),z(1),D("ngIf",!b.disableToggleBtn&&!(b.hideToggleBtnOnOpen&&
!b.isClosed)))},dependencies:[ww,yw,tA,jB,NC,rz],styles:['[_nghost-%COMP%]{position:relative}.inner[_ngcontent-%COMP%]{height:100%;overflow-y:auto;overflow-x:hidden;transition:width .2s cubic-bezier(0.165, 0.84, 0.44, 1);display:flex;flex-direction:column}.inner.ltr[_ngcontent-%COMP%]{border-right:1px solid;border-color:#dadce0;border-color:var(--divider)}.inner.rtl[_ngcontent-%COMP%]{border-left:1px solid;border-color:#dadce0;border-color:var(--divider)}.inner.isDragging[_ngcontent-%COMP%]{transition:none}.content[_ngcontent-%COMP%]{position:relative;flex:1;opacity:1;transition:opacity .1s ease-in-out;transition-delay:.1s}.isClosed[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]{display:none;opacity:0;transition-delay:0s}.isDragging[_ngcontent-%COMP%]{user-select:none}.resizeHandle[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;width:8px;cursor:col-resize}.ltr[_ngcontent-%COMP%]   .resizeHandle[_ngcontent-%COMP%]{right:0}.rtl[_ngcontent-%COMP%]   .resizeHandle[_ngcontent-%COMP%]{left:0}.toggleButton[_ngcontent-%COMP%]{position:absolute;bottom:0;top:0;margin:auto}.toggleButton.ltr[_ngcontent-%COMP%]{right:2px}.toggleButton.rtl[_ngcontent-%COMP%]{left:2px}.toggleButton.isClosed[_ngcontent-%COMP%]{z-index:2}.toggleButton.isClosed.ltr[_ngcontent-%COMP%]{right:6px}.toggleButton.isClosed.rtl[_ngcontent-%COMP%]{left:6px}.toggleButton[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{transition:transform .2s ease-in-out}.toggleButton.isClosed[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{transform:rotateZ(180deg)}.resizeHandle[_ngcontent-%COMP%]:hover, .resizeHandle[_ngcontent-%COMP%]:focus, .isDragging[_ngcontent-%COMP%]   .resizeHandle[_ngcontent-%COMP%]{background:url("https://www.gstatic.com/buganizer/img/v0/grippy_large.png") no-repeat 1px 50%;background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}\n/*# sourceMappingURL=resizable_sidebar.css.map */'],
changeDetection:0});var p7b=new Bd("intersectionObserverFactory",{factory:function(){return function(a,b){return new IntersectionObserver(a,b)}}}),q7b=new Bd("isScrolledOnScreen",{factory:function(){return{fully:GEa,partially:HEa}}}),gP=function(a,b){this.intersectionObserverBuilder=a;this.isScrolledOnScreen=b};gP.prototype.getObservable=function(a,b){b=void 0===b?!1:b;return null!=window.IntersectionObserver?IEa(a,this.intersectionObserverBuilder,this.isScrolledOnScreen,b):JEa(a,this.isScrolledOnScreen,b)};
var r7b=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(Wf(function(f,h){return{cumulativeTime:f.cumulativeTime+(f.wasPreviouslyOnScreen?Date.now()-f.lastTimestamp:0),wasPreviouslyOnScreen:h,lastTimestamp:Date.now()}},d),cg(function(f){if(0===e&&f.wasPreviouslyOnScreen)return(0,C.of)(void 0);
var h=e-f.cumulativeTime;return 0>h?(0,C.of)(void 0):f.wasPreviouslyOnScreen?(0,C.of)(void 0).pipe(Pf(h)):C.NEVER}),B(function(){}),Rf())};gP.\u0275fac=function(a){return new (a||gP)(n(p7b),n(q7b))};gP.\u0275prov=Vc({token:gP,factory:gP.\u0275fac,providedIn:"root"});[].concat(r(n7b),[fP,zO]);var hP=function(){};hP.\u0275fac=function(a){return new (a||hP)};hP.\u0275mod=od({type:hP});hP.\u0275inj=Wc({imports:[Mw,YC,OC,ID,xz,dP]});var iP=function(){};iP.\u0275fac=function(a){return new (a||iP)};iP.\u0275mod=od({type:iP});iP.\u0275inj=Wc({imports:[Zz,Mz,Sy,CO,Mz,CO]});var s7b=ri("transformPanelWrap",[vi("* => void",xi("@transformPanel",[wi()]))]),t7b=ri("transformPanel",[ui("void",ti({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),ui("showing",ti({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),ui("showing-multiple",ti({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),vi("void => *",si("120ms cubic-bezier(0, 0, 0.2, 1)")),vi("* => void",si("100ms 25ms linear",ti({opacity:0})))]);var u7b=["trigger"],v7b=["panel"],w7b=0,x7b=new Bd("mat-select-scroll-strategy"),y7b=new Bd("MAT_SELECT_CONFIG"),z7b={provide:x7b,deps:[Iz],useFactory:function(a){return function(){return a.scrollStrategies.reposition()}}},A7b=new Bd("MatSelectTrigger"),B7b=Zi(aj($i(ima(function(a,b,c,d,e){this._elementRef=a;this._defaultErrorStateMatcher=b;this._parentForm=c;this._parentFormGroup=d;this.ngControl=e;this.stateChanges=new C.Subject})))),jP=function(a,b,c,d,e,f,h,l,q,u,x,y,G,L){var M=B7b.call(this,
e,d,h,l,u)||this;M._viewportRuler=a;M._changeDetectorRef=b;M._ngZone=c;M._dir=f;M._parentFormField=q;M._liveAnnouncer=G;M._defaultOptions=L;M._panelOpen=!1;M._compareWith=function(aa,na){return aa===na};M._uid="mat-select-"+w7b++;M._triggerAriaLabelledBy=null;M._destroy=new C.Subject;M._onChange=function(){};M._onTouched=function(){};M._valueId="mat-select-value-"+w7b++;M._panelDoneAnimatingStream=new C.Subject;var T;M._overlayPanelClass=(null==(T=M._defaultOptions)?void 0:T.overlayPanelClass)||"";
M._focused=!1;M.controlType="mat-select";M._multiple=!1;var S,X;M._disableOptionCentering=null!=(X=null==(S=M._defaultOptions)?void 0:S.disableOptionCentering)?X:!1;M.ariaLabel="";M.optionSelectionChanges=(0,C.defer)(function(){var aa=M.options;return aa?aa.changes.pipe(bg(aa),cg(function(){return C.merge.apply(null,r(aa.map(function(na){return na.onSelectionChange})))})):M._ngZone.onStable.pipe(Rf(),cg(function(){return M.optionSelectionChanges}))});M.openedChange=new Rv;M._openedStream=M.openedChange.pipe(Gf(function(aa){return aa}),
B(function(){}));M._closedStream=M.openedChange.pipe(Gf(function(aa){return!aa}),B(function(){}));M.selectionChange=new Rv;M.valueChange=new Rv;M.ngControl&&(M.ngControl.valueAccessor=M);null!=(null==L?void 0:L.typeaheadDebounceInterval)&&(M._typeaheadDebounceInterval=L.typeaheadDebounceInterval);M._scrollStrategyFactory=y;M._scrollStrategy=M._scrollStrategyFactory();M.tabIndex=parseInt(x)||0;M.id=M.id;return M};W(jP,B7b);g=jP.prototype;
g.ngOnInit=function(){var a=this;this._selectionModel=new sz(this.multiple);this.stateChanges.next();this._panelDoneAnimatingStream.pipe(Qf(),dg(this._destroy)).subscribe(function(){return a._panelDoneAnimating(a.panelOpen)})};
g.ngAfterContentInit=function(){var a=this;this._initKeyManager();this._selectionModel.changed.pipe(dg(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(bg(null),dg(this._destroy)).subscribe(function(){a._resetOptions();a._initializeSelection()})};
g.ngDoCheck=function(){var a=this._getTriggerAriaLabelledby(),b=this.ngControl;if(a!==this._triggerAriaLabelledBy){var c=this._elementRef.nativeElement;(this._triggerAriaLabelledBy=a)?c.setAttribute("aria-labelledby",a):c.removeAttribute("aria-labelledby")}b&&(this._previousControl!==b.control&&(void 0!==this._previousControl&&null!==b.disabled&&b.disabled!==this.disabled&&(this.disabled=b.disabled),this._previousControl=b.control),this.updateErrorState())};
g.ngOnChanges=function(a){(a.disabled||a.userAriaDescribedBy)&&this.stateChanges.next();a.typeaheadDebounceInterval&&this._keyManager&&qKb(this._keyManager,this._typeaheadDebounceInterval)};g.ngOnDestroy=function(){var a;null==(a=this._keyManager)||a.destroy();this._destroy.next();this._destroy.complete();this.stateChanges.complete()};g.toggle=function(){this.panelOpen?this.close():this.open()};
g.open=function(){this._canOpen()&&(this._panelOpen=!0,bz(this._keyManager,null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())};g.close=function(){this._panelOpen&&(this._panelOpen=!1,bz(this._keyManager,this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())};g.writeValue=function(a){this._assignValue(a)};g.registerOnChange=function(a){this._onChange=a};g.registerOnTouched=function(a){this._onTouched=a};
g.setDisabledState=function(a){this.disabled=a;this._changeDetectorRef.markForCheck();this.stateChanges.next()};g._isRtl=function(){return this._dir?"rtl"===this._dir.value:!1};g._handleKeydown=function(a){this.disabled||(this.panelOpen?this._handleOpenKeydown(a):this._handleClosedKeydown(a))};
g._handleClosedKeydown=function(a){var b=a.keyCode,c=40===b||38===b||37===b||39===b,d=this._keyManager;!(0<d._pressedLetters.length||13!==b&&32!==b||hi(a))||(this.multiple||a.altKey)&&c?(a.preventDefault(),this.open()):this.multiple||(b=this.selected,d.onKeydown(a),(a=this.selected)&&b!==a&&this._liveAnnouncer.announce(a.viewValue,1E4))};
g._handleOpenKeydown=function(a){var b=this._keyManager,c=a.keyCode,d=40===c||38===c,e=0<b._pressedLetters.length;if(d&&a.altKey)a.preventDefault(),this.close();else if(e||13!==c&&32!==c||!b.activeItem||hi(a))if(!e&&this._multiple&&65===c&&a.ctrlKey){a.preventDefault();var f=this.options.some(function(h){return!h.disabled&&!h.selected});this.options.forEach(function(h){h.disabled||(f?h.select():h.deselect())})}else c=b.activeItemIndex,b.onKeydown(a),this._multiple&&d&&a.shiftKey&&b.activeItem&&b.activeItemIndex!==
c&&b.activeItem._selectViaInteraction();else a.preventDefault(),b.activeItem._selectViaInteraction()};g._onFocus=function(){this.disabled||(this._focused=!0,this.stateChanges.next())};g._onBlur=function(){this._focused=!1;var a;null!=(a=this._keyManager)&&(a._pressedLetters=[]);this.disabled||this.panelOpen||(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())};
g._onAttached=function(){var a=this;this._overlayDir.positionChange.pipe(Rf()).subscribe(function(){a._changeDetectorRef.detectChanges();a._positioningSettled()})};g._getPanelTheme=function(){return this._parentFormField?"mat-"+this._parentFormField.color:""};g._initializeSelection=function(){var a=this;Promise.resolve().then(function(){a.ngControl&&(a._value=a.ngControl.value);a._setSelectionByValue(a._value);a.stateChanges.next()})};
g._setSelectionByValue=function(a){var b=this;this.options.forEach(function(c){return c.setInactiveStyles()});this._selectionModel.clear();this.multiple&&a?(Array.isArray(a),a.forEach(function(c){return b._selectOptionByValue(c)}),this._sortValues()):(a=this._selectOptionByValue(a))?dz(this._keyManager,a):this.panelOpen||dz(this._keyManager,-1);this._changeDetectorRef.markForCheck()};
g._selectOptionByValue=function(a){var b=this,c=this.options.find(function(d){if(b._selectionModel.isSelected(d))return!1;try{return null!=d.value&&b._compareWith(d.value,a)}catch(e){return!1}});c&&this._selectionModel.select(c);return c};g._assignValue=function(a){return a!==this._value||this._multiple&&Array.isArray(a)?(this.options&&this._setSelectionByValue(a),this._value=a,!0):!1};g._skipPredicate=function(a){return a.disabled};
g._initKeyManager=function(){var a=this;this._keyManager=nKb(pKb(rKb(cz(bz(oKb(qKb(new ez(this.options),this._typeaheadDebounceInterval)),this._isRtl()?"rtl":"ltr")))),this._skipPredicate);this._keyManager.tabOut.subscribe(function(){a.panelOpen&&(!a.multiple&&a._keyManager.activeItem&&a._keyManager.activeItem._selectViaInteraction(),a.focus(),a.close())});this._keyManager.change.subscribe(function(){a._panelOpen&&a.panel?a._scrollOptionIntoView(a._keyManager.activeItemIndex||0):a._panelOpen||a.multiple||
!a._keyManager.activeItem||a._keyManager.activeItem._selectViaInteraction()})};g._resetOptions=function(){var a=this,b=(0,C.merge)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(dg(b)).subscribe(function(c){a._onSelect(c.source,c.isUserInput);c.isUserInput&&!a.multiple&&a._panelOpen&&(a.close(),a.focus())});C.merge.apply(null,r(this.options.map(function(c){return c._stateChanges}))).pipe(dg(b)).subscribe(function(){a._changeDetectorRef.detectChanges();a.stateChanges.next()})};
g._onSelect=function(a,b){var c=this._selectionModel.isSelected(a);null!=a.value||this._multiple?(c!==a.selected&&(a.selected?this._selectionModel.select(a):this._selectionModel.deselect(a)),b&&this._keyManager.setActiveItem(a),this.multiple&&(this._sortValues(),b&&this.focus())):(a.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(a.value));c!==this._selectionModel.isSelected(a)&&this._propagateChanges();this.stateChanges.next()};
g._sortValues=function(){var a=this;if(this.multiple){var b=this.options.toArray();this._selectionModel.sort(function(c,d){return a.sortComparator?a.sortComparator(c,d,b):b.indexOf(c)-b.indexOf(d)});this.stateChanges.next()}};g._propagateChanges=function(a){var b=null;this.multiple?b=this.selected.map(function(c){return c.value}):b=this.selected?this.selected.value:a;this._value=b;this.valueChange.emit(b);this._onChange(b);this.selectionChange.emit(this._getChangeEvent(b));this._changeDetectorRef.markForCheck()};
g._highlightCorrectOption=function(){if(this._keyManager)if(this.empty){for(var a=-1,b=0;b<this.options.length;b++)if(!this.options.get(b).disabled){a=b;break}this._keyManager.setActiveItem(a)}else this._keyManager.setActiveItem(this._selectionModel.selected[0])};g._canOpen=function(){var a;return!this._panelOpen&&!this.disabled&&0<(null==(a=this.options)?void 0:a.length)};g.focus=function(a){this._elementRef.nativeElement.focus(a)};
g._getPanelAriaLabelledby=function(){if(this.ariaLabel)return null;var a,b=null==(a=this._parentFormField)?void 0:a.getLabelId();return this.ariaLabelledby?(b?b+" ":"")+this.ariaLabelledby:b};g._getAriaActiveDescendant=function(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null};
g._getTriggerAriaLabelledby=function(){if(this.ariaLabel)return null;var a,b=null==(a=this._parentFormField)?void 0:a.getLabelId();a=(b?b+" ":"")+this._valueId;this.ariaLabelledby&&(a+=" "+this.ariaLabelledby);return a};g._panelDoneAnimating=function(a){this.openedChange.emit(a)};g.setDescribedByIds=function(a){a.length?this._elementRef.nativeElement.setAttribute("aria-describedby",a.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")};
g.onContainerClick=function(){this.focus();this.open()};
Xi.Object.defineProperties(jP.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:FHb(b))?d:!1},set:function(a){this._required=bi(a);
this.stateChanges.next()}},multiple:{configurable:!0,enumerable:!0,get:function(){return this._multiple},set:function(a){this._multiple=bi(a)}},disableOptionCentering:{configurable:!0,enumerable:!0,get:function(){return this._disableOptionCentering},set:function(a){this._disableOptionCentering=bi(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=ei(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}}});jP.\u0275fac=function(a){return new (a||jP)(A(uz),A(qw),A(hg),A(Sz),A(ke),A(gz,8),A(fx,8),A(ox,8),A(TA,8),A(Zw,10),ce("tabindex"),A(x7b),A(Ty),A(y7b,8))};
jP.\u0275dir=qd({type:jP,viewQuery:function(a,b){a&1&&(ih(u7b,5),ih(v7b,5),ih(Kz,5));if(a&2){var c;hh(c=kh())&&(b.trigger=c.first);hh(c=kh())&&(b.panel=c.first);hh(c=kh())&&(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:[qg,Hd]});var C7b=[[["mat-select-trigger"]],"*"],D7b=function(a,b){this.source=a;this.value=b},kP=function(){};kP.\u0275fac=function(a){return new (a||kP)};kP.\u0275dir=qd({type:kP,selectors:[["mat-select-trigger"]],features:[Ug([{provide:A7b,useExisting:kP}])]});
var lP=function(){var a=jP.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};W(lP,jP);lP.\u0275dir=jP.\u0275dir;g=lP.prototype;g._calculateOverlayScroll=function(a,b,c){var d=this._getItemHeight();return Math.min(Math.max(0,d*a-b+d/2),c)};
g.ngOnInit=function(){var a=this;jP.prototype.ngOnInit.call(this);this._viewportRuler.change().pipe(dg(this._destroy)).subscribe(function(){a.panelOpen&&(a._triggerRect=a.trigger.nativeElement.getBoundingClientRect(),a._changeDetectorRef.markForCheck())})};
g.open=function(){var a=this;jP.prototype._canOpen.call(this)&&(jP.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(Rf()).subscribe(function(){a._triggerFontSize&&a._overlayDir.overlayRef&&a._overlayDir.overlayRef.overlayElement&&(a._overlayDir.overlayRef.overlayElement.style.fontSize=a._triggerFontSize+
"px")}))};g._scrollOptionIntoView=function(a){var b=nma(a,this.options,this.optionGroups),c=this._getItemHeight();this.panel.nativeElement.scrollTop=0===a&&1===b?0:oma((a+b)*c,c,this.panel.nativeElement.scrollTop,256)};g._positioningSettled=function(){this._calculateOverlayOffsetX();this.panel.nativeElement.scrollTop=this._scrollTop};
g._panelDoneAnimating=function(a){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck());jP.prototype._panelDoneAnimating.call(this,a)};g._getChangeEvent=function(a){return new D7b(this,a)};g._getOverlayMinWidth=function(){var a;return null==(a=this._triggerRect)?void 0:a.width};
g._calculateOverlayOffsetX=function(){var a=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),b=this._viewportRuler.getViewportSize(),c=this._isRtl(),d=this.multiple?56:32;var e=this.multiple?40:this.disableOptionCentering?16:(e=this._selectionModel.selected[0]||this.options.first)&&e.group?32:16;c||(e*=-1);var f=-(a.left+e-(c?d:0));a=a.right+e-b.width+(c?0:d);0<f?e+=f+8:0<a&&(e-=a+8);this._overlayDir.offsetX=Math.round(e);this._overlayDir.overlayRef.updatePosition()};
g._calculateOverlayOffsetY=function(a,b,c){var d=this._getItemHeight(),e=(d-this._triggerRect.height)/2,f=Math.floor(256/d);return this.disableOptionCentering?0:Math.round(-1*(0===this._scrollTop?a*d:this._scrollTop===c?(a-(this._getItemCount()-f))*d+(d-(this._getItemCount()*d-256)%d):b-d/2)-e)};
g._checkOverlayWithinViewport=function(a){var b=this._getItemHeight(),c=this._viewportRuler.getViewportSize(),d=this._triggerRect.top-8;c=c.height-this._triggerRect.bottom-8;var e=Math.abs(this._offsetY);b=Math.min(this._getItemCount()*b,256)-e-this._triggerRect.height;b>c?this._adjustPanelUp(b,c):e>d?this._adjustPanelDown(e,d,a):this._transformOrigin=this._getOriginBasedOnOption()};
g._adjustPanelUp=function(a,b){a=Math.round(a-b);this._scrollTop-=a;this._offsetY-=a;this._transformOrigin=this._getOriginBasedOnOption();0>=this._scrollTop&&(this._offsetY=this._scrollTop=0,this._transformOrigin="50% bottom 0px")};g._adjustPanelDown=function(a,b,c){a=Math.round(a-b);this._scrollTop+=a;this._offsetY+=a;this._transformOrigin=this._getOriginBasedOnOption();this._scrollTop>=c&&(this._scrollTop=c,this._offsetY=0,this._transformOrigin="50% top 0px")};
g._calculateOverlayPosition=function(){var a=this._getItemHeight(),b=this._getItemCount(),c=Math.min(b*a,256);a=b*a-c;b=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0);b+=nma(b,this.options,this.optionGroups);c/=2;this._scrollTop=this._calculateOverlayScroll(b,c,a);this._offsetY=this._calculateOverlayOffsetY(b,c,a);this._checkOverlayWithinViewport(a)};
g._getOriginBasedOnOption=function(){var a=this._getItemHeight();return"50% "+(Math.abs(this._offsetY)-(a-this._triggerRect.height)/2+a/2)+"px 0px"};g._getItemHeight=function(){return 3*this._triggerFontSize};g._getItemCount=function(){return this.options.length+this.optionGroups.length};lP.\u0275fac=function(){var a;return function(b){return(a||(a=ie(lP)))(b||lP)}}();
lP.\u0275cmp=p({type:lP,selectors:[["mat-select"]],contentQueries:function(a,b,c){a&1&&(jh(c,A7b,5),jh(c,vA,5),jh(c,YKb,5));if(a&2){var d;hh(d=kh())&&(b.customTrigger=d.first);hh(d=kh())&&(b.options=d);hh(d=kh())&&(b.optionGroups=d)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true","ngSkipHydration","true",1,"mat-select"],hostVars:19,hostBindings:function(a,b){a&1&&K("keydown",function(c){return b._handleKeydown(c)})("focus",function(){return b._onFocus()})("blur",function(){return b._onBlur()});
a&2&&(ug("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()),Fg("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:[Ug([{provide:SA,useExisting:lP},{provide:XKb,useExisting:lP}]),qg],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&&(Ng(C7b),E(0,"div",0,1),K("click",function(){return b.toggle()}),E(3,"div",2),P(4,KEa,2,1,"span",3),P(5,NEa,3,2,"span",4),F(),E(6,"div",5),H(7,"div",6),F()(),P(8,OEa,4,14,"ng-template",7),K("backdropClick",function(){return b.close()})("attach",function(){return b._onAttached()})("detach",
function(){return b.close()}));if(a&2){var c=O(1);ug("aria-owns",b.panelOpen?b.id+"-panel":null);z(3);D("ngSwitch",b.empty);ug("id",b._valueId);z(1);D("ngSwitchCase",!0);z(1);D("ngSwitchCase",!1);z(3);D("cdkConnectedOverlayPanelClass",b._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",b._scrollStrategy)("cdkConnectedOverlayOrigin",c)("cdkConnectedOverlayOpen",b.panelOpen)("cdkConnectedOverlayPositions",b._positions)("cdkConnectedOverlayMinWidth",b._getOverlayMinWidth())("cdkConnectedOverlayOffsetY",
b._offsetY)}},dependencies:[ww,zw,Aw,Bw,Kz,Jz],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:[s7b,t7b]},changeDetection:0});var mP=function(){};mP.\u0275fac=function(a){return new (a||mP)};mP.\u0275mod=od({type:mP});mP.\u0275inj=Wc({providers:[z7b],imports:[Mw,Lz,wA,Mz,xz,YA,wA,Mz]});var nP=function(){};nP.\u0275fac=function(a){return new (a||nP)};nP.\u0275mod=od({type:nP});nP.\u0275inj=Wc({imports:[iP,RF,Mw,Lz,yO,hP,mP,yN,OC,YC,ID,VN,bP,JN]});var oP=function(){};oP.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""}};oP.\u0275fac=function(a){return new (a||oP)};oP.\u0275pipe=rd({name:"toAccessLevelLabel",type:oP,pure:!0});var E7b=ti({opacity:"0"}),F7b=Gf(function(a){return a}),G7b=(0,C.pipe)(Qf(),F7b,Vf()),H7b=new Bd("xap-bubble UX style"),pP=function(a){var b=this;this.activity=new C.Subject;this.openedSubject=new C.BehaviorSubject(!1);this.destroy=new C.ReplaySubject;this.overlayPositions=[];this.overlayPanelClass="";this.hoverDelayMs=50;this.beforeShow=this.beforeOpened=new Rv;this.onOpened=new Rv;this.bubbleStyle=a||"xap-bubble-md1";this.opened=this.openedSubject.pipe(Nga(function(){return b.activity.pipe(Nf(b.hoverDelayMs))}));
a=dg(this.destroy);this.opened.pipe(G7b,a).subscribe(this.onOpened);this.openedSubject.pipe(F7b,Bha(function(){return b.opened.pipe(Gf(function(c){return!c}))}),a).subscribe(function(){b.beforeOpened.emit()})};pP.prototype.ngOnDestroy=function(){this.destroy.next();this.destroy.complete()};pP.prototype.toggle=function(a){this.openedSubject.next(a);this.activity.next()};pP.\u0275fac=function(a){return new (a||pP)(A(H7b,8))};
pP.\u0275cmp=p({type:pP,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&&(Ng(),E(0,"span",0,1),K("mouseenter",function(){return b.toggle(!0)})("mouseleave",function(){return b.toggle(!1)})("mousemove",function(){b.activity.next()}),Og(2),F(),P(3,QEa,2,3,"ng-template",2),U(4,"async"));if(a&2){var c=O(1);D("ngClass",b.bubbleStyle);
z(3);D("cdkConnectedOverlayPanelClass",b.overlayPanelClass)("cdkConnectedOverlayPositions",b.overlayPositions)("cdkConnectedOverlayOrigin",c)("cdkConnectedOverlayOpen",V(4,5,b.opened))}},dependencies:[ww,Dw,Kz,Jz,Ew],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:[ri("fade",[vi(":enter",[E7b,si("225ms")]),vi(":leave",[si("195ms",E7b)])])]}});var qP=function(a,b){this.activeSession=a;this.documentationLinks=b;this.labelOnlyMode=this.compactMode=!1;this.bubbleText=this.chipClass=""};
qP.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=""}};qP.\u0275fac=function(a){return new (a||qP)(A(Vt),A(SI))};
qP.\u0275cmp=p({type:qP,selectors:[["b-access-level-indicator"]],inputs:{accessLevel:"accessLevel",compactMode:"compactMode",labelOnlyMode:"labelOnlyMode"},features:[Hd],decls:1,vars:1,consts:[[4,"ngIf"],[4,"ngIf","ngIfElse"],["withBubble",""],[1,"chippy","rounded",3,"ngClass"],[3,"panelTemplate"],[1,"chippy","rounded","nowrap",3,"ngClass"],["popup",""],[1,"bubble"],["target","_blank",3,"href"]],template:function(a,b){a&1&&P(0,UEa,4,2,"ng-container",0);if(a&2){if(a=b.accessLevel)a=b.activeSession.isInternalSession()?
"EXTERNAL_PARTNER"===b.accessLevel||"EXTERNAL_PUBLIC"===b.accessLevel:hUb(b.activeSession)?"EXTERNAL_PUBLIC"===b.accessLevel:!1;D("ngIf",a)}},dependencies:[ww,yw,pP,oP],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 I7b={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"},rP=function(){};rP.prototype.transform=function(a){return I7b[a]};rP.\u0275fac=function(a){return new (a||rP)};rP.\u0275pipe=rd({name:"toCustomFieldTypeDisplayValue",type:rP,pure:!0});var sP=function(){};sP.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+"@"};sP.\u0275fac=function(a){return new (a||sP)};sP.\u0275pipe=rd({name:"shortenEmail",type:sP,pure:!0});var tP=function(){};tP.\u0275fac=function(a){return new (a||tP)};tP.\u0275mod=od({type:tP});tP.\u0275inj=Wc({imports:[Mw]});var uP=function(){};uP.\u0275fac=function(a){return new (a||uP)};uP.\u0275mod=od({type:uP});uP.\u0275inj=Wc({imports:[Mw,Lz]});var vP=function(){};vP.\u0275fac=function(a){return new (a||vP)};vP.\u0275mod=od({type:vP});vP.\u0275inj=Wc({imports:[Mw,tP,uP]});var wP=function(a,b,c,d){this.activeSession=a;this.issueApi=b;this.analytics=c;this.errorHandler=d;this.onCc=new Rv};wP.prototype.ngOnInit=function(){};
wP.prototype.toggle=function(){var a=this;this.analytics.trackEvent("issueCard","click","cc "+(this.ccState?"REMOVE":"ADD"));this.onCc.emit(!this.ccState);this.ccState?(this.ccState=!1,this.issueApi.unCcUser(this.issueId).then(function(){}).catch(function(b){a.ccState=!0;a.errorHandler.errorHandler(null,b)})):(this.ccState=!0,this.issueApi.updateIssue(this.issueId,{issueId:this.issueId,actions:[{fieldName:"ccs",value:this.activeSession.getUserEmail(),actionType:"ADD"}]}).then(function(){}).catch(function(b){a.ccState=
!1;a.errorHandler.errorHandler(null,b)}))};wP.\u0275fac=function(a){return new (a||wP)(A(Vt),A(PE),A(wH),A(ZF))};
wP.\u0275cmp=p({type:wP,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&&(E(0,"button",0),K("click",function(){return b.toggle()}),P(1,VEa,2,0,"ng-container",1),Q(2,"CC me\n"),F());a&2&&(z(1),D("ngIf",b.ccState))},dependencies:[yw,tA],encapsulation:2});var xP=function(a,b){Z.call(this);this.errorHandler=a;this.issueFridge=b;this.upvoted=!1;this.voteCount=0;this.onVote=new Rv;this.tooltip="Indicate that you are affected by this issue";this.isSaving=!1};W(xP,Z);xP.\u0275dir=Z.\u0275dir;
xP.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(Rf(),dg(this.destroyed$)).subscribe(function(){a.isSaving=!1},function(c){a.isSaving=!1;a.errorHandler.errorHandler(null,c);a.upvoted=!a.upvoted;a.voteCount-=b})}};xP.\u0275fac=function(a){return new (a||xP)(A(ZF),A(BH))};
xP.\u0275cmp=p({type:xP,selectors:[["b-app-vote-button"]],hostVars:2,hostBindings:function(a,b){a&2&&Fg("no-votes",0>=b.voteCount)},inputs:{issueId:"issueId",upvoted:"upvoted",voteCount:"voteCount"},outputs:{onVote:"onVote"},features:[qg],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&&(E(0,"button",0),K("click",function(){return b.onClick()}),H(1,"mat-icon",1),E(2,"output",
2),Q(3),F()());a&2&&(D("matTooltip",b.upvoted?"Remove vote: I am not impacted":"Vote: I am impacted"),ug("aria-pressed",b.upvoted)("aria-label","Vote count "+b.voteCount),z(2),Pg("title","",b.voteCount," votes on this issue"),z(1),R(" ",9999<b.voteCount?"9999+":b.voteCount," "))},dependencies:[tA,jB,NC],styles:["[_nghost-%COMP%]{display:inline-block;margin-right:12px}.gmat-button[_ngcontent-%COMP%]{box-sizing:border-box;height:24px;line-height:24px;min-width:42px;border-radius:12px;padding:0 4px;font-size:.8125rem;text-align:center;box-shadow:inset 0 0 0 1px #dadce0;box-shadow:inset 0 0 0 1px var(--divider)}.gmat-button[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{width:18px;height:18px}.gmat-button[_ngcontent-%COMP%]:hover{box-shadow:inset 0 0 0 1px #d2e3fc;box-shadow:inset 0 0 0 1px var(--primary-c100)}.gmat-button[aria-pressed=true][_ngcontent-%COMP%]{background-color:#1a73e8;background-color:var(--primary-btn-bg);color:#fff;color:var(--text-inverse);box-shadow:none}.gmat-button[aria-pressed=true][_ngcontent-%COMP%]:hover{background-color:#4285f4;background-color:var(--primary-btn-bg-hover)}button.gmat-button.mat-button[aria-pressed=true][_ngcontent-%COMP%]{color:#fff;color:var(--text-inverse)}.bv2-material   [_nghost-%COMP%]     button.gmat-button:not(.mat-icon-button).small{padding:0 4px}output[_ngcontent-%COMP%]{display:inline-block;box-sizing:border-box;height:20px;line-height:20px;min-width:20px;border-radius:10px;margin-left:4px;margin-right:-16px;transform:translate(0, -33%);padding:0 4px;font-weight:500;font-size:.75rem;text-align:center;background-color:#188038;background-color:var(--good-bg-inverse);color:#fff;color:var(--text-inverse);box-shadow:0 0 0 1px #fff;box-shadow:0 0 0 1px var(--background);position:relative;z-index:1}[_nghost-%COMP%], output[_ngcontent-%COMP%]{transition:margin-right .1s ease-out}.no-votes[_nghost-%COMP%]{margin-right:2px}.no-votes[_nghost-%COMP%]   output[_ngcontent-%COMP%]{margin-right:-22px;visibility:hidden}\n/*# sourceMappingURL=app_vote_button.css.map */"],
changeDetection:0});var iFa=function(){return[]},yP=function(a,b,c,d,e,f,h){Z.call(this);var l=this;this.issuesApi=a;this.cdr=b;this.activeSession=c;this.analytics=d;this.relationshipService=e;this.issueFridge=f;this.butterBar=h;this.STATUS_JS_FULL_TEXT=tn;this.ISSUE_PRIORITY_TEXT_JS=WUb;this.ISSUE_PRIORITY_ENUM=ySb;this.providedIssueId$=new C.ReplaySubject(1);this.issueFetchResponse$=this.providedIssueId$.pipe(cg(function(q){return l.issuesApi.getIssue(q)}));this.editIssue=$n;this.FormattingMode=vSb;this.init=new C.ReplaySubject(1)};
W(yP,Z);yP.\u0275dir=Z.\u0275dir;yP.prototype.ngOnInit=function(){var a=this;this.providedIssueId$.next(this.issueId);this.issueFetchResponse$.pipe(dg(this.destroyed$)).subscribe(function(b){a.issue=b.issue;a.firstEvent=b.firstEvent;a.cdr.markForCheck();a.init.next()})};yP.prototype.priorityClass=function(a){switch(a){case "P0":return"high p0";case "P1":return"high";default:return"low"}};
yP.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 hFa=function(a,b){return Zj(b).includes(a.activeSession.getUserEmail())},cFa=function(a,b){var c;return of(function(d){if(1==d.nextAddress)return c=a.issueId,qF(a.issueFridge,b,function(e){var f=e.parentIssueIds.indexOf(c);0>f||(e.parentIssueIds.splice(f,1),Object.assign({},e))}),pf(d,2,3),d.yield((0,C.firstValueFrom)(a.relationshipService.delete(c,1,b)),3);if(2!=d.nextAddress)return qf(d),a.issueFridge.poke(b),rf(d,0);sf(d);XF(a.butterBar,"Error removing the parent issue.");return d.jumpTo(3)})};
yP.\u0275fac=function(a){return new (a||yP)(A(QE),A(sH,2),A(Vt),A(wH),A(ZE),A(BH),A(VF))};
yP.\u0275cmp=p({type:yP,selectors:[["b-issue-card"]],inputs:{issueId:"issueId",location:"location",childContextId:"childContextId"},outputs:{init:"init"},features:[Ug([sH]),qg],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&&(E(0,"div",
0),P(1,jFa,23,16,"ng-container",1),F());a&2&&(z(1),D("ngIf",b.issue&&b.issue.snapshot[0]))},dependencies:[ww,yw,zw,Aw,Bw,qP,tA,NC,uM,cL,aP,xP,wP],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 zP=function(){};zP.\u0275fac=function(a){return new (a||zP)};zP.\u0275mod=od({type:zP});zP.\u0275inj=Wc({imports:[TN,Mw,hP]});var AP=function(){};AP.prototype.transform=function(a){if(ip(a))return a};AP.\u0275fac=function(a){return new (a||AP)};AP.\u0275pipe=rd({name:"omitObfuscatedEmail",type:AP,pure:!0});var BP=function(a){this.session=a;this.isNonObfuscatedEmail=ip;this.email="";this.withProfile=!0;this.enableWaldoAvailability=DE(this.session,"enableWaldoAvailability")&&this.session.isInternalSession()};BP.\u0275fac=function(a){return new (a||BP)(A(Vt))};
BP.\u0275cmp=p({type:BP,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&&(E(0,"span",0),P(1,kFa,1,1,"b-user-image",1),P(2,mFa,6,3,"ng-container",2),P(3,nFa,2,1,"ng-template",null,3,qh),P(5,oFa,2,1,"span",4),F());if(a&2){var c=O(4);z(1);D("ngIf",b.withProfile);z(1);D("ngIf",b.isNonObfuscatedEmail(b.email))("ngIfElse",c);z(3);D("ngIf",b.enableWaldoAvailability)}},dependencies:[yw,Dw,OI,SK,iK,nK,UK],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 J7b=0,CP=function(a,b){var c=this;this.teamsService=a;this.session=b;this.teamId="";this.enableSmallChip=!1;this.providedTeamId$=new C.ReplaySubject(1);this.providedUser$=new C.ReplaySubject(1);this.providedEmail$=new C.ReplaySubject(1);this.isNonObfuscatedEmail=ip;this.fetchedTeam$=this.providedTeamId$.pipe(cg(function(d){return c.teamsService.getTeam(d)}),Lf(function(){return(0,C.of)((new yE).setTeamId(c.teamId).setName(c.teamId).setDescription(""))}));this.detailedUserType$=this.providedUser$.pipe(B(function(d){d=
d?d&&d.getUserGaiaStatus?d.getAliasesList():d.aliases||[]:[];return d.includes("googlers_unrestricted")?"UNRESTRICTED_GOOGLER":d.includes("google_domain")?"TVC":d.includes("issue_creation_only_accounts")?"ISSUE_CREATION_ONLY":d.includes("external_partners")?"EXTERNAL":d.includes("public_non_google")?"PUBLIC":"NO_DETAILED_TYPE"}),bg("NO_DETAILED_TYPE"));this.isTeamMember$=(0,C.combineLatest)([this.providedTeamId$,this.providedEmail$]).pipe(cg(function(d){var e=m(d);d=e.next().value;e=e.next().value;
return OZb(c.teamsService,d,e)}),bg(!1),Lf(function(){return(0,C.of)(!1)}));this.teamUser$=this.fetchedTeam$.pipe(B(function(d){return"Member of "+d.getName()}));this.groupMembershipType$=(0,C.combineLatest)([this.detailedUserType$,this.isTeamMember$]).pipe(B(function(d){var e=m(d);d=e.next().value;e=e.next().value;if(c.enableExternalAnnotations){if("PUBLIC"===d)return"PUBLIC_USER";if("EXTERNAL"===d)return"PARTNER_USER"}return e?"INTERNAL_TEAM_MEMBER":"INTERNAL_NON_TEAM_MEMBER"}));this.enableExternalAnnotations=
DE(this.session,"enableExternalAnnotations");this.enableWaldoAvailability=DE(this.session,"enableWaldoAvailability")&&this.session.isInternalSession();this.userTypeClass$=this.groupMembershipType$.pipe(B(function(d){return c.enableSmallChip?"user-chip-small":d&&"INTERNAL_NON_TEAM_MEMBER"!==d?"user-chip":"user-chip-without-icon"}));this.userChipType$=this.groupMembershipType$.pipe(B(function(d){if(d&&"INTERNAL_NON_TEAM_MEMBER"!==d){if("INTERNAL_TEAM_MEMBER"===d)return"team-member-chip";if("PARTNER_USER"===
d)return"partner-chip";if("PUBLIC_USER"===d)return"public-chip"}else return"internal-non-team-member-chip";return""}));this.shouldShowIcon$=this.groupMembershipType$.pipe(B(function(d){return d&&"INTERNAL_NON_TEAM_MEMBER"!==d}));this.iconName$=this.groupMembershipType$.pipe(B(function(d){if(d&&"INTERNAL_NON_TEAM_MEMBER"!==d){if("INTERNAL_TEAM_MEMBER"===d)return"people-outline";if("PARTNER_USER"===d)return"enterprise";if("PUBLIC_USER"===d)return"public"}return""}));this.iconToolTip$=this.groupMembershipType$.pipe(fg(this.teamUser$),
B(function(d){var e=m(d);d=e.next().value;e=e.next().value;if(d&&"INTERNAL_NON_TEAM_MEMBER"!==d){if("INTERNAL_TEAM_MEMBER"===d)return e;if("PARTNER_USER"===d)return"Partner user";if("PUBLIC_USER"===d)return"Public user"}return""}));J7b++};CP.prototype.ngOnInit=function(){};CP.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)};
CP.\u0275fac=function(a){return new (a||CP)(A(PH),A(Vt))};
CP.\u0275cmp=p({type:CP,selectors:[["b-user-membership-chip"]],inputs:{user:"user",email:"email",teamId:"teamId",enableSmallChip:"enableSmallChip"},features:[Hd],decls:11,vars:13,consts:[[3,"ngClass"],["class","bv2-profile-avatar",3,"email",4,"ngIf"],[3,"email","hovercardFocusEnabled","availabilityChipEnabled",4,"ngIf","ngIfElse"],["smallChipContents",""],[3,"svgIcon","matTooltip",4,"ngIf"],[4,"ngIf"],[1,"bv2-profile-avatar",3,"email"],[3,"email","hovercardFocusEnabled","availabilityChipEnabled"],
[4,"ngIf","ngIfElse"],["emailDisplay",""],["tabindex","0","role","button",1,"keep-focus-ring",3,"onedevHovercardTrigger"],[4,"ngTemplateOutlet"],["card",""],[3,"email"],[1,"user-chip-name"],[3,"svgIcon","matTooltip"],["coinonly","",3,"user"]],template:function(a,b){a&1&&(E(0,"span",0),U(1,"async"),E(2,"span",0),U(3,"async"),P(4,pFa,1,1,"b-user-image",1),P(5,qFa,1,3,"b-user-display-name",2),P(6,uFa,3,2,"ng-template",null,3,qh),P(8,vFa,3,6,"mat-icon",4),U(9,"async"),F()(),P(10,wFa,2,1,"ng-container",
5));if(a&2){var c=O(7),d,e;D("ngClass",null!==(d=V(1,7,b.userTypeClass$))&&void 0!==d?d:"");z(2);D("ngClass",null!==(e=V(3,9,b.userChipType$))&&void 0!==e?e:"");z(2);D("ngIf",b.enableSmallChip);z(1);D("ngIf",!b.enableSmallChip)("ngIfElse",c);z(3);D("ngIf",V(9,11,b.shouldShowIcon$));z(2);D("ngIf",b.enableWaldoAvailability&&!b.enableSmallChip)}},dependencies:[ww,yw,Dw,OI,jB,NC,SK,iK,nK,UK,TK,Ew],styles:[".user-chip-without-icon[_ngcontent-%COMP%]{display:inline-block;height:1.75em;white-space:nowrap}.user-chip-without-icon[_ngcontent-%COMP%]   b-user-display-name[_ngcontent-%COMP%]{font-family:Roboto,Arial,sans-serif;line-height:1.25rem;font-size:.875rem;letter-spacing:.0142857143em;font-weight:400;font-size:.8125rem;line-height:1.3846153846;color:#202124;color:var(--text-high-contrast);font-style:normal;font-weight:bold;height:20px;letter-spacing:.2px;line-height:20px}.user-chip-without-icon[_ngcontent-%COMP%]   .internal-non-team-member-chip[_ngcontent-%COMP%]{align-items:center;display:flex;height:1.75em;line-height:1.75em;padding:0 8px}.user-chip[_ngcontent-%COMP%]{display:inline-block;height:1.75em;white-space:nowrap}.user-chip[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{flex-shrink:0;height:16px;margin-left:3%;padding:0 14px 0 0;position:relative;width:16px}.user-chip[_ngcontent-%COMP%]   b-user-display-name[_ngcontent-%COMP%]{font-family:Roboto,Arial,sans-serif;line-height:1.25rem;font-size:.875rem;letter-spacing:.0142857143em;font-weight:400;font-size:.8125rem;line-height:1.3846153846;color:#202124;color:var(--text-high-contrast);font-style:normal;font-weight:bold;height:20px;letter-spacing:.2px;line-height:20px;padding:0 0 0 8px}.team-member-chip[_ngcontent-%COMP%]{background-color:#e8f0fe;background-color:var(--team-member-bg);min-width:0;align-items:center;border-radius:24px;display:flex;height:1.75em;line-height:1.75em;padding:0 0px 0 0px}.team-member-chip[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#1967d2;color:var(--team-member-gfx)}.partner-chip[_ngcontent-%COMP%]{background-color:#ffdeb5;background-color:var(--partner-bg);min-width:0;align-items:center;border-radius:24px;display:flex;height:1.75em;line-height:1.75em;padding:0 0px 0 0px}.partner-chip[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#202124;color:var(--partner-text)}.partner-chip[_ngcontent-%COMP%]   b-user-display-name[_ngcontent-%COMP%], .partner-chip[_ngcontent-%COMP%]   .user-chip-name[_ngcontent-%COMP%]{color:#202124;color:var(--partner-text)}.public-chip[_ngcontent-%COMP%]{background-color:#fbe983;background-color:var(--public-bg);min-width:0;align-items:center;border-radius:24px;display:flex;height:1.75em;line-height:1.75em;padding:0 0px 0 0px}.public-chip[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#202124;color:var(--public-text)}.public-chip[_ngcontent-%COMP%]   b-user-display-name[_ngcontent-%COMP%], .public-chip[_ngcontent-%COMP%]   .user-chip-name[_ngcontent-%COMP%]{color:#202124;color:var(--public-text)}.user-chip-small[_ngcontent-%COMP%]{display:flex;height:1.25em}.user-chip-small[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{flex-shrink:0;height:11px;padding:0 0 1px 2px;width:11px}.user-chip-small[_ngcontent-%COMP%]   .internal-non-team-member-chip[_ngcontent-%COMP%]{align-items:center;border-radius:24px;display:flex;height:1.25em;line-height:1.25em;padding:0 6px 0 1px;min-width:0}.user-chip-small[_ngcontent-%COMP%]   .internal-non-team-member-chip[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.12);background-color:var(--user-bg-focus)}.user-chip-small[_ngcontent-%COMP%]   .team-member-chip[_ngcontent-%COMP%]{align-items:center;border-radius:24px;display:flex;height:1.25em;line-height:1.25em;padding:0 6px 0 1px}.user-chip-small[_ngcontent-%COMP%]   .partner-chip[_ngcontent-%COMP%]{align-items:center;border-radius:24px;display:flex;height:1.25em;line-height:1.25em;padding:0 6px 0 1px}.user-chip-small[_ngcontent-%COMP%]   .public-chip[_ngcontent-%COMP%]{align-items:center;border-radius:24px;display:flex;height:1.25em;line-height:1.25em;padding:0 6px 0 1px}.user-chip-name[_ngcontent-%COMP%]{color:#202124;color:var(--text-high-contrast);font-style:normal;font-weight:normal;height:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:Roboto,Arial,sans-serif;line-height:1.25rem;font-size:.875rem;letter-spacing:.0142857143em;font-weight:400;font-size:.8125rem;line-height:1.3846153846;letter-spacing:.3px;line-height:16px;padding:0 0 0 2px}[_nghost-%COMP%]{min-width:0}[_nghost-%COMP%]     span.bv2-profile-avatar, [_nghost-%COMP%]     .bv2-profile-avatar .user-avatar{background-size:103%;display:inline-block;height:12px;vertical-align:middle;width:12px}[_nghost-%COMP%]     span.bv2-profile-avatar img, [_nghost-%COMP%]     .bv2-profile-avatar .user-avatar img{background-color:#f1f3f4;background-color:var(--c100);height:12px;width:12px}"],
changeDetection:0});var DP=function(){};DP.\u0275fac=function(a){return new (a||DP)};DP.\u0275mod=od({type:DP});DP.\u0275inj=Wc({imports:[Mw,zP,OC,ID,VN,bP,JN]});var EP=function(){};EP.\u0275fac=function(a){return new (a||EP)};EP.\u0275mod=od({type:EP});EP.\u0275inj=Wc({imports:[Mw,YC,OC,ID]});var FP=function(){};FP.\u0275fac=function(a){return new (a||FP)};FP.\u0275mod=od({type:FP});FP.\u0275inj=Wc({providers:[{provide:P4b,useValue:yP}],imports:[Mw,vP,YC,ID,DP,IN,nP,EP]});var GP=function(a){this.issuesApi=a};GP.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})};GP.\u0275fac=function(a){return new (a||GP)(n(PE))};GP.\u0275prov=Vc({token:GP,factory:GP.\u0275fac,providedIn:"root"});var K7b=["panel"],L7b=0,M7b=function(a,b){this.source=a;this.option=b},N7b=Zi(function(){}),O7b=new Bd("mat-autocomplete-default-options",{providedIn:"root",factory:xFa}),HP=function(a,b,c,d){var e=N7b.call(this)||this;e._changeDetectorRef=a;e._elementRef=b;e._defaults=c;e._activeOptionChanges=C.Subscription.EMPTY;e.showPanel=!1;e._isOpen=!1;e.displayWith=null;e.optionSelected=new Rv;e.opened=new Rv;e.closed=new Rv;e.optionActivated=new Rv;e._classList={};e.id="mat-autocomplete-"+L7b++;e.inertGroups=
(null==d?void 0:d.SAFARI)||!1;e._autoActiveFirstOption=!!c.autoActiveFirstOption;e._autoSelectActiveOption=!!c.autoSelectActiveOption;return e};W(HP,N7b);g=HP.prototype;g._setColor=function(a){this._color=a;this._setThemeClasses(this._classList)};
g.ngAfterContentInit=function(){var a=this;this._keyManager=nKb(az(new ez(this.options)),this._skipPredicate);this._activeOptionChanges=this._keyManager.change.subscribe(function(b){a.isOpen&&a.optionActivated.emit({source:a,option:a.options.toArray()[b]||null})});this._setVisibility()};g.ngOnDestroy=function(){var a;null==(a=this._keyManager)||a.destroy();this._activeOptionChanges.unsubscribe()};g._setScrollTop=function(a){this.panel&&(this.panel.nativeElement.scrollTop=a)};
g._getScrollTop=function(){return this.panel?this.panel.nativeElement.scrollTop:0};g._setVisibility=function(){this.showPanel=!!this.options.length;this._setVisibilityClasses(this._classList);this._changeDetectorRef.markForCheck()};g._emitSelectEvent=function(a){this.optionSelected.emit(new M7b(this,a))};g._getPanelAriaLabelledby=function(a){return this.ariaLabel?null:this.ariaLabelledby?(a?a+" ":"")+this.ariaLabelledby:a};
g._setVisibilityClasses=function(a){a[this._visibleClass]=this.showPanel;a[this._hiddenClass]=!this.showPanel};g._setThemeClasses=function(a){a["mat-primary"]="primary"===this._color;a["mat-warn"]="warn"===this._color;a["mat-accent"]="accent"===this._color};g._skipPredicate=function(a){return a.disabled};
Xi.Object.defineProperties(HP.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=bi(a)}},autoSelectActiveOption:{configurable:!0,enumerable:!0,get:function(){return this._autoSelectActiveOption},set:function(a){this._autoSelectActiveOption=bi(a)}},classList:{configurable:!0,enumerable:!0,set:function(a){a&&
a.length?this._classList=zka(a).reduce(function(b,c){b[c]=!0;return b},{}):this._classList={};this._setVisibilityClasses(this._classList);this._setThemeClasses(this._classList);this._elementRef.nativeElement.className=""}}});HP.\u0275fac=function(a){return new (a||HP)(A(qw),A(ke),A(O7b),A(yx))};
HP.\u0275dir=qd({type:HP,viewQuery:function(a,b){a&1&&(ih(eh,7),ih(K7b,5));if(a&2){var c;hh(c=kh())&&(b.template=c.first);hh(c=kh())&&(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:[qg]});var P7b=new Bd("mat-autocomplete-scroll-strategy"),Q7b={provide:P7b,deps:[Iz],useFactory:function(a){return function(){return a.scrollStrategies.reposition()}}},IP=function(a,b,c,d,e,f,h,l,q,u,x){var y=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=u;this._defaults=x;this._manuallyFloatingLabel=this._autocompleteDisabled=this._componentDestroyed=!1;this._viewportSubscription=C.Subscription.EMPTY;
this._canOpenOnNextFocus=!0;this._closeKeyEventStream=new C.Subject;this._windowBlurHandler=function(){y._canOpenOnNextFocus=y._document.activeElement!==y._element.nativeElement||y.panelOpen};this._onChange=function(){};this._onTouched=function(){};this.position="auto";this.autocompleteAttribute="off";this._overlayAttached=!1;this.optionSelections=(0,C.defer)(function(){var G=y.autocomplete?y.autocomplete.options:null;return G?G.changes.pipe(bg(G),cg(function(){return C.merge.apply(null,r(G.map(function(L){return L.onSelectionChange})))})):
y._zone.onStable.pipe(Rf(),cg(function(){return y.optionSelections}))});this._scrollStrategy=f};IP.prototype.ngAfterViewInit=function(){var a=this,b=this._getWindow();"undefined"!==typeof b&&this._zone.runOutsideAngular(function(){return b.addEventListener("blur",a._windowBlurHandler)})};IP.prototype.ngOnChanges=function(a){a.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())};
IP.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()};
var Jdb=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())};g=IP.prototype;g.updatePosition=function(){this._overlayAttached&&this._overlayRef.updatePosition()};
g._getOutsideClickStream=function(){var a=this;return(0,C.merge)((0,C.fromEvent)(this._document,"click"),(0,C.fromEvent)(this._document,"auxclick"),(0,C.fromEvent)(this._document,"touchend")).pipe(Gf(function(b){b=$h(b);var c=a._formField?a._formField._elementRef.nativeElement:null,d=a.connectedTo?a.connectedTo.elementRef.nativeElement:null;return a._overlayAttached&&b!==a._element.nativeElement&&a._document.activeElement!==a._element.nativeElement&&(!c||!c.contains(b))&&(!d||!d.contains(b))&&!!a._overlayRef&&
!a._overlayRef.overlayElement.contains(b)}))};g.writeValue=function(a){var b=this;Promise.resolve(null).then(function(){return b._assignOptionValue(a)})};g.registerOnChange=function(a){this._onChange=a};g.registerOnTouched=function(a){this._onTouched=a};g.setDisabledState=function(a){this._element.nativeElement.disabled=a};
g._handleKeydown=function(a){var b=a.keyCode,c=hi(a);27!==b||c||a.preventDefault();if(this.activeOption&&13===b&&this.panelOpen&&!c)this.activeOption._selectViaInteraction(),this._resetActiveItem(),a.preventDefault();else if(this.autocomplete){var d=this.autocomplete._keyManager.activeItem,e=38===b||40===b;if(9===b||e&&!c&&this.panelOpen)this.autocomplete._keyManager.onKeydown(a);else e&&this._canOpen()&&(this._attachOverlay(),this._floatLabel());if(e||this.autocomplete._keyManager.activeItem!==d)this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||
0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._element.nativeElement.value),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value))}};
g._handleInput=function(a){var b=a.target,c=b.value;"number"===b.type&&(c=""==c?null:parseFloat(c));this._previousValue!==c&&(this._previousValue=c,this._pendingAutoselectedOption=null,this._onChange(c),this._canOpen()&&this._document.activeElement===a.target&&(this._attachOverlay(),this._floatLabel()))};g._handleFocus=function(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0};
g._handleClick=function(){this._canOpen()&&!this.panelOpen&&(this._attachOverlay(),this._floatLabel())};g._floatLabel=function(a){this._formField&&"auto"===this._formField.floatLabel&&((void 0===a?0:a)?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)};g._resetLabel=function(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)};
g._subscribeToClosingActions=function(){var a=this,b=this._zone.onStable.pipe(Rf()),c=this.autocomplete.options.changes.pipe(eg(function(){return IKb(a._positionStrategy)}),Pf(0));return(0,C.merge)(b,c).pipe(cg(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}),
Rf()).subscribe(function(d){return a._setValueAndClose(d)})};g._destroyPanel=function(){this._overlayRef&&(Jdb(this),this._overlayRef.dispose(),this._overlayRef=null)};g._assignOptionValue=function(a){a=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(a):a;this._updateNativeInputValue(null!=a?a:"")};g._updateNativeInputValue=function(a){this._formField?this._formField._control.value=a:this._element.nativeElement.value=a;this._previousValue=a};
g._setValueAndClose=function(a){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();Jdb(this)};g._clearPreviousSelectedOption=function(a){this.autocomplete.options.forEach(function(b){b!==a&&b.selected&&b.deselect()})};
g._attachOverlay=function(){var a=this,b=this._overlayRef;if(b)this._positionStrategy.setOrigin(this._getConnectedElement()),b.updateSize({width:this._getPanelWidth()});else{var c;this._portal=new Mx(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.panelOpen&&c!==this.panelOpen&&this.autocomplete.opened.emit()};
g._getOverlayConfig=function(){var a,b;return new Az({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:null!=(b=this._dir)?b:void 0,panelClass:null==(a=this._defaults)?void 0:a.overlayPanelClass})};g._getOverlayPosition=function(){var a=LKb(Fz(Hz(this._overlay.position(),this._getConnectedElement()),!1),!1);this._setStrategyPositions(a);return this._positionStrategy=a};
g._setStrategyPositions=function(a){var b=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],c=this._aboveClass;c=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:c},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:c}];b="above"===this.position?c:"below"===this.position?b:[].concat(r(b),r(c));Dz(a,b)};
g._getConnectedElement=function(){if(this.connectedTo)var a=this.connectedTo.elementRef;else this._formField?(a=this._formField,a=a._connectionContainerRef||a._elementRef):a=this._element;return a};g._getPanelWidth=function(){return this.autocomplete.panelWidth||this._getHostWidth()};g._getHostWidth=function(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width};
g._resetActiveItem=function(){var a=this.autocomplete;if(a.autoActiveFirstOption){for(var b=-1,c=0;c<a.options.length;c++)if(!a.options.get(c).disabled){b=c;break}a._keyManager.setActiveItem(b)}else a._keyManager.setActiveItem(-1)};g._canOpen=function(){var a=this._element.nativeElement;return!a.readOnly&&!a.disabled&&!this._autocompleteDisabled};g._getWindow=function(){var a;return(null==(a=this._document)?void 0:a.defaultView)||window};
g._scrollToOption=function(a){var b=this.autocomplete,c=nma(a,b.options,b.optionGroups);0===a&&1===c?b._setScrollTop(0):b.panel&&(a=b.options.toArray()[a])&&(a=a._getHostElement(),b._setScrollTop(oma(a.offsetTop,a.offsetHeight,b._getScrollTop(),b.panel.nativeElement.offsetHeight)))};
g._handleOverlayEvents=function(a){var b=this;a.keydownEvents().subscribe(function(c){if(27===c.keyCode&&!hi(c)||38===c.keyCode&&hi(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()};
Xi.Object.defineProperties(IP.prototype,{autocompleteDisabled:{configurable:!0,enumerable:!0,get:function(){return this._autocompleteDisabled},set:function(a){this._autocompleteDisabled=bi(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,C.merge)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(Gf(function(){return a._overlayAttached})),
this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef._detachments.pipe(Gf(function(){return a._overlayAttached})):(0,C.of)()).pipe(B(function(b){return b instanceof mLb?b:null}))}},activeOption:{configurable:!0,enumerable:!0,get:function(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}}});IP.\u0275fac=function(a){return new (a||IP)(A(ke),A(Iz),A(fh),A(hg),A(qw),A(P7b),A(gz,8),A(TA,9),A(Vi,8),A(uz),A(O7b,8))};
IP.\u0275dir=qd({type:IP,inputs:{autocomplete:["matAutocomplete","autocomplete"],position:["matAutocompletePosition","position"],connectedTo:["matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"]},features:[Hd]});var R7b={provide:Ow,useExisting:cd(function(){return JP}),multi:!0},JP=function(){IP.apply(this,arguments);this._aboveClass="mat-autocomplete-panel-above"};W(JP,IP);JP.\u0275fac=function(){var a;return function(b){return(a||(a=ie(JP)))(b||JP)}}();
JP.\u0275dir=qd({type:JP,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-autocomplete-trigger"],hostVars:7,hostBindings:function(a,b){a&1&&K("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&&ug("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:[Ug([R7b]),qg]});var KP=function(){var a=HP.apply(this,arguments)||this;a._visibleClass="mat-autocomplete-visible";a._hiddenClass="mat-autocomplete-hidden";return a};W(KP,HP);KP.\u0275dir=HP.\u0275dir;KP.\u0275fac=function(){var a;return function(b){return(a||(a=ie(KP)))(b||KP)}}();
KP.\u0275cmp=p({type:KP,selectors:[["mat-autocomplete"]],contentQueries:function(a,b,c){a&1&&(jh(c,YKb,5),jh(c,vA,5));if(a&2){var d;hh(d=kh())&&(b.optionGroups=d);hh(d=kh())&&(b.options=d)}},hostAttrs:["ngSkipHydration","true",1,"mat-autocomplete"],inputs:{disableRipple:"disableRipple"},exportAs:["matAutocomplete"],features:[Ug([{provide:XKb,useExisting:KP}]),qg],ngContentSelectors:["*"],decls:1,vars:0,consts:[["role","listbox",1,"mat-autocomplete-panel",3,"id","ngClass"],["panel",""]],template:function(a){a&
1&&(Ng(),P(0,yFa,3,4,"ng-template"))},dependencies:[ww],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 LP=function(){};LP.\u0275fac=function(a){return new (a||LP)};LP.\u0275mod=od({type:LP});LP.\u0275inj=Wc({providers:[Q7b],imports:[Lz,wA,Mz,Mw,xz,wA,Mz]});var MP=function(a,b,c,d,e,f,h){Z.call(this);var l=this;this.cdr=a;this.paths=b;this.issueFridge=c;this.relatedIssues=d;this.errorHandler=e;this.domSafe=f;this.currentTracker=h;this.STATUS_ICON=aVb;this.entrySelect=new Rv;this.selectedIssues=[];this.asyncChoices=[];this.choices=[];this.currentQuery="";this.hasLoadedResults=!0;this.searchingForSelf=!1;this.queryInternal="";this.queryChange=new Rv;this.getTextToPutInInputOnSelect=function(){return l.query}};W(MP,Z);MP.\u0275dir=Z.\u0275dir;
MP.prototype.ngOnInit=function(){var a=this;this.queryChange.pipe(Nf(250),dg(this.destroyed$)).subscribe(function(b){a.doSearch(b)})};MP.prototype.ngOnChanges=function(a){a.defaultChoices&&(this.choices=[].concat(r(this.defaultChoices),r(this.asyncChoices)))};MP.prototype.selectIssue=function(a){S7b(this,[a])};
var U7b=function(a){var b=a.split(",").map(function(c){return c.trim()}).filter(function(c){return!!c});if(T7b(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]},T7b=function(a){return!a.some(function(b){return!!/[^0-9]/.test(b)})};MP.prototype.search=function(a){"string"===typeof a&&(this.query=a)};
MP.prototype.doSearch=function(a){this.currentQuery=a;this.searchingForSelf=!1;if(""===a)V7b(this);else{var b=U7b(a);1===b.length||1<b.length&&this.allowMultipleIds?(this.lastSearchType="id",W7b(this,b,a)):(this.lastSearchType="query",this.searchAsync(a))}};
var V7b=function(a){a.choices=a.defaultChoices;a.asyncChoices=[];a.hasLoadedResults=!0;S7b(a,[])},S7b=function(a,b){a.selectedIssues=b;a.entrySelect.emit(a.selectedIssues);var c;null==(c=a.autocomplete)||Jdb(c)},W7b=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,V7b(a)):(a.choices=X7b(a,b),a.hasLoadedResults=!1,a.issueFridge.watchSet(b).pipe(Rf(),dg(a.destroyed$)).subscribe(function(e){if(a.currentQuery===
c){var f=e.reduce(function(h,l){var q=Ba(l.snapshot);return h.set(l.issueId,{resourceId:l.issueId,displayText:q.title,status:q.status,relations:[]})},new Map);Xa(b);e=b.map(function(h){return f.get(h)});e.includes(void 0)?a.asyncChoices=[]:a.asyncChoices=e;a.choices=[].concat(r(a.choices),r(a.asyncChoices));S7b(a,a.asyncChoices);a.hasLoadedResults=!0;a.cdr.detectChanges()}},function(){a.asyncChoices=[];a.hasLoadedResults=!0;a.cdr.detectChanges()}))};
MP.prototype.searchAsync=function(a){var b=this;this.choices=Y7b(this,a);this.hasLoadedResults=!1;if(Hm(a))this.hasLoadedResults=!0;else{var c=Z7b(a,this.defaultChoices),d,e;this.relatedIssues.get({query:c,trackerId:this.currentTracker.getTrackerId(),resourceType:null==(d=this.currentResource)?void 0:d.type,resourceId:hk(null==(e=this.currentResource)?void 0:e.id),nonParallelRequest:!0}).then(function(f){b.currentQuery===a&&(f=f.issueDigests.map(function(h){return{resourceId:h.issueId,displayText:h.title,
status:h.status,relations:[]}}),b.choices=[].concat(r(b.choices),r(f)),b.cdr.detectChanges())},function(f){b.errorHandler.errorHandler(null,f)}).finally(function(){b.hasLoadedResults=!0})}};var X7b=function(a,b){return a.defaultChoices.filter(function(c){return c.resourceId.toString().startsWith(b[0])})},Y7b=function(a,b){return Hm(b)?a.defaultChoices:a.defaultChoices.filter(function(c){return c.displayText.toLowerCase().startsWith(b.toLowerCase())})};MP.prototype.getIssueLink=function(a){return this.paths.editIssue(a.resourceId)};
var EFa=function(a){return a.relations.map(function(b){return $7b.get(b)}).filter(function(b){return!!b}).join("/")},Z7b=function(a,b){if(0===b.length)return a;b=b.map(function(c){return c.resourceId}).join("|");return a+" -id:("+b+")"};MP.prototype.onEnter=function(a){var b;(null==(b=this.autocomplete)?0:b.panelOpen)&&a.stopPropagation()};Xi.Object.defineProperties(MP.prototype,{query:{configurable:!0,enumerable:!0,get:function(){return this.queryInternal},set:function(a){this.queryInternal=a;this.queryChange.emit(a)}}});
MP.\u0275fac=function(a){return new (a||MP)(A(sH,2),A(NG),A(BH),A(GP),A(ZF),A(PK),A(mL))};
MP.\u0275cmp=p({type:MP,selectors:[["b-simple-issue-picker"]],viewQuery:function(a,b){a&1&&ih(JP,5);if(a&2){var c;hh(c=kh())&&(b.autocomplete=c.first)}},inputs:{defaultChoices:"defaultChoices",currentResource:"currentResource",allowMultipleIds:"allowMultipleIds"},outputs:{entrySelect:"entrySelect",queryChange:"queryChange"},features:[Ug([GP,sH]),qg,Hd],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&&(E(0,"div",0),P(1,zFa,3,0,"div",1),E(2,"div",2)(3,"input",3),K("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))}),F(),E(4,"mat-autocomplete",4,5),K("optionActivated",function(d){b.activeChoice=null==d.option?null:d.option.value})("optionSelected",function(d){return b.selectIssue(d.option.value)}),P(6,AFa,3,1,"mat-option",6),P(7,BFa,2,0,"mat-option",7),P(8,FFa,14,13,"mat-option",8),F()()());if(a&2){var c=O(5);z(1);D("ngIf",b.searchingForSelf);z(2);D("ngModel",b.query)("matAutocomplete",
c);ug("aria-label",0<b.selectedIssues.length?"issue "+b.selectedIssues[0].resourceId+" selected. Change.":"Choose issue");z(1);D("displayWith",b.getTextToPutInInputOnSelect);z(2);D("ngIf",""!==b.query&&!b.hasLoadedResults);z(1);D("ngIf",""!==b.query&&!!b.hasLoadedResults&&0===b.choices.length);z(1);D("ngForOf",b.choices)}},dependencies:[xw,yw,Qh,ax,hx,iK,jK,nK,kK,yP,KP,JP,vA,uA,jB,zM,OJ],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 $7b=new Map([["BLOCKED_BY","blocked"],["BLOCKING","blocking"],["DUPLICATE","duplicate"],["CANONICAL","canonical"]]);var NP=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+"+":""},JFa=function(a){if(""!==a.queryRestriction&&null!=a.issuePicker){var b=a.issuePicker.query;a.issuePicker.query=a.isQueryRestricted?b.replace(new RegExp(kp(a.queryRestriction)+" ?"),""):a.queryRestriction+
" "+b}};g=NP.prototype;g.onQueryChange=function(a){this.isQueryRestricted=""!==this.queryRestriction&&a.includes(this.queryRestriction)};g.onEnter=function(){if(0!==this.selectedIssues.length)this.onPressConfirm()};g.onEscape=function(){this.dialogRef.close()};g.onPressConfirm=function(){var a,b={selectedIssueIds:this.selectedIssues.map(function(c){return c.resourceId}),lastSearchType:null==(a=this.issuePicker)?void 0:a.lastSearchType};this.dialogRef.close(b)};g.onPressCancel=function(){this.dialogRef.close()};
NP.\u0275fac=function(a){return new (a||NP)(A(FA),A(HA),A(xJ))};
NP.\u0275cmp=p({type:NP,selectors:[["ng-component"]],viewQuery:function(a,b){a&1&&ih(MP,5);if(a&2){var c;hh(c=kh())&&(b.issuePicker=c.first)}},hostBindings:function(a,b){a&1&&K("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&&(E(0,"h2",0),Q(1),F(),E(2,"div",1)(3,"div",2),P(4,HFa,2,1,"div",3),P(5,IFa,6,2,"div",3),F(),E(6,"div",4)(7,"div",5),P(8,KFa,2,2,"div",6),E(9,"b-simple-issue-picker",
7),K("keydown.enter",function(){return b.onEnter()})("entrySelect",function(c){b.selectedIssues=c})("queryChange",function(c){return b.onQueryChange(c)}),F()()()(),E(10,"div",8)(11,"button",9),K("click",function(){return b.onPressCancel()}),Q(12," Cancel "),F(),E(13,"button",10),K("click",function(){return b.onPressConfirm()}),Q(14," Confirm "),F()());a&2&&(z(1),R(" ",b.data.title,"\n"),z(3),D("ngIf",1<b.selectedIssues.length),z(1),D("ngIf",1===b.selectedIssues.length),z(3),D("ngIf",!!b.queryRestriction),
z(1),Fg("bv2-rel-issue-issue-picker-full-width",!!b.queryRestriction),D("defaultChoices",b.data.defaultChoices)("currentResource",b.data.currentResource)("allowMultipleIds",b.data.allowMultipleIds),z(4),D("disabled",!b.selectedIssues.length))},dependencies:[xw,yw,tA,KA,LA,MA,jB,NC,MP],encapsulation:2});var OP=function(){};OP.\u0275fac=function(a){return new (a||OP)};OP.\u0275mod=od({type:OP});OP.\u0275inj=Wc({imports:[Mz,Mw,Mz]});var PP=function(){};PP.\u0275fac=function(a){return new (a||PP)};PP.\u0275mod=od({type:PP});PP.\u0275inj=Wc({imports:[Mw,OP]});var QP=function(){};QP.\u0275fac=function(a){return new (a||QP)};QP.\u0275mod=od({type:QP});QP.\u0275inj=Wc({imports:[XJ,Mw,wx,JN,FP,LP,YC,NA,OC,ID,PP]});var a8b=new Bd("XapHatsSurveyApiKey"),b8b=new Bd("XapHatsSurveyLocale"),c8b=new Bd("XapHatsSurveyWindow"),d8b=new Bd("XapHatsSurveyListnrProductId");var e8b=new Map([[0,1],[1,2]]),RP=function(a,b,c,d,e){var f=function(){var h={apiKey:a,locale:null!=c?c:"en-US",window:d};h=eSb(hSb,"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 gSb(h)};this.helpService=e?e.runOutsideAngular(f):f()},f8b=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 C.Observable(function(f){a.helpService.requestSurvey({triggerId:b,enableTestingMode:d.enableTestingMode,nonProd:d.nonProd,callback:function(h){null!=h.surveyData&&f.next(h.surveyData);f.complete()},authuser:e})})).pipe(cg(function(f){return new C.Observable(function(h){var l;a.helpService.presentSurvey({surveyData:f,
colorScheme:d.theme?e8b.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(f.surveyMetadata)})}))};RP.\u0275fac=function(a){return new (a||RP)(n(a8b),n(d8b),n(b8b,8),n(c8b,8),n(hg,8))};RP.\u0275prov=Vc({token:RP,factory:RP.\u0275fac,providedIn:"any"});var g8b=Mp.ISSUE_PICKER,SP=function(a,b,c,d){this.dialog=a;this.analytics=b;this.hatsService=c;this.activeSession=d};
SP.prototype.open=function(a,b){var c=this,d=h8b(this,a),e=d.dialog,f=d.config;return new Promise(function(h){DA(c.dialog.open(e,f)).subscribe(function(l){var q,u=null!=(q=null==l?void 0:l.selectedIssueIds)?q:[],x;l=null!=(x=null==l?void 0:l.lastSearchType)?x:"";x=[a.originIsBulk?"bulk":void 0,1<u.length?"search-multi":"search",a.edgeType].filter(Boolean).join("-");c.analytics.trackEvent(g8b,x,l);null==b||b(u);h(u);c.activeSession.isInternalSession()&&"id"===l&&f8b(c.hatsService,"etC5mMepi0g6pPHSLo10TaNs15gn").pipe(Rf()).subscribe()})})};
var h8b=function(a,b){var c={panelClass:"no-jitter",data:b};return DE(a.activeSession,"enableIDPCanonicalIssuePicker")&&"canonical"===b.edgeType?(c.width="60vw",c.minWidth="600px",{dialog:FN,config:c}):{dialog:NP,config:c}};SP.\u0275fac=function(a){return new (a||SP)(n(IA),n(wH),n(RP),n(Vt))};SP.\u0275prov=Vc({token:SP,factory:SP.\u0275fac,providedIn:"root"});var TP=function(){};TP.\u0275fac=function(a){return new (a||TP)};TP.\u0275mod=od({type:TP});TP.\u0275inj=Wc({imports:[QP,wO]});var Np={ASSIGNED_TO_ME:{key:"ASSIGNED_TO_ME",displayAs:"Assigned to me",check:function(a){var b;return!!rn().user.email&&rn().user.email===(null==(b=a.snapshot[0].assigneeUser)?void 0:b.emailAddress)},queryFragment:"assignee:me"},OPEN:{key:"OPEN",displayAs:"Open",check:function(a){return Dn(a)},queryFragment:"status:open"}};var UP=function(a){this.pathToAncestor=a},Pp=function(a){return new UP(a.split(">"))},VP=function(a,b){return new UP([].concat(r(a.pathToAncestor),[b]))};UP.prototype.hash=function(){return this.pathToAncestor.join(">")};UP.prototype.equals=function(a){return!!a&&Fj(this.pathToAncestor,a.pathToAncestor)};var i8b=function(a,b){a=m(a.pathToAncestor.entries());for(var c=a.next();!c.done;c=a.next()){c=m(c.value);var d=c.next().value;if(c.next().value!==b.pathToAncestor[d])return!1}return!0};
UP.prototype.contains=function(a){return this.pathToAncestor.join(",").includes(a.pathToAncestor.join(","))};UP.prototype.some=function(a){return this.pathToAncestor.some(a)};UP.prototype.toString=function(){return this.hash()};
Xi.Object.defineProperties(UP.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 UP(this.pathToAncestor.slice(0,this.size-1))}},root:{configurable:!0,enumerable:!0,get:function(){return this.pathToAncestor[0]}}});var WP=function(){var a=this;this.draftRows=new Map;this.changed$=new C.Subject;this.counter=0;this.createId=function(){return String(a.counter++)}};WP.prototype.create=function(a,b,c){var d=this.createId();b={type:"draft-issue",title:"",ancestorChain:VP(a,d),level:a.size-1,issue$:(0,C.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};
WP.prototype.get=function(a){var b;return null!=(b=this.draftRows.get(a.hash()))?b:[]};WP.prototype.remove=function(a){var b=a.ancestorChain.parentChain,c=this.get(b),d=c.filter(function(f){return f.id!==a.id});if(c.length!==d.length){c=m(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 j8b=function(a,b){return of(function(c){return c.return((0,C.firstValueFrom)(a.changed$.pipe(bg(a.draftRows),B(function(d){return![].concat(r(d.values())).flat().some(function(e){return e.issueId===b||e.id===b})}),Gf(Boolean),B(function(){}))))})},k8b=function(a,b,c){b.issueId=c;for(var d=m(a.draftRows.values()),e=d.next();!e.done;e=d.next()){e=m(e.value);for(var f=e.next();!f.done;f=e.next())f=f.value,f.afterDraftId===b.id&&(f.afterIssueId=c)}a.changed$.next(a.draftRows)};
WP.prototype.isSaving=function(){return[].concat(r(this.draftRows.values())).flat().some(function(a){return a.saving})};WP.prototype.set=function(a,b){var c=this.get(a);this.draftRows.set(a.hash(),[].concat(r(c),[b]));this.changed$.next(this.draftRows)};var l8b={defaultExpandedChildren:0,defaultExpansionLevel:0,maxExpansion:Infinity},m8b=function(a){var b={defaultExpansionLevel:3,defaultExpandedChildren:10,maxExpansion:500};b=void 0===b?l8b:b;a=void 0===a?{}:a;this.config=b;this.expansionState=this.initialState=a;this.changed$=new C.ReplaySubject(1)},XP=function(a,b){b=b.hash();return a.expansionState[b]},YP=function(a,b,c){b=b.hash();void 0===c?delete a.expansionState[b]:a.expansionState[b]=c;a.changed$.next(a.expansionState)},n8b=function(a,b,
c){var d=!1;c=m(c);for(var e=c.next();!e.done;e=c.next()){e=e.value;var f=VP(b,e.nodeId);e.size<=a.config.defaultExpansionLevel&&void 0===XP(a,e)&&(a.expansionState[f.hash()]=a.config.defaultExpandedChildren,d=!0);for(var h=m(Object.entries(a.expansionState)),l=h.next();!l.done;l=h.next()){l=m(l.value);var q=l.next().value;l=l.next().value;q=Pp(q);q.contains(e)&&(d=q.pathToAncestor.join(",").replace(e.pathToAncestor.join(","),f.pathToAncestor.join(",")).split(","),d=new UP(d),delete a.expansionState[q.hash()],
a.expansionState[d.hash()]=l,d=!0)}}if(!XP(a,b)){var u;a.expansionState[b.hash()]=null!=(u=a.config.defaultExpandedChildren)?u:a.config.maxExpansion;d=!0}d&&a.changed$.next(a.expansionState)},o8b=function(a){var b=new Map;a=m(Object.entries(a.expansionState));for(var c=a.next();!c.done;c=a.next()){c=m(c.value);var d=c.next().value;c=c.next().value;d=Pp(d).nodeId;var e=void 0;c=Math.max(c,null!=(e=b.get(d))?e:0);b.set(d,c)}return b};var ZP=function(a,b,c,d,e){this.issueApi=a;this.activeSession=b;this.issueFridge=c;this.componentFridge=d;this.componentTemplatesFridge=e;this.currentUser=gk(this.activeSession.getUserEmail())},q8b=function(a,b){var c,d,e;return of(function(f){if(1==f.nextAddress)return f.yield(p8b(a,b),2);c=f.yieldResult;d=c.component;e=c.defaultTemplate;return f.return(vra(d,e))})},s8b=function(a,b){var c;return of(function(d){if(1==d.nextAddress)return d.yield(r8b(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:[]})})},t8b=function(a,b,c){var d;return of(function(e){if(1==e.nextAddress)return e.yield(r8b(a,b),2);d=e.yieldResult;d.title=c;return e.return(a.create(d))})};
ZP.prototype.create=function(a){var b=this,c,d;return of(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 r8b=function(a,b){var c,d,e,f,h;return of(function(l){if(1==l.nextAddress)return l.yield((0,C.firstValueFrom)(a.issueFridge.watch(b).pipe(Gf(nk))),2);if(3!=l.nextAddress)return c=l.yieldResult,l.yield(p8b(a,String(c.snapshot[0].componentId)),3);d=l.yieldResult;e=d.component;f=d.defaultTemplate;if(c){var q={};c.snapshot[0].priority&&(q.priority=c.snapshot[0].priority);c.snapshot[0].severity&&(q.severity=c.snapshot[0].severity);c.snapshot[0].type&&(q.type=sZb[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,u8b(f),v8b(e,f));h.assigneeUser&&(h.status="ASSIGNED");return l.return(h)})},u8b=function(a){if(!a)return{};a=oc(a.snapshot,function(b){return null==b||"string"===typeof b&&Hm(b)?!1:!0});delete a.componentId;return a},v8b=function(a,b){var c=[],d,e,f={};a=m(null!=(e=null==(d=a.componentPathInfo)?
void 0:d.allCustomField)?e:[]);for(d=a.next();!d.done;f={$jscomp$loop$prop$customField$2266:f.$jscomp$loop$prop$customField$2266},d=a.next())if(f.$jscomp$loop$prop$customField$2266=d.value,f.$jscomp$loop$prop$customField$2266.required){e=void 0;d=null!=(e=f.$jscomp$loop$prop$customField$2266.typedDefaultValue)?e:new Uj({customFieldId:f.$jscomp$loop$prop$customField$2266.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(u){return function(x){return x.customFieldId===
u.$jscomp$loop$prop$customField$2266.customFieldId}}(f)))?l:d;q&&c.push(Object.assign({},q))}return 0===c.length?{}:{customField:c}},p8b=function(a,b){var c,d,e,f,h,l;return of(function(q){if(1==q.nextAddress)return q.yield(Promise.all([(0,C.firstValueFrom)(a.componentTemplatesFridge.defaultTemplate$(b)),(0,C.firstValueFrom)(a.componentFridge.watch(b).pipe(Gf(nk)))]),2);c=q.yieldResult;d=m(c);e=d.next().value;f=d.next().value;h=e;l=f;return q.return({component:l,defaultTemplate:h})})};
ZP.\u0275fac=function(a){return new (a||ZP)(n(PE),n(Vt),n(BH),n(xF),n(dG))};ZP.\u0275prov=Vc({token:ZP,factory:ZP.\u0275fac,providedIn:"root"});var $P=function(a,b,c,d,e,f,h,l,q,u,x,y,G){Z.call(this);var L=this;this.rootIssueId=a;this.quickFilters=b;this.saveExpansionAtKey=c;this.analytics=d;this.butterBar=e;this.issueFridge=f;this.issuePicker=h;this.issueRelationshipsFridge=l;this.paths=q;this.router=u;this.issueCreationService=x;this.clearcut=y;this.refreshMonitor=G;var M;this.recallExpansion=jH(null!=(M=this.saveExpansionAtKey)?M:"");var T;this.saveExpansion=Pq(null!=(T=this.saveExpansionAtKey)?T:"");this.expansion=new m8b(this.recallExpansion());
this.draftRows=new WP;this.refetchingAll$=new C.BehaviorSubject(!1);this.userRequestedRefresh$=this.refreshMonitor.getObservable().pipe(cg(function(){L.refetchingAll$.next(!0);var S=Zo(L.rows$),X=[];if(!S)return Promise.resolve();X.push(wZb(L.issueRelationshipsFridge,L.rootIssueId));S=m(S);for(var aa=S.next();!aa.done;aa=S.next())aa=aa.value,"data"===aa.type&&X.push(L.issueFridge.poke(aa.id)),1<aa.level&&X.push(L.issueRelationshipsFridge.poke(aa.id));return Promise.all(X).then(function(){L.refetchingAll$.next(!1)})}));
this.rows$=(0,C.merge)(this.draftRows.changed$,this.expansion.changed$,this.userRequestedRefresh$,(0,C.scheduled)((0,C.of)({}),C.asapScheduler)).pipe(cg(function(){return JH(L.issueRelationshipsFridge,L.rootIssueId,3)}),cg(function(){var S=new Set([].concat(r(o8b(L.expansion).keys())));return L.getParentToChildrenMap(S)}),cg(function(S){return L.quickFilters.value$.pipe(cg(function(X){return L.applyFilters(S,[].concat(r(X)))}))}),B(function(S){return L.calculateDisplayedRows(S)}),$f({refCount:!0,
bufferSize:1}));this.filteredRowCount$=new C.BehaviorSubject(0);this.rootIssue$=this.issueFridge.watch(this.rootIssueId).pipe(Gf(nk));this.ROOT_ROW={type:"data",id:this.rootIssueId,level:-1,ancestorChain:new UP([this.rootIssueId]),expandedCount:500,issue$:C.NEVER,hasChildren$:C.NEVER};this.supportsOneLineCreation=(0,C.firstValueFrom)(this.rootIssue$).then(function(S){return op(S.snapshot[0].componentId)}).then(function(S){return q8b(L.issueCreationService,S)});this.isOneLineCreationSupported=function(){return L.supportsOneLineCreation};
this.saveExpansionAtKey&&this.subscriptions.add(this.expansion.changed$.pipe(Nf(100)).subscribe(function(S){L.saveExpansion(S)}))};W($P,Z);$P.\u0275dir=Z.\u0275dir;$P.\u0275fac=Z.\u0275fac;g=$P.prototype;
g.createChildOrDraft=function(a,b){a=void 0===a?this.ROOT_ROW.ancestorChain:a;var c=this,d,e,f,h,l,q,u;of(function(x){switch(x.nextAddress){case 1:return d=a.nodeId,x.yield((0,C.firstValueFrom)(c.issueFridge.watch(d)),2);case 2:return(e=x.yieldResult)?x.yield(c.supportsOneLineCreation,3):x.return();case 3:f=x.yieldResult;if(!f){x.jumpTo(4);break}return x.yield(s8b(c.issueCreationService,d),5);case 5:return h=x.yieldResult,x.return(c.draftRows.create(a,h,b));case 4:return l=e.snapshot[0].componentId,
u={},x.yield(Gt(c.router,c.paths.createIssue((u.component=l?String(l):void 0,u.parentIssueId=e.issueId,u.redirectUrl=ao(c.rootIssueId),u.afterIssueId=null==(q=b)?void 0:q.afterIssueId,u))),6);case 6:return x.return()}})};
g.addExistingChild=function(a){var b=this,c,d,e,f;of(function(h){if(1==h.nextAddress)return h.yield((0,C.firstValueFrom)(null!=(d=null==(c=a)?void 0:c.issue$)?d:b.rootIssue$),2);e=h.yieldResult;if(!e)return h.return();f=String(e.issueId);return h.yield(b.issuePicker.open({title:"Add Children of b/"+f,allowMultipleIds:!0,edgeType:"child"},function(l){return of(function(q){if(1==q.nextAddress){if(0===l.length)return q.return();b.assignParentToIssues(f,l);b.analytics.trackEvent(Mp.EXPERIMENTAL_HOMEPAGE,
"add","existing-child-issue");return q.yield(Fp(),2)}a&&YP(b.expansion,a.ancestorChain,500);tf(q)})}),0)})};g.deleteDraftRow=function(a){this.draftRows.remove(a)};g.saveDraft=function(a){var b=this,c;return of(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()})};
g.createIssueFromDraft=function(a){var b=this,c,d,e,f;return of(function(h){switch(h.nextAddress){case 1:return c=a.ancestorChain.parentNodeId,pf(h,2),h.yield(t8b(b.issueCreationService,c,a.title),4);case 4:e=h.yieldResult;d=e.issueId;au(h,3);break;case 2:return f=sf(h),XF(b.butterBar,"Could not create issue. Error: "+JSON.stringify(f)),b.deleteDraftRow(a),h.return();case 3:return b.trackIssueCreationTime(a),YP(b.expansion,a.ancestorChain.parentChain,500),k8b(b.draftRows,a,d),h.return(d)}})};
g.assignParentToIssue=function(a,b){var c=this,d,e,f,h,l,q;return of(function(u){if(1==u.nextAddress)return d=a.ancestorChain.parentNodeId,f=null!=(e=a.afterIssueId)?e:a.afterDraftId,void 0===f||"-1"===f?u.jumpTo(2):u.yield(j8b(c.draftRows,f),2);if(4!=u.nextAddress)return u.yield(c.issueRelationshipsFridge.assignParentToIssues(d,[{issueId:b,afterIssueId:a.afterIssueId}]),4);h=u.yieldResult;l=h.errors;(null==(q=l)?0:q.length)&&XF(c.butterBar,"Could not create issue relationship. Error: "+JSON.stringify(l));
c.deleteDraftRow(a);tf(u)})};
g.getParentToChildrenMap=function(a,b){var c=this;b=void 0===b?0:b;return(0,C.combineLatest)([this.rootIssueId].concat(r(a.keys())).map(function(d){return c.refetchingAll$.pipe(Gf(function(e){return!e}),cg(function(){return vZb(c.issueRelationshipsFridge,d)}))})).pipe(B(function(d){return d.filter(Boolean)}),cg(function(d){var e=new Map(d.map(function(f){return[f.issueId,f]}));if(1===b)return(0,C.of)(e);d=c.getIdsAtLevel(e,b);return c.getParentToChildrenMap(d,b+1).pipe(B(function(f){return $wa(e,f)}))}))};
g.getIdsAtLevel=function(a,b){for(var c=new Set,d=[{id:this.rootIssueId,level:-1}],e={};0<d.length;){e.$jscomp$loop$prop$current$2268=d.pop();e.$jscomp$loop$prop$current$2268.level===b&&c.add(e.$jscomp$loop$prop$current$2268.id);if(!(e.$jscomp$loop$prop$current$2268.level>b)){var f=void 0,h=void 0,l=null!=(h=null==(f=a.get(e.$jscomp$loop$prop$current$2268.id))?void 0:f.relatedChildren)?h:[];d.push.apply(d,r(l.map(function(q){return function(u){return{id:u.targetIssueId,level:q.$jscomp$loop$prop$current$2268.level+
1}}}(e))))}e={$jscomp$loop$prop$current$2268:e.$jscomp$loop$prop$current$2268}}return c};
g.calculateDisplayedRows=function(a){for(var b=this,c=[],d=[this.ROOT_ROW],e={};0<d.length;){e.$jscomp$loop$prop$parentRow$2270=d.pop();if("load-more-children"===e.$jscomp$loop$prop$parentRow$2270.type||"draft-issue"===e.$jscomp$loop$prop$parentRow$2270.type)c.push(e.$jscomp$loop$prop$parentRow$2270);else{e.$jscomp$loop$prop$parentRow$2270.id!==this.rootIssueId&&c.push(e.$jscomp$loop$prop$parentRow$2270);var f=void 0,h=void 0,l=null!=(h=null==(f=a.get(e.$jscomp$loop$prop$parentRow$2270.id))?void 0:
f.relatedChildren)?h:[];f=l.slice(0,e.$jscomp$loop$prop$parentRow$2270.expandedCount);f.length&&(e.$jscomp$loop$prop$parentRow$2270.hasChildren$=(0,C.of)(!0));e.$jscomp$loop$prop$childrenLevel$2271=e.$jscomp$loop$prop$parentRow$2270.level+1;e.$jscomp$loop$prop$parentRow$2270.expandedCount&&f.length<l.length&&(h=VP(e.$jscomp$loop$prop$parentRow$2270.ancestorChain,"load-more-children"),d.push({type:"load-more-children",id:h.hash(),level:e.$jscomp$loop$prop$childrenLevel$2271,parentIssue$:e.$jscomp$loop$prop$parentRow$2270.issue$,
ancestorChain:h,truncatedSiblingCount:l.length-f.length}));l=f.map(function(q){return function(u){var x=VP(q.$jscomp$loop$prop$parentRow$2270.ancestorChain,u.targetIssueId);return{type:"data",id:u.targetIssueId,level:q.$jscomp$loop$prop$childrenLevel$2271,hasChildren$:w8b(b,u.targetIssueId),ancestorChain:x,expandedCount:b.getExpandedCount(x,q.$jscomp$loop$prop$childrenLevel$2271,a),issue$:b.issueFridge.watch(u.targetIssueId)}}}(e));d.push.apply(d,r(this.interpolateDraftRows(l,e.$jscomp$loop$prop$parentRow$2270.ancestorChain).reverse()))}e=
{$jscomp$loop$prop$parentRow$2270:e.$jscomp$loop$prop$parentRow$2270,$jscomp$loop$prop$childrenLevel$2271:e.$jscomp$loop$prop$childrenLevel$2271}}return c};
var w8b=function(a,b){return a.issueRelationshipsFridge.watch(b).pipe(cg(function(c){return c&&c.relatedChildren.length?a.quickFilters.value$.pipe(cg(function(d){return 0===d.size?(0,C.of)(!0):a.issueFridge.watchSet(c.relatedChildren.map(function(e){return e.targetIssueId})).pipe(B(function(e){return e.some(function(f){return LFa(f,[].concat(r(d)))})}))})):(0,C.of)(!1)}))};g=$P.prototype;
g.interpolateDraftRows=function(a,b){var c=[].concat(r(a)),d=this.draftRows.get(b);b={};d=m(d);for(var e=d.next();!e.done;b={$jscomp$loop$prop$draft$2274:b.$jscomp$loop$prop$draft$2274},e=d.next())b.$jscomp$loop$prop$draft$2274=e.value,a.some(function(f){return function(h){return h.id===f.$jscomp$loop$prop$draft$2274.issueId}}(b))||(e=c.findIndex(function(f){return function(h){return h.id===f.$jscomp$loop$prop$draft$2274.afterDraftId||h.id===f.$jscomp$loop$prop$draft$2274.afterIssueId}}(b)),c.splice(-1===
e?c.length:e+1,0,b.$jscomp$loop$prop$draft$2274));return c};g.getExpandedCount=function(a,b,c){var d=a.nodeId;a=XP(this.expansion,a);if(void 0!==a)return a;if(1>b){var e,f;return Math.min(10,null!=(f=null==(e=c.get(d))?void 0:e.relatedChildren.length)?f:0)}return 0};
g.assignParentToIssues=function(a,b){var c=this,d,e,f,h;return of(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;f=d.errors;if(e.length)return XF(c.butterBar,"Could not add "+e+" as child of b/"+a+". "+(null==(h=f)?void 0:h.map(function(q){return Wn(q)}))),l.return();tf(l)})};
g.trackIssueCreationTime=function(a){a=(new Date).getTime()-a.draftStartedAt.getTime();if(0<a){var b=Math.min(a,108E5);fZb("createIssue",b,"from-tree");this.analytics.trackEvent(Mp.CREATE_ISSUE,"createIssue","time-to-create-from-tree",b);lH(this.clearcut,a,"createIssue-fromTree")}};
g.getAllIssues=function(a){var b=this,c,d,e,f,h,l,q,u,x,y,G,L;return of(function(M){if(1==M.nextAddress){c=new Set;d=m(a.keys());for(e=d.next();!e.done;e=d.next())f=e.value,c.add(f);h=m(a.values());for(l=h.next();!l.done;l=h.next())for(q=l.value,u=q.relatedChildren.map(function(T){return T.targetIssueId}),x=m(u),y=x.next();!y.done;y=x.next())G=y.value,c.add(G);return M.yield(Promise.all([].concat(r(c)).map(function(T){return(0,C.firstValueFrom)(b.issueFridge.watch(T))})),2)}L=M.yieldResult;return M.return(vn(L.filter(nk),
function(T){return T.issueId}))})};
g.applyFilters=function(a,b){function c(q){if(!q)return!1;var u=e.get(q),x=h.get(q);if(!u||0===u.relatedChildren.length)return x;var y=u.relatedChildren.filter(function(G){return c(G.targetIssueId)});l+=u.relatedChildren.length-y.length;e.set(q,Object.assign({},u,{relatedChildren:y}));return 0!==y.length||x}var d=this,e,f,h,l;return of(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)}f=q.yieldResult;
h=new Map(f.map(function(u){return[u.issueId,LFa(u,b)]}));l=0;c(d.rootIssueId);d.filteredRowCount$.next(l);return q.return(e)})};var aQ=function(a,b,c,d,e,f,h,l,q,u){this.analytics=a;this.butterBar=b;this.issueFridge=c;this.issuePicker=d;this.issueRelationshipsFridge=e;this.paths=f;this.router=h;this.issueCreationService=l;this.clearcut=q;this.refreshMonitor=u};
aQ.prototype.create=function(a,b,c){b=void 0===b?new YJ:b;return new $P(a,b,c,this.analytics,this.butterBar,this.issueFridge,this.issuePicker,this.issueRelationshipsFridge,this.paths,this.router,this.issueCreationService,this.clearcut,this.refreshMonitor)};aQ.\u0275fac=function(a){return new (a||aQ)(n(wH),n(VF),n(BH),n(SP),n(IH),n(NG),n(FG),n(ZP),n(kH),n(zH))};aQ.\u0275prov=Vc({token:aQ,factory:aQ.\u0275fac,providedIn:"root"});var bQ=function(a){this.clApi=a};bQ.prototype.transform=function(a){var b=this;return a.pipe(cg(function(c){if(null==c)return(0,C.of)(c);var d,e=Ba(null!=(d=c.snapshot[0].changelist)?d:[]);return e?b.clApi.getChangelistDetails(e).pipe(B(function(f){return Object.assign({},f,{changelistNumber:Number(e)})})):(0,C.of)(void 0)}),$f({bufferSize:1,refCount:!0}))};bQ.\u0275fac=function(a){return new (a||bQ)(A(ND,16))};bQ.\u0275pipe=rd({name:"mostRecentCL$",type:bQ,pure:!0});var x8b=["button"],cQ=function(){this.color="primary";this.format="hairline";this.disabled=!1;this.size="medium";this.onAction=new Rv};cQ.prototype.onClick=function(a){this.onAction.emit(a)};cQ.prototype.focus=function(){this.nativeButton.focus()};cQ.\u0275fac=function(a){return new (a||cQ)};
cQ.\u0275cmp=p({type:cQ,selectors:[["b-button"]],viewQuery:function(a,b){a&1&&ih(x8b,5);if(a&2){var c;hh(c=kh())&&(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&&(Ng(),P(0,NFa,1,0,"ng-template",null,0,qh),I(2,1),P(3,PFa,3,7,"button",2),P(4,RFa,3,7,"button",3),P(5,TFa,3,7,"button",4),P(6,VFa,3,7,"button",5),P(7,XFa,3,7,"button",6),J());a&2&&(z(2),D("ngSwitch",b.format),z(1),D("ngSwitchCase","hairline"),z(1),D("ngSwitchCase","flat"),z(1),D("ngSwitchCase","fill"),z(1),D("ngSwitchCase","icon"))},dependencies:[tA,NC,ww,Dw,zw,Aw,Bw],encapsulation:2,changeDetection:0});var y8b={CANCEL:"CANCEL",ARCHIVE_ALL:"ARCHIVE_ALL",ARCHIVE_ONE:"ARCHIVE_ONE"},dQ=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=y8b};dQ.\u0275fac=function(a){return new (a||dQ)(A(HA),A(NG))};
dQ.\u0275cmp=p({type:dQ,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&&(E(0,"h1",0),Q(1,"Archive with all descendant issues?"),F(),
E(2,"div",1),Q(3),H(4,"br")(5,"br"),E(6,"a",2),Q(7,"View all descendant issues"),F(),H(8,"br"),E(9,"a",3),Q(10,"Learn more"),F()(),E(11,"div",4)(12,"button",5),Q(13,"Cancel"),F(),E(14,"button",5),Q(15," Just this one "),F(),E(16,"button",6),Q(17," Archive all "),F()());a&2&&(z(3),R(" 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),Qg("href",b.descendantIssuesUrl,
Ie),z(6),D("matDialogClose",b.ActionType.CANCEL),z(2),D("matDialogClose",b.ActionType.ARCHIVE_ONE),z(2),D("matDialogClose",b.ActionType.ARCHIVE_ALL))},dependencies:[tA,JA,KA,LA,MA],encapsulation:2});var eQ=function(a,b,c,d,e,f,h,l,q){this.issueApi=a;this.dialog=b;this.confirmationDialogService=c;this.issueRelationshipsFridge=d;this.issueFridge=e;this.eventsForIssueFridge=f;this.paths=h;this.butterBar=l;this.editIssueService=q};
eQ.prototype.submitArchivalState=function(a,b){var c=this;return of(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);tf(d)})};
eQ.prototype.archive=function(a){var b=this,c,d,e,f,h,l,q,u,x,y;return of(function(G){if(1==G.nextAddress)return G.yield(Promise.all([b.getDescendants(a),(0,C.firstValueFrom)(b.issueFridge.watch(a))]),2);c=G.yieldResult;d=m(c);e=d.next().value;f=d.next().value;h=e;l=f;q=h;u=q.childToParents;x=q.completeResult;y=[].concat(r(u.keys()));u.set(a,l.parentIssueIds||[]);return 0===y.length?G.return(z8b(b,a,u)):x?G.return(A8b(b,a,y,u)):G.return(B8b(b,a,u))})};
var A8b=function(a,b,c,d){var e,f,h;return of(function(l){if(1==l.nextAddress)return e={numberOfDescendants:c.length,issueId:b},f={data:e,width:"500px"},l.yield((0,C.firstValueFrom)(DA(a.dialog.open(dQ,f))),2);h=l.yieldResult;switch(h){case "ARCHIVE_ALL":return l.return(C8b(a,[b].concat(r(c)),d));case "ARCHIVE_ONE":return l.return(z8b(a,b,d));case "CANCEL":return l.return();default:return l.return(jj(h))}})},C8b=function(a,b,c){var d=[{issueIds:b,actions:[{fieldName:"isArchived",value:"true"}]}];
D8b(a,c);WF(a.butterBar,"Archiving "+b.length+" issues...");return a.issueApi.issueBulkEdit({bulkEditOps:d}).then(function(){WF(a.butterBar,"Archived "+b.length+" issues successfully.")}).catch(function(e){XF(a.butterBar,e);E8b(a,c)})},z8b=function(a,b,c){D8b(a,c);return a.issueApi.updateIssue(b,{issueId:b,actions:[{fieldName:"isArchived",value:"true"}]}).then(function(){WF(a.butterBar,"Archived successfully.")}).catch(function(d){XF(a.butterBar,d);E8b(a,c)})},B8b=function(a,b,c){return new Promise(function(d){a.confirmationDialogService.open({title:"Archive issue with descendant issues\uff1f",
content:mp(jp("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."),lp("BR",{}),lp("BR",{}),lp("A",{href:a.paths.listIssues({q:"parentId:"+b+"+"}),target:"_blank"},"View all descendant issues"),lp("BR",{}),lp("A",{href:"http://go/b-issue-archive",target:"_blank"},"Learn more")),cancelButtonText:"Cancel",confirmButtonText:"Just this one",onConfirm:function(){z8b(a,
b,c).then(d)},onDismiss:d})})},D8b=function(a,b){b=m(b.entries());for(var c=b.next();!c.done;c=b.next()){var d=m(c.value);c=d.next().value;d=d.next().value;d=m(d);for(var e=d.next();!e.done;e=d.next())a.issueRelationshipsFridge.unlinkFromParent(c,e.value,!0)}},E8b=function(a,b){b=[].concat(r(b.values())).flat();b=m(b);for(var c=b.next();!c.done;c=b.next())a.issueRelationshipsFridge.poke(c.value)};
eQ.prototype.getDescendants=function(a){var b=this,c,d,e,f,h,l,q,u,x,y,G,L;return of(function(M){if(1==M.nextAddress)return M.yield((0,C.firstValueFrom)(JH(b.issueRelationshipsFridge,a)),2);c=M.yieldResult;d=c.results;e=!0;f=new Map;h=m(d);for(l=h.next();!l.done;l=h.next()){q=l.value;u=m(q.relatedChildren);for(x=u.next();!x.done;x=u.next())y=x.value,G=void 0,L=null!=(G=f.get(y.targetIssueId))?G:[],L.push(q.issueId),f.set(y.targetIssueId,L);q.totalChildCount===q.relatedChildren.length||(e=!1)}return M.return({childToParents:f,
completeResult:e})})};eQ.\u0275fac=function(a){return new (a||eQ)(n(PE),n(IA),n(UI),n(IH),n(BH),n(sF),n(NG),n(VF),n(bK))};eQ.\u0275prov=Vc({token:eQ,factory:eQ.\u0275fac,providedIn:"root"});var fQ=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)};fQ.prototype.ngOnDestroy=function(){this.checks=[];window.removeEventListener("beforeunload",this.beforeUnloadEventHandler)};
var gQ=function(a,b,c){var d={dataChanged:b,triggerOnSearch:c};a.checks.push(d);return new C.Subscription(function(){a.checks=a.checks.filter(function(e){return e!==d})})};fQ.prototype.canDeactivate=function(a,b,c,d){a:{a=vD(c.url).getPath()===vD(d.url).getPath();b=m(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?F8b()?(this.checks=[],!0):!1:!0};var F8b=function(){return window.confirm("You have unsaved changes; are you sure you want to navigate away without saving?")};
fQ.\u0275fac=function(a){return new (a||fQ)};fQ.\u0275prov=Vc({token:fQ,factory:fQ.\u0275fac,providedIn:"root"});var G8b=function(a,b,c,d,e,f,h,l,q,u,x,y){var G=this;this.rootIssueId=a;this.quickFilters=b;this.analytics=c;this.butterBar=d;this.issueFridge=e;this.issuePicker=f;this.issueRelationshipsFridge=h;this.paths=l;this.router=q;this.issueCreationService=u;this.clearcut=x;this.refreshMonitor=y;this.expansion=new m8b;this.draftRows=new WP;this.refetchingAll$=new C.BehaviorSubject(!1);this.userRequestedRefresh$=this.refreshMonitor.getObservable().pipe(cg(function(){G.refetchingAll$.next(!0);var L=Zo(G.rows$),
M=[];if(!L)return Promise.resolve();M.push(wZb(G.issueRelationshipsFridge,G.rootIssueId));L=m(L);for(var T=L.next();!T.done;T=L.next())T=T.value,"data"===T.type&&M.push(G.issueFridge.poke(T.id)),1<T.level&&M.push(G.issueRelationshipsFridge.poke(T.id));return Promise.all(M).then(function(){G.refetchingAll$.next(!1)})}));this.rows$=(0,C.merge)(this.draftRows.changed$,this.expansion.changed$,this.userRequestedRefresh$,(0,C.scheduled)((0,C.of)({}),C.asapScheduler)).pipe(cg(function(){return JH(G.issueRelationshipsFridge,
G.rootIssueId,3)}),cg(function(){var L=o8b(G.expansion);return G.getParentToChildrenMap(L)}),Mf(this.quickFilters.value$),cg(function(L){L=m(L);var M=L.next().value,T=L.next().value;return 0===T.size?(G.filteredRowCount$.next(0),(0,C.of)(M)):G.getAllIssues(M).pipe(B(function(S){return G.applyFilters(M,T,S)}))}),B(function(L){return G.calculateDisplayedRows(L)}),$f({refCount:!0,bufferSize:1}));this.filteredRowCount$=new C.BehaviorSubject(0);this.rootIssue$=this.issueFridge.watch(this.rootIssueId).pipe(Gf(nk));
this.ROOT_ROW={type:"data",id:this.rootIssueId,level:-1,ancestorChain:new UP([this.rootIssueId]),expandedCount:500,issue$:C.NEVER,hasChildren$:C.NEVER};this.supportsOneLineCreation=(0,C.firstValueFrom)(this.rootIssue$).then(function(L){return op(L.snapshot[0].componentId)}).then(function(L){return q8b(G.issueCreationService,L)});this.isOneLineCreationSupported=function(){return G.supportsOneLineCreation}};g=G8b.prototype;
g.createChildOrDraft=function(a,b){a=void 0===a?this.ROOT_ROW.ancestorChain:a;var c=this,d,e,f,h,l,q,u;of(function(x){switch(x.nextAddress){case 1:return d=a.nodeId,x.yield((0,C.firstValueFrom)(c.issueFridge.watch(d)),2);case 2:return(e=x.yieldResult)?x.yield(c.supportsOneLineCreation,3):x.return();case 3:f=x.yieldResult;if(!f){x.jumpTo(4);break}return x.yield(s8b(c.issueCreationService,d),5);case 5:return h=x.yieldResult,x.return(c.draftRows.create(a,h,b));case 4:return l=e.snapshot[0].componentId,
u={},x.yield(Gt(c.router,c.paths.createIssue((u.component=l?String(l):void 0,u.parentIssueId=e.issueId,u.redirectUrl=ao(c.rootIssueId),u.afterIssueId=null==(q=b)?void 0:q.afterIssueId,u))),6);case 6:return x.return()}})};
g.addExistingChild=function(a){var b=this,c,d,e,f;of(function(h){if(1==h.nextAddress)return h.yield((0,C.firstValueFrom)(null!=(d=null==(c=a)?void 0:c.issue$)?d:b.rootIssue$),2);e=h.yieldResult;if(!e)return h.return();f=String(e.issueId);return h.yield(b.issuePicker.open({title:"Add Children of b/"+f,allowMultipleIds:!0,edgeType:"child"},function(l){return of(function(q){if(1==q.nextAddress){if(0===l.length)return q.return();b.assignParentToIssues(f,l);b.analytics.trackEvent(Mp.EDIT_ISSUE,"add","existing-child-issue");
return q.yield(Fp(),2)}a&&YP(b.expansion,a.ancestorChain,500);tf(q)})}),0)})};g.deleteDraftRow=function(a){this.draftRows.remove(a)};g.saveDraft=function(a){var b=this,c;return of(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()})};
g.createIssueFromDraft=function(a){var b=this,c,d,e,f;return of(function(h){switch(h.nextAddress){case 1:return c=a.ancestorChain.parentNodeId,pf(h,2),h.yield(t8b(b.issueCreationService,c,a.title),4);case 4:e=h.yieldResult;d=e.issueId;au(h,3);break;case 2:return f=sf(h),XF(b.butterBar,"Could not create issue. Error: "+JSON.stringify(f)),b.deleteDraftRow(a),h.return();case 3:return b.trackIssueCreationTime(a),YP(b.expansion,a.ancestorChain.parentChain,500),k8b(b.draftRows,a,d),h.return(d)}})};
g.assignParentToIssue=function(a,b){var c=this,d,e,f,h,l,q;return of(function(u){if(1==u.nextAddress)return d=a.ancestorChain.parentNodeId,f=null!=(e=a.afterIssueId)?e:a.afterDraftId,void 0===f||"-1"===f?u.jumpTo(2):u.yield(j8b(c.draftRows,f),2);if(4!=u.nextAddress)return u.yield(c.issueRelationshipsFridge.assignParentToIssues(d,[{issueId:b,afterIssueId:a.afterIssueId}]),4);h=u.yieldResult;l=h.errors;(null==(q=l)?0:q.length)&&XF(c.butterBar,"Could not create issue relationship. Error: "+JSON.stringify(l));
c.deleteDraftRow(a);tf(u)})};
g.getParentToChildrenMap=function(a,b){var c=this;b=void 0===b?0:b;return(0,C.combineLatest)([this.rootIssueId].concat(r(a.keys())).map(function(d){return c.refetchingAll$.pipe(Gf(function(e){return!e}),cg(function(){return vZb(c.issueRelationshipsFridge,d)}))})).pipe(B(function(d){return d.filter(Boolean)}),cg(function(d){var e=new Map(d.map(function(f){return[f.issueId,f]}));if(1===b)return(0,C.of)(e);d=c.getIdsAtLevel(e,b);d=new Map(d.map(function(f){return[f,10]}));return c.getParentToChildrenMap(d,
b+1).pipe(B(function(f){return $wa(e,f)}))}))};
g.getIdsAtLevel=function(a,b){for(var c=[],d=[{id:this.rootIssueId,level:-1}],e={};0<d.length;){e.$jscomp$loop$prop$current$2276=d.pop();e.$jscomp$loop$prop$current$2276.level===b&&c.push(e.$jscomp$loop$prop$current$2276.id);if(!(e.$jscomp$loop$prop$current$2276.level>b)){var f=void 0,h=void 0,l=null!=(h=null==(f=a.get(e.$jscomp$loop$prop$current$2276.id))?void 0:f.relatedChildren)?h:[];d.push.apply(d,r(l.map(function(q){return function(u){return{id:u.targetIssueId,level:q.$jscomp$loop$prop$current$2276.level+
1}}}(e))))}e={$jscomp$loop$prop$current$2276:e.$jscomp$loop$prop$current$2276}}return c};
g.calculateDisplayedRows=function(a){for(var b=this,c=[],d=[this.ROOT_ROW],e={};0<d.length;){e.$jscomp$loop$prop$parentRow$2278=d.pop();if("load-more-children"===e.$jscomp$loop$prop$parentRow$2278.type||"draft-issue"===e.$jscomp$loop$prop$parentRow$2278.type)c.push(e.$jscomp$loop$prop$parentRow$2278);else{e.$jscomp$loop$prop$parentRow$2278.id!==this.rootIssueId&&c.push(e.$jscomp$loop$prop$parentRow$2278);var f=void 0,h=void 0,l=null!=(h=null==(f=a.get(e.$jscomp$loop$prop$parentRow$2278.id))?void 0:
f.relatedChildren)?h:[];f=l.slice(0,e.$jscomp$loop$prop$parentRow$2278.expandedCount);e.$jscomp$loop$prop$childrenLevel$2279=e.$jscomp$loop$prop$parentRow$2278.level+1;e.$jscomp$loop$prop$parentRow$2278.expandedCount&&f.length<l.length&&(h=VP(e.$jscomp$loop$prop$parentRow$2278.ancestorChain,"load-more-children"),d.push({type:"load-more-children",id:h.hash(),level:e.$jscomp$loop$prop$childrenLevel$2279,parentIssue$:e.$jscomp$loop$prop$parentRow$2278.issue$,ancestorChain:h,truncatedSiblingCount:l.length-
f.length}));l=f.map(function(q){return function(u){var x=VP(q.$jscomp$loop$prop$parentRow$2278.ancestorChain,u.targetIssueId);return{type:"data",id:u.targetIssueId,level:q.$jscomp$loop$prop$childrenLevel$2279,hasChildren$:b.issueRelationshipsFridge.watch(u.targetIssueId).pipe(B(jwa)),ancestorChain:x,expandedCount:b.getExpandedCount(x,q.$jscomp$loop$prop$childrenLevel$2279,a),issue$:b.issueFridge.watch(u.targetIssueId)}}}(e));d.push.apply(d,r(this.interpolateDraftRows(l,e.$jscomp$loop$prop$parentRow$2278.ancestorChain).reverse()))}e=
{$jscomp$loop$prop$parentRow$2278:e.$jscomp$loop$prop$parentRow$2278,$jscomp$loop$prop$childrenLevel$2279:e.$jscomp$loop$prop$childrenLevel$2279}}return c};
g.interpolateDraftRows=function(a,b){var c=[].concat(r(a)),d=this.draftRows.get(b);b={};d=m(d);for(var e=d.next();!e.done;b={$jscomp$loop$prop$draft$2282:b.$jscomp$loop$prop$draft$2282},e=d.next())b.$jscomp$loop$prop$draft$2282=e.value,a.some(function(f){return function(h){return h.id===f.$jscomp$loop$prop$draft$2282.issueId}}(b))||(e=c.findIndex(function(f){return function(h){return h.id===f.$jscomp$loop$prop$draft$2282.afterDraftId||h.id===f.$jscomp$loop$prop$draft$2282.afterIssueId}}(b)),c.splice(-1===
e?c.length:e+1,0,b.$jscomp$loop$prop$draft$2282));return c};g.getExpandedCount=function(a,b,c){var d=a.nodeId;a=XP(this.expansion,a);if(void 0!==a)return a;if(1>b){var e,f;return Math.min(10,null!=(f=null==(e=c.get(d))?void 0:e.relatedChildren.length)?f:0)}return 0};
g.assignParentToIssues=function(a,b){var c=this,d,e,f,h;return of(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;f=d.errors;if(e.length)return XF(c.butterBar,"Could not add "+e+" as child of b/"+a+". "+(null==(h=f)?void 0:h.map(function(q){return Wn(q)}))),l.return();tf(l)})};
g.trackIssueCreationTime=function(a){a=(new Date).getTime()-a.draftStartedAt.getTime();if(0<a){var b=Math.min(a,108E5);fZb("createIssue",b,"from-tree");this.analytics.trackEvent(Mp.CREATE_ISSUE,"createIssue","time-to-create-from-tree",b);lH(this.clearcut,a,"createIssue-fromTree")}};
g.getAllIssues=function(a){for(var b=this,c=new Set,d=m(a.keys()),e=d.next();!e.done;e=d.next())c.add(e.value);a=m(a.values());for(d=a.next();!d.done;d=a.next())for(d=d.value.relatedChildren.map(function(f){return f.targetIssueId}),d=m(d),e=d.next();!e.done;e=d.next())c.add(e.value);return(0,C.combineLatest)([].concat(r(c)).map(function(f){return b.issueFridge.watch(f)})).pipe(B(function(f){return f.filter(nk)}))};
g.applyFilters=function(a,b,c){function d(l){if(!l)return!1;var q=e.get(l),u=f.get(l);if(!q||0===q.relatedChildren.length)return u;var x=q.relatedChildren.filter(function(y){return d(y.targetIssueId)});h+=q.relatedChildren.length-x.length;e.set(l,Object.assign({},q,{relatedChildren:x}));return 0!==x.length||u}var e=new Map(a.entries()),f=new Map(c.map(function(l){return[l.issueId,LFa(l,b)]})),h=0;d(this.rootIssueId);this.filteredRowCount$.next(h);return e};
var hQ=function(a,b,c,d,e,f,h,l,q,u){this.analytics=a;this.butterBar=b;this.issueFridge=c;this.issuePicker=d;this.issueRelationshipsFridge=e;this.paths=f;this.router=h;this.issueCreationService=l;this.clearcut=q;this.refreshMonitor=u};hQ.prototype.create=function(a,b){b=void 0===b?new YJ:b;return new G8b(a,b,this.analytics,this.butterBar,this.issueFridge,this.issuePicker,this.issueRelationshipsFridge,this.paths,this.router,this.issueCreationService,this.clearcut,this.refreshMonitor)};
hQ.\u0275fac=function(a){return new (a||hQ)(n(wH),n(VF),n(BH),n(SP),n(IH),n(NG),n(FG),n(ZP),n(kH),n(zH))};hQ.\u0275prov=Vc({token:hQ,factory:hQ.\u0275fac,providedIn:"root"});var iQ=function(a,b,c,d){var e=this;this.rootElement=a;this.rows=b;this.ngZone=c;this.rowSelectionModel=d;this.onLongHover$=new C.Subject;this.onRowsMoved$=new C.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=bEb(function(f,h){if(e.activeDrag){var l=f||0,q=h.getBoundingClientRect();f=q.height;l-=q.top;
f=$Fa(l<=.25*f?"top":l>=.75*f?"bottom":"middle",h);h=f.position;f=f.rowElement;switch(h){case "current":e.placeholder.style.display="block";e.insertionBar.style.display="none";e.placeholder.style.left=f.offsetLeft+"px";e.placeholder.style.top=f.offsetTop+"px";e.placeholder.style.height=f.offsetHeight+"px";break;case "before":case "after":var u=(l=null==(u=f.querySelector(".title-location"))?void 0:u.getBoundingClientRect().left)?l-f.getBoundingClientRect().left:0;u=f.offsetLeft+u;l="after"===h?f.offsetTop+
f.offsetHeight:f.offsetTop;q=f.getBoundingClientRect().width;e.insertionBar.style.display="block";e.placeholder.style.display="none";e.insertionBar.style.left=u+"px";e.insertionBar.style.top=l-1+"px";e.insertionBar.style.width=q-u+"px";break;case "none":e.placeholder.style.display="none",e.insertionBar.style.display="none"}e.currentReorderingGuide={rowElement:f,position:h};H8b(e,f,h)}},10);this.ngZone.runOutsideAngular(function(){a.addEventListener("dragover",function(f){var h,l=null==(h=f.target)?
void 0:h.closest("tr");if(l&&(e.onDragOver(f.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;f.preventDefault();return!1});a.addEventListener("dragend",function(){I8b(e)});a.addEventListener("drop",function(){e.reorder(e.currentReorderingGuide,J8b(e.rowSelectionModel),"mouse",4);I8b(e)})})};
iQ.prototype.handleDragStart=function(a){var b=this;this.activeDrag=!0;var c=a.target.closest("tr");this.rowSelectionModel.select(aGa(c));K8b(this.rowSelectionModel);L8b(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=m(a);for(c=a.next();!c.done;c=a.next())c.value.element.classList.add("dragging")};
var M8b=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)},N8b=function(a,b){var c=a.rows.toArray(),d=c.findIndex(function(f){return f.row.ancestorChain.equals(b.row.ancestorChain)});if(-1!==d&&0!==d){c=c.slice(0,d).reverse();c=m(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)}};
iQ.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)}};
iQ.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?M8b(this,a):(b=c&&b.row.level<ZFa(c)?{position:"before",rowElement:c}:{position:"after",rowElement:b.element},this.reorder(b,[a.row.ancestorChain],"keyboard",1))}};
iQ.prototype.onKeydown=function(a){if(a.ctrlKey){var b,c=null==(b=a.target)?void 0:b.closest("tr");if(c){var d=aGa(c);if(b=this.rows.toArray().find(function(e){return e.row.ancestorChain.equals(d)}))switch(a.key){case "ArrowLeft":M8b(this,b);break;case "ArrowRight":N8b(this,b);break;case "ArrowUp":this.moveUp(b);break;case "ArrowDown":this.moveDown(b)}}}};
iQ.prototype.reorder=function(a,b,c,d){var e=this;if(a){var f=aGa(a.rowElement),h=void 0,l=f;switch(a.position){case "current":l=f;h={parentId:f.nodeId};break;case "before":case "after":l=f.parentChain,h={parentId:f.parentNodeId,position:{issueId:f.nodeId,position:a.position}}}this.ngZone.run(function(){b.length&&h&&e.onRowsMoved$.next({movedRows:b,insertAt:h,parentAncestorChain:l,origin:c,actionMessage:YFa(d)})})}};
var I8b=function(a){for(var b=m(a.rootElement.querySelectorAll("tr.dragging")),c=b.next();!c.done;c=b.next())c.value.classList.remove("dragging");b=m(a.rootElement.querySelectorAll("tr.nodrop"));for(c=b.next();!c.done;c=b.next())c.value.classList.remove("nodrop");a.rowSelectionModel.clear();a.placeholder.style.display="none";a.insertionBar.style.display="none";var d;null==(d=a.updatingNoDropRows)||d.unsubscribe();var e,f;null==(e=a.dragPreview)||null==(f=e.parentElement)||f.removeChild(a.dragPreview);
a.activeDrag=!1},H8b=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 aGa(b).equals(e.row.ancestorChain)});d&&(a.ngZone.run(function(){a.onLongHover$.next(d)}),a.longHoveredRow.emitted=!0)}},L8b=function(a){var b;
null==(b=a.updatingNoDropRows)||b.unsubscribe();a.updatingNoDropRows=a.rows.changes.pipe(bg(null)).subscribe(function(){var c=a.rows.toArray(),d=new Set(a.rowSelectionModel.selectedRows.map(function(f){return f.nodeId}));c=m(c);for(var e=c.next();!e.done;e=c.next())e=e.value,e.row.ancestorChain.some(function(f){return d.has(f)})&&e.element.classList.add("nodrop")})};var jQ=function(a){Z.call(this);var b=this;this.analytics=a;this.dragStarted$=new C.Subject;this.onRowsMoved$=new C.Subject;(0,C.merge)(this.dragStarted$,this.onRowsMoved$).pipe(Owa(),dg(this.destroyed$)).subscribe(function(c){var d=c[c.length-1].timestamp-c[0].timestamp;c=wn(c.map(function(e){return e.event.origin}));c=1===c.length?c[0]:"mixed";b.analytics.trackEvent(Mp.EDIT_ISSUE,"reorderChildren",c);fZb("reorderChildren",d,c)})};W(jQ,Z);jQ.\u0275dir=Z.\u0275dir;
jQ.\u0275fac=function(a){return new (a||jQ)(n(wH))};jQ.\u0275prov=Vc({token:jQ,factory:jQ.\u0275fac,providedIn:"root"});var kQ=function(){this.changed$=new C.Subject;this.selectedRowHashes=new Set;this.isSelectedObservableMap=new Map};kQ.prototype.init=function(a){this.visibleRows=a};kQ.prototype.isSelected=function(a){return this.selectedRowHashes.has(a.hash())};var XGa=function(a,b){var c=b.hash(),d,e=null!=(d=a.isSelectedObservableMap.get(c))?d:a.changed$.pipe(bg(a.selectedRowHashes),B(function(f){return f.has(b.hash())}),Qf(),$f({refCount:!0,bufferSize:1}));a.isSelectedObservableMap.set(c,e);return e};
kQ.prototype.select=function(a){this.selectedRowHashes.add(a.hash());this.changed$.next(this.selectedRowHashes)};kQ.prototype.clear=function(){this.selectedRowHashes.clear();this.changed$.next(this.selectedRowHashes)};
var K8b=function(a){for(var b=a.visibleRows.toArray().map(function(l){return l.row.ancestorChain}),c=!1,d=m(a.selectedRowHashes.values()),e=d.next();!e.done;e=d.next()){e=Pp(e.value);for(var f=m(b),h=f.next();!h.done;h=f.next())h=h.value,i8b(e,h)&&(a.selectedRowHashes.add(h.hash()),c=!0)}c&&a.changed$.next(a.selectedRowHashes)},J8b=function(a){var b=a.visibleRows.toArray().map(function(f){return f.row});b=new Map(b.filter(function(f){return"data"===f.type}).map(function(f){return[f.ancestorChain.hash(),
f]}));var c=new Set([].concat(r(a.selectedRowHashes.values())).map(function(f){return Pp(f)}).map(function(f){return f.nodeId})),d=[];a=m(a.selectedRowHashes.values());for(var e=a.next();!e.done;e=a.next())(e=b.get(e.value))&&(e.ancestorChain.parentChain.some(function(f){return c.has(f)})||d.push(e.ancestorChain));return d};
Xi.Object.defineProperties(kQ.prototype,{selectedRows:{configurable:!0,enumerable:!0,get:function(){return[].concat(r(this.selectedRowHashes)).map(function(a){return Pp(a)})}},selectedCount:{configurable:!0,enumerable:!0,get:function(){return this.selectedRowHashes.size}}});var LGa=function(a){return{cl:a}},O8b=function(){return["focus-indicator","load-more-children"]},lQ=Mp.EXPERIMENTAL_HOMEPAGE,P8b={type:"data",id:"",issue$:C.NEVER,hasChildren$:C.NEVER,ancestorChain:new UP([]),level:0,expandedCount:0},mQ=function(a,b,c,d,e,f,h,l,q,u,x,y,G,L,M){Z.call(this);var T=this;this.issueRelationshipsFridge=a;this.router=b;this.butterBar=c;this.analytics=d;this.issueArchiveService=e;this.ngZone=f;this.elementRef=h;this.domSafe=q;this.reorderingSessionTracker=u;this.cdr=x;this.expandableIssuesTableModelFactory=
y;this.liveAnnouncer=G;this.clearcut=L;this.paths=M;this.getUserInvolvement=Tsa;this.quickFilters=new YJ;this.tableColumns="focus-indicator drag-handle title type id assignee status cls menu".split(" ");this.options={};this.trackBy=function(S,X){return X.ancestorChain.hash()+X.type};this.isLoadMoreRow=function(S,X){return"load-more-children"===X.type};this.isDataRow=function(S,X){return"data"===X.type};this.isDraftRow=function(S,X){return"draft-issue"===X.type};this.selectionModel=new kQ;this.hasLogged=
!1;this.correctedDisplayedRows=new lh;this.TITLE_FIXED_OFFSET_PX=42;this.rowDirectiveMap=new Map;this.getRowIndex=function(S){var X;return(null!=(X=Zo(T.rows$))?X:[]).findIndex(function(aa){return Op(aa,S)})};this.showError=function(S){return function(X){XF(T.butterBar,S+". "+(Vn(X)?Wn(X):X))}};this.subscriptions.add(gQ(l,function(){return T.tableModel.draftRows.isSaving()||T.issueRelationshipsFridge.isSaving()},!1))};W(mQ,Z);mQ.\u0275dir=Z.\u0275dir;
var DGa=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))};g=mQ.prototype;g.isClosed=function(a){if(this.options.showPendingFixCls){var b=DGa(this,null==a?void 0:a.issueId);return $ra(a)||b}return $ra(a)};g.getAssigneeString=function(a){var b,c;return np(ck(null==a?void 0:null==(b=a.snapshot)?void 0:null==(c=b[0])?void 0:c.assigneeUser)||void 0)};g.isInProgress=function(a){return"ACCEPTED"===(null==a?void 0:a.snapshot[0].status)};
g.ldapOnly=function(a){return null==a?void 0:a.split("@")[0]};
g.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,C.scheduled)([this.tableModel.rows$,(0,C.of)([P8b])],C.asyncScheduler).pipe(Af(1),$f({refCount:!0,bufferSize:1}));var b=this.rows$.pipe(cg(function(c){return(0,C.combineLatest)(c.filter(function(d){return"data"===d.type}).map(function(d){return d.issue$}))}),Nf(0,C.asapScheduler));
this.subscriptions.add(b.subscribe(function(c){a.cdr.detectChanges();a.trackRelationsData(c)}));this.rowReorderingModel=new iQ(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,XP(c,d)||YP(c,d,10))}));this.subscriptions.add(this.rowReorderingModel.onRowsMoved$.subscribe(function(c){var d;
return of(function(e){if(1==e.nextAddress)return AZb(a.issueRelationshipsFridge,c.insertAt,c.movedRows.map(function(f){return{issueId:f.nodeId,parentId:f.parentNodeId}})).then(function(){return a.liveAnnouncer.announce(c.actionMessage+" successfully.")}).catch(a.showError("Unable to reorder issues")),n8b(a.tableModel.expansion,c.parentAncestorChain,c.movedRows),e.yield((0,C.firstValueFrom)(a.correctedDisplayedRows.changes.pipe(B(function(f){return f.find(function(h){return"data"===h.row.type&&h.row.ancestorChain.nodeId===
c.movedRows[0].nodeId&&h.row.ancestorChain.parentNodeId===c.insertAt.parentId})}),Gf(Boolean),If(6E4))),2);d=e.yieldResult;d.focus();tf(e)})}));this.subscriptions.add(this.rowReorderingModel.onRowsMoved$.subscribe(function(c){a.reorderingSessionTracker.onRowsMoved$.next(c)}))};
g.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;mH(this.clearcut,"view-relations-"+(c?"all-loaded":"some-loaded"));this.analytics.trackEvent(lQ,"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,mH(this.clearcut,"view-relations-"+(.5<a?"most-estimated":"most-unestimated")),this.analytics.trackEvent(lQ,"view-relations","ratio-estimated",a))}};
g.ngAfterViewInit=function(){var a=this;this.selectionModel.init(this.displayedRows);(0,C.combineLatest)([this.rows$,this.displayedRows.changes]).pipe(dg(this.destroyed$)).subscribe(function(b){b=m(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);gh(a.correctedDisplayedRows)});this.focusManager=cz(new cN(this.correctedDisplayedRows,
Op))};g.toggleExpansion=function(a){YP(this.tableModel.expansion,a.ancestorChain,a.expandedCount?0:10)};g.navigateToIssue=function(a,b){!b.id||a.defaultPrevented||"mouseup"===a.type&&a instanceof MouseEvent&&1!==a.button||"A"===a.target.tagName||(this.analytics.trackEvent(lQ,"navigate","to-child-issue"),b=$n(b.id),a.ctrlKey||a.metaKey||a instanceof MouseEvent&&1===a.button?this.domSafe.openInNewTab(b):a&&a.shiftKey?Kp(this.domSafe,b):Gt(this.router,b))};
g.displayAllSiblings=function(a){var b=this,c;return of(function(d){if(1==d.nextAddress)return c=b.getRowIndex(a),YP(b.tableModel.expansion,a.ancestorChain.parentChain,500),d.yield(Fp(),2);b.focusManager.setActiveItem(c);tf(d)})};g.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"}]};
g.getMenuItems=function(a){var b=this,c=[{type:"action",label:"Go to issue",action:function(f){b.navigateToIssue(f,a)},title:"Go to issue",icon:"arrow-forward"},{type:"action",label:"View Children",disabled:!Zo(a.hasChildren$),action:function(){var f=co({q:"parentid:"+a.id});b.domSafe.openInNewTab(f)},title:"View the children of this issue on the main search page",icon:"pop-out"},{type:"action",label:"Create child",action:function(){return of(function(f){if(1==f.nextAddress)return f.yield(Fp(),2);
b.createChildIssue(a);tf(f)})},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 of(function(f){if(1==f.nextAddress)return f.yield(Fp(),2);b.createSiblingIssue(a);tf(f)})},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(){N8b(b.rowReorderingModel,b.rowDirectiveMap.get(a.ancestorChain.hash()))},title:"Indent",icon:"arrow-right",hintText:"shift+ctrl+right"},
{type:"action",label:"Unindent",action:function(){M8b(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};g.saveDraft=function(a){var b=this,c,d;return of(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,C.firstValueFrom)(b.displayedRows.changes.pipe(B(function(f){return f.find(function(h){return"data"===h.row.type&&h.row.id===a.issueId})}),Gf(Boolean),If(6E4))),2)}c=e.yieldResult;Op(null==(d=b.focusManager.activeItem)?void 0:d.row,a)&&b.focusManager.setActiveItem(c);tf(e)})};
g.cancelDraft=function(a){if(!a.saving){this.tableModel.deleteDraftRow(a);var b;Op(null==(b=this.focusManager.activeItem)?void 0:b.row,a)&&this.focusManager.setPreviousItemActive()}};g.createChildIssue=function(a){this.tableModel.createChildOrDraft(null==a?void 0:a.ancestorChain,{afterIssueId:"-1"})};g.createSiblingIssue=function(a){"data"===a.type?this.tableModel.createChildOrDraft(a.ancestorChain.parentChain,{afterIssueId:a.id}):this.tableModel.createChildOrDraft(a.ancestorChain.parentChain,{afterDraftId:a.id})};
g.addExistingChild=function(a){this.tableModel.addExistingChild(a)};g.getDraftColumns=function(){return this.tableColumns.map(function(a){return"title"===a?"editable-title":"menu"===a?"save":"id"===a?"empty-id":a})};g.handleDragStart=function(a){this.reorderingSessionTracker.dragStarted$.next({origin:"mouse"});this.rowReorderingModel.handleDragStart(a)};
g.onRowKeydown=function(a,b){var c=this,d;return of(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)})};
g.navigateToCreateIssuePage=function(a,b){var c=this,d,e,f,h,l,q,u,x;return of(function(y){if(1==y.nextAddress)return a.defaultPrevented||"mouseup"===a.type&&a instanceof MouseEvent&&1!==a.button?y.return():y.yield((0,C.firstValueFrom)(b.issue$),2);d=y.yieldResult;u={};x=c.paths.createIssue((u.component=String(null==(e=d)?void 0:e.snapshot[0].componentId),u.parentIssueId=b.ancestorChain.parentChain.nodeId,u.redirectUrl=ao(c.rootIssueId),u.afterIssueId=b.afterIssueId,u.title=b.title,u.priority=null!=
(l=null==(f=d)?void 0:f.snapshot[0].priority)?l:void 0,u.type=null!=(q=null==(h=d)?void 0:h.snapshot[0].type)?q:void 0,u));if(a.ctrlKey||a.metaKey||a instanceof MouseEvent&&1===a.button)return c.cancelDraft(b),c.domSafe.openInNewTab(x),y.return();if(a&&a.shiftKey)return c.cancelDraft(b),Kp(c.domSafe,x),y.return();Gt(c.router,x);tf(y)})};
g.archiveRow=function(a){var b=this,c,d;of(function(e){if(1==e.nextAddress)return b.analytics.trackEvent(lQ,"update","archive-child-issue"),c=b.getRowIndex(a),b.issueArchiveService.archive(a.id),e.yield((0,C.firstValueFrom)(b.rows$.pipe(B(function(f){return!f.find(function(h){return"data"===h.type&&h.id===a.id})}),Gf(Boolean),If(6E4))),2);Op(null==(d=b.focusManager.activeItem)?void 0:d.row,a)&&b.focusManager.setActiveItem(c);tf(e)})};
g.unlinkFromParent=function(a){var b=this,c,d;return of(function(e){c=a.ancestorChain.nodeId;d=a.ancestorChain.parentNodeId;b.analytics.trackEvent(lQ,"update","unlink-child-issue");return e.yield(b.issueRelationshipsFridge.unlinkFromParent(c,d).then(function(){WF(b.butterBar,"Unlinked successfully.")}).catch(b.showError("Failed to unlink child "+c+" from parent "+d)),0)})};
Xi.Object.defineProperties(mQ.prototype,{filters:{configurable:!0,enumerable:!0,set:function(a){this.quickFilters.reset(a)},get:function(){return[].concat(r(this.quickFilters))}},model:{configurable:!0,enumerable:!0,get:function(){return this.tableModel}}});mQ.\u0275fac=function(a){return new (a||mQ)(A(IH),A(FG),A(VF),A(wH),A(eQ),A(hg),A(ke),A(fQ),A(PK),A(jQ),A(sH),A(aQ),A(Ty),A(kH),A(NG))};
mQ.\u0275cmp=p({type:mQ,selectors:[["expandable-issues-table"]],viewQuery:function(a,b){a&1&&ih(aN,5);if(a&2){var c;hh(c=kh())&&(b.displayedRows=c)}},inputs:{rootIssueId:"rootIssueId",filters:"filters",saveExpansionAtKey:"saveExpansionAtKey",projectData:"projectData",modifyMenuItems:"modifyMenuItems",tableColumns:"tableColumns",options:"options"},features:[Ug([sH]),qg],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&&(E(0,"table",0),I(1,1),P(2,bGa,1,0,"th",2),P(3,cGa,2,0,"td",3),J(),I(4,4),P(5,dGa,1,0,"th",2),P(6,eGa,3,0,"td",5),J(),I(7,6),P(8,fGa,2,0,"th",2),P(9,gGa,2,1,"td",7),J(),I(10,8),P(11,hGa,2,0,"th",2),
P(12,iGa,2,0,"td",7),J(),I(13,9),P(14,jGa,2,0,"th",2),P(15,kGa,4,8,"td",7),J(),I(16,10),P(17,lGa,2,0,"th",2),P(18,mGa,3,3,"td",7),J(),I(19,11),P(20,nGa,2,0,"th",2),P(21,yGa,6,4,"td",7),J(),I(22,12),P(23,zGa,2,0,"th",2),P(24,EGa,4,2,"td",7),J(),I(25,13),P(26,FGa,2,0,"th",2),P(27,GGa,3,3,"td",7),J(),I(28,14),P(29,HGa,1,0,"th",2),P(30,IGa,2,1,"td",7),J(),I(31,15),P(32,JGa,2,0,"th",2),P(33,NGa,2,1,"td",7),J(),I(34,16),P(35,OGa,1,0,"th",2),P(36,RGa,4,2,"td",17),J(),I(37,18),P(38,SGa,6,7,"td",19),J(),I(39,
20),P(40,TGa,2,0,"th",2),P(41,UGa,7,6,"td",19),J(),P(42,WGa,2,1,"ng-container",21),P(43,YGa,4,16,"tr",22),P(44,ZGa,1,4,"tr",23),P(45,$Ga,1,2,"tr",24),F(),H(46,"div",25)(47,"div",26)(48,"div",27));a&2&&(D("dataSource",b.rows$)("trackBy",b.trackBy),z(42),D("ngIf",!b.options.hideHeader),z(1),D("matRowDefColumns",b.tableColumns)("matRowDefWhen",b.isDataRow),z(1),D("matRowDefColumns",Wg(9,O8b))("matRowDefWhen",b.isLoadMoreRow),z(1),D("matRowDefColumns",b.getDraftColumns())("matRowDefWhen",b.isDraftRow))},
dependencies:[Ex,yw,zw,Aw,Bw,jB,mM,eM,iM,fM,dM,jM,gM,hM,kM,lM,NC,tL,dL,cQ,cL,HN,eL,UM,hL,kL,sL,YN,OK,uL,zM,aN,UK,Ew,bQ],styles:['.mat-header-cell[_ngcontent-%COMP%]{font-weight:500}tr.mat-header-row[_ngcontent-%COMP%], tr.mat-row[_ngcontent-%COMP%]{height:32px}td.mat-cell[_ngcontent-%COMP%], td.mat-footer-cell[_ngcontent-%COMP%], th.mat-header-cell[_ngcontent-%COMP%]{font-size:.8125rem;padding:0 4px}td.mat-cell[_ngcontent-%COMP%], td.mat-footer-cell[_ngcontent-%COMP%]{color:#202124;color:var(--row-default-text)}th.mat-header-cell[_ngcontent-%COMP%]{color:#202124;color:var(--text-high-contrast)}td.mat-column-menu[_ngcontent-%COMP%], td.mat-column-save[_ngcontent-%COMP%]{width:32px;height:32px}.mat-header-cell[_ngcontent-%COMP%]:first-of-type, .mat-cell[_ngcontent-%COMP%]:first-of-type, .mat-footer-cell[_ngcontent-%COMP%]:first-of-type{padding-left:0px}.mat-header-cell[_ngcontent-%COMP%]:last-of-type, .mat-cell[_ngcontent-%COMP%]:last-of-type, .mat-footer-cell[_ngcontent-%COMP%]:last-of-type{padding-right:0px}tr.mat-row.clickable[_ngcontent-%COMP%]{cursor:pointer}tr.mat-row.clickable[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}tr.mat-row[_ngcontent-%COMP%]   .mat-column-focus-indicator[_ngcontent-%COMP%]{cursor:pointer;display:table-cell;padding:0 1.5px;width:0}tr.mat-row[_ngcontent-%COMP%]:focus-within   .mat-column-focus-indicator[_ngcontent-%COMP%]{outline:none;background-color:#4285f4;background-color:var(--primary-c500)}tr.mat-row[_ngcontent-%COMP%]   .mat-column-drag-handle[_ngcontent-%COMP%]{box-sizing:border-box;cursor:move;outline-width:0;padding:0px;width:18px}tr.mat-row[_ngcontent-%COMP%]   .mat-column-drag-handle[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{line-height:32px;opacity:.2}.mat-header-cell.mat-column-title[_ngcontent-%COMP%]{padding-left:36px;min-width:250px}.insertion-bar[_ngcontent-%COMP%]{background-color:#1a73e8;background-color:var(--primary-btn-bg);display:none;height:2px;pointer-events:none;position:absolute}.insertion-bar[_ngcontent-%COMP%]::before{content:"";border-bottom:5px solid rgba(0,0,0,0);border-left:8px solid;border-left-color:#1a73e8;border-left-color:var(--primary-btn-bg);border-top:5px solid rgba(0,0,0,0);display:block;height:0;position:relative;top:-4px;width:0}a.pending-fix-msg[_ngcontent-%COMP%], [mat-table][_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]   a.pending-fix-msg[_ngcontent-%COMP%]:hover, [mat-table][_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]   a.pending-fix-msg[_ngcontent-%COMP%]:focus, [mat-table][_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]   a.pending-fix-msg[_ngcontent-%COMP%]:active, [mat-table][_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]   a.pending-fix-msg[_ngcontent-%COMP%]{color:var(--b-status-fixed-text)}.placeholder[_ngcontent-%COMP%]{background-color:#1a73e8;background-color:var(--primary-btn-bg);border-radius:4px;box-sizing:border-box;display:none;opacity:.7;pointer-events:none;position:absolute;top:0;width:100%}.drag-preview[_ngcontent-%COMP%]{background-color:#1a73e8;background-color:var(--primary-btn-bg);color:#fff;color:var(--inverse-text);border-radius:4px;display:none;padding:7px 13px;position:absolute}tr.dragging[_ngcontent-%COMP%], tr.nodrop[_ngcontent-%COMP%]{opacity:.5}tr.closed[_ngcontent-%COMP%]{background-color:#f1f3f4;background-color:var(--row-fixed-bg)}tr.closed[_ngcontent-%COMP%]   td.mat-cell[_ngcontent-%COMP%], tr.closed[_ngcontent-%COMP%]   td.mat-footer-cell[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted)}tr.closed[_ngcontent-%COMP%]   td.mat-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], tr.closed[_ngcontent-%COMP%]   td.mat-footer-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted)}tr.closed[_ngcontent-%COMP%]   td.mat-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, tr.closed[_ngcontent-%COMP%]   td.mat-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus, tr.closed[_ngcontent-%COMP%]   td.mat-footer-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, tr.closed[_ngcontent-%COMP%]   td.mat-footer-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus{color:#1a73e8;color:var(--link)}[_nghost-%COMP%]{display:block;position:relative;padding-bottom:5px;overflow-y:hidden;overflow-x:auto}[_nghost-%COMP%]     .mat-column-assignee b-user-image img{max-width:24px;vertical-align:middle}\n/*# sourceMappingURL=expandable_issues_table.css.map */'],
changeDetection:0});var Q8b=function(a){Y.call(this,a)};W(Q8b,Y);Q8b.prototype.getEmail=function(){return Dk(this,1)};Q8b.prototype.setEmail=function(a){return Ub(this,1,a)};var Qp=function(a){Y.call(this,a,-1,R8b)};W(Qp,Y);g=Qp.prototype;g.getWorkspaceId=function(){return ol(this,1)};g.getName=function(){return Dk(this,2)};g.setName=function(a){return Ub(this,2,a)};g.getTimeZone=function(){return Ok(this,hl,8)};g.setTimeZone=function(a){return gl(this,hl,8,a)};g.hasTimeZone=function(){return Hl(this,hl,8)};g.getMembersList=function(){return yj(this,Q8b,9)};g.getUpdateTime=function(){return Ok(this,vj,12)};g.setUpdateTime=function(a){gl(this,vj,12,a)};
g.getBookmarkGroupId=function(){return ol(this,14)};g.setBookmarkGroupId=function(a){Tb(this,14,a)};g.getTeamId=function(){return Dk(this,20)};g.setTeamId=function(a){return Ub(this,20,a)};var S8b=mc(Qp),R8b=[5,9,13,15,17,18];var T8b=function(a){Y.call(this,a)};W(T8b,Y);T8b.prototype.getWorkspaceId=function(){return ol(this,1)};var U8b=new $C("/google.corp.devtools.worktracker.v1.WorkspaceService/Get",T8b,Qp,function(a){return a.serialize()},S8b);var V8b=function(a){Y.call(this,a)};W(V8b,Y);var nQ=function(a){Y.call(this,a,-1,W8b)};W(nQ,Y);nQ.prototype.setWorkItemId=function(a){return rk(this,1,X8b,a)};var Y8b=function(){var a=new nQ,b=new V8b;return hq(a,2,X8b,b)},W8b=[3],X8b=[1,2];var $8b=function(a){Y.call(this,a,-1,Z8b)};W($8b,Y);var Z8b=[1];var a9b=new $C("/google.corp.devtools.worktracker.v1.WorkspaceService/List",nQ,$8b,function(a){return a.serialize()},mc($8b));var b9b=function(a,b){b=b||{};b.format="jspb";this.client_=new BD(b);this.hostname_=void 0==a?a:a.replace(/\/+$/,"")};b9b.prototype.get=function(a,b){return CD(this.client_,this.hostname_+"/$rpc/google.corp.devtools.worktracker.v1.WorkspaceService/Get",a,b||{},U8b)};b9b.prototype.list=function(a,b){return CD(this.client_,this.hostname_+"/$rpc/google.corp.devtools.worktracker.v1.WorkspaceService/List",a,b||{},a9b)};var c9b={},d9b;c9b.Authorization=null!=(d9b=uq([]))?d9b:"";c9b["X-Goog-Api-Key"]="AIzaSyAVSCxcE30nYSaySrZXBXCTumqIjorZA2c";c9b["X-Goog-AuthUser"]="0";
var oQ=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)},e9b=function(a,b){return a.activeSession.isExternalSession()?(0,C.of)([]):(0,C.from)(a.client.list((new nQ).setWorkItemId("b/"+
b),c9b)).pipe(B(aHa(b)),Lf(function(){return(0,C.of)([])}))};oQ.\u0275fac=function(a){return new (a||oQ)(n(Vt),n(pQ))};oQ.\u0275prov=Vc({token:oQ,factory:oQ.\u0275fac,providedIn:"root"});var pQ=function(){};pQ.prototype.create=function(a){return new b9b(a,{withCredentials:!0,suppressCorsPreflight:!0})};pQ.\u0275fac=function(a){return new (a||pQ)};pQ.\u0275prov=Vc({token:pQ,factory:pQ.\u0275fac,providedIn:"root"});var qQ=function(a){var b=this;this.injector=a;this.clientDarkmode$=this.clientDarkmodeSubject=new C.BehaviorSubject(!1);this.localDarkmode=!1;this.clientStreamzService=null;this.loadLocalDarkmode=function(){b.localDarkmode=null!=window.localStorage.getItem("onedev-darkmode");f9b(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")}};qQ.prototype.enableUsageTracking=function(){this.clientStreamzService=this.injector.get(pC)};var f9b=function(a,b){a.clientDarkmodeSubject.next(b);document.body.classList.toggle("dark-mode",b)};qQ.\u0275fac=function(a){return new (a||qQ)(n(Zu))};qQ.\u0275prov=Vc({token:qQ,factory:qQ.\u0275fac});var g9b=Yt(["https://g3doc.corp.google.com/company/teams/buganizer/feedback-dialog/feedback-dark-mode.md"]),h9b=Yt(["https://g3doc.corp.google.com/company/teams/buganizer/feedback-dialog/feedback.md"]),rQ=function(a,b){this.dialogRef=a;this.darkmodeService=b;this.contentLoaded=!1;this.docUrl$=this.darkmodeService.clientDarkmode$.pipe(B(function(c){return c?li(g9b):li(h9b)}))};rQ.\u0275fac=function(a){return new (a||rQ)(A(FA),A(qQ))};
rQ.\u0275cmp=p({type:rQ,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&&(E(0,"div",0),P(1,bHa,2,3,"ng-container",1),U(2,"async"),P(3,cHa,1,0,
"mat-spinner",2),F(),E(4,"div",3)(5,"button",4),K("click",function(){return b.dialogRef.close(!1)}),Q(6," Cancel "),F(),E(7,"button",5),K("click",function(){return b.dialogRef.close(!0)}),Q(8," File a new issue "),F()());a&2&&(z(1),D("ngIf",V(2,2,b.docUrl$)),z(2),D("ngIf",!b.contentLoaded))},dependencies:[yw,LA,MA,tA,yM,Ew],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 Sp=function(a){Y.call(this,a)};W(Sp,Y);g=Sp.prototype;g.getEnableSsEngine=function(){return Tl(this,2)};g.getEnableAwr=function(){return Tl(this,3)};g.getEnableHelpSuggestions=function(){return Tl(this,4)};g.getAlohaAutoGaRollout=function(){return Tl(this,5)};g.getEnableConfigurator=function(){return Tl(this,6)};g.getEnableMweb=function(){return Tl(this,7)};g.getEnableCtlConsentCheckbox=function(){return Tl(this,8)};g.getEnableIframe=function(){return Tl(this,9)};
g.getEnableScreenshotNudge=function(){return Tl(this,10)};g.getEnableWebStartupConfigEndpoint=function(){return Tl(this,11)};g.getEnableJunkNudge=function(){return Tl(this,12)};g.getEnableConfiguratorLocale=function(){return Tl(this,13)};g.getEnableTinyNoPointer=function(){return Tl(this,14)};g.getEnableSupportSessionLogging=function(){return Tl(this,15)};g.getEnableFileUploadForScreenshot=function(){return Tl(this,16)};g.getEnableDirectDeflectionForSingleCategory=function(){return Tl(this,17)};
g.getEnableImageSanitization=function(){return Tl(this,18)};g.getEnableAlohaBinarySplit=function(){return Tl(this,19)};var oHa=function(a){Y.call(this,a)};W(oHa,Y);var dHa=[/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 gHa="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 hHa=Yt(["https://www.gstatic.com/uservoice/feedback/client/web/","/main_binary__",".js"]);var jHa;var i9b=function(a,b,c){a.timeOfStartCall=(new Date).getTime();var d=c||da,e=d.document,f=a.nonce||zEb(d);f&&!a.nonce&&(a.nonce=f);if("help"==a.flow){var h=tq("document.location.href",d);!a.helpCenterContext&&h&&(a.helpCenterContext=h.substring(0,1200));h=!0;if(b&&JSON&&JSON.stringify){var l=JSON.stringify(b);(h=1200>=l.length)&&(a.psdJson=l)}h||(b={invalidPsd:!0})}b=[a,b,c];d.GOOGLE_FEEDBACK_START_ARGUMENTS=b;c=a.feedbackServerUri||"//www.google.com/tools/feedback";if(h=d.GOOGLE_FEEDBACK_START)h.apply(d,
b);else{d=c+"/load.js?";for(var q in a)b=a[q],null==b||Ta(b)||(d+=encodeURIComponent(q)+"="+encodeURIComponent(b)+"&");a=zq(e).createElement("SCRIPT");f&&a.setAttribute("nonce",f);f=ki(d);pj(a,f);e.body.appendChild(a)}},j9b=function(a,b,c,d){var e,f;of(function(h){e=c||da;var l=["web_answers"].includes(a.triggerId)?"en":a.locale,q="DEV"===a.serverEnvironment,u=c||da;u=a.nonce||zEb(u);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:u,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);f=l;return h.yield(mHa(f,d,e),0)})},k9b=function(a,b,c){try{"submit"===a.flow||"help"===a.flow?i9b(a,b,c):pHa(a.productId,
a.feedbackServerUri).then(function(d){d=Ok(d,Sp,1);var e=!yCb||(null==d?void 0:d.getEnableMweb()),f=!a.tinyNoPointer||(null==d?void 0:d.getEnableTinyNoPointer());!d||d.getAlohaAutoGaRollout()&&e&&f?j9b(a,b,c,d):i9b(a,b,c)},function(d){d&&"DuplicateFormError"!==d.name&&i9b(a,b,c)})}catch(d){j9b(a,b,c,null)}};fCb("userfeedback.api.startFeedback",k9b);var sQ=function(a,b,c){this.activeSession=a;this.matDialog=b;this.currentTracker=c};sQ.prototype.startFeedback=function(){var a=this;this.activeSession.isInternalSession()?DA(this.matDialog.open(rQ,{width:"500px",maxHeight:"80vh",height:"640px",autoFocus:!1})).subscribe(function(b){b&&aVa(a)}):aVa(this)};
var aVa=function(a){var b={productId:92912,nonce:a.activeSession.getCspNonce(),productVersion:"buganizer.frontend_20230412.06_p0"};b.bucket=a.currentTracker.inTracker?"buganizer-trackers-feedback":"buganizer3-feedback";for(var c=[],d=c.concat,e=r([]),f=[],h=m(a.activeSession.session.config.enabledFlags),l=h.next();!l.done;l=h.next()){var q=m(l.value);l=q.next().value;(q=q.next().value)&&f.push(l)}c=d.call(c,e,r(f)).join(", ");c={userType:a.activeSession.getUserTypeLabel(),flags:c};a.currentTracker.inTracker&&
(c.trackerId=a.currentTracker.getTrackerId());k9b(b,c)};sQ.\u0275fac=function(a){return new (a||sQ)(n(Vt),n(IA),n(mL))};sQ.\u0275prov=Vc({token:sQ,factory:sQ.\u0275fac,providedIn:"root"});var tQ=function(a,b,c,d,e,f,h){var l=this;this.cdr=a;this.codefont=b;this.location=e;this.paths=f;this.userFeedback=h;this.commentVersion=-1;this.history=[];this.diffView=this.isLoading=!0;this.issueId=c.issueId;this.commentNumber=c.commentNumber;this.commentVersion=c.commentVersion;c.commentHistory.then(function(q){l.history=q}).catch(function(q){d.errorHandler(null,q)}).finally(function(){l.isLoading=!1;l.cdr.detectChanges()})};tQ.prototype.trackByIndex=function(a){return a};
tQ.prototype.startFeedback=function(){this.userFeedback.startFeedback()};tQ.\u0275fac=function(a){return new (a||tQ)(A(sH,2),A(GO),A(HA),A(ZF),A(Uw),A(NG),A(sQ))};
tQ.\u0275cmp=p({type:tQ,selectors:[["comment-history-dialog"]],features:[Ug([sH])],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&&(E(0,"h2",0),Q(1),F(),E(2,"mat-dialog-content")(3,"div",1)(4,"mat-checkbox",
2),K("change",function(c){return b.diffView=c.checked}),Q(5," Show Diff "),F()(),E(6,"a",3),K("click",function(){return b.startFeedback()}),Q(7,"Feedback"),F(),H(8,"br",4),P(9,qHa,2,0,"div",5),P(10,FHa,2,2,"ul",6),F(),E(11,"mat-dialog-actions")(12,"button",7),Q(13,"Close"),F()());a&2&&(z(1),R("History for Comment #",b.commentNumber,""),z(3),D("checked",b.diffView),z(5),D("ngIf",b.isLoading),z(1),D("ngIf",!b.isLoading))},dependencies:[xw,yw,cL,DO,tA,JA,KA,LA,MA,OK,zM,UK,uM,Ew,aK,AP],styles:[".comment-history-list[_ngcontent-%COMP%]{overflow:auto;padding:0}.comment-version[_ngcontent-%COMP%]{position:relative;background-color:#f1f3f4;background-color:var(--c100);border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider);border-top:1px solid;border-top-color:#dadce0;border-top-color:var(--divider);padding:8px 5px}.comment-version-open[_ngcontent-%COMP%]{background-color:#fff;background-color:var(--surface-default);color:#202124;color:var(--text)}.comment-version[_ngcontent-%COMP%] > .bv2-event-user-image-cell[_ngcontent-%COMP%]{padding-top:8px;padding-left:5px}.comment-version-email[_ngcontent-%COMP%]{color:#5f6368;color:var(--muted)}.comment-version-preview[_ngcontent-%COMP%]{color:#5f6368;color:var(--muted)}.comment-version-restricted[_ngcontent-%COMP%]{color:#5f6368;color:var(--muted);font-style:italic}.comment-version-header[_ngcontent-%COMP%]{cursor:pointer;margin-left:40px}.comment-version-content[_ngcontent-%COMP%]{cursor:auto;margin:20px 0 10px 40px;white-space:pre-wrap}.comment-version[_ngcontent-%COMP%]   .deleted[_ngcontent-%COMP%]{color:#5f6368;color:var(--muted);font-style:italic}.comment-version[_ngcontent-%COMP%] + .comment-version[_ngcontent-%COMP%]{border-top:0}.comment-version[_ngcontent-%COMP%]   .bv2-event-user-image-cell[_ngcontent-%COMP%]{margin:0}.dialog-feedback[_ngcontent-%COMP%]{float:right}.diff-checkbox[_ngcontent-%COMP%]{float:right;margin-right:10px;margin-left:10px}b-formatted-date-time[_ngcontent-%COMP%]{float:right}[_nghost-%COMP%]     .diff-added{background-color:#ceead6;background-color:var(--good-bg)}[_nghost-%COMP%]     .diff-removed{background-color:#fce8e6;background-color:var(--bad-bg);text-decoration:line-through}\n/*# sourceMappingURL=comment_history_dialog.css.map */"],
changeDetection:0});var GHa=function(){},Tp=function(a,b,c,d,e){"undefined"==typeof e&&(e=(new Date).getTime()+1E3);if(null==b||null==c)throw Error("ld");if(b==c)return b?[[0,b]]:[];"undefined"==typeof d&&(d=!0);var f=l9b(b,c),h=b.substring(0,f);b=b.substring(f);c=c.substring(f);f=m9b(b,c);var l=b.substring(b.length-f);b=b.substring(0,b.length-f);c=c.substring(0,c.length-f);b=n9b(a,b,c,d,e);h&&b.unshift([0,h]);l&&b.push([0,l]);o9b(a,b);return b},n9b=function(a,b,c,d,e){if(!b)return[[1,c]];if(!c)return[[-1,b]];var f=
b.length>c.length?b:c,h=b.length>c.length?c:b,l=f.indexOf(h);if(-1!=l)return a=[[1,f.substring(0,l)],[0,h],[1,f.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(f=p9b(b,c))return c=f[1],h=f[3],b=f[4],f=Tp(a,f[0],f[2],d,e),a=Tp(a,c,h,d,e),f.concat([[0,b]],a);if(d&&100<b.length&&100<c.length){b=q9b(b,c);c=b.lineArray;b=Tp(a,b.chars1,b.chars2,!1,e);for(d=0;d<b.length;d++){f=b[d][1];h=[];for(l=0;l<f.length;l++)h[l]=c[f.charCodeAt(l)];b[d][1]=h.join("")}HHa(a,
b);b.push([0,""]);f=d=c=0;for(l=h="";c<b.length;){switch(b[c][0]){case 1:f++;l+=b[c][1];break;case -1:d++;h+=b[c][1];break;case 0:if(1<=d&&1<=f){b.splice(c-d-f,d+f);c=c-d-f;d=Tp(a,h,l,!1,e);for(f=d.length-1;0<=f;f--)b.splice(c,0,d[f]);c+=d.length}d=f=0;l=h=""}c++}b.pop();a=b}else a:{d=b.length;f=c.length;h=Math.ceil((d+f)/2);l=2*h;for(var q=Array(l),u=Array(l),x=0;x<l;x++)q[x]=-1,u[x]=-1;q[h+1]=0;u[h+1]=0;x=d-f;for(var y=0!=x%2,G=0,L=0,M=0,T=0,S=0;S<h&&!((new Date).getTime()>e);S++){for(var X=-S+
G;X<=S-L;X+=2){var aa=h+X;var na=X==-S||X!=S&&q[aa-1]<q[aa+1]?q[aa+1]:q[aa-1]+1;for(var ma=na-X;na<d&&ma<f&&b.charAt(na)==c.charAt(ma);)na++,ma++;q[aa]=na;if(na>d)L+=2;else if(ma>f)G+=2;else if(y&&(aa=h+x-X,0<=aa&&aa<l&&-1!=u[aa])){var Ca=d-u[aa];if(na>=Ca){a=r9b(a,b,c,na,ma,e);break a}}}for(X=-S+M;X<=S-T;X+=2){aa=h+X;Ca=X==-S||X!=S&&u[aa-1]<u[aa+1]?u[aa+1]:u[aa-1]+1;for(na=Ca-X;Ca<d&&na<f&&b.charAt(d-Ca-1)==c.charAt(f-na-1);)Ca++,na++;u[aa]=Ca;if(Ca>d)T+=2;else if(na>f)M+=2;else if(!y&&(aa=h+x-X,
0<=aa&&aa<l&&-1!=q[aa]&&(na=q[aa],ma=h+na-aa,Ca=d-Ca,na>=Ca))){a=r9b(a,b,c,na,ma,e);break a}}}a=[[-1,b],[1,c]]}return a},r9b=function(a,b,c,d,e,f){var h=b.substring(d),l=c.substring(e);b=Tp(a,b.substring(0,d),c.substring(0,e),!1,f);a=Tp(a,h,l,!1,f);return b.concat(a)},q9b=function(a,b){function c(h){for(var l="",q=0,u=-1,x=d.length;u<h.length-1;){u=h.indexOf("\n",q);-1==u&&(u=h.length-1);var y=h.substring(q,u+1);(e.hasOwnProperty?e.hasOwnProperty(y):void 0!==e[y])?l+=String.fromCharCode(e[y]):(x==
f&&(y=h.substring(q),u=h.length),l+=String.fromCharCode(x),e[y]=x,d[x++]=y);q=u+1}return l}var d=[],e={};d[0]="";var f=4E4;a=c(a);f=65535;b=c(b);return{chars1:a,chars2:b,lineArray:d}},l9b=function(a,b){if(!a||!b||a.charAt(0)!=b.charAt(0))return 0;for(var c=0,d=Math.min(a.length,b.length),e=d,f=0;c<e;)a.substring(f,e)==b.substring(f,e)?f=c=e:d=e,e=Math.floor((d-c)/2+c);return e},m9b=function(a,b){if(!a||!b||a.charAt(a.length-1)!=b.charAt(b.length-1))return 0;for(var c=0,d=Math.min(a.length,b.length),
e=d,f=0;c<e;)a.substring(a.length-e,a.length-f)==b.substring(b.length-e,b.length-f)?f=c=e:d=e,e=Math.floor((d-c)/2+c);return e},s9b=function(a,b){var c=a.length,d=b.length;if(0==c||0==d)return 0;c>d?a=a.substring(c-d):c<d&&(b=b.substring(0,c));c=Math.min(c,d);if(a==b)return c;d=0;for(var e=1;;){var f=b.indexOf(a.substring(c-e));if(-1==f)return d;e+=f;if(0==f||a.substring(c-e)==b.substring(0,e))d=e,e++}},p9b=function(a,b){function c(l,q,u){for(var x=l.substring(u,u+Math.floor(l.length/4)),y=-1,G="",
L,M,T,S;-1!=(y=q.indexOf(x,y+1));){var X=l9b(l.substring(u),q.substring(y)),aa=m9b(l.substring(0,u),q.substring(0,y));G.length<aa+X&&(G=q.substring(y-aa,y)+q.substring(y,y+X),L=l.substring(0,u-aa),M=l.substring(u+X),T=q.substring(0,y-aa),S=q.substring(y+X))}return 2*G.length>=l.length?[L,M,T,S,G]:null}var d=a.length>b.length?a:b,e=a.length>b.length?b:a;if(4>d.length||2*e.length<d.length)return null;var f=c(d,e,Math.ceil(d.length/4));d=c(d,e,Math.ceil(d.length/2));var h;if(f||d)d?h=f?f[4].length>d[4].length?
f:d:d:h=f;else return null;a.length>b.length?(a=h[0],b=h[1],f=h[2],d=h[3]):(f=h[0],d=h[1],a=h[2],b=h[3]);return[a,b,f,d,h[4]]},HHa=function(a,b){for(var c=!1,d=[],e=0,f=null,h=0,l=0,q=0,u=0,x=0;h<b.length;)0==b[h][0]?(d[e++]=h,l=u,q=x,x=u=0,f=b[h][1]):(1==b[h][0]?u+=b[h][1].length:x+=b[h][1].length,f&&f.length<=Math.max(l,q)&&f.length<=Math.max(u,x)&&(b.splice(d[e-1],0,[-1,f]),b[d[e-1]+1][0]=1,e--,e--,h=0<e?d[e-1]:-1,x=u=q=l=0,f=null,c=!0)),h++;c&&o9b(a,b);t9b(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=s9b(a,c);e=s9b(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++}},t9b=function(a){function b(y,G){if(!y||!G)return 6;var L=y.charAt(y.length-1),M=G.charAt(0),T=L.match(u9b),S=M.match(u9b),X=T&&L.match(v9b),
aa=S&&M.match(v9b);L=X&&L.match(w9b);M=aa&&M.match(w9b);y=L&&y.match(x9b);G=M&&G.match(y9b);return y||G?5:L||M?4:T&&!X&&aa?3:X||aa?2:T||S?1:0}for(var c=1;c<a.length-1;){if(0==a[c-1][0]&&0==a[c+1][0]){var d=a[c-1][1],e=a[c][1],f=a[c+1][1],h=m9b(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);f=l+f}h=d;l=e;for(var q=f,u=b(d,e)+b(e,f);e.charAt(0)===f.charAt(0);){d+=e.charAt(0);e=e.substring(1)+f.charAt(0);f=f.substring(1);var x=b(d,e)+b(e,f);x>=u&&(u=
x,h=d,l=e,q=f)}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++}},u9b=/[^a-zA-Z0-9]/,v9b=/\s/,w9b=/[\r\n]/,x9b=/\n\r?\n$/,y9b=/^\r?\n\r?\n/,o9b=function(a,b){b.push([0,""]);for(var c=0,d=0,e=0,f="",h="",l;c<b.length;)switch(b[c][0]){case 1:e++;h+=b[c][1];c++;break;case -1:d++;f+=b[c][1];c++;break;case 0:1<d+e?(0!==d&&0!==e&&(l=l9b(h,f),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),
f=f.substring(l)),l=m9b(h,f),0!==l&&(b[c][1]=h.substring(h.length-l)+b[c][1],h=h.substring(0,h.length-l),f=f.substring(0,f.length-l))),0===d?b.splice(c-e,d+e,[1,h]):0===e?b.splice(c-d,d+e,[-1,f]):b.splice(c-d-e,d+e,[-1,f],[1,h]),c=c-d-e+(d?1:0)+(e?1:0)+1):0!==c&&0==b[c-1][0]?(b[c-1][1]+=b[c][1],b.splice(c,1)):c++,d=e=0,h=f=""}""===b[b.length-1][1]&&b.pop();d=!1;for(c=1;c<b.length-1;)0==b[c-1][0]&&0==b[c+1][0]&&(b[c][1].substring(b[c][1].length-b[c-1][1].length)==b[c-1][1]?(b[c][1]=b[c-1][1]+b[c][1].substring(0,
b[c][1].length-b[c-1][1].length),b[c+1][1]=b[c-1][1]+b[c+1][1],b.splice(c-1,1),d=!0):b[c][1].substring(0,b[c+1][1].length)==b[c+1][1]&&(b[c-1][1]+=b[c+1][1],b[c][1]=b[c][1].substring(b[c+1][1].length)+b[c+1][1],b.splice(c+1,1),d=!0)),c++;d&&o9b(a,b)};var uQ=function(a,b,c){this.analytics=a;this.issueComments=b;this.dialogManager=c};uQ.prototype.show=function(a,b,c){var d=this,e;return of(function(f){if(d.dialog&&2!==d.dialog.getState())return f.return();d.analytics.trackEvent("commentHistoryModal","open");e={issueId:a,commentNumber:b,commentVersion:c,commentHistory:z9b(d,a,b,c)};d.dialog=d.dialogManager.open(tQ,{data:e,width:"50vw"});return f.return((0,C.firstValueFrom)(DA(d.dialog)))})};
var z9b=function(a,b,c,d){return a.issueComments.listHistory(b,c).then(function(e){var f=0<e.length?e[0].unlinkifiedComment:"",h=0<e.length?e[0].formattingMode:"",l=!1,q=[];e=m(e);for(var u=e.next();!u.done;u=e.next()){u=u.value;var x=JHa(u);x||l?(f=vQ(u.unlinkifiedComment),h=vQ(u.formattingMode)):(f=IHa(f,u.unlinkifiedComment),l=u.formattingMode,h=h===l?vQ(l):mp(vQ(h,"diff-removed"),vQ(l,"diff-added")));l=void 0===u.unlinkifiedComment?"":u.unlinkifiedComment;var y=u.version,G=u.commentContentVerdict;
q.push({unlinkifiedComment:l,lastEditorUser:u.lastEditorUser,version:y,formattingMode:u.formattingMode,formattingModeDiff:h,lastModified:Number(u.lastModified)/1E3,open:25>y,preview:48>=l.length?l:l.substring(0,45)+"...",diff:f,restricted:G&&G.piiVerdict&&"NONE_DETECTED"!==G.piiVerdict.severity||!1,deleted:JHa(u)});f=u.unlinkifiedComment;h=u.formattingMode;l=x}-1<d?q[d].open=!0:q[0].open=!0;return q})},vQ=function(a,b){return lp("SPAN",b?{"class":b}:null,a)};
uQ.\u0275fac=function(a){return new (a||uQ)(n(wH),n($H),n(IA))};uQ.\u0275prov=Vc({token:uQ,factory:uQ.\u0275fac,providedIn:"root"});var A9b=function(a){Y.call(this,a)};W(A9b,Y);g=A9b.prototype;g.getIssueId=function(){return Ck(this,1)};g.setIssueId=function(a){return k(this,1,a)};g.getCommentNumber=function(){return zj(this,2)};g.setCommentNumber=function(a){return k(this,2,a)};g.getPiiRetention=function(){return tk(this,3,0)};g.setPiiRetention=function(a){return k(this,3,a)};g.hasPiiRetention=function(){return nl(this,3)};var wQ=function(a){this.executor=a};wQ.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:jj(c)}c=void 0}return this.executor.get({url:"action/issues/"+a+"/comment/"+b,options:{headers:{"X-Restricted-Content-Limit":d(c)}},responseConstructor:sE})};
wQ.prototype.updateRetention=function(a,b,c){c=(new A9b).setIssueId(a).setCommentNumber(b).setPiiRetention(c);return this.executor.post({url:"action/issues/"+a+"/comment/"+b+"/update_retention",body:c,responseConstructor:sE}).pipe(B(wm))};wQ.\u0275fac=function(a){return new (a||wQ)(n(KD))};wQ.\u0275prov=Vc({token:wQ,factory:wQ.\u0275fac,providedIn:"root"});var xQ=function(a){Y.call(this,a)};W(xQ,Y);xQ.prototype.getUrl=function(){return Dk(this,1)};xQ.prototype.setUrl=function(a){return k(this,1,a)};xQ.prototype.hasUrl=function(){return Am(this,1)};xQ.messageId="b.AttachmentUrlResponse";var yQ=function(a){this.executor=a};yQ.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(ooa(d)));return this.executor.get({url:"action/issues/"+a+"/attachments/"+b+"/url",options:{headers:e,params:{download:String(c)}},responseConstructor:xQ}).then(function(f){return f.getUrl()})};yQ.\u0275fac=function(a){return new (a||yQ)(n(LD))};yQ.\u0275prov=Vc({token:yQ,factory:yQ.\u0275fac,providedIn:"root"});var zQ=function(a,b,c){this.templateRef=b;this.viewContainer=c;this.isInternal=!1;this.isInternal=a.isInternalSession()};zQ.prototype.ngOnInit=function(){this.isInternal&&this.viewContainer.createEmbeddedView(this.templateRef)};zQ.\u0275fac=function(a){return new (a||zQ)(A(Vt),A(eh),A(fh))};zQ.\u0275dir=qd({type:zQ,selectors:[["","internalOnly",""]]});var AQ=function(a,b,c,d,e,f,h,l){this.dialogRef=b;this.userAccess=c;this.attachmentsUrl=d;this.butterBar=e;this.domSafe=f;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};AQ.prototype.ngOnInit=function(){this.changeDetectorRef.detectChanges();this.setHasViewAccess()};
AQ.prototype.setHasViewAccess=function(){var a=this;this.isLoading=!0;LHa(this)?(this.hasViewAccess=!1,JF(this.userAccess,"reader","issues/"+this.issueId+"/attachments/"+this.attachment.attachmentId).then(function(b){a.hasViewAccess=b}).finally(function(){a.isLoading=!1})):(this.hasViewAccess=!0,this.isLoading=!1)};AQ.prototype.getPiiSeverity=function(){var a=this.attachment.contentVerdict;if(a&&(a=a.piiVerdict))return a.severity};
var LHa=function(a){return(a=a.getPiiSeverity())?"NONE_DETECTED"!==a:!1},B9b=function(a){var b=a.download&&Sna(a.attachment.contentType);a.attachmentsUrl.get(a.issueId,a.attachment.attachmentId,b,a.getPiiSeverity()).then(function(c){b?QK(a.domSafe,c):a.domSafe.openInNewTab(c);a.close()},function(){XF(a.butterBar,"Failed to load attachment. Please refresh and try again.");a.close()})};AQ.prototype.close=function(){this.dialogRef.close();this.changeDetectorRef.detectChanges()};
AQ.prototype.getRestrictedAccessHelpLink=function(){return this.documentationLinks.getRestrictedAccessHelpLink()};AQ.\u0275fac=function(a){return new (a||AQ)(A(HA),A(FA),A(IF),A(yQ),A(VF),A(PK),A(SI),A(sH,2))};
AQ.\u0275cmp=p({type:AQ,selectors:[["b-attachment-download-dialog"]],features:[Ug([sH])],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&&(E(0,"h1",0),Q(1,"Access Attachment"),F(),E(2,"div",1)(3,"div",2),Q(4," Are you sure you would like to access the following attachment? "),F(),H(5,"br"),E(6,"div",3)(7,"div",4),H(8,"mat-icon",5),F(),E(9,"div",6),Q(10),F()(),H(11,"br"),P(12,MHa,2,1,"ng-container",
7),P(13,NHa,3,0,"div",8),F(),P(14,OHa,1,0,"mat-spinner",9),E(15,"div",10)(16,"button",11),K("click",function(){return b.close()}),Q(17," Cancel "),F(),E(18,"button",12),K("click",function(){return B9b(b)}),Q(19," Continue "),F()());a&2&&(z(10),R(" ",b.attachment.filename," "),z(3),D("ngIf",!b.isLoading&&!b.hasViewAccess),z(1),D("ngIf",b.isLoading),z(4),D("disabled",!b.hasViewAccess))},dependencies:[yw,KA,LA,MA,tA,jB,yM,zQ],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 C9b=function(a){Y.call(this,a)};W(C9b,Y);g=C9b.prototype;g.getIssueId=function(){return Ck(this,1)};g.setIssueId=function(a){return k(this,1,a)};g.getAttachmentId=function(){return Ck(this,2)};g.setAttachmentId=function(a){k(this,2,a)};g.getPiiRetention=function(){return tk(this,3,0)};g.setPiiRetention=function(a){return k(this,3,a)};g.hasPiiRetention=function(){return nl(this,3)};var BQ=function(a){this.executor=a};BQ.prototype.updateRetention=function(a,b,c){var d=new C9b;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:KE}).pipe(B(Ml))};BQ.\u0275fac=function(a){return new (a||BQ)(n(KD))};BQ.\u0275prov=Vc({token:BQ,factory:BQ.\u0275fac,providedIn:"root"});var CQ=function(){this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.isGreyedOut=!0;this.linkUrl=this.displayName="";this.useCustomHandler=this.linkEnabled=!1;this.customHandler=new Rv};CQ.prototype.handleClick=function(a){this.useCustomHandler&&(a.preventDefault(),this.customHandler.emit())};CQ.\u0275fac=function(a){return new (a||CQ)};
CQ.\u0275cmp=p({type:CQ,selectors:[["b-conditional-link"]],inputs:{isGreyedOut:"isGreyedOut",displayName:"displayName",linkUrl:"linkUrl",linkEnabled:"linkEnabled",useCustomHandler:"useCustomHandler"},outputs:{customHandler:"customHandler"},decls:2,vars:2,consts:[[3,"muted",4,"ngIf"],["class","normal-link","target","_blank",3,"href","rel","click",4,"ngIf"],["target","_blank",1,"normal-link",3,"href","rel","click"]],template:function(a,b){a&1&&(P(0,PHa,2,3,"span",0),P(1,QHa,2,3,"a",1));a&2&&(D("ngIf",
b.isGreyedOut||!b.linkEnabled),z(1),D("ngIf",!b.isGreyedOut&&b.linkEnabled))},dependencies:[yw],encapsulation:2,changeDetection:0});var DQ=function(a,b){this.documentationLinks=a;this.dateFormatter=b;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.retentionModel=CSb;this.label="Restricted";this.contentType="item"};DQ.prototype.getRetentionPeriod=function(){if(!this.retentionState||!this.retentionState.retentionPeriod)return"";var a=Hwa(this.retentionState.retentionPeriod);return a?Iwa(Math.floor(1E3*a.getSeconds()/864E5)):""};
var SHa=function(a){var b=new Date(864E13);if(!a.retentionState||!a.retentionState.scheduledDeletionTime)return b;a=cp(bp(a.retentionState.scheduledDeletionTime));return new Date(a||b)},D9b=function(a){return a.retentionState&&a.retentionState.scheduledDeletionTime?12096E5>cp(bp(a.retentionState.scheduledDeletionTime))-Date.now():!1};DQ.\u0275fac=function(a){return new (a||DQ)(A(SI),A(bL))};
DQ.\u0275cmp=p({type:DQ,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=t();E(0,"xap-bubble",0,1)(2,"div",2);K("focus",function(){v(c);var e=O(1);return w(e.toggle(!0))})("blur",function(){v(c);var e=O(1);return w(e.toggle(!1))});H(3,"mat-icon",3);Q(4);F();P(5,XHa,8,4,"ng-template",null,4,qh);P(7,YHa,3,1,"ng-template",null,5,qh);P(9,ZHa,8,5,"ng-template",null,6,qh);F()}if(a&2){var d=O(6);D("panelTemplate",d);z(2);Fg("warning",D9b(b));z(1);D("svgIcon",D9b(b)?"delete-alert":
"delete-clock");z(1);R(" ",b.label," ")}},dependencies:[yw,zw,Aw,jB,pP,Hw],styles:[".chip[_ngcontent-%COMP%]{display:inline-block;border-radius:1em;font-size:.8125rem;font-weight:400;line-height:1.8em;padding:0 .6em;margin:0 .6em;background-color:#e8eaed;background-color:var(--chip-bg);color:#202124;color:var(--text-high-contrast)}.chip[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{vertical-align:text-top}.chip.warning[_ngcontent-%COMP%]{background-color:#fcad70;background-color:var(--expiring-bg);color:rgba(0,0,0,.7);color:var(--expiring-text)}.popup[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{line-height:1.5em !important}.popup[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]:last-child{margin-bottom:0}\n/*# sourceMappingURL=restricted_chip.css.map */"],
changeDetection:0});var EQ=function(){this.warningChunks=[]};EQ.prototype.ngOnInit=function(){var a=this.warningText,b=dIa(a,"EXTERNAL_PUBLIC")||dIa(a,"EXTERNAL_PARTNER");this.warningChunks=b?[{text:a.substring(0,b.startOfMatch)},{accessLevel:b.accessLevel},{text:a.substring(b.endOfMatch)}]:[{text:a}]};EQ.prototype.isText=function(a){return void 0!==a.text};EQ.\u0275fac=function(a){return new (a||EQ)};
EQ.\u0275cmp=p({type:EQ,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&&(E(0,"div"),P(1,bIa,3,2,"span",0),F());a&2&&(z(1),D("ngForOf",b.warningChunks))},dependencies:[xw,yw,qP],encapsulation:2});var cIa=new Map([["EXTERNAL_PUBLIC","visible to public users"],["EXTERNAL_PARTNER","visible to external partners"]]);var FQ=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=b0b(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};
FQ.prototype.allow=function(){var a;null==(a=this.dialogRef)||a.close();this.isAllowed&&this.acknowledged&&this.callbacks.allow()};FQ.prototype.cancel=function(){var a;null==(a=this.dialogRef)||a.close();this.callbacks.cancel()};FQ.\u0275fac=function(a){return new (a||FQ)(A(HA),A(SI),A(FA))};
FQ.\u0275cmp=p({type:FQ,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&&(E(0,"h1",0),Q(1),F(),E(2,"div",1)(3,"div",2),H(4,"b-component-move-warning-content",3),F(),H(5,"br"),E(6,"a",4),Q(7,"Learn more"),F(),P(8,eIa,5,1,"div",5),F(),E(9,"mat-dialog-actions")(10,"button",6),K("click",function(){return b.cancel()}),Q(11," Cancel "),F(),P(12,fIa,2,1,"button",7),F());a&2&&(z(1),Sg(b.header),z(3),D("warningText",b.warning),z(2),ug("href",b.learnMore,Ie),z(2),D("ngIf",b.isExternalMove&&b.isAllowed),z(4),D("ngIf",b.isAllowed))},
dependencies:[yw,ax,hx,tA,DO,JA,KA,LA,MA,EQ],styles:["mat-checkbox[_ngcontent-%COMP%] {\n      margin-right: 8px;\n    }"],changeDetection:0});var E9b=function(a){Y.call(this,a)};W(E9b,Y);E9b.messageId="b.CompareComponentAccessResponse";var GQ=function(a){this.executor=a};GQ.prototype.check=function(a,b,c){return this.executor.get({url:"action/compare_component_access/"+a+"/"+b,options:{params:{issueId:c}},responseConstructor:E9b}).then(gqa)};GQ.\u0275fac=function(a){return new (a||GQ)(n(LD))};GQ.\u0275prov=Vc({token:GQ,factory:GQ.\u0275fac,providedIn:"root"});var HQ=function(a,b,c,d,e,f){this.issueInteractionsTracking=a;this.issueFridge=b;this.butterBar=c;this.compareComponentAccess=d;this.matDialogService=e;this.editIssueService=f},Eob=function(a,b,c){var d,e,f,h,l;of(function(q){switch(q.nextAddress){case 1:return b=String(b),GJ(a.issueInteractionsTracking,b,{label:"changeComponent"}),c?q.yield((0,C.firstValueFrom)(a.issueFridge.watch(b)),2):q.return();case 2:d=q.yieldResult;if(!d)return XF(a.butterBar,"Could not load issue "+b),q.return();e=d.snapshot[0].componentId;
f=c.componentId;return e===f?q.return():q.yield(a.compareComponentAccess.check(String(e),String(f),b),3);case 3:h=q.yieldResult;if(!h.warning){q.jumpTo(4);break}return q.yield(F9b(a,h),5);case 5:if(l=q.yieldResult,!l)return q.return();case 4:return q.return(a.editIssueService.updateComponent(b,f,h.isExternalMove))}})},F9b=function(a,b){return new Promise(function(c){DA(a.matDialogService.open(FQ,{width:"580px",data:{response:b,callbacks:{allow:function(){c(!0)},cancel:function(){c(!1)}}}})).subscribe(function(){c(!1)})})};
HQ.\u0275fac=function(a){return new (a||HQ)(n(FJ),n(BH),n(VF),n(GQ),n(IA),n(bK))};HQ.\u0275prov=Vc({token:HQ,factory:HQ.\u0275fac,providedIn:"root"});var IQ=function(a){this.documentationLinks=a};IQ.\u0275fac=function(a){return new (a||IQ)(A(SI))};
IQ.\u0275cmp=p({type:IQ,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&&(E(0,"h1",0),Q(1,"Apply component retention settings?"),F(),E(2,"div",
1)(3,"p"),Q(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. "),F(),E(5,"a",2),Q(6,"Learn more"),F()(),E(7,"div",3)(8,"button",4),Q(9," Cancel "),F(),E(10,"button",5),Q(11," OK "),F()());a&2&&(z(5),D("href",Qt(),Ie),z(3),D("mat-dialog-close",!1),z(2),D("mat-dialog-close",!0))},dependencies:[JA,KA,LA,MA,tA],encapsulation:2});var JQ=function(a,b){this.documentationLinks=b;this.deletionReasons=a.deletionReasons;this.attachmentId=a.attachmentId};JQ.\u0275fac=function(a){return new (a||JQ)(A(HA),A(SI))};
JQ.\u0275cmp=p({type:JQ,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&&(E(0,"h1",0),Q(1),F(),E(2,"div",1)(3,"span"),Q(4," Please select the reason for deleting this attachment. "),E(5,"a",2),Q(6," \u00a0Learn more "),F()(),E(7,"mat-radio-group",3),K("ngModelChange",function(c){return b.selectedReason=c}),P(8,hIa,3,4,"mat-radio-button",4),F()(),E(9,"div",5)(10,"button",6),Q(11," Cancel "),F(),E(12,"button",7),Q(13," Delete "),F()());a&2&&(z(1),R("Delete attachment ",b.attachmentId,""),z(4),D("href",
c0b(b.documentationLinks),Ie),z(2),D("ngModel",b.selectedReason),z(1),D("ngForOf",b.deletionReasons),z(4),D("mat-dialog-close",b.selectedReason)("disabled",!b.selectedReason))},dependencies:[xw,yw,JA,KA,LA,MA,tA,ax,hx,DN,EN],styles:["mat-radio-group[_ngcontent-%COMP%] {display: flex; flex-direction: column; margin: 15px 0;}","mat-radio-button[_ngcontent-%COMP%] {margin: 5px}"]});var KQ=function(a,b){this.documentationLinks=b;this.commentNumber=a.commentNumber;this.issueId=a.issueId;this.deletionReasons=a.deletionReasons};KQ.\u0275fac=function(a){return new (a||KQ)(A(HA),A(SI))};
KQ.\u0275cmp=p({type:KQ,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&&(E(0,"h1",0),Q(1),F(),E(2,"div",1)(3,"label"),Q(4,"Please select the reason for deleting this comment."),F(),E(5,"a",2),Q(6," \u00a0Learn more "),F(),E(7,"mat-radio-group",3),K("ngModelChange",function(c){return b.selectedReason=c}),P(8,jIa,3,4,"mat-radio-button",4),F()(),E(9,"div",5)(10,"button",6),Q(11," Cancel "),F(),E(12,"button",7),Q(13," Delete "),F()());a&2&&(z(1),Tg("Delete Comment #",b.commentNumber," of Issue ",b.issueId,
""),z(4),D("href",c0b(b.documentationLinks),Ie),z(2),D("ngModel",b.selectedReason),z(1),D("ngForOf",b.deletionReasons),z(4),D("mat-dialog-close",b.selectedReason)("disabled",!b.selectedReason))},dependencies:[xw,yw,JA,KA,LA,MA,tA,ax,hx,DN,EN],styles:["mat-radio-group[_ngcontent-%COMP%] {display: flex; flex-direction: column; margin: 15px 0;}","mat-radio-button[_ngcontent-%COMP%] {margin: 5px}"]});var LQ=function(a,b){this.documentationLinks=a;this.activeSession=b;this.REMOVAL_URL=kIa(this.activeSession.isInternalSession())};LQ.\u0275fac=function(a){return new (a||LQ)(A(SI),A(Vt))};
LQ.\u0275cmp=p({type:LQ,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&&(E(0,"h1",0),Q(1,"Report spam?"),F(),E(2,"div",1)(3,
"p"),Q(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, "),E(5,"a",2),Q(6,"see here"),F(),Q(7,". "),F(),H(8,"p"),E(9,"p"),Q(10," To delete PII or other sensitive content, "),E(11,"a",2),Q(12,"file a support request"),F(),Q(13,". "),F()(),E(14,"div",3)(15,"button",4),Q(16," Cancel "),F(),E(17,"button",5),Q(18," Report spam "),F()());a&2&&(z(5),D("href",a0b(b.documentationLinks),Ie),z(6),D("href",b.REMOVAL_URL,
Ie),z(4),D("mat-dialog-close",!1),z(2),D("mat-dialog-close",!0))},dependencies:[JA,KA,LA,MA,tA],encapsulation:2});var MQ=function(a){this.documentationLinks=a;this.indefiniteRetentionAcknowledged=!1};MQ.\u0275fac=function(a){return new (a||MQ)(A(SI))};
MQ.\u0275cmp=p({type:MQ,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&&(E(0,"h1",0),Q(1,"Retain issue indefinitely?"),
F(),E(2,"div",1)(3,"p"),Q(4," Are you sure you want to override any component retention settings, and retain this issue indefinitely? "),F(),E(5,"p")(6,"b"),Q(7,"Please note indefinite retention is not appropriate in many circumstances."),F(),H(8,"br"),Q(9," Before selecting this option, you should make sure at least one of the following is true: "),F(),E(10,"ul")(11,"li"),Q(12," There is no personal data, user data, or any other forms of sensitive data being stored in this issue. "),F(),E(13,"li"),
Q(14," You have a process in place to manually delete this issue within an approved period of time. "),F(),E(15,"li"),Q(16," Legal and Privacy have approved this non-standard retention period. "),F()(),H(17,"p"),E(18,"p")(19,"a",2),Q(20,"Learn more"),F()(),E(21,"mat-checkbox",3),K("change",function(c){return b.indefiniteRetentionAcknowledged=c.checked}),Q(22," I acknowledge "),F()(),E(23,"div",4)(24,"button",5),Q(25," Cancel "),F(),E(26,"button",6),Q(27," OK "),F()());a&2&&(z(19),D("href",Qt(),Ie),
z(2),D("checked",b.indefiniteRetentionAcknowledged),z(3),D("mat-dialog-close",!1),z(2),D("mat-dialog-close",!0)("disabled",!b.indefiniteRetentionAcknowledged))},dependencies:[JA,KA,LA,MA,tA,DO],styles:[".mat-dialog-content[_ngcontent-%COMP%] { max-height: unset; overflow: unset; }","ul[_ngcontent-%COMP%] { list-style: disc }"]});var Kt=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(f){e.loadingResponders=!1;e.allResponders=f.responders}).catch(function(f){e.loadingResponders=!1;$F(e.errorHandler,"Fetching comment reaction responders failed\n "+
f.message);e.dialogRef.close()})};Kt.\u0275fac=function(a){return new (a||Kt)(A(HA),A($H),A(ZF),A(FA))};
Kt.\u0275cmp=p({type:Kt,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&&(E(0,"h1",0),Q(1),F(),E(2,
"div",1)(3,"mat-tab-group",2)(4,"mat-tab"),P(5,lIa,1,1,"ng-template",3),P(6,mIa,1,0,"b-spinner",4),P(7,oIa,2,1,"ng-container",4),F()()(),E(8,"div",5)(9,"button",6),Q(10," OK "),F()());a&2&&(z(1),R("View Reactions for Comment #",b.commentNumber,""),z(5),D("ngIf",b.loadingResponders),z(1),D("ngIf",!b.loadingResponders),z(2),D("mat-dialog-close",!0))},dependencies:[xw,yw,JA,KA,LA,MA,tA,jB,zM,uN,vN,tN],styles:["[_nghost-%COMP%]     .mat-tab-label {\n      height: 32px;\n    }\n    [_nghost-%COMP%]     .mat-tab-body-wrapper {\n      margin-top: 8px;\n    }"]});var NQ=function(){};NQ.\u0275fac=function(a){return new (a||NQ)};NQ.\u0275mod=od({type:NQ});NQ.\u0275inj=Wc({imports:[Mw,NA,YC,aB,wx,YA,OC,iO,PP,yN,iP]});var G9b=function(a){Y.call(this,a)};W(G9b,Y);g=G9b.prototype;g.getResourcePath=function(){return Dk(this,1)};g.setResourcePath=function(a){return k(this,1,a)};g.hasResourcePath=function(){return Am(this,1)};g.getSeverity=function(){return tk(this,2,0)};g.setSeverity=function(a){return k(this,2,a)};g.hasSeverity=function(){return nl(this,2)};g.getJudgementReason=function(){return Dk(this,3)};g.setJudgementReason=function(a){return k(this,3,a)};G9b.messageId="b.CreateContentJudgementRequest";var I9b=function(a){Y.call(this,a,-1,H9b)};W(I9b,Y);var H9b=[1];I9b.messageId="b.ListContentJudgementsResponse";var OQ=function(a){Y.call(this,a)};W(OQ,Y);OQ.prototype.getContentJudgement=function(){return Ok(this,Ek,1)};OQ.prototype.setContentJudgement=function(a){return gl(this,Ek,1,a)};OQ.messageId="b.UpdateContentJudgementRequest";var PQ=function(a){this.executor=a};PQ.prototype.create=function(a,b,c){a=(new G9b).setResourcePath(a).setSeverity(b).setJudgementReason(c);return this.executor.post({url:"action/content_judgements",body:a,responseConstructor:Ek})};PQ.prototype.update=function(a){var b=Ck(a,1);a=(new OQ).setContentJudgement(a);return this.executor.post({url:"action/content_judgements/"+b,body:a,responseConstructor:Ek})};
PQ.prototype.list=function(a){return this.executor.get({url:"action/content_judgements",options:{params:{resource_path:a}},responseConstructor:I9b})};PQ.\u0275fac=function(a){return new (a||PQ)(n(KD))};PQ.\u0275prov=Vc({token:PQ,factory:PQ.\u0275fac,providedIn:"root"});var QQ=function(a,b,c,d,e){var f=this;this.dialogRef=a;this.documentationLinks=b;this.contentJudgements=c;this.activeSession=d;this.data=e;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.piiSeverity=MSb;this.loaded=!1;this.minimumSeverity=0;this.severity=1;this.processContentJudgements=function(h){var l=0;h=m(yj(h,Ek,1));for(var q=h.next();!q.done;q=h.next())q=q.value,Dk(q,5)===f.activeSession.getUserEmail()?J9b(f,q):q.getSeverity()>l&&(l=q.getSeverity());f.minimumSeverity=l;f.minimumSeverity>
f.severity&&(f.severity=f.minimumSeverity);f.loaded=!0};this.severity=e.severity;e.resourcePath?c.list(e.resourcePath).subscribe(this.processContentJudgements):(J9b(this,e.contentJudgement),this.loaded=!0)};QQ.prototype.canInteract=function(){return this.loaded&&(this.data.hasAclToCreate||!!this.judgement)};
var J9b=function(a,b){if(a.judgement=b)a.severity=b.getSeverity()},K9b=function(a){var b=a.data.resourceType||"comment and/or attachment(s)";a.data.resourcePath&&(a.data.resourcePath.includes("comment")?b="comment":a.data.resourcePath.includes("attachment")&&(b="attachment"));if(!a.data.hasAclToCreate)return"You do not have permission to create new judgements for this\n          "+b+". This is the current restriction level of the\n          "+b+".";b="Each restriction level allows access to particular users and has a designated content retention period. Customize levels on the component settings page.";
1<a.minimumSeverity&&(b+=" You can only select a restriction level equal or greater than the severity already given by other users.");return b};QQ.prototype.getContentJudgement=function(){var a=new Ek;if(this.judgement){var b=Ck(this.judgement,1);k(a,1,b);a.setResourcePath(this.judgement.getResourcePath())}a.setJudgementReason("None specified");a.setSeverity(this.severity);return a};
QQ.prototype.onSaveClick=function(){var a=this;if(this.data.resourcePath){if(null==this.judgement){this.contentJudgements.create(this.data.resourcePath,this.severity,"None specified").subscribe(function(){a.dialogRef.close({contentJudgement:a.getContentJudgement()})});return}if(this.judgement.getSeverity()!==this.severity||"None specified"!==this.judgement.getJudgementReason()){this.contentJudgements.update(this.getContentJudgement()).subscribe(function(){a.dialogRef.close({contentJudgement:a.getContentJudgement()})});
return}}this.dialogRef.close({contentJudgement:this.getContentJudgement()})};QQ.prototype.onNoClick=function(){this.dialogRef.close(null)};QQ.\u0275fac=function(a){return new (a||QQ)(A(FA),A(SI),A(PQ),A(Vt),A(HA))};
QQ.\u0275cmp=p({type:QQ,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&&(E(0,"header",0)(1,"h1"),H(2,"mat-icon",1),E(3,"div"),Q(4," Set restriction "),F()()(),E(5,"section",2)(6,"label",3),Q(7),E(8,"a",4),Q(9," Learn More "),F()(),
E(10,"mat-radio-group",5),K("ngModelChange",function(c){return b.severity=c}),E(11,"mat-radio-button",6),Q(12," No restriction "),E(13,"div"),Q(14,' Users with "View issues" can access. '),F()(),E(15,"mat-radio-button",7),Q(16," Restricted "),E(17,"div"),Q(18,' Users with "View restricted content" can access. '),F()(),E(19,"mat-radio-button",8),Q(20," Restricted+ "),E(21,"div"),Q(22,' Users with "View restricted+ content" can access. '),F()()()(),E(23,"mat-dialog-actions")(24,"button",9),K("click",
function(){return b.onNoClick()}),Q(25," Cancel "),F(),E(26,"button",10),K("click",function(){return b.onSaveClick()}),Q(27," Set "),F()());a&2&&(z(7),R(" ",K9b(b)," "),z(1),D("rel",b.EXTERNAL_LINK_REL),ug("href",b.documentationLinks.getRestrictedAccessHelpLink(),Ie),z(2),D("ngModel",b.severity),z(1),D("value",b.piiSeverity.NONE_DETECTED)("disabled",!b.canInteract()||b.minimumSeverity>b.piiSeverity.NONE_DETECTED),z(4),D("value",b.piiSeverity.PII)("disabled",!b.canInteract()||b.minimumSeverity>b.piiSeverity.PII),
z(4),D("value",b.piiSeverity.SPII)("disabled",!b.canInteract()||b.minimumSeverity>b.piiSeverity.SPII),z(7),D("disabled",!b.canInteract()))},dependencies:[tA,KA,LA,MA,jB,DN,EN,ax,hx],styles:["h1[_ngcontent-%COMP%]{text-align:center}.restriction-radio[_ngcontent-%COMP%]{display:block;margin:10px;padding:4px;line-height:1.5em}.restriction-radio[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{color:#5f6368;color:var(--muted)}\n/*# sourceMappingURL=content_judgement_dialog.css.map */"]});var RQ=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};RQ.prototype.canInteract=function(){return 2!==this.piiRetention||this.acknowledgeToMatchIssueRetention};RQ.prototype.onSaveClick=function(){this.dialogRef.close(1)};RQ.prototype.onNoClick=function(){this.dialogRef.close(0)};
RQ.\u0275fac=function(a){return new (a||RQ)(A(FA),A(SI),A(HA))};
RQ.\u0275cmp=p({type:RQ,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&&(E(0,"h1",0),H(1,"mat-icon",1),E(2,"div"),P(3,pIa,2,1,"span",2),P(4,qIa,2,0,"span",2),F()(),E(5,"div",3),P(6,rIa,8,1,"span",2),P(7,sIa,3,2,"span",2),E(8,"span")(9,"a",4),Q(10," Learn More "),F()()(),E(11,"div")(12,"span"),P(13,tIa,2,1,"mat-checkbox",5),F()(),E(14,"div",6)(15,"button",7),K("click",function(){return b.onNoClick()}),Q(16," Cancel "),F(),E(17,"button",8),K("click",
function(){return b.onSaveClick()}),Q(18," Save "),F()());a&2&&(z(3),D("ngIf",2===b.piiRetention),z(1),D("ngIf",2!==b.piiRetention),z(2),D("ngIf",2===b.piiRetention),z(1),D("ngIf",2!==b.piiRetention),z(2),D("rel",b.EXTERNAL_LINK_REL),ug("href",Qt(),Ie),z(4),D("ngIf",2===b.piiRetention),z(4),D("disabled",!b.canInteract()))},dependencies:[yw,tA,KA,LA,MA,jB,DO,ax,hx],styles:["h1[_ngcontent-%COMP%]{text-align:center}.mat-dialog-content[_ngcontent-%COMP%]{overflow:inherit}\n/*# sourceMappingURL=update_retention_dialog.css.map */"]});var SQ=function(a,b,c,d,e,f,h){this.errorHandler=a;this.eventsForIssueFridge=b;this.issueFetchResponseFridge=c;this.issueCommentsService=d;this.issueInteractionsTracking=e;this.butterBar=f;this.editIssueService=h},L9b=function(a,b){var c=b.issueId,d=b.newCommentId,e=b.newComment,f=b.newCommentFormattingMode,h=b.recaptchaToken,l,q;of(function(u){switch(u.nextAddress){case 1:l=a.editIssueService.savingState(c);if(!e.trim())return XF(a.butterBar,"New comment cannot be empty."),u.return();ZJ(l,"commentEdit");
WF(a.butterBar,"Saving comment edit...",0);GJ(a.issueInteractionsTracking,c,{label:1===d?"description":"comment"});pf(u,2,3);return u.yield(a.issueCommentsService.update(c,d,e,f,h),5);case 5:WF(a.butterBar,"Comment edit successful.",4E3),GH(a.issueFetchResponseFridge,c),qF(a.eventsForIssueFridge,c,function(x){x.events=Tra(x.events,d,{formattedComment:void 0,unlinkifiedComment:e,formattingMode:f})}),a.eventsForIssueFridge.poke(c);case 3:qf(u);$J(l,"commentEdit");rf(u,0);break;case 2:q=sf(u),aG(a.errorHandler,
q),u.jumpTo(3)}})};SQ.\u0275fac=function(a){return new (a||SQ)(n(ZF),n(sF),n(EH),n($H),n(FJ),n(VF),n(bK))};SQ.\u0275prov=Vc({token:SQ,factory:SQ.\u0275fac,providedIn:"root"});var M9b=function(a,b,c){this.objectId=a;this.version=b;this.payload=c},N9b=function(){},O9b=function(a){this.timestampMicros=a};uIa.prototype.reset=function(){this.currentMaxDelayMs_=this.initialMaxDelayMs_;this.inRetryMode_=!1};var P9b=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 bq=function(a){Y.call(this,a)};W(bq,Y);var zIa=[1,2,3,15];var dq=function(a){Y.call(this,a)};W(dq,Y);var fq=[1,2,3,4,5,6,7,8,9,10,11,12];var cq=function(a){Y.call(this,a,-1,Q9b)};W(cq,Y);var Q9b=[1];var aq=function(a){Y.call(this,a)};W(aq,Y);aq.prototype.getName=function(){return oq(this,1,R9b)};aq.prototype.setName=function(a){return rk(this,1,R9b,a)};aq.prototype.hasName=function(){return null!=oq(this,1,R9b)};aq.prototype.getNameOrUndefined=function(){var a=oq(this,1,R9b);return null==a?void 0:a};var R9b=[1,2];var S9b=function(a){Y.call(this,a)};W(S9b,Y);g=S9b.prototype;g.setProject=function(a){gl(this,aq,1,a)};g.getOwner=function(){return Ok(this,bq,2)};g.setOwner=function(a){return gl(this,bq,2,a)};g.getPath=function(){return Ok(this,cq,3)};g.setPath=function(a){return gl(this,cq,3,a)};g.hasPath=function(){return Hl(this,cq,3)};var T9b=function(a){Y.call(this,a)};W(T9b,Y);g=T9b.prototype;g.setProject=function(a){gl(this,aq,1,a)};g.getOwner=function(){return Ok(this,bq,2)};g.setOwner=function(a){return gl(this,bq,2,a)};g.getPrefix=function(){return Ok(this,cq,3)};g.setPrefix=function(a){gl(this,cq,3,a)};var TQ=function(a){Y.call(this,a)};W(TQ,Y);TQ.prototype.getVersion=function(){return su(this,1)};TQ.prototype.getVersion_legacyNullable=function(){return su(this,1)};TQ.prototype.setVersion=function(a){return k(this,1,a)};TQ.prototype.getVersionOrUndefined=function(){return tu(this,1)};var U9b=function(a){Y.call(this,a)};W(U9b,Y);g=U9b.prototype;g.getHeader=function(){return Ok(this,TQ,4)};g.setHeader=function(a){return gl(this,TQ,4,a)};g.hasHeader=function(){return Hl(this,TQ,4)};g.getPrefix=function(){return Sl(this,T9b,6,V9b)};g.setPrefix=function(a){hq(this,6,V9b,a)};var V9b=[2,3,6];var W9b=function(a){Y.call(this,a)};W(W9b,Y);var X9b=function(a){Y.call(this,a)};W(X9b,Y);X9b.prototype.setAffinitization=function(a){k(this,2,a)};X9b.prototype.getAffinitizationOrUndefined=function(){return qt(this,2)};var Y9b=function(a){Y.call(this,a)};W(Y9b,Y);var Z9b=function(a){Y.call(this,a)};W(Z9b,Y);g=Z9b.prototype;g.getStreamId_legacyNullable=function(){return Db(this,1)};g.setStreamId=function(a){k(this,1,a)};g.getClose=function(){return Sl(this,Y9b,3,$9b)};g.setClose=function(a){hq(this,3,$9b,a)};g.hasClose=function(){return Ql(this,Y9b,3,$9b)};g.setAffinitization=function(a){k(this,4,a)};g.getAffinitizationOrUndefined=function(){return qt(this,4)};var $9b=[2,3];var UQ=function(a){Y.call(this,a,-1,a$b)};W(UQ,Y);UQ.prototype.setRequestsList=function(a){return ac(this,1,a)};UQ.prototype.addAndReturnRequests=function(){return Rb(this,1,Z9b)};var a$b=[1];var VQ=function(a){Y.call(this,a)};W(VQ,Y);VQ.prototype.getCode=function(){return Db(this,1)};VQ.prototype.getCode_legacyNullable=function(){return Db(this,1)};VQ.prototype.setCode=function(a){return k(this,1,a)};var b$b=function(a){Y.call(this,a)};W(b$b,Y);var c$b=function(a){Y.call(this,a)};W(c$b,Y);g=c$b.prototype;g.getPayload=function(){return pq(this,2)};g.getVersion=function(){return Db(this,3)};g.getVersion_legacyNullable=function(){return Db(this,3)};g.setVersion=function(a){return k(this,3,a)};g.getVersionOrUndefined=function(){var a=Db(this,3);return null==a?void 0:a};var e$b=function(a){Y.call(this,a,-1,d$b)};W(e$b,Y);var d$b=[1];var f$b=function(a){Y.call(this,a)};W(f$b,Y);var WQ=function(a){Y.call(this,a)};W(WQ,Y);WQ.prototype.getStart=function(){return Sl(this,f$b,1,XQ)};WQ.prototype.setStart=function(a){return hq(this,1,XQ,a)};WQ.prototype.getChanges=function(){return Sl(this,e$b,2,XQ)};WQ.prototype.hasChanges=function(){return Ql(this,e$b,2,XQ)};var XQ=[1,2,3,5];var YQ=function(a){Y.call(this,a)};W(YQ,Y);g=YQ.prototype;g.getCode=function(){return su(this,1)};g.getCode_legacyNullable=function(){return su(this,1)};g.setCode=function(a){return k(this,1,a)};g.getMessage=function(){return Db(this,3)};g.setMessage=function(a){k(this,3,a)};var ZQ=function(a){Y.call(this,a)};W(ZQ,Y);ZQ.prototype.getStatus=function(){return Ok(this,YQ,1)};ZQ.prototype.setStatus=function(a){return gl(this,YQ,1,a)};ZQ.prototype.hasStatus=function(){return Hl(this,YQ,1)};var g$b=function(a){Y.call(this,a)};W(g$b,Y);g=g$b.prototype;g.getStreamId_legacyNullable=function(){return Db(this,1)};g.setStreamId=function(a){k(this,1,a)};g.getClose=function(){return Sl(this,ZQ,3,h$b)};g.setClose=function(a){hq(this,3,h$b,a)};g.hasClose=function(){return Ql(this,ZQ,3,h$b)};var h$b=[2,3];var $Q=function(a){Y.call(this,a,-1,i$b)};W($Q,Y);$Q.prototype.getStatus=function(){return Ok(this,VQ,2)};$Q.prototype.setStatus=function(a){return gl(this,VQ,2,a)};$Q.prototype.hasStatus=function(){return Hl(this,VQ,2)};var i$b=[1];var j$b=function(){zB.call(this,"d")};gu(j$b,zB);var k$b=function(){zB.call(this,"c")};gu(k$b,zB);var l$b=function(a,b){this.path=a;this.authMethod=b},aR=function(a,b,c,d,e){this.channelMessageHandler=a;this.channelStatusHandler=b;this.config=c;this.channelCreator=d;this.state=0;this.channelHandler=new Qr;this.channel=this.createWebChannel(e)};
aR.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 bR(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 $Q(c[0]))});this.channelHandler.listen(a,"c",function(c){b.channelStatusHandler.onError(c,(new bR(b.channel.channel_)).getLastStatusCode());0!==c.status&&(b.state=2)});return a};
aR.prototype.open=function(){0===this.state&&(this.state=1,this.channel.open())};aR.prototype.close=function(){2!==this.state&&this.channel.close()};aR.prototype.send=function(a){a=a.serialize();this.channel.send(a)};var m$b,n$b=(new TQ).setVersion(7);m$b=k(n$b,2,5);var iq=function(a){this.rep=a};iq.prototype.equals=function(a){return this.rep===a.rep};var o$b=function(){var a=8;a=void 0===a?1:a;this.max=8;this.lastAddedTimestampMs=Date.now();this.tokens=a};o$b.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 gq=function(a,b){this.seconds=a;this.nanos=b},BIa=function(a){var b=new vj;b.setSeconds(a.seconds);b.setNanos(a.nanos);return b},FIa=function(a){try{var b=a.getSeconds(),c=a.getNanos();if(-62135596800>b)throw Error("nd`"+b);if(253402300800<=b)throw Error("od`"+b);if(0>c)throw Error("pd`"+c);if(1E9<=c)throw Error("qd`"+c);if(!Number.isInteger(b))throw Error("rd`"+b);if(!Number.isInteger(c))throw Error("sd`"+c);return new gq(b,c)}catch(d){return null}};
gq.prototype.equals=function(a){return this.seconds===a.seconds&&this.nanos===a.nanos};var eq=function(a,b){this.low_=a|0;this.high_=b|0};g=eq.prototype;g.toNumber=function(){return 4294967296*this.high_+(this.low_>>>0)};g.isSafeInteger=function(){var a=this.high_>>21;return 0==a||-1==a&&!(0==this.low_&&-2097152==this.high_)};
g.toString=function(a){a=a||10;if(2>a||36<a)throw Error("td`"+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=cR(c,c/4294967296);c=dR(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};g.isZero=function(){return 0==this.low_&&0==this.high_};g.isNegative=function(){return 0>this.high_};
g.equals=function(a){return this.low_==a.low_&&this.high_==a.high_};g.compare=function(a){return this.high_==a.high_?this.low_==a.low_?0:this.low_>>>0>a.low_>>>0?1:-1:this.high_>a.high_?1:-1};var eR=function(a){var b=~a.low_+1|0;return cR(b,~a.high_+!b|0)};
eq.prototype.add=function(a){var b=this.high_>>>16,c=this.high_&65535,d=this.low_>>>16,e=a.high_>>>16,f=a.high_&65535,h=a.low_>>>16;a=(this.low_&65535)+(a.low_&65535);h=(a>>>16)+(d+h);d=h>>>16;d+=c+f;return cR((h&65535)<<16|a&65535,((d>>>16)+(b+e)&65535)<<16|d&65535)};eq.prototype.subtract=function(a){return this.add(eR(a))};
eq.prototype.multiply=function(a){if(this.isZero())return this;if(a.isZero())return a;var b=this.high_>>>16,c=this.high_&65535,d=this.low_>>>16,e=this.low_&65535,f=a.high_>>>16,h=a.high_&65535,l=a.low_>>>16;a=a.low_&65535;var q=e*a;var u=(q>>>16)+d*a;var x=u>>>16;u=(u&65535)+e*l;x+=u>>>16;x+=c*a;var y=x>>>16;x=(x&65535)+d*l;y+=x>>>16;x=(x&65535)+e*h;y=y+(x>>>16)+(b*a+c*l+d*h+e*f)&65535;return cR((u&65535)<<16|q&65535,y<<16|x&65535)};
var dR=function(a,b){if(b.isZero())throw Error("ud");if(a.isNegative()){if(a.equals(fR)){if(b.equals(p$b)||b.equals(q$b))return fR;if(b.equals(fR))return p$b;var c=a.high_;c=cR(a.low_>>>1|c<<31,c>>1);c=dR(c,b).shiftLeft(1);if(c.equals(gR))return b.isNegative()?p$b:q$b;a=a.subtract(b.multiply(c));return c.add(dR(a,b))}return b.isNegative()?dR(eR(a),eR(b)):eR(dR(eR(a),b))}if(a.isZero())return gR;if(b.isNegative())return b.equals(fR)?gR:eR(dR(a,eR(b)));for(var d=gR;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 f=hR(c),h=f.multiply(b);h.isNegative()||0<h.compare(a);)c-=e,f=hR(c),h=f.multiply(b);f.isZero()&&(f=p$b);d=d.add(f);a=a.subtract(h)}return d};g=eq.prototype;g.not=function(){return cR(~this.low_,~this.high_)};g.and=function(a){return cR(this.low_&a.low_,this.high_&a.high_)};g.or=function(a){return cR(this.low_|a.low_,this.high_|a.high_)};g.xor=function(a){return cR(this.low_^a.low_,this.high_^a.high_)};
g.shiftLeft=function(a){a&=63;if(0==a)return this;var b=this.low_;return 32>a?cR(b<<a,this.high_<<a|b>>>32-a):cR(0,b<<a-32)};
var hR=function(a){return 0<a?0x7fffffffffffffff<=a?r$b:new eq(a,a/4294967296):0>a?-0x7fffffffffffffff>=a?fR:eR(new eq(-a,-a/4294967296)):gR},cR=function(a,b){return new eq(a,b)},lq=function(a,b){if("-"==a.charAt(0))return eR(lq(a.substring(1),b));var c=parseInt(a,b||10);if(9007199254740991>=c)return new eq(c%4294967296|0,c/4294967296|0);if(0==a.length)throw Error("vd");if(0<=a.indexOf("-"))throw Error("wd`"+a);b=b||10;if(2>b||36<b)throw Error("td`"+b);c=hR(Math.pow(b,8));for(var d=gR,e=0;e<a.length;e+=
8){var f=Math.min(8,a.length-e),h=parseInt(a.substring(e,e+f),b);8>f?d=d.multiply(hR(Math.pow(b,f))).add(hR(h)):(d=d.multiply(c),d=d.add(hR(h)))}return d},gR=cR(0,0),p$b=cR(1,0),q$b=cR(-1,-1),r$b=cR(4294967295,2147483647),fR=cR(0,2147483648);var Up=function(a,b){this.value=a;this.isDecreasing=!!b};
Up.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 eq)b=a.value instanceof eq?this.value.equals(a.value):!1;else if(this.value instanceof iq)b=a.value instanceof iq?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 gq?a.value instanceof gq?this.value.equals(a.value):!1:!1;return b};var kq=function(a,b){this.parts=a;this.isPrivate=b},DIa=function(){for(var a=[],b=m(yd.apply(0,arguments)),c=b.next();!c.done;c=b.next())c=c.value,c instanceof Up?a.push(c):a.push(new Up(c));return new kq(a,!1)};
kq.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 s$b=function(){},Yp=function(a,b){this.apiKey=a;this.authUser=b};Yp.prototype.getHeaders=function(){var a={},b;(b=uq([]))?(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};Yp.prototype.getQueryParameters=function(){return{key:this.apiKey}};Yp.prototype.domainType=function(){return 0};Yp.prototype.usesCredentialedRequests=function(){return!0};var Wp=function(a){this.oauthTokens=a};
Wp.prototype.getHeaders=function(){var a={};a.Authorization="OAuth "+this.oauthTokens.getValue();return a};Wp.prototype.getQueryParameters=function(){return{}};Wp.prototype.domainType=function(){return 1};Wp.prototype.usesCredentialedRequests=function(){return!0};var Xp=function(a,b){this.apiKey=a;this.appAuthTokens=b};Xp.prototype.getHeaders=function(){return{}};Xp.prototype.getQueryParameters=function(){return{key:this.apiKey}};Xp.prototype.domainType=function(){return 1};
Xp.prototype.usesCredentialedRequests=function(){return!1};var t$b={send:function(a,b,c,d,e,f,h){gj(a,b,c,d,e,f,h)}};var u$b=function(a,b,c){this.code=a;this.message=b;this.status=c},v$b=function(a){var b=void 0===b?t$b:b;this.baseUri=a;this.xhrIo=b};v$b.prototype.post=function(a,b,c,d){d=void 0===d?{}:d;return this.request("POST",a,b,c,d)};
v$b.prototype.request=function(a,b,c,d,e){var f=this,h=new Cq(this.baseUri);h.setPath(b);if(e.queryParams){b=m(Object.entries(e.queryParams));for(var l=b.next();!l.done;l=b.next()){var q=m(l.value);l=q.next().value;q=q.next().value;sD(h,l,q)}}var u={"Content-type":"application/json+protobuf"};Object.assign(u,e.extraHeaders);var x=c.serialize();return new Promise(function(y,G){var L;f.xhrIo.send(h,function(){var M=-1===this.getStatus()?void 0:this.getStatus();if(this.isSuccess())try{y(Pba(d,this.getResponseText()))}catch(T){G(new u$b(4,
"Failed to deserialize response from "+h+": "+this.getResponseText(),M))}else G(new u$b(this.getLastErrorCode(),this.getLastError(),M))},a,x,u,null!=(L=e.timeoutMs)?L:2E4,e.withCredentials)})};var w$b=function(a,b,c){hj.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};W(w$b,hj);g=w$b.prototype;g.fire=function(a){this.args_=arguments;this.timer_||this.pauseCount_?this.shouldFire_=!0:this.doAction_()};g.stop=function(){this.timer_&&($p(this.timer_),this.timer_=null,this.shouldFire_=!1,this.args_=null)};g.pause=function(){this.pauseCount_++};
g.resume=function(){this.pauseCount_--;this.pauseCount_||!this.shouldFire_||this.timer_||(this.shouldFire_=!1,this.doAction_())};g.disposeInternal=function(){hj.prototype.disposeInternal.call(this);this.stop()};g.onTimer_=function(){this.timer_=null;this.shouldFire_&&!this.pauseCount_&&(this.shouldFire_=!1,this.doAction_())};g.doAction_=function(){var a=this;this.timer_=Zp(function(){return a.onTimer_()},this.interval_);var b=this.args_;this.args_=null;this.listener_.apply(null,b)};var x$b=null,y$b=function(){return x$b=x$b||new wq},z$b=function(a){zB.call(this,"serverreachability",a)};gu(z$b,zB);var iR=function(a){var b=y$b();b.dispatchEvent(new z$b(b,a))},A$b=function(a,b){zB.call(this,"statevent",a);this.stat=b};gu(A$b,zB);var jR=function(a){var b=y$b();b.dispatchEvent(new A$b(b,a))},B$b=function(a,b,c){zB.call(this,"timingevent",a);this.size=b;this.rtt=c};gu(B$b,zB);
var C$b=function(a,b,c){var d=y$b();d.dispatchEvent(new B$b(d,a,b,c))},kR=function(a,b){if("function"!==typeof a)throw Error("yd");return da.setTimeout(function(){a()},b)};var lR=function(){this.redactEnabled_=!0};lR.prototype.disableRedact=function(){this.redactEnabled_=!1};
var D$b=function(a,b,c,d,e,f){a.info(function(){if(a.redactEnabled_)if(f){var h="";for(var l=f.split("&"),q=0;q<l.length;q++){var u=l[q].split("=");if(1<u.length){var x=u[0];u=u[1];var y=x.split("_");h=2<=y.length&&"type"==y[1]?h+(x+"="+u+"&"):h+(x+"=redacted&")}}}else h=null;else h=f;return"XMLHTTP REQ ("+d+") [attempt "+e+"]: "+b+"\n"+c+"\n"+h})},E$b=function(a,b,c,d,e,f,h){a.info(function(){return"XMLHTTP RESP ("+d+") [ attempt "+e+"]: "+b+"\n"+c+"\n"+f+" "+h})},mR=function(a,b,c,d){a.info(function(){return"XMLHTTP TEXT ("+
b+"): "+F$b(a,c)+(d?" "+d:"")})},G$b=function(a,b){a.info(function(){return"TIMEOUT: "+b})};lR.prototype.debug=function(){};lR.prototype.info=function(){};lR.prototype.warning=function(){};
var F$b=function(a,b){if(!a.redactEnabled_)return b;if(!b)return null;try{var c=JSON.parse(b);if(c)for(var d=0;d<c.length;d++)if(Array.isArray(c[d])){var e=c[d];if(!(2>e.length)){var f=e[1];if(Array.isArray(f)&&!(1>f.length)){var h=f[0];if("noop"!=h&&"stop"!=h&&"close"!=h)for(var l=1;l<f.length;l++)f[l]=""}}}return iPb(c)}catch(q){return a.debug("Exception parsing expected JS array - probably was not JS"),b}};var nR=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 Qr(this);this.timeout_=45E3;a=dr?125:void 0;this.pollingTimer_=new YB(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 H$b},H$b=function(){this.textDecoder=null;this.responseBuffer="";this.responseArrivedForFetch=!1},I$b=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"}},
J$b={},K$b={};nR.prototype.setExtraHeaders=function(a){this.extraHeaders_=a};nR.prototype.setTimeout=function(a){this.timeout_=a};nR.prototype.setReadyStateChangeThrottle=function(a){this.readyStateChangeThrottleMs_=a};nR.prototype.getPendingMessages=function(){return this.pendingMessages_};
var M$b=function(a,b,c){a.type_=1;a.baseUri_=uD(b.clone());a.postData_=c;a.decodeChunks_=!0;L$b(a,null)},L$b=function(a,b){a.requestStartTime_=Date.now();oR(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 H$b;a.xmlHttp_=N$b(a.channel_,c?b:null,!a.postData_);0<a.readyStateChangeThrottleMs_&&(a.readyStateChangeThrottle_=new w$b(eu(a.xmlHttpHandler_,
a,a.xmlHttp_),a.readyStateChangeThrottleMs_));a.eventHandler_.listen(a.xmlHttp_,"readystatechange",a.readyStateChangeHandler_);b=a.extraHeaders_?tc(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));iR(1);D$b(a.channelDebug_,a.verb_,a.requestUri_,a.rid_,a.retryId_,a.postData_)};
nR.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)};nR.prototype.xmlHttpHandler_=function(a){try{a==this.xmlHttp_?O$b(this):this.channelDebug_.warning("Called back with an unexpected xmlhttp")}catch(b){this.channelDebug_.debug("Failed call to OnXmlHttpReadyStateChanged_"),P$b(this)}finally{}};
var O$b=function(a){var b=a.xmlHttp_.getReadyState(),c=a.xmlHttp_.getLastErrorCode(),d=a.xmlHttp_.getStatus();if(!(3>b||3==b&&!dr&&!P$b(a))){a.cancelled_||4!=b||7==c||(8==c||0>=d?iR(3):iR(2));Q$b(a);var e=a.xmlHttp_.getStatus();a.lastStatusCode_=e;c=R$b(a);P$b(a)||a.channelDebug_.debug(function(){return"No response text for uri "+a.requestUri_+" status "+e});a.successful_=200==e;E$b(a.channelDebug_,a.verb_,a.requestUri_,a.rid_,a.retryId_,b,e);if(a.successful_){if(a.decodeInitialResponse_&&!a.initialResponseDecoded_)if(d=
S$b(a))mR(a.channelDebug_,a.rid_,d,"Initial handshake response via X-HTTP-Initial-Response"),a.initialResponseDecoded_=!0,T$b(a,d);else{a.successful_=!1;a.lastError_=3;jR(12);a.channelDebug_.warning("XMLHTTP Missing X_HTTP_INITIAL_RESPONSE ("+a.rid_+")");pR(a);qR(a);return}a.decodeChunks_?(U$b(a,b,c),dr&&a.successful_&&3==b&&V$b(a)):(mR(a.channelDebug_,a.rid_,c,null),T$b(a,c));4==b&&pR(a);a.successful_&&!a.cancelled_&&(4==b?W$b(a.channel_,a):(a.successful_=!1,oR(a)))}else a.xmlHttp_.getResponseHeaders(),
400==e&&0<c.indexOf("Unknown SID")?(a.lastError_=3,jR(12),a.channelDebug_.warning("XMLHTTP Unknown SID ("+a.rid_+")")):(a.lastError_=0,jR(13),a.channelDebug_.warning("XMLHTTP Bad status "+e+" ("+a.rid_+")")),pR(a),qR(a)}},S$b=function(a){return a.xmlHttp_&&(a=kj(a.xmlHttp_,"X-HTTP-Initial-Response"))&&!Hm(a)?a:null},R$b=function(a){if(!X$b(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 pR(a),qR(a),"";a.fetchResponseState_.textDecoder=new da.TextDecoder}for(var f=0;f<d;f++)a.fetchResponseState_.responseArrivedForFetch=!0,c+=a.fetchResponseState_.textDecoder.decode(b[f],{stream:e&&f==d-1});b.splice(0,d);a.fetchResponseState_.responseBuffer+=c;a.xmlHttpChunkStart_=0;return a.fetchResponseState_.responseBuffer},P$b=function(a){return a.xmlHttp_?a.fetchResponseState_.responseArrivedForFetch?!0:!(!a.xmlHttp_.getResponseText()&&!a.xmlHttp_.getResponse()):!1},
X$b=function(a){return a.xmlHttp_?"GET"==a.verb_&&2!=a.type_&&a.channel_.usesFetchStreams_:!1},U$b=function(a,b,c){for(var d=!0,e;!a.cancelled_&&a.xmlHttpChunkStart_<c.length;)if(e=Y$b(a,c),e==K$b){4==b&&(a.lastError_=4,jR(14),d=!1);mR(a.channelDebug_,a.rid_,null,"[Incomplete Response]");break}else if(e==J$b){a.lastError_=4;jR(15);mR(a.channelDebug_,a.rid_,c,"[Invalid Chunk]");d=!1;break}else mR(a.channelDebug_,a.rid_,e,null),T$b(a,e);X$b(a)&&e!=K$b&&e!=J$b&&(a.fetchResponseState_.responseBuffer=
"",a.xmlHttpChunkStart_=0);4!=b||0!=c.length||a.fetchResponseState_.responseArrivedForFetch||(a.lastError_=1,jR(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),Z$b(b),b.bpDetectionDone_=!0,jR(11))):(mR(a.channelDebug_,a.rid_,c,"[Invalid Chunked Response]"),pR(a),qR(a))};
nR.prototype.pollResponse_=function(){if(this.xmlHttp_){var a=this.xmlHttp_.getReadyState(),b=this.xmlHttp_.getResponseText();this.xmlHttpChunkStart_<b.length&&(Q$b(this),U$b(this,a,b),this.successful_&&4!=a&&oR(this))}};
var V$b=function(a){a.eventHandler_.listen(a.pollingTimer_,"tick",a.pollResponse_);a.pollingTimer_.start()},Y$b=function(a,b){var c=a.xmlHttpChunkStart_,d=b.indexOf("\n",c);if(-1==d)return K$b;c=Number(b.substring(c,d));if(isNaN(c))return J$b;d+=1;if(d+c>b.length)return K$b;b=b.slice(d,d+c);a.xmlHttpChunkStart_=d+c;return b};nR.prototype.cancel=function(){this.cancelled_=!0;pR(this)};
var oR=function(a){a.watchDogTimeoutTime_=Date.now()+a.timeout_;$$b(a,a.timeout_)},$$b=function(a,b){if(null!=a.watchDogTimerId_)throw Error("zd");a.watchDogTimerId_=kR(eu(a.onWatchDogTimeout_,a),b)},Q$b=function(a){a.watchDogTimerId_&&(da.clearTimeout(a.watchDogTimerId_),a.watchDogTimerId_=null)};
nR.prototype.onWatchDogTimeout_=function(){this.watchDogTimerId_=null;var a=Date.now();0<=a-this.watchDogTimeoutTime_?(G$b(this.channelDebug_,this.requestUri_),2!=this.type_&&(iR(3),jR(17)),pR(this),this.lastError_=2,qR(this)):(this.channelDebug_.warning("WatchDog timer called too early"),$$b(this,this.watchDogTimeoutTime_-a))};
var qR=function(a){a.channel_.isClosed()||a.cancelled_||W$b(a.channel_,a)},pR=function(a){Q$b(a);fj(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()}};nR.prototype.getLastError=function(){return this.lastError_};nR.prototype.getLastStatusCode=function(){return this.lastStatusCode_};nR.prototype.getRequestId=function(){return this.rid_};nR.prototype.getXhr=function(){return this.xmlHttp_};
var T$b=function(a,b){try{var c=a.channel_;if(0!=c.state_&&(c.backChannelRequest_==a||aac(c.forwardChannelRequestPool_,a)))if(!a.initialResponseDecoded_&&aac(c.forwardChannelRequestPool_,a)&&3==c.state_){try{var d=c.wireCodec_.parser_.parse(b)}catch(aa){d=null}if(Array.isArray(d)&&3==d.length){var e=d;if(0==e[0])a:if(c.channelDebug_.debug("Server claims our backchannel is missing."),c.backChannelTimerId_)c.channelDebug_.debug("But we are currently starting the request.");else{if(c.backChannelRequest_)if(c.backChannelRequest_.requestStartTime_+
3E3<a.requestStartTime_)bac(c),cac(c);else break a;else c.channelDebug_.warning("We do not have a BackChannel established");dac(c);jR(18)}else{c.lastPostResponseArrayId_=e[1];var f=c.lastPostResponseArrayId_-c.lastArrayId_;if(0<f){var h=e[2];c.channelDebug_.debug(h+" bytes (in "+f+" arrays) are outstanding on the BackChannel");37500>h&&c.enableStreaming_&&0==c.backChannelRetryCount_&&!c.deadBackChannelTimerId_&&(c.deadBackChannelTimerId_=kR(eu(c.onBackChannelDead_,c),6E3))}}if(1>=eac(c.forwardChannelRequestPool_)&&
c.forwardChannelFlushedCallback_){try{c.forwardChannelFlushedCallback_()}catch(aa){}c.forwardChannelFlushedCallback_=void 0}}else c.channelDebug_.debug("Bad POST response data returned"),rR(c,11)}else if((a.initialResponseDecoded_||c.backChannelRequest_==a)&&bac(c),!Hm(b))for(e=c.wireCodec_.parser_.parse(b),f=0;f<e.length;f++){var l=e[f];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 u=l[4];null!=u&&(c.serverVersion_=u,c.channelDebug_.info("SVER="+c.serverVersion_));var x=l[5];null!=x&&"number"===typeof x&&0<x&&(h=1.5*x,c.backChannelRequestTimeoutMs_=h,c.channelDebug_.info("backChannelRequestTimeoutMs_="+h));h=c;var y=a.getXhr();if(y){var G=kj(y,"X-Client-Wire-Protocol");if(G){var L=h.forwardChannelRequestPool_;b=G;!L.requestPool_&&(ka(b,"spdy")||ka(b,"quic")||ka(b,"h2"))&&(L.maxSize_=L.maxPoolSizeConfigured_,L.requestPool_=new Set,L.request_&&(L.addRequest(L.request_),
L.request_=null))}if(h.httpSessionIdParam_){var M=kj(y,"X-HTTP-Session-Id");M?(h.httpSessionId_=M,sD(h.forwardChannelUri_,h.httpSessionIdParam_,M)):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 T=d=h,S=fac(T,T.supportsCrossDomainXhrs_?h.hostPrefix_:null,h.path_);T.channelDebug_.debug("GetBackChannelUri: "+
S);d.backChannelUri_=S;if(b.initialResponseDecoded_){h.channelDebug_.debug("Upgrade the handshake request to a backchannel.");gac(h.forwardChannelRequestPool_,b);d=b;var X=h.backChannelRequestTimeoutMs_;X&&d.setTimeout(X);d.watchDogTimerId_&&(Q$b(d),oR(d));h.backChannelRequest_=b}else hac(h);0<c.outgoingMaps_.length&&iac(c)}else"stop"!=l[0]&&"close"!=l[0]||rR(c,7);else 3==c.state_&&("stop"==l[0]||"close"==l[0]?"stop"==l[0]?rR(c,7):c.disconnect():"noop"!=l[0]&&c.handler_&&c.handler_.channelHandleArray(l),
c.backChannelRetryCount_=0)}iR(4)}catch(aa){}};var jac=function(a,b){this.mapId=a;this.map=b;this.context=null};var kac=function(a){this.maxPoolSizeConfigured_=a||10;da.PerformanceNavigationTiming?(a=da.performance.getEntriesByType("navigation"),a=0<a.length&&("hq"==a[0].nextHopProtocol||"h2"==a[0].nextHopProtocol)):a=!!(da.chrome&&da.chrome.loadTimes&&da.chrome.loadTimes()&&da.chrome.loadTimes().wasFetchedViaSpdy);this.maxSize_=a?this.maxPoolSizeConfigured_:1;this.requestPool_=null;1<this.maxSize_&&(this.requestPool_=new Set);this.request_=null;this.pendingMessages_=[]},lac=function(a){return a.request_?!0:
a.requestPool_?a.requestPool_.size>=a.maxSize_:!1},eac=function(a){return a.request_?1:a.requestPool_?a.requestPool_.size:0},aac=function(a,b){return a.request_?a.request_==b:a.requestPool_?a.requestPool_.has(b):!1};kac.prototype.addRequest=function(a){this.requestPool_?this.requestPool_.add(a):this.request_=a};var gac=function(a,b){a.request_&&a.request_==b?a.request_=null:a.requestPool_&&a.requestPool_.has(b)&&a.requestPool_.delete(b)};
kac.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=m(this.requestPool_.values()),b=a.next();!b.done;b=a.next())b.value.cancel();this.requestPool_.clear()}};
kac.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=m(this.requestPool_.values()),c=b.next();!c.done;c=b.next())a=a.concat(c.value.getPendingMessages());return a}return Oa(this.pendingMessages_)};var mac=function(a,b){a.pendingMessages_=a.pendingMessages_.concat(b)};var oac=function(a,b){var c=new lR;c.debug("TestLoadImage: loading "+a);if(da.Image){var d=new Image;d.onload=fu(nac,c,d,"TestLoadImage: loaded",!0,b);d.onerror=fu(nac,c,d,"TestLoadImage: error",!1,b);d.onabort=fu(nac,c,d,"TestLoadImage: abort",!1,b);d.ontimeout=fu(nac,c,d,"TestLoadImage: timeout",!1,b);da.setTimeout(function(){if(d.ontimeout)d.ontimeout()},1E4);d.src=a}else b(!1)},nac=function(a,b,c,d,e){try{a.debug(c),b.onload=null,b.onerror=null,b.onabort=null,b.ontimeout=null,e(d)}catch(f){}};var pac=function(){this.replacer_=void 0};pac.prototype.stringify=function(a){return da.JSON.stringify(a,this.replacer_)};pac.prototype.parse=function(a){return da.JSON.parse(a,void 0)};var qac=function(){this.parser_=new pac},rac=function(a,b,c){var d=c||"";try{qRb(a,function(e,f){var h=e;Ta(e)&&(h=iPb(e));b.push(d+f+"="+encodeURIComponent(h))})}catch(e){throw b.push(d+"type="+encodeURIComponent("_badmap")),e;}};var sR=function(a,b,c){return c&&c.internalChannelParams?c.internalChannelParams[a]||b:b},tR=function(a){this.clientVersion_=22;this.serverVersion_=0;this.outgoingMaps_=[];this.channelDebug_=new lR;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_=sR("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_=sR("baseRetryDelayMs",5E3,a);this.retryDelaySeedMs_=sR("retryDelaySeedMs",1E4,a);this.forwardChannelMaxRetries_=sR("forwardChannelMaxRetries",2,a);this.forwardChannelRequestTimeoutMs_=
sR("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 kac(a&&a.concurrentRequestLimit);this.wireCodec_=new qac;this.fastHandshake_=a&&a.fastHandshake||!1;this.encodeInitMessageHeaders_=a&&a.encodeInitMessageHeaders||!1;this.fastHandshake_&&
this.encodeInitMessageHeaders_&&(this.channelDebug_.warning("Ignore encodeInitMessageHeaders because fastHandshake is set."),this.encodeInitMessageHeaders_=!1);this.blockingHandshake_=a&&a.blockingHandshake||!1;a&&a.disableRedact&&this.channelDebug_.disableRedact();a&&a.forceLongPolling&&(this.allowStreamingMode_=!1);this.detectBufferingProxy_=!this.fastHandshake_&&this.allowStreamingMode_&&a&&a.detectBufferingProxy||!1;this.longPollingTimeout_=void 0;a&&a.longPollingTimeout&&0<a.longPollingTimeout&&
(this.longPollingTimeout_=a.longPollingTimeout);this.forwardChannelFlushedCallback_=void 0;this.handshakeRttMs_=0;this.bpDetectionDone_=!1;this.nonAckedMapsAtChannelClose_=this.bpDetectionTimerId_=null};tR.prototype.channelVersion_=8;tR.prototype.state_=1;
tR.prototype.connect=function(a,b,c,d){this.channelDebug_.debug("connect()");jR(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=fac(this,null,this.path_);this.channelDebug_.debug("GetForwardChannelUri: "+a);this.forwardChannelUri_=a;iac(this)};
tR.prototype.disconnect=function(){this.channelDebug_.debug("disconnect()");sac(this);if(3==this.state_){var a=this.nextRid_++,b=this.forwardChannelUri_.clone();sD(b,"SID",this.sid_);sD(b,"RID",a);sD(b,"TYPE","terminate");uR(this,b);a=new nR(this,this.channelDebug_,this.sid_,a);a.type_=2;a.baseUri_=uD(b.clone());b=!1;if(da.navigator&&da.navigator.sendBeacon)try{b=da.navigator.sendBeacon(a.baseUri_.toString(),"")}catch(c){}!b&&da.Image&&((new Image).src=a.baseUri_,b=!0);b||(a.xmlHttp_=N$b(a.channel_,
null),a.xmlHttp_.send(a.baseUri_));a.requestStartTime_=Date.now();oR(a)}tac(this)};var cac=function(a){a.backChannelRequest_&&(Z$b(a),a.backChannelRequest_.cancel(),a.backChannelRequest_=null)},sac=function(a){cac(a);a.backChannelTimerId_&&(da.clearTimeout(a.backChannelTimerId_),a.backChannelTimerId_=null);bac(a);a.forwardChannelRequestPool_.cancel();a.forwardChannelTimerId_&&("number"===typeof a.forwardChannelTimerId_&&da.clearTimeout(a.forwardChannelTimerId_),a.forwardChannelTimerId_=null)};g=tR.prototype;
g.setExtraHeaders=function(a){this.extraHeaders_=a};g.getHttpSessionId=function(){return this.httpSessionId_};g.setReadyStateChangeThrottle=function(a){this.readyStateChangeThrottleMs_=a};g.getHandler=function(){return this.handler_};g.isClosed=function(){return 0==this.state_};g.getState=function(){return this.state_};g.getLastStatusCode=function(){return this.errorResponseStatusCode_};
var iac=function(a){lac(a.forwardChannelRequestPool_)||a.forwardChannelTimerId_||(a.forwardChannelTimerId_=!0,TB(a.onStartForwardChannelTimer_,a),a.forwardChannelRetryCount_=0)},vac=function(a,b){if(eac(a.forwardChannelRequestPool_)>=a.forwardChannelRequestPool_.maxSize_-(a.forwardChannelTimerId_?1:0))return!1;if(a.forwardChannelTimerId_)return a.channelDebug_.debug("Use the retry request that is already scheduled."),a.outgoingMaps_=b.getPendingMessages().concat(a.outgoingMaps_),!0;if(1==a.state_||
2==a.state_||a.forwardChannelRetryCount_>=(a.failFast_?0:a.forwardChannelMaxRetries_))return!1;a.channelDebug_.debug("Going to retry POST");a.forwardChannelTimerId_=kR(eu(a.onStartForwardChannelTimer_,a,b),uac(a,a.forwardChannelRetryCount_));a.forwardChannelRetryCount_++;return!0};
tR.prototype.onStartForwardChannelTimer_=function(a){if(this.forwardChannelTimerId_)if(this.forwardChannelTimerId_=null,this.channelDebug_.debug("startForwardChannel_"),1==this.state_){if(!a){this.channelDebug_.debug("open_()");this.nextRid_=Math.floor(1E5*Math.random());a=this.nextRid_++;var b=new nR(this,this.channelDebug_,"",a),c=this.extraHeaders_;this.initHeaders_&&(c?(c=tc(c),uc(c,this.initHeaders_)):c=this.initHeaders_);null!==this.httpHeadersOverwriteParam_||this.encodeInitMessageHeaders_||
(b.setExtraHeaders(c),c=null);var d;if(this.fastHandshake_)a:{for(var e=d=0;e<this.outgoingMaps_.length;e++){b:{var f=this.outgoingMaps_[e];if("__data__"in f.map&&(f=f.map.__data__,"string"===typeof f)){f=f.length;break b}f=void 0}if(void 0===f)break;d+=f;if(4096<d){d=e;break a}if(4096===d||e===this.outgoingMaps_.length-1){d=e+1;break a}}d=1E3}else d=1E3;d=wac(this,b,d);e=this.forwardChannelUri_.clone();sD(e,"RID",a);0<this.clientVersion_&&sD(e,"CVER",this.clientVersion_);this.httpSessionIdParam_&&
sD(e,"X-HTTP-Session-Id",this.httpSessionIdParam_);uR(this,e);c&&(this.encodeInitMessageHeaders_?d="headers="+encodeURIComponent(String(zRb(c)))+"&"+d:this.httpHeadersOverwriteParam_&&ARb(e,this.httpHeadersOverwriteParam_,c));this.forwardChannelRequestPool_.addRequest(b);this.blockingHandshake_&&sD(e,"TYPE","init");this.fastHandshake_?(sD(e,"$req",d),sD(e,"SID","null"),b.decodeInitialResponse_=!0,M$b(b,e,null)):M$b(b,e,d);this.state_=2}}else 3==this.state_&&(a?xac(this,a):0==this.outgoingMaps_.length?
this.channelDebug_.debug("startForwardChannel_ returned: nothing to send"):lac(this.forwardChannelRequestPool_)||(xac(this),this.channelDebug_.debug("startForwardChannel_ finished, sent request")))};
var xac=function(a,b){var c;b?c=b.getRequestId():c=a.nextRid_++;var d=a.forwardChannelUri_.clone();sD(d,"SID",a.sid_);sD(d,"RID",c);sD(d,"AID",a.lastArrayId_);uR(a,d);a.httpHeadersOverwriteParam_&&a.extraHeaders_&&ARb(d,a.httpHeadersOverwriteParam_,a.extraHeaders_);c=new nR(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=wac(a,c,1E3);c.setTimeout(Math.round(.5*
a.forwardChannelRequestTimeoutMs_)+Math.round(.5*a.forwardChannelRequestTimeoutMs_*Math.random()));a.forwardChannelRequestPool_.addRequest(c);M$b(c,d,b)},uR=function(a,b){a.extraParams_&&nc(a.extraParams_,function(c,d){sD(b,d,c)});a.handler_&&qRb({},function(c,d){sD(b,d,c)})},wac=function(a,b,c){c=Math.min(a.outgoingMaps_.length,c);var d=a.handler_?eu(a.handler_.badMapError,a.handler_,a):null;a:for(var e=a.outgoingMaps_,f=-1;;){var h=["count="+c];-1==f?0<c?(f=e[0].mapId,h.push("ofs="+f)):f=0:h.push("ofs="+
f);for(var l=!0,q=0;q<c;q++){var u=e[q].mapId,x=e[q].map;u-=f;if(0>u)f=Math.max(0,e[q].mapId-100),l=!1;else try{rac(x,h,"req"+u+"_")}catch(y){d&&d(x)}}if(l){d=h.join("&");break a}}a=a.outgoingMaps_.splice(0,c);b.pendingMessages_=a;return d},hac=function(a){a.backChannelRequest_||a.backChannelTimerId_||(a.backChannelAttemptId_=1,TB(a.onStartBackChannelTimer_,a),a.backChannelRetryCount_=0)},dac=function(a){if(a.backChannelRequest_||a.backChannelTimerId_||3<=a.backChannelRetryCount_)return!1;a.channelDebug_.debug("Going to retry GET");
a.backChannelAttemptId_++;a.backChannelTimerId_=kR(eu(a.onStartBackChannelTimer_,a),uac(a,a.backChannelRetryCount_));a.backChannelRetryCount_++;return!0};
tR.prototype.onStartBackChannelTimer_=function(){this.backChannelTimerId_=null;yac(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_=kR(eu(this.onBpDetectionTimer_,this),a)}};
tR.prototype.onBpDetectionTimer_=function(){if(this.bpDetectionTimerId_){this.bpDetectionTimerId_=null;this.channelDebug_.info("BP detection timeout reached.");if(null!=this.backChannelRequest_.getXhr()){var a=this.backChannelRequest_.getXhr().getResponseText();a&&this.channelDebug_.warning("Timer should have been cancelled : "+a)}this.channelDebug_.info("Buffering proxy detected and switch to long-polling!");this.enableStreaming_=!1;this.bpDetectionDone_=!0;jR(10);cac(this);yac(this)}else this.channelDebug_.warning("Invalid operation.")};
var Z$b=function(a){null!=a.bpDetectionTimerId_&&(a.channelDebug_.debug("Cancel the BP detection timer."),da.clearTimeout(a.bpDetectionTimerId_),a.bpDetectionTimerId_=null)},yac=function(a){a.channelDebug_.debug("Creating new HttpRequest");a.backChannelRequest_=new nR(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();sD(b,"RID","rpc");sD(b,"SID",a.sid_);sD(b,"AID",a.lastArrayId_);sD(b,"CI",a.enableStreaming_?"0":"1");!a.enableStreaming_&&a.longPollingTimeout_&&sD(b,"TO",a.longPollingTimeout_);sD(b,"TYPE","xmlhttp");uR(a,b);a.httpHeadersOverwriteParam_&&a.extraHeaders_&&ARb(b,a.httpHeadersOverwriteParam_,a.extraHeaders_);a.backChannelRequestTimeoutMs_&&a.backChannelRequest_.setTimeout(a.backChannelRequestTimeoutMs_);var c=a.backChannelRequest_,d=a.hostPrefix_;c.type_=1;c.baseUri_=uD(b.clone());
c.postData_=null;c.decodeChunks_=!0;L$b(c,d);a.channelDebug_.debug("New Request created")};tR.prototype.correctHostPrefix=function(a){return this.handler_?this.handler_.correctHostPrefix(a):a};tR.prototype.onBackChannelDead_=function(){null!=this.deadBackChannelTimerId_&&(this.deadBackChannelTimerId_=null,cac(this),dac(this),jR(19))};
var bac=function(a){null!=a.deadBackChannelTimerId_&&(da.clearTimeout(a.deadBackChannelTimerId_),a.deadBackChannelTimerId_=null)},W$b=function(a,b){a.channelDebug_.debug("Request complete");var c=null;if(a.backChannelRequest_==b){bac(a);Z$b(a);a.backChannelRequest_=null;var d=2}else if(aac(a.forwardChannelRequestPool_,b))c=b.getPendingMessages(),gac(a.forwardChannelRequestPool_,b),d=1;else return;if(0!=a.state_)if(b.successful_)1==d?(C$b(b.postData_?b.postData_.length:0,Date.now()-b.requestStartTime_,
a.forwardChannelRetryCount_),iac(a)):hac(a);else{var e=b.getLastStatusCode(),f=b.getLastError();if(3==f||0==f&&0<e)a.channelDebug_.debug("Not retrying due to error type"),200<e&&(a.errorResponseStatusCode_=b.getLastStatusCode());else{a.channelDebug_.debug(function(){return"Maybe retrying, last error: "+I$b(f,a.errorResponseStatusCode_)});if(1==d&&vac(a,b)||2==d&&dac(a))return;a.channelDebug_.debug("Exceeded max number of retries")}c&&0<c.length&&mac(a.forwardChannelRequestPool_,c);a.channelDebug_.debug("Error: HTTP request failed");
switch(f){case 1:rR(a,5);break;case 4:rR(a,10);break;case 3:rR(a,6);break;default:rR(a,2)}}},uac=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},rR=function(a,b){a.channelDebug_.info("Error code "+b);if(2==b){var c=null;a.handler_&&(c=null);var d=eu(a.testNetworkCallback_,a);c||(c=new Cq("//www.google.com/images/cleardot.gif"),da.location&&"http"==da.location.protocol||kD(c,"https"),uD(c));
oac(c.toString(),d)}else jR(2);a.onError_(b)};tR.prototype.testNetworkCallback_=function(a){a?(this.channelDebug_.info("Successfully pinged google.com"),jR(2)):(this.channelDebug_.info("Failed to ping google.com"),jR(1))};tR.prototype.onError_=function(a){this.channelDebug_.debug("HttpChannel: error - "+a);this.state_=0;this.handler_&&this.handler_.channelError(a);tac(this);sac(this)};
var tac=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}),Sa(a.nonAckedMapsAtChannelClose_,b),Sa(a.nonAckedMapsAtChannelClose_,a.outgoingMaps_),a.forwardChannelRequestPool_.pendingMessages_.length=0,Oa(a.outgoingMaps_),a.outgoingMaps_.length=0;a.handler_.channelClosed()}},
fac=function(a,b,c){var d=vD(c);""!=d.getDomain()?(b&&lD(d,b+"."+d.getDomain()),mD(d,d.port_)):(d=da.location,d=xRb(d.protocol,null,b?b+"."+d.hostname:d.hostname,+d.port,c));b=a.httpSessionIdParam_;c=a.getHttpSessionId();b&&c&&sD(d,b,c);sD(d,"VER",a.channelVersion_);uR(a,d);return d},N$b=function(a,b,c){if(b&&!a.supportsCrossDomainXhrs_)throw Error("Ad");b=c&&a.usesFetchStreams_&&!a.xmlHttpFactory_?new bC(new fD({streamBinaryChunks:!0})):new bC(a.xmlHttpFactory_);b.withCredentials_=a.supportsCrossDomainXhrs_;
return b};tR.prototype.isActive=function(){return!!this.handler_&&this.handler_.isActive(this)};var zac=function(){};g=zac.prototype;g.channelOpened=function(){};g.channelHandleArray=function(){};g.channelError=function(){};g.channelClosed=function(){};g.isActive=function(){return!0};g.badMapError=function(){};g.correctHostPrefix=function(a){return a};var Aac=function(){if(iu&&!(10<=Number(mu)))throw Error("Bd");};Aac.prototype.createWebChannel=function(a,b){return new vR(a,b)};
var vR=function(a,b){wq.call(this);this.channel_=new tR(b);this.url_=a;this.messageUrlParams_=b&&b.messageUrlParams||null;a=b&&b.messageHeaders||null;b&&b.clientProtocolHeaderRequired&&(a?a["X-Client-Protocol"]="webchannel":a={"X-Client-Protocol":"webchannel"});this.channel_.setExtraHeaders(a);a=b&&b.initMessageHeaders||null;b&&b.messageContentType&&(a?a["X-WebChannel-Content-Type"]=b.messageContentType:a={"X-WebChannel-Content-Type":b.messageContentType});b&&b.clientProfile&&(a?a["X-WebChannel-Client-Profile"]=
b.clientProfile:a={"X-WebChannel-Client-Profile":b.clientProfile});this.channel_.initHeaders_=a;(a=b&&b.httpHeadersOverwriteParam)&&!Hm(a)&&(this.channel_.httpHeadersOverwriteParam_=a);this.supportsCrossDomainXhr_=b&&b.supportsCrossDomainXhr||!1;this.sendRawJson_=b&&b.sendRawJson||!1;(b=b&&b.httpSessionIdParam)&&!Hm(b)&&(this.channel_.httpSessionIdParam_=b,Tba(this.messageUrlParams_,b)&&qc(this.messageUrlParams_,b));this.channelHandler_=new wR(this)};gu(vR,wq);
vR.prototype.open=function(){this.channel_.handler_=this.channelHandler_;this.supportsCrossDomainXhr_&&(this.channel_.supportsCrossDomainXhrs_=!0);this.channel_.connect(this.url_,this.messageUrlParams_||void 0)};vR.prototype.close=function(){this.channel_.disconnect()};vR.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__=iPb(a),a=c);b.outgoingMaps_.push(new jac(b.nextMapId_++,a));3==b.state_&&iac(b)};
vR.prototype.disposeInternal=function(){this.channel_.handler_=null;delete this.channelHandler_;this.channel_.disconnect();delete this.channel_;vR.superClass_.disposeInternal.call(this)};var Bac=function(a){j$b.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)?rc(b,this.metadataKey):b}else this.data=a};gu(Bac,j$b);
var Cac=function(a){k$b.call(this);this.status=1;this.errorCode=a};gu(Cac,k$b);var wR=function(a){this.channel_=a};gu(wR,zac);wR.prototype.channelOpened=function(){this.channel_.dispatchEvent("a")};wR.prototype.channelHandleArray=function(a){this.channel_.dispatchEvent(new Bac(a))};wR.prototype.channelError=function(a){this.channel_.dispatchEvent(new Cac(a))};wR.prototype.channelClosed=function(){this.channel_.dispatchEvent("b")};var bR=function(a){this.channel_=a};bR.prototype.getHttpSessionId=function(){return this.channel_.getHttpSessionId()};
bR.prototype.commit=function(a){this.channel_.forwardChannelFlushedCallback_=a};bR.prototype.getLastStatusCode=function(){return this.channel_.getLastStatusCode()};var Dac=function(){this.changeList=[]};Dac.prototype.add=function(a){this.changeList.push(a)};
var Eac=function(a,b){this.authMethod=b;this.jspbClient=new v$b(a)},Fac=function(a,b){var c,d,e,f,h;return of(function(l){if(1==l.nextAddress){c=new W9b;gl(c,U9b,1,b);var q=l.yield,u=a.jspbClient,x=u.post;var y=a.authMethod;y={queryParams:y.getQueryParameters(),extraHeaders:y.getHeaders(),withCredentials:y.usesCredentialedRequests()};return q.call(l,x.call(u,"/punctual/v1/chooseServer",c,X9b,y),2)}d=l.yieldResult;e=Db(d,1);if(null==e)throw Error("Cd");return l.return({gsessionid:e,affinitization:null!=
(f=d.getAffinitizationOrUndefined())?f:0,initialConnectionDelayMillis:null!=(h=su(d,3))?h:0})})},Gac=function(a,b,c){this.project=a;this.interestSet=b;this.knowledgeTimestamp=c;this.hasRecurred=!1;this.resyncMillis=Date.now()},xR=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 C.Subject;this.streamNumber=0;this.rawStatus=new C.Subject;this.status=new C.BehaviorSubject(new bD);this.skipBackoff=
new o$b;this.recentResyncs=[];this.hasConnected=!1;this.rawStatus.pipe(Uga(function(d){return 0===d.getCode()?Promise.resolve():new Promise(function(e){Zp(e,500)})})).subscribe(this.status);this.delayGenerator=new uIa;this.reconnectHint=b?b.pipe(Lf(function(){return C.NEVER}),Sga(C.NEVER)):C.NEVER;Hac(this)},Iac=function(a,b,c,d){b=b.then(function(e){switch(e.domainType()){case 2:case 0:var f=a.firstPartyUri;break;case 1:f=a.thirdPartyUri;break;default:f=new Cq}var h=f.clone().setPath("/punctual/multi-watch/channel"),
l=new l$b(h.toString(),e);return{serverChooser:new Eac(f,e),channelCreator:function(q,u,x){q=new aR(q,u,l,function(y,G){return(new Aac).createWebChannel(y,G)},x);q.open();return q}}});return new xR(d,c,b)};xR.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 Jac=function(a){for(var b=0,c=Date.now();b<a.recentResyncs.length;)c>=a.recentResyncs[b].resyncMillis+6E4?a.recentResyncs.splice(b):++b},Kac=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 kq&&d instanceof kq?c.equals(d):!1;return d})};xR.prototype.onOpen=function(){var a=new bD;a.setCode(0);try{this.rawStatus.next(a)}catch(b){}};xR.prototype.onClose=function(){this.channelState=void 0;Hac(this)};
xR.prototype.onError=function(a,b){a=new bD;a.setCode(wIa(b));try{this.rawStatus.next(a)}catch(c){}a=m(this.causalStreams.values());for(b=a.next();!b.done;b=a.next())b.value.streamInitiationReason=2;a=m(this.nonCausalStreams.values());for(b=a.next();!b.done;b=a.next())b.value.streamInitiationReason=2};
var Nac=function(a,b,c){if(a.channelState){var d=Lac(c.project,c.interestSet);c instanceof Mac&&(k(d,1,c.knowledgeTimestamp.toString()),k(d,8,c.knowledgeTimestampChosenByPunctual));k(d,9,c.streamInitiationReason);c.streamInitiationReason=0;c=new UQ;var e=c.addAndReturnRequests();e.setStreamId(b.toString());hq(e,2,$9b,d);e.setAffinitization(a.channelState.affinitization);a.channelState.channel.send(c)}},Lac=function(a,b){var c=(new U9b).setHeader(m$b);if(b instanceof kq){var d=new S9b;null!=a&&d.setProject(yIa(a));
d.setOwner(AIa(b));d.setPath(CIa(b));hq(c,2,V9b,d)}else d=new T9b,null!=a&&d.setProject(yIa(a)),d.setOwner(AIa(b.root)),d.setPrefix(CIa(b.root)),c.setPrefix(d);return c},Oac=function(a,b){var c=new UQ,d=c.addAndReturnRequests();d.setStreamId(b.toString());d.setClose(new Y9b);a.channelState&&a.channelState.channel.send(c);a.causalStreams.delete(b);a.limboStreams.delete(b);a.nonCausalStreams.delete(b)},Hac=function(a){var b=P9b(a.delayGenerator);xIa(b).pipe(pha(a.reconnectHint.pipe(Uf(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){Pac(a,c.serverChooser).then(function(d){Zp(function(){a.hasConnected=!0;Qac(a,c.channelCreator,d)},a.hasConnected?0:d.initialConnectionDelayMillis)},function(){Hac(a)})},function(c){var d=new bD;d.setCode(13);d.setMessage(c.toString());a.rawStatus.next(d)})})},Pac=function(a,b){var c,d,e,f,h,l;return of(function(q){if(1==q.nextAddress)return q.yield(Rac(a),2);c=q.yieldResult;
d=m(c);e=d.next().value;f=d.next().value;h=e;l=f;return q.return(Fac(b,Lac(h,l)))})},Rac=function(a){var b,c,d,e,f,h,l;return of(function(q){b=[a.causalStreams,a.limboStreams,a.nonCausalStreams];c=m(b);for(d=c.next();!d.done;d=c.next())for(e=d.value,f=m(e.values()),h=f.next();!h.done;)return l=h.value,q.return([l.project,l.interestSet]);return q.yield(KFb(pv(a.newStreamSubject).pipe(Uf())),1)})},Qac=function(a,b,c){a.channelState={channel:b(function(f){for(var h=m(yj(f,g$b,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 u=Sl(q,WQ,2,h$b);if(u)switch(Hk(u,XQ)){case 1:q=a;if(u=q.causalStreams.get(l)){try{u.observer.next(new N9b)}catch(T){}q.causalStreams.delete(l);q.limboStreams.set(l,u.start())}break;case 3:a:{if(q=Sl(u,b$b,3,XQ))if(q=Db(q,1)){var x=new O9b(lq(q));break a}x=void 0}if(x&&(q=a,u=l,l=x,(x=q.limboStreams.get(u))?(x=x.advance(l.timestampMicros),
q.limboStreams.delete(u),q.nonCausalStreams.set(u,x),q=x):q=q.nonCausalStreams.get(u),q)){u=q;x=l.timestampMicros;x>u.knowledgeTimestamp&&(u.knowledgeTimestamp=x,u.knowledgeTimestampChosenByPunctual=!0);try{q.observer.next(l)}catch(T){}}break;case 2:l=a.nonCausalStreams.get(l)||a.limboStreams.get(l);if(!l)break;q=l.interestSet;if(x=u.getChanges()){u=new Dac;x=m(yj(x,c$b,1));for(var y=x.next();!y.done;y=x.next()){var G=y.value,L=Ok(G,cq,6);y=G.getVersion_legacyNullable();if(L&&y){var M=void 0;G=null==
(M=G.getPayload())?void 0:EIa(M);M=null===G?void 0:G;(L=GIa(q,L))&&u.add(new M9b(L,lq(y),M))}}q=u}else q=void 0;if(q)for(q=m(q.changeList),u=q.next();!u.done;u=q.next()){u=u.value;u=new M9b(u.objectId,u.version,u.payload);try{l.observer.next(u)}catch(T){}}break;case 5:if(q=a,l=q.causalStreams.get(l)||q.limboStreams.get(l)||q.nonCausalStreams.get(l)){l instanceof Mac&&(Jac(q),(u=Kac(q,l))?(u.hasRecurred=!0,u.knowledgeTimestamp=l.knowledgeTimestamp,u.resyncMillis=Date.now()):q.recentResyncs.push(new Gac(l.project,
l.interestSet,l.knowledgeTimestamp)));try{l.observer.complete()}catch(T){}}}}}if(f.hasStatus())switch(f.getStatus().getCode_legacyNullable()){case 1:h=m(a.causalStreams.values());for(f=h.next();!f.done;f=h.next())f.value.streamInitiationReason=3;h=m(a.nonCausalStreams.values());for(f=h.next();!f.done;f=h.next())f.value.streamInitiationReason=3;a.channelState&&a.channelState.channel.close()}},a,c.gsessionid),affinitization:c.affinitization};b=[].concat(Array.from(a.causalStreams.entries())).concat(Array.from(a.nonCausalStreams.entries()));
b.sort(function(f,h){return f[0]-h[0]});b=m(b);for(c=b.next();!c.done;c=b.next()){var d=m(c.value);c=d.next().value;d=d.next().value;Nac(a,c,d)}b=m(a.limboStreams);for(c=b.next();!c.done;c=b.next())c=m(c.value),c.next(),c.next().value.observer.complete();a.limboStreams.clear();var e=a.channelState;Zp(function(){a.channelState===e&&a.delayGenerator.reset()},45E3)};
xR.prototype.watch=function(a,b){var c=this;b=void 0===b?{}:b;return new C.Observable(function(d){var e=++c.streamNumber,f,h=null!=(f=b.projectOverride)?f:c.defaultProject;d=new Sac(d,h,a);c.causalStreams.set(e,d);c.newStreamSubject.next({});Nac(c,e,d);return function(){Oac(c,e)}})};
xR.prototype.watchWithStartTime=function(a,b,c){var d=this;c=void 0===c?{}:c;return new C.Observable(function(e){var f=++d.streamNumber,h,l=null!=(h=c.projectOverride)?h:d.defaultProject,q=new Mac(e,l,a,b,!1);Jac(d);if((e=Kac(d,q))&&(e.hasRecurred||0>=b.compare(e.knowledgeTimestamp))){var u=!0;Zp(function(){u&&q.observer.complete()},6E4);return function(){u=!1}}d.nonCausalStreams.set(f,q);d.newStreamSubject.next({});Nac(d,f,q);return function(){Oac(d,f)}})};
var Sac=function(a,b,c){this.observer=a;this.project=b;this.interestSet=c;this.streamInitiationReason=1};Sac.prototype.start=function(){return new Tac(this.observer,this.project,this.interestSet)};var Tac=function(a,b,c){this.observer=a;this.project=b;this.interestSet=c};Tac.prototype.advance=function(a){return new Mac(this.observer,this.project,this.interestSet,a,!0)};
var Mac=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 Uac={firstPartyUri:new Cq("https://signaler-pa.clients6.google.com"),thirdPartyUri:new Cq("https://signaler-pa.googleapis.com")},Vac={firstPartyUri:new Cq("https://punctual-dev.corp.google.com"),thirdPartyUri:new Cq("https://signaler-staging.sandbox.google.com")},Wac=new Map(Object.entries({prod:Uac,ytprod:{firstPartyUri:new Cq("https://signaler-pa.youtube.com"),thirdPartyUri:new Cq("https://signaler-pa.googleapis.com")},dev:Vac}));var Xac=function(a){this.projectPath=a;this.authParams=new s$b};Xac.prototype.setApiKey=function(a){this.authParams.apiKey=a;return this};
Xac.prototype.build=function(){var a=vIa(this.authParams),b=this.projectPath;if(!b.startsWith("/punctual/"))throw Error("Dd`"+b);var c=b.substring(10).split("/");if(2!==c.length)throw Error("Ed`"+b);b=m(c);c=b.next().value;b=b.next().value;if(c.startsWith("custom:"))c=new Cq(decodeURIComponent(c.substring(7))),c={firstPartyUri:c,thirdPartyUri:c};else{var d=Wac.get(c);if(!d)throw Error("Fd`"+c);c=d}return Iac(c,a,this.reconnectHint,b)};var Yac={watch:function(){return(0,C.of)()},watchWithStartTime:function(){return(0,C.of)()},status:(0,C.of)()},yR=function(a){this.activeSession=a;if(DE(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 Xac(b)).setApiKey(a).build()}else this.punctualClient=Yac},Zac=function(a,b){return a.punctualClient.watch(DIa("new-comment-issue",b)).pipe(Gf(function(c){return c instanceof M9b}))};yR.\u0275fac=function(a){return new (a||yR)(n(Vt))};yR.\u0275prov=Vc({token:yR,factory:yR.\u0275fac,providedIn:"root"});var zR=function(a){this.punctualService=a;this.stream=new C.Subject;this.isPaused=!1;this.closeStream$=new C.Subject};zR.prototype.resume=function(){this.isPaused=!1};var $ac=function(a,b){a.issueId!==b&&(a.closeStream$.next(),a.stream=new C.Subject,a.issueId=b,a.resume(),a.watch(b).subscribe(a.stream));return a.stream};zR.prototype.watch=function(a){var b=this;return Zac(this.punctualService,a).pipe(Gf(function(){var c=!b.isPaused;b.resume();return c}),Nf(1E3),dg(this.closeStream$))};
zR.\u0275fac=function(a){return new (a||zR)(n(yR))};zR.\u0275prov=Vc({token:zR,factory:zR.\u0275fac,providedIn:"root"});var abc=function(a,b){this.displayText=a;this.value=b;this.enabled=!0;this.disabledReason=""};var AR=function(a,b,c){Z.call(this);this.window=b;this.scrolledOnScreenService=c;this.onAutoResize=new Rv;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)};W(AR,Z);AR.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.scrolledOnScreenService.getObservable(this.el,!0).subscribe(function(b){b&&bbc(a,0)}));this.autoResize&&this.subscriptions.add(this.autoResize.subscribe(function(){bbc(a,2)}))};AR.prototype.onInput=function(){bbc(this,1)};
var bbc=function(a,b){for(var c=a.window.getComputedStyle(a.el),d=m("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=up(d.getPropertyValue("border-top-width"))+up(d.getPropertyValue("padding-top"))+c.scrollHeight+up(d.getPropertyValue("padding-bottom"))+up(d.getPropertyValue("border-bottom-width"))+
24;Number.isNaN(c)||(e=up(d.getPropertyValue("max-height")),d=up(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})))};AR.prototype.ngOnDestroy=function(){this.cloneEl.parentElement&&this.cloneEl.parentElement.removeChild(this.cloneEl);Z.prototype.ngOnDestroy.call(this)};AR.\u0275fac=function(a){return new (a||AR)(A(ke),A(EE),A(gP))};
AR.\u0275dir=qd({type:AR,selectors:[["textarea","autoResize",""]],hostBindings:function(a,b){a&1&&K("input",function(){return b.onInput()})},inputs:{autoResize:"autoResize"},outputs:{onAutoResize:"onAutoResize"},features:[qg]});var BR=function(a){this.$log=a;this.accessPolicyPrincipalToString=vk;this.stringToAccessPolicyPrincipal=xk},CR=function(){return{admins:[],editors:[],appenders:[],readers:[],restrictedReaders:[],restrictedPlusReaders:[],inheritedAdmins:[],implicitAccess:null}},DR=function(a){return{admins:qq(a.admins),editors:qq(a.editors),appenders:qq(a.appenders),readers:qq(a.readers),restrictedReaders:qq(a.restrictedReaders),restrictedPlusReaders:qq(a.restrictedPlusReaders),inheritedAdmins:qq(a.inheritedAdmins),
implicitAccess:a.implicitAccess||null}},ER=function(a){return{admins:rq(a.admins),editors:rq(a.editors),appenders:rq(a.appenders),readers:rq(a.readers),restrictedReaders:rq(a.restrictedReaders),restrictedPlusReaders:rq(a.restrictedPlusReaders),implicitAccess:a.implicitAccess}};BR.\u0275fac=function(a){return new (a||BR)(n(YF))};BR.\u0275prov=Vc({token:BR,factory:BR.\u0275fac,providedIn:"root"});
var cbc=new RegExp("ALIAS:("+Object.values({GOOGLERS_UNRESTRICTED:"googlers_unrestricted",GOOGLE_DOMAIN:"google_domain",PUBLIC_NON_GOOGLE:"public_non_google",PUBLIC:"public"}).join("|")+")");var FR=function(a){this.activeSession=a;this.createIframe=aEb(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})},dbc=function(a){var b,c;of(function(d){if(1==d.nextAddress){if(a.activeSession.isAnonymous()||!a.activeSession.getPassiveLoginIframeUrl())return d.return();pf(d,2);b=a.createIframe();return d.yield(new Promise(function(e,
f){var h=function(){try{var q,u,x;if(null==(q=b.contentWindow)?0:null==(u=q.location)?0:null==(x=u.href)?0:x.includes("/action/yes"))b.removeEventListener("load",h),clearTimeout(l),e()}catch(y){}},l=setTimeout(function(){b.removeEventListener("load",h);f(Error("Hd"))},5E3);b.addEventListener("load",h);ona(b,a.activeSession.getPassiveLoginIframeUrl())}),4)}if(2!=d.nextAddress)return au(d,0);c=sf(d);console.log("first party auth passive login "+c);tf(d)})};FR.\u0275fac=function(a){return new (a||FR)(n(Vt))};
FR.\u0275prov=Vc({token:FR,factory:FR.\u0275fac,providedIn:"root"});var GR=function(a){Y.call(this,a)};W(GR,Y);GR.prototype.getSocialApplication=function(){return tk(this,3,0)};GR.prototype.getSocialApplicationOrUndefined=function(){return qt(this,3)};GR.prototype.getAffinityType=function(){return Dk(this,12,"CONTACT_STORE_DEFAULT_AFFINITY")};GR.prototype.setAffinityType=function(a){return k(this,12,a)};var HR=function(a){Y.call(this,a,-1,ebc)};W(HR,Y);HR.prototype.getExperimentIdsList=function(){return xj(this,4)};HR.prototype.setExperimentIdsList=function(a){return Mb(this,4,a,ub)};HR.prototype.getExperimentIds=function(){return vu(this,4)};HR.prototype.setExperimentIds=function(a){Pb(this,4,a,void 0,xj)};var ebc=[4];var fbc=function(a){Y.call(this,a)};W(fbc,Y);g=fbc.prototype;g.getClientInfo=function(){return Ok(this,GR,1)};g.getMutableClientInfo=function(){return ru(this,GR,1)};g.setClientInfo=function(a){gl(this,GR,1,a)};g.getExperiments=function(){return Ok(this,HR,2)};g.setExperiments=function(a){gl(this,HR,2,a)};g.hasExperiments=function(){return Hl(this,HR,2)};var gbc=lc(fbc);var hbc;var ibc=function(a){Y.call(this,a)};W(ibc,Y);g=ibc.prototype;g.getDelegatorId=function(){return Dk(this,2)};g.getEnvType=function(){return tk(this,5,0)};g.getEnvType_legacyNullable=function(){return Db(this,5)};g.setEnvType=function(a){k(this,5,a)};g.getCacheSize=function(){return zj(this,7)};g.setCacheSize=function(a){k(this,7,a)};g.hasCacheSize=function(){return Km(this,7)};var JIa=/^https?:\/\/(?:\w|[\-\.])+\.google\.(?:\w|[\-:\.])+(?:\/[^\?#]*)?\/u\/(\d)\//,HIa=/([#].*?&|[#])authuser=([^&#]*)\b/,IIa=/([?][^#]*?&|[?])authuser=([^&#]*)\b/;var IR=function(){this.config_=Cb(hbc||(hbc=gbc('[["AIzaSyBuUpn1wi2-0JpM3S-tq2csYx0z2_m_pqc","ANVavNLWozk6oXyP9qguyx4QAuef5j_qQw4Y3Rw",740,"MINIMAL_DOMAIN","BUGANIZER",null,null,null,null,true,true],[]]')));this.userInfo_=new ibc;this.onAuthError_=this.gapiClientThenable_=null};IR.prototype.getClientInfo=function(){return this.config_.getClientInfo()};IR.prototype.getExperiments=function(){return this.config_.getExperiments()};IR.prototype.getUserInfo=function(){return this.userInfo_};
var jbc=function(a){a.gapiClientThenable_||(a.gapiClientThenable_=OIa(10,5E3).then(function(b){return b.client}));return a.gapiClientThenable_};IR.prototype.getAuthErrorHandler=function(){return this.onAuthError_};IR.prototype.setAuthErrorHandler=function(a){this.onAuthError_=a};var kbc=function(){};var JR=[];JR.push=function(){throw Error("Id");};var KR={cancel:function(){},isPending:function(){return!1}};var LR=function(a){this.response_=a||function(){};this.timer_=Zp(this.onTimer_,0,this);this.addressBookId_=""};g=LR.prototype;g.setAddressBookId=function(a){this.addressBookId_=a};g.getAddressBookId=function(){return this.addressBookId_};g.cancel=function(){$p(this.timer_);this.timer_=null};g.isPending=function(){return!!this.timer_};g.onTimer_=function(){this.timer_=null;this.response_()};g.setQuery=function(a){this.query_=a};g.getQuery=function(){return this.query_};var lbc=new Map([["personal",2],["domain",4],["pcab",3]]);var vq=function(a){Y.call(this,a)};W(vq,Y);g=vq.prototype;g.getEventType=function(){return tk(this,1,0)};g.setEventType=function(a){return k(this,1,a)};g.getApiType=function(){return tk(this,2,0)};g.setApiType=function(a){return k(this,2,a)};g.getCacheStatus=function(){return tk(this,3,0)};g.setCacheStatus=function(a){return k(this,3,a)};g.getAddressBook=function(){return tk(this,4,0)};g.setAddressBook=function(a){return k(this,4,a)};g.getRpcType=function(){return tk(this,5,0)};
g.setRpcType=function(a){return k(this,5,a)};g.getLookupType=function(){return tk(this,6,0)};g.setLookupType=function(a){return k(this,6,a)};g.getToken=function(){return Dk(this,7,"")};g.setToken=function(a){return k(this,7,a)};var MR=function(a){Y.call(this,a)};W(MR,Y);MR.prototype.setDevice=function(a){return k(this,1,a)};MR.prototype.getApplication=function(){return tk(this,2,0)};MR.prototype.setApplication=function(a){return k(this,2,a)};MR.prototype.getApplicationOrUndefined=function(){return qt(this,2)};var NR=function(a){Y.call(this,a,-1,mbc)};W(NR,Y);g=NR.prototype;g.setEventSource=function(a){k(this,2,a)};g.getEventSourceOrUndefined=function(){return qt(this,2)};g.getSocialClient=function(){return Ok(this,MR,3)};g.setSocialClient=function(a){return gl(this,MR,3,a)};g.setVersionName=function(a){return k(this,5,a)};g.getBaselineCl=function(){return Db(this,7)};g.setBaselineCl=function(a){return k(this,7,a)};g.hasBaselineCl=function(){return Tm(this,7)};
g.getBaselineClOrUndefined=function(){return uu(this,7)};g.setClientAgent=function(a){return k(this,9,a)};g.getClientAgentOrUndefined=function(){return qt(this,9)};g.getPeoplekitEntryPoint=function(){return Db(this,11)};g.setPeoplekitEntryPoint=function(a){return k(this,11,a)};g.getPeoplekitEntryPointOrUndefined=function(){return qt(this,11)};g.setEnvironment=function(a){return k(this,13,a)};g.getEnvironmentOrUndefined=function(){return qt(this,13)};var mbc=[6];var nbc=function(a){Y.call(this,a)};W(nbc,Y);g=nbc.prototype;g.getApiType=function(){return tk(this,1,0)};g.setApiType=function(a){return k(this,1,a)};g.getItemCount=function(){return zj(this,2)};g.setItemCount=function(a){return k(this,2,a)};g.hasItemCount=function(){return Km(this,2)};var obc=function(a){Y.call(this,a)};W(obc,Y);g=obc.prototype;g.getApiType=function(){return tk(this,1,0)};g.setApiType=function(a){return k(this,1,a)};g.getItemCount=function(){return zj(this,2)};g.setItemCount=function(a){return k(this,2,a)};g.hasItemCount=function(){return Km(this,2)};g.getStatus=function(){return tk(this,4,2)};g.setStatus=function(a){return k(this,4,a)};g.hasStatus=function(){return nl(this,4)};g.setTotalUsec=function(a){return k(this,5,a)};
g.setBlockedUsec=function(a){return k(this,6,a)};g.setNetworkUsec=function(a){k(this,7,a)};g.getCacheStatus=function(){return tk(this,8,0)};g.setCacheStatus=function(a){return k(this,8,a)};g.getAddressBook=function(){return tk(this,9,0)};g.setAddressBook=function(a){return k(this,9,a)};var OR=function(a){Y.call(this,a)};W(OR,Y);OR.prototype.getStatus=function(){return tk(this,1,2)};OR.prototype.setStatus=function(a){return k(this,1,a)};OR.prototype.hasStatus=function(){return nl(this,1)};OR.prototype.setTotalUsec=function(a){return k(this,2,a)};var PR=function(a){Y.call(this,a)};W(PR,Y);PR.prototype.getRpcType=function(){return tk(this,1,0)};PR.prototype.setRpcType=function(a){return k(this,1,a)};PR.prototype.getLookupType=function(){return tk(this,2,0)};PR.prototype.setLookupType=function(a){return k(this,2,a)};var pbc=function(a){Y.call(this,a)};W(pbc,Y);g=pbc.prototype;g.getRpcType=function(){return tk(this,1,0)};g.setRpcType=function(a){return k(this,1,a)};g.getLookupType=function(){return tk(this,2,0)};g.setLookupType=function(a){return k(this,2,a)};g.getStatus=function(){return tk(this,3,2)};g.setStatus=function(a){return k(this,3,a)};g.hasStatus=function(){return nl(this,3)};g.setTotalUsec=function(a){return k(this,4,a)};g.setBlockedUsec=function(a){return k(this,5,a)};
g.setNetworkUsec=function(a){k(this,6,a)};var QR=function(a){Y.call(this,a)};W(QR,Y);g=QR.prototype;g.getEnvType=function(){return tk(this,1,0)};g.getEnvType_legacyNullable=function(){return Db(this,1)};g.setEnvType=function(a){k(this,1,a)};g.getCacheSize=function(){return zj(this,2)};g.setCacheSize=function(a){k(this,2,a)};g.hasCacheSize=function(){return Km(this,2)};var RR=function(a){Y.call(this,a)};W(RR,Y);g=RR.prototype;g.getClientInterface=function(){return Ok(this,NR,1)};g.setClientInterface=function(a){return gl(this,NR,1,a)};g.getSource=function(){return tk(this,2,0)};g.setSource=function(a){return k(this,2,a)};g.hasSource=function(){return nl(this,2)};g.getSourceOrUndefined=function(){return qt(this,2)};g.getEventType=function(){return tk(this,3,0)};g.getEventType_legacyNullable=function(){return Db(this,3)};
g.setEventType=function(a){return k(this,3,a)};g.setRpcRequest=function(a){return hq(this,5,SR,a)};g.setRpcResponse=function(a){return hq(this,6,SR,a)};g.setApiCall=function(a){return hq(this,7,SR,a)};g.setApiResult=function(a){return hq(this,8,SR,a)};g.getUserInfo=function(){return Ok(this,QR,9)};g.setUserInfo=function(a){return gl(this,QR,9,a)};g.hasUserInfo=function(){return Hl(this,QR,9)};var SR=[4,5,6,7,8];var qbc=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]]),rbc=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]]),sbc=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]]),tbc=function(a){return rbc.has(a)?rbc.get(a):1},ubc=function(a){return sbc.has(a)?sbc.get(a):2};var vbc=function(a){this.request_=a;this.errorCode_=0},wbc=function(a,b){b=new vbc(b);b.errorCode_=a;b.errorMessage_="A server error has occurred.";return b};g=vbc.prototype;g.hasChanges=function(){return this.mutateResponse_&&this.mutateResponse_.getOperation()?this.mutateResponse_.getOperation().hasChanges():!1};g.getError=function(){return this.errorCode_};g.getErrorCode=function(){return this.errorCode_};g.getQuery=function(){return this.request_.getQuery()};g.getConfiguration=function(){return this.queryResponse_.getConfiguration()};
g.getUserData=function(){return this.queryResponse_?this.queryResponse_.getUserData():null};var TR=function(a){this.map_=new SG;this.size=0;a&&this.addAll(a)},xbc=function(a){var b=typeof a;return"object"==b&&a||"function"==b?"o"+Ua(a):b.charAt(0)+a};g=TR.prototype;g.getCount=function(){return this.map_.size};g.add=function(a){this.map_.set(xbc(a),a);this.setSizeInternal_(this.map_.size)};g.addAll=function(a){a=jD(a);for(var b=a.length,c=0;c<b;c++)this.add(a[c]);this.setSizeInternal_(this.map_.size)};g.removeAll=function(a){a=jD(a);for(var b=a.length,c=0;c<b;c++)this.remove(a[c]);this.setSizeInternal_(this.map_.size)};
g.delete=function(a){a=this.map_.remove(xbc(a));this.setSizeInternal_(this.map_.size);return a};g.remove=function(a){return this.delete(a)};g.clear=function(){this.map_.clear();this.setSizeInternal_(0)};g.isEmpty=function(){return 0===this.map_.size};g.has=function(a){return this.map_.containsKey(xbc(a))};g.contains=function(a){return this.map_.containsKey(xbc(a))};g.intersection=function(a){var b=new TR;a=jD(a);for(var c=0;c<a.length;c++){var d=a[c];this.contains(d)&&b.add(d)}return b};
g.getValues=function(){return this.map_.getValues()};g.values=function(){return this.map_.values()};g.clone=function(){return new TR(this)};g.equals=function(a){return this.getCount()==oRb(a)&&ybc(this,a)};
var ybc=function(a,b){var c=oRb(b);if(a.getCount()>c)return!1;!(b instanceof TR)&&5<c&&(b=new TR(b));return rRb(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(Pa(e)||"string"===typeof e)d=Ha(e,d);else a:{for(var f in e)if(e[f]==d){d=!0;break a}d=!1}return d})};TR.prototype.__iterator__=function(){return this.map_.__iterator__(!1)};TR.prototype[Symbol.iterator]=function(){return this.values()};
TR.prototype.setSizeInternal_=function(a){this.size=a};var UR=function(a,b,c){this.fields_=a;this.name_=b;this.contains_=new TR(c);this.extraFields_=[]};UR.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 zbc=function(a){a.fieldSet_||(a.fieldSet_=new TR(a.fields_));return a.fieldSet_};
UR.prototype.contains=function(a){if(this.contains_.contains(a))return!0;this.doesntContain_||(this.doesntContain_=new TR);if(this.doesntContain_.has(a))return!1;var b=zbc(this),c=zbc(a);if(rRb(c,b.contains,b))return this.contains_.add(a),!0;this.doesntContain_.add(a);return!1};var Abc=new UR(["6","12"],"1"),Bbc=new UR("2 1f 1c 12 16 13 14 1d 22 1b 20".split(" "),"4",[Abc]);new UR("6 12 16 17 18 1a".split(" "),"3",[Abc]);
new UR("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",[Abc,Bbc]);new UR([]);var Cbc={token:"",addressBookId:"personal",matchType:1,includeContacts:!0,includeGroups:!0,isAutoCompleteMode:!0,delayMillis:5E3,maxMatches:-1,maxTries:10,name:"Load All Contacts"};var Dbc=function(a,b,c){hj.call(this);this.scheduler=a;this.runFunction_=b;this.group=c||a.createGroup()};W(Dbc,hj);g=Dbc.prototype;g.getGroup=function(){return this.group};g.setGroup=function(a){this.group=a};g.isSuccess=function(){return this.getState().isSuccess()};g.setSuccess=function(a){this.getState().setSuccess(a)};g.getMaxNumRetries=function(){this.getState().getMaxNumRetries()};g.setMaxNumRetries=function(a){this.getState().setMaxNumRetries(a)};g.reset=function(){this.getState().reset()};
g.getNumTriesLeft=function(){return this.getState().getNumTriesLeft()};g.setRunState=function(a){this.getState().setRunState(a)};g.setRunTime=function(a){this.getState().setRunTime(a)};g.setRunTimerId=function(a){this.getState().setRunTimerId(a)};g.incNumSuccesses=function(){this.getState().incNumSuccesses()};g.incNumFailures=function(){this.getState().incNumFailures()};g.incNumExecutions=function(){this.getState().incNumExecutions()};g.decNumTriesLeft=function(){this.getState().decNumTriesLeft()};
g.isPending=function(){return this.getState().isPending()};g.cancel=function(){this.scheduler.cancel(this.getState())};g.getState=function(){return this.scheduler.getState(this.group)};g.run=function(){this.incNumExecutions();this.runFunction_(this)};g.isDone=function(a){return this.scheduler.isDone(this,a)};var Ebc=function(a){hj.call(this);this.scheduler=a;this.maxNumRetries_=0;this.reset()};W(Ebc,hj);g=Ebc.prototype;g.reset=function(){this.numTriesLeft=this.maxNumRetries_;this.success=!1;this.runState=1;this.runTimerId=this.runTime=-1};g.isSuccess=function(){return this.success};g.setSuccess=function(a){this.success=a};g.getMaxNumRetries=function(){return this.maxNumRetries_};g.setRunState=function(a){this.runState=a};g.setRunTime=function(a){this.runTime=a};
g.setRunTimerId=function(a){this.runTimerId=a};g.setMaxNumRetries=function(a){this.maxNumRetries_=a};g.getNumTriesLeft=function(){return this.numTriesLeft};g.decNumTriesLeft=function(){--this.numTriesLeft};g.incNumSuccesses=function(){};g.incNumFailures=function(){};g.incNumExecutions=function(){};g.isPending=function(){return!(4==this.runState||5==this.runState)};g.disposeInternal=function(){hj.prototype.disposeInternal.call(this);this.scheduler=null};var Fbc=function(){hj.call(this);this.states={};this.currentGroup=1};W(Fbc,hj);Fbc.prototype.schedule=function(a,b,c,d){b=b||0;var e=Date.now()+b,f=this.states[a.getGroup()];f||(f=new Ebc(this),this.states[a.getGroup()]=f);f.setMaxNumRetries(Math.max(c||1,f.getMaxNumRetries()));switch(f.runState){case 1:case 5:f.reset();Gbc(a,b,e);break;case 6:Gbc(a,b,e);break;case 4:d&&(f.reset(),Gbc(a,b,e));break;case 2:e<f.runTime?(this.cancel(f),f.reset(),Gbc(a,b,e)):f.numTriesLeft=f.maxNumRetries_}};
var Gbc=function(a,b,c){0==b?(a.setRunState(3),a.run()):(a.setRunState(2),a.setRunTime(c),a.setRunTimerId(Zp(a.run,b,a)))};g=Fbc.prototype;g.getState=function(a){return this.states[a]};g.createGroup=function(){return""+this.currentGroup++};g.disposeInternal=function(){hj.prototype.disposeInternal.call(this);for(var a in this.states){var b=this.states[a];this.cancel(b);fj(b)}this.states={}};g.cancel=function(a){2==a.runState&&$p(a.runTimerId)};
g.isDone=function(a,b){b?a.incNumSuccesses():a.incNumFailures();a.setSuccess(b);a.decNumTriesLeft();if(!b&&0<a.getNumTriesLeft())return a.setRunState(6),this.schedule(a,Math.max(100,Math.round(45E3*Math.random()))),!1;a.setRunState(b?4:5);return!0};var Hbc={SOMETHING_CHANGED:"e",ERROR:"f"},VR=function(a,b){zB.call(this,a&&a[0].getError()?"f":"e");this.responses_=a;this.source_=b||"h"};W(VR,zB);VR.prototype.getChanges=function(){if(!this.changes_){if(!this.responses_)return null;var a=[];Ea(this.responses_,function(b){b=b.getOperation().getChanges();a&&b?a=a.concat(b):a=null});this.changes_=a}return this.changes_};VR.prototype.getSource=function(){return this.source_};var Ibc=function(a,b){this.fn_=a;this.handler_=b};Ibc.prototype.execute=function(a){this.fn_&&(this.fn_.call(this.handler_||null,a),this.fn_=this.handler_=null)};Ibc.prototype.abort=function(){this.handler_=this.fn_=null};iNb(function(a){Ibc.prototype.execute=a(Ibc.prototype.execute)});var Jbc=[];var WR=function(a,b){var c=c||[];this.serviceId_=a;this.moduleId_=b||null;this.dependencies_=[];this.addDependencies(c,!1)};WR.prototype.toString=function(){return this.serviceId_};WR.prototype.getModuleId=function(){return this.moduleId_};
WR.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("Jd`"+this.serviceId_);a.map(function(d){return d.getModuleId()}).forEach(function(d){Jbc.push(function(e){e.addExtraEdge(c.moduleId_,d)})})}};new WR("ZtVrH");new WR("rJmJrc","rJmJrc");new WR("fJuxOc");new WR("NGntwf");new WR("ofuapc");new WR("BWETze");new WR("ZmXAm");new WR("n73qwf","n73qwf");new WR("Bgf0ib");new WR("MpJwZc","MpJwZc");new WR("UUJqVe","UUJqVe");new WR("GHAeAc","GHAeAc");new WR("Wt6vjf","Wt6vjf");new WR("byfTOb","byfTOb");new WR("LEikZe","LEikZe");new WR("lsjVmc","lsjVmc");new WR("pVbxBc");new WR("klpyYe");new WR("OPbIxb");new WR("pg9hFd");new WR("IaqD3e");new WR("Xpw1of");new WR("v5BQle");new WR("tdUkaf");new WR("WSziFf");new WR("UBSgGf");new WR("zZa4xc");new WR("o1bZcd");new WR("WwG67d");new WR("z72MOc");new WR("JccZRe");new WR("amY3Td");new WR("ABma3e");new WR("gSshPb");new WR("yu4DA");new WR("vk3Wc");new WR("IykvEf");new WR("J5K1Ad");new WR("IW8Usd");new WR("jbDgG");new WR("b8xKu");new WR("d0RAGb");new WR("AzG0ke");new WR("J4QWB");new WR("TuDsZ");new WR("hdXIif");new WR("mITR5c");new WR("DFElXb");new WR("FENZqe");new WR("tLnxq");var YR=function(){hj.call(this);this.eventTarget_=new wq;this.updateCacheEventTarget_=new wq;this.mutationIdMap_=new VG};W(YR,hj);YR.prototype.dispatchEvent=function(a){this.updateCacheEventTarget_.dispatchEvent(a);this.eventTarget_.dispatchEvent(a)};YR.prototype.getEventTarget=function(){return this.eventTarget_};
YR.prototype.disposeInternal=function(){hj.prototype.disposeInternal.call(this);this.eventTarget_.dispose();this.eventTarget_=null;this.updateCacheEventTarget_.dispose();this.updateCacheEventTarget_=null};var nt=function(a){Y.call(this,a,-1,Kbc)};W(nt,Y);var mt=function(a,b){return k(a,1,b)};g=nt.prototype;g.setLogSource=function(a){return k(this,2,a)};g.getApplication=function(){return tk(this,3,0)};g.setApplication=function(a){return k(this,3,a)};g.getApplicationOrUndefined=function(){return qt(this,3)};g.getVersion=function(){return Dk(this,4)};g.getVersion_legacyNullable=function(){return Db(this,4)};g.setVersion=function(a){return k(this,4,a)};
g.getVersionOrUndefined=function(){return yu(this,4)};g.getBaselineCl=function(){return zj(this,5)};g.setBaselineCl=function(a){return k(this,5,a)};g.hasBaselineCl=function(){return Km(this,5)};g.getBaselineClOrUndefined=function(){return tu(this,5)};g.getEnableClearcut=function(){return Tl(this,6)};g.setEnableClearcut=function(a){return k(this,6,a)};var ddb=function(a,b){return Mb(a,7,b,ub)};g=nt.prototype;g.getExperimentId=function(){return vu(this,7)};
g.setClientAgent=function(a){return k(this,8,a)};g.getClientAgentOrUndefined=function(){return qt(this,8)};g.setEventSource=function(a){k(this,9,a)};g.getEventSourceOrUndefined=function(){return qt(this,9)};g.getClearcutUrl=function(){return Dk(this,10)};g.setClearcutUrl=function(a){k(this,10,a)};g.setEnvironment=function(a){return k(this,11,a)};g.getEnvironmentOrUndefined=function(){return qt(this,11)};g.getPeoplekitEntryPoint=function(){return tk(this,12,0)};
g.setPeoplekitEntryPoint=function(a){return k(this,12,a)};g.getPeoplekitEntryPointOrUndefined=function(){return qt(this,12)};var Kbc=[7];var Lbc=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 Mbc=function(a){this.start_=a;this.end_=NaN};Mbc.prototype.duration=function(){return this.end_-this.start_};Mbc.prototype.stop=function(a){this.end_=a;return this.duration()};var ZR=function(a){var b=void 0===b?Lbc:b;this.source_=a;this.nowFn_=b;this.durations_=new Map;this.lastLabel_="_"};ZR.prototype.source=function(){return this.source_};var Nbc=function(a,b){b&&(a.lastLabel_=b);return a.lastLabel_};
ZR.prototype.duration=function(a){a=Nbc(this,void 0===a?"":a);return this.durations_.has(a)?this.durations_.get(a).duration():NaN};var $R=function(a,b){return SIa(a.duration(void 0===b?"":b))};ZR.prototype.toString=function(a,b){b=void 0===b?1:b;return this.duration(void 0===a?"":a).toFixed(b)};ZR.prototype.start=function(a){a=void 0===a?"":a;var b=this.nowFn_();a=Nbc(this,a);this.durations_.set(a,new Mbc(b));return this};
ZR.prototype.stop=function(a){a=void 0===a?"":a;var b=this.nowFn_();a=Nbc(this,a);this.durations_.has(a)&&this.durations_.get(a).stop(b);return this};ZR.prototype.clear=function(){this.durations_.clear();return this};var Obc=function(a){Y.call(this,a)};W(Obc,Y);var Pbc=function(a){Y.call(this,a)};W(Pbc,Y);g=Pbc.prototype;g.getQueryId=function(){return Db(this,1)};g.getInstanceId=function(){return Db(this,4)};g.setInstanceId=function(a){return k(this,4,a)};g.clearInstanceId=function(){qu(this,4)};g.hasInstanceId=function(){return Am(this,4)};g.getInstanceIdOrUndefined=function(){return yu(this,4)};g.getAffinityVersion=function(){return su(this,5)};g.setAffinityVersion=function(a){k(this,5,a)};g.getAffinityVersionOrUndefined=function(){return tu(this,5)};var Qbc=function(a){Y.call(this,a)};W(Qbc,Y);g=Qbc.prototype;g.getQueryLength=function(){return su(this,1)};g.setQueryLength=function(a){return k(this,1,a)};g.hasQueryLength=function(){return Km(this,1)};g.getQuery=function(){return Db(this,2)};g.setQuery=function(a){return k(this,2,a)};g.clearQuery=function(){qu(this,2)};g.hasQuery=function(){return Am(this,2)};var Rbc=function(a){Y.call(this,a)};W(Rbc,Y);Rbc.prototype.setLatencyUsec=function(a){k(this,1,a)};var aS=function(a){Y.call(this,a)};W(aS,Y);g=aS.prototype;g.getColumn=function(){return su(this,2)};g.setColumn=function(a){return k(this,2,a)};g.getType=function(){return Db(this,3)};g.setType=function(a){return k(this,3,a)};g.hasType=function(){return nl(this,3)};var bS=function(a){Y.call(this,a)};W(bS,Y);bS.prototype.getExistingSelectionsCount=function(){return su(this,1)};bS.prototype.setExistingSelectionsCount=function(a){k(this,1,a)};bS.prototype.getPosition=function(){return Ok(this,aS,2)};bS.prototype.setPosition=function(a){return gl(this,aS,2,a)};var cS=function(a){Y.call(this,a)};W(cS,Y);g=cS.prototype;g.getType=function(){return Db(this,5)};g.setType=function(a){return k(this,5,a)};g.hasType=function(){return nl(this,5)};g.getEmail=function(){return Db(this,1)};g.getEmail_legacyNullable=function(){return Db(this,1)};g.setEmail=function(a){return k(this,1,a)};g.hasEmail=function(){return Am(this,1)};g.getPhone=function(){return Db(this,2)};g.getPhone_legacyNullable=function(){return Db(this,2)};g.setPhone=function(a){return k(this,2,a)};
g.hasPhone=function(){return Am(this,2)};g.getObfuscatedGaiaId=function(){return Db(this,3)};g.getObfuscatedGaiaId_legacyNullable=function(){return Db(this,3)};g.setObfuscatedGaiaId=function(a){k(this,3,a)};g.getContactId=function(){return Db(this,4)};g.setContactId=function(a){k(this,4,a)};g.getGroupId=function(){return Db(this,6)};g.setGroupId=function(a){k(this,6,a)};g.hasGroupId=function(){return Am(this,6)};var dS=function(a){Y.call(this,a)};W(dS,Y);dS.prototype.getName=function(){return Db(this,1)};dS.prototype.setName=function(a){return k(this,1,a)};dS.prototype.hasName=function(){return Am(this,1)};dS.prototype.getNameOrUndefined=function(){return yu(this,1)};var eS=function(a){Y.call(this,a,-1,Sbc)};W(eS,Y);g=eS.prototype;g.getPosition=function(){return Ok(this,aS,1)};g.setPosition=function(a){return gl(this,aS,1,a)};g.getProvenance=function(){return vDb(this,3)};g.setProvenance=function(a){return Pb(this,3,a,void 0,Ym)};g.getIsPlaceholder=function(){return bt(this,7)};g.setIsPlaceholder=function(a){k(this,7,a)};g.getIsSelf=function(){return bt(this,11)};var Sbc=[4,3];var fS=function(a){Y.call(this,a)};W(fS,Y);fS.prototype.getLoggingId=function(){return Db(this,1)};fS.prototype.setLoggingId=function(a){k(this,1,a)};fS.prototype.getMetadata=function(){return Ok(this,eS,3)};fS.prototype.setMetadata=function(a){gl(this,eS,3,a)};var gS=function(a){Y.call(this,a)};W(gS,Y);gS.prototype.getAffinityVersion=function(){return su(this,2)};gS.prototype.setAffinityVersion=function(a){k(this,2,a)};gS.prototype.getAffinityVersionOrUndefined=function(){return tu(this,2)};var Ubc=function(a){Y.call(this,a,-1,Tbc)};W(Ubc,Y);g=Ubc.prototype;g.getEventType=function(){return Db(this,1)};g.getEventType_legacyNullable=function(){return Db(this,1)};g.setEventType=function(a){return k(this,1,a)};g.getMetadata=function(){return Ok(this,gS,4)};g.setMetadata=function(a){gl(this,gS,4,a)};g.getClientInterface=function(){return Ok(this,NR,5)};g.setClientInterface=function(a){return gl(this,NR,5,a)};var Tbc=[2];var Vbc=new Map([[1,4],[2,2],[3,1],[4,7]]),Wbc=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=Tl(a.getExperiments(),1,!0);break;case 2:b="ppl.store.ppl.store.ozcontactstore";c=Tl(a.getExperiments(),2,!0);break;default:b="ppl.store",c=!1}var d=Vbc.get(a.getUserInfo().getEnvType_legacyNullable())||0;this.logContext_=Ob(ddb(mt(new nt,b).setLogSource(932).setApplication(a.getClientInfo().getSocialApplicationOrUndefined()).setEnvironment(d).setVersion("1013").setBaselineCl(336195648).setClientAgent(3).setEnableClearcut(c),
a.getExperiments().getExperimentIdsList()),7,20090307)};g=Wbc.prototype;g.getLogContext=function(){return this.logContext_};
g.createCountMetric=function(a,b){b=b.source();var c=Xbc(this);switch(b.getEventType()){case 2:case 3:return(new RR).setClientInterface(a).setUserInfo(c).setSource(2).setEventType(2).setRpcRequest((new PR).setRpcType(b.getRpcType()).setLookupType(b.getLookupType()));case 4:case 5:return(new RR).setClientInterface(a).setUserInfo(c).setEventType(4).setApiCall((new nbc).setApiType(b.getApiType()));default:return null}};
g.createStatusMetric=function(a,b,c){var d=b.source(),e=Xbc(this);switch(d.getEventType()){case 1:d=(new RR).setClientInterface(a).setUserInfo(e).setSource(1).setEventType(1);a=this.transportType_;e=(new OR).setStatus(c);if(0==c||4==c)c=e.setTotalUsec($R(b,"total")),b=$R(b,"blocked"),b=k(c,3,b),k(b,5,a);return hq(d,4,SR,e);case 2:case 3:return a=(new RR).setClientInterface(a).setUserInfo(e).setSource(2).setEventType(3),e=a.setRpcResponse,d=(new pbc).setRpcType(d.getRpcType()).setLookupType(d.getLookupType()).setStatus(c),
0!=c&&4!=c||d.setTotalUsec($R(b,"total")).setBlockedUsec($R(b,"blocked")).setNetworkUsec($R(b,"network")),e.call(a,d);case 4:case 5:a=(new RR).setClientInterface(a).setUserInfo(e).setEventType(5);e=a.setApiResult;var f=new obc;f.setApiType(d.getApiType()).setCacheStatus(d.getCacheStatus()).setAddressBook(d.getAddressBook()).setStatus(c);0!==c&&4!==c||f.setTotalUsec($R(b,"total"));return e.call(a,f);default:return null}};g.createErrorMetric=function(){return null};g.createLatencyMetric=function(){return null};
var Xbc=function(a){a=a.clientConfig_.getUserInfo();var b=new QR;var c=!!a.getDelegatorId();b=k(b,4,c);a.hasCacheSize()&&b.setCacheSize(a.getCacheSize());b.setEnvType(tk(a,6,0)||0);return b};var kbb=function(a){Y.call(this,a,-1,Ybc)};W(kbb,Y);var Ybc=[1,2,3,4];var Zbc=function(){return ia&&ja?!ja.mobile&&(oa("iPad")||oa("Android")||oa("Silk")):oa("iPad")||oa("Android")&&!oa("Mobile")||oa("Silk")};var $bc=function(a,b,c,d,e,f,h){mC.call(this,a,uq,b,ena,c,d,e,void 0,f,h)};W($bc,mC);var acc=function(a,b){this.clearcut_=a;this.logContextFactory_=b;this.device_=wa()||oa("iPod")?4:oa("iPad")?5:gaa()?Zbc()?3:2:(ia&&ja?ja.mobile:!Zbc()&&(oa("iPod")||oa("iPhone")||oa("Android")||oa("IEMobile")))||Zbc()?0:1},bcc=function(a){var b=a.getLogContext(),c=null;if(b.getEnableClearcut()&&(c=new $bc(Db(b,2),KIa(),b.getClearcutUrl()||void 0),(b=xj(b,7))&&b.length)){var d=new kbb;Mb(d,3,b,ub);c.setClearExperimentIds(d)}return new acc(c,a)},hS=function(a){var b=a.logContextFactory_.getLogContext(),
c=new MR;c.setApplication(b.getApplicationOrUndefined());c.setDevice(a.device_);a=new NR;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},iS=function(a,b){var c=new gC;OPb(c,b.serialize());
a.clearcut_&&a.clearcut_.log(c)};var ccc=function(a,b){this.clearcut_=a;this.logEventFactory_=b};ccc.prototype.logError=function(a){var b=hS(this.clearcut_);(a=this.logEventFactory_.createErrorMetric(b,a))&&iS(this.clearcut_,a)};var dcc=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 ecc=function(){this.logContext_=mt(new nt,"ppl.store")};g=ecc.prototype;g.getLogContext=function(){return this.logContext_};g.createCountMetric=function(){return null};g.createStatusMetric=function(){return null};g.createErrorMetric=function(){return null};g.createLatencyMetric=function(){return null};var fcc=function(a){this.clearcut_=a},Ms=function(a){a=new ccc(bcc(a),a);return new fcc(a)};g=fcc.prototype;g.start=function(a,b){a.start(b);return this};g.stop=function(a,b){a.stop(b);return this};
g.count=function(a,b){var c=this.clearcut_;b=void 0===b?1:b;var d=hS(c.clearcut_);(a=c.logEventFactory_.createCountMetric(d,a,b))&&iS(c.clearcut_,a);return this};g.status=function(a,b){var c=this.clearcut_,d=hS(c.clearcut_);(a=c.logEventFactory_.createStatusMetric(d,a,b))&&iS(c.clearcut_,a);return this};g.latency=function(a){var b=this.clearcut_,c=hS(b.clearcut_);(a=b.logEventFactory_.createLatencyMetric(c,a))&&iS(b.clearcut_,a);return this};g.error=function(a){this.clearcut_.logError(a);return this};
g.logError=function(){};g.logInfo=function(){return this};var jS=function(a,b){this.addressBookMap_={};this.addressBooks=[];this.ownedAddressBooks_=[];this.scheduler_=new Fbc;this.eventHandler_=new Qr(this);this.ownsContactNotificationService_=!a;this.queryFilters_=[];this.contactNotificationService_=a||new YR;(a=b)||(a=Ms(new ecc));this.metrics=a;this.queryFilters_.push(this.contactNotificationService_)};gu(jS,hj);g=jS.prototype;
g.addAddressBook=function(a,b){this.addressBooks.push(a);b&&this.ownedAddressBooks_.push(a);this.addressBookMap_[a.getId()]=a;this.eventHandler_.listen(a,Sba(Hbc),eu(this.forwardEvent_,this))};g.forwardEvent_=function(a){this.contactNotificationService_.dispatchEvent(a)};g.getEventTarget=function(){return this.contactNotificationService_.getEventTarget()};g.invalidate=function(){this.contactNotificationService_.dispatchEvent(new VR(null,"g"))};
g.loadContactRows=function(a,b){var c=this,d=(new vq).setEventType(4).setApiType(2),e=new ZR(d);this.metrics.count(e);this.metrics.start(e,"total");return gcc(this,a,function(f){return f.loadContactRows},function(f,h,l,q,u){hcc(function(x,y,G,L){var M=y===KR||y instanceof LR?2:1;e.source().setCacheStatus(M);e.source().setAddressBook(G?lbc.get(G)||1:1);c.metrics.stop(e,"total");c.metrics.status(e,ubc(u||0));b&&b(x,y,G,L,u)},f,h,l,q)})};
var gcc=function(a,b,c,d){var e=new icc(d,a.metrics),f;if(b.addressBookId){var h=a.addressBookMap_[b.addressBookId];0<b.delayMillis||1<b.maxTries?f=jcc(a,h,c(h),b,d):f=c(h).call(h,b,d);f&&e.add(f)}else for(var l=0;l<a.addressBooks.length;l++)h=a.addressBooks[l],0<b.delayMillis||1<b.maxTries?f=jcc(a,h,c(h),b,d):f=c(h).call(h,b,d),f&&e.add(f);return e};
jS.prototype.execute=function(a){var b=this,c=(new vq).setEventType(4).setApiType(1),d=new ZR(c);this.metrics.count(d);this.metrics.start(d,"total");kcc(this,a);a.addSuccessOrFailureCallback(function(e){var f=e?ubc(e.getErrorCode()):2;e=(e=e?e.request_:null)?e.getAddressBookId():"";d.source().setCacheStatus(e?1:2);d.source().setAddressBook(e?e?lbc.get(e)||1:1:0);b.metrics.stop(d,"total");b.metrics.status(d,f)});return this.cache_&&(c=a.executeFromCache(this.cache_,function(e){return lcc(b,e,d)}))?
c:lcc(this,a,d)};
var kcc=function(a,b){Ea(a.queryFilters_,function(){});b.isMutate()&&(b=b.getOperation())&&(b=b.getQueryAfterMutate())&&kcc(a,b)},lcc=function(a,b,c){if(b.isMutate()){var d=b.getOperation();d&&(d=d.getMutationId())&&a.contactNotificationService_.mutationIdMap_.set(d,Date.now())}if(d=b.getAddressBookId())if(d=a.addressBookMap_[d])return d.execute(b);c=new icc(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},jcc=function(a,
b,c,d,e){b=eu(a.runScheduledQuery_,a,b,c,d,e);b=new Dbc(a.scheduler_,b,d.name);a.scheduler_.schedule(b,d.delayMillis,d.maxTries,d.force);return new mcc(b)};jS.prototype.runScheduledQuery_=function(a,b,c,d,e){e.request=b.call(a,c,function(f,h,l,q,u){e.isDone(!u)&&d&&d(f,h,l,q,u)})};
var hcc=function(a,b,c,d,e){a&&(b&&(e.filter&&(b=e.filter(b,e.token)),ncc(b)),a(b||[],c,d,e))},ncc=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)}};
jS.prototype.disposeInternal=function(){jS.superClass_.disposeInternal.call(this);fj(this.scheduler_);this.scheduler_=null;Ea(this.ownedAddressBooks_,fj);this.ownedAddressBooks_=this.addressBookMap_=this.addressBooks=null;fj(this.eventHandler_);this.eventHandler_=null;Ea(this.queryFilters_,function(a){a!=this.contactNotificationService_&&fj(a)},this);this.queryFilters_=null;this.ownsContactNotificationService_&&(fj(this.contactNotificationService_),this.contactNotificationService_=null)};
var occ=function(a){var b=new Wbc(a,0);mt(b.getLogContext(),"ppl.store");b.getLogContext().setEnableClearcut(Tl(a.getExperiments(),3,!0));return Ms(b)},icc=function(a,b,c){this.requests_=[];this.handler=a;this.metrics_=b;this.state_=c;this.addressBookId_=""};g=icc.prototype;g.setAddressBookId=function(a){this.addressBookId_=a};g.getAddressBookId=function(){return this.addressBookId_};g.add=function(a){this.requests_.push(a)};g.isEmpty=function(){return 0==this.requests_.length};
g.cancel=function(){this.isPending()&&this.metrics_&&this.state_&&this.metrics_.status(this.state_,1);for(var a=0;a<this.requests_.length;a++)this.requests_[a].cancel()};g.isPending=function(){for(var a=0;a<this.requests_.length;a++)if(this.requests_[a].isPending())return!0;return!1};g.getQuery=function(){return this.query_};g.setQuery=function(a){this.query_=a};var mcc=function(a){this.op=a;this.request=null};mcc.prototype.cancel=function(){this.op.cancel();this.request&&this.request.cancel()};
mcc.prototype.isPending=function(){return this.op.isPending()||this.op.request&&this.op.request.isPending()};var pcc=function(a,b){this.text=a;this.specialRowHandler=b};gu(pcc,kbc);g=pcc.prototype;g.getName=function(){return null};g.getEmail=function(){return null};g.getPhoneNumber=function(){return null};g.getType=function(){return"sr"};g.getPriority=function(){return 0};g.getLoggingId=function(){return"sr"};var qcc=function(a,b){jS.call(this,a,b)};W(qcc,jS);qcc.prototype.addAddressBook=function(a,b){1==this.addressBooks.length&&(this.combiner_=new rcc(this.metrics),this.combiner_.addAddressBook(this.addressBooks[0]));jS.prototype.addAddressBook.call(this,a,b);this.combiner_&&this.combiner_.addAddressBook(a)};qcc.prototype.loadContactRows=function(a,b){return this.combiner_&&a.isAutoCompleteMode&&!a.addressBookId?this.combiner_.loadContactRows(a,b):jS.prototype.loadContactRows.call(this,a,b)};
var rcc=function(a){this.addrBooks_=[];this.rowSets_=null;this.metrics_=a};rcc.prototype.addAddressBook=function(a){this.addrBooks_.push(new scc(this,this.addrBooks_.length,a))};rcc.prototype.loadContactRows=function(a,b){a=new tcc(a,this.metrics_,b);ucc(this,a);return a};
var ucc=function(a,b,c,d){a.rowSets_=[];for(var e=0;e<a.addrBooks_.length&&!(e==c?a.rowSets_[e]=d:a.addrBooks_[e].loadContactRows(b),0==e&&a.rowSets_[e]&&a.rowSets_[e].length>=b.query.maxMatches);e++);c=b.query;d=a.rowSets_;var f=[];e=!1;for(var h,l=0;l<d.length&&f.length<c.maxMatches;l++)if(d[l]){h=f.length;e=!0;var q=d[l],u=c.maxMatches,x=f.length;if(0==x)f=q.length>u?q.slice(0,u):q;else for(var y=0;y<q.length;y++){for(var G=null,L=0;L<x&&!(G=vcc(f[L],q[y]));L++);if(G)G===q[y]&&(f[L]=G);else if(f.length==
x?f=f.concat(q[y]):f.push(q[y]),f.length==u)break}0<h&&f.length>h&&(f[h].flags|=1)}e?(ncc(f),c=f):c=null;c&&b.handler&&a.addrBooks_[0]&&a.addrBooks_[0].madeCallback_&&b.handler(c,b,null,b.query);a.rowSets_=null},vcc=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},wcc=function(a,b,c,d){a.rowSets_?a.rowSets_[c]=d:ucc(a,b,c,d)};
rcc.prototype.handleSpecialRow=function(){};var scc=function(a,b,c){this.combiner_=a;this.id_=b;this.addrBook_=c;this.lastAsyncLatency_=0;this.isSynchronous_=!1};
scc.prototype.loadContactRows=function(a){var b=this,c=a.storedResults_[this.id_];if(!c){this.isSynchronous_=!0;this.madeCallback_=!1;var d=Date.now(),e=this.addrBook_.loadContactRows(a.query,function(f,h,l,q,u){b.matchListener_(a,d,f,u)});a.addRequest(this.id_,e);this.isSynchronous_=!1;this.madeCallback_||a.query.isAutoCompleteMode&&300<this.lastAsyncLatency_&&(c=[xcc(this)])}c&&wcc(this.combiner_,a,this.id_,c)};
var xcc=function(a){var b=a.addrBook_.title_;return new pcc(b?"Searching for matches from "+b:"Searching for more matches.",a.combiner_.handleSpecialRow)};
scc.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;wcc(this.combiner_,a,this.id_,c)};scc.prototype.dispose=function(){this.combiner_=this.matcher_=null};
var tcc=function(a,b,c){var d=this;this.query=a;this.activeRequests_={};this.storedResults_={};this.addressBooksToReport_=[];this.storedErrorCodes_=[];var e=new ZR((new vq).setEventType(4).setApiType(2));b.count(e);b.start(e,"total");this.handler=function(f,h,l,q){d.addressBooksToReport_.forEach(function(u,x){var y=d.activeRequests_[x];y=y===KR||y instanceof LR?2:1;e.source().setCacheStatus(y);e.source().setAddressBook(u?lbc.get(u)||1:1);b.stop(e,"total");b.status(e,ubc(d.storedErrorCodes_[x]))});
d.addressBooksToReport_=[];c&&c(f,h,l,q)}};tcc.prototype.cancel=function(){for(var a in this.activeRequests_)this.activeRequests_[a].cancel();this.activeRequests_={}};tcc.prototype.isPending=function(){for(var a in this.activeRequests_)if(this.activeRequests_[a].isPending())return!0;return!1};tcc.prototype.addRequest=function(a,b){this.activeRequests_[a]=b};var ycc={198:"AE",230:"ae",306:"IJ",307:"ij",338:"AE",339:"ae"},Rs=function(a){for(var b=[],c=0,d=0;d<a.length;d++){var e=a.charCodeAt(d);if(192>e||382<e)e=null;else{var f=ycc[e];f?e=f:(f="AAAAAA*CEEEEIIIIDNOOOOOx0UUUUYpBaaaaaa*ceeeeiiiionooooo^ouuuuypyAaAaAaCcCcCcCcDdDdEeEeEeEeEeGgGgGgGgHhHhIiIiIiIiIi**JjKkkLlLlLLLlllNnNnNnnNnOoOoOo**RrRrRrSsSsSsSsTtTtttUuUuUuUuUuUuWwYyYZzZzZz"[e-192],e="^"==f?null:f)}e&&(c!=d&&b.push(a.substr(c,d-c)),c=d+1,b.push(e))}return 0<b.length?(b.push(a.substr(c)),b.join("")):
a};var kS=function(a,b,c,d,e,f){wq.call(this);this.cacheMaxSize_=e||0;this.rowMatchingFunction_=f||zcc;this.cache_=new VG(this.cacheMaxSize_,!0);this.cacheSize_=a||0;this.cacheMinExpiryAge_=b||0;this.cacheMaxExpiryAge_=c||0;this.cacheByType_=!!d};gu(kS,wq);kS.prototype.disposeInternal=function(){kS.superClass_.disposeInternal.call(this);this.cache_=null};kS.prototype.clear=function(){this.cache_.clear()};
var zcc=function(a){var b=kp(Rs(a.token));return function(c){var d=new RegExp("(^|\\W+)"+b,"i");(d=null!=Rs(String(c[1])).match(d))||(d=c[0],d=null!=c[2].match(new RegExp("^"+b,"i"))&&"cl"!=String(d));return d}},Acc=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},Bcc=function(a,b,c){a.cache_.set(Acc(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_)}},Ccc=function(a,b,c){c=c?a.cache_.get(b):lYb(a.cache_,b);return a.isStale(c)?(a.cache_.remove(b),null):c},Dcc=function(a,b,c){c=b.length-c.length;for(var d=b.length;d>=c;d--){var e=Ccc(a,b,!1);if(e)return e;b=b.substr(0,d-1)}return null},Ecc=function(a,b){if(b.isContactAutoComplete)return null;var c=Acc(b,a.cacheByType_),
d=Dcc(a,c,b.token);return d?d:a.cacheByType_&&!Nj(c,"^")?(c=Acc(b,!1),Dcc(a,c,b.token)):null};kS.prototype.isStale=function(a){return!!a&&!!this.cacheMaxExpiryAge_&&a.created+this.cacheMaxExpiryAge_<Date.now()};kS.prototype.invalidateCache=function(a){for(var b=this.cache_.getKeys(),c=0;c<b.length;c++){var d=b[c],e={token:lYb(this.cache_,d).token};this.rowMatchingFunction_(e)(a)&&this.cache_.remove(d)}};
var lS=function(a,b,c){this.token=a;this.matches_=b;this.partialResult_=!!c;this.count=1;this.created=Date.now()};lS.prototype.getMatches=function(a){a&&this.count++;return this.matches_};lS.prototype.isComplete=function(a){return!this.partialResult_||0<=a&&a<=this.matches_.length};gu(yq,wq);g=yq.prototype;g.configure=function(a,b){this.title_=b;this.initialized_||(this.initialized_=!0)};g.getId=function(){return this.id_};
g.loadContactRows=function(a,b){if(this.initialized_){var c=this.cache_;if(Hm(a.token)&&!c.allowEmptyQueries_)var d=JR;else{d=a.maxMatches;var e=Ccc(c,Acc(a,c.cacheByType_),!0);(d=e&&d&&!e.isComplete(d)?null:e)?d=d.getMatches():(d=Ecc(c,a))&&0==d.getMatches().length?(Bcc(c,a,new lS(a.token,JR)),d=JR):d&&!d.partialResult_&&c.clientFilteringOk_?(d=d.getMatches(),d=tCb(d,c.rowMatchingFunction_(a),c),Bcc(c,a,new lS(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,KR,this.getId(),a),KR):this.transport_.loadContactRows(a,this.getId(),eu(this.cacheContactRowsAndInvokeHandler_,this,b))}b&&b(JR,KR,this.getId(),a,4);return KR};g.cacheContactRowsAndInvokeHandler_=function(a,b,c,d,e,f){f||Bcc(this.cache_,e,new lS(e.token,b,-1!=e.maxMatches&&b.length>=e.maxMatches));a&&(b&&0<=e.maxMatches&&b.length>e.maxMatches&&(b=b.slice(0,e.maxMatches)),a(b,c,d,e,f))};g.onContactsChange_=function(){this.cache_.clear()};
g.disposeInternal=function(){yq.superClass_.disposeInternal.call(this);this.cache_.dispose();this.cache_=null;Fcc(this.transport_,this.id_);this.transport_=null};var Hcc=function(a,b,c){kS.call(this,100,18E5,432E5,!0,0,c||Gcc);this.clientFilteringOk_=a;this.allowEmptyQueries_=b};W(Hcc,kS);var Gcc=function(a){return function(b){var c=b.getType(),d;if(d=Icc(a,c)){d=new RegExp("(^|\\W+)"+kp(Rs(a.token)),"i");var e=Rs(b.getName()||"");(d=d.test(e))||(d=a.token,d=((b=b.getEmail())?(new RegExp("^"+kp(Rs(d)),"i")).test(b):!1)&&"cl"!=c)}return d}},Icc=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 mS=function(a,b,c){this.includeDomainGroups_=!!c;b=b||new Hcc(!0,!1,Jcc);yq.call(this,a,b,"domain")};gu(mS,yq);mS.prototype.loadContactRows=function(a,b){a.includeGroups&&!this.includeDomainGroups_&&(a=tc(a),a.includeGroups=!1);return mS.superClass_.loadContactRows.call(this,a,b)};
var Jcc=function(a){for(var b=DEb(a.token).toLowerCase().split(/\s+/),c=[],d=[],e=0;e<b.length;e++){var f=kp(b[e]),h=new RegExp("^"+f,"i");c.push(new RegExp("(^|\\W+)"+f,"i"));d.push(h)}return function(l){if(Icc(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}};mS.prototype.execute=function(a){a=this.transport_.execute(a);a.setAddressBookId(this.getId());return a};var Kcc=function(a,b){this.personId=a;this.contactId=b.CONTACT||"";this.syntheticId=b.DOMAIN_CONTACT||"";this.profileId=b.PROFILE||b.DOMAIN_PROFILE||"";this.loggingId=""},Mcc=function(a){if(!a)return Lcc;var b=UIa(tq("metadata.identityInfo.sourceIds",a)),c=tq("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 Kcc(a.personId||"",b)},Lcc=new Kcc("",{});var Ncc=function(a,b){this.isLocal_=a;this.edgeIndex_=b};Ncc.prototype.toString=function(){return""};var nS=function(a,b){this.metadata_=a||{};this.edgeCollection_=b};nS.prototype.toString=function(){return""};var Pcc=function(a){return Occ(a).some(function(b){return!b.isLocal_})};nS.prototype.getSource=function(a){return Occ(this)[a]};nS.prototype.hasSource=function(){return void 0<Occ(this).length};var Occ=function(a){return a.edgeCollection_?a.edgeCollection_.getSources(a.metadata_.encodedContainerId,a.metadata_.containerType):[]};nS.prototype.getCause=function(a){return Qcc(this)[a]};
var Qcc=function(a){return a.edgeCollection_?Rcc(a.edgeCollection_,a.metadata_.edgeKeyInfo):[]};nS.prototype.getContainerType=function(){return this.metadata_.containerType};var Scc=new nS({},null);var Tcc=function(a,b){this.email_=a;this.edgeCollection_=b;this.metadata_=null};g=Tcc.prototype;g.toString=function(){return""};g.getMetaData=function(){this.metadata_||(this.metadata_=this.hasMetaData()?new nS(this.email_.metadata,this.edgeCollection_):Scc);return this.metadata_};g.hasMetaData=function(){return"metadata"in this.email_};g.getValue=function(){return this.email_.value||""};g.hasValue=function(){return!!this.getValue()};
g.getPrimary=function(){var a=this.email_.metadata;return!(!a||!a.primary)};g.getDisplayName=function(){return""};var Ucc=new Tcc({},null);var Vcc=function(a,b){this.emails_=[];a=m(a);for(var c=a.next();!c.done;c=a.next())this.emails_.push(new Tcc(c.value,b))};g=Vcc.prototype;g.toString=function(){return""};g.getMetaData=function(){return null};g.hasMetaData=function(){return!!this.getMetaData()};g.getField=function(a){return this.emails_[a]||Ucc};g.getFieldLength=function(){return this.emails_.length};var Wcc=new Vcc([],null);var Xcc=function(a,b){this.name_=a||{};this.edgeCollection_=b;this.metadata_=null};g=Xcc.prototype;g.toString=function(){return""};g.getMetaData=function(){this.metadata_||(this.metadata_=new nS(this.name_.metadata,this.edgeCollection_));return this.metadata_};g.hasMetaData=function(){return!!this.getMetaData()};g.getValue=function(){return this.name_.displayName||this.name_.formattedName||this.name_.formattedValue||this.name_.value||""};g.hasValue=function(){return!!this.getValue()};
g.getFamilyName=function(){return this.name_.familyName||""};g.hasFamilyName=function(){return!!this.getFamilyName()};g.getGivenName=function(){return this.name_.givenName||""};g.hasGivenName=function(){return!!this.getGivenName()};var Ycc=new Xcc({},null);var Zcc=function(a){this.field_=a};g=Zcc.prototype;g.toString=function(){return""};g.getField=function(){return this.field_};g.getMetaData=function(){return this.field_.getMetaData()};g.hasMetaData=function(){return this.field_.hasMetaData()};g.getValue=function(){return this.field_.getValue()};g.hasValue=function(){return this.field_.hasValue()};g.getFamilyName=function(){return this.field_.getFamilyName()};g.hasFamilyName=function(){return this.field_.hasFamilyName()};g.getGivenName=function(){return this.field_.getGivenName()};
g.hasGivenName=function(){return this.field_.hasGivenName()};var $cc=new Zcc(Ycc);var adc=["CONTACT","PROFILE","DOMAIN_PROFILE"],bdc=function(a,b){this.names_=[];a=m(a);for(var c=a.next();!c.done;c=a.next())this.names_.push(new Xcc(c.value,b))};g=bdc.prototype;g.toString=function(){return""};g.getMetaData=function(){return null};g.hasMetaData=function(){return!!this.getMetaData()};g.getField=function(a){return this.names_[a]||Ycc};g.getFieldLength=function(){return this.names_.length};var cdc=new bdc([],null);var ddc=function(a,b){this.phone_=a;this.edgeCollection_=b;this.metadata_=null};g=ddc.prototype;g.toString=function(){return""};g.getMetaData=function(){this.metadata_||(this.metadata_=this.hasMetaData()?new nS(this.phone_.metadata,this.edgeCollection_):Scc);return this.metadata_};g.hasMetaData=function(){return"metadata"in this.phone_};g.getValue=function(){return this.phone_.value||""};g.hasValue=function(){return!!this.getValue()};
g.getPrimary=function(){var a=this.phone_.metadata;return!(!a||!a.primary)};var edc=new ddc({},null);var fdc=function(a,b){this.phones_=[];a=m(a);for(var c=a.next();!c.done;c=a.next())this.phones_.push(new ddc(c.value,b))};g=fdc.prototype;g.toString=function(){return""};g.getMetaData=function(){return null};g.hasMetaData=function(){return!!this.getMetaData()};g.getField=function(a){return this.phones_[a]||edc};g.getFieldLength=function(){return this.phones_.length};var gdc=new fdc([],null);var hdc=function(a,b){this.photo_=a;this.edgeCollection_=b;this.metadata_=null};g=hdc.prototype;g.toString=function(){return""};g.getMetaData=function(){this.metadata_||(this.metadata_=this.hasMetaData()?new nS(this.photo_.metadata,this.edgeCollection_):Scc);return this.metadata_};g.hasMetaData=function(){return"metadata"in this.photo_};g.getUrl=function(){return this.photo_.url||""};g.hasUrl=function(){return!!this.getUrl()};var idc=new hdc({},null);var jdc=function(a,b){this.photos_=[];a=m(a);for(var c=a.next();!c.done;c=a.next())c=c.value,c.isMonogram||c.isDefault||this.photos_.push(new hdc(c,b))};g=jdc.prototype;g.toString=function(){return""};g.getMetaData=function(){return null};g.hasMetaData=function(){return!!this.getMetaData()};g.getField=function(a){return this.photos_[a]||idc};g.getFieldLength=function(){return this.photos_.length};var kdc=new jdc([],null);var oS=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};
oS.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_?VIa(this.getName().getValue(),this.getEmail().getField(this.emailIndex_).getValue()):"";this.text_=a}return this.text_};oS.prototype.hasName=function(){return!!this.getName()};
oS.prototype.getName=function(){if(!this.name_){a:{var a=$Ia(this);if(a.names_.length){for(var b=m(adc),c=b.next();!c.done;c=b.next()){c=c.value;for(var d=m(a.names_),e=d.next();!e.done;e=d.next())if(e=e.value,e.getMetaData().getContainerType()===c){a=new Zcc(e);break a}}a=new Zcc(a.names_[0])}else a=$cc}this.name_=a}return this.name_};
var $Ia=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 bdc(b,a.edgeCollection_):cdc}return a.nameRepeated_};g=oS.prototype;g.hasEmail=function(){return!!this.getEmail().getField(0).getValue()};
g.getEmail=function(){if(!this.email_){var a=null;this.person_?a=this.person_.email:this.googleGroup_?a=this.googleGroup_.emails:this.contactLabel_&&(a=[{value:WIa(this.contactLabel_)}]);this.email_=a?new Vcc(a,this.edgeCollection_):Wcc}return this.email_};g.hasPhone=function(){return!!this.getPhone().getField(0).getValue()};g.getPhone=function(){if(!this.phone_){var a;this.person_?a=this.person_.phone:this.googleGroup_&&(a=this.googleGroup_.phones);this.phone_=a?new fdc(a,this.edgeCollection_):gdc}return this.phone_};
g.hasPhoto=function(){return!!this.getPhoto().getField(0).getUrl()};g.getPhoto=function(){if(!this.photo_){var a;this.person_&&(a=this.person_.photo);this.photo_=a?new jdc(a,this.edgeCollection_):kdc}return this.photo_};g.getAddress=function(){return null};g.getStatus=function(){return null};g.hasStatus=function(){return!!this.getStatus()};g.hasAttribute=function(a){return!!this.getAttribute(a)};g.getAttribute=function(){return null};g.getDisplayName=function(){return null};g.getRelation=function(){return null};
g.getEvent=function(){return null};var VIa=function(a,b){return a?b&&a!=b?'"'+a.replace(/[\\"]/g,"\\$&")+'" <'+b+">":a:b||""},ldc=new oS(null,null,null,null);var pS=function(){this.keyToIndex_=new Map},mdc=function(a,b,c){return c.map(function(d){return a.get(b,d)}).filter(function(d){return null!=d})};pS.prototype.get=function(a,b){"DOMAIN_PROFILE"===b&&(b="PROFILE");return this.contains(a,b)?this.keyToIndex_.get(this.getKey_(a,b)):null};pS.prototype.set=function(a,b,c){"DOMAIN_PROFILE"===b&&(b="PROFILE");this.keyToIndex_.set(this.getKey_(a,b),c)};
pS.prototype.contains=function(a,b){"DOMAIN_PROFILE"===b&&(b="PROFILE");return this.keyToIndex_.has(this.getKey_(a,b))};pS.prototype.getKey_=function(a,b){return a+"="+b};var YIa=function(a){this.evergreenProfile_=a?new oS(a,null,null,null):ldc};YIa.prototype.toString=function(){return""};var ndc=new YIa(null);var odc=new Ncc(!0,null),qS=function(a){this.edgeIndexResolver_=new pS;this.sourcesCache_=new Map;this.encodedContainerIds_=[];this.readonlyOutgoingEdges_=ZIa(a,this.edgeIndexResolver_,this.encodedContainerIds_)};qS.prototype.get=function(a){return this.readonlyOutgoingEdges_[a]||ndc};var Rcc=function(a,b){return b?b.map(function(c){return a.edgeIndexResolver_.get(c.containerId,c.containerType)}).filter(function(c){return null!=c}):[]};qS.prototype.getSize=function(){return this.readonlyOutgoingEdges_.length};
qS.prototype.getSources=function(a,b){if(!a||!b)return[];if("CONTACT"===b)return[odc];var c=a+"="+b;this.sourcesCache_.has(c)||this.sourcesCache_.set(c,mdc(this.edgeIndexResolver_,a,[b]).map(function(d){return new Ncc(!1,d)}));return this.sourcesCache_.get(c)};var pdc=new qS(null);var rS=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 qS(this.person_);this.emailIndex_=b;this.profile_=new oS(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()};W(rS,kbc);g=rS.prototype;
g.toString=function(){return"cl"===this.getType()?this.getEmail()||"":this.text};g.getAllIds_=function(){if(!this.allIds_){if(this.person_)var a=Mcc(this.person_);else if(this.googleGroup_)if(a=this.googleGroup_){var b=UIa(a.sourceIds);a=new Kcc(a.personId||"",b)}else a=Lcc;else this.contactLabel_?(a=this.contactLabel_)?(b={},b.CONTACT=tq("id.id",a)||"",a=new Kcc("",b)):a=Lcc:a=Lcc;this.allIds_=a}return this.allIds_};g.getId=function(){return this.getAllIds_().contactId};
g.getName=function(){null===this.name_&&(this.name_=aJa(this.profile_,function(a){return!!a&&!Pcc(a)}),null===this.name_&&(this.name_=qdc(this,aJa)));return this.name_};g.getEmail=function(){return this.profile_.getEmail().getField(this.emailIndex_).getValue()};g.getPhoneNumber=function(){null===this.phone_&&(this.phone_=bJa(this.profile_,function(a){return!!a&&!Pcc(a)}),null===this.phone_&&(this.phone_=qdc(this,bJa)));return this.phone_};
g.getType=function(){var a=this.profile_;return a.contactLabel_?"cl":a.googleGroup_?"li":!a.hasEmail()&&a.hasPhone()?"pt":"ct"};g.getPriority=function(){return 0};g.getPhotoUrl=function(){null===this.photoUrl_&&(this.photoUrl_=cJa(this.profile_,function(a){return!!a&&!Pcc(a)}),null===this.photoUrl_&&(this.photoUrl_=qdc(this,cJa)));return this.photoUrl_};g.getLoggingId=function(){return this.getAllIds_().loggingId};
var qdc=function(a,b){for(var c=a.profile_.getEmail().getField(a.emailIndex_).getMetaData(),d=0;d<Qcc(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<Occ(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""},rdc=function(a,b,c){c=void 0===c?!1:c;if(void 0===b?0:b)return a.map(function(q){return new rS(q,void 0,!0)});b=new Set;var d=
[];a=m(a);for(var e=a.next();!e.done;e=a.next()){e=e.value;var f=tq("person.email",e)||tq("googleGroup.emails",e)||[];if(c||f&&f.length)for(var h=0;h<f.length;h++){var l=(tq("value",f[h])||"").trim().toLowerCase();if(c){if(b.has(l))continue;b.add(l)}d.push(new rS(e,h))}else d.push(new rS(e))}return d};var sdc=function(a,b,c,d,e,f,h,l,q,u,x,y,G,L,M,T){M=void 0===M?new HR:M;T=void 0===T?!1:T;this.metrics=a;this.peopleRoot=b;this.gapiApiKey=c;this.clientId=d;this.clientName=e;this.clientVersion=f||"contact_store_336195648";this.affinityType=h;this.delegatorId=l;this.timeoutMs=q;this.onAuthError=u?u:function(){};this.autocompletePageSize=x;this.rankedTargetsPageSize=y;this.peopleContainerMask=G.split(/[\s,]+/).filter(function(S){return!!S});this.peopleFieldMask=L;this.experiments=M;this.includeOnlyNames=
T};sdc.prototype.setTimeout=function(a){var b=this.timeoutMs;0<a&&(this.timeoutMs=a);return b};var sS=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};W(sS,Error);var tS=function(a,b,c){this.config=a;this.onAuthError_=a.onAuthError;this.timeoutMs_=a.timeoutMs;this.metrics_=a.metrics;this.metric_=new ZR(b);this.handler_=c;this.promise_=this.query_=null;this.state_=0;this.addressBookId_="";this.metrics_.start(this.metric_,"total");this.metrics_.start(this.metric_,"blocked")};g=tS.prototype;g.setAddressBookId=function(a){this.addressBookId_=a};g.getAddressBookId=function(){return this.addressBookId_};g.isPending=function(){return 1==this.state_};g.getQuery=function(){return this.query_};
g.setQuery=function(a){this.query_=a};g.cancel=function(){switch(this.state_){case 1:this.promise_.cancel();break;case 0:this.state_=2,this.promise_=fOb(new XB),tdc(this,null,11)}};
g.send=function(a){var b=this;if(0!==this.state_)return this.promise_;this.metrics_.count(this.metric_);this.metrics_.stop(this.metric_,"blocked");this.metrics_.start(this.metric_,"network");this.state_=1;var c=this.buildRequest();if(c&&c.path){var d=this.config.gapiApiKey||"";d&&!LIa()&&(c.params=c.params||{},c.params.key=d);c.headers=MIa(d);c.root=this.config.peopleRoot;c.authType="auto";a=a.request(c)}else a=Promise.resolve({result:{}});return this.promise_=pOb(iOb([a,yOb(this.timeoutMs_,"TIMEOUT")]),
function(){b.state_=2;b.metrics_.stop(b.metric_,"network")}).then(function(e){return b.onResponse_(e)},function(e){return b.onError_(e)})};g.onResponse_=function(a){if("TIMEOUT"===a)this.onError_(a);else{var b=a&&a.result;if(!b||"error"in b)this.onError_(a);else{try{var c=this.processResponse(b)}catch(d){this.onError_(d);return}try{tdc(this,c,0)}finally{this.metrics_.stop(this.metric_,"total"),this.metrics_.status(this.metric_,0)}}}};
g.onError_=function(a){var b=!1,c=2,d=1;try{if("TIMEOUT"===a)c=4,d=10;else if(a instanceof XB)c=1,d=11;else if(a instanceof sS)c=a.code,d=tbc(c);else if(a&&"object"===typeof a){var e=tq("result.error.code",a)||a.status,f=e;f=Number(f);c=qbc.has(f)?qbc.get(f):200<=f&&300>f?0:400<=f&&500>f?9:500<=f&&600>f?13:2;d=tbc(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),tdc(this,null,d,b)}};
var tdc=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 udc=function(a,b,c){var d=(new vq).setEventType(2).setRpcType(1).setToken(b);tS.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};W(udc,tS);
udc.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}};
udc.prototype.processResponse=function(a){var b=a.status;if(b){if(b.personalResultsNotReady)throw new sS(14,"PersonalResultsNotReady");if(b.requestThrottled)throw new sS(8,"RequestThrottled");if(b.containsPartialResults)throw new sS(8,"ContainsPartialResults");}return rdc(a.results||[],this.config.includeOnlyNames)};var vdc=function(a,b){this.person_=a;this.allIds_=null;this.edgeCollection_=b;this.profile_=this.person_?new oS(this.person_,null,null,this.edgeCollection_):ldc};g=vdc.prototype;g.toString=function(){return""};g.getAllIds_=function(){this.allIds_||(this.allIds_=Mcc(this.person_));return this.allIds_};g.getId=function(){return this.getAllIds_().contactId||this.getAllIds_().profileId||this.getAllIds_().syntheticId};g.hasAttribute=function(a){return!!this.getAttribute(a)};g.getAttribute=function(){return null};
g.getAffinity=function(){return null};g.hasAffinity=function(){return!!this.getAffinity()};g.getDeleted=function(){return!1};var wdc=new vdc(null,pdc);var xdc=function(a){a=void 0===a?null:a;this.edgeCollection_=new qS(a);this.contact_=a?new vdc(a,this.edgeCollection_):wdc};g=xdc.prototype;g.toString=function(){return""};g.getId=function(){return this.contact_.getId()};g.getAttribute=function(a){return this.contact_.getAttribute(a)};g.hasAttribute=function(a){return this.contact_.hasAttribute(a)};g.getAffinity=function(){return this.contact_.getAffinity()};g.hasAffinity=function(){return this.contact_.hasAffinity()};g.getDeleted=function(){return this.contact_.getDeleted()};var ydc=function(a,b,c){tS.call(this,a,(new vq).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};W(ydc,tS);
ydc.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}};ydc.prototype.processResponse=function(a){return(a.personResponse||[]).filter(function(b){return"SUCCESS"==b.status}).map(function(b){return new xdc(b.person)})};var uS=function(a,b,c,d){tS.call(this,a,RIa(b),d);this.clientName_=a.clientName;this.clientVersion_=a.clientVersion;this.delegatorId_=a.delegatorId;this.lookupType_=zdc(b);this.knownIds_=c.filter(function(e){return!!e});this.peopleContainerMask_=a.peopleContainerMask;this.peopleFieldMask_=a.peopleFieldMask};W(uS,tS);
uS.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}};
uS.prototype.processResponse=function(a){var b=a.matches,c=a.people,d=[];b&&c&&b.forEach(function(e){e=m(e.personId);for(var f=e.next();!f.done;f=e.next())(f=c[f.value])&&d.push(new xdc(f))});return d};var zdc=function(a){switch(a){case 1:return"EMAIL";case 2:return"PHONE";case 3:return"CONTACT";case 5:return"SYNTHETIC";default:return""}};var Adc=function(a,b){tS.call(this,a,(new vq).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_=[];Tl(a.experiments,6,!0)&&this.peopleExtensionNames_.push("FILTER_TO_PRIMARY")};W(Adc,tS);
Adc.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}};Adc.prototype.processResponse=function(a){return rdc(a.rankedTarget||[],this.config.includeOnlyNames,!0)};g=dJa.prototype;g.getQuery=function(){return this.query_};g.setQuery=function(a){this.query_=a};g.getError=function(){return this.error_};g.setError=function(a){this.error_=a};g.getConfiguration=function(){return this.config_};g.setConfiguration=function(a){this.config_=a};g.getUserData=function(){return this.userData_};g.setUserData=function(a){this.userData_=a};var Bdc=new Map([[1,4],[2,2],[3,1],[4,7]]),vS=function(a,b){hj.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 ZR((new vq).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?Cdc(c,d):Ddc(c,5)},function(d){c.metrics_.logError("gapi.client failed to load: "+d,d);Ddc(c,5)})};
W(vS,hj);var Cdc=function(a,b){b&&b.request?(QIa(),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 Edc(a,d,e)})})):Ddc(a,9)};vS.prototype.disposeInternal=function(){for(var a=m(this.queuedRequests_.keys()),b=a.next();!b.done;b=a.next())Fcc(this,b.value)};
var Ddc=function(a,b){a.metrics_.status(a.gapiMetric_,b);a.gapiFailed_=!0;a.disposeInternal()},Fcc=function(a,b){b=b||"";a.queuedRequests_.has(b)&&(Fdc(a.queuedRequests_.get(b)),a.queuedRequests_.delete(b))},Gdc=function(a,b,c){a.gapiFailed_?c.cancel():(TIa(a,b).push(c),Edc(a,b,c))},Edc=function(a,b,c){a.gapiClient_&&pOb(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)}})},TIa=function(a,b){b=b||"";if(a.queuedRequests_.has(b))return a.queuedRequests_.get(b);
var c=[];a.queuedRequests_.set(b,c);return c},Fdc=function(a){a&&a.length&&(a.forEach(function(b){return b.cancel()}),a.length=0)};vS.prototype.loadContactRows=function(a,b,c){var d=a&&a.token||"",e=function(h,l){return c(h,f,b,a,l)},f=d?new udc(this.config_,d,e):new Adc(this.config_,e);Gdc(this,b,f);return f};
vS.prototype.execute=function(a){if(a.isMutate())return this.metrics_.status(new ZR((new vq).setEventType(2).setRpcType(4)),12),Hdc(a);var b=a.getQueryParameters&&a.getQueryParameters()||{},c=b.addressBookId,d=function(x,y){y?(x=wbc(y,h),a.response_=x):(y=new dJa(b),y.contacts_=x,x=new vbc(h),x.queryResponse_=y,x.errorCode_=y.getError(),a.response_=x)},e=this.config_.setTimeout(Idc(a));try{var f=b.emailAddresses||[];if(f.length)var h=new uS(this.config_,1,f,d);else{var l=b.contactIds||[];if(l.length)h=
new uS(this.config_,3,l,d);else{var q=b.profileIds||[];if(q.length)h=new ydc(this.config_,q,d);else{var u=b.syntheticIds||[];if(u.length)h=new uS(this.config_,5,u,d);else return this.metrics_.status(new ZR((new vq).setEventType(2)),12),Hdc(a)}}}}finally{this.config_.setTimeout(e)}h.setQuery(a);Gdc(this,c,h);return h};var Hdc=function(a){var b=new LR(function(){var c=wbc(5,b);a.response_=c});b.setQuery(a);return b};var wS=function(a,b,c,d){yq.call(this,a,b,c,d)};W(wS,yq);wS.prototype.execute=function(a){a.isMutate()&&a.addSuccessCallback(eu(this.handleExecuteResponse_,this,a));a=this.transport_.execute(a);a.setAddressBookId(this.getId());return a};wS.prototype.handleExecuteResponse_=function(a,b){if(b.hasChanges()){var c=b.mutateResponse_;if(a.getNotifyOnChange()||c&&c.getError())a=new VR([b.mutateResponse_],"g"),this.dispatchEvent(a)}};var Jdc=function(a,b,c){b=b||new Hcc(!0,!0);yq.call(this,a,b,"personal",c)};W(Jdc,wS);Jdc.prototype.configure=function(a,b){wS.prototype.configure.call(this,a,b)};var Kdc=function(){throw Error("Kd");};var xS={},Ldc={},Mdc={},Ndc={},Odc={},yS=function(){throw Error("Md");};yS.prototype.contentDir=null;yS.prototype.getContent=function(){return this.content};yS.prototype.toString=function(){return this.content};yS.prototype.toSafeHtml=function(){if(this.contentKind!==xS)throw Error("Nd");return ii(this.toString())};var Pdc=function(){yS.call(this)};gu(Pdc,yS);Pdc.prototype.contentKind=xS;var Qdc=function(){yS.call(this)};gu(Qdc,yS);Qdc.prototype.contentKind=Ldc;Qdc.prototype.contentDir=1;var zS=function(a,b){return null!=a&&a.contentKind===b};var Rdc=function(a){if(null!=a)switch(a.contentDir){case 1:return 1;case -1:return-1;case 0:return 0}return null},ns=function(a){return zS(a,xS)?a:a instanceof Bq?ls(im(a).toString()):a instanceof Bq?ls(im(a).toString()):ls(String(String(a)).replace(Sdc,Tdc),Rdc(a))},ls=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}}(Pdc),Udc=function(a){if(null==a)throw Error("Od");return a},AS=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}}(Pdc),Vdc=function(a){function b(c){this.content=c}b.prototype=a.prototype;return function(c){return(c=String(c))?new b(c):""}}(Qdc),ps=function(a){return zS(a,xS)?a:ls(Wdc(a,Xdc),Rdc(a))},Ydc=RegExp("^<(?:area|base|br|col|command|embed|hr|img|input|keygen|link|meta|param|source|track|wbr)\\b"),Wdc=function(a,b){if(!b)return String(a).replace(Zdc,"").replace($dc,"&lt;");a=String(a).replace(/\[/g,
"&#91;");var c=[],d=[];a=a.replace(Zdc,function(f,h){if(h&&(h=h.toLowerCase(),b.hasOwnProperty(h)&&b[h])){var l=c.length,q="</",u="";if("/"!=f.charAt(1)){q="<";for(var x;x=aec.exec(f);)if(x[1]&&"dir"==x[1].toLowerCase()){if(f=x[2]){if("'"==f.charAt(0)||'"'==f.charAt(0))f=f.substr(1,f.length-2);f=f.toLowerCase();if("ltr"==f||"rtl"==f||"auto"==f)u=' dir="'+f+'"'}break}aec.lastIndex=0}c[l]=q+h+">";d[l]=u;return"["+l+"]"}return""});a=String(a).replace(bec,Tdc);var e=cec(c);a=a.replace(/\[(\d+)\]/g,function(f,
h){return d[h]&&c[h]?c[h].substr(0,c[h].length-1)+d[h]+">":c[h]});return a+e},BS=function(a){return a.replace(/<\//g,"<\\/").replace(/\]\]>/g,"]]\\>")},cec=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]="":Ydc.test(e)||b.push("</"+e.substring(1))}return b.reverse().join("")},ms=function(a){return zS(a,xS)?String(Wdc(a.getContent())).replace(bec,
Tdc):String(a).replace(Sdc,Tdc)},gec=function(a){zS(a,Ldc)||zS(a,Mdc)?a=CS(a):a instanceof vc?a=CS(wc(a)):a instanceof vc?a=CS(wc(a)):a instanceof Ou?a=CS(oj(a).toString()):a instanceof Ou?a=CS(oj(a).toString()):(a=String(a),a=dec.test(a)?a.replace(eec,fec):"about:invalid#zSoyz");return a},iec=function(a){zS(a,Ldc)||zS(a,Mdc)?a=CS(a):a instanceof vc?a=CS(wc(a)):a instanceof vc?a=CS(wc(a)):a instanceof Ou?a=CS(oj(a).toString()):a instanceof Ou?a=CS(oj(a).toString()):(a=String(a),a=hec.test(a)?a.replace(eec,
fec):"about:invalid#zSoyz");return a},DS=function(a){zS(a,Odc)?a=BS(a.getContent()):null==a?a="":a instanceof Pu?a=BS(oEb(a)):a instanceof Pu?a=BS(oEb(a)):a instanceof Qu?a=BS(rEb(a)):a instanceof Qu?a=BS(rEb(a)):(a=String(a),a=jec.test(a)?a:"zSoyz");return a},kec={"\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;"},Tdc=function(a){return kec[a]},lec={"\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"},fec=function(a){return lec[a]},Sdc=/[\x00\x22\x26\x27\x3c\x3e]/g,bec=/[\x00\x22\x27\x3c\x3e]/g,eec=/[\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,jec=/^(?!-*(?:expression|(?:moz-)?binding))(?:(?:[.#]?-?(?:[_a-z0-9-]+)(?:-[_a-z0-9-]+)*-?|(?:rgb|rgba|hsl|hsla|calc|max|min|cubic-bezier|linear-gradient)\((?:[-\u0020\t,+.!#%_0-9a-zA-Z]|(?:rgb|rgba|hsl|hsla|calc|max|min|cubic-bezier|linear-gradient)\([-\u0020\t,+.!#%_0-9a-zA-Z]+\))+\)|[-+]?(?:[0-9]+(?:\.[0-9]*)?|\.[0-9]+)(?:e-?[0-9]+)?(?:[a-z]{1,4}|%)?|!important)(?:\s*[,\u0020]\s*|$))*$/i,
dec=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i,hec=/^[^&:\/?#]*(?:[\/?#]|$)|^https?:|^ftp:|^data:image\/[a-z0-9+]+;base64,[a-z0-9+\/]+=*$|^blob:/i,mec=/^(?!on|src|(?:action|archive|background|cite|classid|codebase|content|data|dsync|href|http-equiv|longdesc|style|usemap)\s*$)(?:[a-z0-9_$:-]*)$/i,CS=function(a){return String(a).replace(eec,fec)},Zdc=/<(?:!|\/?([a-zA-Z][a-zA-Z0-9:\-]*))(?:[^>'"]|"[^"]*"|'[^']*')*>/g,$dc=/</g,Xdc={b:!0,br:!0,em:!0,i:!0,s:!0,strong:!0,sub:!0,sup:!0,u:!0},
aec=/([a-zA-Z][a-zA-Z0-9:\-]*)[\t\n\r\u0020]*=[\t\n\r\u0020]*("[^"]*"|'[^']*')/g;var eJa={};var ES=function(a,b,c){wq.call(this);this.matcher_=a;this.selectionHandler_=c;this.renderer_=b;xq(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_={}};gu(ES,wq);g=ES.prototype;g.maxMatches_=10;g.getMatcher=function(){return this.matcher_};g.setMatcher=function(a){this.matcher_=a};g.getToken=function(){return this.token_};
g.handleEvent=function(a){var b=this.matcher_;if(a.target==this.renderer_)switch(a.type){case "hilite":this.hiliteId(a.row);break;case "select":var c=!1;if("number"===typeof a.row){a=a.row;var d=this.rows_[FS(this,a)];c=!!d&&b.isRowDisabled&&b.isRowDisabled(d);d&&!c&&this.hiliteId_!=a&&this.hiliteId(a)}c||this.selectHilited();break;case "canceldismiss":nec(this);break;case "dismiss":oec(this)}};
g.setToken=function(a){this.token_!=a&&(this.token_=a,this.matcher_.requestMatchingRows(this.token_,this.maxMatches_,eu(this.matchListener_,this)),nec(this))};g.getTarget=function(){return this.target_};g.setTarget=function(a){this.target_=a};g.isOpen=function(){return this.renderer_.isVisible()};var pec=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}};
ES.prototype.hiliteId=function(a){var b=FS(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)};
ES.prototype.selectHilited=function(){var a=FS(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=qec(c,c.getValue(),c.getCursorPosition()),f=rec(c,c.getValue());c.separatorCheck_&&!c.separatorCheck_.test(d)&&(d=d.replace(/[\s\xa0]+$/,"")+c.defaultSeparator_);0==e||Hm(f[e-1])||(d=" "+d);e==f.length-1&&(d+=" ");if(d!=f[e]){f[e]=d;d=c.activeElement_;(ku||iu)&&d.blur();d.value=f.join("");for(var h=0,l=0;l<=e;l++)h+=f[l].length;
d.focus();e=h;f=c.activeElement_;sec(f)&&(f.selectionStart=e);f=c.activeElement_;sec(f)&&(f.selectionEnd=e)}}else c.setValue(d);c.rowJustSelected_=!0}this.dismiss();this.dispatchEvent({type:"update",row:b,index:a});return!0}this.dismiss();this.dispatchEvent({type:"update",row:null,index:null});return!1};
ES.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 oec=function(a){a.dismissTimer_||(a.dismissTimer_=window.setTimeout(eu(a.dismiss,a),100))};
ES.prototype.immediatelyCancelDelayedDismiss_=function(){return this.dismissTimer_?(window.clearTimeout(this.dismissTimer_),this.dismissTimer_=null,!0):!1};var nec=function(a){a.immediatelyCancelDelayedDismiss_()||window.setTimeout(eu(a.immediatelyCancelDelayedDismiss_,a),10)};ES.prototype.disposeInternal=function(){ES.superClass_.disposeInternal.call(this);delete this.inputToAnchorMap_;this.renderer_.dispose();this.selectionHandler_.dispose();this.matcher_=null};
ES.prototype.matchListener_=function(a,b,c){this.token_==a&&this.renderRows(b,c)};
ES.prototype.renderRows=function(a,b){var c="object"==kc(b)&&b;b=(c?c.getPreserveHilited():b)?FS(this,this.hiliteId_):-1;this.firstRowId_+=this.rows_.length;this.rows_=a;for(var d=[],e=0;e<a.length;++e)d.push({id:this.firstRowId_+e,data:a[e]});a=null;this.target_&&(a=this.inputToAnchorMap_[Ua(this.target_)]||this.target_);this.renderer_.anchorElement_=a;this.renderer_.renderRows(d,this.token_,this.target_);a=!0;c&&void 0!==c.getAutoHilite()&&(a=c.getAutoHilite());this.hiliteId_=-1;(a||0<=b)&&0!=d.length&&
this.token_&&(0<=b?this.hiliteId(this.firstRowId_+b):pec(this));this.dispatchEvent("suggestionsupdate")};var FS=function(a,b){b-=a.firstRowId_;return 0>b||b>=a.rows_.length?-1:b};ES.prototype.attachInputs=function(a){var b=this.selectionHandler_;b.attachInputs.apply(b,arguments)};ES.prototype.detachInputs=function(a){var b=this.selectionHandler_;b.detachInputs.apply(b,arguments);Array.prototype.forEach.call(arguments,function(c){qc(this.inputToAnchorMap_,Ua(c))},this)};ES.prototype.update=function(a){this.selectionHandler_.update(a)};var tec=function(a,b){var c=0,d=0;sec(a)&&(c=a.selectionStart,d=b?-1:a.selectionEnd);return[c,d]},sec=function(a){try{return"number"==typeof a.selectionStart}catch(b){return!1}};var wec=function(a,b,c,d,e,f){if(Yr&&e)return uec(a);if(e&&!d)return!1;if(!ku){"number"===typeof b&&(b=vec(b));var h=17==b||18==b||Yr&&91==b;if((!c||Yr)&&h||Yr&&16==b&&(d||f))return!1}if((lu||ju)&&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(iu&&d&&b==a)return!1;switch(a){case 13:return ku?f||e?!1:!(c&&d):!0;case 27:return!(lu||ju||ku)}return ku&&(d||e||f)?!1:uec(a)},uec=function(a){if(48<=a&&57>=a||96<=a&&106>=
a||65<=a&&90>=a||(lu||ju)&&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 ku;default:return!1}},vec=function(a){if(ku)a=xec(a);else if(Yr&&lu)switch(a){case 93:a=91}return a},xec=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 yec=function(a,b,c,d){AB.call(this,d);this.type="key";this.keyCode=a;this.charCode=b;this.repeat=c};gu(yec,AB);var GS=function(a,b){wq.call(this);a&&this.attach(a,b)};gu(GS,wq);g=GS.prototype;g.element_=null;g.keyPressKey_=null;g.keyDownKey_=null;g.keyUpKey_=null;g.lastKey_=-1;g.keyCode_=-1;g.altKey_=!1;
var zec={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},Aec={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},Bec=Yr&&ku;g=GS.prototype;
g.handleKeyDown_=function(a){(lu||ju)&&(17==this.lastKey_&&!a.ctrlKey||18==this.lastKey_&&!a.altKey||Yr&&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));wec(a.keyCode,this.lastKey_,a.shiftKey,a.ctrlKey,a.altKey,a.metaKey)?(this.keyCode_=vec(a.keyCode),Bec&&(this.altKey_=a.altKey)):this.handleEvent(a)};
g.resetState=function(){this.keyCode_=this.lastKey_=-1};g.handleKeyup_=function(a){this.resetState();this.altKey_=a.altKey};
g.handleEvent=function(a){var b=a.event_,c=b.altKey;if(iu&&"keypress"==a.type){var d=this.keyCode_;var e=13!=d&&27!=d?b.keyCode:0}else(lu||ju)&&"keypress"==a.type?(d=this.keyCode_,e=0<=b.charCode&&63232>b.charCode&&uec(d)?b.charCode:0):("keypress"==a.type?(Bec&&(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),Yr&&63==e&&224==d&&(d=191));var f=d=vec(d);d?63232<=
d&&d in zec?f=zec[d]:25==d&&a.shiftKey&&(f=9):b.keyIdentifier&&b.keyIdentifier in Aec&&(f=Aec[b.keyIdentifier]);if(!ku||"keypress"!=a.type||wec(f,this.lastKey_,a.shiftKey,a.ctrlKey,c,a.metaKey))a=f==this.lastKey_,this.lastKey_=f,b=new yec(f,e,a,b),b.altKey=c,this.dispatchEvent(b)};g.getElement=function(){return this.element_};
g.attach=function(a,b){this.keyUpKey_&&this.detach();this.element_=a;this.keyPressKey_=xq(this.element_,"keypress",this,b);this.keyDownKey_=xq(this.element_,"keydown",this.handleKeyDown_,b,this);this.keyUpKey_=xq(this.element_,"keyup",this.handleKeyup_,b,this)};g.detach=function(){this.keyPressKey_&&(GB(this.keyPressKey_),GB(this.keyDownKey_),GB(this.keyUpKey_),this.keyUpKey_=this.keyDownKey_=this.keyPressKey_=null);this.element_=null;this.keyCode_=this.lastKey_=-1};
g.disposeInternal=function(){GS.superClass_.disposeInternal.call(this);this.detach()};var HS=function(a,b,c,d){hj.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 YB(d):null;this.eh_=new Qr(this);this.activateHandler_=new Qr(this);this.keyHandler_=new GS;this.lastKeyCode_=-1};
gu(HS,hj);g=HS.prototype;g.activeElement_=null;g.lastValue_="";g.waitingForIme_=!1;g.rowJustSelected_=!1;g.getValue=function(){return this.activeElement_.value};g.setValue=function(a){this.activeElement_.value=a};g.getCursorPosition=function(){return tec(this.activeElement_,!0)[0]};
g.attachInputs=function(a){for(var b=0;b<arguments.length;b++){var c=arguments[b];RB(c)&&(GM(c,"combobox"),HM(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_),RB(c))){var d=JB(c);try{var e=d&&d.activeElement;var f=e&&e.nodeName?e:null}catch(h){f=null}f==c&&Cec(this,c)}}};
g.detachInputs=function(a){for(var b=0;b<arguments.length;b++){var c=arguments[b];RB(c)&&(c.removeAttribute("role"),c.removeAttribute("aria-autocomplete"));c==this.activeElement_&&this.handleBlur();this.eh_.unlisten(c,"focus",this.handleFocus);this.eh_.unlisten(c,"blur",this.handleBlur);this.activeElement_||this.activateHandler_.unlisten(c,"keydown",this.onKeyDownOnInactiveElement_)}};
g.disposeInternal=function(){HS.superClass_.disposeInternal.call(this);this.eh_.dispose();delete this.eh_;this.activateHandler_.dispose();this.keyHandler_.dispose();fj(this.timer_)};
var Eec=function(a,b){switch(b.keyCode){case 40:if(a.ac_.isOpen()){pec(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}}Dec(a,b)},Dec=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()};HS.prototype.handleKeyUp=function(){return!1};HS.prototype.handleFocus=function(a){Cec(this,a.target||null)};
var Cec=function(a,b){a.activateHandler_.removeAll();a.ac_&&nec(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_),iu&&a.eh_.listen(a.activeElement_,"keypress",a.onIeKeyPress_))};g=HS.prototype;
g.handleBlur=function(){this.activeElement_&&(this.eh_.unlisten(this.keyHandler_,"key",this.onKey_),this.keyHandler_.detach(),this.eh_.unlisten(this.activeElement_,"keyup",this.handleKeyUp),this.eh_.unlisten(this.activeElement_,"mousedown",this.onMouseDown_),iu&&this.eh_.unlisten(this.activeElement_,"keypress",this.onIeKeyPress_),this.waitingForIme_&&Fec(this),this.activeElement_=null,this.timer_&&(this.timer_.stop(),this.eh_.unlisten(this.timer_,"tick",this.onTick_)),this.ac_&&oec(this.ac_))};
g.onTick_=function(){this.update()};g.onKeyDownOnInactiveElement_=function(a){this.handleFocus(a)};g.onKey_=function(a){this.lastKeyCode_=a.keyCode;this.ac_&&Eec(this,a)};g.onKeyPress_=function(){this.waitingForIme_&&229!=this.lastKeyCode_&&Fec(this)};g.onKeyUp_=function(a){this.waitingForIme_&&(13==a.keyCode||77==a.keyCode&&a.ctrlKey)&&Fec(this)};g.onMouseDown_=function(){};
var Fec=function(a){a.waitingForIme_&&(a.waitingForIme_=!1,a.eh_.unlisten(a.activeElement_,"keypress",a.onKeyPress_),a.eh_.unlisten(a.activeElement_,"keyup",a.onKeyUp_))};HS.prototype.onIeKeyPress_=function(a){Dec(this,a)};
HS.prototype.update=function(a){if(this.activeElement_&&(a||this.getValue()!=this.lastValue_)){if(a||!this.rowJustSelected_){a=this.getCursorPosition();var b=this.getValue();a=rec(this,b)[qec(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 qec=function(a,b,c){a=rec(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},rec=function(a,b){if(!a.multi_)return[b];b=String(b).split("");for(var c=[],d=[],e=0,f=!1;e<b.length;e++)a.literals_&&-1!=a.literals_.indexOf(b[e])?(f||(c.push(d.join("")),d.length=0),d.push(b[e]),f=!f):f||-1==a.separators_.indexOf(b[e])?d.push(b[e]):(d.push(b[e]),c.push(d.join("")),d.length=0);c.push(d.join(""));return c};var Gec=function(a){return"string"==typeof a.className?a.className:a.getAttribute&&a.getAttribute("class")||""},Hec=function(a){return a.classList?a.classList:Gec(a).match(/\S+/g)||[]},Iec=function(a,b){"string"==typeof a.className?a.className=b:a.setAttribute&&a.setAttribute("class",b)},Jec=function(a,b){return a.classList?a.classList.contains(b):Ha(Hec(a),b)},Kec=function(a,b){if(a.classList)a.classList.add(b);else if(!Jec(a,b)){var c=Gec(a);Iec(a,c+(0<c.length?" "+b:b))}},IS=function(a,b){if(a.classList)Array.prototype.forEach.call(b,
function(e){Kec(a,e)});else{var c={};Array.prototype.forEach.call(Hec(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;Iec(a,b)}},Lec=function(a,b){a.classList?a.classList.remove(b):Jec(a,b)&&Iec(a,Array.prototype.filter.call(Hec(a),function(c){return c!=b}).join(" "))},Mec=function(a,b){a.classList?Array.prototype.forEach.call(b,function(c){Lec(a,c)}):Iec(a,Array.prototype.filter.call(Hec(a),function(c){return!Ha(b,c)}).join(" "))};var Nec=function(a,b,c){hj.call(this);this.listener_=a;this.interval_=b||0;this.handler_=c;this.callback_=eu(this.doAction_,this)};gu(Nec,hj);g=Nec.prototype;g.id_=0;g.disposeInternal=function(){Nec.superClass_.disposeInternal.call(this);this.stop();delete this.listener_;delete this.handler_};g.start=function(a){this.stop();this.id_=Zp(this.callback_,void 0!==a?a:this.interval_)};g.stop=function(){this.isActive()&&$p(this.id_);this.id_=0};g.fire=function(){this.stop();this.doAction_()};
g.isActive=function(){return 0!=this.id_};g.doAction_=function(){this.id_=0;this.listener_&&this.listener_.call(this.handler_)};var Oec=function(a,b){if(b&&a in b)return a;var c=lu?"Webkit":ku?"Moz":iu?"ms":null;return c?(c=c.toLowerCase(),a=c+Wj(a),void 0===b||a in b?a:null):null};var JS=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};g=JS.prototype;g.getWidth=function(){return this.right-this.left};g.getHeight=function(){return this.bottom-this.top};g.clone=function(){return new JS(this.top,this.right,this.bottom,this.left)};g.contains=function(a){return this&&a?a instanceof JS?a.left>=this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom:!1};
g.expand=function(a,b,c,d){Ta(a)?(this.top-=a.top,this.right+=a.right,this.bottom+=a.bottom,this.left-=a.left):(this.top-=a,this.right+=Number(b),this.bottom+=Number(c),this.left-=Number(d));return this};g.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this};
g.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this};g.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this};
g.translate=function(a,b){a instanceof cs?(this.left+=a.x,this.right+=a.x,this.top+=a.y,this.bottom+=a.y):(this.left+=a,this.right+=a,"number"===typeof b&&(this.top+=b,this.bottom+=b));return this};g.scale=function(a,b){b="number"===typeof b?b:a;this.left*=a;this.right*=a;this.top*=b;this.bottom*=b;return this};var KS=function(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d};KS.prototype.clone=function(){return new KS(this.left,this.top,this.width,this.height)};var O9a=function(a){return new KS(a.left,a.top,a.right-a.left,a.bottom-a.top)};
KS.prototype.intersection=function(a){var b=Math.max(this.left,a.left),c=Math.min(this.left+this.width,a.left+a.width);if(b<=c){var d=Math.max(this.top,a.top);a=Math.min(this.top+this.height,a.top+a.height);if(d<=a)return this.left=b,this.top=d,this.width=c-b,this.height=a-d,!0}return!1};var Pec=function(a,b){var c=Math.max(a.left,b.left),d=Math.min(a.left+a.width,b.left+b.width);if(c<=d){var e=Math.max(a.top,b.top);a=Math.min(a.top+a.height,b.top+b.height);if(e<=a)return new KS(c,e,d-c,a-e)}return null};
g=KS.prototype;g.contains=function(a){return a instanceof cs?a.x>=this.left&&a.x<=this.left+this.width&&a.y>=this.top&&a.y<=this.top+this.height:this.left<=a.left&&this.left+this.width>=a.left+a.width&&this.top<=a.top&&this.top+this.height>=a.top+a.height};g.distance=function(a){var b=a.x<this.left?this.left-a.x:Math.max(a.x-(this.left+this.width),0);a=a.y<this.top?this.top-a.y:Math.max(a.y-(this.top+this.height),0);return Math.sqrt(b*b+a*a)};g.getSize=function(){return new HB(this.width,this.height)};
g.ceil=function(){this.left=Math.ceil(this.left);this.top=Math.ceil(this.top);this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};g.floor=function(){this.left=Math.floor(this.left);this.top=Math.floor(this.top);this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};g.round=function(){this.left=Math.round(this.left);this.top=Math.round(this.top);this.width=Math.round(this.width);this.height=Math.round(this.height);return this};
g.translate=function(a,b){a instanceof cs?(this.left+=a.x,this.top+=a.y):(this.left+=a,"number"===typeof b&&(this.top+=b));return this};g.scale=function(a,b){b="number"===typeof b?b:a;this.left*=a;this.width*=a;this.top*=b;this.height*=b;return this};var LS=function(a,b){var c=JB(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b)||"":""},sr=function(a,b){return LS(a,b)||(a.currentStyle?a.currentStyle[b]:null)||a.style&&a.style[b]},gs=function(a,b,c){if(b instanceof cs){var d=b.x;b=b.y}else d=b,b=c;a.style.left=MS(d,!1);a.style.top=MS(b,!1)},Qec=function(a){try{return a.getBoundingClientRect()}catch(b){return{left:0,top:0,right:0,bottom:0}}},Rec=function(a){if(iu&&!(8<=
Number(mu)))return a.offsetParent;var b=JB(a),c=sr(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=sr(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},bs=function(a){for(var b=new JS(0,Infinity,Infinity,0),c=zq(a),d=c.document_.body,e=c.document_.documentElement,f=NB(c.document_);a=
Rec(a);)if(!(iu&&0==a.clientWidth||lu&&0==a.clientHeight&&a==d)&&a!=d&&a!=e&&"visible"!=sr(a,"overflow")){var h=NS(a),l=new cs(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=f.scrollLeft;f=f.scrollTop;b.left=Math.max(b.left,d);b.top=Math.max(b.top,f);c=c.getViewportSize();b.right=Math.min(b.right,d+c.width);b.bottom=Math.min(b.bottom,f+c.height);return 0<=
b.top&&0<=b.left&&b.bottom>b.top&&b.right>b.left?b:null},Uec=function(a,b){b=b||NB(document);var c=b||NB(document);var d=NS(a),e=NS(c);if(!iu||9<=Number(mu)){h=LS(c,"borderLeftWidth");var f=LS(c,"borderRightWidth");l=LS(c,"borderTopWidth");q=LS(c,"borderBottomWidth");f=new JS(parseFloat(l),parseFloat(f),parseFloat(q),parseFloat(h))}else{var h=Sec(c,"borderLeft");f=Sec(c,"borderRight");var l=Sec(c,"borderTop"),q=Sec(c,"borderBottom");f=new JS(l,f,q,h)}c==NB(document)?(h=d.x-c.scrollLeft,d=d.y-c.scrollTop,
!iu||10<=Number(mu)||(h+=f.left,d+=f.top)):(h=d.x-e.x-f.left,d=d.y-e.y-f.top);a=Tec(a);e=c.clientHeight-a.height;f=c.scrollLeft;l=c.scrollTop;f+=Math.min(h,Math.max(h-(c.clientWidth-a.width),0));l+=Math.min(d,Math.max(d-e,0));c=new cs(f,l);b.scrollLeft=c.x;b.scrollTop=c.y},NS=function(a){var b=JB(a),c=new cs(0,0);var d=b?JB(b):document;d=!iu||9<=Number(mu)||FNb(zq(d).document_)?d.documentElement:d.body;if(a==d)return c;a=Qec(a);b=OB(zq(b).document_);c.x=a.left+b.x;c.y=a.top+b.y;return c},P9a=function(a,
b,c){if(b.document_!=c.document_){var d=b.document_.body;c=c.getWindow();var e=new cs(0,0),f=PB(JB(d));if(wCb(f,"parent")){var h=d;do{if(f==c)var l=NS(h);else l=Qec(h),l=new cs(l.left,l.top);e.x+=l.x;e.y+=l.y}while(f&&f!=c&&f!=f.parent&&(h=f.frameElement)&&(f=f.parent))}d=ds(e,NS(d));!iu||9<=Number(mu)||FNb(b.document_)||(d=ds(d,OB(b.document_)));a.left+=d.x;a.top+=d.y}},Vec=function(a,b,c){if(b instanceof HB)c=b.height,b=b.width;else if(void 0==c)throw Error("Rd");a.style.width=MS(b,!0);a.style.height=
MS(c,!0)},MS=function(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a},es=function(a){var b=Tec;if("none"!=sr(a,"display"))return b(a);var c=a.style,d=c.display,e=c.visibility,f=c.position;c.visibility="hidden";c.position="absolute";c.display="inline";a=b(a);c.display=d;c.position=f;c.visibility=e;return a},Tec=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=lu&&!b&&!c;return(void 0===b||d)&&a.getBoundingClientRect?(a=Qec(a),new HB(a.right-a.left,a.bottom-a.top)):new HB(b,c)},as=
function(a){var b=NS(a);a=es(a);return new KS(b.x,b.y,a.width,a.height)},Wec=function(a,b){a=a.style;"opacity"in a?a.opacity=b:"MozOpacity"in a?a.MozOpacity=b:"filter"in a&&(a.filter=""===b?"":"alpha(opacity="+100*Number(b)+")")},OS=function(a,b){a.style.display=b?"":"none"},PS=function(a){return"rtl"==sr(a,"direction")},Xec=ku?"MozUserSelect":lu||ju?"WebkitUserSelect":null,Yec=function(a){var b=a.getElementsByTagName("*");if(Xec){var c="none";a.style&&(a.style[Xec]=c);if(b){a=0;for(var d;d=b[a];a++)d.style&&
(d.style[Xec]=c)}}else if(iu&&(c="on",a.setAttribute("unselectable",c),b))for(a=0;d=b[a];a++)d.setAttribute("unselectable",c)},U9a=function(a,b){a=a.style;ku?a.MozBoxSizing="border-box":lu?a.WebkitBoxSizing="border-box":a.boxSizing="border-box";a.width=Math.max(b.width,0)+"px";a.height=Math.max(b.height,0)+"px"},Zec=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},$ec=function(a,b){return(b=a.currentStyle?a.currentStyle[b]:null)?Zec(a,b):0},afc=function(a){if(iu){var b=$ec(a,"marginLeft"),c=$ec(a,"marginRight"),d=$ec(a,"marginTop");a=$ec(a,"marginBottom");return new JS(d,c,a,b)}b=LS(a,"marginLeft");c=LS(a,"marginRight");d=LS(a,"marginTop");a=LS(a,"marginBottom");return new JS(parseFloat(d),parseFloat(c),parseFloat(a),parseFloat(b))},bfc={thin:2,medium:4,thick:6},Sec=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 bfc?bfc[b]:Zec(a,b)};var cfc=function(){if(zCb){var a=/Windows NT ([0-9.]+)/;return(a=a.exec(fa()))?a[1]:"0"}return Yr?(a=/1[0|1][_.][0-9_.]+/,(a=a.exec(fa()))?a[0].replace(/_/g,"."):"10"):CCb?(a=/Android\s+([^\);]+)(\)|;)/,(a=a.exec(fa()))?a[1]:""):DCb||ECb||FCb?(a=/(?:iPhone|CPU)\s+OS\s+(\S+)/,(a=a.exec(fa()))?a[1].replace(/_/g,"."):""):""}();var QS=function(a){return(a=a.exec(fa()))?a[1]:""},dfc=function(){if(PCb)return QS(/Firefox\/([0-9.]+)/);if(iu||ju||xCb)return MCb;if(TCb){if(ya()||haa()){var a=QS(/CriOS\/([0-9.]+)/);if(a)return a}return QS(/Chrome\/([0-9.]+)/)}if(UCb&&!ya())return QS(/Version\/([0-9.]+)/);if(QCb||RCb){if(a=/Version\/(\S+).*Mobile\/(\S+)/.exec(fa()))return a[1]+"."+a[2]}else if(SCb)return(a=QS(/Android\s+([0-9.]+)/))?a:QS(/Version\/([0-9.]+)/);return""}();var N9a=function(a){if(a=a.offsetParent){var b="HTML"==a.tagName||"BODY"==a.tagName;if(!b||"static"!=sr(a,"position")){var c=NS(a);if(!b){b=PS(a);var d;if(d=b){d=UCb&&0<=Aa(dfc,10);var e;if(e=GCb)e=0<=Aa(cfc,10);var f=TCb&&0<=Aa(dfc,85);d=ku||d||e||f}b=d?-a.scrollLeft:b&&!dr&&"visible"!=sr(a,"overflowX")?a.scrollWidth-a.clientWidth-a.scrollLeft:a.scrollLeft;c=ds(c,new cs(b,a.scrollTop))}}}return c||new cs},R9a=function(a,b,c,d,e,f){a=a.clone();b=b.clone();var h=0;if(d||0!=c)c&4?a.x-=b.width+(d?d.right:
0):c&2?a.x-=b.width/2:d&&(a.x+=d.left),c&1?a.y-=b.height+(d?d.bottom:0):d&&(a.y+=d.top);if(f){if(e){h=a;c=b;d=0;65==(f&65)&&(h.x<e.left||h.x>=e.right)&&(f&=-2);132==(f&132)&&(h.y<e.top||h.y>=e.bottom)&&(f&=-5);h.x<e.left&&f&1&&(h.x=e.left,d|=1);if(f&16){var 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&&f&1&&(h.x=Math.max(e.right-c.width,e.left),d|=1);f&2&&(d|=(h.x<e.left?16:0)|(h.x+c.width>
e.right?32:0));h.y<e.top&&f&4&&(h.y=e.top,d|=2);f&32&&(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&&f&4&&(h.y=Math.max(e.bottom-c.height,e.top),d|=2);f&8&&(d|=(h.y<e.top?64:0)|(h.y+c.height>e.bottom?128:0));e=d}else e=256;h=e}e=new KS(0,0,0,0);e.left=a.x;e.top=a.y;e.width=b.width;e.height=b.height;return{rect:e,status:h}},Q9a=function(a,b){return(b&8&&PS(a)?b^4:b)&-9};var Zr=function(){};Zr.instance_=void 0;Zr.getInstance=function(){return Zr.instance_?Zr.instance_:Zr.instance_=new Zr};Zr.prototype.nextId_=0;Zr.prototype.idPrefix_="";Zr.prototype.setIdPrefix=function(a){this.idPrefix_=a};var Or=function(a){return a.idPrefix_+":"+(a.nextId_++).toString(36)};var RS=function(a,b,c,d){wq.call(this);this.parent_=a||document.body;this.dom_=zq(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};gu(RS,wq);RS.prototype.getElement=function(){return this.element_};
RS.prototype.renderRows=function(a,b,c){this.token_=b;this.rows_=a;this.hilitedRow_=-1;this.startRenderingRows_=Date.now();this.target_=c;this.rowDivs_=[];efc(this)};RS.prototype.dismiss=function(){this.visible_&&(this.visible_=!1,ffc(this,!1),OS(this.element_,!1))};RS.prototype.show=function(){this.visible_||(this.visible_=!0,ffc(this,!0),OS(this.element_,!0))};
var ffc=function(a,b){a.target_&&(HM(a.target_,"haspopup",b),HM(a.element_,"expanded",b),HM(a.target_,"expanded",b),b?HM(a.target_,"owns",a.element_.id):(a.target_.removeAttribute("aria-owns"),IM(a.target_,null)))};RS.prototype.isVisible=function(){return this.visible_};
var gfc=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_&&Mec(a.rowDivs_[a.hilitedRow_],["ac-active","active"]),a.hilitedRow_=b,d&&(IS(d,["ac-active","active"]),a.target_&&IM(a.target_,d),Uec(d,a.element_)))};RS.prototype.hiliteId=function(a){if(-1==a)gfc(this,-1);else for(var b=0;b<this.rows_.length;b++)if(this.rows_[b].id==a){gfc(this,b);break}};
var hfc=function(a){if(!a.element_){var b=a.dom_.createDom("DIV",{style:"display:none"});a.element_=b;IS(b,Qj(a.className).split(" "));GM(b,"listbox");b.id=Or(Zr.getInstance());a.dom_.appendChild(a.parent_,b);xq(b,"click",a.handleClick_,!1,a);xq(b,"mousedown",a.handleMouseDown_,!1,a);xq(b,"mouseover",a.handleMouseOver_,!1,a)}},efc=function(a){hfc(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:Or(Zr.getInstance())});GM(d,"option");this.customRenderer_&&this.customRenderer_.renderRow?this.customRenderer_.renderRow(b,c,d):SB(d,b.data.toString());c&&this.useStandardHighlighting_&&(this.wasHighlightedAtLeastOnce_=!1,ifc(this,d,c));Kec(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(),Yec(a.element_))};
RS.prototype.reposition=function(){if(this.target_&&this.reposition_){var a=this.anchorElement_||this.target_;var b=this.rightAlign_?5:1;var c=this.element_,d=b^1,e=N9a(c),f=as(a),h=bs(a);h&&f.intersection(O9a(h));P9a(f,zq(a),zq(c));a=Q9a(a,b);b=f.left;a&4?b+=f.width:a&2&&(b+=f.width/2);a=new cs(b,f.top+(a&1?f.height:0));a=ds(a,e);if(f=bs(c))f.top-=e.y,f.right-=e.x,f.bottom-=e.y,f.left-=e.x;e=a.clone();a=Q9a(c,d);d=es(c);b=d.clone();e=R9a(e,b,a,null,f,65);e.status&496||(f=e.rect,gs(c,new cs(f.left,
f.top)),b=e.rect.getSize(),T9a(d,b)||U9a(c,b))}};RS.prototype.getTarget=function(){return this.target_||null};RS.prototype.disposeInternal=function(){this.element_&&(FB(this.element_,"click",this.handleClick_,!1,this),FB(this.element_,"mousedown",this.handleMouseDown_,!1,this),FB(this.element_,"mouseover",this.handleMouseOver_,!1,this),this.dom_.removeNode(this.element_),this.element_=null,this.visible_=!1);fj(this.animation_);this.parent_=null;RS.superClass_.disposeInternal.call(this)};
var ifc=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=jfc(a,c);if(0!=c.length){var e=b.nodeValue,f=new RegExp("\\b(?:"+c+")","gi");c=[];for(var h=0,l=f.exec(e),q=0;l;)q++,c.push(e.substring(h,l.index)),c.push(e.substring(l.index,f.lastIndex)),h=f.lastIndex,l=f.exec(e);c.push(e.substring(h));if(1<c.length){d=a.highlightAllTokens_?q:1;for(e=0;e<d;e++)f=2*e,b.nodeValue=c[f],h=
a.dom_.createElement("B"),h.className=a.highlightedClassName,a.dom_.appendChild(h,a.dom_.createTextNode(c[f+1])),h=b.parentNode.insertBefore(h,b.nextSibling),b.parentNode.insertBefore(a.dom_.createTextNode(""),h.nextSibling),b=h.nextSibling;c=c.slice(2*d);b.nodeValue=c.join("");a.wasHighlightedAtLeastOnce_=!0}else d&&ifc(a,b,d)}}else for(b=b.firstChild;b;)d=b.nextSibling,ifc(a,b,c),b=d},jfc=function(a,b){var c="";if(!b)return c;Array.isArray(b)&&(b=b.filter(function(d){return!Hm(Gm(d))}));a.highlightAllTokens_?
Array.isArray(b)?c=b.map(kp).join("|"):(c=DEb(b),c=kp(c),c=c.replace(/ /g,"|")):Array.isArray(b)?c=0<b.length?kp(b[0]):"":/^\W/.test(b)||(c=kp(b));return c},kfc=function(a,b){for(;b&&b!=a.element_&&!Jec(b,"ac-row");)b=b.parentNode;return b?a.rowDivs_.indexOf(b):-1};RS.prototype.handleClick_=function(a){var b=kfc(this,a.target);0<=b&&this.dispatchEvent({type:"select",row:this.rows_[b].id});a.stopPropagation()};RS.prototype.handleMouseDown_=function(a){a.stopPropagation();a.preventDefault()};
RS.prototype.handleMouseOver_=function(a){a=kfc(this,a.target);0<=a&&!(300>Date.now()-this.startRenderingRows_)&&this.dispatchEvent({type:"hilite",row:this.rows_[a].id})};var SS=function(a,b,c,d,e,f,h,l,q,u){f=f||new HS(",;",'"');h=new RS(h||null,q||this,u);h.reposition_=!0;h.className=b;h.highlightAllTokens_=!0;ES.call(this,this,h,f);this.inputHandler_=this.selectionHandler_;this.inputHandler_.ac_=this;this.contactStore_=a;this.addressBookId_=c;this.filter_=d||null;this.maxMatches_=e||15;this.ownsContactStore_=!!l};gu(SS,ES);
var mfc=function(a,b,c,d,e,f,h){b=new SS(null,b,void 0,f,c,d,e,void 0,void 0,h);vD(a);eu(lfc,null,b,!0);throw Error("Ld");},nfc=function(a,b,c,d,e,f,h){b=new SS(null,b,void 0,f,c,d,e,void 0,void 0,h);c=lfc;e=a.getClientInfo();d=(f=Tl(e,10)||Tl(a.getExperiments(),5,!0))?new qcc(void 0,occ(a)):new jS(void 0,occ(a));h=Ms(new Wbc(a,1));var l=a.getUserInfo().getEnvType()||1;var q=Bdc.get(l)||4;q=NIa("people-pa",void 0===q?0:q);l=4===l?Dk(a.getClientInfo(),2)||"":Dk(a.getClientInfo(),1)||"";var u=Dk(a.getClientInfo(),
4),x=Dk(a.getClientInfo(),5),y=Dk(a.getClientInfo(),6)||"",G=a.getClientInfo().getAffinityType()||"";var L=a.getUserInfo();L=Db(L,2);var M=a.getAuthErrorHandler(),T=zj(a.getClientInfo(),8,3E4),S=Tl(a.getClientInfo(),17,!1);h=new sdc(h,q,l,u,x,y,G,L,T,M,zj(a.getClientInfo(),13,15),zj(a.getClientInfo(),14,500),Dk(a.getClientInfo(),15,"CONTACT,PROFILE,DOMAIN_CONTACT,DOMAIN_PROFILE,AFFINITY"),Dk(a.getClientInfo(),16,"person.name,person.photo,person.email,person.phone,person.email.certificate,person.metadata"),
a.getExperiments(),S);a=new vS(h,jbc(a));h=new Jdc(a);h.configure(null,"Personal Contacts");d.addAddressBook(h,!0);f&&(a=new mS(a,null,!!Tl(e,11)),a.configure(null,"Domain Contacts"),d.addAddressBook(a,!0));c(b,!0,d);return b},lfc=function(a,b,c){b&&c.loadContactRows(Cbc,function(){});ofc(a,c)};SS.prototype.disposeInternal=function(){this.inputHandler_.dispose();this.contactStore_&&this.ownsContactStore_&&fj(this.contactStore_);SS.superClass_.disposeInternal.call(this)};
var ofc=function(a,b){a.contactStore_=b;a.ownsContactStore_=!0;a.savedQuery_&&a.savedHandler_&&(a.currentRequest_=a.contactStore_.loadContactRows(a.savedQuery_,a.savedHandler_),a.savedQuery_=null,a.savedHandler_=null)};g=SS.prototype;g.savedQuery_=null;g.savedHandler_=null;g.inputHandler_=null;g.includeGroups_=!0;g.isRowDisabled=function(a){return!!a.rowDisabled};
g.requestMatchingRows=function(a,b,c){a={token:a,maxMatches:b,includeContacts:!0,includeGroups:this.includeGroups_,matchType:1,matchFieldList:Abc,addressBookId:this.addressBookId_,filter:this.filter_,isAutoCompleteMode:!0,isContactAutoComplete:!!this.returnFullContacts,includeEvergreenData:!1};b=eu(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 LR;var d=[];this.filter_&&(d=this.filter_(d,a.token));a=fu(b,d,c,null,a);c.response_=a}};g.handleAutoCompleteContacts_=function(a,b,c,d,e){a(e.token,b)};g.renderRows=function(a,b){SS.superClass_.renderRows.call(this,a,b)};g.dismiss=function(){SS.superClass_.dismiss.call(this)};
g.renderRow=function(a,b,c){b=b={displayName:a.data.text,newSection:!!(a.data.flags&1)};a=b.displayName;b=b.newSection;(a=ls('<div class="'+ms("goog-contacts-ui-autocomplete-name-nochat")+(b?" "+ms("goog-contacts-ui-autocomplete-new-section"):"")+'">'+ns(a)+"</div>"))&&a.renderElement&&c?a.renderElement(c):(a=fJa(a),gJa(c,a))};g.selectHilited=function(){var a=FS(this,this.hiliteId_);return-1!=a&&(a=this.rows_[a],a.specialRowHandler)?(a.specialRowHandler(),!0):SS.superClass_.selectHilited.call(this)};
g.fireSelectionEvent=function(a){this.dispatchEvent(new pfc(a))};var pfc=function(a){zB.call(this,"k");this.row=a};gu(pfc,zB);fCb("createAutoComplete",function(a,b,c,d,e,f,h,l,q,u){d&&(b=b+d+"/");b=Kdc(vD(b));f&&b.loadContactRows(Cbc,function(){});c=new SS(b,c,void 0,q,e,l,u,!0);c.attachInputs(KB(document,a));return c});var TS=function(){this.eventHandler_=new Qr(this);TS.prototype.addInput=TS.prototype.addInput;TS.prototype.removeInput=TS.prototype.removeInput;TS.prototype.setTarget=TS.prototype.setTarget},qfc=function(a,b){var c=new TS;c.create(a,b);return c};g=TS.prototype;
g.create=function(a,b){a=KB(document,a);this.acWidget_=b.contactStoreConfig?nfc(b.contactStoreConfig,b.acCssName||"ac-renderer",b.maxMatches||15,b.inputHandler,a.ownerDocument.body,b.filter,b.rightAlign):mfc(b.serverBase,b.acCssName||"ac-renderer",b.maxMatches||15,b.inputHandler,a.ownerDocument.body,b.filter,b.rightAlign);"groups"in b&&(this.acWidget_.includeGroups_=b.groups);var c=b.onComplete;"function"===typeof c&&this.eventHandler_.listen(this.acWidget_,"update",function(d){d.row&&c.call(da,d.target.getTarget())});
this.addInput(a)};g.dispose=function(){cna(this.acWidget_,this.eventHandler_)};g.setTarget=function(a){this.acWidget_.setTarget(a)};g.addInput=function(a){if(Array.isArray(a))for(var b=0;b<a.length;b++)this.acWidget_.inputHandler_.attachInputs(a[b]);else this.acWidget_.inputHandler_.attachInputs(a)};g.removeInput=function(a){if(Array.isArray(a))for(var b=0;b<a.length;b++)this.acWidget_.inputHandler_.detachInputs(a[b]);else this.acWidget_.inputHandler_.detachInputs(a)};g.acWidget_=null;
da._EmailAc_create=qfc;var rfc=function(a,b){return new Dq("/",a,void 0,void 0,void 0,void 0,b)};Dq.prototype.setLocale=function(){};var sfc=function(a){this.params=a;this.pendingInputs=new Set;this.emailac=null};sfc.prototype.setTarget=function(a){this.emailac&&this.emailac.setTarget(a)};
Dq.prototype.initAutocomplete=function(a){if(this.emailAcInitialized_)throw Error("Td");this.emailAcInitialized_=!0;this.commonAcParams_=a||{};for(var b in this.acWrappers_)tfc(this,this.acWrappers_[b]);this.focusedElement_&&(a=Ua(this.focusedElement_),(a=this.inputToAcWrapper_[a])&&a.setTarget(this.focusedElement_));for(var c in this.acWrappers_)for(a=[].concat(r(this.acWrappers_[c].pendingInputs.values())),b=1;b<a.length;b++)FB(a[b],"focus",this.onTargetFocus_,!1,this)};
var tfc=function(a,b){var c=b.params;c.serverBase=a.serverBase_;c.onComplete=eu(a.onCompleteCallback_,a);c.ua=a.useApiary_;c.acd=a.apiaryClientDeferred_;c.onAuthError=a.onAuthError_;c.tg=a.testGaia_;c.contactStoreConfig=a.contactStoreConfig_;for(var d in a.commonAcParams_)c[d]=a.commonAcParams_[d];a=[].concat(r(b.pendingInputs.values()));b.emailac=qfc(a[0],c);for(c=1;c<a.length;c++)b.emailac.addInput(a[c]);b.pendingInputs.clear()};g=Dq.prototype;
g.attachAutocomplete=function(a,b,c){a=KB(document,a);var d=b||{};b=Ua(a);this.onAcCompleteListeners_[b]=c;c="";for(var e in d)c+=e+"="+d[e]+";";e=this.acWrappers_[c];e||(e=new sfc(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_?tfc(this,e):xq(a,"focus",this.onTargetFocus_,!1,this))};g.onTargetFocus_=function(a){this.focusedElement_=a.target;this.emailAcInitialized_||this.initAutocomplete()};
g.onCompleteCallback_=function(a){var b=this.onAcCompleteListeners_[Ua(a)];b&&b(a)};g.detachAutocomplete=function(a){a=KB(document,a);FB(a,"focus",this.onTargetFocus_,!1,this);var b=Ua(a);delete this.onAcCompleteListeners_[b];var c=this.inputToAcWrapper_[b];c&&(c.emailac?c.emailac.removeInput(a):c.pendingInputs.delete(a),delete this.inputToAcWrapper_[b])};g.attachAutocompleteTo=function(a,b){this.initAutocomplete(b);this.attachAutocomplete(a,b)};fCb("goog.NewContactTools",Dq);
fCb("goog.NewContactTools.create",rfc);Dq.prototype.setLocale=Dq.prototype.setLocale;Dq.prototype.attachAutocompleteTo=Dq.prototype.attachAutocompleteTo;Dq.prototype.initAutocomplete=Dq.prototype.initAutocomplete;Dq.prototype.attachAutocomplete=Dq.prototype.attachAutocomplete;Dq.prototype.detachAutocomplete=Dq.prototype.detachAutocomplete;var kJa=function(a){this.rows_=a||[]};kJa.prototype.requestMatchingRows=function(a,b,c){var d=this.rows_;var e=[];if(""!=a)for(var f=new RegExp("(^|\\W+)"+kp(a),"i"),h=0;h<d.length&&e.length<b;h++){var l=d[h];String(l).match(f)&&e.push(l)}0==e.length&&(e=ufc(a,b,d));c(a,e)};
var jJa=function(a,b,c){return ufc(b,c,a.rows_)},ufc=function(a,b,c){for(var d=[],e=0;e<c.length;e++){var f=c[e],h=a.toLowerCase(),l=String(f).toLowerCase(),q=0;if(-1!=l.indexOf(h))q=parseInt((l.indexOf(h)/4).toString(),10);else for(var u=h.split(""),x=-1,y=10,G=0,L;L=u[G];G++)L=l.indexOf(L),L>x?(x=L-x-1,x>y-5&&(x=y-5),q+=x,x=L):(q+=y,y+=5);q<6*h.length&&d.push({str:f,score:q,index:e})}d.sort(function(M,T){var S=M.score-T.score;return 0!=S?S:M.index-T.index});a=[];for(G=0;G<b&&G<d.length;G++)a.push(d[G].str);
return a};var US=function(a,b,c,d,e){var f=this;this.activeSession=c;this.firstPartyAuthHelper=e;this.contactTools=null;this.subscription=new C.Subscription;this.acReadyDeferred=Tn();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"===f.activeSession.getEnvironmentType();l&&h.config.update("googleapis.config/root-1p","https://content-googleapis-test.sandbox.google.com");
var q="0",u=/\/u\/(\d+)\//.exec(b.absUrl());u&&(q=u[1]);h.config.update("googleapis.config/sessionIndex",q);f.acReadyDeferred.resolve(void 0);f.contactTools=d.create(l,function(){dbc(f.firstPartyAuthHelper)});f.contactTools.initAutocomplete()})}};US.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()};
US.prototype.attach=function(a,b,c){var d=this,e=function(h,l){return lJa(h,l,c)},f=new C.Subscription;this.acReadyDeferred.promise.then(function(){d.contactTools&&(d.contactTools.attachAutocomplete(a,{ac2:!0,groups:!0,extendedInterface:!1,filter:e,cacheBusting:[c]},b),f.add(function(){var h;null==(h=d.contactTools)||h.detachAutocomplete(a)}))});return f};US.\u0275fac=function(a){return new (a||US)(n(EE),n(MG),n(Vt),n(VS),n(FR))};US.\u0275prov=Vc({token:US,factory:US.\u0275fac,providedIn:"root"});
var VS=function(){};VS.prototype.create=function(a,b){var c=new IR,d=c.getUserInfo();k(d,6,a?5:1);a=c.getExperiments();a=k(a,5,!0);a=k(a,1,!0);a=k(a,3,!0);k(a,2,!0);c.setAuthErrorHandler(b);return rfc("xapi",c)};VS.\u0275fac=function(a){return new (a||VS)};VS.\u0275prov=Vc({token:VS,factory:VS.\u0275fac,providedIn:"root"});var WS=function(a,b,c,d){Z.call(this);this.element=a;this.accessPolicyConverter=b;this.focusContacts=c;this.activeSession=d;this.autocompleteActive=new Rv;this.additionalContactsCallback=function(){return[]};this.$element=this.element.nativeElement};W(WS,Z);
WS.prototype.ngOnInit=function(){var a=this;this.$element.setAttribute("autocomplete","contact-autocomplete-username");this.$element.setAttribute("spellcheck","off");this.$element.setAttribute("aria-autocomplete","list");this.$element.setAttribute("role","combobox");this.$element.setAttribute("name","ac-workaround-"+Tu());if(!this.activeSession.isAnonymous()){if("SINGLE"===this.fieldType)var b=function(){a.$element.value=vfc(wfc(a.$element.value));a.autocompleteActive.emit(!1);a.$element.dispatchEvent(new Event("change"));
a.$element.dispatchEvent(new Event("input"))};else if("MULTI"===this.fieldType)b=function(){for(var d="",e=[],f=a.$element,h=m(f.value.split(",")),l=h.next();!l.done;l=h.next())d+=l.value.trim(),d.match(/^[a-z0-9@\-\._\+]+$/i)?(e.push(vfc(d)),d=""):cbc.test(d)?(e.push(d),d=""):d.match(/(".+" )?<.+>/)&&(d=vfc(wfc(d)),e.push(d),d="");f.value=e.join(", ")+", ";a.autocompleteActive.emit(!1);a.$element.dispatchEvent(new Event("change"));a.$element.dispatchEvent(new Event("input"))};else throw Error("Ud`"+
this.fieldType);var c=this.additionalContactsCallback();c=xfc(c);this.subscriptions.add(this.focusContacts.attach(this.$element,b,c))}};
var yfc=function(a){(0,C.timer)(150).pipe(dg(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)})},xfc=function(a){return a.map(function(b){return{text:b.text,getEmail:function(){return b.text},toString:function(){return b.id},getPriority:function(){}}})},wfc=function(a){var b=Math.max(0,a.lastIndexOf("<"));return a.substr(b).trim().replace(/[<>]/g,"")},vfc=function(a){a=
a.trim();","===Ba(a)&&(a=a.slice(0,-1));a=pp(a);var b=a.split("@");return 2===b.length?b[0]+"@"+b[1].toLowerCase():a};WS.\u0275fac=function(a){return new (a||WS)(A(ke),A(BR),A(US),A(Vt))};
WS.\u0275dir=qd({type:WS,selectors:[["","bContactAutocomplete",""]],hostBindings:function(a,b){a&1&&K("keydown",function(){return yfc(b)},!1,oe)("mousedown",function(){return yfc(b)})},inputs:{fieldType:["bContactAutocomplete","fieldType"],additionalContactsCallback:"additionalContactsCallback"},outputs:{autocompleteActive:"autocompleteActive"},features:[qg]});var XS=function(){};XS.\u0275fac=function(a){return new (a||XS)};XS.\u0275mod=od({type:XS});XS.\u0275inj=Wc({imports:[Mw]});var zfc=["textarea"],Afc=["hiddenInput"],Bfc=["autocompleteUnderlay"],Cfc=Symbol(),YS=function(a,b,c){Z.call(this);this.codefont=a;this.activeSession=b;this.window=c;this.textareaClass=[];this.disabled=!1;this.contentChange=new Rv;this.focus=new Rv;this.blur=new Rv;this.autoResize=new Rv;this.manualResize$=new Rv;this.autocompleteUserName="";this.scrollPosition=this.autocompleteLeft=this.autocompleteTop=0;this.taggingInProgress=!1;this.wordInfo={wordStart:0,wordEnd:0,word:""};this.textAreaLastAtSymbolLocation=
this.textAreaLastCursorLocation=0};W(YS,Z);YS.\u0275dir=Z.\u0275dir;YS.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.codefont.codefont$.subscribe(function(b){b?Eq(a).classList.add("codefont"):Eq(a).classList.remove("codefont")}))};YS.prototype.ngOnDestroy=function(){Z.prototype.ngOnDestroy.call(this);this.focus.complete();this.blur.complete();this.manualResize$.complete()};YS.prototype.setValue=function(a){Eq(this).value!==a&&(Eq(this).value=a,this.manualResize$.next())};
YS.prototype.getValue=function(){return Eq(this).value};var Eq=function(a){return a.textareaRef.nativeElement},Fq=function(a){var b;return null==(b=a.hiddenInputRef)?void 0:b.nativeElement},mJa=function(a){return a.activeSession.isInternalSession()&&"INTERNAL_AUDIENCE"===a.audience},Dfc=function(a){var b;return null==(b=a.autocompleteUnderlayRef)?void 0:b.nativeElement},Efc=function(a){var b=Eq(a).selectionStart;a.wordInfo=a.findWord(a.getValue(),b)};
YS.prototype.findWord=function(a,b){var c=a.slice(0,b).search(/(?!(.*\s))/);b+=a.slice(b).search(/(\s|$)/);a=a.slice(c,b);return{wordStart:c,wordEnd:b,word:a}};
var Ffc=function(a){return"ArrowDown"===a.key||"ArrowUp"===a.key||"Enter"===a.key||"Escape"===a.key||"Tab"===a.key},Gfc=function(a){var b=Dfc(a);a=Eq(a);b&&a&&(b.scrollTop=a.scrollTop)},nJa=function(a){a.taggingInProgress=!1;a.autocompleteUserName=""},oJa=function(a,b){b=void 0===b?!1:b;var c=Eq(a),d=Eq(a).value,e,f=null==(e=Fq(a))?void 0:e.value;e=null==f?void 0:f.length;Efc(a);var h=a.wordInfo.word,l=d.slice(0,a.textAreaLastAtSymbolLocation+1);d=h.slice(1)===f?d.slice(a.textAreaLastAtSymbolLocation+
f.length+1):d.slice(a.textAreaLastCursorLocation);e&&(a.textAreaLastCursorLocation=l.length+e);b?(b=l+f+" "+d,a.textAreaLastCursorLocation+=1):b=l+f+d;c.value=b};YS.prototype[Cfc]=function(){return this.findWord};YS.\u0275fac=function(a){return new (a||YS)(A(GO),A(Vt),A(EE))};
YS.\u0275cmp=p({type:YS,selectors:[["b-comment-draft-textarea"]],viewQuery:function(a,b){a&1&&(ih(zfc,7),ih(Afc,5),ih(Bfc,5));if(a&2){var c;hh(c=kh())&&(b.textareaRef=c.first);hh(c=kh())&&(b.hiddenInputRef=c.first);hh(c=kh())&&(b.autocompleteUnderlayRef=c.first)}},hostBindings:function(a,b){a&1&&K("click",function(){nJa(b)},!1,uea)("keyup",function(c){var d=c.key;c=c.target.classList.contains("autocomplete-hidden-input");"Escape"===d&&c&&(nJa(b),Eq(b).focus())},!1,uea)},inputs:{textareaClass:"textareaClass",
disabled:"disabled",placeholder:"placeholder",idForAriaLabel:"idForAriaLabel",audience:"audience"},outputs:{contentChange:"contentChange",focus:"focus",blur:"blur",autoResize:"autoResize"},features:[qg],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&&(E(0,
"div",0,1),K("keydown",function(c){"Escape"===c.key&&(nJa(b),Eq(b).focus())}),E(2,"textarea",2,3),K("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(mJa(b)&&Ffc(c)&&b.taggingInProgress){null==c||c.preventDefault();var d;null==(d=Fq(b))||d.focus();d=c.code;var e=c.key,f=c.keyCode,h=c.which;c=new KeyboardEvent("keydown",{charCode:c.charCode,
metaKey:c.metaKey,type:c.type,code:"Enter"===e?"Tab":d,key:"Enter"===e?"Tab":e,keyCode:"Enter"===e?9:f,which:"Enter"===e?9:h});var l;null==(l=Fq(b))||l.dispatchEvent(c)}})("keyup",function(c){if(mJa(b)){var d=Eq(b),e=null==d?void 0:d.value;b.textAreaLastCursorLocation=d.selectionStart;b.textAreaLastAtSymbolLocation=e.slice(0,b.textAreaLastCursorLocation).lastIndexOf("@");if(!Ffc(c)){c=c.target;b.scrollPosition=c.scrollTop;Efc(b);var f=b.wordInfo.word;d="@"===f;e=f.startsWith("@");var h=f.slice(f.length-
1).match(/[a-z]/i);f=Nxa.test(f.slice(1));if(d||e&&h&&!f){c=c.selectionStart;if(!b.taggingInProgress){if(d=Dfc(b)){d.textContent=b.getValue();e=Dfc(b);h=Eq(b);f="height width font-family margin line-height padding border".split(" ");if(e&&h){h=b.window.getComputedStyle(h);f=m(f);for(var l=f.next();!l.done;l=f.next()){l=l.value;var q=h.getPropertyValue(l);e.style.setProperty(l,q)}}Gfc(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 u;null==(u=Fq(b))||u.dispatchEvent(new KeyboardEvent("keydown"))}}}})("scroll",function(){return Gfc(b)}),F(),E(4,"span",4),P(5,pJa,2,1,"input",5),F(),P(6,qJa,2,0,"div",6),F());a&2&&(z(2),D("autoResize",b.manualResize$)("ngClass",
b.textareaClass)("disabled",b.disabled),ug("placeholder",b.placeholder)("id",b.idForAriaLabel),z(2),Eg("top",b.autocompleteTop+"px")("left",b.autocompleteLeft+"px"),z(1),D("ngIf",b.taggingInProgress),z(1),D("ngIf",mJa(b)))},dependencies:[ww,yw,WS,AR],encapsulation:2,changeDetection:0});var Hfc=function(a){return{"draft-markdown":a}},ZS=function(a,b,c){Z.call(this);var d=this;this.cdr=a;this.ref=b;this.events=c;this.previewDisabled=!1;this.selectedIndex=0;this.onCommentSubmitted=function(){d.matTabGroup.selectedIndex=0};this.render=function(){var e=d.matTabGroup;e._tabHeader&&e._tabHeader._alignInkBarToSelectedTab();d.cdr.markForCheck()}};W(ZS,Z);ZS.\u0275dir=Z.\u0275dir;ZS.prototype.ngOnInit=function(){this.subscriptions.add(this.events.commentSubmitted.subscribe(this.onCommentSubmitted))};
ZS.prototype.synchronizeHeight=function(a){this.ref.nativeElement.querySelector("mat-tab-group").style.height=a+56+"px"};ZS.\u0275fac=function(a){return new (a||ZS)(A(sH,2),A(ke),A(cG))};
ZS.\u0275cmp=p({type:ZS,selectors:[["b-comment-draft-tab-group"]],viewQuery:function(a,b){a&1&&ih(uN,7);if(a&2){var c;hh(c=kh())&&(b.matTabGroup=c.first)}},inputs:{editArea:"editArea",previewArea:"previewArea",previewDisabled:"previewDisabled"},features:[Ug([sH]),qg],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&&(E(0,"mat-tab-group",
0),K("animationDone",function(){setTimeout(b.render,2E3)})("selectedIndexChange",function(c){return b.selectedIndex=c}),E(1,"mat-tab",1),P(2,rJa,1,0,"ng-container",2),F(),E(3,"mat-tab",3),P(4,sJa,1,0,"ng-container",2),F()());a&2&&(D("dynamicHeight",!1)("selectedIndex",b.selectedIndex),z(2),D("ngTemplateOutlet",b.editArea),z(1),D("disabled",b.previewDisabled),z(1),D("ngTemplateOutlet",b.previewArea))},dependencies:[Dw,uN,tN],styles:["[_nghost-%COMP%]     mat-tab-header{margin-left:8px;margin-bottom:16px}\n/*# sourceMappingURL=comment_draft_tab_group.css.map */"],
changeDetection:0});var $S=function(a,b,c,d){Z.call(this);this.codefont=a;this.ngZone=b;this.prefs=c;this.hotkeys=d;this.isMarkdown$=this.prefs.lastPublishMode$.pipe(B(function(e){return e===YTb}));this.idPrefix="b-draft";this.content="";this.textareaClass=[];this.disabled=!1;this.audience="EXTERNAL_AUDIENCE";this.init=new Rv;this.contentChange=new Rv;this.focus=new Rv;this.blur=new Rv;this.autoResize=new Rv;this.onSubmit=new Rv};W($S,Z);$S.\u0275dir=Z.\u0275dir;
$S.prototype.ngOnChanges=function(){this.commentDraftTextarea&&this.commentDraftTextarea.setValue(this.content)};
$S.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 Ifc=function(a){a.ngZone.run(function(){if(a.commentDraftTabGroup){var b=a.commentDraftTabGroup;b.selectedIndex=0;b.render()}a.commentDraftTextarea&&Eq(a.commentDraftTextarea).focus()})};$S.prototype.synchronizeHeight=function(a){this.commentDraftTabGroup&&this.commentDraftTabGroup.synchronizeHeight(a.newHeight)};$S.\u0275fac=function(a){return new (a||$S)(A(GO),A(hg),A(ZI),A(JM))};
$S.\u0275cmp=p({type:$S,selectors:[["b-comment-draft"]],viewQuery:function(a,b){a&1&&(ih(YS,5),ih(ZS,5));if(a&2){var c;hh(c=kh())&&(b.commentDraftTextarea=c.first);hh(c=kh())&&(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:[qg,
Hd],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&&(E(0,"b-comment-draft-textarea",0),K("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()}),U(1,"async"),F());a&2&&D("textareaClass",b.textareaClass)("ngClass",
Xg(8,Hfc,V(1,6,b.isMarkdown$)))("disabled",b.disabled)("placeholder",b.placeholder)("idForAriaLabel",b.idForAriaLabel)("audience",b.audience)},dependencies:[ww,YS,Ew],styles:["body   [_nghost-%COMP%]     textarea{resize:none;border-color:var(--text-secondary)}body   [_nghost-%COMP%]     textarea, body   [_nghost-%COMP%]     .autocomplete-underlay{max-height:40vh;min-height:130px;margin:0;width:100%;display:block;margin-bottom:8px}body   [_nghost-%COMP%]     .comment-box-container:focus-within textarea:not(:focus){padding:4px 1px 1px 7px;border:2px solid;border-color:#1a73e8;border-color:var(--primary)}body   [_nghost-%COMP%]     .autocomplete-underlay{width:100%;height:100%;position:absolute;top:0;left:0;z-index:-2;box-sizing:border-box;visibility:hidden;overflow-y:scroll;white-space:pre-line;pointer-events:none}body   [_nghost-%COMP%]     .autocomplete-input-container{position:fixed;z-index:-1;pointer-events:none}body   [_nghost-%COMP%]     .autocomplete-hidden-input{position:fixed}body   [_nghost-%COMP%]     .autocomplete-input-container .autocomplete-hidden-input{height:18px !important;line-height:18px !important;border:0 !important;margin:0 !important;padding:0 !important;opacity:0 !important}body   [_nghost-%COMP%]     .autocomplete-input-container .autocomplete-hidden-input:focus{outline:none !important;border:0 !important;padding:0 !important}body   [_nghost-%COMP%]     textarea.codefont, body   [_nghost-%COMP%]     .draft-markdown textarea{font-family:WorkAroundWebKitAndMozilla,monospace}.good[_nghost-%COMP%]     textarea:focus{border-color:#34a853;border-color:var(--good)}.warn[_nghost-%COMP%]     textarea:focus{border-color:#fcc934;border-color:var(--warn)}.bad[_nghost-%COMP%]     textarea:focus{border-color:#ea4335;border-color:var(--bad)}\n/*# sourceMappingURL=comment_draft.css.map */"],
changeDetection:0});var Jfc=["captchaContainer"],aT=function(a,b,c,d,e){this.ngZone=a;this.window=b;this.darkmodeService=c;this.appEvents=d;this.analytics=e;this.onUpdate=new Rv;this.destroyed$=new C.ReplaySubject(1)};aT.prototype.ngOnInit=function(){var a=this;this.appEvents.recaptchaSubmitted.pipe(dg(this.destroyed$)).subscribe(function(){a.reset();a.onUpdate.emit("")})};
aT.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(Mp.RECAPTCHA_TOKEN,"create")})},"expired-callback":function(){a.ngZone.run(function(){a.onUpdate.emit("");a.analytics.trackEvent(Mp.RECAPTCHA_TOKEN,
"expire")})},theme:d?"dark":"light"})})};aT.prototype.ngOnDestroy=function(){this.reset();this.destroyed$.next()};aT.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)})}};aT.\u0275fac=function(a){return new (a||aT)(A(hg),A(EE),A(qQ),A(cG),A(wH))};
aT.\u0275cmp=p({type:aT,selectors:[["b-recaptcha"]],viewQuery:function(a,b){a&1&&ih(Jfc,5);if(a&2){var c;hh(c=kh())&&(b.captchaContainer=c.first)}},outputs:{onUpdate:"onUpdate"},decls:2,vars:0,consts:[["captchaContainer",""]],template:function(a){a&1&&H(0,"div",null,0)},encapsulation:2});var bT=function(a){this.matDialog=a};bT.prototype.show=function(a,b,c){this.dialog=this.matDialog.open(cT,{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,C.firstValueFrom)(DA(this.dialog))};bT.\u0275fac=function(a){return new (a||bT)(n(IA))};bT.\u0275prov=Vc({token:bT,factory:bT.\u0275fac,providedIn:"root"});
var cT=function(a,b,c,d,e){Z.call(this);var f=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=DE(this.activeSession,"enableRecaptcha");this.recaptchaResponse="";this.newComment=Object.assign({},this.origComment);this.subscriptions.add(gQ(e,
function(){return f.isModified()},!1))};W(cT,Z);cT.\u0275dir=Z.\u0275dir;g=cT.prototype;g.ngOnInit=function(){var a=this;this.dialogRef.keydownEvents().pipe(dg(this.destroyed$)).subscribe(function(b){"Escape"===b.key&&a.closeIfUnmodified()});this.dialogRef.backdropClick().pipe(dg(this.destroyed$)).subscribe(function(){a.closeIfUnmodified()})};g.closeIfUnmodified=function(){if(!this.isModified()){var a;null==(a=this.dialogService.dialog)||a.close()}};
g.isCaptchaValid=function(){return!this.enableRecaptcha||""!==this.recaptchaResponse};g.isModified=function(){return!Fj(this.newComment,this.origComment)};g.closeDialogForSave=function(){if(this.isModified()){this.enableRecaptcha&&(this.newComment.recaptchaToken=this.recaptchaResponse);var a;null==(a=this.dialogService.dialog)||a.close(this.newComment)}};cT.\u0275fac=function(a){return new (a||cT)(A(Vt),A(HA),A(bT),A(FA),A(fQ))};
cT.\u0275cmp=p({type:cT,selectors:[["ng-component"]],features:[qg],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&&(E(0,"h1",0),Q(1),F(),E(2,"section",1)(3,"p",2),Q(4," Editing comments will not permanently remove old ones from database history. "),H(5,"br"),Q(6," For deletion of PII or other sensitive content, please "),E(7,"a",3),Q(8," file a support request."),F()(),E(9,"b-comment-draft",4),K("contentChange",function(c){return b.newComment.text=c})("onSubmit",function(){return b.closeDialogForSave()}),
F(),E(10,"b-markdown-toggle",5),K("change",function(c){return b.newComment.formattingMode=c}),F(),P(11,tJa,1,4,"b-live-preview",6),F(),P(12,uJa,3,0,"section",7),E(13,"footer",8)(14,"button",9),Q(15," Cancel "),F(),E(16,"button",10),K("click",function(){return b.closeDialogForSave()}),Q(17," Save "),F()());a&2&&(z(1),Tg("Editing Comment #",b.origComment.id," of Issue ",b.origComment.issueId,""),z(6),D("href",b.contentRemovalRequestLink,Ie),z(2),D("content",b.newComment.text)("audience",b.origComment.audience),
z(1),Fg("margin-bottom",(null==b.newComment?null:b.newComment.formattingMode)!==b.MARKDOWN),D("initialValue",b.origComment.formattingMode),z(1),D("ngIf",(null==b.newComment?null:b.newComment.formattingMode)===b.MARKDOWN),z(1),D("ngIf",b.enableRecaptcha),z(2),D("mat-dialog-close",void 0),z(2),D("disabled",!b.isModified()||!b.isCaptchaValid()))},dependencies:[JA,KA,LA,MA,yw,tA,$O,ZO,$S,aT],styles:[".recaptcha-container[_ngcontent-%COMP%]{float:right;padding-top:8px}\n/*# sourceMappingURL=edit_comment_dialog.css.map */"],
changeDetection:0});var dT=function(a,b,c,d,e,f,h,l,q,u,x,y,G,L,M,T,S,X,aa,na,ma,Ca,Fa){this.editIssueService=a;this.butterBar=b;this.issuePermissionService=c;this.issueCommentService=d;this.editCommentDialogService=e;this.issueFridge=f;this.matDialogService=h;this.paths=l;this.analytics=q;this.domSafe=u;this.confirmationDialogService=x;this.issueComments=y;this.errorHandler=G;this.issueFetchResponseFridge=L;this.eventsForIssueFridge=M;this.componentFridge=T;this.commentFormatter=S;this.confirmNoAccessService=X;this.activeSession=
aa;this.appEvents=na;this.issuePicker=ma;this.eventsForIssueWatcher=Ca;this.issueInteractionsTracking=Fa},$tb=function(a,b,c){var d,e,f,h;return of(function(l){if(1==l.nextAddress){d=a.editIssueService.savingState(b);if(d.get("commentEdit"))return l.return();a.butterBar.dismiss();f=null!=(e=a.issuePermissionService.audience())?e:"EXTERNAL_AUDIENCE";return l.yield(a.editCommentDialogService.show(b,f,c),2)}h=l.yieldResult;if(null==h)return l.return();L9b(a.issueCommentService,{issueId:b,newCommentId:h.id,
newComment:h.text,newCommentFormattingMode:h.formattingMode,recaptchaToken:h.recaptchaToken});tf(l)})},Lfc=function(a,b,c){var d,e,f;return of(function(h){if(1==h.nextAddress)return c?h.yield(Kfc(a,b),2):h.return();if(3!=h.nextAddress)return d={title:"Choose target issue",defaultChoices:h.yieldResult,allowMultipleIds:!1,currentResource:{id:b,type:"issue"},edgeType:"copyComment"},h.yield(a.issuePicker.open(d),3);e=h.yieldResult;if(null==(f=e)?0:f.length){var l=a.paths.editIssue(e[0],{template_issue:b,
template_comment:c,do_attribution:!0});a.analytics.trackEvent(Mp.EDIT_ISSUE,"copyComment");a.domSafe.openInNewTab(l)}tf(h)})},Kfc=function(a,b){function c(X){return y.get(X)}var d,e,f,h,l,q,u,x,y,G,L,M,T,S;return of(function(X){if(1==X.nextAddress)return X.yield((0,C.firstValueFrom)(a.issueFridge.watch(b)),2);if(3!=X.nextAddress){d=X.yieldResult;if(!d)return X.return([]);f=null!=(e=d.snapshot[0].duplicateIssueId)?e:[];l=null!=(h=d.snapshot[0].blockingIssueId)?h:[];u=null!=(q=d.snapshot[0].blockedByIssueId)?
q:[];return X.yield((0,C.firstValueFrom)(a.issueFridge.watchSet(wn([].concat(r(f),r(l),r(u))))),3)}x=X.yieldResult;y=new Map(x.map(function(aa){return[aa.issueId,aa]}));G=u.map(c).filter(nk).map(vJa("BLOCKED_BY"));L=l.map(c).filter(nk).map(vJa("BLOCKING"));M=f.map(c).filter(nk).map(vJa("DUPLICATE"));T=[].concat(r(G),r(L),r(M));S=wJa(T);return X.return(S)})},Nfc=function(a,b,c){var d;return of(function(e){return 1==e.nextAddress?c?e.yield(d0b(a.confirmationDialogService,{title:"Restore comment # "+
c+"?",content:jp("Are you sure you want to restore this comment?")}),2):e.return():(d=e.yieldResult)?e.yield(Mfc(a,b,c),0):e.return()})},Mfc=function(a,b,c){var d,e;return of(function(f){switch(f.nextAddress){case 1:d=a.editIssueService.savingState(b);if(d.get("commentUndelete"))return f.return();WF(a.butterBar,"Restoring comment...",0);pf(f,2,3);ZJ(d,"commentUndelete");return f.yield(a.issueComments.undelete(b,c),5);case 5:WF(a.butterBar,"Comment restored successfully.");case 3:qf(f);$J(d,"commentUndelete");
GH(a.issueFetchResponseFridge,b);a.eventsForIssueFridge.poke(b);rf(f,0);break;case 2:e=sf(f),WF(a.butterBar,"Comment restoration failed."),aG(a.errorHandler,e),f.jumpTo(3)}})},Qfc=function(a,b,c,d){var e,f,h,l;return of(function(q){if(1==q.nextAddress){if(!c)return q.return();e=a.editIssueService.savingState(b);return e.get("commentDelete")?q.return():q.yield(Ofc(a,b),2)}return 3!=q.nextAddress?(f=q.yieldResult,a.butterBar.dismiss(),q.yield((0,C.firstValueFrom)(DA(a.matDialogService.open(KQ,{width:"560px",
data:{commentNumber:c,issueId:b,deletionReasons:f}}))),3)):(h=q.yieldResult)?q.yield(Pfc(a,b,c,h.value,null!=(l=d)?l:""),0):q.jumpTo(0)})},Pfc=function(a,b,c,d,e){var f,h;return of(function(l){switch(l.nextAddress){case 1:f=a.editIssueService.savingState(b);if(f.get("commentDelete"))return l.return();pf(l,2,3);WF(a.butterBar,"Deleting comment...",0);ZJ(f,"commentDelete");return l.yield(a.issueComments.delete(b,c,d,e),5);case 5:WF(a.butterBar,"Comment deleted. Deleted items may be restored within 30 days."),
a.eventsForIssueFridge.poke(b);case 3:qf(l);$J(f,"commentDelete");GH(a.issueFetchResponseFridge,b);rf(l,0);break;case 2:h=sf(l),WF(a.butterBar,"Comment deletion failed."),aG(a.errorHandler,h),l.jumpTo(3)}})},Ofc=function(a,b){var c,d,e,f,h,l,q,u;return of(function(x){switch(x.nextAddress){case 1:return x.yield((0,C.firstValueFrom)(a.issueFridge.watch(b,{trustUncertainMemory:!0})),2);case 2:c=x.yieldResult;e=(null==(d=c)?void 0:d.snapshot[0].componentId)||void 0;if(!e){f=void 0;x.jumpTo(3);break}return x.yield((0,C.firstValueFrom)(a.componentFridge.watch(e)),
4);case 4:f=x.yieldResult;case 3:return h=f,l=new abc("Other","USER_REQUEST"),h&&"DISABLED"!==h.commentEditState||(l.enabled=!1,l.disabledReason="comment editing must be enabled"),q=new abc("Spam or Abuse","ABUSE"),"EXTERNAL_PUBLIC"!==a.issuePermissionService.accessLevel()&&(q.enabled=!1,q.disabledReason="available on Public components"),u=new abc("Personally Identifiable Information","PII"),x.return([u,q,l])}})},Rfc=function(a,b,c){var d,e;return of(function(f){if(1==f.nextAddress)return d=IJ(a.issuePermissionService,
ck(c.userPerformingActionUser)),a.analytics.trackEvent(Mp.RESTRICTED_CONTENT,"updateContentJudgement","comment"),f.yield(a.showContentJudgementDialog({severity:zk(Ak(c.commentContentVerdict)),resourcePath:"issues/"+b+"/comments/"+c.commentNumber,hasAclToCreate:a.issuePermissionService.hasAclToAdmin()||d}),2);if(e=f.yieldResult)c.commentContentVerdict={piiVerdict:{severity:yk(e.contentJudgement.getSeverity())}},GH(a.issueFetchResponseFridge,b),a.eventsForIssueFridge.poke(b),DH(a.issueFridge,[b],{markRead:!0});
tf(f)})};dT.prototype.showContentJudgementDialog=function(a){return(0,C.firstValueFrom)(DA(this.matDialogService.open(QQ,{panelClass:"no-jitter",width:"500px",data:a})))};
var Sfc=function(a,b,c){var d;return of(function(e){if(1==e.nextAddress)return e.yield((0,C.firstValueFrom)(DA(a.matDialogService.open(RQ,{width:"500px",data:{resource:b,piiRetention:c}}))),2);d=e.yieldResult;return e.return(1===d)})},Tfc=function(a,b,c,d){var e;of(function(f){if(1==f.nextAddress){if(null==d)return f.return();a.analytics.trackEvent(Mp.RESTRICTED_CONTENT,"updateContentJudgement","attachment");return f.yield(a.showContentJudgementDialog({severity:zk(Ak(d.contentVerdict)),resourcePath:"issues/"+
b+"/attachments/"+d.attachmentId,hasAclToCreate:a.issuePermissionService.hasAclToAdmin()||c}),2)}if(e=f.yieldResult)d.contentVerdict={piiVerdict:{severity:yk(e.contentJudgement.getSeverity())}},GH(a.issueFetchResponseFridge,b),a.eventsForIssueFridge.poke(b),DH(a.issueFridge,[b],{markRead:!0});tf(f)})};
dT.prototype.showDeleteAttachmentDialog=function(a,b){var c=this,d,e,f,h,l,q,u;of(function(x){if(1==x.nextAddress){d=c.editIssueService.savingState(a);if(d.get("deleteAttachment")||!b.attachmentId)return x.return();e=C;f=e.firstValueFrom;h=c.matDialogService;l=h.open;q=JQ;return x.yield(Ofc(c,a),3)}return 2!=x.nextAddress?x.yield(f.call(e,DA(l.call(h,q,{width:"560px",data:{deletionReasons:x.yieldResult,attachmentId:b.attachmentId}}))),2):(u=x.yieldResult)?x.yield(D1b(c.editIssueService,a,b,u.value),
0):x.jumpTo(0)})};
var Ufc=function(a,b){var c=b.issueId,d=b.componentId,e=b.comment,f,h,l;return of(function(q){if(1==q.nextAddress){if("INTERNAL"!==a.issuePermissionService.accessLevel()||a.issuePermissionService.showImplicitAccessIndicator())return q.return(!0);pf(q,2);return q.yield((0,C.firstValueFrom)(l7b(a.commentFormatter,{comment:e.value,issueId:c,audience:null!=(f=a.issuePermissionService.audience())?f:"EXTERNAL_AUDIENCE",formattingMode:e.formattingMode,idPrefix:"b"+c+"-draft"})),4)}if(2!=q.nextAddress)return h=
q.yieldResult,q.return(uJ(a.confirmNoAccessService,{componentId:d,userEmails:h,relation:"reader",analyticsEventLabel:"mention"}));l=sf(q);aG(a.errorHandler,l);return q.return(!1)})},Vfc=function(a,b){b=void 0===b?"comment":b;var c,d;return of(function(e){if((c=a.issuePermissionService.accessLevel())&&"INTERNAL"===c||a.issuePermissionService.hasAclToEdit()||a.activeSession.isInternalSession()||hUb(a.activeSession))return e.return(!0);switch(b){case "comment":d=jp("Commenting on this bug report means your email address will be shared with the team that works on this product.");
break;case "reaction":d=jp("Reacting to this comment means your email address will be shared with the team that works on this product.");break;default:jj(b)}return e.return(d0b(a.confirmationDialogService,{title:"",content:d}))})};
dT.prototype.submitCommentBox=function(a,b){var c=this,d,e,f,h,l,q;return of(function(u){if(1==u.nextAddress){d=c.editIssueService.issueCommentDraft(a).comment();e=c.editIssueService.savingState(a);f=c.editIssueService.editableIssue(a);if(!c.issuePermissionService.hasAclToComment()||!V0b(d)||e.get("comment"))return u.return();ZJ(e,"comment");h=function(){$J(e,"comment")};return u.yield(Ufc(c,{issueId:a,componentId:String(f.componentId),comment:d}),2)}if(3!=u.nextAddress)return l=u.yieldResult,l?u.yield(Vfc(c),
3):(h(),u.return());q=u.yieldResult;if(!q)return h(),u.return();c.analytics.trackEvent(Mp.EDIT_ISSUE,"addComment","MARKDOWN"===d.formattingMode?"markdown":"non markdown");GJ(c.issueInteractionsTracking,a);c.eventsForIssueWatcher.isPaused=!0;return u.return(c.editIssueService.FOR_ISSUE_COMMENT_DIALOGS_SERVICE_ONLY.saveCommentDraft(a,b).finally(function(){h();c.appEvents.commentSubmitted.next(a);c.appEvents.scrollToCommentBox.next()}))})};
dT.prototype.showNewContentJudgementDialog=function(a){var b=this,c,d,e,f,h,l;return of(function(q){if(1==q.nextAddress)return c=b.editIssueService.issueCommentDraft(a),d=c.judgementForNewContent(),h=null!=(f=null==(e=d)?void 0:e.getSeverity())?f:1,q.yield(b.showContentJudgementDialog({severity:h,contentJudgement:d,hasAclToCreate:!0}),2);(l=q.yieldResult)&&c.userDefinedJudgementForNewContent$.next(l.contentJudgement);tf(q)})};
dT.prototype.updateCommentReaction=function(a){var b=this,c;return of(function(d){return 1==d.nextAddress?a.hasReacted?d.yield(Vfc(b,"reaction"),3):d.jumpTo(2):2==d.nextAddress||(c=d.yieldResult,c)?d.return(b.issueComments.updateCommentReaction(a)):d.return(void 0)})};dT.\u0275fac=function(a){return new (a||dT)(n(bK),n(VF),n(JJ),n(SQ),n(bT),n(BH),n(IA),n(NG),n(wH),n(PK),n(UI),n($H),n(ZF),n(EH),n(sF),n(xF),n(YO),n(tJ),n(Vt),n(cG),n(SP),n(zR),n(FJ))};
dT.\u0275prov=Vc({token:dT,factory:dT.\u0275fac,providedIn:"root"});var eT=function(a,b,c){this.editIssueService=a;this.issuePicker=b;this.analytics=c},Wfc=function(a,b){var c,d,e,f,h,l,q;return of(function(u){if(1==u.nextAddress)return b=String(b),c=a.editIssueService.editableIssue(b),d=c.status,c.setStatus("DUPLICATE"),e={title:"Mark issue as duplicate of:",currentResource:{id:b,type:"issue"},componentId:c.componentId,allowMultipleIds:!1,edgeType:"canonical"},f=(new Date).getTime(),u.yield(a.issuePicker.open(e),2);h=u.yieldResult;if(null==(l=h)||!l.length)return c.status=
d,u.return();q=(new Date).getTime()-f;a.analytics.trackEvent(Mp.ISSUE_PICKER,"duplicate duration","<"+Math.min(2*Math.ceil(q/2E3),600)+"s",q);a.analytics.trackEvent(Mp.EDIT_ISSUE,"setCanonicalIssue");return u.return(v1b(a.editIssueService,b,h[0]))})};eT.\u0275fac=function(a){return new (a||eT)(n(bK),n(SP),n(wH))};eT.\u0275prov=Vc({token:eT,factory:eT.\u0275fac,providedIn:"root"});var fT=function(a,b,c,d,e,f,h,l,q,u,x,y,G,L,M,T){Z.call(this);this.activeSession=a;this.documentationLinks=b;this.domSafe=c;this.matDialogService=d;this.attachmentService=e;this.cdr=f;this.differs=h;this.paths=l;this.userAccess=q;this.butterBar=u;this.errorHandler=x;this.analytics=y;this.issueCommentDialogsService=G;this.issuePermissionService=L;this.editIssueService=M;this.routeParams=T;this.isInternalSession=this.activeSession.isInternalSession();this.hasViewAccess=!1;this.actionMenuItems=[];this.attachmentRetentionSaveInProgress=
!1};W(fT,Z);fT.\u0275dir=Z.\u0275dir;fT.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;Xfc(this);Yfc(this)};fT.prototype.ngDoCheck=function(){this.attachmentDiffer&&this.attachmentDiffer.diff(this.attachment)&&(Xfc(this),this.cdr.markForCheck())};
fT.prototype.ngOnChanges=function(a){this.setHasViewAccess();a.attachment&&this.attachment&&(this.attachmentDiffer=this.differs.find(this.attachment).create())};
var Xfc=function(a){a.actionMenuItems=[];Zfc(a)&&a.actionMenuItems.push({type:"action",action:function(){a.showDeleteAttachmentDialog()},label:"Delete attachment..."});$fc(a)&&a.actionMenuItems.push({type:"action",action:function(){C1b(a.editIssueService,a.issueId,a.attachment)},label:"Restore attachment"});a.isInternalSession&&a.actionMenuItems.push({type:"action",action:function(){Tfc(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;Sfc(a.issueCommentDialogsService,"attachment",c).then(function(d){d&&agc(a,c)})},label:b?"Match issue retention...":"Revert to component retention..."})}};
fT.prototype.setHasViewAccess=function(){var a=this;this.isRestricted()?null==this.attachment?this.hasViewAccess=!1:(this.hasViewAccess=!1,JF(this.userAccess,"reader","issues/"+this.issueId+"/attachments/"+this.attachment.attachmentId).then(function(b){a.hasViewAccess=b;a.cdr.detectChanges()})):this.hasViewAccess=!0};fT.prototype.getFilename=function(){var a;return(null==(a=this.attachment)?void 0:a.filename)||""};
fT.prototype.getSize=function(){var a;return(null==(a=this.attachment)?void 0:a.length)||0};var AJa=function(a,b){b=void 0===b?!0:b;var c;if(null==(c=a.attachment)||!c.attachmentId)throw Error("Vd");c=a.paths.getAttachmentAction(a.issueId,a.attachment.attachmentId);a=a.paths.getBaseUrl()+"/"+c;return aC(a,"download",b)};fT.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)};
fT.prototype.isRestricted=function(){return"NONE_DETECTED"!==this.getPiiSeverity()};fT.prototype.getPiiSeverity=function(){var a;return Ak(null==(a=this.attachment)?void 0:a.contentVerdict)};fT.prototype.getRestrictedLabel=function(){return poa(this.getPiiSeverity())};
var BJa=function(a){return(a=a.getPiiSeverity())?"bv2-restricted-content-limit-"+ooa(a):""},zJa=function(a,b){a.analytics.trackEvent(Mp.RESTRICTED_CONTENT,"viewRestrictedContent","attachment");a.matDialogService.open(AQ,{width:"400px",data:{attachment:a.attachment,issueId:a.issueId,download:b}})},Zfc=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()||IJ(b,a)?
!0:!1:!1:!1}else b=!1;return b},$fc=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()||IJ(b,a)?!0:!1:!1:!1}else b=!1;return b};fT.prototype.showDeleteAttachmentDialog=function(){var a;null!=(a=this.attachment)&&a.attachmentId&&this.issueCommentDialogsService.showDeleteAttachmentDialog(this.issueId,this.attachment)};
var agc=function(a,b){var c;null!=(c=a.attachment)&&c.attachmentId?(a.analytics.trackEvent(Mp.RESTRICTED_CONTENT,"updateRetention","attachment"),a.attachmentRetentionSaveInProgress=!0,a.attachmentService.updateRetention(a.issueId,a.attachment.attachmentId||0,b).pipe(dg(a.destroyed$)).subscribe({next:function(d){a.attachmentRetentionSaveInProgress=!1;a.attachment&&(a.attachment.piiRetention=d.piiRetention,a.attachment.piiRetentionState=d.piiRetentionState);WF(a.butterBar,"Attachment retention updated",
4E3);a.attachmentRetentionOverride=2===b?"INDEFINITE":"COMPONENT_DEFAULT";Xfc(a);a.cdr.detectChanges()},error:function(){a.attachmentRetentionSaveInProgress=!1;$F(a.errorHandler,"Attachment retention update failed")}})):$F(a.errorHandler,"Attachment id is missing")},Yfc=function(a){var b,c,d;of(function(e){(b=Number(a.routeParams.downloadAttachment))&&b===(null==(c=a.attachment)?void 0:c.attachmentId)&&(d="true"===a.routeParams.download,zJa(a,d));tf(e)})};
fT.\u0275fac=function(a){return new (a||fT)(A(Vt),A(SI),A(PK),A(IA),A(BQ),A(sH,2),A(uw),A(NG),A(IF),A(VF),A(ZF),A(wH),A(dT),A(JJ),A(bK),A(yJ))};
fT.\u0275cmp=p({type:fT,selectors:[["b-attachment-viewer"]],inputs:{attachment:"attachment",issueId:"issueId",attachmentUploader:"attachmentUploader"},features:[Ug([sH]),qg,Hd],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&&(E(0,"div",0),H(1,"b-icon",1),F(),E(2,"div")(3,"div",2),Q(4),E(5,"span",3),P(6,xJa,1,3,"b-restricted-chip",4),P(7,yJa,2,3,"span",5),F()(),E(8,"div"),Q(9),P(10,CJa,2,8,"span",6),P(11,DJa,2,8,"span",6),E(12,"xap-bubble",7),P(13,EJa,3,3,"span",8),P(14,FJa,4,1,"ng-template",null,9,qh),F()()());if(a&2){var c=O(15);z(4);R(" ",b.getFilename()," ");z(2);D("ngIf",b.isRestricted());
z(1);D("ngIf",0<b.actionMenuItems.length);z(2);R(" ",Zxa(b.getSize())," ");z(1);var d;a=b.isActive()&&Sna(null==(d=b.attachment)?void 0:d.contentType);D("ngIf",a);z(1);D("ngIf",b.isActive());z(1);D("panelTemplate",c);z(1);D("ngIf",b.isRestricted()&&!b.hasViewAccess)}},dependencies:[yw,tL,CQ,GN,uA,jB,NC,DQ,pP],encapsulation:2,changeDetection:0});var gT=function(a,b,c){this.dialogRef=a;this.documentationLinks=b;this.data=c;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc"};gT.prototype.onNoClick=function(){this.dialogRef.close(!1)};gT.\u0275fac=function(a){return new (a||gT)(A(FA),A(SI),A(HA))};
gT.\u0275cmp=p({type:gT,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&&(E(0,"h1",0),Q(1),F(),E(2,"div",1)(3,"p"),Q(4),E(5,"a",2),Q(6," Learn More "),F()()(),E(7,"div",3)(8,"button",4),K("click",function(){return b.onNoClick()}),Q(9," Cancel "),F(),E(10,"button",5),Q(11," Confirm "),F()());a&2&&(z(1),Sg(b.data.title),z(3),R(" ",b.data.content," "),z(1),D("rel",b.EXTERNAL_LINK_REL),ug("href",b.documentationLinks.getRestrictedAccessHelpLink(),Ie),z(5),D("mat-dialog-close",!0))},dependencies:[tA,JA,KA,LA,MA],encapsulation:2});var hT=function(a,b){this.dialog=a;this.documentationLinks=b;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.disabled=!1;this.onConfirm=new Rv};
hT.prototype.openDialog=function(){var a=this;DA(this.dialog.open(gT,{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()})};hT.\u0275fac=function(a){return new (a||hT)(A(IA),A(SI))};
hT.\u0275cmp=p({type:hT,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&&(E(0,"span")(1,"button",0),K("click",function(){return b.openDialog()}),Q(2," Show Restricted Content "),F(),E(3,"a",1),Q(4,
" Learn More "),F()());a&2&&(z(1),D("disabled",b.disabled),z(2),D("rel",b.EXTERNAL_LINK_REL),ug("href",b.documentationLinks.getRestrictedAccessHelpLink(),Ie))},dependencies:[tA],styles:[".mat-stroked-button[_ngcontent-%COMP%]{margin-right:1em}\n/*# sourceMappingURL=restricted_comment_placeholder.css.map */"],changeDetection:0});var iT=function(){};iT.\u0275fac=function(a){return new (a||iT)};iT.\u0275mod=od({type:iT});iT.\u0275inj=Wc({imports:[GC,Mw,OC,YC,ID]});var bgc=["commentActionsMenu"],cgc=["editDescription"],$Ja=function(){return[]},jT=function(a,b,c,d,e,f,h,l,q,u,x,y,G,L,M){Z.call(this);var T=this;this.eventsForIssue=a;this.userPreferencesManager=b;this.issueFridge=c;this.issueReferenceResolver=d;this.activeSession=e;this.commentService=f;this.errorHandler=h;this.analytics=l;this.butterBar=q;this.userAccess=u;this.issueCommentDialogsService=x;this.issuePermissionService=y;this.commentHistoryDialogService=G;this.dateFormatter=L;this.issueFetchResponseFridge=
M;this.id$=new C.ReplaySubject(1);this.accessLevel$=this.id$.pipe(cg(this.issueFridge.watch),B(function(S){var X;return null==S?void 0:null==(X=S.accessLimit)?void 0:X.accessLevel}));this.firstEvent$=new C.ReplaySubject(1);this.firstNote$=this.firstEvent$.pipe(B(function(S){return S}));this.commentActionMenuItems$=new C.BehaviorSubject([]);this.isFormattingOverrideEnabled=!1;this.formattingMode="PLAIN";this.formattingMode$=Yo(this.firstEvent$.pipe(Gf(nk),B(function(S){return S.formattingMode})),"PLAIN");
this.isRedacted$=this.firstEvent$.pipe(Gf(nk),B(function(S){return S.commentRedacted}));this.isDeleted$=this.firstEvent$.pipe(Gf(nk),B(function(S){return"DELETED"===S.commentDeletionStatus}));this.shouldShowRestrictedPlaceholder$=(0,C.combineLatest)([this.isRedacted$,this.isDeleted$]).pipe(B(function(S){var X=m(S);S=X.next().value;X=X.next().value;return!(!S||X)}));this.isRestricted$=this.firstEvent$.pipe(Gf(nk),B(function(S){return Ak(S.commentContentVerdict)}),B(function(S){if(!T.isInternalSession)return!1;
switch(S){case "NONE_DETECTED":case "PII_SEVERITY_UNSPECIFIED":return!1;case "PII":case "SPII":return!0;default:jj(S)}}));this.commentRetentionOverride$=this.firstEvent$.pipe(Gf(nk),B(function(S){return S.commentRetention}));this.commentHistoryEnabled=DE(this.activeSession,"enableCommentHistoryUi");this.isShowCommentHistoryActionInMenu$=(0,C.combineLatest)([this.firstEvent$,this.isRedacted$]).pipe(B(function(S){var X=m(S);S=X.next().value;X=X.next().value;return!(!(DE(T.activeSession,"enableCommentHistoryUi")&&
0<((null==S?void 0:S.commentVersion)||0))||X)}));this.canEditComment$=this.firstEvent$.pipe(cg(function(S){return S?T.issuePermissionService.canEditComment$(S):(0,C.of)(!1)}),$f({refCount:!0,bufferSize:1}));this.canEditComment=function(){return!!Zo(T.canEditComment$)};this.isInternalSession=this.activeSession.isInternalSession();this.mayReadPii$=this.isRestricted$.pipe(cg(function(S){return S?T.mayReadPii():(0,C.of)(void 0)}));this.reporterUser$=this.id$.pipe(cg(function(S){return T.issueFridge.watch(S)}),
B(function(S){var X;return null==S?void 0:null==(X=S.snapshot[0])?void 0:X.reporterUser}));this.reporterUserEmailAddress$=this.reporterUser$.pipe(B(cKa));this.firstEventReporterEmail$=this.firstEvent$.pipe(B(function(S){S=m((null==S?void 0:S.postDiffs)||[]);for(var X=S.next();!X.done;X=S.next())if(X=X.value,"reporter"===X.name)return X.newValue||"";return""}));this.onBehalfOfEmail$=(0,C.combineLatest)([this.firstEventReporterEmail$,this.reporterUserEmailAddress$]).pipe(B(function(S){var X=m(S);S=
X.next().value;X=X.next().value;return S||X}));this.isAuthorNotReporter$=(0,C.combineLatest)([this.onBehalfOfEmail$,this.firstEvent$]).pipe(B(function(S){var X=m(S);S=X.next().value;X=X.next().value;return S!==cKa(null==X?void 0:X.userPerformingActionUser)}))};W(jT,Z);jT.\u0275dir=Z.\u0275dir;jT.prototype.mayReadPii=function(){var a=this;return this.id$.pipe(cg(function(b){return(0,C.defer)(function(){return JF(a.userAccess,"reader","issues/"+b+"/comments/1").catch(function(c){sj("error: ",c);return!1})})}))};
jT.prototype.ngOnInit=function(){var a=this;dgc(this,"PLAIN");this.id$.pipe(cg(this.issueFetchResponseFridge.watch),B(function(b){return null==b?void 0:b.firstEvent}),dg(this.destroyed$)).subscribe(function(b){a.firstEvent$.next(b)});this.canEditComment$.pipe(dg(this.destroyed$)).subscribe(function(){a.initializeActionsMenu()});this.userPreferencesManager.textDisplayPreferencesSubject$.pipe(dg(this.destroyed$)).subscribe(function(b){a.isFormattingOverrideEnabled=null!=b.commentDisplayOverride;a.initializeActionsMenu()});
this.formattingMode$.pipe(dg(this.destroyed$)).subscribe(function(b){a.formattingMode=null!=b?b:"PLAIN";dgc(a,null!=b?b:"PLAIN")});this.issuePermissionService.canChangeCommentRetention$.pipe(dg(this.destroyed$)).subscribe(function(){a.initializeActionsMenu()})};
jT.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=Zo(this.firstEvent$);this.canEditComment()&&c&&b.push({type:"action",action:function(){$tb(a.issueCommentDialogsService,a.id,c).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Edit description...",disabled:Zo(this.isRedacted$)});
Zo(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&&i1b(this.issuePermissionService,c)&&b.push({type:"action",action:function(){c.commentEtag&&Qfc(a.issueCommentDialogsService,a.id,1,c.commentEtag).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Delete description"});c&&h1b(this.issuePermissionService,
c)&&b.push({type:"action",action:function(){Nfc(a.issueCommentDialogsService,a.id,1).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Restore description"});this.isInternalSession&&c&&b.push({type:"action",action:function(){Rfc(a.issueCommentDialogsService,a.id,c).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Restriction settings..."});if(this.isInternalSession&&Zo(this.isRestricted$)&&this.issuePermissionService.canChangeCommentRetention()&&
!Zo(this.isDeleted$)){var d="COMPONENT_DEFAULT"===Zo(this.commentRetentionOverride$);b.push({type:"action",action:function(){var e=d?2:1;Sfc(a.issueCommentDialogsService,"comment",e).then(function(f){a.commentActionsMenu.actionsMenuIconButton.focus();f&&a.updateCommentRetention(e)})},label:d?"Match issue retention...":"Revert to component retention..."})}this.commentActionMenuItems$.next(b)};
var dgc=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)};
jT.prototype.updateCommentRetention=function(a){var b=this,c=Zo(this.firstEvent$),d=Zo(this.id$);c&&!c.commentNumber&&$F(this.errorHandler,"Comment number is missing");this.analytics.trackEvent(Mp.RESTRICTED_CONTENT,"updateRetention","comment");d&&c&&this.commentService.updateRetention(d,c.commentNumber||0,a).pipe(dg(this.destroyed$)).subscribe({next:function(){b.eventsForIssue.poke(d);WF(b.butterBar,"Comment retention updated",4E3);b.initializeActionsMenu()},error:function(){$F(b.errorHandler,"Comment retention update failed")}})};
jT.prototype.loadRestrictedComment=function(a,b){var c=this;this.analytics.trackEvent(Mp.RESTRICTED_CONTENT,"viewRestrictedContent","comment");var d=(null==b?void 0:b.commentNumber)||0;b=zk(Ak(null==b?void 0:b.commentContentVerdict));a&&this.commentService.get(a,d,b).pipe(Rf(),dg(this.destroyed$)).subscribe(function(e){e=mm(e);e=Object.assign({},Zo(c.firstEvent$),e);c.firstEvent$.next(e);c.initializeActionsMenu()},function(e){var f;XF(c.butterBar,"Error showing comment "+d+": "+(null==(f=e.error)?
void 0:f.message))})};jT.prototype.showCommentHistoryDialog=function(a){return this.commentHistoryDialogService.show(this.id,a,-1)};jT.prototype.getUserEmailIfAvailable=function(){var a;return ck(null==(a=Zo(this.firstEvent$))?void 0:a.userPerformingActionUser)};
var GJa=function(a){var b=Zo(a.firstEvent$);b&&$tb(a.issueCommentDialogsService,a.id,b).then(function(){a.editDescriptionButton.focus()})},LJa=function(a,b){var c="Last edited by ";0===b.version&&b.lastCommentEditorUser&&(c+=Yj(b.lastCommentEditorUser));b.commentLastModifiedAtDate&&(c+=" on ",t3b(a.dateFormatter,new Date(b.commentLastModifiedAtDate)).subscribe(function(d){c+=d}));return c};
Xi.Object.defineProperties(jT.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.id$.next(a)},get:function(){return Zo(this.id$)}}});jT.\u0275fac=function(a){return new (a||jT)(A(sF),A(ZI),A(BH),A(pM),A(Vt),A(wQ),A(ZF),A(wH),A(VF),A(IF),A(dT),A(JJ),A(uQ),A(bL),A(EH))};
jT.\u0275cmp=p({type:jT,selectors:[["b-issue-description"]],viewQuery:function(a,b){a&1&&(ih(bgc,5),ih(cgc,5));if(a&2){var c;hh(c=kh())&&(b.commentActionsMenu=c.first);hh(c=kh())&&(b.editDescriptionButton=c.first)}},inputs:{id:"id"},features:[qg],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&&(P(0,aKa,29,24,"div",0),U(1,"async"),P(2,bKa,1,0,"ng-template",null,1,qh));if(a&2){var c=O(3);D("ngIf",V(1,2,b.firstEvent$))("ngIfElse",c)}},dependencies:[tL,fT,aP,xw,yw,cL,iK,nK,SK,tA,jB,NC,hT,bO,zM,TK,uM,Ew],styles:["[_nghost-%COMP%]{display:block}.description-deleted[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted);font-style:italic}"]});var kT=function(a){this.issueReferenceResolver=a;this.userToString=ck};kT.prototype.ngOnInit=function(){};kT.prototype.getCommentNumberLink=function(a){return mta(this.issueId,{comment:a})};kT.prototype.scrollCommentIntoView=function(a,b){this.issueReferenceResolver.visit({issueId:this.issueId,elementId:"comment"+b,event:a})};kT.\u0275fac=function(a){return new (a||kT)(A(pM))};
kT.\u0275cmp=p({type:kT,selectors:[["comments-info"]],inputs:{issueId:"issueId",comments:"comments"},decls:1,vars:1,consts:[["class","comment-info",4,"ngFor","ngForOf"],[1,"comment-info"],[4,"ngIf"],["class","keep-focus-ring hover-link",3,"routerLinkObj","click",4,"ngIf"],[1,"ldap",3,"onedevHovercardTrigger"],["personCard",""],[3,"email",4,"ngIf"],[3,"email"],[1,"keep-focus-ring","hover-link",3,"routerLinkObj","click"]],template:function(a,b){a&1&&P(0,hKa,5,3,"span",0);a&2&&D("ngForOf",b.comments)},
dependencies:[xw,yw,iK,nK,SK,bO,sP],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 lT=function(a){Z.call(this);this.ngZone=a};W(lT,Z);lT.\u0275dir=Z.\u0275dir;var egc=function(a,b){return(new C.Observable(function(c){var d=new ResizeObserver(function(e){a.ngZone.run(function(){var f=e[0];c.next({height:f.contentRect.height,width:f.contentRect.width})})});d.observe(b);return function(){d.unobserve(b)}})).pipe(dg(a.destroyed$))};lT.\u0275fac=function(a){return new (a||lT)(n(hg))};lT.\u0275prov=Vc({token:lT,factory:lT.\u0275fac,providedIn:"root"});var fgc=["imagesSummaryWidget"],mT=function(a,b,c){var d=this;this.resizeService=a;this.router=b;this.route=c;this.imageLinks$=new C.ReplaySubject(1);this.paginate=!1;this.container$=new C.ReplaySubject(1);this.containerResize$=this.container$.pipe(B(function(e){return e.nativeElement}),cg(function(e){return egc(d.resizeService,e)}));this.issueId$=new C.ReplaySubject(1);this.lastRenderedImageIndex$=new C.BehaviorSubject(0);this.allImages$=this.imageLinks$.pipe(B(function(e){e=e.map(function(f){if(f.comment){var h=
Bsa(f.href);if(h)return{src:h,comment:f.comment}}}).filter(nk);return oKa(e)}));this.maxImagesInOneRow$=this.containerResize$.pipe(B(function(e){return Math.floor((e.width-16)/216)}),$f({refCount:!0,bufferSize:1}));this.initialNumberOfImages$=this.maxImagesInOneRow$.pipe(B(function(e){return 2*e}));this.imagesToRender$=(0,C.combineLatest)([this.initialNumberOfImages$,this.allImages$,this.lastRenderedImageIndex$]).pipe(B(function(e){var f=m(e);e=f.next().value;var h=f.next().value;f=f.next().value;
return d.paginate?h.slice(0,f||e):h.slice(0,e)}),Qf())};mT.prototype.goToResourcesTab=function(){this.router.navigate(["./resources"],{relativeTo:this.route})};mT.prototype.ngOnInit=function(){this.issueId$.next(this.issueId)};mT.prototype.ngAfterContentInit=function(){this.container$.next(this.container)};Xi.Object.defineProperties(mT.prototype,{imageLinks:{configurable:!0,enumerable:!0,set:function(a){this.imageLinks$.next(a)},get:function(){return Zo(this.imageLinks$)}}});
mT.\u0275fac=function(a){return new (a||mT)(A(lT),A(FG),A(so))};
mT.\u0275cmp=p({type:mT,selectors:[["inline-images-summary"]],viewQuery:function(a,b){a&1&&ih(fgc,7);if(a&2){var c;hh(c=kh())&&(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&&(E(0,"div",null,0),P(2,nKa,3,3,"ng-container",1),U(3,"async"),F());a&2&&(z(2),D("ngIf",V(3,1,b.allImages$)))},dependencies:function(){return[kT,xw,yw,tA,NO,Ew,nT]},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 nT=function(){};nT.prototype.transform=function(a){return a.split(".png")[0]};nT.\u0275fac=function(a){return new (a||nT)};nT.\u0275pipe=rd({name:"removePngExtension",type:nT,pure:!0});var ggc={IMAGES:"SW-images",MENTIONED_ISSUES:"SW-mentioned-bugs",LINKS:"SW-links"},tLa=[].concat(r(Object.values(ggc)));var hgc=function(a,b){var c=this;this.issueInteractionsTracking=a;this.analytics=b;this.recordInteractionOnce=iwa(function(d){c.analytics.trackEvent(Mp.EDIT_ISSUE,"click",d)});this.recordImpressionOnce=iwa(function(){c.analytics.trackEvent(Mp.EDIT_ISSUE,"view","SW")})},iLa=function(a,b,c){a.recordInteractionOnce(c);Gq(a.issueInteractionsTracking,b,c+"-content-interacted");Gq(a.issueInteractionsTracking,b,"SW-content-interacted")};var oT=function(a,b){this.activeSession=a;this.currentTracker=b;this.linkText=this.rightText=this.leftText="";this.isExternalLink=!1;this.issueId=this.originalHref=this.redirectedHref=""};
oT.prototype.ngOnChanges=function(){var a;a:{var b=null==(a=this.sourceComment)?void 0:a.formattedComment;if(b){if(b.markdownFormat){a=vKa(b.markdownFormat.content);break a}if(b.literalFormat){a=vKa(b.literalFormat.content);break a}if(b.plainFormat){a=document.createElement("div");b=m(b.plainFormat.plainSection);for(var c=b.next();!c.done;c=b.next())(c=c.value.content)&&a.appendChild(vKa(c));break a}}a=void 0}if(a=a&&igc(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(jgc.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(jgc.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="",In(this.relatedLink)?c=b=this.relatedLink.href:Csa(this.relatedLink)&&(a=this.relatedLink.issueId,b=this.getIssueUrl(this.relatedLink.issueId),c=this.relatedLink.issueId,c=this.activeSession.isInternalSession()?Vna(nL(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 igc=function(a,b){if(a.relatedLink){if(Csa(a.relatedLink)){var c=a.relatedLink.issueId;return[].concat(r(b.querySelectorAll("a"))).find(function(e){return e.dataset.bIssueId===c})}if(In(a.relatedLink)){var d=a.relatedLink;return[].concat(r(b.querySelectorAll("a"))).find(function(e){a:{var f=d.href;if(e.innerText===f)e=!0;else{try{f=(new URL(f)).href}catch(h){e=!1;break a}e=e.href===f||e.href.replace("https://cl.corp.google.com/","https://critique.corp.google.com/")===f?!0:!1}}return e})}}};
oT.prototype.getIssueUrl=function(a){return nL(this.currentTracker,a)};oT.\u0275fac=function(a){return new (a||oT)(A(Vt),A(mL))};
oT.\u0275cmp=p({type:oT,selectors:[["mentioned-link-with-context"]],inputs:{sourceComment:"sourceComment",relatedLink:"relatedLink"},features:[Hd],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&&(E(0,"div",0),Q(1," \u201c "),P(2,pKa,3,3,"span",1),P(3,qKa,3,3,"ng-container",2),P(4,tKa,3,2,"ng-template",null,3,qh),P(6,uKa,2,1,"span",4),Q(7," \u201d\n"),F());if(a&2){var c=O(5);z(2);D("ngIf",b.leftText);z(1);D("ngIf",b.isExternalLink)("ngIfElse",c);z(3);D("ngIf",b.rightText)}},dependencies:[FO,rM,yw,WJ],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 jgc=new Set(["BR"]);var pT=function(a,b,c,d,e){var f=this;this.activeSession=a;this.issueFridge=b;this.router=c;this.route=d;this.issueReferenceResolver=e;this.issueReferences$=new C.ReplaySubject(1);this.currentIssueId$=new C.ReplaySubject(1);this.paginate=!1;this.lastRenderedMentionedIssueIndex$=new C.BehaviorSubject(10);this.issuesMap$=this.issueReferences$.pipe(Gf(nk),cg(function(h){var l=wn(h.map(function(q){return q.issueId}));return f.issueFridge.watchSet(l).pipe(B(function(q){return new Map(q.map(function(u){return[null==
u?void 0:u.issueId.toString(),u]}))}),B(function(q){return new Map(l.map(function(u){return[u,q.get(u)]}))}))}));this.issueReferencesMap$=this.issueReferences$.pipe(Gf(nk),B(function(h){var l=new Map;h=m(h);for(var q=h.next();!q.done;q=h.next()){q=q.value;var u=q.issueId.toString();l.has(u)?l.get(u).push(q):l.set(u,[q])}return l}));this.allMentionedIssues$=(0,C.combineLatest)([this.issueReferencesMap$,this.issuesMap$]).pipe(B(function(h){h=m(h);var l=h.next().value;h=h.next().value;return[].concat(r(h)).filter(function(q){return m(q).next().value!==
f.issueId}).map(function(q){var u=m(q);q=u.next().value;u=u.next().value;var x=l.get(q),y=null==x?void 0:x.map(function(G){var L,M,T=null==(L=G.comment)?void 0:null==(M=L.userPerformingActionUser)?void 0:M.emailAddress;return{commentNumber:G.sourceCommentNumber,author:(null==T?void 0:T.split("@")[0])+"@",issueEvent:G.comment}});return{hasViewAccess:!!u,issueId:q,shortIssueUrl:Vna(f.activeSession.getAppBaseUrl(),q),sourceComments:y,title:null==u?void 0:u.snapshot[0].title,priority:u?u.snapshot[0].priority:
null,relatedLinks:x}})}));this.mentionedIssuesToRender$=(0,C.combineLatest)([this.allMentionedIssues$,this.lastRenderedMentionedIssueIndex$]).pipe(B(function(h){var l=m(h);h=l.next().value;l=l.next().value;return f.paginate?h.slice(0,l):h.slice(0,5)}))};pT.prototype.getCommentNumberLink=function(a){return mta(this.issueId,{comment:a})};pT.prototype.scrollCommentIntoView=function(a,b){this.issueReferenceResolver.visit({issueId:this.issueId,elementId:"comment"+b,event:a})};
pT.prototype.goToResourcesTab=function(){this.router.navigate(["./resources"],{relativeTo:this.route})};Xi.Object.defineProperties(pT.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}}});pT.\u0275fac=function(a){return new (a||pT)(A(Vt),A(BH),A(FG),A(so),A(pM))};
pT.\u0275cmp=p({type:pT,selectors:[["b-mentioned-issues"]],inputs:{issueReferences:"issueReferences",currentIssueId:"currentIssueId",paginate:"paginate"},decls:2,vars:3,consts:[[4,"ngIf"],[4,"ngFor","ngForOf"],[3,"matTooltip","issuePriority"],[1,"issue-title-and-link"],[1,"padded-s-sides","title",3,"matTooltip"],[3,"sourceComment","relatedLink"],[1,"margin-left-auto",3,"issueId","comments"],["mat-button","","class","gmat-button small load-more-issues",3,"click",4,"ngIf","ngIfElse"],["withoutPagination",
""],["mat-button","",1,"gmat-button","small","load-more-issues",3,"click"],["mat-button","",1,"gmat-button","small","see-all-issues",3,"click"]],template:function(a,b){a&1&&(P(0,CKa,3,3,"ng-container",0),U(1,"async"));a&2&&D("ngIf",V(1,1,b.mentionedIssuesToRender$))},dependencies:function(){return[xw,yw,iI,tA,NC,oT,kT,Ew,qT]},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 qT=function(){};qT.prototype.transform=function(a){return a.map(function(b){return b.issueEvent}).filter(nk)};qT.\u0275fac=function(a){return new (a||qT)};qT.\u0275pipe=rd({name:"toComments",type:qT,pure:!0});var rT=function(a,b){var c=this;this.router=a;this.route=b;this.allLinks$=new C.ReplaySubject(1);this.issueId$=new C.ReplaySubject(1);this.lastRenderedRelatedLinkIndex$=new C.BehaviorSubject(10);this.paginate=!1;this.trackByHref=function(d,e){return e[0].href};this.allLinkGroups$=this.allLinks$.pipe(B(function(d){return Ora(d,function(e){return e.href})}));this.linkGroupsToRender$=(0,C.combineLatest)([this.allLinkGroups$,this.lastRenderedRelatedLinkIndex$]).pipe(B(function(d){var e=m(d);d=e.next().value;
e=e.next().value;return c.paginate?KKa(d,e):6===d.length?KKa(d,6):KKa(d,5)}))};rT.prototype.ngOnInit=function(){};rT.prototype.goToResourcesTab=function(){this.router.navigate(["./resources"],{relativeTo:this.route})};Xi.Object.defineProperties(rT.prototype,{links:{configurable:!0,enumerable:!0,set:function(a){this.allLinks$.next(a)},get:function(){throw Error("Ya");}},issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)},get:function(){return Zo(this.issueId$)}}});
rT.\u0275fac=function(a){return new (a||rT)(A(FG),A(so))};
rT.\u0275cmp=p({type:rT,selectors:[["related-links-widget"]],inputs:{links:"links",issueId:"issueId",paginate:"paginate"},decls:2,vars:3,consts:[[4,"ngIf"],["class","related-link flex-kids-x align-items-center gap-s margin-xs-bottom",4,"ngFor","ngForOf","ngForTrackBy"],[1,"related-link","flex-kids-x","align-items-center","gap-s","margin-xs-bottom"],[3,"sourceComment","relatedLink"],[1,"margin-left-auto",3,"issueId","comments"],["mat-button","","class","gmat-button small load-more-links",3,"click",
4,"ngIf","ngIfElse"],["withoutPagination",""],["mat-button","",1,"gmat-button","small","load-more-links",3,"click"],["mat-button","",1,"gmat-button","small","see-all-links",3,"click"]],template:function(a,b){a&1&&(P(0,IKa,3,3,"ng-container",0),U(1,"async"));a&2&&D("ngIf",V(1,1,b.allLinkGroups$))},dependencies:function(){return[kT,xw,yw,tA,oT,Ew,sT]},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 JKa=yn(function(a){return Math.min.apply(Math,r(a.map(function(b){return b.sourceCommentNumber})))},Rra),sT=function(){};sT.prototype.transform=function(a){return a.map(function(b){return b.comment}).filter(nk)};sT.\u0275fac=function(a){return new (a||sT)};sT.\u0275pipe=rd({name:"toComments",type:sT,pure:!0});var tT=function(){Px.apply(this,arguments)};W(tT,Px);tT.\u0275fac=function(){var a;return function(b){return(a||(a=ie(tT)))(b||tT)}}();tT.\u0275dir=qd({type:tT,selectors:[["","expandable-tab-content",""]],features:[qg]});var uT=function(){Px.apply(this,arguments)};W(uT,Px);uT.\u0275fac=function(){var a;return function(b){return(a||(a=ie(uT)))(b||uT)}}();uT.\u0275dir=qd({type:uT,selectors:[["","expandable-tab-header",""]],features:[qg]});var vT=function(){Px.apply(this,arguments)};W(vT,Px);
vT.\u0275fac=function(){var a;return function(b){return(a||(a=ie(vT)))(b||vT)}}();vT.\u0275dir=qd({type:vT,selectors:[["","expandable-tab-icon",""]],features:[qg]});var wT=function(){};wT.prototype.ngOnInit=function(){};wT.\u0275fac=function(a){return new (a||wT)};
wT.\u0275cmp=p({type:wT,selectors:[["expandable-tab"]],contentQueries:function(a,b,c){a&1&&(jh(c,uT,5,eh),jh(c,tT,5,eh),jh(c,vT,5,eh));if(a&2){var d;hh(d=kh())&&(b.tabHeaderTemplate=d.first);hh(d=kh())&&(b.tabContentTemplate=d.first);hh(d=kh())&&(b.tabIconTemplate=d.first)}},inputs:{key:"key",ariaLabel:"ariaLabel"},decls:0,vars:0,template:function(){},encapsulation:2,changeDetection:0});var LKa=function(a){return{tab:a}},kgc=function(a){return{allTabsExpanded:a}},xT=function(){Z.apply(this,arguments);this.internalTabKeys$=new C.ReplaySubject(1);this.ariaLabel="";this.internalExpandedTabs=new YJ;this.expandedTabsChanged=new Rv;this.contentShownChanged=new Rv;this.tabs$=new C.BehaviorSubject([]);this.allTabsExpanded$=(0,C.combineLatest)([this.tabs$,this.internalExpandedTabs.value$]).pipe(B(function(a){a=m(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}};W(xT,Z);xT.\u0275dir=Z.\u0275dir;
xT.prototype.ngAfterContentInit=function(){var a=this;this.subscriptions.add(this.internalTabs.changes.pipe(bg(void 0),B(function(){return a.internalTabs.toArray()}),B(function(b){return new Map(b.map(function(c){return[c.key,c]}))}),cg(function(b){return(0,C.combineLatest)([(0,C.of)(b),a.internalTabKeys$])}),B(function(b){b=m(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,C.combineLatest)([this.internalTabKeys$,
this.internalExpandedTabs.value$]).pipe(B(function(b){var c=m(b);b=c.next().value;c=c.next().value;return Gna(new Set(b),new Set(c))}),Qf(Fj)).subscribe(function(b){a.contentShownChanged.emit(b)}))};xT.prototype.ngOnInit=function(){};xT.prototype.showAll=function(){this.internalExpandedTabs.add.apply(this.internalExpandedTabs,r(this.tabs$.value.map(function(a){return a.key})));this.expandedTabsChanged.emit(new Set(this.internalExpandedTabs))};
xT.prototype.hideAll=function(){this.internalExpandedTabs.clear();this.expandedTabsChanged.emit(new Set(this.internalExpandedTabs))};var SKa=function(a){var b;return of(function(c){if(1==c.nextAddress)return c.yield((0,C.firstValueFrom)(a.allTabsExpanded$),2);(b=c.yieldResult)?a.hideAll():a.showAll();tf(c)})};
Xi.Object.defineProperties(xT.prototype,{tabKeys:{configurable:!0,enumerable:!0,set:function(a){this.internalTabKeys$.next([].concat(r(a)))},get:function(){var a;return null!=(a=Zo(this.internalTabKeys$))?a:[]}},expandedTabs:{configurable:!0,enumerable:!0,set:function(a){this.internalExpandedTabs.reset(a)},get:function(){return[].concat(r(this.internalExpandedTabs))}}});xT.\u0275fac=function(){var a;return function(b){return(a||(a=ie(xT)))(b||xT)}}();
xT.\u0275cmp=p({type:xT,selectors:[["expandable-tabs"]],contentQueries:function(a,b,c){a&1&&jh(c,wT,5);if(a&2){var d;hh(d=kh())&&(b.internalTabs=d)}},inputs:{tabKeys:"tabKeys",ariaLabel:"ariaLabel",expandedTabs:"expandedTabs"},outputs:{expandedTabsChanged:"expandedTabsChanged",contentShownChanged:"contentShownChanged"},features:[qg],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&&(E(0,"div",0)(1,"div",1),P(2,RKa,8,16,"button",2),U(3,"async"),F(),P(4,TKa,3,6,"ng-container",3),U(5,"async"),F(),E(6,"div",4),P(7,aLa,3,3,"ng-container",5),U(8,"async"),F(),P(9,fLa,3,2,"ng-template",null,6,qh));a&2&&(z(1),ug("aria-label",b.ariaLabel),z(1),D("ngForOf",V(3,6,b.tabs$))("ngForTrackBy",b.trackByKey),z(2),D("ngIf",Xg(12,kgc,V(5,
8,b.allTabsExpanded$))),z(3),D("ngForOf",V(8,10,b.tabs$))("ngForTrackBy",b.trackByKey))},dependencies:[xw,yw,Dw,tA,jB,Ew],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 jLa=function(){return[]},yT=function(a,b,c,d,e,f){Z.call(this);var h=this;this.activeSession=a;this.userPreferencesManager=b;this.issueInteractionsTracking=c;this.issueFridge=d;this.analytics=e;this.eventsForIssueFridge=f;this.TabKeys=ggc;this.issueId$=new C.ReplaySubject(1);this.alwaysStartCollapsed=!1;this.issue$=this.issueId$.pipe(cg(function(l){return h.issueFridge.watch(l)}),Gf(nk));this.commentNumberToEventMap$=this.issueId$.pipe(cg(function(l){return h.eventsForIssueFridge.watch(l)}),B(function(l){var q;
return null!=(q=null==l?void 0:l.events)?q:[]}),B(function(l){return new Map(l.filter(function(q){return!!q.commentNumber}).map(function(q){return[q.commentNumber,q]}))}));this.relatedLinks$=(0,C.combineLatest)([this.issue$,this.commentNumberToEventMap$]).pipe(B(function(l){l=m(l);var q=l.next().value,u=l.next().value,x;return(null==(x=q.relatedLinks)?void 0:x.map(function(y){return Object.assign({},y,{comment:u.get(y.sourceCommentNumber)})}))||[]}));this.imageLinks$=this.relatedLinks$.pipe(B(function(l){return l.filter(ysa)}));
this.distinctImageLinksCount$=this.imageLinks$.pipe(B(function(l){return vn(l,function(q){return Bsa(q.href)})}),B(function(l){return l.length}));this.shouldShowImages$=this.imageLinks$.pipe(B(function(l){return h.activeSession.isInternalSession()&&DE(h.activeSession,"enableImageSummary")&&lgc(h,l)}));this.issues$=this.relatedLinks$.pipe(B(function(l){return l.filter(Csa)}));this.distinctIssuesCount$=this.issues$.pipe(B(function(l){return l.filter(function(q){return q.issueId!==h.issueId})}),B(function(l){return vn(l,
function(q){return q.issueId})}),B(function(l){return l.length}));this.shouldShowIssues$=this.distinctIssuesCount$.pipe(B(function(l){return DE(h.activeSession,"enableRelatedIssuesWidget")&&!!l}));this.otherLinks$=this.relatedLinks$.pipe(B(function(l){return l.filter(Dsa)}));this.distinctOtherLinksCount$=this.otherLinks$.pipe(B(function(l){return vn(l,function(q){return q.href})}),B(function(l){return l.length}));this.shouldShowLinks$=this.otherLinks$.pipe(B(function(l){return DE(h.activeSession,
"enableLinksWidget")&&h.shouldShowLinks(l)}));this.tabKeys$=(0,C.combineLatest)([this.shouldShowImages$.pipe(B(function(l){return{show:l,key:"SW-images"}})),this.shouldShowIssues$.pipe(B(function(l){return{show:l,key:"SW-mentioned-bugs"}})),this.shouldShowLinks$.pipe(B(function(l){return{show:l,key:"SW-links"}}))]).pipe(B(function(l){return l.filter(function(q){return q.show}).map(function(q){return q.key})}));this.shouldShowSummaryCard$=this.tabKeys$.pipe(B(function(l){return!!l.length}),Pf(0,C.asapScheduler));
this.initiallyExpandedTabs=tLa.map(function(l){return m0b(h.userPreferencesManager,l)?void 0:l}).filter(nk);this.onTabExpanded$=new Rv;this.issueSummaryTracking=new hgc(this.issueInteractionsTracking,this.analytics)};W(yT,Z);yT.\u0275dir=Z.\u0275dir;
yT.prototype.ngOnInit=function(){var a=this;this.alwaysStartCollapsed&&(this.initiallyExpandedTabs=[]);this.subscriptions.add(this.onTabExpanded$.pipe(Nf(1E3),cg(function(b){var c=b.expandedTabKeys;return l0b(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=m(b),f=e.next();!f.done;f=e.next())Gq(c.issueInteractionsTracking,
d,f.value+"-available");0<b.size&&Gq(c.issueInteractionsTracking,d,"SW-available")}))};yT.prototype.shouldShowLinks=function(a){return 0===a.length||a.every(function(b){return 1===b.sourceCommentNumber})?!1:!0};var lgc=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 $I(a.userPreferencesManager).showInlineImages&&b?!1:!0};
Xi.Object.defineProperties(yT.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)},get:function(){return Zo(this.issueId$)}}});yT.\u0275fac=function(a){return new (a||yT)(A(Vt),A(ZI),A(FJ),A(BH),A(wH),A(sF))};
yT.\u0275cmp=p({type:yT,selectors:[["issue-summary-card"]],inputs:{issueId:"issueId",alwaysStartCollapsed:"alwaysStartCollapsed"},features:[qg],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&&(E(0,"h3",
0),Q(1,"Issue summary"),F(),P(2,uLa,13,5,"expandable-tabs",1),U(3,"async"));a&2&&(z(2),D("ngIf",V(3,1,b.tabKeys$)))},dependencies:[yw,wT,tT,uT,vT,xT,mT,jB,pT,rT,Ew],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 BLa=function(){return[]},GLa=function(){return{hideHeader:!0,assigneeMode:"avatar-in-progress",showPendingFixCls:!0}},WLa="QA"===rn().config.environmentType?82860:1298542,zT=function(a,b,c,d,e,f){Z.call(this);var h=this;this.hackyPrefs=a;this.issueFridge=b;this.data=c;this.workspaceService=d;this.activeSession=e;this.projectActivity=f;this.makePie=Gsa;this.getEndDate=VLa;this.Number=Number;this.makeCritiqueUrl=Fsa;this.makeScreenshotViewUrl=XLa;this.log=console.log.bind(console);this.TABLE_COLUMNS=
"focus-indicator drag-handle title assignee status id menu".split(" ");this.maybeIssueId$=new C.BehaviorSubject(void 0);this.issueId$=this.maybeIssueId$.pipe(Gf(Boolean));this.issue$=this.issueId$.pipe(cg(this.issueFridge.watchOne));this.projectData$=this.issueId$.pipe(cg(function(l){return xVb(h.data,[l])}),$f({refCount:!0,bufferSize:1}));this.taskFlowLink$=this.issueId$.pipe(cg(function(l){return h.getTaskFlowLink(l)}));this.projectActivityStream$=this.issueId$.pipe(cg(function(l){return r_b(h.projectActivity,
l)}));this.environmentType=this.activeSession.getEnvironmentType()};W(zT,Z);zT.\u0275dir=Z.\u0275dir;zT.prototype.isCollapsed=function(a){return null==a?!0:this.addMode||this.prefs.collapsed["project-"+a]};
zT.prototype.getTaskFlowLink=function(a){var b=this;return e9b(this.workspaceService,a).pipe(cg(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,C.of)(d+"/"+c.workspaceId+"/work_item/b/"+c.issueId)}else c=(0,C.of)(void 0);return c}))};
Xi.Object.defineProperties(zT.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}}});zT.\u0275fac=function(a){return new (a||zT)(A(dI),A(BH),A(tF),A(oQ),A(Vt),A(gI))};
zT.\u0275cmp=p({type:zT,selectors:[["issue-as-project-card"]],inputs:{addMode:"addMode",issueId:"issueId"},features:[qg],decls:5,vars:8,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"],[1,"symbol","arrow",3,"click"],[1,"muted",
"issue-id"],[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"],["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&&(E(0,"div",0),P(1,QLa,34,9,"ng-container",1),U(2,"async"),P(3,TLa,3,2,"ng-template",null,2,qh),F());if(a&2){var c=O(4);Fg("collapsed",b.isCollapsed(b.issueId))("add-mode",b.addMode);z(1);D("ngIf",V(2,6,b.issue$))("ngIfElse",c)}},dependencies:[xw,yw,mQ,tA,jB,UK,zM,FC,DC,EC,AM,jT,yT,vM,Ew,Lw,Kw],styles:['[_nghost-%COMP%]{display:block}.pie[_ngcontent-%COMP%]{display:inline-block;width:24px;height:24px;border-radius:50%;background-color:#f8f9fa;background-color:var(--surface-secondary)}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}.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);cursor:pointer}.add-mode[_ngcontent-%COMP%]   .symbol.arrow[_ngcontent-%COMP%]{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}b-issue-description[_ngcontent-%COMP%]{max-height:400px;overflow-y:auto}\n/*# sourceMappingURL=issue_as_project_card.css.map */']});
var ULa=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 AT=function(a,b,c,d){Z.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(B(function(f){var h;return null!=(h=null==f?void 0:f.relatedChildren.map(function(l){return l.targetIssueId}))?h:[]}));this.suggestionCount=3;this.suggestedProjects$=(0,C.combineLatest)([w_b(this.projectSuggestService),JH(this.issueRelationshipsFridge,
this.hackyPrefs.prefs.id,2)]).pipe(B(function(f){f=m(f);var h=f.next().value,l=f.next().value.results.map(function(q){return q.issueId});return h.filter(function(q){return!l.includes(q)})}),cg(this.issueFridge.watchSet));this.addProject=function(f){null!=f&&vp(e.hackyPrefs,f)}};W(AT,Z);AT.\u0275dir=Z.\u0275dir;AT.\u0275fac=function(a){return new (a||AT)(A(dI),A(IH),A(BH),A(hI))};
AT.\u0275cmp=p({type:AT,selectors:[["suggested-issue-projects"]],inputs:{disableShowMore:"disableShowMore",suggestionCount:"suggestionCount"},features:[qg],decls:4,vars:4,consts:[[4,"ngIf","ngIfElse"],["loading",""],[1,"flex-kids-y","gap"],[1,"muted"],["mat-icon-button","","href","http://go/b-learn-project-suggestions","target","_blank","title","Learn more","aria-label","Learn more",1,"small"],["svgIcon","info",1,"icon-s"],[4,"ngFor","ngForOf"],["class","muted",4,"ngIf"],["mat-button","","class",
"gmat-button","title","Show more projects",3,"click",4,"ngIf"],[3,"issueId","addMode"],["mat-button","","title","Show more projects",1,"gmat-button",3,"click"]],template:function(a,b){a&1&&(P(0,aMa,10,7,"ng-container",0),U(1,"async"),P(2,bMa,3,0,"ng-template",null,1,qh));if(a&2){var c=O(3);D("ngIf",V(1,2,b.suggestedProjects$))("ngIfElse",c)}},dependencies:[xw,yw,tA,uA,jB,zT,zM,Ew,Lw],styles:["[_nghost-%COMP%] { display: block; }"]});var BT=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)};BT.prototype.onEnter=function(){this.onConfirm()};BT.prototype.onEscape=function(){this.dialogRef.close()};
BT.prototype.onConfirm=function(){var a,b=null==(a=this.userSearchInput)?void 0:a.trim();if(null==b?0:b.match(/\d{3,}/))if(null==Nn(b))this.errorMsg="That doesn't look an issue, hotlist, or saved search";else{a:{a=Osa(b);if(null!=a)switch(Nn(b)){case "hotlist":b=Ln(a);break a;case "savedsearch":b=Mn(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)"};BT.prototype.onCancel=function(){this.dialogRef.close()};
BT.\u0275fac=function(a){return new (a||BT)(A(FA),A(HA),A(xJ))};
BT.\u0275cmp=p({type:BT,selectors:[["ng-component"]],hostBindings:function(a,b){a&1&&K("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&&(E(0,"h2",0),Q(1," Add a Project\n"),F(),E(2,"div",1)(3,"input",2),K("keydown.enter",function(){return b.onEnter()})("ngModelChange",function(c){return b.userSearchInput=c}),F(),P(4,cMa,2,1,"p",3),E(5,"div",4)(6,"a",5),H(7,"mat-icon",6),F(),E(8,"p"),Q(9,' Add "parent" tracking bugs using their ID. '),H(10,"br"),Q(11,' Or, add hotlists and saved searches by URL or with syntax like "hotlist/123456" and "savedsearch-789012". '),F()(),P(12,dMa,9,4,"aside",7),F(),E(13,"div",
8)(14,"button",9),K("click",function(){return b.onCancel()}),Q(15," Cancel "),F(),E(16,"button",10),K("click",function(){return b.onConfirm()}),Q(17," Confirm "),F()());a&2&&(z(3),D("ngModel",b.userSearchInput),z(1),D("ngIf",b.errorMsg),z(8),D("ngIf",null==b.userSearchInput||0===(null==b.userSearchInput?null:b.userSearchInput.length)),z(4),D("disabled",null==b.userSearchInput||0===b.userSearchInput.length))},dependencies:[yw,tA,uA,KA,LA,MA,jB,Qh,ax,hx,CM,AT],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 CT=function(a){this.dialog=a};CT.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){DA(c.dialog.open(BT,d)).subscribe(function(f){null==b||b(f);e(f)})})};CT.\u0275fac=function(a){return new (a||CT)(n(IA))};CT.\u0275prov=Vc({token:CT,factory:CT.\u0275fac,providedIn:"root"});var DT=function(){};DT.\u0275fac=function(a){return new (a||DT)};DT.\u0275mod=od({type:DT});DT.\u0275inj=Wc({imports:[YC,ID,Mw]});var mgc=ri("indicator",[ui("active-asc, asc",ti({transform:"translateY(0px)"})),ui("active-desc, desc",ti({transform:"translateY(10px)"})),vi("active-asc <=> active-desc",si("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),ngc=ri("leftPointer",[ui("active-asc, asc",ti({transform:"rotate(-45deg)"})),ui("active-desc, desc",ti({transform:"rotate(45deg)"})),vi("active-asc <=> active-desc",si("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),ogc=ri("rightPointer",[ui("active-asc, asc",ti({transform:"rotate(45deg)"})),ui("active-desc, desc",
ti({transform:"rotate(-45deg)"})),vi("active-asc <=> active-desc",si("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),pgc=ri("arrowOpacity",[ui("desc-to-active, asc-to-active, active",ti({opacity:1})),ui("desc-to-hint, asc-to-hint, hint",ti({opacity:.54})),ui("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",ti({opacity:0})),vi("* => asc, * => desc, * => active, * => hint, * => void",si("0ms")),vi("* <=> *",si("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),qgc=ri("arrowPosition",[vi("* => desc-to-hint, * => desc-to-active",
si("225ms cubic-bezier(0.4,0.0,0.2,1)",{type:5,steps:[ti({transform:"translateY(-25%)"}),ti({transform:"translateY(0)"})]})),vi("* => hint-to-desc, * => active-to-desc",si("225ms cubic-bezier(0.4,0.0,0.2,1)",{type:5,steps:[ti({transform:"translateY(0)"}),ti({transform:"translateY(25%)"})]})),vi("* => asc-to-hint, * => asc-to-active",si("225ms cubic-bezier(0.4,0.0,0.2,1)",{type:5,steps:[ti({transform:"translateY(25%)"}),ti({transform:"translateY(0)"})]})),vi("* => hint-to-asc, * => active-to-asc",
si("225ms cubic-bezier(0.4,0.0,0.2,1)",{type:5,steps:[ti({transform:"translateY(0)"}),ti({transform:"translateY(-25%)"})]})),ui("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",ti({transform:"translateY(0)"})),ui("hint-to-desc, active-to-desc, desc",ti({transform:"translateY(-25%)"})),ui("hint-to-asc, active-to-asc, asc",ti({transform:"translateY(25%)"}))]),rgc=ri("allowChildren",[vi("* <=> *",[xi("@*",wi())])]);var ET=function(){this.changes=new C.Subject};ET.\u0275fac=function(a){return new (a||ET)};ET.\u0275prov=Vc({token:ET,factory:ET.\u0275fac,providedIn:"root"});var sgc={provide:ET,deps:[[new Vu,new Wu,ET]],useFactory:function(a){return a||new ET}};var tgc=new Bd("MAT_SORT_DEFAULT_OPTIONS"),ugc=jma($i(function(){})),FT=function(a){var b=ugc.call(this)||this;b._defaultOptions=a;b.sortables=new Map;b._stateChanges=new C.Subject;b.start="asc";b._direction="";b.sortChange=new Rv;return b};W(FT,ugc);g=FT.prototype;g.register=function(a){this.sortables.set(a.id,a)};g.deregister=function(a){this.sortables.delete(a.id)};
g.sort=function(a){if(this.active!=a.id)this.active=a.id,this.direction=a.start?a.start:this.start;else{if(a){var b,c,d,e=null!=(d=null!=(c=null==a?void 0:a.disableClear)?c:this.disableClear)?d:!(null==(b=this._defaultOptions)||!b.disableClear);b=["asc","desc"];"desc"==(a.start||this.start)&&b.reverse();e||b.push("");a=b.indexOf(this.direction)+1;a>=b.length&&(a=0);a=b[a]}else a="";this.direction=a}this.sortChange.emit({active:this.active,direction:this.direction})};g.ngOnInit=function(){this._markInitialized()};
g.ngOnChanges=function(){this._stateChanges.next()};g.ngOnDestroy=function(){this._stateChanges.complete()};Xi.Object.defineProperties(FT.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=bi(a)}}});FT.\u0275fac=function(a){return new (a||FT)(A(tgc,8))};
FT.\u0275dir=qd({type:FT,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:[qg,Hd]});var vgc=$i(function(){}),GT=function(a,b,c,d,e,f,h,l){var q=vgc.call(this)||this;q._intl=a;q._changeDetectorRef=b;q._sort=c;q._columnDef=d;q._focusMonitor=e;q._elementRef=f;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};W(GT,vgc);g=GT.prototype;
g.ngOnInit=function(){!this.id&&this._columnDef&&(this.id=this._columnDef.name);this._updateArrowDirection();this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection});this._sort.register(this);this._sortButton=this._elementRef.nativeElement.querySelector(".mat-sort-header-container");this._updateSortActionDescription(this._sortActionDescription)};
g.ngAfterViewInit=function(){var a=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(b){b=!!b;b!==a._showIndicatorHint&&(a._setIndicatorHintVisible(b),a._changeDetectorRef.markForCheck())})};g.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef);this._sort.deregister(this);this._rerenderSubscription.unsubscribe()};
g._setIndicatorHintVisible=function(a){this._isDisabled()&&a||(this._showIndicatorHint=a,this._isSorted()||(this._updateArrowDirection(),this._showIndicatorHint?this._setAnimationTransitionState({fromState:this._arrowDirection,toState:"hint"}):this._setAnimationTransitionState({fromState:"hint",toState:this._arrowDirection})))};g._setAnimationTransitionState=function(a){this._viewState=a||{};this._disableViewStateAnimation&&(this._viewState={toState:a.toState})};
g._toggleOnInteraction=function(){this._sort.sort(this);if("hint"===this._viewState.toState||"active"===this._viewState.toState)this._disableViewStateAnimation=!0};g._handleClick=function(){this._isDisabled()||this._sort.sort(this)};g._handleKeydown=function(a){this._isDisabled()||32!==a.keyCode&&13!==a.keyCode||(a.preventDefault(),this._toggleOnInteraction())};g._isSorted=function(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)};
g._getArrowDirectionState=function(){return(this._isSorted()?"active-":"")+this._arrowDirection};g._getArrowViewState=function(){var a=this._viewState.fromState;return(a?a+"-to-":"")+this._viewState.toState};g._updateArrowDirection=function(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start};g._isDisabled=function(){return this._sort.disabled||this.disabled};
g._getAriaSortAttribute=function(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":"none"};g._renderArrow=function(){return!this._isDisabled()||this._isSorted()};g._updateSortActionDescription=function(a){if(this._sortButton){var b;null==(b=this._ariaDescriber)||Wy(b,this._sortButton,this._sortActionDescription);var c;null==(c=this._ariaDescriber)||c.describe(this._sortButton,a)}this._sortActionDescription=a};
g._handleStateChanges=function(){var a=this;this._rerenderSubscription=(0,C.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()})};Xi.Object.defineProperties(GT.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=bi(a)}}});
GT.\u0275fac=function(a){return new (a||GT)(A(ET),A(qw),A(FT,8),A("MAT_SORT_HEADER_COLUMN_DEF",8),A(Hx),A(ke),A(Vy,8),A(tgc,8))};
GT.\u0275cmp=p({type:GT,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(a,b){a&1&&K("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&&(ug("aria-sort",b._getAriaSortAttribute()),Fg("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:[qg],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&&(Ng(),E(0,"div",0)(1,"div",1),Og(2),F(),P(3,eMa,6,6,"div",2),F());a&2&&(Fg("mat-sort-header-sorted",b._isSorted())("mat-sort-header-position-before","before"===b.arrowPosition),ug("tabindex",b._isDisabled()?null:0)("role",b._isDisabled()?null:"button"),z(3),D("ngIf",b._renderArrow()))},dependencies:[yw],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:[mgc,ngc,ogc,pgc,qgc,rgc]},changeDetection:0});var wgc="focus-indicator title type team id assignee status menu".split(" "),HT=function(a,b,c){Z.call(this);var d=this;this.issueFridge=a;this.router=b;this.domSafe=c;this.issueIds$=new C.BehaviorSubject([]);this.menuItemFactory=function(){return[]};this.internalFilters=new YJ;this.tableColumns=wgc.slice();this.activeSort$=new C.BehaviorSubject(void 0);this.allRows$=this.issueIds$.pipe(fp(),B(function(e){return e.map(function(f){return{id:f,issue$:d.issueFridge.watch(f)}})}),$f({refCount:!0,bufferSize:1}));
this.allIssuesAreLoaded$=this.allRows$.pipe(cg(function(e){return(0,C.combineLatest)(e.map(function(f){return f.issue$.pipe(bg(null))}))}),B(function(e){return e.every(function(f){return null!==f})}));this.unarchivedRows$=this.allRows$.pipe(Mf(this.allIssuesAreLoaded$),B(function(e){e=m(e);var f=e.next().value;return e.next().value?f.filter(function(h){var l;return!(null==(l=Fn(h))?0:l.isArchived)}):f}));this.sortRows=(0,C.pipe)(Mf(this.activeSort$,this.allIssuesAreLoaded$),B(function(e){e=m(e);var f=
e.next().value,h=e.next().value;return e.next().value?CMa(f,h):f}));this.filterRows=(0,C.pipe)(Mf(this.internalFilters.value$),cg(function(e){e=m(e);var f=e.next().value,h=e.next().value;return 0===h.size?(0,C.of)(f):(0,C.combineLatest)(f.map(function(l){return l.issue$})).pipe(B(function(l){return f.filter(function(q,u){return!l[u]||LFa(l[u],h)})}))}));this.rows$=this.unarchivedRows$.pipe(this.filterRows,this.sortRows);this.filteredRowCount$=(0,C.combineLatest)([this.unarchivedRows$,this.rows$]).pipe(B(function(e){var f=
m(e);e=f.next().value;f=f.next().value;return e.length-f.length}),Qf());this.trackBy=function(e,f){return f.id};this.correctedDisplayedRows=new lh};W(HT,Z);HT.\u0275dir=Z.\u0275dir;g=HT.prototype;g.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(r(this.menuItemFactory(a)))};g.ngOnInit=function(){this.initialSort&&this.initialSort.direction&&this.activeSort$.next(this.initialSort)};
g.ngAfterViewInit=function(){var a=this;(0,C.combineLatest)([this.rows$,this.displayedRows.changes.pipe(bg(void 0))]).pipe(dg(this.destroyed$)).subscribe(function(b){b=m(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);gh(a.correctedDisplayedRows)});this.focusManager=cz(new cN(this.correctedDisplayedRows,BMa))};
g.navigateToIssue=function(a,b){!b||a.defaultPrevented||"mouseup"===a.type&&a instanceof MouseEvent&&1!==a.button||"A"===a.target.tagName||(b=this.getIssueUrl(b),a.ctrlKey||a.metaKey||a instanceof MouseEvent&&1===a.button?this.domSafe.openInNewTab(b):a&&a.shiftKey?Kp(this.domSafe,b):Gt(this.router,b))};g.onRowKeydown=function(a,b){this.focusManager.onKeydown(b)};g.onSortChange=function(a){this.activeSort$.next(a)};g.getIssueUrl=function(a){return this.issueUrlFactory?this.issueUrlFactory(a):$n(a)};
Xi.Object.defineProperties(HT.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:[])}}});HT.\u0275fac=function(a){return new (a||HT)(A(BH),A(FG),A(PK))};
HT.\u0275cmp=p({type:HT,selectors:[["b-issues-table"]],viewQuery:function(a,b){a&1&&ih(aN,5);if(a&2){var c;hh(c=kh())&&(b.displayedRows=c)}},inputs:{issueIds:"issueIds",menuItemFactory:"menuItemFactory",initialSort:"initialSort",issueUrlFactory:"issueUrlFactory",filters:"filters",tableColumns:"tableColumns"},features:[qg],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&&(E(0,"table",0),K("matSortChange",
function(e){return b.onSortChange(e)}),U(1,"async"),U(2,"async"),I(3,1),P(4,fMa,1,0,"th",2),P(5,gMa,1,0,"td",3),J(),I(6,4),P(7,hMa,2,0,"th",2),P(8,iMa,2,1,"td",5),J(),I(9,6),P(10,jMa,2,0,"th",2),P(11,kMa,3,4,"td",5),J(),I(12,7),P(13,lMa,2,0,"th",8),P(14,mMa,3,3,"td",5),J(),I(15,9),P(16,nMa,2,0,"th",10),P(17,oMa,3,3,"td",5),J(),I(18,11),P(19,pMa,2,0,"th",12),P(20,qMa,3,3,"td",5),J(),I(21,13),P(22,rMa,2,0,"th",14),P(23,sMa,3,3,"td",5),J(),I(24,15),P(25,tMa,2,0,"th",2),P(26,uMa,3,3,"td",5),J(),I(27,
16),P(28,vMa,2,0,"th",17),P(29,wMa,3,3,"td",5),J(),I(30,18),P(31,xMa,1,0,"th",2),P(32,yMa,2,1,"td",5),J(),P(33,zMa,1,0,"tr",19),P(34,AMa,1,1,"tr",20),F());if(a&2){var c,d;D("dataSource",b.rows$)("trackBy",b.trackBy)("matSortActive",null!==(c=null==(c=V(1,6,b.activeSort$))?null:c.active)&&void 0!==c?c:"")("matSortDirection",null!==(d=null==(d=V(2,8,b.activeSort$))?null:d.direction)&&void 0!==d?d:"");z(33);D("matHeaderRowDef",b.tableColumns);z(1);D("matRowDefColumns",b.tableColumns)}},dependencies:[FT,
GT,mM,eM,iM,fM,dM,jM,gM,hM,kM,lM,tL,eL,fL,UM,gL,hL,kL,rL,sL,uL,aN,Ew],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 IT=function(){};IT.\u0275fac=function(a){return new (a||IT)};IT.\u0275mod=od({type:IT});IT.\u0275inj=Wc({providers:[sgc],imports:[Mw,Mz]});var JT=function(){};JT.\u0275fac=function(a){return new (a||JT)};JT.\u0275mod=od({type:JT});JT.\u0275inj=Wc({imports:[Uy,Ky,ty,Mw,wx,YC,OC,IT,vO,yN,ID,xx,LG,iT,dO,DT,fO,hP,PP,bN]});var xgc=[1,2,3],A8a=new Map([[1,"Assignment"],[2,"Response"],[3,"Closure"]]),ygc=new Map([["name","Name"],["description","Description"],["parentId","Parent ID"],["elements","SLO rules"]]),E8a=new Map([[0,"Calendar"],[1,"Calendar"],[2,"Business"]]);var bl=function(a){Y.call(this,a)};W(bl,Y);bl.prototype.getComponentId=function(){return ol(this,1)};bl.prototype.setComponentId=function(a){return Tb(this,1,a)};bl.prototype.getEffectiveSloEditPolicy=function(){return tk(this,2,0)};var zgc=function(a){Y.call(this,a)};W(zgc,Y);zgc.messageId="b.GetComponentSloEditPolicyResponse";var Agc=function(a){Y.call(this,a)};W(Agc,Y);Agc.prototype.getTeamSloEditPolicy=function(){return Ok(this,mE,1)};Agc.messageId="b.GetTeamSloEditPolicyResponse";var Cgc=function(a){Y.call(this,a,-1,Bgc)};W(Cgc,Y);var Bgc=[1];Cgc.messageId="b.SloSearchResponse";var Dgc=function(a){Y.call(this,a)};W(Dgc,Y);Dgc.prototype.getTeamSloEditPolicy=function(){return Ok(this,mE,1)};Dgc.messageId="b.UpdateTeamSloEditPolicyResponse";var KT=function(a,b){this.activeSession=a;this.executor=b};g=KT.prototype;g.get=function(a){return this.executor.get({url:"action/slos/"+a,responseConstructor:kl}).pipe(B(jl))};g.getOwnedSlos=function(){return this.search("owner:"+this.activeSession.getUserEmail()+" include_archived:true")};g.search=function(a){return this.executor.get({url:"action/slos",options:{params:{query:a}},responseConstructor:Cgc}).pipe(B(function(b){var c;return(null!=(c=yj(b,kl,1))?c:[]).map(jl)}))};
g.create=function(a){a=cpa(a);return this.executor.post({url:"action/slos",body:a,responseConstructor:kl}).pipe(B(jl))};g.update=function(a){var b=a.sloId;a=cpa(a);return this.executor.post({url:"action/slos/"+b,body:a,responseConstructor:kl}).pipe(B(jl))};KT.\u0275fac=function(a){return new (a||KT)(n(Vt),n(KD))};KT.\u0275prov=Vc({token:KT,factory:KT.\u0275fac,providedIn:"root"});
var LT=function(a,b){this.observableSlosService=b;var c;this.slosCache=null!=(c=a.get("slos-second-level-cache"))?c:a.create("slos-second-level-cache",{capacity:25})};g=LT.prototype;g.get=function(a){var b=this.slosCache.get(a);return void 0!==b?b:this.slosCache.put(String(a),(0,C.firstValueFrom)(this.observableSlosService.get(a)))};g.getOwnedSlos=function(){return(0,C.firstValueFrom)(this.observableSlosService.getOwnedSlos())};g.search=function(a){return(0,C.firstValueFrom)(this.observableSlosService.search(a))};
g.create=function(a){return(0,C.firstValueFrom)(this.observableSlosService.create(a))};g.update=function(a){return(0,C.firstValueFrom)(this.observableSlosService.update(a))};LT.\u0275fac=function(a){return new (a||LT)(n(WG),n(KT))};LT.\u0275prov=Vc({token:LT,factory:LT.\u0275fac,providedIn:"root"});var MT=function(a,b){this.sloStatusHelpersService=a;this.dateFormatter=b;this.timeDisplayText="--";this.objectiveDisplayText=null;this.iconName="slo-status-no-data"};MT.prototype.getIconName=function(a){return Egc.has(a)?Egc.get(a):"slo-status-no-data"};
MT.prototype.setDisplayValues=function(a,b){this.iconName=this.getIconName(a);b=null!==b?s3b(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:sj("unknown status type: "+a)}};
MT.prototype.ngOnChanges=function(){var a=Date.now()/1E3;if(this.sloBounds&&CJ(this.sloBounds)){var b=this.sloBounds.targetTime.seconds,c=b-this.sloBounds.startTime.seconds;c?this.objectiveDisplayText=s3b(1E3*c):this.objectiveDisplayText=null;c=this.sloBounds;CJ(c)&&c.endTime&&0!==c.endTime.seconds&&c.endTime.seconds<=Date.now()/1E3?this.setDisplayValues("COMPLETED",a-this.sloBounds.endTime.seconds):b<a?this.setDisplayValues("OUT_OF_SLO",a-b):(c=this.sloStatusHelpersService.isSloSnoozed(this.sloSnoozeUntil),
a=b-a,this.setDisplayValues(259200<a?c?"SNOOZED_HEALTHY":"HEALTHY":c?"SNOOZED_NEAR":"NEAR",a))}else this.setDisplayValues("NO_DATA",null),this.objectiveDisplayText=null};MT.\u0275fac=function(a){return new (a||MT)(A(BJ),A(bL))};
MT.\u0275cmp=p({type:MT,selectors:[["b-slo-time-indicator"]],inputs:{sloBounds:"sloBounds",sloSnoozeUntil:"sloSnoozeUntil",includeSnoozeDetails:"includeSnoozeDetails",sloMetricDescription:"sloMetricDescription",includeObjective:"includeObjective"},features:[Hd],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&&(H(0,"mat-icon",0),E(1,"span",1)(2,"span",2),Q(3),
F()());a&2&&(D("ngClass",b.iconName)("svgIcon",b.iconName),ug("aria-label","--"===b.timeDisplayText?"No SLO data":""),z(1),Pg("matTooltip","",b.objectiveDisplayText," total"),D("matTooltipDisabled",!b.includeObjective||!b.objectiveDisplayText),z(2),Sg(b.timeDisplayText))},dependencies:[ww,jB,NC],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 Egc=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 NT=function(a){this.sloStatusHelpersService=a;this.includeNoSlo=!1};NT.prototype.ngOnInit=function(){Fgc(this);this.hasSlo=!!this.sloStatus&&DJ(this.sloStatus)};NT.prototype.ngOnChanges=function(){Fgc(this)};var Fgc=function(a){a.sloStatus&&(a.assignmentSlo=Ggc(kk(a.sloStatus.assignmentBounds)),a.responseSlo=Ggc(kk(a.sloStatus.responseBounds)),a.closureSlo=Ggc(kk(a.sloStatus.closureBounds)))};NT.prototype.isSloSnoozed=function(){return this.sloStatusHelpersService.isSloSnoozed(this.sloSnoozeUntil)};
var Ggc=function(a){if(CJ(a))return a};NT.\u0275fac=function(a){return new (a||NT)(A(BJ))};
NT.\u0275cmp=p({type:NT,selectors:[["b-slo-status-summary"]],inputs:{sloStatus:"sloStatus",sloSnoozeUntil:"sloSnoozeUntil",includeNoSlo:"includeNoSlo",onlyShowMetric:"onlyShowMetric"},features:[Hd],decls:3,vars:3,consts:[[4,"ngIf"],["sloMetricDescription","ASSIGNMENT",3,"sloSnoozeUntil","sloBounds","includeObjective"],["sloMetricDescription","RESPONSE",3,"sloSnoozeUntil","sloBounds","includeObjective"],["sloMetricDescription","CLOSURE",3,"sloSnoozeUntil","sloBounds","includeObjective"]],template:function(a,
b){a&1&&(P(0,DMa,2,3,"div",0),P(1,EMa,2,3,"div",0),P(2,FMa,2,3,"div",0));a&2&&(D("ngIf",(b.includeNoSlo||b.assignmentSlo)&&(!b.onlyShowMetric||"ASSIGNMENT"==b.onlyShowMetric)),z(1),D("ngIf",(b.includeNoSlo||b.responseSlo)&&(!b.onlyShowMetric||"RESPONSE"==b.onlyShowMetric)),z(1),D("ngIf",(b.includeNoSlo||b.closureSlo)&&(!b.onlyShowMetric||"CLOSURE"==b.onlyShowMetric)))},dependencies:[yw,MT],encapsulation:2,changeDetection:0});var OT=function(a,b,c,d){this.sloStatusHelpersService=a;this.paths=b;this.analytics=c;this.sloApi=d};OT.prototype.ngOnInit=function(){var a;if(a=!!this.sloStatus)a:switch(a=this.sloStatus,this.onlyShowMetric){case "ASSIGNMENT":a=CJ(a.assignmentBounds);break a;case "RESPONSE":a=CJ(a.responseBounds);break a;case "CLOSURE":a=CJ(a.closureBounds);break a;default:a=DJ(a)}this.hasSlo=a;"0"!==this.sloId?(this.editSloLink=this.paths.editSlo(this.sloId),Hgc(this)):this.editSloLink=null};
OT.prototype.trackOpenSlo=function(){this.analytics.trackEvent(Mp.EDIT_SLO,"open","fromSloStatusCard")};var Hgc=function(a){a.sloApi.get(a.sloId).then(function(b){a.sloName=b.name}).catch(function(){a.sloName=null})};OT.\u0275fac=function(a){return new (a||OT)(A(BJ),A(NG),A(wH),A(LT))};
OT.\u0275cmp=p({type:OT,selectors:[["slo-status-card"]],inputs:{sloId:"sloId",sloStatus:"sloStatus",sloSnoozeUntil:"sloSnoozeUntil",onlyShowMetric:"onlyShowMetric"},ngContentSelectors:["*"],decls:10,vars:4,consts:[[3,"onedevHovercardTrigger"],["card",""],["role","dialog","aria-label","SLO Hovercard",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"bv2-hovercard-narrow"],["class","slo-indicators",4,"ngIf"],["class","no-slo-message",4,"ngIf"],[4,"ngIf"],[1,"slo-indicators"],[3,"sloStatus",
"sloSnoozeUntil","onlyShowMetric"],[1,"no-slo-message"],["class","slo-link",3,"href","click",4,"ngIf"],[1,"slo-link",3,"href","click"]],template:function(a,b){a&1&&(Ng(),E(0,"span",0),Og(1),F(),E(2,"onedev-hovercard",null,1)(4,"div",2)(5,"div",3)(6,"div",4),P(7,GMa,2,3,"div",5),P(8,JMa,3,2,"div",6),P(9,MMa,4,2,"span",7),F()()()());if(a&2){var c=O(3);D("onedevHovercardTrigger",c);z(7);D("ngIf",b.hasSlo);z(1);D("ngIf",!b.hasSlo);z(1);D("ngIf",b.editSloLink)}},dependencies:[yw,iK,nK,NT],styles:[".onedev-hovercard-content[_ngcontent-%COMP%]{width:auto}hovercard-content[_ngcontent-%COMP%]   slo-time-indicator[_ngcontent-%COMP%]{display:inline-block;margin:2px 0}hovercard-content[_ngcontent-%COMP%]   .slo-indicators[_ngcontent-%COMP%]{margin-bottom:5px}hovercard-content[_ngcontent-%COMP%]   .no-slo-message[_ngcontent-%COMP%]{margin:2px 0 5px 2px}hovercard-content[_ngcontent-%COMP%]   .slo-link[_ngcontent-%COMP%]{margin-left:2px}\n/*# sourceMappingURL=slo_status_card.css.map */"]});var PT=function(a){this.sloStatusHelpersService=a;this.includeObjective=this.includeSloMetric=!1;this.firstOpenSlo=null;this.firstOpenSloMetric=""};PT.prototype.ngOnInit=function(){Igc(this)};PT.prototype.ngOnChanges=function(a){(a.sloStatus||a.includeSloMetric)&&Igc(this)};var Igc=function(a){var b=d1b(a.sloStatus);b?(a.firstOpenSlo=b.sloBounds,a.includeSloMetric?a.firstOpenSloMetric=b.sloMetric:a.firstOpenSloMetric=""):(a.firstOpenSlo=null,a.firstOpenSloMetric="")};
PT.\u0275fac=function(a){return new (a||PT)(A(BJ))};
PT.\u0275cmp=p({type:PT,selectors:[["b-aggregated-slo-status-indicator"]],inputs:{sloStatus:"sloStatus",sloSnoozeUntil:"sloSnoozeUntil",includeSloMetric:"includeSloMetric",includeObjective:"includeObjective"},features:[Hd],decls:1,vars:4,consts:[[3,"sloBounds","sloMetricDescription","sloSnoozeUntil","includeObjective"]],template:function(a,b){a&1&&H(0,"b-slo-time-indicator",0);a&2&&D("sloBounds",b.firstOpenSlo)("sloMetricDescription",b.firstOpenSloMetric)("sloSnoozeUntil",b.sloSnoozeUntil)("includeObjective",
b.includeObjective)},dependencies:[MT],encapsulation:2,changeDetection:0});var QT=function(){};QT.\u0275fac=function(a){return new (a||QT)};QT.\u0275mod=od({type:QT});QT.\u0275inj=Wc({imports:[Mw,OC,ID]});var RT=function(){};RT.\u0275fac=function(a){return new (a||RT)};RT.\u0275mod=od({type:RT});RT.\u0275inj=Wc({imports:[Mw,QT]});var ST=function(){};ST.\u0275fac=function(a){return new (a||ST)};ST.\u0275mod=od({type:ST});ST.\u0275inj=Wc({imports:[Mw,JN,RT]});var TT=function(){};TT.\u0275fac=function(a){return new (a||TT)};TT.\u0275mod=od({type:TT});TT.\u0275inj=Wc({imports:[Mw,QT]});var UT=function(a,b){this.dialogRef=b;this.supportedColumns=O4b;this.currentColumns=[];this.updatedColumns=this.currentColumns=a.currentColumns};UT.\u0275fac=function(a){return new (a||UT)(A(HA),A(FA))};
UT.\u0275cmp=p({type:UT,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&&(E(0,"h1",0),Q(1,"Show or Hide Columns"),F(),E(2,"div",1)(3,"div"),P(4,NMa,3,2,"div",2),U(5,"keyvalue"),F()(),
E(6,"div",3)(7,"button",4),K("click",function(){b.dialogRef.close(b.updatedColumns)}),Q(8," Save "),F()());a&2&&(z(4),D("ngForOf",V(5,1,b.supportedColumns)))},dependencies:[xw,tA,KA,LA,MA,DO,Jw],encapsulation:2});var $Ma="QA"===rn().config.environmentType?82860:1298542,VT=function(a,b,c,d){var e=this;this.hackyPrefs=a;this.issueFridge=b;this.issueFrFridge=c;this.data=d;this.makePie=Gsa;this.getEndDate=ZMa;this.Number=Number;this.makeCritiqueUrl=Fsa;this.makeScreenshotViewUrl=aNa;this.log=console.log.bind(console);this.issueId$=new C.ReplaySubject(1);this.issue$=this.issueId$.pipe(cg(this.issueFridge.watchOne));this.issueFr$=this.issueId$.pipe(cg(this.issueFrFridge.watchOne));this.projectData$=this.issueId$.pipe(cg(function(f){return xVb(e.data,
[f])}),$f({refCount:!0,bufferSize:1}))};Xi.Object.defineProperties(VT.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)}},prefs:{configurable:!0,enumerable:!0,get:function(){return this.hackyPrefs.prefs}}});VT.\u0275fac=function(a){return new (a||VT)(A(dI),A(BH),A(EH),A(tF))};
VT.\u0275cmp=p({type:VT,selectors:[["issue-as-immersed-card"]],inputs:{issueId:"issueId"},decls:2,vars:3,consts:[["class","carded bg-main",3,"collapsed","click",4,"ngIf"],[1,"carded","bg-main",3,"click"],[1,"flex-kids-x"],[1,"type-l","line-clamp-3"],[1,"subtle-link",3,"href"],[1,"symbol","arrow",3,"click"],[1,"muted","item-id"],["class","margin-left-auto flex-kids-x align-items-center","tabIndex","0",3,"click",4,"ngIf"],["class","flex-kids-x align-items-center gap stats margin-s-top",3,"click",4,
"ngIf"],[1,"margin-s-top"],[4,"ngIf"],["tabIndex","0",1,"margin-left-auto","flex-kids-x","align-items-center",3,"click"],[1,"collapsed-stats","margin-right"],["class","flex-kids-x align-items-center",4,"ngIf"],[3,"email",4,"ngFor","ngForOf"],[1,"flex-kids-x","align-items-center"],["aria-hidden","true","alt","","src","https://static.corp.google.com/devtools/codereview/new_logo_only.svg",2,"width","16px"],["target","_blank",1,"subtle-link",2,"color","var(--text-good)",3,"href"],[3,"email"],[1,"flex-kids-x",
"align-items-center","gap","stats","margin-s-top",3,"click"],[3,"issuePriority"],["href","#"],[1,"muted",3,"click"]],template:function(a,b){a&1&&(P(0,XMa,17,14,"div",0),U(1,"async"));a&2&&D("ngIf",V(1,1,b.issue$))},dependencies:[xw,yw,UK,iI,Ew,Lw],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 */']});
var YMa=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 Jgc=new Bd("mat-slide-toggle-default-options",{providedIn:"root",factory:function(){return{disableToggleValue:!1}}});new Bd("mat-slide-toggle-default-options",{providedIn:"root",factory:function(){return{disableToggleValue:!1}}});var Kgc=0,Lgc=aj(Yi(Zi($i(function(a){this._elementRef=a})))),WT=function(a,b,c,d,e,f,h){a=Lgc.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 Rv;a.toggleChange=new Rv;a.tabIndex=parseInt(d)||0;a.color=a.defaultColor=e.color||"accent";a._noopAnimations="NoopAnimations"===f;a.id=a._uniqueId=h+ ++Kgc;return a};
W(WT,Lgc);g=WT.prototype;g.ngAfterContentInit=function(){var a=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(b){"keyboard"===b||"program"===b?(a._focused=!0,a._changeDetectorRef.markForCheck()):b||Promise.resolve().then(function(){a._focused=!1;a._onTouched();a._changeDetectorRef.markForCheck()})})};g.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef)};g.writeValue=function(a){this.checked=!!a};g.registerOnChange=function(a){this._onChange=a};
g.registerOnTouched=function(a){this._onTouched=a};g.setDisabledState=function(a){this.disabled=a;this._changeDetectorRef.markForCheck()};g.toggle=function(){this.checked=!this.checked;this._onChange(this.checked)};g._emitChangeEvent=function(){this._onChange(this.checked);this.change.emit(this._createChangeEvent(this.checked))};
Xi.Object.defineProperties(WT.prototype,{required:{configurable:!0,enumerable:!0,get:function(){return this._required},set:function(a){this._required=bi(a)}},checked:{configurable:!0,enumerable:!0,get:function(){return this._checked},set:function(a){this._checked=bi(a);this._changeDetectorRef.markForCheck()}},inputId:{configurable:!0,enumerable:!0,get:function(){return(this.id||this._uniqueId)+"-input"}}});WT.\u0275fac=function(){pe()};
WT.\u0275dir=qd({type:WT,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:[qg]});var XT=function(){};XT.\u0275fac=function(a){return new (a||XT)};XT.\u0275mod=od({type:XT});XT.\u0275inj=Wc({});var Mgc=["input"],Ngc=function(a){return{enterDuration:a}},Ogc={provide:Ow,useExisting:cd(function(){return YT}),multi:!0},Pgc=function(a,b){this.source=a;this.checked=b},YT=function(a,b,c,d,e,f){return WT.call(this,a,b,c,d,e,f,"mat-slide-toggle-")||this};W(YT,WT);YT.\u0275dir=WT.\u0275dir;g=YT.prototype;g._createChangeEvent=function(a){return new Pgc(this,a)};
g._onChangeEvent=function(a){a.stopPropagation();this.toggleChange.emit();this.defaults.disableToggleValue?this._inputElement.nativeElement.checked=this.checked:(this.checked=this._inputElement.nativeElement.checked,this._emitChangeEvent())};g._onInputClick=function(a){a.stopPropagation()};g.focus=function(a,b){b?Ix(this._focusMonitor,this._inputElement,b,a):this._inputElement.nativeElement.focus(a)};g._onLabelTextChange=function(){this._changeDetectorRef.detectChanges()};
YT.\u0275fac=function(a){return new (a||YT)(A(ke),A(Hx),A(qw),ce("tabindex"),A(Jgc),A(cv,8))};
YT.\u0275cmp=p({type:YT,selectors:[["mat-slide-toggle"]],viewQuery:function(a,b){a&1&&ih(Mgc,5);if(a&2){var c;hh(c=kh())&&(b._inputElement=c.first)}},hostAttrs:[1,"mat-slide-toggle"],hostVars:13,hostBindings:function(a,b){a&2&&(Lg("id",b.id),ug("tabindex",null)("aria-label",null)("aria-labelledby",null)("name",null),Fg("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:[Ug([Ogc]),qg],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&&(Ng(),E(0,"label",0,1)(2,"span",2)(3,"input",3,4),K("change",function(e){return b._onChangeEvent(e)})("click",function(e){return b._onInputClick(e)}),F(),E(5,"span",5),H(6,"span",6),E(7,"span",
7),H(8,"span",8),F()()(),E(9,"span",9,10),K("cdkObserveContent",function(){return b._onLabelTextChange()}),E(11,"span",11),Q(12,"\u00a0"),F(),Og(13),F()());if(a&2){var c=O(1),d=O(10);ug("for",b.inputId);z(2);Fg("mat-slide-toggle-bar-no-side-margin",!d.textContent||!d.textContent.trim());z(1);D("id",b.inputId)("required",b.required)("tabIndex",b.tabIndex)("checked",b.checked)("disabled",b.disabled);ug("name",b.name)("aria-checked",b.checked)("aria-label",b.ariaLabel)("aria-labelledby",b.ariaLabelledby)("aria-describedby",
b.ariaDescribedby);z(4);D("matRippleTrigger",c)("matRippleDisabled",b.disableRipple||b.disabled)("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",Xg(18,Ngc,b._noopAnimations?0:150))}},dependencies:[Wz,Ry],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 ZT=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="title assignee status id modifiedTime menu".split(" ");this.myWorkIssueIds$=(0,C.of)([])};
ZT.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$=Qgc(this,this.isAssignedToMeOnly).pipe(B(function(a){return a.map(function(b){return b.issueId})}))};ZT.prototype.isCollapsed=function(){return this.prefs.collapsed["my-work"]};
var dNa=function(a,b){zVa(a.hackyPrefs,{showAssignedToMeOnly:b});a.myWorkIssueIds$=Qgc(a,b).pipe(B(function(c){return c.map(function(d){return d.issueId})}))},Qgc=function(a,b){return b?VZb(a.queryIssues):UZb(a.queryIssues)},Rgc=function(a){var b=Qn(),c=On()!==Pn?"(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};Xi.Object.defineProperties(ZT.prototype,{prefs:{configurable:!0,enumerable:!0,get:function(){return this.hackyPrefs.prefs}}});ZT.\u0275fac=function(a){return new (a||ZT)(A(XH),A(dI))};
ZT.\u0275cmp=p({type:ZT,selectors:[["my-work-card"]],inputs:{assignedOnly:"assignedOnly"},decls:38,vars:20,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",3,"click"],["class","icon-s","svgIcon","arrow-up",4,"ngIf"],["class","icon-s","svgIcon","arrow-down",4,"ngIf"],[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",""],["svgIcon","arrow-up",
1,"icon-s"],["svgIcon","arrow-down",1,"icon-s"],[3,"ngModel","ngModelChange","change"],[3,"issueIds","displayedColumns","assigneeMode"]],template:function(a,b){a&1&&(E(0,"div",0)(1,"header",1)(2,"div",2)(3,"span",3),Q(4),E(5,"button",4),K("click",function(){return wp(b.hackyPrefs,"my-work")}),P(6,bNa,1,0,"mat-icon",5),P(7,cNa,1,0,"mat-icon",6),F()(),E(8,"span",7),Q(9),F()(),E(10,"div",8),P(11,eNa,2,1,"mat-slide-toggle",9),E(12,"button",10),H(13,"mat-icon",11),F(),E(14,"mat-menu",null,12)(16,"button",
13),K("click",function(){return Hq(b.hackyPrefs,b.selfReference,-1)}),H(17,"mat-icon",14),E(18,"span",15),Q(19,"Move up"),F()(),E(20,"button",13),K("click",function(){return Hq(b.hackyPrefs,b.selfReference,1)}),H(21,"mat-icon",16),E(22,"span",15),Q(23,"Move down"),F()(),H(24,"mat-divider"),E(25,"button",17),K("click",function(){return Iq(b.hackyPrefs,b.selfReference)}),H(26,"mat-icon",18),E(27,"span",15),Q(28,"Remove"),F()()()()(),E(29,"div",19),P(30,fNa,2,3,"ng-container",20),U(31,"slice"),U(32,
"async"),E(33,"div",21)(34,"a",22),Q(35,"View all issues"),F()(),P(36,gNa,1,0,"ng-template",null,23,qh),F()());if(a&2){var c=O(15),d=O(37);Fg("collapsed",b.isCollapsed());z(4);R(" ",b.isAssignedToMeOnly?"Assigned To Me":"My Related Issues"," ");z(1);ug("aria-label",b.isCollapsed()?"Expand card":"Collapse card");z(1);D("ngIf",!b.isCollapsed());z(1);D("ngIf",b.isCollapsed());z(2);R(" ",b.isAssignedToMeOnly?"":"assigned, starred, commented, reported"," ");z(2);D("ngIf",!b.hideAssignedSetting);z(1);D("matMenuTriggerFor",
c);z(4);D("disabled",!Jq(b.hackyPrefs,b.selfReference,-1));z(4);D("disabled",!Jq(b.hackyPrefs,b.selfReference,1));z(10);D("ngIf",ah(31,14,V(32,18,b.myWorkIssueIds$),0,15))("ngIfElse",d);z(4);D("href",Rgc(b),Ie)}},dependencies:[yw,tA,jB,nM,zM,FC,DC,EC,AM,YT,ax,hx,Ew,Lw],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 */"]});var $T=function(a){Y.call(this,a)};W($T,Y);$T.prototype.getSearch=function(){return Ok(this,Lo,1)};$T.prototype.setSearch=function(a){gl(this,Lo,1,a)};$T.messageId="b.SearchResponse";var aU=function(a){this.jspbExecutor=a};aU.prototype.get=function(a){return this.jspbExecutor.get({url:"action/saved_searches/"+a,responseConstructor:$T}).pipe(B(hNa))};aU.prototype.create=function(a,b){var c=new Lo;c.setName(a);c.setQuery(b);return this.jspbExecutor.post({url:"action/saved_searches",body:c,responseConstructor:$T}).pipe(B(hNa))};
aU.prototype.update=function(a,b){var c=new Lo;k(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(nva));var e;c.setDisplayColumnList((null!=(e=b.displayColumn)?e:[]).map(lva));var f;c.setAdminUsersList((null!=(f=b.adminUsers)?f:[]).map(fk));return this.jspbExecutor.post({url:"action/saved_searches/"+a,body:c,responseConstructor:$T}).pipe(B(hNa))};
aU.prototype.delete=function(a){return this.jspbExecutor.delete({url:"action/saved_searches/"+a,responseConstructor:null})};aU.\u0275fac=function(a){return new (a||aU)(n(KD))};aU.\u0275prov=Vc({token:aU,factory:aU.\u0275fac,providedIn:"root"});var bU=function(a){this.observableResources=a};bU.prototype.get=function(a){return(0,C.firstValueFrom)(this.observableResources.get(a))};bU.prototype.create=function(a,b){return(0,C.firstValueFrom)(this.observableResources.create(a,b))};
bU.prototype.update=function(a,b){return(0,C.firstValueFrom)(this.observableResources.update(a,b))};bU.prototype.delete=function(a){return(0,C.firstValueFrom)(this.observableResources.delete(a))};bU.\u0275fac=function(a){return new (a||bU)(n(aU))};bU.\u0275prov=Vc({token:bU,factory:bU.\u0275fac,providedIn:"root"});var mNa=function(){return[]},cU=function(a,b,c,d,e){var f=this;this.issueFridge=a;this.savedSearchesApi=b;this.data=c;this.hackyPrefs=d;this.projectActivity=e;this.makeCritiqueUrl=Fsa;this.savedSearchId$=new C.ReplaySubject(1);this.savedSearchIssueIds$=this.savedSearchId$.pipe(cg(function(h){return f.issueFridge.watchMany({filter:"savedsearchid:"+h+" status:open",pageSize:100,sort:"modified_time:desc"})}),B(function(h){return h.results}),B(function(h){return h.map(function(l){return l.issueId})}));
this.savedSearchMetadata$=this.savedSearchId$.pipe(cg(function(h){return f.savedSearchesApi.get(h)}));this.savedSearchActivityEvents$=this.savedSearchId$.pipe(cg(function(h){return t_b(f.projectActivity,h)}));this.savedSearchAggregatedData$=this.savedSearchIssueIds$.pipe(cg(function(h){return CVb(f.data,[].concat(r(h)))}),$f({refCount:!0,bufferSize:1}));this.columnsToDisplay="title assignee priority status id menu".split(" ")};
cU.prototype.isCollapsed=function(a){a=a.searchId;return this.addMode||this.prefs.collapsed["savedsearch-"+a]};cU.prototype.reorder=function(a,b){Hq(this.hackyPrefs,Mn(a),b)};cU.prototype.canMove=function(a,b){return Jq(this.hackyPrefs,Mn(a),b)};Xi.Object.defineProperties(cU.prototype,{savedSearchId:{configurable:!0,enumerable:!0,set:function(a){this.savedSearchId$.next(a)}},prefs:{configurable:!0,enumerable:!0,get:function(){return this.hackyPrefs.prefs}}});
cU.\u0275fac=function(a){return new (a||cU)(A(BH),A(aU),A(tF),A(dI),A(gI))};
cU.\u0275cmp=p({type:cU,selectors:[["saved-search-as-project-card"]],inputs:{addMode:"addMode",savedSearchId:"savedSearchId"},decls:2,vars:3,consts:[["class","carded bg-main",3,"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"],[1,"symbol","arrow",3,"click"],[1,"muted","item-id"],
[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"],["class","margin-left-auto flex-kids-x align-items-center",4,"ngIf"],[1,"margin-left-auto","flex-kids-x","align-items-center"],[1,"collapsed-stats","margin-right"],["class","flex-kids-x align-items-center",4,"ngIf"],["class","contributor-avatar",
3,"email",4,"ngFor","ngForOf"],["mat-icon-button","","aria-label","More options","aria-haspopup","true",1,"gmat-button","card-overflow",3,"matMenuTriggerFor"],["svgIcon","more-settings-vertical",1,"icon-m"],[1,"flex-kids-x","align-items-center"],["aria-hidden","true","alt","","src","https://static.corp.google.com/devtools/codereview/new_logo_only.svg",2,"width","16px"],["target","_blank",1,"subtle-link",2,"color","var(--text-good)",3,"href"],[1,"contributor-avatar",3,"email"],["class","flex-kids-x align-items-center gap stats",
4,"ngIf"],[1,"flex-kids-x","align-items-center","gap","stats"],["target","_blank","class","subtle-link","style","color: var(--text-good)",3,"href",4,"ngIf"],[1,"main-content"],[1,"margin-s-top"],[3,"href"],[3,"issueIds","displayedColumns","assigneeMode"],[4,"ngIf","ngIfElse"],["loading",""],[3,"activityEvents"]],template:function(a,b){a&1&&(P(0,wNa,32,11,"div",0),U(1,"async"));a&2&&D("ngIf",V(1,1,b.savedSearchMetadata$))},dependencies:[xw,yw,tA,jB,UK,nM,zM,FC,DC,EC,AM,vM,Ew,Lw],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}.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);cursor:pointer}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}.add-mode[_ngcontent-%COMP%]   .symbol.arrow[_ngcontent-%COMP%]{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 */']});var dU=function(){};dU.\u0275fac=function(a){return new (a||dU)};dU.\u0275mod=od({type:dU});dU.\u0275inj=Wc({imports:[Mw,DP,JN,IN]});var eU=function(){};eU.\u0275fac=function(a){return new (a||eU)};eU.\u0275mod=od({type:eU});eU.\u0275inj=Wc({imports:[Mw]});var fU=function(){};fU.\u0275fac=function(a){return new (a||fU)};fU.\u0275mod=od({type:fU});fU.\u0275inj=Wc({imports:[Mz,Mz]});new Bd("ListOption");new Bd("MAT_LIST_CONFIG");new Bd("SelectionList");new Bd("MatList");new Bd("MatNavList");$i(Zi(function(){}));Zi(function(){});var gU=function(){};gU.\u0275fac=function(a){return new (a||gU)};gU.\u0275dir=qd({type:gU,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]});var hU=function(){};hU.\u0275fac=function(a){return new (a||hU)};hU.\u0275dir=qd({type:hU,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]});var Sgc=["text"],Tgc=["*",[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]]],Ugc=Zi(function(){}),Vgc=Zi(function(){}),Wgc={provide:Ow,useExisting:cd(function(){return iU}),multi:!0},Xgc=function(a,b){this.source=a;this.options=b},jU=function(a,b,c){var d=Vgc.call(this)||this;d._element=a;d._changeDetector=b;d.selectionList=c;d._selected=!1;d._disabled=!1;d._hasFocus=!1;d.selectedChange=new Rv;d.checkboxPosition="after";d._inputsInitialized=!1;return d};
W(jU,Vgc);g=jU.prototype;g.ngOnInit=function(){var a=this,b=this.selectionList;b._value&&b._value.some(function(d){return b.compareWith(a._value,d)})&&this._setSelected(!0);var c=this._selected;Promise.resolve().then(function(){if(a._selected||c)a.selected=!0,a._changeDetector.markForCheck()});this._inputsInitialized=!0};g.ngAfterContentInit=function(){lma(this._lines,this._element)};
g.ngOnDestroy=function(){var a=this;this.selected&&Promise.resolve().then(function(){a.selected=!1});var b=this._hasFocus,c=this.selectionList._removeOptionFromList(this);b&&c&&c.focus()};g.toggle=function(){this.selected=!this.selected};g.focus=function(){this._element.nativeElement.focus()};g.getLabel=function(){return this._text?this._text.nativeElement.textContent||"":""};g._isRippleDisabled=function(){return this.disabled||this.disableRipple||this.selectionList.disableRipple};
g._handleClick=function(){this.disabled||!this.selectionList.multiple&&this.selected||(this.toggle(),this.selectionList._emitChangeEvent([this]))};g._handleFocus=function(){this.selectionList._setFocusedOption(this);this._hasFocus=!0};g._handleBlur=function(){this.selectionList._onTouched();this._hasFocus=!1};g._getHostElement=function(){return this._element.nativeElement};
g._setSelected=function(a){if(a===this._selected)return!1;(this._selected=a)?this.selectionList.selectedOptions.select(this):this.selectionList.selectedOptions.deselect(this);this.selectedChange.emit(a);this._changeDetector.markForCheck();return!0};g._markForCheck=function(){this._changeDetector.markForCheck()};
Xi.Object.defineProperties(jU.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=bi(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=bi(a);a!==this._selected&&(this._setSelected(a),(a||this.selectionList.multiple)&&this.selectionList._reportValueChange())}}});jU.\u0275fac=function(a){return new (a||jU)(A(ke),A(qw),A(cd(function(){return iU})))};
jU.\u0275cmp=p({type:jU,selectors:[["mat-list-option"]],contentQueries:function(a,b,c){a&1&&(jh(c,gU,5),jh(c,hU,5),jh(c,Tz,5));if(a&2){var d;hh(d=kh())&&(b._avatar=d.first);hh(d=kh())&&(b._icon=d.first);hh(d=kh())&&(b._lines=d)}},viewQuery:function(a,b){a&1&&ih(Sgc,5);if(a&2){var c;hh(c=kh())&&(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&&K("focus",function(){return b._handleFocus()})("blur",function(){return b._handleBlur()})("click",
function(){return b._handleClick()});a&2&&(ug("aria-selected",b.selected)("aria-disabled",b.disabled)("tabindex",-1),Fg("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:[qg],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&&(Ng(Tgc),E(0,"div",0),H(1,"div",1),P(2,xNa,1,2,"mat-pseudo-checkbox",
2),E(3,"div",3,4),Og(5),F(),Og(6,1),F());a&2&&(Fg("mat-list-item-content-reverse","after"==b.checkboxPosition),z(1),D("matRippleTrigger",b._getHostElement())("matRippleDisabled",b._isRippleDisabled()),z(1),D("ngIf",b.selectionList.multiple))},dependencies:[Wz,Xz,yw],encapsulation:2,changeDetection:0});
var iU=function(a,b,c){var d=Ugc.call(this)||this;d._element=a;d._changeDetector=b;d._focusMonitor=c;d._multiple=!0;d._contentInitialized=!1;d.selectionChange=new Rv;d.color="accent";d.compareWith=function(e,f){return e===f};d._disabled=!1;d.selectedOptions=new sz(d._multiple);d._tabIndex=-1;d._onChange=function(){};d._destroyed=new C.Subject;d._onTouched=function(){};return d};W(iU,Ugc);g=iU.prototype;
g.ngAfterContentInit=function(){var a=this;this._contentInitialized=!0;this._keyManager=pKb(nKb(cz(qKb(az(new fz(this.options)))),function(){return!1}));this._value&&this._setOptionsFromValues(this._value);this._keyManager.tabOut.subscribe(function(){return a._allowFocusEscape()});this.options.changes.pipe(bg(null),dg(this._destroyed)).subscribe(function(){a._updateTabIndex()});this.selectedOptions.changed.pipe(dg(this._destroyed)).subscribe(function(b){if(b.added)for(var c=m(b.added),d=c.next();!d.done;d=
c.next())d.value.selected=!0;if(b.removed)for(b=m(b.removed),d=b.next();!d.done;d=b.next())d.value.selected=!1});this._focusMonitor.monitor(this._element).pipe(dg(this._destroyed)).subscribe(function(b){if("keyboard"===b||"program"===b){for(var c=b=0;c<a.options.length;c++){var d=void 0;if(null==(d=a.options.get(c))?0:d.selected){b=c;break}}a._keyManager.setActiveItem(b)}})};g.ngOnChanges=function(a){var b=a.disableRipple;a=a.color;(b&&!b.firstChange||a&&!a.firstChange)&&this._markOptionsForCheck()};
g.ngOnDestroy=function(){var a;null==(a=this._keyManager)||a.destroy();this._focusMonitor.stopMonitoring(this._element);this._destroyed.next();this._destroyed.complete();this._isDestroyed=!0};g.focus=function(a){this._element.nativeElement.focus(a)};g.selectAll=function(){this._setAllOptionsSelected(!0)};g.deselectAll=function(){return this._setAllOptionsSelected(!1)};g._setFocusedOption=function(a){dz(this._keyManager,a)};
g._removeOptionFromList=function(a){a=this._getOptionIndex(a);-1<a&&this._keyManager.activeItemIndex===a&&(0<a?dz(this._keyManager,a-1):0===a&&1<this.options.length&&dz(this._keyManager,Math.min(a+1,this.options.length-1)));return this._keyManager.activeItem};
g._keydown=function(a){var b=a.keyCode,c=this._keyManager,d=c.activeItemIndex,e=hi(a);switch(b){case 32:case 13:e||0<c._pressedLetters.length||(this._toggleFocusedOption(),a.preventDefault());break;default:if(65!==b||!this.multiple||!hi(a,"ctrlKey")||0<c._pressedLetters.length)c.onKeydown(a);else e=this.options.some(function(f){return!f.disabled&&!f.selected}),this._setAllOptionsSelected(e,!0,!0),a.preventDefault()}this.multiple&&(38===b||40===b)&&a.shiftKey&&c.activeItemIndex!==d&&this._toggleFocusedOption()};
g._reportValueChange=function(){if(this.options&&!this._isDestroyed){var a=this._getSelectedOptionValues();this._onChange(a);this._value=a}};g._emitChangeEvent=function(a){this.selectionChange.emit(new Xgc(this,a))};g.writeValue=function(a){this._value=a;this.options&&this._setOptionsFromValues(a||[])};g.setDisabledState=function(a){this.disabled=a};g.registerOnChange=function(a){this._onChange=a};g.registerOnTouched=function(a){this._onTouched=a};
g._setOptionsFromValues=function(a){var b=this;this.options.forEach(function(c){return c._setSelected(!1)});a.forEach(function(c){var d=b.options.find(function(e){return e.selected?!1:b.compareWith(e.value,c)});d&&d._setSelected(!0)})};g._getSelectedOptionValues=function(){return this.options.filter(function(a){return a.selected}).map(function(a){return a.value})};
g._toggleFocusedOption=function(){var a=this._keyManager.activeItemIndex;null!=a&&this._isValidIndex(a)&&(!(a=this.options.toArray()[a])||a.disabled||!this._multiple&&a.selected||(a.toggle(),this._emitChangeEvent([a])))};g._setAllOptionsSelected=function(a,b,c){var d=[];this.options.forEach(function(e){b&&e.disabled||!e._setSelected(a)||d.push(e)});d.length&&(this._reportValueChange(),c&&this._emitChangeEvent(d));return d};g._isValidIndex=function(a){return 0<=a&&a<this.options.length};
g._getOptionIndex=function(a){return this.options.toArray().indexOf(a)};g._markOptionsForCheck=function(){this.options&&this.options.forEach(function(a){return a._markForCheck()})};g._allowFocusEscape=function(){var a=this;this._tabIndex=-1;setTimeout(function(){a._tabIndex=0;a._changeDetector.markForCheck()})};g._updateTabIndex=function(){this._tabIndex=0===this.options.length?-1:0};
Xi.Object.defineProperties(iU.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){this._disabled=bi(a);this._markOptionsForCheck()}},multiple:{configurable:!0,enumerable:!0,get:function(){return this._multiple},set:function(a){a=bi(a);a!==this._multiple&&(this._multiple=a,this.selectedOptions=new sz(this._multiple,this.selectedOptions.selected))}}});iU.\u0275fac=function(a){return new (a||iU)(A(ke),A(qw),A(Hx))};
iU.\u0275cmp=p({type:iU,selectors:[["mat-selection-list"]],contentQueries:function(a,b,c){a&1&&jh(c,jU,5);if(a&2){var d;hh(d=kh())&&(b.options=d)}},hostAttrs:["role","listbox",1,"mat-selection-list","mat-list-base"],hostVars:3,hostBindings:function(a,b){a&1&&K("keydown",function(c){return b._keydown(c)});a&2&&ug("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:[Ug([Wgc]),qg,Hd],ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(Ng(),Og(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 kU=function(){};kU.\u0275fac=function(a){return new (a||kU)};kU.\u0275mod=od({type:kU});kU.\u0275inj=Wc({imports:[Uz,Zz,Mz,$z,Mw,Uz,Mz,$z,fU]});var lU=function(){};lU.\u0275fac=function(a){return new (a||lU)};lU.\u0275mod=od({type:lU});lU.\u0275inj=Wc({imports:[Mw,GC,YC,NA,fU,YA,kU,ID,vO,OC,iO,iP,wx,uP]});var mU=function(){};mU.\u0275fac=function(a){return new (a||mU)};mU.\u0275mod=od({type:mU});mU.\u0275inj=Wc({imports:[Mw,iT,eU,eO,YC,OC,ID,lU,uP]});var nU=function(){};nU.\u0275fac=function(a){return new (a||nU)};nU.\u0275mod=od({type:nU});nU.\u0275inj=Wc({imports:[iT,mU,nP,Mw,IN,JN,bP,YC,OC,ID,lU,cO,PP,DP]});var oU=function(){this.admins=[]};oU.prototype.ngOnInit=function(){this.url="hotlists/"+this.hotlist.hotlistId;this.admins=Zj(this.hotlist.adminUsers)};oU.\u0275fac=function(a){return new (a||oU)};
oU.\u0275cmp=p({type:oU,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&&(E(0,"div",0)(1,"div",1)(2,"div",2)(3,"h3")(4,"a",3),Q(5),F()(),E(6,"ul")(7,"li"),Q(8),F(),E(9,"li"),Q(10),F()(),E(11,"div")(12,"p"),Q(13),F()()()()());a&2&&(z(4),D("href",b.url,Ie),z(1),Sg(b.hotlist.name),z(3),R("ID: ",b.hotlist.hotlistId,""),z(2),Tg("",1===
b.admins.length?"Admin":"Admins",": ",b.admins.join(", "),""),z(3),Sg(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 Ygc={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"},Zgc=new Bd("routes",{providedIn:"root",factory:function(){return Ygc}}),pU=function(a){this.routes=a};g=pU.prototype;g.createIssue=function(a){return Kq(this.routes.CREATE_ISSUE,{params:a})};g.editIssue=function(a,b){return Lq(this.routes.EDIT_ISSUE(a),{id:a,params:b})};g.listIssues=function(a){return Kq(this.routes.LIST_ISSUES,{params:a})};g.viewSavedSearch=function(a){return Lq(this.routes.VIEW_SAVEDSEARCH(a),{id:a,params:void 0})};
g.viewHotlist=function(a){return Lq(this.routes.VIEW_HOTLIST(a),{id:a})};g.editHotlist=function(a){return Kq(this.routes.EDIT_HOTLIST(a),{id:a,tab:void 0})};g.createHotlist=function(){return this.routes.CREATE_HOTLIST};g.createBookmarkGroup=function(){return this.routes.CREATE_BOOKMARK_GROUP};g.viewBookmarkGroup=function(a){return Lq(this.routes.VIEW_BOOKMARK_GROUP(a),{id:a})};g.editBookmarkGroup=function(a){return Kq(this.routes.EDIT_BOOKMARK_GROUP(a),{id:a})};
g.editSavedSearch=function(a){return Kq(this.routes.EDIT_SAVED_SEARCH(a),{id:a})};g.dashboard=function(a){return Kq(this.routes.DASHBOARD(a),{id:a})};g.issuesCsvAction=function(a,b,c,d){b=this.toApiSortParamValue(b);c=yNa(c);return $B("action/issues/csv","q",a,"s",b,"c",c,"h",d)};g.hotlistIssuesCsvAction=function(a,b,c,d){a="action/hotlists/"+a+"/issues/csv";b=this.toApiSortParamValue(b);(c=yNa(c))&&(c="position,"+c);return $B(a,"s",b,"c",c,"h",d)};
g.toApiSortParamValue=function(a){return a&&a.length?a.map(function(b){return b.toApiUrlParam()}).join(","):null};g.getAttachmentAction=function(a,b){return"action/issues/"+a.toString()+"/attachments/"+b.toString()};g.listComponents=function(){return Kq(this.routes.LIST_COMPONENTS,{params:void 0})};g.viewComponent=function(a,b){return Lq(this.routes.VIEW_COMPONENT(a),{id:a,tab:b})};g.manageComponent=function(a,b){return Lq(this.routes.MANAGE_COMPONENT(a),{id:a,tab:b})};
g.createComponent=function(a){return Kq(this.routes.CREATE_COMPONENT,{params:a})};g.editComponent=function(a,b){return Kq(this.routes.EDIT_COMPONENT(a),{id:a,tab:b})};g.createSlo=function(){return Kq(this.routes.CREATE_SLO,{params:void 0})};g.editSlo=function(a){return Kq(this.routes.EDIT_SLO(a),{id:a,tab:void 0})};g.listSlos=function(){return Kq(this.routes.LIST_SLOS,{params:void 0})};g.listHotlists=function(){return this.routes.LIST_HOTLISTS};pU.\u0275fac=function(a){return new (a||pU)(n(Zgc))};
pU.\u0275prov=Vc({token:pU,factory:pU.\u0275fac,providedIn:"root"});var qU=function(a){this.pathBuilder=a;this.showHovercard=this.removable=!0;this.disabled=!1;this.removeHotlist=new Rv};qU.prototype.getAriaLabel=function(a){return"hotlist: "+a.name};qU.\u0275fac=function(a){return new (a||qU)(A(pU))};
qU.\u0275cmp=p({type:qU,selectors:[["b-hotlist-chip"]],inputs:{hotlist:"hotlist",removable:"removable",showHovercard:"showHovercard",disabled:"disabled"},outputs:{removeHotlist:"removeHotlist"},decls:1,vars:1,consts:[[4,"ngIf"],[1,"chip",3,"onedevHovercardTrigger","onedevHovercardActive"],[1,"name"],[1,"keep-focus-ring",3,"href"],["mat-icon-button","",3,"invisible","click",4,"ngIf"],["card","onedevHovercard"],[3,"hotlist"],["mat-icon-button","",3,"click"],["svgIcon","close"]],template:function(a,
b){a&1&&P(0,ANa,9,11,"ng-container",0);a&2&&D("ngIf",b.hotlist)},dependencies:[yw,iK,nK,oU,jB,tA],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 rU=function(a,b){this.hotlists=a;this.userAccess=b;this.id$=new C.ReplaySubject(1);this.removeHotlist=new Rv;this.removable=!0;this.hotlist$=this.id$.pipe(cg(this.hotlists.watch));this.isDisabled$=(0,C.combineLatest)([this.id$,this.id$.pipe(cg(this.hotlists.isSaving$))]).pipe(B(function(c){var d=m(c);c=d.next().value;d=d.next().value;return null==c?!1:d?!0:!1}))};
rU.prototype.ngOnInit=function(){var a=this;this.removable$="check-acl"===this.removable?this.id$.pipe(cg(function(b){return JF(a.userAccess,"appender","hotlists/"+b)})):(0,C.of)(this.removable)};Xi.Object.defineProperties(rU.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.idInternal=String(a);this.id$.next(String(a))}}});rU.\u0275fac=function(a){return new (a||rU)(A(hH),A(IF))};
rU.\u0275cmp=p({type:rU,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&&(E(0,"b-hotlist-chip",0),K("removeHotlist",function(){null==b.idInternal?sj("Missing id"):b.removeHotlist.emit()}),U(1,"async"),U(2,"async"),U(3,"async"),F());if(a&2){var c;D("hotlist",V(1,3,b.hotlist$))("disabled",!0===V(2,5,b.isDisabled$))("removable",null!==
(c=V(3,7,b.removable$))&&void 0!==c?c:!1)}},dependencies:[qU,Ew],encapsulation:2,changeDetection:0});var sU=function(a,b,c,d){Z.call(this);this.prefs=a;this.cdr=b;this.analytics=c;this.butterBar=d;this.on$=this.prefs.showFullHistory$;this.isSaving=!1;this.tooltip$=this.on$.pipe(B(function(e){return e?"(Showing full history) Click for major events only":"(Showing major events) Click for full history"}),bg(""))};W(sU,Z);sU.\u0275dir=Z.\u0275dir;
sU.prototype.onClick=function(){var a=this,b;return of(function(c){if(1==c.nextAddress)return a.isSaving?c.return():c.yield((0,C.firstValueFrom)(a.on$),2);b=c.yieldResult;a.save(!b);tf(c)})};
sU.prototype.save=function(a){var b=this;this.analytics.trackEvent(Mp.EDIT_ISSUE,"toggleShowFullHistory",String(a));this.isSaving=!0;var c=(0,C.firstValueFrom)(this.prefs.save({showFullHistory:a}));c.then(function(){b.isSaving=!1;b.cdr.markForCheck()});c.catch(function(){XF(b.butterBar,'Couldn\'t save "full history" setting.');b.isSaving=!1;b.cdr.markForCheck()});this.prefs.save({commentFilterPreferences:{commentFilter:a?"FULL_HISTORY":"ALL_COMMENTS"}}).pipe(dg(this.destroyed$)).subscribe()};
sU.\u0275fac=function(a){return new (a||sU)(A(ZI),A(qw),A(wH),A(VF))};
sU.\u0275cmp=p({type:sU,selectors:[["smart-full-history-btn"]],features:[qg],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&&(E(0,"button",0),K("click",function(){return b.onClick()}),U(1,"async"),U(2,"async"),U(3,"async"),U(4,"async"),P(5,BNa,1,0,"mat-icon",1),P(6,CNa,1,0,"b-spinner",2),F());a&2&&(Fg("on",V(1,8,b.on$)),D("matTooltip",
V(2,10,b.tooltip$))("disabled",b.isSaving),ug("aria-pressed",V(3,12,b.on$))("aria-label",V(4,14,b.tooltip$)),z(5),D("ngIf",!b.isSaving),z(1),D("ngIf",b.isSaving))},dependencies:[yw,tA,jB,NC,zM,Ew],styles:["mat-icon[_ngcontent-%COMP%] {\n      display: flex;\n      margin: 0 auto;\n    }\n    [_nghost-%COMP%]     .on .mat-spinner circle {\n      stroke: var(--text-inverse); \n    }"],changeDetection:0});var tU=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 Rv;this.isAnonymous=this.activeSession.isAnonymous()};g=tU.prototype;g.onClick=function(a){a.stopPropagation();this.acceptInput&&(this.starClicked.emit(!!this.starred),this.cdr.detectChanges())};g.onEnter=function(a){this.onClick(a)};g.isDisabled=function(){return this.isAnonymous||this.disabled};
g.getLabel=function(){return this.isAnonymous?"Sign in to use full features.":this.starred?this.unStarMessage:this.starMessage};g.getAriaLabel=function(){return this.isAnonymous?"Sign in to use full features.":this.starMessage};tU.\u0275fac=function(a){return new (a||tU)(A(Vt),A(sH))};
tU.\u0275cmp=p({type:tU,selectors:[["b-star-toggle"]],inputs:{starred:"starred",disabled:"disabled",acceptInput:"acceptInput",starMessage:"starMessage",unStarMessage:"unStarMessage"},outputs:{starClicked:"starClicked"},features:[Ug([sH])],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=t();E(0,"div",
0,1)(2,"button",2);K("keydown.enter",function(d){return b.onEnter(d)})("click",function(d){return b.onClick(d)})("focus",function(){v(c);var d=O(1);return w(d.show())})("blur",function(){v(c);var d=O(1);return w(d.hide())});H(3,"mat-icon",3);F()()}a&2&&(D("matTooltip",b.getLabel()),z(2),Fg("starred",b.starred),D("disabled",b.isDisabled()),ug("aria-label",b.getAriaLabel())("aria-checked",b.starred),z(1),D("svgIcon",b.starred?"star-filled":"star-empty"))},dependencies:[tA,jB,NC],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 uU=function(a,b){this.paths=a;this.activeSession=b;this.isCompact=!1;this.starClicked=new Rv;this.currentUserEmail=this.activeSession.getUserEmail()};uU.prototype.ngOnInit=function(){};uU.prototype.isDirectAdmin=function(a){return a?Zj(a.adminUsers).includes(this.currentUserEmail):!1};uU.prototype.shouldShowStar=function(a){return!this.isDirectAdmin(a)&&!a.archived};uU.\u0275fac=function(a){return new (a||uU)(A(NG),A(Vt))};
uU.\u0275cmp=p({type:uU,selectors:[["hotlist-matlist-option"]],inputs:{hotlist:"hotlist",isCompact:"isCompact",starredHotlists:"starredHotlists",isSavingStar:"isSavingStar"},outputs:{starClicked:"starClicked"},decls:1,vars:1,consts:[["class","hotlist-matlist-option",4,"ngIf"],[1,"hotlist-matlist-option"],[1,"title-line"],[1,"overflow-ellipsis"],[1,"hotlist-link-and-star","flex-kids-x","align-items-center","gap-xs"],["class","valign-middle",3,"starMessage","unStarMessage","acceptInput","starred","starClicked",
4,"ngIf"],["matTooltip","Open hotlist in a new tab","target","_blank",1,"keep-focus-ring",3,"routerLink","click","keydown.enter"],["svgIcon","pop-out",1,"icon-s"],["class","line-clamp-2 muted type-s",4,"ngIf"],[1,"valign-middle",3,"starMessage","unStarMessage","acceptInput","starred","starClicked"],[1,"line-clamp-2","muted","type-s"]],template:function(a,b){a&1&&P(0,FNa,9,4,"div",0);a&2&&D("ngIf",b.hotlist)},dependencies:[yw,jB,HG,tU,NC,Ew],encapsulation:2,changeDetection:0});var $gc=function(){this.tokens=new Map};$gc.prototype.add=function(a,b){var c=this.tokens.get(a);c?c.push(b):this.tokens.set(a,[b]);return this};$gc.prototype.build=function(){var a=this,b=Array.from(this.tokens.keys()).sort();return new ahc(b.map(function(c){return{token:c,labels:a.tokens.get(c)}}))};var ahc=function(a){this.sortedEntries=a};
ahc.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};ahc.prototype.search=function(a){var b=new Set;a=m(this.match(a));for(var c=a.next();!c.done;c=a.next()){c=m(c.value.labels);for(var d=c.next();!d.done;d=c.next())b.add(d.value)}return b};
var bhc=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(r(a.search(b[d]))).filter(function(f){return c.has(f)});c=new Set(e)}return c};var chc=function(a){this.hotlists=a;var b=new $gc,c=new $gc;a=m(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=void 0,f=(null==(e=d.name)?0:e.trim())?bya(d.name.toLowerCase()):[];f=m(f);for(e=f.next();!e.done;e=f.next())b.add(e.value,d);e=void 0;f=(null==(e=d.description)?0:e.trim())?bya(d.description.toLowerCase()):[];f=m(f);for(e=f.next();!e.done;e=f.next())c.add(e.value,d)}this.nameTokenMatcher=b.build();this.descriptionTokenMatcher=c.build();this.positions=new Map(this.hotlists.map(function(h,
l){return[h,l]}))};
chc.prototype.search=function(a){a=a.toLowerCase();for(var b=new Set,c=m(this.hotlists),d=c.next();!d.done;d=c.next()){d=d.value;var e=void 0,f=null==(e=d.name)?void 0:e.toLowerCase(),h=void 0;e=null==(h=d.description)?void 0:h.toLowerCase();h=d.hotlistId;var l=void 0,q=void 0;(Qna(a)&&String(h).includes(a)||(null==(l=f)?0:l.includes(a))||(null==(q=e)?0:q.includes(a)))&&b.add(d)}c=bya(a);d=m(bhc(this.nameTokenMatcher,c));for(a=d.next();!a.done;a=d.next())b.add(a.value);c=m(bhc(this.descriptionTokenMatcher,c));
for(a=c.next();!a.done;a=c.next())b.add(a.value);return dhc(this,b)};var dhc=function(a,b){return[].concat(r(b)).sort(function(c,d){c=a.positions.get(c);d=a.positions.get(d);return c===d?0:c<d?-1:1})};var vU=function(){this.innerHeight$=(0,C.concat)((0,C.defer)(function(){return(0,C.of)(window.innerHeight)}),(0,C.fromEvent)(window,"resize").pipe(B(function(){return window.innerHeight})))};vU.\u0275fac=function(a){return new (a||vU)};vU.\u0275prov=Vc({token:vU,factory:vU.\u0275fac,providedIn:"root"});var wU=function(a,b,c,d,e,f,h,l,q,u,x,y){Z.call(this);var G=this;this.dialogRef=a;this.data=b;this.paths=c;this.hotlistFridge=d;this.hotlistApi=e;this.snackBar=f;this.appEvents=h;this.errorHandler=l;this.activeSession=q;this.userApi=u;this.windowHeight=x;this.permissionsFridge=y;this.NO_ACCESS_MESSAGE="You don't have permissions to add/remove issues on this hotlist.";this.showCreateNewPane=!1;this.query$=new C.BehaviorSubject("");this.debouncedQuery$=this.query$.pipe(Nf(100),bg(""));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 ex({name:new gx("",Xw),description:new gx("")});this.currentUserEmail=this.activeSession.getUserEmail();this.starredHotlists=new YJ;this.isSavingStar=new YJ;this.userHotlists$=EYb(this.hotlistFridge);this.issueHotlists$=
this.hotlistFridge.watchSet(Array.from(this.data.selectedHotlistIds));this.combineHotlistsWithPermissions=B(function(L){var M=G.permissionsFridge.watchSet(L.map(function(T){return"hotlists/"+T.hotlistId}));return L.map(function(T,S){return Object.assign({},T,{permissions$:M.pipe(B(function(X){return X[S]}))})})});this.hotlists$=(0,C.combineLatest)([this.issueHotlists$,this.userHotlists$]).pipe(B(function(L){var M=m(L);L=M.next().value;M=M.next().value;return[].concat(r(L),r(M))}),B(Ira(function(L){return L.hotlistId})),
B(function(L){return L.filter(nk)}),B(function(L){return L.sort(WNa)}),B(function(L){return L.sort(function(M,T){var S=G.selectedHotlistIds;M=S.has(M.hotlistId);T=S.has(T.hotlistId);return M&&T?0:M?-1:T?1:0})}),this.combineHotlistsWithPermissions,$f({bufferSize:1,refCount:!0}));this.hotlistQuerySearcher$=this.hotlists$.pipe(B(function(L){return new chc(L)}),$f({bufferSize:1,refCount:!0}));this.forceShowOverflow$=new C.Subject;this.matchedHotlists$=(0,C.combineLatest)([this.debouncedQuery$,this.hotlistQuerySearcher$,
this.hotlists$]).pipe(B(function(L){var M=m(L);L=M.next().value;var T=M.next().value;M=M.next().value;return""!==L.trim()?T.search(L):M}),$f({bufferSize:1,refCount:!0}));this.visibleHotlists$=(0,C.combineLatest)([this.matchedHotlists$,(0,C.merge)(this.matchedHotlists$.pipe(B(function(){return!1})),this.forceShowOverflow$)]).pipe(B(function(L){var M=m(L);L=M.next().value;M=M.next().value;return 200<L.length&&!M?L.slice(0,200):L}),$f({bufferSize:1,refCount:!0}));this.isOverflowMode$=(0,C.combineLatest)([this.matchedHotlists$,
this.visibleHotlists$]).pipe(B(function(L){var M=m(L);L=M.next().value;M=M.next().value;return L.length!==M.length}));this.showLoadById$=this.query$.pipe(B(function(L){L=L.trim();return!G.allHotlistIds.has(Number(L))&&Qna(L)}));this.showCreateNew$=(0,C.combineLatest)([this.query$,this.matchedHotlists$]).pipe(B(function(L){var M=m(L);L=M.next().value;M=M.next().value;return XNa(L,M)}));this.compactNumberOfHotlistsToShow$=this.windowHeight.innerHeight$.pipe(B(function(L){return Math.max(1,Math.floor(.5*
L/24))}),Qf());this.compactNumberOfHotlistsToShow$.pipe(B(function(L){return 24*L}));this.subscriptions.add(this.hotlists$.subscribe(function(L){G.hotlists=L;L=m(L);for(var M=L.next();!M.done;M=L.next())G.allHotlistIds.add(M.value.hotlistId)}))};W(wU,Z);wU.\u0275dir=Z.\u0275dir;wU.prototype.ngOnInit=function(){var a=this;ehc(this);this.query$.pipe(dg(this.destroyed$)).subscribe(function(){a.hotlistUnderEdit.setValue({name:a.query$.value,description:""})})};
wU.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=Fna(this.originalIds,this.selectedHotlistIds);this.pristine=!a;var c=m(YNa(a));a=c.next().value;c=c.next().value;this.saveBtnLabel=a;this.saveBtnTooltip=c};
var Mq=function(a){a.dialogRef.close(a.selectedHotlistIds)},LNa=function(a){var b;return(a=null==(b=a.hotlistUnderEdit.get("name"))?void 0:b.value)?a:""},fhc=function(a){var b;return(a=null==(b=a.hotlistUnderEdit.get("description"))?void 0:b.value)?a:""},KNa=function(a){a.snackBar.open("Saving hotlist...","dismiss",{duration:0});var b=LNa(a),c=fhc(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)})},ehc=function(a){a.userApi.getUserSidebar().then(function(b){a.starredHotlists.clear();for(var c=m(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=m(b.bookmarkGroups||[]);for(c=b.next();!c.done;c=b.next())for(c=m(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)})};
wU.prototype.toggleStar=function(a){var b=this,c,d,e;return of(function(f){switch(f.nextAddress){case 1:c=b.starredHotlists.has(a);d={resourceType:"HOTLIST",resourceId:a,userLogin:b.currentUserEmail};pf(f,2,3);b.isSavingStar.add(a);if(c)return b.starredHotlists.delete(a),f.yield(b.userApi.deleteFavorite(d),3);b.starredHotlists.add(a);return f.yield(b.userApi.saveFavorite(d),3);case 3:qf(f);b.isSavingStar.delete(a);rf(f,4);break;case 2:e=sf(f);aG(b.errorHandler,e);f.jumpTo(3);break;case 4:b.appEvents.hotlistChanged.next(),b.appEvents.favoritesModified.next(),
ehc(b),tf(f)}})};var ONa=function(a,b){a.hotlistApi.get(b).then(function(c){a.hotlists.push(c);a.selectedHotlistIds.add(c.hotlistId);Mq(a)}).catch(function(c){a.errorHandler.errorHandler(null,c)})};wU.prototype.trackByHotlistId=function(a,b){return b.hotlistId};wU.\u0275fac=function(a){return new (a||wU)(A(FA),A(HA),A(NG),A(hH),A(ZG),A(SF),A(cG),A(ZF),A(Vt),A(dH),A(vU),A(KH))};
wU.\u0275cmp=p({type:wU,selectors:[["ng-component"]],hostBindings:function(a,b){a&1&&K("keydown.meta.enter",function(){return Mq(b)})("keydown.shift.enter",function(){return Mq(b)})("keydown.control.enter",function(){return Mq(b)})},features:[qg],decls:13,vars:4,consts:[[4,"ngIf","ngIfElse"],["mat-button","","mat-dialog-close","","tooltip","Dismiss modal","aria-label","Dismiss modal","role","button",3,"click"],["createNewHotlistBtn",""],["applyHotlistSelectionBtn",""],["updateHotlistSelectionPane",
""],["createNewHotlistPane",""],[4,"ngTemplateOutlet"],["mat-flat-button","","color","primary","matTooltip","Create new hotlist","aria-label","Create",1,"gmat-button",3,"disabled","click"],["mat-flat-button","","color","primary",1,"gmat-button",3,"mat-dialog-close","matTooltip","disabled","click"],["mat-dialog-title",""],[1,"search-container"],["svgIcon","search"],["type","search","spellcheck","false","autocomplete","off","aria-label","Filter hotlists","placeholder","Type to filter your starred hotlists",
1,"search-box",3,"input"],["searchBox",""],["mat-dialog-content","",1,"search-results"],["content",""],["class","load-from-id-btn",3,"click",4,"ngIf"],["class","create-new-hotlist-btn",3,"click",4,"ngIf"],[4,"ngIf"],[1,"load-from-id-btn",3,"click"],[1,"muted"],[1,"create-new-hotlist-btn",3,"click"],[3,"selectionChange"],["hotlistMatList",""],[4,"ngFor","ngForOf","ngForTrackBy"],[3,"matTooltip"],["tooltip","matTooltip"],["checkboxPosition","before",3,"selected","disabled","value","focus","blur"],[3,
"hotlist","isCompact","starredHotlists","isSavingStar","starClicked"],[1,"margin-top","kids-x"],[1,"force-show-overflow-btn",3,"click"],["mat-dialog-content",""],[1,"create-hotlist-pane"],[3,"formGroup"],["for","hotlist-name"],"type text autofocus autofocus id hotlist-name required  aria-required true formControlName name".split(" "),["for","hotlist-description",1,"margin-s-top"],["id","hotlist-description","formControlName","description"]],template:function(a,b){a&1&&(P(0,HNa,2,1,"ng-container",
0),E(1,"mat-dialog-actions")(2,"button",1),K("click",function(){b.dialogRef.close()}),Q(3," Cancel "),F(),P(4,JNa,2,1,"ng-container",0),F(),P(5,MNa,2,1,"ng-template",null,2,qh),P(7,NNa,2,5,"ng-template",null,3,qh),P(9,UNa,15,9,"ng-template",null,4,qh),P(11,VNa,14,1,"ng-template",null,5,qh));if(a&2){var c=O(8),d=O(10);D("ngIf",b.showCreateNewPane)("ngIfElse",d);z(4);D("ngIf",b.showCreateNewPane)("ngIfElse",c)}},dependencies:[xw,yw,Dw,jB,JA,KA,LA,MA,tA,iU,jU,ix,Qh,ax,bx,sx,ox,px,NC,uU,Ew],styles:["[_nghost-%COMP%]     .mat-dialog-content{width:500px;overflow-y:overlay}[_nghost-%COMP%]     .mat-dialog-title{margin:0}[_nghost-%COMP%]     .mat-dialog-title h2{margin-top:0;margin-bottom:8px}[_nghost-%COMP%]     .search-container{background-color:#f1f3f4;background-color:var(--main-search-bg);display:flex;flex-direction:row;justify-content:center;align-items:center;border-radius:8px;width:100%;height:40px}[_nghost-%COMP%]     .search-container mat-icon{margin-left:8px}[_nghost-%COMP%]     .search-container input.search-box{color:#202124;color:var(--text-high-contrast);outline:none;border:none;background-color:rgba(0,0,0,0);margin-left:5px;height:100%;width:100%;padding-right:4px}[_nghost-%COMP%]     .search-results mat-list-option .title-line{display:flex;align-items:center;justify-content:space-between;height:24px}[_nghost-%COMP%]     .search-results mat-list-option a, [_nghost-%COMP%]     .search-results mat-list-option mat-icon{height:17px;line-height:17px}[_nghost-%COMP%]     .search-results mat-list-option p{font-size:.75rem;margin-top:-2px;line-height:1.2}[_nghost-%COMP%]     .search-results mat-list-option .hotlist-link-and-star{visibility:hidden}[_nghost-%COMP%]     .search-results mat-list-option .hotlist-link-and-star a{margin-right:2px}[_nghost-%COMP%]     .search-results mat-list-option .hotlist-link-and-star a mat-icon{margin-top:-2px}[_nghost-%COMP%]     mat-list-option:focus-within .hotlist-link-and-star, [_nghost-%COMP%]     mat-list-option:hover .hotlist-link-and-star{visibility:unset}[_nghost-%COMP%]     .create-new-hotlist-btn, [_nghost-%COMP%]     .load-from-id-btn, [_nghost-%COMP%]     .force-show-overflow-btn{background:none;border:none;text-align:left;min-height:34px;padding-left:38px}[_nghost-%COMP%]     .create-new-hotlist-btn:hover, [_nghost-%COMP%]     .load-from-id-btn:hover, [_nghost-%COMP%]     .force-show-overflow-btn:hover{cursor:pointer;background-color:rgba(0,0,0,.04);background-color:var(--hover)}[_nghost-%COMP%]     .create-hotlist-pane label{display:block;color:#5f6368;color:var(--muted);font-weight:500}[_nghost-%COMP%]     .create-hotlist-pane input, [_nghost-%COMP%]     .create-hotlist-pane textarea{width:100%;box-sizing:border-box}[_nghost-%COMP%]     mat-list-option label{font-size:.8125rem}[_nghost-%COMP%]     .mat-list-base{margin:0 -24px}[_nghost-%COMP%]     .mat-list-base .mat-list-option .mat-list-item-content{padding:5px 0;padding-right:20px;padding-left:24px;align-items:flex-start}[_nghost-%COMP%]     .mat-list-base .mat-list-option .mat-list-item-content .mat-pseudo-checkbox{margin-top:3px}[_nghost-%COMP%]     .mat-list-base .compact .mat-list-option .mat-list-item-content{padding-top:0}[_nghost-%COMP%]     .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-left:12px}\n/*# sourceMappingURL=hotlist_picker_modal.css.map */"],
changeDetection:0});var xU=function(a,b,c,d){this.dialog=a;this.issueFridge=b;this.eventsForIssueFridge=c;this.errorHandler=d},ghc=function(a,b){var c,d,e,f,h,l,q,u;return of(function(x){switch(x.nextAddress){case 1:return x.yield((0,C.firstValueFrom)(b),2);case 2:return c=x.yieldResult,(e=null==(d=c)?void 0:d.snapshot[0].hotlistId)&&c?x.yield(a.openModal(e),3):x.return();case 3:f=x.yieldResult;if(null==f)return x.return();h=f.added.map(String);l=f.removed.map(String);q=String(c.issueId);pf(x,4,5);return x.yield(oZb(a.issueFridge,
q,h,l),5);case 5:qf(x);a.eventsForIssueFridge.poke(q);rf(x,0);break;case 4:u=sf(x),aG(a.errorHandler,u),x.jumpTo(5)}})};xU.prototype.openModal=function(a){var b=this,c,d,e,f;return of(function(h){if(1==h.nextAddress)return c={panelClass:"no-jitter",data:{selectedHotlistIds:a},ariaLabel:"Search for Hotlists"},d=b.dialog.open(wU,c),h.yield((0,C.firstValueFrom)(DA(d)),2);e=h.yieldResult;if(!e)return h.return(Promise.resolve());f=Fna(new Set(a),new Set(e));return h.return(Promise.resolve(f))})};
xU.\u0275fac=function(a){return new (a||xU)(n(IA),n(BH),n(sF),n(ZF))};xU.\u0275prov=Vc({token:xU,factory:xU.\u0275fac,providedIn:"root"});var yU=function(a,b,c,d,e,f,h){Z.call(this);var l=this;this.issueFridge=a;this.eventsForIssueFridge=b;this.hotlistPickerService=c;this.issueInteractionsTracking=d;this.errorHandler=e;this.liveAnnouncer=f;this.activeSession=h;this.ISSUE_TYPE_TEXT=YUb;this.STATUS_JS_FULL_TEXT=tn;this.STATUS_JS_TERSE=UUb;this.DUPLICATE="DUPLICATE";this.id$=new C.ReplaySubject(1);this.issue$=this.id$.pipe(cg(this.issueFridge.watch));this.hotlistIds$=this.issue$.pipe(B(hOa));this.textOfHotlistBtn$=this.hotlistIds$.pipe(B(function(q){var u;
return null!=(u=null==q?void 0:q.length)?u:0}),B(function(q){return 5>=q?"Add Hotlist":""}));this.priority$=this.issue$.pipe(B(function(q){return(null==q?void 0:q.snapshot[0].priority)||void 0}));this.type$=this.issue$.pipe(B(function(q){return null==q?void 0:q.snapshot[0].type}),B(function(q){return npa[q]}));this.canonicalId$=this.issue$.pipe(B(function(q){return null==q?void 0:q.snapshot[0].duplicateOfIssueId}));this.status$=this.issue$.pipe(B(function(q){return(null==q?void 0:q.snapshot[0].status)||
void 0}));this.statusForChip$=this.status$.pipe(B(function(q){return VUb[q]?q:void 0}));this.statusCssClass$=this.status$.pipe(B(function(q){return l.computeStatusCssClass(q)}));this.HOTKEYS=MM;this.enableCommentFilters=DE(this.activeSession,"enableCommentFiltering")};W(yU,Z);yU.\u0275dir=Z.\u0275dir;yU.prototype.computeStatusCssClass=function(a){return null===a||void 0===a?"":"status-"+rl[a]};
var dOa=function(a){return of(function(b){return b.yield(ghc(a.hotlistPickerService,a.issue$),0)})},bOa=function(a,b){var c,d;return of(function(e){switch(e.nextAddress){case 1:return e.yield((0,C.firstValueFrom)(a.id$),2);case 2:c=e.yieldResult;GJ(a.issueInteractionsTracking,c,{label:"remove-hotlists",value:1});pf(e,3,4);var f=e.yield;var h=oZb(a.issueFridge,c,[],[String(b)]);return f.call(e,h,6);case 6:return e.yield(a.liveAnnouncer.announce("Hotlist removed successfully"),4);case 4:qf(e);a.eventsForIssueFridge.poke(c);
rf(e,0);break;case 3:d=sf(e),aG(a.errorHandler,d),e.jumpTo(4)}})};Xi.Object.defineProperties(yU.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.id$.next(a)}}});yU.\u0275fac=function(a){return new (a||yU)(A(BH),A(sF),A(xU),A(FJ),A(ZF),A(Ty),A(Vt))};
yU.\u0275cmp=p({type:yU,selectors:[["issue-description-area"]],inputs:{id:"id"},features:[qg],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&&(E(0,"div",0)(1,"div",1),P(2,$Na,6,10,"div",2),U(3,"async"),P(4,aOa,2,4,"span",3),U(5,"async"),H(6,"b-issue-priority-display",4),U(7,"async"),F(),P(8,eOa,6,5,"div",5),U(9,"async"),P(10,fOa,2,0,"div",6),F(),E(11,"onedev-hovercard",null,7),P(13,gOa,3,4,"b-issue-card",8),F());a&2&&(z(2),D("ngIf",V(3,5,b.statusForChip$)),z(2),D("ngIf",V(5,7,b.type$)),z(2),D("issuePriority",V(7,9,b.priority$)),z(2),D("ngIf",V(9,11,b.hotlistIds$)),z(2),D("ngIf",!b.enableCommentFilters))},dependencies:[xw,
yw,LM,rU,iK,jK,nK,kK,yP,iI,tA,jB,NC,HG,sU,Ew],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 zU=function(){};zU.\u0275fac=function(a){return new (a||zU)};zU.\u0275mod=od({type:zU});zU.\u0275inj=Wc({imports:[Mw]});var AU=function(){};AU.\u0275fac=function(a){return new (a||AU)};AU.\u0275mod=od({type:AU});AU.\u0275inj=Wc({imports:[Mw,JN,zU,OC,YC]});var BU=function(){};BU.\u0275fac=function(a){return new (a||BU)};BU.\u0275mod=od({type:BU});BU.\u0275inj=Wc({imports:[Mw,eO,YC,OC,ID]});var CU=function(){};CU.\u0275fac=function(a){return new (a||CU)};CU.\u0275mod=od({type:CU});CU.\u0275inj=Wc({imports:[Mw,fU,OC,NA,LG,iP,YC,kU,RF,wx,xx,BU,ID,yz]});var hhc=["issueTitleEl"],ihc=["issueTitleInputEl"],kOa=function(a){return{"width.px":a}},DU=function(){this.disabled=!1;this.updateTitle=new Rv;this.isEditMode=!1;this.editModeWidth=0};DU.prototype.ngDoCheck=function(){jhc(this)};
var mOa=function(a){a.isEditMode=!a.isEditMode;a.isEditMode&&setTimeout(function(){return a.issueTitleInputEl.nativeElement.focus()},0)},khc=function(a,b){a.isEditMode=!1;jhc(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())}},jOa=function(a,b){if(b)"Enter"===b.key?khc(a,b.target.value):("Escape"===b.key||"Esc"===b.key)&&mOa(a);else{var c;b=null==(c=a.issueTitleInputEl)?void 0:c.nativeElement.value;khc(a,b)}},
jhc=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};Xi.Object.defineProperties(DU.prototype,{title:{configurable:!0,enumerable:!0,set:function(a){this.titlePlain=a=null!=a?a:void 0;this.titleTruncated=aya(a,300);this.isLongTitle=null==a?!1:300<=a.length}}});DU.\u0275fac=function(a){return new (a||DU)};
DU.\u0275cmp=p({type:DU,selectors:[["issue-title"]],viewQuery:function(a,b){a&1&&(ih(hhc,5),ih(ihc,5));if(a&2){var c;hh(c=kh())&&(b.issueTitleEl=c.first);hh(c=kh())&&(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&&(P(0,iOa,3,2,"h3",0),P(1,lOa,3,4,"mat-form-field",1),P(2,nOa,2,1,"button",2));a&2&&(D("ngIf",!b.isEditMode),z(1),D("ngIf",b.isEditMode),z(1),
D("ngIf",b.hasAclToEdit))},dependencies:[yw,Cw,tA,jB,NC,XA,$A],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 EU=function(){};EU.\u0275fac=function(a){return new (a||EU)};EU.\u0275mod=od({type:EU});EU.\u0275inj=Wc({imports:[Mw,YC,OC,ID,YA,aB]});var lhc=function(a){return{isDupe:a}},FU=function(a,b,c,d,e){Z.call(this);var f=this;this.fridge=a;this.permissionsFridge=b;this.issuePicker=c;this.snackBar=d;this.eventsForIssueFridge=e;this.TOOLTIP_MARK_DUPE="Mark this issue as a duplicate";this.TOOLTIP_UNMARK_DUPE="Mark this issue as not being a duplicate";this.disabled=!1;this.issueId$=new C.ReplaySubject(1);this.issue$=this.issueId$.pipe(cg(function(h){return f.fridge.watchOne(h)}));this.isDupe$=this.issue$.pipe(B(function(h){var l;return!!(null==
h?0:null==(l=h.snapshot[0])?0:l.duplicateOfIssueId)}));this.permissions$=this.issueId$.pipe(cg(function(h){return f.permissionsFridge.watchOne("issues/"+h)}));this.canEdit$=this.permissions$.pipe(B(function(h){return!(null==h||!h.writer)}),bg(!0));this.didChooseCanonical=function(h){return function(l){(l=l[0])&&pZb(f.fridge,l,h).then(function(){f.eventsForIssueFridge.poke(h)}).catch(f.gotErr)}};this.gotErr=function(h){f.snackBar.open(Wn(h)||"Error with network request","close",{panelClass:"error"})}};
W(FU,Z);FU.\u0275dir=Z.\u0275dir;
var oOa=function(a){var b,c;return of(function(d){if(1==d.nextAddress)return a.disabled||a.fridge.isSaving(a.internalIssueId)||!Zo(a.canEdit$)?d.return():d.yield((0,C.firstValueFrom)(a.isDupe$),2);if(3!=d.nextAddress)return b=d.yieldResult,d.yield((0,C.firstValueFrom)(a.issue$),3);c=d.yieldResult;if(null==c)return d.return();b?mhc(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));tf(d)})},mhc=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)};Xi.Object.defineProperties(FU.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.internalIssueId=a;this.issueId$.next(a)}}});FU.\u0275fac=function(a){return new (a||FU)(A(BH),A(KH),A(SP),A(SF),A(sF))};
FU.\u0275cmp=p({type:FU,selectors:[["smart-dupe-btn"]],inputs:{disabled:"disabled",issueId:"issueId"},features:[qg],decls:2,vars:5,consts:[["mat-stroked-button","","class","gmat-button small",3,"disabled","title","click",4,"ngIf"],["mat-stroked-button","",1,"gmat-button","small",3,"disabled","title","click"]],template:function(a,b){a&1&&(P(0,pOa,3,5,"button",0),U(1,"async"));a&2&&D("ngIf",Xg(3,lhc,V(1,1,b.isDupe$)))},dependencies:[yw,tA,Ew]});var GU=function(a){Z.call(this);this.prefs=a};W(GU,Z);GU.\u0275dir=Z.\u0275dir;GU.prototype.onChange=function(a){this.prefs.save({useCodefont:a.checked}).pipe(dg(this.destroyed$)).subscribe()};GU.\u0275fac=function(a){return new (a||GU)(A(ZI))};
GU.\u0275cmp=p({type:GU,selectors:[["b-toggle-code-font"]],features:[qg],ngContentSelectors:["*"],decls:3,vars:3,consts:[["matTooltip","Use a monospace typeface to display all comments",3,"checked","change"]],template:function(a,b){a&1&&(Ng(),E(0,"mat-slide-toggle",0),K("change",function(c){return b.onChange(c)}),U(1,"async"),Og(2),F());a&2&&D("checked",V(1,1,b.prefs.codeFont$))},dependencies:[YT,NC,Ew],styles:["mat-slide-toggle[_ngcontent-%COMP%] {font-size: 14px; }"],changeDetection:0});var HU=function(){};HU.\u0275fac=function(a){return new (a||HU)};HU.\u0275mod=od({type:HU});HU.\u0275inj=Wc({imports:[XT,Zz,Mz,Sy,XT,Mz]});var IU=function(){};IU.\u0275fac=function(a){return new (a||IU)};IU.\u0275mod=od({type:IU});IU.\u0275inj=Wc({imports:[Mw,YC,iP,NA,OC,HU,RF,ID,PP]});var JU=function(){};JU.\u0275fac=function(a){return new (a||JU)};JU.\u0275mod=od({type:JU});JU.\u0275inj=Wc({providers:[xU],imports:[Mw,vP,NM,AU,CU,JN,FP,XN,WN,EU,YC,OC,ID,LG,BU,IU]});var KU=function(){};KU.\u0275fac=function(a){return new (a||KU)};KU.\u0275mod=od({type:KU});KU.\u0275inj=Wc({imports:[Mw,JN,bP,tP,cO]});var LU=function(){};LU.\u0275fac=function(a){return new (a||LU)};LU.\u0275mod=od({type:LU});LU.\u0275inj=Wc({imports:[KU,Mw,JN,bP,YC,tP,cO,LG,hP]});var MU=function(){};MU.\u0275fac=function(a){return new (a||MU)};MU.\u0275mod=od({type:MU});MU.\u0275inj=Wc({imports:[nP,Mw,XJ]});var NU=function(){};NU.\u0275fac=function(a){return new (a||NU)};NU.\u0275mod=od({type:NU});NU.\u0275inj=Wc({imports:[Mw,WN,YC,ID,MU,VN,cO,LG,KU]});var OU=function(){};OU.\u0275fac=function(a){return new (a||OU)};OU.\u0275mod=od({type:OU});OU.\u0275inj=Wc({imports:[KU,Mw,YC,MU]});var PU=function(){};PU.\u0275fac=function(a){return new (a||PU)};PU.\u0275mod=od({type:PU});PU.\u0275inj=Wc({imports:[Mw,YC,OC,Rx]});var QU=function(){};QU.\u0275fac=function(a){return new (a||QU)};QU.\u0275mod=od({type:QU});QU.\u0275inj=Wc({imports:[Mw,PU,LU,OC,NU,OU]});var RU=function(){};RU.\u0275fac=function(a){return new (a||RU)};RU.\u0275mod=od({type:RU});RU.\u0275inj=Wc({imports:[iP,Mw,XS,wx,Lz,yO,hP,mP,yN,OC,YC,ID]});var SU=function(a){this.matDialog=a};SU.prototype.show=function(a,b){"LITERAL"===a.formattingMode&&(a.formattingMode="PLAIN");this.dialog=this.matDialog.open(TU,{width:"60vw",disableClose:!0,panelClass:"no-jitter",data:{formattingAudience:b,statusUpdate:a}});return(0,C.firstValueFrom)(DA(this.dialog))};SU.\u0275fac=function(a){return new (a||SU)(n(IA))};SU.\u0275prov=Vc({token:SU,factory:SU.\u0275fac,providedIn:"root"});
var TU=function(a,b,c,d,e){Z.call(this);var f=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=Gj(this.origStatusUpdate);
this.subscriptions.add(gQ(e,function(){return f.isModified()},!1))};W(TU,Z);TU.\u0275dir=Z.\u0275dir;var nhc=function(a){var b,c;return null!=(c=eya(null==(b=a.newStatusUpdate)?void 0:b.updateText))?c:""};g=TU.prototype;g.ngOnInit=function(){var a=this;this.dialogRef.keydownEvents().pipe(dg(this.destroyed$)).subscribe(function(b){"Escape"===b.key&&a.closeIfUnmodified()});this.dialogRef.backdropClick().pipe(dg(this.destroyed$)).subscribe(function(){a.closeIfUnmodified()})};
g.closeIfUnmodified=function(){if(!this.isModified()){var a;null==(a=this.dialogService.dialog)||a.close()}};g.isModified=function(){return!Fj(this.newStatusUpdate,this.origStatusUpdate)};g.closeDialogForSave=function(){var a;null==(a=this.dialogService.dialog)||a.close(this.newStatusUpdate)};g.asNumber=function(a){return Number(a)};TU.\u0275fac=function(a){return new (a||TU)(A(Vt),A(HA),A(SU),A(FA),A(fQ))};
TU.\u0275cmp=p({type:TU,selectors:[["ng-component"]],features:[qg],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&&(E(0,"h1",0),Q(1,"Editing Status Update"),F(),E(2,"section",1)(3,"p",2),Q(4," Editing the Status Update will not permanently remove old ones from database history. "),H(5,"br"),Q(6," For deletion of PII or other sensitive content, please "),E(7,"a",3),Q(8," file a support request. "),F()(),E(9,"b-comment-draft",
4),K("contentChange",function(c){return b.newStatusUpdate.updateText=c})("onSubmit",function(){return b.closeDialogForSave()}),F(),P(10,qOa,2,1,"p",5),E(11,"b-markdown-toggle",6),K("change",function(c){return b.newStatusUpdate.formattingMode=c}),F(),P(12,rOa,2,4,"div",7),F(),E(13,"footer",8)(14,"button",9),Q(15," Cancel "),F(),E(16,"button",10),Q(17," Save "),F()());a&2&&(z(7),D("href",b.contentRemovalRequestLink,Ie),z(2),Gg(nhc(b)),D("content",b.newStatusUpdate.updateText),z(1),D("ngIf",1E3<b.newStatusUpdate.updateText.length),
z(1),Fg("margin-bottom",b.newStatusUpdate.formattingMode!==b.MARKDOWN),D("initialValue",b.origStatusUpdate.formattingMode),z(1),D("ngIf",b.newStatusUpdate.formattingMode===b.MARKDOWN),z(2),D("mat-dialog-close",void 0),z(2),D("mat-dialog-close",b.newStatusUpdate)("disabled",0===b.newStatusUpdate.updateText.length||1E3<b.newStatusUpdate.updateText.length))},dependencies:[JA,KA,LA,MA,yw,tA,$O,ZO,$S],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 UU=function(){};UU.\u0275fac=function(a){return new (a||UU)};UU.\u0275mod=od({type:UU});UU.\u0275inj=Wc({imports:[NA,iP,Mw,Lz,OC,YC,nP,RU]});var VU=function(a){this.matDialog=a};VU.prototype.show=function(a){this.dialog=this.matDialog.open(WU,{width:"60vw",disableClose:!0,panelClass:"no-jitter",data:{statusUpdates:a}});return(0,C.firstValueFrom)(DA(this.dialog))};VU.\u0275fac=function(a){return new (a||VU)(n(IA))};VU.\u0275prov=Vc({token:VU,factory:VU.\u0275fac,providedIn:"root"});var WU=function(a,b,c){Z.call(this);this.data=a;this.dialogService=b;this.dialogRef=c;this.statusUpdates=a.statusUpdates};W(WU,Z);WU.\u0275dir=Z.\u0275dir;
WU.prototype.ngOnInit=function(){var a=this;this.dialogRef.keydownEvents().pipe(dg(this.destroyed$)).subscribe(function(b){if("Escape"===b.key){var c;null==(c=a.dialogService.dialog)||c.close()}});this.dialogRef.backdropClick().pipe(dg(this.destroyed$)).subscribe(function(){var b;null==(b=a.dialogService.dialog)||b.close()})};WU.\u0275fac=function(a){return new (a||WU)(A(HA),A(VU),A(FA))};
WU.\u0275cmp=p({type:WU,selectors:[["ng-component"]],features:[qg],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&&(E(0,"h1",0),Q(1,"History for Status Update"),F(),E(2,"section",1)(3,"ul",2),P(4,sOa,19,12,"li",3),F()(),E(5,"footer",4)(6,"button",5),Q(7," Close "),F()());a&2&&(z(4),D("ngForOf",b.statusUpdates),z(2),D("mat-dialog-close",void 0))},dependencies:[xw,cL,tA,JA,KA,LA,MA,OK,UK,uM,aK,AP],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 XU=function(){};XU.\u0275fac=function(a){return new (a||XU)};XU.\u0275mod=od({type:XU});XU.\u0275inj=Wc({imports:[nP,Mw]});var YU=function(){};YU.\u0275fac=function(a){return new (a||YU)};YU.\u0275mod=od({type:YU});YU.\u0275inj=Wc({imports:[Mw,IN,YC,NA,Lz,VN,tP,XU,DP]});var phc=function(a){Y.call(this,a,-1,ohc)};W(phc,Y);var ohc=[1];phc.messageId="b.ListStatusUpdateHistoryResponse";var ZU=function(a){this.executor=a};ZU.prototype.get=function(a,b){return this.executor.get({url:TTb(a),responseConstructor:tE,options:{params:{issueCommentView:String(tl[void 0===b?"MARKDOWN":b])}}}).pipe(B(Jl))};
ZU.prototype.update=function(a){var b=this.executor,c=b.post,d=TTb(a.issueId),e=new tE;a.issueId&&e.setIssueId(a.issueId);a.updateText&&e.setUpdateText(a.updateText);if(a.formattedText){var f=a.formattedText,h=new Il;if(f.plainFormat){var l=h.setPlainFormat;var q=f.plainFormat;q=(new kE).setPlainSectionList(q.plainSection.map(Ooa));l.call(h,q)}f.markdownFormat&&(l=h.setMarkdownFormat,q=f.markdownFormat,q=(new jE).setContent(q.content),l.call(h,q));f.literalFormat&&(l=h.setLiteralFormat,f=f.literalFormat,
f=(new iE).setContent(f.content),l.call(h,f));gl(e,Il,3,h)}a.formattingMode&&e.setFormattingMode(tl[a.formattingMode]);a.author&&e.setAuthor(fk(a.author));a.updateTime&&e.setUpdateTime(wj(a.updateTime));a.version&&e.setVersion(a.version);return c.call(b,{url:d,body:e,responseConstructor:tE}).pipe(B(Jl))};ZU.prototype.delete=function(a){return this.executor.delete({url:TTb(a),responseConstructor:null})};
var qhc=function(a,b){return a.executor.get({url:"action/issues/"+b+"/statusUpdateHistory",responseConstructor:phc,options:{params:{issueCommentView:String(tl.MARKDOWN)}}}).pipe(B(function(c){return yj(c,tE,1).map(Jl)}))};ZU.\u0275fac=function(a){return new (a||ZU)(n(KD))};ZU.\u0275prov=Vc({token:ZU,factory:ZU.\u0275fac,providedIn:"root"});var rhc=["noteContainer"],shc={FRESH:0,STALE:1,NONE:2,0:"FRESH",1:"STALE",2:"NONE"},$U=function(a,b,c,d,e,f,h,l,q){Z.call(this);var u=this;this.analytics=a;this.confirmationDialogService=b;this.currentUser=c;this.editStatusUpdateDialogService=d;this.errorHandler=e;this.issueFridge=f;this.issuePermissionService=h;this.statusUpdateService=l;this.statusUpdateHistoryDialogService=q;this.Freshness=shc;this.FormattingMode=vSb;this.issueId$=new C.ReplaySubject(1);this.issue$=this.issueId$.pipe(cg(this.issueFridge.watch));
this.accessLevel$=this.issue$.pipe(B(function(x){var y;return null==x?void 0:null==(y=x.accessLimit)?void 0:y.accessLevel}));this.issueTeamId$=this.issue$.pipe(B(function(x){var y;return null==x?void 0:null==(y=x.aggregatedData)?void 0:y.teamId}));this.isCollapsed=!1;this.currentUserIsAuthoritative$=(0,C.combineLatest)([this.issue$,this.issueTeamId$]).pipe(B(function(x){var y=m(x);x=y.next().value;y=y.next().value;x=u.currentUser.email===Vra(x);y=u.currentUser.allTeamIds.includes(String(y));return x||
y}));this.statusUpdate$=this.issue$.pipe(B(function(x){return null==x?void 0:x.statusUpdate}));this.statusUpdateAsNote$=this.statusUpdate$.pipe(Gf(nk),B(function(x){return{unlinkifiedComment:x.updateText,formattedComment:x.formattedText}}));this.semanticClass$=this.statusUpdate$.pipe(B(function(x){var y;return null!=(y=eya(null==x?void 0:x.updateText))?y:""}));this.statusIsEmpty$=this.statusUpdate$.pipe(B(function(x){return""===((null==x?void 0:x.updateText)||"").trim()}));this.freshnessIndicator$=
(0,C.combineLatest)([this.statusIsEmpty$,this.statusUpdate$]).pipe(B(function(x){var y=m(x);x=y.next().value;y=y.next().value;if(x)return 2;var G;x=(null==y?void 0:null==(G=y.updateTime)?void 0:G.seconds)||0;return 86400>Date.now()/1E3-x?0:1}));this.uiState$=(0,C.combineLatest)([this.currentUserIsAuthoritative$,this.statusIsEmpty$]).pipe(B(function(x){var y=m(x);x=y.next().value;y=y.next().value;return x&&y?"authoritative-team no-content":y?"display-none no-content":"normal"}),bg("display-none loading"));
this.formattingModeOverride$=new C.BehaviorSubject(void 0);this.formattingMode$=(0,C.combineLatest)([this.statusUpdate$,this.formattingModeOverride$]).pipe(B(function(x){var y=m(x);x=y.next().value;return(y=y.next().value)?y:(null==x?void 0:x.formattingMode)||"PLAIN"}));this.menuItems$=(0,C.combineLatest)([this.issueId$,this.statusUpdate$,this.issuePermissionService.hasAclToAdmin$,this.formattingMode$]).pipe(B(function(x){var y=m(x),G=y.next().value,L=y.next().value;x=y.next().value;y=y.next().value;
var M=null!=L;L=L&&""!==(null==L?void 0:L.updateText);var T=[];L&&T.push({type:"submenu",label:"View as",className:"view-as-format",items:[{type:"select",label:"Classic",action:function(){u.formattingModeOverride$.next("PLAIN")},selected:"PLAIN"===y},{type:"select",label:"Markdown",action:function(){u.formattingModeOverride$.next("MARKDOWN")},selected:"MARKDOWN"===y},{type:"select",label:"Source",action:function(){u.formattingModeOverride$.next("LITERAL")},selected:"LITERAL"===y}]});T.push({type:"action",
label:"Edit Status Update",action:function(){DOa(u)}});M&&T.push({type:"action",label:"Show editing history",action:function(){thc(u,G)}});L&&x&&T.push({type:"action",label:"Delete Status Update",action:function(){u.confirmationDialogService.open({title:"Delete Status Update?",content:jp("\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(){u.doDelete()}})}});
T.push(uhc);return T}))};W($U,Z);$U.\u0275dir=Z.\u0275dir;$U.prototype.ngOnInit=function(){var a=this;setTimeout(function(){var b,c;return of(function(d){if(1==d.nextAddress)return d.yield((0,C.firstValueFrom)(a.uiState$.pipe(Gf(function(e){return"display-none loading"!==e}))),2);b=d.yieldResult;c=FOa(b);a.analytics.trackEvent(Mp.ISSUE,"statusUpdateDisplay",c);tf(d)})},1E3)};
$U.prototype.ngAfterViewInit=function(){var a;84<(null==(a=this.noteContainer)?void 0:a.nativeElement.scrollHeight)&&(this.isCollapsed=!0)};
var DOa=function(a){var b,c,d,e,f,h,l;return of(function(q){switch(q.nextAddress){case 1:return q.yield((0,C.firstValueFrom)(a.issueId$),2);case 2:return b=q.yieldResult,c={issueId:b,updateText:"",version:-1},e=null!=(d=Zo(a.statusUpdate$))?d:c,q.yield((0,C.firstValueFrom)(a.accessLevel$),3);case 3:return f=q.yieldResult,h="INTERNAL"===f?"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(u){a.didSave(b,
u)},function(u){a.errorHandler.errorHandler(null,u)});tf(q)}})},tOa=function(a){var b,c;return of(function(d){if(1==d.nextAddress)return d.yield((0,C.firstValueFrom)(a.issueId$),2);b=d.yieldResult;c=Zo(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)});tf(d)})};$U.prototype.didSave=function(a,b){qF(this.issueFridge,a,function(c){c.statusUpdate=b});this.issueFridge.poke(a)};
var thc=function(a,b){var c;of(function(d){if(1==d.nextAddress)return d.yield((0,C.firstValueFrom)(qhc(a.statusUpdateService,b)),2);c=d.yieldResult;a.statusUpdateHistoryDialogService.show(c);tf(d)})};$U.prototype.doDelete=function(){var a=this,b;of(function(c){if(1==c.nextAddress)return c.yield((0,C.firstValueFrom)(a.issueId$),2);b=c.yieldResult;a.statusUpdateService.delete(b).subscribe(function(){qF(a.issueFridge,b,function(d){d.statusUpdate=void 0});a.issueFridge.poke(b)});tf(c)})};
Xi.Object.defineProperties($U.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)}}});$U.\u0275fac=function(a){return new (a||$U)(A(wH),A(UI),A(cI),A(SU),A(ZF),A(BH),A(JJ),A(ZU),A(VU))};
$U.\u0275cmp=p({type:$U,selectors:[["status-update"]],viewQuery:function(a,b){a&1&&ih(rhc,5);if(a&2){var c;hh(c=kh())&&(b.noteContainer=c.first)}},inputs:{issueId:"issueId"},features:[qg],decls:2,vars:3,consts:[[3,"ngClass","class",4,"ngIf"],[3,"ngClass"],["svgIcon","group","color","primary",1,"margin-xs-right","shrink-0"],[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"],[4,"ngIf"],[1,"edit-info","right"],["matTooltip","Status Update actions",3,"buttonLabel","menuItems",4,"ngIf"],["class","empty-message muted",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"],[1,"empty-message","muted"]],template:function(a,b){a&1&&(P(0,EOa,21,21,"div",0),U(1,"async"));a&2&&D("ngIf",V(1,1,b.uiState$))},dependencies:[tL,aP,ww,yw,cL,iK,nK,SK,tA,jB,NC,Ew,sP],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}']});
var uhc={type:"action",label:"Using the Status Update field...",action:function(){pna(window,oi("https://developers.google.com/issue-tracker/concepts/status-update"),"_blank")},icon:"help-outline",className:"border-top"};var aV=function(){};aV.\u0275fac=function(a){return new (a||aV)};aV.\u0275mod=od({type:aV});aV.\u0275inj=Wc({imports:[iT,nP,Mw,IN,UU,JN,bP,YC,OC,ID,tP,YU,XU]});var bV=function(a,b){this.dialogRef=a;this.userApi=b;this.userSavedSearches=[];this.selectedSavedSearches=new Set;this.pristine=!0};g=bV.prototype;g.ngOnInit=function(){this.getUserSavedSearches()};g.getUserSavedSearches=function(){var a=this;this.userApi.getUserSavedSearches().then(function(b){a.userSavedSearches=[].concat(r(b))})};g.trackBySearchId=function(a,b){return b.searchId};g.onEnter=function(){this.onConfirm()};g.onEscape=function(){this.dialogRef.close()};g.onConfirm=function(){this.dialogRef.close(this.selectedSavedSearches)};
g.onCancel=function(){this.dialogRef.close()};g.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};bV.\u0275fac=function(a){return new (a||bV)(A(FA),A(dH))};
bV.\u0275cmp=p({type:bV,selectors:[["ng-component"]],hostBindings:function(a,b){a&1&&K("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&&(E(0,"h2",0),Q(1," Add Saved Search\n"),F(),E(2,"div",1)(3,"mat-selection-list",2),K("selectionChange",function(c){return b.onChangeMatList(c)}),P(4,HOa,6,6,"ng-container",3),F()(),E(5,"mat-dialog-actions")(6,"button",4),K("click",function(){return b.onCancel()}),
Q(7," Cancel "),F(),E(8,"button",5),K("click",function(){return b.onConfirm()}),Q(9," Add "),F()());a&2&&(z(4),D("ngForOf",b.userSavedSearches)("ngForTrackBy",b.trackBySearchId),z(4),D("disabled",b.pristine))},dependencies:[xw,yw,JA,KA,LA,MA,iU,jU,tA],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 cV=function(a){this.dialog=a};cV.prototype.open=function(){var a=this,b={panelClass:"no-jitter"};return new Promise(function(c){DA(a.dialog.open(bV,b)).subscribe(function(d){c(d)})})};cV.\u0275fac=function(a){return new (a||cV)(n(IA))};cV.\u0275prov=Vc({token:cV,factory:cV.\u0275fac,providedIn:"root"});var dV=function(){this.headerOnly=!1;this.emailToUser=gk};dV.\u0275fac=function(a){return new (a||dV)};
dV.\u0275cmp=p({type:dV,selectors:[["b-changelist-activity-card"]],inputs:{changelistWithId:"changelistWithId",headerOnly:"headerOnly"},decls:1,vars:1,consts:[["class","container carded bg-main",4,"ngIf"],[1,"container","carded","bg-main"],[1,"header","critique"],[1,"logo"],["alt","","src","https://static.corp.google.com/devtools/codereview/new_logo_only.svg",1,"user-avatar","material","robo-avatar","ng-star-inserted"],[1,"text","line-clamp-3"],[1,"first-row","heading-xs",3,"title"],["taret","_blank",
1,"subtle-link","line-clamp-2",3,"href"],[1,"second-row","type-xs"],["target","_blank",1,"subtle-link",3,"href"],[3,"model"],[1,"menu"],["mat-icon-button","","aria-label","Show menu for this artifact",1,"gmat-button",3,"matMenuTriggerFor"],["svgIcon","more-settings-vertical"],["artifactMenu","matMenu"],["mat-menu-item",""],["class","show-updates",4,"ngIf"],["class","updates",4,"ngIf"],["class","actions margin-s-top",4,"ngIf"],[1,"show-updates"],["mat-button","","aria-label","Show affected files",
1,"small",3,"click"],["svgIcon","arrow-down"],[1,"updates"],[1,"type-m","margin-bottom"],["mat-icon-button","","aria-label","Hide affected files",1,"small",3,"click"],["svgIcon","arrow-up",1,"icon-s"],["class","update",4,"ngFor","ngForOf"],[1,"update"],[1,"text"],[1,"actions","margin-s-top"],[1,"initiate","bordered","rounded"],["svgIcon","pop-out",1,"icon-s","margin-left"],["mat-button","","target","_blank",3,"href"]],template:function(a,b){a&1&&P(0,MOa,31,13,"div",0);a&2&&D("ngIf",null==b.changelistWithId?
null:b.changelistWithId.changelist)},dependencies:[xw,yw,tA,uA,jB,uM,FC,DC,EC],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 eV=function(a){this.bFocus=!0;this.nativeElement=a.nativeElement};eV.prototype.ngOnInit=function(){this.bFocus&&this.nativeElement.focus()};eV.prototype.ngOnChanges=function(){this.bFocus&&this.nativeElement.focus()};eV.\u0275fac=function(a){return new (a||eV)(A(ke))};eV.\u0275dir=qd({type:eV,selectors:[["","bFocus",""]],inputs:{bFocus:"bFocus"},features:[Hd]});var fV=function(){};fV.\u0275fac=function(a){return new (a||fV)};fV.\u0275mod=od({type:fV});fV.\u0275inj=Wc({});var gV=function(a){this.currentUser=a;this.headerOnly=!1;this.STATUS_TERSE=cF;this.emailToUser=gk;this.ReactionType=zSb;this.IssueStatus=FSb;this.toIssuePriority=sn;this.showCommentBox=new Map};g=gV.prototype;g.convertIssueStatusStrToTag=function(a){return rl[a]};g.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)};g.getUserEmailIfAvailable=function(a){return ck(a.userPerformingActionUser)};
g.clAuthorToUser=function(a){return{emailAddress:Jn(a)+"@google.com"}};g.clAuthorToEmailAddress=function(a){return Jn(a)+"@google.com"};g.clEventToClDescription=function(a){var b,c;return null!=(c=null==(b=a.unlinkifiedComment)?void 0:b.split("\n")[2])?c:""};g.getPreviousDiffValue=function(a,b){var c;return null==(c=[].concat(r(a.preDiffs),r(a.postDiffs)).find(function(d){return d.name===b}))?void 0:c.oldValue};
g.getNewDiffValue=function(a,b){var c;return null==(c=[].concat(r(a.preDiffs),r(a.postDiffs)).find(function(d){return d.name===b}))?void 0:c.newValue};gV.\u0275fac=function(a){return new (a||gV)(A(cI))};
gV.\u0275cmp=p({type:gV,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&&(E(0,"div",0),P(1,jPa,23,11,"ng-container",1),P(2,kPa,1,0,"ng-template",null,2,qh),F());a&2&&(z(1),D("ngIf",null==b.issueWithEvents?null:b.issueWithEvents.issue))},dependencies:[xw,yw,zw,Aw,Bw,XA,
jB,$A,FC,DC,EC,NC,tM,iI,UK,uM,tA,zM,eV,cL,Ew],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 vhc={QA:124156,NIGHTLY:190923,PROD:190923};var hV=function(a,b,c,d,e,f){Z.call(this);var h=this;this.componentApi=b;this.appEvents=e;this.activeSession=f;this.components=a.get("components-second-level-cache")||a.create("components-second-level-cache",{capacity:25});this.subscriptions.add(this.appEvents.componentModified.subscribe(function(l){h.components.removeAll();d.invalidate(l)}));this.componentGetter=c.adapt(function(l){var q=Oa(l);Xa(q);return h.componentApi.query({id:q}).then(function(u){var x={};u=m(u);for(var y=u.next();!y.done;y=
u.next())(y=y.value)&&(x[y.componentId]=y);return l.map(function(G){return x[G]||null})})})};W(hV,Z);hV.\u0275dir=Z.\u0275dir;g=hV.prototype;g.get=function(a){var b=this.components.get(String(a));if(null!=b)return b;b=this.componentGetter.get(a).then(function(c){return null!=c?c:Promise.reject({data:{message:"Could not load details for component "+a}})});return this.components.put(String(a),b)};
g.create=function(a){var b=this;return this.componentApi.create(a).then(function(c){b.appEvents.componentModified.next(c.componentId);return c})};g.update=function(a){var b=this;return this.componentApi.update(a).then(function(c){b.appEvents.componentModified.next(c.componentId);return c})};g.move=function(a,b){var c=this;return this.componentApi.move(a,b).then(function(d){c.appEvents.componentModified.next(d.componentId);return d})};
g.updateSlo=function(a,b){var c=this;return this.componentApi.updateSlo(a,b).then(function(d){c.appEvents.componentModified.next(d.componentId);return d})};g.updateTeam=function(a,b){var c=this;return this.componentApi.updateTeam(a,b).then(function(d){c.appEvents.componentModified.next(d.componentId);return d})};g.getChildren=function(a,b,c){return this.componentApi.getChildren(a,void 0===b?!1:b,c)};g.getDescendants=function(a){return this.componentApi.getDescendants(a)};
g.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)};g.search=function(a,b){var c={query:a};if(void 0===b?0:b)c.includearchived=!0;return whc(this,a,this.componentApi.query(c))};
var whc=function(a,b,c){if(b.match(/^\s*android\s*$/i)){var d=vhc[a.activeSession.getEnvironmentType()];if(d)return Ep({publicComponent:a.get(d),rest:c}).then(function(e){var f=[e.publicComponent];e=m(e.rest);for(var h=e.next();!h.done;h=e.next())h=h.value,h.componentId!==d&&f.push(h);return f})}return c};
hV.prototype.bulkLoad=function(a){var b=this,c=a.filter(function(f){return!b.components.get(String(f))});Xa(c);if(c.length){a=this.componentApi.query({id:c}).then(function(f){var h={};f=m(f);for(var l=f.next();!l.done;l=f.next())(l=l.value)&&(h[l.componentId]=l);return h});var d={};c=m(c);for(var e=c.next();!e.done;d={$jscomp$loop$prop$id$2289:d.$jscomp$loop$prop$id$2289},e=c.next())d.$jscomp$loop$prop$id$2289=e.value,this.components.put(String(d.$jscomp$loop$prop$id$2289),a.then(function(f){return function(h){return h[f.$jscomp$loop$prop$id$2289]?
h[f.$jscomp$loop$prop$id$2289]:Promise.reject({data:{message:"Could not load details for component "+f.$jscomp$loop$prop$id$2289}})}}(d)))}};hV.\u0275fac=function(a){return new (a||hV)(n(WG),n(SVb),n(GF),n(xF),n(cG),n(Vt))};hV.\u0275prov=Vc({token:hV,factory:hV.\u0275fac,providedIn:"root"});var iV=function(){this.showFolderSpecialIcon=!1;this.mode="default";this.query="";this.selectComponentId=new Rv;this.expandComponent=new Rv;this.goBack=new Rv};iV.prototype.ngOnInit=function(){};iV.prototype.expand=function(a,b){b.preventDefault();b.stopPropagation();this.expandComponent.emit(a)};iV.prototype.back=function(a){a.preventDefault();a.stopPropagation();this.goBack.emit()};iV.\u0275fac=function(a){return new (a||iV)};
iV.\u0275cmp=p({type:iV,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&&(E(0,"div",0),I(1,1),P(2,lPa,2,0,"ng-container",
2),P(3,mPa,3,0,"ng-container",2),P(4,nPa,3,3,"ng-container",3),J(),E(5,"div",4)(6,"span",5),P(7,sPa,2,1,"ng-container",6),P(8,uPa,1,1,"ng-template",null,7,qh),P(10,vPa,2,0,"span",8),F(),H(11,"b-access-level-indicator",9)(12,"b-tracker-chip-smart",10),F()());if(a&2){var c=O(9);z(1);D("ngSwitch",b.mode);z(1);D("ngSwitchCase","recent");z(1);D("ngSwitchCase","tree");z(4);D("ngIf","leaf"!==b.mode)("ngIfElse",c);z(3);D("ngIf",b.componentOption.archived);z(1);D("accessLevel",null==b.componentOption.accessLimit?
null:b.componentOption.accessLimit.accessLevel)("labelOnlyMode",!0);z(1);D("trackerId",b.componentOption.trackerId)("showHovercard",!1)}},dependencies:[xw,yw,zw,Aw,Bw,tA,jB,NC,qL,qP,OJ,UJ],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 jV=function(a,b,c,d,e,f,h){var l=this;this.userApi=a;this.componentActions=b;this.teamsService=c;this.analytics=d;this.destroyed$=e;this.config=f;this.currentTracker=h;this.includeArchived=!1;this.searchQuery$=new C.BehaviorSubject("");this.debouncedSearchQuery$=this.searchQuery$.pipe(Nf(250));this.state$=new C.BehaviorSubject("default");this.listUpdated$=new C.Subject;this.componentsLoading=this.teamsLoading=!1;this.teamScope$=new C.BehaviorSubject(void 0);this.componentOptions=[];this.childTeamsMap=
new Map;this.componentCountMap=new Map;this.recentComponents=[];this.myTeams$=new C.BehaviorSubject([]);this.showAllTeams$=new C.BehaviorSubject(!1);this.showAllTeamsDistinct$=this.showAllTeams$.pipe(Qf());this.teamOptions$=new C.BehaviorSubject([]);this.filteredTeamOptions$=(0,C.combineLatest)([this.teamOptions$,this.showAllTeamsDistinct$]).pipe(B(function(q){q=m(q);var u=q.next().value;return q.next().value?u:u.slice(0,5)}));this.hasHiddenTeams$=(0,C.combineLatest)([this.teamOptions$,this.showAllTeamsDistinct$]).pipe(B(function(q){var u=
m(q);q=u.next().value;u=u.next().value;return 5<q.length&&!u}));this.newChildTeams$=new C.BehaviorSubject([]);this.teamsDisplayed$=(0,C.merge)(this.myTeams$,this.teamOptions$,this.newChildTeams$,this.teamScope$.pipe(B(function(q){return q?[q]:[]}))).pipe(B(function(q){return q.map(function(u){return u.id})}));this.unseenTeamChildTeamsMap$=this.teamsDisplayed$.pipe(B(function(q){return q.filter(function(u){return!l.childTeamsMap.has(u)})}),Gf(function(q){return 0<q.length}),cg(function(q){return l.teamsService.getChildTeams(q)}),
B(zPa));this.unseenTeamComponentCountMap$=this.teamsDisplayed$.pipe(B(function(q){return q.filter(function(u){return!l.componentCountMap.has(u)})}),Gf(function(q){return 0<q.length}),cg(function(q){return PZb(l.teamsService,q)}));this.componentIdSelected$=new C.ReplaySubject(1);this.lastProcessedIndex=-1;this.requestIndex=0};
jV.prototype.init=function(a){var b=this;a=void 0===a?!1:a;xhc(this);(0,C.combineLatest)([this.debouncedSearchQuery$.pipe(ag(a?1:0)),this.state$]).pipe(dg(this.destroyed$)).subscribe(function(c){var d=m(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()&&yhc(b,c),zhc(b,c)):b.state$.next("default"):"team_scope"===d?b.teamScope$.value&&(b.teamOptions$.next([]),
zhc(b,"teamid:"+b.teamScope$.value.id+" "+c)):"component_scope"===d&&b.componentScope&&Ahc(b,b.componentScope.id)});this.debouncedSearchQuery$.pipe(fg(this.state$),dg(this.destroyed$)).subscribe(function(c){c=m(c);var d=c.next().value;"component_scope"===c.next().value&&b.state$.next(d?"global":"default")});this.unseenTeamChildTeamsMap$.pipe(dg(this.destroyed$)).subscribe(function(c){c=m(c.entries());for(var d=c.next();!d.done;d=c.next()){var e=m(d.value);d=e.next().value;e=e.next().value;b.childTeamsMap.set(d,
e)}});this.unseenTeamComponentCountMap$.pipe(dg(this.destroyed$)).subscribe(function(c){c=m(c.entries());for(var d=c.next();!d.done;d=c.next()){var e=m(d.value);d=e.next().value;e=e.next().value;b.componentCountMap.set(d,e)}})};jV.prototype.getTrackerId=function(){return this.currentTracker.getTrackerId()};jV.prototype.includeTeamData=function(){return this.config.includeTeamData&&!this.currentTracker.inTracker};
var xhc=function(a){a.componentsLoading=!0;a.userApi.getRecentComponents().then(function(b){b=b.filter(function(c){return a.filterTrackerComponents(c)});b=Bhc(a,b);a.recentComponents=b;a.listUpdated$.next()}).finally(function(){a.componentsLoading=!1});a.includeTeamData()&&(a.teamsLoading=!0,QH(a.teamsService,"").pipe(dg(a.destroyed$)).subscribe(function(b){a.myTeams$.next(b.getTeamSuggestionsList().map(wPa));a.listUpdated$.next();a.teamsLoading=!1},function(){a.teamsLoading=!1}))};
jV.prototype.filterTrackerComponents=function(a){return!this.currentTracker.inTracker||a.trackerId===this.getTrackerId()};jV.prototype.selectOption=function(a){"component"===a.type?MQa(this,a.id):"team"===a.type?TPa(this,a):console.warn("invalid option selected")};
var MQa=function(a,b){var c=Chc(a);a.analytics.trackEvent(Mp.COMPONENT_PICKER,"autocomplete-select",c);a.componentIdSelected$.next(b);a.state$.next("global")},Chc=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""};
jV.prototype.expandComponent=function(a){this.componentScope=a;this.state$.next("component_scope")};
var zQa=function(a,b){a.componentActions.get(b).then(function(c){a.componentScope=yPa(c,c.componentPathInfo);a.state$.next("component_scope")})},yQa=function(a){a.componentScope=void 0;a.searchQuery$.value?a.state$.next("global"):a.state$.next("default")},TPa=function(a,b){a.teamScope$.next(Object.assign({},b,{expanded:!1}));a.state$.next("team_scope");a.searchQuery$.next("");b.pathNames||Oq(a,b.id)},Oq=function(a,b){a.teamsLoading=!0;QH(a.teamsService,b).pipe(dg(a.destroyed$)).subscribe(function(c){c=
c.getTeamSuggestionsList().map(wPa);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})},Dhc=function(a){if(a.teamScope$.value&&a.teamScope$.value.pathIds&&!(2>a.teamScope$.value.pathIds.length)){var b=a.teamScope$.value.pathIds;Oq(a,b[b.length-2])}};jV.prototype.getChildTeams=function(a){var b;return null!=(b=this.childTeamsMap.get(a))?b:[]};
jV.prototype.hasNoComponent=function(a){return this.componentCountMap.has(a)?0===this.componentCountMap.get(a):!1};
var oQa=function(a,b){b.expanded=!1;a.listUpdated$.next()},pQa=function(a,b){b.expanded=!0;a.listUpdated$.next();a.newChildTeams$.next(a.getChildTeams(b.id))},sQa=function(a){a.teamScope$.next(void 0);a.searchQuery$.next("");a.state$.next("default")},yhc=function(a,b){1<b.length&&(a.teamsLoading=!0,QH(a.teamsService,b).pipe(dg(a.destroyed$)).subscribe(function(c){a.teamOptions$.next(c.getTeamSuggestionsList().map(wPa));a.teamsLoading=!1;a.listUpdated$.next()},function(){a.teamsLoading=!1}))},zhc=
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=Bhc(a,d));a.listUpdated$.next()}).finally(function(){a.componentsLoading=!1})}},Ahc=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=d.map(function(e){return yPa(e,e.componentPathInfo)}),
a.listUpdated$.next())}).finally(function(){a.componentsLoading=!1})},Bhc=function(a,b){return b.map(function(c){var d=oL(a.currentTracker,c.componentPathInfo);return yPa(c,d)})};var Ehc=0,kV=function(a,b){this.changeDetectorRef=a;this.elementRef=b;this.active=!1;this.id="b-component-picker-option-"+Ehc;Ehc+=1};kV.prototype.setActiveStyles=function(){this.active=!0;this.changeDetectorRef.markForCheck()};kV.prototype.setInactiveStyles=function(){this.active=!1;this.changeDetectorRef.markForCheck()};kV.\u0275fac=function(a){return new (a||kV)(A(qw),A(ke))};
kV.\u0275dir=qd({type:kV,selectors:[["","listOption",""]],hostVars:3,hostBindings:function(a,b){a&2&&(Lg("id",b.id),Fg("active",b.active))},inputs:{data:"data",listOrder:"listOrder"}});var lV=function(){this.query="";this.hasNoComponent=this.compact=this.allowSegmentSelection=!1;this.selectTeamId=new Rv};lV.prototype.getLogoUrl=function(){return"https://moma-teams-photos.corp.google.com/logo/"+this.teamOption.id};lV.prototype.ngOnInit=function(){};lV.\u0275fac=function(a){return new (a||lV)};
lV.\u0275cmp=p({type:lV,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&&(E(0,"div",0),P(1,APa,1,1,"img",1),E(2,"div",2),P(3,CPa,4,5,"div",3),P(4,KPa,2,1,"div",4),F()());a&2&&(Fg("no-component",b.hasNoComponent)("compact",b.compact),z(1),D("ngIf",!b.compact),z(2),D("ngIf",!b.compact),z(1),D("ngIf",b.teamOption.pathNames&&b.teamOption.pathNames.length))},dependencies:[xw,yw,OJ],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 Fhc=new Bd("MAT_PROGRESS_BAR_DEFAULT_OPTIONS"),Ghc=new Bd("mat-progress-bar-location",{providedIn:"root",factory:LPa});Yi(function(a){this._elementRef=a},"primary");var Hhc=["primaryValueBar"],Ihc=Yi(function(a){this._elementRef=a},"primary"),Jhc=0,mV=function(a,b,c,d,e,f){a=Ihc.call(this,a)||this;a._ngZone=b;a._animationMode=c;a._changeDetectorRef=f;a._isNoopAnimation=!1;a._value=0;a._bufferValue=0;a.animationEnd=new Rv;a._animationEndSubscription=C.Subscription.EMPTY;a.mode="determinate";a.progressbarId="mat-progress-bar-"+Jhc++;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};W(mV,Ihc);mV.prototype._primaryTransform=function(){return{transform:"scale3d("+this.value/100+", 1, 1)"}};mV.prototype._bufferTransform=function(){return"buffer"===this.mode?{transform:"scale3d("+this.bufferValue/100+", 1, 1)"}:null};
mV.prototype.ngAfterViewInit=function(){var a=this;this._ngZone.runOutsideAngular(function(){var b=a._primaryValueBar.nativeElement;a._animationEndSubscription=(0,C.fromEvent)(b,"transitionend").pipe(Gf(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})}))})})};mV.prototype.ngOnDestroy=function(){this._animationEndSubscription.unsubscribe()};
Xi.Object.defineProperties(mV.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this._value},set:function(a){this._value=Math.max(0,Math.min(100,ei(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()}}});
mV.\u0275fac=function(a){return new (a||mV)(A(ke),A(hg),A(cv,8),A(Ghc,8),A(Fhc,8),A(qw))};
mV.\u0275cmp=p({type:mV,selectors:[["mat-progress-bar"]],viewQuery:function(a,b){a&1&&ih(Hhc,5);if(a&2){var c;hh(c=kh())&&(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&&(ug("aria-valuenow","indeterminate"===b.mode||"query"===b.mode?null:b.value)("mode",b.mode),Fg("_mat-animation-noopable",b._isNoopAnimation))},inputs:{color:"color",value:"value",bufferValue:"bufferValue",
mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],features:[qg],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&&(E(0,"div",0),Sd(),E(1,"svg",1)(2,"defs")(3,"pattern",2),H(4,"circle",3),F()(),H(5,"rect",4),F(),Td(),H(6,"div",5)(7,"div",6,7)(9,"div",8),F());a&2&&(z(3),D("id",b.progressbarId),z(2),ug("fill",b._rectangleFillValue),z(1),D("ngStyle",b._bufferTransform()),z(1),D("ngStyle",b._primaryTransform()))},dependencies:[Cw],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 Khc=["container"],Lhc=["inputBox"],Mhc=["dropdownTemplate"],Nhc=["dropdown"],YPa=function(a){return{mode:"recent",$implicit:a}},cQa=function(a){return[a]},bQa=function(a,b){return{team:a,level:0,order:b}},iQa=function(a){return{mode:"default",$implicit:a}},lQa=function(a){return[0,a]},tQa=function(){return[0]},wQa=function(a,b){return{mode:"default",$implicit:a,teamScope:b}},CQa=function(a){return{mode:"leaf",$implicit:a}},HQa=function(a,b,c){return{team:a,level:b,order:c}},Ohc=[{originX:"start",
originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],nV=function(a,b,c,d,e,f,h,l,q,u,x){Z.call(this);this.overlay=a;this.viewContainerRef=b;this.userApi=c;this.componentActions=d;this.teamsService=e;this.userAccess=f;this.paths=h;this.analytics=l;this.activeSession=q;this.currentTracker=u;this.cdr=x;this.placeholder="";this.isRequired=!1;this.ariaLabel="";this.checkAdminAccess=!1;this.accessCheckComplete=new Rv;this.shouldFocus=!1;this.touched=
new Rv;this.selectedComponentChange=new Rv;this.dropdownClosed=new Rv;this.checkingAccess=this.hasAccess=!1;this.isExternal=this.activeSession.isExternalSession();this.searchState=new jV(this.userApi,this.componentActions,this.teamsService,this.analytics,this.destroyed$,{includeTeamData:!this.isExternal},this.currentTracker);this.componentLoading=this.isDropdownOpen=!1};W(nV,Z);nV.\u0275dir=Z.\u0275dir;
nV.prototype.ngOnInit=function(){var a=this;this.searchState.init(!!this.selectedComponent);this.searchState.componentIdSelected$.pipe(dg(this.destroyed$)).subscribe(function(b){a.componentLoading=!0;a.componentActions.get(b).then(function(c){a.selectedComponent=c;Phc(a);a.componentLoading=!1;a.close(!0);a.selectedComponentChange.emit(c)})},function(){a.componentLoading=!1});(0,C.merge)(this.searchState.debouncedSearchQuery$,this.searchState.state$).pipe(dg(this.destroyed$)).subscribe(function(){a.clearActiveItem()})};
nV.prototype.isLoading=function(){return this.componentLoading||this.searchState.componentsLoading||this.searchState.teamsLoading};
var Phc=function(a){if(a.selectedComponent){var b=oL(a.currentTracker,a.selectedComponent.componentPathInfo);b=yPa(a.selectedComponent,b);a.searchState.searchQuery$.next(b.componentPath.length?b.componentPath[b.componentPath.length-1].pathText:"")}else a.searchState.searchQuery$.next("")},Qhc=function(a){if(a.dropdown&&a.keyManager&&a.keyManager.activeItem){var b=a.keyManager.activeItem.elementRef.nativeElement,c=b.offsetTop;b=b.offsetHeight;var d=a.dropdown.nativeElement.scrollTop,e=a.dropdown.nativeElement.offsetHeight;
a.dropdown.nativeElement.scrollTop=c<d?c:c+b>d+e?Math.max(0,c-e+b):d}};g=nV.prototype;g.ngOnChanges=function(a){a.selectedComponent&&(Phc(this),this.checkAdminAccess&&this.selectedComponent&&Rhc(this,this.selectedComponent))};g.ngOnDestroy=function(){this.close();Z.prototype.ngOnDestroy.call(this)};
g.ngAfterViewInit=function(){var a=this;this.keyManager=az(oKb(new ez(this.listOptions)));this.searchState.listUpdated$.pipe(dg(this.destroyed$)).subscribe(function(){a.cdr.markForCheck()});this.listOptions.changes.pipe(dg(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(WQa);b=[].concat(r(c),r(b));a.listOptions.reset(b);var d;if(null==(d=a.keyManager)?0:d.activeItem)d=b.indexOf(a.keyManager.activeItem),
-1<d&&d!==a.keyManager.activeItemIndex&&a.keyManager.setActiveItem(d)});this.shouldFocus&&setTimeout(function(){a.inputBox.nativeElement.focus()})};g.open=function(){this.isDropdownOpen||(this.isDropdownOpen=!0,this.dropdownOverlayRef=this.createOverlay(),this.attach())};
g.close=function(a){a=void 0===a?!1:a;this.isDropdownOpen&&this.dropdownOverlayRef&&(this.searchState.searchQuery$.value||(this.selectedComponent=void 0,this.selectedComponentChange.emit(void 0)),"team_scope"===this.searchState.state$.value&&sQa(this.searchState),this.isDropdownOpen=!1,this.dropdownOverlayRef.dispose(),this.dropdownOverlayRef=void 0,this.clearActiveItem(),this.dropdownClosed.emit(),this.analytics.trackEvent(Mp.COMPONENT_PICKER,"close",a?"with-selection":"without-selection"))};
g.clearQuery=function(){this.searchState.searchQuery$.next("");this.isDropdownOpen||this.inputBox.nativeElement.focus()};var Shc=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};
nV.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),Qhc(this)):(this.open(),setTimeout(function(){var d;null==(d=b.keyManager)||sKb(d);Qhc(b)}));break;case "ArrowDown":this.isDropdownOpen?(this.keyManager.onKeydown(a),Qhc(this)):(this.open(),setTimeout(function(){var d;null!=(d=b.keyManager)&&d._setActiveItemByIndex(0,1);Qhc(b)}));break;case "Enter":this.keyManager.activeItem&&
(this.searchState.teamScope$.value===this.keyManager.activeItem.data?sQa(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(),pQa(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?oQa(this.searchState,this.keyManager.activeItem.data):Dhc(this.searchState));"component_scope"===this.searchState.state$.value&&(a.preventDefault(),yQa(this.searchState));break;case "Backspace":case "Delete":this.keyManager.activeItem&&this.searchState.teamScope$.value===this.keyManager.activeItem.data&&(sQa(this.searchState),a.preventDefault());break;default:this.touched.emit(),
this.isDropdownOpen||this.open()}};var Nq=function(a){a.preventDefault();a.stopPropagation()},Rhc=function(a,b){a.checkingAccess=!0;a.hasAccess=!1;JF(a.userAccess,"admin","components/"+b.componentId).then(function(c){a.checkingAccess=!1;a.accessCheckComplete.emit(c);a.hasAccess=c})};g=nV.prototype;
g.createOverlay=function(){var a=this.getPositionStrategy(),b=this.getScrollStrategy(),c;return this.overlay.create(new Az({positionStrategy:a,scrollStrategy:b,panelClass:["b-team-component-picker-dropdown","gmat-elevation-z3"],width:null==(c=this.container.nativeElement)?void 0:c.offsetWidth}))};g.attach=function(){var a=new Mx(this.dropdownTemplateRef,this.viewContainerRef),b;null==(b=this.dropdownOverlayRef)||b.attach(a);var c;null==(c=this.dropdownOverlayRef)||c.updatePosition()};
g.getPositionStrategy=function(){return Dz(LKb(Fz(Hz(this.overlay.position(),this.container),!1),!1),Ohc)};g.getScrollStrategy=function(){return this.overlay.scrollStrategies.reposition()};g.clearActiveItem=function(){this.keyManager&&this.keyManager.activeItem&&(this.keyManager.setActiveItem(-1),this.dropdown&&(this.dropdown.nativeElement.scrollTop=0))};Xi.Object.defineProperties(nV.prototype,{includeArchived:{configurable:!0,enumerable:!0,set:function(a){this.searchState.includeArchived=a}}});
nV.\u0275fac=function(a){return new (a||nV)(A(Iz),A(fh),A(dH),A(hV),A(PH),A(IF),A(NG),A(wH),A(Vt),A(mL),A(qw))};
nV.\u0275cmp=p({type:nV,selectors:[["b-team-component-picker"]],viewQuery:function(a,b){a&1&&(ih(Khc,7),ih(Lhc,7),ih(Mhc,7),ih(Nhc,5),ih(kV,5));if(a&2){var c;hh(c=kh())&&(b.container=c.first);hh(c=kh())&&(b.inputBox=c.first);hh(c=kh())&&(b.dropdownTemplateRef=c.first);hh(c=kh())&&(b.dropdown=c.first);hh(c=kh())&&(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:[qg,Hd],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&&(E(0,"div",0,1)(2,"input",2,3),K("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()}),U(4,"async"),F(),P(5,MPa,2,0,"button",4),F(),P(6,QPa,4,2,"div",5),P(7,EQa,11,8,"ng-template",null,6,qh),P(9,KQa,5,11,"ng-template",null,
7,qh),P(11,VQa,3,2,"ng-template",null,8,qh));if(a&2){var c=O(3);z(2);D("ngModel",V(4,8,b.searchState.searchQuery$))("placeholder",b.placeholder)("required",b.isRequired);ug("aria-label",b.ariaLabel+(b.selectedComponent?" Component selected. Change.":" Choose component"))("aria-expanded",b.isDropdownOpen)("aria-activedescendant",Shc(b));z(3);D("ngIf",c.value);z(1);D("ngIf",b.checkAdminAccess)}},dependencies:[xw,yw,Dw,zw,Aw,Bw,Qh,ax,sx,hx,tA,jB,AM,NC,mV,lV,iV,kV,Ew],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 Thc={ME:0,TEAM:1,COMPONENT:2,HOTLIST:3,SAVEDSEARCH:4,0:"ME",1:"TEAM",2:"COMPONENT",3:"HOTLIST",4:"SAVEDSEARCH"},Uhc=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}}]]),Vhc=Uhc.get(0),oV=function(a){var b=this;this.hotlistFridge=a;this.selectedFilter=Vhc;this.isOpen=!1;this.FilterType=Thc;this.filters=Uhc;this.selectedComponent=
null;this.isHotlistPanelOpen=!1;this.selectedHotlist=null;this.userHotlistQuery$=new C.BehaviorSubject("");this.userHotlists$=EYb(this.hotlistFridge);this.displayedHotlists$=this.userHotlistQuery$.pipe(Nf(200),cg(function(c){c=c.toLowerCase();return b.userHotlists$.pipe(B(function(d){return d.filter(function(e){return e.name.toLowerCase().includes(c)})}))}));this.selected=new Rv;this.internalSelectedFilter=Gj(this.selectedFilter);if(a=jH("streamFilterSelectedComponent")())this.selectedComponent=a,
this.filters.get(2).search.value=a.componentId+"+";if(a=jH("streamFilterSelectedHotlist")())this.selectedHotlist=a,this.filters.get(3).search.value=String(a.hotlistId)};oV.prototype.selectComponent=function(a){a&&(Pq("streamFilterSelectedComponent")(a),this.selectedComponent=a,this.filters.get(2).search.value=a.componentId+"+",this.selectedFilter=this.filters.get(2))};
var Whc=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};oV.prototype.openMenu=function(){this.isOpen=!0};
oV.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};oV.prototype.emitSelection=function(){this.selected.emit(this.selectedFilter);this.closeMenu()};oV.\u0275fac=function(a){return new (a||oV)(A(hH))};
oV.\u0275cmp=p({type:oV,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&&(E(0,"button",0,1),K("click",function(){return b.openMenu()}),H(2,"mat-icon",2),F(),E(3,"div",3),Q(4),F(),P(5,fRa,15,6,"ng-template",4),K("detach",function(){return b.closeMenu()})("backdropClick",
function(){return b.closeMenu()}),P(6,gRa,1,0,"ng-template",null,5,qh));if(a&2){var c=O(1);Fg("menu-open",b.isOpen);z(4);R(" ",Whc(b),"\n");z(1);D("cdkConnectedOverlayOrigin",c)("cdkConnectedOverlayOpen",b.isOpen)}},dependencies:[xw,yw,tA,XA,VA,jB,$A,iU,jU,AM,Kz,Jz,DN,EN,zM,nV,Ew],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 oRa=function(){return[]},Xhc={CARD_HEADER_ONLY:0,0:"CARD_HEADER_ONLY"},pV=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,C.of)([]);this.changelistsWithIds=(0,C.of)([]);this.loadingCards=!0;this.isSettingsMenuOpen=!1;this.settings=new Map([[0,{id:0,display:"Show card headers only",value:!1}]]);this.SettingType=Xhc;a=Po("activityStreamHeaderOnly")();this.settings.get(0).value=
null!=a?a:!1;this.selectedFilter=(a=jH("activityStreamSelectedFilter")())?a:Vhc;Yhc(this)},Yhc=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(B(function(b){var c;return null!=(c=b.results)?c:[]}),B(a.buildIssuesWithEvents.bind(a)),eg(function(){Zhc(a)}))};
pV.prototype.getDayOfYear=function(a){a=void 0===a?new Date:a;var b=new Date(a.getFullYear(),0,0);return Math.floor((a.getTime()-b.getTime()+6E4*(b.getTimezoneOffset()-a.getTimezoneOffset()))/864E5)};var Zhc=function(a){setTimeout(function(){a.loadingCards=!1},500)};
pV.prototype.buildIssuesWithEvents=function(a){var b=this,c=[];a.sort(function(e,f){return f.majorModifiedTimeMicros-e.majorModifiedTimeMicros});a=m(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(B(function(e){if(e){var f,h=null!=(f=e.events)?f:[];e=e.id;f=[];h=m(h);for(var l=h.next();!l.done;l=h.next())if(l=l.value){var q=b.getInterestingEventType(l);q&&f.push({issueId:e,event:l,eventType:q})}e=f}else e=[];return e}))});
return c};
pV.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(r(a.preDiffs),r(a.postDiffs));b=m(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 Hn(a)?"changelistFixed":"status";if("assignee"===c.name)return"assignee";if("statusUpdate"===c.name)return"statusUpdate"}}return Hn(a)?"changelist":
zn(a)&&a.isHumanAuthor?"comment":null};pV.\u0275fac=function(a){return new (a||pV)(A(BH),A(sF),A(cI),A(bL),A(ND))};
pV.\u0275cmp=p({type:pV,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&&(E(0,"div",0)(1,"div",1)(2,"b-activity-stream-filter",2),K("selected",function(d){b.selectedFilter=d;Pq("activityStreamSelectedFilter")(d);Yhc(b)}),F(),E(3,"button",3),
K("click",function(){return Yhc(b)}),H(4,"mat-icon",4),F(),E(5,"button",5,6),K("click",function(){b.isSettingsMenuOpen=!0}),H(7,"mat-icon",7),F(),P(8,iRa,2,1,"ng-template",8),K("detach",function(){b.isSettingsMenuOpen=!1})("backdropClick",function(){b.isSettingsMenuOpen=!1}),F(),P(9,kRa,3,3,"div",9),P(10,rRa,6,5,"div",9),F());if(a&2){var c=O(6);z(2);D("selectedFilter",b.selectedFilter);z(6);D("cdkConnectedOverlayOrigin",c)("cdkConnectedOverlayOpen",b.isSettingsMenuOpen);z(1);D("ngIf",b.showCls);z(1);
D("ngIf",!b.showCls)}},dependencies:[xw,yw,tA,jB,iU,jU,Kz,Jz,zM,gV,dV,oV,Ew],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 ARa=function(a){return{count:a}},qV=function(a,b,c,d,e,f){var h=this;this.activeSession=a;this.hackyPrefs=b;this.issuePermissionService=c;this.issueRelationshipsFridge=d;this.projectSuggestService=e;this.issueFridge=f;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(B(function(l){var q;return null!=
(q=null==l?void 0:l.relatedChildren.map(function(u){return u.targetIssueId}))?q:[]}));this.unarchivedProjectsCount$=this.projectIds$.pipe(B(function(l){return l.length}));this.rowCreated$=new C.Subject;this.showSuggestedProjects=!1;this.suggestLimit=4;this.suggestedProjects$=(0,C.combineLatest)([w_b(this.projectSuggestService),JH(this.issueRelationshipsFridge,this.hackyPrefs.prefs.id,2)]).pipe(B(function(l){l=m(l);var q=l.next().value,u=l.next().value.results.map(function(x){return x.issueId});return q.filter(function(x){return!u.includes(x)})}),
cg(this.issueFridge.watchSet));this.modifyMenuItems=function(l,q){if(l.ancestorChain.parentNodeId===h.hackyPrefs.prefs.id){if(l=q.find(function(u){return"Unlink from parent"===u.label}))l.label="Remove project";if(l=q.find(function(u){return"Archive"===u.label}))l.label="Archive project";if(l=q.find(function(u){return"Create sibling"===u.label}))l.label="Create project"}return q}};qV.prototype.addChild=function(){this.rowCreated$.next();var a;null==(a=this.table)||a.addExistingChild()};
qV.prototype.createChild=function(){this.rowCreated$.next();var a;null==(a=this.table)||a.createChildIssue()};var vRa=function(a,b){a.hackyPrefs.prefs.projectFilters=b;a.hackyPrefs.save(a.hackyPrefs.prefs)};qV.prototype.addProject=function(a){this.hackyPrefs.prefs.id&&this.issueRelationshipsFridge.assignParentToOneIssue(this.hackyPrefs.prefs.id,a)};qV.\u0275fac=function(a){return new (a||qV)(A(Vt),A(dI),A(JJ),A(IH),A(hI),A(BH))};
qV.\u0275cmp=p({type:qV,selectors:[["my-projects"]],viewQuery:function(a,b){a&1&&ih(mQ,5);if(a&2){var c;hh(c=kh())&&(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&&(E(0,"div",0)(1,"h2",1)(2,"div",2),H(3,"mat-icon",3),F(),Q(4," My projects "),F(),P(5,sRa,1,0,"ng-container",4),F(),P(6,CRa,8,15,"section",5),P(7,JRa,7,4,"div",6),P(8,LRa,7,8,"ng-template",null,7,qh));if(a&2){var c=
O(9);Fg("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]);z(5);D("ngTemplateOutlet",c);z(1);D("ngIf",b.hackyPrefs.prefs.id);z(1);D("ngIf",b.showSuggestedProjects)}},dependencies:[xw,yw,Dw,cQ,jB,NC,mQ,VK,zM,Ew],styles:['[_nghost-%COMP%]{display:block}[_nghost-%COMP%]     h4 button{margin:-8px 0}[_nghost-%COMP%]     h4 button.gmat-button.mat-stroked-button.small{line-height:21px}.table-header[_ngcontent-%COMP%]{margin-top:0;margin-bottom:4px}.status[_ngcontent-%COMP%]   b-spinner[_ngcontent-%COMP%]{margin-top:4px}.status[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{margin-top:-1px}b-button.add[_ngcontent-%COMP%]{margin-left:16px}h4[_ngcontent-%COMP%]:hover{text-decoration:underline;cursor:pointer}.table-header.collapsed[_ngcontent-%COMP%]{text-decoration:underline}.table-header.collapsed[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]{margin:0}.table-header.collapsed[_ngcontent-%COMP%]   b-button[_ngcontent-%COMP%], .table-header.collapsed[_ngcontent-%COMP%]   .b-chip[_ngcontent-%COMP%]{display:none}.table-header.collapsed[_ngcontent-%COMP%]:after{content:"";margin-left:4px;display:inline-block;border:5px solid rgba(0,0,0,0);border-top:5px solid var(--gfx-muted);border-bottom:0 none}section.collapsed[_ngcontent-%COMP%]{display:none}.suggested[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:8px}\n/*# sourceMappingURL=my_projects.css.map */']});var $hc=function(){return[]},aic=Mp.EXPERIMENTAL_HOMEPAGE,rV=function(a,b,c,d,e,f){Z.call(this);var h=this;this.hackyPrefs=a;this.projectPicker=b;this.analytics=c;this.hotlistPicker=d;this.savedSearchPicker=e;this.hotlistSuggest=f;this.SECTION_SLUG="my-projects-as-cards";this.IMMERSED=HVb[1];this.SPACE_EMPTY_STATE=N3b;this.log=console.log.bind(console);this.extractHotlistId=Kn;this.inferEntityType=Nn;this.extractSavedSearchId=Psa;this.suggestedHotlists$=this.hotlistSuggest.suggestedHotlists$;this.addProject=
function(l){null!=l&&vp(h.hackyPrefs,l)};a=Rq(this.hackyPrefs).length;this.analytics.trackEvent(aic,"display","selected-projects-"+a,a)};W(rV,Z);rV.\u0275dir=Z.\u0275dir;rV.prototype.ngOnInit=function(){var a=this;1===Rq(this.hackyPrefs).length&&this.suggestedHotlists$.pipe(Rf()).subscribe(function(b){var c=Rq(a.hackyPrefs);if("hotlist"===Nn(c[0])){var d=Kn(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))}})};
rV.prototype.onClickAdd=function(){this.projectPicker.open().then(this.addProject)};rV.prototype.onClickAddHotlist=function(){var a=this,b,c,d,e,f,h,l;return of(function(q){if(1==q.nextAddress)return q.yield(a.hotlistPicker.openModal([]),2);b=q.yieldResult;e=null!=(d=null==(c=b)?void 0:c.added)?d:[];f=m(e.map(Ln));for(h=f.next();!h.done;h=f.next())l=h.value,vp(a.hackyPrefs,l);tf(q)})};
rV.prototype.onClickAddSavedSearch=function(){var a=this;this.savedSearchPicker.open().then(function(b){if(b){b=m(b);for(var c=b.next();!c.done;c=b.next())vp(a.hackyPrefs,Mn(c.value))}})};Xi.Object.defineProperties(rV.prototype,{prefs:{configurable:!0,enumerable:!0,get:function(){return this.hackyPrefs.prefs}}});rV.\u0275fac=function(a){return new (a||rV)(A(dI),A(CT),A(wH),A(xU),A(cV),A(YH))};
rV.\u0275cmp=p({type:rV,selectors:[["my-projects-as-cards"]],features:[qg],decls:10,vars:7,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,"gap","flex-kids-y"],[4,"ngFor","ngForOf"],[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"],["class","flex-kids-x gap",4,"ngIf"],[1,"flex-kids-x","gap"],["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"],[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"]],template:function(a,b){a&1&&(E(0,"h2"),Q(1," My projects "),E(2,"button",0),K("click",function(){return b.onClickAdd()}),H(3,"mat-icon",1),F()(),E(4,"section",2),P(5,ZRa,9,
7,"ng-container",3),H(6,"my-work-card"),P(7,aSa,2,1,"ng-container",4),P(8,bSa,11,1,"ng-container",4),P(9,cSa,6,0,"ng-container",4),F());a&2&&(z(5),D("ngForOf",b.prefs.pinned||Wg(4,$hc)),z(2),D("ngIf",b.prefs.pinned),z(1),D("ngIf",0===(b.prefs.pinned||Wg(5,$hc)).length),z(1),D("ngIf",1>=(b.prefs.pinned||Wg(6,$hc)).length))},dependencies:[xw,yw,zw,Aw,Bw,tA,uA,jB,zT,VT,BM,cU,ZT,CM,AT],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}\n/*# sourceMappingURL=my_projects_as_cards.css.map */"]});var bic=function(){return[]},cic=Mp.EXPERIMENTAL_HOMEPAGE,sV=function(a,b,c,d,e,f,h,l){Z.call(this);var q=this;this.hackyPrefs=a;this.projectPicker=b;this.analytics=c;this.hotlistPicker=d;this.savedSearchPicker=e;this.issueFridge=f;this.hotlistFridge=h;this.savedSearchFridge=l;this.SECTION_SLUG="my-projects-as-tabs";this.IMMERSED=HVb[1];this.SPACE_EMPTY_STATE=N3b;this.log=console.log.bind(console);this.extractHotlistId=Kn;this.inferEntityType=Nn;this.extractSavedSearchId=Psa;this.extractIssueId=Qsa;
this.addProject=function(u){null!=u&&vp(q.hackyPrefs,u)};a=Rq(this.hackyPrefs).length;this.analytics.trackEvent(cic,"display","selected-projects-"+a,a)};W(sV,Z);sV.\u0275dir=Z.\u0275dir;
var nSa=function(a,b){function c(u,x){var y,G,L,M;return null==u?void 0:null==(y=u.memory)?void 0:null==(G=y.cache)?void 0:null==(L=G.get)?void 0:null==(M=L.call(G,x))?void 0:M.data}switch(Nn(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=Qsa(b);var f,h;return null==(f=c(a.issueFridge,b))?void 0:null==(h=f.snapshot[0])?void 0:
h.title;case "hotlist":b=Kn(b);var l;return null==(l=c(a.hotlistFridge,b))?void 0:l.name;case "savedsearch":b=Psa(b);var q;return null==(q=c(a.savedSearchFridge,b))?void 0:q.name;default:console.warn("unknown reference type",b)}};sV.prototype.onClickAdd=function(){this.projectPicker.open().then(this.addProject)};
sV.prototype.onClickAddHotlist=function(){var a=this,b,c,d,e,f,h,l;return of(function(q){if(1==q.nextAddress)return q.yield(a.hotlistPicker.openModal([]),2);b=q.yieldResult;e=null!=(d=null==(c=b)?void 0:c.added)?d:[];f=m(e.map(Ln));for(h=f.next();!h.done;h=f.next())l=h.value,vp(a.hackyPrefs,l);tf(q)})};sV.prototype.onClickAddSavedSearch=function(){var a=this;this.savedSearchPicker.open().then(function(b){if(b){b=m(b);for(var c=b.next();!c.done;c=b.next())vp(a.hackyPrefs,Mn(c.value))}})};
Xi.Object.defineProperties(sV.prototype,{prefs:{configurable:!0,enumerable:!0,get:function(){return this.hackyPrefs.prefs}}});sV.\u0275fac=function(a){return new (a||sV)(A(dI),A(CT),A(wH),A(xU),A(cV),A(BH),A(hH),A(LH))};
sV.\u0275cmp=p({type:sV,selectors:[["my-projects-as-tabs"]],features:[qg],decls:7,vars:4,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"],["gmat-tabs","",1,"carded","bg-main","no-cards-inside",3,"selectedIndex","selectedIndexChange"],[4,"ngFor","ngForOf"],[4,"ngIf"],[3,"ngSwitch"],[3,"label"],[3,"assignedOnly",4,"ngSwitchCase"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],
[3,"assignedOnly"],[3,"hotlistId",4,"ngIf"],[3,"hotlistId"],[3,"issueId"],[3,"issueId",4,"ngIf"],[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"],["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&&(E(0,"h2"),Q(1," My projects "),E(2,"button",0),K("click",function(){return b.onClickAdd()}),H(3,"mat-icon",1),F()(),E(4,"mat-tab-group",2),K("selectedIndexChange",function(c){return zVa(b.hackyPrefs,{chosenTabForWork:c})}),P(5,oSa,10,8,"ng-container",3),F(),P(6,qSa,2,1,"ng-container",4));a&2&&(z(4),D("selectedIndex",b.prefs.chosenTabForWork),z(1),D("ngForOf",b.prefs.pinned||
Wg(3,bic)),z(1),D("ngIf",b.prefs.pinned))},dependencies:[xw,yw,zw,Aw,Bw,tA,jB,uN,tN,zT,BM,cU,ZT],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)}\n/*# sourceMappingURL=my_projects_as_tabs.css.map */"]});var eic=function(a){Y.call(this,a,-1,dic)};W(eic,Y);g=eic.prototype;g.getSignalsList=function(){return Ym(this,6)};g.setSignalsList=function(a){fn(this,6,a)};g.getCount=function(){return zj(this,1)};g.setCount=function(a){return k(this,1,a)};g.setS=function(a){k(this,2,a)};g.setP=function(a){return k(this,3,a)};g.getNextPageToken=function(){return Dk(this,4)};g.setTrackerIdsList=function(a){sl(this,5,a)};var dic=[6,5];var tV=function(a){Y.call(this,a)};W(tV,Y);tV.prototype.getTimestamp=function(){return Ok(this,vj,2)};tV.prototype.setTimestamp=function(a){return gl(this,vj,2,a)};tV.prototype.hasTimestamp=function(){return Hl(this,vj,2)};var Qq=function(a){Y.call(this,a,-1,fic)};W(Qq,Y);Qq.prototype.getIssue=function(){return Ok(this,Al,1)};Qq.prototype.setIssue=function(a){gl(this,Al,1,a)};Qq.prototype.getSignalsList=function(){return yj(this,tV,2)};Qq.prototype.setSignalsList=function(a){ac(this,2,a)};var fic=[2];var uV=function(a){Y.call(this,a,-1,gic)};W(uV,Y);uV.prototype.getNumTotalResults=function(){return zj(this,2)};uV.prototype.getComponentsMap=function(){return Yl(this,3,Vl)};uV.prototype.getNextPageToken=function(){return Dk(this,4)};var gic=[1];uV.messageId="b.NeedsAttentionSearchResponse";var vV=function(a){Y.call(this,a,-1,hic)};W(vV,Y);vV.prototype.getIssueIdsList=function(){return Ib(this,1,wb)};vV.prototype.setIssueIdsList=function(a){return Mb(this,1,a,vb)};vV.prototype.addIssueIds=function(a){Ob(this,1,a)};var hic=[1];var iic=function(a){Y.call(this,a)};W(iic,Y);iic.messageId="b.UpdateIssueDismissTimestampResponse";var wV=function(a,b){this.executor=a;this.appEvents=b;this.COUNT=100};wV.prototype.listIssues=function(a,b,c){var d=this,e=(new eic).setCount(this.COUNT).setP(1);a&&e.setS(a.toApiUrlParam());b&&e.setTrackerIdsList(b);c&&e.setSignalsList(c.map(vSa));return this.executor.post({url:"action/issues/attention",body:e,responseConstructor:uV}).then(sSa).then(function(f){d.appEvents.needsAttentionIssueCount.next(f.numTotalResults||0);return f})};
var xV=function(a,b,c){b=(new vV).setIssueIdsList(b.map(Sj));c=k(b,2,c);return a.executor.post({url:"action/issues/dismiss_timestamp",body:c,responseConstructor:iic}).then(uSa)};wV.\u0275fac=function(a){return new (a||wV)(n(LD),n(cG))};wV.\u0275prov=Vc({token:wV,factory:wV.\u0275fac,providedIn:"root"});var jic="NEAR_SLO MENTIONED UNBLOCKED NEEDS_REPORTER_INPUT REPLIED_TO_MENTION NEWLY_BLOCKING ASSIGNED".split(" "),yV=function(a,b,c,d,e){Z.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(ESb).filter(function(f){return"SIGNAL_TYPE_UNKNOWN"!==f&&"ASSIGNED"!==f&&"REPLIED_TO_MENTION"!==f&&"NEWLY_BLOCKING"!==f});this.selectedSignals=[].concat(r(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)};W(yV,Z);yV.\u0275dir=Z.\u0275dir;
yV.prototype.ngOnInit=function(){var a=this;kic(this);this.destroyed$.pipe(Rf()).subscribe(function(){var b;null==(b=a.snackbarRef)||b.dismiss()})};
var kic=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,jic).then(function(c){c=m(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()})},
lic=function(a){return a.needsAttentionIssues.filter(function(b){var c,d=(null!=(c=a.issueToSignalsMap.get(b.issueId))?c:[]).some(function(f){return a.selectedSignals.includes(f.signalType)}),e;return(null==(e=a.lastDismissedIssue)?void 0:e.issueId)!==b.issueId&&d})};
yV.prototype.dismissIssue=function(a){var b=this;this.dismissInProgress[a]=!0;xV(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(Rf()).subscribe(function(d){d.dismissedByAction&&
mic(b,a)})})};var mic=function(a,b){xV(a.needsAttentionApi,[b],!1).then(function(){a.needsAttentionIssues.splice(a.lastDismissedIssueIndex,0,a.lastDismissedIssue);a.cdr.detectChanges();a.snackbar.open({message:"Issue un-dismissed"})})};yV.prototype.selectAllSignals=function(){this.selectedSignals=[].concat(r(this.ALL_SIGNAL_TYPES))};yV.prototype.toggleSignal=function(a){var b=this.selectedSignals.indexOf(a);-1===b?this.selectedSignals.push(a):this.selectedSignals.splice(b,1)};
var ASa=function(a,b){return(a.issueToSignalsMap.get(b)||[]).find(function(c){return a.selectedSignals.includes(c.signalType)})||null};
yV.prototype.getSignalTypeTooltip=function(a){a=ASa(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 wSa=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""}};yV.\u0275fac=function(a){return new (a||yV)(A(wV),A(TF),A(dI),A(bL),A(sH,2))};
yV.\u0275cmp=p({type:yV,selectors:[["needs-attention-widget"]],features:[Ug([sH]),qg],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&&(E(0,"h2"),Q(1," Needs attention "),E(2,"span",0),Q(3),F()(),E(4,"section",1)(5,"span",2),K("click",function(){return b.selectAllSignals()}),Q(6," All "),F(),P(7,ySa,2,1,"ng-container",3),F(),E(8,"section",4),P(9,BSa,2,1,"ng-container",3),F());a&2&&(Fg("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]),z(3),R("(",b.needsAttentionIssues.length,")"),z(1),Fg("collapsed",
b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]),z(1),Fg("selected",b.selectedSignals.length===b.ALL_SIGNAL_TYPES.length),z(2),D("ngForOf",b.ALL_SIGNAL_TYPES),z(1),Fg("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]),z(1),D("ngForOf",lic(b)))},dependencies:[VK,xw,yw,jB,NC],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 zV=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:""}]])};
zV.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"}};zV.\u0275fac=function(a){return new (a||zV)(A(bL))};
zV.\u0275cmp=p({type:zV,selectors:[["b-signal-chip"]],inputs:{signal:"signal"},decls:1,vars:1,consts:[[3,"matTooltip","class",4,"ngIf"],[3,"matTooltip"],[3,"svgIcon"]],template:function(a,b){a&1&&P(0,CSa,2,5,"span",0);a&2&&D("ngIf",b.SIGNAL_MAPPING.get(b.signal.signalType))},dependencies:[yw,jB,NC],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 AV=function(a,b,c,d,e,f,h){yV.call(this,a,b,c,d,h);this.needsAttentionApi=a;this.snackbar=b;this.hackyPrefs=c;this.dateFormatter=d;this.domSafe=e;this.router=f;this.cdr=h;this.SECTION_SLUG="needs-attention-table";this.columnsToDisplay=["alert","title","priority","action"];this.customColumns=["alert","action"]};W(AV,yV);AV.\u0275dir=yV.\u0275dir;AV.prototype.getIssueIdsToDisplay=function(){return lic(this).map(function(a){return a.issueId})};
AV.prototype.navigateToIssue=function(a,b,c){"mouseup"===a.type&&a instanceof MouseEvent&&1!==a.button||"A"===a.target.tagName||(b=$n(c.issueId),a.ctrlKey||a.metaKey||a instanceof MouseEvent&&1===a.button?this.domSafe.openInNewTab(b):a&&a.shiftKey?Kp(this.domSafe,b):Gt(this.router,b))};AV.\u0275fac=function(a){return new (a||AV)(A(wV),A(TF),A(dI),A(bL),A(PK),A(FG),A(sH,2))};
AV.\u0275cmp=p({type:AV,selectors:[["needs-attention-table"]],features:[Ug([sH]),qg],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&&(E(0,"div",0)(1,"h2"),
Q(2," Needs attention "),E(3,"span",1),Q(4),F()()(),E(5,"div",2),P(6,HSa,3,7,"flat-issues-table",3),P(7,ISa,2,0,"ng-template",null,4,qh),F());if(a&2){var c=O(8);z(1);Fg("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]);z(3);R("(",b.needsAttentionIssues.length,")");z(2);D("ngIf",0<b.getIssueIdsToDisplay().length)("ngIfElse",c)}},dependencies:[yw,tA,nM,oM,zV],styles:["h2[_ngcontent-%COMP%] {\n      min-height: 40px; \n      line-height: 40px;\n    }"],changeDetection:0});var nic=function(){return[]},BV=function(a,b,c){this.hackyPrefs=a;this.issueFridge=b;this.refreshMonitor=c;this.SECTION_SLUG="pinned-issues";this.pinnedIssues$=this.hackyPrefs.prefs$.pipe(B(function(d){var e;return null!=(e=null==d?void 0:d.pinned)?e:[]}),cg(this.issueFridge.watchSet))};BV.\u0275fac=function(a){return new (a||BV)(A(dI),A(BH),A(zH))};
BV.\u0275cmp=p({type:BV,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&&(E(0,"h4"),Q(1," Pinned "),E(2,"span",0),Q(3),U(4,"async"),F()(),E(5,"section",1),P(6,JSa,2,1,"ng-container",2),U(7,"async"),P(8,KSa,2,0,"ng-container",3),U(9,"async"),F());if(a&2){var c,d;Fg("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]);z(3);
R(" (",(null!==(c=V(4,7,b.pinnedIssues$))&&void 0!==c?c:Wg(13,nic)).length,")");z(2);Fg("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]);z(1);D("ngForOf",V(7,9,b.pinnedIssues$));z(2);D("ngIf",0===(null==(d=V(9,11,b.pinnedIssues$))?null:d.length))}},dependencies:[VK,xw,yw,Ew],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 oic=LYb("edited-ids"),pic=JYb("edited-ids"),qic=LYb("viewed-ids"),ric=JYb("viewed-ids"),CV=function(a){var b=this;this.appEvents=a;this.stop$=new C.Subject;this.edited=new Map;this.viewed=new Map;this.addViewed=function(c){LSa(b.viewed,c);qic(Array.from(b.viewed.keys()).join(","))};this.addEdited=function(c){LSa(b.edited,c);oic(Array.from(b.edited.keys()).join(","))}};CV.\u0275fac=function(a){return new (a||CV)(n(cG))};CV.\u0275prov=Vc({token:CV,factory:CV.\u0275fac,providedIn:"root"});var PSa=function(){return[]},DV=function(a,b,c,d,e,f){Z.call(this);this.activeSession=a;this.issueFridge=b;this.issueLru=c;this.hackyPrefs=d;this.matDialogService=e;this.refreshMonitor=f;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(B(function(h){var l;
return null!=(l=null==h?void 0:h.pinned)?l:[]}),cg(this.issueFridge.watchSet))};W(DV,Z);DV.\u0275dir=Z.\u0275dir;
DV.prototype.getIssueIdsToDisplay=function(){var a=this,b=0,c=Rq(this.hackyPrefs).length;b=0===c?20:3>c?10:5;this.recentIds=Array.from(this.issueLru.viewed.keys());c=On();5>this.recentIds.length||c&&c!==Pn?(c||(c=Pn),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(dg(this.destroyed$),
B(function(d){return d.results}),B(function(d){return d.filter(function(e){return sic(a,e)}).map(function(e){return e.issueId})}))):this.issueIdsToDisplay$=this.issueFridge.watchSet(this.recentIds).pipe(Rf(),dg(this.destroyed$),B(function(d){return d.filter(function(e){return sic(a,e)}).map(function(e){return e.issueId}).reverse().slice(0,b)}))};DV.prototype.ngOnInit=function(){var a=this;this.getIssueIdsToDisplay();this.refreshMonitor.getObservable().pipe(dg(this.destroyed$)).subscribe(function(){a.getIssueIdsToDisplay()})};
var sic=function(a,b){var c=b.snapshot[0],d,e=null!=(d=a.hackyPrefs.prefs.id)?d:"";if(Rq(a.hackyPrefs).includes(b.issueId))return!1;if(Esa(b.ancestors).includes(e))return!0;if(!Dn(b))return!1;var f,h;return a.isRecentIssues&&(null==(f=c.assigneeUser)?void 0:f.emailAddress)!==a.currentUserEmailAddress&&(null==(h=c.reporterUser)?void 0:h.emailAddress)!==a.currentUserEmailAddress?!1:!0},tic=function(a){DA(a.matDialogService.open(UT,{data:{currentColumns:a.columnsToDisplay},width:"500px"})).subscribe(function(b){a.columnsToDisplay=
[].concat(r(b))})};Xi.Object.defineProperties(DV.prototype,{prefs:{configurable:!0,enumerable:!0,get:function(){return this.hackyPrefs.prefs}}});DV.\u0275fac=function(a){return new (a||DV)(A(Vt),A(BH),A(CV),A(dI),A(IA),A(zH))};
DV.\u0275cmp=p({type:DV,selectors:[["recently-viewed-i-own"]],features:[qg],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&&(E(0,"section",0),P(1,QSa,6,7,"ng-container",
1),E(2,"div",2)(3,"h4",3),Q(4," Recent issues "),F(),E(5,"button",4),K("click",function(){return tic(b)}),E(6,"mat-icon",5),Q(7,"view_column"),F()()(),E(8,"flat-issues-table",6),U(9,"async"),P(10,TSa,3,2,"span",7),F()());a&2&&(z(1),D("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),Fg("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]),z(5),Fg("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]),
D("issueIds",V(9,9,b.issueIdsToDisplay$))("displayedColumns",b.columnsToDisplay)("customColumns",b.customColumns),z(2),D("forViewCell","pin"))},dependencies:[xw,yw,nM,oM,jB,tA,VK,Ew],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 EV=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$};EV.prototype.ngOnInit=function(){};EV.\u0275fac=function(a){return new (a||EV)(A(fI),A(dI))};
EV.\u0275cmp=p({type:EV,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&&(E(0,"div",0)(1,"h2",1),K("click",function(){return wp(b.hackyPrefs,b.SECTION_SLUG)}),Q(2," Suggested Issues "),F()(),E(3,"div",2),P(4,USa,2,4,"ng-container",3),U(5,"async"),F(),P(6,VSa,1,0,"ng-template",null,
4,qh));if(a&2){var c=O(7);z(1);Fg("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]);z(3);D("ngIf",V(5,4,b.issueIdsToDisplay$))("ngIfElse",c)}},dependencies:[yw,nM,zM,Ew],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 FV=function(a){this.teamsService=a;this.onTeamLoaded=new C.ReplaySubject(1);this.teamName$=new C.BehaviorSubject("");this.isTeamLoaded=!1};FV.prototype.ngOnChanges=function(a){var b=this;a.teamId&&null!==this.teamId&&(0===this.teamId?(this.isTeamLoaded=!0,this.onTeamLoaded.next(this.isTeamLoaded)):this.teamsService.getTeam(String(this.teamId)).pipe(Rf(),B(function(c){return c.getName()})).subscribe(function(c){b.teamName$.next(c);b.isTeamLoaded=!0;b.onTeamLoaded.next(b.isTeamLoaded)}))};
FV.\u0275fac=function(a){return new (a||FV)(A(PH))};
FV.\u0275cmp=p({type:FV,selectors:[["b-team-chip"]],inputs:{componentId:"componentId",teamId:"teamId"},outputs:{onTeamLoaded:"onTeamLoaded"},features:[Hd],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&&(E(0,"b-async-data-placeholder",0),P(1,WSa,4,4,"div",1),U(2,
"async"),F(),E(3,"onedev-hovercard",null,2),I(5),H(6,"b-team-card",3),J(),F());if(a&2){var c;D("isReady",b.isTeamLoaded);z(1);D("ngIf",V(2,4,b.teamName$));z(5);D("componentId",null==b.componentId?null:b.componentId.toString())("teamId",null!==(c=null==b.teamId?null:b.teamId.toString())&&void 0!==c?c:"0")}},dependencies:[yw,jB,dL,iK,nK,iL,Ew],styles:["[_nghost-%COMP%]{min-height:22px}mat-icon[_ngcontent-%COMP%]{margin-right:4px;vertical-align:middle}"],changeDetection:0});var GV=function(a,b){Z.call(this);this.teamActivity=a;this.hackyPrefs=b;this.toIssuePriority=sn;this.teamInfoHidden=!0};W(GV,Z);GV.\u0275dir=Z.\u0275dir;g=GV.prototype;g.ngOnInit=function(){var a=this;this.teamActivity.interestingEventsForTeamActivity$.pipe(dg(this.destroyed$)).subscribe(function(b){a.teamActivityEvents=b.slice(0,10)})};g.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)};
g.getUserEmailIfAvailable=function(a){return ck(a.userPerformingActionUser)};g.clAuthorToUser=function(a){return{emailAddress:Jn(a)+"@google.com"}};g.clAuthorToEmailAddress=function(a){return Jn(a)+"@google.com"};g.clEventToClDescription=function(a){var b,c;return null!=(c=null==(b=a.unlinkifiedComment)?void 0:b.split("\n")[2])?c:""};g.getPreviousDiffValue=function(a,b){var c;return null==(c=[].concat(r(a.preDiffs),r(a.postDiffs)).find(function(d){return d.name===b}))?void 0:c.oldValue};
g.getNewDiffValue=function(a,b){var c;return null==(c=[].concat(r(a.preDiffs),r(a.postDiffs)).find(function(d){return d.name===b}))?void 0:c.newValue};g.getIssueDetailsUrl=function(a){return"http://b/issues/"+a};Xi.Object.defineProperties(GV.prototype,{prefs:{configurable:!0,enumerable:!0,get:function(){return this.hackyPrefs.prefs}}});GV.\u0275fac=function(a){return new (a||GV)(A(eI),A(dI))};
GV.\u0275cmp=p({type:GV,selectors:[["team-activity-stream"]],features:[qg],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&&(E(0,"h2"),Q(1," Team activity "),E(2,"button",0),K("click",function(){return b.teamInfoHidden=
!b.teamInfoHidden}),H(3,"mat-icon",1),F(),E(4,"aside")(5,"p",2),Q(6,"Our use of the Teams API returns a "),E(7,"a",3),Q(8,"large set"),F(),Q(9," of suggested teams via "),E(10,"code"),Q(11,"collapsed_parent_chain"),F(),Q(12,"."),F(),P(13,XSa,1,1,"b-team-chip",4),E(14,"a",5),Q(15,"edit"),F()()(),P(16,dTa,2,1,"div",6));a&2&&(Fg("teamInfoHidden",b.teamInfoHidden),z(13),D("ngForOf",b.prefs.teamIds),z(1),Pg("href","/issues/",b.prefs.id,"",Ie),z(2),D("ngIf",b.teamActivityEvents))},dependencies:[xw,yw,zw,
Aw,Bw,UK,uM,tM,rM,cL,iI,tA,jB,FV],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 hTa=function(a){return{$implicit:a}},HV=function(a,b){this.issueFridge=a;this.hackyPrefs=b;this.STATUS_TERSE=cF;this.encodeURIComponent=encodeURIComponent;this.teamInfoHidden=!0;this.highPriorityFilter="("+tTa(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="("+tTa(this.prefs.teamIds)+") -priority:(p0 | p1) modified:7d status:open";
this.feedback$=this.issueFridge.watchMany({filter:this.feedbackFilter,sort:"created_time:desc",pageSize:10})};Xi.Object.defineProperties(HV.prototype,{prefs:{configurable:!0,enumerable:!0,get:function(){return this.hackyPrefs.prefs}}});HV.\u0275fac=function(a){return new (a||HV)(A(BH),A(dI))};
HV.\u0275cmp=p({type:HV,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&&(E(0,"h2"),Q(1," My team "),E(2,"button",0),K("click",function(){return b.teamInfoHidden=!b.teamInfoHidden}),H(3,"mat-icon",1),F(),E(4,"aside")(5,"p",2),Q(6,"Our use of the Teams API returns a "),E(7,"a",3),Q(8,
"large set"),F(),Q(9," of suggested teams via "),E(10,"code"),Q(11,"collapsed_parent_chain"),F(),Q(12,"."),F(),P(13,eTa,1,1,"b-team-chip",4),E(14,"a",5),Q(15,"edit"),F()()(),E(16,"section",6)(17,"div")(18,"header")(19,"h4",7),K("click",function(){wp(b.hackyPrefs,"team-high-priority")}),Q(20," High Priority "),F(),E(21,"a",8),Q(22),U(23,"number"),U(24,"async"),F()(),P(25,jTa,3,1,"div",9),U(26,"async"),F(),E(27,"div")(28,"header")(29,"h4",10),K("click",function(){wp(b.hackyPrefs,"team-recent")}),Q(30,
" Recent Feedback "),F(),E(31,"a",8),Q(32),U(33,"number"),U(34,"async"),F()(),P(35,nTa,3,1,"div",9),U(36,"async"),F()(),P(37,sTa,16,11,"ng-template",null,11,qh));if(a&2){var c,d;Fg("teamInfoHidden",b.teamInfoHidden);z(13);D("ngForOf",b.prefs.teamIds);z(1);Pg("href","/issues/",b.prefs.id,"",Ie);z(3);Fg("collapsed",b.prefs.collapsed["team-high-priority"]);z(4);Pg("href","/issues?q=",b.encodeURIComponent(b.highPriorityFilter),"",Ie);z(1);R("(",V(23,14,null==(c=V(24,16,b.highPriority$))?null:c.totalSize),
")");z(3);D("ngIf",V(26,18,b.highPriority$));z(2);Fg("collapsed",b.prefs.collapsed["team-recent"]);z(4);Pg("href","/issues?q=",b.encodeURIComponent(b.feedbackFilter),"",Ie);z(1);R("(",V(33,20,null==(d=V(34,22,b.feedback$))?null:d.totalSize),")");z(3);D("ngIf",V(36,24,b.feedback$))}},dependencies:[xw,yw,Dw,iK,jK,nK,kK,yP,tA,jB,FV,Ew,Kw],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 uic=function(){return[]},IV=function(a,b){Z.call(this);this.hackyPrefs=a;this.issueFridge=b;this.SECTION_SLUG="working-on-this-week";this.weekIssues$=(0,C.of)([]);n_b(a);this.weekIssues$=this.hackyPrefs.prefs$.pipe(dg(this.destroyed$),B(function(c){var d,e;return null!=(e=null==c?void 0:null==(d=c.issuesThisWeek)?void 0:d.issues)?e:[]}),cg(this.issueFridge.watchSet))};W(IV,Z);IV.\u0275dir=Z.\u0275dir;IV.\u0275fac=function(a){return new (a||IV)(A(dI),A(BH))};
IV.\u0275cmp=p({type:IV,selectors:[["working-on-this-week"]],features:[qg],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&&(E(0,"h4",0)(1,"span",1),K("click",function(){return wp(b.hackyPrefs,b.SECTION_SLUG)}),Q(2,"Working on this week "),E(3,"span",2),Q(4),U(5,"async"),F()()(),E(6,"section",3),P(7,uTa,2,2,"ng-container",4),U(8,"async"),
F());if(a&2){var c;Fg("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]);z(4);R(" (",(null!==(c=V(5,6,b.weekIssues$))&&void 0!==c?c:Wg(10,uic)).length,")");z(2);Fg("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]);z(1);D("ngForOf",V(8,8,b.weekIssues$))}},dependencies:[VK,xw,Ew],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 JV=function(a,b,c){Z.call(this);var d=this;this.$window=a;this.activeSession=b;this.currentTracker=c;var e,f;this.trackerName=null!=(f=null==(e=this.activeSession.getTracker())?void 0:e.name)?f:"";this.subscriptions.add(this.currentTracker.tracker$.pipe(dg(this.destroyed$)).subscribe(function(h){var l;d.trackerName=null!=(l=null==h?void 0:h.name)?l:""}))};W(JV,Z);JV.\u0275dir=Z.\u0275dir;
JV.prototype.setTitle=function(a){var b=this.trackerName?this.trackerName:this.activeSession.getAppName();this.$window.document.title=a?a+" - "+b:b};JV.\u0275fac=function(a){return new (a||JV)(n(EE),n(Vt),n(mL))};JV.\u0275prov=Vc({token:JV,factory:JV.\u0275fac,providedIn:"root"});var vic=new Bd("Analytics");var KV=function(a){this.clientStreamzService=a;this.analytics=hd(vic,{optional:!0})};KV.prototype.logTaskOpenedMetric=function(a){wic(this,"task_opened",a);var b;null==(b=this.analytics)||b.logTaskOpened()};KV.prototype.logUsageMetric=function(a,b){this.clientStreamzService.logUsageMetric("task_prioritization."+a,b)};
var wic=function(a,b,c){var d=Dk(c.resource,1).toLowerCase();a.logUsageMetric(b,!0);a.logUsageMetric(b+"_"+d,!0);c=m(c.signals);for(var e=c.next();!e.done;e=c.next()){e=e.value.type;var f={};e=(f["Future Availability"]="future_availability",f["Current Availability"]="current_availability",f["Submission Deadline"]="submission_deadline",f.Blocking="blocking",f["Current Iteration"]="current_iteration",f["Slow CL"]="slow_cl",f["Near SLO"]="near_slo",f["Out of SLO"]="out_of_slo",f.Accepted="accepted",
f.P0="p0",f.Rollback="rollback",f.LGTM="lgtm",f.Unresolved="unresolved",f["Docwrap Outgoing"]="docwrap_outgoing",f["Docwrap Incoming"]="docwrap_incoming",f)[e];a.logUsageMetric(b+"_"+d+"_"+e,!0)}};KV.\u0275fac=function(a){return new (a||KV)(n(pC))};KV.\u0275prov=Vc({token:KV,factory:KV.\u0275fac,providedIn:"root"});var LV=function(){var a=window.localStorage.getItem("task_prioritization.hidden_task_ids");this.initiallyHiddenTaskIds=a?JSON.parse(a):[];this.hideEvent$=new C.Subject;this.hiddenTaskIdList$=this.hideEvent$.pipe(xTa(this.initiallyHiddenTaskIds),eg(wTa),$f({bufferSize:1,refCount:!1}));this.showHiddenMyWorkTasks$=new C.BehaviorSubject(!1);this.showHiddenNeedsMyInputTasks$=new C.BehaviorSubject(!1)};LV.prototype.hideTask=function(a){this.hideEvent$.next({id:a.id,type:"hidden"})};
LV.prototype.unhideTask=function(a){this.hideEvent$.next({id:a.id,type:"unhidden"})};var yic=function(a){return(0,C.pipe)(cg(function(b){return(0,C.combineLatest)(b.map(function(c){return xic(a,c)}))}),B(function(b){return b.filter(Sq)}))};LV.prototype.isHidden=function(a){return this.hiddenTaskIdList$.pipe(B(function(b){return b.includes(a)}))};
var xic=function(a,b){return(0,C.combineLatest)([b.isHidden$,b.isMyWork?a.showHiddenMyWorkTasks$:a.showHiddenNeedsMyInputTasks$]).pipe(B(function(c){c=m(c);var d=c.next().value;return c.next().value||!d?b:void 0}))};LV.\u0275fac=function(a){return new (a||LV)};LV.\u0275prov=Vc({token:LV,factory:LV.\u0275fac,providedIn:"root"});var MV=function(a){this.api=a},zic=function(a,b){return R_b(a.api,CTa(b)).pipe(B(function(c){c=c.results.map(function(d){var e=d.userId.email;d=d.userAvailabilities.availabilities;var f=d[0];d=d.slice(1);var h;if(h=f)h=f.status.hasOutOfOffice?"OOO - "+yTa(f.status.outOfOffice.comeBackTime):f.status.hasOutsideWorkingHours?"Outside working hours - "+yTa(f.status.outsideWorkingHours.comeBackTime):void 0;f=(f=h)?{type:"Current Availability",text:f}:void 0;d=null!=f?f:BTa(d);return[e,d]});return new Map(c)}))};
MV.\u0275fac=function(a){return new (a||MV)(n(LI))};MV.\u0275prov=Vc({token:MV,factory:MV.\u0275fac,providedIn:"root"});var Aic=new Bd("Worktracker API Key");var Bic=new Bd("Environment");var NV=function(a){Y.call(this,a,-1,Cic)};W(NV,Y);g=NV.prototype;g.getIterationId=function(){return ol(this,1)};g.setIterationId=function(a){return Tb(this,1,a)};g.getWorkspaceId=function(){return ol(this,2)};g.getType=function(){return tk(this,3,0)};g.setType=function(a){return Vk(this,3,a)};g.getName=function(){return Dk(this,4)};g.setName=function(a){return Ub(this,4,a)};g.getHotlistId=function(){return ol(this,7)};g.setHotlistId=function(a){Tb(this,7,a)};
g.getStatus=function(){return tk(this,8,0)};g.setStatus=function(a){return Vk(this,8,a)};g.getTagsList=function(){return Ym(this,9)};g.getTags=function(a){return vDb(this,9,a)};g.setVelocity=function(a){return Nb(this,11,sb(a),0)};g.getStartTime=function(){return Ok(this,vj,12)};g.setStartTime=function(a){gl(this,vj,12,a)};g.getEndTime=function(){return Ok(this,vj,13)};g.setEndTime=function(a){gl(this,vj,13,a)};var Dic=mc(NV),Cic=[9];var OV=function(a){Y.call(this,a)};W(OV,Y);OV.prototype.getIterationId=function(){return oDb(this,1)};OV.prototype.setIterationId=function(a){return Nb(this,1,a,0)};var Eic=new $C("/google.corp.devtools.worktracker.v1.IterationService/GetIteration",OV,NV,function(a){return a.serialize()},Dic);var Fic=function(a){Y.call(this,a)};W(Fic,Y);Fic.prototype.getIssue=function(){return Ok(this,rTb,1)};Fic.prototype.setIssue=function(a){gl(this,rTb,1,a)};var Gic=function(a){Y.call(this,a)};W(Gic,Y);Gic.prototype.getIssue=function(){return Sl(this,Fic,1,Hic)};Gic.prototype.setIssue=function(a){hq(this,1,Hic,a)};var Hic=[1];var PV=function(a){Y.call(this,a,-1,Iic)};W(PV,Y);PV.prototype.getId=function(){return Dk(this,1)};PV.prototype.setId=function(a){return Ub(this,1,a)};PV.prototype.getPayload=function(){return Ok(this,Gic,9)};var Jic=mc(PV),Iic=[11,12,7,10];var Mic=function(){var a=hd(Kic),b=Lic;b=b||{};b.format="jspb";this.client_=new BD(b);this.hostname_=void 0==a?a:a.replace(/\/+$/,"")};Mic.prototype.getIteration=function(a,b){return CD(this.client_,this.hostname_+"/$rpc/google.corp.devtools.worktracker.v1.IterationService/GetIteration",a,b||{},Eic)};var Oic=function(a){Y.call(this,a,-1,Nic)};W(Oic,Y);var Pic=function(a,b){return Kk(a,1,b)},Nic=[1];var Ric=function(a){Y.call(this,a,-1,Qic)};W(Ric,Y);var Qic=[1];var Sic=new $C("/google.corp.devtools.worktracker.v1.WorkItemService/BatchGetWorkItems",Oic,Ric,function(a){return a.serialize()},mc(Ric));var Tic=function(a){Y.call(this,a)};W(Tic,Y);Tic.prototype.setWorkItemId=function(a){return Ub(this,1,a)};var Uic=new $C("/google.corp.devtools.worktracker.v1.WorkItemService/GetWorkItem",Tic,PV,function(a){return a.serialize()},Jic);var Vic=function(){var a=hd(Kic),b=Lic;b=b||{};b.format="jspb";this.client_=new BD(b);this.hostname_=void 0==a?a:a.replace(/\/+$/,"")},Wic=function(a,b,c){return CD(a.client_,a.hostname_+"/$rpc/google.corp.devtools.worktracker.v1.WorkItemService/BatchGetWorkItems",b,c||{},Sic)};Vic.prototype.getWorkItem=function(a){return CD(this.client_,this.hostname_+"/$rpc/google.corp.devtools.worktracker.v1.WorkItemService/GetWorkItem",a,{},Uic)};var Kic=new Bd("Worktracker API Endpoint",{factory:function(){switch(hd(Bic)){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"}}}),Lic={withCredentials:!0,suppressCorsPreflight:!0},Xic=new Bd("Workspaces Promise Client",{factory:function(){return new b9b(hd(Kic),Lic)}}),Yic=new Bd("Iterations Promise Client",{factory:function(){return new Mic}}),
Zic=new Bd("Work Items Promise Client",{factory:function(){return new Vic}});var QV=function(){this.iterationsApi=hd(Yic);this.idToIterationMap=new Map;this.headers=Vq(hd(Aic))};QV.prototype.getIteration=function(a){if(this.idToIterationMap.has(a))return this.idToIterationMap.get(a);var b=(new OV).setIterationId(a);b=this.iterationsApi.getIteration(b,this.headers);this.idToIterationMap.set(a,b);return b};QV.\u0275fac=function(a){return new (a||QV)};QV.\u0275prov=Vc({token:QV,factory:QV.\u0275fac,providedIn:"root"});var RV=function(){var a=this;this.workItemsApi=hd(Zic);this.headers=Vq(hd(Aic));this.task$=new C.ReplaySubject;this.taskToWorkItem$=ETa(this.task$).pipe(cg(function(b){var c;return of(function(d){if(1==d.nextAddress)return d.yield($ic(a,b),2);c=d.yieldResult;for(var e=d.return,f=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 f(l))})}),$f())};
RV.prototype.getWorkItem=function(a){var b;if(null==(b=a.getResource())||!br(b))return(0,C.of)(void 0);this.task$.next(a);return this.taskToWorkItem$.pipe(B(function(c){return c.get(a)}))};var $ic=function(a,b){var c,d;return of(function(e){if(1==e.nextAddress)return c=Pic(new Oic,b.map(function(f){return Dk(f,1)})),e.yield(Wic(a.workItemsApi,c,a.headers),2);d=e.yieldResult;return e.return(yj(d,PV,1))})};RV.\u0275fac=function(a){return new (a||RV)};
RV.\u0275prov=Vc({token:RV,factory:RV.\u0275fac,providedIn:"root"});var SV=function(){var a=this;this.workspacesApi=hd(Xic);this.workspaceIds$=(0,C.defer)(function(){return ajc(a)}).pipe($f());this.headers=Vq(hd(Aic));this.workItemFetcher=hd(RV);this.iterationFetcher=hd(QV)},cjc=function(a,b){return(0,C.defer)(function(){return bjc(a,b)})},bjc=function(a,b){var c,d,e,f,h,l,q,u;return of(function(x){if(1==x.nextAddress)return x.yield(Promise.all([(0,C.firstValueFrom)(a.workItemFetcher.getWorkItem(b)),(0,C.firstValueFrom)(a.workspaceIds$)]),2);if(3!=x.nextAddress){c=
x.yieldResult;d=m(c);e=d.next().value;f=d.next().value;h=e;l=f;if(!h)return x.return(void 0);q=yj(h,NV,12).filter(function(y){return l.includes(y.getWorkspaceId())});return x.yield(Promise.all(q.map(function(y){return a.iterationFetcher.getIteration(y.getIterationId())})),3)}u=x.yieldResult;return x.return(u.some(FTa)?"Current iteration":void 0)})},ajc=function(a){var b,c;return of(function(d){if(1==d.nextAddress)return b=Y8b(),d.yield(a.workspacesApi.list(b,a.headers),2);c=d.yieldResult;return d.return(yj(c,
Qp,1).map(function(e){return e.getWorkspaceId()}))})};SV.\u0275fac=function(a){return new (a||SV)};SV.\u0275prov=Vc({token:SV,factory:SV.\u0275fac,providedIn:"root"});var TV={},UV={},VV={},WV={},XV={},YV={},JTa=(YV[1]=(TV[1]=4419,TV[2]=19482,TV[3]=65108,TV[4]=78715,TV[5]=80067,TV[6]=15012,TV),YV[2]=(UV[1]=9078,UV[2]=63700,UV[3]=86383,UV[4]=148526,UV[5]=161988,UV[6]=80049,UV),YV[3]=(VV[1]=37536,VV[2]=89931,VV[3]=179965,VV[4]=274704,VV[5]=351444,VV[6]=237983,VV),YV[4]=(WV[1]=72484,WV[2]=191314,WV[3]=342430,WV[4]=444537,WV[5]=528272,WV[6]=417086,WV),YV[5]=(XV[1]=56493,XV[2]=167140,XV[3]=327933,XV[4]=425290,XV[5]=490491,XV[6]=436116,XV),YV);var djc=function(a){Y.call(this,a)};W(djc,Y);var ZV=function(a){Y.call(this,a)};W(ZV,Y);ZV.prototype.getStartTime=function(){return Ok(this,vj,1)};ZV.prototype.setStartTime=function(a){gl(this,vj,1,a)};ZV.prototype.getEndTime=function(){return Ok(this,vj,2)};ZV.prototype.setEndTime=function(a){gl(this,vj,2,a)};var $V=function(a){Y.call(this,a)};W($V,Y);$V.prototype.getConfidence=function(){return pl(this,2)};$V.prototype.getStatus=function(){return Ok(this,bD,3)};$V.prototype.setStatus=function(a){return gl(this,bD,3,a)};$V.prototype.hasStatus=function(){return Hl(this,bD,3)};var fjc=function(a){Y.call(this,a,-1,ejc)};W(fjc,Y);var ejc=[2];var gjc=new $C("/google.corp.devtools.developergraph.v1.ContextService/GetChangelistReleaseSchedulePrediction",djc,fjc,function(a){return a.serialize()},mc(fjc));var ijc=function(){var a=hd(hjc).endpoint;this.client_=new BD({format:"jspb"});this.hostname_=void 0==a?a:a.replace(/\/+$/,"")};ijc.prototype.getChangelistReleaseSchedulePrediction=function(a,b){return CD(this.client_,this.hostname_+"/$rpc/google.corp.devtools.developergraph.v1.ContextService/GetChangelistReleaseSchedulePrediction",a,b||{},gjc)};var hjc=new Bd("Deployments config",{factory:function(){switch(hd(Bic)){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"}}}}),jjc=
new Bd("Context Service Promise Client",{factory:function(){return new ijc}}),aW=function(){this.headers=Vq(hd(hjc).apiKey);this.client=hd(jjc)},ljc=function(a,b){var c;return of(function(d){if(1==d.nextAddress)return d.yield(kjc(a,b),2);c=d.yieldResult;return d.return(c?zTa("Scheduled release in",c,12):void 0)})},kjc=function(a,b){var c,d,e,f,h;return of(function(l){if(1==l.nextAddress){var q=new djc;c=Tb(q,1,b);return l.yield(a.client.getChangelistReleaseSchedulePrediction(c,a.headers),2)}d=l.yieldResult;
return l.return(null==(e=Ok(d,$V,1))?void 0:null==(f=Ok(e,ZV,1))?void 0:null==(h=f.getStartTime())?void 0:h.toDate())})};aW.\u0275fac=function(a){return new (a||aW)};aW.\u0275prov=Vc({token:aW,factory:aW.\u0275fac,providedIn:"root"});var $Ta=new Map;var mjc=new Bd("G3C API Keys");var ojc=function(a){Y.call(this,a,-1,njc)};W(ojc,Y);var njc=[1];var qjc=function(a){Y.call(this,a,-1,pjc)};W(qjc,Y);var pjc=[1];var rjc=new $C("/google.internal.devopsconsole.v1.TaskPrioritizationService/StreamGetPriorityTasks",ojc,qjc,function(a){return a.serialize()},mc(qjc));var tjc=function(){var a=hd(sjc).endpoint;this.client_=new BD({format:"jspb"});this.hostname_=void 0==a?a:a.replace(/\/+$/,"")};var sjc=new Bd("Deployments config",{factory:function(){switch(hd(Bic)){case "Prod":return{endpoint:"https://devopsconsole-pa-googleapis.corp.google.com",apiKey:hd(mjc).prodApiKey};case "Staging":return{endpoint:"https://stagingcorp-devopsconsole-pa-googleapis.corp.google.com",apiKey:hd(mjc).stagingApiKey};default:return{endpoint:"https://autopushcorp-devopsconsole-pa-googleapis.corp.google.com",apiKey:hd(mjc).autopushApiKey}}}}),ujc=new Bd("Task Prioritization Promise Client",{factory:function(){return new tjc}}),
bW=function(){this.client=hd(ujc);this.headers=Vq(hd(sjc).apiKey)};bW.\u0275fac=function(a){return new (a||bW)};bW.\u0275prov=Vc({token:bW,factory:bW.\u0275fac,providedIn:"root"});var cW=function(a,b,c,d,e){var f=this;this.availability=a;this.submissionDeadline=b;this.iterations=c;this.hiddenTasks=d;this.taskFetcher=e;this.showAllMyWorkTasks$=new C.BehaviorSubject(!1);this.showAllNeedsMyInputTasks$=new C.BehaviorSubject(!1);this.tasks$=(0,C.defer)(function(){var h=f.taskFetcher,l=h.client;var q=new ojc;q=fn(q,1,[3,2,1,4]);h=l.client_.serverStreaming(l.hostname_+"/$rpc/google.internal.devopsconsole.v1.TaskPrioritizationService/StreamGetPriorityTasks",q,h.headers||{},rjc);return DTa(h)}).pipe(zf(function(h){return vjc(f,
h)}),$f());this.allTasks$=this.tasks$.pipe(oUa());this.filteredTasks$=this.tasks$.pipe(wjc(this),oUa());this.readdedTasks$=(0,C.zip)(this.allTasks$,this.filteredTasks$).pipe(xjc(this))},yjc=function(a){return a.areAllTasksLoaded().pipe(fg(a.readdedTasks$.pipe(yic(a.hiddenTasks))),B(function(b){b=m(b);b.next();return b.next().value.filter(function(c){return!c.isMyWork}).length}))};cW.prototype.areAllTasksLoaded=function(){return this.tasks$.pipe(jha(void 0,[]),Vf(!0))};
var vjc=function(a,b){b=yj(b,VC,1).filter(function(e){return e.getResource()});var c=b.map(qUa),d=zic(a.availability,c).pipe($f());return(0,C.forkJoin)(b.map(function(e,f){var h=e.getResource(),l=Dk(h,1),q=Dk(e,1);return(0,C.forkJoin)([d.pipe(B(function(u){return u.get(c[f])})),(0,C.defer)(function(){return zjc(a,q,l)}),nUa(e),Ajc(a,e),(0,C.of)(KTa(e))]).pipe(B(function(u){return u.filter(Sq)})).pipe(B(function(u){var x=h.getTitle(),y=Dk(h,16),G=[],L=G.concat;u=r(u);var M=(M=br(e.getResource()))?
[3===M.getStatus()&&{type:"Accepted",text:"Accepted"},1===M.getPriority()&&{type:"P0",text:"P0"},HTa(M)&&{type:"Out of SLO",text:"Out of SLO"},ITa(M)&&{type:"Near SLO",text:"Near SLO"}].filter(Sq):[];M=r(M);var T=(T=Wq(e.getResource()))?[3===T.getStatus()&&{type:"Unresolved",text:"Unresolved"},1===T.getStatus()&&{type:"LGTM",text:"LGTM"},T.getDescription().includes("ROLLBACK_OF=")&&{type:"Rollback",text:"Rollback"}].filter(Sq):[];T=r(T);var S=(S=cr(e.getResource()))?[Tl(S,25)&&{type:"Docwrap Incoming",
text:"Incoming review"},Tl(S,26)&&{type:"Docwrap Outgoing",text:"Outgoing review"}].filter(Sq):[];return{id:q,title:x,resourceUrl:y,signals:L.call(G,u,M,T,r(S)),source:l,isHidden$:a.hiddenTasks.isHidden(q),isMyWork:pUa(e),resource:h}}))}))},Ajc=function(a,b){return cjc(a.iterations,b).pipe(B(function(c){return c?{type:"Current Iteration",text:c}:void 0}))},zjc=function(a,b,c){var d,e;return of(function(f){if(1==f.nextAddress){if("Critique"!==c)return f.return(void 0);d=Number(b.slice(3));return f.yield(ljc(a.submissionDeadline,
d),2)}e=f.yieldResult;return f.return(e?{type:"Submission Deadline",text:e,tooltipText:"Time this CL must be submitted by to make it into the next release"}:void 0)})},xjc=function(a){return(0,C.pipe)(cg(function(b){b=m(b);var c=b.next().value,d=b.next().value;return(0,C.combineLatest)([a.showAllMyWorkTasks$,a.showAllNeedsMyInputTasks$]).pipe(B(function(e){var f=m(e);e=f.next().value;f=f.next().value;var h=c.filter(function(q){return!d.includes(q)}),l=m(vTa(h,function(q){return q.isMyWork}));h=l.next().value;
l=l.next().value;e=e?h:[];f=f?l:[];return[].concat(r(d),r(e),r(f))}))}))},wjc=function(a){return(0,C.pipe)(B(function(b){var c=m(vTa(b,function(d){return a.hiddenTasks.initiallyHiddenTaskIds.includes(d.id)}));b=c.next().value;c=c.next().value;return[].concat(r(mUa(c)),r(b))}))};cW.\u0275fac=function(a){return new (a||cW)(n(MV),n(aW),n(SV),n(LV),n(bW))};cW.\u0275prov=Vc({token:cW,factory:cW.\u0275fac,providedIn:"root"});var Bjc=new Bd("GMAT_BUTTON_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var dW=function(a,b){this.elementRef=a;this.options=b};dW.prototype.ngOnInit=function(){this.elementRef.nativeElement.querySelector(".mat-icon, .material-icons")&&this.elementRef.nativeElement.classList.add("gmat-mdc-button-with-prefix")};dW.\u0275fac=function(a){return new (a||dW)(A(ke),A(Bjc))};
dW.\u0275dir=qd({type:dW,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&&Fg("gmat-mdc-button",!b.options.disableGmatStyle)}});var eW=function(){};eW.\u0275fac=function(a){return new (a||eW)};eW.\u0275mod=od({type:eW});eW.\u0275inj=Wc({providers:[{provide:XRb,useValue:{color:"primary"}}],imports:[GD]});var Cjc=new Bd("GMAT_TABLE_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var fW=function(a){this.options=a};fW.\u0275fac=function(a){return new (a||fW)(A(Cjc))};fW.\u0275dir=qd({type:fW,selectors:[["table","mat-table",""],["mat-table"]],hostVars:2,hostBindings:function(a,b){a&2&&Fg("gmat-mdc-table",!b.options.disableGmatStyle)}});var gW=function(){};gW.\u0275fac=function(a){return new (a||gW)};gW.\u0275mod=od({type:gW});gW.\u0275inj=Wc({imports:[uO]});var Djc=new Bd("GMAT_TOOLTIP_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var hW=function(){Iz.apply(this,arguments);this.gmatPanelClasses=[]};W(hW,Iz);hW.prototype.create=function(a){var b=(null==a?0:a.panelClass)?ai(a.panelClass).concat(this.gmatPanelClasses):this.gmatPanelClasses;return Iz.prototype.create.call(this,Object.assign({},a,{panelClass:b}))};hW.\u0275fac=function(){var a;return function(b){return(a||(a=ie(hW)))(b||hW)}}();hW.\u0275prov=Vc({token:hW,factory:hW.\u0275fac});var iW=function(a,b){a.disableGmatStyle||b.gmatPanelClasses.push("gmat-mdc-tooltip")};iW.\u0275fac=function(a){return new (a||iW)(A(Djc),A(Iz))};iW.\u0275dir=qd({type:iW,selectors:[["","matTooltip",""]],features:[Ug([{provide:Iz,useClass:hW}])]});var jW=function(){};jW.\u0275fac=function(a){return new (a||jW)};jW.\u0275mod=od({type:jW});jW.\u0275inj=Wc({imports:[LC]});var wUa=function(){return[]},xUa=function(){return["zero-state"]},kW=function(a,b){this.hiddenTasks=a;this.metrics=b;this.tasks=[];this.areTasksHidden=this.showZeroState=!1;this.showHiddenTasks=new Rv;this.displayedColumns=["title","signals","actions"]};kW.prototype.hideTask=function(a){this.hiddenTasks.hideTask(a);this.metrics.logUsageMetric("task_hidden",!0)};kW.prototype.unhideTask=function(a){this.hiddenTasks.unhideTask(a);this.metrics.logUsageMetric("task_hidden",!1)};
kW.prototype.logTaskOpenedMetric=function(a){this.metrics.logTaskOpenedMetric(a)};kW.\u0275fac=function(a){return new (a||kW)(A(LV),A(KV))};
kW.\u0275cmp=p({type:kW,selectors:[["tp-task-table"]],inputs:{tasks:"tasks",showZeroState:"showZeroState",areTasksHidden:"areTasksHidden"},outputs:{showHiddenTasks:"showHiddenTasks"},decls:3,vars:2,consts:[[3,"dataSource",4,"ngIf","ngIfElse"],["taskTable",""],[3,"dataSource"],["matColumnDef","zero-state"],["class","zero-state-cell",4,"matHeaderCellDef"],[4,"matCellDef"],["class","zero-state-row",4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],[1,"zero-state-cell"],["src","https://www.gstatic.com/devnotify/tp-empty.svg",
"alt",""],[4,"ngIf"],[3,"click"],[1,"zero-state-row"],["matColumnDef","title"],[4,"matHeaderCellDef"],["matColumnDef","signals"],["matColumnDef","actions"],[4,"matHeaderRowDef"],[3,"hidden-task",4,"matRowDef","matRowDefColumns"],[1,"tp-title-cell"],[3,"svgIcon"],[1,"tp-task-name"],["target","_blank",1,"task-link",3,"href","click"],["class","tp-signal","matTooltipClass","tp-tooltip",3,"matTooltip","matTooltipDisabled",4,"ngFor","ngForOf"],["matTooltipClass","tp-tooltip",1,"tp-signal",3,"matTooltip",
"matTooltipDisabled"],["mat-icon-button","","class","hide-button","matTooltip","Unhide this task","matTooltipClass","tp-tooltip","aria-label","unhide task",3,"click",4,"ngIf","ngIfElse"],["hide",""],["mat-icon-button","","matTooltip","Unhide this task","matTooltipClass","tp-tooltip","aria-label","unhide task",1,"hide-button",3,"click"],["mat-icon-button","","matTooltip","Hide this task","matTooltipClass","tp-tooltip","aria-label","hide task",1,"hide-button",3,"click"]],template:function(a,b){a&1&&
(P(0,yUa,6,6,"mat-table",0),P(1,KUa,12,3,"ng-template",null,1,qh));if(a&2){var c=O(2);D("ngIf",b.showZeroState)("ngIfElse",c)}},dependencies:function(){return[xw,yw,dW,fA,fW,tO,kO,pO,lO,jO,qO,nO,oO,rO,sO,iW,JC,jB,Ew,lW]},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%]   .mdc-tooltip__surface[_ngcontent-%COMP%]:not(boost-specificity){background-color:var(--tooltip-bg);color:var(--tooltip-text,var(--text-inverse))}  .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 lW=function(){};lW.prototype.transform=function(a){var b={};return(b.Ariane="launch",b.Buganizer="buganizer",b.Critique="critique",b.Drive="docs",b)[a.source]};lW.\u0275fac=function(a){return new (a||lW)};lW.\u0275pipe=rd({name:"taskIcon",type:lW,pure:!0});var mW=function(){};mW.\u0275fac=function(a){return new (a||mW)};mW.\u0275mod=od({type:mW});mW.\u0275inj=Wc({imports:[Mw,eW,gW,jW,OC]});var Ejc=new Bd("GMAT_PROGRESS_SPINNER_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var Fjc=new YK(3);var nW=function(a,b){var c=this;this.options=a;this.progressSpinner=b;this.destroyed=new C.Subject;this.labelElement=document.createElement("label");this.labelElement.classList.add("cdk-visually-hidden");this.labelElement.classList.add("gmat-mdc-progress-spinner-accessible-label");LUa(b._elementRef.nativeElement).pipe(dg(this.destroyed)).subscribe(function(d){Gjc(c,d[0],d[1])})};
nW.prototype.ngOnInit=function(){this.progressSpinner._elementRef.nativeElement.insertAdjacentElement("afterend",this.labelElement);var a=this.progressSpinner._elementRef.nativeElement.getAttribute("aria-label");Gjc(this,null!=a?a:"","indeterminate"===this.progressSpinner.mode?"indeterminate":this.progressSpinner.value.toString())};nW.prototype.ngOnDestroy=function(){this.labelElement.remove();this.destroyed.next();this.destroyed.complete()};
var Gjc=function(a,b,c){b="indeterminate"===c?b:b+" "+Fjc.format(Number(c)/100);a.labelElement.textContent=b};nW.\u0275fac=function(a){return new (a||nW)(A(Ejc),A(wM,10))};nW.\u0275dir=qd({type:nW,selectors:[["mat-progress-spinner"],["mat-spinner"]],hostAttrs:["aria-hidden","true"],hostVars:3,hostBindings:function(a,b){a&2&&(ug("tabindex",null),Fg("gmat-mdc-progress-spinner",!b.options.disableGmatStyle))}});var oW=function(){};oW.\u0275fac=function(a){return new (a||oW)};oW.\u0275mod=od({type:oW});oW.\u0275inj=Wc({imports:[xM]});var Hjc=Yt(["https://fonts.gstatic.com/s/i/productlogos/buganizer/v1/192px.svg"]),Ijc=Yt(["https://fonts.gstatic.com/s/i/productlogos/critique/v1/192px.svg"]),Jjc=Yt(["https://fonts.gstatic.com/s/i/productlogos/docs_2020q4/v12/192px.svg"]),Kjc=Yt(["https://fonts.gstatic.com/s/i/productlogos/launch/v1/192px.svg"]),Ljc=Yt(["https://fonts.gstatic.com/s/i/productlogos/taskflow/v1/192px.svg"]),Mjc=Yt(["//googledata/icons/vf/material_next/svg/block/googlesymbols:default_48px.svg"]),Njc=Yt(["//googledata/icons/vf/material_next/svg/alternate_email/googlesymbols:default_48px.svg"]),
Ojc=Yt(["//googledata/icons/vf/material_next/svg/schedule/googlesymbols:default_48px.svg"]),Pjc=Yt(["//googledata/icons/vf/material_next/svg/unblock_flipped/googlesymbols:default_48px.svg"]),Qjc=Yt(["https://fonts.gstatic.com/s/i/googlematerialicons/visibility/v16/24px.svg"]),Rjc=Yt(["https://fonts.gstatic.com/s/i/googlematerialicons/visibility_off/v12/24px.svg"]),XUa=function(a,b){return{showHidden:a,viewAll:b}},Sjc=function(a,b){return{areAllTasksLoaded:a,tasks:b}},pW=function(a,b,c,d){this.tasksService=
b;this.hiddenTasks=c;this.metrics=d;b=this.tasksService;this.tasks$=b.readdedTasks$.pipe(yic(b.hiddenTasks)).pipe(Tjc(this));this.areAllTasksLoaded$=this.tasksService.areAllTasksLoaded();this.areTasksFiltered$=Ujc(this);this.areTasksHidden$=this.areTasksHidden();this.destroyed$=new C.Subject;a.setDefaultFontSetClass("google-material-icons","mat-ligature-font");iB(a,"buganizer",li(Hjc));iB(a,"critique",li(Ijc));iB(a,"docs",li(Jjc));iB(a,"launch",li(Kjc));iB(a,"taskflow",li(Ljc));iB(a,"blocking",li(Mjc));
iB(a,"mention",li(Njc));iB(a,"time",li(Ojc));iB(a,"unblocked",li(Pjc));iB(a,"hide_task",li(Qjc));iB(a,"show_task",li(Rjc))};pW.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);Vjc(this)};
pW.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete()};var UUa=function(a,b){a.showHidden$.next(b);a.metrics.logUsageMetric("toggle_show_hidden",b)},Vjc=function(a){a.areAllTasksLoaded$.pipe(fg(a.tasks$),dg(a.destroyed$)).subscribe(function(b){b=m(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=m(c);for(var d=c.next();!d.done;d=c.next())wic(b,"task_shown",d.value)})};
pW.prototype.areTasksHidden=function(){var a=this.tasksService.readdedTasks$.pipe(Tjc(this)),b=this.tasks$.pipe(cg(function(c){return(0,C.combineLatest)(c.map(function(d){return d.isHidden$}))}),B(function(c){return c.filter(function(d){return!d})}),bg([]));return(0,C.combineLatest)([a,b]).pipe(B(function(c){var d=m(c);c=d.next().value;d=d.next().value;return c.length!==d.length}))};
var Ujc=function(a){var b=a.tasksService.allTasks$.pipe(Tjc(a));a=a.tasksService.filteredTasks$.pipe(Tjc(a));return(0,C.zip)(b,a).pipe(B(function(c){var d=m(c);c=d.next().value;d=d.next().value;return c.length!==d.length}))},Tjc=function(a){return(0,C.pipe)(B(function(b){return b.filter(function(c){return a.isMyWork===c.isMyWork})}))};Xi.Object.defineProperties(pW.prototype,{reccTasks:{configurable:!0,enumerable:!0,get:function(){return this.isMyWork}},needsInput:{configurable:!0,enumerable:!0,get:function(){return!this.isMyWork}}});
pW.\u0275fac=function(a){return new (a||pW)(A(hB),A(cW),A(LV),A(KV))};
pW.\u0275cmp=p({type:pW,selectors:[["tp-task-section"]],hostVars:2,hostBindings:function(a,b){a&2&&ug("data-recc-tasks",b.reccTasks)("data-needs-input",b.needsInput)},inputs:{isMyWork:"isMyWork"},standalone:!0,features:[Ug([hB]),Lia],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&&(Ng(),E(0,"div",0)(1,"h2",1),P(2,MUa,2,0,"ng-container",2),P(3,NUa,2,0,"ng-container",2),F(),P(4,OUa,1,1,"mat-progress-spinner",3),U(5,"async"),P(6,YUa,4,8,"ng-template",null,4,qh),F(),P(8,$Ua,2,1,"ng-container",2),U(9,"async"),
U(10,"async"));if(a&2){var c=O(7);z(2);D("ngIf",b.isMyWork);z(1);D("ngIf",!b.isMyWork);z(1);D("ngIf",!V(5,5,b.areAllTasksLoaded$))("ngIfElse",c);z(4);D("ngIf",Yg(11,Sjc,V(9,7,b.areAllTasksLoaded$),V(10,9,b.tasks$)))}},dependencies:[Mw,yw,Ew,eW,dW,dA,oW,nW,wM,OC,mW,kW],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[_ngcontent-%COMP%]{--mdc-icon-button-state-layer-size:40px}.mat-mdc-icon-button.mat-mdc-button-base[_ngcontent-%COMP%]{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 Wjc=[[["","needsInputBadge",""]]],qW=function(a){this.route=a};qW.prototype.ngOnInit=function(){};qW.\u0275fac=function(a){return new (a||qW)(A(so))};
qW.\u0275cmp=p({type:qW,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&&(Ng(Wjc),E(0,"div",0)(1,"div",1)(2,"div",2),H(3,"tp-task-section",3),E(4,"tp-task-section",3),Og(5),F()()()());a&2&&(z(3),D("isMyWork",!0),z(1),D("isMyWork",!1))},dependencies:[pW],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 Xjc=["button"],Yjc=new Bd("MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS"),Zjc=new Bd("MatButtonToggleGroup"),$jc={provide:Ow,useExisting:cd(function(){return rW}),multi:!0},akc=0,bkc=function(a,b){this.source=a;this.value=b},rW=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-"+akc++;this.valueChange=new Rv;this.change=new Rv;this.appearance=b&&b.appearance?
b.appearance:"legacy"};g=rW.prototype;g.ngOnInit=function(){this._selectionModel=new sz(this.multiple,void 0,!1)};g.ngAfterContentInit=function(){this._selectionModel.select.apply(this._selectionModel,r(this._buttonToggles.filter(function(a){return a.checked})))};g.writeValue=function(a){this.value=a;this._changeDetector.markForCheck()};g.registerOnChange=function(a){this._controlValueAccessorChangeFn=a};g.registerOnTouched=function(a){this._onTouched=a};
g.setDisabledState=function(a){this.disabled=a};g._emitChangeEvent=function(a){a=new bkc(a,this.value);this._controlValueAccessorChangeFn(a.value);this.change.emit(a)};
g._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)};g._isSelected=function(a){return this._selectionModel&&this._selectionModel.isSelected(a)};
g._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};g._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)))};
g._clearSelection=function(){this._selectionModel.clear();this._buttonToggles.forEach(function(a){return a.checked=!1})};g._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))};g._updateModelValue=function(a,b){b&&this._emitChangeEvent(a);this.valueChange.emit(this.value)};g._markButtonsForCheck=function(){var a;null==(a=this._buttonToggles)||a.forEach(function(b){return b._markForCheck()})};
Xi.Object.defineProperties(rW.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=bi(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=bi(a);this._markButtonsForCheck()}},disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){this._disabled=bi(a);this._markButtonsForCheck()}}});
rW.\u0275fac=function(a){return new (a||rW)(A(qw),A(Yjc,8))};
rW.\u0275dir=qd({type:rW,selectors:[["mat-button-toggle-group"]],contentQueries:function(a,b,c){a&1&&jh(c,sW,5);if(a&2){var d;hh(d=kh())&&(b._buttonToggles=d)}},hostAttrs:["role","group",1,"mat-button-toggle-group"],hostVars:5,hostBindings:function(a,b){a&2&&(ug("aria-disabled",b.disabled),Fg("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:[Ug([$jc,{provide:Zjc,useExisting:rW}])]});var ckc=Zi(function(){}),sW=function(a,b,c,d,e,f){var h=ckc.call(this)||this;h._changeDetectorRef=b;h._elementRef=c;h._focusMonitor=d;h._checked=!1;h.ariaLabelledby=null;h._disabled=!1;h.change=new Rv;e=Number(e);h.tabIndex=e||0===e?e:null;h.buttonToggleGroup=a;h.appearance=f&&f.appearance?f.appearance:"legacy";return h};W(sW,ckc);g=sW.prototype;
g.ngOnInit=function(){var a=this.buttonToggleGroup;this.id=this.id||"mat-button-toggle-"+akc++;a&&(a._isPrechecked(this)?this.checked=!0:a._isSelected(this)!==this._checked&&a._syncButtonToggle(this,this._checked))};g.ngAfterViewInit=function(){this._focusMonitor.monitor(this._elementRef,!0)};g.ngOnDestroy=function(){var a=this.buttonToggleGroup;this._focusMonitor.stopMonitoring(this._elementRef);a&&a._isSelected(this)&&a._syncButtonToggle(this,!1,!1,!0)};g.focus=function(a){this._buttonElement.nativeElement.focus(a)};
g._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 bkc(this,this.value))};g._markForCheck=function(){this._changeDetectorRef.markForCheck()};g._getButtonName=function(){return this._isSingleSelector()?this.buttonToggleGroup.name:this.name||null};
g._isSingleSelector=function(){return this.buttonToggleGroup&&!this.buttonToggleGroup.multiple};
Xi.Object.defineProperties(sW.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=bi(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=bi(a)}}});sW.\u0275fac=function(a){return new (a||sW)(A(Zjc,8),A(qw),A(ke),A(Hx),ce("tabindex"),A(Yjc,8))};
sW.\u0275cmp=p({type:sW,selectors:[["mat-button-toggle"]],viewQuery:function(a,b){a&1&&ih(Xjc,5);if(a&2){var c;hh(c=kh())&&(b._buttonElement=c.first)}},hostAttrs:["role","presentation",1,"mat-button-toggle"],hostVars:12,hostBindings:function(a,b){a&1&&K("focus",function(){return b.focus()});a&2&&(ug("aria-label",null)("aria-labelledby",null)("id",b.id)("name",null),Fg("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:[qg],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&&(Ng(),E(0,"button",0,1),K("click",function(){return b._onButtonClick()}),E(2,"span",2),Og(3),F()(),H(4,"span",3)(5,"span",4));if(a&2){var c=O(1);D("id",b.buttonId)("disabled",b.disabled||null);ug("tabindex",b.disabled?-1:b.tabIndex)("aria-pressed",b.checked)("name",b._getButtonName())("aria-label",b.ariaLabel)("aria-labelledby",
b.ariaLabelledby);z(5);D("matRippleTrigger",c)("matRippleDisabled",b.disableRipple||b.disabled)}},dependencies:[Wz],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 BVa=function(){return{standalone:!0}},dkc=JYb("bhome-layout"),ekc=Mp.EXPERIMENTAL_HOMEPAGE,tW=function(a,b,c,d,e,f,h){var l=this;this.hackyPrefs=a;this.refreshMonitor=b;this.pageTitle=c;this.analytics=d;this.hostElement=e;this.userFeedback=f;this.tasks=h;this.isCurrentUserHomepage=!0;dkc();this.announcement=rn().preload.announcement;this.VALID_WIDGETS_A=EVb;this.VALID_WIDGETS_W=FVb;this.VALID_WIDGETS_T=GVb;this.log=console.log.bind(console);this.showSettings=!1;this.ldapOverride=On();this.taskPrioritizationTasksCount$=
(0,C.defer)(function(){return yjc(l.tasks)});this.onAnyClick=function(q){q=Ssa(q);for(var u=m(Object.entries(fkc)),x=u.next();!x.done;x=u.next()){var y=m(x.value);x=y.next().value;y=y.next().value;if(q.includes(x)){l.analytics.trackEvent(ekc,"click",y);break}}}};
tW.prototype.ngOnInit=function(){this.pageTitle.setTitle("Home");this.hackyPrefs.init(this.ldapOverride);this.isCurrentUserHomepage=null==this.ldapOverride?!0:On()===Pn;this.hostElement.nativeElement.addEventListener("click",this.onAnyClick,!0)};tW.prototype.ngOnDestroy=function(){this.hostElement.nativeElement.removeEventListener("click",this.onAnyClick,!0)};var AVa=function(a){return of(function(b){if(1==b.nextAddress)return b.yield(i_b(a.hackyPrefs),2);window.location.reload();tf(b)})};
Xi.Object.defineProperties(tW.prototype,{prefs:{configurable:!0,enumerable:!0,get:function(){return this.hackyPrefs.prefs}}});tW.\u0275fac=function(a){return new (a||tW)(A(dI),A(zH),A(JV),A(wH),A(ke),A(sQ),A(cW))};
tW.\u0275cmp=p({type:tW,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"],["class","announcement-banner carded",
4,"ngIf","ngIfElse"],["noFeedbackMsg",""],[1,"flex-kids-x","justify-flex-end","align-items-center","margin-left-auto"],[1,"hidden-settings",3,"submit"],["type","text","placeholder","Show Dashboard for user",2,"width","180px",3,"ngModel","ngModelOptions","ngModelChange"],["type","submit",1,"display-none"],["mat-icon-button","","matTooltip","Configure home page","aria-label","Configure home page",1,"gmat-button","large",3,"click"],["svgIcon","settings","size","large"],[1,"settings","bg-muted","border-bottom"],
[1,"padded","margin-top"],[1,"hidden-settings"],[1,"mat-elevation-z0",3,"change"],["aria-label","Alerts Above","matTooltip","Alerts Above","value","layout-a",3,"checked"],[1,"google-material-icons","rotate-icon"],["aria-label","Side-by-side","matTooltip","Side-by-side","value","layout-b",3,"checked"],["aria-label","Tab Layout","matTooltip","Tab Layout","value","layout-c",3,"checked"],["svgIcon","child-components-24px",1,"small"],[1,"mat-elevation-z0","bordered",3,"change"],["aria-label","true",1,
"padded-s-x",3,"value","checked"],["aria-label","false",1,"padded-s-x",3,"value","checked"],[3,"submit"],[1,"row"],["type","text",3,"ngModel","ngModelOptions","ngModelChange"],[1,"muted","type-xs"],["type","button","mat-button","","color","primary","class","xs margin-s-right",3,"click",4,"ngFor","ngForOf"],["type","submit","mat-flat-button","",1,"gmat-button"],[1,"subtle-link","muted","margin-x",3,"href"],["type","button","mat-button","","color","warn","title","This will reset all your dashboard settings to the default",
1,"gmat-button","margin-left",3,"click"],["mat-icon-button","","color","primary","title","Refresh","aria-label","Refresh","type","button",1,"gmat-button","large",3,"click"],["svgIcon","refresh","size","large"],["cdkDropListGroup",""],["class","a",4,"ngIf"],[1,"w"],["class","carded bg-main margin-s-bottom",4,"ngIf"],[4,"ngIf"],["class","carded bg-main","style","margin-bottom: 24px;","cdkDropList","",3,"cdkDropListDropped",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",3,"click"],["type","button","mat-button","","color","primary",1,"xs","margin-s-right",3,"click"],[1,"a"],[1,"carded","bg-main","margin-s-bottom"],["cdkDropList","",1,"carded","bg-main",2,"margin-bottom",
"24px",3,"cdkDropListDropped"],["pinnedIssues","cdkDropList"],[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&&(H(0,"link",0),P(1,CVa,75,46,"article",1),U(2,"async"));a&2&&(z(1),D("ngIf",V(2,1,b.hackyPrefs.prefs$)))},dependencies:[xw,yw,qV,tA,jB,HV,NC,ix,Qh,ax,bx,hx,fx,DV,yV,AV,rV,sV,BV,GV,IV,rW,sW,EV,qW,DL,xL,pV,Ew],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%]{position:absolute;top:3px;right:48px}.announcement-banner[_ngcontent-%COMP%]{margin-left:auto;background-color:#e8f0fe;background-color:var(--primary-c50);padding:4px;margin-top:4px}[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 fkc={"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 uW=function(){};uW.\u0275fac=function(a){return new (a||uW)};uW.\u0275mod=od({type:uW});uW.\u0275inj=Wc({imports:[Mw,Mz,Mz]});var vW=function(){};vW.\u0275fac=function(a){return new (a||vW)};vW.\u0275mod=od({type:vW});vW.\u0275inj=Wc({imports:[Mw,wx,YC,OC,fU,ID,uW,Lz,Rx,aO,Uy,XJ,vP]});var wW=function(){};wW.\u0275fac=function(a){return new (a||wW)};wW.\u0275mod=od({type:wW});wW.\u0275inj=Wc({imports:[Mw,OC,dO,JN,ZN]});var xW=function(){this.roundCorners=this.showDividers=!1};xW.\u0275fac=function(a){return new (a||xW)};
xW.\u0275cmp=p({type:xW,selectors:[["b-button-group"]],hostVars:4,hostBindings:function(a,b){a&2&&Fg("show-dividers",b.showDividers)("round-corners",b.roundCorners)},inputs:{showDividers:"showDividers",roundCorners:"roundCorners"},ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(Ng(),Og(0))},styles:["[_nghost-%COMP%]{display:flex;flex-wrap:nowrap}.show-dividers[_nghost-%COMP%]     button.gmat-button:not(:last-of-type), .show-dividers[_nghost-%COMP%]     :not(:last-child) button.gmat-button{border-right:1px solid #dadce0}.show-dividers[_nghost-%COMP%]     button.gmat-button:not(:first-of-type), .show-dividers[_nghost-%COMP%]     :not(:first-child) button.gmat-button{border-left:1px solid #dadce0}[_nghost-%COMP%]    >:not(:last-child){margin-right:0}[_nghost-%COMP%]    >:not(:first-child){margin-left:0}[_nghost-%COMP%]:not(.round-corners)     button.gmat-button:not(:last-of-type), [_nghost-%COMP%]:not(.round-corners)     :not(:last-child) button.gmat-button{margin-right:-1px;border-top-right-radius:0 !important;border-bottom-right-radius:0 !important}[_nghost-%COMP%]:not(.round-corners)     button.gmat-button:not(:first-of-type), [_nghost-%COMP%]:not(.round-corners)     :not(:first-child) button.gmat-button{border-top-left-radius:0 !important;border-bottom-left-radius:0 !important}[_nghost-%COMP%]:not(.round-corners)     button.gmat-button:hover{z-index:2}[_nghost-%COMP%]:not(.round-corners)     button.gmat-button:focus{z-index:3}\n/*# sourceMappingURL=button-group.css.map */"],changeDetection:0});var yW=function(a,b){this.constants=a;this.activeSession=b;this.STATUS_FULL_TEXT=gF;this.ISSUE_TYPES_PROTO=t0b;this.STATUSES_PROTO=s0b;this.SEVERITIES_VALUES=x0b;this.PRIORITES_VALUES=v0b;this.onBulkEdit=new Rv;this.onQuickBulkEdit=new Rv;this.onBulkEditIssueRelation=new Rv;this.onBulkMarkIssueRead=new Rv;this.isAnonymous=this.activeSession.isAnonymous();this.enableBulkEditUi=DE(this.activeSession,"enableBulkEditUi")};yW.prototype.bulkEdit=function(a){this.onBulkEdit.emit(a)};
yW.prototype.quickBulkEdit=function(a,b){this.onQuickBulkEdit.emit({field:a,newValue:b})};yW.prototype.bulkEditIssueRelation=function(a,b){this.onBulkEditIssueRelation.emit({issueRelation:a,isMarking:void 0===b?!0:b})};yW.prototype.bulkMarkIssueRead=function(){this.onBulkMarkIssueRead.emit()};yW.\u0275fac=function(a){return new (a||yW)(A(gJ),A(Vt))};
yW.\u0275cmp=p({type:yW,selectors:[["b-app-bar-bulk-edit-menus"]],inputs:{readStatePrompt:"readStatePrompt"},outputs:{onBulkEdit:"onBulkEdit",onQuickBulkEdit:"onQuickBulkEdit",onBulkEditIssueRelation:"onBulkEditIssueRelation",onBulkMarkIssueRead:"onBulkMarkIssueRead"},decls:91,vars:15,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"],["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&&(E(0,"b-button-group"),P(1,DVa,4,2,"button",0),E(2,"button",1),K("click",function(){return b.bulkMarkIssueRead()}),Q(3),F(),P(4,EVa,4,2,"button",0),P(5,FVa,4,2,"button",0),F(),E(6,"mat-menu",null,2)(8,"button",3),K("click",function(){return b.bulkEdit("ASSIGNEE")}),Q(9,"Assignee"),F(),E(10,"button",3),K("click",function(){return b.bulkEdit("COMPONENT")}),Q(11,"Component"),F(),E(12,"button",4),Q(13,"Priority"),F(),E(14,"button",4),Q(15,"Severity"),
F(),E(16,"button",4),Q(17,"Status"),F(),E(18,"button",4),Q(19,"Type"),F(),E(20,"button",3),K("click",function(){return b.bulkEdit("VERIFIER")}),Q(21,"Verifier"),F(),E(22,"button",3),K("click",function(){return b.bulkEdit("REPORTER")}),Q(23,"Reporter"),F(),E(24,"button",3),K("click",function(){return b.bulkEdit("CHANGELIST")}),Q(25,"Changelist"),F(),E(26,"button",3),K("click",function(){return b.bulkEdit("CUSTOM_FIELDS")}),Q(27,"Custom Fields"),F(),E(28,"button",4),Q(29," Archival state "),F(),E(30,
"button",3),K("click",function(){return b.bulkEdit("FOUND_IN")}),Q(31,"Found In"),F(),E(32,"button",3),K("click",function(){return b.bulkEdit("SLO_SNOOZE_UNTIL")}),Q(33,"SLO Start Date"),F(),E(34,"button",3),K("click",function(){return b.bulkEdit("VERIFIED_IN")}),Q(35,"Verified In"),F(),E(36,"button",3),K("click",function(){return b.bulkEdit("TARGETED_TO")}),Q(37,"Targeted To"),F(),E(38,"button",4),Q(39,"In Prod"),F(),H(40,"mat-divider"),E(41,"button",3),K("click",function(){return b.bulkEdit("COMMENT")}),
Q(42,"Add Comment"),F()(),E(43,"mat-menu",null,5),P(45,GVa,2,1,"button",6),F(),E(46,"mat-menu",null,7),P(48,HVa,2,1,"button",6),F(),E(49,"mat-menu",null,8),P(51,IVa,2,1,"button",6),F(),E(52,"mat-menu",null,9),P(54,JVa,2,2,"button",10),F(),E(55,"mat-menu",null,11)(57,"button",3),K("click",function(){return b.quickBulkEdit("IS_ARCHIVED",!0)}),Q(58,"Archive"),F(),E(59,"button",3),K("click",function(){return b.quickBulkEdit("IS_ARCHIVED",!1)}),Q(60,"Unarchive"),F()(),E(61,"mat-menu",null,12)(63,"button",
3),K("click",function(){return b.quickBulkEdit("IN_PROD",!0)}),Q(64,"In Prod"),F(),E(65,"button",3),K("click",function(){return b.quickBulkEdit("IN_PROD",!1)}),Q(66,"Not in Prod"),F()(),E(67,"mat-menu",null,13)(69,"button",3),K("click",function(){return b.bulkEditIssueRelation("BLOCKED_BY",!0)}),Q(70,"Mark as Blocked By"),F(),E(71,"button",3),K("click",function(){return b.bulkEditIssueRelation("BLOCKING",!0)}),Q(72,"Mark as Blocking"),F(),E(73,"button",3),K("click",function(){return b.bulkEditIssueRelation("PARENT",
!0)}),Q(74,"Add Parent"),F(),E(75,"button",3),K("click",function(){return b.bulkEditIssueRelation("DUPLICATE")}),Q(76,"Duplicate"),F(),E(77,"button",3),K("click",function(){return b.bulkEditIssueRelation("BLOCKED_BY",!1)}),Q(78,"Unmark as Blocked By"),F(),E(79,"button",3),K("click",function(){return b.bulkEditIssueRelation("BLOCKING",!1)}),Q(80,"Unmark as Blocking"),F(),E(81,"button",3),K("click",function(){return b.bulkEditIssueRelation("PARENT",!1)}),Q(82,"Remove Parent"),F()(),E(83,"mat-menu",
null,14)(85,"button",3),K("click",function(){return b.quickBulkEdit("CC",!0)}),Q(86,"CC me"),F(),E(87,"button",3),K("click",function(){return b.quickBulkEdit("CC",!1)}),Q(88,"Un-CC me"),F(),E(89,"button",3),K("click",function(){return b.bulkEdit("CC")}),Q(90,"Edit CC"),F()());if(a&2){var c=O(44),d=O(47),e=O(50),f=O(53),h=O(56),l=O(62);z(1);D("ngIf",b.enableBulkEditUi);z(1);D("disabled",b.isAnonymous);z(1);R(" ",b.readStatePrompt," ");z(1);D("ngIf",b.enableBulkEditUi);z(1);D("ngIf",b.enableBulkEditUi);
z(7);D("matMenuTriggerFor",c);z(2);D("matMenuTriggerFor",d);z(2);D("matMenuTriggerFor",e);z(2);D("matMenuTriggerFor",f);z(10);D("matMenuTriggerFor",h);z(10);D("matMenuTriggerFor",l);z(7);D("ngForOf",b.PRIORITES_VALUES);z(3);D("ngForOf",b.SEVERITIES_VALUES);z(3);D("ngForOf",b.STATUSES_PROTO);z(3);D("ngForOf",b.ISSUE_TYPES_PROTO)}},dependencies:[FC,DC,EC,xw,yw,GN,xW,tA,AM,NC],encapsulation:2,changeDetection:0});var zW=function(a){this.activeSession=a;this.showFlagIssuesAsSpam=this.showExportCsv=!1;this.exportCsvClicked=new Rv;this.flagAsSpamClicked=new Rv;this.isAnonymous=this.activeSession.isAnonymous()};zW.\u0275fac=function(a){return new (a||zW)(A(Vt))};
zW.\u0275cmp=p({type:zW,selectors:[["b-app-bar-more-menu"]],inputs:{showExportCsv:"showExportCsv",showFlagIssuesAsSpam:"showFlagIssuesAsSpam"},outputs:{exportCsvClicked:"exportCsvClicked",flagAsSpamClicked:"flagAsSpamClicked"},decls:1,vars:1,consts:[[4,"ngIf"],["mat-button","",1,"gmat-button","medium",3,"disabled","matMenuTriggerFor"],["name","arrow-dropdown","size","small"],["moreMenu","matMenu"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",3,"click"]],template:function(a,b){a&1&&
P(0,MVa,9,4,"ng-container",0);a&2&&D("ngIf",b.showExportCsv||b.showFlagIssuesAsSpam)},dependencies:[FC,DC,EC,yw,GN,tA],encapsulation:2,changeDetection:0});var AW=function(){};AW.\u0275fac=function(a){return new (a||AW)};AW.\u0275mod=od({type:AW});AW.\u0275inj=Wc({imports:[Mw]});var BW=function(){};BW.\u0275fac=function(a){return new (a||BW)};BW.\u0275mod=od({type:BW});BW.\u0275inj=Wc({imports:[GC,Mw,eO,AW,YC,fU,ID]});var CW=function(a,b,c){var d=this;this.activeSession=a;this.connectionChecker=b;this.ssoInterceptorState=c;this.notifyUserAndWaitForGoodConnection$=new C.Observable(function(e){d.ssoInterceptorState.showRefreshSso$.next(!0);var f=d.watchForRestoredConnection$.subscribe(e),h=new C.ReplaySubject(1);d.watchForRestoredConnection$.pipe(dg(h)).subscribe(function(){d.ssoInterceptorState.showRefreshSso$.next(!1)});return function(){h.next();f.unsubscribe()}});this.watchForRestoredConnection$=(0,C.fromEvent)(window,
"focus").pipe(cg(function(){return d.connectionChecker.ok$}),Gf(function(e){return e}),Rf(),B(function(){}),Zf())};CW.prototype.intercept=function(a,b){return DE(this.activeSession,"enableRefreshSsoPopup")&&a.url&&a.url.startsWith("action/")?gkc(this,b,a):b.handle(a)};
var gkc=function(a,b,c){return new C.Observable(function(d){var e=b.handle(c).subscribe({next:function(h){d.next(h)},complete:function(){d.complete()},error:function(h){hkc(a,b,c,h).pipe(dg(f)).subscribe(d)}}),f=new C.ReplaySubject(1);return function(){f.next();e.unsubscribe()}})},hkc=function(a,b,c,d){return 403===d.status||404===d.status||429===d.status?(0,C.throwError)(d):a.connectionChecker.ok$.pipe(cg(function(e){return e?(0,C.throwError)(d):a.notifyUserAndWaitForGoodConnection$.pipe(cg(function(){return b.handle(c)}))}))};
CW.\u0275fac=function(a){return new (a||CW)(n(Vt),n(DW),n(EW))};CW.\u0275prov=Vc({token:CW,factory:CW.\u0275fac,providedIn:"root"});var EW=function(){this.showRefreshSso$=new C.BehaviorSubject(!1)};EW.\u0275fac=function(a){return new (a||EW)};EW.\u0275prov=Vc({token:EW,factory:EW.\u0275fac,providedIn:"root"});
var DW=function(a){var b=this;this.ngZone=a;this.ok$=new C.Observable(function(c){var d=gj("action/yes",function(){b.ngZone.run(function(){d.isSuccess()?c.next("yes"===d.getResponseText()):c.next(!1);c.complete()})});return function(){d.dispose()}})};DW.\u0275fac=function(a){return new (a||DW)(n(hg))};DW.\u0275prov=Vc({token:DW,factory:DW.\u0275fac,providedIn:"root"});var ikc={provide:ky,useClass:CW,multi:!0};var jkc=function(a,b){return[a,b]},kkc=[[["b-callout-body"]],[["b-callout-actions"]]],FW=function(){this.messageType="info";this.format="default"};FW.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"}};FW.\u0275fac=function(a){return new (a||FW)};
FW.\u0275cmp=p({type:FW,selectors:[["b-callout"]],hostVars:5,hostBindings:function(a,b){a&2&&Gg(Yg(2,jkc,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&&(Ng(kkc),E(0,"div",0),H(1,"mat-icon",1),E(2,"div",2),Og(3),F(),E(4,"div",3),Og(5,1),F()());a&2&&(z(1),
D("svgIcon",b.getIconName()))},dependencies:[jB],styles:["[_nghost-%COMP%]{display:block;border-radius:8px;color:#3c4043;color:var(--c800);padding:4px}[_nghost-%COMP%]     .mat-button{min-height:28px;line-height:28px;padding:0px 8px}.app[_nghost-%COMP%]{border-radius:0;padding-left:24px}.app[_nghost-%COMP%]   mat-icon[_ngcontent-%COMP%]{margin-left:0;margin-right:10px}.content[_ngcontent-%COMP%]{flex-grow:1}mat-icon[_ngcontent-%COMP%]{margin-left:8px;margin-right:4px}.callout[_ngcontent-%COMP%]{display:flex;align-items:center;min-height:36px}.info[_nghost-%COMP%]{background-color:#e8f0fe;background-color:var(--primary-c50)}.info[_nghost-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#1a73e8;color:var(--text-primary)}.info[_nghost-%COMP%]    .mat-button, .info[_nghost-%COMP%]    .mat-stroked-button, .info[_nghost-%COMP%]    .mat-icon-button{color:#1a73e8;color:var(--link)}.info[_nghost-%COMP%]    .mat-flat-button, .info[_nghost-%COMP%]    .mat-raised-button{background-color:#1a73e8;background-color:var(--primary-btn-bg);color:#fff;color:var(--text-inverse)}.archived[_nghost-%COMP%], .caution[_nghost-%COMP%]{background-color:#feefc3;background-color:var(--warn-c50);border-color:#fbbc04;border-color:var(--warn-gfx-muted)}.archived[_nghost-%COMP%]   mat-icon[_ngcontent-%COMP%], .caution[_nghost-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#e37400;color:var(--warn-gfx)}.archived[_nghost-%COMP%]    .mat-button, .archived[_nghost-%COMP%]    .mat-stroked-button, .archived[_nghost-%COMP%]    .mat-icon-button, .caution[_nghost-%COMP%]    .mat-button, .caution[_nghost-%COMP%]    .mat-stroked-button, .caution[_nghost-%COMP%]    .mat-icon-button{color:rgba(0,0,0,.7);color:var(--text-warn)}.archived[_nghost-%COMP%]    .mat-flat-button, .archived[_nghost-%COMP%]    .mat-raised-button, .caution[_nghost-%COMP%]    .mat-flat-button, .caution[_nghost-%COMP%]    .mat-raised-button{background-color:#e37400;background-color:var(--warn-gfx);color:#fff;color:var(--text-inverse)}.error[_nghost-%COMP%]{background-color:#fef4f3;background-color:var(--bad-bg-pale);border-color:#f6aea9;border-color:var(--bad-gfx-muted)}.error[_nghost-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#c5221f;color:var(--bad-gfx)}.error[_nghost-%COMP%]    .mat-button, .error[_nghost-%COMP%]    .mat-stroked-button, .error[_nghost-%COMP%]    .mat-icon-button{color:#c5221f;color:var(--bad-link)}.error[_nghost-%COMP%]    .mat-flat-button, .error[_nghost-%COMP%]    .mat-raised-button{background-color:#a50e0e;background-color:var(--bad-bg-inverse);color:#fff;color:var(--text-inverse)}.success[_nghost-%COMP%]{background-color:#eafaef;background-color:var(--good-bg-pale);border-color:#1e8e3e;border-color:var(--good-gfx)}.success[_nghost-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#1e8e3e;color:var(--good-gfx)}.success[_nghost-%COMP%]    .mat-button, .success[_nghost-%COMP%]    .mat-stroked-button, .success[_nghost-%COMP%]    .mat-icon-button{color:#1e8e3e;color:var(--good-link)}.success[_nghost-%COMP%]    .mat-flat-button, .success[_nghost-%COMP%]    .mat-raised-button{background-color:#34a853;background-color:var(--good);color:#fff;color:var(--text-inverse)}\n/*# sourceMappingURL=callout.css.map */"]});
var GW=function(){};GW.\u0275fac=function(a){return new (a||GW)};GW.\u0275dir=qd({type:GW,selectors:[["b-callout-body"],["b-callout-actions"]]});var HW=function(a,b){this.activeSession=a;this.isAnonymous=this.activeSession.isAnonymous();this.showRefreshSsoMessage$=b.showRefreshSso$};HW.\u0275fac=function(a){return new (a||HW)(A(Vt),A(EW))};
HW.\u0275cmp=p({type:HW,selectors:[["b-sso-expired-callout-outlet"]],decls:2,vars:3,consts:[["format","app",3,"messageType",4,"ngIf"],["format","app",3,"messageType"],[4,"ngIf","ngIfElse"],["signedInMessage",""],["mat-flat-button","",3,"click",4,"ngIf"],["mat-flat-button","",3,"click"]],template:function(a,b){a&1&&(P(0,SVa,7,4,"b-callout",0),U(1,"async"));a&2&&D("ngIf",V(1,1,b.showRefreshSsoMessage$))},dependencies:[yw,FW,GW,tA,Ew],encapsulation:2,changeDetection:0});var IW=function(a,b,c){var d=this;this.session=a;this.principalTypes=b;this.cdr=c;this.showHiringBanner=!1;DE(this.session,"weAreHiring")&&qJ(this.principalTypes,this.session.getUserEmail(),!0).then(function(e){d.showHiringBanner="UNRESTRICTED_GOOGLER"===e.detailedUserType;d.cdr.detectChanges()}).catch(function(){})};IW.\u0275fac=function(a){return new (a||IW)(A(Vt),A(pJ),A(sH,2))};
IW.\u0275cmp=p({type:IW,selectors:[["b-hiring-banner"]],features:[Ug([sH])],decls:1,vars:1,consts:[["class","hiring-banner","title","See jobs related to Buganizer","href","http://goto.google.com/buganizer-hiring","target","_blank",4,"ngIf"],["title","See jobs related to Buganizer","href","http://goto.google.com/buganizer-hiring","target","_blank",1,"hiring-banner"]],template:function(a,b){a&1&&P(0,TVa,2,0,"a",0);a&2&&D("ngIf",b.showHiringBanner)},dependencies:[yw],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 JW=function(){};JW.\u0275fac=function(a){return new (a||JW)};JW.\u0275mod=od({type:JW});JW.\u0275inj=Wc({imports:[Mw]});var KW=function(a){this.hotkeys=a};KW.prototype.ngOnInit=function(){this.hotkeys.pause()};KW.prototype.ngOnDestroy=function(){this.hotkeys.unpause()};KW.\u0275fac=function(a){return new (a||KW)(A(JM))};
KW.\u0275cmp=p({type:KW,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&&(E(0,"h1",0),Q(1,"Keyboard shortcuts"),F(),E(2,"mat-dialog-content")(3,"table"),P(4,VVa,6,2,"thead",1),F()(),E(5,"mat-dialog-actions")(6,"button",2),Q(7,"Close"),F()());
a&2&&(z(4),D("ngForOf",k5b(b.hotkeys)))},dependencies:[xw,tA,JA,KA,LA,MA],encapsulation:2});var LW=function(){};LW.\u0275fac=function(a){return new (a||LW)};LW.\u0275mod=od({type:LW});LW.\u0275inj=Wc({imports:[Mw,YC,NA]});var XVa=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.sloSnoozeUntil=this.sloStatus=this.position=this.effort=null;this.signals=[]};var MW=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 C.BehaviorSubject(this)},lkc=function(a,b){var c=b.positionMap||{},d=b.issues.map(function(e){var f=ZVa(e,b.componentMap[Ba(e.snapshot).componentId||0]);c&&c[e.issueId]&&(f.position=c[e.issueId]);return f});return new MW(d,a,b.numTotalResults)},mkc=function(a,b){var c=b.issuesWithSignals.map(function(d){var e,f=ZVa(d.issue,null!=(e=b.components[Ba(d.issue.snapshot).componentId||0])?e:null);f.signals=d.signals;return f});return new MW(c,
a,b.numTotalResults)};MW.prototype.hasPreviousPage=function(){return 1<this.params.page};MW.prototype.hasNextPage=function(){return this.params.page<this.numPages};var NW=function(a,b){var c=a.issues.findIndex(function(d){return d.issueId===b});return-1!==c?c+a.startIndex:-1};MW.prototype.getIssueIdFromIndex=function(a){if(a>=this.startIndex&&a<=this.endIndex&&(a-=this.startIndex,a<this.issues.length))return this.issues[a].issueId};
var nkc=function(a,b){b=m(b);for(var c=b.next();!c.done;c=b.next()){var d=c.value;c=d.issue;d=d.component;var e=NW(a,c.issueId);-1!==e&&(e-=a.startIndex,YVa(a.issues[e],c,d),a.issues[e].selected=!1)}a.changed$.next(a)},okc=function(a,b,c,d){b=NW(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)};MW.prototype.clone=function(){var a=new MW(this.internalIssues,this.params,this.numTotalResults);a.changed$.next(a);return a};MW.prototype.getTotalText=function(a,b,c,d){return a<=b*c?a.toString():d?"many":a.toString()};Xi.Object.defineProperties(MW.prototype,{issues:{configurable:!0,enumerable:!0,get:function(){return this.internalIssues},set:function(a){this.internalIssues=a;this.changed$.next(this)}}});var pkc=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};
pkc.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?mkc(a.params,e):lkc(a.params,e));return a.searchResultsPage},function(e){return Promise.reject(e)})};
var qkc=function(a){return a.searchResultsPage?a.searchResultsPage.hasNextPage():!0};var OW=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},PW=function(a,b){var c=Tn();rkc(b.page)?(skc(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},ukc=function(a){var b=
Tn(),c=null;a.currentResultsFetcher_?c=a.currentResultsFetcher_.params:c=tkc(a);c?(skc(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},QW=function(a){a.currentResultsFetcher_=null;a.nextResultsFetcher_=null;a.previousResultsFetcher_=null;a.focusedIssueIndex_=-1},vkc=function(a,b){var c=Tn();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=Gj(a.currentResultsFetcher_.params);e.page=d;skc(a,e);a.currentResultsFetcher_.fetchIssues().then(function(f){f.getIssueIdFromIndex&&((f=f.getIssueIdFromIndex(b))?(a.focusedIssueIndex_=b,c.resolve(f)):c.reject("No issue available at index "+b))},function(f){c.reject(f)});return c.promise},wkc=function(a){a.currentResultsFetcher_?
a.currentResultsFetcher_.fetchIssues().then(function(b){b.getIssueIdFromIndex&&(a.focusedIssueIndex_=b.endIndex>=b.startIndex?b.startIndex:-1)}).catch(function(b){sj("unexpected error fetching:",b)}):a.focusedIssueIndex_=-1},tkc=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 Im(new Em(b.fieldId),b.direction)}));return a}return null},
xkc=function(a,b,c){b=Gj(b);b.page=c;return new pkc(a.issueApi,a.hotlistApi,a.needsAttentionApi,a.paths,b)},ykc=function(a,b){a.currentResultsFetcher_||(a.currentResultsFetcher_=xkc(a,b,b.page),a.currentResultsFetcher_.fetchIssues().catch(function(c){sj("unexpected error fetching:",c)}));!a.previousResultsFetcher_&&1<b.page&&(a.previousResultsFetcher_=xkc(a,b,b.page-1),a.previousResultsFetcher_.fetchIssues().catch(function(c){sj("unexpected error fetching:",c)}));!a.nextResultsFetcher_&&qkc(a.currentResultsFetcher_)&&
(a.nextResultsFetcher_=xkc(a,b,b.page+1),a.nextResultsFetcher_.fetchIssues().catch(function(c){sj("unexpected error fetching:",c)}))},skc=function(a,b){b.page=Lj(b.page);if(!b.resultsPerPage||isNaN(b.resultsPerPage))throw Error("Yd");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&&Fj(b.sortColumns,c.sortColumns)&&b.resultsPerPage===c.resultsPerPage&&Fj(b.trackerIds,c.trackerIds)?a.currentResultsFetcher_.params.returnUrl=b.returnUrl:QW(a)}ykc(a,b);b=JSON.stringify(a.currentResultsFetcher_.params);a.$window.sessionStorage.setItem("buganizer.searchParams",
b)},rkc=function(a){var b=Lj(""+a);return isNaN(b)||b!=Number(a)||1>b||2147483647<b?!1:!0};OW.\u0275fac=function(a){return new (a||OW)(n(EE),n(PE),n(ZG),n(wV),n(NG))};OW.\u0275prov=Vc({token:OW,factory:OW.\u0275fac,providedIn:"root"});var RW=function(a,b,c,d){Z.call(this);var e=this;this.paramsService=a;this.issueFetchResponseFridge=b;this.pageTitle=c;this.issuePermissionService=d;this.handlers$=this.paramsService.routeParams$.pipe(Qf(Fj),cg(function(f){return e.onRouteParamsChanged(f)}));this.init=function(){e.subscriptions.add(e.handlers$.subscribe(function(){}))};this.initOnce=iwa(this.init)};W(RW,Z);RW.\u0275dir=Z.\u0275dir;RW.prototype.onRouteParamsChanged=function(a){return a.issueId?zkc(this,a.issueId):(0,C.of)()};
var zkc=function(a,b){return(0,C.combineLatest)([FH(a.issueFetchResponseFridge,b),a.issuePermissionService.accessLevel$]).pipe(bg([]),B(function(c){c=m(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")}))};
RW.\u0275fac=function(a){return new (a||RW)(n(xJ),n(EH),n(JV),n(JJ))};RW.\u0275prov=Vc({token:RW,factory:RW.\u0275fac,providedIn:"root"});var SW=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(Akc(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(),
Bkc(b));if(1===b.state)return;b.turnCounter--;0>=b.turnCounter&&(b.direction=360*Math.random(),b.turnCounter=40*Math.random());0>b.x&&90<b.direction&&270>b.direction&&(b.direction=(180-b.direction)%360);b.x>document.documentElement.clientWidth&&(90>b.direction||270<b.direction)&&(b.direction=(180-b.direction)%360);0>b.y&&180<b.direction&&(b.direction=360-b.direction);b.y>document.documentElement.clientHeight&&180>b.direction&&(b.direction=360-b.direction);Akc(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();Bkc(this);Ckc(this)};SW.prototype.start=function(){this.parentElement.appendChild(this.element);requestAnimationFrame(this.animate)};
SW.prototype.stop=function(){this.state=2;Bkc(this);this.direction=180*Math.atan2(this.y-document.documentElement.clientHeight/2,this.x-document.documentElement.clientWidth/2)/Math.PI+90*(Math.random()-.5);this.speed=15+10*Math.random()};
var Ckc=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)}};
SW.prototype.createElement=function(){var a=document.createElement("img");a.style.height=this.size+"px";a.style.width=this.size+"px";a.style.backgroundColor="transparent";a.style.zIndex="9999";a.style.position="fixed";a.style.top="0px";a.style.left="0px";return a};
var Bkc=function(a){a.element.src=1===a.state?"https://www.gstatic.com/buganizer/img/v0/logo.svg":"https://www.gstatic.com/buganizer/img/v0/bug-move.svg"},Akc=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};SW.prototype.transform=function(){this.element.style.transform="translate("+this.x+"px,"+this.y+"px) rotate("+(this.direction+90)%360+"deg) scaleX("+this.flip};var Dkc=function(a){this.element=a;this.bugs=[]};Dkc.prototype.start=function(){for(var a=this,b=0;3>b;b++)Ekc(this);this.intervalSubscription=(0,C.interval)(1E4).subscribe(function(){Ekc(a);10<=a.bugs.length&&a.intervalSubscription&&a.intervalSubscription.unsubscribe()})};Dkc.prototype.stop=function(){this.intervalSubscription&&this.intervalSubscription.unsubscribe();for(var a=m(this.bugs),b=a.next();!b.done;b=a.next())b.value.stop();this.bugs=[]};
var Ekc=function(a){var b=new SW(a.element);b.start();a.bugs.push(b)};var TW=function(a,b,c,d){var e=this;this.ngZone=a;this.userPreferencesManager=b;this.snackBar=c;this.destroyed$=new C.ReplaySubject(1);this.active$=new C.BehaviorSubject(!0);this.lastTimeoutResetTimestamp=Number.NEGATIVE_INFINITY;this.bugAnimation=new Dkc(d.nativeElement);this.active$.pipe(dg(this.destroyed$),Qf()).subscribe(function(f){f?Fkc(e):Gkc(e)})};TW.prototype.ngOnInit=function(){"visible"===document.visibilityState&&Hkc(this)};TW.prototype.ngOnDestroy=function(){this.destroyed$.next()};
var Hkc=function(a){a.timeoutId=setTimeout(function(){a.active$.next(!1)},18E4)};TW.prototype.onUserEvent=function(){var a=Date.now();a<this.lastTimeoutResetTimestamp+1E4||(this.lastTimeoutResetTimestamp=a,this.active$.next(!0),clearTimeout(this.timeoutId),Hkc(this))};TW.prototype.onVisibilityChange=function(){this.onUserEvent();switch(document.visibilityState){case "hidden":clearTimeout(this.timeoutId),this.lastTimeoutResetTimestamp=Number.NEGATIVE_INFINITY}};
var Gkc=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()})},Fkc=function(a){a.ngZone.runOutsideAngular(function(){a.bugAnimation.stop()})};
TW.\u0275fac=function(a){return new (a||TW)(A(hg),A(ZI),A(SF),A(ke))};
TW.\u0275cmp=p({type:TW,selectors:[["bug-screensaver"]],hostBindings:function(a,b){a&1&&K("click",function(){return b.onUserEvent()},!1,oe)("keydown",function(){return b.onUserEvent()},!1,oe)("mousemove",function(){return b.onUserEvent()},!1,oe)("wheel",function(){return b.onUserEvent()},!1,oe)("touchstart",function(){return b.onUserEvent()},!1,oe)("focus",function(){return b.onUserEvent()},!1,oe)("visibilitychange",function(){return b.onVisibilityChange()},!1,uea)},decls:0,vars:0,template:function(){},
encapsulation:2});var UW=function(a,b){var c=b.isInternalSession();this.isEnabled$=a.bugScreensaverSubject$.pipe(B(function(d){return(d.enableBugScreensaver||!1)&&c}))};UW.\u0275fac=function(a){return new (a||UW)(A(ZI),A(Vt))};UW.\u0275cmp=p({type:UW,selectors:[["bug-screensaver-manager"]],decls:2,vars:3,consts:[[4,"ngIf"]],template:function(a,b){a&1&&(P(0,$Va,1,0,"bug-screensaver",0),U(1,"async"));a&2&&D("ngIf",V(1,1,b.isEnabled$))},dependencies:[yw,TW,Ew],encapsulation:2});var VW=function(){};VW.\u0275fac=function(a){return new (a||VW)};VW.\u0275mod=od({type:VW});VW.\u0275inj=Wc({imports:[Mw,OC]});var WW=function(){};WW.\u0275fac=function(a){return new (a||WW)};WW.\u0275mod=od({type:WW});WW.\u0275inj=Wc({imports:[Mw,RF,DT,VW]});var XW=function(a){this.currentTracker=a;this.trackerName$=this.currentTracker.tracker$.pipe(B(function(b){var c;return null!=(c=null==b?void 0:b.name)?c:""}));this.trackerLogo$=this.currentTracker.tracker$.pipe(B(function(b){var c,d;return null!=(d=null==b?void 0:null==(c=b.branding)?void 0:c.logoUrl)?d:""}))};XW.\u0275fac=function(a){return new (a||XW)(A(mL))};
XW.\u0275cmp=p({type:XW,selectors:[["b-footer"]],decls:2,vars:3,consts:[[4,"ngIf"],["alt","",1,"logo",3,"src"],[1,"title"],[1,"padded-s-sides"],["href","https://policies.google.com/privacy","target","_blank"],["href","https://policies.google.com/terms","target","_blank"]],template:function(a,b){a&1&&(P(0,aWa,15,6,"footer",0),U(1,"async"));a&2&&D("ngIf",V(1,1,b.currentTracker.inTracker$))},dependencies:[yw,Ew],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 YW=function(){};YW.\u0275fac=function(a){return new (a||YW)};YW.\u0275mod=od({type:YW});YW.\u0275inj=Wc({imports:[Mw]});var ZW=function(){};ZW.\u0275fac=function(a){return new (a||ZW)};ZW.\u0275cmp=p({type:ZW,selectors:[["b-ng2-router-outlet"]],decls:1,vars:0,template:function(a){a&1&&H(0,"router-outlet")},dependencies:[tG],encapsulation:2});var $W=function(){};$W.\u0275fac=function(a){return new (a||$W)};$W.\u0275cmp=p({type:$W,selectors:[["b-router-outlet"]],decls:1,vars:0,template:function(a){a&1&&H(0,"b-ng2-router-outlet")},dependencies:[ZW],encapsulation:2});var aX=function(){};aX.\u0275fac=function(a){return new (a||aX)};aX.\u0275mod=od({type:aX});aX.\u0275inj=Wc({imports:[Mw,LG]});var bX=function(a,b,c){Z.call(this);var d=this;this.paramsService=b;this.issueFetchResponseFridge=c;this.componentIdOverride$=new C.BehaviorSubject(null);this.hotlistIdOverride$=new C.BehaviorSubject(null);this.routeIssueId$=this.paramsService.issueId$;this.routeComponentId$=Z0b(this.paramsService,"componentId").pipe(Qf());this.routeHotlistId$=Z0b(this.paramsService,"hotlistId").pipe(Qf());this.issueId$=this.routeIssueId$.pipe(B(cWa),$f({refCount:!0,bufferSize:1}));this.componentIdFromIssueId$=this.issueId$.pipe(cg(function(e){return e?
FH(d.issueFetchResponseFridge,e):(0,C.of)(void 0)}),B(function(e){var f;return null==e?void 0:null==(f=e.issue)?void 0:f.snapshot[0].componentId}));this.componentId$=(0,C.combineLatest)([this.componentIdOverride$,this.routeComponentId$,this.componentIdFromIssueId$]).pipe(B(function(e){var f=m(e);e=f.next().value;var h=f.next().value;f=f.next().value;return e||h||f}),B(bWa),Qf(),$f({refCount:!0,bufferSize:1}));this.hotlistId$=(0,C.combineLatest)([this.hotlistIdOverride$,this.routeHotlistId$]).pipe(B(function(e){var f=
m(e);e=f.next().value;f=f.next().value;return e||f}),B(bWa),Qf(),$f({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){To("dimension4",e)}))};W(bX,Z);bX.\u0275dir=Z.\u0275dir;bX.prototype.getComponentId=function(){return this.componentId$};bX.prototype.getIssueId=function(){return this.issueId$};bX.prototype.getHotlistId=function(){return this.hotlistId$};
bX.\u0275fac=function(a){return new (a||bX)(n(vH),n(xJ),n(EH))};bX.\u0275prov=Vc({token:bX,factory:bX.\u0275fac,providedIn:"root"});var cX=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(cg(function(f){return f?e.componentFridge.watch(f):(0,C.of)(void 0)}),B(function(f){return f&&!f.archived?f:void 0}));this.visibleOptions$=(0,C.combineLatest)([this.currentTracker.tracker$,this.component$,this.context.getIssueId(),this.context.getHotlistId()]).pipe(Pf(0),B(function(f){var h=m(f);
f=h.next().value;var l=h.next().value,q=h.next().value;h=h.next().value;return Ikc(e,null!=f?f:void 0,l,q,h)}));this.buttonLabel$=this.visibleOptions$.pipe(B(function(f){return f.length?"Create":"Create Issue"}));this.buttonIcon$=this.currentTracker.tracker$.pipe(B(function(f){var h;return"OPEN_SOURCE"===(null==f?void 0:null==(h=f.branding)?void 0:h.theme)?"create-open-source-36px":"create-color-36px"}))};cX.prototype.ngOnInit=function(){};cX.prototype.trackClick=function(a){So("create","click",a)};
var Ikc=function(a,b,c,d,e){var f=new Map;b=b&&c&&!Sn(b.trackerId)&&b.trackerId!==c.trackerId;c=(null==c?0:c.componentId)?String(c.componentId):void 0;if(null!==e){var h={};f.set("in_same_hotlist",a.paths.createIssue((h.hotlistIds=String(e),h)))}b||void 0===c||(e={},f.set("in_same_component",a.paths.createIssue((e.component=c,e))));b||null===d||(e={},f.set("similar_to_current_issue",a.paths.createIssue((e.template_issue=d,e))),e={},f.set("blocked_by_current_issue",a.paths.createIssue((e.blockedByIssueIds=
d,e.component=c,e))),e={},f.set("blocking_current_issue",a.paths.createIssue((e.blockingIssueIds=d,e.component=c,e))),e={},f.set("parent_of_current_issue",a.paths.createIssue((e.childrenIssueIds=d,e.component=c,e))),e={},f.set("child_of_current_issue",a.paths.createIssue((e.parentIssueId=d,e.component=c,e))));return[].concat(r(f.entries())).map(function(l){var q=m(l);l=q.next().value;q=q.next().value;return{name:Txa(l),path:q}})};cX.\u0275fac=function(a){return new (a||cX)(A(NG),A(bX),A(mL),A(xF))};
cX.\u0275cmp=p({type:cX,selectors:[["b-create-issue-button"]],decls:2,vars:3,consts:[[4,"ngIf"],[3,"label","icon","href","segments","clickMain","clickSegment"]],template:function(a,b){a&1&&(P(0,fWa,3,3,"ng-container",0),U(1,"async"));a&2&&D("ngIf",V(1,1,b.visibleOptions$))},dependencies:[yw,cP,Ew],encapsulation:2,changeDetection:0});var gr=function(a){Y.call(this,a)};W(gr,Y);g=gr.prototype;g.getHotlistId=function(){return iWa(this,1)};g.setHotlistId=function(a){rk(this,1,fr,a)};g.getName=function(){return Dk(this,2)};g.setName=function(a){return k(this,2,a)};g.hasName=function(){return Am(this,2)};g.getNameOrUndefined=function(){return yu(this,2)};g.getDescription=function(){return Dk(this,3)};g.setDescription=function(a){return k(this,3,a)};g.hasDescription=function(){return Am(this,3)};var fr=[1,4];var dX=function(a){Y.call(this,a,-1,Jkc)};W(dX,Y);g=dX.prototype;g.getBookmarkGroupId=function(){return Ck(this,1)};g.setBookmarkGroupId=function(a){k(this,1,a)};g.getName=function(){return Dk(this,2)};g.setName=function(a){return k(this,2,a)};g.hasName=function(){return Am(this,2)};g.getNameOrUndefined=function(){return yu(this,2)};g.getDescription=function(){return Dk(this,3)};g.setDescription=function(a){return k(this,3,a)};g.hasDescription=function(){return Am(this,3)};
g.getArchived=function(){return Tl(this,5)};g.setArchived=function(a){k(this,5,a)};g.getItemList=function(){return yj(this,gr,6)};g.setItemList=function(a){ac(this,6,a)};g.addItem=function(a,b){return jq(this,6,gr,a,b)};g.setItem=function(a,b){return ou(this,6,gr,a,b)};g.getItemCount=function(){return lDb(this,gr,6)};g.getAdminUsersList=function(){return yj(this,ek,9)};g.setAdminUsersList=function(a){ac(this,9,a)};var Jkc=[6,9];dX.messageId="b.BookmarkGroup";var Lkc=function(a){Y.call(this,a,-1,Kkc)};W(Lkc,Y);Lkc.prototype.getBookmarkGroupsList=function(){return yj(this,dX,1)};var Kkc=[1];Lkc.messageId="b.BookmarkGroupListResponse";var eX=function(a){this.executor=a};eX.prototype.get=function(a){return this.executor.get({url:"action/bookmark_groups/"+a,responseConstructor:dX}).then(kWa).then(gWa)};eX.prototype.query=function(a){return this.executor.get({url:"action/bookmark_groups",options:{params:{q:a}},responseConstructor:Lkc}).then(mWa).then(hWa)};eX.prototype.create=function(a){var b=new dX;b.setName(a.name);a.description&&b.setDescription(a.description);return this.executor.post({url:"action/bookmark_groups",body:b,responseConstructor:dX}).then(kWa).then(gWa)};
eX.prototype.update=function(a){var b=new dX;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(lWa));var d;b.setAdminUsersList((null!=(d=a.adminUsers)?d:[]).map(fk));return this.executor.post({url:"action/bookmark_groups/"+a.bookmarkGroupId,body:b,responseConstructor:dX}).then(kWa).then(gWa)};eX.\u0275fac=function(a){return new (a||eX)(n(LD))};
eX.\u0275prov=Vc({token:eX,factory:eX.\u0275fac,providedIn:"root"});var fX=function(a,b){this.router=a;this.location=b},$kb=function(a){var b=a.location.url();Gt(a.router,"/",{skipLocationChange:!0}).then(function(){return Gt(a.router,b,{skipLocationChange:!0})})};fX.\u0275fac=function(a){return new (a||fX)(n(FG),n(MG))};fX.\u0275prov=Vc({token:fX,factory:fX.\u0275fac,providedIn:"root"});var gX=function(a,b,c,d,e,f,h,l,q,u){Z.call(this);var x=this;this.reloadService=a;this.activeSession=b;this.userApi=c;this.errorHandler=d;this.bLocation=e;this.paths=f;this.issuePagination=h;this.sidebarItemFactory=l;this.appEvents=q;this.analytics=u;this.sidebarData={hotlists:[],bookmarkGroups:[],archivedHotlists:[],archivedBookmarkGroups:[],userSearches:[]};this.userSavedSearches=[];this.userHotlists=[];Mkc(this);Nkc(this);this.fetchUserHotlists();a=function(){Mkc(x)};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(){Nkc(x)}));a=function(){x.fetchUserHotlists()};this.subscriptions.add(this.appEvents.hotlistCreated.subscribe(a));this.subscriptions.add(this.appEvents.hotlistChanged.subscribe(a))};W(gX,Z);gX.\u0275dir=Z.\u0275dir;
var Mkc=function(a){a.userApi.getUserSidebar().then(function(b){a.sidebarData.hotlists=Okc(a,b.hotlists);a.sidebarData.bookmarkGroups=Pkc(a,b.bookmarkGroups);a.sidebarData.archivedHotlists=Okc(a,b.archivedHotlists);a.sidebarData.archivedBookmarkGroups=Pkc(a,b.archivedBookmarkGroups);a.appEvents.sidebarUpdated.next()}).catch(function(b){a.errorHandler.errorHandler(null,b)})},Nkc=function(a){a.userApi.getUserSavedSearches().then(function(b){b=Qkc(a,b);a.sidebarData.userSearches=b;Ia(a.userSavedSearches);
Sa(a.userSavedSearches,b);a.appEvents.sidebarUpdated.next()}).catch(function(b){a.errorHandler.errorHandler(null,b)})};gX.prototype.fetchUserHotlists=function(){var a=this;this.userApi.getUserHotlists().then(function(b){Rkc(a,b);a.appEvents.sidebarUpdated.next()}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
var Okc=function(a,b){return(b||[]).map(function(c){return Skc(a.sidebarItemFactory,c)}).sort(function(c,d){return c.name.localeCompare(d.name)})},Pkc=function(a,b){return(b||[]).map(function(c){var d=a.sidebarItemFactory;return new Tkc(c,d.activeSession,d.analytics,d.userApi,d.bookmarkGroupsApi,d.butterBar,d.paths,d.userPreferencesManager,d.errorHandler,d,d.confirmationDialogService,d.appEvents)})},Qkc=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 Ukc(a.sidebarItemFactory,c)})},Rkc=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 Skc(a.sidebarItemFactory,c)});Ia(a.userHotlists);Sa(a.userHotlists,b)};
gX.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||(QW(this.issuePagination),cYb(this.paths,a)&&$kb(this.reloadService),this.bLocation.url(a),b.preventDefault(),b.stopPropagation())};gX.\u0275fac=function(a){return new (a||gX)(n(fX),n(Vt),n(dH),n(ZF),n(MG),n(NG),n(OW),n(hX),n(cG),n(wH))};
gX.\u0275prov=Vc({token:gX,factory:gX.\u0275fac,providedIn:"root"});var iX=function(a,b,c,d,e,f,h,l){this.analytics=c;this.userApi=d;this.bookmarkGroupsApi=e;this.butterBar=f;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()};iX.prototype.isEditable=function(){return Vkc(this)};iX.prototype.isSelected=function(){return bYb(this.paths,this.href)};
iX.prototype.isUnstarable=function(){return!Vkc(this)&&this.starred};
var Vkc=function(a){return a.adminUsers.some(function(b){return b.emailAddress===a.userEmail})},Wkc=function(a,b){var c=$I(a.userPreferencesManager).homepagePreferences;return(null==c?void 0:c.resourceId)===a.id&&c.resourceType===b},Xkc=function(a,b){WF(a.butterBar,"Updating homepage...",0);k0b(a.userPreferencesManager,{resourceType:b,resourceId:a.id}).pipe(Rf()).subscribe(function(){WF(a.butterBar,"Homepage updated")})},Ykc=function(a,b,c,d,e,f,h,l,q,u,x,y){iX.call(this,a,b,c,d,e,h,l,q);this.hotlistApi=
f;this.errorHandler=u;this.confirmationDialogService=x;this.appEvents=y;this.href=l.viewHotlist(a.id);this.type="HOTLIST"};W(Ykc,iX);g=Ykc.prototype;g.isPreferredHomepage=function(){return Wkc(this,"HOTLIST")};g.setAsPreferredHomepage=function(){Xkc(this,"HOTLIST")};
g.archive=function(){var a=this;WF(this.butterBar,'Archiving hotlist "'+this.name+'"...');this.hotlistApi.get(this.id).then(function(b){b.archived=!0;return a.hotlistApi.archiveHotlist(a.id,b)}).then(function(){a.appEvents.hotlistChanged.next({hotlistId:a.id});WF(a.butterBar,'Archived hotlist "'+a.name+'".');a.analytics.trackEvent("sidebarItem","archived")}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
g.unarchive=function(){var a=this;WF(this.butterBar,'Unarchiving hotlist "'+this.name+'"...');this.hotlistApi.get(this.id).then(function(b){b.archived=!1;return a.hotlistApi.archiveHotlist(a.id,b)}).then(function(){a.appEvents.hotlistChanged.next({hotlistId:a.id});WF(a.butterBar,'Unarchived hotlist "'+a.name+'".');a.analytics.trackEvent("sidebarItem","unarchived")}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
g.unstar=function(){var a=this;this.confirmationDialogService.open({title:"Unstar hotlist: "+this.name,content:jp("Unstarring a hotlist will remove it from your sidebar. You can restore the hotlist at any time from the hotlist's page."),onConfirm:function(){a.doUnstar()}})};
g.doUnstar=function(){var a=this;WF(this.butterBar,"Unstarring hotlist ID "+this.id+"...");this.userApi.deleteFavorite({resourceType:"HOTLIST",resourceId:this.id}).then(function(){WF(a.butterBar,"Unstarred hotlist ID "+a.id);a.appEvents.hotlistChanged.next()}).catch(function(b){a.errorHandler.errorHandler(null,b)})};var jX=function(a,b,c,d,e,f,h,l){iX.call(this,a,b,c,d,e,f,h,l);this.href=h.viewSavedSearch(a.id);this.type="SAVED_SEARCH"};W(jX,iX);jX.prototype.isUnstarable=function(){return!1};
jX.prototype.unstar=function(){};jX.prototype.isPreferredHomepage=function(){return Wkc(this,"SAVED_SEARCH")};jX.prototype.setAsPreferredHomepage=function(){Xkc(this,"SAVED_SEARCH")};
var Tkc=function(a,b,c,d,e,f,h,l,q,u,x,y){iX.call(this,a,b,c,d,e,f,h,l);this.errorHandler=q;this.sidebarItemFactory=u;this.confirmationDialogService=x;this.appEvents=y;this.items=[];a=m(a.sublinks||[]);for(b=a.next();!b.done;b=a.next())switch(b=b.value,b.resourceType){case "HOTLIST":this.items.push(Skc(this.sidebarItemFactory,b));break;case "SAVED_SEARCH":this.items.push(Ukc(this.sidebarItemFactory,b))}this.items.sort(function(G,L){return G.name.localeCompare(L.name)})};W(Tkc,iX);g=Tkc.prototype;
g.isPreferredHomepage=function(){return Wkc(this,"BOOKMARK_GROUP")};g.setAsPreferredHomepage=function(){Xkc(this,"BOOKMARK_GROUP")};
g.archive=function(){var a=this;WF(this.butterBar,'Archiving bookmark group "'+this.name+'"...');this.bookmarkGroupsApi.get(this.id).then(function(b){b.archived=!0;return a.bookmarkGroupsApi.update(b)}).then(function(){a.appEvents.bookmarkGroupModified.next({bookmarkGroupId:a.id});WF(a.butterBar,'Archived bookmark group "'+a.name+'".');a.analytics.trackEvent("sidebarItem","archived")}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
g.unarchive=function(){var a=this;WF(this.butterBar,'Unarchiving bookmark group "'+this.name+'"...');this.bookmarkGroupsApi.get(this.id).then(function(b){b.archived=!1;return a.bookmarkGroupsApi.update(b)}).then(function(){a.appEvents.bookmarkGroupModified.next({bookmarkGroupId:a.id});WF(a.butterBar,'Unarchived bookmark group "'+a.name+'".');a.analytics.trackEvent("sidebarItem","unarchived")}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
g.unstar=function(){var a=this;this.confirmationDialogService.open({title:"Unstar bookmark group: "+this.name,content:jp("Unstarring a bookmark group will remove it from your sidebar. You can restore it at any time from the bookmark group's page."),onConfirm:function(){a.doUnstar()}})};
g.doUnstar=function(){var a=this;WF(this.butterBar,"Unstarring bookmark group ID "+this.id+"...");this.userApi.deleteFavorite({resourceType:"BOOKMARK_GROUP",resourceId:this.id}).then(function(){WF(a.butterBar,"Unstarred bookmark group ID "+a.id);a.appEvents.bookmarkGroupModified.next()}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
var hX=function(a,b,c,d,e,f,h,l,q,u,x){this.activeSession=a;this.userApi=b;this.bookmarkGroupsApi=c;this.hotlistApi=d;this.errorHandler=e;this.paths=f;this.analytics=h;this.butterBar=l;this.userPreferencesManager=q;this.confirmationDialogService=u;this.appEvents=x},Skc=function(a,b){return new Ykc(b,a.activeSession,a.analytics,a.userApi,a.bookmarkGroupsApi,a.hotlistApi,a.butterBar,a.paths,a.userPreferencesManager,a.errorHandler,a.confirmationDialogService,a.appEvents)},Ukc=function(a,b){return new jX(b,
a.activeSession,a.analytics,a.userApi,a.bookmarkGroupsApi,a.butterBar,a.paths,a.userPreferencesManager)};hX.\u0275fac=function(a){return new (a||hX)(n(Vt),n(dH),n(eX),n(ZG),n(ZF),n(NG),n(wH),n(VF),n(ZI),n(UI),n(cG))};hX.\u0275prov=Vc({token:hX,factory:hX.\u0275fac,providedIn:"root"});var kX=function(a){this.prefs=a;this.expanded=!0;this.content=this.header=null};kX.prototype.ngOnInit=function(){this.prefKey&&(this.expanded=!m0b(this.prefs,this.prefKey))};kX.prototype.onClick=function(){var a=this,b,c;return of(function(d){b=!a.expanded;a.expanded=b;if(!a.prefKey)return d.jumpTo(0);c={};return d.yield((0,C.firstValueFrom)(l0b(a.prefs,(c[a.prefKey]=!b,c))),0)})};kX.\u0275fac=function(a){return new (a||kX)(A(ZI))};
kX.\u0275cmp=p({type:kX,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&&(E(0,"div",0),K("click",function(){return b.onClick()})("keydown.enter",function(c){b.onClick();return c.stopPropagation()})("keydown.space",function(c){b.onClick();return c.preventDefault()}),
P(1,nWa,1,0,"ng-container",1),F(),P(2,pWa,2,1,"ng-container",2));a&2&&(Fg("opened",b.expanded)("closed",!b.expanded),ug("aria-expanded",b.expanded),z(1),D("ngTemplateOutlet",b.header),z(1),D("ngIf",b.expanded))},dependencies:[yw,Dw],encapsulation:2});var lX=function(a,b,c,d){this.location=a;this.analytics=b;this.paths=c;this.sidebar=d;this.bookmarkGroups=[];this.hotlists=[]};g=lX.prototype;g.handleBookmarkGroupOpen=function(a){this.analytics.trackEvent("sidebarArchived","open");this.location.url(this.paths.viewBookmarkGroup(a))};g.handleBookmarkGroupDashboard=function(a){this.analytics.trackEvent("sidebarArchived","dashboard");this.location.url(this.paths.dashboard(a))};g.openEditHotlist=function(a){this.location.url(this.paths.editHotlist(a))};
g.openEditBookmarkGroup=function(a){this.location.url(this.paths.editBookmarkGroup(a))};g.onAnchorClick=function(a,b){this.sidebar.onAnchorClick(a,b)};lX.\u0275fac=function(a){return new (a||lX)(A(MG),A(wH),A(NG),A(gX))};
lX.\u0275cmp=p({type:lX,selectors:[["sidebar-archived"]],inputs:{bookmarkGroups:"bookmarkGroups",hotlists:"hotlists"},decls:1,vars:1,consts:[[4,"ngIf"],["prefKey","nav-archived",3,"header","content"],["zippyHeader",""],["zippyContent",""],[1,"archived-list"],[3,"title",4,"ngFor","ngForOf"],["class","bv2-nav-item bv2-user-hotlists-hotlist-item",3,"selected","id","title",4,"ngFor","ngForOf"],[3,"title"],[3,"header","content"],["bgZippyHeader",""],["bgZippyContent",""],[1,"bv2-nav-item","bv2-nav-bookmark-group"],
[1,"bv2-nav-item-text"],["mat-icon-button","","disableRipple","true","aria-label","Bookmark group actions","class","bv2-nav-item-menubutton keep-focus-ring",3,"matMenuTriggerFor","click",4,"ngIf"],["groupMenu",""],["matMenuContent",""],["mat-icon-button","","disableRipple","true","aria-label","Bookmark group actions",1,"bv2-nav-item-menubutton","keep-focus-ring",3,"matMenuTriggerFor","click"],["svgIcon","more-settings-vertical"],["mat-menu-item","",1,"bv2-user-hotlists-edit-menuitem",3,"click"],["mat-menu-item",
"","class","bv2-user-hotlists-edit-menuitem",3,"click",4,"ngIf"],[1,"bv2-nav-links-no-indent","bookmark-group-content-list"],["class","bv2-nav-item",3,"selected-indented","bv2-bookmark-group-hotlist-item","bv2-bookmark-group-saved-search-item","title",4,"ngFor","ngForOf"],[1,"bv2-nav-item",3,"title"],[1,"bv2-nav-indented",3,"href","click"],[1,"bv2-nav-item","bv2-user-hotlists-hotlist-item",3,"id","title"],[3,"href","click"],["mat-icon-button","","disableRipple","true","aria-label","Hotlist actions",
"class","bv2-nav-item-menubutton keep-focus-ring",3,"matMenuTriggerFor",4,"ngIf"],["hotlistMenu",""],["mat-icon-button","","disableRipple","true","aria-label","Hotlist actions",1,"bv2-nav-item-menubutton","keep-focus-ring",3,"matMenuTriggerFor"]],template:function(a,b){a&1&&P(0,FWa,7,2,"div",0);a&2&&D("ngIf",b.hotlists.length||b.bookmarkGroups.length)},dependencies:[xw,yw,jB,tA,FC,DC,EC,CC,kX],encapsulation:2,changeDetection:0});var mX=function(){this.admins=[]};mX.prototype.ngOnInit=function(){this.url="bookmark-groups/"+this.bookmarkGroup.bookmarkGroupId;this.admins=Zj(this.bookmarkGroup.adminUsers)};mX.\u0275fac=function(a){return new (a||mX)};
mX.\u0275cmp=p({type:mX,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&&(E(0,"div",0)(1,"div",1)(2,"div",2)(3,"h3")(4,"a",3),Q(5),F()(),E(6,"ul")(7,"li"),Q(8),F(),E(9,"li"),Q(10),F()(),E(11,"div")(12,"p"),Q(13),F()()()()());a&2&&(z(4),D("href",b.url,
Ie),z(1),Sg(b.bookmarkGroup.name),z(3),R("ID: ",b.bookmarkGroup.bookmarkGroupId,""),z(2),Tg("",1===b.admins.length?"Admin":"Admins",": ",b.admins.join(", "),""),z(3),Sg(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 Zkc=["searchBox"],nX=function(a,b,c,d,e,f,h,l,q){this.cdr=a;this.userApi=c;this.bookmarkGroupsApi=d;this.hotlistApi=e;this.paths=f;this.analytics=h;this.errorHandler=l;this.appEvents=q;this.allowStarring=this.showHotlists=this.showGroups=!0;this.focusOnInit=!1;this.itemSelect=new Rv;this.lastProcessedIndex=-1;this.nextRequestIndex=0;this.favoriteBookmarkGroups=new Set;this.favoriteHotlists=new Set;this.query="";this.matches=[];this.currentUserEmail=b.getUserEmail()};
nX.prototype.ngOnInit=function(){this.allowStarring&&$kc(this)};
var $kc=function(a){a.favoriteBookmarkGroups.clear();a.favoriteHotlists.clear();a.userApi.getUserSidebar().then(function(b){if(a.showGroups){var c,d=m(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=m(null!=(e=c.sublinks)?e:[]);for(e=c.next();!e.done;e=c.next())e=e.value,e.starred&&a.favoriteHotlists.add(e.id)}}if(a.showHotlists){var f;b=m(null!=(f=b.hotlists)?f:[]);for(e=b.next();!e.done;e=b.next())f=e.value,
f.starred&&a.favoriteHotlists.add(f.id)}a.cdr.detectChanges()}).catch(function(b){a.errorHandler.errorHandler(null,b)})};g=nX.prototype;g.reset=function(){this.query="";this.matches=[]};g.isLoading=function(){return this.lastProcessedIndex+1!==this.nextRequestIndex};g.onQueryChange=function(){this.matches=[];this.query&&"string"!==typeof this.query&&(this.query="");this.search()};
g.search=function(){var a=this,b=this.nextRequestIndex++;if(this.query){var c=this.showGroups?this.bookmarkGroupsApi.query(this.query):Promise.resolve([]);var d=this.showHotlists?this.hotlistApi.queryHotlists(this.query):Promise.resolve([]);Promise.all([c,d]).then(function(e){var f=m(e);e=f.next().value;f=f.next().value;if(b===a.nextRequestIndex-1){for(var h=m(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=
m(f);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(r(e),r(f));a.lastProcessedIndex=b;a.cdr.detectChanges()}})}else this.lastProcessedIndex=b};g.shouldShowStar=function(a){return this.allowStarring&&!Zj(a.adminUsers).includes(this.currentUserEmail)};
g.toggleStar=function(a){var b=this;if(a.isGroup){var c=a.bookmarkGroupId;var d="BOOKMARK_GROUP"}else c=a.hotlistId,d="HOTLIST";a.isStarred=!a.isStarred;var e=function(){b.appEvents.hotlistChanged.next();b.appEvents.favoritesModified.next();$kc(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))};
nX.\u0275fac=function(a){return new (a||nX)(A(sH,2),A(Vt),A(dH),A(eX),A(ZG),A(NG),A(wH),A(ZF),A(cG))};
nX.\u0275cmp=p({type:nX,selectors:[["b-hotlist-search"]],viewQuery:function(a,b){a&1&&(ih(Zkc,5),ih(JP,5));if(a&2){var c;hh(c=kh())&&(b.searchBoxEl=c.first);hh(c=kh())&&(b.autocomplete=c.first)}},hostAttrs:[1,"'bv2-hotlist-search'"],inputs:{showGroups:"showGroups",showHotlists:"showHotlists",allowStarring:"allowStarring",focusOnInit:"focusOnInit"},outputs:{itemSelect:"itemSelect"},features:[Ug([sH])],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&&(E(0,"div",0)(1,"input",1,2),K("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()}),F(),P(3,GWa,1,0,"b-spinner",3),E(4,"mat-autocomplete",4,5),K("optionSelected",function(d){b.itemSelect.emit(d.option.value)}),P(6,KWa,9,8,"mat-option",6),F(),E(7,"div",7),Q(8,' e.g., "foo bar admin:user@google.com" '),H(9,"br"),Q(10,' or "foo bar admin:group@google.com" '),H(11,"br"),Q(12," Only identities directly listed as Admins can be searched. "),F()());if(a&2){var c=O(5);z(1);D("ngModel",b.query)("matAutocomplete",c);ug("autofocus",b.focusOnInit)("aria-label","Add query for searching "+
(b.showGroups?"bookmark groups":"hotlists"));z(2);D("ngIf",b.isLoading());z(3);D("ngForOf",b.matches)}},dependencies:[xw,yw,mX,oU,iK,nK,zM,tU,Qh,ax,hx,KP,JP,vA],encapsulation:2});var alc=[[["xap-dialog-layout-title"]],[["xap-dialog-layout-subtitle"]],[["xap-dialog-layout-content"]],[["xap-dialog-layout-actions"]]],oX=function(){};oX.\u0275fac=function(a){return new (a||oX)};oX.\u0275dir=qd({type:oX,selectors:[["xap-dialog-layout-subtitle"]]});var pX=function(a,b,c){this.el=a;this.cdRef=b;this.ngZone=c;this.destroyed=new C.ReplaySubject;this.internalScrollable=!1;this.internalScrollPosition="bottom"};
pX.prototype.ngOnInit=function(){var a=this;this.internalScrollPosition=this.getScrollPosition(this.el.nativeElement);this.ngZone.runOutsideAngular(function(){blc(a).subscribe(function(b){a.ngZone.run(function(){a.internalScrollable=b;a.cdRef.markForCheck();a.cdRef.detectChanges()})});clc(a).subscribe(function(b){a.ngZone.run(function(){a.internalScrollPosition=b;a.cdRef.markForCheck();a.cdRef.detectChanges()})})})};pX.prototype.ngOnDestroy=function(){this.destroyed.next();this.destroyed.complete()};
var blc=function(a){if(!window.ResizeObserver)return(0,C.of)(dlc(a.el.nativeElement));var b;return(0,C.fromEventPattern)(function(c){b=new ResizeObserver(function(){c(dlc(a.el.nativeElement))});b.observe(a.el.nativeElement)},function(){b.disconnect()}).pipe(Qf(),dg(a.destroyed))},clc=function(a){return(0,C.fromEvent)(a.el.nativeElement,"scroll").pipe(LWa(),B(function(){return a.getScrollPosition(a.el.nativeElement)}),Qf(),dg(a.destroyed))},dlc=function(a){return a.offsetHeight+a.scrollTop<=a.scrollHeight};
pX.prototype.getScrollPosition=function(a){return 0===a.scrollTop?"top":a.offsetHeight+a.scrollTop>=a.scrollHeight?"bottom":"center"};Xi.Object.defineProperties(pX.prototype,{scrollable:{configurable:!0,enumerable:!0,get:function(){return this.internalScrollable}},scrollPosition:{configurable:!0,enumerable:!0,get:function(){return this.internalScrollPosition}}});pX.\u0275fac=function(a){return new (a||pX)(A(ke),A(qw),A(hg))};
pX.\u0275dir=qd({type:pX,selectors:[["xap-dialog-layout-content"]],hostAttrs:[1,"xap-dialog-layout-content"],hostVars:6,hostBindings:function(a,b){a&2&&Fg("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 qX=function(){};qX.\u0275fac=function(a){return new (a||qX)};
qX.\u0275cmp=p({type:qX,selectors:[["xap-dialog-layout"]],contentQueries:function(a,b,c){a&1&&jh(c,oX,4);if(a&2){var d;hh(d=kh())&&(b.subtitle=d)}},hostAttrs:[1,"xap-dialog-layout"],hostVars:2,hostBindings:function(a,b){a&2&&Fg("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&&(Ng(alc),
E(0,"header",0),Og(1),Og(2,1),F(),Og(3,2),Og(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 elc=ti({opacity:0}),flc=ti({opacity:1}),glc=ri("dialogContainer",[ui("void, hidden",elc),ui("visible",flc),vi("void => *, * => visible",si("200ms cubic-bezier(0.0,0.0,0.2,1)",flc)),vi("* => void, * => hidden",si("200ms cubic-bezier(0.4,0.0,0.2,1)",elc))]);var hlc=new Bd("XAP_IDCO"),rX=function(a){this._isDisposed=!1;this.options=a;this.animationState="hidden"};W(rX,Nx);rX.prototype.ngAfterViewInit=function(){};rX.prototype.attachComponentPortal=function(a){return this.portalOutlet.attachComponentPortal(a)};rX.prototype.attachTemplatePortal=function(a){return this.portalOutlet.attachTemplatePortal(a)};rX.\u0275fac=function(a){return new (a||rX)(A(hlc))};
rX.\u0275cmp=p({type:rX,selectors:[["xap-inline-dialog-container"]],viewQuery:function(a,b){a&1&&ih(Qx,7);if(a&2){var c;hh(c=kh())&&(b.portalOutlet=c.first)}},hostAttrs:["role","dialog",1,"xap-inline-dialog-container","gmat-body-2"],hostVars:3,hostBindings:function(a,b){a&2&&(ug("aria-label",b.options.dialogLabel)("tabindex",b.options.dialogTabIndex),Mg("@dialogContainer",b.animationState))},features:[qg],decls:2,vars:0,consts:[["cdkPortalOutlet",""],["cdkFocusInitial","","tabindex","0"]],template:function(a){a&
1&&(E(0,"div"),P(1,MWa,1,0,"ng-template",0),F())},dependencies:[Qx],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:[glc]},changeDetection:0});var ilc=[{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}],jlc={minWidth:220,maxWidth:420,minHeight:64,maxHeight:420},sX=function(a,b,c,d,e,f,h,l){var q=this;this.ngZone=a;this.overlay=b;this.elementRef=c;this.viewContainerRef=d;this.document=e;this.focusTrapFactory=
f;this.ariaDescriber=h;this.injector=l;this.disabledInternal=!1;this.dialogLabel=null;this.dialogTabIndex=-1;this.overlayDimensions=jlc;this.triggerDescription="Press space for more information.";this.disableAutoFocusInternal=!1;this.scrollStrategy="close";this.beforeOpened=new Rv;this.opened=new Rv;this.closed=new Rv;this.destroyed=new C.ReplaySubject;this.openStatusChange=new C.BehaviorSubject(!1);this.openings=this.openStatusChange.pipe(Gf(function(u){return u&&!q.disabled}));this.elementFocusedBeforeDialogWasOpened=
void 0;klc(this,c.nativeElement);this.attachKeyboardCloseEventListeners(c.nativeElement);llc(this,c.nativeElement)};sX.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)};
sX.prototype.ngOnDestroy=function(){this.closeDialog();this.openStatusChange.complete();this.destroyed.next();this.destroyed.complete();this.overlayRef&&this.overlayRef.dispose()};
var klc=function(a,b){a.ngZone.runOutsideAngular(function(){(0,C.fromEvent)(b,"keydown").pipe(dg(a.destroyed)).subscribe(function(c){switch(c.keyCode){case 13:a.openDialog();c.preventDefault();break;case 32:c.preventDefault()}});(0,C.fromEvent)(b,"keyup").pipe(dg(a.destroyed)).subscribe(function(c){switch(c.keyCode){case 32:a.openDialog()}})})},llc=function(a,b){a.ngZone.runOutsideAngular(function(){(0,C.fromEvent)(b,"focus").pipe(Gf(function(){return 0<a.beforeOpened.observers.length}),dg(a.destroyed)).subscribe(function(){a.ngZone.run(function(){a.beforeOpened.emit()})})})};
g=sX.prototype;
g.openDialog=function(){var a=this;if(!this.disabled){var b;if(null==(b=this.overlayRef)||!b.hasAttached()){var c=this.portal;null!=c&&this.ngZone.run(function(){a.dialogContainerRef=mlc(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)})}}};
g.closeDialog=function(){var a=this,b;null!=(b=this.overlayRef)&&b.hasAttached()&&(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))};
g.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),Bx(this.focusTrap),this.disableAutoFocus||this.focusInitialElement())};g.focusInitialElement=function(){this.focusTrap&&$Hb(this.focusTrap)};
g.restoreFocus=function(){var a=this.elementFocusedBeforeDialogWasOpened;if(a&&"function"===typeof a.focus){var b,c=null==(b=this.dialogContainerRef)?void 0:b.location.nativeElement;(b=this.document.activeElement)&&null!=c&&c.contains(b)&&(a.focus(),this.elementFocusedBeforeDialogWasOpened=void 0)}};g.createPositionStrategy=function(a){var b,c;return Dz(Hz(this.overlay.position(),null!=(b=this.attachedTo)?b:this.elementRef),a).setOrigin(null!=(c=this.attachedTo)?c:this.elementRef)};
var nlc=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()}},mlc=function(a){var b=mg({parent:a.injector,providers:[{provide:hlc,useValue:{dialogLabel:a.dialogLabel,dialogTabIndex:a.dialogTabIndex}}]});b=new Lx(rX,null,b);null==a.overlayRef&&(a.overlayRef=a.overlay.create(a.createOverlayConfig(ilc)));a.overlaySize&&a.overlayRef.updateSize(a.overlaySize);a.overlayPositions&&
0<a.overlayPositions.length&&GKb(a.overlayRef,a.createPositionStrategy(a.overlayPositions));return a.overlayRef.attach(b)};
Xi.Object.defineProperties(sX.prototype,{dialog:{configurable:!0,enumerable:!0,set:function(a){a&&(this.portal=a instanceof eh?new Mx(a,this.viewContainerRef):new Lx(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=bi(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}}}});sX.\u0275fac=function(a){return new (a||sX)(A(hg),A(Iz),A(ke),A(fh),A(Document),A(Zy),A(Vy),A(Zu))};
sX.\u0275dir=qd({type:sX,hostVars:1,hostBindings:function(a,b){a&2&&ug("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"},outputs:{beforeOpened:"beforeOpened",opened:"opened",closed:"closed"}});var tX=function(a,b,c,d,e,f,h,l){sX.call(this,a,b,c,d,e,f,h,l);this.attachMouseEventListeners(c.nativeElement)};W(tX,sX);g=tX.prototype;g.ngOnInit=function(){sX.prototype.ngOnInit.call(this);this.listenForOpenEvents()};g.listenForOpenEvents=function(){var a=this;this.openStatusChange.pipe(dg(this.destroyed)).subscribe(function(b){b?a.openDialog():a.closeDialog()});this.openings.pipe(Gf(function(b){return b&&0<a.beforeOpened.observers.length}),Bha(function(){return a.openStatusChange.pipe(Gf(function(b){return!b}))}))};
g.attachMouseEventListeners=function(a){var b=this;this.ngZone.runOutsideAngular(function(){(0,C.fromEvent)(a,"mouseenter").pipe(dg(b.destroyed)).subscribe(function(){b.ngZone.run(function(){b.beforeOpened.emit()})});(0,C.fromEvent)(a,"click").pipe(dg(b.destroyed)).subscribe(function(d){d.target.closest("[xapInlineDialogClose]")?b.closingDialog():b.openingDialog()});var c;null==(c=b.overlayRef)||c.backdropClick().pipe(dg(b.destroyed)).subscribe(function(){b.closingDialog()})})};
g.attachKeyboardCloseEventListeners=function(a){var b=this;this.ngZone.runOutsideAngular(function(){(0,C.fromEvent)(a,"keyup").pipe(dg(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,C.fromEvent)(a,"keydown").pipe(dg(b.destroyed)).subscribe(function(c){var d=c.target;switch(c.keyCode){case 13:d.closest("[xapInlineDialogClose]")&&b.closingDialog()}})})};
g.openingDialog=function(){this.disabled||this.openStatusChange.next(!0)};g.closingDialog=function(){this.openStatusChange.next(!1)};g.createOverlayConfig=function(a){return new Az(Object.assign({},this.overlayDimensions,{positionStrategy:sX.prototype.createPositionStrategy.call(this,a),scrollStrategy:nlc(this),hasBackdrop:!0,backdropClass:"cdk-overlay-transparent-backdrop",panelClass:this.panelClassInternal}))};
tX.\u0275fac=function(a){return new (a||tX)(A(hg),A(Iz),A(ke),A(fh),A(Vi),A(Zy),A(Vy),A(Zu))};tX.\u0275dir=qd({type:tX,selectors:[["","xapInlineDialogClick",""]],hostAttrs:[1,"xap-inline-dialog-click"],inputs:{dialog:["xapInlineDialogClick","dialog"],disabled:["xapInlineDialogDisabled","disabled"]},exportAs:["xapInlineDialogClick"],features:[qg]});var olc=["*"],plc=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}"},uX=function(){this.disabled=!1};uX.\u0275fac=function(a){return new (a||uX)};
uX.\u0275cmp=p({type:uX,selectors:[["xap-text-trigger"]],hostAttrs:["role","button"],hostVars:3,hostBindings:function(a,b){a&2&&(ug("tabindex",b.disabled?-1:0),Fg("xap-text-trigger",!b.disabled))},inputs:{disabled:["xapInlineDialogDisabled","disabled"]},ngContentSelectors:olc,decls:1,vars:0,template:function(a){a&1&&(Ng(),Og(0))},styles:[plc()],encapsulation:2});var vX=function(){this.disabled=!1};vX.\u0275fac=function(a){return new (a||vX)};
vX.\u0275cmp=p({type:vX,selectors:[["xap-icon-trigger"]],hostAttrs:["role","button","tabindex","0",1,"xap-icon-trigger"],inputs:{disabled:["xapInlineDialogDisabled","disabled"]},ngContentSelectors:olc,decls:1,vars:0,template:function(a){a&1&&(Ng(),Og(0))},styles:[plc()],encapsulation:2});var wX=function(){this.allowStarring=this.showHotlists=this.showGroups=!0;this.ariaLabel="";this.itemSelect=new Rv};wX.\u0275fac=function(a){return new (a||wX)};
wX.\u0275cmp=p({type:wX,selectors:[["b-hotlist-search-popup"]],viewQuery:function(a,b){a&1&&ih(tX,5);if(a&2){var c;hh(c=kh())&&(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&&(E(0,"xap-icon-trigger",0),H(1,"mat-icon",1),F(),P(2,NWa,3,4,"ng-template",null,2,qh));if(a&2){var c=O(3);D("xapInlineDialogClick",c);ug("aria-label",b.ariaLabel)}},dependencies:[qX,pX,NC,jB,tX,vX,nX],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)(A(MG),A(wH),A(NG),A(gX))};
xX.\u0275cmp=p({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"],["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&&(E(0,"div",0),H(1,"hr"),E(2,"sidebar-zippy",1),P(3,OWa,3,1,"ng-template",null,2,qh),P(5,cXa,1,1,"ng-template",null,3,qh),F()());if(a&2){var b=O(4),c=O(6);z(2);D("header",b)("content",c)}},dependencies:[xw,yw,wX,jB,tA,FC,DC,EC,CC,kX],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)(A(MG),A(Vt),A(wH),A(gX),A(NG))};
yX.\u0275cmp=p({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"],["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&&(E(0,"div",0),H(1,"hr"),E(2,"sidebar-zippy",1),P(3,dXa,3,1,"ng-template",null,2,qh),P(5,kXa,1,1,"ng-template",null,3,qh),F()());if(a&2){var b=O(4),c=O(6);z(2);D("header",b)("content",c)}},dependencies:[xw,yw,wX,jB,tA,FC,DC,EC,CC,kX],encapsulation:2,changeDetection:0});var zX=function(a,b,c,d,e,f,h,l,q,u){this.cdr=a;this.location=b;this.savedSearchApi=c;this.paths=d;this.butterBar=e;this.analytics=f;this.sidebar=h;this.errorHandler=l;this.confirmationDialogService=q;this.appEvents=u;this.searches=[]};zX.prototype.isSelected=function(a){return bYb(this.paths,a.href)};zX.prototype.openEditSavedSearch=function(a){this.location.url(this.paths.editSavedSearch(a))};
var nXa=function(a,b){a.confirmationDialogService.open({title:"Deleting saved search: "+b.name,content:jp("Are you sure you want to delete this search?"),onConfirm:function(){qlc(a,b)}})},qlc=function(a,b){var c=b.id;WF(a.butterBar,'Deleting saved search "'+b.name+'"...');a.savedSearchApi.delete(c).then(function(){a.appEvents.savedSearchModified.next({savedSearchId:c,action:"delete"});WF(a.butterBar,'Deleted saved search "'+b.name+'".');a.analytics.trackEvent("sidebarSavedSearches","deleted");a.cdr.detectChanges()}).catch(function(d){a.errorHandler.errorHandler(null,
d)})};zX.prototype.onAnchorClick=function(a,b){this.sidebar.onAnchorClick(a,b)};zX.\u0275fac=function(a){return new (a||zX)(A(sH,2),A(MG),A(bU),A(NG),A(VF),A(wH),A(gX),A(ZF),A(UI),A(cG))};
zX.\u0275cmp=p({type:zX,selectors:[["sidebar-saved-searches"]],inputs:{searches:"searches"},features:[Ug([sH])],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&&(E(0,"div",0),H(1,"hr"),E(2,"sidebar-zippy",1),P(3,lXa,2,0,"ng-template",null,2,qh),P(5,rXa,1,1,"ng-template",null,3,qh),F()());if(a&
2){var b=O(4),c=O(6);z(2);D("header",b)("content",c)}},dependencies:[xw,yw,jB,tA,FC,DC,EC,CC,kX],encapsulation:2,changeDetection:0});var rlc=/^\s*hotlistid:(\d+)\s*$/i,slc=/(?:\s|^)componentid:(\d+)\s*/i,tlc=/^\s*savedsearchid:(\d+)\s*$/i,AX=function(a,b,c,d){Z.call(this);var e=this;this.$log=a;this.currentTracker=b;this.contextSensitiveRegistry=c;this.analytics=d;this.currentQuery="";this.currentTrackerScope=[];this.queryState$=new C.BehaviorSubject({query:"",cursorPosition:void 0,setViaInteraction:!1});this.currentTrackerIdList$=this.currentTracker.trackerId$.pipe(B(function(f){return f?[f]:[]}));this.selectedTrackerIds$=new C.Subject;
this.trackerScope$=(0,C.merge)(this.currentTrackerIdList$,this.selectedTrackerIds$);this.searchHandlerStack=[];this.searchTriggered$=new C.Subject;this.subscriptions.add(this.queryState$.pipe(dg(this.destroyed$)).subscribe(function(f){e.currentQuery=f.query;(f=e.currentQuery.match(slc))?e.contextSensitiveRegistry.componentIdOverride$.next(Number(f[1])):e.contextSensitiveRegistry.componentIdOverride$.next(null);(f=e.currentQuery.match(rlc))?e.contextSensitiveRegistry.hotlistIdOverride$.next(Number(f[1])):
e.contextSensitiveRegistry.hotlistIdOverride$.next(null)}));this.subscriptions.add(this.trackerScope$.pipe(dg(this.destroyed$)).subscribe(function(f){e.currentTrackerScope=f}))};W(AX,Z);AX.\u0275dir=Z.\u0275dir;AX.prototype.clear=function(){BX(this,"")};var BX=function(a,b){a.queryState$.next({query:b,cursorPosition:void 0,setViaInteraction:!1})},ulc=function(a){return"assignee:"+a+" status:open"};AX.prototype.getStarred=function(){return"star:true"};
AX.prototype.isStarred=function(){return this.currentQuery===this.getStarred()};AX.prototype.getVoted=function(){return"vote:true"};var JXa=function(a){return a.currentQuery===a.getVoted()},vlc=function(a){return"verifier:"+a+" status:open | status:fixed"},wlc=function(a){return(a=a.currentQuery.match(rlc))?Number(a[1]):0},xlc=function(a){return(a=a.currentQuery.match(tlc))?Number(a[1]):0};AX.prototype.track=function(a,b,c){this.analytics.trackEvent("global-search",a,b,c)};
var ylc=function(a,b){a.searchHandlerStack.push(b);return function(){La(a.searchHandlerStack,b)}};AX.\u0275fac=function(a){return new (a||AX)(n(YF),n(mL),n(bX),n(wH))};AX.\u0275prov=Vc({token:AX,factory:AX.\u0275fac,providedIn:"root"});var zlc=0,Alc=$i(function(){}),CX=function(a,b,c,d,e){var f=Alc.call(this)||this;f._ngZone=a;f._elementRef=b;f._ariaDescriber=c;f._renderer=d;f._animationMode=e;f._color="primary";f._overlap=!0;f.position="above after";f.size="medium";f._id=zlc++;f._isInitialized=!1;return f};W(CX,Alc);g=CX.prototype;g.ngOnInit=function(){this._clearExistingBadges();this.content&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement(),this._updateRenderedContent(this.content));this._isInitialized=!0};
g.ngOnDestroy=function(){this._renderer.destroyNode&&this._renderer.destroyNode(this._badgeElement);Wy(this._ariaDescriber,this._elementRef.nativeElement,this.description)};
g._createBadgeElement=function(){var a=this._renderer.createElement("span");a.setAttribute("id","mat-badge-content-"+this._id);a.setAttribute("aria-hidden","true");a.classList.add("mat-badge-content");"NoopAnimations"===this._animationMode&&a.classList.add("_mat-animation-noopable");this._elementRef.nativeElement.appendChild(a);"function"===typeof requestAnimationFrame&&"NoopAnimations"!==this._animationMode?this._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){a.classList.add("mat-badge-active")})}):
a.classList.add("mat-badge-active");return a};g._updateRenderedContent=function(a){a=(""+(null!=a?a:"")).trim();this._isInitialized&&a&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement());this._badgeElement&&(this._badgeElement.textContent=a);this._content=a};g._updateHostAriaDescription=function(a){Wy(this._ariaDescriber,this._elementRef.nativeElement,this.description);a&&this._ariaDescriber.describe(this._elementRef.nativeElement,a);this._description=a};
g._setColor=function(a){var b=this._elementRef.nativeElement.classList;b.remove("mat-badge-"+this._color);a&&b.add("mat-badge-"+a)};g._clearExistingBadges=function(){for(var a=m(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()};
Xi.Object.defineProperties(CX.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=bi(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._updateHostAriaDescription(a)}},
hidden:{configurable:!0,enumerable:!0,get:function(){return this._hidden},set:function(a){this._hidden=bi(a)}}});CX.\u0275fac=function(a){return new (a||CX)(A(hg),A(ke),A(Vy),A(ev),A(cv,8))};
CX.\u0275dir=qd({type:CX,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(a,b){a&2&&Fg("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:[qg]});var wXa=function(a){return[a]},DX=function(a,b,c,d,e,f,h,l,q,u,x,y,G){var L=this;this.cdr=a;this.activeSession=b;this.butterBar=c;this.appSearchState=d;this.paths=e;this.userPreferencesManager=f;this.sidebar=h;this.location=l;this.issueLru=q;this.appEvents=u;this.needsAttentionApi=x;this.currentTracker=y;this.featureTooltipService=G;this.EXPERIMENTAL_HOMEPAGE="EXPERIMENTAL_HOMEPAGE";this.needsAttentionIssueCount$=new C.Subject;this.experimentalHomepagePath=bo("dash",{params:void 0});this.enableHomepageVariantA=
DE(this.activeSession,"enableHomepageVariantA");this.enabledVotedNav=DE(this.activeSession,"enableUpvotedInNav")&&this.activeSession.isInternalSession();this.votedPath=this.paths.listIssues({q:this.appSearchState.getVoted()});this.recentlyViewedPath=Blc(this)?"recent":void 0;this.showNeedsAttentionUI=DE(this.activeSession,"showNeedsAttentionUI")&&this.activeSession.isInternalSession()&&!this.currentTracker.inTracker;this.destroyed$=new Rv;this.TOOLTIP_ID_NEEDS_ATTENTION_SIDEBAR="tooltipIdNeedsAttentionSidebar";
this.TOOLTIP_POSITIONS=oB;this.showFeatureTooltip$=lQb(this.featureTooltipService,"HIDDEN",["tooltipIdNeedsAttentionSidebar"]).pipe(Gf(function(M){return 0===M.length}),cg(function(){return iQb(L.featureTooltipService)}),Gf(Boolean),Pf(1E3),B(function(){}));this.hasPreferredHomepage$=this.userPreferencesManager.preferences$.pipe(B(function(M){M=(M||BE).homepagePreferences;return!(!M||!M.resourceType)}),Qf());this.isHomepageNeedsAttention$=this.userPreferencesManager.preferences$.pipe(B(function(M){M=
(M||BE).homepagePreferences;return!(!M||"NEEDS_ATTENTION"!==M.resourceType)}),Qf());this.appName=b.getAppName();this.userEmail=b.getUserEmail();this.environmentType=b.getEnvironmentType();this.needsAttentionPath="attention";this.assignedPath=e.listIssues({q:ulc(this.userEmail)});this.starredPath=e.listIssues({q:d.getStarred()});this.ccdPath=e.listIssues({q:"cc:"+this.userEmail});this.verifiedPath=e.listIssues({q:vlc(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;DE(b,"runQueryForSidebarIssueCount")&&setTimeout(function(){L.userPreferencesManager.needsAttentionPreferences$.pipe(dg(L.destroyed$)).subscribe(function(M){var T=O3b(L.currentTracker),S;L.needsAttentionApi.listIssues(null,T,null!=(S=M.selectedSignals)?S:
[])})},1E3)};DX.prototype.ngOnInit=function(){var a=this;this.hasPreferredHomepage$.pipe(dg(this.destroyed$)).subscribe(function(){setTimeout(function(){a.cdr.detectChanges()})})};DX.prototype.ngOnDestroy=function(){this.destroyed$.next()};
var HXa=function(a){WF(a.butterBar,"Updating homepage...",0);a.userPreferencesManager.clearHomepagePreferences().pipe(dg(a.destroyed$)).subscribe(function(){WF(a.butterBar,"Homepage updated")})},yXa=function(a,b){WF(a.butterBar,"Updating homepage...",0);k0b(a.userPreferencesManager,{resourceType:b}).subscribe(function(){WF(a.butterBar,"Homepage updated")})};DX.prototype.onAnchorClick=function(a,b){this.sidebar.onAnchorClick(a,b)};
var Blc=function(a){var b=DE(a.activeSession,"enableRecentlyViewedInNav");a=0<Array.from(a.issueLru.viewed.keys()).length;return b&&a};DX.\u0275fac=function(a){return new (a||DX)(A(sH,2),A(Vt),A(VF),A(AX),A(NG),A(ZI),A(gX),A(Uw),A(CV),A(cG),A(wV),A(mL),A(qC))};
DX.\u0275cmp=p({type:DX,selectors:[["b-sidebar"]],features:[Ug([sH])],decls:49,vars:31,consts:[[1,"bv2-nav-header"],[3,"showTooltip$",4,"ngIf"],[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"],[3,"showTooltip$"],[3,"customPositions","tooltipId"],["onedevTooltipTitle",""],[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"],[3,"href","onedevFeatureTooltip",
"hideTooltipWhenAnchorNotVisible","click"],["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&&(E(0,"div",0),H(1,"b-create-issue-button"),F(),P(2,xXa,5,5,"onedev-feature-tooltip-controller",1),E(3,"div",2)(4,"div",3)(5,"ul",4),P(6,
AXa,10,4,"ng-container",5),P(7,FXa,12,12,"li",6),E(8,"li",7)(9,"a",8),K("click",function(c){return b.onAnchorClick(b.assignedPath,c)}),H(10,"mat-icon",9),Q(11," Assigned to me "),F(),P(12,GXa,3,1,"ng-container",5),U(13,"async"),E(14,"mat-menu",null,10),P(16,IXa,2,0,"ng-template",11),F()(),E(17,"li")(18,"a",8),K("click",function(c){return b.onAnchorClick(b.starredPath,c)}),H(19,"mat-icon",12),Q(20," Starred by me "),F()(),E(21,"li")(22,"a",8),K("click",function(c){return b.onAnchorClick(b.ccdPath,
c)}),H(23,"mat-icon",13),Q(24," CC'd to me "),F()(),E(25,"li")(26,"a",8),K("click",function(c){return b.onAnchorClick(b.reportedPath,c)}),H(27,"mat-icon",14),Q(28," Reported by me "),F()(),P(29,KXa,4,3,"li",15),E(30,"li")(31,"a",8),K("click",function(c){return b.onAnchorClick(b.verifiedPath,c)}),H(32,"mat-icon",16),Q(33," To be verified "),F()(),P(34,LXa,4,3,"li",15),F(),H(35,"sidebar-bookmark-groups",17)(36,"sidebar-saved-searches",18)(37,"sidebar-hotlists",19)(38,"sidebar-archived",20)(39,"hr"),
E(40,"div",21)(41,"a",22),Q(42," Create hotlist "),F()(),E(43,"div",21)(44,"a",22),Q(45," Create bookmark group "),F()(),E(46,"div",21)(47,"a",22),Q(48," Browse components "),F()()()());a&2&&(z(2),D("ngIf",b.showNeedsAttentionUI),z(4),D("ngIf",b.enableHomepageVariantA),z(1),D("ngIf",b.showNeedsAttentionUI),z(1),Fg("selected",b.appSearchState.currentQuery===ulc(b.userEmail)),z(1),D("href",b.assignedPath,Ie),z(3),D("ngIf",V(13,29,b.hasPreferredHomepage$)),z(5),Fg("selected",b.appSearchState.isStarred()),
z(1),D("href",b.starredPath,Ie),z(3),Fg("selected",b.appSearchState.currentQuery==="cc:"+b.userEmail),z(1),D("href",b.ccdPath,Ie),z(3),Fg("selected",b.appSearchState.currentQuery==="reporter:"+b.userEmail),z(1),D("href",b.reportedPath,Ie),z(3),D("ngIf",b.enabledVotedNav),z(1),Fg("selected",b.appSearchState.currentQuery===vlc(b.userEmail)),z(1),D("href",b.verifiedPath,Ie),z(3),D("ngIf",b.recentlyViewedPath),z(1),D("bookmarkGroups",b.sidebarData.bookmarkGroups),z(1),D("searches",b.sidebarData.userSearches),
z(1),D("hotlists",b.sidebarData.hotlists),z(1),D("hotlists",b.sidebarData.archivedHotlists)("bookmarkGroups",b.sidebarData.archivedBookmarkGroups),z(3),D("href",b.createHotlistPath,Ie),z(3),D("href",b.createBookmarkGroupPath,Ie),z(3),D("href",b.componentsPath,Ie))},dependencies:[cX,yw,jB,tA,FC,DC,EC,CC,CX,sB,sC,vC,wC,lX,xX,yX,zX,Ew],encapsulation:2});var EX=function(){};EX.\u0275fac=function(a){return new (a||EX)};EX.\u0275mod=od({type:EX});EX.\u0275inj=Wc({imports:[Mw]});var FX=function(){};FX.\u0275fac=function(a){return new (a||FX)};FX.\u0275mod=od({type:FX});FX.\u0275inj=Wc({imports:[Mw]});var GX=function(a,b,c,d,e,f,h,l){sX.call(this,a,b,c,d,e,f,h,l);this.hoverDelayMs=500;this.activity=new C.Subject;this.attachMouseEventListeners(c.nativeElement)};W(GX,sX);g=GX.prototype;g.ngOnInit=function(){sX.prototype.ngOnInit.call(this);this.listenForOpenEvents(this.hoverDelayMs)};
g.listenForOpenEvents=function(a){var b=this,c=this.openStatusChange.pipe(Nga(function(){return b.activity.pipe(Nf(a))}));c.pipe(dg(this.destroyed)).subscribe(function(d){d?b.openDialog():b.closeDialog()});this.openings.pipe(Gf(function(d){return d&&0<b.beforeOpened.observers.length}),Bha(function(){return c.pipe(Gf(function(d){return!d}))}),dg(this.destroyed)).subscribe(function(){b.ngZone.run(function(){b.beforeOpened.emit()})})};
g.attachMouseEventListeners=function(a){var b=this;this.ngZone.runOutsideAngular(function(){(0,C.fromEvent)(a,"mouseenter").pipe(dg(b.destroyed)).subscribe(function(){b.openingDialog()});(0,C.fromEvent)(a,"click").pipe(dg(b.destroyed)).subscribe(function(){b.openingDialog();b.openDialog()});(0,C.fromEvent)(a,"mouseleave").pipe(dg(b.destroyed)).subscribe(function(){b.closingDialog()});(0,C.fromEvent)(a,"mousemove").pipe(dg(b.destroyed)).subscribe(function(){b.activity.next()})})};
g.attachKeyboardCloseEventListeners=function(a){var b=this;this.ngZone.runOutsideAngular(function(){(0,C.fromEvent)(a,"keydown").pipe(dg(b.destroyed)).subscribe(function(c){switch(c.keyCode){case 27:var d;(null==(d=b.overlayRef)?0:d.hasAttached())&&c.stopPropagation();b.closeDialog()}})})};g.openingDialog=function(){this.disabled||(this.openStatusChange.next(!0),this.activity.next())};g.closingDialog=function(){this.openStatusChange.next(!1);this.activity.next()};
g.createOverlayConfig=function(a){return new Az(Object.assign({},this.overlayDimensions,{positionStrategy:sX.prototype.createPositionStrategy.call(this,a),scrollStrategy:nlc(this),panelClass:this.panelClassInternal}))};GX.\u0275fac=function(a){return new (a||GX)(A(hg),A(Iz),A(ke),A(fh),A(Vi),A(Zy),A(Vy),A(Zu))};
GX.\u0275dir=qd({type:GX,selectors:[["","xapInlineDialog",""]],hostAttrs:[1,"xap-inline-dialog"],inputs:{dialog:["xapInlineDialog","dialog"],disabled:["xapInlineDialogDisabled","disabled"],hoverDelayMs:"hoverDelayMs"},exportAs:["xapInlineDialog"],features:[qg]});[].concat(r([GX,tX,vX,uX]),[rX]);var HX=function(){};HX.\u0275fac=function(a){return new (a||HX)};HX.\u0275mod=od({type:HX});HX.\u0275inj=Wc({imports:[Uy,Mw,Lz,Rx]});var IX=function(){};IX.\u0275fac=function(a){return new (a||IX)};IX.\u0275mod=od({type:IX});IX.\u0275inj=Wc({imports:[Mw,EX,zU,JN,PP,BU,FX,ID,OC,wx,HX,LP]});var JX=function(){};JX.\u0275fac=function(a){return new (a||JX)};JX.\u0275mod=od({type:JX});JX.\u0275inj=Wc({imports:[Mw,dP]});var KX=function(){};KX.\u0275fac=function(a){return new (a||KX)};KX.\u0275mod=od({type:KX});KX.\u0275inj=Wc({imports:[Uy,Mz,Mz]});var LX=function(){};LX.\u0275fac=function(a){return new (a||LX)};LX.\u0275mod=od({type:LX});LX.\u0275inj=Wc({imports:[JX,Mw,IX,OC,YC,GC,KX,ZC]});var MX=function(){};MX.\u0275fac=function(a){return new (a||MX)};MX.\u0275prov=Vc({token:MX,factory:MX.\u0275fac,providedIn:"root"});var NX=function(a){this.executor=a};W(NX,MX);NX.\u0275fac=function(a){return new (a||NX)(n(KD))};NX.\u0275prov=Vc({token:NX,factory:NX.\u0275fac,providedIn:"root"});var OX=function(a,b){Z.call(this);this.dialogRef=a;this.tosApi=b;this.ackChecked=!1};W(OX,Z);OX.\u0275dir=Z.\u0275dir;OX.prototype.accept=function(){var a=this;this.tosApi.executor.post({url:"action/terms_ack",body:null,responseConstructor:null}).pipe(dg(this.destroyed$)).subscribe(function(){a.dialogRef.close()})};OX.\u0275fac=function(a){return new (a||OX)(A(FA),A(MX))};
OX.\u0275cmp=p({type:OX,selectors:[["b-terms-of-service-dialog"]],features:[qg],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&&(E(0,"h1",0),Q(1,"Google IssueTracker Terms of Service"),F(),E(2,"mat-dialog-content")(3,"div",1)(4,"mat-checkbox",
2),K("ngModelChange",function(c){return b.ackChecked=c}),F(),E(5,"span"),Q(6," I acknowledge and agree to the "),E(7,"a",3),Q(8,"Google Terms of Service"),F(),Q(9," and the "),E(10,"a",4),Q(11,"Google IssueTracker Conduct Policy"),F(),Q(12,". "),F()()(),E(13,"mat-dialog-actions")(14,"button",5),K("click",function(){return b.accept()}),Q(15," OK "),F()());a&2&&(z(4),D("ngModel",b.ackChecked),z(10),D("disabled",!b.ackChecked))},dependencies:[ax,hx,tA,DO,KA,LA,MA],styles:[".b-tos-content[_ngcontent-%COMP%]{padding-top:1em}.b-tos-content[_ngcontent-%COMP%]   mat-checkbox[_ngcontent-%COMP%]{padding-right:8px}"]});var PX=function(a,b){Z.call(this);this.activeSession=a;this.matDialogService=b};W(PX,Z);PX.\u0275dir=Z.\u0275dir;PX.prototype.ngOnInit=function(){this.activeSession.getMustAcknowledgeTerms()&&DA(this.matDialogService.open(OX,{width:"400px",disableClose:!0})).pipe(dg(this.destroyed$))};PX.\u0275fac=function(a){return new (a||PX)(A(Vt),A(IA))};PX.\u0275cmp=p({type:PX,selectors:[["b-terms-of-service"]],features:[qg],decls:0,vars:0,template:function(){},encapsulation:2});var QX=function(){};QX.\u0275fac=function(a){return new (a||QX)};QX.\u0275mod=od({type:QX});QX.\u0275inj=Wc({imports:[wx,Mw,YC,iP,NA]});var RX=function(){};RX.\u0275fac=function(a){return new (a||RX)};RX.\u0275mod=od({type:RX});RX.\u0275inj=Wc({imports:[Mw,QX]});var OXa=0;var Clc=Bva("blinkers-activated"),Dlc=Po("blinkers-activated"),Elc=PXa("debug-dom-mutation","var(--c400)"),Flc=PXa("debug-ng-zone","var(--red-400)"),Glc=PXa("debug-xhr","var(--green-500)",1200),Hlc=function(a,b,c){b=void 0===b?"#ccc":b;c=void 0===c?400:c;OXa++;var d=156;d+=12*(OXa-1);return function(e,f){f=void 0===f?b:f;var h,l=null!=(h=document.getElementById(a))?h:MXa(a,d);l.style.transition="opacity "+c+"ms";l.style.backgroundColor=f;l.style.opacity=e?"1":"0"}}("active-user","var(--yellow-500)"),
SX=function(a,b){this.activityMonitor=a;this.userActivity=b;this.destroyed$=new C.Subject;this.publicApi={isEnabled:this.isEnabled.bind(this),enable:this.enable.bind(this),disable:this.disable.bind(this)};this.isEnabled()&&Ilc(this)};SX.prototype.ngOnDestroy=function(){this.destroyed$.next();this.activityMonitor.domObserver.disconnect()};SX.prototype.isEnabled=function(){return Dlc()};SX.prototype.enable=function(){this.isEnabled()||(Clc(!0),Ilc(this))};
SX.prototype.disable=function(){Clc(!1);this.destroyed$.next();this.activityMonitor.domObserver.disconnect()};var Ilc=function(a){a.activityMonitor.dom$.pipe(dg(a.destroyed$)).subscribe(function(){return void Elc()});ZYb(a.activityMonitor);a.activityMonitor.cdr$.pipe(dg(a.destroyed$)).subscribe(function(){return void Flc()});a.activityMonitor.xhr$.pipe(dg(a.destroyed$)).subscribe(function(){return void Glc()});a.userActivity.active$.pipe(dg(a.destroyed$)).subscribe(function(b){return void Hlc(b)})};
SX.\u0275fac=function(a){return new (a||SX)(n(rH),n(tH))};SX.\u0275prov=Vc({token:SX,factory:SX.\u0275fac,providedIn:"root"});var TX=function(a,b,c,d,e,f,h,l,q){var u=this;this.activeSession=a;this.appEvents=b;this.ngZone=c;this.window=d;this.buganizerBlinkers=e;this.currentUser=f;this.routeParamsService=h;this.issueFridge=l;this.eventsForIssueFridge=q;this.getCurrentIssueId=function(){var x;return null==(x=u.routeParamsService.routeParams$.value)?void 0:x.issueId};this.getCurrentIssue=function(){var x=u.getCurrentIssueId();if(null!=x)return u.issueFridge.memory.getData(x)};this.getCurrentIssueEvents=function(){var x=u.getCurrentIssueId();
if(null!=x)return u.eventsForIssueFridge.memory.getData(x)}};
TX.prototype.install=function(){this.activeSession.isInternalSession()&&(this.window.bedbug={ngZone:this.ngZone,flags:rn().config.enabledFlags,appEvents:this.appEvents,requestKeeper:XYb,activeSession:this.activeSession,getInitialSession:rn,blinkers:this.buganizerBlinkers.publicApi,toggleDebugLogging:MYb("debug-logging"),toggleOptOutExperiments:MYb("opt-out-experiments"),currentUser:this.currentUser,getCurrentIssue:this.getCurrentIssue,getCurrentIssueEvents:this.getCurrentIssueEvents,fridges:{issueFridge:this.issueFridge,
eventsForIssueFridge:this.eventsForIssueFridge}})};TX.\u0275fac=function(a){return new (a||TX)(n(Vt),n(cG),n(hg),n(EE),n(SX),n(cI),n(xJ),n(BH),n(sF))};TX.\u0275prov=Vc({token:TX,factory:TX.\u0275fac,providedIn:"root"});var UX=function(a){this.delegate_=a};UX.prototype.getDelegate=function(){return this.delegate_};var Jlc=function(a,b){this.delegate_=a;this.currentTarget_=b;this.target_=null};W(Jlc,UX);Jlc.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=Klc(b,a.pop());return this.target_=b};Jlc.prototype.getType=function(){return this.getDelegate().xa};var Llc=function(a){this.delegate_=a};W(Llc,UX);g=Llc.prototype;g.listen=function(a,b,c,d){var e=this;return this.getDelegate().za(a,function(f){return b.call(d||da,new Jlc(f,e))},c)};g.listenOnce=function(){throw Error("Zd");};g.unlisten=function(){throw Error("Zd");};g.unlistenByKey=function(){throw Error("Zd");};g.dispatchEvent=function(){throw Error("Zd");};g.removeAllListeners=function(){throw Error("Zd");};g.getParentEventTarget=function(){throw Error("Zd");};
g.fireListeners=function(){throw Error("Zd");};g.getListener=function(){throw Error("Zd");};g.hasListener=function(){throw Error("Zd");};Llc.prototype[lNb]=!0;var VX=function(a){this.delegate_=a};W(VX,Llc);VX.prototype.getHeight=function(){return this.getDelegate().pa()};VX.prototype.setPageTitle=function(){this.getDelegate().pb(void 0)};VX.prototype.setBackgroundColor=function(a){this.getDelegate().pd(a)};VX.prototype.getBackgroundColor=function(){return this.getDelegate().pn()};var Mlc=function(a,b){this.delegate_=a;this.wrapperConstructor_=b||null};W(Mlc,UX);Mlc.prototype.then=function(a,b,c){var d;a&&(d=Nlc(this,a));this.getDelegate().aa(d,b,c)};var Nlc=function(a,b){var c=a.wrapperConstructor_;return c?function(d){b.call(this,new c(d))}:b};var WX=function(a){this.delegate_=a||gbar.a;this.gapiPromise_=this.barPromise_=null};W(WX,UX);WX.prototype.getGapi=function(){this.gapiPromise_||(this.gapiPromise_=new Mlc(this.getDelegate().bh()));return this.gapiPromise_};WX.getInstance=function(){if(WX.instance_&&WX.hasOwnProperty("instance_"))var a=WX.instance_;else a=new WX,WX.instance_=a;return a};var XX=function(a,b){Z.call(this);this.router=a;this.window=b};W(XX,Z);XX.\u0275dir=Z.\u0275dir;XX.prototype.start=function(){var a=this;return(new Promise(function(b,c){var d=WX.getInstance();d.barPromise_||(d.barPromise_=new Mlc(d.getDelegate().bf(),VX));d.barPromise_.then(b,c)})).then(function(b){Olc(a,b)})};var Olc=function(a,b){a.router.events.pipe(Gf(Xva),dg(a.destroyed$)).subscribe(function(){b.getDelegate().pl(a.window.location.href)})};XX.\u0275fac=function(a){return new (a||XX)(n(FG),n(EE))};
XX.\u0275prov=Vc({token:XX,factory:XX.\u0275fac,providedIn:"root"});var YX=function(a,b,c){Z.call(this);var d=this;this.paramsService=a;this.issueFetchResponseFridge=b;this.eventsForIssueFridge=c;this.handlers$=this.paramsService.routeParams$.pipe(Qf(Fj),cg(function(e){return d.onRouteParamsChanged(e)}));this.init=function(){d.subscriptions.add(d.handlers$.subscribe(function(){}))};this.initOnce=iwa(this.init)};W(YX,Z);YX.\u0275dir=Z.\u0275dir;
YX.prototype.onRouteParamsChanged=function(a){var b=this,c,d;return of(function(e){if(1==e.nextAddress){c={trustUncertainMemory:!0};if(!a.issueId)return e.jumpTo(2);d=a.issueId;return e.yield(Promise.all([GH(b.issueFetchResponseFridge,d,c),b.eventsForIssueFridge.poke(d,c)]),3)}return e.return()})};YX.\u0275fac=function(a){return new (a||YX)(n(xJ),n(EH),n(sF))};YX.\u0275prov=Vc({token:YX,factory:YX.\u0275fac,providedIn:"root"});var ZX=function(a){Z.call(this);var b=this;this.scrollTimingMap=new Map;a.routeChangeSuccess.pipe(dg(this.destroyed$)).subscribe(function(){b.scrollTimingMap.clear()})};W(ZX,Z);ZX.\u0275dir=Z.\u0275dir;ZX.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)};ZX.\u0275fac=function(a){return new (a||ZX)(n(vH))};
ZX.\u0275prov=Vc({token:ZX,factory:ZX.\u0275fac,providedIn:"root"});var aY=function(a,b,c,d,e,f,h,l,q,u,x,y,G,L,M,T,S,X,aa,na,ma,Ca,Fa){Z.call(this);var Ja=this;this.bLocation=a;this.reloadService=b;this.timeout=c;this.activeSession=d;this.hotkeys=e;this.paths=f;this.userPrefs=h;this.issuePagination=l;this.userFeedback=y;this.ngZone=G;this.matDialogService=L;this.renderer=S;this.announcement=this.dismissedMessageId=null;this.matSidebarWidth=220;this.isAnonymous=this.activeSession.isAnonymous();this.sidebarDragSaver=this.sidebarDragOffset=null;Ca.install();Fa.install();
WYb(x);this.subscriptions.add(u.onClickAppMenuIcon.subscribe(function(){Ja.matSidebarWidth=185>Ja.matSidebarWidth?"open":0}));h.homepagePreferences$.pipe(dg(this.destroyed$)).subscribe(function(Ra){M.homepagePreferences=Ra});this.densityClass="d-comfort";this.renderer.addClass(document.body,this.densityClass);this.userPrefs.themePreferences$.pipe(dg(this.destroyed$)).subscribe(function(Ra){Ra=WXa(Ra.density);Ra!==Ja.densityClass&&(Ja.renderer.addClass(document.body,Ra),Ja.renderer.removeClass(document.body,
Ja.densityClass),Ja.densityClass=Ra)});this.subscriptions.add(ylc(q,function(Ra){Ja.doSearch(Ra)}));var Ab=f.createIssue(),cb=f.listIssues({q:ulc(d.getUserEmail())}),Ma=f.listIssues({q:"cc:"+d.getUserEmail()}),ha=f.listIssues({q:vlc(d.getUserEmail())}),xa=f.listIssues({q:"reporter:"+d.getUserEmail()}),Da=f.listIssues({q:q.getStarred()}),Wa=f.listIssues({q:q.getVoted()});this.subscriptions.add(KM(this.hotkeys,{title:"General",hotkeys:[{keys:["/","F3"],displayAs:"/ or F3",description:"Search",onPress:function(){var Ra=
document.querySelector(".search-box-container .search-box");null==Ra||Ra.focus();null==Ra||Ra.select()}},{keys:[zp("2"),nCa()],displayAs:"@ or Alt+Shift+f",description:"Send feedback",onPress:function(){Ja.startFeedback()}},{keys:["c"],displayAs:"c",description:"Create issue",onPress:function(){a.url(Ab)}},{keys:[Ap("g","n")],displayAs:"g then n",description:'Go to "Needs attention"',onPress:function(){a.url("attention")}},{keys:[Ap("g","a")],displayAs:"g then a",description:'Go to "Assigned to me"',
onPress:function(){a.url(cb)}},{keys:[Ap("g","c")],displayAs:"g then c",description:'Go to "CC\'d to me"',onPress:function(){a.url(Ma)}},{keys:[Ap("g","r")],displayAs:"g then r",description:'Go to "Reported by me"',onPress:function(){a.url(xa)}},{keys:[Ap("g","s")],displayAs:"g then s",description:'Go to "Starred by me"',onPress:function(){a.url(Da)}},{keys:[Ap("g","1")],displayAs:"g then 1",description:'Go to "Upvoted by me"',onPress:function(){a.url(Wa)}},{keys:[Ap("g","v")],displayAs:"g then v",
description:'Go to "To be verified"',onPress:function(){a.url(ha)}},{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(Ra){if(0===Ra&&20<Ja.sidebarDragPosition||1===Ra&&!(20<Ja.sidebarDragPosition))20<Ja.sidebarDragPosition?$X(Ja,20,1):$X(Ja,Ja.lastOpenPosition,
1);Ja.matSidebarWidth=0===Ra?0:"open"}},{keys:["?",mCa("F1")],displayAs:"? or Ctrl+F1",description:"Display the keyboard shortcuts pop-up",onPress:function(){Ja.matDialogService.open(KW,{minWidth:512})}}]}));this.lastOpenPosition=this.sidebarDragPosition=220;this.announcement=this.activeSession.getAnnouncement();this.userPrefs.preferences$.pipe(Rf(),dg(this.destroyed$)).subscribe(function(Ra){Ja.dismissedMessageId=Ra.bannerMessageId||"";Ra=(Ra.layoutPreferences||{}).leftSidebarWidth;Ja.matSidebarWidth=
Ra||220;if(void 0===Ra)Ja.sidebarDragPosition=220;else if(90>Ra)Ja.sidebarDragPosition=20;else{if(220<Ra){var Ec=Plc();Ra>Ec&&(Ra=Ec)}185>Ra&&(Ra=185);Ja.sidebarDragPosition=Ra}});(0,C.fromEvent)(document,"mouseup",{capture:!0}).pipe(dg(this.destroyed$)).subscribe(function(){Ja.sidebarDragOffset&&(Ja.sidebarDragOffset=null,$X(Ja,Ja.sidebarDragPosition,1))});(0,C.fromEvent)(M,"resize").pipe(dg(this.destroyed$)).subscribe(function(){if(220<Ja.sidebarDragPosition){var Ra=Plc();Ja.sidebarDragPosition>
Ra&&$X(Ja,Ra,3E3)}});this.ngZone.runOutsideAngular(function(){(0,C.fromEvent)(document,"mousemove").pipe(dg(Ja.destroyed$)).subscribe(function(Ra){if(Ja.sidebarDragOffset){Ra=Ra.pageX-Ja.sidebarDragOffset;if(90>Ra)Ra=20;else if(185>Ra)Ra=185;else{var Ec=Plc();Ra>Ec&&(Ra=Ec)}$X(Ja,Ra,0)}})});X.start();Qo()&&(null!=PYb&&PYb.disconnect(),PYb=new Uo.PerformanceObserver(Ova),PYb.observe({entryTypes:["measure"]}));setTimeout(QXa,6E4);aa.start();na.initOnce();ma.initOnce();M.emergencyBugjugglerWorkaround=
{session:d,issueComments:T}};W(aY,Z);aY.\u0275dir=Z.\u0275dir;aY.prototype.startDragging=function(a){this.sidebarDragOffset=a.pageX-this.sidebarDragPosition;a.preventDefault()};aY.prototype.isDragging=function(){return null!==this.sidebarDragOffset};
var Plc=function(){var a=window.innerWidth;return 1075<=a?a-855:220},UXa=function(a,b){a.userPrefs.layoutPreferences$.pipe(cg(function(c){return a.userPrefs.save({layoutPreferences:Object.assign({},c,{leftSidebarWidth:b})})})).pipe(Rf(),dg(a.destroyed$)).subscribe()},$X=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(){UXa(a,20===a.sidebarDragPosition?
0:a.sidebarDragPosition);a.sidebarDragSaver=null},c).catch(function(){}))};aY.prototype.doSearch=function(a){a=this.paths.listIssues({q:a});var b=cYb(this.paths,a);QW(this.issuePagination);b&&$kb(this.reloadService);this.bLocation.url(a)};var RXa=function(a){null!==a.announcement&&(a.dismissedMessageId=a.announcement.messageId,a.userPrefs.save({bannerMessageId:a.dismissedMessageId}).pipe(Rf(),dg(a.destroyed$)).subscribe())};aY.prototype.startFeedback=function(){this.userFeedback.startFeedback()};
aY.\u0275fac=function(a){return new (a||aY)(A(MG),A(fX),A(FF),A(Vt),A(JM),A(NG),A(ZI),A(OW),A(AX),A(cG),A(qH),A(sQ),A(hg),A(IA),A(EE),A($H),A(ev),A(XX),A(ZX),A(RW),A(YX),A(TX),A(tH))};
aY.\u0275cmp=p({type:aY,selectors:[["app-root"]],features:[qg],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&&(H(0,"b-hiring-banner")(1,"b-terms-of-service"),P(2,TXa,4,2,"div",0),H(3,"b-sso-expired-callout-outlet"),E(4,"div",1),P(5,VXa,2,2,"b-resizable-sidebar",2),E(6,"div",3),H(7,"b-router-outlet"),F()(),H(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;D("ngIf",c);z(3);D("ngIf",!b.isAnonymous)}},dependencies:function(){return[yw,$W,fP,DX,PX,IW,UW,XW,HW]},encapsulation:2});var bY=function(){};bY.\u0275fac=function(a){return new (a||bY)};bY.\u0275mod=od({type:bY});bY.\u0275inj=Wc({imports:[Mw,aX,hP,LX,RX,JW,WW,YW,VW,YC,OC,LW]});var cY=function(){};cY.\u0275fac=function(a){return new (a||cY)};cY.\u0275mod=od({type:cY});cY.\u0275inj=Wc({imports:[Mw]});var Qlc=Object.assign({},new ULb,{backdropClass:"gmat-dialog-backdrop",panelClass:"gmat-dialog-panel",hasBackdrop:!0}),dY=function(){};dY.\u0275fac=function(a){return new (a||dY)};dY.\u0275mod=od({type:dY});dY.\u0275inj=Wc({providers:[{provide:VLb,useValue:Qlc}],imports:[NA,NA]});var eY=function(){};eY.\u0275fac=function(a){return new (a||eY)};eY.\u0275mod=od({type:eY});eY.\u0275inj=Wc({imports:[Mw,dY,YC,NA,OC,OP,DT,AW,cY]});var Rlc=function(a,b,c,d){Cx.call(this,a,b,c,d,!0);var e=this;this.escapeSubject$=new C.Subject;this.startAnchorListener=function(){e.escapeSubject$.next(0);return!0};this.endAnchorListener=function(){e.escapeSubject$.next(1);return!0};Bx(this)};W(Rlc,Cx);var fY=function(a,b,c){this.checker=a;this.ngZone=b;this.document=c};fY.prototype.create=function(a){return new Rlc(a,this.checker,this.ngZone,this.document)};fY.\u0275fac=function(a){return new (a||fY)(n(zx),n(hg),n(Vi))};
fY.\u0275prov=Vc({token:fY,factory:fY.\u0275fac,providedIn:"root"});var Slc=["content"],gY=function(a){Z.call(this);this.focusEscapeNotifierFactory=a;this.trapFocus=this.required=!1;this.renderPanel=this.noneButtonEnabled=this.todayButtonEnabled=!0;this.dateChange=new Rv;this.cancelClicked=new Rv;this.saveClicked=new Rv;this.dateSelectionChange=new Rv;this.focusEscaped=new Rv};W(gY,Z);gY.\u0275dir=Z.\u0275dir;
gY.prototype.ngAfterViewInit=function(){var a=this;setTimeout(function(){XXa(a,a.date);a.calendar._getCurrentViewComponent()._focusActiveCell(!1)});this.focusEscapeNotifier=this.focusEscapeNotifierFactory.create(this.content.nativeElement);this.focusEscapeNotifier.escapeSubject$.pipe(dg(this.destroyed$)).subscribe(function(b){if(a.trapFocus)if(0===b){var c;null==(c=a.focusEscapeNotifier)||ZHb(c)}else{var d;null==(d=a.focusEscapeNotifier)||Ax(d)}else a.focusEscaped.emit(b)})};
var XXa=function(a,b){if(b=b instanceof dp?b:Jwa(b))a.calendar.activeDate=b};gY.\u0275fac=function(a){return new (a||gY)(A(fY))};
gY.\u0275cmp=p({type:gY,selectors:[["b-date-time-picker-content"]],viewQuery:function(a,b){a&1&&(ih(sA,7),ih(Slc,7));if(a&2){var c;hh(c=kh())&&(b.calendar=c.first);hh(c=kh())&&(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:[qg],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&&(Ng(),E(0,"div",null,0)(2,"div",1),Og(3),F(),E(4,"mat-calendar",2),K("selectedChange",function(c){b.date=c;b.dateSelectionChange.emit(c)}),U(5,"toDateTime"),U(6,"toDateTime"),F(),E(7,"div",3),P(8,$Xa,4,2,"div",4),E(9,"div",5)(10,"button",6),K("click",function(){return b.cancelClicked.emit()}),Q(11,"Cancel"),F(),E(12,"button",7),K("click",function(){b.dateChange.emit(b.date);return b.saveClicked.emit()}),Q(13,"Save"),F()()()());a&2&&(Fg("container",b.renderPanel),z(4),D("selected",
V(5,5,b.date))("startAt",V(6,7,b.date)),z(4),D("ngIf",b.todayButtonEnabled||b.noneButtonEnabled))},dependencies:function(){return[yw,tA,sA,AM,hY]},styles:[".b-optional-calendar-button-row[_ngcontent-%COMP%]{margin:0 1rem}.actions[_ngcontent-%COMP%]{text-align:end}.actions[_ngcontent-%COMP%]   div.b-optional-calendar-button-row[_ngcontent-%COMP%]{width:fit-content;margin:auto;align-content:center}.container[_ngcontent-%COMP%]{box-shadow:0px 1px 2px 0px rgba(0, 0, 0, 0.3), 0px 2px 6px 2px rgba(0, 0, 0, 0.15);padding:4px;border-radius:8px;background-color:#fff;background-color:var(--surface-default)}mat-calendar[_ngcontent-%COMP%]{width:288px;height:342px}\n/*# sourceMappingURL=date_time_picker_content.css.map */"]});
var hY=function(){};hY.prototype.transform=function(a){var b;return null!=(b=Jwa(a))?b:void 0};hY.\u0275fac=function(a){return new (a||hY)};hY.\u0275pipe=rd({name:"toDateTime",type:hY,pure:!0});var Tlc=[{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"}],iY=function(a,b,c){Z.call(this);var d=this;this.overlay=a;this.element=b;this.hostEl=c;this.openOnEnter=this.openOnClick=!0;this.required=this.focusTrapHost=!1;this.selectedChange=new Rv;this.dateSelectionChange=new Rv;this.onClose=
new Rv;this.opened=!1;this.destroyed$.subscribe(function(){var e;null==(e=d.overlayRef)||e.dispose()})};W(iY,Z);g=iY.prototype;g.open=function(){this.opened||(this.overlayRef=this.createOverlay(),this.attach(),this.opened=!0)};g.close=function(a){a=void 0===a?!1:a;if(this.opened){var b;null==(b=this.overlayRef)||b.dispose();this.overlayRef=void 0;this.opened=!1;a||this.hostEl.nativeElement.focus();this.onClose.emit()}};
g.createOverlay=function(){var a=this.getPositionStrategy(),b=this.getScrollStrategy();a=this.overlay.create({positionStrategy:a,scrollStrategy:b,hasBackdrop:!0,backdropClass:"b-date-time-picker-backdrop",panelClass:"b-date-time-picker-popup"});a.overlayElement.setAttribute("role","dialog");return a};g.attach=function(){var a=this,b=new Lx(gY),c;this.pickerContent=null==(c=this.overlayRef)?void 0:c.attach(b).instance;var d;null==(d=this.overlayRef)||d.updatePosition();setTimeout(function(){Ulc(a)})};
g.getPositionStrategy=function(){return Dz(Ez(Fz(Hz(this.overlay.position(),this.element)),8),Tlc)};g.getScrollStrategy=function(){return this.overlay.scrollStrategies.reposition()};
var Ulc=function(a){if(a.pickerContent&&a.overlayRef){var b=(0,C.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(dg(b)).subscribe(function(){setTimeout(function(){return a.element.nativeElement.focus()})});a.pickerContent.dateChange.pipe(dg(b)).subscribe(function(c){a.selectedChange.emit(c)});a.pickerContent.dateSelectionChange.pipe(dg(b)).subscribe(function(c){a.dateSelectionChange.emit(c)});
(0,C.merge)(a.pickerContent.saveClicked,a.pickerContent.cancelClicked,a.overlayRef.backdropClick(),a.overlayRef.keydownEvents().pipe(Gf(function(c){return"Escape"===c.code}))).pipe(dg(b)).subscribe(function(){a.close()})}};iY.\u0275fac=function(a){return new (a||iY)(A(Iz),A(ke),A(ke))};
iY.\u0275dir=qd({type:iY,selectors:[["","bDateTimePickerToggle",""]],hostAttrs:["aria-haspopup","true"],hostVars:1,hostBindings:function(a,b){a&1&&K("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&&(Ax(b.pickerContent.focusEscapeNotifier),c.preventDefault())})("keydown.shift.tab",
function(c){b.focusTrapHost&&b.pickerContent&&b.pickerContent.focusEscapeNotifier&&(ZHb(b.pickerContent.focusEscapeNotifier),c.preventDefault())});a&2&&ug("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:[qg]});var Vlc=["pickerToggle"],jY=function(){this.customAriaLabelledBy=this.customFormId=void 0;this.required=!1;this.valueChange=new Rv};jY.\u0275fac=function(a){return new (a||jY)};
jY.\u0275cmp=p({type:jY,selectors:[["b-date-time-input"]],viewQuery:function(a,b){a&1&&ih(Vlc,7);if(a&2){var c;hh(c=kh())&&(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&&(E(0,"button",0,1),K("bDateTimePickerToggleSelectedChange",function(c){b.value=c;b.valueChange.emit(c)}),P(2,aYa,1,1,"b-formatted-date-time",2),P(3,bYa,2,0,"ng-container",3),F());a&2&&(D("id",b.customFormId)("bDateTimePickerToggleRequired",b.required)("bDateTimePickerToggleSelected",b.value)("bDateTimePickerToggleFocusTrapHost",
!1),ug("aria-labelledby",b.customAriaLabelledBy),z(2),D("ngIf",b.value),z(1),D("ngIf",!b.value))},dependencies:[iY,cL,tA,yw],styles:["\n/*# sourceMappingURL=date_time_input.css.map */"]});var Wlc=["filterInput"],kY=function(a){Z.call(this);this.dateFormatter=a;this.enumChoices=[];this.onSave=new Rv;this.valueMap=new Map;this.sortedValues=[];this.filterValue=null;this.currentSelectedDate=void 0};W(kY,Z);kY.\u0275dir=Z.\u0275dir;g=kY.prototype;g.ngOnInit=function(){this.initValues()};g.ngOnChanges=function(a){a.originalValueMap&&this.initValues()};g.ngAfterViewInit=function(){var a=this,b;null==(b=this.trigger)||b.menuOpened.pipe(cg(function(){return(0,C.timer)(0)}),dg(this.destroyed$)).subscribe(function(){a.focusFilterBox()})};
g.showMenu=function(){this.trigger.openMenu()};g.closeMenu=function(){this.trigger.closeMenu()};g.focusFilterBox=function(){var a;null==(a=this.filterElement)||a.nativeElement.focus()};var Xlc=function(a){return a.filterValue&&"REPEATED_DATE"!==a.type?a.sortedValues.filter(function(b){return a.getDisplayString(b).includes(String(a.filterValue))}):a.sortedValues};
kY.prototype.addValue=function(){var a=this.filterValue;this.filterValue=null;a&&!this.valueMap.get(a)&&(this.valueMap.set(a,!0),Ylc(this),this.onSave.emit({valueMap:this.valueMap,valueChanged:this.valueChanged()}))};kY.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})};
kY.prototype.initValues=function(){this.valueMap=new Map(this.originalValueMap||[]);this.enumChoices=this.enumChoices||[];for(var a=m(this.enumChoices),b=a.next();!b.done;b=a.next())b=b.value,this.valueMap.has(b)||this.valueMap.set(b,!1);Ylc(this)};
var Ylc=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)})},dYa=function(a){return!!a.filterValue&&"REPEATED_ENUM"!==a.type&&"REPEATED_DATE"!==a.type};kY.prototype.getDisplayString=function(a){return"REPEATED_DATE"===this.type?this.dateFormatter.formatUserCalendar(Mj(a)):a};kY.prototype.getLabel=function(){return this.valueChanged()?"Changed":"Unchanged"};
kY.\u0275fac=function(a){return new (a||kY)(A(hJ))};
kY.\u0275cmp=p({type:kY,selectors:[["b-bulk-repeated-field-picker"]],viewQuery:function(a,b){a&1&&(ih(EC,5),ih(Wlc,5));if(a&2){var c;hh(c=kh())&&(b.trigger=c.first);hh(c=kh())&&(b.filterElement=c.first)}},inputs:{type:"type",originalValueMap:"originalValueMap",enumChoices:"enumChoices"},outputs:{onSave:"onSave"},features:[qg,Hd],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&&(E(0,"button",0)(1,"span"),Q(2),F(),H(3,"b-icon",1),F(),E(4,"mat-menu",null,2),P(6,cYa,3,4,"div",3),H(7,"mat-divider"),E(8,"div",4),P(9,eYa,2,3,"input",5),F(),P(10,fYa,1,0,"mat-divider",6),P(11,gYa,2,0,"div",7),P(12,hYa,4,1,"div",6),F());if(a&2){var c=O(5);D("matMenuTriggerFor",c);z(2);Sg(b.getLabel());z(4);D("ngForOf",Xlc(b));z(3);D("ngIf","REPEATED_DATE"!==
b.type);z(1);D("ngIf",dYa(b));z(1);D("ngIf",dYa(b));z(1);D("ngIf","REPEATED_DATE"===b.type)}},dependencies:[xw,yw,FC,DC,EC,AM,GN,tA,DO,Qh,ax,hx,jY],styles:[".multi-edit-menuitem[_ngcontent-%COMP%]{padding:0 5px}.filter[_ngcontent-%COMP%]{padding:0 5px}\n/*# sourceMappingURL=bulk_repeated_field_picker.css.map */"]});var Zlc=0,lY=function(a){this.changeDetectorRef=a;this.active=!1;this.id="b-list-option-"+Zlc;Zlc+=1};lY.prototype.setActiveStyles=function(){this.active=!0;this.changeDetectorRef.markForCheck()};lY.prototype.setInactiveStyles=function(){this.active=!1;this.changeDetectorRef.markForCheck()};lY.\u0275fac=function(a){return new (a||lY)(A(qw))};
lY.\u0275dir=qd({type:lY,selectors:[["","onedevListOption",""]],hostVars:3,hostBindings:function(a,b){a&2&&(Lg("id",b.id),Fg("active",b.active))},inputs:{option:"option"},exportAs:["onedevListOption"]});var mY=function(){};mY.\u0275fac=function(a){return new (a||mY)};mY.\u0275mod=od({type:mY});mY.\u0275inj=Wc({});var jYa=function(){return{$implicit:void 0}},mYa=function(a){return{$implicit:a}},nY=function(a){this.includeEmptyOption=this.disabled=!1;this.valueChange=new Rv;this.selected=new Rv;this.destroyed$=new C.ReplaySubject(1);a&&this.handleKeydown(a.keydown$)};g=nY.prototype;g.ngOnInit=function(){};g.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete()};g.ngAfterViewInit=function(){this.keyManager=oKb(new ez(this.viewOptions))};g.ngOnChanges=function(a){a.value&&$lc(this)};
g.isSelected=function(a){return this.value===a};g.select=function(a){this.disabled||(this.isSelected(a)||this.valueChange.emit(a),this.selected.emit())};var $lc=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)}};nY.prototype.clearActiveItem=function(){this.keyManager&&this.keyManager.activeItem&&this.keyManager.setActiveItem(-1)};
nY.prototype.handleKeydown=function(a){var b=this;a.pipe(dg(this.destroyed$)).subscribe(function(c){if(!b.disabled&&b.keyManager){var d=c.code;"ArrowUp"===d||"ArrowDown"===d?(c.preventDefault(),b.keyManager.onKeydown(c)):"Home"===d||"End"===d?(c.preventDefault(),"Home"===d?b.keyManager._setActiveItemByIndex(0,1):sKb(b.keyManager)):"Enter"!==d&&"Space"!==d||!b.keyManager.activeItem||(c.preventDefault(),b.select(b.keyManager.activeItem.option))}})};nY.\u0275fac=function(a){return new (a||nY)(A(OM,8))};
nY.\u0275cmp=p({type:nY,selectors:[["onedev-selectable-list"]],viewQuery:function(a,b){a&1&&ih(lY,5);if(a&2){var c;hh(c=kh())&&(b.viewOptions=c)}},hostAttrs:["role","listbox"],hostVars:3,hostBindings:function(a,b){a&1&&K("focus",function(){return $lc(b)})("blur",function(){return b.clearActiveItem()});a&2&&(a=b.keyManager&&b.keyManager.activeItem?b.keyManager.activeItem.id:void 0,ug("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:[Hd],decls:4,vars:2,consts:[["role","option","onedevListOption","",3,"option","click",4,"ngIf"],[4,"ngFor","ngForOf"],["optionDisplay",""],["role","option","onedevListOption","",3,"option","click"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[4,"ngIf","ngIfElse"],["customOptionDisplay",""],["emptyOption",""],["aria-label",
"empty"]],template:function(a,b){a&1&&(P(0,kYa,2,5,"div",0),P(1,oYa,2,1,"ng-container",1),P(2,uYa,3,2,"ng-template",null,2,qh));a&2&&(D("ngIf",b.includeEmptyOption),z(1),D("ngForOf",b.options))},dependencies:[xw,yw,Dw,lY],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 oY=function(){};var amc=["trigger"],wYa=function(a){return{$implicit:a}},bmc=0,pY=function(a){this.includeEmptyOption=this.disabled=!1;this.label="";this.valueChange=new Rv;this.displayArrowIcon=!0;this.focused=this.required=this.openPopupOnInit=!1;this.contentId="onedev-single-select-"+bmc;this.onChange=function(){};this.onTouched=function(){};if(""===a||"true"===a||"required"===a)this.required=!0;bmc++};W(pY,oY);g=pY.prototype;g.ngOnInit=function(){};
g.ngAfterViewInit=function(){this.openPopupOnInit&&(this.popupTrigger.open(),this.focused=!0)};g.writeValue=function(a){this.val=a};g.onSelectionChange=function(a){a!==this.val&&(this.onChange(a),this.value=a,this.valueChange.emit(a))};g.isActive=function(){return this.popupTrigger.isOpen||this.focused};g.contentAriaLabelledBy=function(){if(this.labelledById)return this.labelledById+" "+this.contentId};g.registerOnChange=function(a){this.onChange=a};
g.registerOnTouched=function(a){this.onTouched=a};var cmc=function(a){var b="";a.label&&(b+=a.label+", ");a.required&&(b+="required, ");return b};pY.prototype.setDisabledState=function(a){this.disabled=a};Xi.Object.defineProperties(pY.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this.val},set:function(a){a!==this.val&&this.writeValue(a)}}});pY.\u0275fac=function(a){return new (a||pY)(ce("required"))};
pY.\u0275cmp=p({type:pY,selectors:[["onedev-single-select"]],viewQuery:function(a,b){a&1&&ih(amc,7);if(a&2){var c;hh(c=kh())&&(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:[Ug([{provide:Ow,useExisting:cd(function(){return pY}),
multi:!0},{provide:oY,useExisting:cd(function(){return pY}),multi:!0}]),qg],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=t();E(0,"button",0,1);K("focus",function(){return b.focused=!0})("blur",function(){return b.focused=!1})("click",
function(){v(c);var f=O(1);return w(f.open())})("closed",function(){b.onTouched()});E(2,"span",2);Q(3);F();P(4,xYa,2,4,"ng-container",3);P(5,AYa,1,2,"ng-template",null,4,qh);P(7,DYa,3,2,"ng-template",null,5,qh);P(9,EYa,2,0,"svg",6);F();E(10,"onedev-popup-panel",7,8)(12,"onedev-selectable-list",9);K("valueChange",function(f){return b.onSelectionChange(f)})("selected",function(){v(c);var f=O(1);return w(f.close())});F()()}if(a&2){var d=O(6),e=O(11);Fg("active",b.isActive());D("onedevPopupPanelTriggerDisabled",
b.disabled)("disabled",b.disabled)("onedevPopupPanelTriggerFor",e);ug("id",b.contentId)("aria-labelledby",b.contentAriaLabelledBy());z(3);Sg(cmc(b));z(1);D("ngIf",b.valueTemplate)("ngIfElse",d);z(5);D("ngIf",b.displayArrowIcon);z(1);D("relayOnly",!0);z(2);D("value",b.value)("includeEmptyOption",b.includeEmptyOption)("options",b.options)("optionTemplate",b.optionTemplate)("label",b.label)}},dependencies:[yw,Dw,OM,nY,PM,QM],styles:["[_nghost-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex}button[_ngcontent-%COMP%]{background:none;border:1px solid transparent;color:var(--text-default,#202124);padding:4px;-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;line-height:18px;border-radius:5px;width:100%;min-height:27px;min-width:100px;font-size:13px;padding:4px 4px 4px 6px;text-align:start}button[_ngcontent-%COMP%]:hover{cursor:pointer;border-color:var(--field-hover-border,#d2e3fc)}button[_ngcontent-%COMP%]:disabled{cursor:not-allowed}button.active[_ngcontent-%COMP%], button[_ngcontent-%COMP%]:focus{outline:0;border-color:var(--primary-default,#1a73e8)}.ng-invalid.ng-touched[_nghost-%COMP%]   button[_ngcontent-%COMP%]{border-color:var(--warn-default,#d93025)}.arrow-icon[_ngcontent-%COMP%]{margin-left:auto;width:18px;height:18px;color:var(--icon,#5f6368);fill:currentColor}.single-select-panel[_ngcontent-%COMP%]{display:block;min-width:85px;max-height:300px}.single-select-panel[_ngcontent-%COMP%]:focus{outline:0}"]});var LYa=function(){return[]},qY=function(a,b){this.data=a;this.dialogRef=b;this.customFields=[];this.originalCustomFields=new Map;this.repeatedCustomFieldsMap=new Map;this.issues=[];this.bulkEditOps=[];this.issues=a};g=qY.prototype;
g.ngOnInit=function(){for(var a=new Map,b=null,c=m(this.issues),d=c.next();!d.done;d=c.next()){var e=d.value;d=e.customFieldMap;e=e.customFieldValueMap;if(!b){b=new Map;for(var f=m(Object.keys(d)),h=f.next();!h.done;h=f.next())h=h.value,b.set(Lj(h),e[h]||void 0)}f=m(b);for(h=f.next();!h.done;h=f.next()){var l=m(h.value);h=l.next().value;l=l.next().value;var q=d[h],u=e[h],x=void 0,y=null==(x=q)?void 0:x.type;if(q)if("REPEATED_DATE"===y||"REPEATED_ENUM"===y||"REPEATED_NUMERIC"===y||"REPEATED_TEXT"===
y){l=this.repeatedCustomFieldsMap.get(h)||new Map;q=0===l.size;u=dmc(u);x=Array.from(l.keys()).concat(u);x=m(x);for(y=x.next();!y.done;y=x.next())y=y.value,u.includes(y)?l.has(y)||l.set(y,q||null):l.set(y,null);this.repeatedCustomFieldsMap.set(h,l)}else(!u&&void 0!==l||u&&!Fj(u,l))&&b.set(h,null);else b.delete(h)}d=m(Object.entries(d));for(e=d.next();!e.done;e=d.next())f=m(e.value),e=f.next().value,f=f.next().value,a.set(Number(e),Gj(f))}this.customFields=Array.from(b.keys()).map(function(G){return a.get(G)}).filter(function(G){return G});
this.customFields=this.customFields.map(function(G){var L=b.get(G.customFieldId);G.hasMultipleValues=null===L;L?G=Object.assign(L,G):G.hasMultipleValues||"ENUM"!==G.type||(G.enumValue="");return G});c=m(this.customFields);for(d=c.next();!d.done;d=c.next())d=d.value,this.originalCustomFields.set(d.customFieldId,Gj(d))};
g.clearCustomFieldValue=function(a){a.hasMultipleValues=!1;switch(a.type){case "TEXT":a.textValue="";break;case "DATE":a.dateValue=null;break;case "ENUM":a.enumValue="";break;case "NUMERIC":a.numericValue=null}};g.getCustomFieldName=function(a){return a.name};g.isCustomFieldRequired=function(a){return a.required};g.getCustomFieldAllowedValues=function(a){return a.allowedValue};g.getCustomFieldType=function(a){return a.type};
var hr=function(a){return"bv2-custom-field-"+a.customFieldId+"-label"},dmc=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()}):[]},JYa=function(a){return a?Dj(a):null},NYa=function(a,b,c){for(var d=m(a.bulkEditOps),e=d.next();!e.done;e=d.next())e=e.value,e.actions=e.actions.filter(function(x){return x.customFieldValue.customFieldId!==
b});a.bulkEditOps=a.bulkEditOps.filter(function(x){return x.actions.length});if(c.valueChanged){d={};e=m(a.issues);for(var f=e.next();!f.done;d={$jscomp$loop$prop$issueValues$2291:d.$jscomp$loop$prop$issueValues$2291,$jscomp$loop$prop$action$2292:d.$jscomp$loop$prop$action$2292},f=e.next()){f=f.value;var h=Vba(f.customFieldValueMap,function(x){return x.customFieldId===b});d.$jscomp$loop$prop$issueValues$2291=dmc(h);c.valueMap.forEach(function(x){return function(y,G){y&&!x.$jscomp$loop$prop$issueValues$2291.includes(G)?
x.$jscomp$loop$prop$issueValues$2291.push(G):!1===y&&(x.$jscomp$loop$prop$issueValues$2291=x.$jscomp$loop$prop$issueValues$2291.filter(function(L){return L!==G}))}}(d));h=a.originalCustomFields.get(b).type;var l=[],q=[];"REPEATED_DATE"==h?l=d.$jscomp$loop$prop$issueValues$2291.map(function(x){return Ej(Mj(x))}):"REPEATED_NUMERIC"==h&&(q=d.$jscomp$loop$prop$issueValues$2291.map(function(x){return Number(x)}));var u=new Uj({customFieldId:b});switch(h){case "REPEATED_TEXT":u.repeatedTextValue={values:d.$jscomp$loop$prop$issueValues$2291};
break;case "REPEATED_DATE":u.repeatedDateValue={values:l};break;case "REPEATED_ENUM":u.repeatedEnumValue={values:d.$jscomp$loop$prop$issueValues$2291};break;case "REPEATED_NUMERIC":u.repeatedNumericValue={values:q}}d.$jscomp$loop$prop$action$2292={fieldName:"customField",customFieldValue:u,actionType:u.isEmpty()?"REMOVE":"ADD"};h=a.bulkEditOps.findIndex(function(x){return function(y){return y.actions.some(function(G){return Fj(x.$jscomp$loop$prop$action$2292,G)})}}(d));-1!==h?a.bulkEditOps[h].issueIds.push(f.issueId):
a.bulkEditOps.push({actions:[d.$jscomp$loop$prop$action$2292],issueIds:[f.issueId]})}}},emc=function(a){var b=a.customFields.filter(function(l){return!l.type.includes("REPEATED")&&!Fj(l,a.originalCustomFields.get(l.customFieldId))}),c=[];b=m(b);for(var d=b.next();!d.done;d=b.next()){var e=d.value;d=new Uj({customFieldId:e.customFieldId});switch(e.type){case "TEXT":d.textValue=e.textValue;break;case "DATE":d.dateValue=e.dateValue||void 0;break;case "ENUM":d.enumValue=e.enumValue;break;case "NUMERIC":var f=
void 0;d.numericValue=null!=(f=e.numericValue)?f:void 0}if(e=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,Pa(h)&&Pa(l)&&h.length==l.length){for(var q=h.length,u=0;u<q;u++)if(h[u]!==l[u]){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})}};qY.\u0275fac=function(a){return new (a||qY)(A(HA),A(FA))};
qY.\u0275cmp=p({type:qY,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&&(E(0,"h2",0),Q(1,"Update custom fields"),F(),E(2,"mat-dialog-content"),P(3,FYa,2,0,"div",1),P(4,RYa,8,6,"div",2),F(),E(5,"mat-dialog-actions")(6,"button",3),K("class",function(){return b.dialogRef.close()}),Q(7,"Cancel"),F(),E(8,"button",4),K("click",
function(){emc(b);b.bulkEditOps.length?b.dialogRef.close(b.bulkEditOps):b.dialogRef.close()}),Q(9," Save "),F()());a&2&&(z(3),D("ngIf",0===b.customFields.length),z(1),D("ngForOf",b.customFields))},dependencies:[xw,yw,zw,Aw,Bw,JA,KA,LA,MA,pY,kY,Qh,jx,ax,hx,jY,tA,NC],encapsulation:2});var fmc=/^[ \t\xA0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000]/,gmc=/^[\s\xA0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000]+/,hmc=function(a){this.patternParts_=[];this.dateTimeSymbols_=bB;"number"==typeof a?this.applyStandardPattern_(a):this.applyPattern_(a)};
hmc.prototype.applyPattern_=function(a){for(var b=!1,c="",d=0;d<a.length;d++){var e=a.charAt(d);if(fmc.test(e))for(0<c.length&&(this.patternParts_.push({text:c,count:0,abutStart:!1,numeric:!1}),c=""),this.patternParts_.push({text:" ",count:0,abutStart:!1,numeric:!1});d<a.length-1&&" "==a.charAt(d+1);)d++;else if(b)"'"==e?d+1<a.length&&"'"==a.charAt(d+1)?(c+="'",d++):b=!1:c+=e;else if(0<="GyMdkHmsSEDabBhKzZvQL".indexOf(e)){0<c.length&&(this.patternParts_.push({text:c,count:0,abutStart:!1,numeric:!1}),
c="");for(var f=a.charAt(d),h=d+1;h<a.length&&a.charAt(h)==f;)h++;f=h-d;0>=f?h=!1:(h="MydhHmsSDkK".indexOf(e),h=0<h||0==h&&3>f);this.patternParts_.push({text:e,count:f,abutStart:!1,numeric:h});d+=f-1}else"'"==e?d+1<a.length&&"'"==a.charAt(d+1)?(c+="'",d++):b=!0:c+=e}0<c.length&&this.patternParts_.push({text:c,count:0,abutStart:!1,numeric:!1});a=!1;for(b=0;b<this.patternParts_.length;b++)this.patternParts_[b].numeric?!a&&b+1<this.patternParts_.length&&this.patternParts_[b+1].numeric&&(a=!0,this.patternParts_[b].abutStart=
!0):a=!1};hmc.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)};
hmc.prototype.parse=function(a,b,c){var d=!1,e=!1;c&&(d=c.predictive||!1,e=c.validate||!1);if(d)for(c=0;c<this.patternParts_.length;c++){var f=this.patternParts_[c];if(0<f.count&&(0>"abBhHkKm".indexOf(f.text.charAt(0))||2<f.count||f.abutStart))throw Error("$d`"+f.text.charAt(0));}f=new imc;c=[0];f.dayPeriodIndex=-1;for(var h=0;h<this.patternParts_.length&&!(d&&c[0]>=a.length);h++){if(0==this.patternParts_[h].count){a:{var l=a;var q=this.patternParts_[h],u=d;if(null!=q.text.match(fmc)){if(q=c[0],jmc(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(u&&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;u=h;var x=c[0],y=0;for(l=u;l<this.patternParts_.length;l++){var G=this.patternParts_[l],L=G.count;if(0===L)break;if(l==u&&(L-=y,y++,0==L)){l=0;break a}var M=l>u&&G.numeric,T=c[0];if(!kmc(this,q,c,G,L,f,!1)||M&&c[0]-T<L)l=u-1,c[0]=x}l-=u}if(0>=l)return 0;h+=
l-1}else if(!kmc(this,a,c,this.patternParts_[h],0,f,d))return 0}a:{a=e;if(null==b)throw Error("ae");void 0!=f.era&&void 0!=f.year&&0==f.era&&0<f.year&&(f.year=-(f.year-1));void 0!=f.year&&b.setFullYear(f.year);d=b.getDate();b.setDate(1);void 0!=f.month&&b.setMonth(f.month);void 0!=f.day?b.setDate(f.day):(e=uMb(b.getFullYear(),b.getMonth()),b.setDate(d>e?e:d));"function"===typeof b.setHours&&(void 0==f.hours&&(f.hours=b.getHours()),12>f.hours&&(void 0!=f.ampm&&0<f.ampm?f.hours+=12:void 0!==f.dayPeriodName&&
("isPm noon afternoon1 afternoon2 evening1 evening2".split(" ").includes(f.dayPeriodName)||["night1","night2"].includes(f.dayPeriodName)&&6<=f.hours)&&(f.hours+=12)),b.setHours(f.hours));"function"===typeof b.setMinutes&&void 0!=f.minutes&&b.setMinutes(f.minutes);"function"===typeof b.setSeconds&&void 0!=f.seconds&&b.setSeconds(f.seconds);"function"===typeof b.setMilliseconds&&void 0!=f.milliseconds&&b.setMilliseconds(f.milliseconds);if(a&&(f.year&&f.year!=b.getFullYear()||f.month&&f.month!=b.getMonth()||
f.day&&f.day!=b.getDate()||f.hours&&24<=f.hours||f.minutes&&60<=f.minutes||f.seconds&&60<=f.seconds||f.milliseconds&&1E3<=f.milliseconds))b=!1;else{void 0!=f.tzOffset&&b.setTime(b.getTime()+6E4*(f.tzOffset-b.getTimezoneOffset()));f.ambiguousYear&&(a=new Date,a.setFullYear(a.getFullYear()-80),b.getTime()<a.getTime()&&b.setFullYear(a.getFullYear()+100));if(void 0!=f.dayOfWeek)if(void 0==f.day)f=(7+f.dayOfWeek-b.getDay())%7,3<f&&(f-=7),a=b.getMonth(),b.setDate(b.getDate()+f),b.getMonth()!=a&&b.setDate(b.getDate()+
(0<f?-7:7));else if(f.dayOfWeek!=b.getDay()){b=!1;break a}b=!0}}return b?c[0]:0};
var kmc=function(a,b,c,d,e,f,h){jmc(b,c);if(d.numeric&&0<e&&c[0]+e>b.length)return!1;switch(d.text.charAt(0)){case "G":return rY(b,c,[a.dateTimeSymbols_.ERAS],function(l){return f.era=l}),!0;case "M":case "L":return lmc(a,b,c,e,d,f);case "E":return rY(b,c,[a.dateTimeSymbols_.WEEKDAYS,a.dateTimeSymbols_.SHORTWEEKDAYS],function(l){return f.dayOfWeek=l});case "B":case "b":return e=[],a=[[].concat(a.dateTimeSymbols_.AMPMS)],e.push("isAm"),e.push("isPm"),b=rY(b,c,a,function(l){return f.dayPeriodIndex=
l},h),f.dayPeriodName=e[f.dayPeriodIndex],h?b:!0;case "a":return b=rY(b,c,[a.dateTimeSymbols_.AMPMS],function(l){return f.ampm=l},h),h?b:!0;case "y":return mmc(a,b,c,d,e,f);case "Q":return rY(b,c,[a.dateTimeSymbols_.QUARTERS,a.dateTimeSymbols_.SHORTQUARTERS],function(l){f.month=3*l;f.day=1});case "d":return sY(a,b,c,d,e,function(l){f.day=l}),!0;case "S":return nmc(a,b,c,e,f);case "h":case "K":case "H":case "k":return b=sY(a,b,c,d,e,function(l){f.hours="h"===d.text.charAt(0)&&12===l?0:l},h),h?b:!0;
case "m":return b=sY(a,b,c,d,e,function(l){f.minutes=l},h),h?b:!0;case "s":return sY(a,b,c,d,e,function(l){f.seconds=l}),!0;case "z":case "Z":case "v":return omc(a,b,c,f);default:return!1}},mmc=function(a,b,c,d,e,f){var h=c[0];e=tY(a,b,c,e);null===e&&(e=tY(a,b,c,0,!0));if(null===e)return!1;0<=e&&2==c[0]-h&&2==d.count?(a=e,b=(new Date).getFullYear()-80,c=b%100,f.ambiguousYear=a==c,a+=100*Math.floor(b/100)+(a<c?100:0),f.year=a):f.year=e;return!0},lmc=function(a,b,c,d,e,f){return e.numeric&&sY(a,b,c,
e,d,function(h){f.month=h-1})?!0:rY(b,c,[a.dateTimeSymbols_.MONTHS,a.dateTimeSymbols_.STANDALONEMONTHS,a.dateTimeSymbols_.SHORTMONTHS,a.dateTimeSymbols_.STANDALONESHORTMONTHS],function(h){f.month=h})},nmc=function(a,b,c,d,e){var f=c[0];a=tY(a,b,c,d);if(null===a)return!1;c=c[0]-f;e.milliseconds=3>c?a*Math.pow(10,3-c):Math.round(a/Math.pow(10,c-3));return!0},omc=function(a,b,c,d){b.indexOf("GMT",c[0])==c[0]&&(c[0]+=3);if(c[0]>=b.length)return d.tzOffset=0,!0;var e=c[0],f=tY(a,b,c,0,!0);if(null===f)return!1;
if(c[0]<b.length&&":"==b.charAt(c[0])){var h=60*f;c[0]++;f=tY(a,b,c,0);if(null===f)return!1;h+=f}else h=f,h=24>h&&3>=c[0]-e?60*h:h%100+h/100*60;d.tzOffset=-h;return!0},sY=function(a,b,c,d,e,f,h){h=h||!1;var l=c[0];a=tY(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))}f(a);return!0},rY=function(a,b,c,d,e){e=e||!1;for(var f,h=0;h<c.length;h++){f=b;for(var l=c[h],q=e,u=0,x=null,y=a.substring(f[0]).toLowerCase(),G=0;G<l.length;G++){var L=l[G].toLowerCase();
if(q&&0==L.indexOf(y)){u=y.length;x=G;break}l[G].length>u&&0==y.indexOf(L)&&(u=l[G].length,x=G)}null!==x&&(f[0]+=u);f=x;if(null!==f)return d(f),!0}return!1},jmc=function(a,b){(a=a.substring(b[0]).match(gmc))&&(b[0]+=a[0].length)},tY=function(a,b,c,d,e){b=0<d?b.substring(0,c[0]+d):b;e=e||!1;if(a.dateTimeSymbols_.ZERODIGIT){d=[];for(var f=c[0];f<b.length;f++){var h=b.charCodeAt(f)-a.dateTimeSymbols_.ZERODIGIT;d.push(0<=h&&9>=h?String.fromCharCode(h+48):b.charAt(f))}b=d.join("")}else b=b.substring(c[0]);
a=b.match(new RegExp("^"+(e?"[+-]?":"")+"\\d+"));if(!a)return null;c[0]+=a[0].length;return parseInt(a[0],10)},imc=function(){};imc.prototype.ambiguousYear=!1;var DLb=Array(31).fill(0).map(function(a,b){return""+(b+1)}),uY=function(){var a=Nz.apply(this,arguments)||this;a.locale=bB;return a};W(uY,Nz);uY.prototype.setLocale=function(){throw Error("be");};uY.prototype.getYear=function(a){return a.getYear()};uY.prototype.getMonth=function(a){return a.getMonth()};uY.prototype.getDate=function(a){return a.getDate()};var CLb=function(a,b){switch(b){case "long":return a.locale.WEEKDAYS;case "narrow":return a.locale.NARROWWEEKDAYS;default:return a.locale.SHORTWEEKDAYS}};
uY.prototype.getFirstDayOfWeek=function(){return(this.locale.FIRSTDAYOFWEEK+1)%7};uY.prototype.clone=function(a){return a.clone()};var oA=function(a,b,c){return new dp(a,b,c)};uY.prototype.parse=function(a,b){if(""===a)return null;b=new hmc(a.match(/\d{3,}/)?b:b.replace("yyyy","yy"));var c=new dp(new Date(a));b.parse(a,c);return c};uY.prototype.format=function(a,b){if(!this.isValid(a))throw Error("ce");return(new dB(b)).format(a)};
var mA=function(a,b){a=a.clone();a.add(new cB(b));return a},nA=function(a,b){a=a.clone();a.add(new cB(0,b));return a},lA=function(a,b){a=a.clone();a.add(new cB(0,0,b));return a},Oz=function(a){return a instanceof dp};uY.prototype.isValid=function(a){return!isNaN(a.getTime())};uY.prototype.invalid=function(){return new dp(NaN)};uY.prototype.sameDate=function(a,b){return a&&b?(new Cj(a)).equals(b):!1};uY.\u0275fac=function(){var a;return function(b){return(a||(a=ie(uY)))(b||uY)}}();
uY.\u0275prov=Vc({token:uY,factory:uY.\u0275fac});var pmc={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"},vY=pmc;vY=pmc;var wY=bB.DATEFORMATS[3];wY=wY.replace(/yyyy/,"yy").replace(/yy/,"yyyy");"M/d/yyyy"===wY&&(wY="MM/dd/yyyy");var qmc={parse:{dateInput:wY},display:{dateInput:wY,monthYearLabel:vY.YEAR_MONTH_ABBR,dateA11yLabel:vY.MONTH_DAY_YEAR_MEDIUM,monthYearA11yLabel:vY.YEAR_MONTH_FULL}};var xY=function(){};xY.\u0275fac=function(a){return new (a||xY)};xY.\u0275mod=od({type:xY});xY.\u0275inj=Wc({providers:[{provide:Nz,useClass:uY},{provide:Rz,useValue:qmc}],imports:[Mw,OC,YC,HD,fU,Uy]});var yY=function(){};yY.\u0275fac=function(a){return new (a||yY)};yY.\u0275mod=od({type:yY});yY.\u0275inj=Wc({imports:[xY,IN,OC,YC,Mw]});var zY=function(){};zY.\u0275fac=function(a){return new (a||zY)};zY.\u0275mod=od({type:zY});zY.\u0275inj=Wc({imports:[Mw,GC,fU,kU,eO,YC,aB,iP,wx,yY]});var AY=function(){};AY.\u0275fac=function(a){return new (a||AY)};AY.\u0275mod=od({type:AY});AY.\u0275inj=Wc({imports:[Mw]});var BY=function(){};BY.\u0275fac=function(a){return new (a||BY)};BY.\u0275mod=od({type:BY});BY.\u0275inj=Wc({imports:[Mw,YC,mY]});var CY=function(){};CY.\u0275fac=function(a){return new (a||CY)};CY.\u0275mod=od({type:CY});CY.\u0275inj=Wc({imports:[Mw,OC,YC,wx,AY,BY,RM]});var DY=function(){};DY.\u0275fac=function(a){return new (a||DY)};DY.\u0275mod=od({type:DY});DY.\u0275inj=Wc({imports:[Mw,NA,CY,zY,wx,yY,YC,ID]});var EY=function(){};EY.\u0275fac=function(a){return new (a||EY)};EY.\u0275mod=od({type:EY});EY.\u0275inj=Wc({imports:[Mw,IN,iP,YC,NA,VN,tP,PP,DP]});var rmc=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"]]),smc=new Map([[0,"Unknown"],[1,"Enabled"],[2,"Disabled"]]),UYa=new Map([[1,"Default (10 years)"],[2,"Custom Period"],[3,"Indefinite"]]),VYa=new Map([[1,"Default (60 days)"],[2,"Custom Period"],[3,"Match Issue Retention"]]);var FY=function(a,b){this.$log=a;this.sessionIsInternal=b.isInternalSession()};FY.\u0275fac=function(a){return new (a||FY)(n(YF),n(Vt))};FY.\u0275prov=Vc({token:FY,factory:FY.\u0275fac,providedIn:"root"});var XYa=new Map([[0,"--"],[1,"User"],[2,"Bugscope"]]);var GY=function(a,b){Z.call(this);this.componentFridge=a;this.activeSession=b;this.providedComponentId$=new C.ReplaySubject(1);this.component$=this.providedComponentId$.pipe(cg(this.componentFridge.watch),$f({refCount:!0,bufferSize:1}));this.init=new C.ReplaySubject(1);this.isAnonymous=this.activeSession.isAnonymous()};W(GY,Z);GY.\u0275dir=Z.\u0275dir;
GY.prototype.ngOnInit=function(){var a=this;this.providedComponentId$.next(this.componentId);this.recentIssuesUrl=co({q:"status:open componentid:"+this.componentId,s:"created_time:desc"});this.createIssueUrl=bo("issues/new",{params:void 0})+"?component="+this.componentId;this.viewComponentUrl=jta(this.componentId,"basic");this.component$.pipe(Rf(),dg(this.destroyed$)).subscribe(function(){a.init.next()})};GY.\u0275fac=function(a){return new (a||GY)(A(xF),A(Vt))};
GY.\u0275cmp=p({type:GY,selectors:[["b-component-card"]],inputs:{componentId:"componentId"},outputs:{init:"init"},features:[qg],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&&(E(0,"div",0)(1,"div",1),P(2,aZa,16,8,"ng-container",2),U(3,"async"),F()());a&2&&(z(2),D("ngIf",V(3,1,b.component$)))},dependencies:[yw,
qP,Ew],styles:["[_nghost-%COMP%]{max-width:400px}ul[_ngcontent-%COMP%]{list-style-type:none;padding:0}"]});var HY=function(){this.changes=new C.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}};HY.\u0275fac=function(a){return new (a||HY)};HY.\u0275prov=Vc({token:HY,factory:HY.\u0275fac,providedIn:"root"});
var tmc={provide:HY,deps:[[new Vu,new Wu,HY]],useFactory:function(a){return a||new HY}};new Bd("MAT_PAGINATOR_DEFAULT_OPTIONS");
var umc=$i(jma(function(){})),IY=function(a,b,c){var d=umc.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 Rv;d._intlChanges=a.changes.subscribe(function(){return d._changeDetectorRef.markForCheck()});if(c){var e=c.pageSize,f=c.pageSizeOptions,h=c.hidePageSize;c=c.showFirstLastButtons;null!=e&&(d._pageSize=e);null!=f&&(d._pageSizeOptions=f);null!=h&&(d._hidePageSize=h);null!=
c&&(d._showFirstLastButtons=c)}return d};W(IY,umc);g=IY.prototype;g.ngOnInit=function(){this._initialized=!0;this._updateDisplayedPageSizeOptions();this._markInitialized()};g.ngOnDestroy=function(){this._intlChanges.unsubscribe()};g.nextPage=function(){if(this.hasNextPage()){var a=this.pageIndex;this.pageIndex+=1;this._emitPageEvent(a)}};g.hasPreviousPage=function(){return 1<=this.pageIndex&&0!=this.pageSize};
g.hasNextPage=function(){return this.pageIndex<(this.pageSize?Math.ceil(this.length/this.pageSize):0)-1&&0!=this.pageSize};g._changePageSize=function(a){var b=this.pageIndex;this.pageIndex=Math.floor(this.pageIndex*this.pageSize/a)||0;this.pageSize=a;this._emitPageEvent(b)};g._nextButtonsDisabled=function(){return this.disabled||!this.hasNextPage()};g._previousButtonsDisabled=function(){return this.disabled||!this.hasPreviousPage()};
g._updateDisplayedPageSizeOptions=function(){this._initialized&&(this.pageSize||(this._pageSize=0!=this.pageSizeOptions.length?this.pageSizeOptions[0]:50),this._displayedPageSizeOptions=this.pageSizeOptions.slice(),-1===this._displayedPageSizeOptions.indexOf(this.pageSize)&&this._displayedPageSizeOptions.push(this.pageSize),this._displayedPageSizeOptions.sort(function(a,b){return a-b}),this._changeDetectorRef.markForCheck())};
g._emitPageEvent=function(a){this.page.emit({previousPageIndex:a,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})};
Xi.Object.defineProperties(IY.prototype,{pageIndex:{configurable:!0,enumerable:!0,get:function(){return this._pageIndex},set:function(a){this._pageIndex=Math.max(ei(a),0);this._changeDetectorRef.markForCheck()}},length:{configurable:!0,enumerable:!0,get:function(){return this._length},set:function(a){this._length=ei(a);this._changeDetectorRef.markForCheck()}},pageSize:{configurable:!0,enumerable:!0,get:function(){return this._pageSize},set:function(a){this._pageSize=Math.max(ei(a),0);this._updateDisplayedPageSizeOptions()}},
pageSizeOptions:{configurable:!0,enumerable:!0,get:function(){return this._pageSizeOptions},set:function(a){this._pageSizeOptions=(a||[]).map(function(b){return ei(b)});this._updateDisplayedPageSizeOptions()}},hidePageSize:{configurable:!0,enumerable:!0,get:function(){return this._hidePageSize},set:function(a){this._hidePageSize=bi(a)}},showFirstLastButtons:{configurable:!0,enumerable:!0,get:function(){return this._showFirstLastButtons},set:function(a){this._showFirstLastButtons=bi(a)}}});
IY.\u0275fac=function(){pe()};IY.\u0275dir=qd({type:IY,inputs:{color:"color",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",selectConfig:"selectConfig"},outputs:{page:"page"},features:[qg]});var vmc=new Bd("MAT_LEGACY_PAGINATOR_DEFAULT_OPTIONS"),JY=function(a,b,c){a=IY.call(this,a,b,c)||this;c&&null!=c.formFieldAppearance&&(a._formFieldAppearance=c.formFieldAppearance);return a};W(JY,IY);JY.\u0275dir=IY.\u0275dir;JY.\u0275fac=function(a){return new (a||JY)(A(HY),A(qw),A(vmc,8))};
JY.\u0275cmp=p({type:JY,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-paginator"],inputs:{disabled:"disabled"},exportAs:["matPaginator"],features:[qg],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",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&&(E(0,"div",0)(1,"div",1),P(2,eZa,5,3,"div",2),E(3,"div",3)(4,"div",4),Q(5),F(),P(6,fZa,3,5,"button",5),E(7,"button",6),K("click",function(){if(b.hasPreviousPage()){var c=b.pageIndex;--b.pageIndex;b._emitPageEvent(c)}}),Sd(),E(8,"svg",7),H(9,"path",8),F()(),Td(),E(10,"button",9),K("click",function(){return b.nextPage()}),Sd(),E(11,"svg",7),H(12,"path",10),F()(),P(13,gZa,3,5,"button",11),F()()());a&2&&(z(2),D("ngIf",!b.hidePageSize),z(3),R(" ",b._intl.getRangeLabel(b.pageIndex,
b.pageSize,b.length)," "),z(1),D("ngIf",b.showFirstLastButtons),z(1),D("matTooltip",b._intl.previousPageLabel)("matTooltipDisabled",b._previousButtonsDisabled())("matTooltipPosition","above")("disabled",b._previousButtonsDisabled()),ug("aria-label",b._intl.previousPageLabel),z(3),D("matTooltip",b._intl.nextPageLabel)("matTooltipDisabled",b._nextButtonsDisabled())("matTooltipPosition","above")("disabled",b._nextButtonsDisabled()),ug("aria-label",b._intl.nextPageLabel),z(3),D("ngIf",b.showFirstLastButtons))},
dependencies:[xw,yw,tA,XA,lP,vA,NC],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 KY=function(a){this.paths=a;this.children=[];this.onVisit=new Rv;this.pageSize=25;this.pageSizeOptions=[10,25,100];this.childrenOnPage=[]};KY.prototype.ngOnInit=function(){this.childrenOnPage=this.children.slice(0,this.pageSize)};KY.\u0275fac=function(a){return new (a||KY)(A(NG))};
KY.\u0275cmp=p({type:KY,selectors:[["b-component-children-list"]],inputs:{children:"children"},outputs:{onVisit:"onVisit"},decls:3,vars:2,consts:[[3,"length","pageSize","pageSizeOptions","page",4,"ngIf"],[1,"component-children"],[4,"ngFor","ngForOf"],[3,"length","pageSize","pageSizeOptions","page"],[1,"keep-underline","keep-focus-ring",3,"onedevHovercardTrigger","href","click"],["card","onedevHovercard"],[3,"componentId"]],template:function(a,b){a&1&&(P(0,hZa,1,3,"mat-paginator",0),E(1,"ul",1),P(2,
iZa,6,4,"li",2),F());a&2&&(D("ngIf",b.children.length>b.pageSize),z(2),D("ngForOf",b.childrenOnPage))},dependencies:[xw,yw,iK,nK,GY,JY],encapsulation:2});var LY=function(){};LY.\u0275fac=function(a){return new (a||LY)};LY.\u0275mod=od({type:LY});LY.\u0275inj=Wc({imports:[Mw,vP]});var MY=function(){};MY.\u0275fac=function(a){return new (a||MY)};MY.\u0275mod=od({type:MY});MY.\u0275inj=Wc({providers:[tmc],imports:[Mw,YC,mP,ID,Mz]});var NY=function(){};NY.\u0275fac=function(a){return new (a||NY)};NY.\u0275mod=od({type:NY});NY.\u0275inj=Wc({imports:[Mw,JN,LY,MY]});var OY=function(){this.shouldShowCopyIssueShortLinks=!1;this.shortLinkPrefix="b/";this.onClickCopyIssueIds=new Rv;this.onClickCopyIssueShortLinks=new Rv;this.onClickCopyAsIssueSearch=new Rv};OY.\u0275fac=function(a){return new (a||OY)};
OY.\u0275cmp=p({type:OY,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&&(E(0,"b-button-group")(1,"button",0),K("click",function(){return b.onClickCopyIssueIds.emit()}),H(2,"b-icon",1),F(),E(3,"button",2),H(4,"b-icon",3),F(),E(5,"mat-menu",null,4),P(7,jZa,2,1,"button",5),E(8,"button",6),K("click",function(){return b.onClickCopyAsIssueSearch.emit()}),
Q(9," Copy as issue search "),F()()());if(a&2){var c=O(6);z(3);D("matMenuTriggerFor",c);z(4);D("ngIf",b.shouldShowCopyIssueShortLinks)}},dependencies:[yw,FC,DC,EC,tA,xW,GN],encapsulation:2,changeDetection:0});new Bd("xap-clipboard-snackbar-options");var PY=function(){};PY.\u0275fac=function(a){return new (a||PY)};PY.\u0275mod=od({type:PY});PY.\u0275inj=Wc({imports:[Mw,YC,OC,RF]});var QY=function(){};QY.\u0275fac=function(a){return new (a||QY)};QY.\u0275mod=od({type:QY});QY.\u0275inj=Wc({imports:[Mw,GC,YC,AW,eO,PY]});var RY=function(a,b,c,d,e){this.clipboard=a;this.analytics=c;this.butterBar=d;this.window=e;this.shortLinkPrefix=zCa(b)?"b/":"b-qa/"},g2a=function(a,b){a.clipboard.copy(b.join(", "));WF(a.butterBar,"Issue IDs copied.",2E3);a.analytics.trackEvent(Mp.LIST_ISSUES,"copyIssueId","IDs")},h2a=function(a,b){a.clipboard.copy(b.map(function(c){return a.shortLinkPrefix+c}).join(", "));WF(a.butterBar,"'"+a.shortLinkPrefix+"' links copied.",2E3);a.analytics.trackEvent(Mp.LIST_ISSUES,"copyIssueId","b/ links")},
i2a=function(a,b){b=co({q:"id:("+b.join("|")+")"});a.clipboard.copy(a.window.location.origin+"/"+b);WF(a.butterBar,"Issue search link copied.",2E3);a.analytics.trackEvent(Mp.LIST_ISSUES,"copyIssueId","Issue search link")};RY.\u0275fac=function(a){return new (a||RY)(n(SM),n(Vt),n(wH),n(VF),n(EE))};RY.\u0275prov=Vc({token:RY,factory:RY.\u0275fac,providedIn:"root"});var SY=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)};SY.prototype.onInput=function(){this.resize(this.el.nativeElement.value)};
SY.prototype.ngOnDestroy=function(){document.body.removeChild(this.shadowInput)};SY.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"};SY.\u0275fac=function(a){return new (a||SY)(A(ke))};
SY.\u0275dir=qd({type:SY,selectors:[["","b-adaptive-width-input",""]],hostBindings:function(a,b){a&1&&K("input",function(){return b.onInput()})},inputs:{minWidth:"minWidth",maxWidth:"maxWidth"}});var TY=function(){};TY.\u0275fac=function(a){return new (a||TY)};TY.\u0275mod=od({type:TY});TY.\u0275inj=Wc({});var UY=function(){this.componentPath=[];this.isArchived=!1;this.label="Component";this.openTab=""};Xi.Object.defineProperties(UY.prototype,{componentPathInfo:{configurable:!0,enumerable:!0,set:function(a){this.componentPath="settings"===this.componentPathsLinkTo?kr(a,ota):kr(a)}}});UY.\u0275fac=function(a){return new (a||UY)};
UY.\u0275cmp=p({type:UY,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&&(E(0,"div",0)(1,"p",1),Q(2),F(),E(3,"span",2),P(4,kZa,6,4,"span",3),P(5,lZa,2,0,"span",4),F()());a&2&&(z(2),R("",b.label,":"),z(2),D("ngForOf",b.componentPath),z(1),D("ngIf",b.isArchived))},dependencies:[xw,yw,iK,nK,GY,bO],encapsulation:2});var VY=function(){};VY.\u0275fac=function(a){return new (a||VY)};VY.\u0275mod=od({type:VY});VY.\u0275inj=Wc({imports:[Mw,JN,LY,cO]});var WY=function(){};WY.\u0275fac=function(a){return new (a||WY)};WY.\u0275mod=od({type:WY});WY.\u0275inj=Wc({imports:[Mw,wx,YC,iP,NA,vP]});var XY=function(a,b,c){this.componentActions=a;this.errorHandler=b;this.cdr=c};XY.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 YY=function(a,b){a.selectedId&&wmc(a,a.selectedId);a.selectedId=b;if(a=xmc(a.selectedId))a.focus(),a.setAttribute("aria-selected","true")},ZY=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},ymc=function(a){return!a.selectedId||1>a.selectedId?-1:a.components.findIndex(function(b){return b.componentId==a.selectedId})},wmc=function(a,b){b&&(a=xmc(a.selectedId))&&a.setAttribute("aria-selected",
"false")},xmc=function(a){return a?document.getElementById("component-"+a):null},zmc=function(a){for(a=a.target;;){if(!a)return!1;if("A"===a.tagName)return!0;a=a.parentNode}};var oZa=function(a){return{q:a}},$Y=function(a,b,c,d){XY.call(this,a,c,d);this.paths=b;this.includeArchived=!1;this.childClosed=new Rv;this.selectedId=null};W($Y,XY);$Y.prototype.ngOnInit=function(){};$Y.prototype.ngOnDestroy=function(){this.parentComponent.focusOnChildren=void 0};$Y.prototype.ngOnChanges=function(a){a.components&&Amc(this)};$Y.prototype.onSubtreeChildClosed=function(a){this.selectedId=a;YY(this,a);this.rootController.selectionChanged(this,a)};
var Amc=function(a){a.parentComponent.focusOnChildren||(a.parentComponent.focusOnChildren=function(){return a.selectNext()})};g=$Y.prototype;
g.selectNext=function(){if(this.components)if(this.selectedId){var a=ymc(this),b=this.components[a];b.showChildren&&b.focusOnChildren&&!b.noChildren?(wmc(this,this.selectedId),this.selectedId=null,b.focusOnChildren()):a+1!=this.components.length&&(YY(this,this.components[a+1].componentId),this.rootController.selectionChanged(this,this.selectedId))}else YY(this,this.components[0].componentId),this.rootController.selectionChanged(this,this.selectedId)};
g.selectPrevious=function(){var a=ymc(this);0==a?(this.selectedId=null,this.childClosed.emit(this.parentComponent.componentId)):(YY(this,this.components[a-1].componentId),this.rootController.selectionChanged(this,this.selectedId))};g.closeSubtree=function(){if(this.selectedId){var a=ZY(this);a.showChildren?a.showChildren=!1:(this.selectedId=null,this.parentComponent.showChildren=!1,this.childClosed.emit(this.parentComponent.componentId));this.cdr.detectChanges()}};
g.showChildrenForSelectedId=function(){var a=ZY(this);a&&this.showChildren(a)};g.setSelected=function(a,b){zmc(b)||(YY(this,a),this.rootController.selectionChanged(this,a),b.preventDefault(),b.stopPropagation())};g.toggleChildrenForSelectedId=function(){var a=ZY(this);a&&(a.showChildren?(a.showChildren=!1,this.cdr.detectChanges()):this.showChildren(a))};$Y.\u0275fac=function(a){return new (a||$Y)(A(hV),A(NG),A(ZF),A(sH,2))};
$Y.\u0275cmp=p({type:$Y,selectors:[["component-subtree-list"]],inputs:{parentComponent:"parentComponent",rootController:"rootController",components:"components",includeArchived:"includeArchived"},outputs:{childClosed:"childClosed"},features:[Ug([sH]),qg,Hd],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&&(E(0,"ol",0),P(1,wZa,19,12,"li",1),F());a&2&&(z(1),D("ngForOf",b.components))},dependencies:[xw,yw,NC,uA,jB,zM,qP,qL,$Y],encapsulation:2});var zZa=function(a){return{q:a}},aZ=function(a,b,c,d,e,f){XY.call(this,a,d,f);this.paths=b;this.selectedId=null;this.includeArchived=!1;this.init=new Rv;this.subscriptions=new C.Subscription;this.destroyed$=new C.ReplaySubject(1);this.scrollArea=e.nativeElement.parentElement;this.registerKeys(c)};W(aZ,XY);g=aZ.prototype;
g.ngOnInit=function(){var a=this;this.rootController=this;(0,C.timer)(0).pipe(dg(this.destroyed$)).subscribe(function(){Bmc(a)&&!a.selectedId&&YY(a,a.components[0].componentId)});this.init.emit(this)};g.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete();this.subscriptions.unsubscribe()};g.ngOnChanges=function(a){a.components&&Cmc(this)};g.onSubtreeChildClosed=function(a){var b=this;YY(this,a);this.focusedController=void 0;(0,C.timer)(0).pipe(dg(this.destroyed$)).subscribe(function(){bZ(b)})};
g.fireSelectionEvent=function(a){var b=xmc(a);b&&b.click();bZ(this,a)};var Cmc=function(a){(0,C.timer)(0).pipe(dg(a.destroyed$)).subscribe(function(){Bmc(a)&&!a.selectedId&&YY(a,a.components[0].componentId)})};g=aZ.prototype;g.selectionChanged=function(a,b){b&&bZ(this,b);a!==this.focusedController&&(this.focusedController&&(b=this.focusedController,b.selectedId&&wmc(b,b.selectedId),b.selectedId=null),this.focusedController=a||void 0)};
g.setSelected=function(a,b){zmc(b)||(YY(this,a),this.selectionChanged(null),bZ(this),b.preventDefault(),b.stopPropagation())};
g.registerKeys=function(a){var b=this;this.subscriptions.add(KM(a,{title:"Browse Controls",hotkeys:[{keys:["j","DOWN"],displayAs:"j / Down",description:"Move to the next component",onPress:function(){b.selectNext()}},{keys:["k","UP"],displayAs:"k / Up",description:"Move to the previous component",onPress:function(){b.selectPrevious()}},{keys:["RIGHT"],displayAs:"Right",description:"View the components children",onPress:function(){b.showChildrenForSelectedId()}},{keys:["LEFT"],displayAs:"Left",description:"Close the components children",
onPress:function(){b.closeSubtree()}},{keys:["SPACE","ENTER"],displayAs:"Space / Enter",description:"Toggle component children display",onPress:function(){b.toggleChildrenForSelectedId()}}]}))};g.showChildrenForSelectedId=function(){if(this.focusedController)this.focusedController.showChildrenForSelectedId();else{var a=ZY(this);a&&this.showChildren(a)}};
g.toggleChildrenForSelectedId=function(){this.focusedController&&this.focusedController.toggleChildrenForSelectedId();var a=ZY(this);a&&(a.showChildren?(a.showChildren=!1,this.cdr.detectChanges()):this.showChildren(a))};g.closeSubtree=function(){this.focusedController?this.focusedController.closeSubtree():this.selectedId&&(ZY(this).showChildren=!1,this.cdr.detectChanges())};
g.selectPrevious=function(){if(this.focusedController)this.focusedController.selectPrevious();else{var a=ymc(this);Bmc(this)&&1<=a&&(YY(this,this.components[a-1].componentId),bZ(this))}};
g.selectNext=function(){if(Bmc(this))if(this.focusedController)this.focusedController.selectNext();else if(this.selectedId){var a=ymc(this),b=this.components[a];b.showChildren&&b.focusOnChildren&&!b.noChildren?(wmc(this,this.selectedId),this.selectedId=null,b.focusOnChildren()):a+1!=this.components.length&&(YY(this,this.components[a+1].componentId),bZ(this))}else YY(this,this.components[0].componentId),bZ(this)};
var bZ=function(a,b){var c=Dmc(a.scrollArea),d=c+a.scrollArea.offsetHeight;if(a=xmc(b||a.selectedId)){b=Dmc(a);var e=b+a.offsetHeight;b<c?a.scrollIntoView(!1):e>d&&a.scrollIntoView(!0)}},Dmc=function(a){for(var b=0;a&&a instanceof HTMLElement;)b+=a.offsetTop,a=a.offsetParent;return b},Bmc=function(a){return!!(a.components&&0<a.components.length)};aZ.\u0275fac=function(a){return new (a||aZ)(A(hV),A(NG),A(JM),A(ZF),A(ke),A(sH,2))};
aZ.\u0275cmp=p({type:aZ,selectors:[["component-tree-list"]],inputs:{components:"components",includeArchived:"includeArchived"},outputs:{init:"init"},features:[Ug([sH]),qg,Hd],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&&(E(0,"ol",0),P(1,HZa,19,12,"li",1),F());a&2&&(z(1),D("ngForOf",b.components))},dependencies:[xw,yw,NC,uA,jB,zM,qP,qL,$Y],encapsulation:2});var cZ=function(){};cZ.\u0275fac=function(a){return new (a||cZ)};cZ.\u0275mod=od({type:cZ});cZ.\u0275inj=Wc({imports:[Mw,ID,YC,OC,PP,vP,aO]});var Emc=0,dZ=function(){this.id="b-slide-toggle-"+ ++Emc;this.ariaLabel=this.label="";this.labelPosition="before";this.model=!1;this.tooltip=void 0;this.disabled=!1;this.modelChange=new Rv};dZ.\u0275fac=function(a){return new (a||dZ)};
dZ.\u0275cmp=p({type:dZ,selectors:[["b-slide-toggle"]],hostAttrs:[1,"vertical-centered"],inputs:{id:"id",label:"label",ariaLabel:["aria-label","ariaLabel"],labelPosition:"labelPosition",model:"model",tooltip:"tooltip",disabled:"disabled"},outputs:{modelChange:"modelChange"},decls:2,vars:7,consts:[[3,"id","disabled","checked","aria-label","matTooltip","labelPosition","change"]],template:function(a,b){a&1&&(E(0,"mat-slide-toggle",0),K("change",function(d){b.model=d.checked;b.modelChange.emit(d.checked)}),
Q(1),F());if(a&2){var c;D("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);Sg(b.label)}},dependencies:[YT,NC],styles:["mat-slide-toggle[_ngcontent-%COMP%] { vertical-align: middle; }"],changeDetection:0});var eZ=function(){};eZ.\u0275fac=function(a){return new (a||eZ)};eZ.\u0275mod=od({type:eZ});eZ.\u0275inj=Wc({imports:[HU,ID]});var Fmc=["spanElement"],fZ=function(){this.modelValue="";this.maxWidth=0;this.disabled=!1;this.displayString=""};fZ.prototype.ngOnChanges=function(a){if(a.modelValue||a.disabled)this.displayString=this.modelValue||""};fZ.prototype.ngDoCheck=function(){this.spanElement&&!this.disabled&&this.spanElement.nativeElement.offsetWidth>this.maxWidth&&(this.displayString=this.displayString.substring(0,this.maxWidth/this.spanElement.nativeElement.offsetWidth*this.displayString.length-3)+"...")};
fZ.prototype.getTooltip=function(){return this.displayString!==this.modelValue?this.modelValue:""};fZ.\u0275fac=function(a){return new (a||fZ)};
fZ.\u0275cmp=p({type:fZ,selectors:[["b-truncated-span"]],viewQuery:function(a,b){a&1&&ih(Fmc,5);if(a&2){var c;hh(c=kh())&&(b.spanElement=c.first)}},inputs:{modelValue:"modelValue",maxWidth:"maxWidth",disabled:"disabled"},features:[Hd],decls:2,vars:2,consts:[[3,"matTooltip","innerHtml"],["spanElement",""]],template:function(a,b){a&1&&H(0,"span",0,1);a&2&&D("matTooltip",b.getTooltip())("innerHtml",b.displayString,He)},dependencies:[NC],encapsulation:2});var gZ=function(){};gZ.\u0275fac=function(a){return new (a||gZ)};gZ.\u0275mod=od({type:gZ});gZ.\u0275inj=Wc({imports:[ID]});var Gmc=["popupField"],Hmc=["fieldContent"],Imc=["popupOverlay"],Jmc=["overlayContent"],d_a=function(a,b){return{"bv2-disabled":a,"bv2-readonly":b}},Kmc=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"}],hZ=function(a,b,c,d,e,f,h,l){Z.call(this);this.cdr=a;this.element=b;this.overlay=c;this.viewContainerRef=d;this.dateFormatter=e;this.activeSession=f;this.constants=h;this.appEvents=l;this.STATUS_FULL_TEXT=gF;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 Rv;this.disabled=this.readonly=!1;this.tooltip="";this.showAvailability=this.truncate=!1;this.enableTeamAnnotations=f.isInternalSession()};W(hZ,Z);hZ.\u0275dir=Z.\u0275dir;g=hZ.prototype;
g.ngOnInit=function(){var a=this;this.enableWaldoAvailability=DE(this.activeSession,"enableWaldoAvailability")&&this.activeSession.isInternalSession()&&this.showAvailability;this.subscriptions.add(this.appEvents.openEditField.subscribe(function(b){b!==a&&a.isActive&&(a.isActive=!1,Lmc(a),a.cdr.detectChanges())}));this.subscriptions.add(H0b(this.dateFormatter,function(){Mmc(a);a.cdr.detectChanges()}));this.destroyed$.subscribe(function(){Lmc(a)})};
g.ngOnDestroy=function(){Z.prototype.ngOnDestroy.call(this);this.overlayRef&&this.overlayRef.dispose()};g.ngOnChanges=function(a){["value","type","displayValueOverride","choices"].some(function(b){return b in a})&&Mmc(this)};g.ngAfterViewInit=function(){this.popupField&&(this.overlayRef=this.overlay.create({positionStrategy:this.getPositionStrategy(),scrollStrategy:this.overlay.scrollStrategies.reposition()}))};
g.getPositionStrategy=function(){return Dz(Ez(Fz(Hz(this.overlay.position(),this.fieldContent).setOrigin(this.fieldContent),!1),5),Kmc)};g.convertIssueStatusStrToTag=function(a){return rl[a]};
var Lmc=function(a){var b;(null==(b=a.overlayRef)?0:b.hasAttached())&&a.overlayRef.detach()},p_a=function(a,b){if(!a.autocompleteActive)switch(b.keyCode){case 13:b.stopPropagation();v_a(a);break;case 27:b.stopPropagation(),lr(a,b,!1,!0)}},n_a=function(a,b){if(!a.autocompleteActive)switch(b.keyCode){case 13:if(b.ctrlKey||b.metaKey)b.stopPropagation(),v_a(a);break;case 27:b.stopPropagation(),lr(a,b,!1,!0)}},$Za=function(a,b){switch(b.keyCode){case 13:case 32:b.stopPropagation();b.preventDefault();lr(a,
b,!0,!1);break;case 27:b.stopPropagation(),lr(a,b,!1,!0)}},lr=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,Lmc(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?Dj(c):null),"ENUM"===
a.type&&a.enumMenuTrigger.openMenu(),"ENUM"!==a.type){Nmc(a);var f=a.element.nativeElement;(0,C.fromEvent)(document,"click").pipe(Gf(function(h){return!f.contains(h.target)}),Rf(),dg(a.overlayRef._detachments),dg(a.destroyed$)).subscribe(function(){lr(a,null,!1,!1)})}null==b||b.stopPropagation();a.cdr.detectChanges()}};hZ.prototype.schedule=function(a){var b=C.asyncScheduler.schedule(a);this.destroyed$.subscribe(function(){b.unsubscribe()})};
hZ.prototype.getDisplayValue=function(a){return null===this.displayValue?a:this.displayValue};
var Mmc=function(a){var b=a.value;switch(a.type){case "ENUM":if("Type"===a.title&&b&&F0b.has(b)){a.displayValue=Era(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(Dj(b)):a.displayValue=null;a.readonlyTooltip=null;break;default:a.displayValueOverride?
a.displayValue=a.displayValueOverride:a.displayValue=b?String(b):null,a.readonlyTooltip=null}};hZ.prototype.setFieldValue=function(a){this.disabled||this.readonly||("DATE"===this.type&&a&&(a=Ej(a)),"NUMERIC"===this.type&&""===a&&(a=null),Fj(this.value,a)?"ENUM"===this.type&&lr(this,null,!1,!0):(lr(this,null,!1,!0),this.value=a,this.valueChange.emit(this.value)))};
var v_a=function(a){if(void 0===a.type)throw Error("de");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("ee");default:jj(a.type,"FieldType")}};
hZ.prototype.clearFieldValue=function(){this.value=null;this.valueChange.emit(this.value);lr(this,null,!1,!0)};var Nmc=function(a){Lmc(a);var b=a.overlayRef.attach(new Mx(a.popupOverlay,a.viewContainerRef)).rootNodes[0];a.schedule(function(){if("TEXT"===a.type||"NUMERIC"===a.type){var c=b.querySelector("textarea, input");c.focus();c.select()}else"DATE"===a.type&&b.querySelector(".goog-date-picker").focus()})};
hZ.prototype.getTooltip=function(){return this.readonly?this.readonlyTooltip||"":this.tooltip?this.tooltip:this.title?"Set "+this.title:""};hZ.prototype.isBoolean=function(){return"BOOL"===this.type};hZ.prototype.getPriority=function(a){return"string"===typeof a?a.toLowerCase():""};hZ.\u0275fac=function(a){return new (a||hZ)(A(sH,2),A(ke),A(Iz),A(fh),A(hJ),A(Vt),A(gJ),A(cG))};
hZ.\u0275cmp=p({type:hZ,selectors:[["b-edit-field"]],viewQuery:function(a,b){a&1&&(ih(EC,5),ih(Gmc,5),ih(Hmc,5),ih(Imc,5),ih(Jmc,5));if(a&2){var c;hh(c=kh())&&(b.enumMenuTrigger=c.first);hh(c=kh())&&(b.popupField=c.first);hh(c=kh())&&(b.fieldContent=c.first);hh(c=kh())&&(b.popupOverlay=c.first);hh(c=kh())&&(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:[Ug([sH]),qg,Hd],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&&(E(0,"div")(1,"div",0),P(2,b_a,7,14,"div",1),P(3,e_a,3,13,"div",2),P(4,g_a,2,1,"ng-container",3),H(5,"div",4),F(),E(6,"mat-menu",null,5),P(8,j_a,2,2,"ng-template",6),F(),P(9,x_a,6,7,"ng-template",null,7,qh),F());a&2&&(z(1),Fg("active",b.isActive&&!b.readonly&&!b.disabled),z(1),D("ngIf","BOOL"!==b.type),z(1),D("ngIf",b.isBoolean(b.value)),z(1),D("ngIf",b.isUser))},dependencies:[OI,ww,xw,yw,Dw,zw,Aw,Bw,WS,gY,Qh,ax,hx,tA,jB,FC,DC,EC,CC,NC,dZ,OK,fZ,UK,
CP,Fw],styles:[".bv2-issue-metadata-field-edit[_ngcontent-%COMP%] { position: relative; }"]});var Omc={ENUM:"ENUM",BOOL:"BOOL",DATE:"DATE",TEXT:"TEXT",NUMERIC:"NUMERIC"},iZ=function(){};iZ.\u0275fac=function(a){return new (a||iZ)};iZ.\u0275mod=od({type:iZ});iZ.\u0275inj=Wc({imports:[zP,DT,Mw,XS,xY,wx,YC,OC,GC,ID,eZ,VN,XJ,gZ,DP]});var Pmc=0,jZ=function(a){this.elementRef=a;this.titleWhenExpanded=this.titleWhenCollapsed="";this.isExpanded=!1;this.iconName="";this.hasCompactTitleBar=!1;this.headerId="b-collapsible-panel-header-"+Pmc;this.id="b-collapsible-panel-"+Pmc;Pmc++};jZ.prototype.toggleExpansion=function(){var a=this;this.isExpanded||setTimeout(function(){return a.elementRef.nativeElement.scrollIntoView({behavior:"smooth",block:"nearest"})},200);this.isExpanded=!this.isExpanded};
Xi.Object.defineProperties(jZ.prototype,{title:{configurable:!0,enumerable:!0,set:function(a){this.titleWhenCollapsed=this.titleWhenExpanded=a},get:function(){return this.isExpanded?this.titleWhenExpanded:this.titleWhenCollapsed}},expandedState:{configurable:!0,enumerable:!0,get:function(){return this.isExpanded?"expanded":"collapsed"}}});jZ.\u0275fac=function(a){return new (a||jZ)(A(ke))};
jZ.\u0275cmp=p({type:jZ,selectors:[["collapsible-panel"],["b-collapsible-panel"]],inputs:{titleWhenCollapsed:"titleWhenCollapsed",titleWhenExpanded:"titleWhenExpanded",isExpanded:"isExpanded",iconName:"iconName",hasCompactTitleBar:"hasCompactTitleBar",title:"title"},ngContentSelectors:["*"],decls:8,vars:12,consts:[[1,"collapsible-panel"],["aria-label","collapsible panel",1,"title-bar","unstyled-button",3,"click","mouseup"],["size","small","class","icon",3,"name",4,"ngIf"],["class","title",4,"ngIf"],
["class","horizontal-line",4,"ngIf"],["svgIcon","arrow-down",1,"icon-s"],["role","region",1,"content"],["size","small",1,"icon",3,"name"],[1,"title"],[1,"horizontal-line"]],template:function(a,b){a&1&&(Ng(),E(0,"div",0)(1,"button",1),K("click",function(){return b.toggleExpansion()})("mouseup",function(){b.elementRef.nativeElement.querySelector(".title-bar").blur()}),P(2,z_a,1,1,"b-icon",2),P(3,A_a,2,1,"span",3),P(4,B_a,2,0,"div",4),H(5,"mat-icon",5),F(),E(6,"div",6),Og(7),F()());a&2&&(z(1),Fg("compact",
b.hasCompactTitleBar),ug("id",b.headerId)("aria-expanded",b.isExpanded)("aria-controls",b.id),z(1),D("ngIf",b.iconName),z(1),D("ngIf",!b.hasCompactTitleBar||!b.isExpanded),z(1),D("ngIf",b.hasCompactTitleBar),z(1),D("@expandCollapseIcon",b.expandedState),z(1),D("@expandCollapseContent",b.expandedState),ug("id",b.id)("aria-labelledby",b.headerId))},dependencies:[yw,jB,GN],styles:['.collapsible-panel[_ngcontent-%COMP%]   .title-bar[_ngcontent-%COMP%]{font-family:"Google Sans",Roboto,Arial,sans-serif;font-size:.875rem;letter-spacing:.0107142857em;font-weight:500;color:#1a73e8;color:var(--text-primary);cursor:pointer;display:flex;flex-direction:row;padding:4px 4px 4px 7px;margin:6px 0px 6px 12px;width:calc(100% - 18px);border-radius:4px;transition:200ms background-color}.collapsible-panel[_ngcontent-%COMP%]   .title-bar[_ngcontent-%COMP%]:focus{background-color:#e8f0fe;background-color:var(--primary-c50)}.collapsible-panel[_ngcontent-%COMP%]   .title-bar[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{flex-grow:1}.collapsible-panel[_ngcontent-%COMP%]   .compact[_ngcontent-%COMP%]{color:#5f6368;color:var(--muted);padding:0;margin:0;font-size:.75rem;letter-spacing:.025em;width:100%}.collapsible-panel[_ngcontent-%COMP%]   .compact[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{flex-grow:0;margin-left:3px}.collapsible-panel[_ngcontent-%COMP%]   .compact[_ngcontent-%COMP%]   b-icon[_ngcontent-%COMP%]{min-width:20px}.collapsible-panel[_ngcontent-%COMP%]   .compact[_ngcontent-%COMP%]   .horizontal-line[_ngcontent-%COMP%]{border-bottom:1px solid var(--text-disabled);flex-grow:1;height:.8vh;margin-left:8px;margin-right:10px}.collapsible-panel[_ngcontent-%COMP%]   .compact[_ngcontent-%COMP%]   .icon-s[_ngcontent-%COMP%]{margin-right:-3px}.collapsible-panel[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]{overflow:hidden}'],
data:{animation:[ri("expandCollapseContent",[ui("expanded",ti({height:"*",visibility:"visible"})),ui("collapsed",ti({height:"0",visibility:"hidden"})),vi("expanded <=> collapsed",[si("200ms")])]),ri("expandCollapseIcon",[ui("expanded",ti({transform:"rotate(-180deg)"})),ui("collapsed",ti({transform:"*"})),vi("expanded <=> collapsed",[si("200ms")])])]}});var kZ=function(){};kZ.\u0275fac=function(a){return new (a||kZ)};kZ.\u0275mod=od({type:kZ});kZ.\u0275inj=Wc({imports:[Mw,OC,eO]});var Qmc=["addLink"],Rmc=["showFewer"],Smc=["showMore"],Tmc=["removeButton"],D_a=function(a,b){return{item:a,$index:b}},Umc=[[["",8,"title-action"]],[["",8,"value-action"]]],Vmc=[Object.assign({},nr("start","bottom"),or("start","top"),{offsetY:8}),Object.assign({},nr("center","bottom"),or("center","top"),{offsetY:8}),Object.assign({},nr("end","bottom"),or("end","top"),{offsetY:8}),Object.assign({},nr("start","top"),or("start","bottom"),{offsetY:-8}),Object.assign({},nr("end","top"),or("end","bottom"),
{offsetY:-8})],lZ=function(a,b,c,d){Z.call(this);this.cdr=a;this.dateFormatter=b;this.analytics=c;this.OVERLAY_POSITION_LIST=Vmc;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 Rv;this.showingAll=this.listFieldDisabled=!1;this.tooltip=this.title="";this.truncate=!1;
this.additionAllowed=!0;this.isExpanded=this.isCollapsible=!1;this.collapsiblePanelTitle=this.iconName="";this.inputValidator=null;this.teamId=this.invalidMessage="";this.isString=Ij;this.enableTeamAnnotations=d.isInternalSession();this.environmentType=d.getEnvironmentType()};W(lZ,Z);lZ.\u0275dir=Z.\u0275dir;lZ.prototype.ngOnChanges=function(a){var b;if(null==(b=a.users)?0:b.currentValue)for(a=m(a.users.currentValue),b=a.next();!b.done;b=a.next()){b=b.value;var c=ck(b);c&&this.userMap.set(c,Gj(b))}};
lZ.prototype.ngOnInit=function(){J_a(this)};var J_a=function(a){a.sortedEnumChoices=[].concat(r(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})},K_a=function(a){var b=a.values||[],c=[].concat(r(a.enumPendingValues)),d=c.filter(function(f){return!b.includes(f)}),e=b.filter(function(f){return!c.includes(f)});if(d.length||e.length)a.values=c,a.valuesChange.emit({values:a.values,added:d,removed:e})};
lZ.prototype.isCustomField=function(){return["REPEATED_TEXT","REPEATED_DATE","REPEATED_ENUM","REPEATED_NUMERIC"].includes(this.type)};
lZ.prototype.removeItem=function(a){var b=this;if(!this.listFieldDisabled){var c=this.values.splice(a,1);this.valuesChange.emit({values:this.values,removed:c})}this.schedule(function(){var d;if(null==(d=b.values)?0:d.length){d=Math.min(a,b.values.length-1);var e,f,h;null==(e=b.removeButtons)||null==(f=e.get(d))||null==(h=f.nativeElement)||h.focus()}else{var l,q;null==(l=b.addLinkEl)||null==(q=l.nativeElement)||q.focus()}})};
lZ.prototype.addItems=function(a){var b=[];this.values=this.values||[];if(a)if("REPEATED_DATE"===this.type){var c=Ej(a);this.preventDuplicates&&this.values.find(function(f){return Fj(f,c)})||b.push(c)}else if("REPEATED_NUMERIC"===this.type&&Pna(this.values)&&Pna(b))a=Number(a),this.preventDuplicates&&this.values.includes(a)||b.push(a);else if(Jj(this.values)&&Jj(b))if(this.isCustomField())this.preventDuplicates&&this.values.includes(a)||b.push(a);else if(!this.isCustomField()){a=m(a.split(/[,; ]/));
for(var d=a.next();!d.done;d=a.next()){var e=d=d.value;"CHANGELISTS"===this.type&&(e=Wmc(d));e&&!this.values.includes(e)&&b.push(e)}}this.isDefaultOrAllowedValues&&"REPEATED_DATE"!==this.type||m0a(this,!0);0!==b.length&&(this.values=[].concat(r(this.values),r(b)),this.valuesChange.emit({values:this.values,added:b}))};
var Wmc=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 isNaN(Number(a))?null:a};lZ.prototype.onDrop=function(a){tp(this.values,a.previousIndex,a.currentIndex);this.valuesChange.emit({values:this.values})};
var m0a=function(a,b){var c,d=m(null!=(c=a.menuTriggers)?c:[]);for(c=d.next();!c.done;c=d.next())c.value.closeMenu();var e;d=m(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()},mr=function(a,b,c){null==c||c.stopPropagation();null==c||c.preventDefault();a.showingAll=b;a.cdr.detectChanges();a.schedule(function(){var d,e,f;null==(d=null!=(f=a.showFewer)?f:a.showMore)||null==(e=d.nativeElement)||
e.focus()})};lZ.prototype.getDisplayValues=function(){var a=this;return this.values&&"REPEATED_DATE"===this.type?this.values.map(function(b){return a.dateFormatter.formatUserCalendar(Dj(b))}):this.values&&"TEAM"===this.type?this.values:this.values&&"WORKSPACES"===this.type?this.values:this.displayValuesOverride||(this.values||[]).map(function(b){return Ij(b)?b:Hj(b)?""+b:a.dateFormatter.formatUserCalendar(Dj(b))})};
var l0a=function(a,b,c){var d,e,f,h;return of(function(l){if(1==l.nextAddress){if(!a.inputValidator)return l.jumpTo(2);d=a;return l.yield(a.inputValidator(b.value.input),3)}2!=l.nextAddress&&(d.invalidMessage=l.yieldResult,a.cdr.detectChanges());if(!b.valid||a.invalidMessage)return l.return();e=b.value.input;null==(f=b)||f.reset();null==(h=c.querySelector("input"))||h.focus();a.addItems(e);tf(l)})};g=lZ.prototype;g.trackClick=function(a){this.analytics.trackEvent(Mp.LINK_FIELD,"click",a)};
g.getUser=function(a){return this.userMap.get(a)};g.schedule=function(a){this.subscriptions.add(C.asyncScheduler.schedule(a))};g.trackByIndex=function(a){return a};g.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};g.asNumber=function(a){return Number(a)};
g.getAriaLabel=function(){if(!this.values||0===this.values.length)return this.title+" is empty";var a=this.title+" has "+this.values.length+" ";switch(this.type){case "USERCHIP":a+="user";break;case "REPEATED_DATE":a+="date";break;default:a+="item"}1<this.values.length&&(a+="s");return a};lZ.\u0275fac=function(a){return new (a||lZ)(A(sH,2),A(hJ),A(wH),A(Vt))};
lZ.\u0275cmp=p({type:lZ,selectors:[["b-list-field"]],viewQuery:function(a,b){a&1&&(ih(Qmc,5),ih(Rmc,5),ih(Smc,5),ih(Tmc,5),ih(EC,5),ih(tX,5));if(a&2){var c;hh(c=kh())&&(b.addLinkEl=c.first);hh(c=kh())&&(b.showFewer=c.first);hh(c=kh())&&(b.showMore=c.first);hh(c=kh())&&(b.removeButtons=c);hh(c=kh())&&(b.menuTriggers=c);hh(c=kh())&&(b.popupTriggers=c)}},inputs:{defaultLineCount:"defaultLineCount",readonly:"readonly",preventDuplicates:"preventDuplicates",isDefaultOrAllowedValues:"isDefaultOrAllowedValues",
values:"values",users:"users",displayValuesOverride:"displayValuesOverride",enumChoices:"enumChoices",isUser:"isUser",listFieldDisabled:"listFieldDisabled",showingAll:"showingAll",title:"title",type:"type",tooltip:"tooltip",truncate:"truncate",additionAllowed:"additionAllowed",isCollapsible:"isCollapsible",isExpanded:"isExpanded",iconName:"iconName",collapsiblePanelTitle:"collapsiblePanelTitle",inputValidator:"inputValidator",teamId:"teamId"},outputs:{valuesChange:"valuesChange"},features:[Ug([sH]),
qg,Hd],ngContentSelectors:[".title-action",".value-action"],decls:23,vars:18,consts:[[1,"bv2-issue-metadata-list-field","bv2-issue-metadata-field"],["tabindex","0",1,"bv2-issue-metadata-field-inner",3,"matTooltip","matTooltipPosition"],[1,"bv2-editable-title"],[4,"ngIf"],["cdkDropList","",1,"list-field-content",3,"cdkDropListDisabled","cdkDropListDropped"],[3,"isExpanded","iconName","hasCompactTitleBar","title",4,"ngIf"],[1,"bv2-field-user-action-footer"],["addLink",""],[3,"ngSwitch",4,"ngIf"],["itemRenderer",
""],["metadataTools",""],["enumPopup","matMenu"],["matMenuContent",""],["textPopup",""],["datePopup",""],[3,"isExpanded","iconName","hasCompactTitleBar","title"],["cdkDrag","",4,"ngFor","ngForOf","ngForTrackBy"],[3,"ngTemplateOutlet"],["cdkDrag",""],[3,"ngTemplateOutletContext","ngTemplateOutlet"],[3,"ngSwitch"],["mat-button","","aria-haspopup","true","class","mat-primary bv2-metadata-tool bv2-metadata-link tiny","matTooltip","Select items in the list","tabindex","0",3,"matMenuTriggerFor","menuOpened",
"menuClosed",4,"ngSwitchCase"],["mat-button","","class","mat-primary bv2-metadata-tool bv2-metadata-link tiny","matTooltip","Add a new item to the list","tabindex","0",3,"xapInlineDialogClick","overlayPositions",4,"ngSwitchCase"],["mat-button","","panelClass","bv2-add-item-bubble","class","mat-primary bv2-metadata-tool bv2-metadata-link tiny","tabindex","0",3,"xapInlineDialogClick","overlayPositions","matTooltip","beforeOpened",4,"ngSwitchDefault"],["mat-button","","aria-haspopup","true","matTooltip",
"Select items in the list","tabindex","0",1,"mat-primary","bv2-metadata-tool","bv2-metadata-link","tiny",3,"matMenuTriggerFor","menuOpened","menuClosed"],["mat-button","","matTooltip","Add a new item to the list","tabindex","0",1,"mat-primary","bv2-metadata-tool","bv2-metadata-link","tiny",3,"xapInlineDialogClick","overlayPositions"],["mat-button","","panelClass","bv2-add-item-bubble","tabindex","0",1,"mat-primary","bv2-metadata-tool","bv2-metadata-link","tiny",3,"xapInlineDialogClick","overlayPositions",
"matTooltip","beforeOpened"],["class","flex-kids-x flex-cross-axis-centered flex-wrappable",4,"ngIf"],[1,"flex-kids-x","flex-cross-axis-centered","flex-wrappable"],[1,"bv2-issue-metadata-list-item"],[4,"ngIf","ngIfElse"],["checkIfWorkspaces",""],["checkIfTeam",""],["checkIfPostMortems",""],["default",""],["class","bv2-remove-icon bv2-remove-item keep-focus-ring",3,"disabled","matTooltip","click",4,"ngIf"],[1,"float-clear"],[3,"changelistId"],["target","_blank",1,"bv2-metadata-link",3,"href"],[3,"teamId",
"componentId"],["target","_blank",1,"bv2-metadata-link",3,"href","click"],["class","list-field-user-container",4,"ngIf"],[3,"maxWidth","modelValue","disabled"],[1,"list-field-user-container"],[3,"user","email","teamId","enableSmallChip",4,"ngIf"],[3,"email",4,"ngIf"],[3,"user","email","teamId","enableSmallChip"],[3,"email"],[1,"bv2-remove-icon","bv2-remove-item","keep-focus-ring",3,"disabled","matTooltip","click"],["removeButton",""],["class","bv2-metadata-tool bv2-metadata-link","tabindex","0","role",
"button",3,"matTooltip","click","keydown.enter","keydown.space",4,"ngIf"],["tabindex","0","role","button",1,"bv2-metadata-tool","bv2-metadata-link",3,"matTooltip","click","keydown.enter","keydown.space"],["showFewer",""],[1,"bv2-metadata-tool"],["tabindex","0","role","button",1,"bv2-metadata-link",3,"matTooltip","click","keydown.enter","keydown.space"],["showMore",""],["mat-menu-item","","type","button","role","menuitemcheckbox",3,"disabled","b-menu-item-checked","click",4,"ngFor","ngForOf","ngForTrackBy"],
["mat-menu-item","","type","button","role","menuitemcheckbox",3,"disabled","click"],[1,"b-menu-item-check-mark"],["svgIcon","done",1,"icon-s"],[3,"ngSubmit"],["textPopupForm","ngForm","formEl",""],["type","text","name","input","ngModel","","required","","aria-expanded","true","autofocus","",3,"bContactAutocomplete",4,"ngIf"],["name","input","ngModel","","required","","step","any","aria-expanded","true","autofocus","",3,"type",4,"ngIf"],[1,"bv2-list-field-addition-dialog-buttons"],["mat-flat-button",
"","type","submit",1,"gmat-button","medium","field-popup-button",3,"disabled"],["svgIcon","done"],["mat-stroked-button","","type","button",1,"gmat-button","medium","field-popup-button",3,"click"],["svgIcon","close"],["type","text","name","input","ngModel","","required","","aria-expanded","true","autofocus","",3,"bContactAutocomplete"],["name","input","ngModel","","required","","step","any","aria-expanded","true","autofocus","",3,"type"],[3,"required","renderPanel","dateChange","cancelClicked"]],template:function(a,
b){a&1&&(Ng(Umc),E(0,"div",0)(1,"div",1)(2,"div",2),P(3,C_a,2,1,"label",3),Og(4),F(),E(5,"div",4),K("cdkDropListDropped",function(c){return b.onDrop(c)}),P(6,F_a,3,7,"collapsible-panel",5),P(7,I_a,4,4,"ng-container",3),E(8,"div",6,7),P(10,O_a,4,3,"ng-container",8),Og(11,1),F()()(),P(12,c0a,1,1,"ng-template",null,9,qh),P(14,f0a,2,2,"ng-template",null,10,qh),E(16,"mat-menu",null,11),P(18,h0a,1,2,"ng-template",12),F(),P(19,n0a,13,6,"ng-template",null,13,qh),P(21,o0a,1,2,"ng-template",null,14,qh),F());
a&2&&(Fg("empty-list-field-indication",!(null==b.values?0:b.values.length))("active",b.isActive&&!b.listFieldDisabled&&!b.readonly),z(1),Fg("bv2-disabled",b.listFieldDisabled)("bv2-readonly",b.readonly),D("matTooltip",b.tooltip)("matTooltipPosition","left"),ug("aria-label",b.getAriaLabel()),z(2),D("ngIf",b.title),z(2),Fg("draggable",(null==b.values?null:b.values.length)&&b.isDefaultOrAllowedValues),D("cdkDropListDisabled",!b.isDefaultOrAllowedValues),z(1),D("ngIf",b.isCollapsible),z(1),D("ngIf",!b.isCollapsible),
z(3),D("ngIf",!b.readonly&&b.additionAllowed))},dependencies:[xw,yw,Dw,zw,Aw,Bw,UA,tM,gY,ix,Qh,ax,bx,sx,hx,fx,tA,NC,OK,fZ,CP,DL,EL,qX,pX,tX,FC,DC,EC,CC,jB,WS,jZ,jL],styles:"xap-dialog-layout[_ngcontent-%COMP%] { padding: 16px; },xap-dialog-layout-content[_ngcontent-%COMP%] { padding: 0; },.list-field-content.draggable[_ngcontent-%COMP%] { cursor: grab; },.list-field-content.draggable[_ngcontent-%COMP%]:active { cursor: grabbing; },.bv2-editable-title[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{word-break: normal; overflow-wrap: anywhere;},[_nghost-%COMP%]     .bv2-field-user-action-footer span {width: max-content; display:flex;}".split(",")});
var Xmc={USERCHIP:"USERCHIP",CHANGELISTS:"CHANGELISTS",POSTMORTEMS:"POSTMORTEMS",REPEATED_TEXT:"REPEATED_TEXT",REPEATED_DATE:"REPEATED_DATE",REPEATED_ENUM:"REPEATED_ENUM",REPEATED_NUMERIC:"REPEATED_NUMERIC",TEAM:"TEAM",WORKSPACES:"WORKSPACES"},mZ=function(){};mZ.\u0275fac=function(a){return new (a||mZ)};mZ.\u0275mod=od({type:mZ});mZ.\u0275inj=Wc({imports:[Mw,aB,dU,xY,wx,YC,ID,VN,ZN,gZ,DP,FL,FX,HX,GC,OC,XS,kZ,HX,$N]});var r0a=function(){return[]},nZ=function(){this.disabled=this.readonly=!1;this.save=new Rv},Ymc=function(a){return a.issue.customFieldMap[a.field.customFieldId]};nZ.prototype.getDisplayValue=function(){var a,b,c=null!=(b=null==(a=Ymc(this).displayValues)?void 0:a[0])?b:null;"0.0"===c&&(c="0");return c};nZ.prototype.getTooltip=function(){var a;return(null!=(a=this.field.description)?a:"")+" [ID: "+this.field.customFieldId+"]"};
var q0a=function(a){return(a=Ymc(a).getValue())&&void 0===a.values?a:null},t0a=function(a){return(a=Ymc(a).getValue())&&void 0!==a.values?a.values:null};nZ.\u0275fac=function(a){return new (a||nZ)};
nZ.\u0275cmp=p({type:nZ,selectors:[["b-custom-field-editor"]],viewQuery:function(a,b){a&1&&ih(hZ,5);if(a&2){var c;hh(c=kh())&&(b.editField=c.first)}},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&&P(0,v0a,3,2,"ng-container",0);a&2&&D("ngIf",Ymc(b))},dependencies:[yw,lZ,hZ],encapsulation:2});var oZ=function(){};
oZ.\u0275fac=function(a){return new (a||oZ)};oZ.\u0275mod=od({type:oZ});oZ.\u0275inj=Wc({imports:[Mw,mZ,iZ]});var pZ=function(){this.customFields=this.selectedComponent=null;this.fieldSelected=new Rv;this.filter=function(){return!0}};pZ.prototype.onComponentSelect=function(a){var b=this;if(this.selectedComponent=a){var c;this.customFields=((null==(c=a.componentPathInfo)?void 0:c.allCustomField)||[]).filter(function(d){return b.filter(d)}).sort(function(d,e){return d.name.localeCompare(e.name)})}else this.customFields=null};pZ.\u0275fac=function(a){return new (a||pZ)};
pZ.\u0275cmp=p({type:pZ,selectors:[["b-custom-field-picker"]],inputs:{filter:"filter"},outputs:{fieldSelected:"fieldSelected"},decls:5,vars:4,consts:[[1,"bv2-custom-field-picker"],[1,"bv2-custom-field-picker-message"],[3,"selectedComponent","placeholder","isRequired","selectedComponentChange"],["class","bv2-custom-field-picker-select-box",4,"ngIf"],[1,"bv2-custom-field-picker-select-box"],[4,"ngIf"],["appearance","outline"],[1,"mat-select","bv2-custom-field-picker-select",3,"selectionChange"],[3,
"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(a,b){a&1&&(E(0,"div",0)(1,"div",1),Q(2," First, select a component that contains the custom field. "),F(),E(3,"b-team-component-picker",2),K("selectedComponentChange",function(c){return b.onComponentSelect(null!==c&&void 0!==c?c:null)}),F(),P(4,A0a,4,3,"div",3),F());a&2&&(z(3),D("selectedComponent",b.selectedComponent)("placeholder","Choose Component")("isRequired",!0),z(1),D("ngIf",b.selectedComponent))},dependencies:[xw,yw,XA,VA,lP,vA,
nV],encapsulation:2});var qZ=function(){};qZ.\u0275fac=function(a){return new (a||qZ)};qZ.\u0275mod=od({type:qZ});qZ.\u0275inj=Wc({imports:[Mw,mP,vW]});var Zmc=function(a){return{value:a}},rZ=function(){this.isNonemptyJsonDateValue=Cna};rZ.prototype.toDate=function(a){return Dj(a)};rZ.\u0275fac=function(a){return new (a||rZ)};
rZ.\u0275cmp=p({type:rZ,selectors:[["b-custom-field-value-display"]],inputs:{customFieldValue:"customFieldValue"},decls:6,vars:4,consts:[[1,"bv2-custom-field-value-display"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["null",""],["nonNull",""],[4,"ngIf"],["mode","date",3,"date"],[4,"ngFor","ngForOf"]],template:function(a,b){a&1&&(E(0,"span",0),P(1,B0a,1,0,"ng-container",1),F(),P(2,C0a,0,0,"ng-template",null,2,qh),P(4,P0a,8,8,"ng-template",null,3,qh));if(a&2){var c=O(5);z(1);D("ngTemplateOutlet",
null==b.customFieldValue?null:c)("ngTemplateOutletContext",Xg(2,Zmc,b.customFieldValue))}},dependencies:[xw,yw,Dw,cL],encapsulation:2});var sZ=function(){};sZ.\u0275fac=function(a){return new (a||sZ)};sZ.\u0275mod=od({type:sZ});sZ.\u0275inj=Wc({imports:[Mw,IN]});var bnc=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 wJ;this.selectedVerifiersStatus=this.selectedAssigneesStatus="ISSUE_SELECTION_STATUS_UNSPECIFIED";$mc(this,b);anc(this,b)},$mc=function(a,b){var c=b[0],d=Cn[c.status],
e=c.duplicateOfIssueId;if(d)for(b.every(function(f){return"DUPLICATE"===f.status&&e===f.duplicateOfIssueId})&&e&&(a.commonDuplicateOf=e,a.origCommonDuplicateOf=e),c=1;c<b.length;c++)if(b[0].status!==b[c].status){d=void 0;break}a.issueState=d;a.origCommonIssueState=d},cnc=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||ip(c)})?b?"MULTIPLE":"IDENTICAL_EMAILS":"POSSIBLY_MULTIPLE"},anc=function(a,b){var c=
b.map(function(d){return d.assigneeEmail});b=b.map(function(d){return d.verifierEmail});a.selectedAssigneesStatus=cnc(c);a.selectedVerifiersStatus=cnc(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])};
bnc.prototype.clearAssignee=function(){this.commonAssignee="";this.selectedAssigneesStatus="ISSUE_SELECTION_STATUS_UNSPECIFIED";this.overwriteAssignee=!0;A1a(this)};bnc.prototype.clearVerifier=function(){this.commonVerifier="";this.selectedVerifiersStatus="ISSUE_SELECTION_STATUS_UNSPECIFIED";this.overwriteVerifier=!0};
var tr=function(a){return a.origIssues.every(function(b){return!!b.verifierEmail})},w1a=function(a,b){(a.origCommonIssueState=b)?("NEW"===b.status?dnc(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||dnc(a.selectedAssigneesStatus)||(a.commonAssignee=a.lastCommonAssignee?
a.lastCommonAssignee:a.userEmail),dnc(a.selectedVerifiersStatus)||a.commonVerifier||"VERIFIED"!==b.status||(a.commonVerifier=a.userEmail)),a.issueState=a.origCommonIssueState):a.issueState=void 0},dnc=function(a){return"MULTIPLE"===a||"POSSIBLY_MULTIPLE"===a},A1a=function(a){var b=Cn.NEW,c=Cn.ASSIGNED;a.issueState===b&&a.commonAssignee?a.issueState=a.origCommonIssueState===b?c:a.origCommonIssueState:a.commonAssignee||a.issueState&&!dVb.has(a.issueState)||(a.issueState=b)},enc=function(a){var b=a.issueState;
return b?a.origIssues.some(function(c){return b.status!==c.status}):!1},L1a=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);enc(a)&&b.set("status",a.issueState.status);a.comment.value&&b.set("comment",a.comment.value);return b};var fnc=function(a){this.uploadUrl_=a};var gnc=function(){wq.call(this)};gu(gnc,wq);var tZ=function(a){zB.call(this,a)};gu(tZ,zB);var uZ=function(a){zB.call(this,a)};gu(uZ,zB);var hnc=function(a,b){this.name_=a;this.inputElement_=b};hnc.prototype.getName=function(){return this.name_};var inc=function(){this.maxChunkSize_=1073741824;this.retryOnHttpClientErrorEnabled_=!1};var vZ=function(){wq.call(this);this.name_="closure_frame"+jnc++;this.iframesForDisposal_=[];knc[this.name_]=this},wZ;gu(vZ,wq);var knc={},jnc=0,lnc=function(a,b){var c=zq(a);qRb(b,function(d,e){Array.isArray(d)||(d=[d]);Ea(d,function(f){f=c.createDom("INPUT",{type:"hidden",name:e,value:f});a.appendChild(f)})})};g=vZ.prototype;g.form_=null;g.iframe_=null;g.iframeName_=null;g.nextIframeId_=0;g.active_=!1;g.complete_=!1;g.success_=!1;g.lastUri_=null;g.lastContent_=null;g.lastErrorCode_=0;
g.iframeDisposalTimer_=null;g.send=function(a,b,c,d){if(this.active_)throw Error("fe");this.lastUri_=a=new Cq(a);b=b?b.toUpperCase():"GET";c&&uD(a);wZ||(wZ=HNb("FORM"),wZ.acceptCharset="utf-8",c=wZ.style,c.position="absolute",c.visibility="hidden",c.top=c.left="-10px",c.width=c.height="10px",c.overflow="hidden",document.body.appendChild(wZ));this.form_=wZ;"GET"==b&&lnc(this.form_,a.queryData_);d&&lnc(this.form_,d);yEb(this.form_,ni(a.toString()));this.form_.method=b;mnc(this);nnc(this)};
g.abort=function(a){if(this.active_){var b=xZ(this);if(b)if(BB(b))b.removeAllListeners(void 0);else if(b=EB(b)){var c=0,d;for(d in b.listeners)for(var e=b.listeners[d].concat(),f=0;f<e.length;++f)GB(e[f])&&++c}this.success_=this.active_=this.complete_=!1;this.lastErrorCode_=a||7;this.dispatchEvent("abort");onc(this)}};
g.disposeInternal=function(){this.active_&&this.abort();vZ.superClass_.disposeInternal.call(this);this.iframe_&&pnc(this);nnc(this);delete this.errorChecker_;this.lastUri_=this.lastContent_=this.form_=null;this.lastErrorCode_=0;delete knc[this.name_]};g.isComplete=function(){return this.complete_};g.isSuccess=function(){return this.success_};g.isActive=function(){return this.active_};g.getResponseText=function(){return this.lastContent_};g.getResponseJson=function(){return gPb(this.lastContent_)};
g.getLastUri=function(){return this.lastUri_};g.getLastErrorCode=function(){return this.lastErrorCode_};g.getLastError=function(){return nPb(this.lastErrorCode_)};
var mnc=function(a){a.active_=!0;a.complete_=!1;a.lastErrorCode_=0;a.iframeName_=a.name_+"_"+(a.nextIframeId_++).toString(36);a.iframe_=zq(a.form_).createDom("IFRAME",{name:a.iframeName_,id:a.iframeName_});iu&&7>Number(MCb)&&yEb(a.iframe_,ni(yc(Jp('javascript:""'))));var b=a.iframe_.style;b.visibility="hidden";b.width=b.height="10px";b.display="none";lu?b.marginTop=b.marginLeft="-10px":(b.position="absolute",b.top=b.left="-10px");zq(a.form_).document_.body.appendChild(a.iframe_);b=a.iframeName_+"_inner";
var c=LNb(a.iframe_);if(document.baseURI){var d=er(b);d=ii('<head><base href="'+er(document.baseURI)+'"></head><body><iframe id="'+d+'" name="'+d+'"></iframe>')}else d=er(b),d=ii('<body><iframe id="'+d+'" name="'+d+'"></iframe>');c.write(im(d));xq(c.getElementById(b),"load",a.onIframeLoaded_,!1,a);d=LB("TEXTAREA",a.form_);for(var e=0,f=d.length;e<f;e++){var h=d[e].value,l=[];PNb(d[e],l,!1);l.join("")!=h&&(SB(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=LB("SELECT",a.form_);f=LB("SELECT",d);h=0;for(l=e.length;h<l;h++)for(var q=LB("OPTION",e[h]),u=LB("OPTION",f[h]),x=0,y=q.length;x<y;x++)u[x].selected=q[x].selected;e=LB("INPUT",a.form_);f=LB("INPUT",d);h=0;for(l=e.length;h<l;h++)if("file"==e[h].type&&e[h].value!=f[h].value){a.form_.target=b;d=a.form_;break}try{a.errorHandled_=!1,d.submit(),c.close(),ku&&Zp(a.testForFirefoxSilentError_,250,a)}catch(G){FB(c.getElementById(b),"load",a.onIframeLoaded_,!1,a),c.close(),a.handleError_(2)}};
vZ.prototype.onIframeLoaded_=function(){FB(xZ(this),"load",this.onIframeLoaded_,!1,this);try{var a=this.iframe_?LNb(xZ(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"),onc(this))}catch(e){this.handleError_(1)}};
vZ.prototype.handleError_=function(a){this.errorHandled_||(this.active_=this.success_=!1,this.complete_=!0,this.lastErrorCode_=a,this.dispatchEvent("complete"),this.dispatchEvent("error"),onc(this),this.errorHandled_=!0)};
var onc=function(a){pnc(a);nnc(a);a.form_=null;a.dispatchEvent("ready")},pnc=function(a){var b=a.iframe_;b&&(b.onreadystatechange=null,b.onload=null,b.onerror=null,a.iframesForDisposal_.push(b));a.iframeDisposalTimer_&&($p(a.iframeDisposalTimer_),a.iframeDisposalTimer_=null);ku?a.iframeDisposalTimer_=Zp(a.disposeIframes_,2E3,a):a.disposeIframes_();a.iframe_=null;a.iframeName_=null};
vZ.prototype.disposeIframes_=function(){this.iframeDisposalTimer_&&($p(this.iframeDisposalTimer_),this.iframeDisposalTimer_=null);for(;0!=this.iframesForDisposal_.length;){var a=this.iframesForDisposal_.pop();QB(a)}};var nnc=function(a){a.form_&&a.form_==wZ&&KNb(a.form_)},xZ=function(a){return a.iframe_?LNb(a.iframe_).getElementById(a.iframeName_+"_inner"):null};
vZ.prototype.testForFirefoxSilentError_=function(){if(this.active_){var a=this.iframe_?LNb(xZ(this)):null;a&&!wCb(a,"documentUri")?(FB(xZ(this),"load",this.onIframeLoaded_,!1,this),navigator.onLine?this.handleError_(3):this.handleError_(9)):Zp(this.testForFirefoxSilentError_,250,this)}};var qnc=function(a,b,c,d,e){wq.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 Cq(a);sD(a,"upload_protocol","multipart");this.url_=a.toString();this.request_=new vZ;this.state_="Ready";this.errorDescription_=
null;this.eventHandler_=new Qr(this);yB(this,this.eventHandler_);this.eventHandler_.listen(this.request_,"success",this.onTransferSuccess_);this.eventHandler_.listen(this.request_,"error",this.onTransferError_)};W(qnc,gnc);g=qnc.prototype;g.run=function(){this.state_="Transferring";var a=this.request_,b=this.form_;if(a.active_)throw Error("fe");var c=new Cq(this.url_||b.action);a.lastUri_=c;a.form_=b;yEb(a.form_,c.toString());mnc(a)};g.getBytesTransferred=function(){return null};
g.getResponseCode=function(){return null};g.getResponseHeaders=function(){return null};g.getResponseText=function(){return this.request_&&this.request_.getResponseText()||null};g.getErrorDescription=function(){return this.errorDescription_};g.cancel=function(){this.request_&&this.request_.abort();this.state_="Cancelled";this.dispatchEvent(new tZ("q"))};g.pause=function(){};g.unpause=function(){};g.onTransferSuccess_=function(){this.state_="Complete";this.dispatchEvent(new tZ("n"))};
g.onTransferError_=function(){this.errorDescription_="Transfer failed.";this.state_="Error";this.dispatchEvent(new tZ("p"))};var tnc=function(a,b){void 0!==a.name?(this.name=a.name,this.code=rnc[a.name]):(this.code=a=a.code,this.name=snc(a));ba.call(this,CEb("%s %s",this.name,b))};gu(tnc,ba);
var snc=function(a){var b=Uba(rnc,function(c){return a==c});if(void 0===b)throw Error("ge`"+a);return b},yZ={},rnc=(yZ.AbortError=3,yZ.EncodingError=5,yZ.InvalidModificationError=9,yZ.InvalidStateError=7,yZ.NotFoundError=1,yZ.NotReadableError=4,yZ.NoModificationAllowedError=6,yZ.PathExistsError=12,yZ.QuotaExceededError=10,yZ.SecurityError=2,yZ.SyntaxError=8,yZ.TypeMismatchError=11,yZ);var unc=function(a,b){zB.call(this,a.type,b);this.event_=a};gu(unc,zB);var vnc=function(a,b,c){void 0===c&&(c=a.size);return a.slice?a.slice(b,c):null};var R0a=new WeakMap,Q0a=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")};pr(function(){if(!da.Blob)return!1;var a=new Uint8Array(100);try{var b=new Blob([a])}catch(c){return!1}return 100!=b.size?!1:!0});var wnc=pr(function(){if(!da.Blob)return!1;var a=new Uint8Array(100);try{var b=new Blob([a])}catch(c){return!1}return null===vnc(b,0,1)?!1:!0});var xnc=function(){wq.call(this);this.reader_=new FileReader;this.reader_.onloadstart=eu(this.dispatchProgressEvent_,this);this.reader_.onprogress=eu(this.dispatchProgressEvent_,this);this.reader_.onload=eu(this.dispatchProgressEvent_,this);this.reader_.onabort=eu(this.dispatchProgressEvent_,this);this.reader_.onerror=eu(this.dispatchProgressEvent_,this);this.reader_.onloadend=eu(this.dispatchProgressEvent_,this)};gu(xnc,wq);g=xnc.prototype;
g.abort=function(){try{this.reader_.abort()}catch(a){throw new tnc(a,"aborting read");}};g.getReadyState=function(){return this.reader_.readyState};g.getError=function(){return this.reader_.error&&new tnc(this.reader_.error,"reading file")};g.dispatchProgressEvent_=function(a){this.dispatchEvent(new unc(a,this))};g.disposeInternal=function(){xnc.superClass_.disposeInternal.call(this);delete this.reader_};g.readAsBinaryString=function(a){this.reader_.readAsBinaryString(a)};g.readAsArrayBuffer=function(a){this.reader_.readAsArrayBuffer(a)};
g.readAsText=function(a,b){this.reader_.readAsText(a,b)};var ync=function(a){var b=new ON;a.listen("loadend",fu(function(c,d){var e=d.reader_.result,f=d.getError();null==e||f?(QN(c),RN(c,!1,f)):c.callback(e);d.dispose()},b,a));return b};var zZ=function(){bC.call(this)};W(zZ,bC);zZ.prototype.createXhr=function(){var a=bC.prototype.createXhr.call(this);a.upload&&(a.upload.onprogress=eu(this.onProgress_,this));return a};zZ.prototype.onProgress_=function(a){this.dispatchEvent(a)};var znc=function(){this.attempt_=-1;this.delayCallId_=null;this.maxDelayMs_=6E4;this.maxAttempts_=-1},Bnc=function(a,b){var c=a.attempt_+1;if(0<a.maxAttempts_&&c>a.maxAttempts_)return!1;0==c?b():a.delayCallId_=Zp(function(){a.delayCallId_=null;b()},Anc(a),a);a.attempt_=c;return!0};znc.prototype.reset=function(){this.delayCallId_&&$p(this.delayCallId_);this.attempt_=-1};var Anc=function(a){var b=250*Math.pow(2,a.attempt_);0<=a.maxDelayMs_&&(b=Math.min(b,a.maxDelayMs_));return b};var T0a=["Content-Length","Content-Type","Content-Encoding","Transfer-Encoding"];var Cnc=function(a){wq.call(this);a=a||new inc;this.request_=this.state_=null;this.withCredentials_=!1;this.transferHandle_=null;this.offset_=this.bytesTransferred_=0;this.retryIterator_=new znc;this.retryIterator_.maxAttempts_=6;this.retryIterator_.maxDelayMs_=6E4;this.errorDescription_=null;this.eventHandler_=new Qr(this);yB(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};gu(Cnc,gnc);g=Cnc.prototype;g.run=function(){AZ(this)};g.getBytesTransferred=function(){return this.bytesTransferred_};g.getResponseCode=function(){return this.responseCode_};g.getResponseHeaders=function(){return this.responseHeaders_};
g.getResponseText=function(){return this.responseText_};g.getErrorDescription=function(){return this.errorDescription_};
g.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 zZ,a.withCredentials_=this.withCredentials_,a.send(this.transferHandle_.uploadUrl_,"POST","",{"X-Goog-Upload-Command":"cancel"});this.state_="Cancel";this.bytesTransferred_=0;this.dispatchEvent(new tZ("q"))}};
g.pause=function(){this.pauseRequested_=!0};g.unpause=function(){this.pauseRequested_=!1;"Paused"===this.state_&&(this.state_=this.stateAfterUnpausing_,this.stateAfterUnpausing_=null,Dnc(this))};
var AZ=function(a){var b=a.state_;a.pauseRequested_?(a.pauseRequested_=!1,a.stateAfterUnpausing_=b,a.state_="Paused"):Bnc(a.retryIterator_,function(){return Dnc(a)})||BZ(a,"Transfer encountered too many consecutive failures.")},Dnc=function(a){switch(a.state_){case "Start":a.start_();break;case "Upload":var b=a.transferHandle_.uploadUrl_,c=a.blob_.size;if(wnc()){var d=a.chunkSize_;var e=a.offset_+d>=c;c=vnc(a.blob_,a.offset_,e?c:a.offset_+d)}else a.offset_=0,c=a.blob_,e=!0;a.request_=new zZ;a.request_.withCredentials_=
a.withCredentials_;a.eventHandler_.removeAll();a.eventHandler_.listen(a.request_,"progress",a.onUploadProgress_);d=eu(a.onUploadComplete_,a,a.offset_+c.size,e);a.eventHandler_.listen(a.request_,"complete",d);a.lastCommandResponseCode_=null;a.dispatchEvent(new uZ("s"));e=Object.assign({},a.headers_||{},{"X-Goog-Upload-Command":"upload"+(e?", finalize":""),"X-Goog-Upload-Offset":a.offset_});a.request_.send(b,"POST",c,e);break;case "Query":a.query_();break;default:throw Error("he");}},BZ=function(a,
b){a.state_="Error";a.errorDescription_=b;a.dispatchEvent(new tZ("p"))};g=Cnc.prototype;
g.start_=function(){this.request_=new zZ;var a=tc(this.headers_);null!=this.blob_.size&&(a["Content-Length"]=this.blob_.size);a=U0a(a);a["X-Goog-Upload-Protocol"]="resumable";a["X-Goog-Upload-Command"]="start";this.eventHandler_.removeAll();this.eventHandler_.listen(this.request_,"complete",this.onStartComplete_);this.request_.withCredentials_=this.withCredentials_;this.request_.send(this.url_,this.method_,this.metadata_,a);this.lastCommandResponseCode_=null;this.dispatchEvent(new uZ("s"))};
g.onStartComplete_=function(a){var b=a.target;this.lastCommandResponseCode_=b.getStatus();this.dispatchEvent(new uZ("t"));if(Enc(b))Fnc(this,b);else if(Gnc(b)){a=qr(a.target.getAllResponseHeaders());for(var c in a)Nj(c.toLowerCase(),"x-goog-upload-header-");this.dispatchEvent(new tZ("o"));c=rr(a,"X-Goog-Upload-URL");a=(a=rr(a,"X-Goog-Upload-Chunk-Granularity"))?parseInt(a,10):1;void 0===c||isNaN(a)||0>=a?BZ(this,"Server returned invalid headers."):(this.chunkSize_=Math.floor(this.maxChunkSize_/a)*
a,this.transferHandle_=new fnc(c),this.dispatchEvent(new tZ("r")),this.state_="Upload",this.retryIterator_.reset(),AZ(this))}else AZ(this)};g.onUploadProgress_=function(a){this.bytesTransferred_=this.offset_+a.loaded;this.dispatchEvent(new tZ("m"))};
g.onUploadComplete_=function(a,b,c){var d=this,e,f;return of(function(h){switch(h.nextAddress){case 1:e=c.target;d.lastCommandResponseCode_=e.getStatus();d.dispatchEvent(new uZ("t"));if(d.retryOnHttpClientErrorEnabled_?Hnc(e)||404==e.getStatus():Enc(e))return d.bytesTransferred_=a,Fnc(d,e),h.return();if(Gnc(e)){h.jumpTo(2);break}if(!(f=d.detectCorruptedBlobEnabled_)){h.jumpTo(3);break}return h.yield(Inc(d),4);case 4:f=h.yieldResult;case 3:if(f)return BZ(d,"Blob has been modified or corrupted."),h.return();
d.requireUploadRequestModification_=400==e.getStatus();d.state_="Query";AZ(d);return h.return();case 2:if(b)return BZ(d,"Got a non-final success response after issuing a finalize command."),h.return();d.bytesTransferred_=a;d.offset_=a;d.retryIterator_.reset();AZ(d);return h.return()}})};
g.query_=function(){this.request_=new zZ;this.eventHandler_.removeAll();this.eventHandler_.listen(this.request_,"complete",this.onQueryComplete_);var a=Object.assign({},this.headers_||{},{"X-Goog-Upload-Command":"query"});this.request_.send(this.transferHandle_.uploadUrl_,"POST","",a);this.lastCommandResponseCode_=null;this.dispatchEvent(new uZ("s"))};
g.onQueryComplete_=function(a){var b=a.target;this.lastCommandResponseCode_=b.getStatus();this.dispatchEvent(new uZ("t"));Enc(b)?(200===b.getStatus()&&(this.bytesTransferred_=this.blob_.size),Fnc(this,b)):Gnc(b)?(a=qr(a.target.getAllResponseHeaders()),a=parseInt(rr(a,"X-Goog-Upload-Size-Received"),10),isNaN(a)?BZ(this,"Server did not respond with current offset."):a<this.offset_?BZ(this,"Server lost bytes! Expected an offset of at least "+this.offset_+", but got an offset of "+a+"."):this.requireUploadRequestModification_&&
this.offset_===a?BZ(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",AZ(this))):AZ(this)};
var Fnc=function(a,b){a.responseCode_=b.getStatus();var c=qr(b.getAllResponseHeaders());a.responseHeaders_=V0a(c);a.responseText_=b.getResponseText();a.state_="Response received";a.dispatchEvent(new tZ("n"))},Gnc=function(a){var b=a.getStatus();a=qr(a.getAllResponseHeaders());a=rr(a,"X-Goog-Upload-Status");return 200===b&&"active"===a},Hnc=function(a){a=qr(a.getAllResponseHeaders());return"final"===rr(a,"X-Goog-Upload-Status")},Enc=function(a){if(Hnc(a))return!0;a=a.getStatus();return 400<=a&&500>
a},Inc=function(a){var b;return of(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);pf(c,2);if(b=vnc(a.blob_,0,1)){var d=c.yield,e=new xnc,f=ync(e);e.readAsBinaryString(b);c=d.call(c,f,4)}else c=c.return(!0);return c}if(2!=c.nextAddress)return c.return(a.blob_.size!==a.originalBlobSize_);sf(c);return c.return(!0)})};var Jnc=function(a,b,c,d,e,f){wq.call(this);this.payload_=d;this.url_=a;this.method_=b;this.headers_=c;this.metadata_=e;this.metadataOverhead_=0;this.encoding_=f||"binary";a=new Cj;this.boundary_="uploader-"+Tu()+"-"+a.toIsoString();this.transferRequest_=null;this.bytesTransferred_=0;this.responseText_=this.responseHeaders_=this.responseCode_=null;this.state_="Ready";this.errorDescription_=null;this.eventHandler_=new Qr(this);yB(this,this.eventHandler_)};W(Jnc,gnc);g=Jnc.prototype;
g.run=function(){var a=tc(this.headers_);null!=this.payload_.length&&(a["Content-Length"]=this.payload_.length);a=U0a(a);a["X-Goog-Upload-Protocol"]="multipart";a["Content-Type"]="multipart/related; boundary="+this.boundary_;this.state_="Transferring";this.transferRequest_=new zZ;this.eventHandler_.removeAll();this.eventHandler_.listen(this.transferRequest_,"progress",this.onTransferProgress_);this.eventHandler_.listen(this.transferRequest_,"complete",this.onTransferComplete_);var b=this.transferRequest_,
c=b.send,d=this.url_,e=this.method_,f="--"+this.boundary_+'\r\nContent-Disposition: form-data; name="metadata"\r\n\r\n'+(this.metadata_+"\r\n--")+this.boundary_+'\r\nContent-Disposition: form-data; name="Filedata"\r\nContent-Transfer-Encoding: '+(this.encoding_+"\r\n\r\n")+this.payload_+"\r\n--"+this.boundary_+"--\r\n";this.metadataOverhead_=f.length-this.payload_.length;c.call(b,d,e,f,a)};g.getBytesTransferred=function(){return this.bytesTransferred_};g.getResponseCode=function(){return this.responseCode_};
g.getResponseHeaders=function(){return this.responseHeaders_};g.getResponseText=function(){return this.responseText_};g.getErrorDescription=function(){return this.errorDescription_};g.cancel=function(){"Complete"!=this.state_&&"Error"!=this.state_&&(this.eventHandler_.removeAll(),this.transferRequest_&&this.transferRequest_.abort(),this.state_="Cancel",this.dispatchEvent(new tZ("q")))};g.pause=function(){};g.unpause=function(){};
g.onTransferProgress_=function(a){this.bytesTransferred_=Math.max(0,a.loaded-this.metadataOverhead_);this.dispatchEvent(new tZ("m"))};g.onTransferComplete_=function(a){var b=a.target.getStatus();void 0===b||-1===b?(this.errorDescription_="Connection broken before response was received.",this.state_="Error",this.dispatchEvent(new tZ("p"))):(this.responseCode_=b,a=a.target,b=qr(a.getAllResponseHeaders()),this.responseHeaders_=V0a(b),this.responseText_=a.getResponseText(),this.state_="Complete",this.dispatchEvent(new tZ("n")))};var Knc=function(){},Lnc=function(a,b,c,d,e){e=void 0===e?!1:e;if(c instanceof hnc)return new qnc(a,"POST",b,c.inputElement_,d);if("string"===typeof c||c instanceof String)return new Jnc(a,"POST",b,c,d);var f=new Cnc(void 0);f.url_=a;f.method_="POST";f.headers_=b;f.blob_=c;f.originalBlobSize_=c.size;f.metadata_=d;e&&(f.withCredentials_=e);f.state_="Start";return f};var Mnc=new Bd("ScottyUploaderConfigFactory"),Nnc=new Bd("ScottyUploader",{factory:function(){return new Knc}}),CZ=function(a,b){this.uploader=a;this.configFactory=b;this.internalTransferStatus=new C.Subject;this.transferStatus=pv(this.internalTransferStatus)};
CZ.prototype.upload=function(a,b){var c=this;b=void 0===b?this.configFactory.create(a):b;a=Lnc(b.url,b.headers||{},a,b.metadata||"",!!b.withCredentials);this.transferSubscription&&!b.allowSimultaneousUpload&&this.transferSubscription.unsubscribe();this.transferSubscription=(0,C.merge)((0,C.fromEvent)(a,"o"),(0,C.fromEvent)(a,"m"),(0,C.fromEvent)(a,"r"),(0,C.fromEvent)(a,"p"),(0,C.fromEvent)(a,"n"),(0,C.fromEvent)(a,"q")).pipe(dg((0,C.fromEvent)(a,"n").pipe(Pf(0)))).subscribe(function(d){c.internalTransferStatus.next(d)});
a.run()};CZ.\u0275fac=function(a){return new (a||CZ)(n(Nnc),n(Mnc))};CZ.\u0275prov=Vc({token:CZ,factory:CZ.\u0275fac});var Onc=function(a){this.name_=a;this.files_=[];this.directories_=[];this.directoryMap_={}};Onc.prototype.getDirectory=function(a){return this.directoryMap_[a]};Onc.prototype.getName=function(){return this.name_};var Qnc=function(a,b,c){b=void 0===b?"single_file":b;c=void 0===c?[]:c;wq.call(this);this.overlayTarget_=a;this.parentOverlay_=null!=a?a.parentNode:Rp(document,"scotty-overlay-parent");this.selectorType_=b;this.acceptTypes_=c;this.overlay_=Pnc(this,this.overlayTarget_,this.selectorType_,this.acceptTypes_)};W(Qnc,wq);
var Pnc=function(a,b,c,d){var e=document.createElement("input");e.setAttribute("type","file");e.setAttribute("name","Filedata");xq(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),gs(e,new cs(b.offsetLeft,b.offsetTop)),e;a.parentOverlay_.appendChild(e);return e};Qnc.prototype.click=function(){this.overlay_.click()};
Qnc.prototype.onFilesSelected_=function(a){a:{try{var b=void 0!==(new XMLHttpRequest).upload;break a}catch(u){}b=!1}if(b){a=a.target.files;b=[];if("single_directory"===this.selectorType_&&(lu||ju)){b=new Onc("");if(File.prototype.hasOwnProperty("webkitRelativePath"))for(var c=0;c<a.length;c++)for(var d=a[c],e=d.webkitRelativePath.split("/"),f=b,h=0;h<e.length;h++){var l=e[h];if(h==e.length-1){"."!=l&&f.files_.push(d);break}var q=f.getDirectory(l);void 0==q&&(l=q=new Onc(l),f.directoryMap_[l.getName()]=
l,f.directories_.push(l));f=q}b=b.directories_}this.dispatchEvent(new Rnc(a,b,null))}else a=a.target.value,a.match(/^c:\\fakepath\\/i)&&(a=a.substring(12)),this.dispatchEvent(new Rnc([],[],new hnc(a,this.overlay_)));this.parentOverlay_.removeChild(this.overlay_);this.overlay_=Pnc(this,this.overlayTarget_,this.selectorType_,this.acceptTypes_)};
var Snc={SINGLE_FILE_SELECTION:"single_file",MULTIPLE_FILE_SELECTION:"multiple_file",SINGLE_DIRECTORY_SELECTION:"single_directory"},Rnc=function(a,b){zB.call(this,"y");this.files=a;this.directories=b};W(Rnc,zB);var DZ=function(a,b){this.elementRef=a;this.ngZone=b;this.destroyed=new C.ReplaySubject(1);this.supportedFileExtensions=null;this.fileExtensionRejected=new Rv;this.maxFileSize=null;this.fileSizeRejected=new Rv;this.fileSelected=new Rv;this.fileNameLengthRejected=new Rv};
DZ.prototype.ngAfterViewInit=function(){var a=this;this.getOverlay().pipe(cg(function(b){return(0,C.merge)((0,C.fromEvent)(b,"u"),(0,C.fromEvent)(b,"y"))}),dg(this.destroyed)).subscribe(function(b){a.ngZone.run(function(){a:{if(a.supportedFileExtensions){var c=m(b.files);for(var d=c.next();!d.done;d=c.next()){var e=a.supportedFileExtensions,f=e.includes;d=d.value.name;var h=d.lastIndexOf(".");if(!f.call(e,-1!==h?d.substr(h+1).toLowerCase():"")){c=!1;break a}}}c=!0}if(c){a:{if(a.maxFileSize)for(c=
m(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=m(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,C.fromEvent)(b,"w").subscribe(function(){a.ngZone.run(function(){})})});this.getOverlay().subscribe(function(b){(0,C.fromEvent)(b,
"x").subscribe(function(){a.ngZone.run(function(){})})})};DZ.prototype.ngOnDestroy=function(){this.destroyed.next(!0);this.destroyed.complete()};DZ.\u0275fac=function(a){return new (a||DZ)(A(ke),A(hg))};DZ.\u0275dir=qd({type:DZ,inputs:{supportedFileExtensions:"supportedFileExtensions",maxFileSize:"maxFileSize",maxFileNameLength:"maxFileNameLength"},outputs:{fileExtensionRejected:"fileExtensionRejected",fileSizeRejected:"fileSizeRejected",fileSelected:"fileSelected",fileNameLengthRejected:"fileNameLengthRejected"}});var EZ=function(a,b){DZ.call(this,a,b);this.overlay=this.fileSelectorOverlay=null};W(EZ,DZ);
EZ.prototype.getOverlay=function(){var a=this;this.overlay||(this.overlay=this.ngZone.runOutsideAngular(function(){return(0,C.merge)((0,C.fromEvent)(a.elementRef.nativeElement,"mouseover"),(0,C.fromEvent)(a.elementRef.nativeElement,"focus")).pipe(Uf(),dg(a.destroyed),B(function(){a.fileSelectorOverlay=new Qnc(a.elementRef.nativeElement,a.selectorType,Tnc(a));a.fileSelectorOverlay.overlay_.style.display="none";return a.fileSelectorOverlay}),$f(1))}));return this.overlay};
EZ.prototype.onClick=function(){this.fileSelectorOverlay&&this.fileSelectorOverlay.click()};var Tnc=function(a){return(a.supportedFileExtensions||[]).map(function(b){return"."+b})};EZ.\u0275fac=function(a){return new (a||EZ)(A(ke),A(hg))};EZ.\u0275dir=qd({type:EZ,hostBindings:function(a,b){a&1&&K("click",function(){return b.onClick()})},inputs:{selectorType:"selectorType"},features:[qg]});var FZ=function(a,b,c){EZ.call(this,a,b);this.uploader=c;this.disableAutoUploadInternal=!1};W(FZ,EZ);
FZ.prototype.ngOnInit=function(){var a=this;this.fileSelected.pipe(dg(this.destroyed),Gf(function(){return!a.disableAutoUpload})).subscribe(function(b){b=m(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)}})};Xi.Object.defineProperties(FZ.prototype,{disableAutoUpload:{configurable:!0,enumerable:!0,get:function(){return this.disableAutoUploadInternal},set:function(a){this.disableAutoUploadInternal=bi(a)}}});
FZ.\u0275fac=function(a){return new (a||FZ)(A(ke),A(hg),A(CZ,8))};FZ.\u0275dir=qd({type:FZ,selectors:[["","xapUploaderTrigger",""],["","xapScottyUploaderTrigger",""]],inputs:{disableAutoUpload:"disableAutoUpload"},features:[qg]});var GZ=function(){this.SelectorType=Snc;this.includeTextLabel=this.disabled=!1;this.onSelect=new Rv},W0a=function(a,b){if(b=b.files){b=m(b);for(var c=b.next();!c.done;c=b.next())a.onSelect.emit(c.value)}};GZ.\u0275fac=function(a){return new (a||GZ)};
GZ.\u0275cmp=p({type:GZ,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&&(E(0,"div",0),P(1,X0a,2,3,"button",1),F(),P(2,Y0a,3,3,"ng-template",null,2,qh));if(a&2){var c=O(3);z(1);D("ngIf",!b.includeTextLabel)("ngIfElse",c)}},dependencies:[yw,tA,jB,NC,FZ],
encapsulation:2});var HZ=function(a,b){vJ.call(this,a.size,a.name);var c=this;this.destroyed$=new C.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(dg(this.destroyed$)).subscribe(function(d){c.onTransferEventUpdate(d)})};W(HZ,vJ);HZ.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.")};
HZ.prototype.cancel=function(){var a,b;null==(a=this.transfer)||null==(b=a.cancel)||b.call(a);this.unsubscribe()};HZ.prototype.unsubscribe=function(){this.destroyed$.next();this.destroyed$.complete()};var IZ=function(a){this.activeSession=a};
IZ.prototype.create=function(a){for(var b=a.name,c=[],d=0,e=0;e<b.length;e++){var f=b.charCodeAt(e);128>f?c[d++]=f:(2048>f?c[d++]=f>>6|192:(55296==(f&64512)&&e+1<b.length&&56320==(b.charCodeAt(e+1)&64512)?(f=65536+((f&1023)<<10)+(b.charCodeAt(++e)&1023),c[d++]=f>>18|240,c[d++]=f>>12&63|128):c[d++]=f>>12|224,c[d++]=f>>6&63|128),c[d++]=f&63|128)}b=uaa(c);a=cya(a.name)?a.name:b;return{url:sD(xRb().setPath("/upload/"),"authuser",this.activeSession.getSessionIdentifier()).toString(),headers:{"X-Bv2-Encoded-Upload-File-Name":b,
"X-Goog-Upload-File-Name":a},withCredentials:!0}};IZ.\u0275fac=function(a){return new (a||IZ)(n(Vt))};IZ.\u0275prov=Vc({token:IZ,factory:IZ.\u0275fac,providedIn:"root"});var JZ=function(a,b){this.uploader=a;this.uploaderConfigFactory=b};JZ.prototype.create=function(){return new CZ(this.uploader,this.uploaderConfigFactory)};JZ.\u0275fac=function(a){return new (a||JZ)(n(Nnc),n(IZ))};JZ.\u0275prov=Vc({token:JZ,factory:JZ.\u0275fac,providedIn:"root"});var b1a=function(a){return{"attachment-error":a}},KZ=function(a){this.scottyUploaderFactory=a;this.uploads=[];this.onUploadCancel=new Rv;this.uploadStates=S0b};KZ.prototype.ngOnDestroy=function(){for(var a=m(this.uploads),b=a.next();!b.done;b=a.next())b.value.cancel()};KZ.prototype.upload=function(a){var b=this.scottyUploaderFactory.create();b.upload(a);return new HZ(a,b.transferStatus)};KZ.prototype.cancel=function(a){a.cancel();this.onUploadCancel.emit(a)};
KZ.\u0275fac=function(a){return new (a||KZ)(A(JZ))};
KZ.\u0275cmp=p({type:KZ,selectors:[["b-attachment-uploader"]],inputs:{uploads:"uploads"},outputs:{onUploadCancel:"onUploadCancel"},decls:1,vars:1,consts:[["class","attachments",4,"ngIf"],[1,"attachments"],["class","attachment",3,"ngClass",4,"ngFor","ngForOf"],[1,"attachment",3,"ngClass"],[1,"attachment-title"],["svgIcon","file-present"],[1,"issue-attachment-filename",3,"matTooltip"],[1,"attachment-filesize"],[4,"ngIf"],["role","alert","aria-live","assertive",4,"ngIf"],[1,"bv2-remove-icon","keep-focus-ring",
"attachment-cancel-button",3,"matTooltip","click"],["role","alert","aria-live","assertive"]],template:function(a,b){a&1&&P(0,d1a,2,1,"div",0);a&2&&D("ngIf",0<b.uploads.length)},dependencies:[ww,xw,yw,jB,NC,SJ],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 Unc=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 Vnc=function(a){vJ.call(this,a.size,a.name);this.attachment=a};W(Vnc,vJ);
var Wnc=function(a,b){a.attachment.encryptedBlobId?(a.state=1,N0b(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=Vn(c)?Wn(c):"Error while uploading."})):(a.state=3,a.errorMessage="Error while uploading.")};var LZ=function(a){this.id_=a;this.opts={}};g=LZ.prototype;g.setLabel=function(a){this.label_=a||void 0;return this};g.setOptions=function(a){this.opts=a};g.setQuery=function(a){this.opts.query=a;return this};g.setParent=function(a){this.opts.parent=a;return this};g.toArray=function(){var a=oc(this.opts,function(c){return null!==c});a=pc(a)?null:a;a=[this.id_,this.label_,a];var b=maa(a,$Db);return a=a.slice(0,b+1)};
g.toString=function(){var a=this.toArray();return"("+$b(a,function(b){return JSON.stringify(b)}).join(",")+")"};g.getId=function(){return this.id_};g.getLabel=function(){return this.label_};g.getOptions=function(){return tc(this.opts)};g.getQuery=function(){return this.opts.query};var MZ=function(a){LZ.call(this,a||"all")};gu(MZ,LZ);var Xnc=function(){var a=(new MZ("all")).setOwnedByMe(!0);a.opts.drdis=!0;a.opts.includeFolders=!0;a.opts.sortKey=7;a.opts.ff=!0;return a};g=MZ.prototype;g.setMode=function(a){this.opts.mode=a;return this};g.setOwnedByMe=function(a){void 0!==a?this.opts.ownedByMe=a:delete this.opts.ownedByMe;return this};g.setStarred=function(a){this.opts.starred=a};g.setLabel=function(a){MZ.superClass_.setLabel.call(this,a);return this};
g.setQuery=function(a){MZ.superClass_.setQuery.call(this,a);return this};g.setParent=function(a){MZ.superClass_.setParent.call(this,a);return this};var Ync=function(){LZ.call(this,"image-search")};W(Ync,LZ);g=Ync.prototype;g.setType=function(a){this.opts.type=a;return this};g.setSize=function(a){this.opts.imgsz=a;return this};g.setColor=function(a){this.opts.imgcolor=a;return this};g.setLabel=function(a){LZ.prototype.setLabel.call(this,a);return this};g.setQuery=function(a){LZ.prototype.setQuery.call(this,a);return this};g.setParent=function(a){LZ.prototype.setParent.call(this,a);return this};var Znc=function(){LZ.call(this,"maps")};W(Znc,LZ);g=Znc.prototype;g.setMode=function(a){this.opts.mode=a;return this};g.setZoom=function(a){this.opts.zoom=a;return this};g.setLabel=function(a){LZ.prototype.setLabel.call(this,a);return this};g.setQuery=function(a){LZ.prototype.setQuery.call(this,a);return this};g.setParent=function(a){LZ.prototype.setParent.call(this,a);return this};var $nc=function(){LZ.call(this,"photos")};W($nc,LZ);g=$nc.prototype;g.setMode=function(a){this.opts.mode=a;return this};g.setType=function(a){this.opts.type=a;return this};g.setLabel=function(a){LZ.prototype.setLabel.call(this,a);return this};g.setQuery=function(a){LZ.prototype.setQuery.call(this,a);return this};g.setParent=function(a){LZ.prototype.setParent.call(this,a);return this};g.removeDuplicates=function(){this.opts.rdv=!0;return this};var NZ=function(){LZ.call(this,"url")};W(NZ,LZ);NZ.prototype.setType=function(a){this.opts.type=a;return this};NZ.prototype.setLabel=function(a){LZ.prototype.setLabel.call(this,a);return this};NZ.prototype.setQuery=function(a){LZ.prototype.setQuery.call(this,a);return this};NZ.prototype.setParent=function(a){LZ.prototype.setParent.call(this,a);return this};var OZ=function(){LZ.call(this,"video-search")};W(OZ,LZ);OZ.prototype.setLabel=function(a){LZ.prototype.setLabel.call(this,a);return this};OZ.prototype.setQuery=function(a){LZ.prototype.setQuery.call(this,a);return this};OZ.prototype.setParent=function(a){LZ.prototype.setParent.call(this,a);return this};var PZ=function(){LZ.call(this,"web")};W(PZ,LZ);PZ.prototype.setLabel=function(a){LZ.prototype.setLabel.call(this,a);return this};PZ.prototype.setQuery=function(a){LZ.prototype.setQuery.call(this,a);return this};PZ.prototype.setParent=function(a){LZ.prototype.setParent.call(this,a);return this};var aoc=function(){this.root_=void 0;this.items_=[];this.opts={}},boc=function(a){switch(a){case "image-search":return new Ync;case "maps":return new Znc;case "photos":return new $nc;case "url":return new NZ;case "video-search":return new OZ;case "web":return new PZ}return new LZ(a)};aoc.prototype.addView=function(a){this.items_.push("string"===typeof a?boc(a):a);return this};
var coc=function(a){return"("+$b(a.items_,function(b){return b.toString()}).join(",")+")"},doc=function(a){a=oc(a.opts,function(b){return null!==b});return(a=pc(a)?null:a)?JSON.stringify(Qba(a,function(b){return b.toString()})):""};aoc.prototype.toString=function(){if(this.root_){var a=["{root:",this.root_.toString(),",items:",coc(this)],b=doc(this);b&&(a.push(",options:"),a.push(b));a.push("}");return a.join("")}return coc(this)};aoc.prototype.getOptions=function(){return tc(this.opts)};var eoc=function(a){this.basePickerUrl_=a||"https://docs.google.com/picker";this.nav_=new aoc};g=eoc.prototype;g.nav_=null;g.domHelper_=null;g.addView=function(a){this.nav_.addView(a);return this};g.getBaseUrl=function(){return this.basePickerUrl_};g.getDomHelper=function(){return this.domHelper_};g.setAppId=function(a){this.appId_=a};g.setCallback=function(a){this.callback_=a;return this};var foc=function(a){eoc.call(this,a)};gu(foc,eoc);var QZ=function(a){wq.call(this);this.dom_=a||zq();this.rightToLeft_=goc;this.id_=null;this.inDocument_=!1;this.element_=null;this.googUiComponentHandler_=void 0;this.childIndex_=this.children_=this.parent_=null};gu(QZ,wq);QZ.prototype.idGenerator_=Zr.getInstance();var goc=!1;g=QZ.prototype;g.getId=function(){return this.id_||(this.id_=Or(this.idGenerator_))};
g.setId=function(a){if(this.parent_&&this.parent_.childIndex_){qc(this.parent_.childIndex_,this.id_);var b=this.parent_.childIndex_;if(null!==b&&a in b)throw Error("W`"+a);b[a]=this}this.id_=a};g.getElement=function(){return this.element_};g.getHandler=function(){this.googUiComponentHandler_||(this.googUiComponentHandler_=new Qr(this));return this.googUiComponentHandler_};
g.setParent=function(a){if(this==a)throw Error("ie");if(a&&this.parent_&&this.id_&&Klc(this.parent_,this.id_)&&this.parent_!=a)throw Error("ie");this.parent_=a;QZ.superClass_.setParentEventTarget.call(this,a)};g.getParent=function(){return this.parent_};g.setParentEventTarget=function(a){if(this.parent_&&this.parent_!=a)throw Error("je");QZ.superClass_.setParentEventTarget.call(this,a)};g.getDomHelper=function(){return this.dom_};g.createDom=function(){this.element_=this.dom_.createElement("DIV")};
g.render=function(a){if(this.inDocument_)throw Error("ke");this.element_||this.createDom();a?a.insertBefore(this.element_,null):this.dom_.document_.body.appendChild(this.element_);this.parent_&&!this.parent_.inDocument_||this.enterDocument()};g.enterDocument=function(){this.inDocument_=!0;hoc(this,function(a){!a.inDocument_&&a.getElement()&&a.enterDocument()})};
g.exitDocument=function(){hoc(this,function(a){a.inDocument_&&a.exitDocument()});this.googUiComponentHandler_&&this.googUiComponentHandler_.removeAll();this.inDocument_=!1};g.disposeInternal=function(){this.inDocument_&&this.exitDocument();this.googUiComponentHandler_&&(this.googUiComponentHandler_.dispose(),delete this.googUiComponentHandler_);hoc(this,function(a){a.dispose()});this.element_&&QB(this.element_);this.parent_=this.element_=this.childIndex_=this.children_=null;QZ.superClass_.disposeInternal.call(this)};
g.addChild=function(){var a=this.children_?this.children_.length:0;if((void 0).inDocument_&&!this.inDocument_)throw Error("ke");if(0>a||a>(this.children_?this.children_.length:0))throw Error("le");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;La(this.children_)}else{b=this.childIndex_;c=(void 0).getId();if(null!==b&&c in b)throw Error("W`"+c);b[c]=void 0}(void 0).setParent(this);oaa(this.children_,
a,0,void 0);(void 0).inDocument_&&this.inDocument_&&(void 0).getParent()==this?(b=this.getContentElement(),(b.childNodes[a]||null)!=(void 0).getElement()&&((void 0).getElement().parentElement==b&&b.removeChild((void 0).getElement()),a=b.childNodes[a]||null,b.insertBefore((void 0).getElement(),a))):this.inDocument_&&!(void 0).inDocument_&&(void 0).element_&&(void 0).element_.parentNode&&1==(void 0).element_.parentNode.nodeType&&(void 0).enterDocument()};g.getContentElement=function(){return this.element_};
g.isRightToLeft=function(){null==this.rightToLeft_&&(this.rightToLeft_=PS(this.inDocument_?this.element_:this.dom_.document_.body));return this.rightToLeft_};g.hasChildren=function(){return!!this.children_&&0!=this.children_.length};var Klc=function(a,b){return a.childIndex_&&b?rc(a.childIndex_,b)||null:null},hoc=function(a,b){a.children_&&a.children_.forEach(b,void 0)};
QZ.prototype.removeChild=function(a,b){if(a){var c="string"===typeof a?a:a.getId();a=Klc(this,c);c&&a&&(qc(this.childIndex_,c),La(this.children_,a),b&&(a.exitDocument(),a.element_&&QB(a.element_)),a.setParent(null))}if(!a)throw Error("me");return a};QZ.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};gu(f1a,e1a);var ioc=function(a){e1a.call(this,"visibility");this.visible=a};gu(ioc,e1a);var joc=Ip(Jp("//www-onepick-opensocial.googleusercontent.com/gadgets/js/rpc.js?c=1&container=onepick")),koc=Ip(Jp("//apis.google.com/js/rpc.js")),h1a=null;var RZ=function(a){wq.call(this);this.element_=a;a=iu?"focusout":"blur";this.listenKeyIn_=xq(this.element_,iu?"focusin":"focus",this,!iu);this.listenKeyOut_=xq(this.element_,a,this,!iu)};gu(RZ,wq);RZ.prototype.handleEvent=function(a){var b=new AB(a.event_);b.type="focusin"==a.type||"focus"==a.type?"focusin":"focusout";this.dispatchEvent(b)};RZ.prototype.disposeInternal=function(){RZ.superClass_.disposeInternal.call(this);GB(this.listenKeyIn_);GB(this.listenKeyOut_);delete this.element_};var loc=new Map;loc.set("application/vnd.google-apps.document","application/vnd.google-gsuite.document-blob");loc.set("application/vnd.google-apps.spreadsheet","application/vnd.google-gsuite.spreadsheet-blob");loc.set("application/vnd.google-apps.presentation","application/vnd.google-gsuite.presentation-blob");var moc=new Set;moc.add("application/vnd.google-apps.kix");moc.add("application/vnd.google-apps.ritz");moc.add("application/vnd.google-apps.punch");var woc=function(a,b,c){var d=c&&Dk(c,1);if(c){var e=Dk(c,3);e=e&&JSON.parse(e)||{};c={0:Dk(c,1),1:c.getLabel(),2:e}}else c={};switch(a[0].getId().getSourceId()){case 13:return noc(a,b,d,c);case 3:return ooc(a,b,d,c);case 10:return poc(a,b,d,c);case 12:return qoc(a,b);case 2:return roc(a,b,d,c);case 5:return soc(a,b,d,c);case 9:return toc(a,b,d,c);case 6:return uoc(a,b,d,c);case 1:return Hl(a[0],IDb,26)?voc(a,b,d,c):poc(a,b,d,c);default:return{}}},uoc=function(a,b,c,d){a=a.map(function(e){return{id:e.getId().getId(),
serviceId:"youtube",name:e.getName(),description:e.getDescription(),type:SZ(e),lastEditedUtc:Ok(e,vj,16).toDate().getTime(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",url:e.getUrl(),embedUrl:Dk(e,13),thumbnails:TZ(Hu(e))}});return{action:b,docs:a,viewToken:d,view:c||"youtube"}},roc=function(a,b,c,d){var e=a.map(function(f){var h=void 0;Tl(Ok(f,Iu,21),12)&&(h="success");return{id:f.getId().getId(),serviceId:"docs",mimeType:f.getMimeType(),name:f.getName(),type:SZ(f),
lastEditedUtc:f.getLastModifiedTimestamp().toDate().getTime(),url:f.getUrl(),sizeBytes:oDb(f,23),description:f.getDescription(),iconUrl:f.getIconUrl(),thumbnails:TZ(Hu(f)),isShared:Ok(f,Iu,21).getShared(),downloadUrl:Dk(Ok(f,Iu,21),10),embedUrl:Dk(f,13),copyable:Tl(Ok(f,Iu,21),9),resourceKey:Dk(Ok(f,Iu,21),11),uploadState:h}});return{action:b,docs:e,viewToken:d,view:c||"all",extraUserInputs:xoc(a)}},soc=function(a,b,c,d){a=a.map(function(e){var f=Ok(Ok(e,QDb,15),Cu,1);jq(e,10,Cu,f);return{id:e.getId().getId(),
serviceId:"web",mimeType:e.getMimeType(),name:e.getName(),type:SZ(e),url:e.getUrl(),description:e.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:TZ(Hu(e))}});return{action:b,docs:a,viewToken:d,view:c||"image-search"}},toc=function(a,b,c,d){a=a.map(function(e){return{serviceId:"url",name:Hu(e)[0].getUrl().split("/").pop(),type:SZ(e),mimeType:e.getMimeType(),url:e.getUrl(),description:e.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",
thumbnails:TZ(Hu(e))}});return{action:b,docs:a,viewToken:d,view:c||"url"}},voc=function(a,b,c,d){a=a.map(function(e){return{id:e.getId().getId(),serviceId:"picasa",name:e.getName(),type:SZ(e),description:e.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:TZ(Hu(e))}});return{action:b,docs:a,viewToken:d,view:c||"webcam"}},poc=function(a,b,c,d){return{action:b,docs:a.map(yoc),viewToken:d,view:zoc(c||"upload",a),extraUserInputs:xoc(a)}},zoc=function(a,
b){return b.some(function(c){var d;return 9===(null==(d=Ok(c,Eu,30))?void 0:tk(d,3,0))})?a+"/gmailphotos":a},ooc=function(a,b,c,d){var e=a.map(function(f){var h={id:f.getId().getId(),serviceId:"picasa",mimeType:f.getMimeType(),name:f.getName(),type:SZ(f),lastEditedUtc:f.getLastModifiedTimestamp().toDate().getTime(),url:f.getUrl(),sizeBytes:oDb(f,23),description:f.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:TZ(Hu(f)),mediaKey:f.getId().getId(),
parentId:f.getParentId()},l;if(f=null==(l=Ok(f,LDb,18))?void 0:Ok(l,KDb,3))h.latitude=pl(f,1),h.longitude=pl(f,2);return h});return{action:b,docs:e,viewToken:d,view:c||"photos",extraUserInputs:xoc(a)}},noc=function(a,b,c,d){a=a.map(function(e){return{id:e.getId().getId(),serviceId:"et",name:Hu(e)[0].getUrl().split("/").pop(),description:e.getDescription(),type:"et",iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:TZ(Hu(e),"etjpg")}});return{action:b,docs:a,
viewToken:d,view:c||"et"}},qoc=function(a,b){a=a.map(function(c){var d=Bj(Ok(c,Du,27),1)[0];return{id:c.getId().getId(),serviceId:"contacts",mimeType:c.getMimeType(),name:c.getName(),description:c.getDescription(),url:"mailto:"+d,thumbnail:[{url:c.getIconUrl()}],email:d}});return{action:b,docs:a,view:"contacts"}},TZ=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}})},xoc=function(a){return{isAttachment:a.some(function(b){return Tl(b,31)})}},yoc=function(a){var b={id:a.getId().getId(),serviceId:Aoc(a),mimeType:a.getMimeType(),name:a.getName(),type:SZ(a),sizeBytes:oDb(a,23),description:a.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:TZ(Hu(a)),isNew:!0},c=Ok(a,Eu,30);if(c){b.dataUrl=Dk(c,1)||null;a:{var d=Ok(a,Eu,30);switch(tk(d,3,0)){case 9:a=Sl(d,ODb,
2,Fu);a={remoteRefs:a&&Dk(a,1)};break a;case 10:case 15:d=Sl(d,NDb,4,Fu);var e=Hu(a);a={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}a=null}b.uploadMetadata=a}(a=c&&Sl(c,NDb,4,Fu))&&(b.id=a.getPhotoId());(a=c&&Sl(c,PDb,5,Fu))&&(b.contentId=Dk(a,1));(c=c&&Sl(c,MDb,6,Fu))&&(b.contentId=Dk(c,1));return b},Aoc=function(a){var b;switch((null==(b=Ok(a,Eu,30))?
void 0:tk(b,3,0))||0){case 1:return"picasa";case 2:case 3:case 4:case 8:case 12:return"photo";case 10:case 15:return"dragonflyphotos";case 11:return"mapspro";case 13:return"books";case 14:return"cultural"}return null},SZ=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 Boc=function(a){this.obj_=a};g=Boc.prototype;g.value=function(){return this.obj_};g.setWidth=function(a){this.obj_.width=a;return this};g.getWidth=function(){return this.obj_.width};g.setHeight=function(a){this.obj_.height=a;return this};g.getHeight=function(){return this.obj_.height};g.setStyle=function(a){this.obj_.style=a;return this};g.getStyle=function(){return this.obj_.style};var Coc=function(a){this.obj_=a||{}};g=Coc.prototype;g.value=function(){return this.obj_};g.setUrl=function(a){this.obj_.url=a;return this};g.getUrl=function(){return this.obj_.url};g.setStyle=function(a){this.obj_.style=a;return this};g.getStyle=function(){return this.obj_.style};g.setId=function(a){this.obj_.id=a;return this};g.getId=function(){return this.obj_.id};g.getContext=function(){return this.obj_.context};
var Doc=function(a){a.obj_.attributes=a.obj_.attributes||{};return new Boc(a.obj_.attributes)},Idc=function(a){return(a=a.obj_.timeout)?a:null};var Eoc=function(){Coc.apply(this,arguments)};W(Eoc,Coc);var Foc=Ip(Jp("https://apis.google.com/js/api.js")),Joc=function(a,b){var c=!1,d=Goc(a,b).then(function(f){c=!0;return f}),e=yOb(5E3).then(function(){return c?Goc(a,b):Hoc(b).then(function(f){return Ioc(f,a)})});return kOb([d,e])},Goc=function(a,b){return Koc(b).then(function(c){return Ioc(c,a)})},Ioc=function(a,b){var c=Nj(b,"gapi.")?b.slice(5):b;return a[c]?WB(a[c]):new VB(function(d,e){var f=Zp(function(){e(Error("ne"))},3E4);a.load(b,{callback:function(){$p(f);d(a[c])},onerror:function(h){$p(f);
e(h)}})})},Koc=function(a){return a.gapi&&a.gapi.load?WB(a.gapi):Hoc(a)},Hoc=function(a){return WDa(Foc,{document:a.document}).then(function(){return a.gapi})},Loc=function(){};Loc.prototype.load=function(a,b){b=void 0===b?window:b;var c=Date.now();return Joc(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 Moc=function(){hj.call(this);this.gapiLoader_=new Loc;this.origin_=null;this.gapiPickerIframeResolver_=mOb();this.gapiIframesResolver_=mOb();this.gapiIframesResolver_.promise.then(null,function(){});this.gapiPickerIframeResolver_.promise.then(null,function(){});this.hostMessageHandlerInternal_={}};W(Moc,hj);
var Noc=function(a,b){var c=tq("gapi.iframes",b);return c?(a=Date.now(),WB({library:c,loadStartMs:a,loadEndMs:a})):a.gapiLoader_.load("gapi.iframes",b)},Ooc=function(a,b,c,d,e,f){var h=!0;h=void 0===h?!1:h;Noc(a,PB(b.ownerDocument)).then(function(l){var q=l.library;a.gapiIframesResolver_.resolve(q);l=a.gapiPickerIframeResolver_;var u=l.resolve,x=h;x=void 0===x?!1:x;var y={};y["host-message-handler"]=c;a.hostMessageHandlerInternal_=y;var G=vD(d);G=vD(G);G=mD(lD(kD(new Cq,G.scheme_),G.getDomain()),
G.port_).toString();a.origin_=G;G=(new Eoc).setUrl(d);G.obj_.where=b;G.obj_.allowPost=x;G.obj_.messageHandlers=y;x=tq("makeWhiteListIframesFilter",q)([a.origin_]);G.obj_.messageHandlersFilter=x;null!=e&&G.setId(e);null!=f&&(G.obj_.rpctoken=f);Doc(G).setStyle({display:"block","min-width":"100%",width:"1px"}).setHeight("100%");Doc(G).value().allow="camera 'src' "+a.origin_;q=q.getContext().openChild(G.value());u.call(l,q)},function(l){a.gapiIframesResolver_.reject(l);a.gapiPickerIframeResolver_.reject(l)});
return a.gapiPickerIframeResolver_.promise},Poc=function(a,b){return jOb([a.gapiIframesResolver_.promise,a.gapiPickerIframeResolver_.promise]).then(function(c){var d=m(c);c=d.next().value;return(d=d.next().value)?d.send("picker-message-handler",b,void 0,tq("makeWhiteListIframesFilter",c)([a.origin_])):fOb(Error("oe"))})};Moc.prototype.disposeInternal=function(){Qoc(this);hj.prototype.disposeInternal.call(this)};
var Qoc=function(a){a.gapiPickerIframeResolver_.promise.then(function(b){b&&(b.unregister("host-message-handler"),delete a.hostMessageHandlerInternal_["host-message-handler"])})};var Roc=function(){this.nextId_=0};Roc.prototype.getUniqueId=function(){return":"+(this.nextId_++).toString(36)};var Toc=function(a,b){switch(a.action){case "select-contacts":a=Soc(a.contacts);break;case "visibility":a=a.visible;a=(new WDb).setCommand(7).setVisible(a);var c={};c["iframe-command"]=a.serialize();a=c;break;default:a=null}return a?Poc(b,a):WB()},Soc=function(a){if(!a||0==a.length)return null;var b=new WDb;b.setCommand(11);var c=new Roc;a.forEach(function(d){if(d.email){var e=(new Gu).setName(d.name?d.name:d.email);var f=new Du;d=Ob(f,1,d.email);e=gl(e,Du,27,d).setId((new Bu).setId(c.getUniqueId()).setSourceId(12))}else e=
null;e&&b.addItem(e)});a={};a["iframe-command"]=b.serialize();return a};var UZ=function(a,b,c){wq.call(this);this.target=a;this.handle=b||a;this.limits=c||new KS(NaN,NaN,NaN,NaN);this.document_=JB(a);this.eventHandler_=new Qr(this);yB(this,this.eventHandler_);this.deltaY=this.deltaX=this.startY=this.startX=this.screenY=this.screenX=this.clientY=this.clientX=0;this.dragging_=!1;xq(this.handle,["touchstart","mousedown"],this.startDrag,!1,this);this.useSetCapture_=Uoc};gu(UZ,wq);
var Uoc=da.document&&da.document.documentElement&&!!da.document.documentElement.setCapture&&!!da.document.releaseCapture;g=UZ.prototype;g.getHandler=function(){return this.eventHandler_};g.disposeInternal=function(){UZ.superClass_.disposeInternal.call(this);FB(this.handle,["touchstart","mousedown"],this.startDrag,!1,this);this.eventHandler_.removeAll();this.useSetCapture_&&this.document_.releaseCapture();this.handle=this.target=null};
g.startDrag=function(a){var b="mousedown"==a.type;if(this.dragging_||b&&(0!=a.event_.button||Yr&&a.ctrlKey))this.dispatchEvent("earlycancel");else if(this.dispatchEvent(new VZ("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(PB(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=OB(zq(this.document_).document_)}};
g.endDrag=function(a,b){this.eventHandler_.removeAll();this.useSetCapture_&&this.document_.releaseCapture();this.dragging_?(this.dragging_=!1,this.dispatchEvent(new VZ("end",this,a.clientX,a.clientY,a,Voc(this,this.deltaX),Woc(this,this.deltaY),b||"touchcancel"==a.type))):this.dispatchEvent("earlycancel")};
g.handleMove_=function(a){var b=a.clientX-this.clientX,c=a.clientY-this.clientY;this.clientX=a.clientX;this.clientY=a.clientY;this.screenX=a.screenX;this.screenY=a.screenY;if(!this.dragging_){var d=this.startX-this.clientX,e=this.startY-this.clientY;if(0<d*d+e*e)if(this.dispatchEvent(new VZ("start",this,a.clientX,a.clientY,a)))this.dragging_=!0;else{this.isDisposed()||this.endDrag(a);return}}c=Xoc(this,b,c);b=c.x;c=c.y;this.dragging_&&this.dispatchEvent(new VZ("beforedrag",this,a.clientX,a.clientY,
a,b,c))&&(Yoc(this,a,b,c),a.preventDefault())};var Xoc=function(a,b,c){var d=OB(zq(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 cs(Voc(a,a.deltaX),Woc(a,a.deltaY))};UZ.prototype.onScroll_=function(a){var b=Xoc(this,0,0);a.clientX=this.clientX;a.clientY=this.clientY;Yoc(this,a,b.x,b.y)};
var Yoc=function(a,b,c,d){a.target.style.left=c+"px";a.target.style.top=d+"px";a.dispatchEvent(new VZ("drag",a,b.clientX,b.clientY,b,c,d))},Voc=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))},Woc=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))};UZ.prototype.isDragging=function(){return this.dragging_};
var VZ=function(a,b,c,d,e,f,h){zB.call(this,a);this.clientX=c;this.clientY=d;this.left=void 0!==f?f:b.deltaX;this.top=void 0!==h?h:b.deltaY};gu(VZ,zB);var WZ=function(a){this.map_=new Map;var b=arguments.length;if(1<b){if(b%2)throw Error("X");for(var c=0;c<b;c+=2)this.set(arguments[c],arguments[c+1])}else a&&this.addAll(a)};g=WZ.prototype;g.getCount=function(){return this.map_.size};g.getValues=function(){return Array.from(this.map_.values())};g.getKeys=function(){return Array.from(this.map_.keys())};g.containsKey=function(a){return this.map_.has(a)};g.containsValue=function(a){return this.getValues().some(function(b){return b==a})};
g.equals=function(a,b){var c=this;b=void 0===b?function(d,e){return d===e}:b;return this===a?!0:this.map_.size!=a.getCount()?!1:this.getKeys().every(function(d){return b(c.map_.get(d),a.get(d))})};g.isEmpty=function(){return 0==this.map_.size};g.clear=function(){this.map_.clear()};g.remove=function(a){return this.map_.delete(a)};g.get=function(a,b){return this.map_.has(a)?this.map_.get(a):b};g.set=function(a,b){this.map_.set(a,b);return this};
g.addAll=function(a){if(a instanceof WZ){a=m(a.map_);for(var b=a.next();!b.done;b=a.next()){var c=m(b.value);b=c.next().value;c=c.next().value;this.map_.set(b,c)}}else if(a)for(a=m(Object.entries(a)),b=a.next();!b.done;b=a.next())c=m(b.value),b=c.next().value,c=c.next().value,this.map_.set(b,c)};g.forEach=function(a,b){var c=this;b=void 0===b?this:b;this.map_.forEach(function(d,e){return a.call(b,d,e,c)})};g.clone=function(){return new WZ(this)};(function(){for(var a=["ms","moz","webkit","o"],b,c=0;b=a[c]&&!da.requestAnimationFrame;++c)da.requestAnimationFrame=da[b+"RequestAnimationFrame"],da.cancelAnimationFrame=da[b+"CancelAnimationFrame"]||da[b+"CancelRequestAnimationFrame"];if(!da.requestAnimationFrame){var d=0;da.requestAnimationFrame=function(e){var f=(new Date).getTime(),h=Math.max(0,16-(f-d));d=f+h;return da.setTimeout(function(){e(f+h)},h)};da.cancelAnimationFrame||(da.cancelAnimationFrame=function(e){clearTimeout(e)})}})();
var Zoc=[[],[]],$oc=0,apc=!1,bpc=0,dpc=function(a,b){var c=bpc++,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,Zoc[$oc].push(d));apc||(apc=!0,window.requestAnimationFrame(cpc))}},cpc=
function(){apc=!1;var a=Zoc[$oc],b=a.length;$oc=($oc+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 epc=iu?Ip(Jp('javascript:""')):Ip(Jp("about:blank"));oj(epc);var fpc=iu?Ip(Jp('javascript:""')):Ip(Jp("javascript:undefined"));oj(fpc);var gpc=function(a,b){this.element_=a;this.dom_=b};var XZ=function(a,b){QZ.call(this,b);this.useIframeMask_=!!a;this.lastFocus_=null;this.resizeBackgroundTask_=dpc({mutate:this.resizeBackground_},this)};gu(XZ,QZ);g=XZ.prototype;g.focusHandler_=null;g.visible_=!1;g.bgEl_=null;g.bgIframeEl_=null;g.tabCatcherElement_=null;g.backwardTabWrapInProgress_=!1;g.getCssClass=function(){return"goog-modalpopup"};g.getBackgroundElement=function(){return this.bgEl_};
g.createDom=function(){XZ.superClass_.createDom.call(this);var a=this.getElement();IS(a,Qj(this.getCssClass()).split(" "));a.tabIndex=0;OS(a,!1);this.useIframeMask_&&!this.bgIframeEl_&&(a=this.getDomHelper().createDom("IFRAME",{frameborder:0,style:"border:0;vertical-align:bottom;"}),a.src=oj(epc).toString(),this.bgIframeEl_=a,this.bgIframeEl_.className=this.getCssClass()+"-bg",OS(this.bgIframeEl_,!1),Wec(this.bgIframeEl_,0));this.bgEl_||(this.bgEl_=this.getDomHelper().createDom("DIV",this.getCssClass()+
"-bg"),OS(this.bgEl_,!1));this.tabCatcherElement_||(this.tabCatcherElement_=this.getDomHelper().createElement("SPAN"),OS(this.tabCatcherElement_,!1),this.tabCatcherElement_.tabIndex=0,this.tabCatcherElement_.style.position="absolute")};g.resetBackwardTabWrap_=function(){this.backwardTabWrapInProgress_=!1};
g.enterDocument=function(){if(this.bgIframeEl_){var a=this.getElement();a.parentNode&&a.parentNode.insertBefore(this.bgIframeEl_,a)}a=this.getElement();a.parentNode&&a.parentNode.insertBefore(this.bgEl_,a);XZ.superClass_.enterDocument.call(this);a=this.getElement();a.parentNode&&a.parentNode.insertBefore(this.tabCatcherElement_,a.nextSibling);this.focusHandler_=new RZ(this.getDomHelper().document_);this.getHandler().listen(this.focusHandler_,"focusin",this.onFocus);hpc(this,!1)};
g.exitDocument=function(){this.isVisible()&&this.setVisible(!1);fj(this.focusHandler_);XZ.superClass_.exitDocument.call(this);QB(this.bgIframeEl_);QB(this.bgEl_);QB(this.tabCatcherElement_)};
g.setVisible=function(a){if(a!=this.visible_)if(this.popupShowTransition_&&this.popupShowTransition_.stop(),this.bgShowTransition_&&this.bgShowTransition_.stop(),this.popupHideTransition_&&this.popupHideTransition_.stop(),this.bgHideTransition_&&this.bgHideTransition_.stop(),this.inDocument_&&hpc(this,a),a){if(this.dispatchEvent("beforeshow")){try{this.lastFocus_=this.getDomHelper().document_.activeElement}catch(e){}this.resizeBackground_();this.reposition();this.getHandler().listen(this.getDomHelper().getWindow(),
"resize",this.resizeBackground_).listen(this.getDomHelper().getWindow(),"orientationchange",this.resizeBackgroundTask_);ipc(this,!0);this.focus();this.visible_=!0;if(this.popupShowTransition_&&this.bgShowTransition_)DB(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_)DB(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 hpc=function(a,b){a.modalAriaVisibilityHelper_||(a.modalAriaVisibilityHelper_=new gpc(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_||e5b(d,"hidden")||(HM(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}},ipc=function(a,
b){a.bgIframeEl_&&OS(a.bgIframeEl_,b);a.bgEl_&&OS(a.bgEl_,b);OS(a.getElement(),b);OS(a.tabCatcherElement_,b)};g=XZ.prototype;g.onShow=function(){this.dispatchEvent("show")};g.onHide=function(){ipc(this,!1);this.dispatchEvent("hide")};g.isVisible=function(){return this.visible_};g.focus=function(){this.focusElement_()};
g.resizeBackground_=function(){this.bgIframeEl_&&OS(this.bgIframeEl_,!1);this.bgEl_&&OS(this.bgEl_,!1);var a=this.getDomHelper().document_,b=MB(PB(a)||window),c=Math.max(b.width,Math.max(a.body.scrollWidth,a.documentElement.scrollWidth));a=Math.max(b.height,Math.max(a.body.scrollHeight,a.documentElement.scrollHeight));this.bgIframeEl_&&(OS(this.bgIframeEl_,!0),Vec(this.bgIframeEl_,c,a));this.bgEl_&&(OS(this.bgEl_,!0),Vec(this.bgEl_,c,a))};
g.reposition=function(){var a=this.getDomHelper().document_,b=PB(a)||window;if("fixed"==sr(this.getElement(),"position"))var c=a=0;else c=OB(this.getDomHelper().document_),a=c.x,c=c.y;var d=es(this.getElement());b=MB(b);a=Math.max(a+b.width/2-d.width/2,0);c=Math.max(c+b.height/2-d.height/2,0);gs(this.getElement(),a,c);gs(this.tabCatcherElement_,a,c)};g.onFocus=function(a){this.backwardTabWrapInProgress_?this.resetBackwardTabWrap_():a.target==this.tabCatcherElement_&&Zp(this.focusElement_,0,this)};
g.focusElement_=function(){try{iu&&this.getDomHelper().document_.body.focus(),this.getElement().focus()}catch(a){}};g.disposeInternal=function(){fj(this.popupShowTransition_);this.popupShowTransition_=null;fj(this.popupHideTransition_);this.popupHideTransition_=null;fj(this.bgShowTransition_);this.bgShowTransition_=null;fj(this.bgHideTransition_);this.bgHideTransition_=null;XZ.superClass_.disposeInternal.call(this)};var $Z=function(a,b,c){XZ.call(this,b,c);this.class_=a||"modal-dialog";this.buttons_=YZ(YZ(new ZZ,jpc,!0),kpc,!1,!0)};gu($Z,XZ);g=$Z.prototype;g.escapeToCancel_=!0;g.hasTitleCloseButton_=!0;g.modal_=!0;g.backgroundElementOpacity_=.5;g.title_="";g.dragger_=null;g.disposeOnHide_=!1;g.titleEl_=null;g.titleTextEl_=null;g.titleTextId_=null;g.titleCloseEl_=null;g.contentEl_=null;g.buttonEl_=null;g.getCssClass=function(){return this.class_};
g.setTitle=function(a){this.title_=a;this.titleTextEl_&&SB(this.titleTextEl_,a)};g.getTitle=function(){return this.title_};g.getContent=function(){return""};g.getContentElement=function(){this.getElement()||this.render();return this.contentEl_};var lpc=function(a){a.getElement()||a.render();return a.getElement()};$Z.prototype.getBackgroundElement=function(){this.getElement()||this.render();return $Z.superClass_.getBackgroundElement.call(this)};$Z.prototype.handleDrag=function(){};
var mpc=function(a,b){var c=Qj(a.class_+"-title-draggable").split(" ");a.getElement()&&(b?IS(a.titleEl_,c):Mec(a.titleEl_,c));b&&!a.dragger_?(b=new UZ(a.getElement(),a.titleEl_),a.dragger_=b,IS(a.titleEl_,c),xq(a.dragger_,"start",a.setDraggerLimits_,!1,a),xq(a.dragger_,"drag",a.handleDrag,!1,a)):!b&&a.dragger_&&(a.dragger_.dispose(),a.dragger_=null)};g=$Z.prototype;
g.createDom=function(){$Z.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"));JNb(a,this.titleEl_,this.contentEl_=b.createDom("DIV",{className:this.class_+"-content",id:c}),this.buttonEl_=
b.createDom("DIV",this.class_+"-buttons"));GM(this.titleTextEl_,"heading");GM(this.titleCloseEl_,"button");this.titleCloseEl_.tabIndex=0;HM(this.titleCloseEl_,"label","Close");GM(a,"dialog");HM(a,"labelledby",this.titleTextId_||"");OS(this.titleCloseEl_,this.hasTitleCloseButton_);this.buttons_&&(a=this.buttons_,a.element_=this.buttonEl_,a.render());OS(this.buttonEl_,!!this.buttons_);this.backgroundElementOpacity_=this.backgroundElementOpacity_;this.getElement()&&(a=this.getBackgroundElement())&&Wec(a,
this.backgroundElementOpacity_)};
g.enterDocument=function(){$Z.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_);mpc(this,!0);this.getHandler().listen(this.titleCloseEl_,"click",this.onTitleCloseClick_);var a=this.getElement();GM(a,"dialog");""!==this.titleTextEl_.id&&HM(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()&&hpc(this,!1)}};g.exitDocument=function(){this.isVisible()&&this.setVisible(!1);mpc(this,!1);$Z.superClass_.exitDocument.call(this)};g.setVisible=function(a){a!=this.isVisible()&&(this.inDocument_||this.render(),$Z.superClass_.setVisible.call(this,a))};g.onShow=function(){$Z.superClass_.onShow.call(this);this.dispatchEvent("aftershow")};
g.onHide=function(){$Z.superClass_.onHide.call(this);this.dispatchEvent("afterhide");this.disposeOnHide_&&this.dispose()};g.setDraggerLimits_=function(){var a=this.getDomHelper().document_,b=MB(PB(a)||window),c=Math.max(a.body.scrollWidth,b.width);a=Math.max(a.body.scrollHeight,b.height);var d=es(this.getElement());"fixed"==sr(this.getElement(),"position")?this.dragger_.limits=new KS(0,0,Math.max(0,b.width-d.width),Math.max(0,b.height-d.height)):this.dragger_.limits=new KS(0,0,c-d.width,a-d.height)};
g.onTitleCloseClick_=function(){npc(this)};var npc=function(a){if(a.hasTitleCloseButton_){var b=a.buttons_,c=b&&b.cancelButton_;c?(b=b.get(c),a.dispatchEvent(new a_(c,b))&&a.setVisible(!1)):a.setVisible(!1)}},opc=function(a){a.hasTitleCloseButton_=!1;a.titleCloseEl_&&OS(a.titleCloseEl_,a.hasTitleCloseButton_)};$Z.prototype.setDisposeOnHide=function(a){this.disposeOnHide_=a};$Z.prototype.disposeInternal=function(){this.buttonEl_=this.titleCloseEl_=null;$Z.superClass_.disposeInternal.call(this)};
$Z.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 a_(a,b))&&this.setVisible(!1)}};
$Z.prototype.onKey_=function(a){var b=!1,c=!1,d=this.buttons_,e=a.target;if("keydown"==a.type)if(this.escapeToCancel_&&27==a.keyCode){var f=d&&d.cancelButton_;e="SELECT"==e.tagName&&!e.disabled;f&&!e?(c=!0,b=d.get(f),b=this.dispatchEvent(new a_(f,b))):e||(b=!0)}else{if(9==a.keyCode&&a.shiftKey&&e==this.getElement()){this.backwardTabWrapInProgress_=!0;try{this.tabCatcherElement_.focus()}catch(x){}Zp(this.resetBackwardTabWrap_,0,this)}}else if(13==a.keyCode){if("BUTTON"==e.tagName&&!e.disabled)f=e.name;
else if(e==this.titleCloseEl_)npc(this);else if(d){var h=d.getDefault(),l;if(l=h)a:{l=LB("BUTTON",d.element_);for(var q=0,u;u=l[q];q++)if(u.name==h||u.id==h){l=u;break a}l=null}e=("TEXTAREA"==e.tagName||"SELECT"==e.tagName||"A"==e.tagName)&&!e.disabled;!l||l.disabled||e||(f=h)}f&&d&&(c=!0,b=this.dispatchEvent(new a_(f,String(d.get(f)))))}else e!=this.titleCloseEl_||32!=a.keyCode&&" "!=a.key||npc(this);if(b||c)a.stopPropagation(),a.preventDefault();b&&this.setVisible(!1)};
var a_=function(a,b){this.type="dialogselect";this.key=a;this.caption=b};gu(a_,zB);var ZZ=function(a){WZ.call(this);this.dom_=a||zq();this.class_="goog-buttonset";this.cancelButton_=this.element_=this.defaultButton_=null};gu(ZZ,WZ);ZZ.prototype.clear=function(){WZ.prototype.clear.call(this);this.defaultButton_=this.cancelButton_=null};ZZ.prototype.set=function(a,b,c,d){WZ.prototype.set.call(this,a,b);c&&(this.defaultButton_=a);d&&(this.cancelButton_=a);return this};
var YZ=function(a,b,c,d){return a.set(b.key,b.caption,c,d)};g=ZZ.prototype;g.render=function(){if(this.element_){gJa(this.element_,Nt);var a=zq(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)}};g.getElement=function(){return this.element_};g.getDomHelper=function(){return this.dom_};g.setDefault=function(a){this.defaultButton_=a};g.getDefault=function(){return this.defaultButton_};
var jpc={key:"ok",caption:"OK"},kpc={key:"cancel",caption:"Cancel"},ppc={key:"yes",caption:"Yes"},qpc={key:"no",caption:"No"},rpc={key:"save",caption:"Save"},spc={key:"continue",caption:"Continue"};"undefined"!=typeof document&&(YZ(new ZZ,jpc,!0,!0),YZ(YZ(new ZZ,jpc,!0),kpc,!1,!0),YZ(YZ(new ZZ,ppc,!0),qpc,!1,!0),YZ(YZ(YZ(new ZZ,ppc),qpc,!0),kpc,!1,!0),YZ(YZ(YZ(new ZZ,spc),rpc),kpc,!0,!0));var tpc=function(a,b,c){$Z.call(this,a,b,c)};gu(tpc,$Z);var b_=function(a,b){wq.call(this);this.element_=a;a=RB(this.element_)?this.element_:this.element_?this.element_.body:null;this.isRtl_=!!a&&PS(a);this.listenKey_=xq(this.element_,ku?"DOMMouseScroll":"mousewheel",this,b)};gu(b_,wq);
b_.prototype.handleEvent=function(a){var b=0,c=0,d=a.event_;"mousewheel"==d.type?(a=upc(-d.wheelDelta),void 0!==d.wheelDeltaX?(b=upc(-d.wheelDeltaX),c=upc(-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 vpc(a,d,b,c);this.dispatchEvent(b)};
var upc=function(a){return lu&&(Yr||ACb)&&0!=a%40?a:a/40};b_.prototype.disposeInternal=function(){b_.superClass_.disposeInternal.call(this);GB(this.listenKey_);this.listenKey_=null};var vpc=function(a,b,c,d){AB.call(this,b);this.type="mousewheel";this.detail=a;this.deltaX=c;this.deltaY=d};gu(vpc,AB);var wpc;var c_=function(a,b,c,d,e,f,h,l,q){l=void 0===l?!1:l;q=void 0===q?!1:q;$Z.call(this,f?f+" picker modal-dialog":"picker modal-dialog",!0,c);APb(a,"protocol");this.iframeManager_=new Moc;this.targetId_=Tu();this.rpcToken_=Tu();this.useGapi_=!q&&!0;a=vD(a);tD(a,"hostId");l||sD(a,"v2","true");this.setUrl(a.toString());this.preferredDialogWidth_=d;this.preferredDialogHeight_=e;void 0!==d||void 0!==e?d=!0:(d=tD(vD(a.toString()),"hostId"),wpc||(wpc=new Set("DocVerse fusiontables geo geowiki gm gmail-gadget gws hotpot jointly presentations pwa sites templates trix trix-copy-sheet webstore".split(" "))),
d=!wpc.has(d));this.autoSizeDialog_=d;this.gadgetsDomHelper_=h||this.getDomHelper();b&&(b="true"==tD(vD(this.url_),"grugl")?koc:joc,h=this.gadgetsDomHelper_,g1a(h)||(h=h||zq(document),d=h.createElement("SCRIPT"),pj(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):hu(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()):gJa(this.buttonEl_,Nt),OS(this.buttonEl_,!!this.buttons_))};gu(c_,tpc);g=c_.prototype;g.url_="";g.iframe_=null;g.iframeLoaded_=!1;g.loadedFired_=!1;g.callback_=function(){};g.enterDocument=function(){c_.superClass_.enterDocument.call(this);var a=this.getBackgroundElement(),b=this.getHandler(),c=new b_(a);yB(b,c);b.listen(c,"mousewheel",eu(k1a,void 0,a)).listen(a,"scroll",eu(k1a,void 0,a))};
g.render=function(a){var b=this;c_.superClass_.render.call(this,a);this.useGapi_?Noc(this.iframeManager_,window).then(function(){return xpc(b)}).then(null,function(c){return void b.handleError_(c)}):ypc(this)};
var xpc=function(a){var b=a.getDomHelper().createDom("div",["picker-dialog-content","picker-frame"]);OS(b,!1);a.getContentElement().appendChild(b);return Ooc(a.iframeManager_,b,function(c){var d=ZDb(c["iframe-command"]);switch(d.getCommand()){case 1:c=a.callback_;d=Ok(d,TDb,2);var e="";switch(d.getStatus()){case 2:e="cancel";break;case 1:e="picked";break;case 3:e="error"}var f=d.getItemList();d=0===f.length?{action:e}:woc(f,e,d.getInternalOnlyV1ViewInfo());c.call(a,d);a.setVisible(!1);break;case 4:opc(a),
a.callback_({action:"loaded"})}},a.url_,a.targetId_,a.rpcToken_).then(function(c){a.iframe_=c.getIframeEl();zpc(a);OS(a.iframe_.parentElement,!0);Kec(a.getElement(),"picker-dialog");Apc(a);return c})},ypc=function(a){a.iframe_=a.dom_.createDom("IFRAME",{id:a.targetId_,name:a.targetId_,"class":"picker-frame",frameBorder:"0",allow:"camera"});ona(a.iframe_,Bpc(a));Kec(a.getElement(),"picker-dialog");a.getContentElement().appendChild(a.iframe_);a.getHandler().listen(a.iframe_,"load",function(){return void zpc(a)});
a.iframe_.src=a.url_;Apc(a)},Dpc=function(a){Cpc(a,eu(function(b){b.setAuthToken(this.targetId_,this.rpcToken_)},a))},Apc=function(a){var b=tD(vD(a.url_),"title");b&&a.setTitle(b)},Bpc=function(a){return 7<=ua("Internet Explorer")&&Nj(a.url_,"https")?Ip(Jp("https://about:blank")):iu?Ip(Jp('javascript:""')):Ip(Jp("about:blank"))},zpc=function(a){Dpc(a);a.iframeLoaded_=!0;a.iframe_.tabIndex=0;a.isVisible()&&a.focus()};
c_.prototype.handleKeydown_=function(a){27==a.keyCode&&(this.setVisible(!1),this.callback_({action:"cancel"}),a.stopPropagation(),a.preventDefault())};var Cpc=function(a,b){var c=a.gadgetsDomHelper_;i1a(function(){b(c.getWindow().gadgets.rpc)},c)};c_.prototype.setUrl=function(a){a=sD(new Cq(a),"rpcService",this.targetId_);sD(a,"rpctoken",this.rpcToken_);oD(a,"rpctoken="+this.rpcToken_);kD(a,"https");this.url_=a.toString();this.iframe_&&(this.iframe_.src=this.url_)};
c_.prototype.setAppId=function(a){this.appId_=a;this.loadedFired_&&Epc(this)};c_.prototype.setCallback=function(a){this.callback_=a;Cpc(this,eu(function(b){b.register(this.targetId_,eu(this.handlePickerAction_,this))},this))};
c_.prototype.handlePickerAction_=function(a){var b=a.action;"loaded"==b&&(this.loadedFired_=!0,this.sendCommand(new ioc(this.isVisible())),Epc(this),opc(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 Epc=function(a){a.appId_&&a.sendCommand(new f1a(a.appId_,window.location.protocol+"//"+window.location.host))};g=c_.prototype;
g.setRelayUrl=function(a){Cpc(this,eu(function(b){b.setRelayUrl(this.targetId_,a)},this))};g.sendCommand=function(a){var b=this;this.useGapi_&&Toc(a,this.iframeManager_).then(null,function(c){return void b.handleError_(c)});Cpc(this,eu(function(c){c.call(this.targetId_,"picker",null,a)},this))};
g.resizePicker_=function(){var a=this.getDomHelper().document_;a=PB(a)||window;if("true"==tD(vD(this.url_),"ignoreLimits"))a=new HB(this.preferredDialogWidth_,this.preferredDialogHeight_);else if("true"==tD(vD(this.url_),"shadeDialog")){var b=afc(lpc(this)),c=MB(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 HB(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=MB(a),c=.85*c.height);var d=Math.max(480,Math.min(650,c))}else c=MB(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=MB(a);b=Math.min(b,Math.max(c.width,320));d=Math.min(d,Math.max(c.height,480));a=new HB(b,d)}Vec(this.getContentElement(),a);this.reposition()};
g.reposition=function(){if("true"==tD(vD(this.url_),"shadeDialog")){var a=es(this.getElement()),b=MB(this.getDomHelper().getWindow());a=Math.floor(b.width/2-a.width/2);if(b=afc(lpc(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=OB(this.getDomHelper().document_).y;gs(this.getElement(),a,b)}else c_.superClass_.reposition.call(this)};
g.setVisible=function(a){if(a!=this.isVisible()&&this.autoSizeDialog_){var b=this.getDomHelper().getWindow();a?(this.resizePicker_(),this.getHandler().listen(b,"resize",this.resizePicker_),this.iframeLoaded_||this.getHandler().listen(b,"keydown",this.handleKeydown_)):(this.getHandler().unlisten(b,"resize",this.resizePicker_),this.iframeLoaded_||this.getHandler().unlisten(b,"keydown",this.handleKeydown_))}c_.superClass_.setVisible.call(this,a);this.sendCommand(new ioc(a))};
g.focus=function(){c_.superClass_.focus.call(this);if(this.iframe_&&this.iframeLoaded_&&this.loadedFired_)try{this.iframe_.focus()}catch(a){}};g.handleError_=function(){this.callback_({action:"error"})};var d_=function(a){eoc.call(this,a);this.urlParamMap_=new Map;this.urlParamMap_.set("protocol","gadgets");(a=window.location.origin)||(a=window.location.protocol+"//"+window.location.host);this.setOrigin(a);this.postProcessors_=[];this.gadgetsDomHelper_=void 0};gu(d_,foc);d_.prototype.disposeOnHide_=!1;
d_.prototype.build=function(){this.urlParamMap_.get("parent")||this.setRelayUrl(oD(nD(vD(window.location.href)),"").setPath("/favicon.ico").toString());this.urlParamMap_.set("ifls",Date.now());if(this.urlParamMap_.get("minimal"))throw Error("pe");var a=new c_(Fpc(this).toString(),!0,this.getDomHelper(),this.dialogWidth_,this.dialogHeight_,"",this.gadgetsDomHelper_,!1,!1);a.setDisposeOnHide(this.disposeOnHide_);a.setAppId(this.appId_);a.setCallback(this.callback_);return a};
var Gpc=function(a,b){a.urlParamMap_.set(b,"true");return a};g=d_.prototype;g.getHeight=function(){return this.dialogHeight_};g.getLocale=function(){return this.urlParamMap_.get("hl")};g.getProtocol=function(){return this.urlParamMap_.get("protocol")};g.getTitle=function(){return this.urlParamMap_.get("title")};g.getWidth=function(){return this.dialogWidth_};g.setDisposeOnHide=function(a){this.disposeOnHide_=a};g.setGroupId=function(a){this.urlParamMap_.set("groupId",a)};
var Hpc=function(a){a.urlParamMap_.set("hostId","buganizer-drive");return a};g=d_.prototype;g.setOrigin=function(a){a&&this.urlParamMap_.set("origin",a);return this};g.setLocale=function(a){this.urlParamMap_.set("hl",a);return this};g.setRelayUrl=function(a){this.urlParamMap_.set("parent",a)};g.setSize=function(a,b){this.dialogWidth_=a;this.dialogHeight_=b;return this};g.setTitle=function(a){this.urlParamMap_.set("title",a);return this};
var Fpc=function(a){a.postProcessors_.length&&a.urlParamMap_.set("pp",JSON.stringify(a.postProcessors_));a.urlParamMap_.set("nav",coc(a.nav_));var b=new Cq(a.getBaseUrl());a.urlParamMap_.forEach(function(c,d){sD(b,d,c)});return b};var e_=function(a,b){this.activeSession=a;this.attachmentsApi=b;this.disabled=!1;this.onPickDoc=new Rv;this.onCloneBlob=new Rv;this.onePickUrl=a.getOnePickUrl();this.onePickSecretToken=a.getOnePickSecretToken()};
e_.prototype.showDialog=function(){var a=this;if(!this.drivePicker){var b=window.location.origin||window.location.protocol+"//"+window.location.host;this.drivePicker=Hpc(Gpc(Gpc(Gpc(Gpc((new d_(this.onePickUrl)).addView(Xnc().setMode("list")),"navHidden"),"multiselectEnabled"),"edbe"),"showAttach").setCallback(function(c){if(c&&"picked"===c.action)for(var d=m(c.docs),e=d.next();!e.done;e=d.next())e=new Unc(e.value),c.extraUserInputs.isAttachment?(e=new Vnc(e),Wnc(e,a.attachmentsApi),a.onCloneBlob.emit(e)):
a.onPickDoc.emit(e)}).setOrigin(b)).build()}this.drivePicker.setVisible(!0)};e_.\u0275fac=function(a){return new (a||e_)(A(Vt),A(M0b))};
e_.\u0275cmp=p({type:e_,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&&(E(0,"div",0)(1,"button",1),K("click",function(){return b.showDialog()}),H(2,"mat-icon",2),F()());a&2&&(z(1),D("disabled",
b.disabled))},dependencies:[tA,jB,NC],encapsulation:2});var n1a=function(a){return{voted:a}},f_=function(a,b){Z.call(this);this.issueDetailsBrain=a;this.userResources=b;this.isPlusOneText=!1;this.onSubmitComment=new Rv;this.hasUserVoted$=this.issueDetailsBrain.voted$};W(f_,Z);f_.\u0275dir=Z.\u0275dir;f_.prototype.onClick=function(){var a=Zo(this.issueDetailsBrain.id$);this.onSubmitComment.emit();null!=a&&CYb(this.userResources,a,{voted:!0,starred:null,notificationSubscription:null}).pipe(dg(this.destroyed$)).subscribe()};
f_.\u0275fac=function(a){return new (a||f_)(A(HJ),A(eH))};
f_.\u0275cmp=p({type:f_,selectors:[["b-plus-one-comment-callout"]],inputs:{isPlusOneText:"isPlusOneText"},outputs:{onSubmitComment:"onSubmitComment"},features:[qg],decls:1,vars:1,consts:[["class","callout",4,"ngIf"],[1,"callout"],[4,"ngIf"],["svgIcon","info",1,"info-icon",3,"matTooltip"],["role","alert",1,"content"],["class","actions",4,"ngIf"],[1,"actions"],["mat-flat-button","","color","primary",3,"click"]],template:function(a,b){a&1&&P(0,o1a,3,5,"div",0);a&2&&D("ngIf",b.isPlusOneText)},dependencies:[yw,
jB,tA,NC,Ew],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 Ipc=["commentBoxContainer"],Jpc=[[["","recaptchaContainer",""]],[["","additionalToolbarItems",""]]],Kpc=function(a){return{focused:a}},g_=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 Rv;this.disabled=this.supportsPreview=!1;this.showToolbar=!0;this.attachmentsDisabled=!1;this.showRestrictionOptions=!0;this.onChange=new Rv;this.onFocusEvent=new Rv;this.onSubmit=new Rv;this.onRestrict=
new Rv;this.focused=!1;this.commentRebound$=new C.ReplaySubject(1);this.destroyed$=new C.ReplaySubject(1);this.createRestrictedResourcesComponentWhitelist=this.activeSession.getCreateRestrictedSubresourcesComponentWhitelist()};g=g_.prototype;g.ngOnDestroy=function(){var a;null==(a=this.comment)||T0b(a);this.destroyed$.next()};g.ngOnInit=function(){var a=this;this.appEvents.focusCommentBox.pipe(dg(this.destroyed$)).subscribe(function(b){Pub(a,b)});this.appEvents.scrollToCommentBox.pipe(dg(this.destroyed$)).subscribe(function(){a.scrollIntoView()})};
g.ngOnChanges=function(a){a.comment&&this.commentRebound$.next()};g.getRestrictedLabel=function(){var a,b,c=null!=(b=null==(a=this.judgementForNewContent)?void 0:a.getSeverity())?b:1;return poa(yk(c))};g.isRestricted=function(){var a,b;return 1!==(null!=(b=null==(a=this.judgementForNewContent)?void 0:a.getSeverity())?b:1)};var Pub=function(a,b){(b=void 0===b?"":b)&&a.analytics.trackEvent("commentBox","takeFocus",b);a.scrollIntoView();var c;null==(c=a.commentDraftComponent)||Ifc(c)};
g_.prototype.scrollIntoView=function(){var a;null==(a=this.commentBoxContainer)||a.nativeElement.scrollIntoView({behavior:"smooth"})};g_.prototype.onFocus=function(){this.focused=!0;this.onFocusEvent.emit()};g_.prototype.onBlur=function(){this.focused=!1};g_.prototype.onKeydown=function(a){this.hotkeys.isEnabled()&&("Enter"!==a.key||!a.ctrlKey&&!a.metaKey||this.disabled||this.onSubmit.emit(a.shiftKey))};var Lpc=function(a){return a.activeSession.isInternalSession()&&DE(a.activeSession,"enableReducePlusOneComments")};
g_.\u0275fac=function(a){return new (a||g_)(A(wH),A(JM),A(Vt),A(cG),A(mL))};
g_.\u0275cmp=p({type:g_,selectors:[["b-comment-box"]],viewQuery:function(a,b){a&1&&(ih($S,5),ih(Ipc,5),ih(KZ,5));if(a&2){var c;hh(c=kh())&&(b.commentDraftComponent=c.first);hh(c=kh())&&(b.commentBoxContainer=c.first);hh(c=kh())&&(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"},outputs:{commentChange:"commentChange",onChange:"onChange",onFocusEvent:"onFocusEvent",onSubmit:"onSubmit",onRestrict:"onRestrict"},features:[Hd],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"],["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&&(Ng(Jpc),E(0,"div",0,1)(2,"div",2)(3,"b-comment-draft",3),K("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())}})("focus",function(){return b.onFocus()})("blur",function(){return b.onBlur()})("keydown",function(c){return b.onKeydown(c)})("paste",function(c){if(c&&null!=c.clipboardData){var d=c.clipboardData;for(var e=!1,f=!1,h=0,l=0;l<d.types.length;l++)"text/plain"===d.types[l]?e=!0:"Files"===d.types[l]&&(f=!0,h=l);f&&d.items&&d.files?(f=d.files[0],h=d.items[h].type.replace(/^.*[/]/,
""),e?(d=d.getData("text/plain"),d=d.replace(/^.*[\\\/]/,"")):d=(new Date).toString()+"."+h,d={file:f,filename:d}):d=void 0;d&&(c.preventDefault(),c=new File([d.file],d.filename,{type:d.file.type}),c=b.attachmentUploader.upload(c),b.comment&&b.comment.uploads.push(c))}}),F(),P(4,p1a,2,1,"ng-container",4),F(),E(5,"b-attachment-uploader",5),K("onUploadCancel",function(c){b.comment&&La(b.comment.uploads,c)}),F(),Og(6),P(7,u1a,6,5,"div",6),F(),P(8,v1a,2,4,"div",4));a&2&&(D("ngClass",Xg(11,Kpc,b.focused)),
z(3),D("content",b.comment.value)("placeholder",b.placeholder)("disabled",b.disabled)("textareaClass",b.disabled?"bv2-disabled":"")("audience",b.audience)("idForAriaLabel",b.idForAriaLabel),z(1),D("ngIf",Lpc(b)),z(1),D("uploads",b.comment.uploads),z(2),D("ngIf",b.showToolbar),z(1),D("ngIf",b.supportsPreview&&b.comment.formattingMode===b.MARKDOWN))},dependencies:[ww,yw,$S,NC,ZO,e_,GZ,KZ,tA,jB,f_,Ew],encapsulation:2});var Mpc=["dialog"],h_=function(a,b,c,d){Z.call(this);this.matDialog=a;this.activeSession=b;this.hotkeys=c;this.save=new Rv;this.close=new Rv;this.externalWarnings=[];this.issueEditBuilder=null;this.FocusableField=Npc;this.enableRecaptcha=DE(this.activeSession,"enableRecaptcha")&&DE(this.activeSession,"enableBulkEditCaptchaUi");this.comment=new wJ;var e;this.comment.formattingMode=Dm(null==(e=$I(d).textDisplayPreferences)?void 0:e.lastPublishMode);this.issueStates=bVb};W(h_,Z);h_.\u0275dir=Z.\u0275dir;
h_.prototype.showDialog=function(a,b,c){var d=this;this.issueEditBuilder=new bnc(this.activeSession.getUserEmail(),a);this.issueEditBuilder.comment=this.comment;b&&w1a(this.issueEditBuilder,b);this.focus=c;this.hotkeys.pause();this.matDialogRef=this.matDialog.open(this.dialog,{minWidth:512,maxWidth:512});DA(this.matDialogRef).pipe(dg(this.destroyed$)).subscribe(function(e){d.hotkeys.unpause();e&&d.save.emit();d.close.emit()})};h_.\u0275fac=function(a){return new (a||h_)(A(IA),A(Vt),A(JM),A(ZI))};
h_.\u0275cmp=p({type:h_,selectors:[["b-state-modal"]],viewQuery:function(a,b){a&1&&ih(Mpc,5);if(a&2){var c;hh(c=kh())&&(b.dialog=c.first)}},inputs:{externalWarnings:"externalWarnings"},outputs:{save:"save",close:"close"},features:[qg],decls:2,vars:0,consts:[["dialog",""],["statusForm","ngForm"],["mat-dialog-title",""],["mat-dialog-content",""],["class","bv2-modal-form",4,"ngIf"],["class","flex-kids-x justify-flex-end",4,"ngIf"],["mat-dialog-actions",""],["type","button","mat-button","",1,"gmat-button",
"medium",3,"mat-dialog-close"],["type","submit","color","primary","mat-flat-button","",1,"gmat-button","medium","confirm",3,"mat-dialog-close","disabled"],[1,"bv2-modal-form"],["type","button","mat-button","",1,"gmat-button","medium","primary","status-select",3,"matMenuTriggerFor"],["name","arrow-dropdown","size","small"],["statusMenu",""],["mat-menu-item","","type","button",3,"disabled","click"],["mat-menu-item","","type","button",3,"disabled","click",4,"ngFor","ngForOf"],[3,"ngSwitch"],[4,"ngSwitchCase"],
["class","bv2-modal-text-field",4,"ngSwitchDefault"],["placeholder","Add a comment (optional)",3,"comment","showToolbar","onSubmit"],[1,"float-clear"],["class","bv2-external-component-modal-warning",4,"ngIf"],[1,"bv2-modal-text-field"],["for","bv2-state-modal-assignee",1,"bv2-top-field-label"],["class","bv2-multiple-user-chip",4,"ngSwitchCase"],[4,"ngSwitchDefault"],["for","bv2-state-modal-verifier",1,"bv2-top-field-label"],["class","bv2-multiple-user-chip",3,"bv2-invalid-multiple-user-chip",4,"ngSwitchCase"],
[1,"bv2-multiple-user-chip"],["title","Clear assignees",3,"click"],["type","text","name","assignee",3,"ngModel","bContactAutocomplete","ngModelChange"],["title","Clear verifiers",3,"click"],["type","text","name","verifier",3,"ngModel","required","bContactAutocomplete","ngModelChange"],["for","bv2-state-modal-issue-id",1,"bv2-top-field-label"],["type","text","name","duplicateOf",3,"ngModel","ngModelChange"],[1,"bv2-external-component-modal-warning"],[4,"ngFor","ngForOf"],[3,"accessLevel"],[1,"flex-kids-x",
"justify-flex-end"],[3,"onUpdate"]],template:function(a){a&1&&P(0,M1a,14,5,"ng-template",null,0,qh)},dependencies:[xw,yw,zw,Aw,Bw,JA,KA,LA,MA,qP,ix,Qh,ax,bx,sx,hx,fx,tA,GN,FC,DC,EC,WS,g_,aT],encapsulation:2});var Npc={ASSIGNEE:0,VERIFIER:1,COMMENT:2,DUPE_ID:3,0:"ASSIGNEE",1:"VERIFIER",2:"COMMENT",3:"DUPE_ID"};var i_=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};i_.prototype.ngOnInit=function(){Opc(this,this.issuesToFlag)};
var Opc=function(a,b){0>=b.length?a.permissionsCheckComplete=!0:JF(a.userAccess,"admin","components/"+b[0].componentId).then(function(c){a.issuesChecked++;c||a.protectedIssues.push(b[0]);Opc(a,b.slice(1))},function(c){a.errorHandler.errorHandler(null,c)})};i_.\u0275fac=function(a){return new (a||i_)(A(SI),A(IF),A(ZF),A(HA))};
i_.\u0275cmp=p({type:i_,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&&(E(0,"h1",0),Q(1,"Flag Issues as Spam"),F(),E(2,"div",1)(3,"div",2)(4,"p"),Q(5),E(6,"a",3),Q(7,"see here"),F(),Q(8,". "),F(),E(9,"p"),Q(10," This operation cannot be undone in bulk. "),F()(),E(11,"div",4),P(12,Q1a,3,2,"div",5),P(13,S1a,5,2,"div",5),F()(),E(14,"div",6)(15,"button",7),Q(16," Close "),F(),E(17,"button",8),Q(18," Flag as Spam "),F()());a&2&&(z(5),R(" 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),D("href",a0b(b.documentationLinks),Ie),z(6),D("ngIf",!b.permissionsCheckComplete),z(1),D("ngIf",b.permissionsCheckComplete&&0<b.protectedIssues.length),z(4),D("disabled",!b.permissionsCheckComplete)("mat-dialog-close",!0))},dependencies:[xw,yw,tA,JA,KA,LA,MA],encapsulation:2});var j_=function(a,b){this.cdr=a;this.dialogRef=b;this.component=null};j_.prototype.updateComponent=function(a){this.component=a;this.cdr.detectChanges()};j_.prototype.save=function(){this.dialogRef.close(this.component)};j_.prototype.cancel=function(){this.dialogRef.close()};j_.\u0275fac=function(a){return new (a||j_)(A(sH,2),A(FA))};
j_.\u0275cmp=p({type:j_,selectors:[["b-bulk-move-dialog"]],features:[Ug([sH])],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&&(E(0,"h1",0),Q(1,"Change Component"),F(),E(2,"mat-dialog-content")(3,"p"),Q(4,"Choose new component for these issues."),F(),E(5,"p",1),Q(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. "),F(),E(7,"b-team-component-picker",2),K("selectedComponentChange",function(c){return b.updateComponent(null!==c&&void 0!==c?c:null)}),F()(),E(8,"mat-dialog-actions")(9,"button",3),K("click",function(){return b.cancel()}),Q(10," Cancel "),F(),E(11,"button",4),K("click",function(){return b.save()}),Q(12," Save "),F()());a&2&&(z(7),D("selectedComponent",
b.component)("placeholder","Choose Component")("isRequired",!0),z(4),D("disabled",null==b.component))},dependencies:[tA,KA,LA,MA,nV],styles:[".bv2-bulk-move-warning[_ngcontent-%COMP%]{font-weight:bold}"]});var Ppc={label:"Starts On",value:"STARTS_ON"},Qpc={label:"Assignment ETA",value:"ASSIGNMENT_ETA"},Rpc={label:"Response ETA",value:"RESPONSE_ETA"},Spc={label:"Closure ETA",value:"CLOSURE_ETA"},Tpc=[Ppc,Qpc,Rpc,Spc],k_=function(){this.renderPanel=!0;this.snoozeUntilCommit=new Rv;this.closePicker=new Rv;this.currentSnoozeType=new gx(Ppc);this.isShowingEtaViewAs=!1;this.snoozeTypeChoices=Tpc};
k_.prototype.ngOnChanges=function(a){if(a.snoozeUntil){var b,c;if(c=this.snoozeUntil){c=null!=c&&c.getSeconds?c.getSeconds():c.seconds;var d=new dp;d.setTime(1E3*c);c=d}else c=null;this.currentPickerDate=null!=(b=c)?b:void 0}a.sloStatus&&(this.sloStatus?(this.snoozeTypeChoices=[Ppc],CJ(this.sloStatus.assignmentBounds)&&this.snoozeTypeChoices.push(Qpc),CJ(this.sloStatus.responseBounds)&&this.snoozeTypeChoices.push(Rpc),CJ(this.sloStatus.closureBounds)&&this.snoozeTypeChoices.push(Spc),this.isShowingEtaViewAs=
DJ(this.sloStatus)):(this.snoozeTypeChoices=Tpc,this.isShowingEtaViewAs=!1))};k_.prototype.setDate=function(a){this.currentPickerDate=a};k_.\u0275fac=function(a){return new (a||k_)(A(BJ))};
k_.\u0275cmp=p({type:k_,selectors:[["snooze-date-time-picker"]],inputs:{snoozeUntil:"snoozeUntil",sloStatus:"sloStatus",renderPanel:"renderPanel"},outputs:{snoozeUntilCommit:"snoozeUntilCommit",closePicker:"closePicker"},features:[Ug([sH]),Hd],decls:3,vars:3,consts:[[3,"clickOutside"],[3,"renderPanel","date","dateSelectionChange","saveClicked","cancelClicked"],[4,"ngIf"],[3,"formControl"],["tabindex","0"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(a,b){a&1&&(E(0,"div",0),K("clickOutside",
function(){b.closePicker.emit()}),E(1,"b-date-time-picker-content",1),K("dateSelectionChange",function(c){return b.setDate(c)})("saveClicked",function(){var c=(c=b.currentPickerDate)?{seconds:c.getTime()/1E3,nanos:0}:null;b.snoozeUntilCommit.emit({date:null!=c?c:null,snoozeType:b.currentSnoozeType.value.value});b.closePicker.emit()})("cancelClicked",function(){b.closePicker.emit()}),P(2,U1a,8,3,"ng-container",2),F()());a&2&&(z(1),D("renderPanel",b.renderPanel)("date",b.currentPickerDate),z(1),D("ngIf",
b.isShowingEtaViewAs))},dependencies:[xw,yw,xO,gY,ax,nx,XA,lP,kP,vA],styles:["b-date-time-picker-content[_ngcontent-%COMP%]{right:10px;z-index:100}[_nghost-%COMP%]     .mat-form-field{width:9rem;margin-left:1rem}[_nghost-%COMP%]     .mat-form-field .mat-form-field-underline{bottom:0}\n/*# sourceMappingURL=snooze_date_time_picker.css.map */"],changeDetection:0});var l_=function(a,b){this.data=a;this.dialogRef=b;this.commitEvent=void 0;this.fieldDisplayName=a.fieldDisplayName};l_.prototype.close=function(){this.dialogRef.close(this.commitEvent)};l_.\u0275fac=function(a){return new (a||l_)(A(HA),A(FA))};
l_.\u0275cmp=p({type:l_,selectors:[["b-edit-calendar-modal"]],decls:3,vars:2,consts:[["mat-dialog-title",""],[3,"renderPanel","snoozeUntilCommit","closePicker"]],template:function(a,b){a&1&&(E(0,"h1",0),Q(1),F(),E(2,"snooze-date-time-picker",1),K("snoozeUntilCommit",function(c){b.commitEvent=c})("closePicker",function(){return b.close()}),F());a&2&&(z(1),R("Edit ",b.fieldDisplayName,""),z(1),D("renderPanel",!1))},dependencies:[k_],encapsulation:2});var m_=function(a,b){this.data=a;this.dialogRef=b;this.fieldDisplayName=this.removeItems=this.addItems="";this.fieldDisplayName=a.fieldDisplayName};m_.prototype.save=function(){this.dialogRef.close({addItems:this.addItems,removeItems:this.removeItems})};m_.prototype.close=function(){this.dialogRef.close()};m_.\u0275fac=function(a){return new (a||m_)(A(HA),A(FA))};
m_.\u0275cmp=p({type:m_,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&&(E(0,"h1",0),Q(1),F(),E(2,"mat-dialog-content")(3,"p"),Q(4),F(),E(5,"div",1)(6,"mat-form-field")(7,"mat-label"),Q(8),F(),E(9,"input",2),K("ngModelChange",function(c){return b.addItems=c}),F()(),
H(10,"br"),E(11,"mat-form-field")(12,"mat-label"),Q(13),F(),E(14,"input",2),K("ngModelChange",function(c){return b.removeItems=c}),F()()()(),E(15,"mat-dialog-actions")(16,"button",3),K("click",function(){return b.close()}),Q(17," Cancel "),F(),E(18,"button",4),K("click",function(){return b.save()}),Q(19," Save "),F()());a&2&&(z(1),R("Edit ",b.fieldDisplayName,""),z(3),R("Enter ",b.fieldDisplayName," to add or remove"),z(4),R(" ",b.fieldDisplayName," to Add "),z(1),D("ngModel",b.addItems),z(4),R(" ",
b.fieldDisplayName," to Remove "),z(1),D("ngModel",b.removeItems))},dependencies:[Qh,ax,hx,tA,XA,VA,$A,KA,LA,MA],encapsulation:2});var Upc=["hotlistFilterInput"],Vpc=["hotlistCreate"],Wpc=["hotlistApply"],Xpc=["hotlistLoad"],Ypc=["menuitem"],n_=function(a,b,c,d,e,f){Z.call(this);this.liveAnnouncer=a;this.butterBar=b;this.userAccess=c;this.analytics=d;this.activeSession=e;this.cdr=f;this.selectedHotlistIds=[[]];this.choices=[];this.checkEditAcl=!0;this.onCreate=new Rv;this.onApply=new Rv;this.onLoad=new Rv;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()};W(n_,Z);n_.\u0275dir=Z.\u0275dir;n_.prototype.ngAfterViewInit=function(){var a=this,b;null==(b=this.trigger)||b.menuOpened.pipe(dg(this.destroyed$)).subscribe(function(){(0,C.timer)(0).pipe(dg(a.destroyed$)).subscribe(function(){a.focusFilterBox()})});var c;null==(c=this.trigger)||c.menuClosed.pipe(dg(this.destroyed$)).subscribe(function(){Zpc(a)})};
n_.prototype.focusFilterBox=function(){this.filterElement.nativeElement.focus()};n_.prototype.ngOnChanges=function(){$pc(this);this.oldSelectedHotlistMap=Object.assign({},this.selectedHotlistMap);this.pendingChanges=this.canCreate=!1;o_(this)};
var $pc=function(a){var b={};Wba(a.selectedHotlistMap);if(a.choices){a.validHotlistIds.clear();for(var c=m(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=m(a.selectedHotlistIds);for(var e=d.next();!e.done;e=d.next())if(e=e.value){e=m(e);for(var f=e.next();!f.done;f=e.next())b[f.value]++}d=m(Object.entries(b));for(e=d.next();!e.done;e=d.next())f=m(e.value),e=f.next().value,f=f.next().value,
a.selectedHotlistMap[Number(e)]=f?f===c?!0:null:!1;Za(a.choices,function(h,l){var q=b[h.hotlistId],u=b[l.hotlistId];return q>u?-1:q<u?1:Lr(h.name,l.name)})}}};n_.prototype.open=function(){this.trigger.openMenu();this.cdr.detectChanges()};n_.prototype.close=function(){this.trigger.closeMenu()};
n_.prototype.hasAclToEdit=function(a){var b=this;if(Tba(this.hotlistEditAcls,a.hotlistId))return this.hotlistEditAcls[a.hotlistId];JF(this.userAccess,"appender","hotlists/"+a.hotlistId).then(function(c){b.hotlistEditAcls[a.hotlistId]=c})};
var V1a=function(a,b){if(!a.checkEditAcl)return!1;a=a.hasAclToEdit(b);return void 0===a?!0:!a},wr=function(a,b){var c=a.selectedHotlistMap[b.hotlistId];a.selectedHotlistMap[b.hotlistId]=null===c?!0:!c;b2a(a);a.close()},b2a=function(a){a.onApply.emit({oldSelectionMap:a.oldSelectedHotlistMap,newSelectionMap:a.selectedHotlistMap})},o_=function(a){for(var b=a.filterText,c=!1,d=m(a.choices),e=d.next();!e.done;e=d.next())e=e.value,a.shouldShowHotlist[e.hotlistId]=za(e.name,b),e.name===b&&(c=!0);a.canCreate=
!(!b||c);a.canLoad=!/[^0-9]/.test(Qj(b))&&!!b&&!!a.onLoad},Zpc=function(a){a.trigger.menuOpen||($pc(a),a.filterText="",o_(a),a.pendingChanges=!1,a.focusedRowIndex=-1)},aqc=function(a){var b=a.selectedHotlistIds;return b&&1===b.length?"Hotlists ("+laa(b[0],function(c){return a.validHotlistIds.has(c)})+")":"Hotlists"};
n_.prototype.createHotlist=function(){var a=this,b=this.filterText;this.canCreate&&(this.filterText="",o_(this),this.onCreate.emit({name:b,successCallback:function(c){wr(a,c)},errorCallback:function(){XF(a.butterBar,"Failed to create hotlist "+b)}}))};
n_.prototype.loadHotlist=function(){var a=this,b=this.filterText;if(this.canLoad){this.analytics.trackEvent("hotlistPicker","loadHotlist");WF(this.butterBar,"Loading hotlist "+b.toString());this.filterText="";o_(this);for(var c=Lj(b),d=m(this.choices),e=d.next();!e.done;e=d.next())if(e=e.value,c===e.hotlistId){wr(this,e);return}this.onLoad.emit({hotlistId:c,successCallback:function(f){wr(a,f)},errorCallback:function(){XF(a.butterBar,"Failed to load hotlist "+b)}})}};
var W1a=function(a,b){V1a(a,b)||(a.selectedHotlistMap[b.hotlistId]=!a.selectedHotlistMap[b.hotlistId],a.focusFilterBox(),a.pendingChanges=!Fj(a.oldSelectedHotlistMap,a.selectedHotlistMap))},gqc=function(a,b){b=void 0===b?0:b;var c=p_(a).filter(function(e,f){return f>a.focusedRowIndex&&a.shouldShowHotlist[Number(e.id.substring(13))]}),d=a.choices.length;c.length?(b=b>=c.length?c[c.length-1]:c[b],a.focusedRowIndex=Ga(p_(a),b),bqc(a),cqc(a,b)):a.focusedRowIndex<d&&a.canCreate?dqc(a,d):a.focusedRowIndex<
d+1&&a.canLoad?eqc(a,d):a.focusedRowIndex<d+2&&a.pendingChanges&&fqc(a,d)},p_=function(a){return a.menuItems.map(function(b){return b.nativeElement})},hqc=function(a,b){b=void 0===b?0:b;if(a.focusedRowIndex===a.choices.length+1&&a.canCreate)dqc(a,a.choices.length);else if(a.focusedRowIndex===a.choices.length+2&&a.canLoad)eqc(a,a.choices.length);else if(a.focusedRowIndex===a.choices.length+2&&a.canCreate)dqc(a,a.choices.length);else{var c=p_(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=Ga(p_(a),b),bqc(a),cqc(a,b)):(a.focusedRowIndex=-1,cqc(a,null))}},cqc=function(a,b){a.filterElement&&IM(a.filterElement.nativeElement,b);a.focusFilterBox()},dqc=function(a,b){a.focusedRowIndex=b;IM(a.filterElement.nativeElement,null);var c;null==(c=a.createElement)||c.focus();a.liveAnnouncer.announce("Create new hotlist "+a.filterText);a.focusFilterBox()},eqc=function(a,b){a.focusedRowIndex=b+1;IM(a.filterElement.nativeElement,null);var c;
null==(c=a.loadElement)||c.focus();a.liveAnnouncer.announce("Load hotlist "+a.filterText);a.focusFilterBox()},fqc=function(a,b){a.focusedRowIndex=b+2;IM(a.filterElement.nativeElement,null);var c;null==(c=a.applyElement)||c.focus();a.liveAnnouncer.announce("Apply");a.focusFilterBox()},bqc=function(a){-1===a.focusedRowIndex||a.focusedRowIndex>=a.choices.length||(a=p_(a)[a.focusedRowIndex],a.scrollIntoViewIfNeeded?a.scrollIntoViewIfNeeded():a.scrollIntoView({block:"end"}))},X1a=function(a){return null==
a?"mixed":a.toString()},Y1a=function(a){return null==a?"indeterminate":a?"checked":"unchecked"};n_.\u0275fac=function(a){return new (a||n_)(A(Ty),A(VF),A(IF),A(wH),A(Vt),A(sH,2))};
n_.\u0275cmp=p({type:n_,selectors:[["b-hotlist-picker"]],viewQuery:function(a,b){a&1&&(ih(EC,5),ih(Upc,5),ih(Vpc,5),ih(Wpc,5),ih(Xpc,5),ih(Ypc,5));if(a&2){var c;hh(c=kh())&&(b.trigger=c.first);hh(c=kh())&&(b.filterElement=c.first);hh(c=kh())&&(b.createElement=c.first);hh(c=kh())&&(b.applyElement=c.first);hh(c=kh())&&(b.loadElement=c.first);hh(c=kh())&&(b.menuItems=c)}},inputs:{selectedHotlistIds:"selectedHotlistIds",choices:"choices",checkEditAcl:"checkEditAcl"},outputs:{onCreate:"onCreate",onApply:"onApply",
onLoad:"onLoad"},features:[Ug([sH]),qg,Hd],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&&(E(0,"button",0)(1,"span",1),Q(2),F(),H(3,"b-icon",2),F(),E(4,"mat-menu",null,3)(6,"div",4)(7,"div",5)(8,"div",6)(9,"input",7,8),K("ngModelChange",function(d){return b.filterText=d})("ngModelChange",
function(){return o_(b)})("mousedown",function(d){return d.stopPropagation()})("blur",function(){return Zpc(b)})("click",function(d){return d.stopPropagation()})("keydown",function(d){d.stopImmediatePropagation();"Escape"===d.key?b.close():"ArrowDown"===d.key?(gqc(b),d.preventDefault()):"ArrowUp"===d.key?(hqc(b),d.preventDefault()):"PageUp"===d.key?hqc(b,11):"PageDown"===d.key?gqc(b,11):" "===d.key?-1===b.focusedRowIndex||b.focusedRowIndex>=b.choices.length||(W1a(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(),b2a(b)):0<=b.focusedRowIndex&&b.focusedRowIndex<b.choices.length&&b.hasAclToEdit(b.choices[b.focusedRowIndex])&&wr(b,b.choices[b.focusedRowIndex]))}),F()()(),H(11,"mat-divider"),P(12,d2a,11,8,"ng-template",9),F()());if(a&2){var c=O(5);D("matMenuTriggerFor",c)("disabled",b.isAnonymous);z(2);Sg(aqc(b));z(7);D("ngModel",b.filterText)}},dependencies:[xw,
yw,FC,DC,EC,CC,tA,Qh,ax,tx,hx,Xz,NC,AM,GN],styles:[".menu[_ngcontent-%COMP%]{max-height:400px;width:280px;overflow-x:hidden;overflow-y:hidden}.menu-control[_ngcontent-%COMP%]{line-height:19px;padding:0 6px}.menu-control[_ngcontent-%COMP%]   .hotlist-filter[_ngcontent-%COMP%]{padding:8px 0}.menu-control[_ngcontent-%COMP%]   .hotlist-filter[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{height:29px;line-height:16px;padding-left:9px;vertical-align:top;width:100%;box-sizing:border-box;border-radius:4px;border:1px solid #dadce0}.multi-edit-scrollarea[_ngcontent-%COMP%]{display:flex;flex-direction:column;max-height:246px;overflow-y:scroll;overflow-x:hidden}.multi-edit-scrollarea[_ngcontent-%COMP%]::-webkit-scrollbar-track{border:0}.multi-edit-scrollarea[_ngcontent-%COMP%]   .multi-edit-menuitem[_ngcontent-%COMP%]{border-width:0;line-height:19px;margin:0 6px;padding:0}.multi-edit-scrollarea[_ngcontent-%COMP%]   .multi-edit-menuitem.focused[_ngcontent-%COMP%]{background-color:#f8f9fa;background-color:var(--surface-secondary);border:0}.multi-edit-scrollarea[_ngcontent-%COMP%]   .multi-edit-menuitem[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg);cursor:pointer}.mat-menu-item.focused[_ngcontent-%COMP%]{background-color:rgba(0,0,0,.12);background-color:var(--focus-bg);border:0}\n/*# sourceMappingURL=hotlist_picker.css.map */"]});var q_=function(a){this.dialogRef=a;this.reporter="";this.autocompleteActive=!1};q_.prototype.cancel=function(){this.dialogRef.close()};q_.prototype.save=function(){this.dialogRef.close(this.reporter)};q_.\u0275fac=function(a){return new (a||q_)(A(FA))};
q_.\u0275cmp=p({type:q_,selectors:[["b-reporter-picker-dialog"]],decls:12,vars:3,consts:[["mat-dialog-title",""],["matInput","",3,"bContactAutocomplete","ngModel","ngModelChange","autocompleteActive","keydown"],["mat-button","",1,"gmat-button",3,"click"],["mat-flat-button","",1,"gmat-button",3,"disabled","click"]],template:function(a,b){a&1&&(E(0,"h1",0),Q(1,"Change Reporter"),F(),E(2,"mat-dialog-content")(3,"mat-form-field")(4,"mat-label"),Q(5," Reporter "),F(),E(6,"input",1),K("ngModelChange",function(c){return b.reporter=
c})("autocompleteActive",function(c){return b.autocompleteActive=c})("keydown",function(c){"Enter"===c.key&&!b.autocompleteActive&&""!==b.reporter&&b.save()}),F()()(),E(7,"mat-dialog-actions")(8,"button",2),K("click",function(){return b.cancel()}),Q(9," Cancel "),F(),E(10,"button",3),K("click",function(){return b.save()}),Q(11," Save "),F()());a&2&&(z(6),D("bContactAutocomplete","SINGLE")("ngModel",b.reporter),z(4),D("disabled",""===b.reporter))},dependencies:[Qh,ax,hx,tA,KA,LA,MA,XA,VA,$A,WS],encapsulation:2});var iqc=["addCommentDialog"],r_=function(a,b,c,d,e,f,h,l,q,u,x,y){Z.call(this);this.cdr=a;this.activeSession=b;this.analytics=c;this.hotkeys=d;this.constants=e;this.componentActions=f;this.issueTypeDialog=h;this.copyIssueIdService=l;this.matDialog=q;this.$log=u;this.issuePicker=x;this.userPreferencesManager=y;this.currentUserEmail=this.activeSession.getUserEmail();this.hotlistIdMatrix=[];this.hotlistChoices=[];this.onSave=new Rv;this.onCreateHotlist=new Rv;this.onLoadHotlist=new Rv;this.externalWarnings=
[];this.enableRecaptcha=DE(this.activeSession,"enableRecaptcha")&&DE(this.activeSession,"enableBulkEditCaptchaUi");this.recaptchaResponse="";this.controllerName="baseControls"};W(r_,Z);var jqc=function(a){var b=new wJ,c;b.formattingMode=Dm(null==(c=$I(a.userPreferencesManager).textDisplayPreferences)?void 0:c.lastPublishMode);return b};r_.prototype.hasSelectedIssues=function(){return 0<this.getSelectedIssues().length};
var kqc=function(a){return a.getSelectedIssues().some(function(b){return!b.isRead})},e2a=function(a){return kqc(a)?"Mark as read":"Mark as unread"},xr=function(a){return a.getSelectedIssues().map(function(b){return b.issueId})};r_.prototype.onSelectionChange=function(){for(var a=this.getSelectedIssues(),b=m(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()};
var lqc=function(a){if(!CE(a.activeSession)){a.externalWarnings=[];var b=new Set(a.getSelectedIssues().map(function(e){return e.componentId})),c={};b=m(b);for(var d=b.next();!d.done;c={$jscomp$loop$prop$id$2294:c.$jscomp$loop$prop$id$2294},d=b.next())c.$jscomp$loop$prop$id$2294=d.value,a.componentActions.get(c.$jscomp$loop$prop$id$2294).then(function(e){if(a.activeSession.isInternalSession()&&ur(e)||hUb(a.activeSession)&&vr(e)){var f,h=O1a(null==(f=e.componentPathInfo)?void 0:f.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$2294+".")}}(c))}};
r_.prototype.bulkEdit=function(a){switch(a){case "ASSIGNEE":s_(this,null,0);break;case "COMPONENT":mqc(this);break;case "VERIFIER":s_(this,null,1);break;case "REPORTER":nqc(this);break;case "CHANGELIST":t_(this,"changelists","Changelists",!0);break;case "CUSTOM_FIELDS":oqc(this);break;case "FOUND_IN":t_(this,"foundInVersion","Found In");break;case "VERIFIED_IN":t_(this,"verifiedInVersion","Verified In");break;case "TARGETED_TO":t_(this,"targetedToVersion","Targeted To");break;case "COMMENT":pqc(this);
break;case "SLO_SNOOZE_UNTIL":qqc(this);break;case "CC":t_(this,"ccs","CCs");break;default:this.$log.error("unsupported bulk edit field: "+a)}};
r_.prototype.quickBulkEdit=function(a){switch(a.field){case "PRIORITY":(a=a.newValue)&&u_(this,"priority",a);break;case "SEVERITY":(a=a.newValue)&&u_(this,"severity",a);break;case "STATUS":(a=Dra(this.constants.protoIssueStatusesEnumStrings.get(a.newValue)))&&s_(this,Cn[a],"DUPLICATE"===a?3:void 0);break;case "TYPE":(a=this.constants.protoIssueTypesEnumStrings.get(a.newValue))&&u_(this,"type",a);break;case "IS_ARCHIVED":u_(this,"isArchived",""+a.newValue);break;case "IN_PROD":u_(this,"inProd",""+
a.newValue);break;case "CC":u_(this,"ccs",this.currentUserEmail,a.newValue?"ADD":"REMOVE");break;default:this.$log.error("unsupported bulk edit field: "+a.field)}};
r_.prototype.bulkEditIssueRelation=function(a){switch(a.issueRelation){case "BLOCKED_BY":a.isMarking?v_(this,{actionType:"ADD",fieldName:"blockedByIssueId",title:"Mark all selected issues as blocked by:",edgeType:"blocker"}):v_(this,{actionType:"REMOVE",fieldName:"blockedByIssueId",title:"Unmark all selected issues as blocked by:",edgeType:"un-blocker"});break;case "BLOCKING":a.isMarking?v_(this,{actionType:"ADD",fieldName:"blockingIssueId",title:"Mark all selected issues as blocking:",edgeType:"blocking"}):
v_(this,{actionType:"REMOVE",fieldName:"blockingIssueId",title:"Unmark all selected issues as blocking:",edgeType:"un-blocking"});break;case "PARENT":a.isMarking?v_(this,{actionType:"ADD",fieldName:"parentId",title:"Mark all selected issues as children of:",edgeType:"child"}):v_(this,{actionType:"REMOVE",fieldName:"parentId",title:"Unlink all selected issues from this parent:",edgeType:"un-parent"});break;case "DUPLICATE":s_(this,Cn.DUPLICATE,3);break;default:this.$log.error("unsupported issue relation: "+
a.issueRelation)}};r_.prototype.bulkMarkIssueRead=function(){var a=kqc(this);u_(this,"readState",a?"true":"")};
var u_=function(a,b,c,d){var e={fieldName:b,value:c};void 0!==d&&(e.actionType=d);var f=xr(a),h=[e];"deletionReason"===b&&h.push({fieldName:"isDeleted",value:"true"});d=function(){var l={bulkEditOps:[{issueIds:f,actions:h}]};a.enableRecaptcha&&""!==a.recaptchaResponse&&(l.recaptchaToken=a.recaptchaResponse);a.onSave.emit(l)};"type"!==b||"VULNERABILITY"!==c&&"PRIVACY_ISSUE"!==c?d():("VULNERABILITY"===c&&WI(a.issueTypeDialog,"VULNERABILITY",d,function(){}),"PRIVACY_ISSUE"===c&&WI(a.issueTypeDialog,
"PRIVACY_ISSUE",d,function(){}))},s_=function(a,b,c){a.hasSelectedIssues()&&(lqc(a),a.stateModal.showDialog(a.getSelectedIssues(),b,c))},rqc=function(a){var b=a.onSave,c=b.emit,d=xr(a),e=a.stateModal.issueEditBuilder,f=[];e.issueState||w1a(e);e=m(L1a(e));for(var h=e.next();!h.done;h=e.next()){var l=m(h.value);h=l.next().value;l=l.next().value;void 0!==l&&f.push({fieldName:h,value:l})}c.call(b,{bulkEditOps:[{issueIds:d,actions:f}],recaptchaToken:a.stateModal.issueEditBuilder.recaptchaResponse})},nqc=
function(a){a.hasSelectedIssues()&&(lqc(a),DA(a.matDialog.open(q_,{width:"400px"})).pipe(dg(a.destroyed$)).subscribe(function(b){a.hotkeys.unpause();b&&u_(a,"reporter",b)}),a.hotkeys.pause())},t_=function(a,b,c,d){d=void 0===d?!1:d;a.hasSelectedIssues()&&(DA(a.matDialog.open(m_,{width:"400px",data:{fieldDisplayName:c}})).pipe(dg(a.destroyed$)).subscribe(function(e){a.hotkeys.unpause();e&&sqc(a,b,e.addItems,e.removeItems,d)}),a.hotkeys.pause())},qqc=function(a){a.hasSelectedIssues()&&(DA(a.matDialog.open(l_,
{width:"330px",data:{fieldDisplayName:"SLO Snooze Until"}})).pipe(dg(a.destroyed$)).subscribe(function(b){a.hotkeys.unpause();if(b){var c=b.date;b=b.snoozeType;if(c){var d=[];d.push({fieldName:"sloSnoozeUntil",value:String(c.seconds)});d.push({fieldName:"sloSnoozeType",value:b});d.length&&a.onSave.emit({bulkEditOps:[{issueIds:xr(a),actions:d}]})}}}),a.hotkeys.pause())},sqc=function(a,b,c,d,e){e=void 0===e?!1:e;c=Gm(c);d=Gm(d);var f=[],h=!["foundInVersion","targetedToVersion","verifiedInVersion"].includes(b),
l=function(q){return Rj(q,h).map(function(u){return u.trim()})};Hm(c)||(c=l(c),e&&(c=c.filter(function(q){return!isNaN(q)})),f.push.apply(f,r(c.map(function(q){return{fieldName:b,value:q,actionType:"ADD"}}))));Hm(d)||(d=l(d),f.push.apply(f,r(d.map(function(q){return{fieldName:b,value:q,actionType:"REMOVE"}}))));f.length&&a.onSave.emit({bulkEditOps:[{issueIds:xr(a),actions:f}]})},mqc=function(a){a.hasSelectedIssues()&&(DA(a.matDialog.open(j_,{width:"600px",position:{top:"100px"},panelClass:"overflow-visible-dialog-panel"})).pipe(dg(a.destroyed$)).subscribe(function(b){a.hotkeys.unpause();
b&&(a.onSave.emit({bulkEditOps:[{issueIds:xr(a),actions:[{fieldName:"componentId",value:String(b.componentId)}]}]}),a.analytics.trackEvent(a.controllerName,"bulkMove"))}),a.hotkeys.pause())},tqc=function(a){a.hasSelectedIssues()&&(DA(a.matDialog.open(i_,{width:"600px",data:{issuesToFlag:a.getSelectedIssues()}})).pipe(dg(a.destroyed$)).subscribe(function(b){a.hotkeys.unpause();b&&(a.analytics.trackEvent(a.controllerName,"bulkFlagAsSpam"),u_(a,"deletionReason","ABUSE"))}),a.hotkeys.pause())},pqc=function(a){a.hasSelectedIssues()&&
a.addCommentDialog&&(a.comment||(a.comment=jqc(a)),a.addCommentDialogRef=a.matDialog.open(a.addCommentDialog,{panelClass:"no-jitter",minWidth:512,maxWidth:512}),DA(a.addCommentDialogRef).pipe(dg(a.destroyed$)).subscribe(function(b){a.hotkeys.unpause();a.comment&&(b&&V0b(a.comment)&&u_(a,"comment",a.comment.value),a.comment.reset())}),a.hotkeys.pause(),lqc(a))},l2a=function(a){var b;null==(b=a.addCommentDialogRef)||b.close(!0)},oqc=function(a){a.hasSelectedIssues()&&DA(a.matDialog.open(qY,{data:a.getSelectedIssues(),
width:"500px"})).pipe(dg(a.destroyed$)).subscribe(function(b){b&&(a.onSave.emit({bulkEditOps:b}),a.analytics.trackEvent(a.controllerName,"bulkCustomField"))})};
r_.prototype.handleHotlistPickerSave=function(a){var b=a.oldSelectionMap,c=[],d=[],e=0;Object.entries(a.newSelectionMap).forEach(function(f){var h=m(f);f=h.next().value;h=h.next().value;h!==b[f]&&(h?c.push(f):d.push(f),e++)});a=[];c.length&&a.push({fieldName:"hotlists",actionType:"ADD",value:c.join(",")});d.length&&a.push({fieldName:"hotlists",actionType:"REMOVE",value:d.join(",")});a.length&&(this.onSave.emit({bulkEditOps:[{issueIds:xr(this),actions:a}]}),this.analytics.trackEvent(this.controllerName,
"applyHotlists","numHotlists",e))};var v_=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:xr(a),actions:[{fieldName:d,value:e,actionType:c}]}]}))});a.hotkeys.pause()};r_.\u0275fac=function(a){return new (a||r_)(A(sH),A(Vt),A(wH),A(JM),A(gJ),A(hV),A(VI),A(RY),A(IA),A(YF),A(SP),A(ZI))};
r_.\u0275dir=qd({type:r_,viewQuery:function(a,b){a&1&&(ih(iqc,5),ih(n_,5),ih(h_,5));if(a&2){var c;hh(c=kh())&&(b.addCommentDialog=c.first);hh(c=kh())&&(b.hotlistPicker=c.first);hh(c=kh())&&(b.stateModal=c.first)}},inputs:{hotlistChoices:"hotlistChoices"},outputs:{onSave:"onSave",onCreateHotlist:"onCreateHotlist",onLoadHotlist:"onLoadHotlist"},features:[qg]});var w_=function(){};w_.\u0275fac=function(a){return new (a||w_)};w_.\u0275mod=od({type:w_});w_.\u0275inj=Wc({providers:[{provide:Nnc,useFactory:function(){return new Knc}}]});var x_=function(){};x_.\u0275fac=function(a){return new (a||x_)};x_.\u0275mod=od({type:x_});x_.\u0275inj=Wc({imports:[Mw,w_]});var y_=function(){};y_.\u0275fac=function(a){return new (a||y_)};y_.\u0275mod=od({type:y_});y_.\u0275inj=Wc({providers:[{provide:Mnc,useFactory:IZ}],imports:[Mw,YC,OC,ID,x_,XJ]});var z_=function(){};z_.\u0275fac=function(a){return new (a||z_)};z_.\u0275mod=od({type:z_});z_.\u0275inj=Wc({imports:[Mw,OC,YC,ID]});var A_=function(){};A_.\u0275fac=function(a){return new (a||A_)};A_.\u0275mod=od({type:A_});A_.\u0275inj=Wc({imports:[Mw,RU,eO,ID,DT,nP,y_,YC,OC,z_]});var B_=function(){};B_.\u0275fac=function(a){return new (a||B_)};B_.\u0275mod=od({type:B_});B_.\u0275inj=Wc({});var C_=function(){};C_.\u0275fac=function(a){return new (a||C_)};C_.\u0275mod=od({type:C_});C_.\u0275inj=Wc({imports:[Mw,NA,vP,wx,YC,eO,GC,XS,A_,B_]});var D_=function(){};D_.\u0275fac=function(a){return new (a||D_)};D_.\u0275mod=od({type:D_});D_.\u0275inj=Wc({imports:[Mw,GC,YC,aB,wx,$z,ID,fU,kU,eO]});var E_=function(a,b,c,d,e,f,h,l,q,u,x,y){r_.call(this,a,b,c,d,e,f,h,l,q,u,x,y);this.panels=[];this.isNonPublicSession=this.activeSession.isNonPublicSession();this.enableBulkEditUi=DE(this.activeSession,"enableBulkEditUi");this.controllerName="dashboardControls"};W(E_,r_);E_.\u0275dir=r_.\u0275dir;E_.prototype.ngOnChanges=function(a){if(a.panels)this.onSelectionChange()};
E_.prototype.getSelectedIssues=function(){var a=this.panels.flatMap(function(b){return b.selectedIssues});Xa(a,null,function(b){return b.issueId.toString()});return a};E_.\u0275fac=function(a){return new (a||E_)(A(sH,2),A(Vt),A(wH),A(JM),A(gJ),A(hV),A(VI),A(RY),A(IA),A(YF),A(SP),A(ZI))};
E_.\u0275cmp=p({type:E_,selectors:[["b-dashboard-controls"]],inputs:{panels:"panels"},features:[Ug([sH]),qg,Hd],decls:7,vars:5,consts:[[3,"readStatePrompt","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","onBulkEdit","onQuickBulkEdit","onBulkEditIssueRelation","onBulkMarkIssueRead"],[3,"shortLinkPrefix","shouldShowCopyIssueShortLinks","onClickCopyIssueIds","onClickCopyIssueShortLinks","onClickCopyAsIssueSearch"],[1,"bv2-grid-hotlist-picker"],[3,"selectedHotlistIds","choices","onApply","onCreate","onLoad"],["mat-dialog-title",""],[3,"comment","showToolbar","commentChange","onSubmit",4,"ngIf"],["class","bv2-external-component-modal-warning",
4,"ngIf"],["class","flex-kids-x justify-flex-end",4,"ngIf"],["mat-button","",1,"gmat-button","medium",3,"mat-dialog-close"],["mat-flat-button","","cdkFocusInitial","",1,"gmat-button","medium","primary",3,"disabled","mat-dialog-close"],[3,"comment","showToolbar","commentChange","onSubmit"],[1,"bv2-external-component-modal-warning"],[4,"ngFor","ngForOf"],[3,"accessLevel"],[1,"flex-kids-x","justify-flex-end"],[3,"onUpdate"]],template:function(a,b){a&1&&(P(0,f2a,1,1,"b-app-bar-bulk-edit-menus",0),P(1,
j2a,1,2,"b-copy-issue-id-button",1),P(2,k2a,2,2,"div",2),E(3,"b-app-bar-more-menu",3),K("flagAsSpamClicked",function(){return tqc(b)}),F(),E(4,"b-state-modal",4),K("save",function(){return rqc(b)})("close",function(){return b.hotkeys.unpause()}),F(),P(5,q2a,11,6,"ng-template",null,5,qh));a&2&&(D("ngIf",b.hasSelectedIssues()),z(1),D("ngIf",b.hasSelectedIssues()),z(1),D("ngIf",b.enableBulkEditUi&&b.hasSelectedIssues()),z(1),D("showFlagIssuesAsSpam",b.isNonPublicSession&&b.hasSelectedIssues()),z(1),
D("externalWarnings",b.externalWarnings))},dependencies:[zW,yW,g_,xw,yw,qP,OY,n_,tA,JA,KA,LA,MA,h_,aT],styles:["[_nghost-%COMP%] { display: flex; align-items: center; }"]});var F_=function(){};F_.\u0275fac=function(a){return new (a||F_)};F_.\u0275mod=od({type:F_});F_.\u0275inj=Wc({imports:[BW,DT,A_,Mw,vP,QY,D_,eO,YC,NA,C_,B_]});var G_=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)},uqc=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}});["REPEATED_TEXT","REPEATED_DATE",
"REPEATED_ENUM","REPEATED_NUMERIC"].includes(a.type)},H_=function(a,b){this.dirty=!1;var c=b.snapshot||{};this.customFields=a;this.new=null==b.templateId;this.name=b.name||"";this.description=b.description||"";this.type=c.type||"--";this.priority=c.priority||"--";this.severity=c.severity||"--";this.assignee=ck(c.assigneeUser)||"";this.verifier=ck(c.verifierUser)||"";this.collaborators=ak(c.collaboratorsUsers)||[];this.cc=ak(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=m(c.customField||[]);for(b=a.next();!b.done;b=a.next())b=b.value,this.customFieldValues[b.customFieldId.toString()]=new Uj(b);a=m(Object.entries(this.customFields));for(b=a.next();!b.done;b=a.next())c=m(b.value),b=c.next().value,c=c.next().value,b=Number(b),this.customFieldValues[b]||(this.customFieldValues[b]=
null!=c.typedDefaultValue?new Uj(c.typedDefaultValue):new Uj({customFieldId:b}))},wqc=function(a,b,c,d){b.name=a.name;b.description=a.description;var e=b.snapshot||{};vqc(a.type)?delete e.type:e.type=a.type;vqc(a.priority)?delete e.priority:e.priority=a.priority;vqc(a.severity)?delete e.severity:e.severity=a.severity;e.assigneeUser=gk(a.assignee);e.verifierUser=gk(a.verifier);d&&(e.collaboratorsUsers=a.collaborators.map(function(f){return gk(f)}));e.ccUsers=a.cc.map(function(f){return gk(f)});e.comment=
a.comment;e.formattingMode=a.formattingMode;e.title=a.title;e.hotlistId=a.hotlistId;e.inProd=a.inProd;e.customField=[];c&&(e.issueAccessLimitLevel=a.issueAccessLimitLevel);c=m(Object.keys(a.customFields));for(d=c.next();!d.done;d=c.next())(d=a.customFieldValues[d.value])&&!d.isEmpty()&&e.customField.push(d);b.snapshot=e};
H_.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:jj(c,"Unexpected custom field type: "+c)}}this.dirty=!0};H_.prototype.isDirty=function(){return this.dirty};H_.prototype.setFormattingMode=function(a){this.formattingMode=a;this.dirty=!0};H_.prototype.onAccessLimitLevelSelected=function(a){this.issueAccessLimitLevel=a;this.dirty=!0};
var vqc=function(a){return Hm(a)||"--"===a},L2a=function(a,b){a.collaborators=b.split(",").map(function(c){return c.trim()}).filter(function(c){return!!c});a.dirty=!0},W2a=function(a,b){a.cc=b.split(",").map(function(c){return c.trim()}).filter(function(c){return!!c});a.dirty=!0},xqc={value:"--",displayText:"--"};var yqc=new dB("M/d/yyyy"),I_=function(a){this.dateFormatter=a;this.boundValueChange=new Rv;this.textValue="";this.ariaLabelledBy=this.inputId=void 0;this.isRequired=!1};I_.prototype.ngOnInit=function(){if(this.boundValue){if(this.boundValue)if("string"===typeof this.boundValue)var a=Mj(this.boundValue);else{var b;a=null!=(b=Dj(this.boundValue))?b:void 0}else a=void 0;this.googDate=a;this.change(this.googDate,!0)}};
I_.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=yqc.format(a);else{var d;a=null!=(d=Wna(yqc.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):""}};I_.\u0275fac=function(a){return new (a||I_)(A(hJ))};
I_.\u0275cmp=p({type:I_,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&&(E(0,"b-date-time-input",0),K("valueChange",function(c){return b.change(c)}),F());a&2&&D("required",b.isRequired)("value",b.googDate)("customFormId",
b.inputId)("customAriaLabelledBy",b.ariaLabelledBy)},dependencies:[jY],encapsulation:2});var yr={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"},zqc={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"},r2a=[yr,{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"},zqc];var J_=function(){Z.apply(this,arguments);var a=this;this.defaultAccessLimitLevel$=new C.ReplaySubject(1);this.disabled=!0;this.implicitAccessEnabled=!1;this.updatedAccessLimitLevel=new Rv;this.selectedDisplay$=new C.BehaviorSubject(null);this.displays=r2a;this.disabledDropdownTooltip="Only users with Issue Admin permission can adjust restriction levels.";this.currentIssueAccessLimitLevelDisplay$=(0,C.combineLatest)([this.selectedDisplay$,this.defaultAccessLimitLevel$]).pipe(B(function(b){b=m(b);
var c=b.next().value;b=b.next().value;if(c)return c;c=m(a.displays);for(var d=c.next();!d.done;d=c.next())if(d=d.value,d.accessLevel===b)return d;return yr}));this.issueAccessLimitLevelDisplayTitle$=this.currentIssueAccessLimitLevelDisplay$.pipe(B(function(b){return b.title}))};W(J_,Z);J_.\u0275dir=Z.\u0275dir;Xi.Object.defineProperties(J_.prototype,{defaultAccessLimitLevel:{configurable:!0,enumerable:!0,set:function(a){this.defaultAccessLimitLevel$.next(a)}}});
J_.\u0275fac=function(){var a;return function(b){return(a||(a=ie(J_)))(b||J_)}}();
J_.\u0275cmp=p({type:J_,selectors:[["b-issue-access-limits-dropdown"]],inputs:{defaultAccessLimitLevel:"defaultAccessLimitLevel",disabled:"disabled",implicitAccessEnabled:"implicitAccessEnabled"},outputs:{updatedAccessLimitLevel:"updatedAccessLimitLevel"},features:[qg],decls:12,vars:7,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&&(E(0,"div",0)(1,"button",1)(2,"span",2),H(3,"mat-icon",3),E(4,"span",4),Q(5),U(6,"async"),F()(),H(7,"mat-icon",5),F(),P(8,t2a,1,1,"mat-icon",6),E(9,"mat-menu",7,8),P(11,u2a,7,3,"div",9),F()());if(a&2){var c=O(10);z(1);D("matMenuTriggerFor",c)("disabled",b.disabled);z(4);R(" ",V(6,5,
b.issueAccessLimitLevelDisplayTitle$)," ");z(3);D("ngIf",b.disabled);z(3);D("ngForOf",b.displays)}},dependencies:[xw,yw,tA,jB,FC,DC,EC,NC,Ew],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 Aqc=["saveBeforeClosingDialog"],Bqc=["deleteDialog"],Q2a=function(){return[]},K_=function(a,b,c,d,e,f,h,l,q,u,x,y,G,L,M){Z.call(this);this.matDialogService=a;this.cdr=b;this.userApi=c;this.templatesApi=d;this.hotlistApi=e;this.constants=f;this.paths=h;this.butterBar=l;this.analytics=q;this.issueTypeDialog=u;this.componentActions=x;this.documentationLinks=y;this.appEvents=G;this.activeSession=L;this.accessPolicyApi=M;this.defaultIndex=-1;this.componentId=0;this.supportCustomFields=!1;this.templates=
[];this.customFieldRows=[];this.currentTemplateRow=this.currentTemplate=null;this.currentIndex=-1;this.templateRows=[];this.afterSaveCheckFunc=null;this.hotlists=[];this.selectedHotlists=[];this.hotlistMap={};this.selectedHotlistIds=[[]];this.templateHotlistIds=[];this.hotlistPickerIndex=0;this.enableIssueAccessLimits=DE(this.activeSession,"enableIssueAccessLimits");this.enableCollaborators=DE(this.activeSession,"enableCollaborators");this.implicitAccessEnabled=!1;this.FieldType=Omc;this.customFieldIds=
Object.create(null);this.issueTypeChoices=Cqc(this);this.priorityChoices=Dqc(this);this.severityChoices=Eqc(this)};W(K_,Z);K_.\u0275dir=Z.\u0275dir;g=K_.prototype;
g.ngOnInit=function(){var a=this,b=function(){a.fetchUserHotlists()};this.fetchUserHotlists();this.enableIssueAccessLimits||(this.enableIssueAccessLimits=this.activeSession.getIssueAccessLimitsComponentAllowlist().has(this.componentId));this.enableCollaborators=(DE(this.activeSession,"enableCollaborators")||this.activeSession.getCollaboratorsComponentAllowlist().has(this.componentId))&&!this.activeSession.getCollaboratorsComponentDenylist().has(this.componentId);this.accessPolicyApi.checkComponentImplicitAccessEnabled(this.componentId).then(function(c){return a.implicitAccessEnabled=
c});this.subscriptions.add(this.appEvents.hotlistChanged.subscribe(b));this.subscriptions.add(this.appEvents.hotlistCreated.subscribe(b));this.subscriptions.add(this.appEvents.bookmarkGroupModified.subscribe(b));Promise.all([this.loadCustomFields(),this.loadTemplates()]).finally(function(){Fqc(a);a.cdr.detectChanges()})};
g.updateSelectedHotlists=function(){var a=this,b=this.templateHotlistIds[this.hotlistPickerIndex];this.selectedHotlistIds=b?[b]:[[]];this.selectedHotlists=this.hotlists.filter(function(c){return a.selectedHotlistIds[0].includes(c.hotlistId)});Za(this.selectedHotlists,function(c,d){return Lr(c.name,d.name)})};g.removeHotlist=function(a){La(this.templateHotlistIds[this.hotlistPickerIndex],a);this.currentTemplate.dirty=!0;this.updateSelectedHotlists()};
g.createHotlist=function(a){var b=this,c=a.name,d=a.successCallback;a=a.errorCallback;this.analytics.trackEvent("editTemplate","createHotlist");WF(this.butterBar,"Creating hotlist "+c+"...",0);this.hotlistApi.createHotlist(c).then(function(e){WF(b.butterBar,"Hotlist "+c+" created successfully.");b.addHotlist(e);b.appEvents.hotlistCreated.next();d(e);b.cdr.detectChanges()}).catch(a)};
g.handleHotlistPickerSave=function(a){var b=this,c=a.oldSelectionMap;nc(a.newSelectionMap,function(d,e){e=Lj(e);if(d!==c[e]){b.currentTemplate.dirty=!0;var f=b.selectedHotlistIds[0].includes(e);d&&!f?(d=b.templateHotlistIds[b.hotlistPickerIndex],Ha(d,e)||d.push(e)):!d&&f&&La(b.templateHotlistIds[b.hotlistPickerIndex],e)}},this);this.updateSelectedHotlists()};
g.loadHotlist=function(a){var b=this,c=a.successCallback,d=a.errorCallback;this.hotlistApi.get(a.hotlistId).then(function(e){b.addHotlist(e);c(e);b.cdr.detectChanges()}).catch(d)};g.fetchUserHotlists=function(){var a=this;this.userApi.getUserHotlists().then(function(b){b=m(b);for(var c=b.next();!c.done;c=b.next())a.addHotlist(c.value);a.cdr.detectChanges()})};g.addHotlist=function(a){var b=this.hotlistMap[a.hotlistId];b&&La(this.hotlists,b);this.hotlistMap[a.hotlistId]=a;this.hotlists.push(a)};
var Cqc=function(a){var b=a.constants.editIssueTypes.map(function(c){return{value:c,displayText:Era(c),altText:a.constants.issueTypesShortDescriptions.get(c)}});return[xqc].concat(b)};K_.prototype.getDateValue=function(a){return a};K_.prototype.getListFieldType=function(a){return a};
var T2a=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},G2a=function(a){"VULNERABILITY"===a.currentTemplateRow.issueType||"PRIVACY_ISSUE"===a.currentTemplateRow.issueType?WI(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)},Dqc=function(a){return[xqc].concat(a.constants.priorities.map(function(b){return{value:b,displayText:b}}))},Eqc=function(a){return[xqc].concat(a.constants.severities.map(function(b){return{value:b,displayText:b}}))};K_.prototype.setCustomField=function(a,b,c){a.editableTemplate.setCustomField(b,null!==c?c:void 0)};
var Y2a=function(a){a.currentTemplate=null;a.currentTemplateRow=null;a.currentIndex=-1;L_(a)},y2a=function(a,b){var c=a.currentIndex;Gqc(a,function(){b.index===c?Y2a(a):a.openEditor(b.index)})},Hqc=function(a){a.templateHotlistIds.push([]);Gqc(a,function(){a.openEditor()})},A2a=function(a,b){return 0<=b.index&&b.index===a.currentIndex},X2a=function(a){if(!a.currentTemplate)return Promise.resolve();if(0>a.currentIndex){var b="creating";var c={componentId:a.componentId,default:!1};var d=function(l){WF(a.butterBar,
l.name?'Template "'+l.name+'" created.':"Template created.");a.analytics.trackEvent("template","create");Iqc(a,"create",l.snapshot);a.templates.push(l);a.openEditor(a.templates.length-1)}}else{b="updating";var e=a.currentIndex;c=a.templates[e];d=function(l){WF(a.butterBar,l.name?'Template "'+l.name+'" updated.':"Template updated.");a.analytics.trackEvent("template","update");Iqc(a,"update",l.snapshot);a.templates[e]=l;Y2a(a)}}a.currentTemplate.hotlistId=a.templateHotlistIds[a.hotlistPickerIndex];
wqc(a.currentTemplate,c,a.enableIssueAccessLimits,a.enableCollaborators);WF(a.butterBar,"Saving template...");var f=c.componentId,h=c.templateId;return(h&&"0"!==String(h)?a.templatesApi.update(f,h,c):a.templatesApi.create(f,c)).then(function(l){a.appEvents.templateModified.next(String(a.componentId));d(l);a.cdr.detectChanges()}).catch(function(l){l=Wn(l);XF(a.butterBar,l?"Error "+b+" template: "+l:"There was an error "+b+" the template.",0)})},z2a=function(a,b){DA(a.matDialogService.open(a.deleteDialog,
{data:b})).pipe(dg(a.destroyed$)).subscribe(function(c){c&&Jqc(a,b)})},Jqc=function(a,b){var c=b.index;Ka(a.templateHotlistIds,c);b=a.templates[c];0>c||b.default?Promise.resolve():(WF(a.butterBar,"Deleting..."),a.templatesApi.delete(b.componentId,b.templateId).then(function(){a.appEvents.templateModified.next(String(a.componentId));WF(a.butterBar,"Deleted template");a.analytics.trackEvent("template","delete");a.templates.splice(c,1);a.currentIndex===c?Y2a(a):L_(a);a.cdr.detectChanges()}).catch(function(){XF(a.butterBar,
"Error while deleting template")}))},Lqc=function(a,b){b?X2a(a).then(function(){Kqc(a);a.cdr.detectChanges()}):Kqc(a)},B2a=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};
K_.prototype.openEditor=function(a){var b=this;this.currentIndex=void 0===a?-1:a;if(0>this.currentIndex){this.currentTemplate=Mqc(this,{componentId:this.componentId,default:!1,name:"New Template"});this.currentTemplate.dirty=!0;this.updateSelectedHotlists();L_(this);this.cdr.detectChanges();var c;null==(c=document.getElementById("template-name"))||c.focus()}else Nqc(this,this.templates[this.currentIndex]).then(function(d){b.currentTemplate=Mqc(b,d);b.hotlistPickerIndex=b.currentIndex;b.updateSelectedHotlists();
L_(b);b.cdr.detectChanges();var e;null==(e=document.getElementById("template-name"))||e.focus()})};
var Nqc=function(a,b){return a.templatesApi.get(b.componentId,b.templateId||0)},Gqc=function(a,b){a.currentTemplate&&a.currentTemplate.isDirty()?(a.afterSaveCheckFunc=b,Oqc(a)):b()},Iqc=function(a,b,c){a.enableIssueAccessLimits&&c&&c.issueAccessLimitLevel&&"LIMIT_NONE"!==c.issueAccessLimitLevel&&a.analytics.trackEvent(Mp.ISSUE_ACCESS_LIMITS,b,"template:"+c.issueAccessLimitLevel)},Oqc=function(a){DA(a.matDialogService.open(a.saveBeforeClosingDialog,{data:a.currentTemplateRow})).pipe(dg(a.destroyed$)).subscribe(function(b){void 0!==
b&&Lqc(a,b)})},Kqc=function(a){var b=a.afterSaveCheckFunc;a.afterSaveCheckFunc=null;b&&b()},Mqc=function(a,b){return new H_(a.customFieldIds,b)};
K_.prototype.loadCustomFields=function(){var a=this;this.customFieldRows=[];this.customFieldIds={};return this.supportCustomFields?this.componentActions.get(this.componentId).then(function(b){b=m(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 uqc(c,"TEXT"===c.type?"1":"2"))}a.cdr.detectChanges()}).catch(function(){XF(a.butterBar,"Unable to load custom fields")}):
Promise.resolve()};K_.prototype.loadTemplates=function(){var a=this;this.templates=[];return this.templatesApi.query(this.componentId).then(function(b){a.templates=b;b=m(a.templates);for(var c=b.next();!c.done;c=b.next())c=c.value,c.snapshot.hotlistId?a.templateHotlistIds.push(c.snapshot.hotlistId):a.templateHotlistIds.push([]);a.cdr.detectChanges()}).catch(function(){XF(a.butterBar,"Unable to load templates")})};
var Fqc=function(a){L_(a);a.defaultIndex=a.templates.findIndex(function(b){return b.default})},L_=function(a){if(0>a.currentIndex)a.templateRows=a.templates.map(function(e,f){return new G_(f,e)}),a.currentTemplate&&(a.currentTemplateRow=new G_(-1,a.currentTemplate),a.templateRows.push(a.currentTemplateRow)),a.hotlistPickerIndex=a.templates.length;else{var b=a.currentIndex,c=[];var d=a.templates.slice(0,b+1);c=c.concat(d.map(function(e,f){return new G_(f,e)}));a.currentTemplate&&(a.currentTemplateRow=
new G_(b,a.currentTemplate),c.push(a.currentTemplateRow));d=a.templates.slice(b+1);c=c.concat(d.map(function(e,f){return new G_(b+f+1,e)}));a.templateRows=c;a.hotlistPickerIndex=a.currentIndex}},Pqc=function(a,b,c){return Nqc(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})},x2a=function(a,b){if(a.defaultIndex!==b){a.defaultIndex=b;var c="(no template)";0<=b&&(b=a.templates[b],
c=b.name,Hm(Gm(c))&&(c="(unnamed template)"),b.default||(b=Pqc(a,b,function(d){d.default=!0}),WF(a.butterBar,"Changing default template..."),b.then(function(){WF(a.butterBar,"Changed default template to "+c)},function(d){XF(a.butterBar,"Error while changing default message"+(Vn(d)?": "+Wn(d):"."))}),a.analytics.trackEvent("template","changeDefault")))}};K_.\u0275fac=function(a){return new (a||K_)(A(IA),A(sH,2),A(dH),A(BF),A(ZG),A(gJ),A(NG),A(VF),A(wH),A(VI),A(hV),A(SI),A(cG),A(Vt),A(hG))};
K_.\u0275cmp=p({type:K_,selectors:[["b-edit-templates"]],viewQuery:function(a,b){a&1&&(ih(Aqc,5),ih(Bqc,5));if(a&2){var c;hh(c=kh())&&(b.saveBeforeClosingDialog=c.first);hh(c=kh())&&(b.deleteDialog=c.first)}},inputs:{componentId:"componentId",supportCustomFields:"supportCustomFields"},features:[Ug([sH]),qg],decls:21,vars:2,consts:[[1,"component-banner","template-help-banner"],["target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],[1,"templates-list"],[1,"template-column-tool"],[4,"ngFor",
"ngForOf"],[1,"edit-button-row"],["format","fill","bAriaLabel","Create New template in this component",3,"onAction"],["deleteDialog",""],["saveBeforeClosingDialog",""],[4,"ngIf"],["colspan","4",4,"ngIf"],["tabindex","-1",1,"template-row-name"],[1,"template-row-new-issue-link"],["tabindex","0",1,"keep-focus-ring",3,"href"],[3,"id","checked","aria-label","value","change"],["format","hairline",3,"bAriaLabel","onAction"],["format","hairline",3,"bAriaLabel","disabled","onAction"],["colspan","4"],[1,"template-edit-pane",
"template-editor-within-table"],["class","form-header",4,"ngIf"],[1,"cell-1"],[1,"template-label"],["for","template-name"],["id","template-name","type","text",1,"template-field",3,"ngModel","ngModelChange"],["for","template-description"],["id","template-description","type","text",1,"template-field",3,"ngModel","ngModelChange"],"role;region;tabindex;0;aria-label;Standard issue fields".split(";"),["class","cell-1",4,"ngIf"],["for","template-title"],["id","template-title","type","text",1,"template-field",
3,"ngModel","ngModelChange"],[1,"cell-3"],["for","template-default-type"],["id","template-default-type","type","button","mat-button","",1,"gmat-button","medium","primary",3,"matMenuTriggerFor"],["name","arrow-dropdown","size","small"],[3,"overlapTrigger"],["typeMenu",""],["mat-menu-item","",3,"disabled","matTooltip","click",4,"ngFor","ngForOf"],["for","template-default-priority"],["id","template-default-priority","type","button","mat-button","",1,"gmat-button","medium","primary",3,"matMenuTriggerFor"],
["priorityMenu",""],["mat-menu-item","",3,"disabled","click",4,"ngFor","ngForOf"],["for","template-default-severity"],["id","template-default-severity","type","button","mat-button","",1,"gmat-button","medium","primary",3,"matMenuTriggerFor"],["severityMenu",""],[1,"cell-1","bv2-edit-template-hotlists"],["for","template-default-hotlist"],["id","template-default-hotlist",1,"hotlist-picker",3,"selectedHotlistIds","choices","onApply","onCreate","onLoad"],["class","bv2-hotlist-chips",4,"ngFor","ngForOf"],
[1,"float-clear"],[1,"cell-2"],["for","template-assignee"],["id","template-assignee","type","text",1,"template-field",3,"bContactAutocomplete","ngModel","ngModelChange"],["for","template-verifier"],["id","template-verifier","type","text",1,"template-field",3,"bContactAutocomplete","ngModel","ngModelChange"],["for","template-cc"],["id","template-cc","type","text",1,"template-field",3,"bContactAutocomplete","ngModel","ngModelChange"],["for","template-comment"],["id","template-comment",1,"template-field",
3,"ngModel","ngModelChange"],[3,"initialValue","change"],["for","template-in-prod"],["id","template-in-prod","aria-label","issue in prod",3,"model","modelChange"],"role;region;tabindex;0;aria-label;Custom issue fields".split(";"),[3,"class",4,"ngFor","ngForOf"],[1,"buttons-row"],["format","fill",3,"disabled","onAction"],["format","hairline",3,"onAction"],[1,"form-header"],["for","template-issue-access-limits-dropdown"],["id","template-issue-access-limits-dropdown",3,"disabled","defaultAccessLimitLevel",
"implicitAccessEnabled","updatedAccessLimitLevel"],["mat-menu-item","",3,"disabled","matTooltip","click"],["mat-menu-item","",3,"disabled","click"],[1,"bv2-hotlist-chips"],[3,"hotlist","removeHotlist"],["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"],[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&&(E(0,"div")(1,"div",0),Q(2," A template is a set of default values for new issues created in this component. "),E(3,"a",1),Q(4,"Learn more"),F()(),E(5,"table",2)(6,"tr")(7,"th"),Q(8,"TEMPLATE"),F(),E(9,"th",3),Q(10,"DEFAULT"),F(),H(11,
"th",3)(12,"th",3),F(),P(13,$2a,3,2,"tr",4),F(),E(14,"div",5)(15,"b-button",6),K("onAction",function(){return Hqc(b)}),Q(16," Create New "),F()(),P(17,a3a,7,3,"ng-template",null,7,qh),P(19,b3a,9,4,"ng-template",null,8,qh),F());a&2&&(z(3),D("href","https://g3doc.corp.google.com/company/teams/buganizer/user-guide/concepts/templates",Ie),z(10),D("ngForOf",b.templateRows))},dependencies:[cQ,xw,yw,zw,Aw,Bw,$O,hZ,Qh,jx,ax,hx,qU,n_,I_,lZ,tA,JA,LA,MA,jB,EN,dZ,WS,NC,GN,FC,DC,EC,J_],styles:[".buttons-row[_ngcontent-%COMP%]   b-button[_ngcontent-%COMP%]{ margin-right: 10px;}"]});var M_=function(){};M_.\u0275fac=function(a){return new (a||M_)};M_.\u0275mod=od({type:M_});M_.\u0275inj=Wc({imports:[Mw,yY]});var N_=function(){};N_.\u0275fac=function(a){return new (a||N_)};N_.\u0275mod=od({type:N_});N_.\u0275inj=Wc({imports:[Mw,YC,OC,GC,ID,eO]});var O_=function(){};O_.\u0275fac=function(a){return new (a||O_)};O_.\u0275mod=od({type:O_});O_.\u0275inj=Wc({imports:[DT,Mw,nP,iZ,wx,AU,D_,M_,mZ,YC,NA,OC,iO,eZ,XJ,XS,mP,wA,ID,eO,GC,N_]});var P_=function(a,b,c,d,e){this.appSearchState=b;this.analytics=c;this.domSafe=d;this.currentTracker=e;this.enableEstado=DE(a,"enableEstado")};P_.prototype.openInEstado=function(){this.analytics.trackEvent("listIssues","addOns","Estado");this.domSafe.openInNewTab("http://go/estado/dashboard-lite/buganizer?buganizer-query="+encodeURIComponent(this.appSearchState.currentQuery))};P_.\u0275fac=function(a){return new (a||P_)(n(Vt),n(AX),n(wH),n(PK),n(mL))};
P_.\u0275prov=Vc({token:P_,factory:P_.\u0275fac,providedIn:"root"});var Q_=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};Q_.\u0275fac=function(a){return new (a||Q_)(A(HA))};
Q_.\u0275cmp=p({type:Q_,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&&(E(0,"h1",0),Q(1),F(),E(2,"mat-dialog-content")(3,"b-custom-field-picker",1),K("fieldSelected",function(c){return b.selectedCustomField=c}),
F()(),E(4,"mat-dialog-actions")(5,"button",2),Q(6," Cancel "),F(),E(7,"button",3),Q(8," Add "),F()());a&2&&(z(1),R("Insert custom field column next to ",b.column.fullLabel,""),z(2),D("filter",b.isLegalColumn),z(4),D("disabled",!b.selectedCustomField)("mat-dialog-close",b.selectedCustomField))},dependencies:[tA,JA,KA,LA,MA,pZ],encapsulation:2});var c3a="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 zr=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)};zr.prototype.toString=function(){return this.isCustomField?"customfield:"+this.name+"["+this.fullLabel+"]":this.name};
var h3a={issueId:{defaultSortDirection:"DESC",label:"ID"},priority:{label:"P",fullLabel:"Priority"},severity:{label:"S",fullLabel:"Severity"},modifiedTime:{defaultSortDirection:"DESC",label:"LAST MODIFIED"},magic:{label:"MAGIC NUMBER"},createdTime:{defaultSortDirection:"DESC",label:"CREATED"},verifiedTime:{defaultSortDirection:"DESC",label:"VERIFIED"},resolvedTime:{defaultSortDirection:"DESC",label:"RESOLVED"},blockedByIssueId:{sortable:!1,label:"BLOCKED BY"},foundInVersion:{label:"FOUND IN"},targetedToVersion:{label:"TARGETED TO"},
verifiedInVersion:{label:"VERIFIED IN"},inProd:{label:"IN PROD"},duplicateOfIssueId:{sortable:!1,label:"DUPLICATE OF"},componentPath:{label:"COMPONENT",moreOptions:[{name:"wrapComponents",menuItem:"Wrap components"},{name:"rtlComponentPath",menuItem:"Prefer right alignment"}]},cc:{sortable:!1},collaborator:{sortable:!1},changelist:{sortable:!1},postmortem:{sortable:!1},blockingIssueId:{sortable:!1,label:"BLOCKING"},title:{moreOptions:[{name:"showHotlists",menuItem:"Show hotlists"},{name:"wrapTitles",
menuItem:"Wrap titles"}]},status:{moreOptions:[{name:"showStatusIcons",menuItem:"Icons only"},{name:"status-plain",menuItem:"Plain text (no colors)"}]},voteCount:{defaultSortDirection:"DESC",label:"VOTES",fullLabel:"Vote Count"},duplicateCount:{defaultSortDirection:"DESC",label:"DUPE COUNT",tooltip:"Duplicate Count"},ccCount:{defaultSortDirection:"DESC",label:"CC COUNT"},collaboratorCount:{defaultSortDirection:"DESC",label:"COLLABORATOR COUNT"},lastModifier:{label:"LAST MODIFIED BY"},minSlo:{defaultSortDirection:"ASC",
label:"NEAREST SLO",fullLabel:"Nearest SLO",parentLabel:"SLO"},assignmentSlo:{label:"ASSIGNMENT SLO",fullLabel:"Assignment SLO",parentLabel:"SLO",sortable:!0},responseSlo:{label:"RESPONSE SLO",fullLabel:"Response SLO",parentLabel:"SLO",sortable:!0},closureSlo:{label:"CLOSURE SLO",fullLabel:"Closure SLO",parentLabel:"SLO",sortable:!0},deletionTime:{label:"DELETION DATE",fullLabel:"Deletion Date",sortable:!0},team:{label:"TEAM",sortable:!0},estimate:{label:"ESTIMATE",fullLabel:"Estimate",parentLabel:"Estimates",
sortable:!0},estimateTotalOpen:{label:"TOTAL DAYS OPEN",fullLabel:"Total days open",parentLabel:"Estimates",sortable:!0,tooltip:"Total estimate of all child issues that are open in number of days"},estimateTotalComplete:{label:"TOTAL DAYS COMPLETE",fullLabel:"Total days complete",parentLabel:"Estimates",sortable:!0,tooltip:"Total estimate of all child issues that are complete (fixed or won\u2019t fix) in number of days"}};var R_=function(a,b,c){this.target=a;this.eventType=b;this.listener=c;this.target.addEventListener(this.eventType,this.listener)};R_.prototype.off=function(){this.target.removeEventListener(this.eventType,this.listener)};var Qqc=function(){this.bindings=[]};Qqc.prototype.off=function(){for(var a=m(this.bindings),b=a.next();!b.done;b=a.next())b.value.off()};
var Rqc=function(a){var b=this;this.params=a;this.mask=document.createElement("div");this.element=this.params.nativeElement;this.eventBindings=new Qqc;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()}};
Rqc.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(){Sqc(a,"dragstart",a.onDragTargetDragstart);Sqc(a,"dragenter",a.onDragTargetDragenter);Sqc(a,"dragend",a.onDragTargetDragend);Sqc(a,"selectstart",a.onDragTargetSelectstart);a.eventBindings.bindings.push(new R_(a.mask,"dragleave",a.onMaskDragLeave));
a.eventBindings.bindings.push(new R_(a.mask,"dragover",a.onMaskDragover));a.eventBindings.bindings.push(new R_(a.mask,"drop",a.onMaskDrop))})};var Sqc=function(a,b,c){a.eventBindings.bindings.push(new R_(a.element,b,Br("th.drag-target",c)))};Rqc.prototype.tearDown=function(){this.eventBindings.off()};var Tqc=["table"],Uqc=["defaultHeaderCellTemplate"],Vqc=["defaultViewCellTemplate"],Wqc=["dataRows"],m3a=function(a){return{column:a}},p3a=function(a,b,c){return{row:a,column:b,index:c}},S_=function(a,b){var c=this;this.activeSession=a;this.ngZone=b;this.headerCellTemplates={};this.viewCellTemplates={};this.list=[];this.columns=[];this.columnsChange=new Rv;this.rowClick=new Rv;this.rowLabelRenderer=function(d,e){return"Row "+e};this.sortChange=new Rv;this.focusedRowIndexChange=new Rv;this.afterViewInit=
new Rv;this.enableDragDropHeader=!0;this.readUnreadOptOut=DE(this.activeSession,"readUnreadOptOut");this.onDragDropColumn=function(d,e){var f=[].concat(r(c.columns));d=f.splice(d,1)[0];f.splice(e,0,d);c.columns=f;c.columnsChange.emit([].concat(r(c.columns)))};this.onTdClickableClick=Br("td.clickable",function(d,e){if(("mouseup"!==d.type||1===d.button)&&!R3b(e)&&(e=e.closest("tr"))){var f,h=null!=(f=e.dataset.rowId)?f:"";c.rowClick.emit({id:h,isRead:!!e.dataset.isRead,event:d})}})};
S_.prototype.ngOnInit=function(){this.enableDragDropHeader&&Xqc(this);this.tableElement.nativeElement.addEventListener("click",this.onTdClickableClick);this.tableElement.nativeElement.addEventListener("mouseup",this.onTdClickableClick)};var Xqc=function(a){a.dragDropHeaderLogic=new Rqc({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()};
S_.prototype.ngOnChanges=function(a){if(a=a.focusedRowIndex){var b=a.currentValue;null!=b&&b!==a.previousValue&&this.dataRows&&(a=this.dataRows.toArray()[b])&&(GEa(a.nativeElement)||a.nativeElement.scrollIntoView({block:"center"}),this.focus())}};S_.prototype.ngAfterViewInit=function(){this.afterViewInit.emit(this)};
S_.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)};S_.prototype.getViewCellTemplate=function(a){return null!=a?this.viewCellTemplates[a]||this.defaultViewCellTemplate:this.defaultViewCellTemplate};var Yqc=function(a){return a.columns.map(function(b){return a.getViewCellTemplate(b.name)})};
S_.prototype.renderRowLabel=function(a,b){return this.rowLabelRenderer(a,b)};S_.prototype.focus=function(){if(null!=this.focusedRowIndex&&null!=this.dataRows){var a=this.dataRows.toArray()[this.focusedRowIndex];a&&a.nativeElement.focus()}};S_.prototype.getColumnIndexForElement=function(a){var b=a.dataset.dragTargetColumnName;return this.columns.findIndex(function(c){return c.name===b})};S_.\u0275fac=function(a){return new (a||S_)(A(Vt),A(hg))};
S_.\u0275cmp=p({type:S_,selectors:[["pop-grid"]],viewQuery:function(a,b){a&1&&(ih(Tqc,7),ih(Uqc,7),ih(Vqc,7),ih(Wqc,5,ke));if(a&2){var c;hh(c=kh())&&(b.tableElement=c.first);hh(c=kh())&&(b.defaultHeaderCellTemplate=c.first);hh(c=kh())&&(b.defaultViewCellTemplate=c.first);hh(c=kh())&&(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:[Hd],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&&(E(0,"table",0,1),K("mousedown",function(c){c.shiftKey&&window.getSelection().removeAllRanges()}),E(2,"colgroup"),P(3,k3a,1,3,"col",2),F(),E(4,"thead")(5,"tr",3),P(6,n3a,2,4,"ng-container",4),F()(),E(7,"tbody"),P(8,s3a,2,1,"ng-container",5),F()(),P(9,t3a,2,1,"ng-template",null,6,qh),P(11,u3a,2,2,"ng-template",null,7,qh));a&2&&(z(3),D("ngForOf",b.columns),z(3),D("ngForOf",b.columns),z(2),D("ngIf",Yqc(b)))},
encapsulation:2});var T_=function(a,b){this.templateRef=a;this.popGrid=b};T_.prototype.ngOnInit=function(){this.forHeaderCell&&(this.popGrid.headerCellTemplates[this.forHeaderCell]=this.templateRef)};T_.\u0275fac=function(a){return new (a||T_)(A(eh),A(S_))};T_.\u0275dir=qd({type:T_,selectors:[["","forHeaderCell",""]],inputs:{forHeaderCell:"forHeaderCell"}});var U_=function(a,b){this.templateRef=a;this.popGrid=b};
U_.prototype.ngOnInit=function(){this.forViewCell&&(this.popGrid.viewCellTemplates[this.forViewCell]=this.templateRef)};U_.\u0275fac=function(a){return new (a||U_)(A(eh),A(S_))};U_.\u0275dir=qd({type:U_,selectors:[["","forViewCell",""]],inputs:{forViewCell:"forViewCell"}});var V_=function(a,b){this.templateRef=a;this.popGrid=b};V_.prototype.ngOnInit=function(){this.popGrid.defaultHeaderCellTemplate=this.templateRef};V_.\u0275fac=function(a){return new (a||V_)(A(eh),A(S_))};
V_.\u0275dir=qd({type:V_,selectors:[["","forHeaderCellDefault",""]]});var W_=function(){this.columnLabel=this.columnName="";this.defaultSortDirection="ASC";this.sortChanged=new Rv};W_.prototype.ariaLabel=function(){var a=this.columnLabel+", sortable";return this.isActive()?"ASC"===this.sort.direction?a+", sorted ascending":a+", sorted descending":a};W_.prototype.isActive=function(){return!!this.sort&&this.sort.field===this.columnName};
W_.prototype.activate=function(){var a=this.defaultSortDirection;this.isActive()&&(a="ASC"===this.sort.direction?"DESC":"ASC");this.sortChanged.emit({field:this.columnName,direction:a})};W_.\u0275fac=function(a){return new (a||W_)};
W_.\u0275cmp=p({type:W_,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&&(E(0,"div",0),K("click",function(){return b.activate()})("keydown.enter",function(c){b.activate();return c.stopPropagation()})("keydown.space",
function(c){b.activate();return c.stopPropagation()}),H(1,"span",1),Q(2),F());a&2&&(Fg("current-sort",b.isActive())("direction-asc",b.isActive()&&"ASC"===b.sort.direction)("direction-desc",b.isActive()&&"DESC"===b.sort.direction),ug("aria-label",b.ariaLabel()),z(2),R(" ",b.columnLabel," "))},encapsulation:2});var X_=function(a,b){this.elementRef=a;this.grid=b};X_.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}}};X_.prototype.ngOnDestroy=function(){this.cellParent&&delete this.cellParent.dataset.dragTargetColumnName};
X_.\u0275fac=function(a){return new (a||X_)(A(ke),A(S_,8))};
X_.\u0275cmp=p({type:X_,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&&(E(0,"div",0),P(1,v3a,1,5,"b-sortable-header",1),P(2,x3a,3,3,"div",2),F());a&2&&(z(1),D("ngIf",b.column.sortable),z(1),D("ngIf",!b.column.sortable))},dependencies:[yw,NC,W_],encapsulation:2});var E3a=function(a,b){return{columns:a,before:b}},Zqc=function(){return{before:!1}},$qc=function(){return{before:!0}},Y_=function(a,b,c,d,e,f){Z.call(this);var h=this;this.matDialog=a;this.userPreferencesManager=b;this.butterBar=c;this.analytics=d;this.hotkeys=e;this.activeSession=f;this.selectedColumnsChange=new Rv;this.onAddTeamColumn=new Rv;this.currentAvailableItems=[];this.isRemovable=!0;this.menuOpen=!1;this.listViewPrefs=BE.listViewPreferences;b.preferences$.pipe(dg(this.destroyed$)).subscribe(function(l){h.listViewPrefs=
l.listViewPreferences||BE.listViewPreferences})};W(Y_,Z);Y_.\u0275dir=Z.\u0275dir;Y_.prototype.ngOnChanges=function(a){a.selectedColumns&&arc(this)};
var brc=function(a){a.selectedColumnsChange.emit([].concat(r(a.selectedColumns)));arc(a)},z3a=function(a,b){var c=Object.assign({},a.listViewPrefs),d=A3a(b),e=d.get;d=d.set;d(c,!e(c));a.activeSession.isAnonymous()||WF(a.butterBar,"Saving display preference...",0);a.userPreferencesManager.save({listViewPreferences:c}).pipe(Rf(),dg(a.destroyed$)).subscribe(function(){a.analytics.trackEvent("preferences","setListViewPref:"+b,e(c).toString());a.listViewPrefs=c;a.activeSession.isAnonymous()||WF(a.butterBar,
"Display preference saved.",4E3)},function(){a.activeSession.isAnonymous()||XF(a.butterBar,"Display preference could not be saved.")})},H3a=function(a,b){a.hotkeys.pause();DA(a.matDialog.open(Q_,{data:{column:a.column,columns:a.selectedColumns},position:{top:"100px"},panelClass:"overflow-visible-dialog-panel"})).pipe(dg(a.destroyed$)).subscribe({next:function(c){c&&a.add(c,b)},error:function(){a.hotkeys.unpause()},complete:function(){a.hotkeys.unpause()}})},arc=function(a){for(var b={},c=m(a.selectedColumns),
d=c.next();!d.done;d=c.next())b[d.value.name]=!0;var e=a.availableColumns.filter(function(f){return!Tba(b,f.name)});c=[].concat(r(new Set(e.filter(function(f){return f.parentLabel}).map(function(f){return f.parentLabel})))).map(function(f){return{label:f,columns:e.filter(function(h){return h.parentLabel===f})}});d=e.filter(function(f){return!f.parentLabel});a.currentAvailableItems=[].concat(r(d),r(c));a.currentAvailableItems.sort(function(f,h){return Lr(f instanceof zr?f.fullLabel:f.label,h instanceof
zr?h.fullLabel:h.label)});a.isRemovable=crc(a)};Y_.prototype.isIssueGridColumn=function(a){return a instanceof zr};Y_.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,brc(this),!0}return!1};
Y_.prototype.add=function(a,b){var c=this;this.menuTrigger.closeMenu();a="customFieldId"in a&&a.customFieldId?new zr({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(r(this.selectedColumns));this.selectedColumns.splice(b,0,a);brc(this);return!0};
var crc=function(a){return 1<a.selectedColumns.filter(function(b){return!b.isMetadata}).length};Y_.\u0275fac=function(a){return new (a||Y_)(A(IA),A(ZI),A(VF),A(wH),A(JM),A(Vt))};
Y_.\u0275cmp=p({type:Y_,selectors:[["b-column-picker"]],viewQuery:function(a,b){a&1&&ih(EC,5);if(a&2){var c;hh(c=kh())&&(b.menuTrigger=c.first)}},inputs:{column:"column",availableColumns:"availableColumns",selectedColumns:"selectedColumns"},outputs:{selectedColumnsChange:"selectedColumnsChange",onAddTeamColumn:"onAddTeamColumn"},features:[qg,Hd],decls:20,vars:11,consts:[[1,"bv2-column-picker-container"],[1,"bv2-columnheader-content"],[3,"column"],["mat-button","","tabindex","0","role","button","class",
"columnpicker-button",3,"matMenuTriggerFor","columnpicker-button-active","menuOpened","menuClosed","keydown.enter","keydown.space",4,"ngIf"],[1,"columnpicker-menu"],["pickerMenu","matMenu"],["mat-menu-item","","class","checkbox-item",3,"b-menu-item-checked","click",4,"ngFor","ngForOf"],[4,"ngIf"],["mat-menu-item","",3,"disabled","click"],["mat-menu-item","",3,"matMenuTriggerFor","matMenuTriggerData"],["addColumnMenu","matMenu"],["matMenuContent",""],["columnGroupMenu","matMenu"],["mat-button","",
"tabindex","0","role","button",1,"columnpicker-button",3,"matMenuTriggerFor","menuOpened","menuClosed","keydown.enter","keydown.space"],["menuTrigger","matMenuTrigger"],["mat-menu-item","",1,"checkbox-item",3,"click"],["name","done","size","small",1,"item-checkmark","b-menu-item-check-mark"],[1,"item-description"],["mat-menu-item","",3,"click"],[4,"ngFor","ngForOf"],["mat-menu-item","",3,"matTooltip","click",4,"ngIf"],["mat-menu-item","",3,"matMenuTriggerFor","matMenuTriggerData",4,"ngIf"],["mat-menu-item",
"",3,"matTooltip","click"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"]],template:function(a,b){a&1&&(E(0,"div",0)(1,"div",1),H(2,"pop-grid-default-th",2),F(),P(3,y3a,2,4,"div",3),E(4,"mat-menu",4,5),P(6,B3a,4,3,"button",6),P(7,C3a,1,0,"mat-divider",7),E(8,"button",8),K("click",function(){return b.remove()}),Q(9," Remove column "),F(),E(10,"button",9),Q(11," Add column right "),F(),E(12,"button",9),Q(13," Add column left "),F()(),E(14,"mat-menu",null,10),P(16,I3a,4,1,"ng-template",11),F(),E(17,
"mat-menu",null,12),P(19,K3a,1,1,"ng-template",11),F()());if(a&2){var c=O(15);z(2);D("column",b.column);z(1);D("ngIf",!0);z(3);D("ngForOf",b.column.moreOptions);z(1);D("ngIf",b.column.moreOptions.length);z(1);D("disabled",!b.isRemovable);z(2);D("matMenuTriggerFor",c)("matMenuTriggerData",Wg(9,Zqc));z(2);D("matMenuTriggerFor",c)("matMenuTriggerData",Wg(10,$qc))}},dependencies:[xw,yw,FC,DC,EC,CC,AM,NC,GN,X_],styles:['.bv2-columheader-content[_ngcontent-%COMP%]{display:inline-block;height:100%}.columnpicker-button[_ngcontent-%COMP%]{background:none;border:1px solid rgba(0,0,0,0);height:24px;width:24px;opacity:.8}.columnpicker-button[_ngcontent-%COMP%]::before{background:none;border-radius:50%;position:absolute;top:-2px;bottom:-2px;left:-2px;right:-2px;box-sizing:border-box;content:"";display:block}.columnpicker-button[_ngcontent-%COMP%]:hover::before, .columnpicker-button[_ngcontent-%COMP%]:focus::before, .columnpicker-button.columnpicker-button-active[_ngcontent-%COMP%]::before{background-color:#dadce0;background-color:var(--c300);opacity:1}.columnpicker-button[_ngcontent-%COMP%]::after{background:url(https://www.gstatic.com/buganizer/img/v0/arrow_drop_down_black.svg);content:"";cursor:pointer;height:24px;width:24px;opacity:.8;position:absolute}  .columnpicker-menu .mat-menu-content button.mat-menu-item{line-height:0px;padding:5px 32px 5px 16px;white-space:normal;font-family:Roboto,Arial,sans-serif}  .columnpicker-menu .mat-menu-content button.mat-menu-item.checkbox-item{padding-left:24px}  .columnpicker-menu .mat-menu-content button.mat-menu-item .b-menu-item-check-mark{top:50%;transform:translate(0, -50%)}\n/*# sourceMappingURL=column_picker.css.map */']});var frc=function(a){var b=this;this.params=a;this.element=this.params.nativeElement;this.dropzone=document.createElement("div");this.onTdDragStart=Br("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=Br("tr",function(c,d){if(b.draggedRow&&b.dragTargetRow!==d&&d.closest("tbody")&&
d!==b.draggedRow){drc(b.dragTargetRow);b.dragTargetRow=d;var e;b.draggedIssueIndex=b.params.rowFinder(null!=(e=b.draggedRow.dataset.rowId)?e:void 0);var f;b.dragTargetIndex=b.params.rowFinder(null!=(f=b.dragTargetRow.dataset.rowId)?f:void 0);b.dragTargetRow.classList.add("drag-over");b.dragTargetIndex>b.draggedIssueIndex?b.dragTargetRow.classList.add("below"):b.dragTargetRow.classList.add("above");a:{for(c=b.dragTargetRow.parentElement;c;){if("static"!==window.getComputedStyle(c).position)break a;
c=c.parentElement}c=void 0}c&&(d=c.scrollTop||0,c=b.dragTargetRow.getBoundingClientRect().top-c.getBoundingClientRect().top+d,b.dropzone.style.width=b.dragTargetRow.offsetWidth+"px",b.dropzone.style.height=b.dragTargetRow.offsetHeight+"px",b.dropzone.style.left="0",b.dropzone.style.top=c+"px");b.dragTargetRow.appendChild(b.dropzone);b.dropzone.style.display="block"}});this.onTrDragEnd=Br("tr",function(){b.draggedRow&&(drc(b.draggedRow),drc(b.dragTargetRow),b.draggedRow.setAttribute("aria-grabbed",
"false"),b.draggedRow=b.dragTargetRow=void 0)});this.onTrDragLeave=Br("tr",function(c){c.stopPropagation();c.preventDefault()});this.onDropzoneDragEnter=Br(".row-dropzone",function(c){c.stopPropagation();c.preventDefault()});this.onDropzoneDragLeave=Br(".row-dropzone",function(c){drc(b.dragTargetRow);erc(b);c.stopPropagation();c.preventDefault()});this.onDropzoneDragOver=Br(".row-dropzone",function(c){c.stopPropagation();c.preventDefault()});this.onDropzoneDrop=Br(".row-dropzone",function(c){erc(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()})};
frc.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");erc(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)})};
frc.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 drc=function(a){a&&(a.classList.remove("drag-over"),a.classList.remove("above"),a.classList.remove("below"),a.classList.remove("dragging"))},erc=function(a){a.dropzone.style.display="none"};var Z_=function(){};Z_.\u0275fac=function(a){return new (a||Z_)};Z_.\u0275cmp=p({type:Z_,selectors:[["archived-issue-indicator"]],decls:3,vars:0,consts:[["aria-hidden","true","svgIcon","archive_24px"]],template:function(a){a&1&&(E(0,"span"),H(1,"mat-icon",0),Q(2,"Archived "),F())},dependencies:[jB],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 a0=function(){};a0.\u0275fac=function(a){return new (a||a0)};a0.\u0275mod=od({type:a0});a0.\u0275inj=Wc({imports:[Mw,OC]});var grc=[[["",8,"tooltip-content"]],[["",8,"chip-content"]]],b0=function(){this.compactMode=this.labelOnlyMode=!1};b0.prototype.ngOnInit=function(){};b0.\u0275fac=function(a){return new (a||b0)};
b0.\u0275cmp=p({type:b0,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&&(Ng(grc),E(0,"span",0)(1,"onedev-hovercard",null,1)(3,"div",2)(4,"div",3),Og(5),F()()(),E(6,"div",4)(7,"span",5),Og(8,1),F()()());if(a&2){var c=O(2),d;z(3);ug("aria-label",b.hovercardAriaLabel);z(3);D("onedevHovercardTrigger",c)("onedevHovercardActive",!b.labelOnlyMode);z(1);Fg("compact-chip",b.compactMode);D("ngClass",null!==(d=b.labelClass)&&void 0!==d?d:"")}},dependencies:[ww,iK,nK],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 c0=function(a){this.documentationLinks=a;this.documentationLink=Qt()};c0.prototype.ngOnChanges=function(){this.retentionState?this.retentionExpireTime=cp(bp(this.retentionState.scheduledDeletionTime)):this.retentionExpireTime=void 0};c0.\u0275fac=function(a){return new (a||c0)(A(SI))};
c0.\u0275cmp=p({type:c0,selectors:[["retention-help-text"]],inputs:{retentionState:"retentionState",modifiedTime:"modifiedTime"},features:[Hd],decls:1,vars:1,consts:[[4,"ngIf"],[3,"mode","timestamp"],["target","_blank",3,"href"]],template:function(a,b){a&1&&P(0,L3a,9,5,"ng-container",0);a&2&&D("ngIf",b.retentionState&&b.modifiedTime)},dependencies:[yw,cL],encapsulation:2});var d0=function(a){this.dateFormatter=a;this.compactMode=!1;this.text=""};d0.prototype.ngOnChanges=function(){var a;null!=(null==(a=this.retentionState)?void 0:a.scheduledDeletionTime)?(a=cp(bp(this.retentionState.scheduledDeletionTime)),this.text=RHa(a,!this.compactMode)):this.text=""};d0.\u0275fac=function(a){return new (a||d0)(A(bL))};
d0.\u0275cmp=p({type:d0,selectors:[["retention-text"]],inputs:{retentionState:"retentionState",compactMode:"compactMode"},features:[Hd],decls:1,vars:1,template:function(a,b){a&1&&Q(0);a&2&&Sg(b.text)},encapsulation:2});var e0=function(){this.showRetentionInfo=this.dangerZone=this.labelOnlyMode=this.compactMode=this.showOnlyInDangerZone=!1};e0.prototype.ngOnChanges=function(){this.retentionState&&this.retentionState.retentionPeriod&&this.retentionState.scheduledDeletionTime?(this.dangerZone=N3a(this.retentionState),this.showRetentionInfo=this.showOnlyInDangerZone&&this.dangerZone||!this.showOnlyInDangerZone):this.showRetentionInfo=!1};e0.\u0275fac=function(a){return new (a||e0)(A(SI))};
e0.\u0275cmp=p({type:e0,selectors:[["b-retention-chip"]],inputs:{showOnlyInDangerZone:"showOnlyInDangerZone",compactMode:"compactMode",labelOnlyMode:"labelOnlyMode",retentionState:"retentionState",modifiedTime:"modifiedTime"},features:[Hd],decls:1,vars:1,consts:[["hovercardAriaLabel","Retention Chip Hovercard",3,"compactMode","labelClass","labelOnlyMode",4,"ngIf"],["hovercardAriaLabel","Retention Chip Hovercard",3,"compactMode","labelClass","labelOnlyMode"],[1,"chip-content"],[3,"retentionState",
"compactMode"],[1,"tooltip-content"],[3,"retentionState","modifiedTime"]],template:function(a,b){a&1&&P(0,M3a,5,7,"b-base-chip",0);a&2&&D("ngIf",b.showRetentionInfo)},dependencies:[yw,b0,d0,c0],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 t4a=function(a,b,c){return{low:a,high:b,p0:c}},$4a=function(a){return{id:a}},F5a=function(a,b){return{"bv2-grid-cell-variable-height":a,"rtl-component-path":b}},hrc=function(){return[]},f0=function(a,b,c,d,e,f,h,l,q,u,x,y,G,L){var M=this;this.activeSession=a;this.cdr=b;this.elementRef=c;this.teamsService=d;this.ngZone=e;this.userPreferencesManager=f;this.hotlistFridge=h;this.issueFridge=l;this.bLocation=q;this.issuePagination=u;this.paths=x;this.errorHandler=y;this.$log=G;this.domSafe=L;this.STATUS_ICON=
$Ub;this.STATUS_FULL_TEXT=gF;this.STATUS_TERSE=cF;this.lastCheckedIndex=null;this.focusedRowIndexChange=new Rv;this.columns=[];this.columnsChange=new Rv;this.enableColumnSaving=!1;this.sort=null;this.sortChange=new Rv;this.rowClick=new Rv;this.init=new Rv;this.onRowDragDrop=new Rv;this.onNextPage=new Rv;this.onPrevPage=new Rv;this.selectionCallbacks=[];this.isLoadingTeams=!0;this.isTotalEstimatesEnabled=DE(this.activeSession,"enableAggregationRules");this.destroyed$=new C.ReplaySubject(1);this.starInProgress=
{};this.readUnreadOptOut=DE(this.activeSession,"readUnreadOptOut");b=Oa(c3a);DE(a,"enableSearchAndNotificationsForCollaborators")||(La(b,"collaborator"),La(b,"collaboratorCount"));a.isInternalSession()||(La(b,"minSlo"),La(b,"responseSlo"),La(b,"assignmentSlo"),La(b,"closureSlo"),La(b,"deletionTime"),La(b,"team"),La(b,"estimate"),La(b,"estimateTotalOpen"),La(b,"estimateTotalComplete"));this.availableColumns=b.map(Ar);this.dragDropLogic=new frc({ngZone:this.ngZone,nativeElement:this.elementRef.nativeElement,
rowFinder:function(T){return irc(M,T)},onRowDragDrop:function(T){M.onRowDragDrop.emit(T)}})};g=f0.prototype;g.ngOnInit=function(){var a=this;this.dragDropLogic.setup();this.userPreferencesManager.listViewPreferences$.pipe(dg(this.destroyed$)).subscribe(function(b){a.listViewPrefs=b;a.cdr.detectChanges()});this.init.emit(this)};
g.ngOnChanges=function(a){if(a.searchResults){var b,c=Ena((null==(b=this.searchResults)?void 0:b.issues.map(function(e){return new Set([].concat(r(e.hotlistId||[])))}))||[]);this.hotlistFridge.watchSet([].concat(r(c)))}if(a.searchResults||a.columns)for(b=m(this.columns),c=b.next();!c.done;c=b.next())"TEAM"===c.value.label&&jrc(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}))||[]);Una(a,d)||g0(this)}};g.ngOnDestroy=function(){this.dragDropLogic.tearDown();this.destroyed$.next()};g.focus=function(){this.grid.focus()};g.convertIssueStatusStrToTag=function(a){return rl[a]};g.selectAll=function(){if(this.searchResults){for(var a=m(this.searchResults.issues),b=a.next();!b.done;b=a.next())b.value.selected=!0;this.cdr.detectChanges()}g0(this)};
var krc=function(a){if(a.searchResults){for(var b=m(a.searchResults.issues),c=b.next();!c.done;c=b.next())c.value.selected=!1;a.cdr.detectChanges()}g0(a)};f0.prototype.hasSelectedIssues=function(){return this.searchResults?this.searchResults.issues.some(function(a){return a.selected}):!1};var S3a=function(a){return a.searchResults?a.searchResults.issues.every(function(b){return b.selected}):!1};
f0.prototype.someIssuesSelected=function(){return this.searchResults?this.searchResults.issues.some(function(a){return a.selected}):!1};f0.prototype.getHeaderCheckboxState=function(){if(!this.searchResults)return"unchecked";for(var a=!0,b=!1,c=m(this.searchResults.issues),d=c.next();!d.done;d=c.next())d.value.selected?b=!0:a=!1;return a?"checked":b?"indeterminate":"unchecked"};
f0.prototype.getSelectedIssues=function(){return this.searchResults?this.searchResults.issues.filter(function(a){return a.selected}):[]};var mrc=function(a){if(lrc(a)&&null!=a.focusedRowIndex&&a.searchResults){var b=a.searchResults.issues[a.focusedRowIndex];b&&(b.selected=!b.selected,a.cdr.detectChanges(),g0(a))}};
f0.prototype.toggleAllIssueSelection=function(){if(this.searchResults){for(var a=!this.someIssuesSelected(),b=m(this.searchResults.issues),c=b.next();!c.done;c=b.next())c.value.selected=a;this.cdr.detectChanges();g0(this)}};
var nrc=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()&&vkc(a.issuePagination,a.searchResults.endIndex+1).catch(function(b){a.$log.warn(b)}).finally(function(){a.onNextPage.emit()})},orc=function(a){null!=a.focusedRowIndex&&0<a.focusedRowIndex?(a.focusedRowIndex--,a.focusedRowIndexChange.emit(a.focusedRowIndex),
a.cdr.detectChanges()):a.searchResults&&a.searchResults.hasPreviousPage()&&vkc(a.issuePagination,a.searchResults.startIndex-1).catch(function(b){a.$log.warn(b)}).finally(function(){a.onPrevPage.emit()})},h0=function(a,b){b=void 0===b?{}:b;if(lrc(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)))}},prc=function(a,b){a.selectionCallbacks.push(b);
b()};f0.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=m(d);for(e=d.next();!e.done;e=d.next())e.value.selected=!a;g0(this)}c.selected=!c.selected;this.lastCheckedIndex=b;g0(this)};
var g0=function(a){a=m(a.selectionCallbacks);for(var b=a.next();!b.done;b=a.next())b=b.value,b()},qrc=function(a){lrc(a)&&null!=a.focusedRowIndex&&a.searchResults&&a.toggleStar(a.searchResults.issues[a.focusedRowIndex])},rrc=function(a,b){b=void 0===b?!0:b;var c=a.getSelectedIssues();if(0!==c.length){for(var d=m(c),e=d.next();!e.done;e=d.next())e.value.isRead=b;a.cdr.detectChanges();DH(a.issueFridge,c.map(function(f){return f.issueId}),{markRead:b}).then(function(f){for(var h=m(c),l=h.next();!l.done;l=
h.next()){var q=void 0;l.value.lastViewedTime=null!=(q=f)?q:null}}).catch(function(){for(var f=m(c),h=f.next();!h.done;h=f.next())h=h.value,h.isRead=!!h.lastViewedTime&&h.lastViewedTime>=h.majorModifiedTime}).finally(function(){a.cdr.detectChanges()})}};
f0.prototype.toggleStar=function(a){var b=this;a&&!this.starInProgress[a.issueId]&&(a.starred=!a.starred,this.starInProgress[a.issueId]=!0,mZb(this.issueFridge,String(a.issueId),a.starred).pipe(Rf(),dg(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()}))};
f0.prototype.issueDescription=function(a){return(a.isClosed?"Closed ":this.readUnreadOptOut||a.isRead?"":"Unread ")+"Issue ID "+a.id+" titled: "+a.title};
var lrc=function(a){return null!=a.searchResults&&null!=a.focusedRowIndex&&0<=a.focusedRowIndex&&a.focusedRowIndex<a.searchResults.issues.length},irc=function(a,b){return b?a.searchResults?a.searchResults.issues.findIndex(function(c){return c.id===b}):-1:-1},jrc=function(a){if(a.searchResults){for(var b=new Set,c=m(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,MZb(a.teamsService,[].concat(r(b))).pipe(dg(a.destroyed$)).subscribe(function(e){e=
Yl(e,1,yE);if(a.searchResults)for(var f=m(a.searchResults.issues),h=f.next();!h.done;h=f.next()){h=h.value;var l=String(h.teamId);"0"!==l&&e.has(l)&&(h.team=e.get(l).getName())}a.isLoadingTeams=!1;a.cdr.detectChanges()})):a.isLoadingTeams=!1}};f0.prototype.isIssueGridColumn=function(){return!0};f0.prototype.isLowPriority=function(a){return 2<=Number(a.priority)};f0.prototype.isHighPriority=function(a){return 2>Number(a.priority)};f0.prototype.isP0Priority=function(a){return 0===Number(a.priority)};
f0.\u0275fac=function(a){return new (a||f0)(A(Vt),A(sH,2),A(ke),A(PH),A(hg),A(ZI),A(hH),A(BH),A(MG),A(OW),A(NG),A(ZF),A(YF),A(PK))};
f0.\u0275cmp=p({type:f0,selectors:[["b-issues-grid"]],viewQuery:function(a,b){a&1&&ih(S_,7);if(a&2){var c;hh(c=kh())&&(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:[Ug([sH]),
Hd],decls:49,vars:51,consts:[[1,"keep-focus-ring",3,"list","columns","focusedRowIndex","scrollContainer","sort","rowLabelRenderer","columnsChange","focusedRowIndexChange","sortChange","rowClick"],["class","focus-indicator",4,"forHeaderCell"],["class","drag-handle",4,"forHeaderCell"],["class","selected-box",4,"forHeaderCell"],[4,"forHeaderCell"],[4,"forHeaderCellDefault"],["class","focus-indicator",4,"forViewCell"],["class","drag-handle","draggable","true",4,"forViewCell"],["class","selected-box",
4,"forViewCell"],["class","star-cell",4,"forViewCell"],[4,"forViewCell"],["data-template","issueId","class","clickable",4,"forViewCell"],["class","clickable title-cell",3,"bv2-grid-cell-variable-height",4,"forViewCell"],["class","priority-cell clickable",4,"forViewCell"],["class","severity-cell clickable",4,"forViewCell"],["data-stable-cell","status","class","clickable",4,"forViewCell"],["data-stable-cell","type","class","clickable",4,"forViewCell"],["class","clickable",4,"forViewCell"],["class",
"clickable datetime-cell",4,"forViewCell"],["class","componentPath-cell clickable",3,"ngClass",4,"forViewCell"],["class","clickable first-letter-capitalized",4,"forViewCell"],["issueWithHovercard",""],[1,"focus-indicator"],[4,"ngIf"],[1,"drag-handle"],[1,"selected-box"],["tabindex","0","aria-label","Select all issues","role","checkbox",1,"keep-focus-ring","b-select-all-toggle",3,"state","click","keydown.enter","keydown.space"],[3,"column"],[3,"column","availableColumns","selectedColumns","selectedColumnsChange",
4,"ngIf"],[3,"column",4,"ngIf"],[3,"column","availableColumns","selectedColumns","selectedColumnsChange"],["draggable","true",1,"drag-handle"],["tabindex","-1","role","checkbox",3,"state","click"],[1,"star-cell"],["tabindex","-1",3,"starred","disabled","starMessage","unStarMessage","starClicked"],["data-template","issueId",1,"clickable"],["tabindex","-1",1,"row-issue-id",3,"href"],[1,"clickable","title-cell"],[1,"bv2-grid-cell-container"],[3,"accessLevel","compactMode"],[3,"trackerId","compactMode"],
[3,"retentionState","showOnlyInDangerZone","compactMode","modifiedTime"],[1,"bv2-grid-cell-text"],[1,"row-issue-title",3,"href"],["class","bv2-hotlist-chips",4,"ngIf"],[1,"bv2-hotlist-chips"],[3,"id","removable",4,"ngFor","ngForOf"],[3,"id","removable"],[1,"priority-cell","clickable"],[1,"bv2-priority",3,"ngClass"],[1,"severity-cell","clickable"],["data-stable-cell","status",1,"clickable"],[3,"ngSwitch","title"],["class","icon-s",3,"svgIcon",4,"ngSwitchCase"],[4,"ngSwitchCase"],[3,"class",4,"ngSwitchDefault"],
[1,"icon-s",3,"svgIcon"],["data-stable-cell","type",1,"clickable"],[1,"clickable"],[3,"email",4,"ngIf"],[3,"email"],[4,"ngFor","ngForOf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"clickable","datetime-cell"],["mode","datetime",3,"timestamp"],[1,"componentPath-cell","clickable",3,"ngClass"],[1,"clickable","first-letter-capitalized"],[3,"sloId","sloStatus","sloSnoozeUntil",4,"ngIf"],[3,"sloId","sloStatus","sloSnoozeUntil"],[3,"sloStatus","sloSnoozeUntil"],[3,"sloId","sloStatus","sloSnoozeUntil",
"onlyShowMetric",4,"ngIf"],[3,"sloId","sloStatus","sloSnoozeUntil","onlyShowMetric"],[3,"sloBounds"],["mode","date",3,"timestamp",4,"ngIf"],["mode","date",3,"timestamp"],["class","animated-loading-bar",4,"ngIf"],[1,"animated-loading-bar"],["teamNotAssignedMessage","--",3,"teamId","componentId","anchorLinkEnabled"],["issueHovercard","onedevHovercard"],[3,"onedevIsHovercardReady","issueId",4,"onedevHovercardLazyBody"],[3,"onedevHovercardTrigger"],[3,"onedevIsHovercardReady","issueId"],["cardBody",""]],
template:function(a,b){a&1&&(E(0,"div")(1,"pop-grid",0),K("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)}),P(2,P3a,2,2,"th",1),P(3,R3a,2,2,"th",2),P(4,U3a,2,2,"th",3),P(5,W3a,2,2,"th",4),P(6,Y3a,2,2,"th",4),P(7,b4a,2,2,"th",5),P(8,d4a,2,1,"td",
6),P(9,f4a,2,1,"td",7),P(10,h4a,2,1,"td",8),P(11,j4a,2,1,"td",9),P(12,l4a,2,1,"td",10),P(13,n4a,2,1,"td",11),P(14,s4a,2,3,"td",12),P(15,v4a,2,1,"td",13),P(16,x4a,2,1,"td",14),P(17,D4a,2,1,"td",15),P(18,F4a,2,1,"td",16),P(19,J4a,2,1,"td",17),P(20,N4a,2,1,"td",17),P(21,R4a,2,1,"td",17),P(22,T4a,2,1,"td",17),P(23,V4a,2,1,"td",17),P(24,X4a,2,1,"td",17),P(25,c5a,2,1,"td",17),P(26,h5a,2,1,"td",17),P(27,l5a,2,1,"td",17),P(28,n5a,2,1,"td",18),P(29,p5a,2,1,"td",18),P(30,r5a,2,1,"td",18),P(31,t5a,2,1,"td",
18),P(32,v5a,2,1,"td",17),P(33,x5a,2,1,"td",17),P(34,z5a,2,1,"td",17),P(35,B5a,2,1,"td",17),P(36,D5a,2,1,"td",17),P(37,G5a,2,5,"td",19),P(38,J5a,2,1,"td",20),P(39,M5a,2,1,"td",20),P(40,P5a,2,1,"td",20),P(41,S5a,2,1,"td",20),P(42,V5a,2,1,"td",17),P(43,Z5a,2,1,"td",17),P(44,a6a,2,1,"td",17),P(45,c6a,2,1,"td",17),P(46,e6a,2,1,"td",17),F()(),P(47,g6a,5,2,"ng-template",null,21,qh));a&2&&(z(1),D("list",(null==b.searchResults?null:b.searchResults.issues)||Wg(50,hrc))("columns",b.columns)("focusedRowIndex",
b.focusedRowIndex)("scrollContainer",".bv2-view")("sort",b.sort)("rowLabelRenderer",b.issueDescription),z(1),D("forHeaderCell","focused"),z(1),D("forHeaderCell","draghandle"),z(1),D("forHeaderCell","selected"),z(1),D("forHeaderCell","starred"),z(1),D("forHeaderCell","position"),z(2),D("forViewCell","focused"),z(1),D("forViewCell","draghandle"),z(1),D("forViewCell","selected"),z(1),D("forViewCell","starred"),z(1),D("forViewCell","position"),z(1),D("forViewCell","issueId"),z(1),D("forViewCell","title"),
z(1),D("forViewCell","priority"),z(1),D("forViewCell","severity"),z(1),D("forViewCell","status"),z(1),D("forViewCell","type"),z(1),D("forViewCell","reporter"),z(1),D("forViewCell","assignee"),z(1),D("forViewCell","verifier"),z(1),D("forViewCell","cc"),z(1),D("forViewCell","changelist"),z(1),D("forViewCell","postmortem"),z(1),D("forViewCell","blockingIssueId"),z(1),D("forViewCell","blockedByIssueId"),z(1),D("forViewCell","duplicateOfIssueId"),z(1),D("forViewCell","createdTime"),z(1),D("forViewCell",
"modifiedTime"),z(1),D("forViewCell","resolvedTime"),z(1),D("forViewCell","verifiedTime"),z(1),D("forViewCell","foundInVersion"),z(1),D("forViewCell","targetedToVersion"),z(1),D("forViewCell","verifiedInVersion"),z(1),D("forViewCell","inProd"),z(1),D("forViewCell","archived"),z(1),D("forViewCell","componentPath"),z(1),D("forViewCell","minSlo"),z(1),D("forViewCell","responseSlo"),z(1),D("forViewCell","assignmentSlo"),z(1),D("forViewCell","closureSlo"),z(1),D("forViewCell","deletionTime"),z(1),D("forViewCell",
"team"),z(1),D("forViewCell","estimate"),z(1),D("forViewCell","estimateTotalOpen"),z(1),D("forViewCell","estimateTotalComplete"))},dependencies:[Z_,ww,xw,yw,Dw,zw,Aw,Bw,Xz,jB,S_,X_,T_,U_,V_,MT,OT,cL,PT,OK,rU,e0,qL,qP,tU,iK,jK,nK,kK,yP,jL,Y_,NJ,QJ,MJ,TJ,PJ],encapsulation:2,changeDetection:0});
var i0=new zr({name:"focused",sortable:!1,draggable:!1,isMetadata:!0}),src=new zr({name:"draghandle",sortable:!1,draggable:!1,isMetadata:!0}),j0=new zr({name:"selected",sortable:!1,draggable:!1,isMetadata:!0}),k0=new zr({name:"starred",sortable:!1,draggable:!1,isMetadata:!0}),trc=new zr({name:"position",sortable:!0,draggable:!1,fullLabel:"Position",label:"POS",isMetadata:!0});var l0=function(a,b,c){Z.call(this);var d=this;this.snackBar=a;this.issuePicker=b;this.issueApi=c;this.issueAddedToHotlist=new Rv;this.onCloseIssuePicker=function(e){e=void 0===e?[]:e;if(0!==e.length&&null!=d.id){var f=e.join(", ");d.snackBar.open(1===e.length?"Adding issue "+f+" to this hotlist":"Adding multiple issues to this hotlist: "+f,void 0,{duration:2500});d.issueApi.issueBulkEdit({bulkEditOps:[{actions:[{fieldName:"hotlists",value:d.id,actionType:"ADD"}],issueIds:e}]}).then(d.didSave,d.gotErr)}};
this.didSave=function(){d.issueAddedToHotlist.emit();d.snackBar.open("Successfully added to hotlist",void 0,{duration:2500})};this.gotErr=function(e){var f,h,l,q,u=null!=(q=null!=(l=null==e?void 0:null==(f=e.error)?void 0:f.message)?l:null==e?void 0:null==(h=e.data)?void 0:h.message)?q:"Error adding issues to the hotlist";d.snackBar.open(u,"close",{panelClass:"error"})}};W(l0,Z);l0.\u0275dir=Z.\u0275dir;l0.\u0275fac=function(a){return new (a||l0)(A(SF),A(SP),A(PE))};
l0.\u0275cmp=p({type:l0,selectors:[["hotlist-add-issue-btn"]],inputs:{id:["hotlistId","id"]},outputs:{issueAddedToHotlist:"issueAddedToHotlist"},features:[qg],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&&(E(0,"button",0),K("click",function(){b.issuePicker.open({title:"Add Issues to this Hotlist",allowMultipleIds:!0},b.onCloseIssuePicker)}),Q(1," Add Issue(s) "),F())},dependencies:[tA,NC],encapsulation:2});var m0=function(a,b,c,d){Z.call(this);var e=this;this.fridge=a;this.snackBar=b;this.dialog=c;this.events=d;this.id$=new C.ReplaySubject(1);this.hotlist$=this.id$.pipe(cg(function(f){return e.fridge.watchOne(f)}),$f({refCount:!0,bufferSize:1}));this.archived$=this.hotlist$.pipe(B(function(f){return!(null==f||!f.archived)}),Qf());this.archiveActionLabel$=this.archived$.pipe(B(function(f){return f?"Unarchive":"Archive"}));this.archiveActionTooltip$=this.archived$.pipe(B(function(f){return f?"Unarchive this hotlist":
"Archive this hotlist, hiding it from most searches"}));this.didSave=function(f){return function(){e.snackBar.open(f?"Hotlist was archived":"Hotlist was unarchived",void 0,{duration:2500});e.events.hotlistChanged.next()}};this.gotErr=function(f){return function(h){var l=f?"archiving":"unarchiving";e.snackBar.open(Wn(h)||"Error "+l+" the hotlist","close",{panelClass:"error"})}};this.hotlist$.pipe(dg(this.destroyed$)).subscribe(function(f){e.latestHotlist=f})};W(m0,Z);m0.\u0275dir=Z.\u0275dir;
m0.prototype.isThinking=function(a){return this.fridge.isThinking(a)};m0.prototype.ngOnChanges=function(a){(a=a.id)&&this.id$.next(a.currentValue)};var vrc=function(a){if(null!=a.latestHotlist){var b=!a.latestHotlist.archived;b?a.dialog.open({title:"Archive Hotlist",content:jp("Do you want to archive this hotlist?"),isDestructive:!0,onConfirm:function(){urc(a,b)}}):urc(a,b)}},urc=function(a,b){a.fridge.save(Object.assign({},a.latestHotlist,{archived:b})).subscribe({next:a.didSave(b),error:a.gotErr(b)})};
m0.\u0275fac=function(a){return new (a||m0)(A(hH),A(SF),A(UI),A(cG))};
m0.\u0275cmp=p({type:m0,selectors:[["hotlist-archive-btn"]],inputs:{id:["hotlistId","id"]},features:[qg,Hd],decls:4,vars:7,consts:[["mat-button","",1,"gmat-button","medium",3,"disabled","matTooltip","click"]],template:function(a,b){a&1&&(E(0,"button",0),K("click",function(){return vrc(b)}),U(1,"async"),Q(2),U(3,"async"),F());if(a&2){var c;D("disabled",b.isThinking(b.id))("matTooltip",null!==(c=V(1,3,b.archiveActionTooltip$))&&void 0!==c?c:"");z(2);R(" ",V(3,5,b.archiveActionLabel$)," ")}},dependencies:[tA,
NC,Ew],encapsulation:2});var n0=function(a,b,c,d,e,f,h,l,q,u,x,y,G,L){r_.call(this,a,b,c,d,e,f,h,l,q,u,G,L);this.estadoService=x;this.refreshMonitor=y;this.init=new Rv;this.onRefresh=new Rv;this.isHotlistAdmin=!1;this.onExportCsv=new Rv;this.showHotlistButtons=!1;this.isNonPublicSession=this.activeSession.isNonPublicSession();a=this.estadoService;this.enableEstadoInAppBar=a.enableEstado&&!a.currentTracker.inTracker;this.enableBulkEditUi=DE(this.activeSession,"enableBulkEditUi");this.controllerName="gridControls"};W(n0,r_);
n0.\u0275dir=r_.\u0275dir;g=n0.prototype;g.ngOnInit=function(){this.init.emit(this)};g.ngOnChanges=function(a){var b=this;a.grid&&this.grid&&prc(this.grid,function(){b.onSelectionChange()})};g.getSelectedIssues=function(){var a,b;return null!=(b=null==(a=this.grid)?void 0:a.getSelectedIssues())?b:[]};g.refresh=function(){this.refreshMonitor.refreshRequest.next();this.onRefresh.emit()};g.openInEstado=function(){this.estadoService.openInEstado()};var wrc=function(a){return a.hasSelectedIssues()&&a.isNonPublicSession};
n0.\u0275fac=function(a){return new (a||n0)(A(sH,2),A(Vt),A(wH),A(JM),A(gJ),A(hV),A(VI),A(RY),A(IA),A(YF),A(P_),A(zH),A(SP),A(ZI))};
n0.\u0275cmp=p({type:n0,selectors:[["b-grid-controls"]],inputs:{grid:"grid",isHotlistAdmin:"isHotlistAdmin",currentHotlistId:"currentHotlistId",showHotlistButtons:"showHotlistButtons"},outputs:{init:"init",onRefresh:"onRefresh",onExportCsv:"onExportCsv"},features:[Ug([sH]),qg,Hd],decls:11,vars:8,consts:[["size","large","format","icon","tooltip","Refresh","bAriaLabel","Refresh",1,"refresh-button",3,"onAction"],["name","refresh","size","large"],[3,"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,
"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&&(E(0,"b-button",0),K("onAction",function(){return b.refresh()}),H(1,"b-icon",1),F(),P(2,h6a,1,1,"b-app-bar-bulk-edit-menus",2),P(3,i6a,1,2,"b-copy-issue-id-button",3),P(4,j6a,2,2,"div",4),P(5,m6a,3,2,"ng-container",5),P(6,o6a,3,3,"b-button",6),E(7,"b-app-bar-more-menu",7),K("exportCsvClicked",
function(){return b.onExportCsv.emit()})("flagAsSpamClicked",function(){return tqc(b)}),F(),E(8,"b-state-modal",8),K("save",function(){return rqc(b)})("close",function(){return b.hotkeys.unpause()}),F(),P(9,t6a,11,6,"ng-template",null,9,qh));a&2&&(z(2),D("ngIf",b.hasSelectedIssues()),z(1),D("ngIf",b.hasSelectedIssues()),z(1),D("ngIf",b.enableBulkEditUi&&b.hasSelectedIssues()),z(1),D("ngIf",b.showHotlistButtons&&!b.hasSelectedIssues()),z(1),D("ngIf",b.enableEstadoInAppBar),z(1),D("showExportCsv",b.isNonPublicSession)("showFlagIssuesAsSpam",
wrc(b)),z(1),D("externalWarnings",b.externalWarnings))},dependencies:[zW,yW,cQ,g_,xw,yw,qP,OY,m0,l0,n_,GN,tA,JA,KA,LA,MA,h_,aT],styles:["[_nghost-%COMP%] { display: flex; align-items: center; }"]});var xrc=["multiUserInput"],o0=function(a,b,c,d,e,f){Z.call(this);var h=this;this.element=a;this.accessPolicyConverter=b;this.principalTypes=c;this.activeSession=d;this.documentationLinks=e;this.appEvents=f;this.usersChange=new Rv(!0);this.includeViewAliases=this.includeAliases=!1;this.maxUserAllowed=-1;this.customValidators={};this.detailedUserValidators={};this.ariaLabel="";this.isValid=new Rv;this.typedText="";this.items=[];this.chipifyFn=function(){yrc(h)};this.additionalContactsFn=function(){return zrc(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=""}))};W(o0,Z);o0.\u0275dir=Z.\u0275dir;
o0.prototype.ngOnInit=function(){var a=this;this.validators=Object.assign({},{validateGaia:function(b,c){return Arc(c)},validateInternalAccessLevel:function(b,c){return Brc(a,c)},validateExternalAccessLevel:function(b,c){return Crc(a,c)}},this.customValidators)};o0.prototype.ngOnChanges=function(a){if(a.users||a.containerChips)this.items=Drc(this,this.users),p0(this)};
var p0=function(a){var b=[].concat(r(a.items)),c=Erc(b),d=Frc(b);b=a.validate(c,d,b);a.isValid.emit(b);a.users&&Fj(a.users,c)||(a.users=c,b&&a.usersChange.emit(c))};
o0.prototype.validate=function(a,b,c){for(var d=new Set,e=m(Object.entries(this.validators)),f=e.next();!f.done;f=e.next()){var h=m(f.value);f=h.next().value;h=h.next().value;h(a,c)||d.add(f)}a=m(Object.entries(this.detailedUserValidators));for(c=a.next();!c.done;c=a.next())e=m(c.value),c=e.next().value,e=e.next().value,e(b)||d.add(c);this.violations=d;return 0===this.violations.size};
var w6a=function(a){!a.isWidgetDisabled()&&Grc(a)&&(a.isFocused=!0,a.textInputElement.nativeElement.focus())},u6a=function(a){Cr(a,a.selectedChipIndex)&&(a.items[a.selectedChipIndex].isSelected=!1);a.selectedChipIndex=-1};o0.prototype.isWidgetDisabled=function(){return this.$element.classList.contains("disabled")||!!this.$element.hasAttribute("disabled")};var Grc=function(a){var b,c;return 0>a.maxUserAllowed||(null!=(c=null==(b=a.users)?void 0:b.length)?c:0)<a.maxUserAllowed};
o0.prototype.removeItem=function(a){this.isWidgetDisabled()||!Cr(this,a)||this.items[a].isReadonly||(u6a(this),this.items.splice(a,1),p0(this))};o0.prototype.setAccessLevel=function(a){this.accessLevel=a};
var zrc=function(a){return Hrc(a).map(function(b){return{text:$na(b),id:a.accessPolicyConverter.accessPolicyPrincipalToString({alias:b})}})},Hrc=function(a){if(!a.includeAliases||CE(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},yrc=function(a){setTimeout(function(){a.typedText&&ka(a.typedText,",")&&x6a(a,a.typedText.split(",")[0].trim())})},x6a=function(a,
b){b&&(b=cbc.test(b)?Irc(a,b):Jrc(a,b),a.items.push(b));a.typedText="";p0(a)},Cr=function(a,b){return 0<=b&&b<a.items.length},Irc=function(a,b){var c=void 0===c?!1:c;var d=xk(b);if(void 0===d.alias)throw Error("Gd`"+b);b=d.alias;d=$na(b);return new q0("ALIAS",b,d,null,c,a)},Krc=function(a,b){b=pp(b);var c=new q0("GROUP",b,b,null,!1,a);qJ(a.principalTypes,b,!0).then(function(d){c.detailedUserType=d.detailedUserType;p0(a)});return c},Lrc=function(a,b){var c=void 0===c?!1:c;b=pp(b);var d=new q0("USER",
b,b,null,c,a);qJ(a.principalTypes,b,!0).then(function(e){d.detailedUserType=e.detailedUserType;p0(a)});return d},Jrc=function(a,b){var c=void 0===c?!1:c;b=pp(b);var d=new q0("PRINCIPAL_TYPE_UNSPECIFIED",b,b,null,c,a);qJ(a.principalTypes,b,!0).then(function(e){d.principalType=e.principalType;d.detailedUserType=e.detailedUserType;p0(a)});return d},Mrc=function(a,b,c){return new q0("PRINCIPAL_TYPE_UNSPECIFIED","",b,c,!0,a)};o0.prototype.getAccessLevel=function(){return this.accessLevel};
o0.prototype.getAppName=function(){return this.activeSession.getAppName()};o0.prototype.onKeyDown=function(a){8===a.keyCode?Cr(this,this.selectedChipIndex)?(Cr(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?Cr(this,this.selectedChipIndex)&&Cr(this,this.selectedChipIndex)&&this.removeItem(this.selectedChipIndex):w6a(this)};
var Drc=function(a,b){b=(b||[]).map(function(d){return Nrc(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 Mrc(a,d.displayText,d.values.map(function(e){return Nrc(a,e)}))});return[].concat(r(c),r(b))}return b},Nrc=function(a,b){var c=b.split(":");if(2!==c.length)throw Error("re`"+b);var d=c[0];if("USER"!==d&&"GROUP"!==d&&"ALIAS"!==d)throw Error("re`"+b);return"ALIAS"===d?Irc(a,b):"USER"===
d?Lrc(a,c[1]):Krc(a,c[1])},Erc=function(a){return(a||[]).filter(function(b){return"PRINCIPAL_TYPE_UNSPECIFIED"!==b.principalType}).map(function(b){return b.principalType+":"+b.value})},Frc=function(a){return(a||[]).filter(function(b){return"NO_DETAILED_TYPE"!==b.detailedUserType}).map(function(b){return b.detailedUserType+":"+b.value})},Arc=function(a){return!a.some(function(b){return b.isNonGaiaChip()})},Brc=function(a,b){return"INTERNAL"!==a.accessLevel?!0:!b.some(function(c){return c.isInternalAccessViolated()})},
Crc=function(a,b){return"EXTERNAL_PARTNER"!==a.accessLevel?!0:!b.some(function(c){return c.isExternalPartnerAccessViolated()})};o0.\u0275fac=function(a){return new (a||o0)(A(ke),A(BR),A(pJ),A(Vt),A(SI),A(cG))};
o0.\u0275cmp=p({type:o0,selectors:[["b-multi-user-input"]],viewQuery:function(a,b){a&1&&ih(xrc,5);if(a&2){var c;hh(c=kh())&&(b.textInputElement=c.first)}},hostBindings:function(a,b){a&1&&K("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:[qg,Hd],decls:11,vars:10,consts:[[1,"bv2-multi-user-input",3,"click"],["class","bv2-user-chip",4,"ngFor","ngForOf"],["class","bv2-multi-user-embedded-input","b-adaptive-width-input","","tabindex","0",3,"bContactAutocomplete","additionalContactsCallback","ngModel","disabled","autocompleteActive","ngModelChange","focus","blur",4,"ngIf"],["role","alert",1,"bv2-multi-user-errors"],[4,"ngIf"],[1,"bv2-user-chip"],[3,"isReadonly",
"isSelected","isWidgetDisabled","principalType","detailedUserType","nestedChips","value","displayText","accessLevel","chipSelection","chipClear","chipRemove"],["b-adaptive-width-input","","tabindex","0",1,"bv2-multi-user-embedded-input",3,"bContactAutocomplete","additionalContactsCallback","ngModel","disabled","autocompleteActive","ngModelChange","focus","blur"],["multiUserInput",""],["target","_blank"]],template:function(a,b){a&1&&(E(0,"div",0),K("click",function(){return w6a(b)}),E(1,"div"),P(2,
v6a,2,9,"div",1),P(3,y6a,2,5,"input",2),F()(),E(4,"div",3),P(5,z6a,4,1,"span",4),P(6,A6a,2,0,"span",4),P(7,B6a,2,0,"span",4),P(8,C6a,2,0,"span",4),P(9,D6a,2,0,"span",4),P(10,E6a,2,0,"span",4),F());a&2&&(Fg("focused",b.isFocused),z(2),D("ngForOf",b.items),z(1),D("ngIf",Grc(b)),z(2),D("ngIf",b.violations.has("noRestrictedPlusGroups")),z(1),D("ngIf",b.violations.has("validateGaia")),z(1),D("ngIf",b.violations.has("validateInternalAccessLevel")),z(1),D("ngIf",b.violations.has("validateExternalAccessLevel")),
z(1),D("ngIf",b.violations.has("sloLeadNotUser")),z(1),D("ngIf",b.violations.has("sloLeadNotGoogler")))},styles:[".bv2-multi-user-embedded-input[_ngcontent-%COMP%]{background-color:rgba(0,0,0,0);color:#202124;color:var(--text-high-contrast)}.bv2-multi-user-input[_ngcontent-%COMP%]{border:1px solid;border-color:#dadce0;border-color:var(--divider);border-radius:1px;cursor:text;min-height:27px;padding:6px;width:600px}.bv2-multi-user-input[_ngcontent-%COMP%]:hover{box-shadow:inset 0px 1px 2px rgba(0,0,0,.1)}.bv2-multi-user-input.focused[_ngcontent-%COMP%]{box-shadow:inset 0px 1px 2px rgba(0,0,0,.3);border-color:#1a73e8;border-color:var(--primary)}.bv2-multi-user-input[_ngcontent-%COMP%]   input.bv2-multi-user-embedded-input[_ngcontent-%COMP%]{border:0;display:inline-block;height:24px;min-width:100px;max-width:500px;width:auto;outline:none;padding-left:5px}.bv2-multi-user-input[_ngcontent-%COMP%]   .bv2-user-chip[_ngcontent-%COMP%]{cursor:default;display:inline-block;font-size:.8125rem;padding:3px;padding-top:2px;vertical-align:top}.ng-invalid[_ngcontent-%COMP%] > .bv2-multi-user-input[_ngcontent-%COMP%]{border-color:#c5221f;border-color:var(--bad-high-contrast)}[disabled][_ngcontent-%COMP%] > .bv2-multi-user-input[_ngcontent-%COMP%], .disabled[_ngcontent-%COMP%] > .bv2-multi-user-input[_ngcontent-%COMP%]{border-color:#dadce0;border-color:var(--divider);color:#5f6368;color:var(--text-muted);cursor:initial}[disabled][_ngcontent-%COMP%] > .bv2-multi-user-input[_ngcontent-%COMP%]   input.bv2-multi-user-embedded-input[disabled][_ngcontent-%COMP%], .disabled[_ngcontent-%COMP%] > .bv2-multi-user-input[_ngcontent-%COMP%]   input.bv2-multi-user-embedded-input[disabled][_ngcontent-%COMP%]{background-color:#fff;background-color:var(--surface-default);display:none}[disabled][_ngcontent-%COMP%] > .bv2-multi-user-input[_ngcontent-%COMP%]   .bv2-user-chip[_ngcontent-%COMP%]   span.bv2-user-chip-item[_ngcontent-%COMP%]   .user-chip-x[_ngcontent-%COMP%], .disabled[_ngcontent-%COMP%] > .bv2-multi-user-input[_ngcontent-%COMP%]   .bv2-user-chip[_ngcontent-%COMP%]   span.bv2-user-chip-item[_ngcontent-%COMP%]   .user-chip-x[_ngcontent-%COMP%]{display:none}.disabled[_ngcontent-%COMP%] > .bv2-multi-user-input[_ngcontent-%COMP%]:hover, [disabled][_ngcontent-%COMP%] > .bv2-multi-user-input[_ngcontent-%COMP%]:hover{border-color:#dadce0;border-color:var(--divider);box-shadow:none}.bv2-multi-user-errors[_ngcontent-%COMP%]{color:#ea4335;color:var(--bad);font-size:.8125rem;line-height:18px;margin:0 0 1em;padding:9px 0}\n/*# sourceMappingURL=multi_user_input.css.map */"]});
var q0=function(a,b,c,d,e,f){this.principalType=a;this.detailedUserType="NO_DETAILED_TYPE";this.value=b;this.displayText=c;this.nestedChips=d;this.isSelected=!1;this.isReadonly=e;this.parentController=f};g=q0.prototype;
g.getTooltip=function(){if("ALIAS"!==this.principalType)return"";switch(this.value){case "googlers_unrestricted":return"Full time employees and other users with access to view most "+this.parentController.getAppName()+" issues.";case "google_domain":return"All users associated with the google.com domain.";case "public_non_google":return"All logged in users, excluding the google.com domain.";case "public":return"All logged in users.";default:throw Error("se`"+this.value);}};
g.isGroupChip=function(){return"GROUP"===this.principalType};g.isPublicChip=function(){return"ALIAS"===this.principalType&&["public_non_google","public"].includes(this.value)};g.isDomainChip=function(){return"ALIAS"===this.principalType&&["googlers_unrestricted","google_domain"].includes(this.value)};g.isExternalChip=function(){return"EXTERNAL"===this.detailedUserType||"PUBLIC"===this.detailedUserType||this.isPublicChip()};g.isNonGaiaChip=function(){return"NON_GAIA"===this.principalType};
g.isContainerChip=function(){return null!==this.nestedChips};g.isInternalAccessViolated=function(){return"INTERNAL"===this.parentController.getAccessLevel()&&(this.isExternalChip()||this.isPublicChip())};g.isExternalPartnerAccessViolated=function(){return"EXTERNAL_PARTNER"===this.parentController.getAccessLevel()&&this.isPublicChip()};g.isUserChip=function(){return"USER"===this.principalType};var Orc=function(a){return{displayText:"Admins",values:a}},Prc=function(a){return[a]},Qrc=function(a){return{displayText:"Appenders",values:a}},Rrc=jp("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?"),r0=function(a,b,c,d,e,f,h,l,q){Z.call(this);var u=this;this.hotlistAccessPolicyFridge=a;this.links=b;this.snackBar=
c;this.events=d;this.dialog=f;this.permissions=h;this.userApi=l;this.activeSession=q;this.id$=new C.ReplaySubject(1);this.idSubject$=Yo(this.id$.pipe(dg(this.destroyed$)));this.acl$=this.id$.pipe(cg(function(x){return u.hotlistAccessPolicyFridge.watchOne(x)}));this.latestCompactPolicy={};this.admins=[];this.appenders=[];this.readers=[];this.accessControlLink=Lp(this.links);this.validity={};this.isValid=function(){return Object.values(u.validity).every(Boolean)};this.isInvalid=function(){return!u.isValid()};
this.allAppenders=[];this.onPressSave=function(){u.isRevokingAdmin()?u.dialog.open({title:"Change Hotlist Admins",content:Rrc,isDestructive:!0,onConfirm:u.doSave}):u.doSave()};this.doSave=function(){var x=u.idSubject$.value;if(null!=x){var y=u.isRevokingAdmin();x={id:x,admins:noa(u.admins),appenders:noa(u.appenders),editors:null,readers:noa(u.readers),implicitAccess:null,restrictedReaders:null,restrictedPlusReaders:null,inheritedAdmins:null,implicitAppenders:null,implicitEditors:null,implicitReaders:null};
u.hotlistAccessPolicyFridge.save(x).subscribe({next:u.didSave(y,x.id),error:u.gotErr})}};this.didSave=function(x,y){return function(){u.snackBar.open("Access control saved",void 0,{duration:2500});u.events.hotlistChanged.next();u.permissions.poke(y);x&&u.doStar()}};this.gotErr=function(x){u.snackBar.open(Wn(x)||"Error saving the hotlist access policy","close",{panelClass:"error"})};this.doStar=function(){var x=u.idSubject$.value;x&&u.userApi.saveFavorite({resourceType:"HOTLIST",resourceId:x,userLogin:u.activeSession.getUserEmail()}).then(function(){u.events.hotlistChanged.next()})};
this.onPressRevert=function(){u.resetEdits()};this.gotAcl=function(x){u.latestPolicy=x;var y,G,L;u.latestCompactPolicy={admins:wk(null==(y=u.latestPolicy)?void 0:y.admins),appenders:wk(null==(G=u.latestPolicy)?void 0:G.appenders),readers:wk(null==(L=u.latestPolicy)?void 0:L.readers)};u.resetEdits()};this.isChanged=function(){var x=u.latestCompactPolicy,y;if(!Fj(null!=(y=x.admins)?y:[],u.admins))return!0;var G;if(!Fj(null!=(G=x.appenders)?G:[],u.appenders))return!0;var L;return Fj(null!=(L=x.readers)?
L:[],u.readers)?!1:!0};this.hasNoChanges=function(){return!u.isChanged()};this.acl$.pipe(dg(this.destroyed$)).subscribe(this.gotAcl);this.subscriptions.add(gQ(e,this.isChanged,!1))};W(r0,Z);r0.\u0275dir=Z.\u0275dir;var Src=function(a){return[].concat(r(new Set([].concat(r(a.admins),r(a.appenders)))))};r0.prototype.ngOnChanges=function(a){(a=a.hotlistId)&&this.id$.next(a.currentValue)};
r0.prototype.resetEdits=function(){var a;this.admins=[].concat(r(null!=(a=this.latestCompactPolicy.admins)?a:[]));var b;this.appenders=[].concat(r(null!=(b=this.latestCompactPolicy.appenders)?b:[]));var c;this.readers=[].concat(r(null!=(c=this.latestCompactPolicy.readers)?c:[]));this.allAppenders=Src(this)};r0.prototype.isRevokingAdmin=function(){var a=this.admins,b,c=null!=(b=this.latestCompactPolicy.admins)?b:[];return this.isRevokingDirectAdmin(a,c,this.activeSession.getUserEmail())};
r0.prototype.isRevokingDirectAdmin=function(a,b,c){c=void 0===c?"":c;if(Mra(a,b))return!1;c="USER:"+c;b=b.includes(c);a=!a.includes(c);return b&&a};r0.\u0275fac=function(a){return new (a||r0)(A(kG),A(SI),A(SF),A(cG),A(fQ),A(UI),A(KH),A(dH),A(Vt))};
r0.\u0275cmp=p({type:r0,selectors:[["b-edit-hotlist-acl"]],inputs:{hotlistId:"hotlistId",isReadOnly:"isReadOnly"},features:[qg,Hd],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&&(E(0,"form",0)(1,"label"),Q(2,"Admins"),F(),E(3,"p",1),Q(4,"Edit access controls, edit name and description, reorder hotlist, add/remove issues"),F(),E(5,"b-multi-user-input",2),K("usersChange",function(c){b.admins=c;b.allAppenders=Src(b)})("isValid",
function(c){return b.validity.admins=c}),F(),E(6,"label"),Q(7,"View and append"),F(),E(8,"p",1),Q(9,"Reorder hotlist, add/remove issues"),F(),E(10,"b-multi-user-input",3),K("usersChange",function(c){b.appenders=c;b.allAppenders=Src(b)})("isValid",function(c){return b.validity.appenders=c}),F(),E(11,"label"),Q(12,"View only"),F(),E(13,"p",1),Q(14,"View the hotlist"),F(),E(15,"b-multi-user-input",4),K("usersChange",function(c){b.readers=c})("isValid",function(c){return b.validity.readers=c}),F()(),
E(16,"p"),Q(17," See "),E(18,"a",5),Q(19,"access control documentation"),F(),Q(20," for an explanation of the settings.\n"),F(),P(21,F6a,5,4,"div",6));a&2&&(z(5),Fg("disabled",b.isReadOnly),D("users",b.admins),z(5),Fg("disabled",b.isReadOnly),D("users",b.appenders)("includeAliases",!0)("containerChips",Xg(18,Prc,Xg(16,Orc,b.admins))),z(5),Fg("disabled",b.isReadOnly),D("users",b.readers)("includeAliases",!0)("includeViewAliases",!0)("containerChips",Xg(22,Prc,Xg(20,Qrc,b.allAppenders))),z(3),D("href",
b.accessControlLink,Ie),z(3),D("ngIf",!b.isReadOnly))},dependencies:[yw,ix,bx,fx,tA,NC,o0],styles:["[_nghost-%COMP%] {\n      display: block;\n      max-width: 600px;\n      padding: 16px; \n    }\n    label[_ngcontent-%COMP%] {\n      font-weight: bold;\n      line-height: 2em;\n    }"]});var Trc=["hotlistName"],s0=function(a,b,c,d){Z.call(this);var e=this;this.fridge=a;this.snackBar=b;this.events=c;this.isReadOnly=!1;this.id$=new C.ReplaySubject(1);this.hotlist$=this.id$.pipe(cg(function(f){return e.fridge.watchOne(f)}));this.isArchived=!1;this.localEdits={};this.gotHotlist=function(f){e.latestHotlist=f;var h;e.isArchived=null!=(h=null==f?void 0:f.archived)?h:!1;e.resetEdits(f)};this.gotErr=function(f){e.snackBar.open(Wn(f)||"Error saving the hotlist","close",{panelClass:"error"})};
this.didSave=function(){e.snackBar.open("Hotlist saved",void 0,{duration:2500});e.events.hotlistChanged.next()};this.isChanged=function(){var f,h=null!=(f=e.latestHotlist)?f:{};return!Fj(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(dg(this.destroyed$)).subscribe(function(f){e.gotHotlist(f)});this.subscriptions.add(gQ(d,
this.isChanged,!1))};W(s0,Z);s0.\u0275dir=Z.\u0275dir;s0.prototype.ngAfterViewInit=function(){var a=this;setTimeout(function(){var b;null==(b=a.hotlistName)||b.nativeElement.focus()})};s0.prototype.ngOnChanges=function(a){(a=a.hotlistId)&&this.id$.next(a.currentValue)};s0.prototype.resetEdits=function(a){var b;this.localEdits=null!=(b=Gj(a))?b:{}};s0.\u0275fac=function(a){return new (a||s0)(A(hH),A(SF),A(cG),A(fQ))};
s0.\u0275cmp=p({type:s0,selectors:[["b-edit-hotlist-basic"]],viewQuery:function(a,b){a&1&&ih(Trc,5);if(a&2){var c;hh(c=kh())&&(b.hotlistName=c.first)}},inputs:{hotlistId:"hotlistId",isReadOnly:"isReadOnly"},features:[qg,Hd],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&&(E(0,"form",0)(1,"label",1),Q(2,"Name"),F(),E(3,"input",
2,3),K("ngModelChange",function(c){return b.localEdits.name=c}),F(),E(5,"label",4),Q(6,"Description"),F(),E(7,"textarea",5),K("ngModelChange",function(c){return b.localEdits.description=c}),Q(8,"  "),F(),P(9,G6a,7,7,"div",6),F());a&2&&(z(3),D("disabled",b.isReadOnly||b.isArchived)("ngModel",b.localEdits.name),z(4),D("disabled",b.isReadOnly||b.isArchived)("ngModel",b.localEdits.description),z(2),D("ngIf",!b.isReadOnly))},dependencies:[yw,ix,Qh,ax,bx,sx,hx,fx,tA,NC,m0,Ew],styles:["[_nghost-%COMP%]{display:block;max-width:600px;padding:16px}label[_ngcontent-%COMP%]{font-weight:bold;line-height:2em}textarea[_ngcontent-%COMP%]{min-height:150px;resize:vertical}input.ng-invalid[_ngcontent-%COMP%], input.ng-invalid.ng-touched[_ngcontent-%COMP%]:not(.mat-input-element){border:1px solid;border-color:#ea4335;border-color:var(--bad)}\n/*# sourceMappingURL=edit_hotlist_basic.css.map */"]});var t0=function(a,b){Z.call(this);var c=this;this.hotlists=a;this.acls=b;this.id$=new C.ReplaySubject(1);this.hotlist$=this.id$.pipe(cg(function(d){return c.hotlists.watchOne(d)}))};W(t0,Z);t0.\u0275dir=Z.\u0275dir;t0.prototype.isThinking=function(a){var b=a?"hotlists/"+a:void 0;return this.hotlists.isThinking(a)||this.acls.isThinking(b)};t0.prototype.ngOnChanges=function(a){(a=a.id)&&this.id$.next(a.currentValue)};t0.\u0275fac=function(a){return new (a||t0)(A(hH),A(kG))};
t0.\u0275cmp=p({type:t0,selectors:[["b-edit-hotlist-header"]],inputs:{id:["hotlistId","id"]},features:[qg,Hd],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&&(E(0,"header",0)(1,"h2")(2,"span",1),Q(3),F(),P(4,H6a,2,1,"ng-container",2),U(5,"async"),F(),P(6,I6a,2,0,"strong",3),U(7,"async"),P(8,J6a,1,0,"b-spinner",2),F());if(a&2){var c;z(3);R(" Hotlist ",b.id,": ");
z(1);D("ngIf",V(5,4,b.hotlist$));z(2);D("ngIf",null==(c=V(7,6,b.hotlist$))?null:c.archived);z(2);D("ngIf",b.isThinking(b.id))}},dependencies:[yw,zM,Ew],styles:["[_nghost-%COMP%] {\n      display: block;\n    }"]});var u0=function(a){Z.call(this);this.activeSession=a;this.URLS=Ht;this.id$=new C.ReplaySubject(1);this.enableBulkEditUi=DE(this.activeSession,"enableBulkEditUi")};W(u0,Z);u0.\u0275dir=Z.\u0275dir;u0.prototype.ngOnChanges=function(a){(a=a.id)&&this.id$.next(a.currentValue)};u0.prototype.onPressBack=function(){var a;null==(a=window.history)||a.back()};u0.\u0275fac=function(a){return new (a||u0)(A(Vt))};
u0.\u0275cmp=p({type:u0,selectors:[["b-edit-hotlist-toolbar"]],inputs:{id:["hotlistId","id"]},features:[qg,Hd],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&&(E(0,"section",0)(1,"b-button",1),K("onAction",function(){return b.onPressBack()}),H(2,"b-icon",2),F(),E(3,"a",3),Q(4," View Issues "),F(),P(5,K6a,2,3,"hotlist-add-issue-btn",4),F());a&2&&(z(3),D("href",b.URLS.HOTLIST_VIEW(b.id),Ie),z(2),D("ngIf",b.enableBulkEditUi))},dependencies:[yw,uA,NC,cQ,GN,l0,Ew],styles:[".button-bar[_ngcontent-%COMP%] {\n      display: flex;\n      align-items: center;\n      height: 46px;\n      box-sizing: border-box;\n    }"]});var Urc={403:"You do not have permission to view this Hotlist.",404:"This Hotlist does not exist."},v0=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(B(function(e){return null==e?void 0:e.admin}));this.hotlistErrorMsg$=this.hotlists.error$.pipe(B(function(e){var f;return null!=(f=e.status)?f:-1}),B(function(e){var f;return null!=
(f=Urc[e])?f:"unknown error"}),bg(void 0));this.tabIndex=0};v0.prototype.ngOnInit=function(){this.pageTitle.setTitle("Edit Hotlist "+this.id);window.location.hash.includes("access")&&(this.tabIndex=1)};v0.\u0275fac=function(a){return new (a||v0)(A(yJ),A(JV),A(KH),A(hH))};
v0.\u0275cmp=p({type:v0,selectors:[["edit-hotlist"]],decls:4,vars:6,consts:[[4,"ngIf"],[3,"hotlistId"],[1,"bv2-view"],["gmat-tabs","",3,"selectedIndex"],["label","Basic Information"],[3,"hotlistId","isReadOnly"],["label","Access Control"],["class","muted padded-x",4,"ngIf"],[1,"muted","padded-x"],[1,"padded-x"]],template:function(a,b){a&1&&(P(0,M6a,13,14,"ng-container",0),U(1,"async"),P(2,N6a,7,1,"ng-container",0),U(3,"async"));a&2&&(D("ngIf",void 0===V(1,2,b.hotlistErrorMsg$)),z(2),D("ngIf",V(3,
4,b.hotlistErrorMsg$)))},dependencies:[yw,uN,tN,zN,eP,r0,s0,t0,u0,Ew],encapsulation:2});var w0=function(){};w0.\u0275fac=function(a){return new (a||w0)};w0.\u0275cmp=p({type:w0,selectors:[["b-error-banner"]],inputs:{error:"error"},decls:1,vars:1,consts:[["messageType","error",4,"ngIf"],["messageType","error"]],template:function(a,b){a&1&&P(0,O6a,3,1,"b-callout",0);a&2&&D("ngIf",b.error)},dependencies:[yw,FW,GW],encapsulation:2});var x0=function(){};x0.\u0275fac=function(a){return new (a||x0)};x0.\u0275mod=od({type:x0});x0.\u0275inj=Wc({imports:[Mw,VW]});var y0=function(a){this.activeSession=a;this.sessionIsExternal=a.isExternalSession()};y0.prototype.shouldShowLinks=function(){return!this.sessionIsExternal&&!!ip(this.email)};y0.prototype.getName=function(){return void 0===this.email?"":this.email.split("@")[0]};y0.\u0275fac=function(a){return new (a||y0)(A(Vt))};
y0.\u0275cmp=p({type:y0,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&&(Ng(),P(0,U6a,17,5,"ng-container",0),P(1,V6a,1,0,"ng-template",null,1,qh));if(a&2){var c=O(2);D("ngIf",!!ip(b.email))("ngIfElse",c)}},dependencies:[yw,Dw,jB,iK,nK],styles:[".onedev-hovercard-content[_ngcontent-%COMP%]{--onedev-card-background: var(--surface-default, rgb(255, 255, 255));--onedev-card-title-text: var(--text-default, rgb(32, 33, 36));--onedev-card-icon: var(--icon, rgb(95, 99, 104));--onedev-card-secondary-text: var(--text-secondary, rgb(95, 99, 104));--onedev-card-link-color: var(--primary-default, rgb(26, 115, 232))}.onedev-hovercard-content[_ngcontent-%COMP%]{background-color:var(--onedev-card-background);width:356px}.onedev-hovercard-content[_ngcontent-%COMP%]   .onedev-hovercard-body[_ngcontent-%COMP%]{padding:20px}.onedev-hovercard-content[_ngcontent-%COMP%]   .onedev-hovercard-body[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:var(--onedev-card-link-color)}.onedev-hovercard-content[_ngcontent-%COMP%]   .onedev-hovercard-body[_ngcontent-%COMP%]   .contact-info.with-avatar[_ngcontent-%COMP%]{display:grid;grid-template-columns:48px auto;column-gap:20px}.onedev-hovercard-content[_ngcontent-%COMP%]   .onedev-hovercard-body[_ngcontent-%COMP%]   .contact-info.with-avatar[_ngcontent-%COMP%]   .avatar[_ngcontent-%COMP%]{grid-row:1/span 2}.onedev-hovercard-content[_ngcontent-%COMP%]   .onedev-hovercard-body[_ngcontent-%COMP%]   .contact-info[_ngcontent-%COMP%]   .name[_ngcontent-%COMP%]{grid-row:1;grid-column:2;line-clamp:2;overflow:hidden;text-overflow:ellipsis}.onedev-hovercard-content[_ngcontent-%COMP%]   .onedev-hovercard-body[_ngcontent-%COMP%]   .contact-info[_ngcontent-%COMP%]   .email[_ngcontent-%COMP%]{grid-row:2;grid-column:2}.onedev-hovercard-content[_ngcontent-%COMP%]   .onedev-hovercard-body[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{color:var(--onedev-card-title-text);margin:0 0 12px;max-height:48px;overflow:hidden}.onedev-hovercard-content[_ngcontent-%COMP%]   .onedev-hovercard-body[_ngcontent-%COMP%]   .chips[_ngcontent-%COMP%]{display:inline-flex;flex-direction:column;margin-top:12px}.onedev-hovercard-content[_ngcontent-%COMP%]   .onedev-hovercard-body[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:var(--onedev-card-icon);font-size:18px;height:18px;width:18px}.onedev-hovercard-content[_ngcontent-%COMP%]   .onedev-hovercard-body[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]{display:grid;grid-template-columns:18px auto;grid-gap:12px 20px;margin:0;margin-top:12px}.onedev-hovercard-content[_ngcontent-%COMP%]   .onedev-hovercard-body[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]   .detail[_ngcontent-%COMP%]{margin-top:2px}.onedev-hovercard-content[_ngcontent-%COMP%]   .onedev-hovercard-body[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]:empty{margin-top:0px}.onedev-hovercard-content[_ngcontent-%COMP%]   .onedev-hovercard-body[_ngcontent-%COMP%]   .subcontent[_ngcontent-%COMP%]:not(:last-child){margin-bottom:8px}.onedev-hovercard-content[_ngcontent-%COMP%]   .onedev-hovercard-body[_ngcontent-%COMP%]   .label[_ngcontent-%COMP%]{color:var(--onedev-card-secondary-text);padding:0 8px 0 0}.onedev-hovercard-content[_ngcontent-%COMP%]   .onedev-hovercard-body[_ngcontent-%COMP%]   .dot-separated-list[_ngcontent-%COMP%]{display:inline;list-style-type:none;margin:0;padding:0}.onedev-hovercard-content[_ngcontent-%COMP%]   .onedev-hovercard-body[_ngcontent-%COMP%]   .dot-separated-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{display:inline}.onedev-hovercard-content[_ngcontent-%COMP%]{width:auto}.bv2-group-email-card[_ngcontent-%COMP%]{margin:-15px -20px -20px}.bv2-group-email-card[_ngcontent-%COMP%]   .bv2-group-email-card-content[_ngcontent-%COMP%]{padding:15px 60px 20px 15px}.bv2-group-email-card[_ngcontent-%COMP%]   .bv2-group-email-card-content[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{width:18px;height:18px;vertical-align:middle}.bv2-group-email-card[_ngcontent-%COMP%]   .bv2-group-email-card-content[_ngcontent-%COMP%]   .bv2-group-email-card-email[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted)}.bv2-group-email-card[_ngcontent-%COMP%]   .bv2-group-email-card-links-container[_ngcontent-%COMP%]{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg);border-top:1px solid;border-top-color:#dadce0;border-top-color:var(--divider);padding:10px 15px}.bv2-group-email-card[_ngcontent-%COMP%]   .bv2-group-email-card-links-container[_ngcontent-%COMP%]   .bv2-group-email-card-link[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted)}.bv2-group-email-card[_ngcontent-%COMP%]   .bv2-group-email-card-links-container[_ngcontent-%COMP%]   .bv2-group-email-card-link[_ngcontent-%COMP%]:hover, .bv2-group-email-card[_ngcontent-%COMP%]   .bv2-group-email-card-links-container[_ngcontent-%COMP%]   .bv2-group-email-card-link[_ngcontent-%COMP%]:active{text-decoration:underline}\n/*# sourceMappingURL=group_email_card.css.map */"]});
var z0=function(){};z0.\u0275fac=function(a){return new (a||z0)};z0.\u0275mod=od({type:z0});z0.\u0275inj=Wc({imports:[Mw,OC,JN]});var Pia=function(a,b,c,d,e,f){return{"bv2-user-chip-external":a,"bv2-user-chip-non-gaia":b,"bv2-user-chip-not-accessible":c,"bv2-user-chip-container":d,selected:e,readonly:f}},A0=function(a){Z.call(this);this.activeSession=a;this.isReadonly=!0;this.isSelected=!1;this.isWidgetDisabled=!0;this.nestedChips=this.detailedUserType=this.principalType=null;this.displayText=this.value="";this.accessLevel=void 0;this.chipSelection=new Rv;this.chipClear=new Rv;this.chipRemove=new Rv};W(A0,Z);A0.\u0275dir=Z.\u0275dir;
g=A0.prototype;g.isPublicChip=function(){return"ALIAS"===this.principalType&&["public_non_google","public"].includes(this.value)};g.isNonGaiaChip=function(){return"NON_GAIA"===this.principalType};g.isContainerChip=function(){return null!==this.nestedChips};g.isUserChip=function(){return"USER"===this.principalType};g.isGroupChip=function(){return"GROUP"===this.principalType};g.isDomainChip=function(){return"ALIAS"===this.principalType&&["googlers_unrestricted","google_domain"].includes(this.value)};
g.isExternalChip=function(){return"EXTERNAL"===this.detailedUserType||"PUBLIC"===this.detailedUserType||this.isPublicChip()};g.isExternalPartnerAccessViolated=function(){return"EXTERNAL_PARTNER"===this.accessLevel&&this.isPublicChip()};g.isInternalAccessViolated=function(){return"INTERNAL"===this.accessLevel&&(this.isExternalChip()||this.isPublicChip())};
g.getTooltip=function(){if("ALIAS"!==this.principalType)return"";switch(this.value){case "googlers_unrestricted":return"Full time employees and other users with access to view most "+this.activeSession.getAppName()+" issues.";case "google_domain":return"All users associated with the google.com domain.";case "public_non_google":return"All logged in users, excluding the google.com domain.";case "public":return"All logged in users.";default:throw Error("se`"+this.value);}};
var Vrc=function(a){if(a.isGroupChip())return"group";if(a.isDomainChip())return"acl-alias-domain";if(a.isPublicChip())return"public"};A0.\u0275fac=function(a){return new (a||A0)(A(Vt))};
A0.\u0275cmp=p({type:A0,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:[qg],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&&(E(0,"span",0),K("focus",function(){return b.chipSelection.emit()})("blur",function(){return b.chipClear.emit()}),E(1,"span",1),P(2,W6a,1,1,"mat-icon",2),F(),E(3,"div",3),P(4,X6a,2,2,"b-person-hovercard",4),P(5,Y6a,2,2,"b-group-email-card",4),P(6,Z6a,2,1,"div",5),F(),P(7,$6a,2,2,"div",6),P(8,
b7a,7,1,"div",7),F());a&2&&(D("ngClass",Qia(b.isExternalChip(),b.isNonGaiaChip(),b.isInternalAccessViolated()||b.isExternalPartnerAccessViolated(),b.isContainerChip(),b.isSelected,b.isReadonly))("matTooltip",b.getTooltip()),z(2),D("ngIf",Vrc(b)),z(2),D("ngIf",b.isUserChip()),z(1),D("ngIf",b.isGroupChip()),z(1),D("ngIf",!b.isUserChip()&&!b.isGroupChip()),z(1),D("ngIf",!b.isReadonly&&!b.isWidgetDisabled),z(1),D("ngIf",b.isContainerChip()))},dependencies:[ww,xw,yw,NC,jB,OK,y0,A0],styles:["span.bv2-user-chip-item[_ngcontent-%COMP%]{background-color:#f8f9fa;background-color:var(--button-bg);border:1px solid;border-color:#dadce0;border-color:var(--divider);border-radius:3px;display:block;height:20px;white-space:nowrap}span.bv2-user-chip-item[_ngcontent-%COMP%]   .alias-icon[_ngcontent-%COMP%] > mat-icon[_ngcontent-%COMP%]{width:18px;height:20px;margin-left:3px;margin-right:-3px;opacity:.6}span.bv2-user-chip-item[_ngcontent-%COMP%]   .user-chip-name[_ngcontent-%COMP%]{display:inline-block;line-height:16px;margin:2px 5px;max-width:550px;overflow:hidden;text-overflow:ellipsis}span.bv2-user-chip-item[_ngcontent-%COMP%]   .user-chip-x[_ngcontent-%COMP%]{cursor:pointer;display:inline-block}span.bv2-user-chip-item[_ngcontent-%COMP%]   .user-chip-x[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{width:16px;height:20px;opacity:.6;margin-left:-3px;margin-right:2px}span.bv2-user-chip-item[_ngcontent-%COMP%]   .bv2-user-chip-nested-content-container[_ngcontent-%COMP%]{margin-top:10px;position:relative;white-space:normal}span.bv2-user-chip-item[_ngcontent-%COMP%]   .bv2-user-chip-nested-content-container[_ngcontent-%COMP%] > .bv2-user-chip-nested-content[_ngcontent-%COMP%]{position:absolute;width:600px}span.bv2-user-chip-item[_ngcontent-%COMP%]   .bv2-user-chip-nested-content-container[_ngcontent-%COMP%] > .bv2-user-chip-nested-content[_ngcontent-%COMP%] > .jfk-bubble[_ngcontent-%COMP%]{z-index:900 !important;padding:10px}span.bv2-user-chip-item[_ngcontent-%COMP%]   .bv2-user-chip-nested-content-container[_ngcontent-%COMP%] > .bv2-user-chip-nested-content[_ngcontent-%COMP%] > .jfk-bubble[_ngcontent-%COMP%] > .bv2-user-chip[_ngcontent-%COMP%] > span.bv2-user-chip-item[_ngcontent-%COMP%]:active{border-color:#3c4043;border-color:var(--gfx)}span.bv2-user-chip-item[_ngcontent-%COMP%]   .bv2-user-chip-nested-content-container[_ngcontent-%COMP%] > .bv2-user-chip-nested-content[_ngcontent-%COMP%] > .jfk-bubble[_ngcontent-%COMP%] > .jfk-bubble-arrow[_ngcontent-%COMP%] > .jfk-bubble-arrowimplbefore[_ngcontent-%COMP%]{left:-1px}span.bv2-user-chip-item[_ngcontent-%COMP%]   .bv2-user-chip-nested-content-container[_ngcontent-%COMP%] > .bv2-user-chip-nested-content[_ngcontent-%COMP%] > .jfk-bubble[_ngcontent-%COMP%] > .jfk-bubble-arrow[_ngcontent-%COMP%] > .jfk-bubble-arrowimplafter[_ngcontent-%COMP%]{left:0}span.bv2-user-chip-item.selected[_ngcontent-%COMP%]   .bv2-user-chip-nested-content[_ngcontent-%COMP%], span.bv2-user-chip-item[_ngcontent-%COMP%]:hover:not(.selected)   .bv2-user-chip-nested-content[_ngcontent-%COMP%], span.bv2-user-chip-item.selected[_ngcontent-%COMP%]:not(:hover)   .bv2-user-chip-nested-content[_ngcontent-%COMP%]{display:block}span.bv2-user-chip-item[_ngcontent-%COMP%]:not(.selected)   .bv2-user-chip-nested-content[_ngcontent-%COMP%], span.bv2-user-chip-item[_ngcontent-%COMP%]:not(:hover)   .bv2-user-chip-nested-content[_ngcontent-%COMP%]{display:none}span.bv2-user-chip-item[_ngcontent-%COMP%]:active, span.bv2-user-chip-item.selected[_ngcontent-%COMP%], span.bv2-user-chip-item.selected[_ngcontent-%COMP%]:hover, span.bv2-user-chip-item.selected[_ngcontent-%COMP%]:active, span.bv2-user-chip-item.readonly[_ngcontent-%COMP%]:active, span.bv2-user-chip-item.readonly.selected[_ngcontent-%COMP%], span.bv2-user-chip-item.readonly.selected[_ngcontent-%COMP%]:hover, span.bv2-user-chip-item.readonly.selected[_ngcontent-%COMP%]:active{border-color:#1a73e8;border-color:var(--primary)}span.bv2-user-chip-item.readonly[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted)}span.bv2-user-chip-item.readonly[_ngcontent-%COMP%]   .user-chip-x[_ngcontent-%COMP%]{display:none}span.bv2-user-chip-item.bv2-user-chip-external[_ngcontent-%COMP%]{background-color:#fbe983;background-color:var(--public-bg)}span.bv2-user-chip-item.bv2-user-chip-non-gaia[_ngcontent-%COMP%]{border:1px dashed;border-color:#ea4335;border-color:var(--bad)}span.bv2-user-chip-item.bv2-user-chip-not-accessible[_ngcontent-%COMP%]{border:1px solid;border-color:#ea4335;border-color:var(--bad)}span.bv2-user-chip-item.bv2-user-chip-container[_ngcontent-%COMP%]{cursor:pointer}span.bv2-user-chip-item.bv2-user-chip-container[_ngcontent-%COMP%] > .user-chip-name[_ngcontent-%COMP%]{border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider);border-style:dashed;height:14px}\n/*# sourceMappingURL=contact_chip.css.map */"]});var B0=function(){};B0.\u0275fac=function(a){return new (a||B0)};B0.\u0275mod=od({type:B0});B0.\u0275inj=Wc({imports:[Mw,wx,ID,OC,VN,z0,XJ,XS,TY]});kda(o0,[xw,yw,Qh,ax,hx,WS,SY,A0]);var C0=function(){};C0.\u0275fac=function(a){return new (a||C0)};C0.\u0275mod=od({type:C0});C0.\u0275inj=Wc({providers:[{provide:w5b,useValue:{enabled:!0}}],imports:[Mw,wx,YC,OC,ID,yN,DT,RF,gO,eO,PP,x0,B0,hP]});var D0=function(){};D0.\u0275fac=function(a){return new (a||D0)};D0.\u0275mod=od({type:D0});D0.\u0275inj=Wc({imports:[BW,DT,A_,Mw,vP,QY,C0,D_,eO,YC,NA,ID,C_,B_]});var E0=function(a,b,c,d,e){Z.call(this);this.element=a;this.bLocation=b;this.paths=c;this.hotkeys=d;this.cdr=e;this.focusedIndex=0;this.convertUserToString=ck;this.hotlists=[];this.registerKeys()};W(E0,Z);E0.\u0275dir=Z.\u0275dir;g=E0.prototype;g.setFocusOnIndex=function(a){this.focusedIndex=a};g.isFocused=function(a){return this.focusedIndex===a};g.selectNext=function(){this.focusedIndex+1>=this.hotlists.length||(this.focusedIndex++,this.scrollToFocusedIndex())};
g.selectPrevious=function(){0>this.focusedIndex-1||(this.focusedIndex--,this.scrollToFocusedIndex())};
g.registerKeys=function(){var a=this,b=KM(this.hotkeys,{title:"Browse Controls",hotkeys:[{keys:["j","DOWN"],displayAs:"j / Down",description:"Move to the next hotlist",onPress:function(){a.selectNext();a.cdr.detectChanges()}},{keys:["k","UP"],displayAs:"k / Up",description:"Move to the previous hotlist",onPress:function(){a.selectPrevious();a.cdr.detectChanges()}},{keys:["ENTER"],displayAs:"Enter",description:"View hotlist detail",onPress:function(){var c=a.hotlists[a.focusedIndex];c&&a.editHotlist(c)}}]});
this.destroyed$.subscribe(b)};g.scrollToFocusedIndex=function(){var a=this.element.nativeElement.parentElement;if(a){var b,c,d=null==(b=this.element.nativeElement.querySelector("table"))?void 0:null==(c=b.rows)?void 0:c[this.focusedIndex];if(d){b=a.getBoundingClientRect();a=b.top;b=b.bottom;c=d.getBoundingClientRect();var e=c.bottom;c.top<a?d.scrollIntoView(!1):e>b&&d.scrollIntoView(!0)}}};g.renderRowLabel=function(a){return this.hotlists[a].name};g.editHotlist=function(a){this.bLocation.path(this.paths.editHotlist(a.hotlistId))};
E0.\u0275fac=function(a){return new (a||E0)(A(ke),A(MG),A(NG),A(JM),A(sH,2))};
E0.\u0275cmp=p({type:E0,selectors:[["b-hotlist-grid"]],inputs:{hotlists:"hotlists"},features:[Ug([sH]),qg],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&&(E(0,"table",0)(1,"thead")(2,"tr",1),H(3,"th",2),E(4,"th")(5,"div",3)(6,"div",4)(7,"div",5),Q(8," Hotlist name "),F()()()(),E(9,"th")(10,"div",3)(11,"div",4)(12,"div",5),Q(13," Description "),F()()()(),E(14,"th")(15,
"div",3)(16,"div",4)(17,"div",5),Q(18," Admins "),F()()()(),E(19,"th")(20,"div",3)(21,"div",4)(22,"div",5),Q(23," ID "),F()()()()()(),E(24,"tbody"),P(25,e7a,11,9,"tr",6),F()());a&2&&(z(25),D("ngForOf",b.hotlists))},dependencies:[xw,yw],encapsulation:2});var F0=function(){};F0.\u0275fac=function(a){return new (a||F0)};F0.\u0275mod=od({type:F0});F0.\u0275inj=Wc({imports:[Mw]});var G0=function(a,b){this.bLocation=a;this.butterBar=b},Wrc=function(a,b){var c=a.bLocation.search()[b];return null!=c?Array.isArray(c)?(XF(a.butterBar,"Given multiple values for parameter "+b+"; using the first."),c[0]):"boolean"===typeof c?"":c:null};G0.prototype.getCount=function(){var a=Wrc(this,"c");return a?Lj(a):null};var Xrc=function(a){return(a=Wrc(a,"p"))?Lj(a):null};G0.prototype.getQuery=function(){return Wrc(this,"q")};
G0.prototype.getDisplayColumns=function(){var a=this.bLocation.search().d;return a?(Array.isArray(a)?a:[a]).map(Fm).filter(nk):null};G0.prototype.getSortColumns=function(){var a=this.bLocation.search().s;return a?(Array.isArray(a)?a:[a]).map(Qqa).filter(nk):null};
var H0=function(a,b,c){c=void 0===c?!1:c;var d=function(e,f){c?a.bLocation.search(e,f,!0):a.bLocation.search(e,f)};void 0!==b.displayColumns&&d("d",null==b.displayColumns?null:(b.displayColumns||[]).map(function(e){return Yrc(e)}));void 0!==b.sortColumns&&d("s",null==b.sortColumns?null:(b.sortColumns||[]).map(function(e){var f="ASCENDING"==e.direction?"asc":"desc";return Yrc(e.fieldId)+":"+f}));void 0!==b.page&&d("p",b.page);void 0!==b.resultsPerPage&&d("c",b.resultsPerPage);void 0!==b.query&&d("q",
b.query)},Yrc=function(a){return a.isCustomField()?String(a.customFieldId):a.type.toLowerCase()};G0.\u0275fac=function(a){return new (a||G0)(n(MG),n(VF))};G0.\u0275prov=Vc({token:G0,factory:G0.\u0275fac,providedIn:"root"});var I0=function(a){Y.call(this,a)};W(I0,Y);I0.prototype.setCustomField=function(a){return gl(this,Pk,1,a)};I0.messageId="b.CustomFieldResponse";var J0=function(){},K0=function(a){this.executor=a};W(K0,J0);K0.prototype.get=function(a){return this.executor.get({url:"action/custom_fields/"+Number(a),responseConstructor:I0}).then(Eoa)};K0.prototype.create=function(a,b){b=Qk(b);return this.executor.post({url:"action/custom_fields",options:{params:{componentId:String(a)}},body:b,responseConstructor:I0}).then(Eoa)};
K0.prototype.update=function(a,b,c){b=Number(b);c=Qk(c);return this.executor.post({url:"action/custom_fields/"+b,options:{params:{componentId:String(a)}},body:c,responseConstructor:I0}).then(Eoa)};K0.prototype.delete=function(a,b){return this.executor.delete({url:"action/custom_fields/"+Number(b),options:{params:{componentId:String(a)}},responseConstructor:null})};K0.\u0275fac=function(a){return new (a||K0)(n(LD))};K0.\u0275prov=Vc({token:K0,factory:K0.\u0275fac,providedIn:"root"});var L0=function(a,b,c){this.urlPreferences=a;this.userPreferencesManager=b;this.customFieldApi=c};L0.prototype.fetch=function(a,b){a=this.getParameters(a,void 0===b?null:b);return{searchPreferences:Ep({page:a.page,query:a.query,resultsPerPage:a.resultsPerPage,sortColumns:a.sortColumns}),displayColumns:a.displayColumns}};
L0.prototype.getParameters=function(a,b){var c=this,d=b?function(){return Zrc(b)}:function(){return $rc(c)},e=b?function(){return asc(b)}:function(){return bsc(c)};d=Promise.resolve(this.urlPreferences.getDisplayColumns()).then(function(l){return M0(l)}).then(null,d).then(function(l){return M0(l)}).then(null,Lu(a.displayColumns)).then(function(l){return csc(c,l)});e=Promise.resolve(this.urlPreferences.getSortColumns()).then(function(l){return M0(l)}).then(null,e).then(function(l){return M0(l)}).then(null,
Lu(a.sortColumns));var f=Promise.resolve(this.urlPreferences.getCount()).then(function(l){return M0(l)}).then(null,function(){return dsc(c)}).then(function(l){return M0(l)}).then(null,Lu(a.resultsPerPage)),h=Promise.resolve(this.urlPreferences.getQuery()).then(function(l){return M0(l)}).then(null,function(){return esc(b,function(l){return l.query})}).then(null,Lu(a.query));a=Xrc(this.urlPreferences)||a.page;return{displayColumns:d,sortColumns:e,resultsPerPage:f,query:h,page:a}};
var M0=function(a){return null==a?Promise.reject(null):a},Zrc=function(a){return esc(a,function(b){return b.displayColumn}).then(function(b){return fsc(b)})},asc=function(a){return esc(a,function(b){return b.sortOrder}).then(function(b){return gsc(b)})},bsc=function(a){return(0,C.firstValueFrom)(a.userPreferencesManager.sortColumnsPreferences$).then(function(b){return M0(b)}).then(function(b){return gsc(b)})},$rc=function(a){return(0,C.firstValueFrom)(a.userPreferencesManager.displayColumnsPreferences$).then(function(b){return M0(b)}).then(function(b){return fsc(b)})},
dsc=function(a){return(0,C.firstValueFrom)(a.userPreferencesManager.preferences$.pipe(B(function(b){var c;return null!=(c=b.resultsPerPage)?c:null}))).then(function(b){return M0(b)})},esc=function(a,b){return a?a.then(function(c){c=b(c);return null==c?Promise.reject(null):c}):Promise.reject(null)},fsc=function(a){if(!a||!a.length)return null;a=vn(a,function(b){return b.customFieldId||b.customFieldName||b.type});return a.map(function(b){return new Em({customFieldId:b.customFieldId||void 0,customFieldName:b.customFieldName||
void 0,type:"CANONICAL_ISSUE_ID"===b.type?"DUPLICATE_OF_ISSUE_ID":b.type})})},gsc=function(a){return a&&a.length?a.map(function(b){return void 0!==b.column?new Im(new Em(b.column),b.order):new Im(new Em(b.field),b.direction)}).filter(function(b){return"CUSTOM_FIELD"!=b.fieldId.type||null!=b.fieldId.customFieldId}):null},csc=function(a,b){function c(){for(var l=m(b),q=l.next();!q.done;q=l.next())if(q=q.value,q.isCustomField()&&!q.customFieldName){var u=d[q.customFieldId];q.customFieldName=u?u:"Custom field "+
q.customFieldId}return b}if(!b)return Promise.resolve([]);for(var d={},e=[],f=m(b),h=f.next();!h.done;h=f.next())h=h.value,h.customFieldId&&h.isCustomField()&&(h.customFieldName?d[h.customFieldId]=h.customFieldName:e.push(a.customFieldApi.get(h.customFieldId).then(function(l){d[l.customFieldId]=l.name})));return Promise.all(e).then(c,c)};L0.\u0275fac=function(a){return new (a||L0)(n(G0),n(ZI),n(J0))};L0.\u0275prov=Vc({token:L0,factory:L0.\u0275fac,providedIn:"root"});var N0=function(a,b,c,d,e,f,h,l,q,u,x,y,G,L,M){Z.call(this);var T=this;this.cdr=a;this.bLocation=b;this.$log=c;this.butterBar=e;this.analytics=f;this.issuePagination=h;this.gridPreferencesFetcher=l;this.paths=q;this.errorHandler=u;this.domSafe=x;this.timeout=y;this.hotkeys=G;this.appSearchState=M;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 Rv;this.resultsLoaded=new Rv;this.selectionChange=new Rv;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 S;null==(S=T.issuesGrid)||nrc(S)}},{keys:["k"],displayAs:"k",description:"Move to the previous issue in the current panel",
onPress:function(){var S;null==(S=T.issuesGrid)||orc(S)}},{keys:["x"],displayAs:"x",description:"Select/Deselect the current issue",onPress:function(){var S;null==(S=T.issuesGrid)||mrc(S)}},{keys:["s"],displayAs:"s",description:"Star/Unstar the current issue",onPress:function(){var S;null==(S=T.issuesGrid)||qrc(S)}},{keys:[zp("i")],displayAs:"Shift+i",description:"Mark as read",onPress:function(){var S;null==(S=T.issuesGrid)||rrc(S,!0)}},{keys:[zp("u")],displayAs:"Shift+u",description:"Mark as unread",
onPress:function(){var S;null==(S=T.issuesGrid)||rrc(S,!1)}},{keys:[Ap("*","a")],displayAs:"* then a",description:"Select all issues in the current panel",onPress:function(){var S;null==(S=T.issuesGrid)||S.selectAll()}},{keys:[Ap("*","n")],displayAs:"* then n",description:"Deselect all issues in the current panel",onPress:function(){var S;null==(S=T.issuesGrid)||krc(S)}},{keys:["o","ENTER"],displayAs:"o / Enter",description:"Open the current issue",onPress:function(S){var X=L.document.activeElement;
if(1===S&&"A"===(null==X?void 0:X.tagName))if(X.href)S=T.paths.getBaseUrl(),Nj(X.href,S)?b.url(X.href.slice(S.length)):T.domSafe.openInNewTab(X.href);else{var aa;null==(aa=T.issuesGrid)||h0(aa)}else{var na;null==(na=T.issuesGrid)||h0(na)}}}];this.destroyed$.subscribe(function(){var S;null==(S=T.unregisterHotkeys)||S.call(T)})};W(N0,Z);N0.prototype.columnsChange=function(a){this.issueColumns=a};N0.prototype.ngOnInit=function(){this.getIssues();hsc(this)};
var hsc=function(a){var b;null==(b=a.unregisterHotkeys)||b.call(a);a.isFocused?a.unregisterHotkeys=KM(a.hotkeys,{title:"Bookmark Group Dashboard",hotkeys:a.BASE_HOTKEYS}):a.unregisterHotkeys=void 0},x7a=function(a,b){a.issuesGrid=b;prc(a.issuesGrid,function(){var c,d={panelId:a.panel.panelId,selectedIssues:null==(c=a.issuesGrid)?void 0:c.getSelectedIssues()};a.selectionChange.emit(d)})};g=N0.prototype;
g.setSort=function(a,b,c){c=void 0===c?!0:c;var d=Fm(a);if(null==d)this.$log.warn("WARNING: Invalid column name: "+a);else{var e=new Im(d,"ASC"==b?"ASCENDING":"DESCENDING");Na(this.sortPreferences,function(f){return Fj(f.fieldId,e.fieldId)});this.sortPreferences=c?[e].concat(this.sortPreferences.slice(0,2)):[e];this.page=1;this.refreshResults()}};
g.getSort=function(){if(!this.sortPreferences.length)return null;var a=this.sortPreferences[0];a={field:"CUSTOM_FIELD"==a.fieldId.type?String(a.fieldId.customFieldId):Kj(a.fieldId.type),direction:"ASCENDING"==a.direction?"ASC":"DESC"};Fj(a,this.cachedSort)||(this.cachedSort=a);return this.cachedSort};g.initColumns=function(a,b){this.displayColumns=a;this.issueColumnsInternal=[].concat(r(b),r(f3a(a)));this.initialIssueColumns=Gj(this.issueColumns);this.isColumnSaveEnabled=!0};
g.goToIssue=function(a,b,c){c&&"A"===c.target.tagName||(this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"viewIssue",b?"read":"unread"),a=this.paths.editIssue(a),c&&(c.ctrlKey||c.metaKey||1===c.button)?this.domSafe.openInNewTab(a):this.bLocation.url(a))};g.goToPage=function(a){this.page=a;this.getIssues()};g.refreshResults=function(){QW(this.issuePagination);this.getIssues()};g.exportCsv=function(){QK(this.domSafe,this.getCsvUrl())};
g.getCsvUrl=function(){this.$log.warn("WARNING: Method getCsvUrl() not implemented.");return""};g.getIssues=function(){var a=this;this.searchResults=null;this.isLoading=!0;var b=this.resource?Promise.resolve(this.resource):this.loadResource();return this.doSearch(b).catch(function(c){a.$log.warn("WARNING: unable to doSearch()",c)}).finally(function(){a.isLoading=!1;a.cdr.detectChanges()})};
g.doSearch=function(a){var b=this,c=this.getGridPreferencesDefaults(),d=this.gridPreferencesFetcher.fetch(c,a.then(function(){return{query:null!=b.resource.query?b.resource.query:null,displayColumn:b.resource.displayColumn,sortOrder:b.resource.sortOrder}}));a=d.searchPreferences.then(function(e){if(!e.query)return Promise.reject(null);e=b.getSearchParams(e);b.searchParams=e;e.trackerIds=b.appSearchState.currentTrackerScope;return PW(b.issuePagination,e)});a.catch(function(e){"number"===typeof e?b.goToPage(e):
e&&b.errorHandler.errorHandler(null,e)});return Ep({searchResultsPage:a,displayColumns:d.displayColumns}).then(function(e){var f=e.searchResultsPage;b.searchResults=f;b.page=f.params.page;b.sortPreferences=f.params.sortColumns||[];b.initialSortPreferences||(b.initialSortPreferences=Gj(b.sortPreferences));d.displayColumns.then(function(h){b.initColumns(h,b.getMetaColumns(f))});b.resultsLoaded.emit(b.searchResults.issues);b.timeout.schedule(function(){var h=b.issuePagination.focusedIssueIndex_;-1!=
h&&(b.focusedRowIndex=h-f.startIndex)})})};g.getGridPreferencesDefaults=function(){return{page:this.page,displayColumns:isc,sortColumns:[],query:"",resultsPerPage:25}};
g.save=function(){var a=this,b=this.issueColumns.slice((this.searchResults?this.getMetaColumns(this.searchResults):jsc).length);b=g3a(b).map(function(c){return new Em(c)});this.resource.displayColumn=b;b=this.sortPreferences.map(function(c){return{direction:c.direction,field:c.fieldId}});this.resource.sortOrder=b;WF(this.butterBar,"Saving changes to panel...");this.saveResource().then(function(){a.initialIssueColumns=Gj(a.issueColumns);a.initialSortPreferences=Gj(a.sortPreferences);a.cdr.detectChanges()})};
g.discardChanges=function(){this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"discardChanges");this.issueColumns=[].concat(r(this.initialIssueColumns||[]));if(this.initialSortPreferences&&!Fj(this.initialSortPreferences,this.sortPreferences)){Ia(this.sortPreferences);var a=this.initialSortPreferences;fu(oaa,this.sortPreferences,void 0,0).apply(null,a);this.refreshResults()}};
g.hasParamChanges=function(){return this.resource&&this.isEditable()?this.initialIssueColumns&&!Fj(this.initialIssueColumns,this.issueColumns)?!0:!!this.initialSortPreferences&&!Fj(this.initialSortPreferences,this.sortPreferences):!1};g.isEditable=function(){var a=this;return!!this.resource&&this.resource.adminUsers.some(function(b){return b.emailAddress===a.currentUserEmail})};g.getMetaColumns=function(){return jsc};
g.getSearchParams=function(a){a=Gj(a);a.resultsPerPage=10;a.page=this.page;this.sortPreferences.length&&(a.sortColumns=this.sortPreferences);a.returnUrl=this.bLocation.url();return a};
Xi.Object.defineProperties(N0.prototype,{issueColumns:{configurable:!0,enumerable:!0,get:function(){return this.issueColumnsInternal},set:function(a){Fj(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&&hsc(this)},
get:function(){return this.focusedRowIndexInternal}},isFocused:{configurable:!0,enumerable:!0,get:function(){return null!==this.focusedRowIndex}}});var jsc=[i0,j0,k0],isc="priority type title assignee status issueId modifiedTime".split(" ").map(Fm);N0.\u0275fac=function(a){return new (a||N0)(A(sH),A(MG),A(YF),A(Vt),A(VF),A(wH),A(OW),A(L0),A(NG),A(ZF),A(PK),A(FF),A(JM),A(Window),A(AX))};
N0.\u0275dir=qd({type:N0,viewQuery:function(a,b){a&1&&ih(f0,5);if(a&2){var c;hh(c=kh())&&(b.issuesGrid=c.first)}},inputs:{panel:"panel",isDashboardEditable:"isDashboardEditable",first:"first",last:"last",focusedRowIndex:"focusedRowIndex"},outputs:{focusedRowIndexChange:"focusedRowIndexChange",resultsLoaded:"resultsLoaded",selectionChange:"selectionChange"},features:[qg]});var O0=function(a,b){this.dialog=a;this.appEvents=b;this.last=this.first=!1};O0.prototype.removePanel=function(){var a=this;this.dialog.open({title:"Remove Item?",content:jp("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)}})};O0.\u0275fac=function(a){return new (a||O0)(A(UI),A(cG))};
O0.\u0275cmp=p({type:O0,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&&(E(0,
"div")(1,"button",0),H(2,"mat-icon",1),F(),E(3,"mat-menu",null,2),P(5,j7a,6,4,"ng-template",3),F()());if(a&2){var b=O(4);z(1);D("matMenuTriggerFor",b)}},dependencies:[yw,FC,DC,EC,CC,jB,tA],encapsulation:2});var P0=function(){};P0.\u0275fac=function(a){return new (a||P0)};P0.\u0275mod=od({type:P0});P0.\u0275inj=Wc({imports:[Mw,GC,OC,YC]});var Q0=function(){};Q0.prototype.getValue=function(){return this.row[this.column.name]||""};Q0.prototype.isCustomField=function(){return this.column.isCustomField};
Q0.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 Uj(a);Fj(this.customFieldValue,a)||(this.customFieldValue=a);return this.customFieldValue};Q0.\u0275fac=function(a){return new (a||Q0)};
Q0.\u0275cmp=p({type:Q0,selectors:[["pop-grid-default-cell"]],inputs:{row:"row",column:"column"},decls:2,vars:2,consts:[[4,"ngIf"],[3,"customFieldValue",4,"ngIf"],[3,"customFieldValue"]],template:function(a,b){a&1&&(P(0,k7a,2,2,"span",0),P(1,l7a,1,1,"b-custom-field-value-display",1));a&2&&(D("ngIf",!b.isCustomField()),z(1),D("ngIf",b.isCustomField()))},dependencies:[yw,rZ],encapsulation:2,changeDetection:0});var R0=function(){};R0.\u0275fac=function(a){return new (a||R0)};R0.\u0275mod=od({type:R0});R0.\u0275inj=Wc({imports:[Mw,ID,sZ]});kda(S_,[xw,yw,Dw,X_,Q0]);var S0=function(){};S0.\u0275fac=function(a){return new (a||S0)};S0.\u0275mod=od({type:S0});S0.\u0275inj=Wc({imports:[Mw,JN]});var T0=function(){};T0.\u0275fac=function(a){return new (a||T0)};T0.\u0275mod=od({type:T0});T0.\u0275inj=Wc({imports:[Mw,S0,IN]});var U0=function(){};U0.\u0275fac=function(a){return new (a||U0)};U0.\u0275mod=od({type:U0});U0.\u0275inj=Wc({imports:[a0,Mw,GC,fU,ID,YC,NA,$z,eO,OC,R0,QT,ST,IN,TT,XJ,VN,AU,T0,aO,vP,BU,qZ,JN,FP,$N]});var V0=function(a,b,c){this.hotlistsApi=a;this.butterBar=b;this.appEvents=c};
V0.prototype.repositionIssue=function(a,b,c,d,e,f){var h=this,l=b[0].position,q=l>b[1].position,u=b[c],x=b[d].position;saa(b,c,d);null==f||f();WF(this.butterBar,"Saving...",0);return this.hotlistsApi.repositionHotlistIssue(a,u.issueId,x).then(function(){for(var y=l,G=m(b),L=G.next();!L.done;L=G.next())L.value.position=y,y+=q?-1:1;null==f||f();WF(h.butterBar,"Saved issue position.",4E3);h.appEvents.hotlistChanged.next({hotlistId:a,origin:e});return h.hotlistsApi.get(a)})};
V0.\u0275fac=function(a){return new (a||V0)(n(ZG),n(VF),n(cG))};V0.\u0275prov=Vc({token:V0,factory:V0.\u0275fac,providedIn:"root"});var W0=function(a){this.buttonRef=a;this.toRefocus=!1};W0.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}))};W0.\u0275fac=function(a){return new (a||W0)(A(ke))};
W0.\u0275dir=qd({type:W0,selectors:[["button","disabled","","focusBack",""]],inputs:{disabled:"disabled"},features:[Hd]});var X0=function(){this.pageChange=new Rv;this.resultsPerPageChange=new Rv;this.resultsPerPageFixed=!1;this.resultsPerPageOptions=[10,25,50,100,250]};X0.prototype.nextPage=function(){this.searchResults&&this.pageChange.emit({page:this.searchResults.params.page+1})};var ksc=function(a){a.searchResults&&a.pageChange.emit({page:a.searchResults.params.page-1})};
Xi.Object.defineProperties(X0.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}})}}});X0.\u0275fac=function(a){return new (a||X0)};
X0.\u0275cmp=p({type:X0,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&&(E(0,"div",0),P(1,m7a,1,1,"b-actions-menu",1),P(2,n7a,6,3,"span",2),E(3,"button",3),K("click",function(){return ksc(b)})("keydown.enter",function(c){ksc(b);return c.stopPropagation()}),H(4,"mat-icon",4),F(),E(5,"button",5),K("click",function(){return b.nextPage()})("keydown.enter",function(c){b.nextPage();return c.stopPropagation()}),H(6,"mat-icon",6),F()());a&2&&(z(1),D("ngIf",b.searchResults&&0<b.searchResults.issues.length&&
!b.resultsPerPageFixed),z(1),D("ngIf",b.searchResults&&0<b.searchResults.issues.length),z(1),D("disabled",!(null==b.searchResults?0:b.searchResults.hasPreviousPage())),z(2),D("disabled",!(null==b.searchResults?0:b.searchResults.hasNextPage())))},dependencies:[yw,tA,jB,tL,W0],encapsulation:2});var Y0=function(){};Y0.\u0275fac=function(a){return new (a||Y0)};Y0.\u0275mod=od({type:Y0});Y0.\u0275inj=Wc({});var Z0=function(){};Z0.\u0275fac=function(a){return new (a||Z0)};Z0.\u0275mod=od({type:Z0});Z0.\u0275inj=Wc({imports:[Mw,YC,OC,iT,Y0]});var a1=function(a,b,c,d,e,f,h,l,q,u,x,y,G,L,M,T,S,X){N0.call(this,c,e,f,h,l,q,u,x,y,d,G,M,T,S,X);this.hotlists=a;this.hotlistApi=b;this.appEvents=L;this.resource=null};W(a1,N0);a1.\u0275dir=N0.\u0275dir;g=a1.prototype;g.ngOnInit=function(){N0.prototype.ngOnInit.call(this)};g.setSort=function(a,b){var c=this.getSort();"position"===a||c&&"position"===c.field?N0.prototype.setSort.call(this,a,b,!1):N0.prototype.setSort.call(this,a,b)};
g.loadResource=function(){var a=this,b=this.hotlistApi.get(this.hotlistId);b.then(function(c){a.resource=c;a.cdr.detectChanges()}).catch(function(c){a.errorHandler.errorHandler(null,c);a.resource=null});return b};
g.saveResource=function(){var a=this;if(this.resource)return this.hotlistApi.updateMetadata(this.hotlistId,this.resource).then(function(b){a.resource=b;a.appEvents.hotlistChanged.next({hotlistId:b.hotlistId,origin:"hotlist-panel"});WF(a.butterBar,'Saved changes to hotlist "'+b.name+'".');a.analytics.trackEvent(a.ANALYTICS_CATEGORY,"savedParams");a.cdr.detectChanges();return b}).catch(function(b){a.errorHandler.errorHandler(null,b);return Promise.reject(b)});XF(this.butterBar,"Hotlist is not set at this time.");
return Promise.resolve()};g.getGridPreferencesDefaults=function(){return Object.assign({},N0.prototype.getGridPreferencesDefaults.call(this),{query:"hotlistId:"+this.hotlistId})};g.getMetaColumns=function(a){a=a.params.sortColumns||[];return 0==a.length||1==a.length&&"POSITION"==a[0].fieldId.type?lsc:msc};g.getSearchParams=function(a){a=N0.prototype.getSearchParams.call(this,a);a.hotlistId=this.hotlistId;return a};
g.repositionIssue=function(a,b){var c=this;this.searchResults&&this.hotlists.repositionIssue(this.hotlistId,this.searchResults.issues,a,b,"hotlist-panel",function(){c.searchResults&&(c.searchResults=c.searchResults.clone())}).then(function(d){c.resource=d;c.analytics.trackEvent(c.ANALYTICS_CATEGORY,"issueDragDrop")})};a1.\u0275fac=function(a){return new (a||a1)(A(V0),A(ZG),A(sH,2),A(ZF),A(MG),A(YF),A(Vt),A(VF),A(wH),A(OW),A(L0),A(NG),A(PK),A(cG),A(FF),A(JM),A(EE),A(AX))};
a1.\u0275cmp=p({type:a1,selectors:[["b-hotlist-panel"]],inputs:{hotlistId:"hotlistId"},features:[Ug([sH]),qg],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&&(E(0,"div",0)(1,"div",1)(2,"div",2),P(3,o7a,2,0,"div",3),P(4,p7a,2,0,"div",3),P(5,s7a,8,5,"div",3),F(),P(6,t7a,5,0,"div",4),E(7,"b-pagination",5),
K("pageChange",function(c){return b.goToPage(c.page)}),F()(),P(8,z7a,4,3,"div",3),F());a&2&&(ug("aria-busy",b.isLoading),z(3),D("ngIf",!b.resource&&!b.isLoading),z(1),D("ngIf",!b.resource&&b.isLoading),z(1),D("ngIf",b.resource),z(1),D("ngIf",b.hasParamChanges()),z(1),D("searchResults",b.searchResults)("resultsPerPageFixed",!0),z(1),D("ngIf",b.resource))},dependencies:[yw,f0,tA,NC,X0,O0,zM],encapsulation:2});var msc=[i0,j0,k0,trc],lsc=[i0,src,j0,k0,trc],b1=function(){};
b1.\u0275fac=function(a){return new (a||b1)};b1.\u0275mod=od({type:b1});b1.\u0275inj=Wc({imports:[Mw,U0,YC,ID,Z0,P0,PP]});var c1=function(a,b,c,d,e,f,h,l,q,u,x,y,G,L,M,T){N0.call(this,b,d,e,f,h,l,q,u,x,c,y,G,L,M,T);this.savedSearchApi=a;this.resource=null};W(c1,N0);c1.\u0275dir=N0.\u0275dir;c1.prototype.ngOnInit=function(){N0.prototype.ngOnInit.call(this)};c1.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};c1.prototype.saveResource=function(){return Promise.resolve()};
c1.\u0275fac=function(a){return new (a||c1)(A(bU),A(sH,2),A(ZF),A(MG),A(YF),A(Vt),A(VF),A(wH),A(OW),A(L0),A(NG),A(PK),A(FF),A(JM),A(EE),A(AX))};
c1.\u0275cmp=p({type:c1,selectors:[["b-saved-search-panel"]],inputs:{savedSearchId:"savedSearchId"},features:[Ug([sH]),qg],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&&(E(0,"div",0)(1,"div",1)(2,"div",2),P(3,A7a,2,0,"div",3),P(4,B7a,2,0,"div",3),P(5,E7a,8,5,"div",4),F(),E(6,"b-pagination",5),K("pageChange",function(c){return b.goToPage(c.page)}),F()(),P(7,J7a,4,3,"div",3),F());a&2&&(ug("aria-busy",b.isLoading),z(3),D("ngIf",!b.resource&&!b.isLoading),z(1),D("ngIf",!b.resource&&b.isLoading),z(1),D("ngIf",b.resource),z(1),D("searchResults",b.searchResults)("resultsPerPageFixed",!0),z(1),D("ngIf",b.resource))},
dependencies:[yw,f0,NC,X0,O0,zM],encapsulation:2});var d1=function(){};d1.\u0275fac=function(a){return new (a||d1)};d1.\u0275mod=od({type:d1});d1.\u0275inj=Wc({imports:[Mw,U0,ID,Z0,P0,PP]});var e1=function(){};e1.\u0275fac=function(a){return new (a||e1)};e1.\u0275mod=od({type:e1});e1.\u0275inj=Wc({});var f1=function(){this.label="Team"};f1.prototype.ngOnInit=function(){};f1.\u0275fac=function(a){return new (a||f1)};
f1.\u0275cmp=p({type:f1,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&&(E(0,"div",0)(1,"span",1),P(2,K7a,3,3,"span",2),F()());a&2&&(ug("aria-label",b.label),z(2),D("ngForOf",b.teamPath))},dependencies:[xw,HG],encapsulation:2});var g1=function(){};g1.\u0275fac=function(a){return new (a||g1)};g1.\u0275mod=od({type:g1});g1.\u0275inj=Wc({imports:[Mw,LG,ZN]});var nsc=["form"],osc=["numberInput"],psc=/^\d+\.?\d*$/,qsc={DAYS:0,YEARS:1,0:"DAYS",1:"YEARS"},h1=function(){this.disabled=!1;this.ariaLabel="";this.durationDaysChange=new Rv;this.displayUnits=0;this.timeUnitEnum=qsc};
h1.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()})};h1.prototype.ngAfterViewInit=function(){};
h1.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))};h1.prototype.ngOnDestroy=function(){this.formSubscription&&this.formSubscription.unsubscribe()};h1.\u0275fac=function(a){return new (a||h1)};
h1.\u0275cmp=p({type:h1,selectors:[["b-duration-picker"]],viewQuery:function(a,b){a&1&&(ih(nsc,7),ih(osc,7));if(a&2){var c;hh(c=kh())&&(b.form=c.first);hh(c=kh())&&(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&&(E(0,"form",null,0)(2,"div",1)(3,"mat-form-field",2)(4,"mat-label"),Q(5," Custom Duration "),F(),E(6,"input",3,4),K("keydown",function(c){switch(c.key){case "-":case "e":case "E":c.preventDefault()}})("paste",function(c){var d=c.clipboardData.getData("Text");psc.test(d)||c.preventDefault()}),F()(),E(8,"mat-form-field",2)(9,"mat-select",5)(10,"mat-option",
6),Q(11,"days"),F(),E(12,"mat-option",6),Q(13,"year(s)"),F()()()()());a&2&&(z(6),D("ngModel",b.displayNumber)("disabled",b.disabled),ug("aria-label",b.ariaLabel),z(3),D("ngModel",b.displayUnits)("disabled",b.disabled),z(1),D("value",b.timeUnitEnum.DAYS),z(2),D("value",b.timeUnitEnum.YEARS))},dependencies:[ix,Qh,jx,ax,bx,rx,hx,fx,XA,VA,$A,lP,vA],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 i1=function(){};i1.\u0275fac=function(a){return new (a||i1)};i1.\u0275mod=od({type:i1});i1.\u0275inj=Wc({imports:[Mw,wx,aB,YA,mP,fV]});var j1=function(a,b,c){this.dialogRef=a;this.data=b;this.documentationLinks=c};j1.prototype.getDisablingFieldsHelpLink=function(){return this.documentationLinks.getDisablingFieldsHelpLink()};j1.prototype.onNoClick=function(){this.dialogRef.close(!1)};j1.\u0275fac=function(a){return new (a||j1)(A(FA),A(HA),A(SI))};
j1.\u0275cmp=p({type:j1,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&&(E(0,"h1",0),Q(1),F(),E(2,"div",1)(3,"p"),Q(4,
" The "),E(5,"strong"),Q(6),F(),Q(7," field will change state from "),E(8,"strong"),Q(9),F(),Q(10," to "),E(11,"strong"),Q(12),F(),Q(13,". "),F(),P(14,L7a,6,2,"p",2),E(15,"p"),Q(16,"Are you sure?"),F()(),E(17,"div",3)(18,"button",4),K("click",function(){return b.onNoClick()}),Q(19," Cancel "),F(),E(20,"button",5),Q(21," Confirm "),F()());a&2&&(z(1),R("Field State Change for ",b.data.fieldName,""),z(5),Sg(b.data.fieldName),z(3),Sg(b.data.oldFieldState),z(3),Sg(b.data.newFieldState),z(2),D("ngIf",b.data.noteText),
z(6),D("mat-dialog-close",!0))},dependencies:[yw,tA,JA,KA,LA,MA],styles:[".notice[_ngcontent-%COMP%]{font-weight:bold}"]});var rsc=["fieldStateMenuButton"],ssc=function(a){return{"mat-stroked-button":a}},k1=function(a){this.dialog=a;this.fieldName="";this.fieldState=1;this.confirmationDialog=this.enabledOnParent=!0;this.disabled=!1;this.fieldStateChange=new Rv;this.FieldStateProto=Yna;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."}};k1.prototype.ngOnInit=function(){this.updateMenuButton()};
k1.prototype.ngOnChanges=function(){this.updateMenuButton()};
var usc=function(a,b){b!==a.fieldState&&(a.confirmationDialog?tsc(a,b):(a.fieldState=b,a.updateMenuButton(),a.fieldStateChange.emit(b)))},tsc=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);DA(a.dialog.open(j1,{width:"500px",data:{fieldName:a.fieldName,oldFieldState:vsc(a,a.fieldState),newFieldState:vsc(a,b),noteText:e}})).pipe(Rf()).subscribe(function(f){f?
(a.fieldState=b,a.updateMenuButton(),a.fieldStateChange.emit(b),a.disabled=!0):a.focus()})};k1.prototype.updateMenuButton=function(){this.defaultLabel="Default ("+(this.enabledOnParent?this.msgs.visibleName:this.msgs.hiddenName)+")";this.menuLabel=vsc(this,this.fieldState)};var vsc=function(a,b){switch(b){case 1:return a.defaultLabel;case 2:return a.msgs.hiddenName;case 3:return a.msgs.visibleName;default:jj(b,"Unknown FieldState.")}};k1.prototype.focus=function(){this.disabled=!1;this.fieldStateMenuButton.nativeElement.focus()};
k1.\u0275fac=function(a){return new (a||k1)(A(IA))};
k1.\u0275cmp=p({type:k1,selectors:[["b-field-state-menu"]],viewQuery:function(a,b){a&1&&ih(rsc,5,ke);if(a&2){var c;hh(c=kh())&&(b.fieldStateMenuButton=c.first)}},inputs:{fieldName:"fieldName",fieldState:"fieldState",enabledOnParent:"enabledOnParent",confirmationDialog:"confirmationDialog",disabled:"disabled"},outputs:{fieldStateChange:"fieldStateChange"},features:[Hd],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&&(E(0,"div")(1,"button",0,1)(3,"div",2),H(4,"span",3)(5,"b-icon",4),F()()(),E(6,"mat-menu",null,5)(8,"div",6)(9,"div",7)(10,"button",8),K("click",function(){return usc(b,b.FieldStateProto.INHERIT)}),H(11,"b-icon",9),E(12,"div",10),Q(13),F(),E(14,"div",11),Q(15),F()()(),H(16,"mat-divider"),E(17,"button",12),K("click",function(){return usc(b,b.FieldStateProto.DISABLED)}),E(18,"div",13)(19,"div",
14),H(20,"b-icon",9),E(21,"div",10),Q(22),F(),E(23,"div",11),Q(24),F()()()(),E(25,"button",12),K("click",function(){return usc(b,b.FieldStateProto.ENABLED)}),E(26,"div",13)(27,"div",14),H(28,"b-icon",9),E(29,"div",10),Q(30),F(),E(31,"div",11),Q(32),F()()()()()());if(a&2){var c=O(7);z(1);D("ngClass",Xg(16,ssc,!b.disabled))("disabled",b.disabled)("matMenuTriggerFor",c);z(3);D("innerHTML",b.menuLabel,He);z(6);Fg("b-menu-item-checked",b.fieldState===b.FieldStateProto.INHERIT);z(3);R(" ",b.defaultLabel,
" ");z(2);R(" ",b.msgs.inheritDescription," ");z(2);Fg("b-menu-item-checked",b.fieldState===b.FieldStateProto.DISABLED);z(5);R(" ",b.msgs.hiddenName," ");z(2);R(" ",b.msgs.hiddenDescription," ");z(1);Fg("b-menu-item-checked",b.fieldState===b.FieldStateProto.ENABLED);z(5);R(" ",b.msgs.visibleName," ");z(2);R(" ",b.msgs.visibleDescription," ")}},dependencies:[ww,tA,AM,FC,DC,EC,GN],styles:[".field-state-menu[_ngcontent-%COMP%]{max-width:210px}.field-state-menu[_ngcontent-%COMP%]   button.mat-menu-item[_ngcontent-%COMP%]{height:auto;padding:5px 0px 5px 24px;white-space:normal}.field-state-menu[_ngcontent-%COMP%]   button.mat-menu-item[_ngcontent-%COMP%]   .item-checkmark[_ngcontent-%COMP%]{height:18px;line-height:0px;width:18px}.field-state-menu[_ngcontent-%COMP%]   button.mat-menu-item[_ngcontent-%COMP%]   .item-description[_ngcontent-%COMP%]{color:#5f6368;color:var(--muted)}.field-state-menu[_ngcontent-%COMP%]   button.mat-menu-item[_ngcontent-%COMP%]   .item-icon[_ngcontent-%COMP%]{display:block;margin:auto;width:18px}.field-state-menu[_ngcontent-%COMP%]   button.mat-menu-item[_ngcontent-%COMP%]   .item-title[_ngcontent-%COMP%]{line-height:normal}.field-state-menu-button-inner[_ngcontent-%COMP%]{align-items:center;display:inline-flex}.field-state-menu-button[disabled][_ngcontent-%COMP%]{border:none}.field-state-menu-button[disabled][_ngcontent-%COMP%]   .field-state-dropdown-icon[_ngcontent-%COMP%]{display:none}"]});var l1=function(){};l1.\u0275fac=function(a){return new (a||l1)};l1.\u0275mod=od({type:l1});l1.\u0275inj=Wc({imports:[Mw,YC,NA,fU,GC,eO,DT]});var m1=function(a,b){this.dialogRef=b;this.issueId=a.issueId;this.issueTitle=a.issueTitle};m1.prototype.close=function(){this.dialogRef.close(!1)};m1.\u0275fac=function(a){return new (a||m1)(A(HA),A(FA))};
m1.\u0275cmp=p({type:m1,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&&(E(0,"h1",0),Q(1,"Unsubscribe From Issue"),F(),E(2,"mat-dialog-content")(3,"div",1),Q(4," Are you sure you would like to unsubscribe from the following issue? "),
F(),H(5,"br"),E(6,"div",2)(7,"a",3)(8,"span"),Q(9),F()(),Q(10," - "),E(11,"span"),Q(12),F()(),H(13,"br"),E(14,"div",1),Q(15," By unsubscribing, you will no longer receive email updates about this issue. "),F()(),E(16,"mat-dialog-actions")(17,"button",4),K("click",function(){return b.close()}),Q(18," Cancel "),F(),E(19,"button",5),K("click",function(){b.dialogRef.close(!0)}),Q(20," Unsubscribe "),F()());a&2&&(z(7),Pg("href","/issues/",b.issueId,"",Ie),z(2),R("b/",b.issueId,""),z(3),Sg(b.issueTitle))},
dependencies:[KA,LA,MA,tA],encapsulation:2});var wsc=function(a,b){return{small:a,medium:b}},xsc=function(a){return{black:a}},n1=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 Rv;this.showNotificationSettings=new Rv;this.menuLabel="Default";this.menuIcon="notifications_none_24px";this.isAnonymous=this.activeSession.isAnonymous();this.subscriptionInternal="UNKNOWN_SUBSCRIPTION";this.NotificationSubscription=xSb;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"}]])};n1.prototype.ngOnInit=function(){ysc(this)};n1.prototype.ngOnChanges=function(){this.updateMenuButton()};n1.prototype.updateSubscription=function(a){a!==this.subscriptionInternal&&this.subscriptionChange.emit(a)};n1.prototype.updateMenuButton=function(){var a=this.subscriptions.get(this.subscriptionInternal);a&&(this.menuLabel=a.label,this.menuIcon=a.icon)};
var ysc=function(a){var b,c;of(function(d){if(1==d.nextAddress)return"true"!==a.routeParams.unsubscribe||a.subscription&&"UNSUBSCRIBED"===a.subscription?d.return():d.yield((0,C.firstValueFrom)(a.issueFridge.watch(a.issueId)),2);if(3!=d.nextAddress)return(b=d.yieldResult)?d.yield((0,C.firstValueFrom)(DA(a.matDialogService.open(m1,{width:"400px",data:{issueId:a.issueId,issueTitle:b.snapshot[0].title}}))),3):d.return();if(c=d.yieldResult)a.updateSubscription("UNSUBSCRIBED"),a.analytics.trackEvent(Mp.EDIT_ISSUE,
"unsubscribeUsingDialog");tf(d)})};Xi.Object.defineProperties(n1.prototype,{subscription:{configurable:!0,enumerable:!0,set:function(a){null!=a&&(this.subscriptionInternal=a)},get:function(){return this.subscriptionInternal}}});n1.\u0275fac=function(a){return new (a||n1)(A(Vt),A(IA),A(BH),A(wH),A(yJ))};
n1.\u0275cmp=p({type:n1,selectors:[["b-notification-menu"]],inputs:{subscription:"subscription",iconOnly:"iconOnly",issueId:"issueId"},outputs:{subscriptionChange:"subscriptionChange",showNotificationSettings:"showNotificationSettings"},features:[Hd],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=t();E(0,"div")(1,"button",0)(2,"div",1);H(3,"b-icon",2);P(4,M7a,3,1,"ng-container",
3);F()()();E(5,"mat-menu",null,4)(7,"div",5)(8,"div",6)(9,"button",7);K("click",function(){return b.updateSubscription(b.NotificationSubscription.UNKNOWN_SUBSCRIPTION)});H(10,"b-icon",8);E(11,"div",9);Q(12," Default ");F();E(13,"div",10);Q(14," receive emails based on your default settings. ");F()();H(15,"mat-divider",11);E(16,"button",12);K("click",function(h){return b.showNotificationSettings.emit(h)});H(17,"b-icon",13);F()();H(18,"mat-divider");E(19,"div",14)(20,"button",15);K("click",function(){return b.updateSubscription(b.NotificationSubscription.SUBSCRIBED_ALL_UPDATES)});
E(21,"div",16);H(22,"b-icon",8);E(23,"div",9);Q(24," All Updates ");F();E(25,"div",10);Q(26," receive emails for major and minor updates. ");F()()();E(27,"button",17);K("click",function(){return b.updateSubscription(b.NotificationSubscription.SUBSCRIBED_ALL_UPDATES)})("focus",function(){v(c);var h=O(29);return w(h.toggle(!0))})("blur",function(){v(c);var h=O(29);return w(h.toggle(!1))});E(28,"xap-bubble",18,19);H(30,"mat-icon",20);P(31,N7a,13,0,"ng-template",null,21,qh);F()()();E(33,"div",14)(34,
"button",22);K("click",function(){return b.updateSubscription(b.NotificationSubscription.SUBSCRIBED_MAJOR_UPDATES)});E(35,"div",16);H(36,"b-icon",8);E(37,"div",9);Q(38," Major Updates ");F();E(39,"div",10);Q(40," receive emails for major updates only. ");F()()();E(41,"button",17);K("click",function(){return b.updateSubscription(b.NotificationSubscription.SUBSCRIBED_MAJOR_UPDATES)})("focus",function(){v(c);var h=O(43);return w(h.toggle(!0))})("blur",function(){v(c);var h=O(43);return w(h.toggle(!1))});
E(42,"xap-bubble",18,23);H(44,"mat-icon",20);P(45,O7a,15,0,"ng-template",null,24,qh);F()()();E(47,"button",25);K("click",function(){return b.updateSubscription(b.NotificationSubscription.SUBSCRIBED_CLOSURE_ONLY)});E(48,"div",14)(49,"div",16);H(50,"b-icon",8);E(51,"div",9);Q(52," Closure Only ");F();E(53,"div",10);Q(54," only receive emails when the issue is closed. ");F()()()();E(55,"button",25);K("click",function(){return b.updateSubscription(b.NotificationSubscription.UNSUBSCRIBED)});E(56,"div",
14)(57,"div",16);H(58,"b-icon",8);E(59,"div",9);Q(60," None ");F();E(61,"div",10);Q(62," unsubscribe from further email updates. ");F()()()()()()}if(a&2){var d=O(6),e=O(32),f=O(46);z(1);Fg("icon-only",b.iconOnly);D("ngClass",Yg(26,wsc,b.iconOnly,!b.iconOnly))("matMenuTriggerFor",d)("disabled",b.isAnonymous);ug("aria-label","Notifications Menu, current value is "+b.subscriptions.get(b.subscriptionInternal||"UNKNOWN_SUBSCRIPTION").label);z(2);D("name",b.menuIcon)("ngClass",Xg(29,xsc,"notifications-off"===
b.menuIcon));z(1);D("ngIf",!b.iconOnly);z(5);Fg("b-menu-item-checked",b.subscriptionInternal===b.NotificationSubscription.UNKNOWN_SUBSCRIPTION);z(6);D("vertical",!0);z(5);Fg("b-menu-item-checked",b.subscriptionInternal===b.NotificationSubscription.SUBSCRIBED_ALL_UPDATES);z(7);ug("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);D("panelTemplate",e)("overlayPositions",b.bubblePosition);z(6);Fg("b-menu-item-checked",b.subscriptionInternal===b.NotificationSubscription.SUBSCRIBED_MAJOR_UPDATES);z(7);ug("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);D("panelTemplate",f)("overlayPositions",b.bubblePosition);z(5);Fg("b-menu-item-checked",b.subscriptionInternal===b.NotificationSubscription.SUBSCRIBED_CLOSURE_ONLY);
z(8);Fg("b-menu-item-checked",b.subscriptionInternal===b.NotificationSubscription.UNSUBSCRIBED)}},dependencies:[ww,yw,tA,AM,FC,DC,EC,GN,pP,jB],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 o1=function(){};o1.\u0275fac=function(a){return new (a||o1)};o1.\u0275mod=od({type:o1});o1.\u0275inj=Wc({imports:[Mw,YC,fU,GC,eO,DT,uP,OC]});var p1=function(a,b){this.sloApi=a;this.cdr=b;this.isDisabled=!1;this.dropdownChoices=null;this.onSloSelect=new Rv;this.internalBoundId=this.selectedSlo=null;this.lastProcessedIndex=-1;this.requestIndex=0},zsc=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()};
p1.prototype.displayFn=function(a){return(null==a?void 0:a.name)||(null==a?void 0:a.sloId)||""};p1.prototype.updateSelectionOnChange=function(a){if(a=a.option.value)this.boundId=a.sloId;this.onSloSelect.emit(a);this.cdr.detectChanges()};
Xi.Object.defineProperties(p1.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)}}});p1.\u0275fac=function(a){return new (a||p1)(A(LT),A(sH,2))};
p1.\u0275cmp=p({type:p1,selectors:[["slo-picker"]],inputs:{isDisabled:["bv2Disabled","isDisabled"],placeholder:["bv2Placeholder","placeholder"],boundId:"boundId"},outputs:{onSloSelect:"onSloSelect"},features:[Ug([sH])],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=t();E(0,"div",0)(1,"input",1,2);K("ngModelChange",function(e){return b.selectedSlo=e})("click",function(){v(c);var e=O(2);return w(zsc(b,e.value))})("input",function(){v(c);var e=O(2);return w(zsc(b,e.value))});F();E(3,"mat-autocomplete",3,4);K("optionSelected",function(e){return b.updateSelectionOnChange(e)});P(5,P7a,2,2,"mat-option",5);F()()}if(a&
2){var d=O(4);z(1);D("placeholder",b.placeholder)("ngModel",b.selectedSlo)("disabled",b.isDisabled)("matAutocomplete",d);z(2);D("displayWith",b.displayFn);z(2);D("ngForOf",b.dropdownChoices)}},dependencies:[xw,KP,JP,vA,Qh,ax,hx],encapsulation:2});var q1=function(){};q1.\u0275fac=function(a){return new (a||q1)};q1.\u0275mod=od({type:q1});q1.\u0275inj=Wc({imports:[Mw,LP,wx]});var Asc=function(a){return{"empty-list-field-indication":a}},r1=function(a){this.documentationLinks=a;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.issueRetentionDisabled=!1;this.modelChange=new Rv;this.validChange=new Rv;this.RetentionSelection=DSb};
r1.prototype.ngOnInit=function(){this.initialModel?this.model=this.initialModel:this.model={retentionSelection:"UNSPECIFIED_RETENTION",retentionPeriodDays:null,piiRetentionSelection:"UNSPECIFIED_RETENTION",piiRetentionPeriodDays:null,spiiRetentionPeriodDays:null};Dr(this)};r1.prototype.updateSelectionOnChange=function(a){this.model.retentionSelection=a;this.model.retentionPeriodDays=null;this.modelChange.emit(this.model);Dr(this)};
var Dr=function(a){var b=a.validChange,c=b.emit,d;if(d=Er(a))d=a.hasRetentionSelection(a.model.piiRetentionSelection)&&(a.model.piiRetentionSelection!==a.RetentionSelection.BUGANIZER_DEFAULT||!Bsc(a))&&(a.model.piiRetentionSelection!==a.RetentionSelection.CUSTOM_PERIOD||Csc(a));c.call(b,d)};r1.prototype.hasRetentionSelection=function(a){return a&&a!==this.RetentionSelection.UNSPECIFIED_RETENTION};
var Er=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)},R7a=function(a){return a?Iwa(a):"[unset period]"},Csc=function(a){if(!a.model.piiRetentionPeriodDays||!a.model.spiiRetentionPeriodDays||30>a.model.piiRetentionPeriodDays||30>a.model.spiiRetentionPeriodDays)return!1;var b=a.model.retentionSelection,c=a.model.retentionPeriodDays,
d=a.model.piiRetentionPeriodDays;return a.model.spiiRetentionPeriodDays>d||b===a.RetentionSelection.BUGANIZER_DEFAULT&&3650<d||b===a.RetentionSelection.CUSTOM_PERIOD&&(null==c||d>c)?!1:!0},V7a=function(a){if(!Er(a)||Csc(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 "+R7a(e):"Restricted+ retention must not exceed Restricted retention."},Bsc=function(a){return a.model.retentionSelection===a.RetentionSelection.CUSTOM_PERIOD&&(!a.model.retentionPeriodDays||60>a.model.retentionPeriodDays)},Y7a=function(a){var b=a.model.piiRetentionSelection,c=a.model.piiRetentionPeriodDays,d=a.model.retentionSelection,e=a.model.retentionPeriodDays;d=b===a.RetentionSelection.INDEFINITE_RETENTION&&(d===a.RetentionSelection.INDEFINITE_RETENTION||
d===a.RetentionSelection.BUGANIZER_DEFAULT||d===a.RetentionSelection.CUSTOM_PERIOD&&!!e&&120<e);return b===a.RetentionSelection.CUSTOM_PERIOD&&!!c&&120<c||d};r1.\u0275fac=function(a){return new (a||r1)(A(SI))};
r1.\u0275cmp=p({type:r1,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&&(E(0,"mat-radio-group",0),K("ngModelChange",function(c){return b.updateSelectionOnChange(c)}),E(1,"p")(2,"b"),Q(3,"Issue Retention"),F()(),E(4,"mat-radio-button",1),Q(5," Buganizer default retention period (for minimal or no PII/SPII): 10 years "),F(),E(6,"mat-radio-button",2),Q(7," Custom retention period "),P(8,Q7a,2,0,"span",3),P(9,S7a,4,
3,"div",4),F(),E(10,"mat-radio-button",5),Q(11),P(12,T7a,13,0,"div",6),F()(),E(13,"mat-radio-group",7),K("ngModelChange",function(c){b.model.piiRetentionSelection=c;b.model.piiRetentionPeriodDays=null;b.model.spiiRetentionPeriodDays=null;b.modelChange.emit(b.model);Dr(b)}),E(14,"p"),H(15,"br"),E(16,"b"),Q(17,"Restricted Comments/Attachments Retention "),F(),E(18,"a",8),Q(19,"Learn more "),F()(),E(20,"mat-radio-button",1),Q(21," Buganizer default retention period : 60 days "),P(22,U7a,2,0,"span",3),
F(),E(23,"mat-radio-button",9),Q(24," Custom retention period "),P(25,W7a,2,1,"span",3),P(26,Z7a,16,7,"div",4),F(),E(27,"mat-radio-button",5),Q(28," Match Issue Retention "),P(29,$7a,3,0,"div",10),F()());a&2&&(D("ngClass",Xg(28,Asc,b.model.retentionSelection===b.RetentionSelection.UNSPECIFIED_RETENTION))("disabled",b.issueRetentionDisabled)("name","retentionForm")("ngModel",b.model.retentionSelection),z(4),D("value",b.RetentionSelection.BUGANIZER_DEFAULT),z(2),D("value",b.RetentionSelection.CUSTOM_PERIOD),
z(2),D("ngIf",b.model.retentionSelection===b.RetentionSelection.CUSTOM_PERIOD&&!(b.model.retentionPeriodDays&&30<=b.model.retentionPeriodDays&&3650>=b.model.retentionPeriodDays)),z(1),D("ngIf",b.model.retentionSelection===b.RetentionSelection.CUSTOM_PERIOD),z(1),D("disabled",b.isExternal)("value",b.RetentionSelection.INDEFINITE_RETENTION),z(1),R(" Indefinite retention period ",b.isExternal?"(Internal components only)":""," "),z(1),D("ngIf",b.model.retentionSelection===b.RetentionSelection.INDEFINITE_RETENTION),
z(1),D("ngClass",Xg(30,Asc,b.model.retentionSelection===b.RetentionSelection.UNSPECIFIED_RETENTION))("disabled",b.issueRetentionDisabled)("name","piiRetentionForm")("ngModel",b.model.piiRetentionSelection),z(5),D("rel",b.EXTERNAL_LINK_REL),ug("href",b.documentationLinks.getRestrictedAccessHelpLink(),Ie),z(2),D("value",b.RetentionSelection.BUGANIZER_DEFAULT),z(2),D("ngIf",b.model.piiRetentionSelection===b.RetentionSelection.BUGANIZER_DEFAULT&&Bsc(b)),z(1),D("aria-label","Custom Retention Period,"+
V7a(b))("disabled",!Er(b))("value",b.RetentionSelection.CUSTOM_PERIOD),z(2),D("ngIf",b.model.piiRetentionSelection===b.RetentionSelection.CUSTOM_PERIOD&&!Csc(b)),z(1),D("ngIf",b.model.piiRetentionSelection===b.RetentionSelection.CUSTOM_PERIOD),z(1),D("disabled",b.isExternal)("value",b.RetentionSelection.INDEFINITE_RETENTION),z(2),D("ngIf",b.model.piiRetentionSelection===b.RetentionSelection.INDEFINITE_RETENTION&&Y7a(b)))},dependencies:[ww,yw,ax,hx,DN,EN,h1],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 s1=function(){};s1.\u0275fac=function(a){return new (a||s1)};s1.\u0275mod=od({type:s1});s1.\u0275inj=Wc({imports:[Mw,wx,iO,i1]});var Dsc=function(){this.type="component";this.includeChildren=!1},Esc=function(){this.type="tracker"},Fsc=function(){this.type="team";this.includeChildren=!1},Gsc=function(){this.type="hotlist"},Hsc=function(){this.type="savedsearch"},Isc=function(){this.type="customfield"};var Jsc=function(a,b){this.query=a;this.cursorIdx=b;this.label=null;this.value={val:"",idx:0};this.value.idx=b},Ksc="componentid c hotlistid h savedsearchid teamid trackerid".split(" "),Lsc=Ksc.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(" ")),
Msc="cl deleted deletionreason deletiontime effortlabel nearestslo postmortem teamid".split(" "),Nsc="(?:\\s|^)(-?)(customfield\\d+|"+Lsc.join("|")+")(:|>|<|>=|<=|=)";var t1=function(a,b,c,d,e,f,h,l,q){Z.call(this);var u=this;this.userApi=a;this.trackerFridge=b;this.currentTracker=c;this.customFieldsApi=d;this.hotlistApi=e;this.savedSearchApi=f;this.componentActions=h;this.teamsService=l;this.activeSession=q;this.query="";this.requestIndex=0;this.producers=[{match:function(x){return Osc(u,x)}},{updateHeader:function(x){return Psc(u,x)}},{updateHeader:function(x){return Qsc(u,x)}},{updateHeader:function(x){return Rsc(u,x)}},{updateHeader:function(x){return Ssc(u,
x)}},{updateHeader:function(x){return Tsc(u,x)}},{updateHeader:function(x){return Usc(u,x)}}];this.currentSearchContext=null;this.items=[];this.acHeader=null;this.acRefreshed$=new C.Subject;this.refreshRequest$=new C.Subject;this.refreshRequest$.pipe(Nf(250),dg(this.destroyed$)).subscribe(function(x){Vsc(u,x.currentRequestIndex,x.currentSearchContext)});this.sessionIsInternal=q.isInternalSession();a=new Set(Lsc);DE(q,"enableSearchAndNotificationsForCollaborators")||(a.delete("collaborator"),a.delete("collaboratorcount"));
this.sessionIsInternal||a.delete("mention");if(!this.sessionIsInternal)for(q=m(Msc),b=q.next();!b.done;b=q.next())a.delete(b.value);this.isTrackerSearchEnabled()||a.delete("trackerid");this.atoms=Object.freeze(a);this.atomsWithoutOp=Object.freeze(new Set(["customfield"]))};W(t1,Z);t1.\u0275dir=Z.\u0275dir;t1.prototype.isTrackerSearchEnabled=function(){return this.currentTracker.enableTrackers&&!this.currentTracker.inTracker};
var Vsc=function(a,b,c){for(var d=!1,e=!1,f=[],h=m(a.producers),l=h.next();!l.done;l=h.next())l=l.value,l.match&&f.push(l.match(c).then(function(q){d||(d=!0,a.items=[]);b<a.requestIndex||a.items.push.apply(a.items,r(q))}).catch(function(q){return q})),l.updateHeader&&f.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(f).finally(function(){d||(a.items=[]);e||(a.acHeader=null);a.acRefreshed$.next()})},Osc=
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 Wsc(a,b);switch(b.label.val){case "archived":return Promise.resolve(Hr(Xsc,b.value,!0));case "componentid":case "c":return Ysc(a,b);case "deleted":return Zsc(b);case "deletionreason":return Promise.resolve(Hr($sc,b.value,!0));case "hotlistid":case "h":return atc(a,b);case "savedsearchid":return btc(a,b);case "status":case "is":return Promise.resolve(Hr(ctc,
b.value,!0));case "trackerid":return dtc(a,b);case "teamid":return etc(a,b);case "type":case "t":return a.matchType(b);case "priority":case "p":return Promise.resolve(Hr(ftc,b.value,!0));case "severity":case "s":return Promise.resolve(Hr(gtc,b.value,!0));case "inprod":case "star":case "mute":return Zsc(b);default:return Promise.reject(null)}}if(!b.value.val)return Promise.reject(null);c=[];for(var d=b8a(b.value.val),e=m(a.atoms),f=e.next();!f.done;f=e.next())if(f=f.value,d.token!==f&&Nj(f,d.token)){var h=
b.value.idx+(d.negated?1:0);h={type:"atom",startIdx:h,endIdx:h+b.value.val.length,completionValue:f+(a.atomsWithoutOp.has(f)?"":":"),enableShadowPlaceholder:!0};h={trackId:"atom:"+f,name:f,completionCfg:h};"customfield"===f&&(h.name="customfield[id]:[value]");c.push(h)}c.sort(function(l,q){return Lr(l.name,q.name)});return Promise.resolve(c)},Wsc=function(a,b){return b.label&&b.label.customFieldId?a.customFieldsApi.get(b.label.customFieldId).then(function(c){if("ENUM"!==c.type||!c.allowedValue)return[];
var d=c.allowedValue.map(function(e){return{trackId:"customfieldvalue:"+e,id:e,label:"Custom field "+c.name,name:e,completionCfg:{type:"customfieldvalue",completionValue:'"'+e+'"'}}});return Hr(d,b.value,!1,!1)}):Promise.reject(null)};t1.prototype.matchType=function(a){return Promise.resolve(Hr(htc,a.value,!0))};
var Zsc=function(a){if(!a.label)return Promise.reject(null);var b=a.label.val;return Promise.resolve(Hr([{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))},Ysc=function(a,b){var c=b.value.val;return!c||Gr(c,!0)?Promise.reject(null):a.componentActions.search(c,!1).then(function(d){return a.processResponse(b,
d)})};
t1.prototype.processResponse=function(a,b){var c=a.value.val,d=[],e={};b=m(b);for(var f=b.next();!f.done;e={$jscomp$loop$prop$paths$2296:e.$jscomp$loop$prop$paths$2296,$jscomp$loop$prop$startIdx$2297:e.$jscomp$loop$prop$startIdx$2297,$jscomp$loop$prop$endIdx$2298:e.$jscomp$loop$prop$endIdx$2298},f=b.next()){f=f.value;var h=f.componentId;e.$jscomp$loop$prop$startIdx$2297=a.value.idx;e.$jscomp$loop$prop$endIdx$2298=e.$jscomp$loop$prop$startIdx$2297+c.length;e.$jscomp$loop$prop$paths$2296=oL(this.currentTracker,f.componentPathInfo);
f={componentId:h,name:f.name,description:f.description,trackId:"component:"+h,accessLimit:f.accessLimit,trackerId:f.trackerId,completionCfg:{type:"component",startIdx:e.$jscomp$loop$prop$startIdx$2297,endIdx:e.$jscomp$loop$prop$endIdx$2298,completionValue:""+h,matchingString:c},componentPath:e.$jscomp$loop$prop$paths$2296.componentPathId.map(function(l){return function(q,u){return{trackId:"subcomponent:"+q,id:""+q,name:String(l.$jscomp$loop$prop$paths$2296.componentPathName[u]),completionCfg:{type:"component",
completionValue:String(q),startIdx:l.$jscomp$loop$prop$startIdx$2297,endIdx:l.$jscomp$loop$prop$endIdx$2298}}}}(e))};d.push(f)}return d};
var etc=function(a,b){var c=b.value.val;if(!a.sessionIsInternal||!c||Gr(c,!0))return Promise.reject(null);var d=Tn();QH(a.teamsService,c).pipe(dg(a.destroyed$)).subscribe(function(e){var f=b.value.idx,h=f+c.length,l=[],q={};e=m(e.getTeamSuggestionsList());for(var u=e.next();!u.done;q={$jscomp$loop$prop$pathNames$2300:q.$jscomp$loop$prop$pathNames$2300},u=e.next())u=u.value,q.$jscomp$loop$prop$pathNames$2300=u.getPathNamesList(),u={trackId:"team:"+u.getId(),name:u.getName(),id:u.getId(),label:"Team "+
u.getId(),pathIds:u.getPathIdsList(),pathNames:u.getPathNamesList(),description:u.getDescription(),completionCfg:{type:"team",startIdx:f,endIdx:h,completionValue:String(u.getId()),matchingString:c},teamPath:u.getPathIdsList().map(function(x){return function(y,G){return{trackId:"team:"+y,id:y,name:x.$jscomp$loop$prop$pathNames$2300[G],completionCfg:{type:"team",completionValue:String(y),startIdx:f,endIdx:h}}}}(q))},l.push(u);d.resolve(l)},function(){d.reject()});return d.promise},Psc=function(a,b){if(!b.label||
"componentid"!==b.label.val&&"c"!==b.label.val)return Promise.reject(null);var c=new Dsc;b=b.value.val;return Gr(b,!0)?(hu(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)},Ssc=function(a,b){if(!a.isTrackerSearchEnabled()||!b.label||"trackerid"!==b.label.val)return Promise.reject(null);var c=new Esc,d=Tn();b=b.value.val;
Gr(b)?a.trackerFridge.watchOne(b).pipe(dg(a.destroyed$)).subscribe(function(e){c.tracker=e;d.resolve(c)}):b&&d.resolve(c);return d.promise},Usc=function(a,b){if(!a.sessionIsInternal||!b.label||"teamid"!==b.label.val)return Promise.reject(null);var c=new Fsc,d=Tn(),e=b.value.val;Gr(e,!0)?(hu(e,"+")&&(e=e.slice(0,e.length-1),c.includeChildren=!0),QH(a.teamsService,e).pipe(dg(a.destroyed$)).subscribe(function(f){f=f.getTeamSuggestionsList();0<f.length?(f=f[0],c.team={pathNames:f.getPathNamesList(),name:f.getName(),
description:f.getDescription()}):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},Qsc=function(a,b){if(!b.label||"hotlistid"!==b.label.val&&"h"!==b.label.val)return Promise.reject(null);var c=new Gsc;b=b.value.val;return Gr(b)?a.hotlistApi.get(b).then(function(d){c.hotlist=d;return c}):b?Promise.reject(null):Promise.resolve(c)},Rsc=function(a,b){if(!b.label||"savedsearchid"!==b.label.val)return Promise.reject(null);
var c=new Hsc;b=b.value.val;return Gr(b)?a.savedSearchApi.get(b).then(function(d){c.savedSearch=d;return c}):b?Promise.reject(null):Promise.resolve(c)},Tsc=function(a,b){if(b.label&&b.label.customFieldId)var c=b.label.customFieldId;else if(Nj(b.value.val,"customfield"))(b=b.value.val.match("^customfield(\\d+)"))&&(c=b[1]),So("search-usage","customfield");else return Promise.reject(null);var d=new Isc;return c?a.customFieldsApi.get(c).then(function(e){d.customField=e;return d}):Promise.resolve(d)},
dtc=function(a,b){var c=b.value.val;if(!a.isTrackerSearchEnabled()||!c||Gr(c,!0))return Promise.reject(null);var d=Tn();a.trackerFridge.watchMany({filter:c,pageSize:5}).pipe(dg(a.destroyed$)).subscribe(function(e){var f=b.value.idx,h=f+c.length,l=[];e=m(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:f,endIdx:h,completionValue:q.trackerId,matchingString:c}});
d.resolve(l)});return d.promise},atc=function(a,b){return Gr(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 Hr(c,b.value,!1,!0)})},btc=function(a,b){return Gr(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 Hr(c,b.value,!1,!0)})};t1.\u0275fac=function(a){return new (a||t1)(n(dH),n(WH),n(mL),n(J0),n(ZG),n(bU),n(hV),n(PH),n(Vt))};t1.\u0275prov=Vc({token:t1,factory:t1.\u0275fac,providedIn:"root"});
var ctc="accepted assigned closed duplicate fixed infeasible intended_behavior new not_reproducible obsolete open verified".split(" ").map(function(a){return Ir(a,"status","Status","status")}),htc="bug customer_issue feature_request internal_cleanup process vulnerability privacy_issue project feature milestone epic story task".split(" ").map(function(a){return Ir(a,"bugType","Type","type")}),ftc=["p0","p1","p2","p3","p4"].map(function(a){return Ir(a,"priority","Priority","priority")}),gtc=["s0","s1",
"s2","s3","s4"].map(function(a){return Ir(a,"severity","Severity","severity")}),Xsc=["all","true","false"].map(function(a){return Ir(a,"archived","Archived","archived")}),$sc=["abuse","pii","user_request","retention"].map(function(a){return Ir(a,"deletionReason","Deletion Reason","deletionreason")});var u1=function(a){this.cdr=a;this.optionsChange=new Rv};u1.prototype.ngOnInit=function(){c8a(this)};
var c8a=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},d8a=function(a){a.validator&&(a.errorString=a.validator(),a.cdr.detectChanges())},itc=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);d8a(a)},jtc=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(", ")};u1.\u0275fac=function(a){return new (a||u1)(A(sH,2))};
u1.\u0275cmp=p({type:u1,selectors:[["slo-element-property-picker"]],inputs:{selectAllText:"selectAllText",validator:"validator",options:"options"},outputs:{optionsChange:"optionsChange"},features:[Ug([sH])],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&&(E(0,"div")(1,"button",
0)(2,"div",1)(3,"span",2),Q(4),Q(5," \u00a0 "),F(),H(6,"mat-icon",3),F()(),E(7,"mat-menu",null,4)(9,"div",5),K("click",function(d){return itc(b,d)}),E(10,"mat-checkbox",6),K("change",function(d){b.selectAllValue=d.checked;return itc(b)}),Q(11),F()(),H(12,"mat-divider"),P(13,e8a,4,3,"div",7),U(14,"keyvalue"),F(),P(15,f8a,2,1,"div",8),F());if(a&2){var c=O(8);z(1);Fg("ng-invalid",!!b.errorString);D("matMenuTriggerFor",c);z(3);R(" ",jtc(b)," ");z(5);ug("aria-checked",b.selectAllValue);z(1);D("checked",
!!b.selectAllValue)("indeterminate",null===b.selectAllValue);z(1);R(" ",b.selectAllText," ");z(2);D("ngForOf",V(14,10,b.options.propertyValues));z(2);D("ngIf",!!b.errorString)}},dependencies:[xw,yw,DO,FC,DC,EC,AM,tA,jB,Jw],styles:["[_nghost-%COMP%]   .gmat-button[_ngcontent-%COMP%] {padding: 0 10px;}\n[_nghost-%COMP%]   .bv2-property-picker-summary-text[_ngcontent-%COMP%] {text-align: left;}"]});
var ktc=function(a,b){this.displayString=a;this.value=b},ltc=function(a){this.propertyValues=a},mtc=function(a){for(var b=m(Object.keys(a.propertyValues)),c=b.next();!c.done;c=b.next())if(a.propertyValues[c.value].value)return!0;return!1},H8a=function(a){for(var b=m(Object.keys(a.propertyValues)),c=b.next();!c.done;c=b.next())if(!a.propertyValues[c.value].value)return!1;return!0};ltc.prototype.setAll=function(a){for(var b in this.propertyValues)this.propertyValues[b].value=a};var v1=function(){};v1.\u0275fac=function(a){return new (a||v1)};v1.\u0275mod=od({type:v1});v1.\u0275inj=Wc({imports:[Mw,iP,GC,fU,YC,OC]});var ntc=function(a,b){this.name=a;this.secondsPerUnit=b},Jr=new ntc("minute",60),Kr=new ntc("hour",3600),m8a=new ntc("day",86400),w1=function(){this.errorString=null;this.objectiveDurationChange=new Rv;this.objectiveBusinessDaysChange=new Rv;this.intervalUnit=m8a};w1.prototype.ngOnInit=function(){otc(this)};w1.prototype.ngOnChanges=function(a){[a.objectiveBusinessDays,a.objectiveDuration,a.dayType].some(function(b){return b&&!b.isFirstChange()})&&otc(this)};
var i8a=function(a,b){b=b.name;1!==Lj(a.intervalString)&&(b+="s");return b},otc=function(a){2!=a.dayType&&ptc(a,m8a)||ptc(a,Kr)||ptc(a,Jr);if(0!=a.objectiveBusinessDays||""!=a.businessDayString)a.businessDayString=""+a.objectiveBusinessDays},ptc=function(a,b){var c=a.objectiveDuration.getSeconds();return 0==c%b.secondsPerUnit?(c/=b.secondsPerUnit,0!=c||""!=a.intervalString?(a.intervalString=""+c,a.intervalUnit=b):(2==a.dayType?[Jr,Kr]:[Jr,Kr,m8a]).includes(a.intervalUnit)||(a.intervalUnit=b),!0):
!1},g8a=function(a){a.errorString=a.validator(a.intervalString,a.businessDayString);k8a(a);l8a(a)},k8a=function(a){a.objectiveDuration.setSeconds(a.intervalUnit.secondsPerUnit*(Lj(a.intervalString)||0));a.objectiveDurationChange.emit(a.objectiveDuration)},l8a=function(a){a.objectiveBusinessDays=Lj(a.businessDayString)||0;a.objectiveBusinessDaysChange.emit(a.objectiveBusinessDays)};w1.\u0275fac=function(a){return new (a||w1)};
w1.\u0275cmp=p({type:w1,selectors:[["slo-objective-selector"]],inputs:{isDisabled:"isDisabled",validator:"validator",dayType:"dayType",objectiveDuration:"objectiveDuration",objectiveBusinessDays:"objectiveBusinessDays"},outputs:{objectiveDurationChange:"objectiveDurationChange",objectiveBusinessDaysChange:"objectiveBusinessDaysChange"},features:[Hd],decls:2,vars:2,consts:[["class","enabled bv2-slo-objective",4,"ngIf"],["class","disabled",4,"ngIf"],[1,"enabled","bv2-slo-objective"],["class","bv2-slo-objective-interval",
4,"ngIf"],[1,"bv2-slo-objective-interval"],["type","text",3,"ngModel","ngModelChange"],[1,"bv2-slo-objective-unit",3,"ngModel","ngModelChange","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[1,"bv2-slo-objective-unit"],[3,"value"],[1,"disabled"],["class","bv2-slo-objective-biz-day-text",4,"ngIf"],[4,"ngIf"],[1,"bv2-slo-objective-biz-day-text"]],template:function(a,b){a&1&&(P(0,n8a,6,6,"span",0),P(1,r8a,3,2,"span",1));a&2&&(D("ngIf",!b.isDisabled),z(1),D("ngIf",b.isDisabled))},dependencies:[xw,
yw,Qh,ax,hx,lP,vA],styles:['[_nghost-%COMP%]{width:200px;line-height:29px}.bv2-slo-objective[_ngcontent-%COMP%]{display:flex}.bv2-slo-objective-interval[_ngcontent-%COMP%]{display:flex}.bv2-slo-objective-unit[_ngcontent-%COMP%]{padding-right:4px;padding-left:4px}[_nghost-%COMP%]     .mat-select-value{font-family:"Google Sans",Roboto,Arial,sans-serif;font-size:.875rem;letter-spacing:.0107142857em;font-weight:500;color:#1a73e8;color:var(--link);min-width:60px}input.ng-invalid.ng-dirty[_ngcontent-%COMP%]{border-color:#c5221f;border-color:var(--bad-high-contrast);border-width:2px}\n/*# sourceMappingURL=slo_objective_selector.css.map */']});var x1=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"]])},ttc=function(a,b){var c=new qtc,d=rtc(b,"type",function(f){var h=f.toUpperCase(),l=new stc;a.typeStringToJSPB.has(h)?l.value=h:l.error='The string "'+
f+'" is not a valid type';return l});if(d.error)return c.error=d.error,c;var e=m(d.values);for(d=e.next();!d.done;d=e.next())c.types.push(a.typeStringToJSPB.get(d.value));d=rtc(b,"priority",function(f){var h=f.toUpperCase(),l=new stc;a.priorityStringToJSPB.has(h)?l.value=h:l.error='The string "'+f+'" is not a valid priority';return l});if(d.error)return c.error=d.error,c;e=m(d.values);for(d=e.next();!d.done;d=e.next())c.priorities.push(a.priorityStringToJSPB.get(d.value));b=rtc(b,"postmortem",function(f){var h=
f.toUpperCase(),l=new stc;a.postmortemValuesToCanonical.has(h)?l.value=h:l.error='The string "'+f+'" is not a valid postmortem value';return l});if(b.error)c.error=b.error;else for(b=m(b.values),d=b.next();!d.done;d=b.next())c.postmortemValues.push(a.postmortemValuesToCanonical.get(d.value));return c},rtc=function(a,b,c){var d=new utc;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};x1.\u0275fac=function(a){return new (a||x1)(n(gJ),n(Vt))};x1.\u0275prov=Vc({token:x1,factory:x1.\u0275fac,providedIn:"root"});var qtc=function(){this.types=[];this.priorities=[];this.postmortemValues=[];this.error=""},utc=function(){this.values=[];this.error=""},stc=function(){this.error=this.value=""};var y1=function(){};y1.prototype.validate=function(a){for(var b={},c=m(Object.entries(this.validators)),d=c.next();!d.done;d=c.next()){var e=m(d.value);d=e.next().value;e=e.next().value;e(a.value)||(b[d]=!0)}return Object.keys(b).length?b:null};y1.\u0275fac=function(a){return new (a||y1)};y1.\u0275dir=qd({type:y1,selectors:[["","customValidators",""]],inputs:{validators:["customValidators","validators"]},features:[Ug([{provide:Vw,useExisting:y1,multi:!0}])]});var z1=function(a,b,c){this.constants=a;this.sloParseService=b;this.confirmationDialogService=c;this.collection=[];this.boundCollection=[];this.onCollectionUpdate=new Rv;this.onValidation=new Rv;this.selectedObjectiveBusinessDays=this.selectedObjectiveDuration=null;this.postmortemAllSummaryValue="Either";this.canPerformActionsInternal=!1;this.openRow=null;this.metricChoices=[0].concat(xgc);this.dayTypes=[1,2];xgc.map(function(d,e){return[d,e]});this.selectedMetric=0;this.selectedDayType=1;this.selectedMetric=
this.metricChoices[0];this.selectedDayType=1;this.selectedObjectiveBusinessDays=this.selectedObjectiveDuration=null;this.anyNoneDisplayValues=new Map([["ANY","Has postmortem"],["NONE","No postmortem"]]);this.canPerformActions=!0},c9a=function(a,b,c){I8a(a);a=m(a.collection);for(var d=a.next();!d.done;d=a.next())d.value.canEdit=!1;b.startEditing();c&&c.stopPropagation()},f9a=function(a,b,c){c=i9a(a,b,c);var d=c.newOffset;c.valid&&(I8a(a),La(a.collection,b),La(a.boundCollection,b.sloElement),a.collection.splice(d,
0,b),a.boundCollection.splice(d,0,b.sloElement),vtc(a))},i9a=function(a,b,c){b=a.collection.indexOf(b)+c;return{valid:0<=b&&b<a.collection.length,newOffset:b}},I8a=function(a){a=m(a.collection);for(var b=a.next();!b.done;b=a.next())b=b.value,b.stopEditing(),b.canEdit=!0},wtc=function(a,b){var c=b.map(function(d){return new A1(d,a)});a.openRow=null;a.collection=c;a.boundCollection=b;a.canPerformActions=!a.openRow},O8a=function(a,b){return 0!==b&&a.constants.protoIssueTypesDisplayNames.has(b)?a.constants.protoIssueTypesDisplayNames.get(b):
" - "},T8a=function(a,b){return 0!==b&&a.constants.protoIssuePrioritiesDisplayNames.has(b)?a.constants.protoIssuePrioritiesDisplayNames.get(b):" - "},J8a=function(a,b){I8a(a);La(a.collection,b);La(a.boundCollection,b.sloElement);vtc(a)},u8a=function(a,b){a.confirmationDialogService.open({title:"Are you sure you'd like to clear all the rules?",content:jp("This won't take effect until you save the changes, but any local changes will be lost."),onConfirm:function(){a.collection=[];a.boundCollection=
[];vtc(a)},onDismiss:function(){}});b.stopPropagation()},s8a=function(a,b){var c=new A1(new il,a,!0);c9a(a,c);a.collection.splice(b,0,c);a.boundCollection.splice(b,0,c.sloElement);vtc(a)};z1.prototype.onDrop=function(a){f9a(this,this.collection[a.previousIndex],a.currentIndex-a.previousIndex)};var vtc=function(a){a.onCollectionUpdate.emit(a.boundCollection)};
Xi.Object.defineProperties(z1.prototype,{collectionInput:{configurable:!0,enumerable:!0,set:function(a){wtc(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=m(this.collection),c=b.next();!c.done;c=b.next())c=c.value,c.canEdit=!a||this.openRow===c},
get:function(){return this.isDisabledInternal}}});z1.\u0275fac=function(a){return new (a||z1)(A(gJ),A(x1),A(UI))};
z1.\u0275cmp=p({type:z1,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&&(E(0,"div",0)(1,"div")(2,"div")(3,"label",1),Q(4,"Rules"),F(),E(5,"a",2),H(6,"b-icon",3),F(),P(7,v8a,6,3,"span",4),F(),E(8,"table",5)(9,"thead")(10,"tr",6)(11,"th",7),Q(12,"Order"),F(),E(13,"th",8),Q(14,"Type"),F(),E(15,"th",9),Q(16,"Priority"),F(),E(17,"th",10),Q(18,"Postmortem"),F(),E(19,"th",11),Q(20,"Metric"),F(),E(21,"th",12),Q(22,"Objective"),F(),E(23,"th",13),Q(24," Day Type "),F(),H(25,"th",14),F()(),
P(26,l9a,2,3,"tbody",15),F(),E(27,"div"),P(28,m9a,2,0,"div",16),F()()());a&2&&(z(6),D("name","help-outline")("size","small"),z(1),D("ngIf",!b.isDisabled),z(19),D("ngIf",b.collection&&0!=b.collection.length),z(2),D("ngIf",!b.collection||0==b.collection.length))},dependencies:[xw,yw,y1,DL,EL,ax,sx,hx,GN,XA,FC,DC,EC,lP,vA,NC,u1,w1],styles:['.bv2-slo-elements-picker[_ngcontent-%COMP%]{display:block}.bv2-slo-elements-picker[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]{width:1270px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   icon[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   icon[_ngcontent-%COMP%]{cursor:pointer}.bv2-slo-elements-picker[_ngcontent-%COMP%]   input[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{width:inherit}.bv2-slo-elements-picker[_ngcontent-%COMP%]     .bv2-slo-elements-picker-metric-selector .mat-select-value-text, .cdk-drag-preview[_ngcontent-%COMP%]     .bv2-slo-elements-picker-metric-selector .mat-select-value-text{padding-left:4px;text-align:left;width:8em}.bv2-slo-elements-picker[_ngcontent-%COMP%]   .bv2-slo-elements-table-empty-list-description[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   .bv2-slo-elements-table-empty-list-description[_ngcontent-%COMP%]{border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider);color:#5f6368;color:var(--muted);line-height:32px;text-align:center}.bv2-slo-elements-picker[_ngcontent-%COMP%]   .bv2-property-display-chips[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   .bv2-property-display-chips[_ngcontent-%COMP%]{cursor:default;display:inline-block;font-size:.8125rem;padding-top:2px;vertical-align:top}.bv2-slo-elements-picker[_ngcontent-%COMP%]   .bv2-property-display-chips[_ngcontent-%COMP%]   span.bv2-property-display-chip-container[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   .bv2-property-display-chips[_ngcontent-%COMP%]   span.bv2-property-display-chip-container[_ngcontent-%COMP%]{background-color:#f1f3f4;background-color:var(--c100);border:1px solid;border-color:#dadce0;border-color:var(--divider);border-radius:3px;display:inline-block;height:20px;margin-right:4px;white-space:nowrap}.bv2-slo-elements-picker[_ngcontent-%COMP%]   .bv2-property-display-chips[_ngcontent-%COMP%]   span.bv2-property-display-chip-container[_ngcontent-%COMP%]   .matcher-chip-content[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   .bv2-property-display-chips[_ngcontent-%COMP%]   span.bv2-property-display-chip-container[_ngcontent-%COMP%]   .matcher-chip-content[_ngcontent-%COMP%]{display:inline-block;line-height:16px;margin:2px 5px;max-width:550px;overflow:hidden;text-overflow:ellipsis}.bv2-slo-elements-picker[_ngcontent-%COMP%]   .ng-dirty.ng-invalid[_ngcontent-%COMP%] > .jfk-select[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   .ng-dirty.ng-invalid[_ngcontent-%COMP%] > .jfk-select[_ngcontent-%COMP%]{border-color:#c5221f;border-color:var(--bad-high-contrast);border-width:2px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   .bv2-slo-elements-table-label[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   .bv2-slo-elements-table-label[_ngcontent-%COMP%]{font-weight:bold;padding-left:8px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   .bv2-slo-elements-table-help-icon[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   .bv2-slo-elements-table-help-icon[_ngcontent-%COMP%]{display:inline-block;padding-bottom:4px;padding-left:4px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   .slo-picker-actions[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   .slo-picker-actions[_ngcontent-%COMP%]{float:right}.bv2-slo-elements-picker[_ngcontent-%COMP%]   .slo-picker-actions[_ngcontent-%COMP%]   .slo-picker-icon-action-icon-container[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   .slo-picker-actions[_ngcontent-%COMP%]   .slo-picker-icon-action-icon-container[_ngcontent-%COMP%]{display:inline-block;padding-right:8px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   .bv2-slo-elements-actionbar[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   .bv2-slo-elements-actionbar[_ngcontent-%COMP%]{float:right}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]{border:1px solid;border-color:#dadce0;border-color:var(--divider);counter-reset:rulenumber;width:100%}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]{counter-increment:rulenumber}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{border-bottom:0;border-top:1px solid;border-top-color:#dadce0;border-top-color:var(--divider)}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]:last-child, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]:last-child{border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider)}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]:last-child.drag-over-after, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]:last-child.drag-over-after{border-bottom-color:#1a73e8;border-bottom-color:var(--primary)}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-action[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-action[_ngcontent-%COMP%]{padding-left:8px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-action.editable-row[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-action.editable-row[_ngcontent-%COMP%]{padding-top:10px;vertical-align:top}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-row-counter[_ngcontent-%COMP%]:after, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-row-counter[_ngcontent-%COMP%]:after{content:counter(rulenumber) ""}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row.draggable[_ngcontent-%COMP%]:hover > td.bv2-slo-element-row-counter[_ngcontent-%COMP%]:before, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row.draggable[_ngcontent-%COMP%]:hover > td.bv2-slo-element-row-counter[_ngcontent-%COMP%]:before{background:url("https://www.gstatic.com/buganizer/img/v0/grippy_large.png") no-repeat 3px 50%;content:"";cursor:grab;float:left;height:14px;width:5px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-row-counter[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-row-counter[_ngcontent-%COMP%]{line-height:14px;padding-left:initial;padding-right:initial;text-align:right;width:28px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-row-counter.editable-row[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-row-counter.editable-row[_ngcontent-%COMP%]{padding-top:12px;vertical-align:top}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]{text-align:left;padding-left:16px;padding-right:16px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-type-property-picker .bv2-property-picker-summary-text, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-type-property-picker .bv2-property-picker-summary-text{width:190px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-type-property-picker .bv2-property-picker-option-row, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-type-property-picker .bv2-property-picker-option-row{width:212px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-postmortem-property-picker .bv2-property-picker-summary-text, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-postmortem-property-picker .bv2-property-picker-summary-text{width:102px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-postmortem-property-picker .bv2-property-picker-option-row, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-postmortem-property-picker .bv2-property-picker-option-row{width:124px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-priority-property-picker .bv2-property-picker-summary-text, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-priority-property-picker .bv2-property-picker-summary-text{width:88px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-priority-property-picker .bv2-property-picker-option-row, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-priority-property-picker .bv2-property-picker-option-row{width:110px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]   input[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{width:100%}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column.editable-row[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column.editable-row[_ngcontent-%COMP%]{padding-top:6px;vertical-align:top}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-metric[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-metric[_ngcontent-%COMP%]{text-align:left;padding-left:16px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-metric[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-metric[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]{width:128px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-metric[_ngcontent-%COMP%]   .bv2-enum-field[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-metric[_ngcontent-%COMP%]   .bv2-enum-field[_ngcontent-%COMP%]{padding-top:3px;padding-bottom:0px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-metric[_ngcontent-%COMP%]   .bv2-enum-field.ng-invalid[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-metric[_ngcontent-%COMP%]   .bv2-enum-field.ng-invalid[_ngcontent-%COMP%]{padding-top:3px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-metric[_ngcontent-%COMP%]   .goog-flat-menu-button[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-metric[_ngcontent-%COMP%]   .goog-flat-menu-button[_ngcontent-%COMP%]{background-color:initial;background-image:initial}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-metric.editable-row[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-metric.editable-row[_ngcontent-%COMP%]{padding-top:3px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-objective[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-objective[_ngcontent-%COMP%]{padding-left:16px;padding-right:16px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-objective[_ngcontent-%COMP%]     slo-objective-selector, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-objective[_ngcontent-%COMP%]     slo-objective-selector{float:left}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-objective[_ngcontent-%COMP%]     slo-objective-selector input, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-objective[_ngcontent-%COMP%]     slo-objective-selector input{margin:auto;padding-right:4px;text-align:right;width:3em}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-objective[_ngcontent-%COMP%]     slo-objective-selector .goog-flat-menu-button, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-objective[_ngcontent-%COMP%]     slo-objective-selector .goog-flat-menu-button{background-color:initial;background-image:initial}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-objective.editable-row[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-objective.editable-row[_ngcontent-%COMP%]{padding-top:6px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype{text-align:left;padding-left:16px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype mat-form-field, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype mat-form-field{width:111px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .bv2-enum-field, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .bv2-enum-field{padding-top:3px;padding-bottom:0px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .bv2-enum-field.ng-invalid, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .bv2-enum-field.ng-invalid{padding-top:3px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .goog-flat-menu-button, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .goog-flat-menu-button{background-color:initial;background-image:initial}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-daytype.editable-row[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-daytype.editable-row[_ngcontent-%COMP%]{padding-top:6px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-metric .mat-form-field, .bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .mat-form-field, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-metric .mat-form-field, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .mat-form-field{padding-right:10px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-metric .mat-form-field-wrapper, .bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .mat-form-field-wrapper, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-metric .mat-form-field-wrapper, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .mat-form-field-wrapper{padding:0}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-metric .mat-select-arrow-wrapper, .bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .mat-select-arrow-wrapper, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-metric .mat-select-arrow-wrapper, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .mat-select-arrow-wrapper{transform:none}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-metric .mat-form-field-infix, .bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .mat-form-field-infix, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-metric .mat-form-field-infix, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .mat-form-field-infix{padding:1px 0 7px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]{background-color:#f8f9fa;background-color:var(--surface-secondary)}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   .header-row[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   .header-row[_ngcontent-%COMP%]{border:0px;height:28px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-order-header[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-order-header[_ngcontent-%COMP%]{padding-left:16px;text-align:right;width:28px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-type-header[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-type-header[_ngcontent-%COMP%]{padding-left:16px;padding-right:16px;text-align:left;width:212px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-postmortem-header[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-postmortem-header[_ngcontent-%COMP%]{padding-left:16px;padding-right:16px;text-align:left;width:96px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-priority-header[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-priority-header[_ngcontent-%COMP%]{padding-left:16px;padding-right:16px;text-align:left;width:96px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-metric-header[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-metric-header[_ngcontent-%COMP%]{padding-left:16px;padding-right:16px;text-align:left;width:96px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-objective-header[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-objective-header[_ngcontent-%COMP%]{padding-left:16px;padding-right:16px;text-align:left;width:200px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-daytype-header[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-daytype-header[_ngcontent-%COMP%]{padding-left:16px;padding-right:16px;text-align:left;width:96px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-actions-header[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-actions-header[_ngcontent-%COMP%]{padding-left:16px;text-align:left;width:60px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   .custom-menu-button[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   .custom-menu-button[_ngcontent-%COMP%]{height:18px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   .custom-menu-button[_ngcontent-%COMP%]   .goog-inline-block[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   .custom-menu-button[_ngcontent-%COMP%]   .goog-inline-block[_ngcontent-%COMP%]{background:none;border:none;box-shadow:none;line-height:initial;min-width:initial;padding:0;vertical-align:initial}.cdk-drag-preview[_ngcontent-%COMP%]{counter-increment:rulenumber;background-color:#fff;background-color:var(--surface-default);box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12);display:table}.cdk-drag-preview[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{border-bottom:0;border-top:1px solid;border-top-color:#dadce0;border-top-color:var(--divider)}.cdk-drag-preview[_ngcontent-%COMP%]:last-child{border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider)}.cdk-drag-preview[_ngcontent-%COMP%]:last-child.drag-over-after{border-bottom-color:#1a73e8;border-bottom-color:var(--primary)}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-action[_ngcontent-%COMP%]{padding-left:8px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-action.editable-row[_ngcontent-%COMP%]{padding-top:10px;vertical-align:top}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-row-counter[_ngcontent-%COMP%]:after{content:counter(rulenumber) ""}.cdk-drag-preview.draggable[_ngcontent-%COMP%]:hover > td.bv2-slo-element-row-counter[_ngcontent-%COMP%]:before{background:url("https://www.gstatic.com/buganizer/img/v0/grippy_large.png") no-repeat 3px 50%;content:"";cursor:grab;float:left;height:14px;width:5px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-row-counter[_ngcontent-%COMP%]{line-height:14px;padding-left:initial;padding-right:initial;text-align:right;width:28px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-row-counter.editable-row[_ngcontent-%COMP%]{padding-top:12px;vertical-align:top}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]{text-align:left;padding-left:16px;padding-right:16px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-type-property-picker .bv2-property-picker-summary-text{width:190px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-type-property-picker .bv2-property-picker-option-row{width:212px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-postmortem-property-picker .bv2-property-picker-summary-text{width:102px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-postmortem-property-picker .bv2-property-picker-option-row{width:124px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-priority-property-picker .bv2-property-picker-summary-text{width:88px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-priority-property-picker .bv2-property-picker-option-row{width:110px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{width:100%}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column.editable-row[_ngcontent-%COMP%]{padding-top:6px;vertical-align:top}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-metric[_ngcontent-%COMP%]{text-align:left;padding-left:16px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-metric[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]{width:128px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-metric[_ngcontent-%COMP%]   .bv2-enum-field[_ngcontent-%COMP%]{padding-top:3px;padding-bottom:0px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-metric[_ngcontent-%COMP%]   .bv2-enum-field.ng-invalid[_ngcontent-%COMP%]{padding-top:3px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-metric[_ngcontent-%COMP%]   .goog-flat-menu-button[_ngcontent-%COMP%]{background-color:initial;background-image:initial}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-metric.editable-row[_ngcontent-%COMP%]{padding-top:3px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-objective[_ngcontent-%COMP%]{padding-left:16px;padding-right:16px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-objective[_ngcontent-%COMP%]     slo-objective-selector{float:left}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-objective[_ngcontent-%COMP%]     slo-objective-selector input{margin:auto;padding-right:4px;text-align:right;width:3em}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-objective[_ngcontent-%COMP%]     slo-objective-selector .goog-flat-menu-button{background-color:initial;background-image:initial}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-objective.editable-row[_ngcontent-%COMP%]{padding-top:6px}.cdk-drag-preview[_ngcontent-%COMP%]     td.bv2-slo-element-daytype{text-align:left;padding-left:16px}.cdk-drag-preview[_ngcontent-%COMP%]     td.bv2-slo-element-daytype mat-form-field{width:111px}.cdk-drag-preview[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .bv2-enum-field{padding-top:3px;padding-bottom:0px}.cdk-drag-preview[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .bv2-enum-field.ng-invalid{padding-top:3px}.cdk-drag-preview[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .goog-flat-menu-button{background-color:initial;background-image:initial}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-daytype.editable-row[_ngcontent-%COMP%]{padding-top:6px}.cdk-drag-preview[_ngcontent-%COMP%]     td.bv2-slo-element-metric .mat-form-field, .cdk-drag-preview[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .mat-form-field{padding-right:10px}.cdk-drag-preview[_ngcontent-%COMP%]     td.bv2-slo-element-metric .mat-form-field-wrapper, .cdk-drag-preview[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .mat-form-field-wrapper{padding:0}.cdk-drag-preview[_ngcontent-%COMP%]     td.bv2-slo-element-metric .mat-select-arrow-wrapper, .cdk-drag-preview[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .mat-select-arrow-wrapper{transform:none}.cdk-drag-preview[_ngcontent-%COMP%]     td.bv2-slo-element-metric .mat-form-field-infix, .cdk-drag-preview[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .mat-form-field-infix{padding:1px 0 7px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-row-counter[_ngcontent-%COMP%]:after{content:""}.cdk-drag-placeholder[_ngcontent-%COMP%]{opacity:0}.cdk-drag-animating[_ngcontent-%COMP%]{transition:transform 250ms cubic-bezier(0, 0, 0.2, 1)}\n/*# sourceMappingURL=slo-elements-picker.css.map */']});
var A1=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=mtc(d.priorityPickerValues)?null:"Priority can't be empty";d.priorityPickerValid=null===e;return e};this.validateTypePicker=function(){var e=mtc(d.typePickerValues)?null:"Type can't be empty";d.typePickerValid=
null===e;return e};this.validatePostmortemPicker=function(){var e=mtc(d.postmortemPickerValues)?null:"Postmortem can't be empty";d.postmortemPickerValid=null===e;return e};this.validateObjective=function(e,f){if(2!=d.selectedDayType){if(!e.match(/^\d+$/)||"0"===e)return d.objectiveValid=!1,"Objective must be a positive integer"}else{if(!e.match(/^\d*$/)||!f.match(/^\d*$/))return d.objectiveValid=!1,"Objective must be a positive integer";if(!(""!==e&&"0"!==e||""!==f&&"0"!==f))return d.objectiveValid=
!1,"A business day or time based duration must be specified."}d.objectiveValid=!0;return null};this.matcherText=a.getMatcher();this.selectedMetric=a.getMetric();this.selectedDayType=a.getDayType()||1;this.selectedObjectiveDuration=xtc(a.getObjective());this.selectedObjectiveBusinessDays=a.getBusinessDays();this.canEdit=!b.isDisabled;this.metricValidators={required:function(e){return ytc(d,e)}};ztc(this);this.typePickerValues=Atc(this.controllerReference.sloParseService.jspbTypeToString.keys(),function(e){return 0===
d.parseResult.types.length||d.parseResult.types.includes(e)},function(e){return O8a(d.controllerReference,e)});this.priorityPickerValues=Atc(this.controllerReference.sloParseService.jspbPriorityToString.keys(),function(e){return 0===d.parseResult.priorities.length||d.parseResult.priorities.includes(e)},function(e){return T8a(d.controllerReference,e)});this.postmortemPickerValues=Atc(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();ytc(this,this.selectedMetric)},xtc=function(a){return a?a:(new El).setSeconds(86400)};A1.prototype.isValid=function(){return this.priorityPickerValid&&this.typePickerValid&&this.postmortemPickerValid&&this.metricSelectorValid&&this.objectiveValid};
var ytc=function(a,b){b=0!==b;return a.metricSelectorValid=b};
A1.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;Btc(this);k(this.sloElement,1,this.selectedMetric);this.sloElement.setDayType(this.selectedDayType);this.sloElement.setObjective(this.selectedObjectiveDuration);this.sloElement.setBusinessDays(this.selectedObjectiveBusinessDays);ztc(this)}};
var Btc=function(a){var b=a.getEnumValues(a.typePickerValues),c=a.getEnumValues(a.priorityPickerValues),d=a.getEnumValues(a.postmortemPickerValues);b=Ctc(b,function(f){return a.controllerReference.sloParseService.jspbTypeToString.get(Lj(f))});c=Ctc(c,function(f){return a.controllerReference.sloParseService.jspbPriorityToString.get(Lj(f))});d=Ctc(d,function(f){return a.controllerReference.sloParseService.canonicalGroupQueryKeywordToQueryValue.get(f)});var e=[];b&&e.push("type:"+b);c&&e.push("priority:"+
c);d&&e.push("postmortem:"+d);a.matcherText=e.join(" ");a.sloElement.setMatcher(a.matcherText)};A1.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 Ctc=function(a,b){if(0===a.length)return"";if(1===a.length)return b(a[0]);var c=[];a=m(a);for(var d=a.next();!d.done;d=a.next())c.push(b(d.value));return"("+c.join("|")+")"};
A1.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;ztc(this)}};var ztc=function(a){a.parseResult=ttc(a.controllerReference.sloParseService,a.matcherText)},Atc=function(a,b,c){var d={};a=m(a);for(var e=a.next();!e.done;e=a.next()){e=e.value;var f=b(e),h=c(e);d[""+e]=new ktc(h,f)}return new ltc(d)};var B1=function(){};B1.\u0275fac=function(a){return new (a||B1)};B1.\u0275mod=od({type:B1});B1.\u0275inj=Wc({imports:[Mw,wx,mP]});var C1=function(){};C1.\u0275fac=function(a){return new (a||C1)};C1.\u0275mod=od({type:C1});C1.\u0275inj=Wc({imports:[Mw]});var D1=function(){};D1.\u0275fac=function(a){return new (a||D1)};D1.\u0275mod=od({type:D1});D1.\u0275inj=Wc({imports:[Mw,C1,FL,wx,eO,YA,GC,mP,ID,v1,B1]});var E1=function(a,b,c,d,e){Z.call(this);this.element=a;this.cdr=b;this.location=c;this.paths=d;this.hotkeys=e;this.focusedIndex=0;this.slos=[]};W(E1,Z);E1.\u0275dir=Z.\u0275dir;g=E1.prototype;g.setFocusOnIndex=function(a){this.focusedIndex=a};g.isFocused=function(a){return this.focusedIndex===a};g.selectNext=function(){this.focusedIndex+1>=this.slos.length||(this.focusedIndex++,this.scrollToFocusedIndex())};g.selectPrevious=function(){0>this.focusedIndex-1||(this.focusedIndex--,this.scrollToFocusedIndex())};
g.ngOnInit=function(){var a=this,b=KM(this.hotkeys,{title:"Browse Controls",hotkeys:[{keys:["j","DOWN"],displayAs:"j / Down",description:"Move to the next SLO",onPress:function(){a.selectNext();a.cdr.detectChanges()}},{keys:["k","UP"],displayAs:"k / Up",description:"Move to the previous SLO",onPress:function(){a.selectPrevious();a.cdr.detectChanges()}},{keys:["ENTER"],displayAs:"Enter",description:"View SLO detail",onPress:function(){var c=a.slos[a.focusedIndex];c&&a.editSlo(c);a.cdr.detectChanges()}}]});
this.destroyed$.subscribe(b)};g.scrollToFocusedIndex=function(){var a=this.element.nativeElement.parentElement;if(a){var b,c,d=null==(b=this.element.nativeElement.querySelector("table"))?void 0:null==(c=b.rows)?void 0:c[this.focusedIndex];if(d){b=a.getBoundingClientRect();a=b.top;b=b.bottom;c=d.getBoundingClientRect();var e=c.bottom;c.top<a?d.scrollIntoView(!1):e>b&&d.scrollIntoView(!0)}}};g.renderRowLabel=function(a){return this.slos[a].name};g.editSlo=function(a){this.location.path(this.paths.editSlo(a.sloId))};
E1.\u0275fac=function(a){return new (a||E1)(A(ke),A(sH,2),A(MG),A(NG),A(JM))};
E1.\u0275cmp=p({type:E1,selectors:[["b-slo-grid"]],inputs:{slos:"slos"},features:[Ug([sH]),qg],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&&(E(0,"table",0)(1,"thead")(2,"tr",1),H(3,"th",2),E(4,"th")(5,"div",3)(6,"div",4)(7,"div",5),Q(8," SLO name "),F()()()(),E(9,"th")(10,"div",3)(11,"div",4)(12,"div",5),Q(13," Description "),F()()()()()(),E(14,"tbody"),P(15,n9a,7,7,"tr",6),F()());a&2&&(z(15),D("ngForOf",b.slos))},dependencies:[xw],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 F1=function(){};F1.\u0275fac=function(a){return new (a||F1)};F1.\u0275mod=od({type:F1});F1.\u0275inj=Wc({imports:[Mw]});var G1=function(a,b){this.log=a;this.dateFormatter=b},Etc=function(a,b){var c=SYa(b.addMask),d=SYa(b.removeMask),e={author:b.author||null,timestamp:b.timestamp||null,diffs:[]},f=b.add;b=b.remove;for(var h=m(new Set([].concat(r(c),r(d)))),l=h.next();!l.done;l=h.next()){var q=l.value;l=ygc.get(q);if("name"===q){var u=ir(d,q,b.name);q=ir(c,q,f.name);e.diffs.push(jr(l,u,q))}else if("description"===q)u=ir(d,q,b.description),q=ir(c,q,f.description),e.diffs.push(jr(l,u,q));else if("parentId"===q)u=ir(d,
q,String(b.parentId)),q=ir(c,q,String(f.parentId)),e.diffs.push(jr(l,u,q));else if("elements"===q){var x=f.elements;u=TYa(d,q,b.elements.map(function(y){return Dtc(y)}));q=TYa(c,q,x.map(function(y){return Dtc(y)}));e.diffs.push({fieldName:l,diffType:"COLLECTION",diff:{removed:u,added:q}})}else a.log.error("Unsupported diff field.")}return e},Dtc=function(a){var b=a.getMatcher(),c=A8a.get(a.getMetric()),d=E8a.get(a.getDayType()),e=[];0<a.getBusinessDays()&&e.push(a.getBusinessDays()+" day"+(1<a.getBusinessDays()?
"s":""));0<a.getObjective().getSeconds()&&e.push(s3b(1E3*a.getObjective().getSeconds()));a=e.join(", ");return'("'+b+'", '+c+") - "+(d+" days - "+a)};G1.\u0275fac=function(a){return new (a||G1)(n(YF),n(bL))};G1.\u0275prov=Vc({token:G1,factory:G1.\u0275fac,providedIn:"root"});var H1=function(){};H1.\u0275fac=function(a){return new (a||H1)};H1.\u0275mod=od({type:H1});H1.\u0275inj=Wc({imports:[Mw,yO,xY,xx,mP]});var I1=function(){};I1.\u0275fac=function(a){return new (a||I1)};I1.\u0275mod=od({type:I1});I1.\u0275inj=Wc({imports:[Mw,dY,YC,NA]});var Htc=function(a,b){this.$log=b;this.templateAttributes={};this.templateCustomFields={};b=m(Ftc);for(var c=b.next();!c.done;c=b.next())if(c=c.value,a[c]){var d=a[c],e=void 0;Array.isArray(d)?e=d.map(function(f){return"string"===typeof f?Qj(f):""}):e="string"===typeof d?Qj(d):"";this.templateAttributes[c]=e}b=m(Gtc);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=m(a),b=a.next();!b.done;b=a.next())c=b.value.split(":"),
b=c[0],c=c.slice(1).join(":"),Hm(c)||(this.templateCustomFields[b]=c)},Jtc=function(a){return 0!==Object.keys(a.templateCustomFields||{}).length||Itc.some(function(b){return null!=a.templateAttributes[b]})},Otc=function(a,b,c){null!=c&&(Ktc(a,c),Ltc(a,b,c),Mtc(b,c));c=m(Object.entries(a.templateAttributes));for(var d=c.next();!d.done;d=c.next()){var e=m(d.value);d=e.next().value;e=e.next().value;Ntc[d](b,e)}a.templateAttributes={};a.templateCustomFields={}},Ltc=function(a,b,c){null==b.customField&&
(b.customField=[]);for(var d={},e=m(b.customField),f=e.next();!f.done;f=e.next())f=f.value,d[f.customFieldId]=f;e={};f=m(Object.entries(a.templateCustomFields));for(var h=f.next();!h.done;e={$jscomp$loop$prop$customFieldId$2302:e.$jscomp$loop$prop$customFieldId$2302},h=f.next()){var l=m(h.value);h=l.next().value;l=l.next().value;e.$jscomp$loop$prop$customFieldId$2302=Lj(h);l={customFieldId:e.$jscomp$loop$prop$customFieldId$2302,value:l};h=a.getCustomFieldValue(l,c);null!=d[e.$jscomp$loop$prop$customFieldId$2302]?
(l=b.customField.findIndex(function(q){return function(u){return u.customFieldId===q.$jscomp$loop$prop$customFieldId$2302}}(e)),b.customField[l]=h):(b.customField.push(h),d[l.customFieldId]=h)}};
Htc.prototype.getCustomFieldValue=function(a,b){var c=new Uj(a);if(a.value){b=this.getCustomFieldType(c,b);var d=[];switch(b){case "TEXT":c.textValue=a.value;break;case "DATE":c.dateValue=Wna(a.value)||void 0;break;case "ENUM":c.enumValue=a.value;break;case "NUMERIC":c.numericValue=Xna(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 Wna(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 Xna(e)}).filter(function(e){return null!==e});c.repeatedNumericValue={values:d};break;default:this.$log.warn("Invalid custom field type '"+b+"'.")}}return c};Htc.prototype.getCustomFieldType=function(a,b){var c,d;return null!=(d=null==(c=b[a.customFieldId])?void 0:c.type)?d:""};
var Ktc=function(a,b){a.templateCustomFields=oc(a.templateCustomFields,function(c,d){return!!b[d]})},Mtc=function(a,b){if(null!=a.customField){var c={};a=m(a.customField);for(var d=a.next();!d.done;c={$jscomp$loop$prop$allowedValues$2304:c.$jscomp$loop$prop$allowedValues$2304},d=a.next()){d=d.value;var e=b[d.customFieldId];if(e&&e.type&&e.type.includes("ENUM")){c.$jscomp$loop$prop$allowedValues$2304=e.allowedValue||[];var f=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$2304.includes(l)}}(c)),!d.repeatedEnumValue.values.length&&f&&(d.repeatedEnumValue=e.typedDefaultValue.repeatedEnumValue)):c.$jscomp$loop$prop$allowedValues$2304.includes(d.enumValue)||(d.enumValue=f?e.typedDefaultValue.enumValue:"")}}}},Ptc=new gJ,Qtc=Ptc.priorities,Rtc=Ptc.severities,Stc=Ptc.issueTypes,Ftc="title type priority severity assignee verifier reporter collaborators cc hotlistIds blockedByIssueIds blockingIssueIds foundIn targetedTo".split(" "),
Gtc=["inProd"],Itc="severity foundIn inProd reporter verifier targetedTo blockedByIssueIds blockingIssueIds".split(" "),J1={},Ntc=(J1.cc=function(a,b){a.ccUsers=r9a(b,a.ccUsers||[])},J1.collaborators=function(a,b){a.collaboratorsUsers=r9a(b,a.collaboratorsUsers||[])},J1.title=function(a,b){"string"===typeof b&&(a.title=b)},J1.assignee=function(a,b){q9a(b,function(c){a.assigneeUser=c})},J1.reporter=function(a,b){q9a(b,function(c){a.reporterUser=c})},J1.verifier=function(a,b){q9a(b,function(c){a.verifierUser=
c})},J1.hotlistIds=function(a,b){if(b=o9a(b)){a.hotlistId||(a.hotlistId=[]);b=m(b);for(var c=b.next();!c.done;c=b.next())a.hotlistId.push(c.value)}},J1.blockingIssueIds=function(a,b){if(b=o9a(b))a.blockingIssueId=b.map(String)},J1.blockedByIssueIds=function(a,b){if(b=o9a(b))a.blockedByIssueId=b.map(String)},J1.foundIn=function(a,b){"string"===typeof b&&(a.foundInVersion=b.split(","))},J1.targetedTo=function(a,b){"string"===typeof b&&(a.targetedToVersion=b.split(","))},J1.inProd=function(a,b){a.inProd=
"true"===b},J1.priority=function(a,b){if(b=p9a(Qtc,b))a.priority=sn(b)},J1.severity=function(a,b){if(b=p9a(Rtc,b))a.severity=Cra(b)},J1.type=function(a,b){if(b=p9a(Stc,b))a.type=Bra(b)},J1);var K1=function(a,b){this.issueRelationshipApi=a;this.issueApi=b};
K1.prototype.bulkEdit=function(a){var b=this,c,d,e,f,h,l,q,u,x,y,G,L,M;return of(function(T){switch(T.nextAddress){case 1:c=a.actions[0];d=String(c.value);e=a.issueIds;f=c.actionType;if("ADD"!==f&&"REMOVE"!==f)throw Error("ue");h={};l=[];q=[];u=Pra(e);x=m(u.reverse());y=x.next();case 2:if(y.done){T.jumpTo(4);break}G=y.value;pf(T,5);return"ADD"===f?(L=G.map(function(S){return TE(new SE,Number(S))}),T.yield((0,C.firstValueFrom)(SUb(b.issueRelationshipApi,d,L)),8)):T.yield((0,C.firstValueFrom)(TUb(b.issueRelationshipApi,
d,G)),8);case 8:return T.yield(b.issueApi.batchGetIssues(G).then(function(S){return S.map(function(X){return h[X.issueId]=X})}),11);case 11:au(T,3);break;case 5:M=sf(T);if(!Vn(M))throw M;q.push(M);l.push.apply(l,r(G));case 3:y=x.next();T.jumpTo(2);break;case 4:return T.return({finishedIssues:h,notFinishedIssueIds:l,errors:q})}})};K1.\u0275fac=function(a){return new (a||K1)(n(ZE),n(PE))};K1.\u0275prov=Vc({token:K1,factory:K1.\u0275fac,providedIn:"root"});var L1=function(a,b){Z.call(this);this.routerEvents=a;this.bLocation=b;this.history=[]};W(L1,Z);L1.\u0275dir=Z.\u0275dir;L1.prototype.install=function(){var a=this;this.subscriptions.add(this.routerEvents.routeChangeSuccess.subscribe(function(){a.history.push(a.bLocation.url());21<a.history.length&&a.history.shift()}))};L1.prototype.ngOnDestroy=function(){this.subscriptions.unsubscribe()};L1.prototype.hasPreviousPage=function(){return 1<this.history.length};
var M1=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("/")};L1.\u0275fac=function(a){return new (a||L1)(n(vH),n(MG))};L1.\u0275prov=Vc({token:L1,factory:L1.\u0275fac,providedIn:"root"});var N1=function(a,b,c){this.bLocation=a;this.routeParams=b;this.domSafe=c},Ttc=function(a,b,c){var d=a.routeParams.redirectUrl;if(d&&d.startsWith("http")){if(c&&hu(d,"id=")||hu(d,"bugId="))d+=c;QK(a.domSafe,d)}else{var e;a.bLocation.replaceUrl(null!=(e=d)?e:b)}};N1.\u0275fac=function(a){return new (a||N1)(n(MG),n(yJ),n(PK))};N1.\u0275prov=Vc({token:N1,factory:N1.\u0275fac,providedIn:"root"});var O1=function(a,b){Z.call(this);var c=this;this.routerEvents=a;this.documentVisibility=b;this.validNavigations=0;this.ignoringNextNav=!1;this.mostRecentlyMeasured="";this.tabWasHidden=!1;this.onNavStart=function(){c.ignoringNextNav||(OYb("appNavStart"),c.mostRecentlyMeasured="")};this.onNavSuccess=function(){c.ignoringNextNav?c.ignoringNextNav=!1:c.validNavigations++}};W(O1,Z);O1.\u0275dir=Z.\u0275dir;
O1.prototype.install=function(){var a=this;Qo()&&(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(Gf(function(b){return"visible"!==b}),Rf()).subscribe(function(){a.tabWasHidden=!0})))};
var Utc=function(a,b){OYb(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)&&Qo())if(null===b)console.warn("window.performance does not support endMark `null`");else try{window.performance.measure(e,c,b)}catch(f){console.warn("route_performance",f)}}};O1.\u0275fac=function(a){return new (a||O1)(n(vH),n(P1))};
O1.\u0275prov=Vc({token:O1,factory:O1.\u0275fac,providedIn:"root"});var P1=function(a){var b=this;this.window=a;this.visibilityState$=(0,C.fromEvent)(this.window.document,"visibilityChange").pipe(bg(void 0),B(function(){return b.currentVisibility}))};Xi.Object.defineProperties(P1.prototype,{currentVisibility:{configurable:!0,enumerable:!0,get:function(){return this.window.document.visibilityState}}});P1.\u0275fac=function(a){return new (a||P1)(n(EE))};
P1.\u0275prov=Vc({token:P1,factory:P1.\u0275fac,providedIn:"root"});var Vtc=RegExp("action/issues/([0-9]+)/"),Wtc=new Bd("ETAG_URL_TRANSFORMERS"),Q1=function(a){this.transformers=a;this.etagStore={};this.IF_MATCH_METHODS=["POST","PUT","DELETE"]};Q1.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=Vtc.exec(a.url))this.issueId=c[1];return Xtc(this,a,b)};
var Xtc=function(a,b,c){return c.handle(b).pipe(eg(function(d){if(d instanceof iy){var e=d.headers;e.has("etag")&&a.setEtag(b,e.get("etag"));d=d.body;if(d instanceof wUb&&a.issueId)for(d=m(yj(d,pm,1)),e=d.next();!e.done;e=d.next()){e=m(e.value.getAttachmentsList());for(var f=e.next();!f.done;f=e.next())if(f=f.value,f.hasEtag()){var h=a.issueId,l=f.getAttachmentId();h=new gy("GET","action/issues/"+h+"/attachments/"+l);a.setEtag(h,f.getEtag())}}}}))};
Q1.prototype.setEtag=function(a,b){null!=b&&(a=Ytc(this,a),this.etagStore[a]=b)};Q1.prototype.getEtag=function(a){a=Ytc(this,a);return this.etagStore[a]};var Ytc=function(a,b){b=b.url;var c;a=m(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};Q1.\u0275fac=function(a){return new (a||Q1)(n(Wtc,8))};Q1.\u0275prov=Vc({token:Q1,factory:Q1.\u0275fac,providedIn:"root"});var Ztc={provide:ky,useClass:Q1,multi:!0};var $tc={provide:Wtc,useValue:function(a){return a.replace(/(action\/components\/[0-9]+)\/(move|updateSlo|updateTeam)/,"$1")},multi:!0},auc={provide:Wtc,useValue:function(a){return a.replace(/(action\/hotlists\/[0-9]+)\/archive/,"$1")},multi:!0};var R1=function(a){this.activeSession=a};R1.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)};R1.\u0275fac=function(a){return new (a||R1)(n(Vt))};R1.\u0275prov=Vc({token:R1,factory:R1.\u0275fac,providedIn:"root"});var buc={provide:ky,useClass:R1,multi:!0};var S1=function(){};S1.\u0275fac=function(a){return new (a||S1)};S1.\u0275mod=od({type:S1});S1.\u0275inj=Wc({providers:[{provide:hG,useClass:jG},{provide:M0b,useClass:mJ},{provide:nJ,useClass:oJ},{provide:SVb,useClass:wF},{provide:TVb,useClass:vF},{provide:BF,useClass:DF},{provide:J0,useClass:K0},{provide:$H,useClass:bI},{provide:PE,useClass:RE},{provide:MX,useClass:NX},{provide:dH,useClass:gH},{provide:eH,useClass:fH}],imports:[Mw]});var cuc=function(a){this.lookupId_=a;this.displayName_="";this.forceDisplayNameOverride_=!1};g=cuc.prototype;g.getId=function(){return this.lookupId_};g.setDisplayName=function(a){this.displayName_=a;return this};g.getDisplayName=function(){return this.displayName_};g.getForceDisplayNameOverride=function(){return this.forceDisplayNameOverride_};
g.equals=function(a){return a?this===a?!0:this.getId().equals(a.getId())&&this.getDisplayName()===a.getDisplayName()&&this.getForceDisplayNameOverride()===a.getForceDisplayNameOverride():!1};var pt=function(a){Y.call(this,a)};W(pt,Y);pt.prototype.getEntryPoint=function(){return tk(this,5,0)};pt.prototype.setEntryPoint=function(a){return k(this,5,a)};var rt=function(a){Y.call(this,a)};W(rt,Y);rt.prototype.getEntryPoint=function(){return tk(this,1,0)};rt.prototype.setEntryPoint=function(a){return k(this,1,a)};var T1=function(a){Y.call(this,a)};W(T1,Y);T1.prototype.getQuery=function(){return Dk(this,1,"")};T1.prototype.setQuery=function(a){return k(this,1,a)};T1.prototype.clearQuery=function(){qu(this,1)};T1.prototype.hasQuery=function(){return Am(this,1)};var duc=function(a,b){k(a,3,b)};T1.prototype.getAffinityVersion=function(){return zj(this,7)};T1.prototype.setAffinityVersion=function(a){k(this,7,a)};T1.prototype.getAffinityVersionOrUndefined=function(){return tu(this,7)};
var euc=function(a){var b=Lbc();k(a,8,sb(b))};g=T1.prototype;g.getSources=function(){return Ok(this,pt,10)};g.getInstanceId=function(){return Dk(this,11,"")};g.setInstanceId=function(a){return k(this,11,a)};g.clearInstanceId=function(){qu(this,11)};g.hasInstanceId=function(){return Am(this,11)};g.getInstanceIdOrUndefined=function(){return yu(this,11)};var jt=function(a){Y.call(this,a)};W(jt,Y);g=jt.prototype;g.getPersonLoggingId=function(){return Dk(this,1)};g.setPersonLoggingId=function(a){k(this,1,a)};g.getFieldLoggingId=function(){return Dk(this,2)};g.setFieldLoggingId=function(a){k(this,2,a)};g.setFieldValue=function(a){return k(this,3,a)};g.clearFieldValue=function(){return qu(this,3)};g.getName=function(){return Dk(this,4)};g.setName=function(a){return k(this,4,a)};g.hasName=function(){return Am(this,4)};
g.getNameOrUndefined=function(){return yu(this,4)};g.getContactId=function(){return Dk(this,5)};g.setContactId=function(a){k(this,5,a)};g.getProfileId=function(){return Dk(this,6)};g.getProfileId_legacyNullable=function(){return Db(this,6)};g.setProfileId=function(a){return k(this,6,a)};g.hasProfileId=function(){return Am(this,6)};g.getFieldType=function(){return tk(this,7,0)};g.getIsPlaceholder=function(){return Tl(this,10,!1)};g.setIsPlaceholder=function(a){k(this,10,a)};
g.getGroupId=function(){return Dk(this,11)};g.setGroupId=function(a){k(this,11,a)};g.hasGroupId=function(){return Am(this,11)};var it=function(a){Y.call(this,a)};W(it,Y);g=it.prototype;g.getProvenance=function(){return tk(this,3,0)};g.setProvenance=function(a){return k(this,3,a)};g.getContext=function(){return tk(this,5,0)};g.getExistingSelectionsCount=function(){return zj(this,6,0)};g.setExistingSelectionsCount=function(a){k(this,6,a)};var ht=function(a){Y.call(this,a)};W(ht,Y);var As=function(a){return Ok(a,it,2)};ht.prototype.getSessionState=function(){return Ok(this,T1,3)};ht.prototype.setSessionState=function(a){gl(this,T1,3,a)};ht.prototype.hasSessionState=function(){return Hl(this,T1,3)};var U1=function(a,b){this.name_=b||"";this.address=a||""},fuc=/"/g,guc=/\\"/g,huc=/\\/g,iuc=/\\\\/g,juc=RegExp("^[+a-zA-Z0-9_.!#$%&'*\\/=?^`{|}~-]+@([a-zA-Z0-9-]+\\.)+[a-zA-Z0-9]{2,63}$"),kuc=new RegExp("["+Sba({LRE:"\u202a",RLE:"\u202b",PDF:"\u202c",LRM:"\u200e",RLM:"\u200f"}).join("")+"]","g");U1.prototype.getName=function(){return this.name_};U1.prototype.getAddress=function(){return this.address};U1.prototype.setName=function(a){this.name_=a};U1.prototype.toString=function(){return luc(this,'()<>@:\\".[],;')};
var luc=function(a,b){var c=a.getName();c=c.replace(fuc,"");a:{for(var d=c,e=0;e<b.length;e++)if(ka(d,b[e])){b=!0;break a}b=!1}b&&(c='"'+c.replace(huc,"\\\\")+'"');return""==c?a.address:""==a.address?c:c+" <"+a.address+">"};U1.prototype.isValid=function(){return juc.test(this.address)};
var ouc=function(a){var b=muc;a=a.replace(kuc,"");for(var c="",d="",e=0;e<a.length;){var f=a;var h=e,l=f.charAt(h),q='"<(['.indexOf(l);if(-1==q||nuc(f,h))f=l;else{q='">)]'.charAt(q);for(var u=f.indexOf(q,h+1);0<=u&&nuc(f,u);)u=f.indexOf(q,u+1);f=0<=u?f.substring(h,u+1):l}"<"==f.charAt(0)&&-1!=f.indexOf(">")?(d=f.indexOf(">"),d=f.substring(1,d)):""==d&&(c+=f);e+=f.length}""==d&&-1!=c.indexOf("@")&&(d=c,c="");c=DEb(c);c=EEb(c,"'");c=EEb(c,'"');c=c.replace(guc,'"');c=c.replace(iuc,"\\");d=DEb(d);return new b(d,
c)},nuc=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 muc=function(a,b){U1.call(this,a,b)};gu(muc,U1);var puc=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}$");muc.prototype.isValid=function(){return quc(this.address)};var quc=function(a){return null==a?!1:puc.test(a)};muc.prototype.toString=function(){return luc(this,'()<>@:\\".[],;\u055d\u060c\u1363\u1802\u1808\u2e41\u3001\uff0c\u061b\u1364\uff1b\uff64\u104a')};var ruc=/[^a-z0-9]+/ig,suc=[9,11,10,12,13,14,15,16,19],tuc=[9,19,11],uuc=[1,6],vuc=[2,7],wuc=[3,8],xuc=[1,2,6,7,8,9,11,10,12,13,14,15,16,18,19],Fbb=[3,4,5,17,20],Ys=function(a,b,c){this.type_=a;this.value_=Mr(b);this.originalValue_=Mr(void 0===c?b:c)};Ys.prototype.getType=function(){return this.type_};Ys.prototype.getValue=function(){return this.value_};Ys.prototype.getOriginalValue=function(){return this.originalValue_};
var Es=function(a){return suc.includes(a.getType())},Fs=function(a){return tuc.includes(a.getType())},Ss=function(a,b){switch(a){case 1:return Vs(b);case 6:return new Ys(6,Mr(b).toLowerCase(),b);case 2:return Sbb(b);case 7:return Tbb(b);case 3:return Cbb(b);case 8:return new Ys(8,Mr(b).toLowerCase(),b);case 5:return new Ys(5,Mr(b).toLowerCase(),b);case 4:return Dbb(b);case 9:return yuc(b);case 12:return new Ys(12,Mr(b),b);case 13:return new Ys(13,Mr(b),b);case 14:return new Ys(14,Mr(b),b);case 15:return new Ys(15,
Mr(b),b);case 16:return new Ys(16,Mr(b),b);case 10:return new Ys(10,Mr(b),b);case 11:return new Ys(11,Mr(b),b);case 18:return Ebb(b);case 19:return new Ys(19,Mr(b),b);case 20:return new Ys(20,Mr(b),b);case 17:return zuc;default:return new Ys(0,b)}},Vs=function(a){return new Ys(1,Mr(a).toLowerCase(),a)},Sbb=function(a){var b=Mr(a).toLowerCase().replace(ruc,"");return new Ys(2,b,a)},Cbb=function(a){var b=Mr(a).toLowerCase();return"me"===b?zuc:new Ys(3,b,a)},Dbb=function(a){return new Ys(4,Mr(a).toLowerCase(),
a)},Tbb=function(a){var b=Mr(a).toLowerCase().replace(ruc,"");return new Ys(7,b,a)},yuc=function(a){return new Ys(9,Mr(a).toLowerCase(),a)},Ebb=function(a){return new Ys(18,Mr(a),a)},Auc=function(a){var b=a.indexOf(":");return Ss(0<b?parseInt(a.substring(0,b),10):0,a.substring(b+1))};Ys.prototype.toString=function(){return this.getType()+":"+this.getValue()};Ys.prototype.equals=function(a){return a?this===a?!0:this.getType()===a.getType()&&this.getValue()===a.getValue():!1};
var $s=Ss(0,""),zuc=new Ys(17,"me");var V1=function(a){Y.call(this,a,2)};W(V1,Y);V1.prototype.deleteData=function(a){qb(this);var b=Lb(this,1,!0,Bb);b&&b.delete(a);return this};var gt=function(a){Y.call(this,a)};W(gt,Y);g=gt.prototype;g.getType=function(){return tk(this,1,0)};g.setType=function(a){return k(this,1,a)};g.hasType=function(){return nl(this,1)};g.getValue=function(){return Dk(this,2,"")};g.setValue=function(a){return k(this,2,a)};g.hasValue=function(){return Am(this,2)};var W1=function(a){Y.call(this,a)};W(W1,Y);g=W1.prototype;g.getEnableClearcut=function(){return Tl(this,1,!1)};g.setEnableClearcut=function(a){return k(this,1,a)};g.getClientId=function(){return tk(this,2,0)};g.setClientId=function(a){return k(this,2,a)};g.getSocialApplication=function(){return tk(this,3,0)};g.getSocialApplicationOrUndefined=function(){return qt(this,3)};g.getComponentFlow=function(){return tk(this,4,0)};g.setComponentFlow=function(a){return k(this,4,a)};
g.getInterfaceType=function(){return tk(this,5,0)};g.setInterfaceType=function(a){return k(this,5,a)};var X1=function(a){Y.call(this,a)};W(X1,Y);var Y1=function(a){Y.call(this,a)};W(Y1,Y);Y1.prototype.getApplication=function(){return tk(this,1,0)};Y1.prototype.setApplication=function(a){return k(this,1,a)};Y1.prototype.getApplicationOrUndefined=function(){return qt(this,1)};Y1.prototype.getIsEnabled=function(){return Tl(this,2,!1)};var Buc=function(a){Y.call(this,a)};W(Buc,Y);g=Buc.prototype;g.getClearcut=function(){return Ok(this,W1,1)};g.setClearcut=function(a){gl(this,W1,1,a)};g.hasClearcut=function(){return Hl(this,W1,1)};g.getExperiments=function(){return Ok(this,Y1,2)};g.setExperiments=function(a){gl(this,Y1,2,a)};g.hasExperiments=function(){return Hl(this,Y1,2)};var Cuc=lc(Buc);var Duc;var Euc=function(){this.actionListeners=new Map};Euc.prototype.subscribe=function(a,b){this.actionListeners.has(a)?this.actionListeners.get(a).push(b):this.actionListeners.set(a,[b])};Euc.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)}};
Euc.prototype.notify=function(a){var b=yd.apply(1,arguments);if(this.actionListeners.has(a)){var c=this.actionListeners.get(a);c=m(c);for(var d=c.next();!d.done;d=c.next()){d=d.value;try{d.apply(null,b)}catch(e){}}}};var Fuc=function(){this.actionEventDispatcher=new Euc};var Guc=function(){var a=Cb(Duc||(Duc=Cuc("[[true,49,740,4],[7,true]]")));this.injectorService=new Fuc;a.hasClearcut()||a.setClearcut(new W1);a.hasExperiments()||a.setExperiments(new Y1);this.internal=a};var w9a=function(a){this.root=a;this.length=0};g=w9a.prototype;g.getItems=function(){return Array.from(this.root.childNodes)};g.append=function(a){this.root.appendChild(a);++this.length};g.insert=function(a,b){if(0>a||a>this.length)throw new RangeError("ve");if(a===this.length)this.append(b);else{var c=this.getItems();this.root.insertBefore(b,c[a]);++this.length}};g.remove=function(a){if(0>a||a>=this.length)throw new RangeError("ve");var b=this.getItems();this.root.removeChild(b[a]);--this.length};
g.clear=function(){KNb(this.root);this.length=0};g.getRoot=function(){return this.root};var u9a=function(a){return ls('<ul id="'+ms(a.id)+'" peoplekit-id="'+ms("rymPhb")+'" role="listbox" aria-multiselectable="true" class="'+ms("peoplekitComponentsListImplList")+'"></ul>')};var v9a=Zr.getInstance();var Z1=function(a){this.event=a;this.hasStoppedPropagationInternal=!1};Z1.prototype.stopPropagation=function(){this.event.stopPropagation();this.hasStoppedPropagationInternal=!0};Z1.prototype.preventDefault=function(){this.event.preventDefault()};var z9a=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=Rr(this)};g=z9a.prototype;
g.attach=function(a,b){var c=this;this.detach();this.navigatable=b;this.input=a;this.eventHandler.listen(this.input,"keydown",function(d){return c.onKeyDown(new Z1(d))});this.eventHandler.listen(this.input,"contextmenu",function(d){return c.onContextMenu(new Z1(d))});this.eventHandler.listen(this.input,"blur",function(){return c.onBlur()})};g.detach=function(){this.eventHandler.removeAll();this.navigatable=this.input=null};
g.onKeyDown=function(a){if(this.navigatable&&(this.navigatable.onKeyDown(a),!a.hasStoppedPropagationInternal))switch(a.event.keyCode){case 40:this.navigatable.next(0)||this.navigatePastEndCallback();a.stopPropagation();a.preventDefault();break;case 38:this.navigatable.prev(0)||this.navigatePastBeginCallback();a.stopPropagation();a.preventDefault();break;case 36:if(!this.options.shouldReactToHomeEnd)break;this.navigatable.goToIndex(0,0);a.stopPropagation();a.preventDefault();break;case 35:this.options.shouldReactToHomeEnd&&
(this.navigatable.goToIndex(this.navigatable.size()-1,0),a.stopPropagation(),a.preventDefault())}};g.onClick=function(a,b){if(!this.navigatable)return!1;this.navigatable.goToItem(a,0);b.stopPropagation();return!0};g.onContextMenu=function(a){if(this.navigatable)this.navigatable.onContextMenu(a,function(){})};g.reset=function(){this.navigatable&&this.navigatable.reset()};g.onBlur=function(){this.reset()};var L9a=function(a){this.isActive=!1;this.multiActivateAnchorIndex=this.spotlightIndex=-1;this.secondaryEventTargets=[];this.list=[].concat(r(a));this.activeItems=new Set([]);this.hideContextMenu=function(){}};g=L9a.prototype;
g.remove=function(a,b){var c=-1;a=m(a);for(var d=a.next();!d.done;d=a.next())d=d.value,c=this.list.indexOf(d),this.list.splice(c,1),this.activeItems.delete(d),b||(c<this.spotlightIndex?--this.spotlightIndex:c===this.spotlightIndex&&this.reset());0<=c&&b&&(this.isActive=!1,this.goToIndex(c,0))};
g.insert=function(a,b,c){this.list.splice.apply(this.list,[a,0].concat(r(b)));c?(Huc(this),Iuc(this,a,a+b.length-1),this.spotlightIndex=a,this.list[this.spotlightIndex].spotlight()):0<=a&&a<=this.spotlightIndex&&(this.spotlightIndex+=b.length)};g.size=function(){return this.list.length};g.prev=function(a){var b=0===this.spotlightIndex&&1===a;!this.list.length||b?a=!1:(this.isActive?(b=this.spotlightIndex-1,b=0<=b?b:this.list.length+b):b=this.list.length-1,a=this.goToIndex(b,a));return a};
g.next=function(a){var b=this.spotlightIndex===this.list.length-1&&1===a;if(!this.list.length||b)a=!1;else{var c;this.isActive?c=(this.spotlightIndex+1)%this.list.length:c=0;a=this.goToIndex(c,a)}return a};g.goToItem=function(a,b){a=this.list.indexOf(a);return this.goToIndex(a,b)};
g.goToIndex=function(a,b){this.hideContextMenu();if(!this.list.length||void 0===a||0>a)return!1;var c=this.isActive?this.spotlightIndex:-1;this.spotlightIndex=Math.max(Math.min(this.list.length-1,a),0);this.isActive&&this.list[c].unspotlight();this.isActive||(this.multiActivateAnchorIndex=a);this.isActive=!0;switch(b){case 0:Huc(this);Juc(this);break;case 3:Juc(this);break;case 1:a=B9a(this.spotlightIndex,c,this.multiActivateAnchorIndex);b=B9a(this.multiActivateAnchorIndex,c,this.spotlightIndex);
if(0<=c&&(a||b||this.multiActivateAnchorIndex===this.spotlightIndex))for(b=b?this.multiActivateAnchorIndex:this.spotlightIndex,c<b?(a=c,c=b-1):a=b+1;a<=c;a++)b=this.list[a],b.deactivate(),this.activeItems.delete(b);Iuc(this,this.multiActivateAnchorIndex,this.spotlightIndex)}this.list[this.spotlightIndex].spotlight();return!0};g.getSpotlitItem=function(){return this.isActive?this.list[this.spotlightIndex]:void 0};g.getActiveItems=function(){var a=this;return this.list.filter(function(b){return a.activeItems.has(b)})};
g.getItem=function(a){for(var b=m(this.list),c=b.next();!c.done;c=b.next()){c=c.value;var d=c.getRoot();if(d===a||d.contains(a))return c}};g.clear=function(){this.reset();this.list.length=0};g.reset=function(){this.hideContextMenu();Huc(this);var a=this.getSpotlitItem();a&&a.unspotlight();this.spotlightIndex=-1;this.isActive=!1};g.setSecondaryEventTargets=function(a){this.secondaryEventTargets=a};
g.onKeyDown=function(a){var b=[this.getSpotlitItem()].concat(r(this.secondaryEventTargets));b=m(b);for(var c=b.next();!c.done;c=b.next()){var d=void 0;null==(d=c.value)||d.onKeyDown(a);if(a.hasStoppedPropagationInternal)break}};g.onContextMenu=function(a,b){this.hideContextMenu();var c=a.event;if(c=c.target===c.currentTarget?this.getSpotlitItem():this.getItem(c.target))this.hideContextMenu=c.onContextMenu(a,b)};
var Juc=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},Huc=function(a){for(var b=m(a.activeItems),c=b.next();!c.done;c=b.next())c=c.value,c.deactivate(),c.unspotlight();a.activeItems.clear()},Iuc=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 Kuc=function(a){this.delegate=a};g=Kuc.prototype;g.prev=function(a){a=this.delegate.prev(a);Luc(this);return a};g.next=function(a){a=this.delegate.next(a);Luc(this);return a};g.size=function(){return this.delegate.size()};g.goToItem=function(a,b){a=this.delegate.goToItem(a,b);Luc(this);return a};g.goToIndex=function(a,b){a=this.delegate.goToIndex(a,b);Luc(this);return a};g.getSpotlitItem=function(){return this.delegate.getSpotlitItem()};g.getActiveItems=function(){return this.delegate.getActiveItems()};
g.getItem=function(a){return this.delegate.getItem(a)};g.clear=function(){this.delegate.clear()};g.reset=function(){this.delegate.reset()};g.setSecondaryEventTargets=function(a){this.delegate.setSecondaryEventTargets(a)};g.onKeyDown=function(a){this.delegate.onKeyDown(a)};g.onContextMenu=function(a,b){this.delegate.onContextMenu(a,b)};g.remove=function(a,b){this.delegate.remove(a,b)};g.insert=function(a,b,c){this.delegate.insert(a,b,c)};
var Luc=function(a){if(a=a.delegate.getSpotlitItem())if(a=a.getRoot(),iu){var b=Rec(a);Uec(a,b)}else a.scrollIntoView({block:"nearest"})};var Y9a=function(a){this.root=a;this.length=0;a=this.root;if(void 0!==a.firstElementChild)a=a.firstElementChild;else for(a=a.firstChild;a&&1!=a.nodeType;)a=a.nextSibling;this.marker=a};g=Y9a.prototype;g.append=function(a){this.root.insertBefore(a,this.marker);++this.length};g.insert=function(a,b){if(0>a||a>this.length)throw new RangeError("ve");a===this.length?this.append(b):(this.root.insertBefore(b,this.root.childNodes[a]),++this.length)};
g.remove=function(a){if(0>a||a>=this.length)throw new RangeError("ve");this.removeItem(this.root.childNodes[a])};g.removeItem=function(a){try{this.root.removeChild(a),--this.length}catch(b){}};g.clear=function(){for(;this.root.firstChild&&this.root.firstChild!==this.marker;)this.root.removeChild(this.root.firstChild);this.length=0};g.getRoot=function(){return this.root};g.getItems=function(){return Array.from(this.root.childNodes)};var Muc=function(a,b,c,d){this.loggingToken=d;(new cuc(a)).setDisplayName(b).forceDisplayNameOverride_=c};Muc.prototype.getLoggingToken=function(){return this.loggingToken};var a2=function(a){this.delegate_=a};g=a2.prototype;g.getDelegate=function(){return this.delegate_};g.getResultType=function(){return this.delegate_.getResultType()};g.getTargetList=function(){return this.delegate_.getTargetList()};g.getMemberList=function(){return this.delegate_.getMemberList()};g.getTotalMemberCount=function(){return this.delegate_.getTotalMemberCount()};g.getPrimaryTarget=function(){return this.delegate_.getPrimaryTarget()};g.getDisplayName=function(){return this.delegate_.getDisplayName()};
g.getDisplayValue=function(){return this.delegate_.getDisplayValue()};g.getDescription=function(){return this.delegate_.getDescription()};g.getPhotoUrl=function(){return this.delegate_.getPhotoUrl()};g.getMatchInfo=function(){return this.delegate_.getMatchInfo()};g.getExtendedData=function(){return this.delegate_.getExtendedData()};var Vr=function(a){this.delegate_=a};W(Vr,a2);g=Vr.prototype;g.getPrimaryTarget=function(){return this.getTargetList()[0]};g.getDisplayName=function(){var a=this.getPrimaryTarget();return a?(a=a.getName())?a.getDisplayName():"":""};g.getPhotoUrl=function(){var a=this.getPrimaryTarget();return a?(a=a.getPhoto())?a.getUrl():"":""};g.getDisplayValue=function(){var a=this.getPrimaryTarget();return a?a.getDisplayValue():""};
g.getDescription=function(){var a=this.getPrimaryTarget();return a?a.getDescription():""};var Nuc=function(){};Nuc.prototype.getDisplayNameMatches=function(){return[]};Nuc.prototype.getDisplayValueMatches=function(){return[]};Nuc.prototype.getGivenNameMatches=function(){return[]};var Ouc=new Nuc;var C9a=function(a,b,c){this.resultType_=a;this.targets_=b;this.memberCount_=c};g=C9a.prototype;g.getResultType=function(){return this.resultType_};g.getTargetList=function(){return this.targets_};g.getMemberList=function(){return[]};g.getTotalMemberCount=function(){return this.memberCount_};g.getPrimaryTarget=function(){throw Error("xe");};g.getDisplayName=function(){return""};g.getDisplayValue=function(){return""};g.getDescription=function(){return""};g.getPhotoUrl=function(){return""};
g.getMatchInfo=function(){return Ouc};g.getExtendedData=function(){return null};var Puc=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 Us=function(){this.url_="";this.sourceType_=this.type_=0;this.glyph_=""};g=Us.prototype;g.getUrl=function(){return this.url_};g.setUrl=function(a){this.url_=a||"";return this};g.getType=function(){return this.type_};g.setType=function(a){this.type_=a;return this};g.getSourceType=function(){return this.sourceType_};g.setSourceType=function(a){this.sourceType_=a||0;return this};g.getGlyph=function(){return this.glyph_};g.setGlyph=function(a){this.glyph_=a||"";return this};
var Quc=(new Us).setType(1).setUrl("https://lh3.googleusercontent.com/a/default-user"),Ruc=new Us;var b2=function(a){this.id_=a;this.value_=this.id_.getOriginalValue();this.description_="";this.name_=null;this.photo_=Es(this.id_)?Ruc:Quc;this.tags_=[];this.sourceIds_=Fbb.includes(this.id_.getType())?[this.id_]:[];8===this.id_.getType()&&this.sourceIds_.push(Cbb(this.id_.getOriginalValue()));this.isMe_=17===this.id_.getType();this.dataSource_=0;this.resultType_=Puc.get(this.id_.getType())||0;this.personLoggingId_=this.fieldLoggingId_="";this.orgState_=0;this.extendedData_=this.originatingField_=
null};g=b2.prototype;g.getId=function(){return this.id_};g.getTargetType=function(){return this.id_.getType()};g.getValue=function(){return this.value_};g.setValue=function(a){this.value_=(a||"").trim();return this};g.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""}};g.getName=function(){return this.name_};g.setName=function(a){this.name_=a;return this};
g.getDescription=function(){return this.description_};g.setDescription=function(a){this.description_=a||"";return this};g.getPhoto=function(){return this.photo_};g.setPhoto=function(a){a&&a.getUrl()&&1!==a.getType()?this.photo_=a:this.photo_=Es(this.id_)?Ruc:Quc};g.getTagList=function(){return this.tags_};var Mbb=function(a,b){a.tags_=b||[]};g=b2.prototype;g.getSourceIdList=function(){return this.sourceIds_};
g.getProfileId=function(){return this.getSourceIdList().filter(function(a){return 3===a.getType()}).map(function(a){return a.getOriginalValue()}).find(Boolean)||""};g.getContactId=function(){return this.getSourceIdList().filter(function(a){return 4===a.getType()}).map(function(a){return a.getOriginalValue()}).find(Boolean)||""};g.getLoggingToken=function(){return new ht};g.getIsMe=function(){return this.isMe_};var Ibb=function(a,b){a.isMe_=b;return a};
b2.prototype.getIsPersonalResult=function(){return 1===this.dataSource_};b2.prototype.getDataSource=function(){return this.dataSource_};b2.prototype.setDataSource=function(a){this.dataSource_=a;return this};b2.prototype.getResultType=function(){return this.resultType_};var Jbb=function(a,b){a.resultType_=b};g=b2.prototype;g.getFieldLoggingId=function(){return this.fieldLoggingId_};g.setFieldLoggingId=function(a){this.fieldLoggingId_=a||""};g.getPersonLoggingId=function(){return this.personLoggingId_};
g.setPersonLoggingId=function(a){this.personLoggingId_=a||""};g.getOrgState=function(){return this.orgState_};var Lbb=function(a,b){a.orgState_=b};b2.prototype.getOriginatingField=function(){return this.originatingField_};var rcb=function(a,b){a.originatingField_=b;return a},Ts=function(a){return new b2(a)};b2.prototype.getExtendedData=function(){return this.extendedData_};var Obb=function(a,b){a.extendedData_=b};var Suc=function(a){this.internalId=a;this.displayNameOverride="";this.forceDisplayNameOverride=!1;a=Ts(this.internalId).setDataSource(3);this.internalResult=new Vr(D9a(0,[a]));this.internalSelectionToken=new Muc(this.internalId,this.displayNameOverride,this.forceDisplayNameOverride,null)};g=Suc.prototype;g.id=function(){return this.internalId};g.selectionToken=function(){return this.internalSelectionToken};g.targets=function(){return this.internalResult.getTargetList()};g.result=function(){return this.internalResult};
g.getForceDisplayNameOverride=function(){return this.forceDisplayNameOverride};g.getDisplayNameWithOverrideApplied=function(){return this.displayNameOverride};g.isPlaceholder=function(){return!0};var J9a=function(a,b){this.root=a;this.options=b};g=J9a.prototype;g.activate=function(){this.root.classList.add("isActive")};g.deactivate=function(){this.root.classList.remove("isActive")};g.spotlight=function(){};g.unspotlight=function(){};g.getRoot=function(){return this.root};g.getSelection=function(){return new Suc(Ebb(this.options.id))};g.toggleSelection=function(){};g.onKeyDown=function(){};g.onContextMenu=function(){return function(){}};var I9a=function(a){var b=a.keyboardShortcut,c=a.densityClass,d=a.id,e=a.iconUrl;a=a.label;Array.isArray(b);b='<div role="menuitem" id="'+ms(d)+'" peoplekit-id="'+ms("UhZROb")+'" class="'+ms("peoplekitComponentsContextmenuitemImplMenuItem")+" "+ms(c)+'"><div class="'+ms("peoplekitComponentsContextmenuitemImplRow")+'">'+(e?'<img class="'+ms("peoplekitComponentsContextmenuitemImplIcon")+" "+ms("peoplekitComponentsContextmenuitemImplLeft")+'" src="'+ms(iec(e))+'" draggable="false" alt=""/>':"")+'<div class="'+
ms("peoplekitComponentsContextmenuitemImplLabel")+" "+ms("peoplekitComponentsContextmenuitemImplCenter")+'">'+ns(a)+"</div>"+(0<b.length?'<div class="'+ms("peoplekitComponentsContextmenuitemImplKeyboardShortcut")+" "+ms("peoplekitComponentsContextmenuitemImplRight")+'"><span dir="ltr">'+ns(Udc(b).join("+"))+"</span></div>":"")+"</div></div>";return ls(b)};var E9a=Zr.getInstance();var Tuc=["pk-select","pk-deselect","pk-click","pk-input"],Uuc=new Map([["pk-select",3],["pk-deselect",3],["pk-click",3],["pk-input",15]]);var F9a=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 $r=function(a,b){this.ariaParent=a;this.delegate=b};g=$r.prototype;g.update=function(){var a=this.getSpotlitItem();a?(a=a.getRoot(),IM(this.ariaParent,a)):IM(this.ariaParent,null)};g.prev=function(a){a=this.delegate.prev(a);this.update();return a};g.next=function(a){a=this.delegate.next(a);this.update();return a};g.size=function(){return this.delegate.size()};g.goToItem=function(a,b){a=this.delegate.goToItem(a,b);this.update();return a};
g.goToIndex=function(a,b){a=this.delegate.goToIndex(a,b);this.update();return a};g.getSpotlitItem=function(){return this.delegate.getSpotlitItem()};g.getActiveItems=function(){return this.delegate.getActiveItems()};g.getItem=function(a){return this.delegate.getItem(a)};g.clear=function(){this.delegate.clear();this.update()};g.reset=function(){this.delegate.reset();this.update()};g.setSecondaryEventTargets=function(a){this.delegate.setSecondaryEventTargets(a)};g.onKeyDown=function(a){this.delegate.onKeyDown(a)};
g.onContextMenu=function(a,b){var c=this;this.delegate.onContextMenu(a,function(){c.update();b()})};g.remove=function(a,b){this.delegate.remove(a,b);this.update()};g.insert=function(a,b,c){this.delegate.insert(a,b,c);this.update()};var Vuc=Object.freeze(new cs(NaN,NaN)),Wuc=Object.freeze(new KS(NaN,NaN,NaN,NaN)),hs=function(a,b,c){this.root=a;this.requestHide=b;this.options=c;this.lastPosition=Vuc;this.lastBounds=Wuc;this.anchorUpdateTimer=new YB(15);this.eventHandler=Rr(this);this.attach()};hs.prototype.attach=function(){var a=this;this.eventHandler.listen(this.anchorUpdateTimer,"tick",function(){return Xuc(a)})};hs.prototype.isShown=function(){return"none"!=this.root.style.display};
hs.prototype.dispose=function(){this.hide();this.eventHandler.removeAll()};hs.prototype.show=function(a){this.anchor=a;this.lastPosition=Vuc;this.lastBounds=Wuc;OS(this.root,!0);Xuc(this);this.anchorUpdateTimer.start()};
var Xuc=function(a){var b;if((b=a.anchor)&&!(b=!a.lastPosition.equals(NS(a.anchor)))){b=a.lastBounds;var c=as(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=as(c),(c=bs(c))&&b.intersection(O9a(c))){c=a.anchor;b=a.root;var d=a.options,e=d.anchorCorner||9,f=d.popupCorner||8;d=void 0===d.moveAboveAnchorIfOffscreen?!0:d.moveAboveAnchorIfOffscreen;gs(b,"","");b.style.height=MS("",!0);var h=S9a(c,e,b,f,d);c=S9a(c,e^1,b,f^1,d);h.height>=c.height||
!d?V9a(b,h):V9a(b,c);a.lastPosition=NS(a.anchor);a.lastBounds=as(a.root)}else a.requestHide()};hs.prototype.hide=function(){this.root.style.cssText="";OS(this.root,!1);this.anchorUpdateTimer.stop();this.lastPosition=Vuc;this.lastBounds=Wuc};var Yuc=new AB;Yuc.altKey=!0;Yuc.keyCode=39;(new AB).keyCode=13;var Zuc=function(){hj.call(this)};W(Zuc,hj);Zuc.prototype.init=function(){};new Zuc;var $uc=!iu&&!caa(),avc=function(a,b){if(/-[a-z]/.test(b))return null;if($uc&&a.dataset){if(daa()&&!(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 is=function(a,b,c,d,e){var f=this;this.root=a;this.anchor=b;this.container=d;this.appearanceConfig=e;this.popup=W9a(this.root,function(){f.hide()},{});this.navigatable=M9a(c);this.navigationEventHandler=A9a({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=Rr(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()};
is.prototype.append=function(a){var b=this;this.contextMenuItemOptions.set(a.id,a);var c=K9a(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(Sr("pk-click",e))}d.stopPropagation();bvc(b,a);b.hide()});this.navigatable.insert(this.navigatable.size(),[c],!1)};
is.prototype.show=function(){for(var a=m(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)};is.prototype.hide=function(){this.popup.hide();this.navigatable.reset();this.navigationEventHandler.detach();for(var a=m(this.afterHideCallbacks.values()),b=a.next();!b.done;b=a.next())b=b.value,b()};
is.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(Sr("pk-click",c));b=b.getSelection().id().getValue();b=this.contextMenuItemOptions.get(b);bvc(this,b);this.hide();a.stopPropagation()}}};
var cvc=function(a,b){a.itemSelectedCallbacks.add(b)},dvc=function(a,b){a.afterHideCallbacks.add(b)},bvc=function(a,b){a=m(a.itemSelectedCallbacks.values());for(var c=a.next();!c.done;c=a.next())c=c.value,c(b)};is.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 X9a=function(){return ls('<div peoplekit-id="'+ms("xl07Ob")+'" class="'+ms("peoplekitComponentsContextmenuImplMenu")+'" role="menu"></div>')};var evc=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"),fvc=/^(https?:)?\/\/sp[1-4]\.((ggpht)|(googleusercontent))\.com\//i,gvc=/^(https?:)?\/\/(qa(-red|-blue)?|dev2?|image-dev)(-|\.)lighthouse(-auth)?\.sandbox\.google\.com\//i,hvc=/^(https?:)?\/\/lighthouse-(qa(-red|-blue)?|dev2)\.corp\.google\.com\//i;var ivc=/\/\/lh[3-6]\./,jvc=function(a,b,c,d){var e;(e=!a)||(e=String(a),e=!(evc.test(e)||fvc.test(e)||gvc.test(e)||hvc.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(ivc,"//lh3.");return(new LK(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 a$a=function(a){var b=a.imageUrls,c=a.backupUrl,d=a.size,e=a.preloadSize,f=a.pixelRatio;Array.isArray(b);a=ls;var h='<div class="'+ms("peoplekitComponentsAvatarImplAvatarContainer")+'" style="width: '+ms(DS(d))+"px; height: "+ms(DS(d))+'px"><div peoplekit-id="'+ms("YLEF4c")+'" class="'+ms("peoplekitComponentsAvatarImplAvatar")+'" style="width: '+ms(DS(d))+"px; height: "+ms(DS(d))+'px">';Array.isArray(b);1==b.length?(Array.isArray(b),b=ls('<div class="'+ms("peoplekitComponentsAvatarImplContainer")+
'">'+c2(b[0],c,d,e,f)+"</div>")):2==b.length?(Array.isArray(b),b=ls('<div class="'+ms("peoplekitComponentsAvatarImplContainer")+'"><div class="'+ms("peoplekitComponentsAvatarImplColumn")+'">'+c2(b[0],c,d,e,f)+"</div>"+d2()+'<div class="'+ms("peoplekitComponentsAvatarImplColumn")+'">'+c2(b[1],c,d,e,f)+"</div></div>")):3==b.length?(Array.isArray(b),b=ls('<div class="'+ms("peoplekitComponentsAvatarImplContainer")+'"><div class="'+ms("peoplekitComponentsAvatarImplColumn")+'">'+c2(b[0],c,d,e,f)+"</div>"+
d2()+'<div class="'+ms("peoplekitComponentsAvatarImplColumn")+'"><div class="'+ms("peoplekitComponentsAvatarImplRow")+'">'+c2(b[1],c,Math.round(.5*d),e,f)+"</div>"+d2()+'<div class="'+ms("peoplekitComponentsAvatarImplRow")+'">'+c2(b[2],c,Math.round(.5*d),e,f)+"</div></div></div>")):(Array.isArray(b),b=ls('<div class="'+ms("peoplekitComponentsAvatarImplContainer")+'"><div class="'+ms("peoplekitComponentsAvatarImplColumn")+'"><div class="'+ms("peoplekitComponentsAvatarImplRow")+'">'+c2(b[0],c,Math.round(.5*
d),e,f)+"</div>"+d2()+'<div class="'+ms("peoplekitComponentsAvatarImplRow")+'">'+c2(b[2],c,Math.round(.5*d),e,f)+"</div></div>"+d2()+'<div class="'+ms("peoplekitComponentsAvatarImplColumn")+'"><div class="'+ms("peoplekitComponentsAvatarImplRow")+'">'+c2(b[1],c,Math.round(.5*d),e,f)+"</div>"+d2()+'<div class="'+ms("peoplekitComponentsAvatarImplRow")+'">'+c2(b[3],c,Math.round(.5*d),e,f)+"</div></div></div>"));b=ls(b);return a(h+b+'</div><div peoplekit-id="'+ms("Btuy5e")+'" class="'+ms("peoplekitComponentsAvatarImplAvatarBadge")+
'">'+ls('<img class="'+ms("peoplekitComponentsAvatarImplBadgeIconImage")+'" peoplekit-id="'+ms("m6fZne")+'" draggable="false" alt="">')+"</div></div>")},c2=function(a,b,c,d,e){var f=gec(jvc(a,c,c,e));f=Vdc(f);a=gec(jvc(a,d,d,e));a=Vdc(a);b=gec(jvc(b,c,c,e));b=Vdc(b);f='<div peoplekit-id="'+ms("IHgMKc")+'" class="'+ms("peoplekitComponentsAvatarImplImageRoot")+'"><img peoplekit-id="'+ms("HiaYvf")+'" class="'+ms("peoplekitComponentsAvatarImplImage")+'" style="width: '+ms(DS(c))+"px; height: "+ms(DS(c))+
'px;" data-preload-src="'+ms(a)+'" data-src="'+ms(f)+'" data-backup-src="'+ms(b)+'" draggable="false" alt="">';c=ls('<svg xmlns="http://www.w3.org/2000/svg" height="'+ms(c)+'px" viewBox="0 0 24 24" width="'+ms(c)+'px" class="'+ms("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 ls(f+c+"</div>")},d2=function(){return ls('<div class="'+ms("peoplekitComponentsAvatarImplDivider")+'"></div>')};var kvc=new Map([[0,"light_theme"],[1,"dark_theme"]]);var lvc=new Map([[1,"badge_active"],[2,"badge_inactive"],[3,"badge_idle"],[4,"badge_do_not_disturb"],[5,"badge_video"]]),mvc=new Map([[1,"Active."],[2,"Inactive."],[3,"Idle."],[4,"Do Not Disturb."],[5,"In Video Call."]]),c$a=function(a,b){this.appearance=b;this.root=a;nvc(this)};g=c$a.prototype;
g.setBadge=function(a){var b=Pr(this.root,"Btuy5e");if(0===a.badgeType)b.classList.remove("visible");else{var c=lvc.get(a.badgeType)||"";if(c){var d=this.appearance.getTheme();c="https://www.gstatic.com/people/peoplekit/icons/"+(kvc.get(d)||"light_theme")+"/"+c+".svg"}else c="";a=mvc.get(a.badgeType)||"";d=Pr(b,"m6fZne");c&&(d.src=c);d.alt=a;b.classList.add("visible")}};g.getAllIds=function(){return[]};g.updateWaldo=function(){};g.updateHubAvailabilityDot=function(){};
g.getSupportedIntelligenceFeatures=function(){return[]};g.initializeIntelligence=function(){};
var nvc=function(a){var b={};a=m(Array.from(a.root.querySelectorAll('[peoplekit-id="IHgMKc"]')));for(var c=a.next();!c.done;b={$jscomp$loop$prop$img$2309:b.$jscomp$loop$prop$img$2309,$jscomp$loop$prop$src$2307:b.$jscomp$loop$prop$src$2307,$jscomp$loop$prop$imageRoot$2311:b.$jscomp$loop$prop$imageRoot$2311,$jscomp$loop$prop$backupSrc$2310:b.$jscomp$loop$prop$backupSrc$2310},c=a.next())b.$jscomp$loop$prop$imageRoot$2311=c.value,b.$jscomp$loop$prop$img$2309=Pr(b.$jscomp$loop$prop$imageRoot$2311,"HiaYvf"),
c=avc(b.$jscomp$loop$prop$img$2309,"preloadSrc"),b.$jscomp$loop$prop$src$2307=avc(b.$jscomp$loop$prop$img$2309,"src"),b.$jscomp$loop$prop$backupSrc$2310=avc(b.$jscomp$loop$prop$img$2309,"backupSrc"),$9a(b.$jscomp$loop$prop$src$2307)?b.$jscomp$loop$prop$img$2309.src=b.$jscomp$loop$prop$src$2307:$9a(c)?(b.$jscomp$loop$prop$img$2309.src=c,Zp(function(d){return function(){d.$jscomp$loop$prop$img$2309.src=d.$jscomp$loop$prop$src$2307}}(b),0)):(b.$jscomp$loop$prop$imageRoot$2311.classList.add("isLoading"),
b.$jscomp$loop$prop$img$2309.onload=function(d){return function(){d.$jscomp$loop$prop$imageRoot$2311.classList.remove("isLoading")}}(b),b.$jscomp$loop$prop$img$2309.onerror=function(d){return function(){d.$jscomp$loop$prop$img$2309.getAttribute("src")===d.$jscomp$loop$prop$backupSrc$2310?(d.$jscomp$loop$prop$img$2309.onerror=null,d.$jscomp$loop$prop$imageRoot$2311.classList.remove("isLoading"),d.$jscomp$loop$prop$imageRoot$2311.classList.add("isNotLoaded")):d.$jscomp$loop$prop$img$2309.src=d.$jscomp$loop$prop$backupSrc$2310}}(b),
b.$jscomp$loop$prop$img$2309.src=b.$jscomp$loop$prop$src$2307)};var js=function(){this.theme=this.density=0};js.prototype.getDensity=function(){return this.density};js.prototype.setDensity=function(a){this.density=a};js.prototype.getTheme=function(){return this.theme};js.prototype.setTheme=function(a){this.theme=a};var e$a=function(a){var b=this;this.root=a;this.internalIsDisabled=!1;this.eventHandler=Rr(this);this.eventHandler.listen(this.root,"click",function(c){var d;null==(d=b.onClick)||d.call(b,c)})};g=e$a.prototype;g.getRoot=function(){return this.root};g.enable=function(){this.root.classList.remove("isDisabled");this.root.setAttribute("aria-disabled","false");this.internalIsDisabled=!1};
g.disable=function(){this.root.classList.add("isDisabled");this.root.setAttribute("aria-disabled","true");this.internalIsDisabled=!0};g.isDisabled=function(){return this.internalIsDisabled};g.dispose=function(){this.eventHandler.removeAll();this.onClick=void 0};var d$a=function(a){a=a.label;return ls('<button class="'+ms("peoplekitComponentsButtonLabelLabelButton")+'">'+ns(a)+"</button>")};var r$a=function(a,b,c){var d=this;this.root=a;this.actionListeners=[];this.eventHandler=Rr(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=Pr(this.root,"Sx9Kwc");this.startFocusableElement=Pr(this.root,"tYwGbe");this.endFocusableElement=Pr(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()})};g=r$a.prototype;g.subscribeToAction=function(a){this.actionListeners.push(a)};
g.dispatchAction=function(a){var b=this.actionButtons.get(a);if(b&&!b.isDisabled()){b=m(this.actionListeners);for(var c=b.next();!c.done;c=b.next())c=c.value,c(a)}};g.getRoot=function(){return this.root};g.onDialogClick=function(a){a.stopPropagation()};g.onDialogKeyDown=function(a){27===a.keyCode&&(this.dispatchAction(0),a.stopPropagation())};g.onStartFocusableElementFocus=function(){var a=y9a(this.dialog);1<a.length&&a[a.length-2].focus()};
g.onEndFocusableElementFocus=function(){var a=y9a(this.dialog);1<a.length&&a[1].focus()};g.onScrimClick=function(){this.dispatchAction(0)};g.onButtonClick=function(a){this.dispatchAction(a)};g.dispose=function(){this.eventHandler.removeAll();this.root.parentNode&&this.root.parentNode.removeChild(this.root);this.actionListeners.length=0;for(var a=m(this.actionButtons.values()),b=a.next();!b.done;b=a.next())b.value.dispose();this.actionButtons.clear()};var q$a=function(a){var b=a.content;a=a.header;return ls('<div peoplekit-id="'+ms("GGAcbc")+'" class="'+ms("peoplekitComponentsDialogImplScrim")+'" role="dialog" aria-modal="true"><div peoplekit-id="'+ms("Sx9Kwc")+'" class="'+ms("peoplekitComponentsDialogImplDialog")+'" role="dialog"><div peoplekit-id="'+ms("tYwGbe")+'" tabindex="0" role="application"></div>'+(a?'<div class="'+ms("peoplekitComponentsDialogImplHeader")+'">'+ns(a)+"</div>":"")+'<div class="'+ms("peoplekitComponentsDialogImplContent")+
'">'+ns(b)+'</div><div class="'+ms("peoplekitComponentsDialogImplActions")+'">'+ls(ovc("IbE0S"))+ls('<div class="'+ms("peoplekitComponentsDialogImplActionDivider")+'"></div>')+ls(ovc("McfNlf"))+'</div><div peoplekit-id="'+ms("dYgZK")+'" tabindex="0" role="application"></div></div></div>')},ovc=function(a){return ls('<div peoplekit-id="'+ms(a)+'"></div>')};var j$a=function(a,b){var c=this;this.root=a;this.closeButton=b;this.actionListeners=[];this.eventHandler=Rr(this);this.dialog=Pr(this.root,"Sx9Kwc");this.startFocusableElement=Pr(this.root,"tYwGbe");this.endFocusableElement=Pr(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()})};g=j$a.prototype;g.subscribeToAction=function(a){this.actionListeners.push(a)};g.dispatchAction=function(a){if(!this.closeButton.isDisabled()&&2===a)for(var b=m(this.actionListeners),c=b.next();!c.done;c=b.next())c=c.value,c(a)};g.getRoot=function(){return this.root};
g.dispose=function(){this.root.parentNode&&this.root.parentNode.removeChild(this.root);this.eventHandler.removeAll();this.actionListeners.length=0;this.closeButton.dispose()};g.onDialogClick=function(a){a.stopPropagation()};g.onDialogKeyDown=function(a){if(27===a.keyCode||13===a.keyCode)this.dispatchAction(2),a.stopPropagation()};g.onStartFocusableElementFocus=function(){var a=y9a(this.dialog);1<a.length&&a[a.length-2].focus()};
g.onEndFocusableElementFocus=function(){var a=y9a(this.dialog);1<a.length&&a[1].focus()};g.onScrimClick=function(){this.dispatchAction(2)};var i$a=function(a){var b=a.content;a=a.header;return ls('<div peoplekit-id="'+ms("GGAcbc")+'" class="'+ms("peoplekitComponentsDialogInfoScrim")+'" role="dialog" aria-modal="true"><div peoplekit-id="'+ms("Sx9Kwc")+'" class="'+ms("peoplekitComponentsDialogInfoDialog")+'" role="dialog"><div peoplekit-id="'+ms("tYwGbe")+'" tabindex="0" role="application"></div>'+(a?'<div class="'+ms("peoplekitComponentsDialogInfoHeader")+'">'+ns(a)+"</div>":"")+'<div class="'+ms("peoplekitComponentsDialogInfoContent")+
'"><div class="'+ms("peoplekitComponentsDialogInfoDescription")+'">'+ns(b)+'</div></div><div class="'+ms("peoplekitComponentsDialogInfoActions")+'">'+ls('<div peoplekit-id="'+ms("TvD9Pc")+'"></div>')+'</div><div peoplekit-id="'+ms("dYgZK")+'" tabindex="0" role="application"></div></div></div>')},sab=function(a){a=a.header;return ls('<div class="'+ms("peoplekitComponentsDialogInfoTextHeader")+'">'+ns(a)+"</div>")};var g$a=new Map([[0,"peoplekitThemeLight"],[1,"peoplekitThemeDark"]]);var qs=function(a){this.dialog=a};qs.prototype.subscribeToAction=function(a){this.dialog.subscribeToAction(a)};qs.prototype.dispatchAction=function(a){this.dialog.dispatchAction(a)};qs.prototype.getRoot=function(){return this.dialog.getRoot()};qs.prototype.dispose=function(){this.dialog.dispose()};var e2=function(a){this.delegate=a};g=e2.prototype;g.getAllIds=function(){return this.delegate.getAllIds()};g.toggleSelection=function(){this.delegate.toggleSelection()};g.activate=function(){this.delegate.activate()};g.deactivate=function(){this.delegate.deactivate()};g.spotlight=function(){this.delegate.spotlight()};g.unspotlight=function(){this.delegate.unspotlight()};g.getRoot=function(){return this.delegate.getRoot()};g.getSelection=function(){return this.delegate.getSelection()};
g.onKeyDown=function(a){this.delegate.onKeyDown(a)};g.onContextMenu=function(a,b){return this.delegate.onContextMenu(a,b)};g.updateWaldo=function(a,b){this.delegate.updateWaldo(a,b)};g.updateHubAvailabilityDot=function(a,b){this.delegate.updateHubAvailabilityDot(a,b)};g.getSupportedIntelligenceFeatures=function(){return this.delegate.getSupportedIntelligenceFeatures()};g.initializeIntelligence=function(){this.delegate.initializeIntelligence()};g.addTag=function(a){this.delegate.addTag(a)};
g.setMetaIcon=function(a){this.delegate.setMetaIcon(a)};g.dispose=function(){this.delegate.dispose()};var Bs=function(a,b,c){this.delegate=a;var d=this;this.appearanceConfig=b;this.clientConfig=c;this.dispatcher=this.clientConfig.injectorService.actionEventDispatcher;this.contextMenuContainer=Pr(a.getRoot(),"QL45qe");this.eventHandler=Rr(this);this.eventHandler.listen(document,"click",function(e){d.contextMenuContainer.contains(e.target)||f2(d)});this.eventHandler.listen(document,"keydown",function(e){if(d.contextMenu)d.contextMenu.onKeyDown(new Z1(e))})};W(Bs,e2);
Bs.prototype.onKeyDown=function(a){if(this.contextMenu)this.contextMenu.onKeyDown(a);else e2.prototype.onKeyDown.call(this,a)};
Bs.prototype.onContextMenu=function(a,b){var c=this;a.stopPropagation();a.preventDefault();this.activate();this.contextMenu&&f2(this);this.contextMenu=Z9a(this.contextMenuContainer,this.getRoot(),this.getRoot(),this.appearanceConfig);a=this.appearanceConfig.getTheme();this.contextMenu.append(G9a(a));cvc(this.contextMenu,function(d){switch(d.id){case "ENOWEf":pvc(c);break;default:throw Error("ze`"+d.id);}f2(c)});dvc(this.contextMenu,function(){f2(c);b()});this.contextMenu.show();return function(){f2(c)}};
Bs.prototype.dispose=function(){this.eventHandler.removeAll();e2.prototype.dispose.call(this)};
var pvc=function(a){a.hideConfirmationDialog&&qvc(a);a.hideConfirmationDialog=s$a(a.getRoot().ownerDocument.body,a.getSelection(),a.appearanceConfig,0);a.hideConfirmationDialog.subscribeToAction(function(b){1===b&&a.dispatcher.notify(1,a.getAllIds());qvc(a)})},qvc=function(a){var b;null==(b=a.hideConfirmationDialog)||b.dispose();a.hideConfirmationDialog=void 0},f2=function(a){var b;null==(b=a.contextMenu)||b.dispose();a.contextMenu=void 0};var J$a=function(a){a=a.memberCount;return(new aL("{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)},I$a=function(a){a=a.memberNames;Array.isArray(a);return Udc(a).join(", ")};var vs=function(a){Y.call(this,a)};W(vs,Y);vs.prototype.getRequestType=function(){return tk(this,1,0)};vs.prototype.setRequestType=function(a){return k(this,1,a)};var rvc=function(){var a=new vs,b=new X1;this.experimentFlags_=gl(a,X1,107,b)};rvc.prototype.getExperimentFlags=function(){return this.experimentFlags_};rvc.prototype.getExperimentIds=function(){return[]};var Pab=function(a,b){this.cache=b;this.overriddenExperiments=Ok(a,X1,3)||new X1};Pab.prototype.getExperiments=function(){var a,b=(null==(a=this.cache.getExperimentFlags())?void 0:Ok(a,X1,107))||new X1;a=this.overriddenExperiments;if(Jm(a,3)){var c=Tl(a,3,!1);k(b,3,c)}Jm(a,4)&&(a=Tl(a,4,!0),k(b,4,a));return b};Pab.prototype.getExperimentIds=function(){return this.cache.getExperimentIds()};var svc=function(a){Y.call(this,a)};W(svc,Y);g=svc.prototype;g.getCacheStaleSec=function(){return zj(this,4,14400)};g.getCacheExpiredSec=function(){return zj(this,5,1209600)};g.getRpcTimeoutSec=function(){return zj(this,7,60)};g.getApiKey=function(){return Dk(this,8,"")};g.setApiKey=function(a){return k(this,8,a)};g.getEnableClearcut=function(){return Tl(this,13,!0)};g.setEnableClearcut=function(a){return k(this,13,a)};var Nab=lc(svc);var Mab;var tvc=function(){};tvc.prototype.getExperimentFlags=function(){return new vs};tvc.prototype.getExperimentIds=function(){return[]};var Js=function(){};Js.prototype.prefetch=function(){};Js.prototype.loadExperiments=function(){return new tvc};var g2=function(a){Y.call(this,a)};W(g2,Y);g2.prototype.getVersion=function(){return ol(this,1)};g2.prototype.setVersion=function(a){return k(this,1,a)};g2.prototype.getVersionOrUndefined=function(){return uu(this,1)};var h2=function(a){Y.call(this,a)};W(h2,Y);g=h2.prototype;g.getApplication=function(){return tk(this,1,0)};g.setApplication=function(a){return k(this,1,a)};g.getApplicationOrUndefined=function(){return qt(this,1)};g.getVersion=function(){return ol(this,2)};g.setVersion=function(a){return k(this,2,a)};g.getVersionOrUndefined=function(){return uu(this,2)};var uvc=function(a){Y.call(this,a)};W(uvc,Y);g=uvc.prototype;g.getRequestType=function(){return tk(this,1,0)};g.setRequestType=function(a){return k(this,1,a)};g.getProfileId=function(){return Dk(this,2)};g.getProfileId_legacyNullable=function(){return Db(this,2)};g.setProfileId=function(a){return k(this,2,a)};g.hasProfileId=function(){return Am(this,2)};g.getCaller=function(){return Ok(this,g2,3)};g.setCaller=function(a){return gl(this,g2,3,a)};g.getInstanceId=function(){return Dk(this,4)};
g.setInstanceId=function(a){return k(this,4,a)};g.clearInstanceId=function(){qu(this,4)};g.hasInstanceId=function(){return Am(this,4)};g.getInstanceIdOrUndefined=function(){return yu(this,4)};g.getClient=function(){return Ok(this,h2,5)};g.setClient=function(a){return gl(this,h2,5,a)};g.hasClient=function(){return Hl(this,h2,5)};var ss=function(a){Y.call(this,a)};W(ss,Y);ss.prototype.getErrorType=function(){return tk(this,2,1)};ss.prototype.setErrorType=function(a){return k(this,2,a)};ss.prototype.getErrorMessage=function(){return Dk(this,3)};ss.prototype.setErrorMessage=function(a){k(this,3,a)};var us=function(a){Y.call(this,a,-1,vvc)};W(us,Y);g=us.prototype;g.getExperimentFlags=function(){return Ok(this,vs,1)};g.setExperimentFlags=function(a){return gl(this,vs,1,a)};g.hasExperimentFlags=function(){return Hl(this,vs,1)};g.getError=function(){return Ok(this,ss,2)};g.setError=function(a){gl(this,ss,2,a)};g.hasError=function(){return Hl(this,ss,2)};g.getSource=function(){return tk(this,3,0)};g.setSource=function(a){return k(this,3,a)};g.hasSource=function(){return nl(this,3)};
g.getSourceOrUndefined=function(){return qt(this,3)};g.getInstanceId=function(){return Dk(this,4)};g.setInstanceId=function(a){return k(this,4,a)};g.clearInstanceId=function(){qu(this,4)};g.hasInstanceId=function(){return Am(this,4)};g.getInstanceIdOrUndefined=function(){return yu(this,4)};g.getExperimentIdsList=function(){return xj(this,5)};g.setExperimentIdsList=function(a){return Mb(this,5,a,ub)};g.getExperimentIds=function(){return vu(this,5)};
g.setExperimentIds=function(a){Pb(this,5,a,void 0,xj)};var vvc=[5];var i2=function(a,b){this.client_=a;this.runtime_=b;u$a();this.apiKey_=a.getApiKey();this.apiRoot_=Dk(this.client_,10)||NIa("peoplestackwebexperiments-pa",this.runtime_.getPeopleApiEnv())};i2.prototype.getClient=function(){return this.client_};i2.prototype.getApiKey=function(){return this.apiKey_};var xvc=function(a){Y.call(this,a,-1,wvc)};W(xvc,Y);g=xvc.prototype;g.getExperimentFlags=function(){return Ok(this,vs,1)};g.setExperimentFlags=function(a){return gl(this,vs,1,a)};g.hasExperimentFlags=function(){return Hl(this,vs,1)};g.getObfuscatedGaiaId=function(){return Db(this,2)};g.getObfuscatedGaiaId_legacyNullable=function(){return Db(this,2)};g.setObfuscatedGaiaId=function(a){k(this,2,a)};g.getExperimentIdsList=function(){return xj(this,3)};
g.setExperimentIdsList=function(a){return Mb(this,3,a,ub)};g.getExperimentIds=function(){return vu(this,3)};g.setExperimentIds=function(a){Pb(this,3,a,void 0,xj)};var yvc=mc(xvc),wvc=[3];var zvc=function(a){var b=void 0;b=void 0===b?Date.now:b;this.clientConfig_=a;this.now_=b},Avc=function(a,b,c){a=a.now_()-1E3*c;return b>a};zvc.prototype.getCacheState=function(a){var b=zj(this.clientConfig_.getClient(),3,1800);if(Avc(this,a,b))return 1;b=this.clientConfig_.getClient().getCacheStaleSec();if(Avc(this,a,b))return 2;b=this.clientConfig_.getClient().getCacheExpiredSec();return Avc(this,a,b)?3:4};var ts=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};W(ts,Error);var Bvc=function(a,b){b=void 0===b?null:b;var c=v$a(a);a=a.getProfileId()||b;return c&&a?JSON.stringify([c,a]):null},Cvc=new ts(6);var Dvc=function(){};var j2=function(){};gu(j2,Dvc);j2.prototype.getCount=function(){for(var a=0,b=m(this),c=b.next();!c.done;c=b.next())a++;return a};j2.prototype[Symbol.iterator]=function(){return gYb(this.__iterator__(!0)).toEs6()};j2.prototype.clear=function(){var a=Array.from(this);a=m(a);for(var b=a.next();!b.done;b=a.next())this.remove(b.value)};var Evc=function(a){this.storage_=a};gu(Evc,j2);g=Evc.prototype;g.set=function(a,b){try{this.storage_.setItem(a,b)}catch(c){if(0==this.storage_.length)throw"Storage mechanism: Storage disabled";throw"Storage mechanism: Quota exceeded";}};g.get=function(a){a=this.storage_.getItem(a);if("string"!==typeof a&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a};g.remove=function(a){this.storage_.removeItem(a)};g.getCount=function(){return this.storage_.length};
g.__iterator__=function(a){var b=0,c=this.storage_,d=new OG;d.next=function(){if(b>=c.length)return fYb;var e=c.key(b++);if(a)return{value:e,done:!1};e=c.getItem(e);if("string"!==typeof e)throw"Storage mechanism: Invalid value was encountered";return{value:e,done:!1}};return d};g.clear=function(){this.storage_.clear()};g.key=function(a){return this.storage_.key(a)};var x$a=function(){var a=null;try{a=window.localStorage||null}catch(b){}this.storage_=a};gu(x$a,Evc);var k2=function(a,b){this.mechanism_=a;this.prefix_=b+"::"};gu(k2,j2);k2.prototype.set=function(a,b){this.mechanism_.set(this.prefix_+a,b)};k2.prototype.get=function(a){return this.mechanism_.get(this.prefix_+a)};k2.prototype.remove=function(a){this.mechanism_.remove(this.prefix_+a)};
k2.prototype.__iterator__=function(a){var b=this.mechanism_[Symbol.iterator](),c=this,d=new OG;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 xs=function(a,b){var c=void 0,d=void 0;b=void 0===b?new x$a:b;c=void 0===c?iPb:c;d=void 0===d?fPb:d;this.clientConfig_=a;this.transformer_=new zvc(this.clientConfig_);this.localStorage_=b;this.serializeJson_=c;this.isValidJson_=d;this.prefix_="PeopleStackExperiments";this.storage_=new k2(this.localStorage_,this.prefix_)};
xs.prototype.set=function(a,b){var c=Bvc(a,b.getObfuscatedGaiaId_legacyNullable());if(!c)throw Cvc;a={keyPath:c,experiments:b.serialize(),lastUpdated:Date.now(),instanceId:a.getInstanceId()};this.storage_.set(c,this.serializeJson_(a));return c};
xs.prototype.get=function(a){a=Bvc(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:yvc(a.experiments),lastUpdated:new Date(a.lastUpdated),state:b.getCacheState(a.lastUpdated),instanceId:a.instanceId}}else a=null;return a};xs.prototype.delete=function(a){this.storage_.remove(a);return!0};
xs.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 ys=function(a){var b=void 0;b=void 0===b?new Map:b;this.clientConfig_=a;this.transformer_=new zvc(this.clientConfig_);this.cache_=b};ys.prototype.set=function(a,b){var c=Bvc(a,b.getObfuscatedGaiaId_legacyNullable());if(!c)throw Cvc;a={keyPath:c,experiments:b,lastUpdated:new Date,state:1,instanceId:a.getInstanceId()};this.cache_.set(c,a);return c};
ys.prototype.get=function(a){a=Bvc(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};ys.prototype.delete=function(a){this.cache_.delete(a);return!0};ys.prototype.clean=function(){var a=this;this.cache_.forEach(function(b,c){4===a.transformer_.getCacheState(b.lastUpdated.getTime())&&a.cache_.delete(c)})};var Fvc=function(){};g=Fvc.prototype;g.start=function(){};g.stop=function(){};g.count=function(){};g.latency=function(){};g.error=function(){};g.status=function(){};g.logError=function(){};var Gvc=function(a){Y.call(this,a)};W(Gvc,Y);g=Gvc.prototype;g.getCaller=function(){return Ok(this,g2,1)};g.setCaller=function(a){return gl(this,g2,1,a)};g.getClient=function(){return Ok(this,h2,2)};g.setClient=function(a){return gl(this,h2,2,a)};g.hasClient=function(){return Hl(this,h2,2)};var Hvc=function(a){Y.call(this,a)};W(Hvc,Y);g=Hvc.prototype;g.getRequestType=function(){return tk(this,1,0)};g.setRequestType=function(a){return k(this,1,a)};g.setProperties=function(a){return gl(this,Gvc,3,a)};g.getInstanceId=function(){return Dk(this,4)};g.setInstanceId=function(a){return k(this,4,a)};g.clearInstanceId=function(){qu(this,4)};g.hasInstanceId=function(){return Am(this,4)};g.getInstanceIdOrUndefined=function(){return yu(this,4)};var Ivc=new $C("/peoplestackwebexperiments.PeopleStackExperimentsService/GetExperimentFlags",Hvc,xvc,function(a){return a.serialize()},yvc);var Jvc=function(a){this.client_=new BD({format:"jspb"});this.hostname_=void 0==a?a:a.replace(/\/+$/,"")};Jvc.prototype.getExperimentFlags=function(a,b){return CD(this.client_,this.hostname_+"/$rpc/peoplestackwebexperiments.PeopleStackExperimentsService/GetExperimentFlags",a,b||{},Ivc)};var l2=function(a,b){this.clientRequest_=a;this.rpcClient_=b;this.metric_=new Fvc};l2.prototype.getMetric=function(){return this.metric_};l2.prototype.send=function(a){var b=this,c;return of(function(d){var e=(new Gvc).setCaller(b.clientRequest_.getCaller()).setClient(b.clientRequest_.getClient());c=(new Hvc).setRequestType(b.clientRequest_.getRequestType()).setInstanceId(b.clientRequest_.getInstanceIdOrUndefined()).setProperties(e);return d.return(b.rpcClient_.getExperimentFlags(c,a))})};
l2.prototype.close=function(){};l2.prototype.processResponse=function(a){return a};var Kvc=function(){var a=this;this.promise=new Promise(function(b,c){a.resolve=b;a.reject=c})};var Lvc=function(a,b){this.config_=a;this.request_=b;this.resolver_=new Kvc;this.rpcPromise_=null;this.state_=0};g=Lvc.prototype;g.resultPromise=function(){return this.resolver_.promise};g.isPending=function(){return 1===this.state_};g.cancel=function(){switch(this.state_){case 1:this.rpcPromise_.cancel();break;case 0:this.state_=2,this.rpcPromise_=fOb(new XB),this.resolver_.reject(1)}};
g.send=function(){var a=this;if(0!==this.state_)return this.resultPromise();var b=MIa(this.config_.apiKey);this.config_.customAuthHeaders&&(b=Object.assign({},b,this.config_.customAuthHeaders));this.state_=1;b=this.request_.send(b);this.rpcPromise_=pOb(iOb([b,yOb(1E3*this.config_.timeoutSec,"TIMEOUT")]),function(){a.state_=2}).then(function(c){return a.onResponse_(c)},function(c){return a.onError_(c)});return this.resultPromise()};
g.onResponse_=function(a){if(a&&"TIMEOUT"!==a){try{var b=this.request_.processResponse(a)}catch(c){this.onError_(c,2);return}this.resolver_.resolve(b);this.request_.close(0)}else this.onError_(a)};
g.onError_=function(a,b){b=void 0===b?0:b;if("TIMEOUT"===a)var c=4;else a instanceof XB?c=1:a&&"object"===typeof a?(c=a.code||2,2===c&&(c=tq("result.error.code",a)||a.status,c=Number(c),c=dcc.has(c)?dcc.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 Mvc=Symbol("Ae"),Nvc=function(){};Nvc.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[Mvc]=d)}return c})};var m2=function(a){this.request_=a;this.metric_=this.request_.getMetric();this.metric_.start("total");this.metric_.start("blocked");this.contentLength_=0};m2.prototype.getMetric=function(){return this.metric_};m2.prototype.send=function(a){this.metric_.stop("blocked");this.metric_.count();this.metric_.start("network");return this.request_.send(a)};
m2.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[Mvc]||0}};m2.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 Ovc=function(a){this.config_=a;this.pendingRpcs_=new Set},n2=function(a,b){b=new m2(b);b=new Lvc(a.config_,b);a.pendingRpcs_.add(b);Pvc(a,b);return b.resultPromise()},Pvc=function(a,b){of(function(c){if(1==c.nextAddress)return pf(c,2,3),c.yield(b.send(),3);if(2!=c.nextAddress)return qf(c),a.pendingRpcs_.delete(b),rf(c,0);sf(c);return c.jumpTo(3)})};var z$a=function(a){this.clientConfig_=a;this.inflightRequests_=new Map;a={apiKey:this.clientConfig_.getApiKey(),timeoutSec:this.clientConfig_.getClient().getRpcTimeoutSec()};this.dispatcher_=new Ovc(a);this.rpcClient_=new Jvc(this.clientConfig_.apiRoot_)},Rvc=function(a,b){var c,d,e,f;return of(function(h){switch(h.nextAddress){case 1:var l=Qvc(b);if(c=a.inflightRequests_.get(l)||null)return h.return(c);d=new l2(b,a.rpcClient_);pf(h,2,3);e=n2(a.dispatcher_,d);l=Qvc(b);a.inflightRequests_.set(l,e);
return h.yield(e,5);case 5:return f=h.yieldResult,h.return(f);case 3:qf(h);l=Qvc(b);a.inflightRequests_.delete(l);rf(h,0);break;case 2:throw sf(h),Error("Be");}})},Qvc=function(a){a=v$a(a);if(!a)throw Cvc;return a};var Svc=function(a){Y.call(this,a)};W(Svc,Y);g=Svc.prototype;g.getInstanceId=function(){return Dk(this,1)};g.setInstanceId=function(a){return k(this,1,a)};g.clearInstanceId=function(){qu(this,1)};g.hasInstanceId=function(){return Am(this,1)};g.getInstanceIdOrUndefined=function(){return yu(this,1)};g.getRequestId=function(){return Dk(this,2)};g.getRequestType=function(){return tk(this,4,0)};g.setRequestType=function(a){return k(this,4,a)};g.getSourceType=function(){return tk(this,6,0)};
g.setSourceType=function(a){return k(this,6,a)};g.getClient=function(){return tk(this,7,0)};g.setClient=function(a){return k(this,7,a)};g.hasClient=function(){return nl(this,7)};g.getErrorType=function(){return tk(this,8,0)};g.setErrorType=function(a){return k(this,8,a)};var A$a=function(a){var b=a.getClient();a=a.runtime_.getPeopleApiEnv();this.logContext_=mt(new nt,"PeopleExperiments").setEnvironment(a).setLogSource(1250).setVersion("1.0.1").setBaselineCl(523619082).setEnableClearcut(b.getEnableClearcut())};g=A$a.prototype;g.getLogContext=function(){return this.logContext_};g.createCountMetric=function(){throw Error("Ya");};g.createStatusMetric=function(){throw Error("Ya");};g.createErrorMetric=function(){throw Error("Ya");};
g.createLatencyMetric=function(a,b){a=b.source();b=Math.round(1E3*b.duration());k(a,3,b);return a};var o2=function(a,b){this.metrics_=a;this.state_=new ZR(b);this.label_="total";this.source=b};o2.prototype.start=function(){this.metrics_.start(this.state_,this.label_)};o2.prototype.stop=function(){this.metrics_.stop(this.state_,this.label_);this.metrics_.latency(this.state_)};var B$a=function(a,b){this.worker_=a;this.metrics_=Ms(b)},Tvc=function(a,b){var c=new Svc,d=u$a();c=k(c,2,d).setRequestType(a.getRequestType());return k(c,5,b).setClient(a.getClient().getApplicationOrUndefined())};
B$a.prototype.updateExperimentsCache=function(a,b){b=void 0===b?2:b;var c=this,d,e,f,h;return of(function(l){if(1==l.nextAddress)return d=Tvc(a,b),e=new o2(c.metrics_,d),e.start(),l.yield(c.worker_.updateExperimentsCache(a,b),2);f=l.yieldResult;d.setSourceType(f.getSourceOrUndefined());d.setInstanceId(f.getInstanceIdOrUndefined());(h=f.getError())&&d.setErrorType(h.getErrorType());e.stop();return l.return(f)})};
B$a.prototype.getCachedExperiments=function(a,b){b=void 0===b?0:b;var c=Tvc(a,b),d=new o2(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 Uvc=function(a){this.timer=a;this.count=0},D$a=function(a,b){this.clientConfig_=a;this.worker_=b;this.refreshers_=new Map;this.refreshRateMs_=1E3*zj(this.clientConfig_.getClient(),11,14400);this.eventHandler_=new Qr(this)};D$a.prototype.updateExperimentsCache=function(a,b){try{return Vvc(this,a),this.worker_.updateExperimentsCache(a,b)}catch(c){return Promise.resolve(ws(c))}};D$a.prototype.getCachedExperiments=function(a,b){try{return Vvc(this,a),this.worker_.getCachedExperiments(a,b)}catch(c){return ws(c)}};
var Vvc=function(a,b){var c=v$a(b);if(!c)throw new ts(6);if(a.refreshers_.has(c))a.refreshers_.get(c).count=0;else{var d=new YB(a.refreshRateMs_);a.eventHandler_.listen(d,"tick",function(){if(a.worker_){b.clearInstanceId();a.worker_.updateExperimentsCache(b,1);var e=a.refreshers_.get(c);e.count++;var f=zj(a.clientConfig_.getClient(),12,18);e.count>=f&&(e.timer.stop(),a.refreshers_.delete(c))}});d.start();a.refreshers_.set(c,new Uvc(d))}a.refreshers_.get(c)};var Wvc=function(){},C$a=function(a,b){this.cache_=a;this.loader_=b};
C$a.prototype.updateExperimentsCache=function(a,b){var c=this,d,e,f,h;return of(function(l){if(1==l.nextAddress){e=d=null;try{d=Xvc(c,a)}catch(y){e=y}if(d&&3!==d.state)return l.return(c.getCachedExperiments(a,b));pf(l,3);return l.yield(Yvc(c,a),5)}if(3!=l.nextAddress){f=l.yieldResult;var q=l.return,u=e;u=void 0===u?null:u;var x=(new us).setExperimentFlags(f.getExperimentFlags()).setExperimentIdsList(f.getExperimentIdsList()).setSource(1).setInstanceId(a.getInstanceIdOrUndefined());u&&x.setError(w$a(u));
return q.call(l,x)}h=sf(l);return l.return(ws(h))})};C$a.prototype.getCachedExperiments=function(a){try{var b=Xvc(this,a);if(b){var c=(new us).setExperimentFlags(b.experiments.getExperimentFlags()).setExperimentIdsList(b.experiments.getExperimentIdsList()).setInstanceId(b.instanceId).setSource(2);1!==b.state&&Yvc(this,a).catch(Wvc);return c}Yvc(this,a).catch(Wvc);return ws()}catch(d){return ws(d)}};
var Xvc=function(a,b){try{var c=a.cache_.get(b);return c&&c.experiments.hasExperimentFlags()?c:null}catch(d){if(d instanceof ts)throw d;throw new ts(3);}},Yvc=function(a,b){var c,d;return of(function(e){if(1==e.nextAddress)return pf(e,2),b.hasInstanceId()||b.setInstanceId(u$a()),e.yield(Rvc(a.loader_,b),4);if(2!=e.nextAddress)return c=e.yieldResult,a.cache_.set(b,c),e.return(c);d=sf(e);if(d instanceof ts)throw d;throw new ts(2);})};var y$a;var Zvc=function(a){this.clientConfig_=a;this.worker_=E$a(this.clientConfig_)};Zvc.prototype.getCachedExperiments=function(a){return this.worker_.getCachedExperiments(a,0)};var Ks=function(){this.peopleApiEnv_=4};Ks.prototype.getPeopleApiEnv=function(){return this.peopleApiEnv_};Ks.prototype.setPeopleApiEnv=function(a){this.peopleApiEnv_=a;return this};var $vc=function(a,b){this.client_=a;this.request_=b;this.response_=null};$vc.prototype.getExperimentFlags=function(){this.response_||(this.response_=this.client_.getCachedExperiments(this.request_));return this.response_.getExperimentFlags()};$vc.prototype.getExperimentIds=function(){this.response_||(this.response_=this.client_.getCachedExperiments(this.request_));return this.response_.getExperimentIdsList()};var Oab=function(a,b){this.clientConfig_=a;this.requestType_=b;this.version_=523619082};Oab.prototype.prefetch=function(a){var b=new i2(this.clientConfig_,new Ks);a=awc(this,a,"");E$a(b).updateExperimentsCache(a,2)};Oab.prototype.loadExperiments=function(a,b,c){var d=new i2(this.clientConfig_,b),e=awc(this,a,c);E$a(d).updateExperimentsCache(e,2);b=new Zvc(new i2(this.clientConfig_,b));a=awc(this,a,c);return new $vc(b,a)};
var awc=function(a,b,c){var d=(new g2).setVersion(a.version_);b=(new h2).setApplication(b);return(new uvc).setProfileId(c).setRequestType(a.requestType_).setCaller(d).setClient(b)};var zs=new Pab(new Y1,new rvc);var H$a=Zr.getInstance();var L$a=Zr.getInstance();var bwc=new dB(vY.WEEKDAY_MONTH_DAY_MEDIUM),cwc=new dB(7);new dB(vY.WEEKDAY_MONTH_DAY_MEDIUM);var dwc=new Map([[0,2],[1,1],[2,3],[3,4],[4,2],[5,5]]);var ewc=function(a){var b=a.iconUrl,c=a.altText,d=a.persistentText;a=a.styleClass;return ls('<div class="'+ms("peoplekitComponentsTagTag")+" "+(a?ms(a):"")+'" peoplekit-id="'+ms("mQXP")+'">'+(b?'<img class="'+ms("peoplekitComponentsTagIcon")+'" src="'+ms(iec(b))+'" alt="'+ms(c)+'"><div'+(d?"":' class="'+ms("peoplekitComponentsTagUnrollingAltText")+'"')+'><div class="'+ms("peoplekitComponentsTagText")+'">'+ns(c)+"</div></div>":'<div class="'+ms("peoplekitComponentsTagText")+'">'+ns(c)+"</div>")+"</div>")};var N$a=function(a,b,c,d,e,f){var h=this;this.root=a;this.avatar=e;this.features=f;this.isIntelligenceInitialized=this.isOutOfOffice=!1;fwc(this,{tags:d});s9a(a,b.getPrimaryTarget());c.getResultDecorationConfigRequestCallback()(b,function(l){fwc(h,l)})};g=N$a.prototype;g.getAllIds=function(){return[]};g.toggleSelection=function(){};g.activate=function(){this.root.classList.add("isActive")};g.deactivate=function(){this.root.classList.remove("isActive")};g.spotlight=function(){};g.unspotlight=function(){};
g.getRoot=function(){return this.root};g.getSelection=function(){throw Error("De");};g.onKeyDown=function(){};g.onContextMenu=function(){return function(){}};
g.updateWaldo=function(a){if(this.getSupportedIntelligenceFeatures().includes(1)){var b=Pr(this.root,"Z306Oe");if(this.isOutOfOffice=4===a.getCurrentStatus()){if(4!==a.getCurrentStatus())throw Error("Ce");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 "+cwc.format(c):"Out of office - back on "+bwc.format(c);SB(b,String(c));this.root.classList.add("isOutOfOffice")}else SB(b,
""),this.root.classList.remove("isOutOfOffice")}};g.updateHubAvailabilityDot=function(a){this.getSupportedIntelligenceFeatures().includes(2)&&this.avatar.setBadge({badgeType:dwc.get(a.getType()||0)||2})};g.getSupportedIntelligenceFeatures=function(){return this.features};g.addTag=function(a){var b=Pr(this.root,"x00ATb");a:switch(a.style||0){case 1:var c="isWarning";break a;default:c=""}a=Aq(ewc,Object.assign({},a,{styleClass:c}));b.appendChild(a)};
g.setMetaIcon=function(a){var b=Array.from(this.root.querySelectorAll('[peoplekit-id="SC3Htd"]'))[0];b&&(b.src=a.iconUrl,b.alt=a.altText)};var fwc=function(a,b){for(var c=m(b.tags||[]),d=c.next();!d.done;d=c.next())a.addTag(d.value);b.metaIcon&&a.setMetaIcon(b.metaIcon)};N$a.prototype.initializeIntelligence=function(){this.isIntelligenceInitialized||(this.getSupportedIntelligenceFeatures().includes(2)&&this.avatar.setBadge({badgeType:2}),this.isIntelligenceInitialized=!0)};N$a.prototype.dispose=function(){};var hab=function(a,b,c,d,e){this.delegate=O$a(a,b,c,d,e,[2]);this.root=a;this.root.setAttribute("aria-selected","true");this.id=b.getPrimaryTarget().getId();this.selection=new Suc($s)};W(hab,e2);hab.prototype.getAllIds=function(){return[this.id]};hab.prototype.getSelection=function(){return this.selection};var gwc=function(a,b,c,d,e,f,h,l){d=void 0===d?"":d;e=void 0===e?!1:e;return ls('<div role="option" class="'+ms("peoplekitComponentsResultlistitemResultListItem")+" "+ms(d)+'" id="'+ms(a)+'" peoplekit-id="'+ms(a)+'" aria-disabled="'+ms(e)+'" aria-selected="false"><div class="'+ms("peoplekitComponentsResultlistitemResultListItemRow")+'"><div class="'+ms("peoplekitComponentsResultlistitemLeft")+'" data-hovercard-id="'+ms(b)+'" data-name="'+ms(ps(c))+'">'+ns(f)+'</div><div class="'+ms("peoplekitComponentsResultlistitemCenter")+
'">'+ns(h)+'</div><div class="'+ms("peoplekitComponentsResultlistitemRight")+'" peoplekit-id="'+ms("QChpEe")+'">'+ns(l)+'</div></div><div peoplekit-id="'+ms("Z306Oe")+'" class="'+ms("peoplekitComponentsResultlistitemOutOfOffice")+'"></div><div peoplekit-id="'+ms("QL45qe")+'"></div></div>')},hwc=function(a,b,c,d){return ls('<div class="'+ms("peoplekitComponentsResultlistitemLabelContainer")+'"><div class="'+ms("peoplekitComponentsResultlistitemLabel")+" "+ms("peoplekitComponentsResultlistitemLabelRow")+
'"><div class="'+ms("peoplekitComponentsResultlistitemLabelText")+'" data-hovercard-id="'+ms(b)+'" data-name="'+ms(ps(a))+'" translate="no">'+ns(ps(a))+'</div><div peoplekit-id="'+ms("x00ATb")+'" class="'+ms("peoplekitComponentsResultlistitemTags")+'"></div></div>'+(c?'<div class="'+ms("peoplekitComponentsResultlistitemSublabel")+" "+ms("peoplekitComponentsResultlistitemLabelRow")+'"><div class="'+ms("peoplekitComponentsResultlistitemSublabelText")+'" data-hovercard-id="'+ms(b)+'" data-name="'+ms(ps(a))+
'"'+(d?"":' translate="no"')+">"+ns(ps(c))+"</div></div>":"")+"</div>")},iwc=function(a){return ls('<div class="'+ms("peoplekitComponentsResultlistitemAvatar")+'"><div class="'+ms("peoplekitComponentsResultlistitemAvatarContainer")+'" peoplekit-id="'+ms("d6MZcd")+'"></div>'+(a?ns(a):"")+"</div>")},jwc=function(){var a=ls,b='<div class="'+ms("peoplekitComponentsResultlistitemAvatarSelectionOverlay")+'"><div class="'+ms("peoplekitComponentsResultlistitemWhiteCheck")+'">';var c=ls('<svg viewBox="0 0 24 24" class="'+
(ms("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(iwc(AS(b+c+"</div></div>")))},kwc=function(){return ls('<img class="'+ms("peoplekitComponentsResultlistitemMetaIcon")+'" peoplekit-id="'+ms("SC3Htd")+'" alt="" src=""/>')};var gab=function(a){var b=a.hovercardId,c=a.label,d=a.sublabel,e=a.disableReason,f=a.allowSublabelTranslation;return ls(gwc(a.id,b,c,"isDisabled "+a.densityClass,!0,AS(""+iwc()),AS(""+hwc(c,b,d,f)),AS('<div class="'+ms("peoplekitComponentsResultlistitemDisabledDisableReasonContainer")+'">'+ns(e)+"</div>")))};var Cs=function(a){this.delegate=a;var b=this;this.eventHandler=Rr(this);this.eventHandler.listen(this.getRoot(),"click",function(c){b.onClick(c)})};W(Cs,e2);Cs.prototype.onClick=function(){this.toggleSelection()};var P$a=function(a,b){this.internalResult=a;this.displayNameOverride=b;this.forceDisplayNameOverride=!1;a=this.internalResult.getTargetList()[0];if(!a)throw new RangeError("Ee");this.target=a;a=this.target.getLoggingToken();b=this.target.getId();this.internalSelectionToken=new Muc(b,this.displayNameOverride,this.forceDisplayNameOverride,a)};g=P$a.prototype;g.id=function(){return this.target.getId()};g.selectionToken=function(){return this.internalSelectionToken};g.targets=function(){return[this.target]};
g.result=function(){return this.internalResult};g.getForceDisplayNameOverride=function(){return this.forceDisplayNameOverride};g.getDisplayNameWithOverrideApplied=function(){return this.forceDisplayNameOverride?this.displayNameOverride:this.displayNameOverride||this.internalResult.getDisplayName()};g.isPlaceholder=function(){return!1};var p2=function(a,b,c,d,e,f){this.delegate=O$a(a,b,d,e,f,[]);this.root=a;this.result=b;this.selectionsState=c;this.id=b.getPrimaryTarget().getId();this.selection=new Suc($s)};W(p2,e2);p2.prototype.getAllIds=function(){return[this.id]};p2.prototype.toggleSelection=function(){for(var a=m(this.result.getMemberList()),b=a.next();!b.done;b=a.next())b=Q$a(b.value),this.selectionsState.select(b);this.root.dispatchEvent(Sr("pk-select",this.root))};p2.prototype.getSelection=function(){return this.selection};var lwc=function(a){var b=a.hovercardId,c=a.label,d=a.sublabel,e=a.allowSublabelTranslation;return ls(gwc(a.id,b,c,a.densityClass,void 0,AS(""+iwc()),AS(""+hwc(c,b,d,e)),AS(""+kwc())))};var Ds=function(a,b){this.delegate=a;var c=this;this.selectionsState=b;this.id=a.getAllIds()[0];b.get(this.id)&&mwc(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){mwc(c,d)};nwc(this.selectionsState,this.onDeselectionCallback);owc(this.selectionsState,this.onSelectionCallback)};W(Ds,e2);
Ds.prototype.toggleSelection=function(){if(this.selectionsState.get(this.id)){var a=this.getRoot();a=Sr("pk-deselect",a)}else a=this.getRoot(),a=Sr("pk-select",a);this.getRoot().dispatchEvent(a);this.selectionsState.toggle(this.getSelection(),1)};var mwc=function(a,b){b.id().equals(a.id)&&(a.getRoot().classList.add("isSelected"),a.getRoot().setAttribute("aria-selected","true"))};Ds.prototype.dispose=function(){this.selectionsState.deselectionCallbacks.remove(this.onDeselectionCallback);this.selectionsState.selectionCallbacks.remove(this.onSelectionCallback)};var eab=function(a,b,c,d,e,f){this.delegate=O$a(a,b,d,e,f,[2]);this.selectionsState=c;this.id=b.getPrimaryTarget().getId();this.selection=this.selectionsState.get(this.id)||Q$a(b,b.getDisplayName())};W(eab,e2);eab.prototype.getAllIds=function(){return[this.id]};eab.prototype.getSelection=function(){return this.selection};var dab=function(a){var b=a.hovercardId,c=a.label,d=a.sublabel,e=a.allowSublabelTranslation;return ls(gwc(a.id,b,c,a.densityClass,void 0,AS(""+jwc()),AS(""+hwc(c,b,d,e)),AS(""+kwc())))};var pwc=function(a,b,c,d,e,f){this.delegate=O$a(a,b,d,e,f,[]);this.selectionsState=c;this.id=b.getPrimaryTarget().getId();this.selection=this.selectionsState.get(this.id)||Q$a(b)};W(pwc,e2);pwc.prototype.getAllIds=function(){return[this.id]};pwc.prototype.getSelection=function(){return this.selection};var qwc=function(a){var b=a.hovercardId,c=a.label,d=a.sublabel,e=a.allowSublabelTranslation;return ls(gwc(a.id,b,c,a.densityClass,void 0,AS(""+jwc()),AS(""+hwc(c,b,d,e)),AS(""+kwc())))};var W$a=function(a,b,c,d,e,f){var h=this;this.root=a;this.enabledIcon=b;this.disabledIcon=c;this.tooltip=d;this.disableNavigationFocus=e;this.internalIsDisabled=!1;this.eventHandler=Rr(this);this.onClick=f;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()}))};g=W$a.prototype;
g.getRoot=function(){return this.root};g.enable=function(){this.root.disabled=!1;var a=this.root.querySelector("img");a&&(a.src=this.enabledIcon);this.internalIsDisabled=!1};g.disable=function(){this.root.disabled=!0;var a=this.root.querySelector("img");a&&this.disabledIcon&&(a.src=this.disabledIcon);this.internalIsDisabled=!0};g.isDisabled=function(){return this.internalIsDisabled};
g.dispose=function(){this.eventHandler.removeAll();this.onClick=void 0;if(this.tooltip){var a=this.tooltip;a.anchor&&(a.hideTooltip(),a.eventHandler.removeAll(),a.isDisplayedInternal=!1,a.anchor=void 0,a.showTimeout=void 0,a.hideTimeout=void 0)}};g.activate=function(){this.root.classList.add("isFocused");this.tooltip&&this.tooltip.showTooltip()};g.deactivate=function(){this.root.classList.remove("isFocused");this.tooltip&&this.tooltip.hideTooltip()};g.isActive=function(){return this.root.classList.contains("isFocused")};var rwc=0;var S$a=function(a){var b=a.icon,c=a.ariaLabel,d="";c=(a=a.tooltipLabel?"tt-c"+rwc++:"")?' data-tooltip-id="'+ms(a)+'" aria-labelledby="'+ms(a)+'"':c?' aria-label="'+ms(c)+'"':"";d+='<button class="'+ms("peoplekitComponentsButtonIconIconButton")+'"'+c+">"+ls('<span><img src="'+ms(iec(b))+'" draggable="false" aria-hidden="true" alt="" class="'+ms("peoplekitComponentsButtonIconAdaptableIcon")+'"/></span>')+"</button>";return ls(d)};var swc=["mouseover","focusin","touchstart"],twc=["mouseleave","blur","touchend","click"],U$a=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=Rr(this);this.tooltipService=W9a(this.tooltip,function(){d.hideTooltip()},{anchorCorner:3,popupCorner:2})},V$a=function(a,b){if(a.anchor)throw Error("Fe");a.anchor=b;for(var c=m(swc),d=c.next();!d.done;d=c.next())a.eventHandler.listen(b,d.value,function(){uwc(a)});
vwc(a)};U$a.prototype.showTooltip=function(){if(!this.anchor)throw Error("Ge");this.isDisplayedInternal||(this.tooltipService.show(this.anchor),window.clearTimeout(this.showTimeout),this.showTimeout=void 0,this.isDisplayedInternal=!0)};U$a.prototype.hideTooltip=function(){this.isDisplayedInternal&&(this.tooltipService.hide(),window.clearTimeout(this.hideTimeout),this.hideTimeout=void 0,this.isDisplayedInternal=!1)};U$a.prototype.getRoot=function(){return this.tooltip};
var uwc=function(a){void 0===a.showTimeout&&(window.clearTimeout(a.hideTimeout),a.hideTimeout=void 0,a.showTimeout=window.setTimeout(function(){a.showTooltip()},a.showDelay))},wwc=function(a){void 0===a.hideTimeout&&(window.clearTimeout(a.showTimeout),a.showTimeout=void 0,a.hideTimeout=window.setTimeout(function(){a.hideTooltip()},a.hideDelay))},vwc=function(a){if(a.anchor){for(var b=m(twc),c=b.next();!c.done;c=b.next())a.eventHandler.listen(a.anchor,c.value,function(){wwc(a)});a.eventHandler.listen(window,
"touchmove",function(){wwc(a)});a.eventHandler.listen(window,"focus",function(d){d.target!==a.anchor&&wwc(a)});a.eventHandler.listen(window,"blur",function(d){d.target===window&&a.hideTooltip()})}};var T$a=function(a){var b=a.label,c=a.ariaLabel,d=a.classes,e=a.attributes,f=ls;a='<div id="'+ms(a.id)+'" peoplekit-id="'+ms("suEOdc")+'" class="'+ms("peoplekitComponentsTooltipImplTooltip")+(d?" "+ms(d):"")+'" style="display: none;" aria-hidden="true"'+(c?' aria-label="'+ms(c)+'"':"");e?(zS(e,Ndc)?e=e.getContent():(e=String(e),e=mec.test(e)?e:"zSoyz"),zS(e,Ndc)&&(e=e.getContent()),e=(e&&!e.startsWith(" ")?" ":"")+e):e="";return f(a+e+">"+ns(b)+"</div>")};var Y$a=function(a,b,c){this.delegate=a;for(var d=this,e=Pr(a.getRoot(),"QChpEe");e.firstChild;)e.removeChild(e.firstChild);this.secondaryActionButton=X$a(e,Object.assign({},{density:b.getDensity()},c));this.buttonRoot=this.secondaryActionButton.getRoot();this.buttonRoot.style.display="none";this.buttonRoot.id=a.getRoot().id+"-2ab";Xr(this.buttonRoot,163534,["impression","pk-click"]);this.secondaryActionButton.onClick=function(f){var h;null==(h=c.onClick)||h.call(c,f);d.buttonRoot.dispatchEvent(Sr("pk-click",
d.buttonRoot))};this.eventHandler=Rr(this);this.eventHandler.listen(a.getRoot(),"mouseover",this.displaySecondaryActionButton);this.eventHandler.listen(a.getRoot(),"mouseleave",this.hideSecondaryActionButton)};W(Y$a,e2);g=Y$a.prototype;g.activate=function(){this.getRoot().classList.add("isActive");this.displaySecondaryActionButton()};g.deactivate=function(){this.getRoot().classList.remove("isActive");this.secondaryActionButton.deactivate();this.hideSecondaryActionButton()};
g.onKeyDown=function(a){var b=13===a.event.keyCode;if(b&&a.event.platformModifierKey||b&&this.secondaryActionButton.isActive())this.buttonRoot.click(),a.stopPropagation(),a.preventDefault()};g.dispose=function(){this.eventHandler.removeAll();this.secondaryActionButton.dispose();e2.prototype.dispose.call(this)};g.displaySecondaryActionButton=function(){this.buttonRoot.style.display=""};
g.hideSecondaryActionButton=function(){this.getRoot().classList.contains("isActive")||(this.buttonRoot.style.display="none")};var xwc={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"},aab=function(a,b,c,d){var e={icon:0===b.getTheme()?xwc.LIGHT_THEME:xwc.DARK_THEME,tooltipLabel:"Unhide Suggestion",ariaLabel:"Unhide Suggestion Button",onClick:function(h){f.onButtonClick(h)}};e2.call(this,Z$a(a,b,e,d));var f=this;this.appearanceConfig=b;this.clientConfig=c};W(aab,e2);
aab.prototype.onButtonClick=function(a){ywc(this);a.stopPropagation()};var ywc=function(a){a.unhideConfirmationDialog&&zwc(a);a.unhideConfirmationDialog=s$a(a.getRoot().ownerDocument.body,a.getSelection(),a.appearanceConfig,1);a.unhideConfirmationDialog.subscribeToAction(function(b){1===b&&a.clientConfig.injectorService.actionEventDispatcher.notify(4,a.getAllIds());zwc(a)})},zwc=function(a){var b;null==(b=a.unhideConfirmationDialog)||b.dispose();a.unhideConfirmationDialog=void 0};var Awc=function(a){Y.call(this,a)};W(Awc,Y);g=Awc.prototype;g.getIdCase=function(){return Hk(this,q2)};g.getProfileId=function(){return ok(this,1,q2)};g.setProfileId=function(a){return rk(this,1,q2,a)};g.hasProfileId=function(){return null!=oq(this,1,q2)};g.getEmail=function(){return ok(this,2,q2)};g.setEmail=function(a){return rk(this,2,q2,a)};g.hasEmail=function(){return null!=oq(this,2,q2)};g.getPhone=function(){return ok(this,3,q2)};g.setPhone=function(a){return rk(this,3,q2,a)};
g.hasPhone=function(){return null!=oq(this,3,q2)};var q2=[1,2,3],Bwc=function(a){if(null!=a)return jc(a),{profileId:ic(oq(a,1,q2)),email:ic(oq(a,2,q2)),phone:ic(oq(a,3,q2))}};var r2=function(a){Y.call(this,a,-1,Cwc)};W(r2,Y);r2.prototype.getHideType=function(){return Db(this,1)};r2.prototype.getHiddenKeysList=function(){return yj(this,Awc,3)};var Cwc=[3],Dwc=function(a){if(null!=a)return jc(a),{hideType:ic(Db(a,1)),hiddenKeysList:hc(a.getHiddenKeysList(),Bwc),familyStatus:ic(Db(a,2)),birthdayStatus:ic(Db(a,4))}};var Ewc=fc(417869137,{peopleStackPersonData:0},r2,Dwc);var $$a=function(){};$$a.prototype.filterResult=function(a){var b,c;return 1===(null==(b=a.getExtendedData())?void 0:null==(c=b.getExtension(Ewc))?void 0:c.getHideType())?a:null};$$a.prototype.reset=function(){};var jab=new Map([[1,fab()],[4,fab()],[5,iab(1)],[6,iab(2)],[2,function(a){var b=a.result;var c=a.selectionsState;var d=a.resultConfig,e=a.appearanceConfig,f=a.resultCustomization,h=M$a(b,d,f,a.isRightToLeft,Tl(a.clientConfig.internal,6,!1),rs(e.getDensity())),l=Aq(qwc,h);Xr(l,25285,["impression","pk-select","pk-deselect"],[R$a(b.getPrimaryTarget().getLoggingToken())]);var q=Pr(l,"d6MZcd"),u=t$a(e.getDensity()),x;f=null!=(x=f.backupAvatarUrl)?x:"";e=ks(q,h.photos,u,u,e,f);b=new pwc(l,b,c,d,h.tags,
e);c=new Cs(new Ds(b,c));return cab(bab(c,a),a)}],[3,function(a){var b=a.result;var c=a.selectionsState,d=a.resultConfig,e=a.appearanceConfig,f=a.resultCustomization,h=M$a(b,d,f,a.isRightToLeft,Tl(a.clientConfig.internal,6,!1),rs(e.getDensity())),l=Aq(lwc,h);Xr(l,25285,["impression","pk-select","pk-deselect"],[R$a(b.getPrimaryTarget().getLoggingToken())]);var q=Pr(l,"d6MZcd"),u=t$a(e.getDensity()),x;f=null!=(x=f.backupAvatarUrl)?x:"";e=ks(q,h.photos,u,u,e,f);b=new Cs(new p2(l,b,c,d,h.tags,e));return bab(b,
a)}]]);var mab=function(a,b,c,d,e,f,h){this.list=a;this.resultConfig=b;this.appearanceConfig=c;this.clientConfig=d;this.selectionsState=e;this.interactions=h;this.results=[];this.intelligentCollection=f.create();this.navigatable=new Kuc(new L9a(this.results))};g=mab.prototype;g.register=function(a){this.results.push(a);this.navigatable.insert(this.navigatable.size(),[a],!1);this.intelligentCollection.append([a])};
g.append=function(a,b){a=m(a);for(var c=a.next();!c.done;c=a.next())c=kab(c.value,b,this.selectionsState,this.resultConfig,this.appearanceConfig,this.clientConfig,PS(this.list.getRoot()),this.interactions),this.list.append(c.getRoot()),this.register(c)};g.clear=function(){this.list.clear();this.navigatable.clear();this.intelligentCollection.clear();for(var a=m(this.results),b=a.next();!b.done;b=a.next())b.value.dispose();this.results.length=0};g.reset=function(){this.navigatable.reset()};
g.getNavigatable=function(){return this.navigatable};g.getResultListItems=function(){return this.results};var Fwc=function(a,b){this.root=a;this.header=b};g=Fwc.prototype;g.getHeader=function(){return this.header};g.dispose=function(){};g.getRoot=function(){return this.root};g.activate=function(){};g.deactivate=function(){};g.spotlight=function(){};g.unspotlight=function(){};g.getSelection=function(){throw Error("De");};g.toggleSelection=function(){};g.onKeyDown=function(){};g.onContextMenu=function(){return function(){}};var Gwc=function(a){var b=ls;var c=a.id;a=a.header;c=ls('<div class="'+ms("peoplekitComponentsGroupingHeaderGroupingHeader")+'" id="'+ms(c)+'" peoplekit-id="'+ms("XLuqBd")+'"><div class="'+ms("peoplekitComponentsGroupingHeaderGroupingHeaderRow")+'"><div class="'+ms("peoplekitComponentsGroupingHeaderHeader")+'">'+ns(a)+'</div><div class="'+ms("peoplekitComponentsGroupingHeaderAction")+'"><div class="'+ms("peoplekitComponentsGroupingHeaderActionRow")+'"><div class="'+ms("peoplekitComponentsGroupingHeaderLeft")+
'" peoplekit-id="'+ms("xiK4Cd")+'"></div><div class="'+ms("peoplekitComponentsGroupingHeaderRight")+'" peoplekit-id="'+ms("QChpEe")+'"></div></div></div></div></div>');return b(c)};var Hwc=function(a){return ls('<div id="'+ms(a.id)+'" peoplekit-id="'+ms("E9WxSb")+'"><div peoplekit-id="'+ms("Bm3u4d")+'"></div><div class="'+ms("peoplekitComponentsResultListGroupListContainer")+'" peoplekit-id="'+ms("tjneg")+'"></div></div>')};var abb=function(a,b,c,d,e,f,h){this.list=a;this.resultConfig=b;this.appearanceConfig=c;this.clientConfig=d;this.selectionsState=e;this.interactions=f;this.grouping=h;this.groups=new Map;this.navigatable=new Kuc(new L9a([]))};g=abb.prototype;
g.append=function(a,b){var c=m(a);for(a=c.next();!a.done;a=c.next()){var d=a.value;a=this.grouping.getGroupId(d);var e=this.groups.get(a);d=kab(d,b,this.selectionsState,this.resultConfig,this.appearanceConfig,this.clientConfig,PS(this.list.getRoot()),this.interactions);if(a&&!e)throw b=this.grouping,c=Or(Zr.getInstance()),Aq(Hwc,{id:c}),b.getGroupName(a),Error("Je");e.append(d)}};
g.clear=function(){this.list.clear();this.navigatable.clear();for(var a=m(this.groups.values()),b=a.next();!b.done;b=a.next())b.value.dispose();this.groups.clear()};g.reset=function(a){this.navigatable.reset();this.grouping.reset(a)};g.getNavigatable=function(){return this.navigatable};g.getResultListItems=function(){for(var a=[],b=m(this.groups.values()),c=b.next();!c.done;c=b.next())a.push.apply(a,r(c.value.getItems()));return a};var oab=function(a,b,c){this.delegate=a;this.list=b;this.grouping=c;this.renderedGroups=new Set};g=oab.prototype;g.append=function(a,b){a=m(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){var f=Or(Zr.getInstance());f=Aq(Gwc,{id:f,header:e});this.list.append((new Fwc(f,e)).getRoot())}this.renderedGroups.add(d)}this.delegate.append([c],b)}};
g.clear=function(){this.renderedGroups.clear();this.delegate.clear()};g.reset=function(a){this.grouping.reset(a);this.renderedGroups.clear();this.delegate.reset(a)};g.getNavigatable=function(){return this.delegate.getNavigatable()};g.getResultListItems=function(){return this.delegate.getResultListItems()};var pab=function(a,b){this.delegate=a;this.interactions=b};g=pab.prototype;g.append=function(a,b){a=m(a);for(var c=a.next();!c.done;c=a.next())c=c.value,this.delegate.append([c],b),this.interactions.display(c)};g.clear=function(){this.delegate.clear()};g.reset=function(a){this.delegate.reset(a)};g.getNavigatable=function(){return this.delegate.getNavigatable()};g.getResultListItems=function(){return this.delegate.getResultListItems()};var lab=function(a){a=a.header;return ls('<div peoplekit-id="'+ms("aittld")+'">'+(0<a.length?'<div class="'+ms("peoplekitUiResultlistHeader")+'">'+ns(a)+"</div>":"")+'<div peoplekit-id="'+ms("tjneg")+'"></div></div>')};var Zab=function(a){this.label=a};Zab.prototype.getGroupId=function(a){return a.getTargetList().some(function(b){return 2!==b.getDataSource()})?"non_directory":"directory"};Zab.prototype.getGroupName=function(a){switch(a){case "directory":return this.label;case "non_directory":return"";default:return a}};Zab.prototype.reset=function(){};var $ab=function(a){this.label=a};$ab.prototype.getGroupId=function(a){return 7!==a.getResultType()?"suggestions":"non_suggestions"};$ab.prototype.getGroupName=function(a){switch(a){case "suggestions":return this.label;case "non_suggestions":return"";default:return a}};$ab.prototype.reset=function(){};var s2=function(a){this.delegate=a};g=s2.prototype;g.search=function(a,b,c,d){this.delegate.search(a,b,c,d)};g.attach=function(){this.delegate.attach()};g.detach=function(){this.delegate.detach()};g.isShown=function(){return this.delegate.isShown()};g.onKeyDown=function(a){this.delegate.onKeyDown(a)};g.dispose=function(){this.delegate.dispose()};g.getNavigatable=function(){return this.delegate.getNavigatable()};g.getRoot=function(){return this.delegate.getRoot()};var Ns=function(a,b,c,d,e){this.delegate=a;var f=this;this.peopleStore=b;this.clientConfig=d;this.autocompleteConfig=e;this.hideListener=function(h){return Iwc(f,h)};this.unhideListener=function(h){return Jwc(f,h)};this.hide=c.getHide();this.dispatcher=this.clientConfig.injectorService.actionEventDispatcher;this.dispatcher.subscribe(1,this.hideListener);this.dispatcher.subscribe(4,this.unhideListener)};W(Ns,s2);
Ns.prototype.search=function(a,b,c,d){this.currentSearchState={query:a,anchor:b,showSuggestions:c,listener:d};s2.prototype.search.call(this,a,b,c,d)};Ns.prototype.dispose=function(){this.dispatcher.unsubscribe(1,this.hideListener);this.dispatcher.unsubscribe(4,this.unhideListener);s2.prototype.dispose.call(this)};
var Iwc=function(a,b){return of(function(c){if(1==c.nextAddress)return pf(c,2),c.yield(a.hide.hideResults(b),4);if(2!=c.nextAddress)return a.refreshResults(),au(c,0);sf(c);Kwc(a);tf(c)})},Jwc=function(a,b){return of(function(c){if(1==c.nextAddress)return pf(c,2),c.yield(a.hide.unhideResults(b),4);if(2!=c.nextAddress)return a.refreshResults(),au(c,0);sf(c);Lwc(a);tf(c)})};
Ns.prototype.refreshResults=function(){this.currentSearchState&&(this.peopleStore.flushCache(2),s2.prototype.search.call(this,this.currentSearchState.query,this.currentSearchState.anchor,this.currentSearchState.showSuggestions,this.currentSearchState.listener))};
var Kwc=function(a){a.hideErrorDialog=tab(a.getRoot(),a.autocompleteConfig);a.hideErrorDialog.subscribeToAction(function(){var b;null==(b=a.hideErrorDialog)||b.dispose()})},Lwc=function(a){a.unhideErrorDialog=uab(a.getRoot(),a.autocompleteConfig);a.unhideErrorDialog.subscribeToAction(function(){var b;null==(b=a.unhideErrorDialog)||b.dispose()})};var Mwc=function(a,b){$r.call(this,a,b)};W(Mwc,$r);Mwc.prototype.onKeyDown=function(a){if(9===a.event.keyCode){var b=this.getSpotlitItem();if(b){b=b.getRoot();var c=b.querySelector('[id="'+(b.id+'-2ab"]'));if(c){var d=this.ariaParent;var e=e5b(d,"activedescendant");d=JB(d).getElementById(e);IM(this.ariaParent,d===c?b:c)}}}$r.prototype.onKeyDown.call(this,a)};var gbb=function(a,b,c,d,e,f,h){this.root=a;this.navigationInput=b;this.resultList=c;this.session=d;this.health=e;this.config=f;this.noResultsMessage=h;this.attached=!1;this.resultsLoadingCompleteListeners=[];this.navigatable=new Mwc(this.navigationInput,this.resultList.getNavigatable());this.navigatable.setSecondaryEventTargets([this]);this.navigationEventHandler=A9a({getPrevKeyCode:function(){return 38},getNextKeyCode:function(){return 40}},{shouldReactToHomeEnd:!1});this.eventHandler=Rr(this);
Nr(this.root,0)};g=gbb.prototype;g.search=function(a,b,c,d){var e=this;this.resultList.reset(a);this.resultList.clear();this.root.classList.remove("noResults");this.root.classList.add("isLoading");Nr(this.root,1);if(a){var f=Nwc(this.health);f.start();this.session.search(a,function(l){e.update(l,d,f,!0)})}else if(c){var h=Nwc(this.health);h.start();this.session.suggest(function(l){e.update(l,d,h,!1)})}};
g.attach=function(){this.attached||(this.attached=!0,this.navigationEventHandler.attach(this.navigationInput,this.navigatable),this.eventHandler.listen(this.root,"mousedown",function(a){a.preventDefault();a.stopPropagation()}))};g.detach=function(){this.attached=!1;this.navigatable.reset();this.navigationEventHandler.detach();this.eventHandler.removeAll();this.session.cancel();Nr(this.root,0)};g.isShown=function(){return!0};g.dispose=function(){this.detach();this.root.parentNode&&this.root.parentNode.removeChild(this.root)};
g.update=function(a,b,c,d){var e=a.getResults();a=a.getMetadata();this.root.classList.remove("isLoading");var f=a.getQuery();this.resultList.append(e,{query:f});e=this.resultList.getResultListItems();this.attach();var h=!1;0<e.length?(h=!0,this.root.classList.remove("noResults")):a.getIsLastCallback()&&(h=this.noResultsMessage.update({query:f}),this.root.classList.add("noResults"));b({count:e.length,hasContent:h});(d||this.config.getAutoActivateFirstSuggestion())&&0<e.length&&!this.navigatable.getSpotlitItem()&&
this.navigatable.goToItem(e[0],0);if(a.getIsLastCallback())for(Nr(this.root,0===a.getCode()?2:3,a.getCode()),b={query:f,resultCount:e.length},d=m(this.resultsLoadingCompleteListeners),a=d.next();!a.done;a=d.next())a=a.value,a(b);else Nr(this.root,4);c.stop()};g.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=m(b);for(var c=b.next();!c.done;c=b.next())c.value.toggleSelection();a.preventDefault();a.stopPropagation()}};
g.getNavigatable=function(){return this.navigatable};g.getRoot=function(){return this.root};var Yab=function(){var a=ls,b='<div class="'+ms("peoplekitComponentsAutocompleteInlineContainer")+'" peoplekit-id="'+ms("yDHfq")+'"><div class="'+ms("peoplekitComponentsAutocompleteInlineListContainer")+'">';var c=AS('<div peoplekit-id="'+ms("tjneg")+'"></div>');c=ls('<div tabindex="-1" class="'+ms("peoplekitComponentsScrollboxScrollbar")+'" peoplekit-id="'+ms("I8ejUe")+'">'+ns(c)+"</div>");b=b+c+'</div><div class="'+ms("peoplekitComponentsAutocompleteInlineCircularProgress")+'">';c='<div class="'+
ms("peoplekitComponentsCircularprogressCircularProgress")+(" "+ms("isActive"))+'" data-loadingmessage="'+ms("Loading...")+'" data-active="true" dir="ltr"><div class="'+ms("peoplekitComponentsCircularprogressMessageContainer")+'" aria-live="polite" jsname="'+ms("vyyg5")+'">'+ns("Loading...")+'</div><div class="'+ms("peoplekitComponentsCircularprogressCircularProgressContainer")+'"><div class="'+ms("peoplekitComponentsCircularprogressCircularProgressLayer")+" "+ms("peoplekitComponentsCircularprogressColorOne")+
" "+ms("exportColorOne")+'"><div class="'+ms("peoplekitComponentsCircularprogressCircleClipper")+" "+ms("peoplekitComponentsCircularprogressLeft")+'"><div class="'+ms("peoplekitComponentsCircularprogressCircle")+" "+ms("exportCircle")+'"></div></div><div class="'+ms("peoplekitComponentsCircularprogressGapPatch")+'"><div class="'+ms("peoplekitComponentsCircularprogressCircle")+" "+ms("exportCircle")+'"></div></div><div class="'+ms("peoplekitComponentsCircularprogressCircleClipper")+" "+ms("peoplekitComponentsCircularprogressRight")+
'"><div class="'+ms("peoplekitComponentsCircularprogressCircle")+" "+ms("exportCircle")+'"></div></div></div><div class="'+ms("peoplekitComponentsCircularprogressCircularProgressLayer")+" "+ms("peoplekitComponentsCircularprogressColorTwo")+" "+ms("exportColorTwo")+'"><div class="'+ms("peoplekitComponentsCircularprogressCircleClipper")+" "+ms("peoplekitComponentsCircularprogressLeft")+'"><div class="'+ms("peoplekitComponentsCircularprogressCircle")+" "+ms("exportCircle")+'"></div></div><div class="'+
ms("peoplekitComponentsCircularprogressGapPatch")+'"><div class="'+ms("peoplekitComponentsCircularprogressCircle")+" "+ms("exportCircle")+'"></div></div><div class="'+ms("peoplekitComponentsCircularprogressCircleClipper")+" "+ms("peoplekitComponentsCircularprogressRight")+'"><div class="'+ms("peoplekitComponentsCircularprogressCircle")+" "+ms("exportCircle")+'"></div></div></div><div class="'+ms("peoplekitComponentsCircularprogressCircularProgressLayer")+" "+ms("peoplekitComponentsCircularprogressColorThree")+
" "+ms("exportColorThree")+'"><div class="'+ms("peoplekitComponentsCircularprogressCircleClipper")+" "+ms("peoplekitComponentsCircularprogressLeft")+'"><div class="'+ms("peoplekitComponentsCircularprogressCircle")+" "+ms("exportCircle")+'"></div></div><div class="'+ms("peoplekitComponentsCircularprogressGapPatch")+'"><div class="'+ms("peoplekitComponentsCircularprogressCircle")+" "+ms("exportCircle")+'"></div></div><div class="'+ms("peoplekitComponentsCircularprogressCircleClipper")+" "+ms("peoplekitComponentsCircularprogressRight")+
'"><div class="'+ms("peoplekitComponentsCircularprogressCircle")+" "+ms("exportCircle")+'"></div></div></div><div class="'+ms("peoplekitComponentsCircularprogressCircularProgressLayer")+" "+ms("peoplekitComponentsCircularprogressColorFour")+" "+ms("exportColorFour")+'"><div class="'+ms("peoplekitComponentsCircularprogressCircleClipper")+" "+ms("peoplekitComponentsCircularprogressLeft")+'"><div class="'+ms("peoplekitComponentsCircularprogressCircle")+" "+ms("exportCircle")+'"></div></div><div class="'+
ms("peoplekitComponentsCircularprogressGapPatch")+'"><div class="'+ms("peoplekitComponentsCircularprogressCircle")+" "+ms("exportCircle")+'"></div></div><div class="'+ms("peoplekitComponentsCircularprogressCircleClipper")+" "+ms("peoplekitComponentsCircularprogressRight")+'"><div class="'+ms("peoplekitComponentsCircularprogressCircle")+" "+ms("exportCircle")+'"></div></div></div></div></div>';c=ls(c);return a(b+c+"</div></div>")},bbb=function(){return ls('<div class="'+ms("peoplekitComponentsAutocompleteInlineNoResultsContainer")+
'"></div>')};var dbb=function(a){a=a||{};var b=a.primaryMessage,c=a.contextMessage,d=a.learnMoreUrl,e=a.urlText;a=a.jsname;a='<div class="'+ms("peoplekitComponentsNoResultsMessageNoResultsMessage")+'"'+(a?' jsname="'+ms(a)+'"':"")+'><p class="'+ms("peoplekitComponentsNoResultsMessageHeader")+'">';a=b?a+ns(b):a+"No results";a+="</p>";if((c instanceof yS?c.getContent():c)||(d instanceof yS?d.getContent():d))a+='<p class="'+ms("peoplekitComponentsNoResultsMessageExplanation")+'">'+(c?ns(c)+(d?" ":""):""),d&&(a+=
'<a jsname="'+ms("viORvd")+'" class="'+ms("peoplekitComponentsNoResultsMessageLearnMoreLink")+'" target="_blank" href="'+ms(gec(d))+'">',a=e?a+ns(e):a+"Learn more",a+="</a>"),a+="</p>";return ls(a+"</div>")};var cbb=function(a,b){this.parent=a;this.config=b};cbb.prototype.update=function(a){this.root&&this.root.remove();a=this.config.display(a);if(!a)return!1;this.root=Aq(dbb,a);this.parent.appendChild(this.root);return!0};var fbb=function(){};fbb.prototype.update=function(){return!1};var ebb=function(){};ebb.prototype.update=function(){return!0};var hbb=function(a,b,c,d,e){var f=this;this.root=a;this.navigationInput=b;this.inlineAutocomplete=c;this.selectionsState=d;this.config=e;this.lastShowTime=0;this.popup=W9a(this.root,function(){f.hide()},{moveAboveAnchorIfOffscreen:this.config.getMoveAutocompleteAboveAnchorIfOffscreen()});this.inlineAutocomplete.getNavigatable().setSecondaryEventTargets([this.inlineAutocomplete,this]);this.eventHandler=Rr(this);this.onSelectionCallback=function(){f.onSelect()};this.onSelectionAttemptedCallback=function(){f.hide()};
this.attach()};g=hbb.prototype;g.search=function(a,b,c,d){var e=this;this.hide();this.inlineAutocomplete.search(a,b,c,function(f){e.anchor=b;e.update(f);d(f)})};g.attach=function(){var a=this;owc(this.selectionsState,this.onSelectionCallback);this.selectionsState.selectionAttemptedCallbacks.add(this.onSelectionAttemptedCallback,2);this.eventHandler.listen(this.root,"mouseover",function(b){100>Date.now()-a.lastShowTime&&(b.preventDefault(),b.stopPropagation())})};g.onSelect=function(){this.hide()};
g.onKeyDown=function(a){this.isShown()&&27===a.event.keyCode&&(this.hide(),a.preventDefault(),a.stopPropagation())};g.detach=function(){this.hide()};g.isShown=function(){return this.popup.isShown()};g.dispose=function(){this.detach();this.selectionsState.selectionCallbacks.remove(this.onSelectionCallback);this.selectionsState.selectionAttemptedCallbacks.remove(this.onSelectionAttemptedCallback);this.eventHandler.removeAll();this.inlineAutocomplete.dispose();this.root.parentNode&&this.root.parentNode.removeChild(this.root)};
g.getNavigatable=function(){return this.inlineAutocomplete.getNavigatable()};g.getRoot=function(){return this.root};g.update=function(a){a.hasContent&&this.show()};
g.show=function(){this.navigationInput.setAttribute("aria-expanded","true");this.lastShowTime=Date.now();var a=this.navigationInput.clientWidth;a:{var b=this.config.getDensity();switch(b){case 0:b=300;break a;case 1:b=300;break a;case 2:b=240;break a;default:throw Error("we`"+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("we`"+c);}}this.root.style.width=MS(Math.max(Math.min(c,a),b),!0);a:switch(a=this.config.getDensity(),
a){case 0:a=Number("64");break a;case 1:a=Number("52");break a;case 2:a=Number("44");break a;default:throw Error("we`"+a);}this.root.style.maxHeight=this.config.getAutocompleteMaxResultsBeforeScroll()*a+"px";this.root.style.minHeight=a+"px";this.popup.show(this.anchor)};g.hide=function(){this.popup.hide();this.navigationInput.setAttribute("aria-expanded","false");this.inlineAutocomplete.detach()};var Xab=function(){return ls('<div class="'+ms("peoplekitComponentsAutocompletePopupContainer")+'" peoplekit-id="'+ms("noeiCf")+'" style="display: none;"></div>')};var Owc=function(){this.batches=new Map};Owc.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 vab=function(a,b){this.service=a;this.resolveComponents=b};
vab.prototype.update=function(a){var b=this;a=m([].concat(r(a.batches.values())));for(var c=a.next();!c.done;c=a.next()){var d=c.value;if(d.features.length){c=this.service.for(d.ids);d=m(d.features);for(var e=d.next();!e.done;e=d.next())switch(e.value){case 1:c=c.withWaldo(function(f){Pwc(b,f.values,function(h,l,q){q.updateWaldo(l,h)})});break;case 2:c=c.withHubAvailabilityDot(function(f){Pwc(b,f.values,function(h,l,q){q.updateHubAvailabilityDot(l,h)})})}c.execute()}}};
var Pwc=function(a,b,c){b=m(b);for(var d=b.next();!d.done;d=b.next()){d=d.value;for(var e=d.getLookupId(),f=m(a.resolveComponents(e)),h=f.next();!h.done;h=f.next())c(e,d,h.value)}};var Qwc=new Set([1,3,20]),Rwc=function(a){var b=this;this.idToComponent=new Map;this.updater=wab(a,function(c){return b.resolveComponents(c)})};g=Rwc.prototype;
g.append=function(a){var b=a.filter(function(f){return f.getAllIds().some(function(h){return Qwc.has(h.getType())})});a=[];b=m(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;c.initializeIntelligence();for(var d=m(c.getAllIds()),e=d.next();!e.done;e=d.next())e=e.value,a.push(e),e=String(e),this.idToComponent.has(e)||this.idToComponent.set(e,[]),this.idToComponent.get(e).push(c)}this.refresh(a)};
g.remove=function(a){var b={};a=m(a);for(var c=a.next();!c.done;b={$jscomp$loop$prop$component$2313:b.$jscomp$loop$prop$component$2313},c=a.next()){b.$jscomp$loop$prop$component$2313=c.value;c=m(b.$jscomp$loop$prop$component$2313.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(f){return function(h){return h!==f.$jscomp$loop$prop$component$2313}}(b)))}}};
g.resolveComponents=function(a){return this.idToComponent.get(String(a))||[]};g.refresh=function(a){var b=new Owc;a=m(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=this.resolveComponents(c);d=m(d);for(var e=d.next();!e.done;e=d.next())b.add(c,e.value.getSupportedIntelligenceFeatures())}this.updater.update(b)};g.clear=function(){this.idToComponent.clear()};var t2=function(){};t2.prototype.append=function(){};t2.prototype.remove=function(){};t2.prototype.refresh=function(){};t2.prototype.clear=function(){};var Wab=function(a){this.peopleIntelligence=a};Wab.prototype.create=function(){return this.peopleIntelligence?new Rwc(this.peopleIntelligence):new t2};var Swc=function(){this.label="";this.type=0};g=Swc.prototype;g.getAutocompleteGroupingType=function(){return this.type};g.setAutocompleteGroupingType=function(a){this.type=a};g.getAutocompleteGroupingLabel=function(){return this.label};g.setAutocompleteGroupingLabel=function(a){this.label=a};g.getAutocompleteCustomGrouping=function(){return this.customGrouping};var u2=function(){this.decorationConfigRequest=function(){};this.resultCustomizationCallback=function(){return{}}};u2.prototype.getAllowResultDeselection=function(){return!1};u2.prototype.getWarnForExternalSelections=function(){return!1};u2.prototype.getResultDecorationConfigRequestCallback=function(){return this.decorationConfigRequest};u2.prototype.getResultCustomizationCallback=function(){return this.resultCustomizationCallback};var Twc=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 Swc;this.result=new u2;this.appearance=new js};g=Twc.prototype;g.getEnvironmentConfig=function(){return this.environmentConfig};g.getAutocompleteHeader=function(){return this.header};g.setAutocompleteHeader=function(a){this.header=a};
g.getShowSuggestions=function(){return this.showSuggestions};g.setShowSuggestions=function(a){this.showSuggestions=a};g.getAutocompleteMaxResultsBeforeScroll=function(){return this.maxResultsBeforeScroll};g.setAutocompleteMaxResultsBeforeScroll=function(a){this.maxResultsBeforeScroll=Math.max(Math.min(20,a),3)};g.getMoveAutocompleteAboveAnchorIfOffscreen=function(){return this.moveAutocompleteAboveAnchorIfOffscreen};
g.setMoveAutocompleteAboveAnchorIfOffscreen=function(a){this.moveAutocompleteAboveAnchorIfOffscreen=a};g.getAutoActivateFirstSuggestion=function(){return this.autoActivateFirstSuggestion};g.setAutoActivateFirstSuggestion=function(a){this.autoActivateFirstSuggestion=a};g.setEntryPoint=function(a){this.entryPoint=a};g.getEntryPoint=function(){return this.entryPoint};g.getNoResultsMessage=function(){return this.noResultsMessage};g.setNoResultsMessage=function(a){this.noResultsMessage=a};
g.getAutocompleteGroupingType=function(){return this.grouping.getAutocompleteGroupingType()};g.setAutocompleteGroupingType=function(a){this.grouping.setAutocompleteGroupingType(a)};g.getAutocompleteGroupingLabel=function(){return this.grouping.getAutocompleteGroupingLabel()};g.setAutocompleteGroupingLabel=function(a){this.grouping.setAutocompleteGroupingLabel(a)};g.getAutocompleteCustomGrouping=function(){return this.grouping.getAutocompleteCustomGrouping()};g.getAllowResultDeselection=function(){return this.result.getAllowResultDeselection()};
g.getWarnForExternalSelections=function(){return this.result.getWarnForExternalSelections()};g.getResultDecorationConfigRequestCallback=function(){return this.result.getResultDecorationConfigRequestCallback()};g.getResultCustomizationCallback=function(){return this.result.getResultCustomizationCallback()};g.getDensity=function(){return this.appearance.getDensity()};g.setDensity=function(a){this.appearance.setDensity(a)};g.getTheme=function(){return this.appearance.getTheme()};g.setTheme=function(a){this.appearance.setTheme(a)};var Uwc=function(a){this.environmentConfig=a;this.autocomplete=new Twc(a)};g=Uwc.prototype;g.getEnvironmentConfig=function(){return this.environmentConfig};g.getAutocompleteHeader=function(){return this.autocomplete.getAutocompleteHeader()};g.setAutocompleteHeader=function(a){this.autocomplete.setAutocompleteHeader(a)};g.getShowSuggestions=function(){return this.autocomplete.getShowSuggestions()};g.setShowSuggestions=function(a){this.autocomplete.setShowSuggestions(a)};
g.getAutocompleteMaxResultsBeforeScroll=function(){return this.autocomplete.getAutocompleteMaxResultsBeforeScroll()};g.setAutocompleteMaxResultsBeforeScroll=function(a){this.autocomplete.setAutocompleteMaxResultsBeforeScroll(a)};g.getMoveAutocompleteAboveAnchorIfOffscreen=function(){return this.autocomplete.getMoveAutocompleteAboveAnchorIfOffscreen()};g.setMoveAutocompleteAboveAnchorIfOffscreen=function(a){this.autocomplete.setMoveAutocompleteAboveAnchorIfOffscreen(a)};
g.getAutoActivateFirstSuggestion=function(){return this.autocomplete.getAutoActivateFirstSuggestion()};g.setAutoActivateFirstSuggestion=function(a){this.autocomplete.setAutoActivateFirstSuggestion(a)};g.setEntryPoint=function(a){this.autocomplete.setEntryPoint(a)};g.getEntryPoint=function(){return this.autocomplete.getEntryPoint()};g.getNoResultsMessage=function(){return this.autocomplete.getNoResultsMessage()};g.setNoResultsMessage=function(a){this.autocomplete.setNoResultsMessage(a)};
g.getAutocompleteGroupingType=function(){return this.autocomplete.getAutocompleteGroupingType()};g.setAutocompleteGroupingType=function(a){this.autocomplete.setAutocompleteGroupingType(a)};g.getAutocompleteGroupingLabel=function(){return this.autocomplete.getAutocompleteGroupingLabel()};g.setAutocompleteGroupingLabel=function(a){this.autocomplete.setAutocompleteGroupingLabel(a)};g.getAutocompleteCustomGrouping=function(){return this.autocomplete.getAutocompleteCustomGrouping()};
g.getAllowResultDeselection=function(){return this.autocomplete.getAllowResultDeselection()};g.getWarnForExternalSelections=function(){return this.autocomplete.getWarnForExternalSelections()};g.getResultDecorationConfigRequestCallback=function(){return this.autocomplete.getResultDecorationConfigRequestCallback()};g.getResultCustomizationCallback=function(){return this.autocomplete.getResultCustomizationCallback()};g.getDensity=function(){return this.autocomplete.getDensity()};g.setDensity=function(a){this.autocomplete.setDensity(a)};
g.getTheme=function(){return this.autocomplete.getTheme()};g.setTheme=function(a){this.autocomplete.setTheme(a)};var Vwc=Object.freeze(new Map([[5,1]]));var v2=function(){this.entryPoint_=0};v2.prototype.getPeoplekitEntryPoint=function(){return this.entryPoint_};v2.prototype.setPeoplekitEntryPoint=function(a){this.entryPoint_=a;return this};v2.prototype.serialize=function(){return[this.entryPoint_].toString()};var Wwc=Object.freeze(new v2);var w2=function(){this.originator_=0};w2.prototype.setOriginator=function(a){this.originator_=a;return this};w2.prototype.getOriginator=function(){return this.originator_};var Rab=function(a,b,c){var d=this;this.reporter=a.getReporter((new v2).setPeoplekitEntryPoint(c));owc(b,function(e,f,h){d.select(e,h)},0);nwc(b,function(e,f,h){d.deselect(e,h)},0);Xwc(b,function(e,f,h,l){d.replace(e,l)})};g=Rab.prototype;g.display=function(a){this.reporter.reportDisplay(xab(a.getTargetList()))};g.select=function(a,b){if(!a.isPlaceholder())switch(b){case 1:case 12:case 5:this.reporter.reportSelect(Gs([a]),(new w2).setOriginator(Vwc.get(b)||0));break;case 6:this.reporter.reportExternalSelect(Gs([a]))}};
g.deselect=function(a,b){if(!a.isPlaceholder())switch(b){case 7:case 8:case 1:this.reporter.reportDeselect(Gs([a]))}};g.dismiss=function(a){this.reporter.reportDismiss(Gs(a))};g.save=function(a){this.reporter.reportSave(Gs(a))};g.send=function(a){this.reporter.reportSend(Gs(a))};g.replace=function(a,b){switch(b){case 5:case 6:this.select(a,b)}};var Ywc=function(){this.isBatchingInternal=!1;this.timerId=this.lastBatchTime=0};Ywc.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=Zp(function(){b.isBatchingInternal=!1;a()},100<d?0:100)}};Ywc.prototype.cancel=function(){$p(this.timerId);this.isBatchingInternal=!1};var pbb=function(a,b,c,d,e,f){var h=this;this.root=a;this.autocomplete=b;this.selectionsState=c;this.interactions=d;this.tracker=e;this.config=f;this.selectionChangedListeners=[];this.selectionChangedAutoBatcher=new Ywc;owc(this.selectionsState,function(){Zwc(h)})};g=pbb.prototype;g.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)})};g.isShown=function(){return this.autocomplete.isShown()};
g.report=function(a,b){b=void 0===b?[]:b;b=b.length?b:this.selectionsState.asArray();var c=this.interactions;switch(a){case 1:c.reporter.reportProceed(Gs(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(Gs(b))}};g.cancel=function(){this.autocomplete.detach()};
g.dispose=function(){this.tracker.stop();this.selectionChangedListeners.length=0;this.selectionsState.clear();this.root.parentNode&&this.root.parentNode.removeChild(this.root);this.autocomplete.dispose()};var $wc=function(a,b){a.selectionChangedListeners.push(b)},Zwc=function(a){a.selectionChangedAutoBatcher.call(function(){for(var b=a.selectionsState.asArray(),c=m(a.selectionChangedListeners),d=c.next();!d.done;d=c.next())d=d.value,d(b)})};var Qab=function(){return ls('<div peoplekit-id="'+ms("nVhUhf")+'"></div>')};var x2=function(a){Y.call(this,a)};W(x2,Y);g=x2.prototype;g.getClientId=function(){return tk(this,1,0)};g.setClientId=function(a){return k(this,1,a)};g.getEntryPoint=function(){return tk(this,5,0)};g.setEntryPoint=function(a){return k(this,5,a)};g.getSocialClient=function(){return Ok(this,MR,2)};g.setSocialClient=function(a){return gl(this,MR,2,a)};g.setVersionName=function(a){return k(this,3,a)};g.getBaselineCl=function(){return ol(this,4)};g.setBaselineCl=function(a){return k(this,4,a)};
g.hasBaselineCl=function(){return Tm(this,4)};g.getBaselineClOrUndefined=function(){return uu(this,4)};g.getComponentFlow=function(){return tk(this,7,0)};g.setComponentFlow=function(a){return k(this,7,a)};var y2=function(a){Y.call(this,a)};W(y2,Y);var axc=function(a){Y.call(this,a)};W(axc,Y);g=axc.prototype;g.getLabel=function(){return tk(this,1,0)};g.setLabel=function(a){return k(this,1,a)};g.hasLabel=function(){return nl(this,1)};g.getValue=function(){return ol(this,2,1)};g.setValue=function(a){return k(this,2,a)};g.hasValue=function(){return Tm(this,2)};var z2=function(a){Y.call(this,a)};W(z2,Y);z2.prototype.getLabel=function(){return Dk(this,1)};z2.prototype.setLabel=function(a){return k(this,1,a)};z2.prototype.hasLabel=function(){return Am(this,1)};z2.prototype.getCause=function(){return Dk(this,2)};var A2=function(a){Y.call(this,a)};W(A2,Y);g=A2.prototype;g.getLabel=function(){return tk(this,1,0)};g.setLabel=function(a){return k(this,1,a)};g.hasLabel=function(){return nl(this,1)};g.setLatencyUsec=function(a){k(this,2,a)};g.getCacheStatus=function(){return tk(this,3,0)};g.setCacheStatus=function(a){return k(this,3,a)};var B2=function(a){Y.call(this,a)};W(B2,Y);B2.prototype.getInterfaceType=function(){return tk(this,1,0)};B2.prototype.setInterfaceType=function(a){return k(this,1,a)};var bxc=function(a){Y.call(this,a)};W(bxc,Y);g=bxc.prototype;g.getCount=function(){return Ok(this,axc,3)};g.setCount=function(a){return gl(this,axc,3,a)};g.getLatency=function(){return Ok(this,A2,4)};g.setLatency=function(a){return gl(this,A2,4,a)};g.getError=function(){return Ok(this,z2,5)};g.setError=function(a){gl(this,z2,5,a)};g.hasError=function(){return Hl(this,z2,5)};var dxc=function(a){Y.call(this,a,-1,cxc)};W(dxc,Y);dxc.prototype.setElementIndex=function(a){k(this,2,a)};var cxc=[3];var C2=function(a){Y.call(this,a)};W(C2,Y);C2.prototype.getClientInterface=function(){return Ok(this,x2,3)};C2.prototype.setClientInterface=function(a){return gl(this,x2,3,a)};C2.prototype.getMetadata=function(){return Ok(this,y2,4)};C2.prototype.setMetadata=function(a){gl(this,y2,4,a)};var Sab=function(a){this.logContext=ddb(mt(new nt,"PeopleKit").setLogSource(624).setApplication(a.getSocialApplicationOrUndefined()).setEnvironment(0).setVersion("1.0").setBaselineCl(523619082).setEnableClearcut(a.getEnableClearcut()),zs.getExperimentIds());this.clientId=a.getClientId();this.componentFlow=a.getComponentFlow()};g=Sab.prototype;g.getLogContext=function(){return this.logContext};g.createCountMetric=function(){throw Error("Ya");};g.createStatusMetric=function(){throw Error("Ya");};
g.createLatencyMetric=function(a,b){b=b.source();a=(new C2).setClientInterface((new x2).setClientId(this.clientId).setSocialClient(a.getSocialClient()).setVersionName(this.getLogContext().getVersionOrUndefined()).setBaselineCl(this.getLogContext().getBaselineClOrUndefined()).setComponentFlow(this.componentFlow));return gl(a,bxc,2,b)};g.createErrorMetric=function(){throw Error("Ya");};var exc=function(a,b){this.count=0;this.metrics=a;this.label="total";a=new bxc;a=k(a,1,4);var c=new B2;b=k(c,2,2).setInterfaceType(b);this.dataEntry=gl(a,B2,2,b).setLatency((new A2).setLabel(8));this.state=new ZR(this.dataEntry)};exc.prototype.start=function(){this.count=0;this.metrics.start(this.state,this.label)};
exc.prototype.stop=function(a){a=void 0===a?function(){}:a;this.metrics.stop(this.state,this.label);var b=$R(this.state,this.label),c;null==(c=this.dataEntry.getLatency())||c.setLatencyUsec(b);a(b);var d;null!=(d=Ok(this.dataEntry,B2,2))&&k(d,3,this.count);this.metrics.latency(this.state);++this.count};var Vab=function(a,b){this.metrics=a;this.userInterfaceType=b};var Uab=function(a){this.trackers=a},Nwc=function(a){a=a.trackers;return new exc(a.metrics,a.userInterfaceType)};var D2=function(){this.itemsByPriority=[]};D2.prototype.add=function(a,b){this.itemsByPriority[b]||(this.itemsByPriority[b]=new Set);this.itemsByPriority[b].add(a)};D2.prototype.remove=function(a){for(var b=m(this.itemsByPriority),c=b.next();!c.done;c=b.next())(c=c.value)&&c.delete(a)};D2.prototype.asArray=function(){return this.itemsByPriority.flatMap(function(a){return[].concat(r(a))})};var Ls=function(){this.selectionCallbacks=new D2;this.deselectionCallbacks=new D2;this.selectionReplacedCallbacks=new D2;this.selectionAttemptedCallbacks=new D2;this.selectionsState=[]};
Ls.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 Hs(a,b,c,this.selectionAttemptedCallbacks.asArray()),!1;0<=b?(this.selectionsState.splice(b,0,a),Hs(a,b,c,this.selectionCallbacks.asArray())):(this.selectionsState.push(a),Hs(a,this.selectionsState.length-1,c,this.selectionCallbacks.asArray()));return!0};
Ls.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),Hs(a,d,b,this.deselectionCallbacks.asArray()))};Ls.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 owc=function(a,b,c){a.selectionCallbacks.add(b,void 0===c?2:c)},nwc=function(a,b,c){a.deselectionCallbacks.add(b,void 0===c?2:c)},Xwc=function(a,b){a.selectionReplacedCallbacks.add(b,0)};g=Ls.prototype;g.get=function(a){var b=String(a);return this.selectionsState.find(function(c){return b===String(c.id())})};g.at=function(a){return this.selectionsState[a]};
g.replace=function(a,b,c){c=void 0===c?0:c;var d=String(a),e=this.selectionsState.findIndex(function(f){return d===String(f.id())});if(0>e||!a.equals(b.id())&&this.get(b.id()))return!1;this.selectionsState[e]=b;yab(b,e,a,c,this.selectionReplacedCallbacks.asArray());return!0};g.pop=function(a){a=void 0===a?0:a;var b=this.selectionsState.pop();if(b)return Hs(b,this.selectionsState.length,a,this.deselectionCallbacks.asArray()),b};
g.indexOf=function(a){var b=String(a);return this.selectionsState.findIndex(function(c){return b===String(c.id())})};g.asArray=function(){return this.selectionsState.slice()};g.size=function(){return this.selectionsState.length};g.clear=function(){for(;0<this.selectionsState.length;)this.deselect(this.selectionsState[0])};var obb=function(){};obb.prototype.start=function(){};obb.prototype.stop=function(){};var fxc=function(a){this.userAction=a};var Qs=function(a){this.visualElementRoot=a;this.syntheticVisualElements=new Map;a=Wr(this.visualElementRoot);this.syntheticRoot=zab(a);this.syntheticVisualElements.set(a.id,this.syntheticRoot)};
Qs.prototype.insert=function(a){a=m(a);for(var b=a.next();!b.done;b=a.next()){b=b.value;var c=Wr(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=Wr(b[c]);this.syntheticVisualElements.has(e.id)||(d=zab(e),this.syntheticVisualElements.set(e.id,d),e=Wr(b[c-1]),this.syntheticVisualElements.get(e.id).appendChild(d))}}}};
Qs.prototype.remove=function(a){a=m(a);for(var b=a.next();!b.done;b=a.next())if(b=Wr(b.value)){var c=this.syntheticVisualElements.get(b.id);this.syntheticVisualElements.delete(b.id);c&&c.parentElement&&c.parentElement.removeChild(c)}};Qs.prototype.getRoot=function(){return this.syntheticRoot};Qs.prototype.getElement=function(a){return this.syntheticVisualElements.get(a)};var lbb=function(a,b){this.syntheticTree=a;this.tracker=b;this.delayedImpression=new Nec(this.impress,15,this)};lbb.prototype.impress=function(){var a=this.tracker,b=this.syntheticTree.getRoot();var c=void 0===c?!1:c;b=gxc(a.traverser_,b);hxc(a,b,new KS(0,0,0,0));c&&ixc(a,b,new KS(0,0,0,0))};lbb.prototype.dispose=function(){this.delayedImpression.dispose()};var mbb=function(a,b){this.root=a;this.visualElementHandler=b;this.eventHandler=Rr(this)};
mbb.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,Tuc,function(b){b.stopPropagation();var c=a.visualElementHandler,d=b.type;if(b=Wr(b.target))if(b=c.syntheticTree.getElement(b.id),d=Uuc.get(d),b&&d&&(c=c.tracker,d=new fxc(d),(b=E2(c.visualElementProvider_,b))&&b.impressionEventID))for(b=c.eventHandler_.interactionEvent(b,
d),d=0;d<b.length;++d)c.metadataHandler_.addEventMetadata(b[d]),c.zwiebackId_&&k(b[d],28,c.zwiebackId_),c.transport_&&nC(c.transport_,b[d])}))};mbb.prototype.dispose=function(){var a;null==(a=this.mutationObserver)||a.disconnect();this.eventHandler.removeAll();this.visualElementHandler.dispose()};
mbb.prototype.onMutation=function(a){a=m(a);for(var b=a.next();!b.done;b=a.next())if(b=b.value,"childList"===b.type){var c=Aab(b.removedNodes);c.length&&this.visualElementHandler.syntheticTree.remove(c);b=Aab(b.addedNodes);b.length&&(c=this.visualElementHandler,c.syntheticTree.insert(b),c.delayedImpression.start())}};var nbb=function(a){this.visualElementObserver=a};nbb.prototype.start=function(){this.visualElementObserver.observe()};nbb.prototype.stop=function(){this.visualElementObserver.dispose()};for(var jxc={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"}},Bab=Fab(jxc),kxc=new Map,lxc=m(Object.keys(jxc)),mxc=lxc.next();!mxc.done;mxc=lxc.next()){var nxc=mxc.value;kxc.set(jxc[nxc].xid,jxc[nxc].string)}
var Dab=Fab({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 F2=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_=[]},oxc=function(a,b){return b?a.tracks_.has(a.maybeXidEventLabel_(b)):0!=a.tracks_.size};g=F2.prototype;g.getIndex=function(){return this.index_};g.setComponentID=function(a){this.componentID_=a};g.getComponentID=function(){return this.componentID_};
g.isMutable=function(){return this.mutable_};g.setAttribute=function(a){this.attribute_=a;return this};g.getAttribute=function(){return this.attribute_};var pxc=function(a,b){for(var c=0;c<a.metadataHandlers_.length;++c)a.metadataHandlers_[c](b)};F2.prototype.maybeXidEventLabel_=function(a){return this.xidTagComponents_?Cab(a):a};F2.prototype.maybeXidPartLabel_=function(a){return this.xidTagComponents_?Eab(a):a};var qxc=function(a){F2.call(this,a)};W(qxc,F2);var G2=function(a){Y.call(this,a)};W(G2,Y);var rxc=function(a){if(null!=a)return jc(a),{timeUsec:ic(Db(a,1)),serverIp:ic(nDb(a,2)),processId:ic(nDb(a,3))}},sxc=[G2,1,xDb,2,ADb,3,ADb];var H2=function(a){Y.call(this,a)};W(H2,Y);H2.prototype.getBase=function(){return Ok(this,G2,1)};H2.prototype.setBase=function(a){return gl(this,G2,1,a)};H2.prototype.hasBase=function(){return Hl(this,G2,1)};var txc=function(a){if(null!=a)return jc(a),{base:rxc(a.getBase()),clientCounter:ic(Db(a,2))}},uxc=[H2,1,CDb,sxc,2,xDb];var I2=function(a){Y.call(this,a,-1,vxc)};W(I2,Y);I2.prototype.getBase=function(){return vu(this,1)};I2.prototype.setBase=function(a){return Pb(this,1,a,void 0,xj)};I2.prototype.getOffset=function(){return zj(this,2,0)};I2.prototype.setOffset=function(a){k(this,2,a)};var vxc=[1],wxc=[I2,1,yDb,2,Au];var J2=function(a){Y.call(this,a)};W(J2,Y);J2.prototype.setVeIndex=function(a){k(this,1,a)};var xxc=function(a,b){k(a,2,b)};J2.prototype.setElementIndex=function(a){k(this,5,a)};J2.prototype.getResultIndex=function(){return zj(this,6,-1)};J2.prototype.setResultIndex=function(a){k(this,6,a)};
var yxc=function(){var a=[J2,1,Au,11,Au,15,CDb,wxc,2,Au,8,Au,5,Au,6,Au,7,Au,9,Au,10,BDb,12,zDb,13,CDb,uxc,14,Au];return function(b,c){a:{if(fDb.length){var d=fDb.pop();d.setOptions(c);d.decoder_.init(b,void 0,void 0,c);b=d}else b=new eDb(b,c);try{var e=yba(a);var f=zba(new e.ctor,b,e);break a}finally{b.free()}f=void 0}return f}}();var K2=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};K2.prototype.getTag=function(){return this.veTag_};K2.prototype.getElement=function(){return this.el_};var Axc=function(a){var b=zxc++;a.traversalOrder_=b};K2.prototype.setParent=function(a){this.parent_=a};K2.prototype.getParent=function(){return this.parent_};var ibb=function(a){Y.call(this,a)};W(ibb,Y);g=ibb.prototype;g.getClientId=function(){return Db(this,1)};g.setClientId=function(a){return k(this,1,a)};g.getEntryPoint=function(){return Db(this,2)};g.setEntryPoint=function(a){return k(this,2,a)};g.getApplication=function(){return Db(this,3)};g.setApplication=function(a){return k(this,3,a)};g.getApplicationOrUndefined=function(){return qt(this,3)};g.setVersionName=function(a){return k(this,4,a)};g.getBaselineCl=function(){return Db(this,5)};
g.setBaselineCl=function(a){return k(this,5,a)};g.hasBaselineCl=function(){return Tm(this,5)};g.getBaselineClOrUndefined=function(){return uu(this,5)};g.getMetadata=function(){return Ok(this,y2,6)};g.setMetadata=function(a){gl(this,y2,6,a)};var jbb=function(a){this.context_=a};jbb.prototype.createNewTag=function(a){return new qxc(a)};jbb.prototype.addEventMetadata=function(a){OPb(a,this.context_.serialize())};var Bxc=function(){this.client_info=this.global_metadata=this.ve_metadata=void 0;this.testCodes=[]};var L2=function(){};L2.prototype.impressionEvent=function(){return[]};L2.prototype.interactionEvent=function(){return[]};L2.prototype.visibilityEvent=function(){return[]};var N2=function(){if(!M2){var a=M2=new G2,b=1E3*Date.now();k(a,1,b);k(M2,2,0);k(M2,3,0)}a=(new H2).setBase(M2);b=++Cxc;return k(a,2,b)},Cxc=0,M2=void 0;var O2=function(a){Y.call(this,a,1)};W(O2,Y);var P2=function(a){Y.call(this,a)};W(P2,Y);var Q2=function(a){Y.call(this,a)};W(Q2,Y);Q2.prototype.getEvent=function(){return Sl(this,G2,1,Dxc)};Q2.prototype.setVed=function(a){return rk(this,5,R2,a)};var Dxc=[1,3,4],R2=[2,5];var S2=function(a){Y.call(this,a,7)};W(S2,Y);g=S2.prototype;g.getTarget=function(){return Ok(this,Q2,1)};g.setTarget=function(a){return gl(this,Q2,1,a)};g.getType=function(){return tk(this,2,0)};g.setType=function(a){return k(this,2,a)};g.hasType=function(){return nl(this,2)};var T2=function(a){Y.call(this,a,-1,Exc)};W(T2,Y);var Exc=[1];var Gxc=function(a){Y.call(this,a,-1,Fxc)};W(Gxc,Y);Gxc.prototype.getOffset=function(){return zj(this,2,0)};Gxc.prototype.setOffset=function(a){k(this,2,a)};var Fxc=[1];var Hxc=function(a){Y.call(this,a)};W(Hxc,Y);Hxc.prototype.getEventId=function(){return Sl(this,G2,1,Ixc)};Hxc.prototype.setEventId=function(a){hq(this,1,Ixc,a)};var Ixc=[1,2],Jxc=[3,6];var Kxc=function(a){Y.call(this,a)};W(Kxc,Y);var U2=function(a){Y.call(this,a,233,Lxc)};W(U2,Y);U2.prototype.setUiType=function(a){return k(this,1,a)};U2.prototype.setElementIndex=function(a){k(this,3,a)};var Mxc=function(a,b){Mb(a,4,b,ub)};U2.prototype.getResultIndex=function(){return su(this,7)};U2.prototype.setResultIndex=function(a){k(this,7,a)};U2.prototype.setVisible=function(a){return k(this,6,a)};
var Nxc={},Lxc=[4],Oxc=function(a){if(null!=a){jc(a);var b=ic(su(a,1)),c=zj(a,3,-1),d=ic(xj(a,4)),e=ic(Db(a,5)),f=ic(su(a,7));var h=Ok(a,Hxc,11);if(null!=h){jc(h);var l=rxc(h.getEventId());var q=txc(Sl(h,H2,2,Ixc)),u=zj(h,mq(h,Jxc,3),-1);h=Sl(h,Gxc,6,Jxc);null!=h?(jc(h),h={identifierBaseList:ic(xj(h,1)),offset:zj(h,2,0)}):h=void 0;l={eventId:l,clientEventId:q,featureIndex:u,featureOffsetIdentifier:h}}else l=void 0;q=tk(a,6,0);u=ic(Db(a,17));h=zj(a,149,-1);var x=Ok(a,Kxc,232);if(null!=x){jc(x);x=Ok(x,
Q2,1);if(null!=x){jc(x);var y=rxc(x.getEvent()),G=txc(Sl(x,H2,3,Dxc)),L=ic(oq(x,4,Dxc));var M=Sl(x,J2,2,R2);if(null!=M){jc(M);var T=zj(M,1,-1),S=zj(M,11,-1);var X=Ok(M,I2,15);null!=X?(jc(X),X={baseList:ic(xj(X,1)),offset:zj(X,2,0)}):X=void 0;M={veIndex:T,nonArchivalVeIndex:S,veOffsetIdentifier:X,veType:ic(su(M,2)),odelaySeLinker:ic(su(M,8)),elementIndex:zj(M,5,-1),resultIndex:zj(M,6,-1),pageStart:ic(su(M,7)),resultGroupElementIndex:zj(M,9,-1),doNotLogUrl:Tl(M,10,!1),resultFprint:ic(Db(M,12)),veEventId:txc(Ok(M,
H2,13)),youtubeVeCounter:zj(M,14,-1)}}else M=void 0;x={event:y,clientEvent:G,ei:L,rootVe:M,ved:ic(oq(x,5,R2))}}else x=void 0;x={reference:x}}else x=void 0;b={uiType:b,elementIndex:c,containsElementsList:d,targetUrl:e,resultIndex:f,featureTreeRef:l,visible:q,language:u,adImpressionIndex:h,dataElement:x};Mba(a,b,Nxc);return b}};var V2=function(a){Y.call(this,a,17,Pxc)};W(V2,Y);g=V2.prototype;g.setVed=function(a){return k(this,11,a)};g.setUiType=function(a){return k(this,1,a)};g.setVeIndex=function(a){k(this,2,a)};g.getResultIndex=function(){return zj(this,7,-1)};g.setResultIndex=function(a){k(this,7,a)};g.setElementIndex=function(a){k(this,8,a)};g.getImageUrl=function(){return Db(this,9)};var Qxc=function(a,b){ac(a,14,b)},Pxc=[14];var W2=function(a){Y.call(this,a,-1,Rxc)};W(W2,Y);W2.prototype.getEventId=function(){return Ok(this,H2,1)};W2.prototype.setEventId=function(a){gl(this,H2,1,a)};var Rxc=[2];var Sxc=function(){};Sxc.prototype.createNewTag=function(a){return new F2(a)};Sxc.prototype.addEventMetadata=function(){};var X2=function(a){Y.call(this,a,-1,Txc)};W(X2,Y);var Uxc=function(a,b){ac(a,1,b)};X2.prototype.addPath=function(a,b){return jq(this,1,U2,a,b)};X2.prototype.setPath=function(a,b){return ou(this,1,U2,a,b)};var Txc=[1];var Vxc=fc(100,{coreGraftMetadata:0},X2,function(a){if(null!=a)return jc(a),{pathList:hc(yj(a,U2,1),Oxc)}});var Y2=function(a){Y.call(this,a)};W(Y2,Y);var Wxc=function(a){var b=Date.now().toString();k(a,1,b)};var Z2=function(a){Y.call(this,a)};W(Z2,Y);Z2.prototype.getTimestamp=function(){return Ok(this,Y2,1)};Z2.prototype.setTimestamp=function(a){return gl(this,Y2,1,a)};Z2.prototype.hasTimestamp=function(){return Hl(this,Y2,1)};var Xxc=function(a){if(null!=a)return jc(a),a=a.getTimestamp(),null!=a?(jc(a),a={clientWallClockTimestamp:ic(Db(a,1))}):a=void 0,{timestamp:a}};var Yxc=fc(126,{coreInteractionMetadata:0},Z2,Xxc);var Zxc=fc(618,{coreVeMetadata:0},Z2,Xxc);Nxc[618]=Zxc;var Os=function(a,b,c){this.enableAncestryLogging_=void 0===a?!0:a;this.enableAncestryLoggingForGrafts_=void 0===c?!1:c;this.enableBatching_=void 0===b?!1:b};W(Os,L2);Os.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=$xc(this,c,b);b=this.enableBatching_?ayc(this,d,b):byc(this,d,b);return a.concat(b)};
Os.prototype.interactionEvent=function(a,b){var c=new gC,d=new W2,e=N2();d.setEventId(e);e=new V2;a.serverVed_?e.setVed(a.serverVed_):e.setUiType(a.getTag().visualElementID_).setVeIndex(a.traversalOrder_);Qxc(k(e,3,b.userAction),this.getAncestry_(a));a.getTag();this.setTimestamp(e);b=new P2;gl(b,H2,1,a.impressionEventID);gl(d,H2,3,a.impressionEventID);gl(d,V2,4,e);gl(d,P2,9,b);JSON.stringify(null,null,1);hC(c,d.serialize());return[c]};
Os.prototype.visibilityEvent=function(a,b){for(var c=[],d=new Map,e=0;e<a.length;++e){var f=a[e],h=f.getElement(),l=f.rootImpressionEventID,q=d.get(l);q=q?q:[];var u=new X2;this.enableAncestryLoggingForGrafts_&&Uxc(u,this.getAncestry_(f));if(f.neverShown||oxc(f.getTag(),"vis"))if(h=this.isVisible_(h,b),f.hidden&&h){h=new S2;h.setType(1);var x=cyc(f);h.setTarget(x);x=h;var y=Date.now();k(x,4,y);this.enableAncestryLoggingForGrafts_&&zu(h,Vxc,u);q.push(h);f.hidden=!1;f.neverShown=!1}else f.hidden||h||
(h=new S2,h.setType(2),x=cyc(f),h.setTarget(x),x=h,y=Date.now(),k(x,4,y),this.enableAncestryLoggingForGrafts_&&zu(h,Vxc,u),q.push(h),f.hidden=!0);d.set(l,q)}a=m(d.keys());for(b=a.next();!b.done;b=a.next())b=b.value,f=d.get(b),f.length&&(e=new T2,ac(e,1,f),f=new W2,l=N2(),q=new P2,gl(q,H2,1,b),f.setEventId(l),gl(f,H2,3,b),gl(f,T2,7,e),gl(f,P2,9,q),b=new gC,JSON.stringify(null,null,1),hC(b,f.serialize()),c.push(b));return c};
Os.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=Pec(b,new KS(a.left,a.top,a.width,a.height)))&&10<=b.width&&10<=b.height?!0:!1};
var $xc=function(a,b,c){for(var d=[],e={},f=b.length-1;0<=f;e={$jscomp$loop$prop$impressionEventID$2315:e.$jscomp$loop$prop$impressionEventID$2315,$jscomp$loop$prop$clientVeProto$2316:e.$jscomp$loop$prop$clientVeProto$2316,$jscomp$loop$prop$testCodes$2317:e.$jscomp$loop$prop$testCodes$2317},f--){e.$jscomp$loop$prop$clientVeProto$2316=new W2;e.$jscomp$loop$prop$testCodes$2317=[];e.$jscomp$loop$prop$impressionEventID$2315=N2();e.$jscomp$loop$prop$clientVeProto$2316.setEventId(e.$jscomp$loop$prop$impressionEventID$2315);
var h=new P2;gl(h,H2,1,e.$jscomp$loop$prop$impressionEventID$2315);gl(e.$jscomp$loop$prop$clientVeProto$2316,P2,9,h);if(h=APb(window.location.href,"ved"))h=(new V2).setVed(h),gl(e.$jscomp$loop$prop$clientVeProto$2316,V2,4,h);b[f].forEach(function(l){return function(q,u){u.impressionEventID=l.$jscomp$loop$prop$impressionEventID$2315;u.rootImpressionEventID=l.$jscomp$loop$prop$impressionEventID$2315;var x=this.getVisualElementLiteProto_(u);q.length&&Mxc(x,q);q=u.getElement();this.isVisible_(q,c)?(u.neverShown=
!1,u.hidden=!1):x.setVisible(1);this.setTimestamp(x);jq(l.$jscomp$loop$prop$clientVeProto$2316,2,U2,x);l.$jscomp$loop$prop$testCodes$2317=l.$jscomp$loop$prop$testCodes$2317.concat(u.getTag().testCodes_)}}(e),a);h=new gC;JSON.stringify(null,null,1);hC(h,e.$jscomp$loop$prop$clientVeProto$2316.serialize());Mb(h,20,e.$jscomp$loop$prop$testCodes$2317,ub);d.push(h)}return d},ayc=function(a,b,c){for(var d=[],e=new Map,f=b.length-1;0<=f;f--){var h=b[f],l=h.keys().next().value.rootImpressionEventID,q=e.get(l)||
[];q.push(h);e.set(l,q)}e.forEach(function(u,x){var y=0,G=[],L=new W2,M=[],T=N2();L.setEventId(T);gl(L,H2,3,x);var S=new P2;gl(S,H2,1,x);gl(L,P2,9,S);for(S=0;S<u.length;S++)for(var X=u[S],aa=X.keys(),na=aa.next().value,ma=X.get(na),Ca={},Fa=0;Fa<ma.length;Ca={$jscomp$loop$prop$startingOffset$2319:Ca.$jscomp$loop$prop$startingOffset$2319,$jscomp$loop$prop$cloneTreeRootIndex$2320:Ca.$jscomp$loop$prop$cloneTreeRootIndex$2320},++Fa){var Ja=na;Ca.$jscomp$loop$prop$cloneTreeRootIndex$2320=0;Ca.$jscomp$loop$prop$startingOffset$2319=
ma[Fa];var Ab=X.size;Fa!=ma.length-1&&(Ab=ma[Fa+1]);for(var cb=Ca.$jscomp$loop$prop$startingOffset$2319;cb<Ab;++cb){var Ma=aa.next().value;cb==Ca.$jscomp$loop$prop$startingOffset$2319&&(Ja=Ma,Ca.$jscomp$loop$prop$cloneTreeRootIndex$2320=y);Ma.impressionEventID=T;Ma.rootImpressionEventID=x;Ma.traversalOrder_=y;var ha=X.get(Ma),xa=this.getVisualElementLiteProto_(Ma);ha.length&&Mxc(xa,ha.map(function(Da){return function(Wa){return Wa-Da.$jscomp$loop$prop$startingOffset$2319+Da.$jscomp$loop$prop$cloneTreeRootIndex$2320}}(Ca)));
ha=Ma.getElement();this.isVisible_(ha,c)?(Ma.neverShown=!1,Ma.hidden=!1):xa.setVisible(1);this.setTimestamp(xa);jq(L,2,U2,xa);M=M.concat(Ma.getTag().testCodes_);y++}Ab=new S2;Ab.setType(3);cb=cyc(na);Ab.setTarget(cb);cb=new Q2;Ma=new J2;xa=new X2;Ma.setVeIndex(Ja.traversalOrder_);xxc(Ma,Ja.getTag().visualElementID_);hq(cb,2,R2,Ma);gl(Ab,Q2,3,cb);this.enableAncestryLoggingForGrafts_&&(Uxc(xa,this.getAncestry_(Ja)),zu(Ab,Vxc,xa));G.push(Ab)}G.length&&(u=new T2,ac(u,1,G),gl(L,T2,7,u));G=new gC;JSON.stringify(null,
null,1);hC(G,L.serialize());Mb(G,20,M,ub);d.push(G)},a);return d},byc=function(a,b,c){for(var d=[],e=b.length-1;0<=e;e--)for(var f=b[e],h=f.keys(),l=h.next().value,q=f.get(l),u={},x=0;x<q.length;u={$jscomp$loop$prop$startingOffset$2322:u.$jscomp$loop$prop$startingOffset$2322},++x){u.$jscomp$loop$prop$startingOffset$2322=q[x];var y=f.size;x!=q.length-1&&(y=q[x+1]);var G=new W2,L=[],M=N2(),T=new P2;gl(T,H2,1,l.impressionEventID);G.setEventId(M);gl(G,H2,3,l.impressionEventID);k(G,5,3);gl(G,P2,9,T);T=
new V2;l.serverVed_?T.setVed(l.serverVed_):T.setUiType(l.getTag().visualElementID_).setVeIndex(l.traversalOrder_);Qxc(T,a.getAncestry_(l));gl(G,V2,4,T);for(T=u.$jscomp$loop$prop$startingOffset$2322;T<y;++T){var S=h.next().value;S.impressionEventID=M;S.rootImpressionEventID=l.rootImpressionEventID;void 0!=S.traversalOrder_&&(S.traversalOrder_-=u.$jscomp$loop$prop$startingOffset$2322);var X=f.get(S),aa=a.getVisualElementLiteProto_(S);X.length&&Mxc(aa,X.map(function(na){return function(ma){return ma-
na.$jscomp$loop$prop$startingOffset$2322}}(u)));X=S.getElement();a.isVisible_(X,c)?(S.neverShown=!1,S.hidden=!1):aa.setVisible(1);a.setTimestamp(aa);jq(G,2,U2,aa);L=L.concat(S.getTag().testCodes_)}y=new gC;JSON.stringify(null,null,1);hC(y,G.serialize());Mb(y,20,L,ub);d.push(y)}return d};Os.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};
Os.prototype.getVisualElementLiteProto_=function(a){var b=(new U2).setUiType(a.getTag().visualElementID_);null!=a.getTag().getIndex()&&b.setElementIndex(a.getTag().getIndex());pxc(a.getTag(),b);return b};var cyc=function(a){var b=new Q2;if(a.serverVed_)b.setVed(a.serverVed_);else{var c=new J2;hq(b,3,Dxc,a.impressionEventID);c.setVeIndex(a.traversalOrder_);xxc(c,a.getTag().visualElementID_);hq(b,2,R2,c)}return b};
Os.prototype.setTimestamp=function(a){if(a instanceof V2&&(!Ok(a,O2,15)||!Ok(a,O2,15).getExtension(Yxc))){var b=new Z2,c=new Y2,d=Ok(a,O2,15);d||(d=new O2);Wxc(c);b.setTimestamp(c);zu(d,Yxc,b);gl(a,O2,15,d)}a instanceof U2&&(b=new Z2,c=new Y2,Wxc(c),b.setTimestamp(c),zu(a,Zxc,b))};var dyc=1;(function(){for(var a=["ms","moz","webkit","o"],b=0;b<a.length&&!window.requestAnimationFrame;++b)window.requestAnimationFrame=window[a[b]+"RequestAnimationFrame"],window.cancelAnimationFrame=window[a[b]+"CancelAnimationFrame"]||window[a[b]+"CancelRequestAnimationFrame"];if(!window.requestAnimationFrame){var c=0;window.requestAnimationFrame=function(d){var e=(new Date).getTime(),f=Math.max(0,16-(e-c));c=e+f;return window.setTimeout(function(){d(e+f)},f)};window.cancelAnimationFrame||(window.cancelAnimationFrame=
function(d){clearTimeout(d)})}})();var eyc=function(){},fyc=[[],[]],gyc=0,hyc=!1,iyc=null,jyc=0,kyc=0,lyc=0,a3=0,myc=0,b3=function(a){this.mutate_=this.measure_=void 0;this.runInCurrentFrameIfPossible_=!1;this.context_=a;this.state_ctor_=eyc};b3.prototype.measure=function(a){this.measure_=a;return this};b3.prototype.mutate=function(a){this.mutate_=a;return this};b3.prototype.runInCurrentFrameIfPossible=function(){this.runInCurrentFrameIfPossible_=!0;return this};
b3.prototype.build=function(){return nyc({measure:this.measure_,mutate:this.mutate_,stateCtor:this.state_ctor_,runInCurrentFrameIfPossible:this.runInCurrentFrameIfPossible_},this.context_)};
var nyc=function(a,b){var c=myc++,d=Math.max(a.measure?a.measure.length:0,a.mutate?a.mutate.length:0),e={id:c,measureFn:a.measure,mutateFn:a.mutate,context:b,args:[]},f=e;return function(){var h=0!==f.phase;h&&(f=Object.assign({phase:0},e));b||(f.context=this);f.args=Array.prototype.slice.call(arguments);d>arguments.length&&f.args.push(new a.stateCtor);h&&(h=gyc,!a.runInCurrentFrameIfPossible||0==a3||a.measure&&1!=a3||(h=(h+1)%2),fyc[h].push(f));return oyc()}},pyc=function(a,b){hyc=!1;var c={};a3=
1;for(var d=0;d<a.length;++d){var e=a[d];e.args[e.args.length-1]&&(e.args[e.args.length-1].now=b);if(e.measureFn){e.phase=1;try{e.measureFn.apply(e.context,e.args)}catch(f){c[d]=!0,ea(f)}}}a3=2;for(d=0;d<a.length;++d)if(e=a[d],e.args[e.args.length-1]&&(e.args[e.args.length-1].now=b),!c[d]&&e.mutateFn){e.phase=2;try{e.mutateFn.apply(e.context,e.args)}catch(f){ea(f)}}0<jyc&&1<b&&(a=b-jyc,500>a&&(dyc++,100<a&&kyc++,lyc<a&&(lyc=a)));jyc=hyc&&1<b?b:0},oyc=function(){hyc||(hyc=!0,iyc=new Promise(function(a){window.requestAnimationFrame(function(b){var c=
fyc[gyc];gyc=(gyc+1)%2;try{pyc(c,b)}finally{a3=0,c.length=0}a()})}));return iyc};var qyc=function(a,b){this.tagPopulator_=a;this.expectXidTagComponents_=b||!1;this.componentID_=void 0},E2=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||Hm(d)||d!=c.getTag().getAttribute()));if(d)return c;d=b.getAttribute("jslog");if(!d)return null;d=ryc(a,d);if(!d||(d.getComponentID()||a.componentID_)&&
d.getComponentID()!=a.componentID_)return null;a=new K2(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{var f=yxc(c);e=Ok(f,H2,13)}catch(h){e=null}}e&&(a.impressionEventID=e,a.rootImpressionEventID=e)}return b.LSWHIf=a},ryc=function(a,b){if(Hm(b))return null;var c=b.split(";"),d=Number(c[0].trim());if(isNaN(d))return null;
d=a.tagPopulator_.createNewTag(d);for(var e=1;e<c.length;e++){var f=c[e].trim();if(!Hm(f)){var h=GEb(f);if(2>h.length)return null;f=h[0].trim();h=h[1].trim();if(Hm(f)||Hm(h))return null;switch(f){case a.maybeXidPartLabel_("track"):f=h.split(",");for(h=0;h<f.length;++h){var l=f[h].trim();if(a.expectXidTagComponents_){if(!d.xidTagComponents_)throw Error("Me");if(!kxc.has(l))throw Error("Ne`"+l);d.tracks_.add(l)}else d.tracks_.add(d.maybeXidEventLabel_(l))}break;case a.maybeXidPartLabel_("index"):d.index_=
Number(h);break;case a.maybeXidPartLabel_("tc"):f=h.split(",");f=f.map(Number);f=f.filter(Number.isInteger);d.testCodes_=f;break;case "cid":d.setComponentID(h);break;case a.maybeXidPartLabel_("mutable"):"true"==h?d.mutable_=!0:"rci"==h&&(d.mutable_=!0,d.retain_cached_impression_=!0)}}}return d.setAttribute(b)};qyc.prototype.maybeXidPartLabel_=function(a){return this.expectXidTagComponents_?Eab(a):a};qyc.prototype.setComponentID=function(a){this.componentID_=a};qyc.prototype.getComponentID=function(){return this.componentID_};var syc=function(a,b){this.visualElementProvider_=a;this.traverseShadowDom_=void 0===b?!1:b},gxc=function(a,b){return tyc(a,b).filter(function(c){return null!=E2(this.visualElementProvider_,c)},a)},uyc=function(a,b){var c=a.visualElementProvider_;a=[];for(var d=void 0,e={},f=0;f<b.length;e={$jscomp$loop$prop$parent$2324:e.$jscomp$loop$prop$parent$2324},++f){var h=E2(c,b[f]);void 0==h.traversalOrder_&&void 0==h.serverVed_&&(e.$jscomp$loop$prop$parent$2324=void 0,Jab(b[f],function(l){return function(q){q=
E2(c,q);return null!=q?(l.$jscomp$loop$prop$parent$2324=q,!0):!1}}(e)),e.$jscomp$loop$prop$parent$2324?d&&d.has(e.$jscomp$loop$prop$parent$2324)||(d=new Map,a.unshift(d),d.set(e.$jscomp$loop$prop$parent$2324,[]),zxc=1):(d=new Map,a.unshift(d),zxc=0),Axc(h),h.setParent(e.$jscomp$loop$prop$parent$2324),d.set(h,[]),e.$jscomp$loop$prop$parent$2324&&d.get(e.$jscomp$loop$prop$parent$2324).push(h.traversalOrder_))}return a},vyc=function(a,b){var c=a.visualElementProvider_;return b.map(function(d){return E2(c,
d)})},tyc=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},zxc=0;var wyc=function(a,b){zB.call(this,"visibilitychange");this.hidden=a;this.visibilityState=b};W(wyc,zB);var xyc=function(a){wq.call(this);this.domHelper_=a||zq();if(this.eventType_=this.getBrowserEventType_())this.eventKey_=xq(this.domHelper_.document_,this.eventType_,eu(this.handleChange_,this))};gu(xyc,wq);g=xyc.prototype;g.getBrowserEventType_=pr(function(){var a=!!this.getHiddenPropertyName_(),b="hidden"!=this.getHiddenPropertyName_();if(a){var c;b?c=(((lu?"Webkit":ku?"Moz":iu?"ms":null)||"")+"visibilitychange").toLowerCase():c="visibilitychange";a=c}else a=null;return a});
g.getHiddenPropertyName_=pr(function(){return Oec("hidden",this.domHelper_.document_)});g.getVisibilityStatePropertyName_=pr(function(){return Oec("visibilityState",this.domHelper_.document_)});g.isHidden=function(){return!!this.domHelper_.document_[this.getHiddenPropertyName_()]};g.handleChange_=function(){var a=this.getHiddenPropertyName_()?this.domHelper_.document_[this.getVisibilityStatePropertyName_()]:null;a=new wyc(this.isHidden(),a);this.dispatchEvent(a)};
g.disposeInternal=function(){GB(this.eventKey_);xyc.superClass_.disposeInternal.call(this)};var c3=function(a,b,c,d,e,f,h){var l=this,q=void 0===d?{}:d,u=void 0===q.backgroundJobDeferrer?void 0:q.backgroundJobDeferrer;d=void 0===q.expectXidTagComponents?!1:q.expectXidTagComponents;q=void 0===q.traverseShadowDom?!1:q.traverseShadowDom;Qr.call(this);this.eventBuilder_=a;this.expectXidTagComponents_=d;this.metadataHandler_=b||new Sxc;this.visualElementProvider_=new qyc(this.metadataHandler_,this.expectXidTagComponents_);this.transport_=c;this.maybeXidEventLabel_("generic_click");this.root_=
this.domHelper_=this.invariantData_=this.appInfo_=void 0;this.pageVisibilityMonitor_=new xyc;this.logImpressionsTask_=(new b3(this)).measure(u?function(){return u().then(l.handleImpressions_.bind(l))}:this.handleImpressions_).runInCurrentFrameIfPossible().build();new w$b(this.logImpressionsTask_,500,this);this.traverser_=h||new syc(this.visualElementProvider_,q);this.impressionListeners_=[];this.eventBuilder_ instanceof L2&&(this.eventHandler_=this.eventBuilder_);this.zwiebackId_=e;this.windowProvider_=
f};gu(c3,Qr);c3.prototype.setComponentID=function(a){this.visualElementProvider_.setComponentID(a)};c3.prototype.log=function(a){this.transport_&&nC(this.transport_,a)};var yyc=function(a){for(var b=0;b<a.impressionListeners_.length;b++)a.impressionListeners_[b]()};c3.prototype.getIndex=function(a){return a.getTag().getIndex()};var zyc=function(a){return a.map(function(b){return b.getTag().visualElementID_})};g=c3.prototype;
g.getMetadata=function(a,b){var c=new U2;pxc(a.getTag(),c);for(a=0;a<b.length;++a)pxc(b[a].getTag(),c);return c};g.getAncestry_=function(a){var b=[],c=this.visualElementProvider_;Jab(a,function(d){if(!RB(d))return!1;d=E2(c,d);null!=d&&b.push(d);return!1});return b};
g.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=gxc(this.traverser_,this.root_);if(this.eventHandler_){var c=this.windowProvider_?this.domHelper_.getViewportSize(this.windowProvider_()):
this.domHelper_.getViewportSize();c=new KS(0,0,c.width,c.height);hxc(this,b,c);ixc(this,b,c);yyc(this)}else{c=[];var d=this.windowProvider_?this.domHelper_.getViewportSize(this.windowProvider_()):this.domHelper_.getViewportSize();d=new KS(0,0,d.width,d.height);for(var e=0;e<b.length;e++){var f=b[e];this.isVisible_(f,d)&&(f=E2(this.visualElementProvider_,f))&&oxc(f.getTag(),"impression")&&c.push(f)}for(b=0;b<c.length;b++)if(d=c[b],!d.loggedImpression_){e=this.getAncestry_(d.getElement());var h=zyc(e);
f=this.getIndex(d);var l=new dxc;l=k(l,4);var q=d.getTag().visualElementID_;l=k(l,1,q);h=Mb(l,3,h,ub);null!=f&&h.setElementIndex(f);f=new Bxc;f.ve_metadata=this.getMetadata(d,e);f.global_metadata=this.invariantData_;f.client_info=this.appInfo_;e=h;e=OPb(new gC,e.serialize());e=Mb(e,20,f.testCodes,ub);this.transport_&&nC(this.transport_,e);yyc(this);d.loggedImpression_=!0}}a&&window.performance.measure("ZVwBtb","KtiTlc")}};
g.isVisible_=function(a,b){if(a.hasAttribute("ve-visible"))return"true"==a.getAttribute("ve-visible");a=a.getBoundingClientRect();return(b=Pec(b,new KS(a.left,a.top,a.width,a.height)))&&10<=b.width&&10<=b.height?!0:!1};g.maybeXidEventLabel_=function(a){return this.expectXidTagComponents_?Cab(a):a};
var hxc=function(a,b,c){b=uyc(a.traverser_,b);if(b.length)for(c=a.eventHandler_.impressionEvent(b,c),b=0;b<c.length;++b)a.metadataHandler_.addEventMetadata(c[b]),k(c[b],28,a.zwiebackId_),a.transport_&&nC(a.transport_,c[b])},ixc=function(a,b,c){b=vyc(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_&&k(c[b],28,a.zwiebackId_),a.transport_&&nC(a.transport_,c[b])};var Ps=function(a,b,c,d,e,f,h,l,q,u,x,y){e=void 0===e?!1:e;q=void 0===q?!1:q;b=l?l:new $bc(b,c,d,void 0,void 0,void 0,f);c3.call(this,a,h||null,b,{expectXidTagComponents:e,backgroundJobDeferrer:f,traverseShadowDom:q},u,x,y);this.clearcut_=b;this.clearcut_.setClientSideLogOnlyForDevelopment(!1);a=this.clearcut_;a.useSendBeaconForFinalFlush=a.isSendBeaconSupported;this.clearcut_.useGetRequestForFinalFlush=!0};gu(Ps,c3);Ps.prototype.setClearcutClientInfo=function(a){this.clearcut_.setClearcutClientInfo(a)};
Ps.prototype.setBuildLabel=function(a){this.clearcut_.setBuildLabel(a)};Ps.prototype.setClientSideLogOnlyForDevelopment=function(a){this.clearcut_.setClientSideLogOnlyForDevelopment(a)};var Is=function(){this.filter_=null;this.boostIds_=[];this.primingTimeoutMillis_=1E3;this.queryScope_=0;this.slots_=[];this.entryPoint_=0};g=Is.prototype;g.getFilter=function(){return this.filter_};g.setFilter=function(a){this.filter_=a;return this};g.setQueryScope=function(a){this.queryScope_=a;return this};g.getQueryScope=function(){return this.queryScope_};g.getEntryPoint=function(){return this.entryPoint_};g.setEntryPoint=function(a){this.entryPoint_=a;return this};
g.clone=function(){var a=new Is;a.filter_=this.filter_;a.boostIds_=this.boostIds_;a.primingTimeoutMillis_=this.primingTimeoutMillis_;a.queryScope_=this.queryScope_;a.slots_=this.slots_;a.entryPoint_=this.entryPoint_;return a};var tt=function(a){Y.call(this,a)};W(tt,Y);var d3=function(a,b){return k(a,1,b)};tt.prototype.getProvenance=function(){return tk(this,2,0)};tt.prototype.setProvenance=function(a){return k(this,2,a)};tt.prototype.getCode=function(){return tk(this,3,0)};tt.prototype.setCode=function(a){return k(this,3,a)};var e3=function(a){Y.call(this,a)};W(e3,Y);e3.prototype.getSource=function(){return Ok(this,tt,1)};e3.prototype.setSource=function(a){return gl(this,tt,1,a)};e3.prototype.hasSource=function(){return Hl(this,tt,1)};var f3=function(a,b){return k(a,2,b)},g3=function(a,b){return k(a,3,b)};var Ayc=function(){this.filter_=null};Ayc.prototype.getFilter=function(){return this.filter_};Ayc.prototype.setFilter=function(a){this.filter_=a;return this};var Byc=function(a){Y.call(this,a)};W(Byc,Y);g=Byc.prototype;g.getEnd=function(){return zj(this,2,0)};g.setEnd=function(a){return k(this,2,a)};g.getTotalItems=function(){return zj(this,3,0)};g.setTotalItems=function(a){return k(this,3,a)};g.getCode=function(){return tk(this,4,2)};g.setCode=function(a){return k(this,4,a)};g.getCacheState=function(){return Ok(this,e3,5)};g.setCacheState=function(a){return gl(this,e3,5,a)};g.hasCacheState=function(){return Hl(this,e3,5)};var Cyc=function(a,b){this.results_=a;this.metadata_=b};Cyc.prototype.getResults=function(){return this.results_};Cyc.prototype.getMetadata=function(){return this.metadata_};var Dyc=function(){this.filter_=null;this.originator_=this.queryScope_=0;this.useOriginalDisplayValue_=!1};g=Dyc.prototype;g.getFilter=function(){return this.filter_};g.setFilter=function(a){this.filter_=a;return this};g.getQueryScope=function(){return this.queryScope_};g.setQueryScope=function(a){this.queryScope_=a;return this};g.getOriginator=function(){return this.originator_};g.setOriginator=function(a){this.originator_=a;return this};
g.clone=function(){var a=(new Dyc).setFilter(this.getFilter()).setOriginator(this.getOriginator()).setQueryScope(this.getQueryScope());a.useOriginalDisplayValue_=this.useOriginalDisplayValue_;return a};var Eyc=function(){this.isLastCallback_=this.isFirstCallback_=!1;this.notFoundIdList_=[];this.code_=2;this.cacheState_=new e3};g=Eyc.prototype;g.getIsFirstCallback=function(){return this.isFirstCallback_};g.getIsLastCallback=function(){return this.isLastCallback_};g.getCode=function(){return this.code_};g.getCacheState=function(){return this.cacheState_};g.setIsFirstCallback=function(a){this.isFirstCallback_=a;return this};g.setIsLastCallback=function(a){this.isLastCallback_=a;return this};
g.setCallbackNumber=function(){return this};g.setCode=function(a){this.code_=a;return this};g.setCacheState=function(a){this.cacheState_=a;return this};var Fyc=function(a,b){this.results_=a;this.metadata_=b};Fyc.prototype.getResults=function(){return this.results_};Fyc.prototype.getMetadata=function(){return this.metadata_};var h3=function(a){Y.call(this,a)};W(h3,Y);g=h3.prototype;g.getQuery=function(){return Dk(this,1,"")};g.setQuery=function(a){return k(this,1,a)};g.clearQuery=function(){qu(this,1)};g.hasQuery=function(){return Am(this,1)};g.getIsFirstCallback=function(){return Tl(this,2,!1)};g.setIsFirstCallback=function(a){return k(this,2,a)};g.getIsLastCallback=function(){return Tl(this,3,!1)};g.setIsLastCallback=function(a){return k(this,3,a)};g.setCallbackNumber=function(a){return k(this,4,a)};
g.getNextPageToken=function(){return Dk(this,5,"")};g.getCode=function(){return tk(this,6,2)};g.setCode=function(a){return k(this,6,a)};g.getCacheState=function(){return Ok(this,e3,7)};g.setCacheState=function(a){return gl(this,e3,7,a)};g.hasCacheState=function(){return Hl(this,e3,7)};var i3=function(a,b){this.results_=a;this.metadata_=b};i3.prototype.getResults=function(){return this.results_};i3.prototype.getMetadata=function(){return this.metadata_};var Gyc={create:function(a,b,c,d,e){e=void 0===e?new Is:e;return Lab(a,b,c,d,new Guc,{sessionOptions:e})},createWith:function(a,b,c,d,e){e=void 0===e?{}:e;return Lab(a,b,c,d,new Guc,e)},createConfig:function(a){return new Uwc(a)}};var lt=function(a){Y.call(this,a)};W(lt,Y);g=lt.prototype;g.getTimestamp=function(){return ol(this,1)};g.setTimestamp=function(a){return k(this,1,a)};g.hasTimestamp=function(){return Tm(this,1)};g.getAffinityVersion=function(){return zj(this,2)};g.setAffinityVersion=function(a){k(this,2,a)};g.getAffinityVersionOrUndefined=function(){return tu(this,2)};g.getTotalItems=function(){return zj(this,3)};g.setTotalItems=function(a){return k(this,3,a)};g.getNextPageToken=function(){return Dk(this,4)};
g.getCode=function(){return tk(this,6,0)};g.setCode=function(a){return k(this,6,a)};var j3=function(){this.bits_=[]};g=j3.prototype;g.and=function(a){for(var b=new j3,c=m(this),d=c.next();!d.done;d=c.next())d=d.value,a.bits_[d]&&(b.bits_[d]=!0);return b};g.or=function(a){for(var b=new j3,c=m(this),d=c.next();!d.done;d=c.next())b.bits_[d.value]=!0;a=m(a);for(d=a.next();!d.done;d=a.next())b.bits_[d.value]=!0;return b};g.get=function(a){return!!this.bits_[a]};g.set=function(a){this.bits_[a]=!0};g.setAll=function(a){var b=a;for(a+=NaN;b<a;b++)this.bits_[b]=!0};
g.clear=function(a){this.bits_[a]=!1};j3.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 sbb=RegExp("[\\s,;\u055d\u060c\u1363\u1802\u1808\u2e41\u3001\uff0c\u061b\u1364\uff1b\uff64\u104a]+","g"),ubb=/^[<"']|[>"']$/g,qbb=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"),Hyc=/[^a-z0-9]+/gi,tbb=String.prototype.normalize?function(a){return a.normalize("NFKC")}:function(a){return a};var Iyc=function(a,b){this.key=a;this.terms=vbb(b)};var k3=function(a,b,c){b=void 0===b?"":b;c=void 0===c?new j3:c;this.items_=a;this.prefix_=b;this.matchIndices_=c;this.childNodes_={};this.isExpanded_="\u2026"===b};k3.prototype.cloneNode=function(a){for(var b=[],c=m(this.items_),d=c.next();!d.done&&(d=d.value,!a.loadOrSkip(d.key)||(b.push(d),!a.isDone()));d=c.next());return new k3(b)};
k3.prototype.getMatches=function(a){for(var b=[],c=m(this.prefix_?this.matchIndices_:xbb(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};
k3.prototype.search=function(a){var b=this;return a.length?a.map(function(c){for(var d=b,e=0;e<c.length;e++){var f=c.charAt(e),h=d;if(!h.isExpanded_){for(var l=m(h.prefix_?h.matchIndices_:xbb(h.items_.length)),q=l.next();!q.done;q=l.next()){var u=h;q=q.value;for(var x=u.prefix_+"\ufdc7",y=m(u.items_[q].terms),G=y.next();!G.done;G=y.next())G=G.value,G.length<=u.prefix_.length||G<u.prefix_||G>x||(G=G.charAt(u.prefix_.length),u.childNodes_[G]||(u.childNodes_[G]=new k3(u.items_,u.prefix_+G)),u.childNodes_[G].matchIndices_.set(q))}h.isExpanded_=
!0}d=d.childNodes_[f]||l3;if(d===l3)break}return d}).reduce(function(c,d){return c.and(d)}):this};var Jyc=function(a){a.isExpanded_=!1;for(var b=m(Object.keys(a.childNodes_)),c=b.next();!c.done;c=b.next())c=a.childNodes_[c.value],c.isExpanded_&&Jyc(c)};k3.prototype.and=function(a){a=this.matchIndices_.and(a.matchIndices_);return new k3(this.items_,"\u2026",a)};k3.prototype.or=function(a){a=this.matchIndices_.or(a.matchIndices_);return new k3(this.items_,"\u2026",a)};var l3=new k3([]);
l3.isExpanded_=!0;var m3=function(a,b,c){this.expiry_=a;this.value_=b;this.stale_=c};m3.prototype.getExpiry=function(){return this.expiry_};m3.prototype.getValue=function(){return this.value_};m3.prototype.isExpired=function(){return this.expiry_<Date.now()};m3.prototype.isStale=function(){return this.stale_<Date.now()};var Kyc=function(a){this.shouldEvictItem_=a;this.items_=new Map};g=Kyc.prototype;g.size=function(){return this.items_.size};g.clear=function(){this.items_.clear()};g.has=function(a){return this.items_.has(a)};g.get=function(a){var b=this.items_.get(a);this.items_.has(a)&&(this.items_.delete(a),this.items_.set(a,b));return b};
g.set=function(a,b){this.items_.has(a)&&this.items_.delete(a);this.items_.set(a,b);b=m(this.items_.entries().next().value);a=b.next().value;b=b.next().value;this.shouldEvictItem_(a,b)&&this.items_.delete(a);return this};g.delete=function(a){return this.items_.delete(a)};g.compact=function(){for(var a=0,b=m(this.items_),c=b.next();!c.done;c=b.next()){var d=m(c.value);c=d.next().value;d=d.next().value;this.shouldEvictItem_(c,d)&&(this.items_.delete(c),a++)}return a};
var Lyc=function(){var a=new Kyc(function(){return 1E3<a.size()});return a};var Myc=function(a,b){var c=this;this.capacity_=a;this.itemFactory_=b;this.delegate_=new Kyc(function(d,e){return e.isExpired()||c.delegate_.size()>c.capacity_})};g=Myc.prototype;g.get=function(a){var b=this.delegate_.get(a);if(b)if(b.isExpired())this.delegate_.delete(a);else return b.getValue()};g.set=function(a,b){b=this.itemFactory_(b);this.delegate_.set(a,b);return this};g.has=function(a){return!!this.get(a)};g.size=function(){return this.delegate_.size()};g.clear=function(){this.delegate_.clear()};
g.delete=function(a){return this.delegate_.delete(a)};g.compact=function(){return this.delegate_.compact()};var n3=function(a,b){return new Myc(a,function(c){var d=Date.now()+b;return new m3(d,c,d)})};var o3=function(a){Y.call(this,a,-1,Nyc)};W(o3,Y);g=o3.prototype;g.getCacheSize=function(){return zj(this,3,500)};g.setCacheSize=function(a){k(this,3,a)};g.hasCacheSize=function(){return Km(this,3)};g.getCacheStaleSec=function(){return pl(this,4,86400)};g.getCacheExpiredSec=function(){return pl(this,5,1209600)};g.getRpcTimeoutSec=function(){return pl(this,12,60)};var Nyc=[24,25];var zbb=new Set([10,11]);var Oyc=function(a){this.interleaveGroups_=Tl(a,33,!1)},p3=function(a,b,c){return b.filter(function(d){return 8!==d.provenance}).sort(function(d,e){a:{var f=a.interleaveGroups_;switch(c){case 2:d=Abb(d,e,f,!0);break a;default:d=Bbb(d,e,f)}}return d}).map(function(d){return String(d.id)})};var Pyc=function(a,b,c,d,e){this.adapter_=a;this.targetFactory_=b;this.trieFactory_=c;this.storage_=d;this.ranker_=new Oyc(e);this.indexes_=n3(zj(e,8,250),1E3*pl(e,9,3600));this.maxResults_=zj(e,2,10)};g=Pyc.prototype;g.getCacheType=function(){return 3};g.flush=function(){this.indexes_.clear()};
g.fetch=function(a){var b=this,c,d;return of(function(e){switch(e.nextAddress){case 1:c=d3(new tt,!0).setProvenance(7).setCode(0);if(b.canSkipFetch_(a))return e.return(d3(c,!1));pf(e,2);return e.yield(b.adapter_.search(a.getPrefix(),b.maxResults_),4);case 4:d=e.yieldResult;au(e,3);break;case 2:return sf(e),e.return(c.setCode(13));case 3:try{return b.index(a,d,new lt),e.return(c)}catch(f){return e.return(c.setCode(13))}}})};
g.canSkipFetch_=function(a){return a.isSuggestQuery()?!0:3===a.queryScope()?!1:this.indexes_.has(a.getPrefix())?!0:!1};g.index=function(a,b){for(var c=p3(this.ranker_,b,1),d=m(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=q3(this.trieFactory_,c);this.indexes_.set(a.getPrefix(),b)};g.search=function(a){return a.isSuggestQuery()||!this.indexes_.has(a.getPrefix())?[]:this.indexes_.get(a.getPrefix()).search([]).getMatches(a.getCollector())};var Qyc=function(a,b,c){this.adapter_=a;this.targetFactory_=b;this.indexer_=c};Qyc.prototype.getStageType=function(){return 2};Qyc.prototype.index_=function(a,b){for(var c=m(a),d=c.next();!d.done;d=c.next())this.targetFactory_.processItem(d.value);this.indexer_.storeItems(a,b)};
Qyc.prototype.lookup=function(a){var b=this,c,d,e,f,h,l,q,u,x;return of(function(y){switch(y.nextAddress){case 1:return c=new Map,d=d3(new tt,!0).setProvenance(7).setCode(0),e=3===a.queryScope(),f=r3(a),pf(y,2),y.yield(b.adapter_.lookup(f),4);case 4:h=y.yieldResult;au(y,3);break;case 2:return sf(y),d.setCode(13),a.notify(c,[],d),y.return();case 3:b.index_(h,e);l=m(f);for(q=l.next();!q.done;q=l.next())u=q.value,(x=b.indexer_.load(u,a.getFormat(),a.getResultFilter(),!1,a.getOptions().useOriginalDisplayValue_))&&
c.set(u,x);a.notify(c,[],d);tf(y)}})};var Ryc=function(a,b){this.metrics_=a;this.state_=new ZR(b);this.source=b;this.label_="total"};Ryc.prototype.call=function(){this.metrics_.count(this.state_);this.metrics_.start(this.state_,this.label_)};Ryc.prototype.result=function(a){this.metrics_.stop(this.state_,this.label_);this.metrics_.status(this.state_,a)};var Syc=function(a,b){this.metrics_=a;this.state_=new ZR(b);this.source=b};Syc.prototype.increment=function(a){this.metrics_.count(this.state_,void 0===a?1:a)};var Tyc=function(a,b){this.metrics_=a;this.state_=new ZR(b);this.source=b};Tyc.prototype.report=function(){this.metrics_.error(this.state_)};var dt=function(a){Y.call(this,a)};W(dt,Y);var ct=function(a){Y.call(this,a)};W(ct,Y);ct.prototype.getEventType=function(){return tk(this,1,0)};ct.prototype.setEventType=function(a){return k(this,1,a)};var et=function(a,b){return k(a,2,b)},ccb=function(a,b){return k(a,3,b)};g=ct.prototype;g.getErrorType=function(){return tk(this,6,0)};g.setErrorType=function(a){return k(this,6,a)};g.getIdType=function(){return tk(this,8,0)};g.setIdType=function(a){k(this,8,a)};g.getResultIndex=function(){return zj(this,9,0)};
g.setResultIndex=function(a){k(this,9,a)};g.getToken=function(){return Dk(this,10,"")};g.setToken=function(a){return k(this,10,a)};g.getCacheState=function(){return Ok(this,e3,11)};g.setCacheState=function(a){return gl(this,e3,11,a)};g.hasCacheState=function(){return Hl(this,e3,11)};g.getQueryLength=function(){return zj(this,14)};g.setQueryLength=function(a){return k(this,14,a)};g.hasQueryLength=function(){return Km(this,14)};g.getItemCount=function(){return zj(this,15)};
g.setItemCount=function(a){return k(this,15,a)};g.hasItemCount=function(){return Km(this,15)};g.getLookupInfo=function(){return Ok(this,dt,16)};g.setLookupInfo=function(a){return gl(this,dt,16,a)};g.hasLookupInfo=function(){return Hl(this,dt,16)};g.getQueryScope=function(){return tk(this,17,0)};g.setQueryScope=function(a){return k(this,17,a)};g.hasQueryScope=function(){return nl(this,17)};var Uyc=function(a,b){this.delegate_=a;this.trackers_=b};Uyc.prototype.search=function(a){var b=this,c,d;return of(function(e){switch(e.nextAddress){case 1:return c=b.trackers_.latency(66),c.start(),pf(e,2,3),e.yield(b.delegate_.search(a),5);case 5:return e.return(e.yieldResult);case 3:qf(e);c.stop();rf(e,0);break;case 2:throw d=sf(e),b.trackers_.error(36,11).report(),d;}})};
Uyc.prototype.lookup=function(a){var b=this,c,d;return of(function(e){switch(e.nextAddress){case 1:return c=b.trackers_.latency(67),c.start(),pf(e,2,3),e.yield(b.delegate_.lookup(a),5);case 5:return e.return(e.yieldResult);case 3:qf(e);c.stop();rf(e,0);break;case 2:throw d=sf(e),b.trackers_.error(37,11).report(),d;}})};var Vyc=function(a,b){this.delegate_=a;this.trackers_=b};Vyc.prototype.getPosition=function(){try{return this.delegate_.getPosition()}catch(a){throw this.trackers_.error(38,11).report(),a;}};
Vyc.prototype.warmUpCache=function(){var a=this,b,c;return of(function(d){switch(d.nextAddress){case 1:return b=a.trackers_.latency(65),b.start(),pf(d,2,3),d.yield(a.delegate_.warmUpCache(),5);case 5:return d.return(d.yieldResult);case 3:qf(d);b.stop();rf(d,0);break;case 2:throw c=sf(d),a.trackers_.error(35,11).report(),c;}})};Vyc.prototype.needsWarmUp=function(){try{return this.delegate_.needsWarmUp()}catch(a){throw this.trackers_.error(38,11).report(),a;}};var Wyc=function(a,b,c,d,e){this.adapter_=a;this.targetFactory_=b;this.trieFactory_=c;this.storage_=d;this.ranker_=new Oyc(e);this.index_=l3};g=Wyc.prototype;g.getCacheType=function(){switch(this.adapter_.getPosition()){case 1:return 2;case 2:return 3;default:return 0}};g.flush=function(){this.index_=l3};
g.fetch=function(a){var b=this,c,d;return of(function(e){switch(e.nextAddress){case 1:c=d3(new tt,!0).setProvenance(7).setCode(0);if(b.index_!=l3&&!b.adapter_.needsWarmUp())return e.return(d3(c,!1));pf(e,2);return e.yield(b.adapter_.warmUpCache(),4);case 4:d=e.yieldResult;au(e,3);break;case 2:return sf(e),e.return(c.setCode(13));case 3:try{return b.index(a,d,new lt),e.return(c)}catch(f){return e.return(c.setCode(13))}}})};
g.index=function(a,b){a=p3(this.ranker_,b,1);for(var c=m(b),d=c.next();!d.done;d=c.next())this.targetFactory_.processItem(d.value);this.storage_.storeItems(1,b);this.index_=q3(this.trieFactory_,a)};g.search=function(a){var b=this;this.adapter_.needsWarmUp()&&Promise.resolve().then(function(){return b.fetch(a)});return this.index_.search(a.getTerms()).getMatches(a.getCollector())};var s3=function(a,b,c){this.indexLatency_=a;this.searchLatency_=b;this.errorType_=c};s3.prototype.getErrorType=function(){return this.errorType_};var t3=function(a,b,c){this.delegate_=a;this.trackers_=b;this.indexingLabel_=c.indexLatency_;this.searchLabel_=c.searchLatency_;this.errorLabel_=c.getErrorType()};g=t3.prototype;g.getCacheType=function(){return this.delegate_.getCacheType()};g.flush=function(){try{this.delegate_.flush()}catch(a){throw this.trackers_.error(this.errorLabel_,15).report(),a;}};g.fetch=function(a){try{return this.delegate_.fetch(a)}catch(b){throw this.trackers_.error(this.errorLabel_,14).report(),b;}};
g.index=function(a,b,c){var d=this.trackers_.latency(this.indexingLabel_);d.start();try{this.delegate_.index(a,b,c)}catch(e){throw this.trackers_.error(this.errorLabel_,10).report(),e;}finally{d.stop()}};g.search=function(a){var b=this.trackers_.latency(this.searchLabel_);b.start();try{return this.delegate_.search(a)}catch(c){throw this.trackers_.error(this.errorLabel_,13).report(),c;}finally{b.stop()}};var Xyc=function(){},Yyc=function(a){var b=[];a=m(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;for(var d=void 0,e=[],f=m(c.getTargetList()),h=f.next();!h.done;h=f.next())h=Gbb(c,h.value,7),e.push(String(h.id)),h.coalescedKeys=e,d||(d=h),b.push(h);d&&Es(d.id)&&(e=void 0,d.totalMemberCount=null!=(e=c.getTotalMemberCountOrUndefined())?e:void 0,d.memberKeys=c.getMemberList().map(function(l){for(var q=m(l.getTargetList()).next();!q.done;)return l=Gbb(l,q.value,8),b.push(l),String(l.id)}))}return b},
Zyc=function(a){a=a.getResultList();return Yyc(a)};var $yc=function(a){Y.call(this,a)};W($yc,Y);g=$yc.prototype;g.setMaxResults=function(a){return k(this,1,a)};g.getQuery=function(){return Dk(this,2,"")};g.setQuery=function(a){return k(this,2,a)};g.clearQuery=function(){qu(this,2)};g.hasQuery=function(){return Am(this,2)};var azc=function(a,b){this.provider_=a;this.itemFactory_=b};azc.prototype.search=function(a,b){var c=this,d;return of(function(e){if(1==e.nextAddress)return 1>b?e.return([]):e.yield(c.provider_.search((new $yc).setQuery(a).setMaxResults(b)),2);d=e.yieldResult;return e.return(Zyc(d))})};azc.prototype.lookup=function(a){var b=this,c;return of(function(d){if(1==d.nextAddress)return a.length?d.yield(b.provider_.lookup(a),2):d.return([]);c=d.yieldResult;return d.return(Zyc(c))})};var bzc=function(a,b){this.provider_=a;this.itemFactory_=b};bzc.prototype.getPosition=function(){return this.provider_.getPosition()};bzc.prototype.needsWarmUp=function(){return this.provider_.needsWarmUp()};bzc.prototype.warmUpCache=function(){var a=this,b;return of(function(c){if(1==c.nextAddress)return c.yield(a.provider_.warmUpCache(),2);b=c.yieldResult;return c.return(Zyc(b))})};var czc=new s3(68,69,38);var dzc=function(){};dzc.prototype.processItem=function(){};var ezc=new dzc;var Kbb=function(){this.familyName_=this.givenName_=this.displayName_="";this.sourceType_=0};g=Kbb.prototype;g.getDisplayName=function(){return this.displayName_};g.setDisplayName=function(a){this.displayName_=a||"";return this};g.getGivenName=function(){return this.givenName_};g.setGivenName=function(a){this.givenName_=a||"";return this};g.getFamilyName=function(){return this.familyName_};g.setFamilyName=function(a){this.familyName_=a||"";return this};g.getSourceType=function(){return this.sourceType_};
g.setSourceType=function(a){this.sourceType_=a||0;return this};var fzc=function(){this.iconUrl_=this.altText_=""},Nbb=function(a){var b=new fzc;b.altText_=a||"";return b};fzc.prototype.getIconUrl=function(){return this.iconUrl_};fzc.prototype.setIconUrl=function(a){this.iconUrl_=a||"";return this};var gzc=function(a){this.delegate_=a};gzc.prototype.processItem=function(a){a.target=Pbb(a);this.delegate_.processItem(a);a.resultData&&delete a.resultData;a.targetData&&delete a.targetData};var hzc=function(){};
hzc.prototype.configure=function(a){var b=a.clientConfig,c=a.trackers,d=a.storage,e=a.indexer,f=a.trieFactory,h=a.prefixCaches;a=a.lookupStages;var l=b.runtimeConfig_.customDataConfig_;if(l){b=b.getClient();var q=new Xyc;var u=void 0===u?ezc:u;u=new gzc(u);for(var x=[],y=m(l.staticDataProviders_.reverse()),G=y.next();!G.done;G=y.next()){var L=G=G.value;L=new Vyc(L,c);L=new Wyc(new bzc(L,q),u,f,d,b);L=new t3(L,c,czc);switch(G.getPosition()){case 1:x.push(L);break;case 2:h.push(L);break;default:throw Error("Oe");
}}x.length&&h.splice.apply(h,[0,0].concat(r(x)));l=m(l.dynamicDataProviders_);for(x=l.next();!x.done;x=l.next())y=x=x.value,y=new Uyc(y,c),y=new Pyc(new azc(y,q),u,f,d,b),y=new t3(y,c,czc),h.push(y),x=new Uyc(x,c),a.push(new Qyc(new azc(x,q),u,e))}};var u3=function(a){Y.call(this,a,-1,izc)};W(u3,Y);g=u3.prototype;g.getEnableClearcut=function(){return Tl(this,1,!1)};g.setEnableClearcut=function(a){return k(this,1,a)};g.getSocialApplication=function(){return tk(this,2,0)};g.getSocialApplicationOrUndefined=function(){return qt(this,2)};g.setEventSources=function(a){ou(this,5,pt,a)};var izc=[5,6];var v3=function(a){Y.call(this,a)};W(v3,Y);v3.prototype.getApplication=function(){return tk(this,1,0)};v3.prototype.setApplication=function(a){return k(this,1,a)};v3.prototype.getApplicationOrUndefined=function(){return qt(this,1)};v3.prototype.getIsEnabled=function(){return Tl(this,2,!1)};var w3=function(a){Y.call(this,a)};W(w3,Y);w3.prototype.getApiKey=function(){return Dk(this,1,"")};w3.prototype.setApiKey=function(a){return k(this,1,a)};var x3=function(a){Y.call(this,a,-1,jzc)};W(x3,Y);g=x3.prototype;g.getClientId=function(){return Dk(this,1,"CLIENT_UNSPECIFIED")};g.setClientId=function(a){return k(this,1,a)};g.getAffinityType=function(){return Dk(this,4,"AFFINITY_TYPE_UNKNOWN")};g.setAffinityType=function(a){return k(this,4,a)};g.getContainerType=function(){return vDb(this,7)};var jzc=[7,8];var kzc=function(a){Y.call(this,a)};W(kzc,Y);g=kzc.prototype;g.getClient=function(){return Ok(this,o3,1)};g.setClient=function(a){return gl(this,o3,1,a)};g.hasClient=function(){return Hl(this,o3,1)};g.getGapi=function(){return Ok(this,w3,2)};g.getPeopleApi=function(){return Ok(this,x3,3)};g.getClearcut=function(){return Ok(this,u3,4)};g.setClearcut=function(a){gl(this,u3,4,a)};g.hasClearcut=function(){return Hl(this,u3,4)};g.getExperiments=function(){return Ok(this,v3,5)};
g.setExperiments=function(a){gl(this,v3,5,a)};g.hasExperiments=function(){return Hl(this,v3,5)};var lzc=lc(kzc);var mzc;var nzc=function(a){Y.call(this,a,1)};W(nzc,Y);var ozc=function(){this.dynamicDataProviders_=[];this.staticDataProviders_=[]},pzc=function(a){var b=new ozc;b.dynamicDataProviders_=a;return b};var rzc=function(a){Y.call(this,a,-1,qzc)};W(rzc,Y);g=rzc.prototype;g.getExperimentIdsList=function(){return xj(this,1)};g.setExperimentIdsList=function(a){return Mb(this,1,a,ub)};g.getExperimentIds=function(){return vu(this,1)};g.setExperimentIds=function(a){Pb(this,1,a,void 0,xj)};g.getProfileId=function(){return Dk(this,2)};g.getProfileId_legacyNullable=function(){return Db(this,2)};g.setProfileId=function(a){return k(this,2,a)};g.hasProfileId=function(){return Am(this,2)};var qzc=[1];var szc=function(){},tzc=function(){return!1},uzc=function(){this.experiments_=new rzc;this.peopleApiEnv_=4;this.delegatorId_="";this.onAuthError_=szc;this.offlineStorage_=null;this.apiKey_=this.clearcutUrl_="";this.isOffline_=tzc;this.customDataConfig_=null;this.isOrgStateEnabled_=!1};g=uzc.prototype;g.getUserEmail=function(){return""};g.getDelegatorId=function(){return this.delegatorId_};g.getPeopleApiEnv=function(){return this.peopleApiEnv_};g.setPeopleApiEnv=function(a){this.peopleApiEnv_=a;return this};
g.getExperiments=function(){return this.experiments_};g.getAuthErrorHandler=function(){return this.onAuthError_};g.setClearcutUrl=function(a){this.clearcutUrl_=a};g.getClearcutUrl=function(){return this.clearcutUrl_};g.setAuthErrorHandler=function(a){this.onAuthError_=a||szc};g.getApiKey=function(){return this.apiKey_};g.setApiKey=function(a){this.apiKey_=a;return this};var vzc=function(a,b){a.customDataConfig_=b};var y3=function(a,b){this.delegate_=a;this.runtimeConfig_=b||new uzc;a=this.getPeopleApi();Ym(a,7).length||fn(a,7,[2,8,1,7,10,11]);Bj(a,8).length||Kk(a,8,["person.name","person.photo","person.email","person.phone","person.metadata"]);b=m(Bj(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":Ob(a,8,c+".metadata.verified")}};y3.prototype.getClient=function(){this.delegate_.hasClient()||this.delegate_.setClient(new o3);return this.delegate_.getClient()};
y3.prototype.getGapi=function(){if(!Hl(this.delegate_,w3,2)){var a=this.delegate_,b=new w3;gl(a,w3,2,b)}return this.delegate_.getGapi()};y3.prototype.getPeopleApi=function(){if(!Hl(this.delegate_,x3,3)){var a=this.delegate_,b=new x3;gl(a,x3,3,b)}return this.delegate_.getPeopleApi()};y3.prototype.getClearcut=function(){this.delegate_.hasClearcut()||this.delegate_.setClearcut(new u3);return this.delegate_.getClearcut()};
var wzc=function(a){a.delegate_.hasExperiments()||a.delegate_.setExperiments(new v3);return a.delegate_.getExperiments()};y3.prototype.getAuthErrorHandler=function(){return this.runtimeConfig_.getAuthErrorHandler()};var xzc=function(a){a=a.getClient();return zj(a,6,500)?Math.min(Math.round(zj(a,6,500)/4),500):500};var yzc;var ot=null;var zzc=function(a,b){this.isOrgStateEnabled_=a.runtimeConfig_.isOrgStateEnabled_;this.delegate_=b};zzc.prototype.processItem=function(a){this.delegate_.processItem(a);a=a.target;this.isOrgStateEnabled_||(a.orgState_=0)};var z3=function(a){Y.call(this,a)};W(z3,Y);z3.prototype.getDescription=function(){return Db(this,6)};z3.prototype.setDescription=function(a){return k(this,6,a)};z3.prototype.hasDescription=function(){return Am(this,6)};var Azc=function(a){Y.call(this,a)};W(Azc,Y);var at=function(a){Y.call(this,a,5)};W(at,Y);at.prototype.getIsPlaceholder=function(){return Tl(this,2)};at.prototype.setIsPlaceholder=function(a){k(this,2,a)};at.prototype.getContactId=function(){return ol(this,4)};at.prototype.setContactId=function(a){k(this,4,a)};
var Bzc={},Czc=function(a){if(null!=a){jc(a);var b=Ok(a,z3,1);if(null!=b){jc(b);var c=ic(Db(b,4));var d=ic(Db(b,1)),e=ic(Db(b,2)),f=ic(Db(b,3)),h=ic(Db(b,5)),l=ic(Db(b,6)),q=ic(Db(b,7));var u=Ok(b,GDb,8);null!=u?(jc(u),b=Sl(u,EDb,1,HDb),null!=b?(jc(b),b={}):b=void 0,u=Sl(u,FDb,2,HDb),null!=u?(jc(u),u=u.getCustomerId(),null!=u?(jc(u),u={customerId:ic(Db(u,1))}):u=void 0,u={customerId:u}):u=void 0,b={consumerInfo:b,customerInfo:u}):b=void 0;c={entityType:c,presence:d,memberCount:e,avatarUrl:f,developerName:h,
description:l,dndState:q,organizationInfo:b}}else c=void 0;d=ic(bt(a,2));e=Ok(a,Azc,3);null!=e?(jc(e),e={actorId:ic(Db(e,1)),subtitle:ic(Db(e,2))}):e=void 0;c={dynamiteExtendedData:c,isPlaceholder:d,paisaExtendedData:e,contactId:ic(Db(a,4))};Mba(a,c,Bzc);return c}};var Dzc=fc(417869898,{clientSpecificData:0},at,Czc);var Ezc=function(a){Y.call(this,a)};W(Ezc,Y);var Fzc=function(a){Y.call(this,a)};W(Fzc,Y);var Gzc=function(a){Y.call(this,a)};W(Gzc,Y);Gzc.prototype.getCode=function(){return Dk(this,1)};Gzc.prototype.setCode=function(a){return k(this,1,a)};var A3=function(a){Y.call(this,a)};W(A3,Y);A3.prototype.getPhoneNumber=function(){return Ok(this,Fzc,1)};A3.prototype.getType=function(){return Dk(this,3)};A3.prototype.setType=function(a){return k(this,3,a)};A3.prototype.hasType=function(){return Am(this,3)};var Hzc=function(a){Y.call(this,a)};W(Hzc,Y);var B3=function(a){Y.call(this,a)};W(B3,Y);
var Izc=function(a){if(null!=a){jc(a);var b=ic(Db(a,1));a=Ok(a,Hzc,2);if(null!=a){jc(a);a=Ok(a,A3,1);if(null!=a){jc(a);var c=a.getPhoneNumber();if(null!=c){jc(c);var d=ic(Db(c,1));c=Ok(c,Ezc,2);null!=c?(jc(c),c={nationalNumber:ic(Db(c,1)),internationalNumber:ic(Db(c,2)),countryCode:ic(su(c,3)),regionCode:ic(Db(c,4)),isValid:ic(bt(c,5)),validationResult:ic(Db(c,6))}):c=void 0;d={e164:d,i18nData:c}}else d=void 0;c=Ok(a,Gzc,2);null!=c?(jc(c),c={code:ic(Db(c,1)),countryCode:ic(Db(c,2))}):c=void 0;a={phoneNumber:d,
shortCode:c,type:ic(Db(a,3)),formattedType:ic(Db(a,4))}}else a=void 0;a={structuredPhone:a}}else a=void 0;return{grammaticalGender:b,phoneExtendedData:a}}};var Jzc=fc(417866180,{peopleStackFieldData:0},B3,Izc);var Kzc=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},acb=function(a){if(!a)return 0;a=Array.from(a).map(Kzc);a.sort();for(var b=1,c=0,d=a.length;c<d;c++)b=(b<<5)-b+a[c];return b};var Qbb=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 C3=function(a){Y.call(this,a)};W(C3,Y);g=C3.prototype;g.getLoggingId=function(){return pq(this,1)};g.setLoggingId=function(a){k(this,1,pb(a,!1,!1))};g.getValue=function(){return nq(this,2)};g.getValue_legacyNullable=function(){return nq(this,2)};g.setValue=function(a){return k(this,2,sb(a))};g.hasValue=function(){return null!=nq(this,2)};var Lzc=function(a){if(null!=a)return jc(a),{loggingId:Oba(a.getLoggingId()),value:ic(nq(a,2))}};var D3=function(a){Y.call(this,a)};W(D3,Y);g=D3.prototype;g.getValue=function(){return Db(this,1)};g.getValue_legacyNullable=function(){return Db(this,1)};g.setValue=function(a){return k(this,1,a)};g.hasValue=function(){return Am(this,1)};g.getGivenName=function(){return Db(this,2)};g.setGivenName=function(a){return k(this,2,a)};g.hasGivenName=function(){return Am(this,2)};g.getFamilyName=function(){return Db(this,3)};g.setFamilyName=function(a){return k(this,3,a)};
g.hasFamilyName=function(){return Am(this,3)};g.getSourceType=function(){return Db(this,4)};g.setSourceType=function(a){return k(this,4,a)};var E3=function(a){Y.call(this,a)};W(E3,Y);g=E3.prototype;g.getUrl=function(){return Db(this,1)};g.setUrl=function(a){return k(this,1,a)};g.hasUrl=function(){return Am(this,1)};g.getType=function(){return Db(this,2)};g.setType=function(a){return k(this,2,a)};g.hasType=function(){return nl(this,2)};g.getGlyph=function(){return Db(this,3)};g.setGlyph=function(a){return k(this,3,a)};var F3=function(a){Y.call(this,a)};W(F3,Y);g=F3.prototype;g.getPhoto=function(){return Ok(this,E3,1)};g.setPhoto=function(a){gl(this,E3,1,a)};g.hasPhoto=function(){return Hl(this,E3,1)};g.getName=function(){return Ok(this,D3,2)};g.setName=function(a){return gl(this,D3,2,a)};g.hasName=function(){return Hl(this,D3,2)};g.getAffinity=function(){return Ok(this,C3,3)};g.hasAffinity=function(){return Hl(this,C3,3)};g.getPrimary=function(){return bt(this,4)};
var Mzc=function(a){if(null!=a){jc(a);var b=a.getPhoto();null!=b?(jc(b),b={url:ic(Db(b,1)),type:ic(Db(b,2)),glyph:ic(Db(b,3))}):b=void 0;var c=a.getName();null!=c?(jc(c),c={value:ic(Db(c,1)),givenName:ic(Db(c,2)),familyName:ic(Db(c,3)),sourceType:ic(Db(c,4))}):c=void 0;return{photo:b,name:c,affinity:Lzc(a.getAffinity()),primary:ic(bt(a,4))}}};var G3=function(a){Y.call(this,a)};W(G3,Y);G3.prototype.getStatus=function(){return Db(this,2)};G3.prototype.setStatus=function(a){return k(this,2,a)};G3.prototype.hasStatus=function(){return nl(this,2)};var Nzc=function(a){if(null!=a)return jc(a),{expirationTimestampSeconds:ic(Db(a,1)),status:ic(Db(a,2)),configurationName:ic(Db(a,3))}};var H3=function(a){Y.call(this,a)};W(H3,Y);var lcb=function(a){Y.call(this,a)};W(lcb,Y);lcb.prototype.getState=function(){return Db(this,2)};var Ozc=function(a){if(null!=a)return jc(a),{contextType:ic(Db(a,1)),state:ic(Db(a,2))}};var I3=function(a){Y.call(this,a,-1,Pzc)};W(I3,Y);I3.prototype.getApplication=function(){return tk(this,1,0)};I3.prototype.setApplication=function(a){return k(this,1,a)};I3.prototype.getApplicationOrUndefined=function(){return qt(this,1)};var Pzc=[2];var J3=function(a){Y.call(this,a,-1,Qzc)};W(J3,Y);J3.prototype.getValue=function(){return Db(this,1)};J3.prototype.getValue_legacyNullable=function(){return Db(this,1)};J3.prototype.setValue=function(a){return k(this,1,a)};J3.prototype.hasValue=function(){return Am(this,1)};var Qzc=[2];var Ws=function(a){Y.call(this,a)};W(Ws,Y);g=Ws.prototype;g.getProfileId=function(){return Db(this,1)};g.getProfileId_legacyNullable=function(){return Db(this,1)};g.setProfileId=function(a){return k(this,1,a)};g.hasProfileId=function(){return Am(this,1)};g.getEmail=function(){return oq(this,2,Zs)};g.getEmail_legacyNullable=function(){return oq(this,2,Zs)};g.setEmail=function(a){return rk(this,2,Zs,a)};g.hasEmail=function(){return null!=oq(this,2,Zs)};g.getPhone=function(){return oq(this,3,Zs)};
g.getPhone_legacyNullable=function(){return oq(this,3,Zs)};g.setPhone=function(a){return rk(this,3,Zs,a)};g.hasPhone=function(){return null!=oq(this,3,Zs)};var Zs=[2,3];var K3=function(a){Y.call(this,a)};W(K3,Y);K3.prototype.getDisplayValue=function(){return Db(this,1)};K3.prototype.getOriginalValue=function(){return Db(this,3)};var Rzc=function(a){Y.call(this,a)};W(Rzc,Y);var Vbb=function(a){Y.call(this,a)};W(Vbb,Y);g=Vbb.prototype;g.getIdCase=function(){return Hk(this,L3)};g.getProfileId=function(){return oq(this,1,L3)};g.getProfileId_legacyNullable=function(){return oq(this,1,L3)};g.setProfileId=function(a){return rk(this,1,L3,a)};g.hasProfileId=function(){return null!=oq(this,1,L3)};g.getContactId=function(){return oq(this,2,L3)};g.setContactId=function(a){rk(this,2,L3,a)};
var L3=[1,2],Szc=function(a){if(null!=a)return jc(a),{profileId:ic(oq(a,1,L3)),contactId:ic(oq(a,2,L3))}};var M3=function(a){Y.call(this,a,-1,Tzc)};W(M3,Y);g=M3.prototype;g.getValueCase=function(){return Hk(this,Xs)};g.getDisplayInfo=function(){return Ok(this,F3,1)};g.hasDisplayInfo=function(){return Hl(this,F3,1)};g.getEmail=function(){return Sl(this,J3,2,Xs)};g.setEmail=function(a){return hq(this,2,Xs,a)};g.hasEmail=function(){return Ql(this,J3,2,Xs)};g.getPhone=function(){return Sl(this,K3,3,Xs)};g.setPhone=function(a){return hq(this,3,Xs,a)};g.hasPhone=function(){return Ql(this,K3,3,Xs)};
g.getIsSelf=function(){return bt(this,6)};g.getTypeLabel=function(){return Db(this,10)};
var Tzc=[5],Xs=[2,3,4],Uzc=function(a){if(null!=a){jc(a);var b=Mzc(a.getDisplayInfo());var c=a.getEmail();if(null!=c){jc(c);var d=ic(Db(c,1));var e=hc(yj(c,G3,2),Nzc);var f=Ok(c,H3,3);null!=f?(jc(f),f={smtpServerSupportsTls:ic(bt(f,1)),usesConfusingCharacters:ic(bt(f,2))}):f=void 0;c=Ok(c,I3,4);null!=c?(jc(c),c={application:tk(c,1,0),stateStatusList:hc(yj(c,lcb,2),Ozc)}):c=void 0;d={value:d,certificatesList:e,securityInfo:f,internalExternal:c}}else d=void 0;e=a.getPhone();null!=e?(jc(e),e={displayValue:ic(Db(e,
1)),canonicalValue:ic(Db(e,2)),originalValue:ic(Db(e,3))}):e=void 0;c=Sl(a,Ws,4,Xs);null!=c?(jc(c),c={profileId:ic(Db(c,1)),email:ic(oq(c,2,Zs)),phone:ic(oq(c,3,Zs)),clientData:ic(Db(c,4))}):c=void 0;f=hc(yj(a,Vbb,5),Szc);var h=ic(bt(a,6)),l=ic(bt(a,7)),q=ic(bt(a,8)),u=Izc(Ok(a,B3,9)),x=ic(Db(a,10)),y=ic(bt(a,11));a=Ok(a,Rzc,12);null!=a?(jc(a),a={directUserMemberCount:ic(Db(a,1)),directGroupMemberCount:ic(Db(a,2))}):a=void 0;return{displayInfo:b,email:d,phone:e,inAppTarget:c,sourceIdsList:f,isSelf:h,
isGoogleGroup:l,isPersonal:q,peopleStackFieldExtendedData:u,typeLabel:x,isBlocked:y,rosterDetails:a}}};var N3=function(a){Y.call(this,a,-1,Vzc)};W(N3,Y);N3.prototype.getDisplayInfo=function(){return Ok(this,F3,1)};N3.prototype.hasDisplayInfo=function(){return Hl(this,F3,1)};N3.prototype.getMembersList=function(){return yj(this,M3,2)};N3.prototype.getLabelId=function(){return Db(this,3)};var Vzc=[2];var Xzc=function(a){Y.call(this,a,-1,Wzc)};W(Xzc,Y);Xzc.prototype.getHideType=function(){return Db(this,1)};Xzc.prototype.getHiddenKeysList=function(){return yj(this,Awc,3)};var Wzc=[3];var O3=function(a){Y.call(this,a,-1,Yzc)};W(O3,Y);O3.prototype.getAffinity=function(){return Ok(this,C3,2)};O3.prototype.hasAffinity=function(){return Hl(this,C3,2)};
var Yzc=[1],Zzc=function(a){if(null!=a){jc(a);var b=Lzc(a.getAffinity()),c=hc(yj(a,M3,1),Uzc),d=Czc(Ok(a,at,3));var e=Ok(a,Xzc,4);null!=e?(jc(e),e={hideType:ic(Db(e,1)),hiddenKeysList:hc(e.getHiddenKeysList(),Bwc),familyStatus:ic(Db(e,2))}):e=void 0;return{affinity:b,contactMethodsList:c,clientSpecificData:d,peopleStackExtendedData:e,peopleStackPersonExtendedData:Dwc(Ok(a,r2,5))}}};var aAc=function(a){Y.call(this,a,-1,$zc)};W(aAc,Y);aAc.prototype.getOwnersList=function(){return yj(this,O3,2)};var $zc=[2];var tcb=function(a){Y.call(this,a)};W(tcb,Y);tcb.prototype.getIdCase=function(){return Hk(this,ucb)};var ucb=[1],bAc=function(a){if(null!=a)return jc(a),{rosterEmail:ic(oq(a,1,ucb))}};var cAc=function(a){Y.call(this,a)};W(cAc,Y);var P3=function(a){Y.call(this,a,-1,dAc)};W(P3,Y);g=P3.prototype;g.getDisplayInfo=function(){return Ok(this,F3,1)};g.hasDisplayInfo=function(){return Hl(this,F3,1)};g.getMembersList=function(){return yj(this,O3,2)};g.getGroupId=function(){return Db(this,4)};g.setGroupId=function(a){k(this,4,a)};g.hasGroupId=function(){return Am(this,4)};var dAc=[2,6];var Q3=function(a){Y.call(this,a)};W(Q3,Y);Q3.prototype.getGroup=function(){return Sl(this,P3,2,R3)};Q3.prototype.setGroup=function(a){hq(this,2,R3,a)};
var R3=[1,2,3],eAc=function(a){if(null!=a){jc(a);var b=Zzc(Sl(a,O3,1,R3));var c=a.getGroup();if(null!=c){jc(c);var d=Mzc(c.getDisplayInfo());var e=hc(c.getMembersList(),Zzc),f=ic(su(c,3)),h=ic(Db(c,4)),l=ic(Db(c,5)),q=hc(yj(c,tcb,6),bAc);var u=Ok(c,cAc,7);null!=u?(jc(u),u=Ok(u,vj,1),null!=u?(jc(u),u={seconds:ol(u,1),nanos:zj(u,2)}):u=void 0,u={endtimeUtc:u}):u=void 0;c=Ok(c,aAc,8);null!=c?(jc(c),c={creator:Zzc(Ok(c,O3,1)),ownersList:hc(c.getOwnersList(),Zzc)}):c=void 0;d={displayInfo:d,membersList:e,
fullGroupSize:f,groupId:h,groupType:l,groupAlternateIdList:q,groupEndtime:u,groupAdministration:c}}else d=void 0;a=Sl(a,N3,3,R3);null!=a?(jc(a),a={displayInfo:Mzc(a.getDisplayInfo()),membersList:hc(a.getMembersList(),Uzc),labelId:ic(Db(a,3))}):a=void 0;return{person:b,group:d,contactLabel:a}}};var ft=function(a){Y.call(this,a)};W(ft,Y);g=ft.prototype;g.getIdCase=function(){return Hk(this,S3)};g.getEmail=function(){return oq(this,1,S3)};g.getEmail_legacyNullable=function(){return oq(this,1,S3)};g.setEmail=function(a){return rk(this,1,S3,a)};g.hasEmail=function(){return null!=oq(this,1,S3)};g.getPhone=function(){return oq(this,2,S3)};g.getPhone_legacyNullable=function(){return oq(this,2,S3)};g.setPhone=function(a){return rk(this,2,S3,a)};g.hasPhone=function(){return null!=oq(this,2,S3)};
g.getProfileId=function(){return oq(this,3,S3)};g.getProfileId_legacyNullable=function(){return oq(this,3,S3)};g.setProfileId=function(a){return rk(this,3,S3,a)};g.hasProfileId=function(){return null!=oq(this,3,S3)};var S3=[1,2,3];var fAc=function(a){Y.call(this,a)};W(fAc,Y);var gAc=function(a){if(null!=a)return jc(a),{featureType:tk(a,1,0),weight:pl(a,2,0),exponent:pl(a,3,1)}};var T3=function(a){Y.call(this,a,-1,hAc)};W(T3,Y);g=T3.prototype;g.getAffinityVersion=function(){return su(this,1)};g.setAffinityVersion=function(a){k(this,1,a)};g.getAffinityVersionOrUndefined=function(){return tu(this,1)};g.getAffinityType=function(){return Db(this,4)};g.setAffinityType=function(a){return k(this,4,a)};var hAc=[3];var U3=function(a){Y.call(this,a,-1,iAc)};W(U3,Y);var jAc=mc(U3),iAc=[1];var kAc=function(a){Y.call(this,a)};W(kAc,Y);kAc.prototype.getId=function(){return Ok(this,ft,1)};kAc.prototype.setId=function(a){return gl(this,ft,1,a)};var lAc=[2,3];var nAc=function(a){Y.call(this,a,-1,mAc)};W(nAc,Y);var oAc=mc(nAc),mAc=[1];var pAc=function(a){this.leanResponseProcessorConfig_=a},qAc=function(a,b,c,d){d=void 0===d?!1:d;var e=[],f=void 0,h=void 0;if(Ok(b,at,3)){var l;f=null!=(l=f)?l:new V1;zu(f,Dzc,Ok(b,at,3))}if(Ok(b,r2,5)){var q;f=null!=(q=f)?q:new V1;zu(f,Ewc,Ok(b,r2,5))}l=[];q=m(yj(b,M3,1));for(var u=q.next();!u.done;u=q.next()){u=u.value;var x=Ubb(u);if(x.equals($s)){if(!a.leanResponseProcessorConfig_.allowEmptyTargets&&!d)continue;x=bcb(u);if(!x)continue;x=Ebb(x)}l.push(String(x));if(Ok(u,B3,9)){var y=void 0;h=
null!=(y=h)?y:new V1;zu(h,Jzc,Ok(u,B3,9))}var G=y=void 0;x={id:x,containerIds:Wbb(u),coalescedKeys:l,isMe:!!u.getIsSelf(),dataSource:Xbb(b,u),provenance:c,isPrimary:$bb(null!=(y=u.getDisplayInfo())?y:null),itemAffinity:Zbb(b),fieldAffinity:Ybb(null!=(G=u.getDisplayInfo())?G:null),contactMethod:u,person:b};f&&(x.resultExtendedData=f);h&&(x.targetExtendedData=h);e.push(x)}e.length&&e.every(function(L){return!L.isPrimary})&&(e[0].isPrimary=!0);return e},rAc=function(a,b,c){var d=Ss(Rbb(Db(b,5)),b.getGroupId()||
""),e=b.getMembersList().map(function(q){return qAc(a,q,8,!0)}),f=e.filter(function(q){return q&&q.length}).map(function(q){return String(q[0].id)}),h,l;d=[{id:d,containerIds:[d],memberKeys:f,totalMemberCount:null!=(h=tu(b,3))?h:void 0,provenance:c,isPrimary:!0,itemAffinity:Ybb(null!=(l=b.getDisplayInfo())?l:null),fieldAffinity:-Infinity,group:b}];b=m(e);for(c=b.next();!c.done;c=b.next())d.push.apply(d,r(c.value));return d},sAc=function(a,b){var c=yuc(a.getLabelId()||""),d=a.getMembersList().map(function(h){if(h.hasEmail()&&
h.getEmail().getValue()){var l=void 0;if(Ok(h,B3,9)){var q;l=zu(new V1,Jzc,null!=(q=Ok(h,B3,9))?q:null)}var u,x;q={id:Vs(h.getEmail().getValue()),containerIds:Wbb(h),contactMethod:h,provenance:8,isMe:!1,dataSource:1,isPrimary:$bb(null!=(u=h.getDisplayInfo())?u:null),itemAffinity:-Infinity,fieldAffinity:Ybb(null!=(x=h.getDisplayInfo())?x:null)};l&&(q.targetExtendedData=l);h=q}else h=null;return h}).filter(Boolean),e=d.map(function(h){return String(h.id)}),f;return[{id:c,containerIds:[c],memberKeys:e,
totalMemberCount:d.length,provenance:b,dataSource:1,isPrimary:!0,itemAffinity:Ybb(null!=(f=a.getDisplayInfo())?f:null),fieldAffinity:-Infinity,isMe:!1,contactLabel:a}].concat(r(d))},tAc=function(a,b,c){switch(Hk(b,R3)){case 1:return qAc(a,Sl(b,O3,1,R3),c);case 2:return rAc(a,b.getGroup(),c);case 3:return sAc(Sl(b,N3,3,R3),c);default:return[]}},uAc=function(a,b,c){return yj(b,Q3,1).flatMap(function(d){return tAc(a,d,c)})};var ecb=new Map([[0,1],[1,2],[2,3],[3,4]]);var vAc=function(a){Y.call(this,a)};W(vAc,Y);g=vAc.prototype;g.getLabel=function(){return Db(this,1)};g.setLabel=function(a){return k(this,1,a)};g.hasLabel=function(){return nl(this,1)};g.getItemCount=function(){return su(this,2)};g.setItemCount=function(a){return k(this,2,a)};g.hasItemCount=function(){return Km(this,2)};g.getLookupInfo=function(){return Ok(this,dt,3)};g.setLookupInfo=function(a){return gl(this,dt,3,a)};g.hasLookupInfo=function(){return Hl(this,dt,3)};
g.getQueryLength=function(){return su(this,4)};g.setQueryLength=function(a){return k(this,4,a)};g.hasQueryLength=function(){return Km(this,4)};g.getQueryScope=function(){return tk(this,5,0)};g.setQueryScope=function(a){return k(this,5,a)};g.hasQueryScope=function(){return nl(this,5)};var wAc=function(a){Y.call(this,a)};W(wAc,Y);g=wAc.prototype;g.getLabel=function(){return Db(this,1)};g.setLabel=function(a){return k(this,1,a)};g.hasLabel=function(){return nl(this,1)};g.getStatus=function(){return Db(this,2)};g.setStatus=function(a){return k(this,2,a)};g.hasStatus=function(){return nl(this,2)};g.setLatencyUsec=function(a){k(this,3,a)};g.getResultIndex=function(){return su(this,4)};g.setResultIndex=function(a){k(this,4,a)};g.getDataSource=function(){return Db(this,7)};
g.setDataSource=function(a){return k(this,7,a)};g.hasDataSource=function(){return nl(this,7)};g.getItemCount=function(){return su(this,8)};g.setItemCount=function(a){return k(this,8,a)};g.hasItemCount=function(){return Km(this,8)};g.getLookupInfo=function(){return Ok(this,dt,10)};g.setLookupInfo=function(a){return gl(this,dt,10,a)};g.hasLookupInfo=function(){return Hl(this,dt,10)};g.setStatusCode=function(a){k(this,11,a)};g.getQueryLength=function(){return su(this,13)};
g.setQueryLength=function(a){return k(this,13,a)};g.hasQueryLength=function(){return Km(this,13)};g.getQueryScope=function(){return tk(this,14,0)};g.setQueryScope=function(a){return k(this,14,a)};g.hasQueryScope=function(){return nl(this,14)};var xAc=function(a){Y.call(this,a)};W(xAc,Y);var V3=function(a){Y.call(this,a)};W(V3,Y);g=V3.prototype;g.getDataSource=function(){return Db(this,3)};g.setDataSource=function(a){return k(this,3,a)};g.hasDataSource=function(){return nl(this,3)};g.getType=function(){return Db(this,4)};g.setType=function(a){return k(this,4,a)};g.hasType=function(){return nl(this,4)};g.getValue=function(){return ol(this,2,1)};g.setValue=function(a){return k(this,2,a)};g.hasValue=function(){return Tm(this,2)};g.getLabel=function(){return Db(this,1)};
g.setLabel=function(a){return k(this,1,a)};g.hasLabel=function(){return Am(this,1)};var W3=function(a){Y.call(this,a)};W(W3,Y);g=W3.prototype;g.setStatusCode=function(a){k(this,5,a)};g.getLabel=function(){return Db(this,1)};g.setLabel=function(a){return k(this,1,a)};g.hasLabel=function(){return Am(this,1)};g.getCause=function(){return Db(this,2)};g.getType=function(){return Db(this,3)};g.setType=function(a){return k(this,3,a)};g.hasType=function(){return nl(this,3)};var X3=function(a){Y.call(this,a)};W(X3,Y);g=X3.prototype;g.getType=function(){return Db(this,3)};g.setType=function(a){return k(this,3,a)};g.hasType=function(){return nl(this,3)};g.setLatencyUsec=function(a){k(this,2,a)};g.getLabel=function(){return Db(this,1)};g.setLabel=function(a){return k(this,1,a)};g.hasLabel=function(){return Am(this,1)};var Y3=function(a){Y.call(this,a)};W(Y3,Y);Y3.prototype.getLabel=function(){return Db(this,1)};Y3.prototype.setLabel=function(a){return k(this,1,a)};Y3.prototype.hasLabel=function(){return nl(this,1)};var yAc=function(a){Y.call(this,a)};W(yAc,Y);g=yAc.prototype;g.getLabel=function(){return Db(this,1)};g.setLabel=function(a){return k(this,1,a)};g.hasLabel=function(){return nl(this,1)};g.getStatus=function(){return Db(this,2)};g.setStatus=function(a){return k(this,2,a)};g.hasStatus=function(){return nl(this,2)};g.setLatencyUsec=function(a){k(this,3,a)};g.getErrorCode=function(){return Db(this,4)};g.hasErrorCode=function(){return Tm(this,4)};g.setStatusCode=function(a){k(this,7,a)};
g.setBlockedUsec=function(a){return k(this,8,a)};var Z3=function(a){Y.call(this,a)};W(Z3,Y);g=Z3.prototype;g.getClientInterface=function(){return Ok(this,NR,1)};g.setClientInterface=function(a){return gl(this,NR,1,a)};g.getEventType=function(){return Db(this,3)};g.getEventType_legacyNullable=function(){return Db(this,3)};g.setEventType=function(a){return k(this,3,a)};g.getCacheStatus=function(){return Ok(this,xAc,12)};g.setCacheStatus=function(a){return gl(this,xAc,12,a)};g.getCount=function(){return Ok(this,V3,4)};
g.setCount=function(a){return gl(this,V3,4,a)};g.getLatency=function(){return Ok(this,X3,5)};g.setLatency=function(a){return gl(this,X3,5,a)};g.getError=function(){return Ok(this,W3,6)};g.setError=function(a){gl(this,W3,6,a)};g.hasError=function(){return Hl(this,W3,6)};g.setRpcRequest=function(a){return gl(this,Y3,7,a)};g.setRpcResponse=function(a){return gl(this,yAc,8,a)};g.setApiCall=function(a){return gl(this,vAc,9,a)};g.setApiResult=function(a){return gl(this,wAc,10,a)};var a4=function(a){Y.call(this,a)};W(a4,Y);a4.prototype.setDevice=function(a){return k(this,1,a)};var zAc=function(a){Y.call(this,a)};W(zAc,Y);g=zAc.prototype;g.getAffinityType=function(){return Db(this,1)};g.setAffinityType=function(a){return k(this,1,a)};g.getQuery=function(){return Db(this,2)};g.setQuery=function(a){return k(this,2,a)};g.clearQuery=function(){qu(this,2)};g.hasQuery=function(){return Am(this,2)};g.setClientInformation=function(a){gl(this,a4,3,a)};g.setMaxResults=function(a){return k(this,4,a)};var AAc=new $C("/peoplestack.PeopleStackAutocompleteService/Autocomplete",zAc,U3,function(a){return a.serialize()},jAc);var BAc=function(a){Y.call(this,a)};W(BAc,Y);g=BAc.prototype;g.getAffinityType=function(){return Db(this,1)};g.setAffinityType=function(a){return k(this,1,a)};g.setClientInformation=function(a){gl(this,a4,2,a)};g.getName=function(){return Db(this,3)};g.setName=function(a){return k(this,3,a)};g.hasName=function(){return Am(this,3)};g.getNameOrUndefined=function(){return yu(this,3)};var b4=function(a){Y.call(this,a)};W(b4,Y);b4.prototype.getGroup=function(){return Ok(this,P3,1)};b4.prototype.setGroup=function(a){gl(this,P3,1,a)};var CAc=new $C("/peoplestack.PeopleStackAutocompleteService/CreateGroup",BAc,b4,function(a){return a.serialize()},mc(b4));var EAc=function(a){Y.call(this,a,-1,DAc)};W(EAc,Y);g=EAc.prototype;g.getAffinityType=function(){return Db(this,1)};g.setAffinityType=function(a){return k(this,1,a)};g.setClientInformation=function(a){gl(this,a4,2,a)};g.setIdsList=function(a){ac(this,3,a)};g.setIds=function(a){return ou(this,3,ft,a)};var DAc=[3];var FAc=new $C("/peoplestack.PeopleStackAutocompleteService/Lookup",EAc,nAc,function(a){return a.serialize()},oAc);var c4=function(a){Y.call(this,a)};W(c4,Y);c4.prototype.getAffinityType=function(){return Db(this,1)};c4.prototype.setAffinityType=function(a){return k(this,1,a)};c4.prototype.setClientInformation=function(a){gl(this,a4,2,a)};var GAc=function(a){Y.call(this,a)};W(GAc,Y);var HAc=new $C("/peoplestack.PeopleStackAutocompleteService/Warmup",c4,GAc,function(a){return a.serialize()},mc(GAc));var IAc=function(a){var b={unaryInterceptors:[new Nvc]};b=b||{};b.format="jspb";this.client_=new BD(b);this.hostname_=void 0==a?a:a.replace(/\/+$/,"")};IAc.prototype.autocomplete=function(a,b){return CD(this.client_,this.hostname_+"/$rpc/peoplestack.PeopleStackAutocompleteService/Autocomplete",a,b||{},AAc)};IAc.prototype.lookup=function(a,b){return CD(this.client_,this.hostname_+"/$rpc/peoplestack.PeopleStackAutocompleteService/Lookup",a,b||{},FAc)};
IAc.prototype.createGroup=function(a,b){return CD(this.client_,this.hostname_+"/$rpc/peoplestack.PeopleStackAutocompleteService/CreateGroup",a,b||{},CAc)};var d4=function(a,b,c,d,e){this.leanResponseProcessor_=a;this.grpcClient_=b;e?a=dcb(e):(a=new ct,ccb(a.setEventType(4),4));this.sourceInfo_=a;this.provenance_=e?2:1;this.trackers_=d;this.query_=e;this.affinity_=tk(c.getPeopleApi(),5,0);this.searchMaxResults_=zj(c.getClient(),2,10);this.cacheSize_=c.getClient().getCacheSize()};d4.prototype.getMetric=function(){return this.trackers_.rpc(this.sourceInfo_)};
d4.prototype.send=function(a){var b=new zAc;b.setAffinityType(this.affinity_).setQuery(this.query_).setClientInformation((new a4).setDevice(1));this.query_.length?b.setMaxResults(this.searchMaxResults_):b.setMaxResults(this.cacheSize_);return this.grpcClient_.autocomplete(b,a)};d4.prototype.processResponse=function(a){var b=uAc(this.leanResponseProcessor_,a,this.provenance_),c=new lt;Hl(a,T3,2)&&c.setAffinityVersion(Ok(a,T3,2).getAffinityVersion());return{data:b,metadata:c}};d4.prototype.close=function(){};var e4=function(a,b,c,d,e,f){this.leanResponseProcessor_=a;this.grpcClient_=b;a=new ct;ccb(a.setEventType(4),7).setIdType(e);this.sourceInfo_=a;this.provenance_=3;this.keys_=f;this.type_=e;this.trackers_=d;this.affinity_=tk(c.getPeopleApi(),5,0)};e4.prototype.getMetric=function(){return this.trackers_.rpc(this.sourceInfo_)};
e4.prototype.send=function(a){var b=this,c=new EAc;c.setAffinityType(this.affinity_).setClientInformation((new a4).setDevice(1));c.setIdsList(this.keys_.map(function(d){return kcb(b.type_,d)}).filter(function(d){return!!d}));return this.grpcClient_.lookup(c,a)};
e4.prototype.processResponse=function(a){var b=this.leanResponseProcessor_,c=this.provenance_,d=new Map;a=m(yj(a,kAc,1));for(var e=a.next();!e.done;e=a.next())if(e=e.value,Ql(e,Q3,2,lAc)){var f=tAc(b,Sl(e,Q3,2,lAc),c);switch(e.getId().getIdCase()){case 1:d.set(e.getId().getEmail_legacyNullable(),f);break;case 2:d.set(e.getId().getPhone_legacyNullable(),f);break;case 3:d.set(e.getId().getProfileId_legacyNullable(),f)}}return{data:d,metadata:new lt}};e4.prototype.close=function(){};var JAc=function(a){Y.call(this,a)};W(JAc,Y);var KAc=fc(342338249,{leanOfflineData:0},JAc,function(a){if(null!=a){jc(a);var b=Ok(a,U3,1);null!=b?(jc(b),a=hc(yj(b,Q3,1),eAc),b=Ok(b,T3,2),null!=b?(jc(b),b={affinityVersion:ic(su(b,1)),affinityThreshold:ic(nq(b,2)),featureList:hc(yj(b,fAc,3),gAc),affinityType:ic(Db(b,4))}):b=void 0,a={resultsList:a,affinityResponseContext:b}):a=void 0;return{leanAutocomplete:a}}});var LAc=function(){};LAc.prototype.write=function(a,b){var c=new JAc;b=gl(c,U3,1,b);zu(a,KAc,b)};LAc.prototype.read=function(a){return(a=a.getExtension(KAc))?Ok(a,U3,1):null};var f4=function(a,b,c){this.grpcClient_=a;this.sourceInfo_=dcb("");this.trackers_=c;this.affinity_=tk(b.getPeopleApi(),5,0)};f4.prototype.getMetric=function(){return this.trackers_.rpc(this.sourceInfo_)};f4.prototype.send=function(a){var b=new c4;b.setAffinityType(this.affinity_).setClientInformation((new a4).setDevice(1));var c=this.grpcClient_;return CD(c.client_,c.hostname_+"/$rpc/peoplestack.PeopleStackAutocompleteService/Warmup",b,a||{},HAc)};
f4.prototype.processResponse=function(){return{data:[],metadata:new lt}};f4.prototype.close=function(){};var MAc=new ZQb;var g4=function(a,b,c){this.delegate_=a;this.runtimeConfig_=b;this.offlineResponse_=c};g4.prototype.send=function(a){var b=this;return of(function(c){return b.runtimeConfig_.isOffline_()?c.return(MAc):c.return(b.delegate_.send(a))})};g4.prototype.getMetric=function(){return this.delegate_.getMetric()};g4.prototype.processResponse=function(a){return a===MAc?this.offlineResponse_:this.delegate_.processResponse(a)};g4.prototype.close=function(a){this.delegate_.close(a)};
var NAc={data:[],metadata:k(new lt,5,!0).setCode(14)},OAc={data:new Map,metadata:k(new lt,5,!0).setCode(14)};k(new lt,5,!0).setCode(14);k(new lt,5,!0).setCode(14);var PAc=function(a){Y.call(this,a)};W(PAc,Y);g=PAc.prototype;g.getTimestamp=function(){return ol(this,1)};g.setTimestamp=function(a){return k(this,1,a)};g.hasTimestamp=function(){return Tm(this,1)};g.getOwner=function(){return Dk(this,2)};g.setOwner=function(a){return k(this,2,a)};var QAc=fc(342656659,{metadata:0},PAc,function(a){if(null!=a)return jc(a),{timestamp:ic(Db(a,1)),owner:ic(Db(a,2))}});var h4=function(a,b,c,d,e){this.delegate_=a;this.offlineStorage_=b;this.offlineDataTransformer_=c;this.owner_=d;this.storageTaskDelayMillis_=e;this.offlineMetadata_=null};h4.prototype.store_=function(a,b){var c=new nzc;zu(c,QAc,(new PAc).setTimestamp(b).setOwner(String(this.owner_)));this.offlineDataTransformer_.write(c,a);this.offlineStorage_.store(c)};
var RAc=function(a){var b,c;return of(function(d){if(1==d.nextAddress)return pf(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(QAc);c=a.offlineMetadata_?Auc(a.offlineMetadata_.getOwner()):$s;return a.owner_.equals(c)?d.return(a.offlineDataTransformer_.read(b)):d.return(null)}sf(d);return d.return(null)})};
h4.prototype.send=function(a){var b=this,c,d,e,f,h;return of(function(l){switch(l.nextAddress){case 1:return pf(l,2),l.yield(b.delegate_.send(a),4);case 4:c=l.yieldResult;d=Date.now();if(c!==MAc){l.jumpTo(5);break}return l.yield(RAc(b),6);case 6:return e=l.yieldResult,l.return(e||MAc);case 5:return setTimeout(function(){b.store_(c,d)},b.storageTaskDelayMillis_),l.return(c);case 2:return f=sf(l),l.yield(RAc(b),7);case 7:return(h=l.yieldResult)?l.return(h):l.return(Promise.reject(f))}})};
h4.prototype.getMetric=function(){return this.delegate_.getMetric()};h4.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};h4.prototype.close=function(a){this.delegate_.close(a)};var SAc=function(a,b){this.config_=a;this.trackers_=b;b=this.config_;b={apiKey:b.runtimeConfig_.getApiKey()||(7===b.runtimeConfig_.getPeopleApiEnv()?Dk(b.getGapi(),2,""):b.getGapi().getApiKey()),timeoutSec:a.getClient().getRpcTimeoutSec(),authErrorHandler:a.runtimeConfig_.getAuthErrorHandler(),customAuthHeaders:a.runtimeConfig_.customAuthHeaders_};this.dispatcher_=new Ovc(b);b=NIa("peoplestack-pa",a.runtimeConfig_.getPeopleApiEnv());this.grpcPeopleStackClient_=new IAc(b);this.offlineDataTransformer_=
new LAc;a=Tl(a.getClient(),22,!1);this.leanResponseProcessor_=new pAc({allowEmptyTargets:a})};g=SAc.prototype;
g.loadRankedItems=function(){var a=new d4(this.leanResponseProcessor_,this.grpcPeopleStackClient_,this.config_,this.trackers_,"");a=new g4(a,this.config_.runtimeConfig_,NAc);var b=this.config_,c=this.offlineDataTransformer_,d=b.runtimeConfig_.offlineStorage_;if(d){var e=b.runtimeConfig_.getUserEmail();e&&(e=Vs(e),b=zj(b.getPeopleApi(),14,5E3),a=new h4(a,d,c,e,b))}return n2(this.dispatcher_,a)};
g.warmUpServer=function(){var a=new f4(this.grpcPeopleStackClient_,this.config_,this.trackers_);a=new g4(a,this.config_.runtimeConfig_,NAc);return n2(this.dispatcher_,a)};g.loadAutocompleteItems=function(a){a=a.getPrefix();a=new d4(this.leanResponseProcessor_,this.grpcPeopleStackClient_,this.config_,this.trackers_,a);a=new g4(a,this.config_.runtimeConfig_,NAc);return n2(this.dispatcher_,a)};
g.loadLookupItems=function(a,b){a=new e4(this.leanResponseProcessor_,this.grpcPeopleStackClient_,this.config_,this.trackers_,a,b);a=new g4(a,this.config_.runtimeConfig_,OAc);return n2(this.dispatcher_,a)};g.loadContactItems=function(){};var mcb=new Map([[1,1],[2,2]]);var pcb=new Map([[3,3],[1,2],[2,1]]),TAc=new Map([[2,1],[4,2],[3,3],[1,4]]),UAc=function(a){this.delegate_=a};
UAc.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=Ts(a.id).setValue(c);if(yj(b,G3,2).length||Hl(b,H3,3)){var d=1;if(yj(b,G3,2).length){var e=yj(b,G3,2)[0];Db(e,1);d=TAc.get(e.getStatus())||d}Hl(b,H3,3)&&(e=Ok(b,H3,3),bt(e,1));4===(void 0===d?1:d)&&Date.now()}Hl(b,I3,4)&&(b=ncb(Ok(b,I3,4)),c.orgState_=b);bt(a.contactMethod,7)&&(c.resultType_=2);b=c;break;case 3:b=a.contactMethod.getPhone();
b=b.getOriginalValue()||b.getDisplayValue()||Db(b,2)||"";b=Ts(a.id).setValue(b);break;case 4:b=Sl(a.contactMethod,Ws,4,Xs);b=scb(a,b);break;default:b=Ts(a.id||$s)}b.setDataSource(a.dataSource||0);a.containerIds&&(b.sourceIds_=a.containerIds||[]);Ibb(b,!!a.isMe);a.person&&a.person.hasAffinity()&&b.setPersonLoggingId(ocb(Nba(pq(a.person.getAffinity(),1))||""));a.contactMethod.hasDisplayInfo()&&qcb(b,a.contactMethod.getDisplayInfo());Am(a.contactMethod,10)&&Mbb(b,[Nbb(a.contactMethod.getTypeLabel())]);
a.targetExtendedData&&(b.extendedData_=a.targetExtendedData);a.target=b}else a.group?vcb(a,a.group.getDisplayInfo()):a.contactLabel&&vcb(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 VAc=function(a,b){this.metrics_=a;this.state_=new ZR(b)};g=VAc.prototype;g.start=function(a){this.metrics_.start(this.state_,a)};g.stop=function(a){this.metrics_.stop(this.state_,a)};g.count=function(){this.metrics_.count(this.state_)};g.latency=function(){this.metrics_.latency(this.state_)};g.error=function(){this.metrics_.error(this.state_)};
g.status=function(a,b,c){b=void 0===b?0:b;c=void 0===c?0:c;if(b){var d=this.state_.source();k(d,13,b)}c&&(b=this.state_.source(),k(b,12,c));this.metrics_.status(this.state_,a)};g.logError=function(a,b){this.metrics_.logError(a,b)};var WAc=function(a){this.metrics_=a};g=WAc.prototype;g.error=function(a,b){var c=this.metrics_,d=new ct;a=d.setEventType(3).setErrorType(a);k(a,7,b);return new Tyc(c,d)};g.latency=function(a){var b=this.metrics_,c=new ct,d=c.setEventType(2);k(d,5,a);return new o2(b,c)};g.count=function(a){var b=this.metrics_,c=new ct,d=c.setEventType(1);k(d,4,a);return new Syc(b,c)};g.api=function(a){return new Ryc(this.metrics_,a)};g.rpc=function(a){return new VAc(this.metrics_,a)};var XAc=function(a,b){this.ranker_=new Oyc(a.getClient());this.loader_=new SAc(a,b);b=ezc;b=void 0===b?ezc:b;this.targetFactory_=new zzc(a,new UAc(b))};var YAc=function(){this.cacheConfigurators_=[];this.grpcClient_=null};var wcb=function(a){this.delegate_=a};W(wcb,a2);var ZAc=function(a){this.keys_=new Set(a)};ZAc.prototype.loadOrSkip=function(a){return this.keys_.delete(a)?a:null};ZAc.prototype.isDone=function(){return!this.keys_.size};var $Ac=function(a){this.keys_=a;this.foundKeys_=new Set;this.delegate_=new ZAc(a)};$Ac.prototype.loadOrSkip=function(a){return this.delegate_.loadOrSkip(a)?(this.foundKeys_.add(a),!0):!1};$Ac.prototype.isDone=function(){return this.delegate_.isDone()};var aBc=function(a){return a.keys_.filter(function(b){return!a.foundKeys_.has(b)})};var bBc=new tt,cBc=function(a,b,c){this.itemResolver_=a;this.trieFactory_=b;this.indexes_=n3(zj(c,31,5),1E3*pl(c,32,3600))};g=cBc.prototype;g.getCacheType=function(){return 2};g.flush=function(){this.indexes_.clear()};
g.fetch=function(a){var b=this,c,d,e,f;return of(function(h){if(1==h.nextAddress){c=a.getBoostKey();if(!c.cacheKey||b.indexes_.get(c.cacheKey))return h.return(bBc);d=c.ids.map(function(l){if(xuc.includes(Auc(l).getType()))return l;var q=i4(b.itemResolver_,l);return q?String(q.id):l});e=new $Ac(d);return h.yield(dBc(b.trieFactory_,e,a.getFormat(),c.primingTimeoutMillis),2)}f=h.yieldResult;b.indexes_.set(c.cacheKey,f);return h.return(bBc)})};
g.search=function(a){var b=a.getBoostKey();if(!b.cacheKey)return[];this.indexes_.has(b.cacheKey)||this.fetch(a);return(this.indexes_.get(b.cacheKey)||l3).search(a.getTerms()).getMatches(a.getCollector()).map(xcb)};g.index=function(){};var eBc=new s3(60,61,34);var fBc=function(){};fBc.prototype.configure=function(a){var b=a.storage,c=a.trackers,d=a.trieFactory,e=a.prefixCaches;a=a.clientConfig.getClient();Tl(a,30,!1)&&(b=new cBc(b,d,a),c=new t3(b,c,eBc),e.unshift(c))};var gBc=function(){return Date.now()},hBc=function(a,b,c){this.staleMillis_=1E3*a;this.expiredMillis_=1E3*b;this.nowFn_=c;this.timestamp_=0};g=hBc.prototype;g.isStale=function(){return this.timestamp_+this.staleMillis_<=this.nowFn_()};g.isExpired=function(){return this.timestamp_+this.expiredMillis_<=this.nowFn_()};g.getStatus=function(){return this.isExpired()?1:this.isStale()?3:2};g.getTimestamp=function(){return this.timestamp_};g.setTimestamp=function(a){this.timestamp_=a};
g.markAsFresh=function(){this.timestamp_=this.nowFn_()};g.markAsStale=function(){var a=this.nowFn_()-this.staleMillis_;a<this.timestamp_&&(this.timestamp_=a)};var zcb=new Map([[1,1],[2,2],[3,3],[8,6],[6,7],[7,5],[4,4],[9,9]]),ycb=new Map([[1,7],[2,5]]);var iBc=function(a,b){this.delegate_=a;this.extendedData_=b};W(iBc,a2);iBc.prototype.getExtendedData=function(){return this.extendedData_};var jBc=function(a,b,c){this.group_=a;this.members_=b;this.totalMemberCount_=Fs(this.group_.getId())?this.members_.length:c;this.resultType_=Puc.get(this.group_.getTargetType())||0};g=jBc.prototype;g.getResultType=function(){return this.resultType_};g.getTargetList=function(){return[this.group_]};g.getMemberList=function(){return this.members_};g.getTotalMemberCount=function(){return this.totalMemberCount_};g.getPrimaryTarget=function(){throw Error("xe");};g.getDisplayName=function(){return""};
g.getDisplayValue=function(){return""};g.getDescription=function(){return""};g.getPhotoUrl=function(){return""};g.getMatchInfo=function(){return Ouc};g.getExtendedData=function(){return null};var kBc=function(a){this.delegate_=a};g=kBc.prototype;g.getDelegate=function(){return this.delegate_};g.getId=function(){return this.delegate_.getId()};g.getTargetType=function(){return this.delegate_.getTargetType()};g.getValue=function(){return this.delegate_.getValue()};g.getDisplayValue=function(){return this.delegate_.getDisplayValue()};g.getDescription=function(){return this.delegate_.getDescription()};g.getName=function(){return this.delegate_.getName()};g.getPhoto=function(){return this.delegate_.getPhoto()};
g.getTagList=function(){return this.delegate_.getTagList()};g.getSourceIdList=function(){return this.delegate_.getSourceIdList()};g.getProfileId=function(){return this.delegate_.getProfileId()};g.getContactId=function(){return this.delegate_.getContactId()};g.getLoggingToken=function(){return this.delegate_.getLoggingToken()};g.getIsMe=function(){return this.delegate_.getIsMe()};g.getIsPersonalResult=function(){return this.delegate_.getIsPersonalResult()};g.getOrgState=function(){return this.delegate_.getOrgState()};
g.getDataSource=function(){return this.delegate_.getDataSource()};g.getOriginatingField=function(){return this.delegate_.getOriginatingField()};g.getExtendedData=function(){return this.delegate_.getExtendedData()};var Bcb=function(a,b){this.delegate_=a;this.loggingToken_=b};W(Bcb,kBc);Bcb.prototype.getLoggingToken=function(){return this.loggingToken_};var lBc=function(a){this.itemResolver_=a};lBc.prototype.create=function(a,b){var c=this,d=Auc(a);a=i4(this.itemResolver_,a);if(!a)return null;if(Es(d))return d=(a.memberKeys||[]).map(function(h){return c.create(h,b)}).filter(Boolean),this.createGroup(a,d,b);var e,f=2===b&&1<(null==(e=a.coalescedKeys)?void 0:e.length)?a.coalescedKeys.map(function(h){return i4(c.itemResolver_,h)}).filter(Boolean):[a];return mBc(f,d,b)};
var mBc=function(a,b,c){var d=[],e=0,f=null,h=null;a=m(a);for(var l=a.next();!l.done;l=a.next()){l=l.value;var q=l.target,u=q.getId().equals(b);if(!e||u)e=q.getResultType();q=Ccb(q,l.provenance,c);u?(h=void 0,f=null!=(h=l.totalMemberCount)?h:null,d.unshift(q),h=l.resultExtendedData):d.push(q)}b=D9a(e,d,f);return h?new iBc(b,h):b};
lBc.prototype.createGroup=function(a,b,c){c=Ccb(a.target,a.provenance,c);var d,e=null!=(d=a.totalMemberCount)?d:null;b=new Vr(new jBc(c,null!=b?b:[],null!=e?e:null));return(a=a.resultExtendedData)?new iBc(b,a):b};var Dcb=[1,2,3,4,5,6,9,7,8],nBc=function(a,b){this.targetFactory_=a;this.resultFactory_=new lBc(this);a=b.getCacheStaleSec();var c=b.getCacheExpiredSec();var d=void 0===d?gBc:d;this.expiry_=new hBc(a,c,d);this.affinityVersion_=0;this.ttlStorage_=new Map;this.lruStorage_=n3(zj(b,6,500),1E3*zj(b,7,43200));this.idTypes_=new Set(Ym(b,25))};nBc.prototype.load=function(a,b){var c;return null!=(c=this.resultFactory_.create(a,b))?c:null};
var i4=function(a,b){return a.ttlStorage_.get(b)||a.lruStorage_.get(b)||null};g=nBc.prototype;g.getExpiry=function(){return this.expiry_};g.getAffinityVersion=function(){return this.affinityVersion_};g.markAsFresh=function(a){this.affinityVersion_=a.getAffinityVersion();a.hasTimestamp()?this.expiry_.setTimestamp(a.getTimestamp()):this.expiry_.markAsFresh();this.lruStorage_.compact()};g.markAsStale=function(){this.expiry_.markAsStale()};
g.flush=function(){this.ttlStorage_.clear();this.lruStorage_.clear();this.affinityVersion_=0;this.expiry_.timestamp_=0};g.storeItems=function(a,b,c,d){c=void 0===c?!1:c;if(d=void 0===d?"":d){var e=b.findIndex(function(h){return String(h.id)===d});if(0<e){var f=b[e];b.splice(e,1);b.unshift(f)}}c&&b.reverse();b=m(b);for(e=b.next();!e.done;e=b.next())this.store_(a,e.value,c,d)};
g.store_=function(a,b,c,d){if(!this.idTypes_.size||!xuc.includes(b.id.getType())||this.idTypes_.has(b.id.getType())){var e=!1,f=String(b.id),h=(b.containerIds||[]).map(String),l=oBc(this,a,f);pBc(this,a,f,b,c)&&(l(f,b),e=!0);h=m(h);for(var q=h.next();!q.done;q=h.next())q=q.value,pBc(this,a,q,b,c)&&(l(q,b),e=!0);b.isMe&&(h=String(zuc),pBc(this,a,h,b,c)&&(l(h,b),e=!0));d&&f!==d&&pBc(this,a,d,b,c)&&(l(d,b),e=!0);e&&!b.target&&this.targetFactory_.processItem(b)}};
var pBc=function(a,b,c,d,e){var f=i4(a,c);if(!f)return!0;1===b&&a.lruStorage_.has(c)&&(b=a.lruStorage_.get(c),a.ttlStorage_.set(c,b),a.lruStorage_.delete(c));return e&&(f.id.equals(d.id)||String(f.id)!==c)?!0:f.id.equals(d.id)?Fcb(d)&&!Fcb(f)||qBc(a,f)<qBc(a,d)||Ecb(d)<Ecb(f)||18===d.id.getType()&&18===f.id.getType()?!0:!1:String(d.id)===c},qBc=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},oBc=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 rBc=function(a){this.qos=a};rBc.prototype.getIndex=function(){return String(this.qos)};var sBc=new rBc(1),tBc=new rBc(2);var uBc=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},wBc=function(a){if(a.isCompleted_)return Promise.resolve(d3(new tt,!1).setProvenance(5).setCode(0));a.pendingRequest_||(a.pendingRequest_=(new Promise(function(b,c){vBc(a,a.requestId_,function(d){a.isCompleted_=!0;b(d)},function(d){c(d)})})).finally(function(){a.pendingRequest_=null}));return a.pendingRequest_};
uBc.prototype.flush=function(){this.requestId_++;this.contacts_=[];this.totalItems_=0;this.nextPageToken_="";this.pendingRequest_=null;this.isCompleted_=!1};
var vBc=function(a,b,c,d){a.loader_.loadContactItems(a.nextPageToken_,tBc).then(function(e){if(b!==a.requestId_)d(d3(new tt,!0).setProvenance(5).setCode(1));else{var f=e.metadata;a.totalItems_=f.getTotalItems();a.nextPageToken_=f.getNextPageToken();Array.prototype.push.apply(a.contacts_,e.ids);a.storage_.storeItems(1,e.data);a.nextPageToken_?vBc(a,b,c,d):(a.totalItems_=a.contacts_.length,c(d3(new tt,!0).setProvenance(5).setCode(0)))}},function(e){e=isFinite(e)?e:13;d(d3(new tt,!0).setProvenance(5).setCode(e))})};
uBc.prototype.list=function(a,b,c,d,e){var f=this,h=e.getFilter();h&&h.reset("");var l=function(){return{results:f.contacts_.slice(a,b).map(function(q){return f.storage_.load(String(q),c)}).filter(function(q){return q&&(!h||h.filterResult(q))}),begin:a,end:b,totalItems:f.totalItems_}};this.contacts_.length>=b?d(l(),d3(new tt,!1).setProvenance(5).setCode(0)):wBc(this).then(function(q){d(l(),q)},function(q){q instanceof tt||(q=(new tt).setCode(13));d({results:[],begin:a,end:b,totalItems:0},q)})};var Icb=function(a,b){this.delegate_=a;this.displayValue_=b};W(Icb,kBc);Icb.prototype.getDisplayValue=function(){return this.displayValue_};var Gcb=function(a,b){this.delegate_=a;this.targets_=b};W(Gcb,a2);Gcb.prototype.getTargetList=function(){return this.targets_};var xBc=function(a,b,c,d){this.format=b;this.listener=c;this.options=d;this.callbackNumber=0;this.hasErrorCode=!1;this.remainingIds=new Map(a.map(function(e){return[String(e),e]}))};g=xBc.prototype;g.isCancelled=function(){return!1};g.getFormat=function(){return this.format};g.getOptions=function(){return this.options};g.queryScope=function(){return this.options.getQueryScope()};g.getResultFilter=function(){return this.options.getFilter()};g.isDone=function(){return 0===this.remainingIds.size};
var r3=function(a){return Array.from(a.remainingIds.values())};xBc.prototype.hasError=function(){return this.hasErrorCode};
xBc.prototype.notify=function(a,b,c){if(a.size||b.length||this.isDone()||Kcb(c.getCode())){a=Jcb(a,this.options);for(var d=m(a.keys()),e=d.next();!e.done;e=d.next())this.remainingIds.delete(String(e.value));d=m(b);for(e=d.next();!e.done;e=d.next())this.remainingIds.delete(String(e.value));Kcb(c.getCode())&&(this.hasErrorCode=!0);e=(new Eyc).setCallbackNumber(this.callbackNumber).setIsFirstCallback(0===this.callbackNumber).setIsLastCallback(this.isDone()).setCode(c.getCode());e.notFoundIdList_=b;b=
new Fyc(a,e);this.callbackNumber++;this.listener(b,c)}};var yBc=function(a,b){this.stages=a;this.indexer=b};yBc.prototype.flush=function(){this.indexer.flush()};
yBc.prototype.lookup=function(a,b,c,d){var e=this,f,h,l,q,u,x;return of(function(y){switch(y.nextAddress){case 1:null==(f=d.getFilter())||f.reset(""),h=new xBc(a,b,c,d),l=new Set,1!==h.queryScope()&&2!==h.queryScope()||l.add(2),3===h.queryScope()&&l.add(1),q=m(e.stages),u=q.next();case 2:if(u.done){y.jumpTo(4);break}x=u.value;if(h.isDone()||h.isCancelled()){y.jumpTo(4);break}if(l.has(x.getStageType())){y.jumpTo(3);break}return y.yield(x.lookup(h),3);case 3:u=q.next();y.jumpTo(2);break;case 4:if(!h.isDone()){if(0===
h.queryScope()&&!h.hasError()){var G=e.indexer,L=r3(h);L=m(L);for(var M=L.next();!M.done;M=L.next())M=String(M.value),G.notFoundIds.set(M,M)}h.notify(new Map,r3(h),d3((new tt).setProvenance(10),!1).setCode(0))}e.indexer.compact();return y.return()}})};var zBc=function(a,b){this.delegate_=a;this.name_=b};W(zBc,kBc);zBc.prototype.getName=function(){return this.name_};var j4=function(){};j4.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 Vr(new Gcb(a,c))};j4.prototype.reset=function(){};var Lcb=function(a){this.types_=a};W(Lcb,j4);Lcb.prototype.shouldRemove=function(a){return!this.types_.includes(a.getTargetType())};Lcb.prototype.reset=function(){};var Ncb=function(a){this.sourceIds_=a.filter(function(b){return Fbb.includes(b.getType())}).map(String);this.targetIds_=a.filter(function(b){return xuc.includes(b.getType())}).map(String)};W(Ncb,j4);Ncb.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 Pcb=function(a){this.filters_=a};Pcb.prototype.filterResult=function(a){for(var b=m(this.filters_),c=b.next();!c.done;c=b.next())if(a=c.value.filterResult(a),!a)return null;return a};Pcb.prototype.reset=function(a){for(var b=m(this.filters_),c=b.next();!c.done;c=b.next())c.value.reset(a)};var ABc=Qcb();var BBc=function(){};BBc.prototype.createFromQuery=function(a){var b=a.getPrefix();if(0!==a.getCollector().resultCount()||!a.isEmailAddress())return null;b=Ts(Vs(b)).setValue(b).setDataSource(3);b=D9a(b.getResultType(),[b],null);return(a=a.getResultFilter())?a.filterResult(b):b};BBc.prototype.createFromLookupId=function(a){if(1!==a.getType()||!quc(a.getValue()))return null;a=Ts(a).setValue(a.getOriginalValue()).setDataSource(3);return D9a(a.getResultType(),[a],null)};var CBc=function(){};CBc.prototype.createFromQuery=function(){return null};CBc.prototype.createFromLookupId=function(){return null};var DBc=new CBc;var EBc=function(a,b){this.storage=a;a=b.getClient();this.placeholderFactory=Tl(a,21,!1)?new BBc:DBc;this.notFoundIds=n3(zj(a,10,500),1E3*pl(a,11,600))};g=EBc.prototype;g.compact=function(){this.notFoundIds.compact()};g.flush=function(){this.notFoundIds.clear()};g.store=function(a,b,c,d){if(!Tl(c,5))for(k(c,5,!0),b=m(b),c=b.next();!c.done;c=b.next()){var e=m(c.value);c=e.next().value;e=e.next().value;c=String(Ss(a,String(c)));this.storeItems(e,d,c)}};
g.storeItems=function(a,b,c){this.storage.storeItems(2,a,b,c)};g.load=function(a,b,c,d,e){b=this.storage.load(String(a),b);e&&b&&(b=Ocb(a).filterResult(b));d&&!b&&(b=this.placeholderFactory.createFromLookupId(a));return b?c?c.filterResult(b):b:null};var FBc={ids:[],cacheKey:"",primingTimeoutMillis:0};var GBc=function(){};GBc.prototype.loadOrSkip=function(){return null};GBc.prototype.resultCount=function(){return 0};GBc.prototype.isDone=function(){return!0};var HBc=new GBc;var IBc=function(){this.prefix_="";this.terms_=[];this.format_=0;this.collector_=HBc;this.boostKey_=FBc;this.listener_=function(){}};g=IBc.prototype;g.getPrefix=function(){return this.prefix_};g.getTerms=function(){return this.terms_};g.getFormat=function(){return this.format_};g.getCollector=function(){return this.collector_};g.getBoostKey=function(){return this.boostKey_};g.getListener=function(){return this.listener_};g.isDone=function(){return!0};g.isCancelled=function(){return!0};
g.isSuggestQuery=function(){return!0};g.isEmailAddress=function(){return!1};g.queryScope=function(){return 0};g.getResultFilter=function(){return null};var JBc=new IBc;var KBc=function(){this.fetchDone_=Promise.resolve((new tt).setCode(0))};g=KBc.prototype;g.getCacheType=function(){return 0};g.flush=function(){};g.fetch=function(){return this.fetchDone_};g.index=function(){};g.search=function(){return[]};var LBc=new KBc;var MBc=function(a){a=Array.from(new Set(a));this.primary_=a.find(function(b){return 1===b.getCacheType()})||LBc;this.prefetched_=a.filter(function(b){return 2===b.getCacheType()||1===b.getCacheType()});this.lazyLoaded_=a.filter(function(b){return 3===b.getCacheType()})};
MBc.prototype.prefetch=function(a){var b=this,c,d,e,f,h;return of(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=m(b.lazyLoaded_);for(e=d.next();!e.done;e=d.next())f=e.value,f.flush();h=b.prefetched_.filter(function(q){return q!==b.primary_}).map(function(q){q.flush();return q.fetch(a)});return h.length?l.yield(Promise.all(h),3):l.jumpTo(3)}return l.return(c)})};
MBc.prototype.warmUpSession=function(a){var b=this;if(1===a.queryScope())return Promise.resolve([(new tt).setProvenance(2).setCode(1)]);var c=this.prefetched_.filter(function(d){return d!==b.primary_});2!==a.queryScope()&&c.push.apply(c,r(this.lazyLoaded_));return Promise.all(c.map(function(d){return d.fetch(a)}))};
var NBc=function(a){var b=[a.primary_].concat(r(a.prefetched_.filter(function(d){return d!==a.primary_})),r(a.lazyLoaded_)).reverse();b=m(b);for(var c=b.next();!c.done;c=b.next())c.value.flush()},OBc=function(a,b){var c=[];a=m(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,r(d.search(b)))}return c},QBc=function(a,b,c){var d,e,f,h;return of(function(l){if(1==l.nextAddress){if(2===b.queryScope())return l.return();d=a.lazyLoaded_[a.lazyLoaded_.length-
1];e=m(a.lazyLoaded_);f=e.next()}if(3!=l.nextAddress){if(f.done)return l.jumpTo(0);h=f.value;return b.isDone()||b.isCancelled()?l.return():l.yield(PBc(h,b,c,d===h),3)}f=e.next();return l.jumpTo(2)})},PBc=function(a,b,c,d){var e,f;return of(function(h){if(1==h.nextAddress)return 1===b.queryScope()?(e=d3((new tt).setProvenance(6).setCode(0),!1),h.jumpTo(2)):h.yield(a.fetch(b),3);2!=h.nextAddress&&(e=h.yieldResult);if(b.isCancelled())return h.return();f=a.search(b);c(f,e,d);tf(h)})};var RBc=function(a,b,c,d,e,f){this.clientInfo_=a.getClient();this.trackers_=b;this.storage_=f;this.lookupCache_=d;this.listCache_=e;this.prefixSearch_=c;this.sessionWarming_=this.cacheWarming_=null};g=RBc.prototype;g.getLastUpdatedTimestamp=function(){return this.storage_.getExpiry().getTimestamp()};g.getAffinityVersion=function(){return this.storage_.getAffinityVersion()};
g.warmUpCache=function(){k4(this,JBc);return this.cacheWarming_&&this.storage_.getExpiry().isExpired()?this.cacheWarming_:Promise.resolve(g3(f3((new e3).setSource(d3(new tt,!1).setProvenance(1).setCode(0)),l4(this)),l4(this)))};g.flushCache=function(a){switch(a){case 2:return SBc(this),Promise.resolve(new e3);case 1:return this.storage_.markAsStale(),Promise.resolve(new e3);default:return this.warmUpCache()}};
g.warmUpSession=function(a){var b=this,c,d,e,f,h;return of(function(l){switch(l.nextAddress){case 1:c=f3(new e3,l4(b));k4(b,a);if(!b.cacheWarming_){l.jumpTo(2);break}return l.yield(b.cacheWarming_,2);case 2:return pf(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 tt).setProvenance(2).setCode(0),l.return(g3(c.setSource(e),l4(b)));case 5:qf(l);b.sessionWarming_=
null;rf(l,0);break;case 4:return f=sf(l),h=f instanceof tt?f:(new tt).setProvenance(2).setCode(13),l.return(Promise.reject(g3(c.setSource(h),l4(b))))}})};
g.search=function(a){var b=this,c,d,e,f,h;return of(function(l){switch(l.nextAddress){case 1:TBc(b);pf(l,2);d=l4(b);k4(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=g3(f3((new e3).setSource(d3(new tt,!1).setProvenance(1).setCode(0)),d),l4(b)),
k4(b,a)),l.yield(UBc(b,a,c),10);case 10:au(l,0);break;case 2:f=sf(l);if(a.isCancelled())return l.return();f instanceof e3?c=f:(h=f instanceof tt?f:(new tt).setCode(13),g3(c.setSource(h),l4(b)));a.getListener()(new i3([],(new h3).setQuery(a.getPrefix()).setIsLastCallback(!0).setCacheState(c).setCode(c.getSource().getCode())));tf(l)}})};
var UBc=function(a,b,c){var d,e,f,h;return of(function(l){if(1==l.nextAddress){if(b.isCancelled())return l.return();d=OBc(a.prefixSearch_,b);e=(new h3).setIsLastCallback(b.isSuggestQuery()).setQuery(b.getPrefix()).setCode(c.getSource().getCode()).setCacheState(c);b.getListener()(new i3(d,e));if(e.getIsLastCallback())return l.return();f=!1;return l.yield(QBc(a.prefixSearch_,b,function(q,u,x){u=(new h3).setIsLastCallback(x).setQuery(b.getPrefix()).setCode(u.getCode()).setCacheState(g3(f3((new e3).setSource(u),
qt(c,2)),l4(a)));b.getListener()(new i3(q,u));u.getIsLastCallback()&&(f=!0)}),2)}f||b.isCancelled()||(h=(new h3).setIsLastCallback(!0).setQuery(b.getPrefix()).setCode(0).setCacheState(g3(f3((new e3).setSource((new tt).setProvenance(10).setCode(0)),qt(c,2)),l4(a))),b.getListener()(new i3([],h)));tf(l)})};
RBc.prototype.lookup=function(a,b,c){var d=this;TBc(this);k4(this,JBc);var e=f3(new e3,l4(this));this.lookupCache_.lookup(a,tk(this.clientInfo_,17,1),function(f,h){e.setSource(h);g3(e,l4(d));f.getMetadata().setCacheState(e);b(f)},c)};
RBc.prototype.list=function(a,b,c,d){var e=this;k4(this,JBc);var f=f3(new e3,l4(this));this.listCache_.list(a,b,tk(this.clientInfo_,18,1),function(h,l){var q=h.results;var u=new Byc;u=k(u,1,h.begin);c(new Cyc(q,u.setEnd(h.end).setTotalItems(h.totalItems).setCode(l.getCode()).setCacheState(g3(f.setSource(l),l4(e)))))},d)};
var k4=function(a,b){if(a.storage_.getExpiry().isStale()&&(a.storage_.getExpiry().isExpired()&&a.storage_.getExpiry().getTimestamp()&&SBc(a),!a.cacheWarming_)){var c=l4(a);a.cacheWarming_=new Promise(function(d,e){var f,h,l,q;return of(function(u){switch(u.nextAddress){case 1:return f=f3(new e3,c),pf(u,2,3),u.yield(a.prefixSearch_.prefetch(b),5);case 5:h=u.yieldResult,g3(f,l4(a)).setSource(h),d(f);case 3:qf(u);a.cacheWarming_=null;rf(u,0);break;case 2:l=sf(u),q=l instanceof tt?l:(new tt).setCode(13),
g3(f,l4(a)).setSource(q),e(f),u.jumpTo(3)}})})}},l4=function(a){return a.storage_.getExpiry().getStatus()},SBc=function(a){NBc(a.prefixSearch_);a.lookupCache_.flush();a.listCache_.flush();a.storage_.flush()},TBc=function(a){var b=1===l4(a)?1:2;a.trackers_.count(b).increment()};var VBc=function(a){this.itemResolver_=a},WBc=function(a,b,c){c=void 0===c?[]:c;var d=b.target,e=d.getName();e&&(c.push(e.getDisplayName()),c.push(e.getGivenName()),c.push(e.getFamilyName()));if(e=d.getDisplayValue())switch(d.getTargetType()){case 2:case 7:var f=c.push,h=f.apply,l=e.split(Hyc).filter(Boolean),q=l.length-1;if(0<q){var u=l.join("-"),x=l.join(".");l.push(u);for(l.push(x);0<q;q--)l[q-1]+=l[q]}l.push(e);l.push(e.replace(sbb,""));"+"===e[0]&&l.push("+"+l[0]);h.call(f,c,r(l));break;default:c.push(e)}if(!c.length&&
b.memberKeys&&b.memberKeys.length&&10!==d.getTargetType())for(b=m(b.memberKeys),d=b.next();!d.done;d=b.next())(d=i4(a.itemResolver_,d.value))&&WBc(a,d,c);return c};var XBc=new Dyc,YBc=function(a,b,c){this.itemResolver_=a;this.lookupCache_=b;this.trackers_=c;this.indexer_=new VBc(a);this.trieRoots_=new Map},dBc=function(a,b,c,d){var e=(a.trieRoots_.get(c)||l3).cloneNode(b);if(b.isDone())return a.trackers_.count(120).increment(),Promise.resolve(e);var f=a.trackers_.latency(95);f.start();var h=new Promise(function(l){var q=aBc(b).map(Auc);a.lookupCache_.lookup(q,c,function(u){var x=Array.from(u.getResults().keys(),String);x=ZBc(a,x);Array.prototype.push.apply(e.items_,
x);Jyc(e);u.getMetadata().getIsLastCallback()&&(f.stop(),l(e))},XBc)});return Scb(h,e,d)},q3=function(a,b){a=ZBc(a,b);return new k3(a)},ZBc=function(a,b){var c=[];b=m(b);for(var d=b.next();!d.done;d=b.next()){d=d.value;var e=i4(a.itemResolver_,d);e&&(e=WBc(a.indexer_,e),c.push(new Iyc(d,e)))}return c};var $Bc=function(){this.queryId_=0};$Bc.prototype.getQueryId=function(){return this.queryId_};var aCc=function(a){this.delegate=a};g=aCc.prototype;g.getLastUpdatedTimestamp=function(){return this.delegate.getLastUpdatedTimestamp()};g.getAffinityVersion=function(){return this.delegate.getAffinityVersion()};g.warmUpCache=function(){return this.delegate.warmUpCache()};g.flushCache=function(a){return this.delegate.flushCache(a)};g.warmUpSession=function(a){var b=this;return of(function(c){return c.return(b.delegate.warmUpSession(a))})};g.search=function(a){var b=this;return of(function(c){return c.return(b.delegate.search(a))})};
g.lookup=function(a,b,c){this.delegate.lookup(a,b,c)};g.list=function(a,b,c,d){this.delegate.list(a,b,c,d)};var bCc=function(){this.delegate=ABc};bCc.prototype.filterResult=function(a){return this.delegate.filterResult(a)};bCc.prototype.reset=function(a){this.delegate.reset(a)};var cCc=function(a,b){a.delegate=null!=b?b:ABc};var dCc=function(a){this.delegate=a};g=dCc.prototype;g.getPrefix=function(){return this.delegate.getPrefix()};g.getTerms=function(){return this.delegate.getTerms()};g.getFormat=function(){return this.delegate.getFormat()};g.getCollector=function(){return this.delegate.getCollector()};g.getBoostKey=function(){return this.delegate.getBoostKey()};g.getListener=function(){return this.delegate.getListener()};g.isDone=function(){return this.delegate.isDone()};g.isCancelled=function(){return this.delegate.isCancelled()};
g.isSuggestQuery=function(){return this.delegate.isSuggestQuery()};g.isEmailAddress=function(){return this.delegate.isEmailAddress()};g.queryScope=function(){return this.delegate.queryScope()};g.getResultFilter=function(){return this.delegate.getResultFilter()};var m4=function(a,b){this.delegate_=a;this.limit_=b;this.count_=0};m4.prototype.loadOrSkip=function(a){a=this.delegate_.loadOrSkip(a);if(!a)return null;this.count_++;return a};m4.prototype.resultCount=function(){return this.count_};m4.prototype.isDone=function(){return this.count_>=this.limit_||this.delegate_.isDone()};var eCc=function(a,b,c,d){this.delegate=a;var e=this;this.isLastSlot=d;d=a.getCollector();0<c.limit&&(d=new m4(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?Qcb.apply(null,r(d)):null;var f;this.scope=null!=(f=c.scope)?f:a.queryScope()};W(eCc,dCc);g=eCc.prototype;g.getCollector=function(){return this.collector};
g.getListener=function(){return this.listener};g.isDone=function(){return this.collector.isDone()};g.getResultFilter=function(){return this.resultFilter};g.queryScope=function(){return this.scope};var fCc=function(a,b,c,d){this.delegate=a;this.slots=b;this.filterInterceptor=c;this.originalFilter=d};W(fCc,aCc);
fCc.prototype.search=function(a){var b=this,c,d,e,f,h,l;return of(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(u){return!c.has(u.visibility)}),e=d.map(function(u,x){return new eCc(a,b.originalFilter,u,x===d.length-1)}),f=m(e),h=f.next();case 2:if(h.done){q.jumpTo(4);break}l=h.value;if(a.isCancelled()||a.isDone()){q.jumpTo(4);break}cCc(b.filterInterceptor,l.getResultFilter());return q.yield(b.delegate.search(l),
3);case 3:h=f.next();q.jumpTo(2);break;case 4:return q.return()}})};var n4=function(a,b,c){this.delegate=a;var d=this;this.query_=b;this.terms_=vbb([b]);this.id_=Vs(b);this.listener_=function(e){var f=e.getResults().map(function(h){if(d.id_.equals(h.getPrimaryTarget().getId())&&h.getDisplayName()!==c){var l=(new Kbb).setDisplayName(c),q=h.getPrimaryTarget();h=Hcb(h,new zBc(q,l))}return h});e=new i3(f,e.getMetadata());a.getListener()(e)}};W(n4,dCc);n4.prototype.getPrefix=function(){return this.query_};n4.prototype.getTerms=function(){return this.terms_};
n4.prototype.getListener=function(){return this.listener_};var gCc=function(a,b,c){this.cache_=a;this.queryFactory_=b;this.querySession_=new $Bc;this.clientInfo_=c};g=gCc.prototype;g.warmUpSession=function(a){a=hCc(this.queryFactory_,"",this.querySession_,a,function(){});return this.cache_.warmUpSession(a)};g.suggest=function(a,b){a=hCc(this.queryFactory_,"",this.querySession_,b,a);this.cache_.search(a)};
g.search=function(a,b,c){a=hCc(this.queryFactory_,a,this.querySession_,c,b);Tl(this.clientInfo_,28,!1)&&(b=a.getPrefix(),b.includes("<")&&(c=ouc(b),c.isValid()||(c=ouc(b+">")),a=c.isValid()&&c.getName()?new n4(a,c.getAddress(),c.getName()):a));this.cache_.search(a)};g.cancel=function(){++this.querySession_.queryId_};g.getLastUpdatedTimestamp=function(){return this.cache_.getLastUpdatedTimestamp()};g.getAffinityVersion=function(){return this.cache_.getAffinityVersion()};
g.getReporter=function(){throw Error("Ya");};g.getSessionState=function(){throw Error("Ya");};g.getHide=function(){throw Error("Ya");};var iCc=function(a,b,c){var d=this;this.cache_=a;this.queryFactory_=b;this.clientInfo_=c;this.getSessionCache_=Tl(c,34,!1)?function(e){var f=d.cache_,h=e.slots_;if(h.length){var l=e.getFilter(),q=new bCc;e.setFilter(q);e=new fCc(f,h,q,l)}else e=f;return e}:function(){return d.cache_}};g=iCc.prototype;g.warmUpCache=function(){return this.cache_.warmUpCache()};g.flushCache=function(a){this.cache_.flushCache(a)};g.lookup=function(a,b,c){this.cache_.lookup(a,b,c)};
g.list=function(a,b,c,d){this.cache_.list(a,b,c,d)};g.beginSession=function(a){a=this.getSessionCache_(a);return new gCc(a,this.queryFactory_,this.clientInfo_)};var jCc=function(a,b,c,d,e,f,h){this.delegate_=a;this.prefix_=b;this.terms_=c;this.collector_=d;this.boostKey_=e;this.filter_=h;this.listener_=Tcb(this,f);this.isEmailAddress_=null};g=jCc.prototype;g.getPrefix=function(){return this.prefix_};g.getTerms=function(){return this.terms_};g.getFormat=function(){return this.delegate_.getFormat()};g.getCollector=function(){return this.collector_};g.getBoostKey=function(){return this.boostKey_};g.getListener=function(){return this.listener_};g.isDone=function(){return this.collector_.isDone()};
g.isCancelled=function(){return this.delegate_.isCancelled()};g.isSuggestQuery=function(){return!this.prefix_};g.isEmailAddress=function(){null===this.isEmailAddress_&&(this.isEmailAddress_=quc(this.prefix_));return this.isEmailAddress_};g.queryScope=function(){return this.delegate_.queryScope()};g.getResultFilter=function(){return this.filter_};var kCc=function(a,b,c){this.format_=a;this.querySession_=b;this.queryScope_=c;this.id_=++this.querySession_.queryId_};kCc.prototype.getFormat=function(){return this.format_};kCc.prototype.isCancelled=function(){return this.querySession_.getQueryId()!==this.id_};kCc.prototype.queryScope=function(){return this.queryScope_};var o4=function(){this.foundKeys_=new Set};W(o4,j4);o4.prototype.shouldRemove=function(a){return this.foundKeys_.has(String(a.getId()))};o4.prototype.has=function(a){return this.foundKeys_.has(a)};o4.prototype.add=function(a){this.foundKeys_.add(a)};o4.prototype.reset=function(){this.foundKeys_.clear()};var lCc=function(a){this.delegate_=a;this.filter_=new o4};lCc.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=m(a.getTargetList()),c=b.next();!c.done;c=b.next())this.filter_.add(String(c.value.getId()));return a};lCc.prototype.resultCount=function(){return this.delegate_.resultCount()};lCc.prototype.isDone=function(){return this.delegate_.isDone()};var mCc=function(a,b,c){this.delegate_=a;this.filter_=b;this.filter_.reset(c)};mCc.prototype.loadOrSkip=function(a){a=this.delegate_.loadOrSkip(a);return a?(a=this.filter_.filterResult(a))&&a.getTargetList().length?a:null:null};mCc.prototype.resultCount=function(){return this.delegate_.resultCount()};mCc.prototype.isDone=function(){return this.delegate_.isDone()};var nCc=function(a,b){this.storage_=a;this.format_=b};nCc.prototype.loadOrSkip=function(a){return this.storage_.load(a,this.format_)||null};nCc.prototype.resultCount=function(){return 0};nCc.prototype.isDone=function(){return!1};var oCc=[198,230,306,307,338,339],pCc=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)"+kp(b),"g")})},Ucb=function(a,b){var c=[];if(!b||!a.matchers_.length)return c;var d=Rs(tbb(b)).replace(ubb,"").toUpperCase().toLowerCase(),e=d.indexOf("@");a=m(a.matchers_);for(var f=a.next();!f.done;f=a.next()){f=f.value;f.lastIndex=
0;for(var h=f.exec(d);h;h=f.exec(d)){h=h.index;if(0<=e&&h>e)break;c.push([h,f.lastIndex])}}c.sort(function(l,q){return l[0]-q[0]});for(e=c.length-1;0<e;e--)a=c[e-1],f=c[e],a[1]>=f[0]&&(a[1]=f[1],c.splice(e,1));if(c.length&&d.length!==b.length){d=[];e=[];for(a=0;a<b.length;a++)f=b.codePointAt(a),65535<f||768<=f&&879>=f?(d.push(a),a++):oCc.includes(f)&&e.push(a);b=m(c);for(a=b.next();!a.done;a=b.next()){a=a.value;f=m(d);for(h=f.next();!h.done;h=f.next())h=h.value,h<a[0]&&a[0]++,h<a[1]&&a[1]++;f=m(e);
for(h=f.next();!h.done;h=f.next())h=h.value,h<a[0]&&a[0]--,h<a[1]&&a[1]--}}return c};var kt=function(a,b){this.start_=a;this.end_=b};kt.prototype.getStart=function(){return this.start_};kt.prototype.getEnd=function(){return this.end_};var Vcb=function(a,b,c){this.displayNameMatches_=a;this.displayValueMatches_=b;this.givenNameMatches_=c};Vcb.prototype.getDisplayNameMatches=function(){return this.displayNameMatches_};Vcb.prototype.getDisplayValueMatches=function(){return this.displayValueMatches_};Vcb.prototype.getGivenNameMatches=function(){return this.givenNameMatches_};var p4=function(a,b){this.delegate_=a;this.matcher_=b;this.memberList_=a.getMemberList().map(function(c){return new p4(c,b)});this.matchInfo_=null};W(p4,a2);p4.prototype.getMemberList=function(){return this.memberList_};p4.prototype.getMatchInfo=function(){if(!this.matchInfo_){var a,b=(null==(a=this.getDelegate().getPrimaryTarget().getName())?void 0:a.getGivenName())||"";this.matchInfo_=Wcb(this.matcher_,this.getDelegate().getDisplayName(),this.getDelegate().getDisplayValue(),b)}return this.matchInfo_};var qCc=function(a,b){this.delegate_=a;this.matcher_=new pCc(b)};qCc.prototype.loadOrSkip=function(a){return(a=this.delegate_.loadOrSkip(a))?new p4(a,this.matcher_):null};qCc.prototype.resultCount=function(){return this.delegate_.resultCount()};qCc.prototype.isDone=function(){return this.delegate_.isDone()};var rCc=/\s+/g,sCc=function(a,b){this.clientInfo_=a;this.storage_=b},hCc=function(a,b,c,d,e){var f=vbb([b]);b=(b||"").replace(rCc," ").trim();var h=!f.length,l=h?tk(a.clientInfo_,15,1):tk(a.clientInfo_,16,1);h=h?zj(a.clientInfo_,1,10):zj(a.clientInfo_,2,10);var q=d.boostIds_;var u=d.primingTimeoutMillis_;if(q.length){q=q.map(String);var x=acb(q)+":"+q.length;u={ids:q,cacheKey:x,primingTimeoutMillis:u}}else u=FBc;q=d.getFilter();a=new nCc(a.storage_,l);q&&(a=new mCc(a,q,b));a=new lCc(a);a=new m4(a,
h);a=f.length?new qCc(a,f):a;d=d.getQueryScope();c=new kCc(l,c,d);return new jCc(c,b,f,a,u,e,q)};var tCc=function(a){this.fetcher=a};tCc.prototype.getStageType=function(){return 2};tCc.prototype.lookup=function(a){var b=this,c,d,e,f,h,l,q,u,x;return of(function(y){switch(y.nextAddress){case 1:c=Ycb(r3(a)),d=m(c),e=d.next();case 2:if(e.done){y.jumpTo(4);break}f=e.value;h=m(f);l=h.next().value;q=h.next().value;u=l;x=q;if(!u){y.jumpTo(3);break}return y.yield(b.fetcher.fetch(x,u,a.getFormat(),function(G,L){a.notify(G,[],L)},a.getOptions()),3);case 3:e=d.next();y.jumpTo(2);break;case 4:return y.return()}})};var uCc=function(a,b){this.delegate=a;this.maxLookupChunkSize=xzc(b)};uCc.prototype.fetch=function(a,b,c,d,e){var f=this,h,l,q;return of(function(u){switch(u.nextAddress){case 1:var x=f.maxLookupChunkSize;if(a.length)if(a.length<=x)x=[a];else{for(var y=[],G=0;G<a.length;G+=x){var L=a.slice(G,G+x);L.length&&y.push(L)}x=y}else x=[];h=m(x);l=h.next();case 2:if(l.done){u.jumpTo(4);break}q=l.value;return u.yield(f.delegate.fetch(q,b,c,d,e),3);case 3:l=h.next();u.jumpTo(2);break;case 4:return u.return()}})};var vCc=function(a,b,c){this.trackers=a;this.loader=b;this.indexer=c};
vCc.prototype.fetch=function(a,b,c,d,e){var f=this,h,l,q,u,x,y,G,L,M,T,S;return of(function(X){switch(X.nextAddress){case 1:return h=3===b?4:3,l=d3((new tt).setProvenance(h),!0).setCode(0),pf(X,2),X.yield(f.loader.loadLookupItems(b,a.map(function(aa){return aa.getOriginalValue()}),tBc),4);case 4:q=X.yieldResult;q.metadata.getCode()&&l.setCode(q.metadata.getCode());u=3===e.getQueryScope();try{f.indexer.store(b,q.data,q.metadata,u)}catch(aa){f.trackers.error(21,10).report(),l.setCode(13)}au(X,3);break;
case 2:x=sf(X),y=Number(x),l.setCode(isFinite(y)&&y?y:13);case 3:G=new Map;L=m(a);for(M=L.next();!M.done;M=L.next())T=M.value,(S=f.indexer.load(T,c,e.getFilter(),!0,e.useOriginalDisplayValue_))&&G.set(T,S);d(G,l);return X.return()}})};var wCc=function(a){this.indexer=a};wCc.prototype.getStageType=function(){return 1};
wCc.prototype.lookup=function(a){var b=this,c,d,e,f,h,l;return of(function(q){c=new Map;d=[];e=m(r3(a));for(f=e.next();!f.done;f=e.next())if(h=f.value,l=b.indexer.load(h,a.getFormat(),a.getResultFilter(),!1,a.getOptions().useOriginalDisplayValue_))c.set(h,l);else{var u=b.indexer;a:switch(h.getType()){case 1:case 6:var x=quc(h.getValue().trim());break a;case 2:case 7:x=h.getValue().replace(ruc,"");x=3<=x.length&&"0"<=x[0]&&"9">=x[0];break a;default:x=!0}(x?u.notFoundIds.get(String(h)):1)&&d.push(h)}a.notify(c,
d,d3((new tt).setProvenance(6),!1).setCode(0));return q.return()})};var xCc=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"),yCc=function(a,b,c,d,e){this.loader_=a;this.ranker_=b;this.trieFactory_=c;this.storage_=d;this.placeholderFactory_=Tl(e,21,!1)?new BBc:DBc;this.indexes_=n3(zj(e,8,250),1E3*pl(e,9,3600));this.notFound_=n3(zj(e,10,500),1E3*pl(e,11,600))};g=yCc.prototype;g.getCacheType=function(){return 3};
g.flush=function(){this.indexes_.clear();this.notFound_.clear()};
g.fetch=function(a){var b=this,c,d,e;return of(function(f){switch(f.nextAddress){case 1:c=d3(new tt,!0).setProvenance(2).setCode(0);if(a.isSuggestQuery())return b.loader_.warmUpServer(sBc).catch(function(){}),f.return(c);if(b.canSkipFetch_(a))return f.return(d3(c,!1));pf(f,2);return f.yield(b.loader_.loadAutocompleteItems(a,tBc),4);case 4:d=f.yieldResult;au(f,3);break;case 2:return e=sf(f),f.return(c.setCode(isFinite(e)?e:13));case 3:try{b.index(a,d.data,d.metadata)}catch(h){return f.return(c.setCode(13))}return f.return(c)}})};
g.search=function(a){return a.isSuggestQuery()?[]:this.indexes_.has(a.getPrefix())?this.indexes_.get(a.getPrefix()).search([]).getMatches(a.getCollector()):(a=this.placeholderFactory_.createFromQuery(a))?[a]:[]};g.index=function(a,b,c){if(!Tl(c,5))if(k(c,5,!0),b.length){c=p3(this.ranker_,b,1);var d=3===a.queryScope();this.storage_.storeItems(1,b,d);b=q3(this.trieFactory_,c);this.indexes_.set(a.getPrefix(),b)}else this.notFound_.set(a.getPrefix(),a.getPrefix())};
g.canSkipFetch_=function(a){if(3===a.queryScope())return!1;var b=a.getPrefix();if(this.indexes_.has(b)||this.notFound_.has(b))return!0;if(a.isEmailAddress())return!1;for(a=b.length-1;0<a;a--){var c=b.substr(0,a);if(c.match(xCc))break;if(this.notFound_.has(c))return!0}return!1};var zCc=function(a,b,c,d,e){this.loader_=a;this.ranker_=b;this.trieFactory_=c;this.storage_=d;this.coalescedSortOrder_=e;this.indexes_=new Map;this.trieFactory_.trieRoots_=this.indexes_};g=zCc.prototype;g.getCacheType=function(){return 1};g.flush=function(){this.indexes_.clear()};
g.fetch=function(a){var b=this,c,d,e,f;return of(function(h){switch(h.nextAddress){case 1:return c=d3(new tt,!0).setProvenance(1).setCode(0),d=b.storage_.getExpiry().isExpired()?tBc:sBc,pf(h,2),h.yield(b.loader_.loadRankedItems(d),4);case 4:e=h.yieldResult;au(h,3);break;case 2:return f=sf(h),h.return(c.setCode(isFinite(f)?f:13));case 3:try{b.index(a,e.data,e.metadata)}catch(l){c.setCode(13)}return h.return(c)}})};
g.search=function(a){return a.isSuggestQuery()||a.getTerms().length?(this.indexes_.get(a.getFormat())||l3).search(a.getTerms()).getMatches(a.getCollector()):[]};g.index=function(a,b,c){if(!Tl(c,5)){k(c,5,!0);a=1!==this.coalescedSortOrder_?p3(this.ranker_,b,this.coalescedSortOrder_):null;var d=p3(this.ranker_,b,1);this.storage_.flush();this.storage_.storeItems(1,b);this.storage_.markAsFresh(c);b=q3(this.trieFactory_,d);c=a?q3(this.trieFactory_,a):b;this.indexes_.set(1,b);this.indexes_.set(2,c)}};var ACc=new s3(27,32,33),BCc=new s3(24,23,20);var CCc=function(){};CCc.prototype.configure=function(a){var b=a.trackers,c=a.storage,d=a.indexer,e=a.loader,f=a.trieFactory,h=a.prefixCaches,l=a.lookupStages,q=a.loaderFactory.ranker_,u=a.clientConfig.getClient();if(0<u.getCacheSize()){var x=tk(u,19,1);x=new zCc(e,q,f,c,x);x=new t3(x,b,BCc);h.push(x);l.push(new wCc(d))}0<zj(u,2,10)&&(c=new yCc(e,q,f,c,u),b=new t3(c,b,ACc),h.push(b));h=new vCc(a.trackers,a.loader,a.indexer);h=new uCc(h,a.clientConfig);l.push(new tCc(h))};var DCc=function(a){this.delegate=a};g=DCc.prototype;g.warmUpSession=function(a){return this.delegate.warmUpSession(a)};g.suggest=function(a,b){this.delegate.suggest(a,b)};g.search=function(a,b,c){this.delegate.search(a,b,c)};g.cancel=function(){this.delegate.cancel()};g.getLastUpdatedTimestamp=function(){return this.delegate.getLastUpdatedTimestamp()};g.getAffinityVersion=function(){return this.delegate.getAffinityVersion()};g.getReporter=function(a){return this.delegate.getReporter(a)};
g.getSessionState=function(){return this.delegate.getSessionState()};g.getHide=function(){return this.delegate.getHide()};var ECc=function(a){this.delegate=a};g=ECc.prototype;g.warmUpCache=function(){return this.delegate.warmUpCache()};g.flushCache=function(a){this.delegate.flushCache(a)};g.lookup=function(a,b,c){this.delegate.lookup(a,b,c)};g.list=function(a,b,c,d){this.delegate.list(a,b,c,d)};g.beginSession=function(a){return this.delegate.beginSession(a)};var FCc=function(a,b,c){this.idType_=a;this.id_=b;this.options_=c};FCc.prototype.getId=function(){return this.id_};FCc.prototype.getIndex=function(){return this.getId()+":"+this.idType_+":"+this.options_.getIndex()};var GCc=function(a,b,c){this.idType_=a;this.ids_=b;this.options_=c};g=GCc.prototype;g.getIds=function(){return this.ids_};g.getIdType=function(){return this.idType_};g.getOptions=function(){return this.options_};
g.getKeys=function(){var a=this;return this.getIds().map(function(b){return new FCc(a.getIdType(),b,a.getOptions())})};g.setIds=function(a){this.ids_=a;return this};g.setIdType=function(a){this.idType_=a};g.setOptions=function(a){this.options_=a};g.clone=function(){var a=this.getIdType(),b=this.getIds(),c=this.getOptions();return new GCc(a,b,c)};var q4=function(a,b){this.ids_=new Set(b.getIds());this.parameters_=b.clone();this.loader_=a;this.resolver_=new Kvc;this.isSent_=!1};q4.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)}};q4.prototype.promise=function(){return this.resolver_.promise};
q4.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=m(a.getIds());for(b=a.next();!b.done;b=a.next())this.ids_.add(b.value);return!0};var HCc=function(a,b,c){this.delegate_=a;this.batchedRequest_=null;this.tracker_=b;this.maxRequestSize_=xzc(c);this.lastRequestCreationTime_=0};
HCc.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 q4(this.delegate_,a);a=Date.now();var d=a-this.lastRequestCreationTime_;this.lastRequestCreationTime_=a;Zp(function(){c===b.batchedRequest_&&(c.send(),b.batchedRequest_=null)},30<d?0:30)}return this.batchedRequest_.promise()};var ICc=function(a,b){this.delegate_=a;this.inflightRequests_=Lyc();this.tracker_=b};
ICc.prototype.load=function(a){for(var b=this,c=new Set,d=[],e=m(a.getKeys()),f=e.next();!f.done;f=e.next()){f=f.value;var h=f.getIndex();this.inflightRequests_.has(h)?c.add(this.inflightRequests_.get(h)):d.push(f.getId())}d.length===a.getKeys().length?this.tracker_.count(93).increment():d.length?this.tracker_.count(92).increment():this.tracker_.count(91).increment();if(d.length){var l=a.clone().setIds(d);var q=new q4(this.delegate_,l);q.send();c.add(q);a=m(l.getKeys());for(f=a.next();!f.done;f=a.next())this.inflightRequests_.set(f.value.getIndex(),
q);q.promise().catch(function(){}).finally(function(){for(var u=m(l.getKeys()),x=u.next();!x.done;x=u.next())b.inflightRequests_.delete(x.value.getIndex())})}c=Array.from(c);return Promise.all(c.map(function(u){return u.promise()})).then(function(u){return q?q.promise().then(function(x){return Zcb(u,x.metadata)}):Zcb(u)})};var JCc=function(a){this.peopleLoader_=a};JCc.prototype.load=function(a){return this.peopleLoader_.loadLookupItems(a.getIdType(),a.getIds(),a.getOptions())};var KCc=function(a,b,c){this.peopleLoader_=a;this.gatedLoaders_=new Map;this.tracker_=b;this.clientConfig_=c};KCc.prototype.load=function(a){if(!this.gatedLoaders_.has(a.getIdType())){var b=new JCc(this.peopleLoader_);b=new HCc(b,this.tracker_,this.clientConfig_);b=new ICc(b,this.tracker_);this.gatedLoaders_.set(a.getIdType(),b)}return this.gatedLoaders_.get(a.getIdType()).load(a)};var LCc=function(a,b,c){this.delegate_=a;this.trackers_=b;this.searchRequests_=new Map;this.lookupLoader_=new KCc(this.delegate_,this.trackers_,c)},MCc=function(a,b,c,d){var e,f;return of(function(h){if(1==h.nextAddress){e=b+":"+c;if(a.searchRequests_.has(e))return a.trackers_.count(b).increment(),h.return(a.searchRequests_.get(e));f=d();a.searchRequests_.set(e,f);h.catchAddress_=0;h.finallyAddress_=2;return h.yield(f,4)}if(2!=h.nextAddress)return h.return(h.yieldResult);qf(h);a.searchRequests_.delete(e);
return rf(h,0)})};g=LCc.prototype;g.loadRankedItems=function(a){var b=this;return MCc(this,81,"",function(){return b.delegate_.loadRankedItems(a)})};g.warmUpServer=function(a){var b=this;return MCc(this,82,"",function(){return b.delegate_.warmUpServer(a)})};g.loadAutocompleteItems=function(a,b){var c=this;return MCc(this,82,a.getPrefix(),function(){return c.delegate_.loadAutocompleteItems(a,b)})};g.loadLookupItems=function(a,b,c){return this.lookupLoader_.load(new GCc(a,b,c))};
g.loadContactItems=function(a,b){return this.delegate_.loadContactItems(a,b)};var NCc=function(){return Date.now()},OCc=function(a,b,c){this.delegate_=a;this.nowFn_=c;this.cacheFlushRateMillis_=1E3*pl(b.getClient(),14,300);this.serverWarmupRateMillis_=1E3*pl(b.getClient(),13,60);this.lastServerWarmup_=this.lastCacheFlush_=0};g=OCc.prototype;g.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)};
g.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)};g.loadAutocompleteItems=function(a,b){return this.delegate_.loadAutocompleteItems(a,b)};g.loadLookupItems=function(a,b,c){return this.delegate_.loadLookupItems(a,b,c)};g.loadContactItems=function(a,b){return this.delegate_.loadContactItems(a,b)};var PCc=function(a,b,c){this.delegate_=a;this.listener_=b;this.options_=c;this.delegate_.warmUpSession(c)};g=PCc.prototype;g.suggest=function(a){a=void 0===a?this.listener_:a;this.delegate_.suggest(a,this.options_)};g.search=function(a,b){b=void 0===b?this.listener_:b;this.delegate_.search(a,b,this.options_);return this};g.cancel=function(){this.delegate_.cancel();return this};g.getReporter=function(a){a=void 0===a?Wwc:a;return this.delegate_.getReporter(a)};g.getHide=function(){return this.delegate_.getHide()};var QCc=function(a,b){this.delegate_=a;this.members_=b;this.totalMemberCount_=Fs(a.getPrimaryTarget().getId())?b.length:a.getTotalMemberCount()};W(QCc,a2);QCc.prototype.getMemberList=function(){return this.members_};QCc.prototype.getTotalMemberCount=function(){return this.totalMemberCount_};var RCc=function(a){this.filter_=a};RCc.prototype.filterResult=function(a){var b=this;if(!Fs(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 Vr(new QCc(a,c))};RCc.prototype.reset=function(a){this.filter_.reset(a)};var $cb=function(a){this.filter_=Qcb(a,new RCc(a))};$cb.prototype.filterResult=function(a){return this.filter_.filterResult(a)};
$cb.prototype.reset=function(a){this.filter_.reset(a)};var SCc=function(a){this.delegate_=a};g=SCc.prototype;g.warmUpCache=function(){return this.delegate_.warmUpCache().then(function(){return Promise.resolve()},function(a){var b=2;a instanceof e3&&(a=a.getSource())&&(b=a.getCode());return Promise.reject(b)})};g.flushCache=function(a){this.delegate_.flushCache(a)};g.lookup=function(a,b,c){c=void 0===c?new Dyc:c;c.setFilter(adb(c.getFilter()));this.delegate_.lookup(a,b,c);return this};
g.list=function(a,b,c,d){d=void 0===d?new Ayc:d;d.setFilter(adb(d.getFilter()));this.delegate_.list(a,b,c,d);return this};g.beginSession=function(a,b){b=void 0===b?new Is:b;b=b.clone();b.setFilter(adb(b.getFilter()));var c=this.delegate_.beginSession(b);return new PCc(c,a,b)};var TCc=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]]),UCc=new Map([[2,13],[3,6]]),VCc=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 bdb=new Map([[1,1],[2,3],[3,5]]),WCc=new Map([[1,2],[2,4],[3,5],[4,8],[6,15],[7,19],[10,20]]),XCc=new Map([[1,2],[2,9],[3,6],[4,6],[6,15],[7,19],[10,20]]),YCc=function(a,b){this.logContext_=edb(a,b)};g=YCc.prototype;g.getLogContext=function(){return this.logContext_};
g.createCountMetric=function(a,b,c){var d=b.source(),e=new Z3;switch(d.getEventType()){case 1:d=e.setCount;b=tk(b.source(),4,0);var f=new V3;f.setType(b);f.setValue(c);d.call(e,f);e.setEventType(1);break;case 4:case 5:c=e.setRpcRequest;b=tk(b.source(),3,0);d=new Y3;d.setLabel(b);c.call(e,d);e.setEventType(4);break;case 6:case 7:c=e.setApiCall;b=b.source();d=tk(b,2,0);f=new vAc;b.hasItemCount()&&f.setItemCount(b.getItemCount());b.hasQueryLength()&&f.setQueryLength(b.getQueryLength());b.hasLookupInfo()&&
f.setLookupInfo(b.getLookupInfo());b.hasQueryScope()&&f.setQueryScope(b.getQueryScope());f.setLabel(d);c.call(e,f);e.setEventType(6);break;default:return null}e.setClientInterface(a);return e};
g.createStatusMetric=function(a,b,c){var d=b.source(),e=new Z3;switch(d.getEventType()){case 4:case 5:d=e.setRpcResponse;var f=b.source(),h=tk(f,3,0);var l=tk(f,13,0)||0;l=UCc.get(l)||TCc.get(c)||0;var q=$R(b,"blocked"),u=$R(b,"network"),x=$R(b,"processed");b=new yAc;b.setLabel(h);b.setStatus(l);b.setBlockedUsec(q);b.setLatencyUsec(u);k(b,9,x);b.setStatusCode(c);zj(f,12,0)&&(c=zj(f,12,0),k(b,6,c));d.call(e,b);e.setEventType(5);break;case 6:case 7:d=e.setApiResult;h=b.source();l=tk(h,2,0);f=new wAc;
f.setLabel(l);f.setStatusCode(c);h.hasItemCount()&&f.setItemCount(h.getItemCount());h.hasQueryLength()&&f.setQueryLength(h.getQueryLength());h.hasLookupInfo()&&f.setLookupInfo(h.getLookupInfo());h.hasQueryScope()&&f.setQueryScope(h.getQueryScope());0===c&&(b=$R(b,"total"),f.setLatencyUsec(b));c=VCc.get(c)||0;f.setStatus(c);c=h.getResultIndex();f.setResultIndex(c);if(b=h.getCacheState())c=cdb(Db(b,2)),k(f,5,c),c=cdb(Db(b,3)),k(f,6,c),c=f.setDataSource,h=b.getSource(),b=!Tl(h,1),h=h.getProvenance(),
b=(b?XCc.get(h):WCc.get(h))||0,c.call(f,b);d.call(e,f);e.setEventType(7);break;default:return null}e.setClientInterface(a);return e};
g.createLatencyMetric=function(a,b){var c=b.source();if(2!==c.getEventType())return null;var d=new Z3;d.setClientInterface(a);a=d.setLatency;var e=tk(b.source(),5,0);if(37===e||38===e||40===e){e=tk(b.source(),5,0);var f=$R(b,"LATENCY_A");b=$R(b,"LATENCY_B");b=null!=f&&null!=b?f-b:NaN;f=new X3;f.setType(e);isFinite(b)&&f.setLatencyUsec(b);e=f}else b=$R(b,"total"),f=new X3,f.setType(e),f.setLatencyUsec(b),e=f;a.call(d,e);d.setEventType(c.getEventType());return d};
g.createErrorMetric=function(a,b){var c=b.source();if(3!==c.getEventType())return null;var d=new Z3;d.setClientInterface(a);a=d.setError;var e=b.source();b=e.getErrorType();e=tk(e,7,0);var f=new W3;f.setType(b);k(f,4,e);a.call(d,f);d.setEventType(c.getEventType());return d};var ZCc=function(a,b){this.delegate_=a;this.trackers_=b};g=ZCc.prototype;g.reportDisplay=function(a){this.delegate_.reportDisplay(a)};g.reportSelect=function(a,b){b=void 0===b?new w2:b;this.delegate_.reportSelect(a,b)};g.reportExternalSelect=function(a){this.delegate_.reportExternalSelect(a)};g.reportDeselect=function(a){this.delegate_.reportDeselect(a)};g.reportProceed=function(a){this.delegate_.reportProceed(a)};g.reportDismiss=function(){this.delegate_.reportDismiss();$Cc(this)};
g.reportSave=function(a){this.delegate_.reportSave(a);$Cc(this)};g.reportSecondaryAction=function(a){this.delegate_.reportSecondaryAction(a);$Cc(this)};g.reportSend=function(a){this.delegate_.reportSend(a);$Cc(this)};var $Cc=function(a){a=a.trackers_;var b=a.api,c=new ct;et(c.setEventType(6),3);b.call(a,c).call()};var r4=function(a,b){this.delegate_=this.delegate=a;this.trackers_=b};W(r4,DCc);
r4.prototype.suggest=function(a,b){var c=this;try{var d=!1,e=!1,f=this.trackers_.api(jcb(b.getQueryScope()));f.call();this.delegate_.suggest(function(h){var l=h.getMetadata(),q=l.getCacheState();f.source.setCacheState(q);f.source.setItemCount(h.getResults().length);f.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(u){throw c.trackers_.error(22,11).report(),u;}finally{l.stop()}},b)}catch(h){throw this.trackers_.error(22,1).report(),h;}};
r4.prototype.search=function(a,b,c){var d=this;try{var e=!1,f=!1,h=this.trackers_.api(icb(a,c.getQueryScope()));h.call();this.delegate_.search(a,function(l){var q=l.getMetadata(),u=q.getCacheState();h.source.setCacheState(u);h.source.setItemCount(l.getResults().length);h.result(u.getSource().getCode());q.getIsFirstCallback()&&(e&&0===q.getCode()&&d.trackers_.error(23,19).report(),e=!0);q.getIsLastCallback()&&(f&&0===q.getCode()&&d.trackers_.error(23,20).report(),f=!0);q=d.trackers_.latency(91);q.start();
try{b(l)}catch(x){throw d.trackers_.error(23,11).report(),x;}finally{q.stop()}},c)}catch(l){throw this.trackers_.error(23,1).report(),l;}};r4.prototype.getReporter=function(a){a=this.delegate_.getReporter(a);return new ZCc(a,this.trackers_)};var aDc=function(a,b){this.delegate_=this.delegate=a;a=this.trackers_=b;b=a.api;var c=new ct;et(c.setEventType(6),1);b.call(a,c).call()};W(aDc,ECc);g=aDc.prototype;
g.warmUpCache=function(){var a=this,b=this.trackers_.api(hcb());b.call();return this.delegate_.warmUpCache().then(function(c){b.source.setCacheState(c);b.result(c.getSource().getCode());return c},function(c){c instanceof e3?(b.source.setCacheState(c),b.result(c.getSource().getCode())):(a.trackers_.error(17,1).report(),c=(new e3).setSource((new tt).setCode(2)));return Promise.reject(c)})};
g.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 ct;et(e.setEventType(6),d);b=c.call(b,e);b.call();try{this.delegate_.flushCache(a),b.result(0)}catch(f){throw this.trackers_.error(17,1).report(),f;}};
g.lookup=function(a,b,c){var d=this;try{var e=!1,f=!1,h=this.trackers_.api(fcb(a,c.getQueryScope()));h.call();this.delegate_.lookup(a,function(l){var q=l.getMetadata(),u=q.getCacheState();h.source.setCacheState(u);h.source.setItemCount(l.getResults().size);for(var x=0,y=0,G=0,L=m(l.getResults().keys()),M=L.next();!M.done;M=L.next()){var T=M.value;uuc.includes(T.getType())?x++:vuc.includes(T.getType())?y++:wuc.includes(T.getType())&&G++}var S=0;L=T=0;var X=m(q.notFoundIdList_);for(M=X.next();!M.done;M=
X.next())M=M.value,uuc.includes(M.getType())?S++:vuc.includes(M.getType())?T++:wuc.includes(M.getType())&&L++;M=h.source.getLookupInfo();x=k(M,2,x);y=k(x,1,y);G=k(y,3,G);G=k(G,5,S);G=k(G,4,T);k(G,6,L);h.result(u.getSource().getCode());q.getIsFirstCallback()&&(e&&0===q.getCode()&&d.trackers_.error(8,19).report(),e=!0);q.getIsLastCallback()&&(f&&0===q.getCode()&&d.trackers_.error(8,20).report(),f=!0);q=d.trackers_.latency(89);q.start();try{b(l)}catch(aa){throw d.trackers_.error(8,11).report(),aa;}finally{q.stop()}},
c)}catch(l){throw this.trackers_.error(8,1).report(),l;}};g.list=function(a,b,c,d){var e=this;try{var f=this.trackers_.api(gcb());f.call();this.delegate_.list(a,b,function(h){var l=h.getMetadata().getCacheState();f.source.setCacheState(l);f.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;}};
g.beginSession=function(a){var b=this.trackers_,c=b.api,d=new ct;et(d.setEventType(6),2);c.call(b,d).call();a=this.delegate_.beginSession(a);return new r4(a,this.trackers_)};var bDc=function(a,b){this.clearcut_=a;this.logEventFactory_=b};bDc.prototype.report=function(a){var b=hS(this.clearcut_);a=this.logEventFactory_.eventsFactory_.create(b,a);a=m(a);for(b=a.next();!b.done;b=a.next())iS(this.clearcut_,b.value)};var cDc=function(a){this.clearcut_=a};cDc.prototype.report=function(a){this.clearcut_.report(a);return this};var dDc=function(a){this.writer_=a},fDc=function(a,b,c){var d=new fS,e=a.writer_,f=d.getMetadata()||new eS;d.setMetadata(f);var h=As(b)||new it;a=Ok(b,jt,1)||new jt;e.metadataStateWriter_.write(f,h,(Tl(a,9,!0)?zj(h,2,0):zj(h,1,0))||0,eDc(b));e.contactInfoWriter_.write(d,a,c,h.getProvenance()||0);b=Ok(d,cS,4)||new cS;gl(d,cS,4,b);Ok(d,cS,4).setType(qt(a,7));d.setLoggingId(yu(a,2));return d};var gDc=function(){};
gDc.prototype.create=function(a,b,c){var d=new Pbc,e=ol(b,3,0);k(d,1,e);e=ol(b,4,0);k(d,2,e);e=ol(b,5,0);k(d,3,e);d.setInstanceId(b.getInstanceId());d.setAffinityVersion(b.getAffinityVersionOrUndefined());e=new Qbc;gl(e,Pbc,3,d);7!==c&&b.hasQuery()&&(d=b.getQuery(),2===c&&e.setQuery(d),e.setQueryLength(d.length));var f=new Rbc;d=SIa(pl(b,9,0)-pl(b,8,0));k(f,2,d);d=new gS;gl(d,Qbc,1,e);gl(d,Rbc,6,f);e=new Obc;if(f=ol(b,6,0)){k(e,3,1E3*f);var h=1E3*(Date.now()-f);k(e,2,h)}k(e,1,!!f);gl(d,Obc,3,e);d.setAffinityVersion(b.getAffinityVersionOrUndefined());
b=new Ubc;b.setEventType(c);b.setMetadata(d);b.setClientInterface(a.clone());return b};var hDc=function(){};hDc.prototype.extractPersonEventSource=function(a){return qDb(fdb(a),4)};hDc.prototype.extractFieldEventSource=function(a){return qDb(fdb(a),3)};var iDc=function(){};iDc.prototype.extractPersonEventSource=function(a){var b=a.getSources()||new pt;return(a.getQuery()||"").length?Db(b,2):Db(b,4)};iDc.prototype.extractFieldEventSource=function(a){var b=a.getSources()||new pt;return(a.getQuery()||"").length?Db(b,1):Db(b,3)};var jDc=function(){};jDc.prototype.extractPersonEventSource=function(a){return qDb(gdb(a),4)};jDc.prototype.extractFieldEventSource=function(a){return qDb(gdb(a),3)};var kDc=function(a,b,c){this.defaultTokenGroups_=a;this.additionTokenGroups_=b;this.replacementTokenGroups_=c};var lDc=new Map([[1,11],[2,12],[0,0]]),mDc=function(){};mDc.prototype.write=function(a,b,c){var d=new aS;k(d,1,c);c=new bS;c.setPosition(d);c.setExistingSelectionsCount(b.getExistingSelectionsCount());gl(a,bS,8,c);b=[lDc.get(b.getContext())];fn(a,3,b)};var nDc=new Map([[1,5],[2,4],[3,6],[7,13]]),oDc=function(){};oDc.prototype.write=function(a,b,c,d){var e=new aS;k(e,1,c);a.setPosition(e);c=nDc.get(b.getProvenance())||0;d||1===tk(b,4,0)?c=3:2===tk(b,4,0)&&(c=10);fn(a,3,[c])};var pDc=new Set([9,1,2]),qDc=function(){};qDc.prototype.write=function(a,b,c,d){if(8===c||10===c||9===c||2===c&&pDc.has(d))c=new cS,1!==Db(b,7)&&7!==Db(b,7)||c.setEmail(yu(b,3)),2!==Db(b,7)&&5!==Db(b,7)||c.setPhone(yu(b,3)),b.hasProfileId()&&c.setObfuscatedGaiaId(b.getProfileId()),b.hasGroupId()&&c.setGroupId(b.getGroupId()),gl(a,cS,4,c),c=new dS,c.setName(b.getNameOrUndefined()),b=a.getMetadata()||new eS,gl(b,dS,2,c),a.setMetadata(b)};var rDc=function(a){var b=new qDc;this.metadataStateWriter_=a;this.contactInfoWriter_=b},eDc=function(a){var b;return(null==(b=Ok(a,jt,1))?0:b.getIsPlaceholder())?!0:!1};var ldb=function(a){Y.call(this,a,-1,sDc)};W(ldb,Y);g=ldb.prototype;g.getEventType=function(){return tk(this,1,0)};g.getEventType_legacyNullable=function(){return Db(this,1)};g.setEventType=function(a){return k(this,1,a)};g.getSessionState=function(){return Ok(this,T1,2)};g.setSessionState=function(a){gl(this,T1,2,a)};g.hasSessionState=function(){return Hl(this,T1,2)};g.setEventSources=function(a){gl(this,pt,4,a)};var sDc=[3];var tDc=new Set([8]),uDc=function(){this.defaultEntityFactory_=new dDc(new rDc(new oDc));this.contextualEntityFactory_=new dDc(new rDc(new mDc));this.extensionFactory_=new gDc;this.defaultEventSourceExtractor_=new iDc;this.additionEventSourceExtractor_=new hDc;this.replacementEventSourceExtractor_=new jDc};
uDc.prototype.create=function(a,b){var c=b.getSessionState()||new T1,d=b.getEventType_legacyNullable();b=yj(b,ht,3);var e=hdb(b,jdb);var f=e.get(0);b=e.get(1);e=e.get(2);f=f?[].concat(r(hdb(f,idb).values())):[];b=b?[].concat(r(hdb(b,idb).values())):[];e=e?[].concat(r(hdb(e,idb).values())):[];f=new kDc(f,b,e);b=[];var h=m(f.defaultTokenGroups_);for(e=h.next();!e.done;e=h.next())b.push.apply(b,r(vDc(this,a,d,e.value,c,this.defaultEventSourceExtractor_,this.defaultEntityFactory_)));h=m(f.additionTokenGroups_);
for(e=h.next();!e.done;e=h.next())b.push.apply(b,r(vDc(this,a,d,e.value,c,this.additionEventSourceExtractor_,this.contextualEntityFactory_)));f=m(f.replacementTokenGroups_);for(e=f.next();!e.done;e=f.next())b.push.apply(b,r(vDc(this,a,d,e.value,c,this.replacementEventSourceExtractor_,this.contextualEntityFactory_)));return b};
var vDc=function(a,b,c,d,e,f,h){var l=[];e=d[0].getSessionState()||e;var q=d.map(function(x){var y=new fS,G=h.writer_,L=y.getMetadata()||new eS;y.setMetadata(L);var M=As(x)||new it,T=Ok(x,jt,1)||new jt;G.metadataStateWriter_.write(L,M,zj(M,2,0)||0,eDc(x));G.contactInfoWriter_.write(y,T,c,M.getProvenance()||0);y.setLoggingId(yu(T,1));x=Ok(y,cS,4)||new cS;gl(y,cS,4,x);x.setType(qt(T,8));return y});l.push(wDc(a,b,c,f.extractPersonEventSource(e),q,e));q=[];d=m(d);for(var u=d.next();!u.done;u=d.next())u=
u.value,Hl(u,jt,1)&&tDc.has(Db(Ok(u,jt,1),7))||q.push(fDc(h,u,c));q.length&&l.push(wDc(a,b,c,f.extractFieldEventSource(e),q,e));return l},wDc=function(a,b,c,d,e,f){a=a.extensionFactory_.create(b,f,c);a.getClientInterface().setEventSource(d);ac(a,2,e);return a};var xDc=function(a,b){this.logContext_=ddb(mt(new nt,"PeopleStore.BigBug").setLogSource(tk(a.getClearcut(),3,41)).setApplication(a.getClearcut().getSocialApplication()).setEnvironment(a.runtimeConfig_.getPeopleApiEnv()).setVersion("1004").setBaselineCl(523619082).setEnableClearcut(a.getClearcut().getEnableClearcut()),[].concat(r(a.runtimeConfig_.getExperiments().getExperimentIdsList()),r(ot?ot.getExperimentIds():[]))).setPeoplekitEntryPoint(b.getPeoplekitEntryPoint()).setClientAgent(2);this.eventsFactory_=
new uDc};xDc.prototype.getLogContext=function(){return this.logContext_};var yDc=function(a){this.clientConfig_=a;this.reportingCache_=new Map};yDc.prototype.create=function(a){var b=a.serialize();this.reportingCache_.has(a.serialize())||(a=new xDc(this.clientConfig_,a),a=new cDc(new bDc(bcc(a),a)),this.reportingCache_.set(b,a));return this.reportingCache_.get(b)};var zDc=function(a,b){this.reporting_=a;this.sharedSessionState_=b};g=zDc.prototype;g.reportDisplay=function(a){s4(this,st(a,1))};g.reportSelect=function(a,b){b=void 0===b?new w2:b;if(0!==b.getOriginator())for(var c=m(a),d=c.next();!d.done;d=c.next()){d=d.value;if(!Hl(d,it,2)){var e=new it;gl(d,it,2,e)}d=As(d);k(d,4,b.getOriginator())}b=ol(this.sharedSessionState_,4,0)+1;k(this.sharedSessionState_,4,b);s4(this,st(a,2,this.sharedSessionState_))};
g.reportExternalSelect=function(a){for(var b=m(a),c=b.next();!c.done;c=b.next()){c=c.value;if(!Hl(c,it,2)){var d=new it;gl(c,it,2,d)}c=As(c);k(c,4,2)}b=ol(this.sharedSessionState_,4,0)+1;k(this.sharedSessionState_,4,b);s4(this,st(a,15,this.sharedSessionState_))};g.reportDeselect=function(a){s4(this,st(a,17,this.sharedSessionState_))};g.reportProceed=function(a){s4(this,st(a,10,this.sharedSessionState_))};
g.reportDismiss=function(){var a=this.sharedSessionState_,b=new ldb;a=a.clone();b.setSessionState(a);b.setEventType(7);b.setEventSources(a.getSources());s4(this,[b])};g.reportSave=function(a){s4(this,st(a,9,this.sharedSessionState_))};g.reportSecondaryAction=function(a){s4(this,st(a,19,this.sharedSessionState_))};g.reportSend=function(a){s4(this,st(a,8,this.sharedSessionState_,!0))};var s4=function(a,b){b=m(b);for(var c=b.next();!c.done;c=b.next())a.reporting_.report(c.value)};var t4=function(a,b,c){this.delegate_=this.delegate=a;this.sharedSessionState_=c;k(this.sharedSessionState_,5,Math.floor(9007199254740991*Math.random()));this.reportingFactory_=b};W(t4,DCc);t4.prototype.suggest=function(a,b){var c=this;duc(this.sharedSessionState_,ol(this.sharedSessionState_,3,0)+1);var d=this.sharedSessionState_.clone();d.setQuery("");euc(d);var e=0;this.delegate_.suggest(function(f){e=ADc(c,f.getResults(),mdb(f),d,e);a(f)},b)};
t4.prototype.search=function(a,b,c){var d=this;duc(this.sharedSessionState_,ol(this.sharedSessionState_,3,0)+1);var e=this.sharedSessionState_.clone();e.setQuery(a);euc(e);var f=0;this.delegate_.search(a,function(h){f=ADc(d,h.getResults(),mdb(h),e,f);b(h)},c)};t4.prototype.getReporter=function(a){return new zDc(this.reportingFactory_.create(a),this.sharedSessionState_)};t4.prototype.getSessionState=function(){return this.sharedSessionState_};
var ADc=function(a,b,c,d,e){var f=Lbc();k(d,9,sb(f));f=a.delegate_.getLastUpdatedTimestamp();k(d,6,f);d.setAffinityVersion(a.delegate_.getAffinityVersion());a=m(b);for(f=a.next();!f.done;f=a.next()){b=0;f=m(f.value.getTargetList());for(var h=f.next();!h.done;h=f.next()){h=h.value.getLoggingToken();var l=As(h)||new it;7!==l.getProvenance()&&l.setProvenance(c.getProvenance());k(l,2,e);k(l,1,b);gl(h,it,2,l);h.setSessionState(d);b++}e++}return e};var BDc=function(a,b,c){this.delegate_=this.delegate=a;this.reportingFactory_=b;this.instanceId_=u$a();this.clearcutConfig_=c};W(BDc,ECc);
BDc.prototype.lookup=function(a,b,c){this.delegate_.lookup(a,function(d){var e=Array.from(d.getResults().values()),f,h=d.getMetadata();h.getCacheState()&&(h=h.getCacheState(),h.hasSource()&&(f=h.getSource()));f=f||new tt;h=c.getOriginator();e=m(e);for(var l=e.next();!l.done;l=e.next()){l=m(l.value.getTargetList());for(var q=l.next();!q.done;q=l.next()){q=q.value.getLoggingToken();var u=As(q)||new it;7!==u.getProvenance()&&u.setProvenance(f.getProvenance());k(u,4,h);gl(q,it,2,u)}}b(d)},c)};
BDc.prototype.beginSession=function(a){var b=new T1,c=CDc(this,a);gl(b,pt,10,c);c=DDc(this,a);gl(b,rt,12,c);b.setInstanceId(this.instanceId_);a=this.delegate_.beginSession(a);return new t4(a,this.reportingFactory_,b)};
var CDc=function(a,b){a=yj(a.clearcutConfig_,pt,5);return a.find(function(c){return c.getEntryPoint()===b.getEntryPoint()})||a.find(function(c){return 0===c.getEntryPoint()})||new pt},DDc=function(a,b){a=yj(a.clearcutConfig_,rt,6);return a.find(function(c){return c.getEntryPoint()===b.getEntryPoint()})||a.find(function(c){return 0===c.getEntryPoint()})||new rt};var EDc={create:function(a){var b=Cb(mzc||(mzc=lzc('[[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]]]]')));a=new y3(b,a);a.runtimeConfig_.getExperiments().getProfileId()?wzc(a).getIsEnabled()?(b=Cb(yzc||(yzc=Nab('[null,null,null,null,null,null,null,"AIzaSyABqJ85_R2irnKzMtGBL0iHuyFBi6Efk1w"]'))),
b=new Oab(b,1)):b=new Js:b=new Js;var c=a.runtimeConfig_.getExperiments().getProfileId_legacyNullable(),d=a.runtimeConfig_;ot=b.loadExperiments(wzc(a).getApplication(),(new Ks).setPeopleApiEnv(d.getPeopleApiEnv()),c);b=new YAc;b.cacheConfigurators_.push(new hzc);c=b;c=void 0===c?new YAc:c;b=a.getClearcut();b=new YCc(b,a.runtimeConfig_);b=Ms(b);b=new WAc(b);d=new XAc(a,b);var e=c;c=a.getClient();c=new nBc(d.targetFactory_,c);var f=void 0===f?NCc:f;f=new OCc(d.loader_,a,f);f=new LCc(f,b,a);var h=[new CCc,
new fBc].concat(r(e.cacheConfigurators_)),l=[],q=[],u=new EBc(c,a);e=new yBc(q,u);d={clientConfig:a,trackers:b,storage:c,indexer:u,loader:f,loaderFactory:d,trieFactory:new YBc(c,e,b),prefixCaches:l,lookupStages:q};h=m(h);for(q=h.next();!q.done;q=h.next())q.value.configure(d);d=new MBc(l);f=new RBc(a,b,d,e,new uBc(f,c),c);d=a.getClient();c=new sCc(d,c);d=a.getClient();f=new iCc(f,c,d);c=new yDc(a);a=a.getClearcut();f=new BDc(f,c,a);f=new aDc(f,b);return new SCc(f)}};var u4=function(a,b){var c=this;this.fridge=a;this.userAccess=b;this.currentComponentId="";this.providedComponentId$=new C.ReplaySubject(1);this.accessCheckIsThinking$=new C.BehaviorSubject(!0);this.component$=this.providedComponentId$.pipe(cg(function(d){return c.fridge.watchOne(d)}));this.userIsComponentReader$=this.providedComponentId$.pipe(cg(function(d){d!==c.currentComponentId&&(c.accessCheckIsThinking$.next(!0),c.currentComponentId=d);return JF(c.userAccess,"reader","components/"+d).then(function(e){return e},
function(){return!1}).finally(function(){c.accessCheckIsThinking$.next(!1)})}));this.isReady$=(0,C.combineLatest)([this.fridge.thinking$,this.accessCheckIsThinking$]).pipe(B(function(d){var e=m(d);d=e.next().value;e=e.next().value;return!d&&!e}),bg(!1));this.manageComponentLink=""};u4.prototype.ngOnInit=function(){this.currentComponentId=this.componentId};u4.prototype.ngOnChanges=function(){this.providedComponentId$.next(this.componentId);this.manageComponentLink="/components/"+this.componentId};
u4.\u0275fac=function(a){return new (a||u4)(A(xF),A(IF))};
u4.\u0275cmp=p({type:u4,selectors:[["b-async-component"]],inputs:{componentId:"componentId"},features:[Hd],decls:6,vars:7,consts:[[3,"isReady"],[3,"href",4,"ngIf","ngIfElse"],["notComponentReader",""],[3,"href"]],template:function(a,b){a&1&&(E(0,"b-async-data-placeholder",0),U(1,"async"),P(2,ndb,3,4,"a",1),U(3,"async"),P(4,odb,2,1,"ng-template",null,2,qh),F());if(a&2){var c=O(5);D("isReady",V(1,3,b.isReady$));z(2);D("ngIf",V(3,5,b.userIsComponentReader$))("ngIfElse",c)}},dependencies:[yw,dL,Ew],encapsulation:2});var v4=function(){this.showIssueMetadataContainer=!1;this.manageComponentLink=""};
Xi.Object.defineProperties(v4.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=cp(a.modifiedTime),a.teamId&&0!==a.teamId&&(this.issueTeamId=String(a.teamId)),a=a.issueState)this.issueType=ZUb[a.type],this.issueStatus=tn[a.status],this.issuePriority=a.priority,this.issueSeverity=XUb[a.severity],this.issueComponentId=String(a.componentId)}}});
v4.\u0275fac=function(a){return new (a||v4)};
v4.\u0275cmp=p({type:v4,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"],[4,"ngIf"],[3,"componentId"],[3,"teamId"]],template:function(a,b){a&1&&(E(0,"div",0)(1,"h3",1),Q(2," Access is denied to this issue "),F(),P(3,rdb,33,11,"ol",2),F());a&2&&(z(3),D("ngIf",b.showIssueMetadataContainer))},dependencies:[yw,
u4,iI,jL,Hw],styles:[".b-access-denied[_ngcontent-%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}"],changeDetection:0});var w4=function(){};w4.\u0275fac=function(a){return new (a||w4)};w4.\u0275mod=od({type:w4});w4.\u0275inj=Wc({imports:[Mw,dO]});var x4=function(){};x4.\u0275fac=function(a){return new (a||x4)};x4.\u0275mod=od({type:x4});x4.\u0275inj=Wc({imports:[Mw,w4,WN,$N]});var FDc=Symbol("Pe"),y4=function(a){this.ruleConfigService=a};y4.prototype.build=function(a){if(a.customField)var b="DATE"===a.customField.type?new z4(a,A4(this.ruleConfigService)):"ENUM"===a.customField.type?new B4(a,A4(this.ruleConfigService)):"NUMERIC"===a.customField.type?new C4(a,A4(this.ruleConfigService)):new D4(a,A4(this.ruleConfigService));else b=a.label.field,b=A4(this.ruleConfigService)[b],b=new (b&&b.ruleCtor||E4)(a,A4(this.ruleConfigService));b[FDc](a);return b};
var Ueb=function(a,b,c){return a.build({label:{field:b,customFieldId:c&&c.customFieldId||void 0},operator:"EQ",negated:!1,type:"",customField:c})};y4.\u0275fac=function(a){return new (a||y4)(n(F4))};y4.\u0275prov=Vc({token:y4,factory:y4.\u0275fac,providedIn:"root"});
var GDc=["OR","AND","NAND"],HDc=["OR","NAND"],IDc="LT GT LE GE RANGE NRANGE DURATION NDURATION OR".split(" "),JDc=["AND","OR","NAND"],KDc=["OR","LT","GT","LE","GE"],E4=function(a,b){this.ruleConfigLookup=b;this.values=[];this.type="";this.isPendingCustomField=!1;this.label=a.label};E4.prototype[FDc]=function(a){this.initType(a);this.initValues(a)};
E4.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]};E4.prototype.initValues=function(a){this.values=(a.values||[]).map(function(b){return{value:b.simpleValues[0].value}})};
var LDc=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}};
E4.prototype.toString=function(){var a=LDc(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=MDc(this);return(a.negated?"-":"")+d+(d?c[a.operator]:"")+b};var MDc=function(a){var b=a.label.field,c=a.ruleConfigLookup[b];return c&&(c=c.queryLabel,null!=c)?c:Kj(b).toLowerCase()+(a.label.customFieldId||"")};E4.prototype.valuesToStrings=function(){return this.values.map(function(a){return a.value}).filter(function(a){return a})};
E4.prototype.getWidgetType=function(){return"default"};E4.prototype.isValid=function(){return this.getLegalTypes().includes(this.type)};E4.prototype.getLegalTypes=function(){return GDc};var NDc=[],G4=function(a,b){E4.call(this,a,b);this.enumValues={}};W(G4,E4);g=G4.prototype;g.getLegalTypes=function(){return HDc};g.getWidgetType=function(){return"enum"};
g.initValues=function(a){this.enumValues={};for(var b=m(this.getOptions()),c=b.next();!c.done;c=b.next())this.enumValues[c.value.id]=!1;a=m(a.values||[]);for(b=a.next();!b.done;b=a.next())this.enumValues[sdb(b.value.simpleValues[0].value)]=!0};g.valuesToStrings=function(){return Object.keys(oc(this.enumValues,function(a){return a}))};g.getOptions=function(){return NDc};var ODc=raa().map(function(a){return{id:"p"+a,label:"P"+a}}),PDc=function(a,b){G4.call(this,a,b)};W(PDc,G4);
PDc.prototype.getOptions=function(){return ODc};var QDc=raa().map(function(a){return{id:"s"+a,label:"S"+a}}),RDc=function(a,b){G4.call(this,a,b)};W(RDc,G4);RDc.prototype.getOptions=function(){return QDc};
var SDc=[{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"}],TDc=function(a,b){G4.call(this,a,b)};W(TDc,G4);TDc.prototype.getOptions=function(){return SDc};
var UDc=[{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"}],VDc=function(a,b){G4.call(this,a,b)};W(VDc,G4);VDc.prototype.getOptions=function(){return UDc};
var WDc=[{id:"abuse"},{id:"pii"},{id:"user_request",label:"user request"},{id:"retention"}],XDc=function(a,b){G4.call(this,a,b)};W(XDc,G4);XDc.prototype.getOptions=function(){return WDc};var B4=function(a,b){G4.call(this,a,b);this.allowedValues=[]};W(B4,G4);B4.prototype[FDc]=function(a){this.allowedValues=a.customField.allowedValue.map(function(b){return{label:b,id:sdb(b)}});G4.prototype[FDc].call(this,a)};
B4.prototype.valuesToStrings=function(){return Object.keys(oc(this.enumValues,function(a){return a})).map(function(a){return'"'+a+'"'})};B4.prototype.getOptions=function(){return this.allowedValues};var At=function(a,b){E4.call(this,a,b);this.csv=""};W(At,E4);At.prototype.getWidgetType=function(){return"csv"};At.prototype.initValues=function(a){this.csv=(a.values||[]).map(function(b){return b.simpleValues[0].value}).join(",")};At.prototype.valuesToStrings=function(){return this.csv.split(",").map(function(a){return a.trim()}).filter(function(a){return a})};
var H4=function(a,b){At.call(this,a,b)};W(H4,At);H4.prototype.getWidgetType=function(){return"id"};H4.prototype.valuesToStrings=function(){return At.prototype.valuesToStrings.call(this).map(function(a){return"none"===a.toLowerCase()?"none":"any"===a.toLowerCase()?"any":String(Lj(a))})};var YDc=function(a,b){At.call(this,a,b)};W(YDc,H4);YDc.prototype.getLegalTypes=function(){return HDc};var I4=function(a,b){At.call(this,a,b)};W(I4,At);I4.prototype.getWidgetType=function(){return"user"};
var J4=function(a,b){At.call(this,a,b)};W(J4,I4);J4.prototype.getLegalTypes=function(){return HDc};var z4=function(a,b){E4.call(this,a,b);this.dateTo=this.dateFrom=this.duration=""};W(z4,E4);var zeb=function(a){return a&&"string"===typeof a?a:""};z4.prototype.initType=function(a){E4.prototype.initType.call(this,a);var b=a.values&&a.values[0];b&&("RANGE"===b.type?this.type=a.negated?"NRANGE":"RANGE":hu(b.simpleValues[0].value,"d")&&(this.type=a.negated?"NDURATION":"DURATION"))};
z4.prototype.getWidgetType=function(){return"date"};z4.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=ZDc(b),"RANGE"===this.type||"NRANGE"===this.type)this.dateTo=ZDc(a.values[0].simpleValues[1].value)}};
z4.prototype.valuesToStrings=function(){if("DURATION"===this.type||"NDURATION"===this.type){var a=Lj(this.duration);return!a||isNaN(a)?[]:[a+"d"]}if("RANGE"===this.type||"NRANGE"===this.type){a=this.dateFrom&&$Dc(this.dateFrom)||(new Cj).toIsoString(!0);var b=this.dateTo&&$Dc(this.dateTo)||(new Cj).toIsoString(!0);return[a+".."+b]}return[this.dateFrom&&$Dc(this.dateFrom)||(new Cj).toIsoString(!0)]};
var aEc=function(a){var b=String(a.getMonth()+1),c=String(a.getDate());return b+"/"+c+"/"+String(a.getFullYear())},ZDc=function(a){var b=new dp(2E3);a=Qj(a);var c=-1==a.indexOf("T")?" ":"T";a=a.split(c);var d=a[0].match(rMb);if(d){var e=Number(d[2]),f=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 cB("d",h-1))):c?(b.setMonth(0),b.setDate(1),d=b.getDay()||7,b.add(new cB("d",(4>=d?1-d:8-d)+(Number(l)+7*(Number(c)-
1))-1))):(e&&(b.setDate(1),b.setMonth(e-1)),f&&b.setDate(f));c=!0}else c=!1;if(c&&!(c=2>a.length)){c=a[1];a=c.match(tMb);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(sMb)){if(a){a=b.getYear();c=b.getMonth();l=b.getDate();d=Number(h[1]);e=Number(h[2])||0;f=Number(h[3])||0;var u=h[4]?1E3*Number(h[4]):0;(h=0<=a&&100>a)&&(a+=400);a=Date.UTC(a,c,l,d,e,f,u);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 aEc(c?b:null)},$Dc=function(a){a=a.split("/").map(Number);return(new Cj(a[2],a[0]-1,a[1])).toIsoString(!0)};z4.prototype.getLegalTypes=function(){return IDc};var K4=function(a,b){E4.call(this,a,b)};W(K4,E4);K4.prototype.getWidgetType=function(){return"bool"};
K4.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"};K4.prototype.toString=function(){return MDc(this)+":"+("OR"===this.type)};K4.prototype.getLegalTypes=function(){return HDc};var L4=function(a,b){E4.call(this,a,b)};W(L4,E4);L4.prototype.getWidgetType=function(){return"boolwithall"};
L4.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")};L4.prototype.toString=function(){var a=MDc(this)+":";switch(this.type){case "OR":return a+"true";case "NAND":return a+"false";default:return a+"all"}};
L4.prototype.getLegalTypes=function(){return JDc};var D4=function(a,b){E4.call(this,a,b)};W(D4,E4);D4.prototype.getWidgetType=function(){return"text"};D4.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}})};D4.prototype.valuesToStrings=function(){return this.values.map(function(a){return-1<a.value.indexOf(" ")?'"'+a.value+'"':a.value})};
var M4=function(a,b){E4.call(this,a,b)};W(M4,E4);M4.prototype.getWidgetType=function(){return"component"};M4.prototype.initValues=function(a){a.values&&(this.values=a.values.map(function(b){b=b.simpleValues[0].value;var c={value:b,includeSubs:!1};hu(b,"+")&&(b=b.slice(0,b.length-1),c.value=b,c.includeSubs=!0);return c}))};M4.prototype.valuesToStrings=function(){return this.values.map(function(a){return a.value+(a.includeSubs?"+":"")}).filter(function(a){return a})};
var bEc=function(a,b){E4.call(this,a,b)};W(bEc,E4);bEc.prototype.initValues=function(a){a.values&&(this.values=a.values.map(function(b){b=b.simpleValues[0].value;var c={value:b,includeSubs:!1};hu(b,"+")&&(b=b.slice(0,b.length-1),c.value=b,c.includeSubs=!0);return c}))};bEc.prototype.valuesToStrings=function(){return this.values.map(function(a){return a.value+(a.includeSubs?"+":"")}).filter(function(a){return a})};var cEc=function(a,b){E4.call(this,a,b)};W(cEc,E4);cEc.prototype.getWidgetType=function(){return"tracker"};
var dEc=function(a,b){E4.call(this,a,b)};W(dEc,bEc);dEc.prototype.getWidgetType=function(){return"team"};var eEc=function(a,b){E4.call(this,a,b)};W(eEc,E4);eEc.prototype.getWidgetType=function(){return"hotlist"};var fEc=function(a,b){E4.call(this,a,b)};W(fEc,E4);fEc.prototype.getWidgetType=function(){return"savedsearch"};var C4=function(a,b){At.call(this,a,b)};W(C4,At);C4.prototype.getWidgetType=function(){return"number"};C4.prototype.getLegalTypes=function(){return KDc};
var gEc=function(a,b){z4.call(this,a,b)};W(gEc,z4);gEc.prototype.initType=function(a){z4.prototype.initType.call(this,a);a.negated&&(this.type="ERR")};
var N4={},hEc=(N4.ATTACHMENT={ruleCtor:D4,name:"Attachment name"},N4.COMMENT={ruleCtor:D4},N4.TITLE={ruleCtor:D4},N4.ASSIGNEE={ruleCtor:J4},N4.MODIFIER={ruleCtor:I4},N4.REPORTER={ruleCtor:J4},N4.VERIFIER={ruleCtor:J4},N4.CC={ruleCtor:I4},N4.COMPONENT_ID={ruleCtor:M4,name:"Component"},N4.TRACKER_ID={ruleCtor:cEc,name:"Tracker"},N4.TYPE={ruleCtor:TDc},N4.STATUS={ruleCtor:VDc},N4.PRIORITY={ruleCtor:PDc},N4.SEVERITY={ruleCtor:RDc},N4.BLOCKED_BY_ID={ruleCtor:H4},N4.BLOCKING_ID={ruleCtor:H4},N4.PARENT_ID=
{ruleCtor:H4},N4.CANONICAL_ID={ruleCtor:YDc},N4.ID={ruleCtor:YDc},N4.FOUND_IN={ruleCtor:At},N4.TARGETED_TO={ruleCtor:At},N4.VERIFIED_IN={ruleCtor:At},N4.CL={ruleCtor:At,name:"Changelists"},N4.MODIFIED={ruleCtor:z4},N4.RESOLVED={ruleCtor:gEc},N4.CREATED={ruleCtor:z4},N4.VERIFIED={ruleCtor:gEc},N4.DELETION_TIME={ruleCtor:z4,name:"Deletion time"},N4.SAVED_SEARCH_ID={ruleCtor:fEc,name:"Saved search"},N4.HOTLIST_ID={ruleCtor:eEc,name:"Hotlist"},N4.STAR={ruleCtor:K4,name:"Starred"},N4.MUTE={ruleCtor:K4,
name:"Muted"},N4.IN_PROD={ruleCtor:K4,name:"In production"},N4.CC_COUNT={ruleCtor:C4},N4.DUPLICATE_COUNT={ruleCtor:C4},N4.VOTE_COUNT={ruleCtor:C4},N4.COMMENT_COUNT={ruleCtor:C4},N4.LAST_MODIFIER={ruleCtor:J4,name:"Last Modified By"},N4.COMMENTER={ruleCtor:I4},N4.LAST_COMMENTER={ruleCtor:J4},N4.ARCHIVED={ruleCtor:L4},N4.IS_DELETED={ruleCtor:K4,name:"Deleted",queryLabel:"deleted"},N4.DELETION_REASON={ruleCtor:XDc,name:"Deletion reason"},N4._TEXT_={ruleCtor:D4,queryLabel:"",name:"All fields"},N4),iEc=
Object.assign({},hEc,{EFFORT_LABEL:{ruleCtor:At},MENTION:{ruleCtor:I4},MIN_SLO_TARGET:{ruleCtor:z4,name:"Nearest SLO",queryLabel:"nearestslo"},POSTMORTEM:{ruleCtor:At,name:"Postmortems"},TEAM_ID:{ruleCtor:dEc,name:"Team"}}),F4=function(a){this.activeSession=a},A4=function(a){return a.activeSession.isExternalSession()?hEc:iEc};F4.\u0275fac=function(a){return new (a||F4)(n(Vt))};F4.\u0275prov=Vc({token:F4,factory:F4.\u0275fac,providedIn:"root"});var O4=function(a){Y.call(this,a)};W(O4,Y);g=O4.prototype;g.getField=function(){return tk(this,1,0)};g.setField=function(a){k(this,1,a)};g.getCustomFieldId=function(){return Ck(this,2)};g.setCustomFieldId=function(a){return k(this,2,a)};g.hasCustomFieldId=function(){return Bk(this,2)};var ydb=function(a){Y.call(this,a)};W(ydb,Y);g=ydb.prototype;g.getType=function(){return tk(this,1,0)};g.setType=function(a){return k(this,1,a)};g.hasType=function(){return nl(this,1)};g.getValue=function(){return Dk(this,2)};g.setValue=function(a){return k(this,2,a)};g.hasValue=function(){return Am(this,2)};var P4=function(a){Y.call(this,a,-1,jEc)};W(P4,Y);g=P4.prototype;g.getType=function(){return tk(this,1,0)};g.setType=function(a){return k(this,1,a)};g.hasType=function(){return nl(this,1)};g.getValuesList=function(){return yj(this,P4,2)};g.setValuesList=function(a){ac(this,2,a)};g.setValues=function(a,b){ou(this,2,P4,a,b)};var jEc=[2,3];var Gdb=function(a){Y.call(this,a,-1,kEc)};W(Gdb,Y);g=Gdb.prototype;g.getType=function(){return tk(this,1,0)};g.setType=function(a){return k(this,1,a)};g.hasType=function(){return nl(this,1)};g.getValuesList=function(){return yj(this,P4,2)};g.setValuesList=function(a){ac(this,2,a)};g.setValues=function(a,b){ou(this,2,P4,a,b)};g.getLabel=function(){return Ok(this,O4,4)};g.setLabel=function(a){return gl(this,O4,4,a)};g.hasLabel=function(){return Hl(this,O4,4)};var kEc=[2];var ut=function(a){Y.call(this,a,-1,lEc)};W(ut,Y);ut.prototype.getType=function(){return tk(this,1,0)};ut.prototype.setType=function(a){return k(this,1,a)};ut.prototype.hasType=function(){return nl(this,1)};var lEc=[2];ut.messageId="b.QueryBuilderResponse";var Ddb=function(a){Y.call(this,a)};W(Ddb,Y);Ddb.messageId="b.SyntaxErrorResponse";var mEc=function(a){Y.call(this,a)};W(mEc,Y);mEc.prototype.getKindCase=function(){return Hk(this,Edb)};var Edb=[1,2];mEc.messageId="b.QueryBuilderResponseOrError";var Q4=function(a){this.executor=a},nEc=function(a,b){b=Xn(b);return a.executor.get({url:"action/issue_query_parse/"+b,responseConstructor:mEc}).then(Hdb).then(function(c){var d;null!=(d=c.syntaxErrorResponse)?c=d:(c=c.queryBuilderResponse,c={type:c.type,expressions:c.expressions.map(tdb)});return c})};Q4.\u0275fac=function(a){return new (a||Q4)(n(LD))};Q4.\u0275prov=Vc({token:Q4,factory:Q4.\u0275fac,providedIn:"root"});var R4=function(a){var b=this;this.teamsService=a;this.placeholder="Choose Team";this.panelWidth="574px";this.disabled=!1;this.onTeamSelect=new Rv;this.onEmptyQuery=new Rv;this.searchQuery$=new C.Subject;this.teamSuggestions$=this.searchQuery$.pipe(Nf(300),Qf(),cg(function(c){return QH(b.teamsService,c)}),B(function(c){return Mdb(c)}))};R4.prototype.updateSelectionOnChange=function(a){this.onTeamSelect.emit(a.option.value)};R4.prototype.search=function(a){a||this.onEmptyQuery.emit();this.searchQuery$.next(a)};
R4.prototype.displayFn=function(a){return a?a.name:""};R4.prototype.ngAfterViewInit=function(){};R4.\u0275fac=function(a){return new (a||R4)(A(PH))};
R4.\u0275cmp=p({type:R4,selectors:[["b-team-picker"]],viewQuery:function(a,b){a&1&&ih(JP,7);if(a&2){var c;hh(c=kh())&&(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=t();E(0,"div",0)(1,"input",1,2);K("click",function(){v(c);var e=O(2);return w(b.search(e.value))})("input",
function(){v(c);var e=O(2);return w(b.search(e.value))});F();E(3,"mat-autocomplete",3,4);K("optionSelected",function(e){return b.updateSelectionOnChange(e)});P(5,Ldb,6,8,"mat-option",5);U(6,"async");F()()}if(a&2){var d=O(4);z(1);Qg("placeholder",b.placeholder);D("ngModel",b.teamSelected)("disabled",b.disabled)("matAutocomplete",d);ug("aria-disabled",b.disabled);z(2);D("panelWidth",b.panelWidth)("displayWith",b.displayFn);z(2);D("ngForOf",V(6,8,b.teamSuggestions$))}},dependencies:[xw,yw,KP,JP,vA,NC,
Qh,ax,hx,Ew,Lw],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 vt=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 oEc(a.slice(0,e+1),b.slice(0,e+1))})},oEc=function(a,b){this.pathIds=a;this.pathNames=b;this.name=0<b.length?b[b.length-1]:"";this.pathNameText=b.join(" > ")};var S4=function(a){var b=this;this.trackerFridge=a;this.placeholder="Choose Tracker";this.disabled=!1;this.onTrackerSelect=new Rv;this.searchQuery$=new C.Subject;this.trackerSuggestions$=this.searchQuery$.pipe(Nf(300),Qf(),cg(function(c){return b.trackerFridge.watchMany({filter:c,pageSize:5})}),B(function(c){return c.results}));this.displayFn=function(c){return c?c.name:""}};S4.prototype.ngAfterViewInit=function(){};S4.prototype.updateSelectionOnChange=function(a){this.onTrackerSelect.emit(a.option.value)};
S4.prototype.search=function(a){this.searchQuery$.next(a)};S4.\u0275fac=function(a){return new (a||S4)(A(WH))};
S4.\u0275cmp=p({type:S4,selectors:[["b-tracker-picker"]],viewQuery:function(a,b){a&1&&ih(JP,7);if(a&2){var c;hh(c=kh())&&(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=t();E(0,"input",0,1);K("click",function(){v(c);var e=O(1);return w(b.search(e.value))})("input",function(){v(c);var e=O(1);return w(b.search(e.value))});F();E(2,"mat-autocomplete",2,3);K("optionSelected",function(e){return b.updateSelectionOnChange(e)});P(4,Ndb,3,2,"mat-option",4);U(5,"async");F()}if(a&
2){var d=O(3);D("placeholder",b.placeholder)("ngModel",b.selectedTracker)("disabled",b.disabled)("matAutocomplete",d);ug("aria-disabled",b.disabled);z(2);D("displayWith",b.displayFn);z(2);D("ngForOf",V(5,7,b.trackerSuggestions$))}},dependencies:[xw,KP,JP,vA,Qh,ax,hx,Ew],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 T4=function(a,b,c,d,e,f,h,l,q,u,x,y,G,L,M,T){Z.call(this);this.analytics=a;this.userApi=b;this.customFieldsApi=c;this.savedSearchApi=d;this.hotlistApi=e;this.trackerFridge=f;this.issueSearchResources=h;this.activeSession=l;this.elementRef=q;this.errorHandler=u;this.componentActions=x;this.teamsService=y;this.searchRuleConfigService=G;this.searchRuleFactory=L;this.cdr=M;this.currentTracker=T;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(S){return S};this.sessionIsInternal=this.activeSession.isInternalSession();this.typeLabels=pEc;this.globalTypeLabels=qEc;this.state="INIT"};W(T4,Z);T4.\u0275dir=Z.\u0275dir;
var rEc=function(a){var b=[];nc(A4(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,Txa(d)]))},a);b.sort(function(c,d){return paa(c[1],d[1])});b.push(["SAVED_SEARCH_ID","Saved search"]);b.push(["CUSTOM_FIELD","Custom field"]);return b};T4.prototype.schedule=function(a){this.subscriptions.add(C.asyncScheduler.schedule(a))};T4.prototype.ngOnInit=function(){this.cdr.detectChanges()};
T4.prototype.ngOnChanges=function(a){a.isTrackerSearchEnabled&&(this.availableLabels=rEc(this))};
var uEc=function(a,b){a.reset();b?sEc(a,b):(a.expressions=tEc.map(function(c){return Ueb(a.searchRuleFactory,c)}),a.state="SUCCESS");a.userApi.getUserSavedSearches().then(function(c){a.userSavedSearches=c;c=m(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=m(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()},sEc=function(a,b){nEc(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 vEc(a,d)});return Promise.all(c).then(function(d){if(d.every(function(f){return!!f})){a.state="SUCCESS";d=m(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()})},vEc=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?wEc(a,b.label.customFieldId).then(function(c){b.customField=
c;return xEc(a,b)}):Promise.resolve(xEc(a,b))},wEc=function(a,b){return a.customFields[b]?Promise.resolve(a.customFields[b]):a.customFieldsApi.get(b).then(function(c){return a.customFields[b]=c})},xEc=function(a,b){b="ERR"===b.type?null:a.searchRuleFactory.build(b);if(!b||b&&!b.isValid())return null;yEc(a,b);return b},yEc=function(a,b){switch(b.label.field){case "COMPONENT_ID":var c=m(b.values);for(b=c.next();!b.done;b=c.next())b=Sj(b.value.value),a.components[b]||a.fetchComponent(b);break;case "TRACKER_ID":if(a.isTrackerSearchEnabled)for(c=
m(b.values),b=c.next();!b.done;b=c.next())b=b.value.value,a.trackers[b]||zEc(a,b);break;case "TEAM_ID":if(a.sessionIsInternal)for(c=m(b.values),b=c.next();!b.done;b=c.next())b=b.value.value,a.teams[b]||AEc(a,b);break;case "SAVED_SEARCH_ID":c=m(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=m(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})}};T4.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 zEc=function(a,b){a.trackerFridge.watch(b).pipe(dg(a.destroyed$)).subscribe(function(c){c&&(a.trackers[b]=c)})},AEc=function(a,b){QH(a.teamsService,b).pipe(B(function(c){return c.getTeamSuggestionsList()}),Lf(function(){return(0,C.of)([])}),dg(a.destroyed$)).subscribe(function(c){0<c.length?(c=c[0],a.teams[b]={id:c.getId(),pathNames:c.getPathNamesList(),name:c.getName(),description:c.getDescription()}):a.teams[b]={id:b,pathNames:[b],name:b,description:""}})},BEc=function(a){var b="AND"===a.expressionType?
" ":" | ";return tCb(a.expressions.map(function(c){return c.label?c.toString():""}),$Db).join(b)};T4.prototype.getState=function(){return this.state};T4.prototype.reset=function(){this.expressionType="AND";this.expressions=[];this.state="INIT"};
var Xeb=function(a,b){var c=a.expressions[b],d=c.label;"CUSTOM_FIELD"===d.field?c.isPendingCustomField=!0:(a.expressions[b]=Ueb(a.searchRuleFactory,d.field),Veb(a,a.expressions[b]));a.cdr.detectChanges()},Veb=function(a,b){var c=b.getWidgetType();"component"===c||"savedsearch"===c||"hotlist"===c||"text"===c||"team"===c||"tracker"===c?xt(a,b):"date"===c&&(b.dateFrom||(b.dateFrom=aEc(new Cj)),b.dateTo||(b.dateTo=aEc(new Cj)))};T4.prototype.removeExpression=function(a){La(this.expressions,a);this.cdr.detectChanges()};
var xt=function(a,b){var c={value:""};b.values.push(c);"COMPONENT_ID"===b.label.field?ceb(a,c):"TRACKER_ID"===b.label.field?jeb(a,c):"TEAM_ID"===b.label.field?qeb(a,c):zt(a,c);a.cdr.detectChanges()},wt=function(a,b,c){La(b.values,c);b.values.length||a.removeExpression(b);a.cdr.detectChanges()},zt=function(a,b){a.chipUnderEdit=b;a.cdr.detectChanges()},ceb=function(a,b){zt(a,b);a.componentUnderEdit=b.value?Gj(a.components[b.value]):null;a.schedule(function(){a.elementRef.nativeElement.querySelector(".bv2-search-component-picker input").focus()})},
jeb=function(a,b){zt(a,b);a.trackerUnderEdit=b.value?Gj(a.trackers[b.value]):null;a.schedule(function(){a.elementRef.nativeElement.querySelector(".bv2-search-tracker-picker input").focus()})},qeb=function(a,b){zt(a,b);a.teamUnderEdit=b.value?Gj(a.teams[b.value]):null;a.schedule(function(){a.elementRef.nativeElement.querySelector(".bv2-search-team-picker input").focus()})},yt=function(a){a.chipUnderEdit=null;a.cdr.detectChanges()},seb=function(a,b){a.analytics.trackEvent(Mp.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;yt(a);a.schedule(function(){a.elementRef.nativeElement.querySelector(".bv2-search-team-picker input").focus()})};T4.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]};
T4.prototype.getCustomFieldName=function(a){return(a=a.label.customFieldId)?this.customFields[a].name||a:""};
var qEc={AND:"Match all (AND)",OR:"Match any (OR)"},pEc={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"}},tEc=["COMPONENT_ID","ASSIGNEE","STATUS","_TEXT_"];T4.\u0275fac=function(a){return new (a||T4)(A(wH),A(dH),A(J0),A(bU),A(ZG),A(WH),A(Q4),A(Vt),A(ke),A(ZF),A(hV),A(PH),A(F4),A(y4),A(sH,2),A(mL))};
T4.\u0275cmp=p({type:T4,selectors:[["b-advanced-search"]],inputs:{isTrackerSearchEnabled:"isTrackerSearchEnabled"},features:[Ug([sH]),qg,Hd],decls:1,vars:1,consts:[["class","bv2-adv-search",4,"ngIf"],[1,"bv2-adv-search"],[1,"bv2-adv-search-title"],["appearance","outline",4,"ngIf"],["class","bv2-adv-search-rule",4,"ngFor","ngForOf","ngForTrackBy"],[1,"bv2-adv-search-rule","bv2-adv-search-rule-new"],["mat-stroked-button","","type","button",1,"bv2-adv-search-rule-type","bv2-adv-search-rule-jfk-select",
3,"matMenuTriggerFor"],[1,"mat-select-panel"],["newExpressionMenu","matMenu"],["mat-menu-item","","type","button",3,"click",4,"ngFor","ngForOf"],["appearance","outline"],[1,"bv2-adv-search-join-type",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"bv2-adv-search-rule"],[1,"bv2-adv-search-rule-title"],[1,"bv2-adv-search-rule-type","bv2-adv-search-rule-jfk-select",3,"ngModel","ngModelChange","selectionChange"],["aria-label","Delete search rule",1,"bv2-remove-icon","keep-focus-ring",
"bv2-adv-search-rule-delete-btn",3,"click"],["class","bv2-adv-search-rule-content",4,"ngIf"],["class","bv2-adv-search-custom-field-label",4,"ngIf"],["class","bv2-adv-search-custom-field-selection",4,"ngIf"],[1,"bv2-adv-search-rule-op","bv2-adv-search-rule-jfk-select",3,"ngModel","ngModelChange"],[1,"bv2-adv-search-rule-content"],["class","bv2-adv-search-enum-rule",4,"ngIf"],[4,"ngIf"],["class","bv2-adv-search-chip-container",4,"ngIf"],[1,"bv2-adv-search-enum-rule"],["class","bv2-adv-search-enum-item",
4,"ngFor","ngForOf"],[1,"bv2-adv-search-enum-item"],[3,"checked","change"],["type","text","aria-label","Add one or more user names, separated by comma","placeholder","One or more user names, comma-separated",3,"ngModel","bContactAutocomplete","ngModelChange"],["type","text","aria-label","Add one or more values, separated by comma","placeholder","One or more values, comma-separated",3,"ngModel","ngModelChange"],["type","text","placeholder","One or more IDs, comma-separated - e.g., 1,2,3",3,"ngModel",
"ngModelChange"],["type","text","aria-label","Add the condition",3,"ngModel","ngModelChange"],[1,"bv2-adv-search-chip-container"],["class","bv2-adv-search-chip bv2-adv-search-chip-text",4,"ngFor","ngForOf"],["mat-stroked-button","","class","bv2-adv-search-chip-add-btn",3,"click",4,"ngIf"],[1,"bv2-adv-search-chip","bv2-adv-search-chip-text"],[1,"bv2-adv-search-chip-content"],["aria-label","Remove the condition",1,"bv2-adv-search-chip-delete-btn","bv2-remove-icon",3,"click"],["mat-stroked-button","",
1,"bv2-adv-search-chip-add-btn",3,"click"],[4,"ngFor","ngForOf"],["class","bv2-adv-search-chip bv2-adv-search-component-chip",4,"ngIf"],[1,"bv2-adv-search-chip","bv2-adv-search-component-chip"],["class","bv2-adv-search-chip-content bv2-adv-search-chip-content-btn",3,"title","click",4,"ngIf"],["class","bv2-adv-search-chip-content",4,"ngIf"],["role","switch","aria-label","Include subcomponents",1,"unstyled-button",3,"title","click"],[3,"svgIcon"],["aria-label","Remove the value",1,"bv2-adv-search-chip-delete-btn",
"bv2-remove-icon",3,"click"],[1,"bv2-adv-search-chip-content","bv2-adv-search-chip-content-btn",3,"title","click"],[1,"bv2-adv-search-chip-content-text"],[1,"bv2-search-component-picker",3,"selectedComponent","placeholder","isRequired","selectedComponentChange"],["class","bv2-adv-search-chip bv2-adv-search-tracker-chip",4,"ngIf"],[1,"bv2-adv-search-chip","bv2-adv-search-tracker-chip"],[1,"bv2-search-tracker-picker",3,"selectedTracker","onTrackerSelect"],["class","bv2-adv-search-chip bv2-adv-search-team-chip",
4,"ngIf"],[1,"bv2-adv-search-chip","bv2-adv-search-team-chip"],["role","switch","aria-label","Include subteams",1,"unstyled-button",3,"title","click"],[1,"bv2-search-team-picker",3,"teamSelected","onTeamSelect"],[3,"boundValue","isRequired","boundValueChange"],["type","text","maxlength","3",1,"bv2-duration-field",3,"ngModel","ngModelChange"],["class","bv2-adv-search-chip bv2-adv-search-bookmark-item-chip",4,"ngIf"],[1,"bv2-adv-search-chip","bv2-adv-search-bookmark-item-chip"],["appearance","outline",
"class","bv2-adv-search-bookmark-item-form-field",4,"ngIf"],["appearance","outline",1,"bv2-adv-search-bookmark-item-form-field"],["placeholder","Select hotlist",1,"bv2-adv-search-chip-content","bv2-adv-search-chip-content-selectable",3,"ngModel","ngModelChange","selectionChange"],["placeholder","Select search",1,"bv2-adv-search-chip-content","bv2-adv-search-chip-content-selectable",3,"ngModel","ngModelChange","selectionChange"],[1,"bv2-adv-search-custom-field-label"],[1,"bv2-adv-search-custom-field-selection"],
[3,"fieldSelected"],["mat-menu-item","","type","button",3,"click"]],template:function(a,b){a&1&&P(0,$eb,11,6,"div",0);a&2&&D("ngIf","SUCCESS"===b.getState())},dependencies:[xw,yw,WS,pZ,Qh,ax,tx,hx,I_,tA,XA,jB,FC,DC,EC,lP,vA,DO,R4,S4,nV,Jw,QJ,RJ],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 U4=function(){};U4.\u0275fac=function(a){return new (a||U4)};U4.\u0275mod=od({type:U4});U4.\u0275inj=Wc({imports:[Mw,LP,iP,ID,wx]});var V4=function(){};V4.\u0275fac=function(a){return new (a||V4)};V4.\u0275mod=od({type:V4});V4.\u0275inj=Wc({imports:[Mw,LP,iP,ID,wx]});var W4=function(){};W4.\u0275fac=function(a){return new (a||W4)};W4.\u0275mod=od({type:W4});W4.\u0275inj=Wc({imports:[Mw,XS,qZ,wx,M_,YC,YA,OC,aB,GC,mP,iP,XJ,U4,V4,vW]});var CEc=function(a){Y.call(this,a)};W(CEc,Y);g=CEc.prototype;g.getExperimentId=function(){return zj(this,1)};g.getState=function(){return tk(this,2,0)};g.getTitle=function(){return Dk(this,4)};g.setTitle=function(a){return k(this,4,a)};g.getDescription=function(){return Dk(this,5)};g.setDescription=function(a){return k(this,5,a)};g.hasDescription=function(){return Am(this,5)};var EEc=function(a){Y.call(this,a,-1,DEc)};W(EEc,Y);var DEc=[1];EEc.messageId="b.ListBeapFeaturesResponse";var X4=function(a){this.executor=a};X4.prototype.fetch=function(){return this.executor.get({url:"action/experiments",responseConstructor:EEc}).pipe(B(function(a){var b;return(null!=(b=yj(a,CEc,1))?b:[]).map(afb)}))};X4.\u0275fac=function(a){return new (a||X4)(n(KD))};X4.\u0275prov=Vc({token:X4,factory:X4.\u0275fac,providedIn:"root"});var Y4=function(a){rF.call(this,{freshUntil:Infinity,ancientAfter:Infinity});this.beapApi=a;this.recordType="beapFeature";this.idForRecord=function(b){return""+b.experimentId}};W(Y4,rF);Y4.prototype.fetchAll=function(){return this.beapApi.fetch().pipe(B(function(a){return{results:a}}))};Y4.\u0275fac=function(a){return new (a||Y4)(n(X4))};Y4.\u0275prov=Vc({token:Y4,factory:Y4.\u0275fac,providedIn:"root"});var Z4=function(a){this.beapFridge=a};Z4.prototype.getFeature=function(a){return FEc(this,"ALL").pipe(B(function(b){return b.find(function(c){return c.experimentId===a})}))};var FEc=function(a,b){b=void 0===b?"ALL":b;var c="ALL"===b,d="TEAM_FOOD"===b?1:2;return a.beapFridge.watchMany({}).pipe(B(function(e){return e.results.filter(function(f){return c?!0:f.userGroup===d})}))};Z4.prototype.refresh=function(){this.beapFridge.pokeMany({})};Z4.\u0275fac=function(a){return new (a||Z4)(n(Y4))};
Z4.\u0275prov=Vc({token:Z4,factory:Z4.\u0275fac,providedIn:"root"});var a5=function(){};a5.\u0275fac=function(a){return new (a||a5)};
a5.\u0275cmp=p({type:a5,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&&(I(0,0),P(1,bfb,1,0,"div",1),P(2,cfb,1,0,"div",2),J());a&2&&(D("ngSwitch",b.featureStage),z(1),D("ngSwitchCase","TEAM_FOOD"),z(1),D("ngSwitchCase","EARLY_ACCESS"))},dependencies:[zw,Aw],styles:[".badged[_ngcontent-%COMP%]::after{margin-left:0}"]});var b5=function(a){var b=this;this.beapService=a;this.experimentId$=new C.ReplaySubject(1);this.featureState$=this.experimentId$.pipe(cg(function(c){return b.beapService.getFeature(c)}));this.featureStage$=this.featureState$.pipe(B(function(c){if(!c)return"UNKNOWN";c=c.userGroup;return 1===c?"TEAM_FOOD":2===c?"EARLY_ACCESS":"UNKNOWN"}))};b5.prototype.ngOnChanges=function(){this.experimentId$.next(this.experimentId)};b5.prototype.ngOnInit=function(){};b5.\u0275fac=function(a){return new (a||b5)(A(Z4))};
b5.\u0275cmp=p({type:b5,selectors:[["b-app-beap-state-indicator"]],inputs:{experimentId:"experimentId"},features:[Hd],decls:2,vars:3,consts:[[3,"featureStage"]],template:function(a,b){a&1&&(H(0,"b-feature-stage-label",0),U(1,"async"));if(a&2){var c;D("featureStage",null!==(c=V(1,1,b.featureStage$))&&void 0!==c?c:void 0)}},dependencies:[a5,Ew],encapsulation:2});var c5=function(){};c5.\u0275fac=function(a){return new (a||c5)};c5.\u0275mod=od({type:c5});c5.\u0275inj=Wc({imports:[Mw]});var d5=function(){};d5.\u0275fac=function(a){return new (a||d5)};d5.\u0275mod=od({type:d5});d5.\u0275inj=Wc({imports:[Mw,c5]});var e5=function(a){this.domSafe=a;this.buttonLabel="";this.alertMode=this.menuMode=!1},dfb=function(a){Kp(a.domSafe,"https://g3doc.corp.google.com/company/teams/buganizer/release-notes/b3-releasenotes.md")};e5.\u0275fac=function(a){return new (a||e5)(A(PK))};
e5.\u0275cmp=p({type:e5,selectors:[["b-whats-new-button"]],inputs:{buttonLabel:"buttonLabel",menuMode:"menuMode",alertMode:"alertMode"},decls:2,vars:2,consts:[["mat-icon-button","","class","gmat-button","aria-label","Open release notes in a new tab",3,"matTooltip","click",4,"ngIf"],["mat-menu-item","","aria-label","Open release notes in a new tab",3,"click",4,"ngIf"],["mat-icon-button","","aria-label","Open release notes in a new tab",1,"gmat-button",3,"matTooltip","click"],[3,"svgIcon"],["mat-menu-item",
"","aria-label","Open release notes in a new tab",3,"click"]],template:function(a,b){a&1&&(P(0,efb,3,3,"button",0),P(1,ffb,2,1,"button",1));a&2&&(D("ngIf",!b.menuMode),z(1),D("ngIf",b.menuMode))},dependencies:[yw,jB,tA,DC,NC],styles:["[_nghost-%COMP%] { display: flex; }"]});var f5=function(a,b,c){Z.call(this);this.session=a;this.appsEvents=b;this.prefsManager=c;this.density="COMFORTABLE";this.enableWhatsNewDialog=DE(a,"enableWhatsNewDialog");this.enableBeap=DE(a,"enableBeap")};W(f5,Z);f5.\u0275dir=Z.\u0275dir;g=f5.prototype;g.ngOnInit=function(){var a=this;this.prefsManager.preferences$.pipe(dg(this.destroyed$)).subscribe(function(b){if(null==b?0:b.themePreferences)a.density=b.themePreferences.density})};g.setDensity=function(a){this.appsEvents.topBarEvents.setDensity.next(a)};
g.browseComponents=function(a){this.appsEvents.topBarEvents.browseComponents.next({newTab:a.ctrlKey||a.metaKey})};g.manageHotlists=function(a){this.appsEvents.topBarEvents.manageHotlists.next({newTab:a.ctrlKey||a.metaKey})};g.manageSlos=function(a){this.appsEvents.topBarEvents.manageSlos.next({newTab:a.ctrlKey||a.metaKey})};g.showSettings=function(a){this.appsEvents.topBarEvents.openSettings.next({newTab:a.ctrlKey||a.metaKey})};f5.\u0275fac=function(a){return new (a||f5)(A(Vt),A(cG),A(ZI))};
f5.\u0275cmp=p({type:f5,selectors:[["b-app-settings-menu"]],features:[qg],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&&(E(0,"button",0),H(1,"mat-icon",1),F(),E(2,"mat-menu",null,2)(4,"div",3),Q(5,"Display Density"),F(),E(6,"button",4),K("click",function(){return b.setDensity("COMFORTABLE")}),E(7,"span",5),H(8,"mat-icon",6),F(),Q(9," Comfortable "),F(),E(10,"button",7),K("click",function(){return b.setDensity("COZY")}),E(11,"span",5),H(12,"mat-icon",6),F(),Q(13," Cozy "),F(),E(14,"button",8),K("click",function(){return b.setDensity("COMPACT")}),E(15,"span",5),H(16,"mat-icon",6),F(),Q(17," Compact "),F(),H(18,"mat-divider"),
E(19,"button",9),K("click",function(d){return b.browseComponents(d)}),Q(20,"Browse components"),F(),E(21,"button",9),K("click",function(d){return b.manageHotlists(d)}),Q(22,"Manage hotlists"),F(),P(23,gfb,2,0,"button",10),E(24,"button",9),K("click",function(d){return b.showSettings(d)}),Q(25,"Settings"),F(),P(26,hfb,3,0,"a",11),P(27,ifb,3,1,"ng-container",12),F());if(a&2){var c=O(3);D("disabled",b.session.isAnonymous())("matMenuTriggerFor",c);z(6);Fg("b-menu-item-checked","COMFORTABLE"===b.density);
ug("aria-checked","COMFORTABLE"===b.density);z(4);Fg("b-menu-item-checked","COZY"===b.density);ug("aria-checked","COZY"===b.density);z(4);Fg("b-menu-item-checked","COMPACT"===b.density);ug("aria-checked","COMPACT"===b.density);z(12);D("ngIf",b.enableBeap);z(1);D("ngIf",b.enableWhatsNewDialog)}},dependencies:[yw,FC,DC,EC,tA,AM,NC,jB,e5,zQ,a5],encapsulation:2,changeDetection:0});var g5=function(a){this.theme=a;this.isDark=!1;this.iconName="brightness-4"};g5.prototype.ngOnInit=function(){this.theme.loadLocalDarkmode();GEc(this)};var GEc=function(a){a.isDark=a.theme.clientDarkmodeSubject.getValue();a.iconName=a.isDark?"brightness-high":"brightness-4"};g5.\u0275fac=function(a){return new (a||g5)(A(qQ))};
g5.\u0275cmp=p({type:g5,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&&(E(0,"button",0),K("click",function(){var c=b.theme;c.setLocalDarkmode(!c.clientDarkmodeSubject.getValue());c.clientStreamzService&&c.clientStreamzService.logUsageMetric("toggleDarkmode",!c.clientDarkmodeSubject.getValue());f9b(c,!c.clientDarkmodeSubject.getValue());
GEc(b)}),H(1,"mat-icon",1),F());a&2&&(z(1),D("svgIcon",b.iconName))},dependencies:[tA,jB,NC],encapsulation:2});var h5=function(a,b,c,d){this.session=a;this.userFeedback=b;this.domSafe=c;this.docLinks=d;this.enableWhatsNewDialog=DE(a,"enableWhatsNewDialog");this.majorReleaseNotesUpdated=DE(a,"majorReleaseNotesUpdated")};h5.\u0275fac=function(a){return new (a||h5)(A(Vt),A(sQ),A(PK),A(SI))};
h5.\u0275cmp=p({type:h5,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&&(H(0,"theme-change-btn"),P(1,jfb,1,1,"b-whats-new-button",0),P(2,kfb,2,0,"button",1),E(3,"button",2),K("click",function(){var c=b.domSafe,d=c.openInNewTab;var e=b.docLinks;e=e.session.isInternalSession()?"https://g3doc.corp.google.com/company/teams/buganizer/user-guide":e.baseDocumentationUrl;d.call(c,e)}),H(4,"mat-icon",3),F(),H(5,"b-app-settings-menu"));a&2&&(z(1),D("ngIf",b.enableWhatsNewDialog))},
dependencies:[yw,tA,NC,jB,e5,zQ,g5,f5],styles:["[_nghost-%COMP%]{display:flex;align-items:center;flex-wrap:nowrap;color:#5f6368;color:var(--icon)}.new-feature-link[_ngcontent-%COMP%]{color:#3c4043;color:var(--c800)}\n/*# sourceMappingURL=app_actions.css.map */"],changeDetection:0});var i5=function(a,b){this.currentTracker=a;this.appSearchState=b;this.isTrackerExpanded=!1};i5.\u0275fac=function(a){return new (a||i5)(A(mL),A(AX))};
i5.\u0275cmp=p({type:i5,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&&(E(0,"button",0),K("menuOpened",function(){return b.isTrackerExpanded=!0})("menuClosed",function(){return b.isTrackerExpanded=!1}),H(1,"mat-icon",1),F(),E(2,"mat-menu",2,3)(4,"span",4),Q(5,"Select a tracker"),F(),P(6,lfb,4,4,"button",5),F());if(a&2){var c=O(3);D("matMenuTriggerFor",c);ug("aria-label",b.isTrackerExpanded?"Expanded tracker menu":"Collapsed tracker menu");z(6);D("ngForOf",
b.associatedTrackers)}},dependencies:[xw,tA,jB,FC,DC,EC,NC],styles:[".tracker-menu-button[_ngcontent-%COMP%]{color:#3c4043;color:var(--gfx)}mat-icon[_ngcontent-%COMP%]{line-height:0}.tracker-menu-label[_ngcontent-%COMP%]{display:inline-block;padding:8px}.mat-menu-item[_ngcontent-%COMP%]{max-width:none;height:auto;overflow:visible;padding:8px 25px}.mat-menu-item[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%]{margin:0px}.tracker-menu-item-logo[_ngcontent-%COMP%]{height:40px;vertical-align:middle;width:40px;margin-right:12px}.tracker-menu-item-name[_ngcontent-%COMP%]{color:#3c4043;color:var(--gfx);font-size:.8125rem;white-space:nowrap}\n/*# sourceMappingURL=tracker_switcher.css.map */"],
changeDetection:0});var nfb=function(a){return[a]},ofb=function(){return[]},j5=function(a){this.activeSession=a;this.clickMenu=new Rv;this.showMenu=!1;this.clickLogo=new Rv;this.chips=[]};j5.prototype.ngOnInit=function(){this.showMenu=!this.activeSession.isAnonymous()&&this.clickMenu.observed};j5.\u0275fac=function(a){return new (a||j5)(A(Vt))};
j5.\u0275cmp=p({type:j5,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&&(Ng(),P(0,mfb,2,0,"button",0),E(1,"a",1),K("click",function(){return b.clickLogo.emit()}),H(2,"img",2)(3,"img",3),E(4,"h1"),Q(5),F()(),Og(6),P(7,pfb,2,5,"output",4));a&2&&(D("ngIf",b.showMenu),z(1),ug("href",b.href?b.href:void 0,Ie),z(1),D("src",b.imgSrc,Ie),z(1),D("src",b.imgSrcDark||b.imgSrc,Ie),z(2),Sg(b.name),z(2),D("ngForOf",b.chips))},dependencies:[ww,xw,yw,tA,jB],styles:['[_nghost-%COMP%]{box-sizing:border-box;height:48px;padding:0 16px;min-width:300px}[_nghost-%COMP%], a[_ngcontent-%COMP%]{display:flex;align-items:center}.menu[_ngcontent-%COMP%]{color:#3c4043;color:var(--gfx);margin-right:12px}.logo[_ngcontent-%COMP%]{width:30px;height:30px;padding:3px;margin-right:12px}h1[_ngcontent-%COMP%]{font-family:"Google Sans",Roboto,Arial,sans-serif;line-height:1.5rem;font-size:1rem;letter-spacing:.00625em;font-weight:500;color:#3c4043;color:var(--gfx);font-size:1.375rem;font-weight:normal;display:inline-block;margin:0;padding:0;margin-right:8px;white-space:nowrap}.dark-mode   [_nghost-%COMP%]     .logo{filter:brightness(1.1) contrast(1.3)}.logo.dark[_ngcontent-%COMP%]{display:none}.dark-mode   [_nghost-%COMP%]     .logo.light{display:none}.dark-mode   [_nghost-%COMP%]     .logo.dark{display:inline-block}\n/*# sourceMappingURL=app_logo.css.map */'],
changeDetection:0});var HEc=function(){return[]},k5=function(a){this.events=a;this.environmentType="QA";this.frontendAccessMode="INTERNAL";this.href="/";this.chips=[];this.name="Buganizer"};k5.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"})};
k5.prototype.ngOnChanges=function(a){if(a.tracker||a.frontendAccessMode)this.name=this.getAppName()};k5.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:jj(this.frontendAccessMode,"unknown frontend access mode.")}};
Xi.Object.defineProperties(k5.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"}}});k5.\u0275fac=function(a){return new (a||k5)(A(cG))};
k5.\u0275cmp=p({type:k5,selectors:[["b-app-logo"]],inputs:{environmentType:"environmentType",frontendAccessMode:"frontendAccessMode",tracker:"tracker",associatedTrackers:"associatedTrackers",href:"href"},features:[Hd],decls:2,vars:7,consts:[[3,"name","href","chips","imgSrc","imgSrcDark","clickMenu"],[3,"associatedTrackers",4,"ngIf"],[3,"associatedTrackers"]],template:function(a,b){a&1&&(E(0,"app-logo",0),K("clickMenu",function(){return b.events.onClickAppMenuIcon.next()}),P(1,qfb,1,1,"tracker-switcher",
1),F());if(a&2){var c;D("name",b.name)("href",b.href)("chips",b.chips)("imgSrc",b.imgSrc)("imgSrcDark",b.imgSrcDark);z(1);D("ngIf",0<(null!==(c=b.associatedTrackers)&&void 0!==c?c:Wg(6,HEc)).length)}},dependencies:[yw,j5,i5],encapsulation:2,changeDetection:0});var l5=function(){this.isActive=!1;this.optionClicked=new Rv};l5.prototype.ngOnInit=function(){};l5.prototype.onClick=function(){this.optionClicked.emit(this.index)};l5.\u0275fac=function(a){return new (a||l5)};
l5.\u0275cmp=p({type:l5,selectors:[["b-app-search-auto-complete-option"]],hostVars:2,hostBindings:function(a,b){a&1&&K("click",function(){return b.onClick()});a&2&&Fg("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&&(Ng(),E(0,"div",0),Og(1),F())},styles:["[_nghost-%COMP%]{cursor:pointer;display:flex;position:relative}.active[_nghost-%COMP%]{background-color:rgba(0,0,0,.12);background-color:var(--focus-bg)}[_nghost-%COMP%]:hover:not(.active){background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}.content[_ngcontent-%COMP%]{flex-grow:1;overflow:hidden;padding:8px 16px 8px 36px;text-overflow:ellipsis}.mat-ripple[_ngcontent-%COMP%]{pointer-events:none;position:absolute;height:100%;width:100%}\n/*# sourceMappingURL=app_search_auto_complete_option.css.map */"],
changeDetection:0});var m5=function(a,b){this.ref=a;this.hostElement=b;this.items=[];this.header=null;this.itemSelected=new Rv;this.activeItemChanged=new Rv;this.SPECIAL_ITEM_TYPES="issue hotlist savedsearch atom component team tracker".split(" ")};m5.prototype.ngOnChanges=function(a){a.items&&(0<this.items.length?(this.activeItemIndex=0,this.activeItemChanged.emit(this.items[0])):this.clearActiveItem(),this.ref.markForCheck())};m5.prototype.ngAfterViewInit=function(){};var Rfb=function(a){var b=N(3);Zfb(a);b.itemSelected.emit(a)};
m5.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(),IEc(this))};
m5.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(),IEc(this))};var JEc=function(a){null!=a.activeItemIndex&&a.itemSelected.emit(a.items[a.activeItemIndex])};m5.prototype.clearActiveItem=function(){this.activeItemIndex=void 0;this.activeItemChanged.emit(void 0)};
var KEc=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}},IEc=function(a){var b=a.itemElements.find(function(c,d){return d===a.activeItemIndex});b&&Uec(b.nativeElement,a.hostElement.nativeElement)},Zfb=function(a){So(Mp.SEARCH,"autocomplete-select",a.completionCfg.type||"unknown_type",isNaN(Number(a.id))?1:Number(a.id))};m5.\u0275fac=function(a){return new (a||m5)(A(sH,2),A(ke))};
m5.\u0275cmp=p({type:m5,selectors:[["b-app-search-auto-complete-list"]],viewQuery:function(a,b){a&1&&ih(l5,5,ke);if(a&2){var c;hh(c=kh())&&(b.itemElements=c)}},inputs:{items:"items",header:"header"},outputs:{itemSelected:"itemSelected",activeItemChanged:"activeItemChanged"},features:[Ug([sH]),Hd],decls:3,vars:2,consts:[["class","header gmat-caption",4,"ngIf"],"role;listbox;aria-label;Search autocomplete list;id;b-search-box-autocomplete".split(";"),["role","option",3,"index","isActive","optionClicked",
4,"ngFor","ngForOf"],[1,"header","gmat-caption"],[4,"ngIf"],[4,"ngIf","ngIfElse"],["noHotlistSelected",""],["noSavedSearchSelected",""],["noComponentSelected",""],[1,"margin-s-right"],[3,"accessLevel"],[3,"trackerId"],["noTrackerSelected",""],["noTeamSelected",""],["noSelectedCustomField",""],["role","option",3,"index","isActive","optionClicked"],[1,"monospaced","item-description"],[1,"item-description"],[4,"ngFor","ngForOf"],["role","button",3,"title","click"]],template:function(a,b){a&1&&(P(0,Lfb,
7,6,"div",0),E(1,"div",1),P(2,$fb,9,11,"b-app-search-auto-complete-option",2),F());a&2&&(D("ngIf",b.header&&b.header.type),z(2),D("ngForOf",b.items))},dependencies:[xw,yw,qP,qL,l5,Fw],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;max-height:inherit;overflow-y:auto}.header[_ngcontent-%COMP%]{padding:4px 16px 4px 36px}.item-description[_ngcontent-%COMP%]{display:block;margin-top:5px}span[role=button][_ngcontent-%COMP%]{cursor:pointer}span[role=button][_ngcontent-%COMP%]:hover{text-decoration:underline}\n/*# sourceMappingURL=app_search_auto_complete_list.css.map */"],
changeDetection:0});var LEc=["box"],MEc=["initialFocus"],NEc=["finalFocus"],n5=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 Rv;this.onAdvancedSearchClose=new Rv;this.onAdvancedSearchSubmit=new Rv;this.onSaveSearch=new Rv;this.dropdownStatus="closed";this.searchName="";this.searchHelpLink=this.documentationLinks.baseDocumentationUrl+"/guides/search-editor";
this.destroyed$=new C.Subject;this.currentQuery$=this.appSearchState.queryState$.pipe(B(function(d){return d.query}));this.autoCompleteItemSelected$=new C.Subject;this.isAnonymous=this.activeSession.isAnonymous()};
n5.prototype.ngOnInit=function(){var a=this;this.autoCompleteItemSelected$.pipe(fg(this.currentQuery$),dg(this.destroyed$)).subscribe(function(b){b=m(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()})};
n5.prototype.ngAfterViewInit=function(){var a=this;this.appSearchState.queryState$.pipe(Gf(function(b){return!b.setViaInteraction}),dg(this.destroyed$)).subscribe(function(b){var c=b.cursorPosition;a.inputBox.nativeElement.value=b.query;null!=c&&(b=a.inputBox.nativeElement,sec(b)&&(b.selectionStart=c,b.selectionEnd=c))})};n5.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete()};
var OEc=function(a){a.appSearchState.searchTriggered$.next("keyboard")},PEc=function(a,b){a.dropdownStatus="auto_complete";a.acList.clearActiveItem();a.appSearchState.queryState$.next({query:b,cursorPosition:a.getCursorPosition(),setViaInteraction:!0})};
n5.prototype.handleKeydown=function(a){switch(a.key){case "Escape":if(!o5(this))return;QEc(this);break;case "ArrowUp":if(!o5(this))return;this.acList.setPreviousItemActive();break;case "ArrowDown":if(!o5(this))return;this.acList.setNextItemActive();break;case "Tab":case "ArrowRight":if(!o5(this)){PEc(this,this.inputBox.nativeElement.value);return}JEc(this.acList);break;case "ArrowLeft":PEc(this,this.inputBox.nativeElement.value);return;case "Enter":o5(this)?null!=this.acList.activeItemIndex?JEc(this.acList):
OEc(this):OEc(this);break;default:return}a.preventDefault();a.stopPropagation()};n5.prototype.submitAdvancedSearch=function(){this.onAdvancedSearchSubmit.emit();REc(this)};n5.prototype.getCursorPosition=function(){var a=tec(this.inputBox.nativeElement,!0)[0];if(a===tec(this.inputBox.nativeElement,!1)[1])return a};
var QEc=function(a){"auto_complete"===a.dropdownStatus&&(a.dropdownStatus="closed")},REc=function(a){"advanced_search"===a.dropdownStatus&&(a.dropdownStatus="closed",a.onAdvancedSearchClose.emit())},o5=function(a){return"auto_complete"===a.dropdownStatus&&0<a.autoCompleteItems.length},SEc=function(a){return"auto_complete"===a.dropdownStatus&&null!=a.autoCompleteHeader},TEc=function(a){return"advanced_search"===a.dropdownStatus};
n5.prototype.saveSearch=function(){this.searchName&&(this.onSaveSearch.emit(this.searchName),this.searchName="",REc(this))};var UEc=function(a,b){b.shiftKey&&"Tab"===b.key&&a.advancedSearchFinalFocus&&setTimeout(function(){return a.advancedSearchFinalFocus.nativeElement.focus()})},agb=function(a){a.advancedSearchInitialFocus&&setTimeout(function(){return a.advancedSearchInitialFocus.nativeElement.focus()})};n5.\u0275fac=function(a){return new (a||n5)(A(SI),A(AX),A(Vt))};
n5.\u0275cmp=p({type:n5,selectors:[["b-app-search-box"]],viewQuery:function(a,b){a&1&&(ih(m5,7),ih(LEc,5),ih(MEc,7,ke),ih(NEc,7));if(a&2){var c;hh(c=kh())&&(b.acList=c.first);hh(c=kh())&&(b.inputBox=c.first);hh(c=kh())&&(b.advancedSearchInitialFocus=c.first);hh(c=kh())&&(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=t();Ng();E(0,"div",0);K("clickOutside",function(){QEc(b)});E(1,"div",1)(2,"button",2);K("click",function(){return OEc(b)});H(3,"mat-icon",3);F();E(4,"textarea",4,5);K("keydown",function(d){return b.handleKeydown(d)})("input",
function(){v(c);var d=O(5);return w(PEc(b,d.value))})("click",function(){v(c);var d=O(5);return w(PEc(b,d.value))})("focus",function(){b.dropdownStatus="auto_complete"});F();E(6,"button",6);K("click",function(){b.dropdownStatus="advanced_search";b.onAdvancedSearchOpen.emit()});H(7,"mat-icon",7);F()();E(8,"aside",8)(9,"b-app-search-auto-complete-list",9);K("itemSelected",function(d){return b.autoCompleteItemSelected$.next(d)});F();E(10,"div",10)(11,"div",11)(12,"button",12,13);K("keydown",function(d){return UEc(b,
d)})("click",function(){return REc(b)});H(14,"mat-icon",14);F()();E(15,"div",15);Og(16);F();E(17,"div",16)(18,"button",17);K("click",function(){return b.submitAdvancedSearch()});Q(19," Search ");F();E(20,"a",18);Q(21,"Search help ");H(22,"mat-icon",19);F();P(23,bgb,5,2,"div",20);F()()()()}a&2&&(Fg("dropdown-opened",o5(b)||SEc(b)||TEc(b)),z(1),Fg("hidden",TEc(b)),z(3),D("placeholder",b.placeholder),ug("aria-activedescendant",KEc(b.acList))("aria-expanded",o5(b)||SEc(b)),z(4),Fg("advanced-search-open",
TEc(b)),z(1),Fg("hidden",!(o5(b)||SEc(b))),D("items",b.autoCompleteItems)("header",b.autoCompleteHeader),z(1),Fg("hidden",!TEc(b)),z(2),D("disabled",b.isSearchDisabled),z(6),D("disabled",b.isSearchDisabled),z(2),ug("href",b.searchHelpLink,Ie),z(3),D("ngIf",!b.isAnonymous))},dependencies:[yw,rz,tA,NC,jB,Qh,ax,hx,xO,PA,m5],styles:['[_nghost-%COMP%]{display:flex;align-items:center;flex-grow:1;position:relative;min-width:320px;height:40px}.search-form-container[_ngcontent-%COMP%]{position:absolute;display:flex;flex-direction:column;justify-content:center;align-items:center;background-color:#f1f3f4;background-color:var(--main-search-bg);border-radius:8px;max-width:800px;min-width:320px;overflow:hidden;top:0;transition:all .1s ease-in-out;transition-property:box-shadow,height,max-height,overflow;width:100%}.search-box-container[_ngcontent-%COMP%]{display:flex;flex-grow:1;width:calc(100% - 8px * 2);min-height:40px;height:auto}.search-dropdown[_ngcontent-%COMP%]{max-height:0;overflow:hidden;top:40px;width:100%;transition:max-height .2s ease-in-out}.search-form-container.dropdown-opened[_ngcontent-%COMP%]   .search-dropdown[_ngcontent-%COMP%]{max-height:600px;padding-bottom:6px}.search-dropdown[_ngcontent-%COMP%]{padding-bottom:0}.search-form-container[_ngcontent-%COMP%]:focus-within, .search-form-container.dropdown-opened[_ngcontent-%COMP%]{box-shadow:0px 1px 2px 0px rgba(0, 0, 0, 0.3), 0px 2px 6px 2px rgba(0, 0, 0, 0.15);background-color:#fff;background-color:var(--surface-default)}.search-form-container[_ngcontent-%COMP%]:focus-within   textarea[_ngcontent-%COMP%], .search-form-container.dropdown-opened[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%]{color:#202124;color:var(--text-default)}.search-form-container[_ngcontent-%COMP%]:focus-within   input[_ngcontent-%COMP%], .search-form-container.dropdown-opened[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{color:#202124;color:var(--text-default)}.search-form-container[_ngcontent-%COMP%]:not(:focus-within):not(.dropdown-opened)   textarea[_ngcontent-%COMP%]{height:auto !important;overflow:hidden}.mat-icon-button[_ngcontent-%COMP%]{height:24px;width:24px;line-height:24px}.search-box-container[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#5f6368;color:var(--icon)}.search-box-container[_ngcontent-%COMP%]   .mat-icon-button[_ngcontent-%COMP%]{margin-top:8px}textarea[_ngcontent-%COMP%]{border:0;background-color:initial;outline:none;resize:none;padding:0;cursor:auto;color:#202124;color:var(--text-high-contrast);margin:10px 0;margin-left:5px;height:20px;line-height:20px;width:100%;overflow:auto}textarea[_ngcontent-%COMP%]:focus{border:0;padding:0;outline:none}textarea[_ngcontent-%COMP%]::-webkit-scrollbar{width:10px}textarea[_ngcontent-%COMP%]::-webkit-scrollbar-track{background-color:rgba(0,0,0,0);border-radius:10px;border:0}textarea[_ngcontent-%COMP%]::-webkit-scrollbar-track:vertical{margin:5px 0}textarea[_ngcontent-%COMP%]::-webkit-scrollbar-track:horizontal{margin:0 5px}textarea[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{border-radius:10px;background-color:rgba(0,0,0,.2)}textarea[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{background-color:rgba(0,0,0,.4)}textarea[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:active{background-color:rgba(0,0,0,.5)}.advanced-search[_ngcontent-%COMP%]{padding:6px 6px 0 6px}.advanced-search-content[_ngcontent-%COMP%]{overflow:auto;max-height:532px}.advanced-search-footer[_ngcontent-%COMP%]{display:flex;align-items:center;margin-top:6px}.search-help-link[_ngcontent-%COMP%]{margin-left:10px}.save-search-container[_ngcontent-%COMP%]{display:inline-flex;align-items:center;margin-left:auto;border:1px solid;border-color:#dadce0;border-color:var(--divider);border-radius:2px;padding:0 5px}.save-search-container[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{border:0;outline:none}[_nghost-%COMP%]     .bv2-adv-search-rule{background-color:#fff;background-color:var(--surface-default);display:flex;border-radius:10px;width:initial}[_nghost-%COMP%]     .bv2-adv-search-rule-title{display:flex}[_nghost-%COMP%]     .bv2-adv-search-rule-content{flex-grow:1;padding-right:25px;width:100%}[_nghost-%COMP%]     .bv2-adv-search-enum-item{min-width:130px;max-width:130px}[_nghost-%COMP%]     .bv2-adv-search-chip-content input:not(.override){border-radius:5px;border:1px solid;border-color:#dadce0;border-color:var(--divider);outline:0}[_nghost-%COMP%]     .goog-flat-menu-button.jfk-select{border-radius:5px;letter-spacing:0;min-width:105px;padding-right:24px}[_nghost-%COMP%]     .goog-flat-menu-button.jfk-select .goog-flat-menu-button-dropdown{border:0;height:initial;margin-top:initial;position:relative;right:initial;top:initial;width:initial}[_nghost-%COMP%]     .goog-flat-menu-button.jfk-select:not(:disabled){border:1px solid;border-color:#dadce0;border-color:var(--divider);color:#3c4043;color:var(--gfx);padding-right:24px}[_nghost-%COMP%]     .goog-flat-menu-button.jfk-select:not(:disabled):hover, [_nghost-%COMP%]     .goog-flat-menu-button.jfk-select:not(:disabled):active, [_nghost-%COMP%]     .goog-flat-menu-button.jfk-select:not(:disabled):not(.mdc-ripple-upgraded):focus{padding-right:24px;border-color:#3c4043;border-color:var(--gfx);color:#202124;color:var(--text-default);box-shadow:none}[_nghost-%COMP%]     .goog-flat-menu-button.goog-flat-menu-button-open.jfk-select{background-color:#fff;background-color:var(--surface-default)}[_nghost-%COMP%]     .bv2-adv-search-custom-field-selection input:not(.override), [_nghost-%COMP%]     .bv2-adv-search-rule-content input:not(.override){border-radius:5px;border:1px solid;border-color:#dadce0;border-color:var(--divider);height:28px;margin:0;padding-left:10px;width:100%}[_nghost-%COMP%]     .bv2-adv-search-custom-field-selection input:not(.override):focus, [_nghost-%COMP%]     .bv2-adv-search-rule-content input:not(.override):focus{border-color:#3c4043;border-color:var(--gfx);outline:0}[_nghost-%COMP%]     .bv2-adv-search-chip-add-btn{margin-right:20px}[_nghost-%COMP%]     .bv2-adv-search-chip{display:inline-flex;align-items:center;border:none;background-color:#fff;background-color:var(--surface-default);height:32px;width:100%;margin-bottom:10px}[_nghost-%COMP%]     .bv2-adv-search-chip-container{display:flex;flex-direction:column;width:100%}[_nghost-%COMP%]     .bv2-adv-search-chip-content{width:100%}[_nghost-%COMP%]     .bv2-adv-search-chip-content input[type=text]:not(.override){width:calc(100% - 10px)}[_nghost-%COMP%]     .bv2-adv-search-chip-content .bv2-adv-search-chip-delete-btn{margin-left:10px}[_nghost-%COMP%]     .bv2-adv-search-chip-content-selectable .goog-flat-menu-button{height:32px;margin:0;width:100%;text-align:left}[_nghost-%COMP%]     .bv2-adv-search-chip-content-btn{display:inline-flex;align-items:center;font-family:"Google Sans",Roboto,Arial,sans-serif;height:32px;border:1px solid;border-color:#dadce0;border-color:var(--divider);border-radius:5px;box-sizing:border-box;color:#3c4043;color:var(--gfx)}[_nghost-%COMP%]     .bv2-adv-search-chip-content-btn:hover, [_nghost-%COMP%]     .bv2-adv-search-chip-content-btn:active, [_nghost-%COMP%]     .bv2-adv-search-chip-content-btn:focus{border-color:#3c4043;border-color:var(--gfx);color:#202124;color:var(--text-default)}[_nghost-%COMP%]     .bv2-adv-search-chip-content-btn:after{margin-left:auto;content:"";width:16px;height:16px;background:no-repeat url("https://www.gstatic.com/buganizer/img/v0/edit.svg") 0 -2px;margin-right:5px;opacity:.6}[_nghost-%COMP%]     .bv2-adv-search-chip-content-text{font-family:"Google Sans",Roboto,Arial,sans-serif;font-size:.875rem;font-weight:500;line-height:1rem;padding-left:12px;vertical-align:middle}\n/*# sourceMappingURL=app_search_box.css.map */'],
changeDetection:0});var p5=function(a){this.currentTracker=a;this.logoEnvironmentType="QA";this.logoFrontendAccessMode="INTERNAL";this.isSearchDisabled=!1;this.searchBoxPlaceholder="";this.searchBoxAutoCompleteItems=[];this.searchBoxAutoCompleteHeader=null;this.searchBoxOnAdvancedSearchOpen=new Rv;this.searchBoxOnAdvancedSearchClose=new Rv;this.searchBoxOnAdvancedSearchSubmit=new Rv;this.searchBoxOnSaveSearch=new Rv};p5.\u0275fac=function(a){return new (a||p5)(A(mL))};
p5.\u0275cmp=p({type:p5,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&&(Ng(),H(0,"b-app-logo",0),U(1,"async"),U(2,"async"),E(3,"b-app-search-box",1),K("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)}),Og(4),F(),H(5,"b-app-actions"));a&2&&(D("environmentType",b.logoEnvironmentType)("frontendAccessMode",b.logoFrontendAccessMode)("tracker",V(1,8,b.currentTracker.tracker$))("associatedTrackers",V(2,10,b.currentTracker.associatedTrackers$)),z(3),D("placeholder",b.searchBoxPlaceholder)("autoCompleteItems",
b.searchBoxAutoCompleteItems)("autoCompleteHeader",b.searchBoxAutoCompleteHeader)("isSearchDisabled",b.isSearchDisabled))},dependencies:[k5,h5,n5,Ew],styles:["[_nghost-%COMP%]{display:flex;align-items:center}b-app-search-box[_ngcontent-%COMP%]{display:flex;flex-grow:1;justify-content:center}\n/*# sourceMappingURL=app_top_bar.css.map */"],changeDetection:0});var q5=function(){};q5.\u0275fac=function(a){return new (a||q5)};q5.\u0275mod=od({type:q5});q5.\u0275inj=Wc({imports:[Mw,NA,YC,OP]});var r5=function(){};r5.\u0275fac=function(a){return new (a||r5)};r5.\u0275mod=od({type:r5});r5.\u0275inj=Wc({imports:[Mw,YC,OC,GC,ID]});var s5=function(){};s5.\u0275fac=function(a){return new (a||s5)};s5.\u0275mod=od({type:s5});s5.\u0275inj=Wc({imports:[Mw,OC,YC,GC,ID]});var t5=function(){};t5.\u0275fac=function(a){return new (a||t5)};t5.\u0275mod=od({type:t5});t5.\u0275inj=Wc({imports:[Mw,YC,OC,ID]});var u5=function(){};u5.\u0275fac=function(a){return new (a||u5)};u5.\u0275mod=od({type:u5});u5.\u0275inj=Wc({providers:[qQ]});var v5=function(){};v5.\u0275fac=function(a){return new (a||v5)};v5.\u0275mod=od({type:v5});v5.\u0275inj=Wc({imports:[Mw,YC,OC,ID,u5]});var w5=function(){};w5.\u0275fac=function(a){return new (a||w5)};w5.\u0275mod=od({type:w5});w5.\u0275inj=Wc({imports:[Mw,GC,YC,fU,ID,OC,yz,wx,yO,s5,cY,t5,vP,RA,c5,v5,q5,r5,aO]});var x5=function(){};x5.\u0275fac=function(a){return new (a||x5)};x5.\u0275mod=od({type:x5});x5.\u0275inj=Wc({imports:[Mw,YC,NA]});var y5=function(){};y5.\u0275fac=function(a){return new (a||y5)};y5.\u0275mod=od({type:y5});y5.\u0275inj=Wc({imports:[Mw,wx,YC,aB,YA,NA,vW]});var z5=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 Rv;this.selectedChange=new Rv;this.cardTitleChange=new Rv;this.onSaveButtonClicked=new Rv;this.onCancelButtonClicked=
new Rv;this.isInheritedChange=new Rv;this.isExpanded=!1};z5.prototype.expand=function(){this.isExpanded=!0};z5.prototype.collapse=function(){this.isExpanded=!1};z5.prototype.onSave=function(){this.collapse();this.onSaveButtonClicked.emit()};z5.prototype.onCancel=function(){this.collapse();this.onCancelButtonClicked.emit()};z5.\u0275fac=function(a){return new (a||z5)};
z5.\u0275cmp=p({type:z5,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&&(Ng(),E(0,"div",0)(1,"div",1)(2,"mat-checkbox",2),K("change",function(d){b.selected=d.checked;b.expand();b.selectedChange.emit(b.selected)}),F(),P(3,cgb,3,3,"ng-container",3),E(4,"button",4),K("click",function(){b.isExpanded?b.collapse():b.expand()}),P(5,dgb,1,0,"mat-icon",5),P(6,egb,1,0,"mat-icon",6),F(),P(7,kgb,3,7,"ng-template",null,
7,qh),F(),P(9,lgb,2,0,"div",8),P(10,qgb,9,6,"div",9),F());if(a&2){var c=O(8);ug("aria-expanded",b.isExpanded);z(2);Fg("expanded-checkbox",b.isExpanded);D("disabled",b.disabled)("checked",b.selected)("aria-label",b.cardTitle);z(1);D("ngIf",!b.isExpanded)("ngIfElse",c);z(1);D("ngClass",b.isExpanded?"collapse-toggle":"expand-toggle");ug("aria-label",b.isExpanded?"Collapse editor":"Expand editor");z(1);D("ngIf",b.isExpanded);z(1);D("ngIf",!b.isExpanded);z(3);D("ngIf",b.isExpanded);z(1);D("ngIf",b.isExpanded)}},
dependencies:[ww,xw,yw,Qh,ax,sx,tx,hx,DO,tA,YT,jB,XA,VA,lP,kP,vA,AM,$A,NC],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 A5=function(){};A5.\u0275fac=function(a){return new (a||A5)};A5.\u0275mod=od({type:A5});A5.\u0275inj=Wc({imports:[Mw,wx,iP,YC,HU,OC,mP,fU,aB,ID]});var B5=function(a){Y.call(this,a,-1,VEc)};W(B5,Y);B5.prototype.setFieldIdList=function(a){return ac(this,1,a)};B5.prototype.setFieldId=function(a){ou(this,1,Gk,a)};var VEc=[1];B5.messageId="b.ReorderFieldsRequest";var C5=function(a){Y.call(this,a,-1,WEc)};W(C5,Y);C5.prototype.setFieldIdList=function(a){return ac(this,1,a)};C5.prototype.setFieldId=function(a){ou(this,1,Gk,a)};var WEc=[1];C5.messageId="b.ReorderFieldsResponse";var D5=function(a){this.executor=a};D5.prototype.updateCustomFieldState=function(a,b,c){var d=new Gk;d.setCustomFieldId(b);var e=new QD;e.setFieldId(d);e.setStateOnIssues(c);return this.executor.post({url:"action/components/"+a+"/field_configs/custom_field_id/"+b,body:e,responseConstructor:QD})};D5.prototype.reorder=function(a,b){b=(new B5).setFieldIdList(b);return this.executor.post({url:"action/components/"+a+"/reorder",body:b,responseConstructor:C5})};D5.\u0275fac=function(a){return new (a||D5)(n(KD))};
D5.\u0275prov=Vc({token:D5,factory:D5.\u0275fac,providedIn:"root"});var XEc=["SILENT","MINOR","MAJOR"];var YEc=["fieldStateMenu"],ugb=function(a){return{type:a}},E5=function(a,b,c,d,e,f,h,l,q,u,x){Z.call(this);var y=this;this.customFieldsApi=a;this.checkBeforeExit=b;this.butterBar=c;this.analytics=d;this.routeParams=e;this.componentActions=f;this.fieldConfigService=h;this.documentationLinks=l;this.paths=q;this.confirmationDialog=u;this.appEvents=x;this.FieldType=Omc;this.ListFieldType=Xmc;this.getSingleEditFieldType=y_a;this.getListFieldType=p0a;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=XEc;Object.keys(Yna).slice(0).filter(function(G){return"UNSPECIFIED"!==G});this.componentId=Lj(this.routeParams.componentId);this.subscriptions.add(gQ(b,function(){return y.hasUnsavedChanges()},!0))};W(E5,Z);E5.\u0275dir=Z.\u0275dir;
E5.prototype.ngOnInit=function(){this.loadCustomFields()};E5.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};
E5.prototype.editField=function(a){window.scrollTo({top:0,behavior:"smooth"});if(!this.hasUnsavedChanges()||F8b())this.editableField=Gj(this.customFields[a]),this.originalEditableFieldValue=Gj(this.editableField),this.serverError=null,this.setType(this.editableField.type),ygb(this,this.editableField.allowedValue)};
var Kgb=function(a,b){var c=a.customFields[b];a.confirmationDialog.open({title:"Deleting field: "+c.name,content:jp("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)}})};
E5.prototype.doDelete=function(a){var b=this;WF(this.butterBar,"Deleting field: "+a.name,2E3);this.customFieldsApi.delete(this.componentId,a.customFieldId).then(function(){b.appEvents.componentModified.next(b.componentId);b.analytics.trackEvent("customField","delete");WF(b.butterBar,"Deleted field: "+a.name,2E3);b.loadCustomFields()})};
E5.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=Wn(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)};
E5.prototype.updateCustomFieldState=function(a,b,c){var d=this;return new Promise(function(e,f){d.fieldConfigService.updateCustomFieldState(d.componentId,a.customFieldId,b).pipe(dg(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=Wn(h);d.isLoading=!1;f(h)})})};E5.prototype.cancel=function(){this.originalEditableFieldValue=this.editableField=null};
var Bgb=function(a,b){var c=a.editableField.type,d="TEXT"===c&&Ij(b)?b:void 0,e="DATE"===c&&b&&Cna(b)?b:void 0,f="ENUM"===c&&Ij(b)?b:void 0,h="NUMERIC"===c&&Hj(b)?b:void 0,l="REPEATED_TEXT"===c&&Jj(b)?{values:b}:void 0,q;if(q="REPEATED_DATE"===c)q=Array.isArray(b)&&b.every(Cna);q=q?{values:b}:void 0;var u="REPEATED_ENUM"===c&&Jj(b)?{values:b}:void 0;b="REPEATED_NUMERIC"===c&&Pna(b)?{values:b}:void 0;a.editableField.typedDefaultValue=new Uj({customFieldId:a.editableField.customFieldId,textValue:d,
dateValue:e,enumValue:f,numericValue:h,repeatedTextValue:l,repeatedDateValue:q,repeatedEnumValue:u,repeatedNumericValue:b})};
E5.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 ygb=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}}):[]};E5.prototype.hasUnsavedChanges=function(){return this.editableField&&!Fj(this.editableField,this.originalEditableFieldValue)?!0:!1};
E5.prototype.loadCustomFields=function(a){var b=this;a=void 0===a?!1:a;a||(this.isLoading=!0);return this.componentActions.get(this.componentId).then(function(c){var d,e=(null==(d=c.componentPathInfo)?void 0:d.allCustomField)||[];d=[];b.componentIdsToNames={};var f,h=(null==(f=c.componentPathInfo)?void 0:f.componentPathId)||[];for(f=0;f<h.length;f++)d.push(c.componentPathInfo.componentPathName[f]),b.componentIdsToNames[c.componentPathInfo.componentPathId[f]]=d.join(" > ");b.editableField=null;b.originalEditableFieldValue=
null;a||(b.isLoading=!1);c=function(l,q){return Lr(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 Qgb=function(a,b){return a.fieldsEnabledOnParentComponent.has(b)?a.fieldsEnabledOnParentComponent.get(b):!0};E5.prototype.trackClick=function(a){this.analytics.trackEvent("editComponent","click",a)};
var Cgb=function(a){var b,c;return null==(b=a.editableField)?void 0:null==(c=b.typedDefaultValue)?void 0:c.getValue()};E5.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};E5.prototype.setFieldSignificance=function(a){this.editableField.fieldSignificance=a};
E5.\u0275fac=function(a){return new (a||E5)(A(J0),A(fQ),A(VF),A(wH),A(yJ),A(hV),A(D5),A(SI),A(NG),A(UI),A(cG))};
E5.\u0275cmp=p({type:E5,selectors:[["b-component-custom-fields"]],viewQuery:function(a,b){a&1&&ih(YEc,5);if(a&2){var c;hh(c=kh())&&(b.fieldStateMenus=c)}},inputs:{editMode:"editMode",isSaving:"isSaving",component:"component",parentComponent:"parentComponent"},features:[qg,Hd],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&&(E(0,"div",0),P(1,Hgb,68,32,"div",1),P(2,Igb,2,1,"div",2),P(3,Wgb,26,7,"div",3),F());a&2&&(z(1),D("ngIf",b.editableField&&!b.isLoading),z(1),D("ngIf",b.isLoading),z(1),D("ngIf",!b.isLoading))},dependencies:[ww,xw,yw,ix,Qh,ax,bx,sx,hx,fx,lZ,hZ,GN,k1,iK,jK,nK,kK,GY,NC,
FC,DC,EC,CC,tA,eV,rZ,zM,HG,NJ,MJ,PJ],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 F5=function(){};F5.\u0275fac=function(a){return new (a||F5)};F5.\u0275mod=od({type:F5});F5.\u0275inj=Wc({imports:[Mw,wx,mZ,iZ,eO,l1,JN,LY,ID,GC,YC,mP,fV,sZ,XJ,PP,LG]});var G5=function(){this.options=[];this.disabled=!1;this.removeAtIndex=new Rv;this.addRow=new Rv;this.optionsChange=new Rv};G5.prototype.valueChange=function(a,b){this.options[b].value=Number(a.target.value);this.optionsChange.emit(this.options)};G5.prototype.drop=function(a){tp(this.options,a.previousIndex,a.currentIndex);this.optionsChange.emit(this.options)};G5.\u0275fac=function(a){return new (a||G5)};
G5.\u0275cmp=p({type:G5,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&&(E(0,"div",0)(1,"div",1)(2,"span",2),Q(3," Dropdown value "),F()(),E(4,"div",3)(5,"span",4),Q(6," Average days "),F(),H(7,"mat-icon",5),F()(),E(8,"div",6),K("cdkDropListDropped",function(c){return b.drop(c)}),P(9,Ygb,12,13,"div",7),F(),P(10,Zgb,2,0,"button",8));a&2&&(z(2),Fg("muted",b.disabled),z(3),Fg("muted",b.disabled),z(2),D("matTooltip","All estimated effort types map to an average number of days."),z(2),D("ngForOf",b.options),z(1),D("ngIf",!b.disabled))},dependencies:[xw,yw,XA,$A,tA,
jB,NC,DL,EL,vL],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 H5=function(){this.disabled=!1;this.valueChange=new Rv};H5.prototype.onValueChange=function(a){this.valueChange.emit(Number(a.target.value))};H5.\u0275fac=function(a){return new (a||H5)};
H5.\u0275cmp=p({type:H5,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&&(E(0,"div",0)(1,"div",1)(2,"span",2),Q(3," Time "),F(),E(4,"span",3),Q(5,"1"),F()(),E(6,"div",1)(7,"div",4)(8,"span",5),Q(9," Average days "),F(),H(10,"mat-icon",6),F(),E(11,"mat-form-field",
7)(12,"input",8,9),K("change",function(d){return b.onValueChange(d)}),F()()()());if(a&2){var c=O(13);z(2);Fg("muted",b.disabled);z(6);Fg("muted",b.disabled);z(2);D("matTooltip","All estimated effort types map to an average number of days.");z(1);D("appearance",c.focused?"standard":"none");z(1);D("disabled",b.disabled)("value",b.value)}},dependencies:[XA,$A,jB,NC],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 J5=function(a){this.activeSession=a;this.disabled=!1;this.updateEffortSpec=new Rv;this.configurationOptions=[ZEc,$Ec,I5];this.estimatedEffortFieldEnabled=this.inherit=!1;this.name="Estimated effort";this.numericSpecMultiplier=1;this.enumSpecOptions=[];this.aggregationRules=ISb;this.selectedAggregationRule=this.aggregationRules.SUM;this.enableAggregationRules=DE(this.activeSession,"enableAggregationRules")};
J5.prototype.ngOnInit=function(){(this.originalEffortSpec=this.effortSpec)&&this.effortSpec.numericSpec&&(this.originalSelectedEffortConfig=I5)};J5.prototype.ngOnChanges=function(a){a.effortSpec&&this.effortSpec&&(this.originalEffortSpec=Gj(this.effortSpec),this.setValues(this.effortSpec))};
J5.prototype.setValues=function(a){if(a.numericSpec){this.selectedEffortConfig=I5;var b,c,d;this.numericSpecMultiplier=null!=(d=null==(b=this.effortSpec)?void 0:null==(c=b.numericSpec)?void 0:c.multiplier)?d:1}if(a.enumSpec){this.selectedEffortConfig=void 0;var e,f;this.enumSpecOptions=(null!=(f=null==(e=a.enumSpec)?void 0:e.options)?f:[]).map(function(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 aFc=function(a){var b,c,d;if((null==(b=a.effortSpec)?0:b.enumSpec)&&!a.selectedEffortConfig||(null==(c=a.selectedEffortConfig)?void 0:c.displayText)===ZEc.displayText||(null==(d=a.selectedEffortConfig)?void 0:d.displayText)===$Ec.displayText)return"enum";var e;return(null==(e=a.selectedEffortConfig)?void 0:e.displayText)===I5.displayText?"numeric":"empty"};J5.prototype.addRow=function(){this.enumSpecOptions.push({label:null,value:null})};
J5.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=m(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 bFc=function(a){a.selectedEffortConfig=void 0;a.enumSpecOptions=[];a.effortSpec=void 0;a.name="Estimated effort"};J5.\u0275fac=function(a){return new (a||J5)(A(Vt))};
J5.\u0275cmp=p({type:J5,selectors:[["b-estimated-effort-config"]],inputs:{effortSpec:"effortSpec",parentEffortSpec:"parentEffortSpec",disabled:"disabled"},outputs:{updateEffortSpec:"updateEffortSpec"},features:[Hd],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&&(E(0,"b-collapsible-card",0),K("cardTitleChange",function(c){return b.name=c})("dropdownSelectionChanged",function(c){b.selectedEffortConfig=
c;c.displayText===ZEc.displayText?(b.enumSpecOptions=[].concat(r(cFc)),b.name="Story points"):c.displayText===$Ec.displayText?(b.enumSpecOptions=[].concat(r(dFc)),b.name="T-shirt sizes"):c.displayText===I5.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)===I5.displayText)c.numericSpec={multiplier:b.numericSpecMultiplier};else if(0<b.enumSpecOptions.length){d=[];for(var e=m(b.enumSpecOptions),f=e.next();!f.done;f=e.next())f=f.value,f.label&&null!==f.value&&d.push({label:f.label,value:f.value});c.enumSpec={options:d}}b.updateEffortSpec.emit(c)}else b.updateEffortSpec.emit({name:"",inherit:!1})})("selectedChange",function(c){b.estimatedEffortFieldEnabled=
c;b.estimatedEffortFieldEnabled||bFc(b)})("onCancelButtonClicked",function(){b.effortSpec=b.originalEffortSpec;b.selectedEffortConfig=b.originalSelectedEffortConfig;b.effortSpec?b.setValues(b.effortSpec):(b.estimatedEffortFieldEnabled=!1,bFc(b))})("isInheritedChange",function(c){(c=c.checked)?(b.setValues(b.parentEffortSpec?b.parentEffortSpec:{name:"Estimated effort"}),b.effortSpec=b.parentEffortSpec,b.effortSpec||bFc(b)):b.effortSpec&&(b.setValues({}),bFc(b));b.inherit=c}),E(1,"div",1),P(2,ahb,2,
1,"ng-container",2),P(3,bhb,2,2,"ng-container",2),P(4,chb,1,0,"ng-container",2),F(),P(5,dhb,23,13,"div",3),F(),P(6,ehb,1,2,"ng-template",null,4,qh));a&2&&(D("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),D("ngSwitch",aFc(b)),z(1),D("ngSwitchCase",
"enum"),z(1),D("ngSwitchCase","numeric"),z(1),D("ngSwitchCase","empty"),z(1),D("ngIf",b.enableAggregationRules&&b.estimatedEffortFieldEnabled))},dependencies:function(){return[yw,Dw,zw,Aw,XA,uA,jB,z5,NC,lP,kP,vA,G5,H5,K5]},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 cFc=[{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}],dFc=[{label:"XS",value:1},{label:"S",value:3},{label:"M",value:5},{label:"L",value:10},{label:"XL",value:20}],ZEc={displayText:"Story points",icon:"story-point-24px"},$Ec={displayText:"T-shirt sizes",icon:"t-shirt-24px"},I5={displayText:"Time",icon:"time-24px"},K5=function(){};
K5.prototype.transform=function(a){switch(a){case "MAX":return"Max Point";default:return"Simple Sum"}};K5.\u0275fac=function(a){return new (a||K5)};K5.\u0275pipe=rd({name:"aggregationRuleText",type:K5,pure:!0});var L5=function(){this.disabled=!1;this.updateComponent=new Rv};L5.\u0275fac=function(a){return new (a||L5)};
L5.\u0275cmp=p({type:L5,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&&(E(0,"div",0)(1,"div",1),Q(2,"Once activated, standard fields appear in the right panel of all issues."),F(),E(3,"b-estimated-effort-config",
2),K("updateEffortSpec",function(c){b.updateComponent.emit(c)}),F()());a&2&&(z(3),D("effortSpec",b.effortSpec)("parentEffortSpec",b.parentEffortSpec)("disabled",b.disabled))},dependencies:[J5],styles:[".field-container[_ngcontent-%COMP%]{max-width:1100px}"]});var M5=function(){};M5.\u0275fac=function(a){return new (a||M5)};M5.\u0275mod=od({type:M5});M5.\u0275inj=Wc({imports:[Mw,aB,YC,OC,iP,A5,ID,mP,FL]});var N5=function(){};N5.\u0275fac=function(a){return new (a||N5)};N5.\u0275mod=od({type:N5});N5.\u0275inj=Wc({imports:[Mw,A5,M5]});var eFc={MISSING:"MISSING",DELETED:"DELETED",VALID:"VALID"};var O5=function(a,b,c,d,e,f,h,l,q,u){Z.call(this);var x=this;this.data=a;this.dialogRef=b;this.pathBuilder=c;this.teamsService=d;this.componentActions=e;this.userPreferencesManager=f;this.snackBar=h;this.analytics=l;this.errorHandler=q;this.componentFridge=u;this.teamSuggestionIds=[];this.header="";this.teamOptions=[];this.teamAction="CHANGE";this.WarningType=eFc;this.warningType=a.warningType;this.componentId=a.componentId;this.parentComponentId=a.parentComponentId;this.teamSuggestionIds=a.teamSuggestionIds;
this.selectedTeam=new fFc(this.teamSuggestionIds[0]||"0",[]);this.componentSetting=this.pathBuilder.editComponent(this.componentId,"basic");this.suggestedTeams$=MZb(this.teamsService,this.teamSuggestionIds).pipe(B(function(y){var G=[];y=Yl(y,1,yE);for(var L=m(x.teamSuggestionIds),M=L.next();!M.done;M=L.next())M=M.value,y.has(M)&&G.push(new fFc(M,Bj(y.get(M),6)));return G}),bg([]));this.myTeams$=QH(this.teamsService,"").pipe(B(function(y){var G=[];y=y.getTeamSuggestionsList();y=m(y);for(var L=y.next();!L.done;L=
y.next())L=L.value,G.push(new fFc(L.getId(),L.getPathNamesList()));return G}));(0,C.combineLatest)([this.suggestedTeams$,this.myTeams$]).pipe(B(function(y){var G=m(y);y=G.next().value;G=G.next().value;return[].concat(r(y),r(G))}),B(Ira(function(y){return y.teamId})),dg(this.destroyed$)).subscribe(function(y){x.teamOptions=y;x.selectedTeam=y[0]})};W(O5,Z);O5.\u0275dir=Z.\u0275dir;
O5.prototype.ngOnInit=function(){"MISSING"===this.warningType?this.header="Add team to the component":"DELETED"===this.warningType&&(this.header="Change team mapping for this component")};
O5.prototype.confirm=function(){var a=this;if("CHANGE"===this.teamAction)0<this.parentComponentId?this.componentActions.get(this.parentComponentId).then(function(c){var d;gFc(a,(null==(d=c.team)?void 0:d.id)||"0",a.selectedTeam.teamId)}):gFc(this,"0",this.selectedTeam.teamId);else{var b=Gj(this.userPreferencesManager.teamWarningPreferencesSubject$.value);b.componentTeamWarnings.push({componentId:this.componentId,dismissMillis:(new Date).getTime()});o0b(this.userPreferencesManager,b).pipe(dg(this.destroyed$)).subscribe(function(){a.analytics.trackEvent(Mp.TEAM_WARNING,
"dismiss","componentId",a.componentId);var c;null==(c=a.dialogRef)||c.close()},function(){})}};var gFc=function(a,b,c){a.componentActions.updateTeam(a.componentId,{inherit:c===b,id:c}).then(function(d){a.componentFridge.announce(d);a.analytics.trackEvent(Mp.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)})};
O5.prototype.selectOption=function(a){this.selectedTeam=a};O5.prototype.trackClick=function(a){this.analytics.trackEvent(Mp.TEAM_WARNING,"click",a)};O5.prototype.getMomaTeamLink=function(){return"https://moma.corp.google.com/team/"+this.selectedTeam.teamId};O5.\u0275fac=function(a){return new (a||O5)(A(HA),A(FA),A(pU),A(PH),A(hV),A(ZI),A(SF),A(wH),A(ZF),A(xF))};
O5.\u0275cmp=p({type:O5,selectors:[["b-team-warning-dialog"]],features:[qg],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&&(E(0,"h1",0),Q(1),F(),P(2,ghb,5,1,"div",1),
P(3,hhb,5,1,"div",1),P(4,ihb,7,1,"mat-radio-group",2),P(5,mhb,6,6,"div",3),E(6,"mat-dialog-actions")(7,"button",4),Q(8," Cancel "),F(),E(9,"button",5),K("click",function(){return b.confirm()}),Q(10," Confirm "),F()());a&2&&(z(1),Sg(b.header),z(1),D("ngIf",b.warningType===b.WarningType.MISSING),z(1),D("ngIf",b.warningType===b.WarningType.DELETED),z(1),D("ngIf",b.warningType===b.WarningType.MISSING),z(1),D("ngIf",0<b.teamOptions.length))},dependencies:[yw,ax,hx,tA,uA,JA,KA,LA,MA,jB,DN,EN,NC,pY],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 fFc=function(a,b){this.teamId=a;this.teamPath=b.join(" > ")};var P5=function(a,b){Z.call(this);this.matDialogService=a;this.analytics=b;this.teamSuggestions=[];this.messageOnly=!1;this.updateTeam=new Rv};W(P5,Z);P5.\u0275dir=Z.\u0275dir;P5.prototype.ngOnInit=function(){};P5.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")};
P5.prototype.openDialog=function(){var a=this;this.analytics.trackEvent(Mp.TEAM_WARNING,"open");DA(this.matDialogService.open(O5,{width:"580px",data:{warningType:this.warningType,componentId:this.componentId,parentComponentId:this.parentComponentId,teamSuggestionIds:this.teamSuggestions.map(function(b){return String(b.teamId)})}})).pipe(dg(this.destroyed$)).subscribe(function(b){b&&a.updateTeam.emit(b)})};P5.\u0275fac=function(a){return new (a||P5)(A(IA),A(wH))};
P5.\u0275cmp=p({type:P5,selectors:[["b-team-warning"]],inputs:{warningType:"warningType",componentId:"componentId",parentComponentId:"parentComponentId",teamSuggestions:"teamSuggestions",messageOnly:"messageOnly"},outputs:{updateTeam:"updateTeam"},features:[qg,Hd],decls:4,vars:2,consts:[["messageType","caution","format","app"],[4,"ngIf"],["format","fill","mat-button","",3,"click"]],template:function(a,b){a&1&&(E(0,"b-callout",0)(1,"b-callout-body"),Q(2),F(),P(3,nhb,3,1,"b-callout-actions",1),F());
a&2&&(z(2),R(" ",b.warningMessage," "),z(1),D("ngIf",!b.messageOnly))},dependencies:[cQ,FW,GW,yw],encapsulation:2});var Q5=function(a){var b=this;this.teamsService=a;this.anchorTarget="_blank";this.useInternalLink=this.isTopLevel=this.isAdmin=!1;this.modelChange=new Rv;this.inherit=!1;this.selectedTeam$=new C.Subject;this.teamIdChanged$=new C.ReplaySubject(1);this.placeholder$=this.teamIdChanged$.pipe(B(function(c){return"0"===c?!b.isAdmin||!b.isTopLevel&&b.inherit?"No team selected":"Type to search for a team (leave blank to disable)":""}),bg(""));this.teamFromId$=this.teamIdChanged$.pipe(cg(function(c){return"0"===
c?(0,C.of)(new vt([c],[""],"")):b.teamsService.getTeam(c).pipe(B(function(d){return new vt([],Bj(d,6),d.getDescription())}),Lf(function(){return(0,C.of)(new vt([c],[c],""))}))}));this.displayedTeam$=(0,C.merge)(this.teamFromId$,this.selectedTeam$);this.warningType$=this.teamIdChanged$.pipe(cg(function(c){return"0"===c?(0,C.of)("MISSING"):b.teamsService.getTeam(c).pipe(B(function(d){return d.getDeleted()?"DELETED":"VALID"}))}))};
Q5.prototype.updateSelectionOnChange=function(a){So(Mp.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);hFc(this)};var hFc=function(a){a.inherit=a.model.inherit;a.teamIdChanged$.next(a.model.id)};Q5.prototype.ngOnInit=function(){Object.assign({},this.model);hFc(this)};var rhb=function(a){return a.model.id&&"0"!==a.model.id};
Q5.prototype.getMomaTeamLink=function(){return rhb(this)?"https://moma.corp.google.com/team/"+this.model.id:null};Q5.\u0275fac=function(a){return new (a||Q5)(A(PH))};
Q5.\u0275cmp=p({type:Q5,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&&(E(0,"div"),P(1,phb,2,1,"ng-container",0),U(2,"async"),P(3,qhb,3,2,"div",1),E(4,"div",2)(5,"label",3),Q(6,"Team selection"),F(),E(7,"b-team-picker",4),K("onTeamSelect",
function(d){return b.updateSelectionOnChange(d)})("onEmptyQuery",function(){b.model.id="0";b.modelChange.emit(b.model);hFc(b)}),U(8,"async"),U(9,"async"),F(),P(10,thb,2,1,"ng-container",5),F()(),P(11,vhb,1,1,"ng-template",null,6,qh));if(a&2){var c=O(12);z(1);D("ngIf",V(2,7,b.warningType$));z(2);D("ngIf",!b.isTopLevel);z(4);D("placeholder",V(8,9,b.placeholder$))("disabled",!b.isAdmin||!b.isTopLevel&&b.inherit)("teamSelected",V(9,11,b.displayedTeam$));z(3);D("ngIf",b.useInternalLink)("ngIfElse",c)}},
dependencies:[yw,DO,NC,R4,P5,jB,uA,HG,Ew],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 R5=function(){};R5.\u0275fac=function(a){return new (a||R5)};R5.\u0275mod=od({type:R5});R5.\u0275inj=Wc({imports:[DT,VW,Mw,wx,YC,NA,OC,iO,RF,ID,CY]});var S5=function(){};S5.\u0275fac=function(a){return new (a||S5)};S5.\u0275mod=od({type:S5});S5.\u0275inj=Wc({imports:[Mw,LP,iP,ID,U4,R5,wx,OC,YC,LG]});var T5=function(){};T5.\u0275fac=function(a){return new (a||T5)};T5.\u0275mod=od({type:T5});T5.\u0275inj=Wc({imports:[Mw,wx,YC,aB,YA,NA]});var U5=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},iFc=function(a){a.fields.sort(function(b,c){return b.name.localeCompare(c.name)});a.detectChanges()};U5.prototype.drop=function(a){tp(this.fields,a.previousIndex,a.currentIndex);this.detectChanges()};
var whb=function(a,b){return 0<b?(tp(a.fields,b,b-1),a.detectChanges(),!0):!1},xhb=function(a,b){return b<a.fields.length-1?(tp(a.fields,b,b+1),a.detectChanges(),!0):!1};U5.prototype.trackByFn=function(){return-1};U5.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.")};
U5.prototype.onKeyDown=function(a,b){switch(a.key){case " ":a.preventDefault();jFc(this,b);break;case "Tab":this.grabbed&&jFc(this,b);break;case "ArrowUp":kFc(this,a);break;case "ArrowDown":kFc(this,a)}};
var jFc=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."))},kFc=function(a,b){if(a.grabbed){var c=document.activeElement;if(c&&void 0!==a.grabbedIndex){if("ArrowUp"===b.key){if(whb(a,a.grabbedIndex)){var d=c.previousElementSibling;
a.grabbedIndex--}}else xhb(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."))}}};U5.prototype.detectChanges=function(){this.hasChanges=!Fj(this.fields,this.originalFields)};U5.\u0275fac=function(a){return new (a||U5)(A(HA),A(FA),A(Ty))};
U5.\u0275cmp=p({type:U5,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&&(E(0,"div",0)(1,"div",1)(2,"h1",2),Q(3," Reorder custom fields "),F(),E(4,"button",3),K("click",function(){return iFc(b)}),H(5,"mat-icon",4),F()()(),E(6,"div",5)(7,"ol",6),K("cdkDropListDropped",function(c){return b.drop(c)}),P(8,yhb,9,7,"li",7),F()(),E(9,"div",8)(10,"button",9),K("click",function(){return b.dialogRef.close()}),Q(11," Cancel "),F(),E(12,"button",10),K("click",function(){return b.dialogRef.close(b.fields)}),Q(13," Save "),F()());a&2&&(z(8),
D("ngForOf",b.fields)("ngForTrackBy",b.trackByFn),z(4),D("disabled","CUSTOMIZED"===b.fieldOrdering&&!b.hasChanges))},dependencies:[xw,tA,KA,LA,MA,DL,EL,vL,NC,jB],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 V5=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 Rv;this.displayedColumn=["index","name","type","required","customFieldId"]},Mhb=function(a){return DA(a.matDialog.open(U5,{width:"500PX",autoFocus:!1,data:{fields:a.fields,orderingCustomized:a.fieldOrdering}})).subscribe(function(b){b&&lFc(a,b)})},Nhb=function(a){a.confirmationDialog.open({title:"Reset ordering?",content:jp("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()}})},lFc=function(a,b){a.analytics.trackEvent(Mp.FIELD_ORDERING,"reorderFields");var c=b.map(function(d){return(new Gk).setCustomFieldId(d.customFieldId)});a.componentId?(WF(a.butterBar,"Saving...",0),a.fieldConfigService.reorder(a.componentId,c).subscribe(function(){WF(a.butterBar,"Field ordering saved",5E3);a.fields=b.concat();a.fieldOrdering="CUSTOMIZED"},function(){XF(a.butterBar,"Saving ordering failed, please refresh the page.",5E3)})):XF(a.butterBar,"Saving ordering failed due to the undefined component id.")};
V5.prototype.reset=function(){var a=this;this.analytics.trackEvent(Mp.FIELD_ORDERING,"resetFields");this.componentId?(WF(this.butterBar,"Resetting orderings..."),this.fieldConfigService.executor.post({url:"action/components/"+this.componentId+"/unorder",body:null,responseConstructor:GE}).subscribe(function(){WF(a.butterBar,"Ordering reset");a.fieldOrdering="INHERITED";a.onReload.emit()},function(){XF(a.butterBar,"Reset failed.")})):XF(this.butterBar,"Reset failed due to the undefined component id.")};
V5.\u0275fac=function(a){return new (a||V5)(A(IA),A(UI),A(D5),A(wH),A(VF))};
V5.\u0275cmp=p({type:V5,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&&(E(0,"div",0)(1,"div",1)(2,"table",2),I(3,3),P(4,zhb,2,0,"th",4),P(5,Ahb,2,1,"td",5),J(),I(6,6),P(7,Bhb,2,0,"th",4),P(8,Chb,2,1,
"td",5),J(),I(9,7),P(10,Dhb,2,0,"th",4),P(11,Ehb,3,3,"td",5),J(),I(12,8),P(13,Fhb,2,0,"th",4),P(14,Ghb,2,1,"td",5),J(),I(15,9),P(16,Hhb,2,0,"th",4),P(17,Ihb,2,1,"td",5),J(),P(18,Jhb,1,0,"tr",10),P(19,Khb,1,0,"tr",11),F(),P(20,Lhb,2,0,"div",12),F(),P(21,Ohb,6,2,"div",13),F());a&2&&(z(2),D("dataSource",b.fields),z(16),D("matHeaderRowDef",b.displayedColumn),z(1),D("matRowDefColumns",b.displayedColumn),z(1),D("ngIf",0===b.fields.length),z(1),D("ngIf",b.isAdmin))},dependencies:[yw,tA,mM,eM,iM,fM,dM,jM,
gM,hM,kM,lM,rP],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 W5=function(){};W5.\u0275fac=function(a){return new (a||W5)};W5.\u0275mod=od({type:W5});W5.\u0275inj=Wc({providers:[UI],imports:[Mw,YC,NA]});var X5=function(){};X5.\u0275fac=function(a){return new (a||X5)};X5.\u0275mod=od({type:X5});X5.\u0275inj=Wc({imports:[Mw,YC,DT,NA,vO,FL,ID,eO,OC,W5,tP]});var Y5=function(a){this.analytics=a;this.filename=this.packageName=this.issueId="";this.lineNumbers=[];this.changeNumber=0},Qhb=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="+mFc+a.issueId+nFc;a.changeNumber&&(c+="&rcl="+a.changeNumber);Array.isArray(b)?c+="&l="+b.join(","):b&&(c+="&l="+b);return c}};
Y5.prototype.trackClick=function(a){this.analytics.trackEvent("codeMentions","clickCodeSearchLink",a)};Y5.\u0275fac=function(a){return new (a||Y5)(A(wH))};
Y5.\u0275cmp=p({type:Y5,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&&(E(0,"div",0)(1,"a",1),K("click",function(){return b.trackClick("fileName")}),Q(2),F(),P(3,Phb,2,1,"span",2),P(4,Shb,5,1,"span",2),F());a&2&&(z(1),D("href",Qhb(b,b.lineNumbers),Ie),z(1),R(" ",b.filename," "),z(1),D("ngIf",!(10>=b.lineNumbers.length&&"wiki"!=b.packageName)),z(1),D("ngIf",10>=b.lineNumbers.length&&"wiki"!=b.packageName))},dependencies:[xw,yw],encapsulation:2});var mFc=encodeURIComponent("content:(https?://)?b(uganizer)?(\\.corp(\\.google\\.com)?)?/(issues/|issue\\?id=)?"),nFc=encodeURIComponent("(\\b|$)");var Z5=function(){};Z5.\u0275fac=function(a){return new (a||Z5)};Z5.\u0275mod=od({type:Z5});Z5.\u0275inj=Wc({imports:[Mw]});var $5=function(){this.isReady=!1};$5.\u0275fac=function(a){return new (a||$5)};$5.\u0275cmp=p({type:$5,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&&(Ng(),P(0,Thb,1,0,"div",0),P(1,Uhb,2,0,"ng-container",1));a&2&&(D("ngIf",!b.isReady),z(1),D("ngIf",b.isReady))},dependencies:[yw],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 a6=function(){this.warning=""};a6.\u0275fac=function(a){return new (a||a6)};
a6.\u0275cmp=p({type:a6,selectors:[["onedev-warning-icon"]],hostVars:2,hostBindings:function(a,b){a&2&&Fg("is-present",b.warning)},inputs:{warning:"warning"},decls:1,vars:1,consts:[["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24",3,"matTooltip",4,"ngIf"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24",3,"matTooltip"],["d","M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"]],template:function(a,b){a&1&&P(0,Vhb,2,1,"svg",0);a&2&&
D("ngIf",b.warning)},dependencies:[yw,NC],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 oFc=["*",[["","actions",""]]],pFc=[[["onedev-field-label"]],[["onedev-field-value"]]],qFc=0,b6=function(){this.thinking=!1;this.warning=this.labelTooltip="";this.id="onedev-field-label-"+qFc;qFc++};b6.\u0275fac=function(a){return new (a||b6)};
b6.\u0275cmp=p({type:b6,selectors:[["onedev-field-label"]],hostVars:1,hostBindings:function(a,b){a&2&&ug("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&&(Ng(),E(0,"onedev-async-data-placeholder",0)(1,"span",1),Og(2),F(),H(3,"onedev-warning-icon",2),F());a&2&&(D("isReady",!b.thinking),z(1),D("matTooltip",b.labelTooltip),z(2),D("warning",
b.warning))},dependencies:[$5,NC,a6],styles:["[_nghost-%COMP%]{line-height:29px;font-size:13px}span.label[_ngcontent-%COMP%]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}"]});var c6=function(){this.thinking=!1};c6.\u0275fac=function(a){return new (a||c6)};
c6.\u0275cmp=p({type:c6,selectors:[["onedev-field-value"]],inputs:{thinking:"thinking"},ngContentSelectors:["*","[actions]"],decls:3,vars:1,consts:[[3,"isReady"]],template:function(a,b){a&1&&(Ng(oFc),E(0,"onedev-async-data-placeholder",0),Og(1),Og(2,1),F());a&2&&D("isReady",!b.thinking)},dependencies:[$5],encapsulation:2});var d6=function(){this.labelPosition="left"};d6.prototype.ngAfterContentInit=function(){var a=this;setTimeout(function(){a.field&&a.label&&(a.field.labelledById=a.label.id)})};
d6.\u0275fac=function(a){return new (a||d6)};
d6.\u0275cmp=p({type:d6,selectors:[["onedev-edit-field"]],contentQueries:function(a,b,c){a&1&&(jh(c,oY,5),jh(c,b6,7));if(a&2){var d;hh(d=kh())&&(b.field=d.first);hh(d=kh())&&(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&&(Ng(pFc),E(0,"div",0),Og(1),Og(2,1),F());a&2&&Fg("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 rFc=["popOverContent"],e6=function(a,b){this.overlay=a;this.viewContainerRef=b;this.newlineWithEnterKey=this.displayUnder=!1;this.hasBackdrop=!0;this.fitToViewport=!1;this.closedWithAction=new Rv;this.isOpen=!1;this.destroyed$=new C.ReplaySubject(1);this.backdropClickSubscription=C.Subscription.EMPTY};e6.prototype.ngOnInit=function(){};e6.prototype.ngOnDestroy=function(){this.close();this.destroyed$.next();this.destroyed$.complete()};
e6.prototype.open=function(){var a=this;this.isOpen||(this.overlayRef=this.createOverlay(),this.attach(),this.isOpen=!0,this.backdropClickSubscription=this.overlayRef.backdropClick().pipe(dg(this.destroyed$)).subscribe(function(){Yhb(a)}))};e6.prototype.close=function(){this.isOpen&&this.overlayRef&&(this.overlayRef.dispose(),this.overlayRef=void 0,this.isOpen=!1,this.backdropClickSubscription.unsubscribe())};
var Xhb=function(a){a.closedWithAction.emit(0);a.close()},Yhb=function(a){a.closedWithAction.emit(1);a.close()};g=e6.prototype;g.processKeydown=function(a){switch(a.key){case "Escape":Yhb(this);a.stopPropagation();break;case "Enter":if(this.newlineWithEnterKey){if(a.metaKey||a.ctrlKey)Xhb(this),a.stopPropagation(),a.preventDefault()}else a.shiftKey||(Xhb(this),a.stopPropagation(),a.preventDefault())}};
g.createOverlay=function(){var a=this.getPositionStrategy(),b=this.getScrollStrategy();a=this.overlay.create({positionStrategy:a,scrollStrategy:b,hasBackdrop:this.hasBackdrop,backdropClass:"onedev-pop-over-edit-panel-backdrop",panelClass:"onedev-pop-over-edit-panel",width:8+this.anchor.offsetWidth});a.overlayElement.setAttribute("role","dialog");return a};
g.attach=function(){var a=new Mx(this.contentTemplateRef,this.viewContainerRef),b;null==(b=this.overlayRef)||b.attach(a);var c;null==(c=this.overlayRef)||c.updatePosition()};g.getPositionStrategy=function(){var a=LKb(Fz(Hz(this.overlay.position(),this.anchor),this.fitToViewport),this.fitToViewport);a._offsetX=-4;a._offsetY=this.displayUnder?this.anchor.offsetHeight:-4;return Dz(a,sFc)};g.getScrollStrategy=function(){return this.overlay.scrollStrategies.reposition()};
e6.\u0275fac=function(a){return new (a||e6)(A(Iz),A(fh))};
e6.\u0275cmp=p({type:e6,selectors:[["onedev-pop-over-edit-panel"]],viewQuery:function(a,b){a&1&&ih(rFc,7);if(a&2){var c;hh(c=kh())&&(b.contentTemplateRef=c.first)}},inputs:{anchor:"anchor",editorTemplate:"editorTemplate",displayUnder:"displayUnder",newlineWithEnterKey:"newlineWithEnterKey",hasBackdrop:"hasBackdrop",fitToViewport:"fitToViewport"},outputs:{closedWithAction:"closedWithAction"},exportAs:["onedevPopOverEditPanel"],decls:2,vars:0,consts:[["popOverContent",""],["cdkTrapFocus","",1,"content",
"gmat-elevation-z2",3,"cdkTrapFocusAutoCapture","keydown"],[1,"edit-field"],[4,"ngTemplateOutlet"],[1,"actions"],["mat-button","","color","primary",1,"save",3,"click"],["mat-button","","color","primary",1,"cancel",3,"click"]],template:function(a){a&1&&P(0,Zhb,8,2,"ng-template",null,0,qh)},dependencies:[Dw,Ex,tA],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 sFc=[{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 tFc=["popOver"],aib=function(a){return{$implicit:a}},f6=function(a){this.disabled=!1;this.displayEditIcon=!0;this.openPopOverOnInit=!1;this.valueChange=new Rv;this.required=this.editing=this.headerFocused=!1;this.editingValue="";this.onChange=function(){};this.onTouched=function(){};if(""===a||"true"===a||"required"===a)this.required=!0};W(f6,oY);g=f6.prototype;g.ngOnInit=function(){};g.ngAfterViewInit=function(){var a=this;this.openPopOverOnInit&&setTimeout(function(){a.startEditing()})};
g.valueChanged=function(){return fib(this.editingValue)!==this.value};g.startEditing=function(){this.disabled||(this.onTouched(),this.editing=!0,this.editingValue=null!=this.value?String(this.value):"",this.popOver.open())};g.stopEditing=function(a){this.editing=!1;0===a&&(this.onChange(this.editingValue),this.value=a=fib(this.editingValue),this.valueChange.emit(a))};g.writeValue=function(a){var b=fib(a);if(null!=a||this.val!==b)this.val=b,this.editingValue=null!=a?a:""};
g.isActive=function(){return this.headerFocused||this.editing};g.registerOnChange=function(a){this.onChange=a};g.registerOnTouched=function(a){this.onTouched=a};g.setDisabledState=function(a){this.disabled=a};Xi.Object.defineProperties(f6.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this.val},set:function(a){a!==this.val&&this.writeValue(null!=a?String(a):null)}}});f6.\u0275fac=function(a){return new (a||f6)(ce("required"))};
f6.\u0275cmp=p({type:f6,selectors:[["onedev-numeric-field"]],viewQuery:function(a,b){a&1&&ih(tFc,7);if(a&2){var c;hh(c=kh())&&(b.popOver=c.first)}},inputs:{value:"value",disabled:"disabled",displayEditIcon:"displayEditIcon",labelledById:"labelledById",openPopOverOnInit:"openPopOverOnInit",valueTemplate:"valueTemplate"},outputs:{valueChange:"valueChange"},features:[Ug([{provide:Ow,useExisting:cd(function(){return f6}),multi:!0},{provide:oY,useExisting:cd(function(){return f6}),multi:!0}]),qg],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&&(E(0,"button",0,1),K("click",function(){return b.startEditing()})("focus",function(){return b.headerFocused=!0})("blur",function(){return b.headerFocused=!1}),E(2,"span"),P(3,bib,2,4,"ng-container",2),P(4,cib,1,1,"ng-template",null,3,qh),F(),P(6,dib,2,0,"svg",4),F(),E(7,"onedev-pop-over-edit-panel",5,6),K("closedWithAction",function(f){return b.stopEditing(f)}),F(),P(9,eib,1,1,"ng-template",null,7,qh));if(a&2){var c=O(1),d=
O(5),e=O(10);D("disabled",b.disabled);z(3);D("ngIf",b.valueTemplate)("ngIfElse",d);z(3);D("ngIf",!b.disabled&&b.displayEditIcon);z(1);D("anchor",c)("editorTemplate",e)}},dependencies:[yw,Dw,Qh,jx,ax,hx,e6],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 lib=function(){return[]},g6=function(){this.disabled=this.thinking=!1;this.effortChange=new Rv;this.isCompatibleValue=!0;this.fieldName="";this.fieldType="UNKNOWN";this.isNaN=isNaN};
g6.prototype.ngOnChanges=function(){if("DROPDOWN"===this.getFieldType()){var a;this.effortSpec&&null!=(a=this.effortSpec.enumSpec)&&a.options&&this.effort&&this.effort.estimate?(a=uFc(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=vFc(this)};g6.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=vFc(this);this.effortChange.emit(this.effort)};g6.prototype.getFieldName=function(){return this.effortSpec?this.effortSpec.name||"":this.effort?"Estimate "+this.effort.specId:"Estimate"};
g6.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 vFc=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"===uFc(a))return!1;var e,f;return"NUMERIC"===a.getFieldType()&&isNaN(Number(null!=(f=null==(e=a.effort)?void 0:e.estimate)?f:""))?!1:!0},uFc=function(a){var b;if(null==(b=a.effort)?0:b.estimate){var c,d,e,f;return null!=(f=null==(c=a.effortSpec)?void 0:null==(d=c.enumSpec)?void 0:null==(e=d.options)?
void 0:e.find(function(h){var l;return h.label===(null==(l=a.effort)?void 0:l.estimate)}))?f:"incompatible"}};g6.\u0275fac=function(a){return new (a||g6)};
g6.\u0275cmp=p({type:g6,selectors:[["b-estimated-effort-row"]],inputs:{thinking:"thinking",effort:"effort",effortSpec:"effortSpec",disabled:"disabled"},outputs:{effortChange:"effortChange"},features:[Hd],decls:3,vars:1,consts:[[4,"ngIf"],["rawNumericValueTemplate",""],["labelTooltip","Estimated effort",3,"thinking"],["svgIcon","error","aria-hidden","false","aria-label","This estimate was made under a different configuration and needs to be \n                          updated.","class","icon-xs effort-warning align-items-center",
3,"onedevHovercardTrigger",4,"ngIf"],["warningHovercard","onedevHovercard"],["role","dialog",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],["href","http://go/buganizer/user-guide/concepts/wtdm-home.md?cl=head#stale-effort","target","_blank"],[3,"thinking"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],["svgIcon","error","aria-hidden","false","aria-label","This estimate was made under a different configuration and needs to be \n                          updated.",1,"icon-xs",
"effort-warning","align-items-center",3,"onedevHovercardTrigger"],[1,"flex-kids-x",3,"value","valueTemplate","disabled","displayEditIcon","valueChange"],[3,"value","options","includeEmptyOption","optionTemplate","disabled","displayArrowIcon","valueChange"],["optionTemplate",""],[4,"ngIf","ngIfElse"],["emptyOption",""],["regularNumeric",""]],template:function(a,b){a&1&&(P(0,oib,16,7,"onedev-edit-field",0),P(1,rib,3,2,"ng-template",null,1,qh));a&2&&D("ngIf",b.effortSpec)},dependencies:[yw,zw,Aw,Bw,
jB,b6,c6,d6,pY,f6,iK,nK],styles:["onedev-numeric-field[_ngcontent-%COMP%], onedev-single-select[_ngcontent-%COMP%]{flex:1;width:100%}.effort-warning[_ngcontent-%COMP%]{color:#e37400;color:var(--warn-gfx);overflow:visible}\n/*# sourceMappingURL=estimated_effort_row.css.map */"]});var h6=function(){};h6.\u0275fac=function(a){return new (a||h6)};h6.\u0275mod=od({type:h6});h6.\u0275inj=Wc({imports:[Mw]});var i6=function(){};i6.\u0275fac=function(a){return new (a||i6)};i6.\u0275mod=od({type:i6});i6.\u0275inj=Wc({imports:[Mw,ID]});var j6=function(){};j6.\u0275fac=function(a){return new (a||j6)};j6.\u0275mod=od({type:j6});j6.\u0275inj=Wc({imports:[h6,Mw,ID,i6]});var k6=function(){};k6.\u0275fac=function(a){return new (a||k6)};k6.\u0275mod=od({type:k6});k6.\u0275inj=Wc({imports:[Mw,Uy,Lz,Rx,YC]});var l6=function(){};l6.\u0275fac=function(a){return new (a||l6)};l6.\u0275mod=od({type:l6});l6.\u0275inj=Wc({imports:[Mw,wx,k6]});var m6=function(){};m6.\u0275fac=function(a){return new (a||m6)};m6.\u0275mod=od({type:m6});m6.\u0275inj=Wc({imports:[Mw,ID,OC,j6,CY,l6,JN]});var n6=function(a){rF.call(this);this.observableSlosService=a;this.recordType="slo";this.idForRecord=function(b){return b.sloId}};W(n6,rF);g=n6.prototype;g.fetchOne=function(a){return this.observableSlosService.get(a)};g.getOwnedSlos=function(){return this.observableSlosService.getOwnedSlos()};g.search=function(a){return this.observableSlosService.search(a)};g.create=function(a){return this.observableSlosService.create(a)};g.update=function(a){return this.observableSlosService.update(a)};
n6.\u0275fac=function(a){return new (a||n6)(n(KT))};n6.\u0275prov=Vc({token:n6,factory:n6.\u0275fac,providedIn:"root"});var o6=function(a,b,c,d){Z.call(this);var e=this;this.userPreferencesManager=a;this.sloStatusHelpersService=b;this.paths=c;this.sloFridge=d;this.onSnoozeChange=new Rv;this.providedSloId$=new C.ReplaySubject(1);this.slo$=this.providedSloId$.pipe(cg(function(f){return e.sloFridge.watchOne(f)}));this.isDateTimePickerOpen=this.shouldShowSnoozeButton=this.isAccordionExpanded=!1};W(o6,Z);o6.\u0275dir=Z.\u0275dir;
o6.prototype.ngOnInit=function(){var a=this;wFc(this);this.userPreferencesManager.layoutPreferences$.pipe(dg(this.destroyed$),B(function(b){a.isAccordionExpanded=!!b.expandIssueSlo}))};o6.prototype.ngOnChanges=function(){this.sloId&&this.providedSloId$.next(this.sloId);wFc(this)};
var wFc=function(a){a.hasSlo=!!a.sloStatus&&DJ(a.sloStatus);a.shouldShowSnoozeButton=a.isEditable&&a.hasSlo;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},xFc=function(a){a.isAccordionExpanded=!a.isAccordionExpanded;j0b(a.userPreferencesManager,{expandIssueSlo:a.isAccordionExpanded}).pipe(dg(a.destroyed$)).subscribe();So(Mp.ISSUE_SLO,"toggle",a.isAccordionExpanded?
"open":"close")};o6.prototype.trackOpenSlo=function(){So(Mp.EDIT_SLO,"open","fromIssueSloBox")};o6.\u0275fac=function(a){return new (a||o6)(A(ZI),A(BJ),A(NG),A(n6))};
o6.\u0275cmp=p({type:o6,selectors:[["b-issue-slo-box"]],inputs:{sloId:"sloId",componentId:"componentId",sloStatus:"sloStatus",sloSnoozeUntil:"sloSnoozeUntil",isEditable:"isEditable",issueCreationTimestamp:"issueCreationTimestamp"},outputs:{onSnoozeChange:"onSnoozeChange"},features:[qg,Hd],decls:17,vars:16,consts:[[1,"issue-slo-box-title",3,"click"],[1,"slo-body"],[1,"slo-status"],[3,"hidden"],[3,"sloStatus","sloSnoozeUntil","includeSloMetric","includeObjective"],[3,"sloStatus","sloSnoozeUntil","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",4,"ngIf"],[1,"slo-action"],["class","bv2-metadata-link bv2-metadata-tool","aria-label","Open page to select an slo","matTooltip","Open page to select an slo",3,"click",4,"ngIf"],["svgIcon","arrow-down",
1,"icon-s"],["svgIcon","arrow-up",1,"icon-s"],[1,"slo-start"],["role","button","tabindex","0","aria-label","Modify the slo snooze until value","matTooltip","Modify the slo snooze until value","cdkOverlayOrigin","",1,"bv2-metadata-link",3,"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","snoozeUntil","closePicker","snoozeUntilCommit"],["aria-label","Navigate to the applied slo page","matTooltip","Navigate to the applied slo page","class","slo-link bv2-metadata-link",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",
3,"click"],["aria-label","Open page to select an slo","matTooltip","Open page to select an slo",1,"bv2-metadata-link","bv2-metadata-tool",3,"click"]],template:function(a,b){a&1&&(E(0,"span",0),K("click",function(){return xFc(b)}),E(1,"label"),Q(2,"SLO Status"),F()(),E(3,"div",1)(4,"div",2)(5,"div",3),H(6,"b-aggregated-slo-status-indicator",4),F(),E(7,"div",3),H(8,"b-slo-status-summary",5),F(),E(9,"button",6),K("click",function(){return xFc(b)}),P(10,sib,1,0,"mat-icon",7),P(11,tib,1,0,"mat-icon",8),
F()(),E(12,"div",9),P(13,xib,10,4,"div",10),P(14,zib,4,3,"div",10),E(15,"div",11),P(16,Aib,2,1,"a",12),F()()());a&2&&(z(5),D("hidden",b.isAccordionExpanded),z(1),D("sloStatus",b.sloStatus)("sloSnoozeUntil",b.sloSnoozeUntil)("includeSloMetric",!0)("includeObjective",!0),z(1),D("hidden",!b.isAccordionExpanded),z(1),D("sloStatus",b.sloStatus)("sloSnoozeUntil",b.sloSnoozeUntil)("includeNoSlo",!0),z(1),ug("aria-expanded",b.isAccordionExpanded),z(1),D("ngIf",!b.isAccordionExpanded),z(1),D("ngIf",b.isAccordionExpanded),
z(1),D("hidden",!b.isAccordionExpanded),z(1),D("ngIf",b.shouldShowSnoozeButton),z(1),D("ngIf",b.editSloLink),z(2),D("ngIf",!b.editSloLink&&b.componentSloLink))},dependencies:[yw,NC,tA,uA,jB,PT,cL,NT,k_,Kz,Jz,Ew],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-start[_ngcontent-%COMP%]{display:inline-block}.slo-actions[_ngcontent-%COMP%]   .slo-start[_ngcontent-%COMP%]   b-icon[_ngcontent-%COMP%]{margin-left:4px;vertical-align:top}.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 p6=function(){};p6.\u0275fac=function(a){return new (a||p6)};p6.\u0275mod=od({type:p6});p6.\u0275inj=Wc({imports:[Mw,ID,YC,OC,TT,IN,RT,H1,Lz]});var yFc=function(){return{width:400}},zFc=function(){return[]},q6=function(a,b,c,d,e,f,h,l,q){var u=this;this.bLocation=c;this.paths=d;this.analytics=e;this.currentTracker=h;this.componentActions=l;this.cdr=q;this.includeArchived$=new C.BehaviorSubject(!1);this.rootComponent$=this.currentTracker.tracker$.pipe(cg(function(x){return x?u.componentActions.get(Number(x.componentId)):(0,C.of)(void 0)}));this.topLevelComponents$=(0,C.combineLatest)([this.rootComponent$,this.includeArchived$]).pipe(cg(function(x){var y=
m(x);x=y.next().value;y=y.next().value;var G;return u.componentActions.getChildren(null!=(G=null==x?void 0:x.parentComponentId)?G:0,y,O3b(u.currentTracker))}));this.createComponentPath=Ht.COMPONENT_CREATE;a.setTitle("Browse Components");b.componentId&&Dib(this,Number(b.componentId),(0,C.firstValueFrom)(this.topLevelComponents$));this.isInternalSession=f.isInternalSession()};q6.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 Dib=function(a,b,c){a.componentActions.get(b).then(function(d){for(var e=naa(d.componentPathInfo.componentPathId,0,d.componentPathInfo.componentPathId.length-1),f={0:c},h=m(e),l=h.next();!l.done;l=h.next())l=l.value,f[l]=a.componentActions.getChildren(l,a.includeArchived);return Ep(f).then(function(q){for(var u=q[0],x=0,y={},G=m(e),L=G.next();!L.done;y={$jscomp$loop$prop$parentId$2152$2326:y.$jscomp$loop$prop$parentId$2152$2326},L=G.next()){y.$jscomp$loop$prop$parentId$2152$2326=L.value;L=void 0;
var M=null!=(L=u.find(function(T){return function(S){return S.componentId===T.$jscomp$loop$prop$parentId$2152$2326}}(y)))?L:null;M&&(M.children=q[y.$jscomp$loop$prop$parentId$2152$2326],M.showChildren=!0,u=M.children,x=M.componentId)}d.archived&&!a.includeArchived&&(b=x);a.cdr.detectChanges();setTimeout(function(){a.componentTree.fireSelectionEvent(b)})})})};Xi.Object.defineProperties(q6.prototype,{includeArchived:{configurable:!0,enumerable:!0,get:function(){return this.includeArchived$.value}}});
q6.\u0275fac=function(a){return new (a||q6)(A(JV),A(yJ),A(MG),A(NG),A(wH),A(Vt),A(mL),A(hV),A(sH,2))};
q6.\u0275cmp=p({type:q6,selectors:[["b-list-components-page"]],features:[Ug([sH])],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&&(E(0,"h2",0),Q(1,"Browse Components"),F(),E(2,"div",1)(3,"div",2),
P(4,Bib,2,1,"a",3),E(5,"button",4),Q(6," Search Components "),F(),P(7,Cib,4,6,"ng-template",null,5,qh),P(9,Eib,3,4,"div",6),F()(),E(10,"div",7),P(11,Fib,2,0,"div",8),U(12,"async"),E(13,"component-tree-list",9),K("init",function(h){return b.componentTree=h}),U(14,"async"),U(15,"async"),F()());if(a&2){var c=O(8),d,e,f;z(4);D("ngIf",b.isInternalSession);z(1);D("xapInlineDialogClick",c)("overlaySize",Wg(13,yFc));z(4);D("ngIf",b.isInternalSession);z(2);D("ngIf",!(null!==(d=V(12,7,b.topLevelComponents$))&&
void 0!==d&&d));z(2);D("components",null!==(e=V(14,9,b.topLevelComponents$))&&void 0!==e?e:Wg(14,zFc))("includeArchived",null!==(f=V(15,11,b.includeArchived$))&&void 0!==f?f:!1)}},dependencies:[yw,zM,qX,pX,tX,dZ,tA,uA,aZ,nV,Ew],styles:[".component-picker-dialog[_ngcontent-%COMP%]{width:400px}.component-picker-dialog[_ngcontent-%COMP%]     input{box-sizing:border-box}"]});var r6=function(){};r6.\u0275fac=function(a){return new (a||r6)};r6.\u0275mod=od({type:r6});r6.\u0275inj=Wc({imports:[Mw,PP,BU,FX,HX,LP,eZ,YC,cZ,vW]});var s6=function(){this.issueId="";this.packageMentionSet={packageName:"",fileMentionSet:[]};this.displayPackageName=!1};s6.\u0275fac=function(a){return new (a||s6)};
s6.\u0275cmp=p({type:s6,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&&(E(0,"div",0),P(1,Gib,2,1,"p",1),E(2,"ul"),P(3,Hib,2,5,"li",
2),F()());a&2&&(z(1),D("ngIf",b.displayPackageName),z(2),D("ngForOf",b.packageMentionSet.fileMentionSet))},dependencies:[xw,yw,Y5],encapsulation:2});var t6=function(){};t6.\u0275fac=function(a){return new (a||t6)};t6.\u0275mod=od({type:t6});t6.\u0275inj=Wc({imports:[Mw,Z5]});var u6=function(){};u6.\u0275fac=function(a){return new (a||u6)};u6.\u0275mod=od({type:u6});u6.\u0275inj=Wc({imports:[Mw,wx,YC,NA,aB,XS,YA]});var v6=function(){};v6.prototype.ngOnInit=function(){};v6.\u0275fac=function(a){return new (a||v6)};
v6.\u0275cmp=p({type:v6,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&&(H(0,"button",0),E(1,"mat-menu",1,2)(3,"a",3),Q(4,"Sign out or switch accounts"),F()());if(a&2){var b=O(2);D("matMenuTriggerFor",b);z(3);D("href","https://accounts.google.com/SignOutOptions?hl=en&continue="+encodeURIComponent(window.location.href),
Ie)}},dependencies:[FC,EC],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 w6=function(){Z.apply(this,arguments);this.trackerCheckboxValues={}};W(w6,Z);w6.\u0275dir=Z.\u0275dir;w6.prototype.ngOnChanges=function(a){if(a.currentTrackerId){this.trackerCheckboxValues={};var b;a=m(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 AFc=function(a){return Object.keys(oc(a.trackerCheckboxValues,function(b){return b}))};
w6.\u0275fac=function(){var a;return function(b){return(a||(a=ie(w6)))(b||w6)}}();
w6.\u0275cmp=p({type:w6,selectors:[["b-tracker-search"]],inputs:{currentTrackerId:"currentTrackerId",availableTrackers:"availableTrackers"},features:[qg,Hd],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&&(E(0,"div",0)(1,"div",1)(2,"div",2)(3,"span"),Q(4,"Select a tracker"),F(),P(5,Iib,2,0,"span",3),F(),E(6,"div",4),P(7,Jib,3,2,"div",5),F()()());a&2&&(Fg("hidden",!(b.availableTrackers&&1<b.availableTrackers.length)),z(5),D("ngIf",0===AFc(b).length),z(2),D("ngForOf",b.availableTrackers))},dependencies:[xw,yw,DO],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 x6=function(a,b,c,d,e,f){Z.call(this);var h=this;this.analytics=b;this.location=c;this.prefsManager=e;this.domSafe=f;this.prefsManager.preferences$.pipe(dg(this.destroyed$)).subscribe(function(l){h.prefs=l});a.topBarEvents.browseComponents.pipe(dg(this.destroyed$)).subscribe(function(l){l=l.newTab;BFc(h,d.listComponents(),l)});a.topBarEvents.manageHotlists.pipe(dg(this.destroyed$)).subscribe(function(l){BFc(h,d.listHotlists(),l.newTab)});a.topBarEvents.manageSlos.pipe(dg(this.destroyed$)).subscribe(function(l){l=
l.newTab;BFc(h,d.listSlos(),l)});a.topBarEvents.setDensity.pipe(dg(this.destroyed$)).subscribe(function(l){h.setDensity(l)});a.topBarEvents.openSettings.pipe(dg(this.destroyed$)).subscribe(function(l){var q=l.newTab;BFc(h,d.settings(l.settingsTabName),q)})};W(x6,Z);x6.\u0275dir=Z.\u0275dir;var BFc=function(a,b,c){c?a.domSafe.openInNewTab(b):a.location.url(b)};
x6.prototype.setDensity=function(a){this.prefs.themePreferences&&(this.prefs.themePreferences.density=a,this.prefsManager.save(this.prefs).pipe(Rf(),dg(this.destroyed$)).subscribe(),this.analytics.trackEvent("preferences","setDisplayDensity",a))};x6.\u0275fac=function(a){return new (a||x6)(n(cG),n(wH),n(MG),n(NG),n(ZI),n(PK))};x6.\u0275prov=Vc({token:x6,factory:x6.\u0275fac,providedIn:"root"});var y6=function(a,b,c,d,e,f,h,l,q,u,x){Z.call(this);var y=this;this.activeSession=a;this.currentTracker=b;this.searchAcData=c;this.savedSearchApi=d;this.butterBar=e;this.bLocation=f;this.paths=h;this.analytics=l;this.appEvents=u;this.appSearchState=x;this.items=[];this.acHeader=null;this.currentQuery="";this.enableTrackersAccountHack=DE(this.activeSession,"enableTrackersAccountHack");this.frontendAccessMode=this.activeSession.getFrontendAccessMode();this.environmentType=this.activeSession.getEnvironmentType();
this.searchAcData.acRefreshed$.pipe(dg(this.destroyed$)).subscribe(function(){y.items=y.searchAcData.items;y.acHeader=y.searchAcData.acHeader})};W(y6,Z);y6.\u0275dir=Z.\u0275dir;var CFc=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"}};
y6.prototype.ngOnInit=function(){var a=this;this.appSearchState.queryState$.pipe(dg(this.destroyed$)).subscribe(function(c){var d=a.searchAcData,e=c.cursorPosition;d.query=c.query;d.cursorIdx=e;if(null==d.cursorIdx)d.currentSearchContext=null;else{var f=d.query,h=d.cursorIdx;if(0>h||h>f.length)throw Error("te");e=new Jsc(f,h);if(f){var l=f.slice(0,h);for(var q=!1,u=-1,x=-1;-1<(u=l.indexOf('"',u+1));)q=!q,x=u;l=q?x:-1;if(-1<l)e.value={val:f.slice(l,h),idx:l};else if(l=f.slice(0,h),q=f.slice(h),u=q.search("\\s"),
q=-1<u?q.slice(0,u):q,(l=a8a(l+q,Nsc))?(l={negated:!!l[1],val:l[2].toLowerCase(),operator:l[3],idx:l.index-l[1].length-l[2].length-l[3].length},Nj(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);f=f.slice(q);h=Math.max(h-q,0);u=l;if("("===f.charAt(0)){b:{u=[];x=/[()]/g;for(var y;null!=(y=x.exec(f));){var G=u[u.length-1];if(G&&G!==y[0]){if(u.pop(),!u.length){u=y.index>=
h;break b}}else u.push(y[0])}u=!0}u=u?2:0}else u=Ksc.includes(u.val)&&-1===f.search("^\\d")?1:0;switch(u){case 2:f=Ksc.includes(l.val)?Fr(f,h,"([()|]\\s*|OR\\s+|AND\\s+|NOT\\s+|-|\\b\\d+\\s+)","[()|\\s-]"):Fr(f,h,"[()|\\s-]");/(OR|AND|NOT|-)$/.test(f.val)&&(f.val="",f.idx=h);e.value=f;break;case 1:e.value=Fr(f,h,"[()|]","[()|,\\s]");break;case 0:e.value=Fr(f,h,"[\\s()|]");-1<f.slice(0,h).search("[\\s()|]")&&(l=null);break;default:jj(u,"unknown ValueType.")}e.value.idx+=q;e.label=l}else e.value=Fr(f,
h,"[\\s()]")}d.currentSearchContext=e}d.currentSearchContext&&(e=d.currentSearchContext,h=++d.requestIndex,d.refreshRequest$.next({currentRequestIndex:h,currentSearchContext:e}));a.currentQuery=c.query});var b=this.appSearchState.queryState$.pipe(B(function(c){return c.query}));this.appSearchState.searchTriggered$.pipe(fg(b),dg(this.destroyed$)).subscribe(function(c){c=m(c);var d=c.next().value;c=c.next().value;var e=a.appSearchState;d=void 0===d?"":d;var f=uXa(c),h=f.filters,l=f.text,q=f.complexSyntax,
u=f.resourceIds;f=[h,l,u].reduce(vXa);h=[h?"filters":void 0,l?"text":void 0,u?"ids":void 0].filter(Boolean).join("-");q?e.track(d,"complex"):h?e.track(d,h,f):e.track(d,"UNHANDLED");d=Ba(e.searchHandlerStack);void 0===d?e.$log.warn("No search function installed."):d(c)})};y6.prototype.ngAfterViewInit=function(){uEc(this.advancedSearchCtrl,this.appSearchState.currentQuery)};var DFc=function(a){if(a.advancedSearchCtrl)return"SUCCESS"!==a.advancedSearchCtrl.getState()?a.currentQuery:BEc(a.advancedSearchCtrl).trim()};
g=y6.prototype;g.onAdvancedSearchOpen=function(){this.advancedSearchCtrl&&(DFc(this)!==this.currentQuery||"SUCCESS"!==this.advancedSearchCtrl.getState())&&uEc(this.advancedSearchCtrl,this.currentQuery)};g.onAdvancedSearchClose=function(){var a,b;this.appSearchState.selectedTrackerIds$.next(null!=(b=null==(a=this.trackerSearchCtrl)?void 0:AFc(a))?b:[]);this.advancedSearchCtrl&&(a=DFc(this),void 0!==a&&a!==this.currentQuery&&this.appSearchState.queryState$.next({query:a,cursorPosition:void 0,setViaInteraction:!1}))};
g.submitAdvancedSearch=function(){var a,b;this.appSearchState.selectedTrackerIds$.next(null!=(b=null==(a=this.trackerSearchCtrl)?void 0:AFc(a))?b:[]);this.advancedSearchCtrl&&(a=DFc(this),void 0!==a&&(this.appSearchState.queryState$.next({query:a,cursorPosition:void 0,setViaInteraction:!1}),this.appSearchState.searchTriggered$.next("ui-builder")))};
g.saveSearch=function(a){var b=this;if(this.advancedSearchCtrl){var c=DFc(this);void 0!==c&&(WF(this.butterBar,"Saving saved search.",1E3),this.savedSearchApi.create(a,c).then(function(d){b.appEvents.savedSearchModified.next();d=d.searchId;WF(b.butterBar,"Created saved search '"+a+"' ID "+d+".");b.bLocation.url(b.paths.viewSavedSearch(d));b.analytics.trackEvent("savedSearches","create")}).catch(function(d){XF(b.butterBar,Wn(d))}))}};g.isSearchDisabled=function(){return this.inTracker()&&0===AFc(this.trackerSearchCtrl).length};
g.inTracker=function(){return!!this.trackerSearchCtrl};y6.\u0275fac=function(a){return new (a||y6)(A(Vt),A(mL),A(t1),A(bU),A(VF),A(MG),A(NG),A(wH),A(x6),A(cG),A(AX))};
y6.\u0275cmp=p({type:y6,selectors:[["b-top-bar-outlet"]],viewQuery:function(a,b){a&1&&(ih(T4,5),ih(w6,5));if(a&2){var c;hh(c=kh())&&(b.advancedSearchCtrl=c.first);hh(c=kh())&&(b.trackerSearchCtrl=c.first)}},features:[qg],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&&(E(0,"b-app-top-bar",0),K("searchBoxOnAdvancedSearchOpen",function(){return b.onAdvancedSearchOpen()})("searchBoxOnAdvancedSearchClose",
function(){return b.onAdvancedSearchClose()})("searchBoxOnAdvancedSearchSubmit",function(){return b.submitAdvancedSearch()})("searchBoxOnSaveSearch",function(d){return b.saveSearch(d)}),U(1,"async"),P(2,Kib,3,6,"b-tracker-search",1),U(3,"async"),H(4,"b-advanced-search",2),U(5,"async"),P(6,Lib,4,0,"div",3),P(7,Oib,3,2,"div",4),P(8,Pib,2,0,"div",4),F(),P(9,Qib,1,0,"b-tracker-account-menu-hack",5),U(10,"async"));if(a&2){var c;D("logoFrontendAccessMode",b.frontendAccessMode)("logoEnvironmentType",b.environmentType)("searchBoxPlaceholder",
CFc(b,V(1,12,b.currentTracker.tracker$)))("searchBoxAutoCompleteItems",b.items)("searchBoxAutoCompleteHeader",b.acHeader)("isSearchDisabled",b.isSearchDisabled());z(2);D("ngIf",null!==(c=V(3,14,b.currentTracker.inTracker$))&&void 0!==c?c:!1);z(2);D("isTrackerSearchEnabled",b.currentTracker.enableTrackers&&!V(5,16,b.currentTracker.inTracker$));z(2);D("ngIf","INIT"===(null==b.advancedSearchCtrl?null:b.advancedSearchCtrl.getState()));z(1);D("ngIf","NOT_REPRESENTABLE"===(null==b.advancedSearchCtrl?null:
b.advancedSearchCtrl.getState())||"SYNTAX_ERROR"===(null==b.advancedSearchCtrl?null:b.advancedSearchCtrl.getState()));z(1);D("ngIf","SERVER_ERROR"===(null==b.advancedSearchCtrl?null:b.advancedSearchCtrl.getState()));z(1);D("ngIf",b.enableTrackersAccountHack&&!b.activeSession.isAnonymous()&&V(10,18,b.currentTracker.inTracker$))}},dependencies:[yw,T4,w6,p5,zM,jB,v6,Ew],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 z6=function(){};z6.\u0275fac=function(a){return new (a||z6)};z6.\u0275mod=od({type:z6});z6.\u0275inj=Wc({imports:[Mw,iP]});var A6=function(){};A6.\u0275fac=function(a){return new (a||A6)};A6.\u0275mod=od({type:A6});A6.\u0275inj=Wc({imports:[Mw,W4,z6,w5,PP,OC,GC]});var B6=function(a,b){this.dialogRef=a;this.data=b;this.userToDisplay=Yj;this.updateDiffs=b.updateDiffs};B6.prototype.close=function(){this.dialogRef.close()};B6.\u0275fac=function(a){return new (a||B6)(A(FA),A(HA))};
B6.\u0275cmp=p({type:B6,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&&(E(0,"div",0)(1,"ul",1),P(2,Zib,10,4,"li",2),F()(),E(3,"div",3)(4,"button",4),K("click",function(){return b.close()}),Q(5," Close "),F()());a&2&&(z(2),D("ngForOf",b.updateDiffs))},dependencies:[xw,yw,tA,LA,MA,UK,TK,cL],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 C6=function(){};C6.\u0275fac=function(a){return new (a||C6)};C6.\u0275mod=od({type:C6});C6.\u0275inj=Wc({imports:[Mw,YC,NA,DP,IN]});var D6=function(a,b){Z.call(this);this.$window=a;this.currentTracker=b;this.faviconUrl=this.defaultFaviconUrl=oi("https://www.gstatic.com/buganizer/img/v4/favicon.png")};W(D6,Z);D6.\u0275dir=Z.\u0275dir;
var EFc=function(a){var b=a.$window.document.head.querySelector('link[rel="shortcut icon"]'),c=null==b?void 0:b.href;a.faviconUrl=c?oi(c):a.defaultFaviconUrl;a.currentTracker.tracker$.pipe(B(function(d){var e;if(null==d?0:null==(e=d.branding)?0:e.logoUrl){var f;d=oi(null==d?void 0:null==(f=d.branding)?void 0:f.logoUrl)}else d=a.faviconUrl;return d}),dg(a.destroyed$)).subscribe(function(d){if(b&&b.href!==d.toString())a:{if(d instanceof Ou)b.href=oj(d).toString();else{if(-1===aSb.indexOf("icon"))throw Error("Xb`icon");
d=Vka(d);if(void 0===d)break a;b.href=d}b.rel="icon"}})};D6.\u0275fac=function(a){return new (a||D6)(n(EE),n(mL))};D6.\u0275prov=Vc({token:D6,factory:D6.\u0275fac,providedIn:"root"});var FFc=/^\s*[^:/?#]+:/i,GFc=/^#/i,E6=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"))&&!FFc.test(d))if(GFc.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)}}};E6.prototype.install=function(){document.addEventListener("click",this.linkClickHandler)};E6.\u0275fac=function(a){return new (a||E6)(n(MG))};E6.\u0275prov=Vc({token:E6,factory:E6.\u0275fac,providedIn:"root"});var HFc=[],IFc=!1,F6=function(a,b,c,d,e,f,h,l){Z.call(this);this.hatsService=a;this.iconRegistry=b;this.session=c;this.appHistory=d;this.routePerformance=e;this.linkClickHandler=f;this.issueLru=h;this.faviconService=l};W(F6,Z);F6.\u0275dir=Z.\u0275dir;F6.prototype.tearDown=function(){Z.prototype.ngOnDestroy.call(this);document.removeEventListener("click",this.linkClickHandler.linkClickHandler)};F6.\u0275fac=function(a){return new (a||F6)(n(RP),n(hB),n(Vt),n(L1),n(O1),n(E6),n(CV),n(D6))};
F6.\u0275prov=Vc({token:F6,factory:F6.\u0275fac,providedIn:"root"});
var JFc={provide:EFb,useFactory:function(a){return function(){rj("app initializer starting");IFc||(a.iconRegistry._addSvgIconSetConfig("",new HMb(F3b)),IFc=!0);if(a.session.isInternalSession()){f8b(a.hatsService,"Y4qgAGETM0g6pPHSLo10T83aMF4T").pipe(Rf(),dg(a.destroyed$)).subscribe();for(var b=m(HFc),c=b.next();!c.done;c=b.next()){c=c.value;var d=c.hatsTriggerId;DE(a.session,c.flagName)&&f8b(a.hatsService,d).pipe(Rf(),dg(a.destroyed$)).subscribe()}}a.appHistory.install();a.routePerformance.install();
a.linkClickHandler.install();b=a.issueLru;MSa(b.viewed,ric());MSa(b.edited,pic());b.appEvents.issueViewed.pipe(dg(b.stop$)).subscribe(b.addViewed);b.appEvents.issueEdited.pipe(dg(b.stop$)).subscribe(b.addEdited);EFc(a.faviconService)}},deps:[F6],multi:!0};var G6=function(a,b){this.paths=a;this.bLocation=b};G6.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)};G6.\u0275fac=function(a){return new (a||G6)(n(NG),n(MG))};G6.\u0275prov=Vc({token:G6,factory:G6.\u0275fac,providedIn:"root"});var KFc={provide:pM,useExisting:G6};var LFc=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 H6=function(a){hj.call(this);this.errorHandlerFn_=a};gu(H6,hj);H6.prototype.wrap=function(a){return MFc(this,a)};var I6=function(a,b){return(b?"__wrapper_":"__protected_")+Ua(a)+"__"},MFc=function(a,b){var c=I6(a,!0);b[c]||((b[c]=NFc(a,b))[I6(a,!1)]=b);return b[c]},NFc=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[I6(a,!1)]=b;return c};
H6.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 OFc(a);};
var PFc=function(a,b){var c=da.window||da.globalThis,d=c[b];if(!d)throw Error("Qe`"+b);c[b]=function(e,f){"string"===typeof e&&(e=fu(eCb,e));e&&(arguments[0]=e=MFc(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,f)};c[b][I6(a,!1)]=d};
H6.prototype.disposeInternal=function(){var a=da.window||da.globalThis;var b=a.setTimeout;b=b[I6(this,!1)]||b;a.setTimeout=b;b=a.setInterval;b=b[I6(this,!1)]||b;a.setInterval=b;H6.superClass_.disposeInternal.call(this)};var OFc=function(a){ba.call(this,"Error in protected function: "+(a&&a.message?String(a.message):String(a)),a);(a=a&&a.stack)&&"string"===typeof a&&(this.stack=a)};gu(OFc,ba);var J6=function(a,b,c){wq.call(this);this.contextProvider_=b||null;this.additionalArguments_={};this.xhrSender_=QFc;this.handlerUrl_=a;if(!c){this.errorHandler_=null;this.errorHandler_=new H6(eu(this.handleException,this));PFc(this.errorHandler_,"setTimeout");PFc(this.errorHandler_,"setInterval");a=this.errorHandler_;b=da.window||da.globalThis;c=["requestAnimationFrame","mozRequestAnimationFrame","webkitAnimationFrame","msRequestAnimationFrame"];for(var d=0;d<c.length;d++){var e=c[d];c[d]in b&&PFc(a,
e)}a=this.errorHandler_;hNb=!0;b=eu(a.wrap,a);for(c=0;c<fNb.length;c++)fNb[c](b);gNb.push(a)}};gu(J6,wq);var RFc=function(a,b){zB.call(this,"F");this.error=a;this.context=b};gu(RFc,zB);var QFc=function(a,b,c,d){if(d instanceof Map){var e={};d=m(d);for(var f=d.next();!f.done;f=d.next()){var h=m(f.value);f=h.next().value;h=h.next().value;e[f]=h}}else e=d;gj(a,null,b,c,e)};
J6.prototype.handleException=function(a,b){a=a.error||a;b=b?tc(b):{};a instanceof Error&&uc(b,a.__closure__error__context__984382||{});var c=bJb(a);if(this.contextProvider_)try{this.contextProvider_(c,b)}catch(l){}var d=c.message.substring(0,1900);if(!(a instanceof ba)||a.reportErrorToServer){a=c.stack;try{var e=$B(this.handlerUrl_,"script",c.fileName,"error",d,"line",c.lineNumber);pc(this.additionalArguments_)||(e=lta(e,this.additionalArguments_));d={};d.trace=a;if(b)for(var f in b)d["context."+
f]=b[f];var h=xPb(d);this.xhrSender_(e,"POST",h,this.extraHeaders_)}catch(l){}}try{this.dispatchEvent(new RFc(c,b))}catch(l){}};J6.prototype.disposeInternal=function(){fj(this.errorHandler_);J6.superClass_.disposeInternal.call(this)};var K6=function(){this.jsBuild="523729168";this.buildLabel="buganizer.frontend_20230412.06_p0"};K6.\u0275fac=function(a){return new (a||K6)};K6.\u0275prov=Vc({token:K6,factory:K6.\u0275fac,providedIn:"root"});var L6=function(){};L6.prototype.reportingEnabled=function(){return 4!==LFc};L6.\u0275fac=function(a){return new (a||L6)};L6.\u0275prov=Vc({token:L6,factory:L6.\u0275fac,providedIn:"root"});
var M6=function(a,b){var c=this;this.appContext=b;this.context={};this.reportingExtensions=[];this.jsDebugErrorReporter=new J6("/jserror",function(d,e){e.js_build=a.jsBuild;e.buildLabel=a.buildLabel;e["build-label"]=a.buildLabel;d=m(c.reportingExtensions);for(var f=d.next();!f.done;f=d.next())f.value.enhanceContext(e)},!0)};
M6.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=m(this.reportingExtensions);for(var b=a.next();!b.done;b=a.next())b.value.onReportedError()}};M6.\u0275fac=function(a){return new (a||M6)(n(K6),n(L6))};M6.\u0275prov=Vc({token:M6,factory:M6.\u0275fac,providedIn:"root"});var N6=function(a){this._console=console;this.reporter=a};W(N6,Qe);N6.prototype.handleError=function(a){this.reporter.reportError(a)};N6.\u0275fac=function(a){return new (a||N6)(n(M6))};N6.\u0275prov=Vc({token:N6,factory:N6.\u0275fac,providedIn:"root"});var O6=function(a){this.activeSession=a};W(O6,L6);O6.prototype.reportingEnabled=function(){return DE(this.activeSession,"reportErrors")};O6.\u0275fac=function(a){return new (a||O6)(n(Vt))};O6.\u0275prov=Vc({token:O6,factory:O6.\u0275fac,providedIn:"root"});
var SFc={provide:Qe,useClass:N6},TFc={provide:L6,useClass:O6},UFc={provide:K6,useValue:{jsBuild:"523729168",buildLabel:"buganizer.frontend_20230412.06_p0"}};var P6=function(){};P6.\u0275fac=function(a){return new (a||P6)};P6.\u0275cmp=p({type:P6,selectors:[["b-empty"]],decls:0,vars:0,template:function(){},encapsulation:2});var Q6=function(){};Q6.\u0275fac=function(a){return new (a||Q6)};Q6.\u0275mod=od({type:Q6});Q6.\u0275inj=Wc({});var R6=function(){};W(R6,BG);R6.prototype.store=function(){};R6.prototype.shouldReuseRoute=function(a,b){return a.routeConfig===b.routeConfig&&Fj(a.params,b.params)};R6.\u0275fac=function(){var a;return function(b){return(a||(a=ie(R6)))(b||R6)}}();R6.\u0275prov=Vc({token:R6,factory:R6.\u0275fac,providedIn:"root"});var S6=function(a){this.router=a};
S6.prototype.canActivate=function(a,b){if(b.url.includes("#ISSUE_HistoryHeader")){var c=m(b.url.split("#ISSUE_HistoryHeader"));a=c.next().value;c=c.next().value;return GG(this.router,[a],{fragment:c&&!isNaN(Number(c))?"comment"+c:void 0})}if(a.queryParamMap.has("showInsights")&&"1"===a.queryParamMap.get("showInsights")){b=m(b.url.split("?")).next().value;var d={};return GG(this.router,[b],{queryParams:Object.assign({},hva(a.queryParamMap),(d.showInsights="deployments",d)),fragment:null!=(c=a.fragment)?
c:void 0})}return!0};S6.\u0275fac=function(a){return new (a||S6)(n(FG))};S6.\u0275prov=Vc({token:S6,factory:S6.\u0275fac,providedIn:"root"});var VFc=/^(\d+)$/,T6=function(a){this.butterBar=a;this.paramNamesToCheck=new Set(Object.values(UTb))};T6.prototype.validate=function(a){for(var b=m(Object.keys(a)),c=b.next();!c.done;c=b.next())if(c=c.value,this.paramNamesToCheck.has(c)){var d=a[c],e=Sj(d);if(!VFc.test(d)||isNaN(e)||!Number.isInteger(e))return XF(this.butterBar,"The URL parameter "+c+' has the malformed value "'+d+'".'),!1}return!0};T6.\u0275fac=function(a){return new (a||T6)(n(VF))};
T6.\u0275prov=Vc({token:T6,factory:T6.\u0275fac,providedIn:"root"});var U6=function(a){this.routeParamsValidator=a};U6.prototype.canActivate=function(a){return this.routeParamsValidator.validate(a.params)};U6.\u0275fac=function(a){return new (a||U6)(n(T6))};U6.\u0275prov=Vc({token:U6,factory:U6.\u0275fac,providedIn:"root"});var V6=function(a,b){this.activeSession=a;this.router=b};V6.prototype.canActivate=function(){return this.activeSession.isInternalSession()?!0:GG(this.router,["issues"])};V6.\u0275fac=function(a){return new (a||V6)(n(Vt),n(FG))};V6.\u0275prov=Vc({token:V6,factory:V6.\u0275fac,providedIn:"root"});var W6=function(a,b){this.currentTracker=a;this.router=b};W6.prototype.canActivate=function(){return this.currentTracker.inTracker?GG(this.router,["issues"]):!0};W6.\u0275fac=function(a){return new (a||W6)(n(mL),n(FG))};W6.\u0275prov=Vc({token:W6,factory:W6.\u0275fac,providedIn:"root"});var X6=function(a,b){this.router=a;this.activeSession=b};X6.prototype.canActivate=function(){var a=DE(this.activeSession,"enableHomepageVariantA");return GG(this.router,[$ib(a)])};X6.\u0275fac=function(a){return new (a||X6)(n(FG),n(Vt))};X6.\u0275prov=Vc({token:X6,factory:X6.\u0275fac,providedIn:"root"});var Y6=function(a){Z.call(this);var b=this;this.componentFridge=a;this.componentId$=new C.ReplaySubject(1);this.hidePath=!1;this.error$=this.componentFridge.error$.pipe(Gf(function(c){return String(c.idOrKey)===b.componentIdInternal}));this.rawComponent$=this.componentId$.pipe(Gf(nk),cg(this.componentFridge.watch),Gf(nk));this.component$=(0,C.merge)(this.error$,this.rawComponent$).pipe(B(function(c){return c.componentId&&c.name?c:{componentId:Number(c.idOrKey),name:"(unknown)"}}));this.isArchived$=
this.component$.pipe(B(function(c){return c.archived}));this.componentPath$=this.component$.pipe(B(function(c){return kr(c.componentPathInfo)}));this.init=new C.ReplaySubject(1);this.routes$=this.componentId$.pipe(B(function(c){return{createIssue:nta(c),componentSettings:ota(c),recentIssues:eo(c)}}))};W(Y6,Z);Y6.\u0275dir=Z.\u0275dir;Y6.prototype.ngOnInit=function(){var a=this;this.component$.pipe(Rf(),dg(this.destroyed$)).subscribe(function(){a.init.next()})};
Xi.Object.defineProperties(Y6.prototype,{componentId:{configurable:!0,enumerable:!0,set:function(a){this.componentIdInternal=a=String(a);this.componentId$.next(a)}}});Y6.\u0275fac=function(a){return new (a||Y6)(A(xF))};
Y6.\u0275cmp=p({type:Y6,selectors:[["b-component-path-card"]],inputs:{componentId:"componentId",hidePath:"hidePath"},outputs:{init:"init"},features:[qg],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&&(E(0,"div",0)(1,
"div",1),P(2,djb,5,6,"div",2),P(3,ejb,9,3,"ng-container",3),U(4,"async"),P(5,fjb,7,3,"div",4),U(6,"async"),F()());a&2&&(z(2),D("ngIf",!b.hidePath),z(1),D("ngIf",V(4,3,b.component$)),z(2),D("ngIf",V(6,5,b.routes$)))},dependencies:[xw,yw,jB,uA,bO,Ew],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 Z6=function(a,b,c,d,e){var f=this;this.userResources=a;this.history=b;this.router=c;this.currentTracker=d;this.activeSession=e;this.viewIssues=eo;this.createIssue=nta;this.componentSettings=ota;this.trackerId=this.currentTracker.getTrackerId();this.includeArchived=!1;this.isThinking=!0;this.isInternalSession=this.activeSession.isInternalSession();this.placeholder$=this.currentTracker.inTracker$.pipe(B(function(h){return h||f.activeSession.isExternalSession()?"Find components by name or id":"Find components by name, team, or id"}));
this.recentComponents$=this.userResources.getRecentComponents().then(function(h){return h.filter(function(l){return f.filterTrackerComponents(l)})}).finally(function(){f.isThinking=!1})};Z6.prototype.back=function(){M1(this.history)};Z6.prototype.filterTrackerComponents=function(a){return Sn(this.trackerId)||a.trackerId===this.trackerId};Z6.\u0275fac=function(a){return new (a||Z6)(A(dH),A(L1),A(FG),A(mL),A(Vt))};
Z6.\u0275cmp=p({type:Z6,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&&(E(0,"article",
0)(1,"header",1)(2,"div",2)(3,"button",3),K("click",function(){return b.back()}),H(4,"mat-icon",4),F(),E(5,"h2"),Q(6,"Components"),F()(),E(7,"div",5),P(8,gjb,2,0,"a",6),E(9,"b-slide-toggle",7),K("modelChange",function(e){return b.includeArchived=e}),F()()(),E(10,"section",8)(11,"h3"),Q(12,"Search"),F(),E(13,"b-team-component-picker",9),K("selectedComponentChange",function(e){null!=e&&Gt(b.router,ota(e.componentId).path)}),U(14,"async"),U(15,"async"),F(),E(16,"h3",10),Q(17,"Recent Components"),F(),
E(18,"div",11),P(19,kjb,4,2,"ng-container",12),U(20,"async"),F(),E(21,"p",13)(22,"a",14),Q(23,"See all Components"),F()()()());if(a&2){var c,d;z(8);D("ngIf",b.isInternalSession);z(1);D("model",b.includeArchived);z(4);D("includeArchived",b.includeArchived)("placeholder",null!==(c=V(14,6,b.placeholder$))&&void 0!==c?c:"")("ariaLabel",null!==(d=V(15,8,b.placeholder$))&&void 0!==d?d:"");z(6);D("ngIf",V(20,10,b.recentComponents$))}},dependencies:[tA,uA,jB,NC,xw,yw,HG,bO,nV,Y6,iK,jK,nK,kK,dZ,qP,qL,Ew],
encapsulation:2});var $6=function(){};$6.\u0275fac=function(a){return new (a||$6)};$6.\u0275mod=od({type:$6});$6.\u0275inj=Wc({imports:[Mw,OC,YC,LG,cO]});var WFc=["bookmarkGroupName"],XFc=function(a){return{"bv2-edit-resource-readonly":a}},a7=function(a,b,c,d,e,f,h,l,q,u){Z.call(this);var x=this;this.location=a;this.appHistory=b;this.snackBar=c;this.bookmarkGroupsApi=d;this.paths=e;this.analytics=f;this.errorHandler=l;this.appEvents=u;this.error="";this.isSaving=!1;this.bookmarkGroupUnderEdit=new ex({name:new gx("",Xw),description:new gx("")});h.setTitle("Create Bookmark Group");this.subscriptions.add(gQ(q,function(){return!(!x.name()&&!x.description())},
!1))};W(a7,Z);a7.\u0275dir=Z.\u0275dir;g=a7.prototype;g.ngAfterViewInit=function(){this.bookmarkGroupName.nativeElement.focus()};
g.save=function(){var a=this;this.validate()&&(this.snackBar.open("Saving bookmark group...","dismiss",{duration:0}),this.isSaving=!0,this.bookmarkGroupsApi.create({name:this.name(),description:this.description()}).then(function(b){a.isSaving=!1;a.snackBar.open('Bookmark group "'+b.name+'" saved.',"dismiss",{duration:2E3});a.appEvents.bookmarkGroupModified.next({bookmarkGroupId:b.bookmarkGroupId});a.analytics.trackEvent("sidebarHotlists","createdBookmarkGroup");a.location.replaceUrl(a.paths.editBookmarkGroup(b.bookmarkGroupId));
a.revertChanges()}).catch(function(b){a.isSaving=!1;a.errorHandler.errorHandler(null,b)}))};g.validate=function(){if(""===this.name())return this.error="Error: You must fill out all required fields.",!1;this.error="";return!0};g.back=function(){M1(this.appHistory)};g.revertChanges=function(){this.bookmarkGroupUnderEdit.reset()};g.name=function(){var a,b=null==(a=this.bookmarkGroupUnderEdit.get("name"))?void 0:a.value;return b?b:""};
g.description=function(){var a,b=null==(a=this.bookmarkGroupUnderEdit.get("description"))?void 0:a.value;return b?b:""};a7.\u0275fac=function(a){return new (a||a7)(A(MG),A(L1),A(SF),A(eX),A(NG),A(wH),A(JV),A(ZF),A(fQ),A(cG))};
a7.\u0275cmp=p({type:a7,selectors:[["b-create-bookmark-group"]],viewQuery:function(a,b){a&1&&ih(WFc,5);if(a&2){var c;hh(c=kh())&&(b.bookmarkGroupName=c.first)}},features:[qg],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&&(E(0,"div",0)(1,"div",1)(2,"button",2),K("click",function(){return b.back()}),H(3,"mat-icon",3),F(),E(4,"h2"),Q(5,"Create a new bookmark group"),F()()(),E(6,"div",4)(7,"div",5)(8,"form",6),H(9,"b-error-banner",7),E(10,"div",8)(11,"label",9),Q(12,"Name"),F(),H(13,"input",10,11),F(),E(15,"div",8)(16,"label",12),Q(17,"Description"),F(),E(18,"textarea",13),Q(19,"        "),F()(),E(20,"p",14),Q(21," Advanced settings such as selected items and access controls may be defined once the bookmark group is created. "),
F(),E(22,"div",15)(23,"button",16),K("click",function(){return b.save()}),Q(24," Save "),F(),E(25,"button",17),K("click",function(){return b.revertChanges()}),Q(26," Revert changes "),F()()()()());a&2&&(z(8),D("formGroup",b.bookmarkGroupUnderEdit),z(1),D("error",b.error),z(1),D("ngClass",Xg(7,XFc,b.isSaving)),z(3),D("disabled",b.isSaving),z(2),D("ngClass",Xg(9,XFc,b.isSaving)),z(3),D("disabled",b.isSaving),z(5),D("disabled",b.isSaving))},dependencies:[ww,tA,NC,jB,ix,Qh,ax,bx,sx,ox,px,w0],encapsulation:2});var YFc=["form"],b7=function(a,b,c,d,e,f,h,l,q,u){Z.call(this);this.butterBar=a;this.paths=b;this.analytics=c;this.appHistory=d;this.bLocation=e;this.activeSession=f;this.documentationLinks=h;this.componentActions=u;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:void 0,defaultTemplateId:0,slo:{inherit:!0,source:"BUGSCOPE",id:"0"},bugscopeSloId:"0"};this.sessionIsExternal=f.isExternalSession();l.parentId&&this.loadParentComponent(Lj(l.parentId));q.setTitle("Create component")};W(b7,Z);b7.\u0275dir=Z.\u0275dir;g=b7.prototype;g.ngAfterViewInit=function(){};
g.create=function(){var a=this;this.validate()&&(WF(this.butterBar,"Saving component...",0),this.isSaving=!0,this.component.parentComponentId=this.parentComponent.componentId,this.componentActions.create(this.component).then(function(b){WF(a.butterBar,"Component saved, redirecting in "+a.activeSession.getCreateComponentRedirectDelay()/1E3+"s.",a.activeSession.getCreateComponentRedirectDelay());a.analytics.trackEvent("component","create");a.commentEditsEnabled?a.analytics.trackEvent("component","comment edits enabled",
"create"):a.analytics.trackEvent("component","comment edits disabled","create");setTimeout(function(){a.isSaving=!1;a.bLocation.replaceUrl(a.paths.manageComponent(b.componentId))},a.activeSession.getCreateComponentRedirectDelay())}).catch(function(b){XF(a.butterBar,Wn(b),0);a.isSaving=!1}))};g.back=function(){M1(this.appHistory)};
g.validate=function(){if(this.createComponentForm.form.invalid)return this.error="Error: You must fill out all required fields.",!1;if(this.componentIsValid){if(this.retentionIsValid)return this.error="",!0;this.error="Error: Required retention settings are missing or invalid."}return!1};g.loadParentComponent=function(a){var b=this;this.componentActions.getUncached(a,!0).then(function(c){b.parentComponent=c})};
g.setCommentEditState=function(a){this.commentEditsEnabled=a;this.component.commentEditState=this.commentEditsEnabled?"ENABLED":"DISABLED"};g.onComponentSelect=function(a){this.parentComponent=a;ZFc(this)};g.accessCheckComplete=function(a){this.componentIsValid=a;ZFc(this)};
var ZFc=function(a){a.parentComponent?(a.component.commentEditState=a.parentComponent.commentEditState,a.commentEditsEnabled="ENABLED"===a.component.commentEditState):(a.component.commentEditState="DISABLED",a.commentEditsEnabled=!1)};Xi.Object.defineProperties(b7.prototype,{parentComponent:{configurable:!0,enumerable:!0,get:function(){return this.parentComponentInternal},set:function(a){this.parentComponentInternal=a;ZFc(this)}}});
b7.\u0275fac=function(a){return new (a||b7)(A(VF),A(NG),A(wH),A(L1),A(MG),A(Vt),A(SI),A(yJ),A(JV),A(hV))};
b7.\u0275cmp=p({type:b7,selectors:[["create-component-page"]],viewQuery:function(a,b){a&1&&ih(YFc,5);if(a&2){var c;hh(c=kh())&&(b.createComponentForm=c.first)}},features:[qg],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&&(E(0,"div",0)(1,"div",1)(2,"b-button",2),K("onAction",function(){return b.back()}),H(3,"b-icon",3),F()()(),E(4,"div",4)(5,"h2",5),Q(6,"Create component"),F(),E(7,"div",
6)(8,"form",7,8),H(10,"b-error-banner",9),E(11,"div",10)(12,"label",11)(13,"span",12),Q(14,"Name"),F()(),E(15,"input",13),K("ngModelChange",function(c){return b.component.name=c}),F()(),E(16,"div",10)(17,"label",14)(18,"span",12),Q(19,"Description"),F()(),E(20,"textarea",15),K("ngModelChange",function(c){return b.component.description=c}),Q(21,"        "),F()(),E(22,"div",10)(23,"label",16)(24,"span",12),Q(25,"Parent Component"),F()(),E(26,"b-team-component-picker",17),K("selectedComponentChange",
function(c){return b.onComponentSelect(null!==c&&void 0!==c?c:null)})("accessCheckComplete",function(c){return b.accessCheckComplete(c)}),F()(),E(27,"div",18)(28,"div",19)(29,"mat-checkbox",20),K("change",function(c){return b.setCommentEditState(c.checked)}),F()(),E(30,"div")(31,"strong",21),Q(32,"Editable Comments"),F(),E(33,"div",22),Q(34," When checked, users with comment access can modify their own issue comments, and editors can modify the first issue comment. "),P(35,mjb,2,1,"a",23),F()()(),
E(36,"div",10)(37,"label",24)(38,"span",12),Q(39,"Retention Settings"),F()(),E(40,"div",21)(41,"p"),Q(42,"Please choose a period of time to retain the data stored in this component."),H(43,"br"),E(44,"a",25),Q(45," Learn more "),F()()(),E(46,"div",26)(47,"b-retention-settings-form",27),K("modelChange",function(c){return b.component.retentionSettings=c})("validChange",function(c){return b.retentionIsValid=c}),F()()(),E(48,"p",28),Q(49," Advanced settings such as custom field and access controls may be defined once the component is created. "),
F(),E(50,"div",29)(51,"b-button",30),K("onAction",function(){return b.create()}),Q(52," Save "),F(),E(53,"b-button",31),K("onAction",function(){return b.back()}),Q(54," Discard "),F()()()()());a&2&&(z(8),Fg("show-errors",b.error),z(2),D("error",b.error),z(1),Fg("bv2-edit-resource-readonly",b.isSaving),z(4),D("bFocus",!0)("ngModel",b.component.name)("disabled",b.isSaving)("required",!0),z(1),Fg("bv2-edit-resource-readonly",b.isSaving),z(4),D("ngModel",b.component.description)("disabled",b.isSaving),
z(2),Fg("bv2-edit-resource-readonly",b.isSaving),z(4),D("selectedComponent",b.parentComponent)("placeholder","Choose Component")("isRequired",!0)("checkAdminAccess",!0),z(1),Fg("bv2-edit-resource-readonly",b.isSaving),z(2),D("checked",b.commentEditsEnabled),z(6),D("ngIf",!b.sessionIsExternal),z(9),D("href",Qt(),Ie),z(2),Fg("bv2-edit-resource-readonly",b.isSaving),z(1),D("issueRetentionDisabled",b.isSaving)("isExternal",ur(b.parentComponent))("initialModel",b.component.retentionSettings),z(4),D("disabled",
b.isSaving||!b.componentIsValid),z(2),D("disabled",b.isSaving))},dependencies:[cQ,yw,w0,eV,ix,Qh,ax,bx,sx,hx,fx,GN,DO,r1,nV],styles:["b-team-component-picker[_ngcontent-%COMP%]{display:block;width:600px}\n/*# sourceMappingURL=create_component_page.css.map */"]});var $Fc=["hotlistName"],aGc=function(a){return{"bv2-edit-resource-readonly":a}},c7=function(a,b,c,d,e,f,h,l,q,u){Z.call(this);var x=this;this.location=a;this.appHistory=b;this.snackBar=c;this.hotlistApi=d;this.paths=e;this.analytics=f;this.errorHandler=l;this.appEvents=u;this.error="";this.isSaving=!1;this.hotlistUnderEdit=new ex({name:new gx("",Xw),description:new gx("")});h.setTitle("Create Hotlist");this.subscriptions.add(gQ(q,function(){return!(!x.name()&&!x.description())},!1))};W(c7,Z);
c7.\u0275dir=Z.\u0275dir;g=c7.prototype;g.ngAfterViewInit=function(){this.hotlistName.nativeElement.focus()};
g.save=function(){var a=this;this.validate()&&(this.snackBar.open("Saving hotlist...","dismiss",{duration:0}),this.isSaving=!0,this.hotlistApi.createHotlist(this.name(),this.description()).then(function(b){a.isSaving=!1;a.snackBar.open('Hotlist "'+b.name+'" saved.',"dismiss",{duration:6E3});a.appEvents.hotlistChanged.next({hotlistId:b.hotlistId});a.analytics.trackEvent("hotlist","create");a.location.replaceUrl(a.paths.editHotlist(b.hotlistId));a.revertChanges()}).catch(function(b){a.isSaving=!1;a.errorHandler.errorHandler(null,
b)}))};g.validate=function(){if(""===this.name())return this.error="Error: You must fill out all required fields.",!1;this.error="";return!0};g.back=function(){M1(this.appHistory)};g.revertChanges=function(){this.hotlistUnderEdit.reset()};g.name=function(){var a,b=null==(a=this.hotlistUnderEdit.get("name"))?void 0:a.value;return b?b:""};g.description=function(){var a,b=null==(a=this.hotlistUnderEdit.get("description"))?void 0:a.value;return b?b:""};
c7.\u0275fac=function(a){return new (a||c7)(A(MG),A(L1),A(SF),A(ZG),A(NG),A(wH),A(JV),A(ZF),A(fQ),A(cG))};
c7.\u0275cmp=p({type:c7,selectors:[["b-create-hotlist"]],viewQuery:function(a,b){a&1&&ih($Fc,5);if(a&2){var c;hh(c=kh())&&(b.hotlistName=c.first)}},features:[qg],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&&(E(0,"div",0)(1,"div",1)(2,"button",
2),K("click",function(){return b.back()}),H(3,"mat-icon",3),F(),E(4,"h2"),Q(5,"Create a new hotlist"),F()()(),E(6,"div",4)(7,"div",5)(8,"form",6),H(9,"b-error-banner",7),E(10,"div",8)(11,"label",9),Q(12,"Name"),F(),H(13,"input",10,11),F(),E(15,"div",8)(16,"label",12),Q(17,"Description"),F(),E(18,"textarea",13),Q(19,"        "),F()(),E(20,"p",14),Q(21," Advanced settings such as access controls may be defined once the hotlist is created. "),F(),E(22,"div",15)(23,"button",16),K("click",function(){return b.save()}),
Q(24," Save "),F(),E(25,"button",17),K("click",function(){return b.revertChanges()}),Q(26," Revert changes "),F()()()()());a&2&&(z(8),D("formGroup",b.hotlistUnderEdit),z(1),D("error",b.error),z(1),D("ngClass",Xg(7,aGc,b.isSaving)),z(3),D("disabled",b.isSaving),z(2),D("ngClass",Xg(9,aGc,b.isSaving)),z(3),D("disabled",b.isSaving),z(5),D("disabled",b.isSaving))},dependencies:[ww,tA,NC,jB,ix,Qh,ax,bx,sx,ox,px,w0],encapsulation:2});var d7=function(a,b,c){this.analytics=a;this.activeSession=b;this.hatsService=c;this.enableDupSearchControl=DE(this.activeSession,"enableDupSearchControl");this.enableDupSearchA=DE(this.activeSession,"enableDupSearchA");this.enableDupSearchB=DE(this.activeSession,"enableDupSearchB");this.enableDupSearchC=DE(this.activeSession,"enableDupSearchC");this.enableDupSearchMoma=DE(this.activeSession,"enableDupSearchMoma");this.enableSimilarIssues=this.activeSession.isInternalSession()&&(this.enableDupSearchControl||
this.enableDupSearchA||this.enableDupSearchB||this.enableDupSearchC||this.enableDupSearchMoma)};d7.prototype.triggerSimilarIssuesSurvey=function(){return f8b(this.hatsService,"HFPx18aEL0g6pPHSLo10YtkWxxH9",bGc(this)).pipe(B(function(){}))};d7.prototype.trackTitleHoverOver=function(){this.analytics.trackEvent(Mp.MAGIC_BOX,"titleHoverOver",this.getGroupName())};d7.prototype.trackTitleClick=function(){this.analytics.trackEvent(Mp.MAGIC_BOX,"titleClick",this.getGroupName())};
var bGc=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};
d7.prototype.getGroupName=function(){return this.enableDupSearchControl?"BaseVariant":this.enableDupSearchA?"VariantA":this.enableDupSearchB?"VariantB":this.enableDupSearchC?"VariantC":this.enableDupSearchMoma?"VariantMoma":"Control"};d7.\u0275fac=function(a){return new (a||d7)(n(wH),n(Vt),n(RP))};d7.\u0275prov=Vc({token:d7,factory:d7.\u0275fac,providedIn:"root"});var e7=function(a){Y.call(this,a,-1,cGc)};W(e7,Y);e7.prototype.getIssueIdsList=function(){return Aj(this,1)};e7.prototype.setIssueIdsList=function(a){return sl(this,1,a)};e7.prototype.addIssueIds=function(a){Ob(this,1,a)};var cGc=[1];e7.messageId="b.BatchIssueDigestRequest";var eGc=function(a){Y.call(this,a,-1,dGc)};W(eGc,Y);eGc.prototype.getIssueDigestsList=function(){return yj(this,NE,1)};var dGc=[1];eGc.messageId="b.BatchIssueDigestResponse";var f7=function(a,b){this.batchApiConfig=a;this.batchApiAdapter=b;this.adaptedGet=this.batchApiAdapter.adapt(this.batchApiConfig)};f7.prototype.get=function(a){return this.adaptedGet(a).pipe(B(Cpa))};f7.prototype.getAll=function(a){return this.batchApiConfig.call(a).pipe(B(njb))};f7.\u0275fac=function(a){return new (a||f7)(n(g7),n(uF))};f7.\u0275prov=Vc({token:f7,factory:f7.\u0275fac,providedIn:"root"});var g7=function(a){this.executor=a};
g7.prototype.call=function(a){var b=[].concat(r(a));b.sort();a=new e7;b=m(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:eGc})};g7.prototype.split=function(a,b){b=m(b.getIssueDigestsList());for(var c=b.next();!c.done;c=b.next())if(c=c.value,c.getIssueId()===a)return c;return(new NE).setIssueId(a)};g7.\u0275fac=function(a){return new (a||g7)(n(KD))};g7.\u0275prov=Vc({token:g7,factory:g7.\u0275fac,providedIn:"root"});var fGc=function(a){Y.call(this,a)};W(fGc,Y);g=fGc.prototype;g.getTitle=function(){return Dk(this,1)};g.setTitle=function(a){return k(this,1,a)};g.getComponentId=function(){return Ck(this,2)};g.setComponentId=function(a){return k(this,2,a)};g.hasComponentId=function(){return Bk(this,2)};fGc.messageId="b.MomaIssueSearchRequest";var h7=function(a){Y.call(this,a,-1,gGc)};W(h7,Y);h7.prototype.getIssueId=function(a){return wu(this,1,a)};h7.prototype.setIssueId=function(a){return Pb(this,1,a,void 0,Aj)};var gGc=[1];h7.messageId="b.MomaIssueSearchResponse";var i7=function(a){this.executor=a},hGc=function(a,b){b=k((new fGc).setTitle(b.title).setComponentId(String(b.componentId)),3,!0);return a.executor.post({url:"action/issues/momasearch",body:b,responseConstructor:h7}).pipe(B(function(c){return Aj(c,1)}))};i7.\u0275fac=function(a){return new (a||i7)(n(KD))};i7.\u0275prov=Vc({token:i7,factory:i7.\u0275fac,providedIn:"root"});var j7=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},iGc=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)};j7.prototype.hasCustomFieldValue=function(a){return a.customField?0<a.customField.map(function(b){return new Uj(b)}).filter(function(b){return!b.isEmpty()}).length:!1};
j7.prototype.searchAsync=function(a,b,c){var d=this;return(0,C.defer)(function(){return d.relatedIssuesService.get({query:a,nonParallelRequest:!0,sort:"modified_time:desc",count:b,page:null!=c?c:1}).then(function(e){var f,h;return{issues:(null!=(f=e.issueDigests)?f:[]).map(function(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}})})};
j7.prototype.fetchIssues=function(a){if(this.enableDupSearchMoma&&a.issue.title)return jGc(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(iGc(this,c,d)){var e=pjb(d.title||"");e=0<e.length?"title:("+e.join(" ")+")":"";var f=kk(d.componentId);e=(f?"componentid:"+f:"")+(e?" "+e:"");if(this.enableDupSearchControl)b=e;else if(f=pjb(kk(d.comment)||""),f=0<f.length?
"comment:("+f.join(" ")+")":"",e+=f?" "+f:"",this.enableDupSearchA)b=e;else{f=kk(d.type);var h=kk(d.priority);e=e+(" "+(h?"priority:"+h:""))+(" "+(f?"type:"+f:""));this.enableDupSearchB?b=e:(f=kk(d.hotlistId),f=!f||1>(null==f?void 0:f.length)?"":"hotlistid:("+(f.join(" | ")+")"),e=e+(" "+f)+(" "+kGc(this,c,kk(d.customField))),b=this.enableDupSearchC?e:lGc(b))}}else b=lGc(b);return this.searchAsync(b,a.count,a.page)}return this.searchAsync(lGc(a.componentId),a.count,a.page)};
var lGc=function(a){return"componentid:"+a+" status:open"},kGc=function(a,b,c){return!c||1>(null==c?void 0:c.length)?"":c.map(function(d){return new Uj(d)}).filter(function(d){return!d.isEmpty()}).map(function(d){return mGc(a,b,d)}).join(" ")},mGc=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=nGc(c.dateValue);break;case "ENUM":e='"'+c.enumValue+'"';break;case "NUMERIC":e=""+
c.numericValue;break;case "REPEATED_TEXT":e='("'+c.repeatedTextValue.values.join('" | "')+'")';break;case "REPEATED_DATE":e="("+c.repeatedDateValue.values.map(function(f){return nGc(f)}).join(" | ")+")";break;case "REPEATED_ENUM":e='("'+c.repeatedEnumValue.values.join('" | "')+'")';break;case "REPEATED_NUMERIC":e="("+c.repeatedNumericValue.values.join(" | ")+")"}return e?d+e:""},nGc=function(a){return a?a.year+"-"+("0"+a.month).slice(-2)+"-"+("0"+a.day).slice(-2):""};
j7.prototype.getCustomFieldType=function(a,b){var c,d;return null!=(d=null==(c=a[b.customFieldId])?void 0:c.type)?d:""};var jGc=function(a,b,c){return hGc(a.momaSearchApi,{title:b,componentId:c}).pipe(cg(function(d){return a.issueDigests.getAll(new Set(d))}),B(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}}))};j7.\u0275fac=function(a){return new (a||j7)(n(NG),n(GP),n(d7),n(i7),n(f7))};
j7.\u0275prov=Vc({token:j7,factory:j7.\u0275fac,providedIn:"root"});var ojb=RegExp("\\w+","g");var k7=function(a,b,c,d){Z.call(this);this.cdr=a;this.analytics=b;this.relatedIssueFetcher=c;this.experimentSupport=d;this.refreshMagicBox=!1;this.refreshMagicBoxChange=new Rv;this.hideHeader=this.showInline=!1;this.issueTitle="";this.issue={};this.customFieldMap={};this.numIssues=5;this.headerChange=new Rv;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.refresh$=new C.Subject;this.CATEGORIES=Mp};W(k7,Z);k7.\u0275dir=Z.\u0275dir;g=k7.prototype;g.ngOnInit=function(){var a=this;this.fetchIssues();this.refresh$.pipe(Nf(750),dg(this.destroyed$)).subscribe(function(){a.refresh()})};
g.ngOnChanges=function(a){if(!Object.values(a).some(function(c){return c.isFirstChange()})){var b=!1;a.componentId&&(this.showInline&&(this.showInline=!1),b=!0);a.showInline&&(b=!0);this.enableSimilarIssues&&a.issue&&(this.showSuggestedDupes=iGc(this.relatedIssueFetcher,this.customFieldMap,this.issue),this.headerChange.emit(this.getHeader()),this.refresh$.next());b&&this.refresh()}};g.refresh=function(){this.isRefreshing=!0;this.page=1;this.magicBoxIssues=[];this.fetchIssues()};
g.fetchIssues=function(a){var b=this;a&&(this.page=a);this.componentId&&(this.isRefreshing=!0,this.relatedIssueFetcher.fetchIssues({issue:this.issue,customFieldMap:this.customFieldMap,count:this.numIssues,page:this.page,componentId:this.componentId}).pipe(dg(this.destroyed$)).subscribe(function(c){var d=c.issues;1===b.page&&(b.magicBoxIssues=[]);b.magicBoxIssues=b.enableSimilarIssues?[].concat(r(b.magicBoxIssues),r(d)):d;d=b.numIssues;b.numTotalResults=c.numTotalResults;b.numPages=Math.ceil(b.numTotalResults/
d);b.startIndex=0===b.numTotalResults?0:((null!=a?a:1)-1)*d+1;b.endIndex=Math.min(b.startIndex+d-1,b.numTotalResults);b.viewAllHref=c.viewAllHref;b.totalText=b.getTotalText(b.numTotalResults,null!=a?a:1,d,1===a);b.isInitiallyLoading=!1;b.isRefreshing=!1;b.cdr.detectChanges()}))};g.getHeader=function(){return this.showSuggestedDupes?"Similar Issues":"Recent Issues"};g.getTotalText=function(a,b,c,d){return a<=b*c?a.toString():d?"many":a.toString()};g.triggerSimilarIssuesSurvey=function(){this.experimentSupport.triggerSimilarIssuesSurvey().pipe(dg(this.destroyed$)).subscribe()};
g.trackTitleHoverOver=function(){this.experimentSupport.trackTitleHoverOver()};g.trackTitleClick=function(){this.experimentSupport.trackTitleClick()};g.getGroupName=function(){return this.experimentSupport.getGroupName()};k7.\u0275fac=function(a){return new (a||k7)(A(sH,2),A(wH),A(j7),A(d7))};
k7.\u0275cmp=p({type:k7,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:[Ug([GP,sH]),qg,Hd],decls:3,vars:1,consts:[["class","bv2-magic-box",4,"ngIf"],["afterLoaded",""],[1,"bv2-magic-box"],[4,"ngIf","ngIfElse"],[4,"ngIf"],
["class","magic-box-text",4,"ngIf"],["class","magic-box-more",4,"ngIf"],["class","magic-box-load",4,"ngIf"],["class","magic-box-all",4,"ngIf"],["class","magic-box-pager",4,"ngIf"],["class","unstyled feedback-button","type","button","matTooltip","Send feedback for the suggested similar issues",3,"click",4,"ngIf"],[1,"magic-box-pager"],["class","magic-box-pagenums",4,"ngIf"],["format","icon","size","large","tooltip","Previous page","b-aria-label","Previous page",1,"left","compact",3,"disabled","onAction"],
["name","arrow-left","size","large"],["format","icon","size","large","tooltip","Next page","b-aria-label","Next page",1,"right","compact",3,"disabled","onAction"],["name","arrow-right","size","large"],[1,"magic-box-pagenums"],["type","button","matTooltip","Send feedback for the suggested similar issues",1,"unstyled","feedback-button",3,"click"],["svgIcon","feedback-outline",1,"icon-s","gfx-muted"],[1,"magic-box-text"],[3,"ngClass",4,"ngFor","ngForOf"],[3,"ngClass"],["issueHovercard","onedevHovercard"],
[3,"onedevIsHovercardReady","issueId","location","init",4,"onedevHovercardLazyBody"],["target","_blank",1,"magic-box-title",3,"href","onedevHovercardTrigger","click"],[3,"onedevIsHovercardReady","issueId","location","init"],["cardBody",""],[1,"magic-box-more"],["target","_blank",3,"href"],[1,"magic-box-load"],["mat-button","",1,"gmat-button",3,"click"],["svgIcon","arrow-down"],[1,"magic-box-all"],["mat-button","",1,"gmat-button","primary","hovercard-action",3,"click"],["svgIcon","pop-out"]],template:function(a,
b){a&1&&(P(0,rjb,2,2,"div",0),P(1,Fjb,9,8,"ng-template",null,1,qh));a&2&&D("ngIf",b.componentId)},dependencies:[cQ,GN,zM,ww,xw,yw,yP,iK,jK,nK,kK,tA,jB],styles:[".bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{padding:0}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{overflow:hidden;padding:5px 0;text-overflow:ellipsis;white-space:nowrap}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{line-height:28px}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.magic-box-clickable[_ngcontent-%COMP%]{cursor:pointer}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.magic-box-item[_ngcontent-%COMP%]{padding:0}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.magic-box-item-new[_ngcontent-%COMP%]{border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider);color:#5f6368;color:var(--text-muted);padding:0}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.magic-box-item-new[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted)}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.magic-box-item-new[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, .bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.magic-box-item-new[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus{color:#1a73e8;color:var(--link)}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .magic-box-dialog-content[_ngcontent-%COMP%]{display:none}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .magic-box-pager[_ngcontent-%COMP%]{position:absolute;right:10px;top:5px}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .magic-box-pager[_ngcontent-%COMP%]   .magic-box-pagenums[_ngcontent-%COMP%]{float:left;margin-right:10px;margin-top:5px}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .magic-box-pager[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{min-width:34px;padding:0}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .feedback-button[_ngcontent-%COMP%]{position:absolute;right:10px;top:12px}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .feedback-button[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{margin-right:4px}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .feedback-button[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:hover{text-decoration:underline;cursor:pointer}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   .magic-box-text[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted);margin-bottom:15px}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.magic-box-more[_ngcontent-%COMP%]{border-bottom:0}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.magic-box-load[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{padding-left:0}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.magic-box-all[_ngcontent-%COMP%]{float:right}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.magic-box-all[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{border:1px solid;border-color:#dadce0;border-color:var(--divider);padding:3px}.jfk-bubble[_ngcontent-%COMP%]{left:12px;margin:0;padding:15px 20px 15px 15px}.jfk-bubble[_ngcontent-%COMP%]   .magic-box-dialog-content[_ngcontent-%COMP%]{display:block}.jfk-bubble[_ngcontent-%COMP%]   .magic-box-dialog-content[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:0}.jfk-bubble[_ngcontent-%COMP%]   .magic-box-dialog-content[_ngcontent-%COMP%]   .magic-box-header[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]{margin:0}.jfk-bubble[_ngcontent-%COMP%]   .magic-box-dialog-content[_ngcontent-%COMP%]   .magic-box-scroll[_ngcontent-%COMP%]{max-height:200px;overflow-y:scroll}.d-cozy[_ngcontent-%COMP%]   .bv2-magic-box[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{line-height:24px}.d-compact[_ngcontent-%COMP%]   .bv2-magic-box[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{line-height:20px}.bv2-material[_nghost-%COMP%]   .bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%], .bv2-material   [_nghost-%COMP%]   .bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{list-style:disc}.bv2-material[_nghost-%COMP%]   .bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .magic-box-pager[_ngcontent-%COMP%]   .magic-box-pagenums[_ngcontent-%COMP%], .bv2-material   [_nghost-%COMP%]   .bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .magic-box-pager[_ngcontent-%COMP%]   .magic-box-pagenums[_ngcontent-%COMP%]{margin-top:8px}.bv2-material[_nghost-%COMP%]   .bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.magic-box-more[_ngcontent-%COMP%], .bv2-material   [_nghost-%COMP%]   .bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.magic-box-more[_ngcontent-%COMP%]{border-top:1px solid;border-top-color:#dadce0;border-top-color:var(--divider);padding:0}\n/*# sourceMappingURL=magic-box.css.map */"]});var oGc=["popOver"],Hjb=function(a){return{$implicit:a}},Pjb=function(a){return{editingValue:a}},l7=function(a){this.val="";this.allowMultipleLines=!0;this.disabled=this.centerEditIcon=this.newlineWithEnterKey=!1;this.hasBackdrop=!0;this.fitPopoverToViewport=!1;this.valueChange=new Rv;this.editorOpen=new Rv;this.required=this.editing=this.headerFocused=!1;this.editingValue=new gx("",{nonNullable:!0});this.onChange=function(){};this.onTouched=function(){};if(""===a||"true"===a||"required"===a)this.required=
!0};W(l7,oY);g=l7.prototype;g.ngOnInit=function(){};g.valueChanged=function(){return this.editingValue.value!==this.value};g.startEditing=function(){this.disabled||(this.onTouched(),this.editing=!0,this.editingValue.setValue(this.value),this.popOver.open(),this.editorOpen.emit({isOpen:!0}))};g.stopEditing=function(a){this.editing=!1;0===a&&(this.onChange(this.editingValue.value),this.value=this.editingValue.value,this.valueChange.emit(this.value));this.editorOpen.emit({isOpen:!1,closeAction:a})};
g.writeValue=function(a){null!=a&&(this.val=a,this.editing||this.editingValue.setValue(a))};g.isActive=function(){return this.headerFocused||this.editing};g.registerOnChange=function(a){this.onChange=a};g.registerOnTouched=function(a){this.onTouched=a};g.setDisabledState=function(a){this.disabled=a};Xi.Object.defineProperties(l7.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this.val},set:function(a){a!==this.val&&this.writeValue(a)}}});
l7.\u0275fac=function(a){return new (a||l7)(ce("required"))};
l7.\u0275cmp=p({type:l7,selectors:[["onedev-text-field"]],viewQuery:function(a,b){a&1&&ih(oGc,7);if(a&2){var c;hh(c=kh())&&(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:[Ug([{provide:Ow,useExisting:cd(function(){return l7}),multi:!0},{provide:oY,useExisting:cd(function(){return l7}),multi:!0}]),qg],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&&(E(0,"button",0,1),K("click",function(){return b.startEditing()})("focus",function(){return b.headerFocused=!0})("blur",function(){return b.headerFocused=!1}),E(2,"span"),P(3,Ijb,2,4,"ng-container",2),P(4,Jjb,1,1,"ng-template",null,3,
qh),F(),P(6,Kjb,2,2,"svg",4),F(),E(7,"onedev-pop-over-edit-panel",5,6),K("closedWithAction",function(f){return b.stopEditing(f)}),F(),P(9,Rjb,2,2,"ng-template",null,7,qh));if(a&2){var c=O(1),d=O(5),e=O(10);ug("aria-labelledby",b.labelledById);z(3);D("ngIf",b.valueTemplate)("ngIfElse",d);z(3);D("ngIf",!b.disabled);z(1);D("anchor",c)("editorTemplate",e)("newlineWithEnterKey",b.newlineWithEnterKey)("hasBackdrop",b.hasBackdrop)("fitToViewport",b.fitPopoverToViewport)}},dependencies:[yw,Dw,Qh,ax,PA,e6,
nx],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 pGc=ri("indicatorRotate",[ui("collapsed, void",ti({transform:"rotate(0deg)"})),ui("expanded",ti({transform:"rotate(180deg)"})),vi("expanded <=> collapsed, void => collapsed",si("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),qGc=ri("bodyExpansion",[ui("collapsed, void",ti({height:"0px",visibility:"hidden"})),ui("expanded",ti({height:"*",visibility:"visible"})),vi("expanded <=> collapsed, void => collapsed",si("225ms cubic-bezier(0.4,0.0,0.2,1)"))]);var rGc=new Bd("CdkAccordion");var sGc=0,m7=function(a,b,c){var d=this;this.accordion=a;this._changeDetectorRef=b;this._expansionDispatcher=c;this._openCloseAllSubscription=C.Subscription.EMPTY;this.closed=new Rv;this.opened=new Rv;this.destroyed=new Rv;this.expandedChange=new Rv;this.id="cdk-accordion-child-"+sGc++;this._disabled=this._expanded=!1;this._removeUniqueSelectionListener=function(){};this._removeUniqueSelectionListener=c.listen(function(e,f){d.accordion&&!d.accordion.multi&&d.accordion.id===f&&d.id!==e&&(d.expanded=
!1)});this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())};g=m7.prototype;g.ngOnDestroy=function(){this.opened.complete();this.closed.complete();this.destroyed.emit();this.destroyed.complete();this._removeUniqueSelectionListener();this._openCloseAllSubscription.unsubscribe()};g.toggle=function(){this.disabled||(this.expanded=!this.expanded)};g.close=function(){this.disabled||(this.expanded=!1)};g.open=function(){this.disabled||(this.expanded=!0)};
g._subscribeToOpenCloseAllActions=function(){var a=this;return this.accordion._openCloseAllActions.subscribe(function(b){a.disabled||(a.expanded=b)})};
Xi.Object.defineProperties(m7.prototype,{expanded:{configurable:!0,enumerable:!0,get:function(){return this._expanded},set:function(a){a=bi(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=bi(a)}}});
m7.\u0275fac=function(a){return new (a||m7)(A(rGc,12),A(qw),A(tz))};m7.\u0275dir=qd({type:m7,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[Ug([{provide:rGc,useValue:void 0}])]});var n7=function(){};n7.\u0275fac=function(a){return new (a||n7)};n7.\u0275mod=od({type:n7});n7.\u0275inj=Wc({});var tGc=new Bd("MAT_ACCORDION");var uGc=new Bd("MAT_EXPANSION_PANEL");var o7=function(a,b){this._template=a;this._expansionPanel=b};o7.\u0275fac=function(a){return new (a||o7)(A(eh),A(uGc,8))};o7.\u0275dir=qd({type:o7,selectors:[["ng-template","matExpansionPanelContent",""]]});var vGc=["body"],wGc=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],xGc=0,yGc=new Bd("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),p7=function(a,b,c,d,e,f,h){m7.call(this,a,b,c);var l=this;this._viewContainerRef=d;this._animationMode=f;this._hideToggle=!1;this.afterExpand=new Rv;this.afterCollapse=new Rv;this._inputChanges=new C.Subject;this._headerId="mat-expansion-panel-header-"+xGc++;this._bodyAnimationDone=new C.Subject;this.accordion=a;this._document=e;this._bodyAnimationDone.pipe(Qf(function(q,
u){return q.fromState===u.fromState&&q.toState===u.toState})).subscribe(function(q){"void"!==q.fromState&&("expanded"===q.toState?l.afterExpand.emit():"collapsed"===q.toState&&l.afterCollapse.emit())});h&&(this.hideToggle=h.hideToggle)};W(p7,m7);p7.\u0275dir=m7.\u0275dir;g=p7.prototype;g._hasSpacing=function(){return this.accordion?this.expanded&&"default"===this.accordion.displayMode:!1};g._getExpandedState=function(){return this.expanded?"expanded":"collapsed"};
g.toggle=function(){this.expanded=!this.expanded};g.close=function(){this.expanded=!1};g.open=function(){this.expanded=!0};g.ngAfterContentInit=function(){var a=this;this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe(bg(null),Gf(function(){return a.expanded&&!a._portal}),Rf()).subscribe(function(){a._portal=new Mx(a._lazyContent._template,a._viewContainerRef)})};g.ngOnChanges=function(a){this._inputChanges.next(a)};
g.ngOnDestroy=function(){m7.prototype.ngOnDestroy.call(this);this._bodyAnimationDone.complete();this._inputChanges.complete()};g._containsFocus=function(){if(this._body){var a=this._document.activeElement,b=this._body.nativeElement;return a===b||b.contains(a)}return!1};
Xi.Object.defineProperties(p7.prototype,{hideToggle:{configurable:!0,enumerable:!0,get:function(){return this._hideToggle||this.accordion&&this.accordion.hideToggle},set:function(a){this._hideToggle=bi(a)}},togglePosition:{configurable:!0,enumerable:!0,get:function(){return this._togglePosition||this.accordion&&this.accordion.togglePosition},set:function(a){this._togglePosition=a}}});p7.\u0275fac=function(a){return new (a||p7)(A(tGc,12),A(qw),A(tz),A(fh),A(Vi),A(cv,8),A(yGc,8))};
p7.\u0275cmp=p({type:p7,selectors:[["mat-expansion-panel"]],contentQueries:function(a,b,c){a&1&&jh(c,o7,5);if(a&2){var d;hh(d=kh())&&(b._lazyContent=d.first)}},viewQuery:function(a,b){a&1&&ih(vGc,5);if(a&2){var c;hh(c=kh())&&(b._body=c.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(a,b){a&2&&Fg("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:[Ug([{provide:tGc,useValue:void 0},{provide:uGc,useExisting:p7}]),qg,Hd],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&&(Ng(wGc),Og(0),E(1,"div",0,1),K("@bodyExpansion.done",function(c){return b._bodyAnimationDone.next(c)}),E(3,"div",2),Og(4,1),P(5,Sjb,0,0,"ng-template",3),F(),Og(6,2),F());a&2&&(z(1),D("@bodyExpansion",b._getExpandedState())("id",b.id),ug("aria-labelledby",b._headerId),z(4),D("cdkPortalOutlet",b._portal))},dependencies:[Qx],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:[qGc]},changeDetection:0});var zGc=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],AGc=aj(function(){}),q7=function(a,b,c,d,e,f,h){var l=AGc.call(this)||this;l.panel=a;l._element=b;l._focusMonitor=c;l._changeDetectorRef=d;l._animationMode=f;l._parentChangeSubscription=C.Subscription.EMPTY;var q=a.accordion?a.accordion._stateChanges.pipe(Gf(function(u){return!(!u.hideToggle&&!u.togglePosition)})):C.EMPTY;l.tabIndex=parseInt(h||"")||0;l._parentChangeSubscription=(0,C.merge)(a.opened,a.closed,q,a._inputChanges.pipe(Gf(function(u){return!!(u.hideToggle||
u.disabled||u.togglePosition)}))).subscribe(function(){return l._changeDetectorRef.markForCheck()});a.closed.pipe(Gf(function(){return a._containsFocus()})).subscribe(function(){return Ix(c,b,"program")});e&&(l.expandedHeight=e.expandedHeight,l.collapsedHeight=e.collapsedHeight);return l};W(q7,AGc);g=q7.prototype;g._toggle=function(){this.disabled||this.panel.toggle()};g._isExpanded=function(){return this.panel.expanded};g._getExpandedState=function(){return this.panel._getExpandedState()};
g._getPanelId=function(){return this.panel.id};g._getTogglePosition=function(){return this.panel.togglePosition};g._showToggle=function(){return!this.panel.hideToggle&&!this.panel.disabled};g._getHeaderHeight=function(){var a=this.panel.expanded;return a&&this.expandedHeight?this.expandedHeight:!a&&this.collapsedHeight?this.collapsedHeight:null};g._keydown=function(a){switch(a.keyCode){case 32:case 13:hi(a)||(a.preventDefault(),this._toggle());break;default:this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(a)}};
g.focus=function(a,b){a?Ix(this._focusMonitor,this._element,a,b):this._element.nativeElement.focus(b)};g.ngAfterViewInit=function(){var a=this;this._focusMonitor.monitor(this._element).subscribe(function(b){b&&a.panel.accordion&&a.panel.accordion._handleHeaderFocus(a)})};g.ngOnDestroy=function(){this._parentChangeSubscription.unsubscribe();this._focusMonitor.stopMonitoring(this._element)};Xi.Object.defineProperties(q7.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this.panel.disabled}}});
q7.\u0275fac=function(a){return new (a||q7)(A(p7,1),A(ke),A(Hx),A(qw),A(yGc,8),A(cv,8),ce("tabindex"))};
q7.\u0275cmp=p({type:q7,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(a,b){a&1&&K("click",function(){return b._toggle()})("keydown",function(c){return b._keydown(c)});a&2&&(ug("id",b.panel._headerId)("tabindex",b.tabIndex)("aria-controls",b.panel.id)("aria-expanded",b.panel.expanded)("aria-disabled",b.panel.disabled),Eg("height",b._getHeaderHeight()),Fg("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:[qg],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&&(Ng(zGc),
E(0,"span",0),Og(1),Og(2,1),Og(3,2),F(),P(4,Tjb,1,1,"span",1));a&2&&(Fg("mat-content-hide-toggle",!b._showToggle()),z(4),D("ngIf",b._showToggle()))},dependencies:[yw],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:[pGc]},changeDetection:0});var r7=function(){};r7.\u0275fac=function(a){return new (a||r7)};r7.\u0275dir=qd({type:r7,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]});var s7=function(){};s7.\u0275fac=function(a){return new (a||s7)};s7.\u0275mod=od({type:s7});s7.\u0275inj=Wc({imports:[Mw,Mz,n7,Rx]});var BGc=["descriptionConfirmDialog"],Vjb=function(a,b){return{partner:a,"public":b}},Ukb=function(a){return{required:a}},alb=function(a){return{"bv2-upload-ongoing":a}},CGc=function(a){return{submitted:a}},t7=function(a,b,c,d,e,f,h,l,q,u,x,y,G,L,M,T,S,X,aa,na,ma,Ca,Fa,Ja,Ab,cb,Ma,ha,xa,Da,Wa,Ra,Ec,Va,kb,Qa){Z.call(this);var tb=this;this.ngZone=a;this.$log=b;this.reloadService=c;this.paths=d;this.redirectUrl=e;this.userAccess=f;this.accessPolicy=h;this.bLocation=l;this.appHistory=q;this.issueTemplate=
u;this.issueTypeDialog=x;this.componentActions=y;this.activeSession=G;this.draftStore=L;this.pageTitle=M;this.analytics=T;this.issueApi=S;this.userApi=X;this.hotlistApi=aa;this.butterBar=na;this.errorHandler=ma;this.matDialogService=Ca;this.appEvents=Fa;this.userPreferencesManager=cb;this.cdr=xa;this.confirmationDialogService=Da;this.issueRelationshipsFridge=Wa;this.issueFridge=Ra;this.componentFridge=Ec;this.clearcut=Va;this.currentTracker=kb;this.jspbPrincipalTypes=Qa;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=DE(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=sn;this.toIssueSeverity=Cra;this.FieldType=Omc;this.initialized=!1;this.trackerComponent$=this.currentTracker.tracker$.pipe(cg(function(Ya){return Ya?
tb.componentFridge.watch(Number(Ya.componentId)).pipe(bg(void 0)):(0,C.of)(void 0)}));this.getSingleEditFieldType=y_a;this.getListFieldType=p0a;this.fetchUserHotlists();this.subscriptions.add(this.appEvents.hotlistChanged.subscribe(function(){tb.fetchUserHotlists()}));this.subscriptions.add(this.appEvents.hotlistCreated.subscribe(function(){tb.fetchUserHotlists()}));this.subscriptions.add(this.appEvents.bookmarkGroupModified.subscribe(function(){tb.fetchUserHotlists()}));this.enableCreateIssueWithTemplate=
DE(G,"enableCreateIssueWithTemplate");this.enableCollaborators=DE(G,"enableCollaborators");this.enableIssueAccessLimits=DE(this.activeSession,"enableIssueAccessLimits");this.frontendIsInternalOrPartner=G.isInternalSession()||hUb(G);this.priorityChoices=ha.priorities.map(function(Ya){return{value:Ya,displayText:Ya}});this.severityChoices=ha.severities.map(function(Ya){return{value:Ya,displayText:Ya}});this.issueTypeChoices=ha.editIssueTypes.map(function(Ya){return{value:Ya,displayText:Era(Ya),altText:ha.issueTypesShortDescriptions.get(Ya)}});
this.urlTemplate=new Htc(Ja,b);this.piiWarningMessage=G.isInternalSession()?"Please be sure you don't include sensitive information/data (PII, SPII, and other sensitive user data) in unrestricted issues (either in text or through attachments). If you do need to include sensitive information, please be sure to link to a secure doc (e.g. a drive file with proper sharing settings) and share only with those that have a business need for access. Please see http://go/buganizerpuppy.":void 0;this.descriptionBoxId=
"bv2-description";this.componentRequestedInUrl=Ja.component;this.templateIssueRequestedInUrl=Ja.template_issue;Ja.template&&(a=Number(Ja.template))&&(this.preferredTemplateId=a);if(a=Ja.parentIssueId)this.parentIssueIds=Array.isArray(a)?a:[a];if(a=Ja.childrenIssueIds)this.childrenIssueIds=Array.isArray(a)?a:[a];if(a=Ja.afterIssueId)this.afterIssueId=Array.isArray(a)?a[0]:a;this.issue=Gj(hlb);elb(this.issue,this);this.audience="EXTERNAL_AUDIENCE";Ja.description?this.comment=new wJ(Ja.description,!0):
(a=this.draftStore.$window.sessionStorage.getItem(ep("0"))||"",this.comment=new wJ(a));this.comment.formattingMode=DGc(this);a=EGc(Ja);this.isFormatInRoute=null!=a;a&&(this.comment.formattingMode=a);this.selectedComponentProcessedPromise=Promise.resolve(void 0);this.subscriptions.add(cb.preferences$.subscribe(function(Ya){var Eb;tb.useCodefont=null!=(Eb=Ya.useCodefont)?Eb:tb.useCodefont}));this.hasAdvancedFieldsInUrlTemplate=Jtc(this.urlTemplate)||!!this.parentIssueIds||!!this.childrenIssueIds;this.subscriptions.add(KM(Ab,
{title:"Create Issue Page",hotkeys:[{keys:["h"],displayAs:"h",description:"Edit hotlists",onPress:function(){var Ya;null==(Ya=tb.hotlistPicker)||Ya.open()}},{keys:["u"],displayAs:"u",description:"Back to previous page",onPress:function(){tb.back()}}]}));this.componentRequestedInUrl?(this.newIssueStarted=!0,FGc(this,Number(this.componentRequestedInUrl))):(Otc(this.urlTemplate,this.issue),this.updateSelectedHotlists());this.templateIssueRequestedInUrl&&(this.newIssueStarted=!0,GGc(this));this.originalIssueCopy=
Gj(this.issue);Ja.description&&(this.originalIssueCopy.comment=this.comment.value,this.issue.comment=this.comment.value);this.isFormatInRoute&&(this.issue.formattingMode=this.comment.formattingMode,this.originalIssueCopy.formattingMode=this.issue.formattingMode);this.pageTitle.setTitle("New issue");this.createRestrictedResourcesComponentWhitelist=G.getCreateRestrictedSubresourcesComponentWhitelist();this.subscriptions.add(gQ(Ma,function(){return tb.hasUnsavedChanges()},!1))};W(t7,Z);
t7.\u0275dir=Z.\u0275dir;t7.prototype.isCaptchaValid=function(){return!this.enableRecaptcha||""!==this.recaptchaResponse};var blb=function(a){return a.isSaving||a.isNavigatingAway||!a.canCreateNewIssuesInComponent||!a.isCaptchaValid()||!1};t7.prototype.ngOnDestroy=function(){Z.prototype.ngOnDestroy.call(this);HGc(this)};
t7.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))}))};t7.prototype.unloadPageHandler=function(){HGc(this)};var u7=function(a){a.initialized&&a.ngZone.run(function(){a.cdr.detectChanges()})};t7.prototype.back=function(){M1(this.appHistory)};
t7.prototype.onAccessLimitLevelSelected=function(a){this.selectedAccessLimitLevel=a};
t7.prototype.selectComponent=function(a){this.selectedComponent=a;this.enableCollaborators=DE(this.activeSession,"enableCollaborators");this.enableIssueAccessLimits=DE(this.activeSession,"enableIssueAccessLimits");this.selectedComponent?(this.enableCollaborators=(DE(this.activeSession,"enableCollaborators")||this.activeSession.getCollaboratorsComponentAllowlist().has(this.selectedComponent.componentId))&&!this.activeSession.getCollaboratorsComponentDenylist().has(this.selectedComponent.componentId),this.enableIssueAccessLimits||
(this.enableIssueAccessLimits=this.activeSession.getIssueAccessLimitsComponentAllowlist().has(this.selectedComponent.componentId)),this.issue=Object.assign({},this.issue,{componentId:this.selectedComponent.componentId}),this.originalIssueCopy.componentId=this.selectedComponent.componentId,IGc(this),this.audience=ur(this.selectedComponent)?"EXTERNAL_AUDIENCE":"INTERNAL_AUDIENCE",this.createRestrictedResourcesComponentWhitelist.includes(this.selectedComponent.componentId)?(this.judgementForNewContent=
new Ek,this.judgementForNewContent.setSeverity(2),this.judgementForNewContent.setJudgementReason("None Specified")):this.judgementForNewContent=void 0):(qc(this.issue,"componentId"),this.audience="EXTERNAL_AUDIENCE");this.submitRequested=!1;JGc(this);return this.selectedComponentProcessedPromise=Promise.all([KGc(this),LGc(this)]).then(function(){})};
var MGc=function(a){a.assigneeText=a.assigneeText?a.assigneeText:null;a.verifierText=a.verifierText?a.verifierText:null;a.reporterText=a.reporterText?a.reporterText:null},Yjb=function(a){return N1a(a.selectedComponent)?"External Google partners may be able to see this issue.":vr(a.selectedComponent)?"Public users may be able to see this issue.":""},GGc=function(a){var b=Number(a.templateIssueRequestedInUrl);Number.isNaN(b)?XF(a.butterBar,"Invalid template_issue specified"):(a.availableExistingIssueTemplate=
new NGc(b,"issue","Issue "+b,!1),a.selectedTemplate=a.availableExistingIssueTemplate)},KGc=function(a){a.availablePredefinedTemplates=[];a.selectedTemplate&&"predefined"===a.selectedTemplate.type&&(a.selectedTemplate=null);return a.selectedComponent?a.issueTemplate.templatesApi.query(a.selectedComponent.componentId).then(function(b){a.availablePredefinedTemplates=b.map(function(e){var f=e.name;Hm(Gm(f))&&(f=e.default?"(default template)":"(unnamed template)");return new NGc(e.templateId,"predefined",
f,e.default)});if(a.preferredTemplateId&&!a.selectedTemplate){var c=a.preferredTemplateId;if(b=a.availablePredefinedTemplates.find(function(e){return e.id===c}))a.selectedTemplate=b,a.preferredTemplateId=null}if(!a.selectedTemplate){b=m(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]);u7(a)}).catch(function(){XF(a.butterBar,
"Unable to load templates for this component")}):Promise.resolve(void 0)},LGc=function(a){if(!a.selectedComponent)return a.canCreateNewIssuesInComponent=!1,a.canEditIssuesInComponent=!1,Promise.resolve(void 0);var b=a.selectedComponent.componentId,c="components/"+b+"/issueDefaults";a.createAclLoading=!0;a.canCreateNewIssuesInComponent=!1;a.canEditIssuesInComponent=!1;a.canViewIssuesInComponent=!1;a.componentHasExpandedAccessEnabled=!1;var d=JF(a.userAccess,"appender","components/"+b).then(function(f){a.canCreateNewIssuesInComponent=
f;u7(a)}),e=JF(a.userAccess,"writer",c).then(function(f){a.canEditIssuesInComponent=f;u7(a)});c=JF(a.userAccess,"reader",c).then(function(f){a.canViewIssuesInComponent=f;u7(a)});b=a.accessPolicy.checkComponentImplicitAccessEnabled(b).then(function(f){a.componentHasExpandedAccessEnabled=f;u7(a)});return Promise.all([d,e,c,b]).then(function(){OGc(a);u7(a)}).catch(function(f){a.$log.warn(f)}).finally(function(){a.createAclLoading=!1})};
t7.prototype.getIssueTemplate=function(){var a=this;if(this.selectedTemplate){var b=function(c){var d=Object.assign(Gj(hlb),c.snapshot);a.selectedComponent&&(d.componentId=a.selectedComponent.componentId);var e=Gj(d);MGc(a);glb(a,a.issue);var f=Gj(a.issue);if(a.appliedTemplate)for(var h=m(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(f[l])){q=m(q);for(var u=q.next();!u.done;u=q.next())Kna(f[l],u.value)}else Fj(q,
f[l])&&delete f[l]}a.appliedTemplate=e;ilb(d,f);f=e.comment||"";a.comment.value!==a.templateComment&&(U0b(a.comment)||""===f||a.comment.value===f||(a.templateComment=f,PGc(a,a.comment.value)),d.comment=a.comment.value,d.formattingMode=e.formattingMode);a.templateComment=f;var x;a.templateCommentFormattingMode=null!=(x=e.formattingMode)?x:void 0;a.templateTitle=e.title||"";d.reporterUser=gk(a.userEmail);a.enableIssueAccessLimits&&(a.selectedAccessLimitLevel=d.issueAccessLimitLevel||"LIMIT_NONE");a.issue=
d;elb(a.issue,a);OGc(a);MGc(a);glb(a,a.issue);a.comment.value=a.issue.comment||"";a.issue.comment&&a.issue.formattingMode&&(a.comment.formattingMode=a.issue.formattingMode);Otc(a.urlTemplate,a.issue,a.customFieldMap);elb(a.issue,a);a.originalIssueCopy=Gj(a.issue);a.loadHotlists(a.issue.hotlistId).then(function(){a.updateSelectedHotlists();a.originalIssueCopy.hotlistId=Gj(a.issue.hotlistId);u7(a)});QGc(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(){u7(a)}):"issue"===this.selectedTemplate.type&&(nWb(this.issueTemplate,String(this.selectedTemplate.id)).then(function(c){if(a.currentTracker.inTracker&&a.currentTracker.getTrackerId()!==c.trackerId)throw Error("Re");return b(c)}).then(function(c){c&&(FGc(a,c),u7(a))}).catch(function(c){XF(a.butterBar,c.message)}),(0,C.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(Mp.CREATE_ISSUE,"changeTemplate");JGc(this)}};t7.prototype.isValid=function(){return!(0!==$jb(this).length||0!==akb(this).length)&&!!(this.isBlockedByIssueIdValid&&this.isBlockingIssueIdValid&&this.isParentIssueIdsValid&&this.isCollaboratorsValid)&&!gkb(this.comment)&&!0};
var $jb=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})},akb=function(a){return(a.issue.customField||[]).filter(function(b){return a.isCustomFieldRequired(b)&&(new Uj(b)).isEmpty()}).map(function(b){return'custom field "'+a.getCustomFieldName(b)+'"'})},RGc=function(a){return 0===a.collaboratorsText.length?(a.isCollaboratorsValid=
!0,Promise.resolve(!0)):Q0b(a.jspbPrincipalTypes,a.collaboratorsText,!1).then(function(b){a.invalidCollaboratorsInput=Object.entries(b).filter(function(c){c=m(c);c.next();c=c.next().value;return"USER"!==(null==c?void 0:c.principalType)}).map(function(c){return m(c).next().value});return 0===a.invalidCollaboratorsInput.length}).catch(function(b){XF(a.butterBar,b.message);return!1})},Jkb=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)},Bt=function(a){return a.split(",").map(function(b){return b.trim()}).filter(Boolean)},Ct=function(a){return a?a.join(", "):""},QGc=function(a){if(Rba(a.customFieldMap,function(c){return c.required||!1})||a.hasAdvancedFieldsInUrlTemplate){var b;null==(b=a.advancedFieldsZippy)||b.open()}};g=t7.prototype;g.getCustomFieldType=function(a){var b,c;return null!=(c=null==(b=this.customFieldMap[a.customFieldId])?void 0:b.type)?c:""};
g.getCustomFieldName=function(a){return(a=this.customFieldMap[a.customFieldId])?a.name:""};g.getCustomFieldAllowedValues=function(a){return(a=this.customFieldMap[a.customFieldId])&&a.allowedValue?a.allowedValue:null};g.getCustomFieldValue=function(a){return(new Uj(a)).getValue()};g.getDateValue=function(a){return a};
g.setCustomFieldValue=function(a,b){var c=this.getCustomFieldType(a),d=this.issue.customField.map(function(e){if(e.customFieldId===a.customFieldId)switch(c){case "TEXT":e.textValue=b;break;case "DATE":e.dateValue=b;break;case "ENUM":e.enumValue=b;break;case "NUMERIC":e.numericValue=b;break;case "REPEATED_TEXT":e.repeatedTextValue={values:b};break;case "REPEATED_DATE":e.repeatedDateValue={values:b};break;case "REPEATED_ENUM":e.repeatedEnumValue={values:b};break;case "REPEATED_NUMERIC":e.repeatedNumericValue=
{values:b}}return e});this.analytics.trackEvent(Mp.CREATE_ISSUE,"changeCustomField",c);this.issue=Object.assign({},this.issue,{customField:d})};g.isCustomFieldRequired=function(a){return this.customFieldMap[a.customFieldId]?this.canEditIssuesInComponent&&!!this.customFieldMap[a.customFieldId].required:!1};g.getListFieldValues=function(a){var b,c;return null!=(c=null==(b=(new Uj(a)).getValue())?void 0:b.values)?c:null};
g.saveCommentDraft=function(){var a=this.comment.value;a===this.templateComment&&(a="");this.draftStore.$window.sessionStorage.setItem(ep("0"),a);this.issue=Object.assign({},this.issue,{comment:a})};
g.handleHotlistPickerSave=function(a){var b=[];a=m(Object.entries(a.newSelectionMap));for(var c=a.next();!c.done;c=a.next()){var d=m(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(Mp.CREATE_ISSUE,"changeHotlists")};g.removeHotlist=function(a){var b;La(null!=(b=this.issue.hotlistId)?b:null,a);this.updateSelectedHotlists()};
g.setTitle=function(a){this.issue=Object.assign({},this.issue,{title:a})};g.setPriority=function(a){this.issue=Object.assign({},this.issue,{priority:sn(a)});var b;this.analytics.trackEvent(Mp.CREATE_ISSUE,"changePriority",null!=(b=this.issue.priority)?b:void 0)};var tkb=function(a,b){a.issue=Object.assign({},a.issue,{type:Bra(b)});var c;a.analytics.trackEvent(Mp.CREATE_ISSUE,"changeType",null!=(c=a.issue.type)?c:void 0)};
t7.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)});Za(this.selectedHotlists,function(b,c){return Lr(b.name,c.name)})};
var SGc=function(a,b){var c,d,e,f,h,l,q,u,x,y,G;return of(function(L){switch(L.nextAddress){case 1:c=String(b.issueId);d=a.parentIssueIds;if(!d){L.jumpTo(2);break}e=[];return 1===d.length?L.yield(a.issueRelationshipsFridge.assignParentToIssues(d[0],[{issueId:c,afterIssueId:a.afterIssueId}]),6):L.yield(zZb(a.issueRelationshipsFridge,c,d),5);case 5:h=L.yieldResult;e=h.notAdded;f=h.errors;L.jumpTo(4);break;case 6:l=L.yieldResult,e=l.notAdded,f=l.errors;case 4:e.length&&XF(a.butterBar,"Unable to add "+
e+" as parent(s). "+f);case 2:q=a.childrenIssueIds;if(null==(u=q)||!u.length){L.jumpTo(7);break}return L.yield(a.issueRelationshipsFridge.assignParentToIssues(c,q.map(function(M){return{issueId:M}})),8);case 8:x=L.yieldResult,y=x.notAdded,G=x.errors,y.length&&XF(a.butterBar,"Unable to add "+y+" as children. "+G);case 7:return L.return(b)}})},Zkb=function(a,b){var c,d,e,f,h,l,q,u;return of(function(x){switch(x.nextAddress){case 1:return c=a,x.yield(RGc(a),2);case 2:c.isCollaboratorsValid=x.yieldResult;
d=a.issue;a.submitRequested=!0;if(!a.isValid()){if(e=document.querySelector(".bv2-view"))e.scrollTop=0;return x.return()}a.enableIssueAccessLimits&&(d.issueAccessLimitLevel=a.selectedAccessLimitLevel,d.issueAccessLimitLevel&&"LIMIT_NONE"!==d.issueAccessLimitLevel&&a.analytics.trackEvent(Mp.ISSUE_ACCESS_LIMITS,"create","create_issue:"+d.issueAccessLimitLevel));d.comment=a.comment.value;d.formattingMode=a.comment.formattingMode;f={snapshot:d,attachments:a.comment.getAttachments()};a.enableRecaptcha&&
(f.recaptchaToken=a.recaptchaResponse);a.selectedTemplate&&"predefined"===a.selectedTemplate.type&&(f.templateId=a.selectedTemplate.id);a.judgementForNewContent&&1!==a.judgementForNewContent.getSeverity()&&(f.contentJudgement=qoa(a.judgementForNewContent));a.canEditIssuesInComponent||(h={title:f.snapshot.title,componentId:f.snapshot.componentId,comment:f.snapshot.comment,formattingMode:f.snapshot.formattingMode,cc:!a.canViewIssuesInComponent&&!a.componentHasExpandedAccessEnabled||a.enableCreateIssueWithTemplate?
[]:[a.userEmail]},f.snapshot=h);f.snapshot=oc(f.snapshot,function(y){return"string"!==typeof y||!Hm(y)});f.snapshot.customField&&(f.snapshot.customField=f.snapshot.customField.filter(function(y){return!(new Uj(y)).isEmpty()}));glb(a,f.snapshot);f.snapshot.assigneeUser&&(f.snapshot.status="ASSIGNED");l=function(){a.isSaving=!0;a.newIssueStarted=!1;WF(a.butterBar,"Creating...",0);a.issueApi.createIssue(f).then(function(y){return SGc(a,y)}).then(function(y){a.draftStore.$window.sessionStorage.removeItem(ep("0"));
a.originalIssueCopy=Gj(a.issue);a.analytics.trackEvent(Mp.CREATE_ISSUE,"create","MARKDOWN"===a.comment.formattingMode?"markdown":"non markdown");TGc(a);if(b){var G;a.analytics.trackEvent(Mp.CREATE_ISSUE,"fileAndRedirect","component",null!=(G=d.componentId)?G:void 0);a.butterBar.dismiss();a.isNavigatingAway=!0;a.isSaving=!1;JF(a.userAccess,"reader","issues/"+y.issueId).then(function(T){a.componentPickerTouched=!1;T?Ttc(a.redirectUrl,a.paths.editIssue(y.issueId),String(y.issueId)):(WF(a.butterBar,"New issue created: "+
y.issueId+" (view access not granted)",0),Ttc(a.redirectUrl,a.paths.listIssues()));u7(a)}).catch(function(T){a.errorHandler.errorHandler(null,T);a.isNavigatingAway=!1})}else{a.componentPickerTouched=!1;var L;a.analytics.trackEvent(Mp.CREATE_ISSUE,"fileAndNew","component",null!=(L=d.componentId)?L:void 0);G={};lWb(a.butterBar,mp("New issue created: ",lp("A",(G.href=a.paths.editIssue(y.issueId),G),String(y.issueId))),0);d.title=a.templateTitle;a.comment=new wJ(a.templateComment);(d.comment=a.templateComment)&&
a.templateCommentFormattingMode&&(a.comment.formattingMode=a.templateCommentFormattingMode,d.formattingMode=a.templateCommentFormattingMode);a.isSaving=!1;a.submitRequested=!1;var M;G=m(null!=(M=a.magicBoxes)?M:[]);for(M=G.next();!M.done;M=G.next())M.value.refresh();a.newIssueStarted=!0;a.originalIssueCopy=Gj(a.issue)}u7(a)}).catch(function(y){403===y.status&&Vn(y)?$F(a.errorHandler,Wn(y)):a.errorHandler.errorHandler(null,y);a.isSaving=!1;a.submitRequested=!1;a.newIssueStarted=!1})};return x.yield(UGc(a),
3);case 3:return(q=x.yieldResult)?x.yield(VGc(a),4):x.return();case 4:u=x.yieldResult;if(!u)return x.return();l();tf(x)}})},UGc=function(a){var b=Tn();!a.canEditIssuesInComponent&&!a.frontendIsInternalOrPartner&&a.selectedComponent&&a.selectedComponent.accessLimit&&"INTERNAL"!==a.selectedComponent.accessLimit.accessLevel?a.confirmationDialogService.open({title:"",content:Ru("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},VGc=function(a){var b=Tn();!a.canEditIssuesInComponent||"VULNERABILITY"!==a.issue.type&&"PRIVACY_ISSUE"!==a.issue.type?b.resolve(!0):WI(a.issueTypeDialog,a.issue.type,function(){b.resolve(!0)},function(){b.resolve(!1)});return b.promise},FGc=function(a,b){a.isLoadingComponent=!0;a.componentActions.getUncached(b).then(function(c){if(a.currentTracker.inTracker&&a.currentTracker.getTrackerId()!==c.trackerId)throw Error("Se");a.selectComponent(c);
u7(a)}).catch(function(){XF(a.butterBar,"Component ID "+b+" does not exist or you do not have access.")}).finally(function(){a.isLoadingComponent=!1})};t7.prototype.hasUnsavedChanges=function(){var a=jlb(this.issue),b=jlb(this.originalIssueCopy);return!Fj(a,b)||this.comment.value!==this.originalIssueCopy.comment};
var pkb=function(a){a.showRecentIssuesInline=!a.showRecentIssuesInline;a.analytics.trackEvent(Mp.CREATE_ISSUE,"toggleRecentIssuesInline",a.showRecentIssuesInline.toString())},PGc=function(a,b){DA(a.matDialogService.open(a.descriptionConfirmDialog,{data:b})).pipe(Uf()).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="")})},JGc=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)))},Wjb=function(a){return a.sessionIsExternal?!1:N1a(a.selectedComponent)},Xjb=function(a){return CE(a.activeSession)?!1:vr(a.selectedComponent)},IGc=function(a){if(a.selectedComponent&&a.selectedComponent.componentPathInfo&&a.selectedComponent.componentPathInfo.allCustomField){for(var b=a.selectedComponent.componentPathInfo.allCustomField,c={},d=m(b),e=d.next();!e.done;e=d.next())e=e.value,c[e.customFieldId]=e;a.customFieldMap=c;a.customFieldAllowedValuesMap=
klb(b);WGc(a)}},WGc=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=m(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 Uj({customFieldId:d.customFieldId}));a.originalIssueCopy.customField=
a.issue.customField}},OGc=function(a){if(a.canViewIssuesInComponent||a.componentHasExpandedAccessEnabled)void 0!==a.ccsText?a.ccsText.includes(a.userEmail)||(a.ccsText=[a.userEmail].concat(r(a.ccsText))):a.ccsText=[a.userEmail]};g=t7.prototype;g.fetchUserHotlists=function(){var a=this;this.userApi.getUserHotlists().then(function(b){b=m(b);for(var c=b.next();!c.done;c=b.next())a.addHotlist(c.value);u7(a)}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
g.addHotlist=function(a){var b=this.hotlistMap[a.hotlistId];b&&La(this.hotlists,b);this.hotlistMap[a.hotlistId]=a;this.hotlists.push(a)};g.createHotlist=function(a){var b=this;this.analytics.trackEvent("baseIssue","createHotlist");WF(this.butterBar,"Creating hotlist "+a.name+"...",0);this.hotlistApi.createHotlist(a.name).then(function(c){WF(b.butterBar,"Hotlist "+a.name+" created successfully.");b.addHotlist(c);b.appEvents.hotlistCreated.next();a.successCallback(c);u7(b)}).catch(a.errorCallback)};
g.loadHotlist=function(a){var b=this,c=a.hotlistId;return this.hotlistMap[c]?Promise.resolve(this.hotlistMap[c]):this.hotlistApi.get(c).then(function(d){b.addHotlist(d);a.successCallback(d);u7(b);return d},function(){var d=b.hotlistMap[c];qc(b.hotlistMap,c);La(b.hotlists,d);a.errorCallback()})};g.loadHotlists=function(a){var b=this;a=a.map(function(c){return b.loadHotlist({hotlistId:c,successCallback:function(){},errorCallback:function(){}})});return Promise.all(a).then(function(){u7(b)})};
var EGc=function(a){var b;switch((null==(b=a.format)?void 0:b.toLowerCase())||""){case "plain":return"PLAIN";case "markdown":return"MARKDOWN"}},DGc=function(a){var b;return Dm(null==(b=$I(a.userPreferencesManager).textDisplayPreferences)?void 0:b.lastPublishMode)||"PLAIN"};
t7.prototype.showNewContentJudgementDialog=function(){var a=this,b,c,d=null!=(c=null==(b=this.judgementForNewContent)?void 0:b.getSeverity())?c:1;this.showContentJudgementDialog({severity:d,contentJudgement:this.judgementForNewContent,hasAclToCreate:!0}).pipe(dg(this.destroyed$)).subscribe(function(e){e&&(a.judgementForNewContent=e.contentJudgement)})};t7.prototype.showContentJudgementDialog=function(a){return DA(this.matDialogService.open(QQ,{panelClass:"no-jitter",width:"500px",data:a}))};
var HGc=function(a){a.componentPickerTouched&&(a.analytics.trackEvent(Mp.CREATE_ISSUE,"exit-after-component-picker-interaction","new-ui"),a.componentPickerTouched=!1);a.analytics.trackEvent(Mp.CREATE_ISSUE,"creation-abandon","new-ui")},TGc=function(a){var b=(new Date).getTime()-a.startTime.getTime();if(0<b){var c=Math.min(b,108E5);fZb("createIssue",c,"new-ui");a.analytics.trackEvent(Mp.CREATE_ISSUE,"createIssue","time-to-create-new-ui",c);lH(a.clearcut,b,"createIssue-fromNewIssuePage")}a.startTime=
new Date};Xi.Object.defineProperties(t7.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()})}}}});
t7.\u0275fac=function(a){return new (a||t7)(A(hg),A(YF),A(fX),A(NG),A(N1),A(IF),A(hG),A(MG),A(L1),A(bG),A(VI),A(hV),A(Vt),A(RI),A(JV),A(wH),A(PE),A(dH),A(ZG),A(VF),A(ZF),A(IA),A(cG),A(yJ),A(JM),A(ZI),A(fQ),A(gJ),A(sH,2),A(UI),A(IH),A(BH),A(xF),A(kH),A(mL),A(rJ))};
t7.\u0275cmp=p({type:t7,selectors:[["b-create-issue-page"]],viewQuery:function(a,b){a&1&&(ih(n_,5),ih(g_,5),ih(BGc,5),ih(p7,5),ih(k7,5));if(a&2){var c;hh(c=kh())&&(b.hotlistPicker=c.first);hh(c=kh())&&(b.commentBox=c.first);hh(c=kh())&&(b.descriptionConfirmDialog=c.first);hh(c=kh())&&(b.advancedFieldsZippy=c.first);hh(c=kh())&&(b.magicBoxes=c)}},hostBindings:function(a,b){a&1&&K("unload",function(){return b.unloadPageHandler()},!1,oe)},features:[Ug([sH]),qg],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"],[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"],["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-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"],[3,"disabled","implicitAccessEnabled","defaultAccessLimitLevel","updatedAccessLimitLevel"],[1,"mat-elevation-z0"],[1,"required-text"],[1,"bv2-new-issue-metadata"],["aria-label",
"Set severity",1,"bv2-create-adv-field"],["for","bv2-severity","title","Set severity, which reflects how much the issue affects the use of the product"],["mat-button","","type","button","color","primary","id","bv2-severity",3,"matMenuTriggerFor"],["severityMenu","matMenu"],[1,"bv2-create-adv-field"],["for","bv2-found-in","title","Set version(s) of the product affected by this issue (comma-separated list)"],["id","bv2-found-in","name","foundIn","type","text","autocomplete","off",3,"ngModel","ngModelChange"],
["aria-label","Set in prod",1,"bv2-create-adv-field"],["for","bv2-in-prod","title","Set if this issue occurs in production"],["id","bv2-in-prod","name","inProd","aria-label","Set in prod",3,"ngModel","ngModelChange"],["for","bv2-reporter","title","Set the reporter of this issue."],["id","bv2-reporter","name","reporter","type","text","autocomplete","off",3,"ngModel","bContactAutocomplete","ngModelChange"],["for","bv2-verifier","title","Set the verifier of this issue."],["id","bv2-verifier","name",
"verifier","type","text","autocomplete","off",3,"ngModel","bContactAutocomplete","ngModelChange"],["for","bv2-targeted-to","title","Set the version(s) of the product in which the issue should be fixed (comma-separated list)"],["id","bv2-targeted-to","name","targetedTo","type","text","autocomplete","off",3,"ngModel","ngModelChange"],["for","bv2-blocked-by","title","Set issue(s) blocking this issue (comma-separated list)"],["id","bv2-blocked-by","name","blockedByInputField","type","text","autocomplete",
"off","pattern","[\\s\\d,]*",3,"ngModel","ngModelChange"],["for","bv2-blocking","title","Set issue(s) blocked by this issue (comma-separated list)"],["id","bv2-blocking","name","blockingInputField","type","text","autocomplete","off","pattern","[\\s\\d,]*",3,"ngModel","ngModelChange"],["class","bv2-create-adv-field",4,"ngIf"],["class","bv2-create-adv-field",4,"ngFor","ngForOf"],["for","bv2-parents","title","Set parent issue(s) of this issue (comma-separated list)"],["id","bv2-parents","name","parentsInputField",
"type","text","pattern","[\\s\\d,]*",3,"ngModel","ngModelChange"],["for","bv2-children","title","Set children issue(s) of this issue (comma-separated list)"],["id","bv2-children","name","childrenInputField","type","text","pattern","[\\s\\d,]*",3,"ngModel","ngModelChange"],["for","bv2-access-limits","title","Set access level of this issue"],["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&&(E(0,"h2",0),Q(1,"Create issue"),F(),E(2,"div",1)(3,"div",2)(4,"button",3),K("click",function(){return b.back()}),H(5,"mat-icon",4),F(),E(6,"h2"),Q(7,"Create Issue"),F(),P(8,Ujb,1,2,"b-hotlist-picker",5),F()(),E(9,"div",6)(10,"div")(11,"div",7)(12,"form",8),P(13,Zjb,6,8,"div",9),P(14,hkb,4,3,"div",10),P(15,jkb,2,1,"div",11),E(16,"div",12)(17,"div",13)(18,"div",14)(19,"label",15),Q(20,"Component"),F()(),E(21,"div",16)(22,"b-team-component-picker",
17),K("selectedComponentChange",function(d){return b.selectComponent(null!==d&&void 0!==d?d:null)})("touched",function(){return b.componentPickerTouched=!0}),F()()(),P(23,mkb,11,5,"div",18),F(),P(24,nkb,3,0,"div",19),P(25,clb,34,27,"div",20),F()(),E(26,"div",21)(27,"b-magic-box",22),K("headerChange",function(d){return b.magicBoxHeader=d}),F()()()(),P(28,dlb,11,2,"ng-template",null,23,qh));if(a&2){var c;z(8);D("ngIf",b.canEditIssuesInComponent);z(4);D("ngClass",Xg(15,CGc,b.submitRequested));z(1);D("ngIf",
Wjb(b)||Xjb(b));z(1);D("ngIf",b.submitRequested&&!b.isValid());z(1);D("ngIf",0<b.selectedHotlists.length);z(7);D("selectedComponent",b.selectedComponent)("shouldFocus",!b.componentRequestedInUrl&&!b.templateIssueRequestedInUrl)("isRequired",!0);z(1);D("ngIf",0<b.availablePredefinedTemplates.length||null!=b.availableExistingIssueTemplate);z(1);D("ngIf",!b.isLoadingComponent&&(null!=b.componentRequestedInUrl||null!=b.selectedComponent)&&!b.canCreateNewIssuesInComponent&&!b.createAclLoading&&b.selectedComponent);
z(1);D("ngIf",b.canCreateNewIssuesInComponent||b.createAclLoading||!b.selectedComponent);z(2);D("componentId",null!==(c=b.issue.componentId)&&void 0!==c?c:void 0)("issueTitle",b.issue.title)("issue",b.issue)("customFieldMap",b.customFieldMap)}},dependencies:[cQ,g_,$O,WS,pY,f6,UA,eV,ix,Qh,ax,bx,sx,ux,hx,fx,qU,n_,GN,I_,lZ,k7,tA,JA,KA,LA,MA,p7,q7,r7,jB,rz,FC,DC,EC,YT,NC,l7,nV,ww,xw,yw,aT,J_,MJ],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 hlb={hotlistId:[],comment:"",severity:"S2",inProd:!1,customField:[]},NGc=function(a,b,c,d){this.id=a;this.type=b;this.name=c;this.isDefault=d};var XGc=["form"],v7=function(a,b,c,d,e,f,h,l){this.bLocation=a;this.sloApi=b;this.errorHandler=c;this.paths=d;this.analytics=e;this.butterBar=f;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:0,isArchived:!1};h.setTitle("Create SLO")};g=v7.prototype;g.ngAfterViewInit=function(){};
g.save=function(){var a=this;if(!this.validate())return Promise.reject("Correct the errors in the form");WF(this.butterBar,"Saving SLO...",0);this.isSaving=!0;return this.sloApi.create(this.sloUnderEdit).then(function(b){WF(a.butterBar,"SLO "+b.name+" saved.",2E3);a.analytics.trackEvent("SLO","create");a.bLocation.replaceUrl(a.paths.editSlo(b.sloId))}).catch(function(b){a.errorHandler.errorHandler(null,b)}).finally(function(){a.isSaving=!1})};g.back=function(){M1(this.appHistory)};
g.revertChanges=function(){this.sloUnderEdit.name="";this.sloUnderEdit.description="";this.sloUnderEdit.elements=[]};g.updateCollection=function(a){this.sloUnderEdit.elements=a};g.validate=function(){if(this.createSloForm.invalid||!this.elementPickerIsValid)return this.error="Error: You must fill out all required fields and ensure the rules are valid.",!1;this.error="";return!0};v7.\u0275fac=function(a){return new (a||v7)(A(MG),A(LT),A(ZF),A(NG),A(wH),A(VF),A(JV),A(L1))};
v7.\u0275cmp=p({type:v7,selectors:[["create-slo-page"]],viewQuery:function(a,b){a&1&&ih(XGc,5);if(a&2){var c;hh(c=kh())&&(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&&(E(0,"div",0)(1,"div",
1)(2,"b-button",2),K("onAction",function(){return b.back()}),H(3,"b-icon",3),F()()(),E(4,"div",4)(5,"h2",5)(6,"span",6),Q(7,"Create a new SLO"),F()(),E(8,"div",7)(9,"form",8,9),H(11,"b-error-banner",10),E(12,"div",11)(13,"label",12),Q(14,"Name"),F(),E(15,"input",13),K("ngModelChange",function(c){return b.sloUnderEdit.name=c}),F()(),E(16,"div",11)(17,"label",14),Q(18,"Description"),F(),E(19,"textarea",15),K("ngModelChange",function(c){return b.sloUnderEdit.description=c}),Q(20,"        "),F()(),E(21,
"div",11)(22,"slo-elements-picker",16),K("onCollectionUpdate",function(c){return b.updateCollection(c)})("onValidation",function(c){return b.elementPickerIsValid=c}),F()(),E(23,"p",17),Q(24," Access controls may be defined once the slo is created. "),F(),E(25,"div",18)(26,"b-button",19),K("onAction",function(){return b.save()}),Q(27," Save "),F(),E(28,"b-button",20),K("onAction",function(){return b.revertChanges()}),Q(29," Revert changes "),F()()()()());a&2&&(z(9),Fg("show-errors",b.error),z(2),D("error",
b.error),z(1),Fg("bv2-edit-resource-readonly",b.isSaving),z(3),D("required",!0)("bFocus",!0)("ngModel",b.sloUnderEdit.name)("disabled",b.isSaving),z(1),Fg("bv2-edit-resource-readonly",b.isSaving),z(3),D("ngModel",b.sloUnderEdit.description)("disabled",b.isSaving),z(3),D("isDisabled",!1)("collection",b.sloUnderEdit.elements),z(4),D("disabled",b.isSaving||(null==b.createSloForm?null:b.createSloForm.pending)||(null==b.createSloForm?null:b.createSloForm.invalid)||!b.elementPickerIsValid),z(2),D("disabled",
!(""!==b.sloUnderEdit.name||""!==b.sloUnderEdit.description||0<b.sloUnderEdit.elements.length)))},dependencies:[cQ,w0,eV,ix,Qh,ax,bx,sx,hx,fx,GN,z1],encapsulation:2});var w7=function(){this.nextPanelId=1};w7.\u0275fac=function(a){return new (a||w7)};w7.\u0275prov=Vc({token:w7,factory:w7.\u0275fac,providedIn:"root"});var x7=function(a,b,c,d,e,f,h,l,q,u,x,y,G,L,M,T,S,X,aa,na,ma){Z.call(this);this.cdr=a;this.paths=b;this.bLocation=c;this.$log=d;this.analytics=e;this.issueApi=f;this.userApi=h;this.bookmarkGroupsApi=l;this.hotlistApi=q;this.butterBar=u;this.pageTitle=x;this.dashboards=y;this.routeParams=G;this.appSearchState=M;this.userAccess=T;this.errorHandler=S;this.statusMessages=X;this.appEvents=aa;this.hotlistFridge=na;this.issueFridge=ma;this.ANALYTICS_CATEGORY="dashboard";this.panels=[];this.hotlistChoices=
[];this.hotlistMap={};this.isStarred=!1;this.bookmarkGroup=null;this.isAdmin=!1;this.userEmail=L.getUserEmail();this.groupId=G.groupId||null};W(x7,Z);x7.\u0275dir=Z.\u0275dir;
x7.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){YGc(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){ZGc(a,
b,function(c){return c+1})}));this.subscriptions.add(this.appEvents.dashboardPanels.moveUp.subscribe(function(b){ZGc(a,b,function(c){return c-1})}));this.subscriptions.add(this.appEvents.dashboardPanels.moveToTop.subscribe(function(b){ZGc(a,b,function(){return 0})}));this.subscriptions.add(this.appEvents.dashboardPanels.moveToBottom.subscribe(function(b){ZGc(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 plb=function(a,b){var c=b.selectedIssues;if(a=$Gc(a,b.panelId))a.selectedIssues=null!=c?c:[]},olb=function(a,b,c){b.focusedRowIndex=c;if(null!=c)for(a=m(a.panels),c=a.next();!c.done;c=a.next())c=c.value,c!==b&&(c.focusedRowIndex=null)},$Gc=function(a,b){return a.panels.find(function(c){return c.panelId===b})},aHc=function(a,b){a=a.panels.findIndex(function(c){return c.panelId===b});return-1!==a?a:void 0};g=x7.prototype;
g.fetchUserHotlists=function(){var a=this;this.userApi.getUserHotlists().then(function(b){b=m(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;a.hotlistFridge.announce(c);var d=a.hotlistMap[c.hotlistId];Fj(d,c)||(d&&La(a.hotlistChoices,d),a.hotlistChoices.push(c),a.hotlistMap[c.hotlistId]=c,a.cdr.detectChanges())}}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
g.createHotlist=function(a){var b=this,c=a.name,d=a.successCallback;a=a.errorCallback;this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"createHotlist");WF(this.butterBar,"Creating hotlist "+c+"...",0);this.hotlistApi.createHotlist(c).then(function(e){b.hotlistFridge.announce(e);WF(b.butterBar,"Hotlist "+c+" created successfully.");b.hotlistChoices.push(e);b.hotlistMap[e.hotlistId]=e;b.appEvents.hotlistCreated.next();d(e);b.cdr.detectChanges()}).catch(a)};
g.loadHotlist=function(a){var b=this,c=a.hotlistId,d=a.successCallback;a=a.errorCallback;WF(this.butterBar,"Loading hotlist "+c);this.hotlistMap[c]||this.hotlistApi.get(c).then(function(e){b.addHotlist(e);d(e);b.cdr.detectChanges()}).catch(a)};g.addHotlist=function(a){this.hotlistMap[a.hotlistId]||(this.hotlistMap[a.hotlistId]=a,this.hotlistChoices.push(a))};
g.loadHotlists=function(a){var b=this,c=new Map;a=m(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;Ia(d.hotlists);for(var e=m(d.hotlistId||[]),f=e.next();!f.done;f=e.next())f=f.value,this.hotlistMap[f]?d.hotlists.push(this.hotlistMap[f]):c.get(f)?c.get(f).push(d):c.set(f,[d])}a={};c=m(c);for(d=c.next();!d.done;a={$jscomp$loop$prop$issueRows$2328:a.$jscomp$loop$prop$issueRows$2328},d=c.next())e=m(d.value),d=e.next().value,e=e.next().value,a.$jscomp$loop$prop$issueRows$2328=e,this.hotlistApi.get(d).then(function(h){return function(l){b.hotlistFridge.announce(l);
for(var q=m(h.$jscomp$loop$prop$issueRows$2328),u=q.next();!u.done;u=q.next())u.value.hotlists.push(l);b.addHotlist(l);b.cdr.detectChanges()}}(a)).catch(function(h){403!==h.status&&b.errorHandler.errorHandler(null,h)})};
g.sendBulkEditRequest=function(a,b){var c=this;if(1===a.length&&1===a[0].actions.length&&"readState"===a[0].actions[0].fieldName){var d=!!a[0].actions[0].value;b=m(this.panels);for(var e=b.next();!e.done;e=b.next()){e=m(e.value.selectedIssues);for(var f=e.next();!f.done;f=e.next())f.value.isRead=d}this.cdr.detectChanges();WF(this.butterBar,"Marking "+a[0].issueIds.length+" issues  "+(d?"read":"unread")+"...",0);return DH(this.issueFridge,a[0].issueIds,{markRead:d}).then(function(l){WF(c.butterBar,
"Issues marked "+(d?"read":"unread")+".");for(var q=m(c.panels),u=q.next();!u.done;u=q.next()){u=m(u.value.selectedIssues);for(var x=u.next();!x.done;x=u.next()){var y=void 0;x.value.lastViewedTime=null!=(y=l)?y:null}}}).catch(function(l){for(var q=m(c.panels),u=q.next();!u.done;u=q.next()){u=m(u.value.selectedIssues);for(var x=u.next();!x.done;x=u.next())x=x.value,x.isRead=!!x.lastViewedTime&&x.lastViewedTime>=x.majorModifiedTime}c.errorHandler.errorHandler(null,l)}).finally(function(){c.cdr.detectChanges()})}e=
Mwa(a).map(function(l){return l.fieldName});this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"bulkEdit",e.join(","));var h={bulkEditOps:a};WF(this.butterBar,"Saving changes...",0);return this.issueApi.issueBulkEdit(h,b).then(function(l){for(var q=m([].concat(r(c.searchPanels),r(c.hotlistPanels))),u=q.next();!u.done;u=q.next()){u=u.value;var x=l;if(u.searchResults){u.searchResults=u.searchResults.clone();for(var y=0,G=m(u.searchResults.issues),L=G.next();!L.done;L=G.next()){L=L.value;if(x.affectedIssues[L.issueId]){var M=
x.affectedIssues[L.issueId];M=ZVa(M,x.componentMap[Number(Ba(M.snapshot).componentId)]);M.selected=L.selected;u.searchResults.issues[y]=M;u.resultsLoaded.emit([u.searchResults.issues[y]])}y++}}}l.errors&&l.errors.length?(q=Oj(l.errors,"issueId"),XF(c.butterBar,"Failed to update issue(s) "+q.join(", ")+"."),c.analytics.trackEvent(c.ANALYTICS_CATEGORY,"bulkEditError",""+l.errors.length)):(l=K0b(c.statusMessages,h))?WF(c.butterBar,l):WF(c.butterBar,"Saved "+Nwa(a).length+" issue(s).")}).catch(function(l){c.errorHandler.errorHandler(null,
l)})};g.loadBookmarkGroup=function(){var a=this;return this.bookmarkGroupsApi.get(this.groupId).then(function(b){JF(a.userAccess,"admin","bookmarkGroups/"+b.bookmarkGroupId).then(function(c){a.isAdmin=c;a.cdr.detectChanges()});a.pageTitle.setTitle(b.name);return b},function(b){a.errorHandler.errorHandler(null,b);return Promise.reject(b)})};var YGc=function(a,b){a.panels=(b.item||[]).map(function(c,d){return bHc(a,c,0===d?0:void 0)})};
x7.prototype.removePanel=function(a){var b=this,c=$Gc(this,a);if(null!=c){WF(this.butterBar,"Saving changes...",0);a=Gj(this.bookmarkGroup);var d;a.item=(null!=(d=a.item)?d:[]).filter(function(e){return!cHc(b,c,e)});dHc(this,a)}};
var ZGc=function(a,b,c){b=aHc(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=Gj(a.bookmarkGroup);var e,f,h=null==(e=a.bookmarkGroup)?void 0:null==(f=e.item)?void 0:f.findIndex(function(l){return cHc(a,d,l)});void 0!==h&&(saa(b.item,h,c),dHc(a,b))}}},dHc=function(a,b){a.bookmarkGroupsApi.update(b).then(function(c){a.bookmarkGroup=c;eHc(a,a.bookmarkGroup.item);WF(a.butterBar,"Bookmark group saved.",4E3);a.appEvents.bookmarkGroupModified.next({bookmarkGroupId:a.bookmarkGroup.bookmarkGroupId});
a.cdr.detectChanges()},function(c){a.errorHandler.errorHandler(null,c)})},cHc=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}},fHc=function(a,b){return a.panels.find(function(c){return cHc(a,c,b)})},bHc=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:[]}},eHc=function(a,b){a.panels=(null!=b?b:[]).map(function(c){var d;return null!=(d=fHc(a,c))?d:bHc(a,c)})};
x7.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)})};
x7.prototype.editBookmarkGroup=function(){this.bLocation.url(this.paths.editBookmarkGroup(this.bookmarkGroup.bookmarkGroupId))};x7.\u0275fac=function(a){return new (a||x7)(A(sH),A(NG),A(MG),A(YF),A(wH),A(PE),A(dH),A(eX),A(ZG),A(VF),A(JV),A(w7),A(yJ),A(Vt),A(AX),A(IF),A(ZF),A(jJ),A(cG),A(hH),A(BH))};
x7.\u0275cmp=p({type:x7,selectors:[["dashboard-page"]],viewQuery:function(a,b){a&1&&(ih(c1,5),ih(a1,5));if(a&2){var c;hh(c=kh())&&(b.searchPanels=c);hh(c=kh())&&(b.hotlistPanels=c)}},features:[Ug([sH]),qg],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&&(E(0,"h2",0),Q(1,"Dashboard"),F(),E(2,"div",1)(3,"div",2),Q(4,"Bookmark groups dashboard"),F(),E(5,"b-dashboard-controls",3),K("onSave",function(c){return b.sendBulkEditRequest(c.bulkEditOps,c.recaptchaToken)})("onCreateHotlist",function(c){return b.createHotlist(c)})("onLoadHotlist",function(c){return b.loadHotlist(c)}),F()(),E(6,"div",4),P(7,nlb,8,3,"div",5),P(8,slb,3,3,"div",6),F());a&2&&(z(5),D("hotlistChoices",b.hotlistChoices)("panels",b.panels),z(1),D("bFocus",!0),
z(1),D("ngIf",b.bookmarkGroup),z(1),D("ngForOf",b.panels))},dependencies:[E_,tU,c1,a1,xw,yw,zw,Aw,eV,NC],encapsulation:2});var y7=function(){};y7.\u0275fac=function(a){return new (a||y7)};y7.\u0275mod=od({type:y7});y7.\u0275inj=Wc({imports:[F_,BU,d1,b1,Mw,fV,ID]});var gHc=["editBookmarkGroupItemsContainer"],hHc=["bookmarkGroupName"],Slb=function(a){return{"bv2-edit-resource-readonly":a}},Ulb=function(a){return{displayText:"Admins",values:a}},Tlb=function(a){return[a]},z7=function(a,b,c,d,e,f,h,l,q,u,x,y,G,L,M,T,S,X,aa,na){Z.call(this);var ma=this;this.routeParams=a;this.location=b;this.butterBar=c;this.accessPolicyApi=d;this.userApi=e;this.bookmarkGroupsApi=f;this.hotlistApi=h;this.paths=l;this.appHistory=q;this.pageTitle=u;this.accessPolicyConverter=x;this.userAccess=
y;this.errorHandler=L;this.appEvents=T;this.snackBar=S;this.confirmationDialog=X;this.cdr=aa;this.documentationLinks=na;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=M.getUserEmail();this.accessPolicyUnderEdit=CR();this.flattenedAccessPolicy=CR();a=this.loadBookmarkGroup(this.routeParams.groupId);
b=this.loadUserAccess(this.routeParams.groupId);this.loadAccessPolicy(this.routeParams.groupId);iHc(this);jHc(this);Promise.all([a,b]).then(function(){var Ca;null==(Ca=ma.bookmarkGroupNameInput)||Ca.nativeElement.focus()});this.subscriptions.add(gQ(G,function(){return ma.hasUnsavedChanges()},!1));G=function(){iHc(ma)};this.subscriptions.add(this.appEvents.hotlistCreated.subscribe(G));this.subscriptions.add(this.appEvents.hotlistChanged.subscribe(G));this.subscriptions.add(this.appEvents.savedSearchModified.subscribe(function(){jHc(ma)}))};
W(z7,Z);z7.\u0275dir=Z.\u0275dir;g=z7.prototype;g.ngOnInit=function(){"access"===this.location.hash()&&(this.selectedTabIndex=1)};g.tabChange=function(a){this.selectedTabIndex=a;var b,c,d,e=null!=(d=null==(b=this.tabs)?void 0:null==(c=b.get(a))?void 0:c.nativeElement.id)?d:null;this.location.hash(e,!0)};g.back=function(){M1(this.appHistory)};g.isArchived=function(){return this.bookmarkGroup?this.bookmarkGroup.archived:!1};g.isSaving=function(){return this.isUpdating||this.isArchiving};
g.hasUnsavedChanges=function(){return this.hasUnsavedMetadataChanges()||this.hasUnsavedAccessPolicyChanges()};g.hasUnsavedMetadataChanges=function(){return!Fj(this.bookmarkGroup,this.bookmarkGroupUnderEdit)};g.hasUnsavedAccessPolicyChanges=function(){return!Fj(this.flattenedAccessPolicy,this.accessPolicyUnderEdit)};g.isEditDisabled=function(){return this.isSaving()||!this.isAdmin};
g.revertMetadataChanges=function(){this.bookmarkGroupUnderEdit=Gj(this.bookmarkGroup);this.error="";this.selectedHotlistIds=[kHc(this.bookmarkGroup.item.filter(function(a){return a.hasOwnProperty("hotlistId")}))];A7(this)};g.revertAccessPolicyChanges=function(){this.accessPolicyUnderEdit=Gj(this.flattenedAccessPolicy);this.appEvents.contactChipsRevertChanges.next()};g.saveMetadata=function(){this.validate()&&this.doSaveMetadata()};
g.saveAccessPolicy=function(){var a=this;this.accessPolicyUnderEdit.admins.includes("USER:"+this.currentUserEmail)?this.doSaveAccessPolicy():this.openConfirmationDialog("Change bookmark group admins",jp("Are you sure you want to remove yourself from the admins?\n                  You may lose the permission to edit the access settings"),function(){a.doSaveAccessPolicy()})};
g.validate=function(){if(""===this.bookmarkGroupUnderEdit.name)return this.error="Error: You must fill out all required fields.",!1;this.error="";return!0};g.archive=function(){var a=this;this.openConfirmationDialog("Archive bookmark group",jp("Do you want to archive this bookmark group?"),function(){lHc(a,"archive")})};g.unarchive=function(){var a=this;this.openConfirmationDialog("Unarchive bookmark group",jp("Do you want to unarchive this bookmark group?"),function(){lHc(a,"unarchive")})};
g.doSaveMetadata=function(){var a=this,b=this.bookmarkGroupUnderEdit,c=this.bookmarkGroup.bookmarkGroupId;this.snackBar.open("Saving bookmark group ID "+c,"dismiss",{duration:0});this.isUpdating=!0;this.bookmarkGroupsApi.update(b).then(function(d){a.snackBar.open("Bookmark group ID "+c+" was saved as "+a.bookmarkGroupUnderEdit.name,"dismiss",{duration:2E3});mHc(a,d);a.appEvents.bookmarkGroupModified.next({bookmarkGroupId:c})}).catch(function(d){a.errorHandler.errorHandler(null,d)}).finally(function(){a.isUpdating=
!1})};
g.doSaveAccessPolicy=function(){var a=this;try{var b=ER(this.accessPolicyUnderEdit)}catch(c){b="An unknown problem occurred";c instanceof Error&&(b=c.message);XF(this.butterBar,b);return}this.isUpdating=!0;this.snackBar.open("Saving access settings...","dismiss",{duration:0});this.accessPolicyApi.update("BOOKMARK_GROUP",this.bookmarkGroup.bookmarkGroupId,b).then(function(c){a.snackBar.open("Access settings saved.","dismiss",{duration:0});a.flattenedAccessPolicy=DR(c);a.accessPolicyUnderEdit=Gj(a.flattenedAccessPolicy);
a.loadUserAccess(a.bookmarkGroup.bookmarkGroupId)},function(c){a.errorHandler.errorHandler(null,c)}).finally(function(){a.isUpdating=!1})};
var lHc=function(a,b){var c=Gj(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});mHc(a,d)}).catch(function(d){a.errorHandler.errorHandler(null,d)}).finally(function(){a.isArchiving=!1})};
z7.prototype.loadBookmarkGroup=function(a){var b=this;this.isLoading=!0;return this.bookmarkGroupsApi.get(a).then(function(c){mHc(b,c);b.selectedHotlistIds=[kHc(b.bookmarkGroup.item)];A7(b);b.pageTitle.setTitle("Bookmark group: "+c.name);b.cdr.detectChanges()},function(c){b.errorHandler.errorHandler(null,c)}).finally(function(){b.isLoading=!1})};var mHc=function(a,b){a.bookmarkGroup=b;a.bookmarkGroup.item||(a.bookmarkGroup.item=[]);a.bookmarkGroupUnderEdit=Gj(a.bookmarkGroup)};
z7.prototype.loadAccessPolicy=function(a){var b=this;this.accessPolicyApi.get("BOOKMARK_GROUP",a).then(function(c){b.flattenedAccessPolicy=DR(c);b.accessPolicyUnderEdit=Gj(b.flattenedAccessPolicy);b.cdr.detectChanges()}).catch(function(c){b.errorHandler.errorHandler(null,c)})};z7.prototype.loadUserAccess=function(a){var b=this;return JF(this.userAccess,"admin","bookmarkGroups/"+a).then(function(c){b.isAdmin=c;b.cdr.detectChanges()}).catch(function(c){b.errorHandler.errorHandler(null,c)})};
var iHc=function(a){a.userApi.getUserHotlists().then(function(b){a.userHotlists=b;a.cdr.detectChanges()})},jHc=function(a){a.userSavedSearches=null;a.userApi.getUserSavedSearches().then(function(b){a.userSavedSearches=b;A7(a);a.cdr.detectChanges()})},A7=function(a){if(a.userSavedSearches&&null!=a.bookmarkGroupUnderEdit){var b=nHc(a.bookmarkGroupUnderEdit.item.filter(function(c){return c.hasOwnProperty("savedSearchId")}));a.savedSearchChoices=a.userSavedSearches.filter(function(c){return-1==b.indexOf(c.searchId)})}},
wlb=function(a,b){var c=Number(b);Na(a.bookmarkGroupUnderEdit.item,function(e){return e.hotlistId===c});oHc(a,c);var d;null==(d=a.editBookmarkGroupItemsContainer)||d.nativeElement.focus()},ylb=function(a,b){Na(a.bookmarkGroupUnderEdit.item,function(d){return d.savedSearchId===b});A7(a);var c;null==(c=a.editBookmarkGroupItemsContainer)||c.nativeElement.focus()},Llb=function(a,b){switch(b.resourceType){case "SAVED_SEARCH":return a.paths.viewSavedSearch(b.savedSearchId);case "HOTLIST":return a.paths.viewHotlist(b.hotlistId);
default:jj(b.resourceType)}},Glb=function(a,b){for(var c={},d=m(Object.entries(b.newSelectionMap)),e=d.next();!e.done;c={$jscomp$loop$prop$id$2331:c.$jscomp$loop$prop$id$2331},e=d.next()){var f=m(e.value);e=f.next().value;f=f.next().value;c.$jscomp$loop$prop$id$2331=Lj(e);f&&!b.oldSelectionMap[c.$jscomp$loop$prop$id$2331]?(Jlb(a,c.$jscomp$loop$prop$id$2331),e=a.userHotlists.find(function(h){return function(l){return l.hotlistId===h.$jscomp$loop$prop$id$2331}}(c)),a.bookmarkGroupUnderEdit.item.push({hotlistId:e.hotlistId,
name:e.name,resourceType:"HOTLIST"})):b.oldSelectionMap[c.$jscomp$loop$prop$id$2331]&&!f&&(oHc(a,c.$jscomp$loop$prop$id$2331),Na(a.bookmarkGroupUnderEdit.item,function(h){return function(l){return l.hotlistId===h.$jscomp$loop$prop$id$2331}}(c)))}},Jlb=function(a,b){a.selectedHotlistIds[0].push(b);a.selectedHotlistIds=[a.selectedHotlistIds[0]]},oHc=function(a,b){La(a.selectedHotlistIds[0],b);a.selectedHotlistIds=[a.selectedHotlistIds[0]]},Clb=function(a,b){-1===nHc(a.bookmarkGroupUnderEdit.item).indexOf(b.searchId)&&
a.bookmarkGroupUnderEdit.item.push({name:b.name,resourceType:"SAVED_SEARCH",savedSearchId:b.searchId});setTimeout(function(){A7(a)})},nHc=function(a){return a?Oj(a,"savedSearchId"):[]},kHc=function(a){return a?Oj(a,"hotlistId"):[]},Hlb=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)},
Ilb=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)};z7.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:jj(a.resourceType)}};
z7.prototype.openConfirmationDialog=function(a,b,c){this.confirmationDialog.open({title:a,content:b,onConfirm:function(){c()}})};z7.\u0275fac=function(a){return new (a||z7)(A(yJ),A(MG),A(VF),A(hG),A(dH),A(eX),A(ZG),A(NG),A(L1),A(JV),A(BR),A(IF),A(fQ),A(ZF),A(Vt),A(cG),A(SF),A(UI),A(sH,2),A(SI))};
z7.\u0275cmp=p({type:z7,selectors:[["b-edit-bookmark-group"]],viewQuery:function(a,b){a&1&&(ih(gHc,5),ih(hHc,5),ih(tN,5,ke));if(a&2){var c;hh(c=kh())&&(b.editBookmarkGroupItemsContainer=c.first);hh(c=kh())&&(b.bookmarkGroupNameInput=c.first);hh(c=kh())&&(b.tabs=c)}},features:[Ug([sH]),qg],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&&(E(0,"div",0)(1,"div",1)(2,"div",2)(3,"button",3),K("click",function(){return b.back()}),H(4,"mat-icon",
4),F(),P(5,tlb,2,1,"button",5),P(6,ulb,2,1,"button",5),F()()(),E(7,"div",6),P(8,Vlb,48,40,"ng-container",7),F());a&2&&(z(5),D("ngIf",b.isAdmin&&!b.isArchived()),z(1),D("ngIf",b.isAdmin&&b.isArchived()),z(2),D("ngIf",!b.isLoading&&b.bookmarkGroup.bookmarkGroupId))},dependencies:[ww,xw,yw,NC,tA,uN,tN,w0,rU,n_,nX,jB,Qh,ax,sx,hx,FC,DC,EC,CC,o0],styles:[".edit-resource-panel[_ngcontent-%COMP%]   .edit-bookmark-group-items-container[_ngcontent-%COMP%]{border:1px solid;border-color:#dadce0;border-color:var(--divider);min-height:20px;padding:4px 6px;width:600px}.edit-resource-panel[_ngcontent-%COMP%]   .edit-bookmark-group-items-container[_ngcontent-%COMP%]   span.edit-bookmark-group-none-select[_ngcontent-%COMP%]{line-height:20px}.edit-resource-panel[_ngcontent-%COMP%]   .edit-bookmark-group-edit-items-pane[_ngcontent-%COMP%]{background-color:#f8f9fa;background-color:var(--button-bg);margin-top:-10px;width:600px}.edit-resource-panel[_ngcontent-%COMP%]   .edit-bookmark-group-edit-items-pane[_ngcontent-%COMP%]   .edit-bookmark-group-hotlist-picker[_ngcontent-%COMP%], .edit-resource-panel[_ngcontent-%COMP%]   .edit-bookmark-group-edit-items-pane[_ngcontent-%COMP%]   .edit-bookmark-group-hotlist-search[_ngcontent-%COMP%], .edit-resource-panel[_ngcontent-%COMP%]   .edit-bookmark-group-edit-items-pane[_ngcontent-%COMP%]   .edit-bookmark-group-saved-search-picker[_ngcontent-%COMP%]{padding:10px;display:block}.edit-resource-panel[_ngcontent-%COMP%]   .edit-bookmark-group-view-items[_ngcontent-%COMP%]{border:1px solid;border-color:#dadce0;border-color:var(--divider);color:#5f6368;color:var(--text-muted);min-height:20px;padding:4px 6px 4px 8px;width:586px}.edit-resource-panel[_ngcontent-%COMP%]   .edit-bookmark-group-view-items[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{padding-left:0}.edit-resource-panel[_ngcontent-%COMP%]   .edit-bookmark-group-view-items[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{padding:2px}.edit-bookmark-group-edit-items-pane[_ngcontent-%COMP%], .edit-bookmark-group-items-container[_ngcontent-%COMP%]{box-sizing:border-box}.edit-button-row[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin-right:8px}\n/*# sourceMappingURL=edit_bookmark_group.css.map */"]});var pHc=["savedSearchNameInput"],$lb=function(a){return{"bv2-edit-resource-readonly":a}},bmb=function(a){return{displayText:"Admins",values:a}},amb=function(a){return[a]},B7=function(a,b,c,d,e,f,h,l,q,u,x,y,G,L,M,T,S,X){Z.call(this);var aa=this;this.routeParams=a;this.location=b;this.accessPolicyApi=c;this.savedSearchApi=d;this.paths=e;this.appHistory=f;this.butterBar=h;this.pageTitle=l;this.documentationLinks=u;this.userAccess=y;this.errorHandler=G;this.snackBar=L;this.confirmationDialog=M;this.cdr=
T;this.accessPolicyConverter=S;this.appEvents=X;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=CR();this.flattenedAccessPolicy=CR();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 na;null==(na=aa.savedSearchName)||na.nativeElement.focus()});this.subscriptions.add(gQ(x,function(){return aa.hasUnsavedChanges()},!1))};W(B7,Z);B7.\u0275dir=Z.\u0275dir;g=B7.prototype;g.ngOnInit=function(){"access"===this.location.hash()&&(this.selectedTabIndex=1)};g.tabChange=function(a){this.selectedTabIndex=a;var b,c,d,e=null!=(d=null==(b=this.tabs)?void 0:null==(c=b.get(a))?void 0:c.nativeElement.id)?d:null;this.location.hash(e,!0)};
g.loadSavedSearch=function(a){var b=this;this.isLoading=!0;return this.savedSearchApi.get(a).then(function(c){b.savedSearch=c;b.savedSearchUnderEdit=Gj(b.savedSearch);b.pageTitle.setTitle("Saved search: "+c.name)}).catch(function(c){b.errorHandler.errorHandler(null,c)}).finally(function(){b.isLoading=!1;b.cdr.detectChanges()})};
g.loadAccessPolicy=function(a){var b=this;this.accessPolicyApi.get("SAVED_SEARCH",a).then(function(c){b.flattenedAccessPolicy=DR(c);b.accessPolicyUnderEdit=Gj(b.flattenedAccessPolicy);b.cdr.detectChanges()}).catch(function(c){b.errorHandler.errorHandler(null,c)})};g.loadUserAccess=function(a){var b=this;return JF(this.userAccess,"admin","savedSearches/"+a).then(function(c){b.isAdmin=c;b.cdr.detectChanges()}).catch(function(c){b.errorHandler.errorHandler(null,c)})};
g.isSaving=function(){return this.isUpdating||this.isDeleting};g.isEditDisabled=function(){return this.isSaving()||!this.isAdmin};g.back=function(){M1(this.appHistory)};g.revertMetadataChanges=function(){this.savedSearchUnderEdit=Gj(this.savedSearch);this.error=""};g.revertAccessPolicyChanges=function(){this.accessPolicyUnderEdit=Gj(this.flattenedAccessPolicy);this.appEvents.contactChipsRevertChanges.next()};g.hasUnsavedMetadataChanges=function(){return!Fj(this.savedSearch,this.savedSearchUnderEdit)};
g.hasUnsavedAccessPolicyChanges=function(){return!Fj(this.flattenedAccessPolicy,this.accessPolicyUnderEdit)};g.hasUnsavedChanges=function(){return this.hasUnsavedMetadataChanges()||this.hasUnsavedAccessPolicyChanges()};
g.saveMetadata=function(){var a=this;this.validate()&&(this.snackBar.open("Save saved search ID "+this.savedSearchUnderEdit.searchId,"dismiss",{duration:0}),this.isUpdating=!0,this.savedSearchApi.update(this.savedSearchUnderEdit.searchId,this.savedSearchUnderEdit).then(function(b){a.snackBar.open("Saved search ID "+b.searchId+' was saved as "'+b.name+'"',"dismiss",{duration:0});a.savedSearch=b;a.savedSearchUnderEdit=Gj(b);a.appEvents.savedSearchModified.next({savedSearchId:a.savedSearch.searchId})}).catch(function(b){a.errorHandler.errorHandler(null,
b)}).finally(function(){a.isUpdating=!1}))};g.validate=function(){if(""===this.savedSearchUnderEdit.name)return this.error="Error: You must fill out all required fields.",!1;this.error="";return!0};
g.saveAccessPolicy=function(){var a=this;this.accessPolicyUnderEdit.admins.includes("USER:"+this.currentUserEmail)?this.doSaveAccessPolicy():this.openConfirmationDialog("Change saved search admins",jp("Are you sure you want to remove yourself from the admins?\n                'You may lose the permission to edit the access settings"),function(){a.doSaveAccessPolicy()})};
g.doSaveAccessPolicy=function(){var a=this;try{var b=ER(this.accessPolicyUnderEdit)}catch(c){b="An unknown problem occurred";c instanceof Error&&(b=c.message);XF(this.butterBar,b);return}this.isUpdating=!0;this.snackBar.open("Saving access settings...","dismiss",{duration:0});this.accessPolicyApi.update("SAVED_SEARCH",this.savedSearch.searchId,b).then(function(c){a.snackBar.open("Access settings saved.","dismiss",{duration:0});a.flattenedAccessPolicy=DR(c);a.accessPolicyUnderEdit=Gj(a.flattenedAccessPolicy);
a.loadUserAccess(String(a.savedSearch.searchId));a.appEvents.savedSearchModified.next({savedSearchId:a.savedSearch.searchId})},function(c){a.errorHandler.errorHandler(null,c);XF(a.butterBar,Wn(c),0)}).finally(function(){a.isUpdating=!1})};g.delete=function(){var a=this;this.openConfirmationDialog("Delete saved search",jp("Do you want to delete this saved search?"),function(){a.doDelete()})};
g.doDelete=function(){var a=this;this.snackBar.open("Deleting saved search "+this.savedSearch.name,"dismiss",{duration:0});this.isDeleting=!0;this.savedSearchApi.delete(this.savedSearch.searchId).then(function(){a.snackBar.open("Deleted saved search "+a.savedSearch.name,"dismiss",{duration:0});a.appEvents.savedSearchModified.next({savedSearchId:a.savedSearch.searchId,action:"delete"});aYb(a.location,"/")}).catch(function(b){a.errorHandler.errorHandler(null,b)}).finally(function(){a.isDeleting=!1})};
g.openConfirmationDialog=function(a,b,c){this.confirmationDialog.open({title:a,content:b,onConfirm:function(){c()}})};B7.\u0275fac=function(a){return new (a||B7)(A(yJ),A(MG),A(hG),A(bU),A(NG),A(L1),A(VF),A(JV),A(Vt),A(SI),A(fQ),A(IF),A(ZF),A(SF),A(UI),A(sH,2),A(BR),A(cG))};
B7.\u0275cmp=p({type:B7,selectors:[["b-edit-saved-search"]],viewQuery:function(a,b){a&1&&(ih(pHc,5),ih(tN,5,ke));if(a&2){var c;hh(c=kh())&&(b.savedSearchName=c.first);hh(c=kh())&&(b.tabs=c)}},features:[Ug([sH]),qg],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&&(E(0,"div",0)(1,"div",1)(2,"div",2)(3,"button",3),K("click",function(){return b.back()}),H(4,"mat-icon",4),F(),P(5,Wlb,2,1,"button",5),F()()(),E(6,"div",6),P(7,Xlb,
4,0,"ng-container",7),P(8,cmb,51,38,"ng-container",7),F());a&2&&(z(5),D("ngIf",b.isAdmin),z(2),D("ngIf",!b.isLoading&&!b.savedSearch),z(1),D("ngIf",!b.isLoading&&b.savedSearch))},dependencies:[ww,yw,NC,tA,uN,tN,w0,jB,Qh,ax,sx,hx,o0],encapsulation:2});var qHc=function(a){Y.call(this,a)};W(qHc,Y);g=qHc.prototype;g.getAuthor=function(){return Ok(this,ek,1)};g.setAuthor=function(a){gl(this,ek,1,a)};g.getTimestamp=function(){return Ok(this,vj,2)};g.setTimestamp=function(a){return gl(this,vj,2,a)};g.hasTimestamp=function(){return Hl(this,vj,2)};g.getAdd=function(){return Ok(this,kl,3)};g.getRemove=function(){return Ok(this,kl,4)};g.getAddMask=function(){return Ok(this,DD,5)};g.getRemoveMask=function(){return Ok(this,DD,6)};var sHc=function(a){Y.call(this,a,-1,rHc)};W(sHc,Y);sHc.prototype.getUpdatesList=function(){return yj(this,qHc,1)};var rHc=[1];sHc.messageId="b.SloHistory";var C7=function(a,b){this.executor=b;this.sloHistories=a.get("slo_histories-second-level-cache")||a.create("slo_histories-second-level-cache",{capacity:25})};C7.prototype.get=function(a){var b=this.sloHistories.get(String(a));return void 0!==b?b:this.sloHistories.put(String(a),tHc(this,a))};var tHc=function(a,b){return a.executor.get({url:"action/slo_updates/"+b,responseConstructor:sHc}).then(function(c){var d;return{updates:(null!=(d=c.getUpdatesList())?d:[]).map(dpa)}})};
C7.prototype.getUncached=function(a){this.invalidateCache(a);return this.get(a)};C7.prototype.invalidateCache=function(a){this.sloHistories.remove(String(a))};C7.\u0275fac=function(a){return new (a||C7)(n(WG),n(LD))};C7.\u0275prov=Vc({token:C7,factory:C7.\u0275fac,providedIn:"root"});var D7=function(a,b,c,d,e,f,h,l,q,u,x,y,G,L,M,T,S,X,aa,na){Z.call(this);var ma=this;this.routeParams=a;this.accessPolicyConverter=b;this.bLocation=c;this.appHistory=e;this.butterBar=f;this.pageTitle=h;this.documentationLinks=q;this.userAccess=x;this.accessPolicyApi=y;this.sloApi=G;this.sloUpdatesApi=L;this.sloUpdatesService=M;this.errorHandler=T;this.matDialogService=S;this.analytics=X;this.confirmationDialogService=aa;this.appEvents=na;this.historyDiffs=void 0;this.isImportedFromBugScope=this.isUneditedFromBugScope=
this.elementPickerIsValid=this.isAdminInternal=this.isUpdating=this.isLoading=!1;this.selectedTabIndex=0;this.validity={};this.isInvalid=function(){return Object.values(ma.validity).some(function(Ca){return!Ca})};this.editableAccessPolicy=CR();this.flattenedAccessPolicy=CR();this.subscriptions.add(gQ(u,function(){return ma.hasUnsavedChanges()},!1));a=this.routeParams.sloId;this.resourceName=Yn("SLO",Lj(a));if(this.sloEnabled=l.isInternalSession())this.pageTitle.setTitle("SLO Overview"),uHc(this,a),
this.loadUserAccess(a),this.loadAccessPolicy(a),vHc(this,a);this.alertState={getValue:function(){return ma.editableCopy?1===ma.editableCopy.alertState:!1},getSavedValue:function(){return ma.slo?1===ma.slo.alertState:!1},setValue:function(Ca){ma.editableCopy&&(ma.editableCopy.alertState=Ca?1:0)}};this.currentUserEmail=l.getUserEmail()};W(D7,Z);D7.\u0275dir=Z.\u0275dir;
D7.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)};D7.prototype.ngOnInit=function(){"access"===this.bLocation.hash()&&(this.selectedTabIndex=1)};D7.prototype.updateCollection=function(a){this.editableCopy&&(this.editableCopy.elements=a)};
var uHc=function(a,b){a.isLoading=!0;a.sloApi.get(b).then(function(c){a.slo=c;a.slo.elements||(a.slo.elements=[]);a.editableCopy=Gj(a.slo);a.pageTitle.setTitle("SLO: "+c.name)}).catch(function(c){a.errorHandler.errorHandler(null,c)}).finally(function(){a.isLoading=!1})};
D7.prototype.loadAccessPolicy=function(a){var b=this;this.accessPolicyApi.get("SLO",Number(a)).then(function(c){b.flattenedAccessPolicy=DR(c);b.editableAccessPolicy=Gj(b.flattenedAccessPolicy)}).catch(function(c){b.errorHandler.errorHandler(null,c)})};var wHc=function(a,b){return a.sloUpdatesApi.get(b).then(function(c){a.historyDiffs=c.updates.map(function(d){return Etc(a.sloUpdatesService,d)})}).catch(function(c){a.errorHandler.errorHandler(null,c)})};g=D7.prototype;
g.loadUserAccess=function(a){var b=this;JF(this.userAccess,"admin",Yn("SLO",Lj(a))).then(function(c){b.isAdminInternal=c}).catch(function(c){b.errorHandler.errorHandler(null,c)})};g.hasUnsavedChanges=function(){return this.hasUnsavedMetadataChanges()||this.hasUnsavedAccessPolicyChanges()};g.hasUnsavedMetadataChanges=function(){return!Fj(this.slo,this.editableCopy)};g.hasUnsavedAccessPolicyChanges=function(){return!Fj(this.flattenedAccessPolicy,this.editableAccessPolicy)};
g.saveMetadata=function(){var a=this;xHc(this.slo.elements,this.editableCopy.elements)?this.save():this.confirmationDialogService.open({title:"Save SLO changes?",content:mp(jp("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."),lp("br"),lp("br"),jp("Please combine changes into as few updates as possible.")),onConfirm:function(){a.save()},onDismiss:Mu})};
var gmb=function(a,b){if(!a.hasUnsavedMetadataChanges()){var c=function(){a.editableCopy.isArchived=b;a.save()};b?a.confirmationDialogService.open({title:"Archive SLO?",content:jp("Archiving this SLO will prevent new usages of the SLO, and will hide the SLO from most searches."),onConfirm:c,onDismiss:Mu}):c()}},xHc=function(a,b){if(a.length!==b.length)return!1;for(var c=0;c<a.length;c++){var d=a[c],e=b[c],f;if(f=d.getMetric()===e.getMetric()&&d.getMatcher()===e.getMatcher())d=d.getObjective(),e=e.getObjective(),
f=!d&&!e||!!d&&!!e&&d.getSeconds()===e.getSeconds();if(!f)return!1}return!0};
D7.prototype.save=function(){var a=this,b=this.editableCopy;WF(this.butterBar,"Saving SLO ID "+b.sloId+"...");this.isUpdating=!0;this.sloApi.update(b).then(function(c){var d='Changes to SLO "'+c.name+'" saved.';xHc(a.slo.elements,a.editableCopy.elements)||(d+=" Propagating this change may take several hours.");WF(a.butterBar,d);a.slo=c;a.slo.elements||(a.slo.elements=[]);a.editableCopy=Gj(c);a.sloUpdatesApi.invalidateCache(a.slo.sloId);a.analytics.trackEvent(Mp.EDIT_SLO,"update")}).catch(function(c){a.errorHandler.errorHandler(null,
c)}).finally(function(){a.isUpdating=!1})};D7.prototype.saveAccessPolicy=function(){var a=this;this.isRevokingAdmin()?this.confirmationDialogService.open({title:"Change SLO admins",content:jp("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:Mu}):this.doSaveAccessPolicy()};
D7.prototype.doSaveAccessPolicy=function(){var a=this;try{var b=ER(this.editableAccessPolicy)}catch(c){b="An unknown problem occurred";c instanceof Error&&(b=c.message);XF(this.butterBar,b);return}this.isUpdating=!0;WF(this.butterBar,"Saving access settings...");this.accessPolicyApi.update("SLO",this.slo.sloId,b).then(function(c){WF(a.butterBar,"Access settings saved.");a.flattenedAccessPolicy=DR(c);a.editableAccessPolicy=Gj(a.flattenedAccessPolicy);a.loadUserAccess(a.slo.sloId);a.analytics.trackEvent(Mp.EDIT_SLO,
"updateAccessPolicy")},function(c){XF(a.butterBar,Wn(c),0)}).finally(function(){a.isUpdating=!1})};D7.prototype.isRevokingAdmin=function(){return this.isRevokingDirectAdmin()};var vHc=function(a,b){wHc(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"===ck(c.author)&&(a.isImportedFromBugScope=!0);d.author&&"buganizer-system@google.com"===ck(d.author)&&(a.isUneditedFromBugScope=!0)}})};
g=D7.prototype;g.isRevokingDirectAdmin=function(){if(Fj(this.flattenedAccessPolicy.admins,this.editableAccessPolicy.admins))return!1;var a="USER:"+this.currentUserEmail;return this.flattenedAccessPolicy.admins.includes(a)&&!this.editableAccessPolicy.admins.includes(a)};
g.revertMetadataChanges=function(){var a=this;xHc(this.slo.elements,this.editableCopy.elements)?this.editableCopy=Gj(this.slo):this.confirmationDialogService.open({title:"Revert SLO changes?",content:mp(jp("Revert all changes to this SLO?")),onConfirm:function(){a.editableCopy=Gj(a.slo)},onDismiss:Mu})};g.revertAccessPolicyChanges=function(){this.editableAccessPolicy=Gj(this.flattenedAccessPolicy);this.appEvents.contactChipsRevertChanges.next()};g.isSaving=function(){return this.isUpdating};
g.back=function(){M1(this.appHistory)};g.isEditDisabled=function(){return!this.editableCopy||this.isSaving()||!this.isAdmin()};g.isAdmin=function(){return this.isAdminInternal};g.showUpdateHistoryModal=function(){var a=this;wHc(this,this.slo.sloId).then(function(){a.matDialogService.open(B6,{width:"600px",data:{updateDiffs:a.historyDiffs}});a.analytics.trackEvent(Mp.UPDATE_HISTORY_MODAL,"open");a.analytics.trackEvent(Mp.EDIT_SLO,"viewHistory")})};
D7.\u0275fac=function(a){return new (a||D7)(A(yJ),A(BR),A(MG),A(NG),A(L1),A(VF),A(JV),A(Vt),A(SI),A(fQ),A(IF),A(hG),A(LT),A(C7),A(G1),A(ZF),A(IA),A(wH),A(UI),A(cG))};
D7.\u0275cmp=p({type:D7,selectors:[["edit-slo-page"]],viewQuery:function(a,b){a&1&&ih(tN,5,ke);if(a&2){var c;hh(c=kh())&&(b.tabs=c)}},features:[qg],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&&(E(0,"div",0)(1,"div",1)(2,"b-button",2),K("onAction",function(){return b.back()}),H(3,"b-icon",3),F()()(),E(4,"div",4),P(5,dmb,2,0,"div",5),P(6,lmb,55,31,"div",6),F());a&2&&(z(5),D("ngIf",b.isLoading),z(1),D("ngIf",!b.isLoading&&b.slo&&b.slo.sloId&&b.editableCopy))},dependencies:[cQ,yw,ix,Qh,ax,bx,sx,hx,fx,zN,GN,uN,tN,o0,DO,z1,zM],encapsulation:2});var E7=function(a,b,c,d){Z.call(this);var e=this;this.routeParams=a;this.issues=b;this.issuePicker=c;this.snackBar=d;this.TEA_DARK=M3b;this.TEA_LIGHT=L3b;this.getStatus=function(f){return f.snapshot[0].status};this.STATUS_FULL_TEXT=gF;this.STATUS_TERSE=cF;this.id$=this.routeParams.issueId$;this.searchUrl$=this.id$.pipe(B(function(f){return{path:"/issues",params:{q:"blockedbyid:"+f}}}));this.issue$=this.id$.pipe(cg(this.issues.watch));this.blockingIds$=this.issue$.pipe(B(function(f){var h;return null!=
(h=null==f?void 0:f.snapshot[0].blockingIssueId)?h:[]}));this.issuesBeingBlocked$=this.blockingIds$.pipe(cg(this.issues.watchSet));this.blockedAndOpen$=this.issuesBeingBlocked$.pipe(B(function(f){return f.filter(Dn)}));this.blockedAndOpenIds$=this.blockedAndOpen$.pipe(B(function(f){return f.map(function(h){return String(h.issueId)})}));this.blockedAndClosed$=this.issuesBeingBlocked$.pipe(B(function(f){return f.filter(function(h){return $ra(h)})}));this.blockedAndClosedIds$=this.blockedAndClosed$.pipe(B(function(f){return f.map(function(h){return String(h.issueId)})}));
this.thinking$=this.issues.thinking$;this.getMenuItems=function(f){return[{type:"action",label:"Remove this relationship",action:function(){e.onClickRemove(f)},title:"Remove this relationship",icon:"clear"}]};this.didChooseBlocking=function(f){var h=Zo(e.id$);null!=h&&CH(e.issues,"ADD","BLOCKING",h,f).catch(e.gotErr)};this.gotErr=function(f){e.snackBar.open(Wn(f)||"Error with network request","close",{panelClass:"error"})}};W(E7,Z);E7.\u0275dir=Z.\u0275dir;
E7.prototype.convertIssueStatusStrToTag=function(a){return rl[a]};E7.prototype.onClickAdd=function(){this.issuePicker.open({title:"Add Blocking",allowMultipleIds:!0,edgeType:"blocking"},this.didChooseBlocking)};E7.prototype.onClickRemove=function(a){var b=Zo(this.id$);null!=b&&CH(this.issues,"REMOVE","BLOCKING",b,[String(a)]).catch(this.gotErr)};E7.\u0275fac=function(a){return new (a||E7)(A(xJ),A(BH),A(SP),A(SF))};
E7.\u0275cmp=p({type:E7,selectors:[["ng-component"]],features:[qg],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&&(E(0,"section",0),P(1,zmb,4,2,"ng-container",1),U(2,"async"),F(),P(3,Amb,2,0,"aside",2),U(4,"async"));a&2&&(z(1),D("ngIf",V(2,2,b.blockingIds$)),z(2),D("ngIf",V(4,4,b.thinking$)))},dependencies:[xw,yw,HG,tA,uA,NC,zM,HT,Ew],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 F7=function(){};F7.\u0275fac=function(a){return new (a||F7)};F7.\u0275mod=od({type:F7});F7.\u0275inj=Wc({imports:[ty,Ky,wx,xx,LG,YC,yN,ID,OC,FP,JN,hP,PP,JT]});var yHc="focus-indicator title type team id assignee status menu".split(" "),zHc=[].concat(r(yHc)),AHc="focus-indicator drag-handle title type id assignee status menu".split(" ");var G7=function(a,b,c,d){Z.call(this);var e=this;this.issueFridge=a;this.butterBar=b;this.analytics=c;this.refreshMonitor=d;this.blockerIssueIds$=new C.BehaviorSubject([]);this.filters=[];this.tableColumns=yHc;this.initialSort={active:"status",direction:"asc"};this.getMenuItems=function(f){return[{type:"action",label:"Remove blocker",action:function(){BHc(e,f)},title:"Remove blocker",icon:"clear"}]};this.subscriptions.add(this.refreshMonitor.getObservable().subscribe(function(){for(var f=m(e.blockerIssueIds$.value),
h=f.next();!h.done;h=f.next())e.issueFridge.poke(h.value)}))};W(G7,Z);G7.\u0275dir=Z.\u0275dir;G7.prototype.ngOnInit=function(){};var BHc=function(a,b){var c;of(function(d){if(1==d.nextAddress){a.analytics.trackEvent(Mp.EDIT_ISSUE,"update","remove-blocker");pf(d,2);var e=d.yield;var f=CH(a.issueFridge,"REMOVE","BLOCKED_BY",a.issueId,[b]);return e.call(d,f,4)}if(2!=d.nextAddress)return au(d,0);c=sf(d);XF(a.butterBar,"Could not remove blocker "+b+". "+(Vn(c)?Wn(c):c));tf(d)})};
Xi.Object.defineProperties(G7.prototype,{blockerIds:{configurable:!0,enumerable:!0,set:function(a){this.blockerIssueIds$.next(null!=a?a:[])}},filteredRowCount$:{configurable:!0,enumerable:!0,get:function(){return this.issuesTable.filteredRowCount$}}});G7.\u0275fac=function(a){return new (a||G7)(A(BH),A(VF),A(wH),A(zH))};
G7.\u0275cmp=p({type:G7,selectors:[["b-blockers-table"]],viewQuery:function(a,b){a&1&&ih(HT,5);if(a&2){var c;hh(c=kh())&&(b.issuesTable=c.first)}},inputs:{blockerIds:"blockerIds",issueId:"issueId",filters:"filters"},features:[qg],decls:2,vars:3,consts:[[4,"ngIf"],[3,"issueIds","tableColumns","menuItemFactory","filters","initialSort"]],template:function(a,b){a&1&&(P(0,Bmb,2,5,"ng-container",0),U(1,"async"));a&2&&D("ngIf",V(1,1,b.blockerIssueIds$))},dependencies:[yw,HT,Ew],encapsulation:2,changeDetection:0});var H7=function(){this.EMPTY_BLOCKER_LIGHT=G3b;this.EMPTY_BLOCKER_DARK=H3b;this.EMPTY_CHILD_LIGHT=I3b;this.EMPTY_CHILD_DARK=J3b};H7.\u0275fac=function(a){return new (a||H7)};
H7.\u0275cmp=p({type:H7,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&&(E(0,"h1",0),Q(1,"About Dependencies"),F(),E(2,"div",1)(3,"div",2),H(4,"img",3)(5,"img",3)(6,"img",4)(7,"img",4),F(),E(8,"article")(9,"p",5),Q(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. "),E(11,"a",6),Q(12,"Learn more"),F()()()(),E(13,"div",7)(14,
"button",8),Q(15,"Ok"),F()());a&2&&(z(4),D("src",b.EMPTY_CHILD_LIGHT,Ie),z(1),D("src",b.EMPTY_BLOCKER_LIGHT,Ie),z(1),D("src",b.EMPTY_CHILD_DARK,Ie),z(1),D("src",b.EMPTY_BLOCKER_DARK,Ie))},dependencies:[tA,JA,KA,LA,MA],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 CHc=function(){return["focus-indicator","load-more-children"]},I7=Mp.EDIT_ISSUE,DHc={type:"data",id:"",issue$:C.NEVER,hasChildren$:C.NEVER,ancestorChain:new UP([]),level:0,expandedCount:0},J7=function(a,b,c,d,e,f,h,l,q,u,x,y,G,L,M){Z.call(this);var T=this;this.issueRelationshipsFridge=a;this.router=b;this.butterBar=c;this.analytics=d;this.issueArchiveService=e;this.ngZone=f;this.elementRef=h;this.domSafe=q;this.reorderingSessionTracker=u;this.cdr=x;this.relationsTableModelFactory=y;this.liveAnnouncer=
G;this.clearcut=L;this.paths=M;this.internalFilters=new YJ;this.isClosed=$ra;this.tableColumns=AHc;this.trackBy=function(S,X){return X.ancestorChain.hash()+X.type};this.isLoadMoreRow=function(S,X){return"load-more-children"===X.type};this.isDataRow=function(S,X){return"data"===X.type};this.isDraftRow=function(S,X){return"draft-issue"===X.type};this.selectionModel=new kQ;this.hasLogged=!1;this.correctedDisplayedRows=new lh;this.TITLE_FIXED_OFFSET_PX=42;this.rowDirectiveMap=new Map;this.getRowIndex=
function(S){var X;return(null!=(X=Zo(T.rows$))?X:[]).findIndex(function(aa){return Op(aa,S)})};this.showError=function(S){return function(X){XF(T.butterBar,S+". "+(Vn(X)?Wn(X):X))}};this.subscriptions.add(gQ(l,function(){return T.tableModel.draftRows.isSaving()||T.issueRelationshipsFridge.isSaving()},!1))};W(J7,Z);J7.\u0275dir=Z.\u0275dir;g=J7.prototype;
g.ngOnInit=function(){var a=this;this.tableModel=this.relationsTableModelFactory.create(this.rootIssueId,this.internalFilters);this.rows$=(0,C.scheduled)([this.tableModel.rows$,(0,C.of)([DHc])],C.asyncScheduler).pipe(Af(1),$f({refCount:!0,bufferSize:1}));var b=this.rows$.pipe(cg(function(c){return(0,C.combineLatest)(c.filter(function(d){return"data"===d.type}).map(function(d){return d.issue$}))}),Nf(0,C.asapScheduler));this.subscriptions.add(b.subscribe(function(c){a.cdr.detectChanges();a.trackRelationsData(c)}));
this.rowReorderingModel=new iQ(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,XP(c,d)||YP(c,d,10))}));this.subscriptions.add(this.rowReorderingModel.onRowsMoved$.subscribe(function(c){var d;return of(function(e){if(1==e.nextAddress)return AZb(a.issueRelationshipsFridge,
c.insertAt,c.movedRows.map(function(f){return{issueId:f.nodeId,parentId:f.parentNodeId}})).then(function(){return a.liveAnnouncer.announce(c.actionMessage+" successfully.")}).catch(a.showError("Unable to reorder issues")),n8b(a.tableModel.expansion,c.parentAncestorChain,c.movedRows),e.yield((0,C.firstValueFrom)(a.correctedDisplayedRows.changes.pipe(B(function(f){return f.find(function(h){return"data"===h.row.type&&h.row.ancestorChain.nodeId===c.movedRows[0].nodeId&&h.row.ancestorChain.parentNodeId===
c.insertAt.parentId})}),Gf(Boolean),If(6E4))),2);d=e.yieldResult;d.focus();tf(e)})}));this.subscriptions.add(this.rowReorderingModel.onRowsMoved$.subscribe(function(c){a.reorderingSessionTracker.onRowsMoved$.next(c)}))};
g.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;mH(this.clearcut,"view-relations-"+(c?"all-loaded":"some-loaded"));this.analytics.trackEvent(I7,"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,mH(this.clearcut,"view-relations-"+(.5<a?"most-estimated":"most-unestimated")),this.analytics.trackEvent(I7,"view-relations","ratio-estimated",a))}};
g.ngAfterViewInit=function(){var a=this;this.selectionModel.init(this.displayedRows);(0,C.combineLatest)([this.rows$,this.displayedRows.changes]).pipe(dg(this.destroyed$)).subscribe(function(b){b=m(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);gh(a.correctedDisplayedRows)});this.focusManager=cz(new cN(this.correctedDisplayedRows,
Op))};g.toggleExpansion=function(a){YP(this.tableModel.expansion,a.ancestorChain,a.expandedCount?0:10)};g.navigateToIssue=function(a,b){!b.id||a.defaultPrevented||"mouseup"===a.type&&a instanceof MouseEvent&&1!==a.button||"A"===a.target.tagName||(this.analytics.trackEvent(I7,"navigate","to-child-issue"),b=$n(b.id),a.ctrlKey||a.metaKey||a instanceof MouseEvent&&1===a.button?this.domSafe.openInNewTab(b):a&&a.shiftKey?Kp(this.domSafe,b):Gt(this.router,b))};
g.displayAllSiblings=function(a){var b=this,c;return of(function(d){if(1==d.nextAddress)return c=b.getRowIndex(a),YP(b.tableModel.expansion,a.ancestorChain.parentChain,500),d.yield(Fp(),2);b.focusManager.setActiveItem(c);tf(d)})};g.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"}]};
g.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:!Zo(a.hasChildren$),action:function(){var c=co({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 of(function(c){if(1==c.nextAddress)return c.yield(Fp(),
2);b.createChildIssue(a);tf(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 of(function(c){if(1==c.nextAddress)return c.yield(Fp(),2);b.createSiblingIssue(a);tf(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(){N8b(b.rowReorderingModel,b.rowDirectiveMap.get(a.ancestorChain.hash()))},title:"Indent",icon:"arrow-right",hintText:"shift+ctrl+right"},
{type:"action",label:"Unindent",action:function(){M8b(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"}]};
g.saveDraft=function(a){var b=this,c,d;return of(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,C.firstValueFrom)(b.displayedRows.changes.pipe(B(function(f){return f.find(function(h){return"data"===h.row.type&&h.row.id===a.issueId})}),Gf(Boolean),If(6E4))),2)}c=e.yieldResult;Op(null==(d=b.focusManager.activeItem)?void 0:d.row,a)&&b.focusManager.setActiveItem(c);tf(e)})};
g.cancelDraft=function(a){if(!a.saving){this.tableModel.deleteDraftRow(a);var b;Op(null==(b=this.focusManager.activeItem)?void 0:b.row,a)&&this.focusManager.setPreviousItemActive()}};g.createChildIssue=function(a){this.tableModel.createChildOrDraft(null==a?void 0:a.ancestorChain,{afterIssueId:"-1"})};g.createSiblingIssue=function(a){"data"===a.type?this.tableModel.createChildOrDraft(a.ancestorChain.parentChain,{afterIssueId:a.id}):this.tableModel.createChildOrDraft(a.ancestorChain.parentChain,{afterDraftId:a.id})};
g.addExistingChild=function(a){this.tableModel.addExistingChild(a)};g.getDraftColumns=function(){return this.tableColumns.map(function(a){return"title"===a?"editable-title":"menu"===a?"save":"id"===a?"empty-id":a})};g.handleDragStart=function(a){this.reorderingSessionTracker.dragStarted$.next({origin:"mouse"});this.rowReorderingModel.handleDragStart(a)};
g.onRowKeydown=function(a,b){var c=this,d;return of(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);tf(e)}})};
g.navigateToCreateIssuePage=function(a,b){var c=this,d,e,f,h,l,q,u,x;return of(function(y){if(1==y.nextAddress)return a.defaultPrevented||"mouseup"===a.type&&a instanceof MouseEvent&&1!==a.button?y.return():y.yield((0,C.firstValueFrom)(b.issue$),2);d=y.yieldResult;u={};x=c.paths.createIssue((u.component=String(null==(e=d)?void 0:e.snapshot[0].componentId),u.parentIssueId=b.ancestorChain.parentChain.nodeId,u.redirectUrl=ao(c.rootIssueId),u.afterIssueId=b.afterIssueId,u.title=b.title,u.priority=null!=
(l=null==(f=d)?void 0:f.snapshot[0].priority)?l:void 0,u.type=null!=(q=null==(h=d)?void 0:h.snapshot[0].type)?q:void 0,u));if(a.ctrlKey||a.metaKey||a instanceof MouseEvent&&1===a.button)return c.cancelDraft(b),c.domSafe.openInNewTab(x),y.return();if(a&&a.shiftKey)return c.cancelDraft(b),Kp(c.domSafe,x),y.return();Gt(c.router,x);tf(y)})};
g.archiveRow=function(a){var b=this,c,d;of(function(e){if(1==e.nextAddress)return b.analytics.trackEvent(I7,"update","archive-child-issue"),c=b.getRowIndex(a),b.issueArchiveService.archive(a.id),e.yield((0,C.firstValueFrom)(b.rows$.pipe(B(function(f){return!f.find(function(h){return"data"===h.type&&h.id===a.id})}),Gf(Boolean),If(6E4))),2);Op(null==(d=b.focusManager.activeItem)?void 0:d.row,a)&&b.focusManager.setActiveItem(c);tf(e)})};
g.unlinkFromParent=function(a){var b=this,c,d;return of(function(e){c=a.ancestorChain.nodeId;d=a.ancestorChain.parentNodeId;b.analytics.trackEvent(I7,"update","unlink-child-issue");return e.yield(b.issueRelationshipsFridge.unlinkFromParent(c,d).then(function(){WF(b.butterBar,"Unlinked successfully.")}).catch(b.showError("Failed to unlink child "+c+" from parent "+d)),0)})};
Xi.Object.defineProperties(J7.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$}}});J7.\u0275fac=function(a){return new (a||J7)(A(IH),A(FG),A(VF),A(wH),A(eQ),A(hg),A(ke),A(fQ),A(PK),A(jQ),A(sH),A(hQ),A(Ty),A(kH),A(NG))};
J7.\u0275cmp=p({type:J7,selectors:[["b-issue-relations-table"]],viewQuery:function(a,b){a&1&&ih(aN,5);if(a&2){var c;hh(c=kh())&&(b.displayedRows=c)}},inputs:{rootIssueId:"rootIssueId",filters:"filters"},features:[Ug([sH]),qg],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&&(E(0,"table",0),I(1,1),P(2,Cmb,1,0,"th",2),P(3,Dmb,2,0,"td",3),J(),I(4,4),P(5,Emb,1,0,"th",2),P(6,Fmb,3,0,"td",5),J(),I(7,6),P(8,Gmb,2,0,"th",2),P(9,Hmb,2,1,"td",7),J(),I(10,8),P(11,Imb,2,0,"th",2),P(12,Jmb,2,0,"td",7),J(),I(13,9),P(14,Kmb,2,0,"th",2),P(15,
Lmb,4,8,"td",7),J(),I(16,10),P(17,Mmb,2,0,"th",2),P(18,Nmb,3,3,"td",7),J(),I(19,11),P(20,Omb,2,0,"th",2),P(21,Pmb,3,3,"td",7),J(),I(22,12),P(23,Qmb,2,0,"th",2),P(24,Rmb,3,3,"td",7),J(),I(25,13),P(26,Smb,2,0,"th",2),P(27,Tmb,3,3,"td",7),J(),I(28,14),P(29,Umb,1,0,"th",2),P(30,Vmb,2,1,"td",7),J(),I(31,15),P(32,Wmb,1,0,"th",2),P(33,Zmb,4,2,"td",16),J(),I(34,17),P(35,$mb,6,7,"td",18),J(),I(36,19),P(37,anb,2,0,"th",2),P(38,bnb,7,6,"td",18),J(),P(39,cnb,1,0,"tr",20),P(40,dnb,3,12,"tr",21),P(41,enb,1,4,"tr",
22),P(42,fnb,1,2,"tr",23),F(),H(43,"div",24)(44,"div",25)(45,"div",26));a&2&&(D("dataSource",b.rows$)("trackBy",b.trackBy),z(39),D("matHeaderRowDef",b.tableColumns),z(1),D("matRowDefColumns",b.tableColumns)("matRowDefWhen",b.isDataRow),z(1),D("matRowDefColumns",Wg(9,CHc))("matRowDefWhen",b.isLoadMoreRow),z(1),D("matRowDefColumns",b.getDraftColumns())("matRowDefWhen",b.isDraftRow))},dependencies:[Ex,yw,jB,mM,eM,iM,fM,dM,jM,gM,hM,kM,lM,NC,tL,dL,cQ,HN,eL,UM,hL,kL,sL,YN,uL,zM,aN,Ew],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 K7=function(a,b,c,d,e){Z.call(this);var f=this;this.issueFridge=a;this.butterBar=b;this.analytics=c;this.refreshMonitor=d;this.issueRelationshipsFridge=e;this.parentIssueIds$=new C.BehaviorSubject([]);this.filters=[];this.editIssueDependencies=ao;this.tableColumns=zHc;this.getMenuItems=function(h){return[{type:"action",label:"Unlink parent",action:function(){return EHc(f,h)},title:"Unlink parent",icon:"link"}]};this.showError=function(h){return function(l){XF(f.butterBar,h+". "+(Vn(l)?Wn(l):l))}};
this.subscriptions.add(this.refreshMonitor.getObservable().subscribe(function(){for(var h=m(f.parentIssueIds$.value),l=h.next();!l.done;l=h.next())f.issueFridge.poke(l.value)}))};W(K7,Z);K7.\u0275dir=Z.\u0275dir;K7.prototype.ngOnInit=function(){};
var EHc=function(a,b){var c;return of(function(d){a.analytics.trackEvent(Mp.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)})};Xi.Object.defineProperties(K7.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$}}});
K7.\u0275fac=function(a){return new (a||K7)(A(BH),A(VF),A(wH),A(zH),A(IH))};
K7.\u0275cmp=p({type:K7,selectors:[["b-parents-table"]],viewQuery:function(a,b){a&1&&ih(HT,5);if(a&2){var c;hh(c=kh())&&(b.issuesTable=c.first)}},inputs:{parentIds:"parentIds",filters:"filters",issueId:"issueId"},features:[qg],decls:2,vars:3,consts:[[4,"ngIf"],[3,"issueIds","tableColumns","filters","issueUrlFactory","menuItemFactory"]],template:function(a,b){a&1&&(P(0,gnb,2,5,"ng-container",0),U(1,"async"));a&2&&D("ngIf",V(1,1,b.parentIssueIds$))},dependencies:[yw,HT,Ew],encapsulation:2,changeDetection:0});var Dt=function(a){Y.call(this,a,-1,FHc)};W(Dt,Y);Dt.prototype.getFilename=function(){return Dk(this,1)};Dt.prototype.setFilename=function(a){k(this,1,a)};Dt.prototype.getLineNumber=function(a){return vu(this,2,a)};var FHc=[2];var knb=function(a){Y.call(this,a,-1,GHc)};W(knb,Y);var GHc=[2];var IHc=function(a){Y.call(this,a,-1,HHc)};W(IHc,Y);var HHc=[3];IHc.messageId="b.MentionSearchResult";var L7=function(a){this.executor=a};L7.\u0275fac=function(a){return new (a||L7)(n(LD))};L7.\u0275prov=Vc({token:L7,factory:L7.\u0275fac,providedIn:"root"});var M7=function(a,b,c){this.mentionsApi=a;this.refreshMonitor=b;this.analytics=c},JHc=function(a,b){var c="https://todo.corp.google.com/?issue="+b;a.cachedId===b&&a.cachedEntry||(a.cachedId=b,a.cachedEntry=lZb(a.refreshMonitor,(0,C.defer)(function(){return a.mentionsApi.executor.get({url:"action/issues/"+b+"/mentions",responseConstructor:IHc}).then(lnb).then(function(d){return{mentions:d,loadingState:"OK",link:c}}).catch(function(){return{loadingState:"ERROR",link:c}})}).pipe(bg({loadingState:"LOADING",
link:c}))).pipe($f({refCount:!0,bufferSize:1})));return a.cachedEntry};M7.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)};M7.prototype.trackSqueegeeClick=function(){this.analytics.trackEvent("codeMentions","clickSqueegeeLink")};M7.\u0275fac=function(a){return new (a||M7)(n(L7),n(zH),n(wH))};M7.\u0275prov=Vc({token:M7,factory:M7.\u0275fac,providedIn:"root"});var O7=function(a,b,c,d,e,f,h){var l=this;this.paramsService=a;this.issueRelationshipsFridge=b;this.issueFridge=c;this.codeMentions=d;this.issueApi=e;this.eventsForIssue=f;this.activeSession=h;this.id$=this.paramsService.issueId$.pipe(Pf(1E3));this.issue$=this.id$.pipe(cg(this.issueFridge.watch));this.issueEvents$=this.id$.pipe(cg(this.eventsForIssue.watch),B(function(q){var u;return null!=(u=null==q?void 0:q.events)?u:[]}));this.blockerIssueIds$=this.issue$.pipe(B(function(q){var u;return null!=
(u=null==q?void 0:q.snapshot[0].blockedByIssueId)?u:[]}),Qf(Fj));this.blockedIssueIds$=this.issue$.pipe(B(function(q){var u;return null!=(u=null==q?void 0:q.snapshot[0].blockingIssueId)?u:[]}),Qf(Fj));this.parentIds$=this.issue$.pipe(B(function(q){var u;return null!=(u=null==q?void 0:q.parentIssueIds)?u:[]}),Qf(Fj));this.childrenIds$=this.id$.pipe(cg(this.issueRelationshipsFridge.watch),B(function(q){var u;return null!=(u=null==q?void 0:q.relatedChildren.map(function(x){return x.targetIssueId}))?
u:[]}));this.duplicateIssueIds$=this.issue$.pipe(B(function(q){var u;return null!=(u=null==q?void 0:q.snapshot[0].duplicateIssueId)?u:[]}),Qf(Fj));this.blockersDualCount$=(0,C.combineLatest)([this.id$,this.blockerIssueIds$]).pipe(cg(function(q){var u=m(q);q=u.next().value;u=u.next().value;return N7(l,q,u,["BLOCKED_BY"])}),$f({bufferSize:1,refCount:!0}));this.countBlockersDisplay$=this.blockersDualCount$.pipe(B(Et),$f({bufferSize:1,refCount:!0}));this.blockedDualCount$=(0,C.combineLatest)([this.id$,
this.blockedIssueIds$]).pipe(cg(function(q){var u=m(q);q=u.next().value;u=u.next().value;return N7(l,q,u,["BLOCKING"])}),$f({bufferSize:1,refCount:!0}));this.countBlockedDisplay$=this.blockedDualCount$.pipe(B(Et),$f({bufferSize:1,refCount:!0}));this.childrenDualCount$=(0,C.combineLatest)([this.id$,this.childrenIds$]).pipe(cg(function(q){var u=m(q);q=u.next().value;u=u.next().value;return N7(l,q,u,["CHILDREN"])}),$f({bufferSize:1,refCount:!0}));this.countChildrenDisplay$=this.childrenDualCount$.pipe(B(Et),
$f({bufferSize:1,refCount:!0}));this.parentsDualCount$=(0,C.combineLatest)([this.id$,this.parentIds$]).pipe(cg(function(q){var u=m(q);q=u.next().value;u=u.next().value;return N7(l,q,u,["PARENT"])}),$f({bufferSize:1,refCount:!0}));this.countParentsDisplay$=this.parentsDualCount$.pipe(B(Et),$f({bufferSize:1,refCount:!0}));this.dependenciesDualCount$=(0,C.combineLatest)([this.id$,this.blockerIssueIds$,this.childrenIds$]).pipe(cg(function(q){var u=m(q);q=u.next().value;var x=u.next().value;u=u.next().value;
return N7(l,q,[].concat(r(u),r(x)),["CHILDREN","BLOCKED_BY"])}));this.countDependenciesDisplay$=this.dependenciesDualCount$.pipe(B(Et),$f({bufferSize:1,refCount:!0}));this.duplicatesDualCount$=(0,C.combineLatest)([this.id$,this.duplicateIssueIds$]).pipe(cg(function(q){var u=m(q);q=u.next().value;u=u.next().value;return N7(l,q,u,["DUPLICATE"])}),$f({bufferSize:1,refCount:!0}));this.countDuplicateDisplay$=this.duplicatesDualCount$.pipe(B(function(q){return q.total}),B(nnb),$f({bufferSize:1,refCount:!0}));
this.countResourcesDisplay$=this.issue$.pipe(B(function(q){var u;return null!=(u=null==q?void 0:q.relatedLinks)?u:[]}),B(function(q){return l.activeSession.isInternalSession()?q:q.filter(function(u){return!ysa(u)})}),B(function(q){return Ft(q.length)}),B(nnb),$f({bufferSize:1,refCount:!0}));this.countTodosDisplay$=this.id$.pipe(Gf(nk),cg(function(q){return JHc(l.codeMentions,q)}),B(function(q){var u,x;return Ft(null!=(x=null==(u=q.mentions)?void 0:u.totalMentions)?x:0)}),B(nnb),$f({bufferSize:1,refCount:!0}));
this.countCommentsDisplay$=this.issueEvents$.pipe(B(function(q){return Ft(q.filter(zn).length)}),B(nnb),$f({bufferSize:1,refCount:!0}))},N7=function(a,b,c,d){d=void 0===d?[]:d;c=wn(c);if(!b||0===c.length)return(0,C.of)({open:{count:0,exact:!0},total:{count:0,exact:!0}});d=d.map(function(e){return onb(b,e)}).filter(nk).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(Dn).filter(En).length;return{open:Ft(e),
total:Ft(c.length)}}):(0,C.combineLatest)(c.map(function(e){return a.issueFridge.watch(e)})).pipe(B(function(e){return{open:Ft(e.filter(nk).filter(Dn).filter(En).length),total:Ft(e.filter(function(f){return!f||En(f)}).length)}}))};O7.\u0275fac=function(a){return new (a||O7)(n(xJ),n(IH),n(BH),n(M7),n(PE),n(sF),n(Vt))};O7.\u0275prov=Vc({token:O7,factory:O7.\u0275fac,providedIn:"root"});var P7=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 Rv;this.onConfirm=new Rv;this.onCancel=new Rv;this.internalSelectedOptions=new YJ};P7.prototype.confirm=function(a){this.onConfirm.emit(new Set(this.internalSelectedOptions));a.close()};P7.prototype.cancel=function(a){this.onCancel.emit();a.close()};
Xi.Object.defineProperties(P7.prototype,{selectedOptions:{configurable:!0,enumerable:!0,set:function(a){this.internalSelectedOptions.reset(a)}}});P7.\u0275fac=function(a){return new (a||P7)};
P7.\u0275cmp=p({type:P7,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=t();E(0,"button",0,1);K("click",function(){v(c);var e=O(1),f;null!=(f=e.isOpen)&&f?e.close():e.open();return w()});U(2,"async");H(3,"mat-icon",2);P(4,qnb,3,3,"ng-container",3);F();E(5,"onedev-popup-panel",
4,5)(7,"div",6);P(8,rnb,2,1,"h1",7);P(9,unb,7,5,"div",8);P(10,vnb,7,2,"ng-container",3);F()()}if(a&2){var d=O(6);Fg("large","large"===b.buttonSize)("small","small"===b.buttonSize);D("onedevPopupPanelTriggerFor",d)("color",b.showActiveState&&V(2,13,b.internalSelectedOptions.size$)?"primary":null)("matTooltip",b.buttonTooltip);ug("aria-label",b.buttonAriaLabel);z(3);D("svgIcon",b.buttonSvgIcon);z(1);D("ngIf",b.showActiveState);z(4);D("ngIf",b.overlayTitle);z(1);D("ngForOf",b.options);z(1);D("ngIf",
b.showActionButtons)}},dependencies:[xw,yw,tA,DO,AM,jB,NC,PM,QM,Ew],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 Bnb=function(a){return{filteredCount:a}},KHc=function(){return[]},Q7=function(a,b,c,d,e,f,h,l,q,u,x,y,G,L){Z.call(this);var M=this;this.brain=a;this.issuePicker=b;this.issueRelationshipsFridge=c;this.issueFridge=d;this.router=e;this.routePerformance=f;this.element=h;this.analytics=l;this.issuePermissionService=q;this.activeSession=u;this.counts=x;this.matDialog=y;this.errorHandler=G;this.butterBar=L;this.recallFilters=jH("deps-filters");this.saveFilters=Pq("deps-filters");this.isThinking$=(0,C.combineLatest)([this.issueFridge.saving$,
this.issueRelationshipsFridge.saving$]).pipe(B(function(T){return T.some(Boolean)}));this.issueId$=this.brain.id$.pipe(Gf(nk),B(op));this.issue$=this.brain.issueJs$.pipe(Gf(nk));this.blockerIds$=this.issue$.pipe(B(function(T){var S,X,aa;return null!=(aa=null==(S=T.issue.snapshot[0])?void 0:null==(X=S.blockedByIssueId)?void 0:X.map(String))?aa:[]}));this.parentIds$=this.issue$.pipe(B(function(T){var S;return null!=(S=T.issue.parentIssueIds)?S:[]}));this.parentIssues$=this.parentIds$.pipe(cg(this.issueFridge.watchSet));
this.parentsCount$=this.parentIssues$.pipe(B(function(T){return T.filter(En).length}));this.blockersCount$=this.blockerIds$.pipe(cg(function(T){return 0===T.length?(0,C.of)(0):M.counts.blockersDualCount$.pipe(B(function(S){return S.total.count}))}));this.showBlockersTable$=this.blockersCount$.pipe(B(function(T){return 0<T}),bg(!0));this.childrenIds$=this.issueId$.pipe(cg(this.issueRelationshipsFridge.watch),B(function(T){var S;return null!=(S=null==T?void 0:T.relatedChildren.map(function(X){return X.targetIssueId}))?
S:[]}));this.totalDaysOpen$=this.issue$.pipe(B(function(T){var S,X;return(null==(S=Ura(T))?void 0:null==(X=S.effort)?void 0:X.totalOpen)||0}));this.totalDaysComplete$=this.issue$.pipe(B(function(T){var S,X;return(null==(S=Ura(T))?void 0:null==(X=S.effort)?void 0:X.totalComplete)||0}));this.unarchivedChildIssueCount$=this.childrenIds$.pipe(B(function(T){return T.length}));this.isTotalEstimatesEnabled=DE(this.activeSession,"enableAggregationRules");this.isNonPublicSession=this.activeSession.isNonPublicSession();
this.totalDaysCount$=(0,C.combineLatest)([this.totalDaysOpen$,this.totalDaysComplete$]).pipe(B(function(T){var S=m(T);T=S.next().value;S=S.next().value;return T+S}));this.totalDaysDisplayPercent$=cob(this.totalDaysComplete$,this.totalDaysCount$);this.progressHovercardContent$=(0,C.combineLatest)([this.totalDaysComplete$,this.totalDaysOpen$,this.totalDaysDisplayPercent$]).pipe(B(function(T){var S=m(T);T=S.next().value;var X=S.next().value;S=S.next().value;return dob(Math.round(100*T)/100)+" completed | "+
dob(Math.round(100*X)/100)+" open | "+S+"% completed"}));this.canEdit$=this.issuePermissionService.hasAclToEdit$;this.rowCreated$=new C.Subject;this.issueFilters=new YJ;this.ISSUE_FILTER_OPTIONS=[{key:Np.OPEN.key,title:Np.OPEN.displayAs,description:"Hides closed issues"},{key:Np.ASSIGNED_TO_ME.key,title:Np.ASSIGNED_TO_ME.displayAs,description:"Hides issues not assigned to me"}];(0,C.firstValueFrom)(j3a("b-issue-relations-table tr .mat-column-title a",this.element.nativeElement).pipe(dg((0,C.merge)(this.destroyed$,
this.rowCreated$)))).then(function(){var T=function(){Utc(M.routePerformance,"issue-details-w-tree")};requestAnimationFrame(T);setTimeout(T)}).catch(function(){});try{this.issueFilters.reset(this.recallFilters().filter(MFa))}catch(T){}this.subscriptions.add(this.issueFilters.value$.subscribe(function(T){M.saveFilters([].concat(r(T)))}))};W(Q7,Z);Q7.\u0275dir=Z.\u0275dir;
var Znb=function(a){var b,c;return of(function(d){if(1==d.nextAddress)return a.analytics.trackEvent(Mp.EDIT_ISSUE,"update","add-parent"),d.yield((0,C.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){LHc(a,c,e)}),0)})},LHc=function(a,b,c){var d=m(c).next().value,e,f,h,l;of(function(q){if(1==q.nextAddress)return(e=d)?q.yield(a.issueRelationshipsFridge.assignParentToOneIssue(e,
b),2):q.return();f=q.yieldResult;h=f.errors;return(null==(l=h)?0:l.length)?(XF(a.butterBar,"Could not add parent"),q.return()):q.yield(a.issueFridge.poke(b),0)})},Xnb=function(a){var b,c;return of(function(d){if(1==d.nextAddress)return a.analytics.trackEvent(Mp.EDIT_ISSUE,"update","add-blocker"),d.yield((0,C.firstValueFrom)(a.issue$),2);b=d.yieldResult;c=b.issue.issueId;return d.yield(a.issuePicker.open({title:"Add Blockers of "+c,allowMultipleIds:!0,edgeType:"blocker"},function(e){MHc(a,c,e)}),0)})};
Q7.prototype.addChild=function(){this.rowCreated$.next();var a;null==(a=this.relationsTable)||a.addExistingChild()};Q7.prototype.createChild=function(){this.rowCreated$.next();var a;null==(a=this.relationsTable)||a.createChildIssue()};var MHc=function(a,b,c){of(function(d){return 0===c.length?d.return():d.yield(CH(a.issueFridge,"ADD","BLOCKED_BY",b,c).catch(function(e){aG(a.errorHandler,e)}),0)})};
Q7.\u0275fac=function(a){return new (a||Q7)(A(HJ),A(SP),A(IH),A(BH),A(FG),A(O1),A(ke),A(wH),A(JJ),A(Vt),A(O7),A(IA),A(ZF),A(VF))};
Q7.\u0275cmp=p({type:Q7,selectors:[["b-issue-dependencies"]],viewQuery:function(a,b){a&1&&(ih(J7,5),ih(G7,5),ih(K7,5));if(a&2){var c;hh(c=kh())&&(b.relationsTable=c.first);hh(c=kh())&&(b.blockersTable=c.first);hh(c=kh())&&(b.parentsTable=c.first)}},features:[qg],decls:17,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",""],["addBlocker",""],["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",""],[1,"table-header","blockers-count","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"],[3,"issueId","filters","blockerIds",4,"ngIf","ngIfElse"],["noBlockersState",""],[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"],[3,"issueId","filters","blockerIds"],[1,"emoji"],[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","Mark an existing issue as blocker",1,"add",3,"disabled","onAction"],["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&&(E(0,"div",0),P(1,wnb,1,
0,"b-spinner",1),U(2,"async"),E(3,"select-menu",2),K("onChange",function(d){return b.issueFilters.reset(d)}),U(4,"async"),F(),E(5,"button",3),K("click",function(){b.matDialog.open(H7,{maxWidth:"1300px",width:"90%"})}),H(6,"mat-icon",4),F()(),P(7,Unb,52,55,"div",5),U(8,"async"),P(9,Wnb,1,1,"ng-template",null,6,qh),P(11,Ynb,3,3,"ng-template",null,7,qh),P(13,$nb,3,3,"ng-template",null,8,qh),P(15,bob,4,4,"ng-template",null,9,qh));if(a&2){var c;z(1);D("ngIf",V(2,6,b.isThinking$));z(2);D("options",b.ISSUE_FILTER_OPTIONS)("selectedOptions",
null!==(c=V(4,8,b.issueFilters.value$))&&void 0!==c?c:Wg(12,KHc))("showActionButtons",!1)("showActiveState",!0);z(4);D("ngIf",V(8,10,b.issueId$))}},dependencies:[yw,Dw,iK,nK,tA,jB,NC,cQ,P7,zM,G7,J7,K7,Ew,Kw],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,b-issue-dependencies b-blockers-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 R7=function(){};R7.\u0275fac=function(a){return new (a||R7)};R7.\u0275mod=od({type:R7});R7.\u0275inj=Wc({imports:[Mw,YC,iP,fU,OC,ID,RM]});var S7=function(){};S7.\u0275fac=function(a){return new (a||S7)};S7.\u0275mod=od({type:S7});S7.\u0275inj=Wc({imports:[Uy,Ky,ty,Mw,wx,JN,YC,NA,OC,IT,vO,yN,ID,xx,LG,iT,dO,DT,FP,JT,fO,R7,hP,PP,bN]});var NHc={BLOCKED_BY_ISSUES:"blocked_by",PARENT_ISSUES:"parent"},T7=function(a,b){Z.call(this);var c=this;this.issueFridge=a;this.router=b;this.STATUS_TERSE=cF;this.URLS=Ht;this.ListIssuesHovercardMode=NHc;this.mode="blocked_by";this.currentIssueId="";this.issueIds$=new C.ReplaySubject(1);this.init=new C.ReplaySubject(1);this.issues$=this.issueIds$.pipe(Gf(nk),cg(this.issueFridge.watchSet),B(function(d){return"parent"===c.mode?d.filter(En):d.filter(Dn)}))};W(T7,Z);T7.\u0275dir=Z.\u0275dir;
T7.prototype.convertIssueStatusStrToTag=function(a){return rl[a]};T7.prototype.priorityClass=function(a){switch(a){case "P0":return"high p0";case "P1":return"high";default:return"low"}};var job=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=m(c.entries()),f=e.next();!f.done;f=e.next()){var h=m(f.value);f=h.next().value;h=h.next().value;d+=h;d=f<c.length-1?d+"|":d+")"}a.router.navigate([Ht.ISSUE_LIST],{queryParams:{q:d}})})};
T7.prototype.ngOnInit=function(){var a=this;this.issues$.pipe(dg(this.destroyed$)).subscribe(function(){a.init.next()})};Xi.Object.defineProperties(T7.prototype,{issueIds:{configurable:!0,enumerable:!0,set:function(a){this.issueIds$.next(a)}}});T7.\u0275fac=function(a){return new (a||T7)(A(BH),A(FG))};
T7.\u0275cmp=p({type:T7,selectors:[["b-list-issues-card"]],inputs:{mode:"mode",currentIssueId:"currentIssueId",issueIds:"issueIds",hovercardInstance:"hovercardInstance"},outputs:{init:"init"},features:[qg],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&&(E(0,"div",0),P(1,eob,5,3,"div",1),P(2,fob,5,3,"div",1),P(3,mob,4,3,"div",2),U(4,"async"),
F());a&2&&(z(1),D("ngIf",b.mode===b.ListIssuesHovercardMode.PARENT_ISSUES),z(1),D("ngIf",b.mode===b.ListIssuesHovercardMode.BLOCKED_BY_ISSUES),z(1),D("ngIf",V(4,3,b.issues$)))},dependencies:[ww,xw,yw,jB,HG,tA,Ew],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 U7=function(a,b){this.issueDigestsApi=a;this.paths=b;this.ancestors=new Map;this.issueId="";this.ListIssuesHovercardMode=NHc;this.reorderedAncestors=[];this.issueIdToTitle=new Map;this.multiParentIssueIds=[]};U7.prototype.ngOnChanges=function(a){var b=this;a.ancestors&&OHc(this).then(function(c){b.issueIdToTitle=c})};U7.prototype.getIssueLink=function(a){return this.paths.editIssue(a)};
var OHc=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,C.firstValueFrom)(a.issueDigestsApi.getAll(new Set(a.reorderedAncestors)).pipe(B(function(c){var d=new Map;c=m(c);for(var e=c.next();!e.done;e=c.next())e=e.value,d.set(e.issueId,e.title);return d})))};
U7.\u0275fac=function(a){return new (a||U7)(A(f7),A(NG))};
U7.\u0275cmp=p({type:U7,selectors:[["ancestors-breadcrumbs"]],inputs:{ancestors:"ancestors",issueId:"issueId"},features:[Hd],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&&(H(0,"mat-icon",0),P(1,pob,7,4,"ng-container",1),P(2,qob,4,5,"ng-container",2));a&2&&(z(1),D("ngIf",1<b.multiParentIssueIds.length),z(1),D("ngForOf",b.reorderedAncestors))},dependencies:[xw,yw,jB,rM,iK,jK,nK,kK,T7],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 V7=function(a,b,c){var d=this;this.componentFridge=a;this.issueEditComponentService=b;this.currentTracker=c;this.componentId$=new C.ReplaySubject(1);this.viewOnly=!1;this.compactMode$=new C.BehaviorSubject(!1);this.editing=!1;this.component$=this.componentId$.pipe(cg(function(e){return d.componentFridge.watch(e).pipe(bg(void 0))}));this.isArchived$=this.component$.pipe(B(function(e){return null==e?void 0:e.archived}));this.componentPath$=(0,C.combineLatest)([this.componentId$,this.component$,
this.compactMode$]).pipe(B(function(e){var f=m(e);e=f.next().value;var h=f.next().value;f=f.next().value;if(null==h)return kr({componentPathId:[Number(e)]});e=oL(d.currentTracker,h.componentPathInfo);e=kr(e);if(f){f=[];h=0;for(var l=e.length-1;0<=l;l--){var q=e[l],u=l===e.length-1?48:32;if(h>=u)break;var x=String(q.name),y=void 0;if(h+[].concat(r(x)).length>u){var G=u-h;u="";x=void 0===x?"":x;G=void 0===G?48:G;u=void 0===u?"...":u;y=[].concat(r(x));y.length<=G||(x=G-[].concat(r(u)).length,x=y.slice(-x).join(""),
null!=String.prototype.trimStart&&(x=x.trimStart()),x=u+x);y=!0}h+=[].concat(r(x)).length;f.unshift(Object.assign({},q,{name:x,isTruncated:y}));if(y)break}e.length>f.length&&(f[0].isSpliced=!0);e=f}return e}));this.isEmpty$=this.component$.pipe(B(function(e){return!e}));this.isThinkingAndEmpty$=(0,C.combineLatest)([this.componentFridge.thinking$,this.isEmpty$]).pipe(B(function(e){var f=m(e);e=f.next().value;f=f.next().value;return e&&f}));this.isReady$=this.isThinkingAndEmpty$.pipe(B(function(e){return!e}))};
V7.prototype.ngOnInit=function(){};Xi.Object.defineProperties(V7.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)}}});V7.\u0275fac=function(a){return new (a||V7)(A(xF),A(HQ),A(mL))};
V7.\u0275cmp=p({type:V7,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","matTooltip","View Component","target","_blank",3,"routerLinkObj",4,"ngIf"],[1,"component-path"],[4,"ngFor","ngForOf"],["href","javascript:void(0);","title","Show all Components","class","subtle-link",3,"click",4,"ngIf"],["class","subtle-link",3,"routerLinkObj","onedevHovercardTrigger","muted",4,"ngIf","ngIfElse"],["viewOnlyComponent",""],["card",""],[4,"onedevHovercardLazyBody"],
["href","javascript:void(0);","title","Show all Components",1,"subtle-link",3,"click"],[1,"subtle-link",3,"routerLinkObj","onedevHovercardTrigger"],[1,"view-only-component"],[3,"onedevIsHovercardReady","componentId"],["cardBody",""],["mat-icon-button","","aria-label","Change Component","matTooltip","Change Component",1,"edit-btn",3,"click"],["svgIcon","edit-outline",1,"icon-xxs"],["mat-icon-button","","aria-label","View Component","matTooltip","View Component","target","_blank",1,"gmat-button","small",
"pop-out-btn",3,"routerLinkObj"],["svgIcon","pop-out",1,"icon-xs"],["placeholder","Choose Component",3,"selectedComponent","isRequired","shouldFocus","selectedComponentChange","dropdownClosed"]],template:function(a,b){a&1&&(P(0,Dob,10,12,"b-async-data-placeholder",0),P(1,Fob,2,5,"ng-template",null,1,qh));if(a&2){var c=O(2);D("ngIf",!b.editing)("ngIfElse",c)}},dependencies:[dL,xw,yw,tA,uA,jB,nV,iK,jK,nK,kK,NC,Y6,bO,Ew],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 W7=function(a,b,c){this.issueFridge=a;this.hotlistFridge=b;this.hotlistPicker=c;this.issueId$=new C.ReplaySubject(1);this.issue$=this.issueId$.pipe(cg(this.issueFridge.watch));this.hotlistsOnIssue$=this.issue$.pipe(B(function(d){var e;return null!=(e=null==d?void 0:d.snapshot[0].hotlistId)?e:[]}));this.count$=this.hotlistsOnIssue$.pipe(B(function(d){return null==d?void 0:d.length}),bg(0));this.label$=this.count$.pipe(B(function(d){return 0<d?"Hotlists ("+d+")":"Hotlists"}));this.isDisabled$=this.hotlistFridge.saving$;
this.HOTKEYS=MM};W7.prototype.onClick=function(){ghc(this.hotlistPicker,this.issue$)};Xi.Object.defineProperties(W7.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(String(a))}}});W7.\u0275fac=function(a){return new (a||W7)(A(BH),A(hH),A(xU))};
W7.\u0275cmp=p({type:W7,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&&(E(0,"button",0),K("onHotkey",function(){return b.onClick()})("click",function(){return b.onClick()}),U(1,"async"),Q(2),U(3,"async"),F());a&2&&(D("hotkey",b.HOTKEYS.OPEN_HOTLIST_PICKER)("disabled",V(1,3,b.isDisabled$)),z(2),R(" ",V(3,5,b.label$),"\n"))},dependencies:[LM,tA,
Ew],encapsulation:2});var X7=function(){this.availablePanels=new Set;this.iconOnly=!1;this.buttonClassname="";this.openSidebar=new Rv};X7.\u0275fac=function(a){return new (a||X7)};
X7.\u0275cmp=p({type:X7,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&&(E(0,"button",0),K("click",function(){b.openSidebar.emit({panel:void 0})}),Sd(),E(1,"svg",1)(2,"g",2),H(3,"path",3)(4,"path",4)(5,"path",5)(6,"circle",6)(7,"circle",7)(8,"circle",8)(9,"circle",9)(10,"circle",10)(11,"circle",11)(12,"circle",12),F()(),P(13,Gob,2,0,"ng-container",13),F());a&2&&(Fg("icon-only-mode",b.iconOnly),
D("ngClass",b.buttonClassname)("disabled",0===b.availablePanels.size),z(13),D("ngIf",!b.iconOnly))},dependencies:[ww,yw,tA],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 PHc=new Bd("DevopsGraphLogger",{providedIn:"root",factory:function(){return sj}}),QHc=new Bd("DEV_GRAPH",{providedIn:"root",factory:function(){var a;return of(function(b){switch(b.nextAddress){case 1:return pf(b,2),b.yield(Hob(),4);case 4:a=b.yieldResult;au(b,3);break;case 2:return sf(b),b.return();case 3:return pf(b,5),b.yield(a.loadGraph(),7);case 7:au(b,6);break;case 5:return sf(b),b.return();case 6:return b.return(google.corp.devops.tools.graph)}})}});var Y7=function(a,b,c,d){var e=this;this.session=a;this.theme=b;this.logger=c;this.graphBuilder=d;this.open$=new C.Subject;this.close$=new C.Subject;this.getContainer=function(){return document.getElementById("graph-sidebar-host")};this.onGraphClose=function(){var f=e.getContainer();null!=f&&(f.classList.remove("open"),e.close$.next())};this.onGraphOpen=function(){var f=e.getContainer();null!=f&&(f.classList.add("open"),e.open$.next())};this.init()};
Y7.prototype.init=function(){var a=this,b,c,d,e,f;return of(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=Iob(a.session.getEnvironmentType());if(e=c.createService({environment:d}))f=a.theme.clientDarkmodeSubject.getValue(),a.graphService=e,a.graphController=e.createController({element:b,onClose:a.onGraphClose,onOpen:a.onGraphOpen,theme:f?"dark":void 0}),a.theme.clientDarkmode$.subscribe(function(l){var q;
null==(q=a.graphController)||q.setTheme(l?"dark":"light")});tf(h)})};var RHc=function(a,b){var c;return of(function(d){switch(d.nextAddress){case 1:return pf(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:au(d,0);break;case 2:return c=sf(d),a.logger(c),d.return(new Set)}})};
Y7.prototype.openSidebar=function(a,b){var c=this,d;return of(function(e){switch(e.nextAddress){case 1:return e.yield(c.init(),2);case 2:if(!c.graphController)return e.return();pf(e,3);return e.yield(c.graphController.openIssueContext(Number(a),b),5);case 5:au(e,0);break;case 3:d=sf(e),c.logger(d),tf(e)}})};
Y7.prototype.close=function(){var a=this,b;return of(function(c){switch(c.nextAddress){case 1:return c.yield(a.init(),2);case 2:if(!a.graphController)return c.return();pf(c,3);return c.yield(a.graphController.close(),5);case 5:au(c,0);break;case 3:b=sf(c),a.logger(b),tf(c)}})};Y7.\u0275fac=function(a){return new (a||Y7)(n(Vt),n(qQ),n(PHc),n(QHc))};Y7.\u0275prov=Vc({token:Y7,factory:Y7.\u0275fac,providedIn:"root"});var Z7=function(a,b,c,d,e,f,h){Z.call(this);var l=this;this.devopsGraph=a;this.paramsService=b;this.analytics=c;this.butterBar=d;this.router=e;this.route=f;this.activeSession=h;this.id$=this.paramsService.issueId$;this.contexts$=this.id$.pipe(cg(function(q){return of(function(u){return null!=l.devopsGraph.getContainer()&&q?u.return(RHc(l.devopsGraph,q).then(function(x){return{issueId:q,availablePanels:x}})):u.return(void 0)})}),$f({refCount:!1,bufferSize:1}));this.availablePanels$=this.contexts$.pipe(B(function(q){return q?
q.availablePanels:new Set}));this.shouldShowInsightsGraphMenu$=this.contexts$.pipe(B(function(q){return!!q&&0<q.availablePanels.size&&l.activeSession.isInternalSession()&&null!=l.devopsGraph.getContainer()}));this.shouldShowInsightsGraphButton$=this.contexts$.pipe(B(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 u=l.paramsService.params.showInsights;u&&("default"===u?0<q.size?l.openSidebar():XF(l.butterBar,"Could not open Insights Sidebar: no data for this issue. See go/g3g-guide-buganizer."):q.has(u)?l.openSidebar(u):XF(l.butterBar,"Could not open "+u+" Insights Sidebar: no data for this issue. See go/g3g-guide-buganizer."))}else l.devopsGraph.close()}));this.subscriptions.add(this.devopsGraph.close$.subscribe(function(){SHc(l,
null)}))};W(Z7,Z);Z7.\u0275dir=Z.\u0275dir;Z7.prototype.openSidebar=function(a){var b=this,c,d,e,f;return of(function(h){c=Zo(b.contexts$);if(!c)return h.return();d=c;e=d.issueId;SHc(b,null!=(f=a)?f:"default");return h.return(b.devopsGraph.openSidebar(e,{panel:a}))})};Z7.prototype.track=function(a){this.analytics.trackEvent("sidebar",a)};var SHc=function(a,b){a.router.navigate([],{relativeTo:a.route,queryParams:{showInsights:b},queryParamsHandling:"merge",replaceUrl:!0,preserveFragment:!0})};
Z7.\u0275fac=function(a){return new (a||Z7)(n(Y7),n(xJ),n(wH),n(VF),n(FG),n(so),n(Vt))};Z7.\u0275prov=Vc({token:Z7,factory:Z7.\u0275fac,providedIn:"root"});var $7=function(a){this.issueInsightsSidebarService=a;this.iconOnly=!1;this.buttonClassname="";this.availablePanels$=this.issueInsightsSidebarService.availablePanels$;this.shouldShowInsightsGraphMenu$=this.issueInsightsSidebarService.shouldShowInsightsGraphMenu$};$7.prototype.openSidebar=function(a){this.issueInsightsSidebarService.openSidebar(a)};$7.\u0275fac=function(a){return new (a||$7)(A(Z7))};
$7.\u0275cmp=p({type:$7,selectors:[["insights-graph-menu-smart"]],inputs:{iconOnly:"iconOnly",buttonClassname:"buttonClassname"},decls:2,vars:3,consts:[[4,"ngIf"],[3,"availablePanels","iconOnly","buttonClassname","openSidebar",4,"ngIf"],[3,"availablePanels","iconOnly","buttonClassname","openSidebar"]],template:function(a,b){a&1&&(P(0,Kob,3,3,"ng-container",0),U(1,"async"));a&2&&D("ngIf",V(1,1,b.availablePanels$))},dependencies:[yw,X7,Ew],encapsulation:2,changeDetection:0});var THc=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()}}}},UHc=function(a,b){return b.isInternal?{type:"action",label:"Request issue deletion...",title:"Request issue deletion",action:function(){a.requestIssueDeletion()}}:void 0},VHc=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)}}},WHc=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 a8=function(){this.label=""};a8.prototype.toggle=function(){this.hovercardTrigger&&this.hovercardTrigger.toggle(!this.hovercardTrigger.isExpanded())};a8.\u0275fac=function(a){return new (a||a8)};
a8.\u0275cmp=p({type:a8,selectors:[["help-hover"]],viewQuery:function(a,b){a&1&&ih(nK,5);if(a&2){var c;hh(c=kh())&&(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&&(E(0,"onedev-hovercard",null,0)(2,"div",1)(3,"div",2),
P(4,Mob,2,1,"ng-container",3),F()()(),H(5,"mat-icon",4));if(a&2){var c=O(1);z(2);ug("aria-label",b.label);z(2);D("ngIf",b.content);z(1);D("onedevHovercardTrigger",c)}},dependencies:[yw,Dw,jB,iK,nK],encapsulation:2});var b8=function(){};b8.\u0275fac=function(a){return new (a||b8)};b8.\u0275mod=od({type:b8});b8.\u0275inj=Wc({imports:[Mw,OC,JN]});var c8=function(a,b,c,d,e,f,h,l,q){Z.call(this);this.issueFridge=a;this.issuePermissionService=b;this.activeSession=c;this.appEvents=d;this.issueArchiveService=e;this.domSafe=f;this.editIssueService=h;this.matDialogService=l;this.analytics=q;this.issueId$=new C.ReplaySubject(1);this.HOTKEYS=MM;this.issue$=this.issueId$.pipe(cg(this.issueFridge.watch));this.issueDerivedProperties$=this.issue$.pipe(B(function(u){var x,y,G,L,M,T,S;return{modifiedTimeMilliseconds:null!=(null==u?void 0:null==(x=u.aggregatedData)?
void 0:x.modifiedTimeMicros)?u.aggregatedData.modifiedTimeMicros/1E3:void 0,voted:null!=(T=null==u?void 0:null==(y=u.userData)?void 0:y.voted)?T:!1,voteCount:null!=(S=null==u?void 0:null==(G=u.aggregatedData)?void 0:G.voteCount)?S:0,notificationSubscription:kk(null==u?void 0:null==(L=u.userData)?void 0:L.notificationSubscription),retentionState:null==u?void 0:null==(M=u.aggregatedData)?void 0:M.retentionState}}));this.menuItems$=XHc(this);this.state$=(0,C.combineLatest)([this.issueId$,this.issueDerivedProperties$,
this.menuItems$]).pipe(B(function(u){var x=m(u);u=x.next().value;var y=x.next().value;x=x.next().value;return Object.assign({},{issueId:u},y,{menuItems:x})}))};W(c8,Z);c8.\u0275dir=Z.\u0275dir;g=c8.prototype;g.updateSubscription=function(a){var b=this,c;return of(function(d){if(1==d.nextAddress)return(c=Zo(b.issueId$))?d.yield(b.editIssueService.updateSubscription(c,a),2):d.return();b.analytics.trackEvent(Mp.EDIT_ISSUE,"updateSubscription",a);tf(d)})};
g.showNotificationSettings=function(a){this.appEvents.topBarEvents.openSettings.next({newTab:a.ctrlKey||a.metaKey,settingsTabName:"notifications"})};g.showIndefiniteRetentionDialog=function(a){var b=this,c;return of(function(d){return 1==d.nextAddress?b.editIssueService.savingState(a).get("retention")?d.return():d.yield((0,C.firstValueFrom)(DA(b.matDialogService.open(MQ,{maxWidth:560}))),2):(c=d.yieldResult)?d.yield(b.editIssueService.updateIssueRetention(a,"INDEFINITE"),0):d.jumpTo(0)})};
g.showComponentRetentionDialog=function(a){var b=this,c;return of(function(d){return 1==d.nextAddress?b.editIssueService.savingState(a).get("retention")?d.return():d.yield((0,C.firstValueFrom)(DA(b.matDialogService.open(IQ,{maxWidth:560}))),2):(c=d.yieldResult)?d.yield(b.editIssueService.updateIssueRetention(a,"COMPONENT_DEFAULT"),0):d.jumpTo(0)})};
g.showFlagAsSpamDialog=function(a){var b=this,c;return of(function(d){return 1==d.nextAddress?d.yield((0,C.firstValueFrom)(DA(b.matDialogService.open(LQ,{maxWidth:560}))),2):(c=d.yieldResult)?d.yield(B1b(b.editIssueService,String(a)),0):d.jumpTo(0)})};
var XHc=function(a){var b={requestIssueDeletion:function(){a.domSafe.openInNewTab(kIa(a.activeSession.isInternalSession()))},showIndefiniteRetentionDialog:function(){var c=Zo(a.issueId$);c&&a.showIndefiniteRetentionDialog(c)},showComponentRetentionDialog:function(){var c=Zo(a.issueId$);c&&a.showComponentRetentionDialog(c)},submitArchivalState:function(c){var d=Zo(a.issueId$);d&&a.issueArchiveService.submitArchivalState(d,c)},showFlagAsSpamDialog:function(){var c=Zo(a.issueId$);c&&a.showFlagAsSpamDialog(c)}};
return(0,C.combineLatest)([a.issue$,a.issuePermissionService.userIsComponentAdmin$,a.issuePermissionService.issuePermissions$]).pipe(B(function(c){var d=m(c);c=d.next().value;var e=d.next().value,f;d={permissions:d.next().value,accessLevel:zxa(c),isArchived:null!=(f=null==c?void 0:c.isArchived)?f:!1,isDeleted:xxa(c),isInternal:a.activeSession.isInternalSession(),isComponentAdmin:e,retentionOverride:Cxa(c),retentionState:Fxa(c)};return[VHc(b,d),WHc(b,d),UHc(b,d),THc(b,d)].filter(nk)}))};
Xi.Object.defineProperties(c8.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)}}});c8.\u0275fac=function(a){return new (a||c8)(A(BH),A(JJ),A(Vt),A(cG),A(eQ),A(PK),A(bK),A(IA),A(wH))};
c8.\u0275cmp=p({type:c8,selectors:[["issue-actions"]],viewQuery:function(a,b){a&1&&ih(a8,5);if(a&2){var c;hh(c=kh())&&(b.helpHover=c.first)}},inputs:{issueId:"issueId"},features:[qg],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&&(P(0,Rob,15,13,"ng-container",0),U(1,"async"));a&2&&D("ngIf",V(1,1,b.state$))},dependencies:[xP,xw,yw,a8,LM,$7,tA,jB,FC,DC,EC,NC,n1,d0,c0,FU,W7,Ew],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 d8=function(a,b,c,d,e,f,h,l,q){Z.call(this);var u=this;this.issueDetailsBrain=a;this.issuePagination=b;this.issueFridge=c;this.componentFridge=d;this.issueInteractionsTracking=e;this.bLocation=f;this.paths=h;this.refreshMonitor=l;this.butterBar=q;this.internalSearchResults$=new C.BehaviorSubject(null);this.searchResults$=this.internalSearchResults$.pipe(Qf(),cg(function(x){return x?x.changed$:(0,C.of)(null)}));this.issueIds$=this.searchResults$.pipe(B(function(x){var y;return null!=(y=null==x?
void 0:x.issues.map(function(G){return G.id}).map(op))?y:[]}),Qf(Fj));this.issues$=this.issueIds$.pipe(cg(function(x){return(0,C.combineLatest)(x.map(function(y){return u.issueFridge.watch(y,{trustUncertainMemory:!0})}))}),cg(function(x){return(0,C.combineLatest)(x.map(function(y){return u.componentFridge.watch(String(null==y?void 0:y.snapshot[0].componentId),{trustUncertainMemory:!0}).pipe(B(function(G){return{issue:y,component:G}}))}))}));this.issueId$=this.issueDetailsBrain.id$;this.totalText$=
this.searchResults$.pipe(B(function(x){var y;return null!=(y=null==x?void 0:x.totalText)?y:""}));this.backNavigationLabel$=this.searchResults$.pipe(B(function(x){return(null==x?0:x.params.returnUrl)?"Back to previous search":"Go home"}));this.issueIndex$=(0,C.combineLatest)([this.searchResults$,this.issueId$]).pipe(B(function(x){var y=m(x);x=y.next().value;y=y.next().value;var G;return null!=(G=y&&(null==x?void 0:NW(x,y)))?G:-1}));this.hasPreviousIssue$=(0,C.combineLatest)([this.searchResults$,this.issueId$]).pipe(B(function(x){var y=
m(x);x=y.next().value;y=y.next().value;var G;if(G=y)null==x?x=0:(y=NW(x,y),x=null==y||-1===y?!1:y>x.startIndex||1<x.params.page),G=x;return!!G}));this.hasNextIssue$=(0,C.combineLatest)([this.searchResults$,this.issueId$]).pipe(B(function(x){var y=m(x);x=y.next().value;y=y.next().value;var G;if(G=y)null==x?x=0:(y=NW(x,y),x=null==y||-1===y?!1:y<x.endIndex||x.params.page<x.numPages),G=x;return!!G}));this.subscriptions.add(this.refreshMonitor.getObservable().subscribe(function(){YHc(u)}));this.subscriptions.add(this.issueDetailsBrain.id$.subscribe(function(x){u.issueId=
x;YHc(u)}));this.subscriptions.add(this.issues$.subscribe(function(x){var y=u.internalSearchResults$.value;y&&nkc(y,x.filter(function(G){var L=G.component;return G.issue&&L}))}))};W(d8,Z);d8.\u0275dir=Z.\u0275dir;
var ZHc=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)},Vob=function(a){var b=Zo(a.hasNextIssue$),c=Zo(a.issueIndex$);b&&c&&$Hc(a,c+1)},Uob=function(a){var b=Zo(a.hasPreviousIssue$),c=Zo(a.issueIndex$);b&&c&&$Hc(a,c-1)},YHc=function(a){var b,c,d;of(function(e){if(1==e.nextAddress)return e.yield(ukc(a.issuePagination).catch(Sob),2);b=e.yieldResult;
a.internalSearchResults$.next(null!=(c=b)?c:null);if(!b||!a.issueId)return e.return();d=NW(b,a.issueId);return-1===d?e.jumpTo(0):e.yield(vkc(a.issuePagination,d).catch(Sob),0)})},$Hc=function(a,b){vkc(a.issuePagination,b).then(function(c){a.bLocation.url(a.paths.editIssue(c))},function(){XF(a.butterBar,"Can't find issue id for index '"+b+"'")})};d8.\u0275fac=function(a){return new (a||d8)(n(HJ),n(OW),n(BH),n(xF),n(FJ),n(MG),n(NG),n(zH),n(VF))};d8.\u0275prov=Vc({token:d8,factory:d8.\u0275fac,providedIn:"root"});var Wob=function(a){return{"invisible zero-width":a}},e8=function(a){this.currentSearchResults=a;this.HOTKEYS=MM};e8.\u0275fac=function(a){return new (a||e8)(A(d8))};
e8.\u0275cmp=p({type:e8,selectors:[["b-pagination-one-issue"]],decls:2,vars:3,consts:[[4,"ngIf"],[3,"ngClass"],["mat-icon-button","","matTooltip","Previous Issue","aria-label","Previous Issue",1,"gmat-button","medium",3,"hotkey","disabled","onHotkey","click"],["svgIcon","arrow-left",1,"icon-l"],["mat-icon-button","","matTooltip","Next Issue","aria-label","Next Issue",1,"gmat-button","medium",3,"hotkey","disabled","onHotkey","click"],["svgIcon","arrow-right",1,"icon-l"]],template:function(a,b){a&1&&
(P(0,Xob,9,12,"ng-container",0),U(1,"async"));a&2&&D("ngIf",V(1,1,b.currentSearchResults.issueIndex$))},dependencies:[ww,yw,LM,tA,jB,NC,Ew],styles:["[_nghost-%COMP%]{display:inline-block;color:#5f6368;color:var(--muted);white-space:nowrap}.bv2-material   [_nghost-%COMP%]     button.mat-icon-button:not(.mat-primary):not([disabled]){color:#5f6368;color:var(--muted)}output[_ngcontent-%COMP%]{font-weight:500}[mat-icon-button][_ngcontent-%COMP%]{margin-left:-4px}[_nghost-%COMP%]   span.zero-width[_ngcontent-%COMP%]   *[_ngcontent-%COMP%]{width:0}\n/*# sourceMappingURL=pagination_one_issue.css.map */"],
changeDetection:0});var f8=function(a,b,c,d,e,f,h,l,q,u){Z.call(this);var x=this;this.errorHandler=a;this.issueApi=b;this.issueFridge=c;this.issuePermissionService=d;this.snackBar=e;this.dialogRef=f;this.data=h;this.analytics=l;this.activeSession=q;this.confirmationDialogService=u;this.defaultAccessLimitLevel="LIMIT_NONE";this.writers=[];this.appenders=[];this.readers=[];this.showImplicitAccessIndicator$=this.issuePermissionService.showImplicitAccessIndicator$;this.hasAclToAdmin$=this.issuePermissionService.hasAclToAdmin$;
this.issueId=this.data.issueId;this.issue$=this.issueFridge.watch(this.issueId);this.currentAccessLimitLevel$=this.issue$.pipe(B(function(y){var G;return null!=(G=null==y?void 0:y.snapshot[0].issueAccessLimitLevel)?G:x.defaultAccessLimitLevel}));this.updatedAccessLimitLevel$=new C.BehaviorSubject(this.defaultAccessLimitLevel);this.hasSelectionChanged$=(0,C.combineLatest)([this.currentAccessLimitLevel$,this.updatedAccessLimitLevel$]).pipe(B(function(y){var G=m(y);y=G.next().value;G=G.next().value;
return y!==G}));this.expandedAccessTooltip$=this.showImplicitAccessIndicator$.pipe(B(function(y){return y?"This component has expanded access enabled. Verifiers and assignees 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(){x.snackBar.open("Successfully saved access level",void 0,{duration:2500});x.issueFridge.poke(x.issueId)};this.currentUserEmail=
q.getUserEmail()};W(f8,Z);f8.\u0275dir=Z.\u0275dir;f8.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.currentAccessLimitLevel$.subscribe(function(b){a.updatedAccessLimitLevel$.next(b);aIc(a,b)}))};
var bIc=function(a){return a?"Expanded access on":"Expanded access off"},cIc=function(a,b){return b&&(DE(a.activeSession,"enableIssueAccessLimits")||a.activeSession.getIssueAccessLimitsComponentAllowlist().has(a.data.componentId))},aIc=function(a,b){a.issueApi.getRetainedAccessPrincipals(a.issueId,b).then(function(c){a.writers=wk(c.writers);a.appenders=wk(c.appenders);a.readers=wk(c.readers)},function(c){aG(a.errorHandler,c)})};g=f8.prototype;
g.manageComponentAccessRouterLink=function(a){return{path:"/components/"+a+"/manage",fragment:"access"}};g.closeDialog=function(){this.dialogRef.close()};g.onEnter=function(){this.onPressSave()};g.onEscape=function(){this.dialogRef.close()};
g.onPressSave=function(){var a=this,b=vk({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:jp(c),onConfirm:function(){a.save()}})}};g.save=function(){var a=this;this.dialogRef.close();this.issueApi.updateAccessLimit(this.issueId,kk(this.updatedAccessLimitLevel$.value)).then(function(b){a.didSave(b);a.analytics.trackEvent(Mp.ISSUE_ACCESS_LIMITS,"update","issue_access_limits_dialog:"+a.updatedAccessLimitLevel$.value)},function(b){aG(a.errorHandler,b)})};g.onPressCancel=function(){this.dialogRef.close()};
f8.\u0275fac=function(a){return new (a||f8)(A(ZF),A(PE),A(BH),A(JJ),A(SF),A(FA),A(HA),A(wH),A(Vt),A(UI))};
f8.\u0275cmp=p({type:f8,selectors:[["b-issue-access-limits-dialog"]],hostBindings:function(a,b){a&1&&K("keydown.escape",function(){return b.onEscape()})},features:[qg],decls:35,vars:40,consts:[[1,"bv2-issue-limits-title"],[1,"lock-circle"],["svgIcon","lock","color","text-primary"],[1,"issue-limits-dialog-title-txt"],[3,"issueId","componentId","compactMode","popoutLink","viewOnly"],[1,"expanded-access"],[1,"expanded-access-txt"],["svgIcon","help-outline","tabindex","0","aria-hidden","false",1,"icon-s",
"valign-middle",3,"matTooltip"],[3,"disabled","defaultAccessLimitLevel","implicitAccessEnabled","updatedAccessLimitLevel"],[1,"limit-users-title"],["idForInputBox","Issue Editors","ariaLabel","Issue Editors",3,"users","includeAliases","includeViewAliases"],["idForInputBox","Issue Contributors","ariaLabel","Issue Contributors",3,"users","includeAliases","includeViewAliases"],["idForInputBox","Issue Viewers","ariaLabel","Issue Viewers",3,"users","includeAliases","includeViewAliases"],["mat-dialog-actions",
""],[4,"ngIf","ngIfElse"],["closeButton",""],["mat-button","",1,"gmat-button","medium","cancel",3,"click"],["mat-flat-button","","color","primary",1,"gmat-button","medium","confirm",3,"disabled","click"],["mat-button","",1,"gmat-button","medium","close",3,"click"]],template:function(a,b){a&1&&(E(0,"div",0)(1,"span",1),H(2,"mat-icon",2),F(),E(3,"h1",3),Q(4,"Issue access level"),F()(),E(5,"div"),H(6,"b-component-breadcrumb-chip",4),E(7,"span",5),U(8,"async"),E(9,"span",6),Q(10),U(11,"async"),F(),H(12,
"mat-icon",7),U(13,"async"),F()(),E(14,"b-issue-access-limits-dropdown",8),K("updatedAccessLimitLevel",function(l){b.updatedAccessLimitLevel$.next(l);aIc(b,l)}),U(15,"async"),U(16,"async"),U(17,"async"),F(),E(18,"div")(19,"div",9),Q(20,"Users who can edit, comment, and view"),F(),H(21,"b-multi-user-input",10),F(),E(22,"div")(23,"div",9),Q(24,"Users who can comment and view"),F(),H(25,"b-multi-user-input",11),F(),E(26,"div")(27,"div",9),Q(28,"Users who can only view"),F(),H(29,"b-multi-user-input",
12),F(),E(30,"div",13),P(31,Yob,6,3,"ng-container",14),U(32,"async"),P(33,Zob,2,0,"ng-template",null,15,qh),F());if(a&2){var c=O(34),d,e,f,h;z(6);D("issueId",b.issueId)("componentId",b.data.componentId)("compactMode",!0)("popoutLink",b.manageComponentAccessRouterLink)("viewOnly",!0);z(1);Fg("expanded-access-on",V(8,26,b.showImplicitAccessIndicator$));z(3);Sg(bIc(null!==(d=V(11,28,b.showImplicitAccessIndicator$))&&void 0!==d?d:!1));z(2);D("matTooltip",null!==(e=V(13,30,b.expandedAccessTooltip$))&&
void 0!==e?e:"");z(2);D("disabled",!cIc(b,V(15,32,b.hasAclToAdmin$)))("defaultAccessLimitLevel",null!==(f=V(16,34,b.currentAccessLimitLevel$))&&void 0!==f?f:b.defaultAccessLimitLevel)("implicitAccessEnabled",null!==(h=V(17,36,b.showImplicitAccessIndicator$))&&void 0!==h?h:!1);z(7);D("users",b.writers)("includeAliases",!1)("includeViewAliases",!1);ug("disabled",!0);z(4);D("users",b.appenders)("includeAliases",!1)("includeViewAliases",!1);ug("disabled",!0);z(4);D("users",b.readers)("includeAliases",
!1)("includeViewAliases",!1);ug("disabled",!0);z(2);D("ngIf",cIc(b,V(32,38,b.hasAclToAdmin$)))("ngIfElse",c)}},dependencies:[J_,yw,V7,tA,MA,jB,NC,o0,Ew],styles:[".issue-limits-dialog-title-txt[_ngcontent-%COMP%]{padding:0 20px;font-size:1.4rem;line-height:2rem}.limit-users-title[_ngcontent-%COMP%]{font-weight:400;color:#202124;color:var(--text-default);padding-bottom:5px}.bv2-issue-limits-title[_ngcontent-%COMP%]{display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;font-weight:400;padding:20px 0 28px}.limit-option[_ngcontent-%COMP%]{padding:10px 0}.limit-option[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg);cursor:pointer}.limit-title[_ngcontent-%COMP%]{padding:0 20px;white-space:nowrap}.selected-limit-title[_ngcontent-%COMP%]{padding:0 5px 0 10px;color:#202124;color:var(--text-default);font-size:small}.limit-description[_ngcontent-%COMP%]{padding:0 40px}.limit-description[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted)}b-component-breadcrumb-chip[_ngcontent-%COMP%]{margin-right:16px}.expanded-access[_ngcontent-%COMP%]{border:1px solid;border-color:#dadce0;border-color:var(--divider);border-color:#c5221f;border-color:var(--text-bad);border-radius:3px;padding:5px;background-color:var(--bad-bg);vertical-align:middle}.expanded-access[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{margin-bottom:1px}.expanded-access-on[_ngcontent-%COMP%]{border-color:#188038;border-color:var(--text-good);background-color:var(--good-bg)}.lock-circle[_ngcontent-%COMP%]{border:solid;border-color:#1a73e8;border-color:var(--primary);border-radius:50%;background-color:var(--primary);color:#fff;color:var(--background);padding:12px;display:inline-block}.edit-btn[_ngcontent-%COMP%], .issue-limits-component-id[_ngcontent-%COMP%], a[_ngcontent-%COMP%], mat-icon[_ngcontent-%COMP%]{vertical-align:middle}b-issue-access-limits-dropdown[_ngcontent-%COMP%]{display:block;padding:20px 0}.expanded-access-txt[_ngcontent-%COMP%], .issue-limits-component-id[_ngcontent-%COMP%]{padding:5px}\n/*# sourceMappingURL=issue_access_limits_dialog.css.map */"]});
var g8=function(a){this.dialog=a};g8.prototype.open=function(a){this.dialog.open(f8,{panelClass:"no-jitter",data:a})};g8.\u0275fac=function(a){return new (a||g8)(n(IA))};g8.\u0275prov=Vc({token:g8,factory:g8.\u0275fac,providedIn:"root"});var h8=function(a,b,c){this.documentationLinks=a;this.issueLimits=b;this.accessPolicyApi=c;this.implicitAccessEnabled=!1};h8.prototype.ngOnInit=function(){var a=this;this.accessPolicyApi.checkComponentImplicitAccessEnabled(Number(this.componentId)).then(function(b){return a.implicitAccessEnabled=b})};h8.prototype.toggleAccessLimits=function(){var a=this;return of(function(b){a.issueLimits.open({componentId:Number(a.componentId),issueId:a.issueId});tf(b)})};
h8.prototype.toggleAccessLimitsWithKeystroke=function(a){this.toggleAccessLimits();a.stopPropagation();a.preventDefault()};h8.prototype.getAccessLimitLevelDisplay=function(a){return"LIMIT_APPEND"===a?"Commenting":"LIMIT_VIEW"===a||"LIMIT_VIEW_TRUSTED"===a?"Visibility":""};
var dIc=function(a,b){if(b)a:if(a=a.implicitAccessEnabled,b===zqc.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=m(r2a),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?yr.descriptionWithExpandedAccess:yr.descriptionNoExpandedAccess}else b="";return b};h8.\u0275fac=function(a){return new (a||h8)(A(SI),A(g8),A(hG))};
h8.\u0275cmp=p({type:h8,selectors:[["b-access-limits-chip"]],inputs:{issueId:"issueId",componentId:"componentId",accessLimitLevel:"accessLimitLevel"},decls:12,vars:4,consts:[["role","button",1,"chippy","rounded","nowrap","access-limited",3,"onedevHovercardTrigger","click","keydown.enter","keydown.space"],["svgIcon","encrypted_24px",1,"icon-s","valign-middle"],[1,"access-limit-display-name"],["card","onedevHovercard"],[1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"hovertext"],["target",
"_blank",3,"href"]],template:function(a,b){a&1&&(E(0,"button",0),K("click",function(){return b.toggleAccessLimits()})("keydown.enter",function(d){return b.toggleAccessLimitsWithKeystroke(d)})("keydown.space",function(d){return b.toggleAccessLimitsWithKeystroke(d)}),H(1,"mat-icon",1),E(2,"span",2),Q(3),F()(),E(4,"onedev-hovercard",null,3)(6,"div",4)(7,"div",5)(8,"span",6),Q(9),E(10,"a",7),Q(11," Learn more"),F()()()()());if(a&2){var c=O(5);D("onedevHovercardTrigger",c);z(3);Sg(b.getAccessLimitLevelDisplay(b.accessLimitLevel));
z(6);R(" Issue access is limited. ",dIc(b,b.accessLimitLevel)," ");z(1);D("href",b.documentationLinks.getIssueAccessLimit(),Ie)}},dependencies:[jB,iK,nK],styles:[".chippy[_ngcontent-%COMP%]{margin-right:8px;cursor:pointer}.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 i8=function(a){this.brain=a;this.INTERNAL="INTERNAL";this.issue$=this.brain.issueJs$.pipe(B(function(b){return null==b?void 0:b.issue}),Gf(nk));this.retentionState$=this.issue$.pipe(B(function(b){var c;return null==(c=b.aggregatedData)?void 0:c.retentionState}));this.modifiedTime$=this.issue$.pipe(B(function(b){var c;return(null==(c=b.aggregatedData)?0:c.modifiedTimeMicros)?b.aggregatedData.modifiedTimeMicros/1E3:void 0}),Gf(nk));this.accessLevel$=this.issue$.pipe(B(function(b){var c;return null==
(c=b.accessLimit)?void 0:c.accessLevel}),Gf(nk));this.issueAccessLimitLevel$=this.issue$.pipe(B(function(b){return b.snapshot[0].issueAccessLimitLevel}));this.issueId$=this.issue$.pipe(B(function(b){return b.issueId}));this.state$=(0,C.combineLatest)([this.retentionState$,this.issueAccessLimitLevel$,this.modifiedTime$,this.accessLevel$,this.issueId$,this.brain.componentId$]).pipe(B(function(b){var c=m(b);b=c.next().value;var d=c.next().value,e=c.next().value,f=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:N3a(b),isShowingPublicPartner:"INTERNAL"!==f,modifiedTime:e,accessLevel:f,issueId:h,componentId:c,issueAccessLimitLevel:d}}))};i8.\u0275fac=function(a){return new (a||i8)(A(HJ))};
i8.\u0275cmp=p({type:i8,selectors:[["issue-chip-indicators"]],decls:2,vars:3,consts:[[4,"ngIf"],["class","flex-kids-x gap-s margin-xs-right",4,"ngIf"],[1,"flex-kids-x","gap-s","margin-xs-right"],[3,"accessLevel",4,"ngIf"],[3,"issueId","componentId","accessLimitLevel",4,"ngIf"],[3,"retentionState","compactMode","modifiedTime",4,"ngIf"],[3,"accessLevel"],[3,"issueId","componentId","accessLimitLevel"],[3,"retentionState","compactMode","modifiedTime"]],template:function(a,b){a&1&&(P(0,dpb,2,1,"ng-container",
0),U(1,"async"));a&2&&D("ngIf",V(1,1,b.state$))},dependencies:[h8,yw,qP,e0,Ew],encapsulation:2});var j8=function(a,b,c,d,e,f,h){Z.call(this);var l=this;this.issueFridge=a;this.issuePermissionService=b;this.router=c;this.refreshMonitor=d;this.currentSearchResults=e;this.currentTracker=f;this.eventsForIssueFridge=h;this.editTitleDisabled=this.starToggleDisabled=!1;this.issueId$=new C.ReplaySubject(1);this.internalIssueId="";this.isTeamLoaded=!1;this.ListIssuesHovercardMode=NHc;this.blockedIdsToUrlQuery=function(q){if(!(2>q.length))return{q:"blockingid:"+l.issueId}};this.HOTKEYS=MM;this.issue$=
this.issueId$.pipe(cg(this.issueFridge.watch));this.issueTitle$=this.issue$.pipe(B(function(q){return null==q?void 0:q.snapshot[0].title}));this.starred$=this.issue$.pipe(B(function(q){var u;return kk(null==q?void 0:null==(u=q.userData)?void 0:u.starred)}));this.componentId$=this.issue$.pipe(B(function(q){return kk(null==q?void 0:q.snapshot[0].componentId)}));this.ancestors$=this.issue$.pipe(B(function(q){return kk(null==q?void 0:q.ancestors)}));this.hasAncestors$=this.ancestors$.pipe(B(function(q){return!!(q&&
0<q.size)}));this.teamId$=this.issue$.pipe(B(function(q){var u;return kk(null==q?void 0:null==(u=q.aggregatedData)?void 0:u.teamId)}));this.blockedByids$=this.issue$.pipe(B(function(q){var u;return null!=(u=null==q?void 0:q.snapshot[0].blockedByIssueId)?u:[]}));this.issuesBlockedByCount$=this.blockedByids$.pipe(cg(this.issueFridge.watchSet),B(function(q){return q.filter(Dn)}),B(function(q){return q.length}));Yo(this.issuesBlockedByCount$.pipe(B(opb),dg(this.destroyed$)),"Blocked");this.blockedByids$.pipe(B(ppb));
this.blockedByids$.pipe(B(this.blockedIdsToUrlQuery));this.isWithinExternalComponent$=this.issuePermissionService.isWithinExternalComponent$;this.status$=this.issue$.pipe(B(function(q){return(null==q?void 0:q.snapshot[0].status)||void 0}));this.statusCssClass$=this.status$.pipe(B(function(q){return l.computeStatusCssClass(q)}));this.prettyStatus$=this.status$.pipe(Gf(nk),B(function(q){return tn[q]}));this.statusIsFeatured$=this.status$.pipe(B(function(q){return!!VUb[q]}));this.toggleStar=function(){var q=
!!Zo(l.starred$);l.starToggleDisabled=!0;mZb(l.issueFridge,l.issueId,!q).pipe(Uf(),dg(l.destroyed$)).subscribe(function(){l.starToggleDisabled=!1})};this.toggleStarDebounced=Nu(this.toggleStar,1E3)};W(j8,Z);j8.\u0275dir=Z.\u0275dir;var eIc=function(a,b){a.editTitleDisabled=!0;nZb(a.issueFridge,a.issueId,b).pipe(dg(a.destroyed$)).subscribe(function(){a.editTitleDisabled=!1;a.eventsForIssueFridge.poke(a.issueId)})};
j8.prototype.computeStatusCssClass=function(a){return null===a||void 0===a?"":"status-"+rl[a]};j8.prototype.refresh=function(){this.refreshMonitor.refreshRequest.next()};Xi.Object.defineProperties(j8.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.internalIssueId=a;this.issueId$.next(a)},get:function(){return this.internalIssueId}}});j8.\u0275fac=function(a){return new (a||j8)(A(BH),A(JJ),A(FG),A(zH),A(d8),A(mL),A(sF))};
j8.\u0275cmp=p({type:j8,selectors:[["issue-header"]],inputs:{issueId:"issueId"},features:[qg],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&&(E(0,"div",0),U(1,"async"),U(2,"async"),U(3,"async"),H(4,"aside",1),U(5,"async"),U(6,"async"),E(7,"div",2)(8,"div",3),P(9,fpb,2,1,"ng-container",4),U(10,"async"),P(11,ipb,4,7,"ng-template",null,5,qh),P(13,kpb,4,7,"ng-template",
null,6,qh),F(),E(15,"div",7),H(16,"b-pagination-one-issue"),F()(),E(17,"div",8)(18,"div",9)(19,"div",10)(20,"button",11),K("onHotkey",function(){return ZHc(b.currentSearchResults)})("click",function(){return ZHc(b.currentSearchResults)}),U(21,"async"),U(22,"async"),H(23,"mat-icon",12),F(),E(24,"button",13),K("onHotkey",function(){return b.refresh()})("click",function(){return b.refresh()}),H(25,"mat-icon",14),F(),E(26,"b-star-toggle",15),K("starClicked",function(){return b.toggleStar()})("onHotkey",
function(){return b.toggleStarDebounced()}),U(27,"async"),F()(),H(28,"issue-chip-indicators"),F(),E(29,"div",16)(30,"issue-title",17),K("updateTitle",function(e){return eIc(b,e)}),U(31,"async"),U(32,"async"),F(),P(33,mpb,3,2,"div",18),U(34,"async"),E(35,"onedev-hovercard",null,19),P(37,npb,4,7,"ng-container",20),F(),H(38,"issue-actions",21)(39,"issue-actions",22),F()()());if(a&2){var c=O(14),d;Fg("overline",V(1,22,b.statusIsFeatured$))("color-field",V(2,24,b.statusIsFeatured$));Qg("ngClass",V(3,26,
b.statusCssClass$));z(4);Rg("title","[",V(5,28,b.prettyStatus$),"] ",V(6,30,b.issueTitle$),"");z(5);D("ngIf",V(10,32,b.hasAncestors$))("ngIfElse",c);z(11);D("hotkey",b.HOTKEYS.GO_UP_TO_LIST)("matTooltip",null!==(d=V(21,34,b.currentSearchResults.backNavigationLabel$))&&void 0!==d?d:"");ug("aria-label",V(22,36,b.currentSearchResults.backNavigationLabel$));z(4);D("hotkey",b.HOTKEYS.REFRESH_ISSUE);z(2);D("starred",V(27,38,b.starred$))("disabled",b.starToggleDisabled)("hotkey",b.HOTKEYS.TOGGLE_STAR);z(4);
D("title",V(31,40,b.issueTitle$))("disabled",b.editTitleDisabled)("hasAclToEdit",V(32,42,b.issuePermissionService.hasAclToEdit$));z(3);D("ngIf",V(34,44,b.issuesBlockedByCount$));z(5);D("issueId",b.issueId);z(1);D("issueId",b.issueId)}},dependencies:[U7,ww,yw,Dw,V7,LM,iK,jK,nK,kK,TM,DU,T7,tA,jB,NC,tU,FV,e8,c8,i8,Ew],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 k8=function(a,b){var c=this;this.currentTracker=a;this.trackerFridge=b;this.issueTrackerId$=new C.BehaviorSubject("");this.showTrackerBanner$=(0,C.combineLatest)([this.issueTrackerId$,this.currentTracker.trackerId$]).pipe(B(function(d){var e=m(d);d=e.next().value;e=e.next().value;return c.currentTracker.enableTrackers&&!!Sn(e)&&!Sn(d)}));this.tracker$=this.issueTrackerId$.pipe(cg(function(d){return!c.currentTracker.enableTrackers||Sn(d)?(0,C.of)(void 0):c.trackerFridge.watch(d)}));this.trackerRedirectUrl$=
this.tracker$.pipe(B(function(d){return nL(c.currentTracker,String(c.issueId),d)}))};Xi.Object.defineProperties(k8.prototype,{trackerId:{configurable:!0,enumerable:!0,set:function(a){this.issueTrackerId$.next(null!=a?a:"")}}});k8.\u0275fac=function(a){return new (a||k8)(A(mL),A(WH))};
k8.\u0275cmp=p({type:k8,selectors:[["b-tracker-banner"]],inputs:{issueId:"issueId",trackerId:"trackerId"},decls:3,vars:5,consts:[["class","tracker-banner",4,"ngIf"],[1,"tracker-banner"],["alt","",3,"src"],["mat-button","",1,"mat-stroked-button","gmat-button","small",3,"href"]],template:function(a,b){a&1&&(P(0,qpb,7,6,"div",0),U(1,"async"),U(2,"async"));a&2&&D("ngIf",V(1,1,b.showTrackerBanner$)&&V(2,3,b.tracker$))},dependencies:[yw,uA,Ew],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 l8=function(a,b,c){var d=this;this.currentTracker=a;this.trackerFridge=b;this.activeSession=c;this.trackerId$=new C.BehaviorSubject("");this.tracker$=this.trackerId$.pipe(cg(function(e){return Sn(e)?(0,C.of)(void 0):d.trackerFridge.watch(e)}));this.trackerName$=this.tracker$.pipe(B(function(e){return e?e.name:d.activeSession.getAppName()}));this.currentTrackerLogo$=this.currentTracker.tracker$.pipe(B(function(e){return d.getLogoUrl(e)}));this.trackerLogo$=this.tracker$.pipe(B(function(e){return d.getLogoUrl(e)}));
this.trackerRedirectUrl$=this.tracker$.pipe(B(function(e){var f="";d.issue&&(f=String(d.issueId));d.component&&(f="components/"+d.componentId);return e?nL(d.currentTracker,f,e):P3b(d.currentTracker,f)}))};l8.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:""};
l8.prototype.ngOnChanges=function(a){a.issue&&this.issue&&this.trackerId$.next(this.issue.trackerId||"");a.component&&this.component&&this.trackerId$.next(this.component.trackerId||"")};
Xi.Object.defineProperties(l8.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 ZUb[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 tn[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}}});l8.\u0275fac=function(a){return new (a||l8)(A(mL),A(WH),A(Vt))};
l8.\u0275cmp=p({type:l8,selectors:[["b-tracker-redirect"]],inputs:{issue:"issue",component:"component"},features:[Hd],decls:1,vars:1,consts:[["class","carded margin-top",4,"ngIf"],[1,"carded","margin-top"],[1,"centered-inside","margin-bottom"],["alt","",1,"logo",3,"src"],["svgIcon","arrow-forward",1,"icon-l"],[1,"centered-inside","heading-l","margin-bottom"],[4,"ngIf"],[1,"centered-inside"],["mat-flat-button","","color","primary","matTooltip","Go to the issue","aria-label","Go to the issue",1,"gmat-button",
3,"href"]],template:function(a,b){a&1&&P(0,spb,15,13,"div",0);a&2&&D("ngIf",b.showResourceContainer)},dependencies:[yw,uA,jB,NC,Ew],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 fIc=[[["",8,"value-action"]]],m8=function(a){Z.call(this);var b=this;this.jspbPrincipalTypes=a;this.readonly=!1;this.collaborators=[];this.collaboratorsUsers=[];this.listFieldDisabled=!1;this.teamId="";this.isCollapsible=!1;this.valuesChange=new Rv;this.additionAllowed=!0;this.ListFieldType=Xmc;this.userPrincipalValidator=function(c){var d,e,f;return of(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(Q0b(b.jspbPrincipalTypes,d,!1),2)}e=h.yieldResult;f=d.find(function(l){var q;return"USER"!==(null==(q=e[l])?void 0:q.principalType)});return h.return(f?"You can only add users to collaborators.":"")})}};W(m8,Z);m8.\u0275dir=Z.\u0275dir;m8.prototype.getAriaLabel=function(){var a="Collaborators are people directly working on this issue.";this.additionAllowed||(a+=" You cannot add collaborators under this component.");return a};m8.\u0275fac=function(a){return new (a||m8)(A(rJ))};
m8.\u0275cmp=p({type:m8,selectors:[["b-collaborators-field"]],inputs:{readonly:"readonly",collaborators:"collaborators",collaboratorsUsers:"collaboratorsUsers",listFieldDisabled:"listFieldDisabled",teamId:"teamId",isCollapsible:"isCollapsible",additionAllowed:"additionAllowed"},outputs:{valuesChange:"valuesChange"},features:[Ug([sH]),qg],ngContentSelectors:[".value-action"],decls:3,vars:17,consts:[[1,"full-width",3,"defaultLineCount","readonly","additionAllowed","title","type","isUser","values","users",
"inputValidator","listFieldDisabled","teamId","isExpanded","collapsiblePanelTitle","isCollapsible","iconName","valuesChange"],[1,"value-action"]],template:function(a,b){a&1&&(Ng(fIc),E(0,"b-list-field",0),K("valuesChange",function(c){return b.valuesChange.emit(c)}),E(1,"div",1),Og(2),F()());a&2&&(Rg("collapsiblePanelTitle","",b.collaborators.length," ",1===b.collaborators.length?"user":"users",""),D("defaultLineCount",5)("readonly",b.readonly)("additionAllowed",b.additionAllowed)("title","Collaborators")("type",
b.ListFieldType.USERCHIP)("isUser",!0)("values",b.collaborators)("users",b.collaboratorsUsers)("inputValidator",b.userPrincipalValidator)("listFieldDisabled",b.listFieldDisabled)("teamId",b.teamId)("isExpanded",!0)("isCollapsible",b.isCollapsible)("iconName",b.isCollapsible?"groups_24px":""),ug("aria-label",b.getAriaLabel()))},dependencies:[lZ],encapsulation:2});var n8=function(){};n8.\u0275fac=function(a){return new (a||n8)};n8.\u0275mod=od({type:n8});n8.\u0275inj=Wc({imports:[mZ,Mw,ID]});var o8=function(){var a=this;this.pressed=new Rv;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"}};o8.\u0275fac=function(a){return new (a||o8)};
o8.\u0275cmp=p({type:o8,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&&(E(0,"button",0),K("click",function(){return b.pressed.emit()}),Q(1,"Insights "),Sd(),E(2,"svg",1)(3,"g",2),H(4,"path",3)(5,"path",4)(6,"path",5)(7,"circle",6)(8,"circle",7)(9,"circle",8)(10,"circle",9)(11,"circle",10)(12,"circle",11)(13,"circle",12),F()()());a&2&&(D("title",b.getTooltip())("disabled",b.disabled),ug("aria-label",b.getTooltip()))},dependencies:[tA],styles:["button.gmat-button[_ngcontent-%COMP%]{line-height:20px;padding:0 5px;font-size:.75rem;font-weight:500;font-family:Roboto,Arial,sans-serif}[disabled][_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{filter:grayscale(1);opacity:.5}svg[_ngcontent-%COMP%]{height:14px;width:14px;vertical-align:text-bottom}\n/*# sourceMappingURL=insights_graph_btn.css.map */"],
changeDetection:0});var gIc=new Bd("PeoplekitClientConfig"),hIc=function(a){this.matcher=a};hIc.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};hIc.prototype.reset=function(){};var jIc=function(a){var b=new iIc;this.apiEnv_=a;this.experimentsConfig_=b};var iIc=function(){};iIc.prototype.getProfileId=function(){return""};var p8=function(a,b){null!=b||(b=hd(hg));var c=new uzc;a.peopleApiEnv&&c.setPeopleApiEnv(a.peopleApiEnv);a.customAuthHeaders&&(c.customAuthHeaders_=a.customAuthHeaders);a.profileId&&c.getExperiments().setProfileId(a.profileId);a.dynamicDataProviders&&vzc(c,pzc(a.dynamicDataProviders));b=b.runOutsideAngular(function(){var d=a.peopleStoreClient.create(c);d.warmUpCache();return{peopleStore:d,environmentConfig:new jIc(c.getPeopleApiEnv())}});this.peopleStore=b.peopleStore;this.environmentConfig=b.environmentConfig};
p8.\u0275fac=function(a){return new (a||p8)(n(gIc),n(hg))};p8.\u0275prov=Vc({token:p8,factory:p8.\u0275fac});var q8=function(a,b,c,d,e,f){this.clientConfig=a;this.document=b;this.peopleKitService=c;this.inputEl=d;this.zone=e;this.renderer=f;this.selectionChange=new Rv;this.sessionOptions=(new Is).setFilter(kIc);this.inputSearchDelay=200;this.destroyed$=new C.ReplaySubject(1);this.inputChanged$=new C.ReplaySubject(1)};q8.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete();this.autocomplete.dispose()};
q8.prototype.ngOnInit=function(){var a=this,b=this.clientConfig.autocompleteFactory.createConfig(this.peopleKitService.environmentConfig);tpb(b,this.config);this.zone.runOutsideAngular(function(){var c;if(null==(c=a.clientConfig.autocompleteFactory))c=void 0;else{var d=c.create;if(!a.peopleKitService.autocompleteAnchor){var e=a.renderer.createElement("div");a.peopleKitService.autocompleteAnchor=e;a.renderer.addClass(e,"peoplekit-autocomplete-anchor");var f;(null!=(f=iya(a.inputEl.nativeElement))?
f:a.document.body).append(e)}c=d.call(c,a.peopleKitService.autocompleteAnchor,a.inputEl.nativeElement,a.peopleKitService.peopleStore,b,a.sessionOptions)}a.autocomplete=c});$wc(this.autocomplete,function(c){a.selectionChange.emit(c)});this.inputChanged$.pipe(Nf(this.inputSearchDelay)).subscribe(function(){a.search()})};q8.prototype.search=function(){var a=this;this.zone.runOutsideAngular(function(){a.autocomplete.search(a.inputEl.nativeElement.value,a.inputEl.nativeElement)})};
q8.prototype.cancel=function(){var a=this;this.zone.runOutsideAngular(function(){a.autocomplete.cancel()})};q8.\u0275fac=function(a){return new (a||q8)(A(gIc),A(Vi),A(p8),A(ke),A(hg),A(ev))};
q8.\u0275dir=qd({type:q8,selectors:[["input","peoplekitAutocomplete",""]],hostBindings:function(a,b){a&1&&K("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 kIc=Mcb(1);var lIc=["popOver"],mIc=["inputBox"],r8=function(a){this.defaultAutocompleteConfig=a;this.mergedAutocompleteConfig=Object.assign({},nIc,this.defaultAutocompleteConfig);this.displayUnder=!1;this.initialInputValue="";this.openPopOverOnInit=!1;this.closed=new Rv;this.inputValue="";this.sessionOptions=oIc};r8.prototype.ngAfterViewInit=function(){this.openPopOverOnInit&&this.openPopOver(this.initialInputValue)};
r8.prototype.ngOnChanges=function(a){a.autocompleteConfig&&(this.mergedAutocompleteConfig=Object.assign({},nIc,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)(A(pIc,8))};
r8.\u0275cmp=p({type:r8,selectors:[["onedev-user-picker-panel","anchor",""]],viewQuery:function(a,b){a&1&&(ih(lIc,7),ih(mIc,5));if(a&2){var c;hh(c=kh())&&(b.popOver=c.first);hh(c=kh())&&(b.inputBox=c.first)}},inputs:{anchor:"anchor",autocompleteConfig:"autocompleteConfig",displayUnder:"displayUnder",initialInputValue:"initialInputValue",openPopOverOnInit:"openPopOverOnInit"},outputs:{closed:"closed"},features:[Hd],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&&(E(0,"onedev-pop-over-edit-panel",0,1),K("closedWithAction",function(d){return b.onPopOverClose(d)}),F(),P(2,upb,2,3,"ng-template",null,2,qh));if(a&2){var c=O(3);D("anchor",b.anchor)("displayUnder",b.displayUnder)("editorTemplate",
c)}},dependencies:[Qh,ax,hx,e6,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 pIc=new Bd("user-picker-autocomplete-config"),nIc={showSuggestions:!0,moveAutocompleteAboveAnchorIfOffscreen:!0,density:2},oIc=(new Is).setFilter(Qcb(Mcb(1),new hIc(function(a){return 0<=a.indexOf("-pager")||0<=a.indexOf("+pager")||0<=a.indexOf("lifeguard-ng")})));var wpb=function(a){return{$implicit:a}},qIc=0,s8=function(){this.val="";this.disabled=!1;this.emailChange=new Rv;this.popOverOpen=this.active=!1;this.contentId="onedev-user-picker-"+qIc;this.onChange=function(){};this.onTouched=function(){};qIc++};W(s8,oY);g=s8.prototype;g.openPopOver=function(){this.disabled||(this.onTouched(),this.popOver.openPopOver(this.email),this.popOverOpen=!0)};
g.onPopOverClose=function(a){null!=a&&a!==this.email&&(this.onChange(a),this.emailChange.emit(a),this.email=a);this.popOverOpen=!1};g.contentAriaLabelledBy=function(){if(this.labelledById)return this.labelledById+" "+this.contentId};g.writeValue=function(a){null!=a&&(this.val=a)};g.isActive=function(){return this.active||this.popOverOpen};g.registerOnChange=function(a){this.onChange=a};g.registerOnTouched=function(a){this.onTouched=a};g.setDisabledState=function(a){this.disabled=a};
Xi.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=p({type:s8,selectors:[["onedev-user-picker"]],viewQuery:function(a,b){a&1&&ih(r8,7);if(a&2){var c;hh(c=kh())&&(b.popOver=c.first)}},inputs:{email:"email",disabled:"disabled",labelledById:"labelledById",selectedUserTemplate:"selectedUserTemplate",autocompleteConfig:"autocompleteConfig"},outputs:{emailChange:"emailChange"},exportAs:["onedevUserPicker"],features:[Ug([{provide:oY,useExisting:cd(function(){return s8}),multi:!0},{provide:Ow,useExisting:cd(function(){return s8}),multi:!0}]),
qg],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&&(E(0,"button",0,1),K("focus",function(){return b.active=!0})("blur",function(){return b.active=!1})("click",function(){return b.openPopOver()}),P(2,xpb,2,4,"ng-container",2),P(3,ypb,1,1,"ng-template",null,3,qh),P(5,zpb,2,0,"svg",4),F(),E(6,"onedev-user-picker-panel",5),K("closed",function(e){return b.onPopOverClose(e)}),F());if(a&2){var c=O(1),d=O(4);Fg("active",b.isActive());ug("id",b.contentId)("aria-labelledby",b.contentAriaLabelledBy());z(2);D("ngIf",b.selectedUserTemplate)("ngIfElse",
d);z(3);D("ngIf",!b.disabled);z(1);D("anchor",c)("autocompleteConfig",b.autocompleteConfig)}},dependencies:[yw,Dw,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 rIc=["picker"],t8=function(){this.disabled=!1;this.emailChange=new Rv;this.userEmail=""};W(t8,oY);t8.prototype.openPopOver=function(){this.picker.openPopOver()};t8.prototype.isActive=function(){return this.picker.isActive()};Xi.Object.defineProperties(t8.prototype,{user:{configurable:!0,enumerable:!0,set:function(a){this.userEmail=ck(a)||""}}});t8.\u0275fac=function(){var a;return function(b){return(a||(a=ie(t8)))(b||t8)}}();
t8.\u0275cmp=p({type:t8,selectors:[["b-user-picker"]],viewQuery:function(a,b){a&1&&ih(rIc,7);if(a&2){var c;hh(c=kh())&&(b.picker=c.first)}},inputs:{user:"user",teamId:"teamId",disabled:"disabled",labelledById:"labelledById"},outputs:{emailChange:"emailChange"},exportAs:["bUserPicker"],features:[Ug([{provide:oY,useExisting:cd(function(){return t8}),multi:!0}]),qg],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&&(E(0,"onedev-user-picker",0,1),K("emailChange",function(d){return b.emailChange.emit(d)}),F(),P(2,Bpb,1,1,"ng-template",null,2,qh));if(a&2){var c=O(3);D("email",b.userEmail)("disabled",b.disabled)("labelledById",b.labelledById)("selectedUserTemplate",c)}},dependencies:[yw,CP,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}\n/*# sourceMappingURL=user_picker.css.map */"]});var Epb=function(a){return[a]},Hpb=function(){return[]},Jqb=function(a){return{$implicit:a}},u8=function(a,b,c,d,e,f,h,l,q,u,x,y,G,L,M){var T=this;this.activeSession=a;this.editIssueService=b;this.issueFridge=c;this.issuePermissionService=d;this.issueDetailsBrain=e;this.constants=f;this.refreshMonitor=h;this.userPreferencesManager=l;this.documentationLinks=q;this.workspaceService=u;this.changelistApi=x;this.issueMarkAsDuplicateDialogService=y;this.analytics=G;this.issueInsightsSidebarService=L;this.issueLimits=
M;this.issueId$=new C.ReplaySubject(1);this.distinctIssueId$=this.issueId$.pipe(Qf());this.issue$=this.distinctIssueId$.pipe(cg(function(S){return T.editIssueService.editableIssue$(S)}));this.enablePeoplekitAc=DE(this.activeSession,"enablePeoplekitUserAc");this.enableCollaborators$=this.issueDetailsBrain.componentId$.pipe(B(function(S){return(DE(T.activeSession,"enableCollaborators")||T.activeSession.getCollaboratorsComponentAllowlist().has(Number(S)))&&!T.activeSession.getCollaboratorsComponentDenylist().has(Number(S))}));
this.enableIssueAccessLimits$=this.issueDetailsBrain.componentId$.pipe(B(function(S){return DE(T.activeSession,"enableIssueAccessLimits")||T.activeSession.getIssueAccessLimitsComponentAllowlist().has(Number(S))}));this.sessionIsInternal=this.activeSession.isInternalSession();this.sessionIsExternal=this.activeSession.isExternalSession();this.showSloStatus=this.sessionIsInternal;this.showChangelists=!this.sessionIsExternal;this.defaultAssigneeQuickActionEnabled=this.sessionIsInternal;this.HOTKEYS=MM;
this.trackCustomField=function(S,X){return"{"+X.componentId+", "+X.customFieldId+"}"};this.FieldType=Omc;this.ListFieldType=Xmc;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.showImplicitAccessIndicator$=
this.issuePermissionService.showImplicitAccessIndicator$;this.isWithinExternalComponent$=this.issuePermissionService.isWithinExternalComponent$;this.shouldDisplayWtdmUi$=this.issuePermissionService.isWithinExternalComponent$.pipe(B(function(S){return!T.activeSession.isExternalSession()&&!S}));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(B(fhb));this.component$=this.issueDetailsBrain.component$;this.effort$=this.issueDetailsBrain.effort$;this.accessLimitLevel$=this.issueDetailsBrain.accessLimitLevel$;this.issueFields$=this.distinctIssueId$.pipe(B(function(S){return T.editIssueService.issueFields(S)}),
$f({refCount:!0,bufferSize:1}));this.isForgottenFourPrimary$=this.issueFields$.pipe(cg(function(S){return S.isForgottenFourPrimary$}));this.showHiddenFieldsLabel$=this.issueFields$.pipe(cg(function(S){return S.showHiddenFieldsLabel$}));this.hasHiddenFields$=this.issueFields$.pipe(cg(function(S){return S.hasHiddenFields$}));this.isChangelistPrimary$=this.issueFields$.pipe(cg(function(S){return S.isChangelistPrimary$}));this.isSeverityPrimary$=this.issueFields$.pipe(cg(function(S){return S.isSeverityPrimary$}));
this.isSloStatusPrimary$=this.issueFields$.pipe(cg(function(S){return S.isSloStatusPrimary$}));this.hiddenCustomFields$=this.issueFields$.pipe(cg(function(S){return S.hiddenCustomFields$}));this.visibleCustomFields$=this.issueFields$.pipe(cg(function(S){return S.visibleCustomFields$}));this.issueQuickActions$=this.distinctIssueId$.pipe(B(function(S){return T.editIssueService.issueQuickActions(S)}),$f({refCount:!0,bufferSize:1}));this.issueAssigneeQuickAction$=this.issueQuickActions$.pipe(cg(function(S){return S.issueAssigneeQuickAction$}));
this.issueStatusQuickAction$=this.issueQuickActions$.pipe(cg(function(S){return S.issueStatusQuickAction$}));this.priorityChoices=this.constants.priorities.map(function(S){return{value:S,displayText:S}});this.severityChoices=this.constants.severities.map(function(S){return{value:S,displayText:S}});this.typeChoices=this.constants.editIssueTypeChoices;this.teamHovercardInputs$=(0,C.combineLatest)([this.issueDetailsBrain.componentId$,this.teamId$]).pipe(B(function(S){var X=m(S);S=X.next().value;X=X.next().value;
return{teamId:X?String(X):"0",componentId:S?String(S):"0"}}));this.isTeamWarningDismissed$=(0,C.combineLatest)([this.issue$,this.userPreferencesManager.preferences$]).pipe(B(function(S){S=m(S);var X=S.next().value,aa,na;return null==(aa=S.next().value.teamWarningPreferences)?void 0:null==(na=aa.componentTeamWarnings)?void 0:na.some(function(ma){return ma.componentId===X.componentId})}));this.shouldDisplayTeamSuggestions$=(0,C.combineLatest)([this.issuePermissionService.userIsComponentAdmin$,this.isTeamWarningDismissed$,
this.teamWarningType$]).pipe(B(function(S){var X=m(S);S=X.next().value;var aa=X.next().value;X=X.next().value;return DE(T.activeSession,"enableTeamSuggestions")&&S&&!aa&&("MISSING"===X||"DELETED"===X)}));this.statusChoices$=this.canonicalIssueId$.pipe(B(function(S){return[].concat(r(cVb.filter(function(X){return"DUPLICATE"!==X.value})),[{value:"DUPLICATE",displayText:S?"Duplicate of "+S:"Duplicate"}])}));this.workspaces$=this.distinctIssueId$.pipe(cg(function(S){return e9b(T.workspaceService,S)}),
$f({refCount:!0,bufferSize:1}));this.pendingChangelists$=lZb(this.refreshMonitor,this.distinctIssueId$).pipe(cg(function(S){return T.changelistApi.getPendingChangelistsForIssue(S)}),B(function(S){return S.changelistNumbers}),B(function(S){return{cls:S,hasError:!1}}),Lf(function(){return(0,C.of)({cls:[],hasError:!0})}),$f({refCount:!0,bufferSize:1}));this.COLLABORATORS_HOVERCARD_CONFIG=Object.assign({},new lK,{position:[T1b]});this.ACCESS_LIMITS_HOVERCARD_CONFIG=Object.assign({},new lK,{position:[{originX:"start",
originY:"center",overlayX:"end",overlayY:"center",offsetX:-30}]});this.reconcileView={assignee:function(S){var X,aa;S.value=null!=(aa=null==(X=Zo(T.issue$))?void 0:X.assignee)?aa:""},reporter:function(S){var X,aa;S.value=null!=(aa=null==(X=Zo(T.issue$))?void 0:X.reporter)?aa:""},verifier:function(S){var X,aa;S.value=null!=(aa=null==(X=Zo(T.issue$))?void 0:X.verifier)?aa:""},ccs:function(S){var X,aa;S.values=null!=(aa=null==(X=Zo(T.issue$))?void 0:X.cc)?aa:[]},collaborators:function(S){var X,aa;S.collaborators=
null!=(aa=null==(X=Zo(T.issue$))?void 0:X.collaborators)?aa:[]}}};u8.prototype.ngOnChanges=function(){this.issueId$.next(this.issueId)};
var uqb=function(a){var b=a.issuePermissionService.isCurrentUserCCd();a.analytics.trackEvent(Mp.EDIT_ISSUE,"toggleCC (appbar)",(!b).toString());var c=a.editIssueService.editableIssue(a.issueId),d=[];d=b?c.cc.filter(function(e){return!IJ(a.issuePermissionService,e)}):[].concat(r(c.cc),[a.activeSession.getUserEmail()]);return z1b(a.editIssueService,a.issueId,d)},qqb=function(a){var b=a.issuePermissionService.isCurrentUserCollaborator();a.analytics.trackEvent(Mp.EDIT_ISSUE,"toggleCollaborators (appbar)",
(!b).toString());var c=a.editIssueService.editableIssue(a.issueId),d=[];d=b?c.collaborators.filter(function(e){return!IJ(a.issuePermissionService,e)}):[].concat(r(c.collaborators),[a.activeSession.getUserEmail()]);return A1b(a.editIssueService,a.issueId,d)},vqb=function(a,b){uqb(a);b.stopPropagation();b.preventDefault()};u8.prototype.toggleAccessLimits=function(){var a=this;return of(function(b){a.issueLimits.open({componentId:Number(Zo(a.issueDetailsBrain.componentId$)),issueId:a.issueId});tf(b)})};
u8.prototype.toggleAccessLimitsWithKeystroke=function(a){this.toggleAccessLimits();a.stopPropagation();a.preventDefault()};
var dqb=function(a,b,c){return fqb(a.editIssueService,a.issueId,c).finally(function(){a.reconcileView.assignee(b)})},Kpb=function(a,b,c){return Mpb(a.editIssueService,a.issueId,c).finally(function(){a.reconcileView.reporter(b)})},kqb=function(a,b,c){return mqb(a.editIssueService,a.issueId,c).finally(function(){a.reconcileView.verifier(b)})},yqb=function(a,b,c){return z1b(a.editIssueService,a.issueId,c).finally(function(){a.reconcileView.ccs(b)})},xqb=function(a,b,c){return A1b(a.editIssueService,
a.issueId,c).finally(function(){a.reconcileView.collaborators(b)})},It=function(a,b){a.analytics.trackEvent(Mp.EDIT_ISSUE,"quickAction (sidebar)",null==b?void 0:b.displayText);return x1b(a.editIssueService,a.issueId,b)},wrb=function(a,b){var c;return of(function(d){return(c=Dra(b))?"DUPLICATE"===c?d.return(Wfc(a.issueMarkAsDuplicateDialogService,a.issueId)):d.return(w1b(a.editIssueService,a.issueId,c)):d.return()})};
u8.prototype.isSaving$=function(a){var b=this;return this.distinctIssueId$.pipe(B(function(c){return b.editIssueService.savingState(c)}),cg(function(c){return Gp(c.propertiesBeingSaved,op(String(a)))}))};u8.prototype.getAccessLimitLevelDisplay=function(a){return s2a(a)};var Xpb=function(a,b){return"LIMIT_NONE"!==b&&"ACCESS_LEVEL_UNSPECIFIED"!==b||a};u8.\u0275fac=function(a){return new (a||u8)(A(Vt),A(bK),A(BH),A(JJ),A(HJ),A(gJ),A(zH),A(ZI),A(SI),A(oQ),A(OD),A(eT),A(wH),A(Z7),A(g8))};
u8.\u0275cmp=p({type:u8,selectors:[["edit-issue-metadata"]],inputs:{issueId:"issueId"},features:[Hd],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"],["class","bv2-issue-metadata-field",4,"ngIf"],[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",""],["onlyCC",""],[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,"bv2-issue-metadata-field"],[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",1,"gmat-button","primary",3,"href"],[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","collaborators","collaboratorsUsers","listFieldDisabled","teamId","isCollapsible","additionAllowed","onedevHovercardTrigger","onedevHovercardActive","onedevHovercardConfig","valuesChange"],["collaboratorsField",
""],[1,"value-action"],["class","bv2-metadata-tool bv2-metadata-link","tabindex","0","role","button",3,"disabled","matTooltip","click","keydown.enter","keydown.space",4,"ngIf"],["collaboratorsCard","onedevHovercard"],["mat-button","","href","https://developers.google.com/issue-tracker/references/glossary-of-fields","target","_blank",1,"gmat-button","primary"],["title","CC","iconName","add_alert_24px",1,"full-width",3,"defaultLineCount","readonly","type","isUser","values","users","listFieldDisabled",
"isCollapsible","isExpanded","collapsiblePanelTitle","teamId","valuesChange"],["ccsField",""],["title","CC",1,"full-width",3,"defaultLineCount","readonly","type","isUser","values","users","listFieldDisabled","teamId","valuesChange"],[3,"readonly","defaultLineCount","title","type","values","tooltip"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"hidden-fields-separator"],[3,"titleWhenCollapsed","titleWhenExpanded"],[3,"refreshable"],["tabindex","0",1,"issue-metadata-field-long",3,"sloStatus",
"sloSnoozeUntil","sloId","componentId","isEditable","issueCreationTimestamp","onSnoozeChange"],[1,"flex-1",3,"name","title","type","tooltip","value","choices","readonly","disabled","valueChange"],[3,"readonly","defaultLineCount","title","type","values","listFieldDisabled","valuesChange"],[1,"title-action"],[3,"pressed",4,"ngIf"],[3,"pressed"],[1,"issue-metadata-field-short","issue-metadata-field-short-left",3,"name","title","type","multiline","tooltip","value","readonly","disabled","valueChange"],
[3,"name","title","type","multiline","tooltip","value","readonly","disabled","valueChange"],[3,"name","title","type","value","tooltip","readonly","disabled","valueChange"],[3,"issue","field","readonly","disabled","save"]],template:function(a,b){a&1&&(P(0,xrb,81,102,"ng-container",0),U(1,"async"));a&2&&D("ngIf",V(1,1,b.issue$))},dependencies:[jZ,xw,yw,Dw,nZ,hZ,g6,b6,c6,d6,LM,iK,jK,nK,kK,o8,yP,o6,lZ,m8,jB,NC,mI,P5,t8,pP,vX,VJ,Ew],styles:["hr.hidden-fields-separator[_ngcontent-%COMP%]{margin-left:16px;margin-right:10px}.bv2-field-label-spacer[_ngcontent-%COMP%]{width:23%;display:inline-block;min-width:80px;max-width:120px;padding-right:10px}\n/*# sourceMappingURL=edit_issue_metadata.css.map */"]});var sIc={},tIc=(sIc.COMFORTABLE=330,sIc.COZY=300,sIc.COMPACT=270,sIc),w8=function(a){Z.call(this);var b=this;this.userPreferencesManager=a;this.RIGHT_SIDEBAR_MIN_WIDTH=245;this.density$=this.userPreferencesManager.preferences$.pipe(B(function(c){var d;return null==(d=c.themePreferences)?void 0:d.density}));this.sidebarWidthPreference$=this.userPreferencesManager.preferences$.pipe(B(function(c){var d;return null==(d=c.layoutPreferences)?void 0:d.rightSidebarWidth}));this.rightSidebarWidthChanged$=
new C.Subject;this.currentSidebarWidth$=(0,C.combineLatest)([this.density$,this.sidebarWidthPreference$,this.rightSidebarWidthChanged$.pipe(bg(void 0))]).pipe(B(function(c){var d=m(c);c=d.next().value;var e=d.next().value;d=d.next().value;return null!=d?d:null!=e?e:tIc[null!=c?c:"COMFORTABLE"]}));(0,C.combineLatest)([this.rightSidebarWidthChanged$.pipe(Qf()),this.sidebarWidthPreference$]).pipe(Gf(function(c){c=m(c);var d=c.next().value;return c.next().value!==d}),cg(function(c){c=m(c);var d=c.next().value;
c.next();return j0b(b.userPreferencesManager,{rightSidebarWidth:d})}),dg(this.destroyed$)).subscribe()};W(w8,Z);w8.\u0275dir=Z.\u0275dir;w8.prototype.ngOnInit=function(){};w8.\u0275fac=function(a){return new (a||w8)(A(ZI))};
w8.\u0275cmp=p({type:w8,selectors:[["issue-metadata-sidebar"]],inputs:{issueId:"issueId"},features:[qg],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&&(E(0,"h3",0),Q(1,"Issue metadata"),F(),E(2,"b-resizable-sidebar",1),K("widthChanged",function(d){return b.rightSidebarWidthChanged$.next(d)}),U(3,"async"),
E(4,"div",2)(5,"div",3),P(6,yrb,1,1,"edit-issue-metadata",4),F()()());if(a&2){var c;z(2);D("disableToggleBtn",!1)("hideToggleBtnOnOpen",!0)("minWidth",b.RIGHT_SIDEBAR_MIN_WIDTH)("size",null!==(c=V(3,5,b.currentSidebarWidth$))&&void 0!==c?c:0);z(4);D("ngIf",b.issueId)}},dependencies:[yw,fP,u8,Ew],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,C.concat)((0,C.defer)(function(){return(0,C.of)(document.getElementById(a))}),i3a(b,{attributes:!0,attributeFilter:["id"],childList:!0,subtree:!0}).pipe(B(function(){return document.getElementById(a)}))).pipe(Gf(nk),Rf())};x8.\u0275fac=function(a){return new (a||x8)};x8.\u0275prov=Vc({token:x8,factory:x8.\u0275fac,providedIn:"root"});var y8=function(a){this.idWatch=a},uIc=function(a,b){var c=b.scrollableContainerId,d=void 0===b.scrollPadding?0:b.scrollPadding;return a.idWatch.watch(b.elementId,b.parentElement).pipe(Rf(),B(function(e){e.scrollIntoView();if(e=document.getElementById(c))e.scrollTop-=d}))};y8.\u0275fac=function(a){return new (a||y8)(n(x8))};y8.\u0275prov=Vc({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 C.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):(uIc(this.dynamicScrollIntoView,{elementId:a.elementId,parentElement:document.body,scrollableContainerId:"bv2-edit-issue-details-scroll",scrollPadding:60}).pipe(dg(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)(n(y8),n(NG),n(yJ),n(G6))};z8.\u0275prov=Vc({token:z8,factory:z8.\u0275fac});var A8=function(a,b){Z.call(this);var c=this;this.el=a;this.router=b;this.router.events.pipe(Gf(Yva),dg(this.destroyed$)).subscribe(function(){var d=["scrollY",c.rememberScroll,c.router.url.toString()].join("-"),e,f=null==(e=c.el.nativeElement)?void 0:e.scrollTop;f?window.sessionStorage.setItem(d,String(f)):window.sessionStorage.removeItem(d)});this.router.events.pipe(Gf(Xva),dg(this.destroyed$)).subscribe(function(d){d=["scrollY",c.rememberScroll,d.url].join("-");zrb(c.el.nativeElement,d)})};
W(A8,Z);A8.\u0275fac=function(a){return new (a||A8)(A(ke),A(FG))};A8.\u0275dir=qd({type:A8,selectors:[["","rememberScroll",""]],inputs:{rememberScroll:"rememberScroll"},features:[qg]});var B8=function(){};B8.\u0275fac=function(a){return new (a||B8)};B8.\u0275mod=od({type:B8});B8.\u0275inj=Wc({imports:[Mw,LG]});var Nrb=function(){return{exact:!0}},C8=function(a,b,c,d,e,f,h,l,q,u,x,y,G,L,M,T,S,X,aa,na,ma){Z.call(this);var Ca=this;this.routeParams=a;this.issueFridge=b;this.activeSession=c;this.permissions=d;this.editIssueService=e;this.counts=f;this.appEvents=h;this.issueInteractionsTracking=l;this.checkBeforeExit=q;this.butterBar=u;this.routerEvents=x;this.devopsGraph=y;this.refreshMonitor=G;this.eventsForIssueFridge=L;this.issueFetchResponseFridge=M;this.hotlistFridge=T;this.permissionsFridge=S;this.issueRelationshipsFridge=
X;this.issueService=aa;this.errorHandler=na;this.currentTracker=ma;this.id$=this.routeParams.issueId$;this.issue$=this.id$.pipe(cg(this.issueFridge.watch));this.issue404$=(0,C.combineLatest)([this.id$,this.issueFetchResponseFridge.error$]).pipe(B(function(Fa){var Ja=m(Fa);Fa=Ja.next().value;Ja=Ja.next().value;return Ja.idOrKey===Fa&&404===Ja.status}),bg(!1));this.issueTrackerId$=this.issue$.pipe(B(function(Fa){return null==Fa?void 0:Fa.trackerId}));this.showTrackerRedirect$=(0,C.combineLatest)([this.currentTracker.trackerId$,
this.issueTrackerId$]).pipe(B(function(Fa){var Ja=m(Fa);Fa=Ja.next().value;Ja=Ja.next().value;return Ca.shouldShowTrackerRedirect(Fa,mk("")(Ja))}));this.snapshot$=this.issue$.pipe(B(function(Fa){return null==Fa?void 0:Fa.snapshot[0]}));this.archived$=this.snapshot$.pipe(B(function(Fa){return null==Fa?void 0:Fa.isArchived}));this.deleted$=this.snapshot$.pipe(B(function(Fa){return null==Fa?void 0:Fa.isDeleted}));this.undeleteButtonTooltip$=this.permissions.canUndeleteIssue$.pipe(B(function(Fa){return Fa?
void 0:"Only issue admins can undelete issues"}));this.inArchivedComponent$=this.issue$.pipe(B(function(Fa){return(null==Fa?void 0:Fa.isArchived)&&!(null==Fa?0:Fa.snapshot[0].isArchived)}));this.status$=this.issue$.pipe(B(function(Fa){return(null==Fa?void 0:Fa.snapshot[0].status)||void 0}));this.prettyStatus$=this.status$.pipe(Gf(nk),B(function(Fa){return tn[Fa]}));this.issue$.pipe(B(function(Fa){var Ja;return null!=(Ja=null==Fa?void 0:Fa.snapshot[0].title)?Ja:""}));this.issuesBeingBlocked$=this.issue$.pipe(B(function(Fa){var Ja;
return null!=(Ja=null==Fa?void 0:Fa.snapshot[0].blockingIssueId)?Ja:[]}),Pf(1E3),cg(this.issueFridge.watchSet));this.issue$.pipe(B(function(Fa){var Ja;return null!=(Ja=null==Fa?void 0:Fa.snapshot[0].duplicateIssueId)?Ja:[]}),Pf(1E3),cg(this.issueFridge.watchSet));this.userHasReadAccess$=this.issueFetchResponseFridge.error$.pipe(B(function(Fa){if(403===Fa.status&&Ca.activeSession.isInternalSession())return!1;Ca.errorHandler.errorHandler(null,Fa);return!0}),bg(!0),$f({refCount:!0,bufferSize:1}));this.issueMetadata$=
(0,C.defer)(function(){return Ca.id$}).pipe(Gf(nk),cg(function(Fa){return Ca.issueService.getMetadata(Fa)}),$f({refCount:!0,bufferSize:1}));this.tabs=[{link:"./",title:"Comments",count$:this.counts.countCommentsDisplay$},{link:"./dependencies",title:"Dependencies",count$:this.counts.countDependenciesDisplay$},{link:"./dupes",title:"Duplicates",count$:this.counts.countDuplicateDisplay$},{link:"./blocking",title:"Blocking",count$:this.counts.countBlockedDisplay$},{link:"./resources",title:"Resources",
count$:this.counts.countResourcesDisplay$}].concat(r(DE(this.activeSession,"enableCodeMentionsUi")?[{link:"./todos",title:"TODOs",count$:this.counts.countTodosDisplay$}]:[]))};W(C8,Z);C8.\u0275dir=Z.\u0275dir;C8.prototype.shouldShowTrackerRedirect=function(a,b){return""!==a&&a!==b};
C8.prototype.ngOnInit=function(){var a=this,b,c,d;return of(function(e){if(1==e.nextAddress)return b=rB,c=b.assertExists,e.yield((0,C.firstValueFrom)(a.id$),2);d=c.call(b,e.yieldResult);a.appEvents.issueViewed.next(d);a.issueInteractionsTracking.getState(d);a.subscriptions.add(gQ(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(Gf(nk),
Rf()).subscribe(function(f){DH(a.issueFridge,[f.issueId])}));a.subscriptions.add(a.refreshMonitor.getObservable().subscribe(function(){a.issueInteractionsTracking.trackNavigation("refresh");a.permissionsFridge.poke("issues/"+d);a.issueRelationshipsFridge.poke(d);GH(a.issueFetchResponseFridge,d);a.eventsForIssueFridge.poke(d);a.hotlistFridge.pokeMany(DYb);DH(a.issueFridge,[d])}));a.destroyed$.subscribe(function(){a.devopsGraph.close();var f=a.issueInteractionsTracking,h=f.getState(d);f.trackDestroy("edit-count",
h.editCount);var l=Date.now()-h.startTime;f1b(f,l,"idp-time-on-page",h.variations);f.resetState(d);a.editIssueService.clear(d)});tf(e)})};C8.\u0275fac=function(a){return new (a||C8)(A(xJ),A(BH),A(Vt),A(JJ),A(bK),A(O7),A(cG),A(FJ),A(fQ),A(VF),A(vH),A(Y7),A(zH),A(sF),A(EH),A(hH),A(KH),A(IH),A(yH),A(ZF),A(mL))};
C8.\u0275cmp=p({type:C8,selectors:[["issue-details-wrapper"]],features:[Ug([sH,fK,{provide:pM,useClass:z8}]),qg],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&&(P(0,Arb,2,1,"h2",0),U(1,"async"),P(2,Brb,1,0,"div",1),U(3,"async"),P(4,Trb,2,3,"ng-template",null,2,qh),P(6,Urb,3,3,"ng-template",null,3,qh),P(8,Vrb,3,3,"ng-template",null,4,qh));if(a&2){var c=O(5),d=O(9);D("ngIf",
V(1,4,b.id$));z(2);D("ngIf",V(3,6,b.userHasReadAccess$))("ngIfThen",c)("ngIfElse",d)}},dependencies:[xw,yw,tG,HG,IG,tA,wN,xN,zN,rz,NC,FW,GW,j8,v4,w8,A8,l8,k8,Ew],styles:["[mat-tab-nav-bar][_ngcontent-%COMP%]{padding-left:8px}"]});var D8=function(a,b){Z.call(this);var c=this;this.issueFridge=a;this.butterBar=b;this.duplicateIssueIds$=new C.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"}]}};W(D8,Z);D8.\u0275dir=Z.\u0275dir;D8.prototype.ngOnInit=function(){};
D8.prototype.removeDuplicate=function(a){var b=this,c;return of(function(d){if(1==d.nextAddress)return pf(d,2),d.yield(b.issueFridge.removeDuplicate(b.issueId,a),4);if(2!=d.nextAddress)return au(d,0);c=sf(d);XF(b.butterBar,"Could not remove duplicate "+a+". "+c);tf(d)})};Xi.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)(A(BH),A(VF))};D8.\u0275cmp=p({type:D8,selectors:[["b-duplicates-table"]],inputs:{duplicateIds:"duplicateIds",issueId:"issueId"},features:[qg],decls:2,vars:3,consts:[[4,"ngIf"],[3,"issueIds","menuItemFactory","tableColumns","initialSort"]],template:function(a,b){a&1&&(P(0,Wrb,2,4,"ng-container",0),U(1,"async"));a&2&&D("ngIf",V(1,1,b.duplicateIssueIds$))},dependencies:[yw,HT,Ew],encapsulation:2,changeDetection:0});var E8=function(a,b,c,d,e){Z.call(this);var f=this;this.paramsService=a;this.issues=b;this.issuePicker=c;this.snackBar=d;this.counts=e;this.ROBOT_SLEEPING=K3b;this.id$=this.paramsService.issueId$;this.dupeUrl$=this.id$.pipe(B(function(h){return{path:"/issues",params:{q:"canonicalid:"+h}}}));this.issue$=this.id$.pipe(cg(this.issues.watch));this.duplicateIds$=this.issue$.pipe(B(function(h){var l;return null!=(l=null==h?void 0:h.snapshot[0].duplicateIssueId)?l:[]}));this.duplicatesCount$=this.duplicateIds$.pipe(cg(function(h){return 0===
h.length?(0,C.of)(0):f.counts.duplicatesDualCount$.pipe(B(function(l){return l.total.count}))}));this.showTable$=this.duplicatesCount$.pipe(B(function(h){return 0<h}),bg(!0));this.didChooseDupes=function(h){var l=Zo(f.id$);null!=l&&pZb(f.issues,l,h[0]).catch(f.gotErr)};this.gotErr=function(h){f.snackBar.open(Wn(h)||"Error with network request","close",{panelClass:"error"})}};W(E8,Z);E8.\u0275dir=Z.\u0275dir;E8.prototype.isThinking=function(){return this.issues.isThinking()};
var Xrb=function(a){a.issuePicker.open({title:"Add Duplicate",allowMultipleIds:!1,edgeType:"duplicate"},a.didChooseDupes)};E8.\u0275fac=function(a){return new (a||E8)(A(xJ),A(BH),A(SP),A(SF),A(O7))};
E8.\u0275cmp=p({type:E8,selectors:[["ng-component"]],features:[qg],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&&(E(0,"section",0),
P(1,bsb,5,4,"ng-container",1),U(2,"async"),F(),P(3,csb,2,0,"aside",2));a&2&&(z(1),D("ngIf",V(2,2,b.duplicateIds$)),z(2),D("ngIf",b.isThinking()))},dependencies:[yw,HG,tA,uA,NC,zM,D8,Ew],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=od({type:F8});F8.\u0275inj=Wc({imports:[Mw,ty,Ky,wx,xx,LG,YC,yN,ID,OC,JN,FP,hP,PP,JT]});var G8=function(a,b,c,d){Z.call(this);this.preferences=a;this.activeSession=b;this.clearcut=c;this.analytics=d;this.enableCommentFilters=DE(this.activeSession,"enableCommentFiltering");this.selectedFilter=null;a=this.activeSession.isInternalSession();Jt.description=a?"Including CLs, Blunderbuss, etc.":"Including all automated comments";this.filters=vIc;this.showRecentEventsFirst=!1};W(G8,Z);G8.\u0275dir=Z.\u0275dir;
G8.prototype.ngOnInit=function(){var a=this;this.preferences.showRecentEventsFirst$.pipe(Gf(nk),dg(this.destroyed$)).subscribe(function(b){a.showRecentEventsFirst=b});this.preferences.commentFilterPreferences$.pipe(dg(this.destroyed$)).subscribe(function(b){b.commentFilter?a.selectedFilter=ksb(b.commentFilter):(a.selectedFilter=$I(a.preferences).showFullHistory?hsb:Jt,a.preferences.save({commentFilterPreferences:{commentFilter:a.selectedFilter.commentFilterType}}).pipe(dg(a.destroyed$)).subscribe())})};
G8.\u0275fac=function(a){return new (a||G8)(A(ZI),A(Vt),A(kH),A(wH))};
G8.\u0275cmp=p({type:G8,selectors:[["b-event-stream-header"]],features:[qg],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&&(E(0,"div",0)(1,"h4",1),Q(2,"Comments"),F(),E(3,"div",2),P(4,esb,5,3,"mat-form-field",3),E(5,"button",4),K("click",function(){Bva("hasClickedCommentSortBtn")(!0);var c=!b.showRecentEventsFirst;mH(b.clearcut,"click_recentFirst_"+c);b.preferences.save({showRecentEventsFirst:c}).pipe(dg(b.destroyed$)).subscribe()}),P(6,fsb,
4,0,"ng-container",5),P(7,gsb,4,0,"ng-container",5),F()()());a&2&&(z(4),D("ngIf",b.enableCommentFilters),z(2),D("ngIf",!b.showRecentEventsFirst),z(1),D("ngIf",b.showRecentEventsFirst))},dependencies:[xw,yw,jB,tA,XA,lP,kP,vA],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 hsb={name:"Full history",description:"Including everything with audit trail",displayName:"Full history",commentFilterType:"FULL_HISTORY"},Jt={name:"All comments and updates",description:"Including CLs, Blunderbuss, etc.",displayName:"All comments",commentFilterType:"ALL_COMMENTS"},isb={name:"Users' comments",description:"All human generated comments",displayName:"Users",commentFilterType:"HUMAN_ONLY"},jsb={name:"Team and assignee comments",description:"Issue's owning team and assignee",displayName:"Team and assignee",
commentFilterType:"TEAM_AND_ASSIGNEE"},vIc=[hsb,Jt,isb,jsb];var H8=function(a){this.matDialogService=a;this.reactionState$=new C.ReplaySubject(1);this.issueId="";this.emails$=this.reactionState$.pipe(Gf(nk),B(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(Gf(nk),B(function(b){return 5<b.count}));this.overflowReactionCount$=this.reactionState$.pipe(Gf(nk),Gf(function(b){return 5<b.count}),B(function(b){return b.count-
5}))};Xi.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)(A(IA))};
H8.\u0275cmp=p({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&&(E(0,"div",0)(1,"div",1),P(2,nsb,6,5,"ng-container",2),U(3,"async"),
P(4,osb,6,3,"span",3),U(5,"async"),F()());a&2&&(z(2),D("ngForOf",V(3,2,b.emails$)),z(2),D("ngIf",V(5,4,b.isOverflowReactionCount$)))},dependencies:[xw,yw,Ew],styles:[".onedev-hovercard-content[_ngcontent-%COMP%]{width:auto;max-width:400px}.normal-link.unstyled-button[_ngcontent-%COMP%]{color:#1a73e8;color:var(--link)}"]});var I8=function(){};I8.\u0275fac=function(a){return new (a||I8)};I8.\u0275cmp=p({type:I8,selectors:[["b-comment-edit-timestamp-message"]],inputs:{event:"event"},decls:1,vars:1,consts:[[4,"ngIf"],["mode","datetime",3,"timestamp"]],template:function(a,b){a&1&&P(0,qsb,7,2,"ng-container",0);a&2&&D("ngIf",b.event.commentLastModifiedAtDate)},dependencies:[yw,cL],encapsulation:2,changeDetection:0});var J8=function(){this.texts=[]};J8.prototype.getIssueId=function(a){return a.text};J8.prototype.trackByIndex=function(a){return a};J8.\u0275fac=function(a){return new (a||J8)};
J8.\u0275cmp=p({type:J8,selectors:[["b-tagged-text"]],inputs:{texts:"texts"},decls:1,vars:2,consts:[[4,"ngFor","ngForOf","ngForTrackBy"],[3,"ngSwitch"],[3,"email","withProfile",4,"ngSwitchCase"],[3,"href","issueId",4,"ngSwitchCase"],[4,"ngSwitchDefault"],[3,"email","withProfile"],[3,"href","issueId"]],template:function(a,b){a&1&&P(0,usb,5,3,"ng-container",0);a&2&&D("ngForOf",b.texts)("ngForTrackBy",b.trackByIndex)},dependencies:[rM,xw,zw,Aw,Bw,BP],encapsulation:2,changeDetection:0});var K8=function(a){this.hotlists=a;this.HOTLIST_SEARCH=Ht.HOTLIST_SEARCH};K8.\u0275fac=function(a){return new (a||K8)(A(hH))};K8.\u0275cmp=p({type:K8,selectors:[["hotlist-link"]],inputs:{id:"id"},decls:3,vars:4,consts:[[3,"href"]],template:function(a,b){a&1&&(E(0,"a",0),Q(1),U(2,"async"),F());if(a&2){var c;D("href",b.HOTLIST_SEARCH(b.id),Ie);z(1);Sg((null==(c=V(2,2,b.hotlists.watch(b.id)))?null:c.name)||b.id)}},dependencies:[Ew],encapsulation:2,changeDetection:0});var L8=function(a){var b=this;this.componentFridge=a;this.id$=new C.ReplaySubject(1);this.name$=this.id$.pipe(Qf(),cg(function(c){return b.componentFridge.watchOne(c).pipe(B(function(d){var e;return d?O1a(null==(e=d.componentPathInfo)?void 0:e.componentPathName,c):c}))}))};L8.prototype.ngOnChanges=function(){this.id$.next(this.id)};L8.\u0275fac=function(a){return new (a||L8)(A(xF))};
L8.\u0275cmp=p({type:L8,selectors:[["plain-component-path"]],inputs:{id:"id"},features:[Hd],decls:6,vars:4,consts:[[3,"onedevHovercardTrigger"],["thisHovercard","onedevHovercard"],[4,"onedevHovercardLazyBody"],[3,"onedevIsHovercardReady","componentId"],["cardBody",""]],template:function(a,b){a&1&&(E(0,"span",0),Q(1),U(2,"async"),F(),E(3,"onedev-hovercard",null,1),P(5,vsb,3,2,"ng-container",2),F());if(a&2){var c=O(4);D("onedevHovercardTrigger",c);z(1);Sg(V(2,2,b.name$)||b.id)}},dependencies:[iK,jK,
nK,kK,GY,Ew],encapsulation:2,changeDetection:0});var Nsb=function(a){return{"bv2-diff-newvalue-nextline":a}},gtb=function(a,b,c){return{diff:a,change:b,isLast:c}},M8=function(a,b){Z.call(this);this.activeSession=a;this.preferences=b;this.customFieldMap={};this.effortEnabled=!0;this.isStringArray=Jj;this.isLinkedItemArray=Ara;this.isIssueDiff=xra;this.isHotlistDiff=yra};W(M8,Z);M8.\u0275dir=Z.\u0275dir;M8.prototype.getAccessLimitLevel=function(a){return s2a(a)};
var wIc=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)},xIc=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)};M8.prototype.ngOnInit=function(){var a=this;this.preferences.showRecentEventsFirst$.pipe(Gf(nk),dg(this.destroyed$)).subscribe(function(b){2>a.internalDiffs.length||(b&&wIc(a)||!b&&xIc(a))&&a.internalDiffs.reverse()})};M8.prototype.trackByIndex=function(a){return a};
var stb=function(a,b,c){return"<none>"===rc(b,c)?!1:b.customFieldId&&a.customFieldMap[b.customFieldId]&&"DATE"===a.customFieldMap[b.customFieldId].type?!0:!1},ttb=function(a,b,c){return"<none>"===rc(b,c)?!1:b.customFieldId&&a.customFieldMap[b.customFieldId]&&"REPEATED_DATE"===a.customFieldMap[b.customFieldId].type?!0:!1};M8.prototype.asNumber=function(a){return Number(a)};
M8.prototype.customFieldName=function(a){if(a.customFieldId){var b;return(null==(b=this.customFieldMap[a.customFieldId])?void 0:b.customFieldName)||"customfield"+a.customFieldId}return""};Xi.Object.defineProperties(M8.prototype,{diffs:{configurable:!0,enumerable:!0,set:function(a){this.internalDiffs=[].concat(r(a))}}});M8.\u0275fac=function(a){return new (a||M8)(A(Vt),A(ZI))};
M8.\u0275cmp=p({type:M8,selectors:[["b-issue-event-details"]],inputs:{diffs:"diffs",customFieldMap:"customFieldMap",effortSpecName:"effortSpecName",effortEnabled:"effortEnabled"},features:[qg],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&&(E(0,"div",0),P(1,Jtb,2,1,"div",1),F(),P(2,Stb,1,1,"ng-template",null,2,qh),P(4,Ttb,2,0,"ng-template",null,3,qh));a&2&&(z(1),D("ngForOf",b.internalDiffs)("ngForTrackBy",b.trackByIndex))},dependencies:[ww,xw,yw,Dw,zw,Aw,Bw,cL,TK,rM,K8,L8,Iw],styles:["\n/*# sourceMappingURL=issue_event_details.css.map */"],changeDetection:0});var N8=function(a){Z.call(this);var b=this;a.textDisplayPreferencesSubject$.pipe(dg(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:jj(c.commentDisplayOverride)}})};W(N8,Z);N8.\u0275dir=Z.\u0275dir;
N8.prototype.ngOnInit=function(){};N8.prototype.ngOnChanges=function(){this.rawComment=this.note.unlinkifiedComment||"";yIc(this);this.audience=this.issueAccessLevel&&"INTERNAL"===this.issueAccessLevel?"INTERNAL_AUDIENCE":"EXTERNAL_AUDIENCE";this.idPrefix="b"+this.issueId+"-c"+this.note.commentNumber};
var yIc=function(a){if(2>a.rawComment.split("\n").slice(0,3).filter(Boolean).length)a.rawComment=aya(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")}};N8.\u0275fac=function(a){return new (a||N8)(A(ZI))};
N8.\u0275cmp=p({type:N8,selectors:[["b-summarized-note-container"]],inputs:{note:"note",issueId:"issueId",formattingMode:"formattingMode",issueAccessLevel:"issueAccessLevel"},features:[qg,Hd],decls:1,vars:5,consts:[[3,"comment","issueId","audience","formattingMode","idPrefix"]],template:function(a,b){a&1&&H(0,"b-live-preview",0);a&2&&D("comment",b.rawComment)("issueId",b.issueId)("audience",b.audience)("formattingMode",b.formattingModeOverride||b.formattingMode)("idPrefix",b.idPrefix)},dependencies:[ZO],
styles:["[_nghost-%COMP%]     b-live-preview .md-preview{background-color:#fff;background-color:var(--background);padding:0}"]});var zIc=["commentActionsMenu"],AIc=["commentReactionButton"],cub=function(){return[]},sub=function(a){return{"no-upvote-reactions":a}},O8=function(a,b,c,d,e,f,h,l,q,u,x,y,G,L,M,T,S,X,aa){Z.call(this);var na=this;this.documentationLinks=a;this.activeSession=b;this.issueReferenceResolver=c;this.commentService=d;this.el=e;this.userAccess=f;this.butterBar=h;this.errorHandler=l;this.analytics=q;this.userPreferencesManager=u;this.issueDetailsBrain=x;this.editIssueService=y;this.issuePermissionService=G;
this.commentHistoryDialogService=L;this.issueCommentDialogsService=M;this.dateFormatter=T;this.paths=S;this.domSafe=X;this.eventsForIssueFridge=aa;this.isSummarized=!1;this.issueId$=new C.ReplaySubject(1);this.distinctIssueId$=this.issueId$.pipe(Qf());this.event$=new C.ReplaySubject(1);this.isCommentEvent=zn;this.isNonObfuscatedEmail=ip;this.commentActionMenuItems$=new C.BehaviorSubject([]);this.isInternalSession=this.activeSession.isInternalSession();this.enableTeamAnnotations=this.activeSession.isInternalSession();
this.formattingMode="PLAIN";this.commentRetentionOverride=null;this.wasSummarized=!1;a={};this.formattingModeMenuItems=(a.PLAIN={type:"select",action:function(){na.formattingMode="PLAIN";na.initializeActionsMenu()},label:"Classic",selected:!0},a.MARKDOWN={type:"select",action:function(){na.formattingMode="MARKDOWN";na.initializeActionsMenu()},label:"Markdown",selected:!1},a.LITERAL={type:"select",action:function(){na.formattingMode="LITERAL";na.initializeActionsMenu()},label:"Source",selected:!1},
a);this.isFormattingOverrideEnabled=!1;this.canEditComment$=this.event$.pipe(cg(function(ma){return na.issuePermissionService.canEditComment$(ma)}),$f({refCount:!0,bufferSize:1}));this.canEditComment=function(){return!!Zo(na.canEditComment$)};this.commentHistoryEnabled=DE(this.activeSession,"enableCommentHistoryUi");this.commentReactionsEnabled=DE(this.activeSession,"enableCommentReaction");this.effortSpec$=this.issueDetailsBrain.effortSpec$;this.isEffortEnabled$=this.issueDetailsBrain.isEffortEnabled$;
this.teamId$=this.issueDetailsBrain.teamId$;this.issue$=this.distinctIssueId$.pipe(cg(function(ma){return na.editIssueService.editableIssue$(ma)}));this.modifiedDateDisplay$=this.event$.pipe(B(function(ma){return new Date(ma.modifiedDate)}),cg(function(ma){return t3b(na.dateFormatter,ma)}));this.ariaLabelHeading$=(0,C.combineLatest)([this.event$,this.modifiedDateDisplay$]).pipe(B(function(ma){var Ca=m(ma);ma=Ca.next().value;Ca=Ca.next().value;if(null==ma)ma="";else{var Fa=[];ma.commentNumber&&Fa.push("Comment #"+
ma.commentNumber);ma.userPerformingActionUser&&Fa.push(Yj(ma.userPerformingActionUser));Fa.push("Modified: "+Ca);ma=Fa.join(", ")}return ma}));this.ReactionType=zSb;this.upvoteReactionCount$=this.event$.pipe(B(function(ma){var Ca,Fa,Ja;return null!=(Ja=null==(Ca=ma.commentReactions)?void 0:null==(Fa=Ca.get("UPVOTE"))?void 0:Fa.count)?Ja:0}));this.upvoteReactionCountDisplayString$=this.upvoteReactionCount$.pipe(B(function(ma){return ma&&0!==ma?999<ma?"999+":String(ma):null}));this.noUpvoteReactions$=
this.upvoteReactionCount$.pipe(B(function(ma){return 0===ma}));this.commentReactionsHovercardConfig=Object.assign({},new lK,{position:[U1b]});this.commentReactionIsSaving=!1;this.showRecentEventsFirst$=this.userPreferencesManager.showRecentEventsFirst$;this.showFullHistoryFromFiltering$=this.userPreferencesManager.commentFilterPreferences$.pipe(B(function(ma){var Ca;return null!=(Ca=ma.commentFilter)?Ca:""}));this.isFullHistoryPreference$=this.showFullHistoryFromFiltering$.pipe(B(function(ma){return"FULL_HISTORY"===
ma}));this.preEventDiffs$=(0,C.combineLatest)([this.event$,this.showRecentEventsFirst$]).pipe(B(function(ma){ma=m(ma);var Ca=ma.next().value;return ma.next().value?Ca.postDiffs:Ca.preDiffs}));this.postEventDiffs$=(0,C.combineLatest)([this.event$,this.showRecentEventsFirst$]).pipe(B(function(ma){ma=m(ma);var Ca=ma.next().value;return ma.next().value?Ca.preDiffs:Ca.postDiffs}));this.hasAclToUpvoteReact$=(0,C.combineLatest)([this.event$,this.issuePermissionService.hasAclToComment$]).pipe(B(function(ma){var Ca=
m(ma);ma=Ca.next().value;Ca=Ca.next().value;var Fa,Ja;return(null==(Fa=ma.commentReactions)?void 0:null==(Ja=Fa.get("UPVOTE"))?void 0:Ja.hasReacted)||Ca}));this.showCommentReactionHovercard$=(0,C.combineLatest)([this.issuePermissionService.hasAclToEdit$,this.upvoteReactionCount$]).pipe(B(function(ma){var Ca=m(ma);ma=Ca.next().value;Ca=Ca.next().value;return ma&&0<Ca&&5>=Ca}));this.isShowingCommentTimestamp$=this.isFullHistoryPreference$.pipe(B(function(ma){return ma&&Aub(na)&&(0<na.event.preDiffs.length||
0<na.event.postDiffs.length)}));this.getCommentNumberLink=function(ma){return mta(na.issueId,{comment:ma})}};W(O8,Z);O8.\u0275dir=Z.\u0275dir;
O8.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(dg(this.destroyed$)).subscribe(function(){zn(a.event)&&a.isRestricted()?a.mayReadPii$=a.mayReadPii():a.mayReadPii$=(0,C.of)(void 0)});BIc(this);this.userPreferencesManager.textDisplayPreferencesSubject$.pipe(dg(this.destroyed$)).subscribe(function(b){a.isFormattingOverrideEnabled=
null!=b.commentDisplayOverride;a.initializeActionsMenu()});this.issueDetailsBrain.canonicalIssueId$.pipe(dg(this.destroyed$)).subscribe(function(b){a.canonicalIssueId=b;a.initializeActionsMenu()});this.canEditComment$.pipe(dg(this.destroyed$)).subscribe(function(){a.initializeActionsMenu()});this.issuePermissionService.canChangeCommentRetention$.pipe(dg(this.destroyed$)).subscribe(function(){a.initializeActionsMenu()})};
var BIc=function(a){if(a.formattingMode){for(var b=m(Object.values(a.formattingModeMenuItems)),c=b.next();!c.done;c=b.next())c.value.selected=!1;a.formattingModeMenuItems[a.formattingMode].selected=!0}};g=O8.prototype;
g.updateCommentRetention=function(a){var b=this;this.event.commentNumber||$F(this.errorHandler,"Comment number is missing");this.analytics.trackEvent(Mp.RESTRICTED_CONTENT,"updateRetention","comment");this.commentService.updateRetention(this.issueId,this.event.commentNumber||0,a).pipe(dg(this.destroyed$)).subscribe({next:function(c){var d;b.event=Object.assign({},b.event,{commentRetention:c.piiRetention,commentRetentionState:null!=(d=c.piiRetentionState)?d:null});WF(b.butterBar,"Comment retention updated",
4E3);b.commentRetentionOverride=2===a?"INDEFINITE":"COMPONENT_DEFAULT";b.initializeActionsMenu()},error:function(){$F(b.errorHandler,"Comment retention update failed")}})};
g.ngOnChanges=function(a){a.issueId&&this.issueId$.next(String(this.issueId));a=a.event;var b;if(b=a&&this.deobfuscatedEvent)b=a.previousValue,a=a.currentValue,b=(null==b?void 0:b.commentVersion)!==(null==a?void 0:a.commentVersion)||(null==b?void 0:b.commentContentVerdict)!==(null==a?void 0:a.commentContentVerdict);b&&(this.deobfuscatedEvent=void 0);this.event.formattingMode&&("UNSPECIFIED_FORMATTING_MODE"===this.event.formattingMode?this.formattingMode="PLAIN":this.formattingMode=this.event.formattingMode);
this.initializeActionsMenu()};g.scrollCommentIntoView=function(a,b){this.issueReferenceResolver.visit({issueId:this.issueId,elementId:"comment"+b,event:a})};g.getRestrictedLabel=function(){return poa(Ak(this.event.commentContentVerdict))};g.isRestricted=function(){if(!this.isInternalSession)return!1;var a=Ak(this.event.commentContentVerdict);switch(a){case "NONE_DETECTED":case "PII_SEVERITY_UNSPECIFIED":return!1;case "PII":case "SPII":return!0;default:jj(a)}};
g.isDeleted=function(){return"DELETED"===this.event.commentDeletionStatus};var Lt=function(a){var b;return(null==(b=a.event)?void 0:b.commentRedacted)&&!a.deobfuscatedEvent};
O8.prototype.loadRestrictedComment=function(){var a=this;this.analytics.trackEvent(Mp.RESTRICTED_CONTENT,"viewRestrictedContent","comment");var b=String(this.issueId),c=this.event.commentNumber||0,d=zk(Ak(this.event.commentContentVerdict));this.commentService.get(b,c,d).pipe(Rf()).subscribe(function(e){e=mm(e);a.deobfuscatedEvent=Object.assign({},a.event,e);a.initializeActionsMenu()},function(e){var f;XF(a.butterBar,"Error showing comment "+c+": "+(null==(f=e.error)?void 0:f.message))})};
O8.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]}),BIc(this)),this.canEditComment()&&b.push({type:"action",action:function(){$tb(a.issueCommentDialogsService,String(a.issueId),a.deobfuscatedEvent||a.event).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},
label:"Edit comment",disabled:Lt(this)}),this.commentHistoryEnabled&&0<(this.event.commentVersion||0)&&!Lt(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:Lt(this)}),this.isDeleted()||this.activeSession.isAnonymous()||b.push({type:"action",action:function(){Lfc(a.issueCommentDialogsService,String(a.issueId),a.event.commentNumber).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Copy comment to",disabled:Lt(this)}),i1b(this.issuePermissionService,
this.event)&&b.push({type:"action",action:function(){Qfc(a.issueCommentDialogsService,String(a.issueId),a.event.commentNumber,a.event.commentEtag).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Delete comment"}),h1b(this.issuePermissionService,this.event)&&b.push({type:"action",action:function(){Nfc(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(){Rfc(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;Sfc(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)};O8.prototype.getUserEmailIfAvailable=function(){return ck(this.event.userPerformingActionUser)};var Aub=function(a){return zn(a.event)&&!!a.event.unlinkifiedComment};O8.prototype.showCommentHistoryDialog=function(a){return this.commentHistoryDialogService.show(this.issueId,a,-1)};
O8.prototype.mayReadPii=function(){var a=JF(this.userAccess,"reader","issues/"+this.issueId+"/comments/"+this.event.commentNumber);a.catch(function(b){sj("error: ",b);return!1});return(0,C.from)(a)};
var qub=function(a){if(Zo(a.hasAclToUpvoteReact$)){a.commentReactionIsSaving=!0;var b=tub(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);qF(a.eventsForIssueFridge,a.issueId,function(f){var h;f.events=Tra(f.events,null!=(h=a.event.commentNumber)?h:2,{commentReactions:d})});a.analytics.trackEvent(Mp.EDIT_ISSUE,
"click",b?"removeUpvoteReaction":"addUpvoteReaction")}})}},tub=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},rub=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};
Xi.Object.defineProperties(O8.prototype,{event:{configurable:!0,enumerable:!0,set:function(a){this.internalEvent=a;this.event$.next(a)},get:function(){return this.internalEvent}}});O8.\u0275fac=function(a){return new (a||O8)(A(SI),A(Vt),A(pM),A(wQ),A(ke),A(IF),A(VF),A(ZF),A(wH),A(ZI),A(HJ),A(bK),A(JJ),A(uQ),A(dT),A(bL),A(NG),A(PK),A(sF))};
O8.\u0275cmp=p({type:O8,selectors:[["b-history-event"]],viewQuery:function(a,b){a&1&&(ih(zIc,5),ih(AIc,5));if(a&2){var c;hh(c=kh())&&(b.commentActionsMenu=c.first);hh(c=kh())&&(b.commentReactionButton=c.first)}},inputs:{issueId:"issueId",issueAccessLevel:"issueAccessLevel",isSummarized:"isSummarized",event:"event"},features:[qg,Hd],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&&(P(0,Bub,43,33,"ng-container",0),U(1,"async"));a&2&&D("ngIf",V(1,1,b.issue$))},dependencies:[tL,fT,aP,ww,xw,yw,Dw,cL,iK,nK,M8,SK,DQ,hT,bO,UK,uM,CP,NC,N8,
tA,jB,H8,I8,J8,Ew],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 CIc={FULL:"full",SUMMARIZED:"summarized",FOLDED:"folded",HIDDEN:"hidden"},P8=function(a,b,c,d,e,f,h,l,q,u){Z.call(this);var x=this;this.formattedCommentsForIssueFridge=a;this.preferences=b;this.eventsForIssue=c;this.editIssueService=d;this.dynamicScrollIntoView=e;this.bLocation=f;this.elementRef=h;this.activeSession=l;this.routerEvents=q;this.analytics=u;this.issueId$=new C.ReplaySubject(1);this.internalIssueId="";this.eventDisplayModes=CIc;this.internalEvents=[];this.showRecentEventsFirst=null;
this.currentFilterLevel="FULL_HISTORY";this.enableCommentFiltering=DE(this.activeSession,"enableCommentFiltering");this.issue$=this.issueId$.pipe(cg(function(y){return x.editIssueService.editableIssue$(y)}));this.events$=new C.ReplaySubject(1);this.commentsToFormat$=new C.ReplaySubject(1);this.eventDisplayMode=new Map;this.commentNumbersDisplayed=new Set;this.foldedCommentsCounts=new Map;this.sendAnalytics=Nu(function(){var y=[].concat(r(document.querySelectorAll(".bv2-event-note, .bv2-event-major-status"))).map(function(G){return G.innerText}).join("").length;
x.analytics.trackEvent(Mp.EDIT_ISSUE,"updateCommentThread","visibleCharCount",y)},200);this.scrollToCommentOrAttachment=Nu(function(){var y=x.bLocation.hash();if(y&&x.internalEvents){var G,L=m(null!=(G=y.match(RegExp("(comment|attachment)([0-9]+)")))?G:[]);L.next();G=L.next().value;var M=L.next().value;L=G;var T=M;if("lastcomment"===y){L=Yra(x.internalEvents);if(-1===L)return;T=String(L);L="comment"}L&&T&&(y=x.internalEvents.findIndex(function(S){return S.commentNumber===Number(T)}),G=-1<y,M=x.internalEvents.flatMap(function(S){return S.attachments}).some(function(S){return S.attachmentId===
Number(T)}),G||M)&&(G&&"folded"===x.eventDisplayMode.get(y)&&(x.eventDisplayMode.set(y,"full"),DIc(x,y)),M&&(y=x.internalEvents.findIndex(function(S){return-1<S.attachments.findIndex(function(X){return X.attachmentId===Number(T)})}),x.eventDisplayMode.get(y)||(x.eventDisplayMode.set(y,"full"),DIc(x,y))),uIc(x.dynamicScrollIntoView,{elementId:L+T,parentElement:x.elementRef.nativeElement,scrollableContainerId:"bv2-edit-issue-details-scroll",scrollPadding:60}).pipe(dg(x.destroyed$)).subscribe())}},200)};
W(P8,Z);P8.\u0275dir=Z.\u0275dir;
P8.prototype.ngOnInit=function(){var a=this;this.preferences.showRecentEventsFirst$.pipe(Gf(nk),dg(this.destroyed$),Qf()).subscribe(function(b){a.showRecentEventsFirst!==b&&(a.showRecentEventsFirst=b,EIc(a))});(0,C.combineLatest)([this.events$,this.preferences.commentFilterPreferences$]).subscribe(function(b){b=m(b);var c=b.next().value,d=b.next().value;b=[];if(a.enableCommentFiltering&&d.commentFilter)for(a.currentFilterLevel=d.commentFilter,FIc(a,c,d.commentFilter),GIc(a),c=m(a.commentNumbersDisplayed.values()),
d=c.next();!d.done;d=c.next())b.push(a.internalIssueId+"-"+d.value);else for(c=m(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(Gf(nk),dg(this.destroyed$),cg(this.formattedCommentsForIssueFridge.watchSet)).subscribe(function(b){HIc(a,b)});this.routerEvents.navigationEnd$.pipe(dg(this.destroyed$)).subscribe(function(){a.internalEvents&&0!==a.internalEvents.length&&a.scrollToCommentOrAttachment()})};
var HIc=function(a,b){for(var c={$jscomp$loop$prop$i$2333:0};c.$jscomp$loop$prop$i$2333<a.internalEvents.length;c={$jscomp$loop$prop$i$2333:c.$jscomp$loop$prop$i$2333},c.$jscomp$loop$prop$i$2333++)if(Gub(a.eventDisplayMode.get(c.$jscomp$loop$prop$i$2333))&&zn(a.internalEvents[c.$jscomp$loop$prop$i$2333])){var d=b.find(function(f){return function(h){return h.id.commentId===a.internalEvents[f.$jscomp$loop$prop$i$2333].commentNumber}}(c));if(d){var e=a.internalEvents[c.$jscomp$loop$prop$i$2333];e.formattedComment=
d.formattedComment.formattedComment;e.formattingMode=d.formattedComment.formattingMode;a.internalEvents[c.$jscomp$loop$prop$i$2333]=Object.assign({},e)}}EIc(a)},FIc=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=IIc(b[c]);a.eventDisplayMode.set(c,d?"full":"hidden");zn(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=JIc(b[c]),a.eventDisplayMode.set(c,d?"full":"hidden"),zn(b[c])&&b[c].commentNumber&&d&&(d=void 0,a.commentNumbersDisplayed.add(null!=(d=b[c].commentNumber)?d:0));break;case "HUMAN_ONLY":KIc(a,b,function(e){var f;return null!=(f=e.isHumanAuthor&&e.isMajorEvent)?f:!0});break;case "TEAM_AND_ASSIGNEE":KIc(a,b,function(e){var f;return null!=(f=e.isCollaboratorAuthor&&e.isMajorEvent)?f:!0});break;default:for(c=0;c<b.length;c++)a.eventDisplayMode.set(c,"full"),
zn(b[c])&&b[c].commentNumber&&(d=void 0,a.commentNumbersDisplayed.add(null!=(d=b[c].commentNumber)?d:0))}a.sendAnalytics()},GIc=function(a){if("FULL_HISTORY"!==a.currentFilterLevel)for(var b=0;b<a.internalEvents.length;b++)zn(a.internalEvents[b])&&Hn(a.internalEvents[b])&&(a.eventDisplayMode.set(b,"summarized"),DIc(a,b))},KIc=function(a,b,c){for(var d=0,e=0,f=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(f)||a.foldedCommentsCounts.set(f,
{commentFoldedCount:d,eventFoldedCount:e});e=d=0;zn(b[h])&&b[h].commentNumber&&(l=void 0,a.commentNumbersDisplayed.add(null!=(l=b[h].commentNumber)?l:0))}else{if(zn(b[h])&&b[h].commentNumber||An(b[h]))d++,f=h;e++}}if(0<d||0<e)b=1===Yra(a.internalEvents)?a.showRecentEventsFirst?0:a.internalEvents.length:LIc(a),a.foldedCommentsCounts.set(b,{commentFoldedCount:d,eventFoldedCount:e})},LIc=function(a){return maa(a.internalEvents,function(b){var c;return null!=(c=b.isMajorEvent)?c:!1})},IIc=function(a){return zn(a)&&
!!a.unlinkifiedComment||An(a)||0<a.preDiffs.length||0<a.postDiffs.length},JIc=function(a){var b;return(null!=(b=a.isMajorEvent)?b:!1)&&(zn(a)&&!!a.unlinkifiedComment||An(a)||0<a.preDiffs.length||0<a.postDiffs.length)},EIc=function(a){if(!(2>a.internalEvents.length)){if(a.showRecentEventsFirst&&a.internalEvents[0].modifiedDate<=MIc(a,a.internalEvents).modifiedDate||!a.showRecentEventsFirst&&a.internalEvents[0].modifiedDate>=MIc(a,a.internalEvents).modifiedDate)if(a.internalEvents.reverse(),a.enableCommentFiltering){var b;
FIc(a,a.internalEvents,null!=(b=a.currentFilterLevel)?b:"FULL_HISTORY");GIc(a)}a.internalEvents&&0!==a.internalEvents.length&&a.scrollToCommentOrAttachment()}},MIc=function(a,b){var c;return null!=(c=b.find(function(d){return a.internalEvents[0].modifiedDate!==d.modifiedDate}))?c:b[1]};P8.prototype.isLoading=function(){return this.formattedCommentsForIssueFridge.isThinking()||this.eventsForIssue.isThinking(this.internalIssueId)};P8.prototype.trackEventByVersion=function(a,b){return b.version};
var DIc=function(a,b){if(a.foldedCommentsCounts.has(b)){var c,d,e=null!=(d=null==(c=a.foldedCommentsCounts.get(b))?void 0:c.commentFoldedCount)?d:0,f,h;c=null!=(h=null==(f=a.foldedCommentsCounts.get(b))?void 0:f.eventFoldedCount)?h:0;1<e&&a.foldedCommentsCounts.set(b-1,{commentFoldedCount:e-1,eventFoldedCount:c-1});a.foldedCommentsCounts.delete(b)}else for(e=new Map([].concat(r(a.foldedCommentsCounts.entries())).sort(function(l,q){return l[0]-q[0]})),e=m(e.entries()),f=e.next();!f.done;f=e.next())if(h=
m(f.value),f=h.next().value,h=h.next().value,f>b){if(0===h.commentFoldedCount-(f-b))a.foldedCommentsCounts.set(f,{commentFoldedCount:h.commentFoldedCount-1,eventFoldedCount:h.eventFoldedCount-1});else{e=0;for(c=b;c<f;c++)(zn(a.internalEvents[c])||An(a.internalEvents[c]))&&e++;a.foldedCommentsCounts.set(f,{commentFoldedCount:e,eventFoldedCount:f-b});a.foldedCommentsCounts.set(b-1,{commentFoldedCount:h.commentFoldedCount-e-1,eventFoldedCount:h.eventFoldedCount-(f-b)-1});a.foldedCommentsCounts.delete(b)}break}},
Gub=function(a){return"summarized"===a||"full"===a};Xi.Object.defineProperties(P8.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(r(b));b=Object.assign({},b[0],{attachments:[],commentNumber:null,formattedComment:void 0,taggedSummary:[],isMajorEvent:!1});a[0]=b}a&&!Mra(this.internalEvents,a)&&(this.internalEvents=a,this.events$.next(a))}}});
P8.\u0275fac=function(a){return new (a||P8)(A(gG),A(ZI),A(sF),A(bK),A(y8),A(MG),A(ke),A(Vt),A(vH),A(wH))};
P8.\u0275cmp=p({type:P8,selectors:[["b-event-stream"]],inputs:{issueAccessLevel:"issueAccessLevel",showFullHistory:"showFullHistory",issueId:"issueId",events:"events"},features:[qg],decls:4,vars:4,consts:[["class","padded margined",4,"ngIf"],[1,"bv2-edit-issue-history-stream"],[4,"ngFor","ngForOf","ngForTrackBy"],[1,"padded","margined"],[4,"ngIf"],["class","bv2-event",4,"ngIf"],[1,"fold-indication"],["mat-stroked-button","","color","primary",1,"gmat-button",3,"click"],[1,"horizontal-divider"],[1,
"bv2-event"],[3,"issueId","issueAccessLevel","event","isSummarized"]],template:function(a,b){a&1&&(P(0,Cub,2,0,"aside",0),E(1,"div",1),P(2,Hub,3,2,"ng-container",2),F(),P(3,Iub,2,0,"aside",0));a&2&&(D("ngIf",b.isLoading()&&b.showRecentEventsFirst),z(2),D("ngForOf",b.internalEvents)("ngForTrackBy",b.trackEventByVersion),z(1),D("ngIf",b.isLoading()&&!b.showRecentEventsFirst))},dependencies:[xw,yw,O8,tA,zM],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 Q8=function(a,b){this.message=a;this.snackbarRef=b;this.DEFAULT_MESSAGE="New data is available. Click to refresh."};Q8.prototype.onDismiss=function(a){this.snackbarRef.dismiss();a.stopPropagation()};Q8.\u0275fac=function(a){return new (a||Q8)(A(eWb),A(MF))};
Q8.\u0275cmp=p({type:Q8,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&&(E(0,"div",0),K("click",function(){return cta(b.snackbarRef)}),
H(1,"mat-icon",1),E(2,"p",2),Q(3),F()(),E(4,"button",3),K("click",function(c){return b.onDismiss(c)}),H(5,"mat-icon",4),F());a&2&&(z(3),R(" ",b.message||b.DEFAULT_MESSAGE," "))},dependencies:[jB,tA],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 R8=function(a){this.snackbar=a},NIc=function(a){var b=MM.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(Q8,c);return a.currentSnackBar};R8.\u0275fac=function(a){return new (a||R8)(n(SF))};R8.\u0275prov=Vc({token:R8,factory:R8.\u0275fac,providedIn:"root"});var S8=function(a,b,c,d,e,f,h,l,q,u,x){Z.call(this);var y=this;this.eventsForIssue=a;this.issueFetchResponseFridge=b;this.preferences=c;this.activeSession=d;this.commentHistoryDialogService=e;this.issueDetailsBrain=f;this.errorHandler=h;this.refreshDataNotification=l;this.eventsForIssueWatcher=q;this.analytics=u;this.appEvents=x;this.id$=new C.ReplaySubject(1);this.events$=this.id$.pipe(cg(this.eventsForIssue.watch),B(function(G){var L;return null!=(L=null==G?void 0:G.events)?L:[]}));this.issue$=
this.id$.pipe(cg(function(G){return FH(y.issueFetchResponseFridge,G)}));this.accessLevel$=this.issue$.pipe(B(function(G){var L,M;return null==G?void 0:null==(L=G.issue)?void 0:null==(M=L.accessLimit)?void 0:M.accessLevel}));this.enableInlineScreenshots$=this.preferences.showInlineImages$.pipe(B(function(G){return G&&DE(y.activeSession,"enableImageSummary")}),bg(!0))};W(S8,Z);S8.\u0275dir=Z.\u0275dir;
S8.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=Zo(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($ac(this.eventsForIssueWatcher,Zo(this.id$)).subscribe(function(){OIc(a)}));this.subscriptions.add(this.events$.subscribe(function(){var b;
null==(b=a.refreshDataNotification.currentSnackBar)||b.dismiss()}));this.destroyed$.pipe(Rf()).subscribe(function(){var b;null==(b=a.refreshDataNotification.currentSnackBar)||b.dismiss()})};
var OIc=function(a){a.analytics.trackEvent(Mp.PUSH_UPDATE,"display","comment");NIc(a.refreshDataNotification)._afterDismissed.subscribe(function(b){b.dismissedByAction?(a.analytics.trackEvent(Mp.PUSH_UPDATE,"fetchResource","comment"),GH(a.issueFetchResponseFridge,Zo(a.id$)),a.eventsForIssue.poke(Zo(a.id$)),a.appEvents.scrollToCommentBox.next()):a.analytics.trackEvent(Mp.PUSH_UPDATE,"dismiss","comment")})};Xi.Object.defineProperties(S8.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.id$.next(a)}}});
S8.\u0275fac=function(a){return new (a||S8)(A(sF),A(EH),A(ZI),A(Vt),A(uQ),A(HJ),A(ZF),A(R8),A(zR),A(wH),A(cG))};
S8.\u0275cmp=p({type:S8,selectors:[["issue-event-list"]],inputs:{id:"id"},features:[qg],decls:6,vars:15,consts:[[3,"issueId","events","issueAccessLevel","showFullHistory"]],template:function(a,b){a&1&&(H(0,"b-event-stream",0),U(1,"async"),U(2,"async"),U(3,"async"),U(4,"async"),U(5,"async"));a&2&&(D("issueId",V(2,7,b.id$))("events",V(3,9,b.events$))("issueAccessLevel",V(4,11,b.accessLevel$))("showFullHistory",V(5,13,b.preferences.showFullHistory$)),ug("data-will-inline-screenshots",V(1,5,b.enableInlineScreenshots$)?
!0:null))},dependencies:[P8,Ew],styles:["[_nghost-%COMP%]     .bv2-edit-issue-history-stream {\n      padding-left: 0;\n    }"]});var Rub=function(a,b){return{empty:a,"never-focused":b}},T8=function(a,b,c,d,e,f,h,l,q){var u=this;this.issuePermissionService=a;this.userPreferencesManager=b;this.editIssueService=c;this.analytics=d;this.draftStore=e;this.activeSession=f;this.issueDetailsBrain=h;this.issueCommentDialogsService=l;this.appEvents=q;this.issueId$=new C.ReplaySubject(1);this.distinctIssueId$=this.issueId$.pipe(Qf());this.issue$=this.distinctIssueId$.pipe(cg(function(x){return u.editIssueService.editableIssue$(x)}));this.wasFocused=
!1;this.enableRecaptcha=DE(this.activeSession,"enableRecaptcha");this.recaptchaResponse$=new C.BehaviorSubject("");this.commentSubmitted=new Rv;this.HOTKEYS=MM;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(B(function(x){return x.autoCcOnComment}));
this.issueCommentDraft$=this.issueId$.pipe(B(function(x){return u.editIssueService.issueCommentDraft(x)}));this.judgementForNewContent$=this.issueCommentDraft$.pipe(cg(function(x){return x.judgementForNewContent$}));this.comment$=this.issueCommentDraft$.pipe(cg(function(x){return x.comment$}));this.events$=this.issueDetailsBrain.eventsJs$;this.savingState$=this.issueId$.pipe(B(function(x){return u.editIssueService.savingState(x)}));this.isSaving$=this.savingState$.pipe(cg(function(x){return Gp(x.propertiesBeingSaved,
op("comment"))}));this.commentLimitReached$=this.events$.pipe(B(function(x){var y=u.activeSession.getCommentNumberLimit();return Yra(x)>=y}));this.commentPlaceholderText$=this.commentLimitReached$.pipe(B(function(x){return x?"The comment limit has been reached and no additional comments are permitted.":u.activeSession.isAnonymous()?"Sign in to use full features.":u.issuePermissionService.hasAclToComment()?"Add a comment.":"You do not have access to comment on this issue."}));this.commentBoxEnabled$=
(0,C.combineLatest)([this.hasAclToComment$,this.commentLimitReached$,this.isSaving$]).pipe(B(function(x){var y=m(x);x=y.next().value;var G=y.next().value;y=y.next().value;return x&&!G&&!y}));this.commentDraftUpdated$=new C.BehaviorSubject(!0);this.commentButtonEnabled$=(0,C.combineLatest)([this.hasAclToComment$,this.comment$,this.isSaving$,this.recaptchaResponse$,this.commentDraftUpdated$]).pipe(B(function(x){var y=m(x);x=y.next().value;var G=y.next().value,L=y.next().value;y=y.next().value;return x&&
V0b(G)&&!L&&(!u.enableRecaptcha||""!==y)}));this.empty$=(0,C.combineLatest)([this.comment$,this.commentDraftUpdated$]).pipe(B(function(x){var y,G;return null!=(G=null==(y=m(x).next().value)?void 0:y.value)?G:""}),B(function(x){return 0===x.length}))},Kub=function(a){var b;return of(function(c){b=!$I(a.userPreferencesManager).autoCcOnComment;a.analytics.trackEvent(Mp.EDIT_ISSUE,"toggleAutoCcOnComment",String(b));return c.yield((0,C.firstValueFrom)(a.userPreferencesManager.save({autoCcOnComment:b})),
0)})};T8.prototype.saveCommentDraft=function(){var a=this,b;return of(function(c){if(1==c.nextAddress)return c.yield((0,C.firstValueFrom)(a.comment$),2);b=c.yieldResult;a.draftStore.$window.sessionStorage.setItem(ep(a.internalIssueId),b.value);a.commentDraftUpdated$.next(!0);tf(c)})};
T8.prototype.submitCommentBox=function(){var a=this,b;return of(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();tf(c)})};T8.prototype.showNewContentJudgementDialog=function(){var a=this;return of(function(b){return b.yield(a.issueCommentDialogsService.showNewContentJudgementDialog(a.internalIssueId),0)})};
Xi.Object.defineProperties(T8.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a);this.internalIssueId=a},get:function(){return this.internalIssueId}}});T8.\u0275fac=function(a){return new (a||T8)(A(JJ),A(ZI),A(bK),A(wH),A(RI),A(Vt),A(HJ),A(dT),A(cG))};
T8.\u0275cmp=p({type:T8,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","onHotkey","onChange","onFocusEvent","onSubmit","onRestrict"],["commentBox",""],["recaptchaContainer","",4,"ngIf"],["additionalToolbarItems",
"",1,"goog-inline-block"],["format","fill",3,"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&&(P(0,Tub,2,1,"ng-container",0),U(1,"async"));a&2&&D("ngIf",V(1,1,b.issue$))},dependencies:[cQ,g_,$O,ww,yw,qP,LM,DO,aT,Ew],styles:["[_nghost-%COMP%]{display:block;margin-bottom:8px}[_nghost-%COMP%]     .bv2-edit-issue-add-comment{padding-left:0;padding-right:0}textarea[_ngcontent-%COMP%]{display:block;margin:0;margin-bottom:8px;max-height:40vh;min-height:130px;resize:none;width:100%}button[_ngcontent-%COMP%], mat-checkbox[_ngcontent-%COMP%]{margin-right:8px}.recent-first   [_nghost-%COMP%]     .empty.never-focused textarea{min-height:32px;height:32px !important}.recent-first   [_nghost-%COMP%]     .empty.never-focused textarea:hover{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}.recent-first   [_nghost-%COMP%]     .empty.never-focused b-live-preview{display:none}\n/*# sourceMappingURL=post_comment.css.map */"]});var PIc=[[["","mainSegment",""]],[["","dropdownSegment",""]]],U8=function(){this.mainSegment=!0};U8.\u0275fac=function(a){return new (a||U8)};U8.\u0275dir=qd({type:U8,selectors:[["button","mainSegment",""]],hostVars:2,hostBindings:function(a,b){a&2&&Fg("main-segment",b.mainSegment)}});var V8=function(){this.dropdownAriaLabel=this.dropdownTooltip="";this.disabled=!1;this.dialogClosed=new Rv;this.dialogOpened=new Rv};V8.prototype.ngAfterContentInit=function(){};
V8.prototype.ngOnChanges=function(a){a.dropdownTooltip&&!this.dropdownAriaLabel&&(this.dropdownAriaLabel=this.dropdownTooltip)};Xi.Object.defineProperties(V8.prototype,{expanded:{configurable:!0,enumerable:!0,get:function(){var a,b;return null!=(b=null==(a=this.trigger)?void 0:a.isOpen)?b:!1}}});V8.\u0275fac=function(a){return new (a||V8)};
V8.\u0275cmp=p({type:V8,selectors:[["split-button"]],contentQueries:function(a,b,c){a&1&&jh(c,U8,5);if(a&2){var d;hh(d=kh())&&(b.mainSegment=d.first)}},viewQuery:function(a,b){a&1&&ih(QM,5);if(a&2){var c;hh(c=kh())&&(b.trigger=c.first)}},hostVars:2,hostBindings:function(a,b){a&2&&Fg("expanded",b.expanded)},inputs:{dropdownTooltip:"dropdownTooltip",dropdownAriaLabel:"dropdownAriaLabel",disabled:"disabled"},outputs:{dialogClosed:"dialogClosed",dialogOpened:"dialogOpened"},exportAs:["splitButton"],features:[Hd],
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&&(Ng(PIc),Og(0),E(1,"button",0,1),K("click",function(){var d,
e;if(null!=(e=null==(d=b.trigger)?void 0:d.isOpen)&&e){var f;null==(f=b.trigger)||f.close()}else{var h;null==(h=b.trigger)||h.open()}})("onedevPopupPanelTriggerOpened",function(){return b.dialogOpened.emit()})("onedevPopupPanelTriggerClosed",function(){return b.dialogClosed.emit()}),H(3,"mat-icon",2),F(),E(4,"onedev-popup-panel",3,4)(6,"div",5),Og(7,1),F()());if(a&2){var c=O(5);z(1);D("onedevPopupPanelTriggerFor",c)("matTooltip",b.dropdownTooltip)("disabled",b.disabled);ug("aria-label",b.dropdownAriaLabel)}},
dependencies:[tA,jB,NC,PM,QM],styles:["[_nghost-%COMP%]    {border:1px solid;border-color:#dadce0;border-color:var(--hairline);border-radius:5px;display:flex;overflow:hidden}[_nghost-%COMP%]     .main-segment{border-radius:5px 0 0 5px;padding-left:8px;padding-right:8px;line-height:13px}[_nghost-%COMP%]    .expanded .dropdown-button mat-icon{transform:rotate(-180deg)}[_nghost-%COMP%]     .dropdown-button:not([disabled]) mat-icon{color:#5f6368;color:var(--icon)}[_nghost-%COMP%]     .dropdown-button{border-left:1px solid;border-color:#dadce0;border-color:var(--divider);border-radius:0;width:30px}[_nghost-%COMP%]     .dropdown-button mat-icon{width:18px;transition:250ms transform}\n/*# sourceMappingURL=split_button.css.map */"],
changeDetection:0});var avb=function(a){return{voteCount:a}},W8={},QIc=(W8.REJECTION_REASON_UNSPECIFIED="Unspecified",W8.REVERSED="The relationship is reversed",W8.SIMILAR="The issues are similar, but not duplicate",W8.NOT_SIMILAR="The issues are not similar",W8.OTHER="Other",W8),RIc=new Set(["VERY_HIGH","HIGH"]),Y8=function(a,b,c,d,e,f,h,l,q,u){Z.call(this);var x=this;this.issueFridge=a;this.eventsForIssueFridge=b;this.paths=c;this.recommendationsService=d;this.errorHandler=e;this.editIssueService=f;this.analytics=
h;this.scrolledOnScreenService=l;this.elementRef=q;this.issueRecommendationsFridge=u;this.STATUS_FULL_TEXT=gF;this.STATUS_TERSE=cF;this.REJECT_REASON_TO_DISPLAY=QIc;this.currentIssueId$=new C.ReplaySubject(1);this.currentIssue$=this.currentIssueId$.pipe(cg(function(y){return x.issueFridge.watch(y)}));this.isAlreadyADuplicate$=this.currentIssue$.pipe(B(function(y){return"DUPLICATE"===(null==y?void 0:y.snapshot[0].status)}));this.recommendation$=this.currentIssueId$.pipe(cg(function(y){return x.issueRecommendationsFridge.watch(y+
"-ISSUE_DEDUPLICATION",void 0)}),B(function(y){return null==y?void 0:y.recommendations.filter(function(G){return RIc.has(G.confidence)})}),B(function(y){return null==y?void 0:y[0]}));this.canonicalIssue$=this.recommendation$.pipe(B(function(y){var G;return null==y?void 0:null==(G=y.content)?void 0:G.recommendedIssue}));this.canonicalIssueId$=this.canonicalIssue$.pipe(B(function(y){return null==y?void 0:y.issueId}));this.canonicalComponentId$=this.canonicalIssue$.pipe(B(function(y){var G;return null!=
(G=null==y?void 0:y.snapshot[0].componentId)?G:void 0}));this.canonicalAccessLevel$=this.canonicalIssue$.pipe(B(function(y){var G;return null==y?void 0:null==(G=y.accessLimit)?void 0:G.accessLevel}));this.isCanonicalInExternalComponent$=this.canonicalAccessLevel$.pipe(B(function(y){return!(!y||"INTERNAL"===y)}));this.canonicalTitle$=this.canonicalIssue$.pipe(B(function(y){return null==y?void 0:y.snapshot[0].title}));this.canonicalPriority$=this.canonicalIssue$.pipe(B(function(y){return null==y?void 0:
y.snapshot[0].priority}));this.canonicalVoteCount$=this.canonicalIssue$.pipe(B(function(y){var G;return null==y?void 0:null==(G=y.aggregatedData)?void 0:G.voteCount}));this.canonicalCreateMicros$=this.canonicalIssue$.pipe(B(function(y){var G;return null==y?void 0:null==(G=y.aggregatedData)?void 0:G.createdTimeMicros}));this.canonicalDuplicates$=this.canonicalIssue$.pipe(B(function(y){var G;return null!=(G=null==y?void 0:y.snapshot[0].duplicateIssueId)?G:[]}));this.statusForChip$=this.canonicalIssue$.pipe(B(function(y){return null==
y?void 0:y.snapshot[0].status}),B(function(y){return rl[y]}));this.canonicalEvents$=this.canonicalIssueId$.pipe(cg(function(y){return x.eventsForIssueFridge.watch(y)}),B(function(y){var G;return null!=(G=null==y?void 0:y.events)?G:[]}));this.canonicalDescription$=this.canonicalEvents$.pipe(B(function(y){return y[0]}),B(function(y){var G;return{formattedComment:null==y?void 0:y.formattedComment,commentNumber:1,unlinkifiedComment:(null==y?void 0:y.unlinkifiedComment)||"",formattingMode:null!=(G=null==
y?void 0:y.formattingMode)?G:"UNSPECIFIED_FORMATTING_MODE"}}));this.canonicalComments$=this.canonicalEvents$.pipe(B(function(y){return y.filter(zn)}));this.wasRejected$=new C.BehaviorSubject(!1);this.show$=(0,C.combineLatest)([this.isAlreadyADuplicate$,this.canonicalIssue$,this.wasRejected$]).pipe(B(function(y){var G=m(y);y=G.next().value;var L=G.next().value;G=G.next().value;return!y&&!!L&&!G}));this.isSaving=!1;this.REJECT_REASONS=["NOT_SIMILAR","SIMILAR","REVERSED","OTHER"]};W(Y8,Z);
Y8.\u0275dir=Z.\u0275dir;Y8.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.canonicalIssue$.subscribe(function(b){a.issueFridge.announce(b)}));this.subscriptions.add((0,C.combineLatest)([this.show$.pipe(Gf(Boolean)),r7b(this.scrolledOnScreenService,this.elementRef.nativeElement)]).pipe(Rf()).subscribe(function(){a.analytics.trackEvent(Mp.EDIT_ISSUE,"view","canonical-recommendation");SIc(a,"VIEWED")}))};
Y8.prototype.accept=function(){var a=this,b,c;return of(function(d){switch(d.nextAddress){case 1:return a.isSaving=!0,b=Zo(a.canonicalIssueId$),pf(d,2,3),d.yield(v1b(a.editIssueService,a.currentIssueId,b),5);case 5:return a.analytics.trackEvent(Mp.EDIT_ISSUE,"accept","canonical-recommendation"),d.yield(SIc(a,"ACCEPTED"),3);case 3:qf(d);a.isSaving=!1;rf(d,0);break;case 2:c=sf(d),aG(a.errorHandler,c),d.jumpTo(3)}})};
Y8.prototype.reject=function(a){var b=this;return of(function(c){b.wasRejected$.next(!0);b.analytics.trackEvent(Mp.EDIT_ISSUE,"reject","canonical-recommendation");return c.yield(SIc(b,"REJECTED",a),0)})};
var SIc=function(a,b,c){var d,e;return of(function(f){if(1==f.nextAddress){pf(f,2);d=Zo(a.recommendation$).name;var h=f.yield,l=C.firstValueFrom;var q=a.recommendationsService;var u=[{parent:d,userEngagement:{type:b,rejectionReason:c}}];u=(new WM).setRequestsList(u.map(KCa));q=q.executor.post({url:"action/recommendations/engagements/batch",body:u,responseConstructor:null});return h.call(f,l.call(C,q),4)}if(2!=f.nextAddress)return au(f,0);e=sf(f);aG(a.errorHandler,e);tf(f)})};
Y8.prototype.getIssueLink=function(a){return this.paths.editIssue(a)};Xi.Object.defineProperties(Y8.prototype,{currentIssueId:{configurable:!0,enumerable:!0,set:function(a){this.currentIssueId$.next(a)},get:function(){return Zo(this.currentIssueId$)}}});Y8.\u0275fac=function(a){return new (a||Y8)(A(BH),A(sF),A(NG),A(YM),A(ZF),A(bK),A(wH),A(gP),A(ke),A(ZM))};
Y8.\u0275cmp=p({type:Y8,selectors:[["canonical-recommendation"]],inputs:{currentIssueId:"currentIssueId"},features:[qg],decls:6,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"],["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&&(E(0,"div",0),H(1,"mat-icon",1),E(2,"span"),Q(3,"Close as duplicate of:"),F()(),P(4,bvb,37,42,"div",2),U(5,"async"));a&2&&(z(4),D("ngIf",V(5,1,b.canonicalIssueId$)))},dependencies:[aP,xw,yw,cL,TM,iI,tA,jB,DC,NC,V8,U8,Ew],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)}[_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 Z8=function(a,b,c,d,e,f,h,l,q,u){Z.call(this);var x=this;this.brain=a;this.preferences=b;this.scrollTiming=c;this.analytics=d;this.element=e;this.editIssueService=f;this.appEvents=h;this.routePerformance=l;this.clearcut=q;this.activeSession=u;this.id$=this.brain.id$;this.issueAndEvents$=(0,C.combineLatest)([this.brain.issueJs$.pipe(Gf(Boolean)),this.brain.eventsJs$]);this.enableSummarySection=DE(this.activeSession,"enableSummarySection");this.enableIDPCanonicalRecommendation=DE(this.activeSession,
"enableIDPCanonicalRecommendation");this.showRecentEventsFirst=!1;this.comment$=this.id$.pipe(Gf(nk),cg(function(y){return x.editIssueService.issueCommentDraft(y).comment$}));this.finishedRendering$=(0,C.combineLatest)([this.brain.eventsJs$.pipe(Pf(0)),j3a("#AddCommentBox textarea",this.element.nativeElement)]).pipe(Rf())};W(Z8,Z);Z8.\u0275dir=Z.\u0275dir;
Z8.prototype.ngOnInit=function(){var a=this;this.preferences.showRecentEventsFirst$.pipe(Gf(nk),dg(this.destroyed$)).subscribe(function(b){a.showRecentEventsFirst=b});this.destroyed$.subscribe(function(){TIc(a)});j3a("#comment1 .critical-feature",this.element.nativeElement).pipe(dg(this.destroyed$)).subscribe(function(){var b=function(){Utc(a.routePerformance,"issue-details-w-comments")};requestAnimationFrame(b);setTimeout(b)});this.subscriptions.add(this.issueAndEvents$.pipe(Uf()).subscribe(function(b){var c=
m(b);b=c.next().value;c=c.next().value;UIc(a,b,c)}));this.subscriptions.add(this.finishedRendering$.pipe(fg(this.comment$)).subscribe(function(b){b=m(b);b.next();b.next().value.hasContent()&&a.appEvents.scrollToCommentBox.next()}))};
var UIc=function(a,b,c){var d=b.issue,e=c.map(function(f){return f.unlinkifiedComment});b=gsa(d,c).length;d=hsa(d,c);e=e.filter(Boolean).length;b=5<=b||10<=e||10<=d?"collab":"other";mH(a.clearcut,"view_idp_"+b);To("dimension10",b);c=c.some(function(f){var h,l,q;return 0<(null!=(q=null==(h=f.commentReactions)?void 0:null==(l=h.get("UPVOTE"))?void 0:l.count)?q:0)});a.analytics.trackEvent(Mp.EDIT_ISSUE,"view",c?"hasUpvoteReaction":"noUpvoteReaction")};Z8.prototype.unloadPageHandler=function(){TIc(this)};
var TIc=function(a){var b=a.scrollTiming;if((b=b.scrollTimingMap.has("flex-1 pos-rel bg-off-main overflow overflow-on-print-media")?b.scrollTimingMap.get("flex-1 pos-rel bg-off-main overflow overflow-on-print-media"):[])&&!(2>b.length)){for(var c=b[0],d=b[0],e=0,f=1;f<b.length;f++)2E3>b[f]-d||(e+=d-c,c=b[f]),d=b[f],f===b.length-1&&(e+=b[f]-c);a.analytics.trackEvent(Mp.EDIT_ISSUE,"scroll","commentThread",e);lH(a.clearcut,e,"idp-time-scrolling-comments-recentFirst-"+a.showRecentEventsFirst)}};
Z8.\u0275fac=function(a){return new (a||Z8)(A(HJ),A(ZI),A(ZX),A(wH),A(ke),A(bK),A(cG),A(O1),A(kH),A(Vt))};
Z8.\u0275cmp=p({type:Z8,selectors:[["ng-component"]],hostBindings:function(a,b){a&1&&K("unload",function(){return b.unloadPageHandler()},!1,oe)},features:[qg],decls:7,vars:10,consts:[["id","bv2-edit-issue-details-scroll","tabindex","-1",3,"bFocus"],[4,"ngIf"],["class","carded margined-s bg-main",3,"issueId","hidden",4,"ngIf"],["class","carded margined-s bg-main",3,"recent-first",4,"ngIf"],[1,"margin-s-sides","margin-s-top","padded-left",3,"id"],["class","rounded margined-s",3,"hidden","currentIssueId",
4,"ngIf"],[3,"issueId"],[1,"carded","margin-s-sides","margin-s-bottom","bg-main","highlighted-left",3,"id"],[1,"rounded","margined-s",3,"currentIssueId"],["canonicalRecommendation",""],[1,"carded","margined-s","bg-main",3,"issueId"],["issueSummaryCard",""],[1,"carded","margined-s","bg-main"],[3,"id",4,"ngIf"],[3,"id"]],template:function(a,b){a&1&&(E(0,"div",0),P(1,dvb,5,4,"ng-container",1),U(2,"async"),P(3,evb,3,5,"issue-summary-card",2),U(4,"async"),P(5,hvb,5,5,"div",3),U(6,"async"),F());a&2&&(D("bFocus",
!0),z(1),D("ngIf",V(2,4,b.id$)),z(2),D("ngIf",b.enableSummarySection&&V(4,6,b.id$)),z(2),D("ngIf",V(6,8,b.id$)))},dependencies:[yw,Y8,G8,eV,yU,jT,S8,yT,T8,$U,Ew],styles:["issue-summary-card[_ngcontent-%COMP%]{padding:8px}"]});var $8=function(){};$8.\u0275fac=function(a){return new (a||$8)};$8.\u0275mod=od({type:$8});$8.\u0275inj=Wc({imports:[Mw,OC,YC,YA,mP]});var a9=function(){};a9.\u0275fac=function(a){return new (a||a9)};a9.\u0275mod=od({type:a9});a9.\u0275inj=Wc({imports:[Mw]});var b9=function(){};b9.\u0275fac=function(a){return new (a||b9)};b9.\u0275mod=od({type:b9});b9.\u0275inj=Wc({imports:[Mw,JN,FP,IN,DP,LY,nP]});var c9=function(){};c9.\u0275fac=function(a){return new (a||c9)};c9.\u0275mod=od({type:c9});c9.\u0275inj=Wc({imports:[Mw,nP]});var d9=function(){};d9.\u0275fac=function(a){return new (a||d9)};d9.\u0275mod=od({type:d9});d9.\u0275inj=Wc({imports:[iT,mU,nP,Mw,IN,JN,b9,bP,lU,cO,DP,ID,c9,YC,OC,a9]});var e9=function(){};e9.\u0275fac=function(a){return new (a||e9)};e9.\u0275mod=od({type:e9});e9.\u0275inj=Wc({imports:[Mw,d9,b9,YC,OC,PP]});var f9=function(){};f9.\u0275fac=function(a){return new (a||f9)};f9.\u0275mod=od({type:f9});f9.\u0275inj=Wc({imports:[Mw,OC,YC,RF]});var g9=function(){};g9.\u0275fac=function(a){return new (a||g9)};g9.\u0275mod=od({type:g9});g9.\u0275inj=Wc({imports:[nP,Mw,e9,nU,XN,EU,YC,OC,ID,PP,BU,f9,DP,RF]});var h9=function(){};h9.\u0275fac=function(a){return new (a||h9)};h9.\u0275mod=od({type:h9});h9.\u0275inj=Wc({imports:[DT,A_,nP,Mw,vP,wx,NM,YC,iP,OC,B_]});var i9=function(){};i9.\u0275fac=function(a){return new (a||i9)};i9.\u0275mod=od({type:i9});i9.\u0275inj=Wc({imports:[Mw,YC,OC,ID,RM]});var j9=function(){};j9.\u0275fac=function(a){return new (a||j9)};j9.\u0275mod=od({type:j9});j9.\u0275inj=Wc({imports:[nP,Mw,IN,XN,WN,YC,OC,GC,ID,i9]});var k9=function(){};k9.\u0275fac=function(a){return new (a||k9)};k9.\u0275mod=od({type:k9});k9.\u0275inj=Wc({imports:[Ky,ty,wx,YC,yN,xx,LG,OC,j9,$8,fV,JU,nU,g9,QU,NU,h9,hP,aV,DP]});var l9=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(cg(this.issueFridge.watch),Gf(nk));this.commentNumberToEventMap$=this.issue$.pipe(B(function(f){return f.issueId}),cg(function(f){return e.eventsForIssueFridge.watch(f)}),B(function(f){var h;return null!=(h=null==f?void 0:f.events)?h:[]}),B(function(f){return new Map(f.filter(function(h){return!!h.commentNumber}).map(function(h){return[h.commentNumber,
h]}))}));this.relatedLinks$=(0,C.combineLatest)([this.issue$,this.commentNumberToEventMap$]).pipe(B(function(f){f=m(f);var h=f.next().value,l=f.next().value,q;return(null==(q=h.relatedLinks)?void 0:q.map(function(u){return Object.assign({},u,{comment:l.get(u.sourceCommentNumber)})}))||[]}));this.issueReferences$=this.relatedLinks$.pipe(B(function(f){return f.filter(Csa)}));this.imageLinks$=this.relatedLinks$.pipe(B(function(f){return f.filter(ysa)}));this.otherLinks$=this.relatedLinks$.pipe(B(function(f){return f.filter(Dsa)}))};
l9.\u0275fac=function(a){return new (a||l9)(A(Vt),A(BH),A(HJ),A(sF))};
l9.\u0275cmp=p({type:l9,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&&(E(0,"section",0),P(1,pvb,7,9,"ng-container",1),U(2,"async"),F());a&2&&(z(1),D("ngIf",V(2,1,b.issue$)))},dependencies:[yw,
pT,mT,rT,jB,Ew],styles:["[_nghost-%COMP%]{display:block;padding:8px}h4[_ngcontent-%COMP%]{margin:16px 0}mat-icon[_ngcontent-%COMP%]{vertical-align:text-bottom}"]});var m9=function(){};m9.\u0275fac=function(a){return new (a||m9)};m9.\u0275mod=od({type:m9});m9.\u0275inj=Wc({imports:[Mw,NU,LU,OU,OC]});var n9=function(a,b){var c=this;this.brain=a;this.codeMentions=b;this.ROBOT_SLEEPING=K3b;this.id$=this.brain.id$.pipe(Gf(nk));this.codeMentionsState$=this.id$.pipe(cg(function(d){return JHc(c.codeMentions,d)}))};n9.prototype.displayPackageNames=function(a){return this.codeMentions.displayPackageNames(a)};n9.prototype.trackSqueegeeClick=function(){this.codeMentions.trackSqueegeeClick()};n9.\u0275fac=function(a){return new (a||n9)(A(HJ),A(M7))};
n9.\u0275cmp=p({type:n9,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&&(E(0,"section",0),P(1,vvb,3,3,"ng-container",1),U(2,"async"),F());a&2&&(z(1),D("ngIf",V(2,1,b.id$)))},dependencies:[xw,yw,s6,Ew],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 o9=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()};o9.prototype.ngOnInit=function(){this.pageTitle.setTitle("All of my hotlists");this.fetchUserHotlists()};
o9.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)})};o9.\u0275fac=function(a){return new (a||o9)(A(sH,2),A(JV),A(dH),A(NG),A(ZF))};
o9.\u0275cmp=p({type:o9,selectors:[["list-hotlists-page"]],features:[Ug([sH])],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&&(E(0,"h2",0),Q(1,"Browse Hotlists"),F(),E(2,"div",1)(3,"a",2),Q(4," Create Hotlist "),F()(),E(5,"div",3),P(6,wvb,1,1,"b-spinner",4),P(7,xvb,1,1,"b-hotlist-grid",5),F());a&
2&&(z(3),D("href",b.createHotlistPath,Ie),z(3),D("ngIf",b.isLoading),z(1),D("ngIf",!b.isLoading))},dependencies:[yw,E0,zM,uA],encapsulation:2});var VIc=new Set(["issueId","modifiedTime","createdTime"]),p9=function(a,b,c,d,e,f,h,l,q,u,x,y,G,L,M,T,S,X,aa,na,ma,Ca,Fa,Ja,Ab){Z.call(this);var cb=this;this.cdr=a;this.routerEvents=b;this.window=c;this.bLocation=d;this.$log=e;this.issueApi=f;this.userApi=h;this.hotlistApi=l;this.activeSession=q;this.butterBar=u;this.analytics=x;this.appSearchState=y;this.issuePagination=G;this.userPreferencesManager=L;this.urlPreferences=M;this.gridPreferencesFetcher=T;this.paths=S;this.timeout=X;this.errorHandler=
aa;this.statusMessages=na;this.domSafe=ma;this.appEvents=Ca;this.hotlistFridge=Fa;this.issueFridge=Ja;this.batchIssueRelationshipsService=Ab;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 Ma;null==(Ma=cb.resultsGrid)||nrc(Ma)}},{keys:["k"],displayAs:"k",description:"Move to the previous issue",onPress:function(){var Ma;null==(Ma=cb.resultsGrid)||orc(Ma)}},{keys:["x"],displayAs:"x",description:"Select/Deselect the current issue",onPress:function(){var Ma;null==(Ma=cb.resultsGrid)||mrc(Ma)}},{keys:["s"],displayAs:"s",description:"Star/Unstar the current issue",onPress:function(){var Ma;null==(Ma=cb.resultsGrid)||qrc(Ma)}},{keys:[zp("i")],
displayAs:"Shift+i",description:"Mark as read",onPress:function(){var Ma;null==(Ma=cb.resultsGrid)||rrc(Ma,!0)}},{keys:[zp("u")],displayAs:"Shift+u",description:"Mark as unread",onPress:function(){var Ma;null==(Ma=cb.resultsGrid)||rrc(Ma,!1)}},{keys:[Ap("*","a")],displayAs:"* then a",description:"Select all issues on this page",onPress:function(){var Ma;null==(Ma=cb.resultsGrid)||Ma.selectAll()}},{keys:[Ap("*","n")],displayAs:"* then n",description:"Deselect all issues on this page",onPress:function(){var Ma;
null==(Ma=cb.resultsGrid)||krc(Ma)}},{keys:["a"],displayAs:"a",description:"Change assignee",onPress:function(){var Ma;null==(Ma=cb.gridControls)||s_(Ma,null,0)}},{keys:["d"],displayAs:"d",description:"Mark as duplicate",onPress:function(){var Ma;null==(Ma=cb.gridControls)||s_(Ma,Cn.DUPLICATE,3)}},{keys:["h"],displayAs:"h",description:"Edit hotlists",onPress:function(){var Ma;if(null!=(Ma=cb.gridControls)&&Ma.hasSelectedIssues()){var ha;null==(ha=Ma.hotlistPicker)||ha.open()}}},{keys:["r"],displayAs:"r",
description:"Add comment",onPress:function(){var Ma;null==(Ma=cb.gridControls)||pqc(Ma)}},{keys:["u",zp("r")],displayAs:"u / Shift+r",description:"Refresh search results",onPress:function(){return cb.refreshResults()}},{keys:[Ap("p","0"),Ap("p","1"),Ap("p","2"),Ap("p","3"),Ap("p","4")],displayAs:"p <n>",description:"Mark selected issues as priority n",onPress:function(Ma){cb.resultsGrid&&cb.sendBulkEditRequest([{actions:[{fieldName:"priority",value:"P"+Ma}],issueIds:cb.resultsGrid.getSelectedIssues().map(function(ha){return ha.issueId})}])}},
{keys:["o","ENTER",mCa("ENTER")],displayAs:"o / Enter",description:"Open the current issue",onPress:function(Ma){var ha=c.document.activeElement;if(1===Ma&&"A"===ha.tagName)if(ha.href)Ma=cb.paths.getBaseUrl(),Nj(ha.href,Ma)?cb.bLocation.url(ha.href.slice(Ma.length)):cb.domSafe.openInNewTab(ha.href);else{var xa;null==(xa=cb.resultsGrid)||h0(xa)}else if(2===Ma){var Da;null==(Da=cb.resultsGrid)||h0(Da,{openInNewTab:!0})}else{var Wa;null==(Wa=cb.resultsGrid)||h0(Wa)}}}]};W(p9,Z);
p9.prototype.ngOnInit=function(){var a=this;WIc(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(dg(this.destroyed$)).subscribe(function(){WIc(a)})};
var XIc=function(a){var b=["priority","type","title","assignee","status"];a.activeSession.isInternalSession()&&b.push("minSlo");b.push("issueId","modifiedTime");return b.map(Fm)};
p9.prototype.fetchUserHotlists=function(){var a=this;this.userApi.getUserHotlists().then(function(b){b=m(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;a.hotlistFridge.announce(c);var d=a.hotlistMap[c.hotlistId];Fj(d,c)||(d&&La(a.hotlistChoices,d),a.hotlistChoices.push(c),a.hotlistMap[c.hotlistId]=c,a.cdr.detectChanges())}}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
var WIc=function(a){return YIc(a).then(function(){return a.getIssues()}).then(function(){return a.searchResults?ZIc(a,a.searchResults.startIndex,a.searchResults.endIndex):Promise.resolve()}).finally(function(){a.cdr.detectChanges()})},$Ic=function(a){return null!=a.window.document.activeElement&&a.window.document.activeElement!==a.window.document.body},aJc=function(a){var b,c;return null!=(c=null==(b=a.window.document.activeElement)?void 0:b.classList.contains("search-box"))?c:!1},YIc=function(a){var b=
Tn();$Ic(a)&&aJc(a)&&a.window.document.activeElement.blur();a.timeout.schedule(function(){b.resolve()});return b.promise},ZIc=function(a,b,c){var d=Tn();$Ic(a)||bJc(a,b,c);a.timeout.schedule(function(){d.resolve()});return d.promise},cJc=function(a,b){var c=a.activeSession.getMaxAccurateSearchResults();b.numResults>c&&!b.isPreSort&&(b=mp("Number of search results exceeds "+c+" ; some matching issues may be omitted.",lp("BR"),"Please try to restrict your search further or change the sort column to either CREATED or LAST MODIFIED. "),
c={},c=lp("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=mp(lp("BR"),"See ",c," for more details."),b=a.activeSession.isInternalSession()?mp(b,c):b,lWb(a.butterBar,b))};g=p9.prototype;
g.setSort=function(a,b,c){c=void 0===c?!0:c;var d=Fm(a);if(d){var e=new Im(d,"ASC"===b?"ASCENDING":"DESCENDING");Na(this.sortPreferences,function(f){return Fj(f.fieldId,e.fieldId)});!c||VIc.has(a)?this.sortPreferences=[e]:this.sortPreferences=[e].concat(this.sortPreferences.slice(0,2));this.saveSortColumns(this.sortPreferences)}else this.$log.warn("WARNING: Invalid field name specified "+a)};
g.getSort=function(){if(!this.sortPreferences.length)return null;var a=this.sortPreferences[0];a={field:"CUSTOM_FIELD"===a.fieldId.type?String(a.fieldId.customFieldId):Kj(a.fieldId.type),direction:"ASCENDING"===a.direction?"ASC":"DESC"};Fj(a,this.cachedSort)||(this.cachedSort=a);return this.cachedSort};g.saveSortColumns=function(a){H0(this.urlPreferences,{sortColumns:a,page:1})};
g.initColumns=function(a,b){var c=this;b=void 0===b?dJc:b;a.then(function(d){c.displayColumns=d;c.metaColumns=b;c.isColumnSaveEnabled=!0;c.issueColumnsInternal=[].concat(r(b),r(f3a(d)));c.cdr.detectChanges()})};g.saveColumns=function(a){this.displayColumns=a.map(function(b){return Fm(b.name)});H0(this.urlPreferences,{displayColumns:this.displayColumns})};
g.goToIssue=function(a,b,c){var d;c&&"A"===(null==(d=c.target)?void 0:d.tagName)||(this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"viewIssue",b?"read":"unread"),a=this.paths.editIssue(a),c&&(c.ctrlKey||c.metaKey||1===c.button)?this.domSafe.openInNewTab(a):c&&c.shiftKey?Kp(this.domSafe,a):this.bLocation.url(a))};g.goToPage=function(a){this.bLocation.search("p",a)};var Mt=function(a,b,c){void 0!==b&&a.goToPage(b+c)};g=p9.prototype;g.refreshResults=function(){QW(this.issuePagination);return WIc(this)};
g.hasResults=function(){return this.searchResults&&0<this.searchResults.issues.length};
g.sendBulkEditRequest=function(a,b){var c=this;if(1===a.length&&1===a[0].actions.length&&"readState"===a[0].actions[0].fieldName){var d=!!a[0].actions[0].value;b=m(a[0].issueIds);for(var e=b.next();!e.done;e=b.next()){e=e.value;var f=void 0;null==(f=this.searchResults)||okc(f,e,d)}this.cdr.detectChanges();WF(this.butterBar,"Saving changes...",0);return DH(this.issueFridge,a[0].issueIds,{markRead:d}).then(function(l){for(var q=m(a[0].issueIds),u=q.next();!u.done;u=q.next()){u=u.value;var x=void 0,
y=void 0;null==(x=c.searchResults)||okc(x,u,void 0,null!=(y=l)?y:null)}WF(c.butterBar,"Successfully marked issues "+(d?"read.":"unread."))}).catch(function(l){for(var q=m(a[0].issueIds),u=q.next();!u.done;u=q.next()){u=u.value;var x=void 0;null==(x=c.searchResults)||okc(x,u)}c.errorHandler.errorHandler(null,l)}).finally(function(){c.cdr.detectChanges()})}e=Mwa(a).map(function(l){return l.fieldName});this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"bulkEdit",e.join(","));var h={bulkEditOps:a};WF(this.butterBar,
"Saving changes...",0);return 1===a.length&&1===a[0].actions.length&&"parentId"===a[0].actions[0].fieldName?this.batchIssueRelationshipsService.bulkEdit(a[0]).then(function(l){if(c.searchResults){c.searchResults=c.searchResults.clone();for(var q=m(c.searchResults.issues.entries()),u=q.next();!u.done;u=q.next()){var x=m(u.value);u=x.next().value;x=x.next().value;l.finishedIssues[x.issueId]&&(u=c.searchResults.issues[u],YVa(u,l.finishedIssues[x.issueId],null),c.loadHotlists(u),Object.assign(c.customFieldMap,
u.customFieldMap))}}x=a[0];q=l.notFinishedIssueIds;u=String(x.actions[0].value);x=x.actions[0].actionType;if("ADD"!==x&&"REMOVE"!==x)throw Error("ue");q.length?(l="Failed to update issue(s) "+q.join(", ")+".",XF(c.butterBar,l),c.analytics.trackEvent(c.ANALYTICS_CATEGORY,"bulkEditError",""+q.length)):WF(c.butterBar,("ADD"===x?"Added child issue(s) to parent ["+u+"]":"Removed child issue(s) from parent ["+u+"]")+" 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=m(c.searchResults.issues.entries()),u=q.next();!u.done;u=q.next()){var x=m(u.value);u=x.next().value;x=x.next().value;l.affectedIssues[x.issueId]&&(x=l.affectedIssues[x.issueId],u=c.searchResults.issues[u],YVa(u,x,l.componentMap[Ba(x.snapshot).componentId]),c.loadHotlists(u),Object.assign(c.customFieldMap,u.customFieldMap))}}l.errors&&l.errors.length?(q="Failed to update issue(s) "+
(Oj(l.errors,"issueId").join(", ")+"."),XF(c.butterBar,q),c.analytics.trackEvent(c.ANALYTICS_CATEGORY,"bulkEditError",""+l.errors.length)):(l=K0b(c.statusMessages,h,c.customFieldMap))?WF(c.butterBar,l):WF(c.butterBar,"Saved "+Nwa(h.bulkEditOps).length+" issue(s).");c.cdr.detectChanges()}).catch(function(l){c.errorHandler.errorHandler(null,l)})};
g.loadHotlists=function(a){var b=this;var c=a?[a]:this.searchResults?this.searchResults.issues:[];a=new Set;for(var d=m(c),e=d.next();!e.done;e=d.next())if(e=e.value,e.hotlistId){e=m(e.hotlistId);for(var f=e.next();!f.done;f=e.next())f=f.value,this.hotlistMap[f]||a.add(f)}0!==a.size&&this.hotlistApi.bulkLoad([].concat(r(a))).then(function(){for(var h={},l=m(c),q=l.next();!q.done;h={$jscomp$loop$prop$loadedHotlists$2335:h.$jscomp$loop$prop$loadedHotlists$2335},q=l.next()){q=q.value;if(!q.hotlistId)return;
h.$jscomp$loop$prop$loadedHotlists$2335=[];q.hotlists=h.$jscomp$loop$prop$loadedHotlists$2335;q=m(q.hotlistId);for(var u=q.next();!u.done;u=q.next())u=u.value,b.hotlistMap[u]?h.$jscomp$loop$prop$loadedHotlists$2335.push(b.hotlistMap[u]):b.hotlistApi.get(u).then(function(x){return function(y){b.hotlistFridge.announce(y);b.addHotlist(y);x.$jscomp$loop$prop$loadedHotlists$2335.push(y)}}(h))}b.cdr.detectChanges()})};
g.addHotlist=function(a){this.hotlistMap[a.hotlistId]||(this.hotlistMap[a.hotlistId]=a,this.hotlistChoices.push(a))};
g.createHotlist=function(a){var b=this,c=a.name,d=a.successCallback;a=a.errorCallback;this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"createHotlist");WF(this.butterBar,"Creating hotlist "+c+"...",0);this.hotlistApi.createHotlist(c).then(function(e){b.hotlistFridge.announce(e);WF(b.butterBar,"Hotlist "+c+" created successfully.");b.hotlistChoices.push(e);b.hotlistMap[e.hotlistId]=e;b.appEvents.hotlistCreated.next();d(e);b.cdr.detectChanges()}).catch(a)};
g.loadHotlist=function(a){var b=this,c=a.hotlistId,d=a.successCallback;a=a.errorCallback;WF(this.butterBar,"Loading hotlist "+c);this.hotlistMap[c]||this.hotlistApi.get(c).then(function(e){b.hotlistFridge.announce(e);b.addHotlist(e);d(e);b.cdr.detectChanges()}).catch(a)};g.exportCsv=function(){this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"exportCsv");QK(this.domSafe,this.getCsvUrl())};
var eJc=function(a,b){a.userPreferencesManager.save({resultsPerPage:b}).pipe(dg(a.destroyed$)).subscribe(function(){a.resultsPerPage=b;H0(a.urlPreferences,{page:1});a.analytics.trackEvent(a.ANALYTICS_CATEGORY,"resultsPerPageSave",b.toString());a.refreshResults();a.cdr.detectChanges()},function(c){rj(c)})},bJc=function(a,b,c){var d=a.issuePagination.focusedIssueIndex_;a.timeout.schedule(function(){if(d>=b&&d<=c)a.focusedRowIndex=d-b;else{wkc(a.issuePagination);a.focusedRowIndex=0;var e=document.querySelector(".bv2-view");
e&&(e.scrollTop=0)}a.cdr.detectChanges()})},Fvb=function(){setTimeout(function(){var a=document.querySelector(".b-select-all-toggle");a&&a.focus()})};
Xi.Object.defineProperties(p9.prototype,{issueColumns:{configurable:!0,enumerable:!0,get:function(){return this.issueColumnsInternal},set:function(a){Fj(this.issueColumnsInternal,a)||(this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"columnModification",ewa(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 dJc=[i0,j0,k0];
p9.\u0275fac=function(a){return new (a||p9)(A(sH),A(vH),A(Window),A(MG),A(YF),A(PE),A(dH),A(ZG),A(Vt),A(VF),A(wH),A(AX),A(OW),A(ZI),A(G0),A(L0),A(NG),A(FF),A(ZF),A(jJ),A(PK),A(cG),A(hH),A(BH),A(K1))};p9.\u0275dir=qd({type:p9,features:[qg]});var Bvb=function(){return{q:"status:open"}},q9=function(a,b,c,d,e,f,h,l,q,u,x,y,G,L,M,T,S,X,aa,na,ma,Ca,Fa,Ja,Ab,cb,Ma,ha,xa,Da){p9.call(this,a,b,c,d,f,h,l,q,e,u,x,y,G,L,M,T,S,X,Fa,aa,na,Ab,Ma,ha,Da);this.hotkeys=ma;this.pageTitle=Ca;this.routePerformance=Ja;this.element=cb;this.currentTracker=xa;this.ANALYTICS_CATEGORY=Mp.LIST_ISSUES;this.isLoading=!0;this.showHotlists=!1;this.SPACE_EMPTY_STATE=N3b};W(q9,p9);q9.\u0275dir=p9.\u0275dir;g=q9.prototype;
g.ngOnInit=function(){var a=this;p9.prototype.ngOnInit.call(this);this.subscriptions.add(KM(this.hotkeys,{title:"Issue List",hotkeys:this.BASE_HOTKEYS}));this.subscriptions.add(this.userPreferencesManager.listViewPreferences$.subscribe(function(b){a.showHotlists=b.showHotlists}))};
g.getIssues=function(){var a=this,b=this.bLocation.search().warning;b&&(Array.isArray(b)&&(b=b[0]),XF(this.butterBar,b));this.query=this.urlPreferences.getQuery();if(!this.query)return this.activeSession.isAnonymous()?(this.query="",BX(this.appSearchState,this.query),this.searchResults=null,this.setPageTitle(),this.isLoading=!1):(this.routePerformance.ignoringNextNav=!0,H0(this.urlPreferences,{query:"assignee:"+this.currentUserEmail+" status:open"},!0)),Promise.resolve(void 0);BX(this.appSearchState,
this.query);b=wlc(this.appSearchState);if(0<b)return aYb(this.bLocation,this.paths.viewHotlist(b)),H0(this.urlPreferences,{query:null},!0),Promise.resolve(void 0);b=xlc(this.appSearchState);if(0<b)return aYb(this.bLocation,this.paths.viewSavedSearch(b)),H0(this.urlPreferences,{query:null},!0),Promise.resolve(void 0);this.searchResults=null;this.isLoading=!0;this.setPageTitle();this.subscriptions.add((0,C.concat)((0,C.timer)(0).pipe(gha()),j3a("b-issues-grid, #no-results",this.element.nativeElement)).subscribe(function(){var c=
function(){Utc(a.routePerformance,"issue-list-w-results")};requestAnimationFrame(c);setTimeout(c)}));return this.doSearch().finally(function(){a.isLoading=!1;a.cdr.detectChanges()})};
g.doSearch=function(){var a=this,b=this.gridPreferencesFetcher.fetch({resultsPerPage:25,page:1,query:"",sortColumns:[],displayColumns:XIc(this)}),c=b.searchPreferences.then(function(f){f=Gj(f);f.query=a.computeQuery(f);f.returnUrl=a.bLocation.url();f.trackerIds=a.appSearchState.currentTrackerScope;return PW(a.issuePagination,f)}),d;(null==(d=this.query)?0:d.includes("teamid:"))&&this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"searchByTeam");var e;(null==(e=this.query)?0:e.includes("componentid:"))&&
this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"searchByComponent");c.then(function(f){cJc(a,f)}).catch(function(f){"number"===typeof f?H0(a.urlPreferences,{page:f}):a.errorHandler.errorHandler(null,f)});b=b.displayColumns;this.initColumns(b);return Ep({searchResultsPage:c,displayColumns:b}).then(function(f){var h=f.searchResultsPage;a.searchResults=a.processSearchResults(h);a.page=h.params.page;a.sortPreferences=h.params.sortColumns||[];a.cdr.detectChanges();a.loadHotlists();f=f.displayColumns.join("|");
h=a.sortPreferences.join("|");a.analytics.trackEvent(a.ANALYTICS_CATEGORY,"issueSearch",f+" ("+h+")")})};g.processSearchResults=function(a){return a};g.computeQuery=function(){return this.query};g.saveColumns=function(a){this.displayColumns=a.map(function(b){return Fm(b.name)});n0b(this.userPreferencesManager,g3a(a)).pipe(dg(this.destroyed$)).subscribe()};
g.setPageTitle=function(){this.appSearchState.currentQuery===ulc(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===vlc(this.currentUserEmail)?this.pageTitle.setTitle("To be verified"):this.pageTitle.setTitle(this.query)};
g.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(dg(this.destroyed$)).subscribe(function(){H0(b.urlPreferences,{page:1,sortColumns:null});b.refreshResults().finally(function(){b.isLoading=!1;b.cdr.detectChanges();Fvb()})})};g.getCsvUrl=function(){return this.paths.issuesCsvAction(this.query,this.appSearchState.currentTrackerScope,this.sortPreferences,this.displayColumns,this.showHotlists)};
q9.\u0275fac=function(a){return new (a||q9)(A(sH),A(vH),A(EE),A(MG),A(Vt),A(YF),A(PE),A(dH),A(ZG),A(VF),A(wH),A(AX),A(OW),A(ZI),A(G0),A(L0),A(NG),A(FF),A(jJ),A(PK),A(JM),A(JV),A(ZF),A(O1),A(cG),A(ke),A(hH),A(BH),A(mL),A(K1))};
q9.\u0275cmp=p({type:q9,selectors:[["list-issues-page"]],features:[Ug([sH]),qg],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&&(E(0,"h2",0),Q(1,"Issue search results"),F(),E(2,"div",1)(3,"b-grid-controls",2),K("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()}),F(),E(4,"div",3)(5,"b-pagination",4),K("pageChange",function(c){return b.goToPage(c.page)})("resultsPerPageChange",function(c){return eJc(b,c.option)}),F()()(),E(6,"div",5),P(7,yvb,4,1,"div",6),P(8,Evb,9,8,"div",7),P(9,Gvb,2,5,"div",8),F());a&2&&(z(3),D("grid",b.resultsGrid)("hotlistChoices",b.hotlistChoices),z(2),D("searchResults",b.searchResults),z(1),ug("aria-busy",b.isLoading),z(1),D("ngIf",b.isLoading),z(1),D("ngIf",!b.isLoading&&!b.hasResults()),z(1),D("ngIf",
!b.isLoading&&b.hasResults()))},dependencies:[n0,X0,f0,yw,zM,eV,HG,Ew],styles:[".empty-state-img[_ngcontent-%COMP%]{max-width:320px;max-height:320px;padding-bottom:56px}\n/*# sourceMappingURL=list_issues.css.map */"]});var r9=function(){};r9.\u0275fac=function(a){return new (a||r9)};r9.\u0275mod=od({type:r9});r9.\u0275inj=Wc({imports:[D0,Z0,U0,VW,Mw,PP,fV,LG]});var s9=function(a,b,c,d,e,f,h,l,q,u,x,y,G,L,M,T,S,X,aa,na,ma,Ca,Fa,Ja,Ab,cb,Ma,ha,xa,Da,Wa){q9.call(this,a,b,c,d,e,f,h,l,q,u,x,y,G,L,M,T,S,X,aa,na,ma,Ca,Fa,Ja,Ab,cb,ha,xa,Da,Wa);this.issueLru=Ma;this.ANALYTICS_CATEGORY="recentIssues";this.recentIds=Array.from(this.issueLru.viewed.keys());this.initialLoad=!0};W(s9,q9);s9.\u0275dir=q9.\u0275dir;s9.prototype.ngOnInit=function(){q9.prototype.ngOnInit.call(this);this.pageTitle.setTitle("Recent Issues");this.appSearchState.clear();this.initialLoad=!0};
s9.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()})};s9.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("|")};
s9.prototype.processSearchResults=function(a){this.initialLoad&&(a.params.sortColumns=[]);var b;null!=(b=a.params.sortColumns)&&b.length||(a.issues=Kvb(this.recentIds,a.issues));return a};s9.\u0275fac=function(a){return new (a||s9)(A(sH),A(vH),A(EE),A(MG),A(Vt),A(YF),A(PE),A(dH),A(ZG),A(VF),A(wH),A(AX),A(OW),A(ZI),A(G0),A(L0),A(NG),A(FF),A(jJ),A(PK),A(JM),A(JV),A(ZF),A(O1),A(cG),A(ke),A(CV),A(hH),A(BH),A(mL),A(K1))};
s9.\u0275cmp=p({type:s9,selectors:[["list-issues-recent"]],features:[Ug([sH]),qg],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&&(E(0,"h2",0),Q(1,"Recent Issues"),F(),E(2,"div",1)(3,"b-grid-controls",2),K("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()}),F(),E(4,"div",3)(5,"b-pagination",4),K("pageChange",function(d){return b.goToPage(d.page)})("resultsPerPageChange",function(d){return eJc(b,d.option)}),F()()(),E(6,"div",5),P(7,Hvb,3,0,"div",6),P(8,Ivb,2,0,"div",7),P(9,Jvb,2,5,"div",8),F());if(a&2){var c;z(3);D("grid",null!==(c=b.resultsGrid)&&void 0!==c?c:void 0)("hotlistChoices",b.hotlistChoices);z(2);D("searchResults",
b.searchResults);z(1);ug("aria-busy",b.isLoading);z(1);D("ngIf",b.isLoading);z(1);D("ngIf",!b.isLoading&&!b.hasResults());z(1);D("ngIf",!b.isLoading&&b.hasResults())}},dependencies:[zM,n0,X0,f0,yw],encapsulation:2});var t9=function(a,b,c,d,e,f){this.cdr=a;this.pageTitle=b;this.paths=c;this.sloApi=d;this.errorHandler=e;this.activeSession=f;this.isLoading=!1;this.activeSlos=[];this.archivedSlos=[];this.createSloPath=this.paths.createSlo();this.sloEnabled=this.activeSession.isInternalSession();this.areArchivedSlosExpanded=!1};t9.prototype.ngOnInit=function(){this.sloEnabled&&(this.pageTitle.setTitle("Manage SLOs"),fJc(this))};
var fJc=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)})};t9.\u0275fac=function(a){return new (a||t9)(A(sH,2),A(JV),A(NG),A(LT),A(ZF),A(Vt))};
t9.\u0275cmp=p({type:t9,selectors:[["list-slos-page"]],features:[Ug([sH])],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&&(E(0,"div",0)(1,"a",1),Q(2," Create SLO "),F()(),E(3,"div",2),P(4,Lvb,5,0,"div",3),P(5,Mvb,1,1,"b-spinner",4),P(6,Pvb,3,2,"ng-container",5),P(7,Tvb,6,5,"ng-container",5),F());a&2&&(z(1),D("href",b.createSloPath,Ie),z(3),D("ngIf",b.sloEnabled),z(1),D("ngIf",b.isLoading),z(1),D("ngIf",!b.isLoading),z(1),D("ngIf",!b.isLoading))},dependencies:[yw,
uA,jB,E1,zM],encapsulation:2});var gJc=function(a){Y.call(this,a)};W(gJc,Y);g=gJc.prototype;g.getAuthor=function(){return Ok(this,ek,1)};g.setAuthor=function(a){gl(this,ek,1,a)};g.getTimestamp=function(){return Ok(this,vj,2)};g.setTimestamp=function(a){return gl(this,vj,2,a)};g.hasTimestamp=function(){return Hl(this,vj,2)};g.getAdd=function(){return Ok(this,Vl,3)};g.getRemove=function(){return Ok(this,Vl,4)};g.getAddMask=function(){return Ok(this,DD,5)};g.getRemoveMask=function(){return Ok(this,DD,6)};var iJc=function(a){Y.call(this,a,-1,hJc)};W(iJc,Y);iJc.prototype.getUpdatesList=function(){return yj(this,gJc,1)};var hJc=[1];iJc.messageId="b.ComponentHistory";var u9=function(a,b){this.executor=b;this.componentHistoriesCache=a.get("component_histories-second-level-cache")||a.create("component_histories-second-level-cache",{capacity:25})};u9.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:iJc}))};u9.prototype.getUncached=function(a){this.invalidateCache(a);return this.get(a)};
u9.prototype.invalidateCache=function(a){this.componentHistoriesCache.remove(String(a))};u9.\u0275fac=function(a){return new (a||u9)(n(WG),n(LD))};u9.\u0275prov=Vc({token:u9,factory:u9.\u0275fac,providedIn:"root"});var v9=function(){};v9.prototype.ngOnInit=function(){};v9.\u0275fac=function(a){return new (a||v9)};
v9.\u0275cmp=p({type:v9,selectors:[["slo-inheritance-breadcrumbs"]],inputs:{componentPath:"componentPath",teamPath:"teamPath"},decls:2,vars:2,consts:[[4,"ngIf"],[3,"teamPath"],["componentPathsLinkTo","settings",3,"componentPathInfo"]],template:function(a,b){a&1&&(P(0,Uvb,4,1,"ng-container",0),P(1,Vvb,4,1,"ng-container",0));a&2&&(D("ngIf",b.teamPath),z(1),D("ngIf",b.componentPath))},dependencies:[yw,UY,f1],styles:["b-component-breadcrumb[_ngcontent-%COMP%], b-team-breadcrumb[_ngcontent-%COMP%]{display:inline-block}"]});var $vb=function(a){Y.call(this,a)};W($vb,Y);var kJc=function(a){Y.call(this,a,-1,jJc)};W(kJc,Y);var jJc=[1];kJc.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 f=Wvb(e);return $b(d,function(h){return f[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)(n(x9),n(GF))};
w9.\u0275prov=Vc({token:w9,factory:w9.\u0275fac,providedIn:"root"});var x9=function(a){this.executor=a};x9.prototype.bulkGet=function(a){a=[].concat(r(new Set(a)));a=Xn(a.join(","));return this.executor.get({url:"action/group_metadata/"+a,responseConstructor:kJc}).then(awb)};x9.\u0275fac=function(a){return new (a||x9)(n(LD))};x9.\u0275prov=Vc({token:x9,factory:x9.\u0275fac,providedIn:"root"});var bwb=[{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 f=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 vr(f.component)};this.hasUnsavedAccessLimitChanges=function(){return f.originalComponent&&f.component?f.originalComponent.accessLimit.accessLevel!==f.component.accessLimit.accessLevel:!1};this.performAccessLimitCheck=
function(){return new Promise(function(h){f.hasUnsavedAccessLimitChanges()&&"INTERNAL"===f.component.accessLimit.accessLevel?f.confirmationDialogService.open({title:"Component Visibility Changed",content:jp("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){f.componentReaders.includes("GROUP:nobody@google.com")?f.confirmationDialogService.open({title:'"nobody@google.com" is on the access policy',content:jp('"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: '+[f.componentAccessPolicyUnderEdit.admins.includes("GROUP:nobody@google.com")?'"Component Admins"':
null,f.componentAccessPolicyUnderEdit.appenders.includes("GROUP:nobody@google.com")?'"Create Issues"':null,f.issueDefaultAccessPolicyUnderEdit.admins.includes("GROUP:nobody@google.com")?'"Issue Admins"':null,f.issueDefaultAccessPolicyUnderEdit.editors.includes("GROUP:nobody@google.com")?'"Edit Issues"':null,f.issueDefaultAccessPolicyUnderEdit.appenders.includes("GROUP:nobody@google.com")?'"Comment on Issues"':null,f.issueDefaultAccessPolicyUnderEdit.readers.includes("GROUP:nobody@google.com")?'"View Issues"':
null,f.issueDefaultAccessPolicyUnderEdit.restrictedPlusReaders.includes("GROUP:nobody@google.com")?'"View restricted+ content"':null,f.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){lwb(f.activeSession.getUserEmail(),
f.componentFlattenedAccessPolicy,f.componentAccessPolicyUnderEdit)?f.confirmationDialogService.open({title:"Component Administrators Changed",content:jp("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){kwb(f.issueDefaultFlattenedAccessPolicy,f.issueDefaultAccessPolicyUnderEdit)?f.confirmationDialogService.open({title:"Group Removed from Restricted+ Readers",content:jp("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=f.accessPolicyConverter.stringToAccessPolicyPrincipal(h);
return void 0!==h.group&&h.group.emailAddress?f.groupMetadata.get(h.group.emailAddress):Promise.resolve({approximateSize:0,groupEmail:"",sizeCategory:"UNKNOWN",permissionCategory:"UNKNOWN_PERMISSION"})};this.evaluateNewGroups=function(){var h=wn([].concat(r(Pj(f.componentAccessPolicyUnderEdit.admins,f.componentFlattenedAccessPolicy.admins)),r(Pj(f.issueDefaultAccessPolicyUnderEdit.admins,f.issueDefaultFlattenedAccessPolicy.admins)),r(Pj(f.issueDefaultAccessPolicyUnderEdit.editors,f.issueDefaultFlattenedAccessPolicy.editors)),
r(Pj(f.issueDefaultAccessPolicyUnderEdit.appenders,f.issueDefaultFlattenedAccessPolicy.appenders)),r(Pj(f.issueDefaultAccessPolicyUnderEdit.readers,f.issueDefaultFlattenedAccessPolicy.readers)),r(Pj(f.issueDefaultAccessPolicyUnderEdit.restrictedReaders,f.issueDefaultFlattenedAccessPolicy.restrictedReaders)),r(Pj(f.issueDefaultAccessPolicyUnderEdit.restrictedPlusReaders,f.issueDefaultFlattenedAccessPolicy.restrictedPlusReaders))));return Promise.all(h.map(function(l){return f.retrieveGroupMetadata(l)}))};
this.performAddedLargeOrOpenGroupCheck=function(){return f.enableRostersChecks?f.evaluateNewGroups().then(function(h){var l=fwb(h);h=jwb(h);if(0===l.size&&0===h.size)return Promise.resolve(!0);var q=gwb(l.size,h.size);l=hwb(l);h=iwb(h);var u=mp(l,l===Nt?Nt:lp("BR"),h);l={};u=mp(u,lp("P",{},mp("Please review the ",lp("A",(l.href=$_b(f.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(x){f.confirmationDialogService.open({title:q,content:u,onConfirm:function(){x(!0)},onDismiss:function(){x(!1)},confirmButtonText:"Add Group"})})}):Promise.resolve(!0)};this.performAddedNewInternalAliasesCheck=function(){return new Promise(function(h){if(f.isPublic()&&ewb(f.issueDefaultAccessPolicyUnderEdit,f.issueDefaultFlattenedAccessPolicy)){var l={};l=mp(lp("P",{},"You are about to give a broad category of users permissions on a public component."),lp("P",{},mp("Please review the ",
lp("A",(l.href=$_b(f.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?")));f.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(){f.implicitAccess={getValue:function(){return f.componentAccessPolicyUnderEdit?
"ALLOW"===f.componentAccessPolicyUnderEdit.implicitAccess:!1},getSavedValue:function(){return f.componentFlattenedAccessPolicy?"ALLOW"===f.componentFlattenedAccessPolicy.implicitAccess:!1},setValue:function(q){f.componentAccessPolicyUnderEdit&&(f.componentAccessPolicyUnderEdit=Object.assign({},f.componentAccessPolicyUnderEdit,{implicitAccess:q?"ALLOW":"DENY"}))}};var h={},l=lp("A",(h.href=Lp(f.documentationLinks)+"#expanded-access",h),"Learn more.");return new Promise(function(q){f.implicitAccess.getValue()===
f.implicitAccess.getSavedValue()?q(!0):f.implicitAccess.getValue()?f.confirmationDialogService.open({title:"Turn on expanded access for component "+f.component.componentId+"?",content:mp("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)}}):f.confirmationDialogService.open({title:"Turn off expanded access for component "+f.component.componentId+"?",content:mp("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(r(cwb(f.issueDefaultFlattenedAccessPolicy,f.issueDefaultAccessPolicyUnderEdit)),r(cwb(f.componentFlattenedAccessPolicy,f.componentAccessPolicyUnderEdit))),l=new Set;h=m(h);for(var q=h.next();!q.done;q=h.next()){q=m(q.value.addedPrincipals);for(var u=q.next();!u.done;u=q.next())u=f.accessPolicyConverter.stringToAccessPolicyPrincipal(u.value),(Vj(u)?Qxa(u.user.emailAddress):
void 0!==u.group&&Qxa(u.group.emailAddress))&&l.add(u)}return[].concat(r(l))};this.performAutomationUserAccessCheck=function(){if(!f.enableComponentAutomationCheck)return Promise.resolve(!0);var h=f.getAddedAutomationInPolicyChange();return new Promise(function(l){if(h.length){var q={};q=lp("A",(q.href=Z_b(f.documentationLinks),q)," automation account documentation");f.confirmationDialogService.open({title:"Adding automation accounts",content:mp(jp("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"),
lp("wbr"),q,jp("."),lp.apply(Bq,["OL",{}].concat(r(h.map(function(u){if(Vj(u)){var x;return lp("LI",{},jp(null!=(x=u.user.emailAddress)?x:""))}if(void 0!==u.group){var y;return lp("LI",{},jp(null!=(y=u.group.emailAddress)?y:""))}throw Error("Te`"+JSON.stringify(u));})))),lp("BR",{}),jp("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,u;return of(function(x){switch(x.nextAddress){case 1:l=
m(h),q=l.next();case 2:if(q.done){x.jumpTo(4);break}u=q.value;return x.yield(u(),5);case 5:if(!x.yieldResult)return x.return(!1);q=l.next();x.jumpTo(2);break;case 4:return x.return(!0)}})};this.enableRostersChecks=DE(this.activeSession,"enableRostersChecks");this.enableComponentAutomationCheck=DE(this.activeSession,"enableComponentAutomationCheck")},lJc=function(a,b){var c=b.component,d=b.originalComponent,e=b.componentReaders,f=b.componentAccessPolicyUnderEdit,h=b.componentFlattenedAccessPolicy,
l=b.issueDefaultAccessPolicyUnderEdit,q=b.issueDefaultFlattenedAccessPolicy,u,x;return of(function(y){if(1==y.nextAddress)return a.component=c,a.originalComponent=d,a.componentReaders=e,a.componentAccessPolicyUnderEdit=f,a.componentFlattenedAccessPolicy=h,a.issueDefaultAccessPolicyUnderEdit=l,a.issueDefaultFlattenedAccessPolicy=q,u=[a.performAccessLimitCheck,a.performDeletedAccountsCheck,a.performAdminAccessRemovalCheck,a.performRestrictedPlusGroupRemovalCheck,a.performAddedLargeOrOpenGroupCheck,
a.performAddedNewInternalAliasesCheck,a.performChangedImplicitAccessCheck,a.performAutomationUserAccessCheck],y.yield(a.runValidation(u),2);x=y.yieldResult;return y.return(x)})};y9.\u0275fac=function(a){return new (a||y9)(n(BR),n(Vt),n(UI),n(SI),n(w9))};y9.\u0275prov=Vc({token:y9,factory:y9.\u0275fac});var z9=function(a){Z.call(this);this.principalTypes=a;this.componentReaders=[];this.templates=[]};W(z9,Z);z9.\u0275dir=Z.\u0275dir;
z9.prototype.ngOnChanges=function(){var a=this.componentAccessPolicy,b=this.issueAccessPolicy,c=new Set([].concat(r(this.componentReaders))),d=new Set([].concat(r(a.admins),r(a.inheritedAdmins)));a=new Set([].concat(r(d),r(a.appenders)));var e=new Set([].concat(r(b.admins))),f=new Set([].concat(r(e),r(b.editors))),h=new Set([].concat(r(f),r(b.appenders))),l=new Set([].concat(r(b.restrictedPlusReaders))),q=new Set([].concat(r(l),r(b.restrictedReaders)));b=new Set([].concat(r(q),r(h),r(b.readers)));
this.templates=[{permission:"Admin Components",principals:[].concat(r(d)).map(Ot)},{permission:"Create Issues",principals:[].concat(r(a)).map(Ot)},{permission:"Admin Issues",principals:[].concat(r(e)).map(Ot)},{permission:"Edit Issues",principals:[].concat(r(f)).map(Ot)},{permission:"Comment Issues",principals:[].concat(r(h)).map(Ot)},{permission:"View Issues",principals:[].concat(r(b)).map(Ot)},{permission:"View Components",principals:[].concat(r(c)).map(Ot)},{permission:"View Restricted",principals:[].concat(r(q)).map(Ot)},
{permission:"View Restricted+",principals:[].concat(r(l)).map(Ot)}];mJc(this,this.templates)};
var mJc=function(a,b){b=m(b);for(var c=b.next();!c.done;c=b.next()){var d={};c=m(c.value.principals);for(var e=c.next();!e.done;d={$jscomp$loop$prop$principal$2337:d.$jscomp$loop$prop$principal$2337},e=c.next())d.$jscomp$loop$prop$principal$2337=e.value,"ALIAS"===d.$jscomp$loop$prop$principal$2337.principalType?d.$jscomp$loop$prop$principal$2337.detailedUserType="NO_DETAILED_TYPE":qJ(a.principalTypes,d.$jscomp$loop$prop$principal$2337.value,!0).then(function(f){return function(h){f.$jscomp$loop$prop$principal$2337.detailedUserType=
h.detailedUserType}}(d))}};z9.\u0275fac=function(a){return new (a||z9)(A(pJ))};
z9.\u0275cmp=p({type:z9,selectors:[["permissions-view"]],inputs:{issueAccessPolicy:"issueAccessPolicy",componentAccessPolicy:"componentAccessPolicy",componentReaders:"componentReaders",accessLevel:"accessLevel"},features:[qg,Hd],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&&(E(0,"table")(1,"tr",0)(2,"th",1),Q(3,"Permission"),F(),E(4,"th",1),Q(5,"Users With Permission"),F()(),P(6,nwb,6,2,"ng-container",2),F());a&2&&(z(6),D("ngForOf",b.templates))},dependencies:[xw,A0],styles:["table[_ngcontent-%COMP%]{border-collapse:collapse;margin-top:10px}.permissions-column-headers[_ngcontent-%COMP%]{display:none}.permission-row[_ngcontent-%COMP%]{border-top:1px solid;border-top-color:#dadce0;border-top-color:var(--divider)}.permission-row[_ngcontent-%COMP%]   th[_ngcontent-%COMP%], .permission-row[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{height:auto;padding:8px;font-size:.8125rem;text-align:left}.permission-row[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:center}b-contact-chip[_ngcontent-%COMP%]{margin-right:5px;margin-top:5px}\n/*# sourceMappingURL=permissions_view.css.map */"]});var nJc=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={},oJc=(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),xwb=hp(nJc,function(a){return oJc[a]}),Pt=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={},pJc=(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),vwb=hp(Pt,function(a){return pJc[a]}),qJc=ywb(),uwb=hp(Pt,function(a){a=[].concat(r(vwb.get(a))).flatMap(function(b){return[].concat(r(qJc.get(b)))});return new Set(a)}),
wwb=hp(Pt,function(a){return new Set(Pt.filter(function(b){return b!==a&&Hna(uwb.get(b),uwb.get(a))}))});var Bwb={componentAdmin:[],componentAdminOnly:[],issueAdminOnly:[],inheritedComponentAdmin:[],issueAdmin:[],editor:[],contributor:[],viewer:[],editExistingIssuesOnly:[],createIssuesOnly:[],commentOnly:[],viewRestricted:[],viewRestrictedPlus:[]},rJc={admins:[],editors:[],appenders:[],readers:[],restrictedReaders:[],restrictedPlusReaders:[],inheritedAdmins:[],implicitAccess:null};var C9=function(a,b,c,d,e,f,h,l){var q=this;this.accessPolicyApi=a;this.accessPolicyConverter=b;this.errorHandler=c;this.butterBar=d;this.userAccess=e;this.componentActions=f;this.componentValidator=h;this.analytics=l;this.isAdmin=!1;this.rolesMap=Bwb;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(u){q.componentAccessPolicyUnderEdit&&(q.componentAccessPolicyUnderEdit=Object.assign({},q.componentAccessPolicyUnderEdit,{implicitAccess:u?"ALLOW":"DENY"}))},isUpdated:function(){var u;return q.componentAccessPolicyUnderEdit.implicitAccess!==(null==(u=q.componentFlattenedAccessPolicy)?void 0:u.implicitAccess)}};this.componentReaders=[];this.issueDefaultFlattenedAccessPolicy=
this.componentFlattenedAccessPolicy=rJc;this.componentAccessPolicyUnderEdit=CR();this.issueDefaultAccessPolicyUnderEdit=CR();this.restrictedPlusReadersValidators={noRestrictedPlusGroups:function(u){a:{var x=q.issueDefaultFlattenedAccessPolicy;if(u&&x){x=x.restrictedPlusReaders;u=m(u);for(var y=u.next();!y.done;y=u.next())if(y=y.value,0===y.indexOf("GROUP:")&&-1===x.indexOf(y)){x=!1;break a}}x=!0}return x}}};
C9.prototype.hasUnsavedAccessLimitChanges=function(){var a=this.originalComponent,b=this.component;return a&&b?a.accessLimit.accessLevel!==b.accessLimit.accessLevel:!1};
var sJc=function(a){if(!a.hasUnsavedAccessLimitChanges())return Promise.resolve();a.isUpdatingAccessLimit=!0;a.isSaving=a.isUpdatingAccessPolicy||a.isUpdatingAccessLimit;return a.accessPolicyApi.setAccessLimit("COMPONENT",a.componentId,a.component.accessLimit).then(function(b){a.component.accessLimit.accessLevel=b.accessLevel;a.originalComponent.accessLimit.accessLevel=b.accessLevel;WF(a.butterBar,"Changed access level.")},function(b){a.component.accessLimit.accessLevel=a.originalComponent.accessLimit.accessLevel;
var c="Could not change access level. ";Vn(b)&&(c+=Wn(b));XF(a.butterBar,c)}).finally(function(){a.isUpdatingAccessLimit=!1;a.isSaving=a.isUpdatingAccessPolicy||a.isUpdatingAccessLimit})};C9.prototype.updateComponentAndOriginalComponent=function(a){this.component=Gj(a);this.originalComponent=Gj(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 XF(this.butterBar,"No component found!"),Promise.resolve();this.componentId=a;return Promise.all([this.accessPolicyApi.get("COMPONENT",this.componentId).then(function(c){b.componentFlattenedAccessPolicy=DR(c);b.componentAccessPolicyUnderEdit=Gj(b.componentFlattenedAccessPolicy)}).catch(function(c){b.errorHandler.errorHandler(null,c)}),this.accessPolicyApi.get("ISSUE_DEFAULTS",this.componentId).then(function(c){b.issueDefaultFlattenedAccessPolicy=
DR(c);b.issueDefaultAccessPolicyUnderEdit=Gj(b.issueDefaultFlattenedAccessPolicy)}).catch(function(c){b.errorHandler.errorHandler(null,c)}),this.loadComponent(),this.loadUserAccess(this.componentId)]).then(function(){})};
var tJc=function(a){a.rolesMap=Cwb({componentAccessPolicy:a.componentAccessPolicyUnderEdit,issueAccessPolicy:a.issueDefaultAccessPolicyUnderEdit})},uJc=function(a,b){var c=a.issueDefaultFlattenedAccessPolicy;return c&&Ewb(c,a.issueDefaultAccessPolicyUnderEdit)?a.accessPolicyApi.update("ISSUE_DEFAULTS",a.componentId,b):Promise.resolve(void 0)},vJc=function(a){var b=Dwb(a.componentAccessPolicyUnderEdit,a.componentFlattenedAccessPolicy),c=a.issueDefaultFlattenedAccessPolicy;a=!(!c||!Ewb(c,a.issueDefaultAccessPolicyUnderEdit));
return b||a},wJc=function(a,b){return Dwb(a.componentAccessPolicyUnderEdit,a.componentFlattenedAccessPolicy)?a.accessPolicyApi.get("COMPONENT",a.componentId).then(function(c){var d=DR(c);if(Dwb(d,a.componentAccessPolicyUnderEdit)){if(Dwb(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 JF(this.userAccess,"admin","components/"+String(a)).then(function(c){b.isAdmin=c;return b.isAdmin?Promise.resolve(!0):JF(b.userAccess,"writer","components/"+String(a))}).catch(function(c){b.errorHandler.errorHandler(null,c);return Promise.resolve(!1)})};
C9.prototype.doSaveAccessPolicy=function(){var a=this;try{var b=ER(this.componentAccessPolicyUnderEdit);var c=ER(this.issueDefaultAccessPolicyUnderEdit)}catch(d){return c="An unknown problem occurred",d instanceof Error&&(c=d.message),XF(this.butterBar,c),Promise.resolve()}if(vJc(this))return this.isSaving=this.isUpdatingAccessPolicy=!0,WF(this.butterBar,"Saving access settings...",0),uJc(this,c).then(function(d){d&&(b.readers=[].concat(r(d.admins||[]),r(d.editors||[]),r(d.appenders||[]),r(d.readers||
[]),r(d.restrictedPlusReaders||[]),r(d.restrictedReaders||[])));return wJc(a,b).catch(function(e){var f;return of(function(h){if(1==h.nextAddress)return f=ER(a.issueDefaultFlattenedAccessPolicy),h.yield(uJc(a,f),2);throw e;})})}).then(function(){return sJc(a)}).then(function(){return a.initialize()}).then(function(){var d=a.rolesMap;tJc(a);var e=a.rolesMap,f={componentAdminOnly:d.componentAdminOnly,issueAdminOnly:d.issueAdminOnly,viewer:d.viewer,editExistingIssuesOnly:d.editExistingIssuesOnly,createIssuesOnly:d.createIssuesOnly,
commentOnly:d.commentOnly,viewRestricted:d.viewRestricted,viewRestrictedPlus:d.viewRestrictedPlus},h={componentAdminOnly:e.componentAdminOnly,issueAdminOnly:e.issueAdminOnly,viewer:e.viewer,editExistingIssuesOnly:e.editExistingIssuesOnly,createIssuesOnly:e.createIssuesOnly,commentOnly:e.commentOnly,viewRestricted:e.viewRestricted,viewRestrictedPlus:e.viewRestrictedPlus};d=Fwb({componentAdmin:d.componentAdmin,issueAdmin:d.issueAdmin,editor:d.editor,contributor:d.contributor},{componentAdmin:e.componentAdmin,
issueAdmin:e.issueAdmin,editor:e.editor,contributor:e.contributor});f=Fwb(f,h);switch(d&&f?2:d?0:f?1:3){case 0:a.analytics.trackEvent(Mp.ROLE_BASED_PERMISSIONS,"update","roles:standard");break;case 1:a.analytics.trackEvent(Mp.ROLE_BASED_PERMISSIONS,"update","roles:advanced");break;case 2:a.analytics.trackEvent(Mp.ROLE_BASED_PERMISSIONS,"update","roles:both");break;default:a.analytics.trackEvent(Mp.ROLE_BASED_PERMISSIONS,"update","roles:neither")}WF(a.butterBar,"Access settings saved",0)}).catch(function(d){XF(a.butterBar,
Wn(d),0)}).finally(function(){return of(function(d){if(1==d.nextAddress)return d.yield(a.loadUserAccess(a.componentId),2);a.isUpdatingAccessPolicy=!1;a.isSaving=a.isUpdatingAccessPolicy||a.isUpdatingAccessLimit;tf(d)})});tJc(this);return sJc(this)};
var xJc=function(a,b){b=zwb(b);a.issueDefaultAccessPolicyUnderEdit=Object.assign({},a.issueDefaultAccessPolicyUnderEdit,b.issuesPermissions);a.componentAccessPolicyUnderEdit=Object.assign({},a.componentAccessPolicyUnderEdit,b.componentPermissions)},Rwb=function(a,b){a.component&&a.originalComponent&&a.componentFlattenedAccessPolicy&&a.componentAccessPolicyUnderEdit&&a.issueDefaultFlattenedAccessPolicy&&a.issueDefaultAccessPolicyUnderEdit?(xJc(a,b),lJc(a.componentValidator,{component:a.component,originalComponent:a.originalComponent,
componentReaders:a.componentReaders,componentFlattenedAccessPolicy:a.componentFlattenedAccessPolicy,componentAccessPolicyUnderEdit:a.componentAccessPolicyUnderEdit,issueDefaultFlattenedAccessPolicy:a.issueDefaultFlattenedAccessPolicy,issueDefaultAccessPolicyUnderEdit:a.issueDefaultAccessPolicyUnderEdit}).then(function(c){if(c)return a.doSaveAccessPolicy();WF(a.butterBar,"Update failed: Invalid changes to component permissions",0);return Promise.resolve()})):Promise.resolve()};
Xi.Object.defineProperties(C9.prototype,{componentAccessPolicyUnderEdit:{configurable:!0,enumerable:!0,set:function(a){Fj(a,this.componentAccessPolicyUnderEditInternal)||(this.componentAccessPolicyUnderEditInternal=a,this.componentReaders=Awb({componentAccessPolicy:this.componentAccessPolicyUnderEdit,issueAccessPolicy:this.issueDefaultAccessPolicyUnderEdit}))},get:function(){return this.componentAccessPolicyUnderEditInternal}},issueDefaultAccessPolicyUnderEdit:{configurable:!0,enumerable:!0,set:function(a){Fj(a,
this.issueDefaultAccessPolicyUnderEditInternal)||(this.issueDefaultAccessPolicyUnderEditInternal=a,this.componentReaders=Awb({componentAccessPolicy:this.componentAccessPolicyUnderEdit,issueAccessPolicy:this.issueDefaultAccessPolicyUnderEdit}))},get:function(){return this.issueDefaultAccessPolicyUnderEditInternal}}});C9.\u0275fac=function(a){return new (a||C9)(n(hG),n(BR),n(ZF),n(VF),n(IF),n(hV),n(y9),n(wH))};C9.\u0275prov=Vc({token:C9,factory:C9.\u0275fac});var D9=function(a,b,c){this.activeSession=a;this.documentationLinks=b;this.rolesEditor=c;this.AccessLevelStrings=rSb};D9.prototype.getRecentIssuesLink=function(){return eo(this.rolesEditor.component.componentId,{includeArchived:this.rolesEditor.component?this.rolesEditor.component.archived:!1})};D9.prototype.isParentPartner=function(){return!(!this.rolesEditor.parentComponent||!N1a(this.rolesEditor.parentComponent))};
D9.prototype.isParentPublic=function(){return!(!this.rolesEditor.parentComponent||!vr(this.rolesEditor.parentComponent))};D9.\u0275fac=function(a){return new (a||D9)(A(Vt),A(SI),A(C9))};
D9.\u0275cmp=p({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&&(P(0,Jwb,20,7,"div",0),E(1,"div",1)(2,"p"),Q(3," Access to issues is granted per component using the settings below. All settings provide access to view the component. "),E(4,"a",2),Q(5,"Learn more"),F()()());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=ur(b.rolesEditor.parentComponent)||
ur(b.rolesEditor.component);break a}}else{a=!1;break a}a=void 0}D("ngIf",a);z(4);Pg("href","",Lp(b.documentationLinks),"#recommended-role-based-permissions-configurations",Ie)}},dependencies:[yw,Qh,kx,ax,hx],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;margin-bottom:20px}.component-banner[_ngcontent-%COMP%]{background-color:#f8f9fa;background-color:var(--button-bg);border:1px solid;border-color:#dadce0;border-color:var(--divider);border-radius:8px;margin:15px 0 0;padding:16px}.component-banner[_ngcontent-%COMP%]   .component-visibility-settings[_ngcontent-%COMP%]{min-height:28px}.component-banner[_ngcontent-%COMP%]   .component-visibility-header[_ngcontent-%COMP%]{font-weight:bold}.component-banner.access-level-banner[_ngcontent-%COMP%]{margin-bottom:20px}.component-banner.implicit-access-banner[_ngcontent-%COMP%], .component-banner.template-help-banner[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted);margin:15px 0px 10px 0}\n/*# sourceMappingURL=access_limit_settings.css.map */"]});var 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)(A(SI),A(C9))};
E9.\u0275cmp=p({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&&(E(0,"div",0)(1,"span",1)(2,"mat-checkbox",2),K("change",function(c){return b.setImplicitAccess(c.checked)}),F()(),E(3,"div",3)(4,"strong",4),Q(5,"Expanded access"),F(),E(6,"div",5),Q(7," When checked, verifiers and assignees can edit issues for this component, and CC'd users can add comments. "),E(8,"a",6),Q(9,"Learn more"),F()()()());a&2&&(Fg("bv2-edit-resource-readonly",b.isAccessEditDisabled()),z(2),D("checked",b.rolesEditor.implicitAccess.getValue())("disabled",
b.isAccessEditDisabled()),z(6),Pg("href","",Lp(b.documentationLinks),"#expanded-access",Ie))},dependencies:[DO],styles:["[_nghost-%COMP%]{display:flex}.expanded-access-settings[_ngcontent-%COMP%]{background-color:#f8f9fa;background-color:var(--button-bg);border:1px solid;border-color:#dadce0;border-color:var(--divider);display:flex;margin:10px 0px;border-radius:8px;width:100%;padding:16px}.expanded-access-settings[_ngcontent-%COMP%]   .permission-toggle-text[_ngcontent-%COMP%]{margin-left:1em}\n/*# sourceMappingURL=expanded_access_settings.css.map */"]});var Kwb=function(){return{}},Mwb=function(a,b){return{displayText:a,values:b}},Lwb=function(a){return[a]},Nwb=function(){return[]},F9=function(){this.rolesTableData=[];this.canEdit=!1;this.rolesMapUpdated=new Rv;this.formIsValid=new Rv;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=p({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&&(E(0,"table")(1,"thead")(2,"tr")(3,"th",0),Q(4,"Role Assignments"),F(),E(5,"th",0)(6,"h6"),Q(7,"Admin Components"),F()(),E(8,"th",0)(9,"h6"),Q(10,"Create Issues"),F()(),E(11,"th",0)(12,"h6"),Q(13,"Admin Issues"),F()(),E(14,"th",0)(15,"h6"),Q(16,"Edit Issues"),F()(),E(17,"th",0)(18,"h6"),Q(19,"Comment Issues"),F()(),E(20,"th",0)(21,"h6"),Q(22,"View Issues"),F()(),E(23,
"th",0)(24,"h6"),Q(25,"View Restricted"),F()(),E(26,"th",0)(27,"h6"),Q(28,"View Restricted+"),F()()()(),E(29,"tbody"),P(30,Owb,26,29,"ng-container",1),F()());a&2&&(z(30),D("ngForOf",b.rolesTableData))},dependencies:[xw,o0,GN,tA,jB,NC],styles:["table[_ngcontent-%COMP%]{width:100%;font-size:.8125rem;font-family:Roboto,Arial,sans-serif}table[_ngcontent-%COMP%], thead[_ngcontent-%COMP%], tbody[_ngcontent-%COMP%]{display:flex;flex-direction:column}tr[_ngcontent-%COMP%]{display:flex}th[_ngcontent-%COMP%]:first-child{visibility:hidden;flex:0 0 40%}th[_ngcontent-%COMP%]:not(:first-child){width:20em;height:20px;text-align:center}th[_ngcontent-%COMP%]:not(:first-child)   h6[_ngcontent-%COMP%]{display:inline;font-size:.8125rem}td[_ngcontent-%COMP%]:first-child{min-width:250px;flex:0 0 40%}td[_ngcontent-%COMP%]:not(:first-child){display:flex;justify-content:center;width:20em;padding-top:16px}b-multi-user-input[_ngcontent-%COMP%]{display:flex;flex-direction:column}[_nghost-%COMP%]     td .edit-field{margin:14px 0 0}[_nghost-%COMP%]     td .edit-field .bv2-multi-user-input{width:auto;max-width:100%}[_nghost-%COMP%]     td .edit-field .bv2-multi-user-input input.bv2-multi-user-embedded-input{max-width:100%}[_nghost-%COMP%]     td .edit-field .bv2-multi-user-input .bv2-multi-user-errors{padding:9px}[_nghost-%COMP%]     td .edit-field .bv2-multi-user-input .bv2-user-chip{max-width:100%}[_nghost-%COMP%]     td .edit-field .bv2-multi-user-input .bv2-user-chip .mat-tooltip-trigger{display:flex}.role-title[_ngcontent-%COMP%]{display:flex;margin:5px 2px}.role-title[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{display:flex}[_nghost-%COMP%]     .mat-icon-button{margin:0 5px;width:inherit;height:inherit}[_nghost-%COMP%]     .mat-icon-button mat-icon{display:flex;height:16px;width:16px}[_nghost-%COMP%]     b-icon{width:2em;margin:30px 0px}\n/*# sourceMappingURL=roles_view_table.css.map */"]});var G9=function(a){this.documentationLinks=a};G9.\u0275fac=function(a){return new (a||G9)(A(SI))};
G9.\u0275cmp=p({type:G9,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&&P(0,Pwb,5,1,"div",0);if(a&2){if(b.rolesMap){var c=b.rolesMap,d=c.issueAdmin,e=c.editor,f=c.contributor;a=c.componentAdminOnly;b=c.viewer;var h=c.editExistingIssuesOnly,l=c.createIssuesOnly,
q=c.commentOnly,u=c.viewRestricted,x=c.viewRestrictedPlus;c=[].concat(r(c.componentAdmin),r(d),r(e),r(f));a=[].concat(r(a),r(b),r(h),r(l),r(q),r(u),r(x));a=0===c.length&&0<a.length}else a=!1;D("ngIf",a)}},dependencies:[yw],styles:[".use-standard-roles-banner[_ngcontent-%COMP%]{background-color:#feefc3;background-color:var(--warn-bg);width:100%;margin:-15px 0 15px;border-radius:4px}.use-standard-roles-banner[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin:4px;padding:8px}\n/*# sourceMappingURL=use_standard_roles_banner.css.map */"]});var H9=function(){this.rolesMap=Bwb;this.isSaving=!1;this.saveRolesMap=new Rv;this.rolesUnderEdit=Bwb;this.formIsValid=!0;this.displayedTableColumns="role componentAdmin createIssues issueAdmin issueEditor issueCommenter issueReader restrictedReader restrictedPlusReader".split(" ");this.standardRolesTableData=[];this.advancedRolesTableData=[]},yJc=function(a){var b=a.rolesUnderEdit,c;var d=[{ariaLabel:"Component Admin role",label:"Component Admins",users:null==b?void 0:b.componentAdmin,roleType:"componentAdmin",
grantedPermissions:{componentAdmin:!0,createIssues:!0,issueAdmin:!0,issueEditor:!0,issueCommenter:!0,issueReader:!0,restrictedReader:!1,restrictedPlusReader:!1},includeAliases:!1,includeViewAliases:!1,tooltip:"Component Admins are granted all the permissions to manage the component and all issues in this component. They can't view restricted content. Typical Component Admins are team leads."},{ariaLabel:"Issue Admin role",label:"Issue Admins",users:null==b?void 0:b.issueAdmin,roleType:"issueAdmin",
grantedPermissions:{componentAdmin:!1,createIssues:!0,issueAdmin:!0,issueEditor:!0,issueCommenter:!0,issueReader:!0,restrictedReader:!1,restrictedPlusReader:!1},includeAliases:!1,includeViewAliases:!1,tooltip:"Issue Admins are granted all permissions to manage issues, but can't edit component settings. They can't view restricted content. Typical Issue Admins are team members."},{ariaLabel:"Issue Editor role",label:"Issue Editors",users:null==b?void 0:b.editor,roleType:"editor",grantedPermissions:{componentAdmin:!1,
createIssues:!0,issueAdmin:!1,issueEditor:!0,issueCommenter:!0,issueReader:!0,restrictedReader:!1,restrictedPlusReader:!1},includeAliases:"EXTERNAL_PUBLIC"!==(null==(c=a.component.accessLimit)?void 0:c.accessLevel),includeViewAliases:!1,tooltip:"Issue Editors are granted all issue-related permissions except for admin permissions such as delete an issue or comment, or change restrictions. They can't view restricted content. Typical Issue Editors are collaborating team members."},{ariaLabel:"Issue Contributor role",
label:"Issue Contributors",users:null==b?void 0:b.contributor,roleType:"contributor",grantedPermissions:{componentAdmin:!1,createIssues:!0,issueAdmin:!1,issueEditor:!1,issueCommenter:!0,issueReader:!0,restrictedReader:!1,restrictedPlusReader:!1},includeAliases:!0,includeViewAliases:!1,tooltip:"Issue Contributors can read, comment, and create issues, but they can't edit issues. They can't view restricted content. Typical Issue Contributors are external partners or public users."}];a.standardRolesTableData=
d;b=a.rolesUnderEdit;var e,f;d=[{ariaLabel:"Component Admin Only role",label:"Component Admins Only",users:null==b?void 0:b.componentAdminOnly,roleType:"componentAdminOnly",grantedPermissions:{componentAdmin:!0,createIssues:!0,issueAdmin:!1,issueEditor:!1,issueCommenter:!1,issueReader:!1,restrictedReader:!1,restrictedPlusReader:!1},includeAliases:!1,includeViewAliases:!1,tooltip:"Users with the Component Admin Only role can edit the component settings and create issues, but otherwise have no issue-related permissions.",
chips:{displayText:"Inherited Admins",values:null!=(f=b.inheritedComponentAdmin)?f:[]}},{ariaLabel:"Issue Creators Only role",label:"Issue Creators Only",users:null==b?void 0:b.createIssuesOnly,roleType:"createIssuesOnly",grantedPermissions:{componentAdmin:!1,createIssues:!0,issueAdmin:!1,issueEditor:!1,issueCommenter:!1,issueReader:!1,restrictedReader:!1,restrictedPlusReader:!1},includeAliases:!0,includeViewAliases:!1,tooltip:"Users with the issue Issue Creators Only role can create issues, but have no other permissions. For example, they are not able to view issues they have created."},
{ariaLabel:"Issue Admin Only role",label:"Issue Admins Only",users:null==b?void 0:b.issueAdminOnly,roleType:"issueAdminOnly",grantedPermissions:{componentAdmin:!1,createIssues:!1,issueAdmin:!0,issueEditor:!0,issueCommenter:!0,issueReader:!0,restrictedReader:!1,restrictedPlusReader:!1},includeAliases:!1,includeViewAliases:!1,tooltip:"Users with the Issue Admin Only role have all issue permissions but cannot create new issues."},{ariaLabel:"Issue Editors (existing issues only) role",label:"Issue Editors (existing issues only)",
users:null==b?void 0:b.editExistingIssuesOnly,roleType:"editExistingIssuesOnly",grantedPermissions:{componentAdmin:!1,createIssues:!1,issueAdmin:!1,issueEditor:!0,issueCommenter:!0,issueReader:!0,restrictedReader:!1,restrictedPlusReader:!1},includeAliases:"EXTERNAL_PUBLIC"!==(null==(e=a.component.accessLimit)?void 0:e.accessLevel),includeViewAliases:!1,tooltip:"Issue Editors (existing issues only) have the issue editor's permission on existing issues, but they can't create new issues in this component."},
{ariaLabel:"Issue Commenter Only role",label:"Issue Commenter Only",users:null==b?void 0:b.commentOnly,roleType:"commentOnly",grantedPermissions:{componentAdmin:!1,createIssues:!1,issueAdmin:!1,issueEditor:!1,issueCommenter:!0,issueReader:!0,restrictedReader:!1,restrictedPlusReader:!1},includeAliases:!0,includeViewAliases:!1,tooltip:"Users with the Issue Commenter Only role may view and comment on issues on this component"},{ariaLabel:"Restricted Plus Content Viewer role",label:"Restricted+ Content Viewer",
users:null==b?void 0:b.viewRestrictedPlus,roleType:"viewRestrictedPlus",grantedPermissions:{componentAdmin:!1,createIssues:!1,issueAdmin:!1,issueEditor:!1,issueCommenter:!1,issueReader:!0,restrictedReader:!0,restrictedPlusReader:!0},includeAliases:!1,includeViewAliases:!1,tooltip:"Only Restricted+ Content Viewers can view Restricted+ content on an issue.",customValidators:a.rolesEditor.restrictedPlusReadersValidators},{ariaLabel:"Restricted Content Viewer role",label:"Restricted Content Viewer",users:null==
b?void 0:b.viewRestricted,roleType:"viewRestricted",grantedPermissions:{componentAdmin:!1,createIssues:!1,issueAdmin:!1,issueEditor:!1,issueCommenter:!1,issueReader:!0,restrictedReader:!0,restrictedPlusReader:!1},includeAliases:!1,includeViewAliases:!1,tooltip:"Only Restricted Content Viewers can view restricted content on an issue."},{ariaLabel:"Issue Viewer role",label:"Issue Viewers",users:null==b?void 0:b.viewer,roleType:"viewer",grantedPermissions:{componentAdmin:!1,createIssues:!1,issueAdmin:!1,
issueEditor:!1,issueCommenter:!1,issueReader:!0,restrictedReader:!1,restrictedPlusReader:!1},includeAliases:!0,includeViewAliases:!0,tooltip:"Issue Viewers can only view issues in this component, but can't comment or edit issues."}];a.advancedRolesTableData=d},zJc=function(a){return a.advancedRolesTableData.some(function(b){return 0<b.users.length})},AJc=function(a){a.rolesUnderEdit=Object.assign({},a.rolesMap)};g=H9.prototype;g.ngOnInit=function(){AJc(this);yJc(this)};
g.ngOnChanges=function(a){a.rolesMap&&AJc(this);yJc(this)};g.updateRolesMap=function(a){var b={};this.rolesUnderEdit=Object.assign({},this.rolesUnderEdit,(b[a.role]=a.assignees,b))};g.getComponentAccessLevel=function(){if(this.component.accessLimit)return this.component.accessLimit.accessLevel};g.hasUnsavedAccessLimitChanges=function(){return this.rolesEditor.hasUnsavedAccessLimitChanges()};g.canEdit=function(){return!this.isSaving&&this.rolesEditor.isAdmin};
g.canSave=function(){return this.canEdit()&&(!Fj(this.rolesMap,this.rolesUnderEdit)||this.rolesEditor.implicitAccess.isUpdated()||this.hasUnsavedAccessLimitChanges())&&this.formIsValid};H9.\u0275fac=function(a){return new (a||H9)};
H9.\u0275cmp=p({type:H9,selectors:[["roles-view"]],inputs:{rolesMap:"rolesMap",isSaving:"isSaving",component:"component",rolesEditor:"rolesEditor"},outputs:{saveRolesMap:"saveRolesMap"},features:[Hd],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&&(H(0,"access-limit-settings")(1,"use-standard-roles-banner",0),E(2,"roles-view-table",1),K("rolesMapUpdated",function(c){return b.updateRolesMap(c)})("formIsValid",function(c){return b.formIsValid=c}),F(),E(3,"mat-expansion-panel",2)(4,"mat-expansion-panel-header")(5,"mat-panel-title"),Q(6," Advanced Roles "),F()(),E(7,"roles-view-table",1),K("rolesMapUpdated",function(c){return b.updateRolesMap(c)})("formIsValid",
function(c){return b.formIsValid=c}),F()(),H(8,"expanded-access-settings"),E(9,"button",3),K("click",function(){b.canSave()&&b.saveRolesMap.emit(b.rolesUnderEdit)}),Q(10,"Update"),F(),E(11,"button",4),K("click",function(){AJc(b);yJc(b)}),Q(12," Revert Changes\n"),F());a&2&&(z(1),D("rolesMap",b.rolesMap),z(1),D("rolesTableData",b.standardRolesTableData)("displayedTableColumns",b.displayedTableColumns)("canEdit",b.canEdit())("accessLevel",b.getComponentAccessLevel()),z(1),D("expanded",zJc(b)),z(4),
D("rolesTableData",b.advancedRolesTableData)("displayedTableColumns",b.displayedTableColumns)("canEdit",b.canEdit())("accessLevel",b.getComponentAccessLevel()),z(2),D("disabled",!b.canSave()),z(2),D("disabled",!!Fj(b.rolesMap,b.rolesUnderEdit)))},dependencies:[p7,q7,r7,tA,F9,D9,E9,G9],styles:["[_nghost-%COMP%]     mat-expansion-panel .mat-expansion-panel-body{padding:0}mat-expansion-panel-header[_ngcontent-%COMP%]{margin:0 0 0 8px;padding:0}button[_ngcontent-%COMP%]{margin:0px 10px 5px 0px}\n/*# sourceMappingURL=roles_view.css.map */"]});var I9=function(a,b){Z.call(this);this.rolesEditor=a;this.route=b};W(I9,Z);I9.\u0275dir=Z.\u0275dir;I9.prototype.ngOnInit=function(){var a=this;this.route.paramMap.pipe(B(function(b){return b.get("componentId")}),Gf(nk),cg(function(b){return a.rolesEditor.initialize(Number(b))}),dg(this.destroyed$)).subscribe(function(){tJc(a.rolesEditor)})};I9.prototype.isSaving=function(){return this.rolesEditor.isSaving};I9.\u0275fac=function(a){return new (a||I9)(A(C9),A(so))};
I9.\u0275cmp=p({type:I9,selectors:[["role-based-permissions"]],features:[Ug([C9,y9]),qg],decls:2,vars:2,consts:[["class","bv2-view-loading",4,"ngIf"],[4,"ngIf"],[1,"bv2-view-loading"],[1,"padded"],["label","Edit Roles"],[3,"rolesMap","isSaving","component","rolesEditor","saveRolesMap"],["label","View Permissions"],[3,"componentReaders","componentAccessPolicy","issueAccessPolicy","accessLevel"]],template:function(a,b){a&1&&(P(0,Qwb,2,0,"div",0),P(1,Swb,7,8,"div",1));a&2&&(D("ngIf",!(null==b.rolesEditor.component?
0:b.rolesEditor.component.componentId)),z(1),D("ngIf",null==b.rolesEditor.component?null:b.rolesEditor.component.componentId))},dependencies:[yw,uN,tN,zM,z9,H9],styles:["\n/*# sourceMappingURL=role_based_permissions.css.map */"]});var BJc=new Bd("GMAT_CHECKBOX_OPTION");var CJc=new Map([["primary","mat-primary"],["accent","mat-accent"],["warn","mat-warn"]]),J9=function(a,b){this.elementRef=a;this.gmatCheckboxOption=b;this.color="primary";this.hasGmatAttribute=a.nativeElement.hasAttribute("gmat-checkbox")};J9.prototype.ngOnInit=function(){this.isEnabled()&&(this.elementRef.nativeElement.classList.remove.apply(this.elementRef.nativeElement.classList,r(CJc.values())),this.elementRef.nativeElement.classList.add(CJc.get(this.color)))};
J9.prototype.isEnabled=function(){return this.gmatCheckboxOption?this.hasGmatAttribute||this.gmatCheckboxOption.enabled:this.hasGmatAttribute};J9.\u0275fac=function(a){return new (a||J9)(A(ke),A(BJc,8))};J9.\u0275dir=qd({type:J9,selectors:[["mat-checkbox","gmat-checkbox",""],["mat-checkbox"]],hostVars:2,hostBindings:function(a,b){a&2&&Fg("gmat-checkbox",b.isEnabled())},inputs:{color:"color"}});var DJc=["archiveDialog"],EJc=["archiveButton"],FJc=["metadataForm"],GJc={BASIC:"basic",CUSTOM_FIELDS:"customFields",FIELD_ORDERING:"fieldOrdering",TEMPLATES:"templates",ACCESS:"access"},K9=function(a,b,c,d,e,f,h,l,q,u,x,y,G,L,M,T,S,X,aa,na,ma,Ca,Fa,Ja,Ab){Z.call(this);var cb=this;this.route=a;this.cdr=b;this.routeParams=c;this.bLocation=d;this.templatesApi=e;this.paths=f;this.appHistory=h;this.butterBar=l;this.pageTitle=q;this.activeSession=u;this.documentationLinks=x;this.matDialogService=y;this.analytics=
G;this.checkBeforeExit=L;this.userAccess=M;this.componentActions=T;this.errorHandler=S;this.componentUpdates=X;this.componentUpdatesApi=aa;this.confirmationDialogService=na;this.appEvents=ma;this.teamsService=Ca;this.sloApi=Fa;this.sloService=Ja;this.currentTracker=Ab;this.componentId$=new C.ReplaySubject(1);this.Tab=GJc;this.componentListRoute=pta;this.showSloInheritancePath=!1;this.component$=new C.BehaviorSubject(null);this.componentTrackerId$=this.component$.pipe(B(function(Ma){return null==Ma?
void 0:Ma.trackerId}));this.showTrackerRedirect$=(0,C.combineLatest)([this.currentTracker.trackerId$,this.componentTrackerId$]).pipe(B(function(Ma){var ha=m(Ma);Ma=ha.next().value;ha=ha.next().value;return cb.shouldShowTrackerRedirect(Ma,mk("")(ha))}));this.parentComponent$=new C.BehaviorSubject(null);this.componentTeam$=new C.BehaviorSubject(null);this.team$=this.componentTeam$.pipe(cg(function(Ma){return(Ma=null==Ma?void 0:Ma.id)&&"0"!==Ma?cb.teamsService.getTeam(Ma):(0,C.of)(null)}));this.parentComponentTeam$=
this.parentComponent$.pipe(cg(function(Ma){var ha;return(Ma=null==Ma?void 0:null==(ha=Ma.team)?void 0:ha.id)&&"0"!==Ma?cb.teamsService.getTeam(Ma):(0,C.of)(null)}));this.inheritedSloMetadata$=(0,C.combineLatest)([this.component$,this.parentComponent$,this.team$]).pipe(B(function(Ma){var ha=m(Ma);Ma=ha.next().value;var xa=ha.next().value;ha=ha.next().value;if((null==Ma?0:Ma.team)&&!Ma.team.inherit&&"0"!==Ma.team.id){var Da;return null!=(Da=null==ha?void 0:ha.getSlo())?Da:null}var Wa;return null!=(Wa=
null==xa?void 0:xa.slo)?Wa:null}));this.inheritedSlo$=this.inheritedSloMetadata$.pipe(Qf(),cg(function(Ma){var ha="0";Ma instanceof Tt?ha=Ma.getSloId():Ma&&(ha=Ma.id);return"0"===ha?(0,C.of)({id:"0"}):cb.sloService.get(ha).then(function(xa){return{id:ha,slo:xa}})}));this.sloPolicySource$=this.inheritedSloMetadata$.pipe(Qf(),cg(function(Ma){if(!Ma)return(0,C.of)({name:"None",type:"none"});Ma=hyb(Ma);var ha=Ma.sourceTeamId,xa=Ma.sourceComponentId;return ha&&"0"!==ha?cb.teamsService.getTeam(ha).pipe(B(function(Da){var Wa;
return{name:null!=(Wa=Da.getName())?Wa:ha,type:"team",link:{path:"/teams/"+ha+"/edit",fragment:"slo"}}})):xa?cb.componentActions.get(Number(xa)).then(function(Da){var Wa;return{name:null!=(Wa=Da.name)?Wa:xa,type:"component",link:{path:"/components/"+xa+"/edit"}}}):(0,C.of)(null)}));this.policySourcePath$=(0,C.combineLatest)([this.component$,this.team$,this.parentComponentTeam$,this.inheritedSloMetadata$]).pipe(B(function(Ma){var ha=m(Ma);Ma=ha.next().value;var xa=ha.next().value,Da=ha.next().value;
ha=ha.next().value;if(!Ma||!Ma.componentPathInfo||!ha)return null;var Wa=hyb(ha);ha=Wa.sourceComponentId;xa=jyb(xa,Wa.sourceTeamId,Ma.team,Da);return null===ha?{componentPath:null,teamPath:xa}:{componentPath:iyb(Ma,ha),teamPath:xa}}));this.enableSloLockingCheck=DE(this.activeSession,"enableSloLockingCheck");this.component=null;this.effectiveCustomFields=[];this.parentComponent=null;this.descendants=[];this.isLoading=this.hasInitialized=!1;this.selectedTabIndex=0;this.isAnonymous=this.activeSession.isAnonymous();
this.originalParentComponent=this.originalComponent=null;this.isAdminInternal=this.isUpdating=this.isArchiving=!1;this.metadataForm=null;this.error="";this.isComponentSloEditor=this.isEditorInternal=!1;this.updateDiffs=void 0;this.templates=[];this.isParentComponentRequired=this.commentEditsEnabled=!0;this.retentionIsValid=!1;this.isEnableSloChecked=!0;this.enableSloLockingUi=DE(this.activeSession,"enableSloLockingUi");this.enableTeamLeadSloEditingUi=DE(this.activeSession,"enableTeamLeadSloEditingUi");
this.sloLocked$=this.componentId$.pipe(Gf(Boolean),cg(function(Ma){return cb.sloApi.executor.get({url:"action/components/"+Ma+"/slo_edit_policy",responseConstructor:zgc}).pipe(B($oa))}));this.getSloManagementLink=qta};W(K9,Z);K9.\u0275dir=Z.\u0275dir;K9.prototype.shouldShowTrackerRedirect=function(a,b){return""!==a&&a!==b};
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.bLocation.hash(e,!0)};
K9.prototype.ngOnInit=function(){var a=this;this.componentId=Lj(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(gQ(this.checkBeforeExit,function(){return a.hasUnsavedChanges()},!1));this.loadUserAccess(this.componentId);this.enableSloLockingCheck&&HJc(this);this.componentHistoryUiEnabled=this.activeSession.isInternalSession();
IJc(this);this.subscriptions.add(this.appEvents.customFieldsModified.subscribe(function(b){a.effectiveCustomFields=JJc(b)}));this.hasInitialized=!0;this.route.fragment.pipe(dg(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 IJc=function(a){a=[KJc(a,a.componentId),a.loadComponent(a.componentId),a.loadTemplates(a.componentId)];return Promise.all(a).then(function(){})};K9.prototype.isAdmin=function(){return this.isAdminInternal};var Rt=function(a){return a.enableSloLockingCheck?a.isComponentSloEditor:a.isAdmin()};g=K9.prototype;g.isSaving=function(){return this.isUpdating||this.isArchiving};g.isArchived=function(){return this.component?this.component.archived:!1};g.isPublic=function(){return vr(this.component)};
g.isExternal=function(){return ur(this.component)};g.isParentPublic=function(){return!(!this.parentComponent||!vr(this.parentComponent))};g.isParentPartner=function(){return!(!this.parentComponent||!N1a(this.parentComponent))};var Bxb=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};
K9.prototype.hasUnsavedMetadataChanges=function(){return!(Fj(this.component,this.originalComponent)&&Fj(this.parentComponent,this.originalParentComponent))};K9.prototype.hasUnsavedChanges=function(){return this.hasUnsavedMetadataChanges()};
var LJc=function(a){var b=Tn();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:jp("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},MJc=function(a){var b=Tn();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:mp(jp('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.'),lp("BR",{}),lp("BR",{}),jp('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.'),
lp("BR",{}),lp("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};K9.prototype.saveMetadata=function(){var a=this;return NJc(this)?MJc(this).then(function(b){return b?LJc(a):Promise.resolve(!1)}).then(function(b){b&&a.doSaveMetadata().then(function(){return IJc(a)})}):Promise.resolve()};
K9.prototype.doSaveMetadata=function(){var a=this;this.isUpdating=!0;WF(this.butterBar,"Saving changes ...",0);return OJc(this).then(function(){a.parentComponent&&(a.component.parentComponentId=a.parentComponent.componentId)}).then(function(){return PJc(a)}).then(function(){return QJc(a)}).then(function(){return RJc(a)}).then(function(){WF(a.butterBar,"Save complete.")}).catch(function(b){a.errorHandler.errorHandler(null,b)}).finally(function(){a.componentUpdatesApi.invalidateCache(a.componentId);
a.isUpdating=!1})};
var OJc=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)},PJc=function(a){return a.component.slo&&!Fj(a.originalComponent.slo,a.component.slo)?a.componentActions.updateSlo(a.component.componentId,a.component.slo).then(function(){a.analytics.trackEvent(Mp.MANAGE_COMPONENT,
"updateSlo");return!0}).catch(function(b){a.component.slo=a.originalComponent.slo;return Promise.reject(b)}):Promise.resolve(!1)},QJc=function(a){return a.component.team&&!Fj(a.originalComponent.team,a.component.team)?a.componentActions.updateTeam(a.component.componentId,a.component.team).then(function(){a.analytics.trackEvent(Mp.MANAGE_COMPONENT,"updateTeam");return!0}).catch(function(b){a.component.team=a.originalComponent.team;return Promise.reject(b)}):Promise.resolve(!1)},RJc=function(a){return SJc(a)?
a.componentActions.update(a.component).then(function(){a.analytics.trackEvent(Mp.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)},SJc=function(a){var b=Gj(a.component);b.team=a.originalComponent.team;b.slo=a.originalComponent.slo;b.parentComponentId=a.originalComponent.parentComponentId;return!Fj(a.originalComponent,b)},NJc=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};K9.prototype.getComponentAccessLevel=function(){if(this.component&&this.component.accessLimit)return this.component.accessLimit.accessLevel};var KJc=function(a,b){return a.componentActions.getChildren(b).then(function(c){a.childComponents=c}).catch(function(c){a.errorHandler.errorHandler(null,c)})};
K9.prototype.revertMetadataChanges=function(){this.updateComponentAndOriginalComponent(this.originalComponent);this.error="";this.parentComponent=Gj(this.originalParentComponent);this.parentComponent$.next(this.parentComponent);this.commentEditsEnabled="ENABLED"==this.component.commentEditState};
var Txb=function(a){a.componentActions.getUncached(a.componentId).then(function(b){a.effectiveCustomFields=JJc(b.componentPathInfo.allCustomField)})},JJc=function(a){return a?a.filter(function(b){return b.enabledOnIssues}):[]};
K9.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=JJc(c.componentPathInfo.allCustomField);b.pageTitle.setTitle("Component: "+c.name);b.archiveAction=c.archived?"Unarchive":"Archive";b.commentEditsEnabled="ENABLED"==c.commentEditState;if(!(c=0===b.component.parentComponentId)){var d;
c=oL(b.currentTracker,null==(d=b.parentComponent)?void 0:d.componentPathInfo);c=b.currentTracker.inTracker&&(!c||!c.componentPathId||0===c.componentPathId.length)}c&&(b.isParentComponentRequired=!1)}).catch(function(c){b.errorHandler.errorHandler(null,c)}).finally(function(){b.isLoading=!1;b.hasInitialized&&b.cdr.detectChanges()})};
K9.prototype.loadUserAccess=function(a){var b=this,c=Yn("COMPONENT",a);JF(this.userAccess,"admin",c).then(function(d){b.isAdminInternal=d;return b.isAdminInternal?!0:JF(b.userAccess,"writer",c)}).then(function(d){b.isEditorInternal=d}).catch(function(d){b.errorHandler.errorHandler(null,d)})};var HJc=function(a){JF(a.userAccess,"writer",Yn("COMPONENT_SLO",a.componentId)).then(function(b){a.isComponentSloEditor=b})},St=function(a){return a.isSaving()||!a.isEditorInternal};g=K9.prototype;
g.isAccessEditDisabled=function(){return this.isSaving()||!this.isAdmin()};g.loadParentComponent=function(a){var b=this;this.componentActions.get(a).then(function(c){b.parentComponent=c;b.parentComponent$.next(b.parentComponent);b.originalParentComponent=Gj(c);return c}).catch(function(c){b.errorHandler.errorHandler(null,c)})};g.getRecentIssuesLink=function(){var a=this.isArchived();return eo(this.componentId,{includeArchived:a})};g.componentPermissions=function(a){return{path:"/components/"+a,fragment:"access"}};
g.createIssue=function(){this.trackClick("createIssue");var a={};this.bLocation.url(this.paths.createIssue((a.component=String(this.component.componentId),a)))};g.createChild=function(){this.bLocation.url(this.paths.createComponent({parentId:this.component.componentId}))};g.trackClick=function(a){this.analytics.trackEvent("editComponent","click",a)};
var Twb=function(a){a.butterBar.dismiss();a.retentionIsValid?a.hasUnsavedChanges()?XF(a.butterBar,"You have unsaved changes on one or more tabs. Please save or revert these changes before "+a.archiveAction.slice(0,-1)+"ing."):(a.isArchiving=!0,WF(a.butterBar,"Looking up subcomponents...",0),a.componentActions.getDescendants(a.component.componentId).then(function(b){a.butterBar.dismiss();a.descendants=b;DA(a.matDialogService.open(a.confirmArchiveDialog,{restoreFocus:!1})).pipe(dg(a.destroyed$)).subscribe(function(){a.archiveButton.focus()})}).catch(function(b){a.errorHandler.errorHandler(null,
b)})):XF(a.butterBar,"Required retention settings are missing or invalid. Please set retention settings before "+a.archiveAction.slice(0,-1)+"ing.")};
K9.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 Iwa(a);case "UNSPECIFIED_RETENTION":return"Retention period unspecified";default:jj(b,"unexpected value "+b+"!")}};
K9.prototype.archive=function(){var a=this;this.isArchiving=!0;WF(this.butterBar,this.archiveAction.slice(0,-1)+"ing...",0);this.component.archived=!this.component.archived;this.componentActions.update(this.component).then(function(b){a.appEvents.componentModified.next(b.componentId);WF(a.butterBar,a.archiveAction+'d component "'+a.component.name+'"',4E3);a.analytics.trackEvent("component","archive");b.userHasEditAccess=a.component.userHasEditAccess;a.updateComponentAndOriginalComponent(b);a.archiveAction=
b.archived?"Unarchive":"Archive";a.isArchiving=!1}).catch(function(b){a.component.archived=!a.component.archived;WF(a.butterBar,"Could not "+a.archiveAction.toLowerCase()+" component: "+(Vn(b)?Wn(b):b));a.isArchiving=!1})};
K9.prototype.loadTemplates=function(a){var b=this;return this.templatesApi.query(a).then(function(c){b.templates=c.map(function(d){var e=d.name;e||(e=d.default?"(default template)":"(unnamed template)");var f={};f=b.paths.getBaseUrl()+"/"+b.paths.createIssue((f.component=a?String(a):void 0,f.template=d.templateId?String(d.templateId):void 0,f));return{name:e,description:d.description||"",url:f}})}).catch(function(c){b.errorHandler.errorHandler(null,c)})};
K9.prototype.setCommentEditState=function(a){this.commentEditsEnabled=a;this.component.commentEditState=this.commentEditsEnabled?"ENABLED":"DISABLED"};
var TJc=function(a,b){return a.componentHistoryUiEnabled?a.componentUpdatesApi.get(b).then(function(c){a.updateDiffs=c.getUpdatesList().map(function(d){var e=a.componentUpdates,f=SYa(d.getAddMask()),h=SYa(d.getRemoveMask()),l={author:d.getAuthor()||null,timestamp:d.getTimestamp()||null,diffs:[]},q=d.getAdd()||new Vl;d=d.getRemove()||new Vl;for(var u=m(new Set([].concat(r(f),r(h)))),x=u.next();!x.done;x=u.next()){var y=x.value;if(x=rmc.get(y))if("name"===y){var G=ir(h,y,d.getName());y=ir(f,y,q.getName());
l.diffs.push(jr(x,G,y))}else if("description"===y)G=ir(h,y,d.getDescription()),y=ir(f,y,q.getDescription()),l.diffs.push(jr(x,G,y));else if("parentComponentId"===y)G=ir(h,y,String(Ck(d,2))),y=ir(f,y,String(Ck(q,2))),l.diffs.push(jr(x,G,y));else if("isArchived"===y)G=ir(h,y,String(d.getArchived())),y=ir(f,y,String(q.getArchived())),l.diffs.push(jr(x,G,y));else if("commentEditState"===y){var L=smc.get(tk(d,15,0));G=smc.get(tk(q,15,0));L&&G&&(L=ir(h,y,L),y=ir(f,y,G),l.diffs.push(jr(x,L,y)))}else"defaultTemplateId"===
y?(G=ir(h,y,String(Ck(d,18))),y=ir(f,y,String(Ck(q,18))),l.diffs.push(jr(x,G,y))):"slo"===y?e.sessionIsInternal&&(G=ir(h,y,YYa(d.getSlo())),y=ir(f,y,YYa(q.getSlo())),l.diffs.push(jr(x,G,y))):"team"===y?e.sessionIsInternal&&(G=ir(h,y,ZYa(d.getTeam())),y=ir(f,y,ZYa(q.getTeam())),l.diffs.push(jr(x,G,y))):"retentionSettings"===y?(G=ir(h,y,WYa(d.getRetentionSettings())),y=ir(f,y,WYa(q.getRetentionSettings())),l.diffs.push(jr(x,G,y))):e.$log.error("Unsupported diff field "+y)}return l}).filter(function(d){return d.diffs.length})}).catch(function(c){a.errorHandler.errorHandler(null,
c)}):Promise.reject()};K9.prototype.showUpdateHistoryModal=function(){var a=this;TJc(this,this.componentId).then(function(){a.matDialogService.open(B6,{width:"600px",data:{updateDiffs:a.updateDiffs}});a.analytics.trackEvent(Mp.UPDATE_HISTORY_MODAL,"open");a.analytics.trackEvent(Mp.MANAGE_COMPONENT,"viewHistory")})};K9.prototype.onSloChange=function(a){this.component.slo.id=a?a.sloId:"0";a&&UJc(this)};
var xxb=function(a){var b=!!a.parentComponent,c="0"!==a.component.team.id;return Rt(a)&&(c||b)},Dxb=function(a){var b=!a.component.team||"0"===a.component.team.id,c=!a.parentComponent;return Rt(a)&&(!a.component.slo.inherit||c&&b)},gxb=function(a){var b,c,d,e;of(function(f){b=0===a.component.parentComponentId;c="0"!==a.component.team.id;return(0===a.component.parentComponentId?"0"!==a.component.team.id:!a.component.team.inherit&&"0"!==a.component.team.id)||b&&c?f.yield((0,C.firstValueFrom)(a.team$.pipe(B(function(h){h=
h.getSlo();a.component.slo.id=h.getSloId();UJc(a)}))),0):(d=VJc(a),e=d.id,a.component.slo.id=e,UJc(a),f.jumpTo(0))})},Cxb=function(a){var b=a.parentComponent||a.isParentComponentRequired;return"0"!==a.component.team.id||b?!0:!1},VJc=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}},Nxb=function(a,b){WF(a.butterBar,
"Saving effort spec...",0);a.component&&(a.component.effortSpec=b,a.componentActions.update(a.component).then(function(c){a.updateComponentAndOriginalComponent(c);a.analytics.trackEvent(Mp.MANAGE_COMPONENT,"updateEffort");var d,e;if(null==(d=a.component)?0:null==(e=d.effortSpec)?0:e.name){var f;WF(a.butterBar,(null==(f=a.component.effortSpec)?void 0:f.name)+" saved")}else WF(a.butterBar,"Estimated Effort saved")}).catch(function(c){a.errorHandler.errorHandler(null,c)}))};
K9.prototype.updateComponentAndOriginalComponent=function(a){this.component=Gj(a);this.component$.next(this.component);this.originalComponent=Gj(a);var b;this.componentTeam$.next(null!=(b=this.component.team)?b:null);UJc(this)};K9.prototype.back=function(){M1(this.appHistory)};var UJc=function(a){var b;(null==(b=a.component)?0:b.slo)?a.isEnableSloChecked="0"!==a.component.slo.id:a.isEnableSloChecked=!1};
K9.\u0275fac=function(a){return new (a||K9)(A(so),A(sH,2),A(yJ),A(MG),A(BF),A(NG),A(L1),A(VF),A(JV),A(Vt),A(SI),A(IA),A(wH),A(fQ),A(IF),A(hV),A(ZF),A(FY),A(u9),A(UI),A(cG),A(PH),A(KT),A(LT),A(mL))};
K9.\u0275cmp=p({type:K9,selectors:[["manage-component-page"]],viewQuery:function(a,b){a&1&&(ih(DJc,5),ih(EJc,5),ih(FJc,5),ih(tN,5,ke));if(a&2){var c;hh(c=kh())&&(b.confirmArchiveDialog=c.first);hh(c=kh())&&(b.archiveButton=c.first);hh(c=kh())&&(b.metadataForm=c.first);hh(c=kh())&&(b.tabs=c)}},features:[Ug([sH]),qg],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"],[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"],["format","fill",3,"disabled","onAction"],["format","hairline",3,"disabled","onAction"],["format","hairline","title","View history for 'Basic Information'",
3,"onAction"],[3,"children","onVisit"],["class","heading-m padded-x margin-top","aria-label","Standard Fields",4,"ngIf"],[3,"effortSpec","parentEffortSpec","disabled","updateComponent",4,"ngIf"],["class","heading-m padded-x margin-top","aria-label","Custom Fields",4,"ngIf"],[3,"editMode","isSaving","component","parentComponent"],["aria-label","Standard Fields",1,"heading-m","padded-x","margin-top"],[3,"effortSpec","parentEffortSpec","disabled","updateComponent"],["aria-label","Custom Fields",1,"heading-m",
"padded-x","margin-top"],[1,"component-banner","implicit-access-banner"],["aria-label","Learn more about field ordering","class","keep-underline keep-focus-ring","target","_blank",3,"href",4,"ngIf"],[3,"fields","componentId","fieldOrdering","isAdmin","onReload"],["aria-label","Learn more about field ordering","target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],[3,"componentId","supportCustomFields",4,"ngIf"],[3,"componentId","supportCustomFields"],["class","component-field",4,"ngFor",
"ngForOf"],[1,"component-field"],["mat-dialog-title",""],[1,"b-archive-component-list"],[4,"ngFor","ngForOf"],["mat-flat-button","","mat-dialog-close","","aria-label","Click to archive the component","color","primary",3,"click"],["mat-button","","mat-dialog-close","","aria-label","Click to close the dialog without archiving the component",3,"click"],["aria-label","Learn more about archiving components","target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],["aria-label","Learn more about buganizer retention",
"target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],[3,"b-archive-warning-indef",4,"ngIf"],[1,"bv2-limited-issue-view"],[3,"component"]],template:function(a,b){a&1&&(P(0,fyb,12,3,"ng-container",0),U(1,"async"),P(2,gyb,2,1,"ng-template",null,1,qh));if(a&2){var c=O(3);D("ngIf",!V(1,2,b.showTrackerRedirect$))("ngIfElse",c)}},dependencies:[cQ,xw,yw,Dw,qP,UY,KY,E5,L5,Q5,K_,w0,V5,ix,Qh,ax,bx,sx,hx,fx,J9,zN,GN,tA,uA,DO,JA,KA,LA,MA,jB,rz,YT,uN,tN,NC,r1,v9,p1,zM,nV,qL,I9,bO,l8,Ew,Gw],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 Gyb=function(a){return[a]},Hyb=function(){return[]},Qyb=function(a){return{value:a}},WJc={BASIC:"basic",SLO:"slo",MAPPINGS:"componentMapping"},L9=function(a,b,c,d,e,f,h,l,q,u,x,y,G,L){Z.call(this);var M=this;this.activeSession=a;this.accessPolicyApi=b;this.appHistory=c;this.butterBar=d;this.checkBeforeExit=e;this.componentActions=f;this.errorHandler=h;this.location=l;this.pageTitle=q;this.routeParams=u;this.teamsService=x;this.userAccess=y;this.sloApi=G;this.sloService=L;this.originalSloLock=
!1;this.canEditSloLock=!0;this.sloJustification$=new C.BehaviorSubject("");this.error="";this.justificationRequiredText="Justification is required to override the org SLO.";this.selectedTabIndex=0;this.teamId=this.routeParams.teamId;this.team$=new C.ReplaySubject(1);this.teamSlo$=this.team$.pipe(B(function(S){return S.getSlo()}));this.isSloLeadValid=!1;this.sloLeadEmail$=new C.BehaviorSubject("");this.sloLead$=new C.BehaviorSubject("");this.sloLeadUserValidators={sloLeadNotUser:function(S){if(S){S=
m(S);for(var X=S.next();!X.done;X=S.next())if(0!==X.value.indexOf("USER:"))return!1}return!0}};this.sloLeadGooglerValidators={sloLeadNotGoogler:function(S){if(S){S=m(S);for(var X=S.next();!X.done;X=S.next())if(0!==X.value.indexOf("UNRESTRICTED_GOOGLER:"))return!1}return!0}};this.teamAdmins$=(0,C.from)(this.accessPolicyApi.get("TEAM",this.teamId)).pipe(B(function(S){return S.admins.filter(Vj).map(vk)}));this.teamLeads$=this.team$.pipe(B(function(S){return S.getMembersList().filter(function(X){return Tl(X,
2)}).map(function(X){var aa,na;return"USER:"+(null!=(na=null==(aa=X.getUser())?void 0:aa.getEmailAddress())?na:"")})}));this.adminsAndLeads$=(0,C.combineLatest)([this.teamAdmins$,this.teamLeads$]).pipe(B(function(S){var X=m(S);S=X.next().value;X=X.next().value;var aa=new Set(S);X=X.filter(function(na){return!aa.has(na)});return[].concat(r(S),r(X))}));this.associatedComponents$=(0,C.from)(this.componentActions.search("directteamid:"+this.teamId));this.teamPath$=this.team$.pipe(B(function(S){var X=
S.getPathNamesList();return S.getPathIdsList().map(function(aa,na){return{id:aa,name:X[na]}})}));this.isRootTeam$=this.teamPath$.pipe(B(function(S){return 1>=S.length?!0:!1}));this.parentTeam$=(0,C.combineLatest)([this.isRootTeam$,this.teamPath$]).pipe(cg(function(S){var X=m(S);S=X.next().value;X=X.next().value;return S?(0,C.of)(null):M.teamsService.getTeam(""+X[X.length-2].id)}));this.parentTeam=null;this.inheritedSlo$=this.parentTeam$.pipe(cg(function(S){var X,aa=null==S?void 0:null==(X=S.getSlo())?
void 0:X.getSloId();return aa&&"0"!==aa?M.sloService.get(aa).then(function(na){return{id:aa,link:qta(aa),slo:na}}):(0,C.of)({id:"0"})}));this.sloPolicySource$=(0,C.combineLatest)([this.parentTeam$,this.teamPath$]).pipe(B(function(S){var X=m(S);S=X.next().value;X=X.next().value;var aa,na=null==S?void 0:null==(aa=S.getSlo())?void 0:aa.getSourceTeamId();aa=X.find(function(ma){return""+ma.id===na});return na&&aa?{name:aa.name,link:{path:"/teams/"+na+"/edit",fragment:"slo"}}:null}));this.Tab=WJc;this.enableSloLockingUi=
DE(this.activeSession,"enableSloLockingUi");this.enableSloLead=DE(this.activeSession,"enableSloLead");this.isSloInheritEnabled$=new C.BehaviorSubject(!0);this.sloId$=new C.BehaviorSubject("0");this.enableSloCheckedInternal=!1;this.sloLocked$=new C.BehaviorSubject(!1);this.hasSloReadAccess$=this.sloId$.pipe(cg(function(S){return JF(M.userAccess,"reader","slos/"+S)}),bg(!1));this.sloPickerLink$=(0,C.combineLatest)([this.sloId$,this.hasSloReadAccess$]).pipe(B(function(S){var X=m(S);S=X.next().value;
X=X.next().value;return S&&0<Number(S)&&X?qta(S):null}));this.hasUnsavedChanges$=(0,C.combineLatest)([this.team$,this.sloId$,this.isSloInheritEnabled$,this.sloLocked$,this.sloJustification$,this.sloLeadEmail$]).pipe(B(function(S){var X=m(S),aa=X.next().value;S=X.next().value;var na=X.next().value,ma=X.next().value,Ca=X.next().value;X=X.next().value;var Fa=aa.getSlo(),Ja,Ab;aa=null!=(Ab=null==(Ja=Ok(aa,ek,12))?void 0:Ja.getEmailAddress())?Ab:"";return Fa.getInherit()!==na||Fa.getSloId()!==S||ma!==
M.originalSloLock||Fa.getComment()!==Ca||aa!==X}));this.hasEditAccess=!1;this.pageTitle.setTitle("Team Overview");this.team$.pipe(dg(this.destroyed$)).subscribe(function(S){M.pageTitle.setTitle("Team: "+S.getName())});a=DE(this.activeSession,"enableSloLockingCheck")?"teams/"+this.teamId+"/slo":"teams/"+this.teamId;JF(this.userAccess,"writer",a).then(function(S){M.hasEditAccess=S});this.childTeams$=this.teamsService.getChildTeams([this.teamId]).pipe(B(function(S){return S.values().next().value}));
this.sloLock$=this.sloApi.executor.get({url:"action/teams/"+this.teamId+"/slo_edit_policy",responseConstructor:Agc}).pipe(B(Zoa));var T=Yo(this.hasUnsavedChanges$.pipe(dg(this.destroyed$)),!1);this.subscriptions.add(gQ(this.checkBeforeExit,function(){return T.getValue()},!1))};W(L9,Z);L9.\u0275dir=Z.\u0275dir;
L9.prototype.ngOnInit=function(){var a=this,b,c,d;return of(function(e){if(1==e.nextAddress)return b=a.location.hash(),"basic"===b?a.selectedTabIndex=0:"slo"===b?a.selectedTabIndex=1:"componentMapping"===b&&(a.selectedTabIndex=2),e.yield((0,C.firstValueFrom)(a.teamsService.get(a.teamId)),2);if(3!=e.nextAddress)return c=e.yieldResult,"0"===c.getTeamId()?XF(a.butterBar,"Unable to fetch team ID '"+a.teamId+"'"):a.team$.next(c),Kyb(a),d=a,e.yield((0,C.firstValueFrom)(a.parentTeam$),3);d.parentTeam=e.yieldResult;
tf(e)})};L9.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)};L9.prototype.onSloChange=function(a){a&&(this.sloId=a.sloId)};
var Jyb=function(a,b){var c,d,e,f,h,l;return of(function(q){switch(q.nextAddress){case 1:if(!a.validate())return q.return();WF(a.butterBar,"Saving changes...",0);pf(q,2);if(!a.enableSloLead||(null==(c=Ok(b,ek,12))?void 0:c.getEmailAddress())===a.sloLeadEmail){q.jumpTo(4);break}var u=q.yield,x=C.firstValueFrom;var y=(new ek).setEmailAddress(a.sloLeadEmail);y=gl(b,ek,12,y);y=a.teamsService.updateTeam(y);return u.call(q,x.call(C,y),5);case 5:d=q.yieldResult,a.team$.next(d);case 4:if(a.sloLocked===a.originalSloLock){q.jumpTo(6);
break}u=q.yield;x=C.firstValueFrom;y=a.sloApi;var G=a.teamId,L=a.sloLocked,M=new mE;L=Vk(M,2,L?1:2).setTeamId(Number(G));y=y.executor.post({url:"action/teams/"+G+"/slo_edit_policy",responseConstructor:Dgc,body:L}).pipe(B(Zoa));return u.call(q,x.call(C,y),7);case 7:e=q.yieldResult,a.originalSloLock=e;case 6:f=b.getSlo();if(f.getInherit()===a.isSloInheritEnabled&&f.getSloId()===a.sloId&&a.originalSloLock===a.sloLocked&&f.getComment()===a.sloJustification){q.jumpTo(8);break}u=q.yield;x=C.firstValueFrom;
L=(new Tt).setSloId(a.sloId).setInherit(a.isSloInheritEnabled);a.isSloInheritEnabled||L.setComment(a.sloJustification$.getValue());y=a.teamsService;G=a.teamId;M=(new OH).setTeamId(G);L=gl(M,Tt,2,L);y=y.executor.post({url:"/action/teams/"+G+"/update_slo",body:L,responseConstructor:yE});return u.call(q,x.call(C,y),9);case 9:h=q.yieldResult,a.team$.next(h);case 8:WF(a.butterBar,"Save complete.");au(q,0);break;case 2:l=sf(q),aG(a.errorHandler,l),tf(q)}})};
L9.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 XJc=function(a){(0,C.firstValueFrom)(a.team$).then(function(b){var c;b=null==(c=Ok(b,ek,12))?void 0:c.getEmailAddress();a.sloLead=b?"USER:"+b:""})},YJc=function(a){(0,C.firstValueFrom)(a.teamSlo$).then(function(b){a.sloId=b.getSloId();a.isSloInheritEnabled=b.getInherit();a.sloJustification$.next(b.getComment())})},ZJc=function(a){(0,C.firstValueFrom)(a.sloLock$).then(function(b){a.originalSloLock=b;a.sloLocked=b})},Kyb=function(a){a.error="";XJc(a);YJc(a);a.enableSloLockingUi&&ZJc(a)};
L9.prototype.back=function(){M1(this.appHistory)};
Xi.Object.defineProperties(L9.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()}}});L9.\u0275fac=function(a){return new (a||L9)(A(Vt),A(hG),A(L1),A(VF),A(fQ),A(hV),A(ZF),A(MG),A(JV),A(yJ),A(PH),A(IF),A(KT),A(LT))};
L9.\u0275cmp=p({type:L9,selectors:[["manage-team-page"]],viewQuery:function(a,b){a&1&&ih(tN,5,ke);if(a&2){var c;hh(c=kh())&&(b.tabs=c)}},features:[qg],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&&(E(0,"div",0)(1,"div",1)(2,"div",2)(3,"button",3),K("click",function(){return b.back()}),H(4,"mat-icon",4),F()()()(),E(5,"div",5),P(6,Ryb,86,39,"ng-container",6),U(7,"async"),F());a&2&&(z(6),D("ngIf",V(7,1,b.team$)))},dependencies:[ww,xw,yw,w0,Qh,ax,sx,hx,J9,zN,tA,uA,DO,jB,uN,tN,NC,rz,YT,o0,HG,bO,p1,f1,Ew],styles:[".description[_ngcontent-%COMP%]{white-space:pre-wrap}button[_ngcontent-%COMP%]{height:32px;line-height:32px}button.mat-icon-button.large[_ngcontent-%COMP%]{height:36px;line-height:36px;width:36px}.team-hierarchy-container[_ngcontent-%COMP%]{margin-top:-5px;padding-bottom:32px;padding-left:20px}.metadata[_ngcontent-%COMP%]{margin:10px 0}.metadata[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#5f6368;color:var(--icon);width:16px;height:16px}.lock-state[_ngcontent-%COMP%]{display:flex;align-items:center}.team-slo-id-select[_ngcontent-%COMP%]{display:inline-block;width:450px}label[_ngcontent-%COMP%]{display:inline-block;line-height:2.2em}label[_ngcontent-%COMP%]   .edit-field-header[_ngcontent-%COMP%]{font-weight:bold}textarea.slo-justification-text[_ngcontent-%COMP%]{height:3em}div.edit-field.less-margin[_ngcontent-%COMP%]{margin:8px 0}ul[_ngcontent-%COMP%]{padding:0}ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{line-height:1.2}.indented[_ngcontent-%COMP%], .slo-justification[_ngcontent-%COMP%], .team-slo-id-select[_ngcontent-%COMP%]{margin-left:24px}.team-slo-id-select[_ngcontent-%COMP%], mat-slide-toggle.slo-enable[_ngcontent-%COMP%]{display:inline-block}\n/*# sourceMappingURL=manage_team.css.map */"]});var $Jc=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"}]]),Wyb=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 M9=function(){this.selectedSignals$=(0,C.of)([]);this.selected=new Rv;this.ALL_SIGNAL_TYPES=Syb();this.isOpen=!1};M9.prototype.openMenu=function(){this.isOpen=!0};M9.prototype.closeMenu=function(){this.isOpen=!1};M9.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()};M9.\u0275fac=function(a){return new (a||M9)};
M9.\u0275cmp=p({type:M9,selectors:[["select-signals-menu"]],viewQuery:function(a,b){a&1&&ih(DO,5);if(a&2){var c;hh(c=kh())&&(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&&(E(0,"button",0,1),K("click",function(){return b.openMenu()}),H(2,"mat-icon",2),F(),P(3,Zyb,13,3,"ng-template",3),K("detach",function(){return b.closeMenu()})("backdropClick",
function(){return b.closeMenu()}));if(a&2){var c=O(1);Fg("menu-open",b.isOpen);z(3);D("cdkConnectedOverlayOrigin",c)("cdkConnectedOverlayOpen",b.isOpen)}},dependencies:[xw,yw,DO,jB,tA,AM,Kz,Jz,Ex,Ew],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 N9=function(a){this.dateFormatter=a;this.iconOnly=this.isSelected=this.generalDescriptionOnly=!1;this.count=-1;this.matTooltipShowDelay=0;this.removable=!1;this.onRemove=new Rv};
N9.prototype.getSignalTypeTooltip=function(){var a=this;if(this.generalDescriptionOnly)return this.signal.signalType?(0,C.of)(Uyb(this.signal)):(0,C.of)("");var b;return null!=(b=this.signal.timestamp)&&b.seconds?this.dateFormatter.formatUserCalendar(new Date(1E3*this.signal.timestamp.seconds)).pipe(B(function(c){return Tyb(a.signal,c)})):(0,C.of)(Tyb(this.signal))};N9.prototype.onClickRemove=function(){this.onRemove.emit(this.signal.signalType)};N9.\u0275fac=function(a){return new (a||N9)(A(bL))};
N9.\u0275cmp=p({type:N9,selectors:[["b-signal-chip"]],inputs:{signal:"signal",generalDescriptionOnly:"generalDescriptionOnly",isSelected:"isSelected",iconOnly:"iconOnly",count:"count",matTooltipShowDelay:"matTooltipShowDelay",removable:"removable"},outputs:{onRemove:"onRemove"},decls:1,vars:1,consts:[[3,"full-chip","selected","matTooltip","matTooltipShowDelay","class",4,"ngIf"],[3,"matTooltip","matTooltipShowDelay"],[3,"svgIcon"],[4,"ngIf"],["mat-icon-button","","class","gmat-button small remove-button",
"matTooltip","Remove filter","matTooltipPosition","above",3,"click",4,"ngIf"],["mat-icon-button","","matTooltip","Remove filter","matTooltipPosition","above",1,"gmat-button","small","remove-button",3,"click"],[1,"a11y-only"],["svgIcon","close"]],template:function(a,b){a&1&&P(0,czb,5,14,"span",0);a&2&&(a=b.signal.signalType?$Jc.has(b.signal.signalType)?$Jc.get(b.signal.signalType):null:null,D("ngIf",a))},dependencies:[yw,tA,jB,NC,Ew],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 ezb=function(a){return{signalType:a}},hzb=function(){return[]},O9=function(a,b,c,d,e,f,h,l,q,u,x,y,G,L,M){Z.call(this);this.appSearchState=a;this.pageTitle=b;this.paths=c;this.userPreferencesManager=d;this.needsAttentionApi=e;this.cdr=f;this.analytics=h;this.bLocation=l;this.domSafe=q;this.issueFridge=u;this.errorHandler=x;this.snackbar=y;this.currentTracker=G;this.appEvents=L;this.issuePagination=M;this.issues=[];this.columns=[i0,j0,k0,new zr({name:"alerts",sortable:!1,draggable:!1,fullLabel:"Alerts",
label:"ALERTS"}),Object.assign({},Ar("priority"),{draggable:!1}),Object.assign({},Ar("title"),{draggable:!1}),Object.assign({},Ar("assignee"),{draggable:!1}),Object.assign({},Ar("status"),{draggable:!1}),Object.assign({},Ar("issueId"),{draggable:!1}),new zr({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=$Ub;this.STATUS_FULL_TEXT=gF;this.STATUS_TERSE=cF;this.ALL_SIGNAL_TYPES=Syb();this.selectedSignals$=new C.BehaviorSubject([]);this.sortConfig={field:"priority",direction:"ASC"};this.HOTKEYS=MM;this.SPACE_EMPTY_STATE=N3b};W(O9,Z);O9.\u0275dir=Z.\u0275dir;
O9.prototype.ngOnInit=function(){var a=this;this.pageTitle.setTitle("Needs attention");setTimeout(function(){a.appSearchState.clear()});this.userPreferencesManager.needsAttentionPreferences$.pipe(Rf()).subscribe(function(b){var c;a.selectedSignals$.next(null!=(c=b.selectedSignals)?c:[])});this.selectedSignals$.pipe(dg(this.destroyed$)).subscribe(function(){a.fetchIssues()});this.destroyed$.pipe(Rf()).subscribe(function(){var b;null==(b=a.snackBarRefForUndo)||b.dismiss()})};
var gzb=function(a,b){a.selectedSignals$.next(b);a.userPreferencesManager.save({needsAttentionPreferences:{selectedSignals:b}}).pipe(Rf()).subscribe()};O9.prototype.convertIssueStatusStrToTag=function(a){return rl[a]};O9.prototype.hasResults=function(){return 0<this.issues.length-this.lastDismissedRowIssueIds.size};O9.prototype.issueDescription=function(a){return"Needs attention Issue ID "+a.id+" titled: "+a.title};
O9.prototype.goToIssue=function(a,b,c){var d;c&&"A"===(null==(d=c.target)?void 0:d.tagName)||(wzb(this,a),a=this.paths.editIssue(a),c&&(c.ctrlKey||c.metaKey||1===c.button)?this.domSafe.openInNewTab(a):c&&c.shiftKey?Kp(this.domSafe,a):this.bLocation.url(a))};
var wzb=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(Mp.NEEDS_ATTENTION,"viewIssue",d)},qzb=function(a){return 0===a.issues.length?!1:a.issues.every(function(b){return b.selected})};g=O9.prototype;g.someIssuesSelected=function(){return this.issues.some(function(a){return a.selected})};
g.getHeaderCheckboxState=function(){if(0===this.issues.length)return"unchecked";for(var a=!0,b=!1,c=m(this.issues),d=c.next();!d.done;d=c.next())d.value.selected?b=!0:a=!1;return a?"checked":b?"indeterminate":"unchecked"};g.toggleAllIssueSelection=function(){if(0!==this.issues.length){for(var a=!this.someIssuesSelected(),b=m(this.issues),c=b.next();!c.done;c=b.next())c.value.selected=a;this.cdr.detectChanges()}};
g.onCheckboxClicked=function(a,b,c){if(a.shiftKey&&(a=c.selected,null!==this.lastCheckedIndex&&0<this.issues.length)){if(b<this.lastCheckedIndex){var d=b+1;var e=this.lastCheckedIndex+1}else d=this.lastCheckedIndex,e=b;d=this.issues.slice(d,e);d=m(d);for(e=d.next();!e.done;e=d.next())e.value.selected=!a}c.selected=!c.selected;this.lastCheckedIndex=b};
g.toggleStar=function(a){var b=this;a&&!this.starInProgress[a.issueId]&&(a.starred=!a.starred,this.starInProgress[a.issueId]=!0,mZb(this.issueFridge,String(a.issueId),a.starred).pipe(Rf(),dg(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 jzb=function(a){a.dismissSelectedInProgress=!0;for(var b=[],c=m(a.issues),d=c.next();!d.done;d=c.next())d=d.value,d.selected&&(b.push(d.issueId),a.dismissInProgress[d.issueId]=!0);xV(a.needsAttentionApi,b,!0).then(function(){return void aKc(a,b)},function(e){return void a.errorHandler.errorHandler(null,e)}).finally(function(){a.dismissSelectedInProgress=!1;for(var e=m(b),f=e.next();!f.done;f=e.next())a.dismissInProgress[f.value]=!1})};
O9.prototype.dismissIssue=function(a){var b=this;this.dismissInProgress[a.issueId]||(this.dismissInProgress[a.issueId]=!0,xV(this.needsAttentionApi,[a.issueId],!0).then(function(){return void aKc(b,[a.issueId])},function(c){return void b.errorHandler.errorHandler(null,c)}).finally(function(){b.dismissInProgress[a.issueId]=!1}))};
var aKc=function(a,b){a.analytics.trackEvent(Mp.NEEDS_ATTENTION,"dismissIssue","numberOfIssues",b.length);for(var c=m(b),d=c.next();!d.done;d=c.next())a.lastDismissedRowIssueIds.add(d.value);c=m(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(Rf()).subscribe(function(e){e.dismissedByAction&&bKc(a,b)})},bKc=function(a,b){xV(a.needsAttentionApi,b,!1).then(function(){a.analytics.trackEvent(Mp.NEEDS_ATTENTION,"unDismissIssue","numberOfIssues",b.length);for(var c=m(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)})};g=O9.prototype;g.isLowPriority=function(a){return 2<=Number(a.priority)};g.isHighPriority=function(a){return 2>Number(a.priority)};g.isP0Priority=function(a){return 0===Number(a.priority)};g.selectAllSignals=function(){this.selectedSignals$.next([].concat(r(this.ALL_SIGNAL_TYPES)))};
g.fetchIssues=function(){var a=this,b;null==(b=this.snackBarRefForUndo)||b.dismiss();this.lastDismissedRowIssueIds.clear();this.isLoading=!0;b=cKc(this);b={page:1,resultsPerPage:this.needsAttentionApi.COUNT,sortColumns:b?[b]:[],returnUrl:"attention",trackerIds:O3b(this.currentTracker),fromNeedsAttention:!0,selectedSignals:this.selectedSignals$.value};QW(this.issuePagination);PW(this.issuePagination,b).then(function(c){a.issues=c.issues;a.isLoading=!1;a.cdr.detectChanges()})};
var Pzb=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})};O9.prototype.toggleSignal=function(a){var b=this.selectedSignals$.value,c=b.indexOf(a);-1===c?b.push(a):b.splice(c,1);gzb(this,[].concat(r(b)))};var cKc=function(a){var b=Fm(a.sortConfig.field);a="ASC"===a.sortConfig.direction?"ASCENDING":"DESCENDING";return b?new Im(b,a):null};
O9.prototype.onSortChange=function(a){this.sortConfig=a;this.fetchIssues()};O9.\u0275fac=function(a){return new (a||O9)(A(AX),A(JV),A(NG),A(ZI),A(wV),A(sH,2),A(wH),A(MG),A(PK),A(BH),A(ZF),A(TF),A(mL),A(cG),A(OW))};
O9.\u0275cmp=p({type:O9,selectors:[["ng-component"]],features:[Ug([sH]),qg],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&&(E(0,"h2",0),Q(1,"Issues which need your attention"),F(),E(2,"div",1),P(3,izb,14,9,"div",2),P(4,kzb,3,1,"div",3),F(),E(5,"div",4),P(6,lzb,4,0,"div",5),P(7,ozb,8,6,"div",6),P(8,Qzb,15,18,"div",7),F());a&2&&(z(3),D("ngIf",!b.someIssuesSelected()),z(1),D("ngIf",b.someIssuesSelected()),z(1),ug("aria-busy",b.isLoading),z(1),D("ngIf",b.isLoading),z(1),D("ngIf",!b.isLoading&&!b.hasResults()),z(1),D("ngIf",!b.isLoading&&
b.hasResults()))},dependencies:[xw,yw,zw,Aw,Bw,Xz,tA,uA,jB,S_,X_,T_,U_,V_,zM,tU,Z_,qP,e0,rU,OK,NC,LM,N9,M9,Ew,TJ],styles:[".needs-attention-table[_ngcontent-%COMP%]{height:calc(100vh - 120px)}.applied-signals[_ngcontent-%COMP%]{padding-left:5px}.attention-actions[_ngcontent-%COMP%]{min-width:fit-content}.attention-actions[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-weight:normal}.empty-state-img[_ngcontent-%COMP%]{max-width:320px}.select-all-signals[_ngcontent-%COMP%]{cursor:pointer;padding:0 10px 0 8px}.select-all-signals.selected[_ngcontent-%COMP%]{font-weight:500;color:#185abc;color:var(--selected-text);box-shadow:inset 0 0 0 1px #185abc;box-shadow:inset 0 0 0 1px var(--selected-text);background-color:#d2e3fc;background-color:var(--selected-bg)}\n/*# sourceMappingURL=needs_attention.css.map */"],
changeDetection:0});var Szb=function(a){return{feature:a}},P9=function(a){this.beapService=a;this.beapFeaturesTF$=FEc(this.beapService,"TEAM_FOOD");this.beapFeaturesEA$=FEc(this.beapService,"EARLY_ACCESS");this.hasFeatures$=(0,C.combineLatest)([this.beapFeaturesTF$,this.beapFeaturesEA$]).pipe(B(function(b){var c=m(b);b=c.next().value;c=c.next().value;return 0<b.length+c.length}));this.hasFeaturesTF$=this.beapFeaturesTF$.pipe(B(function(b){return 0<b.length}));this.hasFeaturesEA$=this.beapFeaturesEA$.pipe(B(function(b){return 0<
b.length}));this.linkClicked={}};P9.\u0275fac=function(a){return new (a||P9)(A(Z4))};
P9.\u0275cmp=p({type:P9,selectors:[["b-beap-settings"]],decls:6,vars:4,consts:[[4,"ngIf","ngIfElse"],["featureEmptyState",""],["featureStageContainer",""],["class","feature-stage-container",4,"ngIf"],[1,"feature-stage-container"],[1,"feature-stage-title"],[4,"ngFor","ngForOf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"feature-empty-state-message"],[1,"feature-container"],[1,"feature-container-row"],[1,"feature-toggle-col"],[3,"checked","matTooltip","disabled"],[1,"feature-desc-col"],[1,
"feature-title"],[1,"feature-desc"],["mat-button","","color","primary","class","small no-visited-no-active","target","_blank",4,"ngIf"],[1,"feature-action-bar"],["mat-button","","color","primary","target","_blank",1,"small","no-visited-no-active",3,"click"],["svgIcon","pop-out",1,"icon-s"],["messageType","info",4,"ngIf"],[1,"feature-badge-col"],[3,"experimentId"],["mat-button","","color","primary","target","_blank",1,"small","no-visited-no-active"],["messageType","info"]],template:function(a,b){a&
1&&(P(0,Yzb,5,6,"ng-container",0),U(1,"async"),P(2,Zzb,2,0,"ng-template",null,1,qh),P(4,bAb,20,16,"ng-template",null,2,qh));if(a&2){var c=O(3);D("ngIf",V(1,2,b.hasFeatures$))("ngIfElse",c)}},dependencies:function(){return[b5,FW,GW,xw,yw,Dw,uA,jB,YT,NC,Ew,Q9]},styles:['.feature-stage-container[_ngcontent-%COMP%]{padding-bottom:28px}.feature-stage-container[_ngcontent-%COMP%]   .feature-stage-title[_ngcontent-%COMP%]{font-family:Roboto,Arial,sans-serif;line-height:1rem;font-size:.75rem;letter-spacing:.025em;font-weight:400;font-size:.6875rem;line-height:1.2307692308;margin-bottom:20px;margin-top:25px}.feature-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin-bottom:21px}.feature-container[_ngcontent-%COMP%]   .feature-container-row[_ngcontent-%COMP%]{display:flex;flex:1;align-items:flex-start}.feature-container[_ngcontent-%COMP%]   .feature-badge-col[_ngcontent-%COMP%]{flex-shrink:0;min-width:75px}.feature-container[_ngcontent-%COMP%]   .feature-desc-col[_ngcontent-%COMP%]{flex:0 0 500px;display:flex;flex-direction:column;align-items:flex-start}.feature-container[_ngcontent-%COMP%]   .feature-desc-col[_ngcontent-%COMP%]   .feature-desc[_ngcontent-%COMP%]{font-family:Roboto,Arial,sans-serif;line-height:1.25rem;font-size:.875rem;letter-spacing:.0142857143em;font-weight:400;font-size:.8125rem;line-height:1.3846153846;color:#5f6368;color:var(--text-muted)}.feature-container[_ngcontent-%COMP%]   .feature-desc-col[_ngcontent-%COMP%]   .feature-desc[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-family:Roboto,Arial,sans-serif;line-height:1.25rem;font-size:.875rem;letter-spacing:.0142857143em;font-weight:400;font-size:.8125rem;line-height:1.3846153846}.feature-container[_ngcontent-%COMP%]   .feature-toggle-col[_ngcontent-%COMP%]{flex-shrink:0;min-width:75px}.feature-container[_ngcontent-%COMP%]   .feature-action-bar[_ngcontent-%COMP%]{display:flex;align-items:center;margin-top:10px}.feature-container[_ngcontent-%COMP%]   .feature-title[_ngcontent-%COMP%]{font-family:Roboto,Arial,sans-serif;line-height:1.5rem;font-size:1rem;letter-spacing:.00625em;font-weight:400;margin-bottom:9px}.feature-container[_ngcontent-%COMP%]   b-callout[_ngcontent-%COMP%]{margin-top:10px;width:100%}.feature-empty-state-message[_ngcontent-%COMP%]{font-family:"Google Sans",Roboto,Arial,sans-serif;line-height:1.5rem;font-size:1.125rem;letter-spacing:0em;font-weight:400;margin-top:45px}\n/*# sourceMappingURL=beap_settings.css.map */'],
changeDetection:0});var Q9=function(){};Q9.prototype.transform=function(a){return 2===a?!0:!1};Q9.\u0275fac=function(a){return new (a||Q9)};Q9.\u0275pipe=rd({name:"featureState",type:Q9,pure:!0});var R9=function(a,b){this.name=a;this.resourceType=void 0===b?null:b;this.options=[]};R9.prototype.shouldDisplay=function(){return!0};R9.prototype.hasOptions=function(){return!1};R9.prototype.getDefaultOptionId=function(){return null};var S9=function(a,b){this.name=a;this.resourceType=b;this.options=[]};S9.prototype.shouldDisplay=function(){return 0<this.options.length};S9.prototype.hasOptions=function(){return 0<this.options.length};
S9.prototype.getDefaultOptionId=function(){return this.hasOptions()?this.options[0].id:null};
var dKc=function(a,b){this.id=a;this.name=b},fKc=function(a,b,c,d,e,f){var h=this;this.butterBar=a;this.sidebar=b;this.userPreferencesManager=c;this.cdr=d;this.appEvents=e;this.activeSession=f;this.selectedOptionId=null;this.subscriptions=new C.Subscription;this.hotlistMainOption=new S9("Hotlist","HOTLIST");this.savedSearchMainOption=new S9("Saved search","SAVED_SEARCH");this.bookmarkGroupMainOption=new S9("Bookmark group","BOOKMARK_GROUP");this.needsAttentionMainOption=new R9("Needs attention","NEEDS_ATTENTION");
this.experimentalHomepageMainOption=new R9("Home","EXPERIMENTAL_HOMEPAGE");this.mainOptions=[new R9("Assigned issues"),this.hotlistMainOption,this.savedSearchMainOption,this.bookmarkGroupMainOption];DE(this.activeSession,"showNeedsAttentionUI")&&this.activeSession.isInternalSession()&&this.mainOptions.push(this.needsAttentionMainOption);DE(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];eKc(this);this.subscriptions.add(this.appEvents.sidebarUpdated.subscribe(function(){eKc(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,eKc(h)):(h.selectedMainOption=h.mainOptions[0],h.selectedOptionId=null))}))};fKc.prototype.destroy=function(){this.subscriptions.unsubscribe()};
var fAb=function(a){WF(a.butterBar,"Saving preferences...",0);if(null===a.selectedMainOption.resourceType||a.selectedMainOption.hasOptions()&&null===a.selectedOptionId)var b=a.userPreferencesManager.clearHomepagePreferences();else b={resourceType:a.selectedMainOption.resourceType},a.selectedMainOption.hasOptions()&&a.selectedOptionId&&(b.resourceId=a.selectedOptionId),b=k0b(a.userPreferencesManager,b);b.subscribe(function(){WF(a.butterBar,"Preferences saved.",4E3)})},eKc=function(a){function b(c){return new dKc(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 dKc(String(a.selectedOptionId),a.selectedMainOption.name+" "+a.selectedOptionId)))};var gKc=Cm[3],T9=function(a,b,c,d,e,f,h,l,q){Z.call(this);this.cdr=a;this.userPreferencesManager=b;this.butterBar=c;this.activeSession=d;this.documentationLinks=e;this.analytics=f;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,r(h.supportedTimeZones.map(function(u){return{value:u.id,label:u.name}})));this.sloEnabled=d.isInternalSession();this.showBugScreensaverSetting=d.isInternalSession();this.showShowInlineImagesSetting=d.isInternalSession()&&DE(this.activeSession,"enableImageSummary")};W(T9,Z);
T9.\u0275dir=Z.\u0275dir;T9.prototype.ngOnInit=function(){var a=this;this.destroyed$.subscribe(function(){var b;null==(b=a.preferredHomepage)||b.destroy()});this.preferredHomepage=new fKc(this.butterBar,this.sidebar,this.userPreferencesManager,this.cdr,this.appEvents,this.activeSession);this.userPreferencesManager.preferences$.pipe(dg(this.destroyed$)).subscribe(function(b){a.userPreferences=b;a.cdr.detectChanges()})};
T9.prototype.save=function(a,b,c){var d=this;WF(this.butterBar,"Saving preferences...",0);this.userPreferencesManager.save(this.userPreferences).subscribe(function(){WF(d.butterBar,"Preferences saved.",4E3)});this.analytics.trackEvent("preferences",a,b,c)};var hKc=function(a){var b;return(null==(b=a.userPreferences.textDisplayPreferences)?void 0:b.commentDisplayOverride)===gKc};T9.prototype.getShowInlineImages=function(){var a;return null!=(a=this.userPreferences.showInlineImages)?a:!1};
T9.\u0275fac=function(a){return new (a||T9)(A(sH,2),A(ZI),A(VF),A(Vt),A(SI),A(wH),A(gJ),A(gX),A(cG))};
T9.\u0275cmp=p({type:T9,selectors:[["b-general-settings"]],features:[Ug([sH]),qg],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&&(E(0,"div")(1,"div",0)(2,"div",1)(3,"p",2),Q(4,"Preferred homepage"),F(),E(5,"p",3),Q(6," Select your preferred homepage when first opening the app. "),E(7,"a",4),Q(8," Learn more "),F()()(),E(9,"div")(10,"div")(11,"mat-form-field",5)(12,"mat-label",6),Q(13," Current selection "),
F(),E(14,"mat-select",7),K("ngModelChange",function(c){return b.preferredHomepage.selectedMainOption=c})("selectionChange",function(){var c=b.preferredHomepage;c.selectedOptionId=c.selectedMainOption.getDefaultOptionId();fAb(c);c.cdr.detectChanges()}),P(15,dAb,2,1,"ng-container",8),F()(),P(16,gAb,3,2,"mat-form-field",9),F()()(),H(17,"hr",10),E(18,"div",0)(19,"div",1)(20,"p",2),Q(21,"Date/time formatting settings"),F(),E(22,"p",3),Q(23," Select how you want dates and times to be formatted. "),E(24,
"a",4),Q(25," Learn more "),F()()(),E(26,"div")(27,"div")(28,"mat-form-field",11)(29,"mat-label",12),Q(30," Dates "),F(),E(31,"mat-select",13),K("ngModelChange",function(c){return b.userPreferences.dateTimePreferences.calendarFormat=c})("selectionChange",function(){return b.save("saveDateTimePreferences")}),P(32,hAb,2,2,"mat-option",14),F()()(),E(33,"div")(34,"mat-form-field",15)(35,"mat-label",16),Q(36," Times "),F(),E(37,"mat-select",13),K("ngModelChange",function(c){return b.userPreferences.dateTimePreferences.timeFormat=
c})("selectionChange",function(){return b.save("saveDateTimePreferences")}),P(38,iAb,2,2,"mat-option",14),F()()(),E(39,"div")(40,"mat-form-field",17)(41,"mat-label",18),Q(42," Time Zones "),F(),E(43,"mat-select",13),K("ngModelChange",function(c){return b.userPreferences.dateTimePreferences.timeZone=c})("selectionChange",function(){return b.save("saveDateTimePreferences")}),P(44,jAb,2,2,"mat-option",14),F()()()()(),H(45,"hr",10),E(46,"div",0)(47,"div",1)(48,"p",2),Q(49,"Keyboard settings"),F()(),E(50,
"div")(51,"div")(52,"mat-slide-toggle",19),K("change",function(c){b.userPreferences.keyboardPreferences.enableAllHotkeys=c.checked;return b.save("saveKeyboardPreferences")}),Q(53," Enable all hotkeys "),F()()()(),H(54,"hr",10),E(55,"div",0)(56,"div",1)(57,"p",2),Q(58,"Display settings"),F()(),E(59,"div")(60,"div",20)(61,"mat-slide-toggle",21),K("change",function(c){b.userPreferences.textDisplayPreferences&&(b.userPreferences.textDisplayPreferences.commentDisplayOverride=c.checked?gKc:void 0,b.save("saveTextDisplayPreferences.commentDisplayOverride"))}),
Q(62," Force comments to display as plain text "),F()(),E(63,"div",20)(64,"b-toggle-code-font",22),Q(65," Force comments to display with code font "),F()(),P(66,kAb,3,1,"div",23),F()(),H(67,"hr",10),P(68,lAb,9,1,"ng-container",24),F());a&2&&(z(7),D("href",b.documentationLinks.baseDocumentationUrl+"/guides/set-a-homepage",Ie),z(7),D("ngModel",b.preferredHomepage.selectedMainOption),z(1),D("ngForOf",b.preferredHomepage.mainOptions),z(1),D("ngIf",b.preferredHomepage.selectedMainOption.hasOptions()),
z(8),D("href",b.documentationLinks.baseDocumentationUrl+"/guides/set-date-time-formatting",Ie),z(7),D("ngModel",b.userPreferences.dateTimePreferences.calendarFormat),z(1),D("ngForOf",b.dateFormats),z(5),D("ngModel",b.userPreferences.dateTimePreferences.timeFormat),z(1),D("ngForOf",b.timeFormats),z(5),D("ngModel",b.userPreferences.dateTimePreferences.timeZone),z(1),D("ngForOf",b.timeZones),z(8),D("checked",b.userPreferences.keyboardPreferences.enableAllHotkeys),z(9),D("checked",hKc(b)),z(5),D("ngIf",
b.showShowInlineImagesSetting),z(2),D("ngIf",b.showBugScreensaverSetting))},dependencies:[xw,yw,ax,hx,XA,VA,lP,vA,YT,NC,GU],styles:["[_nghost-%COMP%]     mat-tab-body{height:calc(100vh - 150px)}mat-form-field[_ngcontent-%COMP%]{font-size:.9375rem}mat-slide-toggle[_ngcontent-%COMP%]{font-size:.875rem}[_nghost-%COMP%]     .mat-form-field-appearance-outline .mat-form-field-infix{padding:8px 0}div.settings-main-left[_ngcontent-%COMP%]{width:200px;min-width:200px}  .cdk-overlay-container .slo-report-subscription-dialog .mat-form-field-appearance-outline .mat-form-field-infix{padding:8px 0}\n/*# sourceMappingURL=settings.css.map */"]});var U9=function(a,b,c,d,e){Z.call(this);var f=this;this.userPreferencesManager=a;this.butterBar=b;this.documentationLinks=c;this.activeSession=d;this.analytics=e;this.priorities=["ALL","IMPORTANT","CLOSURE_ONLY","MINIMAL"];this.enableCollaborators=DE(this.activeSession,"enableSearchAndNotificationsForCollaborators");this.userPreferencesManager.preferences$.pipe(dg(this.destroyed$)).subscribe(function(h){f.userPreferences=h;h.notificationPreferences&&"UNKNOWN_PRIORITY"===h.notificationPreferences.collaboratorPriority&&
(f.userPreferences.notificationPreferences.collaboratorPriority="IMPORTANT")})};W(U9,Z);U9.\u0275dir=Z.\u0275dir;U9.prototype.save=function(a,b,c){var d=this;WF(this.butterBar,"Saving preferences...",0);this.userPreferencesManager.save(this.userPreferences).subscribe(function(){WF(d.butterBar,"Preferences saved.",4E3)});this.analytics.trackEvent("preferences",a,b,c)};U9.\u0275fac=function(a){return new (a||U9)(A(ZI),A(VF),A(SI),A(Vt),A(wH))};
U9.\u0275cmp=p({type:U9,selectors:[["b-notification-settings"]],features:[qg],decls:43,vars:13,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"],[4,"ngIf"],["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"],["appearance","outline","id","bv2-notification-pref-collaborator"],["matTooltip","Notification level - issues for which you are the collaborator"]],template:function(a,b){a&1&&(E(0,"div",0)(1,"div",1)(2,"p",2),Q(3,"Notification settings"),F(),E(4,"p",3),Q(5," Select the level of email you want to receive for each issue role. "),E(6,"a",4),Q(7," Learn more "),F()()(),E(8,"div")(9,"div")(10,"mat-form-field",5)(11,"mat-label",6),Q(12," Assignee "),F(),E(13,"mat-select",
7),K("ngModelChange",function(c){return b.userPreferences.notificationPreferences.assignedPriority=c})("selectionChange",function(){return b.save("saveNotificationPreferences")}),P(14,mAb,3,4,"mat-option",8),F()()(),E(15,"div")(16,"mat-form-field",9)(17,"mat-label",10),Q(18," Reporter "),F(),E(19,"mat-select",7),K("ngModelChange",function(c){return b.userPreferences.notificationPreferences.reportedPriority=c})("selectionChange",function(){return b.save("saveNotificationPreferences")}),P(20,nAb,3,
4,"mat-option",8),F()()(),E(21,"div")(22,"mat-form-field",11)(23,"mat-label",12),Q(24," Verifier "),F(),E(25,"mat-select",7),K("ngModelChange",function(c){return b.userPreferences.notificationPreferences.verifiedPriority=c})("selectionChange",function(){return b.save("saveNotificationPreferences")}),P(26,oAb,3,4,"mat-option",8),F()()(),P(27,qAb,6,2,"div",13),E(28,"div")(29,"mat-form-field",14)(30,"mat-label",15),Q(31," CC'd "),F(),E(32,"mat-select",7),K("ngModelChange",function(c){return b.userPreferences.notificationPreferences.ccdPriority=
c})("selectionChange",function(){return b.save("saveNotificationPreferences")}),P(33,rAb,3,4,"mat-option",8),F()()(),E(34,"div")(35,"mat-form-field",16)(36,"mat-label",17),Q(37," Starred "),F(),E(38,"mat-select",7),K("ngModelChange",function(c){return b.userPreferences.notificationPreferences.starredPriority=c})("selectionChange",function(){return b.save("saveNotificationPreferences")}),P(39,sAb,3,4,"mat-option",8),F()()(),E(40,"div")(41,"mat-slide-toggle",18),K("change",function(c){b.userPreferences.notificationPreferences.excludeChangesByMe=
c.checked;return b.save("saveNotificationPreferences")}),Q(42," Exclude edits made by you "),F()()()());a&2&&(z(6),D("href",b.documentationLinks.baseDocumentationUrl+"/concepts/settings#email",Ie),z(7),D("ngModel",b.userPreferences.notificationPreferences.assignedPriority),z(1),D("ngForOf",b.priorities),z(5),D("ngModel",b.userPreferences.notificationPreferences.reportedPriority),z(1),D("ngForOf",b.priorities),z(5),D("ngModel",b.userPreferences.notificationPreferences.verifiedPriority),z(1),D("ngForOf",
b.priorities),z(1),D("ngIf",b.enableCollaborators),z(5),D("ngModel",b.userPreferences.notificationPreferences.ccdPriority),z(1),D("ngForOf",b.priorities),z(5),D("ngModel",b.userPreferences.notificationPreferences.starredPriority),z(1),D("ngForOf",b.priorities),z(2),D("checked",b.userPreferences.notificationPreferences.excludeChangesByMe))},dependencies:[xw,yw,ax,hx,XA,VA,lP,vA,YT,NC,LJ],styles:["[_nghost-%COMP%]     mat-tab-body{height:calc(100vh - 150px)}mat-form-field[_ngcontent-%COMP%]{font-size:.9375rem}mat-slide-toggle[_ngcontent-%COMP%]{font-size:.875rem}[_nghost-%COMP%]     .mat-form-field-appearance-outline .mat-form-field-infix{padding:8px 0}div.settings-main-left[_ngcontent-%COMP%]{width:200px;min-width:200px}  .cdk-overlay-container .slo-report-subscription-dialog .mat-form-field-appearance-outline .mat-form-field-infix{padding:8px 0}\n/*# sourceMappingURL=settings.css.map */"]});var jKc=function(a){Y.call(this,a,-1,iKc)};W(jKc,Y);var iKc=[1];jKc.messageId="b.ListSloReportSubscriptionsResponse";var V9=function(a){Y.call(this,a)};W(V9,Y);V9.prototype.getSubscription=function(){return Ok(this,fl,1)};V9.prototype.setSubscription=function(a){return gl(this,fl,1,a)};V9.messageId="b.SloReportSubscriptionRequest";var W9=function(a){Y.call(this,a)};W(W9,Y);W9.prototype.getSubscription=function(){return Ok(this,fl,1)};W9.prototype.setSubscription=function(a){return gl(this,fl,1,a)};W9.messageId="b.SloReportSubscriptionResponse";var X9=function(a){this.executor=a};g=X9.prototype;g.get=function(a){return this.executor.get({url:"action/slo_report_subscriptions/"+a,responseConstructor:W9}).pipe(B(function(b){if(b=b.getSubscription())return el(b);throw Error("Ue");}))};g.list=function(){return this.executor.get({url:"action/slo_report_subscriptions",responseConstructor:jKc}).pipe(B(function(a){return yj(a,fl,1).map(el)}))};
g.create=function(a){if(0!==a.id)throw Error("Ve");return this.executor.post({url:"action/slo_report_subscriptions",body:(new V9).setSubscription(bpa(a)),responseConstructor:W9}).pipe(B(function(b){if(b=b.getSubscription())return el(b);throw Error("We");}))};
g.update=function(a){if(0===a.id)throw Error("Xe");return this.executor.post({url:"action/slo_report_subscriptions/"+a.id,body:(new V9).setSubscription(bpa(a)),responseConstructor:W9}).pipe(B(function(b){if(b=b.getSubscription())return el(b);throw Error("We");}))};g.delete=function(a){return this.executor.delete({url:"action/slo_report_subscriptions/"+a,responseConstructor:GE}).pipe(B(function(){}))};X9.\u0275fac=function(a){return new (a||X9)(n(KD))};
X9.\u0275prov=Vc({token:X9,factory:X9.\u0275fac,providedIn:"root"});var Y9=function(a){this.timeZones=a;this.label="Time zone";this.timezoneId="";this.fullWidth=this.disabled=!1;this.timezoneIdChange=new Rv;this.timeZoneOptions$=h0b(this.timeZones)};Y9.\u0275fac=function(a){return new (a||Y9)(A(XI))};
Y9.\u0275cmp=p({type:Y9,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&&(E(0,"mat-form-field",0)(1,"mat-label"),Q(2),F(),E(3,"mat-select",1),K("ngModelChange",function(c){b.timezoneId!==c&&(b.timezoneId=
c,b.timezoneIdChange.emit(b.timezoneId))}),P(4,tAb,2,2,"mat-option",2),U(5,"async"),F()());a&2&&(Fg("full-width",b.fullWidth),z(2),R(" ",b.label," "),z(1),D("disabled",b.disabled)("ngModel",b.timezoneId),z(1),D("ngForOf",V(5,6,b.timeZoneOptions$)))},dependencies:[XA,VA,lP,vA,xw,ax,hx,Ew],styles:["[_nghost-%COMP%]     .mat-form-field-infix { width: fit-content; }","mat-form-field[_ngcontent-%COMP%] { font-size: 16px; }"]});var kKc=["sloSubscriptionDialog"],Z9=function(a,b,c,d,e){Z.call(this);var f=this;this.dateFormatter=a;this.api=b;this.currentUser=c;this.dialog=d;this.timeZones=e;this.subscriptions$=new C.BehaviorSubject([]);this.isBasicMode$=this.subscriptions$.pipe(B(function(h){return 0===h.length||1===h.length&&h[0].lead.emailAddress===f.currentUser.email}));this.userSubscription$=this.subscriptions$.pipe(B(function(h){h=m(h);for(var l=h.next();!l.done;l=h.next())if(l=l.value,l.lead.emailAddress===f.currentUser.email)return l;
return{id:0,lead:f.currentUser.user,frequency:"weekly",ordinal:1,timeZone:{id:"America/Los_Angeles"},timeOfDay:lKc[2].timeOfDay}}));this.isThinking$=new C.BehaviorSubject(!1);this.frequencyOptions=mKc;this.repeatOnOptions=new Map([["daily",[]],["weekly",IAb],["monthly",nKc]]);this.DAILY="daily";this.repeatAtOptions$=(0,C.combineLatest)(lKc.map(function(h){return f.dateFormatter.formatUserTime(h.date).pipe(B(function(l){return{timeOfDay:h.timeOfDay,display:l}}))}));this.dialogInvalidEmailFormat=!1;
this.emailToUser=gk;this.columns=["scope","frequency","actions"];this.frequencyDisplayMap=new Map(mKc.map(function(h){return[h.frequency,h.display]}));this.timeZoneDisplayMap$=h0b(this.timeZones).pipe(Rf(),B(function(h){return new Map(h.map(function(l){return[l.id,l.displayName]}))}),$f({bufferSize:1,refCount:!0}));this.hourOfDayDisplayMap$=this.repeatAtOptions$.pipe(Rf(),B(function(h){return new Map(h.map(function(l){return[l.timeOfDay.hours,l.display]}))}),$f({bufferSize:1,refCount:!0}));this.compareTimeOfDay=
function(h,l){return h.hours===l.hours&&h.minutes===l.minutes&&h.seconds===l.seconds&&h.nanos===l.nanos}};W(Z9,Z);Z9.\u0275dir=Z.\u0275dir;Z9.prototype.ngOnInit=function(){$9(this)};
var BAb=function(a){a.userSubscription$.pipe(Rf(),cg(function(b){return 0===b.id?a.api.create(b):a.api.delete(b.id)})).subscribe(function(){$9(a)})},$9=function(a){a.isThinking$.next(!0);a.api.list().pipe(Rf()).subscribe(function(b){a.isThinking$.next(!1);a.subscriptions$.next(b)})},Ut=function(a,b){a.isThinking$.next(!0);a.api.update(b).subscribe(function(){$9(a)})},MAb=function(a,b){a.isThinking$.next(!0);a.api.delete(b.id).subscribe(function(){$9(a)})};
Z9.prototype.setFrequency=function(a,b){b.frequency=a;XAb(a,b);Ut(this,b)};var XAb=function(a,b){"daily"!==a?b.ordinal="weekly"===a?IAb[0].ordinal:nKc[0].ordinal:delete b.ordinal};Z9.prototype.setTimeZone=function(a,b){Ut(this,Object.assign({},b,{timeZone:Object.assign({},b.timeZone,{id:a})}))};
Z9.prototype.openDialog=function(a){this.sloSubscriptionDialog&&(a||(a={id:0,frequency:"weekly",ordinal:1,timeZone:{id:"America/Los_Angeles"},timeOfDay:lKc[2].timeOfDay}),this.dialogRef=this.dialog.open(this.sloSubscriptionDialog,{data:Gj(a),panelClass:"slo-report-subscription-dialog"}))};
var YAb=function(a,b){a.dialogRef&&void 0!==b.lead&&(ip(b.lead.emailAddress)?(0===b.id?a.api.create(b).subscribe(function(){$9(a)}):Ut(a,b),a.dialogRef.close()):(b.lead.emailAddress="",a.dialogInvalidEmailFormat=!0))};Z9.\u0275fac=function(a){return new (a||Z9)(A(bL),A(X9),A(cI),A(IA),A(XI))};
Z9.\u0275cmp=p({type:Z9,selectors:[["b-slo-reports-settings"]],viewQuery:function(a,b){a&1&&ih(kKc,7);if(a&2){var c;hh(c=kh())&&(b.sloSubscriptionDialog=c.first)}},features:[qg],decls:20,vars:14,consts:[[4,"ngIf"],[1,"flex-kids-x","gap-l"],[1,"settings-main-left","margin-right"],[1,"heading-s"],[1,"muted","type-s"],[1,"full-width"],[1,"margin-bottom"],["mat-stroked-button","",3,"disabled","click"],["sloSubscriptionDialog",""],[1,"margin-y"],["id","isSubscribedCheckbox",1,"margin-s-right",3,"disabled",
"checked","change"],["appearance","outline",1,"full-width"],["matInput","",3,"ngModel","disabled"],[3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[3,"timezoneId","fullWidth","timezoneIdChange"],[3,"value"],[3,"ngModel","compareWith","ngModelChange"],["mat-table","",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","",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","",3,"click"],["mat-header-row",""],["mat-row",""],["matDialogTitle",""],[1,"type-m","margin-bottom"],["appearance","outline","floatLabel","always",1,"full-width"],["matInput","","required","","placeholder",
"Search users...",3,"ngModel","bContactAutocomplete","ngModelChange"],"mat-button  color primary matDialogClose ".split(" "),["mat-flat-button","","color","primary",3,"disabled","click"]],template:function(a,b){a&1&&(P(0,DAb,10,3,"ng-container",0),U(1,"async"),E(2,"div",1)(3,"div",2)(4,"p",3),Q(5,"Advanced settings"),F(),E(6,"p",4),Q(7," Subscribe to reports for multiple users. "),F()(),E(8,"div",5)(9,"div",6)(10,"button",7),K("click",function(){return b.openDialog()}),U(11,"async"),Q(12," Create subscription "),
F()(),P(13,EAb,2,0,"ng-container",0),U(14,"async"),P(15,QAb,13,3,"ng-container",0),U(16,"async"),U(17,"async"),F()(),P(18,ZAb,27,13,"ng-template",null,8,qh));a&2&&(D("ngIf",V(1,4,b.isBasicMode$)),z(10),D("disabled",V(11,6,b.isThinking$)),z(3),D("ngIf",V(14,8,b.isThinking$)),z(2),D("ngIf",!V(16,10,b.isBasicMode$)&&!V(17,12,b.isThinking$)))},dependencies:[xw,yw,Qh,ax,sx,hx,tA,JA,KA,LA,MA,jB,UA,XA,VA,lP,vA,$A,YT,mM,eM,iM,fM,dM,jM,gM,hM,kM,lM,FC,DC,EC,Y9,zM,WS,Ew],styles:["[_nghost-%COMP%]     mat-tab-body{height:calc(100vh - 150px)}mat-form-field[_ngcontent-%COMP%]{font-size:.9375rem}mat-slide-toggle[_ngcontent-%COMP%]{font-size:.875rem}[_nghost-%COMP%]     .mat-form-field-appearance-outline .mat-form-field-infix{padding:8px 0}div.settings-main-left[_ngcontent-%COMP%]{width:200px;min-width:200px}  .cdk-overlay-container .slo-report-subscription-dialog .mat-form-field-appearance-outline .mat-form-field-infix{padding:8px 0}\n/*# sourceMappingURL=settings.css.map */",
".mat-form-field[_ngcontent-%COMP%]{min-width:300px}.mat-header-cell[_ngcontent-%COMP%]{font-weight:600;background-color:#f1f3f4;background-color:var(--c100)}tr.mat-header-row[_ngcontent-%COMP%], tr.mat-row[_ngcontent-%COMP%]{height:40px}td.mat-cell[_ngcontent-%COMP%], td.mat-header-cell[_ngcontent-%COMP%]{font-size:.8125rem}td.mat-cell[_ngcontent-%COMP%]{color:#202124;color:var(--row-default-text)}.mat-header-cell[_ngcontent-%COMP%]{color:#202124;color:var(--text-high-contrast)}td.mat-column-actions[_ngcontent-%COMP%]{text-align:right}\n/*# sourceMappingURL=slo_reports_settings.css.map */"]});
var mKc=[{frequency:"daily",display:"Daily"},{frequency:"weekly",display:"Weekly"},{frequency:"monthly",display:"Monthly"}],IAb=[{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"}],nKc=[].concat(r(Array.from({length:31}).fill(0).keys())).map(function(a){return{ordinal:a+1,display:JAb(a+1)}}),lKc=[].concat(r(Array.from({length:24}).fill(0).keys())).map(function(a){var b=
new Date;b.setHours((a+7)%24);b.setMinutes(0);return{date:b,timeOfDay:{hours:b.getHours(),minutes:0,seconds:0,nanos:0}}});var a$=function(a,b,c,d){this.activeSession=a;this.location=b;this.routeParams=c;this.beapEnabled=DE(this.activeSession,"enableBeap");this.enableSloReportEmail=DE(this.activeSession,"enableSloReportEmail");this.selectedTabIndex=0;d.setTitle("Settings")};a$.prototype.ngAfterViewInit=function(){this.selectedTabIndex=oKc(this,this.routeParams.settingsTab)};a$.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(kta(d))};
var oKc=function(a,b){a=a.tabs.toArray().findIndex(function(c){return c.nativeElement.id===b});return 0>a?0:a};a$.\u0275fac=function(a){return new (a||a$)(A(Vt),A(MG),A(yJ),A(JV))};
a$.\u0275cmp=p({type:a$,selectors:[["b-settings"]],viewQuery:function(a,b){a&1&&ih(tN,5,ke);if(a&2){var c;hh(c=kh())&&(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&&(E(0,"p",0),Q(1,"Settings"),F(),E(2,"mat-tab-group",1),K("selectedIndexChange",function(c){return b.tabChange(c)}),E(3,"mat-tab",2)(4,"div",3),H(5,"b-general-settings"),F()(),E(6,"mat-tab",4)(7,"div",3),H(8,"b-notification-settings"),F()(),P(9,$Ab,3,0,"mat-tab",5),P(10,aBb,3,0,"mat-tab",6),F());a&2&&(z(2),D("selectedIndex",b.selectedTabIndex),z(7),D("ngIf",b.enableSloReportEmail),z(1),D("ngIf",b.beapEnabled))},dependencies:[yw,zN,uN,tN,P9,T9,U9,Z9],styles:["[_nghost-%COMP%]     mat-tab-body{height:calc(100vh - 150px)}mat-form-field[_ngcontent-%COMP%]{font-size:.9375rem}mat-slide-toggle[_ngcontent-%COMP%]{font-size:.875rem}[_nghost-%COMP%]     .mat-form-field-appearance-outline .mat-form-field-infix{padding:8px 0}div.settings-main-left[_ngcontent-%COMP%]{width:200px;min-width:200px}  .cdk-overlay-container .slo-report-subscription-dialog .mat-form-field-appearance-outline .mat-form-field-infix{padding:8px 0}\n/*# sourceMappingURL=settings.css.map */"],
changeDetection:0});var b$=function(a,b,c,d,e,f,h,l,q){Z.call(this);this.cdr=a;this.routeParams=b;this.bLocation=c;this.pageTitle=d;this.userApi=e;this.bookmarkGroupsApi=f;this.paths=h;this.appEvents=q;this.isStarred=!1;this.bookmarkGroup=null;this.userEmail=l.getUserEmail()};W(b$,Z);b$.\u0275dir=Z.\u0275dir;g=b$.prototype;
g.ngOnInit=function(){var a=this,b=function(c){a.bookmarkGroup=c;a.userIsAdmin=c.adminUsers.some(function(d){return d.emailAddress===a.userEmail});a.pageTitle.setTitle(c.name);a.cdr.detectChanges()};this.bookmarkGroupsApi.get(this.routeParams.groupId).then(b);this.userApi.getFavorite("BOOKMARK_GROUP",this.routeParams.groupId).then(function(){a.isStarred=!0;a.cdr.detectChanges()}).catch(function(){});this.subscriptions.add(this.appEvents.bookmarkGroupModified.subscribe(function(c){c&&a.bookmarkGroup&&
c.bookmarkGroupId==a.bookmarkGroup.bookmarkGroupId&&a.bookmarkGroupsApi.get(a.routeParams.groupId).then(b)}))};g.toggleStar=function(){var a=this;this.isStarred=!this.isStarred;var b=function(){a.appEvents.bookmarkGroupModified.next()};this.isStarred?this.userApi.saveFavorite({resourceType:"BOOKMARK_GROUP",resourceId:this.bookmarkGroup.bookmarkGroupId,userLogin:this.userEmail}).then(b):this.userApi.deleteFavorite({resourceType:"BOOKMARK_GROUP",resourceId:this.bookmarkGroup.bookmarkGroupId}).then(b)};
g.openEditBookmarkGroup=function(){this.bLocation.url(this.paths.editBookmarkGroup(this.bookmarkGroup.bookmarkGroupId))};g.getUserEmail=function(){return this.userEmail};g.isEditable=function(){return!!this.bookmarkGroup&&!!this.userIsAdmin};g.getUrl=function(a){switch(a.resourceType){case "SAVED_SEARCH":return this.paths.viewSavedSearch(a.savedSearchId);case "HOTLIST":return this.paths.viewHotlist(a.hotlistId);default:throw Error("Ye`"+a.resourceType);}};
g.getDisplayName=function(a){if(a.name)return a.name;switch(a.resourceType){case "SAVED_SEARCH":return"(Saved Search ID "+a.savedSearchId+")";case "HOTLIST":return"(Hotlist ID "+a.hotlistId+")";default:throw Error("Ye`"+a.resourceType);}};b$.\u0275fac=function(a){return new (a||b$)(A(sH,2),A(yJ),A(MG),A(JV),A(dH),A(eX),A(NG),A(Vt),A(cG))};
b$.\u0275cmp=p({type:b$,selectors:[["view-bookmark-group-page"]],features:[Ug([sH]),qg],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&&(E(0,"h2",0),Q(1),F(),H(2,"div",1),E(3,"div",2),P(4,eBb,12,5,"div",3),F());a&2&&(z(1),R("View Bookmark Group ",null==b.bookmarkGroup?null:b.bookmarkGroup.name,""),z(2),ug("aria-busy",
!b.bookmarkGroup),z(1),D("ngIf",b.bookmarkGroup))},dependencies:[xw,yw,tU,NC],encapsulation:2});var c$=function(){};c$.\u0275fac=function(a){return new (a||c$)};c$.\u0275mod=od({type:c$});c$.\u0275inj=Wc({imports:[Mw,BU,ID]});var d$=function(a,b,c,d,e,f,h,l,q,u,x,y,G,L,M,T,S,X,aa,na,ma,Ca,Fa,Ja,Ab,cb,Ma,ha,xa,Da,Wa){p9.call(this,b,c,d,e,h,l,q,u,f,x,y,G,M,T,S,X,aa,na,Ab,ma,Ca,ha,xa,Da,Wa);this.ngZone=a;this.hotlists=L;this.hotkeys=Fa;this.pageTitle=Ja;this.userAccess=Ma;this.ANALYTICS_CATEGORY="hotlistIssues";this.canAppend=this.isAdmin=this.isStarred=!1;this.hotlist=null;this.isLoading=!0;this.repositioning=this.showHotlists=!1;this.hotlistId=cb.hotlistId};W(d$,p9);d$.\u0275dir=p9.\u0275dir;
d$.prototype.ngOnInit=function(){var a=this;p9.prototype.ngOnInit.call(this);this.subscriptions.add(KM(this.hotkeys,{title:"Hotlist",hotkeys:[].concat(r(this.BASE_HOTKEYS),[{keys:[zp("j")],displayAs:"Shift+j",description:"Move the current issue down (when sorting by POS)",onPress:function(){pKc(a,1)}},{keys:[zp("k")],displayAs:"Shift+k",description:"Move the current issue up (when sorting by POS)",onPress:function(){pKc(a,-1)}}])}));this.subscriptions.add(this.appEvents.hotlistChanged.subscribe(function(b){b&&
Number(b.hotlistId)===Number(a.hotlistId)&&"view-hotlist"!==b.origin&&qKc(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)};
d$.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)}};
d$.prototype.loadUserAccess=function(a){var b=this;JF(this.userAccess,"admin","hotlists/"+a).then(function(c){b.isAdmin=c},function(c){b.errorHandler.errorHandler(null,c)});JF(this.userAccess,"appender","hotlists/"+a).then(function(c){b.canAppend=c},function(c){b.errorHandler.errorHandler(null,c)})};
d$.prototype.getIssues=function(){var a=this;this.searchResults=null;this.isLoading=!0;BX(this.appSearchState,"hotlistid:"+this.hotlistId);var b=this.hotlist?Promise.resolve(this.hotlist):qKc(this);return this.doSearch(b).finally(function(){a.isLoading=!1;a.cdr.detectChanges()})};
var qKc=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};
d$.prototype.doSearch=function(a){var b=this,c="priority type title assignee status issueId modifiedTime".split(" ").map(Fm),d="hotlistid:"+this.hotlistId,e=this.gridPreferencesFetcher.fetch({resultsPerPage:25,page:1,sortColumns:[],displayColumns:c,query:d},a.then(function(f){return{query:null,displayColumn:f.displayColumn,sortOrder:f.sortOrder}}));a=e.searchPreferences.then(function(f){f=Gj(f);f.query=d;f.returnUrl=b.bLocation.url();f.hotlistId=b.hotlistId;f.trackerIds=b.appSearchState.currentTrackerScope;
return PW(b.issuePagination,f)});a.then(function(f){cJc(b,f)}).catch(function(f){"number"===typeof f?H0(b.urlPreferences,{page:f}):b.errorHandler.errorHandler(null,f)});return Ep({searchResultsPage:a,displayColumns:e.displayColumns}).then(function(f){f=f.searchResultsPage;b.searchResults=f;b.page=f.params.page;b.sortPreferences=f.params.sortColumns||[];b.initColumns(e.displayColumns,rKc(b)?sKc:tKc);b.loadHotlists()}).catch(function(){})};
var rKc=function(a){return 0===a.sortPreferences.length||1===a.sortPreferences.length&&"POSITION"===a.sortPreferences[0].fieldId.type};d$.prototype.getCsvUrl=function(){return this.paths.hotlistIssuesCsvAction(this.hotlistId,this.appSearchState.currentTrackerScope,this.sortPreferences,this.displayColumns,this.showHotlists)};
d$.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 pKc=function(a,b){if(a.searchResults&&!a.repositioning&&rKc(a)){var c,d,e=null!=(d=null==(c=a.resultsGrid)?void 0:c.focusedRowIndex)?d:void 0;if(null!=e&&(c=e+b,d=a.searchResults.issues.length,0<=c&&c<d)){if(1===b){var f;null==(f=a.resultsGrid)||nrc(f)}else if(-1===b){var h;null==(h=a.resultsGrid)||orc(h)}a.repositionIssue(e,c,!0)}}};g=d$.prototype;
g.save=function(){var a=this;if(this.hotlist){var b=this.hotlist,c=this.urlPreferences.getDisplayColumns();if(c){var d=ewa(b.displayColumn?b.displayColumn.map(function(e){return e.type.toLowerCase()}):[],c.map(function(e){return e.toString()}));b.displayColumn=c}if(c=this.urlPreferences.getSortColumns())b.sortOrder=c.map(function(e){return{direction:e.direction,field:e.fieldId}});WF(this.butterBar,"Saving changes to hotlist...");uKc(this,b).then(function(e){WF(a.butterBar,'Saved changes to hotlist "'+
e.name+'".');H0(a.urlPreferences,{query:null,sortColumns:null,page:null,displayColumns:null});a.analytics.trackEvent(a.ANALYTICS_CATEGORY,"savedParams",d)})}};g.discardChanges=function(){this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"discardChanges");H0(this.urlPreferences,{query:null,sortColumns:null,page:null,displayColumns:null})};g.hasParamChanges=function(){return this.hotlist&&this.isEditable()?!(!this.urlPreferences.getSortColumns()&&!this.urlPreferences.getDisplayColumns()):!1};
g.isEditable=function(){return null!=this.hotlist&&this.isAdmin};g.isDirectAdmin=function(){return this.hotlist?Zj(this.hotlist.adminUsers).includes(this.currentUserEmail):!1};g.setSort=function(a,b){var c=this.getSort();"position"===a||c&&"position"===c.field?p9.prototype.setSort.call(this,a,b,!1):p9.prototype.setSort.call(this,a,b)};
var uKc=function(a,b){return a.hotlistApi.updateMetadata(b.hotlistId,b).then(function(c){a.hotlist=c;vKc(a,c.hotlistId);return c},function(c){a.errorHandler.errorHandler(null,c);return Promise.reject(c)})},vKc=function(a,b){a.appEvents.hotlistChanged.next({hotlistId:b,origin:"view-hotlist"})};
d$.prototype.toggleStar=function(){var a=this;this.isStarred=!this.isStarred;var b=Sj(this.hotlistId),c=function(){vKc(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)};d$.prototype.openEditHotlist=function(){this.bLocation.url(this.paths.editHotlist(this.hotlistId))};var tKc=[i0,j0,k0,trc],sKc=[i0,src,j0,k0,trc];
d$.\u0275fac=function(a){return new (a||d$)(A(hg),A(sH),A(vH),A(EE),A(MG),A(Vt),A(YF),A(PE),A(dH),A(ZG),A(VF),A(wH),A(AX),A(V0),A(OW),A(ZI),A(G0),A(L0),A(NG),A(FF),A(jJ),A(PK),A(JM),A(JV),A(ZF),A(yJ),A(IF),A(cG),A(hH),A(BH),A(K1))};
d$.\u0275cmp=p({type:d$,selectors:[["view-hotlist-page"]],features:[Ug([sH]),qg],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&&(E(0,"div",0)(1,"b-grid-controls",1),K("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()}),F(),E(2,"div",2)(3,"b-pagination",3),K("pageChange",function(c){return b.goToPage(c.page)})("resultsPerPageChange",
function(c){return eJc(b,c.option)}),F()()(),E(4,"div",4),P(5,oBb,9,7,"div",5),P(6,pBb,4,1,"div",6),P(7,qBb,2,2,"div",7),P(8,rBb,2,5,"div",8),F());a&2&&(z(1),D("grid",b.resultsGrid)("hotlistChoices",b.hotlistChoices)("showHotlistButtons",b.canAppend)("currentHotlistId",b.hotlistId)("isHotlistAdmin",b.isAdmin),z(2),D("searchResults",b.searchResults),z(1),ug("aria-busy",b.isLoading),z(1),D("ngIf",!b.isInitializing),z(1),D("ngIf",b.isLoading),z(1),D("ngIf",!b.isLoading&&!b.hasResults()),z(1),D("ngIf",
!b.isLoading&&b.hasResults()))},dependencies:[n0,X0,tU,f0,NC,yw,zM,eV,tA],encapsulation:2});var e$=function(){};e$.\u0275fac=function(a){return new (a||e$)};e$.\u0275mod=od({type:e$});e$.\u0275inj=Wc({imports:[D0,Z0,BU,U0,ID,Mw,PP,fV,YC]});var f$=function(a,b,c,d,e,f,h,l,q,u,x,y,G,L,M,T,S,X,aa,na,ma,Ca,Fa,Ja,Ab,cb,Ma,ha,xa,Da){p9.call(this,a,b,c,d,f,h,l,u,e,x,y,G,L,M,T,S,X,aa,Ja,na,ma,Ma,ha,xa,Da);this.savedSearchApi=q;this.hotkeys=Ca;this.pageTitle=Fa;this.userAccess=cb;this.ANALYTICS_CATEGORY="savedSearchIssues";this.isAdmin=!1;this.savedSearch=null;this.isLoading=!0;this.showHotlists=!1;this.savedSearchId=Ab.savedSearchId};W(f$,p9);f$.\u0275dir=p9.\u0275dir;g=f$.prototype;
g.ngOnInit=function(){var a=this;p9.prototype.ngOnInit.call(this);this.subscriptions.add(KM(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(ylc(this.appSearchState,function(b){a.savedSearch?H0(a.urlPreferences,{query:b}):(b=a.paths.listIssues({q:b}),a.bLocation.url(b))}));this.loadUserAccess(this.savedSearchId)};g.loadUserAccess=function(a){var b=this;JF(this.userAccess,"admin","savedSearches/"+a).then(function(c){b.isAdmin=c;b.cdr.detectChanges()}).catch(function(c){b.errorHandler.errorHandler(null,c)})};
g.loadSavedSearch=function(){var a=this;this.savedSearch=null;var b=this.savedSearchApi.get(this.savedSearchId);b.then(function(c){a.savedSearch=c;a.pageTitle.setTitle(c.name)}).catch(function(c){a.errorHandler.errorHandler(null,c);a.savedSearch=null}).finally(function(){a.cdr.detectChanges()});return b};
g.getIssues=function(){var a=this,b=this.urlPreferences.getQuery()||"savedsearchid:"+this.savedSearchId;BX(this.appSearchState,b);this.searchResults=null;this.isLoading=!0;this.isInitializing=!1;b=this.savedSearch?Promise.resolve(this.savedSearch):this.loadSavedSearch();return this.doSearch(b).finally(function(){a.isLoading=!1;a.cdr.detectChanges()})};
g.doSearch=function(a){var b=this;a=this.gridPreferencesFetcher.fetch({resultsPerPage:25,page:1,query:"",sortColumns:[],displayColumns:XIc(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;BX(b.appSearchState,d.query);b.exitLink=b.paths.listIssues({q:d.query});b.cdr.detectChanges();d=Gj(d);d.returnUrl=b.bLocation.url();d.trackerIds=b.appSearchState.currentTrackerScope;
return PW(b.issuePagination,d)});c.then(function(d){cJc(b,d)}).catch(function(d){"number"===typeof d?H0(b.urlPreferences,{page:d}):d&&b.errorHandler.errorHandler(null,d)});this.initColumns(a.displayColumns);return Ep({searchResultsPage:c,displayColumns:a.displayColumns}).then(function(d){d=d.searchResultsPage;b.searchResults=d;b.page=d.params.page;b.sortPreferences=d.params.sortColumns||[];b.loadHotlists();b.cdr.detectChanges()}).catch(function(){})};
g.isEditable=function(){return!!this.savedSearch&&this.isAdmin};g.getCsvUrl=function(){return this.paths.issuesCsvAction(this.searchParams.query,this.appSearchState.currentTrackerScope,this.sortPreferences,this.displayColumns,this.showHotlists)};
g.save=function(){var a=this,b=this.urlPreferences.getDisplayColumns();b&&(this.savedSearch.displayColumn=b);if(b=this.urlPreferences.getSortColumns())this.savedSearch.sortOrder=b.map(function(c){return{direction:c.direction,field:c.fieldId}});this.savedSearch.query=this.urlPreferences.getQuery()||this.savedSearch.query;WF(this.butterBar,"Saving changes to search...");this.savedSearchApi.update(this.savedSearch.searchId,this.savedSearch).then(function(c){WF(a.butterBar,'Saved changes to search "'+
c.name+'".');a.savedSearch=c;H0(a.urlPreferences,{query:null,sortColumns:null,page:null,displayColumns:null});a.analytics.trackEvent(a.ANALYTICS_CATEGORY,"savedParams");a.cdr.detectChanges()}).catch(function(c){a.errorHandler.errorHandler(null,c)})};g.discardChanges=function(){this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"discardChanges");H0(this.urlPreferences,{query:null,sortColumns:null,page:null,displayColumns:null})};
g.hasParamChanges=function(){return this.savedSearch&&this.isEditable()?!!(this.urlPreferences.getQuery()&&this.urlPreferences.getQuery()!==this.savedSearch.query||this.urlPreferences.getSortColumns()||this.urlPreferences.getDisplayColumns()):!1};g.openEditSavedSearch=function(){this.bLocation.url(this.paths.editSavedSearch(this.savedSearchId))};
f$.\u0275fac=function(a){return new (a||f$)(A(sH),A(vH),A(EE),A(MG),A(Vt),A(YF),A(PE),A(dH),A(bU),A(ZG),A(VF),A(wH),A(AX),A(OW),A(ZI),A(G0),A(L0),A(NG),A(FF),A(jJ),A(PK),A(JM),A(JV),A(ZF),A(yJ),A(IF),A(cG),A(hH),A(BH),A(K1))};
f$.\u0275cmp=p({type:f$,selectors:[["view-saved-search-page"]],features:[Ug([sH]),qg],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&&(E(0,"div",0)(1,"b-grid-controls",1),K("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()}),F(),E(2,"div",2)(3,"b-pagination",3),K("pageChange",function(c){return b.goToPage(c.page)})("resultsPerPageChange",function(c){return eJc(b,c.option)}),F()()(),E(4,"div",4)(5,"div",5),P(6,wBb,4,3,"div",6),P(7,xBb,8,1,"div",7),F(),P(8,CBb,4,3,"div",8),F());a&2&&(z(1),D("grid",b.resultsGrid)("hotlistChoices",b.hotlistChoices),z(2),D("searchResults",b.searchResults),
z(1),ug("aria-busy",b.isLoading),z(2),D("ngIf",!b.isInitializing),z(1),D("ngIf",b.hasParamChanges()),z(1),D("ngIf",b.savedSearch))},dependencies:[n0,X0,f0,yw,NC,zM,eV,tA],encapsulation:2});var g$=function(){};g$.\u0275fac=function(a){return new (a||g$)};g$.\u0275mod=od({type:g$});g$.\u0275inj=Wc({imports:[D0,Z0,U0,Mw,ID,PP,fV,YC]});var h$=function(){};h$.\u0275fac=function(a){return new (a||h$)};
h$.\u0275cmp=p({type:h$,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&&(E(0,"div",0)(1,"div",1)(2,"div",2),Q(3,"My Work"),F(),E(4,"div",3)(5,
"a",4),Q(6,"Learn more at go/task-mission-control"),F(),E(7,"a",5),Q(8,"Give feedback"),F()()(),E(9,"div",6),H(10,"tp-task-section",7)(11,"tp-task-section",7),F()());a&2&&(z(10),D("isMyWork",!0),z(1),D("isMyWork",!1))},dependencies:[pW,dW,eA],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[_ngcontent-%COMP%]{--mdc-icon-button-state-layer-size:40px}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-icon-button.mat-mdc-button-base[_ngcontent-%COMP%]{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 wKc={path:"issues/:issueId",component:C8,children:[{path:"",pathMatch:"full",component:Z8},{path:"dependencies",component:Q7},{path:"dupes",component:E8},{path:"blocking",component:E7},{path:"resources",component:l9}].concat(r(DBb("enableCodeMentionsUi",{path:"todos",component:n9})))},xKc=[{path:"",component:P6,canActivateGuards:[X6]},{path:"issues",component:q9},{path:"recent",component:s9}].concat(r(DBb("enableTaskPrioritization",{path:"work",component:h$,canActivateGuards:[V6,W6]})),r(DBb("showNeedsAttentionUI",
{path:"attention",component:O9,canActivateGuards:[V6,W6]})),[{path:"issues/new",component:t7},wKc,{path:"components/all",component:q6},{path:"components",component:Z6},{path:"components/new",component:b7},{path:"components/:componentId/edit",component:K9},{path:"components/:componentId",component:K9},{path:"components/:componentId/manage",component:K9},{path:"teams/:teamId/edit",component:L9},{path:"teams/:teamId",component:L9},{path:"bookmark-groups/new",component:a7},{path:"bookmark-groups/:groupId",
component:b$},{path:"bookmark-groups/:groupId/edit",component:z7},{path:"hotlists/new",component:c7},{path:"hotlists/:hotlistId",component:d$},{path:"hotlists/:hotlistId/edit",component:v0},{path:"slos/new",component:v7},{path:"slos/:sloId",component:D7},{path:"slos/:sloId/edit",component:D7},{path:"savedsearches/:savedSearchId/edit",component:B7},{path:"hotlists",component:o9},{path:"slos",component:t9},{path:"savedsearches/:savedSearchId",component:f$},{path:"dashboard/:groupId",component:x7},{path:"settings/:settingsTab?",
component:a$},{path:"settings",component:a$}],r(DBb("enableHomepageVariantA",{path:"dash",component:tW})),[{path:"**",component:P6,canActivateGuards:[X6]}]);var i$=function(){};i$.\u0275fac=function(a){return new (a||i$)};i$.\u0275mod=od({type:i$});i$.\u0275inj=Wc({imports:[Mw,OC,WN,LG,YC]});var j$=function(){};j$.\u0275fac=function(a){return new (a||j$)};j$.\u0275mod=od({type:j$});j$.\u0275inj=Wc({imports:[Mw,OC,nP,JN,FP,i$]});var k$=function(){};k$.\u0275fac=function(a){return new (a||k$)};k$.\u0275mod=od({type:k$});k$.\u0275inj=Wc({imports:[dO,Mw,YC,OC,vW,JN,ID,$6,LG,cO]});var l$=function(){};l$.\u0275fac=function(a){return new (a||l$)};l$.\u0275mod=od({type:l$});l$.\u0275inj=Wc({imports:[Mw,NM,YC,NA]});var m$=function(){};m$.\u0275fac=function(a){return new (a||m$)};m$.\u0275mod=od({type:m$});m$.\u0275inj=Wc({imports:[Mw,YC,GC,OC,LG]});var n$=function(){};n$.\u0275fac=function(a){return new (a||n$)};n$.\u0275mod=od({type:n$});n$.\u0275inj=Wc({imports:[EP,Mw,b8,NM,m$,YC,fU,OC,GC,ID,o1,T0,IU,l$]});var o$=function(){};o$.\u0275fac=function(a){return new (a||o$)};o$.\u0275mod=od({type:o$});o$.\u0275inj=Wc({imports:[Mw,NM,YC,OC,ID]});var p$=function(){};p$.\u0275fac=function(a){return new (a||p$)};p$.\u0275mod=od({type:p$});p$.\u0275inj=Wc({imports:[Mw,OC,tP,JN]});var q$=function(){};q$.\u0275fac=function(a){return new (a||q$)};q$.\u0275mod=od({type:q$});q$.\u0275inj=Wc({imports:[p$,Mw,ID,iP,HU,OC,YC,PP,vP,T0]});var r$=function(){};r$.\u0275fac=function(a){return new (a||r$)};r$.\u0275mod=od({type:r$});r$.\u0275inj=Wc({imports:[j$,dO,Mw,k$,LY,NM,JN,XN,EU,i$,YC,fU,OC,ID,LG,BU,ZN,wW,o$,n$,q$]});var s$=function(){};s$.\u0275fac=function(a){return new (a||s$)};s$.\u0275mod=od({type:s$});s$.\u0275inj=Wc({imports:[Mw,YC]});var t$=function(){};t$.\u0275fac=function(a){return new (a||t$)};t$.\u0275mod=od({type:t$});t$.\u0275inj=Wc({imports:[Mw,IN,YC,OC,ID]});var u$=function(){};u$.\u0275fac=function(a){return new (a||u$)};u$.\u0275mod=od({type:u$});u$.\u0275inj=Wc({imports:[Mw]});var v$=function(){};v$.\u0275fac=function(a){return new (a||v$)};v$.\u0275mod=od({type:v$});v$.\u0275inj=Wc({imports:[Mw,wx,k6,u$]});var w$=function(){};w$.\u0275fac=function(a){return new (a||w$)};w$.\u0275mod=od({type:w$});w$.\u0275inj=Wc({imports:[Mw,DP,v$]});var x$=function(){};x$.\u0275fac=function(a){return new (a||x$)};x$.\u0275mod=od({type:x$});x$.\u0275inj=Wc({imports:[XJ,kZ,Mw,oZ,iZ,m6,j6,NM,JN,m$,FP,p6,mZ,n8,OC,ID,hP,R5,w$,uP,HX,ZC]});var y$=function(){};y$.\u0275fac=function(a){return new (a||y$)};y$.\u0275mod=od({type:y$});y$.\u0275inj=Wc({imports:[ty,Ky,wx,xx,LG,YC,NA,yN,gO,xz,ID,VW,hP,r$,x4,T0,vP,nP,x$,B8,t$,s$]});var z$=function(){};z$.\u0275fac=function(a){return new (a||z$)};z$.\u0275mod=od({type:z$});z$.\u0275inj=Wc({imports:[Mw,t6]});var A$=function(){};A$.\u0275fac=function(a){return new (a||A$)};A$.\u0275mod=od({type:A$});A$.\u0275inj=Wc({imports:[ty,Ky,wx,xx,LG,YC,yN,gO,hP,EP,y$,k9,S7,F7,F8,z$,m9]});var yKc=xKc.map(function(a){return{path:a.path,component:a.component,canDeactivate:[fQ],canActivate:[S6,U6].concat(r(a.canActivateGuards||[])),children:a.children,isRootRoute:!0}});yKc.push({path:"**",canActivate:["dontActivate"],component:P6,isRootRoute:!0});var zKc=rn().appBaseHref,AKc,B$={initialNavigation:"disabled"},BKc={provide:YXb,useFactory:function(){return"guarded"},deps:[[FG,new Vu,new Wu]]},CKc;
CKc=(null==B$?0:B$.preloadingStrategy)?gva(0,[{provide:XXb,useExisting:JG},{provide:NXb,useExisting:B$.preloadingStrategy}]).\u0275providers:[];var DKc;
(null==B$?0:B$.initialNavigation)?DKc=["disabled"===B$.initialNavigation?gva(3,[{provide:EFb,multi:!0,useFactory:function(){var a=hd(FG);return function(){BXb(a)}}},{provide:WXb,useValue:2}]).\u0275providers:[],"enabledBlocking"===B$.initialNavigation?gva(2,[{provide:WXb,useValue:0},{provide:EFb,multi:!0,deps:[Zu],useFactory:function(a){var b=a.get(tHb,Promise.resolve());return function(){return b.then(function(){return new Promise(function(c){var d=a.get(FG),e=a.get(VXb);dva(d,function(){c(!0)});
a.get(yG).afterPreactivation=function(){c(!0);return e.closed?(0,C.of)(void 0):e};d.initialNavigation()})})}}}]).\u0275providers:[]]:DKc=[];
AKc={ngModule:LG,providers:[ZXb,[],{provide:oXb,multi:!0,useValue:[]},BKc,{provide:yXb,useValue:B$?B$:{}},(null==B$?0:B$.useHash)?{provide:Rw,useClass:Tw}:{provide:Rw,useClass:Sw},{provide:RXb,useFactory:function(){var a=hd(xHb),b=hd(hg),c=hd(yXb),d=hd(yG),e=hd(mG);c.scrollOffset&&a.setOffset(c.scrollOffset);return new KG(e,d,a,b,c)}},CKc,{provide:HGb,multi:!0,useFactory:function(){return new HGb("Router",FG)}},DKc,(null==B$?0:B$.bindToComponentInputs)?gva(8,[vG,{provide:QWb,useExisting:vG}]).\u0275providers:
[],[{provide:$Xb,useFactory:function(){var a=hd(Zu);return function(b){var c=a.get(ow);if(b===c.components[0]){b=a.get(FG);var d=a.get(VXb);1===a.get(WXb)&&b.initialNavigation();var e;null==(e=a.get(XXb,null,8))||OXb(e);var f;null==(f=a.get(RXb,null,8))||f.init();c=c.componentTypes[0];b.routerState.root.component=c;b.navigationTransitions.rootComponentType=c;d.closed||(d.next(),d.complete(),d.unsubscribe())}}}},{provide:GGb,multi:!0,useExisting:$Xb}]]};
var C$=function(a,b){a.config=yKc.map(sua);a.navigated=!1;a.lastSuccessfulId=-1;a.initialNavigation();Y0b(b)};C$.\u0275fac=function(a){return new (a||C$)(n(FG),n(xJ))};C$.\u0275mod=od({type:C$});C$.\u0275inj=Wc({providers:[{provide:"dontActivate",useValue:function(){return!1}},{provide:BG,useClass:R6},{provide:wHb,useValue:zKc},U6,S6],imports:[AKc,Q6,A$,LG]});var D$=function(){};D$.\u0275fac=function(a){return new (a||D$)};D$.\u0275mod=od({type:D$});D$.\u0275inj=Wc({providers:[{provide:Bic,useFactory:EBb},{provide:mjc,useValue:{prodApiKey:"AIzaSyB9Ljnt9FDyfTnTH2yeDn6lGM40PQm6Gsk",stagingApiKey:"AIzaSyCYqhU0fWA9T487wYfx1ogB9z2mNJ9AQco",autopushApiKey:"AIzaSyBEveljwBki0sKCHdprNdJJPZrqTnIwIcM"}},{provide:Aic,useValue:"AIzaSyAVSCxcE30nYSaySrZXBXCTumqIjorZA2c"}]});var E$=function(){};E$.\u0275fac=function(a){return new (a||E$)};E$.\u0275mod=od({type:E$});E$.\u0275inj=Wc({imports:[Mw,YC,ID,OC,RF,wx,xx,x0]});var F$=function(){};F$.\u0275fac=function(a){return new (a||F$)};F$.\u0275mod=od({type:F$});F$.\u0275inj=Wc({imports:[DT,Mw,x0,fV,wx,eO,ID,iP,s1,vW]});var G$=function(){};G$.\u0275fac=function(a){return new (a||G$)};G$.\u0275mod=od({type:G$});G$.\u0275inj=Wc({imports:[Mw,YC,ID,OC,RF,wx,xx,x0]});var H$=function(){};H$.\u0275fac=function(a){return new (a||H$)};H$.\u0275mod=od({type:H$});H$.\u0275inj=Wc({imports:[DT,eO,PP,Mw,FP,JN,YC,OC]});var I$=function(){};I$.\u0275fac=function(a){return new (a||I$)};I$.\u0275mod=od({type:I$});I$.\u0275inj=Wc({imports:[Mw,wx,RA,k6,xx]});var J$=function(){};J$.\u0275fac=function(a){return new (a||J$)};J$.\u0275mod=od({type:J$});J$.\u0275inj=Wc({imports:[DT,A_,nP,XS,CY,l6,YA,fV,wx,AU,D_,eO,M_,mZ,H$,YC,NA,s7,OC,GC,HU,ID,l6,XJ,xx,I$,vW,Mw,yz,B_,N_]});var K$=function(){};K$.\u0275fac=function(a){return new (a||K$)};K$.\u0275mod=od({type:K$});K$.\u0275inj=Wc({imports:[DT,Mw,x0,fV,wx,eO,ID,D1]});var L$=function(){};L$.\u0275fac=function(a){return new (a||L$)};L$.\u0275mod=od({type:L$});L$.\u0275inj=Wc({imports:[Mw,ID,YC,yN,x0,AU,D_,IX,RF,NA,OC,wx,xx,GC,B0]});var M$=function(){};M$.\u0275fac=function(a){return new (a||M$)};M$.\u0275mod=od({type:M$});M$.\u0275inj=Wc({imports:[NA,iP,Mw,Lz,OC,YC,nP,RU,B_]});var N$=function(){};N$.\u0275fac=function(a){return new (a||N$)};N$.\u0275mod=od({type:N$});N$.\u0275inj=Wc({imports:[Mw,ID,YC,yN,x0,RF,NA,OC,wx,xx,GC,B0]});var O$=function(){};O$.\u0275fac=function(a){return new (a||O$)};O$.\u0275mod=od({type:O$});O$.\u0275inj=Wc({imports:[DT,Mw,x0,wx,gO,eO,yN,ID,B0,iP,D1,PP]});var P$=function(){};P$.\u0275fac=function(a){return new (a||P$)};P$.\u0275mod=od({type:P$});P$.\u0275inj=Wc({imports:[Mw,F0,PP,YC]});var Q$=function(){};Q$.\u0275fac=function(a){return new (a||Q$)};Q$.\u0275mod=od({type:Q$});Q$.\u0275inj=Wc({imports:[Mw,YC,OC,F1,PP]});var R$=function(){};R$.\u0275fac=function(a){return new (a||R$)};R$.\u0275mod=od({type:R$});R$.\u0275inj=Wc({imports:[Mw,VY,g1]});var S$=function(){};S$.\u0275fac=function(a){return new (a||S$)};S$.\u0275mod=od({type:S$});S$.\u0275inj=Wc({imports:[Mw,vP,wx,yN,DP,B0,eO,s7,YC,iP,OC,ID,NA,cO,PP]});var T$=function(){};T$.\u0275fac=function(a){return new (a||T$)};T$.\u0275mod=od({type:T$});T$.\u0275inj=Wc({});var U$=function(){};U$.\u0275fac=function(a){return new (a||U$)};U$.\u0275mod=od({type:U$});U$.\u0275inj=Wc({imports:[DT,Mw,vP,VY,NY,F5,N5,S5,O_,x0,X5,wx,T$,gO,eO,YC,iP,NA,OC,mP,HU,yN,ID,B0,s1,LG,R$,q1,PP,vW,aO,yz,S$,cO,t$]});var V$=function(){};V$.\u0275fac=function(a){return new (a||V$)};V$.\u0275mod=od({type:V$});V$.\u0275inj=Wc({imports:[Mw,x0,wx,T$,gO,YC,iP,OC,yN,ID,HU,B0,LG,cO,yz,q1,g1]});var W$=function(){};W$.\u0275fac=function(a){return new (a||W$)};W$.\u0275mod=od({type:W$});W$.\u0275inj=Wc({imports:[mP,Mw,wx]});var X$=function(){};X$.\u0275fac=function(a){return new (a||X$)};X$.\u0275mod=od({type:X$});X$.\u0275inj=Wc({providers:[{provide:w5b,useValue:{enabled:!0}}],imports:[d5,VW,Mw,Mw,wx,gO,iP,YC,YC,NA,OC,mP,aB,HU,vO,GC,yN,ID,ID,eZ,XJ,IU,W$,PP,XS]});var Y$=function(){};Y$.\u0275fac=function(a){return new (a||Y$)};Y$.\u0275mod=od({type:Y$});Y$.\u0275inj=Wc({imports:[Mw,wx,ID,YA,aB]});var Z$=function(){};Z$.\u0275fac=function(a){return new (a||Z$)};Z$.\u0275mod=od({type:Z$});Z$.\u0275inj=Wc({imports:[Mw,RF,YC,OC]});var EKc=function(){};EKc.prototype.send=function(a,b){Dwa(a);return this.makeRequest(a).then(function(c){return b?zwa(b,c):c})};var Wt=function(a,b,c,d,e){this.gapiUrl=a;this.gapiKey=b;this.gapiConfigUpdates=c||{};this.gapiAuthParams=d||{};this.defaultApiId=e};W(Wt,EKc);Wt.prototype.getGapi=function(){var a=this;return UDa().then(function(b){b=b||window.gapi;a.setGapiConfig(b);return $Da(b,{apiKey:a.gapiKey,clientId:a.gapiAuthParams.clientId,scope:a.gapiAuthParams.scope,hostedDomain:a.gapiAuthParams.hostedDomain,fetchBasicProfile:a.gapiAuthParams.fetchBasicProfile}).then(function(){return b})})};
Wt.prototype.makeRequest=function(a){var b=this;return this.getGapi().then(function(c){return of(function(d){if(1==d.nextAddress)return void 0===b.gapiAuthParams.minAuthTokenTimeRemaining?d.jumpTo(2):d.yield(ZDa(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})))})})};
Wt.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)})})};Wt.prototype.setGapiConfig=function(a){for(var b in this.gapiConfigUpdates)this.gapiConfigUpdates.hasOwnProperty(b)&&XDa(a,b,this.gapiConfigUpdates[b])};Wt.$inject=["gapiUrl","gapiKey","gapiConfigUpdates","gapiAuthParams","defaultApiId"];var FKc={disableCheatSheet:!0};FKc=void 0===FKc?{}:FKc;
var GKc=[bY,zP,ty,Ky,yY,M_,xY,JW,eO,JX,eZ,LW,s1,BU,LX,XN,DT,P0,qZ,BW,w5,A6,lU,iZ,mZ,oZ,QY,EP,K$,O$,Q$,P$,y7,r9,e$,g$,F$,U$,V$,c$,F0,F1,O_,Z5,t6,e1,gZ,D0,F_,C6,x5,T5,y5,u6,b1,d1,NQ,Z0,C_,RX,VW,nP,RU,M$,TP,AW,l1,IX,kZ,o1,I1,S0,T0,r6,W4,PP,eY,iT,Y$,ZN,U4,S5,Z$,X5,x4,DP,vP,IN,X$,d5,dU,VN,QT,TT,D1,q1,RT,x0,A5,E$,G$,M5,v1,cZ,VY,WY,NY,ST,U0,sZ,z0,m6,D_,B1,H1,p6,N5,zY,DY,B0,C0,A_,F5,L$,WW,N$,J$,EY,y$,S1,D$,OC,oy,{ngModule:JD,providers:[{provide:NQb,useFactory:function(){var a=rn().config.environmentType||
"QA";return"PROD"===a||"NIGHTLY"===a?{apikey:"AIzaSyB9Ljnt9FDyfTnTH2yeDn6lGM40PQm6Gsk",environment:"prod"}:{apikey:"AIzaSyBEveljwBki0sKCHdprNdJJPZrqTnIwIcM",environment:"nonprod"}},deps:[Zu]}]},{ngModule:TN,providers:[MI,{provide:P_b,useFactory:function(a){return new FBb(new B6b("https://appswaldo-pa.clients6.google.com",a.waldoApiKey,a.globalApiKey,Object.assign({},D6b,a.gapiConfig),{scope:"https://www.googleapis.com/auth/calendar.readonly"}))},deps:[C6b]},{provide:C6b,useFactory:function(){return{waldoApiKey:"AIzaSyDvxpDVHooCQawPUQkmQxwrtt-Xdp3Q3so",
globalApiKey:"AIzaSyBuUpn1wi2-0JpM3S-tq2csYx0z2_m_pqc",gapiConfig:{withCredentials:!0}}}}]},{ngModule:u$,providers:[p8,{provide:gIc,useFactory:function(){return{authRealm:1,peopleApiEnv:4,peopleStoreClient:EDc,autocompleteFactory:Gyc}}}]},{ngModule:FM,providers:[EM,{provide:b5b,useValue:FKc}]}],HKc=[JFc,Ztc,$tc,auc,buc,ikc,$Yb,{provide:C5b,useValue:{animationDuration:"0ms"}},{provide:hQb,useValue:{productName:"Buganizer",cooldownMilliseconds:864E5,enableUsageTracking:!0}},{provide:IQb,useValue:{disableTooltipInteractivity:!0}},
{provide:a8b,useValue:"AIzaSyCBj23e6C2MNif_tvceM-CPTXcVDK3sarY"},{provide:d8b,useValue:"92912"},{provide:f2b,useFactory:GBb},KFc,SFc,TFc,UFc],nw=function(){};nw.prototype.ngDoBootstrap=function(){rj("bootstrapping AppModule")};nw.\u0275fac=function(a){return new (a||nw)};nw.\u0275mod=od({type:nw,bootstrap:[aY,y6]});nw.\u0275inj=Wc({providers:[].concat(r(HKc)),imports:[GKc,C$,aX]});DB(document,"DOMContentLoaded",function(){KGb()});
__._ModuleManager_initialize=function(){};
__._ModuleManager_initialize('c/Yfyhhd/b96Luc/E7aOmb/HyHasc/dflQFd',[]);
}catch(e){__._DumpException(e)}
}).call(this,this.default_b);
// Google Inc.
