PageSourceSearch

https://www.mumbaicricket.com/525.347c30ce59ac0777.js

js mumbaicricket.com collected 2026-10-02 06:42:19 UTC 114,676 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkmyApp=self.webpackChunkmyApp||[]).push([[525],{9525:(di,j,f)=>{f.r(j),f.d(j,{HomeModule:()=>hi});var D=f(4755);function R(s){return(R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(c){return typeof c}:function(c){return c&&"function"==typeof Symbol&&c.constructor===Symbol&&c!==Symbol.prototype?"symbol":typeof c})(s)}function r(s,c,e){return(c=function ge(s){var c=function ue(s,c){if("object"!==R(s)||null===s)return s;var e=s[Symbol.toPrimitive];if(void 0!==e){var i=e.call(s,c||"default");if("object"!==R(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===c?String:Number)(s)}(s,"string");return"symbol"===R(c)?c:String(c)}(c))in s?Object.defineProperty(s,c,{value:e,enumerable:!0,configurable:!0,writable:!0}):s[c]=e,s}var t=f(9523),L=f(7579),k=f(6451),N=f(9646),pe=f(4968),me=f(2076),b=f(8505),F=f(9300),Z=f(3900),E=f(590),H=f(5698);function K(s){return(0,F.h)((c,e)=>s<=e)}var U=f(4004),ve=f(7359),J=f(4482);const _e=(s,c)=>(s.push(c),s);var Ce=f(4986),we=f(7272),Me=f(5403),ye=f(5032),be=f(9718),xe=f(6099),Te=f(8421);function X(s,c){return c?e=>(0,we.z)(c.pipe((0,H.q)(1),function De(){return(0,J.e)((s,c)=>{s.subscribe((0,Me.x)(c,ye.Z))})}()),e.pipe(X(s))):(0,xe.z)((e,i)=>(0,Te.Xf)(s(e,i)).pipe((0,H.q)(1),(0,be.h)(e)))}var Le=f(5963),A=f(4209),x=f(1591);function Oe(s,c){}const Pe=function(s,c){return{$implicit:s,index:c}};function Ae(s,c){if(1&s&&t.YNc(0,Oe,0,0,"ng-template",4),2&s){const e=t.oxw(),i=e.$implicit,n=e.index,a=t.oxw();t.Q6J("ngTemplateOutlet",i.tplRef)("ngTemplateOutletContext",t.WLB(2,Pe,a.preparePublicSlide(i),n))}}const Ie=function(s,c,e,i){return{width:s,"margin-left":c,"margin-right":e,left:i}};function Re(s,c){if(1&s){const e=t.EpF();t.ynx(0),t.TgZ(1,"div",2),t.NdJ("animationend",function(){const a=t.CHM(e).$implicit,o=t.oxw();return t.KtG(o.clear(a.id))}),t.YNc(2,Ae,1,5,null,3),t.qZA(),t.BQk()}if(2&s){const e=c.$implicit;t.xp6(1),t.Q6J("ngClass",e.classes)("ngStyle",t.l5B(4,Ie,e.width+"px",e.marginL?e.marginL+"px":"",e.marginR?e.marginR+"px":"",e.left))("@autoHeight",e.heightState),t.xp6(1),t.Q6J("ngIf",e.load)}}const Fe=function(s,c,e,i,n){return{width:s,transform:c,transition:e,"padding-left":i,"padding-right":n}},Ze=function(s,c){return{isMouseDragable:s,isTouchDragable:c}};function Ne(s,c){if(1&s&&(t.TgZ(0,"div",4),t._UZ(1,"owl-stage",5),t.qZA()),2&s){const e=t.oxw();
1t.xp6(1),t.Q6J("owlDraggable",t.WLB(3,Ze,null==e.owlDOMData?null:e.owlDOMData.isMouseDragable,null==e.owlDOMData?null:e.owlDOMData.isTouchDragable))("stageData",e.stageData)("slidesData",e.slidesData)}}const He=function(s,c){return{active:s,"owl-dot-text":c}};function $e(s,c){if(1&s){const e=t.EpF();t.TgZ(0,"div",11),t.NdJ("click",function(){const a=t.CHM(e).$implicit,o=t.oxw(2);return t.KtG(o.moveByDot(a.id))}),t._UZ(1,"span",12),t.qZA()}if(2&s){const e=c.$implicit;t.Q6J("ngClass",t.WLB(2,He,e.active,e.showInnerContent)),t.xp6(1),t.Q6J("innerHTML",e.innerContent,t.oJD)}}const $=function(s){return{disabled:s}};function ze(s,c){if(1&s){const e=t.EpF();t.ynx(0),t.TgZ(1,"div",6)(2,"div",7),t.NdJ("click",function(){t.CHM(e);const n=t.oxw();return t.KtG(n.prev())}),t.qZA(),t.TgZ(3,"div",8),t.NdJ("click",function(){t.CHM(e);const n=t.oxw();return t.KtG(n.next())}),t.qZA()(),t.TgZ(4,"div",9),t.YNc(5,$e,2,5,"div",10),t.qZA(),t.BQk()}if(2&s){const e=t.oxw();t.xp6(1),t.Q6J("ngClass",t.VKq(7,$,null==e.navData?null:e.navData.disabled)),t.xp6(1),t.Q6J("ngClass",t.VKq(9,$,null==e.navData||null==e.navData.prev?null:e.navData.prev.disabled))("innerHTML",null==e.navData||null==e.navData.prev?null:e.navData.prev.htmlText,t.oJD),t.xp6(1),t.Q6J("ngClass",t.VKq(11,$,null==e.navData||null==e.navData.next?null:e.navData.next.disabled))("innerHTML",null==e.navData||null==e.navData.next?null:e.navData.next.htmlText,t.oJD),t.xp6(1),t.Q6J("ngClass",t.VKq(13,$,null==e.dotsData?null:e.dotsData.disabled)),t.xp6(1),t.Q6J("ngForOf",null==e.dotsData?null:e.dotsData.dots)}}const Be=function(s,c,e,i,n){return{"owl-rtl":s,"owl-loaded":c,"owl-responsive":e,"owl-drag":i,"owl-grab":n}};class Ee{constructor(){r(this,"items",3),r(this,"skip_validateItems",!1),r(this,"loop",!1),r(this,"center",!1),r(this,"rewind",!1),r(this,"mouseDrag",!0),r(this,"touchDrag",!0),r(this,"pullDrag",!0),r(this,"freeDrag",!1),r(this,"margin",0),r(this,"stagePadding",0),r(this,"merge",!1),r(this,"mergeFit",!0),r(this,"autoWidth",!1),r(this,"startPosition",0),r(this,"rtl",!1),r(this,"smartSpeed",250),r(this,"fluidSpeed",!1),r(this,"dragEndSpeed",!1),r(this,"responsive",{}),r(this,"responsiveRefreshRate",200),r(this,"nav",!1),r(this,"navText",["prev","next"]),r(this,"navSpeed",!1),r(this,"slideBy",1),r(this,"dots",!0),r(this,"dotsEach",!1),r(this,"dotsData",!1),r(this,"dotsSpeed",!1),r(this,"autoplay",!1),r(this,"autoplayTimeout",5e3),r(this,"autoplayHoverPause",!1),r(this,"autoplaySpeed",!1),r(this,"autoplayMouseleaveTimeout",1),r(this,"lazyLoad",!1),r(this,"lazyLoadEager",0),r(this,"slideTransition",""),r(this,"animateOut",!1),r(this,"animateIn",!1),r(this,"autoHeight",!1),r(this,"URLhashListener",!1)}}class Ue{constructor(){r(this,"items","number"),r(this,"skip_validateItems","boolean"),r(this,"loop","boolean"),r(this,"center","boolean"),r(this,"rewind","boolean"),r(this,"mouseDrag","boolean"),r(this,"touchDrag","boolean"),r(this,"pullDrag","boolean"),r(this,"freeDrag","boolean"),r(this,"margin","number"),r(this,"stagePadding","number"),r(this,"merge","boolean"),r(this,"mergeFit","boolean"),r(this,"autoWidth","boolean"),r(this,"startPosition","number|string"),r(this,"rtl","boolean"),r(this,"smartSpeed","number"),r(this,"fluidSpeed","boolean"),r(this,"dragEndSpeed","number|boolean"),r(this,"responsive",{}),r(this,"responsiveRefreshRate","number"),r(this,"nav","boolean"),r(this,"navText","string[]"),r(this,"navSpeed","number|boolean"),r(this,"slideBy","number|string"),r(this,"dots","boolean"),r(this,"dotsEach","number|boolean"),r(this,"dotsData","boolean"),r(this,"dotsSpeed","number|boolean"),r(this,"autoplay","boolean"),r(this,"autoplayTimeout","number"),r(this,"autoplayHoverPause","boolean"),r(this,"autoplaySpeed","number|boolean"),r(this,"autoplayMouseleaveTimeout","number"),r(this,"lazyLoad","boolean"),r(this,"lazyLoadEager","number"),r(this,"slideTransition","string"),r(this,"animateOut","string|boolean"),r(this,"animateIn","string|boolean"),r(this,"autoHeight","boolean"),r(this,"URLhashListener","boolean")}}let q=(()=>{class s{constructor(e){r(this,"errorHandler",void 0),this.errorHandler=e}log(e,...i){(0,t.X6Q)()&&console.log(e,...i)}error(e){this.errorHandler.handleError(e)}warn(e,...i){console.warn(e,...i)}}
1return r(s,"\u0275fac",function(e){return new(e||s)(t.LFG(t.qLn))}),r(s,"\u0275prov",t.Yz7({token:s,factory:s.\u0275fac})),s})();var I=(()=>((I=I||{}).Event="event",I.State="state",I))(),O=(()=>((O=O||{}).Default="default",O.Inner="inner",O.Outer="outer",O))();let P=(()=>{class s{get invalidated(){return this._invalidated}get states(){return this._states}constructor(e){r(this,"logger",void 0),r(this,"_viewSettingsShipper$",new L.x),r(this,"_initializedCarousel$",new L.x),r(this,"_changeSettingsCarousel$",new L.x),r(this,"_changedSettingsCarousel$",new L.x),r(this,"_translateCarousel$",new L.x),r(this,"_translatedCarousel$",new L.x),r(this,"_resizeCarousel$",new L.x),r(this,"_resizedCarousel$",new L.x),r(this,"_refreshCarousel$",new L.x),r(this,"_refreshedCarousel$",new L.x),r(this,"_dragCarousel$",new L.x),r(this,"_draggedCarousel$",new L.x),r(this,"settings",{items:0}),r(this,"owlDOMData",{rtl:!1,isResponsive:!1,isRefreshed:!1,isLoaded:!1,isLoading:!1,isMouseDragable:!1,isGrab:!1,isTouchDragable:!1}),r(this,"stageData",{transform:"translate3d(0px,0px,0px)",transition:"0s",width:0,paddingL:0,paddingR:0}),r(this,"slidesData",void 0),r(this,"navData",void 0),r(this,"dotsData",void 0),r(this,"_width",void 0),r(this,"_items",[]),r(this,"_widths",[]),r(this,"_supress",{}),r(this,"_plugins",{}),r(this,"_current",null),r(this,"_clones",[]),r(this,"_mergers",[]),r(this,"_speed",null),r(this,"_coordinates",[]),r(this,"_breakpoint",null),r(this,"clonedIdPrefix","cloned-"),r(this,"_options",{}),r(this,"_invalidated",{}),r(this,"_states",{current:{},tags:{initializing:["busy"],animating:["busy"],dragging:["interacting"]}}),r(this,"_pipe",[{filter:["width","items","settings"],run:i=>{i.current=this._items&&this._items[this.relative(this._current)]?.id}},{filter:["width","items","settings"],run:i=>{const n=this.settings.margin||"",o=this.settings.rtl,l={"margin-left":o?n:"","margin-right":o?"":n};!this.settings.autoWidth||this.slidesData.forEach(h=>{h.marginL=l["margin-left"],h.marginR=l["margin-right"]}),i.css=l}},{filter:["width","items","settings"],run:i=>{const n=+(this.width()/this.settings.items).toFixed(3)-this.settings.margin,a=!this.settings.autoWidth,o=[];let l=null,h=this._items.length;for(i.items={merge:!1,width:n};h-- >0;)l=this._mergers[h],l=this.settings.mergeFit&&Math.min(l,this.settings.items)||l,i.items.merge=l>1||i.items.merge,o[h]=a?n*l:this._items[h].width?this._items[h].width:n;this._widths=o,this.slidesData.forEach((d,_)=>{d.width=this._widths[_],d.marginR=i.css["margin-right"],d.marginL=i.css["margin-left"]})}},{filter:["items","settings"],run:()=>{const i=[],n=this._items,a=this.settings,o=Math.max(2*a.items,4),l=2*Math.ceil(n.length/2);let h=[],d=[],_=a.loop&&n.length?a.rewind?o:Math.max(o,l):0;for(_/=2;_-- >0;)i.push(this.normalize(i.length/2,!0)),h.push({...this.slidesData[i[i.length-1]]}),i.push(this.normalize(n.length-1-(i.length-1)/2,!0)),d.unshift({...this.slidesData[i[i.length-1]]});this._clones=i,h=h.map(m=>(m.id=`${this.clonedIdPrefix}${m.id}`,m.isActive=!1,m.isCloned=!0,m)),d=d.map(m=>(m.id=`${this.clonedIdPrefix}${m.id}`,m.isActive=!1,m.isCloned=!0,m)),this.slidesData=d.concat(this.slidesData).concat(h)}},{filter:["width","items","settings"],run:()=>{const i=this.settings.rtl?1:-1,n=this._clones.length+this._items.length,a=[];let o=-1,l=0,h=0;for(;++o<n;)l=a[o-1]||0,h=this._widths[this.relative(o)]+this.settings.margin,a.push(l+h*i);this._coordinates=a}},{filter:["width","items","settings"],run:()=>{const i=this.settings.stagePadding,n=this._coordinates,a={width:Math.ceil(Math.abs(n[n.length-1]))+2*i,"padding-left":i||"","padding-right":i||""};this.stageData.width=a.width,this.stageData.paddingL=a["padding-left"],this.stageData.paddingR=a["padding-right"]}},{filter:["width","items","settings"],run:i=>{let n=i.current?this.slidesData.findIndex(a=>a.id===i.current):0;n=Math.max(this.minimum(),Math.min(this.maximum(),n)),this.reset(n)}},{filter:["position"],run:()=>{this.animate(this.coordinates(this._current))}},{filter:["width","position","items","settings"],run:()=>{const i=this.settings.rtl?1:-1,n=2*this.settings.stagePadding,a=[];let o,l,h,d,_,m;if(o=this.coordinates(this.current()),"number"==typeof o?o+=n:o=0,l=o+this.width()*i,-1===i&&this.settings.center){const M=this._coordinates.filter(g=>this.settings.items%2==1?g>=o:g>o);o=M.length?M[M.length-1]:o}for(_=0,m=this._coordinates.length;_<m;_++)h=Math.ceil(this._coordinates[_-1]||0),d=Math.ceil(Math.abs(this._coordinates[_])+n*i),(this._op(h,"<=",o)&&this._op(h,">",l)||this._op(d,"<",o)&&this._op(d,">",l))&&a.push(_);this.slidesData.forEach(M=>(M.isActive=!1,M)),a.forEach(M=>{this.slidesData[M].isActive=!0}),this.settings.center&&(this.slidesData.forEach(M=>(M.isCentered=!1,M)),this.slidesData[this.current()].isCentered=!0)}}]),this.logger=e}getViewCurSettings(){return this._viewSettingsShipper$.asObservable()}getInitializedState(){return this._initializedCarousel$.asObservable()}getChangeState(){return this._changeSettingsCarousel$.asObservable()}getChangedState(){return this._changedSettingsCarousel$.asObservable()}getTranslateState(){return this._translateCarousel$.asObservable()}getTranslatedState(){return this._translatedCarousel$.asObservable()}getResizeState(){return this._resizeCarousel$.asObservable()}getResizedState(){return this._resizedCarousel$.asObservable()}getRefreshState(){return this._refreshCarousel$.asObservable()}getRefreshedState(){return this._refreshedCarousel$.asObservable()}getDragState(){return this._dragCarousel$.asObservable()}getDraggedState(){return this._draggedCarousel$.asObservable()}
1setOptions(e){const i=new Ee,n=this._validateOptions(e,i);this._options={...i,...n}}_validateOptions(e,i){const n={...e},a=new Ue,o=(l,h)=>(this.logger.log(`options.${h} must be type of ${l}; ${h}=${e[h]} skipped to defaults: ${h}=${i[h]}`),i[h]);for(const l in n)if(n.hasOwnProperty(l))if("number"===a[l])this._isNumeric(n[l])?(n[l]=+n[l],n[l]="items"===l?this._validateItems(n[l],n.skip_validateItems):n[l]):n[l]=o(a[l],l);else if("boolean"===a[l]&&"boolean"!=typeof n[l])n[l]=o(a[l],l);else if("number|boolean"!==a[l]||this._isNumberOrBoolean(n[l]))if("number|string"!==a[l]||this._isNumberOrString(n[l]))if("string|boolean"!==a[l]||this._isStringOrBoolean(n[l])){if("string[]"===a[l])if(Array.isArray(n[l])){let h=!1;n[l].forEach(d=>{h="string"==typeof d}),h||(n[l]=o(a[l],l))}else n[l]=o(a[l],l)}else n[l]=o(a[l],l);else n[l]=o(a[l],l);else n[l]=o(a[l],l);return n}_validateItems(e,i){let n=e;return e>this._items.length?i?this.logger.log("The option 'items' in your options is bigger than the number of slides. The navigation got disabled"):(n=this._items.length,this.logger.log("The option 'items' in your options is bigger than the number of slides. This option is updated to the current number of slides and the navigation got disabled")):e===this._items.length&&(this.settings.dots||this.settings.nav)&&this.logger.log("Option 'items' in your options is equal to the number of slides. So the navigation got disabled"),n}setCarouselWidth(e){this._width=e}setup(e,i,n){this.setCarouselWidth(e),this.setItems(i),this._defineSlidesData(),this.setOptions(n),this.settings={...this._options},this.setOptionsForViewport(),this._trigger("change",{property:{name:"settings",value:this.settings}}),this.invalidate("settings"),this._trigger("changed",{property:{name:"settings",value:this.settings}})}setOptionsForViewport(){const e=this._width,i=this._options.responsive;let n=-1;if(!Object.keys(i).length)return;if(!e)return void(this.settings.items=1);for(const o in i)i.hasOwnProperty(o)&&+o<=e&&+o>n&&(n=Number(o));this.settings={...this._options,...i[n],items:i[n]&&i[n].items?this._validateItems(i[n].items,this._options.skip_validateItems):this._options.items},delete this.settings.responsive,this.owlDOMData.isResponsive=!0,this.owlDOMData.isMouseDragable=this.settings.mouseDrag,this.owlDOMData.isTouchDragable=this.settings.touchDrag;const a=[];this._items.forEach(o=>{a.push(this.settings.merge?o.dataMerge:1)}),this._mergers=a,this._breakpoint=n,this.invalidate("settings")}initialize(e){this.enter("initializing"),this.owlDOMData.rtl=this.settings.rtl,this._mergers.length&&(this._mergers=[]),e.forEach(i=>{this._mergers.push(this.settings.merge?i.dataMerge:1)}),this._clones=[],this.reset(this._isNumeric(this.settings.startPosition)?+this.settings.startPosition:0),this.invalidate("items"),this.refresh(),this.owlDOMData.isLoaded=!0,this.owlDOMData.isMouseDragable=this.settings.mouseDrag,this.owlDOMData.isTouchDragable=this.settings.touchDrag,this.sendChanges(),this.leave("initializing"),this._trigger("initialized")}sendChanges(){this._viewSettingsShipper$.next({owlDOMData:this.owlDOMData,stageData:this.stageData,slidesData:this.slidesData,navData:this.navData,dotsData:this.dotsData})}_optionsLogic(){this.settings.autoWidth&&(this.settings.stagePadding=0,this.settings.merge=!1)}update(){let e=0;const i=this._pipe.length,n=o=>this._invalidated[o],a={};for(;e<i;){const o=this._pipe[e].filter.filter(n);(this._invalidated.all||o.length>0)&&this._pipe[e].run(a),e++}this.slidesData.forEach(o=>o.classes=this.setCurSlideClasses(o)),this.sendChanges(),this._invalidated={},this.is("valid")||this.enter("valid")}width(e){switch(e=e||O.Default){case O.Inner:case O.Outer:return this._width;default:return this._width-2*this.settings.stagePadding+this.settings.margin}}refresh(){this.enter("refreshing"),this._trigger("refresh"),this._defineSlidesData(),this.setOptionsForViewport(),this._optionsLogic(),this.update(),this.leave("refreshing"),this._trigger("refreshed")}onResize(e){if(!this._items.length)return!1;this.setCarouselWidth(e),this.enter("resizing"),this._trigger("resize"),this.invalidate("width"),this.refresh(),this.leave("resizing"),this._trigger("resized")}prepareDragging(e){let n,i=null;return n=this.stageData.transform.replace(/.*\(|\)| |[^,-\d]\w|\)/g,"").split(","),i={x:+n[0],y:+n[1]},this.is("animating")&&this.invalidate("position"),"mousedown"===e.type&&(this.owlDOMData.isGrab=!0),this.speed(0),i}enterDragging(){this.enter("dragging"),this._trigger("drag")}defineNewCoordsDrag(e,i){let n=null,a=null,o=null;const l=this.difference(i.pointer,this.pointer(e)),h=this.difference(i.stage.start,l);return!!this.is("dragging")&&(this.settings.loop?(n=this.coordinates(this.minimum()),a=+this.coordinates(this.maximum()+1)-n,h.x=((h.x-n)%a+a)%a+n):(n=this.coordinates(this.settings.rtl?this.maximum():this.minimum()),a=this.coordinates(this.settings.rtl?this.minimum():this.maximum()),o=this.settings.pullDrag?-1*l.x/5:0,h.x=Math.max(Math.min(h.x,n+o),a+o)),h)}finishDragging(e,i,n){const o=this.difference(i.pointer,this.pointer(e)),l=i.stage.current,h=["right","left"][
1+(this.settings.rtl?o.x<+this.settings.rtl:o.x>+this.settings.rtl)];let d,_,m;(0!==o.x&&this.is("dragging")||!this.is("valid"))&&(this.speed(+this.settings.dragEndSpeed||this.settings.smartSpeed),d=this.closest(l.x,0!==o.x?h:i.direction),_=this.current(),m=this.current(-1===d?void 0:d),_!==m&&(this.invalidate("position"),this.update()),i.direction=h,(Math.abs(o.x)>3||(new Date).getTime()-i.time>300)&&n()),this.is("dragging")&&(this.leave("dragging"),this._trigger("dragged"))}closest(e,i){const a=this.width();let o=this.coordinates(),l=-1;this.settings.center&&(o=o.map(h=>(0===h&&(h+=1e-6),h)));for(let h=0;h<o.length&&("left"===i&&e>o[h]-30&&e<o[h]+30?l=h:"right"===i&&e>o[h]-a-30&&e<o[h]-a+30?l=h+1:this._op(e,"<",o[h])&&this._op(e,">",o[h+1]||o[h]-a)?l="left"===i?h+1:h:null===i&&e>o[h]-30&&e<o[h]+30&&(l=h),-1===l);h++);return this.settings.loop||(this._op(e,">",o[this.minimum()])?l=e=this.minimum():this._op(e,"<",o[this.maximum()])&&(l=e=this.maximum())),l}animate(e){const i=this.speed()>0;this.is("animating")&&this.onTransitionEnd(),i&&(this.enter("animating"),this._trigger("translate")),this.stageData.transform="translate3d("+e+"px,0px,0px)",this.stageData.transition=this.speed()/1e3+"s"+(this.settings.slideTransition?" "+this.settings.slideTransition:"")}is(e){return this._states.current[e]&&this._states.current[e]>0}current(e){return void 0===e?this._current:0!==this._items.length?(e=this.normalize(e),this._current!==e&&(this._trigger("change",{property:{name:"position",value:e}}),this._current=e,this.invalidate("position"),this._trigger("changed",{property:{name:"position",value:this._current}})),this._current):void 0}invalidate(e){return"string"==typeof e&&(this._invalidated[e]=!0,this.is("valid")&&this.leave("valid")),Object.keys(this._invalidated)}reset(e){void 0!==(e=this.normalize(e))&&(this._speed=0,this._current=e,this._suppress(["translate","translated"]),this.animate(this.coordinates(e)),this._release(["translate","translated"]))}normalize(e,i){const n=this._items.length,a=i?0:this._clones.length;return!this._isNumeric(e)||n<1?e=void 0:(e<0||e>=n+a)&&(e=((e-a/2)%n+n)%n+a/2),e}relative(e){return this.normalize(e-=this._clones.length/2,!0)}maximum(e=!1){const i=this.settings;let a,o,l,n=this._coordinates.length;if(i.loop)n=this._clones.length/2+this._items.length-1;else if(i.autoWidth||i.merge){for(a=this._items.length,o=this.slidesData[--a].width,l=this._width;a-- >0&&(o+=+this.slidesData[a].width+this.settings.margin,!(o>l)););n=a+1}else n=i.center?this._items.length-1:this._items.length-i.items;return e&&(n-=this._clones.length/2),Math.max(n,0)}minimum(e=!1){return e?0:this._clones.length/2}items(e){return void 0===e?this._items.slice():(e=this.normalize(e,!0),[this._items[e]])}mergers(e){return void 0===e?this._mergers.slice():(e=this.normalize(e,!0),this._mergers[e])}clones(e){const i=this._clones.length/2,n=i+this._items.length,a=o=>o%2==0?n+o/2:i-(o+1)/2;return void 0===e?this._clones.map((o,l)=>a(l)):this._clones.map((o,l)=>o===e?a(l):null).filter(o=>o)}speed(e){return void 0!==e&&(this._speed=e),this._speed}coordinates(e){let a,o,i=1,n=e-1;return void 0===e?(o=this._coordinates.map((l,h)=>this.coordinates(h)),o):(this.settings.center?(this.settings.rtl&&(i=-1,n=e+1),a=this._coordinates[e],a+=(this.width()-a+(this._coordinates[n]||0))/2*i):a=this._coordinates[n]||0,a=Math.ceil(a),a)}_duration(e,i,n){return 0===n?0:Math.min(Math.max(Math.abs(i-e),1),6)*Math.abs(+n||this.settings.smartSpeed)}to(e,i){let n=this.current(),a=null,o=e-this.relative(n),l=this.maximum(),h=0;const d=+(o>0)-+(o<0),_=this._items.length,m=this.minimum();this.settings.loop?(!this.settings.rewind&&Math.abs(o)>_/2&&(o+=-1*d*_),a=(((e=n+o)-m)%_+_)%_+m,a!==e&&a-o<=l&&a-o>0&&(n=a-o,e=a,h=30,this.reset(n),this.sendChanges())):this.settings.rewind?(l+=1,e=(e%l+l)%l):e=Math.max(m,Math.min(l,e)),setTimeout(()=>{this.speed(this._duration(n,e,i)),this.current(e),this.update()},h)}next(e){e=e||!1,this.to(this.relative(this.current())+1,e)}prev(e){e=e||!1,this.to(this.relative(this.current())-1,e)}onTransitionEnd(e){if(void 0!==e)return!1;this.leave("animating"),this._trigger("translated")}_viewport(){let e;return this._width?e=this._width:this.logger.log("Can not detect viewport width."),e}setItems(e){this._items=e}_defineSlidesData(){let e;this.slidesData&&this.slidesData.length&&(e=new Map,this.slidesData.forEach(i=>
1{i.load&&e.set(i.id,i.load)})),this.slidesData=this._items.map(i=>({id:`${i.id}`,isActive:!1,tplRef:i.tplRef,dataMerge:i.dataMerge,width:0,isCloned:!1,load:!!e&&e.get(i.id),hashFragment:i.dataHash}))}setCurSlideClasses(e){const i={active:e.isActive,center:e.isCentered,cloned:e.isCloned,animated:e.isAnimated,"owl-animated-in":e.isDefAnimatedIn,"owl-animated-out":e.isDefAnimatedOut};return this.settings.animateIn&&(i[this.settings.animateIn]=e.isCustomAnimatedIn),this.settings.animateOut&&(i[this.settings.animateOut]=e.isCustomAnimatedOut),i}_op(e,i,n){const a=this.settings.rtl;switch(i){case"<":return a?e>n:e<n;case">":return a?e<n:e>n;case">=":return a?e<=n:e>=n;case"<=":return a?e>=n:e<=n}}_trigger(e,i,n,a,o){switch(e){case"initialized":this._initializedCarousel$.next(e);break;case"change":this._changeSettingsCarousel$.next(i);break;case"changed":this._changedSettingsCarousel$.next(i);break;case"drag":this._dragCarousel$.next(e);break;case"dragged":this._draggedCarousel$.next(e);break;case"resize":this._resizeCarousel$.next(e);break;case"resized":this._resizedCarousel$.next(e);break;case"refresh":this._refreshCarousel$.next(e);break;case"refreshed":this._refreshedCarousel$.next(e);break;case"translate":this._translateCarousel$.next(e);break;case"translated":this._translatedCarousel$.next(e)}}enter(e){[e].concat(this._states.tags[e]||[]).forEach(i=>{void 0===this._states.current[i]&&(this._states.current[i]=0),this._states.current[i]++})}leave(e){[e].concat(this._states.tags[e]||[]).forEach(i=>{(0===this._states.current[i]||this._states.current[i])&&this._states.current[i]--})}register(e){e.type===I.State&&(this._states.tags[e.name]=this._states.tags[e.name]?this._states.tags[e.name].concat(e.tags):e.tags,this._states.tags[e.name]=this._states.tags[e.name].filter((i,n)=>this._states.tags[e.name].indexOf(i)===n))}_suppress(e){e.forEach(i=>{this._supress[i]=!0})}_release(e){e.forEach(i=>{delete this._supress[i]})}pointer(e){const i={x:null,y:null};return(e=(e=e.originalEvent||e||window.event).touches&&e.touches.length?e.touches[0]:e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:e).pageX?(i.x=e.pageX,i.y=e.pageY):(i.x=e.clientX,i.y=e.clientY),i}_isNumeric(e){return!isNaN(parseFloat(e))}_isNumberOrBoolean(e){return this._isNumeric(e)||"boolean"==typeof e}_isNumberOrString(e){return this._isNumeric(e)||"string"==typeof e}_isStringOrBoolean(e){return"string"==typeof e||"boolean"==typeof e}difference(e,i){return null===e||null===i?{x:0,y:0}:{x:e.x-i.x,y:e.y-i.y}}}return r(s,"\u0275fac",function(e){return new(e||s)(t.LFG(q))}),r(s,"\u0275prov",t.Yz7({token:s,factory:s.\u0275fac})),s})(),ee=(()=>{class s{constructor(e){r(this,"carouselService",void 0),r(this,"navSubscription",void 0),r(this,"_initialized",!1),r(this,"_pages",[]),r(this,"_navData",{disabled:!1,prev:{disabled:!1,htmlText:""},next:{disabled:!1,htmlText:""}}),r(this,"_dotsData",{disabled:!1,dots:[]}),this.carouselService=e,this.spyDataStreams()}ngOnDestroy(){this.navSubscription.unsubscribe()}spyDataStreams(){const e=this.carouselService.getInitializedState().pipe((0,b.b)(o=>{this.initialize(),this._updateNavPages(),this.draw(),this.update(),this.carouselService.sendChanges()})),i=this.carouselService.getChangedState().pipe((0,F.h)(o=>"position"===o.property.name),(0,b.b)(o=>{this.update()})),n=this.carouselService.getRefreshedState().pipe((0,b.b)(()=>{this._updateNavPages(),this.draw(),this.update(),this.carouselService.sendChanges()})),a=(0,k.T)(e,i,n);this.navSubscription=a.subscribe(()=>{})}initialize(){this._navData.disabled=!0,this._navData.prev.htmlText=this.carouselService.settings.navText[0],this._navData.next.htmlText=this.carouselService.settings.navText[1],this._dotsData.disabled=!0,this.carouselService.navData=this._navData,this.carouselService.dotsData=this._dotsData}_updateNavPages(){let e,i,n;const a=this.carouselService.clones().length/2,o=a+this.carouselService.items().length,l=this.carouselService.maximum(!0),h=[],d=this.carouselService.settings;let _=d.center||d.autoWidth||d.dotsData?1:Math.floor(Number(d.dotsEach))||Math.floor(d.items);if(_=+_,"page"!==d.slideBy&&(d.slideBy=Math.min(+d.slideBy,d.items)),d.dots||"page"===d.slideBy)for(e=a,i=0,n=0;e<o;e++){if(i>=_||0===i){if(h.push({start:Math.min(l,e-a),end:e-a+_-1}),Math.min(l,e-a)===l)break;i=0,++n}i+=this.carouselService.mergers(this.carouselService.relative(e))}this._pages=h}draw(){let e;const i=this.carouselService.settings,n=this.carouselService.items(),a=n.length<=i.items;if(this._navData.disabled=!i.nav||a,this._dotsData.disabled=!i.dots||a,i.dots)if(e=this._pages.length-this._dotsData.dots.length,i.dotsData&&0!==e)this._dotsData.dots=[],n.forEac
1h(o=>{this._dotsData.dots.push({active:!1,id:`dot-${o.id}`,innerContent:o.dotContent,showInnerContent:!0})});else if(e>0){const o=this._dotsData.dots.length>0?this._dotsData.dots.length:0;for(let l=0;l<e;l++)this._dotsData.dots.push({active:!1,id:`dot-${l+o}`,innerContent:"",showInnerContent:!1})}else e<0&&this._dotsData.dots.splice(e,Math.abs(e));this.carouselService.navData=this._navData,this.carouselService.dotsData=this._dotsData}update(){this._updateNavButtons(),this._updateDots()}_updateNavButtons(){const e=this.carouselService.settings,i=e.loop||e.rewind,n=this.carouselService.relative(this.carouselService.current());e.nav&&(this._navData.prev.disabled=!i&&n<=this.carouselService.minimum(!0),this._navData.next.disabled=!i&&n>=this.carouselService.maximum(!0)),this.carouselService.navData=this._navData}_updateDots(){let e;this.carouselService.settings.dots&&(this._dotsData.dots.forEach(i=>{!0===i.active&&(i.active=!1)}),e=this._current(),this._dotsData.dots.length&&(this._dotsData.dots[e].active=!0),this.carouselService.dotsData=this._dotsData)}_current(){const e=this.carouselService.relative(this.carouselService.current());let i;const n=this._pages.filter((a,o)=>a.start<=e&&a.end>=e).pop();return i=this._pages.findIndex(a=>a.start===n.start&&a.end===n.end),i}_getPosition(e){let i,n;const a=this.carouselService.settings;return"page"===a.slideBy?(i=this._current(),n=this._pages.length,e?++i:--i,i=this._pages[(i%n+n)%n].start):(i=this.carouselService.relative(this.carouselService.current()),n=this.carouselService.items().length,e?i+=+a.slideBy:i-=+a.slideBy),i}next(e){this.carouselService.to(this._getPosition(!0),e)}prev(e){this.carouselService.to(this._getPosition(!1),e)}to(e,i,n){let a;!n&&this._pages.length?(a=this._pages.length,this.carouselService.to(this._pages[(e%a+a)%a].start,i)):this.carouselService.to(e,i)}moveByDot(e){const i=this._dotsData.dots.findIndex(n=>e===n.id);this.to(i,this.carouselService.settings.dotsSpeed)}toSlideById(e){const i=this.carouselService.slidesData.findIndex(n=>n.id===e&&!1===n.isCloned);-1===i||i===this.carouselService.current()||this.carouselService.to(this.carouselService.relative(i),!1)}}return r(s,"\u0275fac",function(e){return new(e||s)(t.LFG(P))}),r(s,"\u0275prov",t.Yz7({token:s,factory:s.\u0275fac})),s})();const W=new t.OlP("WindowToken");class V{get nativeWindow(){throw new Error("Not implemented.")}}const Ye=[{provide:V,useClass:(()=>{class s extends V{constructor(){super()}get nativeWindow(){return window}}return r(s,"\u0275fac",function(e){return new(e||s)}),r(s,"\u0275prov",t.Yz7({token:s,factory:s.\u0275fac})),s})()},{provide:W,useFactory:function qe(s,c){return(0,D.NF)(c)?s.nativeWindow:{setTimeout:(i,n)=>{},clearTimeout:i=>{}}},deps:[V,t.Lbi]}],Y=new t.OlP("DocumentToken");class Q{get nativeDocument(){throw new Error("Not implemented.")}}const Xe=[{provide:Q,useClass:(()=>{class s extends Q{constructor(){super()}get nativeDocument(){return document}}return r(s,"\u0275fac",function(e){return new(e||s)}),r(s,"\u0275prov",t.Yz7({token:s,factory:s.\u0275fac})),s})()},{provide:Y,useFactory:function Ge(s,c){return(0,D.NF)(c)?s.nativeDocument:{hidden:!1,visibilityState:"visible"}},deps:[Q,t.Lbi]}];let te=(()=>{class s{get isAutoplayStopped(){return this._isAutoplayStopped}set isAutoplayStopped(e){this._isAutoplayStopped=e}constructor(e,i,n,a){r(this,"carouselService",void 0),r(this,"ngZone",void 0),r(this,"autoplaySubscription",void 0),r(this,"_timeout",null),r(this,"_paused",!1),r(this,"_isArtificialAutoplayTimeout",void 0),r(this,"_isAutoplayStopped",!1),r(this,"winRef",void 0),r(this,"docRef",void 0),this.carouselService=e,this.ngZone=a,this.winRef=i,this.docRef=n,this.spyDataStreams()}ngOnDestroy(){this.autoplaySubscription.unsubscribe()}spyDataStreams(){const e=this.carouselService.getInitializedState().pipe((0,b.b)(()=>{this.carouselService.settings.autoplay&&this.play()})),i=this.carouselService.getChangedState().pipe((0,b.b)(o=>{this._handleChangeObservable(o)})),n=this.carouselService.getResizedState().pipe((0,b.b)(()=>{this.carouselService.settings.autoplay&&!this._isAutoplayStopped?this.play():this.stop()})),a=(0,k.T)(e,i,n);this.autoplaySubscription=a.subscribe(()=>{})}play(e,i){this._paused&&(this._paused=!1,this._setAutoPlayInterval(this.carouselService.settings.autoplayMouseleaveTimeout)),!this.carouselService.is("rotating")&&(this.carouselService.enter("rotating"),this._setAutoPlayInterval())}
1_getNextTimeout(e,i){return this._timeout&&this.winRef.clearTimeout(this._timeout),this._isArtificialAutoplayTimeout=!!e,this.ngZone.runOutsideAngular(()=>this.winRef.setTimeout(()=>{this.ngZone.run(()=>{this._paused||this.carouselService.is("busy")||this.carouselService.is("interacting")||this.docRef.hidden||this.carouselService.next(i||this.carouselService.settings.autoplaySpeed)})},e||this.carouselService.settings.autoplayTimeout))}_setAutoPlayInterval(e){this._timeout=this._getNextTimeout(e)}stop(){this.carouselService.is("rotating")&&(this._paused=!0,this.winRef.clearTimeout(this._timeout),this.carouselService.leave("rotating"))}pause(){this.carouselService.is("rotating")&&(this._paused=!0)}_handleChangeObservable(e){"settings"===e.property.name?this.carouselService.settings.autoplay?this.play():this.stop():"position"===e.property.name&&this.carouselService.settings.autoplay&&this._setAutoPlayInterval()}_playAfterTranslated(){(0,N.of)("translated").pipe((0,Z.w)(e=>this.carouselService.getTranslatedState()),(0,E.P)(),(0,F.h)(()=>this._isArtificialAutoplayTimeout),(0,b.b)(()=>this._setAutoPlayInterval())).subscribe(()=>{})}startPausing(){this.carouselService.settings.autoplayHoverPause&&this.carouselService.is("rotating")&&this.pause()}startPlayingMouseLeave(){this.carouselService.settings.autoplayHoverPause&&this.carouselService.is("rotating")&&(this.play(),this._playAfterTranslated())}startPlayingTouchEnd(){this.carouselService.settings.autoplayHoverPause&&this.carouselService.is("rotating")&&(this.play(),this._playAfterTranslated())}}return r(s,"\u0275fac",function(e){return new(e||s)(t.LFG(P),t.LFG(W),t.LFG(Y),t.LFG(t.R0b))}),r(s,"\u0275prov",t.Yz7({token:s,factory:s.\u0275fac})),s})(),ie=(()=>{class s{constructor(e){r(this,"carouselService",void 0),r(this,"lazyLoadSubscription",void 0),this.carouselService=e,this.spyDataStreams()}ngOnDestroy(){this.lazyLoadSubscription.unsubscribe()}spyDataStreams(){const e=this.carouselService.getInitializedState().pipe((0,b.b)(()=>{const o=this.carouselService.settings&&!this.carouselService.settings.lazyLoad;this.carouselService.slidesData.forEach(l=>l.load=!!o)})),i=this.carouselService.getChangeState(),n=this.carouselService.getResizedState(),a=(0,k.T)(e,i,n).pipe((0,b.b)(o=>this._defineLazyLoadSlides(o)));this.lazyLoadSubscription=a.subscribe(()=>{})}_defineLazyLoadSlides(e){if(this.carouselService.settings&&this.carouselService.settings.lazyLoad&&(e.property&&"position"===e.property.name||"initialized"===e||"resized"===e)){const i=this.carouselService.settings,n=this.carouselService.clones().length;let a=i.center&&Math.ceil(i.items/2)||i.items,o=i.center&&-1*a||0,l=(e.property&&void 0!==e.property.value?e.property.value:this.carouselService.current())+o;for(i.lazyLoadEager>0&&(a+=i.lazyLoadEager,i.loop&&(l-=i.lazyLoadEager,a++));o++<a;)this._load(n/2+this.carouselService.relative(l)),n&&this.carouselService.clones(this.carouselService.relative(l)).forEac
1h(h=>this._load(h)),l++}}_load(e){this.carouselService.slidesData[e].load||(this.carouselService.slidesData[e].load=!0)}}return r(s,"\u0275fac",function(e){return new(e||s)(t.LFG(P))}),r(s,"\u0275prov",t.Yz7({token:s,factory:s.\u0275fac})),s})(),G=(()=>{class s{constructor(e){r(this,"carouselService",void 0),r(this,"animateSubscription",void 0),r(this,"swapping",!0),r(this,"previous",void 0),r(this,"next",void 0),this.carouselService=e,this.spyDataStreams()}ngOnDestroy(){this.animateSubscription.unsubscribe()}spyDataStreams(){const e=this.carouselService.getChangeState().pipe((0,b.b)(d=>{"position"===d.property.name&&(this.previous=this.carouselService.current(),this.next=d.property.value)})),i=this.carouselService.getDragState(),n=this.carouselService.getDraggedState(),a=this.carouselService.getTranslatedState(),o=(0,k.T)(i,n,a).pipe((0,b.b)(d=>this.swapping="translated"===d)),l=this.carouselService.getTranslateState().pipe((0,b.b)(d=>{this.swapping&&(this.carouselService._options.animateOut||this.carouselService._options.animateIn)&&this._swap()})),h=(0,k.T)(e,l,o).pipe();this.animateSubscription=h.subscribe(()=>{})}_swap(){if(1!==this.carouselService.settings.items)return;let e;this.carouselService.speed(0);const i=this.carouselService.slidesData[this.previous],n=this.carouselService.slidesData[this.next],a=this.carouselService.settings.animateIn,o=this.carouselService.settings.animateOut;this.carouselService.current()!==this.previous&&(o&&(e=+this.carouselService.coordinates(this.previous)-+this.carouselService.coordinates(this.next),this.carouselService.slidesData.forEach(l=>{l.id===i.id&&(l.left=`${e}px`,l.isAnimated=!0,l.isDefAnimatedOut=!0,l.isCustomAnimatedOut=!0)})),a&&this.carouselService.slidesData.forEach(l=>{l.id===n.id&&(l.isAnimated=!0,l.isDefAnimatedIn=!0,l.isCustomAnimatedIn=!0)}))}clear(e){this.carouselService.slidesData.forEach(i=>{i.id===e&&(i.left="",i.isAnimated=!1,i.isDefAnimatedOut=!1,i.isCustomAnimatedOut=!1,i.isDefAnimatedIn=!1,i.isCustomAnimatedIn=!1,i.classes=this.carouselService.setCurSlideClasses(i))}),this.carouselService.onTransitionEnd()}}return r(s,"\u0275fac",function(e){return new(e||s)(t.LFG(P))}),r(s,"\u0275prov",t.Yz7({token:s,factory:s.\u0275fac})),s})(),se=(()=>{class s{constructor(e){r(this,"carouselService",void 0),r(this,"autoHeightSubscription",void 0),this.carouselService=e,this.spyDataStreams()}ngOnDestroy(){this.autoHeightSubscription.unsubscribe()}spyDataStreams(){const e=this.carouselService.getInitializedState().pipe((0,b.b)(o=>{this.carouselService.settings.autoHeight?this.update():this.carouselService.slidesData.forEach(l=>l.heightState="full")})),i=this.carouselService.getChangedState().pipe((0,b.b)(o=>{this.carouselService.settings.autoHeight&&"position"===o.property.name&&this.update()})),n=this.carouselService.getRefreshedState().pipe((0,b.b)(o=>{this.carouselService.settings.autoHeight&&this.update()})),a=(0,k.T)(e,i,n);this.autoHeightSubscription=a.subscribe(()=>{})}update(){const e=this.carouselService.settings.items;let i=this.carouselService.current(),n=i+e;this.carouselService.settings.center&&(i=e%2==1?i-(e-1)/2:i-e/2,n=e%2==1?i+e:i+e+1),this.carouselService.slidesData.forEach((a,o)=>{a.heightState=o>=i&&o<n?"full":"nulled"})}}return r(s,"\u0275fac",function(e){return new(e||s)(t.LFG(P))}),r(s,"\u0275prov",t.Yz7({token:s,factory:s.\u0275fac})),s})(),ne=(()=>{class s{constructor(e,i,n){r(this,"carouselService",void 0),r(this,"route",void 0),r(this,"router",void 0),r(this,"hashSubscription",void 0),r(this,"currentHashFragment",void 0),this.carouselService=e,this.route=i,this.router=n,this.spyDataStreams(),this.route||(this.route={fragment:(0,N.of)("no route").pipe((0,H.q)(1))}),this.router||(this.router={navigate:(a,o)=>{}})}ngOnDestroy(){this.hashSubscription.unsubscribe()}spyDataStreams(){const e=this.carouselService.getInitializedState().pipe((0,b.b)(()=>this.listenToRoute())),i=this.carouselService.getChangedState().pipe((0,b.b)(a=>{if(this.carouselService.settings.URLhashListener&&"position"===a.property.name){const o=this.carouselService.current(),l=this.carouselService.slidesData[o].hashFragment;if(!l||l===this.currentHashFragment)return;this.router.navigate(["./"],{fragment:l,relativeTo:this.route})}})),n=(0,k.T)(e,i);this.hashSubscription=n.subscribe(()=>{})}rewind(e){const i=this.carouselService.slidesData.findIndex(n=>n.hashFragment===e&&!1===n.isCloned);-1===i||i===this.carouselService.current()||this.carouselService.to(this.carouselService.relative(i),!1)}listenToRoute(){this.route.fragment.pipe(K("URLHash"===this.carouselService.settings.startPosition?0:2)).subscribe(i=>{this.currentHashFragment=i,this.rewind(i)})}}
1return r(s,"\u0275fac",function(e){return new(e||s)(t.LFG(P),t.LFG(A.gz,8),t.LFG(A.F0,8))}),r(s,"\u0275prov",t.Yz7({token:s,factory:s.\u0275fac})),s})(),et=0,re=(()=>{class s{set dataMerge(e){this._dataMerge=this.isNumeric(e)?e:1}get dataMerge(){return this._dataMerge}constructor(e){r(this,"tplRef",void 0),r(this,"id","owl-slide-"+et++),r(this,"_dataMerge",1),r(this,"width",0),r(this,"dotContent",""),r(this,"dataHash",""),this.tplRef=e}isNumeric(e){return!isNaN(parseFloat(e))}}return r(s,"\u0275fac",function(e){return new(e||s)(t.Y36(t.Rgc))}),r(s,"\u0275dir",t.lG2({type:s,selectors:[["ng-template","carouselSlide",""]],inputs:{id:"id",dataMerge:"dataMerge",width:"width",dotContent:"dotContent",dataHash:"dataHash"}})),s})(),ae=(()=>{class s{get onResize$(){return this.resizeObservable$}constructor(e,i){r(this,"resizeObservable$",void 0),this.resizeObservable$=(0,D.NF)(i)?(0,pe.R)(e,"resize"):(new L.x).asObservable()}}return r(s,"\u0275fac",function(e){return new(e||s)(t.LFG(W),t.LFG(t.Lbi))}),r(s,"\u0275prov",t.Yz7({token:s,factory:s.\u0275fac})),s})(),tt=(()=>{class s{constructor(e,i,n,a,o){r(this,"zone",void 0),r(this,"el",void 0),r(this,"renderer",void 0),r(this,"carouselService",void 0),r(this,"animateService",void 0),r(this,"owlDraggable",void 0),r(this,"stageData",void 0),r(this,"slidesData",void 0),r(this,"listenerMouseMove",void 0),r(this,"listenerTouchMove",void 0),r(this,"listenerOneMouseMove",void 0),r(this,"listenerOneTouchMove",void 0),r(this,"listenerMouseUp",void 0),r(this,"listenerTouchEnd",void 0),r(this,"listenerOneClick",void 0),r(this,"listenerATag",void 0),r(this,"_drag",{time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null,active:!1,moving:!1}),r(this,"_oneDragMove$",new L.x),r(this,"_oneMoveSubsription",void 0),r(this,"preparePublicSlide",l=>{const h={...l};return delete h.tplRef,h}),r(this,"bindOneMouseTouchMove",l=>{this._oneMouseTouchMove(l)}),r(this,"bindOnDragMove",l=>{this._onDragMove(l)}),r(this,"bindOnDragEnd",l=>{this._onDragEnd(l)}),r(this,"_oneClickHandler",()=>{this.listenerOneClick=this.renderer.listen(this._drag.target,"click",()=>!1),this.listenerOneClick()}),this.zone=e,this.el=i,this.renderer=n,this.carouselService=a,this.animateService=o}onMouseDown(e){this.owlDraggable.isMouseDragable&&this._onDragStart(e)}onTouchStart(e){if(e.targetTouches.length>=2)return!1;this.owlDraggable.isTouchDragable&&this._onDragStart(e)}onTouchCancel(e){this._onDragEnd(e)}
1onDragStart(){if(this.owlDraggable.isMouseDragable)return!1}onSelectStart(){if(this.owlDraggable.isMouseDragable)return!1}ngOnInit(){this._oneMoveSubsription=this._oneDragMove$.pipe((0,E.P)()).subscribe(()=>{this._sendChanges()})}ngOnDestroy(){this._oneMoveSubsription.unsubscribe()}_onDragStart(e){let i=null;3!==e.which&&(i=this._prepareDragging(e),this._drag.time=(new Date).getTime(),this._drag.target=e.target,this._drag.stage.start=i,this._drag.stage.current=i,this._drag.pointer=this._pointer(e),this.listenerMouseUp=this.renderer.listen(document,"mouseup",this.bindOnDragEnd),this.listenerTouchEnd=this.renderer.listen(document,"touchend",this.bindOnDragEnd),this.zone.runOutsideAngular(()=>{this.listenerOneMouseMove=this.renderer.listen(document,"mousemove",this.bindOneMouseTouchMove),this.listenerOneTouchMove=this.renderer.listen(document,"touchmove",this.bindOneMouseTouchMove)}))}_oneMouseTouchMove(e){const i=this._difference(this._drag.pointer,this._pointer(e));this.listenerATag&&this.listenerATag(),!(Math.abs(i.x)<3&&Math.abs(i.y)<3&&this._is("valid"))&&(Math.abs(i.x)<3&&Math.abs(i.x)<Math.abs(i.y)&&this._is("valid")||(this.listenerOneMouseMove(),this.listenerOneTouchMove(),this._drag.moving=!0,this.blockClickAnchorInDragging(e),this.listenerMouseMove=this.renderer.listen(document,"mousemove",this.bindOnDragMove),this.listenerTouchMove=this.renderer.listen(document,"touchmove",this.bindOnDragMove),e.preventDefault(),this._enterDragging(),this._oneDragMove$.next(e)))}blockClickAnchorInDragging(e){let i=e.target;for(;i&&!(i instanceof HTMLAnchorElement);)i=i.parentElement;i instanceof HTMLAnchorElement&&(this.listenerATag=this.renderer.listen(i,"click",()=>!1))}_onDragMove(e){let i;const n=this.carouselService.defineNewCoordsDrag(e,this._drag);!1!==n&&(i=n,e.preventDefault(),this._drag.stage.current=i,this._animate(i.x-this._drag.stage.start.x))}_animate(e){this.renderer.setStyle(this.el.nativeElement.children[0],"transform",`translate3d(${e}px,0px,0px`),this.renderer.setStyle(this.el.nativeElement.children[0],"transition","0s")}_onDragEnd(e){this.carouselService.owlDOMData.isGrab=!1,this.listenerOneMouseMove(),this.listenerOneTouchMove(),this._drag.moving&&(this.renderer.setStyle(this.el.nativeElement.children[0],"transform",""),this.renderer.setStyle(this.el.nativeElement.children[0],"transition",this.carouselService.speed(+this.carouselService.settings.dragEndSpeed||this.carouselService.settings.smartSpeed)/1e3+"s"),this._finishDragging(e),this.listenerMouseMove(),this.listenerTouchMove()),this._drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null,active:!1,moving:!1},this.listenerMouseUp(),this.listenerTouchEnd()}_prepareDragging(e){return this.carouselService.prepareDragging(e)}_finishDragging(e){this.carouselService.finishDragging(e,this._drag,this._oneClickHandler)}_pointer(e){return this.carouselService.pointer(e)}_difference(e,i){return this.carouselService.difference(e,i)}_is(e){return this.carouselService.is(e)}_enter(e){this.carouselService.enter(e)}_sendChanges(){this.carouselService.sendChanges()}onTransitionEnd(){this.carouselService.onTransitionEnd()}_enterDragging(){this.carouselService.enterDragging()}clear(e){this.animateService.clear(e)}}return r(s,"\u0275fac",function(e){return new(e||s)(t.Y36(t.R0b),t.Y36(t.SBq),t.Y36(t.Qsj),t.Y36(P),t.Y36(G))}),r(s,"\u0275cmp",t.Xpm({type:s,selectors:[["owl-stage"]],hostBindings:function(e,i){1&e&&t.NdJ("mousedown",function(a){return i.onMouseDown(a)})("touchstart",function(a){return i.onTouchStart(a)})("touchcancel",function(a){return i.onTouchCancel(a)})("dragstart",function(){return i.onDragStart()})("selectstart",function(){return i.onSelectStart()})},inputs:{owlDraggable:"owlDraggable",stageData:"stageData",slidesData:"slidesData"},decls:3,vars:8,consts:[[1,"owl-stage",3,"ngStyle","transitionend"],[4,"ngFor","ngForOf"],[1,"owl-item",3,"ngClass","ngStyle","animationend"],[4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(e,i){1&e&&(t.TgZ(0,"div")(1,"div",0),t.NdJ("transitionend",function(){return i.onTransitionEnd()}),t.YNc(2,Re,3,9,"ng-container",1),t.qZA()()),2&e&&(t.xp6(1),t.Q6J("ngStyle",t.qbA(2,Fe,i.stageData.width+"px",i.stageData.transform,i.stageData.transition,i.stageData.paddingL?i.stageData.paddingL+"px":"",i.stageData.paddingR?i.stageData.paddingR+"px":"")),t.xp6(1),t.Q6J("ngForOf",i.slidesData))},dependencies:[D.mk,D.sg,D.O5,D.tP,D.PC],encapsulation:2,data:{animation:[(0,x.X$)("autoHeight",[(0,x.SB)("nulled",(0,x.oB)({height:0})),(0,x.SB)("full",(0,x.oB)({height:"*"})),(0,x.eR)("full => nulled",[(0,x.jt)("700ms 350ms")]),(0,x.eR)("nulled => full",[(0,x.jt)(350)])])]}})),s})(),oe=(()=>{class s{constructor(e,i,n,a,o,l,h,d,_,m,M,g){r(this,"el",void 0),r(this,"resizeService",void 0),r(this,"carouselService",void 0),r(this,"navigationService",void 0),r(this,"autoplayService",void 0),r(this,"lazyLoadService",void 0),r(this,"animateService",void 0),r(this,"autoHeightService",void 0),r(this,"hashService",void 0),r(this,"logger",void 0),r(this,"changeDetectorRef",void 0),r(this,"slides",void 0),r(this,"translated",new t.vpe),r(this,"dragging",new t.vpe),r(this,"change",new t.vpe),r(this,"changed",new t.vpe),r(this,"initialized",new t.vpe),r(this,"carouselWindowWidth",void 0),r(this,"resizeSubscription",void 0),r(this,"_allObservSubscription",void 0),r(this,"_slidesChangesSubscription",void 0),r(this,"owlDOMData",void 0),r(this,"stageData",void 0),r(this,"slidesData",[]),r(this,"navData",void 0),r(this,"dotsData",void 0),r(this,"slidesOutputData",void 0),r(this,"carouselLoaded",!1),r(this,"options",void 0),r(this,"prevOptions",void 0),r(this,"_viewCurSettings$",void 0),r(this,"_translatedCarousel$",void 0),r(this,"_draggingCarousel$",void 0),r(this,"_changeCarousel$",void 0),r(this,"_changedCarousel$",void 0),r(this,"_initializedCarousel$",void 0),r(this,"_carouselMerge$",void 0),r(this,"docRef",void 0),this.el=e,this.resizeService=i,this.carouselService=n,this.navigationService=a,this.autoplayService=o,this.lazyLoadService=l,this.animateService=h,this.autoHeightService=d,this.hashService=_,this.logger=m,this.changeDetectorRef=M,this.docRef=g}onVisibilityChange(e){if(this.carouselService.settings.autoplay)switch(this.docRef.visibilityState){case"visible":!this.autoplayService.isAutoplayStopped&&this.autoplayService.play();break;case"hidden":this.autoplayService.pause()}}
1ngOnInit(){this.spyDataStreams(),this.carouselWindowWidth=this.el.nativeElement.querySelector(".owl-carousel").clientWidth}ngOnChanges(){this.prevOptions!==this.options&&(this.prevOptions&&this.slides?.toArray().length?(this.carouselService.setup(this.carouselWindowWidth,this.slides.toArray(),this.options),this.carouselService.initialize(this.slides.toArray())):this.prevOptions&&!this.slides?.toArray().length?(this.carouselLoaded=!1,this.logger.log("There are no slides to show. So the carousel won't be re-rendered")):this.carouselLoaded=!1,this.prevOptions=this.options)}ngAfterContentInit(){this.slides.toArray().length?(this.carouselService.setup(this.carouselWindowWidth,this.slides.toArray(),this.options),this.carouselService.initialize(this.slides.toArray()),this._winResizeWatcher()):this.logger.log("There are no slides to show. So the carousel won't be rendered"),this._slidesChangesSubscription=this.slides.changes.pipe((0,b.b)(e=>{this.carouselService.setup(this.carouselWindowWidth,e.toArray(),this.options),this.carouselService.initialize(e.toArray()),e.toArray().length||(this.carouselLoaded=!1),e.toArray().length&&!this.resizeSubscription&&this._winResizeWatcher()})).subscribe(()=>{})}ngOnDestroy(){this.resizeSubscription&&this.resizeSubscription.unsubscribe(),this._slidesChangesSubscription&&this._slidesChangesSubscription.unsubscribe(),this._allObservSubscription&&this._allObservSubscription.unsubscribe()}spyDataStreams(){this._viewCurSettings$=this.carouselService.getViewCurSettings().pipe((0,b.b)(e=>{this.owlDOMData=e.owlDOMData,this.stageData=e.stageData,this.slidesData=e.slidesData,this.carouselLoaded||(this.carouselLoaded=!0),this.navData=e.navData,this.dotsData=e.dotsData,this.changeDetectorRef.markForCheck()})),this._initializedCarousel$=this.carouselService.getInitializedState().pipe((0,b.b)(()=>{this.gatherTranslatedData(),this.initialized.emit(this.slidesOutputData)})),this._translatedCarousel$=this.carouselService.getTranslatedState().pipe((0,b.b)(()=>{this.gatherTranslatedData(),this.translated.emit(this.slidesOutputData)})),this._changeCarousel$=this.carouselService.getChangeState().pipe((0,b.b)(()=>{this.gatherTranslatedData(),this.change.emit(this.slidesOutputData)})),this._changedCarousel$=this.carouselService.getChangeState().pipe((0,Z.w)(e=>{const i=(0,N.of)(e).pipe((0,F.h)(()=>"position"===e.property.name),(0,Z.w)(()=>(0,me.D)(this.slidesData)),K(e.property.value),(0,H.q)(this.carouselService.settings.items),(0,U.U)(n=>{const a=this.carouselService.clonedIdPrefix,o=n.id.indexOf(a)>=0?n.id.slice(a.length):n.id;return{...n,id:o,isActive:!0}}),function Se(){return(0,J.e)((s,c)=>{(function fe(s,c){return(0,J.e)((0,ve.U)(s,c,arguments.length>=2,!1,!0))})(_e,[])(s).subscribe(c)})}(),(0,U.U)(n=>({slides:n,startPosition:this.carouselService.relative(e.property.value)})));return(0,k.T)(i)}),(0,b.b)(e=>{this.gatherTranslatedData(),this.changed.emit(e.slides.length?e:this.slidesOutputData)})),this._draggingCarousel$=this.carouselService.getDragState().pipe((0,b.b)(()=>{this.gatherTranslatedData(),this.dragging.emit({dragging:!0,data:this.slidesOutputData})}),(0,Z.w)(()=>this.carouselService.getDraggedState().pipe((0,U.U)(()=>!!this.carouselService.is("animating")))),(0,Z.w)(e=>e?this.carouselService.getTranslatedState().pipe((0,E.P)()):(0,N.of)("not animating")),(0,b.b)(()=>{this.dragging.emit({dragging:!1,data:this.slidesOutputData})})),this._carouselMerge$=(0,k.T)(this._viewCurSettings$,this._translatedCarousel$,this._draggingCarousel$,this._changeCarousel$,this._changedCarousel$,this._initializedCarousel$),this._allObservSubscription=this._carouselMerge$.subscribe(()=>{})}_winResizeWatcher(){Object.keys(this.carouselService._options.responsive).length&&(this.resizeSubscription=this.resizeService.onResize$.pipe((0,F.h)(()=>this.carouselWindowWidth!==this.el.nativeElement.querySelector(".owl-carousel").clientWidth),function ke(s,c=Ce.z){const e=(0,Le.H)(s,c);return X(()=>e)}(this.carouselService.settings.responsiveRefreshRate)).subscribe(()=>{this.carouselService.onResize(this.el.nativeElement.querySelector(".owl-carousel").clientWidth),this.carouselWindowWidth=this.el.nativeElement.querySelector(".owl-carousel").clientWidth}
1))}onTransitionEnd(){this.carouselService.onTransitionEnd()}next(){this.carouselLoaded&&this.navigationService.next(this.carouselService.settings.navSpeed)}prev(){this.carouselLoaded&&this.navigationService.prev(this.carouselService.settings.navSpeed)}moveByDot(e){this.carouselLoaded&&this.navigationService.moveByDot(e)}to(e){this.carouselLoaded&&this.navigationService.toSlideById(e)}gatherTranslatedData(){let e;const i=this.carouselService.clonedIdPrefix,n=this.slidesData.filter(a=>!0===a.isActive).map(a=>({id:a.id.indexOf(i)>=0?a.id.slice(i.length):a.id,width:a.width,marginL:a.marginL,marginR:a.marginR,center:a.isCentered}));e=this.carouselService.relative(this.carouselService.current()),this.slidesOutputData={startPosition:e,slides:n}}startPausing(){this.autoplayService.startPausing()}startPlayML(){this.autoplayService.startPlayingMouseLeave()}startPlayTE(){this.autoplayService.startPlayingTouchEnd()}stopAutoplay(){this.autoplayService.isAutoplayStopped=!0,this.autoplayService.stop()}startAutoplay(){this.autoplayService.isAutoplayStopped=!1,this.autoplayService.play()}}return r(s,"\u0275fac",function(e){return new(e||s)(t.Y36(t.SBq),t.Y36(ae),t.Y36(P),t.Y36(ee),t.Y36(te),t.Y36(ie),t.Y36(G),t.Y36(se),t.Y36(ne),t.Y36(q),t.Y36(t.sBO),t.Y36(Y))}),r(s,"\u0275cmp",t.Xpm({type:s,selectors:[["owl-carousel-o"]],contentQueries:function(e,i,n){if(1&e&&t.Suo(n,re,4),2&e){let a;t.iGM(a=t.CRH())&&(i.slides=a)}},hostBindings:function(e,i){1&e&&t.NdJ("visibilitychange",function(a){return i.onVisibilityChange(a)},!1,t.evT)},inputs:{options:"options"},outputs:{translated:"translated",dragging:"dragging",change:"change",changed:"changed",initialized:"initialized"},features:[t._Bn([ee,te,P,ie,G,se,ne]),t.TTD],decls:4,vars:9,consts:[[1,"owl-carousel","owl-theme",3,"ngClass","mouseover","mouseleave","touchstart","touchend"],["owlCarousel",""],["class","owl-stage-outer",4,"ngIf"],[4,"ngIf"],[1,"owl-stage-outer"],[3,"owlDraggable","stageData","slidesData"],[1,"owl-nav",3,"ngClass"],[1,"owl-prev",3,"ngClass","innerHTML","click"],[1,"owl-next",3,"ngClass","innerHTML","click"],[1,"owl-dots",3,"ngClass"],["class","owl-dot",3,"ngClass","click",4,"ngFor","ngForOf"],[1,"owl-dot",3,"ngClass","click"],[3,"innerHTML"]],template:function(e,i){1&e&&(t.TgZ(0,"div",0,1),t.NdJ("mouseover",function(){return i.startPausing()})("mouseleave",function(){return i.startPlayML()})("touchstart",function(){return i.startPausing()})("touchend",function(){return i.startPlayTE()}),t.YNc(2,Ne,2,6,"div",2),t.YNc(3,ze,6,15,"ng-container",3),t.qZA()),2&e&&(t.Q6J("ngClass",t.qbA(3,Be,null==i.owlDOMData?null:i.owlDOMData.rtl,null==i.owlDOMData?null:i.owlDOMData.isLoaded,null==i.owlDOMData?null:i.owlDOMData.isResponsive,null==i.owlDOMData?null:i.owlDOMData.isMouseDragable,null==i.owlDOMData?null:i.owlDOMData.isGrab)),t.xp6(2),t.Q6J("ngIf",i.carouselLoaded),t.xp6(1),t.Q6J("ngIf",i.slides.toArray().length))},dependencies:[D.mk,D.sg,D.O5,tt],styles:[".owl-theme[_ngcontent-%COMP%]{display:block}"],changeDetection:0})),s})(),it=(()=>{class s{}return r(s,"\u0275fac",function(e){return new(e||s)}),r(s,"\u0275mod",t.oAB({type:s})),r(s,"\u0275inj",t.cJS({providers:[Ye,ae,Xe,q],imports:[D.ez]})),s})();var z=f(2340),st=f(5120);function nt(s,c){1&s&&(t.TgZ(0,"div",37),t._uU(1,"OD"),t.qZA())}function rt(s,c){1&s&&(t.TgZ(0,"div",38),t._uU(1,"MD"),t.qZA())}function at(s,c){if(1&s&&(t.TgZ(0,"div"),t._uU(1),t.qZA()),2&s){const e=t.oxw(2).$implicit;t.Gre("matchType ",e.MatchTypeName,""),t.xp6(1),t.Oqu(e.MatchTypeName)}}function ot(s,c){1&s&&(t.TgZ(0,"div",39),t._uU(1,"live "),t._UZ(2,"i"),t.qZA())}function lt(s,c){if(1&s&&t._UZ(0,"img",40),2&s){const e=t.oxw(2).$implicit;t.s9C("src",e.HomeTeamLogo,t.LSH)}}function ct(s,c){if(1&s&&(t.TgZ(0,"div"),t._uU(1),t.qZA()),2&s){const e=t.oxw(2).$implicit,i=t.oxw();t.Gre("match-coutnry-code ",i.teamIcon(e.homelogocode),""),t.xp6(1),t.Oqu(e.homelogocode)}}function ht(s,c){if(1&s&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&s){const e=t.oxw(3).$implicit;t.xp6(1),t.hij("(",e["1FallOvers"],")")}}function dt(s,c){if(1&s&&(t.TgZ(0,"div",41),t._uU(1),t.YNc(2,ht,2,1,"span",42),t.qZA()),2&s){const e=t.oxw(2).$implicit;t.xp6(1),t.AsE("",e["1FallScore"],"/",e["1FallWickets"]," "),t.xp6(1),t.Q6J("ngIf","Test"!=e.MatchTypeName)}}function ut(s,c){if(1&s&&(t.TgZ(0,"div",41),t._uU(1),t.qZA()),2&s){const e=t.oxw(2).$implicit;t.xp6(1),t.AsE("\xa0& ",e["3FallScore"],"/",e["3FallWickets"],"")}}
1function gt(s,c){if(1&s&&t._UZ(0,"img",40),2&s){const e=t.oxw(2).$implicit;t.s9C("src",e.AwayTeamLogo,t.LSH)}}function pt(s,c){if(1&s&&(t.TgZ(0,"div"),t._uU(1),t.qZA()),2&s){const e=t.oxw(2).$implicit,i=t.oxw();t.Gre("match-coutnry-code ",i.teamIcon(e.awaylogocode),""),t.xp6(1),t.hij(" ",e.awaylogocode,"")}}function mt(s,c){if(1&s&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&s){const e=t.oxw(3).$implicit;t.xp6(1),t.hij("(",e["2FallOvers"],")")}}function vt(s,c){if(1&s&&(t.TgZ(0,"div",41),t._uU(1),t.YNc(2,mt,2,1,"span",42),t.qZA()),2&s){const e=t.oxw(2).$implicit;t.xp6(1),t.AsE("",e["2FallScore"],"/",e["2FallWickets"]," "),t.xp6(1),t.Q6J("ngIf","Test"!=e.MatchTypeName)}}function ft(s,c){if(1&s&&(t.TgZ(0,"div",41),t._uU(1),t.qZA()),2&s){const e=t.oxw(2).$implicit;t.xp6(1),t.AsE("\xa0& ",e["4FallScore"],"/",e["4FallWickets"],"")}}function _t(s,c){if(1&s&&(t.TgZ(0,"div",43),t._uU(1),t.qZA()),2&s){const e=t.oxw(2).$implicit;t.xp6(1),t.Oqu(e.TossDetails)}}function St(s,c){if(1&s&&(t.TgZ(0,"div",43),t._uU(1),t.qZA()),2&s){const e=t.oxw(2).$implicit;t.xp6(1),t.Oqu(e.Comments)}}function Ct(s,c){if(1&s&&(t.TgZ(0,"div",43),t._uU(1),t.qZA()),2&s){const e=t.oxw(2).$implicit;t.xp6(1),t.Oqu(e.MatchBreakComments)}}function wt(s,c){if(1&s&&(t.TgZ(0,"a",44)(1,"i"),t._uU(2,"Match Centre"),t.qZA()()),2&s){const e=t.oxw(2).$implicit;t.hYB("href","/match/",e.CompetitionID,"/",e.MatchID,"",t.LSH)}}function Mt(s,c){if(1&s&&(t.TgZ(0,"a",44)(1,"i"),t._uU(2,"Match Centre"),t.qZA()()),2&s){const e=t.oxw(2).$implicit;t.hYB("href","/match/",e.CompetitionID,"/",e.MatchID,"",t.LSH)}}function yt(s,c){1&s&&(t.TgZ(0,"a",45),t._UZ(1,"i"),t.qZA())}function Dt(s,c){if(1&s&&(t.TgZ(0,"a",46),t._uU(1,"Watch Live "),t.O4$(),t.TgZ(2,"svg",47),t._UZ(3,"path",48)(4,"circle",49),t.qZA()()),2&s){const e=t.oxw(2).$implicit;t.s9C("href",e.LiveStream,t.LSH)}}function bt(s,c){if(1&s&&(t.TgZ(0,"div",12)(1,"div",13)(2,"div",14),t._uU(3),t.qZA(),t.TgZ(4,"div",15),t._uU(5),t.qZA(),t.TgZ(6,"div",16),t._uU(7),t.qZA(),t.TgZ(8,"div",17)(9,"div",18)(10,"div",19),t._uU(11),t.qZA(),t.YNc(12,nt,2,0,"div",20),t.YNc(13,rt,2,0,"div",21),t.YNc(14,at,2,4,"div",22),t.qZA(),t.TgZ(15,"div",23),t.YNc(16,ot,3,0,"div",24),t.TgZ(17,"div",19),t._uU(18),t.qZA()(),t.TgZ(19,"div",25),t._uU(20),t.TgZ(21,"span"),t._uU(22),t.qZA(),t.TgZ(23,"span"),t._uU(24),t.qZA()()(),t.TgZ(25,"div",26)(26,"div",27)(27,"div",28),t.YNc(28,lt,1,1,"img",29),t.YNc(29,ct,2,4,"div",22),t.qZA(),t.TgZ(30,"div",30),t._uU(31),t.qZA(),t.YNc(32,dt,3,3,"div",31),t.YNc(33,ut,2,2,"div",31),t.qZA(),t.TgZ(34,"div",27)(35,"div",28),t.YNc(36,gt,1,1,"img",29),t.YNc(37,pt,2,4,"div",22),t.qZA(),t.TgZ(38,"div",30),t._uU(39),t.qZA(),t.YNc(40,vt,3,3,"div",31),t.YNc(41,ft,2,2,"div",31),t.qZA(),t.YNc(42,_t,2,1,"div",32),t.YNc(43,St,2,1,"div",32),t.YNc(44,Ct,2,1,"div",32),t.qZA(),t.TgZ(45,"div",33),t.YNc(46,wt,3,2,"a",34),t.YNc(47,Mt,3,2,"a",34),t.YNc(48,yt,2,0,"a",35),t.YNc(49,Dt,5,1,"a",36),t.qZA()()()),2&s){const e=t.oxw().$implicit,i=t.oxw();t.xp6(3),t.Oqu(e.MatchID),t.xp6(2),t.Oqu(e.CompetitionID),t.xp6(2),t.Oqu(e.TeamType),t.xp6(4),t.Oqu(i.getCompetitionName(e.CompetitionID)),t.xp6(1),t.Q6J("ngIf","ODI"==e.MatchTypeName),t.xp6(1),t.Q6J("ngIf","Test"==e.MatchTypeName),t.xp6(1),t.Q6J("ngIf","Test"!=e.MatchTypeName&&"ODI"!=e.MatchTypeName),t.xp6(2),t.Q6J("ngIf","Live"==e.MatchStatus),t.xp6(2),t.AsE("",e.GroundName,",",e.city,""),t.xp6(2),t.hij("",e.MatchOrder," "),t.xp6(2),t.Oqu(e.MatchDateNew),t.xp6(2),t.hij("",e.curMatchTime," IST"),t.xp6(4),t.Q6J("ngIf",""!=e.HomeTeamLogo&&null!=e.HomeTeamLogo&&null!=e.HomeTeamLogo),t.xp6(1),t.Q6J("ngIf",""==e.HomeTeamLogo),t.xp6(2),t.Oqu(e.FirstBattingTeamCode),t.xp6(1),t.Q6J("ngIf",null!=e["1FallScore"]&&""!=e["1FallScore"]),t.xp6(1),t.Q6J("ngIf",e.CurrentInnings>="3"||null!=e["3FallScore"]&&""!=e["3FallScore"]),t.xp6(3),t.Q6J("ngIf",""!=e.AwayTeamLogo&&null!=e.AwayTeamLogo&&null!=e.AwayTeamLogo),t.xp6(1),t.Q6J("ngIf",""==e.AwayTeamLogo),t.xp6(2),t.Oqu(e.SecondBattingTeamCode),t.xp6(1),t.Q6J("ngIf",null!=e["2FallScore"]&&""!=e["2FallScore"]),t.xp6(1),t.Q6J("ngIf",e.CurrentInnings>="3"&&null!=e["4FallScore"]&&""!=e["4FallScore"]),t.xp6(1),t.Q6J("ngIf",""==e.MatchBreakComments&&""==e.Comments),t.xp6(1),t.Q6J("ngIf",null!=e.Comments&&""!=e.Comments&&""==e.MatchBreakComments),t.xp6(1),t.Q6J("ngIf",null!=e.MatchBreakComments&&""!=e.MatchBreakComments),t.xp6(2),t.Q6J("ngIf",null!=e.FirstBattingSummary&&""!=e.FirstBattingSummary),t.xp6(1),t.Q6J("ngIf","UpComing"==e.MatchStatus),t.xp6(1),t.Q6J("ngIf",(null==e.FirstBattingSummary||""==e.FirstBattingSummary)&&"UpComing"!=e.MatchStatus),t.xp6(1),t.Q6J("ngIf",null!=e.LiveStream&&""!=e.LiveStream&&("Live"==e.MatchStatus||"Post"==e.MatchStatus))}}function xt(s,c){1&s&&(t.ynx(0),t.YNc(1,bt,50,30,"ng-template",11),t.BQk())}const le=function(s){return{activenav:s}},Tt=[{path:"",component:(()=>{class s{constructor(e){this.dataservice=e,this.curretSeasonCompFilterList=[],this.totalSeasonComp=[],this.currentTournList=[],this.totalMatchLength=0,this.currentMatchListFixtureLive=[],this.currFixtureList=[],this.currLiveList=[],this.liveCompList=[],this.refreshLiveMatchData=[],this.currentMatchListResult=[],this.liveResMatches=[],this.matchTabs="fixture",this.matchsheduleLimit=20,this.matchesListLimit=0,this.tournCount=0,this.basepath=z.N.basepath,this.customOptions={loop:!0,autoplay:!1,autoplaySpeed:1500,autoplayHoverPause:!0,mou
1seDrag:!1,touchDrag:!0,pullDrag:!0,dots:!1,navSpeed:700,navText:[""],nav:!1,responsive:{0:{items:1},640:{items:2},1024:{items:4}}}}ngOnInit(){this.dataservice.getCompetitiondata("").subscribe(e=>{e=(e=e.replace("oncomptetion(","")).replace(");",""),e=JSON.parse(e),this.totalSeasonComp=e.competition,this.curretSeasonCompFilterList=this.totalSeasonComp,this.curretSeasonCompFilterList=this.totalSeasonComp.filter(y=>1==y.fixtures||1==y.live);for(var i=0;i<this.curretSeasonCompFilterList.length;i++){var a=new Date(this.curretSeasonCompFilterList[i].MatchStartDate).getTime(),l=new Date(this.curretSeasonCompFilterList[i].MatchEndDate+" 23:00:00").getTime(),h=(new Date).getTime(),d=this.curretSeasonCompFilterList[i].MatchStartDate;if(null!=d&&(d=(d=d.split(" ")).slice(1).join(" ")),h>=a&&h<=l){var m=new Date,M=["January","February","March","April","May","June","July","August","September","October","November","December"][m.getMonth()]+" "+m.getFullYear();this.curretSeasonCompFilterList[i].MatchDateNew=M}else{var g=this.curretSeasonCompFilterList[i].MatchEndDate;null!=g&&(g=(g=g.split(" ")).slice(1).join(" "),this.curretSeasonCompFilterList[i].MatchDateNew=g)}}this.curretSeasonCompFilterList.sort((y,C)=>new Date(y.MatchDateNew).getTime()-new Date(C.MatchDateNew).getTime());var S=null!=this.curretSeasonCompFilterList[this.tournCount]?this.curretSeasonCompFilterList[this.tournCount].CompetitionID:"";""!=S?this.getFixturliveMatchsheduleData(S,null!=this.curretSeasonCompFilterList[this.tournCount]?this.curretSeasonCompFilterList[this.tournCount].MatchDateNew:"",""):this.getPostCompetitionList()})}getCompetitionName(e){var i;return this.totalSeasonComp.forEach(n=>{n.CompetitionID==e&&(i=n.CompetitionName)}),i}ChangeMatchTimeFormat(e){for(var i=0;i<e.length;i++)if(null!=e[i].MatchTime&&null!=e[i].MatchTime&&""!=e[i].MatchTime){var n=e[i].MatchTime.replace(":",".");let o,a=n>=12?"pm":"am";n>=13?(o=n-12,o=o.toFixed(2),o=o.replace(".",":")):o=e[i].MatchTime,e[i].curMatchTime=o+" "+a}return e}intervalRefresh(){this.interval=setInterval(()=>{let e=[];this.currLiveList.forEach(i=>{e.push(i.CompetitionID)}),this.liveCompList=[...new Set(e)],this.liveCompCount=0,this.liveCompList.length>0?this.refreshForLiveMatch(this.liveCompList[this.liveCompCount]):clearInterval(this.interval)},15e3)}refreshForLiveMatch(e){this.dataservice.getMatchshedule(e,1).subscribe(i=>{var a;i=(i=i.replace("MatchSchedule(","")).replace(");",""),a=(null!=(i=JSON.parse(i)).Matchsummary?i.Matchsummary:[]).filter(h=>"Live"==h.MatchStatus);for(var o=0;o<a.length;o++)this.refreshLiveMatchData.push(a[o]);if(this.liveCompCount=this.liveCompCount+1,this.liveCompCount<this.liveCompList.length)this.refreshForLiveMatch(this.liveCompList[this.liveCompCount]);else for(o=0;o<this.refreshLiveMatchData.length;o++)for(var l=0;l<this.liveResMatches.length;l++)this.liveResMatches[l].MatchID==this.refreshLiveMatchData[o].MatchID&&(this.liveResMatches[l]["1FallScore"]=this.refreshLiveMatchData[o]["1FallScore"],this.liveResMatches[l]["1FallWickets"]=this.refreshLiveMatchData[o]["1FallWickets"],this.liveResMatches[l]["1FallOvers"]=this.refreshLiveMatchData[o]["1FallOvers"],this.liveResMatches[l]["1RunRate"]=this.refreshLiveMatchData[o]["1RunRate"],this.liveResMatches[l]["2FallScore"]=this.refreshLiveMatchData[o]["2FallScore"],this.liveResMatches[l]["2FallWickets"]=this.refreshLiveMatchData[o]["2FallWickets"],this.liveResMatches[l]["2RunRate"]=this.refreshLiveMatchData[o]["2RunRate"],this.liveResMatches[l]["2FallOvers"]=this.refreshLiveMatchData[o]["2FallOvers"],this.liveResMatches[l]["3FallScore"]=this.refreshLiveMatchData[o]["3FallScore"],this.liveResMatches[l]["3FallWickets"]=this.refreshLiveMatchData[o]["3FallWickets"],this.liveResMatches[l]["3RunRate"]=this.refreshLiveMatchData[o]["3RunRate"],this.liveResMatches[l]["3FallOvers"]=this.refreshLiveMatchData[o]["3FallOvers"],this.liveResMatches[l]["4FallScore"]=this.refreshLiveMatchData[o]["4FallScore"],this.liveResMatches[l]["4FallWickets"]=this.refreshLiveMatchData[o]["4FallWickets"],this.liveResMatches[l]["4FallOvers"]=this.refreshLiveMatchData[o]["4FallOvers"],this.liveResMatches[l]["4RunRate"]=this.refreshLiveMatchData[o]["4RunRate"],this.liveResMatches[l].BreakComments=this.refreshLiveMatchData[o].BreakComments,this.liveResMatches[l].MatchBreakComments=this.refreshLiveMatchData[o].MatchBreakComments,this.liveResMatches[l].Comments=this.refreshLiveMatchData[o].Comments,this.liveResMatches[l].MatchStatus=this.refreshLiveMatchData[o].MatchStatus,this.liveResMatches[l].Comments=this.refreshLiveMatchData[o].Comments)})}getPostCompetitionList(){this.matchTabs="result",this.tournCount=0,this.curretSeasonCompFilterList=this.totalSeasonComp.filter(C=>1==C.completed&&1!=C.fixtures&&1!=C.live);for(var e=0;e<this.curretSeasonCompFilterList.length;e++){var n=new Date(this.curretSeasonCompFilterList[e].MatchStartDate).getTime(),o=new Date(this.curretSeasonCompFilterList[e].MatchEndDate+" 23:00:00").getTime(),l=(new Date).getTime(),h=this.curretSeasonCompFilterList[e].MatchStartDate;if(null!=h&&(h=(h=h.split(" ")).slice(1).join(" ")),l>=n&&l<=o){var _=new Date,m=["January","February","March","April","May","June","July","August","September","October","November","December"][_.getMonth()]+" "+_.getFullYear();this.curretSeasonCompFilterList[e].MatchDateNew=m}else{var M=this.curretSeasonCompFilterList[e].MatchEndDate;null!=M&&(M=(M=M.split(" ")).slice(1).join(" "),this.curretSeasonCompFilterList[e].MatchDateNew=M)}}this.curretSeasonCompFilterList.sort((C,v)=>
1new Date(v.MatchDateNew).getTime()-new Date(C.MatchDateNew).getTime());var g=null!=this.curretSeasonCompFilterList[this.tournCount]?this.curretSeasonCompFilterList[this.tournCount].CompetitionID:"";if(""!=g)this.getPostMatchsheduleData(g,null!=this.curretSeasonCompFilterList[this.tournCount]?this.curretSeasonCompFilterList[this.tournCount].MatchDateNew:"","");else{let C=[];for(e=0;e<this.matchsheduleLimit;e++)this.currentMatchListResult.length>0&&C.push(this.currentMatchListResult[e]);var p=[];for(this.currLiveList.length>0&&p.push(this.currLiveList),p.push(this.currFixtureList),p.push(C),e=0;e<p.length;e++)for(var y=0;y<p[e].length;y++)this.liveResMatches.push(p[e][y]);for(e=0;e<this.liveResMatches.length;e++){let u=this.liveResMatches[e].FirstBattingTeamName.replace(/(.[0-9\(\)\-]+|INN)/g,"").split(" "),w=u[0],T=u[1];null!=w&&null!=T&&""!=w&&""!=T?(w=w.split("",1),T=T.split("",1),u=w+T):null!=w&&""!=w?(w=w.split("",2).join(""),u=w):null!=T&&""!=T&&(T=T.split("",2).join(""),u=T),this.liveResMatches[e].homelogocode=u.toUpperCase(),u=this.liveResMatches[e].SecondBattingTeamName.replace(/(.[0-9\(\)\-]+|INN)/g,"").split(" "),w=u[0],T=u[1],null!=w&&null!=T?(w=w.split("",1),T=T.split("",1),u=w+T):null!=w?(w=w.split("",2).join(""),u=w):null!=T&&(T=T.split("",2).join(""),u=T),this.liveResMatches[e].awaylogocode=u.toUpperCase()}this.liveResMatches=this.ChangeMatchTimeFormat(this.liveResMatches),this.showNavbutn=1}}getFixturliveMatchsheduleData(e,i,n){this.dataservice.getMatchshedule(e,"1").subscribe(a=>{a=(a=a.replace("MatchSchedule(","")).replace(");","");var h,o=[];if("Error"!=(a=JSON.parse(a)).Matchsummary[0].Status)var l=[];l=o=null!=a.Matchsummary?a.Matchsummary:[],h=o.filter(p=>"Post"==p.MatchStatus);for(var d=0;d<h.length;d++)0!=h[d].Status&&"Error"!=h[d].Status&&this.currentMatchListResult.push(h[d]);for(l=o.filter(p=>"Live"==p.MatchStatus||"UpComing"==p.MatchStatus),this.totalMatchLength=this.totalMatchLength+l.length,d=0;d<l.length;d++)0!=l[d].Status&&"Error"!=l[d].Status&&this.currentMatchListFixtureLive.push(l[d]);this.currentMatchListFixtureLive.sort((p,y)=>new Date(p.MatchDate).getTime()-new Date(y.MatchDate).getTime());var _=this.tournCount+1;if(this.totalMatchLength<10||(null!=this.curretSeasonCompFilterList[_]?this.curretSeasonCompFilterList[_].MatchDateNew:"")==i)if(this.tournCount=this.tournCount+1,this.tournCount<this.curretSeasonCompFilterList.length)this.getFixturliveMatchsheduleData(this.curretSeasonCompFilterList[this.tournCount].CompetitionID,this.curretSeasonCompFilterList[this.tournCount].MatchDateNew,n);else{var S=[];S=this.currentMatchListFixtureLive.filter(y=>"Live"==y.MatchStatus),this.currLiveList=S;let p=20-S.length;if(p>=10){let y=0;y=p/2,y=Math.round(y);let C=[];if(C=this.currentMatchListFixtureLive.filter(v=>"UpComing"==v.MatchStatus),C.length<y){let v=0;v=y-C.length,this.matchsheduleLimit=v+y,this.currFixtureList=C,this.getPostCompetitionList()}else{for(d=0;d<y;d++)this.currFixtureList.push(C[d]);this.matchsheduleLimit=y,this.getPostCompetitionList()}}else this.matchsheduleLimit=p,this.getPostCompetitionList()}else if(S=[],S=this.currentMatchListFixtureLive.filter(y=>"Live"==y.MatchStatus),this.currLiveList=S,S.length>=20)this.liveResMatches=S,this.showNavbutn=1;else{let y=20-S.length;if(y>=10){let C=0;C=y/2,C=Math.round(C);let v=[];if(v=this.currentMatchListFixtureLive.filter(u=>"UpComing"==u.MatchStatus),v.length<C){let u=0;u=C-v.length,this.matchsheduleLimit=u+C,this.currFixtureList=v,this.getPostCompetitionList()}else{for(d=0;d<C;d++)this.currFixtureList.push(v[d]);this.matchsheduleLimit=C,this.getPostCompetitionList()}}else this.matchsheduleLimit=y,this.getPostCompetitionList()}},a=>{if(this.tournCount=this.tournCount+1,this.tournCount<this.curretSeasonCompFilterList.length)this.getFixturliveMatchsheduleData(this.curretSeasonCompFilterList[this.tournCount].CompetitionID,this.curretSeasonCompFilterList[this.tournCount].CompetitionID,n);else{var h;h=this.currentMatchListFixtureLive.filter(m=>"Live"==m.MatchStatus),this.currLiveList=h;let _=20-h.length;if(_>=10){let m=0;m=_/2,m=Math.round(m);let M=[];if(M=this.currentMatchListFixtureLive.filter(g=>"UpComing"==g.MatchStatus),M.map(function(g){null==g.FixtureID&&(g.FixtureID=g.MatchID),null==g.MatchDateNew&&(g.MatchDateNew=g.MatchDate)}),M.length<m){let g=0;g=m-M.length,this.matchsheduleLimit=g+m,this.currFixtureList=M,this.getPostCompetitionList()}else{for(var d=0;d<m;d++)this.currFixtureList.push(M[d]);this.matchsheduleLimit=m,this.getPostCompetitionList()}}else this.matchsheduleLimit=_,this.getPostCompetitionList()}})}getPostMatchsheduleData(e,i,n){this.dataservice.getMatchshedule(e,"1").subscribe(a=>{a=(a=a.replace("MatchSchedule(","")).replace(");","");var o=[];if("Error"!=(a=JSON.parse(a)).Matchsummary[0].Status)var l=[];l=o=null!=a.Matchsummary?a.Matchsummary:[],l=o.filter(p=>"Post"==p.MatchStatus),this.totalMatchLength=this.totalMatchLength+l.length;for(var h=0;h<l.length;h++)0!=l[h].Status&&"Error"!=l[h].Status&&this.currentMatchListResult.push(l[h]);this.currentMatchListResult.sort((p,y)=>new Date(y.MatchDate).getTime()-new Date(p.MatchDate).getTime());var d=this.tournCount+1;if(this.totalMatchLength<this.matchsheduleLimit||(null!=this.curretSeasonCompFilterList[d]?this.curretSeasonCompFilterList[d].MatchDateNew:"")==i)if(this.tournCount=this.tournCount+1,this.tournCount<this.curretSeasonCompFilterList.length)this.getPostMatchsheduleData(this.curretSeasonCompFilterList[this.tournCount].CompetitionID,this.curretSeasonCompFilterList[this.tournCount].MatchDateNew,n);else{let p=[];for(h=0;h<this.matchsheduleLimit;h++)p.push(this.currentMatchListResult[h]);var g=[];for(this.currLiveList.length>0&&g.push(this.currLiveList),g.push(this.currFixtureList),g.push(p),h=0;h<g.length;h++)for(var S=0;S<g[h].length;S++)this.liveResMatches.push(g[h][S]);for(h=0;h<this.liveResMatches.length;h++){let C=this.liveResMatches[h].FirstBattingTeamName.replace(/(.[0-9\(\)\-]+|INN)/g,"").split(" "),v=C[0],u=C[1];null!=v&&null!=u&&""!=v&&""!=u?(v=v.split("",1),u=u.split("",1),C=v+u):null!=v&&""!=v?(v=v.split("",2).join(""),C=v):null!=u&&""!=u&&(u=u.split("",2).join(""),C=u),this.liveResMatches[h].homelogocode=C.toUpperCase(),C=this.liveResMatches[h].SecondBattingTeamName.replace(/(.[0-9\(\)\-]+|INN)/g,"").split(" "),v=C[0],u=C[1],null!=v&&null!=u?(v=v.split("",1),u=u.split("",1),C=v+u):null!=v?(v=v.split("",2).join(""),C=v):null!=u&&(u=u.split("",2).join(""),C=u),this.liveResMatches[h].awaylogocode=C.toUpperCase()}this.liveResMatches=this.ChangeMatchTimeFormat(this.liveResMatches),this.showNavbutn=1,this.intervalRefresh()}else{let p=[];for(h=0;h<this.matchsheduleLimit;h++)p.push(this.currentMatchListResult[h]);for(g=[],this.currLiveList.length>0&&g.push(this.currLiveList),g.push(this.currFixtureList),g.push(p),h=0;h<g.length;h++)for(S=0;S<g[h].length;S++)this.liveResMatches.push(g[h][S]);for(h=0;h<this.liveResMatches.length;h++){let v=this.liveResMatches[h].FirstBattingTeamName.replace(/(.[0-9\(\)\-]+|INN)/g,"").split(" "),u=v[0],w=v[1];null!=u&&null!=w&&""!=u&&""!=w?(u=u.split("",1),w=w.split("",1),v=u+w):null!=u&&""!=u?(u=u.split("",2).join(""),v=u):null!=w&&""!=w&&(w=w.split("",2).join(""),v=w),this.liveResMatches[h].homelogocode=v.toUpperCase(),v=this.liveResMatches[h].SecondBattingTeamName.replace(/(.[0-9\(\)\-]+|INN)/g,"").split(" "),u=v[0],w=v[1],null!=u&&null!=w?(u=u.split("",1),w=w.split("",1),v=u+w):null!=u?(u=u.split("",2).join(""),v=u):null!=w&&(w=w.split("",2).join(""),v=w),this.liveResMatches[h].awaylogocode=v.toUpperCase()}this.liveResMatches=this.ChangeMatchTimeFormat(this.liveResMatches),this.showNavbutn=1,this.intervalRefresh()}},a=>{if(this.tournCount=this.tournCount+1,this.tournCount<this.curretSeasonCompFilterList.length)this.getPostMatchsheduleData(this.curretSeasonCompFilterList[this.tournCount].CompetitionID,this.curretSeasonCompFilterList[this.tournCount].MatchDateNew,n);else{let m=[];for(d=0;d<this.matchsheduleLimit;d++)m.push(this.currentMatchListResult[d]);var h=[];this.currLiveList.length>0&&h.push(this.currLiveList),h.push(this.currFixtureList),h.push(m);for(var d=0;d<h.length;d++)for(var _=0;_<h[d].length;_++)this.liveResMatches.push(h[d][_]);for(d=0;d<this.liveResMatches.length;d++){let g=this.liveResMatches[d].FirstBattingTeamName.replace(/(.[0-9\(\)\-]+|INN)/g,"").split(" "),S=g[0],p=g[1];null!=S&&null!=p&&""!=S&&""!=p?(S=S.split("",1),p=p.split("",1),g=S+p):null!=S&&""!=S?(S=S.split("",2).join(""),g=S):null!=p&&""!=p&&(p=p.split("",2).join(""),g=p),this.liveResMatches[d].homelogocode=g.toUpperCase(),g=this.liveResMatches[d].SecondBattingTeamName.replace(/(.[0-9\(\)\-]+|INN)/g,"").split(" "),S=g[0],p=g[1],null!=S&&null!=p?(S=S.split("",1),p=p.split("",1),g=S+p):null!=S?(S=S.split("",2).join(""),g=S):null!=p&&(p=p.split("",2).join(""),g=p),this.liveResMatches[d].awaylogocode=g.toUpperCase()}this.liveResMatches=this.ChangeMatchTimeFormat(this.liveResMatches),this.showNavbutn=1,this.intervalRefresh()}})}onImageError(e){e.HomeTeamLogo=this.basepath+"images/default-team-logo.png"}teamIcon(e){if(null!=e&&""!=e)return e.split("",1)+"_bgclr"}prevSlide(){this.carousel.prev()}nextSlide(){this.carousel.next()}}return s.\u0275fac=function(e){return new(e||s)(t.Y36(st.i))},s.\u0275cmp=t.Xpm({type:s,selectors:[["app-hpto"]],viewQuery:function(e,i){if(1&e&&t.Gf(oe,5),2&e){let n;t.iGM(n=t.CRH())&&(i.carousel=n.first)}},decls:12,vars:8,consts:[[1,"SMwrapper","smRow"],[1,"col","s12","m12","l12"],[1,"match-card-section"],[1,"mt-cd_container","mt-cd_inNa"],[1,"mt-cd_wrap"],["aria-label","Previous","type","button",1,"slick-prev",3,"ngClass","click"],[3,"options"],[4,"ngFor","ngForOf"],["aria-label","Next","type","button",1,"slick-next",3,"ngClass","click"],["target","blank","href","/live",1,"allLiveMatchesLink"],[1,"allLiveMatchesLinkText"],["carouselSlide",""],[1,"mt-cd_box"],[1,"mt-cd_box-inner"],["id","getR1Matchid",2,"display","none"],["id","getR1Compid",2,"display","none"],["id","getR1teamType",2,"display","none"],[1,"mt-cd-bx_head"],[1,"mt-cd-bx_child"],[1,"mt-cd_gd"],["class","matchType OD",4,"ngIf"],["class","matchType MD",4,"ngIf"],[3,"class",4,"ngIf"],[1,"sub-head"],["class","livetag",4,"ngIf"],[1,"mt-cd_ty"],[1,"mt-cd-bx_content"],[1,"mt-cd-sr_box"],[1,"t-lo"],["alt","",3,"src",4,"ngIf"],[1,"t-na"],["class","t-sr",4,"ngIf"],["class","t-comd",4,"ngIf"],[1,"match_linkbtn"],["class","matchCardLink",3,"href",4,"ngIf"],["class","matchCardLink emptyLink",4,"ngIf"],["class","match-center-btn watch-live-btn","target","_blank",3,"href",4,"ngIf"],[1,"matchType","OD"],[1,"matchType","MD"],[1,"livetag"],["alt","",3,"src"],[1,"t-sr"],[4,"ngIf"],[1,"t-comd"],[1,"matchCardLink",3,"href"],[1,"matchCardLink","emptyLink"],["target","_blank",1,"match-center-btn","watch-live-btn",3,"href"],["width","20","height","12","viewBox","0 0 20 12","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M19.5117 5.47084C19.5118 5.4708 19.5113 5.47246 19.51 5.47595C19.511 5.47262 19.5117 5.47087 19.5117 5.47084ZM19.3846 5.42253C19.421 5.47564 19.4489 5.51995 19.4694 5.55556C19.4489 5.59116 19.421 5.63547 19.3846 5.68858C19.2687 5.85746 19.0886 6.08215 18.8463 6.34541C18.3629 6.87051 17.6557 7.52352 16.7776 8.15998C15.0144 9.43807 12.6164 10.6111 10 10.6111C7.38359 10.6111 4.98561 9.43807 3.22238 8.15998C2.34432 7.52352 1.63706 6.87051 1.15373 6.34541C0.9114
118 6.08215 0.731321 5.85746 0.615423 5.68858C0.578977 5.63547 0.551147 5.59116 0.530603 5.55556C0.551147 5.51995 0.578977 5.47564 0.615423 5.42253C0.731321 5.25365 0.911418 5.02896 1.15373 4.7657C1.63706 4.2406 2.34432 3.58759 3.22238 2.95113C4.98561 1.67304 7.38359 0.5 10 0.5C12.6164 0.5 15.0144 1.67304 16.7776 2.95113C17.6557 3.58759 18.3629 4.2406 18.8463 4.7657C19.0886 5.02896 19.2687 5.25365 19.3846 5.42253ZM0.48825 5.47084C0.488343 5.47088 0.489029 5.47263 0.490027 5.47596C0.488655 5.47245 0.488156 5.47079 0.48825 5.47084ZM0.48825 5.64028C0.488156 5.64032 0.488655 5.63866 0.490026 5.63515C0.489029 5.63848 0.488343 5.64023 0.48825 5.64028ZM19.51 5.63515C19.5113 5.63866 19.5118 5.64032 19.5117 5.64028C19.5117 5.64023 19.511 5.63848 19.51 5.63515Z","stroke","white"],["cx","9.5","cy","5.5","r","2.5","fill","white"]],template:function(e,i){1&e&&(t.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"button",5),t.NdJ("click",function(){return i.prevSlide()}),t.qZA(),t.TgZ(6,"owl-carousel-o",6),t.YNc(7,xt,2,0,"ng-container",7),t.qZA(),t.TgZ(8,"button",8),t.NdJ("click",function(){return i.nextSlide()}),t.qZA()(),t.TgZ(9,"a",9)(10,"span",10),t._uU(11,"Matchcentre - View All Live Matches"),t.qZA()()()()()()),2&e&&(t.xp6(5),t.Q6J("ngClass",t.VKq(4,le,1==i.showNavbutn)),t.xp6(1),t.Q6J("options",i.customOptions),t.xp6(1),t.Q6J("ngForOf",i.liveResMatches),t.xp6(1),t.Q6J("ngClass",t.VKq(6,le,1==i.showNavbutn)))},dependencies:[D.mk,D.sg,D.O5,oe,re],styles:[".match-coutnry-code[_ngcontent-%COMP%]{width:20px;height:20px;color:#fff;border-radius:50%;display:flex;justify-content:center;align-items:center;font-size:9px;font-weight:500}.match-coutnry-code.A_bgclr[_ngcontent-%COMP%]{background-color:#89188b}.match-coutnry-code.B_bgclr[_ngcontent-%COMP%]{background-color:#188b6f}.match-coutnry-code.C_bgclr[_ngcontent-%COMP%]{background-color:#b34e06}.match-coutnry-code.D_bgclr[_ngcontent-%COMP%]{background-color:#1b21ec}.match-coutnry-code.E_bgclr[_ngcontent-%COMP%]{background-color:#afc316e0}.match-coutnry-code.F_bgclr[_ngcontent-%COMP%]{background-color:#188b6f}.match-coutnry-code.G_bgclr[_ngcontent-%COMP%]{background-color:#18318b}.match-coutnry-code.H_bgclr[_ngcontent-%COMP%]{background-color:#44188b}.match-coutnry-code.I_bgclr[_ngcontent-%COMP%]{background-color:#18318b}.match-coutnry-code.J_bgclr[_ngcontent-%COMP%]{background-color:#44188b}.match-coutnry-code.K_bgclr[_ngcontent-%COMP%]{background-color:#ec1b53}.match-coutnry-code.L_bgclr[_ngcontent-%COMP%]{background-color:#137e11f5}.match-coutnry-code.M_bgclr[_ngcontent-%COMP%], .match-coutnry-code.N_bgclr[_ngcontent-%COMP%]{background-color:#8b1818}.match-coutnry-code.O_bgclr[_ngcontent-%COMP%]{background-color:#086228}.match-coutnry-code.P_bgclr[_ngcontent-%COMP%]{background-color:#760b4b}.match-coutnry-code.Q_bgclr[_ngcontent-%COMP%]{background-color:#086228}.match-coutnry-code.R_bgclr[_ngcontent-%COMP%]{background-color:#89188b}.match-coutnry-code.S_bgclr[_ngcontent-%COMP%]{background-color:#44188b}.match-coutnry-code.T_bgclr[_ngcontent-%COMP%]{background-color:#8b1818}.match-coutnry-code.U_bgclr[_ngcontent-%COMP%]{background-color:#188b23}.match-coutnry-code.V_bgclr[_ngcontent-%COMP%]{background-color:#137e11f5}.match-coutnry-code.W_bgclr[_ngcontent-%COMP%]{background-color:#7b8b18}.match-coutnry-code.X_bgclr[_ngcontent-%COMP%]{background-color:#c44a11ce}.match-coutnry-code.Y_bgclr[_ngcontent-%COMP%]{background-color:#188b6f}.match-coutnry-code.Z_bgclr[_ngcontent-%COMP%]{background-color:#b34e06}.mt-cd_wrap[_ngcontent-%COMP%]{position:relative}.slick-prev[_ngcontent-%COMP%], .slick-next[_ngcontent-%COMP%]{display:none;top:39%}.activenav[_ngcontent-%COMP%]{display:block}"]}),s})()}];let Lt=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=t.oAB({type:s}),s.\u0275inj=t.cJS({imports:[A.Bz.forChild(Tt),A.Bz]}),s})(),kt=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=t.oAB({type:s}),s.\u0275inj=t.cJS({imports:[D.ez,it,Lt]}),s})();var ce=f(6489),B=f(1944),he=f(1491),Ot=f(330);const Pt=["videosContainer"];function At(s,c){if(1&s){const e=t.EpF();t.TgZ(0,"img",31),t.NdJ("error",function(){t.CHM(e);const n=t.oxw(2);return t.KtG(n.src=n.swidgetBasePath+"images/videodefault.jpg")}),t.qZA()}if(2&s){const e=t.oxw().$implicit;t.s9C("src",e.MediumThumbImage,t.LSH)}}function It(s,c){if(1&s){const e=t.EpF();t.TgZ(0,"img",31),t.NdJ("error",function(){t.CHM(e);const n=t.oxw(2);return t.KtG(n.src=n.swidgetBasePath+"images/videodefault.jpg")}),t.qZA()}if(2&s){const e=t.oxw().$implicit;t.s9C("src",e.MediaData.videoMedImg,t.LSH)}}function Rt(s,c){if(1&s&&t._UZ(0,"img",32),2&s){const e=t.oxw(2);t.MGl("src","",e.swidgetBasePath,"images/videodefault.jpg",t.LSH)}}function Ft(s,c){if(1&s){const e=t.EpF();t.TgZ(0,"div",33)(1,"div",34),t.NdJ("click",function(){t.CHM(e);const n=t.oxw(2);return t.KtG(n.share("facebook"))}),t.O4$(),t.TgZ(2,"svg",35),t._UZ(3,"path",36),t.qZA()(),t.kcU(),t.TgZ(4,"div",37),t.NdJ("click",function(){t.CHM(e);const n=t.oxw(2);return t.KtG(n.share("twitter"))}),t.O4$(),t.TgZ(5,"svg",38),t._UZ(6,"path",39),t.qZA()(),t.kcU(),t.TgZ(7,"div",40),t.NdJ("click",function(){t.CHM(e);const n=t.oxw(2);return t.KtG(n.share("whatsapp"))}),t.O4$(),t.TgZ(8,"svg",38),t._UZ(9,"path",41),t.qZA()()()}2&s&&t.Q6J("@slideInOut",void 0)}const Zt=function(s){return{active:s}};function Nt(s,c){if(1&s){const e=t.EpF();t.TgZ(0,"div",17)(1,"div",18),t.YNc(2,At,1,1,"img",19),t.YNc(3,It,1,1,"img",19),t.YNc(4,Rt,1,1,"img",20),t.TgZ(5,"div",21)(6,"div",22),t._UZ(7,"img",23),t.TgZ(8,"h3"),t._uU(9),t.qZA(),t.TgZ(10,"span",24),t._uU(11),t.qZA(),t.TgZ(12,"div",25)(13,"button",26,27),t.NdJ("click",function(){const a=t.CHM(e).$implicit,o=t.oxw();return t.KtG(o.toggleShareOptions(a))}),t._UZ(15,"img",28),t.qZA(),t.YNc(16,Ft,10,1,"div",29),t.qZA(),t._UZ(17,"a",30),t.qZA()()()()}if(2&s){const e=c.$implicit,i=t.oxw();
1t.xp6(2),t.Q6J("ngIf",null!=e.MediumThumbImage&&""!=e.MediumThumbImage),t.xp6(1),t.Q6J("ngIf",!(null!=e.MediumThumbImage&&""!=e.MediumThumbImage||null==e.MediaData.videoMedImg&&""==e.MediaData.videoMedImg)),t.xp6(1),t.Q6J("ngIf",!(null!=e.MediumThumbImage&&""!=e.MediumThumbImage||null!=e.MediaData.videoMedImg&&""!=e.MediaData.videoMedImg)),t.xp6(5),t.Oqu(e.Title),t.xp6(2),t.Oqu(i.getDate(e.Date)),t.xp6(2),t.Q6J("ngClass",t.VKq(10,Zt,1==e.isShare)),t.xp6(3),t.Q6J("ngIf",1==e.isShare),t.xp6(1),t.cQ8("href","",i.siteBasePath,"videos/",e.Season,"/",e.SNo,"",t.LSH)}}let de=(()=>{class s{constructor(e){this.apiService=e,this.swidgetBasePath="",this.siteBasePath=z.N.mediaPath,this.widgetGrid=16,this.pagedItems=[],this.videosSlider=[],this.activeButton="next",this.slides=[],this.platforms={facebook:"https://www.facebook.com/sharer/sharer.php",twitter:"https://twitter.com/intent/tweet",linkedin:"https://www.linkedin.com/shareArticle",whatsapp:"https://api.whatsapp.com/send",instagram:"instagram://story-share"}}ngOnInit(){this.apiService.getVideosData().subscribe(e=>{e=(e=e.replace("onVideos(","")).replace(");","");var i=null!=(e=JSON.parse(e)).videos?e.videos:[];let n=[];for(var a=0;a<10;a++)null!=i[a]&&""!=i[a]&&n.push(i[a]);this.slides=n,console.log(n),this.pagedItems=n,this.videosSlider=n,setTimeout(()=>{this.initSwiper()},1e3)})}getDate(e){var i=e.split(" "),n="",l=i[0].split("-");return[{mNo:"01",mText:"Jan"},{mNo:"02",mText:"Feb"},{mNo:"03",mText:"Mar"},{mNo:"04",mText:"Apr"},{mNo:"05",mText:"May"},{mNo:"06",mText:"Jun"},{mNo:"07",mText:"Jul"},{mNo:"08",mText:"Aug"},{mNo:"09",mText:"Sep"},{mNo:"10",mText:"Oct"},{mNo:"11",mText:"Nov"},{mNo:"12",mText:"Dec"}].map(function(h){h.mNo==l[1]&&(n=h.mText)}),l[2]+" "+n+" "+l[0]}initSwiper(){console.log("initswipVideo"),this.swiper=new ce.Z(this.videosContainer.nativeElement,{modules:[B.W_,B.tl],slidesPerView:3,spaceBetween:30,loop:!0,initialSlide:0,direction:"horizontal",navigation:{nextEl:".custom-next",prevEl:".custom-prev"},breakpoints:{320:{slidesPerView:2,spaceBetween:20},768:{slidesPerView:2,spaceBetween:30},1024:{slidesPerView:3,spaceBetween:30}}})}updateSlideStyles(e){e.slides.forEach((i,n)=>{n===e.activeIndex?i.classList.add("swiper-slide-active"):i.classList.remove("swiper-slide-active")})}onPrevClick(){this.activeButton="prev",this.swiper.slidePrev()}onNextClick(){this.activeButton="next",this.swiper.slideNext()}toggleShareOptions(e){for(var i=0;i<this.slides.length;i++)this.slides[i].isShare=this.slides[i].SNo!=e.SNo||0!=this.slides[i].isShare&&""!=this.slides[i].isShare&&null!=this.slides[i].isShare?0:1;this.shareItem=e,this.shareItem.url=this.siteBasePath+"videos/"+e.Season+"/"+e.SNo}share(e){"facebook"==e?this.shareToFacebook(this.shareItem):"twitter"==e?this.shareToTwitter(this.shareItem):"linkedin"==e?this.shareToLinkedIn(this.shareItem):"whatsapp"==e?this.shareToWhatsApp(this.shareItem):console.warn(`Unsupported platform: ${e}`)}shareToFacebook(e){const i=new URLSearchParams({u:e.url,quote:e.Title});this.openShareWindow(`${this.platforms.facebook}?${i}`)}shareToTwitter(e){e.Description=null!=e.Description&&""!=e.Description?e.Description:"";const i=new URLSearchParams({text:`${e.Title}\n${e.Description}`,url:e.url});this.openShareWindow(`${this.platforms.twitter}?${i}`)}shareToLinkedIn(e){const i=new URLSearchParams({url:e.url,Title:e.Title,summary:null!=e.Description&&""!=e.Description?e.Description:"",source:window.location.hostname});this.openShareWindow(`${this.platforms.linkedin}?${i}`)}shareToWhatsApp(e){console.log(e.Description),e.Description=null!=e.Description&&""!=e.Description?e.Description:"";const n=new URLSearchParams({text:`${e.Title}\n\n${e.Description}\n\n${e.url}`});this.openShareWindow(`${this.platforms.whatsapp}?${n}`)}openShareWindow(e){window.open(e,"ShareWindow","height=450, width=600, top="+(window.innerHeight/2-225)+", left="+(window.innerWidth/2-300))}}return s.\u0275fac=function(e){return new(e||s)(t.Y36(he.s))},s.\u0275cmp=t.Xpm({type:s,selectors:[["app-videosv1"]],viewQuery:function(e,i){if(1&e&&t.Gf(Pt,5),2&e){let n;t.iGM(n=t.CRH())&&(i.videosContainer=n.first)}},decls:21,vars:5,consts:[[1,"media_container"],[1,"media_title"],[1,"media_title-inner","latest-videos"],[1,"media_title-box"],[1,"media_title-name"],["href","/videos",1,"media-link"],["id","Icon_Arrow_Right","data-name","Icon/Arrow Right","xmlns","http://www.w3.org/2000/svg","width","","height","","viewBox","0 0 34 34"],["id","Icon_Arrow_Right-2","data-name","Icon/Arrow Right"],["id","Grid","d","M0,0H34V34H0Z","fill","none"],["id","Mask","d","M12.1,4.4,9.478,1.878a1.071,1.071,0,0,1,0-1.556,1.175,1.175,0,0,1,1.616,0l4.571,4.4a1.071,1.071,0,0,1,0,1.556l-4.571,4.4a1.175,1.175,0,0,1-1.616,0,1.071,1.071,0,0,1,0-1.556L12.1,6.6H1.141a1.1,1.1,0,1,1,0-2.2Z","transform","translate(9 11)","fill",""],[1,"slider_section"],[1,"swiper-container","custom-swiper","news-swiper"],["videosContainer",""],[1,"swiper-wrapper"],["class","swiper-slide news-sli
1de",4,"ngFor","ngForOf"],[1,"swiper-button-prev","custom-prev","nav-arrow","slide-nav-arrow",3,"click"],[1,"swiper-button-next","custom-next","nav-arrow","slide-nav-arrow",3,"click"],[1,"swiper-slide","news-slide"],[1,"slide-item"],["loading","lazy","alt","","class","thumb-image lazyload",3,"src","error",4,"ngIf"],["loading","lazy","alt","","class","thumb-image lazyload",3,"src",4,"ngIf"],[1,"content"],[1,"content-inner"],["src","assets/images/play-icon.png","alt","",1,"vid-icon"],[1,"postDate"],[1,"share-container"],[1,"share-button",3,"ngClass","click"],["shareBtn",""],["src","assets/images/share-ico.png","alt","Share"],["class","share-menu",4,"ngIf"],[1,"otherLinks",3,"href"],["loading","lazy","alt","",1,"thumb-image","lazyload",3,"src","error"],["loading","lazy","alt","",1,"thumb-image","lazyload",3,"src"],[1,"share-menu"],["title","Share on Facebook",1,"share-option",3,"click"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 512 512"],["d","M512 256C512 114.6 397.4 0 256 0S0 114.6 0 256C0 376 82.7 476.8 194.2 504.5V334.2H141.4V256h52.8V222.3c0-87.1 39.4-127.5 125-127.5c16.2 0 44.2 3.2 55.7 6.4V172c-6-.6-16.5-1-29.6-1c-42 0-58.2 15.9-58.2 57.2V256h83.6l-14.4 78.2H287V510.1C413.8 494.8 512 386.9 512 256h0z"],["title","Share on Twitter",1,"share-option",3,"click"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 448 512"],["d","M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm297.1 84L257.3 234.6 379.4 396H283.8L209 298.1 123.3 396H75.8l111-126.9L69.7 116h98l67.7 89.5L313.6 116h47.5zM323.3 367.6L153.4 142.9H125.1L296.9 367.6h26.3z"],["title","Share on WhatsApp",1,"share-option",3,"click"],["d","M92.1 254.6c0 24.9 7 49.2 20.2 70.1l3.1 5-13.3 48.6L152 365.2l4.8 2.9c20.2 12 43.4 18.4 67.1 18.4h.1c72.6 0 133.3-59.1 133.3-131.8c0-35.2-15.2-68.3-40.1-93.2c-25-25-58-38.7-93.2-38.7c-72.7 0-131.8 59.1-131.9 131.8zM274.8 330c-12.6 1.9-22.4 .9-47.5-9.9c-36.8-15.9-61.8-51.5-66.9-58.7c-.4-.6-.7-.9-.8-1.1c-2-2.6-16.2-21.5-16.2-41c0-18.4 9-27.9 13.2-32.3c.3-.3 .5-.5 .7-.8c3.6-4 7.9-5 10.6-5c2.6 0 5.3 0 7.6 .1c.3 0 .5 0 .8 0c2.3 0 5.2 0 8.1 6.8c1.2 2.9 3 7.3 4.9 11.8c3.3 8 6.7 16.3 7.3 17.6c1 2 1.7 4.3 .3 6.9c-3.4 6.8-6.9 10.4-9.3 13c-3.1 3.2-4.5 4.7-2.3 8.6c15.3 26.3 30.6 35.4 53.9 47.1c4 2 6.3 1.7 8.6-1c2.3-2.6 9.9-11.6 12.5-15.5c2.6-4 5.3-3.3 8.9-2s23.1 10.9 27.1 12.9c.8 .4 1.5 .7 2.1 1c2.8 1.4 4.7 2.3 5.5 3.6c.9 1.9 .9 9.9-2.4 19.1c-3.3 9.3-19.1 17.7-26.7 18.8zM448 96c0-35.3-28.7-64-64-64H64C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96zM148.1 393.9L64 416l22.5-82.2c-13.9-24-21.2-51.3-21.2-79.3C65.4 167.1 136.5 96 223.9 96c42.4 0 82.2 16.5 112.2 46.5c29.9 30 47.9 69.8 47.9 112.2c0 87.4-72.7 158.5-160.1 158.5c-26.6 0-52.7-6.7-75.8-19.3z"]],template:function(e,i){1&e&&(t.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4),t._uU(5,"Latest "),t.TgZ(6,"span"),t._uU(7,"VIDEOS"),t.qZA()(),t.TgZ(8,"a",5),t._uU(9,"All Videos "),t.O4$(),t.TgZ(10,"svg",6)(11,"g",7),t._UZ(12,"path",8)(13,"path",9),t.qZA()()()()()(),t.kcU(),t.TgZ(14,"div",10)(15,"div",11,12)(17,"div",13),t.YNc(18,Nt,18,12,"div",14),t.qZA(),t.TgZ(19,"div",15),t.NdJ("click",function(){return i.onPrevClick()}),t.qZA(),t.TgZ(20,"div",16),t.NdJ("click",function(){return i.onNextClick()}),t.qZA()()()()),2&e&&(t.xp6(18),t.Q6J("ngForOf",i.slides),t.xp6(1),t.ekj("active","prev"===i.activeButton),t.xp6(1),t.ekj("active","next"===i.activeButton))},dependencies:[D.mk,D.sg,D.O5],styles:[".swiper-button-prev[_ngcontent-%COMP%]:after, .swiper-button-next[_ngcontent-%COMP%]:after{font-size:0}.nav-arrow[_ngcontent-%COMP%]{width:24px;height:24px;position:absolute;top:91%;transform:translateY(-50%);z-index:10;cursor:pointer;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center;background-color:#d7deff;transition:background-color .3s ease}.custom-prev[_ngcontent-%COMP%]{left:39%;-webkit-mask-image:url(nav-arrowprev.f1cce2d8556484af.png);mask-image:url(nav-arrowprev.f1cce2d8556484af.png)}.custom-next[_ngcontent-%COMP%]{right:55%;-webkit-mask-image:url(nav-arrowprev.f1cce2d8556484af.png);mask-image:url(nav-arrowprev.f1cce2d8556484af.png);transform:translateY(-50%) rotate(180deg)}.nav-arrow.active[_ngcontent-%COMP%]{background-color:#f6b824}
1.nav-arrow[_ngcontent-%COMP%]:not(.active):hover{background-color:#f6b824}"],data:{animation:[(0,x.X$)("slideInOut",[(0,x.eR)(":enter",[(0,x.oB)({transform:"translateY(-10px)",opacity:0}),(0,x.jt)("200ms ease-out",(0,x.oB)({transform:"translateY(0)",opacity:1}))]),(0,x.eR)(":leave",[(0,x.jt)("200ms ease-in",(0,x.oB)({transform:"translateY(-10px)",opacity:0}))])])]}}),s})();var Ht=f(8777),$t=f(4488),zt=f(9102),Bt=f(9350);const Et=["carousel"],Ut=["list"],Jt=["swiperContainer"];function qt(s,c){if(1&s){const e=t.EpF();t.TgZ(0,"img",70),t.NdJ("error",function(){t.CHM(e);const n=t.oxw(2);return t.KtG(n.src=n.swidgetBasePath+"images/newsMCA_default.png")}),t.qZA()}if(2&s){const e=t.oxw().$implicit;t.s9C("src",e.Image,t.LSH),t.Q6J("alt",e.title)}}function Wt(s,c){if(1&s){const e=t.EpF();t.TgZ(0,"img",70),t.NdJ("error",function(){t.CHM(e);const n=t.oxw(2);return t.KtG(n.src=n.swidgetBasePath+"images/newsMCA_default.png")}),t.qZA()}if(2&s){const e=t.oxw().$implicit,i=t.oxw();t.MGl("src","",i.swidgetBasePath,"images/newsMCA_default.png",t.LSH),t.Q6J("alt",e.title)}}function Vt(s,c){if(1&s){const e=t.EpF();t.TgZ(0,"div",71)(1,"div",72),t.NdJ("click",function(){t.CHM(e);const n=t.oxw(2);return t.KtG(n.share("facebook"))}),t.O4$(),t.TgZ(2,"svg",73),t._UZ(3,"path",74),t.qZA()(),t.kcU(),t.TgZ(4,"div",75),t.NdJ("click",function(){t.CHM(e);const n=t.oxw(2);return t.KtG(n.share("twitter"))}),t.O4$(),t.TgZ(5,"svg",76),t._UZ(6,"path",77),t.qZA()(),t.kcU(),t.TgZ(7,"div",78),t.NdJ("click",function(){t.CHM(e);const n=t.oxw(2);return t.KtG(n.share("whatsapp"))}),t.O4$(),t.TgZ(8,"svg",76),t._UZ(9,"path",79),t.qZA()()()}2&s&&t.Q6J("@slideInOut",void 0)}const Yt=function(s){return{active:s}};function Qt(s,c){if(1&s){const e=t.EpF();t.TgZ(0,"div",57)(1,"div",58),t.YNc(2,qt,1,2,"img",59),t.YNc(3,Wt,1,2,"img",59),t.TgZ(4,"div",60)(5,"div",61)(6,"a",62)(7,"h3"),t._uU(8),t.qZA()(),t.TgZ(9,"div",63)(10,"span",64),t._uU(11),t.qZA(),t.TgZ(12,"div",65)(13,"button",66,67),t.NdJ("click",function(){const a=t.CHM(e).$implicit,o=t.oxw();return t.KtG(o.toggleShareOptions(a))}),t._UZ(15,"img",68),t.qZA(),t.YNc(16,Vt,10,1,"div",69),t.qZA()()()()()()}if(2&s){const e=c.$implicit,i=t.oxw();t.xp6(2),t.Q6J("ngIf",""!=e.Image&&null!=e.Image),t.xp6(1),t.Q6J("ngIf",""==e.Image||null==e.Image),t.xp6(3),t.cQ8("href","",i.siteBasePath,"news/",e.Season,"/",e.SNo,"",t.LSH),t.xp6(2),t.hij(" ",e.Title,""),t.xp6(3),t.Oqu(i.getDate(e.Date)),t.xp6(2),t.Q6J("ngClass",t.VKq(9,Yt,1==e.isShare)),t.xp6(3),t.Q6J("ngIf",1==e.isShare)}}const Gt=[{path:"",component:(()=>{class s{constructor(e,i,n){this.document=e,this.renderer=i,this.apiService=n,this.tabsSection=["News","videos","Photos"],this.tabsData="News",this.slidrList=[],this.timeRunning=3e3,this.timeAutoNext=7e3,this.animationStyle="runningTime 7s linear 1 forwards",this.swidgetBasePath="https://d3ml9nicy4vh6j.cloudfront.net/",this.siteBasePath=z.N.mediaPath,this.widgetGrid=16,this.pagedItems=[],this.sitebasepath=z.N.sitebasepath,this.CompetiondataList=[],this.activeButton="next",this.platforms={facebook:"https://www.facebook.com/sharer/sharer.php",twitter:"https://twitter.com/intent/tweet",linkedin:"https://www.linkedin.com/shareArticle",whatsapp:"https://api.whatsapp.com/send",instagram:"instagram://story-share"},this.timestamp=(new Date).getTime(),this.statsPath="https://tnpl-test.s3.ap-south-1.amazonaws.com/statswidget/tstats.html?v="+this.timestamp,this.slides=[],this.slideConfig={slidesToShow:1,slidesToScroll:1,dots:!0,infinite:!0,fade:!0,autoplay:!0,autoplayspeed:2e3}}loadJsScript(e,i){const n=e.createElement("script");return n.type="text/javascript",n.src=i,e.appendChild(this.document.body,n),n}loadCSS(e,i){const n=e.createElement("link");return n.rel="stylesheet",n.type="text/css",n.href=i,e.appendChild(this.document.body,n),n}ngAfterViewInit(){}ngOnInit(){var e=(new Date).getTime();this.apiService.getBannerData().subscribe(n=>{n=(n=n.replace("onNews(","")).replace(");","");var o=(null!=(n=JSON.parse(n)).news?n.news:[]).filter(d=>"1"===d.DisplayStatus);let l=[];for(var h=0;h<10;h++)null!=o[h]&&""!=o[h]&&l.push(o[h]);this.slides=l,setTimeout(()=>{this.initSwiper()},1e3),this.standingdisplay="home"}),this.loadCSS(this.renderer,"assets/css/responsive.css?v=25"),this.loadCSS(this.renderer,"assets/css/main.css?v="+e),this.loadCSS(this.renderer,"assets/css/custom.css?v=25"),this.loadCSS(this.renderer,"assets/css/hpto/live-board-style.css?v=25"),this.loadCSS(this.renderer,"https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css");const i=this.loadJsScript(this.renderer,"assets/js/smBSApp.js?v=25");this.loadCSS(this.renderer,"https://d3ml9nicy4vh6j.cloudfront.net/testhpto/static/css/main.33b2a8d1.css"),this.loadJsScript(this.renderer,"https://d3ml9nicy4vh6j.cloudfront.net/testhpto/static/js/main.a09e22f2.js"),this.loadJsScript(this.renderer,"https://widget.taggbox.com/embed-lite.min.js"),this.loadCSS(this.renderer,"assets/css/halloffame-v1.css?v=0509"),this.loadCSS(this.renderer,"assets/css/storySlider.css?v=0509"),i.onload=()=>{}}ngOnDestroy(){}ShowTabs(e){this.tabsData=e}showSlider(e){const i=this.list.nativeElement,n=i.querySelectorAll(".item");"next"===e?i.appendChild(n[0]):"prev"===e&&(i.prepend(n[n.length-1]),this.renderer.addClass(this.carousel.nativeElement,"prev"))}currentslider(e){const i=this.list.nativeElement,n=i.querySelectorAll(".item_"+e),a=i.querySelectorAll(".item"),o=Array.from(a).indexOf(n[0]);if(console.log(o),console.log(e),1!=o){i.prepend(n[0]),console.log(n);const l=i.querySelectorAll(".item");i.prepend(l[l.length-1])}}initSwiper(){this.swiper=new ce.Z(this.swiperContainer.nativeElement,{modules:[B.W_,B.tl],slidesPerView:1,spaceBetween:30,loop:!0,initialSlide:0,navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},pagination:{el:".swiper-pagination",clickable:!0},breakpoints:{320:{slidesPerView:1,spaceBetween:20},768:{slidesPerView:1,spaceBetween:30},1024:{slidesPerView:3,spaceBetween:30}}})}onPrevClick(){this.activeButton="prev"}
1onNextClick(){this.activeButton="next"}resetTimeAnimation(){this.animationStyle="none",setTimeout(()=>{this.animationStyle="runningTime 7s linear 1 forwards"},0)}getDate(e){var i=e.split(" "),n="",l=i[0].split("-");return[{mNo:"01",mText:"Jan"},{mNo:"02",mText:"Feb"},{mNo:"03",mText:"Mar"},{mNo:"04",mText:"Apr"},{mNo:"05",mText:"May"},{mNo:"06",mText:"Jun"},{mNo:"07",mText:"Jul"},{mNo:"08",mText:"Aug"},{mNo:"09",mText:"Sep"},{mNo:"10",mText:"Oct"},{mNo:"11",mText:"Nov"},{mNo:"12",mText:"Dec"}].map(function(h){h.mNo==l[1]&&(n=h.mText)}),l[2]+" "+n+" "+l[0]}getCompdata(e){this.CompetiondataList=e,console.log(e,"tournDatahome")}toggleShareOptions(e){console.log(this.slides,"testtt"),console.log(e.SNo,"test2");for(var i=0;i<this.slides.length;i++)this.slides[i].SNo==e.SNo?(console.log("yes11"),0==this.slides[i].isShare||""==this.slides[i].isShare||null==this.slides[i].isShare?(this.slides[i].isShare=1,console.log(this.slides[i],"elementishare")):this.slides[i].isShare=0):this.slides[i].isShare=0;this.shareItem=e,this.shareItem.url=this.siteBasePath+"news/"+e.Season+"/"+e.SNo,console.log(this.shareItem,"clicknews")}share(e){"facebook"==e?this.shareToFacebook(this.shareItem):"twitter"==e?this.shareToTwitter(this.shareItem):"linkedin"==e?this.shareToLinkedIn(this.shareItem):"whatsapp"==e?this.shareToWhatsApp(this.shareItem):"instagram"==e?this.shareToInstagram(this.shareItem):console.warn(`Unsupported platform: ${e}`)}shareToFacebook(e){const i=new URLSearchParams({u:e.url,quote:e.Title});this.openShareWindow(`${this.platforms.facebook}?${i}`)}shareToTwitter(e){e.Description=null!=e.Description&&""!=e.Description?e.Description:"";const i=new URLSearchParams({text:`${e.Title}\n${e.Description}`,url:e.url});this.openShareWindow(`${this.platforms.twitter}?${i}`)}shareToLinkedIn(e){const i=new URLSearchParams({url:e.url,Title:e.Title,summary:null!=e.Description&&""!=e.Description?e.Description:"",source:window.location.hostname});this.openShareWindow(`${this.platforms.linkedin}?${i}`)}shareToWhatsApp(e){console.log(e.Description),e.Description=null!=e.Description&&""!=e.Description?e.Description:"";const n=new URLSearchParams({text:`${e.Title}\n\n${e.Description}\n\n${e.url}`});this.openShareWindow(`${this.platforms.whatsapp}?${n}`)}shareToInstagram(e){if(this.isInstagramAvailable())try{console.log("testinsta");const i=new URLSearchParams({source_application:window.location.hostname,text:e.Title,url:e.url,caption:null!=e.Description&&""!=e.Description?e.Description:""});window.location.href=`${this.platforms.instagram}?${i}`}catch(i){console.warn("Failed to open Instagram sharing:",i),this.fallbackToInstagramShare(e)}else this.fallbackToInstagramShare(e)}fallbackToInstagramShare(e){this.openShareWindow("https://instagram.com"),console.info("Direct sharing to Instagram is not supported. Please copy and paste the content manually.")}isInstagramAvailable(){return/iPhone|iPad|iPod|Android/i.test(navigator.userAgent)}openShareWindow(e){window.open(e,"ShareWindow","height=450, width=600, top="+(window.innerHeight/2-225)+", left="+(window.innerWidth/2-300))}}return s.\u0275fac=function(e){return new(e||s)(t.Y36(D.K0),t.Y36(t.Qsj),t.Y36(he.s))},s.\u0275cmp=t.Xpm({type:s,selectors:[["app-home"]],viewQuery:function(e,i){if(1&e&&(t.Gf(Et,5),t.Gf(Ut,5),t.Gf(Jt,5)),2&e){let n;t.iGM(n=t.CRH())&&(i.carousel=n.first),t.iGM(n=t.CRH())&&(i.list=n.first),t.iGM(n=t.CRH())&&(i.swiperContainer=n.first)}},decls:79,vars:8,consts:[[1,"hero-section"],["id","hpto-new"],[1,"SMHPTOSlider"],[1,"media_container"],[1,"media_title"],[1,"media_title-inner","latest-news"],[1,"media_title-box"],[1,"media_title-name"],["href","/news",1,"media-link"],["id","Icon_Arrow_Right","data-name","Icon/Arrow Right","xmlns","http://www.w3.org/2000/svg","width","","height","","viewBox","0 0 34 34"],["id","Icon_Arrow_Right-2","data-name","Icon/Arrow Right"],["id","Grid","d","M0,0H34V34H0Z","fill","none"],["id","Mask","d","M12.1,4.4,9.478,1.878a1.071,1.071,0,0,1,0-1.556,1.175,1.175,0,0,1,1.616,0l4.571,4.4a1.071,1.071,0,0,1,0,1.556l-4.571,4.4a1.175,1.175,0,0,1-1.616,0,1.071,1.071,0,0,1,0-1.556L12.1,6.6H1.141a1.1,1.1,0,1,1,0-2.2Z","transform","translate(9 11)","fill",""],[1,"slider_section"],[1,"swiper-container","custom-swiper","news-swiper"],["swiperContainer",""],[1,"swiper-wrapper"],["class","swiper-slide news-sli
1de",4,"ngFor","ngForOf"],[1,"swiper-button-prev","custom-prev","nav-arrow","slide-nav-arrow",3,"click"],[1,"swiper-button-next","custom-next","nav-arrow","slide-nav-arrow",3,"click"],["id","wd-tp",1,"st-tp-card-wrappper"],[1,"wrapper"],[3,"CompetionData"],["id","wd-pt",1,"st-pt-card-wrappper","default-bg-pattern"],[1,"bg-multi-color"],[1,"st-pt-staningsWidget"],[1,"pt-title","pt-title-web"],[1,"pp-tb"],[3,"standings_Display","sendcompetitionData"],[1,"st-md-card-wrappper","st-md-card-wrappper_photo"],[1,"bg-curve-wrap"],[1,"st-tournstats-wrappper"],["id","wd-hf",1,"st-hlf-card-wrappper",2,"display","none"],[1,"hlf-subheading"],[1,"hf-title"],[1,"hf-view-more"],["href","/hall_of_fame"],["src","assets/images/nav-arrownext.png"],["id","homeWidget__hof",1,"hall-of-fame-container"],[1,"st-sf-card-wrappper","default-bg-pattern-trp"],[1,"wrapper","widget-header","widget-herder-media"],[1,"widget-header__title"],["data-widget-id","2157039","data-tags","false",1,"taggbox",2,"width","100%","height","100%"],[1,"st-ap-card-wrappper"],[1,"blank-space-bg"],[1,"st-ap-card-inner-wrapper"],[1,"playstore-wrap"],[1,"playstore-text"],[1,"playstore-text-text"],[1,"playstore-icon"],["href","https://apps.apple.com/us/app/mca-live/id6448637986","target","_blank",1,"playstore-icon_link"],["src","../assets/images/app-store.png","alt","App Store"],["href","https://play.google.com/store/apps/details?id=org.sportsmech.mca","target","_blank",1,"playstore-icon_link"],["src","../assets/images/google-play.png","alt","Google Play"],["src","assets/images/app-promoNew.png","alt","MCA App",1,"app-promo"],[1,"st-md-card-wrappper"],[1,"bg-curve-wrap","video_bg-curve"],[1,"swiper-slide","news-slide"],[1,"slide-item"],[3,"alt","src","error",4,"ngIf"],[1,"content"],[1,"content-inner"],[1,"",3,"href"],[1,"news-info-sec"],[1,"postDate"],[1,"share-container"],[1,"share-button",3,"ngClass","click"],["shareBtn",""],["src","assets/images/share-ico.png","alt","Share"],["class","share-menu",4,"ngIf"],[3,"alt","src","error"],[1,"share-menu"],["title","Share on Facebook",1,"share-option",3,"click"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 512 512"],["d","M512 256C512 114.6 397.4 0 256 0S0 114.6 0 256C0 376 82.7 476.8 194.2 504.5V334.2H141.4V256h52.8V222.3c0-87.1 39.4-127.5 125-127.5c16.2 0 44.2 3.2 55.7 6.4V172c-6-.6-16.5-1-29.6-1c-42 0-58.2 15.9-58.2 57.2V256h83.6l-14.4 78.2H287V510.1C413.8 494.8 512 386.9 512 256h0z"],["title","Share on Twitter",1,"share-option",3,"click"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 448 512"],["d","M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm297.1 84L257.3 234.6 379.4 396H283.8L209 298.1 123.3 396H75.8l111-126.9L69.7 116h98l67.7 89.5L313.6 116h47.5zM323.3 367.6L153.4 142.9H125.1L296.9 367.6h26.3z"],["title","Share on WhatsApp",1,"share-option",3,"click"],["d","M92.1 254.6c0 24.9 7 49.2 20.2 70.1l3.1 5-13.3 48.6L152 365.2l4.8 2.9c20.2 12 43.4 18.4 67.1 18.4h.1c72.6 0 133.3-59.1 133.3-131.8c0-35.2-15.2-68.3-40.1-93.2c-25-25-58-38.7-93.2-38.7c-72.7 0-131.8 59.1-131.9 131.8zM274.8 330c-12.6 1.9-22.4 .9-47.5-9.9c-36.8-15.9-61.8-51.5-66.9-58.7c-.4-.6-.7-.9-.8-1.1c-2-2.6-16.2-21.5-16.2-41c0-18.4 9-27.9 13.2-32.3c.3-.3 .5-.5 .7-.8c3.6-4 7.9-5 10.6-5c2.6 0 5.3 0 7.6 .1c.3 0 .5 0 .8 0c2.3 0 5.2 0 8.1 6.8c1.2 2.9 3 7.3 4.9 11.8c3.3 8 6.7 16.3 7.3 17.6c1 2 1.7 4.3 .3 6.9c-3.4 6.8-6.9 10.4-9.3 13c-3.1 3.2-4.5 4.7-2.3 8.6c15.3 26.3 30.6 35.4 53.9 47.1c4 2 6.3 1.7 8.6-1c2.3-2.6 9.9-11.6 12.5-15.5c2.6-4 5.3-3.3 8.9-2s23.1 10.9 27.1 12.9c.8 .4 1.5 .7 2.1 1c2.8 1.4 4.7 2.3 5.5 3.6c.9 1.9 .9 9.9-2.4 19.1c-3.3 9.3-19.1 17.7-26.7 18.8zM448 96c0-35.3-28.7-64-64-64H64C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96zM148.1 393.9L64 416l22.5-82.2c-13.9-24-21.2-51.3-21.2-79.3C65.4 167.1 136.5 96 223.9 96c42.4 0 82.2 16.5 112.2 46.5c29.9 30 47.9 69.8 47.9 112.2c0 87.4-72.7 158.5-160.1 158.5c-26.6 0-52.7-6.7-75.8-19.3z"]],template:function(e,i){1&e&&(t.TgZ(0,"div",0)(1,"div",1),t._UZ(2,"div",2),t.qZA(),t.TgZ(3,"div",3)(4,"div",4)(5,"div",5)(6,"div",6)(7,"div",7),t._uU(8,"Latest "),t.TgZ(9,"span"),t._uU(10,"NEWS"),t.qZA()(),t.TgZ(11,"a",8),t._uU(12,"All News "),t.O4$(),t.TgZ(13,"svg",9)(14,"g",10),t._UZ(15,"path",11)(16,"path",12),t.qZA()()()()()(),t.kcU(),t.TgZ(17,"div",13)(18,"div",14,15)(20,"div",16),t.YNc(21,Qt,17,11,"div",17),t.qZA(),t.TgZ(22,"div",18),t.NdJ("click",function(){return i.onPrevClick()}),t.qZA(),t.TgZ(23,"div",19),t.NdJ("click",function(){return i.onNextClick()}),t.qZA()()()(),t.TgZ(24,"div",20)(25,"div",21),t._UZ(26,"app-topperformers",22),t.qZA()()(),t.TgZ(27,"div",23),t._UZ(28,"div",24),t.TgZ(29,"div",25)(30,"div",26),t._uU(31,"Points table"),t.qZA(),t.TgZ(32,"div",27)(33,"app-standings",28),t.NdJ("sendcompet
1itionData",function(a){return i.getCompdata(a)}),t.qZA()()(),t.TgZ(34,"div",29),t._UZ(35,"app-photosv1")(36,"div",30),t.qZA()(),t.TgZ(37,"div",31)(38,"div",21),t._UZ(39,"app-tournstatsv1",22),t.qZA()(),t.TgZ(40,"div",32)(41,"div",21)(42,"div",33)(43,"div",34),t._uU(44,"HALL "),t.TgZ(45,"span"),t._uU(46,"OF FAME"),t.qZA()(),t.TgZ(47,"div",35)(48,"a",36),t._uU(49,"View More"),t._UZ(50,"img",37),t.qZA()()(),t.TgZ(51,"div",38),t._UZ(52,"app-halloffamev1"),t.qZA()()(),t.TgZ(53,"div",39)(54,"div",40)(55,"h2",41),t._uU(56,"Social Feed"),t.qZA()(),t._UZ(57,"div",42),t.qZA(),t.TgZ(58,"div",43),t._UZ(59,"div",44),t.TgZ(60,"div",45)(61,"div",21)(62,"div",46)(63,"div",47)(64,"h1"),t._uU(65,"Get the official MCA App"),t.qZA(),t.TgZ(66,"div",48),t._uU(67,"The official MCA app provides coverage across all of the India Domestic tournaments including Live Match Centre with live ball-by-ball updates and commentary, Fixtures, Results, Standing, Stats, Latest press conferences news, Videos, Photos and more."),t.qZA(),t.TgZ(68,"div",48),t._uU(69,"Available on both App store and Playstore."),t.qZA(),t.TgZ(70,"div",49)(71,"a",50),t._UZ(72,"img",51),t.qZA(),t.TgZ(73,"a",52),t._UZ(74,"img",53),t.qZA()()(),t._UZ(75,"img",54),t.qZA()()()(),t.TgZ(76,"div",55),t._UZ(77,"app-videosv1")(78,"div",56),t.qZA()),2&e&&(t.xp6(21),t.Q6J("ngForOf",i.slides),t.xp6(1),t.ekj("active","prev"===i.activeButton),t.xp6(1),t.ekj("active","next"===i.activeButton),t.xp6(3),t.Q6J("CompetionData",i.CompetiondataList),t.xp6(7),t.Q6J("standings_Display",i.standingdisplay),t.xp6(6),t.Q6J("CompetionData",i.CompetiondataList))},dependencies:[D.mk,D.sg,D.O5,Ot.r,de,Ht.K,$t.g,zt.a,Bt.z],styles:['.bannerSlider[_ngcontent-%COMP%]{height:calc(100vh - 10px);position:relative}.stories-tab[_ngcontent-%COMP%]{display:flex;overflow:hidden;gap:1px}.st-tab[_ngcontent-%COMP%]{background-color:#fff;padding:.5rem 1rem .5rem 3rem;position:relative;cursor:pointer;transition:all .3s ease;font-weight:600;font-size:16px;font-family:var(--font-header)}.st-tab[_ngcontent-%COMP%]:first-child{border-top-left-radius:5px;border-bottom-left-radius:5px}.st-tab[_ngcontent-%COMP%]:last-child{border-top-right-radius:5px;border-bottom-right-radius:5px}.st-tab.current[_ngcontent-%COMP%], .st-tab[_ngcontent-%COMP%]:hover{background-color:#fcdf41}.stories-tab-news[_ngcontent-%COMP%]:before, .stories-tab-photo[_ngcontent-%COMP%]:before{content:"";position:absolute;inset:0;background-position:10px center;background-size:24px;background-repeat:no-repeat}.stories-tab-news[_ngcontent-%COMP%]:before{background-image:url(/assets/images/news-icon.png)}.stories-tab-photo[_ngcontent-%COMP%]:before{background-image:url(/assets/images/photos-icon.png)}.stories-content[_ngcontent-%COMP%]{display:none;transition:all .3s ease}.stories-content.active[_ngcontent-%COMP%]{display:block}@media (max-width:40em){.stories-tab[_ngcontent-%COMP%]{margin-bottom:1rem}}table.points-table__widget[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{padding:4px 8px}.media_title-inner.latest-photos[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]   span[_ngcontent-%COMP%], .latest-photos[_ngcontent-%COMP%]   .media-link[_ngcontent-%COMP%]{color:#c6322d}.latest-photos[_ngcontent-%COMP%]   .media-link[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{color:#c6322d}.swiper-container.custom-swiper.photos-swiper[_ngcontent-%COMP%]{position:relative;overflow:hidden}.custom-swiper.photos-swiper[_ngcontent-%COMP%]{width:100%;overflow:visible;height:450px}.photos-swiper[_ngcontent-%COMP%]   .slide-item[_ngcontent-%COMP%]{position:relative;border-radius:5px;overflow:hidden;box-shadow:0 4px 10px #0000001a;height:clamp(300px,92%,800px)}.otherLinks[_ngcontent-%COMP%]{position:unset}.news-info-sec[_ngcontent-%COMP%]   .postDate[_ngcontent-%COMP%]{border-right:0;padding-right:10px;margin-right:10px}.share_buttn[_ngcontent-%COMP%]{background:transparent;border:none;cursor:pointer}.social-share-options[_ngcontent-%COMP%]{display:flex;gap:1rem;padding-top:20px;position:absolute;top:0;right:0;left:1rem;transition:all .5s}.share-button.active[_ngcontent-%COMP%]{background-color:#0000001a;border-radius:50%}.share-menu[_ngcontent-%COMP%]{position:absolute;
1left:0;top:-32px;background:white;border-radius:5px;box-shadow:0 2px 10px #0000001a;padding:0;z-index:1000;display:flex;gap:0;margin-top:0;transform:translate(25%,75%)}.share-option[_ngcontent-%COMP%]{width:inherit;height:inherit;padding:8px;cursor:pointer;border-radius:50%;transition:all .2s;display:flex;align-items:center;justify-content:center}.share-option[_ngcontent-%COMP%]:hover   svg[_ngcontent-%COMP%]{fill:#1877f2}.share-option[_ngcontent-%COMP%]:nth-child(2):hover   svg[_ngcontent-%COMP%]{fill:#1da1f2}.share-option[_ngcontent-%COMP%]:nth-child(3):hover   svg[_ngcontent-%COMP%]{fill:#25d366}'],data:{animation:[(0,x.X$)("slideInOut",[(0,x.eR)(":enter",[(0,x.oB)({transform:"translateY(-10px)",opacity:0}),(0,x.jt)("200ms ease-out",(0,x.oB)({transform:"translateY(0)",opacity:1}))]),(0,x.eR)(":leave",[(0,x.jt)("200ms ease-in",(0,x.oB)({transform:"translateY(-10px)",opacity:0}))])])]}}),s})()}];let jt=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=t.oAB({type:s}),s.\u0275inj=t.cJS({imports:[A.Bz.forChild(Gt),A.Bz]}),s})(),Kt=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=t.oAB({type:s}),s.\u0275inj=t.cJS({imports:[D.ez]}),s})();var Xt=f(3144),ei=f(5971),ti=f(4179),ii=f(2135),si=f(5835),ni=f(6594);const ri=[{path:"",component:de}];let ai=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=t.oAB({type:s}),s.\u0275inj=t.cJS({imports:[A.Bz.forChild(ri),A.Bz]}),s})(),oi=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=t.oAB({type:s}),s.\u0275inj=t.cJS({imports:[D.ez,ai]}),s})();var li=f(7436),ci=f(159);let hi=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=t.oAB({type:s}),s.\u0275inj=t.cJS({imports:[D.ez,jt,kt,ei.PhotoswidgetModule,ni.Photosv1Module,ii.VideoswidgetModule,oi,Kt,Xt.JF,ti.t,si.TopperformersModule,li.Tournstatsv1Module,ci.Halloffamev1Module]}),s})()}}]);

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.