1import{b as Hi}from"./chunk-CQWWMJD5.js";import{a as Wi}from"./chunk-MWWXCM3J.js";import{g as Vi}from"./chunk-5ETMJ6VZ.js";import{c as Bi}from"./chunk-23OYWDAP.js";import{c as Li,d as qe,g as Ue,h as Qe,j as Ge}from"./chunk-NBYIECIO.js";import{f as ji}from"./chunk-6QDM7Q5V.js";import{U as xe,V as Oe}from"./chunk-XI4FVBZT.js";import{a as Ye,b as Yt}from"./chunk-IDGFXIUB.js";import{ba as Ni}from"./chunk-BTU2RJ7F.js";import{$a as _e,$b as Lt,Ac as lt,B as _i,Ca as kt,Da as jt,Ea as ve,F as gt,H as Bt,Ia as Ci,Ib as A,Ja as W,Jb as F,Ka as q,Kb as J,Kc as Ti,L as Si,Lb as qt,Lc as Ei,Mb as Ut,Me as De,Nb as ye,Ob as tt,R as $e,Ra as wi,Rb as B,T as bi,Ta as ne,Tb as O,U as Ne,Ua as Wt,Xa as It,Xc as se,Yc as Rt,Zc as zt,_ as me,_b as Ce,_g as $i,ac as mt,bc as vt,bd as ki,c as X,cc as Qt,cd as Gt,ce as Ri,d as ee,db as Di,dd as we,eb as xi,ee as zi,fb as w,gb as I,ha as Be,he as Fi,ib as Se,ja as yi,ka as Ht,kd as Kt,ld as Ft,mc as Mi,md as Ai,na as z,o as vi,ob as be,oc as Pi,p as ie,pb as Ve,qc as Dt,rc as _t,sa as ot,ta as Vt,tc as Ii,te as Ke,ua as He,ub as j,uc as We,v as Pt,va as Q,vb as At,wb as C,xb as je,yb as Oi,zc as at}from"./chunk-ZIECK5QA.js";import{a as N,b as Mt,k as c}from"./chunk-3JMZ37NM.js";var qi={skipSnaps:!1,containScroll:"trimSnaps",align:"start",slidesToScroll:"auto",inViewThreshold:.6,loop:!0,autoplay:!1,center:!1,stagePadding:0,autoplayInterval:4e3,dots:!0},re=Mt(N({},qi),{breakpoints:{0:{slidesToScroll:2,containScroll:"trimSnaps",align:"start"},768:{slidesToScroll:3,containScroll:"trimSnaps",align:"start"},1024:{slidesToScroll:5,containScroll:"trimSnaps",align:"start"}}}),Ui=Mt(N({},qi),{breakpoints:{0:{slidesToScroll:2,containScroll:"trimSnaps",align:"start"},768:{slidesToScroll:3,containScroll:"trimSnaps",align:"start"},1024:{slidesToScroll:4,containScroll:"trimSnaps",align:"start"}}});var wn=(r,n,a,t,e)=>({width:r,transform:n,transition:a,"padding-left":t,"padding-right":e}),Dn=(r,n,a,t)=>({width:r,"margin-left":n,"margin-right":a,left:t}),xn=(r,n)=>({$implicit:r,index:n});function On(r,n){}function Mn(r,n){if(r&1&&j(0,On,0,0,"ng-template",4),r&2){let a=O(),t=a.$implicit,e=a.index,i=O();C("ngTemplateOutlet",t.tplRef)("ngTemplateOutletContext",_t(2,xn,i.preparePublicSlide(t),e))}}function Pn(r,n){if(r&1){let a=tt();qt(0),A(1,"div",2),B("animationend",function(){let e=W(a).$implicit,i=O();return q(i.clear(e.id))}),j(2,Mn,1,5,null,3),F(),Ut()}if(r&2){let a=n.$implicit;w(),C("ngClass",a.classes)("ngStyle",Ii(4,Dn,a.width+"px",a.marginL?a.marginL+"px":"",a.marginR?a.marginR+"px":"",a.left))("@autoHeight",a.heightState),w(),C("ngIf",a.load)}}var In=(r,n,a,t,e)=>({"owl-rtl":r,"owl-loaded":n,"owl-responsive":a,"owl-drag":t,"owl-grab":e}),Tn=(r,n)=>({isMouseDragable:r,isTouchDragable:n}),Me=r=>({disabled:r}),En=(r,n)=>({active:r,"owl-dot-text":n});function kn(r,n){if(r&1&&(A(0,"div",4),J(1,"owl-stage",5),F()),r&2){let a=O();w(),C("owlDraggable",_t(3,Tn,a.owlDOMData==null?null:a.owlDOMData.isMouseDragable,a.owlDOMData==null?null:a.owlDOMData.isTouchDragable))("stageData",a.stageData)("slidesData",a.slidesData)}}function An(r,n){if(r&1){let a=tt();A(0,"div",11),B("click",function(){let e=W(a).$implicit,i=O(2);return q(i.moveByDot(e.id))}),J(1,"span",12),F()}if(r&2){let a=n.$implicit;C("ngClass",_t(2,En,a.active,a.showInnerContent)),w(),C("innerHTML",a.innerContent,_e)}}function Ln(r,n){if(r&1){let a=tt();qt(0),A(1,"div",6)(2,"div",7),B("click",function(){W(a);let e=O();return q(e.prev())}),F(),A(3,"div",8),B("click",function(){W(a);let e=O();return q(e.next())}),F()(),A(4,"div",9),j(5,An,2,5,"div",10),F(),Ut()}if(r&2){let a=O();w(),C("ngClass",Dt(7,Me,a.navData==null?null:a.navData.disabled)),w(),C("ngClass",Dt(9,Me,a.navData==null||a.navData.prev==null?null:a.navData.prev.disabled))("innerHTML",a.navData==null||a.navData.prev==null?null:a.navData.prev.htmlText,_e),w(),C("ngClass",Dt(11,Me,a.navData==null||a.navData.next==null?null:a.navData.next.disabled))("innerHTML",a.navData==null||a.navData.next==null?null:a.navData.next.htmlText,_e),w(),C("ngClass",Dt(13,Me,a.dotsData==null?null:a.dotsData.disabled)),w(),C("ngForOf",a.dotsData==null?null:a.dotsData.dots)}}var Ze=class{constructor(){c(this,"items",3);c(this,"skip_validateItems",!1);c(this,"loop",!1);c(this,"center",!1);c(this,"rewind",!1);c(this,"mouseDrag",!0);c(this,"touchDrag",!0);c(this,"pullDrag",!0);c(this,"freeDrag",!1);c(this,"margin",0);c(this,"stagePadding",0);c(this,"merge",!1);c(this,"mergeFit",!0);c(this,"autoWidth",!1);c(this,"startPosition",0);c(this,"rtl",!1);c(this,"smartSpeed",250);c(this,"fluidSpeed",!1);c(this,"dragEndSpeed",!1);c(this,"responsive",{});c(this,"responsiveRefreshRate",200);c(this,"nav",!1);c(this,"navText",["prev","next"]);c(this,"navSpeed",!1);c(this,"slideBy",1);c(this,"dots",!0);c(this,"dotsEach",!1);c(this,"dotsData",!1);c(this,"dotsSpeed",!1);c(this,"autoplay",!1);c(this,"autoplayTimeout",5e3);c(this,"autoplayHoverPause",!1);c(this,"autoplaySpeed",!1);c(this,"autoplayMouseleaveTimeout",1);c(this,"lazyLoad",!1);c(this,"lazyLoadEager",0);c(this,"slideTransition","");c(this,"animateOut",!1);c(this,"animateIn",!1);c(this,"autoHeight",!1);
1c(this,"URLhashListener",!1)}},Xe=class{constructor(){c(this,"items","number");c(this,"skip_validateItems","boolean");c(this,"loop","boolean");c(this,"center","boolean");c(this,"rewind","boolean");c(this,"mouseDrag","boolean");c(this,"touchDrag","boolean");c(this,"pullDrag","boolean");c(this,"freeDrag","boolean");c(this,"margin","number");c(this,"stagePadding","number");c(this,"merge","boolean");c(this,"mergeFit","boolean");c(this,"autoWidth","boolean");c(this,"startPosition","number|string");c(this,"rtl","boolean");c(this,"smartSpeed","number");c(this,"fluidSpeed","boolean");c(this,"dragEndSpeed","number|boolean");c(this,"responsive",{});c(this,"responsiveRefreshRate","number");c(this,"nav","boolean");c(this,"navText","string[]");c(this,"navSpeed","number|boolean");c(this,"slideBy","number|string");c(this,"dots","boolean");c(this,"dotsEach","number|boolean");c(this,"dotsData","boolean");c(this,"dotsSpeed","number|boolean");c(this,"autoplay","boolean");c(this,"autoplayTimeout","number");c(this,"autoplayHoverPause","boolean");c(this,"autoplaySpeed","number|boolean");c(this,"autoplayMouseleaveTimeout","number");c(this,"lazyLoad","boolean");c(this,"lazyLoadEager","number");c(this,"slideTransition","string");c(this,"animateOut","string|boolean");c(this,"animateIn","string|boolean");c(this,"autoHeight","boolean");c(this,"URLhashListener","boolean")}},ti=(()=>{let n=class n{constructor(t){c(this,"errorHandler");this.errorHandler=t}log(t,...e){Ti()&&console.log(t,...e)}error(t){this.errorHandler.handleError(t)}warn(t,...e){console.warn(t,...e)}};c(n,"\u0275fac",function(e){return new(e||n)(Q(wi))}),c(n,"\u0275prov",ot({token:n,factory:n.\u0275fac}));let r=n;return r})();var Ji=function(r){return r.Event="event",r.State="state",r}(Ji||{}),Pe=function(r){return r.Default="default",r.Inner="inner",r.Outer="outer",r}(Pe||{});var xt=(()=>{let n=class n{constructor(t){c(this,"logger");c(this,"_viewSettingsShipper$",new X);c(this,"_initializedCarousel$",new X);c(this,"_changeSettingsCarousel$",new X);c(this,"_changedSettingsCarousel$",new X);c(this,"_translateCarousel$",new X);c(this,"_translatedCarousel$",new X);c(this,"_resizeCarousel$",new X);c(this,"_resizedCarousel$",new X);c(this,"_refreshCarousel$",new X);c(this,"_refreshedCarousel$",new X);c(this,"_dragCarousel$",new X);c(this,"_draggedCarousel$",new X);c(this,"settings",{items:0});c(this,"owlDOMData",{rtl:!1,isResponsive:!1,isRefreshed:!1,isLoaded:!1,isLoading:!1,isMouseDragable:!1,isGrab:!1,isTouchDragable:!1});c(this,"stageData",{transform:"translate3d(0px,0px,0px)",transition:"0s",width:0,paddingL:0,paddingR:0});c(this,"slidesData");c(this,"navData");c(this,"dotsData");c(this,"_width");c(this,"_items",[]);c(this,"_widths",[]);c(this,"_supress",{});c(this,"_plugins",{});c(this,"_current",null);c(this,"_clones",[]);c(this,"_mergers",[]);c(this,"_speed",null);c(this,"_coordinates",[]);c(this,"_breakpoint",null);c(this,"clonedIdPrefix","cloned-");c(this,"_options",{});c(this,"_invalidated",{});c(this,"_states",{current:{},tags:{initializing:["busy"],animating:["busy"],dragging:["interacting"]}});c(this,"_pipe",[{filter:["width","items","settings"],run:t=>{t.current=this._items&&this._items[this.relative(this._current)]?.id}},{filter:["width","items","settings"],run:t=>{let e=this.settings.margin||"",i=!this.settings.autoWidth,s=this.settings.rtl,o={"margin-left":s?e:"","margin-right":s?"":e};i||this.slidesData.forEach(l=>{l.marginL=o["margin-left"],l.marginR=o["margin-right"]}),t.css=o}},{filter:["width","items","settings"],run:t=>{let e=+(this.width()/this.settings.items).toFixed(3)-this.settings.margin,i=!this.settings.autoWidth,s=[],o=null,l=this._items.length;for(t.items={merge:!1,width:e};l-- >0;)o=this._mergers[l],o=this.settings.mergeFit&&Math.min(o,this.settings.items)||o,t.items.merge=o>1||t.items.merge,s[l]=i?e*o:this._items[l].width?this._items[l].width:e;this._widths=s,this.slidesData.forEach((u,h)=>{u.width=this._widths[h],u.marginR=t.css["margin-right"],u.marginL=t.css["margin-left"]})}},{filter:["items","settings"],run:()=>{let t=[],e=this._items,i=this.settings,s=Math.max(i.items*2,4),o=Math.ceil(e.length/2)*2,l=[],u=[],h=i.loop&&e.length?
1i.rewind?s:Math.max(s,o):0;for(h/=2;h-- >0;)t.push(this.normalize(t.length/2,!0)),l.push(N({},this.slidesData[t[t.length-1]])),t.push(this.normalize(e.length-1-(t.length-1)/2,!0)),u.unshift(N({},this.slidesData[t[t.length-1]]));this._clones=t,l=l.map(d=>(d.id=`${this.clonedIdPrefix}${d.id}`,d.isActive=!1,d.isCloned=!0,d)),u=u.map(d=>(d.id=`${this.clonedIdPrefix}${d.id}`,d.isActive=!1,d.isCloned=!0,d)),this.slidesData=u.concat(this.slidesData).concat(l)}},{filter:["width","items","settings"],run:()=>{let t=this.settings.rtl?1:-1,e=this._clones.length+this._items.length,i=[],s=-1,o=0,l=0;for(;++s<e;)o=i[s-1]||0,l=this._widths[this.relative(s)]+this.settings.margin,i.push(o+l*t);this._coordinates=i}},{filter:["width","items","settings"],run:()=>{let t=this.settings.stagePadding,e=this._coordinates,i={width:Math.ceil(Math.abs(e[e.length-1]))+t*2,"padding-left":t||"","padding-right":t||""};this.stageData.width=i.width,this.stageData.paddingL=i["padding-left"],this.stageData.paddingR=i["padding-right"]}},{filter:["width","items","settings"],run:t=>{let e=t.current?this.slidesData.findIndex(i=>i.id===t.current):0;e=Math.max(this.minimum(),Math.min(this.maximum(),e)),this.reset(e)}},{filter:["position"],run:()=>{this.animate(this.coordinates(this._current))}},{filter:["width","position","items","settings"],run:()=>{let t=this.settings.rtl?1:-1,e=this.settings.stagePadding*2,i=[],s,o,l,u,h,d;if(s=this.coordinates(this.current()),typeof s=="number"?s+=e:s=0,o=s+this.width()*t,t===-1&&this.settings.center){let p=this._coordinates.filter(S=>this.settings.items%2===1?S>=s:S>s);s=p.length?p[p.length-1]:s}for(h=0,d=this._coordinates.length;h<d;h++)l=Math.ceil(this._coordinates[h-1]||0),u=Math.ceil(Math.abs(this._coordinates[h])+e*t),(this._op(l,"<=",s)&&this._op(l,">",o)||this._op(u,"<",s)&&this._op(u,">",o))&&i.push(h);this.slidesData.forEach(p=>
1(p.isActive=!1,p)),i.forEach(p=>{this.slidesData[p].isActive=!0}),this.settings.center&&(this.slidesData.forEach(p=>(p.isCentered=!1,p)),this.slidesData[this.current()].isCentered=!0)}}]);this.logger=t}get invalidated(){return this._invalidated}get states(){return this._states}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()}setOptions(t){let e=new Ze,i=this._validateOptions(t,e);this._options=N(N({},e),i)}_validateOptions(t,e){let i=N({},t),s=new Xe,o=(l,u)=>(this.logger.log(`options.${u} must be type of ${l}; ${u}=${t[u]} skipped to defaults: ${u}=${e[u]}`),e[u]);for(let l in i)if(i.hasOwnProperty(l)){if(s[l]==="number")this._isNumeric(i[l])?(i[l]=+i[l],i[l]=l==="items"?this._validateItems(i[l],i.skip_validateItems):i[l]):i[l]=o(s[l],l);else if(s[l]==="boolean"&&typeof i[l]!="boolean")i[l]=o(s[l],l);else if(s[l]==="number|boolean"&&!this._isNumberOrBoolean(i[l]))i[l]=o(s[l],l);else if(s[l]==="number|string"&&!this._isNumberOrString(i[l]))i[l]=o(s[l],l);else if(s[l]==="string|boolean"&&!this._isStringOrBoolean(i[l]))i[l]=o(s[l],l);else if(s[l]==="string[]")if(Array.isArray(i[l])){let u=!1;i[l].forEach(h=>{u=typeof h=="string"}),u||(i[l]=o(s[l],l))}else i[l]=o(s[l],l)}return i}_validateItems(t,e){let i=t;return t>this._items.length?e?this.logger.log("The option 'items' in your options is bigger than the number of slides. The navigation got disabled"):(i=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")):t===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"),i}setCarouselWidth(t){this._width=t}setup(t,e,i){this.setCarouselWidth(t),this.setItems(e),this._defineSlidesData(),this.setOptions(i),this.settings=N({},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(){let t=this._width,e=this._options.responsive,i=-1;if(!Object.keys(e).length)return;if(!t){this.settings.items=1;return}for(let o in e)e.hasOwnProperty(o)&&+o<=t&&+o>i&&(i=Number(o));this.settings=Mt(N(N({},this._options),e[i]),{items:e[i]&&e[i].items?this._validateItems(e[i].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;let s=[];this._items.forEach(o=>{let l=this.settings.merge?o.dataMerge:1;s.push(l)}),this._mergers=s,this._breakpoint=i,this.invalidate("settings")}initialize(t){this.enter("initializing"),this.owlDOMData.rtl=this.settings.rtl,this._mergers.length&&(this._mergers=[]),t.forEach(e=>{let i=this.settings.merge?e.dataMerge:1;this._mergers.push(i)}),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 t=0,e=this._pipe.length,i=o=>this._invalidated[o],s={};for(;t<e;){let o=this._pipe[t].filter.filter(i);(this._invalidated.all||o.length>0)&&this._pipe[t].run(s),t++}this.slidesData.forEach(o=>o.classes=this.setCurSlideClasses(o)),this.sendChanges(),this._invalidated={},this.is("valid")||this.enter("valid")}width(t){switch(t=t||Pe.Default,t){case Pe.Inner:case Pe.Outer:return this._width;default:return this._width-this.settings.stagePadding*2+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(t){if(!this._items.length)return!1;this.setCarouselWidth(t),this.enter("resizing"),this._trigger("resize"),this.invalidate("width"),this.refresh(),this.leave("resizing"),this._trigger("resized")}prepareDragging(t){let e=null,i;return i=this.stageData.transform.replace(/.*\(|\)| |[^,-\d]\w|\)/g,"").split(","),e={x:+i[0],y:+i[1]},this.is("animating")&&this.invalidate("position"),t.type==="mousedown"&&(this.owlDOMData.isGrab=!0),this.speed(0),e}enterDragging(){this.enter("dragging"),this._trigger("drag")}defineNewCoordsDrag(t,e){let i=null,s=null,o=null,l=this.difference(e.pointer,this.pointer(t)),u=this.difference(e.stage.start,l);return this.is("dragging")?(this.settings.loop?(i=this.coordinates(this.minimum()),s=+this.coordinates(this.maximum()+1)-i,u.x=((u.x-i)%s+s)%s+i):(i=this.settings.rtl?this.coordinates(this.maximum()):this.coordinates(this.minimum()),s=this.settings.rtl?this.coordinates(this.minimum()):this.coordinates(this.maximum()),o=this.settings.pullDrag?-1*l.x/5:0,u.x=Math.max(Math.min(u.x,i+o),s+o)),u):!1}finishDragging(t,e,i){let s=["right","left"],o=this.difference(e.pointer,this.pointer(t)),l=e.stage.current,u=s[+(this.settings.rtl?o.x<+this.settings.rtl:o.x>+this.settings.rtl)],h,d,p;(o.x!==0&&this.is("dragging")||!this.is("valid"))&&(this.speed(+this.settings.dragEndSpeed||this.settings.smartSpeed),h=this.closest(l.x,o.x!==0?u:e.direction),d=this.current(),p=this.current(h===-1?void 0:h),d!==p&&(this.invalidate("position"),this.update()),e.direction=u,(Math.abs(o.x)>3||new Date().getTime()-e.time>300)&&i()),this.is("dragging")&&(this.leave("dragging"),this._trigger("dragged"))}closest(t,e){let s=this.width(),o=this.coordinates(),l=-1;this.settings.center&&(o=o.map(u=>(u===0&&(u+=1e-6),u)));for(let u=0;u<o.length&&(e==="left"&&t>o[u]-30&&t<o[u]+30?l=u:e==="right"&&t>o[u]-s-30&&t<o[u]-s+30?l=u+1:this._op(t,"<",o[u])&&this._op(t,">",o[u+1]||o[u]-s)?l=e==="left"?u+1:u:e===null&&t>o[u]-30&&t<o[u]+30&&(l=u),l===-1);u++);return this.settings.loop||(this._op(t,">",o[this.minimum()])?l=t=this.minimum():this._op(t,"<",o[this.maximum()])&&(l=t=this.maximum())),l}animate(t){let e=this.speed()>0;this.is("animating")&&this.onTransitionEnd(),e&&(this.enter("animating"),this._trigger("translate")),this.stageData.transform="translate3d("+t+"px,0px,0px)",this.stageData.transition=this.speed()/1e3+"s"+(this.settings.slideTransition?" "+this.settings.slideTransition:"")}is(t){return this._states.current[t]&&this._states.current[t]>0}current(t){if(t===void 0)return this._current;if(this._items.length!==0){if(t=this.normalize(t),this._current!==t){let e=this._trigger("change",{property:{name:"position",value:t}});this._current=t,this.invalidate("position"),this._trigger("changed",{property:{name:"position",value:this._current}})}return this._current}}invalidate(t){return typeof t=="string"&&(this._invalidated[t]=!0,this.is("valid")&&this.leave("valid")),Object.keys(this._invalidated)}reset(t){t=this.normalize(t),t!==void 0&&(this._speed=0,this._current=t,this._suppress(["translate","translated"]),this.animate(this.coordinates(t)),this._release(["translate","translated"]))}normalize(t,e){let i=this._items.length,s=e?0:this._clones.length;return!this._isNumeric(t)||i<1?t=void 0:(t<0||t>=i+s)&&(t=((t-s/2)%i+i)%i+s/2),t}relative(t){return t-=this._clones.length/2,this.normalize(t,!0)}maximum(t=!1){let e=this.settings,i=this._coordinates.length,s,o,l;if(e.loop)i=this._clones.length/2+this._items.length-1;else if(e.autoWidth||e.merge){for(s=this._items.length,o=this.slidesData[--s].width,l=this._width;s-- >0&&(o+=+this.slidesData[s].width+this.settings.margin,!(o>l)););i=s+1}else e.center?i=this._items.length-1:i=this._items.length-e.items;return t&&(i-=this._clones.length/2),Math.max(i,0)}minimum(t=!1){return t?0:this._clones.length/2}items(t){return t===void 0?this._items.slice():(t=this.normalize(t,!0),[this._items[t]])}mergers(t){return t===void 0?this._mergers.slice():(t=this.normalize(t,!0),this._mergers[t])}clones(t){let e=this._clones.length/2,i=e+this._items.length,s=o=>
1o%2===0?i+o/2:e-(o+1)/2;return t===void 0?this._clones.map((o,l)=>s(l)):this._clones.map((o,l)=>o===t?s(l):null).filter(o=>o)}speed(t){return t!==void 0&&(this._speed=t),this._speed}coordinates(t){let e=1,i=t-1,s,o;return t===void 0?(o=this._coordinates.map((l,u)=>this.coordinates(u)),o):(this.settings.center?(this.settings.rtl&&(e=-1,i=t+1),s=this._coordinates[t],s+=(this.width()-s+(this._coordinates[i]||0))/2*e):s=this._coordinates[i]||0,s=Math.ceil(s),s)}_duration(t,e,i){return i===0?0:Math.min(Math.max(Math.abs(e-t),1),6)*Math.abs(+i||this.settings.smartSpeed)}to(t,e){let i=this.current(),s=null,o=t-this.relative(i),l=this.maximum(),u=0,h=+(o>0)-+(o<0),d=this._items.length,p=this.minimum();this.settings.loop?(!this.settings.rewind&&Math.abs(o)>d/2&&(o+=h*-1*d),t=i+o,s=((t-p)%d+d)%d+p,s!==t&&s-o<=l&&s-o>0&&(i=s-o,t=s,u=30,this.reset(i),this.sendChanges())):this.settings.rewind?(l+=1,t=(t%l+l)%l):t=Math.max(p,Math.min(l,t)),setTimeout(()=>{this.speed(this._duration(i,t,e)),this.current(t),this.update()},u)}next(t){t=t||!1,this.to(this.relative(this.current())+1,t)}prev(t){t=t||!1,this.to(this.relative(this.current())-1,t)}onTransitionEnd(t){if(t!==void 0)return!1;this.leave("animating"),this._trigger("translated")}_viewport(){let t;return this._width?t=this._width:this.logger.log("Can not detect viewport width."),t}setItems(t){this._items=t}_defineSlidesData(){let t;this.slidesData&&this.slidesData.length&&(t=new Map,this.slidesData.forEach(e=>{e.load&&t.set(e.id,e.load)})),this.slidesData=this._items.map(e=>({id:`${e.id}`,isActive:!1,tplRef:e.tplRef,dataMerge:e.dataMerge,width:0,isCloned:!1,load:t?t.get(e.id):!1,hashFragment:e.dataHash}))}setCurSlideClasses(t){let e={active:t.isActive,center:t.isCentered,cloned:t.isCloned,animated:t.isAnimated,"owl-animated-in":t.isDefAnimatedIn,"owl-animated-out":t.isDefAnimatedOut};return this.settings.animateIn&&(e[this.settings.animateIn]=t.isCustomAnimatedIn),this.settings.animateOut&&(e[this.settings.animateOut]=t.isCustomAnimatedOut),e}_op(t,e,i){let s=this.settings.rtl;switch(e){case"<":return s?t>i:t<i;case">":return s?t<i:t>i;case">=":return s?t<=i:t>=i;case"<=":return s?t>=i:t<=i;default:break}}_trigger(t,e,i,s,o){switch(t){case"initialized":this._initializedCarousel$.next(t);break;case"change":this._changeSettingsCarousel$.next(e);break;case"changed":this._changedSettingsCarousel$.next(e);break;case"drag":this._dragCarousel$.next(t);break;case"dragged":this._draggedCarousel$.next(t);break;case"resize":this._resizeCarousel$.next(t);break;case"resized":this._resizedCarousel$.next(t);break;case"refresh":this._refreshCarousel$.next(t);break;case"refreshed":this._refreshedCarousel$.next(t);break;case"translate":this._translateCarousel$.next(t);break;case"translated":this._translatedCarousel$.next(t);break;default:break}}enter(t){[t].concat(this._states.tags[t]||[]).forEach(e=>{this._states.current[e]===void 0&&(this._states.current[e]=0),this._states.current[e]++})}leave(t){[t].concat(this._states.tags[t]||[]).forEach(e=>{(this._states.current[e]===0||this._states.current[e])&&this._states.current[e]--})}register(t){t.type===Ji.State&&(this._states.tags[t.name]?this._states.tags[t.name]=this._states.tags[t.name].concat(t.tags):this._states.tags[t.name]=t.tags,this._states.tags[t.name]=this._states.tags[t.name].filter((e,i)=>this._states.tags[t.name].indexOf(e)===i))}_suppress(t){t.forEach(e=>{this._supress[e]=!0})}_release(t){t.forEach(e=>{delete this._supress[e]})}pointer(t){let e={x:null,y:null};return t=t.originalEvent||t||window.event,t=t.touches&&t.touches.length?t.touches[0]:t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,t.pageX?(e.x=t.pageX,e.y=t.pageY):(e.x=t.clientX,e.y=t.clientY),e}_isNumeric(t){return!isNaN(parseFloat(t))}_isNumberOrBoolean(t){return this._isNumeric(t)||typeof t=="boolean"}_isNumberOrString(t){return this._isNumeric(t)||typeof t=="string"}_isStringOrBoolean(t){return typeof t=="string"||typeof t=="boolean"}difference(t,e){return t===null||e===null?{x:0,y:0}:{x:t.x-e.x,y:t.y-e.y}}};c(n,"\u0275fac",function(e){return new(e||n)(Q(ti))}),c(n,"\u0275prov",ot({token:n,factory:n.\u0275fac}));let r=n;return r})(),Qi=(()=>{let n=class n{constructor(t){c(this,"carouselService");c(this,"navSubscription");c(this,"_initialized",!1);c(this,"_pages",[]);c(this,"_navData",{disabled:!1,prev:{disabled:!1,htmlText:""},next:{disabled:!1,htmlText:""}});c(this,"_dotsData",{disabled:!1,dots:[]});
1this.carouselService=t,this.spyDataStreams()}ngOnDestroy(){this.navSubscription.unsubscribe()}spyDataStreams(){let t=this.carouselService.getInitializedState().pipe(z(o=>{this.initialize(),this._updateNavPages(),this.draw(),this.update(),this.carouselService.sendChanges()})),e=this.carouselService.getChangedState().pipe(Bt(o=>o.property.name==="position"),z(o=>{this.update()})),i=this.carouselService.getRefreshedState().pipe(z(()=>{this._updateNavPages(),this.draw(),this.update(),this.carouselService.sendChanges()})),s=gt(t,e,i);this.navSubscription=s.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 t,e,i,s=this.carouselService.clones().length/2,o=s+this.carouselService.items().length,l=this.carouselService.maximum(!0),u=[],h=this.carouselService.settings,d=h.center||h.autoWidth||h.dotsData?1:Math.floor(Number(h.dotsEach))||Math.floor(h.items);if(d=+d,h.slideBy!=="page"&&(h.slideBy=Math.min(+h.slideBy,h.items)),h.dots||h.slideBy==="page")for(t=s,e=0,i=0;t<o;t++){if(e>=d||e===0){if(u.push({start:Math.min(l,t-s),end:t-s+d-1}),Math.min(l,t-s)===l)break;e=0,++i}e+=this.carouselService.mergers(this.carouselService.relative(t))}this._pages=u}draw(){let t,e=this.carouselService.settings,i=this.carouselService.items(),s=i.length<=e.items;if(this._navData.disabled=!e.nav||s,this._dotsData.disabled=!e.dots||s,e.dots)if(t=this._pages.length-this._dotsData.dots.length,e.dotsData&&t!==0)this._dotsData.dots=[],i.forEach(o=>{this._dotsData.dots.push({active:!1,id:`dot-${o.id}`,innerContent:o.dotContent,showInnerContent:!0})});else if(t>0){let o=this._dotsData.dots.length>0?this._dotsData.dots.length:0;for(let l=0;l<t;l++)this._dotsData.dots.push({active:!1,id:`dot-${l+o}`,innerContent:"",showInnerContent:!1})}else t<0&&this._dotsData.dots.splice(t,Math.abs(t));this.carouselService.navData=this._navData,this.carouselService.dotsData=this._dotsData}update(){this._updateNavButtons(),this._updateDots()}_updateNavButtons(){let t=this.carouselService.settings,e=t.loop||t.rewind,i=this.carouselService.relative(this.carouselService.current());t.nav&&(this._navData.prev.disabled=!e&&i<=this.carouselService.minimum(!0),this._navData.next.disabled=!e&&i>=this.carouselService.maximum(!0)),this.carouselService.navData=this._navData}_updateDots(){let t;this.carouselService.settings.dots&&(this._dotsData.dots.forEach(e=>{e.active===!0&&(e.active=!1)}),t=this._current(),this._dotsData.dots.length&&(this._dotsData.dots[t].active=!0),this.carouselService.dotsData=this._dotsData)}_current(){let t=this.carouselService.relative(this.carouselService.current()),e,i=this._pages.filter((s,o)=>s.start<=t&&s.end>=t).pop();return e=this._pages.findIndex(s=>s.start===i.start&&s.end===i.end),e}_getPosition(t){let e,i,s=this.carouselService.settings;return s.slideBy==="page"?(e=this._current(),i=this._pages.length,t?++e:--e,e=this._pages[(e%i+i)%i].start):(e=this.carouselService.relative(this.carouselService.current()),i=this.carouselService.items().length,t?e+=+s.slideBy:e-=+s.slideBy),e}next(t){this.carouselService.to(this._getPosition(!0),t)}prev(t){this.carouselService.to(this._getPosition(!1),t)}to(t,e,i){let s;!i&&this._pages.length?(s=this._pages.length,this.carouselService.to(this._pages[(t%s+s)%s].start,e)):this.carouselService.to(t,e)}moveByDot(t){let e=this._dotsData.dots.findIndex(i=>t===i.id);this.to(e,this.carouselService.settings.dotsSpeed)}toSlideById(t){let e=this.carouselService.slidesData.findIndex(i=>i.id===t&&i.isCloned===!1);e===-1||e===this.carouselService.current()||this.carouselService.to(this.carouselService.relative(e),!1)}};c(n,"\u0275fac",function(e){return new(e||n)(Q(xt))}),c(n,"\u0275prov",ot({token:n,factory:n.\u0275fac}));let r=n;return r})(),ei=new He("WindowToken"),oe=class{get nativeWindow(){throw new Error("Not implemented.")}},Rn=(()=>{let n=class n extends oe{constructor(){super()}get nativeWindow(){return window}
1};c(n,"\u0275fac",function(e){return new(e||n)}),c(n,"\u0275prov",ot({token:n,factory:n.\u0275fac}));let r=n;return r})();function zn(r,n){return Ft(n)?r.nativeWindow:{setTimeout:(t,e)=>{},clearTimeout:t=>{}}}var Fn={provide:oe,useClass:Rn},$n={provide:ei,useFactory:zn,deps:[oe,It]},Nn=[Fn,$n],Ie=new He("DocumentToken"),ae=class{get nativeDocument(){throw new Error("Not implemented.")}},Bn=(()=>{let n=class n extends ae{constructor(){super()}get nativeDocument(){return document}};c(n,"\u0275fac",function(e){return new(e||n)}),c(n,"\u0275prov",ot({token:n,factory:n.\u0275fac}));let r=n;return r})();function Hn(r,n){return Ft(n)?r.nativeDocument:{hidden:!1,visibilityState:"visible"}}var Vn={provide:ae,useClass:Bn},jn={provide:Ie,useFactory:Hn,deps:[ae,It]},Wn=[Vn,jn],Gi=(()=>{let n=class n{constructor(t,e,i,s){c(this,"carouselService");c(this,"ngZone");c(this,"autoplaySubscription");c(this,"_timeout",null);c(this,"_paused",!1);c(this,"_isArtificialAutoplayTimeout");c(this,"_isAutoplayStopped",!1);c(this,"winRef");c(this,"docRef");this.carouselService=t,this.ngZone=s,this.winRef=e,this.docRef=i,this.spyDataStreams()}get isAutoplayStopped(){return this._isAutoplayStopped}set isAutoplayStopped(t){this._isAutoplayStopped=t}ngOnDestroy(){this.autoplaySubscription.unsubscribe()}spyDataStreams(){let t=this.carouselService.getInitializedState().pipe(z(()=>{this.carouselService.settings.autoplay&&this.play()})),e=this.carouselService.getChangedState().pipe(z(o=>{this._handleChangeObservable(o)})),i=this.carouselService.getResizedState().pipe(z(()=>{this.carouselService.settings.autoplay&&!this._isAutoplayStopped?this.play():this.stop()})),s=gt(t,e,i);this.autoplaySubscription=s.subscribe(()=>{})}play(t,e){this._paused&&(this._paused=!1,this._setAutoPlayInterval(this.carouselService.settings.autoplayMouseleaveTimeout)),!this.carouselService.is("rotating")&&(this.carouselService.enter("rotating"),this._setAutoPlayInterval())}_getNextTimeout(t,e){return this._timeout&&this.winRef.clearTimeout(this._timeout),this._isArtificialAutoplayTimeout=!!t,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(e||this.carouselService.settings.autoplaySpeed)})},t||this.carouselService.settings.autoplayTimeout))}_setAutoPlayInterval(t){this._timeout=this._getNextTimeout(t)}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(t){t.property.name==="settings"?this.carouselService.settings.autoplay?this.play():this.stop():t.property.name==="position"&&this.carouselService.settings.autoplay&&this._setAutoPlayInterval()}_playAfterTranslated(){ie("translated").pipe(Ht(t=>this.carouselService.getTranslatedState()),me(),Bt(()=>this._isArtificialAutoplayTimeout),z(()=>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())}};c(n,"\u0275fac",function(e){return new(e||n)(Q(xt),Q(ei),Q(Ie),Q(Ve))}),c(n,"\u0275prov",ot({token:n,factory:n.\u0275fac}));let r=n;return r})(),Ki=(()=>{let n=class n{constructor(t){c(this,"carouselService");c(this,"lazyLoadSubscription");this.carouselService=t,this.spyDataStreams()}ngOnDestroy(){this.lazyLoadSubscription.unsubscribe()}spyDataStreams(){let t=this.carouselService.getInitializedState().pipe(z(()=>{let o=this.carouselService.settings&&!this.carouselService.settings.lazyLoad;this.carouselService.slidesData.forEach(l=>l.load=!!o)})),e=this.carouselService.getChangeState(),i=this.carouselService.getResizedState(),s=gt(t,e,i).pipe(z(o=>this._defineLazyLoadSlides(o)));this.lazyLoadSubscription=s.subscribe(()=>{})}_defineLazyLoadSlides(t){if(!(!this.carouselService.settings||!this.carouselService.settings.lazyLoad)&&(t.property&&t.property.name==="position"||t==="initialized"||t==="resized")){let e=this.carouselService.settings,i=this.carouselService.clones().length,s=e.center&&Math.ceil(e.items/2)||e.items,o=e.center&&s*-1||0,l=(t.property&&t.property.value!==void 0?t.property.value:this.carouselService.current())+o;for(e.lazyLoadEager>0&&(s+=e.lazyLoadEager,e.loop&&(l-=e.lazyLoadEager,s++));o++<s;)this._load(i/2+this.carouselService.relative(l)),i&&this.carouselService.clones(this.carouselService.relative(l)).forEac
1h(u=>this._load(u)),l++}}_load(t){this.carouselService.slidesData[t].load||(this.carouselService.slidesData[t].load=!0)}};c(n,"\u0275fac",function(e){return new(e||n)(Q(xt))}),c(n,"\u0275prov",ot({token:n,factory:n.\u0275fac}));let r=n;return r})(),Je=(()=>{let n=class n{constructor(t){c(this,"carouselService");c(this,"animateSubscription");c(this,"swapping",!0);c(this,"previous");c(this,"next");this.carouselService=t,this.spyDataStreams()}ngOnDestroy(){this.animateSubscription.unsubscribe()}spyDataStreams(){let t=this.carouselService.getChangeState().pipe(z(h=>{h.property.name==="position"&&(this.previous=this.carouselService.current(),this.next=h.property.value)})),e=this.carouselService.getDragState(),i=this.carouselService.getDraggedState(),s=this.carouselService.getTranslatedState(),o=gt(e,i,s).pipe(z(h=>this.swapping=h==="translated")),l=this.carouselService.getTranslateState().pipe(z(h=>{this.swapping&&(this.carouselService._options.animateOut||this.carouselService._options.animateIn)&&this._swap()})),u=gt(t,l,o).pipe();this.animateSubscription=u.subscribe(()=>{})}_swap(){if(this.carouselService.settings.items!==1)return;this.carouselService.speed(0);let t,e=this.carouselService.slidesData[this.previous],i=this.carouselService.slidesData[this.next],s=this.carouselService.settings.animateIn,o=this.carouselService.settings.animateOut;this.carouselService.current()!==this.previous&&(o&&(t=+this.carouselService.coordinates(this.previous)-+this.carouselService.coordinates(this.next),this.carouselService.slidesData.forEach(l=>{l.id===e.id&&(l.left=`${t}px`,l.isAnimated=!0,l.isDefAnimatedOut=!0,l.isCustomAnimatedOut=!0)})),s&&this.carouselService.slidesData.forEach(l=>{l.id===i.id&&(l.isAnimated=!0,l.isDefAnimatedIn=!0,l.isCustomAnimatedIn=!0)}))}clear(t){this.carouselService.slidesData.forEach(e=>{e.id===t&&(e.left="",e.isAnimated=!1,e.isDefAnimatedOut=!1,e.isCustomAnimatedOut=!1,e.isDefAnimatedIn=!1,e.isCustomAnimatedIn=!1,e.classes=this.carouselService.setCurSlideClasses(e))}),this.carouselService.onTransitionEnd()}};c(n,"\u0275fac",function(e){return new(e||n)(Q(xt))}),c(n,"\u0275prov",ot({token:n,factory:n.\u0275fac}));let r=n;return r})(),Yi=(()=>{let n=class n{constructor(t){c(this,"carouselService");c(this,"autoHeightSubscription");this.carouselService=t,this.spyDataStreams()}ngOnDestroy(){this.autoHeightSubscription.unsubscribe()}spyDataStreams(){let t=this.carouselService.getInitializedState().pipe(z(o=>{this.carouselService.settings.autoHeight?this.update():this.carouselService.slidesData.forEach(l=>l.heightState="full")})),e=this.carouselService.getChangedState().pipe(z(o=>{this.carouselService.settings.autoHeight&&o.property.name==="position"&&this.update()})),i=this.carouselService.getRefreshedState().pipe(z(o=>{this.carouselService.settings.autoHeight&&this.update()})),s=gt(t,e,i);this.autoHeightSubscription=s.subscribe(()=>{})}update(){let t=this.carouselService.settings.items,e=this.carouselService.current(),i=e+t;this.carouselService.settings.center&&(e=t%2===1?e-(t-1)/2:e-t/2,i=t%2===1?e+t:e+t+1),this.carouselService.slidesData.forEach((s,o)=>{s.heightState=o>=e&&o<i?"full":"nulled"})}};c(n,"\u0275fac",function(e){return new(e||n)(Q(xt))}),c(n,"\u0275prov",ot({token:n,factory:n.\u0275fac}));let r=n;return r})(),Zi=(()=>{let n=class n{constructor(t,e,i){c(this,"carouselService");c(this,"route");c(this,"router");c(this,"hashSubscription");c(this,"currentHashFragment");this.carouselService=t,this.route=e,this.router=i,this.spyDataStreams(),this.route||(this.route={fragment:ie("no route").pipe($e(1))}),this.router||(this.router={navigate:(s,o)=>{}})}ngOnDestroy(){this.hashSubscription.unsubscribe()}spyDataStreams(){let t=this.carouselService.getInitializedState().pipe(z(()=>this.listenToRoute())),e=this.carouselService.getChangedState().pipe(z(s=>{if(this.carouselService.settings.URLhashListener&&s.property.name==="position"){let o=this.carouselService.current(),l=this.carouselService.slidesData[o].hashFragment;if(!l||l===this.currentHashFragment)return;this.router.navigate(["./"],{fragment:l,relativeTo:this.route})}})),i=gt(t,e);this.hashSubscription=i.subscribe(()=>{})}rewind(t){let e=this.carouselService.slidesData.findIndex(i=>i.hashFragment===t&&i.isCloned===!1);e===-1||e===this.carouselService.current()||this.carouselService.to(this.carouselService.relative(e),!1)}listenToRoute(){let t=this.carouselService.settings.startPosition==="URLHash"?0:2;this.route.fragment.pipe(Be(t)).subscribe(e=>{this.currentHashFragment=e,this.rewind(e)})}};c(n,"\u0275fac",function(e){return new(e||n)(Q(xt),Q(Ri,8),Q(zi,8))}),c(n,"\u0275prov",ot({token:n,factory:n.\u0275fac}));let r=n;return r})(),qn=0,ii=(()=>{let n=class n{constructor(t){c(this,"tplRef");c(this,"id",`owl-slide-${qn++}`);c(this,"_dataMerge",1);c(this,"width",0);c(this,"dotContent","");c(this,"dataHash","");this.tplRef=t}set dataMerge(t){this._dataMerge=this.isNumeric(t)?t:1}get dataMerge(){return this._dataMerge}isNumeric(t){return!isNaN(parseFloat(t))}};c(n,"\u0275fac",function(e){return new(e||n)(I(Se))}),c(n,"\u0275dir",ve({type:n,selectors:[["ng-template","carouselSlide",""]],inputs:{id:"id",dataMerge:"dataMerge",width:"width",dotContent:"dotContent",dataHash:"dataHash"}}));let r=n;return r})(),tn=(()=>{let n=class n{constructor(t,e,i){c(this,"resizeObservable$");c(this,"docRef");this.docRef=e,this.resizeObservable$=Ft(i)?_i(t,"resize"):new X().asObservable()}get onResize$(){return this.resizeObservable$.pipe(Bt(()=>!this.docRef?.fullscreenElement))}};c(n,"\u0275fac",function(e){return new(e||n)(Q(ei),Q(Ie),Q(It))}),c(n,"\u0275prov",ot({token:n,factory:n.\u0275fac}));let r=n;return r})(),Un=(()=>{let n=class n{constructor(t,e,i,s,o){c(this,"zone");c(this,"el");c(this,"renderer");c(this,"carouselService");c(this,"animateService");c(this,"owlDraggable");c(this,"stageData");c(this,"slidesData");c(this,"listenerMouseMove");c(this,"listenerTouchMove");c(this,"listenerOneMouseMove");c(this,"listenerOneTouchMove");c(this,"listenerMouseUp");c(this,"listenerTouchEnd");c(this,"listenerOneClick");c(this,"listenerATag");c(this,"_drag",{time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null,active:!1,moving:!1});c(this,"_oneDragMove$",new X);c(this,"_oneMoveSubsription");c(this,"preparePublicSlide",t=>{let e=N({},t);return delete e.tplRef,e});c(this,"bindOneMouseTouchMove",t=>{this._oneMouseTouchMove(t)});c(this,"bindOnDragMove",t=>{this._onDragMove(t)});c(this,"bindOnDragEnd",t=>{this._onDragEnd(t)});c(this,"_oneClickHandler",()=>{this.listenerOneClick=this.renderer.listen(this._drag.target,"click",()=>!1),this.listenerOneClick()});this.zone=t,this.el=e,this.renderer=i,this.carouselService=s,this.animateService=o}onMouseDown(t){this.owlDraggable.isMouseDragable&&this._onDragStart(t)}onTouchStart(t){if(t.targetTouches.length>=2)return!1;this.owlDraggable.isTouchDragable&&this._onDragStart(t)}onTouchCancel(t){this._onDragEnd(t)}
1onDragStart(){if(this.owlDraggable.isMouseDragable)return!1}onSelectStart(){if(this.owlDraggable.isMouseDragable)return!1}ngOnInit(){this._oneMoveSubsription=this._oneDragMove$.pipe(me()).subscribe(()=>{this._sendChanges()})}ngOnDestroy(){this._oneMoveSubsription.unsubscribe()}_onDragStart(t){let e=null;t.which!==3&&(e=this._prepareDragging(t),this._drag.time=new Date().getTime(),this._drag.target=t.target,this._drag.stage.start=e,this._drag.stage.current=e,this._drag.pointer=this._pointer(t),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(t){let e=this._difference(this._drag.pointer,this._pointer(t));this.listenerATag&&this.listenerATag(),!(Math.abs(e.x)<3&&Math.abs(e.y)<3&&this._is("valid"))&&(Math.abs(e.x)<3&&Math.abs(e.x)<Math.abs(e.y)&&this._is("valid")||(this.listenerOneMouseMove(),this.listenerOneTouchMove(),this._drag.moving=!0,this.blockClickAnchorInDragging(t),this.listenerMouseMove=this.renderer.listen(document,"mousemove",this.bindOnDragMove),this.listenerTouchMove=this.renderer.listen(document,"touchmove",this.bindOnDragMove),t.preventDefault(),this._enterDragging(),this._oneDragMove$.next(t)))}blockClickAnchorInDragging(t){let e=t.target;for(;e&&!(e instanceof HTMLAnchorElement);)e=e.parentElement;e instanceof HTMLAnchorElement&&(this.listenerATag=this.renderer.listen(e,"click",()=>!1))}_onDragMove(t){let e,i=this.carouselService.defineNewCoordsDrag(t,this._drag);i!==!1&&(e=i,t.preventDefault(),this._drag.stage.current=e,this._animate(e.x-this._drag.stage.start.x))}_animate(t){this.renderer.setStyle(this.el.nativeElement.children[0],"transform",`translate3d(${t}px,0px,0px`),this.renderer.setStyle(this.el.nativeElement.children[0],"transition","0s")}_onDragEnd(t){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(t),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(t){return this.carouselService.prepareDragging(t)}_finishDragging(t){this.carouselService.finishDragging(t,this._drag,this._oneClickHandler)}_pointer(t){return this.carouselService.pointer(t)}_difference(t,e){return this.carouselService.difference(t,e)}_is(t){return this.carouselService.is(t)}_enter(t){this.carouselService.enter(t)}_sendChanges(){this.carouselService.sendChanges()}onTransitionEnd(){this.carouselService.onTransitionEnd()}_enterDragging(){this.carouselService.enterDragging()}clear(t){this.animateService.clear(t)}};c(n,"\u0275fac",function(e){return new(e||n)(I(Ve),I(ne),I(be),I(xt),I(Je))}),c(n,"\u0275cmp",kt({type:n,selectors:[["owl-stage"]],hostBindings:function(e,i){e&1&&B("mousedown",function(o){return i.onMouseDown(o)})("touchstart",function(o){return i.onTouchStart(o)})("touchcancel",function(o){return i.onTouchCancel(o)})("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,"transitionend","ngStyle"],[4,"ngFor","ngForOf"],[1,"owl-item",3,"animationend","ngClass","ngStyle"],[4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(e,i){e&1&&(A(0,"div")(1,"div",0),B("transitionend",function(){return i.onTransitionEnd()}),j(2,Pn,3,9,"ng-container",1),F()()),e&2&&(w(),C("ngStyle",We(2,wn,i.stageData.width+"px",i.stageData.transform,i.stageData.transition,i.stageData.paddingL?i.stageData.paddingL+"px":"",i.stageData.paddingR?i.stageData.paddingR+"px":"")),w(),C("ngForOf",i.slidesData))},dependencies:[se,Rt,zt,Gt,ki],encapsulation:2,data:{animation:[Li("autoHeight",[Qe("nulled",Ue({height:0})),Qe("full",Ue({height:"*"})),Ge("full => nulled",[qe("700ms 350ms")]),Ge("nulled => full",[qe(350)])])]}}));let r=n;return r})(),en=(()=>{let n=class n{constructor(t,e,i,s,o,l,u,h,d,p,S,f){c(this,"el");c(this,"resizeService");c(this,"carouselService");c(this,"navigationService");c(this,"autoplayService");c(this,"lazyLoadService");c(this,"animateService");c(this,"autoHeightService");c(this,"hashService");c(this,"logger");c(this,"changeDetectorRef");c(this,"slides");c(this,"translated",new Wt);c(this,"dragging",new Wt);c(this,"change",new Wt);c(this,"changed",new Wt);c(this,"initialized",new Wt);c(this,"carouselWindowWidth");c(this,"resizeSubscription");c(this,"_allObservSubscription");c(this,"_slidesChangesSubscription");c(this,"owlDOMData");c(this,"stageData");c(this,"slidesData",[]);c(this,"navData");c(this,"dotsData");c(this,"slidesOutputData");c(this,"carouselLoaded",!1);c(this,"options");c(this,"prevOptions");c(this,"_viewCurSettings$");c(this,"_translatedCarousel$");c(this,"_draggingCarousel$");c(this,"_changeCarousel$");c(this,"_changedCarousel$");c(this,"_initializedCarousel$");c(this,"_carouselMerge$");c(this,"docRef");this.el=t,this.resizeService=e,this.carouselService=i,this.navigationService=s,this.autoplayService=o,this.lazyLoadService=l,this.animateService=u,this.autoHeightService=h,this.hashService=d,this.logger=p,this.changeDetectorRef=S,this.docRef=f}onVisibilityChange(t){if(this.carouselService.settings.autoplay)switch(this.docRef.visibilityState){case"visible":!this.autoplayService.isAutoplayStopped&&this.autoplayService.play();break;case"hidden":this.autoplayService.pause();break;default:break}}
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(z(t=>{this.carouselService.setup(this.carouselWindowWidth,t.toArray(),this.options),this.carouselService.initialize(t.toArray()),t.toArray().length||(this.carouselLoaded=!1),t.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(z(t=>{this.owlDOMData=t.owlDOMData,this.stageData=t.stageData,this.slidesData=t.slidesData,this.carouselLoaded||(this.carouselLoaded=!0),this.navData=t.navData,this.dotsData=t.dotsData,this.changeDetectorRef.markForCheck()})),this._initializedCarousel$=this.carouselService.getInitializedState().pipe(z(()=>{this.gatherTranslatedData(),this.initialized.emit(this.slidesOutputData)})),this._translatedCarousel$=this.carouselService.getTranslatedState().pipe(z(()=>{this.gatherTranslatedData(),this.translated.emit(this.slidesOutputData)})),this._changeCarousel$=this.carouselService.getChangeState().pipe(z(()=>{this.gatherTranslatedData(),this.change.emit(this.slidesOutputData)})),this._changedCarousel$=this.carouselService.getChangeState().pipe(Ht(t=>{let e=ie(t).pipe(Bt(()=>t.property.name==="position"),Ht(()=>vi(this.slidesData)),Be(t.property.value),$e(this.carouselService.settings.items),Pt(i=>{let s=this.carouselService.clonedIdPrefix,o=i.id.indexOf(s)>=0?i.id.slice(s.length):i.id;return Mt(N({},i),{id:o,isActive:!0})}),Si(),Pt(i=>({slides:i,startPosition:this.carouselService.relative(t.property.value)})));return gt(e)}),z(t=>{this.gatherTranslatedData(),this.changed.emit(t.slides.length?t:this.slidesOutputData)})),this._draggingCarousel$=this.carouselService.getDragState().pipe(z(()=>{this.gatherTranslatedData(),this.dragging.emit({dragging:!0,data:this.slidesOutputData})}),Ht(()=>this.carouselService.getDraggedState().pipe(Pt(()=>!!this.carouselService.is("animating")))),Ht(t=>t?this.carouselService.getTranslatedState().pipe(me()):ie("not animating")),z(()=>{this.dragging.emit({dragging:!1,data:this.slidesOutputData})})),this._carouselMerge$=gt(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(Bt(()=>this.carouselWindowWidth!==this.el.nativeElement.querySelector(".owl-carousel").clientWidth),bi(this.carouselService.settings.responsiveRefreshRate)).subscribe(()=>{this.carouselService.onResize(this.el.nativeElement.querySelector(".owl-carousel").clientWidth),this.carouselWindowWidth=this.el.nativeElement.querySelector(".owl-carousel").clientWidth}))}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(t){this.carouselLoaded&&this.navigationService.moveByDot(t)}to(t){this.carouselLoaded&&this.navigationService.toSlideById(t)}gatherTranslatedData(){let t,e=this.carouselService.clonedIdPrefix,i=this.slidesData.filter(s=>s.isActive===!0).map(s=>({id:s.id.indexOf(e)>=0?s.id.slice(e.length):s.id,width:s.width,marginL:s.marginL,marginR:s.marginR,center:s.isCentered}));t=this.carouselService.relative(this.carouselService.current()),this.slidesOutputData={startPosition:t,slides:i}}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()}};c(n,"\u0275fac",function(e){return new(e||n)(I(ne),I(tn),I(xt),I(Qi),I(Gi),I(Ki),I(Je),I(Yi),I(Zi),I(ti),I(Ei),I(Ie))}),c(n,"\u0275cmp",kt({type:n,selectors:[["owl-carousel-o"]],contentQueries:function(e,i,s){if(e&1&&Ce(s,ii,4),e&2){let o;mt(o=vt())&&(i.slides=o)}},hostBindings:function(e,i){e&1&&B("visibilitychange",function(o){return i.onVisibilityChange(o)},!1,xi)},inputs:{options:"options"},outputs:{translated:"translated",dragging:"dragging",change:"change",changed:"changed",initialized:"initialized"},features:[Mi([Qi,Gi,xt,Ki,Je,Yi,Zi]),Ci],decls:4,vars:9,consts:[["owlCarousel",""],[1,"owl-carousel","owl-theme",3,"mouseover","mouseleave","touchstart","touchend","ngClass"],["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,"click","ngClass","innerHTML"],[1,"owl-next",3,"click","ngClass","innerHTML"],[1,"owl-dots",3,"ngClass"],["class","owl-dot",3,"ngClass","click",4,"ngFor","ngForOf"],[1,"owl-dot",3,"click","ngClass"],[3,"innerHTML"]],template:function(e,i){if(e&1){let s=tt();A(0,"div",1,0),B("mouseover",function(){return W(s),q(i.startPausing())})("mouseleave",function(){return W(s),q(i.startPlayML())})("touchstart",function(){return W(s),q(i.startPausing())})("touchend",function(){return W(s),q(i.startPlayTE())}),j(2,kn,2,6,"div",2)(3,Ln,6,15,"ng-container",3),F()}e&2&&(C("ngClass",We(3,In,i.owlDOMData==null?null:i.owlDOMData.rtl,i.owlDOMData==null?null:i.owlDOMData.isLoaded,i.owlDOMData==null?null:i.owlDOMData.isResponsive,i.owlDOMData==null?null:i.owlDOMData.isMouseDragable,i.owlDOMData==null?null:i.owlDOMData.isGrab)),w(2),C("ngIf",i.carouselLoaded),w(),C("ngIf",i.slides.toArray().length))},dependencies:[se,Rt,zt,Un],styles:[".owl-theme[_ngcontent-%COMP%]{display:block}"],changeDetection:0}));let r=n;return r})();var nn=(()=>{let n=class n{};c(n,"\u0275fac",function(e){return new(e||n)}),c(n,"\u0275mod",jt({type:n})),c(n,"\u0275inj",Vt({providers:[Nn,tn,Wn,ti],imports:[Kt]}));let r=n;return r})();function ri(r){return typeof r=="number"}function ni(r){return typeof r=="string"}function Te(r){return typeof r=="boolean"}function sn(r){return Object.prototype.toString.call(r)==="[object Object]"}function H(r){return Math.abs(r)}function oi(r){return Math.sign(r)}function ue(r,n){return H(r-n)}
vendor: 20,104 bytes, line 1
1function Gn(r,n){if(r===0||n===0||H(r)<=H(n))return 0;let a=ue(H(r),H(n));return H(a/r)}function Kn(r){return Math.round(r*100)/100}function de(r){return he(r).map(Number)}function ht(r){return r[fe(r)]}function fe(r){return Math.max(0,r.length-1)}function ai(r,n){return n===fe(r)}function rn(r,n=0){return Array.from(Array(r),(a,t)=>n+t)}function he(r){return Object.keys(r)}function on(r,n){return[r,n].reduce((a,t)=>(he(t).forEach(e=>{let i=a[e],s=t[e],o=sn(i)&&sn(s);a[e]=o?on(i,s):s}),a),{})}function si(r,n){return typeof n.MouseEvent<"u"&&r instanceof n.MouseEvent}function Yn(r,n){let a={start:t,center:e,end:i};function t(){return 0}function e(l){return i(l)/2}function i(l){return n-l}function s(l,u){return ni(r)?a[r](l):r(n,l,u)}return{measure:s}}function pe(){let r=[];function n(e,i,s,o={passive:!0}){let l;if("addEventListener"in e)e.addEventListener(i,s,o),l=()=>e.removeEventListener(i,s,o);else{let u=e;u.addListener(s),l=()=>u.removeListener(s)}return r.push(l),t}function a(){r=r.filter(e=>e())}let t={add:n,clear:a};return t}function Zn(r,n,a,t){let e=pe(),i=1e3/60,s=null,o=0,l=0;function u(){e.add(r,"visibilitychange",()=>{r.hidden&&f()})}function h(){S(),e.clear()}function d(v){if(!l)return;s||(s=v,a(),a());let g=v-s;for(s=v,o+=g;o>=i;)a(),o-=i;let _=o/i;t(_),l&&(l=n.requestAnimationFrame(d))}function p(){l||(l=n.requestAnimationFrame(d))}function S(){n.cancelAnimationFrame(l),s=null,o=0,l=0}function f(){s=null,o=0}return{init:u,destroy:h,start:p,stop:S,update:a,render:t}}function Xn(r,n){let a=n==="rtl",t=r==="y",e=t?"y":"x",i=t?"x":"y",s=!t&&a?-1:1,o=h(),l=d();function u(f){let{height:m,width:v}=f;return t?m:v}function h(){return t?"top":a?"right":"left"}function d(){return t?"bottom":a?"left":"right"}function p(f){return f*s}return{scroll:e,cross:i,startEdge:o,endEdge:l,measureSize:u,direction:p}}function $t(r=0,n=0){let a=H(r-n);function t(u){return u<r}function e(u){return u>n}function i(u){return t(u)||e(u)}function s(u){return i(u)?t(u)?r:n:u}function o(u){return a?u-a*Math.ceil((u-n)/a):u}return{length:a,max:n,min:r,constrain:s,reachedAny:i,reachedMax:e,reachedMin:t,removeOffset:o}}function an(r,n,a){let{constrain:t}=$t(0,r),e=r+1,i=s(n);function s(p){return a?H((e+p)%e):t(p)}function o(){return i}function l(p){return i=s(p),d}function u(p){return h().set(o()+p)}function h(){return an(r,o(),a)}let d={get:o,set:l,add:u,clone:h};return d}function Jn(r,n,a,t,e,i,s,o,l,u,h,d,p,S,f,m,v,g,_){let{cross:y,direction:M}=r,k=["INPUT","SELECT","TEXTAREA"],P={passive:!1},D=pe(),x=pe(),T=$t(50,225).constrain(S.measure(20)),V={mouse:300,touch:400},E={mouse:500,touch:600},G=f?43:25,ct=!1,L=0,K=0,it=!1,nt=!1,ut=!1,dt=!1;function pt(b){if(!_)return;function R(Z){(Te(_)||_(b,Z))&&Jt(Z)}let U=n;D.add(U,"dragstart",Z=>Z.preventDefault(),P).add(U,"touchmove",()=>{},P).add(U,"touchend",()=>{}).add(U,"touchstart",R).add(U,"mousedown",R).add(U,"touchcancel",Y).add(U,"contextmenu",Y).add(U,"click",Ct,!0)}function st(){D.clear(),x.clear()}function St(){let b=dt?a:n;x.add(b,"touchmove",et,P).add(b,"touchend",Y).add(b,"mousemove",et,P).add(b,"mouseup",Y)}function bt(b){let R=b.nodeName||"";return k.includes(R)}function yt(){return(f?E:V)[dt?"mouse":"touch"]}function Xt(b,R){let U=d.add(oi(b)*-1),Z=h.byDistance(b,!f).distance;return f||H(b)<T?Z:v&&R?Z*.5:h.byIndex(U.get(),0).distance}function Jt(b){let R=si(b,t);dt=R,ut=f&&R&&!b.buttons&&ct,ct=ue(e.get(),s.get())>=2,!(R&&b.button!==0)&&(bt(b.target)||(it=!0,i.pointerDown(b),u.useFriction(0).useDuration(0),e.set(s),St(),L=i.readPoint(b),K=i.readPoint(b,y),p.emit("pointerDown")))}function et(b){if(!si(b,t)&&b.touches.length>=2)return Y(b);let U=i.readPoint(b),Z=i.readPoint(b,y),ft=ue(U,L),wt=ue(Z,K);if(!nt&&!dt&&(!b.cancelable||(nt=ft>wt,!nt)))return Y(b);let Tt=i.pointerMove(b);ft>m&&(ut=!0),u.useFriction(.3).useDuration(.75),o.start(),e.add(M(Tt)),b.preventDefault()}function Y(b){let U=h.byDistance(0,!1).index!==d.get(),Z=i.pointerUp(b)*yt(),ft=Xt(M(Z),U),wt=Gn(Z,ft),Tt=G-10*wt,Ot=g+wt/50;nt=!1,it=!1,x.clear(),u.useDuration(Tt).useFriction(Ot),l.distance(ft,!f),dt=!1,p.emit("pointerUp")}function Ct(b){ut&&(b.stopPropagation(),b.preventDefault(),ut=!1)}function rt(){return it}return{init:pt,destroy:st,pointerDown:rt}}function ts(r,n){let t,e;function i(d){return d.timeStamp}function s(d,p){let f=`client${(p||r.scroll)==="x"?"X":"Y"}`;return(si(d,n)?d:d.touches[0])[f]}function o(d){return t=d,e=d,s(d)}function l(d){let p=s(d)-s(e),S=i(d)-i(t)>170;return e=d,S&&(t=d),p}function u(d){if(!t||!e)return 0;let p=s(e)-s(t),S=i(d)-i(t),f=i(d)-i(e)>170,m=p/S;return S&&!f&&H(m)>.1?m:0}return{pointerDown:o,pointerMove:l,pointerUp:u,readPoint:s}}function es(){function r(a){let{offsetTop:t,offsetLeft:e,offsetWidth:i,offsetHeight:s}=a;return{top:t,right:e+i,bottom:t+s,left:e,width:i,height:s}}return{measure:r}}function is(r){function n(t){return r*(t/100)}return{measure:n}}function ns(r,n,a,t,e,i,s){let o=[r].concat(t),l,u,h=[],d=!1;function p(v){return e.measureSize(s.measure(v))}function S(v){if(!i)return;u=p(r),h=t.map(p);function g(_){for(let y of _){if(d)return;let M=y.target===r,k=t.indexOf(y.target),P=M?u:h[k],D=p(M?r:t[k]);if(H(D-P)>=.5){v.reInit(),n.emit("resize");break}}}l=new ResizeObserver(_=>{(Te(i)||i(v,_))&&g(_)}),a.requestAnimationFrame(()=>{o.forEach(_=>l.observe(_))})}function f(){d=!0,l&&l.disconnect()}return{init:S,destroy:f}}function ss(r,n,a,t,e,i){let s=0,o=0,l=e,u=i,h=r.get(),d=0;function p(){let P=t.get()-r.get(),D=!l,x=0;return D?(s=0,a.set(t),r.set(t),x=P):(a.set(r),s+=P/l,s*=u,h+=s,r.add(s),x=h-d),o=oi(x),d=h,k}function S(){let P=t.get()-n.get();return H(P)<.001}function f(){return l}function m(){return o}function v(){return s}function g(){return y(e)}function _(){return M(i)}function y(P){return l=P,k}function M(P){return u=P,k}let k={direction:m,duration:f,velocity:v,seek:p,settled:S,useBaseFriction:_,useBaseDuration:g,useFriction:M,useDuration:y};return k}function rs(r,n,a,t,e){let i=e.measure(10),s=e.measure(50),o=$t(.1,.99),l=!1;function u(){return!(l||!r.reachedAny(a.get())||!r.reachedAny(n.get()))}function h(S){if(!u())return;let f=r.reachedMin(n.get())?"min":"max",m=H(r[f]-n.get()),v=a.get()-n.get(),g=o.constrain(m/s);a.subtract(v*g),!S&&H(v)<i&&(a.set(r.constrain(a.get())),t.useDuration(25).useBaseFriction())}function d(S){l=!S}return{shouldConstrain:u,constrain:h,toggleActive:d}}function os(r,n,a,t,e){let i=$t(-n+r,0),s=d(),o=h(),l=p();function u(f,m){return ue(f,m)<=1}function h(){let f=s[0],m=ht(s),v=s.lastIndexOf(f),g=s.indexOf(m)+1;return $t(v,g)}function d(){return a.map((f,m)=>{let{min:v,max:g}=i,_=i.constrain(f),y=!m,M=ai(a,m);return y?g:M||u(v,_)?v:u(g,_)?g:_}).map(f=>parseFloat(f.toFixed(3)))}function p(){if(n<=r+e)return[i.max];if(t==="keepSnaps")return s;let{min:f,max:m}=o;return s.slice(f,m)}return{snapsContained:l,scrollContainLimit:o}}function as(r,n,a){let t=n[0],e=a?t-r:ht(n);return{limit:$t(e,t)}}function ls(r,n,a,t){let i=n.min+.1,s=n.max+.1,{reachedMin:o,reachedMax:l}=$t(i,s);function u(p){return p===1?l(a.get()):p===-1?o(a.get()):!1}function h(p){if(!u(p))return;let S=r*(p*-1);t.forEach(f=>f.add(S))}return{loop:h}}function cs(r){let{max:n,length:a}=r;function t(i){let s=i-n;return a?s/-a:0}return{get:t}}function us(r,n,a,t,e){let{startEdge:i,endEdge:s}=r,{groupSlides:o}=e,l=d().map(n.measure),u=p(),h=S();function d(){return o(t).map(m=>ht(m)[s]-m[0][i]).map(H)}function p(){return t.map(m=>a[i]-m[i]).map(m=>-H(m))}function S(){return o(u).map(m=>m[0]).map((m,v)=>m+l[v])}return{snaps:u,snapsAligned:h}}function ds(r,n,a,t,e,i){let{groupSlides:s}=e,{min:o,max:l}=t,u=h();function h(){let p=s(i),S=!r||n==="keepSnaps";return a.length===1?[i]:S?p:p.slice(o,l).map((f,m,v)=>{let g=!m,_=ai(v,m);if(g){let y=ht(v[0])+1;return rn(y)}if(_){let y=fe(i)-ht(v)[0]+1;return rn(y,ht(v)[0])}return f})}return{slideRegistry:u}}function hs(r,n,a,t,e){let{reachedAny:i,removeOffset:s,constrain:o}=t;function l(f){return f.concat().sort((m,v)=>H(m)-H(v))[0]}function u(f){let m=r?s(f):o(f),v=n.map((_,y)=>({diff:h(_-m,0),index:y})).sort((_,y)=>H(_.diff)-H(y.diff)),{index:g}=v[0];return{index:g,distance:m}}function h(f,m){let v=[f,f+a,f-a];if(!r)return f;if(!m)return l(v);let g=v.filter(_=>oi(_)===m);return g.length?l(g):ht(v)-a}function d(f,m){let v=n[f]-e.get(),g=h(v,m);return{index:f,distance:g}}function p(f,m){let v=e.get()+f,{index:g,distance:_}=u(v),y=!r&&i(v);if(!m||y)return{index:g,distance:f};let M=n[g]-_,k=f+h(M,0);return{index:g,distance:k}}return{byDistance:p,byIndex:d,shortcut:h}}function ps(r,n,a,t,e,i,s){function o(d){let p=d.distance,S=d.index!==n.get();i.add(p),p&&(t.duration()?r.start():(r.update(),r.render(1),r.update())),S&&(a.set(n.get()),n.set(d.index),s.emit("select"))}function l(d,p){let S=e.byDistance(d,p);o(S)}function u(d,p){let S=n.clone().set(d),f=e.byIndex(S.get(),p);o(f)}return{distance:l,index:u}}function fs(r,n,a,t,e,i,s,o){let l={passive:!0,capture:!0},u=0;function h(S){if(!o)return;function f(m){if(new Date().getTime()-u>10)return;s.emit("slideFocusStart"),r.scrollLeft=0;let _=a.findIndex(y=>y.includes(m));ri(_)&&(e.useDuration(0),t.index(_,0),s.emit("slideFocus"))}i.add(document,"keydown",d,!1),n.forEach((m,v)=>{i.add(m,"focus",g=>{(Te(o)||o(S,g))&&f(v)},l)})}function d(S){S.code==="Tab"&&(u=new Date().getTime())}return{init:h}}function ce(r){let n=r;function a(){return n}function t(l){n=s(l)}function e(l){n+=s(l)}function i(l){n-=s(l)}function s(l){return ri(l)?l:l.get()}return{get:a,set:t,add:e,subtract:i}}function ln(r,n){let a=r.scroll==="x"?s:o,t=n.style,e=null,i=!1;function s(p){return`translate3d(${p}px,0px,0px)`}function o(p){return`translate3d(0px,${p}px,0px)`}function l(p){if(i)return;let S=Kn(r.direction(p));S!==e&&(t.transform=a(S),e=S)}function u(p){i=!p}function h(){i||(t.transform="",n.getAttribute("style")||n.removeAttribute("style"))}return{clear:h,to:l,toggleActive:u}}function gs(r,n,a,t,e,i,s,o,l){let h=de(e),d=de(e).reverse(),p=g().concat(_());function S(D,x){return D.reduce((T,V)=>T-e[V],x)}function f(D,x){return D.reduce((T,V)=>S(T,x)>0?T.concat([V]):T,[])}function m(D){return i.map((x,T)=>({start:x-t[T]+.5+D,end:x+n-.5+D}))}function v(D,x,T){let V=m(x);return D.map(E=>{let G=T?0:-a,ct=T?a:0,L=T?"end":"start",K=V[E][L];return{index:E,loopPoint:K,slideLocation:ce(-1),translate:ln(r,l[E]),target:()=>o.get()>K?G:ct}})}function g(){let D=s[0],x=f(d,D);return v(x,a,!1)}function _(){let D=n-s[0]-1,x=f(h,D);return v(x,-a,!0)}function y(){return p.every(({index:D})=>{let x=h.filter(T=>T!==D);return S(x,n)<=.1})}function M(){p.forEach(D=>{let{target:x,translate:T,slideLocation:V}=D,E=x();E!==V.get()&&(T.to(E),V.set(E))})}function k(){p.forEach(D=>D.translate.clear())}return{canLoop:y,clear:k,loop:M,loopPoints:p}}function ms(r,n,a){let t,e=!1;function i(l){if(!a)return;function u(h){for(let d of h)if(d.type==="childList"){l.reInit(),n.emit("slidesChanged");break}}t=new MutationObserver(h=>{e||(Te(a)||a(l,h))&&u(h)}),t.observe(r,{childList:!0})}function s(){t&&t.disconnect(),e=!0}return{init:i,destroy:s}}function vs(r,n,a,t){let e={},i=null,s=null,o,l=!1;function u(){o=new IntersectionObserver(f=>{l||(f.forEach(m=>{let v=n.indexOf(m.target);e[v]=m}),i=null,s=null,a.emit("slidesInView"))},{root:r.parentElement,threshold:t}),n.forEach(f=>o.observe(f))}function h(){o&&o.disconnect(),l=!0}function d(f){return he(e).reduce((m,v)=>{let g=parseInt(v),{isIntersecting:_}=e[g];return(f&&_||!f&&!_)&&m.push(g),m},[])}function p(f=!0){if(f&&i)return i;if(!f&&s)return s;let m=d(f);return f&&(i=m),f||(s=m),m}return{init:u,destroy:h,get:p}}function _s(r,n,a,t,e,i){let{measureSize:s,startEdge:o,endEdge:l}=r,u=a[0]&&e,h=f(),d=m(),p=a.map(s),S=v();function f(){if(!u)return 0;let _=a[0];return H(n[o]-_[o])}function m(){if(!u)return 0;let _=i.getComputedStyle(ht(t));return parseFloat(_.getPropertyValue(`margin-${l}`))}function v(){return a.map((_,y,M)=>{let k=!y,P=ai(M,y);return k?p[y]+h:P?p[y]+d:M[y+1][o]-_[o]}).map(H)}return{slideSizes:p,slideSizesWithGaps:S,startGap:h,endGap:d}}function Ss(r,n,a,t,e,i,s,o,l){let{startEdge:u,endEdge:h,direction:d}=r,p=ri(a);function S(g,_){return de(g).filter(y=>y%_===0).map(y=>g.slice(y,y+_))}function f(g){return g.length?de(g).reduce((_,y,M)=>{let k=ht(_)||0,P=k===0,D=y===fe(g),x=e[u]-i[k][u],T=e[u]-i[y][h],V=!t&&P?d(s):0,E=!t&&D?d(o):0,G=H(T-E-(x+V));return M&&G>n+l&&_.push(y),D&&_.push(g.length),_},[]).map((_,y,M)=>{let k=Math.max(M[y-1]||0);return g.slice(k,_)}):[]}function m(g){return p?S(g,a):f(g)}return{groupSlides:m}}function bs(r,n,a,t,e,i,s){let{align:o,axis:l,direction:u,startIndex:h,loop:d,duration:p,dragFree:S,dragThreshold:f,inViewThreshold:m,slidesToScroll:v,skipSnaps:g,containScroll:_,watchResize:y,watchSlides:M,watchDrag:k,watchFocus:P}=i,D=2,x=es(),T=x.measure(n),V=a.map(x.measure),E=Xn(l,u),G=E.measureSize(T),ct=is(G),L=Yn(o,G),K=!d&&!!_,it=d||!!_,{slideSizes:nt,slideSizesWithGaps:ut,startGap:dt,endGap:pt}=_s(E,T,V,a,it,e),st=Ss(E,G,v,d,T,V,dt,pt,D),{snaps:St,snapsAligned:bt}=us(E,L,T,V,st),yt=-ht(St)+ht(ut),{snapsContained:Xt,scrollContainLimit:Jt}=os(G,yt,bt,_,D),et=K?Xt:bt,{limit:Y}=as(yt,et,d),Ct=an(fe(et),h,d),rt=Ct.clone(),$=de(a),b=({dragHandler:Nt,scrollBody:ze,scrollBounds:Fe,options:{loop:ge}})=>{ge||Fe.constrain(Nt.pointerDown()),ze.seek()},R=({scrollBody:Nt,translate:ze,location:Fe,offsetLocation:ge,previousLocation:gn,scrollLooper:mn,slideLooper:vn,dragHandler:_n,animation:Sn,eventHandler:di,scrollBounds:bn,options:{loop:hi}},pi)=>{let fi=Nt.settled(),yn=!bn.shouldConstrain(),gi=hi?fi:fi&&yn,mi=gi&&!_n.pointerDown();mi&&Sn.stop();let Cn=Fe.get()*pi+gn.get()*(1-pi);ge.set(Cn),hi&&(mn.loop(Nt.direction()),vn.loop()),ze.to(ge.get()),mi&&di.emit("settle"),gi||di.emit("scroll")},U=Zn(t,e,()=>b(Re),Nt=>R(Re,Nt)),Z=.68,ft=et[Ct.get()],wt=ce(ft),Tt=ce(ft),Ot=ce(ft),Et=ce(ft),te=ss(wt,Ot,Tt,Et,p,Z),Ae=hs(d,et,yt,Y,Et),Le=ps(U,Ct,rt,te,Ae,Et,s),li=cs(Y),ci=pe(),pn=vs(n,a,s,m),{slideRegistry:ui}=ds(K,_,et,Jt,st,$),fn=fs(r,a,ui,Le,te,ci,s,P),Re={ownerDocument:t,ownerWindow:e,eventHandler:s,containerRect:T,slideRects:V,animation:U,axis:E,dragHandler:Jn(E,r,t,e,Et,ts(E,e),wt,U,Le,te,Ae,Ct,s,ct,S,f,g,Z,k),eventStore:ci,percentOfView:ct,index:Ct,indexPrevious:rt,limit:Y,location:wt,offsetLocation:Ot,previousLocation:Tt,options:i,resizeHandler:ns(n,s,e,a,E,y,x),scrollBody:te,scrollBounds:rs(Y,Ot,Et,te,ct),scrollLooper:ls(yt,Y,Ot,[wt,Ot,Tt,Et]),scrollProgress:li,scrollSnapList:et.map(li.get),scrollSnaps:et,scrollTarget:Ae,scrollTo:Le,slideLooper:gs(E,G,yt,nt,ut,St,et,Ot,a),slideFocus:fn,slidesHandler:ms(n,s,M),slidesInView:pn,slideIndexes:$,slideRegistry:ui,slidesToScroll:st,target:Et,translate:ln(E,n)};return Re}function ys(){let r={},n;function a(u){n=u}function t(u){return r[u]||[]}function e(u){return t(u).forEach(h=>h(n,u)),l}function i(u,h){return r[u]=t(u).concat([h]),l}function s(u,h){return r[u]=t(u).filter(d=>d!==h),l}function o(){r={}}let l={init:a,emit:e,off:s,on:i,clear:o};return l}var Cs={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function ws(r){function n(i,s){return on(i,s||{})}function a(i){let s=i.breakpoints||{},o=he(s).filter(l=>r.matchMedia(l).matches).map(l=>s[l]).reduce((l,u)=>n(l,u),{});return n(i,o)}function t(i){return i.map(s=>he(s.breakpoints||{})).reduce((s,o)=>s.concat(o),[]).map(r.matchMedia)}return{mergeOptions:n,optionsAtMedia:a,optionsMediaQueries:t}}function Ds(r){let n=[];function a(i,s){return n=s.filter(({options:o})=>r.optionsAtMedia(o).active!==!1),n.forEach(o=>o.init(i,r)),s.reduce((o,l)=>Object.assign(o,{[l.name]:l}),{})}function t(){n=n.filter(i=>i.destroy())}return{init:a,destroy:t}}function Ee(r,n,a){let t=r.ownerDocument,e=t.defaultView,i=ws(e),s=Ds(i),o=pe(),l=ys(),{mergeOptions:u,optionsAtMedia:h,optionsMediaQueries:d}=i,{on:p,off:S,emit:f}=l,m=E,v=!1,g,_=u(Cs,Ee.globalOptions),y=u(_),M=[],k,P,D;function x(){let{container:$,slides:b}=y;P=(ni($)?r.querySelector($):$)||r.children[0];let U=ni(b)?P.querySelectorAll(b):b;D=[].slice.call(U||P.children)}function T($){let b=bs(r,P,D,t,e,$,l);if($.loop&&!b.slideLooper.canLoop()){let R=Object.assign({},$,{loop:!1});return T(R)}return b}function V($,b){v||(_=u(_,$),y=h(_),M=b||M,x(),g=T(y),d([_,...M.map(({options:R})=>R)]).forEach(R=>o.add(R,"change",E)),y.active&&(g.translate.to(g.location.get()),g.animation.init(),g.slidesInView.init(),g.slideFocus.init(rt),g.eventHandler.init(rt),g.resizeHandler.init(rt),g.slidesHandler.init(rt),g.options.loop&&g.slideLooper.loop(),P.offsetParent&&D.length&&g.dragHandler.init(rt),k=s.init(rt,M)))}function E($,b){let R=st();G(),V(u({startIndex:R},$),b),l.emit("reInit")}function G(){g.dragHandler.destroy(),g.eventStore.clear(),g.translate.clear(),g.slideLooper.clear(),g.resizeHandler.destroy(),g.slidesHandler.destroy(),g.slidesInView.destroy(),g.animation.destroy(),s.destroy(),o.clear()}function ct(){v||(v=!0,o.clear(),G(),l.emit("destroy"),l.clear())}function L($,b,R){!y.active||v||(g.scrollBody.useBaseFriction().useDuration(b===!0?0:y.duration),g.scrollTo.index($,R||0))}function K($){let b=g.index.add(1).get();L(b,$,-1)}function it($){let b=g.index.add(-1).get();L(b,$,1)}function nt(){return g.index.add(1).get()!==st()}function ut(){return g.index.add(-1).get()!==st()}function dt(){return g.scrollSnapList}function pt(){return g.scrollProgress.get(g.offsetLocation.get())}function st(){return g.index.get()}function St(){return g.indexPrevious.get()}function bt(){return g.slidesInView.get()}function yt(){return g.slidesInView.get(!1)}function Xt(){return k}function Jt(){return g}function et(){return r}function Y(){return P}function Ct(){return D}let rt={canScrollNext:nt,canScrollPrev:ut,containerNode:Y,internalEngine:Jt,destroy:ct,off:S,on:p,emit:f,plugins:Xt,previousScrollSnap:St,reInit:m,rootNode:et,scrollNext:K,scrollPrev:it,scrollProgress:pt,scrollSnapList:dt,scrollTo:L,selectedScrollSnap:st,slideNodes:Ct,slidesInView:bt,slidesNotInView:yt};return V(n,a),setTimeout(()=>l.emit("init"),0),rt}Ee.globalOptions=void 0;var xs={active:!0,breakpoints:{},delay:4e3,jump:!1,playOnInit:!0,stopOnFocusIn:!0,stopOnInteraction:!0,stopOnMouseEnter:!1,stopOnLastSnap:!1,rootNode:null};function Os(r,n){let a=r.scrollSnapList();return typeof n=="number"?a.map(()=>n):n(a,r)}function Ms(r,n){let a=r.rootNode();return n&&n(a)||a}function ke(r={}){let n,a,t,e,i=null,s=0,o=!1,l=!1,u=!1,h=!1;function d(L,K){a=L;let{mergeOptions:it,optionsAtMedia:nt}=K,ut=it(xs,ke.globalOptions),dt=it(ut,r);if(n=nt(dt),a.scrollSnapList().length<=1)return;h=n.jump,t=!1,e=Os(a,n.delay);let{eventStore:pt,ownerDocument:st}=a.internalEngine(),St=!!a.internalEngine().options.watchDrag,bt=Ms(a,n.rootNode);pt.add(st,"visibilitychange",g),St&&a.on("pointerDown",y),St&&!n.stopOnInteraction&&a.on("pointerUp",M),n.stopOnMouseEnter&&pt.add(bt,"mouseenter",k),n.stopOnMouseEnter&&!n.stopOnInteraction&&pt.add(bt,"mouseleave",P),n.stopOnFocusIn&&a.on("slideFocusStart",v),n.stopOnFocusIn&&!n.stopOnInteraction&&pt.add(a.containerNode(),"focusout",m),n.playOnInit&&m()}function p(){a.off("pointerDown",y).off("pointerUp",M).off("slideFocusStart",v),v(),t=!0,o=!1}function S(){let{ownerWindow:L}=a.internalEngine();L.clearTimeout(s),s=L.setTimeout(E,e[a.selectedScrollSnap()]),i=new Date().getTime(),a.emit("autoplay:timerset")}function f(){let{ownerWindow:L}=a.internalEngine();L.clearTimeout(s),s=0,i=null,a.emit("autoplay:timerstopped")}function m(){if(!t){if(_()){u=!0;return}o||a.emit("autoplay:play"),S(),o=!0}}function v(){t||(o&&a.emit("autoplay:stop"),f(),o=!1)}function g(){if(_())return u=o,v();u&&m()}function _(){let{ownerDocument:L}=a.internalEngine();return L.visibilityState==="hidden"}function y(){l||v()}function M(){l||m()}function k(){l=!0,v()}function P(){l=!1,m()}function D(L){typeof L<"u"&&(h=L),m()}function x(){o&&v()}function T(){o&&m()}function V(){return o}function E(){let{index:L}=a.internalEngine(),K=L.clone().add(1).get(),it=a.scrollSnapList().length-1,nt=n.stopOnLastSnap&&K===it;
1if(a.canScrollNext()?a.scrollNext(h):a.scrollTo(0,h),a.emit("autoplay:select"),nt)return v();m()}function G(){if(!i)return null;let L=e[a.selectedScrollSnap()],K=new Date().getTime()-i;return L-K}return{name:"autoplay",options:r,init:d,destroy:p,play:D,stop:x,reset:T,isPlaying:V,timeUntilNext:G}}ke.globalOptions=void 0;var Is=["viewport"],Ts=["nextBtn"],Es=["prevBtn"],ks=(r,n)=>({item:r,index:n});function As(r,n){if(r&1){let a=tt();A(0,"button",10,1),B("click",function(){W(a);let e=O();return q(e.scrollSlide("prev"))}),J(2,"mat-icon",11),F()}if(r&2){let a=O();w(2),C("fontIcon",a.SipCostcoIcon.CHEVRON_LEFT)}}function Ls(r,n){r&1&&ye(0)}function Rs(r,n){if(r&1&&(A(0,"div",12),j(1,Ls,1,0,"ng-container",13),F()),r&2){let a=n.$implicit,t=n.index,e=O();je("min-width",e.slideWidth,"%"),w(),C("ngTemplateOutlet",e.template)("ngTemplateOutletContext",_t(4,ks,a,t))}}function zs(r,n){if(r&1){let a=tt();A(0,"button",14,2),B("click",function(){W(a);let e=O();return q(e.scrollSlide("next"))}),J(2,"mat-icon",11),F()}if(r&2){let a=O();w(2),C("fontIcon",a.SipCostcoIcon.CHEVRON_RIGHT)}}function Fs(r,n){if(r&1){let a=tt();A(0,"button",18),at(1,"async"),B("click",function(){let e=W(a).index,i=O(2);return q(i.goToSlide(e))}),J(2,"mat-icon",11),at(3,"async"),F()}if(r&2){let a=n.index,t=O(2);At("aria-current",lt(1,3,t.activeIndex$)===a)("aria-label","Promo "+(a+1)+" of "+t.dots.length),w(2),C("fontIcon",lt(3,5,t.activeIndex$)===a?t.SipCostcoIcon.DOT_FILLED:t.SipCostcoIcon.DOT)}}function $s(r,n){if(r&1){let a=tt();A(0,"button",19),B("click",function(){W(a);let e=O(2);return q(e.toggleAutoPlay())}),J(1,"mat-icon",11),F()}if(r&2){let a=O(2);At("aria-label",a.isAutoplayRunning?"Pause":"Play"),w(),C("fontIcon",a.isAutoplayRunning?a.SipCostcoIcon.PAUSE:a.SipCostcoIcon.PLAY)}}function Ns(r,n){if(r&1&&(A(0,"div",15),j(1,Fs,4,7,"button",16)(2,$s,2,2,"button",17),F()),r&2){let a=O();w(),C("ngForOf",a.dots),w(),C("ngIf",a.customOptions.autoplay)}}var Zt=(()=>{let n=class n{constructor(t,e){this.platformId=t,this.windowRef=e,this.items=[],this.SipCostcoIcon=Yt,this.slidesPerView=1,this.dots=[],this.showPrevNext$=new ee(!1),this.activeIndex$=new ee(0),this.isBrowser=Ft(this.platformId),this.defaultOptions=re,this.customOptions={},this.autoplayPlugin=null,this.isAutoplayRunning=!1,this.wasAutoPlayRunning=!1,this.isKeyboardNav=!1}ngOnInit(){this.customOptions=this.options,this.updateSlidesToShow()}ngAfterViewInit(){this.viewportRef&&this.isBrowser&&this.initializeEmbla()}handleFocus(t){this.wasAutoPlayRunning=this.autoplayPlugin?.isPlaying(),this.wasAutoPlayRunning&&(this.wasAutoPlayRunning=!1,this.autoplayPlugin.stop())}handleBlur(t){!t.relatedTarget?.hasAttribute("emblaControl")&&!this.wasAutoPlayRunning&&this.autoplayPlugin&&(this.autoplayPlugin.play(),this.wasAutoPlayRunning=!0)}handleResize(){this.isBrowser&&this.embla&&this.reInit()}handleKeyDown(t){if(!this.isBrowser||!this.embla||t.key!=="Tab"||!this.showPrevNext$.value)return;let e=t.shiftKey,i=t.target;this.isKeyboardNav=!0;let s=this.embla.slidesInView();if(!s.length)return;let o=this.embla.slideNodes(),l=o[s[0]],u=o[s[s.length-1]];if(!l||!u)return;let h=f=>Array.from(f.querySelectorAll('a[href], button:not([disabled]), input, textarea, select, [tabindex]:not([tabindex="-1"])')),d=h(l)[0],p=h(u),S=p[p.length-1];if(!e&&i===S){t.preventDefault(),this.nextButtonRef?.nativeElement.focus();return}if(e&&i===d){t.preventDefault(),this.prevButtonRef?.nativeElement.focus();return}if(e&&i===this.nextButtonRef?.nativeElement&&S){t.preventDefault(),S.focus();return}!e&&i===this.prevButtonRef?.nativeElement&&d&&(t.preventDefault(),d.focus())}initializeEmbla(){let t=Mt(N({},this.defaultOptions),{loop:this.customOptions.loop??this.defaultOptions.loop,al
1ign:this.customOptions.center?"center":this.defaultOptions.align});this.customOptions.autoplay&&(this.autoplayPlugin=ke({delay:this.customOptions.autoplayInterval??4e3}),this.isAutoplayRunning=!0);let e=this.customOptions.autoplay?[this.autoplayPlugin]:[];this.embla=Ee(this.viewportRef.nativeElement,t,e),this.initEmblaEvents(),this.customOptions.autoplay&&this.initAutoPlayEvents()}reInit(){this.updateSlidesToShow(),this.embla?.reInit()}initAutoPlayEvents(){this.embla.on("autoplay:play",()=>{this.updateActiveDot()}),this.embla.on("autoplay:stop",()=>{this.updateActiveDot()})}initEmblaEvents(){this.embla.on("settle",()=>{this.updateSlideTabIndexes(),this.customOptions.autoplay||this.focusFirstElementOfSlide()}),this.embla.on("init",()=>{this.buildDots(),this.updateSlideTabIndexes(),this.updatePrevNextButtons()}),this.embla.on("reInit",()=>{this.buildDots(),this.updateSlideTabIndexes(),this.updatePrevNextButtons()}),this.embla.on("select",()=>{this.updateActiveDot()})}updateSlidesToShow(){let e=Ft(this.platformId)?window.outerWidth:1024,i=Object.keys(this.customOptions.breakpoints).map(Number).sort((o,l)=>o-l),s=i[0];for(let o of i)e>=o&&(s=o);this.slidesPerView=this.customOptions.breakpoints[s].slidesToScroll,this.slideWidth=100/this.slidesPerView,this.isBrowser||(this.dots=[0])}updateActiveDot(){this.embla&&this.activeIndex$.next(this.embla?.selectedScrollSnap())}toggleAutoPlay(){this.autoplayPlugin&&(this.autoplayPlugin.isPlaying()?this.handleAutoPlay("stop"):this.handleAutoPlay("start"))}scrollSlide(t){this.embla&&(this.handleAutoPlay("stop"),t==="next"?this.embla.scrollNext():this.embla.scrollPrev())}goToSlide(t){this.handleAutoPlay("stop"),this.embla?.scrollTo(t)}updatePrevNextButtons(){let e=this.embla.slideNodes().length,i=this.slidesPerView;if(e<=i){this.showPrevNext$.next(!1);return}this.showPrevNext$.next(!0)}buildDots(){if(!this.embla)return;let t=this.embla.slideNodes(),e=this.embla.scrollSnapList(),i=t.length,s=this.slidesPerView;if(i<=s||e.length<=1){this.dots=[];return}this.dots=e.map((o,l)=>l)}updateSlideTabIndexes(){if(!this.embla)return;let t=this.embla.slideNodes(),e=this.embla.slidesInView();t.forEach((i,s)=>{e.includes(s)?i.setAttribute("tabindex","0"):i.removeAttribute("tabindex")})}handleHover(){this.autoplayPlugin&&this.autoplayPlugin.stop()}handleLeave(){this.autoplayPlugin&&this.isAutoplayRunning&&this.autoplayPlugin.play()}handleAutoPlay(t){this.autoplayPlugin&&(t==="stop"?(this.autoplayPlugin.stop(),this.isAutoplayRunning=!1):(this.autoplayPlugin.play(),this.isAutoplayRunning=!0))}focusFirstElementOfSlide(){if(this.embla){if(this.isKeyboardNav){let t=this.embla.selectedScrollSnap(),e=this.embla.slideNodes()[t*this.slidesPerView],i=e.querySelector("sip-product-carousel-item > div");i?i.focus():(e.setAttribute("tabindex","0"),e.focus())}this.isKeyboardNav=!1}}ngOnDestroy(){!this.isBrowser&&!this.embla||(this.embla?.destroy(),this.autoplayPlugin&&(this.autoplayPlugin.destroy(),this.autoplayPlugin=void 0,this.isAutoplayRunning=!1,this.wasAutoPlayRunning=!1))}};n.\u0275fac=function(e){return new(e||n)(I(It),I(De))},n.\u0275cmp=kt({type:n,selectors:[["sip-embla-carousel"]],contentQueries:function(e,i,s){if(e&1&&Ce(s,Se,5),e&2){let o;mt(o=vt())&&(i.templateRef=o.first)}},viewQuery:function(e,i){if(e&1&&(Lt(Is,7),Lt(Ts,5),Lt(Es,5)),e&2){let s;mt(s=vt())&&(i.viewportRef=s.first),mt(s=vt())&&(i.nextButtonRef=s.first),mt(s=vt())&&(i.prevButtonRef=s.first)}},hostBindings:function(e,i){e&1&&B("resize",function(){return i.handleResize()},!1,Di)("keydown",function(o){return i.handleKeyDown(o)})},inputs:{items:"items",template:"template",options:"options"},decls:10,vars:12,consts:[["viewport",""],["prevBtn",""],["nextBtn",""],["aria-roledescription","carousel","role","region",1,"embla"],["class","prev-button","aria-label","Previous promo","tabindex","0","name","previous","sipEmblaControl","",3,"click",4,"ngIf"],[1,"embla-viewport",3,"mouseenter","mouseleave"],[1,"embla-container"],["class","embla-slide","tabindex","-1",3,"minWidth",4,"ngFor","ngForOf"],["class","next-button","aria-label","Next promo","tabindex","0","name","next","sipEmblaControl","",3,"click",4,"ngIf"],["class","paginationDots",4,"ngIf"],["aria-label","Previous promo","tabindex","0","name","previous","sipEmblaControl","",1,"prev-button",3,"click"],[3,"fontIcon"],["tabindex","-1",1,"embla-slide"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["aria-label","Next promo","tabindex","0","name","next","sipEmblaControl","",1,"next-button",3,"click"],[1,"paginationDots"],["tabindex","0","class","dot","sipEmblaControl","",3,"click",4,"ngFor","ngForOf"],["class","playPause-button","sipEmblaControl","",3,"click",4,"ngIf"],["tabindex","0","sipEmblaControl","",1,"dot",3,"click"],["sipEmblaControl","",1,"playPause-button",3,"click"]],template:function(e,i){if(e&1){let s=tt();A(0,"div",3),j(1,As,3,1,"button",4),at(2,"async"),A(3,"div",5,0),B("mouseenter",function(){return W(s),q(i.customOptions.autoplay&&i.handleHover())})("mouseleave",function(){return W(s),q(i.customOptions.autoplay&&i.handleLeave())}),A(5,"div",6),j(6,Rs,2,7,"div",7),F()(),j(7,zs,3,1,"button",8),at(8,"async"),j(9,Ns,3,2,"div",9),F()}e&2&&(w(),C("ngIf",lt(2,8,i.showPrevNext$)),w(2),je("padding-left",i.customOptions.stagePadding,"px")("padding-right",i.customOptions.stagePadding,"px"),w(3),C("ngForOf",i.items),w(),C("ngIf",lt(8,10,i.showPrevNext$)),w(2),C("ngIf",i.dots.length>0&&i.customOptions.dots))},styles:[".embla[_ngcontent-%COMP%]{position:relative;width:100%}.embla-viewport[_ngcontent-%COMP%]{overflow:hidden}.embla-container[_ngcontent-%COMP%]{display:flex;-webkit-user-select:none;user-select:none;touch-action:pan-y;margin-bottom:8px}.embla-container[_ngcontent-%COMP%] .embla-slide[_ngcontent-%COMP%]{flex-grow:0;flex-shrink:1;max-width:270px}@media screen and (max-width: 767px){.embla-container[_ngcontent-%COMP%] .embla-slide[_ngcontent-%COMP%]{flex-grow:0;flex-shrink:1;max-width:248px}}@media screen and (min-width: 768px) and (max-width: 1023px){.embla-container[_ngcontent-%COMP%] .embla-slide[_ngcontent-%COMP%]{flex-grow:0;flex-shrink:1;max-width:248px}}@media screen and (min-width: 1024px) and (max-width: 1440px){.embla-container[_ngcontent-%COMP%] .embla-slide[_ngcontent-%COMP%]{flex-grow:0;flex-shrink:1;max-width:198px}}.embla-container[_ngcontent-%COMP%] .embla-slide[_ngcontent-%COMP%] img{display:block;width:100%}.embla-container[_ngcontent-%COMP%] .embla-slide[_ngcontent-%COMP%]:focus-visible{outline:-webkit-focus-ring-color auto 2px}.embla-container[_ngcontent-%COMP%] .embla-slide[_ngcontent-%COMP%] a:focus-visible{outline:-webkit-focus-ring-color auto 2px}
1.embla-container[_ngcontent-%COMP%] sip-product-carousel-item .product-item.item{margin:0 8px;background-color:#fff;padding:8px;height:100%;border-radius:8px;font-size:1.4rem!important}.embla-container[_ngcontent-%COMP%] sip-product-carousel-item .product-item.item>div{margin-bottom:4px;font-size:1.4rem!important}.embla-container[_ngcontent-%COMP%] sip-product-carousel-item .product-item.item a{font-size:1.4rem!important}.embla-container[_ngcontent-%COMP%] sip-product-carousel-item .product-item.item .product-title-delivery{font-size:1.4rem!important}.embla-container[_ngcontent-%COMP%] sip-product-carousel-item .product-item.item .costco-icon-membership-restrictions{font-size:1.4rem!important}.embla-container[_ngcontent-%COMP%] sip-product-carousel-item .product-item.item .costco-icon-membership-restrictions+span{font-size:1.4rem!important}.embla-container[_ngcontent-%COMP%] sip-product-carousel-item .product-item.item .item-name{margin-bottom:4px}.embla-container[_ngcontent-%COMP%] sip-product-carousel-item .product-item.item .item-name a{font-size:1.4rem!important}.embla-container[_ngcontent-%COMP%] sip-product-carousel-item .product-item.item .product-price{font-weight:700}.embla-container[_ngcontent-%COMP%] sip-product-carousel-item .product-item.item .product-price .free-shipping{font-size:1.4rem!important}.embla[_ngcontent-%COMP%] .prev-button[_ngcontent-%COMP%], .embla[_ngcontent-%COMP%] .next-button[_ngcontent-%COMP%]{position:absolute;height:38px;width:38px;background-color:#fff;margin:0;z-index:1;padding:4px;border-radius:100%;opacity:1;border:1px solid #cacaca;box-shadow:0 0 5px #0000004d;display:block;bottom:50%;transform:translateY(0)}@media screen and (max-width: 767px){.embla[_ngcontent-%COMP%] .prev-button[_ngcontent-%COMP%], .embla[_ngcontent-%COMP%] .next-button[_ngcontent-%COMP%]{display:none}}.embla[_ngcontent-%COMP%] .prev-button[_ngcontent-%COMP%]{left:-15px}@media screen and (min-width: 768px) and (max-width: 1023px){.embla[_ngcontent-%COMP%] .prev-button[_ngcontent-%COMP%]{left:-11px}}.embla[_ngcontent-%COMP%] .next-button[_ngcontent-%COMP%]{right:-15px}@media screen and (min-width: 768px) and (max-width: 1023px){.embla[_ngcontent-%COMP%] .next-button[_ngcontent-%COMP%]{right:-11px}}.embla[_ngcontent-%COMP%] .paginationDots[_ngcontent-%COMP%]{display:flex;background-color:#fffc;justify-content:center;justify-self:center;gap:6px;border-radius:100px;flex-wrap:wrap;align-items:center;pointer-events:auto;margin:8px auto 0;padding:4px 8px;width:fit-content}.embla[_ngcontent-%COMP%] .paginationDots[_ngcontent-%COMP%] .dot[_ngcontent-%COMP%]{width:16px;height:16px;border-radius:100%;padding:0;margin:0;border:0px;box-shadow:none}.embla[_ngcontent-%COMP%] .paginationDots[_ngcontent-%COMP%] .dot[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{font-size:18px;width:18px;height:18px;line-height:11px;color:#707070}.embla[_ngcontent-%COMP%] .paginationDots[_ngcontent-%COMP%] .playPause-button[_ngcontent-%COMP%]{background:none;border:0px;padding:0;margin:0}.embla[_ngcontent-%COMP%] .paginationDots[_ngcontent-%COMP%] .playPause-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{width:18px;height:18px;font-size:16px;color:#707070}.embla[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:focus-visible{outline:-webkit-focus-ring-color auto 2px}.embla[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:focus:not(:focus-visible){outline:none}"],changeDetection:0});let r=n;return r})();var Hs=["owlCar"],Vs=["pausePlayButtons"],js=(r,n)=>({"owl-carousel-ssr":r,"owl-mat-icons":n}),un=r=>({hidden:r}),Ws=(r,n)=>({"sr-only":r,"sr-only-xs":n}),qs=(r,n)=>({item:r,index:n}),Us=r=>[r];function Qs(r,n){r&1&&ye(0)}function Gs(r,n){if(r&1&&(A(0,"div",12),j(1,Qs,1,0,"ng-container",13),F()),r&2){let a=O(),t=a.$implicit,e=a.index,i=O(2);C("ngClass",_t(3,Ws,i.serverMode&&i.visuallyHideSSR(e),i.serverMode&&e>=i.getMinimumNumberOfItems(i.customOptions.responsive,0))),w(),C("ngTemplateOutlet",i.template)("ngTemplateOutletContext",_t(6,qs,t,e))}}function Ks(r,n){r&1&&(qt(0),j(1,Gs,2,9,"ng-template",11),Ut())}function Ys(r,n){if(r&1){let a=tt();A(0,"div",14)(1,"button",15),B("click",function(){W(a),O();let e=Qt(2);return q(e.prev())}),J(2,"mat-icon",16),F(),A(3,"button",17),B("click",function(){W(a),O();let e=Qt(2);return q(e.next())}),J(4,"mat-icon",16),F()()}if(r&2){let a=O(2);C("ngClass",Dt(3,un,!a.customOptions.showMatIcons)),w(2),C("fontIcon",a.SipCostcoIcon.CHEVRON_LEFT),w(2),C("fontIcon",a.SipCostcoIcon.CHEVRON_RIGHT)}}function Zs(r,n){if(r&1){let a=tt();A(0,"button",20),B("click",function(){let e=W(a).$implicit;O(2);let i=Qt(2);return q(i.moveByDot(e.id))}),J(1,"mat-icon",16),F()}if(r&2){let a=n.$implicit,t=n.index;O(2);let e=Qt(2),i=O();Oi("active",a.active),At("aria-label","Promo "+(t+1)+" of "+(e.dotsData==null||e.dotsData.dots==null?null:e.dotsData.dots.length)),w(),C("fontIcon",a.active?i.SipCostcoIcon.DOT_FILLED:i.SipCostcoIcon.DOT)}}function Xs(r,n){if(r&1&&(A(0,"div",18),j(1,Zs,2,4,"button",19),F()),r&2){O();let a=Qt(2);w(),C("ngForOf",a.dotsData==null?null:a.dotsData.dots)}}function Js(r,n){if(r&1&&J(0,"span",21),r&2){let a=O(2);C("ngClass",Dt(1,Us,a.isPlaying?"glyphicon-pause":"glyphicon-play"))}}function tr(r,n){if(r&1&&J(0,"mat-icon",22),r&2){let a=O(2);C("fontIcon",a.isPlaying?a.SipCostcoIcon.PAUSE:a.SipCostcoIcon.PLAY)}}function er(r,n){if(r&1){let a=tt();qt(0),A(1,"owl-carousel-o",4,0),j(3,Ks,2,0,"ng-container",5),at(4,"async"),F(),j(5,Ys,5,5,"div",6)(6,Xs,2,1,"div",7),A(7,"button",8,1),B("click",function(){W(a);let e=O();return q(e.pausePlayCarousel(!e.isPlaying))}),j(9,Js,1,3,"span",9)(10,tr,1,1,"mat-icon",10),F(),Ut()}if(r&2){let a=O();w(),C("options",a.customOptions)("ngClass",_t(11,js,a.serverMode,a.customOptions.showMatIcons)),w(2),C("ngForOf",lt(4,9,a.items$)),w(2),C("ngIf",a.showOwlPrevNext),w(),C("ngIf",a.customOptions.showMatIcons),w(),C("ngClass",Dt(14,un,!a.customOptions.showPausePlayButtons)),At("aria-label",a.isPlaying?"Pause":"Play"),w(2),C("ngIf",!a.customOptions.showMatIcons),w(),C("ngIf",a.customOptions.showMatIcons)}}function ir(r,n){if(r&1&&(J(0,"sip-embla-carousel",23),at(1,"async"),at(2,"async")),r&2){let a=O();C("items",lt(1,3,a.items$))("template",a.template)("options",lt(2,5,a.emblaConfig$))}}var ao=(()=>{let n=class n{set items(t){this.newItems$.next(t)}set options(t){this.customOptions=t?N(N({},this.customOptions),t):N({},this.customOptions),this.emblaConfig$=t?this.normalizeEmblaConfig(t):this.normalizeEmblaConfig(re)}constructor(t,e,i,s,o,l){this.windowRef=t,this.elementRef=e,this.renderer=i,this.platformId=s,this.csService=o,this.csCmsService=l,this.serverMode=Ai(this.platformId),this.newItems$=new ee(void 0),this.customOptions={lazyLoad:!this.serverMode,mouseDrag:!0,touchDrag:!0,pullDrag:!0,rewind:!1,dots:!0,navSpeed:100,navText:[`<i class="${Ye} ${Yt.CHEVRON_LEFT} carousel-nav-icon"></i>`,`<i class="${Ye} ${Yt.CHEVRON_RIGHT} carousel-nav-icon"></i>`],responsive:{0:{items:2,slideBy:"page",nav:!1},740:{items:4,slideBy:"page"}},nav:!0,showPausePlayButtons:!1,showMatIcons:!1},this.isPlaying=!0,this.showOwlPrevNext=!0,this.csPage$=this.csService.getContentStackPage(),this.csPageData$=this.csCmsService.getContentStackPageData(),this.isCategoryOrSRP$=this.csPageData$.pipe(Pt(u=>this.customOptions.lazyLoadEager&&u?.type===Ke.CATEGORY_PAGE||u?.type===Ke.CONTENT_PAGE&&u?.app_view_name==="search"),yi(!1),Ne()),this.SipCostcoIcon=Yt}
1getBreakpoints(t={},e=!0){let i=Object.keys(t);return e?i.sort((s,o)=>+s-+o):i}visuallyHideSSR(t){let e=this.getMaxBreakpoint(this.customOptions.responsive),s=this.getMinimumNumberOfItems(this.customOptions.responsive,e)-1;return this.serverMode&&t>s}getCurrentBreakpoint(t=0,e){let i=this.getBreakpoints(e),s=+i[0];for(let o of i){let l=+o;s=t>=l?l:s}return s}getMaxBreakpoint(t={}){let e=Object.keys(t).sort();return+e[e.length-1]}getMinimumNumberOfItems(t,e){let i=this.getCurrentBreakpoint(e,t);return i>=0?t[i].items:this.customOptions.items}getNecessaryItems(t=[],e){let i=[...t],s=i.length,o=this.getMinimumNumberOfItems(this.customOptions.responsive,e);if(s<o)for(let l=s-1,u=o-1;l<u;l++)i.push(null);return i}getClientWidth(){return this.windowRef.nativeWindow?this.windowRef.nativeWindow.outerWidth:this.getMaxBreakpoint(this.customOptions.responsive)}movePausePlayButtons(){let t=this.pausePlayButtons?.nativeElement,e=this.elementRef.nativeElement.querySelector(":scope .owl-dots"),i=this.elementRef.nativeElement.querySelector(":scope .owl-dots.mat-dots");this.customOptions.showMatIcons&&i&&t?this.renderer.appendChild(i,t):!this.customOptions.showMatIcons&&e&&t&&this.renderer.appendChild(e,t)}pausePlayCarousel(t){this.isPlaying=t,t?this.owlCar.startAutoplay():this.owlCar.stopAutoplay()}setShowOwlPrevNext(){let t=this.windowRef?.nativeWindow?.screen?.width;this.showOwlPrevNext=t>=Bi.md}ngAfterViewInit(){this.customOptions.showPausePlayButtons&&this.movePausePlayButtons()}ngOnInit(){this.setShowOwlPrevNext(),this.items$=this.newItems$.pipe(Pt((t=[])=>{let e=this.getClientWidth();return this.getNecessaryItems(t,e)}),Ne())}normalizeEmblaConfig(t){return this.isCategoryOrSRP$.pipe(Pt(e=>{let i=e?Ui:re,s=N(N({},t),i),o={loop:!0,autoplay:t.autoplay??!1,center:!1,stagePadding:0,breakpoints:{},autoplayInterval:4e3,dots:t.dots??!0};if(t.responsive){let l={};Object.keys(t.responsive).forEach(u=>{let h=Number(u),d=t.responsive?.[h];l[h]={slidesToScroll:d?.items??1,containScroll:"trimSnaps",align:"start"}}),o.breakpoints=l}else o.breakpoints=N({},s.breakpoints);return o}))}};n.\u0275fac=function(e){return new(e||n)(I(De),I(ne),I(be),I(It),I(Hi),I(Vi))},n.\u0275cmp=kt({type:n,selectors:[["sip-carousel"]],viewQuery:function(e,i){if(e&1&&(Lt(Hs,7),Lt(Vs,7)),e&2){let s;mt(s=vt())&&(i.owlCar=s.first),mt(s=vt())&&(i.pausePlayButtons=s.first)}},inputs:{items:"items",options:"options",itemWidth:"itemWidth",template:"template"},decls:5,vars:8,consts:[["owlCar",""],["pausePlayButtons",""],[4,"ngIf"],[3,"items","template","options",4,"ngIf"],[3,"options","ngClass"],[4,"ngFor","ngForOf"],["class","owl-nav mat-arrows",3,"ngClass",4,"ngIf"],["class","owl-dots mat-dots",4,"ngIf"],[1,"carousel-button",3,"click","ngClass"],["class","glyphicon",3,"ngClass",4,"ngIf"],["class","mat-pause-play-icon",3,"fontIcon",4,"ngIf"],["carouselSlide",""],[1,"carousel__item",3,"ngClass"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"owl-nav","mat-arrows",3,"ngClass"],["aria-label","Previous promo","name","previous",1,"owl-prev",3,"click"],[3,"fontIcon"],["aria-label","Next promo","name","next",1,"owl-next",3,"click"],[1,"owl-dots","mat-dots"],["class","owl-dot","role","button",3,"active","click",4,"ngFor","ngForOf"],["role","button",1,"owl-dot",3,"click"],[1,"glyphicon",3,"ngClass"],[1,"mat-pause-play-icon",3,"fontIcon"],[3,"items","template","options"]],template:function(e,i){e&1&&(j(0,er,11,16,"ng-container",2),at(1,"async"),j(2,ir,3,7,"sip-embla-carousel",3),at(3,"async"),at(4,"async")),e&2&&(C("ngIf",!lt(1,2,i.csPage$)),w(2),C("ngIf",lt(4,6,lt(3,4,i.csPage$)&&i.items$)))},dependencies:[se,Rt,zt,Gt,en,ii,xe,Zt,we],styles:["[_nghost-%COMP%] owl-carousel-o[_ngcontent-%COMP%] .owl-dots .owl-dot{width:20px}[_nghost-%COMP%] owl-carousel-o[_ngcontent-%COMP%] .owl-dots .owl-dot.active span{background:#5f5f5f}[_nghost-%COMP%] owl-carousel-o[_ngcontent-%COMP%] .owl-dots .owl-dot span{width:12px;height:12px;border-radius:7px;background:#5f5f5f4d}[_nghost-%COMP%] owl-carousel-o[_ngcontent-%COMP%] .item{padding:10px 0}@media screen and (max-width: 479px){[_nghost-%COMP%] owl-carousel-o[_ngcontent-%COMP%] .owl-nav{display:none}}[_nghost-%COMP%] owl-carousel-o[_ngcontent-%COMP%] .owl-nav .owl-prev, [_nghost-%COMP%] owl-carousel-o[_ngcontent-%COMP%] .owl-nav .owl-next{position:absolute;top:50%;transform:translateY(-50%);background-color:#fff;padding:16px 8px;margin:0;opacity:.75}[_nghost-%COMP%] owl-carousel-o[_ngcontent-%COMP%] .owl-nav .owl-prev.disabled .carousel-nav-icon, [_nghost-%COMP%] owl-carousel-o[_ngcontent-%COMP%] .owl-nav .owl-next.disabled .carousel-nav-icon{opacity:.25}[_nghost-%COMP%] owl-carousel-o[_ngcontent-%COMP%] .owl-nav .owl-prev{box-shadow:3px 3px 4px #0003;left:10px}[_nghost-%COMP%] owl-carousel-o[_ngcontent-%COMP%] .owl-nav .owl-next{box-shadow:-3px 3px 4px #0003;right:10px}[_nghost-%COMP%] owl-carousel-o[_ngcontent-%COMP%] .owl-nav .carousel-nav-icon{color:#3d81bb;opacity:.65;font-size:36px}[_nghost-%COMP%] owl-carousel-o[_ngcontent-%COMP%] .owl-nav .carousel-nav-icon:before{color:#fff;text-shadow:0 0 8px #000}[_nghost-%COMP%] owl-carousel-o[_ngcontent-%COMP%] .carousel-button{margin:0;border:0;padding:0 8px;background:transparent;line-height:22px;vertical-align:top}[_nghost-%COMP%] owl-carousel-o[_ngcontent-%COMP%] .carousel-button:focus{border:0;outline:0;box-shadow:none} .owl-carousel-ssr .owl-dots{visibility:hidden} .owl-carousel-ssr .cloned{display:none}"],changeDetection:0});let r=n;return r})();var dn=(()=>{let n=class n{constructor(t){this.parentCarousel=t,t||console.warn("emblaControl must be inside EmblaCarouselComponent")}handleFocus(t){this.parentCarousel?.handleFocus(t)}handleBlur(t){this.parentCarousel?.handleBlur(t)}};n.\u0275fac=function(e){return new(e||n)(I(Zt,8))},n.\u0275dir=ve({type:n,selectors:[["","sipEmblaControl",""]],hostBindings:function(e,i){e&1&&B("focus",function(o){return i.handleFocus(o)})("blur",function(o){return i.handleBlur(o)})}});let r=n;return r})();var hn=(()=>{let n=class n{};n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=jt({type:n}),n.\u0275inj=Vt({imports:[Kt,Oe]});let r=n;return r})();Pi(Zt,[Rt,zt,Gt,xe,dn],[we]);var Po=(()=>{let n=class n{};n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=jt({type:n}),n.\u0275inj=Vt({imports:[Kt,Fi,Ni,Wi,$i,nn,ji,Oe,hn]});let r=n;return r})();export{nn as a,ao as b,Po as c};
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.