vendor: 20,387 bytes, lines 1-2
1import{a as rt,b as st,c as lt,d as dt,e as X,f as ct,g as mt,h as ut,i as ee,j as pt,k as te,m as ht,n as gt}from"./chunk-NEJHXKLC.js";import{f as at}from"./chunk-23655IYS.js";import"./chunk-7LVAVU22.js";import{F as fe,G as _e,H as ot,I as nt,L,M as B,a as Z,c as Je,d as he,e as Ke,l as Xe,m as et,o as tt,p as J,q as K,v as ge,w as it}from"./chunk-WAXQZ52N.js";import"./chunk-URVYGUBK.js";import{c as Ze}from"./chunk-NFOIGJGN.js";import{d as Ye}from"./chunk-HOJ5L6L7.js";import{g as Qe}from"./chunk-L73QRCCT.js";import{k as qe}from"./chunk-SWOWH7SE.js";import{$a as Fe,A as O,Bb as Le,Cb as M,Db as F,Dc as $e,Eb as h,F as w,Fb as d,Gb as m,Hb as f,Ib as k,Jb as R,Kb as Q,N as V,Nb as Y,Ra as Oe,Rb as x,Sa as Ie,Tb as P,V as G,Va as c,W as z,Xb as Be,Y as y,Yb as je,Zb as Ne,_ as r,_a as Me,a as p,b as E,bb as Re,cb as ue,dc as Ve,fc as u,gc as pe,ha as v,hc as A,ia as Te,ib as g,j as b,jb as W,k as xe,kb as Pe,l as me,la as H,lc as Ge,ma as Se,mb as $,nb as q,oc as ze,qa as C,qc as He,s as Ae,ta as ke,ua as Ee,vc as Ue,w as N,wa as U,wb as I,xb as T,yc as We,z as we,zb as S}from"./chunk-TIKART4G.js";function St(i,o){}var D=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;closePredicate;width="";height="";minWidth;minHeight;maxWidth;maxHeight;positionStrategy;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus="first-tabbable";restoreFocus=!0;scrollStrategy;closeOnNavigation=!0;closeOnDestroy=!0;closeOnOverlayDetachments=!0;disableAnimations=!1;providers;container;templateContext};var be=(()=>{class i extends nt{_elementRef=r(U);_focusTrapFactory=r(et);_config;_interactivityChecker=r(Xe);_ngZone=r(Se);_focusMonitor=r(Ke);_renderer=r(Re);_changeDetectorRef=r($e);_injector=r(v);_platform=r(Je);_document=r(Te);_portalOutlet;_focusTrapped=new b;_focusTrap=null;_elementFocusedBeforeDialogWasOpened=null;_closeInteractionType=null;_ariaLabelledByQueue=[];_isDestroyed=!1;constructor(){super(),this._config=r(D,{optional:!0})||new D,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(e){this._ariaLabelledByQueue.push(e),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(e){let t=this._ariaLabelledByQueue.indexOf(e);t>-1&&(this._ariaLabelledByQueue.splice(t,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._focusTrapped.complete(),this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(e){this._portalOutlet.hasAttached();let t=this._portalOutlet.attachComponentPortal(e);return this._contentAttached(),t}attachTemplatePortal(e){this._portalOutlet.hasAttached();let t=this._portalOutlet.attachTemplatePortal(e);return this._contentAttached(),t}attachDomPortal=e=>{this._portalOutlet.hasAttached();let t=this._portalOutlet.attachDomPortal(e);return this._contentAttached(),t};_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,t){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let n=()=>{a(),s(),e.removeAttribute("tabindex")},a=this._renderer.listen(e,"blur",n),s=this._renderer.listen(e,"mousedown",n)})),e.focus(t)}_focusByCssSelector(e,t){let n=this._elementRef.nativeElement.querySelector(e);n&&this._forceFocus(n,t)}_trapFocus(e){this._isDestroyed||Me(()=>{let t=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||t.focus(e);break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElement(e)||this._focusDialogContainer(e);break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]',e);break;default:this._focusByCssSelector(this._config.autoFocus,e);break}this._focusTrapped.next()},{injector:this._injector})}_restoreFocus(){let e=this._config.restoreFocus,t=null;if(typeof e=="string"?t=this._document.querySelector(e):typeof e=="boolean"?t=e?this._elementFocusedBeforeDialogWasOpened:null:e&&(t=e),this._config.restoreFocus&&t&&typeof t.focus=="function"){let n=Z(),a=this._elementRef.nativeElement;(!n||n===this._document.body||n===a||a.contains(n))&&(this._focusMonitor?(this._focusMonitor.focusVia(t,this._closeInteractionType),this._closeInteractionType=null):t.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(e){this._elementRef.nativeElement.focus?.(e)}_containsFocus(){let e=this._elementRef.nativeElement,t=Z();return e===t||e.contains(t)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=Z()))}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=g({type:i,selectors:[["cdk-dialog-container"]],viewQuery:function(t,n){if(t&1&&Be(L,7),t&2){let a;je(a=Ne())&&(n._portalOutlet=a.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(t,n){t&2&&I("id",n._config.id||null)("role",n._config.role)("aria-modal",n._config.ariaModal)("aria-labelledby",n._config.ariaLabel?null:n._ariaLabelledByQueue[0])("aria-label",n._config.ariaLabel)("aria-describedby",n._config.ariaDescribedBy||null)},features:[$],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,n){t&1&&q(0,St,0,0,"ng-template",0)},dependencies:[L],styles:[`.cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit} 2`],encapsulation:2})}return i})(),j=class{overlayRef;config;componentInstance=null;componentRef=null;containerInstance;disableClose;closed=new b;backdropClick;keydownEvents;outsidePointerEvents;id;_detachSubscription;constructor(o,e){this.overlayRef=o,this.config=e,this.disableClose=e.disableClose,this.backdropClick=o.backdropClick(),this.keydownEvents=o.keydownEvents(),this.outsidePointerEvents=o.outsidePointerEvents(),this.id=e.id,this.keydownEvents.subscribe(t=>{t.keyCode===27&&!this.disableClose&&!K(t)&&(t.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{!this.disableClose&&this._canClose()?this.close(void 0,{focusOrigin:"mouse"}):this.containerInstance._recaptureFocus?.()}),this._detachSubscription=o.detachments().subscribe(()=>{e.closeOnOverlayDetachments!==!1&&this.close()})}close(o,e){if(this._canClose(o)){let t=this.closed;this.containerInstance._closeInteractionType=e?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),t.next(o),t.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(o="",e=""){return this.overlayRef.updateSize({width:o,height:e}),this}addPanelClass(o){return this.overlayRef.addPanelClass(o),this}removePanelClass(o){return this.overlayRef.removePanelClass(o),this}_canClose(o){let e=this.config;return!!this.containerInstance&&(!e.closePredicate||e.closePredicate(o,e,this.componentInstance))}},kt=new y("DialogScrollStrategy",{providedIn:"root",factory:()=>{let i=r(v);return()=>X(i)}}),Et=new y("DialogData"),Ot=new y("DefaultDialogConfig");function It(i){let o=C(i),e=new H;return{valueSignal:o,get value(){return o()},change:e,ngOnDestroy(){e.complete()}}}var ye=(()=>{class i{_injector=r(v);_defaultOptions=r(Ot,{optional:!0});_parentDialog=r(i,{optional:!0,skipSelf:!0});_overlayContainer=r(mt);_idGenerator=r(J);_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new b;_afterOpenedAtThisLevel=new b;_ariaHiddenElements=new Map;_scrollStrategy=r(kt);get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}afterAllClosed=N(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(V(void 0)));constructor(){}open(e,t){let n=this._defaultOptions||new D;t=p(p({},n),t),t.id=t.id||this._idGenerator.getId("cdk-dialog-"),t.id&&this.getDialogById(t.id);let a=this._getOverlayConfig(t),s=pt(this._injector,a),l=new j(s,t),_=this._attachContainer(s,l,t);if(l.containerInstance=_,!this.openDialogs.length){let ce=this._overlayContainer.getContainerElement();_._focusTrapped?_._focusTrapped.pipe(w(1)).subscribe(()=>{this._hideNonDialogContentFromAssistiveTechnology(ce)}):this._hideNonDialogContentFromAssistiveTechnology(ce)}return this._attachDialogContent(e,l,_,t),this.openDialogs.push(l),l.closed.subscribe(()=>this._removeOpenDialog(l,!0)),this.afterOpened.next(l),l}closeAll(){ve(this.openDialogs,e=>e.close())}getDialogById(e){return this.openDialogs.find(t=>t.id===e)}ngOnDestroy(){ve(this._openDialogsAtThisLevel,e=>{e.config.closeOnDestroy===!1&&this._removeOpenDialog(e,!1)}),ve(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(e){let t=new ct({positionStrategy:e.positionStrategy||ee().centerHorizontally().centerVertically(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,width:e.width,height:e.height,disposeOnNavigation:e.closeOnNavigation,disableAnimations:e.disableAnimations});return e.backdropClass&&(t.backdropClass=e.backdropClass),t}_attachContainer(e,t,n){let a=n.injector||n.viewContainerRef?.injector,s=[{provide:D,useValue:n},{provide:j,useValue:t},{provide:ut,useValue:e}],l;n.container?typeof n.container=="function"?l=n.container:(l=n.container.type,s.push(...n.container.providers(n))):l=be;let _=new _e(l,n.viewContainerRef,v.create({parent:a||this._injector,providers:s}));return e.attach(_).instance}_attachDialogContent(e,t,n,a){if(e instanceof Fe){let s=this._createInjector(a,t,n,void 0),l={$implicit:a.data,dialogRef:t};a.templateContext&&(l=p(p({},l),typeof a.templateContext=="function"?a.templateContext():a.templateContext)),n.attachTemplatePortal(new ot(e,null,l,s))}else{let s=this._createInjector(a,t,n,this._injector),l=n.attachComponentPortal(new _e(e,a.viewContainerRef,s));t.componentRef=l,t.componentInstance=l.instance}}_createInjector(e,t,n,a){let s=e.injector||e.viewContainerRef?.injector,l=[{provide:Et,useValue:e.data},{provide:j,useValue:t}];return e.providers&&(typeof e.providers=="function"?l.push(...e.providers(t,e,n)):l.push(...e.providers)),e.direction&&(!s||!s.get(ge,null,{optional:!0}))&&l.push({provide:ge,useValue:It(e.direction)}),v.create({parent:s||a,providers:l})}_removeOpenDialog(e,t){let n=this.openDialogs.indexOf(e);n>-1&&(this.openDialogs.splice(n,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((a,s)=>{a?s.setAttribute("aria-hidden",a):s.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),t&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(e){if(e.parentElement){let t=e.parentElement.children;for(let n=t.length-1;n>-1;n--){let a=t[n];a!==e&&a.nodeName!=="SCRIPT"&&a.nodeName!=="STYLE"&&!a.hasAttribute("aria-live")&&!a.hasAttribute("popover")&&(this._ariaHiddenElements.set(a,a.getAttribute("aria-hidden")),a.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}static \u0275fac=function(t){return new(t||i)};static \u0275prov=G({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();function ve(i,o){let e=i.length;for(;e--;)o(i[e])}var _t=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=W({type:i});static \u0275inj=z({providers:[ye],imports:[te,B,tt,B]})}return i})();function Mt(i,o){}var ne=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;closePredicate;width="";height="";minWidth;minHeight;maxWidth;maxHeight;position;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus="first-tabbable";restoreFocus=!0;delayFocusTrap=!0;scrollStrategy;closeOnNavigation=!0;enterAnimationDuration;exitAnimationDuration},Ce="mdc-dialog--open",vt="mdc-dialog--opening",bt="mdc-dialog--closing",Ft=150,Rt=75,Pt=(()=>{class i extends be{_animationStateChanged=new H;_animationsEnabled=!fe();_actionSectionCount=0;_hostElement=this._elementRef.nativeElement;_enterAnimationDuration=this._animationsEnabled?Ct(this._config.enterAnimationDuration)??Ft:0;_exitAnimationDuration=this._animationsEnabled?Ct(this._config.exitAnimationDuration)??Rt:0;_animationTimer=null;_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(yt,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(vt,Ce)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(Ce),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(Ce),this._animationsEnabled?(this._hostElement.style.setProperty(yt,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(bt)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(e){this._actionSectionCount+=e,this._changeDetectorRef.markForCheck()}_finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)};_finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})};_clearAnimationClasses(){this._hostElement.classList.remove(vt,bt)}_waitForAnimationToComplete(e,t){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(t,e)}_requestAnimationFrame(e){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(e):e()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer)}attachComponentPortal(e){let t=super.attachComponentPortal(e);return t.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),t}static \u0275fac=(()=>{let e;return function(n){return(e||(e=Ee(i)))(n||i)}})();static \u0275cmp=g({type:i,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(t,n){t&2&&(Y("id",n._config.id),I("aria-modal",n._config.ariaModal)("role",n._config.role)("aria-labelledby",n._config.ariaLabel?null:n._ariaLabelledByQueue[0])("aria-label",n._config.ariaLabel)("aria-describedby",n._config.ariaDescribedBy||null),Ve("_mat-animation-noopable",!n._animationsEnabled)("mat-mdc-dialog-container-with-actions",n._actionSectionCount>0))},features:[$],decls:3,vars:0,consts:[[1,"mat-mdc-dialog-inner-container","mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(t,n){t&1&&(d(0,"div",0)(1,"div",1),q(2,Mt,0,0,"ng-template",2),m()())},dependencies:[L],styles:[`.mat-mdc-dialog-container{width:100%;height:100%;display:block;box-sizing:border-box;max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;outline:0}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 560px);min-width:var(--mat-dialog-container-min-width, 280px)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, calc(100vw - 32px))}}.mat-mdc-dialog-inner-container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;transition:opacity linear var(--mat-dialog-transition-duration, 0ms);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mdc-dialog--closing .mat-mdc-dialog-inner-container{transition:opacity 75ms linear;transform:none}.mdc-dialog--open .mat-mdc-dialog-inner-container{opacity:1}._mat-animation-noopable .mat-mdc-dialog-inner-container{transition:none}.mat-mdc-dialog-surface{display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;width:100%;height:100%;position:relative;overflow-y:auto;outline:0;transform:scale(0.8);transition:transform var(--mat-dialog-transition-duration, 0ms) cubic-bezier(0, 0, 0.2, 1);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;box-shadow:var(--mat-dialog-container-elevation-shadow, none);border-radius:var(--mat-dialog-container-shape, var(--mat-sys-corner-extra-large, 4px));background-color:var(--mat-dialog-container-color, var(--mat-sys-surface, white))}[dir=rtl] .mat-mdc-dialog-surface{text-align:right}.mdc-dialog--open .mat-mdc-dialog-surface,.mdc-dialog--closing .mat-mdc-dialog-surface{transform:none}._mat-animation-noopable .mat-mdc-dialog-surface{transition:none}.mat-mdc-dialog-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-dialog-title{display:block;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:var(--mat-dialog-headline-padding, 6px 24px 13px)}.mat-mdc-dialog-title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mat-mdc-dialog-title{text-align:right}.mat-mdc-dialog-container .mat-mdc-dialog-title{color:var(--mat-dialog-subhead-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-dialog-subhead-font, var(--mat-sys-headline-small-font, inherit));line-height:var(--mat-dialog-subhead-line-height, var(--mat-sys-headline-small-line-height, 1.5rem));font-size:var(--mat-dialog-subhead-size, var(--mat-sys-headline-small-size, 1rem));font-weight:var(--mat-dialog-subhead-weight, var(--mat-sys-headline-small-weight, 400));letter-spacing:var(--mat-dialog-subhead-tracking, var(--mat-sys-headline-small-tracking, 0.03125em))}.mat-mdc-dialog-content{display:block;flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;max-height:65vh}.mat-mdc-dialog-content>:first-child{margin-top:0}.mat-mdc-dialog-content>:last-child{margin-bottom:0}.mat-mdc-dialog-container .mat-mdc-dialog-content{color:var(--mat-dialog-supporting-text-color, var(--mat-sys-on-surface-variant, rgba(0, 0, 0, 0.6)));font-family:var(--mat-dialog-supporting-text-font, var(--mat-sys-body-medium-font, inherit));line-height:var(--mat-dialog-supporting-text-line-height, var(--mat-sys-body-medium-line-height, 1.5rem));font-size:var(--mat-dialog-supporting-text-size, var(--mat-sys-body-medium-size, 1rem));font-weight:var(--mat-dialog-supporting-text-weight, var(--mat-sys-body-medium-weight, 400));letter-spacing:var(--mat-dialog-supporting-text-tracking, var(--mat-sys-body-medium-tracking, 0.03125em))}.mat-mdc-dialog-container .mat-mdc-dialog-content{padding:var(--mat-dialog-content-padding, 20px 24px)}.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content{padding:var(--mat-dialog-with-actions-content-padding, 20px 24px 0)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;box-sizing:border-box;min-height:52px;margin:0;border-top:1px solid rgba(0,0,0,0);padding:var(--mat-dialog-actions-padding, 16px 24px);justify-content:var(--mat-dialog-actions-alignment, flex-end)}@media(forced-colors: active){.mat-mdc-dialog-actions{border-top-color:CanvasText}}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start,.mat-mdc-dialog-actions[align=start]{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}
2.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}.mat-mdc-dialog-component-host{display:contents} 3`],encapsulation:2})}return i})(),yt="--mat-dialog-transition-duration";function Ct(i){return i==null?null:typeof i=="number"?i:i.endsWith("ms")?he(i.substring(0,i.length-2)):i.endsWith("s")?he(i.substring(0,i.length-1))*1e3:i==="0"?0:null}var oe=(function(i){return i[i.OPEN=0]="OPEN",i[i.CLOSING=1]="CLOSING",i[i.CLOSED=2]="CLOSED",i})(oe||{}),ae=class{_ref;_config;_containerInstance;componentInstance;componentRef=null;disableClose;id;_afterOpened=new me(1);_beforeClosed=new me(1);_result;_closeFallbackTimeout;_state=oe.OPEN;_closeInteractionType;constructor(o,e,t){this._ref=o,this._config=e,this._containerInstance=t,this.disableClose=e.disableClose,this.id=o.id,o.addPanelClass("mat-mdc-dialog-panel"),t._animationStateChanged.pipe(O(n=>n.state==="opened"),w(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),t._animationStateChanged.pipe(O(n=>n.state==="closed"),w(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),o.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),we(this.backdropClick(),this.keydownEvents().pipe(O(n=>n.keyCode===27&&!this.disableClose&&!K(n)))).subscribe(n=>{this.disableClose||(n.preventDefault(),Dt(this,n.type==="keydown"?"keyboard":"mouse"))})}close(o){let e=this._config.closePredicate;e&&!e(o,this._config,this.componentInstance)||(this._result=o,this._containerInstance._animationStateChanged.pipe(O(t=>t.state==="closing"),w(1)).subscribe(t=>{this._beforeClosed.next(o),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),t.totalTime+100)}),this._state=oe.CLOSING,this._containerInstance._startExitAnimation())}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(o){let e=this._ref.config.positionStrategy;return o&&(o.left||o.right)?o.left?e.left(o.left):e.right(o.right):e.centerHorizontally(),o&&(o.top||o.bottom)?o.top?e.top(o.top):e.bottom(o.bottom):e.centerVertically(),this._ref.updatePosition(),this}updateSize(o="",e=""){return this._ref.updateSize(o,e),this}addPanelClass(o){return this._ref.addPanelClass(o),this}removePanelClass(o){return this._ref.removePanelClass(o),this}getState(){return this._state}_finishDialogClose(){this._state=oe.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};function Dt(i,o,e){return i._closeInteractionType=o,i.close(e)}var De=new y("MatMdcDialogData"),Lt=new y("mat-mdc-dialog-default-options"),Bt=new y("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let i=r(v);return()=>X(i)}}),re=(()=>{class i{_defaultOptions=r(Lt,{optional:!0});_scrollStrategy=r(Bt);_parentDialog=r(i,{optional:!0,skipSelf:!0});_idGenerator=r(J);_injector=r(v);_dialog=r(ye);_animationsDisabled=fe();_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new b;_afterOpenedAtThisLevel=new b;dialogConfigClass=ne;_dialogRefConstructor;_dialogContainerType;_dialogDataToken;get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}afterAllClosed=N(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(V(void 0)));constructor(){this._dialogRefConstructor=ae,this._dialogContainerType=Pt,this._dialogDataToken=De}open(e,t){let n;t=p(p({},this._defaultOptions||new ne),t),t.id=t.id||this._idGenerator.getId("mat-mdc-dialog-"),t.scrollStrategy=t.scrollStrategy||this._scrollStrategy();let a=this._dialog.open(e,E(p({},t),{positionStrategy:ee(this._injector).centerHorizontally().centerVertically(),disableClose:!0,closePredicate:void 0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,disableAnimations:this._animationsDisabled||t.enterAnimationDuration?.toLocaleStr
3ing()==="0"||t.exitAnimationDuration?.toString()==="0",container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:t},{provide:D,useValue:t}]},templateContext:()=>({dialogRef:n}),providers:(s,l,_)=>(n=new this._dialogRefConstructor(s,t,_),n.updatePosition(t?.position),[{provide:this._dialogContainerType,useValue:_},{provide:this._dialogDataToken,useValue:l.data},{provide:this._dialogRefConstructor,useValue:n}])}));return n.componentRef=a.componentRef,n.componentInstance=a.componentInstance,this.openDialogs.push(n),this.afterOpened.next(n),n.afterClosed().subscribe(()=>{let s=this.openDialogs.indexOf(n);s>-1&&(this.openDialogs.splice(s,1),this.openDialogs.length||this._getAfterAllClosed().next())}),n}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(t=>t.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(e){let t=e.length;for(;t--;)e[t].close()}static \u0275fac=function(t){return new(t||i)};static \u0275prov=G({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),xt=(()=>{class i{dialogRef=r(ae,{optional:!0});_elementRef=r(U);_dialog=r(re);ariaLabel;type="button";dialogResult;_matDialogClose;constructor(){}ngOnInit(){this.dialogRef||(this.dialogRef=jt(this._elementRef,this._dialog.openDialogs))}ngOnChanges(e){let t=e._matDialogClose||e._matDialogCloseResult;t&&(this.dialogResult=t.currentValue)}_onButtonClick(e){Dt(this.dialogRef,e.screenX===0&&e.screenY===0?"keyboard":"mouse",this.dialogResult)}static \u0275fac=function(t){return new(t||i)};static \u0275dir=Pe({type:i,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(t,n){t&1&&x("click",function(s){return n._onButtonClick(s)}),t&2&&I("aria-label",n.ariaLabel||null)("type",n.type)},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],type:"type",dialogResult:[0,"mat-dialog-close","dialogResult"],_matDialogClose:[0,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[ke]})}return i})();function jt(i,o){let e=i.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-mdc-dialog-container");)e=e.parentElement;return e?o.find(t=>t.id===e.id):null}var se=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=W({type:i});static \u0275inj=z({providers:[re],imports:[_t,te,B,it]})}return i})();var le=class i{constructor(o,e){this.data=o;this._sanitizer=e;this.safeUrl=this._sanitizer.bypassSecurityTrustResourceUrl(this._convertToEmbedUrl(o.url))}safeUrl;_convertToEmbedUrl(o){let e=o;if(o.includes("youtube.com/embed/"))e=o.includes("?")?`${o}&autoplay=1`:`${o}?autoplay=1`;else{let t=/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|\&v=)([^#\&\?]*).*/,n=o.match(t),a=n&&n[2].length===11?n[2]:null;a&&(e=`https://www.youtube.com/embed/${a}?autoplay=1`)}return e}static \u0275fac=function(e){return new(e||i)(ue(De),ue(Qe))};static \u0275cmp=g({type:i,selectors:[["video-modal"]],decls:4,vars:2,consts:[[1,"relative","w-full","h-0","pb-[56.25%]","overflow-hidden","bg-black"],["allow","accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture","allowfullscreen","",1,"absolute","top-0","left-0","w-full","h-full","border-0",3,"src"],["mat-icon-button","",1,"absolute","top-4","right-4","text-white","hover:text-verde-brillante","transition-colors","z-50",3,"mat-dialog-close"],[1,"fa-solid","fa-xmark","text-2xl"]],template:function(e,t){e&1&&(d(0,"div",0),f(1,"iframe",1),d(2,"button",2),f(3,"i",3),m()()),e&2&&(c(),h("src",t.safeUrl,Ie),c(),h("mat-dialog-close",!0))},dependencies:[se,xt],styles:["[_nghost-%COMP%]{display:block;width:100%;height:100%;background:#000} .mat-mdc-dialog-container .mdc-dialog__surface{border-radius:1.5rem!important;overflow:hidden!important;background:#000!important}"]})};function Vt(i,o){if(i&1&&(k(0,"span",8),u(1),R()),i&2){let e,t=P(2);c(),A(" ",(e=t.video())==null?null:e.groupTitle," ")}}function Gt(i,o){if(i&1&&(k(0,"article",0)(1,"div",1),Q(2,"img",2),R(),Q(3,"div",3),k(4,"div",4)(5,"div",5),Q(6,"i",6),R()(),k(7,"div",7),T(8,Vt,2,1,"span",8),k(9,"h3",9),u(10),R()()()),i&2){let e,t,n,a,s=P();c(2),Y("src",(e=s.video())==null||e.imagen==null?null:e.imagen.url,Oe)("alt",(t=s.video())==null?null:t.titulo),c(6),S((n=s.video())!=null&&n.groupTitle?8:-1),c(2),A(" ",(a=s.video())==null?null:a.titulo," ")}}var de=class i{_dialog=r(re);video=We();openVideo(){let o=this.video();o?.video?.url&&this._dialog.open(le,{data:{url:o.video.url},maxWidth:"1024px",width:"95vw",panelClass:"video-dialog-panel"})}static \u0275fac=function(e){return new(e||i)};static \u0275cmp=g({type:i,selectors:[["video-card"]],hostBindings:function(e,t){e&1&&x("click",function(){return t.openVideo()})},inputs:{video:[1,"video"]},decls:1,vars:1,consts:[[1,"group","relative","block","w-full","as
3pect-video","md:aspect-video","rounded-3xl","overflow-hidden","shadow-sm","transition-all","duration-500","hover:-translate-y-2","hover:shadow-2xl","hover:shadow-verde-seleccion/20","bg-negro","cursor-pointer"],[1,"absolute","inset-0","overflow-hidden"],[1,"w-full","h-full","object-cover","transition-transform","duration-700","group-hover:scale-110","opacity-70","group-hover:opacity-100",3,"src","alt"],[1,"absolute","inset-0","bg-gradient-to-t","from-negro/80","via-black/10","to-transparent"],[1,"absolute","inset-0","flex","items-center","justify-center","pointer-events-none"],[1,"w-14","h-14","md:w-20","md:h-20","rounded-full","bg-rojo-seleccion","text-white","flex","items-center","justify-center","transform","scale-90","opacity-0","group-hover:scale-100","group-hover:opacity-100","transition-all","duration-500","shadow-2xl"],[1,"fa-solid","fa-play","text-xl","md:text-3xl","ml-1"],[1,"absolute","bottom-0","inset-x-0","p-6","z-20"],[1,"inline-block","bg-verde-seleccion/80","text-white","px-2","py-1","text-[9px]","font-condense","font-bold","uppercase","tracking-widest","rounded-sm","mb-3"],[1,"text-white","font-title","text-xl","md:text-2xl","leading-[1.1]","drop-shadow-md","line-clamp-2","transition-colors","duration-300","group-hover:text-blanco-seleccion","transform","group-hover:translate-y-2","transition-transform","duration-300"]],template:function(e,t){e&1&&T(0,Gt,11,4,"article",0),e&2&&S(t.video()?0:-1)},dependencies:[se],styles:["[_nghost-%COMP%]{display:block;height:100%}"]})};var zt=()=>[1,2],Tt=(i,o)=>o.id,Ht=(i,o)=>o.titulo;function Ut(i,o){if(i&1&&(d(0,"mat-option",9),u(1),m()),i&2){let e=o.$implicit;h("value",e.id),c(),pe(e.nombre)}}function Wt(i,o){if(i&1&&(d(0,"div",24),f(1,"video-card",25),m()),i&2){let e=o.$implicit;c(),h("video",e)}}function $t(i,o){if(i&1&&(d(0,"section",11),f(1,"div",12),d(2,"div",13)(3,"div",14)(4,"div",15)(5,"div",16),f(6,"div",17),d(7,"span",18),u(8),m()(),d(9,"h2",19),u(10),m(),d(11,"p",20),u(12),m()(),d(13,"div",21)(14,"span",22),u(15),ze(16,"number"),m()()(),d(17,"div",23),M(18,Wt,2,1,"div",24,Ht),m()()()),i&2){let e=o.$implicit,t=o.$index;c(8),pe(e.competencia||"Destacado"),c(2),A(" ",e.titulo," "),c(2),A(" ",e.descripcion," "),c(3),A(" ",He(16,4,t+1,"2.0")," "),c(3),F(e.coleccion)}}function qt(i,o){i&1&&M(0,$t,20,7,"section",11,Tt),i&2&&F(o)}function Qt(i,o){if(i&1&&T(0,qt,2,0),i&2){let e,t=P();S((e=t.videoGroups())?0:-1,e)}}function Yt(i,o){i&1&&(d(0,"div",26)(1,"div",27),f(2,"div",28)(3,"div",29),m(),d(4,"div",30),f(5,"div",31)(6,"div",31)(7,"div",31),m()())}function Zt(i,o){i&1&&M(0,Yt,8,0,"div",26,Le),i&2&&F(Ge(0,zt))}var wt=class i{_dataService=r(Ze);_router=r(Ye);loading=C(!0);searchTerm=new xe("");selectedRama=C(0);selectedCategory=C(0);categories=C([]);videoGroups=C([]);displayedCategories=Ue(()=>{let o=this.categories(),e=this.selectedRama();return e===0?o:o.filter(t=>t.idRama===e)});constructor(){this._dataService.getJson("selecciones").subscribe(o=>{this.categories.set(o)}),this._dataService.getJson("videos").pipe(Ae(o=>Array.isArray(o)?o.map(e=>{try{return E(p({},e),{coleccion:JSON.parse(e.coleccion)})}catch(t){return console.error("Error parsing video group collection:",t),E(p({},e),{coleccion:[]})}}):[])).subscribe(o=>{this.videoGroups.set(o),this.loading.set(!1)})}onSearch(o){let e=o.target.value;this.searchTerm.next(e),e.length>15&&this._router.navigate(["/buscar"],{queryParams:{q:e}})}onSearchEnter(o){let e=o.target.value;e&&this._router.navigate(["/buscar"],{queryParams:{q:e}})}setRama(o){this.selectedRama.set(o),this.selectedCategory.set(0)}setCategory(o){this.selectedCategory.set(o)}static \u0275fac=function(e){return new(e||i)};static \u0275cmp=g({type:i,selectors:[["media-grid"]],decls:23,vars:7,consts:[[1,"container","mx-auto","pt-4","px-4","pb-16"],[1,"flex","flex-col","lg:flex-row","lg:items-center","justify-between","gap-8","mb-12"],[1,"text-5xl","md:text-8xl","font-black","text-negro","uppercase","leading-none","tracking-tighter","italic"],[1,"h-2","w-32","bg-verde-brillante","mt-6","rounded-full"],[1,"flex","flex-wrap","items-center","gap-6"],[1,"filter-toggle","p-1","overflow-hidden",3,"change","value"],[1,"",3,"value"],["appearance","outline",1,"filter-select"],[3,"selectionChange","value"],[3,"value"],[1,"flex","flex-col","gap-20"],[1,"group-container","relative","p-4","md:p-8","rounded-[2.5rem]","bg-gray-50","border","border-gray-200","shadow-xl","shadow-verde-seleccion/5","overflow-hidden","group/container"],[1,"absolute","top-0","right-0","-mr-20","-mt-20","w-64","h-64","bg-verde-brillante/5","rounded-full","blur-3xl","transition-all","duration-700","group-hover/container:bg-verde-brillante/10"],[1,"relative","z-10"],[1,"flex","flex-col","lg:flex-row","lg:items-center","justify-between","gap-8","mb-4"],[1,"w-full"],[1,"flex","items-center","gap-3","mb-4"],[1,"h-1.5","w-10","bg-verde-brillante","rounded-full"],[1,"text-xs","md:text-sm","font-black","uppercase","tracking-[0.2em]","text-verde-seleccion"],[1,"text-2xl","md:text-4xl","font-black","text-negro","uppercase","leading-[0.9]","tracking-tighter","italic","mb-6"],[1,"text-gris","text-lg","md:text-xl","font-medium","leading-tight"],[1,"hidden","lg:block"],[1,"text-[10rem]","font-black","text-verde-seleccion/30","leading-none","select-none","italic","tracking-tighter"],[1,"grid","grid-cols-1","md:grid-cols-2","lg:grid-cols-3","gap-6","xl:gap-8"],[1,"block","h-full","transition-transform","duration-500","hover:scale-[1.02]"],[1,"h-full",3,"video"],[1,"space-y-8","animate-pulse"],[1,"space-y-4"],[1,"h-12","bg-gray-100","rounded-xl","w-3/4"],[1,"h-6","bg-gray-100","rounded-lg","w-1/2"],[1,"grid","grid-cols-1","md:grid-cols-2","lg:grid-cols-3","gap-8"],[1,"w-full","as
3pect-video","bg-gray-100","rounded-3xl"]],template:function(e,t){e&1&&(d(0,"div",0)(1,"div",1)(2,"div")(3,"h1",2),u(4," Spotlight "),m(),f(5,"div",3),m(),d(6,"div",4)(7,"mat-button-toggle-group",5),x("change",function(a){return t.setRama(a.value)}),d(8,"mat-button-toggle",6),u(9,"Todas"),m(),d(10,"mat-button-toggle",6),u(11,"Varonil"),m(),d(12,"mat-button-toggle",6),u(13,"Femenil"),m()(),d(14,"mat-form-field",7)(15,"mat-select",8),x("selectionChange",function(a){return t.setCategory(a.value)}),d(16,"mat-option",9),u(17,"Todas las Categor\xEDas"),m(),M(18,Ut,2,2,"mat-option",9,Tt),m()()()(),d(20,"div",10),T(21,Qt,1,1)(22,Zt,2,1),m()()),e&2&&(c(7),h("value",t.selectedRama()),c(),h("value",0),c(2),h("value",1),c(2),h("value",2),c(3),h("value",t.selectedCategory()),c(),h("value",0),c(2),F(t.displayedCategories()),c(3),S(t.loading()?22:21))},dependencies:[lt,rt,st,dt,gt,ht,at,de,qe],encapsulation:2})};export{wt as MediaGridComponent};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.