PageSourceSearch

https://tickets.museum-wiesbaden.de/scripts/webcomponents-335da2f7.js?t=1788956338227

js museum-wiesbaden.de collected 2026-10-02 06:32:42 UTC 668,648 bytes, 2,378 lines download raw bytes

1!function(t){var e={};function n(i){if(e[i])return e[i].exports;var s=e[i]={i:i,l:!1,exports:{}};return t[i].call(s.exports,s,s.exports,n),s.l=!0,s.exports}n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var s in t)n.d(i,s,(function(e){return t[e]}).bind(null,s));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=0)}({0:function(t,e,n){n("mCnT"),t.exports=n("nFvT")},BAOO:function(t,e,n){var i,s,r;
2/**
3 * @license
4 * Copyright Google LLC All Rights Reserved.
5 *
6 * Use of this source code is governed by an MIT-style license that can be
7 * found in the LICENSE file at https://angular.io/license
8 */!function(o){if("object"==typeof t.exports){var a=o(0,e);void 0!==a&&(t.exports=a)}else s=[n,e],void 0===(r="function"==typeof(i=o)?i.apply(e,s):i)||(t.exports=r)}(function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=void 0;e.default=["pl",[["a","p"],["AM","PM"],n],n,[["n","p","w","\u015b","c","p","s"],["niedz.","pon.","wt.","\u015br.","czw.","pt.","sob."],["niedziela","poniedzia\u0142ek","wtorek","\u015broda","czwartek","pi\u0105tek","sobota"],["nie","pon","wto","\u015bro","czw","pi\u0105","sob"]],[["N","P","W","\u015a","C","P","S"],["niedz.","pon.","wt.","\u015br.","czw.","pt.","sob."],["niedziela","poniedzia\u0142ek","wtorek","\u015broda","czwartek","pi\u0105tek","sobota"],["nie","pon","wto","\u015bro","czw","pi\u0105","sob"]],[["s","l","m","k","m","c","l","s","w","p","l","g"],["sty","lut","mar","kwi","maj","cze","lip","sie","wrz","pa\u017a","lis","gru"],["stycznia","lutego","marca","kwietnia","maja","czerwca","lipca","sierpnia","wrze\u015bnia","pa\u017adziernika","listopada","grudnia"]],[["S","L","M","K","M","C","L","S","W","P","L","G"],["sty","lut","mar","kwi","maj","cze","lip","sie","wrz","pa\u017a","lis","gru"],["stycze\u0144","luty","marzec","kwiecie\u0144","maj","czerwiec","lipiec","sierpie\u0144","wrzesie\u0144","pa\u017adziernik","listopad","grudzie\u0144"]],[["p.n.e.","n.e."],n,["przed nasz\u0105 er\u0105","naszej ery"]],1,[6,0],["dd.MM.y","d MMM y","d MMMM y","EEEE, d MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}, {0}",n,"{1} {0}",n],[",","\xa0",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","#,##0.00\xa0\xa4","#E0"],"PLN","z\u0142","z\u0142oty polski",{AUD:[n,"$"],CAD:[n,"$"],CNY:[n,"\xa5"],GBP:[n,"\xa3"],HKD:[n,"$"],ILS:[n,"\u20aa"],INR:[n,"\u20b9"],JPY:[n,"\xa5"],KRW:[n,"\u20a9"],MXN:[n,"$"],NZD:[n,"$"],PLN:["z\u0142"],RON:[n,"lej"],TWD:[n,"NT$"],USD:[n,"$"],VND:[n,"\u20ab"]},"ltr",function(t){var e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:0===n&&e%10===Math.floor(e%10)&&e%10>=2&&e%10<=4&&!(e%100>=12&&e%100<=14)?3:0===n&&1!==e&&e%10===Math.floor(e%10)&&e%10>=0&&e%10<=1||0===n&&e%10===Math.floor(e%10)&&e%10>=5&&e%10<=9||0===n&&e%100===Math.floor(e%100)&&e%100>=12&&e%100<=14?4:5}]})},Hfs6:function(t,e,n){var i,s,r;
9/**
10 * @license
11 * Copyright Google LLC All Rights Reserved.
12 *
13 * Use of this source code is governed by an MIT-style license that can be
14 * found in the LICENSE file at https://angular.io/license
15 */!function(o){if("object"==typeof t.exports){var a=o(0,e);void 0!==a&&(t.exports=a)}else s=[n,e],void 0===(r="function"==typeof(i=o)?i.apply(e,s):i)||(t.exports=r)}(function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=void 0;e.default=["fr",[["AM","PM"],n,n],n,[["D","L","M","M","J","V","S"],["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],["di","lu","ma","me","je","ve","sa"]],n,[["J","F","M","A","M","J","J","A","S","O","N","D"],["janv.","f\xe9vr.","mars","avr.","mai","juin","juil.","ao\xfbt","sept.","oct.","nov.","d\xe9c."],["janvier","f\xe9vrier","mars","avril","mai","juin","juillet","ao\xfbt","septembre","octobre","novembre","d\xe9cembre"]],n,[["av. J.-C.","ap. J.-C."],n,["avant J\xe9sus-Christ","apr\xe8s J\xe9sus-Christ"]],1,[6,0],["dd/MM/y","d MMM y","d MMMM y","EEEE d MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1} {0}","{1} '\xe0' {0}",n,n],[",","\u202f",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0\xa0%","#,##0.00\xa0\xa4","#E0"],"EUR","\u20ac","euro",{ARS:["$AR","$"],AUD:["$AU","$"],BEF:["FB"],BMD:["$BM","$"],BND:["$BN","$"],BZD:["$BZ","$"],CAD:["$CA","$"],CLP:["$CL","$"],CNY:[n,"\xa5"],COP:["$CO","$"],CYP:["\xa3CY"],EGP:[n,"\xa3E"],FJD:["$FJ","$"],FKP:["\xa3FK","\xa3"],FRF:["F"],GBP:["\xa3GB","\xa3"],GIP:["\xa3GI","\xa3"],HKD:[n,"$"],IEP:["\xa3IE"],ILP:["\xa3IL"],ITL:["\u20a4IT"],JPY:[n,"\xa5"],KMF:[n,"FC"],LBP:["\xa3LB","\xa3L"],MTP:["\xa3MT"],MXN:["$MX","$"],NAD:["$NA","$"],NIO:[n,"$C"],NZD:["$NZ","$"],RHD:["$RH"],RON:[n,"L"],RWF:[n,"FR"],SBD:["$SB","$"],SGD:["$SG","$"],SRD:["$SR","$"],TOP:[n,"$T"],TTD:["$TT","$"],TWD:[n,"NT$"],USD:["$US","$"],UYU:["$UY","$"],WST:["$WS"],XCD:[n,"$"],XPF:["FCFP"],ZMW:[n,"Kw"]},"ltr",function(t){var e=Math.floor(Math.abs(t));return 0===e||1===e?1:5}]})},"N/DB":function(t,e){
16/**
17 * @license Angular v11.2.5
18 * (c) 2010-2021 Google LLC. https://angular.io/
19 * License: MIT
20 */
21/**
22 * @license
23 * Copyright Google LLC All Rights Reserved.
24 *
25 * Use of this source code is governed by an MIT-style license that can be
26 * found in the LICENSE file at https://angular.io/license
27 */
28const n="undefined"!=typeof globalThis&&globalThis,i="undefined"!=typeof window&&window,s="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,r="undefined"!=typeof global&&global,o=function(t,...e){if(o.translate){const n=o.translate(t,e);t=n[0],e=n[1]}let n=a(t[0],t.raw[0]);for(let i=1;i<t.length;i++)n+=e[i-1]+a(t[i],t.raw[i]);return n};function a(t,e){return":"===e.charAt(0)?t.substring(function(t,e){for(let n=1,i=1;n<t.length;n++,i++)if("\\"===e[i])i++;else if(":"===t[n])return n;throw new Error(`Unterminated $localize metadata block in "${e}".`)}
29/**
30 * @license
31 * Copyright Google LLC All Rights Reserved.
32 *
33 * Use of this source code is governed by an MIT-style license that can be
34 * found in the LICENSE file at https://angular.io/license
35 */
36/**
37 * @license
38 * Copyright Google LLC All Rights Reserved.
39 *
40 * Use of this source code is governed by an MIT-style license that can be
41 * found in the LICENSE file at https://angular.io/license
42 */(t,e)+1):t}(n||r||i||s).$localize=o},VLs4:function(t,e,n){var i,s,r;
43/**
44 * @license
45 * Copyright Google LLC All Rights Reserved.
46 *
47 * Use of this source code is governed by an MIT-style license that can be
48 * found in the LICENSE file at https://angular.io/license
vendor: 7,064 bytes, lines 49-68
49 */!function(o){if("object"==typeof t.exports){var a=o(0,e);void 0!==a&&(t.exports=a)}else s=[n,e],void 0===(r="function"==typeof(i=o)?i.apply(e,s):i)||(t.exports=r)}(function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=void 0;e.default=["de",[["AM","PM"],n,n],n,[["S","M","D","M","D","F","S"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."],["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."]],[["S","M","D","M","D","F","S"],["So","Mo","Di","Mi","Do","Fr","Sa"],["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."]],[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan.","Feb.","M\xe4rz","Apr.","Mai","Juni","Juli","Aug.","Sept.","Okt.","Nov.","Dez."],["Januar","Februar","M\xe4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]],[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","M\xe4r","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],["Januar","Februar","M\xe4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]],[["v. Chr.","n. Chr."],n,n],1,[6,0],["dd.MM.yy","dd.MM.y","d. MMMM y","EEEE, d. MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}, {0}",n,"{1} 'um' {0}",n],[",",".",";","%","+","-","E","\xb7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0\xa0%","#,##0.00\xa0\xa4","#E0"],"EUR","\u20ac","Euro",{ATS:["\xf6S"],AUD:["AU$","$"],BGM:["BGK"],BGO:["BGJ"],CUC:[n,"Cub$"],DEM:["DM"],FKP:[n,"Fl\xa3"],GNF:[n,"F.G."],KMF:[n,"FC"],RON:[n,"L"],RWF:[n,"F.Rw"],SYP:[],THB:["\u0e3f"],TWD:["NT$"],XXX:[],ZMW:[n,"K"]},"ltr",function(t){var e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}]})},b6vB:function(t,e,n){var i,s,r;
50/**
51 * @license
52 * Copyright Google LLC All Rights Reserved.
53 *
54 * Use of this source code is governed by an MIT-style license that can be
55 * found in the LICENSE file at https://angular.io/license
56 */!function(o){if("object"==typeof t.exports){var a=o(0,e);void 0!==a&&(t.exports=a)}else s=[n,e],void 0===(r="function"==typeof(i=o)?i.apply(e,s):i)||(t.exports=r)}(function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=void 0;e.default=["nl",[["a.m.","p.m."],n,n],n,[["Z","M","D","W","D","V","Z"],["zo","ma","di","wo","do","vr","za"],["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"],["zo","ma","di","wo","do","vr","za"]],n,[["J","F","M","A","M","J","J","A","S","O","N","D"],["jan.","feb.","mrt.","apr.","mei","jun.","jul.","aug.","sep.","okt.","nov.","dec."],["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"]],n,[["v.C.","n.C."],["v.Chr.","n.Chr."],["voor Christus","na Christus"]],1,[6,0],["dd-MM-y","d MMM y","d MMMM y","EEEE d MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1} {0}",n,"{1} 'om' {0}",n],[",",".",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4\xa0#,##0.00;\xa4\xa0-#,##0.00","#E0"],"EUR","\u20ac","Euro",{AUD:["AU$","$"],CAD:["C$","$"],FJD:["FJ$","$"],JPY:["JP\xa5","\xa5"],SBD:["SI$","$"],THB:["\u0e3f"],TWD:["NT$"],USD:["US$","$"],XPF:[],XXX:[]},"ltr",function(t){var e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}]})},"m+po":function(t,e,n){"use strict";
57/**
58 * @license Angular v12.0.0-next.0
59 * (c) 2010-2020 Google LLC. https://angular.io/
60 * License: MIT
61 */
62/**
63 * @license
64 * Copyright Google LLC All Rights Reserved.
65 *
66 * Use of this source code is governed by an MIT-style license that can be
67 * found in the LICENSE file at https://angular.io/license
68 */!function(t){const e=t.performance;function n(t){e&&e.mark&&e.mark(t)}function i(t,n){e&&e.measure&&e.measure(t,n)}n("Zone");const s=t.__Zone_symbol_prefix||"__zone_symbol__";function r(t){return s+t}const o=!0===t[r("forceDuplicateZoneCheck")];if(t.Zone){if(o||"function"!=typeof t.Zone.__symbol__)throw new Error("Zone already loaded.");return t.Zone}class a{constructor(t,e){this._parent=t,this._name=e?e.name||"unnamed":"<root>",this._properties=e&&e.properties||{},this._zoneDelegate=new c(this,this._parent&&this._parent._zoneDelegate,e)}static assertZonePatched(){if(t.Promise!==A.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let t=a.current;for(;t.parent;)t=t.parent;return t}static get current(){return D.zone}static get currentTask(){return P}static __load_patch(e,s,r=!1){if(A.hasOwnProperty(e)){if(!r&&o)throw Error("Already loaded patch: "+e)}else if(!t["__Zone_disable_"+e]){const r="Zone:"+e;n(r),A[e]=s(t,a,I),i(r,r)}}get parent(){return this._parent}get name(){return this._name}get(t){const e=this.getZoneWith(t);if(e)return e._properties[t]}getZoneWith(t){let e=this;for(;e;){if(e._properties.hasOwnProperty(t))return e;e=e._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,e){if("function"!=typeof t)throw new Error("Expecting function got: "+t);const n=this._zoneDelegate.intercept(this,t,e),i=this;return function(){return i.runGuarded(n,this,arguments,e)}}run(t,e,n,i){D={parent:D,zone:this};try{return this._zoneDelegate.invoke(this,t,e,n,i)}finally{D=D.parent}}runGuarded(t,e=null,n,i){D={parent:D,zone:this};try{try{return this._zoneDelegate.invoke(this,t,e,n,i)}catch(s){if(this._zoneDelegate.handleError(this,s))throw s}}finally{D=D.parent}}runTask(t,e,n){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||v).name+"; Execution: "+this.name+")");if(t.state===b&&(t.type===O||t.type===T))return;const i=t.state!=S;i&&t._transitionTo(S,C),t.runCount++;const s=P;P=t,D={parent:D,zone:this};try{t.type==T&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,e,n)}catch(r){if(this._zoneDelegate.handleError(this,r))throw r}}finally{t.state!==b&&t.state!==k&&(t.type==O||t.data&&t.data.isPeriodic?i&&t._transitionTo(C,S):(t.runCount=0,this._updateTaskCount(t,-1),i&&t._transitionTo(b,S,b))),D=D.parent,P=s}}scheduleTask(t){if(t.zone&&t.zone!==this){let e=this;for(;e;){if(e===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);e=e.parent}}t._transitionTo(w,b);const e=[];t._zoneDelegates=e,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(n){throw t._transitionTo(k,w,b),this._zoneDelegate.handleError(this,n),n}return t._zoneDelegates===e&&this._updateTaskCount(t,1),t.state==w&&t._transitionTo(C,w),t}scheduleMicroTask(t,e,n,i){return this.scheduleTask(new u(x,t,e,n,i,void 0))}scheduleMacroTask(t,e,n,i,s){return this.scheduleTask(new u(T,t,e,n,i,s)
vendor: 11,539 bytes, lines 68-82
68)}scheduleEventTask(t,e,n,i,s){return this.scheduleTask(new u(O,t,e,n,i,s))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||v).name+"; Execution: "+this.name+")");t._transitionTo(E,C,S);try{this._zoneDelegate.cancelTask(this,t)}catch(e){throw t._transitionTo(k,E),this._zoneDelegate.handleError(this,e),e}return this._updateTaskCount(t,-1),t._transitionTo(b,E),t.runCount=0,t}_updateTaskCount(t,e){const n=t._zoneDelegates;-1==e&&(t._zoneDelegates=null);for(let i=0;i<n.length;i++)n[i]._updateTaskCount(t.type,e)}}a.__symbol__=r;const l={name:"",onHasTask:(t,e,n,i)=>t.hasTask(n,i),onScheduleTask:(t,e,n,i)=>t.scheduleTask(n,i),onInvokeTask:(t,e,n,i,s,r)=>t.invokeTask(n,i,s,r),onCancelTask:(t,e,n,i)=>t.cancelTask(n,i)};class c{constructor(t,e,n){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=t,this._parentDelegate=e,this._forkZS=n&&(n&&n.onFork?n:e._forkZS),this._forkDlgt=n&&(n.onFork?e:e._forkDlgt),this._forkCurrZone=n&&(n.onFork?this.zone:e._forkCurrZone),this._interceptZS=n&&(n.onIntercept?n:e._interceptZS),this._interceptDlgt=n&&(n.onIntercept?e:e._interceptDlgt),this._interceptCurrZone=n&&(n.onIntercept?this.zone:e._interceptCurrZone),this._invokeZS=n&&(n.onInvoke?n:e._invokeZS),this._invokeDlgt=n&&(n.onInvoke?e:e._invokeDlgt),this._invokeCurrZone=n&&(n.onInvoke?this.zone:e._invokeCurrZone),this._handleErrorZS=n&&(n.onHandleError?n:e._handleErrorZS),this._handleErrorDlgt=n&&(n.onHandleError?e:e._handleErrorDlgt),this._handleErrorCurrZone=n&&(n.onHandleError?this.zone:e._handleErrorCurrZone),this._scheduleTaskZS=n&&(n.onScheduleTask?n:e._scheduleTaskZS),this._scheduleTaskDlgt=n&&(n.onScheduleTask?e:e._scheduleTaskDlgt),this._scheduleTaskCurrZone=n&&(n.onScheduleTask?this.zone:e._scheduleTaskCurrZone),this._invokeTaskZS=n&&(n.onInvokeTask?n:e._invokeTaskZS),this._invokeTaskDlgt=n&&(n.onInvokeTask?e:e._invokeTaskDlgt),this._invokeTaskCurrZone=n&&(n.onInvokeTask?this.zone:e._invokeTaskCurrZone),this._cancelTaskZS=n&&(n.onCancelTask?n:e._cancelTaskZS),this._cancelTaskDlgt=n&&(n.onCancelTask?e:e._cancelTaskDlgt),this._cancelTaskCurrZone=n&&(n.onCancelTask?this.zone:e._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const i=n&&n.onHasTask;(i||e&&e._hasTaskZS)&&(this._hasTaskZS=i?n:l,this._hasTaskDlgt=e,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=t,n.onScheduleTask||(this._scheduleTaskZS=l,this._scheduleTaskDlgt=e,this._scheduleTaskCurrZone=this.zone),n.onInvokeTask||(this._invokeTaskZS=l,this._invokeTaskDlgt=e,this._invokeTaskCurrZone=this.zone),n.onCancelTask||(this._cancelTaskZS=l,this._cancelTaskDlgt=e,this._cancelTaskCurrZone=this.zone))}fork(t,e){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,t,e):new a(t,e)}intercept(t,e,n){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,t,e,n):e}invoke(t,e,n,i,s){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,t,e,n,i,s):e.apply(n,i)}handleError(t,e){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,t,e)}scheduleTask(t,e){let n=e;if(this._scheduleTaskZS)this._hasTaskZS&&n._zoneDelegates.push(this._hasTaskDlgtOwner),n=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,t,e),n||(n=e);else if(e.scheduleFn)e.scheduleFn(e);else{if(e.type!=x)throw new Error("Task is missing scheduleFn.");_(e)}return n}invokeTask(t,e,n,i){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,t,e,n,i):e.callback.apply(n,i)}cancelTask(t,e){let n;if(this._cancelTaskZS)n=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,t,e);else{if(!e.cancelFn)throw Error("Task is not cancelable");n=e.cancelFn(e)}return n}hasTask(t,e){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,t,e)}catch(n){this.handleError(t,n)}}_updateTaskCount(t,e){const n=this._taskCounts,i=n[t],s=n[t]=i+e;if(s<0)throw new Error("More tasks executed then were scheduled.");0!=i&&0!=s||this.hasTask(this.zone,{microTask:n.microTask>0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:t})}}class u{constructor(e,n,i,s,r,o){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=e,this.source=n,this.data=s,this.scheduleFn=r,this.cancelFn=o,!i)throw new Error("callback is not defined");this.callback=i;const a=this;this.invoke=e===O&&s&&s.useG?u.invokeTask:function(){return u.invokeTask.call(t,a,this,arguments)}}static invokeTask(t,e,n){t||(t=this),R++;try{return t.runCount++,t.zone.runTask(t,e,n)}finally{1==R&&y(),R--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(b,w)}_transitionTo(t,e,n){if(this._state!==e&&this._state!==n)throw new Error(`${this.type} '${this.source}': can not transition to '${t}', expecting state '${e}'${n?" or '"+n+"'":""}, was '${this._state}'.`);this._state=t,t==b&&(this._zoneDelegates=null)}toString(){return this.data&&void 0!==this.data.handleId?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const h=r("setTimeout"),d=r("Promise"),p=r("then");let f,m=[],g=!1;function _(e){if(0===R&&0===m.length)if(f||t[d]&&(f=t[d].resolve(0)),f){let t=f[p];t||(t=f.then),t.call(f,y)}else t[h](y,0);e&&m.push(e)}function y(){if(!g){for(g=!0;m.length;){const e=m;m=[];for(let n=0;n<e.length;n++){const i=e[n];try{i.zone.runTask(i,null,null)}catch(t){I.onUnhandledError(t)}}}I.microtaskDrainDone(),g=!1}}const v={name:"NO ZONE"},b="notScheduled",w="scheduling",C="scheduled",S="running",E="canceling",k="unknown",x="microTask",T="macroTask",O="eventTask",A={},I={symbol:r,currentZoneFrame:()=>D,onUnhandledError:M,microtaskDrainDone:M,scheduleMicroTask:_,showUncaughtError:()=>!a[r("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:M,patchMethod:()=>M,bindArguments:()=>[],patchThen:()=>M,patchMacroTask:()=>M,patchEventPrototype:()=>M,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>M,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>M,wrapWithCurrentZone:()=>M,filterProperties:()=>[],attachOriginToPatched:()=>M,_redefineProperty:()=>M,patchCallbacks:()=>M};let D={parent:null,zone:new a(null,null)},P=null,R=0;function M(){}i("Zone","Zone"),t.Zone=a}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||global);const i=Object.getOwnPropertyDescriptor,s=Object.defineProperty,r=Object.getPrototypeOf,o=Object.create,a=Array.prototype.slice,l="addEventListener",c="removeEventListener",u=Zone.__symbol__(l),h=Zone.__symbol__(c),d="true",p="false",f=Zone.__symbol__("");
69/**
70 * @license
71 * Copyright Google LLC All Rights Reserved.
72 *
73 * Use of this source code is governed by an MIT-style license that can be
74 * found in the LICENSE file at https://angular.io/license
75 */function m(t,e){return Zone.current.wrap(t,e)}function g(t,e,n,i,s){return Zone.current.scheduleMacroTask(t,e,n,i,s)}const _=Zone.__symbol__,y="undefined"!=typeof window,v=y?window:void 0,b=y&&v||"object"==typeof self&&self||global,w=[null];function C(t,e){for(let n=t.length-1;n>=0;n--)"function"==typeof t[n]&&(t[n]=m(t[n],e+"_"+n));return t}function S(t){return!t||!1!==t.writable&&!("function"==typeof t.get&&void 0===t.set)}const E="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,k=!("nw"in b)&&void 0!==b.process&&"[object process]"==={}.toString.call(b.process),x=!k&&!E&&!(!y||!v.HTMLElement),T=void 0!==b.process&&"[object process]"==={}.toString.call(b.process)&&!E&&!(!y||!v.HTMLElement),O={},A=function(t){if(!(t=t||b.event))return;let e=O[t.type];e||(e=O[t.type]=_("ON_PROPERTY"+t.type));const n=this||t.target||b,i=n[e];let s;if(x&&n===v&&"error"===t.type){const e=t;s=i&&i.call(this,e.message,e.filename,e.lineno,e.colno,e.error),!0===s&&t.preventDefault()}else s=i&&i.apply(this,arguments),null==s||s||t.preventDefault();return s};function I(t,e,n){let r=i(t,e);if(!r&&n&&i(n,e)&&(r={enumerable:!0,configurable:!0}),!r||!r.configurable)return;const o=_("on"+e+"patched");if(t.hasOwnProperty(o)&&t[o])return;delete r.writable,delete r.value;const a=r.get,l=r.set,c=e.substr(2);let u=O[c];u||(u=O[c]=_("ON_PROPERTY"+c)),r.set=function(e){let n=this;n||t!==b||(n=b),n&&(n[u]&&n.removeEventListener(c,A),l&&l.apply(n,w),"function"==typeof e?(n[u]=e,n.addEventListener(c,A,!1)):n[u]=null)},r.get=function(){let n=this;if(n||t!==b||(n=b),!n)return null;const i=n[u];if(i)return i;if(a){let t=a&&a.call(this);if(t)return r.set.call(this,t),"function"==typeof n.removeAttribute&&n.removeAttribute(e),t}return null},s(t,e,r),t[o]=!0}function D(t,e,n){if(e)for(let i=0;i<e.length;i++)I(t,"on"+e[i],n);else{const e=[];for(const n in t)"on"==n.substr(0,2)&&e.push(n);for(let i=0;i<e.length;i++)I(t,e[i],n)}}const P=_("originalInstance");function R(t){const e=b[t];if(!e)return;b[_(t)]=e,b[t]=function(){const n=C(arguments,t);switch(n.length){case 0:this[P]=new e;break;case 1:this[P]=new e(n[0]);break;case 2:this[P]=new e(n[0],n[1]);break;case 3:this[P]=new e(n[0],n[1],n[2]);break;case 4:this[P]=new e(n[0],n[1],n[2],n[3]);break;default:throw new Error("Arg list too long.")}},F(b[t],e);const n=new e(function(){});let i;for(i in n)"XMLHttpRequest"===t&&"responseBlob"===i||function(e){"function"==typeof n[e]?b[t].prototype[e]=function(){return this[P][e].apply(this[P],arguments)}:s(b[t].prototype,e,{set:function(n){"function"==typeof n?(this[P][e]=m(n,t+"."+e),F(this[P][e],n)):this[P][e]=n},get:function(){return this[P][e]}})}(i);for(i in e)"prototype"!==i&&e.hasOwnProperty(i)&&(b[t][i]=e[i])}function M(t,e,n){let s=t;for(;s&&!s.hasOwnProperty(e);)s=r(s);!s&&t[e]&&(s=t);const o=_(e);let a=null;if(s&&(!(a=s[o])||!s.hasOwnProperty(o))&&(a=s[o]=s[e],S(s&&i(s,e)))){const t=n(a,o,e);s[e]=function(){return t(this,arguments)},F(s[e],a)}return a}function N(t,e,n){let i=null;function s(t){const e=t.data;return e.args[e.cbIdx]=function(){t.invoke.apply(this,arguments)},i.apply(e.target,e.args),t}i=M(t,e,t=>function(e,i){const r=n(e,i);return r.cbIdx>=0&&"function"==typeof i[r.cbIdx]?g(r.name,i[r.cbIdx],r,s):t.apply(e,i)})}function F(t,e){t[_("OriginalDelegate")]=e}let V=!1,L=!1;function z(){try{const t=v.navigator.userAgent;if(-1!==t.indexOf("MSIE ")||-1!==t.indexOf("Trident/"))return!0}catch(t){}return!1}function j(){if(V)return L;V=!0;try{const t=v.navigator.userAgent;-1===t.indexOf("MSIE ")&&-1===t.indexOf("Trident/")&&-1===t.indexOf("Edge/")||(L=!0)}catch(t){}return L}
76/**
77 * @license
78 * Copyright Google LLC All Rights Reserved.
79 *
80 * Use of this source code is governed by an MIT-style license that can be
81 * found in the LICENSE file at https://angular.io/license
82 */Zone.__load_patch("ZoneAwarePromise",(t,e,n)=>{const i=Object.getOwnPropertyDescriptor,s=Object.defineProperty,r=n.symbol,o=[],a=!0===t[r("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],l=r("Promise"),c=r("then");n.onUnhandledError=t=>{if(n.showUncaughtError()){const e=t&&t.rejection;e?console.error("Unhandled Promise rejection:",e instanceof Error?e.message:e,"; Zone:",t.zone.name,"; Task:",t.task&&t.task.source,"; Value:",e,e instanceof Error?e.stack:void 0):console.error(t)}},n.microtaskDrainDone=()=>{for(;o.length;){const e=o.shift();try{e.zone.runGuarded(()=>
82{if(e.throwOriginal)throw e.rejection;throw e})}catch(t){h(t)}}};const u=r("unhandledPromiseRejectionHandler");function h(t){n.onUnhandledError(t);try{const n=e[u];"function"==typeof n&&n.call(this,t)}catch(i){}}function d(t){return t&&t.then}function p(t){return t}function f(t){return I.reject(t)}const m=r("state"),g=r("value"),_=r("finally"),y=r("parentPromiseValue"),v=r("parentPromiseState"),b=null,w=!0,C=!1;function S(t,e){return n=>{try{k(t,e,n)}catch(i){k(t,!1,i)}}}const E=r("currentTaskTrace");function k(t,i,r){const l=function(){let t=!1;return function(e){return function(){t||(t=!0,e.apply(null,arguments))}}}();if(t===r)throw new TypeError("Promise resolved with itself");if(t[m]===b){let h=null;try{"object"!=typeof r&&"function"!=typeof r||(h=r&&r.then)}catch(u){return l(()=>{k(t,!1,u)})(),t}if(i!==C&&r instanceof I&&r.hasOwnProperty(m)&&r.hasOwnProperty(g)&&r[m]!==b)T(r),k(t,r[m],r[g]);else if(i!==C&&"function"==typeof h)try{h.call(r,l(S(t,i)),l(S(t,!1)))}catch(u){l(()=>{k(t,!1,u)})()}else{t[m]=i;const l=t[g];if(t[g]=r,t[_]===_&&i===w&&(t[m]=t[v],t[g]=t[y]),i===C&&r instanceof Error){const t=e.currentTask&&e.currentTask.data&&e.currentTask.data.__creationTrace__;t&&s(r,E,{configurable:!0,enumerable:!1,writable:!0,value:t})}for(let e=0;e<l.length;)O(t,l[e++],l[e++],l[e++],l[e++]);if(0==l.length&&i==C){t[m]=0;let i=r;try{throw new Error("Uncaught (in promise): "+((c=r)&&c.toString===Object.prototype.toString?(c.constructor&&c.constructor.name||"")+": "+JSON.stringify(c):c?c.toString():Object.prototype.toString.call(c))+(r&&r.stack?"\n"+r.stack:""))}catch(u){i=u}a&&(i.throwOriginal=!0),i.rejection=r,i.promise=t,i.zone=e.current,i.task=e.currentTask,o.push(i),n.scheduleMicroTask()}}}var c;return t}const x=r("rejectionHandledHandler");function T(t){if(0===t[m]){try{const n=e[x];n&&"function"==typeof n&&n.call(this,{rejection:t[g],promise:t})}catch(n){}t[m]=C;for(let e=0;e<o.length;e++)t===o[e].promise&&o.splice(e,1)}}function O(t,e,n,i,s){T(t);const r=t[m],o=r?"function"==typeof i?i:p:"function"==typeof s?s:f;e.scheduleMicroTask("Promise.then",()=>{try{const i=t[g],s=!!n&&_===n[_];s&&(n[y]=i,n[v]=r);const a=e.run(o,void 0,s&&o!==f&&o!==p?[]:[i]);k(n,!0,a)}catch(i){k(n,!1,i)}},n)}const A=function(){};class I{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(t){return k(new this(null),w,t)}static reject(t){return k(new this(null),C,t)}static race(t){let e,n,i=new this((t,i)=>{e=t,n=i});function s(t){e(t)}function r(t){n(t)}for(let o of t)d(o)||(o=this.resolve(o)),o.then(s,r);return i}static all(t){return I.allWithCallback(t)}static allSettled(t){return(this&&this.prototype instanceof I?this:I).allWithCallback(t,{thenCallback:t=>({status:"fulfilled",value:t}),errorCallback:t=>({status:"rejected",reason:t})})}static allWithCallback(t,e){let n,i,s=new this((t,e)=>{n=t,i=e}),r=2,o=0;const a=[];for(let c of t){d(c)||(c=this.resolve(c));const t=o;try{c.then(i=>{a[t]=e?e.thenCallback(i):i,r--,0===r&&n(a)},s=>{e?(a[t]=e.errorCallback(s),r--,0===r&&n(a)):i(s)})}catch(l){i(l)}r++,o++}return r-=2,0===r&&n(a),s}constructor(t){const e=this;
82if(!(e instanceof I))throw new Error("Must be an instanceof Promise.");e[m]=b,e[g]=[];try{t&&t(S(e,w),S(e,C))}catch(n){k(e,!1,n)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return I}then(t,n){let i=this.constructor[Symbol.species];i&&"function"==typeof i||(i=this.constructor||I);const s=new i(A),r=e.current;return this[m]==b?this[g].push(r,s,t,n):O(this,r,s,t,n),s}catch(t){return this.then(null,t)}finally(t){let n=this.constructor[Symbol.species];n&&"function"==typeof n||(n=I);const i=new n(A);i[_]=_;const s=e.current;return this[m]==b?this[g].push(s,i,t,t):O(this,s,i,t,t),i}}I.resolve=I.resolve,I.reject=I.reject,I.race=I.race,I.all=I.all;const D=t[l]=t.Promise;t.Promise=I;const P=r("thenPatched");function R(t){const e=t.prototype,n=i(e,"then");if(n&&(!1===n.writable||!n.configurable))return;const s=e.then;e[c]=s,t.prototype.then=function(t,e){return new I((t,e)=>{s.call(this,t,e)}).then(t,e)},t[P]=!0}return n.patchThen=R,D&&(R(D),M(t,"fetch",t=>{return e=t,function(t,n){let i=e.apply(t,n);if(i instanceof I)return i;let s=i.constructor;return s[P]||R(s),i};var e})),Promise[e.__symbol__("uncaughtPromiseErrors")]=o,I}),
83/**
84 * @license
85 * Copyright Google LLC All Rights Reserved.
86 *
87 * Use of this source code is governed by an MIT-style license that can be
88 * found in the LICENSE file at https://angular.io/license
89 */
90Zone.__load_patch("toString",t=>{const e=Function.prototype.toString,n=_("OriginalDelegate"),i=_("Promise"),s=_("Error"),r=function(){if("function"==typeof this){const r=this[n];if(r)return"function"==typeof r?e.call(r):Object.prototype.toString.call(r);if(this===Promise){const n=t[i];if(n)return e.call(n)}if(this===Error){const n=t[s];if(n)return e.call(n)}}return e.call(this)};r[n]=e,Function.prototype.toString=r;const o=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":o.call(this)}});
91/**
92 * @license
93 * Copyright Google LLC All Rights Reserved.
94 *
95 * Use of this source code is governed by an MIT-style license that can be
96 * found in the LICENSE file at https://angular.io/license
97 */
98let B=!1;if("undefined"!=typeof window)try{const t=Object.defineProperty({},"passive",{get:function(){B=!0}});window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch(ft){B=!1}const H={useG:!0},$={},Z={},U=new RegExp("^"+f+"(\\w+)(true|false)$"),G=_("propagationStopped");function q(t,e){const n=(e?e(t):t)+p,i=(e?e(t):t)+d,s=f+n,r=f+i;$[t]={},$[t].false=s,$[t].true=r}function W(t,e,n){const i=n&&n.add||l,s=n&&n.rm||c,o=n&&n.listeners||"eventListeners",a=n&&n.rmAll||"removeAllListeners",u=_(i),h="."+i+":",m=function(t,e,n){if(t.isRemoved)return;const i=t.callback;"object"==typeof i&&i.handleEvent&&(t.callback=t=>i.handleEvent(t),t.originalDelegate=i),t.invoke(t,e,[n]);const r=t.options;r&&"object"==typeof r&&r.once&&e[s].call(e,n.type,t.originalDelegate?t.originalDelegate:t.callback,r)},g=function(e){if(!(e=e||t.event))return;const n=this||e.target||t,i=n[$[e.type].false];if(i)if(1===i.length)m(i[0],n,e);else{const t=i.slice();for(let i=0;i<t.length&&(!e||!0!==e[G]);i++)m(t[i],n,e)}},y=function(e){if(!(e=e||t.event))return;const n=this||e.target||t,i=n[$[e.type].true];if(i)if(1===i.length)m(i[0],n,e);else{const t=i.slice();for(let i=0;i<t.length&&(!e||!0!==e[G]);i++)m(t[i],n,e)}};function v(e,n){if(!e)return!1;let l=!0;n&&void 0!==n.useG&&(l=n.useG);const c=n&&n.vh;let m=!0;n&&void 0!==n.chkDup&&(m=n.chkDup);let v=!1;n&&void 0!==n.rt&&(v=n.rt);let b=e;for(;b&&!b.hasOwnProperty(i);)b=r(b);if(!b&&e[i]&&(b=e),!b)return!1;if(b[u])return!1;const w=n&&n.eventNameToString,C={},S=b[u]=b[i],E=b[_(s)]=b[s],x=b[_(o)]=b[o],T=b[_(a)]=b[a];let O;function A(t,e){return!B&&"object"==typeof t&&t?!!t.capture:B&&e?"boolean"==typeof t?{capture:t,passive:!0}:t?"object"==typeof t&&!1!==t.passive?Object.assign(Object.assign({},t),{passive:!0}):t:{passive:!0}:t}n&&n.prepend&&(O=b[_(n.prepend)]=b[n.prepend]);const I=l?function(t){if(!C.isExisting)return S.call(C.target,C.eventName,C.capture?y:g,C.options)}:function(t){return S.call(C.target,C.eventName,t.invoke,C.options)},D=l?function(t){if(!t.isRemoved){const e=$[t.eventName];let n;e&&(n=e[t.capture?d:p]);const i=n&&t.target[n];if(i)for(let s=0;s<i.length;s++)if(i[s]===t){i.splice(s,1),t.isRemoved=!0,0===i.length&&(t.allRemoved=!0,t.target[n]=null);break}}if(t.allRemoved)return E.call(t.target,t.eventName,t.capture?y:g,t.options)}:function(t){return E.call(t.target,t.eventName,t.invoke,t.options)},P=n&&n.diff?n.diff:function(t,e){const n=typeof e;return"function"===n&&t.callback===e||"object"===n&&t.originalDelegate===e},R=Zone[_("UNPATCHED_EVENTS")],M=t[_("PASSIVE_EVENTS")],N=function(e,i,s,r,o=!1,a=!1){return function(){const u=this||t;let h=arguments[0];n&&n.transferEventName&&(h=n.transferEventName(h));let f=arguments[1];if(!f)return e.apply(this,arguments);if(k&&"uncaughtException"===h)return e.apply(this,arguments);let g=!1;if("function"!=typeof f){if(!f.handleEvent)return e.apply(this,arguments);g=!0}if(c&&!c(e,f,u,arguments))return;const _=B&&!!M&&-1!==M.indexOf(h),y=A(arguments[2],_);if(R)for(let t=0;t<R.length;t++)if(h===R[t])return _?e.call(u,h,f,y):e.apply(this,arguments);const v=!!y&&("boolean"==typeof y||y.capture),b=!(!y||"object"!=typeof y)&&y.once,S=Zone.current;let E=$[h];
vendor: 2,955 bytes, lines 98-105
98E||(q(h,w),E=$[h]);const x=E[v?d:p];let T,O=u[x],I=!1;if(O){if(I=!0,m)for(let t=0;t<O.length;t++)if(P(O[t],f))return}else O=u[x]=[];const D=u.constructor.name,N=Z[D];N&&(T=N[h]),T||(T=D+i+(w?w(h):h)),C.options=y,b&&(C.options.once=!1),C.target=u,C.capture=v,C.eventName=h,C.isExisting=I;const F=l?H:void 0;F&&(F.taskData=C);const V=S.scheduleEventTask(T,f,F,s,r);return C.target=null,F&&(F.taskData=null),b&&(y.once=!0),(B||"boolean"!=typeof V.options)&&(V.options=y),V.target=u,V.capture=v,V.eventName=h,g&&(V.originalDelegate=f),a?O.unshift(V):O.push(V),o?u:void 0}};return b[i]=N(S,h,I,D,v),O&&(b.prependListener=N(O,".prependListener:",function(t){return O.call(C.target,C.eventName,t.invoke,C.options)},D,v,!0)),b[s]=function(){const e=this||t;let i=arguments[0];n&&n.transferEventName&&(i=n.transferEventName(i));const s=arguments[2],r=!!s&&("boolean"==typeof s||s.capture),o=arguments[1];if(!o)return E.apply(this,arguments);if(c&&!c(E,o,e,arguments))return;const a=$[i];let l;a&&(l=a[r?d:p]);const u=l&&e[l];if(u)for(let t=0;t<u.length;t++){const n=u[t];if(P(n,o))return u.splice(t,1),n.isRemoved=!0,0===u.length&&(n.allRemoved=!0,e[l]=null,"string"==typeof i)&&(e[f+"ON_PROPERTY"+i]=null),n.zone.cancelTask(n),v?e:void 0}return E.apply(this,arguments)},b[o]=function(){const e=this||t;let i=arguments[0];n&&n.transferEventName&&(i=n.transferEventName(i));const s=[],r=K(e,w?w(i):i);for(let t=0;t<r.length;t++){const e=r[t];s.push(e.originalDelegate?e.originalDelegate:e.callback)}return s},b[a]=function(){const e=this||t;let i=arguments[0];if(i){n&&n.transferEventName&&(i=n.transferEventName(i));const t=$[i];if(t){const n=e[t.false],r=e[t.true];if(n){const t=n.slice();for(let e=0;e<t.length;e++){const n=t[e];this[s].call(this,i,n.originalDelegate?n.originalDelegate:n.callback,n.options)}}if(r){const t=r.slice();for(let e=0;e<t.length;e++){const n=t[e];this[s].call(this,i,n.originalDelegate?n.originalDelegate:n.callback,n.options)}}}}else{const t=Object.keys(e);for(let e=0;e<t.length;e++){const n=U.exec(t[e]);let i=n&&n[1];i&&"removeListener"!==i&&this[a].call(this,i)}this[a].call(this,"removeListener")}if(v)return this},F(b[i],S),F(b[s],E),T&&F(b[a],T),x&&F(b[o],x),!0}let b=[];for(let r=0;r<e.length;r++)b[r]=v(e[r],n);return b}function K(t,e){if(!e){const n=[];for(let i in t){const s=U.exec(i);let r=s&&s[1];if(r&&(!e||r===e)){const e=t[i];if(e)for(let t=0;t<e.length;t++)n.push(e[t])}}return n}let n=$[e];n||(q(e),n=$[e]);const i=t[n.false],s=t[n.true];return i?s?i.concat(s):i.slice():s?s.slice():[]}function Y(t,e){const n=t.Event;n&&n.prototype&&e.patchMethod(n.prototype,"stopImmediatePropagation",t=>function(e,n){e[G]=!0,t&&t.apply(e,n)})}
99/**
100 * @license
101 * Copyright Google LLC All Rights Reserved.
102 *
103 * Use of this source code is governed by an MIT-style license that can be
104 * found in the LICENSE file at https://angular.io/license
105 */function X(t,e,n,i,s){const r=Zone.__symbol__(i);if(e[r])return;const o=e[r]=e[i];
vendor: 4,263 bytes, lines 105-112
105e[i]=function(r,a,l){return a&&a.prototype&&s.forEach(function(e){const s=`${n}.${i}::`+e,r=a.prototype;if(r.hasOwnProperty(e)){const n=t.ObjectGetOwnPropertyDescriptor(r,e);n&&n.value?(n.value=t.wrapWithCurrentZone(n.value,s),t._redefineProperty(a.prototype,e,n)):r[e]&&(r[e]=t.wrapWithCurrentZone(r[e],s))}else r[e]&&(r[e]=t.wrapWithCurrentZone(r[e],s))}),o.call(e,r,a,l)},t.attachOriginToPatched(e[i],o)}
106/**
107 * @license
108 * Copyright Google LLC All Rights Reserved.
109 *
110 * Use of this source code is governed by an MIT-style license that can be
111 * found in the LICENSE file at https://angular.io/license
112 */const Q=["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"],J=["encrypted","waitingforkey","msneedkey","mozinterruptbegin","mozinterruptend"],tt=["load"],et=["blur","error","focus","load","resize","scroll","messageerror"],nt=["bounce","finish","start"],it=["loadstart","progress","abort","error","load","progress","timeout","loadend","readystatechange"],st=["upgradeneeded","complete","abort","success","error","blocked","versionchange","close"],rt=["close","error","open","message"],ot=["error","message"],at=["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"].concat(["webglcontextrestored","webglcontextlost","webglcontextcreationerror"],["autocomplete","autocompleteerror"],["toggle"],["afterscriptexecute","beforescriptexecute","DOMContentLoaded","freeze","fullscreenchange","mozfullscreenchange","webkitfullscreenchange","msfullscreenchange","fullscreenerror","mozfullscreenerror","webkitfullscreenerror","msfullscreenerror","readystatechange","visibilitychange","resume"],Q,["beforecopy","beforecut","beforepaste","copy","cut","paste","dragstart","loadend","animationstart","search","transitionrun","transitionstart","webkitanimationend","webkitanimationiteration","webkitanimationstart","webkittransitionend"],["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","
vendor: 6,414 bytes, lines 112-150
112stop","storagecommit"]);function lt(t,e,n){if(!n||0===n.length)return e;const i=n.filter(e=>e.target===t);if(!i||0===i.length)return e;const s=i[0].ignoreProperties;return e.filter(t=>-1===s.indexOf(t))}function ct(t,e,n,i){t&&D(t,lt(t,e,n),i)}function ut(t,e){if(k&&!T)return;if(Zone[t.symbol("patchEvents")])return;const n="undefined"!=typeof WebSocket,i=e.__Zone_ignore_on_properties;if(x){const t=window,e=z()?[{target:t,ignoreProperties:["error"]}]:[];ct(t,at.concat(["messageerror"]),i?i.concat(e):i,r(t)),ct(Document.prototype,at,i),void 0!==t.SVGElement&&ct(t.SVGElement.prototype,at,i),ct(Element.prototype,at,i),ct(HTMLElement.prototype,at,i),ct(HTMLMediaElement.prototype,J,i),ct(HTMLFrameSetElement.prototype,Q.concat(et),i),ct(HTMLBodyElement.prototype,Q.concat(et),i),ct(HTMLFrameElement.prototype,tt,i),ct(HTMLIFrameElement.prototype,tt,i);const n=t.HTMLMarqueeElement;n&&ct(n.prototype,nt,i);const s=t.Worker;s&&ct(s.prototype,ot,i)}const s=e.XMLHttpRequest;s&&ct(s.prototype,it,i);const o=e.XMLHttpRequestEventTarget;o&&ct(o&&o.prototype,it,i),"undefined"!=typeof IDBIndex&&(ct(IDBIndex.prototype,st,i),ct(IDBRequest.prototype,st,i),ct(IDBOpenDBRequest.prototype,st,i),ct(IDBDatabase.prototype,st,i),ct(IDBTransaction.prototype,st,i),ct(IDBCursor.prototype,st,i)),n&&ct(WebSocket.prototype,rt,i)}
113/**
114 * @license
115 * Copyright Google LLC All Rights Reserved.
116 *
117 * Use of this source code is governed by an MIT-style license that can be
118 * found in the LICENSE file at https://angular.io/license
119 */Zone.__load_patch("util",(t,e,n)=>{n.patchOnProperties=D,n.patchMethod=M,n.bindArguments=C,n.patchMacroTask=N;const r=e.__symbol__("BLACK_LISTED_EVENTS"),u=e.__symbol__("UNPATCHED_EVENTS");t[u]&&(t[r]=t[u]),t[r]&&(e[r]=e[u]=t[r]),n.patchEventPrototype=Y,n.patchEventTarget=W,n.isIEOrEdge=j,n.ObjectDefineProperty=s,n.ObjectGetOwnPropertyDescriptor=i,n.ObjectCreate=o,n.ArraySlice=a,n.patchClass=R,n.wrapWithCurrentZone=m,n.filterProperties=lt,n.attachOriginToPatched=F,n._redefineProperty=Object.defineProperty,n.patchCallbacks=X,n.getGlobalObjects=()=>({globalSources:Z,zoneSymbolEventNames:$,eventNames:at,isBrowser:x,isMix:T,isNode:k,TRUE_STR:d,FALSE_STR:p,ZONE_SYMBOL_PREFIX:f,ADD_EVENT_LISTENER_STR:l,REMOVE_EVENT_LISTENER_STR:c})});
120/**
121 * @license
122 * Copyright Google LLC All Rights Reserved.
123 *
124 * Use of this source code is governed by an MIT-style license that can be
125 * found in the LICENSE file at https://angular.io/license
126 */
127const ht=_("zoneTask");function dt(t,e,n,i){let s=null,r=null;n+=i;const o={};function a(e){const n=e.data;return n.args[0]=function(){return e.invoke.apply(this,arguments)},n.handleId=s.apply(t,n.args),e}function l(e){return r.call(t,e.data.handleId)}s=M(t,e+=i,n=>function(s,r){if("function"==typeof r[0]){const t={isPeriodic:"Interval"===i,delay:"Timeout"===i||"Interval"===i?r[1]||0:void 0,args:r},n=r[0];r[0]=function(){try{return n.apply(this,arguments)}finally{t.isPeriodic||("number"==typeof t.handleId?delete o[t.handleId]:t.handleId&&(t.handleId[ht]=null))}};const s=g(e,r[0],t,a,l);if(!s)return s;const c=s.data.handleId;return"number"==typeof c?o[c]=s:c&&(c[ht]=s),c&&c.ref&&c.unref&&"function"==typeof c.ref&&"function"==typeof c.unref&&(s.ref=c.ref.bind(c),s.unref=c.unref.bind(c)),"number"==typeof c||c?c:s}return n.apply(t,r)}),r=M(t,n,e=>function(n,i){const s=i[0];let r;"number"==typeof s?r=o[s]:(r=s&&s[ht],r||(r=s)),r&&"string"==typeof r.type?"notScheduled"!==r.state&&(r.cancelFn&&r.data.isPeriodic||0===r.runCount)&&("number"==typeof s?delete o[s]:s&&(s[ht]=null),r.zone.cancelTask(r)):e.apply(t,i)})}
128/**
129 * @license
130 * Copyright Google LLC All Rights Reserved.
131 *
132 * Use of this source code is governed by an MIT-style license that can be
133 * found in the LICENSE file at https://angular.io/license
134 */
135/**
136 * @license
137 * Copyright Google LLC All Rights Reserved.
138 *
139 * Use of this source code is governed by an MIT-style license that can be
140 * found in the LICENSE file at https://angular.io/license
141 */
142function pt(t,e){if(Zone[e.symbol("patchEventTarget")])return;const{eventNames:n,zoneSymbolEventNames:i,TRUE_STR:s,FALSE_STR:r,ZONE_SYMBOL_PREFIX:o}=e.getGlobalObjects();for(let l=0;l<n.length;l++){const t=n[l],e=o+(t+r),a=o+(t+s);i[t]={},i[t][r]=e,i[t][s]=a}const a=t.EventTarget;return a&&a.prototype?(e.patchEventTarget(t,[a&&a.prototype]),!0):void 0}
143/**
144 * @license
145 * Copyright Google LLC All Rights Reserved.
146 *
147 * Use of this source code is governed by an MIT-style license that can be
148 * found in the LICENSE file at https://angular.io/license
149 */
150Zone.__load_patch("legacy",t=>{const e=t[Zone.__symbol__("legacyPatch")];e&&e()}),Zone.__load_patch("queueMicrotask",(t,e,n)=>{n.patchMethod(t,"queueMicrotask",t=>function(t,n){e.current.scheduleMicroTask("queueMicrotask",n[0])})}),Zone.__load_patch("timers",t=>{const e="set",n="clear";dt(t,e,n,"Timeout"),dt(t,e,n,"Interval"),dt(t,e,n,"Immediate")}),Zone.__load_patch("requestAnimationFrame",t=>{dt(t,"request","cancel","AnimationFrame"),dt(t,"mozRequest","mozCancel","AnimationFrame"),dt(t,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(t,e)=>{const n=["alert","prompt","confirm"];for(let i=0;i<n.length;i++)M(t,n[i],(n,i,s)=>function(i,r){return e.current.run(n,t,r,s)})}),Zone.__load_patch("EventTarget",(t,e,n)=>{!function(t,e){e.patchEventPrototype(t,e)}(t,n),pt(t,n);const i=t.XMLHttpRequestEventTarget;i&&i.prototype&&n.patchEventTarget(t,[i.prototype])}),Zone.__load_patch("MutationObserver",(t,e,n)=>{R("MutationObserver"),R("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(t,e,n)=>{R("IntersectionObserver")}),Zone.__load_patch("FileReader",(t,e,n)=>{R("FileReader")}),Zone.__load_patch("on_property",(t,e,n)=>{ut(n,t)}),Zone.__load_patch("customElements",(t,e,n)=>{!function(t,e){const{isBrowser:n,isMix:i}=e.getGlobalObjects();(n||i)&&t.customElements&&"customElements"in t&&e.patchCallbacks(e,t.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(t,n)}),Zone.__load_patch("XHR",(t,e)=>{!function(t){const l=t.XMLHttpRequest;if(!l)return;const c=l.prototype;let d=c[u],p=c[h];if(!d){const e=t.XMLHttpRequestEventTarget;if(e){const t=e.prototype;d=t[u],p=t[h]}}const f="readystatechange",m="scheduled";function y(t){const i=t.data,o=i.target;o[r]=!1,o[a]=!1;const l=o[s];d||(d=o[u],p=o[h]),l&&p.call(o,f,l);const c=o[s]=()=>
150{if(o.readyState===o.DONE)if(!i.aborted&&o[r]&&t.state===m){const n=o[e.__symbol__("loadfalse")];if(0!==o.status&&n&&n.length>0){const s=t.invoke;t.invoke=function(){const n=o[e.__symbol__("loadfalse")];for(let e=0;e<n.length;e++)n[e]===t&&n.splice(e,1);i.aborted||t.state!==m||s.call(t)},n.push(t)}else t.invoke()}else i.aborted||!1!==o[r]||(o[a]=!0)};return d.call(o,f,c),o[n]||(o[n]=t),E.apply(o,i.args),o[r]=!0,t}function v(){}function b(t){const e=t.data;return e.aborted=!0,k.apply(e.target,e.args)}const w=M(c,"open",()=>function(t,e){return t[i]=0==e[2],t[o]=e[1],w.apply(t,e)}),C=_("fetchTaskAborting"),S=_("fetchTaskScheduling"),E=M(c,"send",()=>function(t,n){if(!0===e.current[S])return E.apply(t,n);if(t[i])return E.apply(t,n);{const e={target:t,url:t[o],isPeriodic:!1,args:n,aborted:!1},i=g("XMLHttpRequest.send",v,e,y,b);t&&!0===t[a]&&!e.aborted&&i.state===m&&i.invoke()}}),k=M(c,"abort",()=>function(t,i){const s=t[n];if(s&&"string"==typeof s.type){if(null==s.cancelFn||s.data&&s.data.aborted)return;s.zone.cancelTask(s)}else if(!0===e.current[C])return k.apply(t,i)})}(t);const n=_("xhrTask"),i=_("xhrSync"),s=_("xhrListener"),r=_("xhrScheduled"),o=_("xhrURL"),a=_("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",t=>{t.navigator&&t.navigator.geolocation&&function(t,e){const n=t.constructor.name;for(let s=0;s<e.length;s++){const r=e[s],o=t[r];if(o){if(!S(i(t,r)))continue;t[r]=(t=>{const e=function(){return t.apply(this,C(arguments,n+"."+r))};return F(e,t),e})(o)}}}(t.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(t,e)=>{function n(e){return function(n){K(t,e).forEach(i=>{const s=t.PromiseRejectionEvent;if(s){const t=new s(e,{promise:n.promise,reason:n.rejection});i.invoke(t)}})}}t.PromiseRejectionEvent&&(e[_("unhandledPromiseRejectionHandler")]=n("unhandledrejection"),e[_("rejectionHandledHandler")]=n("rejectionhandled"))})},mCnT:function(t,e,n){"use strict";n.r(e),n("m+po");var i="function"==typeof Promise?Promise:function(t){let e,n=[],i=0;return t(t=>{e=t,i=1,n.splice(0).forEach(s)}),{then:s};function s(t){return i?setTimeout(t,0,e):n.push(t),this}};const{keys:s}=Object,{document:r,MutationObserver:o,Set:a,WeakMap:l}=self,c=t=>"querySelectorAll"in t,{filter:u}=[];if(!self.customElements){const{document:t,HTMLElement:e,Node:n,Map:d,MutationObserver:p,Object:f,Error:m,TypeError:g}=self,{createElement:_}=t,{defineProperty:y,setPrototypeOf:v}=f,b=new d,w=new d,C=new d,S=new d,E=[],k=(t,e,n)=>{const i=C.get(n);if(e&&!i.isPrototypeOf(t)){const e=(t=>{const e=s(t),n=[],{length:i}=e;for(let s=0;s<i;s++)n[s]=t[e[s]],delete t[e[s]];return()=>{for(let s=0;s<i;s++)t[e[s]]=n[s]}})(t);T=v(t,i);try{new i.constructor}finally{T=null,e()}}const r=(e?"":"dis")+"connectedCallback";r in i&&t[r]()},{parse:x}=(t=>{const e=new l,n=e=>{const{query:n}=t;if(n.length)for(let t=0,{length:s}=e;t<s;t++)i(u.call(e[t].addedNodes,c),!0,n),i(u.call(e[t].removedNodes,c),!1,n)},i=(n,r,o,l=new a)=>{for(let c,u,h=0,{length:p}=n;h<p;h++)if(!l.has(u=n[h])){if(l.add(u),r)for(let n,i=s(u),l=0,{length:h}=o;l<h;l++)i.call(u,n=o[l])&&(e.has(u)||e.set(u,new a),c=e.get(u),c.has(n)||(c.add(n),t.handle(u,r,n)));else e.has(u)&&(c=e.get(u),e.delete(u),c.forEach(e=>{t.handle(u,r,e)}));i(d(u),r,o,l)}},s=t=>t.matches||t.webkitMatchesSelector||t.msMatchesSelector,h=(e,n=!0)=>{i(e,n,t.query)},d=t=>m.length?t.querySelectorAll(m):m,p=new o(n),f=t.root||r,{query:m}=t;return p.observe(f,{childList:!0,subtree:!0}),h(d(f)),{drop:t=>{for(let n=0,{length:i}=t;n<i;n++)e.delete(t[n])},flush:()=>{n(p.takeRecords())},observer:p,parse:h}})({query:E,handle:k});let T=null;const O=t=>{if(!w.has(t)){let e,n=new i(t=>{e=t});w.set(t,{$:n,_:e})}return w.get(t).$},A=((t,e)=>{const n=t=>{for(let e=0,{length:n}=t;e<n;e++)i(t[e])},i=({target:t,attributeName:e,oldValue:n})=>{t.attributeChangedCallback(e,n,t.getAttribute(e))};return(s,r)=>{const{observedAttributes:o}=s.constructor;return o&&t(r).then(()=>{new e(n).observe(s,{attributes:!0,attributeOldValue:!0,attributeFilter:o});for(let t=0,{length:e}=o;t<e;t++)s.hasAttribute(o[t])&&i({target:s,attributeName:o[t],oldValue:null})}),s}})(O,p);function h(){const{constructor:e}=this;if(!b.has(e))throw new g("Illegal constructor");const n=b.get(e);if(T)return A(T,n);const i=_.call(t,n);return A(v(i,e.prototype),n)}y(self,"customElements",{configurable:!0,value:{define:(e,n)=>
150{if(S.has(e))throw new m(`the name "${e}" has already been used with this registry`);b.set(n,e),C.set(e,n.prototype),S.set(e,n),E.push(e),O(e).then(()=>{x(t.querySelectorAll(e))}),w.get(e)._(n)},get:t=>S.get(t),whenDefined:O}}),y(h.prototype=e.prototype,"constructor",{value:h}),y(self,"HTMLElement",{configurable:!0,value:h}),y(t,"createElement",{configurable:!0,value(e,n){const i=S.get(n&&n.is||e);return i?new i:_.call(t,e)}}),"isConnected"in n.prototype||y(n.prototype,"isConnected",{configurable:!0,get(){return!(this.ownerDocument.compareDocumentPosition(this)&this.DOCUMENT_POSITION_DISCONNECTED)}})}n("N/DB")},nFvT:function(t,e,n){"use strict";function i(t){return"function"==typeof t}n.r(e);let s=!1;const r={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){const t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else s&&console.log("RxJS: Back to a better error behavior. Thank you. <3");s=t},get useDeprecatedSynchronousErrorHandling(){return s}};function o(t){setTimeout(()=>{throw t},0)}const a={closed:!0,next(t){},error(t){if(r.useDeprecatedSynchronousErrorHandling)throw t;o(t)},complete(){}},l=(()=>Array.isArray||(t=>t&&"number"==typeof t.length))();function c(t){return null!==t&&"object"==typeof t}const u=(()=>{function t(t){return Error.call(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((t,e)=>`${e+1}) ${t.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t})();let h=(()=>{class t{constructor(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._ctorUnsubscribe=!0,this._unsubscribe=t)}unsubscribe(){let e;if(this.closed)return;let{_parentOrParents:n,_ctorUnsubscribe:s,_unsubscribe:r,_subscriptions:o}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof t)n.remove(this);else if(null!==n)for(let t=0;t<n.length;++t)n[t].remove(this);if(i(r)){s&&(this._unsubscribe=void 0);try{r.call(this)}catch(a){e=a instanceof u?d(a.errors):[a]}}if(l(o)){let t=-1,n=o.length;for(;++t<n;){const n=o[t];if(c(n))try{n.unsubscribe()}catch(a){e=e||[],a instanceof u?e=e.concat(d(a.errors)):e.push(a)}}}if(e)throw new u(e)}add(e){let n=e;if(!e)return t.EMPTY;switch(typeof e){case"function":n=new t(e);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof t)){const e=n;n=new t,n._subscriptions=[e]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}let{_parentOrParents:i}=n;if(null===i)n._parentOrParents=this;else if(i instanceof t){if(i===this)return n;n._parentOrParents=[i,this]}else{if(-1!==i.indexOf(this))return n;i.push(this)}const s=this._subscriptions;return null===s?this._subscriptions=[n]:s.push(n),n}remove(t){const e=this._subscriptions;if(e){const n=e.indexOf(t);-1!==n&&e.splice(n,1)}}}var e;return t.EMPTY=((e=new t).closed=!0,e),t})();function d(t){return t.reduce((t,e)=>t.concat(e instanceof u?e.errors:e),[])}const p=(()=>"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())();class f extends h{constructor(t,e,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=a;break;case 1:if(!t){this.destination=a;break}if("object"==typeof t){t instanceof f?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new m(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new m(this,t,e,n)}}[p](){return this}static create(t,e,n){const i=new f(t,e,n);return i.syncErrorThrowable=!1,i}next(t){this.isStopped||this._next(t)}error(t){this.isStopped||(this.isStopped=!0,this._error(t))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(t){this.destination.next(t)}_error(t){this.destination.error(t),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:t}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this}}class m extends f{constructor(t,e,n,s){let r;super(),this._parentSubscriber=t;let o=this;
vendor: 23,030 bytes, lines 150-319
150i(e)?r=e:e&&(r=e.next,n=e.error,s=e.complete,e!==a&&(o=Object.create(e),i(o.unsubscribe)&&this.add(o.unsubscribe.bind(o)),o.unsubscribe=this.unsubscribe.bind(this))),this._context=o,this._next=r,this._error=n,this._complete=s}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;r.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}}error(t){if(!this.isStopped){const{_parentSubscriber:e}=this,{useDeprecatedSynchronousErrorHandling:n}=r;if(this._error)n&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)n?(e.syncErrorValue=t,e.syncErrorThrown=!0):o(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;o(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const e=()=>this._complete.call(this._context);r.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,e),this.unsubscribe()):(this.__tryOrUnsub(e),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(t,e){try{t.call(this._context,e)}catch(n){if(this.unsubscribe(),r.useDeprecatedSynchronousErrorHandling)throw n;o(n)}}__tryOrSetError(t,e,n){if(!r.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(i){return r.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=i,t.syncErrorThrown=!0,!0):(o(i),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}const g=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")();function _(t){return t}let y=(()=>{class t{constructor(t){this._isScalar=!1,t&&(this._subscribe=t)}lift(e){const n=new t;return n.source=this,n.operator=e,n}subscribe(t,e,n){const{operator:i}=this,s=function(t,e,n){if(t){if(t instanceof f)return t;if(t[p])return t[p]()}return t||e||n?new f(t,e,n):new f(a)}(t,e,n);if(s.add(i?i.call(s,this.source):this.source||r.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),r.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s}_trySubscribe(t){try{return this._subscribe(t)}catch(e){r.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),function(t){for(;t;){const{closed:e,destination:n,isStopped:i}=t;if(e||i)return!1;t=n&&n instanceof f?n:null}return!0}(t)?t.error(e):console.warn(e)}}forEach(t,e){return new(e=v(e))((e,n)=>{let i;i=this.subscribe(e=>{try{t(e)}catch(s){n(s),i&&i.unsubscribe()}},n,e)})}_subscribe(t){const{source:e}=this;return e&&e.subscribe(t)}[g](){return this}pipe(...t){return 0===t.length?this:(0===(e=t).length?_:1===e.length?e[0]:function(t){return e.reduce((t,e)=>e(t),t)})(this);var e}toPromise(t){return new(t=v(t))((t,e)=>{let n;this.subscribe(t=>n=t,t=>e(t),()=>t(n))})}}return t.create=e=>new t(e),t})();function v(t){if(t||(t=r.Promise||Promise),!t)throw new Error("no Promise impl found");return t}const b=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})();class w extends h{constructor(t,e){super(),this.subject=t,this.subscriber=e,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const t=this.subject,e=t.observers;if(this.subject=null,!e||0===e.length||t.isStopped||t.closed)return;const n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}class C extends f{constructor(t){super(t),this.destination=t}}let S=(()=>{class t extends y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[p](){return new C(this)}lift(t){const e=new E(this,this);return e.operator=t,e}next(t){if(this.closed)throw new b;if(!this.isStopped){const{observers:e}=this,n=e.length,i=e.slice();for(let s=0;s<n;s++)i[s].next(t)}}error(t){if(this.closed)throw new b;this.hasError=!0,this.thrownError=t,this.isStopped=!0;const{observers:e}=this,n=e.length,i=e.slice();for(let s=0;s<n;s++)i[s].error(t);this.observers.length=0}complete(){if(this.closed)throw new b;this.isStopped=!0;const{observers:t}=this,e=t.length,n=t.slice();for(let i=0;i<e;i++)n[i].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(t){if(this.closed)throw new b;return super._trySubscribe(t)}_subscribe(t){if(this.closed)throw new b;return this.hasError?(t.error(this.thrownError),h.EMPTY):this.isStopped?(t.complete(),h.EMPTY):(this.observers.push(t),new w(this,t))}asObservable(){const t=new y;return t.source=this,t}}return t.create=(t,e)=>new E(t,e),t})();class E extends S{constructor(t,e){super(),this.destination=t,this.source=e}next(t){const{destination:e}=this;e&&e.next&&e.next(t)}error(t){const{destination:e}=this;e&&e.error&&this.destination.error(t)}complete(){const{destination:t}=this;t&&t.complete&&this.destination.complete()}_subscribe(t){const{source:e}=this;return e?this.source.subscribe(t):h.EMPTY}}function k(t){return t&&"function"==typeof t.schedule}function x(t,e){return function(n){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new T(t,e))}}class T{constructor(t,e){this.project=t,this.thisArg=e}call(t,e){return e.subscribe(new O(t,this.project,this.thisArg))}}class O extends f{constructor(t,e,n){super(t),this.project=e,this.count=0,this.thisArg=n||this}_next(t){let e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}const A=t=>e=>{for(let n=0,i=t.length;n<i&&!e.closed;n++)e.next(t[n]);e.complete()};function I(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}const D=I(),P=t=>t&&"number"==typeof t.length&&"function"!=typeof t;function R(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}const M=t=>{if(t&&"function"==typeof t[g])return i=t,t=>{const e=i[g]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)};if(P(t))return A(t);if(R(t))return n=t,t=>(n.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,o),t);if(t&&"function"==typeof t[D])return e=t,t=>{const n=e[D]();for(;;){let e;try{e=n.next()}catch(i){return t.error(i),t}if(e.done){t.complete();break}if(t.next(e.value),t.closed)break}return"function"==typeof n.return&&t.add(()=>{n.return&&n.return()}),t};{const e=c(t)?"an invalid object":`'${t}'`;throw new TypeError(`You provided ${e} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`)}var e,n,i};function N(t,e){return new y(n=>{const i=new h;let s=0;return i.add(e.schedule(function(){s!==t.length?(n.next(t[s++]),n.closed||i.add(this.schedule())):n.complete()})),i})}function F(t,e){return e?function(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[g]}(t))return function(t,e){return new y(n=>{const i=new h;return i.add(e.schedule(()=>{const s=t[g]();i.add(s.subscribe({next(t){i.add(e.schedule(()=>n.next(t)))},error(t){i.add(e.schedule(()=>n.error(t)))},complete(){i.add(e.schedule(()=>n.complete()))}}))})),i})}(t,e);if(R(t))return function(t,e){return new y(n=>{const i=new h;return i.add(e.schedule(()=>t.then(t=>{i.add(e.schedule(()=>{n.next(t),i.add(e.schedule(()=>n.complete()))}))},t=>{i.add(e.schedule(()=>n.error(t)))}))),i})}(t,e);if(P(t))return N(t,e);if(function(t){return t&&"function"==typeof t[D]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new y(n=>{const i=new h;let s;return i.add(()=>{s&&"function"==typeof s.return&&s.return()}),i.add(e.schedule(()=>{s=t[D](),i.add(e.schedule(function(){if(n.closed)return;let t,e;try{const n=s.next();t=n.value,e=n.done}catch(i){return void n.error(i)}e?n.complete():(n.next(t),this.schedule())}))})),i})}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}(t,e):t instanceof y?t:new y(M(t))}class V extends f{constructor(t){super(),this.parent=t}_next(t){this.parent.notifyNext(t)}_error(t){this.parent.notifyError(t),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class L extends f{notifyNext(t){this.destination.next(t)}notifyError(t){this.destination.error(t)}notifyComplete(){this.destination.complete()}}function z(t,e){if(!e.closed)return t instanceof y?t.subscribe(e):M(t)(e)}function j(t,e,n=Number.POSITIVE_INFINITY){return"function"==typeof e?i=>i.pipe(j((n,i)=>F(t(n,i)).pipe(x((t,s)=>e(n,t,i,s))),n)):("number"==typeof e&&(n=e),e=>e.lift(new B(t,n)))}class B{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new H(t,this.project,this.concurrent))}}class H extends L{constructor(t,e,n=Number.POSITIVE_INFINITY){super(t),this.project=e,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(t){this.active<this.concurrent?this._tryNext(t):this.buffer.push(t)}_tryNext(t){let e;const n=this.index++;try{e=this.project(t,n)}catch(i){return void this.destination.error(i)}this.active++,this._innerSub(e)}_innerSub(t){const e=new V(this),n=this.destination;n.add(e);const i=z(t,e);i!==e&&n.add(i)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(t){this.destination.next(t)}notifyComplete(){const t=this.buffer;this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function $(t=Number.POSITIVE_INFINITY){return j(_,t)}function Z(t,e){return e?N(t,e):new y(A(t))}function U(...t){let e=Number.POSITIVE_INFINITY,n=null,i=t[t.length-1];return k(i)?(n=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(e=t.pop())):"number"==typeof i&&(e=t.pop()),null===n&&1===t.length&&t[0]instanceof y?t[0]:$(e)(Z(t,n))}function G(){return function(t){return t.lift(new q(t))}}class q{constructor(t){this.connectable=t}call(t,e){const{connectable:n}=this;n._refCount++;const i=new W(t,n),s=e.subscribe(i);return i.closed||(i.connection=n.connect()),s}}class W extends f{constructor(t,e){super(t),this.connectable=e}_unsubscribe(){const{connectable:t}=this;if(!t)return void(this.connection=null);this.connectable=null;const e=t._refCount;if(e<=0)return void(this.connection=null);if(t._refCount=e-1,e>1)return void(this.connection=null);const{connection:n}=this,i=t._connection;this.connection=null,!i||n&&i!==n||i.unsubscribe()}}class K extends y{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._refCount=0,this._isComplete=!1}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let t=this._connection;return t||(this._isComplete=!1,t=this._connection=new h,t.add(this.source.subscribe(new X(this.getSubject(),this))),t.closed&&(this._connection=null,t=h.EMPTY)),t}refCount(){return G()(this)}}const Y=(()=>{const t=K.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:t._subscribe},_isComplete:{value:t._isComplete,writable:!0},getSubject:{value:t.getSubject},connect:{value:t.connect},refCount:{value:t.refCount}}})();class X extends C{constructor(t,e){super(t),this.connectable=e}_error(t){this._unsubscribe(),super._error(t)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const t=this.connectable;if(t){this.connectable=null;const e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}}}function Q(){return new S}function J(){return t=>{return G()((e=Q,function(t){let n;n="function"==typeof e?e:function(){return e};const i=Object.create(t,Y);return i.source=t,i.subjectFactory=n,i})(t));var e}}
151/**
152 * @license Angular v11.2.5
153 * (c) 2010-2021 Google LLC. https://angular.io/
154 * License: MIT
155 */
156/**
157 * @license
158 * Copyright Google LLC All Rights Reserved.
159 *
160 * Use of this source code is governed by an MIT-style license that can be
161 * found in the LICENSE file at https://angular.io/license
162 */function tt(t){for(let e in t)if(t[e]===tt)return e;throw Error("Could not find renamed property on target object.")}function et(t,e){for(const n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}
163/**
164 * @license
165 * Copyright Google LLC All Rights Reserved.
166 *
167 * Use of this source code is governed by an MIT-style license that can be
168 * found in the LICENSE file at https://angular.io/license
169 */function nt(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(nt).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const e=t.toString();if(null==e)return""+e;const n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function it(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}
170/**
171 * @license
172 * Copyright Google LLC All Rights Reserved.
173 *
174 * Use of this source code is governed by an MIT-style license that can be
175 * found in the LICENSE file at https://angular.io/license
176 */const st=tt({__forward_ref__:tt});function rt(t){return t.__forward_ref__=rt,t.toString=function(){return nt(this())},t}function ot(t){return at(t)?t():t}function at(t){return"function"==typeof t&&t.hasOwnProperty(st)&&t.__forward_ref__===rt}
177/**
178 * @license
179 * Copyright Google LLC All Rights Reserved.
180 *
181 * Use of this source code is governed by an MIT-style license that can be
182 * found in the LICENSE file at https://angular.io/license
183 */class lt extends Error{constructor(t,e){super(function(t,e){return`${t?`NG0${t}: `:""}${e}`}
184/**
185 * @license
186 * Copyright Google LLC All Rights Reserved.
187 *
188 * Use of this source code is governed by an MIT-style license that can be
189 * found in the LICENSE file at https://angular.io/license
190 */(t,e)),this.code=t}}function ct(t){return"string"==typeof t?t:null==t?"":String(t)}function ut(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():ct(t)}function ht(t,e){const n=e?` in ${e}`:"";throw new lt("201",`No provider for ${ut(t)} found${n}`)}
191/**
192 * @license
193 * Copyright Google LLC All Rights Reserved.
194 *
195 * Use of this source code is governed by an MIT-style license that can be
196 * found in the LICENSE file at https://angular.io/license
197 */
198/**
199 * @license
200 * Copyright Google LLC All Rights Reserved.
201 *
202 * Use of this source code is governed by an MIT-style license that can be
203 * found in the LICENSE file at https://angular.io/license
204 */
205function dt(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function pt(t){return{providers:t.providers||[],imports:t.imports||[]}}function ft(t){return mt(t,_t)||mt(t,vt)}function mt(t,e){return t.hasOwnProperty(e)?t[e]:null}function gt(t){return t&&(t.hasOwnProperty(yt)||t.hasOwnProperty(bt))?t[yt]:null}const _t=tt({"\u0275prov":tt}),yt=tt({"\u0275inj":tt}),vt=tt({ngInjectableDef:tt}),bt=tt({ngInjectorDef:tt});
206/**
207 * @license
208 * Copyright Google LLC All Rights Reserved.
209 *
210 * Use of this source code is governed by an MIT-style license that can be
211 * found in the LICENSE file at https://angular.io/license
212 */
213var wt=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}({});
214/**
215 * @license
216 * Copyright Google LLC All Rights Reserved.
217 *
218 * Use of this source code is governed by an MIT-style license that can be
219 * found in the LICENSE file at https://angular.io/license
220 */let Ct;function St(t){const e=Ct;return Ct=t,e}function Et(t,e,n){const i=ft(t);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&wt.Optional?null:void 0!==e?e:void ht(nt(t),"Injector")}
221/**
222 * @license
223 * Copyright Google LLC All Rights Reserved.
224 *
225 * Use of this source code is governed by an MIT-style license that can be
226 * found in the LICENSE file at https://angular.io/license
227 */
228function kt(t){return{toString:t}.toString()}
229/**
230 * @license
231 * Copyright Google LLC All Rights Reserved.
232 *
233 * Use of this source code is governed by an MIT-style license that can be
234 * found in the LICENSE file at https://angular.io/license
235 */var xt=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}({}),Tt=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}({});
236/**
237 * @license
238 * Copyright Google LLC All Rights Reserved.
239 *
240 * Use of this source code is governed by an MIT-style license that can be
241 * found in the LICENSE file at https://angular.io/license
242 */
243const Ot="undefined"!=typeof globalThis&&globalThis,At="undefined"!=typeof window&&window,It="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Dt="undefined"!=typeof global&&global,Pt=Ot||Dt||At||It,Rt={},Mt=[],Nt=tt({"\u0275cmp":tt}),Ft=tt({"\u0275dir":tt}),Vt=tt({"\u0275pipe":tt}),Lt=tt({"\u0275mod":tt}),zt=tt({"\u0275loc":tt}),jt=tt({"\u0275fac":tt}),Bt=tt({__NG_ELEMENT_ID__:tt});
244/**
245 * @license
246 * Copyright Google LLC All Rights Reserved.
247 *
248 * Use of this source code is governed by an MIT-style license that can be
249 * found in the LICENSE file at https://angular.io/license
250 */
251let Ht=0;function $t(t){return kt(()=>{const e={},n={type:t.type,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputs:null,outputs:null,exportAs:t.exportAs||null,onPush:t.changeDetection===xt.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||Mt,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||Tt.Emulated,id:"c",styles:t.styles||Mt,_:null,setInput:null,schemas:t.schemas||null,tView:null},i=t.directives,s=t.features,r=t.pipes;return n.id+=Ht++,n.inputs=Wt(t.inputs,e),n.outputs=Wt(t.outputs),s&&s.forEach(t=>t(n)),n.directiveDefs=i?()=>("function"==typeof i?i():i).map(Zt):null,n.pipeDefs=r?()=>("function"==typeof r?r():r).map(Ut):null,n})}function Zt(t){return Xt(t)||function(t){return t[Ft]||null}(t)}function Ut(t){return function(t){return t[Vt]||null}(t)}const Gt={};function qt(t){const e={type:t.type,bootstrap:t.bootstrap||Mt,declarations:t.declarations||Mt,imports:t.imports||Mt,exports:t.exports||Mt,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&kt(()=>{Gt[t.id]=t.type}),e}function Wt(t,e){if(null==t)return Rt;const n={};for(const i in t)if(t.hasOwnProperty(i)){let s=t[i],r=s;Array.isArray(s)&&(r=s[1],s=s[0]),n[s]=i,e&&(e[s]=r)}return n}const Kt=$t;function Yt(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,onDestroy:t.type.prototype.ngOnDestroy||null}}function Xt(t){return t[Nt]||null}function Qt(t,e){const n=t[Lt]||null;if(!n&&!0===e)throw new Error(`Type ${nt(t)} does not have '\u0275mod' property.`);return n}
252/**
253 * @license
254 * Copyright Google LLC All Rights Reserved.
255 *
256 * Use of this source code is governed by an MIT-style license that can be
257 * found in the LICENSE file at https://angular.io/license
258 */
259const Jt=20,te=10;
260/**
261 * @license
262 * Copyright Google LLC All Rights Reserved.
263 *
264 * Use of this source code is governed by an MIT-style license that can be
265 * found in the LICENSE file at https://angular.io/license
266 */
267function ee(t){return Array.isArray(t)&&"object"==typeof t[1]}function ne(t){return Array.isArray(t)&&!0===t[1]}function ie(t){return 0!=(8&t.flags)}function se(t){return 2==(2&t.flags)}function re(t){return 1==(1&t.flags)}function oe(t){return null!==t.template}
268/**
269 * @license
270 * Copyright Google LLC All Rights Reserved.
271 *
272 * Use of this source code is governed by an MIT-style license that can be
273 * found in the LICENSE file at https://angular.io/license
274 */
275function ae(t,e){return t.hasOwnProperty(jt)?t[jt]:null}
276/**
277 * @license
278 * Copyright Google LLC All Rights Reserved.
279 *
280 * Use of this source code is governed by an MIT-style license that can be
281 * found in the LICENSE file at https://angular.io/license
282 */class le{constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}}
283/**
284 * @license
285 * Copyright Google LLC All Rights Reserved.
286 *
287 * Use of this source code is governed by an MIT-style license that can be
288 * found in the LICENSE file at https://angular.io/license
289 */function ce(){return ue}function ue(t){return t.type.prototype.ngOnChanges&&(t.setInput=de),he}function he(){const t=pe(this),e=null==t?void 0:t.current;if(e){const n=t.previous;if(n===Rt)t.previous=e;else for(let t in e)n[t]=e[t];t.current=null,this.ngOnChanges(e)}}function de(t,e,n,i){const s=pe(t)||function(t,e){return t.__ngSimpleChanges__=e}
290/**
291 * @license
292 * Copyright Google LLC All Rights Reserved.
293 *
294 * Use of this source code is governed by an MIT-style license that can be
295 * found in the LICENSE file at https://angular.io/license
296 */(t,{previous:Rt,current:null}),r=s.current||(s.current={}),o=s.previous,a=this.declaredInputs[n],l=o[a];r[a]=new le(l&&l.currentValue,e,o===Rt),t[i]=e}function pe(t){return t.__ngSimpleChanges__||null}
297/**
298 * @license
299 * Copyright Google LLC All Rights Reserved.
300 *
301 * Use of this source code is governed by an MIT-style license that can be
302 * found in the LICENSE file at https://angular.io/license
303 */
304let fe;function me(t){return!!t.listen}ce.ngInherit=!0;const ge={createRenderer:(t,e)=>void 0!==fe?fe:"undefined"!=typeof document?document:void 0};
305/**
306 * @license
307 * Copyright Google LLC All Rights Reserved.
308 *
309 * Use of this source code is governed by an MIT-style license that can be
310 * found in the LICENSE file at https://angular.io/license
311 */
312function _e(t){for(;Array.isArray(t);)t=t[0];return t}function ye(t,e){return _e(e[t])}function ve(t,e){return _e(e[t.index])}function be(t,e){return t.data[e]}function we(t,e){return t[e]}function Ce(t,e){const n=e[t];return ee(n)?n:n[0]}function Se(t){const e=function(t){return t.__ngContext__||null}(t);return e?Array.isArray(e)?e:e.lView:null}function Ee(t){return 4==(4&t[2])}function ke(t){return 128==(128&t[2])}function xe(t,e){return null==e?null:t[e]}function Te(t){t[18]=0}function Oe(t,e){t[5]+=e;let n=t,i=t[3];for(;null!==i&&(1===e&&1===n[5]||-1===e&&0===n[5]);)i[5]+=e,n=i,i=i[3]}
313/**
314 * @license
315 * Copyright Google LLC All Rights Reserved.
316 *
317 * Use of this source code is governed by an MIT-style license that can be
318 * found in the LICENSE file at https://angular.io/license
319 */const Ae={lFrame:tn(null),bindingsEnabled:!0,isInCheckNoChangesMo
vendor: 4,683 bytes, lines 319-326
319de:!1};function Ie(){return Ae.bindingsEnabled}function De(){return Ae.lFrame.lView}function Pe(){return Ae.lFrame.tView}function Re(t){Ae.lFrame.contextLView=t}function Me(){let t=Ne();for(;null!==t&&64===t.type;)t=t.parent;return t}function Ne(){return Ae.lFrame.currentTNode}function Fe(t,e){const n=Ae.lFrame;n.currentTNode=t,n.isParent=e}function Ve(){return Ae.lFrame.isParent}function Le(){Ae.lFrame.isParent=!1}function ze(){return Ae.isInCheckNoChangesMode}function je(t){Ae.isInCheckNoChangesMode=t}function Be(){const t=Ae.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function He(){return Ae.lFrame.bindingIndex}function $e(){return Ae.lFrame.bindingIndex++}function Ze(t){const e=Ae.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function Ue(t,e){const n=Ae.lFrame;n.bindingIndex=n.bindingRootIndex=t,Ge(e)}function Ge(t){Ae.lFrame.currentDirectiveIndex=t}function qe(t){const e=Ae.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}function We(){return Ae.lFrame.currentQueryIndex}function Ke(t){Ae.lFrame.currentQueryIndex=t}function Ye(t){const e=t[1];return 2===e.type?e.declTNode:1===e.type?t[6]:null}function Xe(t,e,n){if(n&wt.SkipSelf){let i=e,s=t;for(;i=i.parent,!(null!==i||n&wt.Host||(i=Ye(s),null===i)||(s=s[15],10&i.type)););if(null===i)return!1;e=i,t=s}const i=Ae.lFrame=Je();return i.currentTNode=e,i.lView=t,!0}function Qe(t){const e=Je(),n=t[1];Ae.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function Je(){const t=Ae.lFrame,e=null===t?null:t.child;return null===e?tn(t):e}function tn(t){const e={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:t,child:null,inI18n:!1};return null!==t&&(t.child=e),e}function en(){const t=Ae.lFrame;return Ae.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const nn=en;function sn(){const t=en();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function rn(){return Ae.lFrame.selectedIndex}function on(t){Ae.lFrame.selectedIndex=t}function an(){const t=Ae.lFrame;return be(t.tView,t.selectedIndex)}function ln(t,e){for(let n=e.directiveStart,i=e.directiveEnd;n<i;n++){const e=t.data[n].type.prototype,{ngAfterContentInit:i,ngAfterContentChecked:s,ngAfterViewInit:r,ngAfterViewChecked:o,ngOnDestroy:a}=e;i&&(t.contentHooks||(t.contentHooks=[])).push(-n,i),s&&((t.contentHooks||(t.contentHooks=[])).push(n,s),(t.contentCheckHooks||(t.contentCheckHooks=[])).push(n,s)),r&&(t.viewHooks||(t.viewHooks=[])).push(-n,r),o&&((t.viewHooks||(t.viewHooks=[])).push(n,o),(t.viewCheckHooks||(t.viewCheckHooks=[])).push(n,o)),null!=a&&(t.destroyHooks||(t.destroyHooks=[])).push(n,a)}}function cn(t,e,n){dn(t,e,3,n)}function un(t,e,n,i){(3&t[2])===n&&dn(t,e,n,i)}function hn(t,e){let n=t[2];(3&n)===e&&(n&=2047,n+=1,t[2]=n)}function dn(t,e,n,i){const s=null!=i?i:-1,r=e.length-1;let o=0;for(let a=void 0!==i?65535&t[18]:0;a<r;a++)if("number"==typeof e[a+1]){if(o=e[a],null!=i&&o>=i)break}else e[a]<0&&(t[18]+=65536),(o<s||-1==s)&&(pn(t,n,e,a),t[18]=(4294901760&t[18])+a+2),a++}function pn(t,e,n,i){const s=n[i]<0,r=n[i+1],o=t[s?-n[i]:n[i]];s?t[2]>>11<t[18]>>16&&(3&t[2])===e&&(t[2]+=2048,r.call(o)):r.call(o)}
320/**
321 * @license
322 * Copyright Google LLC All Rights Reserved.
323 *
324 * Use of this source code is governed by an MIT-style license that can be
325 * found in the LICENSE file at https://angular.io/license
326 */const fn=-1;class mn{constructor(t,e,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=n}}function gn(t,e,n){const i=me(t);let s=0;for(;s<n.length;){const r=n[s];if("number"==typeof r){if(0!==r)break;s++;const o=n[s++],a=n[s++],l=n[s++];i?t.setAttribute(e,a,l,o):e.setAttributeNS(o,a,l)}else{const o=r,a=n[++s];yn(o)?i&&t.setProperty(e,o,a):i?t.setAttribute(e,o,a):e.setAttribute(o,a),s++}}return s}function _n(t){return 3===t||4===t||6===t}function yn(t){return 64===t.charCodeAt(0)}function vn(t,e){if(null===e||0===e.length);else if(null===t||0===t.length)t=e.slice();else{let n=-1;for(let i=0;i<e.length;i++){const s=e[i];"number"==typeof s?n=s:0===n||bn(t,n,s,null,-1===n||2===n?e[++i]:null)}}return t}function bn(t,e,n,i,s){let r=0,o=t.length;if(-1===e)o=-1;else for(;r<t.length;){const n=t[r++];if("number"==typeof n){if(n===e){o=-1;break}if(n>e){o=r-1;break}}}for(;r<t.length;){const e=t[r];if("number"==typeof e)break;
vendor: 26,617 bytes, lines 326-512
326if(e===n){if(null===i)return void(null!==s&&(t[r+1]=s));if(i===t[r+1])return void(t[r+2]=s)}r++,null!==i&&r++,null!==s&&r++}-1!==o&&(t.splice(o,0,e),r=o+1),t.splice(r++,0,n),null!==i&&t.splice(r++,0,i),null!==s&&t.splice(r++,0,s)}
327/**
328 * @license
329 * Copyright Google LLC All Rights Reserved.
330 *
331 * Use of this source code is governed by an MIT-style license that can be
332 * found in the LICENSE file at https://angular.io/license
333 */function wn(t){return t!==fn}function Cn(t){return 32767&t}function Sn(t,e){let n=t>>16,i=e;for(;n>0;)i=i[15],n--;return i}
334/**
335 * @license
336 * Copyright Google LLC All Rights Reserved.
337 *
338 * Use of this source code is governed by an MIT-style license that can be
339 * found in the LICENSE file at https://angular.io/license
340 */let En=!0;function kn(t){const e=En;return En=t,e}let xn=0;function Tn(t,e){const n=An(t,e);if(-1!==n)return n;const i=e[1];i.firstCreatePass&&(t.injectorIndex=e.length,On(i.data,t),On(e,null),On(i.blueprint,null));const s=In(t,e),r=t.injectorIndex;if(wn(s)){const t=Cn(s),n=Sn(s,e),i=n[1].data;for(let s=0;s<8;s++)e[r+s]=n[t+s]|i[t+s]}return e[r+8]=s,r}function On(t,e){t.push(0,0,0,0,0,0,0,0,e)}function An(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function In(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=0,i=null,s=e;for(;null!==s;){const t=s[1],e=t.type;if(i=2===e?t.declTNode:1===e?s[6]:null,null===i)return fn;if(n++,s=s[15],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return fn}function Dn(t,e,n){!function(t,e,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(Bt)&&(i=n[Bt]),null==i&&(i=n[Bt]=xn++);const s=255&i;e.data[t+(s>>5)]|=1<<s}(t,e,n)}function Pn(t,e,n){if(n&wt.Optional)return t;ht(e,"NodeInjector")}function Rn(t,e,n,i){if(n&wt.Optional&&void 0===i&&(i=null),0==(n&(wt.Self|wt.Host))){const s=t[9],r=St(void 0);try{return s?s.get(e,i,n&wt.Optional):Et(e,i,n&wt.Optional)}finally{St(r)}}return Pn(i,e,n)}function Mn(t,e,n,i=wt.Default,s){if(null!==t){const r=function(t){if("string"==typeof t)return t.charCodeAt(0)||0;const e=t.hasOwnProperty(Bt)?t[Bt]:void 0;return"number"==typeof e?e>=0?255&e:Fn:e}(n);if("function"==typeof r){if(!Xe(e,t,i))return i&wt.Host?Pn(s,n,i):Rn(e,n,i,s);try{const t=r();if(null!=t||i&wt.Optional)return t;ht(n)}finally{nn()}}else if("number"==typeof r){let s=null,o=An(t,e),a=fn,l=i&wt.Host?e[16][6]:null;for((-1===o||i&wt.SkipSelf)&&(a=-1===o?In(t,e):e[o+8],a!==fn&&Bn(i,!1)?(s=e[1],o=Cn(a),e=Sn(a,e)):o=-1);-1!==o;){const t=e[1];if(jn(r,o,t.data)){const t=Vn(o,e,n,s,i,l);if(t!==Nn)return t}a=e[o+8],a!==fn&&Bn(i,e[1].data[o+8]===l)&&jn(r,o,e)?(s=t,o=Cn(a),e=Sn(a,e)):o=-1}}}return Rn(e,n,i,s)}const Nn={};function Fn(){return new Hn(Me(),De())}function Vn(t,e,n,i,s,r){const o=e[1],a=o.data[t+8],l=Ln(a,o,n,null==i?se(a)&&En:i!=o&&0!=(3&a.type),s&wt.Host&&r===a);return null!==l?zn(e,o,l,a):Nn}function Ln(t,e,n,i,s){const r=t.providerIndexes,o=e.data,a=1048575&r,l=t.directiveStart,c=r>>20,u=s?a+c:t.directiveEnd;for(let h=i?a:a+c;h<u;h++){const t=o[h];if(h<l&&n===t||h>=l&&t.type===n)return h}if(s){const t=o[l];if(t&&oe(t)&&t.type===n)return l}return null}function zn(t,e,n,i){let s=t[n];const r=e.data;if(s instanceof mn){const o=s;o.resolving&&function(t,e){throw new lt("200",`Circular dependency in DI detected for ${t}`)}(ut(r[n]));const a=kn(o.canSeeViewProviders);o.resolving=!0;const l=o.injectImpl?St(o.injectImpl):null;Xe(t,i,wt.Default);try{s=t[n]=o.factory(void 0,r,t,i),e.firstCreatePass&&n>=i.directiveStart&&
341/**
342 * @license
343 * Copyright Google LLC All Rights Reserved.
344 *
345 * Use of this source code is governed by an MIT-style license that can be
346 * found in the LICENSE file at https://angular.io/license
347 */
348function(t,e,n){const{ngOnChanges:i,ngOnInit:s,ngDoCheck:r}=e.type.prototype;if(i){const i=ue(e);(n.preOrderHooks||(n.preOrderHooks=[])).push(t,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,i)}s&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-t,s),r&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,r))}(n,r[n],e)}finally{null!==l&&St(l),kn(a),o.resolving=!1,nn()}}return s}function jn(t,e,n){return!!(n[e+(t>>5)]&1<<t)}function Bn(t,e){return!(t&wt.Self||t&wt.Host&&e)}class Hn{constructor(t,e){this._tNode=t,this._lView=e}get(t,e){return Mn(this._tNode,this._lView,t,void 0,e)}}function $n(t){return kt(()=>{const e=t.prototype.constructor,n=e[jt]||Zn(e),i=Object.prototype;let s=Object.getPrototypeOf(t.prototype).constructor;for(;s&&s!==i;){const t=s[jt]||Zn(s);if(t&&t!==n)return t;s=Object.getPrototypeOf(s)}return t=>new t})}function Zn(t){return at(t)?()=>{const e=Zn(ot(t));return e&&e()}:ae(t)}
349/**
350 * @license
351 * Copyright Google LLC All Rights Reserved.
352 *
353 * Use of this source code is governed by an MIT-style license that can be
354 * found in the LICENSE file at https://angular.io/license
355 */
356/**
357 * @license
358 * Copyright Google LLC All Rights Reserved.
359 *
360 * Use of this source code is governed by an MIT-style license that can be
361 * found in the LICENSE file at https://angular.io/license
362 */
363const Un="__parameters__";function Gn(t,e,n){return kt(()=>{const i=function(t){return function(...e){if(t){const n=t(...e);for(const t in n)this[t]=n[t]}}}(e);function s(...t){if(this instanceof s)return i.apply(this,t),this;const e=new s(...t);return n.annotation=e,n;function n(t,n,i){const s=t.hasOwnProperty(Un)?t[Un]:Object.defineProperty(t,Un,{value:[]})[Un];for(;s.length<=i;)s.push(null);return(s[i]=s[i]||[]).push(e),t}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=t,s.annotationCls=s,s})}
364/**
365 * @license
366 * Copyright Google LLC All Rights Reserved.
367 *
368 * Use of this source code is governed by an MIT-style license that can be
369 * found in the LICENSE file at https://angular.io/license
370 */
371class qn{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=dt({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return`InjectionToken ${this._desc}`}}
372/**
373 * @license
374 * Copyright Google LLC All Rights Reserved.
375 *
376 * Use of this source code is governed by an MIT-style license that can be
377 * found in the LICENSE file at https://angular.io/license
378 */
379/**
380 * @license
381 * Copyright Google LLC All Rights Reserved.
382 *
383 * Use of this source code is governed by an MIT-style license that can be
384 * found in the LICENSE file at https://angular.io/license
385 */
386const Wn=Function;function Kn(t,e){void 0===e&&(e=t);for(let n=0;n<t.length;n++){let i=t[n];Array.isArray(i)?(e===t&&(e=t.slice(0,n)),Kn(i,e)):e!==t&&e.push(i)}return e}function Yn(t,e){t.forEach(t=>Array.isArray(t)?Yn(t,e):e(t))}function Xn(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function Qn(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function Jn(t,e){const n=[];for(let i=0;i<t;i++)n.push(e);return n}function ti(t,e,n){let i=ni(t,e);return i>=0?t[1|i]=n:(i=~i,function(t,e,n,i){let s=t.length;if(s==e)t.push(n,i);else if(1===s)t.push(i,t[0]),t[0]=n;else{for(s--,t.push(t[s-1],t[s]);s>e;)t[s]=t[s-2],s--;t[e]=n,t[e+1]=i}}(t,i,e,n)),i}function ei(t,e){const n=ni(t,e);if(n>=0)return t[1|n]}function ni(t,e){return function(t,e,n){let i=0,s=t.length>>1;for(;s!==i;){const n=i+(s-i>>1),r=t[n<<1];if(e===r)return n<<1;r>e?s=n:i=n+1}return~(s<<1)}
387/**
388 * @license
389 * Copyright Google LLC All Rights Reserved.
390 *
391 * Use of this source code is governed by an MIT-style license that can be
392 * found in the LICENSE file at https://angular.io/license
393 */(t,e)}
394/**
395 * @license
396 * Copyright Google LLC All Rights Reserved.
397 *
398 * Use of this source code is governed by an MIT-style license that can be
399 * found in the LICENSE file at https://angular.io/license
400 */
401const ii={},si=/\n/gm,ri="__source",oi=tt({provide:String,useValue:tt});let ai;function li(t){const e=ai;return ai=t,e}function ci(t,e=wt.Default){if(void 0===ai)throw new Error("inject() must be called from an injection context");return null===ai?Et(t,void 0,e):ai.get(t,e&wt.Optional?null:void 0,e)}function ui(t,e=wt.Default){return(Ct||ci)(ot(t),e)}const hi=ui;function di(t){const e=[];for(let n=0;n<t.length;n++){const i=ot(t[n]);if(Array.isArray(i)){if(0===i.length)throw new Error("Arguments array must have arguments.");let t,n=wt.Default;for(let e=0;e<i.length;e++){const s=i[e],r=s.__NG_DI_FLAG__;"number"==typeof r?-1===r?t=s.token:n|=r:t=s}e.push(ui(t,n))}else e.push(ui(i))}return e}function pi(t,e){return t.__NG_DI_FLAG__=e,t.prototype.__NG_DI_FLAG__=e,t}
402/**
403 * @license
404 * Copyright Google LLC All Rights Reserved.
405 *
406 * Use of this source code is governed by an MIT-style license that can be
407 * found in the LICENSE file at https://angular.io/license
408 */
409const fi=pi(Gn("Inject",t=>({token:t})),-1),mi=pi(Gn("Optional"),8),gi=pi(Gn("SkipSelf"),4);function _i(t){return t instanceof
410/**
411 * @license
412 * Copyright Google LLC All Rights Reserved.
413 *
414 * Use of this source code is governed by an MIT-style license that can be
415 * found in the LICENSE file at https://angular.io/license
416 */
417class{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}?t.changingThisBreaksApplicationSecurity:t}function yi(t){return t.ngDebugContext}function vi(t){return t.ngOriginalError}function bi(t,...e){t.error(...e)}
418/**
419 * @license
420 * Copyright Google LLC All Rights Reserved.
421 *
422 * Use of this source code is governed by an MIT-style license that can be
423 * found in the LICENSE file at https://angular.io/license
424 */class wi{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t),n=this._findContext(t),i=function(t){return t.ngErrorLogger||bi}(t);i(this._console,"ERROR",t),e&&i(this._console,"ORIGINAL ERROR",e),n&&i(this._console,"ERROR CONTEXT",n)}_findContext(t){return t?yi(t)?yi(t):this._findContext(vi(t)):null}_findOriginalError(t){let e=vi(t);for(;e&&vi(e);)e=vi(e);return e}}
425/**
426 * @license
427 * Copyright Google LLC All Rights Reserved.
428 *
429 * Use of this source code is governed by an MIT-style license that can be
430 * found in the LICENSE file at https://angular.io/license
431 */function Ci(t,e){t.__ngContext__=e}
432/**
433 * @license
434 * Copyright Google LLC All Rights Reserved.
435 *
436 * Use of this source code is governed by an MIT-style license that can be
437 * found in the LICENSE file at https://angular.io/license
438 */
439const Si=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Pt))();function Ei(t){return t instanceof Function?t():t}
440/**
441 * @license
442 * Copyright Google LLC All Rights Reserved.
443 *
444 * Use of this source code is governed by an MIT-style license that can be
445 * found in the LICENSE file at https://angular.io/license
446 */
447/**
448 * @license
449 * Copyright Google LLC All Rights Reserved.
450 *
451 * Use of this source code is governed by an MIT-style license that can be
452 * found in the LICENSE file at https://angular.io/license
453 */
454var ki=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}({});
455/**
456 * @license
457 * Copyright Google LLC All Rights Reserved.
458 *
459 * Use of this source code is governed by an MIT-style license that can be
460 * found in the LICENSE file at https://angular.io/license
461 */function xi(t,e){return(void 0)(t,e)}
462/**
463 * @license
464 * Copyright Google LLC All Rights Reserved.
465 *
466 * Use of this source code is governed by an MIT-style license that can be
467 * found in the LICENSE file at https://angular.io/license
468 */
469function Ti(t){const e=t[3];return ne(e)?e[3]:e}function Oi(t){return Ii(t[13])}function Ai(t){return Ii(t[4])}function Ii(t){for(;null!==t&&!ne(t);)t=t[4];return t}
470/**
471 * @license
472 * Copyright Google LLC All Rights Reserved.
473 *
474 * Use of this source code is governed by an MIT-style license that can be
475 * found in the LICENSE file at https://angular.io/license
476 */function Di(t,e,n,i,s){if(null!=i){let r,o=!1;ne(i)?r=i:ee(i)&&(o=!0,i=i[0]);const a=_e(i);0===t&&null!==n?null==s?zi(e,n,a):Li(e,n,a,s||null,!0):1===t&&null!==n?Li(e,n,a,s||null,!0):2===t?function(t,e,n){const i=Bi(t,e);i&&function(t,e,n,i){me(t)?t.removeChild(e,n,i):e.removeChild(n)}(t,i,e,n)}(e,a,o):3===t&&e.destroyNode(a),null!=r&&function(t,e,n,i,s){const r=n[7];r!==_e(n)&&Di(e,t,i,r,s);for(let o=te;o<n.length;o++){const s=n[o];Ki(s[1],s,t,e,i,r)}}(e,t,r,n,s)}}function Pi(t,e,n){return me(t)?t.createElement(e,n):null===n?t.createElement(e):t.createElementNS(n,e)}function Ri(t,e){const n=t[9],i=n.indexOf(e),s=e[3];1024&e[2]&&(e[2]&=-1025,Oe(s,-1)),n.splice(i,1)}function Mi(t,e){if(t.length<=te)return;const n=te+e,i=t[n];if(i){const r=i[17];null!==r&&r!==t&&Ri(r,i),e>0&&(t[n-1][4]=i[4]);const o=Qn(t,te+e);Ki(i[1],s=i,s[11],2,null,null),s[0]=null,s[6]=null;const a=o[19];null!==a&&a.detachView(o[1]),i[3]=null,i[4]=null,i[2]&=-129}var s;return i}function Ni(t,e){if(!(256&e[2])){const n=e[11];me(n)&&n.destroyNode&&Ki(t,e,n,3,null,null),function(t){let e=t[13];if(!e)return Fi(t[1],t);for(;e;){let n=null;if(ee(e))n=e[13];else{const t=e[10];t&&(n=t)}if(!n){for(;e&&!e[4]&&e!==t;)ee(e)&&Fi(e[1],e),e=e[3];null===e&&(e=t),ee(e)&&Fi(e[1],e),n=e&&e[4]}e=n}}(e)}}function Fi(t,e){if(!(256&e[2])){e[2]&=-129,e[2]|=256,function(t,e){let n;if(null!=t&&null!=(n=t.destroyHooks))for(let i=0;i<n.length;i+=2){const t=e[n[i]];if(!(t instanceof mn)){const e=n[i+1];if(Array.isArray(e))for(let n=0;n<e.length;n+=2)e[n+1].call(t[e[n]]);else e.call(t)}}}(t,e),function(t,e){const n=t.cleanup,i=e[7];let s=-1;if(null!==n)for(let r=0;r<n.length-1;r+=2)if("string"==typeof n[r]){const t=n[r+1],o="function"==typeof t?t(e):_e(e[t]),a=i[s=n[r+2]],l=n[r+3];"boolean"==typeof l?o.removeEventListener(n[r],a,l):l>=0?i[s=l]():i[s=-l].unsubscribe(),r+=2}else{const t=i[s=n[r+1]];n[r].call(t)}if(null!==i){for(let t=s+1;t<i.length;t++)(0,i[t])();e[7]=null}}(t,e),1===e[1].type&&me(e[11])&&e[11].destroy();const n=e[17];if(null!==n&&ne(e[3])){n!==e[3]&&Ri(n,e);const i=e[19];null!==i&&i.detachView(t)}}}function Vi(t,e,n){return function(t,e,n){let i=e;for(;null!==i&&40&i.type;)i=(e=i).parent;if(null===i)return n[0];if(2&i.flags){const e=t.data[i.directiveStart].encapsulation;if(e===Tt.None||e===Tt.Emulated)return null}return ve(i,n)}(t,e.parent,n)}function Li(t,e,n,i,s){me(t)?t.insertBefore(e,n,i,s):e.insertBefore(n,i,s)}function zi(t,e,n){me(t)?t.appendChild(e,n):e.appendChild(n)}function ji(t,e,n,i,s){null!==i?Li(t,e,n,i,s):zi(t,e,n)}function Bi(t,e){return me(t)?t.parentNode(e):e.parentNode}function Hi(t,e,n){return $i(t,e,n)}let $i=function(t,e,n){return 40&t.type?ve(t,n):null};function Zi(t,e,n,i){const s=Vi(t,i,e),r=e[11],o=Hi(i.parent||e[6],i,e);if(null!=s)if(Array.isArray(n))for(let a=0;a<n.length;a++)ji(r,s,n[a],o,!1);else ji(r,s,n,o,!1)}function Ui(t,e){if(null!==e){const n=e.type;if(3&n)return ve(e,t);if(4&n)return qi(-1,t[e.index]);if(8&n){const n=e.child;if(null!==n)return Ui(t,n);{const n=t[e.index];return ne(n)?qi(-1,n):_e(n)}}if(32&n)return xi(e,t)()||_e(t[e.index]);{const n=Gi(t,e);return null!==n?Array.isArray(n)?n[0]:Ui(Ti(t[16]),n):Ui(t,e.next)}}return null}function Gi(t,e){return null!==e?t[16][6].projection[e.projection]:null}function qi(t,e){const n=te+t+1;if(n<e.length){const t=e[n],i=t[1].firstChild;if(null!==i)return Ui(t,i)}return e[7]}function Wi(t,e,n,i,s,r,o){for(;null!=n;){const a=i[n.index],l=n.type;if(o&&0===e&&(a&&Ci(_e(a),i),n.flags|=4),64!=(64&n.flags))if(8&l)Wi(t,e,n.child,i,s,r,!1),Di(e,t,s,a,r);else if(32&l){const o=xi(n,i);let l;for(;l=o();)Di(e,t,s,l,r);Di(e,t,s,a,r)}else 16&l?Yi(t,e,i,n,s,r):Di(e,t,s,a,r);n=o?n.projectionNext:n.next}}function Ki(t,e,n,i,s,r){Wi(n,i,t.firstChild,e,s,r,!1)}function Yi(t,e,n,i,s,r){const o=n[16],a=o[6].projection[i.projection];if(Array.isArray(a))for(let l=0;l<a.length;l++)Di(e,t,s,a[l],r);else Wi(t,e,a,o[3],s,r,!0)}function Xi(t,e,n){me(t)?t.setAttribute(e,"style",n):e.style.cssText=n}function Qi(t,e,n){me(t)?""===n?t.removeAttribute(e,"class"):t.setAttribute(e,"class",n):e.className=n}
477/**
478 * @license
479 * Copyright Google LLC All Rights Reserved.
480 *
481 * Use of this source code is governed by an MIT-style license that can be
482 * found in the LICENSE file at https://angular.io/license
483 */function Ji(t,e,n){let i=t.length;for(;;){const s=t.indexOf(e,n);if(-1===s)return s;if(0===s||t.charCodeAt(s-1)<=32){const n=e.length;if(s+n===i||t.charCodeAt(s+n)<=32)return s}n=s+1}}
484/**
485 * @license
486 * Copyright Google LLC All Rights Reserved.
487 *
488 * Use of this source code is governed by an MIT-style license that can be
489 * found in the LICENSE file at https://angular.io/license
490 */const ts="ng-template";function es(t,e,n){let i=0;for(;i<t.length;){let s=t[i++];if(n&&"class"===s){if(s=t[i],-1!==Ji(s.toLowerCase(),e,0))return!0}else if(1===s){for(;i<t.length&&"string"==typeof(s=t[i++]);)if(s.toLowerCase()===e)return!0;return!1}}return!1}function ns(t){return 4===t.type&&t.value!==ts}function is(t,e,n){return e===(4!==t.type||n?t.value:ts)}function ss(t,e,n){let i=4;const s=t.attrs||[],r=function(t){for(let e=0;e<t.length;e++)if(_n(t[e]))return e;return t.length}(s);let o=!1;for(let a=0;a<e.length;a++){const l=e[a];if("number"!=typeof l){if(!o)if(4&i){if(i=2|1&i,""!==l&&!is(t,l,n)||""===l&&1===e.length){if(rs(i))return!1;o=!0}}else{const c=8&i?l:e[++a];if(8&i&&null!==t.attrs){if(!es(t.attrs,c,n)){if(rs(i))return!1;o=!0}continue}const u=os(8&i?"class":l,s,ns(t),n);if(-1===u){if(rs(i))return!1;o=!0;continue}if(""!==c){let t;t=u>r?"":s[u+1].toLowerCase();const e=8&i?t:null;if(e&&-1!==Ji(e,c,0)||2&i&&c!==t){if(rs(i))return!1;o=!0}}}}else{if(!o&&!rs(i)&&!rs(l))return!1;if(o&&rs(l))continue;o=!1,i=l|1&i}}return rs(i)||o}function rs(t){return 0==(1&t)}function os(t,e,n,i){if(null===e)return-1;let s=0;if(i||!n){let n=!1;for(;s<e.length;){const i=e[s];if(i===t)return s;if(3===i||6===i)n=!0;else{if(1===i||2===i){let t=e[++s];for(;"string"==typeof t;)t=e[++s];continue}if(4===i)break;if(0===i){s+=4;continue}}s+=n?1:2}return-1}return function(t,e){let n=t.indexOf(4);if(n>-1)for(n++;n<t.length;){const i=t[n];if("number"==typeof i)return-1;if(i===e)return n;n++}return-1}(e,t)}function as(t,e,n=!1){for(let i=0;i<e.length;i++)if(ss(t,e[i],n))return!0;return!1}function ls(t,e){t:for(let n=0;n<e.length;n++){const i=e[n];if(t.length===i.length){for(let e=0;e<t.length;e++)if(t[e]!==i[e])continue t;return!0}}return!1}function cs(t,e){return t?":not("+e.trim()+")":e}function us(t){let e=t[0],n=1,i=2,s="",r=!1;for(;n<t.length;){let o=t[n];if("string"==typeof o)if(2&i){const e=t[++n];s+="["+o+(e.length>0?'="'+e+'"':"")+"]"}else 8&i?s+="."+o:4&i&&(s+=" "+o);else""===s||rs(o)||(e+=cs(r,s),s=""),i=o,r=r||!rs(i);n++}return""!==s&&(e+=cs(r,s)),e}
491/**
492 * @license
493 * Copyright Google LLC All Rights Reserved.
494 *
495 * Use of this source code is governed by an MIT-style license that can be
496 * found in the LICENSE file at https://angular.io/license
497 */
498const hs={};
499/**
500 * @license
501 * Copyright Google LLC All Rights Reserved.
502 *
503 * Use of this source code is governed by an MIT-style license that can be
504 * found in the LICENSE file at https://angular.io/license
505 */function ds(t){ps(Pe(),De(),rn()+t,ze())}function ps(t,e,n,i){if(!i)if(3==(3&e[2])){const i=t.preOrderCheckHooks;null!==i&&cn(e,i,n)}else{const i=t.preOrderHooks;null!==i&&un(e,i,0,n)}on(n)}
506/**
507 * @license
508 * Copyright Google LLC All Rights Reserved.
509 *
510 * Use of this source code is governed by an MIT-style license that can be
511 * found in the LICENSE file at https://angular.io/license
512 */function fs(t,e){return t<<17|e<<2}function ms(t){return t>>17&32767}function gs(t){return 2|t}function _s(t){return(131068&t)>>2}function ys(t,e){return-131069&t|e<<2}function vs(t){return 1|t}function bs(t,e){const n=t.contentQueries;if(null!==n)for(let i=0;i<n.length;i+=2){const s=n[i],r=n[i+1];if(-1!==r){const n=t.data[r];Ke(s),n.contentQueries(2,e[r],r)}}}function ws(t,e,n,i,s,r,o,a,l,c){const u=e.blueprint.slice();return u[0]=s,u[2]=140|i,Te(u),u[3]=u[15]=t,u[8]=n,u[10]=o||t&&t[10],u[11]=a||t&&t[11],u[12]=l||t&&t[12]||null,u[9]=c||t&&t[9]||null,u[6]=r,u[16]=2==e.type?t[16]:u,u}function Cs(t,e,n,i,s){let r=t.data[e];if(null===r)r=function(t,e,n,i,s){const r=Ne(),o=Ve(),a=t.data[e]=function(t,e,n,i,s,r){return{type:n,index:i,insertBeforeIndex:null,injectorIndex:e?e.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:s,attrs:r,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,o?r:r&&r.parent,n,e,i,s);return null===t.firstChild&&(t.firstChild=a),null!==r&&(o?null==r.child&&null!==a.parent&&(r.child=a):null===r.next&&(r.next=a)),a}(t,e,n,i,s),Ae.lFrame.inI18n&&(r.flags|=64);else if(64&r.type){r.type=n,r.value=i,r.attrs=s;const t=function(){const t=Ae.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}();r.injectorIndex=null===t?-1:t.injectorIndex}return Fe(r,!0),r}function Ss(t,e,n,i){if(0===n)return-1;const s=e.length;for(let r=0;r<n;r++)e.push(i),t.blueprint.push(i),t.data.push(null);return s}function Es(t,e,n){Qe(e);try{const i=t.viewQuery;null!==i&&tr(1,i,n);const s=t.template;null!==s&&Ts(t,e,s,1,n),t.firstCreatePass&&(t.firstCreatePass=!1),t.staticContentQueries&&bs(t,e),t.staticViewQueries&&tr(2,t.viewQuery,n);const r=t.components;null!==r&&function(t,e){for(let n=0;n<e.length;n++)Ks(t,e[n])}(e,r)}catch(i){throw t.firstCreatePass&&(t.incompleteFirstPass=!0),i}finally{e[2]&=-5,sn()}}function ks(t,e,n,i){const s=e[2];if(256==(256&s))return;Qe(e);const r=ze();try{Te(e),Ae.lFrame.bindingIndex=t.bindingStartIndex,null!==n&&Ts(t,e,n,2,i);const o=3==(3&s);if(!r)if(o){const n=t.preOrderCheckHooks;null!==n&&cn(e,n,null)}else{const n=t.preOrderHooks;null!==n&&un(e,n,0,null),hn(e,0)}if(function(t){for(let e=Oi(t);null!==e;e=Ai(e)){if(!e[2])continue;const t=e[9];for(let e=0;e<t.length;e++){const n=t[e],i=n[3];0==(1024&n[2])&&Oe(i,1),n[2]|=1024}}}(e),function(t){for(let e=Oi(t);null!==e;e=Ai(e))for(let t=te;t<e.length;t++){const n=e[t],i=n[1];ke(n)&&ks(i,n,i.template,n[8])}}(e),null!==t.contentQueries&&bs(t,e),!r)if(o){const n=t.contentCheckHooks;null!==n&&cn(e,n)}else{const n=t.contentHooks;null!==n&&un(e,n,1),hn(e,1)}!function(t,e){const n=t.hostBindingOpCodes;if(null!==n)try{for(let t=0;t<n.length;t++){const i=n[t];if(i<0)on(~i);else{const s=i,r=n[++t],o=n[++t];Ue(r,s),o(2,e[s])}}}finally{on(-1)}}(t,e);const a=t.components;null!==a&&function(t,e){for(let n=0;n<e.length;n++)qs(t,e[n])}(e,a);const l=t.viewQuery;if(null!==l&&tr(2,l,i),!r)if(o){const n=t.viewCheckHooks;null!==n&&cn(e,n)}else{const n=t.viewHooks;null!==n&&un(e,n,2),hn(e,2)}!0===t.firstUpdatePass&&(t.firstUpdatePass=!1),r||(e[2]&=-73),1024&e[2]&&(e[2]&=-1025,Oe(e[3],-1))}finally{sn()}}function xs(t,e,n,i){const s=e[10],r=!ze(),o=Ee(e);try{r&&!o&&s.begin&&s.begin(),o&&Es(t,e,i),ks(t,e,n,i)}finally{r&&!o&&s.end&&s.end()}}function Ts(t,e,n,i,s){const r=rn();try{on(-1),2&i&&e.length>Jt&&ps(t,e,Jt,ze()),n(i,s)}finally{on(r)}}function Os(t,e,n){if(ie(e)){const i=e.directiveEnd;for(let s=e.directiveStart;s<i;s++){const e=t.data[s];e.contentQueries&&e.contentQueries(1,n[s],s)}}}function As(t,e,n){Ie()&&(function(t,e,n,i){const s=n.directiveStart,r=n.directiveEnd;t.firstCreatePass||Tn(n,e),Ci(i,e);const o=n.initialInputs;for(let a=s;a<r;a++){const i=t.data[a],r=oe(i);r&&$s(e,n,i);const l=zn(e,t,a,n);Ci(l,e),null!==o&&Zs(0,a-s,l,i,0,o),r&&(Ce(n.index,e)[8]=l)}}(t,e,n,ve(n,e)),128==(128&n.flags)&&function(t,e,n){const i=n.directiveStart,s=n.directiveEnd,r=n.index,o=Ae.lFrame.currentDirectiveIndex;try{on(r);for(let n=i;n<s;n++){const i=t.data[n],s=e[n];Ge(n),null===i.hostBindings&&0===i.hostVars&&null===i.hostAttrs||Ls(i,s)}}finally{on(-1),Ge(o)}}(t,e,n))}function Is(t,e,n=ve){const i=e.localNames;if(null!==i){let s=e.index+1;for(let r=0;r<i.length;r+=2){const o=i[r+1],a=-1===o?n(e,t):t[o];t[s++]=a}}}function Ds(t){const e=t.tView;return null===e||e.incompleteFirstPass?t.tView=Ps(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts):e}function Ps(t,e,n,i,s,r,o,a,l,c){const u=Jt+i,h=u+s,d=function(t,e){const n=[];for(let i=0;i<e;i++)n.push(i<t?null:hs);return n}(u,h),p="function"==typeof c?c():c;return d[1]={type:t,blueprint:d,template:n,queries:null,viewQuery:a,declTNode:e,data:d.slice().fill(null,u),bindingStartIndex:u,expandoStartIndex:h,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 r?r():r,pipeRegistry:"function"==typeof o?o():o,firstChild:null,schemas:l,consts:p,incompleteFirstPass:!1}}function Rs(t,e,n,i){const s=nr(e);null===n?s.push(i):(s.push(n),t.firstCreatePass&&ir(t).push(i,s.length-1))}function Ms(t,e,n){for(let i in t)if(t.hasOwnProperty(i)){const s=t[i];(n=null===n?{}:n).hasOwnProperty(i)?n[i].push(e,s):n[i]=[e,s]}return n}function Ns(t,e,n,i,s,r,o,a){const l=ve(e,n);let c,u=e.inputs;var h;!a&&null!=u&&(c=u[i])?(or(t,n,c,i,s),se(e)&&function(t,e){const n=Ce(e,t);16&n[2]||(n[2]|=64)}(n,e.index)):3&e.type&&(i="class"===(h=i)?"className":"for"===h?"htmlFor":"formaction"===h?"formAction":"innerHtml"===h?"innerHTML":"readonly"===h?"readOnly":"tabindex"===h?"tabIndex":h,s=null!=o?o(s,e.value||"",i):s,me(r)?r.setProperty(l,i,s):yn(i)||(l.setProperty?l.setProperty(i,s):l[i]=s))}function Fs(t,e,n,i){let s=!1;if(Ie()){const r=function(t,e,n){const i=t.directiveRegistry;let s=null;if(i)for(let r=0;r<i.length;r++){const o=i[r];as(n,o.selectors,!1)&&(s||(s=[]),Dn(Tn(n,e),t,o.type),oe(o)?(zs(t,n),s.unshift(o)):s.push(o))}return s}(t,e,n),o=null===i?null:{"":-1};if(null!==r){s=!0,Bs(n,t.data.length,r.length);for(let t=0;t<r.length;t++){const e=r[t];e.providersResolver&&e.providersResolver(e)}let i=!1,a=!1,l=Ss(t,e,r.length,null);for(let s=0;s<r.length;s++){const c=r[s];n.mergedAttrs=vn(n.mergedAttrs,c.hostAttrs),Hs(t,n,e,l,c),js(l,c,o),null!==c.contentQueries&&(n.flags|=8),null===c.hostBindings&&null===c.hostAttrs&&0===c.hostVars||(n.flags|=128);const u=c.type.prototype;!i&&(u.ngOnChanges||u.ngOnInit||u.ngDoCheck)&&((t.preOrderHooks||(t.preOrderHooks=[])).push(n.index),i=!0),a||!u.ngOnChanges&&!u.ngDoC
vendor: 5,012 bytes, lines 512-547
512heck||((t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(n.index),a=!0),l++}!function(t,e){const n=e.directiveEnd,i=t.data,s=e.attrs,r=[];let o=null,a=null;for(let l=e.directiveStart;l<n;l++){const t=i[l],n=t.inputs,c=null===s||ns(e)?null:Us(n,s);r.push(c),o=Ms(n,l,o),a=Ms(t.outputs,l,a)}null!==o&&(o.hasOwnProperty("class")&&(e.flags|=16),o.hasOwnProperty("style")&&(e.flags|=32)),e.initialInputs=r,e.inputs=o,e.outputs=a}(t,n)}o&&function(t,e,n){if(e){const i=t.localNames=[];for(let t=0;t<e.length;t+=2){const s=n[e[t+1]];if(null==s)throw new lt("301",`Export of name '${e[t+1]}' not found!`);i.push(e[t],s)}}}(n,i,o)}return n.mergedAttrs=vn(n.mergedAttrs,n.attrs),s}function Vs(t,e,n,i,s,r){const o=r.hostBindings;if(o){let n=t.hostBindingOpCodes;null===n&&(n=t.hostBindingOpCodes=[]);const r=~e.index;(function(t){let e=t.length;for(;e>0;){const n=t[--e];if("number"==typeof n&&n<0)return n}return 0})(n)!=r&&n.push(r),n.push(i,s,o)}}function Ls(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function zs(t,e){e.flags|=2,(t.components||(t.components=[])).push(e.index)}function js(t,e,n){if(n){if(e.exportAs)for(let i=0;i<e.exportAs.length;i++)n[e.exportAs[i]]=t;oe(e)&&(n[""]=t)}}function Bs(t,e,n){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+n,t.providerIndexes=e}function Hs(t,e,n,i,s){t.data[i]=s;const r=s.factory||(s.factory=ae(s.type)),o=new mn(r,oe(s),null);t.blueprint[i]=o,n[i]=o,Vs(t,e,0,i,Ss(t,n,s.hostVars,hs),s)}function $s(t,e,n){const i=ve(e,t),s=Ds(n),r=t[10],o=Ys(t,ws(t,s,null,n.onPush?64:16,i,e,r,r.createRenderer(i,n),null,null));t[e.index]=o}function Zs(t,e,n,i,s,r){const o=r[e];if(null!==o){const t=i.setInput;for(let e=0;e<o.length;){const s=o[e++],r=o[e++],a=o[e++];null!==t?i.setInput(n,a,s,r):n[r]=a}}}function Us(t,e){let n=null,i=0;for(;i<e.length;){const s=e[i];if(0!==s)if(5!==s){if("number"==typeof s)break;t.hasOwnProperty(s)&&(null===n&&(n=[]),n.push(s,t[s],e[i+1])),i+=2}else i+=2;else i+=4}return n}function Gs(t,e,n,i){return new Array(t,!0,!1,e,null,0,i,n,null,null)}function qs(t,e){const n=Ce(e,t);if(ke(n)){const t=n[1];80&n[2]?ks(t,n,t.template,n[8]):n[5]>0&&Ws(n)}}function Ws(t){for(let n=Oi(t);null!==n;n=Ai(n))for(let t=te;t<n.length;t++){const e=n[t];if(1024&e[2]){const t=e[1];ks(t,e,t.template,e[8])}else e[5]>0&&Ws(e)}const e=t[1].components;if(null!==e)for(let n=0;n<e.length;n++){const i=Ce(e[n],t);ke(i)&&i[5]>0&&Ws(i)}}function Ks(t,e){const n=Ce(e,t),i=n[1];!function(t,e){for(let n=e.length;n<t.blueprint.length;n++)e.push(t.blueprint[n])}(i,n),Es(i,n,n[8])}function Ys(t,e){return t[13]?t[14][4]=e:t[13]=e,t[14]=e,e}function Xs(t){for(;t;){t[2]|=64;const e=Ti(t);if(0!=(512&t[2])&&!e)return t;t=e}return null}function Qs(t,e,n){const i=e[10];i.begin&&i.begin();try{ks(t,e,t.template,n)}catch(s){throw rr(e,s),s}finally{i.end&&i.end()}}function Js(t){!function(t){for(let e=0;e<t.components.length;e++){const n=t.components[e],i=Se(n),s=i[1];xs(s,i,s.template,n)}}(t[8])}function tr(t,e,n){Ke(0),e(t,n)}const er=(()=>Promise.resolve(null))();function nr(t){return t[7]||(t[7]=[])}function ir(t){return t.cleanup||(t.cleanup=[])}function sr(t,e,n){return(null===t||oe(t))&&(n=function(t){for(;Array.isArray(t);){if("object"==typeof t[1])return t;t=t[0]}return null}(n[e.index])),n[11]}function rr(t,e){const n=t[9],i=n?n.get(wi,null):null;i&&i.handleError(e)}function or(t,e,n,i,s){for(let r=0;r<n.length;){const o=n[r++],a=n[r++],l=e[o],c=t.data[o];null!==c.setInput?c.setInput(l,s,i,a):l[a]=s}}function ar(t,e,n){const i=ye(e,t);!function(t,e,n){me(t)?t.setValue(e,n):e.textContent=n}(t[11],i,n)}
513/**
514 * @license
515 * Copyright Google LLC All Rights Reserved.
516 *
517 * Use of this source code is governed by an MIT-style license that can be
518 * found in the LICENSE file at https://angular.io/license
519 */function lr(t,e,n){let i=n?t.styles:null,s=n?t.classes:null,r=0;if(null!==e)for(let o=0;o<e.length;o++){const t=e[o];"number"==typeof t?r=t:1==r?s=it(s,t):2==r&&(i=it(i,t+": "+e[++o]+";"))}n?t.styles=i:t.stylesWithoutHost=i,n?t.classes=s:t.classesWithoutHost=s}
520/**
521 * @license
522 * Copyright Google LLC All Rights Reserved.
523 *
524 * Use of this source code is governed by an MIT-style license that can be
525 * found in the LICENSE file at https://angular.io/license
526 */
527/**
528 * @license
529 * Copyright Google LLC All Rights Reserved.
530 *
531 * Use of this source code is governed by an MIT-style license that can be
532 * found in the LICENSE file at https://angular.io/license
533 */
534const cr=new qn("INJECTOR",-1);
535/**
536 * @license
537 * Copyright Google LLC All Rights Reserved.
538 *
539 * Use of this source code is governed by an MIT-style license that can be
540 * found in the LICENSE file at https://angular.io/license
541 */class ur{get(t,e=ii){if(e===ii){const e=new Error(`NullInjectorError: No provider for ${nt(t)}!`);throw e.name="NullInjectorError",e}return e}}
542/**
543 * @license
544 * Copyright Google LLC All Rights Reserved.
545 *
546 * Use of this source code is governed by an MIT-style license that can be
547 * found in the LICENSE file at https://angular.io/license
vendor: 13,960 bytes, lines 548-686
548 */const hr=new qn("Set Injector scope."),dr={},pr={},fr=[];
549/**
550 * @license
551 * Copyright Google LLC All Rights Reserved.
552 *
553 * Use of this source code is governed by an MIT-style license that can be
554 * found in the LICENSE file at https://angular.io/license
555 */let mr;function gr(){return void 0===mr&&(mr=new ur),mr}function _r(t,e=null,n=null,i){return new yr(t,n,e||gr(),i)}class yr{constructor(t,e,n,i=null){this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const s=[];e&&Yn(e,n=>this.processProvider(n,t,e)),Yn([t],t=>this.processInjectorType(t,[],s)),this.records.set(cr,wr(void 0,this));const r=this.records.get(hr);this.scope=null!=r?r.value:null,this.source=i||("object"==typeof t?null:nt(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,e=ii,n=wt.Default){this.assertNotDestroyed();const i=li(this);try{if(!(n&wt.SkipSelf)){let e=this.records.get(t);if(void 0===e){const n=("function"==typeof(s=t)||"object"==typeof s&&s instanceof qn)&&ft(t);e=n&&this.injectableDefInScope(n)?wr(vr(t),dr):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e)}return(n&wt.Self?gr():this.parent).get(t,e=n&wt.Optional&&e===ii?null:e)}catch(r){if("NullInjectorError"===r.name){if((r.ngTempTokenPath=r.ngTempTokenPath||[]).unshift(nt(t)),i)throw r;return function(t,e,n,i){const s=t.ngTempTokenPath;throw e[ri]&&s.unshift(e[ri]),t.message=function(t,e,n,i=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;let s=nt(e);if(Array.isArray(e))s=e.map(nt).join(" -> ");else if("object"==typeof e){let t=[];for(let n in e)if(e.hasOwnProperty(n)){let i=e[n];t.push(n+":"+("string"==typeof i?JSON.stringify(i):nt(i)))}s=`{${t.join(", ")}}`}return`${n}${i?"("+i+")":""}[${s}]: ${t.replace(si,"\n  ")}`}("\n"+t.message,s,n,i),t.ngTokenPath=s,t.ngTempTokenPath=null,t}(r,t,"R3InjectorError",this.source)}throw r}finally{li(i)}var s;
556/**
557 * @license
558 * Copyright Google LLC All Rights Reserved.
559 *
560 * Use of this source code is governed by an MIT-style license that can be
561 * found in the LICENSE file at https://angular.io/license
562 */}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((e,n)=>t.push(nt(n))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,e,n){if(!(t=ot(t)))return!1;let i=gt(t);const s=null==i&&t.ngModule||void 0,r=void 0===s?t:s,o=-1!==n.indexOf(r);if(void 0!==s&&(i=gt(s)),null==i)return!1;if(null!=i.imports&&!o){let t;n.push(r);try{Yn(i.imports,i=>{this.processInjectorType(i,e,n)&&(void 0===t&&(t=[]),t.push(i))})}finally{}if(void 0!==t)for(let e=0;e<t.length;e++){const{ngModule:n,providers:i}=t[e];Yn(i,t=>this.processProvider(t,n,i||fr))}}this.injectorDefTypes.add(r);const a=ae(r)||(()=>new r);this.records.set(r,wr(a,dr));const l=i.providers;if(null!=l&&!o){const e=t;Yn(l,t=>this.processProvider(t,e,l))}return void 0!==s&&void 0!==t.providers}processProvider(t,e,n){let i=Sr(t=ot(t))?t:ot(t&&t.provide);const s=function(t,e,n){return Cr(t)?wr(void 0,t.useValue):wr(br(t),dr)}(t);if(Sr(t)||!0!==t.multi)this.records.get(i);else{let e=this.records.get(i);e||(e=wr(void 0,dr,!0),e.factory=()=>di(e.multi),this.records.set(i,e)),i=t,e.multi.push(t)}this.records.set(i,s)}hydrate(t,e){var n;return e.value===dr&&(e.value=pr,e.value=e.factory()),"object"==typeof e.value&&e.value&&null!==(n=e.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(e.value),e.value}injectableDefInScope(t){return!!t.providedIn&&("string"==typeof t.providedIn?"any"===t.providedIn||t.providedIn===this.scope:this.injectorDefTypes.has(t.providedIn))}}function vr(t){const e=ft(t),n=null!==e?e.factory:ae(t);if(null!==n)return n;if(t instanceof qn)throw new Error(`Token ${nt(t)} is missing a \u0275prov definition.`);if(t instanceof Function)return function(t){const e=t.length;if(e>0){const n=Jn(e,"?");throw new Error(`Can't resolve all parameters for ${nt(t)}: (${n.join(", ")}).`)}const n=function(t){const e=t&&(t[_t]||t[vt]);if(e){const n=function(t){if(t.hasOwnProperty("name"))return t.name;const e=(""+t).match(/^function\s*([^\s(]+)/);return null===e?"":e[1]}(t);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),e}return null}(t);return null!==n?()=>n.factory(t):()=>new t}(t);throw new Error("unreachable")}function br(t,e,n){let i;if(Sr(t)){const e=ot(t);return ae(e)||vr(e)}if(Cr(t))i=()=>ot(t.useValue);else if((s=t)&&s.useFactory)i=()=>t.useFactory(...di(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))i=()=>ui(ot(t.useExisting));else{const e=ot(t&&(t.useClass||t.provide));if(!function(t){return!!t.deps}(t))return ae(e)||vr(e);i=()=>new e(...di(t.deps))}var s;return i}function wr(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function Cr(t){return null!==t&&"object"==typeof t&&oi in t}function Sr(t){return"function"==typeof t}const Er=function(t,e,n){return function(t,e=null,n=null,i){const s=_r(t,e,n,i);return s._resolveInjectorDefTypes(),s}({name:n},e,t,n)};let kr=(()=>{class t{static create(t,e){return Array.isArray(t)?Er(t,e,""):Er(t.providers,t.parent,t.name||"")}}return t.THROW_IF_NOT_FOUND=ii,t.NULL=new ur,t.\u0275prov=dt({token:t,providedIn:"any",factory:()=>ui(cr)}),t.__NG_ELEMENT_ID__=-1,t})();function xr(t,e){ln(Se(t)[1],Me())}function Tr(t){let e=Object.getPrototypeOf(t.type.prototype).constructor,n=!0;const i=[t];for(;e;){let s;if(oe(t))s=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new Error("Directives cannot inherit Components");s=e.\u0275dir}if(s){if(n){i.push(s);const e=t;e.inputs=Or(t.inputs),e.declaredInputs=Or(t.declaredInputs),e.outputs=Or(t.outputs);const n=s.hostBindings;n&&Dr(t,n);const r=s.viewQuery,o=s.contentQueries;if(r&&Ar(t,r),o&&Ir(t,o),et(t.inputs,s.inputs),et(t.declaredInputs,s.declaredInputs),et(t.outputs,s.outputs),oe(s)&&s.data.animation){const e=t.data;e.animation=(e.animation||[]).concat(s.data.animation)}}const e=s.features;if(e)for(let i=0;i<e.length;i++){const s=e[i];s&&s.ngInherit&&s(t),s===Tr&&(n=!1)}}e=Object.getPrototypeOf(e)}!function(t){let e=0,n=null;for(let i=t.length-1;i>=0;i--){const s=t[i];s.hostVars=e+=s.hostVars,s.hostAttrs=vn(s.hostAttrs,n=vn(n,s.hostAttrs))}}(i)}function Or(t){return t===Rt?{}:t===Mt?[]:t}function Ar(t,e){const n=t.viewQuery;t.viewQuery=n?(t,i)=>{e(t,i),n(t,i)}:e}function Ir(t,e){const n=t.contentQueries;t.contentQueries=n?(t,i,s)=>{e(t,i,s),n(t,i,s)}:e}function Dr(t,e){const n=t.hostBindings;t.hostBindings=n?(t,i)=>{e(t,i),n(t,i)}:e}
563/**
564 * @license
565 * Copyright Google LLC All Rights Reserved.
566 *
567 * Use of this source code is governed by an MIT-style license that can be
568 * found in the LICENSE file at https://angular.io/license
569 */
570/**
571 * @license
572 * Copyright Google LLC All Rights Reserved.
573 *
574 * Use of this source code is governed by an MIT-style license that can be
575 * found in the LICENSE file at https://angular.io/license
576 */
577let Pr=null;function Rr(){if(!Pr){const t=Pt.Symbol;if(t&&t.iterator)Pr=t.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;e<t.length;++e){const n=t[e];"entries"!==n&&"size"!==n&&Map.prototype[n]===Map.prototype.entries&&(Pr=n)}}}return Pr}
578/**
579 * @license
580 * Copyright Google LLC All Rights Reserved.
581 *
582 * Use of this source code is governed by an MIT-style license that can be
583 * found in the LICENSE file at https://angular.io/license
584 */class Mr{constructor(t){this.wrapped=t}static wrap(t){return new Mr(t)}static unwrap(t){return Mr.isWrapped(t)?t.wrapped:t}static isWrapped(t){return t instanceof Mr}}function Nr(t){return!!Fr(t)&&(Array.isArray(t)||!(t instanceof Map)&&Rr()in t)}function Fr(t){return null!==t&&("function"==typeof t||"object"==typeof t)}
585/**
586 * @license
587 * Copyright Google LLC All Rights Reserved.
588 *
589 * Use of this source code is governed by an MIT-style license that can be
590 * found in the LICENSE file at https://angular.io/license
591 */function Vr(t,e,n){return t[e]=n}function Lr(t,e,n){return!Object.is(t[e],n)&&(t[e]=n,!0)}function zr(t,e,n,i){const s=Lr(t,e,n);return Lr(t,e+1,i)||s}
592/**
593 * @license
594 * Copyright Google LLC All Rights Reserved.
595 *
596 * Use of this source code is governed by an MIT-style license that can be
597 * found in the LICENSE file at https://angular.io/license
598 */
599function jr(t,e,n,i){const s=De();return Lr(s,$e(),e)&&(Pe(),function(t,e,n,i,s,r){const o=ve(t,e);!function(t,e,n,i,s,r,o){if(null==r)me(t)?t.removeAttribute(e,s,n):e.removeAttribute(s);else{const a=null==o?ct(r):o(r,i||"",s);me(t)?t.setAttribute(e,s,a,n):n?e.setAttributeNS(n,s,a):e.setAttribute(s,a)}}(e[11],o,r,t.value,n,i,s)}(an(),s,t,e,n,i)),jr}
600/**
601 * @license
602 * Copyright Google LLC All Rights Reserved.
603 *
604 * Use of this source code is governed by an MIT-style license that can be
605 * found in the LICENSE file at https://angular.io/license
606 */function Br(t,e,n,i){return Lr(t,$e(),n)?e+ct(n)+i:hs}function Hr(t,e,n,i,s,r,o,a){const l=De(),c=Pe(),u=t+Jt,h=c.firstCreatePass?
607/**
608 * @license
609 * Copyright Google LLC All Rights Reserved.
610 *
611 * Use of this source code is governed by an MIT-style license that can be
612 * found in the LICENSE file at https://angular.io/license
613 */
614function(t,e,n,i,s,r,o,a,l){const c=e.consts,u=Cs(e,t,4,o||null,xe(c,a));Fs(e,n,u,xe(c,l)),ln(e,u);const h=u.tViews=Ps(2,u,i,s,r,e.directiveRegistry,e.pipeRegistry,null,e.schemas,c);return null!==e.queries&&(e.queries.template(e,u),h.queries=e.queries.embeddedTView(u)),u}(u,c,l,e,n,i,s,r,o):c.data[u];Fe(h,!1);const d=l[11].createComment("");Zi(c,l,d,h),Ci(d,l),Ys(l,l[u]=Gs(d,l,d,h)),re(h)&&As(c,l,h),null!=o&&Is(l,h,a)}
615/**
616 * @license
617 * Copyright Google LLC All Rights Reserved.
618 *
619 * Use of this source code is governed by an MIT-style license that can be
620 * found in the LICENSE file at https://angular.io/license
621 */
622/**
623 * @license
624 * Copyright Google LLC All Rights Reserved.
625 *
626 * Use of this source code is governed by an MIT-style license that can be
627 * found in the LICENSE file at https://angular.io/license
628 */
629/**
630 * @license
631 * Copyright Google LLC All Rights Reserved.
632 *
633 * Use of this source code is governed by an MIT-style license that can be
634 * found in the LICENSE file at https://angular.io/license
635 */
636/**
637 * @license
638 * Copyright Google LLC All Rights Reserved.
639 *
640 * Use of this source code is governed by an MIT-style license that can be
641 * found in the LICENSE file at https://angular.io/license
642 */
643function $r(t,e=wt.Default){const n=De();return null===n?ui(t,e):Mn(Me(),n,ot(t),e)}
644/**
645 * @license
646 * Copyright Google LLC All Rights Reserved.
647 *
648 * Use of this source code is governed by an MIT-style license that can be
649 * found in the LICENSE file at https://angular.io/license
650 */
651function Zr(t,e,n){const i=De();return Lr(i,$e(),e)&&Ns(Pe(),an(),i,t,e,i[11],n,!1),Zr}function Ur(t,e,n,i,s){const r=s?"class":"style";or(t,n,e.inputs[r],r,i)}
652/**
653 * @license
654 * Copyright Google LLC All Rights Reserved.
655 *
656 * Use of this source code is governed by an MIT-style license that can be
657 * found in the LICENSE file at https://angular.io/license
658 */function Gr(t,e,n,i){const s=De(),r=Pe(),o=Jt+t,a=s[11],l=s[o]=Pi(a,e,Ae.lFrame.currentNamespace),c=r.firstCreatePass?function(t,e,n,i,s,r,o){const a=e.consts,l=Cs(e,t,2,s,xe(a,r));return Fs(e,n,l,xe(a,o)),null!==l.attrs&&lr(l,l.attrs,!1),null!==l.mergedAttrs&&lr(l,l.mergedAttrs,!0),null!==e.queries&&e.queries.elementStart(e,l),l}(o,r,s,0,e,n,i):r.data[o];Fe(c,!0);const u=c.mergedAttrs;null!==u&&gn(a,l,u);const h=c.classes;null!==h&&Qi(a,l,h);const d=c.styles;null!==d&&Xi(a,l,d),64!=(64&c.flags)&&Zi(r,s,l,c),0===Ae.lFrame.elementDepthCount&&Ci(l,s),Ae.lFrame.elementDepthCount++,re(c)&&(As(r,s,c),Os(r,c,s)),null!==i&&Is(s,c)}function qr(){let t=Me();Ve()?Le():(t=t.parent,Fe(t,!1));const e=t;Ae.lFrame.elementDepthCount--;const n=Pe();n.firstCreatePass&&(ln(n,t),ie(t)&&n.queries.elementEnd(t)),null!=e.classesWithoutHost&&function(t){return 0!=(16&t.flags)}(e)&&Ur(n,e,De(),e.classesWithoutHost,!0),null!=e.stylesWithoutHost&&function(t){return 0!=(32&t.flags)}
659/**
660 * @license
661 * Copyright Google LLC All Rights Reserved.
662 *
663 * Use of this source code is governed by an MIT-style license that can be
664 * found in the LICENSE file at https://angular.io/license
665 */(e)&&Ur(n,e,De(),e.stylesWithoutHost,!1)}function Wr(t,e,n,i){Gr(t,e,n,i),qr()}function Kr(t,e,n){const i=De(),s=Pe(),r=t+Jt,o=s.firstCreatePass?
666/**
667 * @license
668 * Copyright Google LLC All Rights Reserved.
669 *
670 * Use of this source code is governed by an MIT-style license that can be
671 * found in the LICENSE file at https://angular.io/license
672 */
673function(t,e,n,i,s){const r=e.consts,o=xe(r,i),a=Cs(e,t,8,"ng-container",o);return null!==o&&lr(a,o,!0),Fs(e,n,a,xe(r,s)),null!==e.queries&&e.queries.elementStart(e,a),a}(r,s,i,e,n):s.data[r];Fe(o,!0);const a=i[r]=i[11].createComment("");Zi(s,i,a,o),Ci(a,i),re(o)&&(As(s,i,o),Os(s,o,i)),null!=n&&Is(i,o)}function Yr(){let t=Me();const e=Pe();Ve()?Le():(t=t.parent,Fe(t,!1)),e.firstCreatePass&&(ln(e,t),ie(t)&&e.queries.elementEnd(t))}function Xr(){return De()}
674/**
675 * @license
676 * Copyright Google LLC All Rights Reserved.
677 *
678 * Use of this source code is governed by an MIT-style license that can be
679 * found in the LICENSE file at https://angular.io/license
680 */function Qr(t){return!!t&&"function"==typeof t.then}function Jr(t){return!!t&&"function"==typeof t.subscribe}const to=Jr;
681/**
682 * @license
683 * Copyright Google LLC All Rights Reserved.
684 *
685 * Use of this source code is governed by an MIT-style license that can be
686 * found in the LICENSE file at https://angular.io/license
vendor: 9,474 bytes, lines 687-768
687 */function eo(t,e,n=!1,i){const s=De(),r=Pe(),o=Me();return io(r,s,s[11],o,t,e,n,i),eo}function no(t,e,n=!1,i){const s=Me(),r=De(),o=Pe();return io(o,r,sr(qe(o.data),s,r),s,t,e,n,i),no}function io(t,e,n,i,s,r,o=!1,a){const l=re(i),c=t.firstCreatePass&&ir(t),u=nr(e);let h=!0;if(3&i.type){const d=ve(i,e),p=a?a(d):Rt,f=p.target||d,m=u.length,g=a?t=>a(_e(t[i.index])).target:i.index;if(me(n)){let o=null;if(!a&&l&&(o=function(t,e,n,i){const s=t.cleanup;if(null!=s)for(let r=0;r<s.length-1;r+=2){const t=s[r];if(t===n&&s[r+1]===i){const t=e[7],n=s[r+2];return t.length>n?t[n]:null}"string"==typeof t&&(r+=2)}return null}(t,e,s,i.index)),null!==o)(o.__ngLastListenerFn__||o).__ngNextListenerFn__=r,o.__ngLastListenerFn__=r,h=!1;else{r=ro(i,e,r,!1);const t=n.listen(p.name||f,s,r);u.push(r,t),c&&c.push(s,g,m,m+1)}}else r=ro(i,e,r,!0),f.addEventListener(s,r,o),u.push(r),c&&c.push(s,g,m,o)}else r=ro(i,e,r,!1);const d=i.outputs;let p;if(h&&null!==d&&(p=d[s])){const t=p.length;if(t)for(let n=0;n<t;n+=2){const t=e[p[n]][p[n+1]].subscribe(r),o=u.length;u.push(r,t),c&&c.push(s,i.index,o,-(o+1))}}}function so(t,e,n){try{return!1!==e(n)}catch(i){return rr(t,i),!1}}function ro(t,e,n,i){return function s(r){if(r===Function)return n;const o=2&t.flags?Ce(t.index,e):e;0==(32&e[2])&&Xs(o);let a=so(e,n,r),l=s.__ngNextListenerFn__;for(;l;)a=so(e,l,r)&&a,l=l.__ngNextListenerFn__;return i&&!1===a&&(r.preventDefault(),r.returnValue=!1),a}}
688/**
689 * @license
690 * Copyright Google LLC All Rights Reserved.
691 *
692 * Use of this source code is governed by an MIT-style license that can be
693 * found in the LICENSE file at https://angular.io/license
694 */
695/**
696 * @license
697 * Copyright Google LLC All Rights Reserved.
698 *
699 * Use of this source code is governed by an MIT-style license that can be
700 * found in the LICENSE file at https://angular.io/license
701 */function oo(t=1){return function(t){return(Ae.lFrame.contextLView=function(t,e){for(;t>0;)e=e[15],t--;return e}(t,Ae.lFrame.contextLView))[8]}(t)}
702/**
703 * @license
704 * Copyright Google LLC All Rights Reserved.
705 *
706 * Use of this source code is governed by an MIT-style license that can be
707 * found in the LICENSE file at https://angular.io/license
708 */function ao(t,e){let n=null;const i=function(t){const e=t.attrs;if(null!=e){const t=e.indexOf(5);if(0==(1&t))return e[t+1]}return null}(t);for(let s=0;s<e.length;s++){const r=e[s];if("*"!==r){if(null===i?as(t,r,!0):ls(i,r))return s}else n=s}return n}function lo(t){const e=De()[16][6];if(!e.projection){const n=e.projection=Jn(t?t.length:1,null),i=n.slice();let s=e.child;for(;null!==s;){const e=t?ao(s,t):0;null!==e&&(i[e]?i[e].projectionNext=s:n[e]=s,i[e]=s),s=s.next}}}function co(t,e=0,n){const i=De(),s=Pe(),r=Cs(s,Jt+t,16,null,n||null);null===r.projection&&(r.projection=e),Le(),64!=(64&r.flags)&&function(t,e,n){Yi(e[11],0,e,n,Vi(t,n,e),Hi(n.parent||e[6],n,e))}(s,i,r)}
709/**
710 * @license
711 * Copyright Google LLC All Rights Reserved.
712 *
713 * Use of this source code is governed by an MIT-style license that can be
714 * found in the LICENSE file at https://angular.io/license
715 */
716const uo=[];function ho(t,e,n,i,s){const r=t[n+1],o=null===e;let a=i?ms(r):_s(r),l=!1;for(;0!==a&&(!1===l||o);){const n=t[a+1];po(t[a],e)&&(l=!0,t[a+1]=i?vs(n):gs(n)),a=i?ms(n):_s(n)}l&&(t[n+1]=i?gs(r):vs(r))}function po(t,e){return null===t||null==e||(Array.isArray(t)?t[1]:t)===e||!(!Array.isArray(t)||"string"!=typeof e)&&ni(t,e)>=0}
717/**
718 * @license
719 * Copyright Google LLC All Rights Reserved.
720 *
721 * Use of this source code is governed by an MIT-style license that can be
722 * found in the LICENSE file at https://angular.io/license
723 */const fo={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function mo(t){return t.substring(fo.key,fo.keyEnd)}function go(t,e){const n=fo.textEnd;return n===e?-1:(e=fo.keyEnd=function(t,e,n){for(;e<n&&t.charCodeAt(e)>32;)e++;return e}(t,fo.key=e,n),_o(t,e,n))}function _o(t,e,n){for(;e<n&&t.charCodeAt(e)<=32;)e++;return e}
724/**
725 * @license
726 * Copyright Google LLC All Rights Reserved.
727 *
728 * Use of this source code is governed by an MIT-style license that can be
729 * found in the LICENSE file at https://angular.io/license
730 */
731function yo(t,e,n){return wo(t,e,n,!1),yo}function vo(t,e){return wo(t,e,null,!0),vo}function bo(t,e){for(let n=function(t){return function(t){fo.key=0,fo.keyEnd=0,fo.value=0,fo.valueEnd=0,fo.textEnd=t.length}(t),go(t,_o(t,0,fo.textEnd))}(e);n>=0;n=go(e,n))ti(t,mo(e),!0)}function wo(t,e,n,i){const s=De(),r=Pe(),o=Ze(2);r.firstUpdatePass&&So(r,t,o,i),e!==hs&&Lr(s,o,e)&&xo(r,r.data[rn()],s,s[11],t,s[o+1]=function(t,e){return null==t||("string"==typeof e?t+=e:"object"==typeof t&&(t=nt(_i(t)))),t}(e,n),i,o)}function Co(t,e){return e>=t.expandoStartIndex}function So(t,e,n,i){const s=t.data;if(null===s[n+1]){const r=s[rn()],o=Co(t,n);Ao(r,i)&&null===e&&!o&&(e=!1),e=function(t,e,n,i){const s=qe(t);let r=i?e.residualClasses:e.residualStyles;if(null===s)0===(i?e.classBindings:e.styleBindings)&&(n=ko(n=Eo(null,t,e,n,i),e.attrs,i),r=null);else{const o=e.directiveStylingLast;if(-1===o||t[o]!==s)if(n=Eo(s,t,e,n,i),null===r){let n=function(t,e,n){const i=n?e.classBindings:e.styleBindings;if(0!==_s(i))return t[ms(i)]}(t,e,i);void 0!==n&&Array.isArray(n)&&(n=Eo(null,t,e,n[1],i),n=ko(n,e.attrs,i),function(t,e,n,i){t[ms(n?e.classBindings:e.styleBindings)]=i}(t,e,i,n))}else r=function(t,e,n){let i;const s=e.directiveEnd;for(let r=1+e.directiveStylingLast;r<s;r++)i=ko(i,t[r].hostAttrs,n);return ko(i,e.attrs,n)}(t,e,i)}return void 0!==r&&(i?e.residualClasses=r:e.residualStyles=r),n}(s,r,e,i),function(t,e,n,i,s,r){let o=r?e.classBindings:e.styleBindings,a=ms(o),l=_s(o);t[i]=n;let c,u=!1;if(Array.isArray(n)){const t=n;c=t[1],(null===c||ni(t,c)>0)&&(u=!0)}else c=n;if(s)if(0!==l){const e=ms(t[a+1]);t[i+1]=fs(e,a),0!==e&&(t[e+1]=ys(t[e+1],i)),t[a+1]=131071&t[a+1]|i<<17}else t[i+1]=fs(a,0),0!==a&&(t[a+1]=ys(t[a+1],i)),a=i;else t[i+1]=fs(l,0),0===a?a=i:t[l+1]=ys(t[l+1],i),l=i;u&&(t[i+1]=gs(t[i+1])),ho(t,c,i,!0),ho(t,c,i,!1),function(t,e,n,i,s){const r=s?t.residualClasses:t.residualStyles;null!=r&&"string"==typeof e&&ni(r,e)>=0&&(n[i+1]=vs(n[i+1]))}(e,c,t,i,r),o=fs(a,l),r?e.classBindings=o:e.styleBindings=o}(s,r,e,n,o,i)}}function Eo(t,e,n,i,s){let r=null;const o=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<o&&(r=e[a],i=ko(i,r.hostAttrs,s),r!==t);)a++;return null!==t&&(n.directiveStylingLast=a),i}function ko(t,e,n){const i=n?1:2;let s=-1;if(null!==e)for(let r=0;r<e.length;r++){const o=e[r];"number"==typeof o?s=o:s===i&&(Array.isArray(t)||(t=void 0===t?[]:["",t]),ti(t,o,!!n||e[++r]))}return void 0===t?null:t}function xo(t,e,n,i,s,r,o,a){if(!(3&e.type))return;const l=t.data,c=l[a+1];Oo(1==(1&c)?To(l,e,n,s,_s(c),o):void 0)||(Oo(r)||2==(2&c)&&(r=To(l,null,n,s,a,o)),function(t,e,n,i,s){const r=me(t);if(e)s?r?t.addClass(n,i):n.classList.add(i):r?t.removeClass(n,i):n.classList.remove(i);else{let e=-1===i.indexOf("-")?void 0:ki.DashCase;if(null==s)r?t.removeStyle(n,i,e):n.style.removeProperty(i);else{const o="string"==typeof s&&s.endsWith("!important");o&&(s=s.slice(0,-10),e|=ki.Important),r?t.setStyle(n,i,s,e):n.style.setProperty(i,s,o?"important":"")}}}(i,o,ye(rn(),n),s,r))}function To(t,e,n,i,s,r){const o=null===e;let a;for(;s>0;){const e=t[s],r=Array.isArray(e),l=r?e[1]:e,c=null===l;let u=n[s+1];u===hs&&(u=c?uo:void 0);let h=c?ei(u,i):l===i?u:void 0;if(r&&!Oo(h)&&(h=ei(e,i)),Oo(h)&&(a=h,o))return a;const d=t[s+1];s=o?ms(d):_s(d)}if(null!==e){let t=r?e.residualClasses:e.residualStyles;null!=t&&(a=ei(t,i))}return a}function Oo(t){return void 0!==t}function Ao(t,e){return 0!=(t.flags&(e?16:32))}
732/**
733 * @license
734 * Copyright Google LLC All Rights Reserved.
735 *
736 * Use of this source code is governed by an MIT-style license that can be
737 * found in the LICENSE file at https://angular.io/license
738 */function Io(t,e=""){const n=De(),i=Pe(),s=t+Jt,r=i.firstCreatePass?Cs(i,s,1,e,null):i.data[s],o=n[s]=function(t,e){return me(t)?t.createText(e):t.createTextNode(e)}(n[11],e);Zi(i,n,o,r),Fe(r,!1)}
739/**
740 * @license
741 * Copyright Google LLC All Rights Reserved.
742 *
743 * Use of this source code is governed by an MIT-style license that can be
744 * found in the LICENSE file at https://angular.io/license
745 */function Do(t){return Po("",t,""),Do}function Po(t,e,n){const i=De(),s=Br(i,t,e,n);return s!==hs&&ar(i,rn(),s),Po}function Ro(t,e,n,i,s){const r=De(),o=function(t,e,n,i,s,r){const o=zr(t,He(),n,s);return Ze(2),o?e+ct(n)+i+ct(s)+r:hs}(r,t,e,n,i,s);return o!==hs&&ar(r,rn(),o),Ro}
746/**
747 * @license
748 * Copyright Google LLC All Rights Reserved.
749 *
750 * Use of this source code is governed by an MIT-style license that can be
751 * found in the LICENSE file at https://angular.io/license
752 */
753function Mo(t,e,n){const i=De();return Lr(i,$e(),e)&&Ns(Pe(),an(),i,t,e,i[11],n,!0),Mo}function No(t,e,n){const i=De();if(Lr(i,$e(),e)){const s=Pe(),r=an();Ns(s,r,i,t,e,sr(qe(s.data),r,i),n,!0)}return No}
754/**
755 * @license
756 * Copyright Google LLC All Rights Reserved.
757 *
758 * Use of this source code is governed by an MIT-style license that can be
759 * found in the LICENSE file at https://angular.io/license
760 */
761/**
762 * @license
763 * Copyright Google LLC All Rights Reserved.
764 *
765 * Use of this source code is governed by an MIT-style license that can be
766 * found in the LICENSE file at https://angular.io/license
767 */
768const Fo=void 0;var Vo=["en",[["a","p"],["AM","PM"],Fo],[["AM","PM"],Fo,Fo],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
768ay","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Fo,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Fo,[["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}",Fo,"{1} 'at' {0}",Fo],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(t){let e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}];
769/**
770 * @license
771 * Copyright Google LLC All Rights Reserved.
772 *
773 * Use of this source code is governed by an MIT-style license that can be
774 * found in the LICENSE file at https://angular.io/license
775 */let Lo={};function zo(t){const e=function(t){return t.toLowerCase().replace(/_/g,"-")}
776/**
777 * @license
778 * Copyright Google LLC All Rights Reserved.
779 *
780 * Use of this source code is governed by an MIT-style license that can be
781 * found in the LICENSE file at https://angular.io/license
782 */(t);let n=jo(e);if(n)return n;const i=e.split("-")[0];if(n=jo(i),n)return n;if("en"===i)return Vo;throw new Error(`Missing locale data for the locale "${t}".`)}function jo(t){return t in Lo||(Lo[t]=Pt.ng&&Pt.ng.common&&Pt.ng.common.locales&&Pt.ng.common.locales[t]),Lo[t]}var Bo=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}({});const Ho="en-US";
783/**
784 * @license
785 * Copyright Google LLC All Rights Reserved.
786 *
787 * Use of this source code is governed by an MIT-style license that can be
788 * found in the LICENSE file at https://angular.io/license
789 */
790let $o=Ho;function Zo(t){var e,n;n="Expected localeId to be defined",null==(e=t)&&function(t,e,n,i){throw new Error(`ASSERTION ERROR: ${t} [Expected=> null != ${e} <=Actual]`)}(n,e),"string"==typeof t&&($o=t.toLowerCase().replace(/_/g,"-"))}function Uo(t,e,n,i,s){if(t=ot(t),Array.isArray(t))for(let r=0;r<t.length;r++)Uo(t[r],e,n,i,s);else{const r=Pe(),o=De();let a=Sr(t)?t:ot(t.provide),l=br(t);const c=Me(),u=1048575&c.providerIndexes,h=c.directiveStart,d=c.providerIndexes>>20;if(Sr(t)||!t.multi){const i=new mn(l,s,$r),p=Wo(a,e,s?u:u+d,h);-1===p?(Dn(Tn(c,o),r,a),Go(r,t,e.length),e.push(a),c.directiveStart++,c.directiveEnd++,s&&(c.providerIndexes+=1048576),n.push(i),o.push(i)):(n[p]=i,o[p]=i)}else{const p=Wo(a,e,u+d,h),f=Wo(a,e,u,u+d),m=p>=0&&n[p],g=f>=0&&n[f];if(s&&!g||!s&&!m){Dn(Tn(c,o),r,a);const u=function(t,e,n,i,s){const r=new mn(t,n,$r);return r.multi=[],r.index=e,r.componentProviders=0,qo(r,s,i&&!n),r}(s?Yo:Ko,n.length,s,i,l);!s&&g&&(n[f].providerFactory=u),Go(r,t,e.length,0),e.push(a),c.directiveStart++,c.directiveEnd++,s&&(c.providerIndexes+=1048576),n.push(u),o.push(u)}else Go(r,t,p>-1?p:f,qo(n[s?f:p],l,!s&&i));!s&&i&&g&&n[f].componentProviders++}}}function Go(t,e,n,i){const s=Sr(e);if(s||e.useClass){const r=(e.useClass||e).prototype.ngOnDestroy;if(r){const o=t.destroyHooks||(t.destroyHooks=[]);if(!s&&e.multi){const t=o.indexOf(n);-1===t?o.push(n,[i,r]):o[t+1].push(i,r)}else o.push(n,r)}}}function qo(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function Wo(t,e,n,i){for(let s=n;s<i;s++)if(e[s]===t)return s;return-1}function Ko(t,e,n,i){return Xo(this.multi,[])}function Yo(t,e,n,i){const s=this.multi;let r;if(this.providerFactory){const t=this.providerFactory.componentProviders,e=zn(n,n[1],this.providerFactory.index,i);r=e.slice(0,t),Xo(s,r);for(let n=t;n<e.length;n++)r.push(e[n])}else r=[],Xo(s,r);return r}function Xo(t,e){for(let n=0;n<t.length;n++)e.push((0,t[n])());return e}function Qo(t,e=[]){return n=>{n.providersResolver=(n,i)=>
791/**
792 * @license
793 * Copyright Google LLC All Rights Reserved.
794 *
795 * Use of this source code is governed by an MIT-style license that can be
796 * found in the LICENSE file at https://angular.io/license
797 */
798/**
799 * @license
800 * Copyright Google LLC All Rights Reserved.
801 *
802 * Use of this source code is governed by an MIT-style license that can be
803 * found in the LICENSE file at https://angular.io/license
804 */
805function(t,e,n){const i=Pe();if(i.firstCreatePass){const s=oe(t);Uo(n,i.data,i.blueprint,s,!0),Uo(e,i.data,i.blueprint,s,!1)}}(n,i?i(t):t,e)}}
806/**
807 * @license
808 * Copyright Google LLC All Rights Reserved.
809 *
810 * Use of this source code is governed by an MIT-style license that can be
811 * found in the LICENSE file at https://angular.io/license
812 */class Jo{}
813/**
814 * @license
815 * Copyright Google LLC All Rights Reserved.
816 *
817 * Use of this source code is governed by an MIT-style license that can be
818 * found in the LICENSE file at https://angular.io/license
vendor: 21,937 bytes, lines 819-934
819 */class ta{resolveComponentFactory(t){throw function(t){const e=Error(`No component factory found for ${nt(t)}. Did you add it to @NgModule.entryComponents?`);return e.ngComponent=t,e}(t)}}let ea=(()=>{class t{}return t.NULL=new ta,t})();
820/**
821 * @license
822 * Copyright Google LLC All Rights Reserved.
823 *
824 * Use of this source code is governed by an MIT-style license that can be
825 * found in the LICENSE file at https://angular.io/license
826 */
827function na(...t){}
828/**
829 * @license
830 * Copyright Google LLC All Rights Reserved.
831 *
832 * Use of this source code is governed by an MIT-style license that can be
833 * found in the LICENSE file at https://angular.io/license
834 */function ia(t,e){return new ra(ve(t,e))}const sa=function(){return ia(Me(),De())};let ra=(()=>{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=sa,t})();function oa(t){return t instanceof ra?t.nativeElement:t}
835/**
836 * @license
837 * Copyright Google LLC All Rights Reserved.
838 *
839 * Use of this source code is governed by an MIT-style license that can be
840 * found in the LICENSE file at https://angular.io/license
841 */class aa{}let la=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>ca(),t})();const ca=function(){const t=De(),e=Ce(Me().index,t);return function(t){return t[11]}(ee(e)?e:t)};let ua=(()=>{class t{}return t.\u0275prov=dt({token:t,providedIn:"root",factory:()=>null}),t})();
842/**
843 * @license
844 * Copyright Google LLC All Rights Reserved.
845 *
846 * Use of this source code is governed by an MIT-style license that can be
847 * found in the LICENSE file at https://angular.io/license
848 */class ha{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const da=new ha("11.2.5");
849/**
850 * @license
851 * Copyright Google LLC All Rights Reserved.
852 *
853 * Use of this source code is governed by an MIT-style license that can be
854 * found in the LICENSE file at https://angular.io/license
855 */class pa{constructor(){}supports(t){return Nr(t)}create(t){return new ma(t)}}const fa=(t,e)=>e;class ma{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||fa}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,n=this._removalsHead,i=0,s=null;for(;e||n;){const r=!n||e&&e.currentIndex<va(n,i,s)?e:n,o=va(r,i,s),a=r.currentIndex;if(r===n)i--,n=n._nextRemoved;else if(e=e._next,null==r.previousIndex)i++;else{s||(s=[]);const t=o-i,e=a-i;if(t!=e){for(let n=0;n<t;n++){const i=n<s.length?s[n]:s[n]=0,r=i+n;e<=r&&r<t&&(s[n]=i+1)}s[r.previousIndex]=e-t}}o!==a&&t(r,o,a)}}forEachPreviousItem(t){let e;for(e=this._previousItHead;null!==e;e=e._nextPrevious)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}forEachMovedItem(t){let e;for(e=this._movesHead;null!==e;e=e._nextMoved)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}forEachIdentityChange(t){let e;for(e=this._identityChangesHead;null!==e;e=e._nextIdentityChange)t(e)}diff(t){if(null==t&&(t=[]),!Nr(t))throw new Error(`Error trying to diff '${nt(t)}'. Only arrays and iterables are allowed`);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e,n,i,s=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let e=0;e<this.length;e++)n=t[e],i=this._trackByFn(e,n),null!==s&&Object.is(s.trackById,i)?(r&&(s=this._verifyReinsertion(s,n,i,e)),Object.is(s.item,n)||this._addIdentityChange(s,n)):(s=this._mismatch(s,n,i,e),r=!0),s=s._next}else e=0,function(t,e){if(Array.isArray(t))for(let n=0;n<t.length;n++)e(t[n]);else{const n=t[Rr()]();let i;for(;!(i=n.next()).done;)e(i.value)}}(t,t=>{i=this._trackByFn(e,t),null!==s&&Object.is(s.trackById,i)?(r&&(s=this._verifyReinsertion(s,t,i,e)),Object.is(s.item,t)||this._addIdentityChange(s,t)):(s=this._mismatch(s,t,i,e),r=!0),s=s._next,e++}),this.length=e;return this._truncate(s),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,n,i){let s;return null===t?s=this._itTail:(s=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,s,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,i))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,s,i)):t=this._addAfter(new ga(e,n),s,i),t}_verifyReinsertion(t,e,n,i){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==s?t=this._reinsertAfter(s,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}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)}_reinsertAfter(t,e,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const i=t._prevRemoved,s=t._nextRemoved;return null===i?this._removalsHead=s:i._nextRemoved=s,null===s?this._removalsTail=i:s._prevRemoved=i,this._insertAfter(t,e,n),this._addToMoves(t,n),t}_moveAfter(t,e,n){return this._unlink(t),this._insertAfter(t,e,n),this._addToMoves(t,n),t}_addAfter(t,e,n){return this._insertAfter(t,e,n),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,n){const i=null===e?this._itHead:e._next;return t._next=i,t._prev=e,null===i?this._itTail=t:i._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new ya),this._linkedRecords.put(t),t.currentIndex=n,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,n=t._next;return null===e?this._itHead=n:e._next=n,null===n?this._itTail=e:n._prev=e,t}_addToMoves(t,e){return t.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new ya),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class ga{constructor(t,e){this.item=t,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class _a{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,e){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===e||e<=n.currentIndex)&&Object.is(n.trackById,t))return n;return null}remove(t){const e=t._prevDup,n=t._nextDup;return null===e?this._head=n:e._nextDup=n,null===n?this._tail=e:n._prevDup=e,null===this._head}}class ya{constructor(){this.map=new Map}put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new _a,this.map.set(e,n)),n.add(t)}get(t,e){const n=this.map.get(t);return n?n.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function va(t,e,n){const i=t.previousIndex;if(null===i)return i;let s=0;return n&&i<n.length&&(s=n[i]),i+e+s}
856/**
857 * @license
858 * Copyright Google LLC All Rights Reserved.
859 *
860 * Use of this source code is governed by an MIT-style license that can be
861 * found in the LICENSE file at https://angular.io/license
862 */class ba{constructor(){}supports(t){return t instanceof Map||Fr(t)}create(){return new wa}}class wa{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let e;for(e=this._mapHead;null!==e;e=e._next)t(e)}forEachPreviousItem(t){let e;for(e=this._previousMapHead;null!==e;e=e._nextPrevious)t(e)}forEachChangedItem(t){let e;for(e=this._changesHead;null!==e;e=e._nextChanged)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}diff(t){if(t){if(!(t instanceof Map||Fr(t)))throw new Error(`Error trying to diff '${nt(t)}'. Only maps and objects are allowed`)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e=this._mapHead;if(this._appendAfter=null,this._forEach(t,(t,n)=>{if(e&&e.key===n)this._maybeAddToChanges(e,t),this._appendAfter=e,e=e._next;else{const i=this._getOrCreateRecordForKey(n,t);e=this._insertBeforeOrAppend(e,i)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let t=e;null!==t;t=t._nextRemoved)t===this._mapHead&&(this._mapHead=null),this._records.delete(t.key),t._nextRemoved=t._next,t.previousValue=t.currentValue,t.currentValue=null,t._prev=null,t._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const n=t._prev;return e._next=t,e._prev=n,t._prev=e,n&&(n._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const n=this._records.get(t);this._maybeAddToChanges(n,e);const i=n._prev,s=n._next;return i&&(i._next=s),s&&(s._prev=i),n._next=null,n._prev=null,n}const n=new Ca(t);return this._records.set(t,n),n.currentValue=e,this._addToAdditions(n),n}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,e){Object.is(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(n=>e(t[n],n))}}class Ca{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}
863/**
864 * @license
865 * Copyright Google LLC All Rights Reserved.
866 *
867 * Use of this source code is governed by an MIT-style license that can be
868 * found in the LICENSE file at https://angular.io/license
869 */function Sa(){return new Ea([new pa])}let Ea=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(null!=n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>t.create(e,n||Sa()),deps:[[t,new gi,new mi]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(null!=e)return e;throw new Error(`Cannot find a differ supporting object '${t}' of type '${n=t,n.name||typeof n}'`);var n;
870/**
871 * @license
872 * Copyright Google LLC All Rights Reserved.
873 *
874 * Use of this source code is governed by an MIT-style license that can be
875 * found in the LICENSE file at https://angular.io/license
876 */}}return t.\u0275prov=dt({token:t,providedIn:"root",factory:Sa}),t})();function ka(){return new xa([new ba])}let xa=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>t.create(e,n||ka()),deps:[[t,new gi,new mi]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(e)return e;throw new Error(`Cannot find a differ supporting object '${t}'`)}}return t.\u0275prov=dt({token:t,providedIn:"root",factory:ka}),t})();
877/**
878 * @license
879 * Copyright Google LLC All Rights Reserved.
880 *
881 * Use of this source code is governed by an MIT-style license that can be
882 * found in the LICENSE file at https://angular.io/license
883 */function Ta(t,e,n,i,s=!1){for(;null!==n;){const r=e[n.index];if(null!==r&&i.push(_e(r)),ne(r))for(let t=te;t<r.length;t++){const e=r[t],n=e[1].firstChild;null!==n&&Ta(e[1],e,n,i)}const o=n.type;if(8&o)Ta(t,e,n.child,i);else if(32&o){const t=xi(n,e);let s;for(;s=t();)i.push(s)}else if(16&o){const t=Gi(e,n);if(Array.isArray(t))i.push(...t);else{const n=Ti(e[16]);Ta(n[1],n,t,i,!0)}}n=s?n.projectionNext:n.next}return i}
884/**
885 * @license
886 * Copyright Google LLC All Rights Reserved.
887 *
888 * Use of this source code is governed by an MIT-style license that can be
889 * found in the LICENSE file at https://angular.io/license
890 */class Oa{constructor(t,e){this._lView=t,this._cdRefInjectingView=e,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const t=this._lView,e=t[1];return Ta(e,t,e.firstChild,[])}get context(){return this._lView[8]}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(ne(t)){const e=t[8],n=e?e.indexOf(this):-1;n>-1&&(Mi(t,n),Qn(e,n))}this._attachedToViewContainer=!1}Ni(this._lView[1],this._lView)}onDestroy(t){Rs(this._lView[1],this._lView,null,t)}markForCheck(){Xs(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Qs(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(t,e,n){je(!0);try{Qs(t,e,n)}finally{je(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}detachFromAppRef(){var t;this._appRef=null,Ki(this._lView[1],t=this._lView,t[11],2,null,null)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}class Aa extends Oa{constructor(t){super(t),this._view=t}detectChanges(){Js(this._view)}checkNoChanges(){!function(t){je(!0);try{Js(t)}finally{je(!1)}}(this._view)}get context(){return null}}
891/**
892 * @license
893 * Copyright Google LLC All Rights Reserved.
894 *
895 * Use of this source code is governed by an MIT-style license that can be
896 * found in the LICENSE file at https://angular.io/license
897 */const Ia=Pa;let Da=(()=>{class t{}return t.__NG_ELEMENT_ID__=Ia,t.__ChangeDetectorRef__=!0,t})();function Pa(t=!1){return function(t,e,n){if(!n&&se(t)){const n=Ce(t.index,e);return new Oa(n,n)}return 47&t.type?new Oa(e[16],e):null}
898/**
899 * @license
900 * Copyright Google LLC All Rights Reserved.
901 *
902 * Use of this source code is governed by an MIT-style license that can be
903 * found in the LICENSE file at https://angular.io/license
904 */(Me(),De(),t)}const Ra=[new ba],Ma=new Ea([new pa]),Na=new xa(Ra),Fa=function(){return ja(Me(),De())};let Va=(()=>{class t{}return t.__NG_ELEMENT_ID__=Fa,t})();const La=Va,za=class extends La{constructor(t,e,n){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=n}createEmbeddedView(t){const e=this._declarationTContainer.tViews,n=ws(this._declarationLView,e,t,16,null,e.declTNode,null,null,null,null);n[17]=this._declarationLView[this._declarationTContainer.index];const i=this._declarationLView[19];return null!==i&&(n[19]=i.createEmbeddedView(e)),Es(e,n,t),new Oa(n)}};function ja(t,e){return 4&t.type?new za(e,t,ia(t,e)):null}
905/**
906 * @license
907 * Copyright Google LLC All Rights Reserved.
908 *
909 * Use of this source code is governed by an MIT-style license that can be
910 * found in the LICENSE file at https://angular.io/license
911 */class Ba{}
912/**
913 * @license
914 * Copyright Google LLC All Rights Reserved.
915 *
916 * Use of this source code is governed by an MIT-style license that can be
917 * found in the LICENSE file at https://angular.io/license
918 */
919const Ha=function(){return Wa(Me(),De())};let $a=(()=>{class t{}return t.__NG_ELEMENT_ID__=Ha,t})();const Za=$a,Ua=class extends Za{constructor(t,e,n){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=n}get element(){return ia(this._hostTNode,this._hostLView)}get injector(){return new Hn(this._hostTNode,this._hostLView)}get parentInjector(){const t=In(this._hostTNode,this._hostLView);if(wn(t)){const e=Sn(t,this._hostLView),n=Cn(t);return new Hn(e[1].data[n+8],e)}return new Hn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=Ga(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-te}createEmbeddedView(t,e,n){const i=t.createEmbeddedView(e||{});return this.insert(i,n),i}createComponent(t,e,n,i,s){const r=n||this.parentInjector;if(!s&&null==t.ngModule&&r){const t=r.get(Ba,null);t&&(s=t)}const o=t.create(r,i,void 0,s);return this.insert(o.hostView,e),o}insert(t,e){const n=t._lView,i=n[1];if(ne(n[3])){const e=this.indexOf(t);if(-1!==e)this.detach(e);else{const e=n[3],i=new Ua(e,e[6],e[3]);i.detach(i.indexOf(t))}}const s=this._adjustIndex(e),r=this._lContainer;!function(t,e,n,i){const s=te+i,r=n.length;i>0&&(n[s-1][4]=e),i<r-te?(e[4]=n[s],Xn(n,te+i,e)):(n.push(e),e[4]=null),e[3]=n;const o=e[17];null!==o&&n!==o&&function(t,e){const n=t[9];e[16]!==e[3][3][16]&&(t[2]=!0),null===n?t[9]=[e]:n.push(e)}(o,e);const a=e[19];null!==a&&a.insertView(t),e[2]|=128}(i,n,r,s);const o=qi(s,r),a=n[11],l=Bi(a,r[7]);return null!==l&&function(t,e,n,i,s,r){i[0]=s,i[6]=e,Ki(t,i,n,1,s,r)}(i,r[6],a,n,l,o),t.attachToViewContainerRef(),Xn(qa(r),s,t),t}move(t,e){return this.insert(t,e)}indexOf(t){const e=Ga(this._lContainer);return null!==e?e.indexOf(t):-1}remove(t){const e=this._adjustIndex(t,-1),n=Mi(this._lContainer,e);n&&(Qn(qa(this._lContainer),e),Ni(n[1],n))}detach(t){const e=this._adjustIndex(t,-1),n=Mi(this._lContainer,e);return n&&null!=Qn(qa(this._lContainer),e)?new Oa(n):null}_adjustIndex(t,e=0){return null==t?this.length+e:t}};function Ga(t){return t[8]}function qa(t){return t[8]||(t[8]=[])}function Wa(t,e){let n;const i=e[t.index];if(ne(i))n=i;else{let s;if(8&t.type)s=_e(i);else{const n=e[11];s=n.createComment("");const i=ve(t,e);Li(n,Bi(n,i),s,function(t,e){return me(t)?t.nextSibling(e):e.nextSibling}(n,i),!1)}e[t.index]=n=Gs(i,e,s,t),Ys(e,n)}return new Ua(n,t,e)}
920/**
921 * @license
922 * Copyright Google LLC All Rights Reserved.
923 *
924 * Use of this source code is governed by an MIT-style license that can be
925 * found in the LICENSE file at https://angular.io/license
926 */const Ka={};
927/**
928 * @license
929 * Copyright Google LLC All Rights Reserved.
930 *
931 * Use of this source code is governed by an MIT-style license that can be
932 * found in the LICENSE file at https://angular.io/license
933 */
934class Ya extends ea{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=Xt(t);return new Ja(e,this.ngModule)}}function Xa(t){const e=[];for(let n in t)t.hasOwnProperty(n)&&e.push({propName:t[n],templateName:n});return e}const Qa=new qn("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>Si});class Ja extends Jo{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=t.selectors.map(us).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return Xa(this.componentDef.inputs)}get outputs(){return Xa(this.componentDef.outputs)}create(t,e,n,i){const s=(i=i||this.ngModule)?function(t,e){return{get:(n,i,s)=>{const r=t.get(n,Ka,s);return r!==Ka||i===Ka?r:e.get(n,i,s)}}}(t,i.injector):t,r=s.get(aa,ge),o=s.get(ua,null),a=r.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",c=n?function(t,e,n){if(me(t))return t.selectRootElement(e,n===Tt.ShadowDom);let i="string"==typeof e?t.querySelector(e):e;return i.textContent="",i}(a,n,this.componentDef.encapsulation):Pi(r.createRenderer(null,this.componentDef),l,function(t){const e=t.toLowerCase();return"svg"===e?"http://www.w3.org/2000/svg":"math"===e?"http://www.w3.org/1998/MathML/":null}(l)),u=this.componentDef.onPush?576:528,h={components:[],scheduler:Si,clean:er,playerHandler:null,flags:0}
vendor: 4,946 bytes, lines 934-972
934,d=Ps(0,null,null,1,0,null,null,null,null,null),p=ws(null,d,h,u,null,null,r,a,o,s);let f,m;Qe(p);try{const t=function(t,e,n,i,s,r){const o=n[1];n[20]=t;const a=Cs(o,20,2,"#host",null),l=a.mergedAttrs=e.hostAttrs;null!==l&&(lr(a,l,!0),null!==t&&(gn(s,t,l),null!==a.classes&&Qi(s,t,a.classes),null!==a.styles&&Xi(s,t,a.styles)));const c=i.createRenderer(t,e),u=ws(n,Ds(e),null,e.onPush?64:16,n[20],a,i,c,null,null);return o.firstCreatePass&&(Dn(Tn(a,n),o,e.type),zs(o,a),Bs(a,n.length,1)),Ys(n,u),n[20]=u}(c,this.componentDef,p,r,a);if(c)if(n)gn(a,c,["ng-version",da.full]);else{const{attrs:t,classes:e}=function(t){const e=[],n=[];let i=1,s=2;for(;i<t.length;){let r=t[i];if("string"==typeof r)2===s?""!==r&&e.push(r,t[++i]):8===s&&n.push(r);else{if(!rs(s))break;s=r}i++}return{attrs:e,classes:n}}(this.componentDef.selectors[0]);t&&gn(a,c,t),e&&e.length>0&&Qi(a,c,e.join(" "))}if(m=be(d,Jt),void 0!==e){const t=m.projection=[];for(let n=0;n<this.ngContentSelectors.length;n++){const i=e[n];t.push(null!=i?Array.from(i):null)}}f=function(t,e,n,i,s){const r=n[1],o=function(t,e,n){const i=Me();t.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),Hs(t,i,e,Ss(t,e,1,null),n));const s=zn(e,t,i.directiveStart,i);Ci(s,e);const r=ve(i,e);return r&&Ci(r,e),s}(r,n,e);if(i.components.push(o),t[8]=o,s&&s.forEach(t=>t(o,e)),e.contentQueries){const t=Me();e.contentQueries(1,o,t.directiveStart)}const a=Me();return!r.firstCreatePass||null===e.hostBindings&&null===e.hostAttrs||(on(a.index),Vs(n[1],a,0,a.directiveStart,a.directiveEnd,e),Ls(e,o)),o}(t,this.componentDef,p,h,[xr]),Es(d,p,null)}finally{sn()}return new tl(this.componentType,f,ia(m,p),p,m)}}class tl extends class{}{constructor(t,e,n,i,s){super(),this.location=n,this._rootLView=i,this._tNode=s,this.instance=e,this.hostView=this.changeDetectorRef=new Aa(i),this.componentType=t}get injector(){return new Hn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}
935/**
936 * @license
937 * Copyright Google LLC All Rights Reserved.
938 *
939 * Use of this source code is governed by an MIT-style license that can be
940 * found in the LICENSE file at https://angular.io/license
941 */
942/**
943 * @license
944 * Copyright Google LLC All Rights Reserved.
945 *
946 * Use of this source code is governed by an MIT-style license that can be
947 * found in the LICENSE file at https://angular.io/license
948 */
949const el=new Map;
950/**
951 * @license
952 * Copyright Google LLC All Rights Reserved.
953 *
954 * Use of this source code is governed by an MIT-style license that can be
955 * found in the LICENSE file at https://angular.io/license
956 */
957class nl extends Ba{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new Ya(this);const n=Qt(t),i=t[zt]||null;i&&Zo(i),this._bootstrapComponents=Ei(n.bootstrap),this._r3Injector=_r(t,e,[{provide:Ba,useValue:this},{provide:ea,useValue:this.componentFactoryResolver}],nt(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,e=kr.THROW_IF_NOT_FOUND,n=wt.Default){return t===kr||t===Ba||t===cr?this:this._r3Injector.get(t,e,n)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class il extends class{}{constructor(t){super(),this.moduleType=t,null!==Qt(t)&&function(t){const e=new Set;!function t(n){const i=Qt(n,!0),s=i.id;null!==s&&(function(t,e,n){if(e&&e!==n)throw new Error(`Duplicate module registered for ${t} - ${nt(e)} vs ${nt(e.name)}`)}(s,el.get(s),n),el.set(s,n));const r=Ei(i.imports);for(const o of r)e.has(o)||(e.add(o),t(o))}(t)}(t)}create(t){return new nl(this.moduleType,t)}}
958/**
959 * @license
960 * Copyright Google LLC All Rights Reserved.
961 *
962 * Use of this source code is governed by an MIT-style license that can be
963 * found in the LICENSE file at https://angular.io/license
964 */function sl(t,e){const n=t[e];return n===hs?void 0:n}
965/**
966 * @license
967 * Copyright Google LLC All Rights Reserved.
968 *
969 * Use of this source code is governed by an MIT-style license that can be
970 * found in the LICENSE file at https://angular.io/license
971 */
972function rl(t,e){const n=Pe();let i;const s=t+Jt;n.firstCreatePass?(i=function(t,e){if(e)for(let n=e.length-1;n>=0;n--){const i=e[n];if(t===i.name)return i}throw new lt("302",`The pipe '${t}' could not be found!`)}(e,n.pipeRegistry),n.data[s]=i,i.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(s,i.onDestroy)):i=n.data[s];const r=i.factory||(i.factory=ae(i.type)),o=St($r);try{const t=kn(!1),e=r();return kn(t),function(t,e,n,i){n>=t.data.length&&(t.data[n]=null,t.blueprint[n]=null),e[n]=i}(n,De(),s,e),e}finally{St(o)}}function ol(t,e,n){const i=t+Jt,s=De(),r=we(s,i);return cl(s,ll(s,i)?function(t,e,n,i,s,r){const o=e+n;return Lr(t,o,s)?Vr(t,o+1,r?i.call(r,s):i(s)):sl(t,o+1)}(s,Be(),e,r.transform,n,r):r.transform(n))}function al(t,e,n,i){const s=t+Jt,r=De(),o=we(r,s);
972return cl(r,ll(r,s)?function(t,e,n,i,s,r,o){const a=e+n;return zr(t,a,s,r)?Vr(t,a+2,o?i.call(o,s,r):i(s,r)):sl(t,a+2)}(r,Be(),e,o.transform,n,i,o):o.transform(n,i))}function ll(t,e){return t[1].data[e].pure}function cl(t,e){return Mr.isWrapped(e)&&(e=Mr.unwrap(e),t[He()]=hs),e}
973/**
974 * @license
975 * Copyright Google LLC All Rights Reserved.
976 *
977 * Use of this source code is governed by an MIT-style license that can be
978 * found in the LICENSE file at https://angular.io/license
979 */const ul=class extends S{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,n){let i,s=t=>null,r=()=>null;t&&"object"==typeof t?(i=this.__isAsync?e=>{setTimeout(()=>t.next(e))}:e=>{t.next(e)},t.error&&(s=this.__isAsync?e=>{setTimeout(()=>t.error(e))}:e=>{t.error(e)}),t.complete&&(r=this.__isAsync?()=>{setTimeout(()=>t.complete())}:()=>{t.complete()})):(i=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)},e&&(s=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)}),n&&(r=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const o=super.subscribe(i,s,r);return t instanceof h&&t.add(o),o}};
980/**
981 * @license
982 * Copyright Google LLC All Rights Reserved.
983 *
984 * Use of this source code is governed by an MIT-style license that can be
985 * found in the LICENSE file at https://angular.io/license
986 */function hl(){return this._results[Rr()]()}class dl{constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const e=Rr(),n=dl.prototype;n[e]||(n[e]=hl)}get changes(){return this._changes||(this._changes=new ul)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,e){const n=this;n.dirty=!1;const i=Kn(t);(this._changesDetected=!function(t,e,n){if(t.length!==e.length)return!1;for(let i=0;i<t.length;i++){let s=t[i],r=e[i];if(n&&(s=n(s),r=n(r)),r!==s)return!1}return!0}(n._results,i,e))&&(n._results=i,n.length=i.length,n.last=i[this.length-1],n.first=i[0])}notifyOnChanges(){!this._changes||!this._changesDetected&&this._emitDistinctChangesOnly||this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}
987/**
988 * @license
989 * Copyright Google LLC All Rights Reserved.
990 *
991 * Use of this source code is governed by an MIT-style license that can be
992 * found in the LICENSE file at https://angular.io/license
993 */class pl{constructor(t){this.queryList=t,this.matches=null}clone(){return new pl(this.queryList)}setDirty(){this.queryList.setDirty()}}class fl{constructor(t=[]){this.queries=t}createEmbeddedView(t){const e=t.queries;if(null!==e){const n=null!==t.contentQueries?t.contentQueries[0]:e.length,i=[];for(let t=0;t<n;t++){const n=e.getByIndex(t);i.push(this.queries[n.indexInDeclarationView].clone())}return new fl(i)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let e=0;e<this.queries.length;e++)null!==Ol(t,e).matches&&this.queries[e].setDirty()}}class ml{constructor(t,e,n=null){this.predicate=t,this.flags=e,this.read=n}}class gl{constructor(t=[]){this.queries=t}elementStart(t,e){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(t,e)}elementEnd(t){for(let e=0;e<this.queries.length;e++)this.queries[e].elementEnd(t)}embeddedTView(t){let e=null;for(let n=0;n<this.length;n++){const i=null!==e?e.length:0,s=this.getByIndex(n).embeddedTView(t,i);s&&(s.indexInDeclarationView=n,null!==e?e.push(s):e=[s])}return null!==e?new gl(e):null}template(t,e){for(let n=0;n<this.queries.length;n++)this.queries[n].template(t,e)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class _l{constructor(t,e=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=e}elementStart(t,e){this.isApplyingToNode(e)&&this.matchTNode(t,e)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,e){this.elementStart(t,e)}embeddedTView(t,e){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,e),new _l(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const e=this._declarationNodeIndex;let n=t.parent;for(;null!==n&&8&n.type&&n.index!==e;)n=n.parent;return e===(null!==n?n.index:-1)}return this._appliesToNextNode}
993matchTNode(t,e){const n=this.metadata.predicate;if(Array.isArray(n))for(let i=0;i<n.length;i++){const s=n[i];this.matchTNodeWithReadOption(t,e,yl(e,s)),this.matchTNodeWithReadOption(t,e,Ln(e,t,s,!1,!1))}else n===Va?4&e.type&&this.matchTNodeWithReadOption(t,e,-1):this.matchTNodeWithReadOption(t,e,Ln(e,t,n,!1,!1))}matchTNodeWithReadOption(t,e,n){if(null!==n){const i=this.metadata.read;if(null!==i)if(i===ra||i===$a||i===Va&&4&e.type)this.addMatch(e.index,-2);else{const n=Ln(e,t,i,!1,!1);null!==n&&this.addMatch(e.index,n)}else this.addMatch(e.index,n)}}addMatch(t,e){null===this.matches?this.matches=[t,e]:this.matches.push(t,e)}}function yl(t,e){const n=t.localNames;if(null!==n)for(let i=0;i<n.length;i+=2)if(n[i]===e)return n[i+1];return null}function vl(t,e,n,i){return-1===n?function(t,e){return 11&t.type?ia(t,e):4&t.type?ja(t,e):null}(e,t):-2===n?function(t,e,n){return n===ra?ia(e,t):n===Va?ja(e,t):n===$a?Wa(e,t):void 0}(t,e,i):zn(t,t[1],n,e)}function bl(t,e,n,i){const s=e[19].queries[i];if(null===s.matches){const i=t.data,r=n.matches,o=[];for(let t=0;t<r.length;t+=2){const s=r[t];o.push(s<0?null:vl(e,i[s],r[t+1],n.metadata.read))}s.matches=o}return s.matches}function wl(t,e,n,i){const s=t.queries.getByIndex(n),r=s.matches;if(null!==r){const o=bl(t,e,s,n);for(let t=0;t<r.length;t+=2){const n=r[t];if(n>0)i.push(o[t/2]);else{const s=r[t+1],o=e[-n];for(let t=te;t<o.length;t++){const e=o[t];e[17]===e[3]&&wl(e[1],e,s,i)}if(null!==o[9]){const t=o[9];for(let e=0;e<t.length;e++){const n=t[e];wl(n[1],n,s,i)}}}}}return i}function Cl(t){const e=De(),n=Pe(),i=We();Ke(i+1);const s=Ol(n,i);if(t.dirty&&Ee(e)===(2==(2&s.metadata.flags))){if(null===s.matches)t.reset([]);else{const r=s.crossesNgTemplate?wl(n,e,i,[]):bl(n,e,s,i);t.reset(r,oa),t.notifyOnChanges()}return!0}return!1}function Sl(t,e,n){const i=Pe();i.firstCreatePass&&(Tl(i,new ml(t,e,n),-1),2==(2&e)&&(i.staticViewQueries=!0)),xl(i,De(),e)}function El(t,e,n,i){const s=Pe();if(s.firstCreatePass){const r=Me();Tl(s,new ml(e,n,i),r.index),function(t,e){const n=t.contentQueries||(t.contentQueries=[]);e!==(n.length?n[n.length-1]:-1)&&n.push(t.queries.length-1,e)}(s,t),2==(2&n)&&(s.staticContentQueries=!0)}xl(s,De(),n)}function kl(){return t=De(),e=We(),t[19].queries[e].queryList;var t,e}
vendor: 10,755 bytes, lines 993-1046
993function xl(t,e,n){const i=new dl(4==(4&n));Rs(t,e,i,i.destroy),null===e[19]&&(e[19]=new fl),e[19].queries.push(new pl(i))}function Tl(t,e,n){null===t.queries&&(t.queries=new gl),t.queries.track(new _l(e,n))}function Ol(t,e){return t.queries.getByIndex(e)}
994/**
995 * @license
996 * Copyright Google LLC All Rights Reserved.
997 *
998 * Use of this source code is governed by an MIT-style license that can be
999 * found in the LICENSE file at https://angular.io/license
1000 */const Al=new qn("Application Initializer");let Il=(()=>{class t{constructor(t){this.appInits=t,this.resolve=na,this.reject=na,this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}runInitializers(){if(this.initialized)return;const t=[],e=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n<this.appInits.length;n++){const e=this.appInits[n]();Qr(e)&&t.push(e)}Promise.all(t).then(()=>{e()}).catch(t=>{this.reject(t)}),0===t.length&&e(),this.initialized=!0}}return t.\u0275fac=function(e){return new(e||t)(ui(Al,8))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})();
1001/**
1002 * @license
1003 * Copyright Google LLC All Rights Reserved.
1004 *
1005 * Use of this source code is governed by an MIT-style license that can be
1006 * found in the LICENSE file at https://angular.io/license
1007 */
1008const Dl=new qn("AppId"),Pl={provide:Dl,useFactory:function(){return`${Rl()}${Rl()}${Rl()}`},deps:[]};function Rl(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Ml=new qn("Platform Initializer"),Nl=new qn("Platform ID"),Fl=new qn("appBootstrapListener");let Vl=(()=>{class t{log(t){console.log(t)}warn(t){console.warn(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})();
1009/**
1010 * @license
1011 * Copyright Google LLC All Rights Reserved.
1012 *
1013 * Use of this source code is governed by an MIT-style license that can be
1014 * found in the LICENSE file at https://angular.io/license
1015 */
1016const Ll=new qn("LocaleId"),zl=new qn("DefaultCurrencyCode");
1017/**
1018 * @license
1019 * Copyright Google LLC All Rights Reserved.
1020 *
1021 * Use of this source code is governed by an MIT-style license that can be
1022 * found in the LICENSE file at https://angular.io/license
1023 */
1024class jl{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}const Bl=function(t){return new il(t)},Hl=Bl,$l=function(t){return Promise.resolve(Bl(t))},Zl=function(t){const e=Bl(t),n=Ei(Qt(t).declarations).reduce((t,e)=>{const n=Xt(e);return n&&t.push(new Ja(n)),t},[]);return new jl(e,n)},Ul=Zl,Gl=function(t){return Promise.resolve(Zl(t))};let ql=(()=>{class t{constructor(){this.compileModuleSync=Hl,this.compileModuleAsync=$l,this.compileModuleAndAllComponentsSync=Ul,this.compileModuleAndAllComponentsAsync=Gl}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})();const Wl=(()=>Promise.resolve(0))();function Kl(t){"undefined"==typeof Zone?Wl.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}
1025/**
1026 * @license
1027 * Copyright Google LLC All Rights Reserved.
1028 *
1029 * Use of this source code is governed by an MIT-style license that can be
1030 * found in the LICENSE file at https://angular.io/license
1031 */
1032/**
1033 * @license
1034 * Copyright Google LLC All Rights Reserved.
1035 *
1036 * Use of this source code is governed by an MIT-style license that can be
1037 * found in the LICENSE file at https://angular.io/license
1038 */
1039class Yl{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ul(!1),this.onMicrotaskEmpty=new ul(!1),this.onStable=new ul(!1),this.onError=new ul(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!n&&e,i.shouldCoalesceRunChangeDetection=n,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function(){let t=Pt.requestAnimationFrame,e=Pt.cancelAnimationFrame;if("undefined"!=typeof Zone&&t&&e){const n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n);const i=e[Zone.__symbol__("OriginalDelegate")];i&&(e=i)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function(t){const e=()=>{!function(t){-1===t.lastRequestAnimationFrameId&&(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(Pt,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,Jl(t),Ql(t)},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),Jl(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,i,s,r,o,a)=>{try{return tc(t),n.invokeTask(s,r,o,a)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===r.type||t.shouldCoalesceRunChangeDetection)&&e(),ec(t)}},onInvoke:(n,i,s,r,o,a,l)=>{try{return tc(t),n.invoke(s,r,o,a,l)}finally{t.shouldCoalesceRunChangeDetection&&e(),ec(t)}},onHasTask:(e,n,i,s)=>{e.hasTask(i,s),n===i&&("microTask"==s.change?(t._hasPendingMicrotasks=s.microTask,Jl(t),Ql(t)):"macroTask"==s.change&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(e,n,i,s)=>(e.handleError(i,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}(i)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Yl.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Yl.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,e,n){return this._inner.run(t,e,n)}runTask(t,e,n,i){const s=this._inner,r=s.scheduleEventTask("NgZoneEvent: "+i,t,Xl,na,na);try{return s.runTask(r,e,n)}finally{s.cancelTask(r)}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n)}runOutsideAngular(t){return this._outer.run(t)}}const Xl={};function Ql(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function Jl(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function tc(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function ec(t){t._nesting--,Ql(t)}class nc{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ul,this.onMicrotaskEmpty=new ul,this.onStable=new ul,this.onError=new ul}run(t,e,n){return t.apply(e,n)}runGuarded(t,e,n){return t.apply(e,n)}runOutsideAngular(t){return t()}runTask(t,e,n,i){return t.apply(e,n)}}let ic=(()=>{class t{constructor(t){this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Yl.assertNotInAngularZone(),Kl(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())Kl(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(e=>!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,e,n){let i=-1;e&&e>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(t=>t.timeoutId!==i),t(this._didWork,this.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:i,updateCb:n})}whenStable(t,e,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(t,e,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(t,e,n){return[]}}return t.\u0275fac=function(e){return new(e||t)(ui(Yl))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})(),sc=(()=>{class t{constructor(){this._applications=new Map,ac.addToWindow(this)}registerApplication(t,e){this._applications.set(t,e)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,e=!0){return ac.findTestabilityInTree(this,t,e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})();class rc{addToWindow(t){}findTestabilityInTree(t,e,n){return null}}let oc,ac=new rc,lc=!0,cc=!1;
1040/**
1041 * @license
1042 * Copyright Google LLC All Rights Reserved.
1043 *
1044 * Use of this source code is governed by an MIT-style license that can be
1045 * found in the LICENSE file at https://angular.io/license
1046 */function uc(){return cc=!0,lc}const hc=new qn("AllowMultipleToken");function dc(t,e,n=[]){const i=`Platform: ${e}`,s=new qn(i);return(e=[])=>{let r=pc();if(!r||r.injector.get(hc,!1))if(t)t(n.concat(e).concat({provide:s,useValue:!0}));else{const t=n.concat(e).concat({provide:s,useValue:!0},{provide:hr,useValue:"platform"});!function(t){if(oc&&!oc.destroyed&&!oc.injector.get(hc,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");oc=t.get(fc);const e=t.get(Ml,null);e&&e.forEach(t=>t())}(kr.create({providers:t,name:i}))}return function(t){const e=pc();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different c
1046onfiguration has been created. Please destroy it first.");return e}(s)}}function pc(){return oc&&!oc.destroyed?oc:null}let fc=(()=>{class t{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,e){const n=function(t,e){let n;return n="noop"===t?new nc:("zone.js"===t?void 0:t)||new Yl({enableLongStackTrace:uc(),shouldCoalesceEventChangeDetection:!!(null==e?void 0:e.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==e?void 0:e.ngZoneRunCoalescing)}),n}(e?e.ngZone:void 0,{ngZoneEventCoalescing:e&&e.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:e&&e.ngZoneRunCoalescing||!1}),i=[{provide:Yl,useValue:n}];return n.run(()=>{const e=kr.create({providers:i,parent:this.injector,name:t.moduleType.name}),s=t.create(e),r=s.injector.get(wi,null);if(!r)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.runOutsideAngular(()=>{const t=n.onError.subscribe({next:t=>{r.handleError(t)}});s.onDestroy(()=>{_c(this._modules,s),t.unsubscribe()})}),function(t,e,n){try{const i=n();return Qr(i)?i.catch(n=>{throw e.runOutsideAngular(()=>t.handleError(n)),n}):i}catch(i){throw e.runOutsideAngular(()=>t.handleError(i)),i}}(r,n,()=>{const t=s.injector.get(Il);return t.runInitializers(),t.donePromise.then(()=>(Zo(s.injector.get(Ll,Ho)||Ho),this._moduleDoBootstrap(s),s))})})}bootstrapModule(t,e=[]){const n=mc({},e);return function(t,e,n){const i=new il(n);return Promise.resolve(i)}(0,0,t).then(t=>this.bootstrapModuleFactory(t,n))}_moduleDoBootstrap(t){const e=t.injector.get(gc);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(t=>e.bootstrap(t));else{if(!t.instance.ngDoBootstrap)throw new Error(`The module ${nt(t.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);t.instance.ngDoBootstrap(e)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(t=>t.destroy()),this._destroyListeners.forEach(t=>t()),this._destroyed=!0}get destroyed(){return this._destroyed}}return t.\u0275fac=function(e){return new(e||t)(ui(kr))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})();function mc(t,e){return Array.isArray(e)?e.reduce(mc,t):Object.assign(Object.assign({},t),e)}let gc=(()=>{class t{constructor(t,e,n,i,s){this._zone=t,this._injector=e,this._exceptionHandler=n,this._componentFactoryResolver=i,this._initStatus=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const r=new y(t=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{t.next(this._stable),t.complete()})}),o=new y(t=>{let e;this._zone.runOutsideAngular(()=>{e=this._zone.onStable.subscribe(()=>{Yl.assertNotInAngularZone(),Kl(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,t.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{Yl.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{t.next(!1)}))});return()=>{e.unsubscribe(),n.unsubscribe()}});this.isStable=U(r,o.pipe(J()))}bootstrap(t,e){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let n;n=t instanceof Jo?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);const i=n.isBoundToModule?void 0:this._injector.get(Ba),s=n.create(kr.NULL,[],e||n.selector,i),r=s.location.nativeElement,o=s.injector.get(ic,null),a=o&&s.injector.get(sc);return o&&a&&a.registerApplication(r,o),s.onDestroy(()=>{this.detachView(s.hostView),_c(this.components,s),a&&a.unregisterApplication(r)}),this._loadComponent(s),s}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let t of this._views)t.detectChanges()}catch(t){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(t))}finally{this._runningTick=!1}}attachView(t){const e=t;this._views.push(e),e.attachToAppRef(this)}detachView(t){const e=t;_c(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(Fl,[]).concat(this._bootstrapListeners).forEac
1046h(e=>e(t))}ngOnDestroy(){this._views.slice().forEach(t=>t.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return t.\u0275fac=function(e){return new(e||t)(ui(Yl),ui(kr),ui(wi),ui(ea),ui(Il))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})();function _c(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}const yc=dc(null,"core",[{provide:Nl,useValue:"unknown"},{provide:fc,deps:[kr]},{provide:sc,deps:[]},{provide:Vl,deps:[]}]),vc=[{provide:gc,useClass:gc,deps:[Yl,kr,wi,ea,Il]},{provide:Qa,deps:[Yl],useFactory:function(t){let e=[];return t.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(t){e.push(t)}}},{provide:Il,useClass:Il,deps:[[new mi,Al]]},{provide:ql,useClass:ql,deps:[]},Pl,{provide:Ea,useFactory:
1047/**
1048 * @license
1049 * Copyright Google LLC All Rights Reserved.
1050 *
1051 * Use of this source code is governed by an MIT-style license that can be
1052 * found in the LICENSE file at https://angular.io/license
1053 */
1054function(){return Ma},deps:[]},{provide:xa,useFactory:function(){return Na},deps:[]},{provide:Ll,useFactory:function(t){return Zo(t=t||"undefined"!=typeof $localize&&$localize.locale||Ho),t},deps:[[new fi(Ll),new mi,new gi]]},{provide:zl,useValue:"USD"}];let bc=(()=>{class t{constructor(t){}}return t.\u0275fac=function(e){return new(e||t)(ui(gc))},t.\u0275mod=qt({type:t}),t.\u0275inj=pt({providers:vc}),t})(),wc=null;function Cc(){return wc}
1055/**
1056 * @license
1057 * Copyright Google LLC All Rights Reserved.
1058 *
1059 * Use of this source code is governed by an MIT-style license that can be
1060 * found in the LICENSE file at https://angular.io/license
1061 */
1062const Sc=new qn("DocumentToken");let Ec=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=dt({factory:kc,token:t,providedIn:"platform"}),t})();function kc(){return ui(xc)}let xc=(()=>{class t extends Ec{constructor(t){super(),this._doc=t,this._init()}_init(){this.location=Cc().getLocation(),this._history=Cc().getHistory()}getBaseHrefFromDOM(){return Cc().getBaseHref(this._doc)}onPopState(t){Cc().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",t,!1)}onHashChange(t){Cc().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",t,!1)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(t){this.location.pathname=t}pushState(t,e,n){Tc()?this._history.pushState(t,e,n):this.location.hash=n}replaceState(t,e,n){Tc()?this._history.replaceState(t,e,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}getState(){return this._history.state}}return t.\u0275fac=function(e){return new(e||t)(ui(Sc))},t.\u0275prov=dt({factory:Oc,token:t,providedIn:"platform"}),t})();function Tc(){return!!window.history.pushState}function Oc(){return new xc(ui(Sc))}
1063/**
1064 * @license
1065 * Copyright Google LLC All Rights Reserved.
1066 *
1067 * Use of this source code is governed by an MIT-style license that can be
1068 * found in the LICENSE file at https://angular.io/license
1069 */
1070/**
1071 * @license
1072 * Copyright Google LLC All Rights Reserved.
1073 *
1074 * Use of this source code is governed by an MIT-style license that can be
1075 * found in the LICENSE file at https://angular.io/license
1076 */function Ac(t,e){if(0==t.length)return e;if(0==e.length)return t;let n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e}function Ic(t){const e=t.match(/#|\?|$/),n=e&&e.index||t.length;return t.slice(0,n-("/"===t[n-1]?1:0))+t.slice(n)}function Dc(t){return t&&"?"!==t[0]?"?"+t:t}let Pc=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=dt({factory:Rc,token:t,providedIn:"root"}),t})();function Rc(t){const e=ui(Sc).location;return new Nc(ui(Ec),e&&e.origin||"")}const Mc=new qn("appBaseHref");let Nc=(()=>{class t extends Pc{constructor(t,e){if(super(),this._platformLocation=t,null==e&&(e=this._platformLocation.getBaseHrefFromDOM()),null==e)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=e}onPopState(t){this._platformLocation.onPopState(t),this._platformLocation.on
1076HashChange(t)}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return Ac(this._baseHref,t)}path(t=!1){const e=this._platformLocation.pathname+Dc(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?`${e}${n}`:e}pushState(t,e,n,i){const s=this.prepareExternalUrl(n+Dc(i));this._platformLocation.pushState(t,e,s)}replaceState(t,e,n,i){const s=this.prepareExternalUrl(n+Dc(i));this._platformLocation.replaceState(t,e,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return t.\u0275fac=function(e){return new(e||t)(ui(Ec),ui(Mc,8))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})(),Fc=(()=>{class t{constructor(t,e){this._subject=new ul,this._urlChangeListeners=[],this._platformStrategy=t;const n=this._platformStrategy.getBaseHref();this._platformLocation=e,this._baseHref=Ic(Lc(n)),this._platformStrategy.onPopState(t=>{this._subject.emit({url:this.path(!0),pop:!0,state:t.state,type:t.type})})}path(t=!1){return this.normalize(this._platformStrategy.path(t))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(t,e=""){return this.path()==this.normalize(t+Dc(e))}normalize(e){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,Lc(e)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)}go(t,e="",n=null){this._platformStrategy.pushState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Dc(e)),n)}replaceState(t,e="",n=null){this._platformStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Dc(e)),n)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}onUrlChange(t){this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(t=>{this._notifyUrlChangeListeners(t.url,t.state)}))}_notifyUrlChangeListeners(t="",e){this._urlChangeListeners.forEach(n=>n(t,e))}subscribe(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})}}return t.\u0275fac=function(e){return new(e||t)(ui(Pc),ui(Ec))},t.normalizeQueryParams=Dc,t.joinWithSlash=Ac,t.stripTrailingSlash=Ic,t.\u0275prov=dt({factory:Vc,token:t,providedIn:"root"}),t})();function Vc(){return new Fc(ui(Pc),ui(Ec))}function Lc(t){return t.replace(/\/index.html$/,"")}
1077/**
1078 * @license
1079 * Copyright Google LLC All Rights Reserved.
1080 *
1081 * Use of this source code is governed by an MIT-style license that can be
1082 * found in the LICENSE file at https://angular.io/license
1083 */
1084/**
1085 * @license
1086 * Copyright Google LLC All Rights Reserved.
1087 *
1088 * Use of this source code is governed by an MIT-style license that can be
1089 * found in the LICENSE file at https://angular.io/license
1090 */const zc={ADP:[void 0,void 0,0],AFN:[void 0,void 0,0],ALL:[void 0,void 0,0],AMD:[void 0,void 0,2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,"\u0440.",2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:[void 0,"\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RUR:[void 0,"\u0440."],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["CFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};
1091/**
1092 * @license
1093 * Copyright Google LLC All Rights Reserved.
1094 *
1095 * Use of this source code is governed by an MIT-style license that can be
1096 * found in the LICENSE file at https://angular.io/license
1097 */var jc=function(t){return t[t.Decimal=0]="Decimal",t[t.Percent=1]="Percent",t[t.Currency=2]="Currency",t[t.Scie
vendor: 10,829 bytes, lines 1097-1148
1097ntific=3]="Scientific",t}({}),Bc=function(t){return t[t.Zero=0]="Zero",t[t.One=1]="One",t[t.Two=2]="Two",t[t.Few=3]="Few",t[t.Many=4]="Many",t[t.Other=5]="Other",t}({}),Hc=function(t){return t[t.Decimal=0]="Decimal",t[t.Group=1]="Group",t[t.List=2]="List",t[t.PercentSign=3]="PercentSign",t[t.PlusSign=4]="PlusSign",t[t.MinusSign=5]="MinusSign",t[t.Exponential=6]="Exponential",t[t.SuperscriptingExponent=7]="SuperscriptingExponent",t[t.PerMille=8]="PerMille",t[t[1/0]=9]="Infinity",t[t.NaN=10]="NaN",t[t.TimeSeparator=11]="TimeSeparator",t[t.CurrencyDecimal=12]="CurrencyDecimal",t[t.CurrencyGroup=13]="CurrencyGroup",t}({});function $c(t,e){const n=zo(t),i=n[Bo.NumberSymbols][e];if(void 0===i){if(e===Hc.CurrencyDecimal)return n[Bo.NumberSymbols][Hc.Decimal];if(e===Hc.CurrencyGroup)return n[Bo.NumberSymbols][Hc.Group]}return i}const Zc=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Uc=".",Gc="0";function qc(t){const e=parseInt(t);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+t);return e}
1098/**
1099 * @license
1100 * Copyright Google LLC All Rights Reserved.
1101 *
1102 * Use of this source code is governed by an MIT-style license that can be
1103 * found in the LICENSE file at https://angular.io/license
1104 */class Wc{}let Kc=(()=>{class t extends Wc{constructor(t){super(),this.locale=t}getPluralCategory(t,e){switch(function(t){return zo(t)[Bo.PluralCase]}(e||this.locale)(t)){case Bc.Zero:return"zero";case Bc.One:return"one";case Bc.Two:return"two";case Bc.Few:return"few";case Bc.Many:return"many";default:return"other"}}}return t.\u0275fac=function(e){return new(e||t)(ui(Ll))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})();
1105/**
1106 * @license
1107 * Copyright Google LLC All Rights Reserved.
1108 *
1109 * Use of this source code is governed by an MIT-style license that can be
1110 * found in the LICENSE file at https://angular.io/license
1111 */function Yc(t,e,n){return function(t,e,n){"string"!=typeof e&&(n=e,e=t[Bo.LocaleId]),e=e.toLowerCase().replace(/_/g,"-"),Lo[e]=t,n&&(Lo[e][Bo.ExtraData]=n)}(t,e,n)}
1112/**
1113 * @license
1114 * Copyright Google LLC All Rights Reserved.
1115 *
1116 * Use of this source code is governed by an MIT-style license that can be
1117 * found in the LICENSE file at https://angular.io/license
1118 */function Xc(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const t=n.indexOf("="),[i,s]=-1==t?[n,""]:[n.slice(0,t),n.slice(t+1)];if(i.trim()===e)return decodeURIComponent(s)}return null}let Qc=(()=>{class t{constructor(t,e,n,i){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=n,this._renderer=i,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&(Nr(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){const t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}}_applyKeyValueChanges(t){t.forEachAddedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachChangedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachRemovedItem(t=>{t.previousValue&&this._toggleClass(t.key,!1)})}_applyIterableChanges(t){t.forEachAddedItem(t=>{if("string"!=typeof t.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${nt(t.item)}`);this._toggleClass(t.item,!0)}),t.forEachRemovedItem(t=>this._toggleClass(t.item,!1))}_applyClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!0)):Object.keys(t).forEach(e=>this._toggleClass(e,!!t[e])))}_removeClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!1)):Object.keys(t).forEach(t=>this._toggleClass(t,!1)))}_toggleClass(t,e){(t=t.trim())&&t.split(/\s+/g).forEach(t=>{e?this._renderer.addClass(this._ngEl.nativeElement,t):this._renderer.removeClass(this._ngEl.nativeElement,t)})}}return t.\u0275fac=function(e){return new(e||t)($r(Ea),$r(xa),$r(ra),$r(la))},t.\u0275dir=Kt({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),t})();
1119/**
1120 * @license
1121 * Copyright Google LLC All Rights Reserved.
1122 *
1123 * Use of this source code is governed by an MIT-style license that can be
1124 * found in the LICENSE file at https://angular.io/license
1125 */
1126class Jc{constructor(t,e,n,i){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=i}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let tu=(()=>{class t{constructor(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;if(!this._differ&&n)try{this._differ=this._differs.find(n).create(this.ngForTrackBy)}catch(e){throw new Error(`Cannot find a differ supporting object '${n}' of type '${t=n,t.name||typeof t}'. NgFor only supports binding to Iterables such as Arrays.`)}}var t;if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const e=[];t.forEachOperation((t,n,i)=>{if(null==t.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new Jc(null,this._ngForOf,-1,-1),null===i?void 0:i),s=new eu(t,n);e.push(s)}else if(null==i)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const s=this._viewContainer.get(n);this._viewContainer.move(s,i);const r=new eu(t,s);e.push(r)}});for(let n=0;n<e.length;n++)this._perViewChange(e[n].view,e[n].record);for(let n=0,i=this._viewContainer.length;n<i;n++){const t=this._viewContainer.get(n);t.context.index=n,t.context.count=i,t.context.ngForOf=this._ngForOf}t.forEachIdentityChange(t=>{this._viewContainer.get(t.currentIndex).context.$implicit=t.item})}_perViewChange(t,e){t.context.$implicit=e.item}static ngTemplateContextGuard(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)($r($a),$r(Va),$r(Ea))},t.\u0275dir=Kt({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),t})();class eu{constructor(t,e){this.record=t,this.view=e}}let nu=(()=>{class t{constructor(t,e){this._viewContainer=t,this._context=new iu,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=e}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){su("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){su("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){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)))}static ngTemplateContextGuard(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)($r($a),$r(Va))},t.\u0275dir=Kt({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),t})();class iu{constructor(){this.$implicit=null,this.ngIf=null}}function su(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${nt(e)}'.`)}
1127/**
1128 * @license
1129 * Copyright Google LLC All Rights Reserved.
1130 *
1131 * Use of this source code is governed by an MIT-style license that can be
1132 * found in the LICENSE file at https://angular.io/license
1133 */class ru{constructor(t,e){this._viewContainerRef=t,this._templateRef=e,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}}let ou=(()=>{class t{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(t){this._ngSwitch=t,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(t){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(t)}_matchCase(t){const e=t==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||e,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),e}_updateDefaultCases(t){if(this._defaultViews&&t!==this._defaultUsed){this._defaultUsed=t;for(let e=0;e<this._defaultViews.length;e++)this._defaultViews[e].enforceState(t)}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Kt({type:t,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),t})(),au=(()=>{class t{constructor(t,e,n){this.ngSwitch=n,n._addCase(),this._view=new ru(t,e)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return t.\u0275fac=function(e){return new(e||t)($r($a),$r(Va),$r(ou,1))},t.\u0275dir=Kt({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),t})(),lu=(()=>{class t{constructor(t,e,n){n._addDefault(new ru(t,e))}}return t.\u0275fac=function(e){return new(e||t)($r($a),$r(Va),$r(ou,1))},t.\u0275dir=Kt({type:t,selectors:[["","ngSwitchDefault",""]]}),t})();
1134/**
1135 * @license
1136 * Copyright Google LLC All Rights Reserved.
1137 *
1138 * Use of this source code is governed by an MIT-style license that can be
1139 * found in the LICENSE file at https://angular.io/license
1140 */
1141function cu(t,e){return Error(`InvalidPipeArgument: '${e}' for pipe '${nt(t)}'`)}
1142/**
1143 * @license
1144 * Copyright Google LLC All Rights Reserved.
1145 *
1146 * Use of this source code is governed by an MIT-style license that can be
1147 * found in the LICENSE file at https://angular.io/license
1148 */class uu{createSubscription(t,e){return t.subscribe({next:e,error:t=>{throw t}})}dispose(t){t.unsubscribe()}onDestroy(t){t.unsubscribe()}}class hu{createSubscription(t,e){return t.then(e,t=>{throw t})}dispose(t){}onDestroy(t){}}
1148const du=new hu,pu=new uu;let fu=(()=>{class t{constructor(t){this._ref=t,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(t){return this._obj?t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue:(t&&this._subscribe(t),this._latestValue)}_subscribe(t){this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,e=>this._updateLatestValue(t,e))}_selectStrategy(e){if(Qr(e))return du;if(Jr(e))return pu;throw cu(t,e)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,e){t===this._obj&&(this._latestValue=e,this._ref.markForCheck())}}return t.\u0275fac=function(e){return new(e||t)(function(t=wt.Default){const e=Pa(!0);if(null!=e||t&wt.Optional)return e;ht("ChangeDetectorRef")}
1149/**
1150 * @license
1151 * Copyright Google LLC All Rights Reserved.
1152 *
1153 * Use of this source code is governed by an MIT-style license that can be
1154 * found in the LICENSE file at https://angular.io/license
1155 */
1156/**
1157 * @license
1158 * Copyright Google LLC All Rights Reserved.
1159 *
1160 * Use of this source code is governed by an MIT-style license that can be
1161 * found in the LICENSE file at https://angular.io/license
1162 */())},t.\u0275pipe=Yt({name:"async",type:t,pure:!1}),t})(),mu=(()=>{class t{constructor(t,e="USD"){this._locale=t,this._defaultCurrencyCode=e}transform(e,n,i="symbol",s,r){if(!function(t){return!(null==t||""===t||t!=t)}(e))return null;r=r||this._locale,"boolean"==typeof i&&(i=i?"symbol":"code");let o=n||this._defaultCurrencyCode;"code"!==i&&(o="symbol"===i||"symbol-narrow"===i?function(t,e,n="en"){const i=function(t){return zo(t)[Bo.Currencies]}(n)[t]||zc[t]||[],s=i[1];return"narrow"===e&&"string"==typeof s?s:i[0]||t}(o,"symbol"===i?"wide":"narrow",r):i);try{return function(t,e,n,i,s){const r=function(t,e="-"){const n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},i=t.split(";"),s=i[0],r=i[1],o=-1!==s.indexOf(Uc)?s.split(Uc):[s.substring(0,s.lastIndexOf(Gc)+1),s.substring(s.lastIndexOf(Gc)+1)],a=o[0],l=o[1]||"";n.posPre=a.substr(0,a.indexOf("#"));for(let u=0;u<l.length;u++){const t=l.charAt(u);t===Gc?n.minFrac=n.maxFrac=u+1:"#"===t?n.maxFrac=u+1:n.posSuf+=t}const c=a.split(",");if(n.gSize=c[1]?c[1].length:0,n.lgSize=c[2]||c[1]?(c[2]||c[1]).length:0,r){const t=s.length-n.posPre.length-n.posSuf.length,e=r.indexOf("#");n.negPre=r.substr(0,e).replace(/'/g,""),n.negSuf=r.substr(e+t).replace(/'/g,"")}else n.negPre=e+n.posPre,n.negSuf=n.posSuf;return n}(function(t,e){return zo(t)[Bo.NumberFormats][e]}(e,jc.Currency),$c(e,Hc.MinusSign));return r.minFrac=function(t){let e;const n=zc[t];return n&&(e=n[2]),"number"==typeof e?e:2}
1163/**
1164 * @license
1165 * Copyright Google LLC All Rights Reserved.
1166 *
1167 * Use of this source code is governed by an MIT-style license that can be
1168 * found in the LICENSE file at https://angular.io/license
1169 */(i),r.maxFrac=r.minFrac,function(t,e,n,i,s,r,o=!1){let a="",l=!1;if(isFinite(t)){let c=function(t){let e,n,i,s,r,o=Math.abs(t)+"",a=0;for((n=o.indexOf(Uc))>-1&&(o=o.replace(Uc,"")),(i=o.search(/e/i))>0?(n<0&&(n=i),n+=+o.slice(i+1),o=o.substring(0,i)):n<0&&(n=o.length),i=0;o.charAt(i)===Gc;i++);if(i===(r=o.length))e=[0],n=1;else{for(r--;o.charAt(r)===Gc;)r--;for(n-=i,e=[],s=0;i<=r;i++,s++)e[s]=Number(o.charAt(i))}return n>22&&(e=e.splice(0,21),a=n-1,n=1),{digits:e,exponent:a,integerLen:n}}(t);o&&(c=function(t){if(0===t.digits[0])return t;const e=t.digits.length-t.integerLen;return t.exponent?t.exponent+=2:(0===e?t.digits.push(0,0):1===e&&t.digits.push(0),t.integerLen+=2),t}(c));let u=e.minInt,h=e.minFrac,d=e.maxFrac;if(r){const t=r.match(Zc);if(null===t)throw new Error(`${r} is not a valid digit info`);const e=t[1],n=t[3],i=t[5];null!=e&&(u=qc(e)),null!=n&&(h=qc(n)),null!=i?d=qc(i):null!=n&&h>d&&(d=h)}!function(t,e,n){if(e>n)throw new Error(`The minimum number of digits after fraction (${e}) is higher than the maximum (${n}).`);let i=t.digits,s=i.length-t.integerLen;const r=Math.min(Math.max(e,s),n);let o=r+t.integerLen,a=i[o];if(o>0){i.splice(Math.max(t.integerLen,o));for(let t=o;t<i.length;t++)i[t]=0}else{s=Math.max(0,s),t.integerLen=1,i.length=Math.max(1,o=r+1),i[0]=0;for(let t=1;t<o;t++)i[t]=0}if(a>=5)if(o-1<0){for(let e=0;e>o;e--)i.unshift(0),t.integerLen++;i.unshift(1),t.integerLen++}else i[o-1]++;for(;s<Math.max(0,r);s++)i.push(0);let l=0!==r;
vendor: 7,434 bytes, lines 1169-1232
1169const c=e+t.integerLen,u=i.reduceRight(function(t,e,n,i){return i[n]=(e+=t)<10?e:e-10,l&&(0===i[n]&&n>=c?i.pop():l=!1),e>=10?1:0},0);u&&(i.unshift(u),t.integerLen++)}(c,h,d);let p=c.digits,f=c.integerLen;const m=c.exponent;let g=[];for(l=p.every(t=>!t);f<u;f++)p.unshift(0);for(;f<0;f++)p.unshift(0);f>0?g=p.splice(f,p.length):(g=p,p=[0]);const _=[];for(p.length>=e.lgSize&&_.unshift(p.splice(-e.lgSize,p.length).join(""));p.length>e.gSize;)_.unshift(p.splice(-e.gSize,p.length).join(""));p.length&&_.unshift(p.join("")),a=_.join($c(n,i)),g.length&&(a+=$c(n,s)+g.join("")),m&&(a+=$c(n,Hc.Exponential)+"+"+m)}else a=$c(n,Hc.Infinity);return a=t<0&&!l?e.negPre+a+e.negSuf:e.posPre+a+e.posSuf,a}(t,r,e,Hc.CurrencyGroup,Hc.CurrencyDecimal,s).replace("\xa4",n).replace("\xa4","").trim()}(function(t){if("string"==typeof t&&!isNaN(Number(t)-parseFloat(t)))return Number(t);if("number"!=typeof t)throw new Error(`${t} is not a number`);return t}(e),r,o,n,s)}catch(a){throw cu(t,a.message)}}}return t.\u0275fac=function(e){return new(e||t)($r(Ll),$r(zl))},t.\u0275pipe=Yt({name:"currency",type:t,pure:!0}),t})(),gu=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=qt({type:t}),t.\u0275inj=pt({providers:[{provide:Wc,useClass:Kc}]}),t})();function _u(t){return"browser"===t}function yu(t){return"server"===t}class vu extends
1170/**
1171 * @license
1172 * Copyright Google LLC All Rights Reserved.
1173 *
1174 * Use of this source code is governed by an MIT-style license that can be
1175 * found in the LICENSE file at https://angular.io/license
1176 */
1177/**
1178 * @license
1179 * Copyright Google LLC All Rights Reserved.
1180 *
1181 * Use of this source code is governed by an MIT-style license that can be
1182 * found in the LICENSE file at https://angular.io/license
1183 */
1184/**
1185 * @license
1186 * Copyright Google LLC All Rights Reserved.
1187 *
1188 * Use of this source code is governed by an MIT-style license that can be
1189 * found in the LICENSE file at https://angular.io/license
1190 */
1191/**
1192 * @license Angular v11.2.5
1193 * (c) 2010-2021 Google LLC. https://angular.io/
1194 * License: MIT
1195 */
1196/**
1197 * @license
1198 * Copyright Google LLC All Rights Reserved.
1199 *
1200 * Use of this source code is governed by an MIT-style license that can be
1201 * found in the LICENSE file at https://angular.io/license
1202 */
1203class extends class{}{constructor(){super()}supportsDOMEvents(){return!0}}
1204/**
1205 * @license
1206 * Copyright Google LLC All Rights Reserved.
1207 *
1208 * Use of this source code is governed by an MIT-style license that can be
1209 * found in the LICENSE file at https://angular.io/license
1210 */{static makeCurrent(){var t;t=new vu,wc||(wc=t)}getProperty(t,e){return t[e]}log(t){window.console&&window.console.log&&window.console.log(t)}logGroup(t){window.console&&window.console.group&&window.console.group(t)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}onAndCancel(t,e,n){return t.addEventListener(e,n,!1),()=>{t.removeEventListener(e,n,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){return t.parentNode&&t.parentNode.removeChild(t),t}getValue(t){return t.value}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getHistory(){return window.history}getLocation(){return window.location}getBaseHref(t){const e=wu||(wu=document.querySelector("base"),wu)?wu.getAttribute("href"):null;return null==e?null:(n=e,bu||(bu=document.createElement("a")),bu.setAttribute("href",n),"/"===bu.pathname.charAt(0)?bu.pathname:"/"+bu.pathname);var n;
1211/**
1212 * @license
1213 * Copyright Google LLC All Rights Reserved.
1214 *
1215 * Use of this source code is governed by an MIT-style license that can be
1216 * found in the LICENSE file at https://angular.io/license
1217 */}resetBaseElement(){wu=null}getUserAgent(){return window.navigator.userAgent}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(t){return Xc(document.cookie,t)}}let bu,wu=null;const Cu=new qn("TRANSITION_ID"),Su=[{provide:Al,useFactory:function(t,e,n){return()=>{n.get(Il).donePromise.then(()=>{const n=Cc();Array.prototype.slice.apply(e.querySelectorAll("style[ng-transition]")).filter(e=>e.getAttribute("ng-transition")===t).forEach(t=>n.remove(t))})}},deps:[Cu,Sc,kr],multi:!0}];
1218/**
1219 * @license
1220 * Copyright Google LLC All Rights Reserved.
1221 *
1222 * Use of this source code is governed by an MIT-style license that can be
1223 * found in the LICENSE file at https://angular.io/license
1224 */
1225class Eu{static init(){var t;t=new Eu,ac=t}addToWindow(t){Pt.getAngularTestability=(e,n=!0)=>{const i=t.findTestabilityInTree(e,n);if(null==i)throw new Error("Could not find testability for element.");return i},Pt.getAllAngularTestabilities=()=>t.getAllTestabilities(),Pt.getAllAngularRootElements=()=>t.getAllRootElements(),Pt.frameworkStabilizers||(Pt.frameworkStabilizers=[]),Pt.frameworkStabilizers.push(t=>{const e=Pt.getAllAngularTestabilities();let n=e.length,i=!1;const s=function(e){i=i||e,n--,0==n&&t(i)};e.forEach(function(t){t.whenStable(s)})})}findTestabilityInTree(t,e,n){if(null==e)return null;const i=t.getTestability(e);return null!=i?i:n?Cc().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}
1226/**
1227 * @license
1228 * Copyright Google LLC All Rights Reserved.
1229 *
1230 * Use of this source code is governed by an MIT-style license that can be
1231 * found in the LICENSE file at https://angular.io/license
1232 */const ku=new qn("EventManagerPlugins");let xu=(()=>{class t{constructor(t,e){this._zone=e,this._eventNameToPlugin=new Map,t.forEach(t=>t.manager=this),this._plugins=t.slice().reverse()}addEventListener(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)}addGlobalEventListener(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)}getZone(){return this._zone}_findPluginFor(t){const e=this._eventNameToPlugin.get(t);if(e)return e;const n=this._plugins;for(let i=0;i<n.length;i++){const e=n[i];if(e.supports(t))return this._eventNameToPlugin.set(t,e),e}throw new Error(`No event manager plugin found for event ${t}`)}}return t.\u0275fac=function(e){return new(e||t)(ui(ku),ui(Yl))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})();class Tu{constructor(t){this._doc=t}addGlobalEventListener(t,e,n){const i=Cc().getGlobalEventTarget(this._doc,t);if(!i)throw new Error(`Unsupported event target ${i} for event ${e}`);return this.addEventListener(i,e,n)}}let Ou=(()=>{class t{constructor(){this._stylesSet=new Set}addStyles(t){const e=new Set;t.forEach(t=>{this._stylesSet.has(t)||(this._stylesSet.add(t),e.add(t))}),this.onStylesAdded(e)}onStylesAdded(t){}getAllStyles(){return Array.from(this._stylesSet)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})(),Au=(()=>{class t extends Ou{constructor(t){super(),this._doc=t,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(t.head)}_addStylesToHost(t,e){t.forEach(t=>{const n=this._doc.createElement("style");n.textContent=t,this._styleNodes.add(e.appendChild(n))})}addHost(t){this._addStylesToHost(this._stylesSet,t),this._hostNodes.add(t)}removeHost(t){this._hostNodes.delete(t)}
vendor: 15,107 bytes, lines 1232-1310
1232onStylesAdded(t){this._hostNodes.forEach(e=>this._addStylesToHost(t,e))}ngOnDestroy(){this._styleNodes.forEach(t=>Cc().remove(t))}}return t.\u0275fac=function(e){return new(e||t)(ui(Sc))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})();
1233/**
1234 * @license
1235 * Copyright Google LLC All Rights Reserved.
1236 *
1237 * Use of this source code is governed by an MIT-style license that can be
1238 * found in the LICENSE file at https://angular.io/license
1239 */
1240const Iu={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/"},Du=/%COMP%/g;function Pu(t,e,n){for(let i=0;i<e.length;i++){let s=e[i];Array.isArray(s)?Pu(t,s,n):(s=s.replace(Du,t),n.push(s))}return n}function Ru(t){return e=>{if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}let Mu=(()=>{class t{constructor(t,e,n){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new Nu(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case Tt.Emulated:{let n=this.rendererByCompId.get(e.id);return n||(n=new Fu(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n}case 1:case Tt.ShadowDom:return new Vu(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){const t=Pu(e.id,e.styles,[]);this.sharedStylesHost.addStyles(t),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return t.\u0275fac=function(e){return new(e||t)(ui(xu),ui(Au),ui(Dl))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})();class Nu{constructor(t){this.eventManager=t,this.data=Object.create(null)}destroy(){}createElement(t,e){return e?document.createElementNS(Iu[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){t.appendChild(e)}insertBefore(t,e,n){t&&t.insertBefore(e,n)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let n="string"==typeof t?document.querySelector(t):t;if(!n)throw new Error(`The selector "${t}" did not match any elements`);return e||(n.textContent=""),n}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,n,i){if(i){e=i+":"+e;const s=Iu[i];s?t.setAttributeNS(s,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const i=Iu[n];i?t.removeAttributeNS(i,e):t.removeAttribute(`${n}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,n,i){i&(ki.DashCase|ki.Important)?t.style.setProperty(e,n,i&ki.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&ki.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,n){t[e]=n}setValue(t,e){t.nodeValue=e}listen(t,e,n){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,Ru(n)):this.eventManager.addEventListener(t,e,Ru(n))}}class Fu extends Nu{constructor(t,e,n,i){super(t),this.component=n;const s=Pu(i+"-"+n.id,n.styles,[]);e.addStyles(s),this.contentAttr="_ngcontent-%COMP%".replace(Du,i+"-"+n.id),this.hostAttr="_nghost-%COMP%".replace(Du,i+"-"+n.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,e){const n=super.createElement(t,e);return super.setAttribute(n,this.contentAttr,""),n}}class Vu extends Nu{constructor(t,e,n,i){super(t),this.sharedStylesHost=e,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const s=Pu(i.id,i.styles,[]);for(let r=0;r<s.length;r++){const t=document.createElement("style");t.textContent=s[r],this.shadowRoot.appendChild(t)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(t,e){return super.appendChild(this.nodeOrShadowRoot(t),e)}insertBefore(t,e,n){return super.insertBefore(this.nodeOrShadowRoot(t),e,n)}removeChild(t,e){return super.removeChild(this.nodeOrShadowRoot(t),e)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}}let Lu=(()=>{class t extends Tu{constructor(t){super(t)}supports(t){return!0}addEventListener(t,e,n){return t.addEventListener(e,n,!1),()=>this.removeEventListener(t,e,n)}removeEventListener(t,e,n){return t.removeEventListener(e,n)}}return t.\u0275fac=function(e){return new(e||t)(ui(Sc))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})();
1241/**
1242 * @license
1243 * Copyright Google LLC All Rights Reserved.
1244 *
1245 * Use of this source code is governed by an MIT-style license that can be
1246 * found in the LICENSE file at https://angular.io/license
1247 */const zu=["alt","control","meta","shift"],ju={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Bu={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},Hu={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let $u=(()=>{class t extends Tu{constructor(t){super(t)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,n,i){const s=t.parseEventName(n),r=t.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Cc().onAndCancel(e,s.domEventName,r))}static parseEventName(e){const n=e.toLowerCase().split("."),i=n.shift();if(0===n.length||"keydown"!==i&&"keyup"!==i)return null;const s=t._normalizeKey(n.pop());let r="";if(zu.forEach(t=>{const e=n.indexOf(t);e>-1&&(n.splice(e,1),r+=t+".")}),r+=s,0!=n.length||0===s.length)return null;const o={};return o.domEventName=i,o.fullKey=r,o}static getEventFullKey(t){let e="",n=function(t){let e=t.key;if(null==e){if(e=t.keyIdentifier,null==e)return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&Bu.hasOwnProperty(e)&&(e=Bu[e]))}return ju[e]||e}(t);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),zu.forEach(i=>{i!=n&&(0,Hu[i])(t)&&(e+=i+".")}),e+=n,e}static eventCallback(e,n,i){return s=>{t.getEventFullKey(s)===e&&i.runGuarded(()=>n(s))}}static _normalizeKey(t){switch(t){case"esc":return"escape";default:return t}}}return t.\u0275fac=function(e){return new(e||t)(ui(Sc))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})();const Zu=dc(yc,"browser",[{provide:Nl,useValue:"browser"},{provide:Ml,useValue:
1248/**
1249 * @license
1250 * Copyright Google LLC All Rights Reserved.
1251 *
1252 * Use of this source code is governed by an MIT-style license that can be
1253 * found in the LICENSE file at https://angular.io/license
1254 */
1255function(){vu.makeCurrent(),Eu.init()},multi:!0},{provide:Sc,useFactory:function(){return function(t){fe=t}(document),document},deps:[]}]),Uu=[[],{provide:hr,useValue:"root"},{provide:wi,useFactory:function(){return new wi},deps:[]},{provide:ku,useClass:Lu,multi:!0,deps:[Sc,Yl,Nl]},{provide:ku,useClass:$u,multi:!0,deps:[Sc]},[],{provide:Mu,useClass:Mu,deps:[xu,Au,Dl]},{provide:aa,useExisting:Mu},{provide:Ou,useExisting:Au},{provide:Au,useClass:Au,deps:[Sc]},{provide:ic,useClass:ic,deps:[Yl]},{provide:xu,useClass:xu,deps:[ku,Yl]},[]];let Gu=(()=>{class t{constructor(t){if(t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(e){return{ngModule:t,providers:[{provide:Dl,useValue:e.appId},{provide:Cu,useExisting:Dl},Su]}}}return t.\u0275fac=function(e){return new(e||t)(ui(t,12))},t.\u0275mod=qt({type:t}),t.\u0275inj=pt({providers:Uu,imports:[gu,bc]}),t})();"undefined"!=typeof window&&window;
1256/**
1257 * @license
1258 * Copyright Google LLC All Rights Reserved.
1259 *
1260 * Use of this source code is governed by an MIT-style license that can be
1261 * found in the LICENSE file at https://angular.io/license
1262 */
1263/**
1264 * @license
1265 * Copyright Google LLC All Rights Reserved.
1266 *
1267 * Use of this source code is governed by an MIT-style license that can be
1268 * found in the LICENSE file at https://angular.io/license
1269 */
1270/**
1271 * @license
1272 * Copyright Google LLC All Rights Reserved.
1273 *
1274 * Use of this source code is governed by an MIT-style license that can be
1275 * found in the LICENSE file at https://angular.io/license
1276 */
1277var qu=function(){return function(){}}();function Wu(...t){let e=t[t.length-1];return k(e)?(t.pop(),N(t,e)):Z(t)}function Ku(t,e){return function(n){return n.lift(new Yu(t,e))}}class Yu{constructor(t,e){this.predicate=t,this.thisArg=e}call(t,e){return e.subscribe(new Xu(t,this.predicate,this.thisArg))}}class Xu extends f{constructor(t,e,n){super(t),this.predicate=e,this.thisArg=n,this.count=0}_next(t){let e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}e&&this.destination.next(t)}}
1278/**
1279 * @license Angular v11.2.5
1280 * (c) 2010-2021 Google LLC. https://angular.io/
1281 * License: MIT
1282 */
1283/**
1284 * @license
1285 * Copyright Google LLC All Rights Reserved.
1286 *
1287 * Use of this source code is governed by an MIT-style license that can be
1288 * found in the LICENSE file at https://angular.io/license
1289 */class Qu{}class Ju{}
1290/**
1291 * @license
1292 * Copyright Google LLC All Rights Reserved.
1293 *
1294 * Use of this source code is governed by an MIT-style license that can be
1295 * found in the LICENSE file at https://angular.io/license
1296 */class th{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(t=>{const e=t.indexOf(":");if(e>0){const n=t.slice(0,e),i=n.toLowerCase(),s=t.slice(e+1).trim();this.maybeSetNormalizedName(n,i),this.headers.has(i)?this.headers.get(i).push(s):this.headers.set(i,[s])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(e=>{let n=t[e];const i=e.toLowerCase();"string"==typeof n&&(n=[n]),n.length>0&&(this.headers.set(i,n),this.maybeSetNormalizedName(e,i))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof th?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){const e=new th;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof th?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){const e=t.name.toLowerCase();switch(t.op){case"a":case"s":let n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);const i=("a"===t.op?this.headers.get(e):void 0)||[];i.push(...n),this.headers.set(e,i);break;case"d":const s=t.value;if(s){let t=this.headers.get(e);if(!t)return;t=t.filter(t=>-1===s.indexOf(t)),0===t.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,t)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}}
1297/**
1298 * @license
1299 * Copyright Google LLC All Rights Reserved.
1300 *
1301 * Use of this source code is governed by an MIT-style license that can be
1302 * found in the LICENSE file at https://angular.io/license
1303 */class eh{encodeKey(t){return nh(t)}encodeValue(t){return nh(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}function nh(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}class ih{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new eh,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(t,e){const n=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(t=>{const i=t.indexOf("="),[s,r]=-1==i?[e.decodeKey(t),""]:[e.decodeKey(t.slice(0,i)),e.decodeValue(t.slice(i+1))],o=n.get(s)||[];o.push(r),n.set(s,o)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const n=t.fromObject[e];this.map.set(e,Array.isArray(n)?n:[n])})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}appendAll(t){const e=[];return Object.keys(t).forEach(n=>{const i=t[n];Array.isArray(i)?i.forEach(t=>{e.push({param:n,value:t,op:"a"})}):e.push({param:n,value:i,op:"a"})}),this.clone(e)}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const e=this.encoder.encodeKey(t);return this.map.get(t).map(t=>e+"="+this.encoder.encodeValue(t)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const e=new ih({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(t),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const e=("a"===t.op?this.map.get(t.param):void 0)||[];e.push(t.value),this.map.set(t.param,e);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let e=this.map.get(t.param)||[];const n=e.indexOf(t.value);-1!==n&&e.splice(n,1),e.length>0?this.map.set(t.param,e):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}
1304/**
1305 * @license
1306 * Copyright Google LLC All Rights Reserved.
1307 *
1308 * Use of this source code is governed by an MIT-style license that can be
1309 * found in the LICENSE file at https://angular.io/license
1310 */function sh(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function rh(t){return"undefined"!=typeof Blob&&t instanceof Blob}function oh(t){return"undefined"!=typeof FormData&&t instanceof FormData}class ah{constructor(t,e,n,i){let s;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}
vendor: 6,854 bytes, lines 1310-1346
1310(this.method)||i?(this.body=void 0!==n?n:null,s=i):s=n,s&&(this.reportProgress=!!s.reportProgress,this.withCredentials=!!s.withCredentials,s.responseType&&(this.responseType=s.responseType),s.headers&&(this.headers=s.headers),s.params&&(this.params=s.params)),this.headers||(this.headers=new th),this.params){const t=this.params.toString();if(0===t.length)this.urlWithParams=e;else{const n=e.indexOf("?");this.urlWithParams=e+(-1===n?"?":n<e.length-1?"&":"")+t}}else this.params=new ih,this.urlWithParams=e}serializeBody(){return null===this.body?null:sh(this.body)||rh(this.body)||oh(this.body)||"string"==typeof this.body?this.body:this.body instanceof ih?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||oh(this.body)?null:rh(this.body)?this.body.type||null:sh(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof ih?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||Array.isArray(this.body)?"application/json":null}clone(t={}){const e=t.method||this.method,n=t.url||this.url,i=t.responseType||this.responseType,s=void 0!==t.body?t.body:this.body,r=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,o=void 0!==t.reportProgress?t.reportProgress:this.reportProgress;let a=t.headers||this.headers,l=t.params||this.params;return void 0!==t.setHeaders&&(a=Object.keys(t.setHeaders).reduce((e,n)=>e.set(n,t.setHeaders[n]),a)),t.setParams&&(l=Object.keys(t.setParams).reduce((e,n)=>e.set(n,t.setParams[n]),l)),new ah(e,n,s,{params:l,headers:a,reportProgress:o,responseType:i,withCredentials:r})}}
1311/**
1312 * @license
1313 * Copyright Google LLC All Rights Reserved.
1314 *
1315 * Use of this source code is governed by an MIT-style license that can be
1316 * found in the LICENSE file at https://angular.io/license
1317 */var lh=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}({});class ch{constructor(t,e=200,n="OK"){this.headers=t.headers||new th,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||n,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class uh extends ch{constructor(t={}){super(t),this.type=lh.ResponseHeader}clone(t={}){return new uh({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class hh extends ch{constructor(t={}){super(t),this.type=lh.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new hh({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class dh extends ch{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}
1318/**
1319 * @license
1320 * Copyright Google LLC All Rights Reserved.
1321 *
1322 * Use of this source code is governed by an MIT-style license that can be
1323 * found in the LICENSE file at https://angular.io/license
1324 */function ph(t,e){return{body:e,headers:t.headers,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}let fh=(()=>{class t{constructor(t){this.handler=t}request(t,e,n={}){let i;if(t instanceof ah)i=t;else{let s,r;s=n.headers instanceof th?n.headers:new th(n.headers),n.params&&(r=n.params instanceof ih?n.params:new ih({fromObject:n.params})),i=new ah(t,e,void 0!==n.body?n.body:null,{headers:s,params:r,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const s=Wu(i).pipe(j(t=>this.handler.handle(t),void 0,1));if(t instanceof ah||"events"===n.observe)return s;const r=s.pipe(Ku(t=>t instanceof hh));switch(n.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return r.pipe(x(t=>{if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body}));case"blob":return r.pipe(x(t=>{if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body}));case"text":return r.pipe(x(t=>{if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body}));case"json":default:return r.pipe(x(t=>t.body))}case"response":return r;default:throw new Error(`Unreachable: unhandled observe type ${n.observe}}`)}}delete(t,e={}){return this.request("DELETE",t,e)}get(t,e={}){return this.request("GET",t,e)}head(t,e={}){return this.request("HEAD",t,e)}jsonp(t,e){return this.request("JSONP",t,{params:(new ih).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,e={}){return this.request("OPTIONS",t,e)}patch(t,e,n={}){return this.request("PATCH",t,ph(n,e))}post(t,e,n={}){return this.request("POST",t,ph(n,e))}put(t,e,n={}){return this.request("PUT",t,ph(n,e))}}return t.\u0275fac=function(e){return new(e||t)(ui(Qu))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})();
1325/**
1326 * @license
1327 * Copyright Google LLC All Rights Reserved.
1328 *
1329 * Use of this source code is governed by an MIT-style license that can be
1330 * found in the LICENSE file at https://angular.io/license
1331 */class mh{constructor(t,e){this.next=t,this.interceptor=e}handle(t){return this.interceptor.intercept(t,this.next)}}const gh=new qn("HTTP_INTERCEPTORS");let _h=(()=>{class t{intercept(t,e){return e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})();
1332/**
1333 * @license
1334 * Copyright Google LLC All Rights Reserved.
1335 *
1336 * Use of this source code is governed by an MIT-style license that can be
1337 * found in the LICENSE file at https://angular.io/license
1338 */
1339/**
1340 * @license
1341 * Copyright Google LLC All Rights Reserved.
1342 *
1343 * Use of this source code is governed by an MIT-style license that can be
1344 * found in the LICENSE file at https://angular.io/license
1345 */
1346const yh=/^\)\]\}',?\n/;class vh{}let bh=(()=>{class t{constructor(){}build(){return new XMLHttpRequest}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})(),wh=(()=>{class t{constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new y(e=>{const n=this.xhrFactory.build();if(n.open(t.method,t.urlWithParams),t.withCredentials&&(n.withCredentials=!0),t.headers.forEac
vendor: 4,424 bytes, lines 1346-1354
1346h((t,e)=>n.setRequestHeader(t,e.join(","))),t.headers.has("Accept")||n.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){const e=t.detectContentTypeHeader();null!==e&&n.setRequestHeader("Content-Type",e)}if(t.responseType){const e=t.responseType.toLowerCase();n.responseType="json"!==e?e:"text"}const i=t.serializeBody();let s=null;const r=()=>{if(null!==s)return s;const e=1223===n.status?204:n.status,i=n.statusText||"OK",r=new th(n.getAllResponseHeaders()),o=function(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(n)||t.url;return s=new uh({headers:r,status:e,statusText:i,url:o}),s},o=()=>{let{headers:i,status:s,statusText:o,url:a}=r(),l=null;204!==s&&(l=void 0===n.response?n.responseText:n.response),0===s&&(s=l?200:0);let c=s>=200&&s<300;if("json"===t.responseType&&"string"==typeof l){const t=l;l=l.replace(yh,"");try{l=""!==l?JSON.parse(l):null}catch(u){l=t,c&&(c=!1,l={error:u,text:l})}}c?(e.next(new hh({body:l,headers:i,status:s,statusText:o,url:a||void 0})),e.complete()):e.error(new dh({error:l,headers:i,status:s,statusText:o,url:a||void 0}))},a=t=>{const{url:i}=r(),s=new dh({error:t,status:n.status||0,statusText:n.statusText||"Unknown Error",url:i||void 0});e.error(s)};let l=!1;const c=i=>{l||(e.next(r()),l=!0);let s={type:lh.DownloadProgress,loaded:i.loaded};i.lengthComputable&&(s.total=i.total),"text"===t.responseType&&n.responseText&&(s.partialText=n.responseText),e.next(s)},u=t=>{let n={type:lh.UploadProgress,loaded:t.loaded};t.lengthComputable&&(n.total=t.total),e.next(n)};return n.addEventListener("load",o),n.addEventListener("error",a),n.addEventListener("timeout",a),n.addEventListener("abort",a),t.reportProgress&&(n.addEventListener("progress",c),null!==i&&n.upload&&n.upload.addEventListener("progress",u)),n.send(i),e.next({type:lh.Sent}),()=>{n.removeEventListener("error",a),n.removeEventListener("abort",a),n.removeEventListener("load",o),n.removeEventListener("timeout",a),t.reportProgress&&(n.removeEventListener("progress",c),null!==i&&n.upload&&n.upload.removeEventListener("progress",u)),n.readyState!==n.DONE&&n.abort()}})}}return t.\u0275fac=function(e){return new(e||t)(ui(vh))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})();
1347/**
1348 * @license
1349 * Copyright Google LLC All Rights Reserved.
1350 *
1351 * Use of this source code is governed by an MIT-style license that can be
1352 * found in the LICENSE file at https://angular.io/license
1353 */
1354const Ch=new qn("XSRF_COOKIE_NAME"),Sh=new qn("XSRF_HEADER_NAME");class Eh{}let kh=(()=>{class t{constructor(t,e,n){this.doc=t,this.platform=e,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=Xc(t,this.cookieName),this.lastCookieString=t),this.lastToken}}return t.\u0275fac=function(e){return new(e||t)(ui(Sc),ui(Nl),ui(Ch))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})(),xh=(()=>{class t{constructor(t,e){this.tokenService=t,this.headerName=e}intercept(t,e){const n=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||n.startsWith("http://")||n.startsWith("https://"))return e.handle(t);const i=this.tokenService.getToken();return null===i||t.headers.has(this.headerName)||(t=t.clone({headers:t.headers.set(this.headerName,i)})),e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(ui(Eh),ui(Sh))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})(),Th=(()=>{class t{constructor(t,e){this.backend=t,this.injector=e,this.chain=null}handle(t){if(null===this.chain){const t=this.injector.get(gh,[]);this.chain=t.reduceRight((t,e)=>new mh(t,e),this.backend)}return this.chain.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(ui(Ju),ui(kr))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})(),Oh=(()=>{class t{static disable(){return{ngModule:t,providers:[{provide:xh,useClass:_h}]}}static withOptions(e={}){return{ngModule:t,providers:[e.cookieName?{provide:Ch,useValue:e.cookieName}:[],e.headerName?{provide:Sh,useValue:e.headerName}:[]]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=qt({type:t}),t.\u0275inj=pt({providers:[xh,{provide:gh,useExisting:xh,multi:!0},{provide:Eh,useClass:kh},{provide:Ch,useValue:"XSRF-TOKEN"},{provide:Sh,useValue:"X-XSRF-TOKEN"}
1354]}),t})(),Ah=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=qt({type:t}),t.\u0275inj=pt({providers:[fh,{provide:Qu,useClass:Th},wh,{provide:Ju,useExisting:wh},bh,{provide:vh,useExisting:bh}],imports:[[Oh.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),t})();class Ih{constructor(t){this.callback=t}call(t,e){return e.subscribe(new Dh(t,this.callback))}}class Dh extends f{constructor(t,e){super(t),this.add(new h(e))}}var Ph=function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},Rh=function(t,e){return function(n,i){e(n,i,t)}},Mh=function(){function t(t,n,i,s,r,o){this._appBase=t,this._location=n,this._config=i,this._http=i&&!i.bypassHttpClientInterceptorChain?s:new fh(r),this._renderer=o.createRenderer(null,null),this.setBaseUrl(),e._cache||(e._cache=new Map),e._inProgressReqs||(e._inProgressReqs=new Map)}var e;return e=t,t.prototype.getSVG=function(t,n,i){var s=this;void 0===i&&(i=!0);var r=(n?this.getAbsoluteUrl(t):t).replace(/#.+$/,"");if(i&&e._cache.has(r))return Wu(this._cloneSVG(e._cache.get(r)));if(e._inProgressReqs.has(r))return e._inProgressReqs.get(r);var o,a=this._http.get(r,{responseType:"text"}).pipe((o=function(){e._inProgressReqs.delete(r)},t=>t.lift(new Ih(o))),J(),x(function(t){var n=s._svgElementFromString(t);return e._cache.set(r,n),s._cloneSVG(n)}));return e._inProgressReqs.set(r,a),a},t.prototype.setBaseUrl=function(){this._config?this._baseUrl=this._config.baseUrl:null!==this._appBase?this._baseUrl=this._appBase:null!==this._location&&(this._baseUrl=this._location.getBaseHrefFromDOM())},t.prototype.getAbsoluteUrl=function(t){this._baseUrl&&!/^https?:\/\//i.test(t)&&0===(t=this._baseUrl+t).indexOf("//")&&(t=t.substring(1));var e=this._renderer.createElement("BASE");return e.href=t,e.href},t.prototype._svgElementFromString=function(t){var e=this._renderer.createElement("DIV");e.innerHTML=t;var n=e.querySelector("svg");if(!n)throw new Error("No SVG found in loaded contents");return n},t.prototype._cloneSVG=function(t){return t.cloneNode(!0)},t.ngInjectableDef=dt({factory:function(){return new t(ui(Mc,8),ui(Ec,8),ui(qu,8),ui(fh),ui(Ju),ui(aa))},token:t,providedIn:"root"}),(t=e=function(t,e,n,i){var s,r=arguments.length,o=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(o=(r<3?s(o):r>3?s(e,n,o):s(e,n))||o);return r>3&&o&&Object.defineProperty(e,n,o),o}([Rh(0,mi()),Rh(0,fi(Mc)),Rh(1,mi()),Rh(2,mi()),Ph("design:paramtypes",[String,Ec,qu,fh,Ju,aa])],t)).\u0275fac=function(e){return new(e||t)(ui(Mc,8),ui(Ec,8),ui(qu,8),ui(fh),ui(Ju),ui(aa))},t.\u0275prov=dt({token:t,factory:function(e){return t.\u0275fac(e)},providedIn:"root"}),t}(),Nh=function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},Fh=function(){function t(t){this._ranScripts={},this._renderer=t.createRenderer(null,null)}return t.prototype.insertEl=function(t,e,n,i,s){if(i&&!s){var r=t._prevSVG&&t._prevSVG.parentNode;r&&this._renderer.removeChild(r,t._prevSVG),e.innerHTML=""}s?this._renderer.insertBefore(e,n,e.firstChild):this._renderer.appendChild(e,n),"svg"===n.nodeName&&(t._prevSVG=n)},t.prototype.evalScripts=function(t,e,n){for(var i=t.querySelectorAll("script"),s=[],r=0;r<i.length;r++){var o=i[r].getAttribute("type");o&&"application/ecmascript"!==o&&"application/javascript"!==o||(s.push(i[r].innerText||i[r].textContent),this._renderer.removeChild(i[r].parentNode,i[r]))}if(s.length>0&&("always"===n||"once"===n&&!this._ranScripts[e])){for(r=0;r<s.length;r++)new Function(s[r])(window);this._ranScripts[e]=!0}},t.ngInjectableDef=dt({factory:function(){return new t(ui(aa))},token:t,providedIn:"root"}),(t=function(t,e,n,i){var s,r=arguments.length,o=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(o=(r<3?s(o):r>3?s(e,n,o):s(e,n))||o);return r>3&&o&&Object.defineProperty(e,n,o),o}([Nh("design:paramtypes",[aa])],t)).\u0275fac=function(e){return new(e||t)(ui(aa))},t.\u0275prov=dt({token:t,factory:function(e){return t.\u0275fac(e)},providedIn:"root"}),t}(),Vh=function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},Lh=function(){function t(t,e){this._inlineSVGService=t,this._el=e}return t.prototype.ngAfterViewInit=function(){this._updateContent()},t.prototype.ngOnChanges=function(t){t.content&&this._updateContent()},t.prototype._updateContent=function(){this._inlineSVGService.insertEl(this.context,this._el.nativeElement,this.content,this.replaceContents,this.prepend)},(t=function(t,e,n,i){var s,r=arguments.length,o=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;
1354a--)(s=t[a])&&(o=(r<3?s(o):r>3?s(e,n,o):s(e,n))||o);return r>3&&o&&Object.defineProperty(e,n,o),o}([Vh("design:paramtypes",[Fh,ra])],t)).\u0275fac=function(e){return new(e||t)($r(Fh),$r(ra))},t.\u0275cmp=$t({type:t,selectors:[["inline-svg"]],inputs:{context:"context",content:"content",replaceContents:"replaceContents",prepend:"prepend"},features:[ce],decls:0,vars:0,template:function(t,e){},encapsulation:2,changeDetection:0}),t}();function zh(t,e){for(var n=0;n<e.length;n++)t.getAttribute(e[n])&&t.removeAttribute(e[n]);var i=t.getElementsByTagName("*");for(n=0;n<i.length;n++)zh(i[n],e)}var jh=function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},Bh=function(t,e){return function(n,i){e(n,i,t)}},Hh=function(){function t(t,e,n,i,s,r,o,a){this._el=t,this._viewContainerRef=e,this._resolver=n,this._svgCache=i,this._renderer=s,this._inlineSVGService=r,this._config=o,this.platformId=a,this.resolveSVGUrl=!0,this.replaceContents=!0,this.prepend=!1,this.injectComponent=!1,this.cacheSVG=!0,this.forceEvalStyles=!1,this.evalScripts="always",this.onSVGInserted=new ul,this.onSVGFailed=new ul,this._supportsSVG="undefined"!=typeof SVGRect,yu(this.platformId)||this._supportsSVG||this._fail("Embed SVG are not supported by this browser")}return t.prototype.ngOnInit=function(){this._isValidPlatform()&&!this._isSSRDisabled()&&this._insertSVG()},t.prototype.ngOnChanges=function(t){if(this._isValidPlatform()&&!this._isSSRDisabled()){var e=Boolean(t.setSVGAttributes);(t.inlineSVG||e)&&this._insertSVG(e)}},t.prototype.ngOnDestroy=function(){this._subscription&&this._subscription.unsubscribe()},t.prototype._insertSVG=function(t){var e=this;void 0===t&&(t=!1),(yu(this.platformId)||this._supportsSVG)&&(this.inlineSVG?(t||this.inlineSVG!==this._prevUrl)&&(this._prevUrl=this.inlineSVG,this._subscription=this._svgCache.getSVG(this.inlineSVG,this.resolveSVGUrl,this.cacheSVG).subscribe(function(t){if("#"===(i=e.inlineSVG).charAt(0)||i.indexOf(".svg#")>-1){var n=e.inlineSVG.split("#")[1];t=function(t,e,n){var i=e.querySelector('[id="'+n+'"]');if(!i)throw new Error('Symbol "'+n+'" not found');var s=t.createElement("svg","svg");t.appendChild(s,i);var r=t.createElement("use","svg");return t.setAttribute(r,"href","#"+n,"xlink"),t.appendChild(s,r),s}(e._renderer,t,n)}var i;e._processSvg(t)},function(t){e._fail(t)})):this._fail("No URL passed to [inlineSVG]"))},t.prototype._processSvg=function(t){if(t){if(this.removeSVGAttributes&&_u(this.platformId)&&zh(t,this.removeSVGAttributes),this.setSVGAttributes&&function(t,e){for(var n in e)t.setAttribute(n,e[n])}(t,this.setSVGAttributes),this.onSVGLoaded&&(t=this.onSVGLoaded(t,this._el.nativeElement)),this._insertEl(t),_u(this.platformId)&&this._inlineSVGService.evalScripts(t,this.inlineSVG,this.evalScripts),this.forceEvalStyles){var e=t.querySelectorAll("style");Array.from(e).forEach(function(t){return t.textContent+=""})}this.onSVGInserted.emit(t)}},t.prototype._insertEl=function(t){if(this.injectComponent){if(!this._svgComp){var e=this._resolver.resolveComponentFactory(Lh);this._svgComp=this._viewContainerRef.createComponent(e)}this._svgComp.instance.context=this,this._svgComp.instance.replaceContents=this.replaceContents,this._svgComp.instance.prepend=this.prepend,this._svgComp.instance.content=t,this._renderer.appendChild(this._el.nativeElement,this._svgComp.injector.get(Lh)._el.nativeElement)}else this._inlineSVGService.insertEl(this,this._el.nativeElement,t,this.replaceContents,this.prepend)},t.prototype._fail=function(t){if(this.onSVGFailed.emit(t),this.fallbackImgUrl){var e=this._renderer.createElement("IMG");this._renderer.setAttribute(e,"src",this.fallbackImgUrl),this._insertEl(e)}},t.prototype._isValidPlatform=function(){return yu(this.platformId)||_u(this.platformId)},t.prototype._isSSRDisabled=function(){return yu(this.platformId)&&this._config&&this._config.clientOnly},(t=function(t,e,n,i){var s,r=arguments.length,o=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;
1354a--)(s=t[a])&&(o=(r<3?s(o):r>3?s(e,n,o):s(e,n))||o);return r>3&&o&&Object.defineProperty(e,n,o),o}([Bh(6,mi()),Bh(7,fi(Nl)),jh("design:paramtypes",[ra,$a,ea,Mh,la,Fh,qu,Object])],t)).\u0275fac=function(e){return new(e||t)($r(ra),$r($a),$r(ea),$r(Mh),$r(la),$r(Fh),$r(qu,8),$r(Nl))},t.\u0275dir=Kt({type:t,selectors:[["","inlineSVG",""]],inputs:{resolveSVGUrl:"resolveSVGUrl",replaceContents:"replaceContents",prepend:"prepend",injectComponent:"injectComponent",cacheSVG:"cacheSVG",forceEvalStyles:"forceEvalStyles",evalScripts:"evalScripts",inlineSVG:"inlineSVG",setSVGAttributes:"setSVGAttributes",removeSVGAttributes:"removeSVGAttributes",fallbackImgUrl:"fallbackImgUrl",onSVGLoaded:"onSVGLoaded"},outputs:{onSVGInserted:"onSVGInserted",onSVGFailed:"onSVGFailed"},features:[Qo([Mh]),ce]}),t}(),$h=function(){function t(){}var e;return e=t,t.forRoot=function(t){return{ngModule:e,providers:[{provide:qu,useValue:t}]}},t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=qt({type:t}),t.\u0275inj=pt({}),t}(),Zh=function(t){return t[t.Available=0]="Available",t[t.Selected=1]="Selected",t[t.Blocked=2]="Blocked",t}({}),Uh=function(t){return t[t.SeatDeselected=0]="SeatDeselected",t[t.SeatSelected=1]="SeatSelected",t}({});class Gh extends h{constructor(t,e){super()}schedule(t,e=0){return this}}class qh extends Gh{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){if(this.closed)return this;this.state=t;const n=this.id,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(i,this.id,e),this}requestAsyncId(t,e,n=0){return setInterval(t.flush.bind(t,this),n)}recycleAsyncId(t,e,n=0){if(null!==n&&this.delay===n&&!1===this.pending)return e;clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let n,i=!1;try{this.work(t)}catch(s){i=!0,n=!!s&&s||new Error(s)}if(i)return this.unsubscribe(),n}_unsubscribe(){const t=this.id,e=this.scheduler,n=e.actions,i=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==i&&n.splice(i,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null}}class Wh extends qh{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}schedule(t,e=0){return e>0?super.schedule(t,e):(this.delay=e,this.state=t,this.scheduler.flush(this),this)}execute(t,e){return e>0||this.closed?super.execute(t,e):this._execute(t,e)}requestAsyncId(t,e,n=0){return null!==n&&n>0||null===n&&this.delay>0?super.requestAsyncId(t,e,n):t.flush(this)}}let Kh=(()=>{class t{constructor(e,n=t.now){this.SchedulerAction=e,this.now=n}schedule(t,e=0,n){return new this.SchedulerAction(this,t).schedule(n,e)}}return t.now=()=>Date.now(),t})();class Yh extends Kh{constructor(t,e=Kh.now){super(t,()=>Yh.delegate&&Yh.delegate!==this?Yh.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(t,e=0,n){return Yh.delegate&&Yh.delegate!==this?Yh.delegate.schedule(t,e,n):super.schedule(t,e,n)}flush(t){const{actions:e}=this;if(this.active)return void e.push(t);let n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}}class Xh extends Yh{}const Qh=new Xh(Wh),Jh=new y(t=>t.complete());function td(t){return t?function(t){return new y(e=>t.schedule(()=>e.complete()))}(t):Jh}let ed=(()=>{class t{constructor(t,e,n){this.kind=t,this.value=e,this.error=n,this.hasValue="N"===t}observe(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}}do(t,e,n){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return n&&n()}}accept(t,e,n){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,n)}toObservable(){switch(this.kind){case"N":return Wu(this.value);case"E":return t=this.error,new y(e=>e.error(t));case"C":return td()}var t;throw new Error("unexpected notification kind value")}static createNext(e){return void 0!==e?new t("N",e):t.undefinedValueNotification}static createError(e){return new t("E",void 0,e)}static createComplete(){return t.completeNotification}}return t.completeNotification=new t("C"),t.undefinedValueNotification=new t("N",void 0),t})();
vendor: 4,999 bytes, line 1354
1354class nd extends f{constructor(t,e,n=0){super(t),this.scheduler=e,this.delay=n}static dispatch(t){const{notification:e,destination:n}=t;e.observe(n),this.unsubscribe()}scheduleMessage(t){this.destination.add(this.scheduler.schedule(nd.dispatch,this.delay,new id(t,this.destination)))}_next(t){this.scheduleMessage(ed.createNext(t))}_error(t){this.scheduleMessage(ed.createError(t)),this.unsubscribe()}_complete(){this.scheduleMessage(ed.createComplete()),this.unsubscribe()}}class id{constructor(t,e){this.notification=t,this.destination=e}}class sd extends S{constructor(t=Number.POSITIVE_INFINITY,e=Number.POSITIVE_INFINITY,n){super(),this.scheduler=n,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=t<1?1:t,this._windowTime=e<1?1:e,e===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(t){if(!this.isStopped){const e=this._events;e.push(t),e.length>this._bufferSize&&e.shift()}super.next(t)}nextTimeWindow(t){this.isStopped||(this._events.push(new rd(this._getNow(),t)),this._trimBufferThenGetEvents()),super.next(t)}_subscribe(t){const e=this._infiniteTimeWindow,n=e?this._events:this._trimBufferThenGetEvents(),i=this.scheduler,s=n.length;let r;if(this.closed)throw new b;if(this.isStopped||this.hasError?r=h.EMPTY:(this.observers.push(t),r=new w(this,t)),i&&t.add(t=new nd(t,i)),e)for(let o=0;o<s&&!t.closed;o++)t.next(n[o]);else for(let o=0;o<s&&!t.closed;o++)t.next(n[o].value);return this.hasError?t.error(this.thrownError):this.isStopped&&t.complete(),r}_getNow(){return(this.scheduler||Qh).now()}_trimBufferThenGetEvents(){const t=this._getNow(),e=this._bufferSize,n=this._windowTime,i=this._events,s=i.length;let r=0;for(;r<s&&!(t-i[r].time<n);)r++;return s>e&&(r=Math.max(r,s-e)),r>0&&i.splice(0,r),i}}class rd{constructor(t,e){this.time=t,this.value=e}}const od=new Yh(qh);function ad(t){return!l(t)&&t-parseFloat(t)+1>=0}function ld(t=0,e,n){let i=-1;return ad(e)?i=Number(e)<1?1:Number(e):k(e)&&(n=e),k(n)||(n=od),new y(e=>{const s=ad(t)?t:+t-n.now();return n.schedule(cd,s,{index:0,period:i,subscriber:e})})}function cd(t){const{index:e,period:n,subscriber:i}=t;if(i.next(e),!i.closed){if(-1===n)return i.complete();t.index=e+1,this.schedule(t,n)}}const ud=new qn("GO_SEATING_SERVICE");function hd(){}function dd(t,e,n){return function(i){return i.lift(new pd(t,e,n))}}class pd{constructor(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}call(t,e){return e.subscribe(new fd(t,this.nextOrObserver,this.error,this.complete))}}class fd extends f{constructor(t,e,n,s){super(t),this._tapNext=hd,this._tapError=hd,this._tapComplete=hd,this._tapError=n||hd,this._tapComplete=s||hd,i(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||hd,this._tapError=e.error||hd,this._tapComplete=e.complete||hd)}_next(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)}_error(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)}_complete(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()}}function md(t){return e=>e.lift(new gd(t))}class gd{constructor(t){this.value=t}call(t,e){return e.subscribe(new _d(t,this.value))}}class _d extends f{constructor(t,e){super(t),this.value=e}_next(t){this.destination.next(this.value)}}function yd(t,e){return"function"==typeof e?n=>n.pipe(yd((n,i)=>F(t(n,i)).pipe(x((t,s)=>e(n,t,i,s))))):e=>e.lift(new vd(t))}class vd{constructor(t){this.project=t}call(t,e){return e.subscribe(new bd(t,this.project))}}class bd extends L{constructor(t,e){super(t),this.project=e,this.index=0}_next(t){let e;const n=this.index++;try{e=this.project(t,n)}catch(i){return void this.destination.error(i)}this._innerSub(e)}_innerSub(t){const e=this.innerSubscription;e&&e.unsubscribe();const n=new V(this),i=this.destination;i.add(n),this.innerSubscription=z(t,n),this.innerSubscription!==n&&i.add(this.innerSubscription)}_complete(){const{innerSubscription:t}=this;t&&!t.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(t){this.destination.next(t)}}class wd{constructor(){this.blockedSeats={autoUpdate:!1,autoUpdateEveryMillis:5e3},this.reservations={reserveSeatOnSelection:!1}}static mergeWith(t){const e=new wd;return{reservations:Object.assign(Object.assign({},e.reservations),null==t?void 0:t.reservations),blockedSeats:Object.assign(Object.assign({},e.blockedSeats),null==t?void 0:t.blockedSeats)}}}let Cd=(()=>{class t{constructor(t){this.seatingConfig=new wd,this.seatsMap=new Map,this.svgUrl$=new sd(1),this.seats$=new sd(1),this.seatingChanged$=new S,this.seatingService=t}ngOnDestroy(){var t;null===(t=this.blockedSeatsPollingSubscription)||void 0===t||t.unsubscribe()}initWith(t){var e,n;
1354this.resetSelf(),t.seats.forEach(t=>this.seatsMap.set(t.id,t)),this.emitSeatsUpdated(),(null===(n=null===(e=this.seatingConfig)||void 0===e?void 0:e.blockedSeats)||void 0===n?void 0:n.autoUpdate)&&this.startPollingForBlockedSeats(),this.svgUrl$.next(t.svgUrl)}updateSeatingConfig(t){var e,n,i;this.seatingConfig=t,null===(e=this.blockedSeatsPollingSubscription)||void 0===e||e.unsubscribe(),(null===(i=null===(n=this.seatingConfig)||void 0===n?void 0:n.blockedSeats)||void 0===i?void 0:i.autoUpdate)&&this.startPollingForBlockedSeats()}getSeat(t){return this.seatsMap.get(t)}deselectSeat(t){var e,n;let i;return i=(null===(n=null===(e=this.seatingConfig)||void 0===e?void 0:e.reservations)||void 0===n?void 0:n.reserveSeatOnSelection)?this.seatingService.removeSeatReservation(t).pipe(dd(()=>delete t.reservedUntil),md(void 0)):Wu(void 0),i.pipe(dd(()=>{delete t.category.selectedPrice,t.status=Zh.Available,this.emitSeatsUpdated(),this.emitSeatingChangedEvent(Uh.SeatDeselected,t)}))}selectSeat(t,e){var n,i;let s;return s=(null===(i=null===(n=this.seatingConfig)||void 0===n?void 0:n.reservations)||void 0===i?void 0:i.reserveSeatOnSelection)?this.seatingService.addSeatReservation(t).pipe(dd(e=>t.reservedUntil=e.reservedUntil),md(void 0)):Wu(void 0),s.pipe(dd(()=>{t.category.selectedPrice=e,t.status=Zh.Selected,this.emitSeatsUpdated(),this.emitSeatingChangedEvent(Uh.SeatSelected,t)}))}resetSelf(){var t;this.seatsMap.clear(),null===(t=this.blockedSeatsPollingSubscription)||void 0===t||t.unsubscribe()}startPollingForBlockedSeats(){var t,e;const n=null===(e=null===(t=this.seatingConfig)||void 0===t?void 0:t.blockedSeats)||void 0===e?void 0:e.autoUpdateEveryMillis;this.blockedSeatsPollingSubscription=ld(0,n).pipe(yd(()=>this.seatingService.getBlockedSeats()),dd(t=>t.forEach(t=>{const e=this.seatsMap.get(t.id);e&&(e.status=Zh.Blocked)})),dd(()=>this.emitSeatsUpdated())).subscribe()}emitSeatsUpdated(){this.seats$.next([...this.seatsMap.values()])}emitSeatingChangedEvent(t,e){this.seatingChanged$.next({type:t,seat:e})}}return t.\u0275fac=function(e){return new(e||t)(ui(ud))},t.\u0275prov=dt({token:t,factory:t.\u0275fac,providedIn:"any"}),t})();class Sd{static mergeWith(t){return{buttons:Object.assign({},null==t?void 0:t.buttons),formFields:Object.assign({},null==t?void 0:t.formFields)}}}const Ed=new qn("GO_THEME_CONFIG");
1355/**
1356 * @license
1357 * Copyright Google LLC All Rights Reserved.
1358 *
1359 * Use of this source code is governed by an MIT-style license that can be
1360 * found in the LICENSE file at https://angular.io/license
1361 */function kd(t){return null!=t&&"false"!=`${t}`}
1362/**
1363 * @license
1364 * Copyright Google LLC All Rights Reserved.
1365 *
1366 * Use of this source code is governed by an MIT-style license that can be
1367 * found in the LICENSE file at https://angular.io/license
1368 */function xd(t,e=0){return function(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}
1369/**
1370 * @license
1371 * Copyright Google LLC All Rights Reserved.
1372 *
1373 * Use of this source code is governed by an MIT-style license that can be
1374 * found in the LICENSE file at https://angular.io/license
1375 */(t)?Number(t):e}function Td(t){return Array.isArray(t)?t:[t]}
1376/**
1377 * @license
1378 * Copyright Google LLC All Rights Reserved.
1379 *
1380 * Use of this source code is governed by an MIT-style license that can be
1381 * found in the LICENSE file at https://angular.io/license
1382 */function Od(t){return null==t?"":"string"==typeof t?t:`${t}px`}
1383/**
1384 * @license
1385 * Copyright Google LLC All Rights Reserved.
1386 *
1387 * Use of this source code is governed by an MIT-style license that can be
1388 * found in the LICENSE file at https://angular.io/license
1389 */function Ad(t){return t instanceof ra?t.nativeElement:t}
1390/**
1391 * @license
1392 * Copyright Google LLC All Rights Reserved.
1393 *
1394 * Use of this source code is governed by an MIT-style license that can be
1395 * found in the LICENSE file at https://angular.io/license
1396 */function Id(t,e,n,s){return i(n)&&(s=n,n=void 0),s?Id(t,e,n).pipe(x(t=>l(t)?s(...t):s(t))):new y(i=>{Dd(t,e,function(t){i.next(arguments.length>1?Array.prototype.slice.call(arguments):t)},i,n)})}function Dd(t,e,n,i,s){let r;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(t)){const i=t;t.addEventListener(e,n,s),r=()=>i.removeEventListener(e,n,s)}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(t)){const i=t;t.on(e,n),r=()=>i.off(e,n)}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(t)){const i=t;t.addListener(e,n),r=()=>i.removeListener(e,n)}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(let r=0,o=t.length;r<o;r++)Dd(t[r],e,n,i,s)}i.add(r)}class Pd{constructor(t,e){this.compare=t,this.keySelector=e}call(t,e){return e.subscribe(new Rd(t,this.compare,this.keySelector))}}class Rd extends f{constructor(t,e,n){super(t),this.keySelector=n,this.hasKey=!1,"function"==typeof e&&(this.compare=e)}compare(t,e){return t===e}_next(t){let e;try{const{keySelector:n}=this;e=n?n(t):t}catch(i){return this.destination.error(i)}let n=!1;if(this.hasKey)try{const{compare:t}=this;
1396n=t(this.key,e)}catch(i){return this.destination.error(i)}else this.hasKey=!0;n||(this.key=e,this.destination.next(t))}}class Md{constructor(t){this.durationSelector=t}call(t,e){return e.subscribe(new Nd(t,this.durationSelector))}}class Nd extends L{constructor(t,e){super(t),this.durationSelector=e,this.hasValue=!1}_next(t){if(this.value=t,this.hasValue=!0,!this.throttled){let n;try{const{durationSelector:e}=this;n=e(t)}catch(e){return this.destination.error(e)}const i=z(n,new V(this));!i||i.closed?this.clearThrottle():this.add(this.throttled=i)}}clearThrottle(){const{value:t,hasValue:e,throttled:n}=this;n&&(this.remove(n),this.throttled=void 0,n.unsubscribe()),e&&(this.value=void 0,this.hasValue=!1,this.destination.next(t))}notifyNext(){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}function Fd(t,e=od){return n=()=>ld(t,e),function(t){return t.lift(new Md(n))};var n}function Vd(t){return e=>e.lift(new Ld(t))}class Ld{constructor(t){this.notifier=t}call(t,e){const n=new zd(t),i=z(this.notifier,new V(n));return i&&!n.seenValue?(n.add(i),e.subscribe(n)):n}}class zd extends L{constructor(t){super(t),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}function jd(...t){return $(1)(Wu(...t))}function Bd(...t){const e=t[t.length-1];return k(e)?(t.pop(),n=>jd(t,n,e)):e=>jd(t,e)}
1397/**
1398 * @license
1399 * Copyright Google LLC All Rights Reserved.
1400 *
1401 * Use of this source code is governed by an MIT-style license that can be
1402 * found in the LICENSE file at https://angular.io/license
1403 */
1404let Hd;try{Hd="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(cx){Hd=!1}let $d,Zd,Ud,Gd=(()=>{class t{constructor(t){this._platformId=t,this.isBrowser=this._platformId?_u(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!Hd)&&"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}}return t.\u0275fac=function(e){return new(e||t)(ui(Nl))},t.\u0275prov=dt({factory:function(){return new t(ui(Nl))},token:t,providedIn:"root"}),t})(),qd=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=qt({type:t}),t.\u0275inj=pt({}),t})();function Wd(t){return function(){if(null==$d&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>$d=!0}))}finally{$d=$d||!1}return $d}()?t:!!t.capture}
1405/**
1406 * @license
1407 * Copyright Google LLC All Rights Reserved.
1408 *
1409 * Use of this source code is governed by an MIT-style license that can be
1410 * found in the LICENSE file at https://angular.io/license
1411 */function Kd(){if(null==Zd){if("object"!=typeof document||!document)return Zd=!1,Zd;if("scrollBehavior"in document.documentElement.style)Zd=!0;else{const t=Element.prototype.scrollTo;Zd=!!t&&!/\{\s*\[native code\]\s*\}/.test(t.toString())}}return Zd}
1412/**
1413 * @license
1414 * Copyright Google LLC All Rights Reserved.
1415 *
1416 * Use of this source code is governed by an MIT-style license that can be
1417 * found in the LICENSE file at https://angular.io/license
1418 */
1419/**
1420 * @license
1421 * Copyright Google LLC All Rights Reserved.
1422 *
1423 * Use of this source code is governed by an MIT-style license that can be
1424 * found in the LICENSE file at https://angular.io/license
1425 */
1426const Yd=new qn("cdk-dir-doc",{providedIn:"root",factory:function(){return hi(Sc)}});let Xd=(()=>{class t{constructor(t){if(this.value="ltr",this.change=new ul,t){const e=t.documentElement?t.documentElement.dir:null,n=(t.body?t.body.dir:null)||e;this.value="ltr"===n||"rtl"===n?n:"ltr"}}ngOnDestroy(){this.change.complete()}}return t.\u0275fac=function(e){return new(e||t)(ui(Yd,8))},t.\u0275prov=dt({factory:function(){return new t(ui(Yd,8))},token:t,providedIn:"root"}),t})(),Qd=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=qt({type:t}),t.\u0275inj=pt({}),t})();
1427/**
1428 * @license
1429 * Copyright Google LLC All Rights Reserved.
1430 *
1431 * Use of this source code is governed by an MIT-style license that can be
1432 * found in the LICENSE file at https://angular.io/license
1433 */
1434class Jd{constructor(t=!1,e,n=!0){this._multiple=t,this._emitChanges=n,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new S,e&&e.length&&(t?e.forEach(t=>this._markSelected(t)):this._markSelected(e[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())
1434),this._selected}select(...t){this._verifyValueAssignment(t),t.forEach(t=>this._markSelected(t)),this._emitChangeEvent()}deselect(...t){this._verifyValueAssignment(t),t.forEach(t=>this._unmarkSelected(t)),this._emitChangeEvent()}toggle(t){this.isSelected(t)?this.deselect(t):this.select(t)}clear(){this._unmarkAll(),this._emitChangeEvent()}isSelected(t){return this._selection.has(t)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(t){this._multiple&&this.selected&&this._selected.sort(t)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(t){this.isSelected(t)||(this._multiple||this._unmarkAll(),this._selection.add(t),this._emitChanges&&this._selectedToEmit.push(t))}_unmarkSelected(t){this.isSelected(t)&&(this._selection.delete(t),this._emitChanges&&this._deselectedToEmit.push(t))}_unmarkAll(){this.isEmpty()||this._selection.forEach(t=>this._unmarkSelected(t))}_verifyValueAssignment(t){}}let tp=(()=>{class t{constructor(t,e,n){this._ngZone=t,this._platform=e,this._scrolled=new S,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=n}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){const e=this.scrollContainers.get(t);e&&(e.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=20){return this._platform.isBrowser?new y(e=>{this._globalSubscription||this._addGlobalListener();const n=t>0?this._scrolled.pipe(Fd(t)).subscribe(e):this._scrolled.subscribe(e);return this._scrolledCount++,()=>{n.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):Wu()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,e)=>this.deregister(e)),this._scrolled.complete()}ancestorScrolled(t,e){const n=this.getAncestorScrollContainers(t);return this.scrolled(e).pipe(Ku(t=>!t||n.indexOf(t)>-1))}getAncestorScrollContainers(t){const e=[];return this.scrollContainers.forEach((n,i)=>{this._scrollableContainsElement(i,t)&&e.push(i)}),e}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(t,e){let n=Ad(e),i=t.getElementRef().nativeElement;do{if(n==i)return!0}while(n=n.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>Id(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return t.\u0275fac=function(e){return new(e||t)(ui(Yl),ui(Gd),ui(Sc,8))},t.\u0275prov=dt({factory:function(){return new t(ui(Yl),ui(Gd),ui(Sc,8))},token:t,providedIn:"root"}),t})(),ep=(()=>{class t{constructor(t,e,n){this._platform=t,this._change=new S,this._changeListener=t=>{this._change.next(t)},this._document=n,e.runOutsideAngular(()=>{if(t.isBrowser){const t=this._getWindow();t.addEventListener("resize",this._changeListener),t.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._updateViewportSize())})}ngOnDestroy(){if(this._platform.isBrowser){const t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){const t=this.getViewportScrollPosition(),{width:e,height:n}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+n,right:t.left+e,height:n,width:e}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const t=this._document,e=this._getWindow(),n=t.documentElement,i=n.getBoundingClientRect();return{top:-i.top||t.body.scrollTop||e.scrollY||n.scrollTop||0,left
1434:-i.left||t.body.scrollLeft||e.scrollX||n.scrollLeft||0}}change(t=20){return t>0?this._change.pipe(Fd(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}}return t.\u0275fac=function(e){return new(e||t)(ui(Gd),ui(Yl),ui(Sc,8))},t.\u0275prov=dt({factory:function(){return new t(ui(Gd),ui(Yl),ui(Sc,8))},token:t,providedIn:"root"}),t})(),np=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=qt({type:t}),t.\u0275inj=pt({}),t})(),ip=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=qt({type:t}),t.\u0275inj=pt({imports:[[Qd,qd,np],Qd,np]}),t})();
1435/**
1436 * @license
1437 * Copyright Google LLC All Rights Reserved.
1438 *
1439 * Use of this source code is governed by an MIT-style license that can be
1440 * found in the LICENSE file at https://angular.io/license
1441 */
1442class sp{attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;null!=t&&(this._attachedHost=null,t.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class rp extends sp{constructor(t,e,n,i){super(),this.component=t,this.viewContainerRef=e,this.injector=n,this.componentFactoryResolver=i}}class op extends sp{constructor(t,e,n){super(),this.templateRef=t,this.viewContainerRef=e,this.context=n}get origin(){return this.templateRef.elementRef}attach(t,e=this.context){return this.context=e,super.attach(t)}detach(){return this.context=void 0,super.detach()}}class ap extends sp{constructor(t){super(),this.element=t instanceof ra?t.nativeElement:t}}class lp{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){return t instanceof rp?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof op?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof ap?(this._attachedPortal=t,this.attachDomPortal(t)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}
1443/**
1444 * @license
1445 * Copyright Google LLC All Rights Reserved.
1446 *
1447 * Use of this source code is governed by an MIT-style license that can be
1448 * found in the LICENSE file at https://angular.io/license
1449 */
1450class cp extends lp{constructor(t,e,n,i,s){super(),this.outletElement=t,this._componentFactoryResolver=e,this._appRef=n,this._defaultInjector=i,this.attachDomPortal=t=>{const e=t.element,n=this._document.createComment("dom-portal");e.parentNode.insertBefore(n,e),this.outletElement.appendChild(e),super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(e,n)})},this._document=s}attachComponentPortal(t){const e=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);let n;return t.viewContainerRef?(n=t.viewContainerRef.createComponent(e,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector),this.setDisposeFn(()=>n.destroy())):(n=e.create(t.injector||this._defaultInjector),this._appRef.attachView(n.hostView),this.setDisposeFn(()=>{this._appRef.detachView(n.hostView),n.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(n)),n}attachTemplatePortal(t){let e=t.viewContainerRef,n=e.createEmbeddedView(t.templateRef,t.context);return n.rootNodes.forEach(t=>this.outletElement.appendChild(t)),n.detectChanges(),this.setDisposeFn(()=>{let t=e.indexOf(n);-1!==t&&e.remove(t)}),n}dispose(){super.dispose(),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}let up=(()=>{class t extends lp{constructor(t,e,n){super(),this._componentFactoryResolver=t,this._viewContainerRef=e,this._isInitialized=!1,this.attached=new ul,this.attachDomPortal=t=>{const e=t.element,n=this._document.createComment("dom-portal");t.setAttachedHost(this),e.parentNode.insertBefore(n,e),this._getRootNode().appendChild(e),super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(e,n)})},this._document=n}get portal(){return this._attachedPortal}set portal(t){(!this.hasAttached()||t||this._isInitialized)&&(this.hasAttached()&&super.detach(),t&&super.attach(t),this._attachedPortal=t)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(t){t.setAttachedHost(this);const e=null!=t.viewContainerRef?t.viewContainerRef:this._viewContainerRef,n=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),i=e.createComponent(n,e.length,t.injector||e.
1450injector);return e!==this._viewContainerRef&&this._getRootNode().appendChild(i.hostView.rootNodes[0]),super.setDisposeFn(()=>i.destroy()),this._attachedPortal=t,this._attachedRef=i,this.attached.emit(i),i}attachTemplatePortal(t){t.setAttachedHost(this);const e=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=t,this._attachedRef=e,this.attached.emit(e),e}_getRootNode(){const t=this._viewContainerRef.element.nativeElement;return t.nodeType===t.ELEMENT_NODE?t:t.parentNode}}return t.\u0275fac=function(e){return new(e||t)($r(ea),$r($a),$r(Sc))},t.\u0275dir=Kt({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[Tr]}),t})(),hp=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=qt({type:t}),t.\u0275inj=pt({}),t})();
1451/**
1452 * @license
1453 * Copyright Google LLC All Rights Reserved.
1454 *
1455 * Use of this source code is governed by an MIT-style license that can be
1456 * found in the LICENSE file at https://angular.io/license
1457 */
1458const dp=(()=>{function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t})();function pp(t){return e=>0===t?td():e.lift(new fp(t))}class fp{constructor(t){if(this.total=t,this.total<0)throw new dp}call(t,e){return e.subscribe(new mp(t,this.total))}}class mp extends f{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){const e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))}}class gp{constructor(t,e){this.predicate=t,this.inclusive=e}call(t,e){return e.subscribe(new _p(t,this.predicate,this.inclusive))}}class _p extends f{constructor(t,e,n){super(t),this.predicate=e,this.inclusive=n,this.index=0}_next(t){const e=this.destination;let n;try{n=this.predicate(t,this.index++)}catch(i){return void e.error(i)}this.nextOrComplete(t,n)}nextOrComplete(t,e){const n=this.destination;Boolean(e)?n.next(t):(this.inclusive&&n.next(t),n.complete())}}
1459/**
1460 * @license
1461 * Copyright Google LLC All Rights Reserved.
1462 *
1463 * Use of this source code is governed by an MIT-style license that can be
1464 * found in the LICENSE file at https://angular.io/license
1465 */
1466/**
1467 * @license
1468 * Copyright Google LLC All Rights Reserved.
1469 *
1470 * Use of this source code is governed by an MIT-style license that can be
1471 * found in the LICENSE file at https://angular.io/license
1472 */
1473function yp(t,...e){return e.length?e.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}
1474/**
1475 * @license
1476 * Copyright Google LLC All Rights Reserved.
1477 *
1478 * Use of this source code is governed by an MIT-style license that can be
1479 * found in the LICENSE file at https://angular.io/license
1480 */
1481/**
1482 * @license
1483 * Copyright Google LLC All Rights Reserved.
1484 *
1485 * Use of this source code is governed by an MIT-style license that can be
1486 * found in the LICENSE file at https://angular.io/license
1487 */const vp=Kd();class bp{constructor(t,e){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=Od(-this._previousScrollPosition.left),t.style.top=Od(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const t=this._document.documentElement,e=t.style,n=this._document.body.style,i=e.scrollBehavior||"",s=n.scrollBehavior||"";this._isEnabled=!1,e.left=this._previousHTMLStyles.left,e.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),vp&&(e.scrollBehavior=n.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),vp&&(e.scrollBehavior=i,n.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const t=this._document.body,e=this._viewportRuler.getViewportSize();return t.scrollHeight>e.height||t.scrollWidth>e.width}}
1488/**
1489 * @license
1490 * Copyright Google LLC All Rights Reserved.
1491 *
1492 * Use of this source code is governed by an MIT-style license that can be
1493 * found in the LICENSE file at https://angular.io/license
1494 */class wp{constructor(t,e,n,i){this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler
1494=n,this._config=i,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(t){this._overlayRef=t}enable(){if(this._scrollSubscription)return;const t=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{const t=this._viewportRuler.getViewportScrollPosition().top;Math.abs(t-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}
1495/**
1496 * @license
1497 * Copyright Google LLC All Rights Reserved.
1498 *
1499 * Use of this source code is governed by an MIT-style license that can be
1500 * found in the LICENSE file at https://angular.io/license
1501 */class Cp{enable(){}disable(){}attach(){}}
1502/**
1503 * @license
1504 * Copyright Google LLC All Rights Reserved.
1505 *
1506 * Use of this source code is governed by an MIT-style license that can be
1507 * found in the LICENSE file at https://angular.io/license
1508 */function Sp(t,e){return e.some(e=>t.bottom<e.top||t.top>e.bottom||t.right<e.left||t.left>e.right)}function Ep(t,e){return e.some(e=>t.top<e.top||t.bottom>e.bottom||t.left<e.left||t.right>e.right)}
1509/**
1510 * @license
1511 * Copyright Google LLC All Rights Reserved.
1512 *
1513 * Use of this source code is governed by an MIT-style license that can be
1514 * found in the LICENSE file at https://angular.io/license
1515 */class kp{constructor(t,e,n,i){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this._config=i,this._scrollSubscription=null}attach(t){this._overlayRef=t}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:e,height:n}=this._viewportRuler.getViewportSize();Sp(t,[{width:e,height:n,bottom:n,right:e,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let xp=(()=>{class t{constructor(t,e,n,i){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this.noop=()=>new Cp,this.close=t=>new wp(this._scrollDispatcher,this._ngZone,this._viewportRuler,t),this.block=()=>new bp(this._viewportRuler,this._document),this.reposition=t=>new kp(this._scrollDispatcher,this._viewportRuler,this._ngZone,t),this._document=i}}return t.\u0275fac=function(e){return new(e||t)(ui(tp),ui(ep),ui(Yl),ui(Sc))},t.\u0275prov=dt({factory:function(){return new t(ui(tp),ui(ep),ui(Yl),ui(Sc))},token:t,providedIn:"root"}),t})();
1516/**
1517 * @license
1518 * Copyright Google LLC All Rights Reserved.
1519 *
1520 * Use of this source code is governed by an MIT-style license that can be
1521 * found in the LICENSE file at https://angular.io/license
1522 */
1523/**
1524 * @license
1525 * Copyright Google LLC All Rights Reserved.
1526 *
1527 * Use of this source code is governed by an MIT-style license that can be
1528 * found in the LICENSE file at https://angular.io/license
1529 */class Tp{constructor(t){if(this.scrollStrategy=new Cp,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){const e=Object.keys(t);for(const n of e)void 0!==t[n]&&(this[n]=t[n])}}}
1530/**
1531 * @license
1532 * Copyright Google LLC All Rights Reserved.
1533 *
1534 * Use of this source code is governed by an MIT-style license that can be
1535 * found in the LICENSE file at https://angular.io/license
1536 */class Op{constructor(t,e,n,i,s){this.offsetX=n,this.offsetY=i,this.panelClass=s,this.originX=t.originX,this.originY=t.originY,this.overlayX=e.overlayX,this.overlayY=e.overlayY}}class Ap{constructor(t,e){this.connectionPair=t,this.scrollableViewProperties=e}}let Ip=(()=>{class t{constructor(t){this._attachedOverlays=[],this._document=t}ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){const e=this._attachedOverlays.indexOf(t);e>-1&&this._attachedOverlays.splice(e,1),0===this._attachedOverlays.length&&this.detach()}}return t.\u0275fac=function(e){return new(e||t)(ui(Sc))},t.\u0275prov=dt({factory:function(){return new t(ui(Sc))},token:t,providedIn:"root"}),t})(),Dp=(()=>
1536{class t extends Ip{constructor(t){super(t),this._keydownListener=t=>{const e=this._attachedOverlays;for(let n=e.length-1;n>-1;n--)if(e[n]._keydownEvents.observers.length>0){e[n]._keydownEvents.next(t);break}}}add(t){super.add(t),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return t.\u0275fac=function(e){return new(e||t)(ui(Sc))},t.\u0275prov=dt({factory:function(){return new t(ui(Sc))},token:t,providedIn:"root"}),t})(),Pp=(()=>{class t extends Ip{constructor(t,e){super(t),this._platform=e,this._cursorStyleIsSet=!1,this._clickListener=t=>{const e=t.composedPath?t.composedPath()[0]:t.target,n=this._attachedOverlays.slice();for(let i=n.length-1;i>-1;i--){const s=n[i];if(!(s._outsidePointerEvents.observers.length<1)&&s.hasAttached()){if(s.overlayElement.contains(e))break;s._outsidePointerEvents.next(t)}}}}add(t){super.add(t),this._isAttached||(this._document.body.addEventListener("click",this._clickListener,!0),this._document.body.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=this._document.body.style.cursor,this._document.body.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("click",this._clickListener,!0),this._document.body.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}}return t.\u0275fac=function(e){return new(e||t)(ui(Sc),ui(Gd))},t.\u0275prov=dt({factory:function(){return new t(ui(Sc),ui(Gd))},token:t,providedIn:"root"}),t})();
1537/**
1538 * @license
1539 * Copyright Google LLC All Rights Reserved.
1540 *
1541 * Use of this source code is governed by an MIT-style license that can be
1542 * found in the LICENSE file at https://angular.io/license
1543 */
1544const Rp=!("undefined"==typeof window||!window||!window.__karma__&&!window.jasmine);let Mp=(()=>{class t{constructor(t,e){this._platform=e,this._document=t}ngOnDestroy(){const t=this._containerElement;t&&t.parentNode&&t.parentNode.removeChild(t)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const t="cdk-overlay-container";if(this._platform.isBrowser||Rp){const e=this._document.querySelectorAll(`.${t}[platform="server"], .${t}[platform="test"]`);for(let t=0;t<e.length;t++)e[t].parentNode.removeChild(e[t])}const e=this._document.createElement("div");e.classList.add(t),Rp?e.setAttribute("platform","test"):this._platform.isBrowser||e.setAttribute("platform","server"),this._document.body.appendChild(e),this._containerElement=e}}return t.\u0275fac=function(e){return new(e||t)(ui(Sc),ui(Gd))},t.\u0275prov=dt({factory:function(){return new t(ui(Sc),ui(Gd))},token:t,providedIn:"root"}),t})();
1545/**
1546 * @license
1547 * Copyright Google LLC All Rights Reserved.
1548 *
1549 * Use of this source code is governed by an MIT-style license that can be
1550 * found in the LICENSE file at https://angular.io/license
1551 */class Np{constructor(t,e,n,i,s,r,o,a,l){this._portalOutlet=t,this._host=e,this._pane=n,this._config=i,this._ngZone=s,this._keyboardDispatcher=r,this._document=o,this._location=a,this._outsideClickDispatcher=l,this._backdropElement=null,this._backdropClick=new S,this._attachments=new S,this._detachments=new S,this._locationChanges=h.EMPTY,this._backdropClickHandler=t=>
1551this._backdropClick.next(t),this._keydownEvents=new S,this._outsidePointerEvents=new S,i.scrollStrategy&&(this._scrollStrategy=i.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=i.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){let e=this._portalOutlet.attach(t);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(pp(1)).subscribe(()=>{this.hasAttached()&&this.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(()=>this.dispose())),this._outsideClickDispatcher.add(this),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){const t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this.detachBackdrop(),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),this._host&&this._host.parentNode&&(this._host.parentNode.removeChild(this._host),this._host=null),this._previousHostParent=this._pane=null,t&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config=Object.assign(Object.assign({},this._config),t),this._updateElementSize()}setDirection(t){this._config=Object.assign(Object.assign({},this._config),{direction:t}),this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){const t=this._config.direction;return t?"string"==typeof t?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const t=this._pane.style;t.width=Od(this._config.width),t.height=Od(this._config.height),t.minWidth=Od(this._config.minWidth),t.minHeight=Od(this._config.minHeight),t.maxWidth=Od(this._config.maxWidth),t.maxHeight=Od(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachBackdrop(){const t="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),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),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(t)})}):this._backdropElement.classList.add(t)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let t,e=this._backdropElement;if(!e)return;let n=()=>{e&&(e.removeEventListener("click",this._backdropClickHandler),e.removeEventListener("transitionend",n),e.parentNode&&e.parentNode.removeChild(e)),this._backdropElement==e&&(this._backdropElement=null),this._config.backdropClass&&this._toggleClasses(e,this._config.backdropClass,!1),clearTimeout(t)};e.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{e.addEventListener("transitionend",n)}),e.style.pointerEvents="none",t=this._ngZone.runOutsideAngular(()=>setTimeout(n,500))}_toggleClasses(t,e,n){const i=t.classList;Td(e).forEach(t=>{t&&(n?i.add(t):i.remove(t))})}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const t=this._ngZone.onStable.pipe(Vd(U(this._attachments,this._detachments))).subscribe(()=>{this._pane&&this._host&&0!==this._pane.children.length||(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._previousHostParent.removeChild(this._host)),t.unsubscribe())})})}_disposeScrollStrategy(){const t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}}
1552/**
1553 * @license
1554 * Copyright Google LLC All Rights Reserved.
1555 *
1556 * Use of this source code is governed by an MIT-style license that can be
1557 * found in the LICENSE file at https://angular.io/license
1558 */const Fp="cdk-overlay-connected-position-bounding-box",Vp=/([A-Za-z%]+)$/;
1558class Lp{constructor(t,e,n,i,s){this._viewportRuler=e,this._document=n,this._platform=i,this._overlayContainer=s,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 S,this._resizeSubscription=h.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}get positions(){return this._preferredPositions}attach(t){this._validatePositions(),t.hostElement.classList.add(Fp),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect();const t=this._originRect,e=this._overlayRect,n=this._viewportRect,i=[];let s;for(let r of this._preferredPositions){let o=this._getOriginPoint(t,r),a=this._getOverlayPoint(o,e,r),l=this._getOverlayFit(a,e,n,r);if(l.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(r,o);this._canFitWithFlexibleDimensions(l,a,n)?i.push({position:r,origin:o,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(o,r)}):(!s||s.overlayFit.visibleArea<l.visibleArea)&&(s={overlayFit:l,overlayPoint:a,originPoint:o,position:r,overlayRect:e})}if(i.length){let t=null,e=-1;for(const n of i){const i=n.boundingBoxRect.width*n.boundingBoxRect.height*(n.position.weight||1);i>e&&(e=i,t=n)}return this._isPushed=!1,void this._applyPosition(t.position,t.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(s.position,s.originPoint);this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&zp(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Fp),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();const t=this._lastPosition||this._preferredPositions[0],e=this._getOriginPoint(this._originRect,t);this._applyPosition(t,e)}}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,e){let n,i;if("center"==e.originX)n=t.left+t.width/2;else{const i=this._isRtl()?t.right:t.left,s=this._isRtl()?t.left:t.right;n="start"==e.originX?i:s}return i="center"==e.originY?t.top+t.height/2:"top"==e.originY?t.top:t.bottom,{x:n,y:i}}_getOverlayPoint(t,e,n){let i,s;return i="center"==n.overlayX?-e.width/2:"start"===n.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,s="center"==n.overlayY?-e.height/2:"top"==n.overlayY?0:-e.height,{x:t.x+i,y:t.y+s}}_getOverlayFit(t,e,n,i){const s=Bp(e);let{x:r,y:o}=t,a=this._getOffset(i,"x"),l=this._getOffset(i,"y");a&&(r+=a),l&&(o+=l);let c=0-o,u=o+s.height-n.height,h=this._subtractOverflows(s.width,0-r,r+s.width-n.width),d=this._subtractOverflows(s.height,c,u),p=h*d;return{visibleArea:p,isCompletelyWithinViewport:s.width*s.height===p,fitsInViewportVertically:d===s.height,fitsInViewportHorizontally:h==s.width}}_canFitWithFlexibleDimensions(t,e,n){if(this._hasFlexibleDimensions){const i=n.bottom-e.y,s=n.right-e.x,r=jp(this._overlayRef.getConfig().minHeight),o=jp(this._overlayRef.getConfig().minWidth),a=t.fitsInViewportHorizontally||null!=o&&o<=s;return(t.fitsInViewportVertically||null!=r&&r<=i)&&a}return!1}_pushOverlayOnScreen(t,e,n){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};const i=Bp(e),s=this._viewportRect,r=Math.max(t.x+i.width-s.width,0),o=Math.max(t.y+i.height-s.height,0),a=Math.max(s.top-n.top-t.y,0),l=Math.max(s.left-n.left-t.x,0);let c=0,u=0;return c=i.width<=s.width?l||-r:t.x<this._viewportMargin?s.left-n.left-t.x:0,u=i.height<=s.height?a||-o:t.y<this._viewportMargin?s.top-n.top-t.y:0,this._previousPushAmount={x:c,y:u},{x:t.x+c,y:t.y+u}}_applyPosition(t,e){if(this._setTransformOrigin(t),this._setOverlayElementStyles(e,t),this._setBoundingBoxStyles(e,t),t.panelClass&&this._addPanelClasses(t.panelClass),this._lastPosition=t,this._positionChanges.observers.length){const e=this._getScrollVisibility(),n=new Ap(t,e);this._positionChanges.next(n)}this._isInitialRender=!1}_setTransformOrigin(t){if(!this._transformOriginSelector)return;const e=this._boundingBox.querySelectorAll(this._transformOriginSelector);let n,i=t.overlayY;n="center"===t.overlayX?"center":this._isRtl()?"start"===t.overlayX?"right":"left":"start"===t.overlayX?"left":"right";for(let s=0;s<e.length;s++)e[s].style.transformOrigin=`${n} ${i}`}_calculateBoundingBoxRect(t,e){const n=this._viewportRect,i=this._isRtl();let s,r,o,a,l,c;if("top"===e.overlayY)r=t.y,s=n.height-r+this._viewportMargin;else if("bottom"===e.overlayY)o=n.height-t.y+2*this._viewportMargin,s=n.height-o+this._viewportMargin;else{const e=Math.min(n.bottom-t.y+n.top,t.y),i=this._lastBoundingBoxSize.height;s=2*e,r=t.y-e,s>i&&!this._isInitialRender&&!this._growAfterOpen&&(r=t.y-i/2)}if("end"===e.overlayX&&!i||"start"===e.overlayX&&i)c=n.width-t.x+this._viewportMargin,a=t.x-this._viewportMargin;else if("start"===e.overlayX&&!i||"end"===e.overlayX&&i)l=t.x,a=n.right-t.x;else{const e=Math.min(n.right-t.x+n.left,t.x),i=this._lastBoundingBoxSize.width;a=2*e,l=t.x-e,a>i&&!this._isInitialRender&&!this._growAfterOpen&&(l=t.x-i/2)}return{top:r,left:l,bottom:o,right:c,width:a,height:s}}_setBoundingBoxStyles(t,e){const n=this._calculateBoundingBoxRect(t,e);this._isInitialRender||this._growAfterOpen||(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));const i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right=i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{const t=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;i.height=Od(n.height),i.top=Od(n.top),i.bottom=Od(n.bottom),i.width=Od(n.width),i.left=Od(n.left),i.right=Od(n.right),i.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",i.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",t&&(i.maxHeight=Od(t)),s&&(i.maxWidth=Od(s))}this._lastBoundingBoxSize=n,zp(this._boundingBox.style,i)}_resetBoundingBoxStyles(){zp(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){zp(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,e){const n={},i=this._hasExactPosition(),s=this._hasFlexibleDimensions,r=this._overlayRef.getConfig();if(i){const i=this._viewportRuler.getViewportScrollPosition();zp(n,this._getExactOverlayY(e,t,i)),zp(n,this._getExactOverlayX(e,t,i))}else n.position="static";let o="",a=this._getOffset(e,"x"),l=this._getOffset(e,"y");a&&(o+=`translateX(${a}px) `),l&&(o+=`translateY(${l}px)`),n.transform=o.trim(),r.maxHeight&&(i?n.maxHeight=Od(r.maxHeight):s&&(n.maxHeight="")),r.maxWidth&&(i?n.maxWidth=Od(r.maxWidth):s&&(n.maxWidth="")),zp(this._pane.style,n)}_getExactOverlayY(t,e,n){let i={top:"",bottom:""},s=this._getOverlayPoint(e,this._overlayRect,t);this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,n));let r=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return s.y-=r,"bottom"===t.overlayY?i.bottom=this._document.documentElement.clientHeight-(s.y+this._overlayRect.height)+"px":i.top=Od(s.y),i}_getExactOverlayX(t,e,n){let i,s={left:"",right:""},r=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n)),i=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left","right"===i?s.right=this._document.documentElement.clientWidth-(r.x+this._overlayRect.width)+"px":s.left=Od(r.x),s}_getScrollVisibility(){const t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),n=this._scrollables.map(t=>t.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Ep(t,n),isOriginOutsideView:Sp(t,n),isOverlayClipped:Ep(e,n),isOverlayOutsideView:Sp(e,n)}}_subtractOverflows(t,...e){return e.reduce((t,e)=>t-Math.max(e,0),t)}_getNarrowedViewportRect(){const t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._viewportMargin,left:n.left+this._viewportMargin,right:n.left+t-this._viewportMargin,bottom:n.top+e-this._viewportMargin,width:t-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,e){return"x"===e?null==t.offsetX?this._offsetX:t.offsetX:null==t.offsetY?this._offsetY:t.offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&Td(t).forEach(t=>{""!==t&&-1===this._appliedPanelClasses.indexOf(t)&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEac
1558h(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){const t=this._origin;if(t instanceof ra)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();const e=t.width||0,n=t.height||0;return{top:t.y,bottom:t.y+n,left:t.x,right:t.x+e,height:n,width:e}}}function zp(t,e){for(let n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function jp(t){if("number"!=typeof t&&null!=t){const[e,n]=t.split(Vp);return n&&"px"!==n?null:parseFloat(e)}return t||null}function Bp(t){return{top:Math.floor(t.top),right:Math.floor(t.right),bottom:Math.floor(t.bottom),left:Math.floor(t.left),width:Math.floor(t.width),height:Math.floor(t.height)}}
1559/**
1560 * @license
1561 * Copyright Google LLC All Rights Reserved.
1562 *
1563 * Use of this source code is governed by an MIT-style license that can be
1564 * found in the LICENSE file at https://angular.io/license
1565 */class Hp{constructor(t,e,n,i,s,r,o){this._preferredPositions=[],this._positionStrategy=new Lp(n,i,s,r,o).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(t,e),this.onPositionChange=this._positionStrategy.positionChanges}get positions(){return this._preferredPositions}attach(t){this._overlayRef=t,this._positionStrategy.attach(t),this._direction&&(t.setDirection(this._direction),this._direction=null)}dispose(){this._positionStrategy.dispose()}detach(){this._positionStrategy.detach()}apply(){this._positionStrategy.apply()}recalculateLastPosition(){this._positionStrategy.reapplyLastPosition()}withScrollableContainers(t){this._positionStrategy.withScrollableContainers(t)}withFallbackPosition(t,e,n,i){const s=new Op(t,e,n,i);return this._preferredPositions.push(s),this._positionStrategy.withPositions(this._preferredPositions),this}withDirection(t){return this._overlayRef?this._overlayRef.setDirection(t):this._direction=t,this}withOffsetX(t){return this._positionStrategy.withDefaultOffsetX(t),this}withOffsetY(t){return this._positionStrategy.withDefaultOffsetY(t),this}withLockedPosition(t){return this._positionStrategy.withLockedPosition(t),this}withPositions(t){return this._preferredPositions=t.slice(),this._positionStrategy.withPositions(this._preferredPositions),this}setOrigin(t){return this._positionStrategy.setOrigin(t),this}}
1566/**
1567 * @license
1568 * Copyright Google LLC All Rights Reserved.
1569 *
1570 * Use of this source code is governed by an MIT-style license that can be
1571 * found in the LICENSE file at https://angular.io/license
1572 */const $p="cdk-global-overlay-wrapper";class Zp{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(t){const e=t.getConfig();this._overlayRef=t,this._width&&!e.width&&t.updateSize({width:this._width}),this._height&&!e.height&&t.updateSize({height:this._height}),t.hostElement.classList.add($p),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._rightOffset="",this._leftOffset=t,this._justifyContent="flex-start",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._leftOffset="",this._rightOffset=t,this._justifyContent="flex-end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._justifyContent="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),{width:i,height:s,maxWidth:r,maxHeight:o}=n,a=!("100%"!==i&&"100vw"!==i||r&&"100%"!==r&&"100vw"!==r),l=!("100%"!==s&&"100vh"!==s||o&&"100%"!==o&&"100vh"!==o);t.position=this._cssPosition,t.marginLeft=a?"0":this._leftOffset,t.marginTop=l?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=this._rightOffset,a?e.justifyContent="flex-start":"center"===this._justifyContent?e.justifyContent="center"
1572:"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?e.justifyContent="flex-end":"flex-end"===this._justifyContent&&(e.justifyContent="flex-start"):e.justifyContent=this._justifyContent,e.alignItems=l?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,n=e.style;e.classList.remove($p),n.justifyContent=n.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}let Up=(()=>{class t{constructor(t,e,n,i){this._viewportRuler=t,this._document=e,this._platform=n,this._overlayContainer=i}global(){return new Zp}connectedTo(t,e,n){return new Hp(e,n,t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}flexibleConnectedTo(t){return new Lp(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return t.\u0275fac=function(e){return new(e||t)(ui(ep),ui(Sc),ui(Gd),ui(Mp))},t.\u0275prov=dt({factory:function(){return new t(ui(ep),ui(Sc),ui(Gd),ui(Mp))},token:t,providedIn:"root"}),t})(),Gp=0,qp=(()=>{class t{constructor(t,e,n,i,s,r,o,a,l,c,u){this.scrollStrategies=t,this._overlayContainer=e,this._componentFactoryResolver=n,this._positionBuilder=i,this._keyboardDispatcher=s,this._injector=r,this._ngZone=o,this._document=a,this._directionality=l,this._location=c,this._outsideClickDispatcher=u}create(t){const e=this._createHostElement(),n=this._createPaneElement(e),i=this._createPortalOutlet(n),s=new Tp(t);return s.direction=s.direction||this._directionality.value,new Np(i,e,n,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(t){const e=this._document.createElement("div");return e.id="cdk-overlay-"+Gp++,e.classList.add("cdk-overlay-pane"),t.appendChild(e),e}_createHostElement(){const t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}_createPortalOutlet(t){return this._appRef||(this._appRef=this._injector.get(gc)),new cp(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return t.\u0275fac=function(e){return new(e||t)(ui(xp),ui(Mp),ui(ea),ui(Up),ui(Dp),ui(kr),ui(Yl),ui(Sc),ui(Xd),ui(Fc),ui(Pp))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})();
1573/**
1574 * @license
1575 * Copyright Google LLC All Rights Reserved.
1576 *
1577 * Use of this source code is governed by an MIT-style license that can be
1578 * found in the LICENSE file at https://angular.io/license
1579 */
1580/**
1581 * @license
1582 * Copyright Google LLC All Rights Reserved.
1583 *
1584 * Use of this source code is governed by an MIT-style license that can be
1585 * found in the LICENSE file at https://angular.io/license
1586 */
1587const Wp=[{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"}],Kp=new qn("cdk-connected-overlay-scroll-strategy");let Yp=(()=>{class t{constructor(t){this.elementRef=t}}return t.\u0275fac=function(e){return new(e||t)($r(ra))},t.\u0275dir=Kt({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),t})(),Xp=(()=>{class t{constructor(t,e,n,i,s){this._overlay=t,this._dir=s,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=h.EMPTY,this._attachSubscription=h.EMPTY,this._detachSubscription=h.EMPTY,this._positionSubscription=h.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new ul,this.positionChange=new ul,this.attach=new ul,this.detach=new ul,this.overlayKeydown=new ul,this.overlayOutsideClick=new ul,this._templatePortal=new op(e,n),this._scrollStrategyFactory=i,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(t){this._offsetX=t,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(t){this._offsetY=t,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(t){this._hasBackdrop=kd(t)}get lockPosition(){return this._lockPosition}set lockPosition(t){this._lockPosition=kd(t)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(t){this._flexibleDimensions=kd(t)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(t){this._growAfterOpen=kd(t)}get push(){return this._push}set push(t){this._push=kd(t)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(t){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),t.origin&&this.open&&this._position.apply()),t.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){this.positions&&this.positions.length||(this.positions=Wp);const t=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=t.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=t.detachments().subscribe(()=>this.detach.emit()),t.keydownEvents().subscribe(t=>{this.overlayKeydown.next(t),27!==t.keyCode||this.disableClose||yp(t)||(t.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(t=>{this.overlayOutsideClick.next(t)})}_buildConfig(){const t=this._position=this.positionStrategy||this._createPositionStrategy(),e=new Tp({direction:this._dir,positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(e.width=this.width),(this.height||0===this.height)&&(e.height=this.height),(this.minWidth||0===this.minWidth)&&(e.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(e.minHeight=this.minHeight),this.backdropClass&&(e.backdropClass=this.backdropClass),this.panelClass&&(e.panelClass=this.panelClass),e}_updatePositionStrategy(t){const e=this.positions.map(t=>({originX:t.originX,originY:t.originY,overlayX:t.overlayX,overlayY:t.overlayY,offsetX:t.offsetX||this.offsetX,offsetY:t.offsetY||this.offsetY,panelClass:t.panelClass||void 0}));return t.setOrigin(this.origin.elementRef).withPositions(e).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const t=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(t),t}_attachOverlay(){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(t=>{this.backdropClick.emit(t)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function(t,e=!1){return n=>n.lift(new gp(t,e))}(()=>this.positionChange.observers.length>0)).subscribe(t=>{this.positionChange.emit(t),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)($r(qp),$r(Va),$r($a),$r(Kp),$r(Xd,8))},t.\u0275dir=Kt({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"],positions:["cdkConnectedOverlayPositions","positions"],origin:["cdkConnectedOverlayOrigin","origin"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[ce]}),t})();const Qp={provide:Kp,deps:[qp],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};let Jp=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=qt({type:t}
1587),t.\u0275inj=pt({providers:[qp,Qp],imports:[[Qd,hp,ip],ip]}),t})();
1588/**
1589 * @license
1590 * Copyright Google LLC All Rights Reserved.
1591 *
1592 * Use of this source code is governed by an MIT-style license that can be
1593 * found in the LICENSE file at https://angular.io/license
1594 */
1595function tf(t,e=od){return n=>n.lift(new ef(t,e))}class ef{constructor(t,e){this.dueTime=t,this.scheduler=e}call(t,e){return e.subscribe(new nf(t,this.dueTime,this.scheduler))}}class nf extends f{constructor(t,e,n){super(t),this.dueTime=e,this.scheduler=n,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(sf,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:t}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(t)}}clearDebounce(){const t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)}}function sf(t){t.debouncedNext()}
1596/**
1597 * @license
1598 * Copyright Google LLC All Rights Reserved.
1599 *
1600 * Use of this source code is governed by an MIT-style license that can be
1601 * found in the LICENSE file at https://angular.io/license
1602 */let rf=(()=>{class t{create(t){return"undefined"==typeof MutationObserver?null:new MutationObserver(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=dt({factory:function(){return new t},token:t,providedIn:"root"}),t})(),of=(()=>{class t{constructor(t){this._mutationObserverFactory=t,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((t,e)=>this._cleanupObserver(e))}observe(t){const e=Ad(t);return new y(t=>{const n=this._observeElement(e).subscribe(t);return()=>{n.unsubscribe(),this._unobserveElement(e)}})}_observeElement(t){if(this._observedElements.has(t))this._observedElements.get(t).count++;else{const e=new S,n=this._mutationObserverFactory.create(t=>e.next(t));n&&n.observe(t,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(t,{observer:n,stream:e,count:1})}return this._observedElements.get(t).stream}_unobserveElement(t){this._observedElements.has(t)&&(this._observedElements.get(t).count--,this._observedElements.get(t).count||this._cleanupObserver(t))}_cleanupObserver(t){if(this._observedElements.has(t)){const{observer:e,stream:n}=this._observedElements.get(t);e&&e.disconnect(),n.complete(),this._observedElements.delete(t)}}}return t.\u0275fac=function(e){return new(e||t)(ui(rf))},t.\u0275prov=dt({factory:function(){return new t(ui(rf))},token:t,providedIn:"root"}),t})(),af=(()=>{class t{constructor(t,e,n){this._contentObserver=t,this._elementRef=e,this._ngZone=n,this.event=new ul,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(t){this._disabled=kd(t),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(t){this._debounce=xd(t),this._subscribe()}ngAfterContentInit(){this._currentSubscription||this.disabled||this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const t=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?t.pipe(tf(this.debounce)):t).subscribe(this.event)})}_unsubscribe(){var t;null===(t=this._currentSubscription)||void 0===t||t.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)($r(of),$r(ra),$r(Yl))},t.\u0275dir=Kt({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),t})(),lf=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=qt({type:t}),t.\u0275inj=pt({providers:[rf]}),t})();
1603/**
1604 * @license
1605 * Copyright Google LLC All Rights Reserved.
1606 *
1607 * Use of this source code is governed by an MIT-style license that can be
1608 * found in the LICENSE file at https://angular.io/license
1609 */
1610class cf extends
1611/**
1612 * @license
1613 * Copyright Google LLC All Rights Reserved.
1614 *
1615 * Use of this source code is governed by an MIT-style license that can be
1616 * found in the LICENSE file at https://angular.io/license
1617 */
1618class{constructor(t){this._items=t,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new S,this._typeaheadSub
1618scription=h.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=t=>t.disabled,this._pressedLetters=[],this.tabOut=new S,this.change=new S,t instanceof dl&&t.changes.subscribe(t=>{if(this._activeItem){const e=t.toArray().indexOf(this._activeItem);e>-1&&e!==this._activeItemIndex&&(this._activeItemIndex=e)}})}skipPredicate(t){return this._skipPredicateFn=t,this}withWrap(t=!0){return this._wrap=t,this}withVerticalOrientation(t=!0){return this._vertical=t,this}withHorizontalOrientation(t){return this._horizontal=t,this}withAllowedModifierKeys(t){return this._allowedModifierKeys=t,this}withTypeAhead(t=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(dd(t=>this._pressedLetters.push(t)),tf(t),Ku(()=>this._pressedLetters.length>0),x(()=>this._pressedLetters.join(""))).subscribe(t=>{const e=this._getItemsArray();for(let n=1;n<e.length+1;n++){const i=(this._activeItemIndex+n)%e.length,s=e[i];if(!this._skipPredicateFn(s)&&0===s.getLabel().toUpperCase().trim().indexOf(t)){this.setActiveItem(i);break}}this._pressedLetters=[]}),this}withHomeAndEnd(t=!0){return this._homeAndEnd=t,this}setActiveItem(t){const e=this._activeItem;this.updateActiveItem(t),this._activeItem!==e&&this.change.next(this._activeItemIndex)}onKeydown(t){const e=t.keyCode,n=["altKey","ctrlKey","metaKey","shiftKey"].every(e=>!t[e]||this._allowedModifierKeys.indexOf(e)>-1);switch(e){case 9:return void this.tabOut.next();case 40:if(this._vertical&&n){this.setNextItemActive();break}return;case 38:if(this._vertical&&n){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&n){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&n){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&n){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&n){this.setLastItemActive();break}return;default:return void((n||yp(t,"shiftKey"))&&(t.key&&1===t.key.length?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],t.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(t){const e=this._getItemsArray(),n="number"==typeof t?t:e.indexOf(t),i=e[n];this._activeItem=null==i?null:i,this._activeItemIndex=n}_setActiveItemByDelta(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}_setActiveInWrapMode(t){const e=this._getItemsArray();for(let n=1;n<=e.length;n++){const i=(this._activeItemIndex+t*n+e.length)%e.length;if(!this._skipPredicateFn(e[i]))return void this.setActiveItem(i)}}_setActiveInDefaultMode(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)}_setActiveItemByIndex(t,e){const n=this._getItemsArray();if(n[t]){for(;this._skipPredicateFn(n[t]);)if(!n[t+=e])return;this.setActiveItem(t)}}_getItemsArray(){return this._items instanceof dl?this._items.toArray():this._items}}{setActiveItem(t){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(t),this.activeItem&&this.activeItem.setActiveStyles()}}
1619/**
1620 * @license
1621 * Copyright Google LLC All Rights Reserved.
1622 *
1623 * Use of this source code is governed by an MIT-style license that can be
1624 * found in the LICENSE file at https://angular.io/license
1625 */let uf=(()=>{class t{constructor(t){this._platform=t}isDisabled(t){return t.hasAttribute("disabled")}isVisible(t){return function(t){return!!(t.offsetWidth||t.offsetHeight||"function"==typeof t.getClientRects&&t.getClientRects().length)}(t)&&"visible"===getComputedStyle(t).visibility}isTabbable(t){if(!this._platform.isBrowser)return!1;const e=function(t){try{return t.frameElement}catch(cx){return null}}((n=t).ownerDocument&&n.ownerDocument.defaultView||window);var n;
1626/**
1627 * @license
1628 * Copyright Google LLC All Rights Reserved.
1629 *
1630 * Use of this source code is governed by an MIT-style license that can be
1631 * found in the LICENSE file at https://angular.io/license
1632 */if(e){if(-1===df(e))return!1;if(!this.isVisible(e))return!1}let i=t.nodeName.toLowerCase(),s=df(t);return t.hasAttribute("contenteditable")?-1!==s:"iframe"!==i&&"object"!==i&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(t){let e=t.nodeName.toLowerCase(),n="input"===e&&t.type;return"text"===n||"password"===n||"select"===e||"textarea"===e}(t))&&("audio"===i?!!t.hasAttribute("controls")&&-1!==s:"video"===i?-1!==s&&(null!==s||this._platform.FIRE
1632FOX||t.hasAttribute("controls")):t.tabIndex>=0)}isFocusable(t,e){return function(t){return!function(t){return function(t){return"input"==t.nodeName.toLowerCase()}(t)&&"hidden"==t.type}(t)&&(function(t){let e=t.nodeName.toLowerCase();return"input"===e||"select"===e||"button"===e||"textarea"===e}(t)||function(t){return function(t){return"a"==t.nodeName.toLowerCase()}(t)&&t.hasAttribute("href")}(t)||t.hasAttribute("contenteditable")||hf(t))}(t)&&!this.isDisabled(t)&&((null==e?void 0:e.ignoreVisibility)||this.isVisible(t))}}return t.\u0275fac=function(e){return new(e||t)(ui(Gd))},t.\u0275prov=dt({factory:function(){return new t(ui(Gd))},token:t,providedIn:"root"}),t})();function hf(t){if(!t.hasAttribute("tabindex")||void 0===t.tabIndex)return!1;let e=t.getAttribute("tabindex");return"-32768"!=e&&!(!e||isNaN(parseInt(e,10)))}function df(t){if(!hf(t))return null;const e=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}class pf{constructor(t,e,n,i,s=!1){this._element=t,this._checker=e,this._ngZone=n,this._document=i,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,s||this.attachAnchors()}get enabled(){return this._enabled}set enabled(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}destroy(){const t=this._startAnchor,e=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),e&&(e.removeEventListener("focus",this.endAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusInitialElement()))})}focusFirstTabbableElementWhenReady(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusFirstTabbableElement()))})}focusLastTabbableElementWhenReady(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusLastTabbableElement()))})}_getRegionBoundary(t){let e=this._element.querySelectorAll(`[cdk-focus-region-${t}], [cdkFocusRegion${t}], [cdk-focus-${t}]`);for(let n=0;n<e.length;n++)e[n].hasAttribute(`cdk-focus-${t}`)?console.warn(`Found use of deprecated attribute 'cdk-focus-${t}', use 'cdkFocusRegion${t}' instead. The deprecated attribute will be removed in 8.0.0.`,e[n]):e[n].hasAttribute(`cdk-focus-region-${t}`)&&console.warn(`Found use of deprecated attribute 'cdk-focus-region-${t}', use 'cdkFocusRegion${t}' instead. The deprecated attribute will be removed in 8.0.0.`,e[n]);return"start"==t?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(){const t=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(t){if(t.hasAttribute("cdk-focus-initial")&&console.warn("Found use of deprecated attribute 'cdk-focus-initial', use 'cdkFocusInitial' instead. The deprecated attribute will be removed in 8.0.0",t),!this._checker.isFocusable(t)){const e=this._getFirstTabbableElement(t);return null==e||e.focus(),!!e}return t.focus(),!0}return this.focusFirstTabbableElement()}focusFirstTabbableElement(){const t=this._getRegionBoundary("start");return t&&t.focus(),!!t}focusLastTabbableElement(){const t=this._getRegionBoundary("end");return t&&t.focus(),!!t}hasAttached(){return this._hasAttached}_getFirstTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;let e=t.children||t.childNodes;for(let n=0;n<e.length;n++){let t=e[n].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(e[n]):null;if(t)return t}return null}_getLastTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;let e=t.children||t.childNodes;for(let n=e.length-1;n>=0;n--){let t=e[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[n]):null;if(t)return t}return null}_createAnchor(){const t=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t.setAttribute("aria-hidden","true"),t}_toggleAnchorTabIndex(t,e){t?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(t){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}_executeOnStable(t){this._ngZone.isStable?t():this._ngZone.onStable.pipe(pp(1)).subscribe(t)}}let ff=(()=>{class t{constructor(t,e,n){this._checker=t,this._ngZone=e,this._document=n}create(t,e=!1){return new pf(t,this._checker,this._ngZone,this._document,e)}}return t.\u0275fac=function(e){return new(e||t)(ui(uf),ui(Yl),ui(Sc))},t.\u0275prov=dt({factory:function(){return new t(ui(uf),ui(Yl),ui(Sc))},token:t,providedIn:"root"}),t})();"undefined"!=typeof Element&&Element;
1633/**
1634 * @license
1635 * Copyright Google LLC All Rights Reserved.
1636 *
1637 * Use of this source code is governed by an MIT-style license that can be
1638 * found in the LICENSE file at https://angular.io/license
1639 */
1640const mf=new qn("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),gf=new qn("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let _f=(()=>{class t{constructor(t,e,n,i){this._ngZone=e,this._defaultOptions=i,this._document=n,this._liveElement=t||this._createLiveElement()}announce(t,...e){const n=this._defaultOptions;let i,s;return 1===e.length&&"number"==typeof e[0]?s=e[0]:[i,s]=e,this.clear(),clearTimeout(this._previousTimeout),i||(i=n&&n.politeness?n.politeness:"polite"),null==s&&n&&(s=n.duration),this._liveElement.setAttribute("aria-live",i),this._ngZone.runOutsideAngular(()=>new Promise(e=>{clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=t,e(),"number"==typeof s&&(this._previousTimeout=setTimeout(()=>this.clear(),s))},100)}))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement&&this._liveElement.parentNode&&(this._liveElement.parentNode.removeChild(this._liveElement),this._liveElement=null)}_createLiveElement(){const t="cdk-live-announcer-element",e=this._document.getElementsByClassName(t),n=this._document.createElement("div");for(let i=0;i<e.length;i++)e[i].parentNode.removeChild(e[i]);return n.classList.add(t),n.classList.add("cdk-visually-hidden"),n.setAttribute("aria-atomic","true"),n.setAttribute("aria-live","polite"),this._document.body.appendChild(n),n}}return t.\u0275fac=function(e){return new(e||t)(ui(mf,8),ui(Yl),ui(Sc),ui(gf,8))},t.\u0275prov=dt({factory:function(){return new t(ui(mf,8),ui(Yl),ui(Sc),ui(gf,8))},token:t,providedIn:"root"}),t})();
1641/**
1642 * @license
1643 * Copyright Google LLC All Rights Reserved.
1644 *
1645 * Use of this source code is governed by an MIT-style license that can be
1646 * found in the LICENSE file at https://angular.io/license
1647 */
1648function yf(t){return 0===t.buttons}function vf(t){const e=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!(!e||-1!==e.identifier||null!=e.radiusX&&1!==e.radiusX||null!=e.radiusY&&1!==e.radiusY)}
1649/**
1650 * @license
1651 * Copyright Google LLC All Rights Reserved.
1652 *
1653 * Use of this source code is governed by an MIT-style license that can be
1654 * found in the LICENSE file at https://angular.io/license
1655 */const bf=new qn("cdk-focus-monitor-default-options"),wf=Wd({passive:!0,capture:!0});let Cf=(()=>{class t{constructor(t,e,n,i){this._ngZone=t,this._platform=e,this._origin=null,this._windowFocused=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._documentKeydownListener=()=>{this._lastTouchTarget=null,this._setOriginForCurrentEventQueue("keyboard")},this._documentMousedownListener=t=>{if(!this._lastTouchTarget){const e=yf(t)?"keyboard":"mouse";this._setOriginForCurrentEventQueue(e)}},this._documentTouchstartListener=t=>{vf(t)?this._lastTouchTarget||this._setOriginForCurrentEventQueue("keyboard"):(null!=this._touchTimeoutId&&clearTimeout(this._touchTimeoutId),this._lastTouchTarget=Sf(t),this._touchTimeoutId=setTimeout(()=>this._lastTouchTarget=null,650))},this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)},this._rootNodeFocusAndBlurListener=t=>{const e=Sf(t),n="focus"===t.type?this._onFocus:this._onBlur;for(let i=e;i;i=i.parentElement)n.call(this,t,i)},this._document=n,this._detectionMode=(null==i?void 0:i.detectionMode)||0}monitor(t,e=!1){const n=Ad(t);if(!this._platform.isBrowser||1!==n.nodeType)return Wu(null);const i=function(t){if(function(){if(null==Ud){const t="undefined"!=typeof document?document.head:null;Ud=!(!t||!t.createShadowRoot&&!t.attachShadow)}return Ud}()){const e=t.getRootNode?t.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}(n)||this._getDocument(),s=this._elementInfo.get(n);if(s)return e&&(s.checkChildren=!0),s.subject;
1655const r={checkChildren:e,subject:new S,rootNode:i};return this._elementInfo.set(n,r),this._registerGlobalListeners(r),r.subject}stopMonitoring(t){const e=Ad(t),n=this._elementInfo.get(e);n&&(n.subject.complete(),this._setClasses(e),this._elementInfo.delete(e),this._removeGlobalListeners(n))}focusVia(t,e,n){const i=Ad(t);i===this._getDocument().activeElement?this._getClosestElementsInfo(i).forEach(([t,n])=>this._originChanged(t,e,n)):(this._setOriginForCurrentEventQueue(e),"function"==typeof i.focus&&i.focus(n))}ngOnDestroy(){this._elementInfo.forEach((t,e)=>this.stopMonitoring(e))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_toggleClass(t,e,n){n?t.classList.add(e):t.classList.remove(e)}_getFocusOrigin(t){return this._origin?this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(t)?"touch":"program"}_setClasses(t,e){this._toggleClass(t,"cdk-focused",!!e),this._toggleClass(t,"cdk-touch-focused","touch"===e),this._toggleClass(t,"cdk-keyboard-focused","keyboard"===e),this._toggleClass(t,"cdk-mouse-focused","mouse"===e),this._toggleClass(t,"cdk-program-focused","program"===e)}_setOriginForCurrentEventQueue(t){this._ngZone.runOutsideAngular(()=>{this._origin=t,0===this._detectionMode&&(this._originTimeoutId=setTimeout(()=>this._origin=null,1))})}_wasCausedByTouch(t){const e=Sf(t);return this._lastTouchTarget instanceof Node&&e instanceof Node&&(e===this._lastTouchTarget||e.contains(this._lastTouchTarget))}_onFocus(t,e){const n=this._elementInfo.get(e);n&&(n.checkChildren||e===Sf(t))&&this._originChanged(e,this._getFocusOrigin(t),n)}_onBlur(t,e){const n=this._elementInfo.get(e);!n||n.checkChildren&&t.relatedTarget instanceof Node&&e.contains(t.relatedTarget)||(this._setClasses(e),this._emitOrigin(n.subject,null))}_emitOrigin(t,e){this._ngZone.run(()=>t.next(e))}_registerGlobalListeners(t){if(!this._platform.isBrowser)return;const e=t.rootNode,n=this._rootNodeFocusListenerCount.get(e)||0;n||this._ngZone.runOutsideAngular(()=>{e.addEventListener("focus",this._rootNodeFocusAndBlurListener,wf),e.addEventListener("blur",this._rootNodeFocusAndBlurListener,wf)}),this._rootNodeFocusListenerCount.set(e,n+1),1==++this._monitoredElementCount&&this._ngZone.runOutsideAngular(()=>{const t=this._getDocument(),e=this._getWindow();t.addEventListener("keydown",this._documentKeydownListener,wf),t.addEventListener("mousedown",this._documentMousedownListener,wf),t.addEventListener("touchstart",this._documentTouchstartListener,wf),e.addEventListener("focus",this._windowFocusListener)})}_removeGlobalListeners(t){const e=t.rootNode;if(this._rootNodeFocusListenerCount.has(e)){const t=this._rootNodeFocusListenerCount.get(e);t>1?this._rootNodeFocusListenerCount.set(e,t-1):(e.removeEventListener("focus",this._rootNodeFocusAndBlurListener,wf),e.removeEventListener("blur",this._rootNodeFocusAndBlurListener,wf),this._rootNodeFocusListenerCount.delete(e))}if(!--this._monitoredElementCount){const t=this._getDocument(),e=this._getWindow();t.removeEventListener("keydown",this._documentKeydownListener,wf),t.removeEventListener("mousedown",this._documentMousedownListener,wf),t.removeEventListener("touchstart",this._documentTouchstartListener,wf),e.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId)}}_originChanged(t,e,n){this._setClasses(t,e),this._emitOrigin(n.subject,e),this._lastFocusOrigin=e}_getClosestElementsInfo(t){const e=[];return this._elementInfo.forEach((n,i)=>{(i===t||n.checkChildren&&i.contains(t))&&e.push([i,n])}),e}}return t.\u0275fac=function(e){return new(e||t)(ui(Yl),ui(Gd),ui(Sc,8),ui(bf,8))},t.\u0275prov=dt({factory:function(){return new t(ui(Yl),ui(Gd),ui(Sc,8),ui(bf,8))},token:t,providedIn:"root"}),t})();function Sf(t){return t.composedPath?t.composedPath()[0]:t.target}
1656/**
1657 * @license
1658 * Copyright Google LLC All Rights Reserved.
1659 *
1660 * Use of this source code is governed by an MIT-style license that can be
1661 * found in the LICENSE file at https://angular.io/license
1662 */
1663const Ef="cdk-high-contrast-black-on-white",kf="cdk-high-contrast-white-on-black",xf="cdk-high-contrast-active";let Tf=(()=>{class t{constructor(t,e){this._platform=t,this._document=e}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);const e=this._document.defaultView||window,n=e&&e.getComputedStyle?e.getComputedStyle(t):null,i=(n&&n.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(t),i){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}
vendor: 4,389 bytes, lines 1663-1727
1663_applyBodyHighContrastModeCssClasses(){if(this._platform.isBrowser&&this._document.body){const t=this._document.body.classList;t.remove(xf),t.remove(Ef),t.remove(kf);const e=this.getHighContrastMode();1===e?(t.add(xf),t.add(Ef)):2===e&&(t.add(xf),t.add(kf))}}}return t.\u0275fac=function(e){return new(e||t)(ui(Gd),ui(Sc))},t.\u0275prov=dt({factory:function(){return new t(ui(Gd),ui(Sc))},token:t,providedIn:"root"}),t})();
1664/**
1665 * @license
1666 * Copyright Google LLC All Rights Reserved.
1667 *
1668 * Use of this source code is governed by an MIT-style license that can be
1669 * found in the LICENSE file at https://angular.io/license
1670 */
1671/**
1672 * @license
1673 * Copyright Google LLC All Rights Reserved.
1674 *
1675 * Use of this source code is governed by an MIT-style license that can be
1676 * found in the LICENSE file at https://angular.io/license
1677 */
1678const Of=new ha("11.2.5");
1679/**
1680 * @license
1681 * Copyright Google LLC All Rights Reserved.
1682 *
1683 * Use of this source code is governed by an MIT-style license that can be
1684 * found in the LICENSE file at https://angular.io/license
1685 */
1686/**
1687 * @license
1688 * Copyright Google LLC All Rights Reserved.
1689 *
1690 * Use of this source code is governed by an MIT-style license that can be
1691 * found in the LICENSE file at https://angular.io/license
1692 */
1693/**
1694 * @license Angular v11.2.5
1695 * (c) 2010-2021 Google LLC. https://angular.io/
1696 * License: MIT
1697 */class Af{}
1698/**
1699 * @license
1700 * Copyright Google LLC All Rights Reserved.
1701 *
1702 * Use of this source code is governed by an MIT-style license that can be
1703 * found in the LICENSE file at https://angular.io/license
1704 */
1705const If="*";function Df(t,e){return{type:7,name:t,definitions:e,options:{}}}function Pf(t,e=null){return{type:4,styles:e,timings:t}}function Rf(t,e=null){return{type:2,steps:t,options:e}}function Mf(t){return{type:6,styles:t,offset:null}}function Nf(t,e,n){return{type:0,name:t,styles:e,options:n}}function Ff(t,e,n=null){return{type:1,expr:t,animation:e,options:n}}function Vf(t=null){return{type:9,options:t}}function Lf(t,e,n=null){return{type:11,selector:t,animation:e,options:n}}
1706/**
1707 * @license
1708 * Copyright Google LLC All Rights Reserved.
1709 *
1710 * Use of this source code is governed by an MIT-style license that can be
1711 * found in the LICENSE file at https://angular.io/license
1712 */
1713function zf(t){Promise.resolve(null).then(t)}
1714/**
1715 * @license
1716 * Copyright Google LLC All Rights Reserved.
1717 *
1718 * Use of this source code is governed by an MIT-style license that can be
1719 * found in the LICENSE file at https://angular.io/license
1720 */class jf{constructor(t=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){zf(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}
1721/**
1722 * @license
1723 * Copyright Google LLC All Rights Reserved.
1724 *
1725 * Use of this source code is governed by an MIT-style license that can be
1726 * found in the LICENSE file at https://angular.io/license
1727 */class Bf{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let e=0,n=0,i=0;const s=this.players.length;0==s?zf(()=>this._onFinish()):this.players.forEach(t=>{t.onDone(()=>{++e==s&&this._onFinish()}),t.onDestroy(()=>{++n==s&&this._onDestroy()}),t.onStart(()=>{++i==s&&this._onStart()})}),this.totalTime=this.players.reduce((t,e)=>Math.max(t,e.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}
1727init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){const e=t*this.totalTime;this.players.forEach(t=>{const n=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(n)})}getPosition(){const t=this.players.reduce((t,e)=>null===t||e.totalTime>t.totalTime?e:t,null);return null!=t?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}
1728/**
1729 * @license
1730 * Copyright Google LLC All Rights Reserved.
1731 *
1732 * Use of this source code is governed by an MIT-style license that can be
1733 * found in the LICENSE file at https://angular.io/license
1734 */function Hf(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function $f(t){switch(t.length){case 0:return new jf;case 1:return t[0];default:return new Bf(t)}}function Zf(t,e,n,i,s={},r={}){const o=[],a=[];let l=-1,c=null;if(i.forEach(t=>{const n=t.offset,i=n==l,u=i&&c||{};Object.keys(t).forEach(n=>{let i=n,a=t[n];if("offset"!==n)switch(i=e.normalizePropertyName(i,o),a){case"!":a=s[n];break;case If:a=r[n];break;default:a=e.normalizeStyleValue(n,i,a,o)}u[i]=a}),i||a.push(u),c=u,l=n}),o.length){const t="\n - ";throw new Error(`Unable to animate due to the following errors:${t}${o.join(t)}`)}return a}function Uf(t,e,n,i){switch(e){case"start":t.onStart(()=>i(n&&Gf(n,"start",t)));break;case"done":t.onDone(()=>i(n&&Gf(n,"done",t)));break;case"destroy":t.onDestroy(()=>i(n&&Gf(n,"destroy",t)))}}function Gf(t,e,n){const i=n.totalTime,s=qf(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==i?t.totalTime:i,!!n.disabled),r=t._data;return null!=r&&(s._data=r),s}function qf(t,e,n,i,s="",r=0,o){return{element:t,triggerName:e,fromState:n,toState:i,phaseName:s,totalTime:r,disabled:!!o}}function Wf(t,e,n){let i;return t instanceof Map?(i=t.get(e),i||t.set(e,i=n)):(i=t[e],i||(i=t[e]=n)),i}function Kf(t){const e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}let Yf=(t,e)=>!1,Xf=(t,e)=>!1,Qf=(t,e,n)=>[];const Jf=Hf();(Jf||"undefined"!=typeof Element)&&(Yf=(t,e)=>t.contains(e),Xf=(()=>{if(Jf||Element.prototype.matches)return(t,e)=>t.matches(e);{const t=Element.prototype,e=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;return e?(t,n)=>e.apply(t,[n]):Xf}})(),Qf=(t,e,n)=>{let i=[];if(n){const n=t.querySelectorAll(e);for(let t=0;t<n.length;t++)i.push(n[t])}else{const n=t.querySelector(e);n&&i.push(n)}return i});let tm=null,em=!1;const nm=Xf,im=Yf,sm=Qf;let rm=(()=>{class t{validateStyleProperty(t){return function(t){tm||(tm=("undefined"!=typeof document?document.body:null)||{},em=!!tm.style&&"WebkitAppearance"in tm.style);let e=!0;return tm.style&&!function(t){return"ebkit"==t.substring(1,6)}(t)&&(e=t in tm.style,!e&&em)&&(e="Webkit"+t.charAt(0).toUpperCase()+t.substr(1)in tm.style),e}(t)}matchesElement(t,e){return nm(t,e)}containsElement(t,e){return im(t,e)}query(t,e,n){return sm(t,e,n)}computeStyle(t,e,n){return n||""}animate(t,e,n,i,s,r=[],o){return new jf(n,i)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})(),om=(()=>{class t{}return t.NOOP=new rm,t})();
1735/**
1736 * @license
1737 * Copyright Google LLC All Rights Reserved.
1738 *
1739 * Use of this source code is governed by an MIT-style license that can be
1740 * found in the LICENSE file at https://angular.io/license
1741 */
1742const am="ng-enter",lm="ng-leave",cm="ng-trigger",um=".ng-trigger",hm="ng-animating",dm=".
1742ng-animating";function pm(t){if("number"==typeof t)return t;const e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:fm(parseFloat(e[1]),e[2])}function fm(t,e){switch(e){case"s":return 1e3*t;default:return t}}function mm(t,e,n){return t.hasOwnProperty("duration")?t:function(t,e,n){let i,s=0,r="";if("string"==typeof t){const n=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===n)return e.push(`The provided timing value "${t}" is invalid.`),{duration:0,delay:0,easing:""};i=fm(parseFloat(n[1]),n[2]);const o=n[3];null!=o&&(s=fm(parseFloat(o),n[4]));const a=n[5];a&&(r=a)}else i=t;if(!n){let n=!1,r=e.length;i<0&&(e.push("Duration values below 0 are not allowed for this animation step."),n=!0),s<0&&(e.push("Delay values below 0 are not allowed for this animation step."),n=!0),n&&e.splice(r,0,`The provided timing value "${t}" is invalid.`)}return{duration:i,delay:s,easing:r}}(t,e,n)}function gm(t,e={}){return Object.keys(t).forEach(n=>{e[n]=t[n]}),e}function _m(t,e,n={}){if(e)for(let i in t)n[i]=t[i];else gm(t,n);return n}function ym(t,e,n){return n?e+":"+n+";":""}function vm(t){let e="";for(let n=0;n<t.style.length;n++){const i=t.style.item(n);e+=ym(0,i,t.style.getPropertyValue(i))}for(const n in t.style)t.style.hasOwnProperty(n)&&!n.startsWith("_")&&(e+=ym(0,n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),t.style[n]));t.setAttribute("style",e)}function bm(t,e,n){t.style&&(Object.keys(e).forEach(i=>{const s=Om(i);n&&!n.hasOwnProperty(i)&&(n[i]=t.style[s]),t.style[s]=e[i]}),Hf()&&vm(t))}function wm(t,e){t.style&&(Object.keys(e).forEach(e=>{const n=Om(e);t.style[n]=""}),Hf()&&vm(t))}function Cm(t){return Array.isArray(t)?1==t.length?t[0]:Rf(t):t}const Sm=new RegExp("{{\\s*(.+?)\\s*}}","g");function Em(t){let e=[];
1742if("string"==typeof t){let n;for(;n=Sm.exec(t);)e.push(n[1]);Sm.lastIndex=0}return e}function km(t,e,n){const i=t.toString(),s=i.replace(Sm,(t,i)=>{let s=e[i];return e.hasOwnProperty(i)||(n.push(`Please provide a value for the animation param ${i}`),s=""),s.toString()});return s==i?t:s}function xm(t){const e=[];let n=t.next();for(;!n.done;)e.push(n.value),n=t.next();return e}const Tm=/-+([a-z0-9])/g;function Om(t){return t.replace(Tm,(...t)=>t[1].toUpperCase())}function Am(t,e,n){switch(e.type){case 7:return t.visitTrigger(e,n);case 0:return t.visitState(e,n);case 1:return t.visitTransition(e,n);case 2:return t.visitSequence(e,n);case 3:return t.visitGroup(e,n);case 4:return t.visitAnimate(e,n);case 5:return t.visitKeyframes(e,n);case 6:return t.visitStyle(e,n);case 8:return t.visitReference(e,n);case 9:return t.visitAnimateChild(e,n);case 10:return t.visitAnimateRef(e,n);case 11:return t.visitQuery(e,n);case 12:return t.visitStagger(e,n);default:throw new Error(`Unable to resolve animation metadata node #${e.type}`)}}
1743/**
1744 * @license
1745 * Copyright Google LLC All Rights Reserved.
1746 *
1747 * Use of this source code is governed by an MIT-style license that can be
1748 * found in the LICENSE file at https://angular.io/license
1749 */
1750const Im="*";function Dm(t,e){const n=[];return"string"==typeof t?t.split(/\s*,\s*/).forEach(t=>function(t,e,n){if(":"==t[0]){const i=function(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,e)=>parseFloat(e)>parseFloat(t);case":decrement":return(t,e)=>parseFloat(e)<parseFloat(t);default:return e.push(`The transition alias value "${t}" is not supported`),"* => *"}}(t,n);if("function"==typeof i)return void e.push(i);t=i}const i=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return n.push(`The provided transition expression "${t}" is not supported`),e;const s=i[1],r=i[2],o=i[3];e.push(Mm(s,o)),"<"!=r[0]||s==Im&&o==Im||e.push(Mm(o,s))}(t,n,e)):n.push(t),n}const Pm=new Set(["true","1"]),Rm=new Set(["false","0"]);function Mm(t,e){const n=Pm.has(t)||Rm.has(t),i=Pm.has(e)||Rm.has(e);return(s,r)=>{let o=t==Im||t==s,a=e==Im||e==r;return!o&&n&&"boolean"==typeof s&&(o=s?Pm.has(t):Rm.has(t)),!a&&i&&"boolean"==typeof r&&(a=r?Pm.has(e):Rm.has(e)),o&&a}}
1751/**
1752 * @license
1753 * Copyright Google LLC All Rights Reserved.
1754 *
1755 * Use of this source code is governed by an MIT-style license that can be
1756 * found in the LICENSE file at https://angular.io/license
1757 */const Nm=new RegExp("s*:selfs*,?","g");function Fm(t,e,n){return new Vm(t).build(e,n)}class Vm{constructor(t){this._driver=t}build(t,e){const n=new Lm(e);return this._resetContextStyleTimingState(n),Am(this,Cm(t),n)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles={},t.collectedStyles[""]={},t.currentTime=0}visitTrigger(t,e){let n=e.queryCount=0,i=e.depCount=0;const s=[],r=[];return"@"==t.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),t.definitions.forEach(t=>{if(this._resetContextStyleTimingState(e),0==t.type){const n=t,i=n.name;i.toString().split(/\s*,\s*/).forEach(t=>{n.name=t,s.push(this.visitState(n,e))}),n.name=i}else if(1==t.type){const s=this.visitTransition(t,e);n+=s.queryCount,i+=s.depCount,r.push(s)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:t.name,states:s,transitions:r,queryCount:n,depCount:i,options:null}}visitState(t,e){const n=this.visitStyle(t.styles,e),i=t.options&&t.options.params||null;if(n.containsDynamicStyles){const s=new Set,r=i||{};if(n.styles.forEach(t=>{if(zm(t)){const e=t;Object.keys(e).forEach(t=>{Em(e[t]).forEach(t=>{r.hasOwnProperty(t)||s.add(t)})})}}),s.size){const n=xm(s.values());e.errors.push(`state("${t.name}", ...) must define default values for all the following style substitutions: ${n.join(", ")}`)}}return{type:0,name:t.name,style:n,options:i?{params:i}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const n=Am(this,Cm(t.animation),e);return{type:1,matchers:Dm(t.expr,e.errors),animation:n,queryCount:e.queryCount,depCount:e.depCount,options:jm(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(t=>Am(this,t,e)),options:jm(t.options)}}visitGroup(t,e){const n=e.currentTime;let i=0;const s=t.steps.map(t=>{e.currentTime=n;const s=Am(this,t,e);return i=Math.max(i,e.currentTime),s});return e.currentTime=i,{type:3,steps:s,options:jm(t.options)}}visitAnimate(t,e){const n=function(t,e){let n=null;if(t.hasOwnProperty("duration"))n=t;else if("number"==typeof t)return Bm(mm(t,e).duration,0,"");const i=t;if(i.split(/\s+/).some(t=>"{"==t.charAt(0)&&"{"==t.charAt(1))){const t=Bm(0,0,"");return t.dynamic=!0,t.strValue=i,t}return n=n||mm(i,e),Bm(n.duration,n.delay,n.easing)}(t.timings,e.errors);let i;e.currentAnimateTimings=n;let s=t.styles?t.styles:Mf({});if(5==s.type)i=this.visitKeyframes(s,e);else{let s=t.styles,r=!1;if(!s){r=!0;const t={};n.easing&&(t.easing=n.easing),s=Mf(t)}e.currentTime+=n.duration+n.delay;const o=this.visitStyle(s,e);o.isEmptyStep=r,i=o}return e.currentAnimateTimings=null,{type:4,timings:n,style:i,options:null}}visitStyle(t,e){const n=this._makeStyleAst(t,e);
1757return this._validateStyleAst(n,e),n}_makeStyleAst(t,e){const n=[];Array.isArray(t.styles)?t.styles.forEach(t=>{"string"==typeof t?t==If?n.push(t):e.errors.push(`The provided style string value ${t} is not allowed.`):n.push(t)}):n.push(t.styles);let i=!1,s=null;return n.forEach(t=>{if(zm(t)){const e=t,n=e.easing;if(n&&(s=n,delete e.easing),!i)for(let t in e)if(e[t].toString().indexOf("{{")>=0){i=!0;break}}}),{type:6,styles:n,easing:s,offset:t.offset,containsDynamicStyles:i,options:null}}_validateStyleAst(t,e){const n=e.currentAnimateTimings;let i=e.currentTime,s=e.currentTime;n&&s>0&&(s-=n.duration+n.delay),t.styles.forEach(t=>{"string"!=typeof t&&Object.keys(t).forEach(n=>{if(!this._driver.validateStyleProperty(n))return void e.errors.push(`The provided animation property "${n}" is not a supported CSS property for animations`);const r=e.collectedStyles[e.currentQuerySelector],o=r[n];let a=!0;o&&(s!=i&&s>=o.startTime&&i<=o.endTime&&(e.errors.push(`The CSS property "${n}" that exists between the times of "${o.startTime}ms" and "${o.endTime}ms" is also being animated in a parallel animation between the times of "${s}ms" and "${i}ms"`),a=!1),s=o.startTime),a&&(r[n]={startTime:s,endTime:i}),e.options&&function(t,e,n){const i=e.params||{},s=Em(t);s.length&&s.forEach(t=>{i.hasOwnProperty(t)||n.push(`Unable to resolve the local animation param ${t} in the given list of values`)})}(t[n],e.options,e.errors)})})}visitKeyframes(t,e){const n={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),n;let i=0;const s=[];let r=!1,o=!1,a=0;const l=t.steps.map(t=>{const n=this._makeStyleAst(t,e);let l=null!=n.offset?n.offset:function(t){if("string"==typeof t)return null;let e=null;if(Array.isArray(t))t.forEach(t=>{if(zm(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}});else if(zm(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}return e}(n.styles),c=0;return null!=l&&(i++,c=n.offset=l),o=o||c<0||c>1,r=r||c<a,a=c,s.push(c),n});o&&e.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),r&&e.errors.push("Please ensure that all keyframe offsets are in order");const c=t.steps.length;let u=0;i>0&&i<c?e.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==i&&(u=1/(c-1));const h=c-1,d=e.currentTime,p=e.currentAnimateTimings,f=p.duration;return l.forEach((t,i)=>{const r=u>0?i==h?1:u*i:s[i],o=r*f;e.currentTime=d+p.delay+o,p.duration=o,this._validateStyleAst(t,e),t.offset=r,n.styles.push(t)}),n}visitReference(t,e){return{type:8,animation:Am(this,Cm(t.animation),e),options:jm(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:jm(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:jm(t.options)}}visitQuery(t,e){const n=e.currentQuerySelector,i=t.options||{};e.queryCount++,e.currentQuery=t;const[s,r]=function(t){const e=!!t.split(/\s*,\s*/).find(t=>":self"==t);return e&&(t=t.replace(Nm,"")),[t=t.replace(/@\*/g,um).replace(/@\w+/g,t=>".ng-trigger-"+t.substr(1)).replace(/:animating/g,dm),e]}(t.selector);e.currentQuerySelector=n.length?n+" "+s:s,Wf(e.collectedStyles,e.currentQuerySelector,{});const o=Am(this,Cm(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:s,limit:i.limit||0,optional:!!i.optional,includeSelf:r,animation:o,originalSelector:t.selector,options:jm(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");const n="full"===t.timings?{duration:0,delay:0,easing:"full"}:mm(t.timings,e.errors,!0);return{type:12,animation:Am(this,Cm(t.animation),e),timings:n,options:null}}}class Lm{constructor(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function zm(t){return!Array.isArray(t)&&"object"==typeof t}function jm(t){var e;return t?(t=gm(t)).params&&(t.params=(e=t.params)?gm(e):null):t={},t}function Bm(t,e,n){return{duration:t,delay:e,easing:n}}function Hm(t,e,n,i,s,r,o=null,a=!1){return{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:i,duration:s,delay:r,totalTime:s+r,easing:o,subTimeline:a}}class $m{constructor(){this._map=new Map}consume(t){let e=this._map.get(t);return e?this._map.delete(t):e=[],e}append(t,e){let n=this._map.get(t);n||this._map.set(t,n=[]),n.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}}
1758/**
1759 * @license
1760 * Copyright Google LLC All Rights Reserved.
1761 *
1762 * Use of this source code is governed by an MIT-style license that can be
1763 * found in the LICENSE file at https://angular.io/license
1764 */const Zm=new RegExp(":enter","g"),Um=new RegExp(":leave","g");function Gm(t,e,n,i,s,r={},o={},a,l,c=[]){return(new qm).buildKeyframes(t,e,n,i,s,r,o,a,l,c)}class qm{buildKeyframes(t,e,n,i,s,r,o,a,l,c=[]){l=l||new $m;const u=new Km(t,e,l,i,s,c,[]);u.options=a,u.currentTimeline.setStyles([r],null,u.errors,a),Am(this,n,u);const h=u.timelines.filter(t=>t.containsAnimation());if(h.length&&Object.keys(o).length){const t=h[h.length-1];t.allowOnlyTimelineStyles()||t.setStyles([o],null,u.errors,a)}return h.length?h.map(t=>t.buildKeyframes()):[Hm(e,[],[],[],0,0,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}
vendor: 4,129 bytes, line 1764
1764visitAnimateChild(t,e){const n=e.subInstructions.consume(e.element);if(n){const i=e.createSubContext(t.options),s=e.currentTimeline.currentTime,r=this._visitSubInstructions(n,i,i.options);s!=r&&e.transformIntoNewTimeline(r)}e.previousNode=t}visitAnimateRef(t,e){const n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t}_visitSubInstructions(t,e,n){let i=e.currentTimeline.currentTime;const s=null!=n.duration?pm(n.duration):null,r=null!=n.delay?pm(n.delay):null;return 0!==s&&t.forEach(t=>{const n=e.appendInstructionToTimeline(t,s,r);i=Math.max(i,n.duration+n.delay)}),i}visitReference(t,e){e.updateOptions(t.options,!0),Am(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const n=e.subContextCount;let i=e;const s=t.options;if(s&&(s.params||s.delay)&&(i=e.createSubContext(s),i.transformIntoNewTimeline(),null!=s.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=Wm);const t=pm(s.delay);i.delayNextStep(t)}t.steps.length&&(t.steps.forEach(t=>Am(this,t,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>n&&i.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const n=[];let i=e.currentTimeline.currentTime;const s=t.options&&t.options.delay?pm(t.options.delay):0;t.steps.forEach(r=>{const o=e.createSubContext(t.options);s&&o.delayNextStep(s),Am(this,r,o),i=Math.max(i,o.currentTimeline.currentTime),n.push(o.currentTimeline)}),n.forEach(t=>e.currentTimeline.mergeTimelineCollectedStyles(t)),e.transformIntoNewTimeline(i),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const n=t.strValue;return mm(e.params?km(n,e.params,e.errors):n,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){const n=e.currentAnimateTimings=this._visitTiming(t.timings,e),i=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),i.snapshotCurrentStyles());const s=t.style;5==s.type?this.visitKeyframes(s,e):(e.incrementTime(n.duration),this.visitStyle(s,e),i.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const n=e.currentTimeline,i=e.currentAnimateTimings;!i&&n.getCurrentStyleProperties().length&&n.forwardFrame();const s=i&&i.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(s):n.setStyles(t.styles,s,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const n=e.currentAnimateTimings,i=e.currentTimeline.duration,s=n.duration,r=e.createSubContext().currentTimeline;r.easing=n.easing,t.styles.forEach(t=>{r.forwardTime((t.offset||0)*s),r.setStyles(t.styles,t.easing,e.errors,e.options),r.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(r),e.transformIntoNewTimeline(i+s),e.previousNode=t}visitQuery(t,e){const n=e.currentTimeline.currentTime,i=t.options||{},s=i.delay?pm(i.delay):0;s&&(6===e.previousNode.type||0==n&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=Wm);let r=n;const o=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!i.optional,e.errors);e.currentQueryTotal=o.length;let a=null;o.forEach((n,i)=>{e.currentQueryIndex=i;const o=e.createSubContext(t.options,n);s&&o.delayNextStep(s),n===e.element&&(a=o.currentTimeline),Am(this,t.animation,o),o.currentTimeline.applyStylesToKeyframe(),r=Math.max(r,o.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(r),a&&(e.currentTimeline.mergeTimelineCollectedStyles(a),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const n=e.parentContext,i=e.currentTimeline,s=t.timings,r=Math.abs(s.duration),o=r*(e.currentQueryTotal-1);let a=r*e.currentQueryIndex;switch(s.duration<0?"reverse":s.easing){case"reverse":a=o-a;break;case"full":a=n.currentStaggerTime}const l=e.currentTimeline;a&&l.delayNextStep(a);const c=l.currentTime;Am(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=i.currentTime-c+(i.startTime-n.currentTimeline.startTime)}}const Wm={};class Km{constructor(t,e,n,i,s,r,o,a){this._driver=t,this.element=e,this.subInstru
1764ctions=n,this._enterClassName=i,this._leaveClassName=s,this.errors=r,this.timelines=o,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Wm,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new Ym(this._driver,e,0),o.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const n=t;let i=this.options;null!=n.duration&&(i.duration=pm(n.duration)),null!=n.delay&&(i.delay=pm(n.delay));const s=n.params;if(s){let t=i.params;t||(t=this.options.params={}),Object.keys(s).forEach(n=>{e&&t.hasOwnProperty(n)||(t[n]=km(s[n],t,this.errors))})}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const n=t.params={};Object.keys(e).forEach(t=>{n[t]=e[t]})}}return t}createSubContext(t=null,e,n){const i=e||this.element,s=new Km(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,n||0));return s.previousNode=this.previousNode,s.currentAnimateTimings=this.currentAnimateTimings,s.options=this._copyOptions(),s.updateOptions(t),s.currentQueryIndex=this.currentQueryIndex,s.currentQueryTotal=this.currentQueryTotal,s.parentContext=this,this.subContextCount++,s}transformIntoNewTimeline(t){return this.previousNode=Wm,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,n){const i={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},s=new Xm(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,i,t.stretchStartingKeyframe);return this.timelines.push(s),i}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,n,i,s,r){let o=[];if(i&&o.push(this.element),t.length>0){t=(t=t.replace(Zm,"."+this._enterClassName)).replace(Um,"."+this._leaveClassName);let e=this._driver.query(this.element,t,1!=n);0!==n&&(e=n<0?e.slice(e.length+n,e.length):e.slice(0,n)),o.push(...e)}return s||0!=o.length||r.push(`\`query("${e}")\` returned zero elements. (Use \`query("${e}", { optional: true })\` if you wish to allow this.)`),o}}class Ym{constructor(t,e,n,i){this._driver=t,this.element=e,this.startTime=n,this._elementTimelineStylesLookup=i,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(t){const e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new Ym(this._driver,t,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEac
1764h(t=>{this._backFill[t]=this._globalTimelineStyles[t]||If,this._currentKeyframe[t]=If}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,n,i){e&&(this._previousKeyframe.easing=e);const s=i&&i.params||{},r=function(t,e){const n={};let i;return t.forEach(t=>{"*"===t?(i=i||Object.keys(e),i.forEach(t=>{n[t]=If})):_m(t,!1,n)}),n}(t,this._globalTimelineStyles);Object.keys(r).forEach(t=>{const e=km(r[t],s,n);this._pendingStyles[t]=e,this._localTimelineStyles.hasOwnProperty(t)||(this._backFill[t]=this._globalTimelineStyles.hasOwnProperty(t)?this._globalTimelineStyles[t]:If),this._updateStyle(t,e)})}applyStylesToKeyframe(){const t=this._pendingStyles,e=Object.keys(t);0!=e.length&&(this._pendingStyles={},e.forEach(e=>{this._currentKeyframe[e]=t[e]}),Object.keys(this._localTimelineStyles).forEach(t=>{this._currentKeyframe.hasOwnProperty(t)||(this._currentKeyframe[t]=this._localTimelineStyles[t])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(t=>{const e=this._localTimelineStyles[t];this._pendingStyles[t]=e,this._updateStyle(t,e)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){Object.keys(t._styleSummary).forEach(e=>{const n=this._styleSummary[e],i=t._styleSummary[e];(!n||i.time>n.time)&&this._updateStyle(e,i.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,n=1===this._keyframes.size&&0===this.duration;let i=[];this._keyframes.forEach((s,r)=>{const o=_m(s,!0);Object.keys(o).forEach(n=>{const i=o[n];"!"==i?t.add(n):i==If&&e.add(n)}),n||(o.offset=r/this.duration),i.push(o)});const s=t.size?xm(t.values()):[],r=e.size?xm(e.values()):[];if(n){const t=i[0],e=gm(t);t.offset=0,e.offset=1,i=[t,e]}return Hm(this.element,i,s,r,this.duration,this.startTime,this.easing,!1)}}class Xm extends Ym{constructor(t,e,n,i,s,r,o=!1){super(t,e,r.delay),this.element=e,this.keyframes=n,this.preStyleProps=i,this.postStyleProps=s,this._stretchStartingKeyframe=o,this.timings={duration:r.duration,delay:r.delay,easing:r.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:n,easing:i}=this.timings;if(this._stretchStartingKeyframe&&e){const s=[],r=n+e,o=e/r,a=_m(t[0],!1);a.offset=0,s.push(a);const l=_m(t[0],!1);l.offset=Qm(o),s.push(l);const c=t.length-1;for(let i=1;i<=c;i++){let o=_m(t[i],!1);o.offset=Qm((e+o.offset*n)/r),s.push(o)}n=r,e=0,i="",t=s}return Hm(this.element,t,this.preStyleProps,this.postStyleProps,n,e,i,!0)}}function Qm(t,e=3){const n=Math.pow(10,e-1);return Math.round(t*n)/n}
1765/**
1766 * @license
1767 * Copyright Google LLC All Rights Reserved.
1768 *
1769 * Use of this source code is governed by an MIT-style license that can be
1770 * found in the LICENSE file at https://angular.io/license
1771 */
1772class Jm{}
1773/**
1774 * @license
1775 * Copyright Google LLC All Rights Reserved.
1776 *
1777 * Use of this source code is governed by an MIT-style license that can be
1778 * found in the LICENSE file at https://angular.io/license
1779 */
1780class tg extends Jm{normalizePropertyName(t,e){return Om(t)}normalizeStyleValue(t,e,n,i){let s="";const r=n.toString().trim();if(eg[e]&&0!==n&&"0"!==n)if("number"==typeof n)s="px";else{const e=n.match(/^[+-]?[\d\.]+([a-z]*)$/);e&&0==e[1].length&&i.push(`Please provide a CSS unit value for ${t}:${n}`)}return r+s}}const eg=(()=>function(t){const e={};return t.forEach(t=>e[t]=!0),e}("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(",")))();function ng(t,e,n,i,s,r,o,a,l,c,u,h,d){return{type:0,element:t,triggerName:e,isRemovalTransition:s,fromState:n,fromStyles:r,toState:i,toStyles:o,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:h,errors:d}}const ig={};class sg{constructor(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}match(t,e,n,i){return function(t,e,n,i,s){return t.some(t=>t(e,n,i,s))}(this.ast.matchers,t,e,n,i)}buildStyles(t,e,n){const i=this._stateStyles["*"],s=this._stateStyles[t],r=i?i.buildStyles(e,n):{};return s?s.buildStyles(e,n):r}build(t,e,n,i,s,r,o,a,l,c){const u=[],h=this.ast.options&&this.ast.options.params||ig,d=this.buildStyles(n,o&&o.params||ig,u),p=a&&a.params||ig,f=this.buildStyles(i,p,u),m=new Set,g=new Map,_=new Map,y="void"===i,v={params:Object.assign(Object.assign({},h),p)},b=c?[]:Gm(t,e,this.ast.animation,s,r,d,f,v,l,u);let w=0;if(b.forEach(t=>{w=Math.max(t.duration+t.delay,w)}),u.length)return ng(e,this._triggerName,n,i,y,d,f,[],[],g,_,w,u);b.forEach(t=>{const n=t.element,i=Wf(g,n,{});t.preStyleProps.forEach(t=>i[t]=!0);const s=Wf(_,n,{});t.postStyleProps.forEach(t=>s[t]=!0),n!==e&&m.add(n)});const C=xm(m.values());return ng(e,this._triggerName,n,i,y,d,f,b,C,g,_,w)}}class rg{constructor(t,e){this.styles=t,this.defaultParams=e}buildStyles(t,e){const n={},i=gm(this.defaultParams);
1780return Object.keys(t).forEach(e=>{const n=t[e];null!=n&&(i[e]=n)}),this.styles.styles.forEach(t=>{if("string"!=typeof t){const s=t;Object.keys(s).forEach(t=>{let r=s[t];r.length>1&&(r=km(r,i,e)),n[t]=r})}}),n}}class og{constructor(t,e){this.name=t,this.ast=e,this.transitionFactories=[],this.states={},e.states.forEach(t=>{this.states[t.name]=new rg(t.style,t.options&&t.options.params||{})}),ag(this.states,"true","1"),ag(this.states,"false","0"),e.transitions.forEach(e=>{this.transitionFactories.push(new sg(t,e,this.states))}),this.fallbackTransition=new sg(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[(t,e)=>!0],options:null,queryCount:0,depCount:0},this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,n,i){return this.transitionFactories.find(s=>s.match(t,e,n,i))||null}matchStyles(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)}}function ag(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}
1781/**
1782 * @license
1783 * Copyright Google LLC All Rights Reserved.
1784 *
1785 * Use of this source code is governed by an MIT-style license that can be
1786 * found in the LICENSE file at https://angular.io/license
1787 */const lg=new $m;class cg{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}register(t,e){const n=[],i=Fm(this._driver,e,n);if(n.length)throw new Error(`Unable to build the animation due to the following errors: ${n.join("\n")}`);this._animations[t]=i}_buildPlayer(t,e,n){const i=t.element,s=Zf(0,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(i,s,t.duration,t.delay,t.easing,[],!0)}create(t,e,n={}){const i=[],s=this._animations[t];let r;const o=new Map;if(s?(r=Gm(this._driver,e,s,am,lm,{},{},n,lg,i),r.forEach(t=>{const e=Wf(o,t.element,{});t.postStyleProps.forEach(t=>e[t]=null)})):(i.push("The requested animation doesn't exist or has already been destroyed"),r=[]),i.length)throw new Error(`Unable to create the animation due to the following errors: ${i.join("\n")}`);o.forEach((t,e)=>{Object.keys(t).forEach(n=>{t[n]=this._driver.computeStyle(e,n,If)})});const a=$f(r.map(t=>{const e=o.get(t.element);return this._buildPlayer(t,{},e)}));return this._playersById[t]=a,a.onDestroy(()=>this.destroy(t)),this.players.push(a),a}destroy(t){const e=this._getPlayer(t);e.destroy(),delete this._playersById[t];const n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)}_getPlayer(t){const e=this._playersById[t];if(!e)throw new Error(`Unable to find the timeline player referenced by ${t}`);return e}listen(t,e,n,i){const s=qf(e,"","","");return Uf(this._getPlayer(t),n,s,i),()=>{}}command(t,e,n,i){if("register"==n)return void this.register(t,i[0]);if("create"==n)return void this.create(t,e,i[0]||{});const s=this._getPlayer(t);switch(n){case"play":s.play();break;case"pause":s.pause();break;case"reset":s.reset();break;case"restart":s.restart();break;case"finish":s.finish();break;case"init":s.init();break;case"setPosition":s.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(t)}}}
1788/**
1789 * @license
1790 * Copyright Google LLC All Rights Reserved.
1791 *
1792 * Use of this source code is governed by an MIT-style license that can be
1793 * found in the LICENSE file at https://angular.io/license
1794 */const ug="ng-animate-queued",hg="ng-animate-disabled",dg=".ng-animate-disabled",pg=[],fg={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},mg={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0};class gg{constructor(t,e=""){this.namespaceId=e;const n=t&&t.hasOwnProperty("value");if(this.value=null!=(i=n?t.value:t)?i:null,n){const e=gm(t);delete e.value,this.options=e}else this.options={};var i;this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(t){const e=t.params;if(e){const t=this.options.params;Object.keys(e).forEach(n=>{null==t[n]&&(t[n]=e[n])})}}}
1794const _g="void",yg=new gg(_g);class vg{constructor(t,e,n){this.id=t,this.hostElement=e,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,xg(e,this._hostClassName)}listen(t,e,n,i){if(!this._triggers.hasOwnProperty(e))throw new Error(`Unable to listen on the animation trigger event "${n}" because the animation trigger "${e}" doesn't exist!`);if(null==n||0==n.length)throw new Error(`Unable to listen on the animation trigger "${e}" because the provided event is undefined!`);if("start"!=(s=n)&&"done"!=s)throw new Error(`The provided animation trigger event "${n}" for the animation trigger "${e}" is not supported!`);var s;const r=Wf(this._elementListeners,t,[]),o={name:e,phase:n,callback:i};r.push(o);const a=Wf(this._engine.statesByElement,t,{});return a.hasOwnProperty(e)||(xg(t,cm),xg(t,"ng-trigger-"+e),a[e]=yg),()=>{this._engine.afterFlush(()=>{const t=r.indexOf(o);t>=0&&r.splice(t,1),this._triggers[e]||delete a[e]})}}register(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)}_getTrigger(t){const e=this._triggers[t];if(!e)throw new Error(`The provided animation trigger "${t}" has not been registered!`);return e}trigger(t,e,n,i=!0){const s=this._getTrigger(e),r=new wg(this.id,e,t);let o=this._engine.statesByElement.get(t);o||(xg(t,cm),xg(t,"ng-trigger-"+e),this._engine.statesByElement.set(t,o={}));let a=o[e];const l=new gg(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&a&&l.absorbOptions(a.options),o[e]=l,a||(a=yg),l.value!==_g&&a.value===l.value){if(!function(t,e){const n=Object.keys(t),i=Object.keys(e);if(n.length!=i.length)return!1;for(let s=0;s<n.length;s++){const i=n[s];if(!e.hasOwnProperty(i)||t[i]!==e[i])return!1}return!0}(a.params,l.params)){const e=[],n=s.matchStyles(a.value,a.params,e),i=s.matchStyles(l.value,l.params,e);e.length?this._engine.reportError(e):this._engine.afterFlush(()=>{wm(t,n),bm(t,i)})}return}const c=Wf(this._engine.playersByElement,t,[]);c.forEach(t=>{t.namespaceId==this.id&&t.triggerName==e&&t.queued&&t.destroy()});let u=s.matchTransition(a.value,l.value,t,l.params),h=!1;if(!u){if(!i)return;u=s.fallbackTransition,h=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:u,fromState:a,toState:l,player:r,isFallbackTransition:h}),h||(xg(t,ug),r.onStart(()=>{Tg(t,ug)})),r.onDone(()=>{let e=this.players.indexOf(r);e>=0&&this.players.splice(e,1);const n=this._engine.playersByElement.get(t);if(n){let t=n.indexOf(r);t>=0&&n.splice(t,1)}}),this.players.push(r),c.push(r),r}deregister(t){delete this._triggers[t],this._engine.statesByElement.forEach((e,n)=>{delete e[t]}),this._elementListeners.forEach((e,n)=>{this._elementListeners.set(n,e.filter(e=>e.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const e=this._engine.playersByElement.get(t);e&&(e.forEach(t=>t.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){const n=this._engine.driver.query(t,um,!0);n.forEach(t=>{if(t.__ng_removed)return;const n=this._engine.fetchNamespacesByElement(t);n.size?n.forEach(n=>n.triggerLeaveAnimation(t,e,!1,!0)):this.clearElementCache(t)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(t=>this.clearElementCache(t)))}triggerLeaveAnimation(t,e,n,i){const s=this._engine.statesByElement.get(t);if(s){const r=[];if(Object.keys(s).forEach(e=>{if(this._triggers[e]){const n=this.trigger(t,e,_g,i);n&&r.push(n)}}),r.length)return this._engine.markElementAsRemoved(this.id,t,!0,e),n&&$f(r).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t),n=this._engine.statesByElement.get(t);if(e&&n){const i=new Set;e.forEach(e=>{const s=e.name;if(i.has(s))return;i.add(s);const r=this._triggers[s].fallbackTransition,o=n[s]||yg,a=new gg(_g),l=new wg(this.id,s,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:s,transition:r,fromState:o,toState:a,player:l,isFallbackTransition:!0})})}}removeNode(t,e){const n=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let i=!1;if(n.totalAnimations){const e=n.players.length?n.playersByQueriedElement.get(t):[];if(e&&e.length)i=!0;else{let e=t;for(;e=e.parentNode;)if(n.statesByElement.get(e)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(t),i)n.markElementAsRemoved(this.id,t,!1,e);else{const i=t.__ng_removed;i&&i!==fg||(n.afterFlush(()=>this.clearElementCache(t)),n.destroyInnerAnimations(t),n._onRemovalComplete(t,e))}}insertNode(t,e){xg(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(n=>{const i=n.player;if(i.destroyed)return;const s=n.element,r=this._elementListeners.get(s);
1794r&&r.forEach(e=>{if(e.name==n.triggerName){const i=qf(s,n.triggerName,n.fromState.value,n.toState.value);i._data=t,Uf(n.player,e.phase,i,e.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):e.push(n)}),this._queue=[],e.sort((t,e)=>{const n=t.transition.ast.depCount,i=e.transition.ast.depCount;return 0==n||0==i?n-i:this._engine.driver.containsElement(t.element,e.element)?1:-1})}destroy(t){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}elementContainsData(t){let e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(e=>e.element===t)||e,e}}class bg{constructor(t,e,n){this.bodyNode=t,this.driver=e,this._normalizer=n,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(t,e)=>{}}_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}get queuedPlayers(){const t=[];return this._namespaceList.forEach(e=>{e.players.forEach(e=>{e.queued&&t.push(e)})}),t}createNamespace(t,e){const n=new vg(t,e,this);return e.parentNode?this._balanceNamespaceList(n,e):(this.newHostElements.set(e,n),this.collectEnterElement(e)),this._namespaceLookup[t]=n}_balanceNamespaceList(t,e){const n=this._namespaceList.length-1;if(n>=0){let i=!1;for(let s=n;s>=0;s--)if(this.driver.containsElement(this._namespaceList[s].hostElement,e)){this._namespaceList.splice(s+1,0,t),i=!0;break}i||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(e,t),t}register(t,e){let n=this._namespaceLookup[t];return n||(n=this.createNamespace(t,e)),n}registerTrigger(t,e,n){let i=this._namespaceLookup[t];i&&i.register(e,n)&&this.totalAnimations++}destroy(t,e){if(!t)return;const n=this._fetchNamespace(t);this.afterFlush(()=>{this.namespacesByHostElement.delete(n.hostElement),delete this._namespaceLookup[t];const e=this._namespaceList.indexOf(n);e>=0&&this._namespaceList.splice(e,1)}),this.afterFlushAnimationsDone(()=>n.destroy(e))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,n=this.statesByElement.get(t);if(n){const t=Object.keys(n);for(let i=0;i<t.length;i++){const s=n[t[i]].namespaceId;if(s){const t=this._fetchNamespace(s);t&&e.add(t)}}}return e}trigger(t,e,n,i){if(Cg(e)){const s=this._fetchNamespace(t);if(s)return s.trigger(e,n,i),!0}return!1}insertNode(t,e,n,i){if(!Cg(e))return;const s=e.__ng_removed;if(s&&s.setForRemoval){s.setForRemoval=!1,s.setForMove=!0;const t=this.collectedLeaveElements.indexOf(e);t>=0&&this.collectedLeaveElements.splice(t,1)}if(t){const i=this._fetchNamespace(t);i&&i.insertNode(e,n)}i&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),xg(t,hg)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),Tg(t,hg))}removeNode(t,e,n,i){if(Cg(e)){const s=t?this._fetchNamespace(t):null;if(s?s.removeNode(e,i):this.markElementAsRemoved(t,e,!1,i),n){const n=this.namespacesByHostElement.get(e);n&&n.id!==t&&n.removeNode(e,i)}}else this._onRemovalComplete(e,i)}markElementAsRemoved(t,e,n,i){this.collectedLeaveElements.push(e),e.__ng_removed={namespaceId:t,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1}}listen(t,e,n,i,s){return Cg(e)?this._fetchNamespace(t).listen(e,n,i,s):()=>{}}_buildInstruction(t,e,n,i,s){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,i,t.fromState.options,t.toState.options,e,s)}destroyInnerAnimations(t){let e=this.driver.query(t,um,!0);e.forEach(t=>this.destroyActiveAnimationsForElement(t)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,dm,!0),e.forEach(t=>this.finishActiveQueriedAnimationOnElement(t)))}destroyActiveAnimationsForElement(t){const e=this.playersByElement.get(t);e&&e.forEach(t=>{t.queued?t.markedForDestroy=!0:t.destroy()})}finishActiveQueriedAnimationOnElement(t){const e=this.playersByQueriedElement.get(t);e&&e.forEach(t=>t.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return $f(this.players).onDone(()=>t());t()})}processLeaveNode(t){const e=t.__ng_removed;if(e&&e.setForRemoval){if(t.__ng_removed=fg,e.namespaceId){this.destroyInnerAnimations(t);const n=this._fetchNamespace(e.namespaceId);n&&n.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}this.driver.matchesElement(t,dg)&&this.markElementAsDisabled(t,!1),this.driver.query(t,dg,!0).forEac
1794h(t=>{this.markElementAsDisabled(t,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((t,e)=>this._balanceNamespaceList(t,e)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;n<this.collectedEnterElements.length;n++)xg(this.collectedEnterElements[n],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const n=[];try{e=this._flushAnimations(n,t)}finally{for(let t=0;t<n.length;t++)n[t]()}}else for(let n=0;n<this.collectedLeaveElements.length;n++)this.processLeaveNode(this.collectedLeaveElements[n]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(t=>t()),this._flushFns=[],this._whenQuietFns.length){const t=this._whenQuietFns;this._whenQuietFns=[],e.length?$f(e).onDone(()=>{t.forEach(t=>t())}):t.forEach(t=>t())}}reportError(t){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${t.join("\n")}`)}_flushAnimations(t,e){const n=new $m,i=[],s=new Map,r=[],o=new Map,a=new Map,l=new Map,c=new Set;this.disabledNodes.forEach(t=>{c.add(t);const e=this.driver.query(t,".ng-animate-queued",!0);for(let n=0;n<e.length;n++)c.add(e[n])});const u=this.bodyNode,h=Array.from(this.statesByElement.keys()),d=kg(h,this.collectedEnterElements),p=new Map;let f=0;d.forEach((t,e)=>{const n=am+f++;p.set(e,n),t.forEach(t=>xg(t,n))});const m=[],g=new Set,_=new Set;for(let I=0;I<this.collectedLeaveElements.length;I++){const t=this.collectedLeaveElements[I],e=t.__ng_removed;e&&e.setForRemoval&&(m.push(t),g.add(t),e.hasAnimation?this.driver.query(t,".ng-star-inserted",!0).forEach(t=>g.add(t)):_.add(t))}const y=new Map,v=kg(h,Array.from(g));v.forEach((t,e)=>{const n=lm+f++;y.set(e,n),t.forEach(t=>xg(t,n))}),t.push(()=>{d.forEach((t,e)=>{const n=p.get(e);t.forEach(t=>Tg(t,n))}),v.forEach((t,e)=>{const n=y.get(e);t.forEach(t=>Tg(t,n))}),m.forEach(t=>{this.processLeaveNode(t)})});const b=[],w=[];for(let I=this._namespaceList.length-1;I>=0;I--)this._namespaceList[I].drainQueuedTransitions(e).forEach(t=>{const e=t.player,s=t.element;if(b.push(e),this.collectedEnterElements.length){const t=s.__ng_removed;if(t&&t.setForMove)return void e.destroy()}const c=!u||!this.driver.containsElement(u,s),h=y.get(s),d=p.get(s),f=this._buildInstruction(t,n,d,h,c);if(f.errors&&f.errors.length)w.push(f);else{if(c)return e.onStart(()=>wm(s,f.fromStyles)),e.onDestroy(()=>bm(s,f.toStyles)),void i.push(e);if(t.isFallbackTransition)return e.onStart(()=>wm(s,f.fromStyles)),e.onDestroy(()=>bm(s,f.toStyles)),void i.push(e);f.timelines.forEach(t=>t.stretchStartingKeyframe=!0),n.append(s,f.timelines),r.push({instruction:f,player:e,element:s}),f.queriedElements.forEach(t=>Wf(o,t,[]).push(e)),f.preStyleProps.forEach((t,e)=>{const n=Object.keys(t);if(n.length){let t=a.get(e);t||a.set(e,t=new Set),n.forEach(e=>t.add(e))}}),f.postStyleProps.forEach((t,e)=>{const n=Object.keys(t);let i=l.get(e);i||l.set(e,i=new Set),n.forEach(t=>i.add(t))})}});if(w.length){const t=[];w.forEach(e=>{t.push(`@${e.triggerName} has failed due to:\n`),e.errors.forEach(e=>t.push(`- ${e}\n`))}),b.forEach(t=>t.destroy()),this.reportError(t)}const C=new Map,S=new Map;r.forEach(t=>{const e=t.element;n.has(e)&&(S.set(e,e),this._beforeAnimationBuild(t.player.namespaceId,t.instruction,C))}
vendor: 1,102 bytes, line 1794
1794),i.forEach(t=>{const e=t.element;this._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach(t=>{Wf(C,e,[]).push(t),t.destroy()})});const E=m.filter(t=>Ig(t,a,l)),k=new Map;Eg(k,this.driver,_,l,If).forEach(t=>{Ig(t,a,l)&&E.push(t)});const x=new Map;d.forEach((t,e)=>{Eg(x,this.driver,new Set(t),a,"!")}),E.forEach(t=>{const e=k.get(t),n=x.get(t);k.set(t,Object.assign(Object.assign({},e),n))});const T=[],O=[],A={};r.forEach(t=>{const{element:e,player:r,instruction:o}=t;if(n.has(e)){if(c.has(e))return r.onDestroy(()=>bm(e,o.toStyles)),r.disabled=!0,r.overrideTotalTime(o.totalTime),void i.push(r);let t=A;if(S.size>1){let n=e;const i=[];for(;n=n.parentNode;){const e=S.get(n);if(e){t=e;break}i.push(n)}i.forEach(e=>S.set(e,t))}const n=this._buildAnimation(r.namespaceId,o,C,s,x,k);if(r.setRealPlayer(n),t===A)T.push(r);else{const e=this.playersByElement.get(t);e&&e.length&&(r.parentPlayer=$f(e)),i.push(r)}}else wm(e,o.fromStyles),r.onDestroy(()=>bm(e,o.toStyles)),O.push(r),c.has(e)&&i.push(r)}),O.forEach(t=>{const e=s.get(t.element);if(e&&e.length){const n=$f(e);t.setRealPlayer(n)}}
1794),i.forEach(t=>{t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(let I=0;I<m.length;I++){const t=m[I],e=t.__ng_removed;if(Tg(t,lm),e&&e.hasAnimation)continue;let n=[];if(o.size){let e=o.get(t);e&&e.length&&n.push(...e);let i=this.driver.query(t,dm,!0);for(let t=0;t<i.length;t++){let e=o.get(i[t]);e&&e.length&&n.push(...e)}}const i=n.filter(t=>!t.destroyed);i.length?Og(this,t,i):this.processLeaveNode(t)}return m.length=0,T.forEach(t=>{this.players.push(t),t.onDone(()=>{t.destroy();const e=this.players.indexOf(t);this.players.splice(e,1)}),t.play()}),T}elementContainsData(t,e){let n=!1;const i=e.__ng_removed;return i&&i.setForRemoval&&(n=!0),this.playersByElement.has(e)&&(n=!0),this.playersByQueriedElement.has(e)&&(n=!0),this.statesByElement.has(e)&&(n=!0),this._fetchNamespace(t).elementContainsData(e)||n}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,n,i,s){let r=[];if(e){const e=this.playersByQueriedElement.get(t);e&&(r=e)}else{const e=this.playersByElement.get(t);if(e){const t=!s||s==_g;e.forEach(e=>{e.queued||(t||e.triggerName==i)&&r.push(e)})}}return(n||i)&&(r=r.filter(t=>!(n&&n!=t.namespaceId||i&&i!=t.triggerName))),r}_beforeAnimationBuild(t,e,n){const i=e.element,s=e.isRemovalTransition?void 0:t,r=e.isRemovalTransition?void 0:e.triggerName;for(const o of e.timelines){const t=o.element,a=t!==i,l=Wf(n,t,[]);this._getPreviousPlayers(t,a,s,r,e.toState).forEach(t=>{const e=t.getRealPlayer();e.beforeDestroy&&e.beforeDestroy(),t.destroy(),l.push(t)})}wm(i,e.fromStyles)}_buildAnimation(t,e,n,i,s,r){const o=e.triggerName,a=e.element,l=[],c=new Set,u=new Set,h=e.timelines.map(e=>{const h=e.element;c.add(h);const d=h.__ng_removed;if(d&&d.removedBeforeQueried)return new jf(e.duration,e.delay);const p=h!==a,f=function(t){const e=[];return Ag(t,e),e}((n.get(h)||pg).map(t=>t.getRealPlayer())).filter(t=>!!t.element&&t.element===h),m=s.get(h),g=r.get(h),_=Zf(0,this._normalizer,0,e.keyframes,m,g),y=this._buildPlayer(e,_,f);if(e.subTimeline&&i&&u.add(h),p){const e=new wg(t,o,h);e.setRealPlayer(y),l.push(e)}return y});l.forEach(t=>{Wf(this.playersByQueriedElement,t.element,[]).push(t),t.onDone(()=>function(t,e,n){let i;if(t instanceof Map){if(i=t.get(e),i){if(i.length){const t=i.indexOf(n);i.splice(t,1)}0==i.length&&t.delete(e)}}else if(i=t[e],i){if(i.length){const t=i.indexOf(n);i.splice(t,1)}0==i.length&&delete t[e]}return i}(this.playersByQueriedElement,t.element,t))}),c.forEach(t=>xg(t,hm));const d=$f(h);return d.onDestroy(()=>{c.forEach(t=>Tg(t,hm)),bm(a,e.toStyles)}),u.forEach(t=>{Wf(i,t,[]).push(d)}),d}_buildPlayer(t,e,n){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new jf(t.duration,t.delay)}}class wg{constructor(t,e,n){this.namespaceId=t,this.triggerName=e,this.element=n,this._player=new jf,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEac
1794h(e=>{this._queuedCallbacks[e].forEach(n=>Uf(t,e,void 0,n))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){const e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,e){Wf(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){const e=this._player;e.triggerCallback&&e.triggerCallback(t)}}function Cg(t){return t&&1===t.nodeType}function Sg(t,e){const n=t.style.display;return t.style.display=null!=e?e:"none",n}function Eg(t,e,n,i,s){const r=[];n.forEach(t=>r.push(Sg(t)));const o=[];i.forEach((n,i)=>{const r={};n.forEach(t=>{const n=r[t]=e.computeStyle(i,t,s);n&&0!=n.length||(i.__ng_removed=mg,o.push(i))}),t.set(i,r)});let a=0;return n.forEach(t=>Sg(t,r[a++])),o}function kg(t,e){const n=new Map;if(t.forEach(t=>n.set(t,[])),0==e.length)return n;const i=new Set(e),s=new Map;function r(t){if(!t)return 1;let e=s.get(t);if(e)return e;const o=t.parentNode;return e=n.has(o)?o:i.has(o)?1:r(o),s.set(t,e),e}return e.forEach(t=>{const e=r(t);1!==e&&n.get(e).push(t)}),n}function xg(t,e){if(t.classList)t.classList.add(e);else{let n=t.$$classes;n||(n=t.$$classes={}),n[e]=!0}}function Tg(t,e){if(t.classList)t.classList.remove(e);else{let n=t.$$classes;n&&delete n[e]}}function Og(t,e,n){$f(n).onDone(()=>t.processLeaveNode(e))}function Ag(t,e){for(let n=0;n<t.length;n++){const i=t[n];i instanceof Bf?Ag(i.players,e):e.push(i)}}function Ig(t,e,n){const i=n.get(t);if(!i)return!1;let s=e.get(t);return s?i.forEach(t=>s.add(t)):e.set(t,i),n.delete(t),!0}class Dg{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._triggerCache={},this.onRemovalComplete=(t,e)=>{},this._transitionEngine=new bg(t,e,n),this._timelineEngine=new cg(t,e,n),this._transitionEngine.onRemovalComplete=(t,e)=>this.onRemovalComplete(t,e)}registerTrigger(t,e,n,i,s){const r=t+"-"+i;let o=this._triggerCache[r];if(!o){const t=[],e=Fm(this._driver,s,t);if(t.length)throw new Error(`The animation trigger "${i}" has failed to build due to the following errors:\n - ${t.join("\n - ")}`);o=function(t,e){return new og(t,e)}(i,e),this._triggerCache[r]=o}this._transitionEngine.registerTrigger(e,i,o)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,n,i){this._transitionEngine.insertNode(t,e,n,i)}onRemove(t,e,n,i){this._transitionEngine.removeNode(t,e,i||!1,n)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,n,i){if("@"==n.charAt(0)){const[t,s]=Kf(n);this._timelineEngine.command(t,e,s,i)}else this._transitionEngine.trigger(t,e,n,i)}listen(t,e,n,i,s){if("@"==n.charAt(0)){const[t,i]=Kf(n);return this._timelineEngine.listen(t,e,i,s)}return this._transitionEngine.listen(t,e,n,i,s)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}
1795/**
1796 * @license
1797 * Copyright Google LLC All Rights Reserved.
1798 *
1799 * Use of this source code is governed by an MIT-style license that can be
1800 * found in the LICENSE file at https://angular.io/license
1801 */
1802/**
1803 * @license
1804 * Copyright Google LLC All Rights Reserved.
1805 *
1806 * Use of this source code is governed by an MIT-style license that can be
1807 * found in the LICENSE file at https://angular.io/license
1808 */
1809/**
1810 * @license
1811 * Copyright Google LLC All Rights Reserved.
1812 *
1813 * Use of this source code is governed by an MIT-style license that can be
1814 * found in the LICENSE file at https://angular.io/license
1815 */
1816/**
1817 * @license
1818 * Copyright Google LLC All Rights Reserved.
1819 *
1820 * Use of this source code is governed by an MIT-style license that can be
1821 * found in the LICENSE file at https://angular.io/license
1822 */
1823/**
1824 * @license
1825 * Copyright Google LLC All Rights Reserved.
1826 *
1827 * Use of this source code is governed by an MIT-style license that can be
1828 * found in the LICENSE file at https://angular.io/license
1829 */
1830/**
1831 * @license Angular v11.2.5
1832 * (c) 2010-2021 Google LLC. https://angular.io/
1833 * License: MIT
1834 */
1835/**
1836 * @license
1837 * Copyright Google LLC All Rights Reserved.
1838 *
1839 * Use of this source code is governed by an MIT-style license that can be
1840 * found in the LICENSE file at https://angular.io/license
1841 */
1842let Pg=(()=>{class t extends Af{constructor(t,e){super(),this._nextAnimationId=0,this._renderer=t.createRenderer(e.body,{id:"0",encapsulation:Tt.None,styles:[],data:{animation:[]}})}build(t){const e=this._nextAnimationId.toString();this._nextAnimationId++;const n=Array.isArray(t)?Rf(t):t;return Ng(this._renderer,null,e,"register",[n]),new Rg(e,this._renderer)}}return t.\u0275fac=function(e){return new(e||t)(ui(aa),ui(Sc))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})();class Rg extends class{}{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new Mg(this._id,t,e||{},this._renderer)}}class Mg{constructor(t,e,n,i){this.id=t,this.element=e,this._renderer=i,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}_listen(t,e){return this._renderer.listen(this.element,`@@${this.id}:${t}`,e)}_command(t,...e){return Ng(this._renderer,this.element,this.id,t,e)}
1842onDone(t){this._listen("done",t)}onStart(t){this._listen("start",t)}onDestroy(t){this._listen("destroy",t)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset")}setPosition(t){this._command("setPosition",t)}getPosition(){var t,e;return null!==(e=null===(t=this._renderer.engine.players[+this.id])||void 0===t?void 0:t.getPosition())&&void 0!==e?e:0}}function Ng(t,e,n,i,s){return t.setProperty(e,`@@${n}:${i}`,s)}const Fg="@",Vg="@.disabled";let Lg=(()=>{class t{constructor(t,e,n){this.delegate=t,this.engine=e,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),e.onRemovalComplete=(t,e)=>{e&&e.parentNode(t)&&e.removeChild(t.parentNode,t)}}createRenderer(t,e){const n=this.delegate.createRenderer(t,e);if(!(t&&e&&e.data&&e.data.animation)){let t=this._rendererCache.get(n);return t||(t=new zg("",n,this.engine),this._rendererCache.set(n,t)),t}const i=e.id,s=e.id+"-"+this._currentId;this._currentId++,this.engine.register(s,t);const r=e=>{Array.isArray(e)?e.forEach(r):this.engine.registerTrigger(i,s,t,e.name,e)};return e.data.animation.forEach(r),new jg(this,s,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(t,e,n){t>=0&&t<this._microtaskId?this._zone.run(()=>e(n)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(t=>{const[e,n]=t;e(n)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([e,n]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return t.\u0275fac=function(e){return new(e||t)(ui(aa),ui(Dg),ui(Yl))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})();class zg{constructor(t,e,n){this.namespaceId=t,this.delegate=e,this.engine=n,this.destroyNode=this.delegate.destroyNode?t=>e.destroyNode(t):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,n,i=!0){this.delegate.insertBefore(t,e,n),this.engine.onInsert(this.namespaceId,e,t,i)}removeChild(t,e,n){this.engine.onRemove(this.namespaceId,e,this.delegate,n)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,n,i){this.delegate.setAttribute(t,e,n,i)}removeAttribute(t,e,n){this.delegate.removeAttribute(t,e,n)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,n,i){this.delegate.setStyle(t,e,n,i)}removeStyle(t,e,n){this.delegate.removeStyle(t,e,n)}setProperty(t,e,n){e.charAt(0)==Fg&&e==Vg?this.disableAnimations(t,!!n):this.delegate.setProperty(t,e,n)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,n){return this.delegate.listen(t,e,n)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}}class jg extends zg{constructor(t,e,n,i){super(e,n,i),this.factory=t,this.namespaceId=e}setProperty(t,e,n){e.charAt(0)==Fg?"."==e.charAt(1)&&e==Vg?this.disableAnimations(t,n=void 0===n||!!n):this.engine.process(this.namespaceId,t,e.substr(1),n):this.delegate.setProperty(t,e,n)}listen(t,e,n){if(e.charAt(0)==Fg){const i=function(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(t);let s=e.substr(1),r="";return s.charAt(0)!=Fg&&([s,r]=function(t){const e=t.indexOf(".");return[t.substring(0,e),t.substr(e+1)]}(s)),this.engine.listen(this.namespaceId,i,s,r,t=>{this.factory.scheduleListenerCallback(t._data||-1,n,t)})}return this.delegate.listen(t,e,n)}}let Bg=(()=>{class t extends Dg{constructor(t,e,n){super(t.body,e,n)}}return t.\u0275fac=function(e){return new(e||t)(ui(Sc),ui(om),ui(Jm))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})();const Hg=new qn("AnimationModuleType"),$g=[{provide:om,useClass:rm},{provide:Hg,useValue:"NoopAnimations"},{provide:Af,useClass:Pg},{provide:Jm,useFactory:function(){return new tg}},{provide:Dg,useClass:Bg},{provide:aa,useFactory:function(t,e,n){return new Lg(t,e,n)},deps:[Mu,Dg,Yl]}];let Zg=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=qt({type:t}),t.\u0275inj=pt({providers:$g,imports:[Gu]}),t})();function Ug(t,e){if(1&t&&Wr(0,"mat-pseudo-checkbox",4),2&t){const t=oo();Zr("state",t.selected?"checked":"unchecked")("disabled",t.disabled)}}function Gg(t,e){if(1&t&&(Gr(0,"span",5),Io(1),qr()),2&t){const t=oo();ds(1),Po("(",t.group.label,")")}}const qg=["*"],Wg=new ha("11.2.5"),Kg=new qn("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}});let Yg,Xg=(()=>{class t{constructor(t,e,n){this._hasDoneGlobalChecks=!1,this._document=n,t._applyBodyHighContrastModeCssClasse
1842s(),this._sanityChecks=e,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}_getWindow(){const t=this._document.defaultView||window;return"object"==typeof t&&t?t:null}_checksAreEnabled(){return uc()&&!this._isTestEnv()}_isTestEnv(){const t=this._getWindow();return t&&(t.__karma__||t.jasmine)}_checkDoctypeIsDefined(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.doctype)&&!this._document.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}_checkThemeIsPresent(){if(!this._checksAreEnabled()||!1===this._sanityChecks||!this._sanityChecks.theme||!this._document.body||"function"!=typeof getComputedStyle)return;const t=this._document.createElement("div");t.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(t);const e=getComputedStyle(t);e&&"none"!==e.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),this._document.body.removeChild(t)}_checkCdkVersionMatch(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.version)&&Wg.full!==Of.full&&console.warn("The Angular Material version ("+Wg.full+") does not match the Angular CDK version ("+Of.full+").\nPlease ensure the versions of these two packages exactly match.")}}return t.\u0275fac=function(e){return new(e||t)(ui(Tf),ui(Kg,8),ui(Sc))},t.\u0275mod=qt({type:t}),t.\u0275inj=pt({imports:[[Qd],Qd]}),t})();
1843/**
1844 * @license
1845 * Copyright Google LLC All Rights Reserved.
1846 *
1847 * Use of this source code is governed by an MIT-style license that can be
1848 * found in the LICENSE file at https://angular.io/license
1849 */
1850function Qg(t){return class extends t{constructor(...t){super(...t),this._disabled=!1}get disabled(){return this._disabled}set disabled(t){this._disabled=kd(t)}}}
1851/**
1852 * @license
1853 * Copyright Google LLC All Rights Reserved.
1854 *
1855 * Use of this source code is governed by an MIT-style license that can be
1856 * found in the LICENSE file at https://angular.io/license
1857 */function Jg(t,e){return class extends t{constructor(...t){super(...t),this.defaultColor=e,this.color=e}get color(){return this._color}set color(t){const e=t||this.defaultColor;e!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),e&&this._elementRef.nativeElement.classList.add(`mat-${e}`),this._color=e)}}}
1858/**
1859 * @license
1860 * Copyright Google LLC All Rights Reserved.
1861 *
1862 * Use of this source code is governed by an MIT-style license that can be
1863 * found in the LICENSE file at https://angular.io/license
1864 */function t_(t){return class extends t{constructor(...t){super(...t),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=kd(t)}}}
1865/**
1866 * @license
1867 * Copyright Google LLC All Rights Reserved.
1868 *
1869 * Use of this source code is governed by an MIT-style license that can be
1870 * found in the LICENSE file at https://angular.io/license
1871 */function e_(t,e=0){return class extends t{constructor(...t){super(...t),this._tabIndex=e,this.defaultTabIndex=e}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(t){this._tabIndex=null!=t?xd(t):this.defaultTabIndex}}}
1872/**
1873 * @license
1874 * Copyright Google LLC All Rights Reserved.
1875 *
1876 * Use of this source code is governed by an MIT-style license that can be
1877 * found in the LICENSE file at https://angular.io/license
1878 */function n_(t){return class extends t{constructor(...t){super(...t),this.errorState=!1,this.stateChanges=new S}updateErrorState(){const t=this.errorState,e=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);e!==t&&(this.errorState=e,this.stateChanges.next())}}}
1879/**
1880 * @license
1881 * Copyright Google LLC All Rights Reserved.
1882 *
1883 * Use of this source code is governed by an MIT-style license that can be
1884 * found in the LICENSE file at https://angular.io/license
1885 */try{Yg="undefined"!=typeof Intl}catch(cx){Yg=!1}let i_=(()=>{class t{isErrorState(t,e){return!!(t&&t.invalid&&(t.touched||e&&e.submitted))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=dt({factory:function(){return new t},token:t,providedIn:"root"}),t})(),s_=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=qt({type:t}),t.\u0275inj=pt({imports:[[Xg],Xg]}),t})();
1886/**
1887 * @license
1888 * Copyright Google LLC All Rights Reserved.
1889 *
1890 * Use of this source code is governed by an MIT-style license that can be
1891 * found in the LICENSE file at https://angular.io/license
1892 */
1893class r_{constructor(t,e,n){this._renderer=t,this.element=e,this.config=n,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const o_={enterDuration:450,exitDuration:400},a_=Wd({passive:!0}),l_=["mousedown","touchstart"],c_=["mouseup","mouseleave","touchend","touchcancel"];class u_{constructor(t,e,n,i){this._target=t,this._ngZone=e,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,i.isBrowser&&(this._containerElement=Ad(n))}fadeInRipple(t,e,n={}){const i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),s=Object.assign(Object.assign({},o_),n.animation);n.centered&&(t=i.left+i.width/2,e=i.top+i.height/2);const r=n.radius||function(t,e,n){const i=Math.max(Math.abs(t-n.left),Math.abs(t-n.right)),s=Math.max(Math.abs(e-n.top),Math.abs(e-n.bottom));return Math.sqrt(i*i+s*s)}
1894/**
1895 * @license
1896 * Copyright Google LLC All Rights Reserved.
1897 *
1898 * Use of this source code is governed by an MIT-style license that can be
1899 * found in the LICENSE file at https://angular.io/license
1900 */(t,e,i),o=t-i.left,a=e-i.top,l=s.enterDuration,c=document.createElement("div");c.classList.add("mat-ripple-element"),c.style.left=o-r+"px",c.style.top=a-r+"px",c.style.height=2*r+"px",c.style.width=2*r+"px",null!=n.color&&(c.style.backgroundColor=n.color),c.style.transitionDuration=`${l}ms`,this._containerElement.appendChild(c),window.getComputedStyle(c).getPropertyValue("opacity"),c.style.transform="scale(1)";const u=new r_(this,c,n);return u.state=0,this._activeRipples.add(u),n.persistent||(this._mostRecentTransientRipple=u),this._runTimeoutOutsideZone(()=>{const t=u===this._mostRecentTransientRipple;u.state=1,n.persistent||t&&this._isPointerDown||u.fadeOut()},l),u}fadeOutRipple(t){const e=this._activeRipples.delete(t);if(t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!e)return;const n=t.element,i=Object.assign(Object.assign({},o_),t.config.animation);n.style.transitionDuration=`${i.exitDuration}ms`,n.style.opacity="0",t.state=2,this._runTimeoutOutsideZone(()=>{t.state=3,n.parentNode.removeChild(n)},i.exitDuration)}
1900fadeOutAll(){this._activeRipples.forEach(t=>t.fadeOut())}setupTriggerEvents(t){const e=Ad(t);e&&e!==this._triggerElement&&(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(l_))}handleEvent(t){"mousedown"===t.type?this._onMousedown(t):"touchstart"===t.type?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(c_),this._pointerUpEventsRegistered=!0)}_onMousedown(t){const e=yf(t),n=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;this._target.rippleDisabled||e||n||(this._isPointerDown=!0,this.fadeInRipple(t.clientX,t.clientY,this._target.rippleConfig))}_onTouchStart(t){if(!this._target.rippleDisabled&&!vf(t)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const e=t.changedTouches;for(let t=0;t<e.length;t++)this.fadeInRipple(e[t].clientX,e[t].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._activeRipples.forEach(t=>{!t.config.persistent&&(1===t.state||t.config.terminateOnPointerUp&&0===t.state)&&t.fadeOut()}))}_runTimeoutOutsideZone(t,e=0){this._ngZone.runOutsideAngular(()=>setTimeout(t,e))}_registerEvents(t){this._ngZone.runOutsideAngular(()=>{t.forEach(t=>{this._triggerElement.addEventListener(t,this,a_)})})}_removeTriggerEvents(){this._triggerElement&&(l_.forEach(t=>{this._triggerElement.removeEventListener(t,this,a_)}),this._pointerUpEventsRegistered&&c_.forEach(t=>{this._triggerElement.removeEventListener(t,this,a_)}))}}const h_=new qn("mat-ripple-global-options");let d_=(()=>{class t{constructor(t,e,n,i,s){this._elementRef=t,this._animationMode=s,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=i||{},this._rippleRenderer=new u_(this,e,t,n)}get disabled(){return this._disabled}set disabled(t){this._disabled=t,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(t){this._trigger=t,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(t,e=0,n){return"number"==typeof t?this._rippleRenderer.fadeInRipple(t,e,Object.assign(Object.assign({},this.rippleConfig),n)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),t))}}return t.\u0275fac=function(e){return new(e||t)($r(ra),$r(Yl),$r(Gd),$r(h_,8),$r(Hg,8))},t.\u0275dir=Kt({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(t,e){2&t&&vo("mat-ripple-unbounded",e.unbounded)},inputs:{radius:["matRippleRadius","radius"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"],color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],animation:["matRippleAnimation","animation"]},exportAs:["matRipple"]}),t})(),p_=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=qt({type:t}),t.\u0275inj=pt({imports:[[Xg,qd],Xg]}),t})(),f_=(()=>{class t{constructor(t){this._animationMode=t,this.state="unchecked",this.disabled=!1}}return t.\u0275fac=function(e){return new(e||t)($r(Hg,8))},t.\u0275cmp=$t({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(t,e){2&t&&vo("mat-pseudo-checkbox-indeterminate","indeterminate"===e.state)("mat-pseudo-checkbox-checked","checked"===e.state)("mat-pseudo-checkbox-disabled",e.disabled)("_mat-animation-noopable","NoopAnimations"===e._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(t,e){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;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-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),t})(),m_=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=qt({type:t}),t.\u0275inj=pt({imports:[[Xg]]}),t})();
1901/**
1902 * @license
1903 * Copyright Google LLC All Rights Reserved.
1904 *
1905 * Use of this source code is governed by an MIT-style license that can be
1906 * found in the LICENSE file at https://angular.io/license
1907 */
1908const g_=new qn("MAT_OPTION_PARENT_COMPONENT");
1909/**
1910 * @license
1911 * Copyright Google LLC All Rights Reserved.
1912 *
1913 * Use of this source code is governed by an MIT-style license that can be
1914 * found in the LICENSE file at https://angular.io/license
1915 */class __{}const y_=Qg(__);let v_=0,b_=(()=>
1915{class t extends y_{constructor(t){var e;super(),this._labelId="mat-optgroup-label-"+v_++,this._inert=null!==(e=null==t?void 0:t.inertGroups)&&void 0!==e&&e}}return t.\u0275fac=function(e){return new(e||t)($r(g_,8))},t.\u0275dir=Kt({type:t,inputs:{label:"label"},features:[Tr]}),t})();const w_=new qn("MatOptgroup");
1916/**
1917 * @license
1918 * Copyright Google LLC All Rights Reserved.
1919 *
1920 * Use of this source code is governed by an MIT-style license that can be
1921 * found in the LICENSE file at https://angular.io/license
1922 */
1923let C_=0;class S_{constructor(t,e=!1){this.source=t,this.isUserInput=e}}let E_=(()=>{class t{constructor(t,e,n,i){this._element=t,this._changeDetectorRef=e,this._parent=n,this.group=i,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+C_++,this.onSelectionChange=new ul,this._stateChanges=new S}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(t){this._disabled=kd(t)}get disableRipple(){return this._parent&&this._parent.disableRipple}get active(){return this._active}get viewValue(){return(this._getHostElement().textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(t,e){const n=this._getHostElement();"function"==typeof n.focus&&n.focus(e)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(t){13!==t.keyCode&&32!==t.keyCode||yp(t)||(this._selectViaInteraction(),t.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const t=this.viewValue;t!==this._mostRecentViewValue&&(this._mostRecentViewValue=t,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(t=!1){this.onSelectionChange.emit(new S_(this,t))}}return t.\u0275fac=function(e){return new(e||t)($r(ra),$r(Da),$r(void 0),$r(b_))},t.\u0275dir=Kt({type:t,inputs:{id:"id",disabled:"disabled",value:"value"},outputs:{onSelectionChange:"onSelectionChange"}}),t})(),k_=(()=>{class t extends E_{constructor(t,e,n,i){super(t,e,n,i)}}return t.\u0275fac=function(e){return new(e||t)($r(ra),$r(Da),$r(g_,8),$r(w_,8))},t.\u0275cmp=$t({type:t,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(t,e){1&t&&eo("click",function(){return e._selectViaInteraction()})("keydown",function(t){return e._handleKeydown(t)}),2&t&&(Mo("id",e.id),jr("tabindex",e._getTabIndex())("aria-selected",e._getAriaSelected())("aria-disabled",e.disabled.toString()),vo("mat-selected",e.selected)("mat-option-multiple",e.multiple)("mat-active",e.active)("mat-option-disabled",e.disabled))},exportAs:["matOption"],features:[Tr],ngContentSelectors:qg,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-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(t,e){1&t&&(lo(),Hr(0,Ug,1,2,"mat-pseudo-checkbox",0),Gr(1,"span",1),co(2),qr(),Hr(3,Gg,2,1,"span",2),Wr(4,"div",3)),2&t&&(Zr("ngIf",e.multiple),ds(3),Zr("ngIf",e.group&&e.group._inert),ds(1),Zr("matRippleTrigger",e._getHostElement())("matRippleDisabled",e.disabled||e.disableRipple))},directives:[nu,d_,f_],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:transparent}.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;-moz-user-select:none;-ms-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}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.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}),t})();function x_(t,e,n){if(n.length){let i=e.toArray(),s=n.toArray(),r=0;for(let e=0;e<t+1;e++)i[e].group&&i[e].group===s[r]&&r++;return r}return 0}let T_=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=qt({type:t}),t.\u0275inj=pt({imports:[[p_,gu,Xg,m_]]}),t})();
1924/**
1925 * @license
1926 * Copyright Google LLC All Rights Reserved.
1927 *
1928 * Use of this source code is governed by an MIT-style license that can be
1929 * found in the LICENSE file at https://angular.io/license
1930 */
1931function O_(t){return new y(e=>{let n;try{n=t()}catch(i){return void e.error(i)}return(n?F(n):td()).subscribe(e)})}
1932/**
1933 * @license
1934 * Copyright Google LLC All Rights Reserved.
1935 *
1936 * Use of this source code is governed by an MIT-style license that can be
1937 * found in the LICENSE file at https://angular.io/license
1938 */function A_(t,e){}class I_{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus=!0,this.restoreFocus=!0,this.closeOnNavigation=!0}}
1939/**
1940 * @license
1941 * Copyright Google LLC All Rights Reserved.
1942 *
1943 * Use of this source code is governed by an MIT-style license that can be
1944 * found in the LICENSE file at https://angular.io/license
1945 */const D_={dialogContainer:Df("dialogContainer",[Nf("void, exit",Mf({opacity:0,transform:"scale(0.7)"})),Nf("enter",Mf({transform:"none"})),Ff("* => enter",Pf("150ms cubic-bezier(0, 0, 0.2, 1)",Mf({transform:"none",opacity:1}))),Ff("* => void, * => exit",Pf("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",Mf({opacity:0}
1945)))])};
1946/**
1947 * @license
1948 * Copyright Google LLC All Rights Reserved.
1949 *
1950 * Use of this source code is governed by an MIT-style license that can be
1951 * found in the LICENSE file at https://angular.io/license
1952 */let P_=(()=>{class t extends lp{constructor(t,e,n,i,s,r){super(),this._elementRef=t,this._focusTrapFactory=e,this._changeDetectorRef=n,this._config=s,this._focusMonitor=r,this._animationStateChanged=new ul,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=t=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(t)),this._ariaLabelledBy=s.ariaLabelledBy||null,this._document=i}_initializeWithAttachedContent(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement(),this._focusDialogContainer()}attachComponentPortal(t){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(t)}attachTemplatePortal(t){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(t)}_recaptureFocus(){this._containsFocus()||(!this._config.autoFocus||!this._focusTrap.focusInitialElement())&&this._elementRef.nativeElement.focus()}_trapFocus(){this._config.autoFocus?this._focusTrap.focusInitialElementWhenReady():this._containsFocus()||this._elementRef.nativeElement.focus()}_restoreFocus(){const t=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&t&&"function"==typeof t.focus){const e=this._getActiveElement(),n=this._elementRef.nativeElement;e&&e!==this._document.body&&e!==n&&!n.contains(e)||(this._focusMonitor?(this._focusMonitor.focusVia(t,this._closeInteractionType),this._closeInteractionType=null):t.focus())}this._focusTrap&&this._focusTrap.destroy()}_setupFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}_capturePreviouslyFocusedElement(){this._document&&(this._elementFocusedBeforeDialogWasOpened=this._getActiveElement())}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const t=this._elementRef.nativeElement,e=this._getActiveElement();return t===e||t.contains(e)}_getActiveElement(){var t;const e=this._document.activeElement;return(null===(t=null==e?void 0:e.shadowRoot)||void 0===t?void 0:t.activeElement)||e}}return t.\u0275fac=function(e){return new(e||t)($r(ra),$r(ff),$r(Da),$r(Sc,8),$r(I_),$r(Cf))},t.\u0275dir=Kt({type:t,viewQuery:function(t,e){if(1&t&&Sl(up,3),2&t){let t;Cl(t=kl())&&(e._portalOutlet=t.first)}},features:[Tr]}),t})(),R_=(()=>{class t extends P_{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:t,totalTime:e}){"enter"===t?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})):"exit"===t&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:e}))}_onAnimationStart({toState:t,totalTime:e}){"enter"===t?this._animationStateChanged.next({state:"opening",totalTime:e}):"exit"!==t&&"void"!==t||this._animationStateChanged.next({state:"closing",totalTime:e})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}}return t.\u0275fac=function(e){return M_(e||t)},t.\u0275cmp=$t({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(t,e){1&t&&no("@dialogContainer.start",function(t){return e._onAnimationStart(t)})("@dialogContainer.done",function(t){return e._onAnimationDone(t)}),2&t&&(Mo("id",e._id),jr("role",e._config.role)("aria-labelledby",e._config.ariaLabel?null:e._ariaLabelledBy)("aria-label",e._config.ariaLabel)("aria-describedby",e._config.ariaDescribedBy||null),No("@dialogContainer",e._state))},features:[Tr],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,e){1&t&&Hr(0,A_,0,0,"ng-template",0)},directives:[up],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[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.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:[D_.dialogContainer]}}),t})();const M_=$n(R_);
1953/**
1954 * @license
1955 * Copyright Google LLC All Rights Reserved.
1956 *
1957 * Use of this source code is governed by an MIT-style license that can be
1958 * found in the LICENSE file at https://angular.io/license
1959 */let N_=0;class F_{constructor(t,e,n="mat-dialog-"+N_++){this._overlayRef=t,this._containerInstance=e,this.id=n,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new S,this._afterClosed=new S,this._beforeClosed=new S,this._state=0,e._id=n,e._animationStateChanged.pipe(Ku(t=>"opened"===t.state),pp(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),e._animationStateChanged.pipe(Ku(t=>"closed"===t.state),pp(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),t.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),t.keydownEvents().pipe(Ku(t=>27===t.keyCode&&!this.disableClose&&!yp(t))).subscribe(t=>{t.preventDefault(),V_(this,"keyboard")}),t.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():V_(this,"mouse")})}close(t){this._result=t,this._containerInstance._animationStateChanged.pipe(Ku(t=>"closing"===t.state),pp(1)).subscribe(e=>{this._beforeClosed.next(t),this._beforeClosed.complete(),this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._afterClosed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._overlayRef.backdropClick()}keydownEvents(){return this._overlayRef.keydownEvents()}updatePosition(t){let e=this._getPositionStrategy();return t&&(t.left||t.right)?t.left?e.left(t.left):e.right(t.right):e.centerHorizontally(),t&&(t.top||t.bottom)?t.top?e.top(t.top):e.bottom(t.bottom):e.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(t="",e=""){return this._overlayRef.updateSize({width:t,height:e}),this._overlayRef.updatePosition(),this}addPanelClass(t){return this._overlayRef.addPanelClass(t),this}removePanelClass(t){return this._overlayRef.removePanelClass(t),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}function V_(t,e,n){return void 0!==t._containerInstance&&(t._containerInstance._closeInteractionType=e),t.close(n)}
1960/**
1961 * @license
1962 * Copyright Google LLC All Rights Reserved.
1963 *
1964 * Use of this source code is governed by an MIT-style license that can be
1965 * found in the LICENSE file at https://angular.io/license
1966 */const L_=new qn("MatDialogData"),z_=new qn("mat-dialog-default-options"),j_=new qn("mat-dialog-scroll-strategy"),B_={provide:j_,deps:[qp],useFactory:function(t){return()=>t.scrollStrategies.block()}};let H_=(()=>{class t{constructor(t,e,n,i,s,r,o,a,l){this._overlay=t,this._injector=e,this._defaultOptions=n,this._parentDialog=i,this._overlayContainer=s,this._dialogRefConstructor=o,this._dialogContainerType=a,this._dialogDataToken=l,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new S,this._afterOpenedAtThisLevel=new S,this._ariaHiddenElements=new Map,this.afterAllClosed=O_(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Bd(void 0))),this._scrollStrategy=r}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(t,e){(e=function(t,e){return Object.assign(Object.assign({},e),t)}
1967/**
1968 * @license
1969 * Copyright Google LLC All Rights Reserved.
1970 *
1971 * Use of this source code is governed by an MIT-style license that can be
1972 * found in the LICENSE file at https://angular.io/license
1973 */(e,this._defaultOptions||new I_)).id&&this.getDialogById(e.id);const n=this._createOverlay(e),i=this._attachDialogContainer(n,e),s=this._attachDialogContent(t,i,n,e);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(s),s.afterClosed().subscribe(()=>this._removeOpenDialog(s)),this.afterOpened.next(s),i._initializeWithAttachedContent(),s}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(t){return this.openDialogs.find(e=>e.id===t)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_createOverlay(t){const e=this._getOverlayConfig(t);return this._overlay.create(e)}_getOverlayConfig(t){const e=new Tp({positionStrategy:this._overlay.position().global(),scrollStrategy:t.scrollStrategy||this._scrollStrategy(),panelClass:t.panelClass,hasBackdrop:t.hasBackdrop,direction:t.direction,minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight,disposeOnNavigation:t.closeOnNavigation});return t.backdropClass&&(e.backdropClass=t.backdropClass),e}_attachDialogContainer(t,e){const n=kr.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:I_,useValue:e}]}),i=new rp(this._dialogContainerType,e.viewContainerRef,n,e.componentFactoryResolver);return t.attach(i).instance}_attachDialogContent(t,e,n,i){const s=new this._dialogRefConstructor(n,e,i.id);if(t instanceof Va)e.attachTemplatePortal(new op(t,null,{$implicit:i.data,dialogRef:s}));else{const n=this._createInjector(i,s,e),r=e.attachComponentPortal(new rp(t,i.viewContainerRef,n));s.componentInstance=r.instance}return s.updateSize(i.width,i.height).updatePosition(i.position),s}_createInjector(t,e,n){const i=t&&t.viewContainerRef&&t.viewContainerRef.injector,s=[{provide:this._dialogContainerType,useValue:n},{provide:this._dialogDataToken,useValue:t.data},{provide:this._dialogRefConstructor,useValue:e}];return!t.direction||i&&i.get(Xd,null)||s.push({provide:Xd,useValue:{value:t.direction,change:Wu()}}),kr.create({parent:i||this._injector,providers:s})}_removeOpenDialog(t){const e=this.openDialogs.indexOf(t);e>-1&&(this.openDialogs.splice(e,1),this.openDialogs.length||(this._ariaHiddenElements.forEac
1973h((t,e)=>{t?e.setAttribute("aria-hidden",t):e.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const t=this._overlayContainer.getContainerElement();if(t.parentElement){const e=t.parentElement.children;for(let n=e.length-1;n>-1;n--){let i=e[n];i===t||"SCRIPT"===i.nodeName||"STYLE"===i.nodeName||i.hasAttribute("aria-live")||(this._ariaHiddenElements.set(i,i.getAttribute("aria-hidden")),i.setAttribute("aria-hidden","true"))}}}_closeDialogs(t){let e=t.length;for(;e--;)t[e].close()}}return t.\u0275fac=function(e){return new(e||t)($r(qp),$r(kr),$r(void 0),$r(void 0),$r(Mp),$r(void 0),$r(Wn),$r(Wn),$r(qn))},t.\u0275dir=Kt({type:t}),t})(),$_=(()=>{class t extends H_{constructor(t,e,n,i,s,r,o){super(t,e,i,r,o,s,F_,R_,L_)}}return t.\u0275fac=function(e){return new(e||t)(ui(qp),ui(kr),ui(Fc,8),ui(z_,8),ui(j_),ui(t,12),ui(Mp))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})(),Z_=0,U_=(()=>{class t{constructor(t,e,n){this._dialogRef=t,this._elementRef=e,this._dialog=n,this.id="mat-dialog-title-"+Z_++}ngOnInit(){this._dialogRef||(this._dialogRef=function(t,e){let n=t.nativeElement.parentElement;for(;n&&!n.classList.contains("mat-dialog-container");)n=n.parentElement;return n?e.find(t=>t.id===n.id):null}(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const t=this._dialogRef._containerInstance;t&&!t._ariaLabelledBy&&(t._ariaLabelledBy=this.id)})}}return t.\u0275fac=function(e){return new(e||t)($r(F_,8),$r(ra),$r($_))},t.\u0275dir=Kt({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(t,e){2&t&&Mo("id",e.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),t})(),G_=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Kt({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),t})(),q_=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Kt({type:t,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),t})(),W_=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=qt({type:t}),t.\u0275inj=pt({providers:[$_,B_],imports:[[Jp,hp,Xg],Xg]}),t})();
1974/**
1975 * @license
1976 * Copyright Google LLC All Rights Reserved.
1977 *
1978 * Use of this source code is governed by an MIT-style license that can be
1979 * found in the LICENSE file at https://angular.io/license
1980 */
1981/**
1982 * @license
1983 * Copyright Google LLC All Rights Reserved.
1984 *
1985 * Use of this source code is governed by an MIT-style license that can be
1986 * found in the LICENSE file at https://angular.io/license
1987 */
1988const K_=["underline"],Y_=["connectionContainer"],X_=["inputContainer"],Q_=["label"];function J_(t,e){1&t&&(Kr(0),Gr(1,"div",14),Wr(2,"div",15),Wr(3,"div",16),Wr(4,"div",17),qr(),Gr(5,"div",18),Wr(6,"div",15),Wr(7,"div",16),Wr(8,"div",17),qr(),Yr())}function ty(t,e){1&t&&(Gr(0,"div",19),co(1,1),qr())}function ey(t,e){if(1&t&&(Kr(0),co(1,2),Gr(2,"span"),Io(3),qr(),Yr()),2&t){const t=oo(2);ds(3),Do(t._control.placeholder)}}function ny(t,e){1&t&&co(0,3,["*ngSwitchCase","true"])}function iy(t,e){1&t&&(Gr(0,"span",23),Io(1," *"),qr())}function sy(t,e){if(1&t){const t=Xr();Gr(0,"label",20,21),eo("cdkObserveContent",function(){return Re(t),oo().updateOutlineGap()}),Hr(2,ey,4,1,"ng-container",12),Hr(3,ny,1,0,"ng-content",12),Hr(4,iy,2,0,"span",22),qr()}if(2&t){const t=oo();vo("mat-empty",t._control.empty&&!t._shouldAlwaysFloat())("mat-form-field-empty",t._control.empty&&!t._shouldAlwaysFloat())("mat-accent","accent"==t.color)("mat-warn","warn"==t.color),Zr("cdkObserveContentDisabled","outline"!=t.appearance)("id",t._labelId)("ngSwitch",t._hasLabel()),jr("for",t._control.id)("aria-owns",t._control.id),ds(2),Zr("ngSwitchCase",!1),ds(1),Zr("ngSwitchCase",!0),ds(1),Zr("ngIf",!t.hideRequiredMarker&&t._control.required&&!t._control.disabled)}}function ry(t,e){1&t&&(Gr(0,"div",24),co(1,4),qr())}function oy(t,e){if(1&t&&(Gr(0,"div",25,26),Wr(2,"span",27),qr()),2&t){const t=oo();ds(2),vo("mat-accent","accent"==t.color)("mat-warn","warn"==t.color)}}function ay(t,e){1&t&&(Gr(0,"div"),co(1,5),qr()),2&t&&Zr("@transitionMessages",oo()._subscriptAnimationState)}function ly(t,e){if(1&t&&(Gr(0,"div",31),Io(1),qr()),2&t){const t=oo(2);Zr("id",t._hintLabelId),ds(1),Do(t.hintLabel)}}function cy(t,e){if(1&t&&(Gr(0,"div",28),Hr(1,ly,2,2,"div",29),co(2,6),Wr(3,"div",30),co(4,7),qr()),2&t){const t=oo();Zr("@transitionMessages",t._subscriptAnimationState),ds(1),Zr("ngIf",t.hintLabel)}}const uy=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],hy=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"],dy=new qn("MatError"),py={transitionMessages:Df("transitionMessages",[Nf("enter",Mf({opacity:1,transform:"translateY(0%)"})),Ff("void => enter",[Mf({opacity:0,transform:"translateY(-5px)"}),Pf("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let fy=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Kt({type:t}),t})();
1989/**
1990 * @license
1991 * Copyright Google LLC All Rights Reserved.
1992 *
1993 * Use of this source code is governed by an MIT-style license that can be
1994 * found in the LICENSE file at https://angular.io/license
1995 */const my=new qn("MatHint");let gy=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Kt({type:t,selectors:[["mat-label"]]}),t})(),_y=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Kt({type:t,selectors:[["mat-placeholder"]]}),t})();
1996/**
1997 * @license
1998 * Copyright Google LLC All Rights Reserved.
1999 *
2000 * Use of this source code is governed by an MIT-style license that can be
2001 * found in the LICENSE file at https://angular.io/license
2002 */
2003const yy=new qn("MatPrefix"),vy=new qn("MatSuffix");let by=0;
2004/**
2005 * @license
2006 * Copyright Google LLC All Rights Reserved.
2007 *
2008 * Use of this source code is governed by an MIT-style license that can be
2009 * found in the LICENSE file at https://angular.io/license
2010 */class wy{constructor(t){this._elementRef=t}}const Cy=Jg(wy,"primary"),Sy=new qn("MAT_FORM_FIELD_DEFAULT_OPTIONS"),Ey=new qn("MatFormField");let ky=(()=>{class t extends Cy{constructor(t,e,n,i,s,r,o,a){super(t),this._elementRef=t,this._changeDetectorRef=e,this._dir=i,this._defaults=s,this._platform=r,this._ngZone=o,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new S,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+by++,this._labelId="mat-form-field-label-"+by++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==a,this.appearance=s&&s.appearance?s.appearance:"legacy",this._hideRequiredMarker=!(!s||null==s.hideRequiredMarker)&&s.hideRequiredMarker}get appearance(){return this._appearance}set appearance(t){const e=this._appearance;this._appearance=t||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&e!==t&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(t){this._hideRequiredMarker=kd(t)}
2010_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(t){this._hintLabel=t,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(t){t!==this._floatLabel&&(this._floatLabel=t||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(t){this._explicitFormFieldControl=t}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const t=this._control;t.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${t.controlType}`),t.stateChanges.pipe(Bd(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),t.ngControl&&t.ngControl.valueChanges&&t.ngControl.valueChanges.pipe(Vd(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(Vd(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),U(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(Bd(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(Bd(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(Vd(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(t){const e=this._control?this._control.ngControl:null;return e&&e[t]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,Id(this._label.nativeElement,"transitionend").pipe(pp(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let t=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&t.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const e=this._hintChildren?this._hintChildren.find(t=>"start"===t.align):null,n=this._hintChildren?this._hintChildren.find(t=>"end"===t.align):null;e?t.push(e.id):this._hintLabel&&t.push(this._hintLabelId),n&&t.push(n.id)}else this._errorChildren&&t.push(...this._errorChildren.map(t=>t.id));this._control.setDescribedByIds(t)}}_validateControlChild(){}updateOutlineGap(){const t=this._label?this._label.nativeElement:null;if("outline"!==this.appearance||!t||!t.children.length||!t.textContent.trim())return;if(!this._platform.isBrowser)return;if(!this._isAttachedToDOM())return void(this._outlineGapCalculationNeededImmediately=!0);let e=0,n=0;const i=this._connectionContainerRef.nativeElement,s=i.querySelectorAll(".mat-form-field-outline-start"),r=i.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){const s=i.getBoundingClientRect();if(0===s.width&&0===s.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);const r=this._getStartEnd(s),o=t.children,a=this._getStartEnd(o[0].getBoundingClientRect());let l=0;for(let t=0;t<o.length;t++)l+=o[t].offsetWidth;e=Math.abs(a-r)-5,n=l>0?.75*l+10:0}for(let o=0;o<s.length;o++)s[o].style.width=`${e}px`;for(let o=0;o<r.length;o++)r[o].style.width=`${n}px`;this._outlineGapCalculationNeededOnStable=this._outlineGapCalculationNeededImmediately=!1}_getStartEnd(t){return this._dir&&"rtl"===this._dir.value?t.right:t.left}
2010_isAttachedToDOM(){const t=this._elementRef.nativeElement;if(t.getRootNode){const e=t.getRootNode();return e&&e!==t}return document.documentElement.contains(t)}}return t.\u0275fac=function(e){return new(e||t)($r(ra),$r(Da),$r(ra),$r(Xd,8),$r(Sy,8),$r(Gd),$r(Yl),$r(Hg,8))},t.\u0275cmp=$t({type:t,selectors:[["mat-form-field"]],contentQueries:function(t,e,n){if(1&t&&(El(n,fy,1),El(n,fy,3),El(n,gy,1),El(n,gy,3),El(n,_y,1),El(n,dy,1),El(n,my,1),El(n,yy,1),El(n,vy,1)),2&t){let t;Cl(t=kl())&&(e._controlNonStatic=t.first),Cl(t=kl())&&(e._controlStatic=t.first),Cl(t=kl())&&(e._labelChildNonStatic=t.first),Cl(t=kl())&&(e._labelChildStatic=t.first),Cl(t=kl())&&(e._placeholderChild=t.first),Cl(t=kl())&&(e._errorChildren=t),Cl(t=kl())&&(e._hintChildren=t),Cl(t=kl())&&(e._prefixChildren=t),Cl(t=kl())&&(e._suffixChildren=t)}},viewQuery:function(t,e){if(1&t&&(Sl(K_,1),Sl(Y_,3),Sl(X_,1),Sl(Q_,1)),2&t){let t;Cl(t=kl())&&(e.underlineRef=t.first),Cl(t=kl())&&(e._connectionContainerRef=t.first),Cl(t=kl())&&(e._inputContainerRef=t.first),Cl(t=kl())&&(e._label=t.first)}},hostAttrs:[1,"mat-form-field"],hostVars:44,hostBindings:function(t,e){2&t&&vo("mat-form-field-appearance-standard","standard"==e.appearance)("mat-form-field-appearance-fill","fill"==e.appearance)("mat-form-field-appearance-outline","outline"==e.appearance)("mat-form-field-appearance-legacy","legacy"==e.appearance)("mat-form-field-invalid",e._control.errorState)("mat-form-field-can-float",e._canLabelFloat())("mat-form-field-should-float",e._shouldLabelFloat())("mat-form-field-has-label",e._hasFloatingLabel())("mat-form-field-hide-placeholder",e._hideControlPlaceholder())("mat-form-field-disabled",e._control.disabled)("mat-form-field-autofilled",e._control.autofilled)("mat-focused",e._control.focused)("mat-accent","accent"==e.color)("mat-warn","warn"==e.color)("ng-untouched",e._shouldForward("untouched"))("ng-touched",e._shouldForward("touched"))("ng-pristine",e._shouldForward("pristine"))("ng-dirty",e._shouldForward("dirty"))("ng-valid",e._shouldForward("valid"))("ng-invalid",e._shouldForward("invalid"))("ng-pending",e._shouldForward("pending"))("_mat-animation-noopable",!e._animationsEnabled)},inputs:{color:"color",floatLabel:"floatLabel",appearance:"appearance",hideRequiredMarker:"hideRequiredMarker",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[Qo([{provide:Ey,useExisting:t}]),Tr],ngContentSelectors:hy,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",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"],[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"],["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(t,e){1&t&&(lo(uy),Gr(0,"div",0),Gr(1,"div",1,2),eo("click",function(t){return e._control.onContainerClick&&e._control.onContainerClick(t)}),Hr(3,J_,9,0,"ng-container",3),Hr(4,ty,2,0,"div",4),Gr(5,"div",5,6),co(7),Gr(8,"span",7),Hr(9,sy,5,16,"label",8),qr(),qr(),Hr(10,ry,2,0,"div",9),qr(),Hr(11,oy,3,4,"div",10),Gr(12,"div",11),Hr(13,ay,2,1,"div",12),Hr(14,cy,5,2,"div",13),qr(),qr()),2&t&&(ds(3),Zr("ngIf","outline"==e.appearance),ds(1),Zr("ngIf",e._prefixChildren.length),ds(5),Zr("ngIf",e._hasFloatingLabel()),ds(1),Zr("ngIf",e._suffixChildren.length),ds(1),Zr("ngIf","outline"!=e.appearance),ds(1),Zr("ngSwitch",e._getDisplayedMessages()),ds(1),Zr("ngSwitchCase","error"),ds(1),Zr("ngSwitchCase","hint"))}
2010,directives:[nu,ou,au,af],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}.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}\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}.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;border-top:solid 2px}.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:transparent;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::-ms-clear,.mat-input-element::-ms-reveal{display: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::-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;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-moz-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-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:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-webkit-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-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:-ms-input-placeholder{-ms-user-select:text}.mat-input-element:-ms-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-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:-ms-input-placeholder{-ms-user-select:text}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;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:transparent;display:inline-flex;box-sizing:border-box;padding-top:1em;top:-1em;margin-bottom:-1em}select.mat-input-element::-ms-expand{display:none}select.mat-input-element::-moz-focus-inner{border:0}select.mat-input-element:not(:disabled){cursor:pointer}select.mat-input-element::-ms-value{color:inherit;background:none}.mat-focused .cdk-high-contrast-active select.mat-input-element::-ms-value{color:inherit}.mat-form-field-type-mat-native-select .mat-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;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
2010)}.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);-ms-transform:none}.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:transparent}.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}.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:transparent}.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}.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}.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:transparent}.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:[py.transitionMessages]},changeDetection:0}),t})(),xy=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=qt({type:t}),t.\u0275inj=pt({imports:[[gu,Xg,lf],Xg]}
vendor: 5,819 bytes, lines 2010-2051
2010),t})();function Ty(t,e){return new y(n=>{const i=t.length;if(0===i)return void n.complete();const s=new Array(i);let r=0,o=0;for(let a=0;a<i;a++){const l=F(t[a]);let c=!1;n.add(l.subscribe({next:t=>{c||(c=!0,o++),s[a]=t},error:t=>n.error(t),complete:()=>{r++,r!==i&&c||(o===i&&n.next(e?e.reduce((t,e,n)=>(t[e]=s[n],t),{}):s),n.complete())}}))}})}
2011/**
2012 * @license Angular v11.2.5
2013 * (c) 2010-2021 Google LLC. https://angular.io/
2014 * License: MIT
2015 */
2016/**
2017 * @license
2018 * Copyright Google LLC All Rights Reserved.
2019 *
2020 * Use of this source code is governed by an MIT-style license that can be
2021 * found in the LICENSE file at https://angular.io/license
2022 */const Oy=new qn("NgValueAccessor"),Ay={provide:Oy,useExisting:rt(()=>Iy),multi:!0};
2023/**
2024 * @license
2025 * Copyright Google LLC All Rights Reserved.
2026 *
2027 * Use of this source code is governed by an MIT-style license that can be
2028 * found in the LICENSE file at https://angular.io/license
2029 */let Iy=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"checked",t)}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}}return t.\u0275fac=function(e){return new(e||t)($r(la),$r(ra))},t.\u0275dir=Kt({type:t,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(t,e){1&t&&eo("change",function(t){return e.onChange(t.target.checked)})("blur",function(){return e.onTouched()})},features:[Qo([Ay])]}),t})();
2030/**
2031 * @license
2032 * Copyright Google LLC All Rights Reserved.
2033 *
2034 * Use of this source code is governed by an MIT-style license that can be
2035 * found in the LICENSE file at https://angular.io/license
2036 */const Dy={provide:Oy,useExisting:rt(()=>Ry),multi:!0},Py=new qn("CompositionEventMode");let Ry=(()=>{class t{constructor(t,e,n){this._renderer=t,this._elementRef=e,this._compositionMode=n,this.onChange=t=>{},this.onTouched=()=>{},this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const t=Cc()?Cc().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}}return t.\u0275fac=function(e){return new(e||t)($r(la),$r(ra),$r(Py,8))},t.\u0275dir=Kt({type:t,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(t,e){1&t&&eo("input",function(t){return e._handleInput(t.target.value)})("blur",function(){return e.onTouched()})("compositionstart",function(){return e._compositionStart()})("compositionend",function(t){return e._compositionEnd(t.target.value)})},features:[Qo([Dy])]}),t})();
2037/**
2038 * @license
2039 * Copyright Google LLC All Rights Reserved.
2040 *
2041 * Use of this source code is governed by an MIT-style license that can be
2042 * found in the LICENSE file at https://angular.io/license
2043 */function My(t){return null==t||0===t.length}function Ny(t){return null!=t&&"number"==typeof t.length}const Fy=new qn("NgValidators"),Vy=new qn("NgAsyncValidators"),Ly=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class zy{static min(t){return e=>{if(My(e.value)||My(t))return null;const n=parseFloat(e.value);return!isNaN(n)&&n<t?{min:{min:t,actual:e.value}}:null}}static max(t){return e=>{if(My(e.value)||My(t))return null;const n=parseFloat(e.value);return!isNaN(n)&&n>t?{max:{max:t,actual:e.value}}:null}}static required(t){return My(t.value)?{required:!0}:null}static requiredTrue(t){return!0===t.value?null:{required:!0}}static email(t){return My(t.value)||Ly.test(t.value)?null:{email:!0}}static minLength(t){return e=>My(e.value)||!Ny(e.value)?null:e.value.length<t?{minlength:{requiredLength:t,actualLength:e.value.length}}:null}static maxLength(t){return e=>Ny(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}static pattern(t){if(!t)return zy.nullValidator;let e,n;return"string"==typeof t?(n="","^"!==t.charAt(0)&&(n+="^"),n+=t,"$"!==t.charAt(t.length-1)&&(n+="$"),e=new RegExp(n)):(n=t.toString(),e=t),t=>{if(My(t.value))return null;const i=t.value;return e.test(i)?null:{pattern:{requiredPattern:n,actualValue:i}}}}static nullValidator(t){return null}static compose(t){if(!t)return null;const e=t.filter(jy);return 0==e.length?null:function(t){return Hy($y(t,e))}}static composeAsync(t){if(!t)return null;const e=t.filter(jy);return 0==e.length?null:function(t){
2044/**
2045 * @license
2046 * Copyright Google LLC All Rights Reserved.
2047 *
2048 * Use of this source code is governed by an MIT-style license that can be
2049 * found in the LICENSE file at https://angular.io/license
2050 */
2051return function(...t){if(1===t.length){const e=t[0];if(l(e))return Ty(e,null);if(c(e)&&Object.getPrototypeOf(e)===Object.prototype){const t=Object.keys(e);return Ty(t.map(t=>e[t]),t)}}if("function"==typeof t[t.length-1]){const e=t.pop();return Ty(t=1===t.length&&l(t[0])?t[0]:t,null).pipe(x(t=>e(...t)))}
2051return Ty(t,null)}($y(t,e).map(By)).pipe(x(Hy))}}}function jy(t){return null!=t}function By(t){const e=Qr(t)?F(t):t;return to(e),e}function Hy(t){let e={};return t.forEach(t=>{e=null!=t?Object.assign(Object.assign({},e),t):e}),0===Object.keys(e).length?null:e}function $y(t,e){return e.map(e=>e(t))}function Zy(t){return t.map(t=>function(t){return!t.validate}(t)?t:e=>t.validate(e))}function Uy(t){return null!=t?zy.compose(Zy(t)):null}function Gy(t){return null!=t?zy.composeAsync(Zy(t)):null}function qy(t,e){return null===t?[e]:Array.isArray(t)?[...t,e]:[t,e]}function Wy(t){return t._rawValidators}function Ky(t){return t._rawAsyncValidators}let Yy=(()=>{class t{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=Uy(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=Gy(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t){this.control&&this.control.reset(t)}hasError(t,e){return!!this.control&&this.control.hasError(t,e)}getError(t,e){return this.control?this.control.getError(t,e):null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Kt({type:t}),t})(),Xy=(()=>{class t extends Yy{get formDirective(){return null}get path(){return null}}return t.\u0275fac=function(e){return Qy(e||t)},t.\u0275dir=Kt({type:t,features:[Tr]}),t})();const Qy=$n(Xy);
2052/**
2053 * @license
2054 * Copyright Google LLC All Rights Reserved.
2055 *
2056 * Use of this source code is governed by an MIT-style license that can be
2057 * found in the LICENSE file at https://angular.io/license
2058 */class Jy extends Yy{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}
2059/**
2060 * @license
2061 * Copyright Google LLC All Rights Reserved.
2062 *
2063 * Use of this source code is governed by an MIT-style license that can be
2064 * found in the LICENSE file at https://angular.io/license
2065 */class tv{constructor(t){this._cd=t}is(t){var e,n;return!!(null===(n=null===(e=this._cd)||void 0===e?void 0:e.control)||void 0===n?void 0:n[t])}}let ev=(()=>{class t extends tv{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)($r(Jy,2))},t.\u0275dir=Kt({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,e){2&t&&vo("ng-untouched",e.is("untouched"))("ng-touched",e.is("touched"))("ng-pristine",e.is("pristine"))("ng-dirty",e.is("dirty"))("ng-valid",e.is("valid"))("ng-invalid",e.is("invalid"))("ng-pending",e.is("pending"))},features:[Tr]}),t})(),nv=(()=>{class t extends tv{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)($r(Xy,10))},t.\u0275dir=Kt({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:14,hostBindings:function(t,e){2&t&&vo("ng-untouched",e.is("untouched"))("ng-touched",e.is("touched"))("ng-pristine",e.is("pristine"))("ng-dirty",e.is("dirty"))("ng-valid",e.is("valid"))("ng-invalid",e.is("invalid"))("ng-pending",e.is("pending"))},features:[Tr]}),t})();
2066/**
2067 * @license
2068 * Copyright Google LLC All Rights Reserved.
2069 *
2070 * Use of this source code is governed by an MIT-style license that can be
2071 * found in the LICENSE file at https://angular.io/license
2072 */
2073const iv={provide:Oy,useExisting:rt(()=>sv),multi:!0};let sv=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)}registerOnChange(t){this.onChange=e=>{t(""==e?null:parseFloat(e))}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}}return t.\u0275fac=function(e){return new(e||t)($r(la),$r(ra))},t.\u0275dir=Kt({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(t,e){1&t&&eo("input",function(t){return e.onChange(t.target.value)})("blur",function(){return e.onTouched()})},features:[Qo([iv])]}),t})();
2074/**
2075 * @license
2076 * Copyright Google LLC All Rights Reserved.
2077 *
2078 * Use of this source code is governed by an MIT-style license that can be
2079 * found in the LICENSE file at https://angular.io/license
2080 */const rv={provide:Oy,useExisting:rt(()=>av),multi:!0};let ov=(()=>{class t{constructor(){this._accessors=[]}add(t,e){this._accessors.push([t,e])}remove(t){for(let e=this._accessors.length-1;e>=0;--e)if(this._accessors[e][1]===t)return void this._accessors.splice(e,1)}
2080select(t){this._accessors.forEach(e=>{this._isSameGroup(e,t)&&e[1]!==t&&e[1].fireUncheck(t.value)})}_isSameGroup(t,e){return!!t[0].control&&t[0]._parent===e._control._parent&&t[1].name===e.name}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})(),av=(()=>{class t{constructor(t,e,n,i){this._renderer=t,this._elementRef=e,this._registry=n,this._injector=i,this.onChange=()=>{},this.onTouched=()=>{}}ngOnInit(){this._control=this._injector.get(Jy),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(t){this._state=t===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)}registerOnChange(t){this._fn=t,this.onChange=()=>{t(this.value),this._registry.select(this)}}fireUncheck(t){this.writeValue(t)}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}}return t.\u0275fac=function(e){return new(e||t)($r(la),$r(ra),$r(ov),$r(kr))},t.\u0275dir=Kt({type:t,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(t,e){1&t&&eo("change",function(){return e.onChange()})("blur",function(){return e.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[Qo([rv])]}),t})();
2081/**
2082 * @license
2083 * Copyright Google LLC All Rights Reserved.
2084 *
2085 * Use of this source code is governed by an MIT-style license that can be
2086 * found in the LICENSE file at https://angular.io/license
2087 */
2088const lv={provide:Oy,useExisting:rt(()=>cv),multi:!0};let cv=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(t))}registerOnChange(t){this.onChange=e=>{t(""==e?null:parseFloat(e))}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}}return t.\u0275fac=function(e){return new(e||t)($r(la),$r(ra))},t.\u0275dir=Kt({type:t,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(t,e){1&t&&eo("change",function(t){return e.onChange(t.target.value)})("input",function(t){return e.onChange(t.target.value)})("blur",function(){return e.onTouched()})},features:[Qo([lv])]}),t})();
2089/**
2090 * @license
2091 * Copyright Google LLC All Rights Reserved.
2092 *
2093 * Use of this source code is governed by an MIT-style license that can be
2094 * found in the LICENSE file at https://angular.io/license
2095 */
2096/**
2097 * @license
2098 * Copyright Google LLC All Rights Reserved.
2099 *
2100 * Use of this source code is governed by an MIT-style license that can be
2101 * found in the LICENSE file at https://angular.io/license
2102 */
2103const uv={provide:Oy,useExisting:rt(()=>dv),multi:!0};function hv(t,e){return null==t?`${e}`:(e&&"object"==typeof e&&(e="Object"),`${t}: ${e}`.slice(0,50))}let dv=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=t=>{},this.onTouched=()=>{},this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){this.value=t;const e=this._getOptionId(t);null==e&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);const n=hv(e,t);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)}registerOnChange(t){this.onChange=e=>{this.value=this._getOptionValue(e),t(this.value)}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_registerOption(){return(this._idCounter++).toString()}_getOptionId(t){for(const e of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(e),t))return e;return null}_getOptionValue(t){const e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e):t}}return t.\u0275fac=function(e){return new(e||t)($r(la),$r(ra))},t.\u0275dir=Kt({type:t,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(t,e){1&t&&eo("change",function(t){return e.onChange(t.target.value)})("blur",function(){return e.onTouched()})},inputs:{compareWith:"compareWith"},features:[Qo([uv])]}),t})(),pv=(()=>{class t{constructor(t,e,n){this._element=t,this._renderer=e,this._select=n,this._select&&(this.id=this._select._registerOption())}set ngValue(t){null!=this._select&&(this._select._optionMap.set(this.id,t),this._setElementValue(hv(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._setElementValue(t),this._select&&this._select.writeValue(this._select.value)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id
2103),this._select.writeValue(this._select.value))}}return t.\u0275fac=function(e){return new(e||t)($r(ra),$r(la),$r(dv,9))},t.\u0275dir=Kt({type:t,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),t})();
2104/**
2105 * @license
2106 * Copyright Google LLC All Rights Reserved.
2107 *
2108 * Use of this source code is governed by an MIT-style license that can be
2109 * found in the LICENSE file at https://angular.io/license
2110 */
2111const fv={provide:Oy,useExisting:rt(()=>gv),multi:!0};function mv(t,e){return null==t?`${e}`:("string"==typeof e&&(e=`'${e}'`),e&&"object"==typeof e&&(e="Object"),`${t}: ${e}`.slice(0,50))}let gv=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=t=>{},this.onTouched=()=>{},this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){let e;if(this.value=t,Array.isArray(t)){const n=t.map(t=>this._getOptionId(t));e=(t,e)=>{t._setSelected(n.indexOf(e.toString())>-1)}}else e=(t,e)=>{t._setSelected(!1)};this._optionMap.forEach(e)}registerOnChange(t){this.onChange=e=>{const n=[];if(void 0!==e.selectedOptions){const t=e.selectedOptions;for(let e=0;e<t.length;e++){const i=t.item(e),s=this._getOptionValue(i.value);n.push(s)}}else{const t=e.options;for(let e=0;e<t.length;e++){const i=t.item(e);if(i.selected){const t=this._getOptionValue(i.value);n.push(t)}}}this.value=n,t(n)}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_registerOption(t){const e=(this._idCounter++).toString();return this._optionMap.set(e,t),e}_getOptionId(t){for(const e of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(e)._value,t))return e;return null}_getOptionValue(t){const e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e)._value:t}}return t.\u0275fac=function(e){return new(e||t)($r(la),$r(ra))},t.\u0275dir=Kt({type:t,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(t,e){1&t&&eo("change",function(t){return e.onChange(t.target)})("blur",function(){return e.onTouched()})},inputs:{compareWith:"compareWith"},features:[Qo([fv])]}),t})(),_v=(()=>{class t{constructor(t,e,n){this._element=t,this._renderer=e,this._select=n,this._select&&(this.id=this._select._registerOption(this))}set ngValue(t){null!=this._select&&(this._value=t,this._setElementValue(mv(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._select?(this._value=t,this._setElementValue(mv(this.id,t)),this._select.writeValue(this._select.value)):this._setElementValue(t)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}_setSelected(t){this._renderer.setProperty(this._element.nativeElement,"selected",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return t.\u0275fac=function(e){return new(e||t)($r(ra),$r(la),$r(gv,9))},t.\u0275dir=Kt({type:t,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),t})();function yv(t,e){wv(t,e,!0),e.valueAccessor.writeValue(t.value),function(t,e){e.valueAccessor.registerOnChange(n=>{t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&Sv(t,e)})}(t,e),function(t,e){const n=(t,n)=>{e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)};t.registerOnChange(n),e._registerOnDestroy(()=>{t._unregisterOnChange(n)})}(t,e),function(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&Sv(t,e),"submit"!==t.updateOn&&t.markAsTouched()})}(t,e),function(t,e){if(e.valueAccessor.setDisabledState){const n=t=>{e.valueAccessor.setDisabledState(t)};t.registerOnDisabledChange(n),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(n)})}}(t,e)}function vv(t,e,n=!0){const i=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(i),e.valueAccessor.registerOnTouched(i)),Cv(t,e,!0),t&&(e._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function bv(t,e){t.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(e)}
2111)}function wv(t,e,n){const i=Wy(t);null!==e.validator?t.setValidators(qy(i,e.validator)):"function"==typeof i&&t.setValidators([i]);const s=Ky(t);if(null!==e.asyncValidator?t.setAsyncValidators(qy(s,e.asyncValidator)):"function"==typeof s&&t.setAsyncValidators([s]),n){const n=()=>t.updateValueAndValidity();bv(e._rawValidators,n),bv(e._rawAsyncValidators,n)}}function Cv(t,e,n){let i=!1;if(null!==t){if(null!==e.validator){const n=Wy(t);if(Array.isArray(n)&&n.length>0){const s=n.filter(t=>t!==e.validator);s.length!==n.length&&(i=!0,t.setValidators(s))}}if(null!==e.asyncValidator){const n=Ky(t);if(Array.isArray(n)&&n.length>0){const s=n.filter(t=>t!==e.asyncValidator);s.length!==n.length&&(i=!0,t.setAsyncValidators(s))}}}if(n){const t=()=>{};bv(e._rawValidators,t),bv(e._rawAsyncValidators,t)}return i}function Sv(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function Ev(t,e){wv(t,e,!1)}const kv=[Iy,cv,sv,dv,gv,av];function xv(t,e){t._syncPendingControls(),e.forEach(t=>{const e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})}function Tv(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}
2112/**
2113 * @license
2114 * Copyright Google LLC All Rights Reserved.
2115 *
2116 * Use of this source code is governed by an MIT-style license that can be
2117 * found in the LICENSE file at https://angular.io/license
2118 */
2119const Ov="VALID",Av="INVALID",Iv="PENDING",Dv="DISABLED";function Pv(t){return(Fv(t)?t.validators:t)||null}function Rv(t){return Array.isArray(t)?Uy(t):t||null}function Mv(t,e){return(Fv(e)?e.asyncValidators:t)||null}function Nv(t){return Array.isArray(t)?Gy(t):t||null}function Fv(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}class Vv{constructor(t,e){this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=t,this._rawAsyncValidators=e,this._composedValidatorFn=Rv(this._rawValidators),this._composedAsyncValidatorFn=Nv(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===Ov}get invalid(){return this.status===Av}get pending(){return this.status==Iv}get disabled(){return this.status===Dv}get enabled(){return this.status!==Dv}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._rawValidators=t,this._composedValidatorFn=Rv(t)}setAsyncValidators(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=Nv(t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=Iv,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=Dv,this.errors=null,this._forEachChild(e=>{e.disable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!0))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);
2119this.status=Ov,this._forEachChild(e=>{e.enable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),this.status!==Ov&&this.status!==Iv||this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Dv:Ov}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=Iv,this._hasOwnPendingAsyncValidator=!0;const e=By(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(e=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(e,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}get(t){return function(t,e,n){if(null==e)return null;if(Array.isArray(e)||(e=e.split(".")),Array.isArray(e)&&0===e.length)return null;let i=t;return e.forEach(t=>{i=i instanceof zv?i.controls.hasOwnProperty(t)?i.controls[t]:null:i instanceof jv&&i.at(t)||null}),i}(this,t)}getError(t,e){const n=e?this.get(e):this;return n&&n.errors?n.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new ul,this.statusChanges=new ul}_calculateStatus(){return this._allControlsDisabled()?Dv:this.errors?Av:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Iv)?Iv:this._anyControlsHaveStatus(Av)?Av:Ov}_anyControlsHaveStatus(t){return this._anyControls(e=>e.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_isBoxedValue(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){Fv(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class Lv extends Vv{constructor(t=null,e,n){super(Pv(e),Mv(n,e)),this._onChange=[],this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!n})}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(t=>t(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=null,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){Tv(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){Tv(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pe
vendor: 4,307 bytes, line 2119
2119ndingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(t){this._isBoxedValue(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}}class zv extends Vv{constructor(t,e,n){super(Pv(e),Mv(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!n})}registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e){this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()}removeControl(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity(),this._onCollectionChange()}setControl(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){this._checkAllValuesPresent(t),Object.keys(t).forEach(n=>{this._throwIfControlMissing(n),this.controls[n].setValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(Object.keys(t).forEach(n=>{this.controls[n]&&this.controls[n].patchValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t={},e={}){this._forEachChild((n,i)=>{n.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,n)=>(t[n]=e instanceof Lv?e.value:e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(t,e)=>!!e._syncPendingControls()||t);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!Object.keys(this.controls).length)throw new Error("\n        There are no form controls registered with this group yet. If you're using ngModel,\n        you may want to check next tick (e.g. use setTimeout).\n      ");if(!this.controls[t])throw new Error(`Cannot find form control with name: ${t}.`)}_forEachChild(t){Object.keys(this.controls).forEach(e=>{const n=this.controls[e];n&&t(n,e)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const e of Object.keys(this.controls)){const n=this.controls[e];if(this.contains(e)&&t(n))return!0}return!1}_reduceValue(){return this._reduceChildren({},(t,e,n)=>((e.enabled||this.disabled)&&(t[n]=e.value),t))}_reduceChildren(t,e){let n=t;return this._forEachChild((t,i)=>{n=e(n,t,i)}),n}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_checkAllValuesPresent(t){this._forEachChild((e,n)=>{if(void 0===t[n])throw new Error(`Must supply a value for form control with name: '${n}'.`)})}}class jv extends Vv{constructor(t,e,n){super(Pv(e),Mv(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!n})}at(t){return this.controls[t]}push(t){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity(),this._onCollectionChange()}insert(t,e){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity()}removeAt(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),this.updateValueAndValidity()}setControl(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity(),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,e={}){this._checkAllValuesPresent(t),t.forEach((t,n)=>{this._throwIfControlMissing(n),this.at(n).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}
2119),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(t.forEach((t,n)=>{this.at(n)&&this.at(n).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t=[],e={}){this._forEachChild((n,i)=>{n.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(t=>t instanceof Lv?t.value:t.getRawValue())}clear(){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity())}_syncPendingControls(){let t=this.controls.reduce((t,e)=>!!e._syncPendingControls()||t,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!this.controls.length)throw new Error("\n        There are no form controls registered with this array yet. If you're using ngModel,\n        you may want to check next tick (e.g. use setTimeout).\n      ");if(!this.at(t))throw new Error(`Cannot find form control at index ${t}`)}_forEachChild(t){this.controls.forEach((e,n)=>{t(e,n)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(e=>e.enabled&&t(e))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_checkAllValuesPresent(t){this._forEachChild((e,n)=>{if(void 0===t[n])throw new Error(`Must supply a value for form control at index: ${n}.`)})}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}}
2120/**
2121 * @license
2122 * Copyright Google LLC All Rights Reserved.
2123 *
2124 * Use of this source code is governed by an MIT-style license that can be
2125 * found in the LICENSE file at https://angular.io/license
2126 */const Bv={provide:Xy,useExisting:rt(()=>$v)},Hv=(()=>Promise.resolve(null))();let $v=(()=>{class t extends Xy{constructor(t,e){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new ul,this.form=new zv({},Uy(t),Gy(e))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){Hv.then(()=>{const e=this._findContainer(t.path);t.control=e.registerControl(t.name,t.control),yv(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(t)})}getControl(t){return this.form.get(t.path)}
2126removeControl(t){Hv.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name),Tv(this._directives,t)})}addFormGroup(t){Hv.then(()=>{const e=this._findContainer(t.path),n=new zv({});Ev(n,t),e.registerControl(t.name,n),n.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){Hv.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,e){Hv.then(()=>{this.form.get(t.path).setValue(e)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,xv(this.form,this._directives),this.ngSubmit.emit(t),!1}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}}return t.\u0275fac=function(e){return new(e||t)($r(Fy,10),$r(Vy,10))},t.\u0275dir=Kt({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,e){1&t&&eo("submit",function(t){return e.onSubmit(t)})("reset",function(){return e.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Qo([Bv]),Tr]}),t})(),Zv=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Kt({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),t})();
2127/**
2128 * @license
2129 * Copyright Google LLC All Rights Reserved.
2130 *
2131 * Use of this source code is governed by an MIT-style license that can be
2132 * found in the LICENSE file at https://angular.io/license
2133 */
2134const Uv=new qn("NgModelWithFormControlWarning"),Gv={provide:Xy,useExisting:rt(()=>qv)};let qv=(()=>{class t extends Xy{constructor(t,e){super(),this.validators=t,this.asyncValidators=e,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new ul,this._setValidators(t),this._setAsyncValidators(e)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Cv(this.form,this,!1),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const e=this.form.get(t.path);return yv(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e}getControl(t){return this.form.get(t.path)}
2134removeControl(t){vv(t.control||null,t,!1),Tv(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,e){this.form.get(t.path).setValue(e)}onSubmit(t){return this.submitted=!0,xv(this.form,this.directives),this.ngSubmit.emit(t),!1}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_updateDomValue(){this.directives.forEach(t=>{const e=this.form.get(t.path);t.control!==e&&(vv(t.control||null,t),e&&yv(e,t),t.control=e)}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){const e=this.form.get(t.path);Ev(e,t),e.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){const e=this.form.get(t.path);e&&function(t,e){return Cv(t,e,!1)}(e,t)&&e.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){wv(this.form,this,!1),this._oldForm&&Cv(this._oldForm,this,!1)}_checkFormPresent(){}}return t.\u0275fac=function(e){return new(e||t)($r(Fy,10),$r(Vy,10))},t.\u0275dir=Kt({type:t,selectors:[["","formGroup",""]],hostBindings:function(t,e){1&t&&eo("submit",function(t){return e.onSubmit(t)})("reset",function(){return e.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Qo([Gv]),Tr,ce]}),t})();
2135/**
2136 * @license
2137 * Copyright Google LLC All Rights Reserved.
2138 *
2139 * Use of this source code is governed by an MIT-style license that can be
2140 * found in the LICENSE file at https://angular.io/license
2141 */
2142/**
2143 * @license
2144 * Copyright Google LLC All Rights Reserved.
2145 *
2146 * Use of this source code is governed by an MIT-style license that can be
2147 * found in the LICENSE file at https://angular.io/license
2148 */
2149const Wv={provide:Jy,useExisting:rt(()=>Kv)};let Kv=(()=>{class t extends Jy{constructor(t,e,n,i,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.update=new ul,this._ngModelWarningSent=!1,this._parent=t,this._setValidators(e),this._setAsyncValidators(n),this.valueAccessor=function(t,e){if(!e)return null;let n,i,s;return Array.isArray(e),e.forEach(t=>{var e;t.constructor===Ry?n=t:(e=t,kv.some(t=>e.constructor===t)?i=t:s=t)}),s||i||n||null}(0,i)}set isDisabled(t){}ngOnChanges(t){this._added||this._setUpControl(),function(t,e){if(!t.hasOwnProperty("model"))return!1;const n=t.model;return!!n.isFirstChange()||!Object.is(e,n.currentValue)}(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return t=null==this.name?this.name:this.name.toString(),[...this._parent.path,t];
2150/**
2151 * @license
2152 * Copyright Google LLC All Rights Reserved.
2153 *
2154 * Use of this source code is governed by an MIT-style license that can be
2155 * found in the LICENSE file at https://angular.io/license
2156 */
2157var t}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return t.\u0275fac=function(e){return new(e||t)($r(Xy,13),$r(Fy,10),$r(Vy,10),$r(Oy,10),$r(Uv,8))},t.\u0275dir=Kt({type:t,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[Qo([Wv]),Tr,ce]}),t._ngModelWarningSentOnce=!1,t})(),Yv=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=qt({type:t}),t.\u0275inj=pt({}),t})(),Xv=(()=>{class t{group(t,e=null){const n=this._reduceControls(t);let i,s=null,r=null;return null!=e&&(
2158/**
2159 * @license
2160 * Copyright Google LLC All Rights Reserved.
2161 *
2162 * Use of this source code is governed by an MIT-style license that can be
2163 * found in the LICENSE file at https://angular.io/license
2164 */
2165function(t){return void 0!==t.asyncValidators||void 0!==t.validators||void 0!==t.updateOn}(e)?(s=null!=e.validators?e.validators:null,r=null!=e.asyncValidators?e.asyncValidators:null,i=null!=e.updateOn?e.updateOn:void 0):(s=null!=e.validator?e.validator:null,r=null!=e.asyncValidator?e.asyncValidator:null)),new zv(n,{asyncValidators:r,updateOn:i,validators:s})}control(t,e,n){return new Lv(t,e,n)}array(t,e,n){const i=t.map(t=>this._createControl(t));return new jv(i,e,n)}_reduceControls(t){const e={};return Object.keys(t).forEach(n=>{e[n]=this._createControl(t[n])}),e}_createControl(t){return t instanceof Lv||t instanceof zv||t instanceof jv?t:Array.isArray(t)?this.control(t[0],t.length>1?t[1]:null,t.length>2?t[2]:null):this.control(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})(),Qv=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:Uv,useValue:e.warnOnNgModelWithFormControl}]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=qt({type:t}),t.\u0275inj=pt({providers:[Xv,ov],imports:[Yv]}),t})();
2166/**
2167 * @license
2168 * Copyright Google LLC All Rights Reserved.
2169 *
2170 * Use of this source code is governed by an MIT-style license that can be
2171 * found in the LICENSE file at https://angular.io/license
2172 */
2173/**
2174 * @license
2175 * Copyright Google LLC All Rights Reserved.
2176 *
2177 * Use of this source code is governed by an MIT-style license that can be
2178 * found in the LICENSE file at https://angular.io/license
2179 */
2180/**
2181 * @license
2182 * Copyright Google LLC All Rights Reserved.
2183 *
2184 * Use of this source code is governed by an MIT-style license that can be
2185 * found in the LICENSE file at https://angular.io/license
2186 */
2187/**
2188 * @license
2189 * Copyright Google LLC All Rights Reserved.
2190 *
2191 * Use of this source code is governed by an MIT-style license that can be
2192 * found in the LICENSE file at https://angular.io/license
2193 */
2194/**
2195 * @license
2196 * Copyright Google LLC All Rights Reserved.
2197 *
2198 * Use of this source code is governed by an MIT-style license that can be
2199 * found in the LICENSE file at https://angular.io/license
2200 */
2201const Jv=["trigger"],tb=["panel"];function eb(t,e){if(1&t&&(Gr(0,"span",8),Io(1),qr()),2&t){const t=oo();ds(1),Do(t.placeholder)}}function nb(t,e){if(1&t&&(Gr(0,"span",12),Io(1),qr()),2&t){const t=oo(2);ds(1),Do(t.triggerValue)}}function ib(t,e){1&t&&co(0,0,["*ngSwitchCase","true"])}
2201function sb(t,e){1&t&&(Gr(0,"span",9),Hr(1,nb,2,1,"span",10),Hr(2,ib,1,0,"ng-content",11),qr()),2&t&&(Zr("ngSwitch",!!oo().customTrigger),ds(2),Zr("ngSwitchCase",!0))}function rb(t,e){if(1&t){const t=Xr();Gr(0,"div",13),Gr(1,"div",14,15),eo("@transformPanel.done",function(e){return Re(t),oo()._panelDoneAnimatingStream.next(e.toState)})("keydown",function(e){return Re(t),oo()._handleKeydown(e)}),co(3,1),qr(),qr()}if(2&t){const t=oo();Zr("@transformPanelWrap",void 0),ds(1),n="mat-select-panel ",i=t._getPanelTheme(),s="",function(t,e,n,i){const s=Pe(),r=Ze(2);s.firstUpdatePass&&So(s,null,r,i);const o=De();if(n!==hs&&Lr(o,r,n)){const a=s.data[rn()];if(Ao(a,i)&&!Co(s,r)){let t=a.classesWithoutHost;null!==t&&(n=it(t,n||"")),Ur(s,a,o,n,i)}else!function(t,e,n,i,s,r,o,a){s===hs&&(s=uo);let l=0,c=0,u=0<s.length?s[0]:null,h=0<r.length?r[0]:null;for(;null!==u||null!==h;){const o=l<s.length?s[l+1]:void 0,d=c<r.length?r[c+1]:void 0;let p,f=null;u===h?(l+=2,c+=2,o!==d&&(f=h,p=d)):null===h||null!==u&&u<h?(l+=2,f=u):(c+=2,f=h,p=d),null!==f&&xo(t,e,n,i,f,p,!0,a),u=l<s.length?s[l]:null,h=c<r.length?r[c]:null}}(s,a,o,o[11],o[r+1],o[r+1]=function(t,e,n){if(null==n||""===n)return uo;const i=[],s=_i(n);if(Array.isArray(s))for(let r=0;r<s.length;r++)t(i,s[r],!0);else if("object"==typeof s)for(const r in s)s.hasOwnProperty(r)&&t(i,r,s[r]);else"string"==typeof s&&e(i,s);return i}(t,e,n),0,r)}}(ti,bo,Br(De(),n,i,s),!0),yo("transform-origin",t._transformOrigin)("font-size",t._triggerFontSize,"px"),Zr("ngClass",t.panelClass)("@transformPanel",t.multiple?"showing-multiple":"showing"),jr("id",t.id+"-panel")("aria-multiselectable",t.multiple)("aria-label",t.ariaLabel||null)("aria-labelledby",t._getPanelAriaLabelledby())}
2202/**
2203 * @license
2204 * Copyright Google LLC All Rights Reserved.
2205 *
2206 * Use of this source code is governed by an MIT-style license that can be
2207 * found in the LICENSE file at https://angular.io/license
2208 */
2209var n,i,s}const ob=[[["mat-select-trigger"]],"*"],ab=["mat-select-trigger","*"],lb={transformPanelWrap:Df("transformPanelWrap",[Ff("* => void",Lf("@transformPanel",[Vf()],{optional:!0}))]),transformPanel:Df("transformPanel",[Nf("void",Mf({transform:"scaleY(0.8)",minWidth:"100%",opacity:0}
2209)),Nf("showing",Mf({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),Nf("showing-multiple",Mf({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),Ff("void => *",Pf("120ms cubic-bezier(0, 0, 0.2, 1)")),Ff("* => void",Pf("100ms 25ms linear",Mf({opacity:0})))])};
2210/**
2211 * @license
2212 * Copyright Google LLC All Rights Reserved.
2213 *
2214 * Use of this source code is governed by an MIT-style license that can be
2215 * found in the LICENSE file at https://angular.io/license
2216 */
2217let cb=0;const ub=256,hb=new qn("mat-select-scroll-strategy"),db=new qn("MAT_SELECT_CONFIG"),pb={provide:hb,deps:[qp],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};class fb{constructor(t,e){this.source=t,this.value=e}}class mb{constructor(t,e,n,i,s){this._elementRef=t,this._defaultErrorStateMatcher=e,this._parentForm=n,this._parentFormGroup=i,this.ngControl=s}}const gb=t_(e_(Qg(n_(mb)))),_b=new qn("MatSelectTrigger");let yb=(()=>{class t extends gb{constructor(t,e,n,i,s,r,o,a,l,c,u,h,d,p){var f,m,g;super(s,i,o,a,c),this._viewportRuler=t,this._changeDetectorRef=e,this._ngZone=n,this._dir=r,this._parentFormField=l,this.ngControl=c,this._liveAnnouncer=d,this._defaultOptions=p,this._panelOpen=!1,this._compareWith=(t,e)=>t===e,this._uid="mat-select-"+cb++,this._triggerAriaLabelledBy=null,this._destroy=new S,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+cb++,this._panelDoneAnimatingStream=new S,this._overlayPanelClass=(null===(f=this._defaultOptions)||void 0===f?void 0:f.overlayPanelClass)||"",this._focused=!1,this.controlType="mat-select",this._required=!1,this._multiple=!1,this._disableOptionCentering=null!==(g=null===(m=this._defaultOptions)||void 0===m?void 0:m.disableOptionCentering)&&void 0!==g&&g,this.ariaLabel="",this.optionSelectionChanges=O_(()=>{const t=this.options;return t?t.changes.pipe(Bd(t),yd(()=>U(...t.map(t=>t.onSelectionChange)))):this._ngZone.onStable.pipe(pp(1),yd(()=>this.optionSelectionChanges))}),this.openedChange=new ul,this._openedStream=this.openedChange.pipe(Ku(t=>t),x(()=>{}
2217)),this._closedStream=this.openedChange.pipe(Ku(t=>!t),x(()=>{})),this.selectionChange=new ul,this.valueChange=new ul,this.ngControl&&(this.ngControl.valueAccessor=this),null!=(null==p?void 0:p.typeaheadDebounceInterval)&&(this._typeaheadDebounceInterval=p.typeaheadDebounceInterval),this._scrollStrategyFactory=h,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(u)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(t){this._placeholder=t,this.stateChanges.next()}get required(){return this._required}set required(t){this._required=kd(t),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(t){this._multiple=kd(t)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(t){this._disableOptionCentering=kd(t)}get compareWith(){return this._compareWith}set compareWith(t){this._compareWith=t,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(t){(t!==this._value||this._multiple&&Array.isArray(t))&&(this.options&&this._setSelectionByValue(t),this._value=t)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(t){this._typeaheadDebounceInterval=xd(t)}get id(){return this._id}set id(t){this._id=t||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new Jd(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(t=>t.lift(new Pd(undefined,undefined)),Vd(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(Vd(this._destroy)).subscribe(t=>{t.added.forEach(t=>t.select()),t.removed.forEach(t=>t.deselect())}),this.options.changes.pipe(Bd(null),Vd(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const t=this._getTriggerAriaLabelledby();if(t!==this._triggerAriaLabelledBy){const e=this._elementRef.nativeElement;this._triggerAriaLabelledBy=t,t?e.setAttribute("aria-labelledby",t):e.removeAttribute("aria-labelledby")}this.ngControl&&this.updateErrorState()}ngOnChanges(t){t.disabled&&this.stateChanges.next(),t.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(t){this.value=t}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const t=this._selectionModel.selected.map(t=>t.viewValue);return this._isRtl()&&t.reverse(),t.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(t){this.disabled||(this.panelOpen?this._handleOpenKeydown(t):this._handleClosedKeydown(t))}_handleClosedKeydown(t){const e=t.keyCode,n=40===e||38===e||37===e||39===e,i=13===e||32===e,s=this._keyManager;if(!s.isTyping()&&i&&!yp(t)||(this.multiple||t.altKey)&&n)t.preventDefault(),this.open();else if(!this.multiple){const e=this.selected;s.onKeydown(t);const n=this.selected;n&&e!==n&&this._liveAnnouncer.announce(n.viewValue,1e4)}}_handleOpenKeydown(t){const e=this._keyManager,n=t.keyCode,i=40===n||38===n,s=e.isTyping();if(i&&t.altKey)t.preventDefault(),this.close();else if(s||13!==n&&32!==n||!e.activeItem||yp(t))if(!s&&this._multiple&&65===n&&t.ctrlKey){t.preventDefault();const e=this.options.some(t=>!t.disabled&&!t.selected);this.options.forEach(t=>{t.disabled||(e?t.select():t.deselect())})}else{const n=e.activeItemIndex;e.onKeydown(t),this._multiple&&i&&t.shiftKey&&e.activeItem&&e.activeItemIndex!==n&&e.activeItem._selectViaInteraction()}else t.preventDefault(),e.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this.disabled||this.panelOpen||(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this.overlayDir.positionChange.pipe(pp(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}
2217_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this._setSelectionByValue(this.ngControl?this.ngControl.value:this._value),this.stateChanges.next()})}_setSelectionByValue(t){if(this._selectionModel.selected.forEach(t=>t.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&t)Array.isArray(t),t.forEach(t=>this._selectValue(t)),this._sortValues();else{const e=this._selectValue(t);e?this._keyManager.updateActiveItem(e):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectValue(t){const e=this.options.find(e=>{if(this._selectionModel.isSelected(e))return!1;try{return null!=e.value&&this._compareWith(e.value,t)}catch(n){return!1}});return e&&this._selectionModel.select(e),e}_initKeyManager(){this._keyManager=new cf(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(Vd(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe(Vd(this._destroy)).subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):this._panelOpen||this.multiple||!this._keyManager.activeItem||this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const t=U(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Vd(t)).subscribe(t=>{this._onSelect(t.source,t.isUserInput),t.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),U(...this.options.map(t=>t._stateChanges)).pipe(Vd(t)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}_onSelect(t,e){const n=this._selectionModel.isSelected(t);null!=t.value||this._multiple?(n!==t.selected&&(t.selected?this._selectionModel.select(t):this._selectionModel.deselect(t)),e&&this._keyManager.setActiveItem(t),this.multiple&&(this._sortValues(),e&&this.focus())):(t.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(t.value)),n!==this._selectionModel.isSelected(t)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const t=this.options.toArray();this._selectionModel.sort((e,n)=>this.sortComparator?this.sortComparator(e,n,t):t.indexOf(e)-t.indexOf(n)),this.stateChanges.next()}}_propagateChanges(t){let e=null;e=this.multiple?this.selected.map(t=>t.value):this.selected?this.selected.value:t,this._value=e,this.valueChange.emit(e),this._onChange(e),this.selectionChange.emit(this._getChangeEvent(e)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){var t;return!this._panelOpen&&!this.disabled&&(null===(t=this.options)||void 0===t?void 0:t.length)>0}focus(t){this._elementRef.nativeElement.focus(t)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const t=this._getLabelId();return this.ariaLabelledby?t+" "+this.ariaLabelledby:t}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getLabelId(){var t;return(null===(t=this._parentFormField)||void 0===t?void 0:t.getLabelId())||""}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let t=this._getLabelId()+" "+this._valueId;return this.ariaLabelledby&&(t+=" "+this.ariaLabelledby),t}_panelDoneAnimating(t){this.openedChange.emit(t)}setDescribedByIds(t){this._ariaDescribedby=t.join(" ")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return t.\u0275fac=function(e){return new(e||t)($r(ep),$r(Da),$r(Yl),$r(i_),$r(ra),$r(Xd,8),$r($v,8),$r(qv,8),$r(Ey,8),$r(Jy,10),("tabindex",function(t,e){const n=t.attrs;if(n){const t=n.length;let i=0;for(;i<t;){const s=n[i];if(_n(s))break;if(0===s)i+=2;else if("number"==typeof s)for(i++;i<t&&"string"==typeof n[i];)i++;else{if(s===e)return n[i+1];i+=2}}}return null}(Me(),"tabindex")),$r(hb),$r(_f),$r(db,8))},t.\u0275dir=Kt({type:t,viewQuery:function(t,e){if(1&t&&(Sl(Jv,1),Sl(tb,1),Sl(Xp,1)),2&t){let t;Cl(t=kl())&&(e.trigger=t.first),Cl(t=kl())&&(e.panel=t.first),Cl(t=kl())&&(e.overlayDir=t.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],id:"id",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",typeaheadDebounceInterval:"typeaheadDebounceInterval",panelClass:"panelClass",ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",sortComparator:"sortComparator"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[Tr,ce]}),t})(),vb=(()=>{class t extends yb{constructor(){super(...arguments),this._scrollTop=0,this._triggerFontSize=0,this._transformOrigin="top",this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}]}_calculateOverlayScroll(t,e,n){const i=this._getItemHeight();return Math.min(Math.max(0,i*t-e+i/2),n)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe(Vd(this._destroy)).subscribe(()=>{this.panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}open(){super._canOpen()&&(super.open(),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe(pp(1)).subscribe(()=>{this._triggerFontSize&&this.overlayDir.overlayRef&&this.overlayDir.overlayRef.overlayElement&&(this.overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}_scrollOptionIntoView(t){const e=x_(t,this.options,this.optionGroups),n=this._getItemHeight();var i,s,r;this.panel.nativeElement.scrollTop=(s=n,(i=(t+e)*n)<(r=this.panel.nativeElement.scrollTop)?i:i+s>r+256?Math.max(0,i-256+s):r)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(t){this.panelOpen?this._scrollTop=0:(this.overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(t)}_getChangeEvent(t){return new fb(this,t)}_calculateOverlayOffsetX(){const t=this.overlayDir.overlayRef.overlayElement.getBoundingClientRect(),e=this._viewportRuler.getViewportSize(),n=this._isRtl(),i=this.multiple?56:32;let s;if(this.multiple)s=40;else if(this.disableOptionCentering)s=16;else{let t=this._selectionModel.selected[0]||this.options.first;s=t&&t.group?32:16}n||(s*=-1);const r=0-(t.left+s-(n?i:0)),o=t.right+s-e.width+(n?0:i);r>0?s+=r+8:o>0&&(s-=o+8),this.overlayDir.offsetX=Math.round(s),this.overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(t,e,n){const i=this._getItemHeight(),s=(i-this._triggerRect.height)/2,r=Math.floor(ub/i);let o;return this.disableOptionCentering?0:(o=0===this._scrollTop?t*i:this._scrollTop===n?(t-(this._getItemCount()-r))*i+(i-(this._getItemCount()*i-ub)%i):e-i/2,Math.round(-1*o-s))}_checkOverlayWithinViewport(t){const e=this._getItemHeight(),n=this._viewportRuler.getViewportSize(),i=this._triggerRect.top-8,s=n.height-this._triggerRect.bottom-8,r=Math.abs(this._offsetY),o=Math.min(this._getItemCount()*e,ub)-r-this._triggerRect.height;o>s?this._adjustPanelUp(o,s):r>i?this._adjustPanelDown(r,i,t):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(t,e){const n=Math.round(t-e);this._scrollTop-=n,this._offsetY-=n,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(t,e,n){const i=Math.round(t-e);if(this._scrollTop+=i,this._offsetY+=i,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=n)return this._scrollTop=n,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const t=this._getItemHeight(),e=this._getItemCount(),n=Math.min(e*t,ub),i=e*t-n;let s;s=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),s+=x_(s,this.options,this.optionGroups);const r=n/2;this._scrollTop=this._calculateOverlayScroll(s,r,i),this._offsetY=this._calculateOverlayOffsetY(s,r,i),this._checkOverlayWithinViewport(i)}_getOriginBasedOnOption(){const t=this._getItemHeight(),e=(t-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-e+t/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}}return t.\u0275fac=function(e){return bb(e||t)},t.\u0275cmp=$t({type:t,selectors:[["mat-select"]],contentQueries:function(t,e,n){if(1&t&&(El(n,_b,1),El(n,k_,1),El(n,w_,1)),2&t){let t;Cl(t=kl())&&(e.customTrigger=t.first),Cl(t=kl())&&(e.options=t),Cl(t=kl())&&(e.optionGroups=t)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(t,e){1&t&&eo("keydown",function(t){return e._handleKeydown(t)})("focus",function(){return e._onFocus()})("blur",function(){return e._onBlur()}),2&t&&(jr("id",e.id)("tabindex",e.tabIndex)("aria-controls",e.panelOpen?e.id+"-panel":null)("aria-expanded",e.panelOpen)("aria-label",e.ariaLabel||null)("aria-required",e.required.toString())("aria-disabled",e.disabled.toString())("aria-invalid",e.errorState)("aria-describedby",e._ariaDescribedby||null)("aria-activedescendant",e._getAriaActiveDescendant()),vo("mat-select-disabled",e.disabled)("mat-select-invalid",e.errorState)("mat-select-required",e.required)("mat-select-empty",e.empty)("mat-select-multiple",e.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[Qo([{provide:fy,useExisting:t},{provide:g_,useExisting:t}]),Tr],ngContentSelectors:ab,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(t,e){if(1&t&&(lo(ob),Gr(0,"div",0,1),eo("click",function(){return e.toggle(
2217)}),Gr(3,"div",2),Hr(4,eb,2,1,"span",3),Hr(5,sb,3,2,"span",4),qr(),Gr(6,"div",5),Wr(7,"div",6),qr(),qr(),Hr(8,rb,4,14,"ng-template",7),eo("backdropClick",function(){return e.close()})("attach",function(){return e._onAttached()})("detach",function(){return e.close()})),2&t){const t=we(Ae.lFrame.contextLView,21);jr("aria-owns",e.panelOpen?e.id+"-panel":null),ds(3),Zr("ngSwitch",e.empty),jr("id",e._valueId),ds(1),Zr("ngSwitchCase",!0),ds(1),Zr("ngSwitchCase",!1),ds(3),Zr("cdkConnectedOverlayPanelClass",e._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",e._scrollStrategy)("cdkConnectedOverlayOrigin",t)("cdkConnectedOverlayOpen",e.panelOpen)("cdkConnectedOverlayPositions",e._positions)("cdkConnectedOverlayMinWidth",null==e._triggerRect?null:e._triggerRect.width)("cdkConnectedOverlayOffsetY",e._offsetY)}},directives:[Yp,ou,au,Xp,lu,Qc],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;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{display:table-cell;vertical-align:middle}.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 transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.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:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px}\n'],encapsulation:2,data:{animation:[lb.transformPanelWrap,lb.transformPanel]},changeDetection:0}),t})();const bb=$n(vb);let wb=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=qt({type:t}),t.\u0275inj=pt({providers:[pb],imports:[[gu,Jp,T_,Xg],np,xy,T_,Xg]}),t})();
2218/**
2219 * @license
2220 * Copyright Google LLC All Rights Reserved.
2221 *
2222 * Use of this source code is governed by an MIT-style license that can be
2223 * found in the LICENSE file at https://angular.io/license
2224 */
2225/**
2226 * @license
2227 * Copyright Google LLC All Rights Reserved.
2228 *
2229 * Use of this source code is governed by an MIT-style license that can be
2230 * found in the LICENSE file at https://angular.io/license
2231 */
2232const Cb=["mat-button",""],Sb=["*"],Eb=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"];class kb{constructor(t){this._elementRef=t}}const xb=Jg(Qg(t_(kb)));let Tb=(()=>{class t extends xb{constructor(t,e,n){super(t),this._focusMonitor=e,this._animationMode=n,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const i of Eb)this._hasHostAttributes(i)&&this._getHostElement().classList.add(i);t.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(t,e){t?this._focusMonitor.focusVia(this._getHostElement(),t,e):this._getHostElement().focus(e)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...t){return t.some(t=>this._getHostElement().hasAttribute(t))}}return t.\u0275fac=function(e){return new(e||t)($r(ra),$r(Cf),$r(Hg,8))},t.\u0275cmp=$t({type:t,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(t,e){if(1&t&&Sl(d_,1),2&t){let t;Cl(t=kl())&&(e.ripple=t.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(t,e){2&t&&(jr("disabled",e.disabled||null),vo("_mat-animation-noopable","NoopAnimations"===e._animationMode)("mat-button-disabled",e.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[Tr],attrs:Cb,ngContentSelectors:Sb,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(t,e){1&t&&(lo(),Gr(0,"span",0),co(1),qr(),Wr(2,"span",1),Wr(3,"span",2)),2&t&&(ds(2),vo("mat-button-ripple-round",e.isRoundButton||e.isIconButton),Zr("matRippleDisabled",e._isRippleDisabled())("matRippleCentered",e.isIconButton)("matRippleTrigger",e._getHostElement()))},directives:[d_],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}
2232.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;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;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;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;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-animation-noopable.mat-raised-button{transition:none;animation:none}.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;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;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-animation-noopable.mat-fab{transition:none;animation:none}.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;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;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-animation-noopable.mat-mini-fab{transition:none;animation:none}.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}.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}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],encapsulation:2,changeDetection:0}),t})(),Ob=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=qt({type:t}),t.\u0275inj=pt({imports:[[p_,Xg],Xg]}),t})();
2233/**
2234 * @license
2235 * Copyright Google LLC All Rights Reserved.
2236 *
2237 * Use of this source code is governed by an MIT-style license that can be
2238 * found in the LICENSE file at https://angular.io/license
2239 */
2240function Ab(t,e){if(1&t&&(Gr(0,"h3"),Io(1),qr()),2&t){const t=oo();ds(1),Do(null==t.seat.type?null:t.seat.type.title)}}function Ib(t,e){if(1&t&&(Gr(0,"p"),Io(1),qr()),2&t){const t=oo();ds(1),Do(null==t.seat.type?null:t.seat.type.description)}}function Db(t,e){if(1&t&&(Gr(0,"mat-option",8),Io(1),rl(2,"currency"),qr()),2&t){const t=e.$implicit;Zr("value",t),ds(1),Ro(" ",t.title," (",al(2,3,t.value.amountInCents/100,t.value.currencyCode),") ")}}let Pb=(()=>{class t{constructor(t,e,n=new Sd){this.dialogRef=t,this.dialogData=e,this.themeConfig=n,this.i18n={dropdownPlaceholder:$localize`:@@seating.seat-category-select-dialog.category-dropdown.placeholder:`,buttonSelect:$localize`:@@seating.seat-category-select-dialog.button.select:`,buttonCancel:$localize`:@@seating.seat-category-select-dialog.button.cancel:`},this.selectedSeatCategoryPrice=this.dialogData.seat.category.selectedPrice}get seat(){return this.dialogData.seat}selectSeat(){this.dialogRef.close({canceled:!1,selectedCategoryPrice:this.selectedSeatCategoryPrice})}cancel(){this.dialogRef.close({canceled:!0})}}return t.\u0275fac=function(e){return new(e||t)($r(F_),$r(L_),$r(Ed,8))},t.\u0275cmp=$t({type:t,selectors:[["go-seating-price-select"]],decls:16,vars:8,consts:[["mat-dialog-title",""],[4,"ngIf"],["appearance","outline"],[3,"value","valueChange"],[3,"value",4,"ngFor","ngForOf"],[1,"buttons-container"],["mat-button","","data-4test","button.select",3,"click"],["mat-button","",3,"click"],[3,"value"]],template:function(t,e){1&t&&(Gr(0,"h2",0),Io(1),qr(),Gr(2,"mat-dialog-content"),Hr(3,Ab,2,1,"h3",1),Hr(4,Ib,2,1,"p",1),Gr(5,"mat-form-field",2),Gr(6,"mat-label"),Io(7),qr(),Gr(8,"mat-select",3),eo("valueChange",function(t){return e.selectedSeatCategoryPrice=t}),Hr(9,Db,3,6,"mat-option",4),qr(),qr(),qr(),Gr(10,"mat-dialog-actions"),Gr(11,"div",5),Gr(12,"button",6),eo("click",function(){return e.selectSeat()}),Io(13),qr(),Gr(14,"button",7),eo("click",function(){return e.cancel()}),Io(15),qr(),qr(),qr()),2&t&&(ds(1),Do(e.seat.title),ds(2),Zr("ngIf",null==e.seat.type?null:e.seat.type.title),ds(1),Zr("ngIf",null==e.seat.type?null:e.seat.type.description),ds(3),Do(e.i18n.dropdownPlaceholder),ds(1),Zr("value",e.selectedSeatCategoryPrice),ds(1),Zr("ngForOf",e.seat.category.availablePrices),ds(4),Do(e.i18n.buttonSelect),ds(2),Do(e.i18n.buttonCancel))},directives:[U_,G_,nu,ky,gy,vb,tu,q_,Tb,k_],pipes:[mu],styles:["[_nghost-%COMP%]{display:block}.mat-form-field[_ngcontent-%COMP%]{width:100%}p[_ngcontent-%COMP%]{margin-bottom:40px}.buttons-container[_ngcontent-%COMP%]{text-align:right}"]}),t})();const Rb=["svgContainer"],Mb=function(){return{preserveAspectRatio:"xMidYMid meet"}};function Nb(t,e){if(1&t){const t=Xr();Kr(0),Gr(1,"go-pan-zoom",1),eo("zoomStart",function(){return Re(t),oo().onZoomStart()})("zoomEnd",function(){return Re(t),oo().onZoomEnd()})("panStart",function(){return Re(t),oo().onPanStart()})("panEnd",function(){return Re(t),oo().onPanEnd()}),Gr(2,"div",2,3),eo("click",function(e){return Re(t),oo().onSvgContainerClick(e)})("onSVGInserted",function(){return Re(t),oo().onSvgLoadSuccess()})("onSVGFailed",function(){return Re(t),oo().onSvgLoadError()}),qr(),qr(),Wr(4,"go-seating-screen-reader-support",4),Yr()}if(2&t){const t=e.ngIf,n=oo();ds(1),Zr("enabled",n.zoomEnabled),ds(1),Zr("inlineSVG",t)("cacheSVG",!1)("setSVGAttributes",function(t,e,n){const i=Be()+4,s=De();return s[i]===hs?Vr(s,i,e()):function(t,e){return t[e]}(s,i)}(0,Mb))}}const Fb={[Zh.Available]:"seat--available",[Zh.Selected]:"seat--selected",[Zh.Blocked]:"seat--blocked"};let Vb=(()=>{class t{constructor(t,e,n,i){this.seatingManager=t,this.dialog=e,this.viewContainerRef
2240=n,this.hostElement=i,this.subscriptions=new h,this.seatingChanged=new ul,this.zoomEnabled=!1}set seating(t){t&&this.seatingManager.initWith(t)}set config(t){const e=wd.mergeWith(t);this.seatingManager.updateSeatingConfig(e)}get svgUrl$(){return this.seatingManager.svgUrl$}ngOnDestroy(){this.subscriptions.unsubscribe(),this.zoomEnabled=!1}onSvgLoadSuccess(){this.ngOnDestroy(),this.subscriptions=new h,this.zoomEnabled=!0,this.subscriptions.add(this.seatingManager.seats$.subscribe(t=>this.updateSeatColors(t))),this.subscriptions.add(this.seatingManager.seatingChanged$.subscribe(this.seatingChanged))}onSvgLoadError(){}onSvgContainerClick(t){const e=t.target.getAttribute("id");if(null!=e){const t=e.replace("target_",""),n=this.seatingManager.getSeat(Number(t));n&&this.onSvgSeatElementClick(n)}}onZoomStart(){this.hostElement.nativeElement.classList.add("seating--zooming")}onZoomEnd(){this.hostElement.nativeElement.classList.remove("seating--zooming")}onPanStart(){this.hostElement.nativeElement.classList.add("seating--panning")}onPanEnd(){this.hostElement.nativeElement.classList.remove("seating--panning")}onSvgSeatElementClick(t){switch(!0){case t.status===Zh.Available:1===t.category.availablePrices.length?this.selectSeat(t,t.category.availablePrices[0]):this.openCategorySelectModal(t);break;case t.status===Zh.Selected:this.deselectSeat(t)}}updateSeatColors(t){t.forEach(t=>{const e=this.getSvgSeatElement(t);if(e){e.classList.add("seat"),Object.values(Fb).forEach(t=>e.classList.remove(t));const n=Fb[t.status];n&&e.classList.add(n)}})}getSvgSeatElement(t){return this.svgContainerElement.nativeElement.querySelector(`[id$=target_${t.id}]`)}selectSeat(t,e){this.subscriptions.add(this.seatingManager.selectSeat(t,e).subscribe())}deselectSeat(t){this.subscriptions.add(this.seatingManager.deselectSeat(t).subscribe())}highlightSeatBeforeCategorySelection(t){const e=this.getSvgSeatElement(t);null==e||e.classList.add("seat--highlight-before-category-selection")}unhighlightSeatBeforeCategorySelection(t){const e=this.getSvgSeatElement(t);null==e||e.classList.remove("seat--highlight-before-category-selection")}openCategorySelectModal(t){const e=this.dialog.open(Pb,{viewContainerRef:this.viewContainerRef,data:{seat:t},panelClass:"go-dialog"});this.highlightSeatBeforeCategorySelection(t),this.subscriptions.add(e.afterClosed().subscribe(e=>{this.unhighlightSeatBeforeCategorySelection(t),!(null==e?void 0:e.canceled)&&(null==e?void 0:e.selectedCategoryPrice)&&this.selectSeat(t,e.selectedCategoryPrice)}))}}return t.\u0275fac=function(e){return new(e||t)($r(Cd),$r($_),$r($a),$r(ra))},t.\u0275cmp=$t({type:t,selectors:[["go-seating"]],viewQuery:function(t,e){if(1&t&&Sl(Rb,1,ra),2&t){let t;Cl(t=kl())&&(e.svgContainerElement=t.first)}},inputs:{seating:"seating",config:"config"},outputs:{seatingChanged:"seatingChanged"},features:[Qo([],[Cd])],decls:2,vars:3,consts:[[4,"ngIf"],[3,"enabled","zoomStart","zoomEnd","panStart","panEnd"],["aria-hidden","true",3,"inlineSVG","cacheSVG","setSVGAttributes","click","onSVGInserted","onSVGFailed"],["svgContainer",""],[1,"cdk-visually-hidden"]],template:function(t,e){1&t&&(Hr(0,Nb,5,5,"ng-container",0),rl(1,"async")),2&t&&Zr("ngIf",ol(1,1,e.svgUrl$))},styles:["[_nghost-%COMP%]{display:block}.seating--panning[_nghost-%COMP%]{cursor:move}@media (hover:hover){[_nghost-%COMP%]:not(.seating--zooming):not(.seating--panning)     .seat--available{cursor:pointer}[_nghost-%COMP%]:not(.seating--zooming):not(.seating--panning)     .seat--available:hover{fill:var(--go-seating-seat-available-hover,#fa0)}[_nghost-%COMP%]:not(.seating--zooming):not(.seating--panning)     .seat--selected:hover{fill:var(--go-seating-seat-selected-hover,#0f0)}[_nghost-%COMP%]:not(.seating--zooming):not(.seating--panning)     .seat--blocked{cursor:not-allowed}[_nghost-%COMP%]:not(.seating--zooming):not(.seating--panning)     .seat--blocked:hover{fill:var(--go-seating-seat-blocked-hover,red)}[_nghost-%COMP%]:not(.seating--zooming):not(.seating--panning)     .seat--highlight-before-category-selection{fill:var
2240(--go-seating-seat-selected-hover,#0f0)}}  svg{height:auto;width:100%}  .seat--selected{fill:var(--go-seating-seat-selected,#0f0)}  .seat--blocked{fill:var(--go-seating-seat-blocked,red)}"],changeDetection:0}),t})();function Lb(t,e){if(1&t&&(Gr(0,"option",3),Io(1),rl(2,"currency"),qr()),2&t){const t=e.$implicit;Zr("ngValue",t),ds(1),Ro(" ",t.title," (",al(2,3,t.value.amountInCents/100,t.value.currencyCode),") ")}}function zb(t,e){if(1&t){const t=Xr();Kr(0),Gr(1,"select",2),eo("change",function(){Re(t);const n=e.$implicit;return oo().onSelectCategoryForSeat(n)}),Gr(2,"option",3),Io(3,"-"),qr(),Hr(4,Lb,3,6,"option",4),qr(),Yr()}if(2&t){const t=e.$implicit;ds(1),Zr("formControlName",t.id),jr("aria-label",t.title),ds(1),Zr("ngValue",null),ds(2),Zr("ngForOf",t.category.availablePrices)}}let jb=(()=>{class t{constructor(t){this.seatingManager=t,this.subscriptions=new h,this.form=new zv({}),this.subscriptions.add(t.seats$.subscribe(t=>{this.updateFormValues(t)}))}get seats$(){return this.seatingManager.seats$}ngOnDestroy(){var t;null===(t=this.subscriptions)||void 0===t||t.unsubscribe()}updateFormValues(t){t.forEach(t=>{var e;const n=this.form.get(String(t.id)),i=null!==(e=t.category.selectedPrice)&&void 0!==e?e:null;null===n?this.form.addControl(String(t.id),new Lv(i)):n.patchValue(i)})}onSelectCategoryForSeat(t){const e=this.form.get(String(t.id));null!==e&&this.subscriptions.add(null!==e.value?this.seatingManager.selectSeat(t,e.value).subscribe():this.seatingManager.deselectSeat(t).subscribe())}}return t.\u0275fac=function(e){return new(e||t)($r(Cd))},t.\u0275cmp=$t({type:t,selectors:[["go-seating-screen-reader-support"]],decls:3,vars:4,consts:[[3,"formGroup"],[4,"ngFor","ngForOf"],[3,"formControlName","change"],[3,"ngValue"],[3,"ngValue",4,"ngFor","ngForOf"]],template:function(t,e){1&t&&(Gr(0,"form",0),Hr(1,zb,5,4,"ng-container",1),rl(2,"async"),qr()),2&t&&(Zr("formGroup",e.form),ds(1),Zr("ngForOf",ol(2,2,e.seats$)))},directives:[Zv,nv,qv,tu,dv,ev,Kv,pv,_v],pipes:[fu,mu],styles:[""]}),t})();var Bb={value:()=>{}};function Hb(){for(var t,e=0,n=arguments.length,i={};e<n;++e){if(!(t=arguments[e]+"")||t in i||/[\s.]/.test(t))throw new Error("illegal type: "+t);i[t]=[]}return new $b(i)}function $b(t){this._=t}function Zb(t,e){return t.trim().split(/^|\s+/).map(function(t){var n="",i=t.indexOf(".");if(i>=0&&(n=t.slice(i+1),t=t.slice(0,i)),t&&!e.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:n}})}function Ub(t,e){for(var n,i=0,s=t.length;i<s;++i)if((n=t[i]).name===e)return n.value}function Gb(t,e,n){for(var i=0,s=t.length;i<s;++i)if(t[i].name===e){t[i]=Bb,t=t.slice(0,i).concat(t.slice(i+1));break}return null!=n&&t.push({name:e,value:n}),t}$b.prototype=Hb.prototype={constructor:$b,on:function(t,e){var n,i=this._,s=Zb(t+"",i),r=-1,o=s.length;if(!(arguments.length<2)){if(null!=e&&"function"!=typeof e)throw new Error("invalid callback: "+e);for(;++r<o;)if(n=(t=s[r]).type)i[n]=Gb(i[n],t.name,e);else if(null==e)for(n in i)i[n]=Gb(i[n],t.name,null);return this}for(;++r<o;)if((n=(t=s[r]).type)&&(n=Ub(i[n],t.name)))return n},copy:function(){var t={},e=this._;for(var n in e)t[n]=e[n].slice();return new $b(t)},call:function(t,e){if((n=arguments.length-2)>0)for(var n,i,s=new Array(n),r=0;r<n;++r)s[r]=arguments[r+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(r=0,n=(i=this._[t]).length;r<n;++r)i[r].value.apply(e,s)},apply:function(t,e,n){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(var i=this._[t],s=0,r=i.length;s<r;++s)i[s].value.apply(e,n)}};var qb=Hb;function Wb(){}var Kb=function(t){return null==t?Wb:function(){return this.querySelector(t)}},Yb=function(t){return"object"==typeof t&&"length"in t?t:Array.from(t)};function Xb(){return[]}var Qb=function(t){return null==t?Xb:function(){return this.querySelectorAll(t)}},Jb=function(t){return function(){return this.matches(t)}};function tw(t){return function(e){return e.matches(t)}}var ew=Array.prototype.find;function nw(){return this.firstElementChild}var iw=Array.prototype.filter;function sw(){return this.children}var rw=function(t){return new Array(t.length)};function ow(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}ow.prototype={constructor:ow,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var aw=function(t){return function(){return t}};function lw(t,e,n,i,s,r){for(var o,a=0,l=e.length,c=r.length;a<c;++a)(o=e[a])?(o.__data__=r[a],i[a]=o):n[a]=new ow(t,r[a]);for(;a<l;++a)(o=e[a])&&(s[a]=o)}function cw(t,e,n,i,s,r,o){var a,l,c,u=new Map,h=e.length,d=r.length,p=new Array(h);for(a=0;a<h;++a)(l=e[a])&&(p[a]=c=o.call(l,l.__data__,a,e)+"",u.has(c)?s[a]=l:u.set(c,l));for(a=0;a<d;++a)c=o.call(t,r[a],a,r)+"",(l=u.get(c))?(i[a]=l,l.__data__=r[a],u.delete(c)):n[a]=new ow(t,r[a]);for(a=0;a<h;++a)(l=e[a])&&u.get(p[a])===l&&(s[a]=l)}function uw(t){return t.__data__}function hw(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}var dw="http://www.w3.org/1999/xhtml",pw={svg:"http://www.w3.org/2000/svg",xhtml:dw,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},fw=function(t){var e=t+="",n=e.indexOf(":");return n>=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),pw.hasOwnProperty(e)?{space:pw[e],local:t}:t};function mw(t){return function(){this.removeAttribute(t)}}function gw(t){return function(){this.removeAttributeNS(t.space,t.local)}}function _w(t,e){return function(){this.setAttribute(t,e)}}function yw(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function vw(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttribute(t):this.setAttribute(t,n)}}function bw(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}var ww=function(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView};function Cw(t){return function(){this.style.removeProperty(t)}}function Sw(t,e,n){return function(){this.style.setProperty(t,e,n)}}function Ew(t,e,n){return function(){var i=e.apply(this,arguments);null==i?this.style.removeProperty(t):this.style.setProperty(t,i,n)}}function kw(t,e){return t.style.getPropertyValue(e)||ww(t).getComputedStyle(t,null).getPropertyValue(e)}function xw(t){return function(){delete this[t]}}function Tw(t,e){return function(){this[t]=e}}function Ow(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}}function Aw(t){return t.trim().split(/^|\s+/)}function Iw(t){return t.classList||new Dw(t)}function Dw(t){this._node=t,this._names=Aw(t.getAttribute("class")||"")}function Pw(t,e){for(var n=Iw(t),i=-1,s=e.length;++i<s;)n.add(e[i])}function Rw(t,e){for(var n=Iw(t),i=-1,s=e.length;++i<s;)n.remove(e[i])}function Mw(t){return function(){Pw(this,t)}}function Nw(t){return function(){Rw(this,t)}}function Fw(t,e){return function(){(e.apply(this,arguments)?Pw:Rw)(this,t)}}function Vw(){this.textContent=""}function Lw(t){return function(){this.textContent=t}}function zw(t){return function(){var e=t.apply(this,arguments);this.textContent=null==e?"":e}}function jw(){this.innerHTML=""}function Bw(t){return function(){this.innerHTML=t}}function Hw(t){return function(){var e=t.apply(this,arguments);this.innerHTML=null==e?"":e}}function $w(){this.nextSibling&&this.parentNode.appendChild(this)}function Zw(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function Uw(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===dw&&e.documentElement.namespaceURI===dw?e.createElement(t):e.createElementNS(n,t)}}function Gw(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}Dw.prototype={add:function(t){this._names.indexOf(t)<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var e=this._names.indexOf(t);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var qw=function(t){var e=fw(t);return(e.local?Gw:Uw)(e)};function Ww(){return null}function Kw(){var t=this.parentNode;t&&t.removeChild(this)}function Yw(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function Xw(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function Qw(t){return t.trim().split(/^|\s+/).map(function(t){var e="",n=t.indexOf(".");return n>=0&&(e=t.slice(n+1),t=t.slice(0,n)),{type:t,name:e}})}function Jw(t){return function(){var e=this.__on;if(e){for(var n,i=0,s=-1,r=e.length;i<r;++i)n=e[i],t.type&&n.type!==t.type||n.name!==t.name?e[++s]=n:this.removeEventListener(n.type,n.listener,n.options);++s?e.length=s:delete this.__on}}}function tC(t,e,n){return function(){var i,s=this.__on,r=function(t){return function(e){t.call(this,e,this.__data__)}}(e);if(s)for(var o=0,a=s.length;o<a;++o)if((i=s[o]).type===t.type&&i.name===t.name)return this.removeEventListener(i.type,i.listener,i.options),this.addEventListener(i.type,i.listener=r,i.options=n),void(i.value=e);this.addEventListener(t.type,r,n),i={type:t.type,name:t.name,value:e,listener:r,options:n},s?s.push(i):this.__on=[i]}}function eC(t,e,n){var i=ww(t),s=i.CustomEvent;"function"==typeof s?s=new s(e,n):(s=i.document.createEvent("Event"),n?(s.initEvent(e,n.bubbles,n.cancelable),s.detail=n.detail):s.initEvent(e,!1,!1)),t.dis
vendor: 4,191 bytes, line 2240
2240patchEvent(s)}function nC(t,e){return function(){return eC(this,t,e)}}function iC(t,e){return function(){return eC(this,t,e.apply(this,arguments))}}var sC=[null];function rC(t,e){this._groups=t,this._parents=e}function oC(){return new rC([[document.documentElement]],sC)}rC.prototype=oC.prototype={constructor:rC,select:function(t){"function"!=typeof t&&(t=Kb(t));for(var e=this._groups,n=e.length,i=new Array(n),s=0;s<n;++s)for(var r,o,a=e[s],l=a.length,c=i[s]=new Array(l),u=0;u<l;++u)(r=a[u])&&(o=t.call(r,r.__data__,u,a))&&("__data__"in r&&(o.__data__=r.__data__),c[u]=o);return new rC(i,this._parents)},selectAll:function(t){t="function"==typeof t?function(t){return function(){var e=t.apply(this,arguments);return null==e?[]:Yb(e)}}(t):Qb(t);for(var e=this._groups,n=e.length,i=[],s=[],r=0;r<n;++r)for(var o,a=e[r],l=a.length,c=0;c<l;++c)(o=a[c])&&(i.push(t.call(o,o.__data__,c,a)),s.push(o));return new rC(i,s)},selectChild:function(t){return this.select(null==t?nw:function(t){return function(){return ew.call(this.children,t)}}("function"==typeof t?t:tw(t)))},selectChildren:function(t){return this.selectAll(null==t?sw:function(t){return function(){return iw.call(this.children,t)}}("function"==typeof t?t:tw(t)))},filter:function(t){"function"!=typeof t&&(t=Jb(t));for(var e=this._groups,n=e.length,i=new Array(n),s=0;s<n;++s)for(var r,o=e[s],a=o.length,l=i[s]=[],c=0;c<a;++c)(r=o[c])&&t.call(r,r.__data__,c,o)&&l.push(r);return new rC(i,this._parents)},data:function(t,e){if(!arguments.length)return Array.from(this,uw);var n=e?cw:lw,i=this._parents,s=this._groups;"function"!=typeof t&&(t=aw(t));for(var r=s.length,o=new Array(r),a=new Array(r),l=new Array(r),c=0;c<r;++c){var u=i[c],h=s[c],d=h.length,p=Yb(t.call(u,u&&u.__data__,c,i)),f=p.length,m=a[c]=new Array(f),g=o[c]=new Array(f),_=l[c]=new Array(d);n(u,h,m,g,_,p,e);for(var y,v,b=0,w=0;b<f;++b)if(y=m[b]){for(b>=w&&(w=b+1);!(v=g[w])&&++w<f;);y._next=v||null}}return(o=new rC(o,i))._enter=a,o._exit=l,o},enter:function(){return new rC(this._enter||this._groups.map(rw),this._parents)},exit:function(){return new rC(this._exit||this._groups.map(rw),this._parents)},join:function(t,e,n){var i=this.enter(),s=this,r=this.exit();return i="function"==typeof t?t(i):i.append(t+""),null!=e&&(s=e(s)),null==n?r.remove():n(r),i&&s?i.merge(s).order():s},merge:function(t){if(!(t instanceof rC))throw new Error("invalid merge");for(var e=this._groups,n=t._groups,i=e.length,s=Math.min(i,n.length),r=new Array(i),o=0;o<s;++o)for(var a,l=e[o],c=n[o],u=l.length,h=r[o]=new Array(u),d=0;d<u;++d)(a=l[d]||c[d])&&(h[d]=a);for(;o<i;++o)r[o]=e[o];return new rC(r,this._parents)},selection:function(){return this},order:function(){for(var t=this._groups,e=-1,n=t.length;++e<n;)for(var i,s=t[e],r=s.length-1,o=s[r];--r>=0;)(i=s[r])&&(o&&4^i.compareDocumentPosition(o)&&o.parentNode.insertBefore(i,o),o=i);return this},sort:function(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=hw);for(var n=this._groups,i=n.length,s=new Array(i),r=0;r<i;++r){for(var o,a=n[r],l=a.length,c=s[r]=new Array(l),u=0;u<l;++u)(o=a[u])&&(c[u]=o);c.sort(e)}return new rC(s,this._parents).order()},call:function(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this},nodes:function(){return Array.from(this)},node:function(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var i=t[e],s=0,r=i.length;s<r;++s){var o=i[s];if(o)return o}return null},size:function(){let t=0;for(const e of this)++t;return t},empty:function(){return!this.node()},each:function(t){for(var e=this._groups,n=0,i=e.length;n<i;++n)for(var s,r=e[n],o=0,a=r.length;o<a;++o)(s=r[o])&&t.call(s,s.__data__,o,r);return this},attr:function(t,e){var n=fw(t);if(arguments.length<2){var i=this.node();return n.local?i.getAttributeNS(n.space,n.local):i.getAttribute(n)}return this.each((null==e?n.local?gw:mw:"function"==typeof e?n.local?bw:vw:n.local?yw:_w)(n,e))},style:function(t,e,n){return arguments.length>1?this.each((null==e?Cw:"function"==typeof e?Ew:Sw)(t,e,null==n?"":n)):kw(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?xw:"function"==typeof e?Ow:Tw)(t,e)):this.node()[t]},classed:function(t,e){var n=Aw(t+"");
2240if(arguments.length<2){for(var i=Iw(this.node()),s=-1,r=n.length;++s<r;)if(!i.contains(n[s]))return!1;return!0}return this.each(("function"==typeof e?Fw:e?Mw:Nw)(n,e))},text:function(t){return arguments.length?this.each(null==t?Vw:("function"==typeof t?zw:Lw)(t)):this.node().textContent},html:function(t){return arguments.length?this.each(null==t?jw:("function"==typeof t?Hw:Bw)(t)):this.node().innerHTML},raise:function(){return this.each($w)},lower:function(){return this.each(Zw)},append:function(t){var e="function"==typeof t?t:qw(t);return this.select(function(){return this.appendChild(e.apply(this,arguments))})},insert:function(t,e){var n="function"==typeof t?t:qw(t),i=null==e?Ww:"function"==typeof e?e:Kb(e);return this.select(function(){return this.insertBefore(n.apply(this,arguments),i.apply(this,arguments)||null)})},remove:function(){return this.each(Kw)},clone:function(t){return this.select(t?Xw:Yw)},datum:function(t){return arguments.length?this.property("__data__",t):this.node().__data__},on:function(t,e,n){var i,s,r=Qw(t+""),o=r.length;if(!(arguments.length<2)){for(a=e?tC:Jw,i=0;i<o;++i)this.each(a(r[i],e,n));return this}var a=this.node().__on;if(a)for(var l,c=0,u=a.length;c<u;++c)for(i=0,l=a[c];i<o;++i)if((s=r[i]).type===l.type&&s.name===l.name)return l.value},dispatch:function(t,e){return this.each(("function"==typeof e?iC:nC)(t,e))},[Symbol.iterator]:function*(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var i,s=t[e],r=0,o=s.length;r<o;++r)(i=s[r])&&(yield i)}};var aC=oC,lC=function(t){return"string"==typeof t?new rC([[document.querySelector(t)]],[document.documentElement]):new rC([[t]],sC)},cC=function(t){t.preventDefault(),t.stopImmediatePropagation()},uC=function(t){var e=t.document.documentElement,n=lC(t).on("dragstart.drag",cC,!0);"onselectstart"in e?n.on("selectstart.drag",cC,!0):(e.__noselect=e.style.MozUserSelect,e.style.MozUserSelect="none")};function hC(t,e){var n=t.document.documentElement,i=lC(t).on("dragstart.drag",null);e&&(i.on("click.drag",cC,!0),setTimeout(function(){i.on("click.drag",null)},0)),"onselectstart"in n?i.on("selectstart.drag",null):(n.style.MozUserSelect=n.__noselect,delete n.__noselect)}function dC(t){return((t=Math.exp(t))+1/t)/2}var pC,fC,mC=function t(e,n,i){function s(t,s){var r,o,a=t[0],l=t[1],c=t[2],u=s[2],h=s[0]-a,d=s[1]-l,p=h*h+d*d;if(p<1e-12)o=Math.log(u/c)/e,r=function(t){return[a+t*h,l+t*d,c*Math.exp(e*t*o)]};else{var f=Math.sqrt(p),m=(u*u-c*c+i*p)/(2*c*n*f),g=(u*u-c*c-i*p)/(2*u*n*f),_=Math.log(Math.sqrt(m*m+1)-m),y=Math.log(Math.sqrt(g*g+1)-g);o=(y-_)/e,r=function(t){var i,s=t*o,r=dC(_),u=c/(n*f)*(r*(i=e*s+_,((i=Math.exp(2*i))-1)/(i+1))-function(t){return((t=Math.exp(t))-1/t)/2}(_));return[a+u*h,l+u*d,c*r/dC(e*s+_)]}}return r.duration=1e3*o*e/Math.SQRT2,r}return s.rho=function(e){var n=Math.max(.001,+e),i=n*n;return t(n,i,i*i)},s}(Math.SQRT2,2,4),gC=function(t,e){if(t=function(t){let e;for(;e=t.sourceEvent;)t=e;return t}(t),void 0===e&&(e=t.currentTarget),e){var n=e.ownerSVGElement||e;if(n.createSVGPoint){var i=n.createSVGPoint();return i.x=t.clientX,i.y=t.clientY,[(i=i.matrixTransform(e.getScreenCTM().inverse())).x,i.y]}if(e.getBoundingClientRect){var s=e.getBoundingClientRect();return[t.clientX-s.left-e.clientLeft,t.clientY-s.top-e.clientTop]}}return[t.pageX,t.pageY]},_C=0,yC=0,vC=0,bC=0,wC=0,CC=0,SC="object"==typeof performance&&performance.now?performance:Date,EC="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function kC(){return wC||(EC(xC),wC=SC.now()+CC)}function xC(){wC=0}function TC(){this._call=this._time=this._next=null}function OC(t,e,n){var i=new TC;return i.restart(t,e,n),i}function AC(){wC=(bC=SC.now())+CC,_C=yC=0;try{!function(){kC(),++_C;for(var t,e=pC;e;)(t=wC-e._time)>=0&&e._call.call(null,t),e=e._next;--_C}()}finally{_C=0,function(){for(var t,e,n=pC,i=1/0;n;)n._call?(i>n._time&&(i=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:pC=e);fC=t,DC(i)}(),wC=0}}function IC(){var t=SC.now(),e=t-bC;e>1e3&&(CC-=e,bC=t)}function DC(t){_C||(yC&&(yC=clearTimeout(yC)),t-wC>
vendor: 8,341 bytes, line 2240
224024?(t<1/0&&(yC=setTimeout(AC,t-SC.now()-CC)),vC&&(vC=clearInterval(vC))):(vC||(bC=SC.now(),vC=setInterval(IC,1e3)),_C=1,EC(AC)))}TC.prototype=OC.prototype={constructor:TC,restart:function(t,e,n){if("function"!=typeof t)throw new TypeError("callback is not a function");n=(null==n?kC():+n)+(null==e?0:+e),this._next||fC===this||(fC?fC._next=this:pC=this,fC=this),this._call=t,this._time=n,DC()},stop:function(){this._call&&(this._call=null,this._time=1/0,DC())}};var PC=function(t,e,n){var i=new TC;return i.restart(n=>{i.stop(),t(n+e)},e=null==e?0:+e,n),i},RC=qb("start","end","cancel","interrupt"),MC=[],NC=function(t,e,n,i,s,r){var o=t.__transition;if(o){if(n in o)return}else t.__transition={};!function(t,e,n){var i,s=t.__transition;function r(l){var c,u,h,d;if(1!==n.state)return a();for(c in s)if((d=s[c]).name===n.name){if(3===d.state)return PC(r);4===d.state?(d.state=6,d.timer.stop(),d.on.call("interrupt",t,t.__data__,d.index,d.group),delete s[c]):+c<e&&(d.state=6,d.timer.stop(),d.on.call("cancel",t,t.__data__,d.index,d.group),delete s[c])}if(PC(function(){3===n.state&&(n.state=4,n.timer.restart(o,n.delay,n.time),o(l))}),n.state=2,n.on.call("start",t,t.__data__,n.index,n.group),2===n.state){for(n.state=3,i=new Array(h=n.tween.length),c=0,u=-1;c<h;++c)(d=n.tween[c].value.call(t,t.__data__,n.index,n.group))&&(i[++u]=d);i.length=u+1}}function o(e){for(var s=e<n.duration?n.ease.call(null,e/n.duration):(n.timer.restart(a),n.state=5,1),r=-1,o=i.length;++r<o;)i[r].call(t,s);5===n.state&&(n.on.call("end",t,t.__data__,n.index,n.group),a())}function a(){for(var i in n.state=6,n.timer.stop(),delete s[e],s)return;delete t.__transition}s[e]=n,n.timer=OC(function(t){n.state=1,n.timer.restart(r,n.delay,n.time),n.delay<=t&&r(t-n.delay)},0,n.time)}(t,n,{name:e,index:i,group:s,on:RC,tween:MC,time:r.time,delay:r.delay,duration:r.duration,ease:r.ease,timer:null,state:0})};function FC(t,e){var n=LC(t,e);if(n.state>0)throw new Error("too late; already scheduled");return n}function VC(t,e){var n=LC(t,e);if(n.state>3)throw new Error("too late; already running");return n}function LC(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n}var zC,jC=function(t,e){var n,i,s,r=t.__transition,o=!0;if(r){for(s in e=null==e?null:e+"",r)(n=r[s]).name===e?(i=n.state>2&&n.state<5,n.state=6,n.timer.stop(),n.on.call(i?"interrupt":"cancel",t,t.__data__,n.index,n.group),delete r[s]):o=!1;o&&delete t.__transition}},BC=function(t,e){return t=+t,e=+e,function(n){return t*(1-n)+e*n}},HC=180/Math.PI,$C={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1},ZC=function(t,e,n,i,s,r){var o,a,l;return(o=Math.sqrt(t*t+e*e))&&(t/=o,e/=o),(l=t*n+e*i)&&(n-=t*l,i-=e*l),(a=Math.sqrt(n*n+i*i))&&(n/=a,i/=a,l/=a),t*i<e*n&&(t=-t,e=-e,l=-l,o=-o),{translateX:s,translateY:r,rotate:Math.atan2(e,t)*HC,skewX:Math.atan(l)*HC,scaleX:o,scaleY:a}};function UC(t,e,n,i){function s(t){return t.length?t.pop()+" ":""}return function(r,o){var a=[],l=[];return r=t(r),o=t(o),function(t,i,s,r,o,a){if(t!==s||i!==r){var l=o.push("translate(",null,e,null,n);a.push({i:l-4,x:BC(t,s)},{i:l-2,x:BC(i,r)})}else(s||r)&&o.push("translate("+s+e+r+n)}(r.translateX,r.translateY,o.translateX,o.translateY,a,l),function(t,e,n,r){t!==e?(t-e>180?e+=360:e-t>180&&(t+=360),r.push({i:n.push(s(n)+"rotate(",null,i)-2,x:BC(t,e)})):e&&n.push(s(n)+"rotate("+e+i)}(r.rotate,o.rotate,a,l),function(t,e,n,r){t!==e?r.push({i:n.push(s(n)+"skewX(",null,i)-2,x:BC(t,e)}):e&&n.push(s(n)+"skewX("+e+i)}(r.skewX,o.skewX,a,l),function(t,e,n,i,r,o){if(t!==n||e!==i){var a=r.push(s(r)+"scale(",null,",",null,")");o.push({i:a-4,x:BC(t,n)},{i:a-2,x:BC(e,i)})}else 1===n&&1===i||r.push(s(r)+"scale("+n+","+i+")")}(r.scaleX,r.scaleY,o.scaleX,o.scaleY,a,l),r=o=null,function(t){for(var e,n=-1,i=l.length;++n<i;)a[(e=l[n]).i]=e.x(t);return a.join("")}}}var GC=UC(function(t){const e=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(t+"");return e.isIdentity?$C:ZC(e.a,e.b,e.c,e.d,e.e,e.f)},"px, ","px)","deg)"),qC=UC(function(t){return null==t?$C:(zC||(zC=document.createElementNS("http://www.w3.org/2000/svg","g")),zC.setAttribute("transform",t),(t=zC.transform.baseVal.consolidate())?ZC((t=t.matrix).a,t.b,t.c,t.d,t.e,t.f):$C)},", ",")",")");function WC(t,e){var n,i;return function(){var s=VC(this,t),r=s.tween;if(r!==n)for(var o=0,a=(i=n=r).length;o<a;++o)if(i[o].name===e){(i=i.slice()).splice(o,1);break}s.tween=i}}function KC(t,e,n){var i,s;if("function"!=typeof n)throw new Error;return function(){var r=VC(this,t),o=r.tween;if(o!==i){s=(i=o).slice();for(var a={name:e,value:n},l=0,c=s.length;l<c;++l)if(s[l].name===e){s[l]=a;break}l===c&&s.push(a)}r.tween=s}}function YC(t,e,n){var i=t._id;return t.each(function(){var t=VC(this,i);(t.value||(t.value={}))[e]=n.apply(this,arguments)}),function(t){return LC(t,i).value[e]}}var XC=function(t,e,n){t.prototype=e.prototype=n,n.constructor=t};function QC(t,e){var n=Object.create(t.prototype);for(var i in e)n[i]=e[i];return n}function JC(){}var tS=.7,eS=1/tS,nS="\\s*([+-]?\\d+)\\s*",iS="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",sS="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",rS=/^#([0-9a-f]{3,8})$/,oS=new RegExp("^rgb\\("+[nS,nS,nS]+"\\)$"),aS=new RegExp("^rgb\\("+[sS,sS,sS]+"\\)$"),lS=new RegExp("^rgba\\("+[nS,nS,nS,iS]+"\\)$"),cS=new RegExp("^rgba\\("+[sS,sS,sS,iS]+"\\)$"),uS=new RegExp("^hsl\\("+[iS,sS,sS]+"\\)$"),hS=new RegExp("^hsla\\("+[iS,sS,sS,iS]+"\\)$"),dS={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function pS(){return this.rgb().formatHex()}function fS(){return this.rgb().formatRgb()}function mS(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=rS.exec(t))?(n=e[1].length,e=parseInt(e[1],16),6===n?gS(e):3===n?
vendor: 7,084 bytes, line 2240
2240new bS(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?_S(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?_S(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=oS.exec(t))?new bS(e[1],e[2],e[3],1):(e=aS.exec(t))?new bS(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=lS.exec(t))?_S(e[1],e[2],e[3],e[4]):(e=cS.exec(t))?_S(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=uS.exec(t))?ES(e[1],e[2]/100,e[3]/100,1):(e=hS.exec(t))?ES(e[1],e[2]/100,e[3]/100,e[4]):dS.hasOwnProperty(t)?gS(dS[t]):"transparent"===t?new bS(NaN,NaN,NaN,0):null}function gS(t){return new bS(t>>16&255,t>>8&255,255&t,1)}function _S(t,e,n,i){return i<=0&&(t=e=n=NaN),new bS(t,e,n,i)}function yS(t){return t instanceof JC||(t=mS(t)),t?new bS((t=t.rgb()).r,t.g,t.b,t.opacity):new bS}function vS(t,e,n,i){return 1===arguments.length?yS(t):new bS(t,e,n,null==i?1:i)}function bS(t,e,n,i){this.r=+t,this.g=+e,this.b=+n,this.opacity=+i}function wS(){return"#"+SS(this.r)+SS(this.g)+SS(this.b)}function CS(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}function SS(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function ES(t,e,n,i){return i<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new xS(t,e,n,i)}function kS(t){if(t instanceof xS)return new xS(t.h,t.s,t.l,t.opacity);if(t instanceof JC||(t=mS(t)),!t)return new xS;if(t instanceof xS)return t;var e=(t=t.rgb()).r/255,n=t.g/255,i=t.b/255,s=Math.min(e,n,i),r=Math.max(e,n,i),o=NaN,a=r-s,l=(r+s)/2;return a?(o=e===r?(n-i)/a+6*(n<i):n===r?(i-e)/a+2:(e-n)/a+4,a/=l<.5?r+s:2-r-s,o*=60):a=l>0&&l<1?0:o,new xS(o,a,l,t.opacity)}function xS(t,e,n,i){this.h=+t,this.s=+e,this.l=+n,this.opacity=+i}function TS(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}function OS(t,e,n,i,s){var r=t*t,o=r*t;return((1-3*t+3*r-o)*e+(4-6*r+3*o)*n+(1+3*t+3*r-3*o)*i+o*s)/6}XC(JC,mS,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:pS,formatHex:pS,formatHsl:function(){return kS(this).formatHsl()},formatRgb:fS,toString:fS}),XC(bS,vS,QC(JC,{brighter:function(t){return t=null==t?eS:Math.pow(eS,t),new bS(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?tS:Math.pow(tS,t),new bS(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:wS,formatHex:wS,formatRgb:CS,toString:CS})),XC(xS,function(t,e,n,i){return 1===arguments.length?kS(t):new xS(t,e,n,null==i?1:i)},QC(JC,{brighter:function(t){return t=null==t?eS:Math.pow(eS,t),new xS(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?tS:Math.pow(tS,t),new xS(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,i=n+(n<.5?n:1-n)*e,s=2*n-i;return new bS(TS(t>=240?t-240:t+120,s,i),TS(t,s,i),TS(t<120?t+240:t-120,s,i),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===t?")":", "+t+")")}}));var AS=t=>()=>t;function IS(t,e){var n=e-t;return n?function(t,e){return function(n){return t+n*e}}(t,n):AS(isNaN(t)?e:t)}var DS=function t(e){var n=function(t){return 1==(t=+t)?IS:function(e,n){return n-e?function(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(i){return Math.pow(t+i*e,n)}}(e,n,t):AS(isNaN(e)?n:e)}}(e);function i(t,e){var i=n((t=vS(t)).r,(e=vS(e)).r),s=n(t.g,e.g),r=n(t.b,e.b),o=IS(t.opacity,e.opacity);return function(e){return t.r=i(e),t.g=s(e),t.b=r(e),t.opacity=o(e),t+""}}return i.gamma=t,i}(1);function PS(t){return function(e){var n,i,s=e.length,r=new Array(s),o=new Array(s),a=new Array(s);for(n=0;n<s;++n)i=vS(e[n]),r[n]=i.r||0,o[n]=i.g||0,a[n]=i.b||0;return r=t(r),o=t(o),a=t(a),i.opacity=1,function(t){return i.r=r(t),i.g=o(t),i.b=a(t),i+""}}}PS(function(t){var e=t.length-1;return function(n){var i=n<=0?n=0:n>=1?(n=1,e-1):Math.floor(n*e),s=t[i],r=t[i+1];return OS((n-i/e)*e,i>0?t[i-1]:2*s-r,s,r,i<e-1?t[i+2]:2*r-s)}}),PS(function(t){var e=t.length;return function(n){var i=Math.floor(((n%=1)<0?++n:n)*e);return OS((n-i/e)*e,t[(i+e-1)%e],t[i%e],t[(i+1)%e],t[(i+2)%e])}});var RS=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,MS=new RegExp(RS.source,"g"),NS=function(t,e){var n,i,s,r=RS.lastIndex=MS.lastIndex=0,o=-1,a=[],l=[];for(t+="",e+="";(n=RS.exec(t))&&(i=MS.exec(e));)(s=i.index)>r&&(s=e.slice(r,s),a[o]?a[o]+=s:a[++o]=s),(n=n[0])===(i=i[0])?a[o]?a[o]+=i:a[++o]=i:(a[++o]=null,l.push({i:o,x:BC(n,i)})),r=MS.lastIndex;return r<e.length&&(s=e.slice(r),a[o]?a[o]+=s:a[++o]=s),a.length<2?l[0]?function(t){return function(e){return t(e)+""}}(l[0].x):function(t){return function(){return t}}(e):(e=l.length,function(t){for(var n,i=0;i<e;++i)a[(n=l[i]).i]=n.x(t);return a.join("")})},FS=function(t,e){var n;return("number"==typeof e?BC:e instanceof mS?DS:(n=mS(e))?(e=n,DS):NS)(t,e)};function VS(t){return function(){this.removeAttribute(t)}}function LS(t){return function(){this.removeAttributeNS(t.space,t.local)}}function zS(t,e,n){var i,s,r=n+"";return function(){var o=this.getAttribute(t);return o===r?null:o===i?s:s=e(i=o,n)}}function jS(t,e,n){var i,s,r=n+"";return function(){var o=this.getAttributeNS(t.space,t.local);return o===r?null:o===i?s:s=e(i=o,n)}}function BS(t,e,n){var i,s,r;return function(){var o,a,l=n(this);if(null!=l)return(o=this.getAttribute(t))===(a=l+"")?null:o===i&&a===s?r:(s=a,r=e(i=o,l));this.removeAttribute(t)}}function HS(t,e,n){var i,s,r;return function(){var o,a,l=n(this);if(null!=l)return(o=this.getAttributeNS(t.space,t.local))===(a=l+"")?null:o===i&&a===s?r:(s=a,r=e(i=o,l));this.removeAttributeNS(t.space,t.local)}}function $S(t,e){return function(n){this.setAttribute(t,e.call(this,n))}}function ZS(t,e){return function(n){this.setAttributeNS(t.space,t.local,e.call(this,n))}}function US(t,e){var n,i;function s(){var s=e.apply(this,arguments);return s!==i&&(n=(i=s)&&ZS(t,s)),n}return s._value=e,s}function GS(t,e){var n,i;function s(){var s=e.apply(this,arguments);return s!==i&&(n=(i=s)&&$S(t,s)),n}return s._value=e,s}function qS(t,e){return function(){FC(this,t).delay=+e.apply(this,arguments)}}function WS(t,e){return e=+e,function(){FC(this,t).delay=e}}function KS(t,e){return function(){VC(this,t).duration=+e.apply(this,arguments)}}function YS(t,e){return e=+e,function(){VC(this,t).duration=e}}function XS(t,e){if("function"!=typeof e)throw new Error;return function(){VC(this,t).ease=e}}function QS(t,e,n){var i,s,r=function(t){return(t+"").trim().split(/^|\s+/).every(function(t){var e=t.indexOf(".");return e>
vendor: 8,244 bytes, line 2240
2240=0&&(t=t.slice(0,e)),!t||"start"===t})}(e)?FC:VC;return function(){var o=r(this,t),a=o.on;a!==i&&(s=(i=a).copy()).on(e,n),o.on=s}}var JS=aC.prototype.constructor;function tE(t){return function(){this.style.removeProperty(t)}}function eE(t,e,n){return function(i){this.style.setProperty(t,e.call(this,i),n)}}function nE(t,e,n){var i,s;function r(){var r=e.apply(this,arguments);return r!==s&&(i=(s=r)&&eE(t,r,n)),i}return r._value=e,r}function iE(t){return function(e){this.textContent=t.call(this,e)}}function sE(t){var e,n;function i(){var i=t.apply(this,arguments);return i!==n&&(e=(n=i)&&iE(i)),e}return i._value=t,i}var rE=0;function oE(t,e,n,i){this._groups=t,this._parents=e,this._name=n,this._id=i}function aE(){return++rE}var lE=aC.prototype;oE.prototype=(function(t){return aC().transition(t)}).prototype={constructor:oE,select:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=Kb(t));for(var i=this._groups,s=i.length,r=new Array(s),o=0;o<s;++o)for(var a,l,c=i[o],u=c.length,h=r[o]=new Array(u),d=0;d<u;++d)(a=c[d])&&(l=t.call(a,a.__data__,d,c))&&("__data__"in a&&(l.__data__=a.__data__),h[d]=l,NC(h[d],e,n,d,h,LC(a,n)));return new oE(r,this._parents,e,n)},selectAll:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=Qb(t));for(var i=this._groups,s=i.length,r=[],o=[],a=0;a<s;++a)for(var l,c=i[a],u=c.length,h=0;h<u;++h)if(l=c[h]){for(var d,p=t.call(l,l.__data__,h,c),f=LC(l,n),m=0,g=p.length;m<g;++m)(d=p[m])&&NC(d,e,n,m,p,f);r.push(p),o.push(l)}return new oE(r,o,e,n)},filter:function(t){"function"!=typeof t&&(t=Jb(t));for(var e=this._groups,n=e.length,i=new Array(n),s=0;s<n;++s)for(var r,o=e[s],a=o.length,l=i[s]=[],c=0;c<a;++c)(r=o[c])&&t.call(r,r.__data__,c,o)&&l.push(r);return new oE(i,this._parents,this._name,this._id)},merge:function(t){if(t._id!==this._id)throw new Error;for(var e=this._groups,n=t._groups,i=e.length,s=Math.min(i,n.length),r=new Array(i),o=0;o<s;++o)for(var a,l=e[o],c=n[o],u=l.length,h=r[o]=new Array(u),d=0;d<u;++d)(a=l[d]||c[d])&&(h[d]=a);for(;o<i;++o)r[o]=e[o];return new oE(r,this._parents,this._name,this._id)},selection:function(){return new JS(this._groups,this._parents)},transition:function(){for(var t=this._name,e=this._id,n=aE(),i=this._groups,s=i.length,r=0;r<s;++r)for(var o,a=i[r],l=a.length,c=0;c<l;++c)if(o=a[c]){var u=LC(o,e);NC(o,t,n,c,a,{time:u.time+u.delay+u.duration,delay:0,duration:u.duration,ease:u.ease})}return new oE(i,this._parents,t,n)},call:lE.call,nodes:lE.nodes,node:lE.node,size:lE.size,empty:lE.empty,each:lE.each,on:function(t,e){var n=this._id;return arguments.length<2?LC(this.node(),n).on.on(t):this.each(QS(n,t,e))},attr:function(t,e){var n=fw(t),i="transform"===n?qC:FS;return this.attrTween(t,"function"==typeof e?(n.local?HS:BS)(n,i,YC(this,"attr."+t,e)):null==e?(n.local?LS:VS)(n):(n.local?jS:zS)(n,i,e))},attrTween:function(t,e){var n="attr."+t;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(null==e)return this.tween(n,null);if("function"!=typeof e)throw new Error;var i=fw(t);return this.tween(n,(i.local?US:GS)(i,e))},style:function(t,e,n){var i="transform"==(t+="")?GC:FS;return null==e?this.styleTween(t,function(t,e){var n,i,s;return function(){var r=kw(this,t),o=(this.style.removeProperty(t),kw(this,t));return r===o?null:r===n&&o===i?s:s=e(n=r,i=o)}}(t,i)).on("end.style."+t,tE(t)):"function"==typeof e?this.styleTween(t,function(t,e,n){var i,s,r;return function(){var o=kw(this,t),a=n(this),l=a+"";return null==a&&(this.style.removeProperty(t),l=a=kw(this,t)),o===l?null:o===i&&l===s?r:(s=l,r=e(i=o,a))}}(t,i,YC(this,"style."+t,e))).each(function(t,e){var n,i,s,r,o="style."+e,a="end."+o;return function(){var l=VC(this,t),c=l.on,u=null==l.value[o]?r||(r=tE(e)):void 0;c===n&&s===u||(i=(n=c).copy()).on(a,s=u),l.on=i}}(this._id,t)):this.styleTween(t,function(t,e,n){var i,s,r=n+"";return function(){var o=kw(this,t);return o===r?null:o===i?s:s=e(i=o,n)}}(t,i,e),n).on("end.style."+t,null)},styleTween:function(t,e,n){var i="style."+(t+="");if(arguments.length<2)return(i=this.tween(i))&&i._value;if(null==e)return this.tween(i,null);if("function"!=typeof e)throw new Error;return this.tween(i,nE(t,e,null==n?"":n))},text:function(t){return this.tween("text","function"==typeof t?function(t){return function(){var e=t(this);this.textContent=null==e?"":e}}(YC(this,"text",t)):function(t){return function(){this.textContent=t}}(null==t?"":t+""))},textTween:function(t){var e="text";if(arguments.length<1)return(e=this.tween(e))&&e._value;if(null==t)return this.tween(e,null);if("function"!=typeof t)throw new Error;return this.tween(e,sE(t))},remove:function(){return this.on("end.remove",(t=this._id,function(){var e=this.parentNode;for(var n in this.__transition)if(+n!==t)return;e&&e.removeChild(this)}));var t},tween:function(t,e){var n=this._id;if(t+="",arguments.length<2){for(var i,s=LC(this.node(),n).tween,r=0,o=s.length;r<o;++r)if((i=s[r]).name===t)return i.value;return null}return this.each((null==e?WC:KC)(n,t,e))},delay:function(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?qS:WS)(e,t)):LC(this.node(),e).delay},duration:function(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?KS:YS)(e,t)):LC(this.node(),e).duration},ease:function(t){var e=this._id;return arguments.length?this.each(XS(e,t)):LC(this.node(),e).ease},easeVarying:function(t){if("function"!=typeof t)throw new Error;return this.each(function(t,e){return function(){var n=e.apply(this,arguments);if("function"!=typeof n)throw new Error;VC(this,t).ease=n}}(this._id,t))},end:function(){var t,e,n=this,i=n._id,s=n.size();return new Promise(function(r,o){var a={value:o},l={value:function(){0==--s&&r()}};n.each(function(){var n=VC(this,i),s=n.on;s!==t&&((e=(t=s).copy())._.cancel.push(a),e._.interrupt.push(a),e._.end.push(l)),n.on=e}),0===s&&r()})},[Symbol.iterator]:lE[Symbol.iterator]};var cE={time:null,delay:0,duration:250,ease:function(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}};function uE(t,e){for(var n;!(n=t.__transition)||!(n=n[e]);)if(!(t=t.parentNode))throw new Error(`transition ${e} not found`);return n}aC.prototype.interrupt=function(t){return this.each(function(){jC(this,t)})},aC.prototype.transition=function(t){var e,n;t instanceof oE?(e=t._id,t=t._name):(e=aE(),(n=cE).time=kC(),t=null==t?null:t+"");for(var i=this._groups,s=i.length,r=0;r<s;++r)for(var o,a=i[r],l=a.length,c=0;c<l;++c)(o=a[c])&&NC(o,t,e,c,a,n||uE(o,e));return new oE(i,this._parents,t,e)};var hE=t=>()=>t;function dE(t,{sourceEvent:e,target:n,transform:i,dispatch:s}){Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:e,enumerable:!0,configurable:!0},target:{value:n,enumerable:!0,configurable:!0},transform:{value:i,enumerable:!0,configurable:!0},_:{value:s}})}function pE(t,e,n){this.k=t,this.x=e,this.y=n}pE.prototype={constructor:pE,scale:function(t){return 1===t?this:new pE(this.k*t,this.x,this.y)},translate:function(t,e){return 0===t&0===e?this:new pE(this.k,this.x+this.k*t,this.y+this.k*e)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var fE=new pE(1,0,0);function mE(t){for(;!t.__zoom;)if(!(t=t.parentNode))return fE;return t.__zoom}function gE(t){t.stopImmediatePropagation()}mE.prototype=pE.prototype;var _E=function(t){t.preventDefault(),t.stopImmediatePropagation()};function yE(t){return!(t.ctrlKey&&"wheel"!==t.type||t.button)}function vE(){var t=this;return t instanceof SVGElement?(t=t.ownerSVGElement||t).hasAttribute("viewBox")?[[(t=t.viewBox.baseVal).x,t.y],[t.x+t.width,t.y+t.height]]:[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]:[[0,0],[t.clientWidth,t.clientHeight]]}function bE(){return this.__zoom||fE}function wE(t){return-t.deltaY*(1===t.deltaMode?.05:t.deltaMode?
22401:.002)*(t.ctrlKey?10:1)}function CE(){return navigator.maxTouchPoints||"ontouchstart"in this}function SE(t,e,n){var i=t.invertX(e[0][0])-n[0][0],s=t.invertX(e[1][0])-n[1][0],r=t.invertY(e[0][1])-n[0][1],o=t.invertY(e[1][1])-n[1][1];return t.translate(s>i?(i+s)/2:Math.min(0,i)||Math.max(0,s),o>r?(r+o)/2:Math.min(0,r)||Math.max(0,o))}class EE extends S{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return e&&!e.closed&&t.next(this._value),e}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new b;return this._value}next(t){super.next(this._value=t)}}var kE,xE=[],TE="ResizeObserver loop completed with undelivered notifications.";!function(t){t.BORDER_BOX="border-box",t.CONTENT_BOX="content-box",t.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"}(kE||(kE={}));var OE,AE=function(t){return Object.freeze(t)},IE=function(t,e){this.inlineSize=t,this.blockSize=e,AE(this)},DE=function(){function t(t,e,n,i){return this.x=t,this.y=e,this.width=n,this.height=i,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,AE(this)}return t.prototype.toJSON=function(){var t=this;return{x:t.x,y:t.y,top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.width,height:t.height}},t.fromRect=function(e){return new t(e.x,e.y,e.width,e.height)},t}(),PE=function(t){return t instanceof SVGElement&&"getBBox"in t},RE=function(t){if(PE(t)){var e=t.getBBox();return!e.width&&!e.height}return!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},ME=function(t){var e,n,i=null===(n=null===(e=t)||void 0===e?void 0:e.ownerDocument)||void 0===n?void 0:n.defaultView;return!!(i&&t instanceof i.Element)},NE="undefined"!=typeof window?window:{},FE=new WeakMap,VE=/auto|scroll/,LE=/^tb|vertical/,zE=/msie|trident/i.test(NE.navigator&&NE.navigator.userAgent),jE=function(t){return parseFloat(t||"0")},BE=function(t,e,n){return void 0===t&&(t=0),void 0===e&&(e=0),void 0===n&&(n=!1),new IE((n?e:t)||0,(n?t:e)||0)},HE=AE({devicePixelContentBoxSize:BE(),borderBoxSize:BE(),contentBoxSize:BE(),contentRect:new DE(0,0,0,0)}),$E=function(t,e){if(void 0===e&&(e=!1),FE.has(t)&&!e)return FE.get(t);if(RE(t))return FE.set(t,HE),HE;var n=getComputedStyle(t),i=PE(t)&&t.ownerSVGElement&&t.getBBox(),s=!zE&&"border-box"===n.boxSizing,r=LE.test(n.writingMode||""),o=!i&&VE.test(n.overflowY||""),a=!i&&VE.test(n.overflowX||""),l=i?0:jE(n.paddingTop),c=i?0:jE(n.paddingRight),u=i?0:jE(n.paddingBottom),h=i?0:jE(n.paddingLeft),d=i?0:jE(n.borderTopWidth),p=i?0:jE(n.borderRightWidth),f=i?0:jE(n.borderBottomWidth),m=h+c,g=l+u,_=(i?0:jE(n.borderLeftWidth))+p,y=d+f,v=a?t.offsetHeight-y-t.clientHeight:0,b=o?t.offsetWidth-_-t.clientWidth:0,w=s?m+_:0,C=s?g+y:0,S=i?i.width:jE(n.width)-w-b,E=i?i.height:jE(n.height)-C-v,k=S+m+b+_,x=E+g+v+y,T=AE({devicePixelContentBoxSize:BE(Math.round(S*devicePixelRatio),Math.round(E*devicePixelRatio),r),borderBoxSize:BE(k,x,r),contentBoxSize:BE(S,E,r),contentRect:new DE(h,l,S,E)});return FE.set(t,T),T},ZE=function(t,e,n){var i=$E(t,n),s=i.borderBoxSize,r=i.contentBoxSize,o=i.devicePixelContentBoxSize;switch(e){case kE.DEVICE_PIXEL_CONTENT_BOX:return o;case kE.BORDER_BOX:return s;default:return r}},UE=function(t){var e=$E(t);this.target=t,this.contentRect=e.contentRect,this.borderBoxSize=AE([e.borderBoxSize]),this.contentBoxSize=AE([e.contentBoxSize]),this.devicePixelContentBoxSize=AE([e.devicePixelContentBoxSize])},GE=function(t){if(RE(t))return 1/0;for(var e=0,n=t.parentNode;n;)e+=1,n=n.parentNode;return e},qE=function(){var t=1/0,e=[];xE.forEach(function(n){if(0!==n.activeTargets.length){var i=[];n.activeTargets.forEach(function(e){var n=new UE(e.target),s=GE(e.target);i.push(n),e.lastReportedSize=ZE(e.target,e.observedBox),s<t&&(t=s)}),e.push(function(){n.callback.call(n.observer,i,n.observer)}),n.activeTargets.splice(0,n.activeTargets.length)}});for(var n=0,i=e;n<i.length;n++)(0,i[n])();return t},WE=function(t){xE.forEach(function(e){e.activeTargets.splice(0,e.activeTargets.length),e.skippedTargets.splice(0,e.skippedTargets.length),e.observationTargets.forEac
2240h(function(n){n.isActive()&&(GE(n.target)>t?e.activeTargets.push(n):e.skippedTargets.push(n))})})},KE=[],YE=0,XE={attributes:!0,characterData:!0,childList:!0,subtree:!0},QE=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],JE=function(t){return void 0===t&&(t=0),Date.now()+t},tk=!1,ek=new(function(){function t(){var t=this;this.stopped=!0,this.listener=function(){return t.schedule()}}return t.prototype.run=function(t){var e=this;if(void 0===t&&(t=250),!tk){tk=!0;var n,i=JE(t);n=function(){var n=!1;try{n=function(){var t,e=0;for(WE(e);xE.some(function(t){return t.activeTargets.length>0});)e=qE(),WE(e);return xE.some(function(t){return t.skippedTargets.length>0})&&("function"==typeof ErrorEvent?t=new ErrorEvent("error",{message:TE}):((t=document.createEvent("Event")).initEvent("error",!1,!1),t.message=TE),window.dispatchEvent(t)),e>0}()}finally{if(tk=!1,t=i-JE(),!YE)return;n?e.run(1e3):t>0?e.run(t):e.start()}},function(t){if(!OE){var e=0,i=document.createTextNode("");new MutationObserver(function(){return KE.splice(0).forEach(function(t){return t()})}).observe(i,{characterData:!0}),OE=function(){i.textContent=""+(e?e--:e++)}}KE.push(function(){requestAnimationFrame(n)}),OE()}()}},t.prototype.schedule=function(){this.stop(),this.run()},t.prototype.observe=function(){var t=this,e=function(){return t.observer&&t.observer.observe(document.body,XE)};document.body?e():NE.addEventListener("DOMContentLoaded",e)},t.prototype.start=function(){var t=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),QE.forEach(function(e){return NE.addEventListener(e,t.listener,!0)}))},t.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),QE.forEach(function(e){return NE.removeEventListener(e,t.listener,!0)}),this.stopped=!0)},t}()),nk=function(t){!YE&&t>0&&ek.start(),!(YE+=t)&&ek.stop()},ik=function(){function t(t,e){this.target=t,this.observedBox=e||kE.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return t.prototype.isActive=function(){var t,e=ZE(this.target,this.observedBox,!0);return PE(t=this.target)||function(t){switch(t.tagName){case"INPUT":if("image"!==t.type)break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1}(t)||"inline"!==getComputedStyle(t).display||(this.lastReportedSize=e),this.lastReportedSize.inlineSize!==e.inlineSize||this.lastReportedSize.blockSize!==e.blockSize},t}(),sk=function(t,e){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=e},rk=new WeakMap,ok=function(t,e){for(var n=0;n<t.length;n+=1)if(t[n].target===e)return n;return-1},ak=function(){function t(){}return t.connect=function(t,e){var n=new sk(t,e);rk.set(t,n)},t.observe=function(t,e,n){var i=rk.get(t),s=0===i.observationTargets.length;ok(i.observationTargets,e)<0&&(s&&xE.push(i),i.observationTargets.push(new ik(e,n&&n.box)),nk(1),ek.schedule())},t.unobserve=function(t,e){var n=rk.get(t),i=ok(n.observationTargets,e);i>=0&&(1===n.observationTargets.length&&xE.splice(xE.indexOf(n),1),n.observationTargets.splice(i,1),nk(-1))},t.disconnect=function(t){var e=this,n=rk.get(t);n.observationTargets.slice().forEach(function(n){return e.unobserve(t,n.target)}),n.activeTargets.splice(0,n.activeTargets.length)},t}(),lk=function(){function t(t){if(0===arguments.length)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if("function"!=typeof t)throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");ak.connect(this,t)}return t.prototype.observe=function(t,e){if(0===arguments.length)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!ME(t))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");ak.observe(this,t,e)},t.prototype.unobserve=function(t){if(0===arguments.length)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!ME(t))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");ak.unobserve(this,t)},t.prototype.disconnect=function(){ak.disconnect(this)},t.toString=function(){return"function ResizeObserver () { [polyfill code] }"},t}();
2241/**
2242 * @license
2243 * Copyright Google LLC All Rights Reserved.
2244 *
2245 * Use of this source code is governed by an MIT-style license that can be
2246 * found in the LICENSE file at https://angular.io/license
2247 */
2248let ck=(()=>{class t{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(t){this._vertical=kd(t)}get inset(){return this._inset}set inset(t){this._inset=kd(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=$t({type:t,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(t,e){2&t&&(jr("aria-orientation",e.vertical?"vertical":"horizontal"),vo("mat-divider-vertical",e.vertical)("mat-divider-horizontal",!e.vertical)("mat-divider-inset",e.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(t,e){},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}),t})(),uk=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=qt({type:t}),t.\u0275inj=pt({imports:[[Xg],Xg]}),t})();
2249/**
2250 * @license
2251 * Copyright Google LLC All Rights Reserved.
2252 *
2253 * Use of this source code is governed by an MIT-style license that can be
2254 * found in the LICENSE file at https://angular.io/license
2255 */
2256const hk=["zoomContainer"],dk=["contentContainer"];function pk(t,e){if(1&t){const t=Xr();Kr(0),Gr(1,"div",6),Gr(2,"span",7),Io(3),qr(),Gr(4,"span",8),Io(5),qr(),Gr(6,"button",9),eo("click",function(){return Re(t),oo().zoomIn()}),Io(7,"+"),qr(),Gr(8,"button",9),eo("click",function(){return Re(t),oo().zoomOut()}),Io(9,"\u2013"),qr(),qr(),Wr(10,"mat-divider",10),Yr()}if(2&t){const t=oo();ds(3),Do(t.i18n.zoomUsageHint),ds(2),Do(t.i18n.zoomControlsDescription)}}function fk(t,e){if(1&t&&(Gr(0,"ul",11),Gr(1,"li",12),Io(2),qr(),Gr(3,"li",13),Io(4),qr(),qr()),2&t){const t=oo();ds(2),Do(t.i18n.zoomOutToScrollAgainUsageHint),ds(2),Do(t.i18n.panUsageHint)}}const mk=["*"];let gk=(()=>{class t{constructor(t,e=new Sd){var n,i;this.themeConfig=e,this.subscriptions=new h,this.lastMobileSafariScale=1,this.i18n={zoomControlsDescription:$localize`:@@seating.zoom-control
2256s.description:`,panUsageHint:$localize`:@@seating.usage-hint.panning:`,zoomUsageHint:$localize`:@@seating.usage-hint.zooming:`,zoomOutToScrollAgainUsageHint:$localize`:@@seating.usage-hint.zoom-out-to-scroll:`},this.showUsageHints$=new EE(!1),this.enabled=!1,this.minZoom=1,this.maxZoom=8,this.showZoomControls=!0,this.zoomStart=new ul,this.zoomChanging=new ul,this.zoomEnd=new ul,this.panStart=new ul,this.panChanging=new ul,this.panEnd=new ul;const s=null!==(i=null===(n=t.defaultView)||void 0===n?void 0:n.ResizeObserver)&&void 0!==i?i:lk;this.resizeObserver=new s(()=>this.onZoomContainerResize())}get buttonAppearanceCssClass(){var t,e;return(null===(t=this.themeConfig.buttons)||void 0===t?void 0:t.appearance)?`mat-${null===(e=this.themeConfig.buttons)||void 0===e?void 0:e.appearance}-button`:void 0}ngOnInit(){this.resizeObserver.observe(this.zoomContainerElement.nativeElement)}ngOnChanges(t){var e,n,i,s,r,o;(null===(e=t.enabled)||void 0===e?void 0:e.currentValue)!==(null===(n=t.enabled)||void 0===n?void 0:n.previousValue)&&(!0===t.enabled.currentValue?this.initZoom():this.destroyZoom()),(null===(i=t.minZoom)||void 0===i?void 0:i.currentValue)&&this.zoomBehavior&&this.zoomBehavior.scaleExtent([null===(s=t.minZoom)||void 0===s?void 0:s.currentValue,this.maxZoom]),(null===(r=t.maxZoom)||void 0===r?void 0:r.currentValue)&&this.zoomBehavior&&this.zoomBehavior.scaleExtent([this.minZoom,null===(o=t.maxZoom)||void 0===o?void 0:o.currentValue])}ngOnDestroy(){this.subscriptions.unsubscribe(),this.resizeObserver.unobserve(this.zoomContainerElement.nativeElement),this.destroyZoom()}zoomIn(){let t=this.getCurrentZoomFactor();t&&(t*=1.3,this.setZoomFactor(t))}zoomOut(){let t=this.getCurrentZoomFactor();t&&(t/=1.3,this.setZoomFactor(t))}initZoom(){this.zoomSelection=lC(this.zoomContainerElement.nativeElement),this.zoomBehavior=function(){var t,e,n,i=yE,s=vE,r=SE,o=wE,a=CE,l=[0,1/0],c=[[-1/0,-1/0],[1/0,1/0]],u=250,h=mC,d=qb("start","zoom","end"),p=500,f=0,m=10;function g(t){t.property("__zoom",bE).on("wheel.zoom",S).on("mousedown.zoom",E).on("dblclick.zoom",k).filter(a).on("touchstart.zoom",x).on("touchmove.zoom",T).on("touchend.zoom touchcancel.zoom",O).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function _(t,e){return(e=Math.max(l[0],Math.min(l[1],e)))===t.k?t:new pE(e,t.x,t.y)}function y(t,e,n){var i=e[0]-n[0]*t.k,s=e[1]-n[1]*t.k;return i===t.x&&s===t.y?t:new pE(t.k,i,s)}function v(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function b(t,e,n,i){t.on("start.zoom",function(){w(this,arguments).event(i).start()}).on("interrupt.zoom end.zoom",function(){w(this,arguments).event(i).end()}).tween("zoom",function(){var t=this,r=arguments,o=w(t,r).event(i),a=s.apply(t,r),l=null==n?v(a):"function"==typeof n?n.apply(t,r):n,c=Math.max(a[1][0]-a[0][0],a[1][1]-a[0][1]),u=t.__zoom,d="function"==typeof e?e.apply(t,r):e,p=h(u.invert(l).concat(c/u.k),d.invert(l).concat(c/d.k));return function(t){if(1===t)t=d;else{var e=p(t),n=c/e[2];t=new pE(n,l[0]-e[0]*n,l[1]-e[1]*n)}o.zoom(null,t)}})}function w(t,e,n){return!n&&t.__zooming||new C(t,e)}function C(t,e){this.that=t,this.args=e,this.active=0,this.sourceEvent=null,this.extent=s.apply(t,e),this.taps=0}function S(t,...e){if(i.apply(this,arguments)){var n=w(this,e).event(t),s=this.__zoom,a=Math.max(l[0],Math.min(l[1],s.k*Math.pow(2,o.apply(this,arguments)))),u=gC(t);if(n.wheel)n.mouse[0][0]===u[0]&&n.mouse[0][1]===u[1]||(n.mouse[1]=s.invert(n.mouse[0]=u)),clearTimeout(n.wheel);else{if(s.k===a)return;n.mouse=[u,s.invert(u)],jC(this),n.start()}_E(t),n.wheel=setTimeout(h,150),n.zoom("mouse",r(y(_(s,a),n.mouse[0],n.mouse[1]),n.extent,c))}function h(){n.wheel=null,n.end()}}function E(t,...e){if(!n&&i.apply(this,arguments)){var s=w(this,e,!0).event(t),o=lC(t.view).on("mousemove.zoom",d,!0).on("mouseup.zoom",p,!0),a=gC(t,l),l=t.currentTarget,u=t.clientX,h=t.clientY;uC(t.view),gE(t),s.mouse=[a,this.__zoom.invert(a)],jC(this),s.start()}function d(t){if(_E(t),!s.moved){var e=t.clientX-u,n=t.clientY-h;s.moved=e*e+n*n>f}s.event(t).zoom("mouse",r(y(s.that.__zoom,s.mouse[0]=gC(t,l),s.mouse[1]),s.extent,c))}
2256function p(t){o.on("mousemove.zoom mouseup.zoom",null),hC(t.view,s.moved),_E(t),s.event(t).end()}}function k(t,...e){if(i.apply(this,arguments)){var n=this.__zoom,o=gC(t.changedTouches?t.changedTouches[0]:t,this),a=n.invert(o),l=r(y(_(n,n.k*(t.shiftKey?.5:2)),o,a),s.apply(this,e),c);_E(t),u>0?lC(this).transition().duration(u).call(b,l,o,t):lC(this).call(g.transform,l,o,t)}}function x(n,...s){if(i.apply(this,arguments)){var r,o,a,l,c=n.touches,u=c.length,h=w(this,s,n.changedTouches.length===u).event(n);for(gE(n),o=0;o<u;++o)l=[l=gC(a=c[o],this),this.__zoom.invert(l),a.identifier],h.touch0?h.touch1||h.touch0[2]===l[2]||(h.touch1=l,h.taps=0):(h.touch0=l,r=!0,h.taps=1+!!t);t&&(t=clearTimeout(t)),r&&(h.taps<2&&(e=l[0],t=setTimeout(function(){t=null},p)),jC(this),h.start())}}function T(t,...e){if(this.__zooming){var n,i,s,o,a=w(this,e).event(t),l=t.changedTouches,u=l.length;for(_E(t),n=0;n<u;++n)s=gC(i=l[n],this),a.touch0&&a.touch0[2]===i.identifier?a.touch0[0]=s:a.touch1&&a.touch1[2]===i.identifier&&(a.touch1[0]=s);if(i=a.that.__zoom,a.touch1){var h=a.touch0[0],d=a.touch0[1],p=a.touch1[0],f=a.touch1[1],m=(m=p[0]-h[0])*m+(m=p[1]-h[1])*m,g=(g=f[0]-d[0])*g+(g=f[1]-d[1])*g;i=_(i,Math.sqrt(m/g)),s=[(h[0]+p[0])/2,(h[1]+p[1])/2],o=[(d[0]+f[0])/2,(d[1]+f[1])/2]}else{if(!a.touch0)return;s=a.touch0[0],o=a.touch0[1]}a.zoom("touch",r(y(i,s,o),a.extent,c))}}function O(t,...i){if(this.__zooming){var s,r,o=w(this,i).event(t),a=t.changedTouches,l=a.length;for(gE(t),n&&clearTimeout(n),n=setTimeout(function(){n=null},p),s=0;s<l;++s)r=a[s],o.touch0&&o.touch0[2]===r.identifier?delete o.touch0:o.touch1&&o.touch1[2]===r.identifier&&delete o.touch1;if(o.touch1&&!o.touch0&&(o.touch0=o.touch1,delete o.touch1),o.touch0)o.touch0[1]=this.__zoom.invert(o.touch0[0]);else if(o.end(),2===o.taps&&(r=gC(r,this),Math.hypot(e[0]-r[0],e[1]-r[1])<m)){var c=lC(this).on("dblclick.zoom");c&&c.apply(this,arguments)}}}return g.transform=function(t,e,n,i){var s=t.selection?t.selection():t;s.property("__zoom",bE),t!==s?b(t,e,n,i):s.interrupt().each(function(){w(this,arguments).event(i).start().zoom(null,"function"==typeof e?e.apply(this,arguments):e).end()})},g.scaleBy=function(t,e,n,i){g.scaleTo(t,function(){return this.__zoom.k*("function"==typeof e?e.apply(this,arguments):e)},n,i)},g.scaleTo=function(t,e,n,i){g.transform(t,function(){var t=s.apply(this,arguments),i=this.__zoom,o=null==n?v(t):"function"==typeof n?n.apply(this,arguments):n,a=i.invert(o),l="function"==typeof e?e.apply(this,arguments):e;return r(y(_(i,l),o,a),t,c)},n,i)},g.translateBy=function(t,e,n,i){g.transform(t,function(){return r(this.__zoom.translate("function"==typeof e?e.apply(this,arguments):e,"function"==typeof n?n.apply(this,arguments):n),s.apply(this,arguments),c)},null,i)},g.translateTo=function(t,e,n,i,o){g.transform(t,function(){var t=s.apply(this,arguments),o=this.__zoom,a=null==i?v(t):"function"==typeof i?i.apply(this,arguments):i;return r(fE.translate(a[0],a[1]).scale(o.k).translate("function"==typeof e?-e.apply(this,arguments):-e,"function"==typeof n?-n.apply(this,arguments):-n),t,c)},i,o)},C.prototype={event:function(t){return t&&(this.sourceEvent=t),this},start:function(){return 1==++this.active&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(t,e){return this.mouse&&"mouse"!==t&&(this.mouse[1]=e.invert(this.mouse[0])),this.touch0&&"touch"!==t&&(this.touch0[1]=e.invert(this.touch0[0])),this.touch1&&"touch"!==t&&(this.touch1[1]=e.invert(this.touch1[0])),this.that.__zoom=e,this.emit("zoom"),this},end:function(){return 0==--this.active&&(delete this.that.__zooming,this.emit("end")),this},emit:function(t){var e=lC(this.that).datum();d.call(t,this.that,new dE(t,{sourceEvent:this.sourceEvent,target:g,type:t,transform:this.that.__zoom,dispatch:d}),e)}},g.wheelDelta=function(t){return arguments.length?(o="function"==typeof t?t:hE(+t),g):o},g.filter=function(t){return arguments.length?(i="function"==typeof t?t:hE(!!t),g):i},g.touchable=function(t){return arguments.length?(a="function"==typeof t?t:hE(!!t),g):a},g.extent=function(t){return arguments.length?(s="function"==typeof t?t:hE([[+t[0][0],+t[0][1]],[+t[1][0],+t[1][1]]]),g):s},g.scaleExtent=function(t){return arguments.length?(l[0]=+t[0],l[1]=+t[1],g):[l[0],l[1]]},g.translateExtent=function(t){return arguments.length?(c[0][0]=+t[0][0],c[1][0]=+t[1][0],c[0][1]=+t[0][1],c[1][1]=+t[1][1],g):[[c[0][0],c[0][1]],[c[1][0],c[1][1]]]},g.constrain=function(t){return arguments.length?(r=t,g):r},g.duration=function(t){return arguments.length?(u=+t,g):u},g.interpolate=function(t){return arguments.length?(h=t,g):h},g.on=function(){var t=d.on.apply(d,arguments);return t===d?g:t},g.clickDistance=function(t){return arguments.length?(f=(t=+t)*t,g):Math.sqrt(f)},g.tapDistance=function(t){return arguments.length?(m=+t,g):m},g}();const t=this.zoomBehavior.constrain();this.zoomBehavior.scaleExtent([this.minZoom,this.maxZoom]).constrain((e,n)=>t(e,n,n)).filter(t=>this.isPanOrZoomAllowed(t)).on("start",t=>{t.sourceEvent&&this.onZoomStart(t.sourceEvent)}).on("zoom",t=>{this.onZoomZooming(t)}).on("end",t=>{t.sourceEvent&&this.onZoomEnd(t.sourceEvent)}),this.captureMobileSafariZoomGestures(),this.zoomSelection.call(this.zoomBehavior)}isPanOrZoomAllowed(t){var e,n;switch(t.type){case"wheel":return!!t.ctrlKey||t.shiftKey||t.altKey||t.metaKey;case"touchstart":if(null!==(n=(null===(e=t.touches)||void 0===e?void 0:e.length)>1)&&void 0!==n&&n)return!0;{const t=this.getCurrentZoomFactor();return!!(t&&t>1)}default:return!0}}captureMobileSafariZoomGestures(){this.zoomContainerElement.nativeElement.addEventListener("gesturestart",t=>{this.lastMobileSafariScale=1,t.preventDefault(),this.onZoomStart(t)}),this.zoomContainerElement.nativeElement.addEventListener("gesturechange",t=>{if(this.zoomSelection){const e=t.scale;let n;n=e>1?1+e-this.lastMobileSafariScale:1-2*(this.lastMobileSafariScale-e),this.lastMobileSafariScale=e,this.setZoomFactor(n,!0)}t.preventDefault()}),this.zoomContainerElement.nativeElement.addEventListener("gestureend",t=>{t.preventDefault(),this.onZoomEnd(t)})}destroyZoom(){var t,e,n;null===(t=this.zoomSelection)||void 0===t||t.on(".start",null),null===(e=this.zoomSelection)||void 0===e||e.on(".zoom",null),null===(n=this.zoomSelection)||void 0===n||n.on(".end",null)}onZoomStart(t){switch(t.type){case"wheel":this.zoomStart.emit(t);break;case"mousedown":this.panStart.emit(t)}}onZoomZooming(t){var e;switch(null===(e=t.sourceEvent)||void 0===e?void 0:e.type){case"wheel":this.zoomChanging.emit(t.sourceEvent);break;case"mousedown":this.panChanging.emit(t.sourceEvent)}this.translateAndScaleContent(t.transform.x,t.transform.y,t.transform.k)}onZoomEnd(t){switch(t.type){case"wheel":this.zoomEnd.emit(t),this.updateUsageHintVisibility();break;case"mouseup":this.panEnd.emit(t)}}updateUsageHintVisibility(){const t=this.getCurrentZoomFactor();this.showUsageHints$.next(!!(t&&t>1))}translateAndScaleContent(t,e,n){this.contentContainerElement.nativeElement.style.transform=`translate(${t}px, ${e}px) scale(${n})`}onZoomContainerResize(){if(this.enabled&&this.zoomBehavior&&this.zoomSelection){const t=this.getCurrentZoomFactor();t&&t>1&&this.setZoomFactor(1)}}getCurrentZoomFactor(){var t;const e=null===(t=this.zoomSelection)||void 0===t?void 0:t.node();return e?mE(e).k:void 0}setZoomFactor(t,e=!1){var n,i;this.zoomSelection&&(e?null===(n=this.zoomBehavior)||void 0===n||n.scaleBy(this.zoomSelection,t):null===(i=this.zoomBehavior)||void 0===i||i.scaleTo(this.zoomSelection,t),this.updateUsageHintVisibility())}}return t.\u0275fac=function(e){return new(e||t)($r(Sc),$r(Ed,8))},t.\u0275cmp=$t({type:t,selectors:[["go-pan-zoom"]],viewQuery:function(t,e){if(1&t&&(Sl(hk,3,ra),Sl(dk,3,ra)),2&t){let t;Cl(t=kl())&&(e.zoomContainerElement=t.first),Cl(t=kl())&&(e.contentContainerElement=t.first)}},inputs:{enabled:"enabled",minZoom:"minZoom",maxZoom:"maxZoom",showZoomControls:"showZoomControls"},outputs:{zoomStart:"zoomStart",zoomChanging:"zoomChanging",zoomEnd:"zoomEnd",panStart:"panStart",panChanging:"panChanging",panEnd:"panEnd"},features:[ce],ngContentSelectors:mk,decls:8,vars:4,consts:[[4,"ngIf"],[1,"zoom-container"],["zoomContainer",""],[1,"content-container"],["contentContainer",""],["class","usage-hints",4,"ngIf"],[1,"zoom-control
2256s"],[1,"zoom-controls__zoom-usage-hint"],[1,"zoom-controls__description"],["mat-button","",1,"zoom-controls__control",3,"click"],[1,"zoom-controls__divider"],[1,"usage-hints"],[1,"usage-hints__hint","usage-hints__hint--touch-only"],[1,"usage-hints__hint"]],template:function(t,e){1&t&&(lo(),Hr(0,pk,11,2,"ng-container",0),Gr(1,"div",1,2),Gr(3,"div",3,4),co(5),qr(),Hr(6,fk,5,2,"ul",5),rl(7,"async"),qr()),2&t&&(Zr("ngIf",e.showZoomControls),ds(6),Zr("ngIf",ol(7,2,e.showUsageHints$)))},directives:[nu,Tb,ck],pipes:[fu],styles:["[_nghost-%COMP%]{display:block}.zoom-controls[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-end;margin-bottom:10px}.zoom-controls__zoom-usage-hint[_ngcontent-%COMP%]{display:none}@media (hover:hover){.zoom-controls__zoom-usage-hint[_ngcontent-%COMP%]{display:block;margin-right:auto}}.zoom-controls__description[_ngcontent-%COMP%]{margin-right:10px}.zoom-controls__divider[_ngcontent-%COMP%]{margin-bottom:10px}.zoom-container[_ngcontent-%COMP%]{overflow:hidden;position:relative}.content-container[_ngcontent-%COMP%]{transform-origin:0 0}.usage-hints[_ngcontent-%COMP%]{display:flex;flex-flow:row wrap;justify-content:center;position:absolute;bottom:0;left:0;right:0;list-style:none;pointer-events:none}.usage-hints__hint[_ngcontent-%COMP%]{white-space:nowrap;text-align:center;padding:0 10px;margin:5px}@media (hover:hover){.usage-hints__hint--touch-only[_ngcontent-%COMP%]{display:none}}"],changeDetection:0}),t})(),_k=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=qt({type:t}),t.\u0275inj=pt({imports:[[s_,p_,Xg,m_,gu],s_,Xg,m_,uk]}),t})(),yk=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=qt({type:t}),t.\u0275inj=pt({imports:[[gu,Qv,$h,_k,W_,wb,xy,Ob,uk]]}),t})();
2257/**
2258 * @license
2259 * Copyright Google LLC All Rights Reserved.
2260 *
2261 * Use of this source code is governed by an MIT-style license that can be
2262 * found in the LICENSE file at https://angular.io/license
2263 */!function(t,e,n){const i=t.\u0275cmp;i.directiveDefs=()=>e.map(Zt),i.pipeDefs=()=>n.map(Ut)}(Vb,[nu,gk,Hh,jb],[fu]);let vk=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=qt({type:t}),t.\u0275inj=pt({imports:[[gu,yk,Ah]]}),t})();const bk=new qn("GO_MUS_API_CONFIG");let wk=(()=>{class t{constructor(t,e){this.http=t,this.apiConfig=e}getDateBlockings(t,e){return this.http.get(this.getGomusApiEndpointUrl(`/events/${t}/dates/${e}/blockings`),{withCredentials:!0})}addSeatReservation(t,e,n){return this.http.post(this.getGomusApiEndpointUrl(`/events/${t}/dates/${e}/blockings?seat_id=${n}`),null,{withCredentials:!0})}removeSeatReservation(t,e,n){return this.http.delete(this.getGomusApiEndpointUrl(`/events/${t}/dates/${e}/blockings?seat_id=${n}`),{withCredentials:!0})}getGomusApiEndpointUrl(t){return`${this.getGomusApiBaseUrl()}${t}`}getGomusApiBaseUrl(){var t,e,n,i;if("string"!=typeof(null===(t=this.apiConfig)||void 0===t?void 0:t.baseUrl))throw"baseUrl property needs to be specified in api configuration.";let s=(null===(e=this.apiConfig)||void 0===e?void 0:e.baseUrl.startsWith("http"))?null===(n=this.apiConfig)||void 0===n?void 0:n.baseUrl:`https://${null===(i=this.apiConfig)||void 0===i?void 0:i.baseUrl}`;return(null==s?void 0:s.endsWith("/"))&&(s=s.substring(0,s.length-1)),s}}return t.\u0275fac=function(e){return new(e||t)(ui(fh),ui(bk))},t.\u0275prov=dt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Ck=(()=>{class t{constructor(t){this.gomusApi=t}configureWith(t,e){this.eventId=t,this.dateId=e}getBlockedSeats(){return this.eventId&&this.dateId?this.gomusApi.getDateBlockings(this.eventId,this.dateId).pipe(x(t=>this.getBlockedSeatsFromResponse(t))):Wu([])}addSeatReservation(t){if(this.eventId&&this.dateId)return this.gomusApi.addSeatReservation(this.eventId,this.dateId,t.id).pipe(x(e=>{const n=this.getReservedSeatsFromResponse(e).find(e=>e.id=t.id);if(n)return n;throw new Error(`Reserved seat data not found in Gomus API response. This should not happen! Seat id: ${t.id}`)}));throw new Error("EventId and dateId must be specified when you want to add a seat reservation")}removeSeatReservation(t){if(this.eventId&&this.dateId)return this.gomusApi.removeSeatReservation(this.eventId,this.dateId,t.id).pipe(md(void 0));throw new Error("EventId and dateId must be specified when you want to cancel a seat reservation.")}getBlockedSeatsFromResponse(t={}){const{blocked_seats:e=[]}=t;return e.map(t=>({id:t}))}getReservedSeatsFromResponse(t={}){const{reserved_seats:e=[]}=t;return Object.entries(e).map(([t,e])=>({id:Number(t),reservedUntil:e}))}}return t.\u0275fac=function(e){return new(e||t)(ui(wk))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})();function Sk(t,e){if(1&t){const t=Xr();Kr(0),Gr(1,"go-seating",1),eo("seatingChanged",function(e){return Re(t),oo().onSeatingChanged(e)}),qr(),Yr()}if(2&t){const t=e.$implicit,n=oo();ds(1),Zr("seating",t)("config",n.config)}}let Ek=(()=>{class t{constructor(t){this.gomusSeatingService=t,this.seatings$=new sd(1),this.seatingUpdated=new ul}onSeatingChanged(t){this.seatingUpdated.emit(t)}ngOnChanges(){this.eventId&&this.dateId&&this.seatings&&(this.gomusSeatingService.configureWith(this.eventId,this.dateId),this.seatings$.next(this.seatings))}}return t.\u0275fac=function(e){return new(e||t)($r(ud))},t.\u0275cmp=$t({type:t,selectors:[["go-mus-seating"]],inputs:{dateId:"dateId",eventId:"eventId",config:"config",seatings:"seatings"},outputs:{seatingUpdated:"seatingUpdated"},features:[Qo([],[{provide:ud,useClass:Ck}]),ce],decls:2,vars:3,consts:[[4,"ngFor","ngForOf"],[3,"seating","config","seatingChanged"]],template:function(t,e){1&t&&(Hr(0,Sk,2,2,"ng-container",0),rl(1,"async")),2&t&&Zr("ngForOf",ol(1,1,e.seatings$))},directives:[tu,Vb],pipes:[fu],styles:["[_nghost-%COMP%]{display:block}"]}),t})(),kk=(()=>{class t{constructor(t){this.gomusApiConfig=t}intercept(t,e){var n;if(!t.url.includes(this.gomusApiConfig.baseUrl))return e.handle(t);let i=t.headers,s=t.params;if(this.gomusApiConfig.shop&&(i=i.set("X-Shop-Url",this.gomusApiConfig.shop)),null===(n=this.gomusApiConfig.auth)||void 0===n?void 0:n.bearer){const t=this.gomusApiConfig.auth.bearer;i=i.set("token-type","bearer").set("access-token",t.accessToken).set("client",t.client).set("expiry",t.expiry.toString()).set("uid",t.uid)}return this.gomusApiConfig.locale&&(s=t.params.append("locale",this.gomusApiConfig.locale)),e.handle(t.clone({headers:i,params:s}))}}return t.\u0275fac=function(e){return new(e||t)(ui(bk))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})();
2264/**
2265 * @license Angular v11.2.5
2266 * (c) 2010-2021 Google LLC. https://angular.io/
2267 * License: MIT
2268 */
2269/**
2270 * @license
2271 * Copyright Google LLC All Rights Reserved.
2272 *
2273 * Use of this source code is governed by an MIT-style license that can be
2274 * found in the LICENSE file at https://angular.io/license
2275 */
2276const xk={schedule(t,e){const n=setTimeout(t,e);return()=>clearTimeout(n)},scheduleBeforeRender(t){if("undefined"==typeof window)return xk.schedule(t,0);if(void 0===window.requestAnimationFrame)return xk.schedule(t,16);const e=window.requestAnimationFrame(t);return()=>window.cancelAnimationFrame(e)}};let Tk;function Ok(t,e,n){let i=n;return function(t){return!!t&&t.nodeType===Node.ELEMENT_NODE}(t)&&e.some((e,n)=>!("*"===e||!function(t,e){if(!Tk){const t=Element.prototype;Tk=t.matches||t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector}return t.nodeType===Node.ELEMENT_NODE&&Tk.call(t,e)}(t,e)||(i=n,0))),i}
2277/**
2278 * @license
2279 * Copyright Google LLC All Rights Reserved.
2280 *
2281 * Use of this source code is governed by an MIT-style license that can be
2282 * found in the LICENSE file at https://angular.io/license
2283 */class Ak{constructor(t,e){this.componentFactory=e.get(ea).resolveComponentFactory(t)}create(t){return new Ik(this.componentFactory,t)}}class Ik{constructor(t,e){this.componentFactory=t,this.injector=e,this.eventEmitters=new sd(1),this.events=this.eventEmitters.pipe(yd(t=>U(...t))),this.componentRef=null,this.viewChangeDetectorRef=null,this.inputChanges=null,this.hasInputChanges=!1,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set(this.componentFactory.inputs.map(({propName:t})=>t)),this.ngZone=this.injector.get(Yl),this.elementZone="undefined"==typeof Zone?null:this.ngZone.run(()=>Zone.current)}connect(t){this.runInZone(()=>{if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);null===this.componentRef&&this.initializeComponent(t)})}disconnect(){this.runInZone(()=>{null!==this.componentRef&&null===this.scheduledDestroyFn&&(this.scheduledDestroyFn=xk.schedule(()=>{null!==this.componentRef&&(this.componentRef.destroy(),this.componentRef=null,this.viewChangeDetectorRef=null)},10))})}getInputValue(t){return this.runInZone(()=>null===this.componentRef?this.initialInputValues.get(t):this.componentRef.instance[t])}setInputValue(t,e){this.runInZone(()=>{var n,i;null!==this.componentRef?((n=e)!==(i=this.getInputValue(t))&&(n==n||i==i)||void 0===e&&this.unchangedInputs.has(t))&&(this.recordInputChange(t,e),this.unchangedInputs.delete(t),this.hasInputChanges=!0,this.componentRef.instance[t]=e,this.scheduleDetectChanges()):this.initialInputValues.set(t,e)})}initializeComponent(t){const e=kr.create({providers:[],parent:this.injector}),n=
2284/**
2285 * @license
2286 * Copyright Google LLC All Rights Reserved.
2287 *
2288 * Use of this source code is governed by an MIT-style license that can be
2289 * found in the LICENSE file at https://angular.io/license
2290 */
2291function(t,e){const n=t.childNodes,i=e.map(()=>[]);let s=-1;e.some((t,e)=>"*"===t&&(s=e,!0));for(let r=0,o=n.length;r<o;++r){const t=n[r],o=Ok(t,e,s);-1!==o&&i[o].push(t)}return i}(t,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(e,n,t),this.viewChangeDetectorRef=this.componentRef.injector.get(Da),this.implementsOnChanges="function"==typeof this.componentRef.instance.ngOnChanges,this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges(),this.injector.get(gc).attachView(this.componentRef.hostView)}
2291initializeInputs(){this.componentFactory.inputs.forEach(({propName:t})=>{this.initialInputValues.has(t)&&this.setInputValue(t,this.initialInputValues.get(t))}),this.initialInputValues.clear()}initializeOutputs(t){const e=this.componentFactory.outputs.map(({propName:e,templateName:n})=>t.instance[e].pipe(x(t=>({name:n,value:t}))));this.eventEmitters.next(e)}callNgOnChanges(t){if(!this.implementsOnChanges||null===this.inputChanges)return;const e=this.inputChanges;this.inputChanges=null,t.instance.ngOnChanges(e)}markViewForCheck(t){this.hasInputChanges&&(this.hasInputChanges=!1,t.markForCheck())}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=xk.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(t,e){if(!this.implementsOnChanges)return;null===this.inputChanges&&(this.inputChanges={});const n=this.inputChanges[t];if(n)return void(n.currentValue=e);const i=this.unchangedInputs.has(t),s=i?void 0:this.getInputValue(t);this.inputChanges[t]=new le(s,e,i)}detectChanges(){null!==this.componentRef&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(t){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(t):t()}}
2292/**
2293 * @license
2294 * Copyright Google LLC All Rights Reserved.
2295 *
2296 * Use of this source code is governed by an MIT-style license that can be
2297 * found in the LICENSE file at https://angular.io/license
2298 */class Dk extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}new ha("11.2.5"),"undefined"!=typeof window&&window,"undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,"undefined"!=typeof global&&global;
2299/**
2300 * @license
2301 * Copyright Google LLC All Rights Reserved.
2302 *
2303 * Use of this source code is governed by an MIT-style license that can be
2304 * found in the LICENSE file at https://angular.io/license
2305 */
2306class Pk{constructor(t){this.digits=t}static zero(){return new Pk([0])}static one(){return new Pk([1])}clone(){return new Pk(this.digits.slice())}add(t){const e=this.clone();return e.addToSelf(t),e}addToSelf(t){const e=Math.max(this.digits.length,t.digits.length);let n=0;for(let i=0;i<e;i++){let e=n;i<this.digits.length&&(e+=this.digits[i]),i<t.digits.length&&(e+=t.digits[i]),e>=10?(this.digits[i]=e-10,n=1):(this.digits[i]=e,n=0)}n>0&&(this.digits[e]=1)}toString(){let t="";for(let e=this.digits.length-1;e>=0;e--)t+=this.digits[e];return t}}class Rk{constructor(t){this.powerOfTwos=[t]}getValue(){return this.powerOfTwos[0]}multiplyBy(t){const e=Pk.zero();return this.multiplyByAndAddTo(t,e),e}multiplyByAndAddTo(t,e){for(let n=0;0!==t;t>>>=1,n++)if(1&t){const t=this.getMultipliedByPowerOfTwo(n);e.addToSelf(t)}}getMultipliedByPowerOfTwo(t){for(let e=this.powerOfTwos.length;e<=t;e++){const t=this.powerOfTwos[e-1];this.powerOfTwos[e]=t.add(t)}return this.powerOfTwos[t]}}class Mk{constructor(t){this.base=t,this.exponents=[new Rk(Pk.one())]}toThePowerOf(t){for(let e=this.exponents.length;e<=t;e++){const t=this.exponents[e-1].multiplyBy(this.base);this.exponents[e]=new Rk(t)}return this.exponents[t]}}
2307/**
2308 * @license
2309 * Copyright Google LLC All Rights Reserved.
2310 *
2311 * Use of this source code is governed by an MIT-style license that can be
2312 * found in the LICENSE file at https://angular.io/license
2313 */function Nk(t){const e=function(t){let e=[];for(let n=0;n<t.length;n++){let i=t.charCodeAt(n);if(i>=55296&&i<=56319&&t.length>n+1){const e=t.charCodeAt(n+1);e>=56320&&e<=57343&&(n++,i=(i-55296<<10)+e-56320+65536)}i<=127?e.push(i):i<=2047?e.push(i>>6&31|192,63&i|128):i<=65535?e.push(i>>12|224,i>>6&63|128,63&i|128):i<=2097151&&e.push(i>>18&7|240,i>>12&63|128,i>>6&63|128,63&i|128)}return e}(t);let n=Fk(e,0),i=Fk(e,102072);return 0!=n||0!=i&&1!=i||(n^=319790063,i^=-1801410264),[n,i]}function Fk(t,e){let n,i=2654435769,s=2654435769;const r=t.length;for(n=0;n+12<=r;n+=12){i=zk(i,$k(t,n,Lk.Little)),s=zk(s,$k(t,n+4,Lk.Little));const r=Vk(i,s,e=zk(e,$k(t,n+8,Lk.Little)));i=r[0],s=r[1],e=r[2]}return i=zk(i,$k(t,n,Lk.Little)),s=zk(s,$k(t,n+4,Lk.Little)),e=zk(e,r),Vk(i,s,e=zk(e,$k(t,n+8,Lk.Little)<<8))[2]}function Vk(t,e,n){return t=Bk(t,e),t=Bk(t,n),t^=n>>>13,e=Bk(e,n),e=Bk(e,t),e^=t<<8,n=Bk(n,t),n=Bk(n,e),n^=e>>>13,t=Bk(t,e),t=Bk(t,n),t^=n>>>12,e=Bk(e,n),e=Bk(e,t),e^=t<<16,n=Bk(n,t),n=Bk(n,e),n^=e>>>5,t=Bk(t,e),t=Bk(t,n),t^=n>>>3,e=Bk(e,n),e=Bk(e,t),e^=t<<10,n=Bk(n,t),n=Bk(n,e),[t,e,n^=e>>>15]}var Lk=function(t){return t[t.Little=0]="Little",t[t.Big=1]="Big",t}({});function zk(t,e){return jk(t,e)[1]}function jk(t,e){const n=(65535&t)+(65535&e),i=(t>>>16)+(e>>>16)+(n>>>16);return[i>>>16,i<<16|65535&n]}function Bk(t,e){const n=(65535&t)-(65535&e);return(t>>16)-(e>>16)+(n>>16)<<16|65535&n}function Hk(t,e){return e>=t.length?0:t[e]}function $k(t,e,n){let i=0;if(n===Lk.Big)for(let s=0;s<4;s++)i+=Hk(t,e+s)<<24-8*s;else for(let s=0;s<4;s++)i+=Hk(t,e+s)<<8*s;return i}const Zk=new Mk(256);function Uk(t,e){if(":"!==e.charAt(0))return{text:t};{const n=function(t,e){for(let n=1,i=1;n<t.length;n++,i++)if("\\"===e[i])i++;else if(":"===t[n])return n;throw new Error(`Unterminated $localize metadata block in "${e}".`)}
2314/**
2315 * @license
2316 * Copyright Google LLC All Rights Reserved.
2317 *
2318 * Use of this source code is governed by an MIT-style license that can be
2319 * found in the LICENSE file at https://angular.io/license
2320 */(t,e);return{block:t.substring(1,n),text:t.substring(n+1)}}}function Gk(t){return 1===t?"PH":"PH_"+(t-1)}
2320class qk extends Error{constructor(t){super(`No translation found for ${Wk(t)}.`),this.parsedMessage=t,this.type="MissingTranslationError"}}function Wk(t){const e=t.meaning&&` - "${t.meaning}"`,n=t.legacyIds&&t.legacyIds.length>0?` [${t.legacyIds.map(t=>`"${t}"`).join(", ")}]`:"";return`"${t.id}"${n} ("${t.text}"${e})`}
2321/**
2322 * @license
2323 * Copyright Google LLC All Rights Reserved.
2324 *
2325 * Use of this source code is governed by an MIT-style license that can be
2326 * found in the LICENSE file at https://angular.io/license
2327 */function Kk(t,e){try{return function(t,e,n){const i=
2328/**
2329 * @license
2330 * Copyright Google LLC All Rights Reserved.
2331 *
2332 * Use of this source code is governed by an MIT-style license that can be
2333 * found in the LICENSE file at https://angular.io/license
2334 */
2335function(t,e,n,i,s=[]){const r={},o={},a=function(t,e){const{text:n,block:i}=Uk(t,e);if(void 0===i)return{text:n};{const[t,...e]=i.split("\u241f"),[s,r]=t.split("@@",2);let[o,a]=s.split("|",2);return void 0===a&&(a=o,o=void 0),""===a&&(a=void 0),{text:n,meaning:o,description:a,customId:r,legacyIds:e}}}(t[0],t.raw[0]),l=[a.text],c=[];let u=a.text;for(let p=1;p<t.length;p++){const{text:n,block:i=Gk(p)}=Uk(t[p],t.raw[p]);u+=`{$${i}}${n}`,void 0!==e&&(r[i]=e[p-1],o[i]=s[p-1]),c.push(i),l.push(n)}const h=a.customId||function(t,e=""){let n=Nk(t);if(e){const t=Nk(e);n=function(t,e){const n=t[0],i=e[0],s=jk(t[1],e[1]),r=s[0],o=s[1];return[zk(zk(n,i),r),o]}(function(t,e){const n=t[0],i=t[1];return[n<<1|i>>>31,i<<1|n>>>31]}(n),t)}return function(t,e){const n=Zk.toThePowerOf(0).multiplyBy(e);return Zk.toThePowerOf(4).multiplyByAndAddTo(t,n),n.toString()}
2336/**
2337 * @license
2338 * Copyright Google LLC All Rights Reserved.
2339 *
2340 * Use of this source code is governed by an MIT-style license that can be
2341 * found in the LICENSE file at https://angular.io/license
2342 */(2147483647&n[0],n[1])}(u,a.meaning||""),d=a.legacyIds?a.legacyIds.filter(t=>t!==h):[];return{id:h,legacyIds:d,substitutions:r,substitutionLocations:o,text:u,customId:a.customId,meaning:a.meaning||"",description:a.description||"",messageParts:l,messagePartLocations:i,placeholderNames:c,location:n}}(e,n);let s=t[i.id];if(void 0!==i.legacyIds)for(let r=0;r<i.legacyIds.length&&void 0===s;r++)s=t[i.legacyIds[r]];if(void 0===s)throw new qk(i);return[s.messageParts,s.placeholderNames.map(t=>{if(i.substitutions.hasOwnProperty(t))return i.substitutions[t];throw new Error(`There is a placeholder name mismatch with the translation provided for the message ${Wk(i)}.\nThe translation contains a placeholder with name ${t}, which does not exist in the message.`)})]}($localize.TRANSLATIONS,t,e)}catch(n){return console.warn(n.message),[t,e]}}
2343/**
2344 * @license
2345 * Copyright Google LLC All Rights Reserved.
2346 *
2347 * Use of this source code is governed by an MIT-style license that can be
2348 * found in the LICENSE file at https://angular.io/license
2349 */
2350/**
2351 * @license
2352 * Copyright Google LLC All Rights Reserved.
2353 *
2354 * Use of this source code is governed by an MIT-style license that can be
2355 * found in the LICENSE file at https://angular.io/license
2356 */
2357/**
2358 * @license
2359 * Copyright Google LLC All Rights Reserved.
2360 *
2361 * Use of this source code is governed by an MIT-style license that can be
2362 * found in the LICENSE file at https://angular.io/license
2363 */function Yk(t,e){if(1&t){const t=Xr();Kr(0),Gr(1,"go-mus-seating",1),eo("seatingUpdated",function(e){return Re(t),oo().onSeatingUpdated(e)}),qr(),Yr()}if(2&t){const t=oo();ds(1),Zr("dateId",t.dateId)("eventId",t.eventId)("seatings",t.seatings)("config",t.config)}}let Xk=(()=>{class t{constructor(t,e,n){this.host=t,this.localeId=e,this.gomusApiConfig=n,this.seatings=[],this.seatingUpdated=new ul,this.mapGomusApiEventDateToSeatings=(t,e)=>class{static getSeatingDataFromEventData(t,e=""){const n=t.prices;return t.seatings.map(t=>({svgUrl:this.convertVisualUrlToAbsoluteGomusApiUrl(t.visual_url,e),seats:this.getSeats(t,n)}))}static getSeats(t,e){if(!Array.isArray(t.seats))return[];const n=[];return t.seats.forEach(i=>{const s=this.getSeatingCategories(t,e),r=this.getSeatingRows(t),o=this.getSeatTypes(t),a=s.get(i.category_id),l=r.get(i.row_id),c=this.isSeatReserved(t,i.id);if(a&&l){const e={id:i.id,status:this.getSeatStatus(t,i.id),title:i.title,de
2363scription:i.description,category:a,row:l,type:o.get(i.type_id),reservedUntil:c};n.push(e)}}),n}static getSeatingCategories(t,e){return this.createIdMapFromArray(t.categories,t=>({title:t.title,description:t.description,availablePrices:this.getSeatingCategoryPrices(e,t.id),color:t.color_code}))}static getSeatingCategoryPrices(t,e){return t.filter(t=>t.seat_category_id===e).map(t=>({id:t.scale_price_id,title:t.title,value:{amountInCents:t.price_cents,currencyCode:"EUR"},taxes:[{included:!0,rate:t.vat_pct}],description:t.description}))}static getSeatTypes(t){return this.createIdMapFromArray(t.types,t=>({title:t.title,description:t.description}))}static getSeatingRows(t){return this.createIdMapFromArray(null==t?void 0:t.rows,t=>({title:t.title}))}static createIdMapFromArray(t,e){const n=new Map;return Array.isArray(t)?(t.map(t=>{"number"==typeof t.id&&n.set(t.id,e(t))}),n):n}static getSeatStatus(t,e){var n;return void 0===t.reserved_seats?Zh.Available:Object.keys(t.reserved_seats).includes(String(e))?Zh.Selected:(null===(n=t.blocked_seats)||void 0===n?void 0:n.includes(e))?Zh.Blocked:Zh.Available}static isSeatReserved(t,e){if(void 0!==t.reserved_seats)return Object.keys(t.reserved_seats).includes(String(e))?new Date(t.reserved_seats[e]):void 0}static convertVisualUrlToAbsoluteGomusApiUrl(t,e){if(t.startsWith("http"))return t;if(t.includes("api/v")){const n=e.match(/(.*\/\/[^/]*)(\/|$)/);if(null!==n&&n.length>0)return n[1]+t}return e+t}}.getSeatingDataFromEventData(t,e),this.host.nativeElement.mapGomusApiEventDateToSeatings=this.mapGomusApiEventDateToSeatings.bind(this)}set config(t){var e,n,i,s,r;(null==t?void 0:t.api)&&(this.gomusApiConfig.baseUrl=t.api.baseUrl,this.gomusApiConfig.shop=t.api.shop,this.gomusApiConfig.auth=t.api.auth,this.gomusApiConfig.locale=null!==(e=t.api.locale)&&void 0!==e?e:null===(n=t.i18n)||void 0===n?void 0:n.locale),(null===(i=null==t?void 0:t.i18n)||void 0===i?void 0:i.locale)&&this.localeId.changeTo(t.i18n.locale),(null===(s=null==t?void 0:t.i18n)||void 0===s?void 0:s.translations)&&(r=t.i18n.translations,$localize.translate||($localize.translate=Kk),$localize.TRANSLATIONS||($localize.TRANSLATIONS={}),Object.keys(r).forEach(t=>{$localize.TRANSLATIONS[t]=function(t){const e=t.split(/{\$([^}]*)}/),n=[e[0]],i=[];for(let a=1;a<e.length-1;a+=2)i.push(e[a]),n.push(`${e[a+1]}`);const s=n.map(t=>":"===t.charAt(0)?"\\"+t:t);return{text:t,messageParts:(r=n,o=s,Object.defineProperty(r,"raw",{value:o}),r),placeholderNames:i};var r,o}(r[t])})),this._config=t}get config(){return this._config}onSeatingUpdated(t){this.seatingUpdated.emit(t)}}return t.HTML_TAG_NAME="go-mus-wc-seating",t.\u0275fac=function(e){return new(e||t)($r(ra),$r(Ll),$r(bk))},t.\u0275cmp=$t({type:t,selectors:[["go-mus-wc-seating"]],inputs:{dateId:"dateId",eventId:"eventId",config:"config",seatings:"seatings"},outputs:{seatingUpdated:"seatingUpdated"},decls:1,vars:1,consts:[[4,"ngIf"],[3,"dateId","eventId","seatings","config","seatingUpdated"]],template:function(t,e){1&t&&Hr(0,Yk,2,4,"ng-container",0),2&t&&Zr("ngIf",e.config)},directives:[nu,Ek],styles:["[_nghost-%COMP%]{display:block}"]}),t})();var Qk=n("VLs4"),Jk=n.n(Qk),tx=n("Hfs6"),ex=n.n(tx),nx=n("b6vB"),ix=n.n(nx),sx=n("BAOO"),rx=n.n(sx);class ox{}class ax extends String{constructor(t){super(t),this.localeId=t}changeTo(t){this.localeId=t}toString(){return this.localeId}}let lx=(()=>{class t{constructor(t){this.injector=t,Yc(Jk.a),Yc(ex.a),Yc(ix.a),Yc(rx.a)}ngDoBootstrap(){customElements.define(Xk.HTML_TAG_NAME,function(t,e){const n=function(t,e){return e.get(ea).resolveComponentFactory(t).inputs}(t,e.injector),i=e.strategyFactory||new Ak(t,e.injector),s=function(t){const e={};return t.forEach(({propName:t,templateName:n})=>{var i;e[(i=n,i.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`))]=t}),e}(n);class r extends Dk{constructor(t){super(),this.injector=t}get ngElementStrategy(){if(!this._ngElementStrategy){const t=this._ngElementStrategy=i.create(this.injector||e.injector);n.forEach(({propName:e})=>{if(!this.hasOwnProperty(e))return;const n=this[e];delete this[e],t.setInputValue(e,n)})}return this._ngElementStrategy}attributeChangedCallback(t,e,n,i){this.ngElementStrategy.setInputValue(s[t],n)}connectedCallback(){let t=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),t=!0),this.ngElementStrategy.connect(this),t||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}
2363subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(t=>{const e=function(t,e,n){if("function"!=typeof CustomEvent){const i=t.createEvent("CustomEvent");return i.initCustomEvent(e,!1,!1,n),i}return new CustomEvent(e,{bubbles:!1,cancelable:!1,detail:n})}(this.ownerDocument,t.name,t.value);this.dispatchEvent(e)})}}return r.observedAttributes=Object.keys(s),n.forEach(({propName:t})=>{Object.defineProperty(r.prototype,t,{get(){return this.ngElementStrategy.getInputValue(t)},set(e){this.ngElementStrategy.setInputValue(t,e)},configurable:!0,enumerable:!0})}),r}
2364/**
2365 * @license
2366 * Copyright Google LLC All Rights Reserved.
2367 *
2368 * Use of this source code is governed by an MIT-style license that can be
2369 * found in the LICENSE file at https://angular.io/license
2370 */(Xk,{injector:this.injector}))}}return t.\u0275fac=function(e){return new(e||t)(ui(kr))},t.\u0275mod=qt({type:t}),t.\u0275inj=pt({providers:[{provide:Ll,useValue:new ax("de")},{provide:bk,useValue:new ox},{provide:Ed,useValue:Sd.mergeWith({buttons:{appearance:"stroked"},formFields:{appearance:"outline"}})},{provide:gh,useClass:kk,multi:!0}],imports:[[Gu,vk,Zg]]}),t})();(function(){if(cc)throw new Error("Cannot enable prod mode after platform setup.");lc=!1}
2371/**
2372 * @license
2373 * Copyright Google LLC All Rights Reserved.
2374 *
2375 * Use of this source code is governed by an MIT-style license that can be
2376 * found in the LICENSE file at https://angular.io/license
2377 */)(),Zu().bootstrapModule(lx).catch(t=>console.error(t))},zn8P:function(t,e){function n(t){return Promise.resolve().then(function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e})}n.keys=function(){return[]},n.resolve=n,t.exports=n,n.id="zn8P"}});
2378//# sourceMappingURL=gomus-webcomponents.min.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.