1"use strict";(self.webpackChunkchq_builder=self.webpackChunkchq_builder||[]).push([["default-projects_builder-app_src_app_modules_components_gallery_index_ts-projects_builder-lib-17eb52"],{66265:function(t,e,i){i.d(e,{v:function(){return St}});var n=i(74788),s=i(98839),r=i(37540),a=i(22327),o=i(42025),l=(()=>{return(t=l||(l={})).INITIALIZED="initialized",t.ITEMS_CHANGED="itemsChanged",t.INDEX_CHANGED="indexChanged",t.PLAY="play",t.STOP="stop",l;var t})(),c=(()=>{return(t=c||(c={})).Cover="cover",t.Contain="contain",c;var t})(),h=(()=>{return(t=h||(h={})).Preload="preload",t.Lazy="lazy",t.Default="default",h;var t})(),g=(()=>{return(t=g||(g={})).Top="top",t.Left="left",t.Right="right",t.Bottom="bottom",g;var t})(),u=(()=>{return(t=u||(u={})).Top="top",t.Bottom="bottom",u;var t})(),d=(()=>{return(t=d||(d={})).Top="top",t.Bottom="bottom",d;var t})(),m=(()=>{return(t=m||(m={})).Free="free",t.Strict="strict",m;var t})(),f=(()=>{return(t=f||(f={})).Horizontal="horizontal",t.Vertical="vertical",f;var t})();const p={action:l.INITIALIZED,isPlaying:!1,hasNext:!1,hasPrev:!1,currIndex:0,items:[]},b={nav:!0,loop:!0,zoomOut:0,dots:!1,thumb:!0,dotsSize:30,counter:!0,gestures:!0,autoPlay:!1,thumbWidth:120,thumbHeight:90,panSensitivity:25,disableThumb:!1,playerInterval:3e3,imageSize:c.Contain,thumbMode:m.Strict,dotsPosition:u.Bottom,counterPosition:d.Top,thumbPosition:g.Bottom,loadingStrategy:h.Default,slidingDirection:f.Horizontal,navIcon:'<?xml version="1.0" encoding="UTF-8"?><svg width="512px" height="512px" enable-background="new 0 0 240.823 240.823" version="1.1" viewBox="0 0 240.823 240.823" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"><path d="m183.19 111.82l-108.3-108.26c-4.752-4.74-12.451-4.74-17.215 0-4.752 4.74-4.752 12.439 0 17.179l99.707 99.671-99.695 99.671c-4.752 4.74-4.752 12.439 0 17.191 4.752 4.74 12.463 4.74 17.215 0l108.3-108.26c4.68-4.691 4.68-12.511-0.012-17.19z" fill="#fff"/></svg>'};var v=i(76889),y=i(45094),x=i(26902),C=i(41964),_=i(66149),T=i(34689),w=i(31992),I=i(29044),k=i(74294),S=i(28530),z=i(17100),O=i(83864);function P(t,e){return e?function(i){return(0,I.z)(e.pipe((0,k.q)(1),(0,S.l)()),i.pipe(P(t)))}:(0,O.z)(function(e,i){return t(e,i).pipe((0,k.q)(1),(0,z.h)(e))})}var H=i(77844);function E(t,e){void 0===e&&(e=x.z);var i=(0,H.H)(t,e);return P(function(){return i})}var A=i(99922);class N{constructor(t,e){this.zone=t,this.scheduler=e}schedule(...t){return this.zone.runOutsideAngular(()=>this.scheduler.schedule.apply(this.scheduler,t))}}class M{constructor(t,e){this.zone=t,this.scheduler=e}schedule(...t){return this.zone.run(()=>this.scheduler.schedule.apply(this.scheduler,t))}}const Z=t=>(0,T.h)(e=>t.indexOf(e.action)>-1);class D{constructor(t,e,i){this.deleteInstance=e,this.zone=i,this.itemClick=new v.x,this.thumbClick=new v.x,this.error=new v.x,this._state=new y.X(p),this._config=new y.X(t),this.state=this._state.asObservable(),this.config=this._config.asObservable()}get initialized(){return this.state.pipe(Z([l.INITIALIZED]))}get itemsChanged(){return this.state.pipe(Z([l.ITEMS_CHANGED]))}get indexChanged(){return this.state.pipe(Z([l.INDEX_CHANGED]))}get playingChanged(){return this.state.pipe(Z([l.PLAY,l.STOP]))}get playerActions(){return this.state.pipe(Z([l.PLAY,l.STOP,l.INDEX_CHANGED]))}activatePlayer(){return this.playerActions.pipe((0,w.Q)(new N(this.zone,x.z)),(0,r.w)(t=>t.isPlaying?(0,C.of)({}).pipe(E(this._config.value.playerInterval),(0,w.Q)(function(t,e){return new M(t,e)}(this.zone,x.z)),(0,A.b)(()=>this.next())):_.E))}setState(t){this._state.next(Object.assign(Object.assign({},this._state.value),t))}setConfig(t){this._config.next(Object.assign(Object.assign({},this._config.value),t))}add(t,e){const i=[...this._state.value.items,t];this.setState({action:l.ITEMS_CHANGED,items:i,hasNext:i.length>1,currIndex:e?i.length-1:this._state.value.currIndex})}addImage(t,e){this.add(new a.v(t),e)}remove(t){const e=[...this._state.value.items.slice(0,t),...this._state.value.items.slice(t+1,this._state.value.items.length)];this.setState({action:l.ITEMS_CHANGED,items:e,hasNext:e.length>1,hasPrev:t>0})}load(t){t&&this.setState({action:l.ITEMS_CHANGED,items:t,hasNext:t.length>1,hasPrev:!1})}set(t){this.setState({action:l.INDEX_CHANGED,currIndex:t,hasNext:t<this._state.value.items.length-1,hasPrev:t>0})}next(){this._state.value.hasNext?this.set(this._state.value.currIndex+1):this._config.value.loop&&this.set(0)}prev(){this._state.value.hasPrev?this.set(this._state.value.currIndex-1):this._config.value.loop&&this.set(this._state.value.items.length-1)}play(t){t&&this.setConfig({playerInterval:t}),this.setState({action:l.PLAY,isPlaying:!0})}stop(){this.setState({action:l.STOP,isPlaying:!1})}reset(){this.setState(p)}destroy(){this._state.complete(),this._config.complete(),this.itemClick.complete(),this.thumbClick.complete(),this.deleteInstance()}}let R=(()=>{class t{constructor(t,e){this.zone=t,this._instances=new Map,this.config=e?Object.assign(Object.assign({},b),e):b}ref(t="root",e){if(this._instances.has(t)){const i=this._instances.get(t);return e&&i.setConfig(Object.assign(Object.assign({},this.config),e)),i}return this._instances.set(t,new D(Object.assign(Object.assign({},this.config),e),this.deleteInstance(t),this.zone)).get(t)}
1destroyAll(){this._instances.forEach(t=>t.destroy())}resetAll(){this._instances.forEach(t=>t.reset())}deleteInstance(t){return()=>{this._instances.has(t)&&this._instances.delete(t)}}}return t.\u0275fac=function(e){return new(e||t)(n.LFG(n.R0b),n.LFG(o.S,8))},t.\u0275prov=n.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var Y=i(8040),L=i(12057),F=i(96937),$=i(5207),J=i(74703);function V(t,e){1&t&&n.GkF(0)}const X=function(t,e,i){return{index:t,currIndex:e,data:i}};function B(t,e){if(1&t&&(n.ynx(0),n.TgZ(1,"div",1),n.YNc(2,V,1,0,"ng-container",2),n.qZA(),n.BQk()),2&t){const t=n.oxw();n.xp6(2),n.Q6J("ngTemplateOutlet",t.config.itemTemplate)("ngTemplateOutletContext",n.kEZ(2,X,t.index,t.currIndex,t.data))}}let Q=(()=>{class t{constructor(){this.error=new n.vpe}get isActive(){return this.index===this.currIndex}get load(){switch(this.config.loadingStrategy){case h.Preload:return!0;case h.Lazy:return this.currIndex===this.index;default:return this.currIndex===this.index||this.currIndex===this.index-1||this.currIndex===this.index+1}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Xpm({type:t,selectors:[["gallery-item"]],hostVars:2,hostBindings:function(t,e){2&t&&n.ekj("g-active-item",e.isActive)},inputs:{config:"config",index:"index",currIndex:"currIndex",data:"data"},outputs:{error:"error"},decls:1,vars:1,consts:[[4,"ngIf"],[1,"g-template","g-item-template"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(t,e){1&t&&n.YNc(0,B,3,6,"ng-container",0),2&t&&n.Q6J("ngIf",e.load)},directives:[L.O5,L.tP],encapsulation:2,changeDetection:0}),t})(),W=(()=>{class t{constructor(t){this._el=t,this.clickListener=s.w0.EMPTY,this.tapClick=new n.vpe}ngOnInit(){this.activateClickEvent()}activateClickEvent(){"undefined"!=typeof Hammer?(this._hammer=new Hammer(this._el.nativeElement),this._hammer.on("tap",()=>{this.tapClickDisabled||this.tapClick.emit(null)})):this.clickListener=(0,F.R)(this._el.nativeElement,"click").pipe((0,T.h)(()=>!this.tapClickDisabled),(0,A.b)(()=>this.tapClick.emit(null))).subscribe()}ngOnDestroy(){this._hammer&&this._hammer.destroy(),this.clickListener.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.SBq))},t.\u0275dir=n.lG2({type:t,selectors:[["","tapClick",""]],inputs:{tapClickDisabled:"tapClickDisabled"},outputs:{tapClick:"tapClick"}}),t})();function q(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"gallery-item",4),n.NdJ("tapClick",function(){const e=n.CHM(t).index;return n.oxw(2).itemClick.emit(e)})("error",function(e){const i=n.CHM(t).index;return n.oxw(2).error.emit({itemIndex:i,error:e})}),n.qZA()}if(2&t){const t=e.$implicit,i=e.index,s=n.oxw(2);n.Q6J("config",s.config)("data",t.data)("currIndex",s.state.currIndex)("index",i)}}function G(t,e){if(1&t&&(n.TgZ(0,"div",1),n.TgZ(1,"div",2),n.YNc(2,q,1,4,"gallery-item",3),n.qZA(),n.qZA()),2&t){const t=e.$implicit,i=n.oxw();n.Q6J("ngStyle",i.zoom),n.xp6(1),n.ekj("g-no-transition",t.active),n.Q6J("ngStyle",t.style),n.xp6(1),n.Q6J("ngForOf",i.state.items)("ngForTrackBy",i.track)}}const j=["*"];let U=(()=>{class t{constructor(t,e,i){this._el=t,this._zone=e,this.platform=i,this._slidingWorker$=new y.X({value:0,active:!1}),this.action=new n.vpe,this.itemClick=new n.vpe,this.error=new n.vpe,this.track=(t,e)=>{var i;return(null===(i=this.config)||void 0===i?void 0:i.sliderTrackBy)?this.config.sliderTrackBy(t,e):t},this.sliderState$=this._slidingWorker$.pipe((0,$.U)(t=>({style:this.getSliderStyles(t),active:t.active})))}get zoom(){return{transform:`perspective(50px) translate3d(0, 0, ${-this.config.zoomOut}px)`}}ngOnChanges(t){this.updateSlider({value:0,active:!1}),t.config&&!t.config.firstChange&&(0,L.NF)(this.platform)&&this.setGestures()}setGestures(){this.config.gestures&&"undefined"!=typeof Hammer?this._zone.runOutsideAngular(()=>{this._hammer.on("pan",t=>{switch(this.config.slidingDirection){case f.Horizontal:this.updateSlider({value:t.deltaX,active:!0}),t.isFinal&&(this.updateSlider({value:0,active:!1}),this.horizontalPan(t));break;case f.Vertical:this.updateSlider({value:t.deltaY,active:!0}),t.isFinal&&(this.updateSlider({value:0,active:!1}),this.verticalPan(t))}})}):this._hammer.off("pan")}ngOnInit(){if((0,L.NF)(this.platform)){const t=this.config.slidingDirection===f.Horizontal?Hammer.DIRECTION_HORIZONTAL:Hammer.DIRECTION_VERTICAL;this._hammer=new Hammer(this._el.nativeElement),this._hammer.get("pan").set({direction:t}),this.setGestures(),this._resizeSub$=(0,F.R)(window,"resize").pipe((0,J.b)(200),(0,A.b)(()=>this.updateSlider(this._slidingWorker$.value))).subscribe(),setTimeout(()=>this.updateSlider({value:0,active:!1}))}}ngOnDestroy(){this._hammer&&this._hammer.destroy(),this._resizeSub$&&this._resizeSub$.unsubscribe(),this._slidingWorker$.complete()}getSliderStyles(t){switch(this.config.slidingDirection){case f.Horizontal:return{transform:`translate3d(${-this.state.currIndex*this.getHorizontalSize()+t.value}px, 0, 0)`,width:`calc(100% * ${this.state.items.length})`,height:"100%"};case f.Vertical:return{transform:`translate3d(0, ${-this.state.currIndex*this.getVerticalSize()+t.value}px, 0)`,width:"100%",height:`calc(100% * ${this.state.items.length})`}}}getHorizontalSize(){return this._el.nativeElement.getBoundingClientRect?this._el.nativeElement.getBoundingClientRect().width:0}getVerticalSize(){return this._el.nativeElement.getBoundingClientRect?this._el.nativeElement.getBoundingClientRect().height:0}verticalPan(t){!(t.direction&Hammer.DIRECTION_UP&&t.offsetDirection&Hammer.DIRECTION_VERTICAL)||(t.velocityY>.3?this.prev():t.velocityY<-.3||t.deltaY/2<=-this.getVerticalSize()*this.state.items.length/this.config.panSensitivity?this.next():t.deltaY/2>=this.getVerticalSize()*this.state.items.length/this.config.panSensitivity?this.prev():this.action.emit(this.state.currIndex))}horizontalPan(t){!(t.direction&Hammer.DIRECTION_HORIZONTAL&&t.offsetDirection&Hammer.DIRECTION_HORIZONTAL)||(t.velocityX>.3?this.prev():t.velocityX<-.3||t.deltaX/2<=-this.getHorizontalSize()*this.state.items.length/this.config.panSensitivity?this.next():t.deltaX/2>=this.getHorizontalSize()*this.state.items.length/this.config.panSensitivity?this.prev():this.action.emit(this.state.currIndex))}next(){this.action.emit("next")}prev(){this.action.emit("prev")}updateSlider(t){const e=Object.assign(Object.assign({},this._slidingWorker$.value),t);this._slidingWorker$.next(e)}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.SBq),n.Y36(n.R0b),n.Y36(n.Lbi))},t.\u0275cmp=n.Xpm({type:t,selectors:[["gallery-slider"]],inputs:{state:"state",config:"config"},outputs:{action:"action",itemClick:"itemClick",error:"error"},features:[n.TTD],ngContentSelectors:j,decls:3,vars:3,consts:[["class","g-items-container",3,"ngStyle",4,"ngIf"],[1,"g-items-container",3,"ngStyle"],[1,"g-slider",3,"ngStyle"],[3,"config","data","currIndex","index","tapClick","error",4,"ngFor","ngForOf","ngForTrackBy"],[3,"config","data","currIndex","index","tapClick","error"]],template:function(t,e){1&t&&(n.F$t(),n.YNc(0,G,3,6,"div",0),n.ALo(1,"async"),n.Hsn(2)),2&t&&n.Q6J("ngIf",n.lcZ(1,1,e.sliderState$))},directives:[L.O5,L.PC,L.sg,Q,W],pipes:[L.Ov],encapsulation:2,changeDetection:0}),t})();function K(t,e){1&t&&n.GkF(0)}const tt=function(t,e){return{index:t,data:e}};function et(t,e){if(1&t&&(n.TgZ(0,"div",1),n.YNc(1,K,1,0,"ng-container",2),n.qZA()),2&t){const t=n.oxw();n.xp6(1),n.Q6J("ngTemplateOutlet",t.config.thumbTemplate)("ngTemplateOutletContext",n.WLB(2,tt,t.index,t.data))}}let it=(()=>{class t{constructor(){this.error=new n.vpe}get isActive(){return this.index===this.currIndex}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Xpm({type:t,selectors:[["gallery-thumb"]],hostVars:2,hostBindings:function(t,e){2&t&&n.ekj("g-active-thumb",e.isActive)},inputs:{config:"config",index:"index",currIndex:"currIndex",data:"data"},outputs:{error:"error"},decls:1,vars:1,consts:[["class","g-template g-thumb-template",4,"ngIf"],[1,"g-template","g-thumb-template"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(t,e){1&t&&n.YNc(0,et,2,5,"div",0),2&t&&n.Q6J("ngIf",e.config.thumbTemplate)},directives:[L.O5,L.tP],encapsulation:2,changeDetection:0}),t})();const nt=["contentRef"];function st(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"gallery-thumb",6),n.NdJ("tapClick",function(){const e=n.CHM(t).index;return n.oxw(2).thumbClick.emit(e)})("error",function(e){const i=n.CHM(t).index;return n.oxw(2).error.emit({itemIndex:i,error:e})}),n.qZA()}if(2&t){const t=e.$implicit,i=e.index,s=n.oxw(2);n.Q6J("config",s.config)("data",t.data)("currIndex",s.state.currIndex)("index",i)("tapClickDisabled",s.config.disableThumb)}}function rt(t,e){1&t&&n.GkF(0)}const at=function(t){return{currIndex:t}};function ot(t,e){if(1&t&&(n.TgZ(0,"div"),n.YNc(1,rt,1,0,"ng-container",7),n.qZA()),2&t){const t=n.oxw(2);n.xp6(1),n.Q6J("ngTemplateOutlet",t.config.frameTemplate)("ngTemplateOutletContext",n.VKq(2,at,t.state.currIndex))}}function lt(t,e){if(1&t&&(n.TgZ(0,"div",3),n.YNc(1,st,1,5,"gallery-thumb",4),n.YNc(2,ot,2,4,"div",5),n.qZA()),2&t){const t=e.$implicit,i=n.oxw();n.ekj("g-no-transition",t.active),n.Q6J("ngStyle",t.style),n.xp6(1),n.Q6J("ngForOf",i.state.items),n.xp6(1),n.Q6J("ngIf",i.config.frameTemplate)}}let ct=(()=>{class t{constructor(t,e,i,s){this._cdr=t,this._el=e,this._zone=i,this._platformId=s,this._slidingWorker$=new y.X({value:0,active:!1}),this._freeModeCurrentOffset=0,this.action=new n.vpe,this.thumbClick=new n.vpe,this.error=new n.vpe}ngAfterViewInit(){this._cdr.markForCheck()}ngOnChanges(t){this.updateSlider({value:0,active:!1}),this._freeModeCurrentOffset=0,t.config&&!t.config.firstChange&&this.setGestures()}setGestures(){this.config.gestures&&!this.config.disableThumb&&"undefined"!=typeof Hammer?this._zone.runOutsideAngular(()=>{switch(this.config.thumbMode){case m.Strict:this._hammer.on("pan",t=>this.strictMode(t));break;case m.Free:this._hammer.on("pan",t=>this.freeMode(t))}}):this._hammer.off("pan")}ngOnInit(){if(this.sliderState$=this._slidingWorker$.pipe((0,$.U)(t=>({style:this.getSliderStyles(t),active:t.active}))),(0,L.NF)(this._platformId)){let t;switch(this.config.thumbPosition){case g.Right:case g.Left:t=Hammer.DIRECTION_VERTICAL;break;case g.Top:case g.Bottom:t=Hammer.DIRECTION_HORIZONTAL}this._hammer=new Hammer(this._el.nativeElement),this._hammer.get("pan").set({direction:t}),this.setGestures()}}ngOnDestroy(){this._hammer&&this._hammer.destroy()}strictMode(t){switch(this.config.thumbPosition){case g.Right:case g.Left:this.updateSlider({value:t.deltaY,active:!0}),t.isFinal&&(this.updateSlider({value:0,active:!1}),this.verticalPan(t));break;case g.Top:case g.Bottom:this.updateSlider({value:t.deltaX,active:!0}),t.isFinal&&(this.updateSlider({value:0,active:!1}),this.horizontalPan(t))}}freeMode(t){switch(this.config.thumbPosition){case g.Right:case g.Left:this.updateSlider({value:this._freeModeCurrentOffset+t.deltaY,active:!0}),t.isFinal&&(this.minFreeScrollExceeded(t.deltaY,this.config.thumbWidth,this.config.thumbHeight)?this._freeModeCurrentOffset=-(this.state.items.length-1-this.state.currIndex)*this.config.thumbHeight:this.maxFreeScrollExceeded(t.deltaY,this.config.thumbHeight,this.config.thumbWidth)?this._freeModeCurrentOffset=this.state.currIndex*this.config.thumbHeight:this._freeModeCurrentOffset+=t.deltaY,this.updateSlider({value:this._freeModeCurrentOffset,active:!1}));break;case g.Top:case g.Bottom:this.updateSlider({value:this._freeModeCurrentOffset+t.deltaX,active:!0}),t.isFinal&&(this.minFreeScrollExceeded(t.deltaX,this.config.thumbHeight,this.config.thumbWidth)?this._freeModeCurrentOffset=-(this.state.items.length-1-this.state.currIndex)*this.config.thumbWidth:this.maxFreeScrollExceeded(t.deltaX,this.config.thumbWidth,this.config.thumbHeight)?this._freeModeCurrentOffset=this.state.currIndex*this.config.thumbWidth:this._freeModeCurrentOffset+=t.deltaX,this.updateSlider({value:this._freeModeCurrentOffset,active:!1}))}}minFreeScrollExceeded(t,e,i){return-(this._freeModeCurrentOffset+t-e/2)>(this.state.items.length-this.state.currIndex)*i}maxFreeScrollExceeded(t,e,i){return this._freeModeCurrentOffset+t>this.state.currIndex*e+i/2}getSliderStyles(t){let e;switch(this.config.thumbPosition){case g.Top:case g.Bottom:return this.width="100%",this.height=this.config.thumbHeight+"px",e=-this.state.currIndex*this.config.thumbWidth-(this.config.thumbWidth/2-t.value)+this.getContainerHorizontalSize()/2,e=this.getCustomizedHorizontalValue(e),{transform:`translate3d(${e}px, 0, 0)`,width:this.getThumbsHorizontalSize()+"px",height:"100%"};case g.Left:case g.Right:return this.width=this.config.thumbWidth+"px",this.height="100%",e=-this.state.currIndex*this.config.thumbHeight-(this.config.thumbHeight/2-t.value)+this.getContainerVerticalSize()/2,e=this.getCustomizedVerticalValue(e),{transform:`translate3d(0, ${e}px, 0)`,width:"100%",height:this.getThumbsVerticalSize()+"px"}}}getCustomizedHorizontalValue(t){return this.isNoDraggable()?0:this.getHorizontalFixedValue(t)}getCustomizedVerticalValue(t){return this.isNoDraggable()?0:this.getVerticalFixedValue(t)}isVertical(){return[g.Left,g.Right].includes(this.config.thumbPosition)}isNoDraggable(){if((0,L.PM)(this._platformId))return!0;switch(this.config.thumbPosition){case g.Top:case g.Bottom:return this.getContainerHorizontalSize()>=this.getThumbsHorizontalSize();case g.Left:case g.Right:return this.getContainerVerticalSize()>=this.getThumbsVerticalSize()}}getHorizontalFixedValue(t){return(t=t>0?0:t)<-this.getHorizontalMaxShift()?-this.getHorizontalMaxShift():t}getVerticalFixedValue(t){return(t=t>0?0:t)<-this.getVerticalMaxShift()?-this.getVerticalMaxShift():t}getThumbsHorizontalSize(){return this.state.items.length*this.config.thumbWidth}getThumbsVerticalSize(){return this.state.items.length*this.config.thumbHeight}getContainerHorizontalSize(){return this.contentRef.nativeElement.clientWidth}getContainerVerticalSize(){return this.contentRef.nativeElement.clientHeight}getHorizontalMaxShift(){return this.getThumbsHorizontalSize()-this.getContainerHorizontalSize()}getVerticalMaxShift(){return this.getThumbsVerticalSize()-this.getContainerVerticalSize()}verticalPan(t){!(t.direction&Hammer.DIRECTION_UP&&t.offsetDirection&Hammer.DIRECTION_VERTICAL)||(t.velocityY>.3?this.prev():t.velocityY<-.3||t.deltaY/2<=-this.config.thumbHeight*this.state.items.length/this.config.panSensitivity?this.next():t.deltaY/2>=this.config.thumbHeight*this.state.items.length/this.config.panSensitivity?this.prev():this.action.emit(this.state.currIndex))}horizontalPan(t){!(t.direction&Hammer.DIRECTION_HORIZONTAL&&t.offsetDirection&Hammer.DIRECTION_HORIZONTAL)||(t.velocityX>.3?this.prev():t.velocityX<-.3||t.deltaX/2<=-this.config.thumbWidth*this.state.items.length/this.config.panSensitivity?this.next():t.deltaX/2>=this.config.thumbWidth*this.state.items.length/this.config.panSensitivity?this.prev():this.action.emit(this.state.currIndex))}next(){this.action.emit("next")}prev(){this.action.emit("prev")}updateSlider(t){const e=Object.assign(Object.assign({},this._slidingWorker$.value),t);this._slidingWorker$.next(e)}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.sBO),n.Y36(n.SBq),n.Y36(n.R0b),n.Y36(n.Lbi))},t.\u0275cmp=n.Xpm({type:t,selectors:[["gallery-thumbs"]],viewQuery:function(t,e){if(1&t&&n.Gf(nt,7),2&t){let t;n.iGM(t=n.CRH())&&(e.contentRef=t.first)}},hostVars:4,hostBindings:function(t,e){2&t&&n.Udp("height",e.height)("width",e.width)},inputs:{state:"state",config:"config"},outputs:{action:"action",thumbClick:"thumbClick",error:"error"},features:[n.TTD],decls:4,vars:7,consts:[[1,"g-thumbs-container"],["contentRef",""],["class","g-slider",3,"g-no-transition","ngStyle",4,"ngIf"],[1,"g-slider",3,"ngStyle"],[3,"config","data","currIndex","index","tapClickDisabled","ta
1pClick","error",4,"ngFor","ngForOf"],[4,"ngIf"],[3,"config","data","currIndex","index","tapClickDisabled","tapClick","error"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(t,e){1&t&&(n.TgZ(0,"div",0,1),n.YNc(2,lt,3,5,"div",2),n.ALo(3,"async"),n.qZA()),2&t&&(n.Udp("flex-direction",e.isVertical()?"column":"row")("justify-content",e.isNoDraggable()?e.config.thumbAlignment:"initial"),n.xp6(2),n.Q6J("ngIf",n.lcZ(3,5,e.sliderState$)))},directives:[L.O5,L.PC,L.sg,it,W,L.tP],pipes:[L.Ov],styles:[".g-slider[_ngcontent-%COMP%]{position:relative}"],changeDetection:0}),t})();var ht=i(91211);function gt(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"i",2),n.NdJ("tapClick",function(){return n.CHM(t),n.oxw().action.emit("prev")}),n.qZA()}if(2&t){const t=n.oxw();n.Q6J("innerHtml",t.navIcon,n.oJD)}}function ut(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"i",3),n.NdJ("tapClick",function(){return n.CHM(t),n.oxw().action.emit("next")}),n.qZA()}if(2&t){const t=n.oxw();n.Q6J("innerHtml",t.navIcon,n.oJD)}}let dt=(()=>{class t{constructor(t){this._sanitizer=t,this.action=new n.vpe}ngOnInit(){this.navIcon=this._sanitizer.bypassSecurityTrustHtml(this.config.navIcon)}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(ht.H7))},t.\u0275cmp=n.Xpm({type:t,selectors:[["gallery-nav"]],inputs:{state:"state",config:"config"},outputs:{action:"action"},decls:2,vars:2,consts:[["class","g-nav-prev","aria-label","Previous",3,"innerHtml","tapClick",4,"ngIf"],["class","g-nav-next","aria-label","Next",3,"innerHtml","tapClick",4,"ngIf"],["aria-label","Previous",1,"g-nav-prev",3,"innerHtml","tapClick"],["aria-label","Next",1,"g-nav-next",3,"innerHtml","tapClick"]],template:function(t,e){1&t&&(n.YNc(0,gt,1,1,"i",0),n.YNc(1,ut,1,1,"i",1)),2&t&&(n.Q6J("ngIf",e.config.loop||e.state.hasPrev),n.xp6(1),n.Q6J("ngIf",e.config.loop||e.state.hasNext))},directives:[L.O5,W],encapsulation:2,changeDetection:0}),t})();function mt(t,e){1&t&&n.GkF(0)}const ft=function(t,e){return{action:t,currIndex:e}};function pt(t,e){if(1&t&&(n.TgZ(0,"div"),n.YNc(1,mt,1,0,"ng-container",2),n.qZA()),2&t){const t=n.oxw();n.xp6(1),n.Q6J("ngTemplateOutlet",t.config.dotsTemplate)("ngTemplateOutletContext",n.WLB(2,ft,t.action,t.state.currIndex))}}function bt(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"div",4),n.NdJ("tapClick",function(){const e=n.CHM(t).index;return n.oxw(2).action.emit(e)}),n._UZ(1,"div",5),n.qZA()}if(2&t){const t=e.index,i=n.oxw(2);n.Udp("height",null==i.config?null:i.config.dotsSize,"px")("width",null==i.config?null:i.config.dotsSize,"px"),n.ekj("g-dot-active",t===i.state.currIndex)}}function vt(t,e){if(1&t&&n.YNc(0,bt,2,6,"div",3),2&t){const t=n.oxw();n.Q6J("ngForOf",t.state.items)}}let yt=(()=>{class t{constructor(){this.action=new n.vpe}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Xpm({type:t,selectors:[["gallery-dots"]],inputs:{state:"state",config:"config"},outputs:{action:"action"},decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["noTemplate",""],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["class","g-dot",3,"g-dot-active","height","width","tapClick",4,"ngFor","ngForOf"],[1,"g-dot",3,"tapClick"],[1,"g-dot-inner"]],template:function(t,e){if(1&t&&(n.YNc(0,pt,2,5,"div",0),n.YNc(1,vt,1,1,"ng-template",null,1,n.W1O)),2&t){const t=n.MAs(2);n.Q6J("ngIf",e.config.dotsTemplate)("ngIfElse",t)}},directives:[L.O5,L.tP,L.sg,W],encapsulation:2,changeDetection:0}),t})(),xt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Xpm({type:t,selectors:[["gallery-counter"]],inputs:{state:"state"},decls:2,vars:1,consts:[[1,"g-counter"]],template:function(t,e){1&t&&(n.TgZ(0,"div",0),n._uU(1),n.qZA()),2&t&&(n.xp6(1),n.Oqu(e.state.currIndex+1+"/"+e.state.items.length))},encapsulation:2,changeDetection:0}),t})();function Ct(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"gallery-thumbs",5),n.NdJ("action",function(e){return n.CHM(t),n.oxw().action.emit(e)})("thumbClick",function(e){return n.CHM(t),n.oxw().thumbClick.emit(e)}),n.qZA()}if(2&t){const t=n.oxw();n.Q6J("state",t.state)("config",t.config)}}function _t(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"gallery-nav",6),n.NdJ("action",function(e){return n.CHM(t),n.oxw().action.emit(e)}),n.qZA()}if(2&t){const t=n.oxw();n.Q6J("state",t.state)("config",t.config)}}function Tt(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"gallery-dots",6),n.NdJ("action",function(e){return n.CHM(t),n.oxw().action.emit(e)}),n.qZA()}if(2&t){const t=n.oxw();n.Q6J("state",t.state)("config",t.config)}}function wt(t,e){if(1&t&&n._UZ(0,"gallery-counter",7),2&t){const t=n.oxw();n.Q6J("state",t.state)}}let It=(()=>{class t{constructor(){this.action=new n.vpe,this.itemClick=new n.vpe,this.thumbClick=new n.vpe,this.error=new n.vpe}get thumbPosition(){return this.config.thumbPosition}get slidingDirection(){return this.config.slidingDirection}get disableThumb(){return this.config.disableThumb}get imageSize(){return this.config.imageSize}get dotsPosition(){return this.config.dotsPosition}get counterPosition(){return this.config.counterPosition}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Xpm({type:t,selectors:[["gallery-core"]],hostVars:6,hostBindings:function(t,e){2&t&&n.uIk("thumbPosition",e.thumbPosition)("slidingDirection",e.slidingDirection)("disableThumb",e.disableThumb)("imageSize",e.imageSize)("dotsPosition",e.dotsPosition)("counterPosition",e.counterPosition)},inputs:{state:"state",config:"config"},outputs:{action:"action",itemClick:"itemClick",thumbClick:"thumbClick",error:"error"},decls:6,vars:6,consts:[[3,"state","config","action","thumbClick",4,"ngIf"],[1,"g-box"],[3,"state","config","action","itemClick","error"],[3,"state","config","action",4,"ngIf"],[3,"state",4,"ngIf"],[3,"state","config","action","thumbClick"],[3,"state","config","action"],[3,"state"]],template:function(t,e){1&t&&(n.YNc(0,Ct,1,2,"gallery-thumbs",0),n.TgZ(1,"div",1),n.TgZ(2,"gallery-slider",2),n.NdJ("action",function(t){return e.action.emit(t)})("itemClick",function(t){return e.itemClick.emit(t)})("error",function(t){return e.error.emit(t)}),n.YNc(3,_t,1,2,"gallery-nav",3),n.qZA(),n.YNc(4,Tt,1,2,"gallery-dots",3),n.YNc(5,wt,1,1,"gallery-counter",4),n.qZA()),2&t&&(n.Q6J("ngIf",e.config.thumb),n.xp6(2),n.Q6J("state",e.state)("config",e.config),n.xp6(1),n.Q6J("ngIf",e.config.nav&&e.state.items.length>1),n.xp6(1),n.Q6J("ngIf",e.config.dots),n.xp6(1),n.Q6J("ngIf",e.config.counter))},directives:[L.O5,U,ct,dt,yt,xt],encapsulation:2,changeDetection:0}),t})();const kt=["*"];let St=(()=>{class t{constructor(t,e,i){this._gallery=t,this._stabilize=e,this._zone=i,this.nav=this._gallery.config.nav,this.dots=this._gallery.config.dots,this.loop=this._gallery.config.loop,this.thumb=this._gallery.config.thumb,this.zoomOut=this._gallery.config.zoomOut,this.counter=this._gallery.config.counter,this.dotsSize=this._gallery.config.dotsSize,this.autoPlay=this._gallery.config.autoPlay,this.gestures=this._gallery.config.gestures,this.thumbWidth=this._gallery.config.thumbWidth,this.thumbHe
1ight=this._gallery.config.thumbHeight,this.disableThumb=this._gallery.config.disableThumb,this.panSensitivity=this._gallery.config.panSensitivity,this.playerInterval=this._gallery.config.playerInterval,this.dotsTemplate=this._gallery.config.dotsTemplate,this.frameTemplate=this._gallery.config.frameTemplate,this.itemTemplate=this._gallery.config.itemTemplate,this.thumbTemplate=this._gallery.config.thumbTemplate,this.thumbMode=this._gallery.config.thumbMode,this.imageSize=this._gallery.config.imageSize,this.dotsPosition=this._gallery.config.dotsPosition,this.counterPosition=this._gallery.config.counterPosition,this.slidingDirection=this._gallery.config.slidingDirection,this.loadingMode=this._gallery.config.loadingMode,this.loadingStrategy=this._gallery.config.loadingStrategy,this.thumbPosition=this._gallery.config.thumbPosition,this.thumbAlignment=this._gallery.config.thumbAlignment,this.sliderTrackBy=this._gallery.config.sliderTrackBy,this.destroyRef=!0,this.skipInitConfig=!1,this.itemClick=new n.vpe,this.thumbClick=new n.vpe,this.playingChange=new n.vpe,this.indexChange=new n.vpe,this.itemsChange=new n.vpe,this.error=new n.vpe,this._itemClick$=s.w0.EMPTY,this._thumbClick$=s.w0.EMPTY,this._itemChange$=s.w0.EMPTY,this._indexChange$=s.w0.EMPTY,this._playingChange$=s.w0.EMPTY,this._playerListener$=s.w0.EMPTY}getConfig(){return{nav:this.nav,dots:this.dots,loop:this.loop,thumb:this.thumb,zoomOut:this.zoomOut,counter:this.counter,autoPlay:this.autoPlay,gestures:this.gestures,dotsSize:this.dotsSize,imageSize:this.imageSize,thumbMode:this.thumbMode,thumbWidth:this.thumbWidth,thumbHeight:this.thumbHe
1ight,loadingMode:this.loadingMode,disableThumb:this.disableThumb,dotsPosition:this.dotsPosition,dotsTemplate:this.dotsTemplate,frameTemplate:this.frameTemplate,itemTemplate:this.itemTemplate,thumbTemplate:this.thumbTemplate,thumbPosition:this.thumbPosition,thumbAlignment:this.thumbAlignment,panSensitivity:this.panSensitivity,playerInterval:this.playerInterval,counterPosition:this.counterPosition,loadingStrategy:this.loadingStrategy,slidingDirection:this.slidingDirection,sliderTrackBy:this.sliderTrackBy}}onAction(t){switch(t){case"next":this.galleryRef.next();break;case"prev":this.galleryRef.prev();break;default:this.galleryRef.set(t)}}ngOnChanges(t){this.galleryRef&&(this.galleryRef.setConfig(this.getConfig()),t.items&&t.items.currentValue!==t.items.previousValue&&this.load(this.items),t.autoPlay&&this.runOrStopAutoPlay())}ngOnInit(){this.checkIdExisting(),this.galleryRef=this.skipInitConfig?this._gallery.ref(this.id):this._gallery.ref(this.id,this.getConfig()),this.load(this.items),this._zone.runOutsideAngular(()=>{this._playerListener$=this._stabilize.isStable.pipe((0,r.w)(()=>this.galleryRef.activatePlayer())).subscribe()}),this._indexChange$=this.galleryRef.indexChanged.subscribe(t=>(this.state=t,this.indexChange.emit(t))),this._itemChange$=this.galleryRef.itemsChanged.subscribe(t=>this.itemsChange.emit(t)),this._playingChange$=this.galleryRef.playingChanged.subscribe(t=>this.playingChange.emit(t)),this.autoPlay&&this.play()}checkIdExisting(){if(!this.id)throw new Error('Gallery needs "id" field. Use "uuid.v4()" to create a unique id')}runOrStopAutoPlay(){this.autoPlay?this.play():this.stop()}ngOnDestroy(){var t;this._itemClick$.unsubscribe(),this._thumbClick$.unsubscribe(),this._itemChange$.unsubscribe(),this._indexChange$.unsubscribe(),this._playingChange$.unsubscribe(),this._playerListener$.unsubscribe(),this.destroyRef&&(null===(t=this.galleryRef)||void 0===t||t.destroy())}onItemClick(t){this.itemClick.emit(t),this.galleryRef.itemClick.next(t)}onThumbClick(t){this.galleryRef.set(t),this.thumbClick.emit(t),this.galleryRef.thumbClick.next(t)}onError(t){this.error.emit(t),this.galleryRef.error.next(t)}load(t){this.galleryRef.load(t)}add(t,e){this.galleryRef.add(t,e)}addImage(t,e){this.add(new a.v(t),e)}remove(t){this.galleryRef.remove(t)}next(){this.galleryRef.next()}prev(){this.galleryRef.prev()}set(t){this.galleryRef.set(t)}reset(){this.galleryRef.reset()}play(t){this.galleryRef.play(t)}stop(){this.galleryRef.stop()}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(R),n.Y36(Y.E12),n.Y36(n.R0b))},t.\u0275cmp=n.Xpm({type:t,selectors:[["gallery"]],inputs:{id:"id",items:"items",nav:"nav",dots:"dots",loop:"loop",thumb:"thumb",zoomOut:"zoomOut",counter:"counter",dotsSize:"dotsSize",autoPlay:"autoPlay",gestures:"gestures",thumbWidth:"thumbWidth",thumbHeight:"thumbHe
1ight",disableThumb:"disableThumb",panSensitivity:"panSensitivity",playerInterval:"playerInterval",dotsTemplate:"dotsTemplate",frameTemplate:"frameTemplate",itemTemplate:"itemTemplate",thumbTemplate:"thumbTemplate",thumbMode:"thumbMode",imageSize:"imageSize",dotsPosition:"dotsPosition",counterPosition:"counterPosition",slidingDirection:"slidingDirection",loadingMode:"loadingMode",loadingStrategy:"loadingStrategy",thumbPosition:"thumbPosition",thumbAlignment:"thumbAlignment",sliderTrackBy:"sliderTrackBy",destroyRef:"destroyRef",skipInitConfig:"skipInitConfig"},outputs:{itemClick:"itemClick",thumbClick:"thumbClick",playingChange:"playingChange",indexChange:"indexChange",itemsChange:"itemsChange",error:"error"},features:[n.TTD],ngContentSelectors:kt,decls:4,vars:6,consts:[[3,"state","config","action","itemClick","thumbClick","error"]],template:function(t,e){1&t&&(n.F$t(),n.TgZ(0,"gallery-core",0),n.NdJ("action",function(t){return e.onAction(t)})("itemClick",function(t){return e.onItemClick(t)})("thumbClick",function(t){return e.onThumbClick(t)})("error",function(t){return e.onError(t)}),n.ALo(1,"async"),n.ALo(2,"async"),n.qZA(),n.Hsn(3)),2&t&&n.Q6J("state",n.lcZ(1,2,e.galleryRef.state))("config",n.lcZ(2,4,e.galleryRef.config))},directives:[It],pipes:[L.Ov],styles:['gallery-core[dotsPosition=top] gallery-dots{top:0} gallery-core[dotsPosition=bottom] gallery-dots{bottom:0} .g-dot{cursor:pointer;z-index:20} .g-dot:hover .g-dot-inner{opacity:1} .g-dot-active .g-dot-inner{opacity:1;transform:scale(1.5)!important} .g-dot-inner{background-color:#fff;opacity:.6;width:30%;height:30%;border-radius:50%;box-shadow:0 0 1px #000;transition:all ease .2s} .g-dot, .g-dot-inner{display:flex;justify-content:center;align-items:center} .g-nav-next, .g-nav-prev{position:absolute;top:50%;width:30px;height:40px;cursor:pointer;z-index:999} .g-nav-next{right:.5em;transform:translateY(-50%) perspective(1px)} .g-nav-prev{left:.5em;transform:translateY(-50%) perspective(1px) scale(-1)}@media only screen and (max-width: 480px){ .g-nav-next{right:.2em} .g-nav-prev{left:.2em}} .g-items-container{height:100%} .g-slider{position:absolute;transition:transform .4s cubic-bezier(.5,0,.5,1)} gallery-core[slidingDirection=horizontal] .g-slider{flex-direction:row} gallery-core[slidingDirection=vertical] .g-slider{flex-direction:column} gallery-thumbs{display:block;z-index:1;overflow:unset} .g-thumbs-container{position:relative;z-index:206;width:100%;height:100%;left:0;top:0;display:flex;overflow:unset} gallery-core[disableThumb=true] gallery-thumb{cursor:default} gallery-core[thumbPosition=top] gallery-thumbs .g-slider, gallery-core[thumbPosition=bottom] gallery-thumbs .g-slider{flex-direction:row;top:0} gallery-core[thumbPosition=top] gallery-thumb, gallery-core[thumbPosition=bottom] gallery-thumb{padding:1px 0 1px 1px} gallery-core[thumbPosition=left] gallery-thumbs .g-slider, gallery-core[thumbPosition=right] gallery-thumbs .g-slider{flex-direction:column;left:0;top:0} gallery-core[thumbPosition=left] gallery-thumb, gallery-core[thumbPosition=right] gallery-thumb{padding:0 1px 1px} gallery-core[thumbPosition=top]{flex-direction:column} gallery-core[thumbPosition=left]{flex-direction:row} gallery-core[thumbPosition=right]{flex-direction:row-reverse} gallery-core[thumbPosition=bottom]{flex-direction:column-reverse} gallery-thumb.g-active-thumb .g-thumb-loading{background-color:#464646} .g-thumb-loading{position:relative;overflow:hidden;height:100%;background-color:#262626} .g-thumb-loading:before{content:"";position:absolute;top:0;right:0;bottom:0;left:50%;z-index:1;width:500%;margin-left:-250%;-webkit-animation:phAnimation .8s linear infinite;animation:phAnimation .8s linear infinite;background:linear-gradient(to right,rgba(255,255,255,0) 46%,rgba(255,255,255,.35) 50%,rgba(255,255,255,0) 54%) 50% 50%}@-webkit-keyframes phAnimation{0%{transform:translate(-30%)}to{transform:translate(30%)}}@keyframes phAnimation{0%{transform:translate(-30%)}to{transform:translate(30%)}} gallery-core[counterPosition=top] .g-counter{top:0;border-bottom-left-radius:4px;border-bottom-right-radius:4px} gallery-core[counterPosition=bottom] .g-counter{bottom:0;border-top-left-radius:4px;border-top-right-radius:4px} .g-counter{z-index:50;position:absolute;
1left:50%;transform:translate(-50%) perspective(1px);font-size:12px;padding:4px 10px;color:#fff;background-color:#00000080} gallery[gallerize] gallery-item{cursor:pointer} gallery-item, gallery-thumb{position:relative;height:100%;width:100%;display:block;overflow:hidden} gallery-item h2, gallery-item h4, gallery-thumb h2, gallery-thumb h4{color:coral;margin:0} gallery-item h2, gallery-thumb h2{font-size:3.5em;margin-bottom:.3em} gallery-item h4, gallery-thumb h4{font-size:1.6em} gallery-item{z-index:10} gallery-item video, gallery-item iframe{position:absolute;width:100%;height:100%} gallery-thumb{opacity:.5;cursor:pointer;transition:opacity .3s cubic-bezier(.5,0,.5,1)} gallery-thumb.g-active-thumb{opacity:1} .g-active-item img{height:100%;-o-object-fit:inherit;object-fit:inherit;width:100%} .g-image-item{background-position:center center;background-repeat:no-repeat;background-size:cover;width:100%;height:100%} .g-template, .g-loading, .g-image-error-message{position:absolute;z-index:10;left:0;top:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center;flex-direction:column} .g-item-template{height:100%} gallery-core[imageSize=contain] gallery-slider .g-image-item{background-size:contain} gallery{position:relative;z-index:1;overflow:hidden;display:block;height:500px} gallery *{box-sizing:border-box} gallery, gallery-core{position:relative;overflow:hidden} gallery-core, .g-box, .g-slider{display:flex;height:100%;width:100%} gallery[fluid]{transform:translate(-50vw);width:100vw;left:50%} gallery[fluid][fluid=false]{transform:none;width:auto;width:initial;left:auto;left:initial} .g-no-transition{transition:unset!important} .g-box, gallery-slider{overflow:hidden;position:relative;display:flex;flex-direction:column;flex:1;order:1;height:100%} gallery-nav svg, .g-btn-close svg{width:100%;height:100%;filter:drop-shadow(0px 0px 1px black);transition:opacity linear .2s;opacity:.6} gallery-nav svg:hover, .g-btn-close svg:hover{opacity:1}'],changeDetection:0}),t})()},51119:function(t,e,i){i.d(e,{vY:function(){return n.v},Uo:function(){return p},vE:function(){return s.v}});var n=i(66265),s=i(22327),r=i(42025),a=i(12057),o=i(58497),l=i(41964),c=i(69978),h=i(99922),g=i(74788);class u{}let d=(()=>{class t{constructor(){this.cache=new Map}get(t){const e=this.cache.get(t.urlWithParams);if(e)return e.response}put(t,e){const i=t.urlWithParams,n={url:i,response:e,lastRead:Date.now()};this.cache.set(i,n);const s=Date.now()-3e4;this.cache.forEach(t=>{t.lastRead<s&&this.cache.delete(t.url)})}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=g.Yz7({token:t,factory:t.\u0275fac}),t})(),m=(()=>{class t{constructor(t){this.cache=t}intercept(t,e){if(t.headers.has("CACHE_GALLERY_IMAGE")&&function(t){return"GET"===t.method}(t)){const i=this.cache.get(t);if(t.headers.get("x-refresh")){const n=f(t,e,this.cache);return i?n.pipe((0,c.O)(i)):n}return i?(0,l.of)(i):f(t,e,this.cache)}return e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(g.LFG(u))},t.\u0275prov=g.Yz7({token:t,factory:t.\u0275fac}),t})();function f(t,e,i){const n=t.clone({headers:t.headers.delete("CACHE_GALLERY_IMAGE")});return e.handle(n).pipe((0,h.b)(e=>{e instanceof o.Zn&&i.put(t,e)}))}let p=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:r.S,useValue:e}]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=g.oAB({type:t}),t.\u0275inj=g.cJS({providers:[{provide:u,useClass:d},{provide:o.TP,useClass:m,multi:!0}],imports:[[a.ez,o.JF]]}),t})()},42025:function(t,e,i){i.d(e,{S:function(){return n}});const n=new(i(74788).OlP)("galleryConfig")},22327:function(t,e,i){i.d(e,{v:function(){return n}});class n{constructor(t){this.data=t}}},28678:function(t,e,i){i.d(e,{R:function(){return s}});var n=i(74788);let s=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Xpm({type:t,selectors:[["lib-loader"]],decls:13,vars:0,consts:[["version","1.1","id","Layer_1","xmlns","http://www.w3.org/2000/svg","x","0px","y","0px","width","24px","height","30px","viewBox","0 0 24 30",0,"xml","space","preserve",2,"enable-background","new 0 0 50 50"],["x","0","y","10","width","4","height","10","fill","#007dcc","opacity","0.2"],["attributeName","opacity","attributeType","XML","values","0.2; 1; .2","begin","0s","dur","0.6s","repeatCount","indefinite"],["attributeName","height","attributeType","XML","values","10; 20; 10","begin","0s","dur","0.6s","repeatCount","indefinite"],["attributeName","y","attributeType","XML","values","10; 5; 10","begin","0s","dur","0.6s","repeatCount","indefinite"],["x","8","y","10","width","4","height","10","fill","#007dcc","opacity","0.2"],["attributeName","opacity","attributeType","XML","values","0.2; 1; .2","begin","0.15s","dur","0.6s","repeatCount","indefinite"],["attributeName","height","attributeType","XML","values","10; 20; 10","begin","0.15s","dur","0.6s","repeatCount","indefinite"],["attributeName","y","attributeType","XML","values","10; 5; 10","begin","0.15s","dur","0.6s","repeatCount","indefinite"],["x","16","y","10","width","4","height","10","fill","#007dcc","opacity","0.2"],["attributeName","opacity","attributeType","XML","values","0.2; 1; .2","begin","0.3s","dur","0.6s","repeatCount","indefinite"],["attributeName","height","attributeType","XML","values","10; 20; 10","begin","0.3s","dur","0.6s","repeatCount","indefinite"],["attributeName","y","attributeType","XML","values","10; 5; 10","begin","0.3s","dur","0.6s","repeatCount","indefinite"]],template:function(t,e){1&t&&(n.O4$(),n.TgZ(0,"svg",0),n.TgZ(1,"rect",1),n._UZ(2,"animate",2),n._UZ(3,"animate",3),n._UZ(4,"animate",4),n.qZA(),n.TgZ(5,"rect",5),n._UZ(6,"animate",6),n._UZ(7,"animate",7),n._UZ(8,"animate",8),n.qZA(),n.TgZ(9,"rect",9),n._UZ(10,"animate",10),n._UZ(11,"animate",11),n._UZ(12,"animate",12),n.qZA(),n.qZA())},styles:["[_nghost-%COMP%]{display:block;margin:0 auto;padding:20px 0;text-align:center}[_nghost-%COMP%] svg[_ngcontent-%COMP%]{display:block;margin:auto}"],changeDetection:0}),t})()}
1,33569:function(t,e,i){var n=i(26182),s=i(37996),r=i(3099),a=i(34654),o=i(18402),l=i(30703),c=i(31550),h=i(65530),g=Object.prototype.hasOwnProperty;e.Z=function(t){if(null==t)return!0;if((0,o.Z)(t)&&((0,a.Z)(t)||"string"==typeof t||"function"==typeof t.splice||(0,l.Z)(t)||(0,h.Z)(t)||(0,r.Z)(t)))return!t.length;var e=(0,s.Z)(t);if("[object Map]"==e||"[object Set]"==e)return!t.size;if((0,c.Z)(t))return!(0,n.Z)(t).length;for(var i in t)if(g.call(t,i))return!1;return!0}}}]);
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.