@aquera/data-visualizer-sdk 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ask-aquera/src/ask-aquera-config.d.ts +182 -0
- package/chunk-4PS3OAOS.js +1 -0
- package/chunk-5CTM6JVQ.js +1 -0
- package/chunk-6B33KNVC.js +13 -0
- package/chunk-6JUHOJCQ.js +5 -0
- package/chunk-6Q3P5YXE.js +2 -0
- package/chunk-7ROJSOMZ.js +1 -0
- package/chunk-ATIVRRY6.js +2 -0
- package/chunk-AYEY6YSX.js +1 -0
- package/chunk-BTDKTIE6.js +2 -0
- package/chunk-CFURBIBO.js +1 -0
- package/chunk-DPG6F2YZ.js +1 -0
- package/chunk-ECNT4X4C.js +8 -0
- package/chunk-F6ZDDRJ7.js +21 -0
- package/chunk-FK6H3RFT.js +1 -0
- package/chunk-FZDVALWH.js +1 -0
- package/chunk-GE5TYRBE.js +18 -0
- package/chunk-GHVB7A27.js +2 -0
- package/chunk-H2YEWK77.js +1 -0
- package/chunk-HIPUXYQH.js +18 -0
- package/chunk-IWMWQ3LG.js +12 -0
- package/chunk-JP5QY5S6.js +2 -0
- package/chunk-JXQ2DURN.js +40813 -0
- package/chunk-LSC4KQ4U.js +1 -0
- package/chunk-MMU63XDX.js +1 -0
- package/chunk-ORMWZQE4.js +1 -0
- package/chunk-P6Z3OD2O.js +26 -0
- package/chunk-QAUTHFGS.js +1 -0
- package/chunk-QDERNBJG.js +12 -0
- package/chunk-RB5CGMJ7.js +1 -0
- package/chunk-REQTBAAZ.js +1 -0
- package/chunk-RLJG3U7S.js +23 -0
- package/chunk-THFIOYOT.js +1 -0
- package/chunk-W25JWAKD.js +1 -0
- package/chunk-W7JUPIHD.js +1 -0
- package/chunk-XEG2ZCTG.js +1 -0
- package/chunk-XRJ2TFI3.js +1 -0
- package/chunk-Y42W4DYB.js +4 -0
- package/chunk-YOMAZ3ZR.js +1 -0
- package/chunk-ZAZ2JO4L.js +1 -0
- package/chunk-ZW5NV4UO.js +1 -0
- package/dashboards/src/dashboards-config.d.ts +138 -0
- package/index.d.ts +49 -0
- package/main.js +1 -0
- package/package.json +27 -0
- package/styles.css +1 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{e as Re}from"./chunk-ZW5NV4UO.js";var We=Re((P,U)=>{(function(x,O){typeof P=="object"&&typeof U=="object"?U.exports=O(x._Highcharts,x._Highcharts.Templating):typeof define=="function"&&define.amd?define("highcharts/modules/drilldown",["highcharts/highcharts"],function(A){return O(A,A.Templating)}):typeof P=="object"?P["highcharts/modules/drilldown"]=O(x._Highcharts,x._Highcharts.Templating):x.Highcharts=O(x.Highcharts,x.Highcharts.Templating)})("u"<typeof window?P:window,(x,O)=>(()=>{"use strict";var A,ee={944:l=>{l.exports=x},984:l=>{l.exports=O}},j={};function b(l){var i=j[l];if(i!==void 0)return i.exports;var e=j[l]={exports:{}};return ee[l](e,e.exports,b),e.exports}b.n=l=>{var i=l&&l.__esModule?()=>l.default:()=>l;return b.d(i,{a:i}),i},b.d=(l,i)=>{for(var e in i)b.o(i,e)&&!b.o(l,e)&&Object.defineProperty(l,e,{enumerable:!0,get:i[e]})},b.o=(l,i)=>Object.prototype.hasOwnProperty.call(l,i);var F={};b.d(F,{default:()=>je});var te=b(944),D=b.n(te);let ie={mainBreadcrumb:"Main"};var oe=b(984);let{format:re}=b.n(oe)(),{composed:le}=D(),{addEvent:E,defined:se,extend:ne,fireEvent:ae,isString:de,merge:C,objectEach:H,pick:V,pushUnique:pe}=D();function he(){if(this.breadcrumbs){let l=this.resetZoomButton&&this.resetZoomButton.getBBox(),i=this.breadcrumbs.options;l&&i.position.align==="right"&&i.relativeTo==="plotBox"&&this.breadcrumbs.alignBreadcrumbsGroup(-l.width-i.buttonSpacing)}}function ue(){this.breadcrumbs&&(this.breadcrumbs.destroy(),this.breadcrumbs=void 0)}function ce(){let l=this.breadcrumbs;if(l&&!l.options.floating&&l.level){let i=l.options,e=i.buttonTheme,t=(e.height||0)+2*(e.padding||0)+i.buttonSpacing,o=i.position.verticalAlign;o==="bottom"?(this.marginBottom=(this.marginBottom||0)+t,l.yOffset=t):o!=="middle"?(this.plotTop+=t,l.yOffset=-t):l.yOffset=void 0}}function me(){this.breadcrumbs&&this.breadcrumbs.redraw()}function we(l){l.resetSelection===!0&&this.breadcrumbs&&this.breadcrumbs.alignBreadcrumbsGroup()}let M=(()=>{class l{static compose(e,t){pe(le,"Breadcrumbs")&&(E(e,"destroy",ue),E(e,"afterShowResetZoom",he),E(e,"getMargins",ce),E(e,"redraw",me),E(e,"selection",we),ne(t.lang,ie))}constructor(e,t){this.elementList={},this.isDirty=!0,this.level=0,this.list=[];let o=C(e.options.drilldown&&e.options.drilldown.drillUpButton,l.defaultOptions,e.options.navigation&&e.options.navigation.breadcrumbs,t);this.chart=e,this.options=o||{}}updateProperties(e){this.setList(e),this.setLevel(),this.isDirty=!0}setList(e){this.list=e}setLevel(){this.level=this.list.length&&this.list.length-1}getLevel(){return this.level}getButtonText(e){let t=this.chart,o=this.options,r=t.options.lang,d=V(o.format,o.showFullPath?"{level.name}":"\u2190 {level.name}"),n=r&&V(r.drillUpText,r.mainBreadcrumb),u=o.formatter&&o.formatter(e)||re(d,{level:e.levelOptions},t)||"";return(de(u)&&!u.length||u==="\u2190 ")&&se(n)&&(u=o.showFullPath?n:"\u2190 "+n),u}redraw(){this.isDirty&&this.render(),this.group&&this.group.align(),this.isDirty=!1}render(){let e=this.chart,t=this.options;!this.group&&t&&(this.group=e.renderer.g("breadcrumbs-group").addClass("highcharts-no-tooltip highcharts-breadcrumbs").attr({zIndex:t.zIndex}).add()),t.showFullPath?this.renderFullPathButtons():this.renderSingleButton(),this.alignBreadcrumbsGroup()}renderFullPathButtons(){this.destroySingleButton(),this.resetElementListState(),this.updateListElements(),this.destroyListElements()}renderSingleButton(){let e=this.chart,t=this.list,o=this.options.buttonSpacing;this.destroyListElements();let r=this.group?this.group.getBBox().width:o,d=t[t.length-2];!e.drillUpButton&&this.level>0?e.drillUpButton=this.renderButton(d,r,o):e.drillUpButton&&(this.level>0?this.updateSingleButton():this.destroySingleButton())}alignBreadcrumbsGroup(e){if(this.group){let t=this.options,o=t.buttonTheme,r=t.position,d=t.relativeTo==="chart"||t.relativeTo==="spacingBox"?void 0:"plotBox",n=this.group.getBBox(),u=2*(o.padding||0)+t.buttonSpacing;r.width=n.width+u,r.height=n.height+u;let c=C(r);e&&(c.x+=e),this.options.rtl&&(c.x+=r.width),c.y=V(c.y,this.yOffset,0),this.group.align(c,!0,d)}}renderButton(e,t,o){let r=this,d=this.chart,n=r.options,u=C(n.buttonTheme),c=d.renderer.button(r.getButtonText(e),t,o,function(m){let p,s=n.events&&n.events.click;s&&(p=s.call(r,m,e)),p!==!1&&(n.showFullPath?m.newLevel=e.level:m.newLevel=r.level-1,ae(r,"up",m))},u).addClass("highcharts-breadcrumbs-button").add(r.group);return d.styledMode||c.attr(n.style),c}renderSeparator(e,t){let o=this.chart,r=this.options.separator,d=o.renderer.label(r.text,e,t,void 0,void 0,void 0,!1).addClass("highcharts-breadcrumbs-separator").add(this.group);return o.styledMode||d.css(r.style),d}update(e){C(!0,this.options,e),this.destroy(),this.isDirty=!0}updateSingleButton(){let e=this.chart,t=this.list[this.level-1];e.drillUpButton&&e.drillUpButton.attr({text:this.getButtonText(t)})}destroy(){this.destroySingleButton(),this.destroyListElements(!0),this.group&&this.group.destroy(),this.group=void 0}destroyListElements(e){let t=this.elementList;H(t,(o,r)=>{(e||!t[r].updated)&&((o=t[r]).button&&o.button.destroy(),o.separator&&o.separator.destroy(),delete o.button,delete o.separator,delete t[r])}),e&&(this.elementList={})}destroySingleButton(){this.chart.drillUpButton&&(this.chart.drillUpButton.destroy(),this.chart.drillUpButton=void 0)}resetElementListState(){H(this.elementList,e=>{e.updated=!1})}updateListElements(){let e=this.elementList,t=this.options.buttonSpacing,o=this.list,r=this.options.rtl,d=r?-1:1,n=function(s,a){return d*s.getBBox().width+d*a},u=function(s,a,h){s.translate(a-s.getBBox().width,h)},c=this.group?n(this.group,t):t,m,p;for(let s=0,a=o.length;s<a;++s){let h,w,f=s===a-1;e[(p=o[s]).level]?(h=(m=e[p.level]).button,m.separator||f?m.separator&&f&&(m.separator.destroy(),delete m.separator):(c+=d*t,m.separator=this.renderSeparator(c,t),r&&u(m.separator,c,t),c+=n(m.separator,t)),e[p.level].updated=!0):(h=this.renderButton(p,c,t),r&&u(h,c,t),c+=n(h,t),f||(w=this.renderSeparator(c,t),r&&u(w,c,t),c+=n(w,t)),e[p.level]={button:h,separator:w,updated:!0}),h&&h.setState(2*!!f)}}}return l.defaultOptions={buttonSpacing:5,buttonTheme:{fill:"none",height:18,padding:2,"stroke-width":0,zIndex:7,states:{select:{fill:"none"}},style:{color:"#334eff"}},floating:!1,format:void 0,relativeTo:"plotBox",rtl:!1,position:{align:"left",verticalAlign:"top",x:0,y:void 0},separator:{text:"/",style:{color:"#666666",fontSize:"0.8em"}},showFullPath:!0,style:{},useHTML:!1,zIndex:7},l})(),Z={activeAxisLabelStyle:{cursor:"pointer",color:"#0022ff",fontWeight:"bold",textDecoration:"underline"},activeDataLabelStyle:{cursor:"pointer",color:"#0022ff",fontWeight:"bold",textDecoration:"underline"},animation:{duration:500},drillUpButton:{position:{align:"right",x:-10,y:10}},mapZooming:!0},{animObject:z}=D(),{addEvent:L,extend:fe,fireEvent:ge,merge:R,pick:_,syncTimeout:be}=D();function G(l,i,e,t){l[e?"addClass":"removeClass"]("highcharts-drilldown-point"),t||l.css({cursor:i})}function ve(l){let i=this,e=i.chart,{drilldownLevels:t,styledMode:o}=e,r=z(e.options.drilldown?.animation),d=this.xAxis;if(!l){let n;t?.forEach(u=>{i.options._ddSeriesId===u.lowerSeriesOptions._ddSeriesId&&(n=u.shapeArgs,!o&&n&&(n.fill=u.color))}),n.x+=_(d.oldPos,d.pos)-d.pos,i.points.forEach(u=>{let c=u.shapeArgs;o||(c.fill=u.color),u.graphic&&u.graphic.attr(n).animate(fe(u.shapeArgs,{fill:u.color||i.color}),r)}),this.dataLabelsGroups?.forEach(u=>e.drilldown?.fadeInGroup(u)),delete this.animate}}function W(l){let i=this,e=z((i.chart.options.drilldown||{}).animation);i.trackerGroups?.forEach(r=>{r==="dataLabelsGroup"?i.dataLabelsGroups?.forEach(d=>{d?.on("mouseover",()=>{})}):i[r]?.on("mouseover")});let t=i.group,o=t!==i.chart.columnGroup;o&&delete i.group,(this.points||this.data).forEach(r=>{let d=r.graphic,n=l.shapeArgs;if(d&&n){let u=()=>{d.destroy(),t&&o&&(t=t.destroy())};delete r.graphic,i.chart.styledMode||(n.fill=l.color),e.duration?d.animate(n,R(e,{complete:u})):(d.attr(n),u())}})}function q(l){let i=this,e=i.drilldownLevel;l||(i.points.forEach(t=>{let o=t.dataLabel;t.graphic&&t.graphic.hide(),o&&(o.hidden=o.attr("visibility")==="hidden",o.hidden||(o.hide(),o.connector?.hide()))}),be(()=>{if(i.points){let t=[];i.data.forEach(o=>{t.push(o)}),i.nodes&&(t=t.concat(i.nodes)),t.forEach((o,r)=>{let d=r===(e&&e.pointIndex)?"show":"fadeIn",n=o.dataLabel;o.graphic&&o.visible&&o.graphic[d](d==="show"||void 0),n&&!n.hidden&&(n.fadeIn(),n.connector?.fadeIn())})}},Math.max(i.chart.options.drilldown.animation.duration-50,0)),delete this.animate)}function ye(l){let i=this,e=i.chart,t=i.group;e&&t&&i.options&&e.options.drilldown?.animation&&(l&&e.mapView?(t.attr({opacity:.01}),e.mapView.allowTransformAnimation=!1,i.options.inactiveOtherPoints=!0,i.options.enableMouseTracking=!1):(t.animate({opacity:1},e.options.drilldown.animation,()=>{i.options&&(i.options.inactiveOtherPoints=!1,i.options.enableMouseTracking=_(i.userOptions?.enableMouseTracking,!0))}),i.dataLabelsGroups?.forEach(o=>e.drilldown?.fadeInGroup(o))))}function xe(){let l=this.chart;l?.mapView&&(l.mapView.allowTransformAnimation=!1),this.options&&(this.options.inactiveOtherPoints=!0)}function De(l){let i=this.chart,e=this.group;i&&e&&(l?(e.attr({opacity:.01}),this.options&&(this.options.inactiveOtherPoints=!0)):(e.animate({opacity:1},(i.options.drilldown||{}).animation),this.dataLabelsGroups?.forEach(t=>i.drilldown?.fadeInGroup(t))))}function Se(){return this.drilldown&&!this.unbindDrilldownClick&&(this.unbindDrilldownClick=L(this,"click",J)),this}function Be(){let l=this.series,i=l.chart.styledMode;this.drilldown&&l.halo&&this.state==="hover"?G(l.halo,"pointer",!0,i):l.halo&&G(l.halo,"auto",!1,i)}function J(l){let i=this.series;i.xAxis&&(i.chart.options.drilldown||{}).allowPointDrilldown===!1?i.xAxis.drilldownCategory(this.x,l):this.runDrilldown(void 0,void 0,l)}function Le(l){let i=l.options||{};i.drilldown&&!this.unbindDrilldownClick?this.unbindDrilldownClick=L(this,"click",J):!i.drilldown&&i.drilldown!==void 0&&this.unbindDrilldownClick&&(this.unbindDrilldownClick=this.unbindDrilldownClick())}function Oe(){let l=this.chart,i=l.options.drilldown.activeDataLabelStyle,e=l.renderer,t=l.styledMode;for(let o of this.points){let r=o.options.dataLabels,d=_(o.dlOptions,r&&r.style,{});o.drilldown&&o.dataLabel&&(i.color!=="contrast"||t||(d.color=e.getContrast(o.color||this.color)),r&&r.color&&(d.color=r.color),o.dataLabel.addClass("highcharts-drilldown-data-label"),t||o.dataLabel.css(i).css(d))}}function Ae(){let l=this.chart.styledMode;for(let i of this.points)i.drilldown&&i.graphic&&G(i.graphic,"pointer",!0,l)}function Ee(l){let i=this.chart,e=this.points,t=i.drilldownLevels[i.drilldownLevels.length-1],o=i.options.drilldown.animation;if(this.is("item")&&(o.duration=0),this.center){let r=t.shapeArgs,d=r.start,n=(r.end-d)/this.points.length,u=i.styledMode;if(!l){let c,m;for(let p=0,s=e.length;p<s;++p)c=(m=e[p]).shapeArgs,u||(r.fill=t.color,c.fill=m.color),m.graphic&&m.graphic.attr(R(r,{start:d+p*n,end:d+(p+1)*n}))[o?"animate":"attr"](c,o);this.dataLabelsGroups?.forEach(p=>i.drilldown?.fadeInGroup(p)),delete this.animate}}}function Te(){this.runDrilldown()}function Pe(l,i,e){let t=this.series,o=t.chart,r=o.options.drilldown||{},d=(r.series||[]).length,n;for(o.ddDupes||(o.ddDupes=[]),o.colorCounter=o.symbolCounter=0;d--&&!n;)r.series&&r.series[d].id===this.drilldown&&this.drilldown&&o.ddDupes.indexOf(this.drilldown)===-1&&(n=r.series[d],o.ddDupes.push(this.drilldown));ge(o,"drilldown",{point:this,seriesOptions:n,category:i,originalEvent:e,points:i!==void 0&&t.xAxis.getDDPoints(i).slice(0)},u=>{let c=u.point.series?.chart,m=u.seriesOptions;c&&m&&(l?c.addSingleSeriesAsDrilldown(u.point,m):c.addSeriesAsDrilldown(u.point,m))})}let Ce=function(l,i){let e=l.prototype.pointClass,t=e.prototype;if(!t.doDrilldown){let{column:o,map:r,pie:d}=i;if(L(e,"afterInit",Se),L(e,"afterSetState",Be),L(e,"update",Le),t.doDrilldown=Te,t.runDrilldown=Pe,L(l,"afterDrawDataLabels",Oe),L(l,"afterDrawTracker",Ae),o){let n=o.prototype;n.animateDrilldown=ve,n.animateDrillupFrom=W,n.animateDrillupTo=q}if(r){let n=r.prototype;n.animateDrilldown=ye,n.animateDrillupFrom=xe,n.animateDrillupTo=De}if(d){let n=d.prototype;n.animateDrilldown=Ee,n.animateDrillupFrom=W,n.animateDrillupTo=q}}},{animObject:K}=D(),{noop:Me}=D(),{addEvent:S,defined:Ie,diffObjects:ke,extend:N,fireEvent:y,merge:T,objectEach:Ve,pick:I,removeEvent:Ze,syncTimeout:_e}=D(),Q=1;function Ge(l,i){this.getDDPoints(l).forEach(function(e){e&&e.series&&e.series.visible&&e.runDrilldown&&e.runDrilldown(!0,l,i)}),this.chart.applyDrilldown()}function Ne(l){return this.ddPoints&&this.ddPoints[l]||[]}function X(l){let i=[],e=l.drilldownLevels;return e&&e.length&&(i[0]||i.push({level:0,levelOptions:e[0].seriesOptions}),e.forEach(function(t){let o=i[i.length-1];t.levelNumber+1>o.level&&i.push({level:t.levelNumber+1,levelOptions:T({name:t.lowerSeries.name},t.pointOptions)})})),i}class Y{constructor(i){this.chart=i}addSeriesAsDrilldown(i,e){let t=this.chart||this;if(y(this,"addSeriesAsDrilldown",{seriesOptions:e}),t.mapView)if(i.series.isDrilling=!0,t.series.forEach(o=>{o.options.inactiveOtherPoints=!0,o.dataLabelsGroups?.forEach(r=>r?.destroy()),o.dataLabelsGroups=[]}),t.options.drilldown&&!t.mapView.projection.hasGeoProjection&&Z&&(Ie(ke(t.options.drilldown,Z).mapZooming)||(t.options.drilldown.mapZooming=!1)),t.options.drilldown&&t.options.drilldown.animation&&t.options.drilldown.mapZooming){t.mapView.allowTransformAnimation=!0;let o=K(t.options.drilldown.animation);if(typeof o!="boolean"){let r=o.complete,d=function(n){n&&n.applyDrilldown&&t.mapView&&(t.addSingleSeriesAsDrilldown(i,e),t.applyDrilldown(),t.mapView.allowTransformAnimation=!1)};o.complete=function(){r&&r.apply(this,arguments),d.apply(this,arguments)}}i.zoomTo(o)}else t.addSingleSeriesAsDrilldown(i,e),t.applyDrilldown();else t.addSingleSeriesAsDrilldown(i,e),t.applyDrilldown()}addSingleSeriesAsDrilldown(i,e){let t=this.chart||this,o=i.series,r=o.xAxis,d=o.yAxis,n=t.styledMode?{colorIndex:I(i.colorIndex,o.colorIndex)}:{color:i.color||o.color},u=o.options._levelNumber||0;t.drilldownLevels||(t.drilldownLevels=[]),e=N(N({_ddSeriesId:Q++},n),e);let c=[],m=[],p;(p=t.drilldownLevels[t.drilldownLevels.length-1])&&p.levelNumber!==u&&(p=void 0),o.chart.series.forEach(h=>{h.xAxis===r&&(h.options._ddSeriesId=h.options._ddSeriesId||Q++,h.options.colorIndex=h.colorIndex,h.options._levelNumber=h.options._levelNumber||u,p?(c=p.levelSeries,m=p.levelSeriesOptions):(c.push(h),h.purgedOptions=T({_ddSeriesId:h.options._ddSeriesId,_levelNumber:h.options._levelNumber,selected:h.options.selected},h.userOptions),m.push(h.purgedOptions)))});let s=N({levelNumber:u,seriesOptions:o.options,seriesPurgedOptions:o.purgedOptions,levelSeriesOptions:m,levelSeries:c,shapeArgs:i.shapeArgs,bBox:i.graphic?i.graphic.getBBox():{},color:i.isNull?"rgba(0,0,0,0)":n.color,lowerSeriesOptions:e,pointOptions:i.options,pointIndex:i.index,oldExtremes:{xMin:r&&r.userMin,xMax:r&&r.userMax,yMin:d&&d.userMin,yMax:d&&d.userMax},resetZoomButton:p&&p.levelNumber===u?void 0:t.resetZoomButton},n);t.drilldownLevels.push(s),r&&r.names&&(r.names.length=0);let a=s.lowerSeries=t.addSeries(e,!1);a.options._levelNumber=u+1,r&&(r.oldPos=r.pos,r.userMin=r.userMax=null,d.userMin=d.userMax=null),a.isDrilling=!0,o.type===a.type&&(a.animate=a.animateDrilldown||Me,a.options.animation=!0)}applyDrilldown(){let i,e=this.chart||this,t=e.drilldownLevels;t&&t.length>0&&(i=t[t.length-1].levelNumber,e.hasCartesianSeries=t.some(o=>o.lowerSeries.isCartesian),(e.drilldownLevels||[]).forEach(o=>{e.mapView&&e.options.drilldown&&e.options.drilldown.mapZooming&&(e.redraw(),o.lowerSeries.isDrilling=!1,e.mapView.fitToBounds(o.lowerSeries.bounds),o.lowerSeries.isDrilling=!0),o.levelNumber===i&&o.levelSeries.forEach(r=>{if(e.mapView){if(r.options&&r.options._levelNumber===i&&r.group){let d={};e.options.drilldown&&(d=e.options.drilldown.animation),r.group.animate({opacity:0},d,()=>{r.remove(!1),o.levelSeries.filter(n=>Object.keys(n).length).length||(e.resetZoomButton&&(e.resetZoomButton.hide(),delete e.resetZoomButton),e.pointer?.reset(),y(e,"afterDrilldown"),e.mapView&&(e.series.forEach(n=>{n.isDirtyData=!0,n.isDrilling=!1}),e.mapView.fitToBounds(void 0,void 0),e.mapView.allowTransformAnimation=!0),y(e,"afterApplyDrilldown"))})}}else r.options&&r.options._levelNumber===i&&r.remove(!1)})})),e.mapView||(e.resetZoomButton&&(e.resetZoomButton.hide(),delete e.resetZoomButton),e.pointer?.reset(),y(e,"afterDrilldown"),e.hasCartesianSeries||e.axes.forEach(o=>{o.destroy(!0),o.init(e,T(o.userOptions,o.options))}),e.redraw(),y(e,"afterApplyDrilldown"))}drillUp(i){let e=this.chart||this;if(!e.drilldownLevels||e.drilldownLevels.length===0)return;y(e,"beforeDrillUp");let t=e.drilldownLevels,o=t[t.length-1].levelNumber,r=e.series,d=e.drilldownLevels.length,n=(a,h)=>{let w;if(r.forEach(f=>{f.options._ddSeriesId===a._ddSeriesId&&(w=f)}),(w=w||e.addSeries(a,!1)).type===h.type&&w.animateDrillupTo&&(w.animate=w.animateDrillupTo),a===p.seriesPurgedOptions)return w},u=a=>{a.remove(!1),e.series.forEach(h=>{h.colorAxis&&(h.isDirtyData=!0),h.options.inactiveOtherPoints=!1}),e.redraw()},c=t.length,m,p,s;for(e.symbolCounter=e.colorCounter=0;c--;){let a,h;if((p=t[c]).levelNumber===o){if(t.pop(),!(a=p.lowerSeries).chart){for(m=r.length;m--;)if(r[m].options.id===p.lowerSeriesOptions.id&&r[m].options._levelNumber===o+1){a=r[m];break}}a.dataTable.setColumn("x",[]),a.xAxis&&a.xAxis.names&&(d===0||c===d-1)&&(a.xAxis.names.length=0),p.levelSeriesOptions.forEach(f=>{let g=n(f,a);g&&(h=g)}),y(e,"drillup",{seriesOptions:p.seriesPurgedOptions||p.seriesOptions}),h&&(h.type===a.type&&(h.drilldownLevel=p,h.options.animation=e.options.drilldown.animation,a.animateDrillupFrom&&a.chart&&a.animateDrillupFrom(p)),h.options._levelNumber=o);let w=a;if(e.mapView||w.remove(!1),h&&h.xAxis&&(s=p.oldExtremes,h.xAxis.setExtremes(s.xMin,s.xMax,!1),h.yAxis.setExtremes(s.yMin,s.yMax,!1)),p.resetZoomButton&&(e.resetZoomButton=p.resetZoomButton),e.mapView){let f=p.levelNumber===o&&i,g=e.options.drilldown&&e.options.drilldown.animation&&e.options.drilldown.mapZooming;f?a.remove(!1):(a.dataLabelsGroups?.forEach(v=>{v?.destroy()}),a.dataLabelsGroups=[],e.mapView&&h&&(g&&(a.isDrilling=!0,h.isDrilling=!0,e.redraw(!1),e.mapView.fitToBounds(a.bounds,void 0,!0,!1)),e.mapView.allowTransformAnimation=!0,y(e,"afterDrillUp",{seriesOptions:h?h.userOptions:void 0}),g?(e.mapView.setView(void 0,I(e.mapView.minZoom,1),!0,{complete:function(){Object.prototype.hasOwnProperty.call(this,"complete")&&u(a)}}),h._hasTracking=!1):(e.mapView.allowTransformAnimation=!1,a.group?a.group.animate({opacity:0},e.options.drilldown.animation,()=>{u(a),e.mapView&&(e.mapView.allowTransformAnimation=!0)}):(u(a),e.mapView.allowTransformAnimation=!0)),h.isDrilling=!1))}else y(e,"afterDrillUp")}}e.mapView||i||e.redraw(),e.ddDupes&&(e.ddDupes.length=0),y(e,"drillupall")}fadeInGroup(i){let e=K(this.chart.options.drilldown.animation);i&&(i.hide(),_e(()=>{i&&i.added&&i.fadeIn()},Math.max(e.duration-50,0)))}update(i,e){let t=this.chart;T(!0,t.options.drilldown,i),I(e,!0)&&t.redraw()}}(function(l){function i(p){let s=this.chart,a=this.getLevel()-p.newLevel,h=a>1;for(let w=0;w<a;w++)w===a-1&&(h=!1),s.drillUp(h)}function e(){let p=this.options.drilldown,s=p&&p.breadcrumbs;this.breadcrumbs||(this.breadcrumbs=new M(this,s)),this.breadcrumbs.updateProperties(X(this))}function t(){this.breadcrumbs&&this.breadcrumbs.updateProperties(X(this))}function o(){this.drilldown=new Y(this)}function r(){this.resetZoomButton&&(this.resetZoomButton=this.resetZoomButton.destroy())}function d(){this.resetZoomButton&&this.showResetZoom()}function n(){(this.xAxis||[]).forEach(p=>{p.ddPoints={},p.series.forEach(s=>{let a=s.getColumn("x"),h=s.points;for(let w=0,f=a.length,g;w<f;w++)if(typeof(g=s.options.data[w])!="number"&&(g=s.pointClass.prototype.optionsToObject.call({series:s},g)).drilldown){p.ddPoints[a[w]]||(p.ddPoints[a[w]]=[]);let v=w-(s.cropStart||0);p.ddPoints[a[w]].push(!h||!(v>=0)||!(v<h.length)||h[v])}}),Ve(p.ticks,s=>s.drillable())})}function u(p){let s=this.breadcrumbs,a=p.options.drilldown&&p.options.drilldown.breadcrumbs;s&&a&&s.update(a)}function c(p){this.attr({opacity:.1,visibility:"inherit"}).animate({opacity:I(this.newOpacity,1)},p||{duration:250})}function m(){let p=this.pos,s=this.label,a=this.axis,h=a.coll==="xAxis"&&a.getDDPoints,w=h&&a.getDDPoints(p),f=a.chart.styledMode;h&&(s&&w&&w.length?(s.drillable=!0,s.basicStyles||f||(s.basicStyles=T(s.styles)),s.addClass("highcharts-drilldown-axis-label"),s.removeOnDrillableClick&&Ze(s.element,"click"),s.removeOnDrillableClick=S(s.element,"click",function(g){g.preventDefault(),a.drilldownCategory(p,g)}),!f&&a.chart.options.drilldown&&s.css(a.chart.options.drilldown.activeAxisLabelStyle||{})):s&&s.drillable&&s.removeOnDrillableClick&&(f||(s.styles={},s.element.removeAttribute("style"),s.css(s.basicStyles)),s.removeOnDrillableClick(),s.removeClass("highcharts-drilldown-axis-label")))}l.compose=function(p,s,a,h,w,f,g){Ce(h,w);let v=s.prototype;if(!v.drillUp){let Fe=f.prototype.Element,k=Y.prototype,$=p.prototype,He=Fe.prototype,ze=g.prototype;$.drilldownCategory=Ge,$.getDDPoints=Ne,M.compose(s,a),S(M,"up",i),v.addSeriesAsDrilldown=k.addSeriesAsDrilldown,v.addSingleSeriesAsDrilldown=k.addSingleSeriesAsDrilldown,v.applyDrilldown=k.applyDrilldown,v.drillUp=k.drillUp,S(s,"afterDrilldown",e),S(s,"afterDrillUp",t),S(s,"afterInit",o),S(s,"drillup",r),S(s,"drillupall",d),S(s,"render",n),S(s,"update",u),a.drilldown=Z,He.fadeIn=c,ze.drillable=m}}})(A||(A={}));let Ue=A,B=D();B.Breadcrumbs=B.Breadcrumbs||M,Ue.compose(B.Axis,B.Chart,B.defaultOptions,B.Series,B.seriesTypes,B.SVGRenderer,B.Tick);let je=D();return F.default})())});export default We();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{e as j}from"./chunk-ZW5NV4UO.js";var P=j((p,g)=>{(function(s,a){typeof p=="object"&&typeof g=="object"?g.exports=a(s._Highcharts,s._Highcharts.SeriesRegistry):typeof define=="function"&&define.amd?define("highcharts/modules/vector",["highcharts/highcharts"],function(c){return a(c,c.SeriesRegistry)}):typeof p=="object"?p["highcharts/modules/vector"]=a(s._Highcharts,s._Highcharts.SeriesRegistry):s.Highcharts=a(s.Highcharts,s.Highcharts.SeriesRegistry)})("u"<typeof window?p:window,(s,a)=>(()=>{"use strict";var c={512:e=>{e.exports=a},944:e=>{e.exports=s}},u={};function o(e){var r=u[e];if(r!==void 0)return r.exports;var t=u[e]={exports:{}};return c[e](t,t.exports,o),t.exports}o.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return o.d(r,{a:r}),r},o.d=(e,r)=>{for(var t in r)o.o(r,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},o.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r);var y={};o.d(y,{default:()=>M});var m=o(944),n=o.n(m),v=o(512),f=o.n(v);let{animObject:x}=n(),{series:w,seriesTypes:{scatter:b}}=f(),{arrayMax:k,extend:L,merge:O,pick:H}=n();class l extends b{animate(r){r?this.markerGroup.attr({opacity:.01}):this.markerGroup.animate({opacity:1},x(this.options.animation))}arrow(r){let t=r.length/this.lengthMax*this.options.vectorLength/20,i={start:10*t,center:0,end:-10*t}[this.options.rotationOrigin]||0;return[["M",0,7*t+i],["L",-1.5*t,7*t+i],["L",0,10*t+i],["L",1.5*t,7*t+i],["L",0,7*t+i],["L",0,-10*t+i]]}drawPoints(){let r=this.chart;for(let t of this.points){let i=t.plotX,h=t.plotY;this.options.clip===!1||r.isInsidePlot(i,h,{inverted:r.inverted})?(t.graphic||(t.graphic=this.chart.renderer.path().add(this.markerGroup).addClass("highcharts-point highcharts-color-"+H(t.colorIndex,t.series.colorIndex))),t.graphic.attr({d:this.arrow(t),translateX:i,translateY:h,rotation:t.direction}),this.chart.styledMode||t.graphic.attr(this.pointAttribs(t))):t.graphic&&(t.graphic=t.graphic.destroy())}}pointAttribs(r,t){let i=this.options,h=r?.color||this.color,d=this.options.lineWidth;return t&&(h=i.states[t].color||h,d=(i.states[t].lineWidth||d)+(i.states[t].lineWidthPlus||0)),{stroke:h,"stroke-width":d}}translate(){w.prototype.translate.call(this),this.lengthMax=k(this.getColumn("length"))}}l.defaultOptions=O(b.defaultOptions,{lineWidth:2,marker:void 0,rotationOrigin:"center",states:{hover:{lineWidthPlus:1}},tooltip:{pointFormat:"<b>[{point.x}, {point.y}]</b><br/>Length: <b>{point.length}</b><br/>Direction: <b>{point.direction}\xB0</b><br/>"},vectorLength:20}),L(l.prototype,{drawGraph:n().noop,getSymbol:n().noop,markerAttribs:n().noop,parallelArrays:["x","y","length","direction"],pointArrayMap:["y","length","direction"]}),f().registerSeriesType("vector",l);let M=n();return y.default})())});export default P();
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import"./chunk-ZW5NV4UO.js";function Pe(o,i){(i==null||i>o.length)&&(i=o.length);for(var s=0,c=Array(i);s<i;s++)c[s]=o[s];return c}function Dn(o){if(Array.isArray(o))return o}function Ln(o,i){var s=o==null?null:typeof Symbol<"u"&&o[Symbol.iterator]||o["@@iterator"];if(s!=null){var c,f,m,R,ct=[],M=!0,ut=!1;try{if(m=(s=s.call(o)).next,i!==0)for(;!(M=(c=m.call(s)).done)&&(ct.push(c.value),ct.length!==i);M=!0);}catch(Lt){ut=!0,f=Lt}finally{try{if(!M&&s.return!=null&&(R=s.return(),Object(R)!==R))return}finally{if(ut)throw f}}return ct}}function wn(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Cn(o,i){return Dn(o)||Ln(o,i)||Mn(o,i)||wn()}function Mn(o,i){if(o){if(typeof o=="string")return Pe(o,i);var s={}.toString.call(o).slice(8,-1);return s==="Object"&&o.constructor&&(s=o.constructor.name),s==="Map"||s==="Set"?Array.from(o):s==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s)?Pe(o,i):void 0}}var Ve=Object.entries,xe=Object.setPrototypeOf,Pn=Object.isFrozen,xn=Object.getPrototypeOf,kn=Object.getOwnPropertyDescriptor,b=Object.freeze,O=Object.seal,lt=Object.create,qe=typeof Reflect<"u"&&Reflect,ne=qe.apply,oe=qe.construct;b||(b=function(i){return i});O||(O=function(i){return i});ne||(ne=function(i,s){for(var c=arguments.length,f=new Array(c>2?c-2:0),m=2;m<c;m++)f[m-2]=arguments[m];return i.apply(s,f)});oe||(oe=function(i){for(var s=arguments.length,c=new Array(s>1?s-1:0),f=1;f<s;f++)c[f-1]=arguments[f];return new i(...c)});var at=A(Array.prototype.forEach),vn=A(Array.prototype.lastIndexOf),ke=A(Array.prototype.pop),st=A(Array.prototype.push),Un=A(Array.prototype.splice),$=Array.isArray,_t=A(String.prototype.toLowerCase),Zt=A(String.prototype.toString),ve=A(String.prototype.match),Tt=A(String.prototype.replace),Ue=A(String.prototype.indexOf),Fn=A(String.prototype.trim),zn=A(Number.prototype.toString),Hn=A(Boolean.prototype.toString),Fe=typeof BigInt>"u"?null:A(BigInt.prototype.toString),ze=typeof Symbol>"u"?null:A(Symbol.prototype.toString),S=A(Object.prototype.hasOwnProperty),ht=A(Object.prototype.toString),y=A(RegExp.prototype.test),J=Gn(TypeError);function A(o){return function(i){i instanceof RegExp&&(i.lastIndex=0);for(var s=arguments.length,c=new Array(s>1?s-1:0),f=1;f<s;f++)c[f-1]=arguments[f];return ne(o,i,c)}}function Gn(o){return function(){for(var i=arguments.length,s=new Array(i),c=0;c<i;c++)s[c]=arguments[c];return oe(o,s)}}function p(o,i){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:_t;if(xe&&xe(o,null),!$(i))return o;let c=i.length;for(;c--;){let f=i[c];if(typeof f=="string"){let m=s(f);m!==f&&(Pn(i)||(i[c]=m),f=m)}o[f]=!0}return o}function Bn(o){for(let i=0;i<o.length;i++)S(o,i)||(o[i]=null);return o}function L(o){let i=lt(null);for(let c of Ve(o)){var s=Cn(c,2);let f=s[0],m=s[1];S(o,f)&&($(m)?i[f]=Bn(m):m&&typeof m=="object"&&m.constructor===Object?i[f]=L(m):i[f]=m)}return i}function Wn(o){switch(typeof o){case"string":return o;case"number":return zn(o);case"boolean":return Hn(o);case"bigint":return Fe?Fe(o):"0";case"symbol":return ze?ze(o):"Symbol()";case"undefined":return ht(o);case"function":case"object":{if(o===null)return ht(o);let i=o,s=H(i,"toString");if(typeof s=="function"){let c=s(i);return typeof c=="string"?c:ht(c)}return ht(o)}default:return ht(o)}}function H(o,i){for(;o!==null;){let c=kn(o,i);if(c){if(c.get)return A(c.get);if(typeof c.value=="function")return A(c.value)}o=xn(o)}function s(){return null}return s}function Yn(o){try{return y(o,""),!0}catch{return!1}}var He=b(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Jt=b(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Qt=b(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),jn=b(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),te=b(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),$n=b(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Ge=b(["#text"]),Be=b(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),ee=b(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dominant-baseline","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-orientation","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),We=b(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Dt=b(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Xn=O(/{{[\w\W]*|^[\w\W]*}}/g),Vn=O(/<%[\w\W]*|^[\w\W]*%>/g),qn=O(/\${[\w\W]*/g),Kn=O(/^data-[\-\w.\u00B7-\uFFFF]+$/),Zn=O(/^aria-[\-\w]+$/),Ye=O(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Jn=O(/^(?:\w+script|data):/i),Qn=O(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),to=O(/^html$/i),eo=O(/^[a-z][.\w]*(-[.\w]+)+$/i),je=O(/<[/\w!]/g),$e=O(/<[/\w]/g),no=O(/<\/no(script|embed|frames)/i),oo=O(/\/>/i),P={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},ro=function(){return typeof window>"u"?null:window},io=function(i,s){if(typeof i!="object"||typeof i.createPolicy!="function")return null;let c=null,f="data-tt-policy-suffix";s&&s.hasAttribute(f)&&(c=s.getAttribute(f));let m="dompurify"+(c?"#"+c:"");try{return i.createPolicy(m,{createHTML(R){return R},createScriptURL(R){return R}})}catch{return console.warn("TrustedTypes policy "+m+" could not be created."),null}},Xe=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},j=function(i,s,c,f){return S(i,s)&&$(i[s])?p(f.base?L(f.base):{},i[s],f.transform):c};function Ke(){let o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:ro(),i=r=>Ke(r);if(i.version="3.4.12",i.removed=[],!o||!o.document||o.document.nodeType!==P.document||!o.Element)return i.isSupported=!1,i;let s=o.document,c=s,f=c.currentScript;o.DocumentFragment;let m=o.HTMLTemplateElement,R=o.Node,ct=o.Element,M=o.NodeFilter,ut=o.NamedNodeMap;ut===void 0&&(o.NamedNodeMap||o.MozNamedAttrMap),o.HTMLFormElement;let Lt=o.DOMParser,gt=o.trustedTypes,X=ct.prototype,Ze=H(X,"cloneNode"),wt=H(X,"remove"),Je=H(X,"nextSibling"),Q=H(X,"childNodes"),V=H(X,"parentNode"),re=H(X,"shadowRoot"),Ct=H(X,"attributes"),I=R&&R.prototype?H(R.prototype,"nodeType"):null,v=R&&R.prototype?H(R.prototype,"nodeName"):null;if(typeof m=="function"){let r=s.createElement("template");r.content&&r.content.ownerDocument&&(s=r.content.ownerDocument)}let w,q="",Mt,ie=!1,ft=0,ae=function(){if(ft>0)throw J('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},tt=function(t){ae(),ft++;try{return w.createHTML(t)}finally{ft--}},Qe=function(t){ae(),ft++;try{return w.createScriptURL(t)}finally{ft--}},tn=function(){return ie||(Mt=io(gt,f),ie=!0),Mt},Et=s,Pt=Et.implementation,se=Et.createNodeIterator,en=Et.createDocumentFragment,nn=Et.getElementsByTagName,on=c.importNode,T=Xe();i.isSupported=typeof Ve=="function"&&typeof V=="function"&&Pt&&Pt.createHTMLDocument!==void 0;let rn=Xn,an=Vn,sn=qn,ln=Kn,cn=Zn,un=Jn,le=Qn,fn=eo,ce=Ye,h=null,ue=p({},[...He,...Jt,...Qt,...te,...Ge]),_=null,fe=p({},[...Be,...ee,...We,...Dt]),g=Object.seal(lt(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),pt=null,pe=null,G=Object.seal(lt(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),me=!0,xt=!0,de=!1,Te=!0,B=!1,W=!0,K=!1,kt=!1,vt=null,Ut=null,Ft=!1,et=!1,At=!1,yt=!1,he=!0,_e=!1,ge="user-content-",zt=!0,Ht=!1,nt={},U=null,Gt=p({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]),Ee=null,Ae=p({},["audio","video","img","source","image","track"]),Bt=null,ye=p({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),St="http://www.w3.org/1998/Math/MathML",bt="http://www.w3.org/2000/svg",F="http://www.w3.org/1999/xhtml",ot=F,Wt=!1,Yt=null,pn=p({},[St,bt,F],Zt),Se=b(["mi","mo","mn","ms","mtext"]),jt=p({},Se),be=b(["annotation-xml"]),$t=p({},be),mn=p({},["title","style","font","a","script"]),mt=null,dn=["application/xhtml+xml","text/html"],Tn="text/html",d=null,rt=null,hn=s.createElement("form"),Oe=function(t){return t instanceof RegExp||t instanceof Function},Xt=function(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(rt&&rt===t)return;(!t||typeof t!="object")&&(t={}),t=L(t),mt=dn.indexOf(t.PARSER_MEDIA_TYPE)===-1?Tn:t.PARSER_MEDIA_TYPE,d=mt==="application/xhtml+xml"?Zt:_t,h=j(t,"ALLOWED_TAGS",ue,{transform:d}),_=j(t,"ALLOWED_ATTR",fe,{transform:d}),Yt=j(t,"ALLOWED_NAMESPACES",pn,{transform:Zt}),Bt=j(t,"ADD_URI_SAFE_ATTR",ye,{transform:d,base:ye}),Ee=j(t,"ADD_DATA_URI_TAGS",Ae,{transform:d,base:Ae}),U=j(t,"FORBID_CONTENTS",Gt,{transform:d}),pt=j(t,"FORBID_TAGS",L({}),{transform:d}),pe=j(t,"FORBID_ATTR",L({}),{transform:d}),nt=S(t,"USE_PROFILES")?t.USE_PROFILES&&typeof t.USE_PROFILES=="object"?L(t.USE_PROFILES):t.USE_PROFILES:!1,me=t.ALLOW_ARIA_ATTR!==!1,xt=t.ALLOW_DATA_ATTR!==!1,de=t.ALLOW_UNKNOWN_PROTOCOLS||!1,Te=t.ALLOW_SELF_CLOSE_IN_ATTR!==!1,B=t.SAFE_FOR_TEMPLATES||!1,W=t.SAFE_FOR_XML!==!1,K=t.WHOLE_DOCUMENT||!1,et=t.RETURN_DOM||!1,At=t.RETURN_DOM_FRAGMENT||!1,yt=t.RETURN_TRUSTED_TYPE||!1,Ft=t.FORCE_BODY||!1,he=t.SANITIZE_DOM!==!1,_e=t.SANITIZE_NAMED_PROPS||!1,zt=t.KEEP_CONTENT!==!1,Ht=t.IN_PLACE||!1,ce=Yn(t.ALLOWED_URI_REGEXP)?t.ALLOWED_URI_REGEXP:Ye,ot=typeof t.NAMESPACE=="string"?t.NAMESPACE:F,jt=S(t,"MATHML_TEXT_INTEGRATION_POINTS")&&t.MATHML_TEXT_INTEGRATION_POINTS&&typeof t.MATHML_TEXT_INTEGRATION_POINTS=="object"?L(t.MATHML_TEXT_INTEGRATION_POINTS):p({},Se),$t=S(t,"HTML_INTEGRATION_POINTS")&&t.HTML_INTEGRATION_POINTS&&typeof t.HTML_INTEGRATION_POINTS=="object"?L(t.HTML_INTEGRATION_POINTS):p({},be);let e=S(t,"CUSTOM_ELEMENT_HANDLING")&&t.CUSTOM_ELEMENT_HANDLING&&typeof t.CUSTOM_ELEMENT_HANDLING=="object"?L(t.CUSTOM_ELEMENT_HANDLING):lt(null);if(g=lt(null),S(e,"tagNameCheck")&&Oe(e.tagNameCheck)&&(g.tagNameCheck=e.tagNameCheck),S(e,"attributeNameCheck")&&Oe(e.attributeNameCheck)&&(g.attributeNameCheck=e.attributeNameCheck),S(e,"allowCustomizedBuiltInElements")&&typeof e.allowCustomizedBuiltInElements=="boolean"&&(g.allowCustomizedBuiltInElements=e.allowCustomizedBuiltInElements),O(g),B&&(xt=!1),At&&(et=!0),nt&&(h=p({},Ge),_=lt(null),nt.html===!0&&(p(h,He),p(_,Be)),nt.svg===!0&&(p(h,Jt),p(_,ee),p(_,Dt)),nt.svgFilters===!0&&(p(h,Qt),p(_,ee),p(_,Dt)),nt.mathMl===!0&&(p(h,te),p(_,We),p(_,Dt))),G.tagCheck=null,G.attributeCheck=null,S(t,"ADD_TAGS")&&(typeof t.ADD_TAGS=="function"?G.tagCheck=t.ADD_TAGS:$(t.ADD_TAGS)&&(h===ue&&(h=L(h)),p(h,t.ADD_TAGS,d))),S(t,"ADD_ATTR")&&(typeof t.ADD_ATTR=="function"?G.attributeCheck=t.ADD_ATTR:$(t.ADD_ATTR)&&(_===fe&&(_=L(_)),p(_,t.ADD_ATTR,d))),S(t,"ADD_URI_SAFE_ATTR")&&$(t.ADD_URI_SAFE_ATTR)&&p(Bt,t.ADD_URI_SAFE_ATTR,d),S(t,"FORBID_CONTENTS")&&$(t.FORBID_CONTENTS)&&(U===Gt&&(U=L(U)),p(U,t.FORBID_CONTENTS,d)),S(t,"ADD_FORBID_CONTENTS")&&$(t.ADD_FORBID_CONTENTS)&&(U===Gt&&(U=L(U)),p(U,t.ADD_FORBID_CONTENTS,d)),zt&&(h["#text"]=!0),K&&p(h,["html","head","body"]),h.table&&(p(h,["tbody"]),delete pt.tbody),t.TRUSTED_TYPES_POLICY){if(typeof t.TRUSTED_TYPES_POLICY.createHTML!="function")throw J('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof t.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw J('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');let n=w;w=t.TRUSTED_TYPES_POLICY;try{q=tt("")}catch(a){throw w=n,a}}else t.TRUSTED_TYPES_POLICY===null?(w=void 0,q=""):(w===void 0&&(w=tn()),w&&typeof q=="string"&&(q=tt("")));b&&b(t),rt=t},Re=p({},[...Jt,...Qt,...jn]),Ne=p({},[...te,...$n]),_n=function(t,e,n){return e.namespaceURI===F?t==="svg":e.namespaceURI===St?t==="svg"&&(n==="annotation-xml"||jt[n]):!!Re[t]},gn=function(t,e,n){return e.namespaceURI===F?t==="math":e.namespaceURI===bt?t==="math"&&$t[n]:!!Ne[t]},En=function(t,e,n){return e.namespaceURI===bt&&!$t[n]||e.namespaceURI===St&&!jt[n]?!1:!Ne[t]&&(mn[t]||!Re[t])},An=function(t){let e=V(t);(!e||!e.tagName)&&(e={namespaceURI:ot,tagName:"template"});let n=_t(t.tagName),a=_t(e.tagName);return Yt[t.namespaceURI]?t.namespaceURI===bt?_n(n,e,a):t.namespaceURI===St?gn(n,e,a):t.namespaceURI===F?En(n,e,a):!!(mt==="application/xhtml+xml"&&Yt[t.namespaceURI]):!1},Y=function(t){st(i.removed,{element:t});try{V(t).removeChild(t)}catch{if(wt(t),!V(t))throw J("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},Ot=function(t){Vt(t);let e=Q(t);if(e){let a=[];at(e,l=>{st(a,l)}),at(a,l=>{try{wt(l)}catch{}})}let n=Ct(t);if(n)for(let a=n.length-1;a>=0;--a){let l=n[a],u=l&&l.name;if(typeof u=="string")try{t.removeAttribute(u)}catch{}}},Z=function(t,e){try{st(i.removed,{attribute:e.getAttributeNode(t),from:e})}catch{st(i.removed,{attribute:null,from:e})}if(e.removeAttribute(t),t==="is")if(et||At)try{Y(e)}catch{}else try{e.setAttribute(t,"")}catch{}},yn=function(t){let e=Ct(t);if(e)for(let n=e.length-1;n>=0;--n){let a=e[n],l=a&&a.name;if(!(typeof l!="string"||_[d(l)]))try{t.removeAttribute(l)}catch{}}},Vt=function(t){let e=[t];for(;e.length>0;){let n=e.pop();(I?I(n):n.nodeType)===P.element&&yn(n);let l=Q(n);if(l)for(let u=l.length-1;u>=0;--u)e.push(l[u])}},Sn=function(t){if(!W)return;let e=[t];for(;e.length>0;){let n=e.pop(),a=I?I(n):n.nodeType;if(a===P.processingInstruction||a===P.comment&&y($e,n.data)){try{wt(n)}catch{}continue}if(a===P.element){let u=n,E=d(v?v(n):n.nodeName);try{u.hasAttribute&&u.hasAttribute("patchsrc")&&u.removeAttribute("patchsrc"),u.hasAttribute&&u.hasAttribute("for")&&E!=="label"&&E!=="output"&&u.removeAttribute("for")}catch{}}let l=Q(n);if(l)for(let u=l.length-1;u>=0;--u)e.push(l[u])}},Ie=function(t){let e=null,n=null;if(Ft)t="<remove></remove>"+t;else{let u=ve(t,/^[\r\n\t ]+/);n=u&&u[0]}mt==="application/xhtml+xml"&&ot===F&&(t='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+t+"</body></html>");let a=w?tt(t):t;if(ot===F)try{e=new Lt().parseFromString(a,mt)}catch{}if(!e||!e.documentElement){e=Pt.createDocument(ot,"template",null);try{e.documentElement.innerHTML=Wt?q:a}catch{}}let l=e.body||e.documentElement;return t&&n&&l.insertBefore(s.createTextNode(n),l.childNodes[0]||null),ot===F?nn.call(e,K?"html":"body")[0]:K?e.documentElement:l},De=function(t){return se.call(t.ownerDocument||t,t,M.SHOW_ELEMENT|M.SHOW_COMMENT|M.SHOW_TEXT|M.SHOW_PROCESSING_INSTRUCTION|M.SHOW_CDATA_SECTION,null)},Rt=function(t){return t=Tt(t,rn," "),t=Tt(t,an," "),t=Tt(t,sn," "),t},qt=function(t){var e;t.normalize();let n=se.call(t.ownerDocument||t,t,M.SHOW_TEXT|M.SHOW_COMMENT|M.SHOW_CDATA_SECTION|M.SHOW_PROCESSING_INSTRUCTION,null),a=n.nextNode();for(;a;)a.data=Rt(a.data),a=n.nextNode();let l=(e=t.querySelectorAll)===null||e===void 0?void 0:e.call(t,"template");l&&at(l,u=>{it(u.content)&&qt(u.content)})},Nt=function(t){let e=v?v(t):null;return typeof e!="string"||d(e)!=="form"?!1:typeof t.nodeName!="string"||typeof t.textContent!="string"||typeof t.removeChild!="function"||t.attributes!==Ct(t)||typeof t.removeAttribute!="function"||typeof t.setAttribute!="function"||typeof t.namespaceURI!="string"||typeof t.insertBefore!="function"||typeof t.hasChildNodes!="function"||t.nodeType!==I(t)||t.childNodes!==Q(t)},it=function(t){if(!I||typeof t!="object"||t===null)return!1;try{return I(t)===P.documentFragment}catch{return!1}},dt=function(t){if(!I||typeof t!="object"||t===null)return!1;try{return typeof I(t)=="number"}catch{return!1}};function z(r,t,e){r.length!==0&&at(r,n=>{n.call(i,t,e,rt)})}let bn=function(t,e){return!!(W&&t.hasChildNodes()&&!dt(t.firstElementChild)&&y(je,t.textContent)&&y(je,t.innerHTML)||W&&t.namespaceURI===F&&e==="style"&&dt(t.firstElementChild)||t.nodeType===P.processingInstruction||W&&t.nodeType===P.comment&&y($e,t.data))},On=function(t,e){if(!pt[e]&&Ce(e)&&(g.tagNameCheck instanceof RegExp&&y(g.tagNameCheck,e)||g.tagNameCheck instanceof Function&&g.tagNameCheck(e)))return!1;if(zt&&!U[e]){let n=V(t),a=Q(t);if(a&&n){let l=a.length;for(let u=l-1;u>=0;--u){let E=Ht?a[u]:Ze(a[u],!0);n.insertBefore(E,Je(t))}}}return Y(t),!0},Le=function(t,e){if(z(T.beforeSanitizeElements,t,null),t!==e&&V(t)===null)return!0;if(Nt(t))return Y(t),!0;let n=d(v?v(t):t.nodeName);if(z(T.uponSanitizeElement,t,{tagName:n,allowedTags:h}),t!==e&&V(t)===null)return!0;if(bn(t,n))return Y(t),!0;if(pt[n]||!(G.tagCheck instanceof Function&&G.tagCheck(n))&&!h[n]){let l=On(t,n);return l===!1&&z(T.afterSanitizeElements,t,null),l}if((I?I(t):t.nodeType)===P.element&&!An(t)||(n==="noscript"||n==="noembed"||n==="noframes")&&y(no,t.innerHTML))return Y(t),!0;if(B&&t.nodeType===P.text){let l=Rt(t.textContent);t.textContent!==l&&(st(i.removed,{element:t.cloneNode()}),t.textContent=l)}return z(T.afterSanitizeElements,t,null),!1},we=function(t,e,n){if(pe[e]||W&&e==="patchsrc"||W&&e==="for"&&t!=="label"&&t!=="output"||he&&(e==="id"||e==="name")&&(n in s||n in hn))return!1;let a=_[e]||G.attributeCheck instanceof Function&&G.attributeCheck(e,t);if(!(xt&&y(ln,e))){if(!(me&&y(cn,e))){if(a){if(!Bt[e]){if(!y(ce,Tt(n,le,""))){if(!((e==="src"||e==="xlink:href"||e==="href")&&t!=="script"&&Ue(n,"data:")===0&&Ee[t])){if(!(de&&!y(un,Tt(n,le,"")))){if(n)return!1}}}}}else if(!(Ce(t)&&(g.tagNameCheck instanceof RegExp&&y(g.tagNameCheck,t)||g.tagNameCheck instanceof Function&&g.tagNameCheck(t))&&(g.attributeNameCheck instanceof RegExp&&y(g.attributeNameCheck,e)||g.attributeNameCheck instanceof Function&&g.attributeNameCheck(e,t))||e==="is"&&g.allowCustomizedBuiltInElements&&(g.tagNameCheck instanceof RegExp&&y(g.tagNameCheck,n)||g.tagNameCheck instanceof Function&&g.tagNameCheck(n))))return!1}}return!0},Rn=p({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),Ce=function(t){return!Rn[_t(t)]&&y(fn,t)},Nn=function(t,e,n,a){if(w&&typeof gt=="object"&&typeof gt.getAttributeType=="function"&&!n)switch(gt.getAttributeType(t,e)){case"TrustedHTML":return tt(a);case"TrustedScriptURL":return Qe(a)}return a},In=function(t,e,n,a){try{n?t.setAttributeNS(n,e,a):t.setAttribute(e,a),Nt(t)?Y(t):ke(i.removed)}catch{Z(e,t)}},Me=function(t){z(T.beforeSanitizeAttributes,t,null);let e=t.attributes;if(!e||Nt(t))return;let n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:_,forceKeepAttr:void 0},a=e.length,l=d(t.nodeName);for(;a--;){let u=e[a],E=u.name,N=u.namespaceURI,x=u.value,C=d(E),k=x,D=E==="value"?k:Fn(k);if(n.attrName=C,n.attrValue=D,n.keepAttr=!0,n.forceKeepAttr=void 0,z(T.uponSanitizeAttribute,t,n),D=n.attrValue,_e&&(C==="id"||C==="name")&&Ue(D,ge)!==0&&(Z(E,t),D=ge+D),W&&y(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,D)){Z(E,t);continue}if(C==="attributename"&&ve(D,"href")){Z(E,t);continue}if(!n.forceKeepAttr){if(!n.keepAttr){Z(E,t);continue}if(!Te&&y(oo,D)){Z(E,t);continue}if(B&&(D=Rt(D)),!we(l,C,D)){Z(E,t);continue}D=Nn(l,C,N,D),D!==k&&In(t,E,N,D)}}z(T.afterSanitizeAttributes,t,null)},It=function(t){let e=null,n=De(t);for(z(T.beforeSanitizeShadowDOM,t,null);e=n.nextNode();)if(z(T.uponSanitizeShadowNode,e,null),Le(e,t),Me(e),it(e.content)&&It(e.content),(I?I(e):e.nodeType)===P.element){let l=re(e);it(l)&&(Kt(l),It(l))}z(T.afterSanitizeShadowDOM,t,null)},Kt=function(t){let e=[{node:t,shadow:null}];for(;e.length>0;){let n=e.pop();if(n.shadow){It(n.shadow);continue}let a=n.node,u=(I?I(a):a.nodeType)===P.element,E=Q(a);if(E)for(let N=E.length-1;N>=0;--N)e.push({node:E[N],shadow:null});if(u){let N=v?v(a):null;if(typeof N=="string"&&d(N)==="template"){let x=a.content;it(x)&&e.push({node:x,shadow:null})}}if(u){let N=re(a);it(N)&&e.push({node:null,shadow:N},{node:N,shadow:null})}}};return i.sanitize=function(r){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},e=null,n=null,a=null,l=null;if(Wt=!r,Wt&&(r="<!-->"),typeof r!="string"&&!dt(r)&&(r=Wn(r),typeof r!="string"))throw J("dirty is not a string, aborting");if(!i.isSupported)return r;kt?(h=vt,_=Ut):Xt(t),(T.uponSanitizeElement.length>0||T.uponSanitizeAttribute.length>0)&&(h=L(h)),T.uponSanitizeAttribute.length>0&&(_=L(_)),i.removed=[];let u=Ht&&typeof r!="string"&&dt(r);if(u){Sn(r);let C=v?v(r):r.nodeName;if(typeof C=="string"){let k=d(C);if(!h[k]||pt[k])throw Ot(r),J("root node is forbidden and cannot be sanitized in-place")}if(Nt(r))throw Ot(r),J("root node is clobbered and cannot be sanitized in-place");try{Kt(r)}catch(k){throw Ot(r),k}}else if(dt(r))e=Ie("<!---->"),n=e.ownerDocument.importNode(r,!0),n.nodeType===P.element&&n.nodeName==="BODY"||n.nodeName==="HTML"?e=n:e.appendChild(n),Kt(n);else{if(!et&&!B&&!K&&r.indexOf("<")===-1)return w&&yt?tt(r):r;if(e=Ie(r),!e)return et?null:yt?q:""}e&&Ft&&Y(e.firstChild);let E=u?r:e,N=De(E);try{for(;a=N.nextNode();)Le(a,E),Me(a),it(a.content)&&It(a.content)}catch(C){throw u&&(Ot(r),at(i.removed,k=>{k.element&&Vt(k.element)})),C}if(u)return at(i.removed,C=>{C.element&&Vt(C.element)}),B&&qt(r),r;if(et){if(B&&qt(e),At)for(l=en.call(e.ownerDocument);e.firstChild;)l.appendChild(e.firstChild);else l=e;return(_.shadowroot||_.shadowrootmode)&&(l=on.call(c,l,!0)),l}let x=K?e.outerHTML:e.innerHTML;return K&&h["!doctype"]&&e.ownerDocument&&e.ownerDocument.doctype&&e.ownerDocument.doctype.name&&y(to,e.ownerDocument.doctype.name)&&(x="<!DOCTYPE "+e.ownerDocument.doctype.name+`>
|
|
3
|
+
`+x),B&&(x=Rt(x)),w&&yt?tt(x):x},i.setConfig=function(){let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Xt(r),kt=!0,vt=h,Ut=_},i.clearConfig=function(){rt=null,kt=!1,vt=null,Ut=null,w=Mt,q=""},i.isValidAttribute=function(r,t,e){rt||Xt({});let n=d(r),a=d(t);return we(n,a,e)},i.addHook=function(r,t){typeof t=="function"&&S(T,r)&&st(T[r],t)},i.removeHook=function(r,t){if(S(T,r)){if(t!==void 0){let e=vn(T[r],t);return e===-1?void 0:Un(T[r],e,1)[0]}return ke(T[r])}},i.removeHooks=function(r){S(T,r)&&(T[r]=[])},i.removeAllHooks=function(){T=Xe()},i}var ao=Ke();export{ao as default};
|
|
4
|
+
/*! Bundled license information:
|
|
5
|
+
|
|
6
|
+
dompurify/dist/purify.es.mjs:
|
|
7
|
+
(*! @license DOMPurify 3.4.12 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.12/LICENSE *)
|
|
8
|
+
*/
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import{a as $,b as U}from"./chunk-ZW5NV4UO.js";var Q=null,ur=!1,pi=1,Mp=null,V=Symbol("SIGNAL");function g(e){let t=Q;return Q=e,t}function dr(){return Q}var He={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function rt(e){if(ur)throw new Error("");if(Q===null)return;Q.consumerOnSignalRead(e);let t=Q.producersTail;if(t!==void 0&&t.producer===e)return;let n,r=Q.recomputing;if(r&&(n=t!==void 0?t.nextProducer:Q.producers,n!==void 0&&n.producer===e)){Q.producersTail=n,n.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===Q&&(!r||Sp(o,Q)))return;let i=Pt(Q),s={producer:e,consumer:Q,nextProducer:n,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};Q.producersTail=s,t!==void 0?t.nextProducer=s:Q.producers=s,i&&wc(e,s)}function Dc(){pi++}function ot(e){if(!(Pt(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===pi)){if(!e.producerMustRecompute(e)&&!dn(e)){Ot(e);return}e.producerRecomputeValue(e),Ot(e)}}function hi(e){if(e.consumers===void 0)return;let t=ur;ur=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||Np(r)}}finally{ur=t}}function gi(){return Q?.consumerAllowSignalWrites!==!1}function Np(e){e.dirty=!0,hi(e),e.consumerMarkedDirty?.(e)}function Ot(e){e.dirty=!1,e.lastCleanEpoch=pi}function Be(e){return e&&Cc(e),g(e)}function Cc(e){e.producersTail=void 0,e.recomputing=!0}function it(e,t){g(t),e&&Tc(e)}function Tc(e){e.recomputing=!1;let t=e.producersTail,n=t!==void 0?t.nextProducer:e.producers;if(n!==void 0){if(Pt(e))do n=mi(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0}}function dn(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(ot(n),r!==n.version))return!0}return!1}function st(e){if(Pt(e)){let t=e.producers;for(;t!==void 0;)t=mi(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function wc(e,t){let n=e.consumersTail,r=Pt(e);if(n!==void 0?(t.nextConsumer=n.nextConsumer,n.nextConsumer=t):(t.nextConsumer=void 0,e.consumers=t),t.prevConsumer=n,e.consumersTail=t,!r)for(let o=e.producers;o!==void 0;o=o.nextProducer)wc(o.producer,o)}function mi(e){let t=e.producer,n=e.nextProducer,r=e.nextConsumer,o=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,r!==void 0?r.prevConsumer=o:t.consumersTail=o,o!==void 0)o.nextConsumer=r;else if(t.consumers=r,!Pt(t)){let i=t.producers;for(;i!==void 0;)i=mi(i)}return n}function Pt(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function fn(e){Mp?.(e)}function Sp(e,t){let n=t.producersTail;if(n!==void 0){let r=t.producers;do{if(r===e)return!0;if(r===n)break;r=r.nextProducer}while(r!==void 0)}return!1}function pn(e,t){return Object.is(e,t)}function hn(e,t){let n=Object.create(xp);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(ot(n),rt(n),n.value===ye)throw n.error;return n.value};return r[V]=n,fn(n),r}var tt=Symbol("UNSET"),nt=Symbol("COMPUTING"),ye=Symbol("ERRORED"),xp=U($({},He),{value:tt,dirty:!0,error:null,equal:pn,kind:"computed",producerMustRecompute(e){return e.value===tt||e.value===nt},producerRecomputeValue(e){if(e.value===nt)throw new Error("");let t=e.value;e.value=nt;let n=Be(e),r,o=!1;try{r=e.computation(),g(null),o=t!==tt&&t!==ye&&r!==ye&&e.equal(t,r)}catch(i){r=ye,e.error=i}finally{it(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function Ap(){throw new Error}var bc=Ap;function _c(e){bc(e)}function yi(e){bc=e}var Rp=null;function vi(e,t){let n=Object.create(pr);n.value=e,t!==void 0&&(n.equal=t);let r=()=>Mc(n);return r[V]=n,fn(n),[r,s=>at(n,s),s=>fr(n,s)]}function Mc(e){return rt(e),e.value}function at(e,t){gi()||_c(e),e.equal(e.value,t)||(e.value=t,kp(e))}function fr(e,t){gi()||_c(e),at(e,t(e.value))}var pr=U($({},He),{equal:pn,value:void 0,kind:"signal"});function kp(e){e.version++,Dc(),hi(e),Rp?.(e)}var Ei=U($({},He),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function Ii(e){if(e.dirty=!1,e.version>0&&!dn(e))return;e.version++;let t=Be(e);try{e.cleanup(),e.fn()}finally{it(e,t)}}function I(e){return typeof e=="function"}function Lt(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var hr=Lt(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
|
|
2
|
+
${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
|
|
3
|
+
`)}`:"",this.name="UnsubscriptionError",this.errors=n});function ct(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var W=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(I(r))try{r()}catch(i){t=i instanceof hr?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Nc(i)}catch(s){t=t??[],s instanceof hr?t=[...t,...s.errors]:t.push(s)}}if(t)throw new hr(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Nc(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&ct(n,t)}remove(t){let{_finalizers:n}=this;n&&ct(n,t),t instanceof e&&t._removeParent(this)}};W.EMPTY=(()=>{let e=new W;return e.closed=!0,e})();var Di=W.EMPTY;function gr(e){return e instanceof W||e&&"closed"in e&&I(e.remove)&&I(e.add)&&I(e.unsubscribe)}function Nc(e){I(e)?e():e.unsubscribe()}var ae={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Ft={setTimeout(e,t,...n){let{delegate:r}=Ft;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Ft;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function mr(e){Ft.setTimeout(()=>{let{onUnhandledError:t}=ae;if(t)t(e);else throw e})}function gn(){}var Sc=Ci("C",void 0,void 0);function xc(e){return Ci("E",void 0,e)}function Ac(e){return Ci("N",e,void 0)}function Ci(e,t,n){return{kind:e,value:t,error:n}}var lt=null;function jt(e){if(ae.useDeprecatedSynchronousErrorHandling){let t=!lt;if(t&&(lt={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=lt;if(lt=null,n)throw r}}else e()}function Rc(e){ae.useDeprecatedSynchronousErrorHandling&<&&(lt.errorThrown=!0,lt.error=e)}var ut=class extends W{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,gr(t)&&t.add(this)):this.destination=Lp}static create(t,n,r){return new $e(t,n,r)}next(t){this.isStopped?wi(Ac(t),this):this._next(t)}error(t){this.isStopped?wi(xc(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?wi(Sc,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},Op=Function.prototype.bind;function Ti(e,t){return Op.call(e,t)}var bi=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){yr(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){yr(r)}else yr(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){yr(n)}}},$e=class extends ut{constructor(t,n,r){super();let o;if(I(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&ae.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Ti(t.next,i),error:t.error&&Ti(t.error,i),complete:t.complete&&Ti(t.complete,i)}):o=t}this.destination=new bi(o)}};function yr(e){ae.useDeprecatedSynchronousErrorHandling?Rc(e):mr(e)}function Pp(e){throw e}function wi(e,t){let{onStoppedNotification:n}=ae;n&&Ft.setTimeout(()=>n(e,t))}var Lp={closed:!0,next:gn,error:Pp,complete:gn};var Vt=typeof Symbol=="function"&&Symbol.observable||"@@observable";function ce(e){return e}function Fp(...e){return _i(e)}function _i(e){return e.length===0?ce:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var w=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=Vp(n)?n:new $e(n,r,o);return jt(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=kc(r),new r((o,i)=>{let s=new $e({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[Vt](){return this}pipe(...n){return _i(n)(this)}toPromise(n){return n=kc(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function kc(e){var t;return(t=e??ae.Promise)!==null&&t!==void 0?t:Promise}function jp(e){return e&&I(e.next)&&I(e.error)&&I(e.complete)}function Vp(e){return e&&e instanceof ut||jp(e)&&gr(e)}function Hp(e){return I(e?.lift)}function _(e){return t=>{if(Hp(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function M(e,t,n,r,o){return new Mi(e,t,n,r,o)}var Mi=class extends ut{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};var Oc=Lt(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var le=(()=>{class e extends w{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new vr(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Oc}next(n){jt(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){jt(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){jt(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:o,observers:i}=this;return r||o?Di:(this.currentObservers=null,i.push(n),new W(()=>{this.currentObservers=null,ct(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new w;return n.source=this,n}}return e.create=(t,n)=>new vr(t,n),e})(),vr=class extends le{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:Di}};var mn=class extends le{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var yn={now(){return(yn.delegate||Date).now()},delegate:void 0};var Ni=class extends le{constructor(t=1/0,n=1/0,r=yn){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=n.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}};var Er=class extends W{constructor(t,n){super()}schedule(t,n=0){return this}};var vn={setInterval(e,t,...n){let{delegate:r}=vn;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=vn;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var Ir=class extends Er{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){var r;if(this.closed)return this;this.state=t;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,n)),this.pending=!0,this.delay=n,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,n),this}requestAsyncId(t,n,r=0){return vn.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,n,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return n;n!=null&&vn.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(t,n);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let r=!1,o;try{this.work(t)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,ct(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var Ht=class e{constructor(t,n=e.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,r){return new this.schedulerActionCtor(this,t).schedule(r,n)}};Ht.now=yn.now;var Dr=class extends Ht{constructor(t,n=Ht.now){super(t,n),this.actions=[],this._active=!1}flush(t){let{actions:n}=this;if(this._active){n.push(t);return}let r;this._active=!0;do if(r=t.execute(t.state,t.delay))break;while(t=n.shift());if(this._active=!1,r){for(;t=n.shift();)t.unsubscribe();throw r}}};var Si=new Dr(Ir),Pc=Si;var dt=new w(e=>e.complete());function Cr(e){return e&&I(e.schedule)}function xi(e){return e[e.length-1]}function Tr(e){return I(xi(e))?e.pop():void 0}function ve(e){return Cr(xi(e))?e.pop():void 0}function Lc(e,t){return typeof xi(e)=="number"?e.pop():t}function aC(e,t,n,r){var o=arguments.length,i=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(i=(o<3?s(i):o>3?s(t,n,i):s(t,n))||i);return o>3&&i&&Object.defineProperty(t,n,i),i}function jc(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(u){try{l(r.next(u))}catch(d){s(d)}}function c(u){try{l(r.throw(u))}catch(d){s(d)}}function l(u){u.done?i(u.value):o(u.value).then(a,c)}l((r=r.apply(e,t||[])).next())})}function cC(e,t){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,s=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return s.next=a(0),s.throw=a(1),s.return=a(2),typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function a(l){return function(u){return c([l,u])}}function c(l){if(r)throw new TypeError("Generator is already executing.");for(;s&&(s=0,l[0]&&(n=0)),n;)try{if(r=1,o&&(i=l[0]&2?o.return:l[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,l[1])).done)return i;switch(o=0,i&&(l=[l[0]&2,i.value]),l[0]){case 0:case 1:i=l;break;case 4:return n.label++,{value:l[1],done:!1};case 5:n.label++,o=l[1],l=[0];continue;case 7:l=n.ops.pop(),n.trys.pop();continue;default:if(i=n.trys,!(i=i.length>0&&i[i.length-1])&&(l[0]===6||l[0]===2)){n=0;continue}if(l[0]===3&&(!i||l[1]>i[0]&&l[1]<i[3])){n.label=l[1];break}if(l[0]===6&&n.label<i[1]){n.label=i[1],i=l;break}if(i&&n.label<i[2]){n.label=i[2],n.ops.push(l);break}i[2]&&n.ops.pop(),n.trys.pop();continue}l=t.call(e,n)}catch(u){l=[6,u],o=0}finally{r=i=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}function Fc(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function ft(e){return this instanceof ft?(this.v=e,this):new ft(e)}function Vc(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(h){return Promise.resolve(h).then(f,d)}}function a(f,h){r[f]&&(o[f]=function(T){return new Promise(function(R,P){i.push([f,T,R,P])>1||c(f,T)})},h&&(o[f]=h(o[f])))}function c(f,h){try{l(r[f](h))}catch(T){p(i[0][3],T)}}function l(f){f.value instanceof ft?Promise.resolve(f.value.v).then(u,d):p(i[0][2],f)}function u(f){c("next",f)}function d(f){c("throw",f)}function p(f,h){f(h),i.shift(),i.length&&c(i[0][0],i[0][1])}}function Hc(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof Fc=="function"?Fc(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(l){i({value:l,done:a})},s)}}var wr=e=>e&&typeof e.length=="number"&&typeof e!="function";function br(e){return I(e?.then)}function _r(e){return I(e[Vt])}function Mr(e){return Symbol.asyncIterator&&I(e?.[Symbol.asyncIterator])}function Nr(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function Bp(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Sr=Bp();function xr(e){return I(e?.[Sr])}function Ar(e){return Vc(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield ft(n.read());if(o)return yield ft(void 0);yield yield ft(r)}}finally{n.releaseLock()}})}function Rr(e){return I(e?.getReader)}function L(e){if(e instanceof w)return e;if(e!=null){if(_r(e))return $p(e);if(wr(e))return Up(e);if(br(e))return Wp(e);if(Mr(e))return Bc(e);if(xr(e))return Gp(e);if(Rr(e))return qp(e)}throw Nr(e)}function $p(e){return new w(t=>{let n=e[Vt]();if(I(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Up(e){return new w(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function Wp(e){return new w(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,mr)})}function Gp(e){return new w(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Bc(e){return new w(t=>{zp(e,t).catch(n=>t.error(n))})}function qp(e){return Bc(Ar(e))}function zp(e,t){var n,r,o,i;return jc(this,void 0,void 0,function*(){try{for(n=Hc(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function X(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function kr(e,t=0){return _((n,r)=>{n.subscribe(M(r,o=>X(r,e,()=>r.next(o),t),()=>X(r,e,()=>r.complete(),t),o=>X(r,e,()=>r.error(o),t)))})}function Or(e,t=0){return _((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function $c(e,t){return L(e).pipe(Or(t),kr(t))}function Uc(e,t){return L(e).pipe(Or(t),kr(t))}function Wc(e,t){return new w(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function Gc(e,t){return new w(n=>{let r;return X(n,t,()=>{r=e[Sr](),X(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>I(r?.return)&&r.return()})}function Pr(e,t){if(!e)throw new Error("Iterable cannot be null");return new w(n=>{X(n,t,()=>{let r=e[Symbol.asyncIterator]();X(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function qc(e,t){return Pr(Ar(e),t)}function zc(e,t){if(e!=null){if(_r(e))return $c(e,t);if(wr(e))return Wc(e,t);if(br(e))return Uc(e,t);if(Mr(e))return Pr(e,t);if(xr(e))return Gc(e,t);if(Rr(e))return qc(e,t)}throw Nr(e)}function Ee(e,t){return t?zc(e,t):L(e)}function Qp(...e){let t=ve(e);return Ee(e,t)}function Zp(e,t){let n=I(e)?e:()=>e,r=o=>o.error(n());return new w(t?o=>t.schedule(r,0,o):r)}function Yp(e){return!!e&&(e instanceof w||I(e.lift)&&I(e.subscribe))}var pt=Lt(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Kp(e,t){let n=typeof t=="object";return new Promise((r,o)=>{let i=new $e({next:s=>{r(s),i.unsubscribe()},error:o,complete:()=>{n?r(t.defaultValue):o(new pt)}});e.subscribe(i)})}function Qc(e){return e instanceof Date&&!isNaN(e)}function ht(e,t){return _((n,r)=>{let o=0;n.subscribe(M(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:Jp}=Array;function Xp(e,t){return Jp(t)?e(...t):e(t)}function Lr(e){return ht(t=>Xp(e,t))}var{isArray:eh}=Array,{getPrototypeOf:th,prototype:nh,keys:rh}=Object;function Fr(e){if(e.length===1){let t=e[0];if(eh(t))return{args:t,keys:null};if(oh(t)){let n=rh(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function oh(e){return e&&typeof e=="object"&&th(e)===nh}function jr(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function ih(...e){let t=ve(e),n=Tr(e),{args:r,keys:o}=Fr(e);if(r.length===0)return Ee([],t);let i=new w(sh(r,t,o?s=>jr(o,s):ce));return n?i.pipe(Lr(n)):i}function sh(e,t,n=ce){return r=>{Zc(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Zc(t,()=>{let l=Ee(e[c],t),u=!1;l.subscribe(M(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Zc(e,t,n){e?X(n,e,t):t()}function Yc(e,t,n,r,o,i,s,a){let c=[],l=0,u=0,d=!1,p=()=>{d&&!c.length&&!l&&t.complete()},f=T=>l<r?h(T):c.push(T),h=T=>{i&&t.next(T),l++;let R=!1;L(n(T,u++)).subscribe(M(t,P=>{o?.(P),i?f(P):t.next(P)},()=>{R=!0},void 0,()=>{if(R)try{for(l--;c.length&&l<r;){let P=c.shift();s?X(t,s,()=>h(P)):h(P)}p()}catch(P){t.error(P)}}))};return e.subscribe(M(t,f,()=>{d=!0,p()})),()=>{a?.()}}function gt(e,t,n=1/0){return I(t)?gt((r,o)=>ht((i,s)=>t(r,i,o,s))(L(e(r,o))),n):(typeof t=="number"&&(n=t),_((r,o)=>Yc(r,o,e,n)))}function Vr(e=1/0){return gt(ce,e)}function Kc(){return Vr(1)}function Hr(...e){return Kc()(Ee(e,ve(e)))}function ah(e){return new w(t=>{L(e()).subscribe(t)})}function ch(...e){let t=Tr(e),{args:n,keys:r}=Fr(e),o=new w(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,l=s;for(let u=0;u<s;u++){let d=!1;L(n[u]).subscribe(M(i,p=>{d||(d=!0,l--),a[u]=p},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?jr(r,a):a),i.complete())}))}});return t?o.pipe(Lr(t)):o}function lh(e=0,t,n=Pc){let r=-1;return t!=null&&(Cr(t)?n=t:r=t),new w(o=>{let i=Qc(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function uh(...e){let t=ve(e),n=Lc(e,1/0),r=e;return r.length?r.length===1?L(r[0]):Vr(n)(Ee(r,t)):dt}function Br(e,t){return _((n,r)=>{let o=0;n.subscribe(M(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Ai(e){return _((t,n)=>{let r=null,o=!1,i;r=t.subscribe(M(n,void 0,void 0,s=>{i=L(e(s,Ai(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function dh(e,t){return I(t)?gt(e,t,1):gt(e,1)}function fh(e,t=Si){return _((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let l=i;i=null,r.next(l)}};function c(){let l=s+e,u=t.now();if(u<l){o=this.schedule(void 0,l-u),r.add(o);return}a()}n.subscribe(M(r,l=>{i=l,s=t.now(),o||(o=t.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function Jc(e){return _((t,n)=>{let r=!1;t.subscribe(M(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function Ri(e){return e<=0?()=>dt:_((t,n)=>{let r=0;t.subscribe(M(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Xc(e=ph){return _((t,n)=>{let r=!1;t.subscribe(M(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function ph(){return new pt}function hh(e){return _((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function gh(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Br((o,i)=>e(o,i,r)):ce,Ri(1),n?Jc(t):Xc(()=>new pt))}function mh(e){return e<=0?()=>dt:_((t,n)=>{let r=[];t.subscribe(M(n,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function yh(...e){let t=ve(e);return _((n,r)=>{(t?Hr(e,n,t):Hr(e,n)).subscribe(r)})}function el(e,t){return _((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(M(r,c=>{o?.unsubscribe();let l=0,u=i++;L(e(c,u)).subscribe(o=M(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function tl(e){return _((t,n)=>{L(e).subscribe(M(n,()=>n.complete(),gn)),!n.closed&&t.subscribe(n)})}function vh(e,t,n){let r=I(e)||t||n?{next:e,error:t,complete:n}:e;return r?_((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(M(i,c=>{var l;(l=r.next)===null||l===void 0||l.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var l;a=!1,(l=r.error)===null||l===void 0||l.call(r,c),i.error(c)},()=>{var c,l;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(l=r.finalize)===null||l===void 0||l.call(r)}))}):ce}var ki;function $r(){return ki}function Ie(e){let t=ki;return ki=e,t}var nl=Symbol("NotFound");function Bt(e){return e===nl||e?.name==="\u0275NotFound"}function Oi(e,t,n){let r=Object.create(Eh);r.source=e,r.computation=t,n!=null&&(r.equal=n);let i=()=>{if(ot(r),rt(r),r.value===ye)throw r.error;return r.value};return i[V]=r,fn(r),i}function rl(e,t){ot(e),at(e,t),Ot(e)}function ol(e,t){if(ot(e),e.value===ye)throw e.error;fr(e,t),Ot(e)}var Eh=U($({},He),{value:tt,dirty:!0,error:null,equal:pn,kind:"linkedSignal",producerMustRecompute(e){return e.value===tt||e.value===nt},producerRecomputeValue(e){if(e.value===nt)throw new Error("");let t=e.value;e.value=nt;let n=Be(e),r,o=!1;try{let i=e.source(),s=t!==tt&&t!==ye,a=s?{source:e.sourceValue,value:t}:void 0;r=e.computation(i,a),e.sourceValue=i,g(null),o=s&&r!==ye&&e.equal(t,r)}catch(i){r=ye,e.error=i}finally{it(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function il(e){let t=g(null);try{return e()}finally{g(t)}}var Zr="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",C=class extends Error{code;constructor(t,n){super(bn(t,n)),this.code=t}};function Ih(e){return`NG0${Math.abs(e)}`}function bn(e,t){return`${Ih(e)}${t?": "+t:""}`}var we=globalThis;function N(e){for(let t in e)if(e[t]===N)return t;throw Error("")}function ul(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function _n(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(_n).join(", ")}]`;if(e==null)return""+e;let t=e.overriddenName||e.name;if(t)return`${t}`;let n=e.toString();if(n==null)return""+n;let r=n.indexOf(`
|
|
4
|
+
`);return r>=0?n.slice(0,r):n}function Yr(e,t){return e?t?`${e} ${t}`:e:t||""}var Dh=N({__forward_ref__:N});function Kr(e){return e.__forward_ref__=Kr,e}function G(e){return zi(e)?e():e}function zi(e){return typeof e=="function"&&e.hasOwnProperty(Dh)&&e.__forward_ref__===Kr}function q(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function dl(e){return{providers:e.providers||[],imports:e.imports||[]}}function Mn(e){return Th(e,Jr)}function Ch(e){return Mn(e)!==null}function Th(e,t){return e.hasOwnProperty(t)&&e[t]||null}function wh(e){let t=e?.[Jr]??null;return t||null}function Li(e){return e&&e.hasOwnProperty(Wr)?e[Wr]:null}var Jr=N({\u0275prov:N}),Wr=N({\u0275inj:N}),x=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=q({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Qi(e){return e&&!!e.\u0275providers}var Nn=N({\u0275cmp:N}),Sn=N({\u0275dir:N}),Zi=N({\u0275pipe:N}),Yi=N({\u0275mod:N}),In=N({\u0275fac:N}),It=N({__NG_ELEMENT_ID__:N}),sl=N({__NG_ENV_ID__:N});function Ki(e){return Xr(e,"@NgModule"),e[Yi]||null}function qe(e){return Xr(e,"@Component"),e[Nn]||null}function Ji(e){return Xr(e,"@Directive"),e[Sn]||null}function fl(e){return Xr(e,"@Pipe"),e[Zi]||null}function Xr(e,t){if(e==null)throw new C(-919,!1)}function be(e){return typeof e=="string"?e:e==null?"":String(e)}var pl=N({ngErrorCode:N}),bh=N({ngErrorMessage:N}),_h=N({ngTokenPath:N});function Xi(e,t){return hl("",-200,t)}function eo(e,t){throw new C(-201,!1)}function hl(e,t,n){let r=new C(t,e);return r[pl]=t,r[bh]=e,n&&(r[_h]=n),r}function Mh(e){return e[pl]}var Fi;function gl(){return Fi}function Y(e){let t=Fi;return Fi=e,t}function es(e,t,n){let r=Mn(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&8)return null;if(t!==void 0)return t;eo(e,"")}var Nh={},mt=Nh,Sh="__NG_DI_FLAG__",ji=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=yt(n)||0;try{return this.injector.get(t,r&8?null:mt,r)}catch(o){if(Bt(o))return o;throw o}}};function xh(e,t=0){let n=$r();if(n===void 0)throw new C(-203,!1);if(n===null)return es(e,void 0,t);{let r=Ah(t),o=n.retrieve(e,r);if(Bt(o)){if(r.optional)return null;throw o}return o}}function De(e,t=0){return(gl()||xh)(G(e),t)}function E(e,t){return De(e,yt(t))}function yt(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Ah(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function Vi(e){let t=[];for(let n=0;n<e.length;n++){let r=G(e[n]);if(Array.isArray(r)){if(r.length===0)throw new C(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=Rh(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(De(o,i))}else t.push(De(r))}return t}function Rh(e){return e[Sh]}function Ue(e,t){let n=e.hasOwnProperty(In);return n?e[In]:null}function ml(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=t[r];if(n&&(o=n(o),i=n(i)),i!==o)return!1}return!0}function yl(e){return e.flat(Number.POSITIVE_INFINITY)}function to(e,t){e.forEach(n=>Array.isArray(n)?to(n,t):t(n))}function ts(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function xn(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function vl(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function El(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(o===1)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function no(e,t,n){let r=Ut(e,t);return r>=0?e[r|1]=n:(r=~r,El(e,r,t,n)),r}function ro(e,t){let n=Ut(e,t);if(n>=0)return e[n|1]}function Ut(e,t){return kh(e,t,1)}function kh(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<<n];if(t===s)return i<<n;s>t?o=i:r=i+1}return~(o<<n)}var ze={},Z=[],Wt=new x(""),ns=new x("",-1),rs=new x(""),Dn=class{get(t,n=mt){if(n===mt){let o=hl("",-201);throw o.name="\u0275NotFound",o}return n}};function oo(e){return{\u0275providers:e}}function Il(e){return oo([{provide:Wt,multi:!0,useValue:e}])}function Dl(...e){return{\u0275providers:os(!0,e),\u0275fromNgModule:!0}}function os(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return to(t,s=>{let a=s;Gr(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Cl(o,i),n}function Cl(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];is(o,i=>{t(i,r)})}}function Gr(e,t,n,r){if(e=G(e),!e)return!1;let o=null,i=Li(e),s=!i&&qe(e);if(!i&&!s){let c=e.ngModule;if(i=Li(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)Gr(l,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;to(i.imports,u=>{Gr(u,t,n,r)&&(l||=[],l.push(u))}),l!==void 0&&Cl(l,t)}if(!a){let l=Ue(o)||(()=>new o);t({provide:o,useFactory:l,deps:Z},o),t({provide:rs,useValue:o,multi:!0},o),t({provide:Wt,useValue:()=>De(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;is(c,u=>{t(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function is(e,t){for(let n of e)Qi(n)&&(n=n.\u0275providers),Array.isArray(n)?is(n,t):t(n)}var Oh=N({provide:String,useValue:N});function Tl(e){return e!==null&&typeof e=="object"&&Oh in e}function Ph(e){return!!(e&&e.useExisting)}function Lh(e){return!!(e&&e.useFactory)}function vt(e){return typeof e=="function"}function wl(e){return!!e.useClass}var ss=new x(""),Ur={},al={},Pi;function An(){return Pi===void 0&&(Pi=new Dn),Pi}var ne=class{},Et=class extends ne{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,Bi(t,s=>this.processProvider(s)),this.records.set(ns,$t(void 0,this)),o.has("environment")&&this.records.set(ne,$t(void 0,this));let i=this.records.get(ss);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(rs,Z,{self:!0}))}retrieve(t,n){let r=yt(n)||0;try{return this.get(t,mt,r)}catch(o){if(Bt(o))return o;throw o}}destroy(){En(this),this._destroyed=!0;let t=g(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),g(t)}}onDestroy(t){return En(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){En(this);let n=Ie(this),r=Y(void 0),o;try{return t()}finally{Ie(n),Y(r)}}get(t,n=mt,r){if(En(this),t.hasOwnProperty(sl))return t[sl](this);let o=yt(r),i,s=Ie(this),a=Y(void 0);try{if(!(o&4)){let l=this.records.get(t);if(l===void 0){let u=Bh(t)&&Mn(t);u&&this.injectableDefInScope(u)?l=$t(Hi(t),Ur):l=null,this.records.set(t,l)}if(l!=null)return this.hydrate(t,l,o)}let c=o&2?An():this.parent;return n=o&8&&n===mt?null:n,c.get(t,n)}catch(c){let l=Mh(c);throw l===-200||l===-201?new C(l,null):c}finally{Y(a),Ie(s)}}resolveInjectorInitializers(){let t=g(null),n=Ie(this),r=Y(void 0),o;try{let i=this.get(Wt,Z,{self:!0});for(let s of i)s()}finally{Ie(n),Y(r),g(t)}}toString(){return"R3Injector[...]"}processProvider(t){t=G(t);let n=vt(t)?t:G(t&&t.provide),r=jh(t);if(!vt(t)&&t.multi===!0){let o=this.records.get(n);o||(o=$t(void 0,Ur,!0),o.factory=()=>Vi(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=g(null);try{if(n.value===al)throw Xi("");return n.value===Ur&&(n.value=al,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&Hh(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{g(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=G(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function Hi(e){let t=Mn(e),n=t!==null?t.factory:Ue(e);if(n!==null)return n;if(e instanceof x)throw new C(-204,!1);if(e instanceof Function)return Fh(e);throw new C(-204,!1)}function Fh(e){if(e.length>0)throw new C(-204,!1);let n=wh(e);return n!==null?()=>n.factory(e):()=>new e}function jh(e){if(Tl(e))return $t(void 0,e.useValue);{let t=as(e);return $t(t,Ur)}}function as(e,t,n){let r;if(vt(e)){let o=G(e);return Ue(o)||Hi(o)}else if(Tl(e))r=()=>G(e.useValue);else if(Lh(e))r=()=>e.useFactory(...Vi(e.deps||[]));else if(Ph(e))r=(o,i)=>De(G(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=G(e&&(e.useClass||e.provide));if(Vh(e))r=()=>new o(...Vi(e.deps));else return Ue(o)||Hi(o)}return r}function En(e){if(e.destroyed)throw new C(-205,!1)}function $t(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Vh(e){return!!e.deps}function Hh(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Bh(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function Bi(e,t){for(let n of e)Array.isArray(n)?Bi(n,t):n&&Qi(n)?Bi(n.\u0275providers,t):t(n)}function io(e,t){let n;e instanceof Et?(En(e),n=e):n=new ji(e);let r,o=Ie(n),i=Y(void 0);try{return t()}finally{Ie(o),Y(i)}}function bl(){return gl()!==void 0||$r()!=null}var ue=0,m=1,v=2,H=3,re=4,K=5,Dt=6,Gt=7,j=8,ke=9,de=10,A=11,qt=12,cs=13,Ct=14,J=15,Qe=16,Tt=17,_e=18,Oe=19,ls=20,xe=21,so=22,We=23,ee=24,wt=25,Ze=26,k=27,_l=1,us=6,Ye=7,Rn=8,bt=9,F=10;function Pe(e){return Array.isArray(e)&&typeof e[_l]=="object"}function fe(e){return Array.isArray(e)&&e[_l]===!0}function ds(e){return(e.flags&4)!==0}function Le(e){return e.componentOffset>-1}function zt(e){return(e.flags&1)===1}function Me(e){return!!e.template}function Qt(e){return(e[v]&512)!==0}function _t(e){return(e[v]&256)===256}var fs="svg",Ml="math";function oe(e){for(;Array.isArray(e);)e=e[ue];return e}function ps(e,t){return oe(t[e])}function pe(e,t){return oe(t[e.index])}function ao(e,t){return e.data[t]}function co(e,t){return e[t]}function hs(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function ie(e,t){let n=t[e];return Pe(n)?n:n[ue]}function Nl(e){return(e[v]&4)===4}function lo(e){return(e[v]&128)===128}function Sl(e){return fe(e[H])}function se(e,t){return t==null?null:e[t]}function gs(e){e[Tt]=0}function uo(e){e[v]&1024||(e[v]|=1024,lo(e)&&Mt(e))}function xl(e,t){for(;e>0;)t=t[Ct],e--;return t}function Zt(e){return!!(e[v]&9216||e[ee]?.dirty)}function fo(e){e[de].changeDetectionScheduler?.notify(8),e[v]&64&&(e[v]|=1024),Zt(e)&&Mt(e)}function Mt(e){e[de].changeDetectionScheduler?.notify(0);let t=Ge(e);for(;t!==null&&!(t[v]&8192||(t[v]|=8192,!lo(t)));)t=Ge(t)}function ms(e,t){if(_t(e))throw new C(911,!1);e[xe]===null&&(e[xe]=[]),e[xe].push(t)}function Al(e,t){if(e[xe]===null)return;let n=e[xe].indexOf(t);n!==-1&&e[xe].splice(n,1)}function Ge(e){let t=e[H];return fe(t)?t[H]:t}function ys(e){return e[Gt]??=[]}function vs(e){return e.cleanup??=[]}function Rl(e,t,n,r){let o=ys(t);o.push(n),e.firstCreatePass&&vs(e).push(r,o.length-1)}var D={lFrame:Gl(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var $i=!1;function kl(){return D.lFrame.elementDepthCount}function Ol(){D.lFrame.elementDepthCount++}function Es(){D.lFrame.elementDepthCount--}function po(){return D.bindingsEnabled}function Is(){return D.skipHydrationRootTNode!==null}function Ds(e){return D.skipHydrationRootTNode===e}function Cs(){D.skipHydrationRootTNode=null}function y(){return D.lFrame.lView}function O(){return D.lFrame.tView}function Pl(e){return D.lFrame.contextLView=e,e[j]}function Ll(e){return D.lFrame.contextLView=null,e}function B(){let e=Ts();for(;e!==null&&e.type===64;)e=e.parent;return e}function Ts(){return D.lFrame.currentTNode}function Fl(){let e=D.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Yt(e,t){let n=D.lFrame;n.currentTNode=e,n.isParent=t}function ws(){return D.lFrame.isParent}function bs(){D.lFrame.isParent=!1}function jl(){return D.lFrame.contextLView}function _s(){return $i}function Cn(e){let t=$i;return $i=e,t}function kn(){let e=D.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Ms(){return D.lFrame.bindingIndex}function Vl(e){return D.lFrame.bindingIndex=e}function Ke(){return D.lFrame.bindingIndex++}function On(e){let t=D.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Hl(){return D.lFrame.inI18n}function Bl(e,t){let n=D.lFrame;n.bindingIndex=n.bindingRootIndex=e,ho(t)}function $l(){return D.lFrame.currentDirectiveIndex}function ho(e){D.lFrame.currentDirectiveIndex=e}function Ul(e){let t=D.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function go(){return D.lFrame.currentQueryIndex}function Pn(e){D.lFrame.currentQueryIndex=e}function $h(e){let t=e[m];return t.type===2?t.declTNode:t.type===1?e[K]:null}function Ns(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=$h(i),o===null||(i=i[Ct],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=D.lFrame=Wl();return r.currentTNode=t,r.lView=e,!0}function mo(e){let t=Wl(),n=e[m];D.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Wl(){let e=D.lFrame,t=e===null?null:e.child;return t===null?Gl(e):t}function Gl(e){let t={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:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function ql(){let e=D.lFrame;return D.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Ss=ql;function yo(){let e=ql();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function zl(e){return(D.lFrame.contextLView=xl(e,D.lFrame.contextLView))[j]}function he(){return D.lFrame.selectedIndex}function Je(e){D.lFrame.selectedIndex=e}function Ln(){let e=D.lFrame;return ao(e.tView,e.selectedIndex)}function Ql(){D.lFrame.currentNamespace=fs}function Zl(){Uh()}function Uh(){D.lFrame.currentNamespace=null}function xs(){return D.lFrame.currentNamespace}var Yl=!0;function vo(){return Yl}function Fn(e){Yl=e}function Ui(e,t=null,n=null,r){let o=As(e,t,n,r);return o.resolveInjectorInitializers(),o}function As(e,t=null,n=null,r,o=new Set){let i=[n||Z,Dl(e)],s;return new Et(i,t||An(),s||null,o)}var Ce=class e{static THROW_IF_NOT_FOUND=mt;static NULL=new Dn;static create(t,n){if(Array.isArray(t))return Ui({name:""},n,t,"");{let r=t.name??"";return Ui({name:r},t.parent,t.providers,r)}}static \u0275prov=q({token:e,providedIn:"any",factory:()=>De(ns)});static __NG_ELEMENT_ID__=-1},Eo=new x(""),Fe=(()=>{class e{static __NG_ELEMENT_ID__=Wh;static __NG_ENV_ID__=n=>n}return e})(),qr=class extends Fe{_lView;constructor(t){super(),this._lView=t}get destroyed(){return _t(this._lView)}onDestroy(t){let n=this._lView;return ms(n,t),()=>Al(n,t)}};function Wh(){return new qr(y())}var Kl=!1,Jl=new x(""),Nt=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new mn(!1);debugTaskTracker=E(Jl,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new w(n=>{n.next(!1),n.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),this.debugTaskTracker?.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.debugTaskTracker?.remove(n),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=q({token:e,providedIn:"root",factory:()=>new e})}return e})(),Wi=class extends le{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,bl()&&(this.destroyRef=E(Fe,{optional:!0})??void 0,this.pendingTasks=E(Nt,{optional:!0})??void 0)}emit(t){let n=g(null);try{super.next(t)}finally{g(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof W&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},Se=Wi;function zr(...e){}function Rs(e){let t,n;function r(){e=zr;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function Xl(e){return queueMicrotask(()=>e()),()=>{e=zr}}var ks="isAngularZone",Tn=ks+"_ID",Gh=0,Te=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Se(!1);onMicrotaskEmpty=new Se(!1);onStable=new Se(!1);onError=new Se(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Kl}=t;if(typeof Zone>"u")throw new C(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,Qh(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(ks)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new C(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new C(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,qh,zr,zr);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},qh={};function Os(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function zh(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Rs(()=>{e.callbackScheduled=!1,Gi(e),e.isCheckStableRunning=!0,Os(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Gi(e)}function Qh(e){let t=()=>{zh(e)},n=Gh++;e._inner=e._inner.fork({name:"angular",properties:{[ks]:!0,[Tn]:n,[Tn+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(Zh(c))return r.invokeTask(i,s,a,c);try{return cl(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),ll(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return cl(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Yh(c)&&t(),ll(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Gi(e),Os(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function Gi(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function cl(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function ll(e){e._nesting--,Os(e)}var wn=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Se;onMicrotaskEmpty=new Se;onStable=new Se;onError=new Se;run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}};function Zh(e){return eu(e,"__ignore_ng_zone__")}function Yh(e){return eu(e,"__scheduler_tick__")}function eu(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var Ae=class{_console=console;handleError(t){this._console.error("ERROR",t)}},Xe=new x("",{factory:()=>{let e=E(Te),t=E(ne),n;return r=>{e.runOutsideAngular(()=>{t.destroyed&&!n?setTimeout(()=>{throw r}):(n??=t.get(Ae),n.handleError(r))})}}}),tu={provide:Wt,useValue:()=>{let e=E(Ae,{optional:!0})},multi:!0},Kh=new x("",{factory:()=>{let e=E(Eo).defaultView;if(!e)return;let t=E(Xe),n=i=>{t(i.reason),i.preventDefault()},r=i=>{i.error?t(i.error):t(new Error(i.message,{cause:i})),i.preventDefault()},o=()=>{e.addEventListener("unhandledrejection",n),e.addEventListener("error",r)};typeof Zone<"u"?Zone.root.run(o):o(),E(Fe).onDestroy(()=>{e.removeEventListener("error",r),e.removeEventListener("unhandledrejection",n)})}});function Jh(){return oo([Il(()=>{E(Kh)})])}function Io(e,t){let[n,r,o]=vi(e,t?.equal),i=n,s=i[V];return i.set=r,i.update=o,i.asReadonly=Do.bind(i),i}function Do(){let e=this[V];if(e.readonlyFn===void 0){let t=()=>this();t[V]=e,e.readonlyFn=t}return e.readonlyFn}var jn=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=Xh}return e})();function Xh(){return new jn(y(),B())}var Re=class{},Vn=new x("",{factory:()=>!0});var Ps=new x(""),Ls=(()=>{class e{internalPendingTasks=E(Nt);scheduler=E(Re);errorHandler=E(Xe);add(){let n=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(n)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(n))}}run(n){let r=this.add();n().catch(this.errorHandler).finally(r)}static \u0275prov=q({token:e,providedIn:"root",factory:()=>new e})}return e})(),Co=(()=>{class e{static \u0275prov=q({token:e,providedIn:"root",factory:()=>new qi})}return e})(),qi=class{dirtyEffectCount=0;queues=new Map;add(t){this.enqueue(t),this.schedule(t)}schedule(t){t.dirty&&this.dirtyEffectCount++}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),t.dirty&&this.dirtyEffectCount--)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||r.add(t)}flush(){for(;this.dirtyEffectCount>0;){let t=!1;for(let[n,r]of this.queues)n===null?t||=this.flushQueue(r):t||=n.run(()=>this.flushQueue(r));t||(this.dirtyEffectCount=0)}}flushQueue(t){let n=!1;for(let r of t)r.dirty&&(this.dirtyEffectCount--,n=!0,r.run());return n}},Qr=class{[V];constructor(t){this[V]=t}destroy(){this[V].destroy()}};function nu(e,t){let n=t?.injector??E(Ce),r=t?.manualCleanup!==!0?n.get(Fe):null,o,i=n.get(jn,null,{optional:!0}),s=n.get(Re);return i!==null?(o=ng(i.view,s,e),r instanceof qr&&r._lView===i.view&&(r=null)):o=rg(e,n.get(Co),s),o.injector=n,r!==null&&(o.onDestroyFns=[r.onDestroy(()=>o.destroy())]),new Qr(o)}var ru=U($({},Ei),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let e=Cn(!1);try{Ii(this)}finally{Cn(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=g(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],g(e)}}}),eg=U($({},ru),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(st(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.scheduler.remove(this)}}),tg=U($({},ru),{consumerMarkedDirty(){this.view[v]|=8192,Mt(this.view),this.notifier.notify(13)},destroy(){if(st(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.view[We]?.delete(this)}});function ng(e,t,n){let r=Object.create(tg);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=ou(r,n),e[We]??=new Set,e[We].add(r),r.consumerMarkedDirty(r),r}function rg(e,t,n){let r=Object.create(eg);return r.fn=ou(r,e),r.scheduler=t,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}function ou(e,t){return()=>{t(n=>(e.cleanupFns??=[]).push(n))}}function Xn(e){return{toString:e}.toString()}function dg(e){return typeof e=="function"}function Vu(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var Ro=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}},fg=(()=>{let e=()=>Hu;return e.ngInherit=!0,e})();function Hu(e){return e.type.prototype.ngOnChanges&&(e.setInput=hg),pg}function pg(){let e=$u(this),t=e?.current;if(t){let n=e.previous;if(n===ze)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function hg(e,t,n,r,o){let i=this.declaredInputs[r],s=$u(e)||gg(e,{previous:ze,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new Ro(l&&l.currentValue,n,c===ze),Vu(e,t,o,n)}var Bu="__ngSimpleChanges__";function $u(e){return e[Bu]||null}function gg(e,t){return e[Bu]=t}var iu=[];var S=function(e,t=null,n){for(let r=0;r<iu.length;r++){let o=iu[r];o(e,t,n)}},b=(function(e){return e[e.TemplateCreateStart=0]="TemplateCreateStart",e[e.TemplateCreateEnd=1]="TemplateCreateEnd",e[e.TemplateUpdateStart=2]="TemplateUpdateStart",e[e.TemplateUpdateEnd=3]="TemplateUpdateEnd",e[e.LifecycleHookStart=4]="LifecycleHookStart",e[e.LifecycleHookEnd=5]="LifecycleHookEnd",e[e.OutputStart=6]="OutputStart",e[e.OutputEnd=7]="OutputEnd",e[e.BootstrapApplicationStart=8]="BootstrapApplicationStart",e[e.BootstrapApplicationEnd=9]="BootstrapApplicationEnd",e[e.BootstrapComponentStart=10]="BootstrapComponentStart",e[e.BootstrapComponentEnd=11]="BootstrapComponentEnd",e[e.ChangeDetectionStart=12]="ChangeDetectionStart",e[e.ChangeDetectionEnd=13]="ChangeDetectionEnd",e[e.ChangeDetectionSyncStart=14]="ChangeDetectionSyncStart",e[e.ChangeDetectionSyncEnd=15]="ChangeDetectionSyncEnd",e[e.AfterRenderHooksStart=16]="AfterRenderHooksStart",e[e.AfterRenderHooksEnd=17]="AfterRenderHooksEnd",e[e.ComponentStart=18]="ComponentStart",e[e.ComponentEnd=19]="ComponentEnd",e[e.DeferBlockStateStart=20]="DeferBlockStateStart",e[e.DeferBlockStateEnd=21]="DeferBlockStateEnd",e[e.DynamicComponentStart=22]="DynamicComponentStart",e[e.DynamicComponentEnd=23]="DynamicComponentEnd",e[e.HostBindingsUpdateStart=24]="HostBindingsUpdateStart",e[e.HostBindingsUpdateEnd=25]="HostBindingsUpdateEnd",e})(b||{});function mg(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=Hu(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function Uu(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:l,ngOnDestroy:u}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),l&&((e.viewHooks??=[]).push(n,l),(e.viewCheckHooks??=[]).push(n,l)),u!=null&&(e.destroyHooks??=[]).push(n,u)}}function Mo(e,t,n){Wu(e,t,3,n)}function No(e,t,n,r){(e[v]&3)===n&&Wu(e,t,n,r)}function Fs(e,t){let n=e[v];(n&3)===t&&(n&=16383,n+=1,e[v]=n)}function Wu(e,t,n,r){let o=r!==void 0?e[Tt]&65535:0,i=r??-1,s=t.length-1,a=0;for(let c=o;c<s;c++)if(typeof t[c+1]=="number"){if(a=t[c],r!=null&&a>=r)break}else t[c]<0&&(e[Tt]+=65536),(a<i||i==-1)&&(yg(e,n,t,c),e[Tt]=(e[Tt]&4294901760)+c+2),c++}function su(e,t){S(b.LifecycleHookStart,e,t);let n=g(null);try{t.call(e)}finally{g(n),S(b.LifecycleHookEnd,e,t)}}function yg(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[v]>>14<e[Tt]>>16&&(e[v]&3)===t&&(e[v]+=16384,su(a,i)):su(a,i)}var Jt=-1,xt=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r,o){this.factory=t,this.name=o,this.canSeeViewProviders=n,this.injectImpl=r}};function vg(e){return(e.flags&8)!==0}function Eg(e){return(e.flags&16)!==0}function Ig(e,t,n){let r=0;for(;r<n.length;){let o=n[r];if(typeof o=="number"){if(o!==0)break;r++;let i=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,i)}else{let i=o,s=n[++r];Dg(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function Gu(e){return e===3||e===4||e===6}function Dg(e){return e.charCodeAt(0)===64}function Xt(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){let o=t[r];typeof o=="number"?n=o:n===0||(n===-1||n===2?au(e,n,o,null,t[++r]):au(e,n,o,null,null))}}return e}function au(e,t,n,r,o){let i=0,s=e.length;if(t===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===t){s=-1;break}else if(a>t){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===n){o!==null&&(e[i+1]=o);return}i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),o!==null&&e.splice(i++,0,o)}function qu(e){return e!==Jt}function ko(e){return e&32767}function Cg(e){return e>>16}function Oo(e,t){let n=Cg(e),r=t;for(;n>0;)r=r[Ct],n--;return r}var Qs=!0;function Po(e){let t=Qs;return Qs=e,t}var Tg=256,zu=Tg-1,Qu=5,wg=0,Ne={};function bg(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(It)&&(r=n[It]),r==null&&(r=n[It]=wg++);let o=r&zu,i=1<<o;t.data[e+(o>>Qu)]|=i}function Lo(e,t){let n=Zu(e,t);if(n!==-1)return n;let r=t[m];r.firstCreatePass&&(e.injectorIndex=t.length,js(r.data,e),js(t,null),js(r.blueprint,null));let o=Ra(e,t),i=e.injectorIndex;if(qu(o)){let s=ko(o),a=Oo(o,t),c=a[m].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function js(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Zu(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Ra(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=ed(o),r===null)return Jt;if(n++,o=o[Ct],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Jt}function Zs(e,t,n){bg(e,t,n)}function _g(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let r=n.length,o=0;for(;o<r;){let i=n[o];if(Gu(i))break;if(i===0)o=o+2;else if(typeof i=="number")for(o++;o<r&&typeof n[o]=="string";)o++;else{if(i===t)return n[o+1];o=o+2}}}return null}function Yu(e,t,n){if(n&8||e!==void 0)return e;eo(t,"NodeInjector")}function Ku(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[ke],i=Y(void 0);try{return o?o.get(t,r,n&8):es(t,r,n&8)}finally{Y(i)}}return Yu(r,t,n)}function Ju(e,t,n,r=0,o){if(e!==null){if(t[v]&2048&&!(r&2)){let s=Ag(e,t,n,r,Ne);if(s!==Ne)return s}let i=Xu(e,t,n,r,Ne);if(i!==Ne)return i}return Ku(t,n,r,o)}function Xu(e,t,n,r,o){let i=Ng(n);if(typeof i=="function"){if(!Ns(t,e,r))return r&1?Yu(o,n,r):Ku(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))eo(n);else return s}finally{Ss()}}else if(typeof i=="number"){let s=null,a=Zu(e,t),c=Jt,l=r&1?t[J][K]:null;for((a===-1||r&4)&&(c=a===-1?Ra(e,t):t[a+8],c===Jt||!lu(r,!1)?a=-1:(s=t[m],a=ko(c),t=Oo(c,t)));a!==-1;){let u=t[m];if(cu(i,a,u.data)){let d=Mg(a,t,n,s,r,l);if(d!==Ne)return d}c=t[a+8],c!==Jt&&lu(r,t[m].data[a+8]===l)&&cu(i,a,t)?(s=u,a=ko(c),t=Oo(c,t)):a=-1}}return o}function Mg(e,t,n,r,o,i){let s=t[m],a=s.data[e+8],c=r==null?Le(a)&&Qs:r!=s&&(a.type&3)!==0,l=o&1&&i===a,u=So(a,s,n,c,l);return u!==null?Wn(t,s,u,a,o):Ne}function So(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,l=e.directiveEnd,u=i>>20,d=r?a:a+u,p=o?a+u:l;for(let f=d;f<p;f++){let h=s[f];if(f<c&&n===h||f>=c&&h.type===n)return f}if(o){let f=s[c];if(f&&Me(f)&&f.type===n)return c}return null}function Wn(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof xt){let a=i;if(a.resolving)throw Xi("");let c=Po(a.canSeeViewProviders);a.resolving=!0;let l=s[n].type||s[n],u,d=a.injectImpl?Y(a.injectImpl):null,p=Ns(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&mg(n,s[n],t)}finally{d!==null&&Y(d),Po(c),a.resolving=!1,Ss()}}return i}function Ng(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(It)?e[It]:void 0;return typeof t=="number"?t>=0?t&zu:Sg:t}function cu(e,t,n){let r=1<<e;return!!(n[t+(e>>Qu)]&r)}function lu(e,t){return!(e&2)&&!(e&1&&t)}var St=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Ju(this._tNode,this._lView,t,yt(r),n)}};function Sg(){return new St(B(),y())}function xg(e){return Xn(()=>{let t=e.prototype.constructor,n=t[In]||Ys(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[In]||Ys(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Ys(e){return zi(e)?()=>{let t=Ys(G(e));return t&&t()}:Ue(e)}function Ag(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[v]&2048&&!Qt(s);){let a=Xu(i,s,n,r|2,Ne);if(a!==Ne)return a;let c=i.parent;if(!c){let l=s[ls];if(l){let u=l.get(n,Ne,r&-5);if(u!==Ne)return u}c=ed(s),s=s[Ct]}i=c}return o}function ed(e){let t=e[m],n=t.type;return n===2?t.declTNode:n===1?e[K]:null}function td(e){return _g(B(),e)}function Rg(){return sn(B(),y())}function sn(e,t){return new er(pe(e,t))}var er=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=Rg}return e})();function nd(e){return e instanceof er?e.nativeElement:e}function kg(){return this._results[Symbol.iterator]()}var Fo=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new le}constructor(t=!1){this._emitDistinctChangesOnly=t}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,n){return this._results.reduce(t,n)}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,n){this.dirty=!1;let r=yl(t);(this._changesDetected=!ml(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=kg};function rd(e){return(e.flags&128)===128}var ka=(function(e){return e[e.OnPush=0]="OnPush",e[e.Eager=1]="Eager",e[e.Default=1]="Default",e})(ka||{}),od=new Map,Og=0;function Pg(){return Og++}function Lg(e){od.set(e[Oe],e)}function Ks(e){od.delete(e[Oe])}var uu="__ngContext__";function en(e,t){Pe(t)?(e[uu]=t[Oe],Lg(t)):e[uu]=t}function id(e){return ad(e[qt])}function sd(e){return ad(e[re])}function ad(e){for(;e!==null&&!fe(e);)e=e[re];return e}var Js;function Fg(e){Js=e}function cd(){if(Js!==void 0)return Js;if(typeof document<"u")return document;throw new C(210,!1)}var jg=new x("",{factory:()=>Vg}),Vg="ng";var ld=new x(""),Hg=new x("",{providedIn:"platform",factory:()=>"unknown"}),Bg=new x(""),$g=new x("",{factory:()=>E(Eo).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var ud="r";var dd="di";var fd=!1,pd=new x("",{factory:()=>fd});var du=new WeakMap;function Ug(e,t){if(e==null||typeof e!="object")return;let n=du.get(e);n||(n=new WeakSet,du.set(e,n)),n.add(t)}var Wg=(e,t,n,r)=>{};function Gg(e,t,n,r){Wg(e,t,n,r)}function Jo(e){return(e.flags&32)===32}var qg=()=>null;function hd(e,t,n=!1){return qg(e,t,n)}function gd(e,t){let n=e.contentQueries;if(n!==null){let r=g(null);try{for(let o=0;o<n.length;o+=2){let i=n[o],s=n[o+1];if(s!==-1){let a=e.data[s];Pn(i),a.contentQueries(2,t[s],s)}}}finally{g(r)}}}function Xs(e,t,n){Pn(0);let r=g(null);try{t(e,n)}finally{g(r)}}function Oa(e,t,n){if(ds(t)){let r=g(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=n[s];a.contentQueries(1,c,s)}}}finally{g(r)}}}var At=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e})(At||{});var To;function zg(){if(To===void 0&&(To=null,we.trustedTypes))try{To=we.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return To}function Xo(e){return zg()?.createHTML(e)||e}var wo;function md(){if(wo===void 0&&(wo=null,we.trustedTypes))try{wo=we.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return wo}function fu(e){return md()?.createHTML(e)||e}function pu(e){return md()?.createScriptURL(e)||e}var je=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Zr})`}},ea=class extends je{getTypeName(){return"HTML"}},ta=class extends je{getTypeName(){return"Style"}},na=class extends je{getTypeName(){return"Script"}},ra=class extends je{getTypeName(){return"URL"}},oa=class extends je{getTypeName(){return"ResourceURL"}};function an(e){return e instanceof je?e.changingThisBreaksApplicationSecurity:e}function ei(e,t){let n=yd(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Zr})`)}return n===t}function yd(e){return e instanceof je&&e.getTypeName()||null}function Qg(e){return new ea(e)}function Zg(e){return new ta(e)}function Yg(e){return new na(e)}function Kg(e){return new ra(e)}function Jg(e){return new oa(e)}function Xg(e){let t=new sa(e);return em()?new ia(t):t}var ia=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(Xo(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},sa=class{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=Xo(t),n}};function em(){try{return!!new window.DOMParser().parseFromString(Xo(""),"text/html")}catch{return!1}}var tm=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Pa(e){return e=String(e),e.match(tm)?e:"unsafe:"+e}function Ve(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function tr(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var vd=Ve("area,br,col,hr,img,wbr"),Ed=Ve("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Id=Ve("rp,rt"),nm=tr(Id,Ed),rm=tr(Ed,Ve("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),om=tr(Id,Ve("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),hu=tr(vd,rm,om,nm),Dd=Ve("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),im=Ve("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),sm=Ve("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),am=tr(Dd,im,sm),cm=Ve("script,style,template"),aa=class{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){o.push(n),n=dm(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=um(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=gu(t).toLowerCase();if(!hu.hasOwnProperty(n))return this.sanitizedSomething=!0,!cm.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let o=0;o<r.length;o++){let i=r.item(o),s=i.name,a=s.toLowerCase();if(!am.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;Dd[a]&&(c=Pa(c)),this.buf.push(" ",s,'="',mu(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=gu(t).toLowerCase();hu.hasOwnProperty(n)&&!vd.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(mu(t))}};function lm(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function um(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Cd(t);return t}function dm(e){let t=e.firstChild;if(t&&lm(e,t))throw Cd(t);return t}function gu(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Cd(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var fm=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,pm=/([^\#-~ |!])/g;function mu(e){return e.replace(/&/g,"&").replace(fm,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(pm,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var bo;function Td(e,t){let n=null;try{bo=bo||Xg(e);let r=t?String(t):"";n=bo.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=bo.getInertBodyElement(r)}while(r!==i);let a=new aa().sanitizeChildren(yu(n)||n);return Xo(a)}finally{if(n){let r=yu(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function yu(e){return"content"in e&&hm(e)?e.content:null}function hm(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var gm=/^>|^->|<!--|-->|--!>|<!-$/g,mm=/(<|>)/g,ym="\u200B$1\u200B";function vm(e){return e.replace(gm,t=>t.replace(mm,ym))}function Em(e,t){return e.createText(t)}function Im(e,t,n){e.setValue(t,n)}function Dm(e,t){return e.createComment(vm(t))}function wd(e,t,n){return e.createElement(t,n)}function jo(e,t,n,r,o){e.insertBefore(t,n,r,o)}function bd(e,t,n){e.appendChild(t,n)}function vu(e,t,n,r,o){r!==null?jo(e,t,n,r,o):bd(e,t,n)}function _d(e,t,n,r){e.removeChild(null,t,n,r)}function Cm(e,t,n){e.setAttribute(t,"style",n)}function Tm(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Md(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&Ig(e,t,r),o!==null&&Tm(e,t,o),i!==null&&Cm(e,t,i)}var nr=(function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e[e.ATTRIBUTE_NO_BINDING=6]="ATTRIBUTE_NO_BINDING",e})(nr||{});function wm(e){let t=La();return t?fu(t.sanitize(nr.HTML,e)||""):ei(e,"HTML")?fu(an(e)):Td(cd(),be(e))}function Nd(e){let t=La();return t?t.sanitize(nr.URL,e)||"":ei(e,"URL")?an(e):Pa(be(e))}function Sd(e){let t=La();if(t)return pu(t.sanitize(nr.RESOURCE_URL,e)||"");if(ei(e,"ResourceURL"))return pu(an(e));throw new C(904,!1)}var bm={embed:{src:!0},frame:{src:!0},iframe:{src:!0},media:{src:!0},base:{href:!0},link:{href:!0},object:{data:!0,codebase:!0}};function _m(e,t){return bm[e.toLowerCase()]?.[t.toLowerCase()]===!0?Sd:Nd}function Mm(e,t,n){return _m(t,n)(e)}function La(){let e=y();return e&&e[de].sanitizer}function Nm(e){return e.ownerDocument.defaultView}function Sm(e){return e.ownerDocument}function xd(e){return e instanceof Function?e():e}function xm(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}var Ad="ng-template";function Am(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&xm(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(Fa(e))return!1;if(o=t.indexOf(1,o),o>-1){let i;for(;++o<t.length&&typeof(i=t[o])=="string";)if(i.toLowerCase()===n)return!0}return!1}function Fa(e){return e.type===4&&e.value!==Ad}function Rm(e,t,n){let r=e.type===4&&!n?Ad:e.value;return t===r}function km(e,t,n){let r=4,o=e.attrs,i=o!==null?Lm(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!ge(r)&&!ge(c))return!1;if(s&&ge(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!Rm(e,c,n)||c===""&&t.length===1){if(ge(r))return!1;s=!0}}else if(r&8){if(o===null||!Am(e,o,c,n)){if(ge(r))return!1;s=!0}}else{let l=t[++a],u=Om(c,o,Fa(e),n);if(u===-1){if(ge(r))return!1;s=!0;continue}if(l!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(ge(r))return!1;s=!0}}}}return ge(r)||s}function ge(e){return(e&1)===0}function Om(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){let s=t[o];if(s===e)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=t[++o];for(;typeof a=="string";)a=t[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return Fm(t,e)}function Rd(e,t,n=!1){for(let r=0;r<t.length;r++)if(km(e,t[r],n))return!0;return!1}function Pm(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function Lm(e){for(let t=0;t<e.length;t++){let n=e[t];if(Gu(n))return t}return e.length}function Fm(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){let r=e[n];if(typeof r=="number")return-1;if(r===t)return n;n++}return-1}function jm(e,t){e:for(let n=0;n<t.length;n++){let r=t[n];if(e.length===r.length){for(let o=0;o<e.length;o++)if(e[o]!==r[o])continue e;return!0}}return!1}function Eu(e,t){return e?":not("+t.trim()+")":t}function Vm(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if(typeof s=="string")if(r&2){let a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!ge(s)&&(t+=Eu(i,o),o=""),r=s,i=i||!ge(r);n++}return o!==""&&(t+=Eu(i,o)),t}function Hm(e){return e.map(Vm).join(",")}function Bm(e){let t=[],n=[],r=1,o=2;for(;r<e.length;){let i=e[r];if(typeof i=="string")o===2?i!==""&&t.push(i,e[++r]):o===8&&n.push(i);else{if(!ge(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var z={};function ja(e,t,n,r,o,i,s,a,c,l,u){let d=k+r,p=d+o,f=$m(d,p),h=typeof l=="function"?l():l;return f[m]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:p,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:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:h,incompleteFirstPass:!1,ssrId:u}}function $m(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:z);return n}function Um(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=ja(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Va(e,t,n,r,o,i,s,a,c,l,u){let d=t.blueprint.slice();return d[ue]=o,d[v]=r|4|128|8|64|1024,(l!==null||e&&e[v]&2048)&&(d[v]|=2048),gs(d),d[H]=d[Ct]=e,d[j]=n,d[de]=s||e&&e[de],d[A]=a||e&&e[A],d[ke]=c||e&&e[ke]||null,d[K]=i,d[Oe]=Pg(),d[Dt]=u,d[ls]=l,d[J]=t.type==2?e[J]:d,d}function Wm(e,t,n){let r=pe(t,e),o=Um(n),i=e[de].rendererFactory,s=Ha(e,Va(e,o,null,kd(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function kd(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Od(e,t,n,r){if(n===0)return-1;let o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function Ha(e,t){return e[qt]?e[cs][re]=t:e[qt]=t,e[cs]=t,t}function Gm(e=1){Pd(O(),y(),he()+e,!1)}function Pd(e,t,n,r){if(!r)if((t[v]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Mo(t,i,n)}else{let i=e.preOrderHooks;i!==null&&No(t,i,0,n)}Je(n)}var ti=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(ti||{});function ca(e,t,n,r){let o=g(null);try{let[i,s,a]=e.inputs[n],c=null;(s&ti.SignalBased)!==0&&(c=t[i][V]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):a!==null&&(r=a.call(t,r)),e.setInput!==null?e.setInput(t,c,r,n,i):Vu(t,c,i,r)}finally{g(o)}}var Vo=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(Vo||{}),qm;function Ba(e,t){return qm(e,t)}var EN=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var la=new WeakMap,Bn=new WeakSet;function zm(e,t){let n=la.get(e);if(!n||n.length===0)return;let r=t.parentNode,o=t.previousSibling;for(let i=n.length-1;i>=0;i--){let s=n[i],a=s.parentNode;s===t?(n.splice(i,1),Bn.add(s),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}}))):(o&&s===o||a&&r&&a!==r)&&(n.splice(i,1),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}})),s.parentNode?.removeChild(s))}}function Qm(e,t){let n=la.get(e);n?n.includes(t)||n.push(t):la.set(e,[t])}var Gn=new Set,ni=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(ni||{}),cn=new x(""),Iu=new Set;function kt(e){Iu.has(e)||(Iu.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var $a=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=q({token:e,providedIn:"root",factory:()=>new e})}return e})(),Ld=[0,1,2,3],Fd=(()=>{class e{ngZone=E(Te);scheduler=E(Re);errorHandler=E(Ae,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){E(cn,{optional:!0})}execute(){let n=this.sequences.size>0;n&&S(b.AfterRenderHooksStart),this.executing=!0;for(let r of Ld)for(let o of this.sequences)if(!(o.erroredOrDestroyed||!o.hooks[r]))try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let i=o.hooks[r];return i(o.pipelinedValue)},o.snapshot))}catch(i){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),n&&S(b.AfterRenderHooksEnd)}register(n){let{view:r}=n;r!==void 0?((r[wt]??=[]).push(n),Mt(r),r[v]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(ni.AFTER_NEXT_RENDER,n):n()}static \u0275prov=q({token:e,providedIn:"root",factory:()=>new e})}return e})(),Ho=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,o,i,s=null){this.impl=t,this.hooks=n,this.view=r,this.once=o,this.snapshot=s,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let t=this.view?.[wt];t&&(this.view[wt]=t.filter(n=>n!==this))}};function Zm(e,t){let n=t?.injector??E(Ce);return kt("NgAfterNextRender"),Km(e,n,t,!0)}function Ym(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function Km(e,t,n,r){let o=t.get($a);o.impl??=t.get(Fd);let i=t.get(cn,null,{optional:!0}),s=n?.manualCleanup!==!0?t.get(Fe):null,a=t.get(jn,null,{optional:!0}),c=new Ho(o.impl,Ym(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var jd=new x("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:E(ne)})});function Vd(e,t,n){let r=e.get(jd);if(Array.isArray(t))for(let o of t)r.queue.add(o),n?.detachedLeaveAnimationFns?.push(o);else r.queue.add(t),n?.detachedLeaveAnimationFns?.push(t);r.scheduler&&r.scheduler(e)}function Jm(e,t){let n=e.get(jd);if(t.detachedLeaveAnimationFns){for(let r of t.detachedLeaveAnimationFns)n.queue.delete(r);t.detachedLeaveAnimationFns=void 0}}function Xm(e,t){for(let[n,r]of t)Vd(e,r.animateFns)}function Du(e,t,n,r){let o=e?.[Ze]?.enter;t!==null&&o&&o.has(n.index)&&Xm(r,o)}function Kt(e,t,n,r,o,i,s,a){if(o!=null){let c,l=!1;fe(o)?c=o:Pe(o)&&(l=!0,o=o[ue]);let u=oe(o);e===0&&r!==null?(Du(a,r,i,n),s==null?bd(t,r,u):jo(t,r,u,s||null,!0)):e===1&&r!==null?(Du(a,r,i,n),jo(t,r,u,s||null,!0),zm(i,u)):e===2?(a?.[Ze]?.leave?.has(i.index)&&Qm(i,u),Bn.delete(u),Cu(a,i,n,d=>{if(Bn.has(u)){Bn.delete(u);return}_d(t,u,l,d)})):e===3&&(Bn.delete(u),Cu(a,i,n,()=>{t.destroyNode(u)})),c!=null&&uy(t,e,n,c,i,r,s)}}function ey(e,t){Hd(e,t),t[ue]=null,t[K]=null}function ty(e,t,n,r,o,i){r[ue]=o,r[K]=t,oi(e,r,n,1,o,i)}function Hd(e,t){t[de].changeDetectionScheduler?.notify(9),oi(e,t,t[A],2,null,null)}function ny(e){let t=e[qt];if(!t)return Vs(e[m],e);for(;t;){let n=null;if(Pe(t))n=t[qt];else{let r=t[F];r&&(n=r)}if(!n){for(;t&&!t[re]&&t!==e;)Pe(t)&&Vs(t[m],t),t=t[H];t===null&&(t=e),Pe(t)&&Vs(t[m],t),n=t&&t[re]}t=n}}function Ua(e,t){let n=e[bt],r=n.indexOf(t);n.splice(r,1)}function ri(e,t){if(_t(t))return;let n=t[A];n.destroyNode&&oi(e,t,n,3,null,null),ny(t)}function Vs(e,t){if(_t(t))return;let n=g(null);try{t[v]&=-129,t[v]|=256,t[ee]&&st(t[ee]),iy(e,t),oy(e,t),t[m].type===1&&t[A].destroy();let r=t[Qe];if(r!==null&&fe(t[H])){r!==t[H]&&Ua(r,t);let o=t[_e];o!==null&&o.detachView(e)}Ks(t)}finally{g(n)}}function Cu(e,t,n,r){let o=e?.[Ze];if(o==null||o.leave==null||!o.leave.has(t.index))return r(!1);e&&Gn.add(e[Oe]),Vd(n,()=>{if(o.leave&&o.leave.has(t.index)){let s=o.leave.get(t.index),a=[];if(s){for(let c=0;c<s.animateFns.length;c++){let l=s.animateFns[c],{promise:u}=l();a.push(u)}o.detachedLeaveAnimationFns=void 0}o.running=Promise.allSettled(a),ry(e,r)}else e&&Gn.delete(e[Oe]),r(!1)},o)}function ry(e,t){let n=e[Ze]?.running;if(n){n.then(()=>{e[Ze].running=void 0,Gn.delete(e[Oe]),t(!0)});return}t(!1)}function oy(e,t){let n=e.cleanup,r=t[Gt];if(n!==null)for(let s=0;s<n.length-1;s+=2)if(typeof n[s]=="string"){let a=n[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[n[s+1]];n[s].call(a)}r!==null&&(t[Gt]=null);let o=t[xe];if(o!==null){t[xe]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[We];if(i!==null){t[We]=null;for(let s of i)s.destroy()}}function iy(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let r=0;r<n.length;r+=2){let o=t[n[r]];if(!(o instanceof xt)){let i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];S(b.LifecycleHookStart,a,c);try{c.call(a)}finally{S(b.LifecycleHookEnd,a,c)}}else{S(b.LifecycleHookStart,o,i);try{i.call(o)}finally{S(b.LifecycleHookEnd,o,i)}}}}}function Bd(e,t,n){return sy(e,t.parent,n)}function sy(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[ue];if(Le(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===At.None||o===At.Emulated)return null}return pe(r,n)}function $d(e,t,n){return cy(e,t,n)}function ay(e,t,n){return e.type&40?pe(e,n):null}var cy=ay,Tu;function Wa(e,t,n,r){let o=Bd(e,r,t),i=t[A],s=r.parent||t[K],a=$d(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)vu(i,o,n[c],a,!1);else vu(i,o,n,a,!1);Tu!==void 0&&Tu(i,r,t,n,o)}function $n(e,t){if(t!==null){let n=t.type;if(n&3)return pe(t,e);if(n&4)return ua(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return $n(e,r);{let o=e[t.index];return fe(o)?ua(-1,o):oe(o)}}else{if(n&128)return $n(e,t.next);if(n&32)return Ba(t,e)()||oe(e[t.index]);{let r=Ud(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=Ge(e[J]);return $n(o,r)}else return $n(e,t.next)}}}return null}function Ud(e,t){if(t!==null){let r=e[J][K],o=t.projection;return r.projection[o]}return null}function ua(e,t){let n=F+e+1;if(n<t.length){let r=t[n],o=r[m].firstChild;if(o!==null)return $n(r,o)}return t[Ye]}function Ga(e,t,n,r,o,i,s){for(;n!=null;){let a=r[ke];if(n.type===128){n=n.next;continue}let c=r[n.index],l=n.type;if(s&&t===0&&(c&&en(oe(c),r),n.flags|=2),!Jo(n))if(l&8)Ga(e,t,n.child,r,o,i,!1),Kt(t,e,a,o,c,n,i,r);else if(l&32){let u=Ba(n,r),d;for(;d=u();)Kt(t,e,a,o,d,n,i,r);Kt(t,e,a,o,c,n,i,r)}else l&16?Wd(e,t,r,n,o,i):Kt(t,e,a,o,c,n,i,r);n=s?n.projectionNext:n.next}}function oi(e,t,n,r,o,i){Ga(n,r,e.firstChild,t,o,i,!1)}function ly(e,t,n){let r=t[A],o=Bd(e,n,t),i=n.parent||t[K],s=$d(i,n,t);Wd(r,0,t,n,o,s)}function Wd(e,t,n,r,o,i){let s=n[J],c=s[K].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];Kt(t,e,n[ke],o,u,r,i,n)}else{let l=c,u=s[H];rd(r)&&(l.flags|=128),Ga(e,t,l,u,o,i,!0)}}function uy(e,t,n,r,o,i,s){let a=r[Ye],c=oe(r);a!==c&&Kt(t,e,n,i,a,o,s);for(let l=F;l<r.length;l++){let u=r[l];oi(u[m],u,e,t,i,a)}}function dy(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:Vo.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Vo.Important),e.setStyle(n,r,o,i))}}function Gd(e,t,n,r,o){let i=he(),s=r&2;try{Je(-1),s&&t.length>k&&Pd(e,t,k,!1);let a=s?b.TemplateUpdateStart:b.TemplateCreateStart;S(a,o,n),n(r,o)}finally{Je(i);let a=s?b.TemplateUpdateEnd:b.TemplateCreateEnd;S(a,o,n)}}function ii(e,t,n){yy(e,t,n),(n.flags&64)===64&&vy(e,t,n)}function rr(e,t,n=pe){let r=t.localNames;if(r!==null){let o=t.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?n(t,e):e[s];e[o++]=a}}}function fy(e,t,n,r){let i=r.get(pd,fd)||n===At.ShadowDom||n===At.ExperimentalIsolatedShadowDom,s=e.selectRootElement(t,i);return py(s),s}function py(e){hy(e)}var hy=()=>null;function gy(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function qd(e,t,n,r,o,i){let s=t[m];if(Za(e,s,t,n,r)){Le(e)&&my(t,e.index);return}e.type&3&&(n=gy(n)),zd(e,t,n,r,o,i)}function zd(e,t,n,r,o,i){if(e.type&3){let s=pe(e,t);r=i!=null?i(r,e.value||"",n):r,o.setProperty(s,n,r)}else e.type&12}function my(e,t){let n=ie(t,e);n[v]&16||(n[v]|=64)}function yy(e,t,n){let r=n.directiveStart,o=n.directiveEnd;Le(n)&&Wm(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||Lo(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=Wn(t,e,s,n);if(en(c,t),i!==null&&Cy(t,s-r,c,a,n,i),Me(a)){let l=ie(n.index,t);l[j]=Wn(t,e,s,n)}}}function vy(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=$l();try{Je(i);for(let a=r;a<o;a++){let c=e.data[a],l=t[a];ho(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&Ey(c,l)}}finally{Je(-1),ho(s)}}function Ey(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function qa(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];Rd(t,i.selectors,!1)&&(r??=[],Me(i)?r.unshift(i):r.push(i))}return r}function Iy(e,t,n,r,o,i){let s=pe(e,t);Dy(t[A],s,i,e.value,n,r,o)}function Dy(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?be(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function Cy(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],l=s[a+1];ca(r,n,c,l)}}function za(e,t,n,r,o){let i=k+n,s=t[m],a=o(s,t,e,r,n);t[i]=a,Yt(e,!0);let c=e.type===2;return c?(Md(t[A],a,e),(kl()===0||zt(e))&&en(a,t),Ol()):en(a,t),vo()&&(!c||!Jo(e))&&Wa(s,t,a,e),e}function Qa(e){let t=e;return ws()?bs():(t=t.parent,Yt(t,!1)),t}function Ty(e,t){let n=e[ke];if(!n)return;let r;try{r=n.get(Xe,null)}catch{r=null}r?.(t)}function Za(e,t,n,r,o){let i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],a=!1;if(s)for(let c=0;c<s.length;c+=2){let l=s[c],u=s[c+1],d=t.data[l];ca(d,n[l],u,o),a=!0}if(i)for(let c of i){let l=n[c],u=t.data[c];ca(u,l,r,o),a=!0}return a}function wy(e,t){let n=ie(t,e),r=n[m];by(r,n);let o=n[ue];o!==null&&n[Dt]===null&&(n[Dt]=hd(o,n[ke])),S(b.ComponentStart);try{Ya(r,n,n[j])}finally{S(b.ComponentEnd,n[j])}}function by(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Ya(e,t,n){mo(t);try{let r=e.viewQuery;r!==null&&Xs(1,r,n);let o=e.template;o!==null&&Gd(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[_e]?.finishViewCreation(e),e.staticContentQueries&&gd(e,t),e.staticViewQueries&&Xs(2,e.viewQuery,n);let i=e.components;i!==null&&_y(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[v]&=-5,yo()}}function _y(e,t){for(let n=0;n<t.length;n++)wy(e,t[n])}function or(e,t,n,r){let o=g(null);try{let i=t.tView,a=e[v]&4096?4096:16,c=Va(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[t.index];c[Qe]=l;let u=e[_e];return u!==null&&(c[_e]=u.createEmbeddedView(i)),Ya(i,c,n),c}finally{g(o)}}function tn(e,t){return!t||t.firstChild===null||rd(e)}function qn(e,t,n,r,o=!1){for(;n!==null;){if(n.type===128){n=o?n.projectionNext:n.next;continue}let i=t[n.index];i!==null&&r.push(oe(i)),fe(i)&&Qd(i,r);let s=n.type;if(s&8)qn(e,t,n.child,r);else if(s&32){let a=Ba(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=Ud(t,n);if(Array.isArray(a))r.push(...a);else{let c=Ge(t[J]);qn(c[m],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Qd(e,t){for(let n=F;n<e.length;n++){let r=e[n],o=r[m].firstChild;o!==null&&qn(r[m],r,o,t)}e[Ye]!==e[ue]&&t.push(e[Ye])}function Zd(e){if(e[wt]!==null){for(let t of e[wt])t.impl.addSequence(t);e[wt].length=0}}var Yd=[];function My(e){return e[ee]??Ny(e)}function Ny(e){let t=Yd.pop()??Object.create(xy);return t.lView=e,t}function Sy(e){e.lView[ee]!==e&&(e.lView=null,Yd.push(e))}var xy=U($({},He),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Mt(e.lView)},consumerOnSignalRead(){this.lView[ee]=this}});function Ay(e){let t=e[ee]??Object.create(Ry);return t.lView=e,t}var Ry=U($({},He),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=Ge(e.lView);for(;t&&!Kd(t[m]);)t=Ge(t);t&&uo(t)},consumerOnSignalRead(){this.lView[ee]=this}});function Kd(e){return e.type!==2}function Jd(e){if(e[We]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[We])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[v]&8192)}}var ky=100;function Xd(e,t=0){let r=e[de].rendererFactory,o=!1;o||r.begin?.();try{Oy(e,t)}finally{o||r.end?.()}}function Oy(e,t){let n=_s();try{Cn(!0),da(e,t);let r=0;for(;Zt(e);){if(r===ky)throw new C(103,!1);r++,da(e,1)}}finally{Cn(n)}}function Py(e,t,n,r){if(_t(t))return;let o=t[v],i=!1,s=!1;mo(t);let a=!0,c=null,l=null;i||(Kd(e)?(l=My(t),c=Be(l)):dr()===null?(a=!1,l=Ay(t),c=Be(l)):t[ee]&&(st(t[ee]),t[ee]=null));try{gs(t),Vl(e.bindingStartIndex),n!==null&&Gd(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let f=e.preOrderCheckHooks;f!==null&&Mo(t,f,null)}else{let f=e.preOrderHooks;f!==null&&No(t,f,0,null),Fs(t,0)}if(s||Ly(t),Jd(t),ef(t,0),e.contentQueries!==null&&gd(e,t),!i)if(u){let f=e.contentCheckHooks;f!==null&&Mo(t,f)}else{let f=e.contentHooks;f!==null&&No(t,f,1),Fs(t,1)}jy(e,t);let d=e.components;d!==null&&nf(t,d,0);let p=e.viewQuery;if(p!==null&&Xs(2,p,r),!i)if(u){let f=e.viewCheckHooks;f!==null&&Mo(t,f)}else{let f=e.viewHooks;f!==null&&No(t,f,2),Fs(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[so]){for(let f of t[so])f();t[so]=null}i||(Zd(t),t[v]&=-73)}catch(u){throw i||Mt(t),u}finally{l!==null&&(it(l,c),a&&Sy(l)),yo()}}function ef(e,t){for(let n=id(e);n!==null;n=sd(n))for(let r=F;r<n.length;r++){let o=n[r];tf(o,t)}}function Ly(e){for(let t=id(e);t!==null;t=sd(t)){if(!(t[v]&2))continue;let n=t[bt];for(let r=0;r<n.length;r++){let o=n[r];uo(o)}}}function Fy(e,t,n){S(b.ComponentStart);let r=ie(t,e);try{tf(r,n)}finally{S(b.ComponentEnd,r[j])}}function tf(e,t){lo(e)&&da(e,t)}function da(e,t){let r=e[m],o=e[v],i=e[ee],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&dn(i)),s||=!1,i&&(i.dirty=!1),e[v]&=-9217,s)Py(r,e,r.template,e[j]);else if(o&8192){let a=g(null);try{Jd(e),ef(e,1);let c=r.components;c!==null&&nf(e,c,1),Zd(e)}finally{g(a)}}}function nf(e,t,n){for(let r=0;r<t.length;r++)Fy(e,t[r],n)}function jy(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let r=0;r<n.length;r++){let o=n[r];if(o<0)Je(~o);else{let i=o,s=n[++r],a=n[++r];Bl(s,i);let c=t[i];S(b.HostBindingsUpdateStart,c);try{a(2,c)}finally{S(b.HostBindingsUpdateEnd,c)}}}}finally{Je(-1)}}function Ka(e,t){let n=_s()?64:1088;for(e[de].changeDetectionScheduler?.notify(t);e;){e[v]|=n;let r=Ge(e);if(Qt(e)&&!r)return e;e=r}return null}function rf(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function of(e,t){let n=F+t;if(n<e.length)return e[n]}function ir(e,t,n,r=!0){let o=t[m];if(Vy(o,t,e,n),r){let s=ua(n,e),a=t[A],c=a.parentNode(e[Ye]);c!==null&&ty(o,e[K],a,t,c,s)}let i=t[Dt];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function sf(e,t){let n=zn(e,t);return n!==void 0&&ri(n[m],n),n}function zn(e,t){if(e.length<=F)return;let n=F+t,r=e[n];if(r){let o=r[Qe];o!==null&&o!==e&&Ua(o,r),t>0&&(e[n-1][re]=r[re]);let i=xn(e,F+t);ey(r[m],r);let s=i[_e];s!==null&&s.detachView(i[m]),r[H]=null,r[re]=null,r[v]&=-129}return r}function Vy(e,t,n,r){let o=F+r,i=n.length;r>0&&(n[o-1][re]=t),r<i-F?(t[re]=n[o],ts(n,F+r,t)):(n.push(t),t[re]=null),t[H]=n;let s=t[Qe];s!==null&&n!==s&&af(s,t);let a=t[_e];a!==null&&a.insertView(e),fo(t),t[v]|=128}function af(e,t){let n=e[bt],r=t[H];if(Pe(r))e[v]|=2;else{let o=r[H][J];t[J]!==o&&(e[v]|=2)}n===null?e[bt]=[t]:n.push(t)}var et=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[m];return qn(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[j]}set context(t){this._lView[j]=t}get destroyed(){return _t(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[H];if(fe(t)){let n=t[Rn],r=n?n.indexOf(this):-1;r>-1&&(zn(t,r),xn(n,r))}this._attachedToViewContainer=!1}ri(this._lView[m],this._lView)}onDestroy(t){ms(this._lView,t)}markForCheck(){Ka(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[v]&=-129}reattach(){fo(this._lView),this._lView[v]|=128}detectChanges(){this._lView[v]|=1024,Xd(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new C(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Qt(this._lView),n=this._lView[Qe];n!==null&&!t&&Ua(n,this._lView),Hd(this._lView[m],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new C(902,!1);this._appRef=t;let n=Qt(this._lView),r=this._lView[Qe];r!==null&&!n&&af(r,this._lView),fo(this._lView)}};function Hy(e){return Zt(e._lView)||!!(e._lView[v]&64)}function By(e){uo(e._lView)}var Qn=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=$y;constructor(n,r,o){this._declarationLView=n,this._declarationTContainer=r,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,r){return this.createEmbeddedViewImpl(n,r)}createEmbeddedViewImpl(n,r,o){let i=or(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o});return new et(i)}}return e})();function $y(){return si(B(),y())}function si(e,t){return e.type&4?new Qn(t,e,sn(e,t)):null}function ln(e,t,n,r,o){let i=e.data[t];if(i===null)i=Uy(e,t,n,r,o),Hl()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=Fl();i.injectorIndex=s===null?-1:s.injectorIndex}return Yt(i,!0),i}function Uy(e,t,n,r,o){let i=Ts(),s=ws(),a=s?i:i&&i.parent,c=e.data[t]=Gy(e,a,n,t,r,o);return Wy(e,c,i,s),c}function Wy(e,t,n,r){e.firstChild===null&&(e.firstChild=t),n!==null&&(r?n.child==null&&t.parent!==null&&(n.child=t):n.next===null&&(n.next=t,t.prev=n))}function Gy(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Is()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,controlDirectiveIndex:-1,customControlIndex:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,namespace:xs(),attrs:i,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function qy(e){let t=e[us]??[],r=e[H][A],o=[];for(let i of t)i.data[dd]!==void 0?o.push(i):zy(i,r);e[us]=o}function zy(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[ud];for(;n<o;){let i=r.nextSibling;_d(t,r,!1),r=i,n++}}}var Qy=()=>null,Zy=()=>null;function Bo(e,t){return Qy(e,t)}function cf(e,t,n){return Zy(e,t,n)}var lf=class{},ai=class{},fa=class{resolveComponentFactory(t){throw new C(917,!1)}},sr=class{static NULL=new fa},Zn=class{},Yy=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>Ky()}return e})();function Ky(){let e=y(),t=B(),n=ie(t.index,e);return(Pe(n)?n:e)[A]}var uf=(()=>{class e{static \u0275prov=q({token:e,providedIn:"root",factory:()=>null})}return e})();var xo={},pa=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,xo,r);return o!==xo||n===xo?o:this.parentInjector.get(t,n,r)}};function $o(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s<t.length;s++){let a=t[s];if(typeof a=="number")i=a;else if(i==1)o=Yr(o,a);else if(i==2){let c=a,l=t[++s];r=Yr(r,c+": "+l+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function ar(e,t=0){let n=y();if(n===null)return De(e,t);let r=B();return Ju(r,n,G(e),t)}function Jy(){let e="invalid";throw new Error(e)}function df(e,t,n,r,o){let i=r===null?null:{"":-1},s=o(e,n);if(s!==null){let a=s,c=null,l=null;for(let u of s)if(u.resolveHostDirectives!==null){[a,c,l]=u.resolveHostDirectives(s);break}tv(e,t,n,a,i,c,l)}i!==null&&r!==null&&Xy(n,r,i)}function Xy(e,t,n){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new C(-301,!1);r.push(t[o],i)}}function ev(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function tv(e,t,n,r,o,i,s){let a=r.length,c=null;for(let p=0;p<a;p++){let f=r[p];c===null&&Me(f)&&(c=f,ev(e,n,p)),Zs(Lo(n,t),e,f.type)}av(n,e.data.length,a),c?.viewProvidersResolver&&c.viewProvidersResolver(c);for(let p=0;p<a;p++){let f=r[p];f.providersResolver&&f.providersResolver(f)}let l=!1,u=!1,d=Od(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let p=0;p<a;p++){let f=r[p];if(n.mergedAttrs=Xt(n.mergedAttrs,f.hostAttrs),rv(e,n,t,d,f),sv(d,f,o),s!==null&&s.has(f)){let[T,R]=s.get(f);n.directiveToIndex.set(f.type,[d,T+n.directiveStart,R+n.directiveStart])}else(i===null||!i.has(f))&&n.directiveToIndex.set(f.type,d);f.contentQueries!==null&&(n.flags|=4),(f.hostBindings!==null||f.hostAttrs!==null||f.hostVars!==0)&&(n.flags|=64);let h=f.type.prototype;!l&&(h.ngOnChanges||h.ngOnInit||h.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),l=!0),!u&&(h.ngOnChanges||h.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),u=!0),d++}nv(e,n,i)}function nv(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))wu(0,t,o,r),wu(1,t,o,r),_u(t,r,!1);else{let i=n.get(o);bu(0,t,i,r),bu(1,t,i,r),_u(t,r,!0)}}}function wu(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s;e===0?s=t.inputs??={}:s=t.outputs??={},s[i]??=[],s[i].push(r),ff(t,i)}}function bu(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s=o[i],a;e===0?a=t.hostDirectiveInputs??={}:a=t.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),ff(t,s)}}function ff(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function _u(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||Fa(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let c=r[a];if(c===0){a+=4;continue}else if(c===5){a+=2;continue}else if(typeof c=="number")break;if(!n&&o.hasOwnProperty(c)){let l=o[c];for(let u of l)if(u===t){s??=[],s.push(c,r[a+1]);break}}else if(n&&i.hasOwnProperty(c)){let l=i[c];for(let u=0;u<l.length;u+=2)if(l[u]===t){s??=[],s.push(l[u+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function rv(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=Ue(o.type,!0)),s=new xt(i,Me(o),ar,null);e.blueprint[r]=s,n[r]=s,ov(e,t,r,Od(e,n,o.hostVars,z),o)}function ov(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;iv(s)!=a&&s.push(a),s.push(n,r,i)}}function iv(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function sv(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Me(t)&&(n[""]=e)}}function av(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Ja(e,t,n,r,o,i,s,a){let c=t[m],l=c.consts,u=se(l,s),d=ln(c,e,n,r,u);return i&&df(c,t,d,se(l,a),o),d.mergedAttrs=Xt(d.mergedAttrs,d.attrs),d.attrs!==null&&$o(d,d.attrs,!1),d.mergedAttrs!==null&&$o(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function Xa(e,t){Uu(e,t),ds(t)&&e.queries.elementEnd(t)}function cv(e,t,n,r,o,i){let s=t.consts,a=se(s,o),c=ln(t,e,n,r,a);if(c.mergedAttrs=Xt(c.mergedAttrs,c.attrs),i!=null){let l=se(s,i);c.localNames=[];for(let u=0;u<l.length;u+=2)c.localNames.push(l[u],-1)}return c.attrs!==null&&$o(c,c.attrs,!1),c.mergedAttrs!==null&&$o(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function ec(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function tc(e,t,n){return e[t]=n}function lv(e,t){return e[t]}function te(e,t,n){if(n===z)return!1;let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function nc(e,t,n,r){let o=te(e,t,n);return te(e,t+1,r)||o}function uv(e,t,n,r,o){let i=nc(e,t,n,r);return te(e,t+2,o)||i}function Ao(e,t,n){return function r(o){let i=r.__ngNativeEl__;i!==void 0&&Ug(o,i);let s=Le(e)?ie(e.index,t):t;Ka(s,5);let a=t[j],c=Mu(t,a,n,o),l=r.__ngNextListenerFn__;for(;l;)c=Mu(t,a,l,o)&&c,l=l.__ngNextListenerFn__;return c}}function Mu(e,t,n,r){let o=g(null);try{return S(b.OutputStart,t,n),n(r)!==!1}catch(i){return Ty(e,i),!1}finally{S(b.OutputEnd,t,n),g(o)}}function pf(e,t,n,r,o,i,s,a){let c=zt(e),l=!1,u=null;if(!r&&c&&(u=fv(t,n,i,e.index)),u!==null){let d=u.__ngLastListenerFn__||u;d.__ngNextListenerFn__=s,u.__ngLastListenerFn__=s,l=!0}else{let d=pe(e,n),p=r?r(d):d;Gg(n,p,i,a),r||(a.__ngNativeEl__=d);let f=o.listen(p,i,a);if(!dv(i)){let h=r?T=>r(oe(T[e.index])):e.index;hf(h,t,n,i,a,f,!1)}}return l}function dv(e){return e.startsWith("animation")||e.startsWith("transition")}function fv(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===n&&o[i+1]===r){let a=t[Gt],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function hf(e,t,n,r,o,i,s){let a=t.firstCreatePass?vs(t):null,c=ys(n),l=c.length;c.push(o,i),a&&a.push(r,e,l,(l+1)*(s?-1:1))}function Nu(e,t,n,r,o,i){let s=t[n],a=t[m],l=a.data[n].outputs[r],d=s[l].subscribe(i);hf(e.index,a,t,o,i,d,!0)}var ha=Symbol("BINDING");function gf(e){return e.debugInfo?.className||e.type.name||null}var Uo=class extends sr{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=qe(t);return new nn(n,this.ngModule)}};function pv(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&ti.SignalBased)!==0};return o&&(i.transform=o),i})}function hv(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function gv(e,t,n){let r=t instanceof ne?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new pa(n,r):n}function mv(e){let t=e.get(Zn,null);if(t===null)throw new C(407,!1);let n=e.get(uf,null),r=e.get(Re,null),o=e.get(cn,null,{optional:!0});return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:!1,tracingService:o}}function yv(e,t){let n=mf(e);return wd(t,n,n==="svg"?fs:n==="math"?Ml:null)}function vv(e){if(e?.toLowerCase()==="script")throw new C(905,!1)}function mf(e){return(e.selectors[0][0]||"div").toLowerCase()}var nn=class extends ai{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=pv(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=hv(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=Hm(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s){S(b.DynamicComponentStart);let a=g(null);try{let c=this.componentDef,l=gv(c,o||this.ngModule,t),u=mv(l),d=u.tracingService;return d&&d.componentCreate?d.componentCreate(gf(c),()=>this.createComponentRef(u,l,n,r,i,s)):this.createComponentRef(u,l,n,r,i,s)}finally{g(a)}}createComponentRef(t,n,r,o,i,s){let a=this.componentDef,c=Ev(o,a,s,i),l=t.rendererFactory.createRenderer(null,a),u=o?fy(l,o,a.encapsulation,n):yv(a,l);vv(u?.tagName);let d=s?.some(Su)||i?.some(h=>typeof h!="function"&&h.bindings.some(Su)),p=Va(null,c,null,512|kd(a),null,null,t,l,n,null,hd(u,n,!0));p[k]=u,mo(p);let f=null;try{let h=Ja(k,p,2,"#host",()=>c.directiveRegistry,!0,0);Md(l,u,h),en(u,p),ii(c,p,h),Oa(c,h,p),Xa(c,h),r!==void 0&&Dv(h,this.ngContentSelectors,r),f=ie(h.index,p),p[j]=f[j],Ya(c,p,null)}catch(h){throw f!==null&&Ks(f),Ks(p),h}finally{S(b.DynamicComponentEnd),yo()}return new Wo(this.componentType,p,!!d)}};function Ev(e,t,n,r){let o=e?["ng-version","21.2.18"]:Bm(t.selectors[0]),i=null,s=null,a=0;if(n)for(let u of n)a+=u[ha].requiredVars,u.create&&(u.targetIdx=0,(i??=[]).push(u)),u.update&&(u.targetIdx=0,(s??=[]).push(u));if(r)for(let u=0;u<r.length;u++){let d=r[u];if(typeof d!="function")for(let p of d.bindings){a+=p[ha].requiredVars;let f=u+1;p.create&&(p.targetIdx=f,(i??=[]).push(p)),p.update&&(p.targetIdx=f,(s??=[]).push(p))}}let c=[t];if(r)for(let u of r){let d=typeof u=="function"?u:u.type,p=Ji(d);c.push(p)}return ja(0,null,Iv(i,s),1,a,c,null,null,null,[o],null)}function Iv(e,t){return!e&&!t?null:n=>{if(n&1&&e)for(let r of e)r.create();if(n&2&&t)for(let r of t)r.update()}}function Su(e){let t=e[ha].kind;return t==="input"||t==="twoWay"}var Wo=class extends lf{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=ao(n[m],k),this.location=sn(this._tNode,n),this.instance=ie(this._tNode.index,n)[j],this.hostView=this.changeDetectorRef=new et(n,void 0),this.componentType=t}setInput(t,n){this._hasInputBindings;let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let o=this._rootLView,i=Za(r,o[m],o,t,n);this.previousInputValues.set(t,n);let s=ie(r.index,o);Ka(s,1)}get injector(){return new St(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function Dv(e,t,n){let r=e.projection=[];for(let o=0;o<t.length;o++){let i=n[o];r.push(i!=null&&i.length?Array.from(i):null)}}var ci=(()=>{class e{static __NG_ELEMENT_ID__=Cv}return e})();function Cv(){let e=B();return yf(e,y())}var ga=class e extends ci{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return sn(this._hostTNode,this._hostLView)}get injector(){return new St(this._hostTNode,this._hostLView)}get parentInjector(){let t=Ra(this._hostTNode,this._hostLView);if(qu(t)){let n=Oo(t,this._hostLView),r=ko(t),o=n[m].data[r+8];return new St(o,n)}else return new St(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=xu(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-F}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Bo(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,tn(this._hostTNode,s)),a}createComponent(t,n,r,o,i,s,a){let c=t&&!dg(t),l;if(c)l=n;else{let R=n||{};l=R.index,r=R.injector,o=R.projectableNodes,i=R.environmentInjector||R.ngModuleRef,s=R.directives,a=R.bindings}let u=c?t:new nn(qe(t)),d=r||this.parentInjector;if(!i&&u.ngModule==null){let P=(c?d:this.parentInjector).get(ne,null);P&&(i=P)}let p=qe(u.componentType??{}),f=Bo(this._lContainer,p?.id??null),h=f?.firstChild??null,T=u.create(d,o,h,i,s,a);return this.insertImpl(T.hostView,l,tn(this._hostTNode,f)),T}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Sl(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[H],l=new e(c,c[K],c[H]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return ir(s,o,i,r),t.attachToViewContainerRef(),ts(Hs(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=xu(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=zn(this._lContainer,n);r&&(xn(Hs(this._lContainer),n),ri(r[m],r))}detach(t){let n=this._adjustIndex(t,-1),r=zn(this._lContainer,n);return r&&xn(Hs(this._lContainer),n)!=null?new et(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function xu(e){return e[Rn]}function Hs(e){return e[Rn]||(e[Rn]=[])}function yf(e,t){let n,r=t[e.index];return fe(r)?n=r:(n=rf(r,t,null,e),t[e.index]=n,Ha(t,n)),wv(n,t,e,r),new ga(n,e,t)}function Tv(e,t){let n=e[A],r=n.createComment(""),o=pe(t,e),i=n.parentNode(o);return jo(n,i,r,n.nextSibling(o),!1),r}var wv=Mv,bv=()=>!1;function _v(e,t,n){return bv(e,t,n)}function Mv(e,t,n,r){if(e[Ye])return;let o;n.type&8?o=oe(r):o=Tv(t,n),e[Ye]=o}var ma=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},ya=class e{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,o=[];for(let i=0;i<r;i++){let s=n.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new e(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)oc(t,n).matches!==null&&this.queries[n].setDirty()}},va=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=kv(t):this.predicate=t}},Ea=class e{queries;constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){let o=n!==null?n.length:0,i=this.getByIndex(r).embeddedTView(t,o);i&&(i.indexInDeclarationView=r,n!==null?n.push(i):n=[i])}return n!==null?new e(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}},Ia=class e{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(t,n=-1){this.metadata=t,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new e(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let n=this._declarationNodeIndex,r=t.parent;for(;r!==null&&r.type&8&&r.index!==n;)r=r.parent;return n===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){let r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){let i=r[o];this.matchTNodeWithReadOption(t,n,Nv(n,i)),this.matchTNodeWithReadOption(t,n,So(n,t,i,!1,!1))}else r===Qn?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,So(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===er||o===ci||o===Qn&&n.type&4)this.addMatch(n.index,-2);else{let i=So(n,t,o,!1,!1);i!==null&&this.addMatch(n.index,i)}else this.addMatch(n.index,r)}}addMatch(t,n){this.matches===null?this.matches=[t,n]:this.matches.push(t,n)}};function Nv(e,t){let n=e.localNames;if(n!==null){for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1]}return null}function Sv(e,t){return e.type&11?sn(e,t):e.type&4?si(e,t):null}function xv(e,t,n,r){return n===-1?Sv(t,e):n===-2?Av(e,t,r):Wn(e,e[m],n,t)}function Av(e,t,n){if(n===er)return sn(t,e);if(n===Qn)return si(t,e);if(n===ci)return yf(t,e)}function vf(e,t,n,r){let o=t[_e].queries[r];if(o.matches===null){let i=e.data,s=n.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let l=s[c];if(l<0)a.push(null);else{let u=i[l];a.push(xv(t,u,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function Da(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=vf(e,t,o,n);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)r.push(s[a/2]);else{let l=i[a+1],u=t[-c];for(let d=F;d<u.length;d++){let p=u[d];p[Qe]===p[H]&&Da(p[m],p,l,r)}if(u[bt]!==null){let d=u[bt];for(let p=0;p<d.length;p++){let f=d[p];Da(f[m],f,l,r)}}}}}return r}function rc(e,t){return e[_e].queries[t].queryList}function Rv(e,t,n){let r=new Fo((n&4)===4);return Rl(e,t,r,r.destroy),(t[_e]??=new ya).queries.push(new ma(r))-1}function Ef(e,t,n){let r=O();return r.firstCreatePass&&(Ov(r,new va(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),Rv(r,y(),t)}function kv(e){return e.split(",").map(t=>t.trim())}function Ov(e,t,n){e.queries===null&&(e.queries=new Ea),e.queries.track(new Ia(t,n))}function oc(e,t){return e.queries.getByIndex(t)}function If(e,t){let n=e[m],r=oc(n,t);return r.crossesNgTemplate?Da(n,e,t,[]):vf(n,e,r,t)}function Df(e,t,n){let r,o=hn(()=>{r._dirtyCounter();let i=Lv(r,e);if(t&&i===void 0)throw new C(-951,!1);return i});return r=o[V],r._dirtyCounter=Io(0),r._flatValue=void 0,o}function Cf(e){return Df(!0,!1,e)}function Tf(e){return Df(!0,!0,e)}function Pv(e,t){let n=e[V];n._lView=y(),n._queryIndex=t,n._queryList=rc(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function Lv(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[v]&4)return t?void 0:Z;let o=rc(n,r),i=If(n,r);return o.reset(i,nd),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}var rn=class{},wf=class{};var Go=class extends rn{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new Uo(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=Ki(t);this._bootstrapComponents=xd(i.bootstrap),this._r3Injector=As(t,n,[{provide:rn,useValue:this},{provide:sr,useValue:this.componentFactoryResolver},...r],_n(t),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},qo=class extends wf{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new Go(this.moduleType,t,[])}};var Yn=class extends rn{injector;componentFactoryResolver=new Uo(this);instance=null;constructor(t){super();let n=new Et([...t.providers,{provide:rn,useValue:this},{provide:sr,useValue:this.componentFactoryResolver}],t.parent||An(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function bf(e,t,n=null){return new Yn({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var Fv=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=os(!1,n.type),o=r.length>0?bf([r],this._injector,""):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=q({token:e,providedIn:"environment",factory:()=>new e(De(ne))})}return e})();function jv(e){return Xn(()=>{let t=_f(e),n=U($({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===ka.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(Fv).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||At.Emulated,styles:e.styles||Z,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&kt("NgStandalone"),Mf(n);let r=e.dependencies;return n.directiveDefs=Au(r,Vv),n.pipeDefs=Au(r,fl),n.id=Gv(n),n})}function Vv(e){return qe(e)||Ji(e)}function Hv(e){return Xn(()=>({type:e.type,bootstrap:e.bootstrap||Z,declarations:e.declarations||Z,imports:e.imports||Z,exports:e.exports||Z,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Bv(e,t){if(e==null)return ze;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a,c;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,c=o[3]||null):(i=o,s=o,a=ti.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function $v(e){if(e==null)return ze;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function Uv(e){return Xn(()=>{let t=_f(e);return Mf(t),t})}function Wv(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function _f(e){let t={};return{type:e.type,providersResolver:null,viewProvidersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||ze,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||Z,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,inputs:Bv(e.inputs,t),outputs:$v(e.outputs),debugInfo:null}}function Mf(e){e.features?.forEach(t=>t(e))}function Au(e,t){return e?()=>{let n=typeof e=="function"?e():e,r=[];for(let o of n){let i=t(o);i!==null&&r.push(i)}return r}:null}function Gv(e){let t=0,n=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let i of r.join("|"))t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function qv(e){return Object.getPrototypeOf(e.prototype).constructor}function Nf(e){let t=qv(e.type),n=!0,r=[e];for(;t&&t!==Function.prototype&&t!==Object.prototype;){let o,i=Object.hasOwn(t,Nn)?t[Nn]:void 0,s=Object.hasOwn(t,Sn)?t[Sn]:void 0;if(Me(e))o=i??s;else{if(i)throw new C(903,!1);o=s}if(o){if(n){r.push(o);let c=e;c.inputs=Bs(e.inputs),c.declaredInputs=Bs(e.declaredInputs),c.outputs=Bs(e.outputs);let l=o.hostBindings;l&&Kv(e,l);let u=o.viewQuery,d=o.contentQueries;if(u&&Zv(e,u),d&&Yv(e,d),zv(e,o),ul(e.outputs,o.outputs),Me(o)&&o.data.animation){let p=e.data;p.animation=(p.animation||[]).concat(o.data.animation)}}let a=o.features;if(a)for(let c=0;c<a.length;c++){let l=a[c];l&&l.ngInherit&&l(e),l===Nf&&(n=!1)}}t=Object.getPrototypeOf(t)}Qv(r)}function zv(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let r=t.inputs[n];r!==void 0&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n])}}function Qv(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=Xt(o.hostAttrs,n=Xt(n,o.hostAttrs))}}function Bs(e){return e===ze?{}:e===Z?[]:e}function Zv(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function Yv(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function Kv(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function Sf(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=Xt(e.mergedAttrs,e.attrs);let u=e.tView=ja(2,e,o,i,s,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);n.queries!==null&&(n.queries.template(n,e),u.queries=n.queries.embeddedTView(e))}a&&(e.flags|=a),Yt(e,!1);let c=Xv(n,t,e,r);vo()&&Wa(n,t,c,e),en(c,t);let l=rf(c,t,c,e);t[r+k]=l,Ha(t,l),_v(l,e,t)}function Jv(e,t,n,r,o,i,s,a,c,l,u){let d=n+k,p;return t.firstCreatePass?(p=ln(t,d,4,s||null,a||null),po()&&df(t,e,p,se(t.consts,l),qa),Uu(t,p)):p=t.data[d],Sf(p,e,t,n,r,o,i,c),zt(p)&&ii(t,e,p),l!=null&&rr(e,p,u),p}function Kn(e,t,n,r,o,i,s,a,c,l,u){let d=n+k,p;if(t.firstCreatePass){if(p=ln(t,d,4,s||null,a||null),l!=null){let f=se(t.consts,l);p.localNames=[];for(let h=0;h<f.length;h+=2)p.localNames.push(f[h],-1)}}else p=t.data[d];return Sf(p,e,t,n,r,o,i,c),l!=null&&rr(e,p,u),p}function xf(e,t,n,r,o,i,s,a){let c=y(),l=O(),u=se(l.consts,i);return Jv(c,l,e,t,n,r,o,u,void 0,s,a),xf}var Xv=eE;function eE(e,t,n,r){return Fn(!0),t[A].createComment("")}var tE=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Af(e){return typeof e=="function"&&e[V]!==void 0}function ic(e){return Af(e)&&typeof e.set=="function"}var Rf=new x("");function sc(e){return!!e&&typeof e.then=="function"}function kf(e){return!!e&&typeof e.subscribe=="function"}var Of=new x("");var ac=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=E(Of,{optional:!0})??[];injector=E(Ce);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=io(this.injector,o);if(sc(i))n.push(i);else if(kf(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Pf=new x("");function Lf(){yi(()=>{let e="";throw new C(600,e)})}function Ff(e){return e.isBoundToModule}var nE=10;var li=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=E(Xe);afterRenderManager=E($a);zonelessEnabled=E(Vn);rootEffectScheduler=E(Co);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new le;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=E(Nt);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(ht(n=>!n))}constructor(){E(cn,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=E(ne);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=Ce.NULL){return this._injector.get(Te).run(()=>{S(b.BootstrapComponentStart);let s=n instanceof ai;if(!this._injector.get(ac).done){let h="";throw new C(405,h)}let c;s?c=n:c=this._injector.get(sr).resolveComponentFactory(n),this.componentTypes.push(c.componentType);let l=Ff(c)?void 0:this._injector.get(rn),u=r||c.selector,d=c.create(o,[],u,l),p=d.location.nativeElement,f=d.injector.get(Rf,null);return f?.registerApplication(p),d.onDestroy(()=>{this.detachView(d.hostView),Un(this.components,d),f?.unregisterApplication(p)}),this._loadComponent(d),S(b.BootstrapComponentEnd,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){S(b.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(ni.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw S(b.ChangeDetectionEnd),new C(101,!1);let n=g(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,g(n),this.afterTick.next(),S(b.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Zn,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<nE;){S(b.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{S(b.ChangeDetectionSyncEnd)}}}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let n=!1;if(this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o}of this.allViews){if(!r&&!Zt(o))continue;let i=r&&!this.zonelessEnabled?0:1;Xd(o,i),n=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}n||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>Zt(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;Un(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView);try{this.tick()}catch(o){this.internalErrorHandler(o)}this.components.push(n),this._injector.get(Pf,[]).forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Un(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new C(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Un(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function jf(e,t,n,r){let o=y(),i=Ke();if(te(o,i,t)){let s=O(),a=Ln();Iy(a,o,e,t,n,r)}return jf}var Ca=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t))}};function $s(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function rE(e,t,n,r){let o,i,s=0,a=e.length-1,c=void 0;if(Array.isArray(t)){g(r);let l=t.length-1;for(g(null);s<=a&&s<=l;){let u=e.at(s),d=t[s],p=$s(s,u,s,d,n);if(p!==0){p<0&&e.updateValue(s,d),s++;continue}let f=e.at(a),h=t[l],T=$s(a,f,l,h,n);if(T!==0){T<0&&e.updateValue(a,h),a--,l--;continue}let R=n(s,u),P=n(a,f),un=n(s,d);if(Object.is(un,P)){let fi=n(l,h);Object.is(fi,R)?(e.swap(s,a),e.updateValue(a,h),l--,a--):e.move(a,s),e.updateValue(s,d),s++;continue}if(o??=new zo,i??=ku(e,s,a,n),Ta(e,o,s,un))e.updateValue(s,d),s++,a++;else if(i.has(un))o.set(R,e.detach(s)),a--;else{let fi=e.create(s,t[s]);e.attach(s,fi),s++,a++}}for(;s<=l;)Ru(e,o,n,s,t[s]),s++}else if(t!=null){g(r);let l=t[Symbol.iterator]();g(null);let u=l.next();for(;!u.done&&s<=a;){let d=e.at(s),p=u.value,f=$s(s,d,s,p,n);if(f!==0)f<0&&e.updateValue(s,p),s++,u=l.next();else{o??=new zo,i??=ku(e,s,a,n);let h=n(s,p);if(Ta(e,o,s,h))e.updateValue(s,p),s++,a++,u=l.next();else if(!i.has(h))e.attach(s,e.create(s,p)),s++,a++,u=l.next();else{let T=n(s,d);o.set(T,e.detach(s)),a--}}}for(;!u.done;)Ru(e,o,n,e.length,u.value),u=l.next()}for(;s<=a;)e.destroy(e.detach(a--));o?.forEach(l=>{e.destroy(l)})}function Ta(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Ru(e,t,n,r,o){if(Ta(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function ku(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var zo=class{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};function oE(e,t,n,r,o,i,s,a){kt("NgControlFlow");let c=y(),l=O(),u=se(l.consts,i);return Kn(c,l,e,t,n,r,o,u,256,s,a),cc}function cc(e,t,n,r,o,i,s,a){kt("NgControlFlow");let c=y(),l=O(),u=se(l.consts,i);return Kn(c,l,e,t,n,r,o,u,512,s,a),cc}function iE(e,t){kt("NgControlFlow");let n=y(),r=Ke(),o=n[r]!==z?n[r]:-1,i=o!==-1?Qo(n,k+o):void 0,s=0;if(te(n,r,e)){let a=g(null);try{if(i!==void 0&&sf(i,s),e!==-1){let c=k+e,l=Qo(n,c),u=Ma(n[m],c),d=cf(l,u,n),p=or(n,u,t,{dehydratedView:d});ir(l,p,s,tn(u,d))}}finally{g(a)}}else if(i!==void 0){let a=of(i,s);a!==void 0&&(a[j]=t)}}var wa=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-F}};function sE(e){return e}function aE(e,t){return t}var ba=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function cE(e,t,n,r,o,i,s,a,c,l,u,d,p){kt("NgControlFlow");let f=y(),h=O(),T=c!==void 0,R=y(),P=a?s.bind(R[J][j]):s,un=new ba(T,P);R[k+e]=un,Kn(f,h,e+1,t,n,r,o,se(h.consts,i),256),T&&Kn(f,h,e+2,c,l,u,d,se(h.consts,p),512)}var _a=class extends Ca{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r}get length(){return this.lContainer.length-F}at(t){return this.getLView(t)[j].$implicit}attach(t,n){let r=n[Dt];this.needsIndexUpdate||=t!==this.length,ir(this.lContainer,n,t,tn(this.templateTNode,r)),uE(this.lContainer,t)}detach(t){return this.needsIndexUpdate||=t!==this.length-1,dE(this.lContainer,t),fE(this.lContainer,t)}create(t,n){let r=Bo(this.lContainer,this.templateTNode.tView.ssrId);return or(this.hostLView,this.templateTNode,new wa(this.lContainer,n,t),{dehydratedView:r})}destroy(t){ri(t[m],t)}updateValue(t,n){this.getLView(t)[j].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[j].$index=t}getLView(t){return pE(this.lContainer,t)}};function lE(e){let t=g(null),n=he();try{let r=y(),o=r[m],i=r[n],s=n+1,a=Qo(r,s);if(i.liveCollection===void 0){let l=Ma(o,s);i.liveCollection=new _a(a,r,l)}else i.liveCollection.reset();let c=i.liveCollection;if(rE(c,e,i.trackByFn,t),c.updateIndexes(),i.hasEmptyBlock){let l=Ke(),u=c.length===0;if(te(r,l,u)){let d=n+2,p=Qo(r,d);if(u){let f=Ma(o,d),h=cf(p,f,r),T=or(r,f,void 0,{dehydratedView:h});ir(p,T,0,tn(f,h))}else o.firstUpdatePass&&qy(p),sf(p,0)}}}finally{g(t)}}function Qo(e,t){return e[t]}function uE(e,t){if(e.length<=F)return;let n=F+t,r=e[n],o=r?r[Ze]:void 0;if(r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0){let i=r[ke];Jm(i,o),Gn.delete(r[Oe]),o.detachedLeaveAnimationFns=void 0}}function dE(e,t){if(e.length<=F)return;let n=F+t,r=e[n],o=r?r[Ze]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}function fE(e,t){return zn(e,t)}function pE(e,t){return of(e,t)}function Ma(e,t){return ao(e,t)}function Vf(e,t,n){let r=y(),o=Ke();if(te(r,o,t)){let i=O(),s=Ln();qd(s,r,e,t,r[A],n)}return Vf}function Na(e,t,n,r,o){Za(t,e,n,o?"class":"style",r)}function Zo(e,t,n,r){let o=y(),i=o[m],s=e+k,a=i.firstCreatePass?Ja(s,o,2,t,qa,po(),n,r):i.data[s];if(Le(a)){let c=o[de].tracingService;if(c&&c.componentCreate){let l=i.data[a.directiveStart+a.componentOffset];return c.componentCreate(gf(l),()=>(Ou(e,t,o,a,r),Zo))}}return Ou(e,t,o,a,r),Zo}function Ou(e,t,n,r,o){if(za(r,n,e,t,$f),zt(r)){let i=n[m];ii(i,n,r),Oa(i,r,n)}o!=null&&rr(n,r)}function lc(){let e=O(),t=B(),n=Qa(t);return e.firstCreatePass&&Xa(e,n),Ds(n)&&Cs(),Es(),n.classesWithoutHost!=null&&vg(n)&&Na(e,n,y(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&Eg(n)&&Na(e,n,y(),n.stylesWithoutHost,!1),lc}function Hf(e,t,n,r){return Zo(e,t,n,r),lc(),Hf}function uc(e,t,n,r){let o=y(),i=o[m],s=e+k,a=i.firstCreatePass?cv(s,i,2,t,n,r):i.data[s];return za(a,o,e,t,$f),r!=null&&rr(o,a),uc}function dc(){let e=B(),t=Qa(e);return Ds(t)&&Cs(),Es(),dc}function Bf(e,t,n,r){return uc(e,t,n,r),dc(),Bf}var $f=(e,t,n,r,o)=>(Fn(!0),wd(t[A],r,xs()));function fc(e,t,n){let r=y(),o=r[m],i=e+k,s=o.firstCreatePass?Ja(i,r,8,"ng-container",qa,po(),t,n):o.data[i];if(za(s,r,e,"ng-container",hE),zt(s)){let a=r[m];ii(a,r,s),Oa(a,s,r)}return n!=null&&rr(r,s),fc}function pc(){let e=O(),t=B(),n=Qa(t);return e.firstCreatePass&&Xa(e,n),pc}function Uf(e,t,n){return fc(e,t,n),pc(),Uf}var hE=(e,t,n,r,o)=>(Fn(!0),Dm(t[A],""));function gE(){return y()}function Wf(e,t,n){let r=y(),o=Ke();if(te(r,o,t)){let i=O(),s=Ln();zd(s,r,e,t,r[A],n)}return Wf}var Hn=void 0;function mE(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var yE=["en",[["a","p"],["AM","PM"]],[["AM","PM"]],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Hn,[["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"]],Hn,[["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\u202Fa","h:mm:ss\u202Fa","h:mm:ss\u202Fa z","h:mm:ss\u202Fa zzzz"],["{1}, {0}",Hn,Hn,Hn],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",mE],Us=Object.create(null);function vE(e){let t=EE(e),n=Pu(t);if(n)return n;let r=t.split("-")[0];if(n=Pu(r),n)return n;if(r==="en")return yE;throw new C(701,!1)}function Pu(e){if(!(e in Us)){let t=we.ng&&we.ng.common&&we.ng.common.locales&&we.ng.common.locales[e];return t!==void 0&&(Us[e]=t),t}return Us[e]}var Gf=(function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e})(Gf||{});function EE(e){return e.toLowerCase().replace(/_/g,"-")}var cr="en-US";var IE=cr;function qf(e){typeof e=="string"&&(IE=e.toLowerCase().replace(/_/g,"-"))}function zf(e,t,n){let r=y(),o=O(),i=B();return Zf(o,r,r[A],i,e,t,n),zf}function Qf(e,t,n){let r=y(),o=O(),i=B();return(i.type&3||n)&&pf(i,o,r,n,r[A],e,t,Ao(i,r,t)),Qf}function Zf(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=Ao(r,t,i),pf(r,e,t,s,n,o,i,c)&&(a=!1)),a){let l=r.outputs?.[o],u=r.hostDirectiveOutputs?.[o];if(u&&u.length)for(let d=0;d<u.length;d+=2){let p=u[d],f=u[d+1];c??=Ao(r,t,i),Nu(r,t,p,f,o,c)}if(l&&l.length)for(let d of l)c??=Ao(r,t,i),Nu(r,t,d,o,o,c)}}function DE(e=1){return zl(e)}function CE(e,t){let n=null,r=Pm(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?Rd(e,i,!0):jm(r,i))return o}return n}function TE(e){let t=y()[J][K];if(!t.projection){let n=e?e.length:1,r=t.projection=vl(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?CE(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function wE(e,t=0,n,r,o,i){let s=y(),a=O(),c=r?e+1:null;c!==null&&Kn(s,a,c,r,o,i,null,n);let l=ln(a,k+e,16,null,n||null);l.projection===null&&(l.projection=t),bs();let d=!s[Dt]||Is();s[J][K].projection[l.projection]===null&&c!==null?bE(s,a,c):d&&!Jo(l)&&ly(a,s,l)}function bE(e,t,n){let r=k+n,o=t.data[r],i=e[r],s=Bo(i,o.tView.ssrId),a=or(e,o,void 0,{dehydratedView:s});ir(i,a,0,tn(o,s))}function Yf(e,t,n){return Ef(e,t,n),Yf}function _E(e){let t=y(),n=O(),r=go();Pn(r+1);let o=oc(n,r);if(e.dirty&&Nl(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=If(t,r);e.reset(i,nd),e.notifyOnChanges()}return!0}return!1}function ME(){return rc(y(),go())}function Kf(e,t,n,r){return Pv(e,Ef(t,n,r)),Kf}function NE(e=1){Pn(go()+e)}function SE(e){let t=jl();return co(t,k+e)}function _o(e,t){return e<<17|t<<2}function Rt(e){return e>>17&32767}function xE(e){return(e&2)==2}function AE(e,t){return e&131071|t<<17}function Sa(e){return e|2}function on(e){return(e&131068)>>2}function Ws(e,t){return e&-131069|t<<2}function RE(e){return(e&1)===1}function xa(e){return e|1}function kE(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=Rt(s),c=on(s);e[r]=n;let l=!1,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||Ut(d,u)>0)&&(l=!0)}else u=n;if(o)if(c!==0){let p=Rt(e[a+1]);e[r+1]=_o(p,a),p!==0&&(e[p+1]=Ws(e[p+1],r)),e[a+1]=AE(e[a+1],r)}else e[r+1]=_o(a,0),a!==0&&(e[a+1]=Ws(e[a+1],r)),a=r;else e[r+1]=_o(c,0),a===0?a=r:e[c+1]=Ws(e[c+1],r),c=r;l&&(e[r+1]=Sa(e[r+1])),Lu(e,u,r,!0),Lu(e,u,r,!1),OE(t,u,e,r,i),s=_o(a,c),i?t.classBindings=s:t.styleBindings=s}function OE(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Ut(i,t)>=0&&(n[r+1]=xa(n[r+1]))}function Lu(e,t,n,r){let o=e[n+1],i=t===null,s=r?Rt(o):on(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];PE(c,t)&&(a=!0,e[s+1]=r?xa(l):Sa(l)),s=r?Rt(l):on(l)}a&&(e[n+1]=r?Sa(o):xa(o))}function PE(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Ut(e,t)>=0:!1}var me={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function LE(e){return e.substring(me.key,me.keyEnd)}function FE(e){return jE(e),Jf(e,Xf(e,0,me.textEnd))}function Jf(e,t){let n=me.textEnd;return n===t?-1:(t=me.keyEnd=VE(e,me.key=t,n),Xf(e,t,n))}function jE(e){me.key=0,me.keyEnd=0,me.value=0,me.valueEnd=0,me.textEnd=e.length}function Xf(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function VE(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function ep(e,t,n){return np(e,t,n,!1),ep}function tp(e,t){return np(e,t,null,!0),tp}function HE(e){$E(QE,BE,e,!0)}function BE(e,t){for(let n=FE(t);n>=0;n=Jf(t,n))no(e,LE(t),!0)}function np(e,t,n,r){let o=y(),i=O(),s=On(2);if(i.firstUpdatePass&&op(i,e,s,r),t!==z&&te(o,s,t)){let a=i.data[he()];ip(i,a,o,o[A],e,o[s+1]=YE(t,n),r,s)}}function $E(e,t,n,r){let o=O(),i=On(2);o.firstUpdatePass&&op(o,null,i,r);let s=y();if(n!==z&&te(s,i,n)){let a=o.data[he()];if(sp(a,r)&&!rp(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=Yr(c,n||"")),Na(o,a,s,n,r)}else ZE(o,a,s,s[A],s[i+1],s[i+1]=zE(e,t,n),r,i)}}function rp(e,t){return t>=e.expandoStartIndex}function op(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[he()],s=rp(e,n);sp(i,r)&&t===null&&!s&&(t=!1),t=UE(o,i,t,r),kE(o,i,t,n,s,r)}}function UE(e,t,n,r){let o=Ul(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Gs(null,e,t,n,r),n=Jn(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Gs(o,e,t,n,r),i===null){let c=WE(e,t,r);c!==void 0&&Array.isArray(c)&&(c=Gs(null,e,t,c[1],r),c=Jn(c,t.attrs,r),GE(e,t,r,c))}else i=qE(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function WE(e,t,n){let r=n?t.classBindings:t.styleBindings;if(on(r)!==0)return e[Rt(r)]}function GE(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[Rt(o)]=r}function qE(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Jn(r,s,n)}return Jn(r,t.attrs,n)}function Gs(e,t,n,r,o){let i=null,s=n.directiveEnd,a=n.directiveStylingLast;for(a===-1?a=n.directiveStart:a++;a<s&&(i=t[a],r=Jn(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function Jn(e,t,n){let r=n?1:2,o=-1;if(t!==null)for(let i=0;i<t.length;i++){let s=t[i];typeof s=="number"?o=s:o===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),no(e,s,n?!0:t[++i]))}return e===void 0?null:e}function zE(e,t,n){if(n==null||n==="")return Z;let r=[],o=an(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(o instanceof Set)for(let i of o)e(r,i,!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&e(r,i,o[i]);else typeof o=="string"&&t(r,o);return r}function QE(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&no(e,r,n)}function ZE(e,t,n,r,o,i,s,a){o===z&&(o=Z);let c=0,l=0,u=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;u!==null||d!==null;){let p=c<o.length?o[c+1]:void 0,f=l<i.length?i[l+1]:void 0,h=null,T;u===d?(c+=2,l+=2,p!==f&&(h=d,T=f)):d===null||u!==null&&u<d?(c+=2,h=u):(l+=2,h=d,T=f),h!==null&&ip(e,t,n,r,h,T,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}function ip(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,l=c[a+1],u=RE(l)?Fu(c,t,n,o,on(l),s):void 0;if(!Yo(u)){Yo(i)||xE(l)&&(i=Fu(c,null,n,o,a,s));let d=ps(he(),n);dy(r,s,d,o,i)}}function Fu(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let c=e[o],l=Array.isArray(c),u=l?c[1]:c,d=u===null,p=n[o+1];p===z&&(p=d?Z:void 0);let f=d?ro(p,r):u===r?p:void 0;if(l&&!Yo(f)&&(f=ro(c,r)),Yo(f)&&(a=f,s))return a;let h=e[o+1];o=s?Rt(h):on(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=ro(c,r))}return a}function Yo(e){return e!==void 0}function YE(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=_n(an(e)))),e}function sp(e,t){return(e.flags&(t?8:16))!==0}function KE(e,t=""){let n=y(),r=O(),o=e+k,i=r.firstCreatePass?ln(r,o,1,t,null):r.data[o],s=JE(r,n,i,t);n[o]=s,vo()&&Wa(r,n,s,i),Yt(i,!1)}var JE=(e,t,n,r)=>(Fn(!0),Em(t[A],r));function XE(e,t,n,r=""){return te(e,Ke(),n)?t+be(n)+r:z}function ap(e,t,n,r,o,i=""){let s=Ms(),a=nc(e,s,n,o);return On(2),a?t+be(n)+r+be(o)+i:z}function eI(e,t,n,r,o,i,s,a=""){let c=Ms(),l=uv(e,c,n,o,s);return On(3),l?t+be(n)+r+be(o)+i+be(s)+a:z}function cp(e){return hc("",e),cp}function hc(e,t,n){let r=y(),o=XE(r,e,t,n);return o!==z&&gc(r,he(),o),hc}function lp(e,t,n,r,o){let i=y(),s=ap(i,e,t,n,r,o);return s!==z&&gc(i,he(),s),lp}function up(e,t,n,r,o,i,s){let a=y(),c=eI(a,e,t,n,r,o,i,s);return c!==z&&gc(a,he(),c),up}function gc(e,t,n){let r=ps(t,e);Im(e[A],r,n)}function dp(e,t,n){ic(t)&&(t=t());let r=y(),o=Ke();if(te(r,o,t)){let i=O(),s=Ln();qd(s,r,e,t,r[A],n)}return dp}function tI(e,t){let n=ic(e);return n&&e.set(t),n}function fp(e,t){let n=y(),r=O(),o=B();return Zf(r,n,n[A],o,e,t),fp}function nI(e,t,n,r,o=""){return ap(y(),e,t,n,r,o)}function ju(e,t,n){let r=O();r.firstCreatePass&&pp(t,r.data,r.blueprint,Me(e),n)}function pp(e,t,n,r,o){if(e=G(e),Array.isArray(e))for(let i=0;i<e.length;i++)pp(e[i],t,n,r,o);else{let i=O(),s=y(),a=B(),c=vt(e)?e:G(e.provide),l=as(e),u=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(vt(e)||!e.multi){let f=new xt(l,o,ar,null),h=zs(c,t,o?u:u+p,d);h===-1?(Zs(Lo(a,s),i,c),qs(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[h]=f,s[h]=f)}else{let f=zs(c,t,u+p,d),h=zs(c,t,u,u+p),T=f>=0&&n[f],R=h>=0&&n[h];if(o&&!R||!o&&!T){Zs(Lo(a,s),i,c);let P=iI(o?oI:rI,n.length,o,r,l,e);!o&&R&&(n[h].providerFactory=P),qs(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(P),s.push(P)}else{let P=hp(n[o?h:f],l,!o&&r);qs(i,e,f>-1?f:h,P)}!o&&r&&R&&n[h].componentProviders++}}}function qs(e,t,n,r){let o=vt(t),i=wl(t);if(o||i){let c=(i?G(t.useClass):t).prototype.ngOnDestroy;if(c){let l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let u=l.indexOf(n);u===-1?l.push(n,[r,c]):l[u+1].push(r,c)}else l.push(n,c)}}}function hp(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function zs(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function rI(e,t,n,r,o){return Aa(this.multi,[])}function oI(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=Wn(r,r[m],this.providerFactory.index,o);s=c.slice(0,a),Aa(i,s);for(let l=a;l<c.length;l++)s.push(c[l])}else s=[],Aa(i,s);return s}function Aa(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function iI(e,t,n,r,o,i){let s=new xt(e,n,ar,null);return s.multi=[],s.index=t,s.componentProviders=0,hp(s,o,r&&!n),s}function sI(e,t){return n=>{n.providersResolver=(r,o)=>ju(r,o?o(e):e,!1),t&&(n.viewProvidersResolver=(r,o)=>ju(r,o?o(t):t,!0))}}function aI(e,t){let n=kn()+e,r=y();return r[n]===z?tc(r,n,t()):lv(r,n)}function cI(e,t,n){return mp(y(),kn(),e,t,n)}function gp(e,t){let n=e[t];return n===z?void 0:n}function mp(e,t,n,r,o,i){let s=t+n;return te(e,s,o)?tc(e,s+1,i?r.call(i,o):r(o)):gp(e,s+1)}function lI(e,t,n,r,o,i,s){let a=t+n;return nc(e,a,o,i)?tc(e,a+2,s?r.call(s,o,i):r(o,i)):gp(e,a+2)}function uI(e,t){let n=O(),r,o=e+k;n.firstCreatePass?(r=dI(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=Ue(r.type,!0)),s,a=Y(ar);try{let c=Po(!1),l=i();return Po(c),hs(n,y(),o,l),l}finally{Y(a)}}function dI(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function fI(e,t,n){let r=e+k,o=y(),i=co(o,r);return yp(o,r)?mp(o,kn(),t,i.transform,n,i):i.transform(n)}function pI(e,t,n,r){let o=e+k,i=y(),s=co(i,o);return yp(i,o)?lI(i,kn(),t,s.transform,n,r,s):s.transform(n,r)}function yp(e,t){return e[m].data[t].pure}function hI(e,t){return si(e,t)}var Ko=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},gI=(()=>{class e{compileModuleSync(n){return new qo(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=Ki(n),i=xd(o.declarations).reduce((s,a)=>{let c=qe(a);return c&&s.push(new nn(c)),s},[]);return new Ko(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var vp=(()=>{class e{applicationErrorHandler=E(Xe);appRef=E(li);taskService=E(Nt);ngZone=E(Te);zonelessEnabled=E(Vn);tracing=E(cn,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new W;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Tn):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(E(Ps,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{let n=this.taskService.add();if(!this.runningTick&&(this.cleanup(),!this.zonelessEnabled||this.appRef.includeAllTestViews)){this.taskService.remove(n);return}this.switchToMicrotaskScheduler(),this.taskService.remove(n)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{let n=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})})}notify(n){if(!this.zonelessEnabled&&n===5)return;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2;break}case 12:{this.appRef.dirtyFlags|=16;break}case 13:{this.appRef.dirtyFlags|=2;break}case 11:break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick())return;let r=this.useMicrotaskScheduler?Xl:Rs;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Tn+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){this.applicationErrorHandler(r)}finally{this.taskService.remove(n),this.cleanup()}}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Ep(){return[{provide:Re,useExisting:vp},{provide:Te,useClass:wn},{provide:Vn,useValue:!0}]}function mI(){return typeof $localize<"u"&&$localize.locale||cr}var mc=new x("",{factory:()=>E(mc,{optional:!0,skipSelf:!0})||mI()});var ui=class{destroyed=!1;listeners=null;errorHandler=E(Ae,{optional:!0});destroyRef=E(Fe);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new C(953,!1);return(this.listeners??=[]).push(t),{unsubscribe:()=>{let n=this.listeners?.indexOf(t);n!==void 0&&n!==-1&&this.listeners?.splice(n,1)}}}emit(t){if(this.destroyed){console.warn(bn(953,!1));return}if(this.listeners===null)return;let n=g(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{g(n)}}};function yI(e){return il(e)}function vI(e,t){return hn(e,t?.equal)}var EI=e=>e;function II(e,t){if(typeof e=="function"){let n=Oi(e,EI,t?.equal);return Ip(n,t?.debugName)}else{let n=Oi(e.source,e.computation,e.equal);return Ip(n,e.debugName)}}function Ip(e,t){let n=e[V],r=e;return r.set=o=>rl(n,o),r.update=o=>ol(n,o),r.asReadonly=Do.bind(e),r}var bp=Symbol("InputSignalNode#UNSET"),DI=U($({},pr),{transformFn:void 0,applyValueToInputSignal(e,t){at(e,t)}});function _p(e,t){let n=Object.create(DI);n.value=e,n.transformFn=t?.transform;function r(){if(rt(n),n.value===bp){let o=null;throw new C(-950,o)}return n.value}return r[V]=n,r}var Dp=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>td(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}};function DO(e){return new ui}function Cp(e,t){return _p(e,t)}function CI(e){return _p(bp,e)}var CO=(Cp.required=CI,Cp);function Tp(e,t){return Cf(t)}function TI(e,t){return Tf(t)}var TO=(Tp.required=TI,Tp);var yc=new x(""),wI=new x("");function lr(e){return!e.moduleRef}function bI(e){let t=lr(e)?e.r3Injector:e.moduleRef.injector,n=t.get(Te);return n.run(()=>{lr(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(Xe),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),lr(e)){let i=()=>t.destroy(),s=e.platformInjector.get(yc);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(yc);s.add(i),e.moduleRef.onDestroy(()=>{Un(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return MI(r,n,()=>{let i=t.get(Nt),s=i.add(),a=t.get(ac);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get(mc,cr);if(qf(c||cr),!t.get(wI,!0))return lr(e)?t.get(li):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(lr(e)){let u=t.get(li);return e.rootComponent!==void 0&&u.bootstrap(e.rootComponent),u}else return _I?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}var _I;function MI(e,t,n){try{let r=n();return sc(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var di=null;function NI(e=[],t){return Ce.create({name:t,providers:[{provide:ss,useValue:"platform"},{provide:yc,useValue:new Set([()=>di=null])},...e]})}function SI(e=[]){if(di)return di;let t=NI(e);return di=t,Lf(),xI(t),t}function xI(e){let t=e.get(ld,null);io(e,()=>{t?.forEach(n=>n())})}var AI=1e4;var wO=AI-1e3;var bO=(()=>{class e{static __NG_ELEMENT_ID__=RI}return e})();function RI(e){return kI(B(),y(),(e&16)===16)}function kI(e,t,n){if(Le(e)&&!n){let r=ie(e.index,t);return new et(r,r)}else if(e.type&175){let r=t[J];return new et(r,t)}return null}var vc=class{supports(t){return t instanceof Map||ec(t)}create(){return new Ec}},Ec=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(t){let n;for(n=this._mapHead;n!==null;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;n!==null;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;n!==null;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}diff(t){if(!t)t=new Map;else if(!(t instanceof Map||ec(t)))throw new C(900,!1);return this.check(t)?this:null}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{let i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){let r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){let o=this._records.get(t);this._maybeAddToChanges(o,n);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new Ic(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;t!==null;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;t!=null;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){this._additionsHead===null?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){this._changesHead===null?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}},Ic=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}};function wp(){return new OI([new vc])}var OI=(()=>{class e{static \u0275prov=q({token:e,providedIn:"root",factory:wp});factories;constructor(n){this.factories=n}static create(n,r){if(r){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:()=>{let r=E(e,{optional:!0,skipSelf:!0});return e.create(n,r||wp())}}}find(n){let r=this.factories.find(o=>o.supports(n));if(r)return r;throw new C(901,!1)}}return e})();function _O(e){let{rootComponent:t,appProviders:n,platformProviders:r,platformRef:o}=e;S(b.BootstrapApplicationStart);try{let i=o?.injector??SI(r),s=[Ep(),tu,...n||[]],a=new Yn({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return bI({r3Injector:a.injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{S(b.BootstrapApplicationEnd)}}function MO(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}export{W as a,Fp as b,w as c,le as d,mn as e,Ni as f,dt as g,aC as h,jc as i,cC as j,Ee as k,Qp as l,Zp as m,Yp as n,pt as o,Kp as p,ht as q,ih as r,gt as s,Hr as t,ah as u,ch as v,lh as w,uh as x,Br as y,Ai as z,dh as A,fh as B,Ri as C,hh as D,gh as E,mh as F,yh as G,el as H,tl as I,vh as J,C as K,bn as L,Kr as M,q as N,dl as O,Ch as P,x as Q,De as R,E as S,oo as T,ss as U,ne as V,io as W,Pl as X,Ll as Y,Ql as Z,Zl as _,Ce as $,Eo as aa,Fe as ba,Nt as ca,Se as da,Te as ea,Ae as fa,Xe as ga,Jh as ha,Io as ia,Re as ja,Ls as ka,nu as la,fg as ma,xg as na,td as oa,er as pa,Fg as qa,jg as ra,ld as sa,Hg as ta,Bg as ua,$g as va,At as wa,an as xa,ei as ya,Qg as za,Zg as Aa,Yg as Ba,Kg as Ca,Jg as Da,Pa as Ea,Td as Fa,nr as Ga,wm as Ha,Mm as Ia,Nm as Ja,Sm as Ka,Gm as La,Vo as Ma,Gn as Na,cn as Oa,kt as Pa,Zm as Qa,Hy as Ra,By as Sa,Qn as Ta,sr as Ua,Zn as Va,Yy as Wa,ar as Xa,Jy as Ya,ci as Za,wf as _a,bf as $a,jv as ab,Hv as bb,Uv as cb,Wv as db,Nf as eb,xf as fb,tE as gb,Af as hb,sc as ib,Pf as jb,li as kb,jf as lb,oE as mb,iE as nb,sE as ob,aE as pb,cE as qb,lE as rb,Vf as sb,Zo as tb,lc as ub,Hf as vb,uc as wb,dc as xb,Bf as yb,Uf as zb,gE as Ab,Wf as Bb,vE as Cb,Gf as Db,zf as Eb,Qf as Fb,DE as Gb,TE as Hb,wE as Ib,Yf as Jb,_E as Kb,ME as Lb,Kf as Mb,NE as Nb,SE as Ob,ep as Pb,tp as Qb,HE as Rb,KE as Sb,cp as Tb,hc as Ub,lp as Vb,up as Wb,dp as Xb,tI as Yb,fp as Zb,nI as _b,sI as $b,aI as ac,cI as bc,uI as cc,fI as dc,pI as ec,hI as fc,gI as gc,mc as hc,yI as ic,vI as jc,II as kc,Dp as lc,DO as mc,CO as nc,TO as oc,bO as pc,OI as qc,_O as rc,MO as sc};
|
|
5
|
+
/*! Bundled license information:
|
|
6
|
+
|
|
7
|
+
@angular/core/fesm2022/_effect-chunk.mjs:
|
|
8
|
+
@angular/core/fesm2022/_not_found-chunk.mjs:
|
|
9
|
+
@angular/core/fesm2022/_untracked-chunk.mjs:
|
|
10
|
+
@angular/core/fesm2022/primitives-signals.mjs:
|
|
11
|
+
@angular/core/fesm2022/primitives-di.mjs:
|
|
12
|
+
@angular/core/fesm2022/_effect-chunk2.mjs:
|
|
13
|
+
@angular/core/fesm2022/_debug_node-chunk.mjs:
|
|
14
|
+
@angular/core/fesm2022/_resource-chunk.mjs:
|
|
15
|
+
@angular/core/fesm2022/core.mjs:
|
|
16
|
+
(**
|
|
17
|
+
* @license Angular v21.2.18
|
|
18
|
+
* (c) 2010-2026 Google LLC. https://angular.dev/
|
|
19
|
+
* License: MIT
|
|
20
|
+
*)
|
|
21
|
+
*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function o(e){"@babel/helpers - typeof";return o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(e)}export{o as a};
|