(self.webpackChunkh5_jb=self.webpackChunkh5_jb||[]).push([[8792],{11935:(Me,K,o)=>{"use strict";o.d(K,{c:()=>e});const e={brand:"jb",market:"jb",device:"h5",enableCheckPaymentMaintain:!0,production:!0,disableConsole:!0,enableI18nRoute:!0,ssrDomain:"https://8126881.com",cdnDomain:"https://img.j189eb.com",vendorIconColor:"white",iconColor:"white",intercomAppId:"vds47pw2",useIndonesianThousandSeparatorWhenBengal:!0,pwa:{enable:!0,forceUpdateAfterCheck:!0,useAppSw:!0},luckySpin:{scriptUrl:"https://luckyspin.hoardgear.com/Scripts/luckyspin.js?v=",licenseKey:"ccd0c45d2b83212c4a70a0d3ba43a426d34a130dcde57ab784f687efe1dcb14b71e43ab7146f9106e5a9115661eb1f7e16a51b20ba080f0a9c78bcb09a42a50d",merchantId:"LIVEJB",hashSalt:"ecd59cc24c7741d68cf6a5647c62c7bb"},forceReloadAfterCurrencyChanged:!0,helpCenterLink:"https://jeetbuzzhelp.com/",brandFilterMode:"default",customReferralPage:!0,hasPromoCode:"custom",enableConnextra:!0,neuAProjectKey:"he5ojoog2%qdo4131+i#dmobcp4gz8ixz-q3^0z4)@0q#2+grh",isProfileVerifiedEnableCaptcha:!0}},75563:(Me,K,o)=>{"use strict";var u=o(345),e=o(54438),h=o(10467),c=o(60177),v=o(21626),y=o(71522),R=o(20753),T=o(81084),A=o(20464),S=o(99437),C=o(7673),x=o(9350);let B=(()=>{class a{constructor(s,l){this.platformId=s,this.http=l,this.cdnService=(0,e.WQX)(T.H),this.environment=(0,e.WQX)(R.n)}getTranslation(s){var l=this;return(0,h.A)(function*(){const I=yield l.getTranslationJson(`${s}.json`);let X={};"true"===I["merged-i18n-json"]||(X=yield l.getTranslationJson(`${s}_custom.json`));const Ae={};if(I)for(const Ue in I)Ae[Ue]=I[Ue];if(X)for(const Ue in X)Ae[Ue]=X[Ue];return Ae})()}getTranslationJson(s){var l=this;return(0,h.A)(function*(){let p={};try{p=yield l.getHttpResponseSync(s)}catch{console.error(`readFileSync error ${s}`)}return p})()}getHttpResponseSync(s){let l=".",p={};(0,c.Vy)(this.platformId)&&(l=`${this.environment.ssrDomain}`,p={headers:new v.Lr({"User-Agent":"Mozilla/5.0 (Linux; Android 11; Pixel 5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.91 Mobile Safari/537.36"})});let I=`${l}/assets/i18n/${s}`;return"."===l&&(I=this.cdnService.useWithServer(I)),function P(a,g){const s="object"==typeof g;return new Promise((l,p)=>{let X,I=!1;a.subscribe({next:ie=>{X=ie,I=!0},error:p,complete:()=>{I?l(X):s?l(g.defaultValue):p(new x.G)}})})}(this.http.get(I,p).pipe((0,S.W)(ie=>(console.error(`error getTranslationJson ${s}`),console.error(ie),(0,C.of)({})))))}static#e=this.\u0275fac=function(l){return new(l||a)(e.KVO(e.Agw),e.KVO(v.Qq))};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();function ee(a,g){return(0,A.wz)({availableLangs:a,fallbackLang:y.t.default.resourceKey,missingHandler:{useFallbackTranslation:g},reRenderOnLangChange:!0,prodMode:g,flatten:{aot:g},interpolation:["{","}"]})}var se=o(11935),Y=o(49969);function ve(a){return new e.wOt(3e3,!1)}function he(a){switch(a.length){case 0:return new Y.sf;case 1:return a[0];default:return new Y.ui(a)}}function Ie(a,g,s=new Map,l=new Map){const p=[],I=[];let X=-1,ie=null;if(g.forEach(Ae=>{const Ue=Ae.get("offset"),st=Ue==X,rt=st&&ie||new Map;Ae.forEach((yt,Gt)=>{let Tt=Gt,fn=yt;if("offset"!==Gt)switch(Tt=a.normalizePropertyName(Tt,p),fn){case Y.FX:fn=s.get(Gt);break;case Y.kp:fn=l.get(Gt);break;default:fn=a.normalizeStyleValue(Gt,Tt,fn,p)}rt.set(Tt,fn)}),st||I.push(rt),ie=rt,X=Ue}),p.length)throw function tn(a){return new e.wOt(3502,!1)}();return I}function xe(a,g,s,l){switch(g){case"start":a.onStart(()=>l(s&&je(s,"start",a)));break;case"done":a.onDone(()=>l(s&&je(s,"done",a)));break;case"destroy":a.onDestroy(()=>l(s&&je(s,"destroy",a)))}}function je(a,g,s){const I=ze(a.element,a.triggerName,a.fromState,a.toState,g||a.phaseName,s.totalTime??a.totalTime,!!s.disabled),X=a._data;return null!=X&&(I._data=X),I}function ze(a,g,s,l,p="",I=0,X){return{element:a,triggerName:g,fromState:s,toState:l,phaseName:p,totalTime:I,disabled:!!X}}function gt(a,g,s){let l=a.get(g);return l||a.set(g,l=s),l}function kt(a){const g=a.indexOf(":");return[a.substring(1,g),a.slice(g+1)]}const Jt=typeof document>"u"?null:document.documentElement;function on(a){const g=a.parentNode||a.host||null;return g===Jt?null:g}let vn=null,Ht=!1;function Xt(a,g){for(;g;){if(g===a)return!0;g=on(g)}return!1}function Tn(a,g,s){if(s)return Array.from(a.querySelectorAll(g));const l=a.querySelector(g);return l?[l]:[]}let si=(()=>{class a{validateStyleProperty(s){return function nt(a){vn||(vn=function Ft(){return typeof document<"u"?document.body:null}()||{},Ht=!!vn.style&&"WebkitAppearance"in vn.style);let g=!0;return vn.style&&!function nn(a){return"ebkit"==a.substring(1,6)}(a)&&(g=a in vn.style,!g&&Ht&&(g="Webkit"+a.charAt(0).toUpperCase()+a.slice(1)in vn.style)),g}(s)}matchesElement(s,l){return!1}containsElement(s,l){return Xt(s,l)}getParentElement(s){return on(s)}query(s,l,p){return Tn(s,l,p)}computeStyle(s,l,p){return p||""}animate(s,l,p,I,X,ie=[],Ae){return new Y.sf(p,I)}static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac})}return a})();class Di{static#e=this.NOOP=new si}class gi{}const Je=1e3,Xe="ng-enter",_t="ng-leave",jt="ng-trigger",hn=".ng-trigger",Fn="ng-animating",bn=".ng-animating";function Ke(a){if("number"==typeof a)return a;const g=a.match(/^(-?[\.\d]+)(m?s)/);return!g||g.length<2?0:Be(parseFloat(g[1]),g[2])}function Be(a,g){return"s"===g?a*Je:a}function G(a,g,s){return a.hasOwnProperty("duration")?a:function Q(a,g,s){let p,I=0,X="";if("string"==typeof a){const ie=a.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===ie)return g.push(ve()),{duration:0,delay:0,easing:""};p=Be(parseFloat(ie[1]),ie[2]);const Ae=ie[3];null!=Ae&&(I=Be(parseFloat(Ae),ie[4]));const Ue=ie[5];Ue&&(X=Ue)}else p=a;if(!s){let ie=!1,Ae=g.length;p<0&&(g.push(function le(){return new e.wOt(3100,!1)}()),ie=!0),I<0&&(g.push(function Ee(){return new e.wOt(3101,!1)}()),ie=!0),ie&&g.splice(Ae,0,ve())}return{duration:p,delay:I,easing:X}}(a,g,s)}function q(a,g,s){g.forEach((l,p)=>{const I=wi(p);s&&!s.has(p)&&s.set(p,a.style[I]),a.style[I]=l})}function fe(a,g){g.forEach((s,l)=>{const p=wi(l);a.style[p]=""})}function We(a){return Array.isArray(a)?1==a.length?a[0]:(0,Y.K2)(a):a}const Rt=new RegExp("{{\\s*(.+?)\\s*}}","g");function dn(a){let g=[];if("string"==typeof a){let s;for(;s=Rt.exec(a);)g.push(s[1]);Rt.lastIndex=0}return g}function Xn(a,g,s){const l=`${a}`,p=l.replace(Rt,(I,X)=>{let ie=g[X];return null==ie&&(s.push(function j(a){return new e.wOt(3003,!1)}()),ie=""),ie.toString()});return p==l?a:p}const Mn=/-+([a-z0-9])/g;function wi(a){return a.replace(Mn,(...g)=>g[1].toUpperCase())}function Pi(a,g,s){switch(g.type){case Y.If.Trigger:return a.visitTrigger(g,s);case Y.If.State:return a.visitState(g,s);case Y.If.Transition:return a.visitTransition(g,s);case Y.If.Sequence:return a.visitSequence(g,s);case Y.If.Group:return a.visitGroup(g,s);case Y.If.Animate:return a.visitAnimate(g,s);case Y.If.Keyframes:return a.visitKeyframes(g,s);case Y.If.Style:return a.visitStyle(g,s);case Y.If.Reference:return a.visitReference(g,s);case Y.If.AnimateChild:return a.visitAnimateChild(g,s);case Y.If.AnimateRef:return a.visitAnimateRef(g,s);case Y.If.Query:return a.visitQuery(g,s);case Y.If.Stagger:return a.visitStagger(g,s);default:throw function te(a){return new e.wOt(3004,!1)}()}}function tr(a,g){return window.getComputedStyle(a)[g]}const xs=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class Le extends gi{normalizePropertyName(g,s){return wi(g)}normalizeStyleValue(g,s,l,p){let I="";const X=l.toString().trim();if(xs.has(s)&&0!==l&&"0"!==l)if("number"==typeof l)I="px";else{const ie=l.match(/^[+-]?[\d\.]+([a-z]*)$/);ie&&0==ie[1].length&&p.push(function J(a,g){return new e.wOt(3005,!1)}())}return X+I}}const an="*";const Un=new Set(["true","1"]),hi=new Set(["false","0"]);function Li(a,g){const s=Un.has(a)||hi.has(a),l=Un.has(g)||hi.has(g);return(p,I)=>{let X=a==an||a==p,ie=g==an||g==I;return!X&&s&&"boolean"==typeof p&&(X=p?Un.has(a):hi.has(a)),!ie&&l&&"boolean"==typeof I&&(ie=I?Un.has(g):hi.has(g)),X&&ie}}const qn=new RegExp("s*:selfs*,?","g");function ri(a,g,s,l){return new Ps(a).build(g,s,l)}class Ps{constructor(g){this._driver=g}build(g,s,l){const p=new nr(s);return this._resetContextStyleTimingState(p),Pi(this,We(g),p)}_resetContextStyleTimingState(g){g.currentQuerySelector="",g.collectedStyles=new Map,g.collectedStyles.set("",new Map),g.currentTime=0}visitTrigger(g,s){let l=s.queryCount=0,p=s.depCount=0;const I=[],X=[];return"@"==g.name.charAt(0)&&s.errors.push(function $(){return new e.wOt(3006,!1)}()),g.definitions.forEach(ie=>{if(this._resetContextStyleTimingState(s),ie.type==Y.If.State){const Ae=ie,Ue=Ae.name;Ue.toString().split(/\s*,\s*/).forEach(st=>{Ae.name=st,I.push(this.visitState(Ae,s))}),Ae.name=Ue}else if(ie.type==Y.If.Transition){const Ae=this.visitTransition(ie,s);l+=Ae.queryCount,p+=Ae.depCount,X.push(Ae)}else s.errors.push(function ce(){return new e.wOt(3007,!1)}())}),{type:Y.If.Trigger,name:g.name,states:I,transitions:X,queryCount:l,depCount:p,options:null}}visitState(g,s){const l=this.visitStyle(g.styles,s),p=g.options&&g.options.params||null;if(l.containsDynamicStyles){const I=new Set,X=p||{};l.styles.forEach(ie=>{ie instanceof Map&&ie.forEach(Ae=>{dn(Ae).forEach(Ue=>{X.hasOwnProperty(Ue)||I.add(Ue)})})}),I.size&&s.errors.push(function ue(a,g){return new e.wOt(3008,!1)}(0,I.values()))}return{type:Y.If.State,name:g.name,style:l,options:p?{params:p}:null}}visitTransition(g,s){s.queryCount=0,s.depCount=0;const l=Pi(this,We(g.animation),s),p=function Cn(a,g){const s=[];return"string"==typeof a?a.split(/\s*,\s*/).forEach(l=>function Ei(a,g,s){if(":"==a[0]){const Ae=function ti(a,g){switch(a){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(s,l)=>parseFloat(l)>parseFloat(s);case":decrement":return(s,l)=>parseFloat(l) *"}}(a,s);if("function"==typeof Ae)return void g.push(Ae);a=Ae}const l=a.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==l||l.length<4)return s.push(function Ce(a){return new e.wOt(3015,!1)}()),g;const p=l[1],I=l[2],X=l[3];g.push(Li(p,X)),"<"==I[0]&&(p!=an||X!=an)&&g.push(Li(X,p))}(l,s,g)):s.push(a),s}(g.expr,s.errors);return{type:Y.If.Transition,matchers:p,animation:l,queryCount:s.queryCount,depCount:s.depCount,options:Bn(g.options)}}visitSequence(g,s){return{type:Y.If.Sequence,steps:g.steps.map(l=>Pi(this,l,s)),options:Bn(g.options)}}visitGroup(g,s){const l=s.currentTime;let p=0;const I=g.steps.map(X=>{s.currentTime=l;const ie=Pi(this,X,s);return p=Math.max(p,s.currentTime),ie});return s.currentTime=p,{type:Y.If.Group,steps:I,options:Bn(g.options)}}visitAnimate(g,s){const l=function xn(a,g){if(a.hasOwnProperty("duration"))return a;if("number"==typeof a)return ro(G(a,g).duration,0,"");const s=a;if(s.split(/\s+/).some(I=>"{"==I.charAt(0)&&"{"==I.charAt(1))){const I=ro(0,0,"");return I.dynamic=!0,I.strValue=s,I}const p=G(s,g);return ro(p.duration,p.delay,p.easing)}(g.timings,s.errors);s.currentAnimateTimings=l;let p,I=g.styles?g.styles:(0,Y.iF)({});if(I.type==Y.If.Keyframes)p=this.visitKeyframes(I,s);else{let X=g.styles,ie=!1;if(!X){ie=!0;const Ue={};l.easing&&(Ue.easing=l.easing),X=(0,Y.iF)(Ue)}s.currentTime+=l.duration+l.delay;const Ae=this.visitStyle(X,s);Ae.isEmptyStep=ie,p=Ae}return s.currentAnimateTimings=null,{type:Y.If.Animate,timings:l,style:p,options:null}}visitStyle(g,s){const l=this._makeStyleAst(g,s);return this._validateStyleAst(l,s),l}_makeStyleAst(g,s){const l=[],p=Array.isArray(g.styles)?g.styles:[g.styles];for(let ie of p)"string"==typeof ie?ie===Y.kp?l.push(ie):s.errors.push(new e.wOt(3002,!1)):l.push(new Map(Object.entries(ie)));let I=!1,X=null;return l.forEach(ie=>{if(ie instanceof Map&&(ie.has("easing")&&(X=ie.get("easing"),ie.delete("easing")),!I))for(let Ae of ie.values())if(Ae.toString().indexOf("{{")>=0){I=!0;break}}),{type:Y.If.Style,styles:l,easing:X,offset:g.offset,containsDynamicStyles:I,options:null}}_validateStyleAst(g,s){const l=s.currentAnimateTimings;let p=s.currentTime,I=s.currentTime;l&&I>0&&(I-=l.duration+l.delay),g.styles.forEach(X=>{"string"!=typeof X&&X.forEach((ie,Ae)=>{const Ue=s.collectedStyles.get(s.currentQuerySelector),st=Ue.get(Ae);let rt=!0;st&&(I!=p&&I>=st.startTime&&p<=st.endTime&&(s.errors.push(function Ge(a,g,s,l,p){return new e.wOt(3010,!1)}()),rt=!1),I=st.startTime),rt&&Ue.set(Ae,{startTime:I,endTime:p}),s.options&&function it(a,g,s){const l=g.params||{},p=dn(a);p.length&&p.forEach(I=>{l.hasOwnProperty(I)||s.push(function F(a){return new e.wOt(3001,!1)}())})}(ie,s.options,s.errors)})})}visitKeyframes(g,s){const l={type:Y.If.Keyframes,styles:[],options:null};if(!s.currentAnimateTimings)return s.errors.push(function Ve(){return new e.wOt(3011,!1)}()),l;let I=0;const X=[];let ie=!1,Ae=!1,Ue=0;const st=g.steps.map(Ri=>{const yn=this._makeStyleAst(Ri,s);let Yn=null!=yn.offset?yn.offset:function js(a){if("string"==typeof a)return null;let g=null;if(Array.isArray(a))a.forEach(s=>{if(s instanceof Map&&s.has("offset")){const l=s;g=parseFloat(l.get("offset")),l.delete("offset")}});else if(a instanceof Map&&a.has("offset")){const s=a;g=parseFloat(s.get("offset")),s.delete("offset")}return g}(yn.styles),ei=0;return null!=Yn&&(I++,ei=yn.offset=Yn),Ae=Ae||ei<0||ei>1,ie=ie||ei0&&I{const Yn=yt>0?yn==Gt?1:yt*yn:X[yn],ei=Yn*Wn;s.currentTime=Tt+fn.delay+ei,fn.duration=ei,this._validateStyleAst(Ri,s),Ri.offset=Yn,l.styles.push(Ri)}),l}visitReference(g,s){return{type:Y.If.Reference,animation:Pi(this,We(g.animation),s),options:Bn(g.options)}}visitAnimateChild(g,s){return s.depCount++,{type:Y.If.AnimateChild,options:Bn(g.options)}}visitAnimateRef(g,s){return{type:Y.If.AnimateRef,animation:this.visitReference(g.animation,s),options:Bn(g.options)}}visitQuery(g,s){const l=s.currentQuerySelector,p=g.options||{};s.queryCount++,s.currentQuery=g;const[I,X]=function Xi(a){const g=!!a.split(/\s*,\s*/).find(s=>":self"==s);return g&&(a=a.replace(qn,"")),a=a.replace(/@\*/g,hn).replace(/@\w+/g,s=>hn+"-"+s.slice(1)).replace(/:animating/g,bn),[a,g]}(g.selector);s.currentQuerySelector=l.length?l+" "+I:I,gt(s.collectedStyles,s.currentQuerySelector,new Map);const ie=Pi(this,We(g.animation),s);return s.currentQuery=null,s.currentQuerySelector=l,{type:Y.If.Query,selector:I,limit:p.limit||0,optional:!!p.optional,includeSelf:X,animation:ie,originalSelector:g.selector,options:Bn(g.options)}}visitStagger(g,s){s.currentQuery||s.errors.push(function Oe(){return new e.wOt(3013,!1)}());const l="full"===g.timings?{duration:0,delay:0,easing:"full"}:G(g.timings,s.errors,!0);return{type:Y.If.Stagger,animation:Pi(this,We(g.animation),s),timings:l,options:null}}}class nr{constructor(g){this.errors=g,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function Bn(a){return a?(a={...a}).params&&(a.params=function Wi(a){return a?{...a}:null}(a.params)):a={},a}function ro(a,g,s){return{duration:a,delay:g,easing:s}}function Hn(a,g,s,l,p,I,X=null,ie=!1){return{type:1,element:a,keyframes:g,preStyleProps:s,postStyleProps:l,duration:p,delay:I,totalTime:p+I,easing:X,subTimeline:ie}}class oo{constructor(){this._map=new Map}get(g){return this._map.get(g)||[]}append(g,s){let l=this._map.get(g);l||this._map.set(g,l=[]),l.push(...s)}has(g){return this._map.has(g)}clear(){this._map.clear()}}const Na=new RegExp(":enter","g"),fr=new RegExp(":leave","g");function ao(a,g,s,l,p,I=new Map,X=new Map,ie,Ae,Ue=[]){return(new Vi).buildKeyframes(a,g,s,l,p,I,X,ie,Ae,Ue)}class Vi{buildKeyframes(g,s,l,p,I,X,ie,Ae,Ue,st=[]){Ue=Ue||new oo;const rt=new Rs(g,s,Ue,p,I,st,[]);rt.options=Ae;const yt=Ae.delay?Ke(Ae.delay):0;rt.currentTimeline.delayNextStep(yt),rt.currentTimeline.setStyles([X],null,rt.errors,Ae),Pi(this,l,rt);const Gt=rt.timelines.filter(Tt=>Tt.containsAnimation());if(Gt.length&&ie.size){let Tt;for(let fn=Gt.length-1;fn>=0;fn--){const Wn=Gt[fn];if(Wn.element===s){Tt=Wn;break}}Tt&&!Tt.allowOnlyTimelineStyles()&&Tt.setStyles([ie],null,rt.errors,Ae)}return Gt.length?Gt.map(Tt=>Tt.buildKeyframes()):[Hn(s,[],[],[],0,yt,"",!1)]}visitTrigger(g,s){}visitState(g,s){}visitTransition(g,s){}visitAnimateChild(g,s){const l=s.subInstructions.get(s.element);if(l){const p=s.createSubContext(g.options),I=s.currentTimeline.currentTime,X=this._visitSubInstructions(l,p,p.options);I!=X&&s.transformIntoNewTimeline(X)}s.previousNode=g}visitAnimateRef(g,s){const l=s.createSubContext(g.options);l.transformIntoNewTimeline(),this._applyAnimationRefDelays([g.options,g.animation.options],s,l),this.visitReference(g.animation,l),s.transformIntoNewTimeline(l.currentTimeline.currentTime),s.previousNode=g}_applyAnimationRefDelays(g,s,l){for(const p of g){const I=p?.delay;if(I){const X="number"==typeof I?I:Ke(Xn(I,p?.params??{},s.errors));l.delayNextStep(X)}}}_visitSubInstructions(g,s,l){let I=s.currentTimeline.currentTime;const X=null!=l.duration?Ke(l.duration):null,ie=null!=l.delay?Ke(l.delay):null;return 0!==X&&g.forEach(Ae=>{const Ue=s.appendInstructionToTimeline(Ae,X,ie);I=Math.max(I,Ue.duration+Ue.delay)}),I}visitReference(g,s){s.updateOptions(g.options,!0),Pi(this,g.animation,s),s.previousNode=g}visitSequence(g,s){const l=s.subContextCount;let p=s;const I=g.options;if(I&&(I.params||I.delay)&&(p=s.createSubContext(I),p.transformIntoNewTimeline(),null!=I.delay)){p.previousNode.type==Y.If.Style&&(p.currentTimeline.snapshotCurrentStyles(),p.previousNode=Is);const X=Ke(I.delay);p.delayNextStep(X)}g.steps.length&&(g.steps.forEach(X=>Pi(this,X,p)),p.currentTimeline.applyStylesToKeyframe(),p.subContextCount>l&&p.transformIntoNewTimeline()),s.previousNode=g}visitGroup(g,s){const l=[];let p=s.currentTimeline.currentTime;const I=g.options&&g.options.delay?Ke(g.options.delay):0;g.steps.forEach(X=>{const ie=s.createSubContext(g.options);I&&ie.delayNextStep(I),Pi(this,X,ie),p=Math.max(p,ie.currentTimeline.currentTime),l.push(ie.currentTimeline)}),l.forEach(X=>s.currentTimeline.mergeTimelineCollectedStyles(X)),s.transformIntoNewTimeline(p),s.previousNode=g}_visitTiming(g,s){if(g.dynamic){const l=g.strValue;return G(s.params?Xn(l,s.params,s.errors):l,s.errors)}return{duration:g.duration,delay:g.delay,easing:g.easing}}visitAnimate(g,s){const l=s.currentAnimateTimings=this._visitTiming(g.timings,s),p=s.currentTimeline;l.delay&&(s.incrementTime(l.delay),p.snapshotCurrentStyles());const I=g.style;I.type==Y.If.Keyframes?this.visitKeyframes(I,s):(s.incrementTime(l.duration),this.visitStyle(I,s),p.applyStylesToKeyframe()),s.currentAnimateTimings=null,s.previousNode=g}visitStyle(g,s){const l=s.currentTimeline,p=s.currentAnimateTimings;!p&&l.hasCurrentStyleProperties()&&l.forwardFrame();const I=p&&p.easing||g.easing;g.isEmptyStep?l.applyEmptyStep(I):l.setStyles(g.styles,I,s.errors,s.options),s.previousNode=g}visitKeyframes(g,s){const l=s.currentAnimateTimings,p=s.currentTimeline.duration,I=l.duration,ie=s.createSubContext().currentTimeline;ie.easing=l.easing,g.styles.forEach(Ae=>{ie.forwardTime((Ae.offset||0)*I),ie.setStyles(Ae.styles,Ae.easing,s.errors,s.options),ie.applyStylesToKeyframe()}),s.currentTimeline.mergeTimelineCollectedStyles(ie),s.transformIntoNewTimeline(p+I),s.previousNode=g}visitQuery(g,s){const l=s.currentTimeline.currentTime,p=g.options||{},I=p.delay?Ke(p.delay):0;I&&(s.previousNode.type===Y.If.Style||0==l&&s.currentTimeline.hasCurrentStyleProperties())&&(s.currentTimeline.snapshotCurrentStyles(),s.previousNode=Is);let X=l;const ie=s.invokeQuery(g.selector,g.originalSelector,g.limit,g.includeSelf,!!p.optional,s.errors);s.currentQueryTotal=ie.length;let Ae=null;ie.forEach((Ue,st)=>{s.currentQueryIndex=st;const rt=s.createSubContext(g.options,Ue);I&&rt.delayNextStep(I),Ue===s.element&&(Ae=rt.currentTimeline),Pi(this,g.animation,rt),rt.currentTimeline.applyStylesToKeyframe(),X=Math.max(X,rt.currentTimeline.currentTime)}),s.currentQueryIndex=0,s.currentQueryTotal=0,s.transformIntoNewTimeline(X),Ae&&(s.currentTimeline.mergeTimelineCollectedStyles(Ae),s.currentTimeline.snapshotCurrentStyles()),s.previousNode=g}visitStagger(g,s){const l=s.parentContext,p=s.currentTimeline,I=g.timings,X=Math.abs(I.duration),ie=X*(s.currentQueryTotal-1);let Ae=X*s.currentQueryIndex;switch(I.duration<0?"reverse":I.easing){case"reverse":Ae=ie-Ae;break;case"full":Ae=l.currentStaggerTime}const st=s.currentTimeline;Ae&&st.delayNextStep(Ae);const rt=st.currentTime;Pi(this,g.animation,s),s.previousNode=g,l.currentStaggerTime=p.currentTime-rt+(p.startTime-l.currentTimeline.startTime)}}const Is={};class Rs{constructor(g,s,l,p,I,X,ie,Ae){this._driver=g,this.element=s,this.subInstructions=l,this._enterClassName=p,this._leaveClassName=I,this.errors=X,this.timelines=ie,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Is,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=Ae||new ir(this._driver,s,0),ie.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(g,s){if(!g)return;const l=g;let p=this.options;null!=l.duration&&(p.duration=Ke(l.duration)),null!=l.delay&&(p.delay=Ke(l.delay));const I=l.params;if(I){let X=p.params;X||(X=this.options.params={}),Object.keys(I).forEach(ie=>{(!s||!X.hasOwnProperty(ie))&&(X[ie]=Xn(I[ie],X,this.errors))})}}_copyOptions(){const g={};if(this.options){const s=this.options.params;if(s){const l=g.params={};Object.keys(s).forEach(p=>{l[p]=s[p]})}}return g}createSubContext(g=null,s,l){const p=s||this.element,I=new Rs(this._driver,p,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(p,l||0));return I.previousNode=this.previousNode,I.currentAnimateTimings=this.currentAnimateTimings,I.options=this._copyOptions(),I.updateOptions(g),I.currentQueryIndex=this.currentQueryIndex,I.currentQueryTotal=this.currentQueryTotal,I.parentContext=this,this.subContextCount++,I}transformIntoNewTimeline(g){return this.previousNode=Is,this.currentTimeline=this.currentTimeline.fork(this.element,g),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(g,s,l){const p={duration:s??g.duration,delay:this.currentTimeline.currentTime+(l??0)+g.delay,easing:""},I=new Dr(this._driver,g.element,g.keyframes,g.preStyleProps,g.postStyleProps,p,g.stretchStartingKeyframe);return this.timelines.push(I),p}incrementTime(g){this.currentTimeline.forwardTime(this.currentTimeline.duration+g)}delayNextStep(g){g>0&&this.currentTimeline.delayNextStep(g)}invokeQuery(g,s,l,p,I,X){let ie=[];if(p&&ie.push(this.element),g.length>0){g=(g=g.replace(Na,"."+this._enterClassName)).replace(fr,"."+this._leaveClassName);let Ue=this._driver.query(this.element,g,1!=l);0!==l&&(Ue=l<0?Ue.slice(Ue.length+l,Ue.length):Ue.slice(0,l)),ie.push(...Ue)}return!I&&0==ie.length&&X.push(function we(a){return new e.wOt(3014,!1)}()),ie}}class ir{constructor(g,s,l,p){this._driver=g,this.element=s,this.startTime=l,this._elementTimelineStylesLookup=p,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(s),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(s,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(g){const s=1===this._keyframes.size&&this._pendingStyles.size;this.duration||s?(this.forwardTime(this.currentTime+g),s&&this.snapshotCurrentStyles()):this.startTime+=g}fork(g,s){return this.applyStylesToKeyframe(),new ir(this._driver,g,s||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(g){this.applyStylesToKeyframe(),this.duration=g,this._loadKeyframe()}_updateStyle(g,s){this._localTimelineStyles.set(g,s),this._globalTimelineStyles.set(g,s),this._styleSummary.set(g,{time:this.currentTime,value:s})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(g){g&&this._previousKeyframe.set("easing",g);for(let[s,l]of this._globalTimelineStyles)this._backFill.set(s,l||Y.kp),this._currentKeyframe.set(s,Y.kp);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(g,s,l,p){s&&this._previousKeyframe.set("easing",s);const I=p&&p.params||{},X=function Ar(a,g){const s=new Map;let l;return a.forEach(p=>{if("*"===p){l??=g.keys();for(let I of l)s.set(I,Y.kp)}else for(let[I,X]of p)s.set(I,X)}),s}(g,this._globalTimelineStyles);for(let[ie,Ae]of X){const Ue=Xn(Ae,I,l);this._pendingStyles.set(ie,Ue),this._localTimelineStyles.has(ie)||this._backFill.set(ie,this._globalTimelineStyles.get(ie)??Y.kp),this._updateStyle(ie,Ue)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((g,s)=>{this._currentKeyframe.set(s,g)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((g,s)=>{this._currentKeyframe.has(s)||this._currentKeyframe.set(s,g)}))}snapshotCurrentStyles(){for(let[g,s]of this._localTimelineStyles)this._pendingStyles.set(g,s),this._updateStyle(g,s)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const g=[];for(let s in this._currentKeyframe)g.push(s);return g}mergeTimelineCollectedStyles(g){g._styleSummary.forEach((s,l)=>{const p=this._styleSummary.get(l);(!p||s.time>p.time)&&this._updateStyle(l,s.value)})}buildKeyframes(){this.applyStylesToKeyframe();const g=new Set,s=new Set,l=1===this._keyframes.size&&0===this.duration;let p=[];this._keyframes.forEach((ie,Ae)=>{const Ue=new Map([...this._backFill,...ie]);Ue.forEach((st,rt)=>{st===Y.FX?g.add(rt):st===Y.kp&&s.add(rt)}),l||Ue.set("offset",Ae/this.duration),p.push(Ue)});const I=[...g.values()],X=[...s.values()];if(l){const ie=p[0],Ae=new Map(ie);ie.set("offset",0),Ae.set("offset",1),p=[ie,Ae]}return Hn(this.element,p,I,X,this.duration,this.startTime,this.easing,!1)}}class Dr extends ir{constructor(g,s,l,p,I,X,ie=!1){super(g,s,X.delay),this.keyframes=l,this.preStyleProps=p,this.postStyleProps=I,this._stretchStartingKeyframe=ie,this.timings={duration:X.duration,delay:X.delay,easing:X.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let g=this.keyframes,{delay:s,duration:l,easing:p}=this.timings;if(this._stretchStartingKeyframe&&s){const I=[],X=l+s,ie=s/X,Ae=new Map(g[0]);Ae.set("offset",0),I.push(Ae);const Ue=new Map(g[0]);Ue.set("offset",Fr(ie)),I.push(Ue);const st=g.length-1;for(let rt=1;rt<=st;rt++){let yt=new Map(g[rt]);const Gt=yt.get("offset");yt.set("offset",Fr((s+Gt*l)/X)),I.push(yt)}l=X,s=0,p="",g=I}return Hn(this.element,g,this.preStyleProps,this.postStyleProps,l,s,p,!0)}}function Fr(a,g=3){const s=Math.pow(10,g-1);return Math.round(a*s)/s}function Yi(a,g,s,l,p,I,X,ie,Ae,Ue,st,rt,yt){return{type:0,element:a,triggerName:g,isRemovalTransition:p,fromState:s,fromStyles:I,toState:l,toStyles:X,timelines:ie,queriedElements:Ae,preStyleProps:Ue,postStyleProps:st,totalTime:rt,errors:yt}}const Co={};class Br{constructor(g,s,l){this._triggerName=g,this.ast=s,this._stateStyles=l}match(g,s,l,p){return function sr(a,g,s,l,p){return a.some(I=>I(g,s,l,p))}(this.ast.matchers,g,s,l,p)}buildStyles(g,s,l){let p=this._stateStyles.get("*");return void 0!==g&&(p=this._stateStyles.get(g?.toString())||p),p?p.buildStyles(s,l):new Map}build(g,s,l,p,I,X,ie,Ae,Ue,st){const rt=[],yt=this.ast.options&&this.ast.options.params||Co,Tt=this.buildStyles(l,ie&&ie.params||Co,rt),fn=Ae&&Ae.params||Co,Wn=this.buildStyles(p,fn,rt),Ri=new Set,yn=new Map,Yn=new Map,ei="void"===p,yi={params:Ks(fn,yt),delay:this.ast.options?.delay},kn=st?[]:ao(g,s,this.ast.animation,I,X,Tt,Wn,yi,Ue,rt);let Ci=0;return kn.forEach(bi=>{Ci=Math.max(bi.duration+bi.delay,Ci)}),rt.length?Yi(s,this._triggerName,l,p,ei,Tt,Wn,[],[],yn,Yn,Ci,rt):(kn.forEach(bi=>{const dr=bi.element,mo=gt(yn,dr,new Set);bi.preStyleProps.forEach(vo=>mo.add(vo));const Lf=gt(Yn,dr,new Set);bi.postStyleProps.forEach(vo=>Lf.add(vo)),dr!==s&&Ri.add(dr)}),Yi(s,this._triggerName,l,p,ei,Tt,Wn,kn,[...Ri.values()],yn,Yn,Ci))}}function Ks(a,g){const s={...g};return Object.entries(a).forEach(([l,p])=>{null!=p&&(s[l]=p)}),s}class Ls{constructor(g,s,l){this.styles=g,this.defaultParams=s,this.normalizer=l}buildStyles(g,s){const l=new Map,p=Ks(g,this.defaultParams);return this.styles.styles.forEach(I=>{"string"!=typeof I&&I.forEach((X,ie)=>{X&&(X=Xn(X,p,s));const Ae=this.normalizer.normalizePropertyName(ie,s);X=this.normalizer.normalizeStyleValue(ie,Ae,X,s),l.set(ie,X)})}),l}}class os{constructor(g,s,l){this.name=g,this.ast=s,this._normalizer=l,this.transitionFactories=[],this.states=new Map,s.states.forEach(p=>{this.states.set(p.name,new Ls(p.style,p.options&&p.options.params||{},l))}),$n(this.states,"true","1"),$n(this.states,"false","0"),s.transitions.forEach(p=>{this.transitionFactories.push(new Br(g,p,this.states))}),this.fallbackTransition=function co(a,g,s){return new Br(a,{type:Y.If.Transition,animation:{type:Y.If.Sequence,steps:[],options:null},matchers:[(X,ie)=>!0],options:null,queryCount:0,depCount:0},g)}(g,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(g,s,l,p){return this.transitionFactories.find(X=>X.match(g,s,l,p))||null}matchStyles(g,s,l){return this.fallbackTransition.buildStyles(g,s,l)}}function $n(a,g,s){a.has(g)?a.has(s)||a.set(s,a.get(g)):a.has(s)&&a.set(g,a.get(s))}const Fs=new oo;class Wo{constructor(g,s,l){this.bodyNode=g,this._driver=s,this._normalizer=l,this._animations=new Map,this._playersById=new Map,this.players=[]}register(g,s){const l=[],I=ri(this._driver,s,l,[]);if(l.length)throw function Vt(a){return new e.wOt(3503,!1)}();this._animations.set(g,I)}_buildPlayer(g,s,l){const p=g.element,I=Ie(this._normalizer,g.keyframes,s,l);return this._driver.animate(p,I,g.duration,g.delay,g.easing,[],!0)}create(g,s,l={}){const p=[],I=this._animations.get(g);let X;const ie=new Map;if(I?(X=ao(this._driver,s,I,Xe,_t,new Map,new Map,l,Fs,p),X.forEach(st=>{const rt=gt(ie,st.element,new Map);st.postStyleProps.forEach(yt=>rt.set(yt,null))})):(p.push(function rn(){return new e.wOt(3300,!1)}()),X=[]),p.length)throw function En(a){return new e.wOt(3504,!1)}();ie.forEach((st,rt)=>{st.forEach((yt,Gt)=>{st.set(Gt,this._driver.computeStyle(rt,Gt,Y.kp))})});const Ue=he(X.map(st=>{const rt=ie.get(st.element);return this._buildPlayer(st,new Map,rt)}));return this._playersById.set(g,Ue),Ue.onDestroy(()=>this.destroy(g)),this.players.push(Ue),Ue}destroy(g){const s=this._getPlayer(g);s.destroy(),this._playersById.delete(g);const l=this.players.indexOf(s);l>=0&&this.players.splice(l,1)}_getPlayer(g){const s=this._playersById.get(g);if(!s)throw function un(a){return new e.wOt(3301,!1)}();return s}listen(g,s,l,p){const I=ze(s,"","","");return xe(this._getPlayer(g),l,I,p),()=>{}}command(g,s,l,p){if("register"==l)return void this.register(g,p[0]);if("create"==l)return void this.create(g,s,p[0]||{});const I=this._getPlayer(g);switch(l){case"play":I.play();break;case"pause":I.pause();break;case"reset":I.reset();break;case"restart":I.restart();break;case"finish":I.finish();break;case"init":I.init();break;case"setPosition":I.setPosition(parseFloat(p[0]));break;case"destroy":this.destroy(g)}}}const kr="ng-animate-queued",Ao="ng-animate-disabled",Vo=[],So={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},tc={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},as="__ng_removed";class Ro{get params(){return this.options.params}constructor(g,s=""){this.namespaceId=s;const l=g&&g.hasOwnProperty("value");if(this.value=function ca(a){return a??null}(l?g.value:g),l){const{value:I,...X}=g;this.options=X}else this.options={};this.options.params||(this.options.params={})}absorbOptions(g){const s=g.params;if(s){const l=this.options.params;Object.keys(s).forEach(p=>{null==l[p]&&(l[p]=s[p])})}}}const us="void",Ur=new Ro(us);class nc{constructor(g,s,l){this.id=g,this.hostElement=s,this._engine=l,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+g,rr(s,this._hostClassName)}listen(g,s,l,p){if(!this._triggers.has(s))throw function wn(a,g){return new e.wOt(3302,!1)}();if(null==l||0==l.length)throw function Kn(a){return new e.wOt(3303,!1)}();if(!function Oo(a){return"start"==a||"done"==a}(l))throw function Mt(a,g){return new e.wOt(3400,!1)}();const I=gt(this._elementListeners,g,[]),X={name:s,phase:l,callback:p};I.push(X);const ie=gt(this._engine.statesByElement,g,new Map);return ie.has(s)||(rr(g,jt),rr(g,jt+"-"+s),ie.set(s,Ur)),()=>{this._engine.afterFlush(()=>{const Ae=I.indexOf(X);Ae>=0&&I.splice(Ae,1),this._triggers.has(s)||ie.delete(s)})}}register(g,s){return!this._triggers.has(g)&&(this._triggers.set(g,s),!0)}_getTrigger(g){const s=this._triggers.get(g);if(!s)throw function Bt(a){return new e.wOt(3401,!1)}();return s}trigger(g,s,l,p=!0){const I=this._getTrigger(s),X=new $i(this.id,s,g);let ie=this._engine.statesByElement.get(g);ie||(rr(g,jt),rr(g,jt+"-"+s),this._engine.statesByElement.set(g,ie=new Map));let Ae=ie.get(s);const Ue=new Ro(l,this.id);if(!(l&&l.hasOwnProperty("value"))&&Ae&&Ue.absorbOptions(Ae.options),ie.set(s,Ue),Ae||(Ae=Ur),Ue.value!==us&&Ae.value===Ue.value){if(!function Cc(a,g){const s=Object.keys(a),l=Object.keys(g);if(s.length!=l.length)return!1;for(let p=0;p{fe(g,Wn),q(g,Ri)})}return}const yt=gt(this._engine.playersByElement,g,[]);yt.forEach(fn=>{fn.namespaceId==this.id&&fn.triggerName==s&&fn.queued&&fn.destroy()});let Gt=I.matchTransition(Ae.value,Ue.value,g,Ue.params),Tt=!1;if(!Gt){if(!p)return;Gt=I.fallbackTransition,Tt=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:g,triggerName:s,transition:Gt,fromState:Ae,toState:Ue,player:X,isFallbackTransition:Tt}),Tt||(rr(g,kr),X.onStart(()=>{yo(g,kr)})),X.onDone(()=>{let fn=this.players.indexOf(X);fn>=0&&this.players.splice(fn,1);const Wn=this._engine.playersByElement.get(g);if(Wn){let Ri=Wn.indexOf(X);Ri>=0&&Wn.splice(Ri,1)}}),this.players.push(X),yt.push(X),X}deregister(g){this._triggers.delete(g),this._engine.statesByElement.forEach(s=>s.delete(g)),this._elementListeners.forEach((s,l)=>{this._elementListeners.set(l,s.filter(p=>p.name!=g))})}clearElementCache(g){this._engine.statesByElement.delete(g),this._elementListeners.delete(g);const s=this._engine.playersByElement.get(g);s&&(s.forEach(l=>l.destroy()),this._engine.playersByElement.delete(g))}_signalRemovalForInnerTriggers(g,s){const l=this._engine.driver.query(g,hn,!0);l.forEach(p=>{if(p[as])return;const I=this._engine.fetchNamespacesByElement(p);I.size?I.forEach(X=>X.triggerLeaveAnimation(p,s,!1,!0)):this.clearElementCache(p)}),this._engine.afterFlushAnimationsDone(()=>l.forEach(p=>this.clearElementCache(p)))}triggerLeaveAnimation(g,s,l,p){const I=this._engine.statesByElement.get(g),X=new Map;if(I){const ie=[];if(I.forEach((Ae,Ue)=>{if(X.set(Ue,Ae.value),this._triggers.has(Ue)){const st=this.trigger(g,Ue,us,p);st&&ie.push(st)}}),ie.length)return this._engine.markElementAsRemoved(this.id,g,!0,s,X),l&&he(ie).onDone(()=>this._engine.processLeaveNode(g)),!0}return!1}prepareLeaveAnimationListeners(g){const s=this._elementListeners.get(g),l=this._engine.statesByElement.get(g);if(s&&l){const p=new Set;s.forEach(I=>{const X=I.name;if(p.has(X))return;p.add(X);const Ae=this._triggers.get(X).fallbackTransition,Ue=l.get(X)||Ur,st=new Ro(us),rt=new $i(this.id,X,g);this._engine.totalQueuedPlayers++,this._queue.push({element:g,triggerName:X,transition:Ae,fromState:Ue,toState:st,player:rt,isFallbackTransition:!0})})}}removeNode(g,s){const l=this._engine;if(g.childElementCount&&this._signalRemovalForInnerTriggers(g,s),this.triggerLeaveAnimation(g,s,!0))return;let p=!1;if(l.totalAnimations){const I=l.players.length?l.playersByQueriedElement.get(g):[];if(I&&I.length)p=!0;else{let X=g;for(;X=X.parentNode;)if(l.statesByElement.get(X)){p=!0;break}}}if(this.prepareLeaveAnimationListeners(g),p)l.markElementAsRemoved(this.id,g,!1,s);else{const I=g[as];(!I||I===So)&&(l.afterFlush(()=>this.clearElementCache(g)),l.destroyInnerAnimations(g),l._onRemovalComplete(g,s))}}insertNode(g,s){rr(g,this._hostClassName)}drainQueuedTransitions(g){const s=[];return this._queue.forEach(l=>{const p=l.player;if(p.destroyed)return;const I=l.element,X=this._elementListeners.get(I);X&&X.forEach(ie=>{if(ie.name==l.triggerName){const Ae=ze(I,l.triggerName,l.fromState.value,l.toState.value);Ae._data=g,xe(l.player,ie.phase,Ae,ie.callback)}}),p.markedForDestroy?this._engine.afterFlush(()=>{p.destroy()}):s.push(l)}),this._queue=[],s.sort((l,p)=>{const I=l.transition.ast.depCount,X=p.transition.ast.depCount;return 0==I||0==X?I-X:this._engine.driver.containsElement(l.element,p.element)?1:-1})}destroy(g){this.players.forEach(s=>s.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,g)}}class $o{_onRemovalComplete(g,s){this.onRemovalComplete(g,s)}constructor(g,s,l,p){this.bodyNode=g,this.driver=s,this._normalizer=l,this.scheduler=p,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(I,X)=>{}}get queuedPlayers(){const g=[];return this._namespaceList.forEach(s=>{s.players.forEach(l=>{l.queued&&g.push(l)})}),g}createNamespace(g,s){const l=new nc(g,s,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,s)?this._balanceNamespaceList(l,s):(this.newHostElements.set(s,l),this.collectEnterElement(s)),this._namespaceLookup[g]=l}_balanceNamespaceList(g,s){const l=this._namespaceList,p=this.namespacesByHostElement;if(l.length-1>=0){let X=!1,ie=this.driver.getParentElement(s);for(;ie;){const Ae=p.get(ie);if(Ae){const Ue=l.indexOf(Ae);l.splice(Ue+1,0,g),X=!0;break}ie=this.driver.getParentElement(ie)}X||l.unshift(g)}else l.push(g);return p.set(s,g),g}register(g,s){let l=this._namespaceLookup[g];return l||(l=this.createNamespace(g,s)),l}registerTrigger(g,s,l){let p=this._namespaceLookup[g];p&&p.register(s,l)&&this.totalAnimations++}destroy(g,s){g&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const l=this._fetchNamespace(g);this.namespacesByHostElement.delete(l.hostElement);const p=this._namespaceList.indexOf(l);p>=0&&this._namespaceList.splice(p,1),l.destroy(s),delete this._namespaceLookup[g]}))}_fetchNamespace(g){return this._namespaceLookup[g]}fetchNamespacesByElement(g){const s=new Set,l=this.statesByElement.get(g);if(l)for(let p of l.values())if(p.namespaceId){const I=this._fetchNamespace(p.namespaceId);I&&s.add(I)}return s}trigger(g,s,l,p){if(jo(s)){const I=this._fetchNamespace(g);if(I)return I.trigger(s,l,p),!0}return!1}insertNode(g,s,l,p){if(!jo(s))return;const I=s[as];if(I&&I.setForRemoval){I.setForRemoval=!1,I.setForMove=!0;const X=this.collectedLeaveElements.indexOf(s);X>=0&&this.collectedLeaveElements.splice(X,1)}if(g){const X=this._fetchNamespace(g);X&&X.insertNode(s,l)}p&&this.collectEnterElement(s)}collectEnterElement(g){this.collectedEnterElements.push(g)}markElementAsDisabled(g,s){s?this.disabledNodes.has(g)||(this.disabledNodes.add(g),rr(g,Ao)):this.disabledNodes.has(g)&&(this.disabledNodes.delete(g),yo(g,Ao))}removeNode(g,s,l){if(jo(s)){this.scheduler?.notify();const p=g?this._fetchNamespace(g):null;p?p.removeNode(s,l):this.markElementAsRemoved(g,s,!1,l);const I=this.namespacesByHostElement.get(s);I&&I.id!==g&&I.removeNode(s,l)}else this._onRemovalComplete(s,l)}markElementAsRemoved(g,s,l,p,I){this.collectedLeaveElements.push(s),s[as]={namespaceId:g,setForRemoval:p,hasAnimation:l,removedBeforeQueried:!1,previousTriggersValues:I}}listen(g,s,l,p,I){return jo(s)?this._fetchNamespace(g).listen(s,l,p,I):()=>{}}_buildInstruction(g,s,l,p,I){return g.transition.build(this.driver,g.element,g.fromState.value,g.toState.value,l,p,g.fromState.options,g.toState.options,s,I)}destroyInnerAnimations(g){let s=this.driver.query(g,hn,!0);s.forEach(l=>this.destroyActiveAnimationsForElement(l)),0!=this.playersByQueriedElement.size&&(s=this.driver.query(g,bn,!0),s.forEach(l=>this.finishActiveQueriedAnimationOnElement(l)))}destroyActiveAnimationsForElement(g){const s=this.playersByElement.get(g);s&&s.forEach(l=>{l.queued?l.markedForDestroy=!0:l.destroy()})}finishActiveQueriedAnimationOnElement(g){const s=this.playersByQueriedElement.get(g);s&&s.forEach(l=>l.finish())}whenRenderingDone(){return new Promise(g=>{if(this.players.length)return he(this.players).onDone(()=>g());g()})}processLeaveNode(g){const s=g[as];if(s&&s.setForRemoval){if(g[as]=So,s.namespaceId){this.destroyInnerAnimations(g);const l=this._fetchNamespace(s.namespaceId);l&&l.clearElementCache(g)}this._onRemovalComplete(g,s.setForRemoval)}g.classList?.contains(Ao)&&this.markElementAsDisabled(g,!1),this.driver.query(g,".ng-animate-disabled",!0).forEach(l=>{this.markElementAsDisabled(l,!1)})}flush(g=-1){let s=[];if(this.newHostElements.size&&(this.newHostElements.forEach((l,p)=>this._balanceNamespaceList(l,p)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let l=0;ll()),this._flushFns=[],this._whenQuietFns.length){const l=this._whenQuietFns;this._whenQuietFns=[],s.length?he(s).onDone(()=>{l.forEach(p=>p())}):l.forEach(p=>p())}}reportError(g){throw function Yt(a){return new e.wOt(3402,!1)}()}_flushAnimations(g,s){const l=new oo,p=[],I=new Map,X=[],ie=new Map,Ae=new Map,Ue=new Map,st=new Set;this.disabledNodes.forEach(Dn=>{st.add(Dn);const Ln=this.driver.query(Dn,".ng-animate-queued",!0);for(let jn=0;jn{const jn=Xe+fn++;Tt.set(Ln,jn),Dn.forEach(fi=>rr(fi,jn))});const Wn=[],Ri=new Set,yn=new Set;for(let Dn=0;DnRi.add(fi)):yn.add(Ln))}const Yn=new Map,ei=Cs(yt,Array.from(Ri));ei.forEach((Dn,Ln)=>{const jn=_t+fn++;Yn.set(Ln,jn),Dn.forEach(fi=>rr(fi,jn))}),g.push(()=>{Gt.forEach((Dn,Ln)=>{const jn=Tt.get(Ln);Dn.forEach(fi=>yo(fi,jn))}),ei.forEach((Dn,Ln)=>{const jn=Yn.get(Ln);Dn.forEach(fi=>yo(fi,jn))}),Wn.forEach(Dn=>{this.processLeaveNode(Dn)})});const yi=[],kn=[];for(let Dn=this._namespaceList.length-1;Dn>=0;Dn--)this._namespaceList[Dn].drainQueuedTransitions(s).forEach(jn=>{const fi=jn.player,_s=jn.element;if(yi.push(fi),this.collectedEnterElements.length){const hr=_s[as];if(hr&&hr.setForMove){if(hr.previousTriggersValues&&hr.previousTriggersValues.has(jn.triggerName)){const Qc=hr.previousTriggersValues.get(jn.triggerName),io=this.statesByElement.get(jn.element);if(io&&io.has(jn.triggerName)){const Yl=io.get(jn.triggerName);Yl.value=Qc,io.set(jn.triggerName,Yl)}}return void fi.destroy()}}const rs=!rt||!this.driver.containsElement(rt,_s),ji=Yn.get(_s),ra=Tt.get(_s),ps=this._buildInstruction(jn,l,ra,ji,rs);if(ps.errors&&ps.errors.length)return void kn.push(ps);if(rs)return fi.onStart(()=>fe(_s,ps.fromStyles)),fi.onDestroy(()=>q(_s,ps.toStyles)),void p.push(fi);if(jn.isFallbackTransition)return fi.onStart(()=>fe(_s,ps.fromStyles)),fi.onDestroy(()=>q(_s,ps.toStyles)),void p.push(fi);const Ff=[];ps.timelines.forEach(hr=>{hr.stretchStartingKeyframe=!0,this.disabledNodes.has(hr.element)||Ff.push(hr)}),ps.timelines=Ff,l.append(_s,ps.timelines),X.push({instruction:ps,player:fi,element:_s}),ps.queriedElements.forEach(hr=>gt(ie,hr,[]).push(fi)),ps.preStyleProps.forEach((hr,Qc)=>{if(hr.size){let io=Ae.get(Qc);io||Ae.set(Qc,io=new Set),hr.forEach((Yl,Ra)=>io.add(Ra))}}),ps.postStyleProps.forEach((hr,Qc)=>{let io=Ue.get(Qc);io||Ue.set(Qc,io=new Set),hr.forEach((Yl,Ra)=>io.add(Ra))})});if(kn.length){const Dn=[];kn.forEach(Ln=>{Dn.push(function qt(a,g){return new e.wOt(3505,!1)}())}),yi.forEach(Ln=>Ln.destroy()),this.reportError(Dn)}const Ci=new Map,bi=new Map;X.forEach(Dn=>{const Ln=Dn.element;l.has(Ln)&&(bi.set(Ln,Ln),this._beforeAnimationBuild(Dn.player.namespaceId,Dn.instruction,Ci))}),p.forEach(Dn=>{const Ln=Dn.element;this._getPreviousPlayers(Ln,!1,Dn.namespaceId,Dn.triggerName,null).forEach(fi=>{gt(Ci,Ln,[]).push(fi),fi.destroy()})});const dr=Wn.filter(Dn=>ua(Dn,Ae,Ue)),mo=new Map;la(mo,this.driver,yn,Ue,Y.kp).forEach(Dn=>{ua(Dn,Ae,Ue)&&dr.push(Dn)});const vo=new Map;Gt.forEach((Dn,Ln)=>{la(vo,this.driver,new Set(Dn),Ae,Y.FX)}),dr.forEach(Dn=>{const Ln=mo.get(Dn),jn=vo.get(Dn);mo.set(Dn,new Map([...Ln?.entries()??[],...jn?.entries()??[]]))});const Za=[],Uo=[],Cr={};X.forEach(Dn=>{const{element:Ln,player:jn,instruction:fi}=Dn;if(l.has(Ln)){if(st.has(Ln))return jn.onDestroy(()=>q(Ln,fi.toStyles)),jn.disabled=!0,jn.overrideTotalTime(fi.totalTime),void p.push(jn);let _s=Cr;if(bi.size>1){let ji=Ln;const ra=[];for(;ji=ji.parentNode;){const ps=bi.get(ji);if(ps){_s=ps;break}ra.push(ji)}ra.forEach(ps=>bi.set(ps,_s))}const rs=this._buildAnimation(jn.namespaceId,fi,Ci,I,vo,mo);if(jn.setRealPlayer(rs),_s===Cr)Za.push(jn);else{const ji=this.playersByElement.get(_s);ji&&ji.length&&(jn.parentPlayer=he(ji)),p.push(jn)}}else fe(Ln,fi.fromStyles),jn.onDestroy(()=>q(Ln,fi.toStyles)),Uo.push(jn),st.has(Ln)&&p.push(jn)}),Uo.forEach(Dn=>{const Ln=I.get(Dn.element);if(Ln&&Ln.length){const jn=he(Ln);Dn.setRealPlayer(jn)}}),p.forEach(Dn=>{Dn.parentPlayer?Dn.syncPlayerEvents(Dn.parentPlayer):Dn.destroy()});for(let Dn=0;Dn!rs.destroyed);_s.length?gr(this,Ln,_s):this.processLeaveNode(Ln)}return Wn.length=0,Za.forEach(Dn=>{this.players.push(Dn),Dn.onDone(()=>{Dn.destroy();const Ln=this.players.indexOf(Dn);this.players.splice(Ln,1)}),Dn.play()}),Za}afterFlush(g){this._flushFns.push(g)}afterFlushAnimationsDone(g){this._whenQuietFns.push(g)}_getPreviousPlayers(g,s,l,p,I){let X=[];if(s){const ie=this.playersByQueriedElement.get(g);ie&&(X=ie)}else{const ie=this.playersByElement.get(g);if(ie){const Ae=!I||I==us;ie.forEach(Ue=>{Ue.queued||!Ae&&Ue.triggerName!=p||X.push(Ue)})}}return(l||p)&&(X=X.filter(ie=>!(l&&l!=ie.namespaceId||p&&p!=ie.triggerName))),X}_beforeAnimationBuild(g,s,l){const I=s.element,X=s.isRemovalTransition?void 0:g,ie=s.isRemovalTransition?void 0:s.triggerName;for(const Ae of s.timelines){const Ue=Ae.element,st=Ue!==I,rt=gt(l,Ue,[]);this._getPreviousPlayers(Ue,st,X,ie,s.toState).forEach(Gt=>{const Tt=Gt.getRealPlayer();Tt.beforeDestroy&&Tt.beforeDestroy(),Gt.destroy(),rt.push(Gt)})}fe(I,s.fromStyles)}_buildAnimation(g,s,l,p,I,X){const ie=s.triggerName,Ae=s.element,Ue=[],st=new Set,rt=new Set,yt=s.timelines.map(Tt=>{const fn=Tt.element;st.add(fn);const Wn=fn[as];if(Wn&&Wn.removedBeforeQueried)return new Y.sf(Tt.duration,Tt.delay);const Ri=fn!==Ae,yn=function _i(a){const g=[];return pr(a,g),g}((l.get(fn)||Vo).map(Ci=>Ci.getRealPlayer())).filter(Ci=>!!Ci.element&&Ci.element===fn),Yn=I.get(fn),ei=X.get(fn),yi=Ie(this._normalizer,Tt.keyframes,Yn,ei),kn=this._buildPlayer(Tt,yi,yn);if(Tt.subTimeline&&p&&rt.add(fn),Ri){const Ci=new $i(g,ie,fn);Ci.setRealPlayer(kn),Ue.push(Ci)}return kn});Ue.forEach(Tt=>{gt(this.playersByQueriedElement,Tt.element,[]).push(Tt),Tt.onDone(()=>function Ho(a,g,s){let l=a.get(g);if(l){if(l.length){const p=l.indexOf(s);l.splice(p,1)}0==l.length&&a.delete(g)}return l}(this.playersByQueriedElement,Tt.element,Tt))}),st.forEach(Tt=>rr(Tt,Fn));const Gt=he(yt);return Gt.onDestroy(()=>{st.forEach(Tt=>yo(Tt,Fn)),q(Ae,s.toStyles)}),rt.forEach(Tt=>{gt(p,Tt,[]).push(Gt)}),Gt}_buildPlayer(g,s,l){return s.length>0?this.driver.animate(g.element,s,g.duration,g.delay,g.easing,l):new Y.sf(g.duration,g.delay)}}class $i{constructor(g,s,l){this.namespaceId=g,this.triggerName=s,this.element=l,this._player=new Y.sf,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(g){this._containsRealPlayer||(this._player=g,this._queuedCallbacks.forEach((s,l)=>{s.forEach(p=>xe(g,l,void 0,p))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(g.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(g){this.totalTime=g}syncPlayerEvents(g){const s=this._player;s.triggerCallback&&g.onStart(()=>s.triggerCallback("start")),g.onDone(()=>this.finish()),g.onDestroy(()=>this.destroy())}_queueEvent(g,s){gt(this._queuedCallbacks,g,[]).push(s)}onDone(g){this.queued&&this._queueEvent("done",g),this._player.onDone(g)}onStart(g){this.queued&&this._queueEvent("start",g),this._player.onStart(g)}onDestroy(g){this.queued&&this._queueEvent("destroy",g),this._player.onDestroy(g)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(g){this.queued||this._player.setPosition(g)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(g){const s=this._player;s.triggerCallback&&s.triggerCallback(g)}}function jo(a){return a&&1===a.nodeType}function pi(a,g){const s=a.style.display;return a.style.display=g??"none",s}function la(a,g,s,l,p){const I=[];s.forEach(Ae=>I.push(pi(Ae)));const X=[];l.forEach((Ae,Ue)=>{const st=new Map;Ae.forEach(rt=>{const yt=g.computeStyle(Ue,rt,p);st.set(rt,yt),(!yt||0==yt.length)&&(Ue[as]=tc,X.push(Ue))}),a.set(Ue,st)});let ie=0;return s.forEach(Ae=>pi(Ae,I[ie++])),X}function Cs(a,g){const s=new Map;if(a.forEach(ie=>s.set(ie,[])),0==g.length)return s;const p=new Set(g),I=new Map;function X(ie){if(!ie)return 1;let Ae=I.get(ie);if(Ae)return Ae;const Ue=ie.parentNode;return Ae=s.has(Ue)?Ue:p.has(Ue)?1:X(Ue),I.set(ie,Ae),Ae}return g.forEach(ie=>{const Ae=X(ie);1!==Ae&&s.get(Ae).push(ie)}),s}function rr(a,g){a.classList?.add(g)}function yo(a,g){a.classList?.remove(g)}function gr(a,g,s){he(s).onDone(()=>a.processLeaveNode(g))}function pr(a,g){for(let s=0;sp.add(I)):g.set(a,l),s.delete(a),!0}class Bs{constructor(g,s,l,p){this._driver=s,this._normalizer=l,this._triggerCache={},this.onRemovalComplete=(I,X)=>{},this._transitionEngine=new $o(g.body,s,l,p),this._timelineEngine=new Wo(g.body,s,l),this._transitionEngine.onRemovalComplete=(I,X)=>this.onRemovalComplete(I,X)}registerTrigger(g,s,l,p,I){const X=g+"-"+p;let ie=this._triggerCache[X];if(!ie){const Ae=[],st=ri(this._driver,I,Ae,[]);if(Ae.length)throw function mt(a,g){return new e.wOt(3404,!1)}();ie=function Do(a,g,s){return new os(a,g,s)}(p,st,this._normalizer),this._triggerCache[X]=ie}this._transitionEngine.registerTrigger(s,p,ie)}register(g,s){this._transitionEngine.register(g,s)}destroy(g,s){this._transitionEngine.destroy(g,s)}onInsert(g,s,l,p){this._transitionEngine.insertNode(g,s,l,p)}onRemove(g,s,l){this._transitionEngine.removeNode(g,s,l)}disableAnimations(g,s){this._transitionEngine.markElementAsDisabled(g,s)}process(g,s,l,p){if("@"==l.charAt(0)){const[I,X]=kt(l);this._timelineEngine.command(I,s,X,p)}else this._transitionEngine.trigger(g,s,l,p)}listen(g,s,l,p,I){if("@"==l.charAt(0)){const[X,ie]=kt(l);return this._timelineEngine.listen(X,s,ie,I)}return this._transitionEngine.listen(g,s,l,p,I)}flush(g=-1){this._transitionEngine.flush(g)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(g){this._transitionEngine.afterFlushAnimationsDone(g)}}class or{static#e=this.initialStylesByElement=new WeakMap;constructor(g,s,l){this._element=g,this._startStyles=s,this._endStyles=l,this._state=0;let p=or.initialStylesByElement.get(g);p||or.initialStylesByElement.set(g,p=new Map),this._initialStyles=p}start(){this._state<1&&(this._startStyles&&q(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(q(this._element,this._initialStyles),this._endStyles&&(q(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(or.initialStylesByElement.delete(this._element),this._startStyles&&(fe(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(fe(this._element,this._endStyles),this._endStyles=null),q(this._element,this._initialStyles),this._state=3)}}function Sr(a){let g=null;return a.forEach((s,l)=>{(function Ko(a){return"display"===a||"position"===a})(l)&&(g=g||new Map,g.set(l,s))}),g}class Wr{constructor(g,s,l,p){this.element=g,this.keyframes=s,this.options=l,this._specialStyles=p,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=l.duration,this._delay=l.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(g=>g()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const g=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,g,this.options),this._finalKeyframe=g.length?g[g.length-1]:new Map;const s=()=>this._onFinish();this.domPlayer.addEventListener("finish",s),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",s)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(g){const s=[];return g.forEach(l=>{s.push(Object.fromEntries(l))}),s}_triggerWebAnimation(g,s,l){return g.animate(this._convertKeyframesToObject(s),l)}onStart(g){this._originalOnStartFns.push(g),this._onStartFns.push(g)}onDone(g){this._originalOnDoneFns.push(g),this._onDoneFns.push(g)}onDestroy(g){this._onDestroyFns.push(g)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(g=>g()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(g=>g()),this._onDestroyFns=[])}setPosition(g){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=g*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const g=new Map;this.hasStarted()&&this._finalKeyframe.forEach((l,p)=>{"offset"!==p&&g.set(p,this._finished?l:tr(this.element,p))}),this.currentSnapshot=g}triggerCallback(g){const s="start"===g?this._onStartFns:this._onDoneFns;s.forEach(l=>l()),s.length=0}}class Pa{validateStyleProperty(g){return!0}validateAnimatableStyleProperty(g){return!0}matchesElement(g,s){return!1}containsElement(g,s){return Xt(g,s)}getParentElement(g){return on(g)}query(g,s,l){return Tn(g,s,l)}computeStyle(g,s,l){return tr(g,s)}animate(g,s,l,p,I,X=[]){const Ae={duration:l,delay:p,fill:0==p?"both":"forwards"};I&&(Ae.easing=I);const Ue=new Map,st=X.filter(Gt=>Gt instanceof Wr);(function qi(a,g){return 0===a||0===g})(l,p)&&st.forEach(Gt=>{Gt.currentSnapshot.forEach((Tt,fn)=>Ue.set(fn,Tt))});let rt=function H(a){return a.length?a[0]instanceof Map?a:a.map(g=>new Map(Object.entries(g))):[]}(s).map(Gt=>new Map(Gt));rt=function zi(a,g,s){if(s.size&&g.length){let l=g[0],p=[];if(s.forEach((I,X)=>{l.has(X)||p.push(X),l.set(X,I)}),p.length)for(let I=1;IX.set(ie,tr(a,ie)))}}return g}(g,rt,Ue);const yt=function Gr(a,g){let s=null,l=null;return Array.isArray(g)&&g.length?(s=Sr(g[0]),g.length>1&&(l=Sr(g[g.length-1]))):g instanceof Map&&(s=Sr(g)),s||l?new or(a,s,l):null}(g,rt);return new Wr(g,rt,Ae,yt)}}const ar="@.disabled";class Vr{constructor(g,s,l,p){this.namespaceId=g,this.delegate=s,this.engine=l,this._onDestroy=p,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(g){this.delegate.destroyNode?.(g)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(g,s){return this.delegate.createElement(g,s)}createComment(g){return this.delegate.createComment(g)}createText(g){return this.delegate.createText(g)}appendChild(g,s){this.delegate.appendChild(g,s),this.engine.onInsert(this.namespaceId,s,g,!1)}insertBefore(g,s,l,p=!0){this.delegate.insertBefore(g,s,l),this.engine.onInsert(this.namespaceId,s,g,p)}removeChild(g,s,l){this.engine.onRemove(this.namespaceId,s,this.delegate)}selectRootElement(g,s){return this.delegate.selectRootElement(g,s)}parentNode(g){return this.delegate.parentNode(g)}nextSibling(g){return this.delegate.nextSibling(g)}setAttribute(g,s,l,p){this.delegate.setAttribute(g,s,l,p)}removeAttribute(g,s,l){this.delegate.removeAttribute(g,s,l)}addClass(g,s){this.delegate.addClass(g,s)}removeClass(g,s){this.delegate.removeClass(g,s)}setStyle(g,s,l,p){this.delegate.setStyle(g,s,l,p)}removeStyle(g,s,l){this.delegate.removeStyle(g,s,l)}setProperty(g,s,l){"@"==s.charAt(0)&&s==ar?this.disableAnimations(g,!!l):this.delegate.setProperty(g,s,l)}setValue(g,s){this.delegate.setValue(g,s)}listen(g,s,l){return this.delegate.listen(g,s,l)}disableAnimations(g,s){this.engine.disableAnimations(g,s)}}class To extends Vr{constructor(g,s,l,p,I){super(s,l,p,I),this.factory=g,this.namespaceId=s}setProperty(g,s,l){"@"==s.charAt(0)?"."==s.charAt(1)&&s==ar?this.disableAnimations(g,l=void 0===l||!!l):this.engine.process(this.namespaceId,g,s.slice(1),l):this.delegate.setProperty(g,s,l)}listen(g,s,l){if("@"==s.charAt(0)){const p=function _r(a){switch(a){case"body":return document.body;case"document":return document;case"window":return window;default:return a}}(g);let I=s.slice(1),X="";return"@"!=I.charAt(0)&&([I,X]=function ho(a){const g=a.indexOf(".");return[a.substring(0,g),a.slice(g+1)]}(I)),this.engine.listen(this.namespaceId,p,I,X,ie=>{this.factory.scheduleListenerCallback(ie._data||-1,l,ie)})}return this.delegate.listen(g,s,l)}}class ks{constructor(g,s,l){this.delegate=g,this.engine=s,this._zone=l,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,s.onRemovalComplete=(p,I)=>{const X=I?.parentNode(p);X&&I.removeChild(X,p)}}createRenderer(g,s){const p=this.delegate.createRenderer(g,s);if(!g||!s?.data?.animation){const Ue=this._rendererCache;let st=Ue.get(p);return st||(st=new Vr("",p,this.engine,()=>Ue.delete(p)),Ue.set(p,st)),st}const I=s.id,X=s.id+"-"+this._currentId;this._currentId++,this.engine.register(X,g);const ie=Ue=>{Array.isArray(Ue)?Ue.forEach(ie):this.engine.registerTrigger(I,X,g,Ue.name,Ue)};return s.data.animation.forEach(ie),new To(this,X,p,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(g,s,l){if(g>=0&&gs(l));const p=this._animationCallbacksBuffer;0==p.length&&queueMicrotask(()=>{this._zone.run(()=>{p.forEach(I=>{const[X,ie]=I;X(ie)}),this._animationCallbacksBuffer=[]})}),p.push([s,l])}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}const $r=[{provide:gi,useFactory:function Rr(){return new Le}},{provide:Bs,useClass:(()=>{class a extends Bs{constructor(s,l,p){super(s,l,p,(0,e.WQX)(e.An2,{optional:!0}))}ngOnDestroy(){this.flush()}static#e=this.\u0275fac=function(l){return new(l||a)(e.KVO(c.qQ),e.KVO(Di),e.KVO(gi))};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac})}return a})()},{provide:e._9s,useFactory:function Or(a,g,s){return new ks(a,g,s)},deps:[u.B7,Bs,e.SKi]}],mi=[{provide:Di,useFactory:()=>new Pa},{provide:e.bc$,useValue:"BrowserAnimations"},...$r],Fa=[{provide:Di,useClass:si},{provide:e.bc$,useValue:"NoopAnimations"},...$r];let Ba=(()=>{class a{static withConfig(s){return{ngModule:a,providers:s.disableAnimations?Fa:mi}}static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({providers:mi,imports:[u.Bb]})}return a})();var pn=o(25558),Wt=o(88141),Qn=o(30617),Mo=o(82409);let da=(()=>{class a{constructor(){this.siteSetting=(0,e.WQX)(Qn.p),this.systemMessageService=(0,e.WQX)(Mo._X),this.i18nService=(0,e.WQX)(A.JO)}canActivate(){return this.siteSetting.select("siteSettingModel").pipe((0,pn.n)(s=>s.isDisableSignUp?(0,C.of)(!1).pipe((0,Wt.M)(()=>{const p=this.i18nService.translate("ui.global.text.register_is_disabled");this.systemMessageService.show(p)})):(0,C.of)(!0)))}static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();var Oi=o(51433),No=o(91480),In=o(78382),vi=o(55918),Bi=o(2348),Os=o(14436),ki=o(94768),Sn=o(96354),Ds=o(11586),cr=o(9630),Us=o(78325),As=o(80247),Hr=o(77874),yr=o(77183),jr=o(43518),wo=o(99146),Xo=o(68990),Kr=o(7760),Pn=o(45122),es=o(78922),ts=o(69568),Rn=o(51066),ds=o(69506),hs=o(48055),Gs=o(41842),ms=o(65210),Xs=o(8688);const sc=a=>({"ani show":a}),bo=a=>({display:a});function Tr(a,g){if(1&a){const s=e.RV6();e.j41(0,"div",13),e.nrm(1,"input",14),e.nI1(2,"async"),e.j41(3,"label",15),e.bIt("click",function(){const p=e.eBV(s).$implicit,I=e.XpG(3);return e.Njj(I.changeCurrencyAndLanguage(p))}),e.EFF(4),e.nI1(5,"lowercase"),e.k0s()()}if(2&a){let s;const l=g.$implicit,p=g.index,I=e.XpG(2).$implicit,X=e.XpG();e.R7$(),e.FS9("id",l+p),e.Y8G("checked",(null==(s=e.bMT(2,4,X.currentLanguageType$))?null:s.unique)===l),e.R7$(2),e.FS9("for",X.getLanguage(l)||""+p),e.R7$(),e.SpI(" ",I(e.bMT(5,6,"ui.global.word.language."+X.getLanguage(l)))," ")}}function Ss(a,g){if(1&a){const s=e.RV6();e.j41(0,"div",3)(1,"div",4)(2,"h3"),e.EFF(3),e.k0s(),e.j41(4,"a",5),e.bIt("click",function(){e.eBV(s);const p=e.XpG(2);return e.Njj(p.deactivate())}),e.nrm(5,"span",6),e.nI1(6,"async"),e.nI1(7,"imageUrl"),e.k0s()(),e.j41(8,"div",7)(9,"ul",8)(10,"li")(11,"div",9),e.nrm(12,"img",10),e.nI1(13,"async"),e.j41(14,"p")(15,"span"),e.EFF(16),e.k0s(),e.EFF(17),e.k0s()(),e.j41(18,"div",11),e.DNE(19,Tr,6,8,"div",12),e.nI1(20,"async"),e.k0s()()()()()}if(2&a){let s;const l=e.XpG().$implicit,p=e.XpG();e.HbH(p.customClass),e.Y8G("@popWrapTriggerAni",p.isActive)("ngClass",e.eq3(20,sc,!0===p.isActive)),e.R7$(3),e.JRh(l("ui.guest_toolbar.pop_up.currency_language")),e.R7$(2),e.xc7("background-image",e.bMT(7,14,null==(s=e.bMT(6,12,p.SwitchThemeService.imageLink$))?null:s.IMG_POP_CLOSE)),e.R7$(7),e.FS9("alt",p.currentCurrencyType.name),e.Y8G("drcCdnSrc",e.bMT(13,16,p.currentCurrencyFlagImg$)),e.R7$(4),e.SpI("",p.currentCurrencyType.symbol," "),e.R7$(),e.SpI(" ",l("ui.global.currency."+p.currentCurrencyType.name),""),e.R7$(2),e.Y8G("ngForOf",e.bMT(20,18,p.languages$))}}function Xr(a,g){if(1&a){const s=e.RV6();e.j41(0,"div",16),e.bIt("@popBgTriggerAni.done",function(p){e.eBV(s);const I=e.XpG(2);return e.Njj(I.onAnimationDone(p))})("click",function(){e.eBV(s);const p=e.XpG(2);return e.Njj(p.deactivate())}),e.k0s()}if(2&a){const s=e.XpG(2);e.Y8G("@popBgTriggerAni",s.isActive)("ngStyle",e.eq3(2,bo,s.isActive?"block":"none"))}}function ha(a,g){if(1&a&&(e.qex(0),e.DNE(1,Ss,21,22,"div",1)(2,Xr,1,4,"div",2),e.bVm()),2&a){const s=e.XpG();e.R7$(),e.Y8G("ngIf",s.isActive),e.R7$(),e.Y8G("ngIf",s.isActive)}}let Yr=(()=>{class a extends yr.u{constructor(s,l,p){super(),this.i18nService=s,this.siteSetting=l,this.currentLanguageType$=this.siteSetting.select("currentLanguageType"),this.currentCurrencyType=this.siteSetting.get("currentCurrencyType"),this.SwitchThemeService=(0,e.WQX)(Us.Fu),this.languages$=this.siteSetting.select("currencyMappingSettingModel").pipe((0,Sn.T)(I=>I.find(X=>X.currencyTypeId===this.siteSetting.get("currentCurrencyType").unique)?.mapping.find(X=>X.currencySettingTypeId===es.X.LANGUAGE.unique)?.mappingData.map(X=>Number(X)))),this.currentCurrencyFlagImg$=this.siteSetting.select("currencyMappingSettingModel").pipe((0,Sn.T)(I=>{const ie=I.find(Ae=>Ae.currencyTypeId===this.currentCurrencyType.unique)?.mapping.find(Ae=>Ae.currencySettingTypeId===es.X.COUNTRY.unique);return`/assets/images/flag/${ds.B.getInstanceOf(Number(ie?.mappingData[0]))?.name}.png`})),this.customClass="",this.customClass=p.customClass||""}changeCurrencyAndLanguage(s){const l=y.t.getInstanceOfDefaultEn(s);setTimeout(()=>this.i18nService.changeCurrencyAndLanguage(this.siteSetting.get("currentCurrencyType"),l),0),this.deactivate()}getLanguage(s){return y.t.getInstanceOf(s)?.name}onAnimationDone(s){"void"===s.toState&&this.close()}static#e=this.\u0275fac=function(l){return new(l||a)(e.rXU(hs.W),e.rXU(Qn.p),e.rXU(jr.Qs))};static#t=this.\u0275cmp=e.VBU({type:a,selectors:[["app-language-setting"]],features:[e.Vt3],decls:1,vars:0,consts:[[4,"transloco"],["class","pop-wrap","id","popInbox",3,"class","ngClass",4,"ngIf"],["class","pop-bg",3,"ngStyle","click",4,"ngIf"],["id","popInbox",1,"pop-wrap",3,"ngClass"],[1,"pop-title"],[1,"btn-close",3,"click"],[1,"item-icon"],[1,"pop-inner"],[1,"language-list"],[1,"left-language-area"],[3,"drcCdnSrc","alt"],[1,"right-language-area"],["class","radio-box",4,"ngFor","ngForOf"],[1,"radio-box"],["type","radio","name","language",3,"id","checked"],[3,"click","for"],[1,"pop-bg",3,"click","ngStyle"]],template:function(l,p){1&l&&e.DNE(0,ha,3,2,"ng-container",0)},dependencies:[c.YU,c.Sq,c.bT,c.B3,A.bA,Gs.f,ms.h,c.Jj,c.GH,Xs.H],data:{animation:[cr.Rz,cr.FA]},changeDetection:0})}return a})();var xi=o(57610);class zr extends xi.b{constructor(g){super("HOME",g)}}class Mr extends xi.b{constructor(g){super("GAME_TYPE",g)}}class ka extends xi.b{constructor(g){super("PROMOTIONS",g)}}class rc extends xi.b{constructor(g){super("LANGUAGE",g)}}class lr extends xi.b{constructor(g){super("SIDE_MENU",g),this.Home=new zr(this),this.GameType=new Mr(this),this.Promotion=new ka(this),this.Language=new rc(this)}}var ns=o(89079),It=o(29119),Yo=o(4780);const xo=new e.nKC("SHOULD_HAVE_ALL_PROVIDER");var b=function(a){return a.HOME="home",a.VENDOR="vendor",a.PROMOTIONBLOCK="promotionBlock",a.SUPPORTBLOCK="supportBlock",a}(b||{}),ge=function(a){return a.HOME="home",a.VENDOR="vendor",a.PROMOTION="promotion",a.REFERRAL_PROGRAM="referral-program",a.VIP="vip",a.REFER_BONUS="refer-bonus",a.SOCIAL_MEDIA="social-media",a.CONTACT_US="contact-us",a.APP_DOWNLOAD="download",a.AFFILIATE="affiliate",a.TALK="talk",a.FORUM2="forum2",a.AMBASSADOR="ambassador",a.PARTNERSHIP="partnership",a.RESPONSIBLE_GAMING="responsible-gaming",a}(ge||{});const z=new e.nKC("SIDE_MENU_SETTING_CONFIG"),oe=new e.nKC("SIDE_MENU_SETTING_CONFIG_FOR_ALL_CURRENCY");var Se=o(35606),Et=o(60328),De=o(11031),m=o(78530),O=o(65788),N=function(a){return a[a.CSLINK=1]="CSLINK",a[a.EMAIL=2]="EMAIL",a[a.QQ=3]="QQ",a[a.WECHAT=4]="WECHAT",a[a.SKYPE=5]="SKYPE",a[a.ZALO=6]="ZALO",a[a.TELEGRAM=7]="TELEGRAM",a[a.WHATSAPP=8]="WHATSAPP",a[a.KAKAOTALK=9]="KAKAOTALK",a[a.LINE=10]="LINE",a[a.BBM=11]="BBM",a[a.FACEBOOK=12]="FACEBOOK",a[a.IMO=13]="IMO",a[a.PHONE=14]="PHONE",a[a.VIBER=15]="VIBER",a}(N||{});class L extends O.N{static#e=this._values=new Array;static#t=this.CSLINK=new L(N.CSLINK,"CSlink","talk");static#n=this.EMAIL=new L(N.EMAIL,"email","email");static#i=this.QQ=new L(N.QQ,"QQ","qq");static#s=this.WECHAT=new L(N.WECHAT,"WeChat","wechat");static#r=this.SKYPE=new L(N.SKYPE,"Skype","skype");static#o=this.ZALO=new L(N.ZALO,"Zalo","zalo");static#a=this.TELEGRAM=new L(N.TELEGRAM,"Telegram","telegram");static#c=this.WHATSAPP=new L(N.WHATSAPP,"WhatsApp","whatsapp");static#l=this.KAKAOTALK=new L(N.KAKAOTALK,"KakaoTalk","kakao-talk");static#u=this.LINE=new L(N.LINE,"LINE","line");static#d=this.BBM=new L(N.BBM,"BBM","bbm");static#h=this.FACEBOOK=new L(N.FACEBOOK,"Facebook Messenger","facebook-messenger");static#f=this.IMO=new L(N.IMO,"imo","imo");static#g=this.PHONE=new L(N.PHONE,"Phone","phone");static#p=this.VIBER=new L(N.VIBER,"Viber","viber");constructor(g,s,l){super(g),this._value=g,this._name=s,this._h5Class=l,L.values.push(this)}static get values(){return this._values}static getInstanceOf(g){return this._values.find(s=>s._value===g)}get name(){return this._name}get h5Class(){return this._h5Class}}var V=o(51188),de=o(98856),me=o(48610),ke=o(85964),Fe=o(98895);const Ne=["customMenuFirstTemplate"],et=a=>[a],ht=()=>[],ft=a=>({active:a}),At=a=>({$implicit:a}),ct=(a,g)=>({$implicit:a,galleryCategoryType:g}),Lt=a=>({display:a});function wt(a,g){if(1&a){const s=e.RV6();e.qex(0),e.j41(1,"ul",20)(2,"li",21),e.nrm(3,"span",22),e.nI1(4,"async"),e.nI1(5,"imageUrl"),e.j41(6,"a",23),e.bIt("click",function(){e.eBV(s);const p=e.XpG(4);return e.Njj(p.deactivate())}),e.EFF(7),e.k0s()()(),e.bVm()}if(2&a){let s;const l=e.XpG(3).$implicit,p=e.XpG();e.R7$(3),e.xc7("background-image",e.bMT(5,8,null==(s=e.bMT(4,6,p.SwitchThemeService.imageLink$))?null:s.SIDENAV_ICON_HOME)),e.R7$(3),e.Y8G("routerLink",e.eq3(10,et,p.routingPathType.MAIN.link))("category",p.SideMenu.Home.value)("title","home"),e.R7$(),e.SpI(" ",l("ui.global.word.home")," ")}}function Kt(a,g){if(1&a){const s=e.RV6();e.qex(0),e.j41(1,"li",25),e.nrm(2,"span",22),e.nI1(3,"async"),e.nI1(4,"imageUrl"),e.j41(5,"a",26),e.bIt("click",function(){e.eBV(s);const p=e.XpG(5);return e.Njj(p.onClickExclusiveNav())}),e.EFF(6),e.k0s()(),e.bVm()}if(2&a){let s;const l=e.XpG(4).$implicit,p=e.XpG();e.R7$(),e.AVh("active",p.menu2ndType===p.gameTypeExclusiveName),e.Y8G("category",p.neuACategory)("title",p.gameTypeExclusiveName),e.BMQ("data-category",p.gameTypeExclusiveName),e.R7$(),e.xc7("background-image",e.bMT(4,10,null==(s=e.bMT(3,8,p.SwitchThemeService.imageLink$))?null:s.SIDENAV_ICON_EXCLUSIVE)),e.R7$(4),e.SpI(" ",l("ui.global.game_type.exclusive")," ")}}function en(a,g){if(1&a&&(e.nrm(0,"span",22),e.nI1(1,"async"),e.nI1(2,"imageUrl")),2&a){let s;const l=e.XpG(7);e.xc7("background-image",e.bMT(2,4,null==(s=e.bMT(1,2,l.SwitchThemeService.imageLink$))?null:s.SIDENAV_ICON_SPORT))}}function Pt(a,g){if(1&a&&(e.nrm(0,"span",22),e.nI1(1,"async"),e.nI1(2,"imageUrl")),2&a){let s;const l=e.XpG(7);e.xc7("background-image",e.bMT(2,4,null==(s=e.bMT(1,2,l.SwitchThemeService.imageLink$))?null:s.SIDENAV_ICON_CASINO))}}function $t(a,g){if(1&a&&(e.nrm(0,"span",22),e.nI1(1,"async"),e.nI1(2,"imageUrl")),2&a){let s;const l=e.XpG(7);e.xc7("background-image",e.bMT(2,4,null==(s=e.bMT(1,2,l.SwitchThemeService.imageLink$))?null:s.SIDENAV_ICON_SLOT))}}function cn(a,g){if(1&a&&(e.nrm(0,"span",22),e.nI1(1,"async"),e.nI1(2,"imageUrl")),2&a){let s;const l=e.XpG(7);e.xc7("background-image",e.bMT(2,4,null==(s=e.bMT(1,2,l.SwitchThemeService.imageLink$))?null:s.SIDENAV_ICON_CARD))}}function _n(a,g){if(1&a&&(e.nrm(0,"span",22),e.nI1(1,"async"),e.nI1(2,"imageUrl")),2&a){let s;const l=e.XpG(7);e.xc7("background-image",e.bMT(2,4,null==(s=e.bMT(1,2,l.SwitchThemeService.imageLink$))?null:s.SIDENAV_ICON_ESPORT))}}function sn(a,g){if(1&a&&(e.nrm(0,"span",22),e.nI1(1,"async"),e.nI1(2,"imageUrl")),2&a){let s;const l=e.XpG(7);e.xc7("background-image",e.bMT(2,4,null==(s=e.bMT(1,2,l.SwitchThemeService.imageLink$))?null:s.SIDENAV_ICON_FISH))}}function gn(a,g){if(1&a&&(e.nrm(0,"span",22),e.nI1(1,"async"),e.nI1(2,"imageUrl")),2&a){let s;const l=e.XpG(7);e.xc7("background-image",e.bMT(2,4,null==(s=e.bMT(1,2,l.SwitchThemeService.imageLink$))?null:s.SIDENAV_ICON_CRASH))}}function ci(a,g){if(1&a&&(e.nrm(0,"span",22),e.nI1(1,"async"),e.nI1(2,"imageUrl")),2&a){let s;const l=e.XpG(7);e.xc7("background-image",e.bMT(2,4,null==(s=e.bMT(1,2,l.SwitchThemeService.imageLink$))?null:s.SIDENAV_ICON_HUNDREDS))}}function Ii(a,g){if(1&a&&(e.nrm(0,"span",22),e.nI1(1,"async"),e.nI1(2,"imageUrl")),2&a){let s;const l=e.XpG(7);e.xc7("background-image",e.bMT(2,4,null==(s=e.bMT(1,2,l.SwitchThemeService.imageLink$))?null:s.SIDENAV_ICON_VIP))}}function Ui(a,g){if(1&a&&(e.nrm(0,"span",22),e.nI1(1,"async"),e.nI1(2,"imageUrl")),2&a){let s;const l=e.XpG(7);e.xc7("background-image",e.bMT(2,4,null==(s=e.bMT(1,2,l.SwitchThemeService.imageLink$))?null:s.SIDENAV_ICON_DOWNLOAD))}}function is(a,g){if(1&a&&(e.nrm(0,"span",22),e.nI1(1,"async"),e.nI1(2,"imageUrl")),2&a){let s;const l=e.XpG(7);e.xc7("background-image",e.bMT(2,4,null==(s=e.bMT(1,2,l.SwitchThemeService.imageLink$))?null:s.SIDENAV_ICON_TABLE))}}function Ai(a,g){if(1&a&&(e.nrm(0,"span",22),e.nI1(1,"async"),e.nI1(2,"imageUrl")),2&a){let s;const l=e.XpG(7);e.xc7("background-image",e.bMT(2,4,null==(s=e.bMT(1,2,l.SwitchThemeService.imageLink$))?null:s.SIDENAV_ICON_COCKFIGHTING))}}function Qi(a,g){if(1&a&&(e.nrm(0,"span",22),e.nI1(1,"async"),e.nI1(2,"imageUrl")),2&a){let s;const l=e.XpG(7);e.xc7("background-image",e.bMT(2,4,null==(s=e.bMT(1,2,l.SwitchThemeService.imageLink$))?null:s.SIDENAV_ICON_LOTTERY))}}function Ti(a,g){if(1&a&&(e.nrm(0,"span",22),e.nI1(1,"async"),e.nI1(2,"imageUrl")),2&a){let s;const l=e.XpG(7);e.xc7("background-image",e.bMT(2,4,null==(s=e.bMT(1,2,l.SwitchThemeService.imageLink$))?null:s.SIDENAV_ICON_ARCADE))}}function Nn(a,g){if(1&a&&(e.nrm(0,"span",22),e.nI1(1,"async"),e.nI1(2,"imageUrl")),2&a){let s;const l=e.XpG(7);e.xc7("background-image",e.bMT(2,4,null==(s=e.bMT(1,2,l.SwitchThemeService.imageLink$))?null:s.SIDENAV_ICON_RAIN))}}function go(a,g){if(1&a&&(e.qex(0),e.EFF(1),e.nI1(2,"lowercase"),e.bVm()),2&a){const s=e.XpG().$implicit,l=e.XpG(5).$implicit,p=e.XpG();e.R7$(),e.SpI(" ",p.customGameTypeNameHandler(s.gameType,l("ui.global.game_type.nav_"+e.bMT(2,1,s.gameType.name)))," ")}}function Nr(a,g){if(1&a&&(e.EFF(0),e.nI1(1,"lowercase")),2&a){const s=e.XpG().$implicit,l=e.XpG(5).$implicit;e.SpI(" ",l(e.bMT(1,1,"ui.global.game_type.nav_"+s.gameType.name))," ")}}function Ys(a,g){if(1&a){const s=e.RV6();e.j41(0,"li",25),e.qex(1,18),e.DNE(2,en,3,6,"span",28)(3,Pt,3,6,"span",28)(4,$t,3,6,"span",28)(5,cn,3,6,"span",28)(6,_n,3,6,"span",28)(7,sn,3,6,"span",28)(8,gn,3,6,"span",28)(9,ci,3,6,"span",28)(10,Ii,3,6,"span",28)(11,Ui,3,6,"span",28)(12,is,3,6,"span",28)(13,Ai,3,6,"span",28)(14,Qi,3,6,"span",28)(15,Ti,3,6,"span",28)(16,Nn,3,6,"span",28),e.bVm(),e.j41(17,"a",26),e.bIt("click",function(){const p=e.eBV(s).$implicit,I=e.XpG(6);return e.Njj(I.onClickGameNav(p))}),e.DNE(18,go,3,3,"ng-container",29)(19,Nr,2,3,"ng-template",null,1,e.C5r),e.k0s()()}if(2&a){const s=g.$implicit,l=e.sdS(20),p=e.XpG(6);e.AVh("active",p.menu2ndType===s.category),e.Y8G("category",p.neuACategory)("title",s.title),e.BMQ("data-category",s.category),e.R7$(),e.Y8G("ngSwitch",s.category),e.R7$(),e.Y8G("ngSwitchCase","sport"),e.R7$(),e.Y8G("ngSwitchCase","casino"),e.R7$(),e.Y8G("ngSwitchCase","slot"),e.R7$(),e.Y8G("ngSwitchCase","card"),e.R7$(),e.Y8G("ngSwitchCase","esport"),e.R7$(),e.Y8G("ngSwitchCase","fish"),e.R7$(),e.Y8G("ngSwitchCase","crash"),e.R7$(),e.Y8G("ngSwitchCase","hundreds"),e.R7$(),e.Y8G("ngSwitchCase","vip"),e.R7$(),e.Y8G("ngSwitchCase","download"),e.R7$(),e.Y8G("ngSwitchCase","table"),e.R7$(),e.Y8G("ngSwitchCase","cockfighting"),e.R7$(),e.Y8G("ngSwitchCase","lottery"),e.R7$(),e.Y8G("ngSwitchCase","arcade"),e.R7$(),e.Y8G("ngSwitchCase","rain"),e.R7$(2),e.Y8G("ngIf",p.customGameTypeNameHandler)("ngIfElse",l)}}function wr(a,g){if(1&a&&(e.qex(0),e.DNE(1,Ys,21,23,"li",27),e.nI1(2,"async"),e.bVm()),2&a){const s=e.XpG(5);e.R7$(),e.Y8G("ngForOf",e.bMT(2,1,s.gameNavState$))}}function Po(a,g){if(1&a){const s=e.RV6();e.j41(0,"li",25),e.nrm(1,"span",22),e.nI1(2,"galleryImage"),e.nI1(3,"imageUrl"),e.j41(4,"a",26),e.bIt("click",function(){const p=e.eBV(s).$implicit,I=e.XpG(6);return I.selectCategoryNavTab(p,!0),e.Njj(I.expandSecondMenu(I.sideMenuBlockEnum.VENDOR))}),e.EFF(5),e.k0s()()}if(2&a){const s=g.$implicit,l=e.XpG(6);e.AVh("active",l.selectedCategoryNavTab===s&&l.menu2ndType===l.sideMenuBlockEnum.VENDOR),e.Y8G("category",l.neuACategory)("title",s.displayName),e.BMQ("data-category-type-id",s.categoryTypeId),e.R7$(),e.xc7("background-image",e.bMT(3,11,e.i5U(2,8,s.iconFlag,l.GalleryCategoryType.LEFT_NAV))),e.R7$(4),e.SpI(" ",s.displayName," ")}}function Mi(a,g){if(1&a&&(e.qex(0),e.DNE(1,Po,6,13,"li",27),e.bVm()),2&a){const s=g.$implicit;e.R7$(),e.Y8G("ngForOf",s)}}function br(a,g){if(1&a&&(e.qex(0),e.j41(1,"ul",24),e.DNE(2,Kt,7,12,"ng-container",12),e.nI1(3,"async"),e.DNE(4,wr,3,3,"ng-container",12),e.nI1(5,"async"),e.nI1(6,"async"),e.DNE(7,Mi,2,1,"ng-container",12),e.nI1(8,"async"),e.nI1(9,"async"),e.k0s(),e.bVm()),2&a){const s=e.XpG(4);e.R7$(2),e.Y8G("ngIf",(e.bMT(3,3,s.exclusiveGameSetting$)||e.lJ4(13,ht)).length>0),e.R7$(2),e.Y8G("ngIf",!e.bMT(5,5,s.isEnableWebsiteCategory$)&&e.bMT(6,7,s.gameNavState$)),e.R7$(3),e.Y8G("ngIf",e.bMT(8,9,s.isEnableWebsiteCategory$)&&e.bMT(9,11,s.categoryList$))}}function Ws(a,g){if(1&a){const s=e.RV6();e.j41(0,"a",34),e.bIt("click",function(){e.eBV(s);const p=e.XpG(8);return e.Njj(p.deactivate())}),e.EFF(1),e.k0s()}if(2&a){const s=e.XpG().ngIf;e.Y8G("routerLink",e.eq3(2,et,s.link)),e.R7$(),e.SpI(" ",s.label," ")}}function Vs(a,g){if(1&a&&(e.j41(0,"a",35),e.EFF(1),e.k0s()),2&a){const s=e.XpG().ngIf;e.R7$(),e.SpI(" ",s.label," ")}}function il(a,g){if(1&a&&(e.nrm(0,"img",38),e.nI1(1,"async")),2&a){let s;const l=e.XpG(9);e.Y8G("drcCdnSrc",null==(s=e.bMT(1,1,l.SwitchThemeService.imageLink$))?null:s.SIDENAV_ICON_REFERRAL_REMINDER_ICON)}}function fa(a,g){if(1&a&&(e.qex(0),e.j41(1,"div",36),e.DNE(2,il,2,3,"img",37),e.nI1(3,"async"),e.k0s(),e.bVm()),2&a){const s=e.XpG(8);e.R7$(2),e.Y8G("ngIf",e.bMT(3,1,s.SwitchThemeService.imageLink$))}}function Ac(a,g){if(1&a){const s=e.RV6();e.qex(0),e.j41(1,"li",26),e.bIt("click",function(){const p=e.eBV(s).ngIf,I=e.XpG(7);return e.Njj(I.expandSecondMenu(p.category))}),e.nrm(2,"span",22),e.nI1(3,"imageUrl"),e.DNE(4,Ws,2,4,"a",32)(5,Vs,2,1,"a",33)(6,fa,4,3,"ng-container",12),e.nI1(7,"async"),e.k0s(),e.bVm()}if(2&a){let s;const l=g.ngIf,p=e.XpG(7);e.R7$(),e.AVh("active",p.menu2ndType===l.category),e.BMQ("data-category",l.category),e.R7$(),e.xc7("background-image",e.bMT(3,8,l.icon)),e.R7$(2),e.Y8G("ngIf",l.link),e.R7$(),e.Y8G("ngIf",!l.link),e.R7$(),e.Y8G("ngIf",l.category===p.sideMenuBlockDetailsEnum.REFERRAL_PROGRAM&&(null==(s=e.bMT(7,10,p.accountInfo$))?null:s.isAvailableClaimRafCommission))}}function Qr(a,g){if(1&a&&(e.qex(0),e.DNE(1,Ac,8,12,"ng-container",12),e.bVm()),2&a){const s=g.$implicit,l=e.XpG(6);e.R7$(),e.Y8G("ngIf",l.getPromotionBlockItems(s))}}function sl(a,g){if(1&a&&(e.j41(0,"ul",31),e.DNE(1,Qr,2,1,"ng-container",16),e.k0s()),2&a){const s=e.XpG(5);e.R7$(),e.Y8G("ngForOf",s.sideMenuDisplayConfig.promotionBlock)}}function eu(a,g){if(1&a&&(e.qex(0),e.DNE(1,sl,2,1,"ul",30),e.bVm()),2&a){const s=e.XpG(4);e.R7$(),e.Y8G("ngIf",s.sideMenuDisplayConfig.promotionBlock)}}function kd(a,g){if(1&a){const s=e.RV6();e.j41(0,"p",45),e.bIt("click",function(){e.eBV(s);const p=e.XpG(8);return e.Njj(p.deactivate())}),e.k0s()}if(2&a){const s=e.XpG().ngIf;e.Y8G("routerLink",e.eq3(2,et,s.routerLink))("innerHTML",s.label,e.npT)}}function tu(a,g){if(1&a){const s=e.RV6();e.qex(0),e.j41(1,"p",26),e.bIt("click",function(){e.eBV(s);const p=e.XpG(8);return e.Njj(p.uiConfig.enabeSideMenuLivechatBtn?p.onClickEnabeSideMenuLivechatBtn():p.onServiceClicked())}),e.EFF(2),e.j41(3,"span"),e.EFF(4),e.k0s()(),e.bVm()}if(2&a){const s=e.XpG().ngIf,l=e.XpG(7);e.R7$(),e.BMQ("name",l.uiConfig.enabeSideMenuLivechatBtn?"liveChatBtn":null),e.R7$(),e.SpI(" ",s.label," "),e.R7$(2),e.JRh(s.subLabel)}}function Ud(a,g){if(1&a){const s=e.RV6();e.j41(0,"p",26),e.bIt("click",function(){e.eBV(s);const p=e.XpG().ngIf;return e.XpG(7).deactivate(),e.Njj(p.click())}),e.EFF(1),e.k0s()}if(2&a){const s=e.XpG().ngIf;e.R7$(),e.SpI(" ",s.label," ")}}function tg(a,g){if(1&a&&(e.j41(0,"div",42),e.nrm(1,"span",22),e.nI1(2,"imageUrl"),e.DNE(3,kd,1,4,"p",43)(4,tu,5,3,"ng-container",12)(5,Ud,2,1,"p",44),e.k0s()),2&a){const s=g.ngIf,l=e.XpG(7);e.BMQ("data-service",s.dataService)("name",s.attrName),e.R7$(),e.xc7("background-image",e.bMT(2,7,s.icon)),e.R7$(2),e.Y8G("ngIf",s.routerLink),e.R7$(),e.Y8G("ngIf",s.dataService===l.sideMenuBlockDetailsEnum.TALK),e.R7$(),e.Y8G("ngIf",s.click)}}function nu(a,g){if(1&a&&(e.qex(0),e.DNE(1,tg,6,9,"div",41),e.bVm()),2&a){const s=g.$implicit,l=e.XpG(6);e.R7$(),e.Y8G("ngIf",l.getSupportBlockItems(s))}}function Om(a,g){if(1&a&&(e.j41(0,"div",40),e.DNE(1,nu,2,1,"ng-container",16),e.k0s()),2&a){const s=e.XpG(5);e.R7$(),e.Y8G("ngForOf",s.sideMenuDisplayConfig.supportBlock)}}function ym(a,g){if(1&a&&(e.qex(0),e.DNE(1,Om,2,1,"div",39),e.bVm()),2&a){const s=e.XpG(4);e.R7$(),e.Y8G("ngIf",s.sideMenuDisplayConfig.supportBlock)}}function D(a,g){if(1&a&&(e.qex(0)(1,18),e.DNE(2,wt,8,12,"ng-container",19)(3,br,10,14,"ng-container",19)(4,eu,2,1,"ng-container",19)(5,ym,2,1,"ng-container",19),e.bVm()()),2&a){const s=g.$implicit,l=e.XpG(3);e.R7$(),e.Y8G("ngSwitch",s),e.R7$(),e.Y8G("ngSwitchCase",l.sideMenuBlockEnum.HOME),e.R7$(),e.Y8G("ngSwitchCase",l.sideMenuBlockEnum.VENDOR),e.R7$(),e.Y8G("ngSwitchCase",l.sideMenuBlockEnum.PROMOTIONBLOCK),e.R7$(),e.Y8G("ngSwitchCase",l.sideMenuBlockEnum.SUPPORTBLOCK)}}function k(a,g){if(1&a){const s=e.RV6();e.j41(0,"div",47)(1,"div",48),e.bIt("click",function(){e.eBV(s);const p=e.XpG(4);return e.Njj(p.openWhatsAppLink())}),e.nrm(2,"img",49),e.k0s(),e.j41(3,"div",50),e.bIt("click",function(){e.eBV(s);const p=e.XpG(4);return e.Njj(p.openWhatsAppLink())}),e.nrm(4,"img",51),e.j41(5,"a"),e.EFF(6,"Get WhatsApp ID"),e.k0s()()()}2&a&&(e.R7$(2),e.Y8G("drcCdnSrc","/assets/images/whatsapp-banner.jpg"),e.R7$(2),e.Y8G("drcCdnSrc","/assets/images/icon-set/index-theme-icon/header-whatsapp.svg"))}function M(a,g){if(1&a&&(e.qex(0),e.DNE(1,k,7,2,"div",46),e.bVm()),2&a){const s=e.XpG(3);e.R7$(),e.Y8G("ngIf",s.isShowWhatsappBlock)}}function U(a,g){if(1&a){const s=e.RV6();e.j41(0,"div",54),e.nI1(1,"async"),e.bIt("click",function(){e.eBV(s);const p=e.XpG().$implicit,I=e.XpG(4);return e.Njj(I.changeCurrencyAndLanguage(p))}),e.nrm(2,"img",51),e.j41(3,"p"),e.EFF(4),e.nI1(5,"lowercase"),e.k0s()()}if(2&a){let s,l;const p=e.XpG().$implicit,I=e.XpG(3).$implicit,X=e.XpG();e.AVh("active",p===(null==(s=e.bMT(1,7,X.currentLanguageType$))?null:s.unique)),e.Y8G("category",X.SideMenu.Language.value)("title",null==(l=X.getLanguage(p))?null:l.toLocaleLowerCase()),e.BMQ("value",p),e.R7$(2),e.Y8G("drcCdnSrc",X.getCurrencyImagePath(p)),e.R7$(2),e.SpI(" ",I(e.bMT(5,9,"ui.global.word.language."+X.getLanguage(p)))," ")}}function ae(a,g){if(1&a&&(e.qex(0),e.DNE(1,U,6,11,"div",53),e.bVm()),2&a){const s=g.count;e.R7$(),e.Y8G("ngIf",s>1)}}function Re(a,g){if(1&a&&(e.qex(0),e.j41(1,"div",52),e.DNE(2,ae,2,1,"ng-container",16),e.nI1(3,"async"),e.k0s(),e.bVm()),2&a){const s=e.XpG(3);e.R7$(2),e.Y8G("ngForOf",e.bMT(3,1,s.languages$))}}function He(a,g){if(1&a&&(e.qex(0),e.DNE(1,D,6,5,"ng-container",16)(2,M,2,1,"ng-container",12),e.nI1(3,"async"),e.DNE(4,Re,4,3,"ng-container",12),e.nI1(5,"async"),e.bVm()),2&a){const s=e.XpG(2);e.R7$(),e.Y8G("ngForOf",s.sideMenuAllBlockItems),e.R7$(),e.Y8G("ngIf",!1===e.bMT(3,3,s.isLogin$)),e.R7$(2),e.Y8G("ngIf",e.bMT(5,5,s.isLogin$))}}function Ct(a,g){}function vt(a,g){if(1&a){const s=e.RV6();e.j41(0,"li",57),e.bIt("click",function(){const p=e.eBV(s).$implicit,I=e.XpG(3);return e.Njj(I.openExclusiveGame(p))}),e.j41(1,"a",58),e.nrm(2,"img",51),e.k0s()()}if(2&a){const s=g.$implicit,l=e.XpG(3);e.Y8G("category",l.neuACategory)("title",s.gameName),e.R7$(2),e.Y8G("drcCdnSrc",s.imagePath.sideMenu)}}function mn(a,g){if(1&a&&(e.j41(0,"ul",55),e.DNE(1,vt,3,3,"li",56),e.k0s()),2&a){const s=g.ngIf,l=e.XpG(2);e.Y8G("ngClass",e.eq3(2,ft,l.menu2ndType===l.gameTypeExclusiveName)),e.R7$(),e.Y8G("ngForOf",s)}}function li(a,g){if(1&a){const s=e.RV6();e.j41(0,"li",26),e.bIt("click",function(){e.eBV(s);const p=e.XpG().$implicit,I=e.XpG(3);return e.Njj(I.goToFilter(p.gameType))}),e.j41(1,"a",58),e.nrm(2,"div",62),e.nI1(3,"async"),e.nI1(4,"imageUrl"),e.j41(5,"p"),e.EFF(6),e.k0s()()()}if(2&a){let s;const l=e.XpG(3).$implicit,p=e.XpG();e.R7$(2),e.xc7("-webkit-mask-image",e.bMT(4,5,null==(s=e.bMT(3,3,p.SwitchThemeService.imageLink$))?null:s.NAV_SECOND_ICON_ALL_PROVIDER)),e.R7$(4),e.SpI(" ",l("ui.global.game_type.nav_all")," ")}}function di(a,g){if(1&a&&(e.qex(0),e.nrm(1,"img",51),e.nI1(2,"imagePathVendorCodeAdapter"),e.bVm()),2&a){const s=e.XpG().$implicit,l=e.XpG().$implicit,p=e.XpG(3);e.R7$(),e.Y8G("drcCdnSrc",e.i5U(2,1,p.getImagePath(l.gameType,s),s.vendorCode))}}function vs(a,g){if(1&a&&(e.nrm(0,"div",62),e.nI1(1,"imageUrl")),2&a){const s=g.ngIf,l=e.XpG().$implicit;e.xc7("-webkit-mask-image",e.bMT(1,2,s[l.icon]))}}function Sc(a,g){if(1&a&&(e.qex(0),e.DNE(1,vs,2,4,"div",63),e.nI1(2,"async"),e.bVm()),2&a){const s=g.$implicit,l=e.XpG(2).$implicit,p=e.XpG(4);e.R7$(),e.Y8G("ngIf",l.imageClass===s.name&&e.bMT(2,1,p.SwitchThemeService.imageLink$))}}function Rc(a,g){if(1&a&&(e.qex(0),e.DNE(1,Sc,3,3,"ng-container",16),e.bVm()),2&a){const s=e.XpG(5);e.R7$(),e.Y8G("ngForOf",s.sportsIcon)}}function Oc(a,g){if(1&a&&(e.qex(0),e.nrm(1,"img",51),e.bVm()),2&a){const s=e.XpG().$implicit,l=e.XpG(4);e.R7$(),e.Y8G("drcCdnSrc",l.getSportsImagePath(s))}}function rl(a,g){if(1&a){const s=e.RV6();e.j41(0,"li",26),e.bIt("click",function(){const p=e.eBV(s).$implicit,I=e.XpG().$implicit,X=e.XpG(3);return e.Njj(X.goToFilter(I.gameType,p))}),e.j41(1,"a",58),e.DNE(2,di,3,4,"ng-container",12)(3,Rc,2,1,"ng-container",12)(4,Oc,2,1,"ng-container",12),e.j41(5,"p"),e.EFF(6),e.k0s()()()}if(2&a){const s=g.$implicit,l=e.XpG(4);e.R7$(2),e.Y8G("ngIf",!s.imageClass),e.R7$(),e.Y8G("ngIf",!!s.imageClass&&!l.sportsIconMode),e.R7$(),e.Y8G("ngIf",!!s.imageClass&&l.sportsIconMode),e.R7$(2),e.JRh(s.vendorName)}}function zo(a,g){if(1&a&&(e.j41(0,"ul",60),e.DNE(1,li,7,7,"li",44)(2,rl,7,4,"li",61),e.k0s()),2&a){const s=g.$implicit,l=e.XpG(3);e.Y8G("ngClass",e.eq3(3,ft,l.menu2ndType===s.category)),e.R7$(),e.Y8G("ngIf",l.shouldShowAllProvider(s.gameType)&&l.shouldHaveAllProvider),e.R7$(),e.Y8G("ngForOf",s.vendorList)}}function Gd(a,g){if(1&a&&(e.qex(0),e.DNE(1,zo,3,5,"ul",59),e.nI1(2,"async"),e.bVm()),2&a){const s=e.XpG(2);e.R7$(),e.Y8G("ngForOf",e.bMT(2,1,s.gameNavState$))}}function ng(a,g){1&a&&e.eu8(0)}function Tm(a,g){if(1&a&&(e.qex(0),e.DNE(1,ng,1,0,"ng-container",64),e.bVm()),2&a){const s=e.XpG().$implicit;e.XpG(2);const l=e.sdS(2);e.R7$(),e.Y8G("ngTemplateOutlet",l)("ngTemplateOutletContext",e.eq3(2,At,s))}}function Mm(a,g){1&a&&e.eu8(0)}function ig(a,g){if(1&a&&(e.qex(0),e.DNE(1,Mm,1,0,"ng-container",64),e.bVm()),2&a){const s=e.XpG().$implicit;e.XpG(2);const l=e.sdS(4);e.R7$(),e.Y8G("ngTemplateOutlet",l)("ngTemplateOutletContext",e.eq3(2,At,s))}}function sg(a,g){1&a&&e.eu8(0)}function Nm(a,g){if(1&a&&(e.qex(0),e.DNE(1,sg,1,0,"ng-container",64),e.bVm()),2&a){const s=e.XpG().$implicit;e.XpG(2);const l=e.sdS(6);e.R7$(),e.Y8G("ngTemplateOutlet",l)("ngTemplateOutletContext",e.eq3(2,At,s))}}function Wd(a,g){1&a&&e.eu8(0)}function wm(a,g){if(1&a&&(e.qex(0),e.DNE(1,Wd,1,0,"ng-container",64),e.bVm()),2&a){const s=e.XpG().$implicit;e.XpG(2);const l=e.sdS(8);e.R7$(),e.Y8G("ngTemplateOutlet",l)("ngTemplateOutletContext",e.eq3(2,At,s))}}function Qo(a,g){1&a&&e.eu8(0)}function rg(a,g){if(1&a&&(e.qex(0),e.DNE(1,Qo,1,0,"ng-container",64),e.bVm()),2&a){const s=e.XpG().$implicit;e.XpG(2);const l=e.sdS(10);e.R7$(),e.Y8G("ngTemplateOutlet",l)("ngTemplateOutletContext",e.eq3(2,At,s))}}function og(a,g){if(1&a&&(e.qex(0)(1,18),e.DNE(2,Tm,2,4,"ng-container",19)(3,ig,2,4,"ng-container",19)(4,Nm,2,4,"ng-container",19)(5,wm,2,4,"ng-container",19)(6,rg,2,4,"ng-container",19),e.bVm()()),2&a){const s=g.$implicit,l=e.XpG(4);e.R7$(),e.Y8G("ngSwitch",s.categoryTypeId),e.R7$(),e.Y8G("ngSwitchCase",l.WebsiteCategoryType.CATEGORY_CONTAINER),e.R7$(),e.Y8G("ngSwitchCase",l.WebsiteCategoryType.GAME_CONTAINER),e.R7$(),e.Y8G("ngSwitchCase",l.WebsiteCategoryType.DIRECT_URL),e.R7$(),e.Y8G("ngSwitchCase",l.WebsiteCategoryType.VENDOR),e.R7$(),e.Y8G("ngSwitchCase",l.WebsiteCategoryType.GAME)}}function ag(a,g){1&a&&e.DNE(0,og,7,6,"ng-container",16),2&a&&e.Y8G("ngForOf",g.$implicit.subCategories)}function bm(a,g){if(1&a){const s=e.RV6();e.qex(0),e.j41(1,"li")(2,"a",65),e.bIt("click",function(){const p=e.eBV(s).$implicit,I=e.XpG(4);return e.Njj(I.openCategoryGame(p))}),e.nrm(3,"img",51),e.j41(4,"p"),e.EFF(5),e.k0s()()(),e.bVm()}if(2&a){const s=g.$implicit;e.R7$(),e.BMQ("web-category-type","GAME_CONTAINER_CONTENT_GAME"),e.R7$(2),e.Y8G("drcCdnSrc",s.gameIconPath),e.R7$(2),e.JRh(s.gameName)}}function dC(a,g){1&a&&e.DNE(0,bm,6,3,"ng-container",16),2&a&&e.Y8G("ngForOf",g.$implicit.content)}function Hi(a,g){if(1&a){const s=e.RV6();e.j41(0,"li")(1,"a",65),e.bIt("click",function(){const p=e.eBV(s).$implicit,I=e.XpG(3);return e.Njj(I.clickCategoryNavContent(p))}),e.nrm(2,"img",51),e.nI1(3,"galleryImage"),e.j41(4,"p"),e.EFF(5),e.k0s()()()}if(2&a){const s=g.$implicit,l=e.XpG(3);e.BMQ("web-category-type","DIRECT_URL"),e.R7$(2),e.Y8G("drcCdnSrc",e.i5U(3,3,s.iconFlag,l.getGalleryCategoryTypeByGameType(s.content.gameType))),e.R7$(3),e.JRh(s.displayName)}}function Vd(a,g){if(1&a){const s=e.RV6();e.j41(0,"li")(1,"a",65),e.bIt("click",function(){const p=e.eBV(s).$implicit,I=e.XpG(3);return e.Njj(I.clickCategoryNavContent(p))}),e.nrm(2,"img",51),e.nI1(3,"galleryImage"),e.j41(4,"p"),e.EFF(5),e.k0s()()()}if(2&a){const s=g.$implicit,l=g.galleryCategoryType,p=e.XpG(3);e.BMQ("web-category-type","VENDOR")("game-type",null==s.content?null:s.content.gameType)("vendor",null==s.content?null:s.content.vendor),e.R7$(2),e.Y8G("drcCdnSrc",e.i5U(3,5,s.iconFlag,l||p.getGalleryCategoryTypeByGameType(s.content.gameType))),e.R7$(3),e.JRh(s.displayName)}}function ol(a,g){if(1&a){const s=e.RV6();e.j41(0,"li")(1,"a",65),e.bIt("click",function(){const p=e.eBV(s),I=p.$implicit,X=p.galleryCategoryType,ie=e.XpG(3);return e.Njj(ie.clickCategoryNavContent(I,X||ie.getGalleryCategoryTypeByGameType(I.content.gameTypeId)))}),e.nrm(2,"img",51),e.nI1(3,"galleryImageAsync"),e.nI1(4,"async"),e.j41(5,"p"),e.EFF(6),e.k0s()()()}if(2&a){const s=g.$implicit,l=g.galleryCategoryType,p=e.XpG(3);e.BMQ("web-category-type","GAME")("game-type",null==s.content?null:s.content.gameTypeId)("vendor-code",null==s.content?null:s.content.vendorCode)("extra-data",null==s.content?null:s.content.extraData),e.R7$(2),e.Y8G("drcCdnSrc",e.bMT(4,9,e.i5U(3,6,s.iconFlag,l||p.getGalleryCategoryTypeByGameType(s.content.gameTypeId)))),e.R7$(4),e.JRh(s.displayName)}}function mr(a,g){1&a&&e.eu8(0)}function xm(a,g){if(1&a&&(e.qex(0),e.DNE(1,mr,1,0,"ng-container",64),e.bVm()),2&a){const s=e.XpG().$implicit,l=e.XpG().galleryCategoryType;e.XpG();const p=e.sdS(8);e.R7$(),e.Y8G("ngTemplateOutlet",p)("ngTemplateOutletContext",e.l_i(2,ct,s,l))}}function al(a,g){1&a&&e.eu8(0)}function yc(a,g){if(1&a&&(e.qex(0),e.DNE(1,al,1,0,"ng-container",64),e.bVm()),2&a){const s=e.XpG().$implicit,l=e.XpG().galleryCategoryType;e.XpG();const p=e.sdS(10);e.R7$(),e.Y8G("ngTemplateOutlet",p)("ngTemplateOutletContext",e.l_i(2,ct,s,l))}}function Jr(a,g){if(1&a&&(e.qex(0)(1,18),e.DNE(2,xm,2,5,"ng-container",19)(3,yc,2,5,"ng-container",19),e.bVm()()),2&a){const s=g.$implicit,l=e.XpG(4);e.R7$(),e.Y8G("ngSwitch",s.categoryTypeId),e.R7$(),e.Y8G("ngSwitchCase",l.WebsiteCategoryType.VENDOR),e.R7$(),e.Y8G("ngSwitchCase",l.WebsiteCategoryType.GAME)}}function Pm(a,g){1&a&&e.DNE(0,Jr,4,3,"ng-container",16),2&a&&e.Y8G("ngForOf",g.$implicit.subCategories)}function $d(a,g){1&a&&e.eu8(0)}function Lm(a,g){if(1&a&&(e.qex(0),e.DNE(1,$d,1,0,"ng-container",64),e.bVm()),2&a){const s=e.XpG().$implicit;e.XpG();const l=e.sdS(2);e.R7$(),e.Y8G("ngTemplateOutlet",l)("ngTemplateOutletContext",e.eq3(2,At,s))}}function Jo(a,g){1&a&&e.eu8(0)}function cg(a,g){if(1&a&&(e.qex(0),e.DNE(1,Jo,1,0,"ng-container",64),e.bVm()),2&a){const s=e.XpG().$implicit;e.XpG();const l=e.sdS(4);e.R7$(),e.Y8G("ngTemplateOutlet",l)("ngTemplateOutletContext",e.eq3(2,At,s))}}function Fm(a,g){1&a&&e.eu8(0)}function lg(a,g){if(1&a&&(e.qex(0),e.DNE(1,Fm,1,0,"ng-container",64),e.bVm()),2&a){const s=e.XpG().$implicit;e.XpG();const l=e.sdS(12);e.R7$(),e.Y8G("ngTemplateOutlet",l)("ngTemplateOutletContext",e.eq3(2,At,s))}}function Hd(a,g){1&a&&e.eu8(0)}function jd(a,g){if(1&a&&(e.qex(0),e.DNE(1,Hd,1,0,"ng-container",64),e.bVm()),2&a){const s=e.XpG().$implicit;e.XpG();const l=e.sdS(12),p=e.XpG(2);e.R7$(),e.Y8G("ngTemplateOutlet",l)("ngTemplateOutletContext",e.l_i(2,ct,s,p.GalleryCategoryType.LEFT_NAV))}}function cl(a,g){if(1&a&&(e.j41(0,"ul",60),e.qex(1,18),e.DNE(2,Lm,2,4,"ng-container",19)(3,cg,2,4,"ng-container",19)(4,lg,2,4,"ng-container",19)(5,jd,2,5,"ng-container",19),e.bVm(),e.k0s()),2&a){const s=g.$implicit,l=e.XpG(3);e.Y8G("ngClass",e.eq3(6,ft,l.selectedCategoryNavTab===s&&l.menu2ndType===l.sideMenuBlockEnum.VENDOR)),e.R7$(),e.Y8G("ngSwitch",s.categoryTypeId),e.R7$(),e.Y8G("ngSwitchCase",l.WebsiteCategoryType.CATEGORY_CONTAINER),e.R7$(),e.Y8G("ngSwitchCase",l.WebsiteCategoryType.GAME_CONTAINER),e.R7$(),e.Y8G("ngSwitchCase",l.WebsiteCategoryType.VENDOR),e.R7$(),e.Y8G("ngSwitchCase",l.WebsiteCategoryType.GAME)}}function iu(a,g){if(1&a&&(e.qex(0),e.DNE(1,ag,1,1,"ng-template",null,2,e.C5r)(3,dC,1,1,"ng-template",null,3,e.C5r)(5,Hi,6,6,"ng-template",null,4,e.C5r)(7,Vd,6,8,"ng-template",null,5,e.C5r)(9,ol,7,11,"ng-template",null,6,e.C5r)(11,Pm,1,1,"ng-template",null,7,e.C5r)(13,cl,6,8,"ul",59),e.bVm()),2&a){const s=g.$implicit;e.R7$(13),e.Y8G("ngForOf",s)}}function Kd(a,g){if(1&a&&(e.nrm(0,"span",22),e.nI1(1,"imageUrl")),2&a){const s=g.ngIf,l=e.XpG().$implicit;e.xc7("background-image",e.bMT(1,2,s[l.icon]))}}function oc(a,g){if(1&a&&(e.qex(0),e.DNE(1,Kd,2,4,"span",71),e.nI1(2,"async"),e.bVm()),2&a){const s=g.$implicit,l=e.XpG().$implicit,p=e.XpG(4);e.R7$(),e.Y8G("ngIf",s.name===l.socialMediaTypeName.toLocaleLowerCase()&&e.bMT(2,1,p.SwitchThemeService.imageLink$))}}function Zn(a,g){if(1&a&&(e.j41(0,"li")(1,"a",69),e.DNE(2,oc,3,3,"ng-container",16),e.j41(3,"p",70),e.EFF(4),e.k0s()()()),2&a){const s=g.$implicit,l=e.XpG(2).$implicit,p=e.XpG(2);e.AVh("active",p.menu2ndType===l),e.BMQ("data-category",l),e.R7$(),e.FS9("href",s.link,e.B4B),e.R7$(),e.Y8G("ngForOf",p.socialIcon),e.R7$(2),e.JRh(s.socialMediaTypeName)}}function ug(a,g){if(1&a){const s=e.RV6();e.j41(0,"ul",67),e.bIt("click",function(){e.eBV(s);const p=e.XpG().$implicit,I=e.XpG(2);return e.Njj(I.expandSecondMenu(p))}),e.DNE(1,Zn,5,6,"li",68),e.nI1(2,"async"),e.k0s()}if(2&a){const s=e.XpG().$implicit,l=e.XpG(2);e.AVh("active",l.menu2ndType===s),e.R7$(),e.Y8G("ngForOf",e.bMT(2,3,l.socialMediaList$))}}function hC(a,g){if(1&a&&(e.nrm(0,"span",22),e.nI1(1,"imageUrl")),2&a){const s=g.ngIf,l=e.XpG().$implicit;e.xc7("background-image",e.bMT(1,2,s[l.icon]))}}function Bm(a,g){if(1&a&&(e.qex(0),e.DNE(1,hC,2,4,"span",71),e.nI1(2,"async"),e.bVm()),2&a){const s=g.$implicit,l=e.XpG().ngIf,p=e.XpG(5);e.R7$(),e.Y8G("ngIf",l.h5Class===s.name&&e.bMT(2,1,p.SwitchThemeService.imageLink$))}}function km(a,g){if(1&a){const s=e.RV6();e.j41(0,"li")(1,"a",73),e.bIt("click",function(p){e.eBV(s);const I=e.XpG().$implicit,X=e.XpG(4);return e.Njj(X.onClickContactLink(p,I.customerServiceTypeId))}),e.DNE(2,Bm,3,3,"ng-container",16),e.j41(3,"p",70),e.EFF(4),e.k0s()()()}if(2&a){const s=g.ngIf,l=e.XpG().$implicit,p=e.XpG(4);e.HbH(s.h5Class),e.BMQ("data-category",s.h5Class),e.R7$(),e.FS9("href",p.gotoUrl(l.customerServiceTypeId,l.url),e.B4B),e.BMQ("name",l.customerServiceTypeId===p.customerServiceType.CSLINK.unique?"liveChatBtn":""),e.R7$(),e.Y8G("ngForOf",p.contactIcon),e.R7$(2),e.JRh(l.value?l.value:l.displayName)}}function Um(a,g){if(1&a&&(e.qex(0),e.DNE(1,km,5,8,"li",72),e.bVm()),2&a){const s=g.$implicit,l=e.XpG(4);e.R7$(),e.Y8G("ngIf",l.customerServiceType.getInstanceOf(s.customerServiceTypeId))}}function dg(a,g){if(1&a){const s=e.RV6();e.j41(0,"ul",67),e.bIt("click",function(){e.eBV(s);const p=e.XpG().$implicit,I=e.XpG(2);return e.Njj(I.expandSecondMenu(p))}),e.DNE(1,Um,2,1,"ng-container",16),e.nI1(2,"async"),e.k0s()}if(2&a){const s=e.XpG().$implicit,l=e.XpG(2);e.AVh("active",l.menu2ndType===s),e.R7$(),e.Y8G("ngForOf",e.bMT(2,3,l.contactUsList$))}}function Tc(a,g){if(1&a&&(e.qex(0),e.DNE(1,ug,3,5,"ul",66),e.nI1(2,"async"),e.DNE(3,dg,3,5,"ul",66),e.nI1(4,"async"),e.bVm()),2&a){let s,l;const p=g.$implicit,I=e.XpG(2);e.R7$(),e.Y8G("ngIf",0!==(null==(s=e.bMT(2,2,I.socialMediaList$))?null:s.length)&&p===I.sideMenuBlockDetailsEnum.SOCIAL_MEDIA),e.R7$(2),e.Y8G("ngIf",0!==(null==(l=e.bMT(4,4,I.contactUsList$))?null:l.length)&&p===I.sideMenuBlockDetailsEnum.CONTACT_US)}}function Gm(a,g){if(1&a){const s=e.RV6();e.j41(0,"div",74),e.bIt("@popBgTriggerAni.done",function(p){e.eBV(s);const I=e.XpG(2);return e.Njj(I.onAnimationDone(p))})("click",function(){e.eBV(s);const p=e.XpG(2);return e.Njj(p.deactivate())}),e.k0s()}if(2&a){const s=e.XpG(2);e.Y8G("@popBgTriggerAni",s.hasCustomTemplate?s.showCustom:s.isActive)("ngStyle",e.eq3(2,Lt,s.isActive?"block":"none"))}}function Wm(a,g){if(1&a&&(e.qex(0),e.j41(1,"div",9)(2,"div",10),e.eu8(3,11),e.DNE(4,He,6,7,"ng-container",12)(5,Ct,0,0,"ng-template",13,0,e.C5r),e.k0s(),e.j41(7,"div",14),e.DNE(8,mn,2,4,"ul",15),e.nI1(9,"async"),e.DNE(10,Gd,3,3,"ng-container",12),e.nI1(11,"async"),e.nI1(12,"async"),e.DNE(13,iu,14,1,"ng-container",12),e.nI1(14,"async"),e.nI1(15,"async"),e.DNE(16,Tc,5,6,"ng-container",16),e.k0s()(),e.DNE(17,Gm,1,4,"div",17),e.bVm()),2&a){let s;const l=e.XpG();e.R7$(),e.AVh("active",l.hasCustomTemplate?l.showCustom:l.isActive),e.Y8G("@dialogTriggerAni",l.hasCustomTemplate?l.showCustom:l.isActive),e.R7$(2),e.Y8G("ngComponentOutlet",null!==(s=l.config.menuTopComponent)&&void 0!==s?s:null),e.R7$(),e.Y8G("ngIf",!l.config.customMenuFirst),e.R7$(4),e.Y8G("ngIf",e.bMT(9,10,l.exclusiveGameSetting$)),e.R7$(2),e.Y8G("ngIf",!e.bMT(11,12,l.isEnableWebsiteCategory$)&&e.bMT(12,14,l.gameNavState$)),e.R7$(3),e.Y8G("ngIf",e.bMT(14,16,l.isEnableWebsiteCategory$)&&e.bMT(15,18,l.categoryList$)),e.R7$(3),e.Y8G("ngForOf",l.sideMenuDisplayConfig.promotionBlock),e.R7$(),e.Y8G("ngIf",l.isActive)}}let Vm=(()=>{class a extends yr.u{get categoryList(){return this.providerService.get("websiteCategoryData")?.[Kr.m.MAIN_TAB]}get hasCustomTemplate(){return!!this.config?.customMenuFirst}constructor(s,l,p,I,X,ie,Ae){if(super(),this.i18nService=s,this.router=l,this.dialogService=p,this.gameNavIconState=I,this.authState=X,this.document=ie,this.uiConfig=(0,e.WQX)(Et.E),this.WebsiteCategoryType=Kr.I,this.GalleryCategoryType=It.t,this.siteSetting=(0,e.WQX)(Qn.p),this.currencySettingState=(0,e.WQX)(Qn.p),this.isEnableWebsiteCategory$=this.siteSetting.select("siteSettingModel").pipe((0,Sn.T)(Ue=>Ue?.isEnableWebsiteCategory),(0,ts.t)(1),(0,ns.pQ)()),this.providerService=(0,e.WQX)(Xo.$),this.messageService=(0,e.WQX)(m.b),this.categoryList$=this.providerService.select("websiteCategoryData").pipe((0,ns.pQ)(),(0,Sn.T)(Ue=>Ue[Kr.m.LEFT_MENU])),this.selectedCategoryNavTab=void 0,this.sideMenuBlockEnum=b,this.sideMenuBlockDetailsEnum=ge,this.chatController=(0,e.WQX)(Hr.v),this.chatService=(0,e.EWP)(()=>this.chatController.chatService()),this.getVenderConfig=(0,e.WQX)(Yo.$),this.shouldHaveAllProvider=(0,e.WQX)(xo,{optional:!0}),this.SwitchThemeService=(0,e.WQX)(Us.Fu),this.SideMenu=(0,xi.O)(lr),this.neuACategory=(0,xi.O)(lr).GameType.value,this.openGameService=(0,e.WQX)(As.eD),this.translocoService=(0,e.WQX)(A.JO),this.cdr=(0,e.WQX)(e.gRc),this.settingService=(0,e.WQX)(Ds.q),this.injector=(0,e.WQX)(e.zZn),this.currencyType=Rn.U,this.customerServiceType=L,this.currentCurrency$=(0,e.WQX)(Qn.p).select("currentCurrencyType").pipe((0,ts.t)(1)),this.customGameTypeNameHandler=(0,e.WQX)(In.qw,{optional:!0}),this.sideMenuSettingConfig=(0,e.WQX)(z,{optional:!0}),this.sideMenuSettingConfigForAllCurrency=(0,e.WQX)(oe,{optional:!0}),this.gameTypeExclusiveName=In.RD,this.exclusiveGameSetting$=this.siteSetting.select("currentCurrencyType").pipe((0,Sn.T)(Ue=>{if(this.exclusiveGameSettings)return this.exclusiveGameSettings(Ue)})),this.exclusiveGameSettings=(0,e.WQX)(In.$D,{optional:!0}),this.defaultSideMenuSort={home:[ge.HOME],vendor:[ge.VENDOR],promotionBlock:[ge.PROMOTION,ge.REFERRAL_PROGRAM,ge.VIP,ge.REFER_BONUS,ge.SOCIAL_MEDIA,ge.CONTACT_US,ge.APP_DOWNLOAD],supportBlock:[ge.AFFILIATE,ge.TALK,ge.FORUM2,ge.AMBASSADOR,ge.PARTNERSHIP,ge.RESPONSIBLE_GAMING]},this.sideMenuAllBlockItems=[],this.sportsIcon=[{name:"cricket",icon:"NAV_SECOND_ICON_CRICKET"},{name:"soccer",icon:"NAV_SECOND_ICON_SOCCER"},{name:"tennis",icon:"NAV_SECOND_ICON_TENNIS"},{name:"basketball",icon:"NAV_SECOND_ICON_BASKETBALL"},{name:"rugbyunion",icon:"NAV_SECOND_ICON_RUGBYUNION"},{name:"horseracing",icon:"NAV_SECOND_ICON_HORSERACING"},{name:"greyhound",icon:"NAV_SECOND_ICON_GREYHOUNDRACING"},{name:"exchange",icon:"NAV_SECOND_ICON_EXCHANGE"},{name:"sportbook",icon:"NAV_SECOND_ICON_SPORTBOOK"},{name:"saba",icon:"NAV_SECOND_ICON_SPORTBOOK"},{name:"virtual",icon:"NAV_SECOND_ICON_VIRTUAL"},{name:"kabaddi",icon:"NAV_SECOND_ICON_KABADDI"},{name:"badminton",icon:"NAV_SECOND_ICON_BADMINTON"},{name:"lottery",icon:"NAV_SECOND_ICON_LOTTERY"},{name:"ugv3",icon:"NAV_SECOND_ICON_UGV3"},{name:"horsebook",icon:"NAV_SECOND_ICON_HORSEBOOK"},{name:"sbov2",icon:"NAV_SECOND_ICON_SBO"},{name:"sv388",icon:"NAV_SECOND_ICON_SV_388"},{name:"icf",icon:"NAV_SECOND_ICON_ICF"},{name:"awcmbc",icon:"NAV_SECOND_ICON_AWCMBC"},{name:"horsedog",icon:"NAV_SECOND_ICON_HORSEDOG"},{name:"ctb",icon:"NAV_SECOND_ICON_CTB"},{name:"powerelevenv2",icon:"NAV_SECOND_ICON_POWERELEVENV2"},{name:"awcme1sport",icon:"NAV_SECOND_ICON_AWCME1SPORT"},{name:"sbtech",icon:"NAV_SECOND_ICON_SBTECH"},{name:"nst",icon:"NAV_SECOND_ICON_NST"},{name:"cmd",icon:"NAV_SECOND_ICON_CMD"},{name:"awcmpinnacle",icon:"NAV_SECOND_ICON_AWCMPINNACLE"},{name:"awcv2bcsports",icon:"NAV_SECOND_ICON_AWCMBC"},{name:"awcv2e1sport",icon:"NAV_SECOND_ICON_AWCME1SPORT"},{name:"awcv2horsebook",icon:"NAV_SECOND_ICON_HORSEBOOK"},{name:"awcv2pinnacle",icon:"NAV_SECOND_ICON_AWCMPINNACLE"},{name:"awcv2saba",icon:"NAV_SECOND_ICON_SPORTBOOK"},{name:"awcv2sv388",icon:"NAV_SECOND_ICON_SV_388"},{name:"rwb",icon:"NAV_SECOND_ICON_RWB"}],this.socialIcon=[{name:"facebook",icon:"CRM_SM_ICON_FACEBOOK"},{name:"instagram",icon:"CRM_SM_ICON_INSTAGRAM"},{name:"twitter",icon:"CRM_SM_ICON_TWITTER"},{name:"telegram",icon:"CRM_SM_ICON_TELEGRAM"},{name:"line",icon:"CRM_SM_ICON_LINE"},{name:"zalo",icon:"CRM_SM_ICON_ZALO"},{name:"pinterest",icon:"CRM_SM_ICON_PINTEREST"},{name:"youtube",icon:"CRM_SM_ICON_YOUTUBE"},{name:"likee",icon:"CRM_SM_ICON_LIKEE"},{name:"forum",icon:"CRM_SM_ICON_FORUM"},{name:"tiktok",icon:"CRM_SM_ICON_TIKTOK"}],this.contactIcon=[{name:"email",icon:"CRM_CS_ICON_EMAIL"},{name:"phone",icon:"CRM_CS_ICON_PHONE"},{name:"zalo",icon:"CRM_CS_ICON_ZALO"},{name:"facebook-messenger",icon:"CRM_CS_ICON_FACEBOOK_MESSENGER"},{name:"whatsapp",icon:"CRM_CS_ICON_WHATSAPP"},{name:"imo",icon:"CRM_CS_ICON_IMO"},{name:"qq",icon:"CRM_CS_ICON_QQ"},{name:"wechat",icon:"CRM_CS_ICON_WECHAT"},{name:"skype",icon:"CRM_CS_ICON_SKYPE"},{name:"bbm",icon:"CRM_CS_ICON_BBM"},{name:"kakao-talk",icon:"CRM_CS_ICON_KAKAO_TALK"},{name:"talk",icon:"CRM_CS_ICON_TALK"},{name:"viber",icon:"CRM_CS_ICON_VIBER"},{name:"telegram",icon:"CRM_CS_ICON_TELEGRAM"},{name:"line",icon:"CRM_CS_ICON_LINE"}],this.subscriptions=[],this.systemConfig=(0,e.WQX)(R.n),this.environment=(0,e.WQX)(Et.E),this.galleryImageService=(0,e.WQX)(De.TL),this.routingPathType=Se.J,this.menu2ndType="",this.gameNavState$=this.gameNavIconState.select("gameNavIconList").pipe((0,Sn.T)(Ue=>(Ue||[]).reduce((st,rt)=>(rt.gameType===Pn.Z.OTHER?(rt.gameTypeGroupList||[]).forEach(yt=>st.push(yt)):st.push(rt),st),[]))),this.entryAniParams$=this.currencySettingState.select("currentLanguageType").pipe((0,Sn.T)(Ue=>!this.uiConfig.disableSideMenuAniRvrsOnRtl&&y.t.isLanguageDirRtl(Ue)?"100%":"-100%")),this.isLogin$=this.authState.select("isLogin"),this.accountInfo$=this.authState.select("accountInfo"),this.currencyMappingSetting$=this.siteSetting.select("currencyMappingSettingModel"),this.currentLanguageType$=this.siteSetting.select("currentLanguageType"),this.siteSettingModel$=this.siteSetting.select("siteSettingModel"),this.languages$=this.currencyMappingSetting$.pipe((0,Sn.T)(Ue=>Ue.find(st=>st.currencyTypeId===this.siteSetting.get("currentCurrencyType").unique)?.mapping.find(st=>st.currencySettingTypeId===es.X.LANGUAGE.unique)?.mappingData.map(st=>Number(st)))),this.showCustom=!1,this.isShowWhatsappBlock=!1,this.whatsAppLink="https://b.link/zjh28d",this.sportsIconMode=this.environment.sportsIconSetting?.sideMenu,this.socialMediaList$=(0,C.of)(void 0).pipe((0,pn.n)(()=>this.config.hasSocialMedia?this.messageService.getSocialMedia():(0,C.of)([])),(0,ts.t)(1),(0,ns.pQ)()),this.contactUsList$=(0,C.of)(void 0).pipe((0,pn.n)(()=>this.config.hasContactUs?this.settingService.getCustomerService():(0,C.of)([])),(0,ts.t)(1),(0,ns.pQ)()),this.config=Ae,"se"===this.translocoService.translate("ui.global.text.brand_short_name").toLocaleLowerCase()&&(this.isShowWhatsappBlock=!0),this.sideMenuSettingConfigForAllCurrency)this.customConfig=this.sideMenuSettingConfigForAllCurrency;else{const Ue=this.siteSetting.get("currentCurrencyType").name;Ue&&this.sideMenuSettingConfig&&(this.customConfig=this.sideMenuSettingConfig[Ue])}}ngOnInit(){this.sideMenuDisplayConfig=this.mergeCustomAndDefaultConfig(this.defaultSideMenuSort,this.customConfig||{}),this.sideMenuAllBlockItems=this.getSideMenuBlockItems(this.defaultSideMenuSort,this.customConfig),this.isEnableWebsiteCategory$.pipe((0,Wt.M)(s=>{s?this.providerService.actions.getWebsiteCategory():this.initGameNavIconData()})).subscribe()}ngAfterViewInit(){this.config.customMenuFirst&&this.loadComponent(this.config.customMenuFirst,this.customMenuFirstTemplateDynamicHost),this.showCustom=!0}ngOnDestroy(){this.subscriptions.forEach(s=>s.unsubscribe())}openLanguageDialog(){this.dialogService.openDialog(Yr,{data:{}}).subscribe(),this.deactivate()}loadComponent(s,l){const p=l.viewContainerRef;p.clear(),p.createComponent(s,{injector:this.injector}).instance.onRender(this)}hideMask(){this.document.querySelectorAll(".menu-second-ul").forEach(s=>{s.removeAttribute("class")})}navigate(s){this.router.navigateByUrl(s)}expandSecondMenu(s){this.menu2ndType=s}selectPromotionBlockTab(s){this.selectPromotionBlockType=s}close(){this.hideMask(),this.dialogService.closeAll()}getImagePath(s,l){return s.unique===Pn.Z.SPORT.unique&&this.sportsIconMode?this.getSportsImagePath(l):s.unique===Pn.Z.SPORT.unique&&"Saba"===l.vendorCode?`/assets/images/icon-set/sports-icon/icon-${l.imageClass?.toLowerCase()}.svg`:l.imageFile?l.imageFile?`/assets/images/brand/${this.environment.vendorIconColor}/${l.imageFile}.png`:"":`/assets/images/brand/${this.environment.vendorIconColor}/provider-${l.vendorCode?.toLowerCase()}.png`}openGame(s,l){if(s===Pn.Z.SPORT||s===Pn.Z.CASINO||s===Pn.Z.LOTTERY||s===Pn.Z.FISH||s===Pn.Z.CARD||s===Pn.Z.COCKFIGHTING||s===Pn.Z.RAIN){const p=this.openGameService.open({gameTypeId:s.unique,vendorCode:l.vendorCode||"",gameCode:l.gameCode,extraData:l.extraData,gameImagePath:this.getImagePath(s,l),loaderImgStyle:"default",vendorName:l.vendorName}).subscribe();this.subscriptions.push(p)}}openExclusiveGame(s){this.deactivate();const l=this.openGameService.open({gameTypeId:s.gameType.unique,vendorCode:s.vendorCode,gameCode:s.gameCode||void 0,gameImagePath:s.imagePath.sideMenu,loaderImgStyle:"default",customLunchLogoClass:["exclusive-game"]}).subscribe();this.subscriptions.push(l)}deactivate(){super.deactivate(),this.showCustom=!1}goToFilter(s,l){if(this.deactivate(),s===Pn.Z.SLOT)this.routerNavigateByVendor(this.routingPathType.SLOT,l);else if(s===Pn.Z.TABLE)if("LUDO"===l?.vendorCode||"AWCV2_LUDO"===l?.vendorCode||"BPOKER"===l?.vendorCode||"PokerWin"===l?.vendorCode){const p=this.openGameService.open({gameTypeId:Pn.Z.P2P.unique,vendorCode:l.vendorCode,gameCode:l.gameCode,extraData:l.extraData,gameImagePath:this.getImagePath(s,l),loaderImgStyle:"default",vendorName:l.vendorName}).subscribe();this.subscriptions.push(p)}else this.routerNavigateByVendor(this.routingPathType.TABLE,l);else s===Pn.Z.ARCADE?this.routerNavigateByVendor(this.routingPathType.ARCADE,l):s===Pn.Z.CASINO&&this.config.casinoDirectToVendorPage?this.routerNavigateByVendor(this.routingPathType.CASINO,l):s===Pn.Z.FISH?this.routerNavigateByVendor(this.routingPathType.FISHING,l):s===Pn.Z.LOTTERY?this.routerNavigateByVendor(this.routingPathType.LOTTERY,l):s===Pn.Z.CRASH?this.routerNavigateByVendor(this.routingPathType.CRASH,l):s===Pn.Z.CARD?this.routerNavigateByVendor(this.routingPathType.CARD,l):l&&this.openGame(s,l)}shouldShowAllProvider(s){return[Pn.Z.ARCADE,Pn.Z.CASINO,Pn.Z.FISH,Pn.Z.LOTTERY,Pn.Z.TABLE,Pn.Z.SLOT,Pn.Z.CRASH].some(p=>p===s)}routerNavigateByVendor(s,l){this.router.navigate([s.link],l?{queryParams:{vendor:l.vendorCode?.toLocaleLowerCase()}}:void 0)}initGameNavIconData(){const s=this.providerService.getVendors(this.getVenderConfig.getGameTypeList(this.injector)).subscribe(l=>{const p=this.getVenderConfig.callback(l,this.injector);this.gameNavIconState.set({gameNavIconList:p})});this.subscriptions.push(s)}changeCurrencyAndLanguage(s){const l=y.t.getInstanceOfDefaultEn(s);setTimeout(()=>this.i18nService.changeCurrencyAndLanguage(this.siteSetting.get("currentCurrencyType"),l),0),this.deactivate()}getLanguage(s){return y.t.getInstanceOf(s)?.name}getCurrencyImagePath(s){const l=y.t.getInstanceOf(s);return l===y.t.ENGLISH?"/assets/images/flag/GB.png":`/assets/images/flag/${l?.flagImageName}.png`}onAnimationDone(s){"void"===s.toState&&super.close()}onServiceClicked(){this.config.onServiceClick?this.config.onServiceClick():this.config.hasCSLink?.link&&window.open(this.config.hasCSLink.link,"_blank"),this.deactivate()}onClickEnabeSideMenuLivechatBtn(){const s=this.chatService();s&&(s.isWidgetOpen()?s.hideWidget():s.showWidget())}onCustomClicked(){this.config.onCustomClick?this.config.onCustomClick():this.config.hasIPLIcon?.link&&window.open(this.config.hasIPLIcon.link,"_blank"),this.deactivate()}onClickExclusiveNav(){this.expandSecondMenu(this.gameTypeExclusiveName)}onClickGameNav(s){if("se"===this.systemConfig.brand){if(s.gameType){const l=s.gameType;l===Pn.Z.SLOT||l===Pn.Z.LOTTERY||l===Pn.Z.TABLE||l===Pn.Z.ARCADE?this.goToFilter(l):this.expandSecondMenu(s.category)}}else this.expandSecondMenu(s.category)}openWhatsAppLink(){window.open(this.whatsAppLink,"_self")}selectCategoryNavTab(s,l=!1){if(s){if(l)if(s.categoryTypeId===Kr.I.VENDOR){const p=s.content;this.goToGameTypePage(Pn.Z.getInstanceOf(p.gameType),p.vendorCode)}else if(s.categoryTypeId===Kr.I.GAME){const p=this.galleryImageService.getGalleryImage(s.iconFlag,It.t.NAV);this.openCategoryGame(s.content,p)}this.selectedCategoryNavTab=s}}getGalleryCategoryTypeByGameType(s){return s===Pn.Z.SPORT.unique?It.t.LEFT_PROVIDER_SPORTS:It.t.LEFT_PROVIDER}clickCategoryNavContent(s,l){switch(s.categoryTypeId){case Kr.I.DIRECT_URL:break;case Kr.I.VENDOR:const p=s.content;this.goToGameTypePage(Pn.Z.getInstanceOf(p.gameType),p.vendorCode);break;case Kr.I.GAME:const I=this.galleryImageService.getGalleryImage(s.iconFlag,l);this.openCategoryGame(s.content,I)}this.deactivate()}goToGameTypePage(s,l){s&&(this.router.navigate([s.link],l?{queryParams:{vendor:l.toLocaleLowerCase()}}:void 0),this.deactivate())}openCategoryGame(s,l){l&&(s.gameImagePath=l),this.openGameService.open(s).subscribe(),this.deactivate()}getSportsImagePath(s){if("img-custom"!==this.sportsIconMode)return s.imageClass?`/assets/images/icon-set/sports-icon/icon-${s.imageClass?.toLowerCase()}.png`:`/assets/images/icon-set/sports-icon/icon-${s.vendorCode?.toLowerCase()}.png`;if("Saba"===s.vendorCode)return`/assets/images/sports/${s.imageFile}.png`;if("HORSEDOG"!==s.vendorCode)return`/assets/images/sports/provider-${s.vendorCode?.toLowerCase()}.png`;switch(s.imageClass){case"horseracing":return"/assets/images/sports/provider-horseracing.png";case"greyhound":return"/assets/images/sports/provider-greyhound.png";default:return""}}getReferBonusLink(){const s=this.authState.get("isLogin");if(this.config.hasReferBonus&&!1!==this.config.showSideMenuReferralLink){if(!this.config.customCommonReferralBonus)return s?this.routingPathType.REFERRAL.link:this.routingPathType.REFERRAL_BONUS.link;if(s)return this.routingPathType.COMMON_REFERRAL.link}return null}getGameTypeVendorIcon(s){switch(s){case"sport":return this.SwitchThemeService.imageLink$.value?.SIDENAV_ICON_SPORT;case"casino":return this.SwitchThemeService.imageLink$.value?.SIDENAV_ICON_CASINO;case"slot":return this.SwitchThemeService.imageLink$.value?.SIDENAV_ICON_SLOT;case"card":return this.SwitchThemeService.imageLink$.value?.SIDENAV_ICON_CARD;case"esport":return this.SwitchThemeService.imageLink$.value?.SIDENAV_ICON_ESPORT;case"fish":return this.SwitchThemeService.imageLink$.value?.SIDENAV_ICON_FISH;case"crash":return this.SwitchThemeService.imageLink$.value?.SIDENAV_ICON_CRASH;case"hundreds":return this.SwitchThemeService.imageLink$.value?.SIDENAV_ICON_HUNDREDS;case"vip":return this.SwitchThemeService.imageLink$.value?.SIDENAV_ICON_VIP;case"download":return this.SwitchThemeService.imageLink$.value?.SIDENAV_ICON_DOWNLOAD;case"table":return this.SwitchThemeService.imageLink$.value?.SIDENAV_ICON_TABLE;case"cockfighting":return this.SwitchThemeService.imageLink$.value?.SIDENAV_ICON_COCKFIGHTING;case"lottery":return this.SwitchThemeService.imageLink$.value?.SIDENAV_ICON_LOTTERY;case"arcade":return this.SwitchThemeService.imageLink$.value?.SIDENAV_ICON_ARCADE;case"rain":return this.SwitchThemeService.imageLink$.value?.SIDENAV_ICON_RAIN;default:return""}}mergeCustomAndDefaultConfig(s,l){return{home:l.home??s.home,vendor:l.vendor??s.vendor,promotionBlock:l.promotionBlock??s.promotionBlock,supportBlock:l.supportBlock??s.supportBlock}}getSideMenuBlockItems(s,l){const p=Object.keys(s),I=l?Object.keys(l):[],X=I.slice();return p.forEach(ie=>{I.includes(ie)||X.push(ie)}),X}isReferBonusDisplay(){return!(!this.config.hasReferBonus||!1===this.config.showSideMenuReferralLink||(!0!==this.config.customCommonReferralBonus||!0!==this.authState.get("isLogin"))&&!0===this.config.customCommonReferralBonus)}getPromotionBlockItems(s){switch(s){case this.sideMenuBlockDetailsEnum.PROMOTION:return{category:this.sideMenuBlockDetailsEnum.PROMOTION,icon:this.SwitchThemeService.imageLink$.value?.SIDENAV_ICON_PROMOTION,link:this.routingPathType.PROMOTION.link,label:this.translocoService.translate("ui.global.word.promotions")};case this.sideMenuBlockDetailsEnum.REFERRAL_PROGRAM:return this.config.hasReferralProgramPromotion?{category:this.sideMenuBlockDetailsEnum.REFERRAL_PROGRAM,icon:this.SwitchThemeService.imageLink$.value?.SIDENAV_ICON_REFERRAL,link:this.routingPathType.REFERRAL_PROGRAM.link,label:this.translocoService.translate("ui.global.word.referral_program")}:null;case this.sideMenuBlockDetailsEnum.VIP:return this.config.hasVip?{category:this.sideMenuBlockDetailsEnum.VIP,icon:this.SwitchThemeService.imageLink$.value?.SIDENAV_ICON_VIP,link:this.routingPathType.VIP_DETAIL.link,label:this.translocoService.translate("ui.global.word.vip")}:null;case this.sideMenuBlockDetailsEnum.REFER_BONUS:return this.isReferBonusDisplay()?{category:this.sideMenuBlockDetailsEnum.REFER_BONUS,icon:this.SwitchThemeService.imageLink$.value?.SIDENAV_ICON_REFERRAL,link:this.getReferBonusLink(),label:this.translocoService.translate("ui.global.word.refer_bonus")}:null;case this.sideMenuBlockDetailsEnum.SOCIAL_MEDIA:return this.config.hasSocialMedia?{category:this.sideMenuBlockDetailsEnum.SOCIAL_MEDIA,icon:this.SwitchThemeService.imageLink$.value?.SIDENAV_ICON_SOCIAL_MEDIA,label:this.translocoService.translate("ui.global.text.social_media")}:null;case this.sideMenuBlockDetailsEnum.CONTACT_US:return this.config.hasContactUs&&!0===this.authState.get("isLogin")?{category:this.sideMenuBlockDetailsEnum.CONTACT_US,icon:this.SwitchThemeService.imageLink$.value?.SIDENAV_ICON_SERVICE_TALK,label:this.translocoService.translate("ui.global.text.contact_us")}:null;case this.sideMenuBlockDetailsEnum.APP_DOWNLOAD:return this.config.hasSideMenuAppDownload?{category:this.sideMenuBlockDetailsEnum.APP_DOWNLOAD,icon:this.SwitchThemeService.imageLink$.value?.SIDENAV_ICON_DOWNLOAD,link:this.routingPathType.APP_DOWNLOAD.link,label:this.translocoService.translate("ui.footer.text.app_download")}:null;default:return null}}getSupportBlockItems(s){switch(s){case this.sideMenuBlockDetailsEnum.AMBASSADOR:return this.config.hasAmbassador?{type:"service",dataService:this.sideMenuBlockDetailsEnum.AMBASSADOR,icon:this.SwitchThemeService.imageLink$.value?.SIDENAV_ICON_AMBASSADOR,label:this.translocoService.translate("ui.global.text.ambassador"),routerLink:this.routingPathType.AMBASSADOR.link}:null;case this.sideMenuBlockDetailsEnum.RESPONSIBLE_GAMING:return this.config.hasResponsibleGaming?{type:"service",dataService:this.sideMenuBlockDetailsEnum.RESPONSIBLE_GAMING,icon:this.SwitchThemeService.imageLink$.value?.SIDENAV_ICON_RESPONSIBLE_GAMING,label:this.translocoService.translate("ui.global.word.responsible_gaming"),click:()=>this.config.onResponsibleGamingClick?.()}:null;case this.sideMenuBlockDetailsEnum.AFFILIATE:return this.config.hasAffiliate?{type:"service",dataService:this.sideMenuBlockDetailsEnum.AFFILIATE,icon:this.SwitchThemeService.imageLink$.value?.SIDENAV_ICON_AFFILIATE,label:this.translocoService.translate("ui.global.word.affiliate"),click:()=>this.config.onAffiliateClick?.()}:null;case this.sideMenuBlockDetailsEnum.TALK:return this.config.hasService||this.uiConfig.enabeSideMenuLivechatBtn?{type:"service",dataService:this.sideMenuBlockDetailsEnum.TALK,icon:this.SwitchThemeService.imageLink$.value?.SIDENAV_ICON_SERVICE_TALK,label:this.config.hasCSLink.title||this.translocoService.translate("ui.global.word.livechat"),subLabel:this.config.hasCSLink.content||this.translocoService.translate("ui.member_menu.text.provide_quality_service"),attrName:this.uiConfig.enabeSideMenuLivechatBtn?"liveChatBtn":null}:null;case this.sideMenuBlockDetailsEnum.FORUM2:return this.config.hasForum?{type:"service",dataService:this.sideMenuBlockDetailsEnum.FORUM2,icon:this.SwitchThemeService.imageLink$.value?.SIDENAV_ICON_SERVICE_FORUM,label:this.translocoService.translate("ui.global.word.forum"),click:()=>this.config.onForumClick?.()}:null;case this.sideMenuBlockDetailsEnum.PARTNERSHIP:return this.config.hasPartnership?{type:"service",dataService:this.sideMenuBlockDetailsEnum.PARTNERSHIP,icon:this.SwitchThemeService.imageLink$.value?.SIDENAV_ICON_PARTNERSHIPS,label:this.translocoService.translate("ui.side_menu.word.partnerships"),click:()=>this.config.onPartnershipClick?.()}:null;default:return null}}gotoUrl(s,l){switch(L.getInstanceOf(s)){case L.EMAIL:return`mailto:${l}`;case L.SKYPE:return`skype:${l}`;case L.PHONE:return`tel:${l}`;default:return`${l}`}}onClickContactLink(s,l){const p=L.getInstanceOf(l),I=this.chatService();if(p===L.CSLINK){if(!I)return;s.preventDefault(),I.isWidgetOpen()?I.hideWidget():I.showWidget()}}static#e=this.\u0275fac=function(l){return new(l||a)(e.rXU(hs.W),e.rXU(V.Ix),e.rXU(de.o),e.rXU(Os.N),e.rXU(Oi.H),e.rXU(c.qQ),e.rXU(jr.Qs))};static#t=this.\u0275cmp=e.VBU({type:a,selectors:[["app-side-menu"]],viewQuery:function(l,p){if(1&l&&e.GBs(Ne,5,wo.N),2&l){let I;e.mGM(I=e.lsd())&&(p.customMenuFirstTemplateDynamicHost=I.first)}},inputs:{neuACategory:"neuACategory"},features:[e.Jv_([ki.Y,{provide:Os.N,useFactory:()=>new ki.Y}]),e.Vt3],decls:1,vars:0,consts:[["customMenuFirstTemplate",""],["defaultDisplayName",""],["CATEGORY_CONTAINER",""],["GAME_CONTAINER",""],["DIRECT_URL",""],["VENDOR",""],["GAME",""],["FIRST_LEVEL_VENDOR_OR_GAME_SUB",""],[4,"transloco"],[1,"menu"],[1,"menu-first"],[3,"ngComponentOutlet"],[4,"ngIf"],["drcDynamicHost",""],[1,"menu-second"],["class","menu-second-ul exclusive",3,"ngClass",4,"ngIf"],[4,"ngFor","ngForOf"],["class","menu-mask",3,"ngStyle","click",4,"ngIf"],[3,"ngSwitch"],[4,"ngSwitchCase"],[1,"home"],["data-category","home"],[1,"item-icon"],["drcNeuAClick","",3,"click","routerLink","category","title"],[1,"vendor"],["drcNeuAClick","",3,"category","title"],[3,"click"],["drcNeuAClick","",3,"active","category","title",4,"ngFor","ngForOf"],["class","item-icon",3,"background-image",4,"ngSwitchCase"],[4,"ngIf","ngIfElse"],["class","promotion-block",4,"ngIf"],[1,"promotion-block"],[3,"routerLink","click",4,"ngIf"],["target","_blank",4,"ngIf"],[3,"click","routerLink"],["target","_blank"],[1,"menu-item-reminder"],["class","menu-item-reminder__icon",3,"drcCdnSrc",4,"ngIf"],[1,"menu-item-reminder__icon",3,"drcCdnSrc"],["class","support-block",4,"ngIf"],[1,"support-block"],["class","service",4,"ngIf"],[1,"service"],[3,"routerLink","innerHTML","click",4,"ngIf"],[3,"click",4,"ngIf"],[3,"click","routerLink","innerHTML"],["class","whatsapp-block",4,"ngIf"],[1,"whatsapp-block"],[1,"menu-banner-box",3,"click"],[1,"banner-img",3,"drcCdnSrc"],[1,"whatsapp-button",3,"click"],[3,"drcCdnSrc"],[1,"language-select-area"],["class","language-area","drcNeuAClick","",3,"active","category","title","click",4,"ngIf"],["drcNeuAClick","",1,"language-area",3,"click","category","title"],[1,"menu-second-ul","exclusive",3,"ngClass"],["drcNeuAClick","",3,"category","title","click",4,"ngFor","ngForOf"],["drcNeuAClick","",3,"click","category","title"],["tabindex","-1"],["class","menu-second-ul",3,"ngClass",4,"ngFor","ngForOf"],[1,"menu-second-ul",3,"ngClass"],[3,"click",4,"ngFor","ngForOf"],[1,"icon-sport"],["class","icon-sport",3,"-webkit-mask-image",4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["tabindex","-1",3,"click"],["class","menu-second-ul",3,"active","click",4,"ngIf"],[1,"menu-second-ul",3,"click"],[3,"active",4,"ngFor","ngForOf"],["target","_blank",3,"href"],[1,"item-text"],["class","item-icon",3,"background-image",4,"ngIf"],[3,"class",4,"ngIf"],["target","_blank",1,"item-link",3,"click","href"],[1,"menu-mask",3,"click","ngStyle"]],template:function(l,p){1&l&&e.DNE(0,Wm,18,20,"ng-container",8)},dependencies:[c.YU,c.OI,c.Sq,c.bT,c.T3,c.B3,c.ux,c.e1,A.bA,V.Wk,Gs.f,ms.h,wo.N,me.d,c.Jj,c.GH,Xs.H,ke.gA,ke.WX,Fe.J],encapsulation:2,data:{animation:[cr.Rz,cr.fK]},changeDetection:0})}return a})();var fs=o(21413),ac=o(86953),bt=o(74214),On=o(56977),su=o(20421),cc=o(45185),ni=o(95407),oi=o(5964),$s=o(65245);new e.nKC("ngx-google-analytics-settings",{factory:()=>({trackingCode:"",enableTracing:!1})});const ou=new e.nKC("ngx-window",{providedIn:"root",factory:()=>{const{defaultView:a}=(0,e.WQX)(c.qQ);if(!a)throw new Error("Window is not available");return a}}),fC=new e.nKC("ngx-data-layer",{providedIn:"root",factory:()=>function $m(a){return a?a.dataLayer=a.dataLayer||[]:null}((0,e.WQX)(ou))});function Xd(a,g){return a?a.gtag=a.gtag||function(){g.push(arguments)}:null}new e.nKC("ngx-gtag-fn",{providedIn:"root",factory:()=>Xd((0,e.WQX)(ou),(0,e.WQX)(fC))}),new e.nKC("ngx-google-analytics-routing-settings",{factory:()=>({})});const cu=function(a,g){try{window[`ga-disable-${a}`]=!g}catch(s){console.error(s)}};var vr=o(80888),zs=o(81042);const Qd=new e.nKC("GA_CONFIG");let lu=(()=>{class a{constructor(){this.isPlatformBrowser=(0,c.UE)((0,e.WQX)(e.Agw)),this.router=(0,e.WQX)(V.Ix),this.config=(0,e.WQX)(Qd),this.defaultDataLayer="dataLayer",this.gaScriptUrl="https://www.googletagmanager.com/gtag/js?id=",this.gaScriptIdPrefix="GAscript-",this.eventQueueService=(0,e.WQX)(zs.n),this.inited=!1}gtag(...s){this.isPlatformBrowser&&Xd(window,this.getDataLayer())(...s)}getDataLayer(){const s=this.defaultDataLayer;return window[s]=window[s]||[],window[s]}pushDataLayer(s){this.getDataLayer().push(s)}pageView(s,l){s&&this.gtag("config",s,{page_path:l})}addGaToDom(s){return this.isPlatformBrowser?s?(cu(s,!0),new Promise((l,p)=>{const I=this.gaScriptIdPrefix+s;if(document.getElementById(I))return l(!0);this.gtag("js",new Date),this.gtag("config",s);const ie=`${this.gaScriptUrl}${s}&l=${this.defaultDataLayer}`,Ae=document.createElement("script");Ae.id=I,Ae.async=!0,Ae.src=ie,Ae.addEventListener("load",()=>l(this.inited=!0)),Ae.addEventListener("error",()=>p(!1)),document.head.insertBefore(Ae,document.head.firstChild)})):Promise.reject("GaService.addGaToDom(), Empty tracking code for Google Analytics."):Promise.reject("GaService.addGaToDom(), is not platform browser")}addAllTrackingCodesToDom(){return Promise.all(this.config.trackingCodes.map(s=>this.addGaToDom(s).catch(l=>console.warn(l)))).then(()=>!0)}disableTrackingCodes(){return this.isPlatformBrowser?new Promise((s,l)=>{this.config.trackingCodes.forEach(p=>cu(p,!1)),setTimeout(()=>s(!0),100)}):Promise.reject("GaService.removeAllTrackingCodeScriptsFromDom(), is not platform browser")}init(s){return this.isPlatformBrowser?this.inited?Promise.resolve(this.inited):(this.config.customDataLayerEventList?.includes("REGISTER_SUCCESS")&&this.eventQueueService.on(vr.Vw).pipe((0,Wt.M)(l=>{const p={event:"successful_signup"};console.log("GTM push datalayer >>>>>>>",p),this.pushDataLayer(p)})).subscribe(),this.addAllTrackingCodesToDom().then(()=>{const l=this.router.events.pipe((0,oi.p)(p=>p instanceof V.wF),(0,Wt.M)(p=>{this.config.trackingCodes.forEach(I=>this.pageView(I,p.url))})).subscribe();return s.onDestroy(()=>{try{l?.unsubscribe()}catch(p){console.error(p)}}),this.inited=!0})):Promise.reject("GaService.init(), is not platform browser")}changeGaTracking(s){return this.isPlatformBrowser?this.disableTrackingCodes().then(()=>this.setTrackingIds(s)).then(()=>this.addAllTrackingCodesToDom()):Promise.reject("GaService.changeTrackingIds(), is not platform browser")}setTrackingIds(s){this.config.trackingCodes=[...s||[]]}static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac})}return a})();var Jd=o(39962),ma=o(89591),Zd=o(26694),gg=o(94872),Hs=o(12564);let Ua=(()=>{class a{constructor(){this.eventQueueService=(0,e.WQX)(zs.n),this.exposeEventObserver=this.initExposeEventObserver()}initExposeEventObserver(){return new IntersectionObserver((p,I)=>{p.forEach(X=>{if(X.isIntersecting){const ie=JSON.parse(X.target.dataset.neua),Ae=X.target.dataset.neuacategory,Ue=Ae?JSON.parse(Ae):"";let st={action:ie};Ue&&(st={...st,category:Ue}),setTimeout(()=>{this.eventQueueService.dispatch(new Hs.W(Hs.t.EXPOSURE,st)),I.unobserve(X.target)},3e3)}})},{root:null,rootMargin:"0px",threshold:0})}static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac})}return a})(),Ji=(()=>{class a{constructor(s){this._elementRef=s,this.nueAExposeEventService=(0,e.WQX)(Ua,{optional:!0})}ngAfterViewInit(){this.nueAExposeEventService?.exposeEventObserver?.observe(this._elementRef.nativeElement)}static#e=this.\u0275fac=function(l){return new(l||a)(e.rXU(e.aKT,1))};static#t=this.\u0275dir=e.FsC({type:a,selectors:[["","drcNeuAExpose",""]]})}return a})();const pg=["body"],Km=a=>({display:a}),qd=a=>[a],Xm=a=>({"background-image":a});function _g(a,g){if(1&a&&(e.qex(0),e.nrm(1,"div",24),e.nI1(2,"async"),e.nI1(3,"imageUrl"),e.bVm()),2&a){let s;const l=e.XpG(3);e.R7$(),e.xc7("-webkit-mask-image",e.bMT(3,4,null==(s=e.bMT(2,2,l.SwitchThemeService.imageLink$))?null:s.IMG_POP_CLOSE))}}function mg(a,g){if(1&a&&(e.nrm(0,"div",24),e.nI1(1,"async"),e.nI1(2,"imageUrl")),2&a){let s;const l=e.XpG(3);e.xc7("-webkit-mask-image",e.bMT(2,4,null==(s=e.bMT(1,2,l.SwitchThemeService.imageLink$))?null:s.IMG_SEARCH_ARROW))}}function ll(a,g){if(1&a&&(e.qex(0),e.DNE(1,_g,4,6,"ng-container",7),e.nI1(2,"async"),e.DNE(3,mg,3,6,"ng-template",null,3,e.C5r),e.bVm()),2&a){const s=e.sdS(4),l=e.XpG(2);e.R7$(),e.Y8G("ngIf","member"===e.bMT(2,2,l.headerClass$))("ngIfElse",s)}}function qo(a,g){if(1&a&&(e.nrm(0,"div",24),e.nI1(1,"async"),e.nI1(2,"imageUrl")),2&a){let s;const l=e.XpG(2);e.xc7("-webkit-mask-image",e.bMT(2,4,null==(s=e.bMT(1,2,l.SwitchThemeService.imageLink$))?null:s.IMG_SEARCH_ARROW))}}function Ym(a,g){if(1&a&&(e.j41(0,"div",25),e.EFF(1),e.nI1(2,"async"),e.k0s()),2&a){const s=e.XpG(2);e.R7$(),e.JRh(e.bMT(2,1,s.title$))}}function uu(a,g){if(1&a&&(e.qex(0),e.eu8(1,26),e.bVm()),2&a){const s=g.ngIf;e.R7$(),e.Y8G("ngTemplateOutlet",s)}}function du(a,g){if(1&a&&(e.j41(0,"div",29),e.eu8(1,26),e.k0s()),2&a){const s=e.XpG(3);e.R7$(),e.Y8G("ngTemplateOutlet",s.customHeaderExtraContentSponsor)}}function hu(a,g){if(1&a&&(e.nrm(0,"div",27),e.nI1(1,"imageUrl"),e.DNE(2,du,2,1,"div",28)),2&a){const s=e.XpG(2);e.Y8G("routerLink",e.eq3(5,qd,s.routingPathType.MAIN.link))("ngStyle",e.eq3(7,Xm,e.bMT(1,3,"/assets/images/logo.png"))),e.R7$(2),e.Y8G("ngIf",s.customHeaderExtraContentSponsor)}}function eh(a,g){if(1&a&&(e.nrm(0,"span",34),e.nI1(1,"async"),e.nI1(2,"imageUrl")),2&a){let s;const l=e.XpG(3);e.xc7("-webkit-mask-image",e.bMT(2,4,null==(s=e.bMT(1,2,l.SwitchThemeService.imageLink$))?null:s.IMG_HEADER_WHATSAPP))}}function vg(a,g){if(1&a&&(e.nrm(0,"span",35),e.nI1(1,"async"),e.nI1(2,"imageUrl")),2&a){let s;const l=e.XpG(3);e.xc7("background-image",e.bMT(2,4,null==(s=e.bMT(1,2,l.SwitchThemeService.imageLink$))?null:s.IMG_HEADER_WHATSAPP))}}function Eg(a,g){if(1&a&&(e.j41(0,"p"),e.EFF(1),e.k0s()),2&a){const s=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",s("ui.header.text.whatsapp")," ")}}function zm(a,g){if(1&a&&(e.j41(0,"a",30),e.DNE(1,eh,3,6,"span",31)(2,vg,3,6,"span",32)(3,Eg,2,1,"p",33),e.nI1(4,"async"),e.k0s()),2&a){let s;const l=e.XpG(2);e.Y8G("href",null==l.whatsAppModel?null:l.whatsAppModel.link,e.B4B),e.BMQ("target",null!=l.whatsAppModel&&l.whatsAppModel.link?"_blank":void 0),e.R7$(),e.Y8G("ngIf",l.isImgMask),e.R7$(),e.Y8G("ngIf",!l.isImgMask),e.R7$(),e.Y8G("ngIf",null==(s=e.bMT(4,5,l.btnSetting$))?null:s.isShowIconText)}}function Mc(a,g){if(1&a&&(e.j41(0,"p"),e.EFF(1),e.k0s()),2&a){const s=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",s("ui.header.text.inbox")," ")}}function ul(a,g){if(1&a&&(e.j41(0,"span",38),e.EFF(1),e.nI1(2,"async"),e.nI1(3,"async"),e.k0s()),2&a){const s=e.XpG(3);e.R7$(),e.JRh(e.bMT(2,1,s.unreadMessageCount$).unreadMessageCount>99?"99+":e.bMT(3,3,s.unreadMessageCount$).unreadMessageCount)}}function Qm(a,g){if(1&a&&(e.j41(0,"a",36),e.nrm(1,"span",34),e.nI1(2,"imageUrl"),e.DNE(3,Mc,2,1,"p",33),e.nI1(4,"async"),e.DNE(5,ul,4,5,"span",37),e.nI1(6,"async"),e.nI1(7,"async"),e.k0s()),2&a){let s,l;const p=e.XpG(2);e.Y8G("routerLink",e.eq3(13,qd,p.routingPathType.INBOX_NOTIFICATION.link)),e.R7$(),e.xc7("-webkit-mask-image",e.bMT(2,5,p.SwitchThemeService.imageLink.IMG_HEADER_INDEX_ICON)),e.R7$(2),e.Y8G("ngIf",null==(s=e.bMT(4,7,p.btnSetting$))?null:s.isShowIconText),e.R7$(2),e.Y8G("ngIf",(null==(l=e.bMT(6,9,p.unreadMessageCount$))?null:l.unreadMessageCount)&&0!==e.bMT(7,11,p.unreadMessageCount$).unreadMessageCount)}}function th(a,g){if(1&a&&(e.j41(0,"p"),e.EFF(1),e.k0s()),2&a){const s=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",s("ui.header.text.app")," ")}}function Jm(a,g){if(1&a&&(e.j41(0,"a",39),e.nrm(1,"span",34),e.nI1(2,"async"),e.nI1(3,"imageUrl"),e.DNE(4,th,2,1,"p",33),e.nI1(5,"async"),e.k0s()),2&a){let s,l;const p=e.XpG(2);e.Y8G("href",p.routingPathType.APP_DOWNLOAD.link,e.B4B)("target",p.isAppDownloadOpenInSameTab?"":"_blank"),e.R7$(),e.xc7("-webkit-mask-image",e.bMT(3,7,null==(s=e.bMT(2,5,p.SwitchThemeService.imageLink$))?null:s.IMG_HEADER_APPDOWNLOAD_ICON)),e.R7$(3),e.Y8G("ngIf",null==(l=e.bMT(5,9,p.btnSetting$))?null:l.isShowIconText)}}function Zm(a,g){if(1&a&&(e.j41(0,"p"),e.EFF(1),e.k0s()),2&a){const s=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",s("ui.header.text.forum")," ")}}function qm(a,g){if(1&a){const s=e.RV6();e.j41(0,"a",40),e.bIt("click",function(){e.eBV(s);const p=e.XpG(2);return e.Njj(p.openForumLogin())}),e.nrm(1,"span",34),e.nI1(2,"async"),e.nI1(3,"imageUrl"),e.DNE(4,Zm,2,1,"p",33),e.nI1(5,"async"),e.k0s()}if(2&a){let s,l;const p=e.XpG(2);e.R7$(),e.xc7("-webkit-mask-image",e.bMT(3,5,null==(s=e.bMT(2,3,p.SwitchThemeService.imageLink$))?null:s.IMG_HEADER_FORUM_ICON)),e.R7$(3),e.Y8G("ngIf",null==(l=e.bMT(5,7,p.btnSetting$))?null:l.isShowIconText)}}function _C(a,g){if(1&a&&(e.j41(0,"p"),e.EFF(1),e.k0s()),2&a){const s=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",s("ui.header.text.schedule"),"")}}function mC(a,g){if(1&a&&(e.j41(0,"a",41),e.nI1(1,"async"),e.nrm(2,"span",34),e.nI1(3,"imageUrl"),e.DNE(4,_C,2,1,"p",33),e.nI1(5,"async"),e.k0s()),2&a){let s,l;const p=e.XpG(2);e.Y8G("href",null==(s=e.bMT(1,4,p.btnSetting$))?null:s.scheduleLink,e.B4B),e.R7$(2),e.xc7("-webkit-mask-image",e.bMT(3,6,p.SwitchThemeService.imageLink.IMG_HEADER_SCHEDULE)),e.R7$(2),e.Y8G("ngIf",null==(l=e.bMT(5,8,p.btnSetting$))?null:l.isShowIconText)}}function nh(a,g){if(1&a&&(e.j41(0,"p"),e.EFF(1),e.k0s()),2&a){const s=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",s("ui.header.text.chat")," ")}}function dl(a,g){if(1&a){const s=e.RV6();e.j41(0,"a",42),e.bIt("click",function(){e.eBV(s);const p=e.XpG(2);return e.Njj(p.openCSLink())}),e.nrm(1,"span",34),e.nI1(2,"async"),e.nI1(3,"imageUrl"),e.DNE(4,nh,2,1,"p",33),e.nI1(5,"async"),e.k0s()}if(2&a){let s,l;const p=e.XpG(2);e.BMQ("name",p.hasLiveChatHook?"liveChatBtn":""),e.R7$(),e.xc7("-webkit-mask-image",e.bMT(3,6,null==(s=e.bMT(2,4,p.SwitchThemeService.imageLink$))?null:s.IMG_HEADER_SERVICE_ICON)),e.R7$(3),e.Y8G("ngIf",null==(l=e.bMT(5,8,p.btnSetting$))?null:l.isShowIconText)}}function e0(a,g){if(1&a&&(e.j41(0,"p"),e.EFF(1),e.k0s()),2&a){const s=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",s("ui.header.text.chat")," ")}}function hl(a,g){if(1&a){const s=e.RV6();e.j41(0,"a",43),e.bIt("click",function(){e.eBV(s);const p=e.XpG(2);return e.Njj(p.openHelpCenter())}),e.nrm(1,"span",34),e.nI1(2,"async"),e.nI1(3,"imageUrl"),e.DNE(4,e0,2,1,"p",33),e.nI1(5,"async"),e.k0s()}if(2&a){let s,l;const p=e.XpG(2);e.R7$(),e.xc7("-webkit-mask-image",e.bMT(3,5,null==(s=e.bMT(2,3,p.SwitchThemeService.imageLink$))?null:s.IMG_HEADER_SERVICE_ICON)),e.R7$(3),e.Y8G("ngIf",null==(l=e.bMT(5,7,p.btnSetting$))?null:l.isShowIconText)}}function ih(a,g){if(1&a&&(e.j41(0,"div",44),e.eu8(1,26),e.k0s()),2&a){const s=e.XpG(2);e.R7$(),e.Y8G("ngTemplateOutlet",s.customHeaderExtraContent)}}function fu(a,g){if(1&a&&(e.j41(0,"p"),e.EFF(1),e.k0s()),2&a){const s=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",s("ui.header.text.logout")," ")}}function vC(a,g){if(1&a){const s=e.RV6();e.j41(0,"button",45),e.bIt("click",function(){e.eBV(s);const p=e.XpG(2);return e.Njj(p.logout())}),e.nrm(1,"span",34),e.nI1(2,"async"),e.nI1(3,"imageUrl"),e.DNE(4,fu,2,1,"p",33),e.nI1(5,"async"),e.k0s()}if(2&a){let s,l;const p=e.XpG(2);e.R7$(),e.xc7("-webkit-mask-image",e.bMT(3,5,null==(s=e.bMT(2,3,p.SwitchThemeService.imageLink$))?null:s.IMG_HEADER_LOGOUT_ICON)),e.R7$(3),e.Y8G("ngIf",null==(l=e.bMT(5,7,p.btnSetting$))?null:l.isShowIconText)}}function Ig(a,g){if(1&a){const s=e.RV6();e.j41(0,"div",46),e.bIt("click",function(){e.eBV(s);const p=e.XpG(2);return e.Njj(p.openLanguageMenu())}),e.nrm(1,"img",47),e.k0s()}if(2&a){const s=e.XpG(2);e.R7$(),e.Y8G("drcCdnSrc",s.languageImagesPath)}}function Cg(a,g){if(1&a&&(e.j41(0,"div",48),e.nrm(1,"img",47),e.k0s()),2&a){const s=e.XpG(2);e.R7$(),e.Y8G("drcCdnSrc",s.headerBaseImg)}}function t0(a,g){if(1&a){const s=e.RV6();e.qex(0),e.j41(1,"header",5,0),e.nI1(3,"async"),e.j41(4,"div",6),e.DNE(5,ll,5,4,"ng-container",7)(6,qo,3,6,"ng-template",null,1,e.C5r),e.j41(8,"div",8),e.bIt("click",function(){e.eBV(s);const p=e.XpG();return e.Njj(p.openMenu(!0))}),e.j41(9,"ul"),e.nrm(10,"li")(11,"li")(12,"li"),e.k0s()()(),e.DNE(13,Ym,3,3,"div",9)(14,uu,2,1,"ng-container",7),e.nI1(15,"async"),e.DNE(16,hu,3,9,"ng-template",null,2,e.C5r),e.j41(18,"div",10),e.DNE(19,zm,5,7,"a",11),e.nI1(20,"async"),e.DNE(21,Qm,8,15,"a",12),e.nI1(22,"async"),e.nI1(23,"async"),e.DNE(24,Jm,6,11,"a",13),e.nI1(25,"async"),e.DNE(26,qm,6,9,"a",14),e.nI1(27,"async"),e.DNE(28,mC,6,10,"a",15),e.nI1(29,"async"),e.DNE(30,dl,6,10,"a",16),e.nI1(31,"async"),e.DNE(32,hl,6,9,"a",17),e.nI1(33,"async"),e.DNE(34,ih,2,1,"div",18)(35,vC,6,9,"button",19),e.j41(36,"div",20),e.nI1(37,"async"),e.nI1(38,"async"),e.nI1(39,"imageUrl"),e.bIt("click",function(){e.eBV(s);const p=e.XpG();return e.Njj(p.openEditorMenu())}),e.k0s(),e.DNE(40,Ig,2,1,"div",21),e.nI1(41,"async"),e.j41(42,"app-language",22),e.bIt("activateLanguage",function(p){e.eBV(s);const I=e.XpG();return e.Njj(I.listenLanguageMenu(p))}),e.k0s()(),e.DNE(43,Cg,2,1,"div",23),e.k0s(),e.bVm()}if(2&a){let s,l,p,I,X,ie,Ae,Ue,st;const rt=e.sdS(7),yt=e.sdS(17),Gt=e.XpG();e.R7$(),e.AVh("header-down",Gt.isShowDownloadbar)("scroll",Gt.scrolledOver)("dialog-opened",Gt.isAnyDialogOpened),e.Y8G("ngClass",Gt.useUnchangeableHeader?"normal":e.bMT(3,30,Gt.headerClass$)),e.BMQ("data-neua",Gt.setNeuAData()),e.R7$(4),e.Y8G("ngIf",Gt.backBtnClose)("ngIfElse",rt),e.R7$(8),e.Y8G("ngIf",!Gt.useUnchangeableHeader),e.R7$(),e.Y8G("ngIf",e.bMT(15,32,Gt.headerTemplate$))("ngIfElse",yt),e.R7$(5),e.Y8G("ngIf",(null==Gt.whatsAppModel?null:Gt.whatsAppModel.display)&&!1===e.bMT(20,34,Gt.isLogin$)),e.R7$(2),e.Y8G("ngIf",(null==(s=e.bMT(22,36,Gt.btnSetting$))?null:s.hasInbox)&&e.bMT(23,38,Gt.isLogin$)),e.R7$(3),e.Y8G("ngIf",(null==(l=e.bMT(25,40,Gt.btnSetting$))?null:l.hasAppDownload)&&Gt.isAndroid&&!Gt.isNativeApp&&!Gt.isForceHideDownloadBtn),e.R7$(2),e.Y8G("ngIf",null==(p=e.bMT(27,42,Gt.btnSetting$))?null:p.hasForum),e.R7$(2),e.Y8G("ngIf",null==(I=e.bMT(29,44,Gt.btnSetting$))?null:I.scheduleLink),e.R7$(2),e.Y8G("ngIf",null==(X=e.bMT(31,46,Gt.siteSettingModel$))?null:X.csLiveChatLink),e.R7$(2),e.Y8G("ngIf",null==(ie=e.bMT(33,48,Gt.btnSetting$))?null:ie.hasHelpCenter),e.R7$(2),e.Y8G("ngIf",Gt.customHeaderExtraContent),e.R7$(),e.Y8G("ngIf",Gt.hasLogout),e.R7$(),e.Aen(e.eq3(58,Km,null!=(Ae=e.bMT(37,50,Gt.btnSetting$))&&Ae.hasEditBtrn?"block":"none")),e.xc7("-webkit-mask-image",e.bMT(39,54,null==(Ue=e.bMT(38,52,Gt.SwitchThemeService.imageLink$))?null:Ue.IMG_PLAYER_EDITOR)),e.R7$(4),e.Y8G("ngIf",null==(st=e.bMT(41,56,Gt.btnSetting$))?null:st.hasLanguage),e.R7$(2),e.Y8G("isImgBg",!0)("isActive",Gt.isLanguageMenuActive),e.R7$(),e.Y8G("ngIf",Gt.headerBaseImg)}}let ea=(()=>{class a{get isAnyDialogOpened(){return this.dialogService.isAnyDialogOpened}get scrolledOver(){return this._scrolledOver}set scrolledOver(s){this._scrolledOver!==s&&this.cdr.markForCheck(),this._scrolledOver=s}constructor(s,l,p,I,X,ie,Ae){this.siteSetting=s,this.authState=l,this.headerState=p,this.document=I,this.userService=X,this.forumLoginState=ie,this.authService=Ae,this.SwitchThemeService=(0,e.WQX)(Us.Fu),this.appStateService=(0,e.WQX)(ni.i),this.destroy$=new fs.B,this.chatController=(0,e.WQX)(Hr.v),this.chatService=(0,e.EWP)(()=>this.chatController.chatService()),this.siteSettingModel$=this.siteSetting.select("siteSettingModel"),this.languageImagesPath="",this.isNativeApp=!1,this.isAndroid=!1,this.isForceHideDownloadBtn=!1,this.environment=(0,e.WQX)(Et.E),this.uiConfig=(0,e.WQX)(Et.E),this._helperPageLinkSignal=(0,e.WQX)(In.YK,{optional:!0}),this.helperCenterLink=(0,e.EWP)(()=>this._helperPageLinkSignal?.()||this.uiConfig.helpCenterLink),this.useUnchangeableHeader=this.uiConfig.useUnchangeableHeader,this.isAppDownloadOpenInSameTab=this.uiConfig.isAppDownloadOpenInSameTab,this.isLogin$=this.authState.select("isLogin"),this.headerClass$=this.headerState.select("headerClass"),this.title$=this.headerState.select("title"),this.btnSetting$=this.headerState.select("btnSetting"),this.hasLiveChatHook=this.headerState.get("btnSetting").hasLiveChatHook,this.customHeaderExtraContent$=this.headerState.select("customExtraContent"),this.customHeaderExtraContentSponsor$=this.headerState.select("customExtraContentSponsor"),this.isEditorMenuActive$=this.headerState.select("editorMenuActive"),this.unreadMessageCount$=this.authState.select("accountInfo"),this.elementRef=(0,e.WQX)(e.aKT),this.dialogService=(0,e.WQX)(de.o),this.cdr=(0,e.WQX)(e.gRc),this.gaService=(0,e.WQX)(lu),this._scrolledOver=!1,this.windowsScrollHandlerService=(0,e.WQX)(cc.G),this.headerTemplate$=this.headerState.select("logoTemplate"),this.subscriptions=[],this.isImgMask=!0,this.isImgBg=!1,this.backBtnClose=!1,this.isShowDownloadbar=!1,this.headerBaseImg="",this.openSideMenuEvt=new e.bkB,this.activateLanguage=new e.bkB,this.openLiveChat=new e.bkB,this.isLanguageMenuActive=!1,this.openForumSub$=new fs.B,this.openForum$=this.openForumSub$.pipe((0,pn.n)(()=>this.userService.getForumLoginURL().pipe((0,Wt.M)(Ue=>{Ue&&Ue.forumUrl&&window.open(Ue.forumUrl)})))),this.routingPathType=Se.J,this.isInAndroidPackage$=this.appStateService.on("isInAndroidPackage").pipe((0,On.Q)(this.destroy$)),this.forumLoginState.connect(this.openForum$),this.isAndroid=su.V.isAndroid(),this.isNativeApp=this.siteSetting.get("siteSettingModel").isNativeApp}ngOnInit(){this.initCurrencyAndLanguage(),this.initLoginStateSubscription(),this.initScrollEventBinding(),this.detectCustomContentLoaded()}ngAfterViewInit(){const s=this.isLogin$.subscribe(l=>{const p=this.document.getElementById("header"),I=this.headerState.get("headerClass");l&&"normal"===I?p?.classList.add("login"):p?.classList.remove("login")});this.subscriptions.push(s)}detectCustomContentLoaded(){this.customHeaderExtraContent$.subscribe(s=>{this.customHeaderExtraContent=s,this.cdr.detectChanges()}),this.customHeaderExtraContentSponsor$.subscribe(s=>{this.customHeaderExtraContentSponsor=s,this.cdr.detectChanges()})}initScrollEventBinding(){const s=this.windowsScrollHandlerService.getScrollObservable().pipe((0,Wt.M)(()=>{const p=window.scrollY;this.scrolledOver=p>20})).subscribe();this.subscriptions.push(s)}initLoginStateSubscription(){const s=this.isLogin$.subscribe(l=>{this.isForceHideDownloadBtn=!!this.uiConfig.logoutHideAppDownload&&!l});this.subscriptions.push(s)}openMenu(s){this.openSideMenuEvt.emit(s)}ngOnDestroy(){this.subscriptions.forEach(s=>s.unsubscribe()),this.destroy$.next(),this.destroy$.unsubscribe()}openCSLink(){const s=this.siteSetting.get("siteSettingModel").csLiveChatLink,l=this.headerState.get("btnSetting").hasLiveChatHook,p=this.headerState.get("btnSetting").hasFreshChatHook;s&&!l&&window.open(s),p&&this.openLiveChatEvent();const I=this.chatService();I&&(I.isWidgetOpen()?I.hideWidget():I.showWidget())}openHelpCenter(){const s=this.helperCenterLink();window.open(s)}openForumLogin(){this.openForumSub$.next(void 0)}initCurrencyAndLanguage(){this.siteSetting.select("currencyMappingSettingModel").pipe((0,Sn.T)(s=>{s&&s.forEach(l=>{const p=this.siteSetting.get("currentCurrencyType").unique;l.currencyTypeId===p&&l.mapping.forEach(I=>{I.currencySettingTypeId===es.X.COUNTRY.unique&&(this.languageImagesPath||(this.languageImagesPath=`/assets/images/flag/${ds.B.getInstanceOf(Number(I.mappingData[0]))?.name}.png`))})})})).subscribe()}openLanguageMenu(){this.isLanguageMenuActive=!0}listenLanguageMenu(s){this.isLanguageMenuActive=s}openEditorMenu(){this.headerState.set({editorMenuActive:!0})}logout(){this.authService.logout()}openLiveChatEvent(){this.openLiveChat.emit(!0)}setNeuAData(){this.authState.get("isLogin")&&this.gaService.gtag("event","version_view_v1",{});const s={event_name:"view",event_type:"exposure",event_page:document.querySelector("head title")?.textContent,event_payload:{loc:"header",version:"v1"}};return JSON.stringify(s)}static#e=this.\u0275fac=function(l){return new(l||a)(e.rXU(Qn.p),e.rXU(Oi.H),e.rXU(In.ww),e.rXU(c.qQ),e.rXU(Jd.D),e.rXU(ki.Y),e.rXU(ma.u))};static#t=this.\u0275cmp=e.VBU({type:a,selectors:[["app-header-inner"]],viewQuery:function(l,p){if(1&l&&e.GBs(pg,5),2&l){let I;e.mGM(I=e.lsd())&&(p.body=I.first)}},inputs:{whatsAppModel:"whatsAppModel",isImgMask:"isImgMask",isImgBg:"isImgBg",backBtnClose:"backBtnClose",hasLogout:"hasLogout",isShowDownloadbar:"isShowDownloadbar",headerBaseImg:"headerBaseImg",isLanguageMenuActive:"isLanguageMenuActive"},outputs:{openSideMenuEvt:"openSideMenuEvt",activateLanguage:"activateLanguage",openLiveChat:"openLiveChat"},features:[e.Jv_([cc.G])],decls:1,vars:0,consts:[["body",""],["headerCustom",""],["normalLogo",""],["headerMember",""],[4,"transloco"],["id","header","drcNeuAExpose","",3,"ngClass"],[1,"header-left-btn-group"],[4,"ngIf","ngIfElse"],[1,"menu-btn",3,"click"],["class","header-title",4,"ngIf"],[1,"header-right-btn-group"],["class","whatapp-btn",3,"href",4,"ngIf"],["class","inbox-btn",3,"routerLink",4,"ngIf"],["class","app-download",3,"href","target",4,"ngIf"],["class","forum-btn",3,"click",4,"ngIf"],["class","schedule-btn","target","_blank",3,"href",4,"ngIf"],["class","service-btn",3,"click",4,"ngIf"],["class","service-btn","name","helpCenter",3,"click",4,"ngIf"],["class","custom-content","name","customButton",4,"ngIf"],["class","login-btn",3,"click",4,"ngIf"],[1,"editor-btn",3,"click"],["class","language-select",3,"click",4,"ngIf"],[3,"activateLanguage","isImgBg","isActive"],["class","header-base-image",4,"ngIf"],["drcPrevious","",1,"back-btn"],[1,"header-title"],[3,"ngTemplateOutlet"],[1,"logo",3,"routerLink","ngStyle"],["class","custom-content-sponsor","name","customContentSponsor",4,"ngIf"],["name","customContentSponsor",1,"custom-content-sponsor"],[1,"whatapp-btn",3,"href"],["class","item-icon",3,"-webkit-mask-image",4,"ngIf"],["class","item-icon bg-icon",3,"background-image",4,"ngIf"],[4,"ngIf"],[1,"item-icon"],[1,"item-icon","bg-icon"],[1,"inbox-btn",3,"routerLink"],["class","notice",4,"ngIf"],[1,"notice"],[1,"app-download",3,"href","target"],[1,"forum-btn",3,"click"],["target","_blank",1,"schedule-btn",3,"href"],[1,"service-btn",3,"click"],["name","helpCenter",1,"service-btn",3,"click"],["name","customButton",1,"custom-content"],[1,"login-btn",3,"click"],[1,"language-select",3,"click"],[3,"drcCdnSrc"],[1,"header-base-image"]],template:function(l,p){1&l&&e.DNE(0,t0,44,60,"ng-container",4)},dependencies:[c.YU,c.bT,c.T3,c.B3,V.Wk,A.bA,Zd.l,gg.i,Gs.f,ms.h,Ji,c.Jj,Xs.H],changeDetection:0})}return a})();var ui=o(74851);function sh(a,g){if(1&a&&(e.j41(0,"a",6),e.nrm(1,"img",7),e.k0s()),2&a){const s=e.XpG().$implicit;e.Y8G("href",s.imageLink,e.B4B),e.R7$(),e.Y8G("drcCdnSrc",s.imagePath)("alt",s.imageAlt)}}function Dg(a,g){if(1&a&&(e.j41(0,"a",9),e.nrm(1,"img",7),e.k0s()),2&a){const s=e.XpG(2).$implicit;e.Y8G("routerLink",s.routerLink),e.R7$(),e.Y8G("drcCdnSrc",s.imagePath)("alt",s.imageAlt)}}function gu(a,g){if(1&a&&e.DNE(0,Dg,2,3,"a",8),2&a){const s=e.XpG().$implicit,l=e.sdS(6);e.Y8G("ngIf",s.routerLink)("ngIfElse",l)}}function rh(a,g){if(1&a&&e.nrm(0,"img",10),2&a){const s=e.XpG().$implicit,l=e.XpG(2);e.Y8G("drcCdnSrc",s.imagePath),e.BMQ("fetchpriority",l.isImagePriority?l.isImagePriority:null)}}function s0(a,g){if(1&a&&(e.qex(0),e.j41(1,"li"),e.DNE(2,sh,2,3,"a",5)(3,gu,1,2,"ng-template",null,0,e.C5r)(5,rh,1,2,"ng-template",null,1,e.C5r),e.k0s(),e.bVm()),2&a){const s=g.$implicit,l=e.sdS(4);e.R7$(2),e.Y8G("ngIf",s.imageLink)("ngIfElse",l)}}function Ag(a,g){if(1&a&&(e.qex(0),e.j41(1,"div",3)(2,"h2"),e.EFF(3),e.k0s(),e.j41(4,"ul"),e.DNE(5,s0,7,2,"ng-container",4),e.k0s()(),e.bVm()),2&a){const s=g.$implicit,l=e.XpG();e.R7$(),e.Y8G("ngClass",l.footerIconItem.type),e.R7$(2),e.JRh(s(l.footerIconItem.title)),e.R7$(2),e.Y8G("ngForOf",l.footerIconItem.imageData)}}let Sg=(()=>{class a{constructor(){this.footerIconItem={type:"",title:"",imageData:[]},this.isImagePriority=""}static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275cmp=e.VBU({type:a,selectors:[["app-icon-list"]],inputs:{footerIconItem:"footerIconItem",isImagePriority:"isImagePriority"},decls:1,vars:0,consts:[["routerLink",""],["anotherWord",""],[4,"transloco"],[3,"ngClass"],[4,"ngFor","ngForOf"],["target","_blank",3,"href",4,"ngIf","ngIfElse"],["target","_blank",3,"href"],[3,"drcCdnSrc","alt"],[3,"routerLink",4,"ngIf","ngIfElse"],[3,"routerLink"],[3,"drcCdnSrc"]],template:function(l,p){1&l&&e.DNE(0,Ag,6,3,"ng-container",2)},dependencies:[c.YU,c.Sq,c.bT,Gs.f,ms.h,V.Wk,A.bA],styles:["[_nghost-%COMP%]{display:contents}"],changeDetection:0})}return a})();const o0=new e.nKC("ANJOUAN_LOADER");function a0(a,g){if(1&a&&(e.qex(0),e.j41(1,"li"),e.nrm(2,"img",3),e.k0s(),e.bVm()),2&a){const s=g.$implicit;e.R7$(2),e.Y8G("drcCdnSrc",s.imagePath)("alt",s.imageAlt)}}function Og(a,g){if(1&a&&(e.qex(0),e.j41(1,"li"),e.eu8(2,4),e.k0s(),e.bVm()),2&a){const s=e.XpG(2);e.R7$(2),e.Y8G("ngComponentOutlet",s.anjouanComponent())}}function yg(a,g){if(1&a&&(e.qex(0),e.j41(1,"h2"),e.EFF(2),e.k0s(),e.j41(3,"ul"),e.DNE(4,a0,3,2,"ng-container",1)(5,Og,3,1,"ng-container",2),e.k0s(),e.bVm()),2&a){const s=g.$implicit,l=e.XpG();e.R7$(2),e.JRh(s(l.gamingLicenseItem.title)),e.R7$(2),e.Y8G("ngForOf",l.gamingLicenseItem.imageData),e.R7$(),e.Y8G("ngIf",!!l.anjouanLoader)}}new e.nKC("ANJOUAN_CONFIG");let wc=(()=>{class a{constructor(){this.anjouanLoader=(0,e.WQX)(o0,{optional:!0}),this.anjouanComponent=(0,e.vPA)(void 0),this.gamingLicenseItem={title:"",imageData:[]}}ngOnInit(){this.anjouanLoader&&this.anjouanLoader().then(s=>{this.anjouanComponent.set(s)})}static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275cmp=e.VBU({type:a,selectors:[["app-gaming-license"]],inputs:{gamingLicenseItem:"gamingLicenseItem"},decls:1,vars:0,consts:[[4,"transloco"],[4,"ngFor","ngForOf"],[4,"ngIf"],[3,"drcCdnSrc","alt"],[3,"ngComponentOutlet"]],template:function(l,p){1&l&&e.DNE(0,yg,6,3,"ng-container",0)},dependencies:[c.OI,c.Sq,c.bT,Gs.f,ms.h,A.bA],styles:["ul[_ngcontent-%COMP%]{display:flex}"],changeDetection:0})}return a})();var ys=function(a){return a[a.FACEBOOK=0]="FACEBOOK",a[a.INSTAGRAM=1]="INSTAGRAM",a[a.TWITTER=2]="TWITTER",a[a.TELEGRAM=3]="TELEGRAM",a[a.LINE=4]="LINE",a[a.WHATSAPP=5]="WHATSAPP",a[a.ZALO=6]="ZALO",a[a.PINTEREST=7]="PINTEREST",a[a.YOUTUBE=8]="YOUTUBE",a[a.LIKEE=9]="LIKEE",a[a.IMO=10]="IMO",a[a.FORUM=11]="FORUM",a[a.TIKTOK=12]="TIKTOK",a}(ys||{});class Si extends O.N{static#e=this._values=new Array;static#t=this.FACEBOOK=new Si(ys.FACEBOOK,"facebook");static#n=this.INSTAGRAM=new Si(ys.INSTAGRAM,"instagram");static#i=this.TWITTER=new Si(ys.TWITTER,"twitter");static#s=this.TELEGRAM=new Si(ys.TELEGRAM,"telegram-channel");static#r=this.LINE=new Si(ys.LINE,"line-for-business");static#o=this.WHATSAPP=new Si(ys.WHATSAPP,"whatsapp");static#a=this.ZALO=new Si(ys.ZALO,"zalo");static#c=this.PINTEREST=new Si(ys.PINTEREST,"pinterest");static#l=this.YOUTUBE=new Si(ys.YOUTUBE,"youtube");static#u=this.LIKEE=new Si(ys.LIKEE,"likee");static#d=this.IMO=new Si(ys.IMO,"imo");static#h=this.FORUM=new Si(ys.FORUM,"forum");static#f=this.TIKTOK=new Si(ys.TIKTOK,"tiktok");constructor(g,s){super(g),this._value=g,this._displayName=s,Si.values.push(this)}static get values(){return this._values}static getInstanceOf(g){return this._values.find(s=>s._value===g)}get displayName(){return this._displayName}}var c0=o(91664);function Tg(a,g){if(1&a){const s=e.RV6();e.j41(0,"span",4),e.bIt("visibilityChange",function(p){e.eBV(s);const I=e.XpG(2);return e.Njj(I.visibilityChanged(p))}),e.k0s()}}function ah(a,g){if(1&a&&(e.j41(0,"a",7),e.nrm(1,"img",8),e.k0s()),2&a){const s=e.XpG().$implicit;e.Y8G("href",s.imageLink,e.B4B),e.R7$(),e.Y8G("drcCdnSrc",s.imagePath)("alt",s.imageAlt)}}function l0(a,g){if(1&a&&e.nrm(0,"img",9),2&a){const s=e.XpG().$implicit,l=e.XpG(3);e.Y8G("drcCdnSrc",s.imagePath),e.BMQ("fetchpriority",l.isImagePriority?l.isImagePriority:null)}}function Mg(a,g){if(1&a&&(e.qex(0),e.j41(1,"li"),e.DNE(2,ah,2,3,"a",6)(3,l0,1,2,"ng-template",null,0,e.C5r),e.k0s(),e.bVm()),2&a){const s=g.$implicit,l=e.sdS(4);e.R7$(2),e.Y8G("ngIf",s.imageLink)("ngIfElse",l)}}function pu(a,g){if(1&a&&(e.j41(0,"div")(1,"h2"),e.EFF(2),e.k0s(),e.j41(3,"ul"),e.DNE(4,Mg,5,2,"ng-container",5),e.nI1(5,"async"),e.k0s()()),2&a){const s=e.XpG().$implicit,l=e.XpG();e.R7$(2),e.JRh(s(l.title)),e.R7$(2),e.Y8G("ngForOf",e.bMT(5,2,l.imageDataList$))}}function u0(a,g){if(1&a&&(e.qex(0),e.DNE(1,Tg,1,0,"span",2)(2,pu,6,4,"div",3),e.nI1(3,"async"),e.bVm()),2&a){let s;const l=e.XpG();e.R7$(),e.Y8G("ngIf",!l.isGlanced),e.R7$(),e.Y8G("ngIf",l.isGlanced&&(null==(s=e.bMT(3,2,l.imageDataList$))?null:s.length))}}let Ng=(()=>{class a{constructor(){this.type="safe",this.title="ui.global.text.community_website",this.isImagePriority="",this.environment=(0,e.WQX)(Et.E),this.messageService=(0,e.WQX)(m.b),this.isGlanced=!1,this.imageDataList$=this.messageService.getSocialMedia().pipe((0,Sn.T)(s=>(s||[]).map(l=>{const p=Si.getInstanceOf(l.socialMediaType);if(p)return{imagePath:`/assets/images/footer/${this.environment.iconColor}/social/`+p.displayName+".png",imageLink:l.link,imageAlt:p.displayName}}).filter(l=>!!l)),(0,ts.t)(1))}visibilityChanged(s){"VISIBLE"===s&&(this.isGlanced=!0)}static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275cmp=e.VBU({type:a,selectors:[["app-social-media-list"]],hostVars:2,hostBindings:function(l,p){2&l&&e.HbH(p.type)},inputs:{type:"type",title:"title",isImagePriority:"isImagePriority"},features:[e.Jv_([ki.Y])],decls:1,vars:0,consts:[["anotherWord",""],[4,"transloco"],["class","visibility-check-box","drcVisibilityDetector","",3,"visibilityChange",4,"ngIf"],[4,"ngIf"],["drcVisibilityDetector","",1,"visibility-check-box",3,"visibilityChange"],[4,"ngFor","ngForOf"],["target","_blank",3,"href",4,"ngIf","ngIfElse"],["target","_blank",3,"href"],[3,"drcCdnSrc","alt"],[3,"drcCdnSrc"]],template:function(l,p){1&l&&e.DNE(0,u0,4,4,"ng-container",1)},dependencies:[c.Sq,c.bT,Gs.f,ms.h,A.bA,c0.d,c.Jj],changeDetection:0})}return a})();var Ts=o(84412),Qs=o(57786),xr=o(70152),po=o(84572),Zr=function(a){return a[a.MAIN=1]="MAIN",a[a.REGISTER=2]="REGISTER",a[a.PROMOTION=3]="PROMOTION",a[a.SPORTS=4]="SPORTS",a[a.CASINO=5]="CASINO",a[a.CARD=6]="CARD",a[a.FISHING=7]="FISHING",a[a.SLOT=8]="SLOT",a[a.TABLE=22]="TABLE",a[a.ARCADE=24]="ARCADE",a[a.LOTTERY=26]="LOTTERY",a[a.CRASH=27]="CRASH",a}(Zr||{});class Er extends O.N{static#e=this._values=new Array;static#t=this.MAIN=new Er(Zr.MAIN,[ui.C.MAIN,ui.C.EX_SPORT,ui.C.INDEX_CASINO,ui.C.HOME]);static#n=this.REGISTER=new Er(Zr.REGISTER,[ui.C.REGISTER]);static#i=this.PROMOTION=new Er(Zr.PROMOTION,[ui.C.PROMOTION]);static#s=this.SPORTS=new Er(Zr.SPORTS,[]);static#r=this.CASINO=new Er(Zr.CASINO,[ui.C.CASINO]);static#o=this.CARD=new Er(Zr.CARD,[ui.C.CARD]);static#a=this.FISHING=new Er(Zr.FISHING,[ui.C.FISHING]);static#c=this.SLOT=new Er(Zr.SLOT,[ui.C.SLOT]);static#l=this.TABLE=new Er(Zr.TABLE,[ui.C.TABLE]);static#u=this.ARCADE=new Er(Zr.ARCADE,[ui.C.ARCADE]);static#d=this.LOTTERY=new Er(Zr.LOTTERY,[ui.C.LOTTERY]);static#h=this.CRASH=new Er(Zr.CRASH,[ui.C.CRASH]);constructor(g,s){super(g),this._value=g,this._routingPath=s,Er.values.push(this)}static get values(){return this._values}get routingPath(){return this._routingPath}static getInstanceOf(g){return this._values.find(s=>s._value===g)}}var _u=o(37996),d0=o(89257);const wg=["FooterSeoContent"],h0=["FoldingLayer"];function f0(a,g){if(1&a&&(e.j41(0,"div")(1,"div",8),e.EFF(2),e.k0s(),e.nrm(3,"div",9),e.nI1(4,"safeHtml"),e.k0s()),2&a){const s=g.$implicit;e.R7$(2),e.JRh(s.title),e.R7$(),e.Y8G("innerHTML",e.bMT(4,2,s.h5Content),e.npT)}}function EC(a,g){if(1&a){const s=e.RV6();e.j41(0,"button",10),e.bIt("click",function(){e.eBV(s);const p=e.XpG(4);return e.Njj(p.toggleFolding())}),e.EFF(1),e.nI1(2,"async"),e.k0s()}if(2&a){const s=e.XpG(4);e.R7$(),e.JRh(e.bMT(2,1,s.isFolded)?"Show More":"Show Less")}}function bg(a,g){if(1&a&&(e.j41(0,"div",5,0),e.nI1(2,"async"),e.j41(3,"div",null,1),e.DNE(5,f0,5,4,"div",6),e.k0s(),e.DNE(6,EC,3,3,"button",7),e.nI1(7,"async"),e.k0s()),2&a){const s=e.XpG().ngIf,l=e.XpG(2);e.HbH(e.bMT(2,4,l.isFolded)?"folded":""),e.R7$(5),e.Y8G("ngForOf",s),e.R7$(),e.Y8G("ngIf",!0===e.bMT(7,6,l.isShowFoldBtn))}}function xg(a,g){if(1&a&&(e.qex(0),e.DNE(1,bg,8,8,"div",4),e.bVm()),2&a){const s=g.ngIf;e.R7$(),e.Y8G("ngIf",s.length)}}function qr(a,g){if(1&a&&(e.qex(0),e.DNE(1,xg,2,1,"ng-container",3),e.nI1(2,"async"),e.bVm()),2&a){const s=e.XpG();e.R7$(),e.Y8G("ngIf",e.bMT(2,1,s.footerSeoContentsRendered$))}}let IC=(()=>{class a{constructor(){this.siteSetting=(0,e.WQX)(Qn.p),this.messageService=(0,e.WQX)(m.b),this.router=(0,e.WQX)(V.Ix),this.cdr=(0,e.WQX)(e.gRc),this.footerSeoContentsRendered$=new Ts.t([]),this.isShowFoldBtn=new Ts.t(!0),this.isFolded=new Ts.t(!0),this.getData$=new fs.B,this.getDataHandler$=(0,Qs.h)(this.getData$,this.siteSetting.select("currentCurrencyType"),this.siteSetting.select("currentLanguageType")).pipe((0,ns.pQ)(),(0,xr.B)(200),(0,pn.n)(()=>this.messageService.getMessageByTypes()),(0,Sn.T)(s=>s.filter(l=>l.messageType===_u.G.FOOTER_SEO_CONTENT.unique))),this.currentRoute$=new Ts.t(""),this.currentRouteHandler$=this.currentRoute$.pipe((0,$s.i)(1),(0,ns.pQ)(),(0,Sn.T)(s=>{const l=s.includes("?")?s.split("?")[0]:s,p=ui.C.startWithLink(l);return Se.J.findByRoutingPath(p)})),this.routerEvent$=this.router.events.pipe((0,ns.pQ)(),(0,oi.p)(s=>s instanceof V.wF),(0,Wt.M)(s=>{this.currentRoute$.next(s.urlAfterRedirects)})).subscribe(),this.footerSeoContents$=(0,po.z)([this.getDataHandler$,this.currentRouteHandler$]).pipe((0,ns.pQ)(),(0,Sn.T)(s=>{const[l,p]=s;return l.filter(I=>Er.getInstanceOf(I.pageType)?.routingPath.some(X=>X.unique===p?.unique))}),(0,Sn.T)(s=>s.slice(0,1))).subscribe(s=>{this.footerSeoContentsRendered$.next(s),this.cdr.detectChanges(),this.setFoldingLayerHeight()})}ngOnInit(){this.getData$.next(void 0),this.currentRoute$.next(this.router.url)}setFoldingLayerHeight(){if(this.FoldingLayer&&this.FooterSeoContent){const s=this.FooterSeoContent.nativeElement.offsetHeight;this.FoldingLayer.nativeElement.style.height=s+"px",s<200?(this.isShowFoldBtn.next(!1),this.isFolded.next(!1)):(this.isShowFoldBtn.next(!0),this.isFolded.next(!0))}}toggleFolding(){this.isFolded.next(!this.isFolded.value)}static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275cmp=e.VBU({type:a,selectors:[["app-seo-content"]],viewQuery:function(l,p){if(1&l&&(e.GBs(wg,5),e.GBs(h0,5)),2&l){let I;e.mGM(I=e.lsd())&&(p.FooterSeoContent=I.first),e.mGM(I=e.lsd())&&(p.FoldingLayer=I.first)}},decls:1,vars:0,consts:[["FoldingLayer",""],["FooterSeoContent",""],[4,"transloco"],[4,"ngIf"],["class","footer-seo-content-wrapper",3,"class",4,"ngIf"],[1,"footer-seo-content-wrapper"],[4,"ngFor","ngForOf"],["class","fold-btn button btn-secondary",3,"click",4,"ngIf"],[1,"title"],[1,"seo-content",3,"innerHTML"],[1,"fold-btn","button","btn-secondary",3,"click"]],template:function(l,p){1&l&&e.DNE(0,qr,3,3,"ng-container",2)},dependencies:[c.Sq,c.bT,A.bA,c.Jj,d0.$n],styles:['[_nghost-%COMP%]{display:contents}.footer-seo-content-wrapper[_ngcontent-%COMP%]{width:100%;position:relative;transition:height .2s;margin-bottom:40px;padding:10px 0 30px}.footer-seo-content-wrapper.folded[_ngcontent-%COMP%]{height:200px!important;overflow:hidden;transition:all .2s;margin-bottom:0}.footer-seo-content-wrapper.folded[_ngcontent-%COMP%]:after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:var(--footer-seo-content-wrapper-bg)}.footer-seo-content-wrapper.folded[_ngcontent-%COMP%] .fold-btn[_ngcontent-%COMP%]{bottom:0}.footer-seo-content-wrapper[_ngcontent-%COMP%] .fold-btn[_ngcontent-%COMP%]{z-index:1;position:absolute;bottom:-40px;left:50%;transform:translate(-50%);width:fit-content;height:30px;padding:0 20px;line-height:30px;font-size:14px;border:0;color:var(--footer-seo-content-wrapper-fold-btn-txt, #000)}.footer-seo-content-wrapper[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{margin-bottom:12px;font-size:18px;font-weight:600;color:var(--footer-seo-content-wrapper-title, #ffffff)}.footer-seo-content-wrapper[_ngcontent-%COMP%] .seo-content[_ngcontent-%COMP%]{display:block;height:fit-content;text-align:left;padding-bottom:20px;color:var(--footer-seo-content-wrapper-txt, #878e92)}.is-desktop[_nghost-%COMP%] .footer-seo-content-wrapper[_ngcontent-%COMP%], .is-desktop [_nghost-%COMP%] .footer-seo-content-wrapper[_ngcontent-%COMP%]{max-width:1200px;padding:0 8px}'],changeDetection:0})}return a})();var Pg=o(52034);const fl=(a,g)=>({locale:a,languageType:g}),mu=a=>[2023,"",0,void 0,2,void 0,!1,a],Lo=a=>[2024,"",0,void 0,2,void 0,!1,a],Lg=a=>[2026,"",0,void 0,2,void 0,!1,a],Ga=a=>[a];function g0(a,g){if(1&a&&(e.qex(0),e.nrm(1,"app-icon-list",27),e.bVm()),2&a){const s=g.$implicit;e.R7$(),e.Y8G("footerIconItem",s)}}function p0(a,g){if(1&a&&(e.j41(0,"div")(1,"h2"),e.EFF(2,"APP Download"),e.k0s(),e.j41(3,"a",28),e.nrm(4,"img",29),e.k0s()()),2&a){const s=e.XpG(2);e.R7$(3),e.Y8G("routerLink",e.eq3(1,Ga,s.routingPathType.APP_DOWNLOAD.link))}}function Fg(a,g){if(1&a){const s=e.RV6();e.qex(0),e.j41(1,"footer",1),e.nrm(2,"app-seo-content"),e.j41(3,"div",2)(4,"div",3)(5,"div",4),e.EFF(6),e.k0s(),e.j41(7,"div",5)(8,"div",6)(9,"div",7),e.nrm(10,"img",8),e.j41(11,"div",9)(12,"div",10),e.EFF(13,"Delhi Bulls"),e.k0s(),e.j41(14,"div",11)(15,"span"),e.EFF(16),e.k0s(),e.j41(17,"span"),e.EFF(18),e.nI1(19,"toLocalNumber"),e.nI1(20,"toLocalNumber"),e.k0s()()()()()()(),e.j41(21,"div",12)(22,"div",4),e.EFF(23),e.k0s(),e.j41(24,"div",5)(25,"div",13),e.bIt("click",function(){e.eBV(s);const p=e.XpG();return e.Njj(p.toAmbassadorPage(0))}),e.nrm(26,"img",14),e.j41(27,"div",9)(28,"div",10),e.EFF(29,"Andre Dwayne Russell"),e.k0s(),e.j41(30,"div",11)(31,"span"),e.EFF(32),e.nI1(33,"toLocalNumber"),e.nI1(34,"toLocalNumber"),e.k0s()()()(),e.j41(35,"div",13),e.bIt("click",function(){e.eBV(s);const p=e.XpG();return e.Njj(p.toAmbassadorPage(1))}),e.nrm(36,"img",15),e.j41(37,"div",9)(38,"div",10),e.EFF(39,"Glenn McGrat"),e.k0s(),e.j41(40,"div",11)(41,"span"),e.EFF(42),e.nI1(43,"toLocalNumber"),e.nI1(44,"toLocalNumber"),e.k0s()()()()()(),e.DNE(45,g0,2,1,"ng-container",16),e.nrm(46,"app-social-media-list"),e.k0s(),e.j41(47,"div",17)(48,"div",18),e.nrm(49,"app-gaming-license",19),e.k0s(),e.DNE(50,p0,5,3,"div",20),e.k0s(),e.j41(51,"div",21),e.nrm(52,"div",22),e.j41(53,"div",23)(54,"div",24),e.EFF(55),e.k0s(),e.j41(56,"p"),e.EFF(57),e.k0s()()(),e.j41(58,"div",25),e.nrm(59,"p",26),e.k0s()(),e.bVm()}if(2&a){const s=g.$implicit,l=e.XpG();e.R7$(6),e.SpI(" ",s("ui.global.word.sponsor")," "),e.R7$(10),e.JRh(s("ui.global.word.title.sponsor")),e.R7$(2),e.Lme(" ",e.iJd(19,18,e.eq3(75,mu,e.l_i(72,fl,l.yearLocale(),l.currentLanguageType())))," - ",e.iJd(20,27,e.eq3(80,Lo,e.l_i(77,fl,l.yearLocale(),l.currentLanguageType())))," "),e.R7$(5),e.JRh(s("ui.global.word.ambassador")),e.R7$(9),e.Lme(" ",e.iJd(33,36,e.eq3(85,Lo,e.l_i(82,fl,l.yearLocale(),l.currentLanguageType())))," - ",e.iJd(34,45,e.eq3(90,Lg,e.l_i(87,fl,l.yearLocale(),l.currentLanguageType())))," "),e.R7$(10),e.Lme(" ",e.iJd(43,54,e.eq3(95,mu,e.l_i(92,fl,l.yearLocale(),l.currentLanguageType())))," - ",e.iJd(44,63,e.eq3(100,Lo,e.l_i(97,fl,l.yearLocale(),l.currentLanguageType())))," "),e.R7$(3),e.Y8G("ngForOf",null==l.footerIcons?null:l.footerIcons.footerImageList),e.R7$(4),e.Y8G("gamingLicenseItem",l.gamingLicenseItem),e.R7$(),e.Y8G("ngIf",l.isAndroid&&!l.isNativeApp),e.R7$(2),e.xc7("background-image","url(/assets/images/logo-02.png)"),e.R7$(3),e.JRh(s("ui.footer.text.best_quality_platform")),e.R7$(2),e.Lme("\xa9 ",l.year," ",s("ui.footer.text.copyrights_reserved",e.eq3(102,Ga,s("ui.global.text.brand_name"))),""),e.R7$(2),e.Y8G("innerHTML",s("ui.text.footer.license.content"),e.npT)}}let CC=(()=>{class a{constructor(s,l,p){this.cdr=s,this.siteSetting=l,this.currencySettingState=p,this.isNativeApp=!1,this.isAndroid=!1,this.router=(0,e.WQX)(V.Ix),this.currentLanguageType=(0,ns.ot)(this.siteSetting.select("currentLanguageType")),this.yearLocale=(0,e.EWP)(()=>{const I=this.currentLanguageType();if(I===y.t.HINDI||I===y.t.NEPALI)return"hi-u-nu-deva"}),this.year=(new Date).getFullYear(),this.subscriptions=[],this.environment=se.c,this.routingPathType=Se.J,this.gamingLicenseItem={title:"ui.footer.text.gaming_license",imageData:[{imagePath:"/assets/images/footer/gaming_license.png",imageAlt:"Gaming License"},{imagePath:"/assets/images/footer/anjouan.png",imageAlt:"Anjouan"}]},this.isAndroid=su.V.isAndroid(),this.isNativeApp=this.siteSetting.get("siteSettingModel").isNativeApp}ngOnInit(){this.initSetting()}ngOnDestroy(){this.subscriptions.forEach(s=>s.unsubscribe())}initSetting(){this.subscriptions.push(this.siteSetting.select().pipe((0,Wt.M)(s=>{this.footerIcons=((a,g)=>{const s=[{linkData:[{linkText:"ui.global.word.affiliate",linkHref:"",routerLink:""},{linkText:"ui.global.text.responsible_gaming",linkHref:"",routerLink:`${Se.J.TERMS_DUTY.link}`},{linkText:"ui.global.text.about_us",linkHref:"",routerLink:`${Se.J.TERMS.link}`},{linkText:"ui.global.text.contact_us",linkHref:"",routerLink:`${Se.J.TERMS_CONTACT.link}`},{linkText:"ui.global.text.privacy_policy",linkHref:"",routerLink:`${Se.J.TERMS_PRIVACY.link}`},{linkText:"ui.global.text.faq",linkHref:"",routerLink:`${Se.J.TERMS_FAQ.link}`}]}],p=[{currencyType:Rn.U.INR,footerImageList:[{type:"pay",title:"ui.footer.text.payment_partners",imageData:[{imagePath:`/assets/images/footer/${g}/pay16.png`,imageAlt:"Payment Partners"},{imagePath:`/assets/images/footer/${g}/pay17.png`,imageAlt:"Payment Partners"},{imagePath:`/assets/images/footer/${g}/pay47.png`,imageAlt:"Payment Partners"}]},{type:"safe",title:"ui.global.text.responsible_gaming",imageData:[{imagePath:`/assets/images/footer/${g}/safe/gamcare.png`,imageLink:"https://www.gamcare.org.uk/",imageAlt:"Gamcare"},{imagePath:`/assets/images/footer/${g}/safe/age-limit.png`,imageLink:"https://jeetbuzzhelp.com/account/18-policy/",imageAlt:"18 Policy"},{imagePath:`/assets/images/footer/${g}/safe/regulations.png`,imageLink:"https://jeetbuzzhelp.com/responsible-gaming",imageAlt:"Responsible Gaming"}]}]},{currencyType:Rn.U.PKR,footerImageList:[{type:"pay",title:"ui.footer.text.payment_partners",imageData:[{imagePath:`/assets/images/footer/${g}/pay16.png`,imageAlt:"Payment Partners"},{imagePath:`/assets/images/footer/${g}/pay38.png`,imageAlt:"Payment Partners"},{imagePath:`/assets/images/footer/${g}/pay39.png`,imageAlt:"Payment Partners"}]},{type:"safe",title:"ui.global.text.responsible_gaming",imageData:[{imagePath:`/assets/images/footer/${g}/safe/gamcare.png`,imageLink:"https://www.gamcare.org.uk/",imageAlt:"Gamcare"},{imagePath:`/assets/images/footer/${g}/safe/age-limit.png`,imageLink:"https://jeetbuzzhelp.com/account/18-policy/",imageAlt:"18 Policy"},{imagePath:`/assets/images/footer/${g}/safe/regulations.png`,imageLink:"https://jeetbuzzhelp.com/responsible-gaming",imageAlt:"Responsible Gaming"}]}]},{currencyType:Rn.U.VND,footerImageList:[{type:"pay",title:"ui.footer.text.payment_partners",imageData:[{imagePath:`/assets/images/footer/${g}/pay16.png`,imageAlt:"Payment Partners"}]},{type:"safe",title:"ui.global.text.responsible_gaming",imageData:[{imagePath:`/assets/images/footer/${g}/safe/gamcare.png`,imageLink:"https://www.gamcare.org.uk/",imageAlt:"Gamcare"},{imagePath:`/assets/images/footer/${g}/safe/age-limit.png`,imageLink:"https://jeetbuzzhelp.com/account/18-policy/",imageAlt:"18 Policy"},{imagePath:`/assets/images/footer/${g}/safe/regulations.png`,imageLink:"https://jeetbuzzhelp.com/responsible-gaming",imageAlt:"Responsible Gaming"}]}]},{currencyType:Rn.U.PHP,footerImageList:[{type:"pay",title:"ui.footer.text.payment_partners",imageData:[{imagePath:`/assets/images/footer/${g}/pay16.png`,imageAlt:"Payment Partners"},{imagePath:`/assets/images/footer/${g}/pay41.png`,imageAlt:"Payment Partners"},{imagePath:`/assets/images/footer/${g}/pay42.png`,imageAlt:"Payment Partners"},{imagePath:`/assets/images/footer/${g}/pay15.png`,imageAlt:"Payment Partners"},{imagePath:`/assets/images/footer/${g}/pay44.png`,imageAlt:"Payment Partners"},{imagePath:`/assets/images/footer/${g}/pay64.png`,imageAlt:"Payment Partners"}]},{type:"safe",title:"ui.global.text.responsible_gaming",imageData:[{imagePath:`/assets/images/footer/${g}/safe/gamcare.png`,imageLink:"https://www.gamcare.org.uk/",imageAlt:"Gamcare"},{imagePath:`/assets/images/footer/${g}/safe/age-limit.png`,imageLink:"https://jeetbuzzhelp.com/account/18-policy/",imageAlt:"18 Policy"},{imagePath:`/assets/images/footer/${g}/safe/regulations.png`,imageLink:"https://jeetbuzzhelp.com/responsible-gaming",imageAlt:"Responsible Gaming"}]}]},{currencyType:Rn.U.BDT,footerImageList:[{type:"pay",title:"ui.footer.text.payment_partners",imageData:[{imagePath:`/assets/images/footer/${g}/pay16.png`,imageAlt:"Payment Partners"},{imagePath:`/assets/images/footer/${g}/pay22.png`,imageAlt:"Payment Partners"},{imagePath:`/assets/images/footer/${g}/pay33.png`,imageAlt:"Payment Partners"},{imagePath:`/assets/images/footer/${g}/pay34.png`,imageAlt:"Payment Partners"},{imagePath:`/assets/images/footer/${g}/pay45.png`,imageAlt:"Payment Partners"},{imagePath:`/assets/images/footer/${g}/pay59.png`,imageAlt:"Payment Partners"},{imagePath:`/assets/images/footer/${g}/pay60.png`,imageAlt:"Payment Partners"},{imagePath:`/assets/images/footer/${g}/pay61.png`,imageAlt:"Payment Partners"},{imagePath:`/assets/images/footer/${g}/pay47.png`,imageAlt:"Payment Partners"},{imagePath:`/assets/images/footer/${g}/pay91.png`,imageAlt:"Payment Partners"}]},{type:"safe",title:"ui.global.text.responsible_gaming",imageData:[{imagePath:`/assets/images/footer/${g}/safe/gamcare.png`,imageLink:"https://www.gamcare.org.uk/",imageAlt:"Gamcare"},{imagePath:`/assets/images/footer/${g}/safe/age-limit.png`,imageLink:"https://jeetbuzzhelp.com/account/18-policy/",imageAlt:"18 Policy"},{imagePath:`/assets/images/footer/${g}/safe/regulations.png`,imageLink:"https://jeetbuzzhelp.com/responsible-gaming",imageAlt:"Responsible Gaming"}]}]},{currencyType:Rn.U.USD,footerImageList:[{type:"pay",title:"ui.footer.text.payment_partners",imageData:[{imagePath:`/assets/images/footer/${g}/pay16.png`,imageAlt:"Payment Partners"},{imagePath:`/assets/images/footer/${g}/pay46.png`,imageAlt:"Payment Partners"}]},{type:"safe",title:"ui.global.text.responsible_gaming",imageData:[{imagePath:`/assets/images/footer/${g}/safe/gamcare.png`,imageLink:"https://www.gamcare.org.uk/",imageAlt:"Gamcare"},{imagePath:`/assets/images/footer/${g}/safe/age-limit.png`,imageLink:"https://jeetbuzzhelp.com/account/18-policy/",imageAlt:"18 Policy"},{imagePath:`/assets/images/footer/${g}/safe/regulations.png`,imageLink:"https://jeetbuzzhelp.com/responsible-gaming",imageAlt:"Responsible Gaming"}]}]},{currencyType:Rn.U.CNY,footerImageList:[{type:"pay",title:"ui.footer.text.payment_partners",imageData:[{imagePath:`/assets/images/footer/${g}/pay16.png`,imageAlt:"Payment Partners"},{imagePath:`/assets/images/footer/${g}/pay1.png`,imageAlt:"Payment Partners"},{imagePath:`/assets/images/footer/${g}/pay2.png`,imageAlt:"Payment Partners"},{imagePath:`/assets/images/footer/${g}/pay3.png`,imageAlt:"Payment Partners"},{imagePath:`/assets/images/footer/${g}/pay4.png`,imageAlt:"Payment Partners"},{imagePath:`/assets/images/footer/${g}/pay5.png`,imageAlt:"Payment Partners"},{imagePath:`/assets/images/footer/${g}/pay6.png`,imageAlt:"Payment Partners"}]},{type:"safe",title:"ui.global.text.responsible_gaming",imageData:[{imagePath:`/assets/images/footer/${g}/safe/gamcare.png`,imageLink:"https://www.gamcare.org.uk/",imageAlt:"Gamcare"},{imagePath:`/assets/images/footer/${g}/safe/age-limit.png`,imageLink:"https://jeetbuzzhelp.com/account/18-policy/",imageAlt:"18 Policy"},{imagePath:`/assets/images/footer/${g}/safe/regulations.png`,imageLink:"https://jeetbuzzhelp.com/responsible-gaming",imageAlt:"Responsible Gaming"}]}]},{currencyType:Rn.U.THB,footerImageList:[{type:"pay",title:"ui.footer.text.payment_partners",imageData:[{imagePath:`/assets/images/footer/${g}/pay16.png`,imageAlt:"Payment Partners"}]},{type:"safe",title:"ui.global.text.responsible_gaming",imageData:[{imagePath:`/assets/images/footer/${g}/safe/gamcare.png`,imageLink:"https://www.gamcare.org.uk/",imageAlt:"Gamcare"},{imagePath:`/assets/images/footer/${g}/safe/age-limit.png`,imageLink:"https://jeetbuzzhelp.com/account/18-policy/",imageAlt:"18 Policy"},{imagePath:`/assets/images/footer/${g}/safe/regulations.png`,imageLink:"https://jeetbuzzhelp.com/responsible-gaming",imageAlt:"Responsible Gaming"}]}]}].find(I=>I.currencyType===a);return p&&!p.footerLinkList&&(p.footerLinkList=s),p})(s.currentCurrencyType,this.environment.iconColor),this.cdr.detectChanges()})).subscribe())}getImagePath(s){return`/images/footer/${this.environment.iconColor}/${s}.png`}toAmbassadorPage(s){this.router.navigateByUrl(ui.C.AMBASSADOR.routingPath+"?index="+s)}static#e=this.\u0275fac=function(l){return new(l||a)(e.rXU(e.gRc),e.rXU(Qn.p),e.rXU(Qn.p))};static#t=this.\u0275cmp=e.VBU({type:a,selectors:[["app-jb-footer-inner"]],decls:1,vars:0,consts:[[4,"transloco"],[1,"footer"],[1,"footer-top"],[1,"list","list--sponsor-data"],[1,"list__title"],[1,"list__wrap"],[1,"list__item","item"],[1,"item__icon"],["drcCdnSrc","/assets/images/sponsor/delhi-bulls.png","alt","icon-sponsor"],[1,"item__content"],[1,"txt"],[1,"sub-txt"],[1,"list","list--ambassador-data"],[1,"list__item","item",3,"click"],["drcCdnSrc","/assets/images/footer/ambassador-signature/andre-russell.png",1,"list__item--img"],["drcCdnSrc","/assets/images/footer/ambassador-signature/glenn-mcgrat.png",1,"list__item--img"],[4,"ngFor","ngForOf"],[1,"footer-middle"],[1,"gaming-license"],[3,"gamingLicenseItem"],[4,"ngIf"],[1,"footer-bottom"],[1,"logo"],[1,"text"],[1,"title"],[1,"footer-license"],[3,"innerHTML"],[3,"footerIconItem"],[3,"routerLink"],["drcCdnSrc","/assets/images/footer/android-en.png","alt","APP Download"]],template:function(l,p){1&l&&e.DNE(0,Fg,60,104,"ng-container",0)},dependencies:[c.Sq,c.bT,A.bA,Sg,Gs.f,ms.h,V.Wk,wc,Ng,IC,Pg.o4],changeDetection:0})}return a})();var Wa=o(66980),Bg=o(48544),va=o(91986),_0=o(46644);const m0=()=>({exact:!0}),lc=a=>[a];function gl(a,g){if(1&a){const s=e.RV6();e.qex(0),e.j41(1,"div",1)(2,"ul")(3,"li",2),e.nI1(4,"async"),e.j41(5,"a",3),e.bIt("click",function(){e.eBV(s);const p=e.XpG();return e.Njj(p.goHome())}),e.nrm(6,"span",4),e.nI1(7,"async"),e.nI1(8,"imageUrl"),e.nrm(9,"span",5),e.nI1(10,"async"),e.nI1(11,"imageUrl"),e.j41(12,"p"),e.EFF(13),e.k0s()()(),e.j41(14,"li",6)(15,"a",7),e.nrm(16,"span",4),e.nI1(17,"async"),e.nI1(18,"imageUrl"),e.nrm(19,"span",5),e.nI1(20,"async"),e.nI1(21,"imageUrl"),e.j41(22,"p"),e.EFF(23),e.k0s()()(),e.j41(24,"li",8)(25,"a",7),e.nrm(26,"span",4),e.nI1(27,"async"),e.nI1(28,"imageUrl"),e.nrm(29,"span",5),e.nI1(30,"async"),e.nI1(31,"imageUrl"),e.j41(32,"p"),e.EFF(33),e.k0s()()(),e.j41(34,"li",9),e.bIt("click",function(){e.eBV(s);const p=e.XpG();return e.Njj(p.openMemberMenuInner())}),e.j41(35,"a"),e.nrm(36,"span",4),e.nI1(37,"async"),e.nI1(38,"imageUrl"),e.nrm(39,"span",5),e.nI1(40,"async"),e.nI1(41,"imageUrl"),e.j41(42,"p"),e.EFF(43),e.k0s()()()()(),e.bVm()}if(2&a){let s,l,p,I,X,ie,Ae,Ue;const st=g.$implicit,rt=e.XpG();e.R7$(3),e.AVh("active",e.bMT(4,33,rt.isHome$)),e.Y8G("routerLinkActiveOptions",e.lJ4(67,m0)),e.R7$(2),e.Y8G("category",rt.HomePage.FooterBar.value)("title","home"),e.R7$(),e.xc7("background-image",e.bMT(8,37,null==(s=e.bMT(7,35,rt.SwitchThemeService.imageLink$))?null:s.IMG_TOOLBAR_ICON_HOME)),e.R7$(3),e.xc7("background-image",e.bMT(11,41,null==(l=e.bMT(10,39,rt.SwitchThemeService.imageLink$))?null:l.IMG_TOOLBAR_ICON_ACTIVE_HOME)),e.R7$(4),e.JRh(st("ui.global.word.home")),e.R7$(),e.Y8G("routerLink",e.eq3(68,lc,rt.routingPathType.PROMOTION.link)),e.R7$(),e.Y8G("category",rt.HomePage.FooterBar.value)("title","promotion"),e.R7$(),e.xc7("background-image",e.bMT(18,45,null==(p=e.bMT(17,43,rt.SwitchThemeService.imageLink$))?null:p.IMG_TOOLBAR_ICON_PROMOTION)),e.R7$(3),e.xc7("background-image",e.bMT(21,49,null==(I=e.bMT(20,47,rt.SwitchThemeService.imageLink$))?null:I.IMG_TOOLBAR_ICON_ACTIVE_PROMOTION)),e.R7$(4),e.JRh(st("ui.global.word.promotions")),e.R7$(),e.Y8G("routerLink",e.eq3(70,lc,rt.routingPathType.WALLET_DEPOSIT.link)),e.R7$(),e.Y8G("category",rt.HomePage.FooterBar.value)("title","deposit"),e.R7$(),e.xc7("background-image",e.bMT(28,53,null==(X=e.bMT(27,51,rt.SwitchThemeService.imageLink$))?null:X.IMG_TOOLBAR_ICON_DEPOSIT)),e.R7$(3),e.xc7("background-image",e.bMT(31,57,null==(ie=e.bMT(30,55,rt.SwitchThemeService.imageLink$))?null:ie.IMG_TOOLBAR_ICON_ACTIVE_DEPOSIT)),e.R7$(4),e.JRh(st("ui.global.word.deposit")),e.R7$(),e.Y8G("category",rt.HomePage.FooterBar.value)("title","my-account"),e.R7$(2),e.xc7("background-image",e.bMT(38,61,null==(Ae=e.bMT(37,59,rt.SwitchThemeService.imageLink$))?null:Ae.IMG_TOOLBAR_ICON_MINE)),e.R7$(3),e.xc7("background-image",e.bMT(41,65,null==(Ue=e.bMT(40,63,rt.SwitchThemeService.imageLink$))?null:Ue.IMG_TOOLBAR_ICON_ACTIVE_MINE)),e.R7$(4),e.JRh(st("ui.player_toolbar.my_account"))}}let kg=(()=>{class a{constructor(s){this.siteSetting=s,this.images=new Wa.h,this.SwitchThemeService=(0,e.WQX)(Us.Fu),this.HomePage=(0,xi.O)(Bg.Z),this.routingPathType=Se.J,this.router=(0,e.WQX)(V.Ix),this.location=(0,e.WQX)(c.aZ),this.csLiveChatLink=this.siteSetting.get("siteSettingModel").csLiveChatLink,this.activateMemberMenuInner=new e.bkB,this.isHome$=(0,Qs.h)((0,C.of)(this.location.path(!1)===Se.J.MAIN.link),this.router.events.pipe((0,oi.p)(l=>l instanceof V.wF),(0,va.c)(100),(0,Sn.T)(()=>this.location.path(!1)===Se.J.MAIN.link))).pipe((0,ts.t)(1),(0,ns.pQ)())}openMemberMenuInner(){this.activateMemberMenuInner.emit(!0)}goHome(){this.router.navigateByUrl(Se.J.MAIN.link)}static#e=this.\u0275fac=function(l){return new(l||a)(e.rXU(Qn.p))};static#t=this.\u0275cmp=e.VBU({type:a,selectors:[["app-player-toolbar-inner"]],outputs:{activateMemberMenuInner:"activateMemberMenuInner"},decls:1,vars:0,consts:[[4,"transloco"],["id","toolbar",1,"toolbar"],["routerLinkActive","active",1,"home",3,"routerLinkActiveOptions"],["drcNeuAClick","",3,"click","category","title"],[1,"item-icon"],[1,"item-icon-active"],["routerLinkActive","active",1,"promotion",3,"routerLink"],["drcNeuAClick","",3,"category","title"],["routerLinkActive","active",1,"deposit",3,"routerLink"],["drcNeuAClick","",1,"mine",3,"click","category","title"]],template:function(l,p){1&l&&e.DNE(0,gl,44,72,"ng-container",0)},dependencies:[A.bA,V.Wk,V.wQ,me.d,_0.g,c.Jj,Xs.H],changeDetection:0})}return a})();const uc=a=>[a];function ch(a,g){if(1&a){const s=e.RV6();e.j41(0,"div",6),e.bIt("click",function(){e.eBV(s);const p=e.XpG(2);return e.Njj(p.openLanguageMenu())}),e.nrm(1,"img",7),e.j41(2,"p"),e.EFF(3),e.nI1(4,"async"),e.nrm(5,"br"),e.EFF(6),e.nI1(7,"async"),e.nI1(8,"lowercase"),e.k0s()()}if(2&a){let s,l;const p=e.XpG().$implicit,I=e.XpG();e.Y8G("ngClass",e.eq3(10,uc,"order-"+(null==I.buttonOrdering?null:I.buttonOrdering.language))),e.R7$(),e.Y8G("drcCdnSrc",I.languageImagesPath),e.R7$(2),e.SpI(" ",p("ui.global.currency."+(null==(s=e.bMT(4,4,I.currencyType$))?null:s.name))," "),e.R7$(3),e.SpI(" ",p("ui.global.word.language."+e.bMT(8,8,null==(l=e.bMT(7,6,I.languageType$))?null:l.name))," ")}}function ta(a,g){if(1&a&&(e.j41(0,"a",8),e.EFF(1),e.k0s()),2&a){const s=e.XpG().$implicit,l=e.XpG();e.Y8G("routerLink",e.eq3(2,uc,l.routingPathType.REGISTERNEW_THIRDPARTY.link)),e.R7$(),e.SpI(" ",s("ui.global.word.sign_up")," ")}}function v0(a,g){if(1&a&&(e.j41(0,"a",8),e.EFF(1),e.k0s()),2&a){const s=e.XpG().$implicit,l=e.XpG();e.Y8G("routerLink",e.eq3(2,uc,l.routingPathType.REGISTER.link)),e.R7$(),e.SpI(" ",s("ui.global.word.sign_up")," ")}}function vu(a,g){if(1&a&&(e.j41(0,"a",8),e.EFF(1),e.k0s()),2&a){const s=e.XpG().$implicit,l=e.XpG();e.Y8G("routerLink",e.eq3(2,uc,l.routingPathType.LOGINNEW_QUICK_ACCOUNT.link)),e.R7$(),e.SpI(" ",s("ui.global.word.login")," ")}}function pl(a,g){if(1&a&&(e.j41(0,"a",8),e.EFF(1),e.k0s()),2&a){const s=e.XpG().$implicit,l=e.XpG();e.Y8G("routerLink",e.eq3(2,uc,l.routingPathType.LOGIN.link)),e.R7$(),e.SpI(" ",s("ui.global.word.login")," ")}}function E0(a,g){if(1&a&&(e.qex(0),e.j41(1,"div",1),e.DNE(2,ch,9,12,"div",2),e.j41(3,"div",3),e.DNE(4,ta,2,4,"a",4)(5,v0,2,4,"a",4),e.k0s(),e.j41(6,"div",5),e.DNE(7,vu,2,4,"a",4)(8,pl,2,4,"a",4),e.k0s()(),e.bVm()),2&a){const s=e.XpG();e.R7$(2),e.Y8G("ngIf",s.isShowLanguageSelector),e.R7$(),e.Y8G("ngClass",e.eq3(7,uc,"order-"+(null==s.buttonOrdering?null:s.buttonOrdering.register))),e.R7$(),e.Y8G("ngIf",s.isEnableMultipleRegisterAndLoginFeatures),e.R7$(),e.Y8G("ngIf",!s.isEnableMultipleRegisterAndLoginFeatures),e.R7$(),e.Y8G("ngClass",e.eq3(9,uc,"order-"+(null==s.buttonOrdering?null:s.buttonOrdering.login))),e.R7$(),e.Y8G("ngIf",s.isEnableMultipleRegisterAndLoginFeatures),e.R7$(),e.Y8G("ngIf",!s.isEnableMultipleRegisterAndLoginFeatures)}}let Ug=(()=>{class a{constructor(s,l){this.currencySettingState=s,this.siteSetting=l,this.routingPathType=Se.J,this.isUseUsdt=(0,e.WQX)(In.Sh,{optional:!0}),this.isShowLanguageSelector=!0,this.languageType$=this.currencySettingState.select("currentLanguageType"),this.currencyType$=this.currencySettingState.select("currentCurrencyType"),this.languageImagesPath="",this.isEnableMultipleRegisterAndLoginFeatures=!1,this.activateLanguage=new e.bkB,this.isEnableMultipleRegisterAndLoginFeatures=this.siteSetting.get("siteSettingModel").isEnableMultipleRegisterAndLoginFeatures}ngOnInit(){this.initCurrencyAndLanguage()}openLanguageMenu(){this.activateLanguage.emit(!0)}checkHasMultipleLanguage(s){return s.length>1||s[0].mapping.filter(l=>l.currencySettingTypeId===es.X.LANGUAGE.unique)[0].mappingData.length>1}initCurrencyAndLanguage(){this.currencySettingState.select("currencyMappingSettingModel").pipe((0,Sn.T)(s=>{s&&(this.isShowLanguageSelector=this.checkHasMultipleLanguage(s),s.forEach(l=>{const p=this.currencySettingState.get("currentCurrencyType").unique;l.currencyTypeId===p&&l.mapping.forEach(I=>{if(I.currencySettingTypeId===es.X.COUNTRY.unique&&!this.languageImagesPath){if(this.isUseUsdt&&this.isUseUsdt(this.currencySettingState.get("currentCurrencyType")))return void(this.languageImagesPath="/assets/images/flag/US.png");this.languageImagesPath=`/assets/images/flag/${ds.B.getInstanceOf(Number(I.mappingData[0]))?.name}.png`}})}))})).subscribe()}static#e=this.\u0275fac=function(l){return new(l||a)(e.rXU(Qn.p),e.rXU(Qn.p))};static#t=this.\u0275cmp=e.VBU({type:a,selectors:[["app-guest-toolbar"]],inputs:{buttonOrdering:"buttonOrdering"},outputs:{activateLanguage:"activateLanguage"},decls:1,vars:0,consts:[[4,"transloco"],[1,"beforelogin","havelanguage"],["class","language-select",3,"ngClass","click",4,"ngIf"],[1,"register-button",3,"ngClass"],[3,"routerLink",4,"ngIf"],[1,"login-button",3,"ngClass"],[1,"language-select",3,"click","ngClass"],[3,"drcCdnSrc"],[3,"routerLink"]],template:function(l,p){1&l&&e.DNE(0,E0,9,11,"ng-container",0)},dependencies:[c.YU,c.bT,A.bA,V.Wk,Gs.f,ms.h,c.Jj,c.GH],styles:[".order-1[_ngcontent-%COMP%]{order:1}.order-2[_ngcontent-%COMP%]{order:2}.order-3[_ngcontent-%COMP%]{order:3}"],changeDetection:0})}return a})();class Gg extends xi.b{constructor(g){super("MY_VIP",g)}}class Eu extends xi.b{constructor(g){super("INFORMATION",g)}}class Iu extends xi.b{constructor(g){super("FUNDS",g)}}class lh extends xi.b{constructor(g){super("HISTORY",g)}}class I0 extends xi.b{constructor(g){super("PROFILE",g)}}class C0 extends xi.b{constructor(g){super("VERIFICATION",g)}}class D0 extends xi.b{constructor(g){super("CONTACT_US",g)}}class uh extends xi.b{constructor(g){super("MEMBER_MENU",g),this.MyVip=new Gg(this),this.Information=new Eu(this),this.Funds=new Iu(this),this.History=new lh(this),this.Profile=new I0(this),this.Verification=new C0(this),this.ContactUs=new D0(this)}}var S0=o(46754),Pr=o(70274),Va=o(22806),eo=o(35060),Gi=o(96697),Js=o(18020),$a=o(75078),Cu=o(94206);new e.nKC("LINK_CONTACT_CUSTOMER_SERVICE");const Wg=new e.nKC("MEMBER_MENU_CONFIG");var Du=o(15314),O0=o(28505),Vg=o(79981);const bc=a=>[a],Au=a=>({"-webkit-mask-image":a}),y0=a=>({"background-image":a}),Su=a=>({dateFormatType:a}),T0=(a,g)=>({opacity:a,"z-index":g}),Ha=a=>({active:a}),_l=()=>[2,3,5,9];function $g(a,g){if(1&a&&(e.qex(0),e.EFF(1),e.nI1(2,"slice"),e.nI1(3,"uppercase"),e.bVm()),2&a){const s=e.XpG(4).ngIf;e.R7$(),e.JRh(e.bMT(3,5,e.brH(2,1,(null==s?null:s.userId)||"",0,1)))}}function Hg(a,g){if(1&a&&(e.j41(0,"div",22),e.nI1(1,"async"),e.nI1(2,"imageUrl"),e.DNE(3,$g,4,7,"ng-container",4),e.k0s()),2&a){let s;const l=g.ngIf,p=e.XpG(3).ngIf,I=e.XpG(2);e.xc7("background-image",I.isVipOpen?e.bMT(2,6,null==(s=e.bMT(1,4,I.SwitchThemeService.imageLink$))?null:s[l]):""),e.Y8G("ngClass",I.isVipOpen?"pic-lv"+(null==p.vipInfo?null:p.vipInfo.nowVipLV):""),e.R7$(3),e.Y8G("ngIf",!I.isVipOpen)}}function Ru(a,g){if(1&a){const s=e.RV6();e.j41(0,"span",12),e.bIt("click",function(){e.eBV(s);const p=e.XpG(5);return e.Njj(p.showDateTimeDetail())}),e.EFF(1),e.k0s()}if(2&a){const s=e.XpG(3).ngIf;e.R7$(),e.JRh(s.userName)}}function jg(a,g){if(1&a){const s=e.RV6();e.j41(0,"span",12),e.bIt("click",function(){e.eBV(s);const p=e.XpG(5);return e.Njj(p.showDateTimeDetail())}),e.EFF(1),e.k0s()}if(2&a){const s=e.XpG(3).ngIf;e.R7$(),e.JRh(s.userId)}}function Kg(a,g){if(1&a){const s=e.RV6();e.j41(0,"div",23),e.EFF(1),e.j41(2,"span"),e.EFF(3),e.k0s(),e.j41(4,"a",24),e.bIt("click",function(){e.eBV(s);const p=e.XpG(5);return e.Njj(p.close())}),e.EFF(5),e.nrm(6,"span",25),e.nI1(7,"imageUrl"),e.k0s()()}if(2&a){const s=e.XpG(3).ngIf,l=e.XpG().$implicit,p=e.XpG();e.R7$(),e.SpI(" ",l("ui.global.text.vip_points"),""),e.R7$(2),e.JRh(null==s.vipInfo?null:s.vipInfo.points),e.R7$(),e.Y8G("routerLink",e.eq3(9,bc,p.routingPathType.VIP_POINTS_EXCHANGE.link))("category",p.MemberMenu.MyVip.value)("title","my-vip"),e.R7$(),e.SpI("",l("ui.global.text.my_vip")," "),e.R7$(),e.Y8G("ngStyle",e.eq3(11,Au,e.bMT(7,7,"/assets/images/icon-set/player/vip/icon-arrow.svg")))}}function Xg(a,g){1&a&&(e.nrm(0,"a",29),e.nI1(1,"imageUrl")),2&a&&e.Y8G("ngStyle",e.eq3(3,y0,e.bMT(1,1,"/assets/images/icon-set/icon-tips-type01.svg")))}function Yg(a,g){if(1&a){const s=e.RV6();e.j41(0,"div",26),e.bIt("click",function(){e.eBV(s);const p=e.XpG(5);return e.Njj(p.showDateTimeDetail())}),e.EFF(1),e.j41(2,"span",27),e.EFF(3),e.k0s(),e.DNE(4,Xg,2,5,"a",28),e.k0s()}if(2&a){const s=e.XpG(3).ngIf,l=e.XpG().$implicit,p=e.XpG();e.Y8G("category",p.MemberMenu.Information.value)("title","my-id"),e.R7$(),e.SpI(" ",l("ui.member_menu.word.id")," "),e.R7$(2),e.JRh(s.userId),e.R7$(),e.Y8G("ngIf",!0===p.showDetailFlag)}}function M0(a,g){if(1&a&&(e.qex(0),e.j41(1,"div",14),e.nI1(2,"async"),e.nI1(3,"imageUrl"),e.j41(4,"div",15),e.DNE(5,Hg,4,8,"div",16),e.nI1(6,"async"),e.j41(7,"div",17)(8,"div",18),e.qex(9),e.DNE(10,Ru,2,1,"span",19)(11,jg,2,1,"span",19),e.bVm(),e.k0s(),e.DNE(12,Kg,8,13,"div",20)(13,Yg,5,5,"div",21),e.k0s()()(),e.bVm()),2&a){let s;const l=e.XpG(2).ngIf,p=e.XpG(2);e.R7$(),e.xc7("background-image",e.bMT(3,9,null==(s=e.bMT(2,7,p.SwitchThemeService.imageLink$))?null:s.MEMBER_CENTER_BG)),e.R7$(4),e.Y8G("ngIf",e.bMT(6,11,p.validVipImage$)),e.R7$(5),e.Y8G("ngIf",l.userName),e.R7$(),e.Y8G("ngIf",!l.userName&&(null==p.config?null:p.config.userNameFoolProof)),e.R7$(),e.Y8G("ngIf",p.isVipOpen),e.R7$(),e.Y8G("ngIf",p.isShowUserId)}}function N0(a,g){if(1&a&&(e.qex(0),e.EFF(1),e.nI1(2,"slice"),e.nI1(3,"uppercase"),e.bVm()),2&a){const s=e.XpG(4).ngIf;e.R7$(),e.JRh(e.bMT(3,5,e.brH(2,1,(null==s?null:s.userId)||"",0,1)))}}function w0(a,g){if(1&a&&(e.j41(0,"div",22),e.nI1(1,"async"),e.nI1(2,"imageUrl"),e.DNE(3,N0,4,7,"ng-container",4),e.k0s()),2&a){let s;const l=g.ngIf,p=e.XpG(3).ngIf,I=e.XpG(2);e.xc7("background-image",I.isVipOpen?e.bMT(2,6,null==(s=e.bMT(1,4,I.SwitchThemeService.imageLink$))?null:s[l]):""),e.Y8G("ngClass",I.isVipOpen?"pic-lv"+(null==p.vipInfo?null:p.vipInfo.nowVipLV):""),e.R7$(3),e.Y8G("ngIf",!I.isVipOpen)}}function b0(a,g){if(1&a){const s=e.RV6();e.j41(0,"span",12),e.bIt("click",function(){e.eBV(s);const p=e.XpG(5);return e.Njj(p.showDateTimeDetail())}),e.EFF(1),e.k0s()}if(2&a){const s=e.XpG(3).ngIf;e.R7$(),e.JRh(s.userName)}}function zg(a,g){if(1&a){const s=e.RV6();e.j41(0,"span",12),e.bIt("click",function(){e.eBV(s);const p=e.XpG(5);return e.Njj(p.showDateTimeDetail())}),e.EFF(1),e.k0s()}if(2&a){const s=e.XpG(3).ngIf;e.R7$(),e.JRh(s.userId)}}function DC(a,g){if(1&a){const s=e.RV6();e.j41(0,"div",26),e.bIt("click",function(){e.eBV(s);const p=e.XpG(5);return e.Njj(p.showDateTimeDetail())}),e.EFF(1),e.j41(2,"span",27),e.EFF(3),e.k0s()()}if(2&a){const s=e.XpG(3).ngIf,l=e.XpG().$implicit,p=e.XpG();e.Y8G("category",p.MemberMenu.Information.value)("title","my-id"),e.R7$(),e.SpI(" ",l("ui.member_menu.word.id")," "),e.R7$(2),e.JRh(s.userId)}}function Qg(a,g){if(1&a&&(e.j41(0,"div",23),e.EFF(1),e.j41(2,"a",39),e.EFF(3),e.k0s()()),2&a){const s=e.XpG(4).$implicit,l=e.XpG();e.R7$(),e.SpI(" ",s("ui.global.text.vip_points"),""),e.R7$(),e.Y8G("routerLink",e.eq3(4,bc,l.routingPathType.VIP_POINTS_EXCHANGE.link))("title","my-vip"),e.R7$(),e.SpI("",s("ui.global.text.my_vip")," ")}}function x0(a,g){if(1&a&&(e.j41(0,"div",30),e.nI1(1,"async"),e.nI1(2,"imageUrl"),e.j41(3,"div",15)(4,"div",31),e.DNE(5,w0,4,8,"div",16),e.nI1(6,"async"),e.j41(7,"div",17)(8,"div",18),e.qex(9),e.DNE(10,b0,2,1,"span",19)(11,zg,2,1,"span",19),e.bVm(),e.k0s(),e.DNE(12,DC,4,4,"div",21)(13,Qg,4,6,"div",20),e.k0s()(),e.j41(14,"div",32)(15,"div",33)(16,"div",34)(17,"div",35)(18,"div",13),e.EFF(19),e.k0s(),e.j41(20,"p")(21,"span",36),e.EFF(22),e.nI1(23,"dateUtil"),e.nI1(24,"uppercase"),e.k0s()()(),e.j41(25,"div",37)(26,"div",13),e.EFF(27),e.k0s(),e.j41(28,"p")(29,"span",38),e.EFF(30),e.nI1(31,"dateUtil"),e.nI1(32,"uppercase"),e.k0s()()()()()()()()),2&a){let s;const l=e.XpG(2).ngIf,p=e.XpG().$implicit,I=e.XpG();e.xc7("background-image",e.bMT(2,13,null==(s=e.bMT(1,11,I.SwitchThemeService.imageLink$))?null:s.MEMBER_CENTER_BG)),e.R7$(5),e.Y8G("ngIf",e.bMT(6,15,I.validVipImage$)),e.R7$(5),e.Y8G("ngIf",l.userName),e.R7$(),e.Y8G("ngIf",!l.userName&&(null==I.config?null:I.config.userNameFoolProof)),e.R7$(),e.Y8G("ngIf",I.isShowUserId),e.R7$(),e.Y8G("ngIf",I.isVipOpen),e.R7$(6),e.SpI("",p("ui.member_menu.text.registration_time"),":"),e.R7$(3),e.JRh(e.eq3(29,bc,e.bMT(24,20,e.i5U(23,17,I.signUpTimestamp,e.eq3(27,Su,I.dateFormatTypeEnum.DATE_PATTERN_FOR_CALENDAR13))))),e.R7$(5),e.SpI("",p("ui.profile.text.last_login_time"),":"),e.R7$(3),e.JRh(e.eq3(33,bc,e.bMT(32,25,e.i5U(31,22,I.lastLoginTimestamp,e.eq3(31,Su,I.dateFormatTypeEnum.DATE_PATTERN_FOR_CALENDAR13)))))}}function P0(a,g){if(1&a&&(e.j41(0,"div",40)(1,"div",34)(2,"div",35)(3,"div",13),e.EFF(4),e.k0s(),e.j41(5,"p")(6,"span",36),e.EFF(7),e.nI1(8,"dateUtil"),e.nI1(9,"uppercase"),e.k0s()()(),e.j41(10,"div",37)(11,"div",13),e.EFF(12),e.k0s(),e.j41(13,"p")(14,"span",38),e.EFF(15),e.nI1(16,"dateUtil"),e.nI1(17,"uppercase"),e.k0s()()()()()),2&a){const s=e.XpG(3).$implicit,l=e.XpG();e.Y8G("ngStyle",e.l_i(15,T0,!0===l.isShowTimeDetail?1:0,!0===l.isShowTimeDetail?1:-999)),e.R7$(4),e.SpI("",s("ui.member_menu.text.registration_time"),":"),e.R7$(3),e.JRh(e.eq3(20,bc,e.bMT(9,8,e.i5U(8,5,l.signUpTimestamp,e.eq3(18,Su,l.dateFormatTypeEnum.DATE_PATTERN_FOR_CALENDAR13))))),e.R7$(5),e.SpI("",s("ui.profile.text.last_login_time"),":"),e.R7$(3),e.JRh(e.eq3(24,bc,e.bMT(17,13,e.i5U(16,10,l.lastLoginTimestamp,e.eq3(22,Su,l.dateFormatTypeEnum.DATE_PATTERN_FOR_CALENDAR13)))))}}function AC(a,g){if(1&a){const s=e.RV6();e.qex(0),e.j41(1,"div",41)(2,"div",42)(3,"div",13),e.EFF(4),e.j41(5,"div",43),e.nI1(6,"async"),e.nI1(7,"imageUrl"),e.bIt("click",function(){e.eBV(s);const p=e.XpG(4);return e.Njj(p.balanceReload())}),e.k0s(),e.j41(8,"div",44),e.nI1(9,"async"),e.nI1(10,"imageUrl"),e.nI1(11,"async"),e.nI1(12,"imageUrl"),e.bIt("click",function(){e.eBV(s);const p=e.XpG(4);return e.Njj(p.toggleBalance())}),e.k0s()(),e.j41(13,"span",45),e.nrm(14,"i",46),e.nI1(15,"async"),e.k0s()(),e.j41(16,"div",47)(17,"div",13),e.EFF(18),e.j41(19,"div",43),e.nI1(20,"async"),e.nI1(21,"imageUrl"),e.bIt("click",function(){e.eBV(s);const p=e.XpG(4);return e.Njj(p.balanceReload())}),e.k0s(),e.j41(22,"div",48),e.nI1(23,"async"),e.nI1(24,"imageUrl"),e.bIt("click",function(){e.eBV(s);const p=e.XpG(4);return e.Njj(p.goToBonusWallet())}),e.k0s()(),e.j41(25,"span",45),e.nrm(26,"i",46),e.k0s()()(),e.bVm()}if(2&a){let s,l,p,I;const X=e.XpG(2).ngIf,ie=e.XpG().$implicit,Ae=e.XpG();e.R7$(),e.Y8G("ngClass",e.eq3(40,Ha,Ae.isShowBalance)),e.R7$(),e.Y8G("ngClass",e.eq3(42,Ha,Ae.isShowBalance)),e.R7$(2),e.SpI(" ",ie("ui.global.text.main_account_balance")," "),e.R7$(),e.xc7("-webkit-mask-image",e.bMT(7,20,null==(s=e.bMT(6,18,Ae.SwitchThemeService.imageLink$))?null:s.IMG_MEMBER_ICON_REFRESH)),e.Y8G("ngClass",e.eq3(44,Ha,Ae.isReload)),e.R7$(3),e.Y8G("ngClass",e.eq3(46,Ha,Ae.isShowBalance))("ngStyle",e.eq3(48,Au,Ae.isShowBalance?e.bMT(10,24,null==(l=e.bMT(9,22,Ae.SwitchThemeService.imageLink$))?null:l.IMG_MEMBER_ICON_EYES_3_CLOSE):e.bMT(12,28,null==(l=e.bMT(11,26,Ae.SwitchThemeService.imageLink$))?null:l.IMG_MEMBER_ICON_EYES_3_OPEN))),e.R7$(6),e.Y8G("localeCurrency",e.bMT(15,30,Ae.mainWallet$))("currencyDisplay","symbol"),e.R7$(4),e.SpI(" ",ie("ui.global.text.bonus_wallet")," "),e.R7$(),e.xc7("-webkit-mask-image",e.bMT(21,34,null==(p=e.bMT(20,32,Ae.SwitchThemeService.imageLink$))?null:p.IMG_MEMBER_ICON_REFRESH)),e.Y8G("ngClass",e.eq3(50,Ha,Ae.isReload)),e.R7$(3),e.xc7("-webkit-mask-image",e.bMT(24,38,null==(I=e.bMT(23,36,Ae.SwitchThemeService.imageLink$))?null:I.IMG_MEMBER_ICON_BONUSWALLET)),e.R7$(4),e.Y8G("localeCurrency",X.bonusWalletBalance)("currencyDisplay","symbol")}}function L0(a,g){if(1&a){const s=e.RV6();e.qex(0),e.j41(1,"div",41)(2,"div",49)(3,"div",13),e.EFF(4),e.j41(5,"div",43),e.nI1(6,"async"),e.nI1(7,"imageUrl"),e.bIt("click",function(){e.eBV(s);const p=e.XpG(4);return e.Njj(p.balanceReload())}),e.k0s(),e.j41(8,"div",44),e.nI1(9,"async"),e.nI1(10,"imageUrl"),e.nI1(11,"async"),e.nI1(12,"imageUrl"),e.bIt("click",function(){e.eBV(s);const p=e.XpG(4);return e.Njj(p.toggleBalance())}),e.k0s()(),e.j41(13,"span",50),e.nrm(14,"i",46),e.k0s(),e.j41(15,"span",51),e.EFF(16,"-"),e.k0s()()(),e.bVm()}if(2&a){let s,l;const p=e.XpG(2).ngIf,I=e.XpG().$implicit,X=e.XpG();e.R7$(),e.Y8G("ngClass",e.eq3(21,Ha,X.isShowBalance)),e.R7$(3),e.SpI(" ",I("ui.global.text.main_account_balance")," "),e.R7$(),e.xc7("-webkit-mask-image",e.bMT(7,11,null==(s=e.bMT(6,9,X.SwitchThemeService.imageLink$))?null:s.IMG_MEMBER_ICON_REFRESH)),e.Y8G("ngClass",e.eq3(23,Ha,X.isReload)),e.R7$(3),e.Y8G("ngClass",e.eq3(25,Ha,X.isShowBalance))("ngStyle",e.eq3(27,Au,X.isShowBalance?e.bMT(10,15,null==(l=e.bMT(9,13,X.SwitchThemeService.imageLink$))?null:l.IMG_MEMBER_ICON_EYES_3_CLOSE):e.bMT(12,19,null==(l=e.bMT(11,17,X.SwitchThemeService.imageLink$))?null:l.IMG_MEMBER_ICON_EYES_3_OPEN))),e.R7$(6),e.Y8G("localeCurrency",p.mainWallet)("currencyDisplay","symbol")}}function Jg(a,g){if(1&a&&(e.nrm(0,"span",59),e.nI1(1,"async"),e.nI1(2,"imageUrl")),2&a){let s;const l=e.XpG(6);e.xc7("background-image",e.bMT(2,4,null==(s=e.bMT(1,2,l.SwitchThemeService.imageLink$))?null:s.MEMBER_CENTER_ICON_DEPOSIT))}}function dh(a,g){if(1&a&&(e.nrm(0,"span",59),e.nI1(1,"async"),e.nI1(2,"imageUrl")),2&a){let s;const l=e.XpG(6);e.xc7("background-image",e.bMT(2,4,null==(s=e.bMT(1,2,l.SwitchThemeService.imageLink$))?null:s.MEMBER_CENTER_ICON_WITHDRAWAL))}}function F0(a,g){if(1&a&&(e.nrm(0,"span",59),e.nI1(1,"async"),e.nI1(2,"imageUrl")),2&a){let s;const l=e.XpG(6);e.xc7("background-image",e.bMT(2,4,null==(s=e.bMT(1,2,l.SwitchThemeService.imageLink$))?null:s.MEMBER_CENTER_ICON_TRANSFER))}}function ja(a,g){if(1&a&&(e.nrm(0,"span",59),e.nI1(1,"async"),e.nI1(2,"imageUrl")),2&a){let s;const l=e.XpG(6);e.xc7("background-image",e.bMT(2,4,null==(s=e.bMT(1,2,l.SwitchThemeService.imageLink$))?null:s.MEMBER_CENTER_ICON_BET_RECORDS))}}function Zg(a,g){if(1&a&&(e.nrm(0,"span",59),e.nI1(1,"async"),e.nI1(2,"imageUrl")),2&a){let s;const l=e.XpG(6);e.xc7("background-image",e.bMT(2,4,null==(s=e.bMT(1,2,l.SwitchThemeService.imageLink$))?null:s.MEMBER_CENTER_ICON_TURNOVER))}}function B0(a,g){if(1&a&&(e.nrm(0,"span",59),e.nI1(1,"async"),e.nI1(2,"imageUrl")),2&a){let s;const l=e.XpG(6);e.xc7("background-image",e.bMT(2,4,null==(s=e.bMT(1,2,l.SwitchThemeService.imageLink$))?null:s.MEMBER_CENTER_ICON_BONUSES))}}function qg(a,g){if(1&a&&(e.nrm(0,"span",59),e.nI1(1,"async"),e.nI1(2,"imageUrl")),2&a){let s;const l=e.XpG(6);e.xc7("background-image",e.bMT(2,4,null==(s=e.bMT(1,2,l.SwitchThemeService.imageLink$))?null:s.MEMBER_CENTER_ICON_RECORDS))}}function hh(a,g){if(1&a&&(e.nrm(0,"span",59),e.nI1(1,"async"),e.nI1(2,"imageUrl")),2&a){let s;const l=e.XpG(6);e.xc7("background-image",e.bMT(2,4,null==(s=e.bMT(1,2,l.SwitchThemeService.imageLink$))?null:s.MEMBER_CENTER_ICON_PROFILE))}}function SC(a,g){if(1&a&&(e.nrm(0,"span",59),e.nI1(1,"async"),e.nI1(2,"imageUrl")),2&a){let s;const l=e.XpG(6);e.xc7("background-image",e.bMT(2,4,null==(s=e.bMT(1,2,l.SwitchThemeService.imageLink$))?null:s.MEMBER_CENTER_ICON_INBOX))}}function k0(a,g){if(1&a&&(e.nrm(0,"span",59),e.nI1(1,"async"),e.nI1(2,"imageUrl")),2&a){let s;const l=e.XpG(6);e.xc7("background-image",e.bMT(2,4,null==(s=e.bMT(1,2,l.SwitchThemeService.imageLink$))?null:s.MEMBER_CENTER_ICON_REFERRAL))}}function U0(a,g){if(1&a&&(e.nrm(0,"span",59),e.nI1(1,"async"),e.nI1(2,"imageUrl")),2&a){let s;const l=e.XpG(6);e.xc7("background-image",e.bMT(2,4,null==(s=e.bMT(1,2,l.SwitchThemeService.imageLink$))?null:s.MEMBER_CENTER_ICON_REFERRAL_INVITE_FRIEND))}}function G0(a,g){if(1&a&&(e.nrm(0,"span",59),e.nI1(1,"async"),e.nI1(2,"imageUrl")),2&a){let s;const l=e.XpG(6);e.xc7("background-image",e.bMT(2,4,null==(s=e.bMT(1,2,l.SwitchThemeService.imageLink$))?null:s.MEMBER_CENTER_ICON_REFERRAL_ACHIEVEMENT_BONUS))}}function W0(a,g){if(1&a&&(e.nrm(0,"span",59),e.nI1(1,"async"),e.nI1(2,"imageUrl")),2&a){let s;const l=e.XpG(6);e.xc7("background-image",e.bMT(2,4,null==(s=e.bMT(1,2,l.SwitchThemeService.imageLink$))?null:s.MEMBER_CENTER_ICON_REFERRAL_REBATE_BONUS))}}function V0(a,g){if(1&a&&(e.nrm(0,"span",59),e.nI1(1,"async"),e.nI1(2,"imageUrl")),2&a){let s;const l=e.XpG(6);e.xc7("background-image",e.bMT(2,4,null==(s=e.bMT(1,2,l.SwitchThemeService.imageLink$))?null:s.MEMBER_CENTER_ICON_REFERRAL_DETAILS))}}function $0(a,g){if(1&a&&(e.nrm(0,"span",59),e.nI1(1,"async"),e.nI1(2,"imageUrl")),2&a){let s;const l=e.XpG(6);e.xc7("background-image",e.bMT(2,4,null==(s=e.bMT(1,2,l.SwitchThemeService.imageLink$))?null:s.MEMBER_CENTER_ICON_KYC))}}function ml(a,g){if(1&a&&(e.nrm(0,"span",59),e.nI1(1,"async"),e.nI1(2,"imageUrl")),2&a){let s;const l=e.XpG(6);e.xc7("background-image",e.bMT(2,4,null==(s=e.bMT(1,2,l.SwitchThemeService.imageLink$))?null:s.MEMBER_CENTER_ICON_SETTING))}}function H0(a,g){if(1&a&&(e.nrm(0,"span",59),e.nI1(1,"async"),e.nI1(2,"imageUrl")),2&a){let s;const l=e.XpG(6);e.xc7("background-image",e.bMT(2,4,null==(s=e.bMT(1,2,l.SwitchThemeService.imageLink$))?null:s.MEMBER_CENTER_ICON_RESETPASSWORDS))}}function fh(a,g){if(1&a&&(e.nrm(0,"span",59),e.nI1(1,"async"),e.nI1(2,"imageUrl")),2&a){let s;const l=e.XpG(6);e.xc7("background-image",e.bMT(2,4,null==(s=e.bMT(1,2,l.SwitchThemeService.imageLink$))?null:s.MEMBER_CENTER_ICON_BIOMETRIC))}}function gh(a,g){if(1&a&&(e.nrm(0,"span",59),e.nI1(1,"async"),e.nI1(2,"imageUrl")),2&a){let s;const l=e.XpG(6);e.xc7("background-image",e.bMT(2,4,null==(s=e.bMT(1,2,l.SwitchThemeService.imageLink$))?null:s.MEMBER_CENTER_ICON_GIFT))}}function xc(a,g){if(1&a&&(e.nrm(0,"span",59),e.nI1(1,"async"),e.nI1(2,"imageUrl")),2&a){let s;const l=e.XpG(6);e.xc7("background-image",e.bMT(2,4,null==(s=e.bMT(1,2,l.SwitchThemeService.imageLink$))?null:s.MEMBER_CENTER_ICON_VIP))}}function ph(a,g){if(1&a&&(e.nrm(0,"span",59),e.nI1(1,"async"),e.nI1(2,"imageUrl")),2&a){let s;const l=e.XpG(6);e.xc7("background-image",e.bMT(2,4,null==(s=e.bMT(1,2,l.SwitchThemeService.imageLink$))?null:s.CRM_SM_ICON_FACEBOOK))}}function _h(a,g){if(1&a&&(e.nrm(0,"span",59),e.nI1(1,"async"),e.nI1(2,"imageUrl")),2&a){let s;const l=e.XpG(6);e.xc7("background-image",e.bMT(2,4,null==(s=e.bMT(1,2,l.SwitchThemeService.imageLink$))?null:s.CRM_SM_ICON_INSTAGRAM))}}function vl(a,g){if(1&a&&(e.nrm(0,"span",59),e.nI1(1,"async"),e.nI1(2,"imageUrl")),2&a){let s;const l=e.XpG(6);e.xc7("background-image",e.bMT(2,4,null==(s=e.bMT(1,2,l.SwitchThemeService.imageLink$))?null:s.CRM_SM_ICON_TWITTER))}}function Ou(a,g){if(1&a&&(e.nrm(0,"span",59),e.nI1(1,"async"),e.nI1(2,"imageUrl")),2&a){let s;const l=e.XpG(6);e.xc7("background-image",e.bMT(2,4,null==(s=e.bMT(1,2,l.SwitchThemeService.imageLink$))?null:s.CRM_SM_ICON_TELEGRAM))}}function Pc(a,g){if(1&a&&(e.nrm(0,"span",59),e.nI1(1,"async"),e.nI1(2,"imageUrl")),2&a){let s;const l=e.XpG(6);e.xc7("background-image",e.bMT(2,4,null==(s=e.bMT(1,2,l.SwitchThemeService.imageLink$))?null:s.CRM_SM_ICON_LINE))}}function mh(a,g){if(1&a&&(e.nrm(0,"span",59),e.nI1(1,"async"),e.nI1(2,"imageUrl")),2&a){let s;const l=e.XpG(6);e.xc7("background-image",e.bMT(2,4,null==(s=e.bMT(1,2,l.SwitchThemeService.imageLink$))?null:s.CRM_SM_ICON_ZALO))}}function vh(a,g){if(1&a&&(e.nrm(0,"span",59),e.nI1(1,"async"),e.nI1(2,"imageUrl")),2&a){let s;const l=e.XpG(6);e.xc7("background-image",e.bMT(2,4,null==(s=e.bMT(1,2,l.SwitchThemeService.imageLink$))?null:s.CRM_SM_ICON_PINTEREST))}}function yu(a,g){if(1&a&&(e.nrm(0,"span",59),e.nI1(1,"async"),e.nI1(2,"imageUrl")),2&a){let s;const l=e.XpG(6);e.xc7("background-image",e.bMT(2,4,null==(s=e.bMT(1,2,l.SwitchThemeService.imageLink$))?null:s.CRM_SM_ICON_YOUTUBE))}}function RC(a,g){if(1&a&&(e.nrm(0,"span",59),e.nI1(1,"async"),e.nI1(2,"imageUrl")),2&a){let s;const l=e.XpG(6);e.xc7("background-image",e.bMT(2,4,null==(s=e.bMT(1,2,l.SwitchThemeService.imageLink$))?null:s.CRM_SM_ICON_LIKEE))}}function Eh(a,g){if(1&a&&(e.nrm(0,"span",59),e.nI1(1,"async"),e.nI1(2,"imageUrl")),2&a){let s;const l=e.XpG(6);e.xc7("background-image",e.bMT(2,4,null==(s=e.bMT(1,2,l.SwitchThemeService.imageLink$))?null:s.CRM_SM_ICON_FORUM))}}function El(a,g){if(1&a&&(e.nrm(0,"span",59),e.nI1(1,"async"),e.nI1(2,"imageUrl")),2&a){let s;const l=e.XpG(6);e.xc7("background-image",e.bMT(2,4,null==(s=e.bMT(1,2,l.SwitchThemeService.imageLink$))?null:s.CRM_SM_ICON_TIKTOK))}}function j0(a,g){if(1&a&&(e.j41(0,"span",60),e.EFF(1),e.nI1(2,"async"),e.k0s()),2&a){let s;const l=e.XpG(6);e.R7$(),e.JRh(null==(s=e.bMT(2,1,l.unreadMessageCount$))?null:s.unreadMessageCount)}}function ep(a,g){if(1&a){const s=e.RV6();e.qex(0),e.j41(1,"li",54)(2,"a",55),e.bIt("click",function(){const p=e.eBV(s).$implicit,I=e.XpG(5);return e.Njj(I.navigateTo(p.imageLink?p.imageLink:""))}),e.qex(3,56),e.DNE(4,Jg,3,6,"span",57)(5,dh,3,6,"span",57)(6,F0,3,6,"span",57)(7,ja,3,6,"span",57)(8,Zg,3,6,"span",57)(9,B0,3,6,"span",57)(10,qg,3,6,"span",57)(11,hh,3,6,"span",57)(12,SC,3,6,"span",57)(13,k0,3,6,"span",57)(14,U0,3,6,"span",57)(15,G0,3,6,"span",57)(16,W0,3,6,"span",57)(17,V0,3,6,"span",57)(18,$0,3,6,"span",57)(19,ml,3,6,"span",57)(20,H0,3,6,"span",57)(21,fh,3,6,"span",57)(22,gh,3,6,"span",57)(23,xc,3,6,"span",57)(24,ph,3,6,"span",57)(25,_h,3,6,"span",57)(26,vl,3,6,"span",57)(27,Ou,3,6,"span",57)(28,Pc,3,6,"span",57)(29,mh,3,6,"span",57)(30,vh,3,6,"span",57)(31,yu,3,6,"span",57)(32,RC,3,6,"span",57)(33,Eh,3,6,"span",57)(34,El,3,6,"span",57),e.bVm(),e.j41(35,"p"),e.EFF(36),e.k0s(),e.DNE(37,j0,3,3,"span",58),e.nI1(38,"async"),e.k0s()(),e.bVm()}if(2&a){let s;const l=g.$implicit,p=e.XpG().$implicit,I=e.XpG(4);e.R7$(),e.Y8G("ngClass",l.imageClass?l.imageClass:""),e.R7$(),e.Y8G("category",p.neuACategory)("title",l.imageText),e.R7$(),e.Y8G("ngSwitch",l.imageClass),e.R7$(),e.Y8G("ngSwitchCase","deposit"),e.R7$(),e.Y8G("ngSwitchCase","withdrawal"),e.R7$(),e.Y8G("ngSwitchCase","transfer"),e.R7$(),e.Y8G("ngSwitchCase","total"),e.R7$(),e.Y8G("ngSwitchCase","water"),e.R7$(),e.Y8G("ngSwitchCase","wallet"),e.R7$(),e.Y8G("ngSwitchCase","history"),e.R7$(),e.Y8G("ngSwitchCase","account"),e.R7$(),e.Y8G("ngSwitchCase","mail"),e.R7$(),e.Y8G("ngSwitchCase","recommendfriend"),e.R7$(),e.Y8G("ngSwitchCase","invite-friend"),e.R7$(),e.Y8G("ngSwitchCase","achivement-bonus"),e.R7$(),e.Y8G("ngSwitchCase","refer-rebate-bonus"),e.R7$(),e.Y8G("ngSwitchCase","referral-details"),e.R7$(),e.Y8G("ngSwitchCase","kyc"),e.R7$(),e.Y8G("ngSwitchCase","setting"),e.R7$(),e.Y8G("ngSwitchCase","resetpasswords"),e.R7$(),e.Y8G("ngSwitchCase","biometric"),e.R7$(),e.Y8G("ngSwitchCase","gift"),e.R7$(),e.Y8G("ngSwitchCase","vip-page"),e.R7$(),e.Y8G("ngSwitchCase","facebook"),e.R7$(),e.Y8G("ngSwitchCase","instagram"),e.R7$(),e.Y8G("ngSwitchCase","twitter"),e.R7$(),e.Y8G("ngSwitchCase","telegram-channel"),e.R7$(),e.Y8G("ngSwitchCase","line-for-bussiness"),e.R7$(),e.Y8G("ngSwitchCase","zalo"),e.R7$(),e.Y8G("ngSwitchCase","pinterest"),e.R7$(),e.Y8G("ngSwitchCase","youtube"),e.R7$(),e.Y8G("ngSwitchCase","likee"),e.R7$(),e.Y8G("ngSwitchCase","forum"),e.R7$(),e.Y8G("ngSwitchCase","tiktok"),e.R7$(2),e.JRh(l.imageName),e.R7$(),e.Y8G("ngIf","mail"===l.imageClass&&((null==(s=e.bMT(38,37,I.unreadMessageCount$))?null:s.unreadMessageCount)||0)>0)}}function K0(a,g){if(1&a&&(e.qex(0),e.j41(1,"div",52)(2,"div",53)(3,"h2")(4,"span"),e.EFF(5),e.k0s()()(),e.j41(6,"ul",54),e.DNE(7,ep,39,39,"ng-container",10),e.k0s()(),e.bVm()),2&a){const s=g.$implicit;e.R7$(),e.Y8G("ngClass",s.listClass?s.listClass:""),e.R7$(4),e.JRh(s.title),e.R7$(),e.Y8G("ngClass",e.lJ4(4,_l).includes(s.imageData.length)&&"csicons"!==s.listClass?"align-center":""),e.R7$(),e.Y8G("ngForOf",s.imageData)}}function X0(a,g){if(1&a&&(e.nrm(0,"span",59),e.nI1(1,"async"),e.nI1(2,"imageUrl")),2&a){let s;const l=e.XpG(6);e.xc7("background-image",e.bMT(2,4,null==(s=e.bMT(1,2,l.SwitchThemeService.imageLink$))?null:s.MEMBER_CENTER_ICON_DOCUMENTS))}}function Ih(a,g){if(1&a&&(e.nrm(0,"span",59),e.nI1(1,"async"),e.nI1(2,"imageUrl")),2&a){let s;const l=e.XpG(6);e.xc7("background-image",e.bMT(2,4,null==(s=e.bMT(1,2,l.SwitchThemeService.imageLink$))?null:s.MEMBER_CENTER_ICON_BANK))}}function tp(a,g){if(1&a&&(e.nrm(0,"span",59),e.nI1(1,"async"),e.nI1(2,"imageUrl")),2&a){let s;const l=e.XpG(6);e.xc7("background-image",e.bMT(2,4,null==(s=e.bMT(1,2,l.SwitchThemeService.imageLink$))?null:s.MEMBER_CENTER_ICON_CRYPTO))}}function Y0(a,g){if(1&a&&(e.nrm(0,"span",59),e.nI1(1,"async"),e.nI1(2,"imageUrl")),2&a){let s;const l=e.XpG(6);e.xc7("background-image",e.bMT(2,4,null==(s=e.bMT(1,2,l.SwitchThemeService.imageLink$))?null:s.MEMBER_CENTER_ICON_EWALLETS))}}function z0(a,g){if(1&a&&(e.nrm(0,"span",59),e.nI1(1,"async"),e.nI1(2,"imageUrl")),2&a){let s;const l=e.XpG(6);e.xc7("background-image",e.bMT(2,4,null==(s=e.bMT(1,2,l.SwitchThemeService.imageLink$))?null:s.MEMBER_CENTER_ICON_UPI))}}function Il(a,g){if(1&a){const s=e.RV6();e.qex(0),e.j41(1,"li",54)(2,"a",55),e.bIt("click",function(){const p=e.eBV(s).$implicit,I=e.XpG(5);return e.Njj(I.navigateTo(p.imageLink?p.imageLink:""))}),e.qex(3,56),e.DNE(4,X0,3,6,"span",57)(5,Ih,3,6,"span",57)(6,tp,3,6,"span",57)(7,Y0,3,6,"span",57)(8,z0,3,6,"span",57),e.bVm(),e.j41(9,"p"),e.EFF(10),e.k0s()()(),e.bVm()}if(2&a){const s=g.$implicit,l=e.XpG(5);e.R7$(),e.Y8G("ngClass",s.imageClass?s.imageClass:""),e.R7$(),e.Y8G("category",l.MemberMenu.Verification.value)("title",s.imageName),e.R7$(),e.Y8G("ngSwitch",s.imageClass),e.R7$(),e.Y8G("ngSwitchCase","documents"),e.R7$(),e.Y8G("ngSwitchCase","bank"),e.R7$(),e.Y8G("ngSwitchCase","crypto"),e.R7$(),e.Y8G("ngSwitchCase","e-wallets"),e.R7$(),e.Y8G("ngSwitchCase","UPI"),e.R7$(2),e.JRh(s.imageName)}}function np(a,g){if(1&a&&(e.qex(0),e.j41(1,"div",52)(2,"div",53)(3,"h2")(4,"span"),e.EFF(5),e.k0s()()(),e.j41(6,"ul",54),e.DNE(7,Il,11,10,"ng-container",10),e.k0s()(),e.bVm()),2&a){const s=g.$implicit;e.R7$(),e.Y8G("ngClass",s.listClass?s.listClass:""),e.R7$(4),e.JRh(s.title),e.R7$(),e.Y8G("ngClass",e.lJ4(4,_l).includes(s.imageData.length)&&"csicons"!==s.listClass?"align-center":""),e.R7$(),e.Y8G("ngForOf",s.imageData)}}function Ch(a,g){if(1&a&&(e.nrm(0,"span",59),e.nI1(1,"imageUrl")),2&a){const s=e.XpG(),l=e.XpG().$implicit,p=e.XpG(5);e.xc7("background-image",e.bMT(1,2,p.getContactUsIconImagePath(l.iconPath,g,s)))}}function Q0(a,g){if(1&a&&e.DNE(0,Ch,2,4,"span",62),2&a){let s;const l=e.XpG().$implicit,p=e.XpG(5);e.vxM(0,(s=null==(s=p.customerServiceType.getInstanceOf(l.customerServiceTypeId))?null:s.h5Class)?0:-1,s)}}function OC(a,g){if(1&a&&(e.qex(0),e.j41(1,"p"),e.EFF(2),e.nI1(3,"lowercase"),e.k0s(),e.bVm()),2&a){const s=e.XpG().$implicit,l=e.XpG(4).$implicit,p=e.XpG();e.R7$(2),e.JRh(l("ui.global.text.contact_us."+e.bMT(3,1,p.getCustomerServiceClassName(s.customerServiceTypeId))))}}function yC(a,g){if(1&a&&(e.j41(0,"p"),e.EFF(1),e.k0s()),2&a){const s=e.XpG().$implicit;e.R7$(),e.JRh(s.value?s.value:s.displayName)}}function Cl(a,g){if(1&a){const s=e.RV6();e.qex(0),e.j41(1,"li")(2,"a",55),e.bIt("click",function(){const p=e.eBV(s).$implicit,I=e.XpG(5);return e.Njj(I.gotoUrl(p.customerServiceTypeId,p.url))}),e.DNE(3,Q0,1,1),e.nI1(4,"async"),e.DNE(5,OC,4,3,"ng-container",7),e.nI1(6,"async"),e.DNE(7,yC,2,1,"ng-template",null,2,e.C5r),e.k0s()(),e.bVm()}if(2&a){let s,l;const p=g.$implicit,I=e.sdS(8),X=e.XpG(5);e.R7$(),e.HbH(null==(s=X.customerServiceType.getInstanceOf(p.customerServiceTypeId))?null:s.h5Class),e.R7$(),e.Y8G("category",X.MemberMenu.ContactUs.value)("title",p.value?p.value:p.displayName),e.BMQ("name",X.isCSLinkOpenIntercom&&p.customerServiceTypeId===X.customerServiceType.CSLINK.unique?"liveChatBtn":""),e.R7$(),e.vxM(3,(l=e.bMT(4,9,X.SwitchThemeService.imageLink$))?3:-1,l),e.R7$(2),e.Y8G("ngIf",e.bMT(6,11,X.isCustomerServiceUseI18nText$))("ngIfElse",I)}}function J0(a,g){1&a&&(e.qex(0),e.j41(1,"li")(2,"a"),e.nrm(3,"span",59)(4,"p"),e.k0s()(),e.bVm())}function Tu(a,g){if(1&a&&(e.qex(0),e.DNE(1,J0,5,0,"ng-container",10),e.bVm()),2&a){const s=e.XpG().$implicit,l=e.XpG(4);e.R7$(),e.Y8G("ngForOf",l.counter(4-s.length%4))}}function Dh(a,g){if(1&a&&(e.qex(0),e.j41(1,"div",61)(2,"div",53)(3,"h2")(4,"span"),e.EFF(5),e.k0s()()(),e.j41(6,"ul",54),e.DNE(7,Cl,9,13,"ng-container",10)(8,Tu,2,1,"ng-container",4),e.k0s()(),e.bVm()),2&a){const s=g.$implicit,l=e.XpG(3).$implicit,p=e.XpG();e.R7$(5),e.JRh(l("ui.global.text.contact_us")),e.R7$(),e.Y8G("ngClass",e.lJ4(4,_l).includes(s.length)?"align-center":""),e.R7$(),e.Y8G("ngForOf",s),e.R7$(),e.Y8G("ngIf",s.length%4!=0&&!e.lJ4(5,_l).includes(s.length)&&"cx"===p.currentBrand)}}function Z0(a,g){if(1&a&&(e.qex(0),e.nrm(1,"span",59),e.nI1(2,"async"),e.nI1(3,"imageUrl"),e.bVm()),2&a){let s;const l=e.XpG(4);e.R7$(),e.xc7("background-image",e.bMT(3,4,null==(s=e.bMT(2,2,l.SwitchThemeService.imageLink$))?null:s.IMG_HEADER_LOGOUT_ICON))}}function ip(a,g){if(1&a&&(e.nrm(0,"span",59),e.nI1(1,"async"),e.nI1(2,"imageUrl")),2&a){let s;const l=e.XpG(4);e.xc7("-webkit-mask-image",e.bMT(2,4,null==(s=e.bMT(1,2,l.SwitchThemeService.imageLink$))?null:s.IMG_HEADER_LOGOUT_ICON))}}function Ah(a,g){if(1&a){const s=e.RV6();e.qex(0),e.j41(1,"div",6),e.bIt("click",function(){e.eBV(s);const p=e.XpG(3);return e.Njj(p.close())}),e.k0s(),e.DNE(2,M0,14,13,"ng-container",7)(3,x0,33,35,"ng-template",null,0,e.C5r),e.j41(5,"div",8),e.DNE(6,P0,18,26,"div",9)(7,AC,27,52,"ng-container",4),e.nI1(8,"async"),e.DNE(9,L0,17,29,"ng-container",4),e.nI1(10,"async"),e.DNE(11,K0,8,5,"ng-container",10),e.nI1(12,"async"),e.DNE(13,np,8,5,"ng-container",4),e.nI1(14,"async"),e.DNE(15,Dh,9,6,"ng-container",4),e.nI1(16,"async"),e.nI1(17,"async"),e.j41(18,"div",11)(19,"a",12),e.bIt("click",function(){e.eBV(s);const p=e.XpG(3);return e.Njj(p.logout())}),e.DNE(20,Z0,4,6,"ng-container",7)(21,ip,3,6,"ng-template",null,1,e.C5r),e.j41(23,"div",13)(24,"p"),e.EFF(25),e.k0s()()()()(),e.bVm()}if(2&a){let s,l,p;const I=e.sdS(4),X=e.sdS(22),ie=e.XpG(2).$implicit,Ae=e.XpG();e.R7$(2),e.Y8G("ngIf",!Ae.isShowUserInfo)("ngIfElse",I),e.R7$(4),e.Y8G("ngIf",!0===Ae.showDetailFlag&&!1===Ae.isShowUserInfo),e.R7$(),e.Y8G("ngIf",!0===(null==(s=e.bMT(8,11,Ae.siteSettingModel$))?null:s.isBonusWallet)),e.R7$(2),e.Y8G("ngIf",!1===(null==(l=e.bMT(10,13,Ae.siteSettingModel$))?null:l.isBonusWallet)),e.R7$(2),e.Y8G("ngForOf",e.bMT(12,15,Ae.memberListData$)),e.R7$(2),e.Y8G("ngIf",e.bMT(14,17,Ae.verifationListData$)),e.R7$(2),e.Y8G("ngIf",Ae.isActive&&(null==(p=e.bMT(16,19,Ae.csList$))?null:p.length)&&e.bMT(17,21,Ae.csList$)),e.R7$(5),e.Y8G("ngIf","pb"===Ae.currentBrand)("ngIfElse",X),e.R7$(5),e.JRh(ie("ui.member_menu.text.logout"))}}function Mu(a,g){if(1&a&&(e.qex(0),e.j41(1,"div",5),e.DNE(2,Ah,26,23,"ng-container",4),e.nI1(3,"async"),e.k0s(),e.bVm()),2&a){const s=e.XpG(2);e.R7$(),e.AVh("active",s.isActive),e.R7$(),e.Y8G("ngIf",e.bMT(3,3,s.isLogin$))}}function Nu(a,g){if(1&a&&(e.qex(0),e.DNE(1,Mu,4,5,"ng-container",4),e.nI1(2,"async"),e.bVm()),2&a){const s=e.XpG();e.R7$(),e.Y8G("ngIf",e.bMT(2,1,s.accountInfo$))}}function sp(a){return wu.apply(this,arguments)}function wu(){return(wu=(0,h.A)(function*(a){return new Promise(s=>{const l=new Image;l.onload=()=>{console.log(`${a} file exist`),s(!0)},l.onerror=()=>{console.log(`${a} file not exist`),s(!1)},l.src=a})})).apply(this,arguments)}let rp=(()=>{class a{constructor(s,l,p,I,X,ie,Ae,Ue,st,rt){var yt=this;this.router=s,this.authService=l,this.settingService=p,this.cdr=I,this.i18nService=X,this.bridgeUtilService=ie,this.memberListState=Ae,this.authState=Ue,this.animationState=st,this.appStateService=rt,this.images=new Wa.h,this.SwitchThemeService=(0,e.WQX)(Us.Fu),this.MemberMenu=(0,xi.O)(uh),this.routingPathType=Se.J,this.customerServiceType=L,this.dateFormatTypeEnum=$a.$,this.defaultIconLink=Wa.h,this.config=(0,e.WQX)(Wg,{optional:!0}),this.isBrowser=(0,c.UE)((0,e.WQX)(e.Agw)),this.navigationHistoryService=(0,e.WQX)(S0.s),this.checkPlayerInfoService=(0,e.WQX)(ma.P),this.siteSetting=(0,e.WQX)(Qn.p),this.isNativeApp=this.siteSetting.get("siteSettingModel").isNativeApp,this.isEnableFriendRefer=this.siteSetting.get("siteSettingModel").isEnableFriendRefer,this.chatController=(0,e.WQX)(Hr.v),this.chatService=(0,e.EWP)(()=>this.chatController.chatService()),this.iconKeyMap={telegram:"CRM_CS_ICON_TELEGRAM",line:"CRM_CS_ICON_LINE",whatsapp:"CRM_CS_ICON_WHATSAPP",zalo:"CRM_CS_ICON_ZALO",imo:"CRM_CS_ICON_IMO",email:"CRM_CS_ICON_EMAIL",qq:"CRM_CS_ICON_QQ",wechat:"CRM_CS_ICON_WECHAT",skype:"CRM_CS_ICON_SKYPE",bbm:"CRM_CS_ICON_BBM","kakao-talk":"CRM_CS_ICON_KAKAO_TALK",viber:"CRM_CS_ICON_VIBER",phone:"CRM_CS_ICON_PHONE",talk:"CRM_CS_ICON_TALK","facebook-messenger":"CRM_CS_ICON_FACEBOOK_MESSENGER"},this.signUpTimestamp=this.authState.get("accountInfo").signUpTimestamp,this.lastLoginTimestamp=this.authState.get("accountInfo").lastLoginTimestamp,this.isActive=!1,this.isShowUserId=!1,this.isShowVipLinkIcon=!1,this.isCSLinkOpenIntercom=!1,this.isShowUserInfo=!1,this.isClickCSLink=new e.bkB,this.isShowBalance=!1,this.isReload=!1,this.siteSettingModel$=this.siteSetting.select("siteSettingModel"),this.isVipOpen=!1,this.currentBrand="",this.subscriptions=[],this.currentCurrencyType$=this.siteSetting.select("currentCurrencyType").pipe((0,ts.t)(1)),this.isCustomerServiceUseI18nText$=this.siteSetting.select("currentLanguageType").pipe((0,Sn.T)(Tt=>!(!["cx"].includes(this.environment.brand)||Tt===y.t.ENGLISH))),this.customReferralPage=(0,e.WQX)(In.wp,{optional:!0}),this.accountInfo$=this.authState.select("accountInfo"),this.mainWallet$=this.accountInfo$.pipe((0,Sn.T)(Tt=>Tt?.mainWallet)),this.isShowTimeDetail=!1,this.showDetailFlag=!1,this.unreadMessageCount$=this.authState.select("accountInfo"),this.currencyType=Rn.U.getInstanceOf(this.authState.get("accountInfo").currencyTypeId),this.deactivateMemberMenuInner=new e.bkB,this.memberImageListDataItem=[],this.verifationListData$=this.authState.select("isLogin").pipe((0,pn.n)(Tt=>Tt?(0,C.of)(void 0).pipe((0,va.c)(10),(0,pn.n)(()=>this.siteSetting.select("siteSettingModel")),(0,Sn.T)(()=>{const fn=this.siteSetting.get("siteSettingModel").isVerifyDocument,Wn=this.siteSetting.get("siteSettingModel").isVerifyBank,Ri=this.siteSetting.get("siteSettingModel").isVerifyCryptocurrency,yn=this.siteSetting.get("siteSettingModel").isVerifyEWallet,Yn=this.siteSetting.get("siteSettingModel").isVerifyUPI,ei=[];if(fn){const yi={imageName:this.i18nService.translate("ui.member_menu.word.documents"),imageClass:"documents",imageLink:`${Se.J.VERIFY_DOCUMENT.link}`};ei.push(yi)}if(Wn){const yi={imageName:this.i18nService.translate("ui.member_menu.text.bank_statements"),imageClass:"bank",imageLink:`${Se.J.VERIFY_BANK.link}`};ei.push(yi)}if(Ri){const yi={imageName:this.i18nService.translate("ui.global.text.crypto_currencies"),imageClass:"crypto",imageLink:`${Se.J.VERIFY_CRYPTOCURRENCIES.link}`};ei.push(yi)}if(yn){const yi={imageName:this.i18nService.translate("ui.global.text.e_wallets"),imageClass:"e-wallets",imageLink:`${Se.J.VERIFY_E_WALLETS.link}`};ei.push(yi)}if(Yn){const yi={imageName:this.i18nService.translate("ui.global.text.UPI"),imageClass:"UPI",imageLink:`${Se.J.VERIFY_UPI.link}`};ei.push(yi)}return ei.length?{listClass:"verification-list",title:this.i18nService.translate("ui.member_menu.word.verification"),imageData:ei}:null}),(0,Wt.M)(()=>setTimeout(()=>{this.cdr.detectChanges()},10))):(0,C.of)(null))),this.memberListData$=this.memberListState.select("memberMenuImageList"),this.initMemberLst$=new fs.B,this.initMemberLstHandle$=this.initMemberLst$.pipe((0,pn.n)(()=>this.siteSetting.select("siteSettingModel").pipe((0,va.c)(250),(0,Sn.T)(Tt=>{let fn=!1;return this.customReferralPage&&(fn=this.customReferralPage&&Tt.isEnabledRafCommission),((a,g,s,l,p,I,X,ie=!1)=>{const Ae=(0,xi.O)(uh),Ue={listClass:"member-list",title:a.translate("ui.member_menu.word.funds"),neuACategory:Ae.Funds.value,imageData:[{imageName:a.translate("ui.global.word.deposit"),imageClass:"deposit",imageLink:`${Se.J.WALLET_DEPOSIT.link}`,imageText:"deposit"},{imageName:a.translate("ui.member_menu.word.withdrawal"),imageClass:"withdrawal",imageLink:`${Se.J.WALLET_WITHDRAWAL.link}`,imageText:"withdrawal"},{imageName:a.translate("ui.member_menu.text.my_promotion"),imageClass:"wallet",imageLink:`${Se.J.MY_BONUSES.link}`,bonusWalletRelative:!0,imageText:"my promotion"}]},st={listClass:"member-list",title:a.translate("ui.profile_vip.text.points_history"),neuACategory:Ae.History.value,imageData:[{imageName:a.translate("ui.member_menu.text.betting_records"),imageClass:"total",imageLink:`${Se.J.BETTING_RECORDS.link}`,imageText:"betting records"},{imageName:a.translate("ui.global.text.turnover"),imageClass:"water",imageLink:`${Se.J.TURNOVER.link}`,imageText:"turnover"},{imageName:a.translate("ui.member_menu.text.transaction_records"),imageClass:"history",imageLink:`${Se.J.TRANSACTION_RECORDS.link}`,imageText:"transaction records"}]},rt={listClass:"member-list",title:a.translate("ui.global.word.profile"),neuACategory:Ae.Profile.value,imageData:[{imageName:a.translate("ui.member_menu.text.change_password"),imageClass:"resetpasswords",imageLink:`${Se.J.CHANGE_PASSWORD.link}`,imageText:"change password"},{imageName:a.translate("ui.member_menu.word.inbox"),imageClass:"mail",imageLink:`${Se.J.INBOX.link}`,imageText:"inbox"}]};return l&&(rt.imageData=[...rt.imageData,{imageName:a.translate("ui.member_menu.text.set_up_biometric"),imageClass:"biometric",imageLink:`${Se.J.BIOMETRIC.link}`,imageText:"set up biometric"}]),rt.imageData=p?[{imageName:a.translate("ui.member_menu.text.personal_info"),imageClass:"account",imageLink:`${Se.J.PROFILENEW.link}`,imageText:"personal info"},...rt.imageData]:[{imageName:a.translate("ui.member_menu.text.personal_info"),imageClass:"account",imageLink:`${Se.J.PROFILE.link}`,imageText:"personal info"},...rt.imageData],s&&rt.imageData.push({imageName:a.translate("ui.member_menu.word.vip"),imageClass:"vip-page",imageLink:`${Se.J.VIP_DETAIL.link}`,imageText:"vip"}),I&&rt.imageData.push({imageName:a.translate("ui.member_menu.word.referral"),imageClass:"recommendfriend",imageLink:X||(ie?`${Se.J.COMMON_REFERRAL.link}`:`${Se.J.REFERRAL.link}`),imageText:"referral"}),g||(Ue.imageData=Ue.imageData.filter(Gt=>!Gt.bonusWalletRelative)),[Ue,st,rt]})(this.i18nService,Tt.isBonusWallet,this.isShowVipLinkIcon,this.isNativeApp,Tt.isEnableMultipleRegisterAndLoginFeatures,this.isEnableFriendRefer,this.config?.customRafCommissionLink,fn)})))),this.isLogin$=this.authState.select("isLogin"),this.destroy$=new fs.B,this.IS_NAVIGATE_FROM_MEMBER_MENU="IS_NAVIGATE_FROM_MEMBER_MENU",this.preserveMenuOpenOnNavigationBack$=new fs.B,this.preserveMenuOpenOnNavigationBackHandler=this.preserveMenuOpenOnNavigationBack$.pipe((0,pn.n)(()=>this.preserveMenuOpenOnNavigationBack()),(0,On.Q)(this.destroy$)).subscribe(),this.validVipImage$=(0,po.z)([this.SwitchThemeService.imageLink$,this.accountInfo$]).pipe((0,Pr.H)(([Tt,fn])=>(0,Va.H)(this.getVipLevelIcon([Tt,fn]))),(0,On.Q)(this.destroy$)),this.environment=(0,e.WQX)(R.n),this.getVipLevelIcon=function(){var Tt=(0,h.A)(function*([fn,Wn]){console.log("accountInfo now is =>",Wn);const yn=kn=>"MEMBER_VIP_LV_"+kn,Yn=kn=>yt.getLinkFromSwitchService(yn(kn));let ei=Wn.vipInfo?.nowVipLV??1,yi=Yn(ei);for(console.log("nowVipLV is =>",ei),console.log("target url is =>",yi);!(yield sp(yi));)console.log(`${yi} file not exist, get previous one`),ei=ei-1>1?ei-1:1,yi=Yn(ei);return console.log("vipLv now is =>",ei),console.log("imageToken now is =>",yn(ei)),yn(ei)});return function(fn){return Tt.apply(this,arguments)}}(),this.csList$=this.settingService.getCustomerService().pipe((0,Sn.T)(Tt=>Tt.sort((fn,Wn)=>fn.displayOrder.toString().localeCompare(Wn.displayOrder.toString()))),(0,ts.t)(1),(0,ns.pQ)()),this.memberListState.connect("memberMenuImageList",this.initMemberLstHandle$),this.initMemberLst$.next(void 0);const Gt=this.animationState.select("routingLifeCycle").pipe((0,Wt.M)(Tt=>{this.isActive&&Tt===Cu.h.EXECUTING.unique&&setTimeout(()=>this.close(),0)})).subscribe();this.subscriptions.push(Gt),this.isNativeApp&&(this.bridgeUtilService.sendMessage('{"checkDeviceSupportBio":"1"}'),this.bridgeUtilService.exposeFEFunction("MemberMenuHandler","isDeviceSupportBiometric",Tt=>{this.appStateService.set("isSupportBio","true"===Tt),this.initMemberLst$.next(void 0)}))}getLinkFromSwitchService(s){return this.SwitchThemeService.imageLink[s]}getContactUsIconImagePath(s,l,p){if(s)return s;const I=this.iconKeyMap[l];return I&&p?p[I]:""}ngOnDestroy(){this.subscriptions.forEach(s=>s.unsubscribe()),this.destroy$.next(),this.destroy$.unsubscribe()}ngOnInit(){this.checkBrand(),this.checkIsVipOpen()}checkBrand(){this.currentBrand=this.environment.brand}getCustomerServiceClassName(s){return this.customerServiceType.getInstanceOf(s)?.h5Class.replace("-","_")}preserveMenuOpenOnNavigationBack(){if(!this.isBrowser)return eo.t;const s=new fs.B;return(0,Qs.h)(this.router.events.pipe((0,Wt.M)(l=>{if(l instanceof V.wF){const p=this.router.getCurrentNavigation();if(p?.extras.state?.[this.IS_NAVIGATE_FROM_MEMBER_MENU]||p?.extras.state?.[In.m])return;s.next(void 0)}}),(0,On.Q)(s)),this.navigationHistoryService.beforeNavigationBack$.pipe((0,On.Q)(s),(0,pn.n)(()=>this.navigationHistoryService.afterNavigationBack$),(0,Gi.s)(1),(0,Wt.M)(l=>{s.next(void 0),l.succeed&&this.deactivateMemberMenuInner.emit(!0)})))}checkIsVipOpen(){this.accountInfo$.subscribe(s=>{this.isVipOpen=!!s.vipInfo})}toggleBalance(){this.isShowBalance=!this.isShowBalance}close(){this.deactivateMemberMenuInner.emit(!1)}showDateTimeDetail(){!0===this.showDetailFlag&&(this.isShowTimeDetail=!this.isShowTimeDetail)}navigateTo(s){this.router.url!==s?(this.preserveMenuOpenOnNavigationBack$.next(),this.router.navigateByUrl(s,{state:{[this.IS_NAVIGATE_FROM_MEMBER_MENU]:!0}})):this.close()}gotoUrl(s,l){const p=L.getInstanceOf(s);let I="";if(this.isCSLinkOpenIntercom&&p===L.CSLINK)return this.isClickCSLink.emit(!0),!1;const X=this.chatService();switch(p){case L.EMAIL:I=`mailto:${l}`;break;case L.SKYPE:I=`skype:${l}`;break;case L.PHONE:I=`tel:${l}`;break;case L.CSLINK:if(X)return X.isWidgetOpen()?X.hideWidget():X.showWidget(),!1;break;default:I=`${l}`}return window.open(I,"_blank"),!1}logout(){this.close(),this.authService.logout()}balanceReload(){this.isReload||(this.isReload=!0,this.checkPlayerInfoService.checkBalance(),setTimeout(()=>{this.isReload=!1,this.cdr.detectChanges()},1e3))}goToBonusWallet(){this.navigateTo(Se.J.MY_BONUSES.link)}counter(s){return new Array(s)}static#e=this.\u0275fac=function(l){return new(l||a)(e.rXU(V.Ix),e.rXU(ma.u),e.rXU(Ds.q),e.rXU(e.gRc),e.rXU(A.JO),e.rXU(Du.H),e.rXU(ki.Y),e.rXU(Oi.H),e.rXU(Js.x),e.rXU(ni.i))};static#t=this.\u0275cmp=e.VBU({type:a,selectors:[["app-member-menu-inner"]],inputs:{isActive:"isActive",isShowUserId:"isShowUserId",isShowVipLinkIcon:"isShowVipLinkIcon",isCSLinkOpenIntercom:"isCSLinkOpenIntercom",isShowUserInfo:"isShowUserInfo",showDetailFlag:"showDetailFlag"},outputs:{isClickCSLink:"isClickCSLink",deactivateMemberMenuInner:"deactivateMemberMenuInner"},decls:1,vars:0,consts:[["showDateInfo",""],["svgIcon",""],["iconDefaultName",""],[4,"transloco"],[4,"ngIf"],[1,"member-menu"],[1,"close",3,"click"],[4,"ngIf","ngIfElse"],[1,"member-menu-content","bonuswallet"],["class","date-information",3,"ngStyle",4,"ngIf"],[4,"ngFor","ngForOf"],[1,"member-menu-logout"],[3,"click"],[1,"text"],[1,"member-header","bonuswallet"],[1,"member-header-content"],["class","pic",3,"ngClass","background-image",4,"ngIf"],[1,"infor"],[1,"account"],[3,"click",4,"ngIf"],["class","vip-points active",4,"ngIf"],["class","my-id active","drcNeuAClick","",3,"category","title","click",4,"ngIf"],[1,"pic",3,"ngClass"],[1,"vip-points","active"],["drcNeuAClick","",1,"myvip-text",3,"click","routerLink","category","title"],[1,"item-icon",3,"ngStyle"],["drcNeuAClick","",1,"my-id","active",3,"click","category","title"],["id","memberMenu_header_userId"],["class","date-information-btn",3,"ngStyle",4,"ngIf"],[1,"date-information-btn",3,"ngStyle"],[1,"member-header","bonuswallet","show-date-info"],[1,"user-info"],[1,"user-date"],[1,"date-information"],[1,"date-wrap"],[1,"registration"],["id","memberMenu_header_registrationTime"],[1,"lastlogin"],["id","memberMenu_header_lastLoginTime"],[1,"member-menu-vip-btn",3,"routerLink","title"],[1,"date-information",3,"ngStyle"],[1,"member-menu-box","balance-box",3,"ngClass"],[1,"balance",3,"ngClass"],[1,"icon","refresh",3,"click","ngClass"],[1,"icon","eyes",3,"click","ngClass","ngStyle"],[1,"amount"],[3,"localeCurrency","currencyDisplay"],[1,"balance"],[1,"icon","bonuswallet",3,"click"],[1,"balance","balance-row"],[1,"amount","totalBalanceWallet"],["id","balanceHeader",2,"display","none"],[1,"member-menu-box",3,"ngClass"],[1,"title"],[3,"ngClass"],["drcNeuAClick","",3,"click","category","title"],[3,"ngSwitch"],["class","item-icon",3,"background-image",4,"ngSwitchCase"],["class","notice",4,"ngIf"],[1,"item-icon"],[1,"notice"],[1,"member-menu-box","member-list","csicons"],[1,"item-icon",3,"background-image"]],template:function(l,p){1&l&&e.DNE(0,Nu,3,3,"ng-container",3)},dependencies:[c.YU,c.Sq,c.bT,c.B3,c.ux,c.e1,A.bA,V.Wk,O0.T,me.d,c.Jj,c.Pc,c.GH,c.P9,Vg.Z,Xs.H],changeDetection:0})}return a})();var dc=o(23294),bu=o(95640),Lc=o(10098),Sh=o(84652),q0=o(83950);function TC(a,g){if(1&a){const s=e.RV6();e.qex(0),e.j41(1,"a",3),e.bIt("click",function(){e.eBV(s);const p=e.XpG(2);return e.Njj(p.close())}),e.k0s(),e.j41(2,"img",4),e.bIt("click",function(){const p=e.eBV(s).ngIf,I=e.XpG(2);return e.Njj(I.onClick(p))}),e.k0s(),e.bVm()}if(2&a){const s=g.ngIf;e.R7$(2),e.Y8G("drcCdnSrc",s.imageH5SliderPath)}}function xu(a,g){if(1&a&&(e.j41(0,"div",1),e.DNE(1,TC,3,1,"ng-container",2),e.nI1(2,"async"),e.k0s()),2&a){const s=g.ngIf,l=e.XpG();e.Y8G("@popWrapTriggerAni",s),e.R7$(),e.Y8G("ngIf",e.bMT(2,2,l.floatBanner$))}}let Rh=(()=>{class a{get isShow(){return this._isShow}set isShow(s){this._isShow=s}constructor(s,l){this.messageService=s,this.dialogService=l,this.siteSettingState$=(0,e.WQX)(Qn.p),this.authState$=(0,e.WQX)(Oi.H),this.commonUtilService=(0,e.WQX)(Lc.j),this.openGameService=(0,e.WQX)(As.eD),this.appStateService=(0,e.WQX)(ni.i),this.cdr=(0,e.WQX)(e.gRc),this._isShow=!1,this.isFloatBannerActive$=new Ts.t(!0),this.destroy$=new fs.B,this.floatBanner$=(0,po.z)([this.siteSettingState$.select("currentCurrencyType"),this.authState$.select("isLogin")]).pipe((0,On.Q)(this.destroy$),(0,dc.F)((p,I)=>p[0].unique===I[0].unique&&p[1]===I[1]),(0,pn.n)(()=>this.messageService.getMessageByTypes([_u.G.FOOTER_FLOAT_BANNER.unique]).pipe((0,Sn.T)(p=>p.find(I=>I.status===q0.Y.ACTIVE.unique)))),(0,ts.t)(1))}ngOnInit(){this.observeIframeOpen()}ngOnDestroy(){this.destroy$.next(void 0)}close(){this.isFloatBannerActive$.next(!1)}observeIframeOpen(){this.appStateService.on("isIframeGameOpened").pipe((0,Wt.M)(s=>{s&&(this._isShow=!1,this.cdr.detectChanges())}),(0,On.Q)(this.destroy$)).subscribe()}onClick(s){if(s.contentType!==Sh.h.NONE.unique)if(s.contentType===Sh.h.LINK.unique){const p=this.commonUtilService.detectMessageContent(s.h5Content);!1===p.isOpenGame?window.open(p.url):this.openGameFromH5Content(p.url)}else s.contentType===Sh.h.TEXT.unique&&this.dialogService.openDialog(bu.D,{data:{title:`${s.title}`,content:`${s.h5Content}`,banner:s.imageBannerPath,contentType:s.contentType}}).subscribe()}openGameFromH5Content(s){const p=s.replace(/\/open-game-link\//g,"").split("/"),I=Number(p[0]);this.openGameService.open({gameTypeId:I,vendorCode:p[1],gameCode:p[2]}).subscribe()}static#e=this.\u0275fac=function(l){return new(l||a)(e.rXU(m.b),e.rXU(de.o))};static#t=this.\u0275cmp=e.VBU({type:a,selectors:[["app-float-banner"]],inputs:{isShow:"isShow"},decls:3,vars:5,consts:[["class","float-banner",4,"ngIf"],[1,"float-banner"],[4,"ngIf"],[1,"close",3,"click"],[3,"click","drcCdnSrc"]],template:function(l,p){1&l&&(e.DNE(0,xu,3,4,"div",0),e.nI1(1,"async"),e.nI1(2,"async")),2&l&&e.Y8G("ngIf",p.isShow&&e.bMT(1,1,p.isFloatBannerActive$)&&e.bMT(2,3,p.floatBanner$))},dependencies:[c.bT,Gs.f,ms.h,c.Jj],data:{animation:[cr.tt]},changeDetection:0})}return a})();const op=a=>({transform:a});vi.os.registerPlugin(Bi.I);let ap=(()=>{class a{constructor(s,l,p,I){this.cdr=s,this.windowsScrollHandlerService=l,this.platformId=p,this.document=I,this.isShow=!1,this.destroy$=new fs.B,this.transformX=0,this.transformY=0}ngOnInit(){this.windowsScrollHandlerService.getScrollObservable().pipe((0,On.Q)(this.destroy$)).subscribe(s=>{this.updateCurrentHeight(s)})}ngOnDestroy(){this.destroy$.next(null)}gotop(){(0,c.UE)(this.platformId)&&vi.os.to(window,{duration:.7,scrollTo:0,ease:"expo.out"})}updateCurrentHeight(s){this.isShow=(s.target?.scrollingElement?.scrollTop||0)>350,this.cdr.detectChanges()}static#e=this.\u0275fac=function(l){return new(l||a)(e.rXU(e.gRc),e.rXU(cc.G),e.rXU(e.Agw),e.rXU(c.qQ))};static#t=this.\u0275cmp=e.VBU({type:a,selectors:[["app-gotop"]],inputs:{transformX:"transformX",transformY:"transformY"},features:[e.Jv_([cc.G])],decls:1,vars:4,consts:[[1,"gotop","bottom-2",3,"click","ngClass","ngStyle"]],template:function(l,p){1&l&&(e.j41(0,"div",0),e.bIt("click",function(){return p.gotop()}),e.k0s()),2&l&&e.Y8G("ngClass",p.isShow?"is-visible":"")("ngStyle",e.eq3(2,op,"translate("+p.transformX+"px, "+p.transformY+"px)"))},dependencies:[c.YU,c.B3],styles:["[_nghost-%COMP%]{display:contents}"],changeDetection:0})}return a})();function cp(a,g){1&a&&e.nrm(0,"div",1)}vi.os.registerPlugin(Bi.I);let hc=(()=>{class a{constructor(s){this.platformId=s,this.options={},this.showMask=!0,this.isShowLoadingLogo=!1,this.forceShow=!1}ngOnInit(){this.showMask=!(0,c.UE)(this.platformId)}static#e=this.\u0275fac=function(l){return new(l||a)(e.rXU(e.Agw))};static#t=this.\u0275cmp=e.VBU({type:a,selectors:[["app-loading-mask"]],inputs:{options:"options",showMask:"showMask",isShowLoadingLogo:"isShowLoadingLogo",forceShow:"forceShow"},decls:1,vars:1,consts:[["class","loading-mask",4,"ngIf"],[1,"loading-mask"]],template:function(l,p){1&l&&e.DNE(0,cp,1,0,"div",0),2&l&&e.Y8G("ngIf",p.showMask||p.forceShow)},dependencies:[c.bT],changeDetection:0})}return a})(),lp=(()=>{class a{constructor(s){this.templateRef=s}static#e=this.\u0275fac=function(l){return new(l||a)(e.rXU(e.C4Q))};static#t=this.\u0275dir=e.FsC({type:a,selectors:[["ng-template","drcCarouselUnit",""]]})}return a})();var Oh=function(a){return a.UNITS_PER_VIEW="unitsPerView",a.GAP="gap",a}(Oh||{});const Dl={unitsPerView:5,overflow:!0,gap:10,autoplay:{direction:"ltr",period:5e3},autoHeight:!0,defaultActiveIndex:0,loop:!0,resizeTimeout:200,navigation:!0,pagination:{clickabled:!0},transition:400,draggable:!0,dragByUnitsPerView:!1,detectElementSizeChange:!1};var Fc=o(71985),na=o(33726);const Ea=["carouselFrame"],Bc=["track"],ev=["defaultNavigation"],tv=["defaultPagination"],nv=["unitEle"],iv=a=>({units$:a,key:"prepend",offset:0}),sv=(a,g)=>({units$:a,key:"",offset:g}),rv=(a,g)=>({units$:a,key:"append",offset:g}),up=(a,g)=>({prevFunc:a,nextFunc:g}),ov=(a,g)=>({units:a,unitClickFunc:g});function av(a,g){if(1&a&&(e.qex(0),e.eu8(1,9),e.bVm()),2&a){const s=e.XpG();e.R7$(),e.Y8G("ngTemplateOutlet",s.navigationTemplate)("ngTemplateOutletContext",e.l_i(2,up,s.prev,s.next))}}function cv(a,g){if(1&a&&(e.qex(0),e.eu8(1,9),e.bVm()),2&a){const s=e.XpG();e.R7$(),e.Y8G("ngTemplateOutlet",s.paginationTemplate)("ngTemplateOutletContext",e.l_i(2,ov,s.carouselUnits,s.paginationClick))}}function lv(a,g){if(1&a&&(e.j41(0,"div",12,5),e.eu8(2,13),e.k0s()),2&a){const s=g.$implicit,l=g.index,p=e.XpG(),I=p.key,X=p.offset,ie=e.XpG();e.Aen(0===l&&("prepend"===I&&ie.loop||!ie.loop)?ie.firstUnitStyle:ie.unitsStyle),e.Y8G("ngClass",(ie.realActiveIndex===X+l+1?ie.unitPrevClass+" ":"")+(ie.realActiveIndex===X+l?ie.unitActiveClass+" ":"")+(ie.realActiveIndex===X+l-1?ie.unitNextClass+" ":"")+(s.className?s.className+" ":"")+ie.unitClass+(""===I?"":" "+ie.unitDuplicateClass)),e.BMQ("data-carousel-unit-index",s.index),e.R7$(2),e.Y8G("ngTemplateOutlet",s.templateRef)}}function Pu(a,g){1&a&&(e.DNE(0,lv,3,5,"div",11),e.nI1(1,"async")),2&a&&e.Y8G("ngForOf",e.bMT(1,1,g.units$))}function Ia(a,g){if(1&a){const s=e.RV6();e.j41(0,"div",14)(1,"div",15),e.bIt("click",function(){const p=e.eBV(s).prevFunc;return e.Njj(p())}),e.nrm(2,"img",16),e.k0s(),e.j41(3,"div",17),e.bIt("click",function(){const p=e.eBV(s).nextFunc;return e.Njj(p())}),e.nrm(4,"img",18),e.k0s()()}}function Al(a,g){if(1&a){const s=e.RV6();e.j41(0,"div",21),e.bIt("click",function(){const p=e.eBV(s).index,I=e.XpG().unitClickFunc;return e.Njj(I(p))}),e.k0s()}if(2&a){const s=g.index,l=e.XpG(2);e.AVh("pagination__bullet--active",l.activeIndex===s)}}function dp(a,g){if(1&a&&(e.j41(0,"div",19),e.DNE(1,Al,1,2,"div",20),e.k0s()),2&a){const s=g.units;e.R7$(),e.Y8G("ngForOf",s)}}var to=function(a){return a.RESIZE="resize",a.RESIZE_BY_ELEMENT="resizeByElement",a.INIT="init",a.CONTENT_CHANGE="contentChange",a.REFRESH="REFRESH",a}(to||{});let MC=0,NC=(()=>{class a{get loop(){return this._loop}set loop(s){this._loop=s}get realActiveIndex(){return this._realActiveIndex}set realActiveIndex(s){this.isSliding||(this._realActiveIndex!==s&&this.slideChange.emit({activeIndex:this.activeIndex,realActiveIndex:this.realActiveIndex}),this._realActiveIndex=s,this.setAutoHeight(),this.trackLock||this.setTrackStyle(),this.trackLock=!1)}get activeIndex(){return this._activeIndex}set activeIndex(s){if(!this.isSliding){if(this.loop){this.normalUnitsArr.length!==this.getUnitsPerViewNow()&&(s>=this.normalUnitsArr.length+this.appendUnitsArr.length-this.getUnitsPerViewNow()?s=(s+1-this.normalUnitsArr.length)%this.appendUnitsArr.length+this.normalUnitsArr.length-1:s<-this.prependUnitsArr.length&&(s%=this.prependUnitsArr.length));const l=this.normalUnitsArr.length;this._activeIndex=s,this.realActiveIndex=s+l}else s>this.normalUnitsArr.length-this.unitsPerViewNow?(this._activeIndex=this.normalUnitsArr.length-this.unitsPerViewNow,this.realActiveIndex=this._activeIndex):s<0?(this._activeIndex=0,this.realActiveIndex=0):(this._activeIndex=s,this.realActiveIndex=s);this.cdrf.detectChanges()}}constructor(s,l,p){this.document=s,this.cdrf=l,this.eleRef=p,this.isPlatformBrowser=(0,c.UE)((0,e.WQX)(e.Agw)),this.unitClass="carousel-frame-alpha__unit",this.unitPrevClass="carousel-frame-alpha__unit--prev",this.unitActiveClass="carousel-frame-alpha__unit--active",this.unitNextClass="carousel-frame-alpha__unit--next",this.unitDuplicateClass="carousel-frame-alpha__unit--duplicated",this.unitIsActiveClass="carousel-frame-alpha__unit--active",this.unitIsPrevClass="carousel-frame-alpha__unit--prev",this.unitIsNextClass="carousel-frame-alpha__unit--next",this.slideChange=new e.bkB,this.navigationTriggered=new e.bkB,this.paginationTriggered=new e.bkB,this.init=new e.bkB,this.beforeWindowResize=new e.bkB,this.afterWindowResize=new e.bkB,this.beforeElementResize=new e.bkB,this.afterElementResize=new e.bkB,this.carouselId="carousel-frame-alpha-"+ ++MC,this.carouselUnits=[],this.dragging$=new Ts.t(!1),this.clicked$=new Ts.t(!1),this.startX=0,this.subscriptions=[],this.init$=new fs.B,this.refresh$=new fs.B,this.unitsLocation=[],this.prependUnitsArr=[],this.normalUnitsArr=[],this.appendUnitsArr=[],this.allUnitsArr=[],this.silently=!1,this.trackLock=!1,this.isAutoPlay=!1,this.autoHeight=!1,this.draggable=!0,this.dragByUnitPerView=!1,this.autoplayInterval=0,this.detectElementSizeChange=!1,this.tweens=[],this.prev=()=>{this.refreshAutoPlay(),this.activeIndex-=1,this.navigationTriggered.emit({activeIndex:this.activeIndex,realActiveIndex:this.realActiveIndex})},this.next=()=>{this.refreshAutoPlay(),this.activeIndex+=1,this.navigationTriggered.emit({activeIndex:this.activeIndex,realActiveIndex:this.realActiveIndex})},this.paginationClick=I=>{this.refreshAutoPlay(),this.paginationTriggered.emit(I),this.to(I)}}ngAfterViewInit(){this.isPlatformBrowser&&(this.initExtendedConfig(),this.setInitialProperties(),this.initObservableSubscribe(),this.setAutoPlay(),this.init$.next(),this.init.emit(),this.cdrf.detectChanges())}ngOnDestroy(){this.subscriptions.forEach(s=>s.unsubscribe()),this.tweens.forEach(s=>s.kill()),this.autoplayInterval&&clearInterval(this.autoplayInterval)}gsapCollector(...s){this.tweens.push(...s)}to(s){this.refreshAutoPlay(),this.activeIndex=s}refresh(){this.refresh$.next()}setActiveIndexStatically(s){this.trackLock=!0,this.activeIndex=s}setActiveIndexSilently(s){this.silently=!0,this.activeIndex=s}initExtendedConfig(){this.extendedConfig=Object.assign({...Dl},this.config)}setInitialProperties(){this.carouselEle=this.eleRef.nativeElement,this.trackEle=this.track.nativeElement,this.transition=this.extendedConfig.transition??Dl.transition,this.navigation=this.extendedConfig.navigation,this.pagination=this.extendedConfig.pagination,this.overflow=this.extendedConfig.overflow,this.isAutoPlay=!!this.extendedConfig.autoplay,this.autoplayPeriod=this.extendedConfig.autoplay.period??Dl.autoplay.period,this.autoplayDirection=this.extendedConfig.autoplay.direction??Dl.autoplay.direction,this.resizeTimeout=this.extendedConfig.resizeTimeout??Dl.resizeTimeout,this.loop=this.extendedConfig.loop,this.draggable=this.extendedConfig.draggable,this.dragByUnitPerView=this.extendedConfig.dragByUnitsPerView,this.autoHeight=this.extendedConfig.autoHeight,this.detectElementSizeChange=this.extendedConfig.detectElementSizeChange,this.navigationTemplate=this.navigationTemplate?this.navigationTemplate:this.defaultNavigation,this.paginationTemplate=this.paginationTemplate?this.paginationTemplate:this.defaultPagination}calculateCarouselUnits(){this.carouselUnits=this.contentUnits.toArray()}calculateUnitsLocation(){this.unitsLocation=this.allUnitsArr.map((s,l)=>l*((this.carouselRect.width-(this.unitsPerViewNow-1)*this.gapNow)/this.unitsPerViewNow+this.gapNow))}measure(){this.windowWidth=this.document.documentElement.clientWidth,this.carouselRect=this.carouselEle.getBoundingClientRect(),this.unitsPerViewNow=this.getUnitsPerViewNow(),this.gapNow=this.getResponsivePropBySection(Oh.GAP,this.getResponsiveSectionNow()),this.gapNow=this.gapNow>0?this.gapNow:0}getUnitsPerViewNow(){return this.getResponsivePropBySection(Oh.UNITS_PER_VIEW,this.getResponsiveSectionNow())}getElementResizeObservable(){const s=new Fc.c(l=>{const p=new ResizeObserver(()=>{l.next({sourceFrom:to.RESIZE_BY_ELEMENT,ev:null})});return p.observe(this.carouselEle),()=>{p.disconnect()}}).pipe((0,xr.B)(this.resizeTimeout),(0,Wt.M)(()=>{this.beforeElementResize.emit()}));return this.detectElementSizeChange?s:(0,C.of)(null)}getWindowResizeObservable(){return(0,na.R)(window,to.RESIZE).pipe((0,xr.B)(this.resizeTimeout),(0,Sn.T)(l=>({sourceFrom:to.RESIZE,ev:l})),(0,Wt.M)(()=>{this.refreshAutoPlay(),this.beforeWindowResize.emit()}))}initObservableSubscribe(){const s=p=>{(p.sourceFrom===to.INIT||p.sourceFrom===to.CONTENT_CHANGE)&&this.calculateCarouselUnits(),this.measure(),this.setUnitsArrays(),this.calculateUnitsLocation(),this.setUnitsStyle(),this.setActiveIndexSilently(p.sourceFrom===to.INIT?this.extendedConfig.defaultActiveIndex:this.activeIndex),this.setAutoHeight(),this.cdrf.detectChanges(),p.sourceFrom===to.RESIZE&&this.afterWindowResize.emit(),p.sourceFrom===to.RESIZE_BY_ELEMENT&&this.afterElementResize.emit()},l=(0,Qs.h)(this.init$.pipe((0,Sn.T)(p=>({sourceFrom:to.INIT,ev:p}))),this.getWindowResizeObservable(),this.getElementResizeObservable(),this.contentUnits.changes.pipe((0,Sn.T)(p=>({sourceFrom:to.CONTENT_CHANGE,ev:p}))),this.refresh$.pipe((0,Sn.T)(p=>({sourceFrom:to.REFRESH,ev:p})))).subscribe(p=>{p&&s(p)});this.subscriptions.push(l)}setAutoHeight(){this.autoHeight&&this.unitElements.toArray().forEach((s,l)=>{s.nativeElement.style.height=l===this.realActiveIndex?"auto":"0"})}setUnitsStyle(){const s=`calc((100% - ${(this.unitsPerViewNow-1)*this.gapNow}px) / ${this.unitsPerViewNow})`;this.unitsStyle=`margin-left:${this.gapNow}px;width:${s}`,this.firstUnitStyle=`width:${s}`}setTrackStyle(){this.isSliding=!0,this.gsapCollector(vi.os.to(this.trackEle,{translateX:`-${this.unitsLocation[this.realActiveIndex]}px`,duration:this.silently?0:this.transition/1e3,onComplete:()=>{if(this.isSliding=!1,this.loop)if(this.realActiveIndex>=this.prependUnitsArr.length+this.normalUnitsArr.length){const l=(this.realActiveIndex-this.normalUnitsArr.length+1)%this.appendUnitsArr.length-1;this.gsapCollector(vi.os.to(this.trackEle,{translateX:`-${this.unitsLocation[l+this.prependUnitsArr.length]}px`,duration:0,onComplete:()=>{this.setActiveIndexStatically(l)}}))}else if(this.realActiveIndex{this.setActiveIndexStatically(l)}}))}this.silently=!1}}))}getResponsivePropBySection(s,l){const p=this.extendedConfig.responsive||{},I=Object.keys(p).map(Ae=>parseInt(Ae)),X=Object.keys(p).length>0;let ie;if("default"!==l&&X){const Ae=p[l][s],Ue=I.indexOf(l),st=this.getResponsivePropBySection(s,I[Ue-1]||"default");Ae?ie=Ae:st&&(ie=st)}else this.extendedConfig[s]&&(ie=this.extendedConfig[s]);return ie}getResponsiveSectionNow(){const l=Object.keys(this.extendedConfig.responsive||{}).map(I=>parseInt(I));let p="default";return l.length&&l.forEach(I=>{this.windowWidth>=I&&(p=I)}),p}setUnitsArrays(){const s=this.carouselUnits.map((l,p)=>(l.index=p,l.className=this.unitClass,l));this.normalUnitsArr=s,this.extendedConfig.loop&&(this.prependUnitsArr=[...s],this.appendUnitsArr=[...s]),this.allUnitsArr=[...this.prependUnitsArr,...this.normalUnitsArr,...this.appendUnitsArr],this.normalUnits$=(0,C.of)(s),this.prependUnits$=(0,C.of)(this.prependUnitsArr),this.appendUnits$=(0,C.of)(this.appendUnitsArr),this.cdrf.detectChanges()}setAutoPlay(){this.isAutoPlay&&(0===this.autoplayInterval?this.autoplayInterval=setInterval(()=>{"rtl"===this.autoplayDirection?this.prev():"ltr"===this.autoplayDirection&&this.next(),this.cdrf.detectChanges()},this.autoplayPeriod):console.warn("Carousel-frame-alpha:Interval exist, refuse to rebind interval"))}refreshAutoPlay(){this.stopAutoPlay(),this.setAutoPlay()}stopAutoPlay(){clearInterval(this.autoplayInterval),this.autoplayInterval=0}onTouchStart(s){this.draggable&&(this.startX=this.getEventClientX(s),this.clicked$.next(!0))}onTouchMove(s){if(!this.draggable)return;const l=this.getEventClientX(s)-this.startX;this.clicked$.getValue()&&Math.abs(l)>0&&this.dragging$.next(!0),this.dragging$.getValue()&&(this.stopAutoPlay(),this.gsapCollector(vi.os.to(this.trackEle,{translateX:`-${this.unitsLocation[this.realActiveIndex]-l}px`,duration:0})))}onTouchEnd(s){if(!this.draggable)return;const l=this.eleRef.nativeElement,p=this.getEventClientX(s,!0)-this.startX;p/l.offsetWidth>=.1?this.dragByUnitPerView?this.to(this.activeIndex-this.getUnitsPerViewNow()):this.prev():p/l.offsetWidth<=-.1?this.dragByUnitPerView?this.to(this.activeIndex+this.getUnitsPerViewNow()):this.next():this.dragging$.getValue()&&this.to(this.activeIndex),this.dragging$.next(!1),this.clicked$.next(!1),this.setAutoPlay()}onMouseLeave(s){this.dragging$.getValue()&&(this.to(this.activeIndex),this.dragging$.next(!1),this.clicked$.next(!1),this.refreshAutoPlay())}getEventClientX(s,l){return s instanceof TouchEvent?l?s.changedTouches[0].clientX:s.touches[0].clientX:s.clientX}static#e=this.\u0275fac=function(l){return new(l||a)(e.rXU(c.qQ),e.rXU(e.gRc),e.rXU(e.aKT))};static#t=this.\u0275cmp=e.VBU({type:a,selectors:[["app-carousel-frame-alpha"]],contentQueries:function(l,p,I){if(1&l&&e.wni(I,lp,4),2&l){let X;e.mGM(X=e.lsd())&&(p.contentUnits=X)}},viewQuery:function(l,p){if(1&l&&(e.GBs(Ea,5),e.GBs(Bc,5),e.GBs(ev,5),e.GBs(tv,5),e.GBs(nv,5)),2&l){let I;e.mGM(I=e.lsd())&&(p.carouselFrame=I.first),e.mGM(I=e.lsd())&&(p.track=I.first),e.mGM(I=e.lsd())&&(p.defaultNavigation=I.first),e.mGM(I=e.lsd())&&(p.defaultPagination=I.first),e.mGM(I=e.lsd())&&(p.unitElements=I)}},hostBindings:function(l,p){1&l&&e.bIt("touchstart",function(X){return p.onTouchStart(X)})("mousedown",function(X){return p.onTouchStart(X)})("touchmove",function(X){return p.onTouchMove(X)})("mousemove",function(X){return p.onTouchMove(X)})("touchend",function(X){return p.onTouchEnd(X)})("mouseup",function(X){return p.onTouchEnd(X)})("mouseleave",function(X){return p.onMouseLeave(X)})},inputs:{config:"config",unitClass:"unitClass",unitPrevClass:"unitPrevClass",unitActiveClass:"unitActiveClass",unitNextClass:"unitNextClass",unitDuplicateClass:"unitDuplicateClass",unitIsActiveClass:"unitIsActiveClass",unitIsPrevClass:"unitIsPrevClass",unitIsNextClass:"unitIsNextClass",navigationTemplate:"navigationTemplate",paginationTemplate:"paginationTemplate",id:"id"},outputs:{slideChange:"slideChange",navigationTriggered:"navigationTriggered",paginationTriggered:"paginationTriggered",init:"init",beforeWindowResize:"beforeWindowResize",afterWindowResize:"afterWindowResize",beforeElementResize:"beforeElementResize",afterElementResize:"afterElementResize"},decls:17,vars:23,consts:[["carouselFrame",""],["track",""],["unitsTemplate",""],["defaultNavigation",""],["defaultPagination",""],["unitEle",""],[1,"carousel-frame-alpha"],[1,"carousel-frame-alpha__shell"],[1,"carousel-frame-alpha__track"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[4,"ngIf"],[3,"ngClass","style",4,"ngFor","ngForOf"],[3,"ngClass"],[3,"ngTemplateOutlet"],[1,"carousel-frame-alpha__navigation","navigation"],[1,"navigation__prev","prev",3,"click"],["drcCdnSrc","assets/images/carousel/angle-left.svg","alt","",1,"prev__img"],[1,"navigation__next","next",3,"click"],["drcCdnSrc","assets/images/carousel/angle-right.svg","alt","",1,"next__img"],[1,"carousel-frame-alpha__pagination","pagination"],["class","pagination__bullet",3,"pagination__bullet--active","click",4,"ngFor","ngForOf"],[1,"pagination__bullet",3,"click"]],template:function(l,p){if(1&l&&(e.j41(0,"div",6,0),e.nI1(2,"async"),e.j41(3,"div",7)(4,"div",8,1),e.eu8(6,9)(7,9)(8,9),e.k0s(),e.DNE(9,av,2,5,"ng-container",10),e.k0s(),e.DNE(10,cv,2,5,"ng-container",10),e.k0s(),e.DNE(11,Pu,2,3,"ng-template",null,2,e.C5r)(13,Ia,5,0,"ng-template",null,3,e.C5r)(15,dp,2,1,"ng-template",null,4,e.C5r)),2&l){const I=e.sdS(12);e.AVh("carousel-frame-alpha--dragging",e.bMT(2,13,p.dragging$)),e.BMQ("carousel-id",p.carouselId),e.R7$(3),e.xc7("overflow",p.overflow?"hidden":""),e.R7$(3),e.Y8G("ngTemplateOutlet",I)("ngTemplateOutletContext",e.eq3(15,iv,p.prependUnits$)),e.R7$(),e.Y8G("ngTemplateOutlet",I)("ngTemplateOutletContext",e.l_i(17,sv,p.normalUnits$,p.unitsPerViewNow)),e.R7$(),e.Y8G("ngTemplateOutlet",I)("ngTemplateOutletContext",e.l_i(20,rv,p.appendUnits$,p.unitsPerViewNow+p.carouselUnits.length)),e.R7$(),e.Y8G("ngIf",!!p.navigation),e.R7$(),e.Y8G("ngIf",!!p.pagination)}},dependencies:[c.YU,c.Sq,c.bT,c.T3,Gs.f,ms.h,c.Jj],styles:['header[_ngcontent-%COMP%]{z-index:6000}.menu[_ngcontent-%COMP%]{z-index:9000}.pop-bg[_ngcontent-%COMP%]{z-index:8000}.pop-wrap[_ngcontent-%COMP%], .member-menu[_ngcontent-%COMP%], .searchpage[_ngcontent-%COMP%]{z-index:9000}.menu-mask[_ngcontent-%COMP%], .modal[_ngcontent-%COMP%]{z-index:8000}.modal-backdrop[_ngcontent-%COMP%]{z-index:7000}.launch-game-content[_ngcontent-%COMP%]{z-index:8500}.tips-display[_ngcontent-%COMP%]{z-index:8501}.loading-mask[_ngcontent-%COMP%]{z-index:9003}.loader-box[_ngcontent-%COMP%]{z-index:9004!important}.rotating-pop[_ngcontent-%COMP%]{z-index:9002}.game-type-menu[_ngcontent-%COMP%]{z-index:8000}#chat-widget-container[_ngcontent-%COMP%]{z-index:9001!important}[_nghost-%COMP%]{display:block;width:100%}.carousel-frame-alpha[_ngcontent-%COMP%], .carousel-frame-alpha__shell[_ngcontent-%COMP%]{position:relative}.carousel-frame-alpha__track[_ngcontent-%COMP%]{display:flex;align-items:flex-start}.carousel-frame-alpha__unit[_ngcontent-%COMP%]{flex-basis:auto;flex-grow:0;flex-shrink:0;display:block;color:#fff}.carousel-frame-alpha__pagination[_ngcontent-%COMP%]{margin-top:2.6666666667vw}.carousel-frame-alpha__navigation[_ngcontent-%COMP%]{position:absolute;top:50%;transform:translateY(-50%);width:100%;height:8vw;box-sizing:border-box}.carousel-frame-alpha--dragging[_ngcontent-%COMP%]{position:relative}.carousel-frame-alpha--dragging[_ngcontent-%COMP%]:after{content:"";display:block;position:absolute;width:100%;height:100%;left:0;top:0}.navigation[_ngcontent-%COMP%]{display:flex;justify-content:space-between;padding:0 2.6666666667vw;pointer-events:none;-webkit-user-select:none;user-select:none}.navigation__prev[_ngcontent-%COMP%], .navigation__next[_ngcontent-%COMP%]{height:100%;pointer-events:auto}.prev__img[_ngcontent-%COMP%], .next__img[_ngcontent-%COMP%]{height:100%}.pagination[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}.pagination__bullet[_ngcontent-%COMP%]{width:8px;height:8px;background-color:var(--carousel-pagination-bullet, white);border-radius:50%}.pagination__bullet--active[_ngcontent-%COMP%]{background-color:var(--carousel-pagination-bullet-active, greenyellow)}.pagination__bullet[_ngcontent-%COMP%] + .pagination__bullet[_ngcontent-%COMP%]{margin-left:8px}'],changeDetection:0})}return a})();const wC=["hdSponsor"],Th=()=>({language:1,login:2,register:3});function Mh(a,g){if(1&a){const s=e.RV6();e.j41(0,"app-header-inner",12),e.bIt("openSideMenuEvt",function(p){e.eBV(s);const I=e.XpG();return e.Njj(I.openMenu(p))}),e.k0s()}if(2&a){const s=e.XpG();e.Y8G("hasLogout",s.hasLogout)}}function bC(a,g){1&a&&e.nrm(0,"app-jb-footer-inner")}function xC(a,g){if(1&a&&(e.j41(0,"div"),e.DNE(1,bC,1,0,"app-jb-footer-inner",9),e.nI1(2,"async"),e.k0s()),2&a){const s=e.XpG();e.Y8G("@footerFadeInAni",s.isFooterAnimation),e.R7$(),e.Y8G("ngIf",e.bMT(2,2,s.isNeedToShowFooter$))}}function hp(a,g){if(1&a){const s=e.RV6();e.qex(0),e.j41(1,"app-member-menu-inner",14),e.bIt("deactivateMemberMenuInner",function(p){e.eBV(s);const I=e.XpG(2);return e.Njj(I.listenMemberMenuInner(p))}),e.k0s(),e.j41(2,"app-player-toolbar-inner",15),e.bIt("activateMemberMenuInner",function(p){e.eBV(s);const I=e.XpG(2);return e.Njj(I.listenMemberMenuInner(p))}),e.k0s(),e.bVm()}if(2&a){const s=e.XpG(2);e.R7$(),e.Y8G("isActive",s.isMemberMenuInnerActive)}}function uv(a,g){if(1&a){const s=e.RV6();e.j41(0,"app-guest-toolbar",16),e.bIt("activateLanguage",function(p){e.eBV(s);const I=e.XpG(2);return e.Njj(I.listenLanguageMenu(p))}),e.k0s(),e.j41(1,"app-language",17),e.bIt("activateLanguage",function(p){e.eBV(s);const I=e.XpG(2);return e.Njj(I.listenLanguageMenu(p))}),e.k0s()}if(2&a){const s=e.XpG(2);e.Y8G("buttonOrdering",e.lJ4(2,Th)),e.R7$(),e.Y8G("isActive",s.isLanguageMenuActive)}}function dv(a,g){if(1&a&&(e.qex(0),e.DNE(1,hp,3,1,"ng-container",13),e.nI1(2,"async"),e.DNE(3,uv,2,3,"ng-template",null,3,e.C5r),e.bVm()),2&a){const s=e.sdS(4),l=e.XpG();e.R7$(),e.Y8G("ngIf",e.bMT(2,2,l.isLogin$))("ngIfElse",s)}}function hv(a,g){1&a&&e.nrm(0,"img",21)}function fv(a,g){if(1&a&&(e.j41(0,"div",18)(1,"app-carousel-frame-alpha",19,4),e.DNE(3,hv,1,0,"ng-template",20),e.k0s()()),2&a){const s=e.XpG();e.R7$(),e.Y8G("config",s.config)}}vi.os.registerPlugin(Bi.I);let gv=(()=>{class a{prepareRoute(s){return s&&s.activatedRouteData&&s.activatedRouteData.animationState}constructor(s,l,p,I,X,ie,Ae){this.dialogService=s,this.authState=l,this.layoutState=p,this.platformId=I,this.siteSetting=X,this.i18nService=ie,this.routeAnimationService=Ae,this.hdSponsorSubject=new fs.B,this.headerState$=(0,e.WQX)(In.ww),this.liveChatService=(0,e.WQX)(ac.qG),this.elementRef=(0,e.WQX)(e.aKT),this.isMemberMenuInnerActive=!1,this.isLanguageMenuActive=!1,this.isFooterAnimation=!1,this.isLogin$=this.authState.select("isLogin"),this.hasVip=!0,this.hasForum=!1,this.hasService=!0,this.hasAffiliate=!0,this.hasLogout=!1,this.subscriptions=[],this.csLink=this.siteSetting.get("siteSettingModel").csLiveChatLink,this.loadingMaskOptions={poster:"/assets/images/logo.png",logoWidth:"75%"},this.isNeedToShowToolbar$=this.layoutState.select("isNeedToShowToolbar"),this.isNeedToShowHeader$=this.layoutState.select("isNeedToShowHeader"),this.isNeedToShowFooter$=this.layoutState.select("isNeedToShowFooter"),this.contentClass$=this.layoutState.select("contentClass"),this.config={unitsPerView:1,autoplay:!1,loop:!0,resizeTimeout:200,navigation:!1,autoHeight:!1,detectElementSizeChange:!0,gap:0,overflow:!0,draggable:!1,pagination:!1},this.onAffiliateClick=()=>{window.open("https://www.jeetbuzzaff.com/","_blank")},this.onServiceClick=()=>{this.liveChatService.getService("Intercom")?.intercom?.show()},this.hdSponsor$=this.hdSponsorSubject.asObservable()}ngOnInit(){}ngAfterViewInit(){this.connectHeaderSponsor(),this.attachHeaderCustomContent()}ngOnDestroy(){this.subscriptions.forEach(s=>s.unsubscribe())}aniStart(s){this.isFooterAnimation=!1,this.routeAnimationService.layoutAniStart(this.elementRef)}aniEnd(s){this.isFooterAnimation=!0,this.routeAnimationService.layoutAniEnd(this.elementRef),this.routeAnimationService.goTop()}listenMemberMenuInner(s){this.isMemberMenuInnerActive=s}listenLanguageMenu(s){this.isLanguageMenuActive=s}openMenu(s){const l=this.siteSetting.get("siteSettingModel").isEnabledRafCommission,p=this.dialogService.openDialog(Vm,{data:{hasReferralProgramPromotion:l,hasVip:this.hasVip,hasForum:this.hasForum,hasAffiliate:this.hasAffiliate,hasService:this.hasService,hasAmbassador:!0,hasCSLink:{title:"24/7 LiveChat",content:this.i18nService.translate("ui.member_menu.text.provide_quality_service"),link:`${this.csLink}`},casinoDirectToVendorPage:!0,onAffiliateClick:this.onAffiliateClick,onServiceClick:this.onServiceClick}}).subscribe();this.subscriptions.push(p)}attachHeaderCustomContent(){this.hdSponsorSubject.next(this.hdSponsorTemplate)}connectHeaderSponsor(){this.headerState$.connect("customExtraContentSponsor",this.hdSponsor$)}static#e=this.\u0275fac=function(l){return new(l||a)(e.rXU(de.o),e.rXU(Oi.H),e.rXU(In.Tl),e.rXU(e.Agw),e.rXU(Qn.p),e.rXU(A.JO),e.rXU(bt.V))};static#t=this.\u0275cmp=e.VBU({type:a,selectors:[["ng-component"]],viewQuery:function(l,p){if(1&l&&e.GBs(wC,5),2&l){let I;e.mGM(I=e.lsd())&&(p.hdSponsorTemplate=I.first)}},inputs:{isMemberMenuInnerActive:"isMemberMenuInnerActive",isLanguageMenuActive:"isLanguageMenuActive"},decls:18,vars:19,consts:[["layoutWrap",""],["outlet","outlet"],["hdSponsor",""],["another",""],["carouselTemplate",""],[3,"hasLogout","openSideMenuEvt",4,"ngIf"],[3,"transformX","transformY"],[1,"wrap"],[1,"content"],[4,"ngIf"],[3,"isShow"],[3,"options","isShowLoadingLogo"],[3,"openSideMenuEvt","hasLogout"],[4,"ngIf","ngIfElse"],[3,"deactivateMemberMenuInner","isActive"],[3,"activateMemberMenuInner"],[3,"activateLanguage","buttonOrdering"],[3,"activateLanguage","isActive"],[1,"hd-spon"],[3,"config"],["drcCarouselUnit",""],["drcCdnSrc","/assets/images/sponsor/delhi-bulls.png","alt","icon-sponsor",1,"hd-spon__icon"]],template:function(l,p){if(1&l){const I=e.RV6();e.DNE(0,Mh,1,1,"app-header-inner",5),e.nI1(1,"async"),e.nrm(2,"app-gotop",6),e.j41(3,"div",7,0)(5,"div",8),e.nI1(6,"async"),e.j41(7,"div"),e.bIt("@routeLayoutPageAni.start",function(ie){return e.eBV(I),e.Njj(p.aniStart(ie))})("@routeLayoutPageAni.done",function(ie){return e.eBV(I),e.Njj(p.aniEnd(ie))}),e.nrm(8,"router-outlet",null,1),e.k0s()(),e.DNE(10,xC,3,4,"div",9),e.k0s(),e.nrm(11,"app-float-banner",10),e.nI1(12,"async"),e.DNE(13,dv,5,4,"ng-container",9),e.nI1(14,"async"),e.nrm(15,"app-loading-mask",11),e.DNE(16,fv,4,1,"ng-template",null,2,e.C5r)}if(2&l){const I=e.sdS(9);e.Y8G("ngIf",e.bMT(1,11,p.isNeedToShowHeader$)),e.R7$(2),e.Y8G("transformX",-10)("transformY",0),e.R7$(3),e.HbH(e.bMT(6,13,p.contentClass$)),e.R7$(2),e.Y8G("@routeLayoutPageAni",p.prepareRoute(I)),e.R7$(3),e.Y8G("ngIf",p.isFooterAnimation),e.R7$(),e.Y8G("isShow",e.bMT(12,15,p.isNeedToShowFooter$)),e.R7$(2),e.Y8G("ngIf",e.bMT(14,17,p.isNeedToShowToolbar$)),e.R7$(2),e.Y8G("options",p.loadingMaskOptions)("isShowLoadingLogo",!0)}},dependencies:[c.bT,V.n3,ea,CC,kg,Ug,gg.i,rp,Rh,ap,hc,Gs.f,ms.h,NC,lp,c.Jj],data:{animation:[No.J5,No.JI]},changeDetection:0})}return a})();var Nh=o(25517);let fp=(()=>{class a{preload(s,l){return(0,C.of)(null)}static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();var pv=o(29655),Lu=o(18810);let wh=(()=>{class a{constructor(){this.httpClient=(0,e.WQX)(pv.t)}static#e=this.GET_AFFILIATE_LANDING_INFO="/api/bt/v1/affiliate/getAffiliateLandingInfo";getAffiliateLandingInfo(s,l,p={}){const I={afCode:s,afKeyword:encodeURIComponent(l||""),...p};return this.httpClient.post(a.GET_AFFILIATE_LANDING_INFO,I).pipe((0,pn.n)(X=>X.data?(0,C.of)(X.data):(0,Lu.$)(()=>new Error(X.message||X.error))))}static#t=this.\u0275fac=function(l){return new(l||a)};static#n=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();var Sl=o(983);let gp=(()=>{class a{constructor(){this.affiliateService=(0,e.WQX)(wh),this.router=(0,e.WQX)(V.Ix),this.defaultUrlSerializer=(0,e.WQX)(V.nU)}resolve(s,l){const p=s.params.afCode,I=s.params.afKeyword,X=s.queryParams;return console.log("af link req",{afCode:p,afKeyword:I,queryParams:X}),this.affiliateService.getAffiliateLandingInfo(p,I,X).pipe((0,pn.n)(ie=>{const Ae=this.defaultUrlSerializer.parse(l.url),Ue=[ui.C.LANDING_PAGE.link,ie.landingPageType];ie.isInternal||Ue.push(ie.correctAfCode);const st=this.router.createUrlTree(Ue,{queryParams:Ae.queryParams});return console.log(`Redirect from ${Ae} to ${st}`),this.router.navigateByUrl(st),Sl.w}),(0,S.W)(ie=>(console.error(ie),this.router.navigateByUrl(ui.C.NOT_FOUND.link),Sl.w)))}static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),bh=(()=>{class a{static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275cmp=e.VBU({type:a,selectors:[["app-af"]],standalone:!0,features:[e.aNF],decls:0,vars:0,template:function(l,p){},encapsulation:2})}return a})();var kc=o(13978);const fc=[{path:"",children:[{path:Se.J.WALLET_DEPOSIT_THIRD_PARTY_RESULT.routingPath,loadChildren:()=>Promise.all([o.e(9417),o.e(1470),o.e(1402),o.e(998),o.e(4897),o.e(3874),o.e(2792),o.e(9981),o.e(6421),o.e(6182),o.e(3038)]).then(o.bind(o,73038)).then(a=>a.DepositThirdPartyResultModule)},{path:Se.J.OPEN_GAME_PAGE.routingPath,loadChildren:()=>Promise.all([o.e(2586),o.e(6435),o.e(9679)]).then(o.bind(o,89679)).then(a=>a.OpenGameModule)},{path:Se.J.IP_BLOCK.routingPath,loadChildren:()=>o.e(2225).then(o.bind(o,32225)).then(a=>a.IpBlockModule)},{path:`${ui.C.SYSTEM_MAINTAIN.routingPath}/:sDate/:eDate`,loadComponent:()=>o.e(5494).then(o.bind(o,25494)).then(a=>a.SystemMaintainComponent)},{path:Se.J.BRAND_MAINTAIN.routingPath,loadChildren:()=>o.e(4743).then(o.bind(o,4743)).then(a=>a.BrandMaintainModule)},{path:Se.J.PROVIDER_MAINTAIN.routingPath,loadChildren:()=>o.e(6885).then(o.bind(o,86885)).then(a=>a.ProviderMaintainModule)},{path:Se.J.AF_LINK.routingPath,resolve:{data:gp},component:bh},{path:Se.J.LANDING_PAGE.routingPath,loadChildren:()=>o.e(2220).then(o.bind(o,62220)).then(a=>a.LandingPageModule)},{path:Se.J.APP_DOWNLOAD.routingPath,loadChildren:()=>o.e(5651).then(o.bind(o,5651)).then(a=>a.AppDownloadModule)},{path:Se.J.NOT_FOUND.routingPath,loadChildren:()=>o.e(6696).then(o.bind(o,36696)).then(a=>a.NotFoundModule)},{path:"member",canActivateChild:[Nh.q],children:[{path:Se.J.RESET_PASSWORD_PAGE.routingPath,data:{animationState:"PlayerLayout"},loadChildren:()=>Promise.all([o.e(9417),o.e(1470),o.e(1402),o.e(998),o.e(4897),o.e(3874),o.e(8358)]).then(o.bind(o,8358)).then(a=>a.ResetPasswordModule)},{path:Se.J.TRANSACTION_RESULT.routingPath,data:{animationState:"PlayerLayout"},loadChildren:()=>Promise.all([o.e(9417),o.e(1470),o.e(1402),o.e(9981),o.e(2586),o.e(2076),o.e(7203)]).then(o.bind(o,7203)).then(a=>a.TransactionResultModule)}]},{path:"",component:gv,data:{animationFullPage:"MainPage"},children:[{path:Se.J.MAIN.routingPath,data:{animationState:"MainLayout",preload:!0,casinoDirectToVendorPage:!0},loadChildren:()=>Promise.all([o.e(364),o.e(8882)]).then(o.bind(o,98882)).then(a=>a.MainModule)},{path:Se.J.LOGIN.routingPath,data:{animationState:"RegisterLayout",preload:!0},loadChildren:()=>Promise.all([o.e(9417),o.e(1470),o.e(1402),o.e(998),o.e(4897),o.e(3874),o.e(2017),o.e(4075),o.e(1225)]).then(o.bind(o,61225)).then(a=>a.LoginModule)},{path:Se.J.REGISTER.routingPath,data:{animationState:"RegisterLayout",preload:!0},canActivate:[da],loadChildren:()=>Promise.all([o.e(9417),o.e(1470),o.e(1402),o.e(998),o.e(4897),o.e(3874),o.e(364),o.e(7645),o.e(2076),o.e(9410)]).then(o.bind(o,59410)).then(a=>a.RegisterBetaModule)},{path:Se.J.LOGINNEW_QUICK_ACCOUNT.routingPath,data:{animationState:"RegisterLayout",preload:!0},loadChildren:()=>Promise.all([o.e(9417),o.e(1470),o.e(1402),o.e(998),o.e(4897),o.e(3874),o.e(2017),o.e(4075),o.e(2076),o.e(7604)]).then(o.bind(o,17604)).then(a=>a.QuickLoginAccountModule)},{path:Se.J.REGISTERNEW_QUICK_ACCOUNT.routingPath,redirectTo:Se.J.REGISTERNEW_THIRDPARTY.routingPath},{path:Se.J.REGISTERNEW_QUICK.routingPath,redirectTo:Se.J.REGISTERNEW_THIRDPARTY.routingPath},{path:Se.J.REGISTERNEW_THIRDPARTY.routingPath,data:{animationState:"RegisterLayout",preload:!0},canActivate:[da],loadChildren:()=>Promise.all([o.e(9417),o.e(1470),o.e(1402),o.e(998),o.e(4897),o.e(3874),o.e(364),o.e(7645),o.e(8466),o.e(2076),o.e(8631)]).then(o.bind(o,98631)).then(a=>a.QuickRegisterEntryModule)},{path:Se.J.REGISTERNEW_VERIFY_CODE.routingPath,data:{animationState:"RegisterLayout",preload:!0},loadChildren:()=>Promise.all([o.e(9417),o.e(1470),o.e(1402),o.e(998),o.e(4897),o.e(3874),o.e(364),o.e(7645),o.e(8466),o.e(2076),o.e(8631)]).then(o.bind(o,98631)).then(a=>a.VerifyCodeModule)},{path:Se.J.REGISTERNEW_SUCCESS_PAGE.routingPath,data:{animationState:"RegisterLayout",preload:!0},loadChildren:()=>Promise.all([o.e(9417),o.e(1470),o.e(1402),o.e(998),o.e(4897),o.e(3874),o.e(364),o.e(7645),o.e(8466),o.e(2076),o.e(8631)]).then(o.bind(o,98631)).then(a=>a.SuccessPageModule)},{path:Se.J.REGISTERNEW_RESET_PASSWORD.routingPath,data:{animationState:"RegisterLayout",preload:!0},loadChildren:()=>Promise.all([o.e(9417),o.e(1470),o.e(1402),o.e(998),o.e(4897),o.e(3874),o.e(364),o.e(7645),o.e(8466),o.e(2076),o.e(8631)]).then(o.bind(o,98631)).then(a=>a.QuickRegisterResetPasswordModule)},{path:Se.J.FORGOT_PASSWORD.routingPath,data:{animationState:"RegisterLayout"},loadChildren:()=>Promise.all([o.e(2076),o.e(3368)]).then(o.bind(o,3368)).then(a=>a.ForgotPasswordModule)},{path:Se.J.PROMOTION.routingPath,data:{animationState:"GuestLayout",preload:!0},loadChildren:()=>Promise.all([o.e(9417),o.e(7191),o.e(5366),o.e(8810)]).then(o.bind(o,28810)).then(a=>a.PromotionV2Module)},{path:Se.J.SLOT.routingPath,data:{animationState:"GuestLayout"},loadChildren:()=>Promise.all([o.e(9417),o.e(7191),o.e(5366),o.e(6328),o.e(2076),o.e(8433)]).then(o.bind(o,38433)).then(a=>a.SlotModule)},{path:Se.J.CASINO.routingPath,data:{animationState:"GuestLayout"},loadChildren:()=>Promise.all([o.e(9417),o.e(7191),o.e(5366),o.e(6328),o.e(1081)]).then(o.bind(o,1081)).then(a=>a.CasinoModule)},{path:Se.J.TABLE.routingPath,data:{animationState:"GuestLayout"},loadChildren:()=>Promise.all([o.e(9417),o.e(7191),o.e(5366),o.e(6328),o.e(5178)]).then(o.bind(o,95178)).then(a=>a.TableModule)},{path:Se.J.LOTTERY.routingPath,data:{animationState:"GuestLayout"},loadChildren:()=>Promise.all([o.e(9417),o.e(7191),o.e(5366),o.e(6328),o.e(4495)]).then(o.bind(o,34495)).then(a=>a.LotteryModule)},{path:Se.J.ARCADE.routingPath,data:{animationState:"GuestLayout"},loadChildren:()=>Promise.all([o.e(9417),o.e(7191),o.e(5366),o.e(6328),o.e(2076),o.e(6490)]).then(o.bind(o,26490)).then(a=>a.ArcadeModule)},{path:Se.J.FISHING.routingPath,data:{animationState:"GuestLayout"},loadChildren:()=>Promise.all([o.e(9417),o.e(7191),o.e(5366),o.e(6328),o.e(635)]).then(o.bind(o,10635)).then(a=>a.FishModule)},{path:Se.J.CRASH.routingPath,data:{animationState:"GuestLayout"},loadChildren:()=>Promise.all([o.e(9417),o.e(7191),o.e(5366),o.e(6328),o.e(4571)]).then(o.bind(o,54571)).then(a=>a.CrashModule)},{path:"vip-detail",data:{animationState:"GuestLayout"},loadChildren:()=>Promise.all([o.e(4979),o.e(4123)]).then(o.bind(o,44123)).then(a=>a.VipDetailIframeModule)},{path:Se.J.REFERRAL_PROGRAM.routingPath,data:{animationState:"GuestLayout"},canMatch:[()=>(0,e.WQX)(Qn.p).get("siteSettingModel").isEnabledRafCommission],loadChildren:()=>Promise.all([o.e(2076),o.e(298)]).then(o.bind(o,30298)).then(a=>a.ReferralProgramEntryModule)},{path:Se.J.AMBASSADOR.routingPath,data:{animationState:"GuestLayout"},loadChildren:()=>Promise.all([o.e(4979),o.e(6027)]).then(o.bind(o,26027)).then(a=>a.AmbassadorIframeModule)},{path:"member",canActivateChild:[Nh.q],children:[{path:Se.J.CHANGE_PASSWORD.routingPath,data:{animationState:"PlayerLayout"},loadChildren:()=>Promise.all([o.e(9417),o.e(1470),o.e(1402),o.e(998),o.e(4897),o.e(3874),o.e(6691)]).then(o.bind(o,6691)).then(a=>a.ChangePasswordModule)},{path:Se.J.VIP_INFO.routingPath,data:{animationState:"PlayerLayout"},loadChildren:()=>o.e(9951).then(o.bind(o,29951)).then(a=>a.VipInfoModule)},{path:Se.J.PROFILE.routingPath,data:{animationState:"PlayerLayout"},loadChildren:()=>Promise.all([o.e(9417),o.e(1470),o.e(1402),o.e(998),o.e(4897),o.e(3874),o.e(7191),o.e(2792),o.e(2832),o.e(2076),o.e(1483)]).then(o.bind(o,41483)).then(a=>a.ProfileModule)},{path:Se.J.PROFILENEW.routingPath,data:{animationState:"PlayerLayout"},loadChildren:()=>Promise.all([o.e(9417),o.e(7191),o.e(2792),o.e(2832),o.e(7026),o.e(3199)]).then(o.bind(o,13199)).then(a=>a.ProfileInfoModule)},{path:Se.J.PROFILENEW_ADD_FULLNAME.routingPath,data:{animationState:"PlayerLayout",fieldType:kc.P.FULL_NAME},loadChildren:()=>Promise.all([o.e(9417),o.e(1470),o.e(1402),o.e(998),o.e(4897),o.e(3874),o.e(7191),o.e(2792),o.e(2832),o.e(7026),o.e(8466),o.e(2076),o.e(5478)]).then(o.bind(o,49950)).then(a=>a.ProfileInfoAddonModule)},{path:Se.J.PROFILENEW_ADD_BIRTHDAY.routingPath,data:{animationState:"PlayerLayout",fieldType:kc.P.BIRTHDAY},loadChildren:()=>Promise.all([o.e(9417),o.e(1470),o.e(1402),o.e(998),o.e(4897),o.e(3874),o.e(7191),o.e(2792),o.e(2832),o.e(7026),o.e(8466),o.e(2076),o.e(5478)]).then(o.bind(o,49950)).then(a=>a.ProfileInfoAddonModule)},{path:Se.J.PROFILENEW_ADD_EMAIL.routingPath,data:{animationState:"PlayerLayout",fieldType:kc.P.EMAIL},loadChildren:()=>Promise.all([o.e(9417),o.e(1470),o.e(1402),o.e(998),o.e(4897),o.e(3874),o.e(7191),o.e(2792),o.e(2832),o.e(7026),o.e(8466),o.e(2076),o.e(5478)]).then(o.bind(o,49950)).then(a=>a.ProfileInfoAddonModule)},{path:Se.J.PROFILENEW_VERIFY_EMAIL.routingPath,data:{animationState:"PlayerLayout",fieldType:kc.P.EMAIL,isVerify:!0},loadChildren:()=>Promise.all([o.e(9417),o.e(1470),o.e(1402),o.e(998),o.e(4897),o.e(3874),o.e(7191),o.e(2792),o.e(2832),o.e(7026),o.e(8466),o.e(2076),o.e(5478)]).then(o.bind(o,49950)).then(a=>a.ProfileInfoAddonModule)},{path:Se.J.PROFILENEW_ADD_PHONE.routingPath,data:{animationState:"PlayerLayout",fieldType:kc.P.PHONE},loadChildren:()=>Promise.all([o.e(9417),o.e(1470),o.e(1402),o.e(998),o.e(4897),o.e(3874),o.e(7191),o.e(2792),o.e(2832),o.e(7026),o.e(8466),o.e(2076),o.e(5478)]).then(o.bind(o,49950)).then(a=>a.ProfileInfoAddonModule)},{path:Se.J.PROFILENEW_VERIFY_PHONE.routingPath,data:{animationState:"PlayerLayout",fieldType:kc.P.PHONE,isVerify:!0},loadChildren:()=>Promise.all([o.e(9417),o.e(1470),o.e(1402),o.e(998),o.e(4897),o.e(3874),o.e(7191),o.e(2792),o.e(2832),o.e(7026),o.e(8466),o.e(2076),o.e(5478)]).then(o.bind(o,49950)).then(a=>a.ProfileInfoAddonModule)},{path:Se.J.PROFILENEW_VERIFY_CODE.routingPath,data:{animationState:"PlayerLayout"},loadChildren:()=>Promise.all([o.e(9417),o.e(1470),o.e(1402),o.e(998),o.e(4897),o.e(3874),o.e(7191),o.e(2792),o.e(2832),o.e(7026),o.e(8466),o.e(2076),o.e(5478)]).then(o.bind(o,49950)).then(a=>a.VerifyCodeModule)},{path:Se.J.WALLET.routingPath,data:{animationState:"PlayerLayout",autoGotoTransactionPage:!0,isEnableShowBonusAmount:!0},loadChildren:()=>Promise.all([o.e(9417),o.e(1470),o.e(1402),o.e(998),o.e(4897),o.e(3874),o.e(2792),o.e(9981),o.e(6421),o.e(6182),o.e(2076),o.e(633)]).then(o.bind(o,60633)).then(a=>a.WalletModule)},{path:Se.J.MY_BONUSES.routingPath,data:{animationState:"PlayerLayout"},loadChildren:()=>Promise.all([o.e(2076),o.e(8323)]).then(o.bind(o,88323)).then(a=>a.MyBonusesModule)},{path:Se.J.TURNOVER.routingPath,data:{animationState:"PlayerLayout"},loadChildren:()=>Promise.all([o.e(2076),o.e(5437)]).then(o.bind(o,47818)).then(a=>a.TurnoverModule)},{path:Se.J.BETTING_RECORDS.routingPath,data:{animationState:"PlayerLayout"},loadChildren:()=>Promise.all([o.e(9417),o.e(7191),o.e(2076),o.e(7547)]).then(o.bind(o,57547)).then(a=>a.BettingRecordsModule)},{path:Se.J.TRANSACTION_RECORDS.routingPath,data:{animationState:"PlayerLayout"},loadChildren:()=>Promise.all([o.e(9417),o.e(1470),o.e(1402),o.e(998),o.e(7191),o.e(5366),o.e(9981),o.e(6370),o.e(5125),o.e(2076),o.e(5937)]).then(o.bind(o,75937)).then(a=>a.TransactionRecordsModule)},{path:Se.J.VIP_POINTS_RECORDS.routingPath,data:{animationState:"PlayerLayout"},loadChildren:()=>Promise.all([o.e(2076),o.e(4798)]).then(o.bind(o,44798)).then(a=>a.VipPointsRecordsModule)},{path:Se.J.VIP_POINTS_EXCHANGE.routingPath,data:{animationState:"PlayerLayout",vipOpen:!0},loadChildren:()=>Promise.all([o.e(9417),o.e(2076),o.e(5019)]).then(o.bind(o,85019)).then(a=>a.VipPointsExchangeModule)},{path:Se.J.VIP_HISTORY.routingPath,data:{animationState:"PlayerLayout"},loadChildren:()=>Promise.all([o.e(2076),o.e(5351)]).then(o.bind(o,35351)).then(a=>a.VipHistoryModule)},{path:Se.J.VERIFY_BANK.routingPath,data:{animationState:"PlayerLayout"},loadChildren:()=>Promise.all([o.e(9417),o.e(1470),o.e(1402),o.e(998),o.e(4897),o.e(3874),o.e(229),o.e(2017),o.e(4782),o.e(2076),o.e(4560)]).then(o.bind(o,54560)).then(a=>a.VerifyBankModule)},{path:Se.J.VERIFY_DOCUMENT.routingPath,data:{animationState:"PlayerLayout"},loadChildren:()=>Promise.all([o.e(9417),o.e(1470),o.e(1402),o.e(998),o.e(4897),o.e(3874),o.e(7191),o.e(229),o.e(4782),o.e(6707)]).then(o.bind(o,96707)).then(a=>a.VerifyDocumentModule)},{path:Se.J.VERIFY_CRYPTOCURRENCIES.routingPath,data:{animationState:"PlayerLayout"},loadChildren:()=>Promise.all([o.e(9417),o.e(1470),o.e(1402),o.e(998),o.e(4897),o.e(3874),o.e(229),o.e(2017),o.e(4782),o.e(6421),o.e(4030),o.e(5307)]).then(o.bind(o,5307)).then(a=>a.VerifyCryptocurrenciesModule)},{path:Se.J.VERIFY_E_WALLETS.routingPath,data:{animationState:"PlayerLayout"},loadChildren:()=>Promise.all([o.e(9417),o.e(1470),o.e(1402),o.e(998),o.e(4897),o.e(3874),o.e(229),o.e(2017),o.e(4782),o.e(6421),o.e(4030),o.e(5987)]).then(o.bind(o,35987)).then(a=>a.VerifyEWalletsModule)},{path:Se.J.VERIFY_UPI.routingPath,data:{animationState:"PlayerLayout"},loadChildren:()=>Promise.all([o.e(9417),o.e(1470),o.e(1402),o.e(998),o.e(4897),o.e(3874),o.e(229),o.e(2017),o.e(4782),o.e(171)]).then(o.bind(o,90171)).then(a=>a.VerifyUPIModule)},{path:Se.J.VERIFICATION_OTP.routingPath,data:{animationState:"PlayerLayout"},loadChildren:()=>Promise.all([o.e(9417),o.e(1470),o.e(4897),o.e(229),o.e(5474)]).then(o.bind(o,35474)).then(a=>a.VerificationOtpModule)},{path:Se.J.INBOX.routingPath,data:{animationState:"PlayerLayout"},loadChildren:()=>Promise.all([o.e(2076),o.e(9884)]).then(o.bind(o,89884)).then(a=>a.InboxModule)},{path:Se.J.REFERRAL.routingPath,data:{animationState:"PlayerLayout",supportRecord:!0},loadChildren:()=>Promise.all([o.e(2076),o.e(6514)]).then(o.bind(o,6514)).then(a=>a.ReferralModule)},{path:Se.J.BIOMETRIC.routingPath,data:{animationState:"PlayerLayout"},loadChildren:()=>Promise.all([o.e(9417),o.e(1470),o.e(1402),o.e(998),o.e(3874),o.e(2536)]).then(o.bind(o,12536)).then(a=>a.BiometricModule)},{path:"**",redirectTo:"/not-found"}]}]},{path:"**",redirectTo:"/not-found"}]}];let pp=(()=>{class a{static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({imports:[V.iI.forRoot(fc,{paramsInheritanceStrategy:"always",preloadingStrategy:fp}),V.iI]})}return a})();var _p=o(76672),xh=o(77217);const Fu=new e.nKC(""),mp=new e.nKC("");let _v=(()=>{class a{static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({providers:[_p.g,{provide:mp,useValue:se.c.production},{provide:Fu,useValue:y.t.resourceKeyArray},{provide:A.Ll,useFactory:ee,deps:[Fu,mp,_p.g]}],imports:[xh.N.forRoot({i18nKeyCustomizerConfig:{customizeByCurrencyType:[{originI18nKey:"ui.global.field.finance_code",customI18nKey:"bdt.ui.global.field.finance_code",currencyTypeList:[Rn.U.BDT]}]}})]})}return a})();var Fo=o(18287);let mv=(()=>{class a{static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({imports:[c.MD,Fo.m,V.iI,A.Q8]})}return a})();var Uc=o(85571);let PC=(()=>{class a{static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({imports:[c.MD,V.iI,A.Q8,Uc.E]})}return a})(),LC=(()=>{class a{static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({imports:[c.MD,Fo.m,A.Q8]})}return a})();var Rl=o(57761);let vv=(()=>{class a{static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({imports:[c.MD,Fo.m,A.Q8,Rl.a]})}return a})();var Ev=o(39101);let Iv=(()=>{class a{static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({imports:[c.MD,A.Q8,Ev.R]})}return a})();var Bu=o(89558);let Cv=(()=>{class a{static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({imports:[c.MD,A.Q8,mv,PC,Fo.m,V.iI,LC,vv,Iv,Bu.K]})}return a})();var vp=o(88417),Ep=o(58317),gc=o(97944);let Dv=(()=>{class a{static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({imports:[c.MD,V.iI,A.Q8,vp.x,Ep.x,Fo.m,gc.L,Uc.E]})}return a})(),Av=(()=>{class a{static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({imports:[c.MD,A.Q8,V.iI,Fo.m,Bu.K]})}return a})();var Ph=o(71769);let FC=(()=>{class a{static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({imports:[c.MD,A.Q8,V.iI,gc.L,Uc.E,Ph.L]})}return a})(),BC=(()=>{class a{static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({imports:[c.MD,Fo.m]})}return a})(),Lh=(()=>{class a{static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({imports:[c.MD]})}return a})();var kC=o(66233);let UC=(()=>{class a{static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({imports:[c.MD,A.Q8,V.iI,kC.x,Bu.K,gc.L,Uc.E]})}return a})();var GC=o(92455);let WC=(()=>{class a{static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({imports:[c.MD,Fo.m,GC.i]})}return a})();var VC=o(12871),Ip=o(59574),ku=o(73078);let Uu=(()=>{class a{static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({imports:[c.MD,A.Q8,V.iI,Fo.m,VC.s,gc.L,Uc.E,Ip.$,ku.N]})}return a})();var Fh=o(2425);const Gu={[Rn.U.BDT.name]:[{gameType:Pn.Z.SLOT,vendorCode:"AWCV2_JILI",vendorName:"JILI",gameCode:"JILI-SLOT-120",gameId:148853,gameName:"Super Ace Jeetbuzz",imagePath:{sideMenu:"assets/images/exclusivegames/bdt/main/exclusive-super-ace.png",main:"assets/images/exclusivegames/default/main/exclusive-super-ace.jpg"}},{gameType:Pn.Z.SLOT,vendorCode:"AWCV2_YESBINGO",vendorName:"YESBINGO",gameCode:"YesBingo-SLOT-033",gameId:150120,gameName:"Crazy Money JB",imagePath:{sideMenu:"assets/images/exclusivegames/bdt/main/exclusive-crazy-money.png",main:"assets/images/exclusivegames/default/main/exclusive-crazy-money.jpg"}}],[Rn.U.INR.name]:[{gameType:Pn.Z.SLOT,vendorCode:"AWCV2_JILI",vendorName:"JILI",gameCode:"JILI-SLOT-120",gameId:148853,gameName:"Super Ace Jeetbuzz",imagePath:{sideMenu:"assets/images/exclusivegames/inr/main/exclusive-super-ace.png",main:"assets/images/exclusivegames/default/main/exclusive-super-ace.jpg"}},{gameType:Pn.Z.SLOT,vendorCode:"AWCV2_YESBINGO",vendorName:"YESBINGO",gameCode:"YesBingo-SLOT-033",gameId:150120,gameName:"Crazy Money JB",imagePath:{sideMenu:"assets/images/exclusivegames/bdt/main/exclusive-crazy-money.png",main:"assets/images/exclusivegames/default/main/exclusive-crazy-money.jpg"}}],[Rn.U.PKR.name]:[{gameType:Pn.Z.SLOT,vendorCode:"AWCV2_JILI",vendorName:"JILI",gameCode:"JILI-SLOT-120",gameId:148853,gameName:"Super Ace Jeetbuzz",imagePath:{sideMenu:"assets/images/exclusivegames/pkr/main/exclusive-super-ace.png",main:"assets/images/exclusivegames/default/main/exclusive-super-ace.jpg"}},{gameType:Pn.Z.SLOT,vendorCode:"AWCV2_YESBINGO",vendorName:"YESBINGO",gameCode:"YesBingo-SLOT-033",gameId:150120,gameName:"Crazy Money JB",imagePath:{sideMenu:"assets/images/exclusivegames/bdt/main/exclusive-crazy-money.png",main:"assets/images/exclusivegames/default/main/exclusive-crazy-money.jpg"}}]};let Cp=(()=>{class a{static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({providers:[{provide:xo,useFactory:()=>!0},{provide:Wg,useFactory:()=>({userNameFoolProof:!0,customRafCommissionLink:(0,e.WQX)(Qn.p).get("siteSettingModel").isEnabledRafCommission?`${Se.J.REFERRAL_PROGRAM_DETAILS.link}`:`${Se.J.REFERRAL.link}`})},{provide:In.$D,useValue:s=>{let l=Gu.default;return s&&(l=Gu[s.name]),l||Gu.default||[]}}],imports:[c.MD,V.iI,Dv,Cv,FC,Av,Ep.x,Uu,UC,BC,Lh,WC,Fo.m,Fh.R]})}return a})(),Rv=(()=>{class a{static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({imports:[c.MD,A.Q8,gc.L]})}return a})();var Bh=o(31635);const Lr=new e.nKC("hj-window",{factory:()=>function Gc(a){return(0,c.UE)(a)?window:null}((0,e.WQX)(e.Agw))}),Dp=new e.nKC("ngx-hj-fn",{providedIn:"root",factory:()=>function Bo(a){return a?a.hj:null}((0,e.WQX)(Lr))}),Ap=new e.nKC("ngx-hotjar-settings",{factory:()=>({trackingCode:"",version:6,ennableTracing:!1})});let Sp=(()=>{class a{constructor(s,l){this._hj=s,this.settings=l}get lib(){return this._hj}hj(...s){try{this._hj(...s)}catch(l){((0,e.naY)()||this.settings.ennableTracing)&&console.error(l.message)}}virtualPageView(s){this.hj("vpv",s)}trigger(s){this.hj("trigger",s)}tagRecording(s,...l){Array.isArray(s)||(s=[s]),this.hj("tagRecording",s.concat(...l))}stateChange(s){this.hj("stateChange",s)}formSubmitSuccessful(){this.hj("formSubmitSuccessful")}formSubmitFailed(){this.hj("formSubmitFailed")}}return a.\u0275prov=(0,e.jDH)({factory:function(){return new a((0,e.KVO)(Dp),(0,e.KVO)(Ap))},token:a,providedIn:"root"}),a})();const $C={provide:e.iLQ,multi:!0,useFactory:function HC(a){return g=>(0,Bh.sH)(this,void 0,void 0,function*(){const l=g.injector.get(V.Ix).events.subscribe(p=>{p instanceof V.wF&&a.stateChange(p.urlAfterRedirects)});g.onDestroy(()=>l.unsubscribe())})},deps:[Sp]},Rp={provide:e.hnV,multi:!0,useFactory:function Op(a,g,s){return()=>(0,Bh.sH)(this,void 0,void 0,function*(){if(!a.trackingCode)return void((0,e.naY)()&&console.error("Empty tracking code for Hotjar. Make sure to provide one when initializing NgxHotjarModule."));if(!g)return void((0,e.naY)()&&console.error("Was not possible to access `document` instance. Make shure this environment works on a Broser like API"));if(!s)return void((0,e.naY)()&&console.error("Was not possible to access `window` api. Make sure this environment works like a browser."));Object.defineProperty(s,"hj",{value:s.hj||function(){(s.hj.q=s.hj.q||[]).push(arguments)},configurable:!0,writable:!0}),Object.defineProperty(s,"_hjSettings",{value:{hjid:a.trackingCode,hjsv:a.version||6},configurable:!0,writable:!0});const l=g.querySelector("head"),p=g.createElement("script"),I=`https://static.hotjar.com/c/hotjar-${s._hjSettings.hjid}.js?sv=${s._hjSettings.hjsv}`;p.async=!0,p.src=a.uri||I,l.appendChild(p)})},deps:[Ap,c.qQ,Lr]};class yp{static forRoot(g,s=6,l){return{ngModule:yp,providers:[{provide:Ap,useValue:{trackingCode:g,version:s,uri:l}},Rp]}}}const Wu=new e.nKC("MS_CLARITY_CONFIG");let Vu=(()=>{class a{constructor(){this.isPlatformBrowser=(0,c.UE)((0,e.WQX)(e.Agw)),this.config=(0,e.WQX)(Wu),this.inited=!1}get browserGlobals(){return{windowRef:()=>window,documentRef:()=>document}}addClarityToDom(){return this.isPlatformBrowser?new Promise((s,l)=>{if(this.inited)return s(this.inited);const p=this.browserGlobals.windowRef(),I="clarity";p[I]=p[I]||function(...Ae){(p[I].q=p[I].q||[]).push(Ae)};const X=this.browserGlobals.documentRef(),ie=X.createElement("script");ie.id="MicrosoftClarityScript",ie.async=!0,ie.src=`https://www.clarity.ms/tag/${this.config?.projectId}`,ie.addEventListener("load",()=>s(this.inited=!0)),ie.addEventListener("error",()=>l(!1)),X.head.insertBefore(ie,X.head.firstChild)}):Promise.reject("MicrosoftClarityService.addClarityToDom(), is not platform browser")}static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac})}return a})();const Tp=new e.nKC("APPIER_CONFIG");let pc=(()=>{class a{constructor(){this.isPlatformBrowser=(0,c.UE)((0,e.WQX)(e.Agw)),this.config=(0,e.WQX)(Tp),this.inited=!1,this.tempEventQueue=[]}push(s){if(!this.isPlatformBrowser)return;const l=window;this.inited?!this.inited||l.appier_q?(console.log("Appier send",s),l.appier_q.push(s)):console.warn("AppierService.push(), no dataLayer"):this.tempEventQueue.push(s)}addAppierToDom(s){return this.isPlatformBrowser?new Promise((l,p)=>{if(this.inited)return l(this.inited);const I=window;if(I.location.host!==this.config.site)return p("AppierService.addClarityToDom(), site is not match location.host");I.appier_q=I.appier_q||[];const X=document,ie=X.createElement("script");ie.id="AppierScript",ie.async=!0,ie.src=`//jscdn.appier.net/aa.js?id=${this.config.projectId}`,ie.addEventListener("load",()=>l(this.inited=!0)),ie.addEventListener("error",()=>p(!1)),X.head.insertBefore(ie,X.head.firstChild)}).then(()=>{this.push({t:"register",content:{id:this.config.id,site:this.config.site}}),this.tempEventQueue.forEach(l=>{this.push(l)}),this.tempEventQueue.length=0}):Promise.reject("AppierService.addClarityToDom(), is not platform browser")}static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac})}return a})();const Uh=new e.nKC("google-tag-manager-config");let Mp=(()=>{class a{constructor(s){this._googleTagManagerConfig={id:null,gtm_auth:"",gtm_preview:""},s&&this.set(s)}set(s){this._googleTagManagerConfig=s}get(){return this._googleTagManagerConfig}static#e=this.\u0275fac=function(l){return new(l||a)(e.KVO(Uh,8))};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),$u=(()=>{class a{constructor(s,l,p="noisy",I,X,ie,Ae){this.googleTagManagerConfiguration=s,this.googleTagManagerId=l,this.googleTagManagerMode=p,this.googleTagManagerAuth=I,this.googleTagManagerPreview=X,this.googleTagManagerResourcePath=ie,this.googleTagManagerCSPNonce=Ae,this.isLoaded=!1,this.browserGlobals={windowRef:()=>window,documentRef:()=>document},this.config=this.googleTagManagerConfiguration?.get(),null==this.config&&(this.config={id:null}),this.config={...this.config,id:l||this.config.id,gtm_auth:I||this.config.gtm_auth,gtm_preview:X||this.config.gtm_preview,gtm_resource_path:ie||this.config.gtm_resource_path}}checkForId(){if("silent"!==this.googleTagManagerMode&&!this.config.id)throw new Error("Google tag manager ID not provided.");return!!this.config.id}getDataLayer(){this.checkForId();const s=this.browserGlobals.windowRef();return s.dataLayer=s.dataLayer||[],s.dataLayer}pushOnDataLayer(s){this.checkForId(),this.getDataLayer().push(s)}addGtmToDom(){return new Promise((s,l)=>{if(this.isLoaded)return s(this.isLoaded);if(!this.checkForId())return s(!1);const p=this.browserGlobals.documentRef();this.pushOnDataLayer({"gtm.start":(new Date).getTime(),event:"gtm.js"});const I=p.createElement("script");I.id="GTMscript",I.async=!0,I.src=this.applyGtmQueryParams(this.config.gtm_resource_path?this.config.gtm_resource_path:"https://www.googletagmanager.com/gtm.js"),I.addEventListener("load",()=>s(this.isLoaded=!0)),I.addEventListener("error",()=>l(!1)),this.googleTagManagerCSPNonce&&I.setAttribute("nonce",this.googleTagManagerCSPNonce),p.head.insertBefore(I,p.head.firstChild)})}pushTag(s){return new Promise((l,p)=>this.checkForId()?this.isLoaded?(this.pushOnDataLayer(s),l()):void this.addGtmToDom().then(()=>(this.pushOnDataLayer(s),l())).catch(()=>p()):l())}applyGtmQueryParams(s){return-1===s.indexOf("?")&&(s+="?"),s+Object.keys(this.config).filter(l=>this.config[l]).map(l=>`${l}=${this.config[l]}`).join("&")}static#e=this.\u0275fac=function(l){return new(l||a)(e.KVO(Mp,8),e.KVO("googleTagManagerId",8),e.KVO("googleTagManagerMode",8),e.KVO("googleTagManagerAuth",8),e.KVO("googleTagManagerPreview",8),e.KVO("googleTagManagerResourcePath",8),e.KVO("googleTagManagerCSPNonce",8))};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();var Wh=o(40605),Ov=o(13946),Np=o(73927);const yv=new e.nKC("DISABLE_INTERVAL_RANDOM");let _c=(()=>{class a{constructor(){this.isBrowser=(0,c.UE)((0,e.WQX)(e.Agw)),this.authState=(0,e.WQX)(Oi.H),this.authService=(0,e.WQX)(ma.u),this.disableIntervalRandom=(0,e.WQX)(yv,{optional:!0}),this.payload$=new Ts.t(null),this.isStarted=!1,this.delayForStart=3*In.yr.SECOND,this.interval=In.yr.MINUTE*(this.disableIntervalRandom?2:Np.z.getRandomInt(2,5))}start(){this.isBrowser&&(this.isStarted||(this.checkDepositStatus().subscribe(),this.isStarted=!0))}doDepositCheck(){return this.authService.getUnNotifiedTxn().pipe((0,pn.n)(s=>{const l=s?.data?.detail||[];if(!l.length)return(0,C.of)(void 0);const p=this.authState.get("accountInfo"),I=p.userId,X=p.currencyTypeId,ie=Rn.U.getInstanceOf(X)?.name||"";return this.payload$.next({userId:I,currencyTypeId:X,currencyTypeName:ie,firstDepositTimestamp:p.firstDepositTimestamp,detailList:l}),this.authService.clearUnNotifiedTxn(s?.data?.timestamp).pipe((0,S.W)(st=>(console.error(st),(0,C.of)(void 0))))}),(0,S.W)(s=>(console.error(s),(0,C.of)(void 0))))}checkDepositStatus(){return(0,Qs.h)((0,Wh.Y)(this.interval).pipe((0,Oi.L)(this.authState)),this.authState.select("isLogin").pipe((0,Ov.J)(),(0,oi.p)(([s,l])=>!s&&!!l))).pipe((0,xr.B)(100),(0,pn.n)(()=>this.doDepositCheck()))}listen(){return this.isStarted||setTimeout(()=>{this.start()},this.delayForStart),this.payload$.pipe((0,oi.p)(s=>!!s&&this.authState.get("isLogin")))}static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();const wp=new e.nKC("GTM_CONFIG");let Hu=(()=>{class a extends $u{constructor(){super(...arguments),this.isPlatformBrowser=(0,c.UE)((0,e.WQX)(e.Agw)),this.gtmConfig=(0,e.WQX)(wp),this.defaultDataLayer="dataLayer",this.gtmScriptIdPrefix="GTMscript-",this.patternOfGtmScriptVtpMeasurementId='"vtp_measurementId":"(.*?)"',this.depositStatusCheckerService=(0,e.WQX)(_c),this.eventQueueService=(0,e.WQX)(zs.n),this.datePipe=(0,e.WQX)(c.vh),this.authState=(0,e.WQX)(Oi.H),this.inited=!1,this.affiliateCode="",this.mapOfTrackingIdAndVtpMeasurementIdSet=new Map}getCurrentIds(){return this.gtmConfig.currentIds||[]}getDataLayer(){const s=this.defaultDataLayer;return window[s]=window[s]||[],window[s]}pushDataLayer(s){this.getDataLayer().push(s)}checkDepositStatus(){return this.depositStatusCheckerService.listen().pipe((0,Wt.M)(s=>{s.detailList.forEach(l=>this.sendDepositStatus(s,l))}))}sendDepositStatus(s,l){const p={event:"",eventCategory:"Deposit",eventAction:"Submit",eventLabel:"",paymentMethod:l.paymentMethod,pageUrl:window.location.origin+"/member/wallet/deposit",depositValue:l.amount,currency:s.currencyTypeName,userId:s.userId,depositDate:this.datePipe.transform(l.approveTime,$a.$.DATE_PATTERN_FOR_CALENDAR15.format),depositStatus:"success",affiliateCode:this.affiliateCode};l.isFirst?(p.event="firstDepositCompleted",p.eventLabel="First Deposit Submit"):(p.event="depositCompleted",p.eventLabel="Deposit Submit"),console.log("GTM push datalayer >>>>>>>",p),this.pushDataLayer(p)}sendRegisterSuccess(s){const l={event:"registrationCompleted",eventCategory:"Registration",eventAction:"Submit",eventLabel:"Registration Form Submit",pageUrl:window.location.origin+"/register",currency:Rn.U.getInstanceOf(s.currencyTypeId)?.name||"",userId:s.userId,registerDate:this.datePipe.transform(s.signUpTimestamp,$a.$.DATE_PATTERN_FOR_CALENDAR15.format),registerStatus:"success",affiliateCode:this.affiliateCode};console.log("GTM push datalayer >>>>>>>",l),this.pushDataLayer(l)}applyGtmQueryParamsCustom(s,l){return-1===s.indexOf("?")&&(s+="?"),s+Object.keys(this.config).filter(p=>this.config[p]).map(p=>`${p}=${"id"===p?l:this.config[p]}`).join("&")}addGtmToDomById(s){const l=this.applyGtmQueryParamsCustom(this.config.gtm_resource_path?this.config.gtm_resource_path:"https://www.googletagmanager.com/gtm.js",s);return fetch(l).then(p=>p.text()).then(p=>{const I=p.match(new RegExp(this.patternOfGtmScriptVtpMeasurementId,"g"))?.map(ie=>ie.replace('"vtp_measurementId":"',"").replace('"',""))||[],X=this.mapOfTrackingIdAndVtpMeasurementIdSet.get(s)||new Set;I?.forEach(ie=>X.add(ie)),this.mapOfTrackingIdAndVtpMeasurementIdSet.set(s,X),X.forEach(ie=>cu(ie,!0))}).then(()=>new Promise((p,I)=>{const X=this.browserGlobals.documentRef(),ie=this.gtmScriptIdPrefix+s;if(X.getElementById(ie))return p(!0);this.pushOnDataLayer({"gtm.start":(new Date).getTime(),event:"gtm.js"});const Ue=X.createElement("script");Ue.id=ie,Ue.async=!0,Ue.src=l,Ue.addEventListener("load",()=>p(!0)),Ue.addEventListener("error",()=>I(!1)),this.googleTagManagerCSPNonce&&Ue.setAttribute("nonce",this.googleTagManagerCSPNonce),X.head.insertBefore(Ue,X.head.firstChild)}))}addGtmToDom(){if(!this.isPlatformBrowser)return Promise.reject("GtmService.addGtmToDom(), is not platform browser");if(this.isLoaded)return Promise.resolve(this.isLoaded);this.config.l=this.config.l||this.defaultDataLayer;const s=this.getCurrentIds();return Promise.all(s.map(l=>this.addGtmToDomById(l))).then(()=>!0)}disableMeasurement(){return this.isPlatformBrowser?new Promise((s,l)=>{this.getCurrentIds().forEach(I=>{this.mapOfTrackingIdAndVtpMeasurementIdSet.get(I)?.forEach(ie=>cu(ie,!1))}),setTimeout(()=>s(!0),100)}):Promise.reject("GtmService.removeGtmFromDom(), is not platform browser")}init(s){return this.isPlatformBrowser?this.inited?Promise.resolve(this.inited):(this.authState.select("accountInfo").subscribe(l=>{this.affiliateCode=l.affiliateCode||""}),this.gtmConfig.customDataLayerEventList?.includes("DEPOSIT_SUCCESS")&&this.checkDepositStatus().subscribe(),this.gtmConfig.customDataLayerEventList?.includes("REGISTER_SUCCESS")&&this.eventQueueService.on(vr.Vw).pipe((0,Wt.M)(l=>{this.sendRegisterSuccess(l.payload)})).subscribe(),this.eventQueueService.on(vr.Vw).pipe((0,Wt.M)(l=>{const p={event:"successful_signup"};console.log("GTM push datalayer >>>>>>>",p),this.pushDataLayer(p)})).subscribe(),this.addGtmToDom().then(()=>this.inited=!0)):Promise.reject("GtmService.init(), is not platform browser")}setIds(s){this.gtmConfig.currentIds=s}changeGtmIds(s){return this.isPlatformBrowser?this.disableMeasurement().then(()=>{this.setIds(s),this.isLoaded=!1}).then(()=>this.addGtmToDom()):Promise.reject("GtmService.changeTrackingId(), is not platform browser")}static#e=this.\u0275fac=(()=>{let s;return function(p){return(s||(s=e.xGo(a)))(p||a)}})();static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac})}return a})();var Wc=o(38804),Vc=o(68300);class bp extends Vc.w{constructor(g){super("AFTER_I18N_ROUTE_CURRENCY_CHANGE",g)}}const xp=new e.nKC("SPORTRADAR_CONFIG");let ju=(()=>{class a{constructor(){this.isPlatformBrowser=(0,c.UE)((0,e.WQX)(e.Agw)),this.eventQueueService=(0,e.WQX)(zs.n),this.config=(0,e.WQX)(xp),this.depositStatusCheckerService=(0,e.WQX)(_c),this.destroy$=new fs.B,this.inited=!1,this.tempEventQueue=[],this.isMultiCurrencyEnable=!1}push(s){if(!this.isPlatformBrowser)return;const l=window;this.inited?!this.inited||l.srtmCommands?(console.log("Sportradar send",s),l.srtmCommands.push(s)):console.warn("SportradarService.push(), no dataLayer"):this.tempEventQueue.push(s)}checkIsMultiCurrencyEnable(s){s&&(this.isMultiCurrencyEnable=!!Object.keys(s).length)}addSportradarToDom(s,l){return this.isPlatformBrowser?new Promise((p,I)=>{if(this.inited)return p(this.inited);const X=window;X.srtmCommands=X.srtmCommands||[];const ie=document,Ae=ie.createElement("script");Ae.id="SportradarScript",Ae.async=!0,Ae.src=`https://tm.ads.sportradar.com/dist/tag-manager.js?id=${l}`,Ae.setAttribute("data-srtmn","srtmCommands"),Ae.addEventListener("load",()=>(this.registerListeners(s),p(this.inited=!0))),Ae.addEventListener("error",()=>I(!1)),ie.head.insertBefore(Ae,ie.head.firstChild)}).then(()=>{this.tempEventQueue.forEach(p=>this.push(p)),this.tempEventQueue.length=0}):Promise.reject("SportradarService.addSportradarToDom(), is not platform browser")}removeCurrentScript(){return new Promise((s,l)=>{const p=document.querySelector("#SportradarScript");return p.parentNode?.removeChild(p),s()})}registerListeners(s){s.onDestroy(()=>{this.destroy$.next(),this.destroy$.unsubscribe()}),this.eventQueueService.on(bp).pipe((0,Wt.M)(()=>{this.isMultiCurrencyEnable&&location.reload()}),(0,On.Q)(this.destroy$)).subscribe(),this.eventQueueService.on(vr.uF).pipe((0,Wt.M)(()=>{this.push({event:"track.user.registration",payload:{action:"start"}})}),(0,On.Q)(this.destroy$)).subscribe(),this.eventQueueService.on(vr.Vw).pipe((0,Wt.M)(l=>{const p={action:"complete",userId:this.getFormattedUserId(l.payload?.userId)};this.push({event:"track.user.registration",payload:p})}),(0,On.Q)(this.destroy$)).subscribe(),this.eventQueueService.on(Wc.f).pipe((0,Wt.M)(l=>{const p={action:"complete",userId:this.getFormattedUserId(l.payload?.userId)};this.push({event:"track.user.login",payload:p})}),(0,On.Q)(this.destroy$)).subscribe()}getFormattedUserId(s){let l=s=s||"";return this.config.userIdHandler&&(l=this.config.userIdHandler(l)||""),l=btoa(l).replace("=",""),l}changeSportradarIds(s,l){if(!this.isPlatformBrowser)return console.log("sportradarService.changeSportradarIds(), is not platform browser")}init(){this.checkDepositStatus().subscribe()}checkDepositStatus(){return this.depositStatusCheckerService.listen().pipe((0,Wt.M)(s=>{this.push({event:"track.betting.deposit",payload:s})}))}static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac})}return a})();const $h=new e.nKC("SIGNUPTRACKING_CONFIG");let Ka=(()=>{class a{constructor(s){this.appStateService=s,this.isPlatformBrowser=(0,c.UE)((0,e.WQX)(e.Agw)),this.eventQueueService=(0,e.WQX)(zs.n),this.config=(0,e.WQX)($h,{optional:!0}),this.cid="",this.document=(0,e.WQX)(c.qQ),this.retargettingUrl=(0,e.WQX)(In.C9,{optional:!0})}init(){this.isPlatformBrowser?(sessionStorage.signupTrackingCid&&this.setCid(sessionStorage.signupTrackingCid),this.appStateService.on("trackingCid").subscribe(s=>{s&&(this.setCid(s),this.setSessionStorage(s))}),this.eventQueueService.on(vr.Vw).pipe((0,Wt.M)(()=>{this.sendApiRequest()})).subscribe()):console.warn("SignupTrackingService: Is not browser.")}setCid(s){s&&(this.cid=s)}setSessionStorage(s){s&&sessionStorage.setItem("signupTrackingCid",s)}generateTrackingApiUrl(){return this.config?.signupTrackingUrl.trim()+this.cid.trim()}sendApiRequest(){!this.cid.trim()||!this.config?.signupTrackingUrl||fetch(this.generateTrackingApiUrl()).then().catch(s=>{console.error(s)})}addRetargetting(s=!1){if(!this.isPlatformBrowser)return void console.warn("SignupTrackingService: Is not browser.");if(!this.retargettingUrl)return;const l=s?this.retargettingUrl.successScriptUrl:this.retargettingUrl.scriptUrl,p=s?this.retargettingUrl.successNoScriptUrl:this.retargettingUrl.noScriptUrl,I=document.createElement("script");I.defer=!0,I.src=l,document.head.insertBefore(I,document.head.firstChild);const X=document.createElement("noscript"),ie=document.createElement("img");ie.src=p,ie.setAttribute("width","1"),ie.setAttribute("height","1"),ie.style.display="none",X.appendChild(ie),document.body.appendChild(X)}static#e=this.\u0275fac=function(l){return new(l||a)(e.KVO(ni.i))};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac})}return a})();var $c=o(68576);const Hh=new e.nKC("ROOTERTRACKING_CONFIG");let Pp=(()=>{class a{constructor(s){this.appStateService=s,this.isPlatformBrowser=(0,c.UE)((0,e.WQX)(e.Agw)),this.eventQueueService=(0,e.WQX)(zs.n),this.config=(0,e.WQX)(Hh,{optional:!0}),this.rooterClickId=""}init(){this.isPlatformBrowser?(sessionStorage.rooterClickId&&this.setRooterClickId(sessionStorage.rooterClickId),this.appStateService.on("trackingRooterClickId").subscribe(s=>{s&&(this.setRooterClickId(s),this.setSessionStorage(s))}),this.eventQueueService.on(vr.Vw).pipe((0,Wt.M)(()=>{this.sendApiRequest(this.config?.signupEvtUrl)})).subscribe(),this.eventQueueService.on($c.o3).pipe((0,Wt.M)(()=>{this.sendApiRequest(this.config?.depositEvtUrl)})).subscribe(),this.eventQueueService.on($c.Gp).pipe((0,Wt.M)(()=>{this.sendApiRequest(this.config?.depositEvtUrl)})).subscribe()):console.warn("SignupTrackingService: Is not browser.")}setRooterClickId(s){s&&(this.rooterClickId=s)}setSessionStorage(s){s&&sessionStorage.setItem("rooterClickId",s)}generateTrackingApiUrl(s){return s?.trim()+this.rooterClickId.trim()}sendApiRequest(s){!this.rooterClickId.trim()||!s||fetch(this.generateTrackingApiUrl(s)).then().catch(l=>{console.error(l)})}static#e=this.\u0275fac=function(l){return new(l||a)(e.KVO(ni.i))};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac})}return a})();class Ku extends Vc.w{constructor(){super("QE_APP_DOWNLOAD")}}const Lp=new e.nKC("SHARECHATTRACKING_CONFIG");let jh=(()=>{class a{constructor(s){this.appStateService=s,this.isPlatformBrowser=(0,c.UE)((0,e.WQX)(e.Agw)),this.eventQueueService=(0,e.WQX)(zs.n),this.config=(0,e.WQX)(Lp,{optional:!0}),this.sharechatClickId="",this.sharechatAdId=""}init(){this.isPlatformBrowser?(sessionStorage.sharechatClickId&&this.setSharechatClickId(sessionStorage.sharechatClickId),sessionStorage.sharechatAdId&&this.setSharechatAdId(sessionStorage.sharechatAdId),this.appStateService.on("trackingSharechatClickId").subscribe(s=>{s&&(this.setSharechatClickId(s),this.setClickIdSessionStorage(s))}),this.appStateService.on("trackingSharechatAdId").subscribe(s=>{s&&(this.setSharechatAdId(s),this.setAdIdSessionStorage(s))}),this.eventQueueService.on(vr.Vw).pipe((0,Wt.M)(()=>{this.sendApiRequest(this.config?.signupEvtUrl)})).subscribe(),this.eventQueueService.on($c.o3).pipe((0,Wt.M)(s=>{this.sendApiRequest(this.config?.depositEvtUrl,s.payload?.amount)})).subscribe(),this.eventQueueService.on($c.Gp).pipe((0,Wt.M)(s=>{this.sendApiRequest(this.config?.depositEvtUrl,s.payload?.amount)})).subscribe(),this.eventQueueService.on(Ku).pipe((0,Wt.M)(()=>{this.sendApiRequest(this.config?.downloadEvtUrl)})).subscribe()):console.warn("SharechatTrackingService: Is not browser.")}setSharechatClickId(s){s&&(this.sharechatClickId=s)}setSharechatAdId(s){s&&(this.sharechatAdId=s)}setClickIdSessionStorage(s){s&&sessionStorage.setItem("sharechatClickId",s)}setAdIdSessionStorage(s){s&&sessionStorage.setItem("sharechatAdId",s)}generateTrackingApiUrl(s,l){return s?.trim()+"&eventValue="+l+"&clickId="+this.sharechatClickId.trim()+"&adId="+this.sharechatAdId.trim()}sendApiRequest(s,l="1"){!this.sharechatClickId.trim()||!this.sharechatAdId.trim()||!s||fetch(this.generateTrackingApiUrl(s,l)).then().catch(p=>{console.error(p)})}static#e=this.\u0275fac=function(l){return new(l||a)(e.KVO(ni.i))};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac})}return a})();const Kh=new e.nKC("APK_TRK_CODE_CONFIG");let Xh=(()=>{class a{constructor(){this.isPlatformBrowser=(0,c.UE)((0,e.WQX)(e.Agw)),this.apkTrackingCodeConfig=(0,e.WQX)(Kh),this.depositStatusCheckerService=(0,e.WQX)(_c),this.eventQueueService=(0,e.WQX)(zs.n),this.debuggerEnable=!1}get window(){return window}init(){this.isPlatformBrowser?(localStorage.getItem("apk-debugger")&&(this.debuggerEnable=!0),this.debuggerEnable&&(window.androidJs={postMessage(s,l){}},window.android={onEventJsFirstRecharge(s,l){console.warn(1,"onEventJsFirstRecharge",s,l)},onEventJsRecharge(s,l){console.warn(2,"onEventJsRecharge",s,l)},onEventJs(s,l){console.warn(3,"onEventJs",s,l)}}),this.window?.androidJs||this.window?.android?(this.checkDepositStatus().subscribe(),this.eventQueueService.on(vr.Vw).pipe((0,Wt.M)(s=>{this.sendRegisterSuccess(s.payload)})).subscribe()):console.warn("ApkTrackingCodeService: window.androidJs or window.android is undefined.")):console.warn("ApkTrackingCodeService: Is not browser.")}checkDepositStatus(){return this.depositStatusCheckerService.listen().pipe((0,Wt.M)(s=>{s.detailList.forEach(l=>this.sendDepositStatus(s,l))}))}sendDepositStatus(s,l){if(this.isPlatformBrowser)switch(this.apkTrackingCodeConfig.type){case"androidJs":let p=l.isFirst?"first-deposit-success":"deposit-success";this.window?.androidJs.postMessage(p),this.debuggerEnable&&console.log("window.androidJs.postMessage >>>> ",p);break;case"onEventJs":l.isFirst?(this.window?.android.onEventJsFirstRecharge("first_recharge_success"),this.debuggerEnable&&console.log("window.android.onEventJsFirstRecharge >>>> ","first_recharge_success")):(this.window?.android.onEventJsRecharge("recharge_success"),this.debuggerEnable&&console.log("window.android.onEventJsRecharge >>>> ","recharge_success"))}}sendRegisterSuccess(s){if(this.isPlatformBrowser)switch(this.apkTrackingCodeConfig.type){case"androidJs":this.window?.androidJs.postMessage("register-success"),this.debuggerEnable&&console.log("window.androidJs.postMessage >>>> register-success");break;case"onEventJs":this.window?.android.onEventJs("register_success"),this.debuggerEnable&&console.log("window.android.onEventJs >>>> register_success")}}static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac})}return a})();const Xu=new e.nKC("XENATRACKING_CONFIG");let Yh=(()=>{class a{constructor(s,l){this.appStateService=s,this.authState=l,this.isPlatformBrowser=(0,c.UE)((0,e.WQX)(e.Agw)),this.eventQueueService=(0,e.WQX)(zs.n),this.config=(0,e.WQX)(Xu,{optional:!0}),this.depositStatusCheckerService=(0,e.WQX)(_c),this.xenaQeuryString="",this.userId=""}init(){this.isPlatformBrowser?(sessionStorage.xenaQueryString&&this.setXenaQeuryString(sessionStorage.xenaQueryString),this.authState.select("accountInfo").pipe().subscribe(s=>{this.userId=s.userId}),this.appStateService.on("trackingXenaQeuryString").subscribe(s=>{s&&(this.setXenaQeuryString(s),this.setSessionStorage(s))}),this.eventQueueService.on(vr.Vw).pipe((0,Wt.M)(()=>{this.sendFetchingApi("registration")})).subscribe(),this.checkDepositStatus().subscribe()):console.warn("SignupTrackingService: Is not browser.")}checkDepositStatus(){return this.depositStatusCheckerService.listen().pipe((0,Wt.M)(s=>{s.detailList.forEach(l=>this.sendDepositStatus(l))}))}sendDepositStatus(s){this.sendFetchingApi("deposit",s.isFirst?1:0)}setXenaQeuryString(s){s&&(this.xenaQeuryString=s)}setSessionStorage(s){s&&sessionStorage.setItem("xenaQueryString",s)}sendFetchingApi(s,l=0){if(!this.xenaQeuryString.trim()||!this.config?.fetchUrl)return;let p="",I=this.getFormattedUserId(this.userId);"deposit"===s?p=`${this.config.fetchUrl}&${this.xenaQeuryString}&event_name=${s}&uid=${I}&ftd=${l}`:"registration"===s&&(p=`${this.config.fetchUrl}&${this.xenaQeuryString}&event_name=${s}&uid=${I}`),p&&fetch(p).then().catch(X=>{console.error("xena tracking fetch error >>>>> ",X)})}getFormattedUserId(s){return btoa(s||"").replace("=","")}static#e=this.\u0275fac=function(l){return new(l||a)(e.KVO(ni.i),e.KVO(Oi.H))};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac})}return a})();const Ol=new e.nKC("INCOME_ACCESS_TRACKING_CONFIG");let Hc=(()=>{class a{constructor(){this.isPlatformBrowser=(0,c.UE)((0,e.WQX)(e.Agw)),this.eventQueueService=(0,e.WQX)(zs.n),this.config=(0,e.WQX)(Ol),this.authState=(0,e.WQX)(Oi.H),this.router=(0,e.WQX)(V.Ix),this.depositStatusCheckerService=(0,e.WQX)(_c)}checkDepositStatus(){return this.depositStatusCheckerService.listen().pipe((0,Wt.M)(s=>{s.detailList.forEach(l=>this.sendEvent("Sales"))}))}init(){this.isPlatformBrowser?(this.routerLifeCycleState(),this.eventQueueService.on(vr.Vw).pipe((0,Wt.M)(()=>{this.sendEvent("Registration")})).subscribe(),this.eventQueueService.on($c.o3).pipe((0,pn.n)(()=>this.checkDepositStatus())).subscribe()):console.warn("IncomeAccessTrackingService is not platform browser")}routerLifeCycleState(){this.router.events.pipe((0,oi.p)(s=>s instanceof V.wF)).subscribe(()=>{document.querySelectorAll(".incomeAccess").forEach(s=>s.remove())})}sendEvent(s){if(!this.isPlatformBrowser)return void console.warn("addIframeToDom(), is not platform browser");const l=document.createElement("iframe"),p=this.getFormattedUserId(this.authState.get("accountInfo")?.userId)||"";l.className="incomeAccess",l.setAttribute("style","display: none");const I=new URL(`https://wl${this.config.brandName}.adsrv.eacdn.com/Processing/Pixels/${s}.ashx?Playerid=${p}`),X=this.config.queryParams||{};Object.keys(X).forEach(Ae=>{I.searchParams.append(Ae,`${X[Ae]}`)});const ie=I.toString();l.src=ie,document.body.appendChild(l)}getFormattedUserId(s){return btoa(s||"").replace("=","")}static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac})}return a})();var Yu=function(a){return a.REGISTRATION="registration",a.DEPOSIT="deposit",a}(Yu||{});const zu=new e.nKC("SO_PIXEL_CONFIG");let jc=(()=>{class a{constructor(){this.config=(0,e.WQX)(zu),this.defaultDataLayer="dataLayer",this.isBrowser=(0,c.UE)((0,e.WQX)(e.Agw)),this.eventQueueService=(0,e.WQX)(zs.n),this.depositStatusCheckerService=(0,e.WQX)(_c),this.router=(0,e.WQX)(V.Ix),this.inited=!1,this.trackingCode=""}get api(){return window.otag}init(){this.isBrowser?this.inited?console.warn("SoPixelService :>> Has been inited."):(this.addScriptToDom().then(()=>{this.api?this.observeEvents():console.warn("SoPixelService :>> No api.")}),this.inited=!0):console.warn("SoPixelService :>> Is not browser.")}addScriptToDom(){return this.isBrowser?new Promise((s,l)=>{const p=this.getCurrentId(),I=document.createElement("script");return I.id="SoPixelScript",I.innerHTML=`\n !(function(p,l,o,w,i,n,g)\n {if(!p[i]){p.GlobalSnowplowNamespace=p.GlobalSnowplowNamespace||[];\n p.GlobalSnowplowNamespace.push(i);p[i]=function(){(p[i].q=p[i].q||\n []).push(arguments)};p[i].q=p[i].q||[];n=l.createElement(o);\n g=l.getElementsByTagName(o)[0];n.async=1;n.src=w;\n g.parentNode.insertBefore(n,g)}})(window,document,"script",\n "//res-odx.op-mobile.opera.com/sp.js","otag");\n otag('init', '${p}')\n `,document.head.insertBefore(I,document.head.firstChild),s(this.inited=!0)}):Promise.reject("SoPixelService.addScriptToDom(), is not platform browser")}observeEvents(){this.eventQueueService.on(vr.Vw).pipe((0,Wt.M)(()=>this.sendEvent(Yu.REGISTRATION))).subscribe(),this.depositStatusCheckerService.listen().pipe((0,Wt.M)(s=>{s.detailList.forEach(l=>{this.sendEvent(Yu.DEPOSIT)})})).subscribe()}changeSoPixelTracking(s){return this.isBrowser?this.removeCurrentScript().then(()=>this.setTrackingId(s)).then(()=>this.addScriptToDom()):Promise.reject("SoPixelService.changeSoPixelTracking(), is not platform browser")}setTrackingId(s){this.trackingCode=s}sendEvent(s){this.api?.("event",s)}getCurrentId(){return this.trackingCode}removeCurrentScript(){return new Promise((s,l)=>{const p=document.querySelector("#SoPixelScript");return p.parentNode?.removeChild(p),s()})}pushDataLayer(s){const l=this.getDataLayer();l&&l.push(s)}getDataLayer(){const s=this.defaultDataLayer;return window[s]=window[s]||[],window[s]}static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac})}return a})();const zh=new e.nKC("TRACKING_CONFIG");let Qu=(()=>{class a{get GA(){return this.gaService}get GTM(){return this.gtmService}get Hotjar(){return this.ngxHotjarService}get Clarity(){return this.microsoftClarityService}get Appier(){return this.appierService}get Sportradar(){return this.sportradarService}get SignupTracking(){return this.signupTrackingService}get RooterTracking(){return this.rooterTrackingService}get SharechatTracking(){return this.sharechatTrackingService}get ApkTrackingCode(){return this.apkTrackingCodeService}get XenaTracking(){return this.xenaTrackingService}get incomeAccessTracking(){return this.incomeAccessTrackingService}get SoPixel(){return this.soPixelService}constructor(){if(this.isPlatformBrowser=(0,c.UE)((0,e.WQX)(e.Agw)),this.config=(0,e.WQX)(zh),this.siteSettingState=(0,e.WQX)(Qn.p),this.destroy$=new fs.B,this.inited=!1,this.config.GA)try{this.gaService=(0,e.WQX)(lu)}catch(s){console.error(s)}if(this.config.GTM)try{this.gtmService=(0,e.WQX)(Hu)}catch(s){console.error(s)}if(this.config.Hotjar)try{this.ngxHotjarService=(0,e.WQX)(Sp)}catch(s){console.error(s)}if(this.config.Clarity)try{this.microsoftClarityService=(0,e.WQX)(Vu)}catch(s){console.error(s)}if(this.config.Appier)try{this.appierService=(0,e.WQX)(pc)}catch(s){console.error(s)}if(this.config.Sportradar)try{this.sportradarService=(0,e.WQX)(ju)}catch(s){console.error(s)}if(this.config.SignupTracking)try{this.signupTrackingService=(0,e.WQX)(Ka)}catch(s){console.error(s)}if(this.config.RooterTracking)try{this.rooterTrackingService=(0,e.WQX)(Pp)}catch(s){console.error(s)}if(this.config.SharechatTracking)try{this.sharechatTrackingService=(0,e.WQX)(jh)}catch(s){console.error(s)}if(this.config.ApkTrackingCode)try{this.apkTrackingCodeService=(0,e.WQX)(Xh)}catch(s){console.error(s)}if(this.config.XenaTracking)try{this.xenaTrackingService=(0,e.WQX)(Yh)}catch(s){console.error(s)}if(this.config.IncomeAccessTracking)try{this.incomeAccessTrackingService=(0,e.WQX)(Hc)}catch(s){console.error(s)}if(this.config.SoPixel)try{this.soPixelService=(0,e.WQX)(jc)}catch(s){console.error(s)}}init(s){this.isPlatformBrowser&&(this.inited||(s.onDestroy(()=>{this.destroy$.next(),this.destroy$.unsubscribe()}),this.siteSettingState.select("currentCurrencyType").pipe((0,Gi.s)(1),(0,Wt.M)(l=>{try{this.config.GA?.currencyTrackingSetting&&this.gaService?.setTrackingIds(this.config.GA.currencyTrackingSetting[l.unique]||this.config.GA.trackingCodes),this.gaService?.init(s)}catch(p){console.error(p)}try{this.config.GTM&&this.gtmService?.setIds(this.config.GTM.currencyTrackingSetting?.[l.unique]||this.config.GTM.ids),this.gtmService?.init(s)}catch(p){console.error(p)}try{this.microsoftClarityService?.addClarityToDom()}catch(p){console.error(p)}try{this.appierService?.addAppierToDom(s)}catch(p){console.error(p)}try{this.sportradarService?.checkIsMultiCurrencyEnable(this.config.Sportradar?.currencyTrackingSetting),this.sportradarService?.addSportradarToDom(s,this.config.Sportradar?.currencyTrackingSetting?this.config.Sportradar.currencyTrackingSetting[l.unique]||this.config.Sportradar.id:this.config.Sportradar?.id||"")}catch(p){console.error(p)}try{this.signupTrackingService?.init()}catch(p){console.error(p)}try{this.rooterTrackingService?.init()}catch(p){console.error(p)}try{this.sharechatTrackingService?.init()}catch(p){console.error(p)}try{this.apkTrackingCodeService?.init()}catch(p){console.error(p)}try{this.xenaTrackingService?.init()}catch(p){console.error(p)}try{this.sportradarService?.init()}catch(p){console.error(p)}try{this.incomeAccessTrackingService?.init()}catch(p){console.error(p)}try{this.config.SoPixel?.currencyTrackingSetting&&this.soPixelService?.setTrackingId(this.config.SoPixel?.currencyTrackingSetting[l.unique]||this.config.SoPixel.trackingCode),this.soPixelService?.init()}catch(p){console.error(p)}this.inited=!0})).subscribe(),this.siteSettingState.select("currentCurrencyType").pipe((0,$s.i)(1),(0,Wt.M)(l=>{this.config.GA?.currencyTrackingSetting&&this.gaService?.changeGaTracking(this.config.GA.currencyTrackingSetting[l.unique]||this.config.GA.trackingCodes),this.config.GTM&&this.gtmService?.changeGtmIds(this.config.GTM.currencyTrackingSetting?.[l.unique]||this.config.GTM.ids),this.config.Sportradar?.currencyTrackingSetting&&this.sportradarService?.changeSportradarIds(s,this.config.Sportradar.currencyTrackingSetting[l.unique]||this.config.Sportradar.id),this.config.SoPixel?.currencyTrackingSetting&&this.soPixelService?.changeSoPixelTracking(this.config.SoPixel.currencyTrackingSetting[l.unique]||this.config.SoPixel.trackingCode)}),(0,On.Q)(this.destroy$)).subscribe()))}static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac})}return a})(),Ju=(()=>{class a{static forRoot(s,l){let p=[];return s.GA&&(p=[...p,{provide:Qd,useValue:s.GA},lu]),s.GTM&&(p=[...p,{provide:"googleTagManagerId",useValue:"NotProvided"},{provide:wp,useValue:s.GTM},Hu,{provide:$u,useClass:Hu}]),s.Hotjar&&(p=[...p,...yp.forRoot(s.Hotjar.trackingCode,s.Hotjar.version,s.Hotjar.uri).providers||[],$C]),s.Clarity&&(p=[...p,{provide:Wu,useValue:s.Clarity},Vu]),s.Appier&&(p=[...p,{provide:Tp,useValue:s.Appier},pc]),s.Sportradar&&(p=[...p,{provide:xp,useValue:s.Sportradar},ju]),s.SignupTracking&&(p=[...p,{provide:$h,useValue:s.SignupTracking},Ka]),s.RooterTracking&&(p=[...p,{provide:Hh,useValue:s.RooterTracking},Pp]),s.SharechatTracking&&(p=[...p,{provide:Lp,useValue:s.SharechatTracking},jh]),s.ApkTrackingCode&&(p=[...p,{provide:Kh,useValue:s.ApkTrackingCode},Xh]),s.XenaTracking&&(p=[...p,{provide:Xu,useValue:s.XenaTracking},Yh]),s.IncomeAccessTracking&&(p=[...p,{provide:Ol,useValue:s.IncomeAccessTracking},Hc]),s.SoPixel&&(p=[...p,{provide:zu,useValue:s.SoPixel},jc]),p=[...p,{provide:zh,useValue:s},Qu,{provide:e.iLQ,useFactory:(I,X)=>ie=>{(0,c.UE)(I)&&setTimeout(()=>{X.init(ie)},s?.delay||2e3)},deps:[e.Agw,Qu],multi:!0},...l||[]],{ngModule:a,providers:p}}static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({providers:[c.vh],imports:[c.MD]})}return a})();const Fp=new e.nKC("NEU_A_CONFIG");let Qh=(()=>{class a{constructor(){this.ngZone=(0,e.WQX)(e.SKi),this.isPlatformBrowser=(0,c.UE)((0,e.WQX)(e.Agw)),this.cdnService=(0,e.WQX)(T.H),this.systemConfig=(0,e.WQX)(R.n),this.config=(0,e.WQX)(Fp),this.authState=(0,e.WQX)(Oi.H),this.visitorId="",this.api=null,this.isInited=null,this.isInited$=new Ts.t(this.isInited),this.destroy$=new fs.B}init(s){if(this.config.projectKey&&!this.isInited){if(!this.isPlatformBrowser)return void this.isInited$.next(this.isInited=!1);if(!this.config)return void this.isInited$.next(this.isInited=!1);this.ngZone.onStable.pipe((0,Gi.s)(1),(0,pn.n)(()=>this.loadJs()),(0,pn.n)(()=>this.start()),(0,Wt.M)(()=>{this.isInited$.next(this.isInited=!0)}),(0,S.W)(l=>(console.error(l),this.isInited$.next(this.isInited=!1),eo.t)),(0,pn.n)(()=>this.authState.select("isLogin").pipe((0,$s.i)(1),(0,pn.n)(()=>this.getVisitorId()),(0,Wt.M)(l=>this.api?.setUser(this.getUID(),{sessionId:l})))),(0,On.Q)(this.destroy$)).subscribe(),s.onDestroy(()=>{this.isInited$.complete(),this.isInited$.unsubscribe(),this.destroy$.next(),this.destroy$.unsubscribe()})}}loadJs(){return new Fc.c(s=>{const l=this.cdnService.useWithServer("./assets/js/collector-v2.min.js"),p=document.createElement("script");p.id="neuA-script",p.async=!0,p.src=l,p.addEventListener("load",()=>{s.next(),s.complete(),s.unsubscribe()}),p.addEventListener("error",I=>{s.error(I)}),document.head.insertBefore(p,document.head.firstChild)})}start(){return this.generateOption().pipe((0,pn.n)(s=>(0,Va.H)(new opCore(s).then(l=>this.api=l))))}generateOption(){return this.getVisitorId().pipe((0,Sn.T)(s=>({"ot-apipath":this.getApiPath(),"ot-token":"","ot-guest":"","ot-interval":this.config.interval||30,"ot-xpath":!1,"ot-tag":"ot-tag","bu-session":s,"bu-project":this.config.projectKey,"bu-uid":this.getUID(),"bu-alias":"","auto-detect-path-changing":!0,"auto-detect-mouse-event":!0})))}getApiPath(){return this.systemConfig.production?"https://collector-cps-live.omnitrend.biz":"https://collector-uat.omnitrend.biz"}getUID(){const s=this.authState.get();return s.isLogin&&s.accountInfo.userId?s.accountInfo.userId:"undefined"}getVisitorId(){return this.visitorId?(0,C.of)(this.visitorId):(0,Va.H)(o.e(5616).then(o.bind(o,75616)).then(s=>s.FingerprintUtil)).pipe((0,pn.n)(s=>s.FingerprintJSv3.getVisitorId()),(0,Wt.M)(s=>this.visitorId=s))}static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac})}return a})();function Tv(a){return a?[{provide:Fp,useValue:a},Qh,{provide:e.iLQ,useFactory:(g,s,l,p)=>I=>{(0,c.UE)(g)&&setTimeout(()=>{s.init(I);const X=p.get(R.n);if(X.customNeuAEvent){const ie=new fs.B;l.on(Hs.W).pipe((0,Wt.M)(Ae=>{if(X.production||console.log("neuA custom event >>>>>>>",Ae.payload),Ae.payload){const Ue=JSON.stringify(Ae.payload.action);s.api?.addCustomEvent(Ae.payload.category||"",Ue)}}),(0,On.Q)(ie)).subscribe(),I.onDestroy(()=>{try{ie.next(),ie.unsubscribe()}catch(Ae){console.error(Ae)}})}},a?.delay||2e3)},deps:[e.Agw,Qh,zs.n,e.zZn],multi:!0},Ua]:[]}function Bp(a,g){const s=g.parseUrl(a),l=s.queryParams,p=s.fragment||void 0;return s.queryParams={},s.fragment=null,{url:a,cleanUrl:s.toString(),queryParams:l,fragment:p}}const Mv={provide:e.hnV,deps:[e.Agw,V.Ix,Qn.p],useFactory:(a,g,s)=>()=>{let l=!1;return(0,c.UE)(a)&&g.events.pipe((0,oi.p)(p=>p instanceof V.Z),(0,Wt.M)(p=>{const I=Bp(g.url,g),X=Bp(p.url,g);if(!l&&X.cleanUrl===ui.C.MAIN.link&&X.queryParams.refcode){l=!0;let ie="";return ie=s.get("siteSettingModel").isEnableMultipleRegisterAndLoginFeatures?ui.C.REGISTERNEW_THIRDPARTY.link:ui.C.REGISTER.link,void g.navigate([ie],{queryParams:X.queryParams,fragment:X.fragment})}X.cleanUrl!==ui.C.REGISTER.link&&X.cleanUrl!==ui.C.REGISTER_QUICK.link&&X.cleanUrl!==ui.C.REGISTERNEW_THIRDPARTY?.link||!I.queryParams.refcode||X.queryParams.refcode||g.navigate([X.cleanUrl],{queryParams:{...X.queryParams,refcode:I.queryParams.refcode},fragment:X.fragment})})).subscribe(),(0,C.of)(!0)},multi:!0};let Jh=(()=>{class a{constructor(){this.isBrowser=(0,c.UE)((0,e.WQX)(e.Agw)),this.router=(0,e.WQX)(V.Ix),this.defaultUrlSerializer=(0,e.WQX)(V.nU),this.isBrowser&&this.router.events.pipe((0,oi.p)(s=>s instanceof V.wF||s instanceof V.j5||s instanceof V.lW||s instanceof V.OY),(0,Wt.M)(()=>{const s=this.router.url;if(/\(popup:.*\)/.test(s)){const p=this.defaultUrlSerializer.parse(s),[I,X]=p.root.children.primary.segments;let Ae=[I,X].concat(p.root.children.popup.segments).map(Ue=>Ue.path).join("/");Object.keys(p.queryParams).length>0&&(Ae=`${Ae}?${new URLSearchParams(p.queryParams).toString()}`),history.replaceState({...history.state||{}},"",Ae)}})).subscribe()}canActivate(s,l){if(!this.isBrowser)return!0;if(this.isPopupPage(s,l)){const I=this.defaultUrlSerializer.parse(l.url);let ie=this.router.routerState.snapshot.url.split("#/")[0];const Ae=this.defaultUrlSerializer.parse(ie),Ue=I.root.children.primary.segments,[st,rt,...yt]=Ue;delete Ae.root.children.popup,I.root.children.primary.segments=Ue.slice(2),Ae.root.children.primary||(Ae.root.children.primary=new V.yJ([st,rt],{})),Ae.root.children.popup=new V.yJ([...yt],{});const Gt=this.router.getCurrentNavigation();return Gt?.extras?.queryParams&&(Ae.queryParams=Gt?.extras?.queryParams),this.router.navigateByUrl(Ae,Gt?.extras)}return!0}isPopupPage(s,l){return s.data?.isOpenInDialog}static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();var Zu=o(8003);const ii=new e.nKC("ROUTE_STATE",{providedIn:"root",factory:()=>{const a=new ki.Y;return a.set({i18nRouteInited:!1}),a}});let yl=(()=>{class a{constructor(){this.defaultUrlSerializer=(0,e.WQX)(V.nU),this.isPlatformBrowser=(0,c.UE)((0,e.WQX)(e.Agw)),this.location=(0,e.WQX)(c.aZ),this.document=(0,e.WQX)(c.qQ),this.eventQueueService=(0,e.WQX)(zs.n),this.siteSettingService=(0,e.WQX)(Zu.D),this.authState=(0,e.WQX)(Oi.H),this.siteSettingState=(0,e.WQX)(Qn.p),this.RouteState=(0,e.WQX)(ii),this.routesInited=!1,this.listenerInited=!1,this.destroy$=new fs.B}get expectedUrlPrefixSegments(){return this.getExpectedUrlPrefixSegmentsByCountryAndLanguage(this.country,this.language)}get expectedUrlPrefix(){return`/${this.expectedUrlPrefixSegments.join("/")}`}getExpectedUrl(s,l,p){const{countryType:I,languageType:X}=this.getCountryAndLanguage(l,p);return this.getValidUrlByCountryAndLanguage(s,I,X)}getExpectedUrlPrefixSegmentsByCountryAndLanguage(s,l){return[s?.name?.toLocaleLowerCase()||"unknown-country",l?.resourceKey||"unknown-language"]}removeCountryAndLanguageFromUrl(s){if(!(s=s||"")||"/"===s)return s;const l=s.indexOf("?");let p="";l>-1&&(p=s.substring(l));const I=s.split("?")[0].split("/").filter(X=>!!X).filter(X=>!X.includes("unknown-"));for(let X=0,ie=ds.B.values.length;X=X.length&&X.every((Tt,fn)=>I.segments[fn]===Tt))return s;const Ue=this.removeCountryAndLanguageFromUrl(I.cleanUrl).split("?")[0].split("/").filter(Tt=>!!Tt);let rt=[...X,...Ue].join("/");I.popupUrl&&(rt+=I.popupUrl);const yt=this.defaultUrlSerializer.parse(rt);return yt.queryParams=I.queryParams,yt.fragment=I.fragment,this.defaultUrlSerializer.serialize(yt)}getValidUrl(s){return this.getValidUrlByCountryAndLanguage(s,this.country,this.language)}shouldProcessUrl(s){return!0}extract(s){const l=this.defaultUrlSerializer.serialize(s);if(ui.C.startWithLink(l)===ui.C.SYSTEM_MAINTAIN||l?.includes(ui.C.SYSTEM_MAINTAIN.routingPath)){const ie=this.removeCountryAndLanguageFromUrl(l);return this.defaultUrlSerializer.parse(ie)}const I=this.getValidUrl(l);return this.defaultUrlSerializer.parse(I)}merge(s,l){return s}findMappingsByCurrency(s,l){const p=l.find(ie=>ie.currencyTypeId===s.unique);if(!p)throw new Error(`No valid currency mapping, currency type id: ${s.unique}`);const I=p.mapping?.find(ie=>ie.currencySettingTypeId===es.X.COUNTRY.unique);if(!I)throw new Error(`No valid currency-country mapping, currency type id: ${s.unique}`);const X=p.mapping?.find(ie=>ie.currencySettingTypeId===es.X.LANGUAGE.unique);if(!X)throw new Error(`No valid currency-language mapping, currency type id: ${s.unique}`);return{currencyMapping:p,currencyCountryMapping:I,currencyLanguageMapping:X}}initRoutes(s){if(this.routesInited)return(0,C.of)(this.routesInited);this.router=s;const l=s.config[0],p=[{path:":country/:language",children:[l]}];return(l.children||[]).forEach(I=>{if(I.data?.isOpenInDialog){if(I.path){const X={...I};X.outlet="popup",p.push(X)}else(I.children||[]).forEach(X=>{const ie={...X};ie.data={...I.data||{},...ie.data||{}},ie.outlet="popup",p.push(ie)});I.canActivate=(I.canActivate||[]).concat([Jh])}I.path?.includes(ui.C.SYSTEM_MAINTAIN.routingPath)&&p.unshift(I)}),s.resetConfig(p),this.hackRoutingPathType(),(0,po.z)([this.authState.select("isLogin"),this.siteSettingState.select("currencyMappingSettingModelInMarket"),this.siteSettingState.select("currentCurrencyType"),this.siteSettingState.select("currentLanguageType"),this.siteSettingState.select("accessCountryTypeId")]).pipe((0,xr.B)(10),(0,Gi.s)(1),(0,pn.n)(([I,X,ie,Ae,Ue])=>{console.log("I18N routes initializing..."),console.log(" current currency: ",ie.unique);let st=this.findMappingsByCurrency(ie,X);const rt=this.isPlatformBrowser?location.pathname:this.location.path(!0);console.log(" path: ",rt);const yt=rt.split("/").filter(fn=>!!fn);let Gt,Tt;if(console.log(" Checking country..."),!Gt){console.log(" Check country from url.");const fn=(yt[0]||"").trim().toLowerCase(),Wn=ds.B.values.find(yn=>yn.name.toLowerCase()===fn),Ri=st.currencyCountryMapping.mappingData?.includes(`${Wn?.unique}`);if(console.log(` Country name from url (${fn}) isValid = ${Ri}`),Ri)Gt=Wn;else if(Wn&&(console.log(" Country from url is valid but does not match currency."),!I)){console.log(" Is not login. Use country from url to find currency.");const yn=X.find(Yn=>Yn.mapping?.find(ei=>ei.currencySettingTypeId===es.X.COUNTRY.unique)?.mappingData?.includes(`${Wn.unique}`))?.currencyTypeId;if(yn){console.log(` Use country from url (${Wn.unique}) find currency id (${yn})`);const Yn=Rn.U.getInstanceOf(yn);Yn?(console.log(" Use currency find by country from url instead: ",Yn.unique),st=this.findMappingsByCurrency(Yn,X),Gt=Wn,this.siteSettingService.setCurrencyType(ie=Yn)):console.error(" Not valid currency type: ",yn)}}}if(!Gt){console.log(" Check country from access info.");const fn=ds.B.getInstanceOf(Ue);st.currencyCountryMapping.mappingData?.includes(`${fn?.unique}`)&&(Gt=fn)}if(!Gt){console.log(" Check first country of currency.");const fn=st.currencyCountryMapping.mappingData?.[0],Wn=ds.B.getInstanceOf(+fn);Wn&&(Gt=Wn)}if(Gt?console.log(" Country checked: ",Gt.unique):console.error(" No valid country.",{path:rt,accessCountryTypeId:Ue}),console.log(" Checking language..."),!Tt){console.log(" Check language from url.");const fn=(yt[1]||"").trim().toLowerCase(),Wn=y.t.values.find(Yn=>Yn.resourceKey.toLowerCase()===fn),Ri=st.currencyLanguageMapping.mappingData?.includes(`${Wn?.unique}`),yn=st.currencyLanguageMapping.mappingData?.includes(Wn?.unique);(Ri||yn)&&(Tt=Wn)}return Tt||(console.log(" Use currentLanguageType"),Tt=Ae),Tt?console.log(" Language checked: ",Tt.unique):console.error(" No valid language.",{path:rt,accessCountryTypeId:Ue}),Tt!==Ae&&this.siteSettingService.setLanguageType(Tt),(0,C.of)({countryType:Gt,languageType:Tt})}),(0,Wt.M)(I=>{this.setCountryAndLanguage(I),this.routesInited=!0,this.RouteState.set({i18nRouteInited:!0})}))}hackRoutingPathInstance(s){const l=this.getValidUrl.bind(this);Object.defineProperty(s,"link",{get:function(){return l(this._link)},configurable:!0,enumerable:!0})}hackRoutingPathType(){const l="startWithLink",p=`${l}_old`,I="registerRoutingPath",X=`${I}_old`;[ui.C].forEach(ie=>{ie[p]||(ie[p]=ie[l],ie[l]=Ae=>ie[p](this.removeCountryAndLanguageFromUrl(Ae))),ie[X]||(ie[X]=ie[I],ie[I]=Ae=>{this.hackRoutingPathInstance(Ae),ie[X](Ae)}),ie.values.forEach(Ae=>{this.hackRoutingPathInstance(Ae)})})}getUrlInfoWithDefaultUrlSerializer(s){const l=this.defaultUrlSerializer.parse(s),p=l.queryParams,I=l.fragment,X=s.match(/\(popup:(.*)\)/),ie=X?X[0]:"",Ae=l.toString().replace(ie,""),Ue=(Ae.split("?")[0].split("(")[0]||"").split("/").filter(rt=>!!rt);return{url:s,cleanUrl:Ae,queryParams:p,fragment:I,segments:Ue,popupUrl:ie}}setCountryAndLanguage(s){this.country=s.countryType,this.language=s.languageType,this.document.querySelector("html")?.setAttribute("lang",this.language.resourceKey),this.isPlatformBrowser&&localStorage.setItem("countryType",`${this.country?.unique}`)}getCountryAndLanguage(s,l){const I=this.siteSettingState.get("currencyMappingSettingModel").find(ie=>ie.currencyTypeId===s.unique)?.mapping?.find(ie=>ie.currencySettingTypeId===es.X.COUNTRY.unique)?.mappingData?.[0];return{countryType:I?ds.B.getInstanceOf(+I):void 0,languageType:l}}selectCountryAndLanguage(){return(0,po.z)([this.siteSettingState.select("currencyMappingSettingModel").pipe((0,dc.F)()),this.siteSettingState.select("currentCurrencyType").pipe((0,dc.F)()),this.siteSettingState.select("currentLanguageType").pipe((0,dc.F)())]).pipe((0,xr.B)(50),(0,Sn.T)(([s,l,p])=>this.getCountryAndLanguage(l,p)))}initListener(s){if(!this.listenerInited){if(this.isPlatformBrowser){const l=s.injector.get(V.Ix);this.selectCountryAndLanguage().pipe((0,$s.i)(1),(0,Wt.M)(p=>{const I=this.country?.key;this.setCountryAndLanguage(p);const X=this.getValidUrl(this.removeCountryAndLanguageFromUrl(location.href.replace(location.origin,"")));this.location.go(X),history.pushState(null,document.title,X),p.countryType?.key!==I&&this.eventQueueService.dispatch(new bp(p))}),(0,On.Q)(this.destroy$)).subscribe(),l.events.pipe((0,oi.p)(p=>p instanceof V.L6),(0,Wt.M)(()=>l.navigateByUrl(ui.C.NOT_FOUND.link)),(0,On.Q)(this.destroy$)).subscribe()}s.onDestroy(()=>{try{this.destroy$.next(),this.destroy$.unsubscribe()}catch(l){console.error(l)}}),this.listenerInited=!0}}static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac})}return a})();var kp=o(47707);function Ca(a,g){const s="object"==typeof g;return new Promise((l,p)=>{const I=new kp.Ms({next:X=>{l(X),I.unsubscribe()},error:p,complete:()=>{s?l(g.defaultValue):p(new x.G)}});a.subscribe(I)})}const Nv=[V.nU,yl,{provide:V.Q0,useExisting:yl},{provide:e.hnV,useFactory:(a=(0,e.WQX)(V.Ix),g=(0,e.WQX)(yl),s=(0,e.WQX)(ni.i))=>()=>(0,Va.H)(Promise.race([Ca(g.initRoutes(a)),Ca(s.on("isSystemMaintaining").pipe((0,oi.p)(l=>!!l)))])),multi:!0},{provide:e.iLQ,useFactory:a=>g=>{a.initListener(g)},deps:[yl],multi:!0}],qu=[{provide:e.hnV,useFactory:a=>()=>(a.set({i18nRouteInited:!0}),(0,C.of)(!0)),deps:[ii],multi:!0}];function Kc(a){const g=[];return a.enableI18nRoute?g.push(...Nv):g.push(...qu),g.push(Mv),g}var ed=o(59030),Tl=o(28793),Wp=o(31927);const mc="Service workers are disabled or not supported by this browser";class Xc{constructor(g){if(this.serviceWorker=g,g){const l=(0,na.R)(g,"controllerchange").pipe((0,Sn.T)(()=>g.controller)),p=(0,ed.v)(()=>(0,C.of)(g.controller)),I=(0,Tl.x)(p,l);this.worker=I.pipe((0,oi.p)(st=>!!st)),this.registration=this.worker.pipe((0,pn.n)(()=>g.getRegistration()));const Ue=(0,na.R)(g,"message").pipe((0,Sn.T)(st=>st.data)).pipe((0,oi.p)(st=>st&&st.type)).pipe((0,Wp.m)());Ue.connect(),this.events=Ue}else this.worker=this.events=this.registration=function Zh(a){return(0,ed.v)(()=>(0,Lu.$)(new Error(a)))}(mc)}postMessage(g,s){return this.worker.pipe((0,Gi.s)(1),(0,Wt.M)(l=>{l.postMessage({action:g,...s})})).toPromise().then(()=>{})}postMessageWithOperation(g,s,l){const p=this.waitForOperationCompleted(l),I=this.postMessage(g,s);return Promise.all([I,p]).then(([,X])=>X)}generateNonce(){return Math.round(1e7*Math.random())}eventsOfType(g){let s;return s="string"==typeof g?l=>l.type===g:l=>g.includes(l.type),this.events.pipe((0,oi.p)(s))}nextEventOfType(g){return this.eventsOfType(g).pipe((0,Gi.s)(1))}waitForOperationCompleted(g){return this.eventsOfType("OPERATION_COMPLETED").pipe((0,oi.p)(s=>s.nonce===g),(0,Gi.s)(1),(0,Sn.T)(s=>{if(void 0!==s.result)return s.result;throw new Error(s.error)})).toPromise()}get isEnabled(){return!!this.serviceWorker}}let td=(()=>{class a{get isEnabled(){return this.sw.isEnabled}constructor(s){if(this.sw=s,this.pushManager=null,this.subscriptionChanges=new fs.B,!s.isEnabled)return this.messages=eo.t,this.notificationClicks=eo.t,void(this.subscription=eo.t);this.messages=this.sw.eventsOfType("PUSH").pipe((0,Sn.T)(p=>p.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe((0,Sn.T)(p=>p.data)),this.pushManager=this.sw.registration.pipe((0,Sn.T)(p=>p.pushManager));const l=this.pushManager.pipe((0,pn.n)(p=>p.getSubscription()));this.subscription=(0,Qs.h)(l,this.subscriptionChanges)}requestSubscription(s){if(!this.sw.isEnabled||null===this.pushManager)return Promise.reject(new Error(mc));const l={userVisibleOnly:!0};let p=this.decodeBase64(s.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),I=new Uint8Array(new ArrayBuffer(p.length));for(let X=0;XX.subscribe(l)),(0,Gi.s)(1)).toPromise().then(X=>(this.subscriptionChanges.next(X),X))}unsubscribe(){return this.sw.isEnabled?this.subscription.pipe((0,Gi.s)(1),(0,pn.n)(l=>{if(null===l)throw new Error("Not subscribed to push notifications.");return l.unsubscribe().then(p=>{if(!p)throw new Error("Unsubscribe failed!");this.subscriptionChanges.next(null)})})).toPromise():Promise.reject(new Error(mc))}decodeBase64(s){return atob(s)}static#e=this.\u0275fac=function(l){return new(l||a)(e.KVO(Xc))};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac})}return a})(),Ml=(()=>{class a{get isEnabled(){return this.sw.isEnabled}constructor(s){if(this.sw=s,!s.isEnabled)return this.versionUpdates=eo.t,void(this.unrecoverable=eo.t);this.versionUpdates=this.sw.eventsOfType(["VERSION_DETECTED","VERSION_INSTALLATION_FAILED","VERSION_READY","NO_NEW_VERSION_DETECTED"]),this.unrecoverable=this.sw.eventsOfType("UNRECOVERABLE_STATE")}checkForUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(mc));const s=this.sw.generateNonce();return this.sw.postMessageWithOperation("CHECK_FOR_UPDATES",{nonce:s},s)}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(mc));const s=this.sw.generateNonce();return this.sw.postMessageWithOperation("ACTIVATE_UPDATE",{nonce:s},s)}static#e=this.\u0275fac=function(l){return new(l||a)(e.KVO(Xc))};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac})}return a})();const Vp=new e.nKC("");function wv(a,g,s,l){return()=>{if(!(0,c.UE)(l)||!("serviceWorker"in navigator)||!1===s.enabled)return;let p;if(navigator.serviceWorker.addEventListener("controllerchange",()=>{null!==navigator.serviceWorker.controller&&navigator.serviceWorker.controller.postMessage({action:"INITIALIZE"})}),"function"==typeof s.registrationStrategy)p=s.registrationStrategy();else{const[X,...ie]=(s.registrationStrategy||"registerWhenStable:30000").split(":");switch(X){case"registerImmediately":p=(0,C.of)(null);break;case"registerWithDelay":p=$p(+ie[0]||0);break;case"registerWhenStable":p=ie[0]?(0,Qs.h)(qh(a),$p(+ie[0])):qh(a);break;default:throw new Error(`Unknown ServiceWorker registration strategy: ${s.registrationStrategy}`)}}a.get(e.SKi).runOutsideAngular(()=>p.pipe((0,Gi.s)(1)).subscribe(()=>navigator.serviceWorker.register(g,{scope:s.scope}).catch(X=>console.error("Service worker registration failed with:",X))))}}function $p(a){return(0,C.of)(null).pipe((0,va.c)(a))}function qh(a){return a.get(e.o8S).isStable.pipe((0,oi.p)(s=>s))}function bv(a,g){return new Xc((0,c.UE)(g)&&!1!==a.enabled?navigator.serviceWorker:void 0)}class ef{}function xv(a,g={}){return(0,e.EmA)([td,Ml,{provide:Vp,useValue:a},{provide:ef,useValue:g},{provide:Xc,useFactory:bv,deps:[ef,e.Agw]},{provide:e.hnV,useFactory:wv,deps:[e.zZn,Vp,ef,e.Agw],multi:!0}])}let Hp=(()=>{class a{static register(s,l={}){return{ngModule:a,providers:[xv(s,l)]}}static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({providers:[td,Ml]})}return a})();var jp=o(22741),tf=o(93430);const Pv=new e.nKC("RELOAD_INFO_UI"),Kp=new e.nKC(""),Ir="SW_VERSION_LAST_CHECK_TIME_KEY",nf=15*In.yr.MINUTE;let Xp=(()=>{class a{constructor(){this.isBrowser=(0,c.UE)((0,e.WQX)(e.Agw)),this.appRef=(0,e.WQX)(e.o8S),this.swUpdate=(0,e.WQX)(Ml,{optional:!0}),this.swPush=(0,e.WQX)(td,{optional:!0}),this.httpClient=(0,e.WQX)(v.Qq),this.cdnService=(0,e.WQX)(T.H),this.appStateService=(0,e.WQX)(ni.i),this.forceReloadService=(0,e.WQX)(jp.s),this.authState=(0,e.WQX)(Oi.H),this.reloadInfoUi=(0,e.WQX)(Pv,{optional:!0}),this.systemMessageService=(0,e.WQX)(Mo._X),this.config=(0,e.WQX)(Kp,{optional:!0}),this.pwaApiCacheService=(0,e.WQX)(tf.C),this.translocoService=(0,e.WQX)(A.JO),this.dialogService=(0,e.WQX)(de.o),this.destroy$=new fs.B,this.isInited=!1}init(s){this.isInited||(this.config?.enable&&(this.initPrompt(),this.initUpdateChecker(),this.initApiCacheTracker()),s.onDestroy(()=>{try{this.destroy$.next(),this.destroy$.unsubscribe()}catch(l){console.error(l)}}),this.isInited=!0)}initPrompt(){this.isBrowser&&window.addEventListener("beforeinstallprompt",s=>{this.config?.debug&&alert("This Site Support PWA.")})}initUpdateChecker(){if(this.isBrowser){if(!this.swUpdate||null===this.swUpdate)return void console.warn("PwaService: No SwUpdate");console.warn(`PwaService: swUpdate.isEnabled = ${this.swUpdate.isEnabled}`),this.swUpdate.unrecoverable.pipe((0,Wt.M)(s=>console.error(`PwaService: swUpdate.unrecoverable, reason = ${s.reason}`)),(0,On.Q)(this.destroy$)).subscribe(),this.swUpdate.versionUpdates.pipe((0,Wt.M)(s=>console.warn(`PwaService: swUpdate.versionUpdates, type = ${s.type}`)),(0,oi.p)(s=>"VERSION_READY"===s.type),(0,Wt.M)(s=>{console.log("A new version is ready.",s);const l=this.config?.forceUpdateAfterCheck;console.warn({forceUpdateAfterCheck:l}),l?this.getForceUpdateTime().pipe((0,Wt.M)(p=>{(this.appStateService.get("timestamp")||Date.now())<=p?this.showNewVersionNotificationThenReload():this.forceReloadService.forceReloadAfterRouterNavigation()})).subscribe():this.showNewVersionNotificationThenReload()}),(0,On.Q)(this.destroy$)).subscribe(),this.appRef.isStable.pipe((0,Gi.s)(1),(0,pn.n)(()=>this.checkForUpdate({isInitial:!0})),(0,pn.n)(()=>(console.log(`PwaService: App is stable. Start to check for updates every ${nf} milliseconds.`),(0,Wh.Y)(nf))),(0,pn.n)(()=>this.checkForUpdate()),(0,On.Q)(this.destroy$)).subscribe()}}checkForUpdate(s){const l=s?.isInitial?"Initial Check: ":" ";if(!this.swUpdate)return console.warn(`PwaService: ${l}Check for update. No swUpdate`),(0,C.of)(void 0);const I=+(localStorage.getItem(Ir)||"0"),X=(new Date).getTime();return X-I{this.swUpdate?.checkForUpdate().then(Ue=>{console.log(`PwaService: ${l}${Ue?"A new version is available.":"Already on the latest version."}`),Ae.next(),Ae.complete(),Ae.unsubscribe()}).catch(Ue=>{console.error("PwaService: Failed to check for updates:",Ue),Ae.error(Ue),Ae.unsubscribe()})}))}getForceUpdateTime(){return(0,C.of)(0)}showNewVersionNotificationThenReload(){this.reloadInfoUi?(0,Va.H)(this.reloadInfoUi()).pipe((0,pn.n)(s=>this.dialogService.openDialog(s,{backdropClass:"dialog-backdrop--show"}))).subscribe():this.systemMessageService.show(this.translocoService.translate("pwa.new_version_avaliable"),"",()=>location.reload())}initApiCacheTracker(){this.isBrowser&&(this.authState.select("isLogin").pipe((0,$s.i)(1),(0,Wt.M)(()=>{this.pwaApiCacheService.deletePwaApiCacheByUrl("?isLogin=undefined")}),(0,On.Q)(this.destroy$)).subscribe(),this.authState.select("isLogin").pipe((0,Wt.M)(s=>{this.pwaApiCacheService.deletePwaApiCacheByUrl(`?isLogin=${!s}`)}),(0,On.Q)(this.destroy$)).subscribe())}static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac})}return a})();var gs=o(79336);let sf=(()=>{class a{constructor(){this.isBrowser=(0,c.UE)((0,e.WQX)(e.Agw)),this.pwaApiCacheService=(0,e.WQX)(tf.C)}intercept(s,l){return"get"===s.method.toLowerCase()&&s.url.includes("/api/bt/")||s.url.includes("/api/wv/")?this.pwaApiCacheService.isDeletingCache$.pipe((0,oi.p)(p=>!p),(0,Gi.s)(1),(0,pn.n)(()=>l.handle(s).pipe((0,Wt.M)(p=>{this.isBrowser&&p instanceof v.cS&&((p.body?.status===gs.m.IP_BLOCK_BAN_COUNTRY.statusCode||p.body?.status===gs.m.SYSTEM_MAINTAIN.statusCode)&&this.pwaApiCacheService.deletePwaApiCacheByUrl(s.urlWithParams),(p.body?.status!==gs.m.MUST_BE_LOGIN.statusCode||!s.urlWithParams.includes("isLogin=undefined"))&&p.body?.status!==gs.m.SUCCESS.statusCode&&this.pwaApiCacheService.deletePwaApiCacheByUrl(s.urlWithParams))})))):l.handle(s)}static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac})}return a})();function Yp(a){return[{provide:Kp,useValue:a},Xp,{provide:e.iLQ,useFactory:g=>s=>{g.init(s)},deps:[Xp],multi:!0},{provide:v.a7,useClass:sf,multi:!0}]}let zp=(()=>{class a{static forRoot(s){let l=[];return s?.enable&&(l=[...Hp.register(s?.useAppSw?"appsw-worker.js":"ngsw-worker.js",{enabled:s?.enable,registrationStrategy:"registerImmediately"}).providers||[],...Yp(s)]),{ngModule:a,providers:l}}static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({imports:[c.MD,Hp]})}return a})(),Lv=(()=>{class a{static forRoot(){return{ngModule:a,providers:[ni.i,{provide:e.iLQ,useFactory:s=>l=>s.registerBootstrap(l),deps:[ni.i],multi:!0}]}}static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({imports:[c.MD]})}return a})(),Qp=(()=>{class a{constructor(){this.ngZone=(0,e.WQX)(e.SKi),this.isPlatformBrowser=(0,c.UE)((0,e.WQX)(e.Agw)),this.cdnService=(0,e.WQX)(T.H),this.authState=(0,e.WQX)(Oi.H),this.siteSetting=(0,e.WQX)(Qn.p),this.customEnvironment=(0,e.WQX)(R.n),this.defaultKeySet={prod:"be2f9e64c6f05139160f4e6ab4bef5e0",uat:"db40b1da40b2c8f6e364be1f8bb7e6e4"},this.api=null,this.isInited=null,this.isInited$=new Ts.t(this.isInited),this.destroy$=new fs.B}init(s,l){if(l&&(this.customKeySet=l),!this.isInited){if(!this.isPlatformBrowser)return void this.isInited$.next(this.isInited=!1);this.ngZone.onStable.pipe((0,Gi.s)(1),(0,pn.n)(()=>this.loadJs()),(0,pn.n)(()=>this.start()),(0,Wt.M)(()=>{this.isInited$.next(this.isInited=!0)}),(0,S.W)(p=>(console.error(p),this.isInited$.next(this.isInited=!1),eo.t)),(0,pn.n)(()=>this.authState.select("isLogin")),(0,Wt.M)(()=>this.update()),(0,On.Q)(this.destroy$)).subscribe(),s.onDestroy(()=>{this.isInited$.complete(),this.isInited$.unsubscribe(),this.destroy$.next(),this.destroy$.unsubscribe()})}}loadJs(){return new Fc.c(s=>{const l=this.cdnService.useWithServer("./assets/js/jbl.js"),p=document.createElement("script");p.id="jbl-script",p.async=!0,p.src=l,p.addEventListener("load",()=>{this.api=JBLWebSocket,s.next(),s.complete(),s.unsubscribe()}),p.addEventListener("error",I=>{s.error(I)}),document.head.insertBefore(p,document.head.firstChild)})}start(){if(this.api){let s;s=this.customEnvironment.production?this.customKeySet?.prod||this.defaultKeySet.prod:this.customKeySet?.uat||this.defaultKeySet.uat,s&&this.api.connect(s)}return(0,C.of)(void 0)}update(){this.api&&this.api.upsert(window.location.hostname,this.authState.get("accountInfo")?.userId||"",this.siteSetting.get("siteSettingModel")?.isNativeApp?"Mobile":"WEB","","")}static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac})}return a})();function Jp(a,g){return[Qp,{provide:e.iLQ,useFactory:(s,l)=>p=>{(0,c.UE)(s)&&setTimeout(()=>{l.init(p,a)},g||2e3)},deps:[e.Agw,Qp],multi:!0}]}var vc=o(15153),Ec=o(93166),rf=o(27468),Bv=o(12498);const kv=["/open-game"];let Zp=(()=>{class a{constructor(){this.isBrowser=(0,c.UE)((0,e.WQX)(e.Agw))}shouldSkipAppInit(){return!!this.isBrowser&&this.isShouldSkipInitRoute(location.href)}isShouldSkipInitRoute(s){return 0!==kv.filter(p=>{const I=s.indexOf(p),X=s[I+p.length];return!(I<0||"-"===X||"_"===X)}).length}static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();var Nl=o(20897),no=o(29405);let af=(()=>{class a{constructor(){this.appStateService=(0,e.WQX)(ni.i),this.isBrowser=(0,c.UE)((0,e.WQX)(e.Agw)),this.video=null}init(){return this.isBrowser?su.V.isIOS()?(this.initDetecVedio(),this.detectVideoAndSetState().pipe((0,Wt.M)(()=>{setInterval(()=>{this.detectVideoAndSetState()},1e4)}))):(this.appStateService.set("canAutoPlayVideo",!0),(0,C.of)(void 0)):(0,C.of)(void 0)}initDetecVedio(){this.removeVideo();const s=document.createElement("video");s.id="detect-video",s.muted=!0,s.playsInline=!0,s.autoplay=!0,s.style.display="none",s.style.visibility="hidden",s.style.opacity="0",this.video=s}detectVideoAndSetState(){const s=this.video;if(!s){try{this.initDetecVedio()}catch(X){console.warn(X)}return(0,C.of)(void 0)}const l=document.createElement("source");l.src="/assets/images/animation/ios-detect-source.mov",l.type="video/quicktime";const p=document.createElement("source");return p.src="/assets/images/animation/ios-detect-source.webm",p.type="video/webm",s.appendChild(l),s.appendChild(p),document.body.append(s),new Fc.c(X=>{let ie=!1;const Ae=function(){ie||(X.next(),X.complete(),ie=!0)};s.play().then(()=>{this.appStateService.set("canAutoPlayVideo",!0),Ae()}).catch(Ue=>{Ue?.toString().includes("NotAllowedError")?this.appStateService.set("canAutoPlayVideo",!1):this.appStateService.set("canAutoPlayVideo",!0),Ae()}),setTimeout(()=>{ie||(this.appStateService.set("canAutoPlayVideo",!0),Ae())},1e3)})}removeVideo(){const s=document.getElementById("detect-video");s&&s.remove(),this.video=null}createCheckVideoScript(){if(this.isBrowser)return;const s=document.createElement("script");s.type="text/javascript",s.innerHTML="\n const container = document.querySelector('.loader-box > .movie-box');\n\n if (container) {\n container.style.display = 'none';\n }\n\n const testingVideo = document.createElement('video');\n testingVideo.id = 'detect-video-render';\n testingVideo.muted = true;\n testingVideo.playsInline = true;\n testingVideo.autoplay = true;\n testingVideo.style.display = 'none';\n\n const movSource = document.createElement('source')\n movSource.src = '/assets/images/animation/ios-detect-source.mov';\n movSource.type = 'video/quicktime';\n\n const webmSource = document.createElement('source')\n webmSource.src = '/assets/images/animation/ios-detect-source.webm';\n webmSource.type = 'video/webm';\n\n testingVideo.appendChild(movSource);\n testingVideo.appendChild(webmSource);\n document.body.append(testingVideo);\n\n const ending = function () {\n testingVideo.remove();\n if (container) {\n container.style.display = 'block';\n }\n }\n\n testingVideo.play().then(() => {\n ending();\n }).catch((error) => {\n if (error?.toString().includes('NotAllowedError')) {\n const originVideo = document.querySelector('.loader-box > .movie-box > video');\n originVideo?.remove();\n\n if (container) {\n const img = document.createElement('img');\n img.src = '/assets/images/animation/loader.png';\n img.style.width = '80px';\n container.appendChild(img);\n }\n }\n ending();\n })\n ",document.querySelector(".loader-box > .movie-box")?.appendChild(s)}static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();var Uv=o(86646),cf=o(37380);let lf=(()=>{class a{constructor(){if(this._defaultTypeList=[],this._typeList=new Set,this._model={userAgent:"",entryList:[]},![typeof window,typeof document].includes("undefined")&&"PerformanceObserver"in window){for(const s of PerformanceObserver.supportedEntryTypes)this._defaultTypeList.push(s);this._model={...this._model,userAgent:window.navigator.userAgent,initMemory:performance?.memory??null},this._observer=new PerformanceObserver((s,l)=>{this._model.entryList.push(...s.getEntries()),s.getEntries().forEach(p=>{("largest-contentful-paint"===p.entryType||"longtask"===p.entryType||"first-contentful-paint"===p.entryType)&&this.resetStabilityTimeout()})});for(const s of this._defaultTypeList)this._observer.observe({type:s,buffered:!0}),this._typeList.add(s);this.resetStabilityTimeout(),window.getStore=this.getStore.bind(this)}}resetStabilityTimeout(){this._stabilityTimeout&&clearTimeout(this._stabilityTimeout),this._stabilityTimeout=setTimeout(()=>{console.log("performance :>> ","stabilityDisconnect"),this.setMark("mark:stabilityDisconnect"),clearTimeout(this._manualTimeout),this.disconnect()},3e3)}autoDisconnectAfter30s(){this._manualTimeout=setTimeout(()=>{console.log("performance :>> ","autoDisconnect"),this.setMark("mark:autoDisconnect"),clearTimeout(this._stabilityTimeout),this.disconnect()},3e4)}addType(s){for(const l of s)this._typeList.has(l)||(this._observer.observe({type:l,buffered:!0}),this._typeList.add(l))}disconnect(){this._observer&&(this._model.disconnectMemory=performance?.memory??null,this._model.entryList.push(...this.takeRecords()),this._observer.disconnect())}setMark(s){this._observer&&performance.mark(s)}setMeasure(s,l,p){this._observer&&performance.measure(s,l,p)}getStore(){return{...this._model,entryList:[...this._model.entryList.sort((s,l)=>s.startTime-l.startTime)]}}takeRecords(){try{return this._observer.takeRecords()}catch(s){return console.error(s),[]}}static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();const Xa=function(a){let g;try{const s=localStorage.getItem(a);s&&(g=s)}catch{return g}return g},t_=[{provide:e.hnV,multi:!0,deps:[e.zZn,e.Agw,c.aZ,ni.i,Ds.q,Zu.D,ma.u,A.JO,hs.W,Zp,Nl.W,Uv._,af,Du.H,lf,Oi.H,Qn.p,ii],useFactory:(a,g,s,l,p,I,X,ie,Ae,Ue,st,rt,yt,Gt,Tt,fn,Wn,Ri)=>()=>{Tt.setMark("mark:appinit:start");const yn=a.get(R.n),Yn=(0,c.UE)(g);if(console.log("App initializing...",s.path(!0)),Yn){!function uf(){const a=document.querySelector("html"),g=document.querySelector("body"),l="is-mobile",p="is-desktop";a.classList.remove(l,p),Ec.U.isMobileBrowser()?a.classList.add(l):(a.classList.add(p),a.style.setProperty("font-size","3.75px"),g.style.setProperty("font-size","16px"))}();const kn=document.querySelector("app-root");kn&&rt.detectElementChanges(kn)}else l.set("prerenderPath",s.path());if(Ue.shouldSkipAppInit()){console.log("Skip App Init."),fn.set({isLogin:!1});const kn=Rn.U.getInstanceOf(+Xa("currencyType")),Ci=y.t.getInstanceOf(+Xa("languageType")),bi=ds.B.getInstanceOf(+Xa("countryType")),dr=[{currencyTypeId:kn?.unique,isMaintain:!1,mapping:[{currencySettingTypeId:es.X.CURRENCY.unique,mappingData:[`${kn.unique}`]},{currencySettingTypeId:es.X.LANGUAGE.unique,mappingData:[`${Ci.unique}`]},{currencySettingTypeId:es.X.COUNTRY.unique,mappingData:[`${bi.unique}`]}]}];return Wn.set({accessCountryTypeId:bi.unique,currentCurrencyType:kn,currentLanguageType:Ci,currencyMappingSettingModel:dr,currencyMappingSettingModelInMarket:dr}),I.setCurrencyType(kn),I.setLanguageType(Ci),(0,C.of)(!0)}Yn&&"true"===new URLSearchParams(window.location.search).get("isNativeApp")&&p.markAsNativeApp();const yi=(0,C.of)(void 0).pipe((0,pn.n)(()=>(Tt.setMark("mark:appinit:step0:start"),Yn?(0,C.of)(void 0).pipe((0,pn.n)(()=>{const Ci=new URLSearchParams(location.search).get("tk");return Ci?X.decryptToken(Ci).pipe((0,Wt.M)(bi=>{if(bi.status!==gs.m.SUCCESS.statusCode)throw new Error(bi.message);bi&&bi.data?.tk&&st.setToken({accessToken:bi.data.tk,refreshToken:""})}),(0,S.W)(bi=>(console.error("decryptToken Error: ",bi),(0,C.of)(void 0))),(0,Wt.M)(()=>{location.assign("/")}),(0,pn.n)(()=>eo.t)):(0,C.of)(void 0)})):(0,C.of)(void 0))),(0,pn.n)(()=>(Tt.setMark("mark:appinit:step0:end"),Tt.setMeasure("measure:appinit:step0","mark:appinit:step0:start","mark:appinit:step0:end"),Tt.setMark("mark:appinit:step1:start"),Yn&&localStorage.getItem(no.v)?(0,C.of)(void 0).pipe((0,pn.n)(()=>X.checkLogin({skipHttpErrorHandle:!0}).pipe((0,pn.n)(kn=>{if(kn?.status===gs.m.SUCCESS.statusCode||kn?.status===gs.m.MUST_BE_LOGIN.statusCode||kn?.status===gs.m.IP_BLOCK_BAN_COUNTRY.statusCode||kn?.status===gs.m.BRAND_MAINTAIN.statusCode)return(0,C.of)(kn);let Ci=kn?.message;switch(kn?.status){case gs.m.TOKEN_INACTIVE.statusCode:Ci="Sorry! Please re-login.";break;case gs.m.ACCOUNT_IS_INACTIVED.statusCode:Ci="Sorry! Your account is inactivated.";break;case gs.m.ACCOUNT_IS_LOCK.statusCode:Ci="Sorry! Your account is locked.";break;default:Ci=`Sorry! Error occurred. Code: [${kn?.status||"unknown"}].`}return(0,Lu.$)(()=>new Error(Ci))}))),(0,Bv.L)(1),(0,S.W)(kn=>(st.clearToken(),fn.set({isLogin:!1,accountInfo:void 0}),Yn&&(alert(kn.message||"Sorry! Please re-login."),location.reload()),(0,Lu.$)(()=>kn)))):(fn.set({isLogin:!1,accountInfo:void 0}),(0,C.of)(void 0)))),(0,pn.n)(()=>(Tt.setMark("mark:appinit:step1:end"),Tt.setMeasure("measure:appinit:step1","mark:appinit:step1:start","mark:appinit:step1:end"),Tt.setMark("mark:appinit:step2:start"),fn.select("isLogin").pipe((0,Gi.s)(1),(0,pn.n)(kn=>kn?fn.select("accountInfo").pipe((0,Gi.s)(1)):(0,C.of)(null))))),(0,pn.n)(kn=>(Tt.setMark("mark:appinit:step2:end"),Tt.setMeasure("measure:appinit:step2","mark:appinit:step2:start","mark:appinit:step2:end"),Tt.setMark("mark:appinit:step3:start"),p.getCurrencyMapping().pipe((0,Sn.T)(Ci=>({currencyMappingWithAccessSetting:Ci,playerInfo:kn}))))),(0,Wt.M)(({currencyMappingWithAccessSetting:kn,playerInfo:Ci})=>{Tt.setMark("mark:appinit:step3:end"),Tt.setMeasure("measure:appinit:step3","mark:appinit:step3:start","mark:appinit:step3:end"),Tt.setMark("mark:appinit:step4:start");const bi=Ci?.currencyTypeId,dr=+(Xa("currencyType")||""),mo=+(Xa("languageType")||""),Lf=kn.accessCountryTypeId,vo=kn.accessCurrencyTypeId,Za=kn.currencyMapping,Uo=Yn?Za.filter(rs=>(rs.mapping.find(ra=>ra.currencySettingTypeId===es.X.MARKET.unique)?.mappingData||[]).includes(yn.market)):Za;let Cr;if(console.log(" Check currency..."),Cr=bi,Ci?Uo.find(ji=>ji.currencyTypeId===bi)?Cr=bi:console.log(` No valid currency mapping of currency type id from player: ${dr}`):console.log(" PlayerInfo does not exist."),Cr||(console.log(" Check currency from localStorage."),Uo.find(ji=>ji.currencyTypeId===dr)?Cr=dr:console.log(` No valid currency mapping of currency type id from local storage: ${dr}`)),Cr||(console.log(" Check currency from access info."),Uo.find(ji=>ji.currencyTypeId===vo)?Cr=vo:console.log(` No valid currency mapping of currency type id from access info: ${dr}`)),Yn){console.log(" Check currency from market url.");const ji=new URLSearchParams(window.location.search).get("marketCurrency");ji?Cr=+ji:console.log(" No valid marketCurrency")}Cr||(console.warn("Cannot decide currency, use first currency in market.",{playerInfoCurrencyTypeId:bi,localStorageCurrencyTypeId:dr,accessCurrencyTypeId:vo}),Cr=Uo[0].currencyTypeId);const Dn=Rn.U.getInstanceOf(Cr);if(!Dn)throw new Error(`No valid currency type, currencyTypeId: ${Cr}`);console.log(" Currency checked: ",Dn.unique);const Ln=Uo.find(rs=>rs.currencyTypeId===Dn.unique);if(!Ln)throw new Error(`No valid currency mapping, currency type id: ${Dn.unique}`);const jn=Ln.mapping?.find(rs=>rs.currencySettingTypeId===es.X.LANGUAGE.unique);if(!jn)throw new Error(`No valid currency-language mapping, currency type id: ${Dn.unique}`);let fi;if(console.log(" Check language..."),fi||(console.log(" Check language from localStorage."),mo&&jn.mappingData?.includes(`${mo}`)&&(fi=mo)),Yn){console.log(" Check lang from market url.");const ji=new URLSearchParams(window.location.search).get("marketLang");ji?Cr=+ji:console.log(" No valid marketLang")}if(!fi){const rs=Ln.mapping?.find(ji=>ji.currencySettingTypeId===es.X.DEFAULT_LANGUAGE.unique)?.mappingData?.[0]||jn.mappingData?.[0];console.warn("Cannot decide language, use default language setting.",{localStorageLanguageTypeId:mo},"Default language id: ",rs),rs&&(fi=+rs)}const _s=y.t.getInstanceOf(fi||0);if(!_s)throw new Error(`No valid language type, languageTypeId: ${fi}`);console.log(" Language checked: ",_s.unique),Wn.set({currencyMappingSettingModel:Za,currencyMappingSettingModelInMarket:Uo,accessCountryTypeId:Lf,accessCurrencyTypeId:vo}),I.setCurrencyType(Dn),I.setLanguageType(_s),Tt.setMark("mark:appinit:step4:end"),Tt.setMeasure("measure:appinit:step4","mark:appinit:step4:start","mark:appinit:step4:end")}),(0,pn.n)(()=>(Tt.setMark("mark:appinit:step5:start"),Ri.select("i18nRouteInited").pipe((0,oi.p)(kn=>!!kn),(0,Gi.s)(1)))),(0,pn.n)(()=>(Tt.setMark("mark:appinit:step5:end"),Tt.setMeasure("measure:appinit:step5","mark:appinit:step5:start","mark:appinit:step5:end"),Tt.setMark("mark:appinit:step5.5:start"),I.continueIfMarketIsValid())),(0,pn.n)(()=>(Tt.setMark("mark:appinit:step5.5:end"),Tt.setMeasure("measure:appinit:step5.5","mark:appinit:step5.5:start","mark:appinit:step5.5:end"),Tt.setMark("mark:appinit:step6:start"),p.getSiteSetting().pipe((0,Wt.M)(kn=>{Wn.set({siteSettingModel:kn})})))),(0,pn.n)(()=>(Tt.setMark("mark:appinit:step6:end"),Tt.setMeasure("measure:appinit:step6","mark:appinit:step6:start","mark:appinit:step6:end"),Tt.setMark("mark:appinit:step7:start"),Wn.select("currentLanguageType").pipe((0,Gi.s)(1),(0,pn.n)(kn=>(0,C.of)(void 0).pipe((0,pn.n)(()=>(ie.setFallbackLangForMissingTranslation({fallbackLang:kn.resourceKey}),ie.selectTranslation(kn.resourceKey))),(0,Wt.M)(()=>Ae.setActiveLang(kn))))))),(0,Wt.M)(()=>{Tt.setMark("mark:appinit:step7:end"),Tt.setMeasure("measure:appinit:step7","mark:appinit:step7:start","mark:appinit:step7:end"),Tt.setMark("mark:appinit:step8:start"),yn.production&&vi.os.config({nullTargetWarn:!1}),Tt.setMark("mark:appinit:step8:end"),Tt.setMeasure("measure:appinit:step8","mark:appinit:step8:start","mark:appinit:step8:end")}),(0,pn.n)(()=>(Tt.setMark("mark:appinit:step9:start"),yt.init())),(0,Sn.T)(()=>(Tt.setMark("mark:appinit:step9:end"),Tt.setMeasure("measure:appinit:step9","mark:appinit:step9:start","mark:appinit:step9:end"),!0)),(0,Wt.M)(()=>{Tt.setMark("mark:appinit:end"),Tt.setMeasure("measure:appinit","mark:appinit:start","mark:appinit:end"),console.warn("App Init Finish!"),Yn&&Gt.sendWebStateMessage("appInit")}));return(0,Va.H)(Promise.race([Ca(yi),Ca(l.on("isSystemMaintaining").pipe((0,oi.p)(kn=>!!kn)))]))}},{provide:e.iLQ,multi:!0,deps:[e.Agw,Qn.p,cf.e],useFactory:(a,g,s)=>l=>{const p=(0,c.UE)(a);p&&g.select("siteSettingModel").pipe((0,$s.i)(1),(0,Wt.M)(I=>{s.cdnDomain=I?.cdnDomain||"",p&&localStorage.setItem("cdnDomain",s.cdnDomain)})).subscribe()}},{provide:e.iLQ,multi:!0,deps:[V.Ix,lf],useFactory:(a,g)=>(a.events.pipe((0,oi.p)(s=>s instanceof V.wF),(0,Gi.s)(1),(0,Wt.M)(()=>{g.setMark("mark:firstNagitaionEnd")})).subscribe(),s=>{(0,e.mal)(()=>{g.setMark("mark:afterNextRender"),g.autoDisconnectAfter30s()},{injector:s.injector})})}];let n_=(()=>{class a{static forRoot(s){return{ngModule:a,providers:[ma.P,{provide:e.iLQ,useFactory:l=>()=>(l.init(),(0,C.of)(!0)),deps:[ma.P],multi:!0},...s||[]]}}static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({imports:[c.MD]})}return a})(),nd=(()=>{class a{static forRoot(s){return{ngModule:a,providers:[hs.W,{provide:e.iLQ,useFactory:(l,p,I)=>X=>{if(!(0,c.UE)(l))return;const ie=(0,Qs.h)(p.select("currentLanguageType").pipe((0,$s.i)(1),(0,Wt.M)(Ae=>I.setActiveLang(Ae)),(0,Sn.T)(()=>"language")),p.select("currentCurrencyType").pipe((0,$s.i)(1),(0,va.c)(30),(0,Sn.T)(()=>"currency"))).pipe((0,xr.B)(50),(0,Wt.M)(Ae=>I.refresh(Ae))).subscribe();X.onDestroy(()=>{try{ie?.unsubscribe()}catch(Ae){console.error(Ae)}})},deps:[e.Agw,Qn.p,hs.W],multi:!0},...s||[]]}}static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({imports:[c.MD]})}return a})(),wl=null;const Wv=(a,g,s,l,p)=>I=>{if(!(0,c.UE)(a))return;const X=(0,Qs.h)(g.select("isLogin").pipe((0,$s.i)(1),(0,va.c)(50),(0,pn.n)(()=>function(a,g,s){const l=a.getCurrencyMapping(),p=g.getCurrentCurrencySetting();return(s?p&&p.length>0?(0,C.of)({currencyMapping:p}):l:wl?(0,C.of)(wl):l.pipe((0,Wt.M)(X=>wl=X))).pipe((0,Wt.M)(X=>{g.setCurrencyLanguageToState(X.currencyMapping)}))}(s,l,(0,c.UE)(a)))),(0,Qs.h)(p.select("currentCurrencyType").pipe((0,$s.i)(1)),p.select("currentLanguageType").pipe((0,$s.i)(1))).pipe((0,xr.B)(50))).pipe((0,pn.n)(()=>function(a,g){return a.getSiteSetting().pipe((0,Wt.M)(s=>{g.set({siteSettingModel:s})}))}(s,p))).subscribe();I.onDestroy(()=>{try{X?.unsubscribe()}catch(ie){console.error(ie)}})},df=(a,g,s)=>()=>g.select("isLogin").pipe((0,Gi.s)(1)).pipe((0,Wt.M)(l=>{(0,c.UE)(a)&&s.events.pipe((0,oi.p)(p=>p instanceof V.Z),(0,Gi.s)(1)).subscribe(p=>{!l||!g.get("accountInfo").isResetPassword||p.url===ui.C.RESET_PASSWORD_PAGE.link||s.navigate([ui.C.RESET_PASSWORD_PAGE.link])})}),(0,Sn.T)(()=>!0)),Vv=(a,g,s)=>l=>{if(!(0,c.UE)(a))return;const p=s.events.pipe((0,oi.p)(I=>I instanceof V.wF),(0,pn.n)(()=>g.select("accountInfo").pipe((0,Gi.s)(1))),(0,oi.p)(I=>!!I.isResetPassword),(0,Wt.M)(()=>{const I=s.url;if(I===ui.C.RESET_PASSWORD_PAGE.link)return;const X=s.getCurrentNavigation();/popup:member\/reset-password/.test(I)&&X?.previousNavigation?.extractedUrl.root.children?.popup||setTimeout(()=>{s.navigate([ui.C.RESET_PASSWORD_PAGE.link])},1e3)})).subscribe();l.onDestroy(()=>{try{p?.unsubscribe()}catch(I){console.error(I)}})};let bl=(()=>{class a{static forRoot(s){return{ngModule:a,providers:[{provide:e.iLQ,useFactory:Wv,deps:[e.Agw,Oi.H,Ds.q,Zu.D,Qn.p],multi:!0},{provide:e.hnV,useFactory:df,deps:[e.Agw,Oi.H,V.Ix],multi:!0},{provide:e.iLQ,useFactory:Vv,deps:[e.Agw,Oi.H,V.Ix],multi:!0},...s||[]]}}static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({imports:[c.MD]})}return a})();var hf=o(25586),ia=function(a){return a.CUSTOM_META="custommeta",a.TRUE="true",a}(ia||{});const xl={"vn/vn":"vi-VN","cn/cn":"zh-CN","my/ma":"ms-MY"},ff=new e.nKC("GET_JSON_LD");var Ic=function(a){return a[a.META=0]="META",a[a.LINK=1]="LINK",a}(Ic||{});let gf=(()=>{class a{constructor(){this.initialed=!1,this.systemConfig=(0,e.WQX)(R.n),this.isBrowser=(0,c.UE)((0,e.WQX)(e.Agw)),this.meta=(0,e.WQX)(u.W8),this.title=(0,e.WQX)(u.hE),this.siteSettingState=(0,e.WQX)(Qn.p),this.skipAppInitChecker=(0,e.WQX)(Zp),this.appStateService=(0,e.WQX)(ni.i),this.customEnvironment=(0,e.WQX)(R.n),this.location=(0,e.WQX)(c.aZ),this.document=(0,e.WQX)(c.qQ),this.getJsonLd=(0,e.WQX)(ff,{optional:!0}),this.checkCurrencyLang$=(0,po.z)([this.siteSettingState.select("currentCurrencyType"),this.siteSettingState.select("currentLanguageType")]).pipe((0,Wt.M)(([s,l])=>{this.getJsonLd&&this.addJsonLdToDom(JSON.stringify(this.getJsonLd(s,l)))}),(0,ns.pQ)()),this.map_LandingPageType_SeoSettingModel=new Map,this.map_LandingPageType_SeoLinkSettingModel=new Map,this.metaSelectorKeyword="name='keywords'",this.metaSelectorDescription="name='description'",this.destroy$=new fs.B}checkSeoSetting(){return this.siteSettingState.select("siteSettingModel").pipe((0,Gi.s)(1),(0,Sn.T)(s=>s?.pageSeoData||[]),(0,Wt.M)(s=>this.initMap_LandingPageType_SeoSettingModel(s)))}initMap_LandingPageType_SeoSettingModel(s){s=s||[],this.map_LandingPageType_SeoSettingModel.clear(),this.map_LandingPageType_SeoLinkSettingModel.clear();for(const l of s){const p=hf.J.getInstanceOf(l.pageTypeId);if(!p){console.warn(`PageSeoService.initMap_LandingPageType_SeoSettingModel(), cannot find landingPageType, seoSettingModel.pageTypeId=[${l.pageTypeId}]`);continue}const I=l.defaultSEOList?.find(yn=>"title"===yn.attribute)?.value||"",X=l.defaultSEOList?.find(yn=>"keywords"===yn.attribute),ie=X?.value?{name:"keywords",content:X.value}:null,Ae=l.defaultSEOList?.find(yn=>"description"===yn.attribute),Ue=Ae?.value?{name:"description",content:Ae.value}:null,st=new Map,rt=[],yt=l.pageSEOList.filter(yn=>yn.tag===Ic.META)||[];for(const yn of yt){const Yn=yn.displayOrder,ei=yn.contentNo;rt[Yn]=(rt[Yn]||new Set).add(ei);const kn=st.get(ei)||[];st.set(ei,[...kn,yn])}const Gt=rt.reduce((yn,Yn)=>[...yn,...Array.from(Yn||[]).map(yi=>st.get(yi)?.reduce((kn,Ci)=>({...kn,[Ci.attribute]:Ci.value}),{})||{})],[]);this.map_LandingPageType_SeoSettingModel.set(p,{seoSettingModel:l,title:I,metaKeywords:ie,metaDescription:Ue,pageSeoMetaDefinitionList:Gt});const Tt=l.pageSEOList.filter(yn=>yn.tag===Ic.LINK).sort((yn,Yn)=>yn.displayOrder-Yn.displayOrder),fn=Array.from(new Set(Tt.map(yn=>yn.contentNo))),Wn=Tt.reduce((yn,{contentNo:Yn,attribute:ei,value:yi})=>(yn[Yn.toString()]||(yn[Yn.toString()]={[ei]:yi}),yn[Yn]=Object.assign(yn[Yn],{[ei]:yi}),yn),{}),Ri=fn.map(yn=>Wn[yn.toString()]);this.map_LandingPageType_SeoLinkSettingModel.set(p,Ri)}}checkPageSeo(s){if(this.clearSeo(),this.customEnvironment.donotPrerenderRootTitle&&!this.isBrowser&&""===this.appStateService.get("prerenderPath"))return;const l=this.getUrlWithoutParams(s),p=ui.C.startWithLink(l);if(!p)return void console.error(`PageSeoService.handleSeo(), cannot find routingPathType, url=[${l}]`);const I=p.landingPageType;I?(this.applySeoOnPage(I),this.applySeoLinkOnPage(I)):console.error(`PageSeoService.handleSeo(), cannot find landingPageType, url=[${l}], routingPathType.key=[${p.key}]`)}initSeoListener(s){if(this.initialed||this.skipAppInitChecker.shouldSkipAppInit())return;this.systemConfig.production||this.meta.addTag({name:"robots",content:"noindex, nofollow"});const p=s.injector.get(V.Ix);(0,Qs.h)(p.events.pipe((0,oi.p)(I=>I instanceof V.wF)),this.siteSettingState.select().pipe((0,pn.n)(()=>this.checkSeoSetting()))).pipe((0,xr.B)(100),(0,Wt.M)(()=>{this.checkPageSeo(p),this.setLinkWithHreflang(this.location,this.document)}),(0,On.Q)(this.destroy$)).subscribe(),this.checkCurrencyLang$.subscribe(),s.onDestroy(()=>{this.destroy$.next(),this.destroy$.unsubscribe()}),this.initialed=!0}clearSeo(){if(!this.isBrowser)return;this.title.setTitle(""),this.meta.removeTag(this.metaSelectorKeyword),this.meta.removeTag(this.metaSelectorDescription);const l=document.querySelectorAll(`meta[${ia.CUSTOM_META}='${ia.TRUE}']`);l.length>0&&l.forEach(p=>{p?.parentNode?.removeChild(p)})}getUrlWithoutParams(s){const l=s.parseUrl(s.url);return l.queryParams={},l.fragment=null,l.toString()}applySeoOnPage(s){const l=this.map_LandingPageType_SeoSettingModel.get(s);if(!l)return void console.warn(`PageSeoService.applySeoOnPage(), cannot find seoMetaInfo by landingPageType=[${s?.unique}]`);if(l.title)try{this.title.setTitle(l.title)}catch(X){console.error(X)}if(l.metaKeywords)try{this.meta.updateTag(this.getMarkedMeta(l.metaKeywords),this.metaSelectorKeyword)}catch(X){console.error(X)}if(l.metaDescription)try{this.meta.updateTag(this.getMarkedMeta(l.metaDescription),this.metaSelectorDescription)}catch(X){console.error(X)}const p=this.map_LandingPageType_SeoSettingModel.get(hf.J.ALL)?.pageSeoMetaDefinitionList||[];for(const X of p)try{this.meta.addTag(this.getMarkedMeta(X))}catch(ie){console.error(ie)}const I=l.pageSeoMetaDefinitionList||[];for(const X of I)try{this.meta.addTag(this.getMarkedMeta(X))}catch(ie){console.error(ie)}}applySeoLinkOnPage(s){if(!this.isBrowser)return;const l=this.map_LandingPageType_SeoLinkSettingModel.get(s),p=document,I=p.querySelectorAll("link[customLink='true']");I.length>0&&I.forEach(X=>{X?.parentNode?.removeChild(X)}),0!==l?.length?l?.forEach(X=>{const ie=p.createElement("link");for(const Ae in X)ie.setAttribute(Ae,X[Ae]);ie.setAttribute("customLink","true"),document.head.appendChild(ie)}):console.warn(`PageSeoService.applySeoLinkOnPage(), cannot find seoLinkInfo by landingPageType=[${s?.unique}]`)}getMarkedMeta(s){return s&&{...s,[ia.CUSTOM_META]:ia.TRUE}}setLinkWithHreflang(s,l){const p=this.getLinkElement(l),I=s.path();this.setLinkAlternate(p,I)}getLinkElement(s){const l="seo-link-alternate";let p=s.getElementById(l);return p||(p=s.createElement("link"),p.setAttribute("id",l),s.head.appendChild(p)),p}setLinkAlternate(s,l){const p=l.split("/"),I=`${p[1]}/${p[2]}`;s.setAttribute("rel","alternate"),s.setAttribute("hreflang",this.convertToLangCode(I)),s.setAttribute("href",`/${I}/`)}convertToLangCode(s){if("vn/vn"===s||"cn/cn"===s||"my/ma"===s)return xl[s];const l=s.split("/");return`${l[1]}-${l[0].toUpperCase()}`}addJsonLdToDom(s){if(!this.isBrowser)return;const l=document.getElementById("ldJsonId");if(!s)return void(l?.firstChild&&l?.parentNode?.removeChild(l));if(l?.firstChild)return void(l.textContent=s);const I=document.createElement("script");I.setAttribute("type","application/ld+json"),I.setAttribute("id","ldJsonId"),I.textContent=s,document.head.appendChild(I)}static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac})}return a})(),i_=(()=>{class a{static forRoot(){return{ngModule:a,providers:[gf,{provide:e.iLQ,useFactory:s=>l=>s.initSeoListener(l),deps:[gf],multi:!0}]}}static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({imports:[c.MD]})}return a})();var $v=o(46983),Hv=o(88759);let jv=(()=>{class a{static forRoot(){return{ngModule:a,providers:[{provide:Hv.K,deps:[e.Agw],useFactory:s=>{let p="",I="",X=0;(0,c.UE)(s)&&(p=localStorage.getItem(no.v)||p,I=localStorage.getItem(no.wf)||I,X=+(localStorage.getItem(no.lz)||"")||X);const ie={accessToken:p,refreshToken:I},Ae=new ki.Y;return Ae.set(ie),Ae}},Nl.W,{provide:v.a7,multi:!0,useExisting:Nl.W},{provide:e.iLQ,multi:!0,deps:[e.Agw,Nl.W],useFactory:(s,l)=>()=>{(0,c.UE)(s)&&l.selectToken().pipe((0,oi.p)(I=>!!I?.accessToken),(0,pn.n)(I=>{const X=I.sysTimestamp||Date.now(),ie=l.parseJwt(I.accessToken)?.exp||0;let Ue=In.yr.SECOND*ie-X-5*In.yr.MINUTE;return Ue<0&&(Ue=0),(0,C.of)(!0).pipe((0,va.c)(Ue),(0,pn.n)(()=>l.refreshToken()))})).subscribe()}}]}}static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({imports:[c.MD]})}return a})();var Kv=o(27056);let s_=(()=>{class a{static forRoot(){return{ngModule:a,providers:[{provide:e.hnV,multi:!0,deps:[Jh],useFactory:s=>()=>(0,C.of)(!0)}]}}static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({})}return a})();var id=o(47987),Xv=o(76939),Yv=(o(65089),o(30023));o(5585);let Jv=(()=>{class a{static forRoot(s={ignoreImageUrlReplaceCheck:!1}){return{ngModule:a,providers:[{provide:Yv.t,useValue:s?.ignoreImageUrlReplaceCheck||!1}]}}static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({imports:[c.MD,A.Q8,id.z_,Xv.jc]})}return a})(),Zv=(()=>{class a{constructor(){this.isBrowser=(0,c.UE)((0,e.WQX)(e.Agw))}log(...s){console[this.isBrowser?"error":"log"](...s)}handleError(s){this.log("--------- Tracking Error Start---------"),s instanceof v.yz?(this.log("HttpErrorResponse"),this.log(s),this.log(`Error Status : ${s.status}`),this.log(`Error Message : ${s.message}`)):(this.log(`Error Name : ${s.name}`),this.log(`Error Message : ${s.message}`),this.log(`Error Stack : ${s.stack}`)),this.log("--------- Tracking Error End---------"),this.isBrowser&&/ChunkLoadError/.test(s.message)&&window.location.reload()}static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();var r_=o(70980);let Pl=(()=>{class a{constructor(){this.transferState=(0,e.WQX)(e.pJN)}clearExpiredCacheByKey(s){let l=this.transferState.get((0,e.zw6)(s),[]);l=l.filter(p=>Date.now(){class a{constructor(){this.isBrowser=(0,c.UE)((0,e.WQX)(e.Agw)),this.cacheStorage=(0,e.WQX)(Pl),this.pendingRequestMap=new Map}intercept(s,l){if(!this.isBrowser)return l.handle(s);const p=s.context.get(o_.W);if(!p)return l.handle(s);const I=p.key,X=this.pendingRequestMap.get(I);if(X?.value)return X.pipe((0,oi.p)(Ae=>!Ae),(0,Gi.s)(1),(0,pn.n)(()=>this.intercept(s,l)));const ie=this.getHttpResponseFromCache(p,s);return ie?(0,C.of)(ie):(this.pendingRequestMap.set(I,new Ts.t(!0)),l.handle(s).pipe((0,Wt.M)(Ae=>{if(Ae instanceof v.cS){if(!this.canCacheResponse(p,s,Ae))return;const st=Date.now(),rt=p.maxAge||1/0;this.cacheStorage.set(I,{request:s,response:Ae,timestamp:st,maxAge:rt,expiredTime:st+rt})}}),(0,r_.j)(()=>{this.pendingRequestMap.get(I)?.next(!1),this.pendingRequestMap.delete(I)})))}getHttpResponseFromCache(s,l){const p=s.key;return this.cacheStorage.clearExpiredCacheByKey(p),this.cacheStorage.get(p).find(ie=>!s.canUseCache||s.canUseCache(l,ie))?.response}canCacheResponse(s,l,p){return s.canCacheResponse?s.canCacheResponse({request:l,response:p}):p.body?.status===gs.m.SUCCESS.statusCode}static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac})}return a})(),multi:!0,deps:[Pl]}];var Aa=o(35513);class qv{constructor(){this.routingPathType=ui.C,this.authState=(0,e.WQX)(Oi.H),this.siteSetting=(0,e.WQX)(Qn.p),this.isPlatformBrowser=(0,c.UE)((0,e.WQX)(e.Agw))}intercept(g,s){if(g.url.indexOf("/api/bt/")>=0||0===g.url.indexOf("/register")||g.url.indexOf("/api/wv/")>=0){const l=this.siteSetting.get("currentLanguageType")?.unique,p=this.siteSetting.get("currentCurrencyType")?.unique,I=g.context.get(Aa.kZ),X=g.context.get(Aa.bP),ie=g.context.get(Aa.SW);switch(g.method.toLowerCase()){case"get":let Ue=new v.Nl;if(!0!==I){const rt=this.authState.get("isLogin");Ue=Ue.append("isLogin",rt)}p&&l&&(!0!==X&&(Ue=Ue.append("currencyTypeId",p)),!0!==ie&&(Ue=Ue.append("languageTypeId",l))),g.params.keys().forEach(rt=>{Ue=Ue.append(rt,g.params.get(rt)||"")}),g=g.clone({params:Ue});break;case"post":let st={...g.body};p&&l&&(st={languageTypeId:l,currencyTypeId:p,...g.body}),g=g.clone({body:st})}return s.handle(g).pipe((0,Wt.M)(Ue=>{Ue instanceof v.cS&&(this.isPlatformBrowser||(!Ue?.body?.data||Ue?.body?.status!==gs.m.SUCCESS.statusCode)&&console.log(`\nAPI error: [${g.urlWithParams}]\n${JSON.stringify(Ue?.body||{})}`))}))}return s.handle(g)}}class tE extends Vc.w{constructor(){super("QE_TOKEN_EXPIRED")}}const sd=new e.nKC("AUTH_FACADE");let pf=(()=>{class a{constructor(){this.routingPathType=ui.C,this.authFacade=(0,e.WQX)(sd,{optional:!0}),this.systemMessageService=(0,e.WQX)(Mo._X),this.apiAuthenticationService=(0,e.WQX)(Nl.W),this.authService=(0,e.WQX)(ma.u),this.router=(0,e.WQX)(V.Ix),this.authState=(0,e.WQX)(Oi.H),this.appStateService=(0,e.WQX)(ni.i),this.eventQueueService=(0,e.WQX)(zs.n)}log(...s){console.error(...s)}intercept(s,l){return l.handle(s).pipe((0,Wt.M)(p=>{if(p instanceof v.cS&&p.body){if(!s.url.includes("/api/"))return;const I=p.body,X=s.context.get(Aa.nd),ie=s.context.get(Aa.wM);let Ae=!1;if(I.status===gs.m.IP_BLOCK_BAN_COUNTRY.statusCode)this.router.navigateByUrl(`${this.routingPathType.IP_BLOCK.link}?ip=${I.message.split("-")[0]}&country=${I.message.split("-")[1]}`);else if(I.status!==gs.m.UNKNOWN_ERROR.statusCode||ie){if(I.status===gs.m.BRAND_MAINTAIN.statusCode){const Ue=I.data;X||this.router.navigateByUrl(`${this.routingPathType.BRAND_MAINTAIN.link}/${Ue.maintainStartTimestamp}/${Ue.maintainEndTimestamp}`)}else if(I.status===gs.m.SYSTEM_MAINTAIN.statusCode){Ae=!0;const Ue=I.data;X||this.router.navigateByUrl(`${this.routingPathType.SYSTEM_MAINTAIN.link}/${Ue.maintainStartTimestamp}/${Ue.maintainEndTimestamp}`)}else if(I.status===gs.m.ACCOUNT_IS_LOCK.statusCode||I.status===gs.m.ACCOUNT_IS_INACTIVED.statusCode)this.authFacade?this.authFacade.systemLogout("/"):this.authService.logout();else if(I.status===gs.m.TOKEN_INACTIVE.statusCode||I.status===gs.m.MUST_BE_LOGIN.statusCode)X||(this.authFacade?(I.status===gs.m.TOKEN_INACTIVE.statusCode&&this.eventQueueService.dispatch(new tE),this.authFacade.systemLogout(ui.C.MAIN.link)):(this.apiAuthenticationService.clearToken(),this.authState.set({isLogin:!1,accountInfo:void 0}),this.refresh(s.url)));else if(I.status===gs.m.LIMIT_NEW_PHONE_TIMES.statusCode){const Ue=(Number(I.ts)||Date.now())+36e5;localStorage.setItem("LIMIT_NEW_PHONE_TIMES",JSON.stringify({message:I.message,limitTs:Ue}))}}else this.log(I),this.systemMessageService.show(I.message);this.appStateService.set("isSystemMaintaining",Ae)}}))}refresh(s){this.router.url.split("?");const p=this.router.routeReuseStrategy.shouldReuseRoute,I=this.router.onSameUrlNavigation;this.router.routeReuseStrategy.shouldReuseRoute=()=>!1,this.router.onSameUrlNavigation="reload",setTimeout(()=>{this.router.onSameUrlNavigation=I,this.router.routeReuseStrategy.shouldReuseRoute=p},0),this.router.navigateByUrl("/",{skipLocationChange:!0})}static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();function YC(){const a=[{provide:v.a7,useClass:qv,multi:!0}];return function nE(){return![typeof window,typeof document].includes("undefined")}()&&a.push({provide:v.a7,useClass:pf,multi:!0}),a}var zC=o(67487);const iE=[{provide:cf.e,useFactory:(a=(0,e.WQX)(R.n))=>{let g="";try{g=localStorage.getItem("cdnDomain")||g}catch{}return{brand:a.brand,cdnDomain:g,device:a.device,market:a.market}}},{provide:e.hnV,multi:!0,useFactory:(a=(0,c.UE)((0,e.WQX)(e.Agw)),g=(0,e.WQX)(Qn.p),s=(0,e.WQX)(cf.e))=>()=>(a&&g.select("siteSettingModel").pipe((0,Wt.M)(l=>{s.cdnDomain=l?.cdnDomain||"",a&&localStorage.setItem("cdnDomain",s.cdnDomain)})).subscribe(),(0,C.of)(void 0))}];var a_=o(1583);let QC=(()=>{class a{constructor(){this.cloudSetting=(0,e.WQX)(a_.Z),this.isBrowser=(0,c.UE)((0,e.WQX)(e.Agw))}intercept(s,l){if(!this.cloudSetting.isCloud)return l.handle(s);if(this.isBrowser&&!s.url.split("/")[s.url.split("/").length-1].match(new RegExp(/.*\..*/g))){const p=window.location.host.split(".");s=s.clone({url:window.location.protocol+"//api."+p[p.length-2]+"."+p[p.length-1].split(":")[0]+s.url})}return l.handle(s)}static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),sE=(()=>{class a{static forRoot(){return{ngModule:a,providers:[{provide:a_.Z,useValue:{isCloud:!1}},{provide:v.a7,useClass:QC,multi:!0}]}}static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({})}return a})(),JC=(()=>{class a{static forRoot(s){s.neuA&&(s.neuA.delay=s.neuA.delay||s.delay||0);const l=[{provide:e.zcH,useClass:Zv},{provide:e.sZ2,useValue:"serverApp"},...iE,...YC(),...Fl,...s.providers||[],...Kc(s.route),...Tv(s.neuA),...Jp(s.jbl,s.delay),...zp.forRoot(s?.pwa).providers||[],{provide:e.iLQ,useFactory:(a=(0,c.UE)((0,e.WQX)(e.Agw)),g=(0,e.WQX)(e.zZn),s=(0,e.WQX)(de.o),l=(0,e.WQX)(Oi.H),p=(0,e.WQX)(In.$z))=>()=>{a&&(0,po.z)([l.select("isLogin").pipe((0,$s.i)(1),(0,oi.p)(I=>!!I),(0,Wt.M)(()=>{const I=l.get("accountInfo");p.set("once",X=>X.once=!0),p.set("skip",X=>X.skip=I.isResetPassword)})),p.select("skip")]).pipe((0,xr.B)(50)).subscribe(([I,X])=>{if(!X){const ie=g.get(vc.AJ),Ae=g.get(vc.YY),Ue=Ec.U.isIOSSafari(),st=localStorage.getItem("SHOW_IOS_POPUP_EVERY_TIME");Ue&&("true"===st||!st)&&(0,rf.p)([ie(),Ae()]).pipe((0,pn.n)(([rt,yt])=>s.openDialog(rt,{data:{content:yt}}))).subscribe()}})},multi:!0},...i_.forRoot().providers||[],...vp.x.forRoot().providers||[],...zC.t.forRoot().providers||[],{provide:De.xJ,useValue:s.gallery},{provide:e.iLQ,multi:!0,deps:[Qn.p],useFactory:p=>I=>{p.select("currentLanguageType").pipe((0,Wt.M)(X=>{const ie=document.querySelector("html");ie.lang=X.resourceKey,ie.dir=X.textDir})).subscribe()}},...t_,{provide:$v.N,useClass:Jd.D},...jv.forRoot().providers||[]];return{ngModule:a,providers:l}}static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({providers:[Kv.ZA],imports:[sE.forRoot(),Jv.forRoot(),s_.forRoot(),c.MD,Lv.forRoot(),zp,n_.forRoot(),nd.forRoot(),bl.forRoot(),Ip.$]})}return a})();var rE=o(78748);let oE=(()=>{class a{intercept(s,l){return s.url.match("/user/getPlayerInfo")?s=s.clone({params:s.params.append("getIntercomInfo",!0)}):s.url.match("/user/login")&&(s=s.clone({body:{getIntercomInfo:!0,...s.body}})),l.handle(s)}static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac})}return a})(),aE=(()=>{class a{static forRoot(s){const l=[],p=new Set,I=(ie,Ae)=>{if(p.has(ie))return;const Ue=(0,ac.wg)(ie);if(!Ue)return;const rt=Ue.serviceType,yt=Ae[ie];if(l.push({provide:Ue.configToken,useValue:yt}),l.push(rt),"Intercom"===ie){let Gt={appId:yt.appId,updateOnRouterChange:!0};yt.custom_data_attribute&&(Gt={...Gt,...yt.custom_data_attribute}),(rE.qt.forRoot(Gt).providers||[]).forEach(Tt=>l.push(Tt)),l.push({provide:v.a7,useClass:oE,multi:!0})}p.add(ie)};Object.keys(s||{}).forEach(ie=>{I(ie,s)});const X=s.currencyMapping;return X&&Object.keys(X||{}).forEach(ie=>{const Ae=X[+ie];Object.keys(Ae||{}).forEach(Ue=>{I(Ue,Ae)})}),l.push({provide:ac.R4,useValue:s}),l.push(ac.qG),l.push({provide:e.iLQ,useFactory:(ie,Ae)=>Ue=>{(0,c.UE)(ie)&&setTimeout(()=>{Ae.init(Ue)},s?.delay||2e3)},deps:[e.Agw,ac.qG],multi:!0}),{ngModule:a,providers:l}}static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({imports:[c.MD]})}return a})(),_f=(()=>{class a{static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({imports:[c.MD]})}return a})();var mf=o(44634);let rd=(()=>{class a{static forRoot(s){return{ngModule:a,providers:[{provide:Mo.$u,useValue:()=>o.e(6916).then(o.bind(o,26916)).then(l=>l.NotifyInfoComponent)},Mo._X,{provide:vc.Hc,useValue:()=>Promise.all([o.e(2586),o.e(6435),o.e(1713)]).then(o.bind(o,11713)).then(l=>l.OpenGameComponent)},{provide:vc.AJ,useValue:()=>o.e(1068).then(o.bind(o,61068)).then(l=>l.TipsDisplayComponent)},{provide:vc.YY,useValue:()=>Promise.all([o.e(9417),o.e(4654)]).then(o.bind(o,54654)).then(l=>l.IosGameTipsComponent)},{provide:vc.hR,useValue:()=>o.e(8847).then(o.bind(o,58847)).then(l=>l.OpenGameBonusComponent)},{provide:mf.p,useClass:s?.imageLink||Wa.h},{provide:e.iLQ,useFactory:(a,g,s,l)=>()=>{if((0,c.UE)(a)&&"custom"===l.get(Et.E).desktopMode){let I=g.get("isLogin");g.select("isLogin").pipe((0,pn.n)(X=>s.events.pipe((0,oi.p)(ie=>ie instanceof V.wF||ie instanceof V.lW),(0,Sn.T)(()=>X))),(0,oi.p)(X=>X!==I),(0,Wt.M)(X=>{I=X;const ie={shouldReuseRoute:s.routeReuseStrategy.shouldReuseRoute,onSameUrlNavigation:s.onSameUrlNavigation};s.routeReuseStrategy.shouldReuseRoute=()=>!1,s.onSameUrlNavigation="reload";const Ae=location.href.replace(location.origin,"");s.navigateByUrl("/").then(()=>{s.routeReuseStrategy.shouldReuseRoute=ie.shouldReuseRoute,s.onSameUrlNavigation=ie.onSameUrlNavigation,s.navigateByUrl(Ae)})})).subscribe()}},deps:[e.Agw,Oi.H,V.Ix,e.zZn],multi:!0},c.vh,{provide:e.iLQ,useFactory:(l,p,I,X,ie,Ae,Ue)=>()=>{(0,c.UE)(p)&&(0,Qs.h)(I.select("isLogin").pipe((0,Gi.s)(1),(0,va.c)(500),(0,oi.p)(st=>!st)),X.select("currentCurrencyType").pipe((0,$s.i)(1),(0,va.c)(200),(0,oi.p)(()=>!I.get("isLogin")))).pipe((0,oi.p)(()=>l.url===Se.J.MAIN.link),(0,pn.n)(()=>ie.getMessageByTypes([_u.G.POP.unique])),(0,pn.n)(st=>st?.length?st.filter(rt=>{const yt=new Date,Gt="NOTSHOWTODAY-"+rt.id?.toString(),Tt=Ue.transform(yt,$a.$.DATE_PATTERN_FOR_CALENDAR3.format);return!(localStorage.getItem(Gt)===Tt)}).reduce((rt,yt)=>rt.pipe((0,pn.n)(()=>Ae.openDialog(bu.D,{data:{id:yt.id,title:`${yt.title}`,content:`${yt.h5Content}`,banner:yt.imageH5SliderPath,contentType:yt.contentType,enableHideForToday:1===yt.extraData?.enableHideForToday}}))),(0,C.of)(void 0)):eo.t),(0,S.W)(st=>(console.error(st),eo.t))).subscribe()},deps:[V.Ix,e.Agw,Oi.H,Qn.p,m.b,de.o,c.vh],multi:!0}]}}static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({imports:[c.MD]})}return a})();var c_=o(42086),kl=o(45829);function l_(a,g){1&a&&(e.qex(0),e.nrm(1,"div",1),e.j41(2,"div",2),e.nrm(3,"div",3)(4,"div",4),e.k0s(),e.bVm())}let cE=(()=>{class a{constructor(s){this.loaderBoxState=s,this.cdnService=(0,e.WQX)(T.H),this.canAutoPlayVideo$=(0,e.WQX)(ni.i).on("canAutoPlayVideo").pipe((0,ns.pQ)()),this.isBrowser=(0,c.UE)((0,e.WQX)(e.Agw)),this.isLoading$=new Ts.t(!0)}ngOnInit(){this.isBrowser&&this.loaderBoxState.select("isLoading").subscribe(s=>{this.isLoading$.next(s)})}static#e=this.\u0275fac=function(l){return new(l||a)(e.rXU(kl.m))};static#t=this.\u0275cmp=e.VBU({type:a,selectors:[["app-loader-box"]],decls:2,vars:3,consts:[[4,"ngIf"],[1,"loading-mask"],[1,"loader-box"],[1,"loader-bg"],[1,"loader"]],template:function(l,p){1&l&&(e.DNE(0,l_,5,0,"ng-container",0),e.nI1(1,"async")),2&l&&e.Y8G("ngIf",e.bMT(1,1,p.isLoading$))},dependencies:[c.bT,c.Jj],styles:["[_nghost-%COMP%] .loading-mask[_ngcontent-%COMP%]{background:#0000;z-index:9000}[_nghost-%COMP%] .loader-box[_ngcontent-%COMP%]{z-index:9001}"],changeDetection:0})}return a})();const Ya=a=>({"background-image":a});function u_(a,g){if(1&a&&(e.j41(0,"div",1)(1,"div",2)(2,"div",2)(3,"div",3),e.nrm(4,"div",4)(5,"div",5)(6,"div",6)(7,"div",7),e.k0s(),e.j41(8,"div",8),e.nrm(9,"div",9),e.nI1(10,"imageUrl"),e.nrm(11,"div",10),e.nI1(12,"imageUrl"),e.k0s(),e.nrm(13,"div",11),e.nI1(14,"imageUrl"),e.nrm(15,"div",12),e.nI1(16,"imageUrl"),e.k0s()()()),2&a){const s=e.XpG();e.R7$(9),e.Y8G("ngStyle",e.eq3(12,Ya,e.bMT(10,4,s.cdnService.addTimestamp(s.cdnService.cdnDomainAddSuffix(s.cdnDomain)+"/assets/images/loader/jb_logo.png")))),e.R7$(2),e.Y8G("ngStyle",e.eq3(14,Ya,e.bMT(12,6,s.cdnService.addTimestamp(s.cdnService.cdnDomainAddSuffix(s.cdnDomain)+"/assets/images/loader/jblogo-man.png")))),e.R7$(2),e.Y8G("ngStyle",e.eq3(16,Ya,e.bMT(14,8,s.cdnService.addTimestamp(s.cdnService.cdnDomainAddSuffix(s.cdnDomain)+"/assets/images/loader/jb-loader-03.png")))),e.R7$(2),e.Y8G("ngStyle",e.eq3(18,Ya,e.bMT(16,10,s.cdnService.addTimestamp(s.cdnService.cdnDomainAddSuffix(s.cdnDomain)+"/assets/images/loader/jb_logo-ball.png"))))}}let lE=(()=>{class a extends cE{constructor(){super(...arguments),this.cdnDomain=se.c.cdnDomain}static#e=this.\u0275fac=(()=>{let s;return function(p){return(s||(s=e.xGo(a)))(p||a)}})();static#t=this.\u0275cmp=e.VBU({type:a,selectors:[["app-loader-box"]],features:[e.Vt3],decls:2,vars:3,consts:[["class","loader-box",4,"ngIf"],[1,"loader-box"],[1,"loader-jb"],[1,"all-loader-frame"],[1,"loader-1"],[1,"loader-bg"],[1,"loader-2"],[1,"loader-bg2"],[1,"jb-logo-bg"],[1,"jb-logo",3,"ngStyle"],[1,"jb-logo-man",3,"ngStyle"],[1,"jb-logo-speedline",3,"ngStyle"],[1,"jb-logo-ball",3,"ngStyle"]],template:function(l,p){1&l&&(e.DNE(0,u_,17,20,"div",0),e.nI1(1,"async")),2&l&&e.Y8G("ngIf",e.bMT(1,1,p.isLoading$))},dependencies:[c.bT,c.B3,c.Jj,Xs.H],styles:["[_nghost-%COMP%] .loading-mask[_ngcontent-%COMP%]{background:#0000;z-index:9000}[_nghost-%COMP%] .loader-box[_ngcontent-%COMP%]{z-index:9001;top:0}"],changeDetection:0})}return a})(),d_=(()=>{class a{static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({imports:[c.MD,gc.L]})}return a})(),h_=(()=>{class a extends Wa.h{constructor(){super(...arguments),this.MEMBER_VIP_LV_1="/assets/images/vip/rank1.png",this.MEMBER_VIP_LV_2="/assets/images/vip/rank2.png",this.MEMBER_VIP_LV_3="/assets/images/vip/rank3.png",this.MEMBER_VIP_LV_4="/assets/images/vip/rank4.png",this.MEMBER_VIP_LV_5="/assets/images/vip/rank5.png",this.MEMBER_VIP_LV_6="/assets/images/vip/rank6.png",this.MEMBER_VIP_LV_7="/assets/images/vip/rank7.png",this.VIP_LV_1="/assets/images/vip/rank1.png",this.VIP_LV_2="/assets/images/vip/rank2.png",this.VIP_LV_3="/assets/images/vip/rank3.png",this.VIP_LV_4="/assets/images/vip/rank4.png",this.VIP_LV_5="/assets/images/vip/rank5.png",this.VIP_LV_6="/assets/images/vip/rank6.png",this.VIP_LV_7="/assets/images/vip/rank7.png",this.VIP_LV_S_1="/assets/images/vip/rank1.png",this.VIP_LV_S_2="/assets/images/vip/rank2.png",this.VIP_LV_S_3="/assets/images/vip/rank3.png",this.VIP_LV_S_4="/assets/images/vip/rank4.png",this.VIP_LV_S_5="/assets/images/vip/rank5.png",this.VIP_LV_S_6="/assets/images/vip/rank6.png",this.VIP_LV_S_7="/assets/images/vip/rank7.png"}static#e=this.\u0275fac=(()=>{let s;return function(p){return(s||(s=e.xGo(a)))(p||a)}})();static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();var Ul=o(81391);let uE=(()=>{class a{static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({imports:[c.MD,Ul.ad,Fo.m,gc.L]})}return a})();var dE=o(49743);const _o=a=>"/assets/images/icon-set/theme-icon/"+a,Vn=a=>"/assets/images/brand/white/"+a,cs=a=>"/assets/gallery/default/provider-sports/"+a,od={ICON_ARCADE:{[It.R.STANDARD]:{default:_o("icon-arcade.png")}},ICON_CASINO:{[It.R.STANDARD]:{default:_o("icon-casino.png")}},ICON_FISH:{[It.R.STANDARD]:{default:_o("icon-fish.png")}},ICON_LOTTERY:{[It.R.STANDARD]:{default:_o("icon-lottery.png")}},ICON_SLOT:{[It.R.STANDARD]:{default:_o("icon-slot.png")}},ICON_SPORT:{[It.R.STANDARD]:{default:_o("icon-sport.png")}},ICON_TABLE:{[It.R.STANDARD]:{default:_o("icon-table.png")}},ICON_CRASH:{[It.R.STANDARD]:{default:_o("icon-crash.png")}},ICON_BINGO:{[It.R.STANDARD]:{default:_o("icon-bingo.png")}},ICON_CRICKET:{[It.R.STANDARD]:{default:_o("icon-cricket.png")}},ICON_EVENT:{[It.R.STANDARD]:{default:_o("icon-event.png")}},ICON_TOURNAMENT:{[It.R.STANDARD]:{default:_o("icon-tournament.png")}}},za={ICON_ALL:{[It.R.STANDARD]:{default:"/assets/gallery/default/icon-all-provider.svg"}},PROVIDER_AWCMFASTSPIN:{[It.R.STANDARD]:{default:Vn("provider-awcmfastspin.png")}},PROVIDER_AWCMFC:{[It.R.STANDARD]:{default:Vn("provider-awcmfc.png")}},PROVIDER_AWCMJILI:{[It.R.STANDARD]:{default:Vn("provider-awcmjili.png")}},PROVIDER_AWCMKM:{[It.R.STANDARD]:{default:Vn("provider-awcmkm.png")}},PROVIDER_AWCMP8:{[It.R.STANDARD]:{default:Vn("provider-awcmp8.png")}},PROVIDER_JDBASPRIBE:{[It.R.STANDARD]:{default:Vn("provider-jdbaspribe.png")}},PROVIDER_AWCMPT:{[It.R.STANDARD]:{default:Vn("provider-awcmpt.png")}},PROVIDER_AWCMPP:{[It.R.STANDARD]:{default:Vn("provider-awcmpp.png")}},PROVIDER_AWCMRT:{[It.R.STANDARD]:{default:Vn("provider-awcmrt.png")}},PROVIDER_AWCMSEXY:{[It.R.STANDARD]:{default:Vn("provider-awcmsexy.png")}},PROVIDER_AWCMSG:{[It.R.STANDARD]:{default:Vn("provider-awcmsg.png")}},PROVIDER_AWCMHOTROAD:{[It.R.STANDARD]:{default:Vn("provider-awcmhotroad.png")}},PROVIDER_AWCMILOVEU:{[It.R.STANDARD]:{default:Vn("provider-awcmiloveu.png")}},PROVIDER_MG:{[It.R.STANDARD]:{default:Vn("provider-mg.png")}},PROVIDER_BPOKER:{[It.R.STANDARD]:{default:Vn("provider-bpoker.png")}},PROVIDER_CQ9:{[It.R.STANDARD]:{default:Vn("provider-cq9.png")}},PROVIDER_EVO:{[It.R.STANDARD]:{default:Vn("provider-evo.png")}},PROVIDER_JDB:{[It.R.STANDARD]:{default:Vn("provider-jdb.png")}},PROVIDER_JOKER:{[It.R.STANDARD]:{default:Vn("provider-joker.png")}},PROVIDER_KA:{[It.R.STANDARD]:{default:Vn("provider-ka.png")}},PROVIDER_LUDO:{[It.R.STANDARD]:{default:Vn("provider-ludo.png")}},PROVIDER_NETENT:{[It.R.STANDARD]:{default:Vn("provider-netent.png")}},PROVIDER_NUMBER:{[It.R.STANDARD]:{default:Vn("provider-number.png")}},PROVIDER_PG:{[It.R.STANDARD]:{default:Vn("provider-pg.png")}},PROVIDER_PLAYNGO:{[It.R.STANDARD]:{default:Vn("provider-playngo.png")}},PROVIDER_PS:{[It.R.STANDARD]:{default:Vn("provider-ps.png")}},PROVIDER_RICH88:{[It.R.STANDARD]:{default:Vn("provider-rich88.png")}},PROVIDER_WORLDMATCH:{[It.R.STANDARD]:{default:Vn("provider-worldmatch.png")}},PROVIDER_POKERWIN:{[It.R.STANDARD]:{default:Vn("provider-pokerwin.png")}},PROVIDER_AWCMBC:{[It.R.STANDARD]:{default:Vn("provider-awcmbc.png")}},PROVIDER_AWCMHORSEBOOK:{[It.R.STANDARD]:{default:Vn("provider-awcmhorsebook.png")}},PROVIDER_AWCMSV388:{[It.R.STANDARD]:{default:Vn("provider-awcmsv388.png")}},PROVIDER_AWCMVR:{[It.R.STANDARD]:{default:Vn("provider-awcmvr.png")}},PROVIDER_AWCMYESBINGO:{[It.R.STANDARD]:{default:Vn("provider-awcmyesbingo.png")}},PROVIDER_BG:{[It.R.STANDARD]:{default:Vn("provider-bg.png")}},PROVIDER_ICF:{[It.R.STANDARD]:{default:Vn("provider-icf.png")}},PROVIDER_KBOOK:{[It.R.STANDARD]:{default:Vn("provider-kbook.png")}},PROVIDER_CMD:{[It.R.STANDARD]:{default:Vn("provider-cmd.png")}},PROVIDER_SABA:{[It.R.STANDARD]:{default:Vn("provider-saba.png")}},PROVIDER_SABA_NUMBER:{[It.R.STANDARD]:{default:Vn("provider-number.png")}},PROVIDER_SBOV2:{[It.R.STANDARD]:{default:Vn("provider-sbov2.png")}},PROVIDER_TCGLOTTOVN:{[It.R.STANDARD]:{default:Vn("provider-tcglottovn.png")}},PROVIDER_UGV3:{[It.R.STANDARD]:{default:Vn("provider-ugv3.png")}},PROVIDER_WM:{[It.R.STANDARD]:{default:Vn("provider-wm.png")}},PROVIDER_LUCKY365:{[It.R.STANDARD]:{default:Vn("provider-lucky365.png")}},PROVIDER_AWCMLADYLUCK:{[It.R.STANDARD]:{default:Vn("provider-awcmladyluck.png")}},PROVIDER_VIACASINO:{[It.R.STANDARD]:{default:Vn("provider-awcmvia.png")}},PROVIDER_NEXTSPIN:{[It.R.STANDARD]:{default:Vn("provider-nextspin.png")}},PROVIDER_AWCMDG:{[It.R.STANDARD]:{default:Vn("provider-awcmdg.png")}},PROVIDER_AWCMPINNACLE:{[It.R.STANDARD]:{default:Vn("provider-awcmpinnacle.png")}},PROVIDER_BTG:{[It.R.STANDARD]:{default:Vn("provider-btg.png")}},PROVIDER_DRAGOONSOFT:{[It.R.STANDARD]:{default:Vn("provider-dragoonsoft.png")}},PROVIDER_GTF:{[It.R.STANDARD]:{default:Vn("provider-gtf.png")}},PROVIDER_LUCKYPOKER:{[It.R.STANDARD]:{default:Vn("provider-luckypoker.png")}},PROVIDER_NLC:{[It.R.STANDARD]:{default:Vn("provider-nlc.png")}},PROVIDER_CG:{[It.R.STANDARD]:{default:Vn("provider-cg.png")}}},ad={ICON_AWCMBC:{[It.R.STANDARD]:{default:cs("icon-awcmbc.svg")}},ICON_EXCHANGE:{[It.R.STANDARD]:{default:cs("icon-exchange.svg")}},ICON_GREYHOUND:{[It.R.STANDARD]:{default:cs("icon-greyhound.svg")}},ICON_HORSEBOOK:{[It.R.STANDARD]:{default:cs("icon-horsebook.svg")}},ICON_AWCMPINNACLE:{[It.R.STANDARD]:{default:cs("icon-awcmpinnacle.svg")}},ICON_HORSERACING:{[It.R.STANDARD]:{default:cs("icon-horseracing.svg")}},ICON_KABADDI:{[It.R.STANDARD]:{default:cs("icon-kabaddi.svg")}},ICON_SBOV2:{[It.R.STANDARD]:{default:cs("icon-sbov2.svg")}},ICON_SPORTBOOK:{[It.R.STANDARD]:{default:cs("icon-sportbook.svg")}},ICON_VIRTUAL:{[It.R.STANDARD]:{default:cs("icon-virtual.svg")}},ICON_POWERELEVENV2:{[It.R.STANDARD]:{default:cs("icon-powerelevenv2.svg")}},ICON_BADMINTON:{[It.R.STANDARD]:{default:cs("icon-badminton.svg")}},ICON_BASKETBALL:{[It.R.STANDARD]:{default:cs("icon-basketball.svg")}},ICON_CRICKET:{[It.R.STANDARD]:{default:cs("icon-cricket.svg")}},ICON_HORSEDOG:{[It.R.STANDARD]:{default:cs("icon-horsedog.svg")}},ICON_ICF:{[It.R.STANDARD]:{default:cs("icon-icf.svg")}},ICON_SOCCER:{[It.R.STANDARD]:{default:cs("icon-soccer.svg")}},ICON_SV388:{[It.R.STANDARD]:{default:cs("icon-sv388.svg")}},ICON_TENNIS:{[It.R.STANDARD]:{default:cs("icon-tennis.svg")}},ICON_UGV3:{[It.R.STANDARD]:{default:cs("icon-ugv3.svg")}},ICON_AWCME1SPORT:{[It.R.STANDARD]:{default:cs("icon-awcme1sport.svg")}},ICON_SBTECH:{[It.R.STANDARD]:{default:cs("icon-sbtech.svg")}},ICON_NST:{[It.R.STANDARD]:{default:cs("icon-nst.svg")}},ICON_RWB:{[It.R.STANDARD]:{default:cs("icon-rwb.svg")}}},ss={[It.t.NAV]:{...od},[It.t.PROVIDER]:{...za,...ad},[It.t.PROVIDER_SPORTS]:{...za,...ad},[It.t.LEFT_NAV]:{...od},[It.t.LEFT_PROVIDER]:{...za,...ad},[It.t.LEFT_PROVIDER_SPORTS]:{...za,...ad}};function ls(a,g={}){const s=JSON.parse(JSON.stringify(a));for(const[l,p]of Object.entries(g)){s[l]=s[l]||{};for(const[I,X]of Object.entries(p)){s[l][I]=s[l][I]||{};for(const[ie,Ae]of Object.entries(X)){s[l][I][ie]=s[l][I][ie]||{};for(const[Ue,st]of Object.entries(Ae))s[l][I][ie][Ue]=st}}}return s}const gE=ls(ss),pE=ls(ss,{[It.t.LEFT_NAV]:{ICON_ARCADE:{[It.R.STANDARD]:{default:"/assets/gallery/default/left-nav/icon-arcade.svg"}},ICON_CASINO:{[It.R.STANDARD]:{default:"/assets/gallery/default/left-nav/icon-casino.svg"}},ICON_FISH:{[It.R.STANDARD]:{default:"/assets/gallery/default/left-nav/icon-fish.svg"}},ICON_LOTTERY:{[It.R.STANDARD]:{default:"/assets/gallery/default/left-nav/icon-lottery.svg"}},ICON_SLOT:{[It.R.STANDARD]:{default:"/assets/gallery/default/left-nav/icon-slot.svg"}},ICON_SPORT:{[It.R.STANDARD]:{default:"/assets/gallery/default/left-nav/icon-sport.svg"}},ICON_TABLE:{[It.R.STANDARD]:{default:"/assets/gallery/default/left-nav/icon-table.svg"}}},[It.t.NAV]:{ARCADE:{[It.R.STANDARD]:{default:"/assets/gallery/default/nav/arcade.png"}},CASINO:{[It.R.STANDARD]:{default:"/assets/gallery/default/nav/casino.png"}},FISH:{[It.R.STANDARD]:{default:"/assets/gallery/default/nav/fish.png"}},LOTTERY:{[It.R.STANDARD]:{default:"/assets/gallery/default/nav/lottery.png"}},SLOT:{[It.R.STANDARD]:{default:"/assets/gallery/default/nav/slot.png"}},SPORT:{[It.R.STANDARD]:{default:"/assets/gallery/default/nav/sport.png"}},TABLE:{[It.R.STANDARD]:{default:"/assets/gallery/default/nav/table.png"}}}}),f_=ls(ss),_E=ls(ss),mE=ls(ss),Yc=ls(ss),cd=ls(ss),vE=ls(ss),g_=ls(ss),EE=ls(ss),p_=ls(ss),tD=ls(ss),IE=ls(ss),Gl=ls(ss,{[It.t.LEFT_NAV]:{ICON_ARCADE:{[It.R.STANDARD]:{default:"/assets/gallery/default/left-nav/icon-arcade.svg"}},ICON_CASINO:{[It.R.STANDARD]:{default:"/assets/gallery/default/left-nav/icon-casino.svg"}},ICON_FISH:{[It.R.STANDARD]:{default:"/assets/gallery/default/left-nav/icon-fish.svg"}},ICON_LOTTERY:{[It.R.STANDARD]:{default:"/assets/gallery/default/left-nav/icon-lottery.svg"}},ICON_SLOT:{[It.R.STANDARD]:{default:"/assets/gallery/default/left-nav/icon-slot.svg"}},ICON_SPORT:{[It.R.STANDARD]:{default:"/assets/gallery/default/left-nav/icon-sport.svg"}},ICON_TABLE:{[It.R.STANDARD]:{default:"/assets/gallery/default/left-nav/icon-table.svg"}}},[It.t.NAV]:{ARCADE:{[It.R.STANDARD]:{default:"/assets/gallery/default/nav/arcade.png"}},CASINO:{[It.R.STANDARD]:{default:"/assets/gallery/default/nav/casino.png"}},FISH:{[It.R.STANDARD]:{default:"/assets/gallery/default/nav/fish.png"}},LOTTERY:{[It.R.STANDARD]:{default:"/assets/gallery/default/nav/lottery.png"}},SLOT:{[It.R.STANDARD]:{default:"/assets/gallery/default/nav/slot.png"}},SPORT:{[It.R.STANDARD]:{default:"/assets/gallery/default/nav/sport.png"}},TABLE:{[It.R.STANDARD]:{default:"/assets/gallery/default/nav/table.png"}}}}),__=ls(ss),CE=ls(ss),DE=ls(ss),AE=ls(ss),Ef=ls(ss),SE=ls(ss),m_=ls(ss),sa=ls(ss),v_={[Rn.U.MYR.name]:gE,[Rn.U.VND.name]:pE,[Rn.U.CNY.name]:f_,[Rn.U.SGD.name]:_E,[Rn.U.KRW.name]:mE,[Rn.U.IDR.name]:Yc,[Rn.U.INR.name]:cd,[Rn.U.BDT.name]:vE,[Rn.U.THB.name]:g_,[Rn.U.HKD.name]:EE,[Rn.U.NZD.name]:p_,[Rn.U.MXN.name]:tD,[Rn.U.JPY.name]:IE,[Rn.U.USD.name]:Gl,[Rn.U.PHP.name]:__,[Rn.U.PKR.name]:CE,[Rn.U.BRL.name]:DE,[Rn.U.KHR.name]:AE,[Rn.U.NGN.name]:Ef,[Rn.U.ZAR.name]:SE,[Rn.U.GHS.name]:m_,[Rn.U.LKR.name]:sa},RE={imageClass:"exchange",imageFile:"provider-exchange"},nD={imageClass:"sportbook",imageFile:"provider-saba-sportbook",extraData:"50"},If={imageClass:"sbov2",imageFile:"provider-sbov2",extraData:"SportsBook"},I_={imageClass:"ugv3"},C_={imageClass:"horsebook",extraData:"HRB-LIVE-001"},yE={imageFile:"provider-number"},Cf={imageClass:"awcmbc"},D_={imageClass:"horseracing",imageFile:"provider-horseracing",extraData:"7"},A_={imageClass:"greyhound",imageFile:"provider-greyhound",extraData:"4339"},Wl={imageClass:"powerelevenv2"},Df={imageClass:"awcme1sport"},Qa={imageClass:"sbtech"},ld={imageClass:"nst"},S_={imageClass:"cmd"},Vl={imageClass:"awcmpinnacle"},NE={imageClass:"awcv2bcsports"},wE={imageClass:"awcv2e1sport",extraData:"E1-ESPORTS-001"},Af={imageClass:"awcv2horsebook"},R_={imageClass:"awcv2pinnacle"},Ja={imageClass:"awcv2saba"},$l={imageClass:"awcv2sv388"},cD={imageClass:"rwb"},ud=()=>[Pn.Z.SPORT.unique,Pn.Z.CASINO.unique,Pn.Z.SLOT.unique,Pn.Z.TABLE.unique,Pn.Z.CRASH.unique,Pn.Z.FISH.unique,Pn.Z.ARCADE.unique,Pn.Z.LOTTERY.unique],O_=(a,g)=>{const s=g.get(A.JO),l=g.get(In.lK,null,{optional:!0}),p=g.get(Qn.p),I=[];return a?.forEach(X=>{const ie=Pn.Z.getInstanceOf(X.gameTypeId);if(ie){let Ae=[];if(ie==Pn.Z.SPORT){let rt=[];if(X.vendorList.forEach(yt=>{"CRICKET"===yt.vendorCode?rt.push({...yt,...RE,vendorName:s.translate("ui.global.word.cricket"),sortKey:"cricket"}):"Saba"===yt.vendorCode?rt.push({...yt,...nD,vendorName:s.translate("ui.global.vendor.sportsbook"),sortKey:"sportsbook"}):"SBOv2"===yt.vendorCode?rt.push({...yt,...If,sortKey:"SBOv2"}):"POWERELEVENV2"===yt.vendorCode?rt.push({...yt,...Wl,sortKey:"powerelevenv2"}):"AWCMHORSEBOOK"===yt.vendorCode?rt.push({...yt,...C_,vendorName:s.translate("ui.global.vendor.horseBook"),sortKey:"AWCMHORSEBOOK"}):"AWCMBC"===yt.vendorCode?rt.push({...yt,...Cf,vendorName:s.translate("ui.global.vendor.bc"),sortKey:"AWCMBC"}):"AWCME1SPORT"===yt.vendorCode?rt.push({...yt,...Df,sortKey:"AWCME1SPORT"}):"HORSEDOG"===yt.vendorCode?(rt.push({...yt,...D_,vendorName:s.translate("ui.global.vendor.horseRacing"),sortKey:"Horse racing"}),rt.push({...yt,...A_,vendorName:s.translate("ui.global.vendor.greyhound"),sortKey:"Greyhound"})):rt.push("SBTech"===yt.vendorCode?{...yt,...Qa,sortKey:"SBTech"}:"UGv3"===yt.vendorCode?{...yt,...I_,sortKey:"UGv3"}:"NST"===yt.vendorCode?{...yt,...ld,sortKey:"NST"}:"CMD"===yt.vendorCode?{...yt,...S_,sortKey:"CMD"}:"AWCMPINNACLE"===yt.vendorCode?{...yt,...Vl,sortKey:"AWCMPINNACLE"}:"AWCV2_BCSPORTS"===yt.vendorCode?{...yt,...NE,sortKey:"BC"}:"AWCV2_E1SPORT"===yt.vendorCode?{...yt,...wE,sortKey:"E1SPORT"}:"AWCV2_HORSEBOOK"===yt.vendorCode?{...yt,...Af,sortKey:"HORSEBOOK"}:"AWCV2_PINNACLE"===yt.vendorCode?{...yt,...R_,sortKey:"PINNACLE"}:"AWCV2_SABA"===yt.vendorCode?{...yt,...Ja,sortKey:"Saba"}:"AWCV2_SV388"===yt.vendorCode?{...yt,...$l,sortKey:"SV388"}:"AWCV2_RWB"===yt.vendorCode||"AWCMRWB"===yt.vendorCode?{...yt,...cD,sortKey:"RWB"}:yt)}),l){const yt=p.get("currentCurrencyType").name,Gt=l[yt];Gt&&(rt=rt.sort((Tt,fn)=>{const Wn=Gt.indexOf(Tt.sortKey||""),Ri=Gt.indexOf(fn.sortKey||"");return-1===Wn?1:-1===Ri||WnRi?1:0}))}Ae=rt}else if(ie==Pn.Z.LOTTERY){const rt=[];X.vendorList.forEach(yt=>{rt.push("Saba"===yt.vendorCode?{...yt,...yE,vendorName:"Number"}:yt)}),Ae=rt}else Ae=X.vendorList.map(rt=>({...rt}));const Ue=ie.name.toLowerCase();I.push({title:ie.name,category:Ue,gameType:ie,vendorList:Ae})}}),I};let y_=(()=>{class a{constructor(){this.accountInfo=(0,e.WQX)(Oi.H)}checkOpenGameData(s){return("AWCME1SPORT"===s?.vendorCode||"AWCV2_E1SPORT"===s?.vendorCode)&&(s?.gameTypeId===Pn.Z.SPORT.unique&&(s.gameTypeId=Pn.Z.ESPORT.unique),s.extraData="E1-ESPORTS-001"),s=this.addUserId(s),["PG","AWCV2_PG","AWCMPG","XTREEMPG"].includes(s?.vendorCode)&&(s.canOpenGameByIframe=!0,s.forceOpenGameWithWindow=!1,s.forceOpenGameWithIframe=!0,Ec.U.isMobileBrowser()||(s.userId=void 0)),s}addUserId(s){return s.userId=this.accountInfo.get("accountInfo").userId,s}static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();var bE=o(9835),Hl=o(28563);function xE(){return{provide:e.iLQ,useFactory:()=>()=>{Hl.W.REFERRAL.layoutContentClass=function jl(a,g){return g.forEach(s=>{const l=new RegExp(s,"g");a=a.replace(l,"")}),a}(Hl.W.REFERRAL.layoutContentClass,["fixed-tab"])},multi:!0}}var PE=o(98567),LE=o(72594);let FE=(()=>{class a{static forRoot(s){return{ngModule:a,providers:[PE.T,...LE.Bf.forRoot(s).providers||[]]}}static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({imports:[c.MD]})}return a})(),BE=(()=>{class a extends Wa.h{constructor(){super(...arguments),this.MEMBER_VIP_LV_1="/assets/images/vip/bdt/normal.png",this.MEMBER_VIP_LV_2="/assets/images/vip/bdt/eliteI-IV.png",this.MEMBER_VIP_LV_3="/assets/images/vip/bdt/eliteI-IV.png",this.MEMBER_VIP_LV_4="/assets/images/vip/bdt/eliteI-IV.png",this.MEMBER_VIP_LV_5="/assets/images/vip/bdt/eliteI-IV.png",this.MEMBER_VIP_LV_6="/assets/images/vip/bdt/eliteI-IV.png",this.MEMBER_VIP_LV_7="/assets/images/vip/bdt/proI.png",this.MEMBER_VIP_LV_8="/assets/images/vip/bdt/proII.png",this.MEMBER_VIP_LV_9="/assets/images/vip/bdt/proIII.png",this.MEMBER_VIP_LV_10="/assets/images/vip/bdt/expertI.png",this.MEMBER_VIP_LV_11="/assets/images/vip/bdt/expertII.png",this.MEMBER_VIP_LV_12="/assets/images/vip/bdt/expertIII.png",this.MEMBER_VIP_LV_13="/assets/images/vip/bdt/masterI.png",this.MEMBER_VIP_LV_14="/assets/images/vip/bdt/masterII.png",this.MEMBER_VIP_LV_15="/assets/images/vip/bdt/grandmaster.png",this.MEMBER_VIP_LV_16="/assets/images/vip/bdt/legend.png",this.MEMBER_VIP_LV_17="/assets/images/vip/bdt/mythic.png",this.VIP_LV_1="/assets/images/vip/bdt/normal.png",this.VIP_LV_2="/assets/images/vip/bdt/eliteI-IV.png",this.VIP_LV_3="/assets/images/vip/bdt/eliteI-IV.png",this.VIP_LV_4="/assets/images/vip/bdt/eliteI-IV.png",this.VIP_LV_5="/assets/images/vip/bdt/eliteI-IV.png",this.VIP_LV_6="/assets/images/vip/bdt/eliteI-IV.png",this.VIP_LV_7="/assets/images/vip/bdt/proI.png",this.VIP_LV_8="/assets/images/vip/bdt/proII.png",this.VIP_LV_9="/assets/images/vip/bdt/proIII.png",this.VIP_LV_10="/assets/images/vip/bdt/expertI.png",this.VIP_LV_11="/assets/images/vip/bdt/expertII.png",this.VIP_LV_12="/assets/images/vip/bdt/expertIII.png",this.VIP_LV_13="/assets/images/vip/bdt/masterI.png",this.VIP_LV_14="/assets/images/vip/bdt/masterII.png",this.VIP_LV_15="/assets/images/vip/bdt/grandmaster.png",this.VIP_LV_16="/assets/images/vip/bdt/legend.png",this.VIP_LV_17="/assets/images/vip/bdt/mythic.png",this.VIP_LV_S_1="/assets/images/vip/bdt/normal.png",this.VIP_LV_S_2="/assets/images/vip/bdt/eliteI-IV.png",this.VIP_LV_S_3="/assets/images/vip/bdt/eliteI-IV.png",this.VIP_LV_S_4="/assets/images/vip/bdt/eliteI-IV.png",this.VIP_LV_S_5="/assets/images/vip/bdt/eliteI-IV.png",this.VIP_LV_S_6="/assets/images/vip/bdt/eliteI-IV.png",this.VIP_LV_S_7="/assets/images/vip/bdt/proI.png",this.VIP_LV_S_8="/assets/images/vip/bdt/proII.png",this.VIP_LV_S_9="/assets/images/vip/bdt/proIII.png",this.VIP_LV_S_10="/assets/images/vip/bdt/expertI.png",this.VIP_LV_S_11="/assets/images/vip/bdt/expertII.png",this.VIP_LV_S_12="/assets/images/vip/bdt/expertIII.png",this.VIP_LV_S_13="/assets/images/vip/bdt/masterI.png",this.VIP_LV_S_14="/assets/images/vip/bdt/masterII.png",this.VIP_LV_S_15="/assets/images/vip/bdt/grandmaster.png",this.VIP_LV_S_16="/assets/images/vip/bdt/legend.png",this.VIP_LV_S_17="/assets/images/vip/bdt/mythic.png"}static#e=this.\u0275fac=(()=>{let s;return function(p){return(s||(s=e.xGo(a)))(p||a)}})();static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),kE=(()=>{class a extends Wa.h{constructor(){super(...arguments),this.MEMBER_VIP_LV_1="/assets/images/vip/pkr/normal.png",this.MEMBER_VIP_LV_2="/assets/images/vip/pkr/elite.png",this.MEMBER_VIP_LV_3="/assets/images/vip/pkr/pro.png",this.MEMBER_VIP_LV_4="/assets/images/vip/pkr/expert.png",this.MEMBER_VIP_LV_5="/assets/images/vip/pkr/master.png",this.MEMBER_VIP_LV_6="/assets/images/vip/pkr/grandmaster.png",this.MEMBER_VIP_LV_7="/assets/images/vip/pkr/legend.png",this.MEMBER_VIP_LV_8="/assets/images/vip/pkr/mythic.png",this.VIP_LV_1="/assets/images/vip/pkr/normal.png",this.VIP_LV_2="/assets/images/vip/pkr/elite.png",this.VIP_LV_3="/assets/images/vip/pkr/pro.png",this.VIP_LV_4="/assets/images/vip/pkr/expert.png",this.VIP_LV_5="/assets/images/vip/pkr/master.png",this.VIP_LV_6="/assets/images/vip/pkr/grandmaster.png",this.VIP_LV_7="/assets/images/vip/pkr/legend.png",this.VIP_LV_8="/assets/images/vip/pkr/mythic.png",this.VIP_LV_S_1="/assets/images/vip/pkr/normal.png",this.VIP_LV_S_2="/assets/images/vip/pkr/elite.png",this.VIP_LV_S_3="/assets/images/vip/pkr/pro.png",this.VIP_LV_S_4="/assets/images/vip/pkr/expert.png",this.VIP_LV_S_5="/assets/images/vip/pkr/master.png",this.VIP_LV_S_6="/assets/images/vip/pkr/grandmaster.png",this.VIP_LV_S_7="/assets/images/vip/pkr/legend.png",this.VIP_LV_S_8="/assets/images/vip/pkr/mythic.png"}static#e=this.\u0275fac=(()=>{let s;return function(p){return(s||(s=e.xGo(a)))(p||a)}})();static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),UE=(()=>{class a extends Wa.h{constructor(){super(...arguments),this.MEMBER_VIP_LV_1="/assets/images/vip/inr/normal.png",this.MEMBER_VIP_LV_2="/assets/images/vip/inr/elite.png",this.MEMBER_VIP_LV_3="/assets/images/vip/inr/pro.png",this.MEMBER_VIP_LV_4="/assets/images/vip/inr/expert.png",this.MEMBER_VIP_LV_5="/assets/images/vip/inr/master.png",this.MEMBER_VIP_LV_6="/assets/images/vip/inr/grandmaster.png",this.MEMBER_VIP_LV_7="/assets/images/vip/inr/legend.png",this.MEMBER_VIP_LV_8="/assets/images/vip/inr/mythic.png",this.VIP_LV_1="/assets/images/vip/inr/normal.png",this.VIP_LV_2="/assets/images/vip/inr/elite.png",this.VIP_LV_3="/assets/images/vip/inr/pro.png",this.VIP_LV_4="/assets/images/vip/inr/expert.png",this.VIP_LV_5="/assets/images/vip/inr/master.png",this.VIP_LV_6="/assets/images/vip/inr/grandmaster.png",this.VIP_LV_7="/assets/images/vip/inr/legend.png",this.VIP_LV_8="/assets/images/vip/inr/mythic.png",this.VIP_LV_S_1="/assets/images/vip/inr/normal.png",this.VIP_LV_S_2="/assets/images/vip/inr/elite.png",this.VIP_LV_S_3="/assets/images/vip/inr/pro.png",this.VIP_LV_S_4="/assets/images/vip/inr/expert.png",this.VIP_LV_S_5="/assets/images/vip/inr/master.png",this.VIP_LV_S_6="/assets/images/vip/inr/grandmaster.png",this.VIP_LV_S_7="/assets/images/vip/inr/legend.png",this.VIP_LV_S_8="/assets/images/vip/inr/mythic.png"}static#e=this.\u0275fac=(()=>{let s;return function(p){return(s||(s=e.xGo(a)))(p||a)}})();static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();function GE(){return[{provide:(0,Us.Xe)("bdt_theme"),useClass:BE},{provide:(0,Us.Xe)("pkr_theme"),useClass:kE},{provide:(0,Us.Xe)("inr_theme"),useClass:UE},{provide:(0,Us.Xe)("default"),useClass:h_}]}var dd=o(75853),WE=o(94072),VE=o(78453),Kl=o(92608);const Sf={provide:In.YK,useFactory:()=>{const a=(0,e.vPA)(""),g=(0,e.WQX)(Qn.p).select("currentLanguageType"),s=(0,e.WQX)(Qn.p).select("currentCurrencyType");return(0,po.z)([g,s]).subscribe(([l,p])=>{const I=((a,g)=>{const s="https://jeetbuzzhelp.com";return g===Rn.U.BDT&&a===y.t.BENGALI?`${s}/bn`:g===Rn.U.INR&&a===y.t.ENGLISH?`${s}/en_in`:g===Rn.U.INR&&a===y.t.BENGALI?`${s}/inbn`:g===Rn.U.INR&&a===y.t.HINDI?`${s}/hi`:g===Rn.U.PKR&&a===y.t.ENGLISH?`${s}/en_pk`:s})(l,p);a.set(I)}),a},deps:[Qn.p]};let M_=(()=>{class a{static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275mod=e.$C({type:a});static#n=this.\u0275inj=e.G2t({providers:[...GE(),{provide:R.n,useValue:se.c},{provide:"SocialAuthServiceConfig",useFactory:()=>({autoLogin:!1,providers:[{id:Kl.Gz.PROVIDER_ID,provider:new Kl.Gz((0,e.WQX)(Qn.p).get("siteSettingModel").googleOauthKey.clientId||"",{oneTapEnabled:!1})},{id:Kl.nk.PROVIDER_ID,provider:new Kl.nk((0,e.WQX)(Qn.p).get("siteSettingModel").facebookOauthKey.clientId||"")}],onError:s=>{console.error(s)}})},ki.Y,{provide:Yo.$,useValue:{getGameTypeList:ud,callback:O_}},{provide:In.lK,useFactory:()=>{const s=["cricket","sportsbook","SBOv2","AWCME1SPORT","AWCMHORSEBOOK","virtual","kabaddi"];return{BDT:s,INR:s,PKR:["CMD","cricket","Horse racing","Greyhound","sportsbook","AWCMHORSEBOOK","AWCME1SPORT","virtual","kabaddi"]}}},{provide:As.Zv,useClass:y_},{provide:bE.D,useValue:()=>"mailto:info@jeetbuzz.com"},xE(),{provide:dd.s,useValue:{showDepositChannelWhileOnlyOne:!0}},{provide:Et.E,useValue:se.c},{provide:WE.$,useValue:{fakeLoadingOnBusy:!0}},{provide:VE.i,useValue:{messageTypes:[]}},{provide:vc.Fh,useValue:()=>o.e(6916).then(o.bind(o,26916)).then(s=>s.LogigRegisrerButtonComponent)},Sf],imports:[FE.forRoot({loadOptions:{apiKey:"zpGbxyOInmxJ9GnrbSRu",region:"ap"}}),c.MD,Ba,u.Bb,pp,v.q1,_v,Cp,Rv,d_,uE,dE.e,_f,rd.forRoot({imageLink:h_}),JC.forRoot({neuA:{projectKey:se.c.neuAProjectKey,debug:!0},route:{enableI18nRoute:se.c.enableI18nRoute},pwa:se.c.pwa,gallery:v_}),Ju.forRoot({GA:{trackingCodes:["UA-202237783-1"],currencyTrackingSetting:{[Rn.U.INR.unique]:["G-ELH17LF3KM"],[Rn.U.BDT.unique]:["G-P74FL3Z3ZY"],[Rn.U.PKR.unique]:["G-CKVMX9Y05L"]}},GTM:{ids:["GTM-MCBSV6C"],currencyTrackingSetting:{[Rn.U.INR.unique]:["GTM-NM5TSJ3M"],[Rn.U.PKR.unique]:["GTM-T356MBVS"]},customDataLayerEventList:["DEPOSIT_SUCCESS","REGISTER_SUCCESS"]},Sportradar:{id:"STM-AAAATM"},SoPixel:{trackingCode:"",currencyTrackingSetting:{[Rn.U.BDT.unique]:"adv10564782642432",[Rn.U.PKR.unique]:"adv10564782642432"}}}),aE.forRoot({Intercom:{appId:se.c.intercomAppId}}),c_.X.forRoot({scriptUrl:se.c.luckySpin.scriptUrl,licenseKey:se.c.luckySpin.licenseKey,merchantId:se.c.luckySpin.merchantId,hashSalt:se.c.luckySpin.hashSalt})]})}return a})();var $E=o(90011),Sa=function(a){return a.HOMEPAGE="homepage",a.REG_START="regstart",a.REG_CONFIRM="regconfirm",a.LOGGEDIN="loggedin",a.FIRST_DEPOSIT_CONFIRM="firstdepositconfirm",a.DEPOSIT_CONFIRM="depositconfirm",a.LANDING_PAGE="landingpage",a}(Sa||{});let Rf=(()=>{class a{constructor(){this.environment=se.c,this.isBrowser=(0,c.UE)((0,e.WQX)(e.Agw)),this.authState=(0,e.WQX)(Oi.H),this.siteSetting=(0,e.WQX)(Qn.p),this.router=(0,e.WQX)(V.Ix),this.depositStatusCheckerService=(0,e.WQX)(_c),this.eventQueueService=(0,e.WQX)(zs.n),this.inited=!1,this.scriptId="connextra-script",this.scriptUrl="https://zz.connextra.com/dcs/tagController/tag/c58dd86fdc1f"}init(){!this.environment.enableConnextra||!this.isBrowser||this.inited||(console.warn("init"),this.siteSetting.select("currentCurrencyType").pipe((0,oi.p)(s=>s===Rn.U.INR),(0,Gi.s)(1)).subscribe(()=>{this.sendEvent(Sa.HOMEPAGE)}),this.eventQueueService.on(Wc.f).subscribe(()=>{this.sendEvent(Sa.LOGGEDIN)}),this.eventQueueService.on(vr.uF).subscribe(()=>{this.sendEvent(Sa.REG_START)}),this.eventQueueService.on(vr.Vw).subscribe(()=>{this.sendEvent(Sa.REG_CONFIRM)}),this.router.events.pipe((0,oi.p)(s=>s instanceof V.wF&&location.pathname.includes("landing-page"))).subscribe(()=>{this.sendEvent(Sa.LANDING_PAGE)}),this.siteSetting.select("currentCurrencyType").subscribe(s=>{this.watchDeposit().pipe((0,Wt.M)(l=>{l.detailList.forEach(p=>{this.sendEvent(p.isFirst?Sa.FIRST_DEPOSIT_CONFIRM:Sa.DEPOSIT_CONFIRM,{Stake:`${p.amount}`,Currency:`${s.name}`})})})).subscribe()}),this.inited=!0)}sendEvent(s,l={}){setTimeout(()=>{if(this.siteSetting.get("currentCurrencyType")!==Rn.U.INR)return;document.getElementById(this.scriptId)?.remove();const I=Object.keys(l).reduce((Ue,st)=>(Ue.push({k:st,v:l[st]}),Ue),[]),X=this.authState.get("accountInfo");X&&I.push({k:"AccountID",v:this.getFormattedUserId(X.userId)});let ie="";I.length&&(ie=`?${I.map(Ue=>`${Ue.k}=${Ue.v}`).join("&")}`);const Ae=document.createElement("script");Ae.id=this.scriptId,Ae.async=!0,Ae.defer=!0,Ae.src=`${this.scriptUrl}/${s}${ie}`,console.warn(`connecxtra: ${Ae.src}`),document.head.insertBefore(Ae,document.head.firstChild)},In.yr.SECOND)}watchDeposit(){return this.siteSetting.get("currentCurrencyType")!==Rn.U.INR?eo.t:this.depositStatusCheckerService.listen().pipe((0,On.Q)(this.siteSetting.select("currentCurrencyType").pipe((0,oi.p)(l=>l!==Rn.U.INR),(0,Gi.s)(1))))}getFormattedUserId(s){let l=s=s||"";return l=btoa(l).replace("=",""),l}static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),N_=(()=>{class a{constructor(){this.bridgeUtilService=(0,e.WQX)(Du.H),this.affiliateService=(0,e.WQX)(wh),this.isNativeApp=(0,e.WQX)(Qn.p)?.get("siteSettingModel")?.isNativeApp}exposeAffiliateHandler(){this.isNativeApp&&this.bridgeUtilService.exposeFEFunction("AffiliateHandler","handleAffiliate",(s,l)=>{s&&(console.log("Start getting affiliate landing info"),this.affiliateService.getAffiliateLandingInfo(s,l).pipe((0,Gi.s)(1),(0,Wt.M)(p=>{const I=p.isInternal?"":p.correctAfCode;try{sessionStorage.setItem("affiliateCode",I)}catch(X){console.warn(X)}})).subscribe(()=>{console.log("Affiliate link redirect end")}))})}static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),w_=(()=>{class a{constructor(){this.canAutoPlayVideo$=(0,e.WQX)(ni.i).on("canAutoPlayVideo").pipe((0,ns.pQ)()),this.isPlatformBrowser=(0,c.UE)((0,e.WQX)(e.Agw)),this.destroy$=new fs.B,this.appStateService=(0,e.WQX)(ni.i),this.isLandscape$=new Ts.t(!1),this.isIframeGameOpened$=new Ts.t(!1),this.isMobile$=new Ts.t(!1)}ngOnInit(){this.listenResizeToCheckRotated(),this.bindIframeToggleEvent(),this.checkDevice()}ngOnDestroy(){this.destroy$.next(),this.destroy$.unsubscribe()}checkDevice(){this.isMobile$.next(Ec.U.isMobileBrowser())}listenResizeToCheckRotated(){this.isPlatformBrowser&&(this.isLandscape$.next(Ec.U.isLandscape()),(0,na.R)(window,"orientationchange").pipe((0,xr.B)(50),(0,Wt.M)(()=>this.isLandscape$.next(Ec.U.isLandscape())),(0,On.Q)(this.destroy$)).subscribe())}bindIframeToggleEvent(){this.appStateService.on("isIframeGameOpened").pipe((0,Wt.M)(s=>{this.isIframeGameOpened$.next(s)}),(0,On.Q)(this.destroy$)).subscribe()}static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275dir=e.FsC({type:a})}return a})();const Xl=a=>({"background-image":a});function HE(a,g){if(1&a&&(e.j41(0,"div",2),e.nI1(1,"async"),e.nI1(2,"async"),e.j41(3,"div",3),e.nrm(4,"div",4),e.nI1(5,"imageUrl"),e.nrm(6,"div",5),e.nI1(7,"imageUrl"),e.nrm(8,"div",6),e.nI1(9,"imageUrl"),e.nrm(10,"div",7),e.nI1(11,"imageUrl"),e.nrm(12,"div",8)(13,"div",9)(14,"div",10)(15,"div",11),e.k0s(),e.j41(16,"div",12),e.nrm(17,"span",13),e.nI1(18,"imageUrl"),e.EFF(19),e.k0s()()),2&a){const s=e.XpG().$implicit,l=e.XpG();e.xc7("opacity",e.bMT(1,10,l.isLandscape$)?1:0),e.AVh("show",e.bMT(2,12,l.isLandscape$)),e.R7$(4),e.Y8G("ngStyle",e.eq3(24,Xl,e.bMT(5,14,"/assets/images/mobile-rotating2.png"))),e.R7$(2),e.Y8G("ngStyle",e.eq3(26,Xl,e.bMT(7,16,"/assets/images/mobile-rotating1.png"))),e.R7$(2),e.Y8G("ngStyle",e.eq3(28,Xl,e.bMT(9,18,"/assets/images/mobile-rotating3.png"))),e.R7$(2),e.Y8G("ngStyle",e.eq3(30,Xl,e.bMT(11,20,"/assets/images/mobile-light.pn"))),e.R7$(7),e.Y8G("ngStyle",e.eq3(32,Xl,e.bMT(18,22,"/assets/images/icon-set/icon-refresh-type02.svg"))),e.R7$(2),e.SpI(" ",s("ui.rotating_phone.text.turn_phone_backto_straight"),"")}}function jE(a,g){if(1&a&&(e.qex(0),e.DNE(1,HE,20,34,"div",1),e.nI1(2,"async"),e.nI1(3,"async"),e.bVm()),2&a){const s=e.XpG();e.R7$(),e.Y8G("ngIf",!e.bMT(2,1,s.isIframeGameOpened$)&&e.bMT(3,3,s.isMobile$))}}let Of=(()=>{class a extends w_{static#e=this.\u0275fac=(()=>{let s;return function(p){return(s||(s=e.xGo(a)))(p||a)}})();static#t=this.\u0275cmp=e.VBU({type:a,selectors:[["app-rotating-phone"]],features:[e.Vt3],decls:1,vars:0,consts:[[4,"transloco"],["class","rotating-pop",3,"opacity","show",4,"ngIf"],[1,"rotating-pop"],[1,"rotating-phone-wrap"],[1,"rotating-phone-mr02",3,"ngStyle"],[1,"rotating-phone-mr01",3,"ngStyle"],[1,"rotating-phone-mr03",3,"ngStyle"],[1,"rotating-phone-light",3,"ngStyle"],[1,"dots-01"],[1,"dots-02"],[1,"dots-03"],[1,"dots-04"],[1,"phone-rotating-tips"],[1,"item-icon",3,"ngStyle"]],template:function(l,p){1&l&&e.DNE(0,jE,4,5,"ng-container",0)},dependencies:[c.bT,c.B3,A.bA,c.Jj,Xs.H],changeDetection:0})}return a})();var yf=o(13226),b_=o(41584),Tf=o(25180),ko=function(a){return a.livechat="livechat",a.talk="CSlink1",a.skype="Skype1",a.telegram="TG",a.phone="Phone1",a.email="email1",a}(ko||{});const hd={[ko.livechat]:{isLiveChat:!0},[ko.talk]:{name:"talk"},[ko.skype]:{name:"skype"},[ko.telegram]:{name:"TG"},[ko.phone]:{name:"phone"},[ko.email]:{name:"email"}},KE=["widgetLayer"],XE=["floatBoundary"],YE=["floatWrap"],x_=["floatBtn"],Mf=["floatBtnImg"],Nf=["floatBtnStick"],P_=["floatBtnStickImg"],L_=["widgetWrap"],F_=["widgetContent"],zE=["undraggable"],B_=["widgetItem"],QE=(a,g,s)=>({"float-widget__draggable--ready":a,"float-widget__draggable--moving":g,"float-widget__draggable--end":s}),wf=a=>({"widget-wrap__content--open":a}),k_=a=>({"background-image":a});function bf(a,g){if(1&a){const s=e.RV6();e.j41(0,"div",30),e.bIt("click",function(){e.eBV(s);const p=e.XpG();return e.Njj(p.closeAllUndraggable())}),e.k0s()}}function lD(a,g){if(1&a&&(e.j41(0,"div",31),e.EFF(1),e.k0s()),2&a){const s=g.ngIf;e.R7$(),e.JRh(s)}}function uD(a,g){if(1&a){const s=e.RV6();e.j41(0,"li",35,11),e.bIt("click",function(){e.eBV(s);const p=e.XpG(3);return e.Njj(p.serviceClickHandler())}),e.j41(2,"div",36),e.nrm(3,"div",37),e.nI1(4,"imageUrl"),e.k0s()()}if(2&a){const s=e.XpG(),l=s.index,p=s.count,I=e.XpG(2);e.xc7("animation-delay",I.staggeringDelay*(p-l)+"s"),e.R7$(3),e.Y8G("ngStyle",e.eq3(5,k_,e.bMT(4,3,"/assets/images/widget/icon-chat.png")))}}function U_(a,g){if(1&a&&(e.nrm(0,"div",41),e.nI1(1,"imageUrl")),2&a){const s=g.ngIf,l=e.XpG().$implicit;e.xc7("background-image",e.bMT(1,2,s[l.icon]))}}function G_(a,g){if(1&a&&(e.qex(0),e.DNE(1,U_,2,4,"div",40),e.nI1(2,"async"),e.bVm()),2&a){const s=g.$implicit,l=e.XpG(2).$implicit,p=e.XpG(2);e.R7$(),e.Y8G("ngIf",l.name===s.name&&e.bMT(2,1,p.SwitchThemeService.imageLink$))}}function W_(a,g){if(1&a&&(e.j41(0,"li",38,11)(2,"div",36)(3,"a",39),e.DNE(4,G_,3,3,"ng-container",29),e.k0s()()()),2&a){const s=e.XpG(),l=s.$implicit,p=s.index,I=s.count,X=e.XpG(2);e.xc7("animation-delay",X.staggeringDelay*(I-p)+"s"),e.R7$(3),e.BMQ("href",l.url,e.B4B),e.R7$(),e.Y8G("ngForOf",X.contactIcon)}}function xf(a,g){if(1&a&&(e.qex(0),e.DNE(1,uD,5,7,"li",34)(2,W_,5,4,"ng-template",null,10,e.C5r),e.bVm()),2&a){const s=g.$implicit,l=e.sdS(3);e.R7$(),e.Y8G("ngIf",s.isLiveChat)("ngIfElse",l)}}function V_(a,g){if(1&a&&(e.j41(0,"div",32,8)(2,"ul",33,9),e.DNE(4,xf,4,2,"ng-container",29),e.k0s()()),2&a){const s=e.XpG();e.AVh("widget-wrap__content--top",s.isOpenDraggableMenuUpward)("widget-wrap__content--bottom",!s.isOpenDraggableMenuUpward),e.R7$(2),e.Y8G("ngClass",e.eq3(6,wf,s.isOpenWidget)),e.R7$(2),e.Y8G("ngForOf",s.floatWidgetBtnList)}}function $_(a,g){1&a&&(e.j41(0,"span",46),e.EFF(1,"MINI GAMES"),e.k0s())}function H_(a,g){if(1&a){const s=e.RV6();e.j41(0,"div",42),e.bIt("click",function(){e.eBV(s);const p=e.XpG();return e.Njj(p.toggleGameEntranceMenu())}),e.nrm(1,"img",43)(2,"img",44),e.DNE(3,$_,2,0,"span",45),e.k0s()}if(2&a){const s=e.XpG();e.R7$(),e.xc7("display",s.isGameEntranceMenuOpen?"none":"block"),e.Y8G("loading","eager"),e.R7$(),e.xc7("display",s.isGameEntranceMenuOpen?"block":"none"),e.Y8G("loading","eager"),e.R7$(),e.Y8G("ngIf",!s.isGameEntranceMenuOpen)}}function j_(a,g){if(1&a){const s=e.RV6();e.qex(0),e.j41(1,"div",47),e.bIt("click",function(){const p=e.eBV(s).$implicit,I=e.XpG();return e.Njj(I.openGame(p))}),e.nrm(2,"img",48)(3,"div",49),e.k0s(),e.bVm()}if(2&a){const s=g.$implicit,l=g.index,p=g.count,I=e.XpG();e.R7$(),e.xc7("animation-delay",I.staggeringDelay*(p-l)+"s"),e.R7$(),e.Y8G("drcCdnSrc",s.imgSrc)("loading","eager"),e.R7$(),e.Y8G("innerHTML",s.title,e.npT)}}let JE=(()=>{class a{get undraggableItemIsTrigger(){return this.isGameEntranceMenuOpen}get innerBoundaryPos(){return this._innerBoundaryPos}set innerBoundaryPos(s){this._innerBoundaryPos=s;const l=this.isUndraggableExist()?this.undraggable?.nativeElement.offsetHeight:0;this.currentUndraggablePos={x:s.right+(this.customCurrentPositionAdjustMent?.x??0),y:s.bottom+(this.customCurrentPositionAdjustMent?.y??0)-l}}get currentUndraggablePos(){return this._currentUndraggablePos}set currentUndraggablePos(s){this._currentUndraggablePos=s,this.customCurrentPositionAdjustMent&&(s.x+=this.customCurrentPositionAdjustMent?.x,s.y+=this.customCurrentPositionAdjustMent?.y);const l=this.undraggable?.nativeElement;l.style.transform=`translate(${s.x}px,${s.y}px)`}constructor(s,l,p,I,X,ie,Ae,Ue){this.renderer=s,this.settingService=l,this.windowsScrollHandlerService=p,this.openGameService=I,this.doc=X,this.livechatState=ie,this.miniGamesState=Ae,this.cdr=Ue,this.livechatConfig=(0,e.WQX)(ac.R4,{optional:!0}),this.intercomState=(0,e.WQX)(Tf.Sg),this.liveChatService=(0,e.WQX)(ac.qG,{optional:!0}),this.isBrowser=(0,c.UE)((0,e.WQX)(e.Agw)),this.customerServiceType=L,this.showCrossBtn=!1,this.shouldFixTop=!0,this.shouldFixBottom=!0,this.floatWidgetImg="/assets/images/livechat.png",this.floatWidgetBtnItems=[],this.floatWrapBtnScale="1",this.isDesktopDrag=!1,this.staggeringDelay=.05,this.buttonIsDisplayed=!1,this.SwitchThemeService=(0,e.WQX)(Us.Fu),this.floatWidgetBtnList=[],this.isOpenDraggableMenuUpward=!0,this.isGameEntranceMenuOpen=!1,this.isMobile=Ec.U.isMobileBrowser(),this.intercomUnreadCount$=this.intercomState.select("unreadCount"),this.imageLoad$=new Ts.t(!1),this.servicesInited=!1,this.btnMoving=!1,this.btnMoveEnd=!1,this.isOpenWidget=!1,this.btnWidth=0,this._innerBoundaryPos={top:0,left:0,right:0,bottom:0},this.dragPosition={x:0,y:0},this.currentPos={x:0,y:0},this._currentUndraggablePos={x:0,y:0},this.tlHideBtn=vi.os.timeline({paused:!0,repeat:0}),this.tlShadowBtn=vi.os.timeline({paused:!0,repeat:0}),this.tlSwitchBtn=vi.os.timeline({paused:!0,repeat:0}),this.tlMovingBtn=vi.os.timeline({paused:!0,repeat:4,yoyo:!0,delay:3}),this.tlWidgetContentOpen=vi.os.timeline({paused:!0,repeat:0,yoyo:!0}),this.subscriptions=[],this.contactIcon=[{name:"email",icon:"FLOAT_BTN_ICON_EMAIL"},{name:"phone",icon:"FLOAT_BTN_ICON_PHONE"},{name:"zalo",icon:"FLOAT_BTN_ICON_ZALO"},{name:"facebook-messenger",icon:"FLOAT_BTN_ICON_FACEBOOK_MESSENGER"},{name:"whatsapp",icon:"FLOAT_BTN_ICON_WHATSAPP"},{name:"imo",icon:"FLOAT_BTN_ICON_IMO"},{name:"qq",icon:"FLOAT_BTN_ICON_QQ"},{name:"wechat",icon:"FLOAT_BTN_ICON_WECHAT"},{name:"skype",icon:"FLOAT_BTN_ICON_SKYPE"},{name:"bbm",icon:"FLOAT_BTN_ICON_BBM"},{name:"kakao-talk",icon:"FLOAT_BTN_ICON_KAKAO_TALK"},{name:"talk",icon:"FLOAT_BTN_ICON_TALK"},{name:"viber",icon:"FLOAT_BTN_ICON_VIBER"},{name:"TG",icon:"FLOAT_BTN_ICON_TELEGRAM"},{name:"line",icon:"FLOAT_BTN_ICON_LINE"}],this.gameEntranceList=[]}ngOnInit(){this.isBrowser&&(this.bindLivechatStateDetection(),this.bindMiniGamesStateDetection(),this.setUiVisibilityBasedOnChatAvailability())}ngAfterViewInit(){this.isBrowser&&this.setupUIElementsAndEvents()}ngOnDestroy(){this.tlHideBtn.kill(),this.tlShadowBtn.kill(),this.tlSwitchBtn.kill(),this.tlMovingBtn.kill(),this.tlWidgetContentOpen.kill(),this.subscriptions.forEach(s=>s.unsubscribe())}setupUIElementsAndEvents(){const s=(0,po.z)([this.imageLoad$.pipe((0,oi.p)(l=>!!l)),this.checkStyleApplied()]).subscribe(()=>{this.bindScreenResizeEvent(),this.bindScrollEvent(),this.initElements(),this.initAniTimeline(),this.getBoundary(),this.initBtnPosition(),this.bindMovingEvent()});this.subscriptions.push(s)}setUiVisibilityBasedOnChatAvailability(){if(!this.livechatConfig||!this.liveChatService)return;const s=new fs.B,p=(0,Wh.Y)(1e3).pipe((0,On.Q)(s)).pipe((0,Sn.T)(()=>X.getService("Livechat")),(0,oi.p)(st=>!!st),(0,pn.n)(st=>st.isGreetingLoaded$),(0,oi.p)(st=>!!st),(0,Wt.M)(()=>{s.next()})),I=this.livechatConfig,X=this.liveChatService,ie=(0,C.of)(!!I.Intercom),Ae=(0,C.of)(!!I.Livechat).pipe((0,pn.n)(st=>st?p:(0,C.of)(!1))),Ue=(0,po.z)([ie,Ae]).pipe((0,pn.n)(([st,rt])=>(0,po.z)([(0,C.of)(st),(0,C.of)(rt),this.syncFloatWidgetBtnListWithCustomerService(st,rt)])),(0,Sn.T)(([st,rt,yt])=>st||rt||0!==yt.floatWidgetBtnItemsFromCustomerService.length)).subscribe(st=>{this.servicesInited=st,this.buttonIsDisplayed=st,this.cdr.detectChanges()});this.subscriptions.push(Ue)}bindLivechatStateDetection(){const s=this.livechatState.select("open").subscribe(l=>{const p=l.status;this.showCrossBtn=l.sourceFrom===In.IZ.INTERCOM&&p&&!this.isMobile,this.buttonIsDisplayed=(!p||this.showCrossBtn)&&this.servicesInited,p?(this.closeWidget(),(this.isMobile||this.isDesktopDrag)&&this.tlHideBtn.restart()):(this.isMobile||this.isDesktopDrag)&&this.tlHideBtn.progress(1).reverse(),this.cdr.detectChanges()});this.subscriptions.push(s)}bindMiniGamesStateDetection(){const s=this.miniGamesState.select("gamesList").pipe((0,Wt.M)(l=>{this.gameEntranceList=l})).subscribe();this.subscriptions.push(s)}initElements(){this.widgetLayer&&(this.widgetLayerEle=this.widgetLayer.nativeElement),this.floatBoundary&&(this.boundaryEl=this.floatBoundary?.nativeElement),this.floatBtn&&(this.btnEl=this.floatBtn.nativeElement,this.btnWidth=this.btnEl.offsetWidth,this.btnEl.style.scale=this.floatWrapBtnScale),this.floatBtnImg&&(this.btnImgEl=this.floatBtnImg.nativeElement),this.floatBtnStick&&(this.btnStickEl=this.floatBtnStick?.nativeElement),this.widgetItems&&(this.widgetItemElRefArr=this.widgetItems.toArray())}syncFloatWidgetBtnListWithCustomerService(s,l){const p=(0,yf.T)(()=>this.floatWidgetBtnItems.length>0,this.settingService.getCustomerService().pipe((0,ts.t)(1)),(0,C.of)([])).pipe((0,Sn.T)(I=>{const ie=I,Ae=[];return(s||l)&&Ae.push(hd[ko.livechat]),{floatWidgetBtnItemsFromCustomerService:this.floatWidgetBtnItems.filter(st=>ie.some(rt=>rt.value===st)).map(st=>{const rt=ie.find(yt=>yt.value===st);return hd[st].url=rt?.url,hd[st]}),concatItem:Ae}}),(0,Wt.M)(I=>{this.floatWidgetBtnList=I.floatWidgetBtnItemsFromCustomerService.concat(I.concatItem)}));return this.subscriptions.push(p.subscribe()),p}initAniTimeline(){this.tlHideBtn.fromTo(this.btnEl,{opacity:1},{opacity:0,duration:.3,ease:"expo.out"}),this.tlShadowBtn.fromTo(this.btnEl,{opacity:1},{scale:1,opacity:.5,duration:1,delay:3}),this.tlSwitchBtn.to(this.btnEl,{scale:.85,duration:.3,ease:"steps(5)"}).to(this.btnImgEl,{opacity:0,duration:.3,ease:"steps(5)",delay:-.3}).to(this.btnStickEl,{opacity:1,duration:.3,ease:"steps(5)",delay:-.3,onComplete:()=>{this.btnMoving=!1,this.cdr.detectChanges()}}),this.tlMovingBtn.set(this.btnImgEl,{rotateZ:0,delay:3}).to(this.btnImgEl,{rotateZ:8,duration:.1,ease:"steps(5)"}).to(this.btnImgEl,{rotateZ:0,duration:.1,ease:"steps(5)"}).to(this.btnImgEl,{rotateZ:-8,duration:.1,ease:"steps(5)"}).to(this.btnImgEl,{rotateZ:0,duration:.1,ease:"steps(5)"}),this.tlWidgetContentOpen.fromTo(this.widgetItemElRefArr.map(s=>s.nativeElement),{scale:0},{scale:1,duration:.2,delay:0,ease:"back.out(1,0.3)",stagger:{each:.1,from:"end"}})}floatBtnClickHandler(){!this.btnStick||this.btnMoving?1!=this.floatWidgetBtnList.length||this.floatWidgetBtnList[0]!==hd[ko.livechat]||this.btnMoveEnd?(this.toggleOpenWidget(),this.checkBtnStick()):this.serviceClickHandler():this.initBtnPosition()}bindMovingEvent(){if(!this.isBrowser)return;let s=!1;const l=this.btnEl;let p=0;if(!l)return void console.error("floating btn: bindMovingEvent(), no target.");const I=(0,Qs.h)((0,na.R)(l,"touchstart"),(0,na.R)(l,"mousedown")).pipe((0,Sn.T)(Ue=>Ue instanceof TouchEvent?Ue.touches[0].clientX:Ue.clientX),(0,Wt.M)(Ue=>{p=Ue,s=this.btnStick,this.btnStick=!1,this.btnMoving=!0,this.cdr.detectChanges(),this.tlShadowBtn.timeScale(3).reverse().pause(),this.tlMovingBtn.restart(),this.tlSwitchBtn.reverse().pause()})),X=(0,na.R)(l,"touchmove").pipe((0,Sn.T)(Ue=>Ue instanceof TouchEvent?Ue.touches[0].clientX-p:Ue.clientX-p),(0,Wt.M)(Ue=>{Math.abs(Ue)>3&&this.closeWidget()})),ie=(0,Qs.h)((0,na.R)(l,"mouseup"),(0,na.R)(l,"touchend")).pipe((0,Wt.M)(()=>{this.btnMoving=!1,this.tlMovingBtn.seek(0).pause(),this.cdr.detectChanges(),this.btnMoveToPosition(),this.checkBtnStick(s)}),(0,pn.n)(()=>(0,b_.O)(6e4).pipe((0,Wt.M)(()=>{this.closeWidget()})))),Ae=I.pipe((0,pn.n)(()=>X.pipe((0,On.Q)(ie)))).subscribe();this.subscriptions.push(Ae)}checkDragEnd(s){this.btnMoveEnd=!0,clearTimeout(this.dragEndTimeout),this.dragEndTimeout=setTimeout(()=>{this.btnMoveEnd=!1},300),this.cdr.detectChanges(),this.currentPos={x:s.dropPoint.x,y:s.dropPoint.y},this.btnMoveToPosition(),this.checkBtnStick()}bindScreenResizeEvent(){const s=(0,na.R)(window,"resize").pipe((0,xr.B)(200)).subscribe(()=>{this.getBoundary(),this.isMobile||this.isDesktopDrag?this.btnMoveToPosition(!0):this.initBtnPosition(),this.checkBtnStick()});this.subscriptions.push(s)}bindScrollEvent(){const s=this.windowsScrollHandlerService.getScrollObservable().subscribe(()=>{this.closeWidget()});this.subscriptions.push(s)}getBoundary(){const X=this.btnWidth;this.innerBoundaryPos={top:1*X,left:1*X,right:this.boundaryEl.offsetWidth-2*X,bottom:this.boundaryEl.offsetHeight-2*X}}initBtnPosition(){this.currentPos={x:this.currentUndraggablePos.x,y:this.currentUndraggablePos.y-1.5*this.btnWidth},this.btnMoveToPosition(),this.checkBtnStick()}btnMoveToPosition(s=!1){const l={x:0,y:0},p=this.boundaryEl.offsetWidth/2-this.btnWidth/2,I=this.currentPos.ythis.innerBoundaryPos.bottom,ie=this.currentPos.x=this.currentUndraggablePos.x&&this.currentPos.y+this.btnWidth>=this.currentUndraggablePos.y;if((I&&this.shouldFixTop||X&&this.shouldFixBottom)&&(this.isMobile||this.isDesktopDrag)){this.btnStick=I?"top":"bottom",this.tlSwitchBtn.restart(),this.tlShadowBtn.seek(0).pause();const st=-this.btnWidth/2,rt=(this.boundaryEl.offsetHeight+this.widgetLayerEle.offsetHeight)/2;l.x=p,l.y=I?st:rt}else this.btnStick=!1,s?this.tlSwitchBtn.progress(1).reverse():this.tlSwitchBtn.reverse().pause(),l.x=ie?this.innerBoundaryPos.left:this.innerBoundaryPos.right,l.y=this.currentPos.y,!this.shouldFixTop&&I?l.y=0:!this.shouldFixBottom&&X&&(l.y=this.innerBoundaryPos.bottom-this.btnWidth),this.isUndraggableExist()&&(Ae||!ie&&this.currentPos.y+this.btnWidth>=this.currentUndraggablePos.y)&&this.initBtnPosition();this.dragPosition=l}checkBtnStick(s){const l=this.currentPos.ythis.innerBoundaryPos.bottom&&this.shouldFixBottom||l&&this.shouldFixTop?(this.btnStick=l?"top":"bottom",this.tlSwitchBtn.restart(),this.tlShadowBtn.seek(0).pause()):(this.btnStick=!1,(s||this.isDesktopDrag)&&this.tlSwitchBtn.progress(1).reverse(),!1===this.isOpenWidget?this.tlShadowBtn.timeScale(1).restart():this.tlShadowBtn.seek(0).pause()),this.cdr.detectChanges()}serviceClickHandler(){this.livechatConfig&&this.liveChatService&&(this.livechatConfig.Livechat?this.liveChatService.getService("Livechat")?.onMaximized():this.livechatConfig.Intercom&&(this.showCrossBtn?this.liveChatService.getService("Intercom")?.intercom.hide():this.liveChatService.getService("Intercom")?.intercom.show()))}toggleOpenWidget(){!1===this.isOpenWidget?(this.isOpenDraggableMenuUpward=this.currentPos.y>.35*this.boundaryEl.offsetHeight,this.openWidget()):this.closeWidget()}openWidget(){this.tlWidgetContentOpen.restart(),this.isOpenWidget=!0,this.cdr.detectChanges()}closeWidget(){this.tlWidgetContentOpen.timeScale(2).reverse().pause(),this.isOpenWidget=!1,this.cdr.detectChanges()}checkStyleApplied(){return new Fc.c(s=>{const l=setInterval(()=>{try{const p=this.floatBoundary?.nativeElement;p&&getComputedStyle(p).top.includes("px")&&(s.next(!0),s.complete(),clearInterval(l))}catch(p){console.warn(p)}},100)})}toggleGameEntranceMenu(){this.isGameEntranceMenuOpen=!this.isGameEntranceMenuOpen,this.renderer.setStyle(this.doc.documentElement,"overflow",this.isGameEntranceMenuOpen?"hidden":"")}closeAllUndraggable(){this.isGameEntranceMenuOpen=!1,this.renderer.setStyle(this.doc.documentElement,"overflow","")}isUndraggableExist(){return this.gameEntranceList.length>0}openGame(s){this.openGameService.open({gameTypeId:s.gameData?.gameTypeId,vendorCode:s.gameData?.vendorCode,gameCode:s.gameData?.gameCode,gameImagePath:s.imgSrc,loaderImgStyle:"miniGame"}).subscribe(),this.toggleGameEntranceMenu()}static#e=this.\u0275fac=function(l){return new(l||a)(e.rXU(e.sFG),e.rXU(Ds.q),e.rXU(cc.G),e.rXU(As.eD),e.rXU(c.qQ),e.rXU(In.Fu),e.rXU(In.sP),e.rXU(e.gRc))};static#t=this.\u0275cmp=e.VBU({type:a,selectors:[["app-float-widget"]],viewQuery:function(l,p){if(1&l&&(e.GBs(KE,5),e.GBs(XE,5),e.GBs(YE,5),e.GBs(x_,5),e.GBs(Mf,5),e.GBs(Nf,5),e.GBs(P_,5),e.GBs(L_,5),e.GBs(F_,5),e.GBs(zE,5),e.GBs(B_,5)),2&l){let I;e.mGM(I=e.lsd())&&(p.widgetLayer=I.first),e.mGM(I=e.lsd())&&(p.floatBoundary=I.first),e.mGM(I=e.lsd())&&(p.floatWrap=I.first),e.mGM(I=e.lsd())&&(p.floatBtn=I.first),e.mGM(I=e.lsd())&&(p.floatBtnImg=I.first),e.mGM(I=e.lsd())&&(p.floatBtnStick=I.first),e.mGM(I=e.lsd())&&(p.floatBtnStickImg=I.first),e.mGM(I=e.lsd())&&(p.widgetWrap=I.first),e.mGM(I=e.lsd())&&(p.widgetContent=I.first),e.mGM(I=e.lsd())&&(p.undraggable=I.first),e.mGM(I=e.lsd())&&(p.widgetItems=I)}},inputs:{shouldFixTop:"shouldFixTop",shouldFixBottom:"shouldFixBottom",floatWidgetImg:"floatWidgetImg",floatWidgetBtnItems:"floatWidgetBtnItems",customCurrentPositionAdjustMent:"customCurrentPositionAdjustMent",floatWrapBtnScale:"floatWrapBtnScale",isDesktopDrag:"isDesktopDrag"},features:[e.Jv_([cc.G])],decls:27,vars:38,consts:[["widgetLayer",""],["floatBoundary",""],["floatWrap",""],["floatBtn",""],["floatBtnStick",""],["floatBtnStickImg",""],["floatBtnImg",""],["undraggable",""],["widgetWrap",""],["widgetContent",""],["otherItem",""],["widgetItem",""],[1,"float-widget"],[1,"float-widget__boundary"],["class","float-widget__backdrop",3,"click",4,"ngIf"],["cdkDrag","",1,"float-widget__draggable",3,"cdkDragEnded","cdkDragDisabled","cdkDragBoundary","cdkDragFreeDragPosition","ngClass"],[1,"float-widget__float-wrap","float-wrap"],[1,"float-wrap__btn","float-wrap-btn"],[1,"float-wrap-btn__inner",3,"click"],[1,"float-wrap-btn__stick"],["src","/assets/images/icon-set/icon-arrow-type09.svg","alt","",1,"float-wrap__img","float-wrap-btn__img","float-wrap-btn__img--stick"],["alt","float button image",1,"float-wrap__img","float-wrap-btn__img",3,"load","drcCdnSrc"],["drcCdnSrc","/assets/images/icon-set/icon-cross-type03.svg","alt","float button image close",1,"float-wrap__img","float-wrap-btn__img","float-wrap-btn__img--close"],["class","intercom-notification",4,"ngIf"],["class","float-wrap__widget-wrap widget-wrap",3,"widget-wrap__content--top","widget-wrap__content--bottom",4,"ngIf"],[1,"float-widget__undraggable","undraggable-group"],[1,"undraggable-group__item","game-entrance"],["class","game-entrance__btn",3,"click",4,"ngIf"],[1,"game-entrance__menu"],[4,"ngFor","ngForOf"],[1,"float-widget__backdrop",3,"click"],[1,"intercom-notification"],[1,"float-wrap__widget-wrap","widget-wrap"],[1,"widget-wrap__content",3,"ngClass"],["class","widget-wrap__item widget-wrap-item","name","liveChatBtn",3,"animation-delay","click",4,"ngIf","ngIfElse"],["name","liveChatBtn",1,"widget-wrap__item","widget-wrap-item",3,"click"],[1,"widget-wrap-item__btn","widget-wrap-item-btn"],[1,"widget-wrap-item-btn__pic",3,"ngStyle"],[1,"widget-wrap__item","widget-wrap-item"],["target","_blank",1,"widget-wrap-item-btn__link"],["class","widget-wrap-item-btn__pic",3,"background-image",4,"ngIf"],[1,"widget-wrap-item-btn__pic"],[1,"game-entrance__btn",3,"click"],["drcCdnSrc","assets/images/minigames/minigames.gif","alt","mini-game",1,"game-entrance__btn-img","game-entrance__btn-img--open",3,"loading"],["drcCdnSrc","assets/images/minigames/close.png","alt","close",1,"game-entrance__btn-img","game-entrance__btn-img--close",3,"loading"],["class","game-entrance__btn-text",4,"ngIf"],[1,"game-entrance__btn-text"],[1,"game-entrance__item","game-entrance-item",3,"click"],["alt","game-image",1,"game-entrance-item__img",3,"drcCdnSrc","loading"],[1,"game-entrance-item__title",3,"innerHTML"]],template:function(l,p){if(1&l){const I=e.RV6();e.j41(0,"div",12,0)(2,"div",13,1),e.DNE(4,bf,1,0,"div",14),e.j41(5,"div",15),e.bIt("cdkDragEnded",function(ie){return e.eBV(I),e.Njj(p.checkDragEnd(ie))}),e.j41(6,"div",16,2)(8,"div",17,3)(10,"div",18),e.bIt("click",function(){return e.eBV(I),e.Njj(p.floatBtnClickHandler())}),e.j41(11,"div",19,4),e.nrm(13,"img",20,5),e.k0s(),e.j41(15,"img",21,6),e.bIt("load",function(){return e.eBV(I),e.Njj(p.imageLoad$.next(!0))}),e.k0s(),e.nrm(17,"img",22),e.k0s(),e.DNE(18,lD,2,1,"div",23),e.nI1(19,"async"),e.k0s(),e.DNE(20,V_,5,8,"div",24),e.k0s()(),e.j41(21,"div",25,7)(23,"div",26),e.DNE(24,H_,4,7,"div",27),e.j41(25,"div",28),e.DNE(26,j_,4,5,"ng-container",29),e.k0s()()()()()}if(2&l){const I=e.sdS(3);e.R7$(2),e.AVh("float-widget__boundary--no-bottom",!p.shouldFixBottom)("float-widget__boundary--no-top",!p.shouldFixTop),e.R7$(2),e.Y8G("ngIf",p.isGameEntranceMenuOpen),e.R7$(),e.Y8G("cdkDragDisabled",!p.isMobile&&!p.isDesktopDrag)("cdkDragBoundary",I)("cdkDragFreeDragPosition",p.dragPosition)("ngClass",e.sMw(34,QE,p.buttonIsDisplayed&&!p.undraggableItemIsTrigger,p.btnMoving,p.btnMoveEnd)),e.R7$(5),e.AVh("float-wrap-btn__inner--stick-bottom","bottom"===p.btnStick)("float-wrap-btn__inner--stick-top","top"===p.btnStick),e.R7$(3),e.AVh("float-wrap-btn__img--stick-bottom","bottom"===p.btnStick)("float-wrap-btn__img--stick-top","top"===p.btnStick),e.R7$(2),e.xc7("display",p.showCrossBtn?"none":""),e.Y8G("drcCdnSrc",p.floatWidgetImg),e.R7$(2),e.xc7("display",p.showCrossBtn?"":"none"),e.R7$(),e.Y8G("ngIf",e.bMT(19,32,p.intercomUnreadCount$)),e.R7$(2),e.Y8G("ngIf",p.floatWidgetBtnList.length>1),e.R7$(),e.AVh("float-widget__undraggable--ready",p.buttonIsDisplayed&&p.isUndraggableExist()),e.R7$(2),e.AVh("game-entrance--ready",p.gameEntranceList.length>0),e.R7$(),e.Y8G("ngIf",p.isUndraggableExist()),e.R7$(),e.xc7("display",p.isGameEntranceMenuOpen?"":"none"),e.R7$(),e.Y8G("ngForOf",p.gameEntranceList)}},dependencies:[c.YU,c.Sq,c.bT,c.B3,Ul.T1,Gs.f,ms.h,c.Jj,Xs.H],styles:['header[_ngcontent-%COMP%]{z-index:6000}.menu[_ngcontent-%COMP%]{z-index:9000}.pop-bg[_ngcontent-%COMP%]{z-index:8000}.pop-wrap[_ngcontent-%COMP%], .member-menu[_ngcontent-%COMP%], .searchpage[_ngcontent-%COMP%]{z-index:9000}.menu-mask[_ngcontent-%COMP%], .modal[_ngcontent-%COMP%]{z-index:8000}.modal-backdrop[_ngcontent-%COMP%]{z-index:7000}.launch-game-content[_ngcontent-%COMP%]{z-index:8500}.tips-display[_ngcontent-%COMP%]{z-index:8501}.loading-mask[_ngcontent-%COMP%]{z-index:9003}.loader-box[_ngcontent-%COMP%]{z-index:9004!important}.rotating-pop[_ngcontent-%COMP%]{z-index:9002}.game-type-menu[_ngcontent-%COMP%]{z-index:8000}#chat-widget-container[_ngcontent-%COMP%]{z-index:9001!important}@keyframes _ngcontent-%COMP%_fadeIn{0%{opacity:0}to{opacity:1}}.float-widget[_ngcontent-%COMP%]{display:block;position:fixed;inset:0;pointer-events:none;z-index:9001}.float-widget__boundary[_ngcontent-%COMP%]{display:block;position:fixed;inset:-22px}.float-widget__boundary--no-bottom[_ngcontent-%COMP%]{bottom:0}.float-widget__boundary--no-top[_ngcontent-%COMP%]{top:0}.float-widget__backdrop[_ngcontent-%COMP%]{pointer-events:auto;position:absolute;width:100%;height:100%;animation:_ngcontent-%COMP%_blackBlurIn 1s forwards}@keyframes _ngcontent-%COMP%_blackBlurIn{0%{background-color:#0000;-webkit-backdrop-filter:blur(0px);backdrop-filter:blur(0px)}to{background-color:#00000080;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}}.float-widget__draggable[_ngcontent-%COMP%]{display:block;position:absolute;top:0;left:0;width:44px;height:44px;pointer-events:none;transition:transform .3s cubic-bezier(.03,.98,.52,.99) width .3s cubic-bezier(.03,.98,.52,.99) height .3s cubic-bezier(.03,.98,.52,.99) opacity .5s;overscroll-behavior:auto;opacity:0}.float-widget__draggable--ready[_ngcontent-%COMP%]{opacity:1;pointer-events:auto}.float-widget__draggable--end[_ngcontent-%COMP%]{transition:all .3s cubic-bezier(.03,.98,.52,.99);overscroll-behavior:auto}.float-widget__draggable--moving[_ngcontent-%COMP%] .float-widget__float-wrap[_ngcontent-%COMP%]{transform:scale(1.3);filter:drop-shadow(0px) 0vw 2.1333333333vw rgba(80,98,101,.3)}.float-widget__undraggable[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;position:absolute;pointer-events:none;left:0;top:0;width:44px;height:auto;transition:transform .5s;opacity:0;transition:opacity .5s}.float-widget__undraggable--ready[_ngcontent-%COMP%]{opacity:1;pointer-events:auto}.float-widget__undraggable[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:none}.float-wrap[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;width:100%;height:100%;transition:all .3s cubic-bezier(.03,.98,.52,.99)}.float-wrap__btn[_ngcontent-%COMP%]{width:100%;height:100%;margin:3px 0}.float-wrap__widget-wrap[_ngcontent-%COMP%]{position:absolute;width:100%;margin:3px 0;left:0;right:0}.float-wrap-btn[_ngcontent-%COMP%]{transition:all .3s cubic-bezier(.03,.98,.52,.99);filter:drop-shadow(0px) 0vw .8vw rgba(218,249,255,.7);border-radius:50%;cursor:pointer}.float-wrap-btn__inner[_ngcontent-%COMP%]{width:100%;height:100%;border-radius:50%;background:var(--widget-btn-bg, #333);transition:none;display:flex;justify-content:center;align-items:center}.float-wrap-btn__inner--stick-top[_ngcontent-%COMP%]{transition:transform .5s .3s;transform:translateY(65%)}.float-wrap-btn__inner--stick-bottom[_ngcontent-%COMP%]{transition:transform .5s .3s;transform:translateY(-65%)}.float-wrap-btn__stick[_ngcontent-%COMP%]{pointer-events:none;display:flex;justify-content:center;align-items:center;position:absolute;top:50%;left:50%;width:100%;height:100%;transform:translate(-50%,-50%);border-radius:50%;opacity:0}.float-wrap-btn__img[_ngcontent-%COMP%]{pointer-events:none;display:block;position:relative;width:70%;height:70%;transform-origin:50% 50%}.float-wrap-btn__img--stick[_ngcontent-%COMP%]{width:30%;height:30%;opacity:.9}.float-wrap-btn__img--stick-top[_ngcontent-%COMP%]{transform:translateY(40%) rotate(-90deg)}.float-wrap-btn__img--stick-bottom[_ngcontent-%COMP%]{transform:translateY(-40%) rotate(90deg)}.float-wrap-btn__img--close[_ngcontent-%COMP%]{width:40%;height:40%}.logo[_ngcontent-%COMP%]{display:block;width:100%;height:100%;background-size:80% auto;background-repeat:no-repeat;background-position:center}.widget-wrap[_ngcontent-%COMP%]{height:auto}@keyframes _ngcontent-%COMP%_bubbleItemUp{0%{opacity:0;transform:scale(0) translateY(100%)}to{opacity:1;transform:scale(1) translateY(0)}}@keyframes _ngcontent-%COMP%_bubbleItemDown{0%{opacity:0;transform:scale(0) translateY(-100%)}to{opacity:1;transform:scale(1) translateY(0)}}.widget-wrap__content[_ngcontent-%COMP%]{flex-direction:column;width:100%;max-height:100%;height:auto;display:none;overflow:visible}.widget-wrap__content--open[_ngcontent-%COMP%]{display:flex}.widget-wrap__content--top[_ngcontent-%COMP%]{top:0;transform:translateY(-100%) translateY(-6px)}.widget-wrap__content--bottom[_ngcontent-%COMP%]{bottom:0;flex-direction:column-reverse;transform:translateY(100%) translateY(6px)}.widget-wrap__content--top[_ngcontent-%COMP%] .widget-wrap__item[_ngcontent-%COMP%]{opacity:0;animation:_ngcontent-%COMP%_bubbleItemUp .5s forwards}.widget-wrap__content--bottom[_ngcontent-%COMP%] .widget-wrap__item[_ngcontent-%COMP%]{opacity:0;animation:_ngcontent-%COMP%_bubbleItemDown .5s forwards}.widget-wrap__item[_ngcontent-%COMP%]{width:44px;height:44px;margin:3px 0}.widget-wrap-item__btn[_ngcontent-%COMP%]{cursor:pointer;display:block;width:100%;height:100%}.widget-wrap-item-btn[_ngcontent-%COMP%]{background:var(--widget-btn-item-bg, #333);filter:drop-shadow(0px) 0vw .8vw var(--widget-btn-item-shadow);border-radius:50%}.widget-wrap-item-btn__pic[_ngcontent-%COMP%]{display:block;width:100%;height:100%;background-size:70% auto;background-repeat:no-repeat;background-position:center}.undraggable-group[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;cursor:pointer}.undraggable-group__item[_ngcontent-%COMP%]{flex:none}.undraggable-group__item[_ngcontent-%COMP%] + .undraggable-group__item[_ngcontent-%COMP%]{margin-top:12px}.game-entrance[_ngcontent-%COMP%]{position:relative;font-family:Anton,serif;opacity:0;pointer-events:none}.game-entrance__btn[_ngcontent-%COMP%]{width:66px;height:66px;border-radius:50%;display:flex;align-items:center;justify-content:center;position:relative}.game-entrance__btn[_ngcontent-%COMP%] .game-entrance__btn-text[_ngcontent-%COMP%]{font-size:12px;white-space:nowrap;bottom:0;left:50%;position:absolute;transform:translate(-50%,100%);text-shadow:-1px 0 rgb(248,215,72),0 1px rgb(248,215,72),1px 0 rgb(248,215,72),0 -1px rgb(248,215,72)}.game-entrance__btn[_ngcontent-%COMP%] .game-entrance__btn-img[_ngcontent-%COMP%]{flex:none;opacity:0;animation:_ngcontent-%COMP%_fadeIn .5s forwards}.game-entrance__btn-img--open[_ngcontent-%COMP%]{width:100%;height:100%}.game-entrance__btn-img--close[_ngcontent-%COMP%]{width:75%;height:75%}.game-entrance__menu[_ngcontent-%COMP%]{mask-image:linear-gradient(0deg,#fff0,#000 30px calc(100% - 30px),#fff0);mask-repeat:no-repeat;-webkit-mask-image:linear-gradient(0deg,rgba(255,255,255,0) 0px,rgb(0,0,0) 30px,rgb(0,0,0) calc(100% - 30px),rgba(255,255,255,0) 100%);-webkit-mask-repeat:no-repeat;top:0;margin:0 auto;transform:translateY(-100%) translateY(-12px);width:100vw;max-height:calc(100vh - 132px);overflow:auto;position:fixed;left:calc(-100vw + 13.2px + 100%);display:flex;flex-direction:column;align-items:flex-end}.game-entrance__menu[_ngcontent-%COMP%]:before, .game-entrance__menu[_ngcontent-%COMP%]:after{content:"";display:block;height:30px;flex:none}.game-entrance__item[_ngcontent-%COMP%]{width:66px;height:66px;opacity:0;animation:_ngcontent-%COMP%_bubbleItemUp .5s forwards;list-style:none}.game-entrance__item[_ngcontent-%COMP%] + .game-entrance__item[_ngcontent-%COMP%]{margin-top:12px}.game-entrance--ready[_ngcontent-%COMP%]{opacity:1;pointer-events:auto}.game-entrance-item[_ngcontent-%COMP%]{cursor:pointer;position:relative}.game-entrance-item__img[_ngcontent-%COMP%]{width:100%}.game-entrance-item__title[_ngcontent-%COMP%]{position:absolute;left:0;top:50%;width:48px;text-align:center;transform:translate(-100%,-50%);color:#f8d748;line-height:1.1}.intercom-notification[_ngcontent-%COMP%]{position:absolute;top:0;right:0;border-radius:50%;width:17px;height:17px;background-color:#ff4c4c;color:#fff;display:flex;align-items:center;justify-content:center;font-size:12px;line-height:13px;pointer-events:none}'],changeDetection:0})}return a})();var dD=o(31410);function hD(a,g){1&a&&e.nrm(0,"app-rotating-phone")}function fD(a,g){}function gD(a,g){1&a&&e.nrm(0,"app-float-widget")}function pD(a,g){1&a&&(e.qex(0),e.DNE(1,gD,1,0,"app-float-widget",2),e.bVm())}const _D=[{routerPathType:Se.J.INBOX,hasAppDownload:!1,hasHelpCenter:!1,hasEditBtrn:!0},{routerPathType:Se.J.REFERRAL_PROGRAM,hasAppDownload:!1,hasHelpCenter:!1,hasEditBtrn:!1}];let mD=(()=>{class a{prepareRoute(s){return s&&s.activatedRouteData&&s.activatedRouteData.animationFullPage}constructor(s,l,p,I,X,ie,Ae){this.router=s,this.i18nService=l,this.headerState=p,this.layoutState=I,this.animationState=X,this.siteSettingState=ie,this.authState=Ae,this.loaderBoxService=(0,e.WQX)($E.S),this.afLinkApp=(0,e.WQX)(N_),this.title="h5-jb",this.isLoading$=new Ts.t(!1),this.hideFloatWidget=!1,this.subscriptions=[],this.changeTheme$=(0,po.z)([this.authState.select("isLogin"),this.siteSettingState.select()]).pipe((0,xr.B)(50),(0,Wt.M)(([Ue,st])=>{let rt="default";switch(Ue?st.currentCurrencyType.unique:st.accessCurrencyTypeId){case Rn.U.BDT.unique:rt="bdt_theme";break;case Rn.U.PKR.unique:rt="pkr_theme";break;case Rn.U.INR.unique:rt="inr_theme";break;default:rt="default"}this.switchThemeService.setTone(rt)})),this.connextraService=(0,e.WQX)(Rf),this.switchThemeService=(0,e.WQX)(Us.Fu),this.routerLifeCycleState(),this.connextraService.init(),this.subscriptions.push(this.changeTheme$.subscribe())}ngOnInit(){this.afLinkApp.exposeAffiliateHandler(),this.subscriptions.push(this.isLoading$.pipe().subscribe())}ngOnDestroy(){this.subscriptions.forEach(s=>s.unsubscribe())}routerLifeCycleState(){const s=this.router.events.pipe((0,oi.p)(p=>p instanceof V.Z)).subscribe(p=>{this.animationState.set({routingLifeCycle:Cu.h.OPENING.unique})}),l=this.router.events.pipe((0,oi.p)(p=>p instanceof V.wF),(0,Wt.M)(()=>setTimeout(()=>this.isLoading$.next(!1),500))).subscribe(p=>{this.animationState.set({routingLifeCycle:Cu.h.EXECUTING.unique}),this.routerEventChange(p)});this.subscriptions.push(s),this.subscriptions.push(l)}routerEventChange(s){console.log("routing - NavigationEnd start"),console.log(s.urlAfterRedirects);const l=ui.C.startWithLink(s.urlAfterRedirects),p=Se.J.findByRoutingPath(l);let I=this.headerState.get("btnSetting");const X=_D.find(ie=>ie.routerPathType===p);if(I=X||{...I,hasAppDownload:!0,hasHelpCenter:!0,hasEditBtrn:!1},this.hideFloatWidget=p===Se.J.IP_BLOCK||p===Se.J.BRAND_MAINTAIN||p===Se.J.PROVIDER_MAINTAIN||p===Se.J.NOT_FOUND,p){const ie=p.layoutConfigType;setTimeout(()=>{this.headerState.set({title:this.i18nService.translate(ie.headerTitle),headerClass:ie.headerClass,btnSetting:I})},500),this.layoutState.set({isNeedToShowToolbar:ie.isLayoutNeedToShowToolbar,isNeedToShowHeader:ie.isLayoutNeedToShowHeader,isNeedToShowFooter:ie.isLayoutNeedToShowFooter,contentClass:ie.layoutContentClass})}else this.headerState.set({title:"",headerClass:"normal",btnSetting:I}),this.layoutState.set({isNeedToShowToolbar:!0,isNeedToShowHeader:!0,isNeedToShowFooter:!0,contentClass:""})}static#e=this.\u0275fac=function(l){return new(l||a)(e.rXU(V.Ix),e.rXU(A.JO),e.rXU(In.ww),e.rXU(In.Tl),e.rXU(Js.x),e.rXU(Qn.p),e.rXU(Oi.H))};static#t=this.\u0275cmp=e.VBU({type:a,selectors:[["app-root"]],decls:7,vars:2,consts:[["outlet","outlet"],[1,"main-router-wrapper"],[4,"drcPrerenderIgnore"],["drcDialog",""],[4,"ngIf"]],template:function(l,p){if(1&l&&(e.j41(0,"div",1),e.nrm(1,"router-outlet",null,0),e.k0s(),e.DNE(3,hD,1,0,"app-rotating-phone",2)(4,fD,0,0,"ng-template",3),e.nrm(5,"app-loader-box"),e.DNE(6,pD,2,0,"ng-container",4)),2&l){const I=e.sdS(2);e.Y8G("@routeFullPageAni",p.prepareRoute(I)),e.R7$(6),e.Y8G("ngIf",!p.hideFloatWidget)}},dependencies:[c.bT,V.n3,Of,lE,JE,dD.V],data:{animation:[No.Tx]},changeDetection:0})}return a})(),vD=(()=>{class a{static#e=this.\u0275fac=function(l){return new(l||a)};static#t=this.\u0275mod=e.$C({type:a,bootstrap:[mD]});static#n=this.\u0275inj=e.G2t({providers:[{provide:A.oH,useClass:B}],imports:[M_]})}return a})();function Pf(){u.sG().bootstrapModule(vD).catch(a=>console.error(a))}se.c.production&&(0,e.SmG)(),"complete"===document.readyState?Pf():document.addEventListener("DOMContentLoaded",Pf)},93188:function(Me,K,o){var u;Me.exports=(u=o(17656),o(98891),o(78855),o(4147),o(12414),function(){var e=u,c=e.lib.BlockCipher,v=e.algo,y=[],R=[],T=[],A=[],S=[],C=[],x=[],P=[],B=[],W=[];!function(){for(var Y=[],re=0;re<256;re++)Y[re]=re<128?re<<1:re<<1^283;var ve=0,le=0;for(re=0;re<256;re++){var Ee=le^le<<1^le<<2^le<<3^le<<4;y[ve]=Ee=Ee>>>8^255&Ee^99,R[Ee]=ve;var J,F=Y[ve],j=Y[F],te=Y[j];T[ve]=(J=257*Y[Ee]^16843008*Ee)<<24|J>>>8,A[ve]=J<<16|J>>>16,S[ve]=J<<8|J>>>24,C[ve]=J,x[Ee]=(J=16843009*te^65537*j^257*F^16843008*ve)<<24|J>>>8,P[Ee]=J<<16|J>>>16,B[Ee]=J<<8|J>>>24,W[Ee]=J,ve?(ve=F^Y[Y[Y[te^F]]],le^=Y[Y[le]]):ve=le=1}}();var ee=[0,1,2,4,8,16,32,64,128,27,54],se=v.AES=c.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var re=this._keyPriorReset=this._key,ve=re.words,le=re.sigBytes/4,F=4*((this._nRounds=le+6)+1),j=this._keySchedule=[],te=0;te6&&te%le==4&&(Y=y[Y>>>24]<<24|y[Y>>>16&255]<<16|y[Y>>>8&255]<<8|y[255&Y]):(Y=y[(Y=Y<<8|Y>>>24)>>>24]<<24|y[Y>>>16&255]<<16|y[Y>>>8&255]<<8|y[255&Y],Y^=ee[te/le|0]<<24),j[te]=j[te-le]^Y);for(var J=this._invKeySchedule=[],$=0;$>>24]]^P[y[Y>>>16&255]]^B[y[Y>>>8&255]]^W[y[255&Y]]}}},encryptBlock:function(Y,re){this._doCryptBlock(Y,re,this._keySchedule,T,A,S,C,y)},decryptBlock:function(Y,re){var ve=Y[re+1];Y[re+1]=Y[re+3],Y[re+3]=ve,this._doCryptBlock(Y,re,this._invKeySchedule,x,P,B,W,R),ve=Y[re+1],Y[re+1]=Y[re+3],Y[re+3]=ve},_doCryptBlock:function(Y,re,ve,le,Ee,F,j,te){for(var J=this._nRounds,$=Y[re]^ve[0],ce=Y[re+1]^ve[1],ue=Y[re+2]^ve[2],Te=Y[re+3]^ve[3],_e=4,Ge=1;Ge>>24]^Ee[ce>>>16&255]^F[ue>>>8&255]^j[255&Te]^ve[_e++],dt=le[ce>>>24]^Ee[ue>>>16&255]^F[Te>>>8&255]^j[255&$]^ve[_e++],at=le[ue>>>24]^Ee[Te>>>16&255]^F[$>>>8&255]^j[255&ce]^ve[_e++],ye=le[Te>>>24]^Ee[$>>>16&255]^F[ce>>>8&255]^j[255&ue]^ve[_e++];$=Ve,ce=dt,ue=at,Te=ye}Ve=(te[$>>>24]<<24|te[ce>>>16&255]<<16|te[ue>>>8&255]<<8|te[255&Te])^ve[_e++],dt=(te[ce>>>24]<<24|te[ue>>>16&255]<<16|te[Te>>>8&255]<<8|te[255&$])^ve[_e++],at=(te[ue>>>24]<<24|te[Te>>>16&255]<<16|te[$>>>8&255]<<8|te[255&ce])^ve[_e++],ye=(te[Te>>>24]<<24|te[$>>>16&255]<<16|te[ce>>>8&255]<<8|te[255&ue])^ve[_e++],Y[re]=Ve,Y[re+1]=dt,Y[re+2]=at,Y[re+3]=ye},keySize:8});e.AES=c._createHelper(se)}(),u.AES)},45269:function(Me,K,o){var u;Me.exports=(u=o(17656),o(98891),o(78855),o(4147),o(12414),function(){var e=u,c=e.lib.BlockCipher;const y=16,R=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],T=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var A={pbox:[],sbox:[]};function S(W,ee){let le=W.sbox[0][ee>>24&255]+W.sbox[1][ee>>16&255];return le^=W.sbox[2][ee>>8&255],le+=W.sbox[3][255&ee],le}function C(W,ee,se){let ve,Y=ee,re=se;for(let le=0;le=se&&(Y=0);let re=0,ve=0,le=0;for(let Ee=0;Ee1;--le)Y^=W.pbox[le],re=S(W,Y)^re,ve=Y,Y=re,re=ve;return ve=Y,Y=re,re=ve,re^=W.pbox[1],Y^=W.pbox[0],{left:Y,right:re}}(A,W[ee],W[ee+1]);W[ee]=se.left,W[ee+1]=se.right},blockSize:2,keySize:4,ivSize:2});e.Blowfish=c._createHelper(B)}(),u.Blowfish)},12414:function(Me,K,o){var h,c,v,y,R,T,S,x,P,W,ee,se,re,le,F,j,J,$,u;Me.exports=(u=o(17656),o(4147),void(u.lib.Cipher||(h=u,c=h.lib,v=c.Base,y=c.WordArray,R=c.BufferedBlockAlgorithm,T=h.enc,S=T.Base64,x=h.algo.EvpKDF,P=c.Cipher=R.extend({cfg:v.extend(),createEncryptor:function(ce,ue){return this.create(this._ENC_XFORM_MODE,ce,ue)},createDecryptor:function(ce,ue){return this.create(this._DEC_XFORM_MODE,ce,ue)},init:function(ce,ue,Te){this.cfg=this.cfg.extend(Te),this._xformMode=ce,this._key=ue,this.reset()},reset:function(){R.reset.call(this),this._doReset()},process:function(ce){return this._append(ce),this._process()},finalize:function(ce){return ce&&this._append(ce),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function ce(ue){return"string"==typeof ue?$:j}return function(ue){return{encrypt:function(Te,_e,Ge){return ce(_e).encrypt(ue,Te,_e,Ge)},decrypt:function(Te,_e,Ge){return ce(_e).decrypt(ue,Te,_e,Ge)}}}}()}),c.StreamCipher=P.extend({_doFinalize:function(){return this._process(!0)},blockSize:1}),W=h.mode={},ee=c.BlockCipherMode=v.extend({createEncryptor:function(ce,ue){return this.Encryptor.create(ce,ue)},createDecryptor:function(ce,ue){return this.Decryptor.create(ce,ue)},init:function(ce,ue){this._cipher=ce,this._iv=ue}}),se=W.CBC=function(){var ce=ee.extend();function ue(Te,_e,Ge){var Ve,dt=this._iv;dt?(Ve=dt,this._iv=undefined):Ve=this._prevBlock;for(var at=0;at>>2]}},c.BlockCipher=P.extend({cfg:P.cfg.extend({mode:se,padding:re}),reset:function(){var ce;P.reset.call(this);var ue=this.cfg,Te=ue.iv,_e=ue.mode;this._xformMode==this._ENC_XFORM_MODE?ce=_e.createEncryptor:(ce=_e.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==ce?this._mode.init(this,Te&&Te.words):(this._mode=ce.call(_e,this,Te&&Te.words),this._mode.__creator=ce)},_doProcessBlock:function(ce,ue){this._mode.processBlock(ce,ue)},_doFinalize:function(){var ce,ue=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(ue.pad(this._data,this.blockSize),ce=this._process(!0)):(ce=this._process(!0),ue.unpad(ce)),ce},blockSize:4}),le=c.CipherParams=v.extend({init:function(ce){this.mixIn(ce)},toString:function(ce){return(ce||this.formatter).stringify(this)}}),F=(h.format={}).OpenSSL={stringify:function(ce){var Te=ce.ciphertext,_e=ce.salt;return(_e?y.create([1398893684,1701076831]).concat(_e).concat(Te):Te).toString(S)},parse:function(ce){var ue,Te=S.parse(ce),_e=Te.words;return 1398893684==_e[0]&&1701076831==_e[1]&&(ue=y.create(_e.slice(2,4)),_e.splice(0,4),Te.sigBytes-=16),le.create({ciphertext:Te,salt:ue})}},j=c.SerializableCipher=v.extend({cfg:v.extend({format:F}),encrypt:function(ce,ue,Te,_e){_e=this.cfg.extend(_e);var Ge=ce.createEncryptor(Te,_e),Ve=Ge.finalize(ue),dt=Ge.cfg;return le.create({ciphertext:Ve,key:Te,iv:dt.iv,algorithm:ce,mode:dt.mode,padding:dt.padding,blockSize:ce.blockSize,formatter:_e.format})},decrypt:function(ce,ue,Te,_e){return _e=this.cfg.extend(_e),ue=this._parse(ue,_e.format),ce.createDecryptor(Te,_e).finalize(ue.ciphertext)},_parse:function(ce,ue){return"string"==typeof ce?ue.parse(ce,this):ce}}),J=(h.kdf={}).OpenSSL={execute:function(ce,ue,Te,_e,Ge){if(_e||(_e=y.random(8)),Ge)var Ve=x.create({keySize:ue+Te,hasher:Ge}).compute(ce,_e);else Ve=x.create({keySize:ue+Te}).compute(ce,_e);var dt=y.create(Ve.words.slice(ue),4*Te);return Ve.sigBytes=4*ue,le.create({key:Ve,iv:dt,salt:_e})}},$=c.PasswordBasedCipher=j.extend({cfg:j.cfg.extend({kdf:J}),encrypt:function(ce,ue,Te,_e){var Ge=(_e=this.cfg.extend(_e)).kdf.execute(Te,ce.keySize,ce.ivSize,_e.salt,_e.hasher);_e.iv=Ge.iv;var Ve=j.encrypt.call(this,ce,ue,Ge.key,_e);return Ve.mixIn(Ge),Ve},decrypt:function(ce,ue,Te,_e){_e=this.cfg.extend(_e),ue=this._parse(ue,_e.format);var Ge=_e.kdf.execute(Te,ce.keySize,ce.ivSize,ue.salt,_e.hasher);return _e.iv=Ge.iv,j.decrypt.call(this,ce,ue,Ge.key,_e)}}))))},17656:function(Me,K,o){var u;Me.exports=(u=u||function(e,h){var c;if(typeof window<"u"&&window.crypto&&(c=window.crypto),typeof self<"u"&&self.crypto&&(c=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(c=globalThis.crypto),!c&&typeof window<"u"&&window.msCrypto&&(c=window.msCrypto),!c&&typeof global<"u"&&global.crypto&&(c=global.crypto),!c)try{c=o(50477)}catch{}var v=function(){if(c){if("function"==typeof c.getRandomValues)try{return c.getRandomValues(new Uint32Array(1))[0]}catch{}if("function"==typeof c.randomBytes)try{return c.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},y=Object.create||function(){function Y(){}return function(re){var ve;return Y.prototype=re,ve=new Y,Y.prototype=null,ve}}(),R={},T=R.lib={},A=T.Base=function(){return{extend:function(Y){var re=y(this);return Y&&re.mixIn(Y),(!re.hasOwnProperty("init")||this.init===re.init)&&(re.init=function(){re.$super.init.apply(this,arguments)}),re.init.prototype=re,re.$super=this,re},create:function(){var Y=this.extend();return Y.init.apply(Y,arguments),Y},init:function(){},mixIn:function(Y){for(var re in Y)Y.hasOwnProperty(re)&&(this[re]=Y[re]);Y.hasOwnProperty("toString")&&(this.toString=Y.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),S=T.WordArray=A.extend({init:function(Y,re){Y=this.words=Y||[],this.sigBytes=null!=re?re:4*Y.length},toString:function(Y){return(Y||x).stringify(this)},concat:function(Y){var re=this.words,ve=Y.words,le=this.sigBytes,Ee=Y.sigBytes;if(this.clamp(),le%4)for(var F=0;F>>2]|=(ve[F>>>2]>>>24-F%4*8&255)<<24-(le+F)%4*8;else for(var te=0;te>>2]=ve[te>>>2];return this.sigBytes+=Ee,this},clamp:function(){var Y=this.words,re=this.sigBytes;Y[re>>>2]&=4294967295<<32-re%4*8,Y.length=e.ceil(re/4)},clone:function(){var Y=A.clone.call(this);return Y.words=this.words.slice(0),Y},random:function(Y){for(var re=[],ve=0;ve>>2]>>>24-Ee%4*8&255;le.push((F>>>4).toString(16)),le.push((15&F).toString(16))}return le.join("")},parse:function(Y){for(var re=Y.length,ve=[],le=0;le>>3]|=parseInt(Y.substr(le,2),16)<<24-le%8*4;return new S.init(ve,re/2)}},P=C.Latin1={stringify:function(Y){for(var re=Y.words,ve=Y.sigBytes,le=[],Ee=0;Ee>>2]>>>24-Ee%4*8&255));return le.join("")},parse:function(Y){for(var re=Y.length,ve=[],le=0;le>>2]|=(255&Y.charCodeAt(le))<<24-le%4*8;return new S.init(ve,re)}},B=C.Utf8={stringify:function(Y){try{return decodeURIComponent(escape(P.stringify(Y)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(Y){return P.parse(unescape(encodeURIComponent(Y)))}},W=T.BufferedBlockAlgorithm=A.extend({reset:function(){this._data=new S.init,this._nDataBytes=0},_append:function(Y){"string"==typeof Y&&(Y=B.parse(Y)),this._data.concat(Y),this._nDataBytes+=Y.sigBytes},_process:function(Y){var re,ve=this._data,le=ve.words,Ee=ve.sigBytes,F=this.blockSize,te=Ee/(4*F),J=(te=Y?e.ceil(te):e.max((0|te)-this._minBufferSize,0))*F,$=e.min(4*J,Ee);if(J){for(var ce=0;ce>>2]>>>24-P%4*8&255)<<16|(A[P+1>>>2]>>>24-(P+1)%4*8&255)<<8|A[P+2>>>2]>>>24-(P+2)%4*8&255,Y=0;Y<4&&P+.75*Y>>6*(3-Y)&63));var re=C.charAt(64);if(re)for(;x.length%4;)x.push(re);return x.join("")},parse:function(T){var A=T.length,S=this._map,C=this._reverseMap;if(!C){C=this._reverseMap=[];for(var x=0;x>>6-P%4*2;C[x>>>2]|=(B|W)<<24-x%4*8,x++}return c.create(C,x)}(T,A,C)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},u.enc.Base64)},6598:function(Me,K,o){var u,c;Me.exports=(u=o(17656),c=u.lib.WordArray,u.enc.Base64url={stringify:function(T,A){void 0===A&&(A=!0);var S=T.words,C=T.sigBytes,x=A?this._safe_map:this._map;T.clamp();for(var P=[],B=0;B>>2]>>>24-B%4*8&255)<<16|(S[B+1>>>2]>>>24-(B+1)%4*8&255)<<8|S[B+2>>>2]>>>24-(B+2)%4*8&255,re=0;re<4&&B+.75*re>>6*(3-re)&63));var ve=x.charAt(64);if(ve)for(;P.length%4;)P.push(ve);return P.join("")},parse:function(T,A){void 0===A&&(A=!0);var S=T.length,C=A?this._safe_map:this._map,x=this._reverseMap;if(!x){x=this._reverseMap=[];for(var P=0;P>>6-P%4*2;C[x>>>2]|=(B|W)<<24-x%4*8,x++}return c.create(C,x)}(T,S,x)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"},u.enc.Base64url)},74779:function(Me,K,o){Me.exports=o(17656).enc.Hex},75304:function(Me,K,o){var u;Me.exports=(u=o(17656),function(){var c=u.lib.WordArray,v=u.enc;function R(T){return T<<8&4278255360|T>>>8&16711935}v.Utf16=v.Utf16BE={stringify:function(T){for(var A=T.words,S=T.sigBytes,C=[],x=0;x>>2]>>>16-x%4*8&65535));return C.join("")},parse:function(T){for(var A=T.length,S=[],C=0;C>>1]|=T.charCodeAt(C)<<16-C%2*16;return c.create(S,2*A)}},v.Utf16LE={stringify:function(T){for(var A=T.words,S=T.sigBytes,C=[],x=0;x>>2]>>>16-x%4*8&65535);C.push(String.fromCharCode(P))}return C.join("")},parse:function(T){for(var A=T.length,S=[],C=0;C>>1]|=R(T.charCodeAt(C)<<16-C%2*16);return c.create(S,2*A)}}}(),u.enc.Utf16)},80627:function(Me,K,o){Me.exports=o(17656).enc.Utf8},4147:function(Me,K,o){var e,h,c,v,y,T,u;Me.exports=(u=o(17656),o(79986),o(37868),v=(h=(e=u).lib).WordArray,T=(y=e.algo).EvpKDF=(c=h.Base).extend({cfg:c.extend({keySize:4,hasher:y.MD5,iterations:1}),init:function(A){this.cfg=this.cfg.extend(A)},compute:function(A,S){for(var C,x=this.cfg,P=x.hasher.create(),B=v.create(),W=B.words,ee=x.keySize,se=x.iterations;W.lengthx&&(S=A.finalize(S)),S.clamp();for(var P=this._oKey=S.clone(),B=this._iKey=S.clone(),W=P.words,ee=B.words,se=0;se>>2]|=R[S]<<24-S%4*8;v.call(this,A,T)}else v.apply(this,arguments)};y.prototype=c}}(),u.lib.WordArray)},78855:function(Me,K,o){var u;Me.exports=(u=o(17656),function(e){var h=u,c=h.lib,v=c.WordArray,y=c.Hasher,R=h.algo,T=[];!function(){for(var B=0;B<64;B++)T[B]=4294967296*e.abs(e.sin(B+1))|0}();var A=R.MD5=y.extend({_doReset:function(){this._hash=new v.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(B,W){for(var ee=0;ee<16;ee++){var se=W+ee,Y=B[se];B[se]=16711935&(Y<<8|Y>>>24)|4278255360&(Y<<24|Y>>>8)}var re=this._hash.words,ve=B[W+0],le=B[W+1],Ee=B[W+2],F=B[W+3],j=B[W+4],te=B[W+5],J=B[W+6],$=B[W+7],ce=B[W+8],ue=B[W+9],Te=B[W+10],_e=B[W+11],Ge=B[W+12],Ve=B[W+13],dt=B[W+14],at=B[W+15],ye=re[0],Oe=re[1],we=re[2],Ce=re[3];ye=S(ye,Oe,we,Ce,ve,7,T[0]),Ce=S(Ce,ye,Oe,we,le,12,T[1]),we=S(we,Ce,ye,Oe,Ee,17,T[2]),Oe=S(Oe,we,Ce,ye,F,22,T[3]),ye=S(ye,Oe,we,Ce,j,7,T[4]),Ce=S(Ce,ye,Oe,we,te,12,T[5]),we=S(we,Ce,ye,Oe,J,17,T[6]),Oe=S(Oe,we,Ce,ye,$,22,T[7]),ye=S(ye,Oe,we,Ce,ce,7,T[8]),Ce=S(Ce,ye,Oe,we,ue,12,T[9]),we=S(we,Ce,ye,Oe,Te,17,T[10]),Oe=S(Oe,we,Ce,ye,_e,22,T[11]),ye=S(ye,Oe,we,Ce,Ge,7,T[12]),Ce=S(Ce,ye,Oe,we,Ve,12,T[13]),we=S(we,Ce,ye,Oe,dt,17,T[14]),ye=C(ye,Oe=S(Oe,we,Ce,ye,at,22,T[15]),we,Ce,le,5,T[16]),Ce=C(Ce,ye,Oe,we,J,9,T[17]),we=C(we,Ce,ye,Oe,_e,14,T[18]),Oe=C(Oe,we,Ce,ye,ve,20,T[19]),ye=C(ye,Oe,we,Ce,te,5,T[20]),Ce=C(Ce,ye,Oe,we,Te,9,T[21]),we=C(we,Ce,ye,Oe,at,14,T[22]),Oe=C(Oe,we,Ce,ye,j,20,T[23]),ye=C(ye,Oe,we,Ce,ue,5,T[24]),Ce=C(Ce,ye,Oe,we,dt,9,T[25]),we=C(we,Ce,ye,Oe,F,14,T[26]),Oe=C(Oe,we,Ce,ye,ce,20,T[27]),ye=C(ye,Oe,we,Ce,Ve,5,T[28]),Ce=C(Ce,ye,Oe,we,Ee,9,T[29]),we=C(we,Ce,ye,Oe,$,14,T[30]),ye=x(ye,Oe=C(Oe,we,Ce,ye,Ge,20,T[31]),we,Ce,te,4,T[32]),Ce=x(Ce,ye,Oe,we,ce,11,T[33]),we=x(we,Ce,ye,Oe,_e,16,T[34]),Oe=x(Oe,we,Ce,ye,dt,23,T[35]),ye=x(ye,Oe,we,Ce,le,4,T[36]),Ce=x(Ce,ye,Oe,we,j,11,T[37]),we=x(we,Ce,ye,Oe,$,16,T[38]),Oe=x(Oe,we,Ce,ye,Te,23,T[39]),ye=x(ye,Oe,we,Ce,Ve,4,T[40]),Ce=x(Ce,ye,Oe,we,ve,11,T[41]),we=x(we,Ce,ye,Oe,F,16,T[42]),Oe=x(Oe,we,Ce,ye,J,23,T[43]),ye=x(ye,Oe,we,Ce,ue,4,T[44]),Ce=x(Ce,ye,Oe,we,Ge,11,T[45]),we=x(we,Ce,ye,Oe,at,16,T[46]),ye=P(ye,Oe=x(Oe,we,Ce,ye,Ee,23,T[47]),we,Ce,ve,6,T[48]),Ce=P(Ce,ye,Oe,we,$,10,T[49]),we=P(we,Ce,ye,Oe,dt,15,T[50]),Oe=P(Oe,we,Ce,ye,te,21,T[51]),ye=P(ye,Oe,we,Ce,Ge,6,T[52]),Ce=P(Ce,ye,Oe,we,F,10,T[53]),we=P(we,Ce,ye,Oe,Te,15,T[54]),Oe=P(Oe,we,Ce,ye,le,21,T[55]),ye=P(ye,Oe,we,Ce,ce,6,T[56]),Ce=P(Ce,ye,Oe,we,at,10,T[57]),we=P(we,Ce,ye,Oe,J,15,T[58]),Oe=P(Oe,we,Ce,ye,Ve,21,T[59]),ye=P(ye,Oe,we,Ce,j,6,T[60]),Ce=P(Ce,ye,Oe,we,_e,10,T[61]),we=P(we,Ce,ye,Oe,Ee,15,T[62]),Oe=P(Oe,we,Ce,ye,ue,21,T[63]),re[0]=re[0]+ye|0,re[1]=re[1]+Oe|0,re[2]=re[2]+we|0,re[3]=re[3]+Ce|0},_doFinalize:function(){var B=this._data,W=B.words,ee=8*this._nDataBytes,se=8*B.sigBytes;W[se>>>5]|=128<<24-se%32;var Y=e.floor(ee/4294967296),re=ee;W[15+(se+64>>>9<<4)]=16711935&(Y<<8|Y>>>24)|4278255360&(Y<<24|Y>>>8),W[14+(se+64>>>9<<4)]=16711935&(re<<8|re>>>24)|4278255360&(re<<24|re>>>8),B.sigBytes=4*(W.length+1),this._process();for(var ve=this._hash,le=ve.words,Ee=0;Ee<4;Ee++){var F=le[Ee];le[Ee]=16711935&(F<<8|F>>>24)|4278255360&(F<<24|F>>>8)}return ve},clone:function(){var B=y.clone.call(this);return B._hash=this._hash.clone(),B}});function S(B,W,ee,se,Y,re,ve){var le=B+(W&ee|~W&se)+Y+ve;return(le<>>32-re)+W}function C(B,W,ee,se,Y,re,ve){var le=B+(W&se|ee&~se)+Y+ve;return(le<>>32-re)+W}function x(B,W,ee,se,Y,re,ve){var le=B+(W^ee^se)+Y+ve;return(le<>>32-re)+W}function P(B,W,ee,se,Y,re,ve){var le=B+(ee^(W|~se))+Y+ve;return(le<>>32-re)+W}h.MD5=y._createHelper(A),h.HmacMD5=y._createHmacHelper(A)}(Math),u.MD5)},34152:function(Me,K,o){var u;Me.exports=(u=o(17656),o(12414),u.mode.CFB=function(){var e=u.lib.BlockCipherMode.extend();function h(c,v,y,R){var T,A=this._iv;A?(T=A.slice(0),this._iv=void 0):T=this._prevBlock,R.encryptBlock(T,0);for(var S=0;S>24))y+=1<<24;else{var R=y>>16&255,T=y>>8&255,A=255&y;255===R?(R=0,255===T?(T=0,255===A?A=0:++A):++T):++R,y=0,y+=R<<16,y+=T<<8,y+=A}return y}var v=e.Encryptor=e.extend({processBlock:function(y,R){var T=this._cipher,A=T.blockSize,S=this._iv,C=this._counter;S&&(C=this._counter=S.slice(0),this._iv=void 0),function c(y){return 0===(y[0]=h(y[0]))&&(y[1]=h(y[1])),y}(C);var x=C.slice(0);T.encryptBlock(x,0);for(var P=0;P>>2]|=y<<24-R%4*8,e.sigBytes+=y},unpad:function(e){e.sigBytes-=255&e.words[e.sigBytes-1>>>2]}},u.pad.Ansix923)},27516:function(Me,K,o){var u;Me.exports=(u=o(17656),o(12414),u.pad.Iso10126={pad:function(e,h){var c=4*h,v=c-e.sigBytes%c;e.concat(u.lib.WordArray.random(v-1)).concat(u.lib.WordArray.create([v<<24],1))},unpad:function(e){e.sigBytes-=255&e.words[e.sigBytes-1>>>2]}},u.pad.Iso10126)},29047:function(Me,K,o){var u;Me.exports=(u=o(17656),o(12414),u.pad.Iso97971={pad:function(e,h){e.concat(u.lib.WordArray.create([2147483648],1)),u.pad.ZeroPadding.pad(e,h)},unpad:function(e){u.pad.ZeroPadding.unpad(e),e.sigBytes--}},u.pad.Iso97971)},52599:function(Me,K,o){var u;Me.exports=(u=o(17656),o(12414),u.pad.NoPadding={pad:function(){},unpad:function(){}},u.pad.NoPadding)},95067:function(Me,K,o){var u;Me.exports=(u=o(17656),o(12414),u.pad.Pkcs7)},36964:function(Me,K,o){var u;Me.exports=(u=o(17656),o(12414),u.pad.ZeroPadding={pad:function(e,h){var c=4*h;e.clamp(),e.sigBytes+=c-(e.sigBytes%c||c)},unpad:function(e){var h=e.words,c=e.sigBytes-1;for(c=e.sigBytes-1;c>=0;c--)if(h[c>>>2]>>>24-c%4*8&255){e.sigBytes=c+1;break}}},u.pad.ZeroPadding)},87738:function(Me,K,o){var e,h,c,v,y,T,A,u;Me.exports=(u=o(17656),o(15168),o(37868),v=(h=(e=u).lib).WordArray,T=(y=e.algo).HMAC,A=y.PBKDF2=(c=h.Base).extend({cfg:c.extend({keySize:4,hasher:y.SHA256,iterations:25e4}),init:function(S){this.cfg=this.cfg.extend(S)},compute:function(S,C){for(var x=this.cfg,P=T.create(x.hasher,S),B=v.create(),W=v.create([1]),ee=B.words,se=W.words,Y=x.keySize,re=x.iterations;ee.length>>16,C[1],C[0]<<16|C[3]>>>16,C[2],C[1]<<16|C[0]>>>16,C[3],C[2]<<16|C[1]>>>16],B=this._C=[C[2]<<16|C[2]>>>16,4294901760&C[0]|65535&C[1],C[3]<<16|C[3]>>>16,4294901760&C[1]|65535&C[2],C[0]<<16|C[0]>>>16,4294901760&C[2]|65535&C[3],C[1]<<16|C[1]>>>16,4294901760&C[3]|65535&C[0]];this._b=0;for(var W=0;W<4;W++)S.call(this);for(W=0;W<8;W++)B[W]^=P[W+4&7];if(x){var ee=x.words,se=ee[0],Y=ee[1],re=16711935&(se<<8|se>>>24)|4278255360&(se<<24|se>>>8),ve=16711935&(Y<<8|Y>>>24)|4278255360&(Y<<24|Y>>>8),le=re>>>16|4294901760&ve,Ee=ve<<16|65535&re;for(B[0]^=re,B[1]^=le,B[2]^=ve,B[3]^=Ee,B[4]^=re,B[5]^=le,B[6]^=ve,B[7]^=Ee,W=0;W<4;W++)S.call(this)}},_doProcessBlock:function(C,x){var P=this._X;S.call(this),y[0]=P[0]^P[5]>>>16^P[3]<<16,y[1]=P[2]^P[7]>>>16^P[5]<<16,y[2]=P[4]^P[1]>>>16^P[7]<<16,y[3]=P[6]^P[3]>>>16^P[1]<<16;for(var B=0;B<4;B++)y[B]=16711935&(y[B]<<8|y[B]>>>24)|4278255360&(y[B]<<24|y[B]>>>8),C[x+B]^=y[B]},blockSize:4,ivSize:2});function S(){for(var C=this._X,x=this._C,P=0;P<8;P++)R[P]=x[P];for(x[0]=x[0]+1295307597+this._b|0,x[1]=x[1]+3545052371+(x[0]>>>0>>0?1:0)|0,x[2]=x[2]+886263092+(x[1]>>>0>>0?1:0)|0,x[3]=x[3]+1295307597+(x[2]>>>0>>0?1:0)|0,x[4]=x[4]+3545052371+(x[3]>>>0>>0?1:0)|0,x[5]=x[5]+886263092+(x[4]>>>0>>0?1:0)|0,x[6]=x[6]+1295307597+(x[5]>>>0>>0?1:0)|0,x[7]=x[7]+3545052371+(x[6]>>>0>>0?1:0)|0,this._b=x[7]>>>0>>0?1:0,P=0;P<8;P++){var B=C[P]+x[P],W=65535&B,ee=B>>>16;T[P]=((W*W>>>17)+W*ee>>>15)+ee*ee^((4294901760&B)*B|0)+((65535&B)*B|0)}C[0]=T[0]+(T[7]<<16|T[7]>>>16)+(T[6]<<16|T[6]>>>16)|0,C[1]=T[1]+(T[0]<<8|T[0]>>>24)+T[7]|0,C[2]=T[2]+(T[1]<<16|T[1]>>>16)+(T[0]<<16|T[0]>>>16)|0,C[3]=T[3]+(T[2]<<8|T[2]>>>24)+T[1]|0,C[4]=T[4]+(T[3]<<16|T[3]>>>16)+(T[2]<<16|T[2]>>>16)|0,C[5]=T[5]+(T[4]<<8|T[4]>>>24)+T[3]|0,C[6]=T[6]+(T[5]<<16|T[5]>>>16)+(T[4]<<16|T[4]>>>16)|0,C[7]=T[7]+(T[6]<<8|T[6]>>>24)+T[5]|0}e.RabbitLegacy=c._createHelper(A)}(),u.RabbitLegacy)},72795:function(Me,K,o){var u;Me.exports=(u=o(17656),o(98891),o(78855),o(4147),o(12414),function(){var e=u,c=e.lib.StreamCipher,y=[],R=[],T=[],A=e.algo.Rabbit=c.extend({_doReset:function(){for(var C=this._key.words,x=this.cfg.iv,P=0;P<4;P++)C[P]=16711935&(C[P]<<8|C[P]>>>24)|4278255360&(C[P]<<24|C[P]>>>8);var B=this._X=[C[0],C[3]<<16|C[2]>>>16,C[1],C[0]<<16|C[3]>>>16,C[2],C[1]<<16|C[0]>>>16,C[3],C[2]<<16|C[1]>>>16],W=this._C=[C[2]<<16|C[2]>>>16,4294901760&C[0]|65535&C[1],C[3]<<16|C[3]>>>16,4294901760&C[1]|65535&C[2],C[0]<<16|C[0]>>>16,4294901760&C[2]|65535&C[3],C[1]<<16|C[1]>>>16,4294901760&C[3]|65535&C[0]];for(this._b=0,P=0;P<4;P++)S.call(this);for(P=0;P<8;P++)W[P]^=B[P+4&7];if(x){var ee=x.words,se=ee[0],Y=ee[1],re=16711935&(se<<8|se>>>24)|4278255360&(se<<24|se>>>8),ve=16711935&(Y<<8|Y>>>24)|4278255360&(Y<<24|Y>>>8),le=re>>>16|4294901760&ve,Ee=ve<<16|65535&re;for(W[0]^=re,W[1]^=le,W[2]^=ve,W[3]^=Ee,W[4]^=re,W[5]^=le,W[6]^=ve,W[7]^=Ee,P=0;P<4;P++)S.call(this)}},_doProcessBlock:function(C,x){var P=this._X;S.call(this),y[0]=P[0]^P[5]>>>16^P[3]<<16,y[1]=P[2]^P[7]>>>16^P[5]<<16,y[2]=P[4]^P[1]>>>16^P[7]<<16,y[3]=P[6]^P[3]>>>16^P[1]<<16;for(var B=0;B<4;B++)y[B]=16711935&(y[B]<<8|y[B]>>>24)|4278255360&(y[B]<<24|y[B]>>>8),C[x+B]^=y[B]},blockSize:4,ivSize:2});function S(){for(var C=this._X,x=this._C,P=0;P<8;P++)R[P]=x[P];for(x[0]=x[0]+1295307597+this._b|0,x[1]=x[1]+3545052371+(x[0]>>>0>>0?1:0)|0,x[2]=x[2]+886263092+(x[1]>>>0>>0?1:0)|0,x[3]=x[3]+1295307597+(x[2]>>>0>>0?1:0)|0,x[4]=x[4]+3545052371+(x[3]>>>0>>0?1:0)|0,x[5]=x[5]+886263092+(x[4]>>>0>>0?1:0)|0,x[6]=x[6]+1295307597+(x[5]>>>0>>0?1:0)|0,x[7]=x[7]+3545052371+(x[6]>>>0>>0?1:0)|0,this._b=x[7]>>>0>>0?1:0,P=0;P<8;P++){var B=C[P]+x[P],W=65535&B,ee=B>>>16;T[P]=((W*W>>>17)+W*ee>>>15)+ee*ee^((4294901760&B)*B|0)+((65535&B)*B|0)}C[0]=T[0]+(T[7]<<16|T[7]>>>16)+(T[6]<<16|T[6]>>>16)|0,C[1]=T[1]+(T[0]<<8|T[0]>>>24)+T[7]|0,C[2]=T[2]+(T[1]<<16|T[1]>>>16)+(T[0]<<16|T[0]>>>16)|0,C[3]=T[3]+(T[2]<<8|T[2]>>>24)+T[1]|0,C[4]=T[4]+(T[3]<<16|T[3]>>>16)+(T[2]<<16|T[2]>>>16)|0,C[5]=T[5]+(T[4]<<8|T[4]>>>24)+T[3]|0,C[6]=T[6]+(T[5]<<16|T[5]>>>16)+(T[4]<<16|T[4]>>>16)|0,C[7]=T[7]+(T[6]<<8|T[6]>>>24)+T[5]|0}e.Rabbit=c._createHelper(A)}(),u.Rabbit)},85350:function(Me,K,o){var u;Me.exports=(u=o(17656),o(98891),o(78855),o(4147),o(12414),function(){var e=u,c=e.lib.StreamCipher,v=e.algo,y=v.RC4=c.extend({_doReset:function(){for(var A=this._key,S=A.words,C=A.sigBytes,x=this._S=[],P=0;P<256;P++)x[P]=P;P=0;for(var B=0;P<256;P++){var W=P%C,se=x[P];x[P]=x[B=(B+x[P]+(S[W>>>2]>>>24-W%4*8&255))%256],x[B]=se}this._i=this._j=0},_doProcessBlock:function(A,S){A[S]^=R.call(this)},keySize:8,ivSize:0});function R(){for(var A=this._S,S=this._i,C=this._j,x=0,P=0;P<4;P++){var B=A[S=(S+1)%256];A[S]=A[C=(C+A[S])%256],A[C]=B,x|=A[(A[S]+A[C])%256]<<24-8*P}return this._i=S,this._j=C,x}e.RC4=c._createHelper(y);var T=v.RC4Drop=y.extend({cfg:y.cfg.extend({drop:192}),_doReset:function(){y._doReset.call(this);for(var A=this.cfg.drop;A>0;A--)R.call(this)}});e.RC4Drop=c._createHelper(T)}(),u.RC4)},10447:function(Me,K,o){var u;Me.exports=(u=o(17656),function(e){var h=u,c=h.lib,v=c.WordArray,y=c.Hasher,R=h.algo,T=v.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),A=v.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),S=v.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),C=v.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),x=v.create([0,1518500249,1859775393,2400959708,2840853838]),P=v.create([1352829926,1548603684,1836072691,2053994217,0]),B=R.RIPEMD160=y.extend({_doReset:function(){this._hash=v.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(le,Ee){for(var F=0;F<16;F++){var j=Ee+F,te=le[j];le[j]=16711935&(te<<8|te>>>24)|4278255360&(te<<24|te>>>8)}var Ve,dt,at,ye,Oe,we,Ce,$e,Ye,ut,mt,J=this._hash.words,$=x.words,ce=P.words,ue=T.words,Te=A.words,_e=S.words,Ge=C.words;for(we=Ve=J[0],Ce=dt=J[1],$e=at=J[2],Ye=ye=J[3],ut=Oe=J[4],F=0;F<80;F+=1)mt=Ve+le[Ee+ue[F]]|0,mt+=F<16?W(dt,at,ye)+$[0]:F<32?ee(dt,at,ye)+$[1]:F<48?se(dt,at,ye)+$[2]:F<64?Y(dt,at,ye)+$[3]:re(dt,at,ye)+$[4],mt=(mt=ve(mt|=0,_e[F]))+Oe|0,Ve=Oe,Oe=ye,ye=ve(at,10),at=dt,dt=mt,mt=we+le[Ee+Te[F]]|0,mt+=F<16?re(Ce,$e,Ye)+ce[0]:F<32?Y(Ce,$e,Ye)+ce[1]:F<48?se(Ce,$e,Ye)+ce[2]:F<64?ee(Ce,$e,Ye)+ce[3]:W(Ce,$e,Ye)+ce[4],mt=(mt=ve(mt|=0,Ge[F]))+ut|0,we=ut,ut=Ye,Ye=ve($e,10),$e=Ce,Ce=mt;mt=J[1]+at+Ye|0,J[1]=J[2]+ye+ut|0,J[2]=J[3]+Oe+we|0,J[3]=J[4]+Ve+Ce|0,J[4]=J[0]+dt+$e|0,J[0]=mt},_doFinalize:function(){var le=this._data,Ee=le.words,F=8*this._nDataBytes,j=8*le.sigBytes;Ee[j>>>5]|=128<<24-j%32,Ee[14+(j+64>>>9<<4)]=16711935&(F<<8|F>>>24)|4278255360&(F<<24|F>>>8),le.sigBytes=4*(Ee.length+1),this._process();for(var te=this._hash,J=te.words,$=0;$<5;$++){var ce=J[$];J[$]=16711935&(ce<<8|ce>>>24)|4278255360&(ce<<24|ce>>>8)}return te},clone:function(){var le=y.clone.call(this);return le._hash=this._hash.clone(),le}});function W(le,Ee,F){return le^Ee^F}function ee(le,Ee,F){return le&Ee|~le&F}function se(le,Ee,F){return(le|~Ee)^F}function Y(le,Ee,F){return le&F|Ee&~F}function re(le,Ee,F){return le^(Ee|~F)}function ve(le,Ee){return le<>>32-Ee}h.RIPEMD160=y._createHelper(B),h.HmacRIPEMD160=y._createHmacHelper(B)}(Math),u.RIPEMD160)},79986:function(Me,K,o){var e,h,c,v,R,T,u;Me.exports=(u=o(17656),c=(h=(e=u).lib).WordArray,R=[],T=e.algo.SHA1=(v=h.Hasher).extend({_doReset:function(){this._hash=new c.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(A,S){for(var C=this._hash.words,x=C[0],P=C[1],B=C[2],W=C[3],ee=C[4],se=0;se<80;se++){if(se<16)R[se]=0|A[S+se];else{var Y=R[se-3]^R[se-8]^R[se-14]^R[se-16];R[se]=Y<<1|Y>>>31}var re=(x<<5|x>>>27)+ee+R[se];re+=se<20?1518500249+(P&B|~P&W):se<40?1859775393+(P^B^W):se<60?(P&B|P&W|B&W)-1894007588:(P^B^W)-899497514,ee=W,W=B,B=P<<30|P>>>2,P=x,x=re}C[0]=C[0]+x|0,C[1]=C[1]+P|0,C[2]=C[2]+B|0,C[3]=C[3]+W|0,C[4]=C[4]+ee|0},_doFinalize:function(){var A=this._data,S=A.words,C=8*this._nDataBytes,x=8*A.sigBytes;return S[x>>>5]|=128<<24-x%32,S[14+(x+64>>>9<<4)]=Math.floor(C/4294967296),S[15+(x+64>>>9<<4)]=C,A.sigBytes=4*S.length,this._process(),this._hash},clone:function(){var A=v.clone.call(this);return A._hash=this._hash.clone(),A}}),e.SHA1=v._createHelper(T),e.HmacSHA1=v._createHmacHelper(T),u.SHA1)},39225:function(Me,K,o){var e,c,v,y,R,u;Me.exports=(u=o(17656),o(15168),c=(e=u).lib.WordArray,R=(v=e.algo).SHA224=(y=v.SHA256).extend({_doReset:function(){this._hash=new c.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var T=y._doFinalize.call(this);return T.sigBytes-=4,T}}),e.SHA224=y._createHelper(R),e.HmacSHA224=y._createHmacHelper(R),u.SHA224)},15168:function(Me,K,o){var u;Me.exports=(u=o(17656),function(e){var h=u,c=h.lib,v=c.WordArray,y=c.Hasher,R=h.algo,T=[],A=[];!function(){function x(ee){for(var se=e.sqrt(ee),Y=2;Y<=se;Y++)if(!(ee%Y))return!1;return!0}function P(ee){return 4294967296*(ee-(0|ee))|0}for(var B=2,W=0;W<64;)x(B)&&(W<8&&(T[W]=P(e.pow(B,.5))),A[W]=P(e.pow(B,1/3)),W++),B++}();var S=[],C=R.SHA256=y.extend({_doReset:function(){this._hash=new v.init(T.slice(0))},_doProcessBlock:function(x,P){for(var B=this._hash.words,W=B[0],ee=B[1],se=B[2],Y=B[3],re=B[4],ve=B[5],le=B[6],Ee=B[7],F=0;F<64;F++){if(F<16)S[F]=0|x[P+F];else{var j=S[F-15],J=S[F-2];S[F]=((j<<25|j>>>7)^(j<<14|j>>>18)^j>>>3)+S[F-7]+((J<<15|J>>>17)^(J<<13|J>>>19)^J>>>10)+S[F-16]}var ue=W&ee^W&se^ee&se,Ge=Ee+((re<<26|re>>>6)^(re<<21|re>>>11)^(re<<7|re>>>25))+(re&ve^~re&le)+A[F]+S[F];Ee=le,le=ve,ve=re,re=Y+Ge|0,Y=se,se=ee,ee=W,W=Ge+(((W<<30|W>>>2)^(W<<19|W>>>13)^(W<<10|W>>>22))+ue)|0}B[0]=B[0]+W|0,B[1]=B[1]+ee|0,B[2]=B[2]+se|0,B[3]=B[3]+Y|0,B[4]=B[4]+re|0,B[5]=B[5]+ve|0,B[6]=B[6]+le|0,B[7]=B[7]+Ee|0},_doFinalize:function(){var x=this._data,P=x.words,B=8*this._nDataBytes,W=8*x.sigBytes;return P[W>>>5]|=128<<24-W%32,P[14+(W+64>>>9<<4)]=e.floor(B/4294967296),P[15+(W+64>>>9<<4)]=B,x.sigBytes=4*P.length,this._process(),this._hash},clone:function(){var x=y.clone.call(this);return x._hash=this._hash.clone(),x}});h.SHA256=y._createHelper(C),h.HmacSHA256=y._createHmacHelper(C)}(Math),u.SHA256)},3752:function(Me,K,o){var u;Me.exports=(u=o(17656),o(24501),function(e){var h=u,c=h.lib,v=c.WordArray,y=c.Hasher,T=h.x64.Word,A=h.algo,S=[],C=[],x=[];!function(){for(var W=1,ee=0,se=0;se<24;se++){S[W+5*ee]=(se+1)*(se+2)/2%64;var re=(2*W+3*ee)%5;W=ee%5,ee=re}for(W=0;W<5;W++)for(ee=0;ee<5;ee++)C[W+5*ee]=ee+(2*W+3*ee)%5*5;for(var ve=1,le=0;le<24;le++){for(var Ee=0,F=0,j=0;j<7;j++){if(1&ve){var te=(1<>>24)|4278255360&(ve<<24|ve>>>8),(Ee=se[re]).high^=le=16711935&(le<<8|le>>>24)|4278255360&(le<<24|le>>>8),Ee.low^=ve}for(var F=0;F<24;F++){for(var j=0;j<5;j++){for(var te=0,J=0,$=0;$<5;$++)te^=(Ee=se[j+5*$]).high,J^=Ee.low;var ce=P[j];ce.high=te,ce.low=J}for(j=0;j<5;j++){var ue=P[(j+4)%5],Te=P[(j+1)%5],_e=Te.high,Ge=Te.low;for(te=ue.high^(_e<<1|Ge>>>31),J=ue.low^(Ge<<1|_e>>>31),$=0;$<5;$++)(Ee=se[j+5*$]).high^=te,Ee.low^=J}for(var Ve=1;Ve<25;Ve++){var dt=(Ee=se[Ve]).high,at=Ee.low,ye=S[Ve];ye<32?(te=dt<>>32-ye,J=at<>>32-ye):(te=at<>>64-ye,J=dt<>>64-ye);var Oe=P[C[Ve]];Oe.high=te,Oe.low=J}var we=P[0],Ce=se[0];for(we.high=Ce.high,we.low=Ce.low,j=0;j<5;j++)for($=0;$<5;$++){var $e=P[Ve=j+5*$],Ye=P[(j+1)%5+5*$],ut=P[(j+2)%5+5*$];(Ee=se[Ve]).high=$e.high^~Ye.high&ut.high,Ee.low=$e.low^~Ye.low&ut.low}var Ee,mt=x[F];(Ee=se[0]).high^=mt.high,Ee.low^=mt.low}},_doFinalize:function(){var W=this._data,ee=W.words,Y=8*W.sigBytes,re=32*this.blockSize;ee[Y>>>5]|=1<<24-Y%32,ee[(e.ceil((Y+1)/re)*re>>>5)-1]|=128,W.sigBytes=4*ee.length,this._process();for(var ve=this._state,le=this.cfg.outputLength/8,Ee=le/8,F=[],j=0;j>>24)|4278255360&(J<<24|J>>>8),F.push($=16711935&($<<8|$>>>24)|4278255360&($<<24|$>>>8)),F.push(J)}return new v.init(F,le)},clone:function(){for(var W=y.clone.call(this),ee=W._state=this._state.slice(0),se=0;se<25;se++)ee[se]=ee[se].clone();return W}});h.SHA3=y._createHelper(B),h.HmacSHA3=y._createHmacHelper(B)}(Math),u.SHA3)},84068:function(Me,K,o){var e,h,c,v,y,R,T,u;Me.exports=(u=o(17656),o(24501),o(20885),c=(h=(e=u).x64).Word,v=h.WordArray,T=(y=e.algo).SHA384=(R=y.SHA512).extend({_doReset:function(){this._hash=new v.init([new c.init(3418070365,3238371032),new c.init(1654270250,914150663),new c.init(2438529370,812702999),new c.init(355462360,4144912697),new c.init(1731405415,4290775857),new c.init(2394180231,1750603025),new c.init(3675008525,1694076839),new c.init(1203062813,3204075428)])},_doFinalize:function(){var A=R._doFinalize.call(this);return A.sigBytes-=16,A}}),e.SHA384=R._createHelper(T),e.HmacSHA384=R._createHmacHelper(T),u.SHA384)},20885:function(Me,K,o){var u;Me.exports=(u=o(17656),o(24501),function(){var e=u,c=e.lib.Hasher,v=e.x64,y=v.Word,R=v.WordArray,T=e.algo;function A(){return y.create.apply(y,arguments)}var S=[A(1116352408,3609767458),A(1899447441,602891725),A(3049323471,3964484399),A(3921009573,2173295548),A(961987163,4081628472),A(1508970993,3053834265),A(2453635748,2937671579),A(2870763221,3664609560),A(3624381080,2734883394),A(310598401,1164996542),A(607225278,1323610764),A(1426881987,3590304994),A(1925078388,4068182383),A(2162078206,991336113),A(2614888103,633803317),A(3248222580,3479774868),A(3835390401,2666613458),A(4022224774,944711139),A(264347078,2341262773),A(604807628,2007800933),A(770255983,1495990901),A(1249150122,1856431235),A(1555081692,3175218132),A(1996064986,2198950837),A(2554220882,3999719339),A(2821834349,766784016),A(2952996808,2566594879),A(3210313671,3203337956),A(3336571891,1034457026),A(3584528711,2466948901),A(113926993,3758326383),A(338241895,168717936),A(666307205,1188179964),A(773529912,1546045734),A(1294757372,1522805485),A(1396182291,2643833823),A(1695183700,2343527390),A(1986661051,1014477480),A(2177026350,1206759142),A(2456956037,344077627),A(2730485921,1290863460),A(2820302411,3158454273),A(3259730800,3505952657),A(3345764771,106217008),A(3516065817,3606008344),A(3600352804,1432725776),A(4094571909,1467031594),A(275423344,851169720),A(430227734,3100823752),A(506948616,1363258195),A(659060556,3750685593),A(883997877,3785050280),A(958139571,3318307427),A(1322822218,3812723403),A(1537002063,2003034995),A(1747873779,3602036899),A(1955562222,1575990012),A(2024104815,1125592928),A(2227730452,2716904306),A(2361852424,442776044),A(2428436474,593698344),A(2756734187,3733110249),A(3204031479,2999351573),A(3329325298,3815920427),A(3391569614,3928383900),A(3515267271,566280711),A(3940187606,3454069534),A(4118630271,4000239992),A(116418474,1914138554),A(174292421,2731055270),A(289380356,3203993006),A(460393269,320620315),A(685471733,587496836),A(852142971,1086792851),A(1017036298,365543100),A(1126000580,2618297676),A(1288033470,3409855158),A(1501505948,4234509866),A(1607167915,987167468),A(1816402316,1246189591)],C=[];!function(){for(var P=0;P<80;P++)C[P]=A()}();var x=T.SHA512=c.extend({_doReset:function(){this._hash=new R.init([new y.init(1779033703,4089235720),new y.init(3144134277,2227873595),new y.init(1013904242,4271175723),new y.init(2773480762,1595750129),new y.init(1359893119,2917565137),new y.init(2600822924,725511199),new y.init(528734635,4215389547),new y.init(1541459225,327033209)])},_doProcessBlock:function(P,B){for(var W=this._hash.words,ee=W[0],se=W[1],Y=W[2],re=W[3],ve=W[4],le=W[5],Ee=W[6],F=W[7],j=ee.high,te=ee.low,J=se.high,$=se.low,ce=Y.high,ue=Y.low,Te=re.high,_e=re.low,Ge=ve.high,Ve=ve.low,dt=le.high,at=le.low,ye=Ee.high,Oe=Ee.low,we=F.high,Ce=F.low,$e=j,Ye=te,ut=J,mt=$,tn=ce,Vt=ue,rn=Te,En=_e,un=Ge,wn=Ve,Kn=dt,Mt=at,Bt=ye,Yt=Oe,St=we,qt=Ce,Qe=0;Qe<80;Qe++){var he,Ie,xe=C[Qe];if(Qe<16)Ie=xe.high=0|P[B+2*Qe],he=xe.low=0|P[B+2*Qe+1];else{var je=C[Qe-15],ze=je.high,gt=je.low,Jt=(gt>>>1|ze<<31)^(gt>>>8|ze<<24)^(gt>>>7|ze<<25),on=C[Qe-2],nn=on.high,vn=on.low,nt=(vn>>>19|nn<<13)^(vn<<3|nn>>>29)^(vn>>>6|nn<<26),Nt=C[Qe-7],Tn=C[Qe-16],si=Tn.low;xe.high=Ie=(Ie=(Ie=((ze>>>1|gt<<31)^(ze>>>8|gt<<24)^ze>>>7)+Nt.high+((he=Jt+Nt.low)>>>0>>0?1:0))+((nn>>>19|vn<<13)^(nn<<3|vn>>>29)^nn>>>6)+((he+=nt)>>>0>>0?1:0))+Tn.high+((he+=si)>>>0>>0?1:0),xe.low=he}var bn,Di=un&Kn^~un&Bt,gi=wn&Mt^~wn&Yt,zn=$e&ut^$e&tn^ut&tn,Pe=(Ye>>>28|$e<<4)^(Ye<<30|$e>>>2)^(Ye<<25|$e>>>7),jt=S[Qe],Fn=jt.low,Ke=St+((un>>>14|wn<<18)^(un>>>18|wn<<14)^(un<<23|wn>>>9))+((bn=qt+((wn>>>14|un<<18)^(wn>>>18|un<<14)^(wn<<23|un>>>9)))>>>0>>0?1:0),Be=Pe+(Ye&mt^Ye&Vt^mt&Vt);St=Bt,qt=Yt,Bt=Kn,Yt=Mt,Kn=un,Mt=wn,un=rn+(Ke=(Ke=(Ke=Ke+Di+((bn+=gi)>>>0>>0?1:0))+jt.high+((bn+=Fn)>>>0>>0?1:0))+Ie+((bn+=he)>>>0>>0?1:0))+((wn=En+bn|0)>>>0>>0?1:0)|0,rn=tn,En=Vt,tn=ut,Vt=mt,ut=$e,mt=Ye,$e=Ke+((($e>>>28|Ye<<4)^($e<<30|Ye>>>2)^($e<<25|Ye>>>7))+zn+(Be>>>0>>0?1:0))+((Ye=bn+Be|0)>>>0>>0?1:0)|0}te=ee.low=te+Ye,ee.high=j+$e+(te>>>0>>0?1:0),$=se.low=$+mt,se.high=J+ut+($>>>0>>0?1:0),ue=Y.low=ue+Vt,Y.high=ce+tn+(ue>>>0>>0?1:0),_e=re.low=_e+En,re.high=Te+rn+(_e>>>0>>0?1:0),Ve=ve.low=Ve+wn,ve.high=Ge+un+(Ve>>>0>>0?1:0),at=le.low=at+Mt,le.high=dt+Kn+(at>>>0>>0?1:0),Oe=Ee.low=Oe+Yt,Ee.high=ye+Bt+(Oe>>>0>>0?1:0),Ce=F.low=Ce+qt,F.high=we+St+(Ce>>>0>>0?1:0)},_doFinalize:function(){var P=this._data,B=P.words,W=8*this._nDataBytes,ee=8*P.sigBytes;return B[ee>>>5]|=128<<24-ee%32,B[30+(ee+128>>>10<<5)]=Math.floor(W/4294967296),B[31+(ee+128>>>10<<5)]=W,P.sigBytes=4*B.length,this._process(),this._hash.toX32()},clone:function(){var P=c.clone.call(this);return P._hash=this._hash.clone(),P},blockSize:32});e.SHA512=c._createHelper(x),e.HmacSHA512=c._createHmacHelper(x)}(),u.SHA512)},72515:function(Me,K,o){var u;Me.exports=(u=o(17656),o(98891),o(78855),o(4147),o(12414),function(){var e=u,h=e.lib,c=h.WordArray,v=h.BlockCipher,y=e.algo,R=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],T=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],A=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],S=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],C=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],x=y.DES=v.extend({_doReset:function(){for(var se=this._key.words,Y=[],re=0;re<56;re++){var ve=R[re]-1;Y[re]=se[ve>>>5]>>>31-ve%32&1}for(var le=this._subKeys=[],Ee=0;Ee<16;Ee++){var F=le[Ee]=[],j=A[Ee];for(re=0;re<24;re++)F[re/6|0]|=Y[(T[re]-1+j)%28]<<31-re%6,F[4+(re/6|0)]|=Y[28+(T[re+24]-1+j)%28]<<31-re%6;for(F[0]=F[0]<<1|F[0]>>>31,re=1;re<7;re++)F[re]=F[re]>>>4*(re-1)+3;F[7]=F[7]<<5|F[7]>>>27}var te=this._invSubKeys=[];for(re=0;re<16;re++)te[re]=le[15-re]},encryptBlock:function(ee,se){this._doCryptBlock(ee,se,this._subKeys)},decryptBlock:function(ee,se){this._doCryptBlock(ee,se,this._invSubKeys)},_doCryptBlock:function(ee,se,Y){this._lBlock=ee[se],this._rBlock=ee[se+1],P.call(this,4,252645135),P.call(this,16,65535),B.call(this,2,858993459),B.call(this,8,16711935),P.call(this,1,1431655765);for(var re=0;re<16;re++){for(var ve=Y[re],le=this._lBlock,Ee=this._rBlock,F=0,j=0;j<8;j++)F|=S[j][((Ee^ve[j])&C[j])>>>0];this._lBlock=Ee,this._rBlock=le^F}var te=this._lBlock;this._lBlock=this._rBlock,this._rBlock=te,P.call(this,1,1431655765),B.call(this,8,16711935),B.call(this,2,858993459),P.call(this,16,65535),P.call(this,4,252645135),ee[se]=this._lBlock,ee[se+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function P(ee,se){var Y=(this._lBlock>>>ee^this._rBlock)&se;this._rBlock^=Y,this._lBlock^=Y<>>ee^this._lBlock)&se;this._lBlock^=Y,this._rBlock^=Y<192.");var Y=se.slice(0,2),re=se.length<4?se.slice(0,2):se.slice(2,4),ve=se.length<6?se.slice(0,2):se.slice(4,6);this._des1=x.createEncryptor(c.create(Y)),this._des2=x.createEncryptor(c.create(re)),this._des3=x.createEncryptor(c.create(ve))},encryptBlock:function(ee,se){this._des1.encryptBlock(ee,se),this._des2.decryptBlock(ee,se),this._des3.encryptBlock(ee,se)},decryptBlock:function(ee,se){this._des3.decryptBlock(ee,se),this._des2.encryptBlock(ee,se),this._des1.decryptBlock(ee,se)},keySize:6,ivSize:2,blockSize:2});e.TripleDES=v._createHelper(W)}(),u.TripleDES)},24501:function(Me,K,o){var c,v,y,R,u;Me.exports=(u=o(17656),v=(c=u.lib).Base,y=c.WordArray,(R=u.x64={}).Word=v.extend({init:function(S,C){this.high=S,this.low=C}}),R.WordArray=v.extend({init:function(S,C){S=this.words=S||[],this.sigBytes=null!=C?C:8*S.length},toX32:function(){for(var S=this.words,C=S.length,x=[],P=0;P{function K(h){return h&&h.constructor&&"function"==typeof h.constructor.isBuffer&&h.constructor.isBuffer(h)}function o(h){return h}function u(h,c){const v=(c=c||{}).delimiter||".",y=c.maxDepth,R=c.transformKey||o,T={};return function A(S,C,x){x=x||1,Object.keys(S).forEach(function(P){const B=S[P],W=c.safe&&Array.isArray(B),ee=Object.prototype.toString.call(B),se=K(B),Y="[object Object]"===ee||"[object Array]"===ee,re=C?C+v+R(P):R(P);if(!W&&!se&&Y&&Object.keys(B).length&&(!c.maxDepth||x0&&(W=S(B.shift()),ee=S(B[0]))}se[W]=e(h[P],c)}),T}},2348:(Me,K,o)=>{"use strict";o.d(K,{I:()=>Y});var u,e,h,c,v,y,R,T=function(){return typeof window<"u"},A=function(){return u||T()&&(u=window.gsap)&&u.registerPlugin&&u},S=function(ve){return"string"==typeof ve},C=function(ve){return"function"==typeof ve},x=function(ve,le){var Ee="x"===le?"Width":"Height",F="scroll"+Ee,j="client"+Ee;return ve===h||ve===c||ve===v?Math.max(c[F],v[F])-(h["inner"+Ee]||c[j]||v[j]):ve[F]-ve["offset"+Ee]},P=function(ve,le){var Ee="scroll"+("x"===le?"Left":"Top");return ve===h&&(null!=ve.pageXOffset?Ee="page"+le.toUpperCase()+"Offset":ve=null!=c[Ee]?c:v),function(){return ve[Ee]}},W=function(ve,le){if(!(ve=y(ve)[0])||!ve.getBoundingClientRect)return console.warn("scrollTo target doesn't exist. Using 0")||{x:0,y:0};var Ee=ve.getBoundingClientRect(),F=!le||le===h||le===v,j=F?{top:c.clientTop-(h.pageYOffset||c.scrollTop||v.scrollTop||0),left:c.clientLeft-(h.pageXOffset||c.scrollLeft||v.scrollLeft||0)}:le.getBoundingClientRect(),te={x:Ee.left-j.left,y:Ee.top-j.top};return!F&&le&&(te.x+=P(le,"x")(),te.y+=P(le,"y")()),te},ee=function(ve,le,Ee,F,j){return isNaN(ve)||"object"==typeof ve?S(ve)&&"="===ve.charAt(1)?parseFloat(ve.substr(2))*("-"===ve.charAt(0)?-1:1)+F-j:"max"===ve?x(le,Ee)-j:Math.min(x(le,Ee),W(ve,le)[Ee]-j):parseFloat(ve)-j},se=function(){u=A(),T()&&u&&document.body&&(h=window,v=document.body,c=document.documentElement,y=u.utils.toArray,u.config({autoKillThreshold:7}),R=u.config(),e=1)},Y={version:"3.10.4",name:"scrollTo",rawVars:1,register:function(ve){u=ve,se()},init:function(ve,le,Ee,F,j){e||se();var te=this,J=u.getProperty(ve,"scrollSnapType");te.isWin=ve===h,te.target=ve,te.tween=Ee,le=function(ve,le,Ee,F){if(C(ve)&&(ve=ve(le,Ee,F)),"object"!=typeof ve)return S(ve)&&"max"!==ve&&"="!==ve.charAt(1)?{x:ve,y:ve}:{y:ve};if(ve.nodeType)return{y:ve,x:ve};var te,j={};for(te in ve)j[te]="onAutoKill"!==te&&C(ve[te])?ve[te](le,Ee,F):ve[te];return j}(le,F,ve,j),te.vars=le,te.autoKill=!!le.autoKill,te.getX=P(ve,"x"),te.getY=P(ve,"y"),te.x=te.xPrev=te.getX(),te.y=te.yPrev=te.getY(),J&&"none"!==J&&(te.snap=1,te.snapInline=ve.style.scrollSnapType,ve.style.scrollSnapType="none"),null!=le.x?(te.add(te,"x",te.x,ee(le.x,ve,"x",te.x,le.offsetX||0),F,j),te._props.push("scrollTo_x")):te.skipX=1,null!=le.y?(te.add(te,"y",te.y,ee(le.y,ve,"y",te.y,le.offsetY||0),F,j),te._props.push("scrollTo_y")):te.skipY=1},render:function(ve,le){for(var _e,Ge,Ve,dt,at,Ee=le._pt,F=le.target,j=le.tween,te=le.autoKill,J=le.xPrev,$=le.yPrev,ce=le.isWin,ue=le.snap,Te=le.snapInline;Ee;)Ee.r(ve,Ee.d),Ee=Ee._next;_e=ce||!le.skipX?le.getX():J,Ve=(Ge=ce||!le.skipY?le.getY():$)-$,dt=_e-J,at=R.autoKillThreshold,le.x<0&&(le.x=0),le.y<0&&(le.y=0),te&&(!le.skipX&&(dt>at||dt<-at)&&_eat||Ve<-at)&&Ge{"use strict";function u(De){if(void 0===De)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return De}function e(De,m){De.prototype=Object.create(m.prototype),De.prototype.constructor=De,De.__proto__=m}o.d(K,{os:()=>Se});var v,_e,Ge,Ve,dt,Oe,rn,hi,xn,ke,Fe,Ne,et,ht,ft,De,m,O,N,L,V,de,me,At,h={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},c={duration:.5,overwrite:!1,delay:0},y=1e8,R=1/y,T=2*Math.PI,A=T/4,S=0,C=Math.sqrt,x=Math.cos,P=Math.sin,B=function(m){return"string"==typeof m},W=function(m){return"function"==typeof m},ee=function(m){return"number"==typeof m},se=function(m){return typeof m>"u"},Y=function(m){return"object"==typeof m},re=function(m){return!1!==m},ve=function(){return typeof window<"u"},le=function(m){return W(m)||B(m)},Ee="function"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},F=Array.isArray,j=/(?:-?\.?\d|\.)+/gi,te=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,J=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,$=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,ce=/[+-]=-?[.\d]+/,ue=/[^,'"\[\]\s]+/gi,Te=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,at={},ye={},we=function(m){return(ye=nn(m,at))&&pi},Ce=function(m,O){return console.warn("Invalid property",m,"set to",O,"Missing plugin? gsap.registerPlugin()")},$e=function(m,O){return!O&&console.warn(m)},Ye=function(m,O){return m&&(at[m]=O)&&ye&&(ye[m]=O)||at},ut=function(){return 0},mt={},tn=[],Vt={},En={},un={},wn=30,Kn=[],Mt="",Bt=function(m){var N,L,O=m[0];if(Y(O)||W(O)||(m=[m]),!(N=(O._gsap||{}).harness)){for(L=Kn.length;L--&&!Kn[L].targetTest(O););N=Kn[L]}for(L=m.length;L--;)m[L]&&(m[L]._gsap||(m[L]._gsap=new Fr(m[L],N)))||m.splice(L,1);return m},Yt=function(m){return m._gsap||Bt(wi(m))[0]._gsap},St=function(m,O,N){return(N=m[O])&&W(N)?m[O]():se(N)&&m.getAttribute&&m.getAttribute(O)||N},qt=function(m,O){return(m=m.split(",")).forEach(O)||m},Qe=function(m){return Math.round(1e5*m)/1e5||0},he=function(m){return Math.round(1e7*m)/1e7||0},Ie=function(m,O){var N=O.charAt(0),L=parseFloat(O.substr(2));return m=parseFloat(m),"+"===N?m+L:"-"===N?m-L:"*"===N?m*L:m/L},xe=function(m,O){for(var N=O.length,L=0;m.indexOf(O[L])<0&&++Lme;)de=de._prev;return de?(O._next=de._next,de._next=O):(O._next=m[N],m[N]=O),O._next?O._next._prev=O:m[L]=O,O._prev=de,O.parent=O._dp=m,O},Xt=function(m,O,N,L){void 0===N&&(N="_first"),void 0===L&&(L="_last");var V=O._prev,de=O._next;V?V._next=de:m[N]===O&&(m[N]=de),de?de._prev=V:m[L]===O&&(m[L]=V),O._next=O._prev=O.parent=null},Tn=function(m,O){m.parent&&(!O||m.parent.autoRemoveChildren)&&m.parent.remove(m),m._act=0},An=function(m,O){if(m&&(!O||O._end>m._dur||O._start<0))for(var N=m;N;)N._dirty=1,N=N.parent;return m},Di=function De(m){return!m||m._ts&&De(m.parent)},gi=function(m){return m._repeat?zn(m._tTime,m=m.duration()+m._rDelay)*m:0},zn=function(m,O){var N=Math.floor(m/=O);return m&&N===m?N-1:N},Je=function(m,O){return(m-O._start)*O._ts+(O._ts>=0?0:O._dirty?O.totalDuration():O._tDur)},lt=function(m){return m._end=he(m._start+(m._tDur/Math.abs(m._ts||m._rts||R)||0))},Pe=function(m,O){var N=m._dp;return N&&N.smoothChildTiming&&m._ts&&(m._start=he(N._time-(m._ts>0?O/m._ts:((m._dirty?m.totalDuration():m._tDur)-O)/-m._ts)),lt(m),N._dirty||An(N,m)),m},Xe=function(m,O){var N;if((O._time||O._initted&&!O._dur)&&(N=Je(m.rawTime(),O),(!O._dur||We(0,O.totalDuration(),N)-O._tTime>R)&&O.render(N,!0)),An(m,O)._dp&&m._initted&&m._time>=m._dur&&m._ts){if(m._dur=0&&N.totalTime(N._tTime),N=N._dp;m._zTime=-R}},_t=function(m,O,N,L){return O.parent&&Tn(O),O._start=he((ee(N)?N:N||m!==_e?ne(m,N,O):m._time)+O._delay),O._end=he(O._start+(O.totalDuration()/Math.abs(O.timeScale())||0)),Ft(m,O,"_first","_last",m._sort?"_start":0),bn(O)||(m._recent=O),L||Xe(m,O),m},jt=function(m,O){return(at.ScrollTrigger||Ce("scrollTrigger",O))&&at.ScrollTrigger.create(O,m)},hn=function(m,O,N,L){return Do(m,O),m._initted?!N&&m._pt&&(m._dur&&!1!==m.vars.lazy||!m._dur&&m.vars.lazy)&&rn!==Bn.frame?(tn.push(m),m._lazy=[O,L],1):void 0:1},Fn=function De(m){var O=m.parent;return O&&O._ts&&O._initted&&!O._lock&&(O.rawTime()<0||De(O))},bn=function(m){var O=m.data;return"isFromStart"===O||"isStart"===O},G=function(m,O,N,L){var V=m._repeat,de=he(O)||0,me=m._tTime/m._tDur;return me&&!L&&(m._time*=de/m._dur),m._dur=de,m._tDur=V?V<0?1e10:he(de*(V+1)+m._rDelay*V):de,me>0&&!L?Pe(m,m._tTime=m._tDur*me):m.parent&<(m),N||An(m.parent,m),m},Q=function(m){return m instanceof Yi?An(m):G(m,m._dur)},H={_start:0,endTime:ut,totalDuration:ut},ne=function De(m,O,N){var me,ke,Fe,L=m.labels,V=m._recent||H,de=m.duration()>=y?V.endTime(!1):m._dur;return B(O)&&(isNaN(O)||O in L)?(ke=O.charAt(0),Fe="%"===O.substr(-1),me=O.indexOf("="),"<"===ke||">"===ke?(me>=0&&(O=O.replace(/=/,"")),("<"===ke?V._start:V.endTime(V._repeat>=0))+(parseFloat(O.substr(1))||0)*(Fe?(me<0?V:N).totalDuration()/100:1)):me<0?(O in L||(L[O]=de),L[O]):(ke=parseFloat(O.charAt(me-1)+O.substr(me+1)),Fe&&N&&(ke=ke/100*(F(N)?N[0]:N).totalDuration()),me>1?De(m,O.substr(0,me-1),N)+ke:de+ke)):null==O?de:+O},q=function(m,O,N){var me,ke,L=ee(O[1]),V=(L?2:1)+(m<2?0:1),de=O[V];if(L&&(de.duration=O[1]),de.parent=N,m){for(me=de,ke=N;ke&&!("immediateRender"in me);)me=ke.vars.defaults||{},ke=re(ke.vars.inherit)&&ke.parent;de.immediateRender=re(me.immediateRender),m<2?de.runBackwards=1:de.startAt=O[V-1]}return new Fi(O[0],de,O[V+1])},fe=function(m,O){return m||0===m?O(m):O},We=function(m,O,N){return NO?O:N},it=function(m,O){return B(m)&&(O=Te.exec(m))?O[1]:""},dn=[].slice,Xn=function(m,O){return m&&Y(m)&&"length"in m&&(!O&&!m.length||m.length-1 in m&&Y(m[0]))&&!m.nodeType&&m!==Ge},wi=function(m,O,N){return!B(m)||N||!Ve&&ro()?F(m)?function(m,O,N){return void 0===N&&(N=[]),m.forEach(function(L){var V;return B(L)&&!O||Xn(L,1)?(V=N).push.apply(V,wi(L)):N.push(L)})||N}(m,N):Xn(m)?dn.call(m,0):m?[m]:[]:dn.call((O||dt).querySelectorAll(m),0)},qi=function(m){return m.sort(function(){return.5-Math.random()})},zi=function(m){if(W(m))return m;var O=Y(m)?m:{each:m},N=Vi(O.ease),L=O.from||0,V=parseFloat(O.base)||0,de={},me=L>0&&L<1,ke=isNaN(L)||me,Fe=O.axis,Ne=L,et=L;return B(L)?Ne=et={center:.5,edges:.5,end:1}[L]||0:!me&&ke&&(Ne=L[0],et=L[1]),function(ht,ft,At){var wt,Kt,en,Pt,$t,cn,_n,sn,gn,ct=(At||O).length,Lt=de[ct];if(!Lt){if(!(gn="auto"===O.grid?0:(O.grid||[1,y])[1])){for(_n=-y;_n<(_n=At[gn++].getBoundingClientRect().left)&&gn_n&&(_n=$t),$tct?ct-1:Fe?"y"===Fe?ct/gn:gn:Math.max(gn,ct/gn))||0)*("edges"===L?-1:1),Lt.b=ct<0?V-ct:V,Lt.u=it(O.amount||O.each)||0,N=N&&ct<0?fr(N):N}return ct=(Lt[ht]-Lt.min)/Lt.max||0,he(Lt.b+(N?N(ct):ct)*Lt.v)+Lt.u}},Pi=function(m){var O=Math.pow(10,((m+"").split(".")[1]||"").length);return function(N){var L=Math.round(parseFloat(N)/m)*m*O;return(L-L%1)/O+(ee(N)?0:it(N))}},tr=function(m,O){var L,V,N=F(m);return!N&&Y(m)&&(L=N=m.radius||y,m.values?(m=wi(m.values),(V=!ee(m[0]))&&(L*=L)):m=Pi(m.increment)),fe(O,N?W(m)?function(de){return V=m(de),Math.abs(V-de)<=L?V:de}:function(de){for(var ht,ft,me=parseFloat(V?de.x:de),ke=parseFloat(V?de.y:0),Fe=y,Ne=0,et=m.length;et--;)(ht=V?(ht=m[et].x-me)*ht+(ft=m[et].y-ke)*ft:Math.abs(m[et]-me))(me=Math.abs(me))&&(ke=de,V=me);return ke},ti=function(m,O,N){var de,me,L=m.vars,V=L[O];if(V)return de=L[O+"Params"],me=L.callbackScope||m,N&&tn.length&&je(),de?V.apply(me,de):V.call(me)},Un=function(m){return Tn(m),m.scrollTrigger&&m.scrollTrigger.kill(!1),m.progress()<1&&ti(m,"onInterrupt"),m},Gn=255,qn={aqua:[0,Gn,Gn],lime:[0,Gn,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,Gn],navy:[0,0,128],white:[Gn,Gn,Gn],olive:[128,128,0],yellow:[Gn,Gn,0],orange:[Gn,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[Gn,0,0],pink:[Gn,192,203],cyan:[0,Gn,Gn],transparent:[Gn,Gn,Gn,0]},ri=function(m,O,N){return(6*(m+=m<0?1:m>1?-1:0)<1?O+(N-O)*m*6:m<.5?N:3*m<2?O+(N-O)*(2/3-m)*6:O)*Gn+.5|0},Ki=function(m,O,N){var V,de,me,ke,Fe,Ne,et,ht,ft,At,L=m?ee(m)?[m>>16,m>>8&Gn,m&Gn]:0:qn.black;if(!L){if(","===m.substr(-1)&&(m=m.substr(0,m.length-1)),qn[m])L=qn[m];else if("#"===m.charAt(0)){if(m.length<6&&(V=m.charAt(1),de=m.charAt(2),me=m.charAt(3),m="#"+V+V+de+de+me+me+(5===m.length?m.charAt(4)+m.charAt(4):"")),9===m.length)return[(L=parseInt(m.substr(1,6),16))>>16,L>>8&Gn,L&Gn,parseInt(m.substr(7),16)/255];L=[(m=parseInt(m.substr(1),16))>>16,m>>8&Gn,m&Gn]}else if("hsl"===m.substr(0,3))if(L=At=m.match(j),O){if(~m.indexOf("="))return L=m.match(te),N&&L.length<4&&(L[3]=1),L}else ke=+L[0]%360/360,Fe=+L[1]/100,V=2*(Ne=+L[2]/100)-(de=Ne<=.5?Ne*(Fe+1):Ne+Fe-Ne*Fe),L.length>3&&(L[3]*=1),L[0]=ri(ke+1/3,V,de),L[1]=ri(ke,V,de),L[2]=ri(ke-1/3,V,de);else L=m.match(j)||qn.transparent;L=L.map(Number)}return O&&!At&&(V=L[0]/Gn,de=L[1]/Gn,me=L[2]/Gn,Ne=((et=Math.max(V,de,me))+(ht=Math.min(V,de,me)))/2,et===ht?ke=Fe=0:(ft=et-ht,Fe=Ne>.5?ft/(2-et-ht):ft/(et+ht),ke=et===V?(de-me)/ft+(dem&&(N+=wt-O),((en=($t=(L+=wt)-N)-de)>0||Kt)&&(cn=++et.frame,ht=$t-1e3*et.time,et.time=$t/=1e3,de+=en+(en>=V?4:V-en),Pt=1),Kt||(ke=Fe(ct)),Pt)for(ft=0;ft=wt&&ft--},_listeners:me=[]}),ro=function(){return!xn&&Bn.wake()},Hn={},oo=/^[\d.\-M][\d.\-,\s]/,Ma=/["']/g,aa=function(m){for(var me,ke,Fe,O={},N=m.substr(1,m.length-3).split(":"),L=N[0],V=1,de=N.length;V1&&N.config?N.config.apply(null,~m.indexOf("{")?[aa(O[1])]:function(m){var O=m.indexOf("(")+1,N=m.indexOf(")"),L=m.indexOf("(",O);return m.substring(O,~L&&L=1?O:1,V=(N||(m?.3:.45))/(O<1?O:1),de=V/T*(Math.asin(1/L)||0),me=function(Ne){return 1===Ne?1:L*Math.pow(2,-10*Ne)*P((Ne-de)*V)+1},ke="out"===m?me:"in"===m?function(Fe){return 1-me(1-Fe)}:Rs(me);return V=T/V,ke.config=function(Fe,Ne){return De(m,Fe,Ne)},ke},Dr=function De(m,O){void 0===O&&(O=1.70158);var N=function(de){return de?--de*de*((O+1)*de+O)+1:0},L="out"===m?N:"in"===m?function(V){return 1-N(1-V)}:Rs(N);return L.config=function(V){return De(m,V)},L};qt("Linear,Quad,Cubic,Quart,Quint,Strong",function(De,m){var O=m<5?m+1:m;Is(De+",Power"+(O-1),m?function(N){return Math.pow(N,O)}:function(N){return N},function(N){return 1-Math.pow(1-N,O)},function(N){return N<.5?Math.pow(2*N,O)/2:1-Math.pow(2*(1-N),O)/2})}),Hn.Linear.easeNone=Hn.none=Hn.Linear.easeIn,Is("Elastic",ir("in"),ir("out"),ir()),function(De,m){var V=function(me){return me<.36363636363636365?De*me*me:me<.7272727272727273?De*Math.pow(me-1.5/m,2)+.75:me<.9090909090909092?De*(me-=2.25/m)*me+.9375:De*Math.pow(me-2.625/m,2)+.984375};Is("Bounce",function(de){return 1-V(1-de)},V)}(7.5625,2.75),Is("Expo",function(De){return De?Math.pow(2,10*(De-1)):0}),Is("Circ",function(De){return-(C(1-De*De)-1)}),Is("Sine",function(De){return 1===De?1:1-x(De*A)}),Is("Back",Dr("in"),Dr("out"),Dr()),Hn.SteppedEase=Hn.steps=at.SteppedEase={config:function(m,O){void 0===m&&(m=1);var N=1/m,L=m+(O?0:1),V=O?1:0;return function(me){return((L*We(0,.99999999,me)|0)+V)*N}}},c.ease=Hn["quad.out"],qt("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(De){return Mt+=De+","+De+"Params,"});var Fr=function(m,O){this.id=S++,m._gsap=this,this.target=m,this.harness=O,this.get=O?O.get:St,this.set=O?O.getSetter:Vo},Ar=function(){function De(O){this.vars=O,this._delay=+O.delay||0,(this._repeat=O.repeat===1/0?-2:O.repeat||0)&&(this._rDelay=O.repeatDelay||0,this._yoyo=!!O.yoyo||!!O.yoyoEase),this._ts=1,G(this,+O.duration,1,1),this.data=O.data,xn||Bn.wake()}var m=De.prototype;return m.delay=function(N){return N||0===N?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+N-this._delay),this._delay=N,this):this._delay},m.duration=function(N){return arguments.length?this.totalDuration(this._repeat>0?N+(N+this._rDelay)*this._repeat:N):this.totalDuration()&&this._dur},m.totalDuration=function(N){return arguments.length?(this._dirty=0,G(this,this._repeat<0?N:(N-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},m.totalTime=function(N,L){if(ro(),!arguments.length)return this._tTime;var V=this._dp;if(V&&V.smoothChildTiming&&this._ts){for(Pe(this,N),!V._dp||V.parent||Xe(V,this);V&&V.parent;)V.parent._time!==V._start+(V._ts>=0?V._tTime/V._ts:(V.totalDuration()-V._tTime)/-V._ts)&&V.totalTime(V._tTime,!0),V=V.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&N0||!this._tDur&&!N)&&_t(this._dp,this,this._start-this._delay)}return(this._tTime!==N||!this._dur&&!L||this._initted&&Math.abs(this._zTime)===R||!N&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=N),ze(this,N,L)),this},m.time=function(N,L){return arguments.length?this.totalTime(Math.min(this.totalDuration(),N+gi(this))%(this._dur+this._rDelay)||(N?this._dur:0),L):this._time},m.totalProgress=function(N,L){return arguments.length?this.totalTime(this.totalDuration()*N,L):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.ratio},m.progress=function(N,L){return arguments.length?this.totalTime(this.duration()*(!this._yoyo||1&this.iteration()?N:1-N)+gi(this),L):this.duration()?Math.min(1,this._time/this._dur):this.ratio},m.iteration=function(N,L){var V=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(N-1)*V,L):this._repeat?zn(this._tTime,V)+1:1},m.timeScale=function(N){if(!arguments.length)return this._rts===-R?0:this._rts;if(this._rts===N)return this;var L=this.parent&&this._ts?Je(this.parent._time,this):this._tTime;return this._rts=+N||0,this._ts=this._ps||N===-R?0:this._rts,this.totalTime(We(-this._delay,this._tDur,L),!0),lt(this),function(m){for(var O=m.parent;O&&O.parent;)O._dirty=1,O.totalDuration(),O=O.parent;return m}(this)},m.paused=function(N){return arguments.length?(this._ps!==N&&(this._ps=N,N?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(ro(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&Math.abs(this._zTime)!==R&&(this._tTime-=R)))),this):this._ps},m.startTime=function(N){if(arguments.length){this._start=N;var L=this.parent||this._dp;return L&&(L._sort||!this.parent)&&_t(L,this,N-this._delay),this}return this._start},m.endTime=function(N){return this._start+(re(N)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},m.rawTime=function(N){var L=this.parent||this._dp;return L?N&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Je(L.rawTime(N),this):this._tTime:this._tTime},m.globalTime=function(N){for(var L=this,V=arguments.length?N:L.rawTime();L;)V=L._start+V/(L._ts||1),L=L._dp;return V},m.repeat=function(N){return arguments.length?(this._repeat=N===1/0?-2:N,Q(this)):-2===this._repeat?1/0:this._repeat},m.repeatDelay=function(N){if(arguments.length){var L=this._time;return this._rDelay=N,Q(this),L?this.time(L):this}return this._rDelay},m.yoyo=function(N){return arguments.length?(this._yoyo=N,this):this._yoyo},m.seek=function(N,L){return this.totalTime(ne(this,N),re(L))},m.restart=function(N,L){return this.play().totalTime(N?-this._delay:0,re(L))},m.play=function(N,L){return null!=N&&this.seek(N,L),this.reversed(!1).paused(!1)},m.reverse=function(N,L){return null!=N&&this.seek(N||this.totalDuration(),L),this.reversed(!0).paused(!1)},m.pause=function(N,L){return null!=N&&this.seek(N,L),this.paused(!0)},m.resume=function(){return this.paused(!1)},m.reversed=function(N){return arguments.length?(!!N!==this.reversed()&&this.timeScale(-this._rts||(N?-R:0)),this):this._rts<0},m.invalidate=function(){return this._initted=this._act=0,this._zTime=-R,this},m.isActive=function(){var V,N=this.parent||this._dp,L=this._start;return!(N&&!(this._ts&&this._initted&&N.isActive()&&(V=N.rawTime(!0))>=L&&V1?(L?(de[N]=L,V&&(de[N+"Params"]=V),"onUpdate"===N&&(this._onUpdate=L)):delete de[N],this):de[N]},m.then=function(N){var L=this;return new Promise(function(V){var de=W(N)?N:kt,me=function(){var Fe=L.then;L.then=null,W(de)&&(de=de(L))&&(de.then||de===L)&&(L.then=Fe),V(de),L.then=Fe};L._initted&&1===L.totalProgress()&&L._ts>=0||!L._tTime&&L._ts<0?me():L._prom=me})},m.kill=function(){Un(this)},De}();Jt(Ar.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-R,_prom:0,_ps:!1,_rts:1});var Yi=function(De){function m(N,L){var V;return void 0===N&&(N={}),(V=De.call(this,N)||this).labels={},V.smoothChildTiming=!!N.smoothChildTiming,V.autoRemoveChildren=!!N.autoRemoveChildren,V._sort=re(N.sortChildren),_e&&_t(N.parent||_e,u(V),L),N.reversed&&V.reverse(),N.paused&&V.paused(!0),N.scrollTrigger&&jt(u(V),N.scrollTrigger),V}e(m,De);var O=m.prototype;return O.to=function(L,V,de){return q(0,arguments,this),this},O.from=function(L,V,de){return q(1,arguments,this),this},O.fromTo=function(L,V,de,me){return q(2,arguments,this),this},O.set=function(L,V,de){return V.duration=0,V.parent=this,nt(V).repeatDelay||(V.repeat=0),V.immediateRender=!!V.immediateRender,new Fi(L,V,ne(this,de),1),this},O.call=function(L,V,de){return _t(this,Fi.delayedCall(0,L,V),de)},O.staggerTo=function(L,V,de,me,ke,Fe,Ne){return de.duration=V,de.stagger=de.stagger||me,de.onComplete=Fe,de.onCompleteParams=Ne,de.parent=this,new Fi(L,de,ne(this,ke)),this},O.staggerFrom=function(L,V,de,me,ke,Fe,Ne){return de.runBackwards=1,nt(de).immediateRender=re(de.immediateRender),this.staggerTo(L,V,de,me,ke,Fe,Ne)},O.staggerFromTo=function(L,V,de,me,ke,Fe,Ne,et){return me.startAt=de,nt(me).immediateRender=re(me.immediateRender),this.staggerTo(L,V,me,ke,Fe,Ne,et)},O.render=function(L,V,de){var ht,ft,At,ct,Lt,wt,Kt,en,Pt,$t,cn,_n,me=this._time,ke=this._dirty?this.totalDuration():this._tDur,Fe=this._dur,Ne=L<=0?0:he(L),et=this._zTime<0!=L<0&&(this._initted||!Fe);if(this!==_e&&Ne>ke&&L>=0&&(Ne=ke),Ne!==this._tTime||de||et){if(me!==this._time&&Fe&&(Ne+=this._time-me,L+=this._time-me),ht=Ne,Pt=this._start,wt=!(en=this._ts),et&&(Fe||(me=this._zTime),(L||!V)&&(this._zTime=L)),this._repeat){if(cn=this._yoyo,Lt=Fe+this._rDelay,this._repeat<-1&&L<0)return this.totalTime(100*Lt+L,V,de);if(ht=he(Ne%Lt),Ne===ke?(ct=this._repeat,ht=Fe):((ct=~~(Ne/Lt))&&ct===Ne/Lt&&(ht=Fe,ct--),ht>Fe&&(ht=Fe)),$t=zn(this._tTime,Lt),!me&&this._tTime&&$t!==ct&&($t=ct),cn&&1&ct&&(ht=Fe-ht,_n=1),ct!==$t&&!this._lock){var sn=cn&&1&$t,gn=sn===(cn&&1&ct);if(ct<$t&&(sn=!sn),me=sn?0:Fe,this._lock=1,this.render(me||(_n?0:he(ct*Lt)),V,!Fe)._lock=0,this._tTime=Ne,!V&&this.parent&&ti(this,"onRepeat"),this.vars.repeatRefresh&&!_n&&(this.invalidate()._lock=1),me&&me!==this._time||wt!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(Fe=this._dur,ke=this._tDur,gn&&(this._lock=2,this.render(me=sn?Fe:-1e-4,!0),this.vars.repeatRefresh&&!_n&&this.invalidate()),this._lock=0,!this._ts&&!wt)return this;ao(this,_n)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(Kt=function(m,O,N){var L;if(N>O)for(L=m._first;L&&L._start<=N;){if("isPause"===L.data&&L._start>O)return L;L=L._next}else for(L=m._last;L&&L._start>=N;){if("isPause"===L.data&&L._start=me&&L>=0)for(ft=this._first;ft;){if(At=ft._next,(ft._act||ht>=ft._start)&&ft._ts&&Kt!==ft){if(ft.parent!==this)return this.render(L,V,de);if(ft.render(ft._ts>0?(ht-ft._start)*ft._ts:(ft._dirty?ft.totalDuration():ft._tDur)+(ht-ft._start)*ft._ts,V,de),ht!==this._time||!this._ts&&!wt){Kt=0,At&&(Ne+=this._zTime=-R);break}}ft=At}else{ft=this._last;for(var ci=L<0?L:ht;ft;){if(At=ft._prev,(ft._act||ci<=ft._end)&&ft._ts&&Kt!==ft){if(ft.parent!==this)return this.render(L,V,de);if(ft.render(ft._ts>0?(ci-ft._start)*ft._ts:(ft._dirty?ft.totalDuration():ft._tDur)+(ci-ft._start)*ft._ts,V,de),ht!==this._time||!this._ts&&!wt){Kt=0,At&&(Ne+=this._zTime=ci?-R:R);break}}ft=At}}if(Kt&&!V&&(this.pause(),Kt.render(ht>=me?0:-R)._zTime=ht>=me?1:-1,this._ts))return this._start=Pt,lt(this),this.render(L,V,de);this._onUpdate&&!V&&ti(this,"onUpdate",!0),(Ne===ke&&this._tTime>=this.totalDuration()||!Ne&&me)&&(Pt===this._start||Math.abs(en)!==Math.abs(this._ts))&&(this._lock||((L||!Fe)&&(Ne===ke&&this._ts>0||!Ne&&this._ts<0)&&Tn(this,1),!V&&(!(L<0)||me)&&(Ne||me||!ke)&&(ti(this,Ne===ke&&L>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(Ne0)&&this._prom())))}return this},O.add=function(L,V){var de=this;if(ee(V)||(V=ne(this,V,L)),!(L instanceof Ar)){if(F(L))return L.forEach(function(me){return de.add(me,V)}),this;if(B(L))return this.addLabel(L,V);if(!W(L))return this;L=Fi.delayedCall(0,L)}return this!==L?_t(this,L,V):this},O.getChildren=function(L,V,de,me){void 0===L&&(L=!0),void 0===V&&(V=!0),void 0===de&&(de=!0),void 0===me&&(me=-y);for(var ke=[],Fe=this._first;Fe;)Fe._start>=me&&(Fe instanceof Fi?V&&ke.push(Fe):(de&&ke.push(Fe),L&&ke.push.apply(ke,Fe.getChildren(!0,V,de)))),Fe=Fe._next;return ke},O.getById=function(L){for(var V=this.getChildren(1,1,1),de=V.length;de--;)if(V[de].vars.id===L)return V[de]},O.remove=function(L){return B(L)?this.removeLabel(L):W(L)?this.killTweensOf(L):(Xt(this,L),L===this._recent&&(this._recent=this._last),An(this))},O.totalTime=function(L,V){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=he(Bn.time-(this._ts>0?L/this._ts:(this.totalDuration()-L)/-this._ts))),De.prototype.totalTime.call(this,L,V),this._forcing=0,this):this._tTime},O.addLabel=function(L,V){return this.labels[L]=ne(this,V),this},O.removeLabel=function(L){return delete this.labels[L],this},O.addPause=function(L,V,de){var me=Fi.delayedCall(0,V||ut,de);return me.data="isPause",this._hasPause=1,_t(this,me,ne(this,L))},O.removePause=function(L){var V=this._first;for(L=ne(this,L);V;)V._start===L&&"isPause"===V.data&&Tn(V),V=V._next},O.killTweensOf=function(L,V,de){for(var me=this.getTweensOf(L,de),ke=me.length;ke--;)Ks!==me[ke]&&me[ke].kill(L,V);return this},O.getTweensOf=function(L,V){for(var Ne,de=[],me=wi(L),ke=this._first,Fe=ee(V);ke;)ke instanceof Fi?xe(ke._targets,me)&&(Fe?(!Ks||ke._initted&&ke._ts)&&ke.globalTime(0)<=V&&ke.globalTime(ke.totalDuration())>V:!V||ke.isActive())&&de.push(ke):(Ne=ke.getTweensOf(me,V)).length&&de.push.apply(de,Ne),ke=ke._next;return de},O.tweenTo=function(L,V){V=V||{};var ft,de=this,me=ne(de,L),Fe=V.startAt,Ne=V.onStart,et=V.onStartParams,ht=V.immediateRender,At=Fi.to(de,Jt({ease:V.ease||"none",lazy:!1,immediateRender:!1,time:me,overwrite:"auto",duration:V.duration||Math.abs((me-(Fe&&"time"in Fe?Fe.time:de._time))/de.timeScale())||R,onStart:function(){if(de.pause(),!ft){var Lt=V.duration||Math.abs((me-(Fe&&"time"in Fe?Fe.time:de._time))/de.timeScale());At._dur!==Lt&&G(At,Lt,0,1).render(At._time,!0,!0),ft=1}Ne&&Ne.apply(At,et||[])}},V));return ht?At.render(0):At},O.tweenFromTo=function(L,V,de){return this.tweenTo(V,Jt({startAt:{time:ne(this,L)}},de))},O.recent=function(){return this._recent},O.nextLabel=function(L){return void 0===L&&(L=this._time),Ei(this,ne(this,L))},O.previousLabel=function(L){return void 0===L&&(L=this._time),Ei(this,ne(this,L),1)},O.currentLabel=function(L){return arguments.length?this.seek(L,!0):this.previousLabel(this._time+R)},O.shiftChildren=function(L,V,de){void 0===de&&(de=0);for(var Fe,me=this._first,ke=this.labels;me;)me._start>=de&&(me._start+=L,me._end+=L),me=me._next;if(V)for(Fe in ke)ke[Fe]>=de&&(ke[Fe]+=L);return An(this)},O.invalidate=function(){var L=this._first;for(this._lock=0;L;)L.invalidate(),L=L._next;return De.prototype.invalidate.call(this)},O.clear=function(L){void 0===L&&(L=!0);for(var de,V=this._first;V;)de=V._next,this.remove(V),V=de;return this._dp&&(this._time=this._tTime=this._pTime=0),L&&(this.labels={}),An(this)},O.totalDuration=function(L){var Fe,Ne,et,V=0,de=this,me=de._last,ke=y;if(arguments.length)return de.timeScale((de._repeat<0?de.duration():de.totalDuration())/(de.reversed()?-L:L));if(de._dirty){for(et=de.parent;me;)Fe=me._prev,me._dirty&&me.totalDuration(),(Ne=me._start)>ke&&de._sort&&me._ts&&!de._lock?(de._lock=1,_t(de,me,Ne-me._delay,1)._lock=0):ke=Ne,Ne<0&&me._ts&&(V-=Ne,(!et&&!de._dp||et&&et.smoothChildTiming)&&(de._start+=Ne/de._ts,de._time-=Ne,de._tTime-=Ne),de.shiftChildren(-Ne,!1,-1/0),ke=0),me._end>V&&me._ts&&(V=me._end),me=Fe;G(de,de===_e&&de._time>V?de._time:V,1,1),de._dirty=0}return de._tDur},m.updateRoot=function(L){if(_e._ts&&(ze(_e,Je(L,_e)),rn=Bn.frame),Bn.frame>=wn){wn+=h.autoSleep||120;var V=_e._first;if((!V||!V._ts)&&h.autoSleep&&Bn._listeners.length<2){for(;V&&!V._ts;)V=V._next;V||Bn.sleep()}}},m}(Ar);Jt(Yi.prototype,{_lock:0,_hasPause:0,_forcing:0});var Ks,Ls,Co=function(m,O,N,L,V,de,me){var et,ht,ft,At,ct,Lt,wt,Kt,ke=new $i(this._pt,m,O,0,1,as,null,V),Fe=0,Ne=0;for(ke.b=N,ke.e=L,N+="",(wt=~(L+="").indexOf("random("))&&(L=zt(L)),de&&(de(Kt=[N,L],m,O),N=Kt[0],L=Kt[1]),ht=N.match($)||[];et=$.exec(L);)At=et[0],ct=L.substring(Fe,et.index),ft?ft=(ft+1)%5:"rgba("===ct.substr(-5)&&(ft=1),At!==ht[Ne++]&&(Lt=parseFloat(ht[Ne-1])||0,ke._pt={_next:ke._pt,p:ct||1===Ne?ct:",",s:Lt,c:"="===At.charAt(1)?Ie(Lt,At)-Lt:parseFloat(At)-Lt,m:ft&&ft<4?Math.round:0},Fe=$.lastIndex);return ke.c=Fe0&&!At&&(m._startAt=0),ct&&O<=0)return void(O&&(m._zTime=O))}else!1===At&&(m._startAt=0);else if(et&&ct)if(Lt)!At&&(m._startAt=0);else if(O&&(de=!1),sn=Jt({overwrite:!1,data:"isFromStart",lazy:de&&re(me),immediateRender:de,stagger:0,parent:Kt},cn),Nn&&(sn[is.prop]=Nn),Tn(m._startAt=Fi.set(wt,sn)),O<0&&m._startAt.render(-1,!0),m._zTime=O,de){if(!O)return}else De(m._startAt,R);for(m._pt=m._ptCache=0,me=ct&&re(me)||me&&!ct,_n=0;_n")});else{for(sn in cn={},At)"ease"===sn||"easeEach"===sn||$n(sn,At[sn],cn,At.easeEach);for(sn in cn)for(is=cn[sn].sort(function(Ti,Nn){return Ti.t-Nn.t}),Ui=0,$t=0;$tke-R&&L>=0?ke:LFe&&(et=Fe)),(Lt=this._yoyo&&1&ft)&&(en=this._yEase,et=Fe-et),ct=zn(this._tTime,At),et===me&&!de&&this._initted)return this._tTime=Ne,this;ft!==ct&&(Kt&&this._yEase&&ao(Kt,Lt),this.vars.repeatRefresh&&!Lt&&!this._lock&&(this._lock=de=1,this.render(he(At*ft),!0).invalidate()._lock=0))}if(!this._initted){if(hn(this,L<0?L:et,de,V))return this._tTime=0,this;if(me!==this._time)return this;if(Fe!==this._dur)return this.render(L,V,de)}if(this._tTime=Ne,this._time=et,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=wt=(en||this._ease)(et/Fe),this._from&&(this.ratio=wt=1-wt),et&&!me&&!V&&(ti(this,"onStart"),this._tTime!==Ne))return this;for(ht=this._pt;ht;)ht.r(wt,ht.d),ht=ht._next;Kt&&Kt.render(L<0?L:!et&&Lt?-R:Kt._dur*Kt._ease(et/this._dur),V,de)||this._startAt&&(this._zTime=L),this._onUpdate&&!V&&(L<0&&this._startAt&&this._startAt.render(L,!0,de),ti(this,"onUpdate")),this._repeat&&ft!==ct&&this.vars.onRepeat&&!V&&this.parent&&ti(this,"onRepeat"),(Ne===this._tDur||!Ne)&&this._tTime===Ne&&(L<0&&this._startAt&&!this._onUpdate&&this._startAt.render(L,!0,!0),(L||!Fe)&&(Ne===this._tDur&&this._ts>0||!Ne&&this._ts<0)&&Tn(this,1),!V&&(!(L<0)||me)&&(Ne||me)&&(ti(this,Ne===ke?"onComplete":"onReverseComplete",!0),this._prom&&!(Ne0)&&this._prom()))}}else!function(m,O,N,L){var Fe,Ne,et,V=m.ratio,de=O<0||!O&&(!m._start&&Fn(m)&&(m._initted||!bn(m))||(m._ts<0||m._dp._ts<0)&&!bn(m))?0:1,me=m._rDelay,ke=0;if(me&&m._repeat&&(ke=We(0,m._tDur,O),Ne=zn(ke,me),m._yoyo&&1&Ne&&(de=1-de),Ne!==zn(m._tTime,me)&&(V=1-de,m.vars.repeatRefresh&&m._initted&&m.invalidate())),de!==V||L||m._zTime===R||!O&&m._zTime){if(!m._initted&&hn(m,O,L,N))return;for(et=m._zTime,m._zTime=O||(N?R:0),N||(N=O&&!et),m.ratio=de,m._from&&(de=1-de),m._time=0,m._tTime=ke,Fe=m._pt;Fe;)Fe.r(de,Fe.d),Fe=Fe._next;m._startAt&&O<0&&m._startAt.render(O,!0,!0),m._onUpdate&&!N&&ti(m,"onUpdate"),ke&&m._repeat&&!N&&m.parent&&ti(m,"onRepeat"),(O>=m._tDur||O<0)&&m.ratio===de&&(de&&Tn(m,1),N||(ti(m,de?"onComplete":"onReverseComplete",!0),m._prom&&m._prom()))}else m._zTime||(m._zTime=O)}(this,L,V,de);return this},O.targets=function(){return this._targets},O.invalidate=function(){return this._pt=this._op=this._startAt=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(),De.prototype.invalidate.call(this)},O.resetTo=function(L,V,de,me){xn||Bn.wake(),this._ts||this.play();var ke=Math.min(this._dur,(this._dp._time-this._start)*this._ts);return this._initted||Do(this,ke),function(m,O,N,L,V,de,me){var Fe,Ne,et,ke=(m._pt&&m._ptCache||(m._ptCache={}))[O];if(!ke)for(ke=m._ptCache[O]=[],Ne=m._ptLookup,et=m._targets.length;et--;){if((Fe=Ne[et][O])&&Fe.d&&Fe.d._pt)for(Fe=Fe.d._pt;Fe&&Fe.p!==O;)Fe=Fe._next;if(!Fe)return Ls=1,m.vars[O]="+=0",Do(m,me),Ls=0,1;ke.push(Fe)}for(et=ke.length;et--;)(Fe=ke[et]).s=!L&&0!==L||V?Fe.s+(L||0)+de*Fe.c:L,Fe.c=N-Fe.s,Fe.e&&(Fe.e=Qe(N)+it(Fe.e)),Fe.b&&(Fe.b=Fe.s+it(Fe.b))}(this,L,V,de,me,this._ease(ke/this._dur),ke)?this.resetTo(L,V,de,me):(Pe(this,0),this.parent||Ft(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},O.kill=function(L,V){if(void 0===V&&(V="all"),!(L||V&&"all"!==V))return this._lazy=this._pt=0,this.parent?Un(this):this;if(this.timeline){var de=this.timeline.totalDuration();return this.timeline.killTweensOf(L,V,Ks&&!0!==Ks.vars.overwrite)._first||Un(this),this.parent&&de!==this.timeline.totalDuration()&&G(this,this._dur*this.timeline._tDur/de,0,1),this}var et,ht,ft,At,ct,Lt,wt,me=this._targets,ke=L?wi(L):me,Fe=this._ptLookup,Ne=this._pt;if((!V||"all"===V)&&function(m,O){for(var N=m.length,L=N===O.length;L&&N--&&m[N]===O[N];);return N<0}(me,ke))return"all"===V&&(this._pt=0),Un(this);for(et=this._op=this._op||[],"all"!==V&&(B(V)&&(ct={},qt(V,function(Kt){return ct[Kt]=1}),V=ct),V=function(m,O){var V,de,me,ke,N=m[0]?Yt(m[0]).harness:0,L=N&&N.aliases;if(!L)return O;for(de in V=nn({},O),L)if(de in V)for(me=(ke=L[de].split(",")).length;me--;)V[ke[me]]=V[de];return V}(me,V)),wt=me.length;wt--;)if(~ke.indexOf(me[wt]))for(ct in ht=Fe[wt],"all"===V?(et[wt]=V,At=ht,ft={}):(ft=et[wt]=et[wt]||{},At=V),At)(Lt=ht&&ht[ct])&&((!("kill"in Lt.d)||!0===Lt.d.kill(ct))&&Xt(this,Lt,"_pt"),delete ht[ct]),"all"!==ft&&(ft[ct]=1);return this._initted&&!this._pt&&Ne&&Un(this),this},m.to=function(L,V){return new m(L,V,arguments[2])},m.from=function(L,V){return q(1,arguments)},m.delayedCall=function(L,V,de,me){return new m(V,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:L,onComplete:V,onReverseComplete:V,onCompleteParams:de,onReverseCompleteParams:de,callbackScope:me})},m.fromTo=function(L,V,de){return q(2,arguments)},m.set=function(L,V){return V.duration=0,V.repeatDelay||(V.repeat=0),new m(L,V)},m.killTweensOf=function(L,V,de){return _e.killTweensOf(L,V,de)},m}(Ar);Jt(Fi.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),qt("staggerTo,staggerFrom,staggerFromTo",function(De){Fi[De]=function(){var m=new Yi,O=dn.call(arguments,0);return O.splice("staggerFromTo"===De?5:4,0,0),m[De].apply(m,O)}});var Ao=function(m,O,N){return m[O]=N},ba=function(m,O,N){return m[O](N)},xa=function(m,O,N,L){return m[O](L.fp,N)},lo=function(m,O,N){return m.setAttribute(O,N)},Vo=function(m,O){return W(m[O])?ba:se(m[O])&&m.setAttribute?lo:Ao},So=function(m,O){return O.set(O.t,O.p,Math.round(1e6*(O.s+O.c*m))/1e6,O)},tc=function(m,O){return O.set(O.t,O.p,!!(O.s+O.c*m),O)},as=function(m,O){var N=O._pt,L="";if(!m&&O.b)L=O.b;else if(1===m&&O.e)L=O.e;else{for(;N;)L=N.p+(N.m?N.m(N.s+N.c*m):Math.round(1e4*(N.s+N.c*m))/1e4)+L,N=N._next;L+=O.c}O.set(O.t,O.p,L,O)},Ro=function(m,O){for(var N=O._pt;N;)N.r(m,N.d),N=N._next},us=function(m,O,N,L){for(var de,V=this._pt;V;)de=V._next,V.p===L&&V.modifier(m,O,N),V=de},Ur=function(m){for(var N,L,O=this._pt;O;)L=O._next,O.p===m&&!O.op||O.op===m?Xt(this,O,"_pt"):O.dep||(N=1),O=L;return!N},nc=function(m,O,N,L){L.mSet(m,O,L.m.call(L.tween,N,L.mt),L)},$o=function(m){for(var N,L,V,de,O=m._pt;O;){for(N=O._next,L=V;L&&L.pr>O.pr;)L=L._next;(O._prev=L?L._prev:de)?O._prev._next=O:V=O,(O._next=L)?L._prev=O:de=O,O=N}m._pt=V},$i=function(){function De(O,N,L,V,de,me,ke,Fe,Ne){this.t=N,this.s=V,this.c=de,this.p=L,this.r=me||So,this.d=ke||this,this.set=Fe||Ao,this.pr=Ne||0,this._next=O,O&&(O._prev=this)}return De.prototype.modifier=function(N,L,V){this.mSet=this.mSet||this.set,this.set=nc,this.m=N,this.mt=V,this.tween=L},De}();qt(Mt+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(De){return mt[De]=1}),at.TweenMax=at.TweenLite=Fi,at.TimelineLite=at.TimelineMax=Yi,_e=new Yi({sortChildren:!1,defaults:c,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),h.stringFilter=js;var Ho={registerPlugin:function(){for(var m=arguments.length,O=new Array(m),N=0;N1){var L=m.map(function(Ne){return pi.quickSetter(Ne,O,N)}),V=L.length;return function(Ne){for(var et=V;et--;)L[et](Ne)}}var de=En[O],me=Yt(m=m[0]||{}),ke=me.harness&&(me.harness.aliases||{})[O]||O,Fe=de?function(Ne){var et=new de;hi._pt=0,et.init(m,N?Ne+N:Ne,hi,0,[m]),et.render(1,et),hi._pt&&Ro(1,hi)}:me.set(m,ke);return de?Fe:function(Ne){return Fe(m,ke,N?Ne+N:Ne,me,1)}},quickTo:function(m,O,N){var L,V=pi.to(m,nn(((L={})[O]="+=0.1",L.paused=!0,L),N||{})),de=function(ke,Fe,Ne){return V.resetTo(O,ke,Fe,Ne)};return de.tween=V,de},isTweening:function(m){return _e.getTweensOf(m,!0).length>0},defaults:function(m){return m&&m.ease&&(m.ease=Vi(m.ease,c.ease)),vn(c,m||{})},config:function(m){return vn(h,m||{})},registerEffect:function(m){var O=m.name,N=m.effect,V=m.defaults,de=m.extendTimeline;(m.plugins||"").split(",").forEach(function(me){return me&&!En[me]&&!at[me]&&$e(O+" effect requires "+me+" plugin.")}),un[O]=function(me,ke,Fe){return N(wi(me),Jt(ke||{},V),Fe)},de&&(Yi.prototype[O]=function(me,ke,Fe){return this.add(un[O](me,Y(ke)?ke:(Fe=ke)&&{},this),Fe)})},registerEase:function(m,O){Hn[m]=Vi(O)},parseEase:function(m,O){return arguments.length?Vi(m,O):Hn},getById:function(m){return _e.getById(m)},exportRoot:function(m,O){void 0===m&&(m={});var L,V,N=new Yi(m);for(N.smoothChildTiming=re(m.smoothChildTiming),_e.remove(N),N._dp=0,N._time=N._tTime=_e._time,L=_e._first;L;)V=L._next,(O||!(!L._dur&&L instanceof Fi&&L.vars.onComplete===L._targets[0]))&&_t(N,L,L._start-L._delay),L=V;return _t(_e,N,0),N},utils:{wrap:function De(m,O,N){var L=O-m;return F(m)?Ot(m,De(0,m.length),O):fe(N,function(V){return(L+(V-m)%L)%L+m})},wrapYoyo:function De(m,O,N){var L=O-m,V=2*L;return F(m)?Ot(m,De(0,m.length-1),O):fe(N,function(de){return m+((de=(V+(de-m)%V)%V||0)>L?V-de:de)})},distribute:zi,random:xs,snap:tr,normalize:function(m,O,N){return an(m,O,0,1,N)},getUnit:it,clamp:function(m,O,N){return fe(N,function(L){return We(m,O,L)})},splitColor:Ki,toArray:wi,selector:function(m){return m=wi(m)[0]||$e("Invalid scope")||{},function(O){var N=m.current||m.nativeElement||m;return wi(O,N.querySelectorAll?N:N===m?$e("Invalid scope")||dt.createElement("div"):m)}},mapRange:an,pipe:function(){for(var m=arguments.length,O=new Array(m),N=0;N=0?Hr[de]:"")+m},jr=function(){typeof window<"u"&&window.document&&(uo=window,Vr=(ar=uo.document).documentElement,_r=Us("div")||{style:{}},Us("div"),Sn=yr(Sn),Ds=Sn+"Origin",_r.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",cr=!!yr("perspective"),To=1)},wo=function De(m){var de,O=Us("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),N=this.parentNode,L=this.nextSibling,V=this.style.cssText;if(Vr.appendChild(O),O.appendChild(this),this.style.display="block",m)try{de=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=De}catch{}else this._gsapBBox&&(de=this._gsapBBox());return N&&(L?N.insertBefore(this,L):N.appendChild(this)),Vr.removeChild(O),this.style.cssText=V,de},Xo=function(m,O){for(var N=O.length;N--;)if(m.hasAttribute(O[N]))return m.getAttribute(O[N])},Kr=function(m){var O;try{O=m.getBBox()}catch{O=wo.call(m,!0)}return O&&(O.width||O.height)||m.getBBox===wo||(O=wo.call(m,!0)),!O||O.width||O.x||O.y?O:{x:+Xo(m,["x","cx","x1"])||0,y:+Xo(m,["y","cy","y1"])||0,width:0,height:0}},Pn=function(m){return!(!m.getCTM||m.parentNode&&!m.ownerSVGElement||!Kr(m))},es=function(m,O){if(O){var N=m.style;O in Rr&&O!==Ds&&(O=Sn),N.removeProperty?(("ms"===O.substr(0,2)||"webkit"===O.substr(0,6))&&(O="-"+O),N.removeProperty(O.replace(Ba,"-$1").toLowerCase())):N.removeAttribute(O)}},ts=function(m,O,N,L,V,de){var me=new $i(m._pt,O,N,0,1,de?Oi:da);return m._pt=me,me.b=L,me.e=V,m._props.push(N),me},Rn={deg:1,rad:1,turn:1},ds=function De(m,O,N,L){var At,ct,Lt,wt,V=parseFloat(N)||0,de=(N+"").trim().substr((V+"").length)||"px",me=_r.style,ke=nl.test(O),Fe="svg"===m.tagName.toLowerCase(),Ne=(Fe?"client":"offset")+(ke?"Width":"Height"),ht="px"===L,ft="%"===L;return L===de||!V||Rn[L]||Rn[de]?V:("px"!==de&&!ht&&(V=De(m,O,N,"px")),wt=m.getCTM&&Pn(m),!ft&&"%"!==de||!Rr[O]&&!~O.indexOf("adius")?(me[ke?"width":"height"]=100+(ht?de:L),ct=~O.indexOf("adius")||"em"===L&&m.appendChild&&!Fe?m:m.parentNode,wt&&(ct=(m.ownerSVGElement||{}).parentNode),(!ct||ct===ar||!ct.appendChild)&&(ct=ar.body),(Lt=ct._gsap)&&ft&&Lt.width&&ke&&Lt.time===Bn.time?Qe(V/Lt.width*100):((ft||"%"===de)&&(me.position=As(m,"position")),ct===m&&(me.position="static"),ct.appendChild(_r),At=_r[Ne],ct.removeChild(_r),me.position="absolute",ke&&ft&&((Lt=Yt(ct)).time=Bn.time,Lt.width=ct[Ne]),Qe(ht?At*V/100:At&&V?100/At*V:0))):(At=wt?m.getBBox()[ke?"width":"height"]:m[Ne],Qe(ft?V/At*100:V/100*At)))},hs=function(m,O,N,L){var V;return To||jr(),O in fo&&"transform"!==O&&~(O=fo[O]).indexOf(",")&&(O=O.split(",")[0]),Rr[O]&&"transform"!==O?(V=zr(m,L),V="transformOrigin"!==O?V[O]:V.svg?V.origin:Mr(As(m,Ds))+" "+V.zOrigin+"px"):(!(V=m.style[O])||"auto"===V||L||~(V+"").indexOf("calc("))&&(V=bo[O]&&bo[O](m,O,N)||As(m,O)||St(m,O)||("opacity"===O?1:0)),N&&!~(V+"").trim().indexOf(" ")?ds(m,O,V,N)+N:V},Gs=function(m,O,N,L){if(!N||"none"===N){var V=yr(O,m,1),de=V&&As(m,V,1);de&&de!==N?(O=V,N=de):"borderColor"===O&&(N=As(m,"borderTopColor"))}var Ne,et,ht,ft,At,ct,Lt,wt,Kt,en,Pt,me=new $i(this._pt,m.style,O,0,1,as),ke=0,Fe=0;if(me.b=N,me.e=L,N+="","auto"==(L+="")&&(m.style[O]=L,L=As(m,O)||L,m.style[O]=N),js(Ne=[N,L]),L=Ne[1],ht=(N=Ne[0]).match(J)||[],(L.match(J)||[]).length){for(;et=J.exec(L);)Lt=et[0],Kt=L.substring(ke,et.index),At?At=(At+1)%5:("rgba("===Kt.substr(-5)||"hsla("===Kt.substr(-5))&&(At=1),Lt!==(ct=ht[Fe++]||"")&&(ft=parseFloat(ct)||0,Pt=ct.substr((ft+"").length),"="===Lt.charAt(1)&&(Lt=Ie(ft,Lt)+Pt),wt=parseFloat(Lt),en=Lt.substr((wt+"").length),ke=J.lastIndex-en.length,en||(en=en||h.units[O]||Pt,ke===L.length&&(L+=en,me.e+=en)),Pt!==en&&(ft=ds(m,O,ct,en)||0),me._pt={_next:me._pt,p:Kt||1===Fe?Kt:",",s:ft,c:wt-ft,m:At&&At<4||"zIndex"===O?Math.round:0});me.c=ke-1;)Rr[me=V[Fe]]&&(ke=1,me="transformOrigin"===me?Ds:Sn),es(N,me);ke&&(es(N,Sn),de&&(de.svg&&N.removeAttribute("transform"),zr(N,1),de.uncache=1))}},bo={clearProps:function(m,O,N,L,V){if("isFromStart"!==V.data){var de=m._pt=new $i(m._pt,O,N,0,0,sc);return de.u=L,de.pr=-10,de.tween=V,m._props.push(N),1}}},Tr=[1,0,0,1,0,0],Ss={},Xr=function(m){return"matrix(1, 0, 0, 1, 0, 0)"===m||"none"===m||!m},ha=function(m){var O=As(m,Sn);return Xr(O)?Tr:O.substr(7).match(te).map(Qe)},Yr=function(m,O){var de,me,ke,Fe,N=m._gsap||Yt(m),L=m.style,V=ha(m);return N.svg&&m.getAttribute("transform")?"1,0,0,1,0,0"===(V=[(ke=m.transform.baseVal.consolidate().matrix).a,ke.b,ke.c,ke.d,ke.e,ke.f]).join(",")?Tr:V:(V===Tr&&!m.offsetParent&&m!==Vr&&!N.svg&&(ke=L.display,L.display="block",(!(de=m.parentNode)||!m.offsetParent)&&(Fe=1,me=m.nextSibling,Vr.appendChild(m)),V=ha(m),ke?L.display=ke:es(m,"display"),Fe&&(me?de.insertBefore(m,me):de?de.appendChild(m):Vr.removeChild(m))),O&&V.length>6?[V[0],V[1],V[4],V[5],V[12],V[13]]:V)},xi=function(m,O,N,L,V,de){var cn,_n,gn,me=m._gsap,ke=V||Yr(m,!0),Fe=me.xOrigin||0,Ne=me.yOrigin||0,et=me.xOffset||0,ht=me.yOffset||0,ft=ke[0],At=ke[1],ct=ke[2],Lt=ke[3],wt=ke[4],Kt=ke[5],en=O.split(" "),Pt=parseFloat(en[0])||0,$t=parseFloat(en[1])||0;N?ke!==Tr&&(_n=ft*Lt-At*ct)&&(gn=Pt*(-At/_n)+$t*(ft/_n)-(ft*Kt-At*wt)/_n,Pt=Pt*(Lt/_n)+$t*(-ct/_n)+(ct*Kt-Lt*wt)/_n,$t=gn):(Pt=(cn=Kr(m)).x+(~en[0].indexOf("%")?Pt/100*cn.width:Pt),$t=cn.y+(~(en[1]||en[0]).indexOf("%")?$t/100*cn.height:$t)),L||!1!==L&&me.smooth?(me.xOffset=et+((wt=Pt-Fe)*ft+(Kt=$t-Ne)*ct)-wt,me.yOffset=ht+(wt*At+Kt*Lt)-Kt):me.xOffset=me.yOffset=0,me.xOrigin=Pt,me.yOrigin=$t,me.smooth=!!L,me.origin=O,me.originIsAbsolute=!!N,m.style[Ds]="0px 0px",de&&(ts(de,me,"xOrigin",Fe,Pt),ts(de,me,"yOrigin",Ne,$t),ts(de,me,"xOffset",et,me.xOffset),ts(de,me,"yOffset",ht,me.yOffset)),m.setAttribute("data-svg-origin",Pt+" "+$t)},zr=function(m,O){var N=m._gsap||new Fr(m);if("x"in N&&!O&&!N.uncache)return N;var Fe,Ne,et,ht,ft,At,ct,Lt,wt,Kt,en,Pt,$t,cn,_n,sn,gn,ci,Ii,Ui,is,Ai,Qi,Ti,Nn,go,Nr,Ys,wr,Po,Mi,br,L=m.style,V=N.scaleX<0,me="deg",ke=As(m,Ds)||"0";return Fe=Ne=et=At=ct=Lt=wt=Kt=en=0,ht=ft=1,N.svg=!(!m.getCTM||!Pn(m)),cn=Yr(m,N.svg),N.svg&&(Ti=(!N.uncache||"0px 0px"===ke)&&!O&&m.getAttribute("data-svg-origin"),xi(m,Ti||ke,!!Ti||N.originIsAbsolute,!1!==N.smooth,cn)),Pt=N.xOrigin||0,$t=N.yOrigin||0,cn!==Tr&&(ci=cn[0],Ii=cn[1],Ui=cn[2],is=cn[3],Fe=Ai=cn[4],Ne=Qi=cn[5],6===cn.length?(ht=Math.sqrt(ci*ci+Ii*Ii),ft=Math.sqrt(is*is+Ui*Ui),At=ci||Ii?mi(Ii,ci)*Or:0,(wt=Ui||is?mi(Ui,is)*Or+At:0)&&(ft*=Math.abs(Math.cos(wt*$r))),N.svg&&(Fe-=Pt-(Pt*ci+$t*Ui),Ne-=$t-(Pt*Ii+$t*is))):(Po=cn[7],Nr=cn[8],Ys=cn[9],Mi=cn[11],Fe=cn[12],Ne=cn[13],et=cn[14],ct=(_n=mi(br=cn[6],wr=cn[10]))*Or,_n&&(Ti=Ai*(sn=Math.cos(-_n))+Nr*(gn=Math.sin(-_n)),Nn=Qi*sn+Ys*gn,go=br*sn+wr*gn,Nr=Ai*-gn+Nr*sn,Ys=Qi*-gn+Ys*sn,wr=br*-gn+wr*sn,Mi=Po*-gn+Mi*sn,Ai=Ti,Qi=Nn,br=go),Lt=(_n=mi(-Ui,wr))*Or,_n&&(sn=Math.cos(-_n),Mi=is*(gn=Math.sin(-_n))+Mi*sn,ci=Ti=ci*sn-Nr*gn,Ii=Nn=Ii*sn-Ys*gn,Ui=go=Ui*sn-wr*gn),At=(_n=mi(Ii,ci))*Or,_n&&(Ti=ci*(sn=Math.cos(_n))+Ii*(gn=Math.sin(_n)),Nn=Ai*sn+Qi*gn,Ii=Ii*sn-ci*gn,Qi=Qi*sn-Ai*gn,ci=Ti,Ai=Nn),ct&&Math.abs(ct)+Math.abs(At)>359.9&&(ct=At=0,Lt=180-Lt),ht=Qe(Math.sqrt(ci*ci+Ii*Ii+Ui*Ui)),ft=Qe(Math.sqrt(Qi*Qi+br*br)),_n=mi(Ai,Qi),wt=Math.abs(_n)>2e-4?_n*Or:0,en=Mi?1/(Mi<0?-Mi:Mi):0),N.svg&&(Ti=m.getAttribute("transform"),N.forceCSS=m.setAttribute("transform","")||!Xr(As(m,Sn)),Ti&&m.setAttribute("transform",Ti))),Math.abs(wt)>90&&Math.abs(wt)<270&&(V?(ht*=-1,wt+=At<=0?180:-180,At+=At<=0?180:-180):(ft*=-1,wt+=wt<=0?180:-180)),O=O||N.uncache,N.x=Fe-((N.xPercent=Fe&&(!O&&N.xPercent||(Math.round(m.offsetWidth/2)===Math.round(-Fe)?-50:0)))?m.offsetWidth*N.xPercent/100:0)+"px",N.y=Ne-((N.yPercent=Ne&&(!O&&N.yPercent||(Math.round(m.offsetHeight/2)===Math.round(-Ne)?-50:0)))?m.offsetHeight*N.yPercent/100:0)+"px",N.z=et+"px",N.scaleX=Qe(ht),N.scaleY=Qe(ft),N.rotation=Qe(At)+me,N.rotationX=Qe(ct)+me,N.rotationY=Qe(Lt)+me,N.skewX=wt+me,N.skewY=Kt+me,N.transformPerspective=en+"px",(N.zOrigin=parseFloat(ke.split(" ")[2])||0)&&(L[Ds]=Mr(ke)),N.xOffset=N.yOffset=0,N.force3D=h.force3D,N.renderTransform=N.svg?xo:cr?Yo:rc,N.uncache=0,N},Mr=function(m){return(m=m.split(" "))[0]+" "+m[1]},ka=function(m,O,N){var L=it(O);return Qe(parseFloat(O)+parseFloat(ds(m,"x",N+"px",L)))+L},rc=function(m,O){O.z="0px",O.rotationY=O.rotationX="0deg",O.force3D=0,Yo(m,O)},lr="0deg",ns="0px",It=") ",Yo=function(m,O){var N=O||this,L=N.xPercent,V=N.yPercent,de=N.x,me=N.y,ke=N.z,Fe=N.rotation,Ne=N.rotationY,et=N.rotationX,ht=N.skewX,ft=N.skewY,At=N.scaleX,ct=N.scaleY,Lt=N.transformPerspective,wt=N.force3D,Kt=N.target,en=N.zOrigin,Pt="",$t="auto"===wt&&m&&1!==m||!0===wt;if(en&&(et!==lr||Ne!==lr)){var gn,cn=parseFloat(Ne)*$r,_n=Math.sin(cn),sn=Math.cos(cn);cn=parseFloat(et)*$r,gn=Math.cos(cn),de=ka(Kt,de,_n*gn*-en),me=ka(Kt,me,-Math.sin(cn)*-en),ke=ka(Kt,ke,sn*gn*-en+en)}Lt!==ns&&(Pt+="perspective("+Lt+It),(L||V)&&(Pt+="translate("+L+"%, "+V+"%) "),($t||de!==ns||me!==ns||ke!==ns)&&(Pt+=ke!==ns||$t?"translate3d("+de+", "+me+", "+ke+") ":"translate("+de+", "+me+It),Fe!==lr&&(Pt+="rotate("+Fe+It),Ne!==lr&&(Pt+="rotateY("+Ne+It),et!==lr&&(Pt+="rotateX("+et+It),(ht!==lr||ft!==lr)&&(Pt+="skew("+ht+", "+ft+It),(1!==At||1!==ct)&&(Pt+="scale("+At+", "+ct+It),Kt.style[Sn]=Pt||"translate(0, 0)"},xo=function(m,O){var $t,cn,_n,sn,gn,N=O||this,L=N.xPercent,V=N.yPercent,de=N.x,me=N.y,ke=N.rotation,Fe=N.skewX,Ne=N.skewY,et=N.scaleX,ht=N.scaleY,ft=N.target,At=N.xOrigin,ct=N.yOrigin,Lt=N.xOffset,wt=N.yOffset,Kt=N.forceCSS,en=parseFloat(de),Pt=parseFloat(me);ke=parseFloat(ke),Fe=parseFloat(Fe),(Ne=parseFloat(Ne))&&(Fe+=Ne=parseFloat(Ne),ke+=Ne),ke||Fe?(ke*=$r,Fe*=$r,$t=Math.cos(ke)*et,cn=Math.sin(ke)*et,_n=Math.sin(ke-Fe)*-ht,sn=Math.cos(ke-Fe)*ht,Fe&&(Ne*=$r,gn=Math.tan(Fe-Ne),_n*=gn=Math.sqrt(1+gn*gn),sn*=gn,Ne&&(gn=Math.tan(Ne),$t*=gn=Math.sqrt(1+gn*gn),cn*=gn)),$t=Qe($t),cn=Qe(cn),_n=Qe(_n),sn=Qe(sn)):($t=et,sn=ht,cn=_n=0),(en&&!~(de+"").indexOf("px")||Pt&&!~(me+"").indexOf("px"))&&(en=ds(ft,"x",de,"px"),Pt=ds(ft,"y",me,"px")),(At||ct||Lt||wt)&&(en=Qe(en+At-(At*$t+ct*_n)+Lt),Pt=Qe(Pt+ct-(At*cn+ct*sn)+wt)),(L||V)&&(gn=ft.getBBox(),en=Qe(en+L/100*gn.width),Pt=Qe(Pt+V/100*gn.height)),ft.setAttribute("transform",gn="matrix("+$t+","+cn+","+_n+","+sn+","+en+","+Pt+")"),Kt&&(ft.style[Sn]=gn)},b=function(m,O,N,L,V){var et,ht,de=360,me=B(V),Fe=parseFloat(V)*(me&&~V.indexOf("rad")?Or:1)-L,Ne=L+Fe+"deg";return me&&("short"===(et=V.split("_")[1])&&(Fe%=de)!=Fe%180&&(Fe+=Fe<0?de:-de),"cw"===et&&Fe<0?Fe=(Fe+de*Fa)%de-~~(Fe/de)*de:"ccw"===et&&Fe>0&&(Fe=(Fe-de*Fa)%de-~~(Fe/de)*de)),m._pt=ht=new $i(m._pt,O,N,L,Fe,Wt),ht.e=Ne,ht.u="deg",m._props.push(N),ht},ge=function(m,O){for(var N in O)m[N]=O[N];return m},z=function(m,O,N){var me,ke,Fe,Ne,et,ht,At,L=ge({},N._gsap),de=N.style;for(ke in L.svg?(Fe=N.getAttribute("transform"),N.setAttribute("transform",""),de[Sn]=O,me=zr(N,1),es(N,Sn),N.setAttribute("transform",Fe)):(Fe=getComputedStyle(N)[Sn],de[Sn]=O,me=zr(N,1),de[Sn]=Fe),Rr)(Fe=L[ke])!==(Ne=me[ke])&&"perspective,force3D,transformOrigin,svgOrigin".indexOf(ke)<0&&(et=it(Fe)!==(At=it(Ne))?ds(N,ke,Fe,At):parseFloat(Fe),ht=parseFloat(Ne),m._pt=new $i(m._pt,me,ke,et,ht-et,pn),m._pt.u=At||0,m._props.push(ke));ge(me,L)};qt("padding,margin,Width,Radius",function(De,m){var O="Top",N="Right",L="Bottom",V="Left",de=(m<3?[O,N,L,V]:[O+V,O+N,L+N,L+V]).map(function(me){return m<2?De+me:"border"+me+De});bo[m>1?"border"+De:De]=function(me,ke,Fe,Ne,et){var ht,ft;if(arguments.length<4)return ht=de.map(function(At){return hs(me,At,Fe)}),5===(ft=ht.join(" ")).split(ht[0]).length?ht[0]:ft;ht=(Ne+"").split(" "),ft={},de.forEach(function(At,ct){return ft[At]=ht[ct]=ht[ct]||ht[(ct-1)/2|0]}),me.init(ke,ft,et)}});var oe={name:"css",register:jr,targetTest:function(m){return m.style&&m.nodeType},init:function(m,O,N,L,V){var Fe,Ne,et,ht,ft,At,ct,Lt,wt,Kt,en,Pt,$t,cn,_n,de=this._props,me=m.style,ke=N.vars.startAt;for(ct in To||jr(),O)if("autoRound"!==ct&&(Ne=O[ct],!En[ct]||!sr(ct,O,N,L,m,V)))if(At=bo[ct],"function"==(ft=typeof Ne)&&(ft=typeof(Ne=Ne.call(N,L,m,V))),"string"===ft&&~Ne.indexOf("random(")&&(Ne=zt(Ne)),At)At(this,m,ct,Ne,N)&&(_n=1);else if("--"===ct.substr(0,2))Fe=(getComputedStyle(m).getPropertyValue(ct)+"").trim(),Ne+="",Wi.lastIndex=0,Wi.test(Fe)||(Lt=it(Fe),wt=it(Ne)),wt?Lt!==wt&&(Fe=ds(m,ct,Fe,wt)+wt):Lt&&(Ne+=Lt),this.add(me,"setProperty",Fe,Ne,L,V,0,0,ct),de.push(ct);else if("undefined"!==ft){if(ke&&ct in ke?(Fe="function"==typeof ke[ct]?ke[ct].call(N,L,m,V):ke[ct],B(Fe)&&~Fe.indexOf("random(")&&(Fe=zt(Fe)),it(Fe+"")||(Fe+=h.units[ct]||it(hs(m,ct))||""),"="===(Fe+"").charAt(1)&&(Fe=hs(m,ct))):Fe=hs(m,ct),ht=parseFloat(Fe),(Kt="string"===ft&&"="===Ne.charAt(1)&&Ne.substr(0,2))&&(Ne=Ne.substr(2)),et=parseFloat(Ne),ct in fo&&("autoAlpha"===ct&&(1===ht&&"hidden"===hs(m,"visibility")&&et&&(ht=0),ts(this,me,"visibility",ht?"inherit":"hidden",et?"inherit":"hidden",!et)),"scale"!==ct&&"transform"!==ct&&~(ct=fo[ct]).indexOf(",")&&(ct=ct.split(",")[0])),en=ct in Rr)if(Pt||(($t=m._gsap).renderTransform&&!O.parseTransform||zr(m,O.parseTransform),cn=!1!==O.smoothOrigin&&$t.smooth,(Pt=this._pt=new $i(this._pt,me,Sn,0,1,$t.renderTransform,$t,0,-1)).dep=1),"scale"===ct)this._pt=new $i(this._pt,$t,"scaleY",$t.scaleY,(Kt?Ie($t.scaleY,Kt+et):et)-$t.scaleY||0),de.push("scaleY",ct),ct+="X";else{if("transformOrigin"===ct){Ne=Xs(Ne),$t.svg?xi(m,Ne,0,cn,0,this):((wt=parseFloat(Ne.split(" ")[2])||0)!==$t.zOrigin&&ts(this,$t,"zOrigin",$t.zOrigin,wt),ts(this,me,ct,Mr(Fe),Mr(Ne)));continue}if("svgOrigin"===ct){xi(m,Ne,1,cn,0,this);continue}if(ct in Ss){b(this,$t,ct,ht,Kt?Ie(ht,Kt+Ne):Ne);continue}if("smoothOrigin"===ct){ts(this,$t,"smooth",$t.smooth,Ne);continue}if("force3D"===ct){$t[ct]=Ne;continue}if("transform"===ct){z(this,Ne,m);continue}}else ct in me||(ct=yr(ct)||ct);if(en||(et||0===et)&&(ht||0===ht)&&!Dc.test(Ne)&&ct in me)et||(et=0),(Lt=(Fe+"").substr((ht+"").length))!==(wt=it(Ne)||(ct in h.units?h.units[ct]:Lt))&&(ht=ds(m,ct,Fe,wt)),this._pt=new $i(this._pt,en?$t:me,ct,ht,(Kt?Ie(ht,Kt+et):et)-ht,en||"px"!==wt&&"zIndex"!==ct||!1===O.autoRound?pn:Mo),this._pt.u=wt||0,Lt!==wt&&"%"!==wt&&(this._pt.b=Fe,this._pt.r=Qn);else if(ct in me)Gs.call(this,m,ct,Fe,Kt?Kt+Ne:Ne);else{if(!(ct in m)){Ce(ct,Ne);continue}this.add(m,ct,Fe||m[ct],Kt?Kt+Ne:Ne,L,V)}de.push(ct)}_n&&$o(this)},get:hs,aliases:fo,getSetter:function(m,O,N){var L=fo[O];return L&&L.indexOf(",")<0&&(O=L),O in Rr&&O!==Ds&&(m._gsap.x||hs(m,"x"))?N&&ks===N?"scale"===O?Bi:vi:(ks=N||{})&&("scale"===O?Os:ki):m.style&&!se(m.style[O])?No:~O.indexOf("-")?In:Vo(m,O)},core:{_removeProperty:es,_getMatrix:Yr}};pi.utils.checkPrefix=yr,function(De,m,O,N){var L=qt(De+","+m+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",function(V){Rr[V]=1});qt(m,function(V){h.units[V]="deg",Ss[V]=1}),fo[L[13]]=De+","+m,qt("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",function(V){var de=V.split(":");fo[de[1]]=L[de[0]]})}("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY"),qt("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(De){h.units[De]="px"}),pi.registerPlugin(oe);var Se=pi.registerPlugin(oe)||pi},84412:(Me,K,o)=>{"use strict";o.d(K,{t:()=>e});var u=o(21413);class e extends u.B{constructor(c){super(),this._value=c}get value(){return this.getValue()}_subscribe(c){const v=super._subscribe(c);return!v.closed&&c.next(this._value),v}getValue(){const{hasError:c,thrownError:v,_value:y}=this;if(c)throw v;return this._throwIfClosed(),y}next(c){super.next(this._value=c)}}},71985:(Me,K,o)=>{"use strict";o.d(K,{c:()=>T});var u=o(47707),e=o(18359),h=o(3494),c=o(71203),v=o(41026),y=o(98071),R=o(49786);let T=(()=>{class x{constructor(B){B&&(this._subscribe=B)}lift(B){const W=new x;return W.source=this,W.operator=B,W}subscribe(B,W,ee){const se=function C(x){return x&&x instanceof u.vU||function S(x){return x&&(0,y.T)(x.next)&&(0,y.T)(x.error)&&(0,y.T)(x.complete)}(x)&&(0,e.Uv)(x)}(B)?B:new u.Ms(B,W,ee);return(0,R.Y)(()=>{const{operator:Y,source:re}=this;se.add(Y?Y.call(se,re):re?this._subscribe(se):this._trySubscribe(se))}),se}_trySubscribe(B){try{return this._subscribe(B)}catch(W){B.error(W)}}forEach(B,W){return new(W=A(W))((ee,se)=>{const Y=new u.Ms({next:re=>{try{B(re)}catch(ve){se(ve),Y.unsubscribe()}},error:se,complete:ee});this.subscribe(Y)})}_subscribe(B){var W;return null===(W=this.source)||void 0===W?void 0:W.subscribe(B)}[h.s](){return this}pipe(...B){return(0,c.m)(B)(this)}toPromise(B){return new(B=A(B))((W,ee)=>{let se;this.subscribe(Y=>se=Y,Y=>ee(Y),()=>W(se))})}}return x.create=P=>new x(P),x})();function A(x){var P;return null!==(P=x??v.$.Promise)&&void 0!==P?P:Promise}},92771:(Me,K,o)=>{"use strict";o.d(K,{m:()=>h});var u=o(21413),e=o(86129);class h extends u.B{constructor(v=1/0,y=1/0,R=e.U){super(),this._bufferSize=v,this._windowTime=y,this._timestampProvider=R,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=y===1/0,this._bufferSize=Math.max(1,v),this._windowTime=Math.max(1,y)}next(v){const{isStopped:y,_buffer:R,_infiniteTimeWindow:T,_timestampProvider:A,_windowTime:S}=this;y||(R.push(v),!T&&R.push(A.now()+S)),this._trimBuffer(),super.next(v)}_subscribe(v){this._throwIfClosed(),this._trimBuffer();const y=this._innerSubscribe(v),{_infiniteTimeWindow:R,_buffer:T}=this,A=T.slice();for(let S=0;S{"use strict";o.d(K,{B:()=>R});var u=o(71985),e=o(18359);const c=(0,o(81853).L)(A=>function(){A(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var v=o(57908),y=o(49786);let R=(()=>{class A extends u.c{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(C){const x=new T(this,this);return x.operator=C,x}_throwIfClosed(){if(this.closed)throw new c}next(C){(0,y.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const x of this.currentObservers)x.next(C)}})}error(C){(0,y.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=C;const{observers:x}=this;for(;x.length;)x.shift().error(C)}})}complete(){(0,y.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:C}=this;for(;C.length;)C.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var C;return(null===(C=this.observers)||void 0===C?void 0:C.length)>0}_trySubscribe(C){return this._throwIfClosed(),super._trySubscribe(C)}_subscribe(C){return this._throwIfClosed(),this._checkFinalizedStatuses(C),this._innerSubscribe(C)}_innerSubscribe(C){const{hasError:x,isStopped:P,observers:B}=this;return x||P?e.Kn:(this.currentObservers=null,B.push(C),new e.yU(()=>{this.currentObservers=null,(0,v.o)(B,C)}))}_checkFinalizedStatuses(C){const{hasError:x,thrownError:P,isStopped:B}=this;x?C.error(P):B&&C.complete()}asObservable(){const C=new u.c;return C.source=this,C}}return A.create=(S,C)=>new T(S,C),A})();class T extends R{constructor(S,C){super(),this.destination=S,this.source=C}next(S){var C,x;null===(x=null===(C=this.destination)||void 0===C?void 0:C.next)||void 0===x||x.call(C,S)}error(S){var C,x;null===(x=null===(C=this.destination)||void 0===C?void 0:C.error)||void 0===x||x.call(C,S)}complete(){var S,C;null===(C=null===(S=this.destination)||void 0===S?void 0:S.complete)||void 0===C||C.call(S)}_subscribe(S){var C,x;return null!==(x=null===(C=this.source)||void 0===C?void 0:C.subscribe(S))&&void 0!==x?x:e.Kn}}},47707:(Me,K,o)=>{"use strict";o.d(K,{Ms:()=>ee,vU:()=>x});var u=o(98071),e=o(18359),h=o(41026),c=o(45334),v=o(85343);const y=A("C",void 0,void 0);function A(le,Ee,F){return{kind:le,value:Ee,error:F}}var S=o(19270),C=o(49786);class x extends e.yU{constructor(Ee){super(),this.isStopped=!1,Ee?(this.destination=Ee,(0,e.Uv)(Ee)&&Ee.add(this)):this.destination=ve}static create(Ee,F,j){return new ee(Ee,F,j)}next(Ee){this.isStopped?re(function T(le){return A("N",le,void 0)}(Ee),this):this._next(Ee)}error(Ee){this.isStopped?re(function R(le){return A("E",void 0,le)}(Ee),this):(this.isStopped=!0,this._error(Ee))}complete(){this.isStopped?re(y,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(Ee){this.destination.next(Ee)}_error(Ee){try{this.destination.error(Ee)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const P=Function.prototype.bind;function B(le,Ee){return P.call(le,Ee)}class W{constructor(Ee){this.partialObserver=Ee}next(Ee){const{partialObserver:F}=this;if(F.next)try{F.next(Ee)}catch(j){se(j)}}error(Ee){const{partialObserver:F}=this;if(F.error)try{F.error(Ee)}catch(j){se(j)}else se(Ee)}complete(){const{partialObserver:Ee}=this;if(Ee.complete)try{Ee.complete()}catch(F){se(F)}}}class ee extends x{constructor(Ee,F,j){let te;if(super(),(0,u.T)(Ee)||!Ee)te={next:Ee??void 0,error:F??void 0,complete:j??void 0};else{let J;this&&h.$.useDeprecatedNextContext?(J=Object.create(Ee),J.unsubscribe=()=>this.unsubscribe(),te={next:Ee.next&&B(Ee.next,J),error:Ee.error&&B(Ee.error,J),complete:Ee.complete&&B(Ee.complete,J)}):te=Ee}this.destination=new W(te)}}function se(le){h.$.useDeprecatedSynchronousErrorHandling?(0,C.l)(le):(0,c.m)(le)}function re(le,Ee){const{onStoppedNotification:F}=h.$;F&&S.f.setTimeout(()=>F(le,Ee))}const ve={closed:!0,next:v.l,error:function Y(le){throw le},complete:v.l}},18359:(Me,K,o)=>{"use strict";o.d(K,{Kn:()=>y,yU:()=>v,Uv:()=>R});var u=o(98071);const h=(0,o(81853).L)(A=>function(C){A(this),this.message=C?`${C.length} errors occurred during unsubscription:\n${C.map((x,P)=>`${P+1}) ${x.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=C});var c=o(57908);class v{constructor(S){this.initialTeardown=S,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let S;if(!this.closed){this.closed=!0;const{_parentage:C}=this;if(C)if(this._parentage=null,Array.isArray(C))for(const B of C)B.remove(this);else C.remove(this);const{initialTeardown:x}=this;if((0,u.T)(x))try{x()}catch(B){S=B instanceof h?B.errors:[B]}const{_finalizers:P}=this;if(P){this._finalizers=null;for(const B of P)try{T(B)}catch(W){S=S??[],W instanceof h?S=[...S,...W.errors]:S.push(W)}}if(S)throw new h(S)}}add(S){var C;if(S&&S!==this)if(this.closed)T(S);else{if(S instanceof v){if(S.closed||S._hasParent(this))return;S._addParent(this)}(this._finalizers=null!==(C=this._finalizers)&&void 0!==C?C:[]).push(S)}}_hasParent(S){const{_parentage:C}=this;return C===S||Array.isArray(C)&&C.includes(S)}_addParent(S){const{_parentage:C}=this;this._parentage=Array.isArray(C)?(C.push(S),C):C?[C,S]:S}_removeParent(S){const{_parentage:C}=this;C===S?this._parentage=null:Array.isArray(C)&&(0,c.o)(C,S)}remove(S){const{_finalizers:C}=this;C&&(0,c.o)(C,S),S instanceof v&&S._removeParent(this)}}v.EMPTY=(()=>{const A=new v;return A.closed=!0,A})();const y=v.EMPTY;function R(A){return A instanceof v||A&&"closed"in A&&(0,u.T)(A.remove)&&(0,u.T)(A.add)&&(0,u.T)(A.unsubscribe)}function T(A){(0,u.T)(A)?A():A.unsubscribe()}},41026:(Me,K,o)=>{"use strict";o.d(K,{$:()=>u});const u={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},30017:(Me,K,o)=>{"use strict";o.d(K,{G:()=>y});var u=o(71985),e=o(18359),h=o(99898),c=o(54360),v=o(39974);class y extends u.c{constructor(T,A){super(),this.source=T,this.subjectFactory=A,this._subject=null,this._refCount=0,this._connection=null,(0,v.S)(T)&&(this.lift=T.lift)}_subscribe(T){return this.getSubject().subscribe(T)}getSubject(){const T=this._subject;return(!T||T.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:T}=this;this._subject=this._connection=null,T?.unsubscribe()}connect(){let T=this._connection;if(!T){T=this._connection=new e.yU;const A=this.getSubject();T.add(this.source.subscribe((0,c._)(A,void 0,()=>{this._teardown(),A.complete()},S=>{this._teardown(),A.error(S)},()=>this._teardown()))),T.closed&&(this._connection=null,T=e.yU.EMPTY)}return T}refCount(){return(0,h.B)()(this)}}},84572:(Me,K,o)=>{"use strict";o.d(K,{z:()=>S});var u=o(71985),e=o(93073),h=o(22806),c=o(33669),v=o(6450),y=o(9326),R=o(58496),T=o(54360),A=o(45225);function S(...P){const B=(0,y.lI)(P),W=(0,y.ms)(P),{args:ee,keys:se}=(0,e.D)(P);if(0===ee.length)return(0,h.H)([],B);const Y=new u.c(function C(P,B,W=c.D){return ee=>{x(B,()=>{const{length:se}=P,Y=new Array(se);let re=se,ve=se;for(let le=0;le{const Ee=(0,h.H)(P[le],B);let F=!1;Ee.subscribe((0,T._)(ee,j=>{Y[le]=j,F||(F=!0,ve--),ve||ee.next(W(Y.slice()))},()=>{--re||ee.complete()}))},ee)},ee)}}(ee,B,se?re=>(0,R.e)(se,re):c.D));return W?Y.pipe((0,v.I)(W)):Y}function x(P,B,W){P?(0,A.N)(W,P,B):B()}},28793:(Me,K,o)=>{"use strict";o.d(K,{x:()=>v});var u=o(26365),h=o(9326),c=o(22806);function v(...y){return function e(){return(0,u.U)(1)}()((0,c.H)(y,(0,h.lI)(y)))}},59030:(Me,K,o)=>{"use strict";o.d(K,{v:()=>h});var u=o(71985),e=o(58750);function h(c){return new u.c(v=>{(0,e.Tg)(c()).subscribe(v)})}},983:(Me,K,o)=>{"use strict";o.d(K,{w:()=>e});const e=new(o(71985).c)(v=>v.complete())},27468:(Me,K,o)=>{"use strict";o.d(K,{p:()=>T});var u=o(71985),e=o(93073),h=o(58750),c=o(9326),v=o(54360),y=o(6450),R=o(58496);function T(...A){const S=(0,c.ms)(A),{args:C,keys:x}=(0,e.D)(A),P=new u.c(B=>{const{length:W}=C;if(!W)return void B.complete();const ee=new Array(W);let se=W,Y=W;for(let re=0;re{ve||(ve=!0,Y--),ee[re]=le},()=>se--,void 0,()=>{(!se||!ve)&&(Y||B.next(x?(0,R.e)(x,ee):ee),B.complete())}))}});return S?P.pipe((0,y.I)(S)):P}},22806:(Me,K,o)=>{"use strict";o.d(K,{H:()=>F});var u=o(58750),e=o(40941),h=o(39974);function c(j,te=0){return(0,h.N)((J,$)=>{$.add(j.schedule(()=>J.subscribe($),te))})}var R=o(71985),A=o(4761),S=o(98071),C=o(45225);function P(j,te){if(!j)throw new Error("Iterable cannot be null");return new R.c(J=>{(0,C.N)(J,te,()=>{const $=j[Symbol.asyncIterator]();(0,C.N)(J,te,()=>{$.next().then(ce=>{ce.done?J.complete():J.next(ce.value)})},0,!0)})})}var B=o(55055),W=o(59858),ee=o(47441),se=o(85397),Y=o(37953),re=o(50591),ve=o(15196);function F(j,te){return te?function Ee(j,te){if(null!=j){if((0,B.l)(j))return function v(j,te){return(0,u.Tg)(j).pipe(c(te),(0,e.Q)(te))}(j,te);if((0,ee.X)(j))return function T(j,te){return new R.c(J=>{let $=0;return te.schedule(function(){$===j.length?J.complete():(J.next(j[$++]),J.closed||this.schedule())})})}(j,te);if((0,W.y)(j))return function y(j,te){return(0,u.Tg)(j).pipe(c(te),(0,e.Q)(te))}(j,te);if((0,Y.T)(j))return P(j,te);if((0,se.x)(j))return function x(j,te){return new R.c(J=>{let $;return(0,C.N)(J,te,()=>{$=j[A.l](),(0,C.N)(J,te,()=>{let ce,ue;try{({value:ce,done:ue}=$.next())}catch(Te){return void J.error(Te)}ue?J.complete():J.next(ce)},0,!0)}),()=>(0,S.T)($?.return)&&$.return()})}(j,te);if((0,ve.U)(j))return function le(j,te){return P((0,ve.C)(j),te)}(j,te)}throw(0,re.L)(j)}(j,te):(0,u.Tg)(j)}},33726:(Me,K,o)=>{"use strict";o.d(K,{R:()=>S});var u=o(58750),e=o(71985),h=o(31397),c=o(47441),v=o(98071),y=o(6450);const R=["addListener","removeListener"],T=["addEventListener","removeEventListener"],A=["on","off"];function S(W,ee,se,Y){if((0,v.T)(se)&&(Y=se,se=void 0),Y)return S(W,ee,se).pipe((0,y.I)(Y));const[re,ve]=function B(W){return(0,v.T)(W.addEventListener)&&(0,v.T)(W.removeEventListener)}(W)?T.map(le=>Ee=>W[le](ee,Ee,se)):function x(W){return(0,v.T)(W.addListener)&&(0,v.T)(W.removeListener)}(W)?R.map(C(W,ee)):function P(W){return(0,v.T)(W.on)&&(0,v.T)(W.off)}(W)?A.map(C(W,ee)):[];if(!re&&(0,c.X)(W))return(0,h.Z)(le=>S(le,ee,se))((0,u.Tg)(W));if(!re)throw new TypeError("Invalid event target");return new e.c(le=>{const Ee=(...F)=>le.next(1ve(Ee)})}function C(W,ee){return se=>Y=>W[se](ee,Y)}},13226:(Me,K,o)=>{"use strict";o.d(K,{T:()=>e});var u=o(59030);function e(h,c,v){return(0,u.v)(()=>h()?c:v)}},58750:(Me,K,o)=>{"use strict";o.d(K,{Tg:()=>P});var u=o(31635),e=o(47441),h=o(59858),c=o(71985),v=o(55055),y=o(37953),R=o(50591),T=o(85397),A=o(15196),S=o(98071),C=o(45334),x=o(3494);function P(le){if(le instanceof c.c)return le;if(null!=le){if((0,v.l)(le))return function B(le){return new c.c(Ee=>{const F=le[x.s]();if((0,S.T)(F.subscribe))return F.subscribe(Ee);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(le);if((0,e.X)(le))return function W(le){return new c.c(Ee=>{for(let F=0;F{le.then(F=>{Ee.closed||(Ee.next(F),Ee.complete())},F=>Ee.error(F)).then(null,C.m)})}(le);if((0,y.T)(le))return Y(le);if((0,T.x)(le))return function se(le){return new c.c(Ee=>{for(const F of le)if(Ee.next(F),Ee.closed)return;Ee.complete()})}(le);if((0,A.U)(le))return function re(le){return Y((0,A.C)(le))}(le)}throw(0,R.L)(le)}function Y(le){return new c.c(Ee=>{(function ve(le,Ee){var F,j,te,J;return(0,u.sH)(this,void 0,void 0,function*(){try{for(F=(0,u.xN)(le);!(j=yield F.next()).done;)if(Ee.next(j.value),Ee.closed)return}catch($){te={error:$}}finally{try{j&&!j.done&&(J=F.return)&&(yield J.call(F))}finally{if(te)throw te.error}}Ee.complete()})})(le,Ee).catch(F=>Ee.error(F))})}},40605:(Me,K,o)=>{"use strict";o.d(K,{Y:()=>h});var u=o(43236),e=o(41584);function h(c=0,v=u.E){return c<0&&(c=0),(0,e.O)(c,c,v)}},57786:(Me,K,o)=>{"use strict";o.d(K,{h:()=>y});var u=o(26365),e=o(58750),h=o(983),c=o(9326),v=o(22806);function y(...R){const T=(0,c.lI)(R),A=(0,c.R0)(R,1/0),S=R;return S.length?1===S.length?(0,e.Tg)(S[0]):(0,u.U)(A)((0,v.H)(S,T)):h.w}},35060:(Me,K,o)=>{"use strict";o.d(K,{t:()=>h});var u=o(71985),e=o(85343);const h=new u.c(e.l)},7673:(Me,K,o)=>{"use strict";o.d(K,{of:()=>h});var u=o(9326),e=o(22806);function h(...c){const v=(0,u.lI)(c);return(0,e.H)(c,v)}},18810:(Me,K,o)=>{"use strict";o.d(K,{$:()=>h});var u=o(71985),e=o(98071);function h(c,v){const y=(0,e.T)(c)?c:()=>c,R=T=>T.error(y());return new u.c(v?T=>v.schedule(R,0,T):R)}},41584:(Me,K,o)=>{"use strict";o.d(K,{O:()=>v});var u=o(71985),e=o(43236),h=o(79470);function v(y=0,R,T=e.b){let A=-1;return null!=R&&((0,h.m)(R)?T=R:A=R),new u.c(S=>{let C=function c(y){return y instanceof Date&&!isNaN(y)}(y)?+y-T.now():y;C<0&&(C=0);let x=0;return T.schedule(function(){S.closed||(S.next(x++),0<=A?this.schedule(void 0,A):S.complete())},C)})}},54360:(Me,K,o)=>{"use strict";o.d(K,{_:()=>e});var u=o(47707);function e(c,v,y,R,T){return new h(c,v,y,R,T)}class h extends u.vU{constructor(v,y,R,T,A,S){super(v),this.onFinalize=A,this.shouldUnsubscribe=S,this._next=y?function(C){try{y(C)}catch(x){v.error(x)}}:super._next,this._error=T?function(C){try{T(C)}catch(x){v.error(x)}finally{this.unsubscribe()}}:super._error,this._complete=R?function(){try{R()}catch(C){v.error(C)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var v;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:y}=this;super.unsubscribe(),!y&&(null===(v=this.onFinalize)||void 0===v||v.call(this))}}}},99437:(Me,K,o)=>{"use strict";o.d(K,{W:()=>c});var u=o(58750),e=o(54360),h=o(39974);function c(v){return(0,h.N)((y,R)=>{let S,T=null,A=!1;T=y.subscribe((0,e._)(R,void 0,void 0,C=>{S=(0,u.Tg)(v(C,c(v)(y))),T?(T.unsubscribe(),T=null,S.subscribe(R)):A=!0})),A&&(T.unsubscribe(),T=null,S.subscribe(R))})}},70274:(Me,K,o)=>{"use strict";o.d(K,{H:()=>h});var u=o(31397),e=o(98071);function h(c,v){return(0,e.T)(v)?(0,u.Z)(c,v,1):(0,u.Z)(c,1)}},72066:(Me,K,o)=>{"use strict";o.d(K,{N:()=>R});var u=o(21413),e=o(58750),h=o(39974),c=o(71985);const y={connector:()=>new u.B};function R(T,A=y){const{connector:S}=A;return(0,h.N)((C,x)=>{const P=S();(0,e.Tg)(T(function v(T){return new c.c(A=>T.subscribe(A))}(P))).subscribe(x),x.add(C.subscribe(P))})}},70152:(Me,K,o)=>{"use strict";o.d(K,{B:()=>c});var u=o(43236),e=o(39974),h=o(54360);function c(v,y=u.E){return(0,e.N)((R,T)=>{let A=null,S=null,C=null;const x=()=>{if(A){A.unsubscribe(),A=null;const B=S;S=null,T.next(B)}};function P(){const B=C+v,W=y.now();if(W{S=B,C=y.now(),A||(A=y.schedule(P,v),T.add(A))},()=>{x(),T.complete()},void 0,()=>{S=A=null}))})}},39901:(Me,K,o)=>{"use strict";o.d(K,{U:()=>h});var u=o(39974),e=o(54360);function h(c){return(0,u.N)((v,y)=>{let R=!1;v.subscribe((0,e._)(y,T=>{R=!0,y.next(T)},()=>{R||y.next(c),y.complete()}))})}},91986:(Me,K,o)=>{"use strict";o.d(K,{c:()=>P});var u=o(43236),e=o(28793),h=o(96697),c=o(39974),v=o(54360),y=o(85343),T=o(73703),A=o(31397),S=o(58750);function C(B,W){return W?ee=>(0,e.x)(W.pipe((0,h.s)(1),function R(){return(0,c.N)((B,W)=>{B.subscribe((0,v._)(W,y.l))})}()),ee.pipe(C(B))):(0,A.Z)((ee,se)=>(0,S.Tg)(B(ee,se)).pipe((0,h.s)(1),(0,T.u)(ee)))}var x=o(41584);function P(B,W=u.E){const ee=(0,x.O)(B,W);return C(()=>ee)}},23294:(Me,K,o)=>{"use strict";o.d(K,{F:()=>c});var u=o(33669),e=o(39974),h=o(54360);function c(y,R=u.D){return y=y??v,(0,e.N)((T,A)=>{let S,C=!0;T.subscribe((0,h._)(A,x=>{const P=R(x);(C||!y(S,P))&&(C=!1,S=P,A.next(x))}))})}function v(y,R){return y===R}},30786:(Me,K,o)=>{"use strict";o.d(K,{p:()=>v});var u=o(96354),e=o(58750),h=o(39974),c=o(54360);function v(y,R){return R?T=>T.pipe(v((A,S)=>(0,e.Tg)(y(A,S)).pipe((0,u.T)((C,x)=>R(A,C,S,x))))):(0,h.N)((T,A)=>{let S=0,C=null,x=!1;T.subscribe((0,c._)(A,P=>{C||(C=(0,c._)(A,void 0,()=>{C=null,x&&A.complete()}),(0,e.Tg)(y(P,S++)).subscribe(C))},()=>{x=!0,!C&&A.complete()}))})}},5964:(Me,K,o)=>{"use strict";o.d(K,{p:()=>h});var u=o(39974),e=o(54360);function h(c,v){return(0,u.N)((y,R)=>{let T=0;y.subscribe((0,e._)(R,A=>c.call(v,A,T++)&&R.next(A)))})}},70980:(Me,K,o)=>{"use strict";o.d(K,{j:()=>e});var u=o(39974);function e(h){return(0,u.N)((c,v)=>{try{c.subscribe(v)}finally{v.add(h)}})}},61594:(Me,K,o)=>{"use strict";o.d(K,{$:()=>R});var u=o(9350),e=o(5964),h=o(96697),c=o(39901),v=o(93774),y=o(33669);function R(T,A){const S=arguments.length>=2;return C=>C.pipe(T?(0,e.p)((x,P)=>T(x,P,C)):y.D,(0,h.s)(1),S?(0,c.U)(A):(0,v.v)(()=>new u.G))}},96354:(Me,K,o)=>{"use strict";o.d(K,{T:()=>h});var u=o(39974),e=o(54360);function h(c,v){return(0,u.N)((y,R)=>{let T=0;y.subscribe((0,e._)(R,A=>{R.next(c.call(v,A,T++))}))})}},73703:(Me,K,o)=>{"use strict";o.d(K,{u:()=>e});var u=o(96354);function e(h){return(0,u.T)(()=>h)}},26365:(Me,K,o)=>{"use strict";o.d(K,{U:()=>h});var u=o(31397),e=o(33669);function h(c=1/0){return(0,u.Z)(e.D,c)}},31397:(Me,K,o)=>{"use strict";o.d(K,{Z:()=>T});var u=o(96354),e=o(58750),h=o(39974),c=o(45225),v=o(54360),R=o(98071);function T(A,S,C=1/0){return(0,R.T)(S)?T((x,P)=>(0,u.T)((B,W)=>S(x,B,P,W))((0,e.Tg)(A(x,P))),C):("number"==typeof S&&(C=S),(0,h.N)((x,P)=>function y(A,S,C,x,P,B,W,ee){const se=[];let Y=0,re=0,ve=!1;const le=()=>{ve&&!se.length&&!Y&&S.complete()},Ee=j=>Y{B&&S.next(j),Y++;let te=!1;(0,e.Tg)(C(j,re++)).subscribe((0,v._)(S,J=>{P?.(J),B?Ee(J):S.next(J)},()=>{te=!0},void 0,()=>{if(te)try{for(Y--;se.length&&YF(J)):F(J)}le()}catch(J){S.error(J)}}))};return A.subscribe((0,v._)(S,Ee,()=>{ve=!0,le()})),()=>{ee?.()}}(x,P,A,C)))}},70354:(Me,K,o)=>{"use strict";o.d(K,{f:()=>c});var u=o(30017),e=o(98071),h=o(72066);function c(v,y){const R=(0,e.T)(v)?v:()=>v;return(0,e.T)(y)?(0,h.N)(y,{connector:R}):T=>new u.G(T,R)}},40941:(Me,K,o)=>{"use strict";o.d(K,{Q:()=>c});var u=o(45225),e=o(39974),h=o(54360);function c(v,y=0){return(0,e.N)((R,T)=>{R.subscribe((0,h._)(T,A=>(0,u.N)(T,v,()=>T.next(A),y),()=>(0,u.N)(T,v,()=>T.complete(),y),A=>(0,u.N)(T,v,()=>T.error(A),y)))})}},13946:(Me,K,o)=>{"use strict";o.d(K,{J:()=>h});var u=o(39974),e=o(54360);function h(){return(0,u.N)((c,v)=>{let y,R=!1;c.subscribe((0,e._)(v,T=>{const A=y;y=T,R&&v.next([A,T]),R=!0}))})}},31927:(Me,K,o)=>{"use strict";o.d(K,{m:()=>c});var u=o(21413),e=o(70354),h=o(72066);function c(v){return v?y=>(0,h.N)(v)(y):y=>(0,e.f)(new u.B)(y)}},99898:(Me,K,o)=>{"use strict";o.d(K,{B:()=>h});var u=o(39974),e=o(54360);function h(){return(0,u.N)((c,v)=>{let y=null;c._refCount++;const R=(0,e._)(v,void 0,void 0,void 0,()=>{if(!c||c._refCount<=0||0<--c._refCount)return void(y=null);const T=c._connection,A=y;y=null,T&&(!A||T===A)&&T.unsubscribe(),v.unsubscribe()});c.subscribe(R),R.closed||(y=c.connect())})}},12498:(Me,K,o)=>{"use strict";o.d(K,{L:()=>y});var u=o(39974),e=o(54360),h=o(33669),c=o(41584),v=o(58750);function y(R=1/0){let T;T=R&&"object"==typeof R?R:{count:R};const{count:A=1/0,delay:S,resetOnSuccess:C=!1}=T;return A<=0?h.D:(0,u.N)((x,P)=>{let W,B=0;const ee=()=>{let se=!1;W=x.subscribe((0,e._)(P,Y=>{C&&(B=0),P.next(Y)},void 0,Y=>{if(B++{W?(W.unsubscribe(),W=null,ee()):se=!0};if(null!=S){const ve="number"==typeof S?(0,c.O)(S):(0,v.Tg)(S(Y,B)),le=(0,e._)(P,()=>{le.unsubscribe(),re()},()=>{P.complete()});ve.subscribe(le)}else re()}else P.error(Y)})),se&&(W.unsubscribe(),W=null,ee())};ee()})}},22816:(Me,K,o)=>{"use strict";o.d(K,{S:()=>c});var u=o(39974),e=o(54360);function c(v,y){return(0,u.N)(function h(v,y,R,T,A){return(S,C)=>{let x=R,P=y,B=0;S.subscribe((0,e._)(C,W=>{const ee=B++;P=x?v(P,W,ee):(x=!0,W),T&&C.next(P)},A&&(()=>{x&&C.next(P),C.complete()})))}}(v,y,arguments.length>=2,!0))}},69568:(Me,K,o)=>{"use strict";o.d(K,{t:()=>T});var u=o(92771),e=o(58750),h=o(21413),c=o(47707),v=o(39974);function R(A,S,...C){if(!0===S)return void A();if(!1===S)return;const x=new c.Ms({next:()=>{x.unsubscribe(),A()}});return(0,e.Tg)(S(...C)).subscribe(x)}function T(A,S,C){let x,P=!1;return A&&"object"==typeof A?({bufferSize:x=1/0,windowTime:S=1/0,refCount:P=!1,scheduler:C}=A):x=A??1/0,function y(A={}){const{connector:S=(()=>new h.B),resetOnError:C=!0,resetOnComplete:x=!0,resetOnRefCountZero:P=!0}=A;return B=>{let W,ee,se,Y=0,re=!1,ve=!1;const le=()=>{ee?.unsubscribe(),ee=void 0},Ee=()=>{le(),W=se=void 0,re=ve=!1},F=()=>{const j=W;Ee(),j?.unsubscribe()};return(0,v.N)((j,te)=>{Y++,!ve&&!re&&le();const J=se=se??S();te.add(()=>{Y--,0===Y&&!ve&&!re&&(ee=R(F,P))}),J.subscribe(te),!W&&Y>0&&(W=new c.Ms({next:$=>J.next($),error:$=>{ve=!0,le(),ee=R(Ee,C,$),J.error($)},complete:()=>{re=!0,le(),ee=R(Ee,x),J.complete()}}),(0,e.Tg)(j).subscribe(W))})(B)}}({connector:()=>new u.m(x,S,C),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:P})}},65245:(Me,K,o)=>{"use strict";o.d(K,{i:()=>e});var u=o(5964);function e(h){return(0,u.p)((c,v)=>h<=v)}},99172:(Me,K,o)=>{"use strict";o.d(K,{Z:()=>c});var u=o(28793),e=o(9326),h=o(39974);function c(...v){const y=(0,e.lI)(v);return(0,h.N)((R,T)=>{(y?(0,u.x)(v,R,y):(0,u.x)(v,R)).subscribe(T)})}},25558:(Me,K,o)=>{"use strict";o.d(K,{n:()=>c});var u=o(58750),e=o(39974),h=o(54360);function c(v,y){return(0,e.N)((R,T)=>{let A=null,S=0,C=!1;const x=()=>C&&!A&&T.complete();R.subscribe((0,h._)(T,P=>{A?.unsubscribe();let B=0;const W=S++;(0,u.Tg)(v(P,W)).subscribe(A=(0,h._)(T,ee=>T.next(y?y(P,ee,W,B++):ee),()=>{A=null,x()}))},()=>{C=!0,x()}))})}},96697:(Me,K,o)=>{"use strict";o.d(K,{s:()=>c});var u=o(983),e=o(39974),h=o(54360);function c(v){return v<=0?()=>u.w:(0,e.N)((y,R)=>{let T=0;y.subscribe((0,h._)(R,A=>{++T<=v&&(R.next(A),v<=T&&R.complete())}))})}},56977:(Me,K,o)=>{"use strict";o.d(K,{Q:()=>v});var u=o(39974),e=o(54360),h=o(58750),c=o(85343);function v(y){return(0,u.N)((R,T)=>{(0,h.Tg)(y).subscribe((0,e._)(T,()=>T.complete(),c.l)),!T.closed&&R.subscribe(T)})}},88141:(Me,K,o)=>{"use strict";o.d(K,{M:()=>v});var u=o(98071),e=o(39974),h=o(54360),c=o(33669);function v(y,R,T){const A=(0,u.T)(y)||R||T?{next:y,error:R,complete:T}:y;return A?(0,e.N)((S,C)=>{var x;null===(x=A.subscribe)||void 0===x||x.call(A);let P=!0;S.subscribe((0,h._)(C,B=>{var W;null===(W=A.next)||void 0===W||W.call(A,B),C.next(B)},()=>{var B;P=!1,null===(B=A.complete)||void 0===B||B.call(A),C.complete()},B=>{var W;P=!1,null===(W=A.error)||void 0===W||W.call(A,B),C.error(B)},()=>{var B,W;P&&(null===(B=A.unsubscribe)||void 0===B||B.call(A)),null===(W=A.finalize)||void 0===W||W.call(A)}))}):c.D}},93774:(Me,K,o)=>{"use strict";o.d(K,{v:()=>c});var u=o(9350),e=o(39974),h=o(54360);function c(y=v){return(0,e.N)((R,T)=>{let A=!1;R.subscribe((0,h._)(T,S=>{A=!0,T.next(S)},()=>A?T.complete():T.error(y())))})}function v(){return new u.G}},96780:(Me,K,o)=>{"use strict";o.d(K,{R:()=>v});var u=o(18359);class e extends u.yU{constructor(R,T){super()}schedule(R,T=0){return this}}const h={setInterval(y,R,...T){const{delegate:A}=h;return A?.setInterval?A.setInterval(y,R,...T):setInterval(y,R,...T)},clearInterval(y){const{delegate:R}=h;return(R?.clearInterval||clearInterval)(y)},delegate:void 0};var c=o(57908);class v extends e{constructor(R,T){super(R,T),this.scheduler=R,this.work=T,this.pending=!1}schedule(R,T=0){var A;if(this.closed)return this;this.state=R;const S=this.id,C=this.scheduler;return null!=S&&(this.id=this.recycleAsyncId(C,S,T)),this.pending=!0,this.delay=T,this.id=null!==(A=this.id)&&void 0!==A?A:this.requestAsyncId(C,this.id,T),this}requestAsyncId(R,T,A=0){return h.setInterval(R.flush.bind(R,this),A)}recycleAsyncId(R,T,A=0){if(null!=A&&this.delay===A&&!1===this.pending)return T;null!=T&&h.clearInterval(T)}execute(R,T){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const A=this._execute(R,T);if(A)return A;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(R,T){let S,A=!1;try{this.work(R)}catch(C){A=!0,S=C||new Error("Scheduled action threw falsy error")}if(A)return this.unsubscribe(),S}unsubscribe(){if(!this.closed){const{id:R,scheduler:T}=this,{actions:A}=T;this.work=this.state=this.scheduler=null,this.pending=!1,(0,c.o)(A,this),null!=R&&(this.id=this.recycleAsyncId(T,R,null)),this.delay=null,super.unsubscribe()}}}},39687:(Me,K,o)=>{"use strict";o.d(K,{q:()=>h});var u=o(86129);class e{constructor(v,y=e.now){this.schedulerActionCtor=v,this.now=y}schedule(v,y=0,R){return new this.schedulerActionCtor(this,v).schedule(R,y)}}e.now=u.U.now;class h extends e{constructor(v,y=e.now){super(v,y),this.actions=[],this._active=!1}flush(v){const{actions:y}=this;if(this._active)return void y.push(v);let R;this._active=!0;do{if(R=v.execute(v.state,v.delay))break}while(v=y.shift());if(this._active=!1,R){for(;v=y.shift();)v.unsubscribe();throw R}}}},30536:(Me,K,o)=>{"use strict";o.d(K,{X:()=>R});var u=o(96780),e=o(18359);const h={schedule(A){let S=requestAnimationFrame,C=cancelAnimationFrame;const{delegate:x}=h;x&&(S=x.requestAnimationFrame,C=x.cancelAnimationFrame);const P=S(B=>{C=void 0,A(B)});return new e.yU(()=>C?.(P))},requestAnimationFrame(...A){const{delegate:S}=h;return(S?.requestAnimationFrame||requestAnimationFrame)(...A)},cancelAnimationFrame(...A){const{delegate:S}=h;return(S?.cancelAnimationFrame||cancelAnimationFrame)(...A)},delegate:void 0};var v=o(39687);const R=new class y extends v.q{flush(S){this._active=!0;const C=this._scheduled;this._scheduled=void 0;const{actions:x}=this;let P;S=S||x.shift();do{if(P=S.execute(S.state,S.delay))break}while((S=x[0])&&S.id===C&&x.shift());if(this._active=!1,P){for(;(S=x[0])&&S.id===C&&x.shift();)S.unsubscribe();throw P}}}(class c extends u.R{constructor(S,C){super(S,C),this.scheduler=S,this.work=C}requestAsyncId(S,C,x=0){return null!==x&&x>0?super.requestAsyncId(S,C,x):(S.actions.push(this),S._scheduled||(S._scheduled=h.requestAnimationFrame(()=>S.flush(void 0))))}recycleAsyncId(S,C,x=0){var P;if(null!=x?x>0:this.delay>0)return super.recycleAsyncId(S,C,x);const{actions:B}=S;null!=C&&(null===(P=B[B.length-1])||void 0===P?void 0:P.id)!==C&&(h.cancelAnimationFrame(C),S._scheduled=void 0)}})},43236:(Me,K,o)=>{"use strict";o.d(K,{E:()=>h,b:()=>c});var u=o(96780);const h=new(o(39687).q)(u.R),c=h},86129:(Me,K,o)=>{"use strict";o.d(K,{U:()=>u});const u={now:()=>(u.delegate||Date).now(),delegate:void 0}},19270:(Me,K,o)=>{"use strict";o.d(K,{f:()=>u});const u={setTimeout(e,h,...c){const{delegate:v}=u;return v?.setTimeout?v.setTimeout(e,h,...c):setTimeout(e,h,...c)},clearTimeout(e){const{delegate:h}=u;return(h?.clearTimeout||clearTimeout)(e)},delegate:void 0}},4761:(Me,K,o)=>{"use strict";o.d(K,{l:()=>e});const e=function u(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3494:(Me,K,o)=>{"use strict";o.d(K,{s:()=>u});const u="function"==typeof Symbol&&Symbol.observable||"@@observable"},9350:(Me,K,o)=>{"use strict";o.d(K,{G:()=>e});const e=(0,o(81853).L)(h=>function(){h(this),this.name="EmptyError",this.message="no elements in sequence"})},9326:(Me,K,o)=>{"use strict";o.d(K,{R0:()=>y,lI:()=>v,ms:()=>c});var u=o(98071),e=o(79470);function h(R){return R[R.length-1]}function c(R){return(0,u.T)(h(R))?R.pop():void 0}function v(R){return(0,e.m)(h(R))?R.pop():void 0}function y(R,T){return"number"==typeof h(R)?R.pop():T}},93073:(Me,K,o)=>{"use strict";o.d(K,{D:()=>v});const{isArray:u}=Array,{getPrototypeOf:e,prototype:h,keys:c}=Object;function v(R){if(1===R.length){const T=R[0];if(u(T))return{args:T,keys:null};if(function y(R){return R&&"object"==typeof R&&e(R)===h}(T)){const A=c(T);return{args:A.map(S=>T[S]),keys:A}}}return{args:R,keys:null}}},57908:(Me,K,o)=>{"use strict";function u(e,h){if(e){const c=e.indexOf(h);0<=c&&e.splice(c,1)}}o.d(K,{o:()=>u})},81853:(Me,K,o)=>{"use strict";function u(e){const c=e(v=>{Error.call(v),v.stack=(new Error).stack});return c.prototype=Object.create(Error.prototype),c.prototype.constructor=c,c}o.d(K,{L:()=>u})},58496:(Me,K,o)=>{"use strict";function u(e,h){return e.reduce((c,v,y)=>(c[v]=h[y],c),{})}o.d(K,{e:()=>u})},49786:(Me,K,o)=>{"use strict";o.d(K,{Y:()=>h,l:()=>c});var u=o(41026);let e=null;function h(v){if(u.$.useDeprecatedSynchronousErrorHandling){const y=!e;if(y&&(e={errorThrown:!1,error:null}),v(),y){const{errorThrown:R,error:T}=e;if(e=null,R)throw T}}else v()}function c(v){u.$.useDeprecatedSynchronousErrorHandling&&e&&(e.errorThrown=!0,e.error=v)}},45225:(Me,K,o)=>{"use strict";function u(e,h,c,v=0,y=!1){const R=h.schedule(function(){c(),y?e.add(this.schedule(null,v)):this.unsubscribe()},v);if(e.add(R),!y)return R}o.d(K,{N:()=>u})},33669:(Me,K,o)=>{"use strict";function u(e){return e}o.d(K,{D:()=>u})},47441:(Me,K,o)=>{"use strict";o.d(K,{X:()=>u});const u=e=>e&&"number"==typeof e.length&&"function"!=typeof e},37953:(Me,K,o)=>{"use strict";o.d(K,{T:()=>e});var u=o(98071);function e(h){return Symbol.asyncIterator&&(0,u.T)(h?.[Symbol.asyncIterator])}},98071:(Me,K,o)=>{"use strict";function u(e){return"function"==typeof e}o.d(K,{T:()=>u})},55055:(Me,K,o)=>{"use strict";o.d(K,{l:()=>h});var u=o(3494),e=o(98071);function h(c){return(0,e.T)(c[u.s])}},85397:(Me,K,o)=>{"use strict";o.d(K,{x:()=>h});var u=o(4761),e=o(98071);function h(c){return(0,e.T)(c?.[u.l])}},74402:(Me,K,o)=>{"use strict";o.d(K,{A:()=>h});var u=o(71985),e=o(98071);function h(c){return!!c&&(c instanceof u.c||(0,e.T)(c.lift)&&(0,e.T)(c.subscribe))}},59858:(Me,K,o)=>{"use strict";o.d(K,{y:()=>e});var u=o(98071);function e(h){return(0,u.T)(h?.then)}},15196:(Me,K,o)=>{"use strict";o.d(K,{C:()=>h,U:()=>c});var u=o(31635),e=o(98071);function h(v){return(0,u.AQ)(this,arguments,function*(){const R=v.getReader();try{for(;;){const{value:T,done:A}=yield(0,u.N3)(R.read());if(A)return yield(0,u.N3)(void 0);yield yield(0,u.N3)(T)}}finally{R.releaseLock()}})}function c(v){return(0,e.T)(v?.getReader)}},79470:(Me,K,o)=>{"use strict";o.d(K,{m:()=>e});var u=o(98071);function e(h){return h&&(0,u.T)(h.schedule)}},39974:(Me,K,o)=>{"use strict";o.d(K,{N:()=>h,S:()=>e});var u=o(98071);function e(c){return(0,u.T)(c?.lift)}function h(c){return v=>{if(e(v))return v.lift(function(y){try{return c(y,this)}catch(R){this.error(R)}});throw new TypeError("Unable to lift unknown Observable type")}}},6450:(Me,K,o)=>{"use strict";o.d(K,{I:()=>c});var u=o(96354);const{isArray:e}=Array;function c(v){return(0,u.T)(y=>function h(v,y){return e(y)?v(...y):v(y)}(v,y))}},85343:(Me,K,o)=>{"use strict";function u(){}o.d(K,{l:()=>u})},71203:(Me,K,o)=>{"use strict";o.d(K,{F:()=>e,m:()=>h});var u=o(33669);function e(...c){return h(c)}function h(c){return 0===c.length?u.D:1===c.length?c[0]:function(y){return c.reduce((R,T)=>T(R),y)}}},45334:(Me,K,o)=>{"use strict";o.d(K,{m:()=>h});var u=o(41026),e=o(19270);function h(c){e.f.setTimeout(()=>{const{onUnhandledError:v}=u.$;if(!v)throw c;v(c)})}},50591:(Me,K,o)=>{"use strict";function u(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}o.d(K,{L:()=>u})},50477:()=>{},55674:(Me,K,o)=>{"use strict";o.d(K,{$:()=>A});var u=o(54438),e=o(79336),h=o(33346),c=o(21413),v=o(96354),y=o(88141),R=o(51433),T=o(29655);let A=(()=>{class S{static#e=this.GET_TURNOVER_LIST="/api/bt/v1/bonus/getTurnoverList";static#t=this.PARTICIPATE_PROMOTION="/api/bt/v1/bonus/participatePromotion";static#n=this.TRANSFER_IN_BONUS_WALLET="/api/bt/v1/bonus/transferInBonusWallet";static#i=this.GET_REFER_BONUS="/api/bt/v1/bonus/getReferBonus";static#s=this.GET_BONUS_WALLET_LIST="/api/bt/v1/bonus/getBonusWalletList";static#r=this.GET_ACCOUNT_BONUS_TURNOVERS="api/bt/v1/bonus/getAccountBonusTurnovers";static#o=this.GET_UPGRADE_BONUS_WALLET_LIST="/api/bt/v1/bonus/getUpgradeBonusTemplateList";static#a=this.CLAIM_BONUS_WALLET="/api/bt/v1/bonus/claimBonusWallet";static#c=this.COMPLETE_BONUS_WALLET="/api/bt/v1/bonus/completeBonusWallet";static#l=this.CANCEL_BONUS_WALLET="/api/bt/v1/bonus/cancelBonusWallet";static#u=this.UPGRADE_BONUS_WALLET="/api/bt/v1/bonus/upgradeBonusWallet";static#d=this.GET_MATCH_PROVIDER_PROMOTION_WALLET="/api/bt/v1/bonus/getMatchProviderPromotionWallet";static#h=this.GET_VOUCHER_LIST="/api/bt/v1/bonus/getVoucherList";static#f=this.GET_VOUCHER_LIST_WITH_LATEST_STATUS="/api/bt/v1/bonus/getVoucherListWithLatestStatus";static#g=this.GET_PENDING_GAME_TXN="/api/bt/v1/bonus/getPendingGameTxn";constructor(x){this.httpClient=x,this.transferAllToHandlerService=(0,u.WQX)(h.x),this.authState=(0,u.WQX)(R.H),this.referBonusAllData$=new c.B}setAlreadyTurnOnPromotionWallet(x){const P=this.authState.get("accountInfo");P.alreadyTurnOnPromotionWallet=x,this.authState.set("accountInfo",()=>({...P}))}getTurnoverList(x){return this.httpClient.get(S.GET_TURNOVER_LIST,x).pipe((0,v.T)(P=>P.data))}participatePromotion(x){return this.httpClient.post(S.PARTICIPATE_PROMOTION,{bonusTemplateId:x})}transferInBonusWallet(x,P){return this.httpClient.post(S.TRANSFER_IN_BONUS_WALLET,{bonusTemplateId:x,amount:`${P}`})}getReferBonus(){return this.httpClient.post(S.GET_REFER_BONUS).pipe((0,v.T)(x=>x.data))}getMyBonusesList(){return this.httpClient.post(S.GET_BONUS_WALLET_LIST).pipe((0,v.T)(x=>x.data))}getAccountBonusTurnovers(){return this.httpClient.post(S.GET_ACCOUNT_BONUS_TURNOVERS).pipe((0,v.T)(x=>x.data))}getVoucherList(){return this.httpClient.post(S.GET_VOUCHER_LIST).pipe((0,v.T)(x=>x.data))}getVoucherListWithLatestStatus(){return this.httpClient.post(S.GET_VOUCHER_LIST_WITH_LATEST_STATUS).pipe((0,v.T)(x=>x.data))}getUpgradeBonusTemplateList(){return this.httpClient.post(S.GET_UPGRADE_BONUS_WALLET_LIST).pipe((0,v.T)(x=>x.data))}claimBonusWallet(x,P=!1){return this.httpClient.post(S.CLAIM_BONUS_WALLET,{bonusTurnoverId:x}).pipe((0,y.M)(B=>{B.status===e.m.SUCCESS.statusCode&&(this.transferAllToHandlerService.markAsNeedTransfer({emitEvent:!1}),P||this.setAlreadyTurnOnPromotionWallet(!0))}),(0,v.T)(B=>B))}completeBonusWallet(x){return this.httpClient.post(S.COMPLETE_BONUS_WALLET,{bonusTurnoverId:x}).pipe((0,y.M)(P=>{P.status===e.m.SUCCESS.statusCode&&this.setAlreadyTurnOnPromotionWallet(!1)}),(0,v.T)(P=>P))}cancelBonusWallet(x){return this.httpClient.post(S.CANCEL_BONUS_WALLET,{bonusTurnoverId:x}).pipe((0,y.M)(P=>{P.status===e.m.SUCCESS.statusCode&&this.setAlreadyTurnOnPromotionWallet(!0)}),(0,v.T)(P=>P))}upgradeBonusWallet(x,P){return this.httpClient.post(S.UPGRADE_BONUS_WALLET,{bonusTurnoverId:x,toBonusTemplateId:P}).pipe((0,v.T)(B=>B))}getMatchProviderPromotionWallet(x){return this.httpClient.post(S.GET_MATCH_PROVIDER_PROMOTION_WALLET,{vendorCode:x}).pipe((0,v.T)(P=>P.data))}getPendingGameTxn(x){return this.httpClient.post(S.GET_PENDING_GAME_TXN,{bonusTurnoverId:x}).pipe((0,v.T)(P=>P))}static#p=this.\u0275fac=function(P){return new(P||S)(u.KVO(T.t))};static#_=this.\u0275prov=u.jDH({token:S,factory:S.\u0275fac,providedIn:"root"})}return S})()},78453:(Me,K,o)=>{"use strict";o.d(K,{i:()=>e});const e=new(o(54438).nKC)("RWD_WEB_CUSTOMIZE_MESSAGE_CONFIG")},78530:(Me,K,o)=>{"use strict";o.d(K,{b:()=>F});var u=o(21626),e=o(54438),h=o(29655),c=o(78382),v=o(37996),y=o(23294),R=o(25558),T=o(96354),A=o(5964),S=o(96697),C=o(88141),x=o(95091),P=o(34944),B=o(94768),W=o(27056),ee=o(51433),se=o(30617),Y=o(20753),re=o(35513),ve=o(93166),le=o(78453),Ee=function(j){return j[j.WEB=1]="WEB",j[j.H5=2]="H5",j}(Ee||{});let F=(()=>{class j extends B.Y{static#e=this.GET_MESSAGE_BY_TYPES_GET="/api/bt/v1/message/getMessageByTypes";static#t=this.GET_MESSAGE_BY_TYPES_POST="/api/bt/v1/message/getMessageByTypes";static#n=this.GET_PROMOTION_LIST_ALL_GAMETYPE="/api/bt/v1/message/getPromotionListAllGameType";static#i=this.GET_PROMOTION_LIST="/api/bt/v1/message/getPromotionListByWaterfall";static#s=this.CHECK_PROMO_CODE="/api/bt/v1/message/checkPromoCode";static#r=this.GET_SOCIAL_MEDIA="/api/bt/v1/message/getSocialMedia";static#o=this.GET_FEATURED_GAMES="/api/bt/v1/message/getFeaturedGames";static#a=this.GET_TNC_LIST="/api/bt/v1/message/getTncList";constructor(){super(),this.rwdCustomizeConfig=(0,e.WQX)(le.i,{optional:!0}),this.authState=(0,e.WQX)(ee.H),this.siteSetting=(0,e.WQX)(se.p),this.actions=(0,e.WQX)(W.ZA).create(),this.httpClient=(0,e.WQX)(h.t),this.environment=(0,e.WQX)(Y.n),this.isScrollBannerAndFeatureGameLoaded=(0,e.vPA)(!1),this.connect("messageModelList",this.actions.getMessageByTypes$.pipe((0,y.F)((J,$)=>J.currencyTypeId===$.currencyTypeId&&J.languageTypeId===$.languageTypeId&&J.isLogin===$.isLogin&&J.isRWD===$.isRWD),(0,R.n)(J=>this._getMessageByTypes(J))))}getSocialMedia(){const J={key:j.GET_SOCIAL_MEDIA,maxAge:c.yr.HOUR,canUseCache:x.C.SAME_CURRENCY_LANGUAGE_IN_QUERY_PARAMS},$=new u._y;return $.set(P.W,J),$.set(re.kZ,!0),this.httpClient.get(j.GET_SOCIAL_MEDIA,{platformTypes:[Ee.H5].join(",")},{context:$}).pipe((0,T.T)(ue=>ue.data))}getFeatureGames(J){const $=[Ee.H5];return this.httpClient.get(j.GET_FEATURED_GAMES,{gameTypes:J.join(","),platformTypes:$.join(",")}).pipe((0,T.T)(ce=>ce.data))}checkPromoCode(J){return this.httpClient.post(j.CHECK_PROMO_CODE,{promoCode:J}).pipe((0,T.T)($=>$))}getPromotionListAllGametype(){return this.httpClient.post(j.GET_PROMOTION_LIST_ALL_GAMETYPE,{platformTypes:[Ee.H5]}).pipe((0,T.T)($=>$.data||{}))}getPromotionList(J){return this.httpClient.post(j.GET_PROMOTION_LIST,{...J,platformTypes:[Ee.H5]}).pipe((0,T.T)(ce=>ce.data||{}))}getPromotionListPost(){return this.httpClient.post(j.GET_MESSAGE_BY_TYPES_POST,{messageTypes:[v.G.PROMOTION.unique],platformTypes:[Ee.H5]}).pipe((0,T.T)($=>$.data||[]))}getMessageByTypes(J=[],$=!1){const ce={messageTypes:J,forceRefresh:$,isLogin:this.authState.get("isLogin"),currencyTypeId:this.siteSetting.get("currentCurrencyType")?.unique,languageTypeId:this.siteSetting.get("currentLanguageType")?.unique,isRWD:this.environment.isRWD};return this.actions.getMessageByTypes(ce),this.select("messageModelList").pipe((0,A.p)(()=>"stable"===this.get("getMessageByTypesApiStatus")),(0,S.s)(1),(0,T.T)(ue=>ue.filter(Te=>!ce.messageTypes?.length||ce.messageTypes.includes(Te.messageType))))}_getMessageByTypes(J){const $={key:j.GET_MESSAGE_BY_TYPES_GET,maxAge:1*c.yr.SECOND,canUseCache:(Te,_e)=>!J.forceRefresh&&x.C.SAME_CURRENCY_LANGUAGE_IN_PARAMS(Te,_e)};return(new u._y).set(P.W,$),this.set("getMessageByTypesApiStatus",()=>"fetching"),this.httpClient.get(j.GET_MESSAGE_BY_TYPES_GET,{platformTypes:[Ee.H5].join(","),...this.setMessageTypeForWebContent()}).pipe((0,T.T)(Te=>Te.data||[]),(0,C.M)(()=>{this.set("getMessageByTypesApiStatus",()=>"stable")}))}getMessageByTypesPost(J=[],$=!1){const ce={key:j.GET_MESSAGE_BY_TYPES_POST,maxAge:10*c.yr.MINUTE,canUseCache:(_e,Ge)=>!$&&x.C.SAME_CURRENCY_LANGUAGE_IN_BODY(_e,Ge)},ue=new u._y;ue.set(P.W,ce);const Te=[Ee.H5];return this.httpClient.post(j.GET_MESSAGE_BY_TYPES_POST,{messageTypes:v.G.values.filter(_e=>_e.unique!==v.G.PROMOTION.unique).map(_e=>_e.unique),_originMessageTypes:J,platformTypes:Te},{context:ue}).pipe((0,T.T)(_e=>(_e.data||[]).filter(Ge=>!J?.length||J.includes(Ge.messageType))))}setMessageTypeForWebContent(){const J=this.rwdCustomizeConfig?.messageTypes||[];if(J?.length>0&&!ve.U.isMobileBrowser())return{typesRequireAllPlatform:J?.toString()}}getTncListPost(){return this.httpClient.post(j.GET_TNC_LIST,{}).pipe((0,T.T)(J=>J.data||{}))}getTncList(){return this.httpClient.get(j.GET_TNC_LIST,{}).pipe((0,T.T)(J=>J.data||{}))}static#c=this.\u0275fac=function($){return new($||j)};static#l=this.\u0275prov=e.jDH({token:j,factory:j.\u0275fac,providedIn:"root"})}return j})()},70956:(Me,K,o)=>{"use strict";o.d(K,{R:()=>e,i:()=>u});var u=function(h){return h[h.FALSE=0]="FALSE",h[h.TRUE=1]="TRUE",h}(u||{}),e=function(h){return h[h.NORMAL=1]="NORMAL",h[h.PARAMETER=2]="PARAMETER",h[h.HTML=3]="HTML",h}(e||{})},68990:(Me,K,o)=>{"use strict";o.d(K,{$:()=>j});var u=o(54438),e=o(29655),h=o(5964),c=o(25558),v=o(69568),y=o(96354),R=o(30786),T=o(23294),A=o(96697),S=o(35060),C=o(88141),x=o(18810),P=o(7673),B=o(12498),W=o(70956),ee=o(79336),se=o(94768),Y=o(27056),re=o(11586),ve=o(7760),le=o(30617),Ee=o(21626),F=o(35513);let j=(()=>{class te extends se.Y{static#e=this.GET_VENDORS="/api/bt/v1/provider/getVendors";static#t=this.GET_GAME_LIST_BY_CATEGORY="/api/bt/v1/provider/getGameListByCategory";static#n=this.GET_JACKPOT_INFO="/api/bt/v1/provider/getJackpotInfo";static#i=this.SET_FAVORITE_BY_GAME_ID="/api/bt/v1/provider/setFavoriteByGameId";static#s=this.GET_TRIAL_GAME_URL="/api/bt/v1/provider/getTrailGameUrl";static#r=this.GET_GAME_URL="/api/bt/v1/provider/getGameUrl";static#o=this.GET_CATEGORIES_BY_GROUP="/api/bt/v1/provider/getCategoriesByGroup";static#a=this.TRANSFER_ALL_TO_PROVIDER="/api/bt/v1/provider/transferAllToProvider";static#c=this.GET_WEBSITE_CATEGORY="/api/bt/v1/provider/getWebsiteCategory";static#l=this.GET_PERSONALIZED_WEBSITE_CATEGORY="/api/bt/v1/provider/getPersonalizedWebsiteCategory";static#u=this.GET_RECOMMENDED_GAME_LIST="/api/bt/v1/provider/getRecommendGameList";constructor(){super(),this.siteSetting=(0,u.WQX)(le.p),this.settingService=(0,u.WQX)(re.q),this.siteSettingChange$=this.settingService.select("siteSettingApiStatus").pipe((0,h.p)($=>"stable"===$),(0,c.n)(()=>this.settingService.select("siteSetting")),(0,v.t)(1)),this.isEnableWebsiteCategory$=this.siteSettingChange$.pipe((0,c.n)(()=>this.settingService.select("siteSetting").pipe((0,y.T)($=>$.isEnableWebsiteCategory))),(0,v.t)(1)),this.actions=(0,u.WQX)(Y.ZA).create(),this.httpClient=(0,u.WQX)(e.t),this.connect("websiteCategoryData",this.actions.getWebsiteCategory$.pipe((0,h.p)(()=>"stable"===this.settingService.get("siteSettingApiStatus")),(0,R.p)($=>this.getWebsiteCategory($)))),this.connect("vendorsData",this.actions.getVendors$.pipe((0,T.F)(($,ce)=>$.currencyTypeId===ce.currencyTypeId&&$.languageTypeId===ce.languageTypeId&&this.isArrayEqual($.gameTypes,ce.gameTypes)),(0,c.n)($=>this.getVendorsSimple($.gameTypes))))}isArrayEqual($,ce){if($.length!==ce.length)return!1;for(let ue=0;ue<$.length;ue++)if($[ue]!==ce[ue])return!1;return!0}getWebsiteCategory($){return this.isEnableWebsiteCategory$.pipe((0,A.s)(1),(0,c.n)(ce=>ce||$?.force?this.httpClient.get(te.GET_WEBSITE_CATEGORY).pipe((0,y.T)(ue=>ue.data)):S.t))}getVendors($=[],ce=!1,ue=!1){return ue?this.getVendorsSimple($):this.isEnableWebsiteCategory$.pipe((0,A.s)(1),(0,c.n)(Te=>{if(Te&&!ce)return S.t;const _e={gameTypes:$,forceRefresh:ce,currencyTypeId:this.siteSetting.get("currentCurrencyType")?.unique,languageTypeId:this.siteSetting.get("currentLanguageType")?.unique};return this.actions.getVendors(_e),this.select("vendorsData").pipe((0,h.p)(()=>"stable"===this.get("getVendorsApiStatus")),(0,A.s)(1))}))}getVendorsSimple($=[]){return this.set("getVendorsApiStatus",()=>"fetching"),this.httpClient.get(te.GET_VENDORS,{gameTypes:$.toString()}).pipe((0,y.T)(ce=>ce.data),(0,C.M)(()=>{this.set("getVendorsApiStatus",()=>"stable")}))}getGameListByCategory($){return this.httpClient.post(te.GET_GAME_LIST_BY_CATEGORY,$).pipe((0,y.T)(ce=>ce.data))}getJackpotInfo(){return this.httpClient.post(te.GET_JACKPOT_INFO).pipe((0,y.T)($=>$.data))}addFavoriteGameById($){return this.httpClient.post(te.SET_FAVORITE_BY_GAME_ID,{favoriteGames:$}).pipe((0,y.T)(ce=>ce.data))}getGameUrl($,ce=!1){let Te=0;const _e={...$,isDesktop:!0===$.isDesktop?W.i.TRUE:!1===$.isDesktop?W.i.FALSE:$.isDesktop},Ge=new Ee._y;return Ge.set(F.wM,ce),this.httpClient.post(te.GET_GAME_URL,_e,{context:Ge}).pipe((0,c.n)(Ve=>Ve?.status===ee.m.OPEN_GAME_RETRY.statusCode&&Te<2?(Te++,(0,x.$)(()=>Ve)):(0,P.of)(Ve)),(0,y.T)(Ve=>(Ve.data?.htmlData&&(Ve.data.htmlData=window.atob(Ve.data?.htmlData||"").toString()),Ve)),(0,B.L)({count:2,delay:2e3}))}getTrialGameUrl($){let ue=0;return this.httpClient.post(te.GET_TRIAL_GAME_URL,$).pipe((0,c.n)(Te=>Te?.status===ee.m.OPEN_GAME_RETRY.statusCode&&ue<2?(ue++,(0,x.$)(()=>Te)):(0,P.of)(Te)),(0,B.L)({count:2,delay:2e3}))}getCategoriesByGroup($){return this.httpClient.post(te.GET_CATEGORIES_BY_GROUP,{gameTypeId:$}).pipe((0,y.T)(ce=>ce.data))}transferAllToProvider($){return this.httpClient.post(te.TRANSFER_ALL_TO_PROVIDER,{providerId:$})}getPersonalizedWebsiteCategory(){return this.httpClient.get(te.GET_PERSONALIZED_WEBSITE_CATEGORY).pipe((0,y.T)($=>$.data))}getRecommendGameList($,ce){return this.httpClient.post(te.GET_RECOMMENDED_GAME_LIST,{gameTypeIds:$,vendorIds:ce}).pipe((0,y.T)(ue=>ue.data))}clearWebsiteCategory(){this.set("websiteCategoryData",()=>({[ve.m.LEFT_MENU]:void 0,[ve.m.MAIN_TAB]:void 0,[ve.m.HEADER_FAST]:void 0,[ve.m.CASINO_MENU]:void 0}))}static#d=this.\u0275fac=function(ce){return new(ce||te)};static#h=this.\u0275prov=u.jDH({token:te,factory:te.\u0275fac,providedIn:"root"})}return te})()},11586:(Me,K,o)=>{"use strict";o.d(K,{q:()=>B});var u=o(54438),e=o(29655),h=o(92771),c=o(84412),v=o(96354),y=o(88141),R=o(95091),T=o(34944),A=o(78382),S=o(21626),C=o(94768),x=o(51433),P=o(35513);let B=(()=>{class W extends C.Y{static#e=this.GET_CURRENCY_MAPPING="/api/bt/v1/setting/getCurrencyMapping";static#t=this.GET_CURRENCY_MAPPING_BY_TYPE="/api/bt/v1/setting/getCurrencyMappingByType";static#n=this.GET_SEO_SETTING="/api/bt/v1/setting/getSEOSetting";static#i=this.GET_CUSTOMER_SERVICE="/api/bt/v1/setting/getCustomerService";static#s=this.GET_REGISTER_SETTING="/api/bt/v1/setting/getRegisterSetting";static#r=this.GET_SIGNUP_SETTING="/api/bt/v1/setting/getSignUpSetting";static#o=this.GET_SITE_SETTING="/api/bt/v1/setting/getSiteSetting";static#a=this.CHANGE_CURRENCY_LANG="/api/bt/v1/setting/changeCurrencyLang";static#c=this.GET_APK_URL="/api/bt/v1/setting/getApkUrl";constructor(){super(),this.httpClient=(0,u.WQX)(e.t),this.authState=(0,u.WQX)(x.H),this.registerEnableVerification$=new h.m(0),this.turnstileSiteKey$=new c.t(""),this.forceNativeApp=!1}markAsNativeApp(){this.forceNativeApp=!0}getCurrencyMapping(){const se=new S._y;return se.set(P.kZ,!0),se.set(P.bP,!0),se.set(P.SW,!0),this.httpClient.get(W.GET_CURRENCY_MAPPING,{},{context:se}).pipe((0,v.T)(Y=>Y.data))}getCurrencyMappingByType(se){return this.httpClient.post(W.GET_CURRENCY_MAPPING_BY_TYPE,{currencySettingTypes:se}).pipe((0,v.T)(Y=>Y.data))}getSEOSetting(se,Y=!1){const re={key:W.GET_SEO_SETTING,maxAge:2*A.yr.HOUR,canUseCache:(le,Ee)=>!Y&&R.C.SAME_CURRENCY_LANGUAGE_IN_BODY(le,Ee)},ve=new S._y;return ve.set(T.W,re),this.httpClient.post(W.GET_SEO_SETTING,{pageType:se},{context:ve}).pipe((0,v.T)(le=>le.data))}getRegisterSetting(){const se={key:W.GET_REGISTER_SETTING,maxAge:12*A.yr.HOUR},Y=new S._y;return Y.set(T.W,se),this.httpClient.post(W.GET_REGISTER_SETTING,void 0,{context:Y}).pipe((0,v.T)(re=>re.data))}getSignUpSetting(){const se={key:W.GET_SIGNUP_SETTING,maxAge:5*A.yr.SECOND},Y=new S._y;return Y.set(T.W,se),this.httpClient.post(W.GET_SIGNUP_SETTING,void 0,{context:Y}).pipe((0,v.T)(re=>re.data))}setRegisterEnableVerification(se){this.registerEnableVerification$.next(se)}getRegisterEnableVerification(){return this.registerEnableVerification$.asObservable()}setTurnstileSiteKey(se){this.turnstileSiteKey$.next(se)}getTurnstileSiteKey(){return this.turnstileSiteKey$.asObservable()}getSiteSettingAPIResponse(){return this.set("siteSettingApiStatus",()=>"fetching"),this.httpClient.get(W.GET_SITE_SETTING,{dataPlatformTypeId:2}).pipe((0,v.T)(se=>(se?.data&&this.forceNativeApp&&(se.data.isNativeApp=!0),{...se})),(0,y.M)(se=>{this.set("siteSetting",()=>se?.data),this.set("siteSettingApiStatus",()=>"stable")}))}getSiteSetting(){return this.getSiteSettingAPIResponse().pipe((0,v.T)(se=>se.data))}getCustomerService(){const se={key:W.GET_CUSTOMER_SERVICE,maxAge:12*A.yr.HOUR,canUseCache:(re,ve)=>R.C.SAME_CURRENCY_LANGUAGE_IN_QUERY_PARAMS(re,ve)},Y=new S._y;return Y.set(T.W,se),Y.set(P.kZ,!0),Y.set(P.SW,!0),this.httpClient.get(W.GET_CUSTOMER_SERVICE,void 0,{context:Y}).pipe((0,v.T)(re=>re.data))}changeCurrencyLang(se){return this.httpClient.post(W.CHANGE_CURRENCY_LANG,se).pipe((0,v.T)(Y=>Y?.data?.redirectTo))}getApkUrl(){return this.httpClient.post(W.GET_APK_URL).pipe((0,v.T)(se=>se.data?.url))}static#l=this.\u0275fac=function(Y){return new(Y||W)};static#u=this.\u0275prov=u.jDH({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})()},39962:(Me,K,o)=>{"use strict";o.d(K,{D:()=>F});var u=o(54438),e=o(84412),h=o(25558),c=o(7673),v=o(18810),y=o(96354),R=o(88141),T=o(81042),A=o(80888),S=o(20897),C=o(35513),x=o(21626),P=o(98567),B=o(79336),W=o(89079),ee=o(31360),se=o(52662),Y=o(93188),re=o(36115),ve=o(95067),le=o(80627),Ee=o(29655);let F=(()=>{class j{static#e=this.REFRESH_TOKEN="/api/bt/v1/user/refreshToken";static#t=this.GET_CAPTCHA_CODE="/api/bt/v1/user/getCaptchaCode";static#n=this.FORGOT_PASSWORD="/api/bt/v1/user/forgotPassword";static#i=this.GET_INBOX_FROM_DC="/api/bt/v1/user/getInboxFromDC";static#s=this.READ_INBOX="/api/bt/v1/user/readInbox";static#r=this.DELETE_INBOX="/api/bt/v1/user/deleteInbox";static#o=this.CHANGE_PASSWORD="/api/bt/v1/user/changePassword";static#a=this.FIRST_CHANGE_PASSWORD="/api/bt/v1/user/firstChangePassword";static#c=this.REGISTER="/api/bt/v2_1/user/register";static#l=this.GET_PROFILE="/api/bt/v1/user/getProfile";static#u=this.GET_VERIFY_CODE_BY_CONTACT_TYPE="/api/bt/v1/user/getVerifyCodeByContactType";static#d=this.GET_FIRST_VERIFY_CODE_BY_CONTACT_TYPE="/api/bt/v1/user/getFirstVerifyCodeByContactType";static#h=this.GET_VERIFY_OTP_CODE="/api/bt/v1/user/getVerifyCode";static#f=this.VERIFY_CONTACT="/api/bt/v1/user/verifyContact";static#g=this.GET_FORUM_LOGIN_URL="/api/bt/v1/user/getForumLoginUrl";static#p=this.GET_INTERCOM_INFO="/api/bt/v1/user/getIntercomInfo";static#_=this.CREATE_DOCUMENT="/api/bt/v1/user/createDocument";static#m=this.GET_VERIFY_DOCUMENT_DETAIL="/api/bt/v1/user/getVerifyDocumentDetail";static#v=this.GET_VERIFY_BANK_PAGE_DETAIL="/api/bt/v1/user/getVerifyBankPageDetail";static#E=this.CREATE_PENDING_VERIFY_BANK_DATE="/api/bt/v1/user/createPendingVerifyBankData";static#I=this.GET_VERIFY_DOCUMENT_DETAIL_BY_GROUP_TYPE="/api/bt/v1/user/getVerifyDocumentDetailByGroupType";static#C=this.SAVE_PROFILE="/api/bt/v1/user/saveProfile";static#D=this.GET_REFERRAL_CODE_CURRENCY="/api/bt/v1/user/getReferralCodeCurrency";static#A=this.CANCEL_BIO_LOGIN="/api/bt/v1/user/cancelBioLogin";static#S=this.REGISTER_BIO_LOGIN="/api/bt/v1/user/registerBioLogin";static#R=this.GET_SERVER_TIME="/api/bt/v1/user/getServerTime";static#O=this.GET_REGISTER_VERIFY_CODE="/api/bt/v2_1/user/getRegisterVerifyCode";static#y=this.ADD_FINGERPRINT_PRO_INFO="/api/bt/v1/user/addFingerprintProInfo";static#T=this.GET_PLAYER_APPROVED_TXN="/api/bt/v1/user/getPlayerApprovedTxn";constructor(J){this.httpClient=J,this.apiAuthenticationService=(0,u.WQX)(S.W),this.eventQueueService=(0,u.WQX)(T.n),this.fingerprintProService=(0,u.WQX)(P.T,{optional:!0}),this.fingerprintService=(0,u.WQX)(ee.m),this.destroyRef=(0,u.WQX)(u.abz),this.verifyParameters$=new e.t(void 0)}isRefreshTokenApi(J){return(J||"").includes(j.REFRESH_TOKEN)}refreshToken(){const J=new x._y;return J.set(C.nd,!0),this.httpClient.post(j.REFRESH_TOKEN,void 0,{context:J}).pipe((0,h.n)($=>$.data?(0,c.of)($.data):(0,v.$)(()=>new Error($.message))))}getSmsUsers(J){return this.httpClient.post(j.FORGOT_PASSWORD,J).pipe((0,y.T)($=>$))}getEmailUsers(J){return this.httpClient.post(j.FORGOT_PASSWORD,J).pipe((0,y.T)($=>$))}getCaptchaCode(){return this.httpClient.post(j.GET_CAPTCHA_CODE).pipe((0,y.T)(J=>(J.data&&(J.data.captcha=this.decryptAES128ECB(J.data.captcha)),J.data)))}getInboxFromDC(J){return this.httpClient.post(j.GET_INBOX_FROM_DC,J).pipe((0,y.T)($=>($.data.pageInfo.isLastPage=$.data.records.length$))}firstChangePassword(J){return this.httpClient.post(j.FIRST_CHANGE_PASSWORD,J).pipe((0,y.T)($=>$))}getRegister(J){return this.eventQueueService.dispatch(new A.UZ),(0,c.of)(void 0).pipe((0,h.n)(()=>(0,c.of)(void 0).pipe((0,h.n)(()=>this.fingerprintService.addFingerprintData(J)))),(0,h.n)($=>(J={...$},this.httpClient.post(j.REGISTER,J).pipe((0,R.M)(ce=>ce?.data&&this.apiAuthenticationService.setToken(ce.data)),(0,y.T)(ce=>(ce.status===B.m.SUCCESS.statusCode&&(0,c.of)(void 0).pipe((0,h.n)(()=>this.getFingerprintProVistorId()),(0,h.n)(ue=>this.fingerprintProService?this.addFingerprintProInfo(ue):(0,c.of)(!0)),(0,W.pQ)(this.destroyRef)).subscribe(),ce))))))}getRegisterVerifyCode(J){return this.httpClient.post(j.GET_REGISTER_VERIFY_CODE,J)}getProfile(){return this.httpClient.post(j.GET_PROFILE).pipe((0,y.T)(J=>J.data))}getVerifyCodeByContactType(J){const $=this.checkIsLimit(J.contactTypeId);return $?this.limitNewPhoneTimeRespoense($):this.httpClient.post(j.GET_VERIFY_CODE_BY_CONTACT_TYPE,J).pipe((0,y.T)(ce=>ce))}getFirstVerifyCodeByContactType(J){const $=this.checkIsLimit(J.contactTypeId);return $?this.limitNewPhoneTimeRespoense($):this.httpClient.post(j.GET_FIRST_VERIFY_CODE_BY_CONTACT_TYPE,J).pipe((0,y.T)(ce=>ce))}getVerifyOtpCode(){return this.httpClient.post(j.GET_VERIFY_OTP_CODE).pipe((0,y.T)(J=>J))}verifyContact(J){const $=this.checkIsLimit(J.contactTypeId);return $?this.limitNewPhoneTimeRespoense($):this.httpClient.post(j.VERIFY_CONTACT,J).pipe((0,y.T)(ce=>ce))}setVerifyParameters(J){this.verifyParameters$.next(J)}getVerifyParameters(){return this.verifyParameters$.asObservable()}resetVerifyParameters(){this.verifyParameters$.next(void 0)}getForumLoginURL(){return this.httpClient.post(j.GET_FORUM_LOGIN_URL).pipe((0,y.T)(J=>J.data))}createDocument(J){return this.httpClient.post(j.CREATE_DOCUMENT,J)}getVerifyDocumentDetail(){return this.httpClient.post(j.GET_VERIFY_DOCUMENT_DETAIL).pipe((0,y.T)(J=>J.data))}getIntercomInfo(){return this.httpClient.get(j.GET_INTERCOM_INFO).pipe((0,y.T)(J=>J.data))}getVerifyBankPageDetail(){return this.httpClient.post(j.GET_VERIFY_BANK_PAGE_DETAIL).pipe((0,y.T)(J=>J.data))}createPendingVerifyBanks(J){return this.httpClient.post(j.CREATE_PENDING_VERIFY_BANK_DATE,J)}getVerifyDocumentDetailByGroupType(J){return this.httpClient.post(j.GET_VERIFY_DOCUMENT_DETAIL_BY_GROUP_TYPE,J).pipe((0,y.T)($=>$.data))}saveProfile(J){return this.httpClient.post(j.SAVE_PROFILE,J).pipe((0,y.T)($=>$))}getReferralCodeCurrency(J){return this.httpClient.post(j.GET_REFERRAL_CODE_CURRENCY,{friendReferrerCode:J}).pipe((0,y.T)($=>$))}cancelBioLogin(J){return this.httpClient.post(j.CANCEL_BIO_LOGIN,{currentBioToken:J}).pipe((0,y.T)($=>$))}registerBioLogin(J){return this.httpClient.post(j.REGISTER_BIO_LOGIN,{password:J}).pipe((0,y.T)($=>$))}getServerTime(){return this.httpClient.post(j.GET_SERVER_TIME).pipe((0,y.T)(J=>J.data))}addFingerprintProInfo(J){return this.httpClient.post(j.ADD_FINGERPRINT_PRO_INFO,{fingerprintPro:J}).pipe((0,y.T)($=>$))}getPlayerApprovedTxn(){return this.httpClient.post(j.GET_PLAYER_APPROVED_TXN).pipe((0,y.T)(J=>J.data))}getFingerprintProVistorId(){return this.fingerprintProService?this.fingerprintProService.getVistorId():(0,c.of)("")}checkIsLimit(J){if(J!==se.P.PHONE.unique)return"";const $=localStorage.getItem("LIMIT_NEW_PHONE_TIMES");if($){const ce=JSON.parse($);if(Date.now()({message:J,status:B.m.LIMIT_NEW_PHONE_TIMES.statusCode})))}decryptAES128ECB(J){const ce=le.parse("2024CaptchaKey05");return Y.decrypt(decodeURIComponent(J),ce,{mode:re,padding:ve}).toString(le)}static#M=this.\u0275fac=function($){return new($||j)(u.KVO(Ee.t))};static#N=this.\u0275prov=u.jDH({token:j,factory:j.\u0275fac,providedIn:"root"})}return j})()},25517:(Me,K,o)=>{"use strict";o.d(K,{q:()=>S});var u=o(25558),e=o(96354),h=o(7673),c=o(99437),v=o(51433),y=o(79336),R=o(54438),T=o(51188),A=o(89591);let S=(()=>{class C{constructor(P,B,W){this.router=P,this.authService=B,this.authState=W}canActivateChild(P,B){return this.authState.select("isLogin").pipe((0,u.n)(W=>W?(0,h.of)(!0):this.authService.checkLogin().pipe((0,e.T)(ee=>ee.status===y.m.SUCCESS.statusCode||this.router.parseUrl("/login?returnUrl="+B.url)))),(0,c.W)(()=>(0,h.of)(this.router.parseUrl("/login?returnUrl="+B.url))))}static#e=this.\u0275fac=function(B){return new(B||C)(R.KVO(T.Ix),R.KVO(A.u),R.KVO(v.H))};static#t=this.\u0275prov=R.jDH({token:C,factory:C.\u0275fac,providedIn:"root"})}return C})()},89591:(Me,K,o)=>{"use strict";o.d(K,{u:()=>dt,P:()=>at});var u=o(73927),e=o(21626),h=o(30617),c=o(60177),v=o(54438),y=o(51433);const R=new v.nKC("LOGOUT_CHECK_UI");var T=o(78382),A=o(7673),S=o(25558),C=o(96354),x=o(84412),P=o(21413),B=o(5964),W=o(88141),ee=o(40605),se=o(56977),Y=o(79336),re=o(51066),ve=o(71522),le=o(78922),Ee=o(81042),F=o(38804),j=o(20897),te=o(92404),J=o(35513),$=o(31360),ce=o(51188),ue=o(29655),Te=o(8003),_e=o(15314),Ge=o(20464),Ve=o(98856);let dt=(()=>{class ye{static#e=this.LOGIN="/api/bt/v2_1/user/login";static#t=this.LOGOUT="/api/bt/v1/user/logout";static#n=this.CHECK="/api/bt/v1/user/getPlayerInfo";static#i=this.CHECK_BALANCE_AND_VIP_INFO="/api/bt/v1/user/getBalance";static#s=this.GET_UN_NOTIFIED_TXN="/api/bt/v1/user/getUnNotifiedTxn";static#r=this.CLEAR_UN_NOTIFIED_TXN="/api/bt/v1/user/clearUnNotifiedTxn";static#o=this.SMALLGAMETOKEN="/api/bt/v1/user/smallGameToken";static#a=this.GET_PRE_LOGIN_TOKEN="/api/bt/v1/user/getPreLoginToken";constructor(we,Ce,$e,Ye,ut,mt,tn,Vt){this.router=we,this.httpClient=Ce,this.siteSettingService=$e,this.authState=Ye,this.bridgeUtilService=ut,this.i18nService=mt,this.siteSettingState=tn,this.dialogService=Vt,this.LOGOUT_CHECK_UI=(0,v.WQX)(R,{optional:!0}),this.apiAuthenticationService=(0,v.WQX)(j.W),this.eventQueueService=(0,v.WQX)(Ee.n),this.fingerprintService=(0,v.WQX)($.m)}setSystemLogin(we){this.apiAuthenticationService.setToken(we),this.authState.set({isLogin:!0,accountInfo:we})}setSystemLogout(){this.apiAuthenticationService.clearToken(),this.authState.set({isLogin:!1,accountInfo:void 0})}checkLanguageTypeByCurrentCurrencyType(){const we=this.siteSettingState.get("currentCurrencyType"),Ce=this.siteSettingState.get("currentLanguageType"),$e=this.siteSettingService.getWebsiteSettingByCurrency(we,le.X.LANGUAGE)||[];if(!$e.find(ut=>ut===`${Ce?.unique}`)){const ut=$e[0];if(!ut)return;const mt=ve.t.getInstanceOf(+ut);if(!mt)return;this.siteSettingService.setLanguageType(mt)}}login(we){return we.loginTypeId===te.t.DEFAULT&&delete we.loginTypeId,(0,A.of)(void 0).pipe((0,S.n)(()=>this.fingerprintService.addFingerprintData(we)),(0,S.n)(Ce=>this.httpClient.post(ye.LOGIN,Ce).pipe((0,C.T)(this.loginApiCallback()))))}loginApiCallback(){return we=>{if(we.status===Y.m.SUCCESS.statusCode){const Ce=we.data;if(Ce){Ce.mainWallet=u.z.add(Ce.balance||0,Ce.totalMainProviderBalance||0),this.setSystemLogin(Ce);const ut=re.U.getInstanceOf(Ce.currencyTypeId);ut&&(this.siteSettingService.setCurrencyType(ut),this.checkLanguageTypeByCurrentCurrencyType())}const $e=Number(localStorage.getItem("languageType"));this.bridgeUtilService.sendMessage(`{"site":${this.i18nService.translate("ui.global.text.brand_short_name").toLocaleLowerCase()},"lang":"${ve.t.getInstanceOfDefaultEn($e).resourceKey}"}`)}else this.setSystemLogout();return we}}logout(we){this.httpClient.post(ye.LOGOUT).subscribe(Ce=>{Ce.status===Y.m.SUCCESS.statusCode&&(this.eventQueueService.dispatch(new F._),this.setSystemLogout(),this.router.navigateByUrl(we||"/"))})}logout_check(){this.dialogService.openDialog(this.LOGOUT_CHECK_UI,{data:{title:`${this.i18nService.translate("ui.member_menu.text.logout")}`,content:`${this.i18nService.translate("ui.global.text.check_logout_popup_text")}`}}).subscribe()}checkLogin(we={skipHttpErrorHandle:!1}){const Ce=new e._y;return Ce.set(J.nd,we.skipHttpErrorHandle||!1),this.httpClient.get(ye.CHECK,void 0,{context:Ce}).pipe((0,S.n)($e=>{if($e.status===Y.m.SUCCESS.statusCode){const Ye=$e.data;if(Ye&&(Ye.mainWallet=u.z.add(Ye.balance||0,Ye.totalMainProviderBalance||0)),this.authState.set({isLogin:!0,accountInfo:Ye}),Ye){const mt=re.U.getInstanceOf(Ye.currencyTypeId);mt&&(this.siteSettingService.setCurrencyType(mt),this.checkLanguageTypeByCurrentCurrencyType())}}else this.setSystemLogout();return(0,A.of)($e)}))}checkBalance(){return this.httpClient.get(ye.CHECK_BALANCE_AND_VIP_INFO).pipe((0,S.n)(we=>{if(we.status===Y.m.SUCCESS.statusCode){const Ce=we.data;Ce&&(Ce.mainWallet=u.z.add(Ce.balance||0,Ce.totalMainProviderBalance||0));let $e=this.authState.get("accountInfo");$e=Object.assign({},$e,Ce),this.authState.set({accountInfo:$e})}return(0,A.of)(we)}))}getUnNotifiedTxn(){return this.httpClient.post(ye.GET_UN_NOTIFIED_TXN,void 0)}clearUnNotifiedTxn(we){return this.httpClient.post(ye.CLEAR_UN_NOTIFIED_TXN,{timestamp:we})}smallGameToken(){return this.httpClient.post(ye.SMALLGAMETOKEN).pipe((0,S.n)(we=>(0,A.of)(we)))}decryptToken(we){const Ce=new e._y;return Ce.set(J.nd,!0),this.httpClient.post(ye.GET_PRE_LOGIN_TOKEN,{encrypt:we},{context:Ce}).pipe((0,C.T)($e=>$e))}recoverResetPasswordStatus(){const we=this.authState.get("accountInfo");this.authState.set({accountInfo:{...we,isResetPassword:!1}})}static#c=this.\u0275fac=function(Ce){return new(Ce||ye)(v.KVO(ce.Ix),v.KVO(ue.t),v.KVO(Te.D),v.KVO(y.H),v.KVO(_e.H),v.KVO(Ge.JO),v.KVO(h.p),v.KVO(Ve.o))};static#l=this.\u0275prov=v.jDH({token:ye,factory:ye.\u0275fac,providedIn:"root"})}return ye})();class at{constructor(){this.isPlatformBrowser=(0,c.UE)((0,v.WQX)(v.Agw)),this.authState=(0,v.WQX)(y.H),this.authService=(0,v.WQX)(dt)}static#e=this.DEFAULT_INTERVAL_MS=15*T.yr.MINUTE;static#t=this.INTERVAL$=new x.t(at.DEFAULT_INTERVAL_MS);static#n=this.CHECK$=new P.B;get isContinuouslyChecking(){return!!at.stopIntervalCheck$}init(){this.isPlatformBrowser&&(at.subscriptionOfDoingCheck||(at.subscriptionOfDoingCheck=at.CHECK$.pipe((0,B.p)(()=>!!this.authState.get("isLogin")),(0,S.n)(()=>this.authService.checkLogin()),this.startIfLoginAndStopIfLogout()).subscribe(),this.authState.select("isLogin").pipe((0,B.p)(Oe=>!!Oe),(0,W.M)(()=>this.startIntervalCheck(at.DEFAULT_INTERVAL_MS))).subscribe(),this.authState.select("isLogin").pipe((0,B.p)(Oe=>!Oe),(0,W.M)(()=>this.stopIntervalCheck())).subscribe()))}changeCheckingPeriod(Oe){at.INTERVAL$.next(Oe)}startIntervalCheck(Oe){this.isPlatformBrowser&&(at.INTERVAL$.next(Oe),!this.isContinuouslyChecking&&(at.stopIntervalCheck$=new P.B,at.INTERVAL$.pipe((0,S.n)(we=>(0,ee.Y)(we)),(0,W.M)(()=>this.checkBalance()),(0,se.Q)(at.stopIntervalCheck$)).subscribe()))}stopIntervalCheck(){this.isPlatformBrowser&&(at.stopIntervalCheck$?.next(),at.stopIntervalCheck$?.complete(),at.stopIntervalCheck$?.unsubscribe(),at.stopIntervalCheck$=void 0,at.INTERVAL$.next(at.DEFAULT_INTERVAL_MS))}checkBalance(){this.authService.checkBalance().subscribe()}checkBalance$(){return this.authService.checkBalance()}checkImmediately(){this.isPlatformBrowser&&at.CHECK$.next(void 0)}startIfLoginAndStopIfLogout(){return(0,y.L)(this.authState)}}},51433:(Me,K,o)=>{"use strict";o.d(K,{H:()=>R,L:()=>T});var u=o(94768),e=o(54438),h=o(5964),c=o(25558),v=o(56977),y=o(96697);const R=new e.nKC("AUTH_STATE",{providedIn:"root",factory:()=>{const A=new u.Y;return A.set({isLogin:void 0}),A}});function T(A){return S=>A.select("isLogin").pipe((0,h.p)(C=>C),(0,c.n)(()=>S.pipe((0,v.Q)(A.select("isLogin").pipe((0,h.p)(C=>!C),(0,y.s)(1))))))}},48055:(Me,K,o)=>{"use strict";o.d(K,{W:()=>T});var u=o(54438),e=o(74851),h=o(20464),c=o(22741),v=o(20753),y=o(51188),R=o(8003);let T=(()=>{class A{constructor(C,x,P,B,W){this.translocoService=C,this.route=x,this.router=P,this.siteSettingService=B,this.platformId=W,this.translocoLoader=(0,u.WQX)(h.oH),this.forceReloadService=(0,u.WQX)(c.s),this.environment=(0,u.WQX)(v.n),this.routingPathType=e.C,this.availableLanguages=this.translocoService.getAvailableLangs()}refresh(C){const x=this.router.url.split("?")[0],P=this.router.routeReuseStrategy.shouldReuseRoute,B=this.router.onSameUrlNavigation;this.router.routeReuseStrategy.shouldReuseRoute=()=>!1,this.router.onSameUrlNavigation="reload",setTimeout(()=>{this.router.onSameUrlNavigation=B,this.router.routeReuseStrategy.shouldReuseRoute=P},0),this.router.navigateByUrl("/",{skipLocationChange:!0}).then(()=>{this.router.navigate([x],{queryParams:this.route.snapshot.queryParams}).then(()=>{"currency"===C&&this.environment.forceReloadAfterCurrencyChanged&&this.forceReloadService.forceReloadAfterRouterNavigation()})})}setActiveLang(C){return this.translocoService.setActiveLang(C._resourceKey),this}changeCurrencyAndLanguage(C,x){this.siteSettingService.continueIfMarketIsValidByCurrencyAndLanguage(C,x).subscribe(()=>{this.isValidLanguage(x)&&this.translocoLoader.getTranslation(x.resourceKey).then(()=>{this.siteSettingService.setCurrencyType(C),this.siteSettingService.setLanguageType(x)})})}isValidLanguage(C){let x=!1;const P=this.availableLanguages;for(const B in P)if(P[B]==C._resourceKey){x=!0;break}return x||console.error(`${C._resourceKey} not in availableLanguages: ${this.availableLanguages}`),x}static#e=this.\u0275fac=function(x){return new(x||A)(u.KVO(h.JO),u.KVO(y.nX),u.KVO(y.Ix),u.KVO(R.D),u.KVO(u.Agw))};static#t=this.\u0275prov=u.jDH({token:A,factory:A.\u0275fac})}return A})()},30617:(Me,K,o)=>{"use strict";o.d(K,{p:()=>c});var u=o(94768),e=o(54438),h=o(62685);const c=new e.nKC("SITE_SETTING",{providedIn:"root",factory:()=>{const v=new u.Y,y=h.r.getGMT((new Date).getTime());return v.set({currentTimeZone:y}),v}})},8003:(Me,K,o)=>{"use strict";o.d(K,{D:()=>x});var u=o(60177),e=o(54438),h=o(11586),c=o(30617),v=o(51066),y=o(71522),R=o(78922),T=o(7673),A=o(35060),S=o(20753),C=o(76672);let x=(()=>{class P{constructor(W){this.languageService=W,this.isBrowser=(0,u.UE)((0,e.WQX)(e.Agw)),this.settingService=(0,e.WQX)(h.q),this.environment=(0,e.WQX)(S.n),this.siteSettingState=(0,e.WQX)(c.p)}continueIfMarketIsValidByCurrencyAndLanguage(W,ee){if(!this.isBrowser)return(0,T.of)(!0);const se=W,Y=ee;return(this.getWebsiteSettingByCurrency(se,R.X.MARKET)||[]).includes(this.environment.market)?(0,T.of)(!0):(setTimeout(()=>{this.settingService.changeCurrencyLang({currencyTypeId:se.unique,languageTypeId:Y.unique}).subscribe(le=>{if(le){const Ee=new URL(le);Ee.searchParams.set("marketCurrency",`${se.unique}`),Ee.searchParams.set("marketLang",`${Y.unique}`),this.siteSettingState.get("siteSettingModel")?.isNativeApp&&Ee.searchParams.set("isNativeApp","true"),location.replace(Ee)}})},0),A.t)}continueIfMarketIsValid(){const W=this.siteSettingState.get("currentCurrencyType"),ee=this.siteSettingState.get("currentLanguageType");return this.continueIfMarketIsValidByCurrencyAndLanguage(W,ee)}getWebsiteSettingByCurrency(W,ee){if(!W||!ee)return;const se=this.siteSettingState.get("currencyMappingSettingModel");return se?se.find(Y=>Y.currencyTypeId===W.unique)?.mapping?.find(Y=>Y.currencySettingTypeId===ee.unique)?.mappingData:void 0}setCurrencyLanguageToState(W){const ee=W.map(se=>se.currencyTypeId);if(ee.length>0){const se=this.getCurrentCurrency(ee),re=W.filter(le=>le.currencyTypeId===se.unique)[0].mapping.filter(le=>le.currencySettingTypeId===R.X.LANGUAGE.unique).map(le=>le.mappingData).reduce((le,Ee)=>le.concat(Ee),[]),ve=this.getCurrentLanguage(re);this.siteSettingState.set({currencyMappingSettingModel:W}),this.setCurrencyType(se),this.setLanguageType(ve)}}getCurrentCurrencySetting(){return this.siteSettingState.get("currencyMappingSettingModel")}getCurrentCurrency(W){const ee=this.isBrowser?Number(localStorage.getItem("currencyType")):null,se=ee&&W.includes(ee)?ee:W[0],Y=v.U.getInstanceOf(se);if(Y)return Y;throw new Error("can not find any currency")}getCurrentLanguage(W){let ee=this.languageService.getLocalLanguage();try{return W.includes(ee.unique.toString())||(ee=y.t.default),ee}catch{return console.warn("can not find any language"),y.t.default}}setCurrencyType(W){this.isBrowser&&localStorage.setItem("currencyType",W.unique.toString()),this.siteSettingState.set({currentCurrencyType:W})}setLanguageType(W){this.isBrowser&&localStorage.setItem("languageType",W.unique.toString()),this.siteSettingState.set({currentLanguageType:W})}static#e=this.\u0275fac=function(ee){return new(ee||P)(e.KVO(C.g))};static#t=this.\u0275prov=e.jDH({token:P,factory:P.\u0275fac,providedIn:"root"})}return P})()},93430:(Me,K,o)=>{"use strict";o.d(K,{C:()=>T});var u=o(60177),e=o(54438),h=o(84412),c=o(22806),v=o(25558),y=o(99437),R=o(88141);let T=(()=>{class A{constructor(){this.isBrowser=(0,u.UE)((0,e.WQX)(e.Agw)),this._isDeletingCache$=new h.t(!1),this.isDeletingCache$=this._isDeletingCache$.asObservable()}handleError(C){return console.error("deletePwaApiCacheByUrl(), error = ",C),Promise.resolve(!0)}deletePwaApiCacheByUrl(C){this.isBrowser&&(this._isDeletingCache$.next(!0),(0,c.H)(caches.keys()).pipe((0,v.n)(x=>Promise.all(x.map(P=>P.includes("ngsw:")&&P.includes("data:api")?caches.open(P).then(B=>B.keys().then(W=>Promise.all(W.map(ee=>ee.url.includes(C)?B.delete(ee).catch(this.handleError):Promise.resolve(!0)))).catch(this.handleError)).catch(this.handleError):Promise.resolve(!0)))),(0,y.W)(this.handleError),(0,R.M)(()=>{this._isDeletingCache$.next(!1)})).subscribe())}static#e=this.\u0275fac=function(x){return new(x||A)};static#t=this.\u0275prov=e.jDH({token:A,factory:A.\u0275fac,providedIn:"root"})}return A})()},95407:(Me,K,o)=>{"use strict";o.d(K,{i:()=>y});var u=o(54438),e=o(21413),h=o(56977),c=o(94768);const v=new u.nKC("APP_STATE",{providedIn:"root",factory:()=>{const R=new c.Y;return R.set({prerenderPath:void 0,timestamp:1746529685165,isIframeGameOpened:!1,shouldHideExternalUI:!1,siteName:"",isSupportBio:!1,isFantasyGameInactive:!0,fantasyVoucherAmount:0,trackingCid:"",trackingRooterClickId:"",trackingSharechatClickId:"",trackingSharechatAdId:"",trackingXenaQeuryString:"",showVoucher:!0,isInAndroidPackage:!1,canAutoPlayVideo:!0,showDeco:!1}),R}});let y=(()=>{class R{constructor(){this.state=(0,u.WQX)(v),this.destroy$=new e.B}on(A){return this.state.select(A).pipe((0,h.Q)(this.destroy$))}get(A){return this.state.get(A)}set(A,S){this.state.set(A,()=>S)}toggleIframeGameOpened(A){"open"===A?this.state.set("isIframeGameOpened",()=>!0):"close"===A&&this.state.set("isIframeGameOpened",()=>!1)}toggleShouldHideExternalUI(A){"hide"===A?this.state.set("shouldHideExternalUI",()=>!0):"show"===A&&this.state.set("shouldHideExternalUI",()=>!1)}registerBootstrap(A){A.onDestroy(()=>{this.destroy$.next(),this.destroy$.unsubscribe()})}static#e=this.\u0275fac=function(S){return new(S||R)};static#t=this.\u0275prov=u.jDH({token:R,factory:R.\u0275fac})}return R})()},60946:(Me,K,o)=>{"use strict";o.d(K,{I:()=>c});var u=o(54438),e=o(20464),h=o(68982);let c=(()=>{class v extends e.bA{constructor(){super(...arguments),this.i18nKeyCustomizer=(0,u.WQX)(h.f,{optional:!0})}getTranslateFn(R,T){const A=super.getTranslateFn(R,T);return(C,x)=>(C=this.i18nKeyCustomizer?this.i18nKeyCustomizer.getCustomI18nKey(C):C,A(C,x))}static#e=this.\u0275fac=(()=>{let R;return function(A){return(R||(R=u.xGo(v)))(A||v)}})();static#t=this.\u0275dir=u.FsC({type:v,selectors:[["","drcTransloco",""]],features:[u.Vt3]})}return v})()},68982:(Me,K,o)=>{"use strict";o.d(K,{f:()=>e});const e=new(o(54438).nKC)("I18N_KEY_CUSTOMIZER")},77217:(Me,K,o)=>{"use strict";o.d(K,{N:()=>A});var u=o(20464),e=o(60177),h=o(60946),c=o(54438),v=o(68982);let y=(()=>{class S{constructor(){this.translocoService=(0,c.WQX)(u.JO),this.i18nKeyCustomizer=(0,c.WQX)(v.f,{optional:!0})}transform(x,P,B){return x=this.i18nKeyCustomizer?this.i18nKeyCustomizer.getCustomI18nKey(x):x,this.translocoService.translate(x,P,B)}static#e=this.\u0275fac=function(P){return new(P||S)};static#t=this.\u0275pipe=c.EJ8({name:"transloco",type:S,pure:!1})}return S})();var R=o(30617);function T(S){return class{constructor(){this.siteSetting$=(0,c.WQX)(R.p)}getCustomI18nKey(x){if(S.customizeByCurrencyType.length){let P=x;const B=this.siteSetting$.get("currentCurrencyType");return P=S.customizeByCurrencyType.find(ee=>ee.originI18nKey===x&&ee.currencyTypeList.includes(B))?.customI18nKey||P,P}return x}}}let A=(()=>{class S{static forRoot(x){const P=[];return x?.i18nKeyCustomizerConfig&&P.push({provide:v.f,useClass:T(x.i18nKeyCustomizerConfig)}),{ngModule:S,providers:P}}static#e=this.\u0275fac=function(P){return new(P||S)};static#t=this.\u0275mod=c.$C({type:S});static#n=this.\u0275inj=c.G2t({providers:[{provide:u.bA,useClass:h.I},{provide:u.Kj,useClass:y}],imports:[e.MD,u.Q8,u.Q8]})}return S})()},46983:(Me,K,o)=>{"use strict";o.d(K,{N:()=>e});const e=new(o(54438).nKC)("REFRESH_TOKEN_HANDLER")},20897:(Me,K,o)=>{"use strict";o.d(K,{W:()=>re});var u=o(60177),e=o(21626),h=o(54438),c=o(84412),v=o(5964),y=o(96697),R=o(25558),T=o(7673),A=o(88141),S=o(99437),C=o(18810),x=o(88759),P=o(29405),B=o(46983),W=o(79336),ee=o(35513);let re=(()=>{class ve{constructor(){this.isBrowser=(0,u.UE)((0,h.WQX)(h.Agw)),this.apiAuthenticationState=(0,h.WQX)(x.K),this.injector=(0,h.WQX)(h.zZn),this.isRefreshingToken$=new c.t(!1)}parseJwt(Ee){if(!Ee)return null;var j=Ee.split(".")[1].replace(/-/g,"+").replace(/_/g,"/"),te=decodeURIComponent(window.atob(j).split("").map(function(J){return"%"+("00"+J.charCodeAt(0).toString(16)).slice(-2)}).join(""));return JSON.parse(te)}setToken(Ee){let F=0;Ee.accessToken&&(F=this.parseJwt(Ee.accessToken)?.exp||F),this.isBrowser&&(localStorage.setItem(P.v,Ee.accessToken||""),localStorage.setItem(P.wf,Ee.refreshToken||""),localStorage.setItem(P.lz,`${F}`)),this.apiAuthenticationState.set(()=>Ee)}clearToken(){return this.setToken({accessToken:"",refreshToken:""})}selectToken(){return this.apiAuthenticationState.select()}getToken(){return{accessToken:localStorage.getItem(P.v),refreshToken:localStorage.getItem(P.wf)}}intercept(Ee,F){if(!this.isBrowser)return F.handle(Ee);if(/^(http|https):\/\//.test(Ee.urlWithParams)){const te=window.location.host.split("."),J=Ee.url.split("/")[2].split(".");if(te[te.length-2]+"."+te[te.length-1].split(":")[0]!=J[J.length-2]+"."+J[J.length-1].split(":")[0])return F.handle(Ee)}const j=this.getRefreshTokenHandler().isRefreshTokenApi(Ee.urlWithParams);return j?this.handleRequest(Ee,F,j):this.isRefreshingToken$.pipe((0,v.p)(te=>!te),(0,y.s)(1),(0,R.n)(()=>this.handleRequest(Ee,F,j)))}getRefreshTokenHandler(){return this.refreshTokenHandler=this.refreshTokenHandler||this.injector.get(B.N),this.refreshTokenHandler}refreshToken(){return this.getToken()?.refreshToken?(this.isRefreshingToken$.next(!0),this.getRefreshTokenHandler().refreshToken().pipe((0,A.M)(F=>{this.setToken(F),this.isRefreshingToken$.next(!1)}),(0,S.W)(F=>(this.clearToken(),this.isRefreshingToken$.next(!1),(0,C.$)(()=>F))))):(0,T.of)(!1)}handleRequest(Ee,F,j){const te=this.getToken(),J=j?te.refreshToken:te.accessToken,$=Ee.context.get(ee.nd);let ce=Ee.headers;J&&(ce=ce.append("Authorization",`Bearer ${J}`)),ce=ce.append("X-Internal-Request","61405202");const ue=Ee.clone({headers:ce});return F.handle(ue).pipe((0,v.p)(Te=>Te instanceof e.cS),(0,R.n)(Te=>(Te?.body?.status===W.m.TOKEN_INACTIVE.statusCode&&$&&this.refreshToken().subscribe(),(0,T.of)(Te))))}static#e=this.\u0275fac=function(F){return new(F||ve)};static#t=this.\u0275prov=h.jDH({token:ve,factory:ve.\u0275fac})}return ve})()},88759:(Me,K,o)=>{"use strict";o.d(K,{K:()=>e});const e=new(o(54438).nKC)("API_AUTHENTICATION_STATE")},29405:(Me,K,o)=>{"use strict";o.d(K,{lz:()=>e,v:()=>u,wf:()=>h});const u="accessToken",e="accessTokenExp",h="refreshToken"},95091:(Me,K,o)=>{"use strict";o.d(K,{C:()=>u});let u=(()=>{class e{static#e=this.SAME_CURRENCY_LANGUAGE_IN_BODY=(c,v)=>{const y=c.body,R=v.request.body;return y?.currencyTypeId===R?.currencyTypeId&&y?.languageTypeId===R?.languageTypeId};static#t=this.SAME_CURRENCY_LANGUAGE_IN_QUERY_PARAMS=(c,v)=>{try{const R=new URL(v.response.url||"").origin,T=new URL(`${R}/${c.urlWithParams}`).searchParams,A=T.get("currencyTypeId"),S=T.get("languageTypeId"),C=new URL(`${R}/${v.request.urlWithParams}`).searchParams,x=C.get("currencyTypeId"),P=C.get("languageTypeId");return A===x&&S===P}catch{return!1}};static#n=this.SAME_CURRENCY_LANGUAGE_IN_PARAMS=(c,v)=>{const y=c.params,R=v.request.params;return y?.get("currencyTypeId")===R?.get("currencyTypeId")&&y?.get("languageTypeId")===R?.get("languageTypeId")};static#i=this.SAME_CURRENCY_IN_PARAMS=(c,v)=>{const y=c.params,R=v.request.params;return y?.get("currencyTypeId")===R?.get("currencyTypeId")}}return e})()},34944:(Me,K,o)=>{"use strict";o.d(K,{W:()=>e});const e=new(o(21626).rx)(()=>null)},29655:(Me,K,o)=>{"use strict";o.d(K,{t:()=>y});var u=o(60177),e=o(21626),h=o(54438),c=o(20753),v=o(96354);let y=(()=>{class R{constructor(){this.isServer=(0,u.Vy)((0,h.WQX)(h.Agw)),this.http=(0,h.WQX)(e.Qq),this.environment=(0,h.WQX)(c.n),this.jsonOptions={observe:"body",responseType:"json"},this.textOptions={observe:"body",responseType:"text"},this.demoOptions={headers:{"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"},observe:"body",responseType:"json"}}getBaseUrl(){let A="";return this.isServer&&(A=`${this.environment.ssrDomain}`),A}get(A,S={},C={}){const x={...this.jsonOptions,...C,params:S};return this.http.get(this.getBaseUrl()+A,x).pipe((0,v.T)(P=>P))}post(A,S={},C={}){return this.http.post(this.getBaseUrl()+A,S,Object.assign(C,this.jsonOptions)).pipe((0,v.T)(x=>x))}postAndRespText(A,S={}){return this.http.post(A,S,this.textOptions)}demo(A,S={}){const C=new URLSearchParams;return C.set("gameType","1"),this.http.post(A,C,this.demoOptions).pipe((0,v.T)(x=>x))}static#e=this.\u0275fac=function(S){return new(S||R)};static#t=this.\u0275prov=h.jDH({token:R,factory:R.\u0275fac,providedIn:"root"})}return R})()},35513:(Me,K,o)=>{"use strict";o.d(K,{SW:()=>y,bP:()=>v,kZ:()=>c,nd:()=>e,wM:()=>h});var u=o(21626);const e=new u.rx(()=>!1),h=new u.rx(()=>!1),c=new u.rx(()=>!1),v=new u.rx(()=>!1),y=new u.rx(()=>!1)},65788:(Me,K,o)=>{"use strict";o.d(K,{N:()=>u});class u{constructor(h){this.key=h}get unique(){return this.key}}},37380:(Me,K,o)=>{"use strict";o.d(K,{e:()=>e});const e=new(o(54438).nKC)("CDN_SERVER")},81084:(Me,K,o)=>{"use strict";o.d(K,{H:()=>R});var u=o(54438),e=o(95407),h=o(37380),c=o(60177),v=o(1583),y=o(20753);let R=(()=>{class A{constructor(){this.document=(0,u.WQX)(c.qQ),this.isBrowser=(0,c.UE)((0,u.WQX)(u.Agw)),this.cdnServer=(0,u.WQX)(h.e),this.appStateService=(0,u.WQX)(e.i),this.cloudSetting=(0,u.WQX)(v.Z),this.systemConfig=(0,u.WQX)(y.n)}get cdnDomain(){return(this.appStateService.get("isSystemMaintaining")?this.systemConfig.cdnDomain:this.cdnServer?.cdnDomain)||""}get hasCdnSetting(){return this.cdnDomain&&this.cdnServer?.device}get isLocalhost(){return(this.document?.location?.origin||"").includes("localhost")}cdnDomainAddSuffix(C){return C?`${C}/${this.cdnServer.market}/${this.cdnServer.device}`:C}useWithServer(C,x){if(!(C=C||"")||/^(http|https):\/\//.test(C)||this.isBrowser&&this.isLocalhost||!this.isAssets(C))return C;const ee=this.cdnDomain,se=!this.cloudSetting.isCloud&&!!ee,Y=this.canAddTimestamp(C);let re=C;return se&&(re=this.addCdnDomain(ee,re)),Y&&(re=this.addTimestamp(re),x&&(re=this.addFlag(re,x))),re}addCdnDomain(C,x){let P=x;0===P.indexOf("./")&&(P=P.replace("./","/"));const B=this.cdnServer.device,W=this.cdnServer.market;"/"===C[C.length-1]&&(C=C.substring(0,C.length-1));let ee=x;return"/"===ee[0]&&(ee=ee.substring(1,ee.length)),P=`${C}/${W}/${B}/${ee}`,P}canAddTimestamp(C){return!(!C||C.startsWith("data")||C.includes("/upload/"))}isAssets(C){return 0===C.indexOf("/assets/")||0===C.indexOf("assets/")||0===C.indexOf("./assets/")}addQueryString(C,x,P,B="end"){const[W,ee]=C.split("?"),se=(ee||"").split("&").filter(ve=>!!ve);"start"===B?se.unshift(`${x}=${P}`):se.push(`${x}=${P}`);const Y=se.reduce((ve,le)=>{const[Ee,F]=le.split("=");return ve.set(Ee,F),ve},new Map);return`${W||""}?${Array.from(Y.keys()).filter(ve=>!!ve).map(ve=>`${ve}=${Y.get(ve)}`).join("&")}`}addTimestamp(C){try{const x=this.appStateService.get("timestamp")||(new Date).getTime();return this.addQueryString(C,"v",`${x}`,"start")}catch(x){console.error("addTimestamp",C,x)}return C}addFlag(C,x){return this.addQueryString(C,x.k,x.v)}static#e=this.\u0275fac=function(x){return new(x||A)};static#t=this.\u0275prov=u.jDH({token:A,factory:A.\u0275fac,providedIn:"root"})}return A})()},1583:(Me,K,o)=>{"use strict";o.d(K,{Z:()=>e});const e=new(o(54438).nKC)("CLOUD_SETTING")},60086:(Me,K,o)=>{"use strict";o.d(K,{k:()=>h});var u=o(65788),e=function(c){return c[c.INACTIVE=0]="INACTIVE",c[c.ACTIVE=1]="ACTIVE",c[c.COMPLETE=2]="COMPLETE",c[c.RETURN_TO_MAIN=3]="RETURN_TO_MAIN",c[c.SUSPEND=-1]="SUSPEND",c[c.EXPIRED=-2]="EXPIRED",c[c.AUTO_FORCE_SERVE=-3]="AUTO_FORCE_SERVE",c[c.MANUAL_FORCE_SERVE=-4]="MANUAL_FORCE_SERVE",c}(e||{});class h extends u.N{static#e=this._values=new Array;static#t=this.INACTIVE=new h(e.INACTIVE,"Inactive");static#n=this.ACTIVE=new h(e.ACTIVE,"Active");static#i=this.COMPLETE=new h(e.COMPLETE,"Complete");static#s=this.RETURN_TO_MAIN=new h(e.RETURN_TO_MAIN,"Return_To_Main");static#r=this.SUSPEND=new h(e.SUSPEND,"Suspend");static#o=this.EXPIRED=new h(e.EXPIRED,"Expired");static#a=this.AUTO_FORCE_SERVE=new h(e.AUTO_FORCE_SERVE,"Auto_Force_Serve");static#c=this.MANUAL_FORCE_SERVE=new h(e.MANUAL_FORCE_SERVE,"Manual_Force_Serve");constructor(v,y){super(v),this._value=v,this._name=y,h.values.push(this)}static get values(){return this._values}static getInstanceOf(v){return this._values.find(y=>y._value===v)}get name(){return this._name}}},94206:(Me,K,o)=>{"use strict";o.d(K,{h:()=>h});var u=o(65788),e=function(c){return c[c.OPENING=1]="OPENING",c[c.EXECUTING=2]="EXECUTING",c[c.CLOSING=3]="CLOSING",c}(e||{});class h extends u.N{static#e=this._values=new Array;static#t=this.OPENING=new h(e.OPENING,"opening");static#n=this.EXECUTING=new h(e.EXECUTING,"executing");static#i=this.CLOSING=new h(e.CLOSING,"closing");constructor(v,y){super(v),this._value=v,this._title=y,h.values.push(this)}static get values(){return this._values}static getInstanceOf(v){return this._values.find(y=>y._value===v)}get title(){return this._title}}},79336:(Me,K,o)=>{"use strict";o.d(K,{m:()=>c});var u=o(65788),e=o(13978),h=function(v){return v[v.UNKNOWN_ERROR=0]="UNKNOWN_ERROR",v[v.SUCCESS=1]="SUCCESS",v[v.TOKEN_INACTIVE=2]="TOKEN_INACTIVE",v[v.MUST_BE_LOGIN=3]="MUST_BE_LOGIN",v[v.ACCOUNT_IS_LOCK=4]="ACCOUNT_IS_LOCK",v[v.ACCOUNT_IS_INACTIVED=5]="ACCOUNT_IS_INACTIVED",v[v.ACCOUNT_IS_SUSPENDED=6]="ACCOUNT_IS_SUSPENDED",v[v.ACCOUNT_FAIL_COUNT=7]="ACCOUNT_FAIL_COUNT",v[v.IP_BLOCK_BAN_COUNTRY=8]="IP_BLOCK_BAN_COUNTRY",v[v.BRAND_MAINTAIN=9]="BRAND_MAINTAIN",v[v.SYSTEM_MAINTAIN=10]="SYSTEM_MAINTAIN",v[v.ACCOUNT_IS_NOT_EXISTS=11]="ACCOUNT_IS_NOT_EXISTS",v[v.LOGIN_FAILED=12]="LOGIN_FAILED",v[v.EXCEEDED_DAILY_OTP_LIMIT=13]="EXCEEDED_DAILY_OTP_LIMIT",v[v.SAME_AS_OLD_PASSWORD=14]="SAME_AS_OLD_PASSWORD",v[v.SMS_FORGET_PASSWORD_ERROR=15]="SMS_FORGET_PASSWORD_ERROR",v[v.VERIFY_NEED_OTP=16]="VERIFY_NEED_OTP",v[v.PROMO_CODE_SUCCESS=17]="PROMO_CODE_SUCCESS",v[v.FREE_CREDIT_SUCCESS=18]="FREE_CREDIT_SUCCESS",v[v.INVALID_PROMO_CODE=19]="INVALID_PROMO_CODE",v[v.PROMO_CODE_PARTICIPANT_EXCEED=20]="PROMO_CODE_PARTICIPANT_EXCEED",v[v.INVALID_PROMO_CODE_CURRENCY=21]="INVALID_PROMO_CODE_CURRENCY",v[v.PROMO_CODE_APPLIED=22]="PROMO_CODE_APPLIED",v[v.CAPTCHA_INVALID=23]="CAPTCHA_INVALID",v[v.OPEN_GAME_ERROR=24]="OPEN_GAME_ERROR",v[v.OPEN_GAME_RETRY=25]="OPEN_GAME_RETRY",v[v.CAPTCHA_EXPIRE=26]="CAPTCHA_EXPIRE",v[v.ACCOUNT_INVALID=27]="ACCOUNT_INVALID",v[v.USER_NAME_INVALID=28]="USER_NAME_INVALID",v[v.PASSWORD_INVALID=29]="PASSWORD_INVALID",v[v.CONFIRM_PASSWORD_INVALID=30]="CONFIRM_PASSWORD_INVALID",v[v.CURRENCY_TYPE_ID_INVALID=31]="CURRENCY_TYPE_ID_INVALID",v[v.CALLING_CODE_INVALID=32]="CALLING_CODE_INVALID",v[v.PHONE_INVALID=33]="PHONE_INVALID",v[v.EMAIL_INVALID=34]="EMAIL_INVALID",v[v.FRIEND_REFERRER_CODE_INVALID=35]="FRIEND_REFERRER_CODE_INVALID",v[v.DATE_OF_BIRTH_INVALID=36]="DATE_OF_BIRTH_INVALID",v[v.USER_BANK_ID_INVALID=37]="USER_BANK_ID_INVALID",v[v.USER_BANK_ACCOUNT_NO_INVALID=38]="USER_BANK_ACCOUNT_NO_INVALID",v[v.LIMIT_NEW_PHONE_TIMES=39]="LIMIT_NEW_PHONE_TIMES",v[v.VIP_CONVERT_POINT_REDEMPTION_ERROR=40]="VIP_CONVERT_POINT_REDEMPTION_ERROR",v[v.EMAIL_FORGET_PASSWORD_ERROR=41]="EMAIL_FORGET_PASSWORD_ERROR",v[v.WITHDRAWAL_TURNOVER_NOT_REACH=42]="WITHDRAWAL_TURNOVER_NOT_REACH",v[v.WITHDRAWAL_NEED_VERIFY=43]="WITHDRAWAL_NEED_VERIFY",v[v.WITHDRAWAL_PENDING_LIMIT_REACH=44]="WITHDRAWAL_PENDING_LIMIT_REACH",v[v.WITHDRAWAL_NOT_ENOUGH_BALANCE=45]="WITHDRAWAL_NOT_ENOUGH_BALANCE",v[v.VERIFICATION_CODE_CONTACT_INFO_IS_ALREADY_EXIST=46]="VERIFICATION_CODE_CONTACT_INFO_IS_ALREADY_EXIST",v[v.VERIFICATION_CODE_RESEND_COOLDOWN_LIMIT=47]="VERIFICATION_CODE_RESEND_COOLDOWN_LIMIT",v[v.DEPOSIT_PROMOTION_REPETITION_IS_FULL=48]="DEPOSIT_PROMOTION_REPETITION_IS_FULL",v}(h||{});class c extends u.N{static#e=this._values=new Array;static#t=this.UNKNOWN_ERROR=new c(h.UNKNOWN_ERROR,"E9999");static#n=this.SUCCESS=new c(h.SUCCESS,"000000");static#i=this.TOKEN_INACTIVE=new c(h.TOKEN_INACTIVE,"S0001");static#s=this.MUST_BE_LOGIN=new c(h.MUST_BE_LOGIN,"S0002");static#r=this.ACCOUNT_IS_LOCK=new c(h.ACCOUNT_IS_LOCK,"S0003",e.P.USER_ID);static#o=this.ACCOUNT_IS_INACTIVED=new c(h.ACCOUNT_IS_INACTIVED,"S0004",e.P.USER_ID);static#a=this.ACCOUNT_IS_NOT_EXISTS=new c(h.ACCOUNT_IS_NOT_EXISTS,"S0005",e.P.USER_ID);static#c=this.LOGIN_FAILED=new c(h.LOGIN_FAILED,"U0002");static#l=this.ACCOUNT_IS_SUSPENDED=new c(h.ACCOUNT_IS_SUSPENDED,"S0008",e.P.USER_ID);static#u=this.IP_BLOCK_BAN_COUNTRY=new c(h.IP_BLOCK_BAN_COUNTRY,"FS9994");static#d=this.ACCOUNT_FAIL_COUNT=new c(h.ACCOUNT_FAIL_COUNT,"FS9995",e.P.USER_ID);static#h=this.BRAND_MAINTAIN=new c(h.BRAND_MAINTAIN,"FS0001");static#f=this.SYSTEM_MAINTAIN=new c(h.SYSTEM_MAINTAIN,"FS0002");static#g=this.EXCEEDED_DAILY_OTP_LIMIT=new c(h.EXCEEDED_DAILY_OTP_LIMIT,"U0002");static#p=this.SAME_AS_OLD_PASSWORD=new c(h.SAME_AS_OLD_PASSWORD,"U0006",e.P.PASSWORD);static#_=this.SMS_FORGET_PASSWORD_ERROR=new c(h.SMS_FORGET_PASSWORD_ERROR,"U0009");static#m=this.EMAIL_FORGET_PASSWORD_ERROR=new c(h.EMAIL_FORGET_PASSWORD_ERROR,"C0001");static#v=this.VERIFY_NEED_OTP=new c(h.VERIFY_NEED_OTP,"U0010");static#E=this.PROMO_CODE_SUCCESS=new c(h.PROMO_CODE_SUCCESS,"PC0000");static#I=this.FREE_CREDIT_SUCCESS=new c(h.FREE_CREDIT_SUCCESS,"PC0001");static#C=this.INVALID_PROMO_CODE=new c(h.INVALID_PROMO_CODE,"PC0002");static#D=this.PROMO_CODE_PARTICIPANT_EXCEED=new c(h.PROMO_CODE_PARTICIPANT_EXCEED,"PC0003");static#A=this.INVALID_PROMO_CODE_CURRENCY=new c(h.INVALID_PROMO_CODE_CURRENCY,"PC0004");static#S=this.PROMO_CODE_APPLIED=new c(h.PROMO_CODE_APPLIED,"PC0005");static#R=this.OPEN_GAME_ERROR=new c(h.OPEN_GAME_ERROR,"G0001");static#O=this.OPEN_GAME_RETRY=new c(h.OPEN_GAME_RETRY,"G0002");static#y=this.CAPTCHA_EXPIRE=new c(h.CAPTCHA_EXPIRE,"F0001",e.P.VERIFICATION_CODE);static#T=this.CAPTCHA_INVALID=new c(h.CAPTCHA_INVALID,"F0002",e.P.VERIFICATION_CODE);static#M=this.ACCOUNT_INVALID=new c(h.ACCOUNT_INVALID,"F0003",e.P.USER_ID);static#N=this.USER_NAME_INVALID=new c(h.USER_NAME_INVALID,"F0004",e.P.FULL_NAME);static#w=this.PASSWORD_INVALID=new c(h.PASSWORD_INVALID,"F0005",e.P.PASSWORD);static#b=this.CONFIRM_PASSWORD_INVALID=new c(h.CONFIRM_PASSWORD_INVALID,"F0006",e.P.CONFIRM_PASSWORD);static#x=this.CURRENCY_TYPE_ID_INVALID=new c(h.CURRENCY_TYPE_ID_INVALID,"F0007",e.P.CURRENCY_TYPE);static#P=this.CALLING_CODE_INVALID=new c(h.CALLING_CODE_INVALID,"F0008",e.P.PHONE);static#L=this.PHONE_INVALID=new c(h.PHONE_INVALID,"F0009",e.P.PHONE);static#F=this.EMAIL_INVALID=new c(h.EMAIL_INVALID,"F0010",e.P.EMAIL);static#B=this.FRIEND_REFERRER_CODE_INVALID=new c(h.FRIEND_REFERRER_CODE_INVALID,"F0011",e.P.FRIEND_REFERRER_CODE);static#k=this.DATE_OF_BIRTH_INVALID=new c(h.DATE_OF_BIRTH_INVALID,"F0012",e.P.BIRTHDAY);static#U=this.USER_BANK_ID_INVALID=new c(h.USER_BANK_ID_INVALID,"F0015",e.P.BANK_ID);static#G=this.USER_BANK_ACCOUNT_NO_INVALID=new c(h.USER_BANK_ACCOUNT_NO_INVALID,"F0016",e.P.BANK_ACC_NUMBER);static#W=this.LIMIT_NEW_PHONE_TIMES=new c(h.LIMIT_NEW_PHONE_TIMES,"F0017");static#V=this.VIP_CONVERT_POINT_REDEMPTION_ERROR=new c(h.VIP_CONVERT_POINT_REDEMPTION_ERROR,"VIP0001");static#$=this.WITHDRAWAL_TURNOVER_NOT_REACH=new c(h.WITHDRAWAL_TURNOVER_NOT_REACH,"WD0001");static#H=this.WITHDRAWAL_NEED_VERIFY=new c(h.WITHDRAWAL_NEED_VERIFY,"WD0002");static#j=this.WITHDRAWAL_NOT_ENOUGH_BALANCE=new c(h.WITHDRAWAL_NOT_ENOUGH_BALANCE,"WD0003");static#K=this.VERIFICATION_CODE_CONTACT_INFO_IS_ALREADY_EXIST=new c(h.VERIFICATION_CODE_CONTACT_INFO_IS_ALREADY_EXIST,"FS9997");static#X=this.VERIFICATION_CODE_RESEND_COOLDOWN_LIMIT=new c(h.VERIFICATION_CODE_RESEND_COOLDOWN_LIMIT,"FS9997");static#Y=this.DEPOSIT_PROMOTION_REPETITION_IS_FULL=new c(h.DEPOSIT_PROMOTION_REPETITION_IS_FULL,"P0002");constructor(y,R,T){super(y),this._value=y,this._statusCode=R,this._field=T,c.values.push(this)}static get values(){return this._values}static getInstanceOf(y){return this._values.find(R=>R._value===y)}static getInstanceOfByStatusCode(y){return this._values.find(R=>R._statusCode===y)}get statusCode(){return this._statusCode}get field(){return this._field}}},83950:(Me,K,o)=>{"use strict";o.d(K,{Y:()=>h});var u=o(65788),e=function(c){return c[c.INACTIVE=0]="INACTIVE",c[c.ACTIVE=1]="ACTIVE",c}(e||{});class h extends u.N{static#e=this._values=new Array;static#t=this.INACTIVE=new h(e.INACTIVE,"inactive");static#n=this.ACTIVE=new h(e.ACTIVE,"active");constructor(v,y){super(v),this._value=v,this._name=y,h.values.push(this)}static get values(){return this._values}static getInstanceOf(v){return this._values.find(y=>y._value===v)}get name(){return this._name}}},52662:(Me,K,o)=>{"use strict";o.d(K,{P:()=>h});var u=o(65788),e=function(c){return c[c.EMAIL=1]="EMAIL",c[c.PHONE=2]="PHONE",c[c.QQ=4]="QQ",c[c.WECHAT=8]="WECHAT",c[c.SKYPE=16]="SKYPE",c[c.ZALO=32]="ZALO",c[c.TELEGRAM=64]="TELEGRAM",c[c.WHATSAPP=128]="WHATSAPP",c[c.KAKAOTALK=256]="KAKAOTALK",c[c.LINE=512]="LINE",c[c.IMO=1024]="IMO",c[c.VIBER=2048]="VIBER",c[c.FBMESSENGER=4096]="FBMESSENGER",c[c.FACEBOOK=8192]="FACEBOOK",c[c.GOOGLE=16384]="GOOGLE",c}(e||{});class h extends u.N{static#e=this._values=new Array;static#t=this.EMAIL=new h(e.EMAIL,"EMAIL");static#n=this.PHONE=new h(e.PHONE,"PHONE");static#i=this.QQ=new h(e.QQ,"QQ");static#s=this.WECHAT=new h(e.WECHAT,"WECHAT");static#r=this.SKYPE=new h(e.SKYPE,"SKYPE");static#o=this.ZALO=new h(e.ZALO,"ZALO");static#a=this.TELEGRAM=new h(e.TELEGRAM,"TELEGRAM");static#c=this.WHATSAPP=new h(e.WHATSAPP,"WHATSAPP");static#l=this.KAKAOTALK=new h(e.KAKAOTALK,"KAKAOTALK");static#u=this.LINE=new h(e.LINE,"LINE");static#d=this.IMO=new h(e.IMO,"IMO");static#h=this.VIBER=new h(e.VIBER,"VIBER");static#f=this.FBMESSENGER=new h(e.FBMESSENGER,"FBMESSENGER");static#g=this.FACEBOOK=new h(e.FACEBOOK,"FACEBOOK");static#p=this.GOOGLE=new h(e.GOOGLE,"GOOGLE");constructor(v,y){super(v),this._value=v,this._name=y,h.values.push(this)}static get values(){return this._values}static getInstanceOf(v){return this._values.find(y=>y._value===v)}get name(){return this._name}}},69506:(Me,K,o)=>{"use strict";o.d(K,{B:()=>h});var u=o(65788),e=function(c){return c[c.CN=1]="CN",c[c.SG=2]="SG",c[c.MY=3]="MY",c[c.VN=4]="VN",c[c.KR=5]="KR",c[c.TH=6]="TH",c[c.ID=7]="ID",c[c.IN=8]="IN",c[c.BD=9]="BD",c[c.PH=10]="PH",c[c.PK=11]="PK",c[c.MX=12]="MX",c[c.US=13]="US",c[c.BR=14]="BR",c[c.KH=15]="KH",c[c.NG=16]="NG",c[c.ZA=17]="ZA",c[c.GH=18]="GH",c[c.LK=19]="LK",c[c.NP=20]="NP",c[c.AU=21]="AU",c[c.NZ=22]="NZ",c[c.AFG=23]="AFG",c[c.BT=24]="BT",c[c.MV=25]="MV",c[c.IR=26]="IR",c[c.CA=27]="CA",c[c.HK=28]="HK",c[c.AE=29]="AE",c[c.MM=30]="MM",c[c.TR=31]="TR",c}(e||{});class h extends u.N{static#e=this._values=new Array;static#t=this.CN=new h(e.CN,"CN",86,new RegExp("^[1]\\d{10}$"));static#n=this.SG=new h(e.SG,"SG",65,new RegExp("^[89]\\d{7}$"));static#i=this.MY=new h(e.MY,"MY",60,new RegExp("^0?[1-9]\\d{8,9}$"));static#s=this.VN=new h(e.VN,"VN",84,new RegExp("^\\d{9,10}$"));static#r=this.KR=new h(e.KR,"KR",82,new RegExp("^\\d{10,11}$"));static#o=this.TH=new h(e.TH,"TH",66,new RegExp("^\\d{9}$"));static#a=this.ID=new h(e.ID,"ID",62,new RegExp("^0?[8]\\d{7,13}$"));static#c=this.IN=new h(e.IN,"IN",91,new RegExp("^\\d{10}$"));static#l=this.BD=new h(e.BD,"BD",880,new RegExp("^\\d{10,11}$"));static#u=this.PH=new h(e.PH,"PH",63,new RegExp("^[9]\\d{9}$"));static#d=this.PK=new h(e.PK,"PK",92,new RegExp("^\\d{10}$"));static#h=this.MX=new h(e.MX,"MX",52,new RegExp("^\\d{10}$"));static#f=this.US=new h(e.US,"US",1,new RegExp("^\\d{10}$"));static#g=this.BR=new h(e.BR,"BR",55,new RegExp("^\\d{11}$"));static#p=this.KH=new h(e.KH,"KH",855,new RegExp("^\\d{8,9}$"));static#_=this.NG=new h(e.NG,"NG",234,new RegExp("^\\d{10}$"));static#m=this.ZA=new h(e.ZA,"ZA",27,new RegExp("^\\d{9}$"));static#v=this.GH=new h(e.GH,"GH",233,new RegExp("^\\d{9}$"));static#E=this.LK=new h(e.LK,"LK",94,new RegExp("^\\d{9,10}$"));static#I=this.NP=new h(e.NP,"NP",977,new RegExp("^\\d{10}$"));static#C=this.AU=new h(e.AU,"AU",61,new RegExp("^[4]\\d{8}$"));static#D=this.NZ=new h(e.NZ,"NZ",64,new RegExp("^\\d{8,10}$"));static#A=this.AFG=new h(e.AFG,"AFG",93,new RegExp("^\\d{9,10}$"));static#S=this.BT=new h(e.BT,"BT",975,new RegExp("^\\d{8,9}$"));static#R=this.MV=new h(e.MV,"MV",960,new RegExp("^\\d{7}$"));static#O=this.IR=new h(e.IR,"IR",98,new RegExp("^\\d{10}$"));static#y=this.HK=new h(e.HK,"HK",852,new RegExp("^[456789]\\d{7}$"));static#T=this.CA=new h(e.CA,"CA",1,new RegExp("^\\d{10}$"));static#M=this.AE=new h(e.AE,"AE",971,new RegExp("^\\d{9}$"));static#N=this.MM=new h(e.MM,"MM",95,new RegExp("^\\d{8,10}$"));static#w=this.TR=new h(e.TR,"TR",90,new RegExp("^5\\d{9}$"));constructor(v,y,R,T){super(v),this._value=v,this._name=y,this._callingCode=R,this._regExp=T,h.values.push(this)}static get values(){return this._values}static getInstanceOf(v){const y=this._values.find(R=>R._value===v);if(!y)throw new Error("Can not find type");return y}static getInstanceOfByCallingCode(v){return this._values.find(y=>y._callingCode===v)}static getInstanceOfByName(v){return this._values.find(y=>y._name===v)}get name(){return this._name}get getCallingCode(){return this._callingCode}get getRegExp(){return this._regExp}}},41206:(Me,K,o)=>{"use strict";o.d(K,{V:()=>h});var u=o(65788),e=function(c){return c[c.BTC=1]="BTC",c[c.USDT=2]="USDT",c[c.ETH=3]="ETH",c[c.USD=4]="USD",c[c.EUR=5]="EUR",c[c.GOLD=6]="GOLD",c[c.USDC=12]="USDC",c}(e||{});class h extends u.N{static#e=this._values=new Array;static#t=this.BTC=new h(e.BTC,"BTC","BTC",4);static#n=this.USDT=new h(e.USDT,"USDT","USDT",2);static#i=this.USDC=new h(e.USDC,"USDC","USDC",2);static#s=this.ETH=new h(e.ETH,"ETH","ETH",4);static#r=this.USD=new h(e.USD,"USD","USD",2);static#o=this.EUR=new h(e.EUR,"EUR","EUR",2);static#a=this.GOLD=new h(e.GOLD,"GOLD","GOLD",2);constructor(v,y,R,T){super(v),this._value=v,this._name=y,this._symbol=R,this._fixed=T,h.values.push(this)}static get values(){return this._values}static getInstanceOf(v){return this._values.find(y=>y._value===v)}get name(){return this._name}get symbol(){return this._symbol}get fixed(){return this._fixed}}},51066:(Me,K,o)=>{"use strict";o.d(K,{U:()=>h});var u=o(65788),e=function(c){return c[c.MYR=1]="MYR",c[c.VND=2]="VND",c[c.CNY=3]="CNY",c[c.SGD=4]="SGD",c[c.KRW=5]="KRW",c[c.IDR=6]="IDR",c[c.INR=7]="INR",c[c.BDT=8]="BDT",c[c.THB=9]="THB",c[c.HKD=11]="HKD",c[c.NZD=12]="NZD",c[c.MXN=13]="MXN",c[c.JPY=14]="JPY",c[c.USD=15]="USD",c[c.PHP=16]="PHP",c[c.PKR=17]="PKR",c[c.BRL=18]="BRL",c[c.KHR=19]="KHR",c[c.NGN=20]="NGN",c[c.ZAR=21]="ZAR",c[c.GHS=22]="GHS",c[c.LKR=23]="LKR",c[c.NPR=24]="NPR",c[c.CAD=25]="CAD",c[c.AED=26]="AED",c[c.MMKK=27]="MMKK",c[c.TRY=28]="TRY",c[c.AUD=29]="AUD",c[c.MMK=30]="MMK",c}(e||{});class h extends u.N{static#e=this._values=new Array;static#t=this.MYR=new h(e.MYR,"MYR","RM");static#n=this.VND=new h(e.VND,"VND","\u20ab");static#i=this.CNY=new h(e.CNY,"CNY","\xa5");static#s=this.SGD=new h(e.SGD,"SGD","$");static#r=this.KRW=new h(e.KRW,"KRW","\u20a9");static#o=this.IDR=new h(e.IDR,"IDR","Rp");static#a=this.INR=new h(e.INR,"INR","\u20b9");static#c=this.BDT=new h(e.BDT,"BDT","\u09f3");static#l=this.THB=new h(e.THB,"THB","\u0e3f");static#u=this.HKD=new h(e.HKD,"HKD","$");static#d=this.NZD=new h(e.NZD,"NZD","$");static#h=this.MXN=new h(e.MXN,"MXN","$");static#f=this.JPY=new h(e.JPY,"JPY","$");static#g=this.USD=new h(e.USD,"USD","$");static#p=this.PHP=new h(e.PHP,"PHP","\u20b1");static#_=this.PKR=new h(e.PKR,"PKR","\u20a8");static#m=this.BRL=new h(e.BRL,"BRL","R$");static#v=this.KHR=new h(e.KHR,"KHR","\u17db");static#E=this.NGN=new h(e.NGN,"NGN","\u20a6");static#I=this.ZAR=new h(e.ZAR,"ZAR","R");static#C=this.GHS=new h(e.GHS,"GHS","GH\u20b5");static#D=this.LKR=new h(e.LKR,"LKR","Rs");static#A=this.NPR=new h(e.NPR,"NPR","Rs");static#S=this.CAD=new h(e.CAD,"CAD","$");static#R=this.AED=new h(e.AED,"AED","AED");static#O=this.MMKK=new h(e.MMKK,"MMK","Ks");static#y=this.AUD=new h(e.AUD,"AUD","$");static#T=this.TRY=new h(e.TRY,"TRY","\u20ba");static#M=this.MMK=new h(e.MMK,"MMK","Ks");constructor(v,y,R){super(v),this._value=v,this._name=y,this._symbol=R,h.values.push(this)}static get values(){return this._values}static getInstanceOf(v){return this._values.find(y=>y._value===v)}static getInstanceOfByName(v){return this._values.find(y=>y._name===v)}get name(){return this._name}get symbol(){return this._symbol}}},75078:(Me,K,o)=>{"use strict";o.d(K,{$:()=>h});var u=o(65788),e=function(c){return c[c.DATE_PATTERN_FOR_CALENDAR3=0]="DATE_PATTERN_FOR_CALENDAR3",c[c.DATE_PATTERN_FOR_CALENDAR4=1]="DATE_PATTERN_FOR_CALENDAR4",c[c.DATE_PATTERN_FOR_CALENDAR5=2]="DATE_PATTERN_FOR_CALENDAR5",c[c.DATE_PATTERN_FOR_CALENDAR6=3]="DATE_PATTERN_FOR_CALENDAR6",c[c.DATE_PATTERN_FOR_CALENDAR7=4]="DATE_PATTERN_FOR_CALENDAR7",c[c.DATE_PATTERN_FOR_CALENDAR8=5]="DATE_PATTERN_FOR_CALENDAR8",c[c.DATE_PATTERN_FOR_CALENDAR9=6]="DATE_PATTERN_FOR_CALENDAR9",c[c.DATE_PATTERN_FOR_CALENDAR10=7]="DATE_PATTERN_FOR_CALENDAR10",c[c.DATE_PATTERN_FOR_CALENDAR11=8]="DATE_PATTERN_FOR_CALENDAR11",c[c.DATE_PATTERN_FOR_CALENDAR12=9]="DATE_PATTERN_FOR_CALENDAR12",c[c.DATE_PATTERN_FOR_CALENDAR13=10]="DATE_PATTERN_FOR_CALENDAR13",c[c.DATE_PATTERN_FOR_CALENDAR14=11]="DATE_PATTERN_FOR_CALENDAR14",c[c.DATE_PATTERN_FOR_CALENDAR15=12]="DATE_PATTERN_FOR_CALENDAR15",c[c.DATE_PATTERN_FOR_CALENDAR16=13]="DATE_PATTERN_FOR_CALENDAR16",c[c.DATE_PATTERN_FOR_ISO8601=14]="DATE_PATTERN_FOR_ISO8601",c}(e||{});class h extends u.N{static#e=this._values=new Array;static#t=this.DATE_PATTERN_FOR_CALENDAR3=new h(e.DATE_PATTERN_FOR_CALENDAR3,"yyyy/MM/dd");static#n=this.DATE_PATTERN_FOR_CALENDAR4=new h(e.DATE_PATTERN_FOR_CALENDAR4,"yyyy-MM-dd");static#i=this.DATE_PATTERN_FOR_CALENDAR5=new h(e.DATE_PATTERN_FOR_CALENDAR5,"yyyy/MM/dd HH:mm");static#s=this.DATE_PATTERN_FOR_CALENDAR6=new h(e.DATE_PATTERN_FOR_CALENDAR6,"yyyy/MM/dd HH:mm:ss");static#r=this.DATE_PATTERN_FOR_CALENDAR7=new h(e.DATE_PATTERN_FOR_CALENDAR7,"yyyy-MM-dd HH:mm:ss");static#o=this.DATE_PATTERN_FOR_CALENDAR8=new h(e.DATE_PATTERN_FOR_CALENDAR8,"yyyy/MM/dd HH:mm:ss.SSS");static#a=this.DATE_PATTERN_FOR_CALENDAR9=new h(e.DATE_PATTERN_FOR_CALENDAR9,"MM/dd/yyyy");static#c=this.DATE_PATTERN_FOR_CALENDAR10=new h(e.DATE_PATTERN_FOR_CALENDAR10,"HH:mm:ss");static#l=this.DATE_PATTERN_FOR_CALENDAR11=new h(e.DATE_PATTERN_FOR_CALENDAR11,"HH:mm");static#u=this.DATE_PATTERN_FOR_CALENDAR12=new h(e.DATE_PATTERN_FOR_CALENDAR12,"MM/dd HH:mm");static#d=this.DATE_PATTERN_FOR_CALENDAR13=new h(e.DATE_PATTERN_FOR_CALENDAR13,"dd MMM yyyy");static#h=this.DATE_PATTERN_FOR_CALENDAR14=new h(e.DATE_PATTERN_FOR_CALENDAR14,"MM/dd");static#f=this.DATE_PATTERN_FOR_CALENDAR15=new h(e.DATE_PATTERN_FOR_CALENDAR15,"yyyyMMdd");static#g=this.DATE_PATTERN_FOR_CALENDAR16=new h(e.DATE_PATTERN_FOR_CALENDAR16,"dd/MM/yyyy HH:mm");static#p=this.DATE_PATTERN_FOR_ISO8601=new h(e.DATE_PATTERN_FOR_ISO8601,"yyyy/MM/dd'T'HH:mm:ssZ");constructor(v,y){super(v),this._value=v,this._format=y,h.values.push(this)}static get values(){return this._values}get format(){return this._format}static get default(){return h.DATE_PATTERN_FOR_CALENDAR7}}},13978:(Me,K,o)=>{"use strict";o.d(K,{P:()=>h});var u=o(65788),e=function(c){return c[c.ID=0]="ID",c[c.USER_ID=1]="USER_ID",c[c.CAPTCHA=2]="CAPTCHA",c[c.PASSWORD=3]="PASSWORD",c[c.CONFIRM_PASSWORD=4]="CONFIRM_PASSWORD",c[c.PHONE=5]="PHONE",c[c.EMAIL=6]="EMAIL",c[c.CURRENT_PASSWORD=7]="CURRENT_PASSWORD",c[c.NEW_PASSWORD=8]="NEW_PASSWORD",c[c.CONFIRM_NEW_PASSWORD=9]="CONFIRM_NEW_PASSWORD",c[c.FULL_NAME=10]="FULL_NAME",c[c.VERIFICATION_CODE=11]="VERIFICATION_CODE",c[c.CAPTCHA_CODE=12]="CAPTCHA_CODE",c[c.FIRST_NAME=13]="FIRST_NAME",c[c.MIDDLE_NAME=14]="MIDDLE_NAME",c[c.LAST_NAME=15]="LAST_NAME",c[c.BIRTHDAY=16]="BIRTHDAY",c[c.FRIEND_REFERRER_CODE=17]="FRIEND_REFERRER_CODE",c[c.DOCUMENT_NO=18]="DOCUMENT_NO",c[c.DOCUMENT_TYPE_ID=19]="DOCUMENT_TYPE_ID",c[c.EXPIRY_DATE=20]="EXPIRY_DATE",c[c.FRONT_IMAGE=21]="FRONT_IMAGE",c[c.BACK_IMAGE=22]="BACK_IMAGE",c[c.OTHER_IMAGE=23]="OTHER_IMAGE",c[c.BANK_ID=24]="BANK_ID",c[c.BANK_NAME=25]="BANK_NAME",c[c.BANK_BRANCH=26]="BANK_BRANCH",c[c.BANK_ACC_NAME=27]="BANK_ACC_NAME",c[c.BANK_ACC_NUMBER=28]="BANK_ACC_NUMBER",c[c.YOUR_BANK_ACC_NAME=29]="YOUR_BANK_ACC_NAME",c[c.YOUR_BANK_ACC_NUMBER=30]="YOUR_BANK_ACC_NUMBER",c[c.FINANCE_CODE=31]="FINANCE_CODE",c[c.TNC=32]="TNC",c[c.REFERENCE_NO=33]="REFERENCE_NO",c[c.UPI_CODE=34]="UPI_CODE",c[c.CURRENCY_TYPE=35]="CURRENCY_TYPE",c[c.CPF=36]="CPF",c}(e||{});class h extends u.N{static#e=this._values=new Array;static#t=this.ID=new h(e.ID,"id","ui.global.field.id",void 0);static#n=this.USER_ID=new h(e.USER_ID,"userId","ui.global.field.user_id",void 0);static#i=this.PASSWORD=new h(e.PASSWORD,"password","ui.global.field.password","error.validation.format.password");static#s=this.CONFIRM_PASSWORD=new h(e.CONFIRM_PASSWORD,"confirmPassword","ui.global.field.confirm_password","error.validation.format.password");static#r=this.PHONE=new h(e.PHONE,"phone","ui.global.field.phone_number",void 0);static#o=this.EMAIL=new h(e.EMAIL,"email","ui.global.field.email",void 0);static#a=this.CURRENT_PASSWORD=new h(e.CURRENT_PASSWORD,"currentPassword","ui.global.field.current_password","error.validation.format.password");static#c=this.NEW_PASSWORD=new h(e.NEW_PASSWORD,"newPassword","ui.global.field.new_password","error.validation.format.new_password");static#l=this.CONFIRM_NEW_PASSWORD=new h(e.CONFIRM_NEW_PASSWORD,"confirmNewPassword","ui.global.field.confirm_new_password","error.validation.format.new_password");static#u=this.FULL_NAME=new h(e.FULL_NAME,"fullName","ui.global.field.full_name",void 0);static#d=this.VERIFICATION_CODE=new h(e.VERIFICATION_CODE,"verificationCode","ui.global.field.verification_code",void 0);static#h=this.CAPTCHA_CODE=new h(e.CAPTCHA_CODE,"captchaCode","ui.global.field.verification_code",void 0);static#f=this.FIRST_NAME=new h(e.FIRST_NAME,"firstName","ui.global.field.first_name",void 0);static#g=this.MIDDLE_NAME=new h(e.MIDDLE_NAME,"middleName","ui.global.field.middle_name",void 0);static#p=this.LAST_NAME=new h(e.LAST_NAME,"lastName","ui.global.field.last_name",void 0);static#_=this.BIRTHDAY=new h(e.BIRTHDAY,"dateOfBirth","ui.global.field.date_of_birthday",void 0);static#m=this.FRIEND_REFERRER_CODE=new h(e.FRIEND_REFERRER_CODE,"friendReferrerCode","ui.global.field.friend_referrer_code",void 0);static#v=this.DOCUMENT_TYPE_ID=new h(e.DOCUMENT_TYPE_ID,"documentTypeId","ui.global.field.document",void 0);static#E=this.DOCUMENT_NO=new h(e.DOCUMENT_NO,"documentNo","ui.global.field.document_no",void 0);static#I=this.EXPIRY_DATE=new h(e.EXPIRY_DATE,"expiryDate","ui.global.field.expiry_date",void 0);static#C=this.FRONT_IMAGE=new h(e.FRONT_IMAGE,"documentFrontImage","ui.global.field.document_front_image",void 0);static#D=this.BACK_IMAGE=new h(e.BACK_IMAGE,"documentBackImage","ui.global.field.document_back_image",void 0);static#A=this.OTHER_IMAGE=new h(e.OTHER_IMAGE,"documentOtherImage","ui.global.field.document_other_image",void 0);static#S=this.BANK_ID=new h(e.BANK_ID,"bankId","ui.global.field.bank_id",void 0);static#R=this.BANK_NAME=new h(e.BANK_NAME,"bank","ui.global.field.bank_name",void 0);static#O=this.BANK_BRANCH=new h(e.BANK_BRANCH,"bankBranch","ui.global.field.bank_branch",void 0);static#y=this.BANK_ACC_NAME=new h(e.BANK_ACC_NAME,"bankAccName","ui.global.field.bank_account_name",void 0);static#T=this.BANK_ACC_NUMBER=new h(e.BANK_ACC_NUMBER,"bankAccNumber","ui.global.field.account_number",void 0);static#M=this.YOUR_BANK_ACC_NAME=new h(e.YOUR_BANK_ACC_NAME,"fromBankAccName","ui.global.field.your_bank_account_name",void 0);static#N=this.YOUR_BANK_ACC_NUMBER=new h(e.YOUR_BANK_ACC_NAME,"fromBankAccNo","ui.global.field.bankAccNumberOrPhone",void 0);static#w=this.FINANCE_CODE=new h(e.FINANCE_CODE,"financeCode","ui.global.field.finance_code",void 0);static#b=this.TNC=new h(e.TNC,"TNC","TNC",void 0);static#x=this.REFERENCE_NO=new h(e.REFERENCE_NO,"referenceNo","ui.global.field.reference_no",void 0);static#P=this.UPI_CODE=new h(e.UPI_CODE,"UPICode","ui.global.field.UPI_code",void 0);static#L=this.CURRENCY_TYPE=new h(e.CURRENCY_TYPE,"currencyType","ui.global.field.currency_type",void 0);static#F=this.CPF=new h(e.CPF,"cpf","ui.global.field.cpf",void 0);constructor(v,y,R,T){super(v),this._value=v,this._name=y,this._displayName=R,this._errorValidateMessage=T,h.values.push(this)}static get values(){return this._values}static getInstanceOf(v){return this._values.find(y=>y._value===v)}static getInstanceOfByName(v){return this._values.find(y=>y._name===v)}get name(){return this._name}get displayName(){return this._displayName}get errorValidateMessage(){return this._errorValidateMessage}}},45122:(Me,K,o)=>{"use strict";o.d(K,{Z:()=>h});var u=o(65788),e=function(c){return c[c.SLOT=1]="SLOT",c[c.CASINO=2]="CASINO",c[c.SPORT=4]="SPORT",c[c.FISH=8]="FISH",c[c.CARD=16]="CARD",c[c.ESPORT=32]="ESPORT",c[c.LOTTERY=64]="LOTTERY",c[c.P2P=128]="P2P",c[c.TABLE=256]="TABLE",c[c.OTHER=512]="OTHER",c[c.ARCADE=1024]="ARCADE",c[c.COCKFIGHTING=2048]="COCKFIGHTING",c[c.RAIN=4096]="RAIN",c[c.CRASH=8192]="CRASH",c[c.TIPS=32768]="TIPS",c}(e||{});class h extends u.N{static#e=this.typeName="GameType";static#t=this._values=new Array;static#n=this.SLOT=new h(e.SLOT,"Slot","slot","ui.global.game_type.slot");static#i=this.CASINO=new h(e.CASINO,"Casino","casino","ui.global.game_type.casino");static#s=this.SPORT=new h(e.SPORT,"Sport","sport","ui.global.game_type.sport");static#r=this.FISH=new h(e.FISH,"Fish","fishing","ui.global.game_type.fish");static#o=this.CARD=new h(e.CARD,"Card","card","ui.global.game_type.card");static#a=this.ESPORT=new h(e.ESPORT,"ESport","esport","ui.global.game_type.esport");static#c=this.LOTTERY=new h(e.LOTTERY,"Lottery","lottery","ui.global.game_type.lottery");static#l=this.P2P=new h(e.P2P,"P2P","p2p","ui.global.game_type.p2p");static#u=this.TABLE=new h(e.TABLE,"Table","table","ui.global.game_type.table");static#d=this.OTHER=new h(e.OTHER,"Other","other","ui.global.game_type.other");static#h=this.ARCADE=new h(e.ARCADE,"Arcade","arcade","ui.global.game_type.arcade");static#f=this.COCKFIGHTING=new h(e.COCKFIGHTING,"CockFighting","cockfighting","ui.global.game_type.cockfighting");static#g=this.RAIN=new h(e.RAIN,"Rain","rain","ui.global.game_type.rain");static#p=this.CRASH=new h(e.CRASH,"Crash","crash","ui.global.game_type.crash");static#_=this.TIPS=new h(e.TIPS,"Tips","tips","ui.global.game_type.tips");constructor(v,y,R,T){super(v),this._value=v,this._name=y,this._link=R,this._i18nName=T,h.values.push(this)}static get values(){return this._values}static getInstanceOf(v){return this._values.find(y=>y._value===v)}static getInstanceOfByName(v){return this._values.find(y=>y._name.toLowerCase()===v.toLowerCase())}get name(){return this._name}get link(){return this._link}get i18nName(){return this._i18nName}static getGameTypes(v){return this._values.filter(y=>(v&y.unique)===y.unique)}}},25586:(Me,K,o)=>{"use strict";o.d(K,{J:()=>h});var u=o(65788),e=function(c){return c[c.ALL=0]="ALL",c[c.MAIN=1]="MAIN",c[c.REGISTER=2]="REGISTER",c[c.PROMOTION=3]="PROMOTION",c[c.SPORTS=4]="SPORTS",c[c.CASINO=5]="CASINO",c[c.CARD=6]="CARD",c[c.FISHING=7]="FISHING",c[c.SLOT=8]="SLOT",c[c.VIP=9]="VIP",c[c.ABOUT=10]="ABOUT",c[c.PAYMENT=11]="PAYMENT",c[c.PRIVACY=12]="PRIVACY",c[c.CONDITIONS=13]="CONDITIONS",c[c.DUTY=14]="DUTY",c[c.AGE_18_ABOVE=15]="AGE_18_ABOVE",c[c.FAQ=16]="FAQ",c[c.RULE=17]="RULE",c[c.CONTACT=18]="CONTACT",c[c.SAFE=19]="SAFE",c[c.NOT_FOUND=20]="NOT_FOUND",c[c.APP=21]="APP",c[c.TABLE=22]="TABLE",c[c.KYC=23]="KYC",c[c.ARCADE=24]="ARCADE",c[c.GLOSSARY=25]="GLOSSARY",c[c.LOTTERY=26]="LOTTERY",c[c.CRASH=27]="CRASH",c[c.LOGIN=28]="LOGIN",c[c.REFERRAL=29]="REFERRAL",c}(e||{});class h extends u.N{static#e=this._values=new Array;static#t=this.ALL=new h(e.ALL);static#n=this.MAIN=new h(e.MAIN);static#i=this.REGISTER=new h(e.REGISTER);static#s=this.PROMOTION=new h(e.PROMOTION);static#r=this.SPORTS=new h(e.SPORTS);static#o=this.CASINO=new h(e.CASINO);static#a=this.CARD=new h(e.CARD);static#c=this.FISHING=new h(e.FISHING);static#l=this.SLOT=new h(e.SLOT);static#u=this.VIP=new h(e.VIP);static#d=this.ABOUT=new h(e.ABOUT);static#h=this.PAYMENT=new h(e.PAYMENT);static#f=this.PRIVACY=new h(e.PRIVACY);static#g=this.CONDITIONS=new h(e.CONDITIONS);static#p=this.DUTY=new h(e.DUTY);static#_=this.AGE_18_ABOVE=new h(e.AGE_18_ABOVE);static#m=this.FAQ=new h(e.FAQ);static#v=this.RULE=new h(e.RULE);static#E=this.CONTACT=new h(e.CONTACT);static#I=this.SAFE=new h(e.SAFE);static#C=this.NOT_FOUND=new h(e.NOT_FOUND);static#D=this.APP=new h(e.APP);static#A=this.TABLE=new h(e.TABLE);static#S=this.KYC=new h(e.KYC);static#R=this.ARCADE=new h(e.ARCADE);static#O=this.GLOSSARY=new h(e.GLOSSARY);static#y=this.LOTTERY=new h(e.LOTTERY);static#T=this.CRASH=new h(e.CRASH);static#M=this.LOGIN=new h(e.LOGIN);static#N=this.REFERRAL=new h(e.REFERRAL);constructor(v){super(v),this._value=v,h.values.push(this)}static get values(){return this._values}static getInstanceOf(v){return this._values.find(y=>y._value===v)}}},71522:(Me,K,o)=>{"use strict";o.d(K,{t:()=>c});var u=o(65788),e=function(v){return v[v.ENGLISH=1]="ENGLISH",v[v.CHINESE=2]="CHINESE",v[v.MALAY=3]="MALAY",v[v.VIETNAMESE=4]="VIETNAMESE",v[v.KOREA=5]="KOREA",v[v.THAI=6]="THAI",v[v.INDONESIAN=7]="INDONESIAN",v[v.BENGALI=8]="BENGALI",v[v.TAGALOG=9]="TAGALOG",v[v.SPANISH=10]="SPANISH",v[v.URDU=11]="URDU",v[v.PORTUGUESE=12]="PORTUGUESE",v[v.CAMBODIAN=13]="CAMBODIAN",v[v.CEBUANO=14]="CEBUANO",v[v.HINDI=15]="HINDI",v[v.SINHALA=16]="SINHALA",v[v.TAMIL=17]="TAMIL",v[v.NEPALI=18]="NEPALI",v[v.TRADIONNAL_CHINESE=19]="TRADIONNAL_CHINESE",v[v.BURMESE=20]="BURMESE",v}(e||{}),h=function(v){return v.auto="",v.ltr="ltr",v.rtl="rtl",v}(h||{});class c extends u.N{static#e=this._values=new Array;static#t=this._resourceKeys=new Array;static#n=this.ENGLISH=new c(e.ENGLISH,"ENGLISH","en","GB",h.auto);static#i=this.CHINESE=new c(e.CHINESE,"CHINESE","cn","CN",h.auto);static#s=this.MALAY=new c(e.MALAY,"MALAY","ma","MY",h.auto);static#r=this.VIETNAMESE=new c(e.VIETNAMESE,"VIETNAMESE","vn","VN",h.auto);static#o=this.KOREA=new c(e.KOREA,"KOREA","ko","KR",h.auto);static#a=this.THAI=new c(e.THAI,"THAI","th","TH",h.auto);static#c=this.INDONESIAN=new c(e.INDONESIAN,"INDONESIAN","id","ID",h.auto);static#l=this.BENGALI=new c(e.BENGALI,"BENGALI","bn","BD",h.auto);static#u=this.TAGALOG=new c(e.TAGALOG,"TAGALOG","tl","PH",h.auto);static#d=this.SPANISH=new c(e.SPANISH,"SPANISH","es","MX",h.auto);static#h=this.URDU=new c(e.URDU,"URDU","ur","PK",h.rtl);static#f=this.PORTUGUESE=new c(e.PORTUGUESE,"PORTUGUESE","pt","BRL",h.auto);static#g=this.CAMBODIAN=new c(e.CAMBODIAN,"CAMBODIAN","km","KH",h.auto);static#p=this.CEBUANO=new c(e.CEBUANO,"CEBUANO","ceb","CEB",h.auto);static#_=this.HINDI=new c(e.HINDI,"HINDI","hi","IN",h.auto);static#m=this.SINHALA=new c(e.SINHALA,"SINHALA","si","LK",h.auto);static#v=this.TAMIL=new c(e.TAMIL,"TAMIL","ta","LK",h.auto);static#E=this.NEPALI=new c(e.NEPALI,"NEPALI","ne","NP",h.auto);static#I=this.TRADIONNAL_CHINESE=new c(e.TRADIONNAL_CHINESE,"TRADIONNAL_CHINESE","tc","TC",h.auto);static#C=this.BURMESE=new c(e.BURMESE,"BURMESE","my","MY",h.auto);constructor(y,R,T,A,S){super(y),this._value=y,this._name=R,this._resourceKey=T,this._flagImageName=A,this._textDir=S,c.values.push(this),c._resourceKeys.push(this._resourceKey)}static get values(){return this._values}static get resourceKeyArray(){return this._resourceKeys}static getInstanceOf(y){return this._values.find(R=>R._value===y)}static getInstanceOfDefaultEn(y){return this._values.find(T=>T._value===y)||this.default}static getInstanceOfByName(y){return this._values.find(R=>R._name===y)}static isLanguageDirRtl(y){return y.textDir===h.rtl}get name(){return this._name}get resourceKey(){return this._resourceKey}get textDir(){return this._textDir}static get default(){return c.ENGLISH}get flagImageName(){return this._flagImageName}}},92404:(Me,K,o)=>{"use strict";o.d(K,{G:()=>h,t:()=>e});var u=o(65788),e=function(c){return c[c.ACCOUNT=0]="ACCOUNT",c[c.PHONE=1]="PHONE",c[c.EMAIL=2]="EMAIL",c[c.FACEBOOK=3]="FACEBOOK",c[c.GOOGLE=4]="GOOGLE",c[c.PASSKEY=5]="PASSKEY",c[c.DEFAULT=-1]="DEFAULT",c}(e||{});class h extends u.N{static#e=this._values=new Array;static#t=this.ACCOUNT=new h(e.ACCOUNT,"ACCOUNT");static#n=this.PHONE=new h(e.PHONE,"PHONE");static#i=this.EMAIL=new h(e.EMAIL,"EMAIL");static#s=this.FACEBOOK=new h(e.FACEBOOK,"FACEBOOK");static#r=this.GOOGLE=new h(e.GOOGLE,"GOOGLE");static#o=this.PASSKEY=new h(e.PASSKEY,"PASSKEY");constructor(v,y){super(v),this._value=v,this._name=y,h.values.push(this)}static get values(){return this._values}static getInstanceOf(v){return this._values.find(y=>y._value===v)}get name(){return this._name}}},84652:(Me,K,o)=>{"use strict";o.d(K,{h:()=>h});var u=o(65788),e=function(c){return c[c.TEXT=0]="TEXT",c[c.LINK=1]="LINK",c[c.NONE=2]="NONE",c}(e||{});class h extends u.N{static#e=this._values=new Array;static#t=this.TEXT=new h(e.TEXT);static#n=this.LINK=new h(e.LINK);static#i=this.NONE=new h(e.NONE);constructor(v){super(v),this._value=v,h.values.push(this)}static get values(){return this._values}}},37996:(Me,K,o)=>{"use strict";o.d(K,{G:()=>h});var u=o(65788),e=function(c){return c[c.TOP_BANNER=0]="TOP_BANNER",c[c.RUNNING=1]="RUNNING",c[c.MEMBER=2]="MEMBER",c[c.POP=3]="POP",c[c.SYSTEM=4]="SYSTEM",c[c.PROMOTION=5]="PROMOTION",c[c.SLOT_SLIDER=6]="SLOT_SLIDER",c[c.SLOT_TOP_BANNER=7]="SLOT_TOP_BANNER",c[c.EMAIL=8]="EMAIL",c[c.SMS=9]="SMS",c[c.FEATURE_GAME=10]="FEATURE_GAME",c[c.RANK_WINNER=11]="RANK_WINNER",c[c.SPORT_SLIDER=12]="SPORT_SLIDER",c[c.CASINO_TOP_BANNER=13]="CASINO_TOP_BANNER",c[c.PROMOTION_TOP_BANNER=14]="PROMOTION_TOP_BANNER",c[c.TABLE_TOP_BANNER=15]="TABLE_TOP_BANNER",c[c.REGISTER_SLIDER=16]="REGISTER_SLIDER",c[c.REGISTER_SUCCESS_SLIDER=17]="REGISTER_SUCCESS_SLIDER",c[c.SOCIAL_MEDIA=18]="SOCIAL_MEDIA",c[c.RANK_BONUS=20]="RANK_BONUS",c[c.RANK_PAYMENT=21]="RANK_PAYMENT",c[c.REFERRAL_TEAMS_AND_CONDITIONS=22]="REFERRAL_TEAMS_AND_CONDITIONS",c[c.SPORT_TOP_BANNER=23]="SPORT_TOP_BANNER",c[c.FISH_TOP_BANNER=24]="FISH_TOP_BANNER",c[c.ARCADE_TOP_BANNER=25]="ARCADE_TOP_BANNER",c[c.FOOTER_FLOAT_BANNER=26]="FOOTER_FLOAT_BANNER",c[c.SIDE_MENU_BANNER=28]="SIDE_MENU_BANNER",c[c.LANDING_PAGE_PROMOTION=30]="LANDING_PAGE_PROMOTION",c[c.LANDING_PAGE_CASINO_BANNER=31]="LANDING_PAGE_CASINO_BANNER",c[c.LANDING_PAGE_SPORT_BANNER=32]="LANDING_PAGE_SPORT_BANNER",c[c.WEBSITE_INTRODUCTION=33]="WEBSITE_INTRODUCTION",c[c.TOURNAMENT=36]="TOURNAMENT",c[c.FOOTER_SEO_CONTENT=37]="FOOTER_SEO_CONTENT",c[c.CASINO_LP_TOP_BANNER=38]="CASINO_LP_TOP_BANNER",c[c.SPORTS_LP_TOP_BANNER=39]="SPORTS_LP_TOP_BANNER",c[c.REFERRAL_TOP_BANNER=40]="REFERRAL_TOP_BANNER",c}(e||{});class h extends u.N{static#e=this._values=new Array;static#t=this.TOP_BANNER=new h(e.TOP_BANNER);static#n=this.RUNNING=new h(e.RUNNING);static#i=this.MEMBER=new h(e.MEMBER);static#s=this.POP=new h(e.POP);static#r=this.SYSTEM=new h(e.SYSTEM);static#o=this.PROMOTION=new h(e.PROMOTION);static#a=this.SLOT_SLIDER=new h(e.SLOT_SLIDER);static#c=this.SLOT_TOP_BANNER=new h(e.SLOT_TOP_BANNER);static#l=this.EMAIL=new h(e.EMAIL);static#u=this.SMS=new h(e.SMS);static#d=this.FEATURE_GAME=new h(e.FEATURE_GAME);static#h=this.RANK_WINNER=new h(e.RANK_WINNER);static#f=this.SPORT_SLIDER=new h(e.SPORT_SLIDER);static#g=this.CASINO_TOP_BANNER=new h(e.CASINO_TOP_BANNER);static#p=this.PROMOTION_TOP_BANNER=new h(e.PROMOTION_TOP_BANNER);static#_=this.TABLE_TOP_BANNER=new h(e.TABLE_TOP_BANNER);static#m=this.REGISTER_SLIDER=new h(e.REGISTER_SLIDER);static#v=this.REGISTER_SUCCESS_SLIDER=new h(e.REGISTER_SUCCESS_SLIDER);static#E=this.SOCIAL_MEDIA=new h(e.SOCIAL_MEDIA);static#I=this.RANK_BONUS=new h(e.RANK_BONUS);static#C=this.RANK_PAYMENT=new h(e.RANK_PAYMENT);static#D=this.REFERRAL_TEAMS_AND_CONDITIONS=new h(e.REFERRAL_TEAMS_AND_CONDITIONS);static#A=this.SPORT_TOP_BANNER=new h(e.SPORT_TOP_BANNER);static#S=this.FISH_TOP_BANNER=new h(e.FISH_TOP_BANNER);static#R=this.ARCADE_TOP_BANNER=new h(e.ARCADE_TOP_BANNER);static#O=this.FOOTER_FLOAT_BANNER=new h(e.FOOTER_FLOAT_BANNER);static#y=this.SIDE_MENU_BANNER=new h(e.SIDE_MENU_BANNER);static#T=this.LANDING_PAGE_PROMOTION=new h(e.LANDING_PAGE_PROMOTION);static#M=this.LANDING_PAGE_CASINO_BANNER=new h(e.LANDING_PAGE_CASINO_BANNER);static#N=this.LANDING_PAGE_SPORT_BANNER=new h(e.LANDING_PAGE_SPORT_BANNER);static#w=this.WEBSITE_INTRODUCTION=new h(e.WEBSITE_INTRODUCTION);static#b=this.TOURNAMENT=new h(e.TOURNAMENT);static#x=this.FOOTER_SEO_CONTENT=new h(e.FOOTER_SEO_CONTENT);static#P=this.CASINO_LP_TOP_BANNER=new h(e.CASINO_LP_TOP_BANNER);static#L=this.SPORTS_LP_TOP_BANNER=new h(e.SPORTS_LP_TOP_BANNER);static#F=this.REFERRAL_TOP_BANNER=new h(e.REFERRAL_TOP_BANNER);constructor(v){super(v),this._value=v,h.values.push(this)}static get values(){return this._values}}},74851:(Me,K,o)=>{"use strict";o.d(K,{C:()=>c});var u=o(65788),e=o(25586);let h=0;class c extends u.N{static#e=this._values=new Array;static#t=this.MAIN=new c("","/",e.J.MAIN);static#n=this.HOME=new c("home","/home",e.J.MAIN);static#i=this.IP_BLOCK=new c("ip-block","/ip-block",void 0);static#s=this.SYSTEM_MAINTAIN=new c("system-maintain","/system-maintain",void 0);static#r=this.BRAND_MAINTAIN=new c("brand-maintain","/brand-maintain",e.J.MAIN);static#o=this.PROVIDER_MAINTAIN=new c("provider-maintain","/provider-maintain",e.J.MAIN);static#a=this.NOT_FOUND=new c("not-found","/not-found",e.J.NOT_FOUND);static#c=this.LOGINNEW_QUICK_ACCOUNT=new c("account-login-quick","/account-login-quick",e.J.LOGIN);static#l=this.LOGIN=new c("login","/login",e.J.LOGIN);static#u=this.ACCOUNT_LANDING_LOGIN=new c("login","/account-landing/login",e.J.REGISTER);static#d=this.LOGIN_NORMAL=new c("normal","/account-landing/login/normal",e.J.MAIN);static#h=this.LOGIN_PHONE=new c("phone","/account-landing/login/phone",e.J.MAIN);static#f=this.LOGIN_EMAIL=new c("email","/account-landing/login/email",e.J.MAIN);static#g=this.LOGIN_ACCOUNT=new c("account","/account-landing/login/account",e.J.MAIN);static#p=this.ACCOUNT_LANDING=new c("account-landing","/account-landing",e.J.REGISTER);static#_=this.REGISTER_INTRO=new c("register-intro","/register-intro",e.J.REGISTER);static#m=this.REGISTER=new c("register","/register",e.J.REGISTER);static#v=this.ACCOUNT_LANDING_REGISTER=new c("register","/account-landing/register",e.J.REGISTER);static#E=this.REGISTER_NORMAL=new c("normal","/account-landing/register/normal",e.J.REGISTER);static#I=this.REGISTER_PHONE=new c("phone","/account-landing/register/phone",e.J.REGISTER);static#C=this.REGISTER_EMAIL=new c("email","/account-landing/register/email",e.J.REGISTER);static#D=this.REGISTER_ACCOUNT=new c("account","/account-landing/register/account",e.J.REGISTER);static#A=this.REGISTER_VERIFY_EMAIL=new c("verify-email","/verify-email",e.J.REGISTER);static#S=this.REGISTER_VERIFY_PHONE=new c("verify-phone","/verify-phone",e.J.REGISTER);static#R=this.CREATE_PASSWORD=new c("create-password","/create-password",e.J.REGISTER);static#O=this.REGISTER_QUICK=new c("quick","/register/quick",e.J.REGISTER);static#y=this.REGISTERNEW_QUICK_ACCOUNT=new c("new-register-quick-account","/new-register-quick-account",e.J.REGISTER);static#T=this.REGISTERNEW_QUICK=new c("new-register-quick","/new-register-quick",e.J.REGISTER);static#M=this.REGISTERNEW_THIRDPARTY=new c("new-register-entry","/new-register-entry",e.J.REGISTER);static#N=this.QUICK_REGISTER_PHONE=new c("phone","/new-register-entry/phone",e.J.REGISTER);static#w=this.QUICK_REGISTER_EMAIL=new c("email","/new-register-entry/email",e.J.REGISTER);static#b=this.QUICK_REGISTER_ACCOUNT=new c("account","/new-register-entry/account",e.J.REGISTER);static#x=this.QUICK_REGISTER_SOCIAL=new c("social","/new-register-entry/social",e.J.REGISTER);static#P=this.REGISTERNEW_VERIFY_CODE=new c("new-register-verify-code","/new-register-verify-code",e.J.REGISTER);static#L=this.REGISTERNEW_SUCCESS_PAGE=new c("new-register-success-page","/new-register-success-page",e.J.REGISTER);static#F=this.REGISTERNEW_RESET_PASSWORD=new c("reset-password-new-register","/reset-password-new-register",e.J.REGISTER);static#B=this.FORGOT_PASSWORD=new c("forgot-password","/forgot-password",e.J.MAIN);static#k=this.FORGOT_PASSWORD_MAIL=new c("email","/forgot-password/email",e.J.MAIN);static#U=this.FORGOT_PASSWORD_SMS=new c("sms","/forgot-password/sms",e.J.MAIN);static#G=this.CHANGE_PASSWORD=new c("change-password","/member/change-password",e.J.MAIN);static#W=this.CHANGE_PASSWORD_V3=new c("change-password","/member/profile/account/change-password",e.J.MAIN);static#V=this.RESET_PASSWORD_PAGE=new c("reset-password","/member/reset-password",e.J.MAIN);static#$=this.PROMOTION=new c("promotion","/promotion",e.J.PROMOTION);static#H=this.PROMOTION_DETAIL=new c("promotion-detail","/promotion/promotion-detail",e.J.PROMOTION);static#j=this.SPORTS=new c("sports","/sports",e.J.SPORTS);static#K=this.SLOT=new c("slot","/slot",e.J.SLOT);static#X=this.SLOTV1=new c("slot-v1","/slot-v1",e.J.SLOT);static#Y=this.RECENTLY_GAME=new c("recently-game","/recently-game",e.J.SLOT);static#z=this.SLOT_RECENTLY_GAME=new c("slot-recently-game","/slot-recently-game",e.J.SLOT);static#Q=this.TABLE=new c("table","/table",e.J.TABLE);static#J=this.LOTTERY=new c("lottery","/lottery",e.J.LOTTERY);static#Z=this.ARCADE=new c("arcade","/arcade",e.J.ARCADE);static#q=this.CASINO=new c("casino","/casino",e.J.CASINO);static#ee=this.FISHING=new c("fishing","/fishing",e.J.FISHING);static#te=this.CRASH=new c("crash","/crash",e.J.CRASH);static#ne=this.CARD=new c("card","/card",e.J.CARD);static#ie=this.TERMS=new c("terms","/terms",e.J.MAIN);static#se=this.TERMS_ABOUT=new c("about","/terms/about",e.J.ABOUT);static#re=this.TERMS_CONTACT=new c("contact","/terms/contact",e.J.CONTACT);static#oe=this.TERMS_PRIVACY=new c("privacy","/terms/privacy",e.J.PRIVACY);static#ae=this.TERMS_KYC_POLICY=new c("kyc-policy","/terms/kyc-policy",void 0);static#ce=this.TERMS_SELF_EXCLUSION_POLICY=new c("self-exclusion-policy","/terms/self-exclusion-policy",void 0);static#le=this.TERMS_UNDERAGE_POLICY=new c("underage-policy","/terms/underage-policy",void 0);static#ue=this.TERMS_SPORT_MARKET_GLOSSARY=new c("sport-market-glossary","/terms/sport-market-glossary",void 0);static#de=this.TERMS_CONDITIONS=new c("conditions","/terms/conditions",e.J.CONDITIONS);static#he=this.TERMS_RULES=new c("rules","/terms/rules",e.J.RULE);static#fe=this.TERMS_DUTY=new c("duty","/terms/duty",e.J.DUTY);static#ge=this.TERMS_FAQ=new c("faq","/terms/faq",e.J.FAQ);static#pe=this.TERMS_DISCONNECTION=new c("disconnection","/terms/disconnection",e.J.FAQ);static#_e=this.TERMS_IN_AND_OUT=new c("in-and-out","/terms/in-and-out",e.J.PAYMENT);static#me=this.TEAMS_AGE_18_ABOVE=new c("age-18-above","/terms/age-18-above",e.J.PAYMENT);static#ve=this.TEAMS_SAFE=new c("safe","/terms/safe",e.J.SAFE);static#Ee=this.TEAMS_BC_SPORTS=new c("bc-sports","/terms/bc-sports",e.J.RULE);static#Ie=this.APP_DOWNLOAD=new c("app-download","/app-download",e.J.APP);static#Ce=this.AMBASSADOR=new c("ambassador","/ambassador",e.J.MAIN);static#De=this.SPONSOR=new c("sponsor","/sponsor",e.J.MAIN);static#Ae=this.PROFILE_EDIT_FULLNAME=new c("edit-fullname","/member/profile/info/edit-fullname",e.J.MAIN);static#Se=this.PROFILE_EDIT_EMAIL=new c("edit-email","/member/profile/info/edit-email",e.J.MAIN);static#Re=this.PROFILE_EDIT_PHONE=new c("edit-phone","/member/profile/info/edit-phone",e.J.MAIN);static#Oe=this.PROFILE_EDIT_BIRTHDAY=new c("edit-birthday","/member/profile/info/edit-birthday",e.J.MAIN);static#ye=this.PROFILE_EDIT_THIRDPARTY_ACCOUNT=new c("edit-thirdparty-account","/member/profile/account/edit-thirdparty-account",e.J.MAIN);static#Te=this.PROFILE_EDIT_DOCUMENT=new c("edit-document","/member/profile/verify/edit-document",e.J.MAIN);static#Me=this.PROFILE_EDIT_BANK_CARD=new c("edit-bank-card","/member/profile/verify/edit-bank-card",e.J.MAIN);static#Ne=this.PROFILE_EDIT_CRYPTO=new c("edit-crypto","/member/profile/verify/edit-crypto",e.J.MAIN);static#we=this.PROFILE_EDIT_UPI=new c("edit-upi","/member/profile/verify/edit-upi",e.J.MAIN);static#be=this.PROFILE_EDIT_E_WALETS=new c("edit-e-wallets","/member/profile/verify/edit-e-wallets",e.J.MAIN);static#xe=this.PROFILE_ADD_PHONE=new c("add-phone","/member/profile/info/add-phone",e.J.MAIN);static#Pe=this.PROFILE_ADD_BANK_CARD=new c("add-bank-card","/member/profile/verify/add-bank-card",e.J.MAIN);static#Le=this.PROFILE_ADD_CRYPTO=new c("add-crypto","/member/profile/verify/add-crypto",e.J.MAIN);static#Fe=this.PROFILE_ADD_DOCUMENT=new c("add-document","/member/profile/verify/add-document",e.J.MAIN);static#Be=this.PROFILE_ADD_UPI=new c("add-upi","/member/profile/verify/add-upi",e.J.MAIN);static#ke=this.PROFILE_ENTRY_DOCUMENT=new c("entry-document","/member/profile/verify/entry-document",e.J.MAIN);static#Ue=this.PROFILE_VERIFY_EMAIL=new c("verify-email","member/profile/info/verify-email",e.J.MAIN);static#Ge=this.PROFILE_VERIFY_PHONE=new c("verify-phone","member/profile/info/verify-phone",e.J.MAIN);static#We=this.PROFILE_VERIFY_OTP=new c("verify-otp","member/profile/verify/verify-otp",e.J.MAIN);static#Ve=this.PROFILE=new c("profile","/member/profile",e.J.MAIN);static#$e=this.PROFILE_INFO=new c("info","/member/profile/info",e.J.MAIN);static#He=this.PROFILE_ACCOUNT=new c("account","/member/profile/account",e.J.MAIN);static#je=this.PROFILE_VERIFY=new c("verify","/member/profile/verify",e.J.MAIN);static#Ke=this.PROFILENEW=new c("new-profile-info","/member/new-profile-info",e.J.MAIN);static#Xe=this.PROFILENEW_ADD_FULLNAME=new c("new-profile-add-fullname","/member/new-profile-add-fullname",e.J.MAIN);static#Ye=this.PROFILENEW_ADD_BIRTHDAY=new c("new-profile-add-birthday","/member/new-profile-add-birthday",e.J.MAIN);static#ze=this.PROFILENEW_ADD_EMAIL=new c("new-profile-add-email","/member/new-profile-add-email",e.J.MAIN);static#Qe=this.PROFILENEW_VERIFY_EMAIL=new c("new-profile-verify-email","/member/new-profile-verify-email",e.J.MAIN);static#Je=this.PROFILENEW_ADD_PHONE=new c("new-profile-add-phone","/member/new-profile-add-phone",e.J.MAIN);static#Ze=this.PROFILENEW_VERIFY_PHONE=new c("new-profile-verify-phone","/member/new-profile-verify-phone",e.J.MAIN);static#qe=this.PROFILENEW_VERIFY_CODE=new c("new-profile-verify-code","/member/new-profile-verify-code",e.J.MAIN);static#et=this.VIP_INFO=new c("vip-info","/member/vip-info",e.J.MAIN);static#tt=this.VIP_DETAIL=new c("vip-detail","/vip-detail",e.J.MAIN);static#nt=this.WALLET=new c("wallet","/member/wallet",e.J.MAIN);static#it=this.WALLET_DEPOSIT=new c("deposit","/member/wallet/deposit",e.J.MAIN);static#st=this.WALLET_DEPOSIT_LOCALBANK=new c("localbank","/member/wallet/deposit/localbank",e.J.MAIN);static#rt=this.WALLET_DEPOSIT_THIRDPARTY=new c("thirdparty","/member/wallet/deposit/thirdparty",e.J.MAIN);static#ot=this.WALLET_DEPOSIT_CRYPTO=new c("crypto","/member/wallet/deposit/crypto",e.J.MAIN);static#at=this.WALLET_DEPOSIT_UNIVERSAL=new c("universal","/member/wallet/deposit/universal",e.J.MAIN);static#ct=this.WALLET_DEPOSIT_LOCALBANK_AMOUNT=new c("localbank-amount","/member/wallet/deposit/localbank-amount",e.J.MAIN);static#lt=this.WALLET_DEPOSIT_THIRDPARTY_AMOUNT=new c("thirdparty-amount","/member/wallet/deposit/thirdparty-amount",e.J.MAIN);static#ut=this.WALLET_DEPOSIT_CRYPTO_AMOUNT=new c("crypto-amount","/member/wallet/deposit/crypto-amount",e.J.MAIN);static#dt=this.WALLET_DEPOSIT_LOCALBANK_TRANSFER=new c("localbank-transfer","/member/wallet/deposit/localbank-transfer",e.J.MAIN);static#ht=this.WALLET_DEPOSIT_CRYPTO_TRANSFER=new c("crypto-transfer","/member/wallet/deposit/crypto-transfer",e.J.MAIN);static#ft=this.WALLET_DEPOSIT_THIRD_PARTY_TRANSFER=new c("crypto-transfer","/member/wallet/deposit/crypto-transfer",e.J.MAIN);static#gt=this.WALLET_DEPOSIT_THIRD_PARTY_RESULT=new c("deposit-third-party-result","/deposit-third-party-result",e.J.MAIN);static#pt=this.WALLET_WITHDRAWAL=new c("withdrawal","/member/wallet/withdrawal",e.J.MAIN);static#_t=this.WALLET_WITHDRAWAL_VERIFY=new c("withdrawal-verify","/member/wallet/withdrawal-verify",e.J.MAIN);static#mt=this.WALLET_WITHDRAWAL_THIRDPARTY=new c("thirdparty","/member/wallet/withdrawal/thirdparty",e.J.MAIN);static#vt=this.WALLET_WITHDRAWAL_CRYPTO=new c("crypto","/member/wallet/withdrawal/crypto",e.J.MAIN);static#Et=this.WALLET_WITHDRAWAL_LOCALBANK_AMOUNT=new c("localbank-amount","/member/wallet/withdrawal/localbank-amount",e.J.MAIN);static#It=this.WALLET_WITHDRAWAL_THIRDPARTY_AMOUNT=new c("thirdparty-amount","/member/wallet/withdrawal/thirdparty-amount",e.J.MAIN);static#Ct=this.WALLET_WITHDRAWAL_CRYPTO_AMOUNT=new c("crypto-amount","/member/wallet/withdrawal/crypto-amount",e.J.MAIN);static#Dt=this.MY_BONUSES=new c("my-bonuses","/member/my-bonuses",e.J.MAIN);static#At=this.MY_BONUSES_RUNNING=new c("running","/member/my-bonuses/running",e.J.MAIN);static#St=this.MY_BONUSES_COMPLETE=new c("complete","/member/my-bonuses/complete",e.J.MAIN);static#Rt=this.TURNOVER=new c("turnover","/member/turnover",e.J.MAIN);static#Ot=this.TURNOVER_UNCOMPLETE=new c("uncomplete","/member/turnover/uncomplete",e.J.MAIN);static#yt=this.TURNOVER_COMPLETE=new c("complete","/member/turnover/complete",e.J.MAIN);static#Tt=this.BETTING_RECORDS=new c("betting-records","/member/betting-records",e.J.MAIN);static#Mt=this.BETTING_RECORDS_SETTLED=new c("settled","/member/betting-records/settled",e.J.MAIN);static#Nt=this.BETTING_RECORDS_UNSETTLED=new c("unsettled","/member/betting-records/unsettled",e.J.MAIN);static#wt=this.TRANSACTION_RECORDS=new c("transaction-records","/member/transaction-records",e.J.MAIN);static#bt=this.TRANSACTION_RESULT=new c("transaction-result","/member/transaction-result",e.J.MAIN);static#xt=this.VIP_POINTS_RECORDS=new c("vip-points-records","/member/vip-points-records",e.J.MAIN);static#Pt=this.VIP_POINTS_EXCHANGE=new c("vip-points-exchange","/member/vip-points-exchange",e.J.MAIN);static#Lt=this.VIP_HISTORY=new c("vip-history","/member/vip-history",e.J.MAIN);static#Ft=this.VIP_POINTS_RECORDS_RECEIVED=new c("received","/member/vip-points-records/received",e.J.MAIN);static#Bt=this.VIP_POINTS_RECORDS_USED=new c("used","/member/vip-points-records/used",e.J.MAIN);static#kt=this.VERIFY_BANK=new c("verify-bank","/member/verify-bank",e.J.MAIN);static#Ut=this.VERIFICATION_OTP=new c("verification-otp","/member/verification-otp",e.J.MAIN);static#Gt=this.VERIFY_DOCUMENT=new c("verify-document","/member/verify-document",e.J.MAIN);static#Wt=this.VERIFY_CRYPTOCURRENCIES=new c("verify-cryptocurrencies","/member/verify-cryptocurrencies",e.J.MAIN);static#Vt=this.VERIFY_E_WALLETS=new c("verify-e-wallets","/member/verify-e-wallets",e.J.MAIN);static#$t=this.VERIFY_UPI=new c("verify-UPI","/member/verify-UPI",e.J.MAIN);static#Ht=this.INBOX=new c("inbox","/member/inbox",e.J.MAIN);static#jt=this.INBOX_NOTIFICATION=new c("notification","/member/inbox/notification",e.J.MAIN);static#Kt=this.REFERRAL=new c("referral","/member/referral",e.J.REFERRAL);static#Xt=this.REFERRAL_PROGRAM=new c("referral-program","/referral-program",e.J.REFERRAL);static#Yt=this.REFERRAL_PROGRAM_PROMOTION=new c("promotion","/referral-program/promotion",e.J.REFERRAL);static#zt=this.REFERRAL_PROGRAM_PROMOTION_RULES=new c("rules","/referral-program/promotion/rules",e.J.REFERRAL);static#Qt=this.REFERRAL_PROGRAM_RULES=new c("referral-program-rules","/referral-program-rules",e.J.REFERRAL);static#Jt=this.REFERRAL_PROGRAM_INFO=new c("info","/referral-program/info",e.J.MAIN);static#Zt=this.REFERRAL_PROGRAM_DETAILS=new c("details","/referral-program/details",e.J.REFERRAL);static#qt=this.REFERRAL_PROGRAM_CASH_REWARD_HISTORY=new c("cash-reward-history","/referral-program/cash-reward-history",e.J.MAIN);static#en=this.REFERRAL_PROGRAM_CASH_REWARD_DETAIL=new c("cash-reward-detail","/referral-program/cash-reward-detail",e.J.MAIN);static#tn=this.REFERRAL_INFORMATION=new c("share","/member/referral/share",e.J.REFERRAL);static#nn=this.REFERRAL_RECORDS=new c("rewards","/member/referral/rewards",e.J.REFERRAL);static#in=this.REFERRAL_INVITATION=new c("referral-invitation","/member/referral-invitation",e.J.REFERRAL);static#sn=this.REFERRAL_INVITE=new c("invite","/member/referral/invite",e.J.REFERRAL);static#rn=this.REFERRAL_REWARD=new c("invite-reward","/member/referral/invite-reward",e.J.REFERRAL);static#on=this.REFERRAL_DETAILS=new c("invite-details","/member/referral/invite-details",e.J.REFERRAL);static#an=this.REFERRAL_FRIEND=new c("referral-friend","/referral-friend",e.J.REFERRAL);static#cn=this.REFERRAL_FRIEND_SHARE=new c("share","/referral-friend/share",e.J.REFERRAL);static#ln=this.REFERRAL_FRIEND_REWARDS=new c("rewards","/referral-friend/rewards",e.J.REFERRAL);static#un=this.REFERRAL_BONUS=new c("referral-bonus","/referral-bonus",e.J.REFERRAL);static#dn=this.COMMON_REFERRAL=new c("common-referral","/member/common-referral",e.J.REFERRAL);static#hn=this.COMMON_REFERRAL_INVITE_FRIEND=new c("invite","/member/common-referral/invite",e.J.REFERRAL);static#fn=this.COMMON_REFERRAL_ACHIVEMENT_BONUS=new c("achivement-bonus","/member/common-referral/achivement-bonus",e.J.REFERRAL);static#gn=this.COMMON_REFERRAL_REBATE_BONUS=new c("rebate-bonus","/member/common-referral/rebate-bonus",e.J.REFERRAL);static#pn=this.COMMON_REFERRAL_DETAILS=new c("referral-details","/member/common-referral/referral-details",e.J.REFERRAL);static#_n=this.BIOMETRIC=new c("biometric","/member/biometric",e.J.MAIN);static#mn=this.MY_FAVORITES=new c("my-favorites","/my-favorites",e.J.SLOT);static#vn=this.SLOT_MY_FAVORITES=new c("slot-my-favorites","/my-favorites/slot-my-favorites",e.J.SLOT);static#En=this.CASINO_MY_FAVORITES=new c("casino-my-favorites","/my-favorites/casino-my-favorites",e.J.CASINO);static#In=this.AF_LINK=new c("af/:afCode/:afKeyword","/af",e.J.MAIN);static#Cn=this.LANDING_PAGE=new c("landing-page","/landing-page",e.J.MAIN);static#Dn=this.GLOSSARY=new c("glossary","/glossary",e.J.GLOSSARY);static#An=this.DRAGON_TIGER_RANKING=new c("dragon-tiger-ranking","/dragon-tiger-ranking",e.J.MAIN);static#Sn=this.PAYMENT_INTRODUCTION=new c("payment-introduction","/payment-introduction",e.J.MAIN);static#Rn=this.OPEN_GAME_PAGE=new c("open-game","/open-game",e.J.MAIN);static#On=this.EX_SPORT=new c("EXSport","/EXSport",e.J.MAIN);static#yn=this.CRICKET=new c("cricket","/cricket",e.J.SPORTS);static#Tn=this.VOUCHER=new c("voucher","/member/voucher",e.J.MAIN);static#Mn=this.INBOX_ACTIVITY=new c("activity","/member/inbox/activity",e.J.MAIN);static#Nn=this.INBOX_BULLETIN=new c("bulletin","/member/inbox/bulletin",e.J.MAIN);static#wn=this.SWITCH_MODE=new c("switch-mode","/member/switch-mode",e.J.MAIN);static#bn=this.INDEX_CASINO=new c("index-casino","/index-casino",e.J.MAIN);static#xn=this.MAIN_LANDING_PAGE=new c("main-landing-page","/main-landing-page",e.J.MAIN);static#Pn=this.NEW_MEMBER_GUIDE=new c("new-member-guide","/new-member-guide",e.J.MAIN);static get values(){return this._values}static registerRoutingPath(y){c.values.push(y)}static getInstanceOf(y){return this._values.find(R=>R.key===y)}static getInstanceOfLink(y){return this._values.find(R=>R.link===y)}static startWithLink(y){return this._values.find(R=>{const S=y.replace(/(.*)(\(popup:)(.*)(\))/i,"/$3")||y;return R===c.MAIN?R._link===S:S.startsWith(R._link)})}constructor(y,R,T){super(h++),this._routingPath=y,this._link=R,this._landingPageType=T,c.values.push(this)}get routingPath(){return this._routingPath}get link(){return this._link}get landingPageType(){return this._landingPageType}}},28563:(Me,K,o)=>{"use strict";o.d(K,{W:()=>h});var u=o(65788),e=function(c){return c[c.IP_BLOCK=0]="IP_BLOCK",c[c.SYSTEM_MAINTAIN=1]="SYSTEM_MAINTAIN",c[c.BRAND_MAINTAIN=2]="BRAND_MAINTAIN",c[c.PROVIDER_MAINTAIN=3]="PROVIDER_MAINTAIN",c[c.NOT_FOUND=4]="NOT_FOUND",c[c.MAIN=5]="MAIN",c[c.LOGIN=6]="LOGIN",c[c.LOGINNEW_QUICK_ACCOUNT=7]="LOGINNEW_QUICK_ACCOUNT",c[c.REGISTER=8]="REGISTER",c[c.REGISTER_QUICK=9]="REGISTER_QUICK",c[c.REGISTERNEW_QUICK_ACCOUNT=10]="REGISTERNEW_QUICK_ACCOUNT",c[c.REGISTERNEW_QUICK=11]="REGISTERNEW_QUICK",c[c.REGISTERNEW_THIRDPARTY=12]="REGISTERNEW_THIRDPARTY",c[c.REGISTERNEW_VERIFY_CODE=13]="REGISTERNEW_VERIFY_CODE",c[c.REGISTERNEW_SUCCESS_PAGE=14]="REGISTERNEW_SUCCESS_PAGE",c[c.REGISTERNEW_RESET_PASSWORD=15]="REGISTERNEW_RESET_PASSWORD",c[c.FORGOT_PASSWORD=16]="FORGOT_PASSWORD",c[c.FORGOT_PASSWORD_MAIL=17]="FORGOT_PASSWORD_MAIL",c[c.FORGOT_PASSWORD_SMS=18]="FORGOT_PASSWORD_SMS",c[c.RESET_PASSWORD_PAGE=19]="RESET_PASSWORD_PAGE",c[c.CHANGE_PASSWORD=20]="CHANGE_PASSWORD",c[c.PROMOTION=21]="PROMOTION",c[c.REFERRAL_PROGRAM=22]="REFERRAL_PROGRAM",c[c.REFERRAL_PROGRAM_PROMOTION=23]="REFERRAL_PROGRAM_PROMOTION",c[c.REFERRAL_PROGRAM_PROMOTION_RULES=24]="REFERRAL_PROGRAM_PROMOTION_RULES",c[c.REFERRAL_PROGRAM_DETAILS=25]="REFERRAL_PROGRAM_DETAILS",c[c.SLOT=26]="SLOT",c[c.SLOTV1=27]="SLOTV1",c[c.SLOT_RECENTLY_GAME=28]="SLOT_RECENTLY_GAME",c[c.TABLE=29]="TABLE",c[c.LOTTERY=30]="LOTTERY",c[c.ARCADE=31]="ARCADE",c[c.CASINO=32]="CASINO",c[c.CRASH=33]="CRASH",c[c.FISHING=34]="FISHING",c[c.CARD=35]="CARD",c[c.TERMS=36]="TERMS",c[c.TERMS_ABOUT=37]="TERMS_ABOUT",c[c.TERMS_CONTACT=38]="TERMS_CONTACT",c[c.TERMS_PRIVACY=39]="TERMS_PRIVACY",c[c.TERMS_CONDITIONS=40]="TERMS_CONDITIONS",c[c.TERMS_RULES=41]="TERMS_RULES",c[c.TERMS_DUTY=42]="TERMS_DUTY",c[c.TERMS_FAQ=43]="TERMS_FAQ",c[c.TERMS_DISCONNECTION=44]="TERMS_DISCONNECTION",c[c.TERMS_IN_AND_OUT=45]="TERMS_IN_AND_OUT",c[c.TEAMS_AGE_18_ABOVE=46]="TEAMS_AGE_18_ABOVE",c[c.TEAMS_SAFE=47]="TEAMS_SAFE",c[c.TEAMS_BC_SPORTS=48]="TEAMS_BC_SPORTS",c[c.APP_DOWNLOAD=49]="APP_DOWNLOAD",c[c.AMBASSADOR=50]="AMBASSADOR",c[c.SPONSOR=51]="SPONSOR",c[c.PROFILE=52]="PROFILE",c[c.PROFILENEW=53]="PROFILENEW",c[c.PROFILENEW_ADD_FULLNAME=54]="PROFILENEW_ADD_FULLNAME",c[c.PROFILENEW_ADD_BIRTHDAY=55]="PROFILENEW_ADD_BIRTHDAY",c[c.PROFILENEW_ADD_EMAIL=56]="PROFILENEW_ADD_EMAIL",c[c.PROFILENEW_VERIFY_EMAIL=57]="PROFILENEW_VERIFY_EMAIL",c[c.PROFILENEW_ADD_PHONE=58]="PROFILENEW_ADD_PHONE",c[c.PROFILENEW_VERIFY_PHONE=59]="PROFILENEW_VERIFY_PHONE",c[c.PROFILENEW_VERIFY_CODE=60]="PROFILENEW_VERIFY_CODE",c[c.VIP_INFO=61]="VIP_INFO",c[c.VIP_DETAIL=62]="VIP_DETAIL",c[c.WALLET=63]="WALLET",c[c.WALLET_DEPOSIT=64]="WALLET_DEPOSIT",c[c.WALLET_WITHDRAWAL=65]="WALLET_WITHDRAWAL",c[c.MY_BONUSES=66]="MY_BONUSES",c[c.MY_BONUSES_RUNNING=67]="MY_BONUSES_RUNNING",c[c.MY_BONUSES_COMPLETE=68]="MY_BONUSES_COMPLETE",c[c.TURNOVER=69]="TURNOVER",c[c.TURNOVER_UNCOMPLETE=70]="TURNOVER_UNCOMPLETE",c[c.TURNOVER_COMPLETE=71]="TURNOVER_COMPLETE",c[c.BETTING_RECORDS=72]="BETTING_RECORDS",c[c.BETTING_RECORDS_SETTLED=73]="BETTING_RECORDS_SETTLED",c[c.BETTING_RECORDS_UNSETTLED=74]="BETTING_RECORDS_UNSETTLED",c[c.TRANSACTION_RECORDS=75]="TRANSACTION_RECORDS",c[c.TRANSACTION_RECORDS_DETAIL=76]="TRANSACTION_RECORDS_DETAIL",c[c.TRANSACTION_RESULT=77]="TRANSACTION_RESULT",c[c.VIP=78]="VIP",c[c.VIP_HISTORY=79]="VIP_HISTORY",c[c.VIP_POINTS_EXCHANGE=80]="VIP_POINTS_EXCHANGE",c[c.VIP_POINTS_RECORDS=81]="VIP_POINTS_RECORDS",c[c.VIP_POINTS_RECORDS_RECEIVED=82]="VIP_POINTS_RECORDS_RECEIVED",c[c.VIP_POINTS_RECORDS_USED=83]="VIP_POINTS_RECORDS_USED",c[c.VERIFY_BANK=84]="VERIFY_BANK",c[c.VERIFY_DOCUMENT=85]="VERIFY_DOCUMENT",c[c.VERIFY_CRYPTOCURRENCIES=86]="VERIFY_CRYPTOCURRENCIES",c[c.VERIFY_E_WALLETS=87]="VERIFY_E_WALLETS",c[c.VERIFY_UPI=88]="VERIFY_UPI",c[c.VERIFICATION_OTP=89]="VERIFICATION_OTP",c[c.INBOX=90]="INBOX",c[c.INBOX_NOTIFICATION=91]="INBOX_NOTIFICATION",c[c.REFERRAL=92]="REFERRAL",c[c.REFERRAL_INFORMATION=93]="REFERRAL_INFORMATION",c[c.REFERRAL_RECORDS=94]="REFERRAL_RECORDS",c[c.REFERRAL_INVITATION=95]="REFERRAL_INVITATION",c[c.REFERRAL_INVITE=96]="REFERRAL_INVITE",c[c.REFERRAL_REWARD=97]="REFERRAL_REWARD",c[c.REFERRAL_DETAILS=98]="REFERRAL_DETAILS",c[c.REFERRAL_BONUS=99]="REFERRAL_BONUS",c[c.COMMON_REFERRAL=100]="COMMON_REFERRAL",c[c.COMMON_REFERRAL_INVITE_FRIEND=101]="COMMON_REFERRAL_INVITE_FRIEND",c[c.COMMON_REFERRAL_ACHIVEMENT_BONUS=102]="COMMON_REFERRAL_ACHIVEMENT_BONUS",c[c.COMMON_REFERRAL_REBATE_BONUS=103]="COMMON_REFERRAL_REBATE_BONUS",c[c.COMMON_REFERRAL_DETAILS=104]="COMMON_REFERRAL_DETAILS",c[c.BIOMETRIC=105]="BIOMETRIC",c[c.MY_FAVORITES=106]="MY_FAVORITES",c[c.SLOT_MY_FAVORITES=107]="SLOT_MY_FAVORITES",c[c.CASINO_MY_FAVORITES=108]="CASINO_MY_FAVORITES",c[c.LANDING_PAGE=109]="LANDING_PAGE",c[c.GLOSSARY=110]="GLOSSARY",c[c.DRAGON_TIGER_RANKING=111]="DRAGON_TIGER_RANKING",c[c.PAYMENT_INTRODUCTION=112]="PAYMENT_INTRODUCTION",c[c.TERMS_KYC_POLICY=113]="TERMS_KYC_POLICY",c[c.TERMS_SELF_EXCLUSION_POLICY=114]="TERMS_SELF_EXCLUSION_POLICY",c[c.TERMS_UNDERAGE_POLICY=115]="TERMS_UNDERAGE_POLICY",c[c.TERMS_SPORT_MARKET_GLOSSARY=116]="TERMS_SPORT_MARKET_GLOSSARY",c[c.NEW_MEMBER_GUIDE=117]="NEW_MEMBER_GUIDE",c}(e||{});class h extends u.N{static#e=this._values=new Array;static#t=this._showToolBar=!0;static#n=this._showHeader=!0;static#i=this._showFooter=!0;static#s=this.IP_BLOCK=new h(e.IP_BLOCK,"","",h._showToolBar,h._showHeader,h._showFooter,"","");static#r=this.SYSTEM_MAINTAIN=new h(e.SYSTEM_MAINTAIN,"","",h._showToolBar,h._showHeader,h._showFooter,"","");static#o=this.BRAND_MAINTAIN=new h(e.BRAND_MAINTAIN,"","",h._showToolBar,h._showHeader,h._showFooter,"","");static#a=this.PROVIDER_MAINTAIN=new h(e.PROVIDER_MAINTAIN,"","",h._showToolBar,h._showHeader,h._showFooter,"","");static#c=this.NOT_FOUND=new h(e.NOT_FOUND,"","normal",h._showToolBar,h._showHeader,h._showFooter,"","");static#l=this.MAIN=new h(e.MAIN,"","normal",h._showToolBar,h._showHeader,h._showFooter,"","");static#u=this.LOGINNEW_QUICK_ACCOUNT=new h(e.LOGINNEW_QUICK_ACCOUNT,"ui.header_inner.text.login","member new-login-tab",!h._showToolBar,h._showHeader,!h._showFooter,"content third-party-login member-content new-login","new-login-tab");static#d=this.LOGIN=new h(e.LOGIN,"ui.header_inner.text.login","member",!h._showToolBar,h._showHeader,!h._showFooter,"login-biometric-content","");static#h=this.REGISTER=new h(e.REGISTER,"ui.header_inner.text.register","member",!h._showToolBar,h._showHeader,!h._showFooter,"content member-content normal-register","");static#f=this.REGISTER_QUICK=new h(e.REGISTER_QUICK,"ui.header_inner.text.register","member",!h._showToolBar,h._showHeader,!h._showFooter,"content register-content member-content","");static#g=this.REGISTERNEW_QUICK_ACCOUNT=new h(e.REGISTERNEW_QUICK_ACCOUNT,"ui.header_inner.text.register","member new-login",!h._showToolBar,h._showHeader,!h._showFooter,"content member-content third-party-login","new-login");static#p=this.REGISTERNEW_QUICK=new h(e.REGISTERNEW_QUICK,"ui.header_inner.text.register","member new-login",!h._showToolBar,h._showHeader,!h._showFooter,"content member-content third-party-login","new-login");static#_=this.REGISTERNEW_THIRDPARTY=new h(e.REGISTERNEW_THIRDPARTY,"ui.header_inner.text.register","member new-login",!h._showToolBar,h._showHeader,!h._showFooter,"content member-content third-party-login","new-login");static#m=this.REGISTERNEW_VERIFY_CODE=new h(e.REGISTERNEW_VERIFY_CODE,"ui.global.field.verification_code","member new-login",!h._showToolBar,h._showHeader,!h._showFooter,"content third-party-login verify-code","new-login");static#v=this.REGISTERNEW_SUCCESS_PAGE=new h(e.REGISTERNEW_SUCCESS_PAGE,"ui.header_inner.text.register","member new-login",!h._showToolBar,!h._showHeader,!h._showFooter,"third-party-login","new-login");static#E=this.REGISTERNEW_RESET_PASSWORD=new h(e.REGISTERNEW_RESET_PASSWORD,"ui.header_inner.text.change_password","member new-login",!h._showToolBar,h._showHeader,!h._showFooter,"member-content third-party-login new-login","new-login");static#I=this.FORGOT_PASSWORD=new h(e.FORGOT_PASSWORD,"ui.header_inner.text.forgot_password","register",!h._showToolBar,h._showHeader,!h._showFooter,"content register-content fixed-tab","");static#C=this.FORGOT_PASSWORD_MAIL=new h(e.FORGOT_PASSWORD_MAIL,"Email","register",!h._showToolBar,h._showHeader,!h._showFooter,"content register-content","");static#D=this.FORGOT_PASSWORD_SMS=new h(e.FORGOT_PASSWORD_SMS,"SMS","register",!h._showToolBar,h._showHeader,!h._showFooter,"content register-content","");static#A=this.RESET_PASSWORD_PAGE=new h(e.RESET_PASSWORD_PAGE,"","",!h._showToolBar,!h._showHeader,!h._showFooter,"","");static#S=this.PROMOTION=new h(e.PROMOTION,"","normal",h._showToolBar,h._showHeader,h._showFooter,"","");static#R=this.SLOT=new h(e.SLOT,"","normal",h._showToolBar,h._showHeader,h._showFooter,"","");static#O=this.SLOTV1=new h(e.SLOTV1,"","normal",h._showToolBar,h._showHeader,h._showFooter,"","");static#y=this.SLOT_RECENTLY_GAME=new h(e.SLOT_RECENTLY_GAME,"","",!h._showToolBar,!h._showHeader,!h._showFooter,"","");static#T=this.TABLE=new h(e.TABLE,"","normal",h._showToolBar,h._showHeader,h._showFooter,"","");static#M=this.LOTTERY=new h(e.LOTTERY,"","normal",h._showToolBar,h._showHeader,h._showFooter,"","");static#N=this.ARCADE=new h(e.ARCADE,"","normal",h._showToolBar,h._showHeader,h._showFooter,"","");static#w=this.CASINO=new h(e.CASINO,"","normal",h._showToolBar,h._showHeader,h._showFooter,"","");static#b=this.CRASH=new h(e.CRASH,"","normal",h._showToolBar,h._showHeader,h._showFooter,"","");static#x=this.FISHING=new h(e.FISHING,"","normal",h._showToolBar,h._showHeader,h._showFooter,"","");static#P=this.CARD=new h(e.CARD,"","normal",h._showToolBar,h._showHeader,h._showFooter,"","");static#L=this.TERMS=new h(e.TERMS,"","normal",h._showToolBar,h._showHeader,h._showFooter,"","");static#F=this.TERMS_ABOUT=new h(e.TERMS_ABOUT,"","normal",h._showToolBar,h._showHeader,h._showFooter,"","");static#B=this.TERMS_CONTACT=new h(e.TERMS_CONTACT,"","normal",h._showToolBar,h._showHeader,h._showFooter,"","");static#k=this.TERMS_KYC_POLICY=new h(e.TERMS_KYC_POLICY,"","normal",h._showToolBar,h._showHeader,h._showFooter,"","");static#U=this.TERMS_PRIVACY=new h(e.TERMS_PRIVACY,"","normal",h._showToolBar,h._showHeader,h._showFooter,"","");static#G=this.TERMS_SELF_EXCLUSION_POLICY=new h(e.TERMS_SELF_EXCLUSION_POLICY,"","normal",h._showToolBar,h._showHeader,h._showFooter,"","");static#W=this.TERMS_UNDERAGE_POLICY=new h(e.TERMS_UNDERAGE_POLICY,"","normal",h._showToolBar,h._showHeader,h._showFooter,"","");static#V=this.TERMS_SPORT_MARKET_GLOSSARY=new h(e.TERMS_SPORT_MARKET_GLOSSARY,"","normal",h._showToolBar,h._showHeader,h._showFooter,"","");static#$=this.TERMS_CONDITIONS=new h(e.TERMS_CONDITIONS,"","normal",h._showToolBar,h._showHeader,h._showFooter,"","");static#H=this.TERMS_RULES=new h(e.TERMS_RULES,"","normal",h._showToolBar,h._showHeader,h._showFooter,"","");static#j=this.TERMS_DUTY=new h(e.TERMS_DUTY,"","normal",h._showToolBar,h._showHeader,h._showFooter,"","");static#K=this.TERMS_FAQ=new h(e.TERMS_FAQ,"","normal",h._showToolBar,h._showHeader,h._showFooter,"","");static#X=this.TERMS_DISCONNECTION=new h(e.TERMS_DISCONNECTION,"","normal",h._showToolBar,h._showHeader,h._showFooter,"","");static#Y=this.TERMS_IN_AND_OUT=new h(e.TERMS_IN_AND_OUT,"","normal",h._showToolBar,h._showHeader,h._showFooter,"","");static#z=this.TEAMS_AGE_18_ABOVE=new h(e.TEAMS_AGE_18_ABOVE,"","normal",h._showToolBar,h._showHeader,h._showFooter,"","");static#Q=this.TEAMS_SAFE=new h(e.TEAMS_SAFE,"","normal",h._showToolBar,h._showHeader,h._showFooter,"","");static#J=this.TEAMS_BC_SPORTS=new h(e.TEAMS_BC_SPORTS,"","normal",h._showToolBar,h._showHeader,h._showFooter,"","");static#Z=this.APP_DOWNLOAD=new h(e.APP_DOWNLOAD,"","",!h._showToolBar,!h._showHeader,!h._showFooter,"","");static#q=this.AMBASSADOR=new h(e.AMBASSADOR,"","normal",h._showToolBar,h._showHeader,h._showFooter,"content content-ambassador","");static#ee=this.SPONSOR=new h(e.SPONSOR,"","normal",h._showToolBar,h._showHeader,h._showFooter,"content content-ambassador","");static#te=this.CHANGE_PASSWORD=new h(e.CHANGE_PASSWORD,"ui.header_inner.text.change_password","player",h._showToolBar,h._showHeader,!h._showFooter,"content member-content","");static#ne=this.PROFILE=new h(e.PROFILE,"ui.header_inner.text.personal_info","player",h._showToolBar,h._showHeader,!h._showFooter,"content player-content","");static#ie=this.PROFILENEW=new h(e.PROFILENEW,"ui.header_inner.text.personal_info","player new-profile",h._showToolBar,h._showHeader,!h._showFooter,"content player-content third-party-login new-profile","");static#se=this.PROFILENEW_ADD_FULLNAME=new h(e.PROFILENEW_ADD_FULLNAME,"ui.header_inner.text.add_full_name","player new-profile",h._showToolBar,h._showHeader,!h._showFooter,"content member-content third-party-login new-profile","");static#re=this.PROFILENEW_ADD_BIRTHDAY=new h(e.PROFILENEW_ADD_BIRTHDAY,"ui.header_inner.text.add_birthday","player new-profile",h._showToolBar,h._showHeader,!h._showFooter,"content member-content third-party-login new-profile","");static#oe=this.PROFILENEW_ADD_EMAIL=new h(e.PROFILENEW_ADD_EMAIL,"ui.header_inner.text.add_email","player new-profile",h._showToolBar,h._showHeader,!h._showFooter,"content member-content third-party-login new-profile","");static#ae=this.PROFILENEW_VERIFY_EMAIL=new h(e.PROFILENEW_VERIFY_EMAIL,"ui.header_inner.text.verify_email","player new-profile",h._showToolBar,h._showHeader,!h._showFooter,"content member-content third-party-login new-profile","");static#ce=this.PROFILENEW_ADD_PHONE=new h(e.PROFILENEW_ADD_PHONE,"ui.header_inner.text.add_phone","player new-profile",h._showToolBar,h._showHeader,!h._showFooter,"content member-content third-party-login new-profile","");static#le=this.PROFILENEW_VERIFY_PHONE=new h(e.PROFILENEW_VERIFY_PHONE,"ui.header_inner.text.verify_phone","player new-profile",h._showToolBar,h._showHeader,!h._showFooter,"content member-content third-party-login new-profile","");static#ue=this.PROFILENEW_VERIFY_CODE=new h(e.PROFILENEW_VERIFY_CODE,"ui.global.field.verification_code","player new-profile",h._showToolBar,h._showHeader,!h._showFooter,"content third-party-login verify-code","");static#de=this.VIP_INFO=new h(e.VIP_INFO,"ui.header_inner.text.personal_vip_info","player",h._showToolBar,h._showHeader,!h._showFooter,"content player-content","");static#he=this.VIP_DETAIL=new h(e.VIP_DETAIL,"ui.header_inner.text.vip_detail","player",h._showToolBar,h._showHeader,h._showFooter,"content player-content","");static#fe=this.WALLET=new h(e.WALLET,"ui.header_inner.text.funds","player",h._showToolBar,h._showHeader,!h._showFooter,"content player-content fixed-tab","wallet-header");static#ge=this.WALLET_DEPOSIT=new h(e.WALLET_DEPOSIT,"ui.header_inner.text.deposit","player",h._showToolBar,h._showHeader,h._showFooter,"content player-content","");static#pe=this.WALLET_WITHDRAWAL=new h(e.WALLET_WITHDRAWAL,"ui.header_inner.text.withdrawal","player",h._showToolBar,h._showHeader,h._showFooter,"content player-content","");static#_e=this.MY_BONUSES=new h(e.MY_BONUSES,"ui.header_inner.text.my_promotion","player",h._showToolBar,h._showHeader,!h._showFooter,"player-content","");static#me=this.MY_BONUSES_RUNNING=new h(e.MY_BONUSES_RUNNING,"ui.header_inner.text.running","player",h._showToolBar,h._showHeader,!h._showFooter,"player-content","");static#ve=this.MY_BONUSES_COMPLETE=new h(e.MY_BONUSES_COMPLETE,"ui.header_inner.text.complete","player",h._showToolBar,h._showHeader,!h._showFooter,"player-content","");static#Ee=this.TURNOVER=new h(e.TURNOVER,"ui.header_inner.text.turnover","player",h._showToolBar,h._showHeader,!h._showFooter,"player-content fixed-tab","");static#Ie=this.TURNOVER_UNCOMPLETE=new h(e.TURNOVER_UNCOMPLETE,"ui.header_inner.text.uncomplete","player",h._showToolBar,h._showHeader,!h._showFooter,"player-content","");static#Ce=this.TURNOVER_COMPLETE=new h(e.TURNOVER_COMPLETE,"ui.header_inner.text.complete","player",h._showToolBar,h._showHeader,!h._showFooter,"player-content","");static#De=this.BETTING_RECORDS=new h(e.BETTING_RECORDS,"ui.header_inner.text.betting_records","player",h._showToolBar,h._showHeader,!h._showFooter,"player-content fixed-tab","");static#Ae=this.BETTING_RECORDS_SETTLED=new h(e.BETTING_RECORDS_SETTLED,"ui.header_inner.text.settled","player",h._showToolBar,h._showHeader,!h._showFooter,"player-content","");static#Se=this.BETTING_RECORDS_UNSETTLED=new h(e.BETTING_RECORDS_UNSETTLED,"ui.header_inner.text.unsettled","player",h._showToolBar,h._showHeader,!h._showFooter,"player-content","");static#Re=this.TRANSACTION_RECORDS=new h(e.TRANSACTION_RECORDS,"ui.header_inner.text.transaction_records","player",h._showToolBar,h._showHeader,!h._showFooter,"player-content","");static#Oe=this.TRANSACTION_RECORDS_DETAIL=new h(e.TRANSACTION_RECORDS_DETAIL,"ui.header_inner.text.transaction_records_list","player",h._showToolBar,h._showHeader,!h._showFooter,"content player-content","");static#ye=this.TRANSACTION_RESULT=new h(e.TRANSACTION_RESULT,"ui.header_inner.text.transaction_result","player",!h._showToolBar,!h._showHeader,!h._showFooter,"content content-box","");static#Te=this.VIP_POINTS_RECORDS=new h(e.VIP_POINTS_RECORDS,"ui.profile_vip.header","player",h._showToolBar,h._showHeader,!h._showFooter,"content player-content player-vip","");static#Me=this.VIP=new h(e.VIP,"ui.header_inner.text.my_vip","player vip",h._showToolBar,h._showHeader,!h._showFooter,"content player-content vip-content","");static#Ne=this.VIP_POINTS_EXCHANGE=new h(e.VIP_POINTS_EXCHANGE,"ui.header_inner.text.my_vip","player vip scroll-detecting",h._showToolBar,h._showHeader,!h._showFooter,"content player-content vip-content","");static#we=this.VIP_HISTORY=new h(e.VIP_HISTORY,"ui.header_inner.text.vip_history","player vip",h._showToolBar,h._showHeader,!h._showFooter,"content player-content vip-content","");static#be=this.VIP_POINTS_RECORDS_RECEIVED=new h(e.VIP_POINTS_RECORDS_RECEIVED,"ui.header_inner.text.points_received","player",h._showToolBar,h._showHeader,!h._showFooter,"content player-content player-vip","");static#xe=this.VIP_POINTS_RECORDS_USED=new h(e.VIP_POINTS_RECORDS_USED,"ui.header_inner.text.points_used","player",h._showToolBar,h._showHeader,!h._showFooter,"content player-content player-vip","");static#Pe=this.VERIFY_BANK=new h(e.VERIFY_BANK,"ui.header_inner.text.verify_bank","player",h._showToolBar,h._showHeader,!h._showFooter,"content player-content playerform-content","");static#Le=this.VERIFY_DOCUMENT=new h(e.VERIFY_DOCUMENT,"ui.header_inner.text.verify_documents","player",h._showToolBar,h._showHeader,!h._showFooter,"content player-content playerform-content","");static#Fe=this.VERIFY_CRYPTOCURRENCIES=new h(e.VERIFY_CRYPTOCURRENCIES,"ui.header_inner.text.verify_crypto_currencies","player",h._showToolBar,h._showHeader,!h._showFooter,"content player-content playerform-content","");static#Be=this.VERIFY_E_WALLETS=new h(e.VERIFY_E_WALLETS,"ui.header_inner.text.verify_e_Wallets","player",h._showToolBar,h._showHeader,!h._showFooter,"content player-content playerform-content","");static#ke=this.VERIFY_UPI=new h(e.VERIFY_UPI,"ui.header_inner.text.verify_UPI","player",h._showToolBar,h._showHeader,!h._showFooter,"content player-content playerform-content","");static#Ue=this.VERIFICATION_OTP=new h(e.VERIFICATION_OTP,"ui.global.field.verification_code","player",h._showToolBar,h._showHeader,!h._showFooter,"content player-content playerform-content","");static#Ge=this.INBOX=new h(e.INBOX,"ui.header_inner.text.inbox","player",h._showToolBar,h._showHeader,!h._showFooter,"player-content","");static#We=this.INBOX_NOTIFICATION=new h(e.INBOX_NOTIFICATION,"ui.header_inner.text.notification","player",h._showToolBar,h._showHeader,!h._showFooter,"content player-content","");static#Ve=this.REFERRAL=new h(e.REFERRAL,"ui.header_inner.text.referral","player",h._showToolBar,h._showHeader,!h._showFooter,"player-content fixed-tab","");static#$e=this.REFERRAL_PROGRAM=new h(e.REFERRAL_PROGRAM,"ui.header_inner.text.referral_program","player",h._showToolBar,h._showHeader,h._showFooter,"player-content full-content");static#He=this.REFERRAL_PROGRAM_PROMOTION=new h(e.REFERRAL_PROGRAM_PROMOTION,"ui.header_inner.text.referral_program_promotion","player vip scroll-detecting",h._showToolBar,h._showHeader,h._showFooter,"content player-full-content");static#je=this.REFERRAL_PROGRAM_PROMOTION_RULES=new h(e.REFERRAL_PROGRAM_PROMOTION_RULES,"ui.header_inner.text.referral_program_rules","player vip scroll-detecting",h._showToolBar,h._showHeader,h._showFooter,"content player-content");static#Ke=this.REFERRAL_PROGRAM_DETAILS=new h(e.REFERRAL_PROGRAM_DETAILS,"ui.header_inner.text.referral_program_details","player",h._showToolBar,h._showHeader,h._showFooter,"content player-full-content");static#Xe=this.REFERRAL_INFORMATION=new h(e.REFERRAL_INFORMATION,"ui.global.word.share","player",h._showToolBar,h._showHeader,!h._showFooter,"content player-content","");static#Ye=this.REFERRAL_RECORDS=new h(e.REFERRAL_RECORDS,"ui.header_inner.text.rewards","player",h._showToolBar,h._showHeader,!h._showFooter,"content player-content","");static#ze=this.REFERRAL_INVITATION=new h(e.REFERRAL_INVITATION,"ui.header_inner.text.referral_invite","player",h._showToolBar,h._showHeader,!h._showFooter,"content player-content");static#Qe=this.REFERRAL_INVITE=new h(e.REFERRAL_INVITE,"ui.header_inner.text.referral_invite","player",h._showToolBar,h._showHeader,!h._showFooter,"content player-content");static#Je=this.REFERRAL_REWARD=new h(e.REFERRAL_REWARD,"ui.header_inner.text.referral_reward","player",h._showToolBar,h._showHeader,!h._showFooter,"content player-content");static#Ze=this.REFERRAL_DETAILS=new h(e.REFERRAL_DETAILS,"ui.header_inner.text.referral_details","player",h._showToolBar,h._showHeader,!h._showFooter,"content player-content");static#qe=this.REFERRAL_BONUS=new h(e.REFERRAL_BONUS,"ui.header_inner.text.referral","player",h._showToolBar,h._showHeader,h._showFooter,"content player-content","");static#et=this.COMMON_REFERRAL=new h(e.COMMON_REFERRAL,"ui.header_inner.text.referral","player",h._showToolBar,h._showHeader,!h._showFooter,"content player-content fixed-tab","");static#tt=this.COMMON_REFERRAL_INVITE_FRIEND=new h(e.COMMON_REFERRAL_INVITE_FRIEND,"ui.header_inner.text.referral_invite_friend","player",h._showToolBar,h._showHeader,!h._showFooter,"content player-content","");static#nt=this.COMMON_REFERRAL_ACHIVEMENT_BONUS=new h(e.COMMON_REFERRAL_ACHIVEMENT_BONUS,"ui.header_inner.text.referral_achivement_bonus","player",h._showToolBar,h._showHeader,!h._showFooter,"content player-content","");static#it=this.COMMON_REFERRAL_REBATE_BONUS=new h(e.COMMON_REFERRAL_REBATE_BONUS,"ui.header_inner.text.referral_refer_rebate_bonus","player",h._showToolBar,h._showHeader,!h._showFooter,"content player-content","");static#st=this.COMMON_REFERRAL_DETAILS=new h(e.COMMON_REFERRAL_DETAILS,"ui.header_inner.text.referral_details","player",h._showToolBar,h._showHeader,!h._showFooter,"content player-content","");static#rt=this.BIOMETRIC=new h(e.BIOMETRIC,"ui.header_inner.text.set_up_biometric","player",h._showToolBar,h._showHeader,!h._showFooter,"content player-content","");static#ot=this.MY_FAVORITES=new h(e.MY_FAVORITES,"ui.header_inner.text.my_favorites","",!h._showToolBar,!h._showHeader,!h._showFooter,"","");static#at=this.SLOT_MY_FAVORITES=new h(e.SLOT_MY_FAVORITES,"ui.header_inner.text.slot_my_favorites","",!h._showToolBar,h._showHeader,!h._showFooter,"","");static#ct=this.CASINO_MY_FAVORITES=new h(e.CASINO_MY_FAVORITES,"ui.header_inner.text.casino_my_favorites","",!h._showToolBar,h._showHeader,!h._showFooter,"","");static#lt=this.LANDING_PAGE=new h(e.LANDING_PAGE,"","",!h._showToolBar,!h._showHeader,!h._showFooter,"","");static#ut=this.GLOSSARY=new h(e.GLOSSARY,"","",!h._showToolBar,!h._showHeader,!h._showFooter,"","");static#dt=this.DRAGON_TIGER_RANKING=new h(e.DRAGON_TIGER_RANKING,"ui.header_inner.text.dragon_tiger_ranking","player",h._showToolBar,h._showHeader,!h._showFooter,"","");static#ht=this.PAYMENT_INTRODUCTION=new h(e.PAYMENT_INTRODUCTION,"","normal",h._showToolBar,h._showHeader,!h._showFooter,"","");static#ft=this.NEW_MEMBER_GUIDE=new h(e.NEW_MEMBER_GUIDE,"ui.header_inner.text.new_member_guide","normal",h._showToolBar,h._showHeader,!h._showFooter,"","");constructor(v,y,R,T,A,S,C,x){super(v),this._value=v,this._headerTitle=y,this._headerClass=R,this._isLayoutNeedToShowToolbar=T,this._isLayoutNeedToShowHeader=A,this._isLayoutNeedToShowFooter=S,this._layoutContentClass=C,this._desktopHeaderClass=x,h.values.push(this)}static get values(){return this._values}static getInstanceOf(v){return this._values.find(y=>y._value===v)}get headerTitle(){return this._headerTitle}get headerClass(){return this._headerClass}get desktopHeaderClass(){return this._desktopHeaderClass}get isLayoutNeedToShowToolbar(){return this._isLayoutNeedToShowToolbar}get isLayoutNeedToShowHeader(){return this._isLayoutNeedToShowHeader}get isLayoutNeedToShowFooter(){return this._isLayoutNeedToShowFooter}get layoutContentClass(){return this._layoutContentClass}set layoutContentClass(v){this._layoutContentClass=v}}},35606:(Me,K,o)=>{"use strict";o.d(K,{J:()=>c});var u=o(65788),e=o(74851),h=o(28563);class c extends u.N{static#e=this._values=new Array;static#t=this.MAIN=new c(e.C.MAIN,h.W.MAIN);static#n=this.IP_BLOCK=new c(e.C.IP_BLOCK,h.W.IP_BLOCK);static#i=this.SYSTEM_MAINTAIN=new c(e.C.SYSTEM_MAINTAIN,h.W.SYSTEM_MAINTAIN);static#s=this.BRAND_MAINTAIN=new c(e.C.BRAND_MAINTAIN,h.W.BRAND_MAINTAIN);static#r=this.PROVIDER_MAINTAIN=new c(e.C.PROVIDER_MAINTAIN,h.W.PROVIDER_MAINTAIN);static#o=this.NOT_FOUND=new c(e.C.NOT_FOUND,h.W.NOT_FOUND);static#a=this.LOGINNEW_QUICK_ACCOUNT=new c(e.C.LOGINNEW_QUICK_ACCOUNT,h.W.LOGINNEW_QUICK_ACCOUNT);static#c=this.LOGIN=new c(e.C.LOGIN,h.W.LOGIN);static#l=this.REGISTER=new c(e.C.REGISTER,h.W.REGISTER);static#u=this.REGISTER_QUICK=new c(e.C.REGISTER_QUICK,h.W.REGISTER_QUICK);static#d=this.REGISTERNEW_QUICK_ACCOUNT=new c(e.C.REGISTERNEW_QUICK_ACCOUNT,h.W.REGISTERNEW_QUICK_ACCOUNT);static#h=this.REGISTERNEW_QUICK=new c(e.C.REGISTERNEW_QUICK,h.W.REGISTERNEW_QUICK);static#f=this.REGISTERNEW_THIRDPARTY=new c(e.C.REGISTERNEW_THIRDPARTY,h.W.REGISTERNEW_THIRDPARTY);static#g=this.QUICK_REGISTER_PHONE=new c(e.C.QUICK_REGISTER_PHONE,h.W.REGISTERNEW_QUICK);static#p=this.QUICK_REGISTER_EMAIL=new c(e.C.QUICK_REGISTER_EMAIL,h.W.REGISTERNEW_QUICK);static#_=this.QUICK_REGISTER_ACCOUNT=new c(e.C.QUICK_REGISTER_ACCOUNT,h.W.REGISTERNEW_QUICK);static#m=this.QUICK_REGISTER_SOCIAL=new c(e.C.QUICK_REGISTER_SOCIAL,h.W.REGISTERNEW_QUICK);static#v=this.REGISTERNEW_VERIFY_CODE=new c(e.C.REGISTERNEW_VERIFY_CODE,h.W.REGISTERNEW_VERIFY_CODE);static#E=this.REGISTERNEW_SUCCESS_PAGE=new c(e.C.REGISTERNEW_SUCCESS_PAGE,h.W.REGISTERNEW_SUCCESS_PAGE);static#I=this.REGISTERNEW_RESET_PASSWORD=new c(e.C.REGISTERNEW_RESET_PASSWORD,h.W.REGISTERNEW_RESET_PASSWORD);static#C=this.FORGOT_PASSWORD=new c(e.C.FORGOT_PASSWORD,h.W.FORGOT_PASSWORD);static#D=this.FORGOT_PASSWORD_MAIL=new c(e.C.FORGOT_PASSWORD_MAIL,h.W.FORGOT_PASSWORD_MAIL);static#A=this.FORGOT_PASSWORD_SMS=new c(e.C.FORGOT_PASSWORD_SMS,h.W.FORGOT_PASSWORD_SMS);static#S=this.CHANGE_PASSWORD=new c(e.C.CHANGE_PASSWORD,h.W.CHANGE_PASSWORD);static#R=this.RESET_PASSWORD_PAGE=new c(e.C.RESET_PASSWORD_PAGE,h.W.RESET_PASSWORD_PAGE);static#O=this.PROMOTION=new c(e.C.PROMOTION,h.W.PROMOTION);static#y=this.SLOT=new c(e.C.SLOT,h.W.SLOT);static#T=this.SLOTV1=new c(e.C.SLOTV1,h.W.SLOTV1);static#M=this.SLOT_RECENTLY_GAME=new c(e.C.SLOT_RECENTLY_GAME,h.W.SLOT_RECENTLY_GAME);static#N=this.TABLE=new c(e.C.TABLE,h.W.TABLE);static#w=this.LOTTERY=new c(e.C.LOTTERY,h.W.LOTTERY);static#b=this.ARCADE=new c(e.C.ARCADE,h.W.ARCADE);static#x=this.CASINO=new c(e.C.CASINO,h.W.CASINO);static#P=this.FISHING=new c(e.C.FISHING,h.W.FISHING);static#L=this.CRASH=new c(e.C.CRASH,h.W.CRASH);static#F=this.CARD=new c(e.C.CARD,h.W.CARD);static#B=this.TERMS=new c(e.C.TERMS,h.W.TERMS);static#k=this.TERMS_ABOUT=new c(e.C.TERMS_ABOUT,h.W.TERMS_ABOUT);static#U=this.TERMS_CONTACT=new c(e.C.TERMS_CONTACT,h.W.TERMS_CONTACT);static#G=this.TERMS_PRIVACY=new c(e.C.TERMS_PRIVACY,h.W.TERMS_PRIVACY);static#W=this.TERMS_KYC_POLICY=new c(e.C.TERMS_KYC_POLICY,h.W.TERMS_KYC_POLICY);static#V=this.TERMS_SELF_EXCLUSION_POLICY=new c(e.C.TERMS_SELF_EXCLUSION_POLICY,h.W.TERMS_SELF_EXCLUSION_POLICY);static#$=this.TERMS_UNDERAGE_POLICY=new c(e.C.TERMS_UNDERAGE_POLICY,h.W.TERMS_UNDERAGE_POLICY);static#H=this.TERMS_SPORT_MARKET_GLOSSARY=new c(e.C.TERMS_SPORT_MARKET_GLOSSARY,h.W.TERMS_SPORT_MARKET_GLOSSARY);static#j=this.TERMS_CONDITIONS=new c(e.C.TERMS_CONDITIONS,h.W.TERMS_CONDITIONS);static#K=this.TERMS_RULES=new c(e.C.TERMS_RULES,h.W.TERMS_RULES);static#X=this.TERMS_DUTY=new c(e.C.TERMS_DUTY,h.W.TERMS_DUTY);static#Y=this.TERMS_FAQ=new c(e.C.TERMS_FAQ,h.W.TERMS_FAQ);static#z=this.TERMS_DISCONNECTION=new c(e.C.TERMS_DISCONNECTION,h.W.TERMS_DISCONNECTION);static#Q=this.TERMS_IN_AND_OUT=new c(e.C.TERMS_IN_AND_OUT,h.W.TERMS_IN_AND_OUT);static#J=this.TEAMS_AGE_18_ABOVE=new c(e.C.TEAMS_AGE_18_ABOVE,h.W.TEAMS_AGE_18_ABOVE);static#Z=this.TEAMS_SAFE=new c(e.C.TEAMS_SAFE,h.W.TEAMS_SAFE);static#q=this.TEAMS_BC_SPORTS=new c(e.C.TEAMS_BC_SPORTS,h.W.TEAMS_BC_SPORTS);static#ee=this.APP_DOWNLOAD=new c(e.C.APP_DOWNLOAD,h.W.APP_DOWNLOAD);static#te=this.AMBASSADOR=new c(e.C.AMBASSADOR,h.W.AMBASSADOR);static#ne=this.SPONSOR=new c(e.C.SPONSOR,h.W.SPONSOR);static#ie=this.PROFILE=new c(e.C.PROFILE,h.W.PROFILE);static#se=this.PROFILENEW=new c(e.C.PROFILENEW,h.W.PROFILENEW);static#re=this.PROFILENEW_ADD_FULLNAME=new c(e.C.PROFILENEW_ADD_FULLNAME,h.W.PROFILENEW_ADD_FULLNAME);static#oe=this.PROFILENEW_ADD_BIRTHDAY=new c(e.C.PROFILENEW_ADD_BIRTHDAY,h.W.PROFILENEW_ADD_BIRTHDAY);static#ae=this.PROFILENEW_ADD_EMAIL=new c(e.C.PROFILENEW_ADD_EMAIL,h.W.PROFILENEW_ADD_EMAIL);static#ce=this.PROFILENEW_VERIFY_EMAIL=new c(e.C.PROFILENEW_VERIFY_EMAIL,h.W.PROFILENEW_VERIFY_EMAIL);static#le=this.PROFILENEW_ADD_PHONE=new c(e.C.PROFILENEW_ADD_PHONE,h.W.PROFILENEW_ADD_PHONE);static#ue=this.PROFILENEW_VERIFY_PHONE=new c(e.C.PROFILENEW_VERIFY_PHONE,h.W.PROFILENEW_VERIFY_PHONE);static#de=this.PROFILENEW_VERIFY_CODE=new c(e.C.PROFILENEW_VERIFY_CODE,h.W.PROFILENEW_VERIFY_CODE);static#he=this.VIP_INFO=new c(e.C.VIP_INFO,h.W.VIP_INFO);static#fe=this.VIP_DETAIL=new c(e.C.VIP_DETAIL,h.W.VIP_DETAIL);static#ge=this.WALLET=new c(e.C.WALLET,h.W.WALLET);static#pe=this.WALLET_DEPOSIT=new c(e.C.WALLET_DEPOSIT,h.W.WALLET_DEPOSIT);static#_e=this.WALLET_DEPOSIT_THIRD_PARTY_RESULT=new c(e.C.WALLET_DEPOSIT_THIRD_PARTY_RESULT,h.W.WALLET_DEPOSIT);static#me=this.WALLET_WITHDRAWAL=new c(e.C.WALLET_WITHDRAWAL,h.W.WALLET_WITHDRAWAL);static#ve=this.MY_BONUSES=new c(e.C.MY_BONUSES,h.W.MY_BONUSES);static#Ee=this.MY_BONUSES_RUNNING=new c(e.C.MY_BONUSES_RUNNING,h.W.MY_BONUSES_RUNNING);static#Ie=this.MY_BONUSES_COMPLETE=new c(e.C.MY_BONUSES_COMPLETE,h.W.MY_BONUSES_COMPLETE);static#Ce=this.TURNOVER=new c(e.C.TURNOVER,h.W.TURNOVER);static#De=this.TURNOVER_UNCOMPLETE=new c(e.C.TURNOVER_UNCOMPLETE,h.W.TURNOVER_UNCOMPLETE);static#Ae=this.TURNOVER_COMPLETE=new c(e.C.TURNOVER_COMPLETE,h.W.TURNOVER_COMPLETE);static#Se=this.BETTING_RECORDS=new c(e.C.BETTING_RECORDS,h.W.BETTING_RECORDS);static#Re=this.BETTING_RECORDS_SETTLED=new c(e.C.BETTING_RECORDS_SETTLED,h.W.BETTING_RECORDS_SETTLED);static#Oe=this.BETTING_RECORDS_UNSETTLED=new c(e.C.BETTING_RECORDS_UNSETTLED,h.W.BETTING_RECORDS_UNSETTLED);static#ye=this.TRANSACTION_RECORDS=new c(e.C.TRANSACTION_RECORDS,h.W.TRANSACTION_RECORDS);static#Te=this.TRANSACTION_RESULT=new c(e.C.TRANSACTION_RESULT,h.W.TRANSACTION_RESULT);static#Me=this.VIP_POINTS_RECORDS=new c(e.C.VIP_POINTS_RECORDS,h.W.VIP_POINTS_RECORDS);static#Ne=this.VIP_POINTS_EXCHANGE=new c(e.C.VIP_POINTS_EXCHANGE,h.W.VIP_POINTS_EXCHANGE);static#we=this.VIP_HISTORY=new c(e.C.VIP_HISTORY,h.W.VIP_HISTORY);static#be=this.VIP_POINTS_RECORDS_RECEIVED=new c(e.C.VIP_POINTS_RECORDS_RECEIVED,h.W.VIP_POINTS_RECORDS_RECEIVED);static#xe=this.VIP_POINTS_RECORDS_USED=new c(e.C.VIP_POINTS_RECORDS_USED,h.W.VIP_POINTS_RECORDS_USED);static#Pe=this.VERIFY_BANK=new c(e.C.VERIFY_BANK,h.W.VERIFY_BANK);static#Le=this.VERIFY_DOCUMENT=new c(e.C.VERIFY_DOCUMENT,h.W.VERIFY_DOCUMENT);static#Fe=this.VERIFY_CRYPTOCURRENCIES=new c(e.C.VERIFY_CRYPTOCURRENCIES,h.W.VERIFY_CRYPTOCURRENCIES);static#Be=this.VERIFY_E_WALLETS=new c(e.C.VERIFY_E_WALLETS,h.W.VERIFY_E_WALLETS);static#ke=this.VERIFY_UPI=new c(e.C.VERIFY_UPI,h.W.VERIFY_UPI);static#Ue=this.VERIFICATION_OTP=new c(e.C.VERIFICATION_OTP,h.W.VERIFICATION_OTP);static#Ge=this.INBOX=new c(e.C.INBOX,h.W.INBOX);static#We=this.INBOX_NOTIFICATION=new c(e.C.INBOX_NOTIFICATION,h.W.INBOX_NOTIFICATION);static#Ve=this.REFERRAL=new c(e.C.REFERRAL,h.W.REFERRAL);static#$e=this.REFERRAL_PROGRAM=new c(e.C.REFERRAL_PROGRAM,h.W.REFERRAL_PROGRAM);static#He=this.REFERRAL_PROGRAM_PROMOTION=new c(e.C.REFERRAL_PROGRAM_PROMOTION,h.W.REFERRAL_PROGRAM_PROMOTION);static#je=this.REFERRAL_PROGRAM_PROMOTION_RULES=new c(e.C.REFERRAL_PROGRAM_PROMOTION_RULES,h.W.REFERRAL_PROGRAM_PROMOTION_RULES);static#Ke=this.REFERRAL_PROGRAM_DETAILS=new c(e.C.REFERRAL_PROGRAM_DETAILS,h.W.REFERRAL_PROGRAM_DETAILS);static#Xe=this.REFERRAL_INFORMATION=new c(e.C.REFERRAL_INFORMATION,h.W.REFERRAL_INFORMATION);static#Ye=this.REFERRAL_RECORDS=new c(e.C.REFERRAL_RECORDS,h.W.REFERRAL_RECORDS);static#ze=this.REFERRAL_INVITATION=new c(e.C.REFERRAL_INVITATION,h.W.REFERRAL_INVITATION);static#Qe=this.REFERRAL_INVITE=new c(e.C.REFERRAL_INVITE,h.W.REFERRAL_INVITE);static#Je=this.REFERRAL_REWARD=new c(e.C.REFERRAL_REWARD,h.W.REFERRAL_REWARD);static#Ze=this.REFERRAL_DETAILS=new c(e.C.REFERRAL_DETAILS,h.W.REFERRAL_DETAILS);static#qe=this.REFERRAL_BONUS=new c(e.C.REFERRAL_BONUS,h.W.REFERRAL_BONUS);static#et=this.COMMON_REFERRAL=new c(e.C.COMMON_REFERRAL,h.W.COMMON_REFERRAL);static#tt=this.COMMON_REFERRAL_INVITE_FRIEND=new c(e.C.COMMON_REFERRAL_INVITE_FRIEND,h.W.COMMON_REFERRAL_INVITE_FRIEND);static#nt=this.COMMON_REFERRAL_ACHIVEMENT_BONUS=new c(e.C.COMMON_REFERRAL_ACHIVEMENT_BONUS,h.W.COMMON_REFERRAL_ACHIVEMENT_BONUS);static#it=this.COMMON_REFERRAL_REBATE_BONUS=new c(e.C.COMMON_REFERRAL_REBATE_BONUS,h.W.COMMON_REFERRAL_REBATE_BONUS);static#st=this.COMMON_REFERRAL_DETAILS=new c(e.C.COMMON_REFERRAL_DETAILS,h.W.COMMON_REFERRAL_DETAILS);static#rt=this.BIOMETRIC=new c(e.C.BIOMETRIC,h.W.BIOMETRIC);static#ot=this.MY_FAVORITES=new c(e.C.MY_FAVORITES,h.W.MY_FAVORITES);static#at=this.SLOT_MY_FAVORITES=new c(e.C.SLOT_MY_FAVORITES,h.W.SLOT_MY_FAVORITES);static#ct=this.CASINO_MY_FAVORITES=new c(e.C.CASINO_MY_FAVORITES,h.W.CASINO_MY_FAVORITES);static#lt=this.AF_LINK=new c(e.C.AF_LINK,h.W.LANDING_PAGE);static#ut=this.LANDING_PAGE=new c(e.C.LANDING_PAGE,h.W.LANDING_PAGE);static#dt=this.GLOSSARY=new c(e.C.GLOSSARY,h.W.GLOSSARY);static#ht=this.DRANGON_TEIGER_RANKING=new c(e.C.DRAGON_TIGER_RANKING,h.W.DRAGON_TIGER_RANKING);static#ft=this.PAYMENT_INTRODUCTION=new c(e.C.PAYMENT_INTRODUCTION,h.W.PAYMENT_INTRODUCTION);static#gt=this.OPEN_GAME_PAGE=new c(e.C.OPEN_GAME_PAGE,h.W.MAIN);static#pt=this.NEW_MEMBER_GUIDE=new c(e.C.NEW_MEMBER_GUIDE,h.W.NEW_MEMBER_GUIDE);constructor(y,R){super(y.key),this._routingPath=y,this._layoutConfigType=R,c.values.push(this)}static findByRoutingPath(y){if(y)return this.values.find(R=>R._routingPath===y)}static get values(){return this._values}get routingPath(){return this._routingPath.routingPath}get link(){return this._routingPath.link}get layoutConfigType(){return this._layoutConfigType}get landingPageType(){return this._routingPath.landingPageType}}},7760:(Me,K,o)=>{"use strict";o.d(K,{I:()=>e,m:()=>u});var u=function(h){return h.MAIN_TAB="0",h.LEFT_MENU="1",h.HEADER_FAST="2",h.CASINO_MENU="3",h}(u||{}),e=function(h){return h[h.CATEGORY_CONTAINER=0]="CATEGORY_CONTAINER",h[h.GAME_CONTAINER=1]="GAME_CONTAINER",h[h.DIRECT_URL=2]="DIRECT_URL",h[h.VENDOR=3]="VENDOR",h[h.GAME=4]="GAME",h[h.FOR_YOU=5]="FOR_YOU",h[h.TOP_GAMES=6]="TOP_GAMES",h[h.NEW_GAMES=7]="NEW_GAMES",h[h.TOP_BET=8]="TOP_BET",h[h.RECOMMEND=9]="RECOMMEND",h[h.LAST_GAMES=10]="LAST_GAMES",h[h.LUCK_GAMES=11]="LUCK_GAMES",h}(e||{})},78922:(Me,K,o)=>{"use strict";o.d(K,{X:()=>h});var u=o(65788),e=function(c){return c[c.CURRENCY=1]="CURRENCY",c[c.LANGUAGE=2]="LANGUAGE",c[c.COUNTRY=3]="COUNTRY",c[c.TIMEZONE=4]="TIMEZONE",c[c.MARKET=5]="MARKET",c[c.DEFAULT_LANGUAGE=6]="DEFAULT_LANGUAGE",c}(e||{});class h extends u.N{static#e=this._values=new Array;static#t=this.CURRENCY=new h(e.CURRENCY);static#n=this.LANGUAGE=new h(e.LANGUAGE);static#i=this.COUNTRY=new h(e.COUNTRY);static#s=this.TIMEZONE=new h(e.TIMEZONE);static#r=this.MARKET=new h(e.MARKET);static#o=this.DEFAULT_LANGUAGE=new h(e.DEFAULT_LANGUAGE);constructor(v){super(v),this._value=v,h.values.push(this)}static get values(){return this._values}}},20753:(Me,K,o)=>{"use strict";o.d(K,{n:()=>e});const e=new(o(54438).nKC)("SYSTEM_CONFIG")},82409:(Me,K,o)=>{"use strict";o.d(K,{$u:()=>T,_X:()=>A});var u=o(54438),e=o(7673),h=o(22806),c=o(88141),v=o(25558),y=o(98856);const R=new u.nKC("SYSTEM_MESSAGE_DIALOG_CONFIG"),T=new u.nKC("SYSTEM_MESSAGE_UI_LOADER");let A=(()=>{class S{constructor(){this.notifyUILoader=(0,u.WQX)(T),this.dialogService=(0,u.WQX)(y.o),this.notifyUI=null,this.dialogConfig=(0,u.WQX)(R,{optional:!0})}getNotifyUI(){return this.notifyUI?(0,e.of)(this.notifyUI):(0,h.H)(this.notifyUILoader()).pipe((0,c.M)(x=>this.notifyUI=x))}show(x,P,B,W){"Not Support."!==x&&this.getNotifyUI().pipe((0,v.n)(ee=>this.dialogService.openDialog(ee,{...this.dialogConfig||{},data:{title:P,content:x},uiLoaderList:W}))).subscribe(()=>B?.())}static#e=this.\u0275fac=function(P){return new(P||S)};static#t=this.\u0275prov=u.jDH({token:S,factory:S.\u0275fac})}return S})()},77874:(Me,K,o)=>{"use strict";o.d(K,{v:()=>y});var u=o(89079),e=o(95407),h=o(54438);const c=new h.nKC("CHAT_SETTING_LIST");var v=o(30617);let y=(()=>{class R{constructor(){this.appStateService=(0,h.WQX)(e.i),this.siteSetting=(0,h.WQX)(v.p),this.settingList=(0,h.WQX)(c,{optional:!0}),this.settingMap=this.settingList?.reduce((A,S)=>(A.set(S.currency,S),A),new Map),this.currentChatService=(0,h.vPA)(null),this.chatService=this.currentChatService.asReadonly(),this.shouldHideExternalUI=(0,u.ot)(this.appStateService.on("shouldHideExternalUI")),this.checkChatServiceShowHideUi=(0,h.QZP)(()=>{const A=this.shouldHideExternalUI(),S=this.currentChatService();S&&(A?S.hideIcon():S.showIcon())}),this.currentCurrencyType=(0,u.ot)(this.siteSetting.select("currentCurrencyType")),this.injector=(0,h.WQX)(h.zZn)}init(){(0,h.QZP)(()=>{const A=this.currentCurrencyType(),S=(0,h.O8t)(this.currentChatService);if(S&&(S.destroy(),this.currentChatService.set(null)),!A)return;const C=this.settingMap?.get(A);if(C){const x=this.injector.get(C.service);x.init(C.config).subscribe(()=>{this.currentChatService.set(x)})}},{injector:this.injector,allowSignalWrites:!0})}static#e=this.\u0275fac=function(S){return new(S||R)};static#t=this.\u0275prov=h.jDH({token:R,factory:R.\u0275fac,providedIn:"root"})}return R})()},5585:(Me,K,o)=>{"use strict";o.d(K,{l:()=>R});var u=o(65089),e=o(54438),h=o(60177),c=o(76939);function v(T,A){if(1&T){const S=e.RV6();e.j41(0,"div",5),e.bIt("click",function(){e.eBV(S);const x=e.XpG();return e.Njj(x.onClickClose())}),e.k0s()}}function y(T,A){}let R=(()=>{class T extends u.m{static#e=this.\u0275fac=(()=>{let S;return function(x){return(S||(S=e.xGo(T)))(x||T)}})();static#t=this.\u0275cmp=e.VBU({type:T,selectors:[["app-dialog-bottom"]],features:[e.Vt3],decls:5,vars:2,consts:[[1,"popup",3,"id"],[1,"popup__header"],["class","popup__close",3,"click",4,"ngIf"],[1,"popup__content"],["cdkPortalOutlet",""],[1,"popup__close",3,"click"]],template:function(C,x){1&C&&(e.j41(0,"div",0)(1,"div",1),e.DNE(2,v,1,0,"div",2),e.k0s(),e.j41(3,"div",3),e.DNE(4,y,0,0,"ng-template",4),e.k0s()()),2&C&&(e.Y8G("id",x.id),e.R7$(2),e.Y8G("ngIf",x.enableCloseBtn))},dependencies:[h.bT,c.I3],styles:[".cdk-overlay-pane.dialog-panel{width:100%} .cdk-overlay-backdrop{pointer-events:none} .cdk-overlay-pane{pointer-events:none} .cdk-overlay-pane>*{pointer-events:auto}"],changeDetection:0})}return T})()},77183:(Me,K,o)=>{"use strict";o.d(K,{u:()=>e});var u=o(54438);class e{constructor(){this._isActive=!0,this._isActiveSignal=(0,u.vPA)(!0),this.isActiveSignal=this._isActiveSignal.asReadonly()}get isActive(){return this._isActive}deactivate(){this._isActiveSignal.set(!1),this._isActive=!1}close(c){this.deactivate(),this.dialogRef.close(c)}returnValueAndClose(c){this.deactivate(),this.dialogRef.close(c)}}},65089:(Me,K,o)=>{"use strict";o.d(K,{m:()=>y});var u=o(76939),e=o(54438),h=o(60177);function c(R,T){if(1&R){const A=e.RV6();e.j41(0,"div",5),e.bIt("click",function(){e.eBV(A);const C=e.XpG();return e.Njj(C.onClickClose())}),e.k0s()}}function v(R,T){}let y=(()=>{class R{constructor(){this.afterClickClose=new e.bkB,this.id="",this.maxWidth="",this.enableBackdropClick=!1,this.enableCloseBtn=!1}onClickClose(){this.afterClickClose.emit()}attachComponentPortal(A){return this.portalOutlet.attachComponentPortal(A)}attachTemplatePortal(A){return this.portalOutlet.attachTemplatePortal(A)}static#e=this.\u0275fac=function(S){return new(S||R)};static#t=this.\u0275cmp=e.VBU({type:R,selectors:[["app-dialog"]],viewQuery:function(S,C){if(1&S&&e.GBs(u.I3,7),2&S){let x;e.mGM(x=e.lsd())&&(C.portalOutlet=x.first)}},decls:5,vars:2,consts:[[1,"popup",3,"id"],[1,"popup__header"],["class","popup__close",3,"click",4,"ngIf"],[1,"popup__content"],["cdkPortalOutlet",""],[1,"popup__close",3,"click"]],template:function(S,C){1&S&&(e.j41(0,"div",0)(1,"div",1),e.DNE(2,c,1,0,"div",2),e.k0s(),e.j41(3,"div",3),e.DNE(4,v,0,0,"ng-template",4),e.k0s()()),2&S&&(e.Y8G("id",C.id),e.R7$(2),e.Y8G("ngIf",C.enableCloseBtn))},dependencies:[h.bT,u.I3],styles:[".cdk-overlay-pane.dialog-panel{width:100%;height:100%} .cdk-overlay-backdrop{pointer-events:none} .cdk-overlay-pane{pointer-events:none} .cdk-overlay-pane>*{pointer-events:auto}"],changeDetection:0})}return R})()},43518:(Me,K,o)=>{"use strict";o.d(K,{Pe:()=>c,Qs:()=>h,a2:()=>e});var u=o(54438);const e=new u.nKC("DIALOG_CONFIG"),h=new u.nKC("DIALOG_DATA_TOKEN");class c{constructor(){this.enableBackdropClick=!1,this.enableCloseBtn=!1,this.fixedWindowHeight=!1,this.maxWidth="100%",this.panelClass="dialog-panel",this.backdropClass="dialog-backdrop",this.overlayClass="",this.verticalPosition="center",this.horizontalPosition="center"}}},98856:(Me,K,o)=>{"use strict";o.d(K,{o:()=>ve});var u=o(47987),e=o(76939),h=o(60177),c=o(54438),v=o(35060),y=o(71985),R=o(43518),T=o(21413),A=o(96697),S=o(5964),C=o(88141);let x=0;class B{constructor(Ee,F){this.overlatRef=Ee,this.componentInstance=F,this.afterShow$=new T.B,this.afterHide$=new T.B,this.isOpen=!0,this.id=`dialog-${function P(){return x++}()}`,F.id=this.id,F.afterClickClose.pipe((0,A.s)(1)).subscribe(()=>{this.close()}),Ee.detachments().subscribe(()=>{this.afterHide$.next(this.result),this.afterHide$.complete(),this.contentComponentInstance=null,Ee.dispose()}),Ee.backdropClick().pipe((0,S.p)(()=>F.enableBackdropClick),(0,C.M)(()=>this.close())).subscribe()}close(Ee){this.result=Ee,this.finishDialogClose()}finishDialogClose(){this.isOpen=!1,this.overlatRef.detach()}afterShow(){return this.afterShow$.asObservable()}afterHide(){return this.afterHide$.asObservable()}}var W=o(65089),ee=o(5585),se=o(77183),Y=o(86646),re=o(30023);let ve=(()=>{class le{get isAnyDialogOpened(){return this.dialogRefList.length>0}constructor(F,j){this.overlay=F,this.platformId=j,this.ignoreImageUrlReplaceCheck=(0,c.WQX)(re.t),this.imageUrlReplaceService=(0,c.WQX)(Y._),this.dialogRefList=[],this.isBrowser=!0,this.isBrowser=(0,h.UE)(this.platformId)}openDialogInstance(F,j,te){return this.isBrowser?j?.prototype instanceof se.u?new y.c($=>{const ue={...new R.Pe,...te},Te=this.createOverlay(ue);this.ignoreImageUrlReplaceCheck||this.imageUrlReplaceService.detectElementChanges(Te.overlayElement);const _e=this.attachDialogContainer(F,Te,ue),Ge=this.attachDialogContent(j,_e,Te,ue);this.dialogRefList.push(Ge),Ge.afterHide().subscribe(Ve=>{this.removeDialog(Ge),setTimeout(()=>{$.next(Ve),$.complete(),$.unsubscribe()},10)})}):(alert("DialogService.openDialog(), componentType is not DialogBase. Please extends DialogBase"),v.t):v.t}openDialog(F,j){return this.openDialogInstance(W.m,F,j)}openBottomDialog(F,j){return this.openDialogInstance(ee.l,F,{...j,verticalPosition:"bottom"})}attachDialogContainer(F,j,te){const J=new e.A8(F),ce=j.attach(J).instance;return ce.enableBackdropClick=!!te.enableBackdropClick||ce.enableBackdropClick,ce.enableCloseBtn=!!te.enableCloseBtn||ce.enableCloseBtn,ce.maxWidth=te.maxWidth||ce.maxWidth,ce}attachDialogContent(F,j,te,J){const $=new B(te,j),ce=this.createInjector(J);let ue;if(F instanceof c.C4Q){const Te=new e.VA(F,void 0,J.data);ue=j.attachTemplatePortal(Te)}else{const Te=new e.A8(F,void 0,ce);ue=j.attachComponentPortal(Te),$.contentComponentInstance=ue.instance,ue.instance.dialogRef=$}return $}closeAll(){this.dialogRefList.concat([]).forEach(F=>F.close())}removeDialog(F){const j=this.dialogRefList.indexOf(F);j>-1&&this.dialogRefList.splice(j,1)}createOverlay(F){const j=new u.rR({backdropClass:F.backdropClass,hasBackdrop:!0,panelClass:F.panelClass,positionStrategy:this.getPositionStrategy(F),scrollStrategy:this.overlay.scrollStrategies.block()}),te=this.overlay.create(j);return F.overlayClass&&te.hostElement.classList.add(F.overlayClass),te}getPositionStrategy(F){const j=this.overlay.position().global();return"left"===F.horizontalPosition?j.left("0"):"right"===F.horizontalPosition?j.right("0"):j.centerHorizontally(),"top"===F.verticalPosition?j.top("0"):"bottom"===F.verticalPosition?j.bottom("0"):j.centerVertically(),j}createInjector(F){return c.zZn.create({providers:[{provide:R.Qs,useValue:F.data},{provide:R.a2,useValue:F}],parent:F.parentInjector})}static#e=this.\u0275fac=function(j){return new(j||le)(c.KVO(u.hJ),c.KVO(c.Agw))};static#t=this.\u0275prov=c.jDH({token:le,factory:le.\u0275fac,providedIn:"root"})}return le})()},30023:(Me,K,o)=>{"use strict";o.d(K,{t:()=>e});var u=o(54438);const e=new u.nKC("IGNORE_IMAGE_URL_REPLACE_CHECK");new u.nKC("SETUP_BIOMETRICS")},98567:(Me,K,o)=>{"use strict";o.d(K,{T:()=>R});var u=o(54438),e=o(72594),h=o(7673),c=o(22806),v=o(96354),y=o(99437);let R=(()=>{class T{constructor(){this.ngZone=(0,u.WQX)(u.SKi),this.ngZone.runOutsideAngular(()=>{this.fingerprintjsProAngularService=(0,u.WQX)(e.KV)})}getVistorId(){return this.fingerprintjsProAngularService?(0,c.H)(this.fingerprintjsProAngularService.getVisitorData()).pipe((0,v.T)(S=>S.visitorId),(0,y.W)(S=>(console.error("getVisitorData() error: ",S),(0,h.of)("")))):(0,h.of)("")}static#e=this.\u0275fac=function(C){return new(C||T)};static#t=this.\u0275prov=u.jDH({token:T,factory:T.\u0275fac})}return T})()},28505:(Me,K,o)=>{"use strict";o.d(K,{T:()=>S});var u=o(60177),e=o(54438),h=o(30617),c=o(21413),v=o(84572),y=o(70152),R=o(88141),T=o(56977),A=o(52034);let S=(()=>{class C{static#e=this.id=0;constructor(P,B,W,ee){this.elementRef=P,this.renderer=B,this.document=W,this.toLocalNumberPipe=ee,this.siteSetting$=(0,e.WQX)(h.p),this.currencyDisplay="symbol-narrow",this.refresh$=new c.B,this.destroy$=new c.B;let se=this.elementRef.nativeElement;for(;se.nodeType===Node.COMMENT_NODE||se.nodeType===Node.TEXT_NODE;)se=this.elementRef.nativeElement.parentElement;this.container=se,this.id="locale-util-dicrective-"+C.id++,(0,v.z)([this.siteSetting$.select("currentCurrencyType"),this.refresh$]).pipe((0,y.B)(50),(0,R.M)(()=>this.refresh()),(0,T.Q)(this.destroy$)).subscribe()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),this.destroy$.unsubscribe()}ngOnChanges(){this.refresh$.next()}refresh(){const P=this.container.querySelector(`#${this.id}`);P&&P.remove();const B=this.toLocalNumberPipe.transform(this.value,this.currencyDisplay)||"",W=/\(.*\)/g.test(B),ee=this.document.createElement("i");ee.innerHTML=`${B}`,ee.id=this.id,ee.style.display="initial",W&&(ee.style.color="red"),this.container===this.elementRef.nativeElement?this.renderer.appendChild(this.container,ee):this.renderer.insertBefore(this.container,ee,this.elementRef.nativeElement)}static#t=this.\u0275fac=function(B){return new(B||C)(e.rXU(e.aKT),e.rXU(e.sFG),e.rXU(u.qQ),e.rXU(A.o4))};static#n=this.\u0275dir=e.FsC({type:C,selectors:[["","localeCurrency",""]],inputs:{value:[e.Mj6.None,"localeCurrency","value"],currencyDisplay:"currencyDisplay"},features:[e.Jv_([A.o4]),e.OA$]})}return C})()},89558:(Me,K,o)=>{"use strict";o.d(K,{K:()=>R});var u=o(60177),c=(o(52034),o(28505),o(54438));let R=(()=>{class T{static#e=this.\u0275fac=function(C){return new(C||T)};static#t=this.\u0275mod=c.$C({type:T});static#n=this.\u0275inj=c.G2t({imports:[u.MD]})}return T})()},52034:(Me,K,o)=>{"use strict";o.d(K,{l6:()=>T,o4:()=>R});var u=o(54438),e=o(30617),h=o(69506),c=o(60328),v=o(73927);const y=new u.nKC("CUSTOM_TOLOCALNUMBER_PIPE_OPTION");let R=(()=>{class A{constructor(){this.customToLocalNumberPipeOption=(0,u.WQX)(y,{optional:!0}),this.siteSetting$=(0,u.WQX)(e.p),this.environment=(0,u.WQX)(c.E),this.forceShowArabicNumerals=this.environment.forceShowArabicNumerals,this.useIndonesianThousandSeparatorWhenBengal=this.environment.useIndonesianThousandSeparatorWhenBengal,this.defaultOptions={minimumFractionDigits:2,maximumFractionDigits:2,useGrouping:!0},this.defaultCurrencySign="$"}transform(C,x="symbol-narrow",P=this.defaultOptions.minimumFractionDigits,B,W=this.defaultOptions.maximumFractionDigits,ee,se=this.defaultOptions.useGrouping,Y){const re=ee||this.customToLocalNumberPipeOption?.negativeSign;let ve=this.siteSetting$.get("currentLanguageType")?.resourceKey||"en",le=h.B.getInstanceOf(this.siteSetting$.get("accessCountryTypeId")),Ee=h.B.US;le===h.B.BD&&this.useIndonesianThousandSeparatorWhenBengal?("bn"!==ve&&(ve="en"),Ee=h.B.IN):"km"===ve&&(ve="en"),Y?.countryType&&(Ee=Y.countryType),Y?.languageType&&(ve=Y.languageType.resourceKey);let F=`${ve}-${Ee?.name.toLowerCase()}`;Y?.locale&&(F=Y.locale);let j=Number(`${C||""}`.replace(/,/g,""));const te=isNaN(j);if(te&&C)return C.toString();te&&!C&&(j=0),0===j&&(P=0);const J=Object.assign({},{...this.defaultOptions,minimumFractionDigits:P,maximumFractionDigits:W,useGrouping:se});j=B?v.z[B](j,W):v.z.ceil(j,W);let $=j.toString();if(this.forceShowArabicNumerals&&!1!==se){let _e=j.toString().split(".");_e[0]=_e[0].replace(/\B(?=(\d{3})+(?!\d))/g,","),$=_e.join(".")}else $=j.toLocaleString(F,J);j<0&&($="negativeSign"===re?" "+$:`(${$})`.replace(/\(-/g,"("));let ue=this.defaultCurrencySign;const Te=this.siteSetting$.get("currentCurrencyType");switch(x){case"":ue="";break;case"code":ue=`${Te?.name||ue}`;break;case"symbol":ue=`${Te?.symbol||ue} `;break;case"symbol-narrow":ue=`${Te?.symbol||ue}`}return $=`${ue}${$}`.trim(),$}static#e=this.\u0275fac=function(x){return new(x||A)};static#t=this.\u0275pipe=u.EJ8({name:"toLocalNumber",type:A,pure:!0})}return A})(),T=(()=>{class A{transform(C){let x=`${C}`,B="display:initial;";return/\(.*\)/g.test(x)&&(B+="color:red;"),x=`${x}`,x}static#e=this.\u0275fac=function(x){return new(x||A)};static#t=this.\u0275pipe=u.EJ8({name:"addLocaleNumberNegativeHtml",type:A,pure:!0})}return A})()},55351:(Me,K,o)=>{"use strict";o.d(K,{P:()=>e});const e=new(o(54438).nKC)("LUCKY_SPIN_CONFIG")},42086:(Me,K,o)=>{"use strict";o.d(K,{X:()=>A});var u=o(54438),e=o(60177),h=o(55351),c=o(69095),v=o(51433),y=o(21413),R=o(88141),T=o(56977);let A=(()=>{class S{static forRoot(x){return{ngModule:S,providers:[{provide:h.P,useValue:x},{provide:u.iLQ,useFactory:(P,B,W)=>ee=>{if(!(0,e.UE)(P))return;const se=new y.B;W.select("isLogin").pipe((0,R.M)(()=>{B.reset()}),(0,T.Q)(se)).subscribe(),ee.onDestroy(()=>{try{se.next(),se.unsubscribe()}catch(Y){console.error(Y)}})},deps:[u.Agw,c.Y,v.H],multi:!0}]}}static#e=this.\u0275fac=function(P){return new(P||S)};static#t=this.\u0275mod=u.$C({type:S});static#n=this.\u0275inj=u.G2t({providers:[c.Y],imports:[e.MD]})}return S})()},69095:(Me,K,o)=>{"use strict";o.d(K,{Y:()=>C});var u=o(60177),e=o(54438),h=o(51433),c=o(35060),v=o(7673),y=o(71985),R=o(88141),T=o(55351),A=o(30617),S=o(31471);let C=(()=>{class x{constructor(){this.ngZone=(0,e.WQX)(e.SKi),this.isPlatformBrowser=(0,u.UE)((0,e.WQX)(e.Agw)),this.config=(0,e.WQX)(T.P,{optional:!0}),this.authState=(0,e.WQX)(h.H),this.siteSetting=(0,e.WQX)(A.p)}includeScript(){return this.isPlatformBrowser&&this.config?this.marketingarm?(0,v.of)(this.marketingarm):new y.c(B=>{this.ngZone.runOutsideAngular(()=>{if(!this.config?.scriptUrl)return void B.error("LuckySpinService: please provide script url.");const W=document.createElement("script");W.id="lucky-spin-script",W.async=!0,W.src=this.config.scriptUrl,W.addEventListener("load",()=>{if(this.marketingarm=window.marketingarm,this.marketingarm)B.next(this.marketingarm),B.complete(),B.unsubscribe();else{const ee="LuckySpinService: cannot find marketingarm.";console.error(ee),B.error(ee)}}),W.addEventListener("error",ee=>{B.error(ee)}),document.head.insertBefore(W,document.head.firstChild)})}):c.t}initElement(){try{window.InitLuckySpinElem()}catch(B){console.error(B)}}setConfig(){const B=this.config?.merchantId||"",W=this.authState.get("accountInfo")?.userId||"",ee=this.siteSetting.get("currentLanguageType")._resourceKey||"",se=this.config?.hashSalt||"",re={UserID:W,LicenseKey:this.config?.licenseKey||""};B&&se&&(re.MerchantID=B,re.Language=ee,re.Hash=this.generateConfigHash(B,W,ee,se)),console.log("setGConfig()",JSON.parse(JSON.stringify(re))),window.gConfig=re}resetState(){this.setConfig(),this.initElement()}generateConfigHash(B,W,ee,se){return(0,S.MD5)(`MerchantID=${B}&UserName=${W}&Language=${ee}${se}`).toString()}init(){return this.includeScript().pipe((0,R.M)(()=>this.resetState()))}reset(){this.includeScript().pipe((0,R.M)(()=>this.resetState())).subscribe()}trigger(B){if(this.isPlatformBrowser&&this.config){if(!B)return void console.error("LuckySpinService: no triggerInfo.");this.setConfig(),this.includeScript().pipe((0,R.M)(W=>W.triggerApi(B))).subscribe()}}static#e=this.\u0275fac=function(W){return new(W||x)};static#t=this.\u0275prov=e.jDH({token:x,factory:x.\u0275fac})}return x})()},80247:(Me,K,o)=>{"use strict";o.d(K,{Zv:()=>J,eD:()=>ce});var u=o(60177),e=o(54438),h=o(15153),c=o(82409),v=o(98856),y=o(45122),R=o(60086),T=o(79336),A=o(20464),S=o(21413),C=o(22806),x=o(25558),P=o(35060),B=o(7673),W=o(96354),ee=o(56977),se=o(55674),Y=o(51433),re=o(30617),ve=o(51188),le=o(62405),Ee=o(20421),F=o(93166),j=o(20753),te=o(74851);const J=new e.nKC("OPEN_GAMER_DATA_CHECKER");var $=function(ue){return ue[ue.OPEN_GAME=0]="OPEN_GAME",ue[ue.STOP=1]="STOP",ue[ue.COMPLETE=2]="COMPLETE",ue}($||{});let ce=(()=>{class ue{constructor(){this.FORCE_OPEN_WITH_WINDOW_IN_IOS_VENDOR_LIST=["SBOv2"],this.isBrowser=(0,u.UE)((0,e.WQX)(e.Agw)),this.siteSetting=(0,e.WQX)(re.p),this.authState=(0,e.WQX)(Y.H),this.dialogService=(0,e.WQX)(v.o),this.systemMessageService=(0,e.WQX)(c._X),this.openGameInfoUi=(0,e.WQX)(h.eQ,{optional:!0}),this.translocoService=(0,e.WQX)(A.JO),this.openGameUiLoader=(0,e.WQX)(h.Hc),this.environment=(0,e.WQX)(j.n),this.router=(0,e.WQX)(ve.Ix),this.openGameBonusUiLoader=(0,e.WQX)(h.hR),this.bonusService=(0,e.WQX)(se.$),this.forceOpenWithWindowVendorList=(0,e.WQX)(h.BX,{optional:!0}),this.openGameDataChecker=(0,e.WQX)(J,{optional:!0}),this.destroy$=new S.B,this.loginRegisterButtonLoader=(0,e.WQX)(h.Fh,{optional:!0})}checkCannotPlayMessageDialogUiLoader(){return this.loginRegisterButtonLoader?[this.loginRegisterButtonLoader]:void 0}openCannotPlayMessageDialog(){return this.openGameInfoUi?(0,C.H)(this.openGameInfoUi()).pipe((0,x.n)(_e=>this.dialogService.openDialog(_e,{backdropClass:"dialog-backdrop--show"}))).subscribe():this.systemMessageService.show(this.translocoService.translate("ui.open_game.text.please_regist_alert_message"),this.translocoService.translate("ui.global.word.notification"),void 0,this.checkCannotPlayMessageDialogUiLoader()),P.t}shouldForceOpenWithWindow(_e){if(_e.forceOpenGameWithIframe)return!1;const Ge=_e.isDesktop&&this.forceOpenWithWindowVendorList?.map(dt=>dt.toLowerCase()).includes(_e.vendorCode.toLowerCase()),Ve=Ee.V.isIOS()&&this.FORCE_OPEN_WITH_WINDOW_IN_IOS_VENDOR_LIST.some(dt=>dt.toLowerCase()===_e?.vendorCode?.toLowerCase());return Ge||Ve}checkCanOpenGameByIframe(_e){if(_e.forceOpenGameWithIframe)return!0;const Ge=this.siteSetting.get("siteSettingModel").isEnableEmbedGame,Ve=y.Z.getInstanceOf(_e.gameTypeId);if(!Ge||!Ve)return!1;const dt=_e.vendorCode,at=_e.gameCode,ye=this.siteSetting.get("siteSettingModel").gameOpenWindowSetting;let Oe=!0;for(const we of ye)if(!("-1"!==we.gameType&&Ve.name.toLocaleLowerCase()!==we.gameType.toLocaleLowerCase()||"-1"!==we.vendorCode&&dt!==we.vendorCode||"-1"!==we.gameCode&&at!==we.gameCode)){Oe=!1;break}return Oe}handleGlobalExtraDataRule(_e){return _e?.gameTypeId===y.Z.LOTTERY.unique&&"Saba"===_e.vendorCode&&(_e.extraData=_e.gameCode),_e}checkIsDesktopByBrowserDector(_e){return this.environment.isRWD&&void 0===_e.isDesktop&&(_e.isDesktop=!F.U.isMobileBrowser()),_e}openGame(_e,Ge){let Ve=this.handleGlobalExtraDataRule(_e);Ve=this.openGameDataChecker?.checkOpenGameData(Ve)||Ve,Ve=this.checkIsDesktopByBrowserDector(Ve);const dt=this.checkCanOpenGameByIframe(Ve),at=this.shouldForceOpenWithWindow(Ve);if(Ve.canOpenGameByIframe=dt,Ve.forceOpenGameWithWindow=at,dt&&!at)return(0,C.H)(this.openGameUiLoader()).pipe((0,x.n)(ye=>this.dialogService.openDialog(ye,{data:Ve})));{const ye=Ve.gameTypeId||null,Oe=Ve.vendorCode||null,we=Ve.gameCode||null,$e=`${te.C.OPEN_GAME_PAGE.link}/${ye}/${Oe}/${we}`,Ye=new le.o(`${ye}-${Oe}-${we}`);return Ye.postMessage(Ve),Ge?location.href=$e:Ye.open($e),(0,B.of)(Ye)}}checkBonusList(_e,Ge){if(!Ge&&_e.hasTrialPlay)return(0,B.of)($.OPEN_GAME);const Ve=this.siteSetting.get("siteSettingModel").isBonusWallet,dt=this.authState.get("accountInfo").alreadyTurnOnPromotionWallet;return!Ve||dt?(0,B.of)($.OPEN_GAME):this.bonusService.getMatchProviderPromotionWallet(_e.vendorCode).pipe((0,x.n)(ye=>{const Oe=ye.matchPromotionWalletList,we=Oe.filter(ut=>ut.bonusTurnoverStatus===R.k.INACTIVE.unique),Ce=we.length;if(Ce>1)return this.showBonusDialog(we,_e);if(1===Ce){const ut=Oe.find(mt=>mt.bonusTurnoverStatus===R.k.INACTIVE.unique)?.bonusTurnoverId;return this.claimBonusWallet(ut)}return(0,B.of)($.OPEN_GAME)}))}showBonusDialog(_e,Ge){return(0,C.H)(this.openGameBonusUiLoader()).pipe((0,x.n)(Ve=>this.dialogService.openDialog(Ve,{data:{inactiveBonusData:_e,openGameData:Ge}})),(0,x.n)(Ve=>Ve?this.claimBonusWallet(Ve):(0,B.of)($.COMPLETE)))}claimBonusWallet(_e){return this.bonusService.claimBonusWallet(_e).pipe((0,W.T)(Ge=>{if(Ge.status!==T.m.SUCCESS.statusCode)return $.COMPLETE;const Ve=this.authState.get("accountInfo");return Ve.alreadyTurnOnPromotionWallet=!0,this.authState.set("accountInfo",()=>({...Ve})),$.OPEN_GAME}))}openWithOpenGameUrl(_e){const Ve=_e.replace(/\/open-game-link\//g,"").split("/"),dt=Number(Ve[0]);return this.open({gameTypeId:dt,vendorCode:Ve[1],gameCode:Ve[2]})}open(_e,Ge=!1){if(!this.isBrowser)return P.t;const Ve=this.authState.get("isLogin");return Ve?this.checkBonusList(_e,Ve).pipe((0,x.n)(at=>{switch(at){case $.STOP:return P.t;case $.OPEN_GAME:return this.openGame(_e,Ge)}return(0,B.of)(!0)}),(0,ee.Q)(this.destroy$)):this.environment.directlyLoginWhenGameOpened?(this.router.navigateByUrl(te.C.LOGIN.link),(0,B.of)(null)):this.openCannotPlayMessageDialog()}static#e=this.\u0275fac=function(Ge){return new(Ge||ue)};static#t=this.\u0275prov=e.jDH({token:ue,factory:ue.\u0275fac,providedIn:"root"})}return ue})()},15153:(Me,K,o)=>{"use strict";o.d(K,{AJ:()=>v,BX:()=>e,Fh:()=>R,Hc:()=>h,YY:()=>y,eQ:()=>T,hR:()=>c});var u=o(54438);const e=new u.nKC(""),h=new u.nKC("OPEN_GAME_UI_LOADER"),c=new u.nKC("OPEN_GAME_BONUS_UI_LOADER"),v=new u.nKC("TIPS_DISPLAY_LOADER"),y=new u.nKC("IOS_GAME_TIPS_LOADER"),R=new u.nKC("OPEN_GAME_LOGIN_REGISTER_BUTTON_LOADER"),T=new u.nKC("OPEN_GAME_INFO_UI")},29119:(Me,K,o)=>{"use strict";o.d(K,{R:()=>e,t:()=>u});var u=function(h){return h.LEFT_NAV="left-nav",h.LEFT_PROVIDER="left-provider",h.LEFT_PROVIDER_SPORTS="left-provider-sports",h.NAV="nav",h.PROVIDER="provider",h.PROVIDER_SPORTS="provider-sports",h}(u||{}),e=function(h){return h.STANDARD="standard",h.LITE="lite",h}(e||{})},94534:(Me,K,o)=>{"use strict";o.d(K,{X:()=>A});var u=o(60177),e=o(54438),h=o(84412),c=o(21413),v=o(84572),y=o(65245),R=o(88141),T=o(56977);class A{get isLoaded(){return this._isLoaded}set isLoaded(C){this._isLoaded=C,this.isLoaded$.next(C)}constructor(){this.isPlatformBrowser=(0,u.UE)((0,e.WQX)(e.Agw)),this._isLoaded=!1,this.isLoaded$=new h.t(this._isLoaded),this.show$=new h.t(!1),this.enable$=new h.t(!1),this.destroy$=new c.B,this.isPlatformBrowser&&(0,v.z)([this.isLoaded$,this.show$,this.enable$]).pipe((0,y.i)(1),(0,R.M)(([C,x,P])=>{C&&(x&&P?this.onShow():this.onHide())}),(0,T.Q)(this.destroy$)).subscribe()}tryInit(){return this.isPlatformBrowser?this.isLoaded?this.onUpdate():this.onInit():Promise.resolve(!0)}show(){this.isPlatformBrowser&&this.show$.next(!0)}hide(){this.isPlatformBrowser&&this.show$.next(!1)}enable(){this.isPlatformBrowser&&this.tryInit().then(()=>this.enable$.next(!0))}disable(){this.isPlatformBrowser&&this.enable$.next(!1)}destroy(){this.destroy$.next(),this.destroy$.unsubscribe()}}},86953:(Me,K,o)=>{"use strict";o.d(K,{R4:()=>at,qG:()=>ye,wg:()=>dt});var u=o(54438),e=o(51433),h=o(33726),c=o(88141),v=o(56977),y=o(7673),R=o(25558),T=o(91986),A=o(94534),S=o(30617);const C=new u.nKC("CS_TOOL_CONFIG");let x=(()=>{class Oe extends A.X{constructor(){super(...arguments),this.config=(0,u.WQX)(C),this.cstId="cst",this.authState=(0,u.WQX)(e.H),this.siteSetting=(0,u.WQX)(S.p),this.iframe=null,this.checkIframePlayerId=()=>{if(!this.iframe)return Promise.resolve(!0);const Ce=this.getIframeUrl();return this.iframe.src=Ce,Promise.resolve(!0)}}getIframeUrl(){const Ce=this.siteSetting.get("currentCurrencyType")._name,$e=this.authState.get("accountInfo")?.userId||"",Ye=this.authState.get("accountInfo")?.userName||"",ut=this.authState.get("accountInfo")?.email||"",mt=this.siteSetting.get("currentLanguageType").resourceKey;let rn=`${this.config.domain}/client/?settingsId=${Ce}&playerId=${$e}&channel_token=${this.config.token}`;return(Ye||ut)&&(rn+=`&name=${Ye}&email=${ut}`),mt&&(rn+=`&language=${mt}`),console.warn(rn),rn}addIframeToDom(){return this.iframe?Promise.resolve(!0):new Promise((Ce,$e)=>{const Ye=this.config.domain,mt=this.getIframeUrl(),tn=document.createElement("div");tn.setAttribute("id",this.cstId),tn.style.position="fixed",tn.style.zIndex="214748360",tn.style.right="auto",tn.style.bottom="0",tn.style.width="100%";const Vt=document.createElement("iframe");Vt.setAttribute("src",mt),Vt.setAttribute("style","width: 0px; height: 0px"),Vt.onload=()=>{this.iframe=Vt,Ce(!0)},tn.appendChild(Vt),(0,h.R)(window,"message").pipe((0,c.M)(rn=>{const En=rn;if(En.origin!==Ye)return;Vt.setAttribute("style",En.data.style);let un="";En.data.divWidth>0&&(Vt.setAttribute("style","width: 100%; height: 100%;"),un=`width: ${window.innerWidth}px; height: ${window.innerHeight}px; bottom: 0px; right: 0%; left:0%;`),tn.setAttribute("style",`position: fixed; ${1==En.data.positionAlign?"right":"left"}: ${En.data.positionSideSpacing}px; bottom: ${En.data.positionBottomSpacing}px;${un} z-index: 214748360;`)}),(0,v.Q)(this.destroy$)).subscribe(),document.body.appendChild(tn)})}updateIframeSrc(){if(this.iframe){const Ce=this.getIframeUrl();this.iframe.setAttribute("src",Ce)}}onInit(){return new Promise((Ce,$e)=>{(0,y.of)(void 0).pipe((0,R.n)(()=>this.authState.select("isLogin")),(0,T.c)(100),(0,c.M)(Ye=>{this.addIframeToDom().then(this.checkIframePlayerId).then(()=>{this.isLoaded||Ce(this.isLoaded=!0)})}),(0,v.Q)(this.destroy$)).subscribe()})}onUpdate(){return this.updateIframeSrc(),Promise.resolve(!0)}onShow(){Array.from(document.querySelectorAll("div#cst")).forEach($e=>$e.style.display="block")}onHide(){Array.from(document.querySelectorAll("div#cst")).forEach($e=>$e.style.display="none")}static#e=this.\u0275fac=(()=>{let Ce;return function(Ye){return(Ce||(Ce=u.xGo(Oe)))(Ye||Oe)}})();static#t=this.\u0275prov=u.jDH({token:Oe,factory:Oe.\u0275fac})}return Oe})();var P=o(60177),B=o(25180),W=o(84412),ee=o(22806),se=o(70152),Y=o(96354),re=o(78382),ve=o(93166),le=o(345);const Ee=(Oe,we,Ce)=>({"livechat-iframe-block--open":Oe,"is-mobile":we,"is-desktop":Ce});function F(Oe,we){1&Oe&&u.nrm(0,"iframe",5),2&Oe&&u.Y8G("src",we.ngIf,u.f$h)}let j=(()=>{class Oe{constructor(){this.sanitizer=(0,u.WQX)(le.up),this.isMobile=ve.U.isMobileBrowser(),this.isOpen=!1,this.url$=new W.t("")}setUrl(Ce){this.url$.next(this.sanitizer.bypassSecurityTrustResourceUrl(Ce))}onOpen(){this.isOpen=!0}onClose(){this.isOpen=!1}static#e=this.\u0275fac=function($e){return new($e||Oe)};static#t=this.\u0275cmp=u.VBU({type:Oe,selectors:[["ng-component"]],standalone:!0,features:[u.aNF],decls:6,vars:8,consts:[[1,"livechat-iframe-block",3,"ngClass"],["class","livechat-iframe-block_iframe",3,"src",4,"ngIf"],[1,"livechat-iframe-block_close",3,"click"],["color","inherit","viewBox","0 -9 32 32","fill","#000","stroke","none","stroke-width","1","fill-rule","evenodd","direction","down","aria-hidden","true"],["d","M21.3331175,12.2868932 C21.7144399,11.9043689 22.3326857,11.9043689 22.7140082,12.2868932 C23.0953306,12.6694174 23.0953306,13.2896117 22.7140082,13.6721359 L17.1904454,19.2131068 C16.8091229,19.5956311 16.1908771,19.5956311 15.8095546,19.2131068 L10.2859918,13.6721359 C9.90466939,13.2896117 9.90466939,12.6694174 10.2859918,12.2868932 C10.6673143,11.9043689 11.2855601,11.9043689 11.6668825,12.2868932 L16.5,17.1352427 L21.3331175,12.2868932 Z"],[1,"livechat-iframe-block_iframe",3,"src"]],template:function($e,Ye){1&$e&&(u.j41(0,"div",0),u.DNE(1,F,1,1,"iframe",1),u.nI1(2,"async"),u.j41(3,"div",2),u.bIt("click",function(){return Ye.onClose()}),u.qSk(),u.j41(4,"svg",3),u.nrm(5,"path",4),u.k0s()()()),2&$e&&(u.Y8G("ngClass",u.sMw(4,Ee,Ye.isOpen,Ye.isMobile,!Ye.isMobile)),u.R7$(),u.Y8G("ngIf",u.bMT(2,2,Ye.url$)))},dependencies:[P.MD,P.YU,P.bT,P.Jj],styles:[".livechat-iframe-block[_ngcontent-%COMP%]{position:fixed;overflow:hidden;transform-origin:right bottom;background-color:#ffffff80;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);height:0;width:0;bottom:0;right:0;opacity:0;z-index:0;transition:all .3s ease}.livechat-iframe-block_iframe[_ngcontent-%COMP%]{height:100%;width:100%}.livechat-iframe-block_close[_ngcontent-%COMP%]{position:absolute;display:flex;justify-content:center;width:50px;height:50px;left:50%;transform:translate(-50%,-50%);border-radius:0 0 100px 100px;background:#dedede;transition:all .5s ease}.livechat-iframe-block_close[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{width:50px;height:50px}.livechat-iframe-block.is-mobile[_ngcontent-%COMP%] .livechat-iframe-block_close[_ngcontent-%COMP%]{top:-5px}.livechat-iframe-block.is-desktop[_ngcontent-%COMP%]{bottom:40px;right:20px;border-radius:16px}.livechat-iframe-block.is-desktop[_ngcontent-%COMP%] .livechat-iframe-block_close[_ngcontent-%COMP%]{cursor:pointer;top:0}.livechat-iframe-block.is-desktop[_ngcontent-%COMP%] .livechat-iframe-block_close[_ngcontent-%COMP%]:hover{top:4px}.livechat-iframe-block--open[_ngcontent-%COMP%]{opacity:1;z-index:2147483000}.livechat-iframe-block--open.is-mobile[_ngcontent-%COMP%]{height:100%;width:100%}.livechat-iframe-block--open.is-desktop[_ngcontent-%COMP%]{height:714px;width:428px}"]})}return Oe})();const te=new u.nKC("LIVECHAT_CONFIG");let J=(()=>{class Oe extends A.X{constructor(){super(...arguments),this.applicationRef=(0,u.WQX)(u.o8S),this.injector=(0,u.WQX)(u.zZn),this.livechatState=(0,u.WQX)(re.Fu),this.config=(0,u.WQX)(te),this.siteSettingState=(0,u.WQX)(S.p),this.isGreetingLoaded$=new W.t(!1)}getRootViewContainer(){if(this.container)return this.container;const Ce=this.applicationRef.components;if(Ce.length)return Ce[0];throw new Error("View Container not found! ngUpgrade needs to manually set this via setRootViewContainer.")}setRootViewContainer(Ce){this.container=Ce}projectComponentInputs(Ce,$e){if($e){const Ye=Object.getOwnPropertyNames($e);for(const ut of Ye)Ce.setInput(ut,$e[ut])}return Ce}appendComponent(Ce,$e={}){const ut=this.applicationRef.components[0].injector.get(u.c1b).createComponent(Ce,{injector:this.injector});return this.projectComponentInputs(ut,$e),ut}getLiveChatWidgetComponent(){return(0,ee.H)(o.e(5836).then(o.bind(o,25836)).then(Ce=>Ce.LiveChatWidgetComponent))}onInit(){return new Promise((Ce,$e)=>{const Ye=this.getConfigUrl(this.config.openLink);if(this.config.openLink&&Ye)return void console.warn(`LiveChatService: setting of the open link is [${Ye}];`);const ut=this.getConfigUrl(this.config.openIframe);if(this.config.openIframe&&ut){this.iframeComponentRef&&this.iframeComponentRef.destroy(),this.iframeComponentRef=this.appendComponent(j);const mt=this.getConfigUrl(this.config.openIframe);return this.iframeComponentRef.instance?.setUrl(mt),void console.warn(`LiveChatService: setting of the iframe link is [${ut}];`)}this.siteSettingState.select("currentCurrencyType").pipe((0,se.B)(100),(0,R.n)(mt=>this.getLiveChatWidgetComponent().pipe((0,Y.T)(tn=>({currentCurrencyType:mt,thirdPartyComponent:tn})))),(0,c.M)(mt=>{const tn=this.getSettingByCurrency(mt.currentCurrencyType.unique);this.componentRef?.instance&&this.componentRef.destroy(),this.componentRef=this.appendComponent(mt.thirdPartyComponent,{group:tn.group,license:tn.license,visibility:"hidden"})}),(0,v.Q)(this.destroy$)).subscribe(()=>{setTimeout(()=>{this.componentRef.instance.onReady.pipe((0,c.M)(mt=>{Ce(this.isLoaded=!0),Ce(this.isGreetingLoaded$.next(!0))}),(0,v.Q)(this.destroy$)).subscribe(),this.componentRef?.instance?.onVisibilityChanged.pipe((0,c.M)(mt=>{this.livechatState.set({open:{status:"maximized"===mt.visibility,sourceFrom:re.IZ.LIVE_CHAT}})}),(0,v.Q)(this.destroy$)).subscribe()},0)})})}onUpdate(){return Promise.resolve(!0)}getSettingByCurrency(Ce=0){let $e=JSON.parse(JSON.stringify(this.config));const Ye=$e.currencyMapping||[];return delete $e.currencyMapping,Ce&&(Ye[Ce]?($e=Object.assign($e,Ye[Ce]),console.warn(`LiveChatService: setting of currency type id [${Ce}] is found;`,$e)):console.warn(`LiveChatService: cannot find setting of currency type id [${Ce}], use default setting instead;`,$e)),$e}onShow(){this.componentRef?.instance?.widget?.updateVisibility("1"===this.config.version?"maximized":"minimized")}onMaximized(){this.componentRef?.instance?.widget?.updateVisibility("maximized")}onHide(){this.componentRef?.instance?.widget?.updateVisibility("hidden")}onOpen(){const Ce=this.getConfigUrl(this.config.openLink);if(this.config.openLink&&Ce)return void this.openByWindow();const $e=this.getConfigUrl(this.config.openIframe);this.config.openIframe&&$e?this.openByIframe():this.onMaximized()}openByWindow(){const Ce=this.getConfigUrl(this.config.openLink);Ce&&window.open(Ce,"_blank")}openByIframe(){this.iframeComponentRef.instance?.onOpen()}getConfigUrl(Ce){const $e=this.getCurrentCurrencyType();return Ce?.[$e.unique]||""}getCurrentCurrencyType(){return this.siteSettingState.get("currentCurrencyType")}static#e=this.\u0275fac=(()=>{let Ce;return function(Ye){return(Ce||(Ce=u.xGo(Oe)))(Ye||Oe)}})();static#t=this.\u0275prov=u.jDH({token:Oe,factory:Oe.\u0275fac})}return Oe})();var $=o(21413),ce=o(23294),ue=o(95407);const Te=new u.nKC("TAWK_CONFIG");let _e=(()=>{class Oe extends A.X{constructor(){super(...arguments),this.config=(0,u.WQX)(Te)}get api(){return window.$_Tawk}onInit(){return this.addScriptToDom()}addScriptToDom(){return new Promise((Ce,$e)=>{const Ye=document,ut=Ye.createElement("script");ut.id="TawkScript",ut.async=!0,ut.src=`https://embed.tawk.to/${this.config.id}/default`,ut.addEventListener("load",()=>Ce(this.isLoaded=!0)),ut.addEventListener("error",()=>$e(!1)),Ye.head.insertBefore(ut,Ye.head.firstChild)})}onUpdate(){return Promise.resolve(!0)}onShow(){this.api?.showWidget?.()}onHide(){this.api?.hideWidget?.()}static#e=this.\u0275fac=(()=>{let Ce;return function(Ye){return(Ce||(Ce=u.xGo(Oe)))(Ye||Oe)}})();static#t=this.\u0275prov=u.jDH({token:Oe,factory:Oe.\u0275fac})}return Oe})();const Ge=new u.nKC("LIVE_AGENT_CONFIG");let Ve=(()=>{class Oe extends A.X{constructor(){super(...arguments),this.config=(0,u.WQX)(Ge)}get api(){return window.LiveAgent}onInit(){return this.addScriptToDom()}onUpdate(){return Promise.resolve(!0)}addScriptToDom(){return new Promise((Ce,$e)=>{const Ye=document,ut=document.scripts[document.scripts.length-1],mt=Ye.createElement("script");mt.id=this.config.id,mt.async=!0,mt.src=`${this.config.host}/scripts/track.js`,mt.addEventListener("load",tn=>{try{return this.api.createButton(this.config.button,mt),Ce(this.isLoaded=!0)}catch(Vt){return console.error("LiveAgentService.init(), create button error."),$e(Vt)}}),mt.addEventListener("error",tn=>$e("LiveAgentService.init(), load script error.")),ut.parentElement.insertBefore(mt,ut.nextSibling)})}onShow(){Array.from(this.api.instance?.elements||[]).forEach(([Ce,$e])=>{const Ye=document.getElementById($e.elementId);Ye&&(Ye.style.display="block")})}onHide(){Array.from(this.api.instance?.elements||[]).forEach(([Ce,$e])=>{const Ye=document.getElementById($e.elementId);Ye&&(Ye.style.display="none")})}static#e=this.\u0275fac=(()=>{let Ce;return function(Ye){return(Ce||(Ce=u.xGo(Oe)))(Ye||Oe)}})();static#t=this.\u0275prov=u.jDH({token:Oe,factory:Oe.\u0275fac})}return Oe})();function dt(Oe){switch(Oe){case"CSTool":return{configToken:C,serviceType:x};case"Intercom":return{configToken:B.Fu,serviceType:B.lS};case"LiveAgent":return{configToken:Ge,serviceType:Ve};case"Livechat":return{configToken:te,serviceType:J};case"Tawk":return{configToken:Te,serviceType:_e};default:return null}}const at=new u.nKC("LIVE_CHAT_CONFIG");let ye=(()=>{class Oe{constructor(){this.injector=(0,u.WQX)(u.zZn),this.isPlatformBrowser=(0,P.UE)((0,u.WQX)(u.Agw)),this.config=(0,u.WQX)(at),this.appStateService=(0,u.WQX)(ue.i),this.siteSetting=(0,u.WQX)(S.p),this.servicesTypeMap=new Map,this.currencyServicesMap=new Map,this.allServices=[],this.currentServices=[],this.inited=!1,this.destroy$=new $.B}initServices(){const Ce=(Ye,ut)=>{const mt=dt(Ye);if(!mt)return;const tn=mt.serviceType,Vt=this.injector.get(tn);if(this.servicesTypeMap.set(tn,Vt),ut){const rn=this.currencyServicesMap.get(ut)||new Set;rn.add(tn),this.currencyServicesMap.set(ut,rn)}};Object.keys(this.config||{}).forEach(Ye=>{Ce(Ye)});const $e=this.config.currencyMapping;$e&&Object.keys($e||{}).forEach(Ye=>{const ut=+Ye;Object.keys($e[ut]||{}).forEach(tn=>{Ce(tn,ut)})}),this.allServices=Array.from(this.servicesTypeMap).reduce((Ye,[ut,mt])=>(Ye.push(mt),Ye),[])}getServicesByCurrencyTypeId(Ce){const $e=[];if(!Ce)return $e;const Ye=this.currencyServicesMap.get(Ce);if(Ye?.size)return Ye.forEach(mt=>{const tn=this.servicesTypeMap.get(mt);tn&&$e.push(tn)}),$e;const ut=Array.from(this.currencyServicesMap).reduce((mt,tn)=>new Set([...mt,...tn[1]]),new Set);return this.servicesTypeMap.forEach((mt,tn)=>{ut.has(tn)||$e.push(mt)}),$e}init(Ce){this.isPlatformBrowser&&(this.inited||(this.initServices(),this.observeShouldHideExternalUI(),this.observeCurrencyChange(),Ce.onDestroy(()=>{this.destroy$.next(),this.destroy$.unsubscribe(),this.execServices(this.allServices,"destroy")}),this.inited=!0))}execServices(Ce,$e){return Ce.forEach(Ye=>{try{Ye[$e]()}catch(ut){console.error(ut)}}),Promise.resolve(!0)}observeCurrencyChange(){this.siteSetting.select("currentCurrencyType").pipe((0,ce.F)((Ce,$e)=>Ce.unique===$e.unique),(0,se.B)(250),(0,c.M)(()=>{const Ce=this.siteSetting.get("currentCurrencyType");this.currentServices=this.getServicesByCurrencyTypeId(Ce?.unique);const $e=this.allServices.filter(Ye=>this.currentServices.indexOf(Ye)<0);this.execServices($e,"disable"),this.execServices(this.currentServices,"enable")}),(0,v.Q)(this.destroy$)).subscribe()}observeShouldHideExternalUI(){this.appStateService.on("shouldHideExternalUI").pipe((0,c.M)(Ce=>{this.execServices(this.allServices,Ce?"hide":"show")}),(0,v.Q)(this.destroy$)).subscribe()}getService(Ce){const $e=dt(Ce)?.serviceType;return $e?this.servicesTypeMap.get($e):null}show(){this.appStateService.set("shouldHideExternalUI",!1)}hide(){this.appStateService.set("shouldHideExternalUI",!0)}static#e=this.\u0275fac=function($e){return new($e||Oe)};static#t=this.\u0275prov=u.jDH({token:Oe,factory:Oe.\u0275fac})}return Oe})()},25180:(Me,K,o)=>{"use strict";o.d(K,{Fu:()=>ve,Sg:()=>le,lS:()=>Ee});var u=o(54438),e=o(51433),h=o(30617),c=o(39962),v=o(78748),y=o(21413),R=o(7673),T=o(25558),A=o(84572),S=o(70152),C=o(91986),x=o(96697),P=o(88141),B=o(56977),W=o(94534),ee=o(78382),se=o(94768),Y=o(83306),re=o(74779);const ve=new u.nKC("INTERCOM_CONFIG"),le=new u.nKC("INTERCOM_STATE",{providedIn:"root",factory:()=>{const F=new se.Y;return F.set({unreadCount:0}),F}});let Ee=(()=>{class F extends W.X{constructor(){super(...arguments),this.config=(0,u.WQX)(ve),this.intercomState=(0,u.WQX)(le),this.livechatState=(0,u.WQX)(ee.Fu),this.authState=(0,u.WQX)(e.H),this.siteSettingState=(0,u.WQX)(h.p),this.userService=(0,u.WQX)(c.D),this.intercom=(0,u.WQX)(v.C7),this.intercomWindowOnVisibilityChange$=new y.B,this.isHideIntercomPhoneNumber=(0,u.WQX)(ee.Nr,{optional:!0}),this.defaultApiBase="https://api-iam.intercom.io"}onInit(){return new Promise((te,J)=>{(0,R.of)(void 0).pipe((0,T.n)(()=>(0,A.z)([this.authState.select("isLogin"),this.siteSettingState.select("currentCurrencyType")])),(0,S.B)(100),(0,T.n)(([$,ce])=>{this.intercom.shutdown();const ue=this.getSettingByCurrency(ce.unique);return this.intercom.boot({app_id:ue.appId,api_base:ue.apiBase,custom_launcher_selector:'[name="liveChatBtn"]'+(ue.custom_launcher_selector?`, ${ue.custom_launcher_selector}`:""),hide_default_launcher:!!ue.hide_default_launcher}),this.intercom.onUnreadCountChange(Te=>{this.intercomState.set({unreadCount:Te})}),this.intercom.onShow(()=>{this.livechatState.set({open:{status:!0,sourceFrom:ee.IZ.INTERCOM}})}),this.intercom.onHide(()=>{this.livechatState.set({open:{status:!1,sourceFrom:ee.IZ.INTERCOM}})}),$?(0,R.of)(void 0).pipe((0,C.c)(100),(0,T.n)(()=>this.authState.select("accountInfo")),(0,x.s)(1),(0,P.M)(Te=>{this.intercom.update({user_id:Te.userId,name:Te.userId,email:Te.email,created_at:Te.signUpTimestamp,user_hash:ue.secretKey?this.getUserHash(Te.userId,ue.secretKey):Te.userHash,phone:this.isHideIntercomPhoneNumber?"":`+${Te.callingCode}${Te.phoneNumber}`})})):(0,R.of)(void 0)}),(0,B.Q)(this.destroy$)).subscribe(),te(this.isLoaded=!0)})}onUpdate(){return Promise.resolve(!0)}getUserHash(te,J){return Y(te.toString(),J).toString(re)}getSettingByCurrency(te=0){let J=JSON.parse(JSON.stringify(this.config));J.apiBase=J.apiBase||this.defaultApiBase;const $=J.currencyMapping||[];return delete J.currencyMapping,te&&($[te]?(J=Object.assign(J,$[te]),console.warn(`IntercomService: setting of currency type id [${te}] is found;`,J)):console.warn(`IntercomService: cannot find setting of currency type id [${te}], use default setting instead;`,J)),J}onShow(){Array.from(document.querySelectorAll("div.intercom-lightweight-app")).forEach(J=>J.style.display="block")}onHide(){Array.from(document.querySelectorAll("div.intercom-lightweight-app")).forEach(J=>J.style.display="none")}static#e=this.\u0275fac=(()=>{let te;return function($){return(te||(te=u.xGo(F)))($||F)}})();static#t=this.\u0275prov=u.jDH({token:F,factory:F.\u0275fac})}return F})()},57610:(Me,K,o)=>{"use strict";o.d(K,{O:()=>e,b:()=>u});class u{constructor(c,v){this.name=c,this._name=c,this._parent=v}get value(){const c=this._parent,v=this._name;return c?`${v}|${c.value}`:v}}function e(h){return new h}},48544:(Me,K,o)=>{"use strict";o.d(K,{Z:()=>C});var u=o(57610);class e extends u.b{constructor(P){super("PROMOTION_BANNER",P)}}class h extends u.b{constructor(P){super("GAME_NAVBAR",P)}}class c extends u.b{constructor(P){super("SPORT_SLIDER",P)}}class v extends u.b{constructor(P){super("TOP_BANNER",P)}}class y extends u.b{constructor(P){super("FOOTER_LINK",P)}}class R extends u.b{constructor(P){super("FOOTER_BAR",P)}}class T extends u.b{constructor(P){super("GAME_PROVIDER",P)}}class A extends u.b{constructor(P){super("MINI_GAMES",P)}}class S extends u.b{constructor(P){super("QUICK_GAME",P)}}class C extends u.b{constructor(P){super("HOME_PAGE",P),this.PromotionBanner=new e(this),this.GameNavBar=new h(this),this.SportSlider=new c(this),this.TopBanner=new v(this),this.FooterLink=new y(this),this.FooterBar=new R(this),this.GameProvider=new T(this),this.MiniGame=new A(this),this.QuickGame=new S(this)}}},48610:(Me,K,o)=>{"use strict";o.d(K,{d:()=>y});var u=o(12564),e=o(81042),h=o(54438),c=o(20753);let v=(()=>{class R{constructor(){this.customEnvironment=(0,h.WQX)(c.n),this.eventQueueService=(0,h.WQX)(e.n)}sendEvent(A){if(this.customEnvironment.customNeuAEvent){if(this.action)return void this.eventQueueService.dispatch(new u.W(A,{category:this.category||"",action:this.action}));this.eventQueueService.dispatch(new u.W(A,{category:this.category||"",action:{type:A,title:this.title||""}}))}}static#e=this.\u0275fac=function(S){return new(S||R)};static#t=this.\u0275dir=h.FsC({type:R,inputs:{title:"title",category:"category",action:"action"}})}return R})(),y=(()=>{class R extends v{onClick(){super.sendEvent(u.t.CLICK)}static#e=this.\u0275fac=(()=>{let A;return function(C){return(A||(A=h.xGo(R)))(C||R)}})();static#t=this.\u0275dir=h.FsC({type:R,selectors:[["","drcNeuAClick",""]],hostBindings:function(S,C){1&S&&h.bIt("click",function(){return C.onClick()})},features:[h.Vt3]})}return R})()},85571:(Me,K,o)=>{"use strict";o.d(K,{E:()=>h});var u=o(60177),e=o(54438);let h=(()=>{class c{static#e=this.\u0275fac=function(R){return new(R||c)};static#t=this.\u0275mod=e.$C({type:c});static#n=this.\u0275inj=e.G2t({imports:[u.MD]})}return c})()},12564:(Me,K,o)=>{"use strict";o.d(K,{W:()=>h,t:()=>e});var u=o(68300),e=function(c){return c.CLICK="click",c.EXPOSURE="exposure",c}(e||{});class h extends u.w{constructor(v,y){super(v,y)}}},71769:(Me,K,o)=>{"use strict";o.d(K,{L:()=>R});var u=o(60177),e=o(51188),v=(o(46644),o(94846),o(54438));let R=(()=>{class T{static#e=this.\u0275fac=function(C){return new(C||T)};static#t=this.\u0275mod=v.$C({type:T});static#n=this.\u0275inj=v.G2t({imports:[u.MD,e.iI]})}return T})()},46644:(Me,K,o)=>{"use strict";o.d(K,{g:()=>S});var u=o(60177),e=o(54438),h=o(89079),c=o(51188),v=o(21413),y=o(57786),R=o(5964),T=o(91986),A=o(88141);let S=(()=>{class C{constructor(){this.viewContainerRef=(0,e.WQX)(e.c1b),this.routerLink=(0,e.WQX)(c.Wk),this.destroyRef=(0,e.WQX)(e.abz),this.router=(0,e.WQX)(c.Ix),this.checkActive$=new v.B,this.isBrowser=(0,u.UE)((0,e.WQX)(e.Agw)),this.location=(0,e.WQX)(u.aZ),this.routerLinkActive=""}ngOnInit(){this.isBrowser&&((0,y.h)(this.checkActive$,this.router.events.pipe((0,R.p)(P=>P instanceof c.wF))).pipe((0,T.c)(0),(0,A.M)(()=>{const P=this.location.path(!0),W=(this.routerLink.commands||[])[0]||"";if(!W)return;const ee=this.viewContainerRef.element.nativeElement,se=("string"==typeof this.routerLinkActive?[this.routerLinkActive]:this.routerLinkActive).filter(Y=>!!Y);P.includes(W)?se.forEach(Y=>{ee?.classList.add(Y)}):se.forEach(Y=>{ee?.classList.remove(Y)})}),(0,h.pQ)(this.destroyRef),(0,T.c)(1230)).subscribe(),this.checkActive$.next(void 0))}static#e=this.\u0275fac=function(B){return new(B||C)};static#t=this.\u0275dir=e.FsC({type:C,selectors:[["","routerLinkActive","","routerLink",""]],inputs:{routerLinkActive:"routerLinkActive"}})}return C})()},94846:(Me,K,o)=>{"use strict";o.d(K,{T:()=>A});var u=o(60177),e=o(54438),h=o(89079),c=o(51188),v=o(21413),y=o(57786),R=o(5964),T=o(88141);let A=(()=>{class S{constructor(){this.element=(0,e.WQX)(e.aKT),this.destroyRef=(0,e.WQX)(e.abz),this.router=(0,e.WQX)(c.Ix),this.init$=new v.B,this.isBrowser=(0,u.UE)((0,e.WQX)(e.Agw)),this.addClassName="",this.drcTabUrl=""}ngOnInit(){console.log(this.addClassName),console.log(this.drcTabUrl),this.isBrowser&&((0,y.h)(this.init$,this.router.events.pipe((0,R.p)(x=>x instanceof c.wF))).pipe((0,T.M)(()=>{const x=this.element.nativeElement,P=("string"==typeof this.addClassName?[this.addClassName]:this.addClassName).filter(ee=>!!ee);this.router.url.replace(/(.*)(\(popup:)(.*)(\))/i,"$1/$3")===this.drcTabUrl?x.classList.add(...P):x.classList.remove(...P)}),(0,h.pQ)(this.destroyRef)).subscribe(),this.init$.next(void 0))}static#e=this.\u0275fac=function(P){return new(P||S)};static#t=this.\u0275dir=e.FsC({type:S,selectors:[["","drcTabLinkActive",""]],inputs:{addClassName:[e.Mj6.None,"drcTabLinkActive","addClassName"],drcTabUrl:"drcTabUrl"}})}return S})()},60328:(Me,K,o)=>{"use strict";o.d(K,{D:()=>c,E:()=>h});var u=o(54438),e=o(94768);const h=new u.nKC("UI_CONFIG"),c=new u.nKC("UI_STATE",{providedIn:"root",factory:()=>new e.Y})},75853:(Me,K,o)=>{"use strict";o.d(K,{s:()=>e,x:()=>h});var u=o(54438);const e=new u.nKC("DEPOSIT_CONFIG");let h=(()=>{class c{constructor(){this.depositConfig=(0,u.WQX)(e,{optional:!0})}static#e=this.\u0275fac=function(R){return new(R||c)};static#t=this.\u0275dir=u.FsC({type:c})}return c})()},94072:(Me,K,o)=>{"use strict";o.d(K,{$:()=>R,r:()=>T});var u=o(54438),e=o(77183),h=o(78382),c=o(7673),v=o(35060),y=o(79336);const R=new u.nKC("OPEN_GAME_CONFIG");let T=(()=>{class A extends e.u{constructor(){super(...arguments),this.openGameConfig=(0,u.WQX)(R,{optional:!0}),this.CAN_CLOSE_ON_BUSY_DELAY_TIME=h.yr.MINUTE,this.canCloseOnBusy=!1,this.handleBusy=C=>this.openGameConfig?.fakeLoadingOnBusy&&C?.status===y.m.OPEN_GAME_ERROR.statusCode?(setTimeout(()=>{this.canCloseOnBusy=!0},this.CAN_CLOSE_ON_BUSY_DELAY_TIME),v.t):(0,c.of)(C)}close(){super.close()}closeOnBusy(){this.canCloseOnBusy&&this.close()}static#e=this.\u0275fac=(()=>{let C;return function(P){return(C||(C=u.xGo(A)))(P||A)}})();static#t=this.\u0275dir=u.FsC({type:A,features:[u.Vt3]})}return A})()},44634:(Me,K,o)=>{"use strict";o.d(K,{p:()=>e});const e=new(o(54438).nKC)("DEFAULT_ICON_LINK")},66980:(Me,K,o)=>{"use strict";o.d(K,{h:()=>u});class u{constructor(){this.IMG_CALENDAR_ICON="/assets/images/icon-set/icon-calendar-type01.svg",this.IMG_SEARCH_ARROW="/assets/images/icon-set/icon-arrow-type09.svg",this.IMG_SEARCH_ICON="/assets/images/icon-set/icon-search-type02.svg",this.IMG_FILTER_ICON="/assets/images/icon-set/index-theme-icon/games-filter-icon.svg",this.IMG_HEADER_SERVICE_ICON="/assets/images/icon-set/index-theme-icon/header-service-icon.svg",this.IMG_HEADER_FORUM_ICON="/assets/images/icon-set/index-theme-icon/header-forum-icon.svg",this.IMG_HEADER_LOGOUT_ICON="/assets/images/icon-set/index-theme-icon/header-logout-icon.svg",this.IMG_HEADER_APPDOWNLOAD_ICON="/assets/images/icon-set/index-theme-icon/header-appdownload-icon.svg",this.IMG_HEADER_INDEX_ICON="/assets/images/icon-set/index-theme-icon/header-inbox-icon.svg",this.IMG_HEADER_WHATSAPP="/assets/images/icon-set/index-theme-icon/header-whatsapp.svg",this.IMG_HEADER_SCHEDULE="/assets/images/icon-set/index-theme-icon/header-schedule-icon.svg",this.IMG_HEADER_LIVE="",this.IMG_ANNOUNVEMENT_ICON="/assets/images/icon-set/index-theme-icon/index-announcement-icon.svg",this.IMG_ANNOUNVEMENT_TITLE_V_2="/assets/images/icon-set/index-theme-icon/index-announcement-title.svg",this.NAV_ICON_EXCLUSIVE="/assets/images/icon-set/theme-icon/icon-exclusive.png",this.NAV_ICON_SPORT="/assets/images/icon-set/theme-icon/icon-sport.png",this.NAV_ICON_CASINO="/assets/images/icon-set/theme-icon/icon-casino.png",this.NAV_ICON_SLOT="/assets/images/icon-set/theme-icon/icon-slot.png",this.NAV_ICON_TABLE="/assets/images/icon-set/theme-icon/icon-table.png",this.NAV_ICON_LOTTERY="/assets/images/icon-set/theme-icon/icon-lottery.png",this.NAV_ICON_FISH="/assets/images/icon-set/theme-icon/icon-fish.png",this.NAV_ICON_ARCADE="/assets/images/icon-set/theme-icon/icon-arcade.png",this.NAV_ICON_CARD="/assets/images/icon-set/theme-icon/icon-card.png",this.NAV_ICON_OTHER="/assets/images/icon-set/theme-icon/icon-other.png",this.NAV_ICON_RAIN="/assets/images/icon-set/theme-icon/icon-rain.png",this.NAV_ICON_CRASH="/assets/images/icon-set/theme-icon/icon-crash.png",this.NAV_ICON_ESPORT="/assets/images/icon-set/theme-icon/icon-esport.png",this.NAV_ICON_COCKFIGHTING="/assets/images/icon-set/theme-icon/icon-cockfighting.png",this.NAV_SECOND_ICON_ALL_PROVIDER="/assets/images/icon-set/icon-all-provider.svg",this.NAV_SECOND_ICON_EXCHANGE="/assets/images/icon-set/sports-icon/icon-exchange.svg",this.NAV_SECOND_ICON_SPORTBOOK="/assets/images/icon-set/sports-icon/icon-sportbook.svg",this.NAV_SECOND_ICON_KABADDI="/assets/images/icon-set/sports-icon/icon-kabaddi.svg",this.NAV_SECOND_ICON_VIRTUAL="/assets/images/icon-set/sports-icon/icon-virtual.svg",this.NAV_SECOND_ICON_LOTTERY="/assets/images/icon-set/sports-icon/icon-lottery.svg",this.NAV_SECOND_ICON_CRICKET="/assets/images/icon-set/sports-icon/icon-cricket.svg",this.NAV_SECOND_ICON_SOCCER="/assets/images/icon-set/sports-icon/icon-soccer.svg",this.NAV_SECOND_ICON_TENNIS="/assets/images/icon-set/sports-icon/icon-tennis.svg",this.NAV_SECOND_ICON_BASKETBALL="/assets/images/icon-set/sports-icon/icon-basketball.svg",this.NAV_SECOND_ICON_RUGBYUNION="/assets/images/icon-set/sports-icon/icon-rugbyunion.svg",this.NAV_SECOND_ICON_HORSERACING="/assets/images/icon-set/sports-icon/icon-horseracing.svg",this.NAV_SECOND_ICON_GREYHOUNDRACING="/assets/images/icon-set/sports-icon/icon-greyhound.svg",this.NAV_SECOND_ICON_BADMINTON="/assets/images/icon-set/sports-icon/icon-badminton.svg",this.NAV_SECOND_ICON_UGV3="/assets/images/icon-set/sports-icon/icon-ugv3.svg",this.NAV_SECOND_ICON_HORSEBOOK="/assets/images/icon-set/sports-icon/icon-horsebook.svg",this.NAV_SECOND_ICON_SBO="/assets/images/icon-set/sports-icon/icon-sbov2.svg",this.NAV_SECOND_ICON_SV_388="/assets/images/icon-set/sports-icon/icon-sv388.svg",this.NAV_SECOND_ICON_ICF="/assets/images/icon-set/sports-icon/icon-icf.svg",this.NAV_SECOND_ICON_AWCMBC="/assets/images/icon-set/sports-icon/icon-awcmbc.svg",this.NAV_SECOND_ICON_CTB="/assets/images/icon-set/sports-icon/icon-ctb.svg",this.NAV_SECOND_ICON_POWERELEVENV2="/assets/images/icon-set/sports-icon/icon-powerelevenv2.svg",this.NAV_SECOND_ICON_HORSEDOG="/assets/images/icon-set/sports-icon/icon-horsedog.svg",this.NAV_SECOND_ICON_AWCME1SPORT="/assets/images/icon-set/sports-icon/icon-awcme1sport.svg",this.NAV_SECOND_ICON_SBTECH="/assets/images/icon-set/sports-icon/icon-sbtech.svg",this.NAV_SECOND_ICON_NST="/assets/images/icon-set/sports-icon/icon-nst.svg",this.NAV_SECOND_ICON_CMD="/assets/images/icon-set/sports-icon/icon-cmd.svg",this.NAV_SECOND_ICON_AWCMPINNACLE="/assets/images/icon-set/sports-icon/icon-awcmpinnacle.svg",this.NAV_SECOND_ICON_RWB="/assets/images/icon-set/sports-icon/icon-rwb.svg",this.SIDENAV_ICON_HOME="/assets/images/icon-set/theme-icon/icon-home.png",this.SIDENAV_ICON_EXCLUSIVE="/assets/images/icon-set/theme-icon/icon-exclusive.png",this.SIDENAV_ICON_SPORT="/assets/images/icon-set/theme-icon/icon-sport.png",this.SIDENAV_ICON_CASINO="/assets/images/icon-set/theme-icon/icon-casino.png",this.SIDENAV_ICON_SLOT="/assets/images/icon-set/theme-icon/icon-slot.png",this.SIDENAV_ICON_TABLE="/assets/images/icon-set/theme-icon/icon-table.png",this.SIDENAV_ICON_LOTTERY="/assets/images/icon-set/theme-icon/icon-lottery.png",this.SIDENAV_ICON_FISH="/assets/images/icon-set/theme-icon/icon-fish.png",this.SIDENAV_ICON_ARCADE="/assets/images/icon-set/theme-icon/icon-arcade.png",this.SIDENAV_ICON_CARD="/assets/images/icon-set/theme-icon/icon-card.png",this.SIDENAV_ICON_OTHER="/assets/images/icon-set/theme-icon/icon-other.png",this.SIDENAV_ICON_RAIN="/assets/images/icon-set/theme-icon/icon-rain.png",this.SIDENAV_ICON_CRASH="/assets/images/icon-set/theme-icon/icon-crash.png",this.SIDENAV_ICON_ESPORT="/assets/images/icon-set/theme-icon/icon-esport.png",this.SIDENAV_ICON_COCKFIGHTING="/assets/images/icon-set/theme-icon/icon-cockfighting.png",this.SIDENAV_ICON_HUNDREDS="/assets/images/icon-set/theme-icon/icon-hundreds.png",this.SIDENAV_ICON_REFERRAL="/assets/images/icon-set/theme-icon/icon-referral.png",this.SIDENAV_ICON_REFERRAL_REMINDER_ICON="/assets/images/referral-program/icon-receive.png",this.SIDENAV_ICON_VIP="/assets/images/icon-set/theme-icon/icon-vip.png",this.SIDENAV_ICON_DOWNLOAD="/assets/images/icon-set/theme-icon/icon-download.png",this.SIDENAV_ICON_PROMOTION="/assets/images/icon-set/theme-icon/icon-promotion.png",this.SIDENAV_ICON_SOCIAL_MEDIA="/assets/images/icon-set/theme-icon/icon-social-media.png",this.SIDENAV_ICON_SPONSORSHIP="/assets/images/icon-set/theme-icon/icon-sponsorship.png",this.SIDENAV_ICON_LEADERBOARD="/assets/images/icon-set/theme-icon/icon-leaderboard.png",this.SIDENAV_ICON_RESPONSIBLE_GAMING="/assets/images/icon-set/theme-icon/icon-responsible-gaming.png",this.SIDENAV_ICON_TG_SUPPORT="/assets/images/icon-set/theme-icon/icon-telegram.png",this.SIDENAV_ICON_BLOG="/assets/images/icon-set/theme-icon/icon-crickex-blog.png",this.SIDENAV_ICON_ABOUT_US="/assets/images/icon-set/theme-icon/icon-about-us.png",this.SIDENAV_ICON_FAQ="/assets/images/icon-set/theme-icon/icon-faq.png",this.SIDENAV_ICON_AFFILIATE="/assets/images/icon-set/theme-icon/icon-affiliate.png",this.SIDENAV_ICON_AMBASSADOR="/assets/images/icon-set/menu/icon-ambassador.png",this.SIDENAV_ICON_PARTNERSHIPS="/assets/images/icon-set/theme-icon/icon-partnerships.png",this.SIDENAV_ICON_SERVICE_TALK="/assets/images/icon-set/theme-icon/icon-talk.png",this.SIDENAV_ICON_SERVICE_FORUM="/assets/images/icon-set/theme-icon/icon-forum.png",this.MEMBER_CENTER_ICON_DEPOSIT="/assets/images/icon-set/theme-icon/icon-deposit.png",this.MEMBER_CENTER_ICON_WITHDRAWAL="/assets/images/icon-set/theme-icon/icon-withdrawal.png",this.MEMBER_CENTER_ICON_TRANSFER="/assets/images/icon-set/theme-icon/icon-transfer.png",this.MEMBER_CENTER_ICON_BET_RECORDS="/assets/images/icon-set/theme-icon/icon-bet-records.png",this.MEMBER_CENTER_ICON_TURNOVER="/assets/images/icon-set/theme-icon/icon-turnover.png",this.MEMBER_CENTER_ICON_BONUSES="/assets/images/icon-set/theme-icon/icon-bonuses.png",this.MEMBER_CENTER_ICON_RECORDS="/assets/images/icon-set/theme-icon/icon-records.png",this.MEMBER_CENTER_ICON_PROFILE="/assets/images/icon-set/theme-icon/icon-profile.png",this.MEMBER_CENTER_ICON_INBOX="/assets/images/icon-set/theme-icon/icon-inbox.png",this.MEMBER_CENTER_ICON_REFERRAL="/assets/images/icon-set/theme-icon/icon-referral.png",this.MEMBER_CENTER_ICON_REFERRAL_ACHIEVEMENT_BONUS="",this.MEMBER_CENTER_ICON_REFERRAL_DETAILS="",this.MEMBER_CENTER_ICON_REFERRAL_INVITE_FRIEND="",this.MEMBER_CENTER_ICON_REFERRAL_REBATE_BONUS="",this.MEMBER_CENTER_ICON_KYC="/assets/images/icon-set/theme-icon/icon-kyc.png",this.MEMBER_CENTER_ICON_SETTING="/assets/images/icon-set/theme-icon/icon-setting.png",this.MEMBER_CENTER_ICON_RESETPASSWORDS="/assets/images/icon-set/theme-icon/icon-resetpasswords.png",this.MEMBER_CENTER_ICON_BIOMETRIC="/assets/images/icon-set/theme-icon/icon-biometric.png",this.MEMBER_CENTER_ICON_GIFT="/assets/images/icon-set/theme-icon/icon-gift.png",this.MEMBER_CENTER_ICON_VIP="/assets/images/icon-set/theme-icon/icon-vip.svg",this.MEMBER_CENTER_ICON_DOCUMENTS="/assets/images/icon-set/theme-icon/icon-documents.png",this.MEMBER_CENTER_ICON_BANK="/assets/images/icon-set/theme-icon/icon-bank.png",this.MEMBER_CENTER_ICON_CRYPTO="/assets/images/icon-set/theme-icon/icon-crypto.png",this.MEMBER_CENTER_ICON_EWALLETS="/assets/images/icon-set/theme-icon/icon-ewallets.png",this.MEMBER_CENTER_ICON_UPI="/assets/images/icon-set/theme-icon/icon-upi.png",this.MEMBER_CENTER_ICON_LOGOUT="/assets/images/icon-set/theme-icon/icon-logout.png",this.CRM_CS_ICON_TELEGRAM="/assets/images/icon-set/theme-icon/icon-telegram.png",this.CRM_CS_ICON_LINE="/assets/images/icon-set/theme-icon/icon-line.png",this.CRM_CS_ICON_WHATSAPP="/assets/images/icon-set/theme-icon/icon-whatsapp.png",this.CRM_CS_ICON_ZALO="/assets/images/icon-set/theme-icon/icon-zalo.png",this.CRM_CS_ICON_IMO="/assets/images/icon-set/theme-icon/icon-imo.png",this.CRM_CS_ICON_EMAIL="/assets/images/icon-set/theme-icon/icon-email.png",this.CRM_CS_ICON_QQ="/assets/images/icon-set/theme-icon/icon-qq.png",this.CRM_CS_ICON_WECHAT="/assets/images/icon-set/theme-icon/icon-wechat.png",this.CRM_CS_ICON_SKYPE="/assets/images/icon-set/theme-icon/icon-skype.png",this.CRM_CS_ICON_BBM="/assets/images/icon-set/theme-icon/icon-bbm.png",this.CRM_CS_ICON_KAKAO_TALK="/assets/images/icon-set/theme-icon/icon-kakao-talk.png",this.CRM_CS_ICON_VIBER="/assets/images/icon-set/theme-icon/icon-viber.png",this.CRM_CS_ICON_PHONE="/assets/images/icon-set/theme-icon/icon-phone.png",this.CRM_CS_ICON_TALK="/assets/images/icon-set/theme-icon/icon-customer.png",this.CRM_CS_ICON_FACEBOOK_MESSENGER="/assets/images/icon-set/theme-icon/icon-facebook-messenger.png",this.CRM_SM_ICON_FACEBOOK="/assets/images/icon-set/crm-icon/icon-facebook.png",this.CRM_SM_ICON_INSTAGRAM="/assets/images/icon-set/crm-icon/icon-instagram.png",this.CRM_SM_ICON_TWITTER="/assets/images/icon-set/crm-icon/icon-twitter.png",this.CRM_SM_ICON_TELEGRAM="/assets/images/icon-set/crm-icon/icon-telegram.png",this.CRM_SM_ICON_LINE="/assets/images/icon-set/crm-icon/icon-line.png",this.CRM_SM_ICON_PINTEREST="/assets/images/icon-set/crm-icon/icon-pinterest.png",this.CRM_SM_ICON_YOUTUBE="/assets/images/icon-set/crm-icon/icon-youtube.png",this.CRM_SM_ICON_LIKEE="/assets/images/icon-set/crm-icon/icon-likee.png",this.CRM_SM_ICON_FORUM="/assets/images/icon-set/crm-icon/icon-forum.png",this.CRM_SM_ICON_TIKTOK="/assets/images/icon-set/crm-icon/icon-tiktok.png",this.CRM_SM_ICON_ZALO="/assets/images/icon-set/crm-icon/icon-zalo.png",this.IMG_TOOLBAR_ICON_HOME="/assets/images/icon-set/toolbar-icon/toolbar-icon-home.svg",this.IMG_TOOLBAR_ICON_PROMOTION="/assets/images/icon-set/toolbar-icon/toolbar-icon-promotion.svg",this.IMG_TOOLBAR_ICON_DEPOSIT="/assets/images/icon-set/toolbar-icon/toolbar-icon-deposit.svg",this.IMG_TOOLBAR_ICON_TRANSFER="/assets/images/icon-set/toolbar-icon/toolbar-icon-transfer.svg",this.IMG_TOOLBAR_ICON_MINE="/assets/images/icon-set/toolbar-icon/toolbar-icon-mine.svg",this.IMG_TOOLBAR_ICON_CHAT="",this.IMG_TOOLBAR_ICON_ACTIVE_HOME="/assets/images/icon-set/toolbar-icon/toolbar-icon-home.svg",this.IMG_TOOLBAR_ICON_ACTIVE_PROMOTION="/assets/images/icon-set/toolbar-icon/toolbar-icon-promotion.svg",this.IMG_TOOLBAR_ICON_ACTIVE_DEPOSIT="/assets/images/icon-set/toolbar-icon/toolbar-icon-deposit.svg",this.IMG_TOOLBAR_ICON_ACTIVE_TRANSFER="/assets/images/icon-set/toolbar-icon/toolbar-icon-transfer.svg",this.IMG_TOOLBAR_ICON_ACTIVE_MINE="/assets/images/icon-set/toolbar-icon/toolbar-icon-mine.svg",this.IMG_TOOLBAR_ICON_ACTIVE_CHAT="",this.IMG_MEMBER_ICON_EYES_3_OPEN="/assets/images/icon-set/icon-eye-open-type01.svg",this.IMG_MEMBER_ICON_EYES_3_CLOSE="/assets/images/icon-set/icon-eye-close-type01.svg",this.IMG_MEMBER_ICON_BONUSWALLET="/assets/images/icon-set/icon-bonuswallet.svg",this.IMG_MEMBER_ICON_REFRESH="/assets/images/icon-set/icon-refresh-type01.svg",this.MEMBER_NO_VIP="/assets/images/player/memberpic.svg",this.MEMBER_VIP_LV_1="/assets/images/player/vip/memberpic-lv1.svg",this.MEMBER_VIP_LV_2="/assets/images/player/vip/memberpic-lv2.svg",this.MEMBER_VIP_LV_3="/assets/images/player/vip/memberpic-lv3.svg",this.MEMBER_VIP_LV_4="/assets/images/player/vip/memberpic-lv4.svg",this.MEMBER_VIP_LV_5="/assets/images/player/vip/memberpic-lv5.svg",this.MEMBER_VIP_LV_6="/assets/images/player/vip/memberpic-lv6.svg",this.MEMBER_VIP_LV_7="/assets/images/player/vip/memberpic-lv7.svg",this.MEMBER_VIP_LV_8="/assets/images/player/vip/memberpic-lv8.svg",this.MEMBER_VIP_LV_9="/assets/images/player/vip/memberpic-lv9.svg",this.MEMBER_VIP_LV_10="/assets/images/player/vip/memberpic-lv10.svg",this.MEMBER_CENTER_BG="/assets/images/member-header-bg.png",this.IMG_PROMOTION_BG="/assets/images/icon-set/player/promotion-bg.svg",this.IMG_PROMOTION_CLOCK="/assets/images/icon-set/icon-clock.svg",this.IMG_EYES_OPEN="/assets/images/icon-set/icon-eye-open-type03.svg",this.IMG_EYES_CLOSE="/assets/images/icon-set/icon-eye-close-type03.svg",this.IMG_REFRESH="/assets/images/icon-set/icon-refresh-type01.svg",this.IMG_BIOMETRIC="/assets/images/icon-set/icon-face-id.svg",this.IMG_RESET_PASSWORD_BG="/assets/images/reset-password/reset-password-bg.svg",this.IMG_POP_CLOSE="/assets/images/icon-set/icon-cross-type01.svg",this.IMG_FORMWRAP_ARROW="/assets/images/icon-set/icon-arrow-type01.svg",this.IMG_HEADER_BACK="/assets/images/icon-set/icon-arrow-type01.svg",this.IMG_REGISTER_SUCCESS_EDITOR="/assets/images/icon-set/icon-pen.svg",this.APP_DOWNLOAD_ANDROID_ICON="/assets/images/icon-set/app-download/androidicon.svg",this.APP_DOWNLOAD_IOS_ICON="/assets/images/icon-set/app-download/iosicon.svg",this.ACCOUNT_LOGO="/assets/images/transfer-ani/account.svg",this.PLATFORM_LOGO="/assets/images/favicon.png",this.GAMES_JACKPOT_IMG="/assets/images/games-jackpot-bg.jpg",this.SEARCH_RECENTLY_PLAYED="/assets/images/slotgame/recently-played.png",this.SEARCH_MY_FAVORITES="/assets/images/slotgame/my-favorites.png",this.RANKING_IMG_BORDER_SVG="/assets/images/slotgame/hexagon.svg",this.RANKING_IMG_MASK_SVG="/assets/images/slotgame/hexagon-mask.svg",this.GAME_LIST_STAR="/assets/images/slotgame/icon-white-star.svg",this.GAME_GRID_CIRCLE_STAR="/assets/images/slotgame/icon-white-circle-star.svg",this.LAUNCH_LOGO="/assets/images/logo.png",this.LANUCH_NODEPOSIT_LOGO="/assets/images/logo.png",this.IMG_BANK_CARD_COPY="/assets/images/icon-set/icon-copy.svg",this.IMG_PLAYER_EDITOR="/assets/images/icon-set/icon-editor.svg",this.IMG_HEADER_BG="/assets/images/player/bg-header-bottom.svg",this.IMG_HEADER_PROFILE_BG="/assets/images/player/bg-header-profile.jpg",this.IMG_PLAYER_FORM_CHECKED="/assets/images/player/select-check.svg",this.IMG_PLAYER_FORM_DELETE="/assets/images/icon-set/icon-cross-type09.svg",this.IMG_PLAYER_FORM_ADD="/assets/images/icon-set/icon-add.svg",this.IMG_PLAYER_FORM_CHECK="/assets/images/icon-set/icon-check-type05.svg",this.IMG_TAG_RECOMMOND="/assets/images/icon-set/icon-recommond.svg",this.IMG_TAG_FREE="/assets/images/icon-set/icon-free.svg",this.SVG_SELECT_BAR="/assets/images/icon-set/icon-selectpromotion.svg",this.IMG_FORM_LIST_DELETE="/assets/images/icon-set/icon-cross-type09.svg",this.IMG_PLAYER_FORM_EXCHANGE="/assets/images/icon-set/icon-arrow-type04.svg",this.IMG_PLAYER_FORM_CALENDAR="/assets/images/icon-set/icon-calendar-type02.svg",this.IMG_PLAYER_FORM_CHECKED_G="/assets/images/icon-set/icon-check-type01.svg",this.IMG_PLAYER_FORM_CHECKED_N="/assets/images/icon-set/icon-check-type02.svg",this.IMG_PLAYER_FORM_CHECKED_O="/assets/images/icon-set/icon-check-type03.svg",this.IMG_PLAYER_FORM_CHECKED_W="/assets/images/icon-set/icon-check-type04.svg",this.IMG_EDITOR_CHOSE="/assets/images/icon-set/icon-check-type04.svg",this.IMG_TIP_ICON="/assets/images/icon-set/icon-question.svg",this.IMG_LOBBY_ARROW="/assets/images/icon-set/icon-arrow-type08.svg",this.IMG_RF_MASK="/assets/images/player/icon-rf-mask.svg",this.PROFILE_NO_VIP_LABEL="",this.PROFILE_VIP_LABEL_LV_1="/assets/images/player/vip/vip-label-1.png",this.PROFILE_VIP_LABEL_LV_2="/assets/images/player/vip/vip-label-2.png",this.PROFILE_VIP_LABEL_LV_3="/assets/images/player/vip/vip-label-3.png",this.PROFILE_VIP_LABEL_LV_4="/assets/images/player/vip/vip-label-4.png",this.PROFILE_VIP_LABEL_LV_5="/assets/images/player/vip/vip-label-5.png",this.PROFILE_VIP_LABEL_LV_6="/assets/images/player/vip/vip-label-6.png",this.PROFILE_VIP_LABEL_LV_7="/assets/images/player/vip/vip-label-7.png",this.COLOR_VIP_MYVIP_MENU_BTN_LV_1="/assets/images/player/vip/vip-ball-1.png",this.COLOR_VIP_MYVIP_MENU_BTN_LV_2="/assets/images/player/vip/vip-ball-2.png",this.COLOR_VIP_MYVIP_MENU_BTN_LV_3="/assets/images/player/vip/vip-ball-3.png",this.COLOR_VIP_MYVIP_MENU_BTN_LV_4="/assets/images/player/vip/vip-ball-4.png",this.COLOR_VIP_MYVIP_MENU_BTN_LV_5="/assets/images/player/vip/vip-ball-5.png",this.COLOR_VIP_MYVIP_MENU_BTN_LV_6="/assets/images/player/vip/vip-ball-6.png",this.COLOR_VIP_MYVIP_MENU_BTN_LV_7="/assets/images/player/vip/vip-ball-7.png",this.FLOAT_BTN_ICON_EMAIL="/assets/images/menu/icon-email.svg",this.FLOAT_BTN_ICON_PHONE="/assets/images/menu/icon-phone.svg",this.FLOAT_BTN_ICON_ZALO="/assets/images/menu/icon-zalo.svg",this.FLOAT_BTN_ICON_FACEBOOK_MESSENGER="/assets/images/menu/icon-facebook-messenger.svg",this.FLOAT_BTN_ICON_WHATSAPP="/assets/images/menu/icon-whatsapp.svg",this.FLOAT_BTN_ICON_IMO="/assets/images/menu/icon-imo.svg",this.FLOAT_BTN_ICON_QQ="/assets/images/menu/icon-qq.svg",this.FLOAT_BTN_ICON_WECHAT="/assets/images/menu/icon-wechat.svg",this.FLOAT_BTN_ICON_SKYPE="/assets/images/menu/icon-skype.svg",this.FLOAT_BTN_ICON_BBM="/assets/images/menu/icon-bbm.svg",this.FLOAT_BTN_ICON_KAKAO_TALK="/assets/images/menu/icon-kakao-talk.svg",this.FLOAT_BTN_ICON_TALK="/assets/images/menu/icon-talk.svg",this.FLOAT_BTN_ICON_VIBER="/assets/images/menu/icon-viber.svg",this.FLOAT_BTN_ICON_TELEGRAM="/assets/images/menu/icon-telegram.svg",this.FLOAT_BTN_ICON_LINE="/assets/images/menu/icon-line.svg",this.IMG_TASKCARD_PENDING="/assets/images/icon-set/player/kyc/status-pending.svg",this.IMG_TASKCARD_SUCCESS="/assets/images/icon-set/player/kyc/status-success.svg",this.IMG_TASKCARD_FAILED="/assets/images/icon-set/player/kyc/status-failed.svg",this.IMG_TASKCARD_COIN="/assets/images/icon-set/player/kyc/status-coin.svg",this.IMG_TASKCARD_COIN_GET="/assets/images/icon-set/player/kyc/status-coinget.svg",this.IMG_ACCORDION_ICON="/assets/images/icon-set/player/kyc/accordion-tips.svg",this.IMG_ACCORDION_ARROW="/assets/images/icon-set/player/kyc/accordion-arrow.svg",this.IMG_UPLOAD_DELETE="/assets/images/icon-set/icon-cross-type09.svg",this.IMG_UPLOAD_CAMERA="/assets/images/icon-set/player/kyc/upload.svg",this.IMG_UPLOAD_LOADING="/assets/images/icon-set/icon-loading.svg",this.IMG_UPLOAD_PENDING="/assets/images/icon-set/player/kyc/status-pending.svg",this.IMG_UPLOAD_SUCCESS="/assets/images/icon-set/player/kyc/status-success.svg",this.IMG_UPLOAD_FAILED="/assets/images/icon-set/player/kyc/status-failed.svg",this.VIP_LV_1="/assets/images/icon-set/player/vip/vip-sidenav-1.svg",this.VIP_LV_2="/assets/images/icon-set/player/vip/vip-sidenav-2.svg",this.VIP_LV_3="/assets/images/icon-set/player/vip/vip-sidenav-3.svg",this.VIP_LV_4="/assets/images/icon-set/player/vip/vip-sidenav-4.svg",this.VIP_LV_5="/assets/images/icon-set/player/vip/vip-sidenav-5.svg",this.VIP_LV_6="/assets/images/icon-set/player/vip/vip-sidenav-6.svg",this.VIP_LV_7="/assets/images/icon-set/player/vip/vip-sidenav-7.svg",this.VIP_LV_8="/assets/images/icon-set/player/vip/vip-sidenav-8.svg",this.VIP_LV_9="/assets/images/icon-set/player/vip/vip-sidenav-9.svg",this.VIP_LV_10="/assets/images/icon-set/player/vip/vip-sidenav-10.svg",this.VIP_LV_S_1="/assets/images/icon-set/player/vip/vip-totem-bg-1.svg",this.VIP_LV_S_2="/assets/images/icon-set/player/vip/vip-totem-bg-2.svg",this.VIP_LV_S_3="/assets/images/icon-set/player/vip/vip-totem-bg-3.svg",this.VIP_LV_S_4="/assets/images/icon-set/player/vip/vip-totem-bg-4.svg",this.VIP_LV_S_5="/assets/images/icon-set/player/vip/vip-totem-bg-5.svg",this.VIP_LV_S_6="/assets/images/icon-set/player/vip/vip-totem-bg-6.svg",this.VIP_LV_S_7="/assets/images/icon-set/player/vip/vip-totem-bg-7.svg",this.VIP_LV_S_8="/assets/images/icon-set/player/vip/vip-totem-bg-8.svg",this.VIP_LV_S_9="/assets/images/icon-set/player/vip/vip-totem-bg-9.svg",this.VIP_LV_S_10="/assets/images/icon-set/player/vip/vip-totem-bg-10.svg",this.VIP_LV_HISTORY="/assets/images/icon-set/player/vip/icon-history.svg",this.VIP_LV_HISTORY_2="/assets/images/icon-set/player/vip/icon-history-2.svg",this.VIP_LV_CLEADER="/assets/images/icon-set/player/vip/icon-points.svg",this.VIP_LV_CLEADER_2="/assets/images/icon-set/player/vip/icon-points-2.svg",this.VIP_LV_TOP_BG="",this.REFERRAL_HEAD_BANNER="assets/images/referral-program/referral-program-banner.png",this.REFERRAL_SOCIAL_ICON_FB="/assets/images/icon-set/socialicons/white/facebook.svg",this.REFERRAL_SOCIAL_ICON_INSTAGRAM="/assets/images/icon-set/socialicons/white/instagram.svg",this.REFERRAL_SOCIAL_ICON_TWITTER="/assets/images/icon-set/socialicons/white/twitter.svg",this.REFERRAL_SOCIAL_ICON_TELEGRAM="/assets/images/icon-set/socialicons/white/telegram-channel.svg",this.REFERRAL_SOCIAL_ICON_LINE="/assets/images/icon-set/socialicons/white/line-for-business.svg",this.REFERRAL_SOCIAL_ICON_ZALO="/assets/images/icon-set/socialicons/white/zalo.svg",this.REFERRAL_SOCIAL_ICON_PINTEREST="/assets/images/icon-set/socialicons/white/pinterest.svg",this.REFERRAL_SOCIAL_ICON_YOUTUBE="/assets/images/icon-set/socialicons/white/youtube.svg",this.REFERRAL_SOCIAL_ICON_LIKEE="/assets/images/icon-set/socialicons/white/likee.svg",this.REFERRAL_SOCIAL_ICON_FORUM="/assets/images/icon-set/socialicons/white/forum.svg",this.WITHDRAW_FREEZE_PERSONAL_BLOCK_BG_TOP="/assets/images/icon-set/player/withdraw/verify-personal-block-bg-top.png",this.DEPOSIT_PROMOTION_PULL_DOWN_CHECKED="",this.VERIFICATION_ICON_MAIL="/assets/images/icon-set/icon-mail-type01.svg",this.IMG_DOWNLOAD="/assets/images/icon-set/icon-download.svg",this.FORM_EYES_OPEN_ICON="/assets/images/icon-set/icon-eye-open-type03.svg",this.FORM_EYES_CLOSE_ICON="/assets/images/icon-set/icon-eye-close-type03.svg",this.REFERRAL_INVITATION_CODE_COPY="/assets/images/icon-set/icon-copy-type02.svg",this.REFERRAL_BONUS_GOALS_ICON="/assets/images/player/referral/detail-btn.svg",this.GAMEBOX_LOGO_LABEL="/assets/images/games/game-box/logo-label.png",this.GAMEBOX_DEFAULT_PROVIDER_DEFAULT="/assets/images/game-provider-default/provider-default.jpg",this.GAMEBOX_DEFAULT_PROVIDER_WORLDMATCH="/assets/images/game-provider-default/provider-worldmatch.jpg",this.GAMEBOX_DEFAULT_PROVIDER_WM="/assets/images/game-provider-default/provider-wm.jpg",this.GAMEBOX_DEFAULT_PROVIDER_TCGLOTTOVN="/assets/images/game-provider-default/provider-tcglottovn.jpg",this.GAMEBOX_DEFAULT_PROVIDER_SMARTSOFT="/assets/images/game-provider-default/provider-smartsoft.jpg",this.GAMEBOX_DEFAULT_PROVIDER_SABA="/assets/images/game-provider-default/provider-saba.jpg",this.GAMEBOX_DEFAULT_PROVIDER_RICH88="/assets/images/game-provider-default/provider-rich88.jpg",this.GAMEBOX_DEFAULT_PROVIDER_PS="/assets/images/game-provider-default/provider-ps.jpg",this.GAMEBOX_DEFAULT_PROVIDER_PLAYNGO="/assets/images/game-provider-default/provider-playngo.jpg",this.GAMEBOX_DEFAULT_PROVIDER_PG="/assets/images/game-provider-default/provider-pg.jpg",this.GAMEBOX_DEFAULT_PROVIDER_NETENT="/assets/images/game-provider-default/provider-netent.jpg",this.GAMEBOX_DEFAULT_PROVIDER_MG="/assets/images/game-provider-default/provider-mg.jpg",this.GAMEBOX_DEFAULT_PROVIDER_LUDO="/assets/images/game-provider-default/provider-ludo.jpg",this.GAMEBOX_DEFAULT_PROVIDER_KA="/assets/images/game-provider-default/provider-ka.jpg",this.GAMEBOX_DEFAULT_PROVIDER_JOKER="/assets/images/game-provider-default/provider-joker.jpg",this.GAMEBOX_DEFAULT_PROVIDER_AWCMJOKER="/assets/images/game-provider-default/provider-awcmjoker.jpg",this.GAMEBOX_DEFAULT_PROVIDER_JDBASPRIBE="/assets/images/game-provider-default/provider-jdbaspribe.jpg",this.GAMEBOX_DEFAULT_PROVIDER_JDB="/assets/images/game-provider-default/provider-jdb.jpg",this.GAMEBOX_DEFAULT_PROVIDER_GAMZIX="/assets/images/game-provider-default/provider-gamzix.jpg",this.GAMEBOX_DEFAULT_PROVIDER_FUGASO="/assets/images/game-provider-default/provider-fugaso.jpg",this.GAMEBOX_DEFAULT_PROVIDER_EZUGI="/assets/images/game-provider-default/provider-ezugi.jpg",this.GAMEBOX_DEFAULT_PROVIDER_EVO="/assets/images/game-provider-default/provider-evo.jpg",this.GAMEBOX_DEFAULT_PROVIDER_CQ9="/assets/images/game-provider-default/provider-cq9.jpg",this.GAMEBOX_DEFAULT_PROVIDER_BPOKER="/assets/images/game-provider-default/provider-bpoker.jpg",this.GAMEBOX_DEFAULT_PROVIDER_BLUEPRINT="/assets/images/game-provider-default/provider-blueprint.jpg",this.GAMEBOX_DEFAULT_PROVIDER_BG="/assets/images/game-provider-default/provider-bg.jpg",this.GAMEBOX_DEFAULT_PROVIDER_AWCMVR="/assets/images/game-provider-default/provider-awcmvr.jpg",this.GAMEBOX_DEFAULT_PROVIDER_AWCMSG="/assets/images/game-provider-default/provider-awcmsg.jpg",this.GAMEBOX_DEFAULT_PROVIDER_AWCMSEXY="/assets/images/game-provider-default/provider-awcmsexy.jpg",this.GAMEBOX_DEFAULT_PROVIDER_AWCMRT="/assets/images/game-provider-default/provider-awcmrt.jpg",this.GAMEBOX_DEFAULT_PROVIDER_AWCMPT="/assets/images/game-provider-default/provider-awcmpt.jpg",this.GAMEBOX_DEFAULT_PROVIDER_AWCMPP="/assets/images/game-provider-default/provider-awcmpp.jpg",this.GAMEBOX_DEFAULT_PROVIDER_AWCMP8="/assets/images/game-provider-default/provider-awcmp8.jpg",this.GAMEBOX_DEFAULT_PROVIDER_AWCMKM="/assets/images/game-provider-default/provider-awcmkm.jpg",this.GAMEBOX_DEFAULT_PROVIDER_AWCMJILI="/assets/images/game-provider-default/provider-awcmjili.jpg",this.GAMEBOX_DEFAULT_PROVIDER_AWCMFC="/assets/images/game-provider-default/provider-awcmfc.jpg",this.GAMEBOX_DEFAULT_PROVIDER_AWCMFASTSPIN="/assets/images/game-provider-default/provider-awcmfastspin.jpg",this.GAMEBOX_DEFAULT_PROVIDER_AGIN="/assets/images/game-provider-default/provider-agin.jpg",this.GAMEBOX_DEFAULT_PROVIDER_AB="/assets/images/game-provider-default/provider-ab.jpg",this.GAMEBOX_DEFAULT_PROVIDER_AWCMYESBINGO="/assets/images/game-provider-default/provider-awcmyesbingo.jpg",this.GAMEBOX_DEFAULT_PROVIDER_AWCMHOTROAD="/assets/images/game-provider-default/provider-awcmhotroad.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMASIAGAMING="/assets/images/game-provider-default/provider-xtreemasiagaming.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMBLUEPRINTGAMING="/assets/images/game-provider-default/provider-xtreemblueprintgaming.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMBNG="/assets/images/game-provider-default/provider-xtreembng.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMCQ9="/assets/images/game-provider-default/provider-xtreemcq9.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMDREAMGAMING="/assets/images/game-provider-default/provider-xtreemdreamgaming.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMEVOLUTION="/assets/images/game-provider-default/provider-xtreemevolution.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMEVOPLAY="/assets/images/game-provider-default/provider-xtreemevoplay.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMEZUGI="/assets/images/game-provider-default/provider-xtreemezugi.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMGAMEART="/assets/images/game-provider-default/provider-xtreemgameart.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMHABANERO="/assets/images/game-provider-default/provider-xtreemhabanero.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMHACKSAW="/assets/images/game-provider-default/provider-xtreemhacksaw.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMMICROGAMING="/assets/images/game-provider-default/provider-xtreemmicrogaming.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMNOVOMATIC="/assets/images/game-provider-default/provider-xtreemnovomatic.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMPG="/assets/images/game-provider-default/provider-xtreempg.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMPLAYNGO="/assets/images/game-provider-default/provider-xtreemplayngo.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMPLAYSON="/assets/images/game-provider-default/provider-xtreemplayson.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMPLAYSTAR="/assets/images/game-provider-default/provider-xtreemplaystar.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMPRAGMATICPLAY="/assets/images/game-provider-default/provider-xtreempragmaticplay.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMRELAXGAMING="/assets/images/game-provider-default/provider-xtreemrelaxgaming.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMVIVO="/assets/images/game-provider-default/provider-xtreemvivo.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMWM="/assets/images/game-provider-default/provider-xtreemwm.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMBETGAMESTV="/assets/images/game-provider-default/provider-xtreembetgamestv.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMBFGAMES="/assets/images/game-provider-default/provider-xtreembfgames.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMBIGTIMEGAMING="/assets/images/game-provider-default/provider-xtreembigtimegaming.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMDREAMTECH="/assets/images/game-provider-default/provider-xtreemdreamtech.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMGALAXSYS="/assets/images/game-provider-default/provider-xtreemgalaxsys.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMINTOUCHGAMES="/assets/images/game-provider-default/provider-xtreemintouchgames.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMNOLIMITCITY="/assets/images/game-provider-default/provider-xtreemnolimitcity.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMONETOUCHLIVE="/assets/images/game-provider-default/provider-xtreemonetouchlive.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMPOPOK="/assets/images/game-provider-default/provider-xtreempopok.jpg",this.GAMEBOX_DEFAULT_PROVIDER_XTREEMREDTIGER="/assets/images/game-provider-default/provider-xtreemredtiger.jpg",this.GAMEBOX_DEFAULT_PROVIDER_LUCKY365="/assets/images/game-provider-default/provider-lucky365.jpg",this.GAMEBOX_DEFAULT_PROVIDER_GW="/assets/images/game-provider-default/provider-gw.jpg",this.GAMEBOX_DEFAULT_PROVIDER_BTG="/assets/images/game-provider-default/provider-btg.jpg",this.GAMEBOX_DEFAULT_PROVIDER_DRAGOONSOFT="/assets/images/game-provider-default/provider-dragoonsoft.jpg",this.GAMEBOX_DEFAULT_PROVIDER_GTF="/assets/images/game-provider-default/provider-gtf.jpg",this.GAMEBOX_DEFAULT_PROVIDER_LUCKYPOKER="/assets/images/game-provider-default/provider-luckypoker.jpg",this.GAMEBOX_DEFAULT_PROVIDER_NLC="/assets/images/game-provider-default/provider-nlc.jpg",this.GAMEBOX_DEFAULT_PROVIDER_AWCMDG="/assets/images/game-provider-default/provider-dreamgaming.jpg",this.GAMEBOX_DEFAULT_PROVIDER_AWCMLADYLUCK="/assets/images/game-provider-default/provider-awcmladyluck.jpg",this.GAMEBOX_DEFAULT_PROVIDER_AWCMYL="/assets/images/game-provider-default/provider-awcmyl.jpg",this.GAMEBOX_DEFAULT_PROVIDER_AWCMVIA="/assets/images/game-provider-default/provider-awcmvia.jpg",this.GAMEBOX_DEFAULT_PROVIDER_AWCV2_CG="/assets/images/game-provider-default/provider-cg.jpg"}}},78325:(Me,K,o)=>{"use strict";o.d(K,{Fu:()=>ee,Xe:()=>B});var u=o(10467),e=o(60177),h=o(54438),c=o(95407),v=o(84412),y=o(84572),R=o(70152),T=o(96354),A=o(88141),S=o(44634),C=o(93166),x=o(60328),P=o(20753);function B(se){return`image-link-${se}`}const W=new h.nKC("DEFAULT_TONE_GETTER");let ee=(()=>{class se{get currentTone(){return this._tone.getValue()}get currentMode(){return this._mode.getValue()}get imageLink(){return this._imageLink}set imageLink(re){this._imageLink=re,this.imageLink$.next(re)}constructor(re,ve){this.isBrowser=(0,e.UE)((0,h.WQX)(h.Agw)),this.injector=(0,h.WQX)(h.zZn),this.timestamp=(0,h.WQX)(c.i).get("timestamp")||(new Date).getTime(),this.defaultToneGetter=(0,h.WQX)(W,{optional:!0}),this._tone=new v.t(""),this._mode=new v.t(""),this.environment=(0,h.WQX)(x.E),this.systemConfig=(0,h.WQX)(P.n),this.themeLinks=[],this._imageLink=(0,h.WQX)(S.p,{optional:!0}),this.imageLink$=new v.t(this._imageLink),this.checkVersion(),this.head=ve.head,this._renderer=re.createRenderer(null,null),this.mode$=this._mode,this.tone$=this._tone,this.themeFactors$=(0,y.z)([this.mode$,this.tone$]).pipe((0,R.B)(50),(0,T.T)(([le,Ee])=>{const F=C.U.isMobileBrowser(),j=this.environment.desktopMode;return[le,Ee,j?F?"mobile":"desktop":void 0,j]}),(0,A.M)(([le,Ee,F,j])=>{const te=ve.querySelector("html"),J=ve.querySelector("app-root");te.classList.remove("is-mobile","is-desktop"),"mobile"===F?this.isBrowser&&te.classList.add("is-mobile"):"desktop"===F&&(this.isBrowser&&te.classList.add("is-desktop"),te.style.setProperty("font-size","3.75px"),ve.querySelector("body").style.setProperty("font-size","16px"),"custom"!==j&&(J.style.setProperty("width","375px"),J.style.setProperty("margin","0 auto"),J.style.setProperty("transform","translateZ(0)"),J.style.setProperty("display","block"),J.style.setProperty("overflow","hidden")))}),(0,T.T)(([le,Ee,F])=>[`${Ee??""}${le&&Ee?"-":""}${le??""}`,F])),this.initSubscription()}checkVersion(){if(!this.isBrowser)return;const re=this.defaultToneGetter?.();re&&this.setTone(re)}initSubscription(){var re=this;this.themeFactors$.subscribe(function(){var ve=(0,u.A)(function*([le,Ee]){if(!le)return;const F=`${le??""}${le&&Ee?"-":""}${Ee??""}.css`;yield re.loadCss(F),2==re.themeLinks.length&&re._renderer.removeChild(re.head,re.themeLinks.shift());try{re.imageLink=re.injector.get(B(le))}catch(j){re.systemConfig.production||console.error(j)}});return function(le){return ve.apply(this,arguments)}}())}setTone(re){this._tone.next(re)}setMode(re){this._mode.next(re)}loadCss(re){var ve=this;return(0,u.A)(function*(){return new Promise(le=>{const Ee=ve._renderer.createElement("link");ve._renderer.setAttribute(Ee,"from","switch-theme"),ve._renderer.setAttribute(Ee,"ssr",`${!ve.isBrowser}`),ve._renderer.setAttribute(Ee,"rel","stylesheet"),ve._renderer.setAttribute(Ee,"type","text/css"),ve._renderer.setAttribute(Ee,"href",ve.addTimestamp(re)),ve._renderer.setProperty(Ee,"onload",le),ve._renderer.appendChild(ve.head,Ee),ve.themeLinks=[...ve.themeLinks,Ee]})})()}addTimestamp(re){return re&&`${re}?v=${this.timestamp}`}static#e=this.\u0275fac=function(ve){return new(ve||se)(h.KVO(h._9s),h.KVO(e.qQ))};static#t=this.\u0275prov=h.jDH({token:se,factory:se.\u0275fac,providedIn:"root"})}return se})()},59574:(Me,K,o)=>{"use strict";o.d(K,{$:()=>v});var u=o(60177),e=o(85964),h=o(54438);const c=[e.gA,e.WX,e.S5];let v=(()=>{class y{static#e=this.\u0275fac=function(A){return new(A||y)};static#t=this.\u0275mod=h.$C({type:y});static#n=this.\u0275inj=h.G2t({providers:[...c],imports:[u.MD]})}return y})()},85964:(Me,K,o)=>{"use strict";o.d(K,{WX:()=>re,gA:()=>Y,S5:()=>ve});var u=o(54438),e=o(30617),h=o(84572),c=o(23294),v=o(70152),y=o(96354),R=o(69568),T=o(10467),A=o(84412),S=o(44634),C=o(20753),x=o(89079),P=o(60177),B=o(95407);let W=(()=>{class le{constructor(){this.isBrowser=(0,P.UE)((0,u.WQX)(u.Agw)),this.systemConfig=(0,u.WQX)(C.n),this.timestamp=(0,u.WQX)(B.i).get("timestamp")||(new Date).getTime(),this.injector=(0,u.WQX)(u.zZn),this.document=(0,u.WQX)(P.qQ),this.rendererFactory=(0,u.WQX)(u._9s),this.themeLinks=[],this.loadCssSubject=new A.t(""),this._imageLink=(0,u.WQX)(S.p,{optional:!0}),this.imageLinkSubject=new A.t(this._imageLink),this.themeSwitchedSignal=(0,x.ot)((0,h.z)([this.loadCssSubject.asObservable(),this.imageLinkSubject.asObservable()]).pipe((0,v.B)(50))),this.loadCssSignal=(0,x.ot)(this.loadCssSubject.asObservable()),this.imageLinkSignal=(0,x.ot)(this.imageLinkSubject.asObservable())}get renderer(){return this.rendererFactory.createRenderer(null,null)}setImageLink(F){try{const j=this.injector.get(F);this.imageLinkSubject.next(j)}catch(j){this.systemConfig.production||console.error(j)}}loadCss(F){var j=this;return(0,T.A)(function*(){const te="switch-theme-signal";return new Promise(J=>{const ce=F+".css",ue=j.renderer.createElement("link");j.renderer.setAttribute(ue,"from",te),j.renderer.setAttribute(ue,"ssr",`${!j.isBrowser}`),j.renderer.setAttribute(ue,"rel","stylesheet"),j.renderer.setAttribute(ue,"type","text/css"),j.renderer.setAttribute(ue,"href",j.addTimestamp(ce)),j.renderer.setProperty(ue,"onload",J),j.renderer.appendChild(j.document.head,ue),j.themeLinks=[...j.themeLinks,ue]}).then(()=>{2==j.themeLinks.length&&j.renderer.removeChild(j.document.head,j.themeLinks.shift()),j.isBrowser&&Array.from(j.document.querySelectorAll("link")).forEach(J=>{J.getAttribute("from")!==te&&"true"===J.getAttribute("ssr")&&J.parentElement?.removeChild(J)}),j.loadCssSubject.next(F)})})()}setTheme(F,j){var te=this;return(0,T.A)(function*(){return te.loadCss(F).then(()=>{te.setImageLink(j)})})()}addTimestamp(F){return F&&`${F}?v=${this.timestamp}`}static#e=this.\u0275fac=function(j){return new(j||le)};static#t=this.\u0275prov=u.jDH({token:le,factory:le.\u0275fac,providedIn:"root"})}return le})();var ee=o(11031);const se=new u.nKC("GALLERY_IMAGE_SIGNAL_CUSTOM_REFRESH_TIMING");let Y=(()=>{class le{constructor(){this.galleryImageService=(0,u.WQX)(ee.TL)}transform(F,j,te){return this.galleryImageService.getGalleryImage(F,j,te)}static#e=this.\u0275fac=function(j){return new(j||le)};static#t=this.\u0275pipe=u.EJ8({name:"galleryImage",type:le,pure:!0})}return le})(),re=(()=>{class le{constructor(){this.galleryImageService=(0,u.WQX)(ee.TL)}transform(F,j,te){return this.galleryImageService.getGalleryImageAsync(F,j,te)}static#e=this.\u0275fac=function(j){return new(j||le)};static#t=this.\u0275pipe=u.EJ8({name:"galleryImageAsync",type:le,pure:!0})}return le})(),ve=(()=>{class le{constructor(){this.galleryImagePipe=(0,u.WQX)(Y),this.galleryImageSignalCustomRefreshTiming=(0,u.WQX)(se,{optional:!0}),this.siteSetting=(0,u.WQX)(e.p),this.switchThemeService=(0,u.WQX)(W)}transform(F,j){const te=(0,h.z)([this.siteSetting.select("currentCurrencyType").pipe((0,c.F)()),this.siteSetting.select("currentLanguageType").pipe((0,c.F)()),(0,x.br)(this.switchThemeService.themeSwitchedSignal).pipe((0,c.F)())]),ce=(this.galleryImageSignalCustomRefreshTiming||te).pipe((0,v.B)(50),(0,y.T)(()=>this.galleryImagePipe.transform(F,j)),(0,R.t)(1));return(0,x.ot)(ce)}static#e=this.\u0275fac=function(j){return new(j||le)};static#t=this.\u0275pipe=u.EJ8({name:"galleryImageSignal",type:le,pure:!0})}return le})()},11031:(Me,K,o)=>{"use strict";o.d(K,{TL:()=>C,xJ:()=>A});var u=o(54438),e=o(30617),h=o(84572),c=o(23294),v=o(70152),y=o(96354),R=o(69568),T=o(78325);const A=new u.nKC("GALLERY_MODEL"),S=new u.nKC("GALLERY_IMAGE_CUSTOMIZER");let C=(()=>{class x{constructor(){this.gallery=(0,u.WQX)(A,{optional:!0}),this.imageCustomizer=(0,u.WQX)(S,{optional:!0}),this.switchThemeService=(0,u.WQX)(T.Fu),this.siteSetting=(0,u.WQX)(e.p)}getGalleryImage(B,W,ee){if(!this.gallery)return"GalleryImagePipe_no_gallery.jpg";if(!B)return"GalleryImagePipe_no_imageKey.jpg";const se=this.siteSetting.get("currentCurrencyType"),Y=this.findGalleryConfigByCurrency(se);if(!Y)return`GalleryImagePipe_no_galleryConfigByCurrency(${se.name}).jpg`;const re=Y[W];if(!re)return`GalleryImagePipe_no_template(${W}).jpg`;const ve=re[B];if(!ve)return console.log("Get Gallery Image Failed, ImageKey :>> ",B,W),`GalleryImagePipe_no_image(${B}).jpg`;const le=ve?.standard?.default||"";return this.imageCustomizer?.getCustomizedImage({galleryCategoryType:W,imageKey:B,imageObject:ve,defaultImagePath:le},ee)||le||`GalleryImagePipe_no_imagePath(${B}).jpg`}findGalleryConfigByCurrency(B){if(!this.gallery)return;const W=Object.keys(this.gallery);for(let ee=0,se=W.length;eethis.getGalleryImage(B,W,ee)),(0,R.t)(1))}static#e=this.\u0275fac=function(W){return new(W||x)};static#t=this.\u0275prov=u.jDH({token:x,factory:x.\u0275fac,providedIn:"root"})}return x})()},98895:(Me,K,o)=>{"use strict";o.d(K,{J:()=>A});const y={AWCMRWB:"RWB",AWCV2_BCSPORTS:"AWCMBC",AWCV2_E1SPORT:"AWCME1SPORT",AWCV2_HORSEBOOK:"AWCMHORSEBOOK",AWCV2_PINNACLE:"AWCMPINNACLE",AWCV2_RWB:"RWB",AWCV2_SABA:"SABA",AWCV2_SV388:"AWCMSV388",AWCV2_BG:"BG",AWCV2_BTG:"BTG",AWCV2_DRAGOONSOFT:"DRAGOONSOFT",AWCV2_DREAMGAMING:"AWCMDG",AWCV2_EVOLUTION:"EVO",AWCV2_FASTSPIN:"AWCMFASTSPIN",AWCV2_FC:"AWCMFC",AWCV2_GTF:"GTF",AWCV2_HOTROAD:"AWCMHOTROAD",AWCV2_ILOVEU:"AWCMILOVEU",AWCV2_JDB:"JDB",AWCV2_JILI:"AWCMJILI",AWCV2_JOKER:"JOKER",AWCV2_KINGMAKER:"AWCMKM",AWCV2_LADYLUCK:"AWCMLADYLUCK",AWCV2_LUCKYPOKER:"LUCKYPOKER",AWCV2_LUDO:"LUDO",AWCV2_NETENT:"NETENT",AWCV2_NLC:"NLC",AWCV2_PG:"PG",AWCV2_PLAY8:"AWCMP8",AWCV2_PP:"AWCMPP",AWCV2_PT:"AWCMPT",AWCV2_RT:"AWCMRT",AWCV2_SEXYBCRT:"AWCMSEXY",AWCV2_SEXYFREEBCRT:"AWCMSEXY",AWCV2_SPADE:"AWCMSG",AWCV2_SPRIBE:"JDBASPRIBE",AWCV2_VIACASINO:"AWCMVIA",AWCV2_VRLOTTO:"AWCMVR",AWCV2_YESBINGO:"AWCMYESBINGO",AWCV2_YL:"AWCMYL",AWCV2_CG:"CG"};class R{static imagePathVendorCodeAdapter(C,x){if(!x)return C;const P=y[x.toUpperCase()];return P?C.replace(x.toLowerCase(),P.toLowerCase()):C}static adaptVendorCode(C){return C?y[C.toUpperCase()]?y[C]:C:void 0}}var T=o(54438);let A=(()=>{class S{transform(x,P){return R.imagePathVendorCodeAdapter(x,P)}static#e=this.\u0275fac=function(P){return new(P||S)};static#t=this.\u0275pipe=T.EJ8({name:"imagePathVendorCodeAdapter",type:S,pure:!0})}return S})()},73078:(Me,K,o)=>{"use strict";o.d(K,{N:()=>h});var u=o(60177),e=o(54438);let h=(()=>{class c{static#e=this.\u0275fac=function(R){return new(R||c)};static#t=this.\u0275mod=e.$C({type:c});static#n=this.\u0275inj=e.G2t({imports:[u.MD]})}return c})()},45185:(Me,K,o)=>{"use strict";o.d(K,{G:()=>v});var u=o(60177),e=o(54438),h=o(33726),c=o(983);let v=(()=>{class y{constructor(){this.isBrowser=(0,u.UE)((0,e.WQX)(e.Agw))}getScrollObservable(){return this.isBrowser?(0,h.R)(window,"scroll"):c.w}static#e=this.\u0275fac=function(A){return new(A||y)};static#t=this.\u0275prov=e.jDH({token:y,factory:y.\u0275fac})}return y})()},9630:(Me,K,o)=>{"use strict";o.d(K,{FA:()=>h,P1:()=>y,Rz:()=>e,Z:()=>c,fK:()=>T,k_:()=>R,tt:()=>v});var u=o(49969);const e=(0,u.hZ)("popBgTriggerAni",[(0,u.kY)(":enter",[(0,u.iF)({opacity:0}),(0,u.i0)("300ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,u.iF)({opacity:1}))]),(0,u.kY)(":leave",[(0,u.i0)("300ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,u.iF)({opacity:0}))])]),h=(0,u.hZ)("popWrapTriggerAni",[(0,u.kY)(":enter",[(0,u.iF)({top:"45%",opacity:0}),(0,u.i0)("300ms 100ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,u.iF)({top:"50%",opacity:1}))]),(0,u.kY)(":leave",[(0,u.i0)("300ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,u.iF)({top:"45%",opacity:0}))])]),c=(0,u.hZ)("popWrapTriggerAni",[(0,u.kY)(":enter",[(0,u.iF)({transform:"translateY(100%)",opacity:0}),(0,u.i0)("300ms 100ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,u.iF)({transform:"translateY(0%)",opacity:1}))]),(0,u.kY)(":leave",[(0,u.i0)("300ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,u.iF)({transform:"translateY(100%)",opacity:0}))])]),v=(0,u.hZ)("popWrapTriggerAni",[(0,u.kY)(":enter",[(0,u.iF)({bottom:"-100%",opacity:1}),(0,u.i0)("300ms 100ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,u.iF)({bottom:"0",opacity:1}))]),(0,u.kY)(":leave",[(0,u.i0)("300ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,u.iF)({bottom:"-100%",opacity:0}))])]),y=(0,u.hZ)("dialogAlertTriggerAni",[(0,u.kY)(":enter",[(0,u.iF)({top:"-50px",opacity:0}),(0,u.i0)("500ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,u.iF)({top:"35px",opacity:1}))]),(0,u.kY)(":leave",[(0,u.i0)("400ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,u.iF)({top:"-50px",opacity:0}))])]),R=(0,u.hZ)("dialogTriggerAni",[(0,u.kY)(":enter",[(0,u.iF)({transform:"translateX(100%)"}),(0,u.i0)("300ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,u.iF)({transform:"translateX(0%)"}))]),(0,u.kY)(":leave",[(0,u.i0)("300ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,u.iF)({transform:"translateX(100%)"}))])]),T=(0,u.hZ)("dialogTriggerAni",[(0,u.kY)(":enter",[(0,u.iF)({transform:"translateX(-100%)"}),(0,u.i0)("300ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,u.iF)({transform:"translateX(0%)"}))]),(0,u.kY)(":leave",[(0,u.i0)("300ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,u.iF)({transform:"translateX(-100%)"}))])]);(0,u.hZ)("dialogTriggerAni",[(0,u.kY)(":enter",[(0,u.iF)({transform:"translateX({{percent}})"}),(0,u.i0)("300ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,u.iF)({transform:"translateX(0%)"}))]),(0,u.kY)(":leave",[(0,u.i0)("300ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,u.iF)({transform:"translateX({{percent}})"}))])])},18020:(Me,K,o)=>{"use strict";o.d(K,{x:()=>h});var u=o(94768);const h=new(o(54438).nKC)("ANIMATION_STATE",{providedIn:"root",factory:()=>new u.Y})},74214:(Me,K,o)=>{"use strict";o.d(K,{V:()=>y});var u=o(60177),e=o(54438),h=o(55918);let y=(()=>{class R{constructor(){this.isBrowser=(0,u.UE)((0,e.WQX)(e.Agw)),this.routerAnimationAddStyle="min-height:100vh !important;"}goTop(){this.isBrowser&&h.os.to(window,{duration:.7,scrollTo:0,ease:"expo.out"})}setEleStartAniStyle(A){const S=A.getAttribute("style")??"";A.setAttribute("style",`${S}${function c(R,T){let A=R.trim();for(;A.endsWith(" ");)A=A.slice(0,-1).trim();return new RegExp(`${T}$`).test(A)}(S,";")?"":S?";":""}${this.routerAnimationAddStyle}`)}setEleEndAniStyle(A){const S=A.getAttribute("style");if(S){const C=function v(R,T){let A,S=-1;for(;null!==(A=T.exec(R));)S=A.index;return-1!==S?R.slice(0,S)+R.substring(S).replace(T,""):R}(S,new RegExp(this.routerAnimationAddStyle,"g"));A.setAttribute("style",C)}}layoutAniStart(A){const S=A.nativeElement?.querySelector(".content");S&&this.setEleStartAniStyle(S)}layoutAniEnd(A){const S=A.nativeElement?.querySelector(".content");S&&this.setEleEndAniStyle(S)}tabPageAniStart(A){const S=A.nativeElement?.offsetParent;S&&this.setEleStartAniStyle(S)}tabPageAniEnd(A){const S=A.nativeElement?.offsetParent;S&&this.setEleEndAniStyle(S)}static#e=this.\u0275fac=function(S){return new(S||R)};static#t=this.\u0275prov=e.jDH({token:R,factory:R.\u0275fac,providedIn:"root"})}return R})()},91480:(Me,K,o)=>{"use strict";o.d(K,{DG:()=>y,J5:()=>T,JI:()=>A,Sx:()=>c,Tx:()=>h});var u=o(49969),e=function(C){return C.RIGHT_IN="right_in",C.LEFT_IN="left_in",C.TOP_IN="top_in",C.BOTTOM_IN="bottom_in",C}(e||{});const h=(0,u.hZ)("routeFullPageAni",[(0,u.kY)("* => MainPage",[(0,u.iF)({transform:"translateY(0)",opacity:1}),(0,u.i0)("0ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,u.iF)({transform:"translateY(100%)",opacity:0}))]),(0,u.kY)("MainPage => FullPage, :leave",[(0,u.iF)({transform:"translateY(100%)",opacity:0}),(0,u.i0)("500ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,u.iF)({transform:"translateY(0)",opacity:1}))])]),c=(0,u.hZ)("fadeInOut",[(0,u.kY)(":leave",[(0,u.i0)(1e3,(0,u.iF)({opacity:0}))])]),y=((0,u.hZ)("fastFadeInOut",[(0,u.kY)(":leave",[(0,u.i0)(500,(0,u.iF)({opacity:0}))])]),(0,u.hZ)("tabPageTriggerAni",[(0,u.kY)("tab1 => tab2",S(e.LEFT_IN)),(0,u.kY)("tab1 => tab3",S(e.LEFT_IN)),(0,u.kY)("tab2 => tab3",S(e.LEFT_IN)),(0,u.kY)("tab2 => tab1",S(e.RIGHT_IN)),(0,u.kY)("tab3 => tab1",S(e.RIGHT_IN)),(0,u.kY)("tab3 => tab2",S(e.RIGHT_IN))])),T=((0,u.hZ)("tabVerticalTriggerAni",[(0,u.kY)("tab1 => tab2",S(e.BOTTOM_IN)),(0,u.kY)("tab1 => tab3",S(e.BOTTOM_IN)),(0,u.kY)("tab1 => tab4",S(e.BOTTOM_IN)),(0,u.kY)("tab1 => tab5",S(e.BOTTOM_IN)),(0,u.kY)("tab1 => tab6",S(e.BOTTOM_IN)),(0,u.kY)("tab1 => tab7",S(e.BOTTOM_IN)),(0,u.kY)("tab2 => tab3",S(e.BOTTOM_IN)),(0,u.kY)("tab2 => tab4",S(e.BOTTOM_IN)),(0,u.kY)("tab2 => tab5",S(e.BOTTOM_IN)),(0,u.kY)("tab2 => tab6",S(e.BOTTOM_IN)),(0,u.kY)("tab2 => tab7",S(e.BOTTOM_IN)),(0,u.kY)("tab3 => tab4",S(e.BOTTOM_IN)),(0,u.kY)("tab3 => tab5",S(e.BOTTOM_IN)),(0,u.kY)("tab3 => tab6",S(e.BOTTOM_IN)),(0,u.kY)("tab3 => tab7",S(e.BOTTOM_IN)),(0,u.kY)("tab4 => tab5",S(e.BOTTOM_IN)),(0,u.kY)("tab4 => tab6",S(e.BOTTOM_IN)),(0,u.kY)("tab4 => tab7",S(e.BOTTOM_IN)),(0,u.kY)("tab5 => tab6",S(e.BOTTOM_IN)),(0,u.kY)("tab5 => tab7",S(e.BOTTOM_IN)),(0,u.kY)("tab6 => tab7",S(e.BOTTOM_IN)),(0,u.kY)("tab2 => tab1",S(e.TOP_IN)),(0,u.kY)("tab3 => tab1",S(e.TOP_IN)),(0,u.kY)("tab3 => tab2",S(e.TOP_IN)),(0,u.kY)("tab4 => tab1",S(e.TOP_IN)),(0,u.kY)("tab4 => tab2",S(e.TOP_IN)),(0,u.kY)("tab4 => tab3",S(e.TOP_IN)),(0,u.kY)("tab5 => tab1",S(e.TOP_IN)),(0,u.kY)("tab5 => tab2",S(e.TOP_IN)),(0,u.kY)("tab5 => tab3",S(e.TOP_IN)),(0,u.kY)("tab5 => tab4",S(e.TOP_IN)),(0,u.kY)("tab6 => tab1",S(e.TOP_IN)),(0,u.kY)("tab6 => tab2",S(e.TOP_IN)),(0,u.kY)("tab6 => tab3",S(e.TOP_IN)),(0,u.kY)("tab6 => tab4",S(e.TOP_IN)),(0,u.kY)("tab6 => tab5",S(e.TOP_IN)),(0,u.kY)("tab7 => tab1",S(e.TOP_IN)),(0,u.kY)("tab7 => tab2",S(e.TOP_IN)),(0,u.kY)("tab7 => tab3",S(e.TOP_IN)),(0,u.kY)("tab7 => tab4",S(e.TOP_IN)),(0,u.kY)("tab7 => tab5",S(e.TOP_IN)),(0,u.kY)("tab7 => tab6",S(e.TOP_IN))]),(0,u.hZ)("routeLayoutPageAni",[(0,u.kY)("GuestLayout => MainLayout",S(e.RIGHT_IN)),(0,u.kY)("GuestLayout => PlayerLayout",S(e.RIGHT_IN)),(0,u.kY)("RegisterLayout => MainLayout",S(e.LEFT_IN)),(0,u.kY)("RegisterLayout => PlayerLayout",S(e.RIGHT_IN)),(0,u.kY)("MainLayout => GuestLayout",S(e.LEFT_IN)),(0,u.kY)("MainLayout => RegisterLayout",S(e.RIGHT_IN)),(0,u.kY)("MainLayout => PlayerLayout",S(e.LEFT_IN)),(0,u.kY)("PlayerLayout => MainLayout",S(e.RIGHT_IN)),(0,u.kY)("PlayerLayout => GuestLayout",S(e.RIGHT_IN))])),A=(0,u.hZ)("footerFadeInAni",[(0,u.kY)(":enter",[(0,u.iF)({transform:"translateY(10%)",opacity:0}),(0,u.i0)("300ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,u.iF)({transform:"translateY(0)",opacity:1}))]),(0,u.kY)(":leave",[(0,u.i0)("100ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,u.iF)({transform:"translateY(10%)",opacity:0}))])]);function S(C){let x="translateX(100%)",P="translateX(-100%)";switch(C){case e.TOP_IN:x="translateY(-100%)",P="translateY(100%)";break;case e.BOTTOM_IN:x="translateY(100%)",P="translateY(-100%)";break;case e.LEFT_IN:x="translateX(100%)",P="translateX(-100%)";break;case e.RIGHT_IN:x="translateX(-100%)",P="translateX(100%)";break;default:x="translateX(100%)",P="translateX(-100%)"}return[(0,u.P)(":enter",[(0,u.iF)({transform:x,display:"block",position:"absolute",width:"100%",left:0,overflow:"hidden"})],{optional:!0}),(0,u.P)(":leave",[(0,u.iF)({transform:"translate(0, 0)",display:"block",position:"absolute",width:"100%",left:0,overflow:"hidden"})],{optional:!0}),(0,u.Os)([(0,u.P)(":leave",[(0,u.i0)("300ms ease",(0,u.iF)({transform:P}))],{optional:!0}),(0,u.P)(":enter",[(0,u.i0)("300ms ease",(0,u.iF)({transform:"translate(0, 0)"}))],{optional:!0})])]}},14436:(Me,K,o)=>{"use strict";o.d(K,{N:()=>h});var u=o(94768);const h=new(o(54438).nKC)("MAIN_GAME_NAV_STATE",{providedIn:"root",factory:()=>new u.Y})},95640:(Me,K,o)=>{"use strict";o.d(K,{D:()=>ce});var u=o(54438),e=o(78325),h=o(77183),c=o(43518),v=o(9630),y=o(84652),R=o(10098),T=o(84412),A=o(80247),S=o(66980),C=o(75078),x=o(60177),P=o(15314),B=o(20464),W=o(41842),ee=o(65210),se=o(89257),Y=o(8688);const re=["htmlContent"],ve=ue=>({"ani show":ue}),le=ue=>({display:ue});function Ee(ue,Te){if(1&ue){const _e=u.RV6();u.j41(0,"div",10),u.bIt("click",function(){u.eBV(_e);const Ve=u.XpG(3);return u.Njj(Ve.open())}),u.nrm(1,"img",11),u.k0s()}if(2&ue){const _e=u.XpG(3);u.R7$(),u.FS9("drcCdnSrc",_e.banner)}}function F(ue,Te){if(1&ue&&(u.qex(0),u.j41(1,"div",12)(2,"h3"),u.EFF(3),u.k0s()(),u.j41(4,"div",13),u.nrm(5,"div",14,0),u.nI1(7,"safeHtml"),u.k0s(),u.bVm()),2&ue){const _e=u.XpG(3);u.R7$(3),u.SpI(" ",_e.title," "),u.R7$(2),u.Y8G("innerHTML",u.bMT(7,2,_e.content),u.npT)}}function j(ue,Te){if(1&ue){const _e=u.RV6();u.qex(0),u.j41(1,"div",15)(2,"input",16,1),u.nI1(4,"async"),u.bIt("change",function(){u.eBV(_e);const Ve=u.sdS(3),dt=u.XpG(3);return u.Njj(dt.notShowAgain$.next(Ve.checked))}),u.k0s(),u.j41(5,"label",17)(6,"span",18),u.nrm(7,"i",19),u.nI1(8,"async"),u.nI1(9,"imageUrl"),u.k0s(),u.j41(10,"p",20),u.EFF(11),u.k0s()()(),u.bVm()}if(2&ue){let _e;const Ge=u.XpG(2).$implicit,Ve=u.XpG();u.R7$(2),u.Y8G("id","pop-notshow-today"+Ve.id)("checked",u.bMT(4,6,Ve.notShowAgain$)),u.R7$(3),u.Y8G("for","pop-notshow-today"+Ve.id),u.R7$(2),u.xc7("background-image",u.bMT(9,10,null==(_e=u.bMT(8,8,Ve.SwitchThemeService.imageLink$))?null:_e.IMG_PLAYER_FORM_CHECK)),u.R7$(4),u.JRh(Ge("ui.global.text.hide_for_today"))}}function te(ue,Te){if(1&ue){const _e=u.RV6();u.j41(0,"div",5)(1,"a",6),u.bIt("click",function(){u.eBV(_e);const Ve=u.XpG(2);return u.Njj(Ve.close())}),u.nrm(2,"span",7),u.nI1(3,"async"),u.nI1(4,"imageUrl"),u.k0s(),u.DNE(5,Ee,2,1,"div",8)(6,F,8,4,"ng-container",9)(7,j,12,12,"ng-container",9),u.k0s()}if(2&ue){let _e;const Ge=u.XpG(2);u.Y8G("@popWrapTriggerAni",Ge.isActive)("ngClass",u.eq3(11,ve,Ge.isActive)),u.R7$(2),u.xc7("background-image",u.bMT(4,9,null==(_e=u.bMT(3,7,Ge.SwitchThemeService.imageLink$))?null:_e.IMG_POP_CLOSE)),u.R7$(3),u.Y8G("ngIf",Ge.banner),u.R7$(),u.Y8G("ngIf",!(Ge.isLink||Ge.isNone)),u.R7$(),u.Y8G("ngIf",Ge.enableHideForToday)}}function J(ue,Te){if(1&ue){const _e=u.RV6();u.j41(0,"div",21),u.bIt("@popBgTriggerAni.done",function(Ve){u.eBV(_e);const dt=u.XpG(2);return u.Njj(dt.onAnimationDone(Ve))})("click",function(){u.eBV(_e);const Ve=u.XpG(2);return u.Njj(Ve.close())}),u.k0s()}if(2&ue){const _e=u.XpG(2);u.Y8G("@popBgTriggerAni",_e.isActive)("ngStyle",u.eq3(2,le,_e.isActive?"block":"none"))}}function $(ue,Te){if(1&ue&&(u.qex(0),u.DNE(1,te,8,13,"div",3)(2,J,1,4,"div",4),u.bVm()),2&ue){const _e=u.XpG();u.R7$(),u.Y8G("ngIf",_e.isActive),u.R7$(),u.Y8G("ngIf",_e.isActive)}}let ce=(()=>{class ue extends h.u{get isLink(){return this.contentType===y.h.LINK.unique}get isNone(){return this.contentType===y.h.NONE.unique}constructor(_e,Ge){super(),this.bridgeUtilService=Ge,this.images=new S.h,this.SwitchThemeService=(0,u.WQX)(e.Fu),this.commonUtilService=(0,u.WQX)(R.j),this.openGameService=(0,u.WQX)(A.eD),this.datePipe=(0,u.WQX)(x.vh),this.id=0,this.contentType=0,this.title="",this.content="",this.banner="",this.notShowAgain$=new T.t(!1),this.id=_e.id,this.contentType=_e.contentType,this.title=_e.title,this.banner=_e.banner,this.content=_e.content,this.enableHideForToday=_e.enableHideForToday}ngAfterViewInit(){this.setInitialProperties()}onAnimationDone(_e){"void"===_e.toState&&this.close()}open(){if(!this.isLink)return;const _e=this.commonUtilService.detectMessageContent(this.content);!1===_e.isOpenGame?window.open(_e.url):this.openGameFromH5Content(_e.url)}openGameFromH5Content(_e){const Ve=_e.replace(/\/open-game-link\//g,"").split("/"),dt=Number(Ve[0]);this.openGameService.open({gameTypeId:dt,vendorCode:Ve[1],gameCode:Ve[2]}).subscribe()}close(){this.setToday(),super.close()}setToday(){if(!this.notShowAgain$.value)return;const Ge=this.datePipe.transform(new Date,C.$.DATE_PATTERN_FOR_CALENDAR3.format),Ve="NOTSHOWTODAY-"+this.id?.toString();Ge&&localStorage.setItem(Ve,Ge)}setInitialProperties(){this.htmlContent&&(this.htmlContentEl=this.htmlContent?.nativeElement,this.setImgStyle(this.htmlContentEl))}setImgStyle(_e){const Ge=_e.querySelectorAll("*");Array.from(Ge).filter(dt=>!!dt.style.backgroundImage).forEach(dt=>{const ye=dt.style.backgroundImage.match(/url\(["']?(.*?)["']?\)/);if(ye){const Oe=ye[1],we=new Image;we.onload=()=>{const Ye=we.height/we.width;dt.style.width="100%",dt.style.height="",dt.style.paddingBottom=100*Ye+"%"},we.src=Oe}else console.log("promotion info component: background image url not found")})}static#e=this.\u0275fac=function(Ge){return new(Ge||ue)(u.rXU(c.Qs),u.rXU(P.H))};static#t=this.\u0275cmp=u.VBU({type:ue,selectors:[["app-promotion-info"]],viewQuery:function(Ge,Ve){if(1&Ge&&u.GBs(re,5),2&Ge){let dt;u.mGM(dt=u.lsd())&&(Ve.htmlContent=dt.first)}},features:[u.Jv_([x.vh]),u.Vt3],decls:1,vars:0,consts:[["htmlContent",""],["popNotShowToday",""],[4,"transloco"],["class","pop-wrap promotion-pop new",3,"ngClass",4,"ngIf"],["class","pop-bg",3,"ngStyle","click",4,"ngIf"],[1,"pop-wrap","promotion-pop","new",3,"ngClass"],[1,"btn-close",3,"click"],[1,"item-icon"],["class","detail-banner",3,"click",4,"ngIf"],[4,"ngIf"],[1,"detail-banner",3,"click"],[3,"drcCdnSrc"],[1,"pop-title"],[1,"pop-inner","content-style"],[3,"innerHTML"],[1,"notshow-checkbox"],["type","checkbox",1,"check-input",3,"change","id","checked"],[1,"check-label",3,"for"],[1,"check-cube"],[1,"check-cube__icon"],[1,"text"],[1,"pop-bg",3,"click","ngStyle"]],template:function(Ge,Ve){1&Ge&&u.DNE(0,$,3,2,"ng-container",2)},dependencies:[x.YU,x.bT,x.B3,B.bA,W.f,ee.h,x.Jj,se.$n,Y.H],data:{animation:[v.Rz,v.FA]},changeDetection:0})}return ue})()},2425:(Me,K,o)=>{"use strict";o.d(K,{R:()=>v});var u=o(60177),e=o(18287),h=o(97944),c=o(54438);let v=(()=>{class y{static#e=this.\u0275fac=function(A){return new(A||y)};static#t=this.\u0275mod=c.$C({type:y});static#n=this.\u0275inj=c.G2t({imports:[u.MD,e.m,h.L]})}return y})()},9835:(Me,K,o)=>{"use strict";o.d(K,{D:()=>e});const e=new(o(54438).nKC)("NOT_FOUND_CONTACT_US_URL")},94872:(Me,K,o)=>{"use strict";o.d(K,{i:()=>Ge});var u=o(54438),e=o(9630),h=o(51433),c=o(30617),v=o(7673),y=o(25558),R=o(78325),T=o(69506),A=o(51066),S=o(71522),C=o(78922),x=o(66980);const P=new u.nKC("IS_HIDE_SYMBOL");var B=o(78382),W=o(48055),ee=o(98856),se=o(20464),Y=o(60177),re=o(41842),ve=o(65210),le=o(8688);const Ee=["languageList"],F=Ve=>({"ani show":Ve}),j=Ve=>({display:Ve});function te(Ve,dt){if(1&Ve){const at=u.RV6();u.qex(0),u.j41(1,"div",10)(2,"h3"),u.EFF(3),u.k0s(),u.j41(4,"a",11),u.bIt("click",function(){u.eBV(at);const Oe=u.XpG(3);return u.Njj(Oe.close())}),u.nrm(5,"span",12),u.nI1(6,"async"),u.nI1(7,"imageUrl"),u.k0s()(),u.bVm()}if(2&Ve){let at;const ye=u.XpG(2).$implicit,Oe=u.XpG();u.R7$(3),u.JRh(ye("ui.guest_toolbar.pop_up.currency_language")),u.R7$(2),u.xc7("-webkit-mask-image",u.bMT(7,5,null==(at=u.bMT(6,3,Oe.SwitchThemeService.imageLink$))?null:at.IMG_POP_CLOSE))}}function J(Ve,dt){if(1&Ve){const at=u.RV6();u.j41(0,"div",10)(1,"h3"),u.EFF(2),u.k0s(),u.j41(3,"a",11),u.bIt("click",function(){u.eBV(at);const Oe=u.XpG(3);return u.Njj(Oe.close())}),u.nrm(4,"span",12),u.nI1(5,"async"),u.nI1(6,"imageUrl"),u.k0s()()}if(2&Ve){let at;const ye=u.XpG(2).$implicit,Oe=u.XpG();u.R7$(2),u.JRh(ye("ui.guest_toolbar.pop_up.currency_language")),u.R7$(2),u.xc7("background-image",u.bMT(6,5,null==(at=u.bMT(5,3,Oe.SwitchThemeService.imageLink$))?null:at.IMG_POP_CLOSE))}}function $(Ve,dt){if(1&Ve){const at=u.RV6();u.j41(0,"div",17),u.nrm(1,"input",18),u.nI1(2,"async"),u.nI1(3,"async"),u.j41(4,"label",19),u.bIt("click",function(){const Oe=u.eBV(at).$implicit,we=u.XpG().$implicit,Ce=u.XpG(3);return u.Njj(Ce.changeCurrencyAndLanguage(we.currencyType,Oe))}),u.EFF(5),u.nI1(6,"lowercase"),u.k0s()()}if(2&Ve){const at=dt.$implicit,ye=u.XpG(),Oe=ye.$implicit,we=ye.index,Ce=u.XpG(2).$implicit,$e=u.XpG();u.R7$(),u.FS9("id",Oe.currencyType.name+we),u.Y8G("checked",u.bMT(2,4,$e.currentCurrency$)===Oe.currencyType&&u.bMT(3,6,$e.currentLanguage$)===at),u.R7$(3),u.FS9("for",Oe.currencyType.name+we),u.R7$(),u.SpI(" ",Ce(u.bMT(6,8,"ui.global.word.language."+at.name))," ")}}function ce(Ve,dt){if(1&Ve&&(u.j41(0,"li",null,1)(2,"div",13),u.nrm(3,"img",14),u.j41(4,"p")(5,"span"),u.EFF(6),u.k0s(),u.EFF(7),u.k0s()(),u.j41(8,"div",15),u.DNE(9,$,7,10,"div",16),u.k0s()()),2&Ve){const at=dt.$implicit,ye=u.XpG(2).$implicit,Oe=u.XpG();u.R7$(3),u.FS9("alt",at.currencyType.name),u.Y8G("drcCdnSrc",at.imagePath),u.R7$(3),u.SpI("",Oe.isHideSymbol&&Oe.isHideSymbol(at.currencyType)?"":at.currencyType.symbol," "),u.R7$(),u.SpI(" ",ye("ui.global.currency."+at.currencyType.name)," "),u.R7$(2),u.Y8G("ngForOf",at.languageTypes)}}function ue(Ve,dt){if(1&Ve&&(u.j41(0,"div",5),u.DNE(1,te,8,7,"ng-container",6)(2,J,7,7,"ng-template",null,0,u.C5r),u.j41(4,"div",7)(5,"ul",8),u.DNE(6,ce,10,5,"li",9),u.nI1(7,"async"),u.k0s()()()),2&Ve){const at=u.sdS(3),ye=u.XpG(2);u.Y8G("@popWrapTriggerAni",ye.isActive)("ngClass",u.eq3(7,F,!0===ye.isActive)),u.R7$(),u.Y8G("ngIf",ye.isImgBg)("ngIfElse",at),u.R7$(5),u.Y8G("ngForOf",u.bMT(7,5,ye.languageItems))}}function Te(Ve,dt){if(1&Ve){const at=u.RV6();u.j41(0,"div",20),u.bIt("click",function(){u.eBV(at);const Oe=u.XpG(2);return u.Njj(Oe.close())}),u.k0s()}if(2&Ve){const at=u.XpG(2);u.Y8G("@popBgTriggerAni",at.isActive)("ngStyle",u.eq3(2,j,at.isActive?"block":"none"))}}function _e(Ve,dt){if(1&Ve&&(u.qex(0),u.DNE(1,ue,8,9,"div",3)(2,Te,1,4,"div",4),u.bVm()),2&Ve){const at=u.XpG();u.R7$(),u.Y8G("ngIf",at.isActive),u.R7$(),u.Y8G("ngIf",at.isActive)}}let Ge=(()=>{class Ve{constructor(at,ye,Oe,we,Ce){this.i18nService=at,this.dialogService=ye,this.translateService=Oe,this.currencySettingState=we,this.authState=Ce,this.test="test",this.images=new x.h,this.SwitchThemeService=(0,u.WQX)(R.Fu),this.isHideSymbol=(0,u.WQX)(P,{optional:!0}),this.isUseUsdt=(0,u.WQX)(B.Sh,{optional:!0}),this.languageType=S.t,this.currencyType=A.U,this.isActive=!1,this.isImgBg=!1,this.activateLanguage=new u.bkB,this.languageItems=(0,v.of)([]),this.currentCurrency$=this.currencySettingState.select("currentCurrencyType"),this.currentLanguage$=this.currencySettingState.select("currentLanguageType")}ngOnInit(){this.initCurrencyAndLanguage()}ngAfterViewInit(){"IW"===this.translateService.translate("ui.global.text.brand_short_name")&&this.authState.select("isLogin").subscribe(at=>{!0===at?this.authState.select("accountInfo").subscribe(ye=>{this.languageItems.subscribe(Oe=>{const we=Oe.find(Ce=>Ce.currencyType.unique===ye.currencyTypeId);this.languageItems=(0,v.of)([we])}).unsubscribe()}).unsubscribe():this.initCurrencyAndLanguage()})}close(){this.isActive=!1,this.activateLanguage.emit(!1)}changeCurrencyAndLanguage(at,ye){this.isActive=!1,this.activateLanguage.emit(!1),this.dialogService.closeAll(),setTimeout(()=>{this.i18nService.changeCurrencyAndLanguage(at,ye)},300)}initCurrencyAndLanguage(){this.languageItems=this.currencySettingState.select("currencyMappingSettingModel").pipe((0,y.n)(at=>{const ye=[];return at&&at.forEach(Oe=>{const we=A.U.getInstanceOf(Oe.currencyTypeId),Ce=[];if(Oe&&we){let $e="";Oe.mapping.forEach(Ye=>{if(Ye.currencySettingTypeId===C.X.LANGUAGE.unique)Ye.mappingData.forEach(ut=>{const mt=S.t.getInstanceOf(Number(ut));mt&&Ce.push(mt)});else if(Ye.currencySettingTypeId===C.X.COUNTRY.unique&&!$e){if(this.isUseUsdt&&this.isUseUsdt(we))return void($e="/assets/images/flag/US.png");$e=`/assets/images/flag/${T.B.getInstanceOf(Number(Ye.mappingData[0]))?.name}.png`}}),ye.push({currencyType:we,imagePath:$e,languageTypes:Ce})}}),(0,v.of)(ye)}))}static#e=this.\u0275fac=function(ye){return new(ye||Ve)(u.rXU(W.W),u.rXU(ee.o),u.rXU(se.JO),u.rXU(c.p),u.rXU(h.H))};static#t=this.\u0275cmp=u.VBU({type:Ve,selectors:[["app-language"]],viewQuery:function(ye,Oe){if(1&ye&&u.GBs(Ee,5),2&ye){let we;u.mGM(we=u.lsd())&&(Oe.languageList=we)}},inputs:{isActive:"isActive",isImgBg:"isImgBg"},outputs:{activateLanguage:"activateLanguage"},decls:1,vars:0,consts:[["popTitleCloseCustom",""],["languageList",""],[4,"transloco"],["class","pop-wrap pop-language",3,"ngClass",4,"ngIf"],["class","pop-bg",3,"ngStyle","click",4,"ngIf"],[1,"pop-wrap","pop-language",3,"ngClass"],[4,"ngIf","ngIfElse"],[1,"pop-inner"],[1,"language-list"],[4,"ngFor","ngForOf"],[1,"pop-title"],[1,"btn-close",3,"click"],[1,"item-icon"],[1,"left-language-area"],[3,"drcCdnSrc","alt"],[1,"right-language-area"],["class","radio-box",4,"ngFor","ngForOf"],[1,"radio-box"],["type","radio","name","language",3,"id","checked"],[3,"click","for"],[1,"pop-bg",3,"click","ngStyle"]],template:function(ye,Oe){1&ye&&u.DNE(0,_e,3,2,"ng-container",2)},dependencies:[Y.YU,Y.Sq,Y.bT,Y.B3,se.bA,re.f,ve.h,Y.Jj,Y.GH,le.H],data:{animation:[e.Rz,e.FA]},changeDetection:0})}return Ve})()},58317:(Me,K,o)=>{"use strict";o.d(K,{x:()=>y});var u=o(60177),e=o(20464),h=o(18287),c=o(97944),v=o(54438);let y=(()=>{class R{static#e=this.\u0275fac=function(S){return new(S||R)};static#t=this.\u0275mod=v.$C({type:R});static#n=this.\u0275inj=v.G2t({imports:[u.MD,e.Q8,h.m,c.L]})}return R})()},4780:(Me,K,o)=>{"use strict";o.d(K,{$:()=>e});const e=new(o(54438).nKC)("GET_VENDOR_CONFIG")},15314:(Me,K,o)=>{"use strict";o.d(K,{H:()=>v});var u=o(60177),e=o(54438),h=o(21413),c=o(5964);let v=(()=>{class y{constructor(T){this.isPlatformBrowser=!0,this.bridgeEvents={},this.nativeAppEvent$=new h.B,this.setupWebViewJavascriptBridge=A=>{if(!this.isPlatformBrowser)return;if(this.window.WebViewJavascriptBridge)return A(this.window.WebViewJavascriptBridge);if(this.window.WVJBCallbacks)return this.window.WVJBCallbacks?.push(A);this.window.WVJBCallbacks=[A];const S=document.createElement("iframe");S.style.display="none",S.src="https://__bridge_loaded__",document.documentElement.appendChild(S),setTimeout(function(){document.documentElement.removeChild(S)},0)},this.sendMessage=A=>{if(this.isPlatformBrowser){if(window.top!==window.self)return void window.parent.postMessage(A,"*");this.setupWebViewJavascriptBridge(function(S){S.callHandler("ObjC Echo",A)}),this.window.webkit&&this.window.webkit.messageHandlers&&this.window.webkit.messageHandlers.ToApp&&this.window.webkit.messageHandlers.ToApp.postMessage(A),console.log(A),this.window.JsToNative?.sendToNative?(console.log("sendToNative",A),this.window.JsToNative.sendToNative(A)):console.warn("JsToNative.sendToNative not found.")}},this.registerHandler=(A,S)=>{this.isPlatformBrowser&&this.setupWebViewJavascriptBridge(function(C){C.registerHandler(A,S)})},this.exposeFunction=(A,S,C)=>{if(!this.isPlatformBrowser)return;const x=window[A]||{};x[S]=C,window[A]=x},this.exposeFEFunction=(A,S,C)=>{if(!this.isPlatformBrowser)return;const x=this.window.FE||{},P=x[A]||{};P[S]=C,x[A]=P,this.window.FE=x},this.getExposedFunction=(A,S)=>{if(!this.isPlatformBrowser)return;const C=this.window.FE||{};return C[A]?C[A][S]:void 0},this.removeExposedFunction=(A,S)=>{if(!this.isPlatformBrowser)return;const C=this.window.FE||{};C[A]&&delete C[A][S]},this.isPlatformBrowser=(0,u.UE)(T),this.isPlatformBrowser&&(this.window=window,this.window.setupWebViewJavascriptBridge=this.setupWebViewJavascriptBridge,this.exposeNativeToJs())}exposeNativeToJs(){this.isPlatformBrowser&&(this.window.NativeToJs=this.window.NativeToJs||{},this.window.NativeToJs.sendToJs=A=>{console.log("sendToJs",A),this.nativeAppEvent$.next(JSON.parse(A))})}sendEventToNativeApp(T,A){const S={event:T,payload:A};setTimeout(()=>{this.sendMessage(JSON.stringify(S))})}onNativeAppEvent(T){return this.nativeAppEvent$.pipe((0,c.p)(A=>A.event===T))}sendWebStateMessage(T){this.sendMessage(`{"webState":"${T}"}`)}static#e=this.\u0275fac=function(A){return new(A||y)(e.KVO(e.Agw))};static#t=this.\u0275prov=e.jDH({token:y,factory:y.\u0275fac,providedIn:"root"})}return y})()},93166:(Me,K,o)=>{"use strict";o.d(K,{U:()=>e});class e{static isLandscape(){const c=90===window.orientation||-90===window.orientation;let y=screen.orientation?.type?.includes("landscape")||c;try{window.navigator.userAgent.includes("moto g power")&&void 0===window.orientation&&this.isMobileBrowser()&&(y=!1)}catch{return y}return y}static isIOSSafari(){let c=!1;try{const v=navigator.userAgent||navigator.vendor;c=/iP(ad|od|hone)/i.test(v)&&/WebKit/i.test(v)&&!/(CriOS|FxiOS|OPiOS|mercury|OPT|EdgiOS)/i.test(v)}catch{console.log("BrowserDector: not browser, no navigator, detect isIOSSafari() failed, auto return false")}return c}static getIOSVersion(){let c=null;try{const v=navigator.userAgent,y=/iPad|iPhone|iPod/.test(v),R=(v||"").match(/OS (\d+)_(\d+)_?(\d+)?/);y&&R&&(c={major:parseInt(R[1]||"0",10),minor:parseInt(R[2]||"0",10),patch:parseInt(R[3]||"0",10)})}catch{console.log("BrowserDector: not browser, no navigator, detect getIOSVersion() failed, auto return empty string")}return c}static getIOSVersionString(c){const v=e.getIOSVersion();if(v)return`${c?.prefix??"v"} ${[v.major,v.minor,v.patch].join(c?.joinBy??".")}`}static isUnderMinimumSupportedIOSVersion(){const c=e.getIOSVersion();return null!==c&&(16!==c.major?c.major<16:6!==c.minor?c.minor<6:c.patch<0)}static isIOSChrome(){let c=!1;try{const v=window.navigator.userAgent,y=/iPad|iPhone|iPod/.test(v),R=/CriOS/.test(v);c=y&&R}catch{console.log("BrowserDector: not browser, no navigator, detect isIOSChrome() failed, auto return false")}return c}static isMobileBrowser(){let c=!0;try{let v=!1;y=navigator.userAgent||navigator.vendor||window.opera,(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(y)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(y.substr(0,4)))&&(v=!0),c=v}catch{console.log("BrowserDector: not browser, no navigator, detect isMobileBrowser() failed, auto return true")}var y;return c}}},10098:(Me,K,o)=>{"use strict";o.d(K,{j:()=>h});var u=o(41206),e=o(54438);let h=(()=>{class c{constructor(){this.subscriptions=[]}getCryptoCurrencyIconPath(y){return y?`/assets/images/icon-set/player/${[u.V.EUR,u.V.USD,u.V.GOLD].includes(y)?"withdraw":"crypto"}/${y.symbol.toLowerCase()}.png`:""}convertMessageContentToUrl(y){let R="";if(y.indexOf("href=")<0)R=y;else{const T=y.match(/href="[^"]+"/g);T&&T.length>0&&(R=T[0].replace("href=","").replace(/"/g,""))}return R.replace(/&/g,"&")}detectMessageContent(y){let R=y||"";R=R.replace("

","").replace("

","").replace("\r\n","");const A=R.match(/^\/open-game-link\/[^\/]+\/[^\/]+\/[^\/]+/g);return A&&A.length>0?{isOpenGame:!0,url:R}:{isOpenGame:!1,url:this.convertMessageContentToUrl(R)}}static#e=this.\u0275fac=function(R){return new(R||c)};static#t=this.\u0275prov=e.jDH({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})()},78382:(Me,K,o)=>{"use strict";o.d(K,{$D:()=>B,$z:()=>y,C9:()=>_e,Cm:()=>tn,Cw:()=>P,Fu:()=>R,IZ:()=>v,Nr:()=>Te,RD:()=>x,Sh:()=>ee,Tl:()=>T,V3:()=>S,YK:()=>Vt,_Z:()=>F,eY:()=>we,lK:()=>ve,m:()=>h,oX:()=>ce,qf:()=>Y,ql:()=>$e,qw:()=>J,sP:()=>C,wp:()=>j,ww:()=>A,xf:()=>$,yr:()=>c});var u=o(54438),e=o(94768);const h="IGNORE_HISTORY";var c=function(rn){return rn[rn.MILLISECOND=1]="MILLISECOND",rn[rn.SECOND=1e3]="SECOND",rn[rn.MINUTE=6e4]="MINUTE",rn[rn.HOUR=36e5]="HOUR",rn[rn.DAY=864e5]="DAY",rn}(c||{}),v=function(rn){return rn[rn.LIVE_CHAT=0]="LIVE_CHAT",rn[rn.INTERCOM=1]="INTERCOM",rn}(v||{});const y=new u.nKC("IOS_GAME_TIPS_SKIPPING_FLAG",{providedIn:"root",factory:()=>new e.Y}),R=new u.nKC("LIVE_CHAT_STATE",{providedIn:"root",factory:()=>{const rn=new e.Y;return rn.set({open:{status:!1}}),rn}}),T=new u.nKC("LAYOUT_STATE",{providedIn:"root",factory:()=>new e.Y}),A=new u.nKC("HEADER_STATE",{providedIn:"root",factory:()=>{const rn=new e.Y;return rn.set({btnSetting:{hasAppDownload:!1,hasForum:!1,hasService:!1,hasLiveChatHook:!1,hasInbox:!1,hasHelpCenter:!1,hasLanguage:!1,hasEditBtrn:!1,isShowIconText:!0,hasShowDeposit:!1}}),rn}}),S=new u.nKC("CUSTOM_JACKPOT_COMPONENT"),C=new u.nKC("MINI_GAMES_STATE",{providedIn:"root",factory:()=>{const rn=new e.Y;return rn.set({gamesList:[]}),rn}}),x="exclusive",P=999,B=new u.nKC("EXCLUSIVE_GAME_SETTING"),ee=(new u.nKC("EXCLUSIVE_GAME_SETTING_V3"),new u.nKC("IS_USE_USDT")),Y=(new u.nKC("USE_LOADER_BOX"),new u.nKC("CUSTOM_LOGO_PATH")),ve=(new u.nKC("FILTER_SPORT_VENDER_LIST"),new u.nKC("CUSTOM_SPORT_VENDER_LIST")),F=(new u.nKC("CUSTOM_GAMETYPE_ORDER"),new u.nKC("CUSTOM_LOTTERY_VENDER_LIST"),new u.nKC("CUSTOM_TRANSLATION")),j=new u.nKC("CUSTOM_REFERRAL_PAGE"),J=(new u.nKC("CUSTOM_OPEN_LOTTERY_GAME"),new u.nKC("CUSTOM_GAME_TYPE_NAME")),$=new u.nKC("CUSTOM_3RD_LOGIN_BTN"),ce=new u.nKC("SMS_FORGET_PASSWORD_HELP"),Te=(new u.nKC("IS_SHOW_HOME_MARQUEE"),new u.nKC("IS_HIDE_INTERCOM_PHONE")),_e=new u.nKC("GET_RETARGETTING_URL"),we=(new u.nKC("CUSTOM_CURRENCY_NAME"),new u.nKC("HIDE_APPDOWNLOAD_LINK"),new u.nKC("CUSTOM_ON_CLICK_GAME_TYPE"),new u.nKC("SHOW_CRICKET_ALL_EVENT_TYPES_TAB"),new u.nKC("CUSTOM_FOOTER_LINK"),new u.nKC("CUSTOM_FOOTER_LINK"),new u.nKC("CUSTOM_3RD_REGISTER_LOGIN")),$e=(new u.nKC("LOAD_FOOTER"),new u.nKC("CUSTOM_HIDE_SMS_BY_COUNTRY")),tn=(new u.nKC("CUSTOM_VIP_LEVEL_ICON_PATH"),new u.nKC("CUSTOM_MENU_ABOUT_US_LINK"),new u.nKC("CUSTOM_MENU_CONFIG"),new u.nKC("CUSTOM_DEPOSIT_QRCODE_BY_CURRENCY")),Vt=new u.nKC("HELPER_PAGE_LINK")},62685:(Me,K,o)=>{"use strict";o.d(K,{r:()=>u});class u{static getGMT(h){const c=new Date(h);if(c){const v=c.getTimezoneOffset()/60;return v<=0?"GMT+"+-1*v:`GMT-${v}`}return""}static isToday(h){return h.setHours(0,0,0,0)==(new Date).setHours(0,0,0,0)}static isYesterday(h){return h.setHours(0,0,0,0)==new Date(Date.now()-864e5).setHours(0,0,0,0)}}},66233:(Me,K,o)=>{"use strict";o.d(K,{x:()=>h});var u=o(60177),e=o(54438);let h=(()=>{class c{static#e=this.\u0275fac=function(R){return new(R||c)};static#t=this.\u0275mod=e.$C({type:c});static#n=this.\u0275inj=e.G2t({providers:[u.vh],imports:[u.MD]})}return c})()},79981:(Me,K,o)=>{"use strict";o.d(K,{Z:()=>c});var u=o(75078),e=o(54438),h=o(60177);let c=(()=>{class v{transform(R,T){const A=T.dateFormatType?T.dateFormatType:u.$.default;return T.isTodayMaintain?this.convertMaintainTodayDate(R,A):this.convertTimeWithTimeZone(R,A)}constructor(R){this.dataPipe=R,this.systemTimeZone="+0800"}convertMaintainTodayDate(R,T){const A=this.dataPipe.transform(new Date,u.$.DATE_PATTERN_FOR_CALENDAR3.format);return this.dataPipe.transform(new Date(`${A} ${R} ${this.systemTimeZone}`),T.format)}convertTimeWithTimeZone(R,T){const A=new Date(`${this.dataPipe.transform(R,u.$.DATE_PATTERN_FOR_CALENDAR6.format)}`);return this.dataPipe.transform(A,T.format)}static#e=this.\u0275fac=function(T){return new(T||v)(e.rXU(h.vh,16))};static#t=this.\u0275pipe=e.EJ8({name:"dateUtil",type:v,pure:!0})}return v})()},99146:(Me,K,o)=>{"use strict";o.d(K,{N:()=>e});var u=o(54438);let e=(()=>{class h{constructor(v){this.viewContainerRef=v}static#e=this.\u0275fac=function(y){return new(y||h)(u.rXU(u.c1b))};static#t=this.\u0275dir=u.FsC({type:h,selectors:[["","drcDynamicHost",""]]})}return h})()},12871:(Me,K,o)=>{"use strict";o.d(K,{s:()=>h});var u=o(60177),e=o(54438);let h=(()=>{class c{static#e=this.\u0275fac=function(R){return new(R||c)};static#t=this.\u0275mod=e.$C({type:c});static#n=this.\u0275inj=e.G2t({imports:[u.MD]})}return c})()},68576:(Me,K,o)=>{"use strict";o.d(K,{Gp:()=>R,Rd:()=>h,o3:()=>v});var u=o(68300);class h extends u.w{constructor(A){super("QE_DEPOSIT",A)}}class v extends u.w{constructor(A){super("QE_DEPOSIT_SUCCESS",A)}}class R extends u.w{constructor(A){super("QE_DEPOSIT_THIRD_PARTY_SUBMIT",A)}}},38804:(Me,K,o)=>{"use strict";o.d(K,{_:()=>v,f:()=>c});var u=o(68300);class c extends u.w{constructor(R){super("QE_LOGIN_SUCCESS",R)}}class v extends u.w{constructor(){super("QE_LOGOUT_SUCCESS")}}},80888:(Me,K,o)=>{"use strict";o.d(K,{UZ:()=>y,Vw:()=>R,uF:()=>v});var u=o(68300);class v extends u.w{constructor(){super("QE_REGISTER_KEYUP",void 0)}}class y extends u.w{constructor(){super("QE_REGISTER_CLICK",void 0)}}class R extends u.w{constructor(A){super("QE_REGISTER_SUCCESS",A)}}},81042:(Me,K,o)=>{"use strict";o.d(K,{n:()=>c});var u=o(21413),e=o(5964),h=o(54438);let c=(()=>{class v{constructor(){this.eventBrocker=new u.B}on(R){return this.eventBrocker.pipe((0,e.p)(T=>T instanceof R))}dispatch(R){this.eventBrocker.next(R)}static#e=this.\u0275fac=function(T){return new(T||v)};static#t=this.\u0275prov=h.jDH({token:v,factory:v.\u0275fac,providedIn:"root"})}return v})()},68300:(Me,K,o)=>{"use strict";o.d(K,{w:()=>u});class u{constructor(h,c){this.type=h,this.payload=c}}},54588:(Me,K,o)=>{"use strict";o.d(K,{$:()=>R});var u=o(22806),e=o(96354),h=o(84572),c=o(96697);class v{static load(){return o.e(5502).then(o.bind(o,45502)).then(A=>A.load({monitoring:!1}))}static get(){return(0,u.H)(v.load().then(A=>A.get()))}static getVisitorId(){return v.get().pipe((0,e.T)(A=>A.visitorId))}}let y=(()=>{class T{static#e=this.browserHashKeys=["applePay","pdfViewerEnabled","cookiesEnabled","indexedDB","localStorage","math","openDatabase","sessionStorage","vendorFlavors","webGlBasics","webGlExtensions"];set browserHashKeys(S){T.browserHashKeys=S}static#t=this.deviceHashKeys=["architecture","audio","colorDepth","colorGamut","hardwareConcurrency","hdr","deviceMemory","touchSupport"];set deviceHashKeys(S){T.deviceHashKeys=S}static importModule(){return o.e(9583).then(o.bind(o,89583))}static load(){return this.importModule().then(S=>S.load())}static get(){return(0,u.H)(T.load().then(S=>S.get()))}static getVisitorId(){return T.get().pipe((0,e.T)(S=>S.visitorId))}static getBrowserHash(){return(0,h.z)([T.get(),(0,u.H)(this.importModule())]).pipe((0,c.s)(1),(0,e.T)(([S,C])=>{const P=[...T.browserHashKeys,...T.deviceHashKeys].map(B=>[B,S.components[B]]).reduce((B,[W,ee])=>(B[W]=ee,B),{});return C.hashComponents(P)}))}static getDeviceHash(){return(0,h.z)([T.get(),(0,u.H)(this.importModule())]).pipe((0,c.s)(1),(0,e.T)(([S,C])=>{const P=T.deviceHashKeys.map(B=>[B,S.components[B]]).reduce((B,[W,ee])=>(B[W]=ee,B),{});return C.hashComponents(P)}))}static getAllHash(){return(0,h.z)([T.getVisitorId(),T.getBrowserHash(),T.getDeviceHash()]).pipe((0,c.s)(1),(0,e.T)(S=>({visitorId:S[0],browserHash:S[1],deviceHash:S[2]})))}}return T})();class R{static get FingerprintJSv3(){return v}static get FingerprintJSv4(){return y}}},67487:(Me,K,o)=>{"use strict";o.d(K,{t:()=>c});var u=o(60177),e=o(31360),h=o(54438);let c=(()=>{class v{static forRoot(){return{ngModule:e.m,providers:[e.m]}}static#e=this.\u0275fac=function(T){return new(T||v)};static#t=this.\u0275mod=h.$C({type:v});static#n=this.\u0275inj=h.G2t({imports:[u.MD]})}return v})()},31360:(Me,K,o)=>{"use strict";o.d(K,{m:()=>R});var u=o(7673),e=o(25558),h=o(84572),c=o(96697),v=o(96354),y=o(54588);class R{addFingerprintData(A){return(0,u.of)(void 0).pipe((0,e.n)(()=>(0,h.z)([y.$.FingerprintJSv3.getVisitorId(),y.$.FingerprintJSv4.getAllHash()]).pipe((0,c.s)(1))),(0,v.T)(([S,C])=>({...A,fingerprint2:S,fingerprint4:C.visitorId,browserHash:C.browserHash,deviceHash:C.deviceHash})))}}},22741:(Me,K,o)=>{"use strict";o.d(K,{s:()=>S});var u=o(54438),e=o(60177),h=o(51188),c=o(21413),v=o(5964),y=o(70152),R=o(88141),T=o(96697),A=o(56977);let S=(()=>{class C{constructor(){this.isBrowser=(0,e.UE)((0,u.WQX)(u.Agw)),this.router=(0,u.WQX)(h.Ix),this.reset$=new c.B}forceReloadAfterRouterNavigation(){this.reset$.next(null),this.router.events.pipe((0,v.p)(P=>P instanceof h.wF),(0,y.B)(100),(0,R.M)(()=>console.warn("forceUpdateStart")),(0,T.s)(1),(0,A.Q)(this.reset$)).subscribe(P=>{location.reload()})}static#e=this.\u0275fac=function(B){return new(B||C)};static#t=this.\u0275prov=u.jDH({token:C,factory:C.\u0275fac,providedIn:"root"})}return C})()},86646:(Me,K,o)=>{"use strict";o.d(K,{_:()=>h});var u=o(54438),e=o(81084);let h=(()=>{class c{constructor(){this.cdnService=(0,u.WQX)(e.H),this.prefix="url(",this.suffix=")"}detectElementChanges(y){new MutationObserver(T=>{for(const A of T){const S=A.target;if("img"!==S.tagName.toLowerCase()&&S.tagName){const C=S.getAttribute("style")??"";new RegExp(/(background-image)/,"i").test(C)&&(S.style.backgroundImage=this.urlReplace(S.style.backgroundImage)),new RegExp(/(-webkit-mask-image)/,"i").test(C)&&(S.style.webkitMaskImage=this.urlReplace(S.style.webkitMaskImage))}}}).observe(y,{attributes:!0,subtree:!0,attributeFilter:["style","src"],attributeOldValue:!0})}urlReplace(y){const R=y.split(",");if(1===R.length){const T=y.replace(/url\(['"](.+)['"]\)/,"$1");return T&&!new RegExp("^https","i").test(T)&&(y=`${this.prefix}${this.cdnService.useWithServer(T)}${this.suffix}`),y}return R.length>1&&!R.every(T=>T.includes("https"))?R.map(T=>{const A=T.replace(/url\(['"](.+)['"]\)/,"$1");return A&&!new RegExp("^https","i").test(A)?`${this.prefix}'${this.cdnService.useWithServer(A.trim())}'${this.suffix}`:T}).join(","):y}static#e=this.\u0275fac=function(R){return new(R||c)};static#t=this.\u0275prov=u.jDH({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})()},8688:(Me,K,o)=>{"use strict";o.d(K,{H:()=>h});var u=o(54438),e=o(81084);let h=(()=>{class c{constructor(){this.cdnService=(0,u.WQX)(e.H),this.prefix="url(",this.suffix=")"}transform(y){return y?`${this.prefix}'${this.cdnService.useWithServer(y)}'${this.suffix}`:""}static#e=this.\u0275fac=function(R){return new(R||c)};static#t=this.\u0275pipe=u.EJ8({name:"imageUrl",type:c,pure:!0})}return c})()},97944:(Me,K,o)=>{"use strict";o.d(K,{L:()=>h});var u=o(60177),e=o(54438);let h=(()=>{class c{static#e=this.\u0275fac=function(R){return new(R||c)};static#t=this.\u0275mod=e.$C({type:c});static#n=this.\u0275inj=e.G2t({imports:[u.MD]})}return c})()},41842:(Me,K,o)=>{"use strict";o.d(K,{f:()=>c});var u=o(54438),e=o(60177),h=o(81084);let c=(()=>{class v{constructor(){this.isBrowser=(0,e.UE)((0,u.WQX)(u.Agw)),this.webSiteCustomPath="/images/wsc/",this.nativeEl=(0,u.WQX)(u.aKT).nativeElement,this.cdnService=(0,u.WQX)(h.H),this.rawSrc="",this.loading="lazy",this.renderWhileNotBrowser=!1}ngOnChanges(R){R.rawSrc&&R.rawSrc.currentValue&&this.handlerImageProps(R.rawSrc.currentValue),R.loading&&this.nativeEl.setAttribute("loading",R.loading.currentValue)}ngOnInit(){this.nativeEl&&"lazy"===this.loading&&this.nativeEl.setAttribute("loading","lazy")}handlerImagePath(R){this.isBrowser||this.renderWhileNotBrowser?((R=R||"").indexOf(this.webSiteCustomPath)>=0&&console.warn(`Don't use wsc url : ${R}`),this.nativeEl.src=`${this.cdnService.useWithServer(R,{k:"source",v:"drccdnsrc"})}`):this.nativeEl.src=""}handlerImageAlt(R){if(R=R||"",!this.nativeEl.alt){const T=R.split("/");if(T.length>0){const A=T[T.length-1].split(".");2===A.length&&(this.nativeEl.alt=A[0])}}}handlerImageProps(R){this.handlerImageAlt(R),this.handlerImagePath(R)}static#e=this.\u0275fac=function(T){return new(T||v)};static#t=this.\u0275dir=u.FsC({type:v,selectors:[["img","drcCdnSrc",""]],inputs:{rawSrc:[u.Mj6.None,"drcCdnSrc","rawSrc"],loading:"loading",renderWhileNotBrowser:"renderWhileNotBrowser"},features:[u.OA$]})}return v})()},18287:(Me,K,o)=>{"use strict";o.d(K,{m:()=>h});var u=o(60177),e=o(54438);let h=(()=>{class c{static#e=this.\u0275fac=function(R){return new(R||c)};static#t=this.\u0275mod=e.$C({type:c});static#n=this.\u0275inj=e.G2t({imports:[u.MD]})}return c})()},65210:(Me,K,o)=>{"use strict";o.d(K,{h:()=>v});var u=o(54438),e=o(89079),h=o(41842),c=o(33726);let v=(()=>{class y extends h.f{constructor(){super(...arguments),this.eleRef=(0,u.WQX)(u.aKT),this.destroyRef=(0,u.WQX)(u.abz),this.rawSrc="",this.poster="",this.posterAlt=""}ngOnInit(){super.ngOnInit(),this.bindImageErrorEvent()}bindImageErrorEvent(){(0,c.R)(this.eleRef.nativeElement,"error").pipe((0,e.pQ)(this.destroyRef)).subscribe(()=>{this.handlerImageProps(this.poster),this.posterAlt&&(this.eleRef.nativeElement.alt=this.posterAlt)})}static#e=this.\u0275fac=(()=>{let T;return function(S){return(T||(T=u.xGo(y)))(S||y)}})();static#t=this.\u0275dir=u.FsC({type:y,selectors:[["img","drcCdnSrc",""]],inputs:{rawSrc:[u.Mj6.None,"drcCdnSrc","rawSrc"],poster:"poster",posterAlt:"posterAlt"},features:[u.Vt3]})}return y})()},76672:(Me,K,o)=>{"use strict";o.d(K,{g:()=>c});var u=o(60177),e=o(54438),h=o(71522);let c=(()=>{class v{constructor(R){this.platformId=R}getLocalLanguage(){let R=h.t.default;if((0,u.UE)(this.platformId)){const T=localStorage.getItem("languageType");if(!isNaN(Number(T))){const A=h.t.getInstanceOf(Number(T));A&&(R=A)}}return R}static#e=this.\u0275fac=function(T){return new(T||v)(e.KVO(e.Agw))};static#t=this.\u0275prov=e.jDH({token:v,factory:v.\u0275fac,providedIn:"root"})}return v})()},90011:(Me,K,o)=>{"use strict";o.d(K,{S:()=>h});var u=o(45829),e=o(54438);let h=(()=>{class c{constructor(y){this.loaderBoxState=y}setLoadingState(y){this.loaderBoxState.set({isLoading:y})}get state$(){return this.loaderBoxState.select("isLoading")}static#e=this.\u0275fac=function(R){return new(R||c)(e.KVO(u.m))};static#t=this.\u0275prov=e.jDH({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})()},45829:(Me,K,o)=>{"use strict";o.d(K,{m:()=>h});var u=o(94768);const h=new(o(54438).nKC)("LOADER_BOX_STATE",{providedIn:"root",factory:()=>{const c=new u.Y;return c.set({isLoading:!1}),c}})},73927:(Me,K,o)=>{"use strict";o.d(K,{z:()=>Ee});var h=1e6,c=1e6,T="[big.js] ",A=T+"Invalid ",S=A+"decimal places",C=A+"rounding mode",x=T+"Division by zero",P={},B=void 0,W=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;function Y(F,j,te,J){var $=F.c;if(te===B&&(te=F.constructor.RM),0!==te&&1!==te&&2!==te&&3!==te)throw Error(C);if(j<1)J=3===te&&(J||!!$[0])||0===j&&(1===te&&$[0]>=5||2===te&&($[0]>5||5===$[0]&&(J||$[1]!==B))),$.length=1,J?(F.e=F.e-j+1,$[0]=1):$[0]=F.e=0;else if(j<$.length){if(J=1===te&&$[j]>=5||2===te&&($[j]>5||5===$[j]&&(J||$[j+1]!==B||1&$[j-1]))||3===te&&(J||!!$[0]),$.length=j,J)for(;++$[--j]>9;)if($[j]=0,0===j){++F.e,$.unshift(1);break}for(j=$.length;!$[--j];)$.pop()}return F}function re(F,j,te){var J=F.e,$=F.c.join(""),ce=$.length;if(j)$=$.charAt(0)+(ce>1?"."+$.slice(1):"")+(J<0?"e":"e+")+J;else if(J<0){for(;++J;)$="0"+$;$="0."+$}else if(J>0)if(++J>ce)for(J-=ce;J--;)$+="0";else J1&&($=$.charAt(0)+"."+$.slice(1));return F.s<0&&te?"-"+$:$}P.abs=function(){var F=new this.constructor(this);return F.s=1,F},P.cmp=function(F){var j,J=this.c,$=(F=new this.constructor(F)).c,ce=this.s,ue=F.s,Te=this.e,_e=F.e;if(!J[0]||!$[0])return J[0]?ce:$[0]?-ue:0;if(ce!=ue)return ce;if(j=ce<0,Te!=_e)return Te>_e^j?1:-1;for(ue=(Te=J.length)<(_e=$.length)?Te:_e,ce=-1;++ce$[ce]^j?1:-1;return Te==_e?0:Te>_e^j?1:-1},P.div=function(F){var j=this,te=j.constructor,J=j.c,$=(F=new te(F)).c,ce=j.s==F.s?1:-1,ue=te.DP;if(ue!==~~ue||ue<0||ue>h)throw Error(S);if(!$[0])throw Error(x);if(!J[0])return F.s=ce,F.c=[F.e=0],F;var Te,_e,Ge,Ve,dt,at=$.slice(),ye=Te=$.length,Oe=J.length,we=J.slice(0,Te),Ce=we.length,$e=F,Ye=$e.c=[],ut=0,mt=ue+($e.e=j.e-F.e)+1;for($e.s=ce,ce=mt<0?0:mt,at.unshift(0);Ce++Ce?1:-1;else for(dt=-1,Ve=0;++dtwe[dt]?1:-1;break}if(!(Ve<0))break;for(_e=Ce==Te?$:at;Ce;){if(we[--Ce]<_e[Ce]){for(dt=Ce;dt&&!we[--dt];)we[dt]=9;--we[dt],we[Ce]+=10}we[Ce]-=_e[Ce]}for(;!we[0];)we.shift()}Ye[ut++]=Ve?Ge:++Ge,we[0]&&Ve?we[Ce]=J[ye]||0:we=[J[ye]]}while((ye++mt&&Y($e,mt,te.RM,we[0]!==B),$e},P.eq=function(F){return 0===this.cmp(F)},P.gt=function(F){return this.cmp(F)>0},P.gte=function(F){return this.cmp(F)>-1},P.lt=function(F){return this.cmp(F)<0},P.lte=function(F){return this.cmp(F)<1},P.minus=P.sub=function(F){var j,te,J,$,ce=this,ue=ce.constructor,Te=ce.s,_e=(F=new ue(F)).s;if(Te!=_e)return F.s=-_e,ce.plus(F);var Ge=ce.c.slice(),Ve=ce.e,dt=F.c,at=F.e;if(!Ge[0]||!dt[0])return dt[0]?F.s=-_e:Ge[0]?F=new ue(ce):F.s=1,F;if(Te=Ve-at){for(($=Te<0)?(Te=-Te,J=Ge):(at=Ve,J=dt),J.reverse(),_e=Te;_e--;)J.push(0);J.reverse()}else for(te=(($=Ge.length0)for(;_e--;)Ge[j++]=0;for(_e=j;te>Te;){if(Ge[--te]0?(_e=ue,J=Ge):(j=-j,J=Te),J.reverse();j--;)J.push(0);J.reverse()}for(Te.length-Ge.length<0&&(J=Ge,Ge=Te,Te=J),j=Ge.length,te=0;j;Te[j]%=10)te=(Te[--j]=Te[j]+Ge[j]+te)/10|0;for(te&&(Te.unshift(te),++_e),j=Te.length;0===Te[--j];)Te.pop();return F.c=Te,F.e=_e,F},P.pow=function(F){var j=this,te=new j.constructor("1"),J=te,$=F<0;if(F!==~~F||F<-c||F>c)throw Error(A+"exponent");for($&&(F=-F);1&F&&(J=J.times(j)),F>>=1;)j=j.times(j);return $?te.div(J):J},P.prec=function(F,j){if(F!==~~F||F<1||F>h)throw Error(A+"precision");return Y(new this.constructor(this),F,j)},P.round=function(F,j){if(F===B)F=0;else if(F!==~~F||F<-h||F>h)throw Error(S);return Y(new this.constructor(this),F+this.e+1,j)},P.sqrt=function(){var F,j,te,J=this,$=J.constructor,ce=J.s,ue=J.e,Te=new $("0.5");if(!J.c[0])return new $(J);if(ce<0)throw Error(T+"No square root");0===(ce=Math.sqrt(J+""))||ce===1/0?((j=J.c.join("")).length+ue&1||(j+="0"),ue=((ue+1)/2|0)-(ue<0||1&ue),F=new $(((ce=Math.sqrt(j))==1/0?"5e":(ce=ce.toExponential()).slice(0,ce.indexOf("e")+1))+ue)):F=new $(ce+""),ue=F.e+($.DP+=4);do{F=Te.times((te=F).plus(J.div(te)))}while(te.c.slice(0,ue).join("")!==F.c.slice(0,ue).join(""));return Y(F,($.DP-=4)+F.e+1,$.RM)},P.times=P.mul=function(F){var j,$=this.c,ce=(F=new(0,this.constructor)(F)).c,ue=$.length,Te=ce.length,_e=this.e,Ge=F.e;if(F.s=this.s==F.s?1:-1,!$[0]||!ce[0])return F.c=[F.e=0],F;for(F.e=_e+Ge,ue_e;)Te=j[Ge]+ce[_e]*$[Ge-_e-1]+Te,j[Ge--]=Te%10,Te=Te/10|0;j[Ge]=Te}for(Te?++F.e:j.shift(),_e=j.length;!j[--_e];)j.pop();return F.c=j,F},P.toExponential=function(F,j){var te=this,J=te.c[0];if(F!==B){if(F!==~~F||F<0||F>h)throw Error(S);for(te=Y(new te.constructor(te),++F,j);te.c.lengthh)throw Error(S);for(F=F+(te=Y(new te.constructor(te),F+te.e+1,j)).e+1;te.c.length=j.PE,!!F.c[0])},P.toNumber=function(){var F=Number(re(this,!0,!0));if(!0===this.constructor.strict&&!this.eq(F.toString()))throw Error(T+"Imprecise conversion");return F},P.toPrecision=function(F,j){var te=this,J=te.constructor,$=te.c[0];if(F!==B){if(F!==~~F||F<1||F>h)throw Error(A+"precision");for(te=Y(new J(te),F,j);te.c.length=J.PE,!!$)},P.valueOf=function(){var F=this,j=F.constructor;if(!0===j.strict)throw Error(T+"valueOf disallowed");return re(F,F.e<=j.NE||F.e>=j.PE,!0)};const le=function ee(){function F(j){var te=this;if(!(te instanceof F))return j===B?ee():new F(j);if(j instanceof F)te.s=j.s,te.e=j.e,te.c=j.c.slice();else{if("string"!=typeof j){if(!0===F.strict&&"bigint"!=typeof j)throw TypeError(A+"value");j=0===j&&1/j<0?"-0":String(j)}!function se(F,j){var te,J,$;if(!W.test(j))throw Error(A+"number");for(F.s="-"==j.charAt(0)?(j=j.slice(1),-1):1,(te=j.indexOf("."))>-1&&(j=j.replace(".","")),(J=j.search(/e/i))>0?(te<0&&(te=J),te+=+j.slice(J+1),j=j.substring(0,J)):te<0&&(te=j.length),$=j.length,J=0;J<$&&"0"==j.charAt(J);)++J;if(J==$)F.c=[F.e=0];else{for(;$>0&&"0"==j.charAt(--$););for(F.e=te-J-1,F.c=[],te=0;J<=$;)F.c[te++]=+j.charAt(J++)}}(te,j)}te.constructor=F}return F.prototype=P,F.DP=20,F.RM=1,F.NE=-7,F.PE=21,F.strict=!1,F.roundDown=0,F.roundHalfUp=1,F.roundHalfEven=2,F.roundUp=3,F}();let Ee=(()=>{class F{static add(te,J){const $=new le(te),ce=new le(J);return $.add(ce).toNumber()}static multiply(te,J){return this.mul(te,J)}static bigDiv(te,J){const $=new le(te),ce=new le(J);return $.div(ce).toNumber()}static bigMul(te,J){const $=new le(te),ce=new le(J);return $.mul(ce).toNumber()}static divide(te,J){let $=0,ce=0,ue=0,Te=0;try{$=te.toString().split(".")[1].length}catch{}try{ce=J.toString().split(".")[1].length}catch{}return ue=Number(te.toString().replace(".","")),Te=Number(J.toString().replace(".","")),F.mul(ue/Te,Math.pow(10,ce-$))}static#e=this.ceil=(te,J=2)=>{const $=Math.pow(10,J);return this.divide(Math.ceil(this.mul(te,$)),$)};static#t=this.floor=(te,J=2)=>{const $=Math.pow(10,J);return this.divide(Math.floor(this.mul(te,$)),$)};static#n=this.round=(te,J=2)=>{const $=Math.pow(10,J);return this.divide(Math.round(this.mul(te,$)),$)};static#i=this.isAmountFormat=(te,J=2)=>new RegExp(`^[0-9]+(.[0-9]{0,${J}})?$`).test(te.toString());static#s=this.amountFormatCheck=(te,J=2)=>{if(!F.isAmountFormat(te,J))return"";let $=te.toString();const ce=$.substring(0,1),ue=$.substring(1,1);if(ce.length>1&&"0"===ce&&"."!==ue&&($=$.substring(1,1)),"."===ce&&($=""),-1!==$.indexOf(".")){const Te=$.substring($.indexOf(".")+1);-1!==Te.indexOf(".")&&($=$.substring(0,$.indexOf(".")+Te.indexOf(".")+1))}return $};static#r=this.mul=(te,J)=>{let $=0,ce=0,ue=0,Te=0;const _e=te.toString(),Ge=J.toString();try{$=_e.toString().split(".")[1].length}catch{}try{ce=Ge.toString().split(".")[1].length}catch{}return ue=Number(_e.toString().replace(".","")),Te=Number(Ge.toString().replace(".","")),ue*Te/Math.pow(10,$+ce)};static#o=this.getRandomInt=(te,J)=>Math.floor(Math.random()*(J-te+1))+te}return F})()},88417:(Me,K,o)=>{"use strict";o.d(K,{x:()=>c});var u=o(54438),e=o(60177),h=o(46754);let c=(()=>{class v{static forRoot(R){return{ngModule:v,providers:[h.s,{provide:u.hnV,useFactory:T=>()=>T.init(),deps:[h.s],multi:!0},{provide:u.iLQ,useFactory:T=>A=>T.registerBootstrap(A),deps:[h.s],multi:!0},...R||[]]}}static#e=this.\u0275fac=function(T){return new(T||v)};static#t=this.\u0275mod=u.$C({type:v});static#n=this.\u0275inj=u.G2t({imports:[e.MD]})}return v})()},46754:(Me,K,o)=>{"use strict";o.d(K,{s:()=>A});var u=o(60177),e=o(54438),h=o(51188),c=o(88141),v=o(56977),y=o(21413),R=o(78382),T=o(74851);let A=(()=>{class S{constructor(){this.isBrowser=(0,u.UE)((0,e.WQX)(e.Agw)),this.router=(0,e.WQX)(h.Ix),this._beforeNavigationBack$=new y.B,this._afterNavigationBack$=new y.B,this.beforeNavigationBack$=this._beforeNavigationBack$.asObservable(),this.afterNavigationBack$=this._afterNavigationBack$.asObservable(),this.histories=[],this.isInit=!1,this.destroy$=new y.B}init(){return!this.isBrowser||this.isInit||(this.observeNavigationEnd(),this.isInit=!0),!0}back(){if(!this.isBrowser)return Promise.resolve(!1);const x={url:""},P=this.histories;P.pop();let B={url:"/"};if(P.length>0){const W=P[P.length-1];B=T.C.startWithLink(W.url)===T.C.LANDING_PAGE?{url:T.C.MAIN.link}:W}return this._beforeNavigationBack$.next({from:x,to:B}),this.router.navigateByUrl(B.url,{state:B.state}).then(W=>(this._afterNavigationBack$.next({from:x,to:B,succeed:W}),W))}observeNavigationEnd(){this.isBrowser&&this.router.events.pipe((0,c.M)(x=>{if(x instanceof h.wF){if(this.router.getCurrentNavigation()?.extras.state?.[R.m])return;const P=this.histories;let B;try{B=history?.state}catch(se){console.error(se)}const W=x.urlAfterRedirects,ee=P.findIndex(se=>se.url===W);P.push(ee<0?{url:W,state:B}:P.splice(ee,1)[0])}}),(0,v.Q)(this.destroy$)).subscribe()}registerBootstrap(x){x.onDestroy(()=>{this.destroy$.next(),this.destroy$.unsubscribe()})}forcePopHistory(){return this.histories.pop()}replaceLatest(x){const P=this.histories[this.histories.length-1];P&&(P.url=x)}navigateWithCurrentUrlPush(x){this.histories.push({url:this.router.url}),this.router.navigateByUrl(x)}static#e=this.\u0275fac=function(P){return new(P||S)};static#t=this.\u0275prov=e.jDH({token:S,factory:S.\u0275fac})}return S})()},26694:(Me,K,o)=>{"use strict";o.d(K,{l:()=>h});var u=o(54438),e=o(46754);let h=(()=>{class c{constructor(y){this.navigationHistoryService=y}onClick(){this.navigationHistoryService.back()}static#e=this.\u0275fac=function(R){return new(R||c)(u.rXU(e.s))};static#t=this.\u0275dir=u.FsC({type:c,selectors:[["","drcPrevious",""]],hostBindings:function(R,T){1&R&&u.bIt("click",function(){return T.onClick()})}})}return c})()},20421:(Me,K,o)=>{"use strict";o.d(K,{V:()=>u});class u{static isAndroid(){try{const h=navigator.userAgent||navigator.vendor;if(!/android/i.test(h))return!1}catch{console.log("OsDetector: not browser, no navigator, detect isAndroid() failed, auto return false")}return!0}static isIOS(){try{const h=navigator.userAgent||navigator.vendor;if(!/iPad|iPhone|iPod/.test(h))return!1}catch{console.log("OsDetector: not browser, no navigator, detect isIOS() failed, auto return false")}return!0}}},31410:(Me,K,o)=>{"use strict";o.d(K,{V:()=>h});var u=o(60177),e=o(54438);let h=(()=>{class c{constructor(y,R){this._viewContainer=y,this._templateRef=R,this.isPlatformBrowser=(0,u.UE)((0,e.WQX)(e.Agw))}ngOnInit(){this.isPlatformBrowser?this._viewContainer.createEmbeddedView(this._templateRef):this._viewContainer.clear()}static#e=this.\u0275fac=function(R){return new(R||c)(e.rXU(e.c1b),e.rXU(e.C4Q))};static#t=this.\u0275dir=e.FsC({type:c,selectors:[["","drcPrerenderIgnore",""]]})}return c})()},49743:(Me,K,o)=>{"use strict";o.d(K,{e:()=>h});var u=o(60177),e=o(54438);let h=(()=>{class c{static#e=this.\u0275fac=function(R){return new(R||c)};static#t=this.\u0275mod=e.$C({type:c});static#n=this.\u0275inj=e.G2t({imports:[u.MD]})}return c})()},39101:(Me,K,o)=>{"use strict";o.d(K,{R:()=>h});var u=o(60177),e=o(54438);let h=(()=>{class c{static#e=this.\u0275fac=function(R){return new(R||c)};static#t=this.\u0275mod=e.$C({type:c});static#n=this.\u0275inj=e.G2t({imports:[u.MD]})}return c})()},89257:(Me,K,o)=>{"use strict";o.d(K,{$n:()=>h,og:()=>T});var u=o(54438),e=o(345);let h=(()=>{class S{constructor(x){this.sanitizer=x}transform(x){return this.sanitizer.bypassSecurityTrustHtml(x)}static#e=this.\u0275fac=function(P){return new(P||S)(u.rXU(e.up,16))};static#t=this.\u0275pipe=u.EJ8({name:"safeHtml",type:S,pure:!0})}return S})(),T=(()=>{class S{constructor(x){this.sanitizer=x}transform(x){if(!x)return"";const P=document.createElement("textarea");return P.innerHTML=x,new h(this.sanitizer).transform(P.value)}static#e=this.\u0275fac=function(P){return new(P||S)(u.rXU(e.up,16))};static#t=this.\u0275pipe=u.EJ8({name:"decodeHtml",type:S,pure:!0})}return S})()},33346:(Me,K,o)=>{"use strict";o.d(K,{x:()=>A});var u=o(84412),e=o(5964),h=o(88141),c=o(54438),v=o(60177),y=o(21413),R=function(S){return S.ACTIVE="active",S.PASSIVE="passive",S.HIDDEN="hidden",S.FROZEN="frozen",S.TERMINATED="terminated",S}(R||{});let T=(()=>{class S{get state(){return this._state$.value}constructor(){if(this.LifecycleState=R,this.isBrowser=(0,v.UE)((0,c.WQX)(c.Agw)),this._state$=new u.t(null),this._stateChange$=new y.B,this.state$=this._state$.asObservable(),this.stateChange$=this._stateChange$.asObservable(),this.isBrowser)try{o.e(8405).then(o.bind(o,18405)).then(x=>{this.pageLifecycleAPI=x.default,this._state$.next(this.pageLifecycleAPI.state),this.pageLifecycleAPI.addEventListener("statechange",B=>{this._state$.next(B.newState),this._stateChange$.next(B)})})}catch(x){console.error(x)}}static#e=this.\u0275fac=function(P){return new(P||S)};static#t=this.\u0275prov=c.jDH({token:S,factory:S.\u0275fac,providedIn:"root"})}return S})(),A=(()=>{class S{constructor(){this.storageKey="NEED_TRANSFER_ALL_TO",this.isBrowser=(0,v.UE)((0,c.WQX)(c.Agw)),this.pageLifecycleService=(0,c.WQX)(T),this._isNeedTransfer$=new u.t(!1),this.onTransferNeeded$=this._isNeedTransfer$.pipe((0,e.p)(()=>!!this.isPageActive),(0,e.p)(x=>!!x)),this.isInit=!1}get needTransfer(){return this._isNeedTransfer$.value}get isPageActive(){return this.pageLifecycleService.state===this.pageLifecycleService.LifecycleState.ACTIVE}get storage(){return localStorage}getStateFromStorage(){return!!this.isBrowser&&"true"===this.storage.getItem(this.storageKey)}setStateToStorage(x){this.isBrowser&&this.storage.setItem(this.storageKey,`${x}`)}observePageDisplay(){this.checkState(),this.pageLifecycleService.stateChange$.pipe((0,e.p)(x=>x.newState===this.pageLifecycleService.LifecycleState.ACTIVE),(0,h.M)(()=>this.checkState())).subscribe()}startObserve(){this.isBrowser&&(this.isInit||(this.observePageDisplay(),this.isInit=!0))}markAsNeedTransfer(x={emitEvent:!0}){this.setStateToStorage(!0),x.emitEvent&&this._isNeedTransfer$.next(!0)}markAsTransfered(x={emitEvent:!0}){this.setStateToStorage(!1),x.emitEvent&&this._isNeedTransfer$.next(!1)}checkState(){this.getStateFromStorage()&&this.markAsNeedTransfer()}static#e=this.\u0275fac=function(P){return new(P||S)};static#t=this.\u0275prov=c.jDH({token:S,factory:S.\u0275fac,providedIn:"root"})}return S})()},92455:(Me,K,o)=>{"use strict";o.d(K,{i:()=>h});var u=o(60177),e=o(54438);let h=(()=>{class c{static#e=this.\u0275fac=function(R){return new(R||c)};static#t=this.\u0275mod=e.$C({type:c});static#n=this.\u0275inj=e.G2t({imports:[u.MD]})}return c})()},91664:(Me,K,o)=>{"use strict";o.d(K,{d:()=>R});var u=o(60177),e=o(54438),h=o(89079),c=o(45829),v=o(5964),y=o(91986);let R=(()=>{class T{constructor(S){this._elementRef=S,this.visibilityChange=new e.bkB,this._observer=null,this.destroyRef=(0,e.WQX)(e.abz),this.isBrowser=(0,u.UE)((0,e.WQX)(e.Agw)),this.isLoading$=(0,e.WQX)(c.m).select("isLoading"),this._callback=(C,x)=>{C.forEach(P=>this.visibilityChange.emit(P.isIntersecting?"VISIBLE":"HIDDEN"))}}ngAfterViewInit(){this.isBrowser&&this.isLoading$.pipe((0,v.p)(S=>!S),(0,y.c)(1e3),(0,h.pQ)(this.destroyRef)).subscribe(()=>{this._observer=new IntersectionObserver(this._callback,{root:null,rootMargin:"0px",threshold:0}),this._observer.observe(this._elementRef.nativeElement)})}ngOnDestroy(){this._observer?.disconnect()}static#e=this.\u0275fac=function(C){return new(C||T)(e.rXU(e.aKT,1))};static#t=this.\u0275dir=e.FsC({type:T,selectors:[["","drcVisibilityDetector",""]],outputs:{visibilityChange:"visibilityChange"}})}return T})()},57761:(Me,K,o)=>{"use strict";o.d(K,{a:()=>h});var u=o(60177),e=o(54438);let h=(()=>{class c{static#e=this.\u0275fac=function(R){return new(R||c)};static#t=this.\u0275mod=e.$C({type:c});static#n=this.\u0275inj=e.G2t({imports:[u.MD]})}return c})()},62405:(Me,K,o)=>{"use strict";o.d(K,{o:()=>y,p:()=>v});var u=o(84412),e=o(5964),h=o(96697),c=o(88141);const v="OPENED_WINDOW_READY";class y{constructor(T){this.name=T,this.isReady$=new u.t(!1),this.winRef=null,this.isReadyListener=A=>{A.data===v&&(this.isReady$.next(!0),this.winRef?.removeEventListener("message",this.isReadyListener))}}getWinRef(){return this.winRef}open(T){const A=window.open(T,"_blank","noopener=no,noreferrer=no");return A?.addEventListener("message",this.isReadyListener),this.winRef=A,this}postMessage(T){const A={from:this.name,payload:T};return localStorage.setItem(this.name,JSON.stringify(T)),this.winRef?(this.isReady$.pipe((0,e.p)(S=>!!S),(0,h.s)(1),(0,c.M)(()=>{this.winRef?.postMessage(A)})).subscribe(),this):(console.warn("No winRef!.",A),this)}redirect(T){this.winRef?this.winRef.location.href=T:console.warn("No winRef!.",T)}}},92608:(Me,K,o)=>{"use strict";o.d(K,{nk:()=>Y,Gz:()=>B,HR:()=>te,AV:()=>J,Jn:()=>W});var u=o(10467),e=o(54438),h=o(84412),c=o(92771),v=o(21413);class y extends v.B{constructor(){super(...arguments),this._value=null,this._hasValue=!1,this._isComplete=!1}_checkFinalizedStatuses(ce){const{hasError:ue,_hasValue:Te,_value:_e,thrownError:Ge,isStopped:Ve,_isComplete:dt}=this;ue?ce.error(Ge):(Ve||dt)&&(Te&&ce.next(_e),ce.complete())}next(ce){this.isStopped||(this._value=ce,this._hasValue=!0)}complete(){const{_hasValue:ce,_value:ue,_isComplete:Te}=this;Te||(this._isComplete=!0,ce&&super.next(ue),super.complete())}}var R=o(74402),T=o(65245),A=o(5964),S=o(96697);class C{constructor(){}loadScript(ce,ue,Te,_e=null){if(typeof document<"u"&&!document.getElementById(ce)){let Ge=document.createElement("script");Ge.async=!0,Ge.src=ue,Ge.onload=Te,_e||(_e=document.head),_e.appendChild(Ge)}}}class x{}const P={oneTapEnabled:!0};let B=(()=>{class $ extends C{static#e=this.PROVIDER_ID="GOOGLE";constructor(ue,Te){super(),this.clientId=ue,this.initOptions=Te,this.changeUser=new e.bkB,this._socialUser=new h.t(null),this._accessToken=new h.t(null),this._receivedAccessToken=new e.bkB,this.initOptions={...P,...this.initOptions},this._socialUser.pipe((0,T.i)(1)).subscribe(this.changeUser),this._accessToken.pipe((0,T.i)(1)).subscribe(this._receivedAccessToken)}initialize(ue){return new Promise((Te,_e)=>{try{this.loadScript($.PROVIDER_ID,"https://accounts.google.com/gsi/client",()=>{if(google.accounts.id.initialize({client_id:this.clientId,auto_select:ue,callback:({credential:Ge})=>{const Ve=this.createSocialUser(Ge);this._socialUser.next(Ve)},prompt_parent_id:this.initOptions?.prompt_parent_id,itp_support:this.initOptions.oneTapEnabled}),this.initOptions.oneTapEnabled&&this._socialUser.pipe((0,A.p)(Ge=>null===Ge)).subscribe(()=>google.accounts.id.prompt(console.debug)),this.initOptions.scopes){const Ge=this.initOptions.scopes instanceof Array?this.initOptions.scopes.filter(Ve=>Ve).join(" "):this.initOptions.scopes;this._tokenClient=google.accounts.oauth2.initTokenClient({client_id:this.clientId,scope:Ge,prompt:this.initOptions.prompt,callback:Ve=>{Ve.error?this._accessToken.error({code:Ve.error,description:Ve.error_description,uri:Ve.error_uri}):this._accessToken.next(Ve.access_token)}})}Te()})}catch(Ge){_e(Ge)}})}getLoginStatus(){return new Promise((ue,Te)=>{this._socialUser.value?ue(this._socialUser.value):Te(`No user is currently logged in with ${$.PROVIDER_ID}`)})}refreshToken(){return new Promise((ue,Te)=>{google.accounts.id.revoke(this._socialUser.value.id,_e=>{_e.error?Te(_e.error):ue(this._socialUser.value)})})}getAccessToken(){return new Promise((ue,Te)=>{this._tokenClient?(this._tokenClient.requestAccessToken({hint:this._socialUser.value?.email}),this._receivedAccessToken.pipe((0,S.s)(1)).subscribe(ue)):Te(this._socialUser.value?"No token client was instantiated, you should specify some scopes.":"You should be logged-in first.")})}revokeAccessToken(){return new Promise((ue,Te)=>{this._tokenClient?this._accessToken.value?google.accounts.oauth2.revoke(this._accessToken.value,()=>{this._accessToken.next(null),ue()}):Te("No access token to revoke"):Te("No token client was instantiated, you should specify some scopes.")})}signIn(){return Promise.reject('You should not call this method directly for Google, use "" wrapper or generate the button yourself with "google.accounts.id.renderButton()" (https://developers.google.com/identity/gsi/web/guides/display-button#javascript)')}signOut(){var ue=this;return(0,u.A)(function*(){google.accounts.id.disableAutoSelect(),ue._socialUser.next(null)})()}createSocialUser(ue){const Te=new x;Te.idToken=ue;const _e=this.decodeJwt(ue);return Te.id=_e.sub,Te.name=_e.name,Te.email=_e.email,Te.photoUrl=_e.picture,Te.firstName=_e.given_name,Te.lastName=_e.family_name,Te}decodeJwt(ue){const _e=ue.split(".")[1].replace(/-/g,"+").replace(/_/g,"/"),Ge=decodeURIComponent(window.atob(_e).split("").map(function(Ve){return"%"+("00"+Ve.charCodeAt(0).toString(16)).slice(-2)}).join(""));return JSON.parse(Ge)}}return $})(),W=(()=>{class ${static#e=this.ERR_LOGIN_PROVIDER_NOT_FOUND="Login provider not found";static#t=this.ERR_NOT_LOGGED_IN="Not logged in";static#n=this.ERR_NOT_INITIALIZED="Login providers not ready yet. Are there errors on your console?";static#i=this.ERR_NOT_SUPPORTED_FOR_REFRESH_TOKEN="Chosen login provider is not supported for refreshing a token";static#s=this.ERR_NOT_SUPPORTED_FOR_ACCESS_TOKEN="Chosen login provider is not supported for getting an access token";get authState(){return this._authState.asObservable()}get initState(){return this._initState.asObservable()}constructor(ue,Te,_e){this._ngZone=Te,this._injector=_e,this.providers=new Map,this.autoLogin=!1,this._user=null,this._authState=new c.m(1),this.initialized=!1,this._initState=new y,ue instanceof Promise?ue.then(Ge=>{this.initialize(Ge)}):this.initialize(ue)}initialize(ue){this.autoLogin=void 0!==ue.autoLogin&&ue.autoLogin;const{onError:Te=console.error}=ue;ue.providers.forEach(_e=>{this.providers.set(_e.id,"prototype"in _e.provider?this._injector.get(_e.provider):_e.provider)}),Promise.all(Array.from(this.providers.values()).map(_e=>_e.initialize(this.autoLogin))).then(()=>{if(this.autoLogin){const _e=[];let Ge=!1;this.providers.forEach((Ve,dt)=>{const at=Ve.getLoginStatus();_e.push(at),at.then(ye=>{this.setUser(ye,dt),Ge=!0}).catch(console.debug)}),Promise.all(_e).catch(()=>{Ge||(this._user=null,this._authState.next(null))})}this.providers.forEach((_e,Ge)=>{(0,R.A)(_e.changeUser)&&_e.changeUser.subscribe(Ve=>{this._ngZone.run(()=>{this.setUser(Ve,Ge)})})})}).catch(_e=>{Te(_e)}).finally(()=>{this.initialized=!0,this._initState.next(this.initialized),this._initState.complete()})}getAccessToken(ue){var Te=this;return(0,u.A)(function*(){const _e=Te.providers.get(ue);if(!Te.initialized)throw $.ERR_NOT_INITIALIZED;if(!_e)throw $.ERR_LOGIN_PROVIDER_NOT_FOUND;if(!(_e instanceof B))throw $.ERR_NOT_SUPPORTED_FOR_ACCESS_TOKEN;return yield _e.getAccessToken()})()}refreshAuthToken(ue){return new Promise((Te,_e)=>{if(this.initialized){const Ge=this.providers.get(ue);Ge?"function"!=typeof Ge.refreshToken?_e($.ERR_NOT_SUPPORTED_FOR_REFRESH_TOKEN):Ge.refreshToken().then(Ve=>{this.setUser(Ve,ue),Te()}).catch(Ve=>{_e(Ve)}):_e($.ERR_LOGIN_PROVIDER_NOT_FOUND)}else _e($.ERR_NOT_INITIALIZED)})}refreshAccessToken(ue){return new Promise((Te,_e)=>{if(this.initialized)if(ue!==B.PROVIDER_ID)_e($.ERR_NOT_SUPPORTED_FOR_REFRESH_TOKEN);else{const Ge=this.providers.get(ue);Ge instanceof B?Ge.revokeAccessToken().then(Te).catch(_e):_e($.ERR_LOGIN_PROVIDER_NOT_FOUND)}else _e($.ERR_NOT_INITIALIZED)})}signIn(ue,Te){return new Promise((_e,Ge)=>{if(this.initialized){let Ve=this.providers.get(ue);Ve?Ve.signIn(Te).then(dt=>{this.setUser(dt,ue),_e(dt)}).catch(dt=>{Ge(dt)}):Ge($.ERR_LOGIN_PROVIDER_NOT_FOUND)}else Ge($.ERR_NOT_INITIALIZED)})}signOut(ue=!1){return new Promise((Te,_e)=>{if(this.initialized)if(this._user){let Ve=this.providers.get(this._user.provider);Ve?Ve.signOut(ue).then(()=>{Te(),this.setUser(null)}).catch(dt=>{_e(dt)}):_e($.ERR_LOGIN_PROVIDER_NOT_FOUND)}else _e($.ERR_NOT_LOGGED_IN);else _e($.ERR_NOT_INITIALIZED)})}setUser(ue,Te){ue&&Te&&(ue.provider=Te),this._user=ue,this._authState.next(ue)}static#r=this.\u0275fac=function(Te){return new(Te||$)(e.KVO("SocialAuthServiceConfig"),e.KVO(e.SKi),e.KVO(e.zZn))};static#o=this.\u0275prov=e.jDH({token:$,factory:$.\u0275fac,providedIn:"root"})}return $})(),Y=(()=>{class $ extends C{static#e=this.PROVIDER_ID="FACEBOOK";constructor(ue,Te={}){super(),this.clientId=ue,this.requestOptions={scope:"email,public_profile",locale:"en_US",fields:"name,email,picture,first_name,last_name",version:"v10.0"},this.requestOptions={...this.requestOptions,...Te}}initialize(){return new Promise((ue,Te)=>{try{this.loadScript($.PROVIDER_ID,`//connect.facebook.net/${this.requestOptions.locale}/sdk.js`,()=>{FB.init({appId:this.clientId,autoLogAppEvents:!0,cookie:!0,xfbml:!0,version:this.requestOptions.version}),ue()})}catch(_e){Te(_e)}})}getLoginStatus(){return new Promise((ue,Te)=>{FB.getLoginStatus(_e=>{if("connected"===_e.status){let Ge=_e.authResponse;FB.api(`/me?fields=${this.requestOptions.fields}`,Ve=>{let dt=new x;dt.id=Ve.id,dt.name=Ve.name,dt.email=Ve.email,dt.photoUrl="https://graph.facebook.com/"+Ve.id+"/picture?type=normal&access_token="+Ge.accessToken,dt.firstName=Ve.first_name,dt.lastName=Ve.last_name,dt.authToken=Ge.accessToken,dt.response=Ve,ue(dt)})}else Te(`No user is currently logged in with ${$.PROVIDER_ID}`)})})}signIn(ue){const Te={...this.requestOptions,...ue};return new Promise((_e,Ge)=>{FB.login(Ve=>{if(Ve.authResponse){let dt=Ve.authResponse;FB.api(`/me?fields=${Te.fields}`,at=>{let ye=new x;ye.id=at.id,ye.name=at.name,ye.email=at.email,ye.photoUrl="https://graph.facebook.com/"+at.id+"/picture?type=normal",ye.firstName=at.first_name,ye.lastName=at.last_name,ye.authToken=dt.accessToken,ye.response=at,_e(ye)})}else Ge("User cancelled login or did not fully authorize.")},Te)})}signOut(){return new Promise((ue,Te)=>{FB.logout(_e=>{ue()})})}}return $})(),te=(()=>{class ${constructor(ue,Te){this.type="icon",this.size="medium",this.text="signin_with",this.shape="rectangular",this.theme="outline",this.logo_alignment="left",this.width=0,this.locale="",Te.initState.pipe((0,S.s)(1)).subscribe(()=>{Promise.resolve(this.width).then(_e=>{_e>400||_e<200&&0!=_e?Promise.reject("Please note .. max-width 400 , min-width 200 (https://developers.google.com/identity/gsi/web/tools/configurator)"):google.accounts.id.renderButton(ue.nativeElement,{type:this.type,size:this.size,text:this.text,width:this.width,shape:this.shape,theme:this.theme,logo_alignment:this.logo_alignment,locale:this.locale})})})}static#e=this.\u0275fac=function(Te){return new(Te||$)(e.rXU(e.aKT),e.rXU(W))};static#t=this.\u0275dir=e.FsC({type:$,selectors:[["asl-google-signin-button"]],inputs:{type:"type",size:"size",text:"text",shape:"shape",theme:"theme",logo_alignment:"logo_alignment",width:"width",locale:"locale"}})}return $})(),J=(()=>{class ${static#e=this.\u0275fac=function(Te){return new(Te||$)};static#t=this.\u0275mod=e.$C({type:$});static#n=this.\u0275inj=e.G2t({})}return $})()},49969:(Me,K,o)=>{"use strict";o.d(K,{FX:()=>J,If:()=>u,K2:()=>y,Os:()=>v,P:()=>B,hZ:()=>h,i0:()=>c,i7:()=>A,iF:()=>R,kY:()=>S,kp:()=>e,sf:()=>j,ui:()=>te,wk:()=>T,yc:()=>W});var u=function($){return $[$.State=0]="State",$[$.Transition=1]="Transition",$[$.Sequence=2]="Sequence",$[$.Group=3]="Group",$[$.Animate=4]="Animate",$[$.Keyframes=5]="Keyframes",$[$.Style=6]="Style",$[$.Trigger=7]="Trigger",$[$.Reference=8]="Reference",$[$.AnimateChild=9]="AnimateChild",$[$.AnimateRef=10]="AnimateRef",$[$.Query=11]="Query",$[$.Stagger=12]="Stagger",$}(u||{});const e="*";function h($,ce){return{type:u.Trigger,name:$,definitions:ce,options:{}}}function c($,ce=null){return{type:u.Animate,styles:ce,timings:$}}function v($,ce=null){return{type:u.Group,steps:$,options:ce}}function y($,ce=null){return{type:u.Sequence,steps:$,options:ce}}function R($){return{type:u.Style,styles:$,offset:null}}function T($,ce,ue){return{type:u.State,name:$,styles:ce,options:ue}}function A($){return{type:u.Keyframes,steps:$}}function S($,ce,ue=null){return{type:u.Transition,expr:$,animation:ce,options:ue}}function B($,ce,ue=null){return{type:u.Query,selector:$,animation:ce,options:ue}}function W($,ce){return{type:u.Stagger,timings:$,animation:ce}}class j{constructor(ce=0,ue=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=ce+ue}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(ce=>ce()),this._onDoneFns=[])}onStart(ce){this._originalOnStartFns.push(ce),this._onStartFns.push(ce)}onDone(ce){this._originalOnDoneFns.push(ce),this._onDoneFns.push(ce)}onDestroy(ce){this._onDestroyFns.push(ce)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(ce=>ce()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(ce=>ce()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(ce){this._position=this.totalTime?ce*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(ce){const ue="start"==ce?this._onStartFns:this._onDoneFns;ue.forEach(Te=>Te()),ue.length=0}}class te{constructor(ce){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=ce;let ue=0,Te=0,_e=0;const Ge=this.players.length;0==Ge?queueMicrotask(()=>this._onFinish()):this.players.forEach(Ve=>{Ve.onDone(()=>{++ue==Ge&&this._onFinish()}),Ve.onDestroy(()=>{++Te==Ge&&this._onDestroy()}),Ve.onStart(()=>{++_e==Ge&&this._onStart()})}),this.totalTime=this.players.reduce((Ve,dt)=>Math.max(Ve,dt.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(ce=>ce()),this._onDoneFns=[])}init(){this.players.forEach(ce=>ce.init())}onStart(ce){this._onStartFns.push(ce)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(ce=>ce()),this._onStartFns=[])}onDone(ce){this._onDoneFns.push(ce)}onDestroy(ce){this._onDestroyFns.push(ce)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(ce=>ce.play())}pause(){this.players.forEach(ce=>ce.pause())}restart(){this.players.forEach(ce=>ce.restart())}finish(){this._onFinish(),this.players.forEach(ce=>ce.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(ce=>ce.destroy()),this._onDestroyFns.forEach(ce=>ce()),this._onDestroyFns=[])}reset(){this.players.forEach(ce=>ce.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(ce){const ue=ce*this.totalTime;this.players.forEach(Te=>{const _e=Te.totalTime?Math.min(1,ue/Te.totalTime):1;Te.setPosition(_e)})}getPosition(){const ce=this.players.reduce((ue,Te)=>null===ue||Te.totalTime>ue.totalTime?Te:ue,null);return null!=ce?ce.getPosition():0}beforeDestroy(){this.players.forEach(ce=>{ce.beforeDestroy&&ce.beforeDestroy()})}triggerCallback(ce){const ue="start"==ce?this._onStartFns:this._onDoneFns;ue.forEach(Te=>Te()),ue.length=0}}const J="!"},96039:(Me,K,o)=>{"use strict";o.d(K,{Pd:()=>Q,vR:()=>hn,kB:()=>gt,FN:()=>jt,Q_:()=>G,_G:()=>Ht,w6:()=>nt});var u=o(60177),e=o(54438),h=o(36860),c=o(21413),y=(o(18359),o(84412)),R=o(7673),T=o(67336),S=(o(88141),o(70152)),x=(o(5964),o(96354)),P=o(96697),B=o(65245),W=o(23294),ee=o(56977),se=o(72318),Y=o(14085),re=o(84572),ve=o(28793),le=o(71985),Ee=o(99172);const j=new Set;let te,J=(()=>{class H{constructor(q,fe){this._platform=q,this._nonce=fe,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):ce}matchMedia(q){return(this._platform.WEBKIT||this._platform.BLINK)&&function $(H,ne){if(!j.has(H))try{te||(te=document.createElement("style"),ne&&te.setAttribute("nonce",ne),te.setAttribute("type","text/css"),document.head.appendChild(te)),te.sheet&&(te.sheet.insertRule(`@media ${H} {body{ }}`,0),j.add(H))}catch(q){console.error(q)}}(q,this._nonce),this._matchMedia(q)}static#e=this.\u0275fac=function(fe){return new(fe||H)(e.KVO(h.OD),e.KVO(e.BIS,8))};static#t=this.\u0275prov=e.jDH({token:H,factory:H.\u0275fac,providedIn:"root"})}return H})();function ce(H){return{matches:"all"===H||""===H,media:H,addListener:()=>{},removeListener:()=>{}}}let ue=(()=>{class H{constructor(q,fe){this._mediaMatcher=q,this._zone=fe,this._queries=new Map,this._destroySubject=new c.B}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(q){return Te((0,Y.FG)(q)).some(We=>this._registerQuery(We).mql.matches)}observe(q){const We=Te((0,Y.FG)(q)).map(Rt=>this._registerQuery(Rt).observable);let it=(0,re.z)(We);return it=(0,ve.x)(it.pipe((0,P.s)(1)),it.pipe((0,B.i)(1),(0,S.B)(0))),it.pipe((0,x.T)(Rt=>{const dn={matches:!1,breakpoints:{}};return Rt.forEach(({matches:Xn,query:Mn})=>{dn.matches=dn.matches||Xn,dn.breakpoints[Mn]=Xn}),dn}))}_registerQuery(q){if(this._queries.has(q))return this._queries.get(q);const fe=this._mediaMatcher.matchMedia(q),it={observable:new le.c(Rt=>{const dn=Xn=>this._zone.run(()=>Rt.next(Xn));return fe.addListener(dn),()=>{fe.removeListener(dn)}}).pipe((0,Ee.Z)(fe),(0,x.T)(({matches:Rt})=>({query:q,matches:Rt})),(0,ee.Q)(this._destroySubject)),mql:fe};return this._queries.set(q,it),it}static#e=this.\u0275fac=function(fe){return new(fe||H)(e.KVO(J),e.KVO(e.SKi))};static#t=this.\u0275prov=e.jDH({token:H,factory:H.\u0275fac,providedIn:"root"})}return H})();function Te(H){return H.map(ne=>ne.split(",")).reduce((ne,q)=>ne.concat(q)).map(ne=>ne.trim())}let En=(()=>{class H{constructor(q){this._platform=q}isDisabled(q){return q.hasAttribute("disabled")}isVisible(q){return function wn(H){return!!(H.offsetWidth||H.offsetHeight||"function"==typeof H.getClientRects&&H.getClientRects().length)}(q)&&"visible"===getComputedStyle(q).visibility}isTabbable(q){if(!this._platform.isBrowser)return!1;const fe=function un(H){try{return H.frameElement}catch{return null}}(function xe(H){return H.ownerDocument&&H.ownerDocument.defaultView||window}(q));if(fe&&(-1===Qe(fe)||!this.isVisible(fe)))return!1;let We=q.nodeName.toLowerCase(),it=Qe(q);return q.hasAttribute("contenteditable")?-1!==it:!("iframe"===We||"object"===We||this._platform.WEBKIT&&this._platform.IOS&&!function he(H){let ne=H.nodeName.toLowerCase(),q="input"===ne&&H.type;return"text"===q||"password"===q||"select"===ne||"textarea"===ne}(q))&&("audio"===We?!!q.hasAttribute("controls")&&-1!==it:"video"===We?-1!==it&&(null!==it||this._platform.FIREFOX||q.hasAttribute("controls")):q.tabIndex>=0)}isFocusable(q,fe){return function Ie(H){return!function Mt(H){return function Yt(H){return"input"==H.nodeName.toLowerCase()}(H)&&"hidden"==H.type}(H)&&(function Kn(H){let ne=H.nodeName.toLowerCase();return"input"===ne||"select"===ne||"button"===ne||"textarea"===ne}(H)||function Bt(H){return function St(H){return"a"==H.nodeName.toLowerCase()}(H)&&H.hasAttribute("href")}(H)||H.hasAttribute("contenteditable")||qt(H))}(q)&&!this.isDisabled(q)&&(fe?.ignoreVisibility||this.isVisible(q))}static#e=this.\u0275fac=function(fe){return new(fe||H)(e.KVO(h.OD))};static#t=this.\u0275prov=e.jDH({token:H,factory:H.\u0275fac,providedIn:"root"})}return H})();function qt(H){if(!H.hasAttribute("tabindex")||void 0===H.tabIndex)return!1;let ne=H.getAttribute("tabindex");return!(!ne||isNaN(parseInt(ne,10)))}function Qe(H){if(!qt(H))return null;const ne=parseInt(H.getAttribute("tabindex")||"",10);return isNaN(ne)?-1:ne}class je{get enabled(){return this._enabled}set enabled(ne){this._enabled=ne,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(ne,this._startAnchor),this._toggleAnchorTabIndex(ne,this._endAnchor))}constructor(ne,q,fe,We,it=!1){this._element=ne,this._checker=q,this._ngZone=fe,this._document=We,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,it||this.attachAnchors()}destroy(){const ne=this._startAnchor,q=this._endAnchor;ne&&(ne.removeEventListener("focus",this.startAnchorListener),ne.remove()),q&&(q.removeEventListener("focus",this.endAnchorListener),q.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(ne){return new Promise(q=>{this._executeOnStable(()=>q(this.focusInitialElement(ne)))})}focusFirstTabbableElementWhenReady(ne){return new Promise(q=>{this._executeOnStable(()=>q(this.focusFirstTabbableElement(ne)))})}focusLastTabbableElementWhenReady(ne){return new Promise(q=>{this._executeOnStable(()=>q(this.focusLastTabbableElement(ne)))})}_getRegionBoundary(ne){const q=this._element.querySelectorAll(`[cdk-focus-region-${ne}], [cdkFocusRegion${ne}], [cdk-focus-${ne}]`);return"start"==ne?q.length?q[0]:this._getFirstTabbableElement(this._element):q.length?q[q.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(ne){const q=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(q){if(!this._checker.isFocusable(q)){const fe=this._getFirstTabbableElement(q);return fe?.focus(ne),!!fe}return q.focus(ne),!0}return this.focusFirstTabbableElement(ne)}focusFirstTabbableElement(ne){const q=this._getRegionBoundary("start");return q&&q.focus(ne),!!q}focusLastTabbableElement(ne){const q=this._getRegionBoundary("end");return q&&q.focus(ne),!!q}hasAttached(){return this._hasAttached}_getFirstTabbableElement(ne){if(this._checker.isFocusable(ne)&&this._checker.isTabbable(ne))return ne;const q=ne.children;for(let fe=0;fe=0;fe--){const We=q[fe].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(q[fe]):null;if(We)return We}return null}_createAnchor(){const ne=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,ne),ne.classList.add("cdk-visually-hidden"),ne.classList.add("cdk-focus-trap-anchor"),ne.setAttribute("aria-hidden","true"),ne}_toggleAnchorTabIndex(ne,q){ne?q.setAttribute("tabindex","0"):q.removeAttribute("tabindex")}toggleAnchors(ne){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(ne,this._startAnchor),this._toggleAnchorTabIndex(ne,this._endAnchor))}_executeOnStable(ne){this._ngZone.isStable?ne():this._ngZone.onStable.pipe((0,P.s)(1)).subscribe(ne)}}let ze=(()=>{class H{constructor(q,fe,We){this._checker=q,this._ngZone=fe,this._document=We}create(q,fe=!1){return new je(q,this._checker,this._ngZone,this._document,fe)}static#e=this.\u0275fac=function(fe){return new(fe||H)(e.KVO(En),e.KVO(e.SKi),e.KVO(u.qQ))};static#t=this.\u0275prov=e.jDH({token:H,factory:H.\u0275fac,providedIn:"root"})}return H})(),gt=(()=>{class H{get enabled(){return this.focusTrap?.enabled||!1}set enabled(q){this.focusTrap&&(this.focusTrap.enabled=q)}constructor(q,fe,We){this._elementRef=q,this._focusTrapFactory=fe,this._previouslyFocusedElement=null,(0,e.WQX)(h.OD).isBrowser&&(this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0))}ngOnDestroy(){this.focusTrap?.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap?.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap&&!this.focusTrap.hasAttached()&&this.focusTrap.attachAnchors()}ngOnChanges(q){const fe=q.autoCapture;fe&&!fe.firstChange&&this.autoCapture&&this.focusTrap?.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,h.vc)(),this.focusTrap?.focusInitialElementWhenReady()}static#e=this.\u0275fac=function(fe){return new(fe||H)(e.rXU(e.aKT),e.rXU(ze),e.rXU(u.qQ))};static#t=this.\u0275dir=e.FsC({type:H,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[e.Mj6.HasDecoratorInputTransform,"cdkTrapFocus","enabled",e.L39],autoCapture:[e.Mj6.HasDecoratorInputTransform,"cdkTrapFocusAutoCapture","autoCapture",e.L39]},exportAs:["cdkTrapFocus"],standalone:!0,features:[e.GFd,e.OA$]})}return H})();function Ht(H){return 0===H.buttons||0===H.detail}function nt(H){const ne=H.touches&&H.touches[0]||H.changedTouches&&H.changedTouches[0];return!(!ne||-1!==ne.identifier||null!=ne.radiusX&&1!==ne.radiusX||null!=ne.radiusY&&1!==ne.radiusY)}const Nt=new e.nKC("cdk-input-modality-detector-options"),Ft={ignoreKeys:[T.A$,T.W3,T.eg,T.Ge,T.FX]},Tn=(0,h.BQ)({passive:!0,capture:!0});let An=(()=>{class H{get mostRecentModality(){return this._modality.value}constructor(q,fe,We,it){this._platform=q,this._mostRecentTarget=null,this._modality=new y.t(null),this._lastTouchMs=0,this._onKeydown=Rt=>{this._options?.ignoreKeys?.some(dn=>dn===Rt.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,h.Fb)(Rt))},this._onMousedown=Rt=>{Date.now()-this._lastTouchMs<650||(this._modality.next(Ht(Rt)?"keyboard":"mouse"),this._mostRecentTarget=(0,h.Fb)(Rt))},this._onTouchstart=Rt=>{nt(Rt)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,h.Fb)(Rt))},this._options={...Ft,...it},this.modalityDetected=this._modality.pipe((0,B.i)(1)),this.modalityChanged=this.modalityDetected.pipe((0,W.F)()),q.isBrowser&&fe.runOutsideAngular(()=>{We.addEventListener("keydown",this._onKeydown,Tn),We.addEventListener("mousedown",this._onMousedown,Tn),We.addEventListener("touchstart",this._onTouchstart,Tn)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Tn),document.removeEventListener("mousedown",this._onMousedown,Tn),document.removeEventListener("touchstart",this._onTouchstart,Tn))}static#e=this.\u0275fac=function(fe){return new(fe||H)(e.KVO(h.OD),e.KVO(e.SKi),e.KVO(u.qQ),e.KVO(Nt,8))};static#t=this.\u0275prov=e.jDH({token:H,factory:H.\u0275fac,providedIn:"root"})}return H})();var Pe=function(H){return H[H.IMMEDIATE=0]="IMMEDIATE",H[H.EVENTUAL=1]="EVENTUAL",H}(Pe||{});const Xe=new e.nKC("cdk-focus-monitor-default-options"),_t=(0,h.BQ)({passive:!0,capture:!0});let jt=(()=>{class H{constructor(q,fe,We,it,Rt){this._ngZone=q,this._platform=fe,this._inputModalityDetector=We,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new c.B,this._rootNodeFocusAndBlurListener=dn=>{for(let Mn=(0,h.Fb)(dn);Mn;Mn=Mn.parentElement)"focus"===dn.type?this._onFocus(dn,Mn):this._onBlur(dn,Mn)},this._document=it,this._detectionMode=Rt?.detectionMode||Pe.IMMEDIATE}monitor(q,fe=!1){const We=(0,Y.i8)(q);if(!this._platform.isBrowser||1!==We.nodeType)return(0,R.of)();const it=(0,h.KT)(We)||this._getDocument(),Rt=this._elementInfo.get(We);if(Rt)return fe&&(Rt.checkChildren=!0),Rt.subject;const dn={checkChildren:fe,subject:new c.B,rootNode:it};return this._elementInfo.set(We,dn),this._registerGlobalListeners(dn),dn.subject}stopMonitoring(q){const fe=(0,Y.i8)(q),We=this._elementInfo.get(fe);We&&(We.subject.complete(),this._setClasses(fe),this._elementInfo.delete(fe),this._removeGlobalListeners(We))}focusVia(q,fe,We){const it=(0,Y.i8)(q);it===this._getDocument().activeElement?this._getClosestElementsInfo(it).forEach(([dn,Xn])=>this._originChanged(dn,fe,Xn)):(this._setOrigin(fe),"function"==typeof it.focus&&it.focus(We))}ngOnDestroy(){this._elementInfo.forEach((q,fe)=>this.stopMonitoring(fe))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(q){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(q)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:q&&this._isLastInteractionFromInputLabel(q)?"mouse":"program"}_shouldBeAttributedToTouch(q){return this._detectionMode===Pe.EVENTUAL||!!q?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(q,fe){q.classList.toggle("cdk-focused",!!fe),q.classList.toggle("cdk-touch-focused","touch"===fe),q.classList.toggle("cdk-keyboard-focused","keyboard"===fe),q.classList.toggle("cdk-mouse-focused","mouse"===fe),q.classList.toggle("cdk-program-focused","program"===fe)}_setOrigin(q,fe=!1){this._ngZone.runOutsideAngular(()=>{this._origin=q,this._originFromTouchInteraction="touch"===q&&fe,this._detectionMode===Pe.IMMEDIATE&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(q,fe){const We=this._elementInfo.get(fe),it=(0,h.Fb)(q);!We||!We.checkChildren&&fe!==it||this._originChanged(fe,this._getFocusOrigin(it),We)}_onBlur(q,fe){const We=this._elementInfo.get(fe);!We||We.checkChildren&&q.relatedTarget instanceof Node&&fe.contains(q.relatedTarget)||(this._setClasses(fe),this._emitOrigin(We,null))}_emitOrigin(q,fe){q.subject.observers.length&&this._ngZone.run(()=>q.subject.next(fe))}_registerGlobalListeners(q){if(!this._platform.isBrowser)return;const fe=q.rootNode,We=this._rootNodeFocusListenerCount.get(fe)||0;We||this._ngZone.runOutsideAngular(()=>{fe.addEventListener("focus",this._rootNodeFocusAndBlurListener,_t),fe.addEventListener("blur",this._rootNodeFocusAndBlurListener,_t)}),this._rootNodeFocusListenerCount.set(fe,We+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,ee.Q)(this._stopInputModalityDetector)).subscribe(it=>{this._setOrigin(it,!0)}))}_removeGlobalListeners(q){const fe=q.rootNode;if(this._rootNodeFocusListenerCount.has(fe)){const We=this._rootNodeFocusListenerCount.get(fe);We>1?this._rootNodeFocusListenerCount.set(fe,We-1):(fe.removeEventListener("focus",this._rootNodeFocusAndBlurListener,_t),fe.removeEventListener("blur",this._rootNodeFocusAndBlurListener,_t),this._rootNodeFocusListenerCount.delete(fe))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(q,fe,We){this._setClasses(q,fe),this._emitOrigin(We,fe),this._lastFocusOrigin=fe}_getClosestElementsInfo(q){const fe=[];return this._elementInfo.forEach((We,it)=>{(it===q||We.checkChildren&&it.contains(q))&&fe.push([it,We])}),fe}_isLastInteractionFromInputLabel(q){const{_mostRecentTarget:fe,mostRecentModality:We}=this._inputModalityDetector;if("mouse"!==We||!fe||fe===q||"INPUT"!==q.nodeName&&"TEXTAREA"!==q.nodeName||q.disabled)return!1;const it=q.labels;if(it)for(let Rt=0;Rt{class H{constructor(q,fe){this._elementRef=q,this._focusMonitor=fe,this._focusOrigin=null,this.cdkFocusChange=new e.bkB}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const q=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(q,1===q.nodeType&&q.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(fe=>{this._focusOrigin=fe,this.cdkFocusChange.emit(fe)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static#e=this.\u0275fac=function(fe){return new(fe||H)(e.rXU(e.aKT),e.rXU(jt))};static#t=this.\u0275dir=e.FsC({type:H,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"],standalone:!0})}return H})();var Fn=function(H){return H[H.NONE=0]="NONE",H[H.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",H[H.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",H}(Fn||{});const bn="cdk-high-contrast-black-on-white",Ke="cdk-high-contrast-white-on-black",Be="cdk-high-contrast-active";let G=(()=>{class H{constructor(q,fe){this._platform=q,this._document=fe,this._breakpointSubscription=(0,e.WQX)(ue).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Fn.NONE;const q=this._document.createElement("div");q.style.backgroundColor="rgb(1,2,3)",q.style.position="absolute",this._document.body.appendChild(q);const fe=this._document.defaultView||window,We=fe&&fe.getComputedStyle?fe.getComputedStyle(q):null,it=(We&&We.backgroundColor||"").replace(/ /g,"");switch(q.remove(),it){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return Fn.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Fn.BLACK_ON_WHITE}return Fn.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const q=this._document.body.classList;q.remove(Be,bn,Ke),this._hasCheckedHighContrastMode=!0;const fe=this.getHighContrastMode();fe===Fn.BLACK_ON_WHITE?q.add(Be,bn):fe===Fn.WHITE_ON_BLACK&&q.add(Be,Ke)}}static#e=this.\u0275fac=function(fe){return new(fe||H)(e.KVO(h.OD),e.KVO(u.qQ))};static#t=this.\u0275prov=e.jDH({token:H,factory:H.\u0275fac,providedIn:"root"})}return H})(),Q=(()=>{class H{constructor(q){q._applyBodyHighContrastModeCssClasses()}static#e=this.\u0275fac=function(fe){return new(fe||H)(e.KVO(G))};static#t=this.\u0275mod=e.$C({type:H});static#n=this.\u0275inj=e.G2t({imports:[se.w5]})}return H})()},28203:(Me,K,o)=>{"use strict";o.d(K,{dS:()=>R,jI:()=>A});var u=o(54438),e=o(60177);const h=new u.nKC("cdk-dir-doc",{providedIn:"root",factory:function c(){return(0,u.WQX)(e.qQ)}}),v=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let R=(()=>{class S{constructor(x){this.value="ltr",this.change=new u.bkB,x&&(this.value=function y(S){const C=S?.toLowerCase()||"";return"auto"===C&&typeof navigator<"u"&&navigator?.language?v.test(navigator.language)?"rtl":"ltr":"rtl"===C?"rtl":"ltr"}((x.body?x.body.dir:null)||(x.documentElement?x.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static#e=this.\u0275fac=function(P){return new(P||S)(u.KVO(h,8))};static#t=this.\u0275prov=u.jDH({token:S,factory:S.\u0275fac,providedIn:"root"})}return S})(),A=(()=>{class S{static#e=this.\u0275fac=function(P){return new(P||S)};static#t=this.\u0275mod=u.$C({type:S});static#n=this.\u0275inj=u.G2t({})}return S})()},14085:(Me,K,o)=>{"use strict";o.d(K,{FG:()=>v,OE:()=>h,a1:()=>y,cc:()=>T,he:()=>e,i8:()=>R});var u=o(54438);function e(A){return null!=A&&"false"!=`${A}`}function h(A,S=0){return function c(A){return!isNaN(parseFloat(A))&&!isNaN(Number(A))}(A)?Number(A):S}function v(A){return Array.isArray(A)?A:[A]}function y(A){return null==A?"":"string"==typeof A?A:`${A}px`}function R(A){return A instanceof u.aKT?A.nativeElement:A}function T(A,S=/\s+/){const C=[];if(null!=A){const x=Array.isArray(A)?A:`${A}`.split(S);for(const P of x){const B=`${P}`.trim();B&&C.push(B)}}return C}},81391:(Me,K,o)=>{"use strict";o.d(K,{T1:()=>zn,ad:()=>Ke});var u=o(54438),e=o(60177),h=o(46535),c=o(36860),v=o(14085),y=o(96039),R=o(21413),T=o(18359),A=o(40605),S=o(30536),C=o(71985),x=o(57786),P=o(84412),B=o(56977),W=o(96354),ee=o(96697),se=o(88141),Y=o(25558),re=o(99172),ve=o(28203);function le(Be,G,Q){for(let H in G)if(G.hasOwnProperty(H)){const ne=G[H];ne?Be.setProperty(H,ne,Q?.has(H)?"important":""):Be.removeProperty(H)}return Be}function Ee(Be,G){const Q=G?"":"none";le(Be.style,{"touch-action":G?"":"none","-webkit-user-drag":G?"":"none","-webkit-tap-highlight-color":G?"":"transparent","user-select":Q,"-ms-user-select":Q,"-webkit-user-select":Q,"-moz-user-select":Q})}function F(Be,G,Q){le(Be.style,{position:G?"":"fixed",top:G?"":"0",opacity:G?"":"0",left:G?"":"-999em"},Q)}function j(Be,G){return G&&"none"!=G?Be+" "+G:Be}function te(Be,G){Be.style.width=`${G.width}px`,Be.style.height=`${G.height}px`,Be.style.transform=J(G.left,G.top)}function J(Be,G){return`translate3d(${Math.round(Be)}px, ${Math.round(G)}px, 0)`}function $(Be){const G=Be.getBoundingClientRect();return{top:G.top,right:G.right,bottom:G.bottom,left:G.left,width:G.width,height:G.height,x:G.x,y:G.y}}function ce(Be,G,Q){const{top:H,bottom:ne,left:q,right:fe}=Be;return Q>=H&&Q<=ne&&G>=q&&G<=fe}function ue(Be,G,Q){Be.top+=G,Be.bottom=Be.top+Be.height,Be.left+=Q,Be.right=Be.left+Be.width}function Te(Be,G,Q,H){const{top:ne,right:q,bottom:fe,left:We,width:it,height:Rt}=Be,dn=it*G,Xn=Rt*G;return H>ne-Xn&&HWe-dn&&Q{this.positions.set(Q,{scrollPosition:{top:Q.scrollTop,left:Q.scrollLeft},clientRect:$(Q)})})}handleScroll(G){const Q=(0,c.Fb)(G),H=this.positions.get(Q);if(!H)return null;const ne=H.scrollPosition;let q,fe;if(Q===this._document){const Rt=this.getViewportScrollPosition();q=Rt.top,fe=Rt.left}else q=Q.scrollTop,fe=Q.scrollLeft;const We=ne.top-q,it=ne.left-fe;return this.positions.forEach((Rt,dn)=>{Rt.clientRect&&Q!==dn&&Q.contains(dn)&&ue(Rt.clientRect,We,it)}),ne.top=q,ne.left=fe,{top:We,left:it}}getViewportScrollPosition(){return{top:window.scrollY,left:window.scrollX}}}function Ge(Be){const G=Be.cloneNode(!0),Q=G.querySelectorAll("[id]"),H=Be.nodeName.toLowerCase();G.removeAttribute("id");for(let ne=0;neH.appendChild(ne)),H}function we(Be){const G=Be.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(Be)*G}function $e(Be,G){return Be.getPropertyValue(G).split(",").map(H=>H.trim())}const Ye=new Set(["position"]);class ut{constructor(G,Q,H,ne,q,fe,We,it,Rt){this._document=G,this._rootElement=Q,this._direction=H,this._initialDomRect=ne,this._previewTemplate=q,this._previewClass=fe,this._pickupPositionOnPage=We,this._initialTransform=it,this._zIndex=Rt}attach(G){this._preview=this._createPreview(),G.appendChild(this._preview),"showPopover"in this._preview&&this._preview.showPopover()}destroy(){this._preview.remove(),this._previewEmbeddedView?.destroy(),this._preview=this._previewEmbeddedView=null}setTransform(G){this._preview.style.transform=G}getBoundingClientRect(){return this._preview.getBoundingClientRect()}addClass(G){this._preview.classList.add(G)}getTransitionDuration(){return function Ce(Be){const G=getComputedStyle(Be),Q=$e(G,"transition-property"),H=Q.find(We=>"transform"===We||"all"===We);if(!H)return 0;const ne=Q.indexOf(H),q=$e(G,"transition-duration"),fe=$e(G,"transition-delay");return we(q[ne])+we(fe[ne])}(this._preview)}addEventListener(G,Q){this._preview.addEventListener(G,Q)}removeEventListener(G,Q){this._preview.removeEventListener(G,Q)}_createPreview(){const G=this._previewTemplate,Q=this._previewClass,H=G?G.template:null;let ne;if(H&&G){const q=G.matchSize?this._initialDomRect:null,fe=G.viewContainer.createEmbeddedView(H,G.context);fe.detectChanges(),ne=Oe(fe,this._document),this._previewEmbeddedView=fe,G.matchSize?te(ne,q):ne.style.transform=J(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else ne=Ge(this._rootElement),te(ne,this._initialDomRect),this._initialTransform&&(ne.style.transform=this._initialTransform);return le(ne.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":this._zIndex+""},Ye),Ee(ne,!1),ne.classList.add("cdk-drag-preview"),ne.setAttribute("popover","manual"),ne.setAttribute("dir",this._direction),Q&&(Array.isArray(Q)?Q.forEach(q=>ne.classList.add(q)):ne.classList.add(Q)),ne}}const mt=(0,c.BQ)({passive:!0}),tn=(0,c.BQ)({passive:!1}),Vt=(0,c.BQ)({passive:!1,capture:!0}),En=new Set(["position"]);class un{get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(G){G!==this._disabled&&(this._disabled=G,this._toggleNativeDragInteractions(),this._handles.forEach(Q=>Ee(Q,G)))}constructor(G,Q,H,ne,q,fe){this._config=Q,this._document=H,this._ngZone=ne,this._viewportRuler=q,this._dragDropRegistry=fe,this._passiveTransform={x:0,y:0},this._activeTransform={x:0,y:0},this._hasStartedDragging=!1,this._moveEvents=new R.B,this._pointerMoveSubscription=T.yU.EMPTY,this._pointerUpSubscription=T.yU.EMPTY,this._scrollSubscription=T.yU.EMPTY,this._resizeSubscription=T.yU.EMPTY,this._boundaryElement=null,this._nativeInteractionsEnabled=!0,this._handles=[],this._disabledHandles=new Set,this._direction="ltr",this.dragStartDelay=0,this._disabled=!1,this.beforeStarted=new R.B,this.started=new R.B,this.released=new R.B,this.ended=new R.B,this.entered=new R.B,this.exited=new R.B,this.dropped=new R.B,this.moved=this._moveEvents,this._pointerDown=We=>{if(this.beforeStarted.next(),this._handles.length){const it=this._getTargetHandle(We);it&&!this._disabledHandles.has(it)&&!this.disabled&&this._initializeDragSequence(it,We)}else this.disabled||this._initializeDragSequence(this._rootElement,We)},this._pointerMove=We=>{const it=this._getPointerPositionOnPage(We);if(!this._hasStartedDragging){if(Math.abs(it.x-this._pickupPositionOnPage.x)+Math.abs(it.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const wi=Date.now()>=this._dragStartTime+this._getDragStartDelay(We),Es=this._dropContainer;if(!wi)return void this._endDragSequence(We);(!Es||!Es.isDragging()&&!Es.isReceiving())&&(We.cancelable&&We.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(We)))}return}We.cancelable&&We.preventDefault();const Rt=this._getConstrainedPointerPosition(it);if(this._hasMoved=!0,this._lastKnownPointerPosition=it,this._updatePointerDirectionDelta(Rt),this._dropContainer)this._updateActiveDropContainer(Rt,it);else{const dn=this.constrainPosition?this._initialDomRect:this._pickupPositionOnPage,Xn=this._activeTransform;Xn.x=Rt.x-dn.x+this._passiveTransform.x,Xn.y=Rt.y-dn.y+this._passiveTransform.y,this._applyRootElementTransform(Xn.x,Xn.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:Rt,event:We,distance:this._getDragDistance(Rt),delta:this._pointerDirectionDelta})})},this._pointerUp=We=>{this._endDragSequence(We)},this._nativeDragStart=We=>{if(this._handles.length){const it=this._getTargetHandle(We);it&&!this._disabledHandles.has(it)&&!this.disabled&&We.preventDefault()}else this.disabled||We.preventDefault()},this.withRootElement(G).withParent(Q.parentDragRef||null),this._parentPositions=new _e(H),fe.registerDragItem(this)}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(G){this._handles=G.map(H=>(0,v.i8)(H)),this._handles.forEach(H=>Ee(H,this.disabled)),this._toggleNativeDragInteractions();const Q=new Set;return this._disabledHandles.forEach(H=>{this._handles.indexOf(H)>-1&&Q.add(H)}),this._disabledHandles=Q,this}withPreviewTemplate(G){return this._previewTemplate=G,this}withPlaceholderTemplate(G){return this._placeholderTemplate=G,this}withRootElement(G){const Q=(0,v.i8)(G);return Q!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{Q.addEventListener("mousedown",this._pointerDown,tn),Q.addEventListener("touchstart",this._pointerDown,mt),Q.addEventListener("dragstart",this._nativeDragStart,tn)}),this._initialTransform=void 0,this._rootElement=Q),typeof SVGElement<"u"&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(G){return this._boundaryElement=G?(0,v.i8)(G):null,this._resizeSubscription.unsubscribe(),G&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(G){return this._parentDragRef=G,this}dispose(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&this._rootElement?.remove(),this._anchor?.remove(),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeListeners(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=this._parentDragRef=null}isDragging(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}disableHandle(G){!this._disabledHandles.has(G)&&this._handles.indexOf(G)>-1&&(this._disabledHandles.add(G),Ee(G,!0))}enableHandle(G){this._disabledHandles.has(G)&&(this._disabledHandles.delete(G),Ee(G,this.disabled))}withDirection(G){return this._direction=G,this}_withDropContainer(G){this._dropContainer=G}getFreeDragPosition(){const G=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:G.x,y:G.y}}setFreeDragPosition(G){return this._activeTransform={x:0,y:0},this._passiveTransform.x=G.x,this._passiveTransform.y=G.y,this._dropContainer||this._applyRootElementTransform(G.x,G.y),this}withPreviewContainer(G){return this._previewContainer=G,this}_sortFromLastPointerPosition(){const G=this._lastKnownPointerPosition;G&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(G),G)}_removeListeners(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe(),this._getShadowRoot()?.removeEventListener("selectstart",Mt,Vt)}_destroyPreview(){this._preview?.destroy(),this._preview=null}_destroyPlaceholder(){this._placeholder?.remove(),this._placeholderRef?.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(G){if(this._dragDropRegistry.isDragging(this)&&(this._removeListeners(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging))if(this.released.next({source:this,event:G}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(G),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;const Q=this._getPointerPositionOnPage(G);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(Q),dropPoint:Q,event:G})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}_startDragSequence(G){Kn(G)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const Q=this._getShadowRoot(),H=this._dropContainer;if(Q&&this._ngZone.runOutsideAngular(()=>{Q.addEventListener("selectstart",Mt,Vt)}),H){const ne=this._rootElement,q=ne.parentNode,fe=this._placeholder=this._createPlaceholderElement(),We=this._anchor=this._anchor||this._document.createComment("");q.insertBefore(We,ne),this._initialTransform=ne.style.transform||"",this._preview=new ut(this._document,this._rootElement,this._direction,this._initialDomRect,this._previewTemplate||null,this.previewClass||null,this._pickupPositionOnPage,this._initialTransform,this._config.zIndex||1e3),this._preview.attach(this._getPreviewInsertionPoint(q,Q)),F(ne,!1,En),this._document.body.appendChild(q.replaceChild(fe,ne)),this.started.next({source:this,event:G}),H.start(),this._initialContainer=H,this._initialIndex=H.getItemIndex(this)}else this.started.next({source:this,event:G}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(H?H.getScrollableParents():[])}_initializeDragSequence(G,Q){this._parentDragRef&&Q.stopPropagation();const H=this.isDragging(),ne=Kn(Q),q=!ne&&0!==Q.button,fe=this._rootElement,We=(0,c.Fb)(Q),it=!ne&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now(),Rt=ne?(0,y.w6)(Q):(0,y._G)(Q);if(We&&We.draggable&&"mousedown"===Q.type&&Q.preventDefault(),H||q||it||Rt)return;if(this._handles.length){const Mn=fe.style;this._rootElementTapHighlight=Mn.webkitTapHighlightColor||"",Mn.webkitTapHighlightColor="transparent"}this._hasStartedDragging=this._hasMoved=!1,this._removeListeners(),this._initialDomRect=this._rootElement.getBoundingClientRect(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(Mn=>this._updateOnScroll(Mn)),this._boundaryElement&&(this._boundaryRect=$(this._boundaryElement));const dn=this._previewTemplate;this._pickupPositionInElement=dn&&dn.template&&!dn.matchSize?{x:0,y:0}:this._getPointerPositionInElement(this._initialDomRect,G,Q);const Xn=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(Q);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:Xn.x,y:Xn.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,Q)}_cleanupDragArtifacts(G){F(this._rootElement,!0,En),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._initialDomRect=this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{const Q=this._dropContainer,H=Q.getItemIndex(this),ne=this._getPointerPositionOnPage(G),q=this._getDragDistance(ne),fe=Q._isOverContainer(ne.x,ne.y);this.ended.next({source:this,distance:q,dropPoint:ne,event:G}),this.dropped.next({item:this,currentIndex:H,previousIndex:this._initialIndex,container:Q,previousContainer:this._initialContainer,isPointerOverContainer:fe,distance:q,dropPoint:ne,event:G}),Q.drop(this,H,this._initialIndex,this._initialContainer,fe,q,ne,G),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:G,y:Q},{x:H,y:ne}){let q=this._initialContainer._getSiblingContainerFromPosition(this,G,Q);!q&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(G,Q)&&(q=this._initialContainer),q&&q!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=q,this._dropContainer.enter(this,G,Q,q===this._initialContainer&&q.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:q,currentIndex:q.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(H,ne),this._dropContainer._sortItem(this,G,Q,this._pointerDirectionDelta),this.constrainPosition?this._applyPreviewTransform(G,Q):this._applyPreviewTransform(G-this._pickupPositionInElement.x,Q-this._pickupPositionInElement.y))}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const G=this._placeholder.getBoundingClientRect();this._preview.addClass("cdk-drag-animating"),this._applyPreviewTransform(G.left,G.top);const Q=this._preview.getTransitionDuration();return 0===Q?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(H=>{const ne=fe=>{(!fe||(0,c.Fb)(fe)===this._preview&&"transform"===fe.propertyName)&&(this._preview?.removeEventListener("transitionend",ne),H(),clearTimeout(q))},q=setTimeout(ne,1.5*Q);this._preview.addEventListener("transitionend",ne)}))}_createPlaceholderElement(){const G=this._placeholderTemplate,Q=G?G.template:null;let H;return Q?(this._placeholderRef=G.viewContainer.createEmbeddedView(Q,G.context),this._placeholderRef.detectChanges(),H=Oe(this._placeholderRef,this._document)):H=Ge(this._rootElement),H.style.pointerEvents="none",H.classList.add("cdk-drag-placeholder"),H}_getPointerPositionInElement(G,Q,H){const ne=Q===this._rootElement?null:Q,q=ne?ne.getBoundingClientRect():G,fe=Kn(H)?H.targetTouches[0]:H,We=this._getViewportScrollPosition();return{x:q.left-G.left+(fe.pageX-q.left-We.left),y:q.top-G.top+(fe.pageY-q.top-We.top)}}_getPointerPositionOnPage(G){const Q=this._getViewportScrollPosition(),H=Kn(G)?G.touches[0]||G.changedTouches[0]||{pageX:0,pageY:0}:G,ne=H.pageX-Q.left,q=H.pageY-Q.top;if(this._ownerSVGElement){const fe=this._ownerSVGElement.getScreenCTM();if(fe){const We=this._ownerSVGElement.createSVGPoint();return We.x=ne,We.y=q,We.matrixTransform(fe.inverse())}}return{x:ne,y:q}}_getConstrainedPointerPosition(G){const Q=this._dropContainer?this._dropContainer.lockAxis:null;let{x:H,y:ne}=this.constrainPosition?this.constrainPosition(G,this,this._initialDomRect,this._pickupPositionInElement):G;if("x"===this.lockAxis||"x"===Q?ne=this._pickupPositionOnPage.y-(this.constrainPosition?this._pickupPositionInElement.y:0):("y"===this.lockAxis||"y"===Q)&&(H=this._pickupPositionOnPage.x-(this.constrainPosition?this._pickupPositionInElement.x:0)),this._boundaryRect){const{x:q,y:fe}=this.constrainPosition?{x:0,y:0}:this._pickupPositionInElement,We=this._boundaryRect,{width:it,height:Rt}=this._getPreviewRect(),dn=We.top+fe,Xn=We.bottom-(Rt-fe);H=wn(H,We.left+q,We.right-(it-q)),ne=wn(ne,dn,Xn)}return{x:H,y:ne}}_updatePointerDirectionDelta(G){const{x:Q,y:H}=G,ne=this._pointerDirectionDelta,q=this._pointerPositionAtLastDirectionChange,fe=Math.abs(Q-q.x),We=Math.abs(H-q.y);return fe>this._config.pointerDirectionChangeThreshold&&(ne.x=Q>q.x?1:-1,q.x=Q),We>this._config.pointerDirectionChangeThreshold&&(ne.y=H>q.y?1:-1,q.y=H),ne}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const G=this._handles.length>0||!this.isDragging();G!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=G,Ee(this._rootElement,G))}_removeRootElementListeners(G){G.removeEventListener("mousedown",this._pointerDown,tn),G.removeEventListener("touchstart",this._pointerDown,mt),G.removeEventListener("dragstart",this._nativeDragStart,tn)}_applyRootElementTransform(G,Q){const H=J(G,Q),ne=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=ne.transform&&"none"!=ne.transform?ne.transform:""),ne.transform=j(H,this._initialTransform)}_applyPreviewTransform(G,Q){const H=this._previewTemplate?.template?void 0:this._initialTransform,ne=J(G,Q);this._preview.setTransform(j(ne,H))}_getDragDistance(G){const Q=this._pickupPositionOnPage;return Q?{x:G.x-Q.x,y:G.y-Q.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:G,y:Q}=this._passiveTransform;if(0===G&&0===Q||this.isDragging()||!this._boundaryElement)return;const H=this._rootElement.getBoundingClientRect(),ne=this._boundaryElement.getBoundingClientRect();if(0===ne.width&&0===ne.height||0===H.width&&0===H.height)return;const q=ne.left-H.left,fe=H.right-ne.right,We=ne.top-H.top,it=H.bottom-ne.bottom;ne.width>H.width?(q>0&&(G+=q),fe>0&&(G-=fe)):G=0,ne.height>H.height?(We>0&&(Q+=We),it>0&&(Q-=it)):Q=0,(G!==this._passiveTransform.x||Q!==this._passiveTransform.y)&&this.setFreeDragPosition({y:Q,x:G})}_getDragStartDelay(G){const Q=this.dragStartDelay;return"number"==typeof Q?Q:Kn(G)?Q.touch:Q?Q.mouse:0}_updateOnScroll(G){const Q=this._parentPositions.handleScroll(G);if(Q){const H=(0,c.Fb)(G);this._boundaryRect&&H!==this._boundaryElement&&H.contains(this._boundaryElement)&&ue(this._boundaryRect,Q.top,Q.left),this._pickupPositionOnPage.x+=Q.left,this._pickupPositionOnPage.y+=Q.top,this._dropContainer||(this._activeTransform.x-=Q.left,this._activeTransform.y-=Q.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){return this._parentPositions.positions.get(this._document)?.scrollPosition||this._parentPositions.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=(0,c.KT)(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(G,Q){const H=this._previewContainer||"global";if("parent"===H)return G;if("global"===H){const ne=this._document;return Q||ne.fullscreenElement||ne.webkitFullscreenElement||ne.mozFullScreenElement||ne.msFullscreenElement||ne.body}return(0,v.i8)(H)}_getPreviewRect(){return(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=this._preview?this._preview.getBoundingClientRect():this._initialDomRect),this._previewRect}_getTargetHandle(G){return this._handles.find(Q=>G.target&&(G.target===Q||Q.contains(G.target)))}}function wn(Be,G,Q){return Math.max(G,Math.min(Q,Be))}function Kn(Be){return"t"===Be.type[0]}function Mt(Be){Be.preventDefault()}function qt(Be,G){return Math.max(0,Math.min(G,Be))}class Qe{constructor(G,Q){this._element=G,this._dragDropRegistry=Q,this._itemPositions=[],this.orientation="vertical",this._previousSwap={drag:null,delta:0,overlaps:!1}}start(G){this.withItems(G)}sort(G,Q,H,ne){const q=this._itemPositions,fe=this._getItemIndexFromPointerPosition(G,Q,H,ne);if(-1===fe&&q.length>0)return null;const We="horizontal"===this.orientation,it=q.findIndex(zi=>zi.drag===G),Rt=q[fe],Xn=Rt.clientRect,Mn=it>fe?1:-1,wi=this._getItemOffsetPx(q[it].clientRect,Xn,Mn),Es=this._getSiblingOffsetPx(it,q,Mn),qi=q.slice();return function Bt(Be,G,Q){const H=qt(G,Be.length-1),ne=qt(Q,Be.length-1);if(H===ne)return;const q=Be[H],fe=ne{if(qi[Pi]===zi)return;const tr=zi.drag===G,xs=tr?wi:Es,Le=tr?G.getPlaceholderElement():zi.drag.getRootElement();zi.offset+=xs,We?(Le.style.transform=j(`translate3d(${Math.round(zi.offset)}px, 0, 0)`,zi.initialTransform),ue(zi.clientRect,0,xs)):(Le.style.transform=j(`translate3d(0, ${Math.round(zi.offset)}px, 0)`,zi.initialTransform),ue(zi.clientRect,xs,0))}),this._previousSwap.overlaps=ce(Xn,Q,H),this._previousSwap.drag=Rt.drag,this._previousSwap.delta=We?ne.x:ne.y,{previousIndex:it,currentIndex:fe}}enter(G,Q,H,ne){const q=null==ne||ne<0?this._getItemIndexFromPointerPosition(G,Q,H):ne,fe=this._activeDraggables,We=fe.indexOf(G),it=G.getPlaceholderElement();let Rt=fe[q];if(Rt===G&&(Rt=fe[q+1]),!Rt&&(null==q||-1===q||q-1&&fe.splice(We,1),Rt&&!this._dragDropRegistry.isDragging(Rt)){const dn=Rt.getRootElement();dn.parentElement.insertBefore(it,dn),fe.splice(q,0,G)}else(0,v.i8)(this._element).appendChild(it),fe.push(G);it.style.transform="",this._cacheItemPositions()}withItems(G){this._activeDraggables=G.slice(),this._cacheItemPositions()}withSortPredicate(G){this._sortPredicate=G}reset(){this._activeDraggables.forEach(G=>{const Q=G.getRootElement();if(Q){const H=this._itemPositions.find(ne=>ne.drag===G)?.initialTransform;Q.style.transform=H||""}}),this._itemPositions=[],this._activeDraggables=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1}getActiveItemsSnapshot(){return this._activeDraggables}getItemIndex(G){return("horizontal"===this.orientation&&"rtl"===this.direction?this._itemPositions.slice().reverse():this._itemPositions).findIndex(H=>H.drag===G)}updateOnScroll(G,Q){this._itemPositions.forEach(({clientRect:H})=>{ue(H,G,Q)}),this._itemPositions.forEach(({drag:H})=>{this._dragDropRegistry.isDragging(H)&&H._sortFromLastPointerPosition()})}_cacheItemPositions(){const G="horizontal"===this.orientation;this._itemPositions=this._activeDraggables.map(Q=>{const H=Q.getVisibleElement();return{drag:Q,offset:0,initialTransform:H.style.transform||"",clientRect:$(H)}}).sort((Q,H)=>G?Q.clientRect.left-H.clientRect.left:Q.clientRect.top-H.clientRect.top)}_getItemOffsetPx(G,Q,H){const ne="horizontal"===this.orientation;let q=ne?Q.left-G.left:Q.top-G.top;return-1===H&&(q+=ne?Q.width-G.width:Q.height-G.height),q}_getSiblingOffsetPx(G,Q,H){const ne="horizontal"===this.orientation,q=Q[G].clientRect,fe=Q[G+-1*H];let We=q[ne?"width":"height"]*H;if(fe){const it=ne?"left":"top",Rt=ne?"right":"bottom";-1===H?We-=fe.clientRect[it]-q[Rt]:We+=q[it]-fe.clientRect[Rt]}return We}_shouldEnterAsFirstChild(G,Q){if(!this._activeDraggables.length)return!1;const H=this._itemPositions,ne="horizontal"===this.orientation;if(H[0].drag!==this._activeDraggables[0]){const fe=H[H.length-1].clientRect;return ne?G>=fe.right:Q>=fe.bottom}{const fe=H[0].clientRect;return ne?G<=fe.left:Q<=fe.top}}_getItemIndexFromPointerPosition(G,Q,H,ne){const q="horizontal"===this.orientation,fe=this._itemPositions.findIndex(({drag:We,clientRect:it})=>We!==G&&((!ne||We!==this._previousSwap.drag||!this._previousSwap.overlaps||(q?ne.x:ne.y)!==this._previousSwap.delta)&&(q?Q>=Math.floor(it.left)&&Q=Math.floor(it.top)&&H!0,this.sortPredicate=()=>!0,this.beforeStarted=new R.B,this.entered=new R.B,this.exited=new R.B,this.dropped=new R.B,this.sorted=new R.B,this.receivingStarted=new R.B,this.receivingStopped=new R.B,this._isDragging=!1,this._draggables=[],this._siblings=[],this._activeSiblings=new Set,this._viewportScrollSubscription=T.yU.EMPTY,this._verticalScrollDirection=xe.NONE,this._horizontalScrollDirection=je.NONE,this._stopScrollTimers=new R.B,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),(0,A.Y)(0,S.X).pipe((0,B.Q)(this._stopScrollTimers)).subscribe(()=>{const fe=this._scrollNode,We=this.autoScrollStep;this._verticalScrollDirection===xe.UP?fe.scrollBy(0,-We):this._verticalScrollDirection===xe.DOWN&&fe.scrollBy(0,We),this._horizontalScrollDirection===je.LEFT?fe.scrollBy(-We,0):this._horizontalScrollDirection===je.RIGHT&&fe.scrollBy(We,0)})},this.element=(0,v.i8)(G),this._document=H,this.withScrollableParents([this.element]),Q.registerDropContainer(this),this._parentPositions=new _e(H),this._sortStrategy=new Qe(this.element,Q),this._sortStrategy.withSortPredicate((fe,We)=>this.sortPredicate(fe,We,this))}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this.receivingStarted.complete(),this.receivingStopped.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(G,Q,H,ne){this._draggingStarted(),null==ne&&this.sortingDisabled&&(ne=this._draggables.indexOf(G)),this._sortStrategy.enter(G,Q,H,ne),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:G,container:this,currentIndex:this.getItemIndex(G)})}exit(G){this._reset(),this.exited.next({item:G,container:this})}drop(G,Q,H,ne,q,fe,We,it={}){this._reset(),this.dropped.next({item:G,currentIndex:Q,previousIndex:H,container:this,previousContainer:ne,isPointerOverContainer:q,distance:fe,dropPoint:We,event:it})}withItems(G){const Q=this._draggables;return this._draggables=G,G.forEach(H=>H._withDropContainer(this)),this.isDragging()&&(Q.filter(ne=>ne.isDragging()).every(ne=>-1===G.indexOf(ne))?this._reset():this._sortStrategy.withItems(this._draggables)),this}withDirection(G){return this._sortStrategy.direction=G,this}connectedTo(G){return this._siblings=G.slice(),this}withOrientation(G){return this._sortStrategy.orientation=G,this}withScrollableParents(G){const Q=(0,v.i8)(this.element);return this._scrollableElements=-1===G.indexOf(Q)?[Q,...G]:G.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(G){return this._isDragging?this._sortStrategy.getItemIndex(G):this._draggables.indexOf(G)}isReceiving(){return this._activeSiblings.size>0}_sortItem(G,Q,H,ne){if(this.sortingDisabled||!this._domRect||!Te(this._domRect,.05,Q,H))return;const q=this._sortStrategy.sort(G,Q,H,ne);q&&this.sorted.next({previousIndex:q.previousIndex,currentIndex:q.currentIndex,container:this,item:G})}_startScrollingIfNecessary(G,Q){if(this.autoScrollDisabled)return;let H,ne=xe.NONE,q=je.NONE;if(this._parentPositions.positions.forEach((fe,We)=>{We===this._document||!fe.clientRect||H||Te(fe.clientRect,.05,G,Q)&&([ne,q]=function Jt(Be,G,Q,H,ne){const q=gt(G,ne),fe=kt(G,H);let We=xe.NONE,it=je.NONE;if(q){const Rt=Be.scrollTop;q===xe.UP?Rt>0&&(We=xe.UP):Be.scrollHeight-Rt>Be.clientHeight&&(We=xe.DOWN)}if(fe){const Rt=Be.scrollLeft;"rtl"===Q?fe===je.RIGHT?Rt<0&&(it=je.RIGHT):Be.scrollWidth+Rt>Be.clientWidth&&(it=je.LEFT):fe===je.LEFT?Rt>0&&(it=je.LEFT):Be.scrollWidth-Rt>Be.clientWidth&&(it=je.RIGHT)}return[We,it]}(We,fe.clientRect,this._sortStrategy.direction,G,Q),(ne||q)&&(H=We))}),!ne&&!q){const{width:fe,height:We}=this._viewportRuler.getViewportSize(),it={width:fe,height:We,top:0,right:fe,bottom:We,left:0};ne=gt(it,Q),q=kt(it,G),H=window}H&&(ne!==this._verticalScrollDirection||q!==this._horizontalScrollDirection||H!==this._scrollNode)&&(this._verticalScrollDirection=ne,this._horizontalScrollDirection=q,this._scrollNode=H,(ne||q)&&H?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const G=(0,v.i8)(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=G.msScrollSnapType||G.scrollSnapType||"",G.scrollSnapType=G.msScrollSnapType="none",this._sortStrategy.start(this._draggables),this._cacheParentPositions(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){const G=(0,v.i8)(this.element);this._parentPositions.cache(this._scrollableElements),this._domRect=this._parentPositions.positions.get(G).clientRect}_reset(){this._isDragging=!1;const G=(0,v.i8)(this.element).style;G.scrollSnapType=G.msScrollSnapType=this._initialScrollSnap,this._siblings.forEach(Q=>Q._stopReceiving(this)),this._sortStrategy.reset(),this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_isOverContainer(G,Q){return null!=this._domRect&&ce(this._domRect,G,Q)}_getSiblingContainerFromPosition(G,Q,H){return this._siblings.find(ne=>ne._canReceive(G,Q,H))}_canReceive(G,Q,H){if(!this._domRect||!ce(this._domRect,Q,H)||!this.enterPredicate(G,this))return!1;const ne=this._getShadowRoot().elementFromPoint(Q,H);if(!ne)return!1;const q=(0,v.i8)(this.element);return ne===q||q.contains(ne)}_startReceiving(G,Q){const H=this._activeSiblings;!H.has(G)&&Q.every(ne=>this.enterPredicate(ne,this)||this._draggables.indexOf(ne)>-1)&&(H.add(G),this._cacheParentPositions(),this._listenToScrollEvents(),this.receivingStarted.next({initiator:G,receiver:this,items:Q}))}_stopReceiving(G){this._activeSiblings.delete(G),this._viewportScrollSubscription.unsubscribe(),this.receivingStopped.next({initiator:G,receiver:this})}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(G=>{if(this.isDragging()){const Q=this._parentPositions.handleScroll(G);Q&&this._sortStrategy.updateOnScroll(Q.top,Q.left)}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){const G=(0,c.KT)((0,v.i8)(this.element));this._cachedShadowRoot=G||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const G=this._sortStrategy.getActiveItemsSnapshot().filter(Q=>Q.isDragging());this._siblings.forEach(Q=>Q._startReceiving(this,G))}}function gt(Be,G){const{top:Q,bottom:H,height:ne}=Be,q=.05*ne;return G>=Q-q&&G<=Q+q?xe.UP:G>=H-q&&G<=H+q?xe.DOWN:xe.NONE}function kt(Be,G){const{left:Q,right:H,width:ne}=Be,q=.05*ne;return G>=Q-q&&G<=Q+q?je.LEFT:G>=H-q&&G<=H+q?je.RIGHT:je.NONE}const on=(0,c.BQ)({passive:!1,capture:!0}),nn=new Set;let vn=(()=>{class Be{static#e=this.\u0275fac=function(H){return new(H||Be)};static#t=this.\u0275cmp=u.VBU({type:Be,selectors:[["ng-component"]],hostAttrs:["cdk-drag-resets-container",""],standalone:!0,features:[u.aNF],decls:0,vars:0,template:function(H,ne){},styles:["@layer cdk-resets{.cdk-drag-preview{background:none;border:none;padding:0;color:inherit}}"],encapsulation:2,changeDetection:0})}return Be})(),Ht=(()=>{class Be{constructor(Q,H){this._ngZone=Q,this._appRef=(0,u.WQX)(u.o8S),this._environmentInjector=(0,u.WQX)(u.uvJ),this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=ne=>ne.isDragging(),this.pointerMove=new R.B,this.pointerUp=new R.B,this.scroll=new R.B,this._preventDefaultWhileDragging=ne=>{this._activeDragInstances.length>0&&ne.preventDefault()},this._persistentTouchmoveListener=ne=>{this._activeDragInstances.length>0&&(this._activeDragInstances.some(this._draggingPredicate)&&ne.preventDefault(),this.pointerMove.next(ne))},this._document=H}registerDropContainer(Q){this._dropInstances.has(Q)||this._dropInstances.add(Q)}registerDragItem(Q){this._dragInstances.add(Q),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,on)})}removeDropContainer(Q){this._dropInstances.delete(Q)}removeDragItem(Q){this._dragInstances.delete(Q),this.stopDragging(Q),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,on)}startDragging(Q,H){if(!(this._activeDragInstances.indexOf(Q)>-1)&&(this._loadResets(),this._activeDragInstances.push(Q),1===this._activeDragInstances.length)){const ne=H.type.startsWith("touch");this._globalListeners.set(ne?"touchend":"mouseup",{handler:q=>this.pointerUp.next(q),options:!0}).set("scroll",{handler:q=>this.scroll.next(q),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:on}),ne||this._globalListeners.set("mousemove",{handler:q=>this.pointerMove.next(q),options:on}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((q,fe)=>{this._document.addEventListener(fe,q.handler,q.options)})})}}stopDragging(Q){const H=this._activeDragInstances.indexOf(Q);H>-1&&(this._activeDragInstances.splice(H,1),0===this._activeDragInstances.length&&this._clearGlobalListeners())}isDragging(Q){return this._activeDragInstances.indexOf(Q)>-1}scrolled(Q){const H=[this.scroll];return Q&&Q!==this._document&&H.push(new C.c(ne=>this._ngZone.runOutsideAngular(()=>{const fe=We=>{this._activeDragInstances.length&&ne.next(We)};return Q.addEventListener("scroll",fe,!0),()=>{Q.removeEventListener("scroll",fe,!0)}}))),(0,x.h)(...H)}ngOnDestroy(){this._dragInstances.forEach(Q=>this.removeDragItem(Q)),this._dropInstances.forEach(Q=>this.removeDropContainer(Q)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((Q,H)=>{this._document.removeEventListener(H,Q.handler,Q.options)}),this._globalListeners.clear()}_loadResets(){if(!nn.has(this._appRef)){nn.add(this._appRef);const Q=(0,u.a0P)(vn,{environmentInjector:this._environmentInjector});this._appRef.onDestroy(()=>{nn.delete(this._appRef),0===nn.size&&Q.destroy()})}}static#e=this.\u0275fac=function(H){return new(H||Be)(u.KVO(u.SKi),u.KVO(e.qQ))};static#t=this.\u0275prov=u.jDH({token:Be,factory:Be.\u0275fac,providedIn:"root"})}return Be})();const nt={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let Nt=(()=>{class Be{constructor(Q,H,ne,q){this._document=Q,this._ngZone=H,this._viewportRuler=ne,this._dragDropRegistry=q}createDrag(Q,H=nt){return new un(Q,H,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(Q){return new ze(Q,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}static#e=this.\u0275fac=function(H){return new(H||Be)(u.KVO(e.qQ),u.KVO(u.SKi),u.KVO(h.Xj),u.KVO(Ht))};static#t=this.\u0275prov=u.jDH({token:Be,factory:Be.\u0275fac,providedIn:"root"})}return Be})();const Ft=new u.nKC("CDK_DRAG_PARENT"),Tn=new u.nKC("CdkDragHandle"),si=new u.nKC("CDK_DRAG_CONFIG"),gi=new u.nKC("CdkDropList");let zn=(()=>{class Be{static#e=this._dragInstances=[];get disabled(){return this._disabled||this.dropContainer&&this.dropContainer.disabled}set disabled(Q){this._disabled=Q,this._dragRef.disabled=this._disabled}constructor(Q,H,ne,q,fe,We,it,Rt,dn,Xn,Mn){this.element=Q,this.dropContainer=H,this._ngZone=q,this._viewContainerRef=fe,this._dir=it,this._changeDetectorRef=dn,this._selfHandle=Xn,this._parentDrag=Mn,this._destroyed=new R.B,this._handles=new P.t([]),this.started=new u.bkB,this.released=new u.bkB,this.ended=new u.bkB,this.entered=new u.bkB,this.exited=new u.bkB,this.dropped=new u.bkB,this.moved=new C.c(wi=>{const Es=this._dragRef.moved.pipe((0,W.T)(qi=>({source:this,pointerPosition:qi.pointerPosition,event:qi.event,delta:qi.delta,distance:qi.distance}))).subscribe(wi);return()=>{Es.unsubscribe()}}),this._dragRef=Rt.createDrag(Q,{dragStartThreshold:We&&null!=We.dragStartThreshold?We.dragStartThreshold:5,pointerDirectionChangeThreshold:We&&null!=We.pointerDirectionChangeThreshold?We.pointerDirectionChangeThreshold:5,zIndex:We?.zIndex}),this._dragRef.data=this,Be._dragInstances.push(this),We&&this._assignDefaults(We),H&&(this._dragRef._withDropContainer(H._dropListRef),H.addItem(this)),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}getPlaceholderElement(){return this._dragRef.getPlaceholderElement()}getRootElement(){return this._dragRef.getRootElement()}reset(){this._dragRef.reset()}getFreeDragPosition(){return this._dragRef.getFreeDragPosition()}setFreeDragPosition(Q){this._dragRef.setFreeDragPosition(Q)}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,ee.s)(1),(0,B.Q)(this._destroyed)).subscribe(()=>{this._updateRootElement(),this._setupHandlesListener(),this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)})})}ngOnChanges(Q){const H=Q.rootElementSelector,ne=Q.freeDragPosition;H&&!H.firstChange&&this._updateRootElement(),ne&&!ne.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this.dropContainer&&this.dropContainer.removeItem(this);const Q=Be._dragInstances.indexOf(this);Q>-1&&Be._dragInstances.splice(Q,1),this._ngZone.runOutsideAngular(()=>{this._handles.complete(),this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()})}_addHandle(Q){const H=this._handles.getValue();H.push(Q),this._handles.next(H)}_removeHandle(Q){const H=this._handles.getValue(),ne=H.indexOf(Q);ne>-1&&(H.splice(ne,1),this._handles.next(H))}_setPreviewTemplate(Q){this._previewTemplate=Q}_resetPreviewTemplate(Q){Q===this._previewTemplate&&(this._previewTemplate=null)}_setPlaceholderTemplate(Q){this._placeholderTemplate=Q}_resetPlaceholderTemplate(Q){Q===this._placeholderTemplate&&(this._placeholderTemplate=null)}_updateRootElement(){const Q=this.element.nativeElement;let H=Q;this.rootElementSelector&&(H=void 0!==Q.closest?Q.closest(this.rootElementSelector):Q.parentElement?.closest(this.rootElementSelector)),this._dragRef.withRootElement(H||Q)}_getBoundaryElement(){const Q=this.boundaryElement;return Q?"string"==typeof Q?this.element.nativeElement.closest(Q):(0,v.i8)(Q):null}_syncInputs(Q){Q.beforeStarted.subscribe(()=>{if(!Q.isDragging()){const H=this._dir,ne=this.dragStartDelay,q=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,fe=this._previewTemplate?{template:this._previewTemplate.templateRef,context:this._previewTemplate.data,matchSize:this._previewTemplate.matchSize,viewContainer:this._viewContainerRef}:null;Q.disabled=this.disabled,Q.lockAxis=this.lockAxis,Q.dragStartDelay="object"==typeof ne&&ne?ne:(0,v.OE)(ne),Q.constrainPosition=this.constrainPosition,Q.previewClass=this.previewClass,Q.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(q).withPreviewTemplate(fe).withPreviewContainer(this.previewContainer||"global"),H&&Q.withDirection(H.value)}}),Q.beforeStarted.pipe((0,ee.s)(1)).subscribe(()=>{if(this._parentDrag)return void Q.withParent(this._parentDrag._dragRef);let H=this.element.nativeElement.parentElement;for(;H;){if(H.classList.contains("cdk-drag")){Q.withParent(Be._dragInstances.find(ne=>ne.element.nativeElement===H)?._dragRef||null);break}H=H.parentElement}})}_handleEvents(Q){Q.started.subscribe(H=>{this.started.emit({source:this,event:H.event}),this._changeDetectorRef.markForCheck()}),Q.released.subscribe(H=>{this.released.emit({source:this,event:H.event})}),Q.ended.subscribe(H=>{this.ended.emit({source:this,distance:H.distance,dropPoint:H.dropPoint,event:H.event}),this._changeDetectorRef.markForCheck()}),Q.entered.subscribe(H=>{this.entered.emit({container:H.container.data,item:this,currentIndex:H.currentIndex})}),Q.exited.subscribe(H=>{this.exited.emit({container:H.container.data,item:this})}),Q.dropped.subscribe(H=>{this.dropped.emit({previousIndex:H.previousIndex,currentIndex:H.currentIndex,previousContainer:H.previousContainer.data,container:H.container.data,isPointerOverContainer:H.isPointerOverContainer,item:this,distance:H.distance,dropPoint:H.dropPoint,event:H.event})})}_assignDefaults(Q){const{lockAxis:H,dragStartDelay:ne,constrainPosition:q,previewClass:fe,boundaryElement:We,draggingDisabled:it,rootElementSelector:Rt,previewContainer:dn}=Q;this.disabled=it??!1,this.dragStartDelay=ne||0,H&&(this.lockAxis=H),q&&(this.constrainPosition=q),fe&&(this.previewClass=fe),We&&(this.boundaryElement=We),Rt&&(this.rootElementSelector=Rt),dn&&(this.previewContainer=dn)}_setupHandlesListener(){this._handles.pipe((0,se.M)(Q=>{const H=Q.map(ne=>ne.element);this._selfHandle&&this.rootElementSelector&&H.push(this.element),this._dragRef.withHandles(H)}),(0,Y.n)(Q=>(0,x.h)(...Q.map(H=>H._stateChanges.pipe((0,re.Z)(H))))),(0,B.Q)(this._destroyed)).subscribe(Q=>{const H=this._dragRef,ne=Q.element.nativeElement;Q.disabled?H.disableHandle(ne):H.enableHandle(ne)})}static#t=this.\u0275fac=function(H){return new(H||Be)(u.rXU(u.aKT),u.rXU(gi,12),u.rXU(e.qQ),u.rXU(u.SKi),u.rXU(u.c1b),u.rXU(si,8),u.rXU(ve.dS,8),u.rXU(Nt),u.rXU(u.gRc),u.rXU(Tn,10),u.rXU(Ft,12))};static#n=this.\u0275dir=u.FsC({type:Be,selectors:[["","cdkDrag",""]],hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(H,ne){2&H&&u.AVh("cdk-drag-disabled",ne.disabled)("cdk-drag-dragging",ne._dragRef.isDragging())},inputs:{data:[u.Mj6.None,"cdkDragData","data"],lockAxis:[u.Mj6.None,"cdkDragLockAxis","lockAxis"],rootElementSelector:[u.Mj6.None,"cdkDragRootElement","rootElementSelector"],boundaryElement:[u.Mj6.None,"cdkDragBoundary","boundaryElement"],dragStartDelay:[u.Mj6.None,"cdkDragStartDelay","dragStartDelay"],freeDragPosition:[u.Mj6.None,"cdkDragFreeDragPosition","freeDragPosition"],disabled:[u.Mj6.HasDecoratorInputTransform,"cdkDragDisabled","disabled",u.L39],constrainPosition:[u.Mj6.None,"cdkDragConstrainPosition","constrainPosition"],previewClass:[u.Mj6.None,"cdkDragPreviewClass","previewClass"],previewContainer:[u.Mj6.None,"cdkDragPreviewContainer","previewContainer"]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],standalone:!0,features:[u.Jv_([{provide:Ft,useExisting:Be}]),u.GFd,u.OA$]})}return Be})(),Ke=(()=>{class Be{static#e=this.\u0275fac=function(H){return new(H||Be)};static#t=this.\u0275mod=u.$C({type:Be});static#n=this.\u0275inj=u.G2t({providers:[Nt],imports:[h.Gj]})}return Be})()},67336:(Me,K,o)=>{"use strict";o.d(K,{A:()=>Ce,A$:()=>T,FX:()=>y,Fm:()=>v,G_:()=>e,Ge:()=>on,Kp:()=>W,LE:()=>re,UQ:()=>se,W3:()=>R,Z:()=>Jt,_f:()=>C,bn:()=>dt,dB:()=>B,eg:()=>ti,f2:()=>te,i7:()=>Y,n6:()=>ve,rp:()=>Un,t6:()=>x,w_:()=>P,wn:()=>h,yZ:()=>ee});const e=8,h=9,v=13,y=16,R=17,T=18,C=27,x=32,P=33,B=34,W=35,ee=36,se=37,Y=38,re=39,ve=40,te=48,dt=57,Ce=65,Jt=90,on=91,ti=224;function Un(hi,...Li){return Li.length?Li.some(Gn=>hi[Gn]):hi.altKey||hi.shiftKey||hi.ctrlKey||hi.metaKey}},72318:(Me,K,o)=>{"use strict";o.d(K,{w5:()=>y});var u=o(54438);let h=(()=>{class R{create(A){return typeof MutationObserver>"u"?null:new MutationObserver(A)}static#e=this.\u0275fac=function(S){return new(S||R)};static#t=this.\u0275prov=u.jDH({token:R,factory:R.\u0275fac,providedIn:"root"})}return R})(),y=(()=>{class R{static#e=this.\u0275fac=function(S){return new(S||R)};static#t=this.\u0275mod=u.$C({type:R});static#n=this.\u0275inj=u.G2t({providers:[h]})}return R})()},47987:(Me,K,o)=>{"use strict";o.d(K,{hJ:()=>En,rR:()=>F,rW:()=>ye,z_:()=>St});var u=o(46535),e=o(60177),h=o(54438),c=o(14085),v=o(36860),y=o(5964),R=o(96697),T=o(56977),A=o(28203),S=o(76939),C=o(21413),x=o(18359),P=o(57786);const B=(0,v.CZ)();class W{constructor(he,Ie){this._viewportRuler=he,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=Ie}attach(){}enable(){if(this._canBeEnabled()){const he=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=he.style.left||"",this._previousHTMLStyles.top=he.style.top||"",he.style.left=(0,c.a1)(-this._previousScrollPosition.left),he.style.top=(0,c.a1)(-this._previousScrollPosition.top),he.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const he=this._document.documentElement,xe=he.style,je=this._document.body.style,ze=xe.scrollBehavior||"",gt=je.scrollBehavior||"";this._isEnabled=!1,xe.left=this._previousHTMLStyles.left,xe.top=this._previousHTMLStyles.top,he.classList.remove("cdk-global-scrollblock"),B&&(xe.scrollBehavior=je.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),B&&(xe.scrollBehavior=ze,je.scrollBehavior=gt)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const Ie=this._document.body,xe=this._viewportRuler.getViewportSize();return Ie.scrollHeight>xe.height||Ie.scrollWidth>xe.width}}class se{constructor(he,Ie,xe,je){this._scrollDispatcher=he,this._ngZone=Ie,this._viewportRuler=xe,this._config=je,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(he){this._overlayRef=he}enable(){if(this._scrollSubscription)return;const he=this._scrollDispatcher.scrolled(0).pipe((0,y.p)(Ie=>!Ie||!this._overlayRef.overlayElement.contains(Ie.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=he.subscribe(()=>{const Ie=this._viewportRuler.getViewportScrollPosition().top;Math.abs(Ie-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=he.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class Y{enable(){}disable(){}attach(){}}function re(Qe,he){return he.some(Ie=>Qe.bottomIe.bottom||Qe.rightIe.right)}function ve(Qe,he){return he.some(Ie=>Qe.topIe.bottom||Qe.leftIe.right)}class le{constructor(he,Ie,xe,je){this._scrollDispatcher=he,this._viewportRuler=Ie,this._ngZone=xe,this._config=je,this._scrollSubscription=null}attach(he){this._overlayRef=he}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const Ie=this._overlayRef.overlayElement.getBoundingClientRect(),{width:xe,height:je}=this._viewportRuler.getViewportSize();re(Ie,[{width:xe,height:je,bottom:je,right:xe,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let Ee=(()=>{class Qe{constructor(Ie,xe,je,ze){this._scrollDispatcher=Ie,this._viewportRuler=xe,this._ngZone=je,this.noop=()=>new Y,this.close=gt=>new se(this._scrollDispatcher,this._ngZone,this._viewportRuler,gt),this.block=()=>new W(this._viewportRuler,this._document),this.reposition=gt=>new le(this._scrollDispatcher,this._viewportRuler,this._ngZone,gt),this._document=ze}static#e=this.\u0275fac=function(xe){return new(xe||Qe)(h.KVO(u.R),h.KVO(u.Xj),h.KVO(h.SKi),h.KVO(e.qQ))};static#t=this.\u0275prov=h.jDH({token:Qe,factory:Qe.\u0275fac,providedIn:"root"})}return Qe})();class F{constructor(he){if(this.scrollStrategy=new Y,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,he){const Ie=Object.keys(he);for(const xe of Ie)void 0!==he[xe]&&(this[xe]=he[xe])}}}class J{constructor(he,Ie){this.connectionPair=he,this.scrollableViewProperties=Ie}}let ue=(()=>{class Qe{constructor(Ie){this._attachedOverlays=[],this._document=Ie}ngOnDestroy(){this.detach()}add(Ie){this.remove(Ie),this._attachedOverlays.push(Ie)}remove(Ie){const xe=this._attachedOverlays.indexOf(Ie);xe>-1&&this._attachedOverlays.splice(xe,1),0===this._attachedOverlays.length&&this.detach()}static#e=this.\u0275fac=function(xe){return new(xe||Qe)(h.KVO(e.qQ))};static#t=this.\u0275prov=h.jDH({token:Qe,factory:Qe.\u0275fac,providedIn:"root"})}return Qe})(),Te=(()=>{class Qe extends ue{constructor(Ie,xe){super(Ie),this._ngZone=xe,this._keydownListener=je=>{const ze=this._attachedOverlays;for(let gt=ze.length-1;gt>-1;gt--)if(ze[gt]._keydownEvents.observers.length>0){const kt=ze[gt]._keydownEvents;this._ngZone?this._ngZone.run(()=>kt.next(je)):kt.next(je);break}}}add(Ie){super.add(Ie),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}static#e=this.\u0275fac=function(xe){return new(xe||Qe)(h.KVO(e.qQ),h.KVO(h.SKi,8))};static#t=this.\u0275prov=h.jDH({token:Qe,factory:Qe.\u0275fac,providedIn:"root"})}return Qe})(),_e=(()=>{class Qe extends ue{constructor(Ie,xe,je){super(Ie),this._platform=xe,this._ngZone=je,this._cursorStyleIsSet=!1,this._pointerDownListener=ze=>{this._pointerDownEventTarget=(0,v.Fb)(ze)},this._clickListener=ze=>{const gt=(0,v.Fb)(ze),kt="click"===ze.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:gt;this._pointerDownEventTarget=null;const Jt=this._attachedOverlays.slice();for(let on=Jt.length-1;on>-1;on--){const nn=Jt[on];if(nn._outsidePointerEvents.observers.length<1||!nn.hasAttached())continue;if(nn.overlayElement.contains(gt)||nn.overlayElement.contains(kt))break;const vn=nn._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>vn.next(ze)):vn.next(ze)}}}add(Ie){if(super.add(Ie),!this._isAttached){const xe=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(xe)):this._addEventListeners(xe),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=xe.style.cursor,xe.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const Ie=this._document.body;Ie.removeEventListener("pointerdown",this._pointerDownListener,!0),Ie.removeEventListener("click",this._clickListener,!0),Ie.removeEventListener("auxclick",this._clickListener,!0),Ie.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(Ie.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(Ie){Ie.addEventListener("pointerdown",this._pointerDownListener,!0),Ie.addEventListener("click",this._clickListener,!0),Ie.addEventListener("auxclick",this._clickListener,!0),Ie.addEventListener("contextmenu",this._clickListener,!0)}static#e=this.\u0275fac=function(xe){return new(xe||Qe)(h.KVO(e.qQ),h.KVO(v.OD),h.KVO(h.SKi,8))};static#t=this.\u0275prov=h.jDH({token:Qe,factory:Qe.\u0275fac,providedIn:"root"})}return Qe})(),Ge=(()=>{class Qe{constructor(Ie,xe){this._platform=xe,this._document=Ie}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const Ie="cdk-overlay-container";if(this._platform.isBrowser||(0,v.v8)()){const je=this._document.querySelectorAll(`.${Ie}[platform="server"], .${Ie}[platform="test"]`);for(let ze=0;zethis._backdropClick.next(vn),this._backdropTransitionendHandler=vn=>{this._disposeBackdrop(vn.target)},this._keydownEvents=new C.B,this._outsidePointerEvents=new C.B,je.scrollStrategy&&(this._scrollStrategy=je.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=je.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(he){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const Ie=this._portalOutlet.attach(he);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,R.s)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof Ie?.onDestroy&&Ie.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),Ie}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const he=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),he}dispose(){const he=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,he&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(he){he!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=he,this.hasAttached()&&(he.attach(this),this.updatePosition()))}updateSize(he){this._config={...this._config,...he},this._updateElementSize()}setDirection(he){this._config={...this._config,direction:he},this._updateElementDirection()}addPanelClass(he){this._pane&&this._toggleClasses(this._pane,he,!0)}removePanelClass(he){this._pane&&this._toggleClasses(this._pane,he,!1)}getDirection(){const he=this._config.direction;return he?"string"==typeof he?he:he.value:"ltr"}updateScrollStrategy(he){he!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=he,this.hasAttached()&&(he.attach(this),he.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const he=this._pane.style;he.width=(0,c.a1)(this._config.width),he.height=(0,c.a1)(this._config.height),he.minWidth=(0,c.a1)(this._config.minWidth),he.minHeight=(0,c.a1)(this._config.minHeight),he.maxWidth=(0,c.a1)(this._config.maxWidth),he.maxHeight=(0,c.a1)(this._config.maxHeight)}_togglePointerEvents(he){this._pane.style.pointerEvents=he?"":"none"}_attachBackdrop(){const he="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(he)})}):this._backdropElement.classList.add(he)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const he=this._backdropElement;if(he){if(this._animationsDisabled)return void this._disposeBackdrop(he);he.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{he.addEventListener("transitionend",this._backdropTransitionendHandler)}),he.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(he)},500))}}_toggleClasses(he,Ie,xe){const je=(0,c.FG)(Ie||[]).filter(ze=>!!ze);je.length&&(xe?he.classList.add(...je):he.classList.remove(...je))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const he=this._ngZone.onStable.pipe((0,T.Q)((0,P.h)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),he.unsubscribe())})})}_disposeScrollStrategy(){const he=this._scrollStrategy;he&&(he.disable(),he.detach&&he.detach())}_disposeBackdrop(he){he&&(he.removeEventListener("click",this._backdropClickHandler),he.removeEventListener("transitionend",this._backdropTransitionendHandler),he.remove(),this._backdropElement===he&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const dt="cdk-overlay-connected-position-bounding-box",at=/([A-Za-z%]+)$/;class ye{get positions(){return this._preferredPositions}constructor(he,Ie,xe,je,ze){this._viewportRuler=Ie,this._document=xe,this._platform=je,this._overlayContainer=ze,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new C.B,this._resizeSubscription=x.yU.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(he)}attach(he){this._validatePositions(),he.hostElement.classList.add(dt),this._overlayRef=he,this._boundingBox=he.hostElement,this._pane=he.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const he=this._originRect,Ie=this._overlayRect,xe=this._viewportRect,je=this._containerRect,ze=[];let gt;for(let kt of this._preferredPositions){let Jt=this._getOriginPoint(he,je,kt),on=this._getOverlayPoint(Jt,Ie,kt),nn=this._getOverlayFit(on,Ie,xe,kt);if(nn.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(kt,Jt);this._canFitWithFlexibleDimensions(nn,on,xe)?ze.push({position:kt,origin:Jt,overlayRect:Ie,boundingBoxRect:this._calculateBoundingBoxRect(Jt,kt)}):(!gt||gt.overlayFit.visibleAreaJt&&(Jt=nn,kt=on)}return this._isPushed=!1,void this._applyPosition(kt.position,kt.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(gt.position,gt.originPoint);this._applyPosition(gt.position,gt.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Oe(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(dt),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const he=this._lastPosition;if(he){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const Ie=this._getOriginPoint(this._originRect,this._containerRect,he);this._applyPosition(he,Ie)}else this.apply()}withScrollableContainers(he){return this._scrollables=he,this}withPositions(he){return this._preferredPositions=he,-1===he.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(he){return this._viewportMargin=he,this}withFlexibleDimensions(he=!0){return this._hasFlexibleDimensions=he,this}withGrowAfterOpen(he=!0){return this._growAfterOpen=he,this}withPush(he=!0){return this._canPush=he,this}withLockedPosition(he=!0){return this._positionLocked=he,this}setOrigin(he){return this._origin=he,this}withDefaultOffsetX(he){return this._offsetX=he,this}withDefaultOffsetY(he){return this._offsetY=he,this}withTransformOriginOn(he){return this._transformOriginSelector=he,this}_getOriginPoint(he,Ie,xe){let je,ze;if("center"==xe.originX)je=he.left+he.width/2;else{const gt=this._isRtl()?he.right:he.left,kt=this._isRtl()?he.left:he.right;je="start"==xe.originX?gt:kt}return Ie.left<0&&(je-=Ie.left),ze="center"==xe.originY?he.top+he.height/2:"top"==xe.originY?he.top:he.bottom,Ie.top<0&&(ze-=Ie.top),{x:je,y:ze}}_getOverlayPoint(he,Ie,xe){let je,ze;return je="center"==xe.overlayX?-Ie.width/2:"start"===xe.overlayX?this._isRtl()?-Ie.width:0:this._isRtl()?0:-Ie.width,ze="center"==xe.overlayY?-Ie.height/2:"top"==xe.overlayY?0:-Ie.height,{x:he.x+je,y:he.y+ze}}_getOverlayFit(he,Ie,xe,je){const ze=Ce(Ie);let{x:gt,y:kt}=he,Jt=this._getOffset(je,"x"),on=this._getOffset(je,"y");Jt&&(gt+=Jt),on&&(kt+=on);let Ht=0-kt,nt=kt+ze.height-xe.height,Nt=this._subtractOverflows(ze.width,0-gt,gt+ze.width-xe.width),Ft=this._subtractOverflows(ze.height,Ht,nt),Xt=Nt*Ft;return{visibleArea:Xt,isCompletelyWithinViewport:ze.width*ze.height===Xt,fitsInViewportVertically:Ft===ze.height,fitsInViewportHorizontally:Nt==ze.width}}_canFitWithFlexibleDimensions(he,Ie,xe){if(this._hasFlexibleDimensions){const je=xe.bottom-Ie.y,ze=xe.right-Ie.x,gt=we(this._overlayRef.getConfig().minHeight),kt=we(this._overlayRef.getConfig().minWidth);return(he.fitsInViewportVertically||null!=gt&><=je)&&(he.fitsInViewportHorizontally||null!=kt&&kt<=ze)}return!1}_pushOverlayOnScreen(he,Ie,xe){if(this._previousPushAmount&&this._positionLocked)return{x:he.x+this._previousPushAmount.x,y:he.y+this._previousPushAmount.y};const je=Ce(Ie),ze=this._viewportRect,gt=Math.max(he.x+je.width-ze.width,0),kt=Math.max(he.y+je.height-ze.height,0),Jt=Math.max(ze.top-xe.top-he.y,0),on=Math.max(ze.left-xe.left-he.x,0);let nn=0,vn=0;return nn=je.width<=ze.width?on||-gt:he.xNt&&!this._isInitialRender&&!this._growAfterOpen&&(gt=he.y-Nt/2)}if("end"===Ie.overlayX&&!je||"start"===Ie.overlayX&&je)Ht=xe.width-he.x+2*this._viewportMargin,nn=he.x-this._viewportMargin;else if("start"===Ie.overlayX&&!je||"end"===Ie.overlayX&&je)vn=he.x,nn=xe.right-he.x;else{const nt=Math.min(xe.right-he.x+xe.left,he.x),Nt=this._lastBoundingBoxSize.width;nn=2*nt,vn=he.x-nt,nn>Nt&&!this._isInitialRender&&!this._growAfterOpen&&(vn=he.x-Nt/2)}return{top:gt,left:vn,bottom:kt,right:Ht,width:nn,height:ze}}_setBoundingBoxStyles(he,Ie){const xe=this._calculateBoundingBoxRect(he,Ie);!this._isInitialRender&&!this._growAfterOpen&&(xe.height=Math.min(xe.height,this._lastBoundingBoxSize.height),xe.width=Math.min(xe.width,this._lastBoundingBoxSize.width));const je={};if(this._hasExactPosition())je.top=je.left="0",je.bottom=je.right=je.maxHeight=je.maxWidth="",je.width=je.height="100%";else{const ze=this._overlayRef.getConfig().maxHeight,gt=this._overlayRef.getConfig().maxWidth;je.height=(0,c.a1)(xe.height),je.top=(0,c.a1)(xe.top),je.bottom=(0,c.a1)(xe.bottom),je.width=(0,c.a1)(xe.width),je.left=(0,c.a1)(xe.left),je.right=(0,c.a1)(xe.right),je.alignItems="center"===Ie.overlayX?"center":"end"===Ie.overlayX?"flex-end":"flex-start",je.justifyContent="center"===Ie.overlayY?"center":"bottom"===Ie.overlayY?"flex-end":"flex-start",ze&&(je.maxHeight=(0,c.a1)(ze)),gt&&(je.maxWidth=(0,c.a1)(gt))}this._lastBoundingBoxSize=xe,Oe(this._boundingBox.style,je)}_resetBoundingBoxStyles(){Oe(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Oe(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(he,Ie){const xe={},je=this._hasExactPosition(),ze=this._hasFlexibleDimensions,gt=this._overlayRef.getConfig();if(je){const nn=this._viewportRuler.getViewportScrollPosition();Oe(xe,this._getExactOverlayY(Ie,he,nn)),Oe(xe,this._getExactOverlayX(Ie,he,nn))}else xe.position="static";let kt="",Jt=this._getOffset(Ie,"x"),on=this._getOffset(Ie,"y");Jt&&(kt+=`translateX(${Jt}px) `),on&&(kt+=`translateY(${on}px)`),xe.transform=kt.trim(),gt.maxHeight&&(je?xe.maxHeight=(0,c.a1)(gt.maxHeight):ze&&(xe.maxHeight="")),gt.maxWidth&&(je?xe.maxWidth=(0,c.a1)(gt.maxWidth):ze&&(xe.maxWidth="")),Oe(this._pane.style,xe)}_getExactOverlayY(he,Ie,xe){let je={top:"",bottom:""},ze=this._getOverlayPoint(Ie,this._overlayRect,he);return this._isPushed&&(ze=this._pushOverlayOnScreen(ze,this._overlayRect,xe)),"bottom"===he.overlayY?je.bottom=this._document.documentElement.clientHeight-(ze.y+this._overlayRect.height)+"px":je.top=(0,c.a1)(ze.y),je}_getExactOverlayX(he,Ie,xe){let gt,je={left:"",right:""},ze=this._getOverlayPoint(Ie,this._overlayRect,he);return this._isPushed&&(ze=this._pushOverlayOnScreen(ze,this._overlayRect,xe)),gt=this._isRtl()?"end"===he.overlayX?"left":"right":"end"===he.overlayX?"right":"left","right"===gt?je.right=this._document.documentElement.clientWidth-(ze.x+this._overlayRect.width)+"px":je.left=(0,c.a1)(ze.x),je}_getScrollVisibility(){const he=this._getOriginRect(),Ie=this._pane.getBoundingClientRect(),xe=this._scrollables.map(je=>je.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:ve(he,xe),isOriginOutsideView:re(he,xe),isOverlayClipped:ve(Ie,xe),isOverlayOutsideView:re(Ie,xe)}}_subtractOverflows(he,...Ie){return Ie.reduce((xe,je)=>xe-Math.max(je,0),he)}_getNarrowedViewportRect(){const he=this._document.documentElement.clientWidth,Ie=this._document.documentElement.clientHeight,xe=this._viewportRuler.getViewportScrollPosition();return{top:xe.top+this._viewportMargin,left:xe.left+this._viewportMargin,right:xe.left+he-this._viewportMargin,bottom:xe.top+Ie-this._viewportMargin,width:he-2*this._viewportMargin,height:Ie-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(he,Ie){return"x"===Ie?null==he.offsetX?this._offsetX:he.offsetX:null==he.offsetY?this._offsetY:he.offsetY}_validatePositions(){}_addPanelClasses(he){this._pane&&(0,c.FG)(he).forEach(Ie=>{""!==Ie&&-1===this._appliedPanelClasses.indexOf(Ie)&&(this._appliedPanelClasses.push(Ie),this._pane.classList.add(Ie))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(he=>{this._pane.classList.remove(he)}),this._appliedPanelClasses=[])}_getOriginRect(){const he=this._origin;if(he instanceof h.aKT)return he.nativeElement.getBoundingClientRect();if(he instanceof Element)return he.getBoundingClientRect();const Ie=he.width||0,xe=he.height||0;return{top:he.y,bottom:he.y+xe,left:he.x,right:he.x+Ie,height:xe,width:Ie}}}function Oe(Qe,he){for(let Ie in he)he.hasOwnProperty(Ie)&&(Qe[Ie]=he[Ie]);return Qe}function we(Qe){if("number"!=typeof Qe&&null!=Qe){const[he,Ie]=Qe.split(at);return Ie&&"px"!==Ie?null:parseFloat(he)}return Qe||null}function Ce(Qe){return{top:Math.floor(Qe.top),right:Math.floor(Qe.right),bottom:Math.floor(Qe.bottom),left:Math.floor(Qe.left),width:Math.floor(Qe.width),height:Math.floor(Qe.height)}}const mt="cdk-global-overlay-wrapper";class tn{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(he){const Ie=he.getConfig();this._overlayRef=he,this._width&&!Ie.width&&he.updateSize({width:this._width}),this._height&&!Ie.height&&he.updateSize({height:this._height}),he.hostElement.classList.add(mt),this._isDisposed=!1}top(he=""){return this._bottomOffset="",this._topOffset=he,this._alignItems="flex-start",this}left(he=""){return this._xOffset=he,this._xPosition="left",this}bottom(he=""){return this._topOffset="",this._bottomOffset=he,this._alignItems="flex-end",this}right(he=""){return this._xOffset=he,this._xPosition="right",this}start(he=""){return this._xOffset=he,this._xPosition="start",this}end(he=""){return this._xOffset=he,this._xPosition="end",this}width(he=""){return this._overlayRef?this._overlayRef.updateSize({width:he}):this._width=he,this}height(he=""){return this._overlayRef?this._overlayRef.updateSize({height:he}):this._height=he,this}centerHorizontally(he=""){return this.left(he),this._xPosition="center",this}centerVertically(he=""){return this.top(he),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const he=this._overlayRef.overlayElement.style,Ie=this._overlayRef.hostElement.style,xe=this._overlayRef.getConfig(),{width:je,height:ze,maxWidth:gt,maxHeight:kt}=xe,Jt=!("100%"!==je&&"100vw"!==je||gt&&"100%"!==gt&&"100vw"!==gt),on=!("100%"!==ze&&"100vh"!==ze||kt&&"100%"!==kt&&"100vh"!==kt),nn=this._xPosition,vn=this._xOffset,Ht="rtl"===this._overlayRef.getConfig().direction;let nt="",Nt="",Ft="";Jt?Ft="flex-start":"center"===nn?(Ft="center",Ht?Nt=vn:nt=vn):Ht?"left"===nn||"end"===nn?(Ft="flex-end",nt=vn):("right"===nn||"start"===nn)&&(Ft="flex-start",Nt=vn):"left"===nn||"start"===nn?(Ft="flex-start",nt=vn):("right"===nn||"end"===nn)&&(Ft="flex-end",Nt=vn),he.position=this._cssPosition,he.marginLeft=Jt?"0":nt,he.marginTop=on?"0":this._topOffset,he.marginBottom=this._bottomOffset,he.marginRight=Jt?"0":Nt,Ie.justifyContent=Ft,Ie.alignItems=on?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const he=this._overlayRef.overlayElement.style,Ie=this._overlayRef.hostElement,xe=Ie.style;Ie.classList.remove(mt),xe.justifyContent=xe.alignItems=he.marginTop=he.marginBottom=he.marginLeft=he.marginRight=he.position="",this._overlayRef=null,this._isDisposed=!0}}let Vt=(()=>{class Qe{constructor(Ie,xe,je,ze){this._viewportRuler=Ie,this._document=xe,this._platform=je,this._overlayContainer=ze}global(){return new tn}flexibleConnectedTo(Ie){return new ye(Ie,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static#e=this.\u0275fac=function(xe){return new(xe||Qe)(h.KVO(u.Xj),h.KVO(e.qQ),h.KVO(v.OD),h.KVO(Ge))};static#t=this.\u0275prov=h.jDH({token:Qe,factory:Qe.\u0275fac,providedIn:"root"})}return Qe})(),rn=0,En=(()=>{class Qe{constructor(Ie,xe,je,ze,gt,kt,Jt,on,nn,vn,Ht,nt){this.scrollStrategies=Ie,this._overlayContainer=xe,this._componentFactoryResolver=je,this._positionBuilder=ze,this._keyboardDispatcher=gt,this._injector=kt,this._ngZone=Jt,this._document=on,this._directionality=nn,this._location=vn,this._outsideClickDispatcher=Ht,this._animationsModuleType=nt}create(Ie){const xe=this._createHostElement(),je=this._createPaneElement(xe),ze=this._createPortalOutlet(je),gt=new F(Ie);return gt.direction=gt.direction||this._directionality.value,new Ve(ze,xe,je,gt,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(Ie){const xe=this._document.createElement("div");return xe.id="cdk-overlay-"+rn++,xe.classList.add("cdk-overlay-pane"),Ie.appendChild(xe),xe}_createHostElement(){const Ie=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(Ie),Ie}_createPortalOutlet(Ie){return this._appRef||(this._appRef=this._injector.get(h.o8S)),new S.aI(Ie,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static#e=this.\u0275fac=function(xe){return new(xe||Qe)(h.KVO(Ee),h.KVO(Ge),h.KVO(h.OM3),h.KVO(Vt),h.KVO(Te),h.KVO(h.zZn),h.KVO(h.SKi),h.KVO(e.qQ),h.KVO(A.dS),h.KVO(e.aZ),h.KVO(_e),h.KVO(h.bc$,8))};static#t=this.\u0275prov=h.jDH({token:Qe,factory:Qe.\u0275fac,providedIn:"root"})}return Qe})();const Yt={provide:new h.nKC("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{const Qe=(0,h.WQX)(En);return()=>Qe.scrollStrategies.reposition()}}),deps:[En],useFactory:function Bt(Qe){return()=>Qe.scrollStrategies.reposition()}};let St=(()=>{class Qe{static#e=this.\u0275fac=function(xe){return new(xe||Qe)};static#t=this.\u0275mod=h.$C({type:Qe});static#n=this.\u0275inj=h.G2t({providers:[En,Yt],imports:[A.jI,S.jc,u.E9,u.E9]})}return Qe})()},36860:(Me,K,o)=>{"use strict";o.d(K,{BQ:()=>C,CZ:()=>W,Fb:()=>le,KT:()=>re,MU:()=>T,OD:()=>c,v8:()=>Ee,vc:()=>ve});var u=o(54438),e=o(60177);let h;try{h=typeof Intl<"u"&&Intl.v8BreakIterator}catch{h=!1}let y,c=(()=>{class F{constructor(te){this._platformId=te,this.isBrowser=this._platformId?(0,e.UE)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!h)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static#e=this.\u0275fac=function(J){return new(J||F)(u.KVO(u.Agw))};static#t=this.\u0275prov=u.jDH({token:F,factory:F.\u0275fac,providedIn:"root"})}return F})();const R=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function T(){if(y)return y;if("object"!=typeof document||!document)return y=new Set(R),y;let F=document.createElement("input");return y=new Set(R.filter(j=>(F.setAttribute("type",j),F.type===j))),y}let A,B,se;function C(F){return function S(){if(null==A&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>A=!0}))}finally{A=A||!1}return A}()?F:!!F.capture}function W(){if(null==B){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return B=!1,B;if("scrollBehavior"in document.documentElement.style)B=!0;else{const F=Element.prototype.scrollTo;B=!!F&&!/\{\s*\[native code\]\s*\}/.test(F.toString())}}return B}function re(F){if(function Y(){if(null==se){const F=typeof document<"u"?document.head:null;se=!(!F||!F.createShadowRoot&&!F.attachShadow)}return se}()){const j=F.getRootNode?F.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&j instanceof ShadowRoot)return j}return null}function ve(){let F=typeof document<"u"&&document?document.activeElement:null;for(;F&&F.shadowRoot;){const j=F.shadowRoot.activeElement;if(j===F)break;F=j}return F}function le(F){return F.composedPath?F.composedPath()[0]:F.target}function Ee(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},76939:(Me,K,o)=>{"use strict";o.d(K,{A8:()=>S,I3:()=>re,VA:()=>C,aI:()=>W,jc:()=>le});var u=o(54438),e=o(60177);class A{attach(j){return this._attachedHost=j,j.attach(this)}detach(){let j=this._attachedHost;null!=j&&(this._attachedHost=null,j.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(j){this._attachedHost=j}}class S extends A{constructor(j,te,J,$,ce){super(),this.component=j,this.viewContainerRef=te,this.injector=J,this.componentFactoryResolver=$,this.projectableNodes=ce}}class C extends A{constructor(j,te,J,$){super(),this.templateRef=j,this.viewContainerRef=te,this.context=J,this.injector=$}get origin(){return this.templateRef.elementRef}attach(j,te=this.context){return this.context=te,super.attach(j)}detach(){return this.context=void 0,super.detach()}}class x extends A{constructor(j){super(),this.element=j instanceof u.aKT?j.nativeElement:j}}class P{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(j){return j instanceof S?(this._attachedPortal=j,this.attachComponentPortal(j)):j instanceof C?(this._attachedPortal=j,this.attachTemplatePortal(j)):this.attachDomPortal&&j instanceof x?(this._attachedPortal=j,this.attachDomPortal(j)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(j){this._disposeFn=j}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class W extends P{constructor(j,te,J,$,ce){super(),this.outletElement=j,this._componentFactoryResolver=te,this._appRef=J,this._defaultInjector=$,this.attachDomPortal=ue=>{const Te=ue.element,_e=this._document.createComment("dom-portal");Te.parentNode.insertBefore(_e,Te),this.outletElement.appendChild(Te),this._attachedPortal=ue,super.setDisposeFn(()=>{_e.parentNode&&_e.parentNode.replaceChild(Te,_e)})},this._document=ce}attachComponentPortal(j){const J=(j.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(j.component);let $;return j.viewContainerRef?($=j.viewContainerRef.createComponent(J,j.viewContainerRef.length,j.injector||j.viewContainerRef.injector,j.projectableNodes||void 0),this.setDisposeFn(()=>$.destroy())):($=J.create(j.injector||this._defaultInjector||u.zZn.NULL),this._appRef.attachView($.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView($.hostView),$.destroy()})),this.outletElement.appendChild(this._getComponentRootNode($)),this._attachedPortal=j,$}attachTemplatePortal(j){let te=j.viewContainerRef,J=te.createEmbeddedView(j.templateRef,j.context,{injector:j.injector});return J.rootNodes.forEach($=>this.outletElement.appendChild($)),J.detectChanges(),this.setDisposeFn(()=>{let $=te.indexOf(J);-1!==$&&te.remove($)}),this._attachedPortal=j,J}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(j){return j.hostView.rootNodes[0]}}let re=(()=>{class F extends P{constructor(te,J,$){super(),this._componentFactoryResolver=te,this._viewContainerRef=J,this._isInitialized=!1,this.attached=new u.bkB,this.attachDomPortal=ce=>{const ue=ce.element,Te=this._document.createComment("dom-portal");ce.setAttachedHost(this),ue.parentNode.insertBefore(Te,ue),this._getRootNode().appendChild(ue),this._attachedPortal=ce,super.setDisposeFn(()=>{Te.parentNode&&Te.parentNode.replaceChild(ue,Te)})},this._document=$}get portal(){return this._attachedPortal}set portal(te){this.hasAttached()&&!te&&!this._isInitialized||(this.hasAttached()&&super.detach(),te&&super.attach(te),this._attachedPortal=te||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(te){te.setAttachedHost(this);const J=null!=te.viewContainerRef?te.viewContainerRef:this._viewContainerRef,ce=(te.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(te.component),ue=J.createComponent(ce,J.length,te.injector||J.injector,te.projectableNodes||void 0);return J!==this._viewContainerRef&&this._getRootNode().appendChild(ue.hostView.rootNodes[0]),super.setDisposeFn(()=>ue.destroy()),this._attachedPortal=te,this._attachedRef=ue,this.attached.emit(ue),ue}attachTemplatePortal(te){te.setAttachedHost(this);const J=this._viewContainerRef.createEmbeddedView(te.templateRef,te.context,{injector:te.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=te,this._attachedRef=J,this.attached.emit(J),J}_getRootNode(){const te=this._viewContainerRef.element.nativeElement;return te.nodeType===te.ELEMENT_NODE?te:te.parentNode}static#e=this.\u0275fac=function(J){return new(J||F)(u.rXU(u.OM3),u.rXU(u.c1b),u.rXU(e.qQ))};static#t=this.\u0275dir=u.FsC({type:F,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[u.Mj6.None,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],standalone:!0,features:[u.Vt3]})}return F})(),le=(()=>{class F{static#e=this.\u0275fac=function(J){return new(J||F)};static#t=this.\u0275mod=u.$C({type:F});static#n=this.\u0275inj=u.G2t({})}return F})()},46535:(Me,K,o)=>{"use strict";o.d(K,{Gj:()=>St,R:()=>Ye,E9:()=>qt,Xj:()=>tn});var u=o(14085),e=o(54438),h=o(21413),c=o(7673),v=o(71985),y=o(33726),T=(o(30536),o(96780));let S,A=1;const C={};function x(Qe){return Qe in C&&(delete C[Qe],!0)}const P={setImmediate(Qe){const he=A++;return C[he]=!0,S||(S=Promise.resolve()),S.then(()=>x(he)&&Qe()),he},clearImmediate(Qe){x(Qe)}},{setImmediate:W,clearImmediate:ee}=P,se={setImmediate(...Qe){const{delegate:he}=se;return(he?.setImmediate||W)(...Qe)},clearImmediate(Qe){const{delegate:he}=se;return(he?.clearImmediate||ee)(Qe)},delegate:void 0};var re=o(39687);new class ve extends re.q{flush(he){this._active=!0;const Ie=this._scheduled;this._scheduled=void 0;const{actions:xe}=this;let je;he=he||xe.shift();do{if(je=he.execute(he.state,he.delay))break}while((he=xe[0])&&he.id===Ie&&xe.shift());if(this._active=!1,je){for(;(he=xe[0])&&he.id===Ie&&xe.shift();)he.unsubscribe();throw je}}}(class Y extends T.R{constructor(he,Ie){super(he,Ie),this.scheduler=he,this.work=Ie}requestAsyncId(he,Ie,xe=0){return null!==xe&&xe>0?super.requestAsyncId(he,Ie,xe):(he.actions.push(this),he._scheduled||(he._scheduled=se.setImmediate(he.flush.bind(he,void 0))))}recycleAsyncId(he,Ie,xe=0){var je;if(null!=xe?xe>0:this.delay>0)return super.recycleAsyncId(he,Ie,xe);const{actions:ze}=he;null!=Ie&&(null===(je=ze[ze.length-1])||void 0===je?void 0:je.id)!==Ie&&(se.clearImmediate(Ie),he._scheduled===Ie&&(he._scheduled=void 0))}});var F=o(43236),j=o(39974),te=o(58750),J=o(54360),ce=o(41584);function ue(Qe,he=F.E){return function $(Qe){return(0,j.N)((he,Ie)=>{let xe=!1,je=null,ze=null,gt=!1;const kt=()=>{if(ze?.unsubscribe(),ze=null,xe){xe=!1;const on=je;je=null,Ie.next(on)}gt&&Ie.complete()},Jt=()=>{ze=null,gt&&Ie.complete()};he.subscribe((0,J._)(Ie,on=>{xe=!0,je=on,ze||(0,te.Tg)(Qe(on)).subscribe(ze=(0,J._)(Ie,kt,Jt))},()=>{gt=!0,(!xe||!ze||ze.closed)&&Ie.complete()}))})}(()=>(0,ce.O)(Qe,he))}var Te=o(5964),_e=o(36860),Ge=o(60177),Ve=o(28203);let Ye=(()=>{class Qe{constructor(Ie,xe,je){this._ngZone=Ie,this._platform=xe,this._scrolled=new h.B,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=je}register(Ie){this.scrollContainers.has(Ie)||this.scrollContainers.set(Ie,Ie.elementScrolled().subscribe(()=>this._scrolled.next(Ie)))}deregister(Ie){const xe=this.scrollContainers.get(Ie);xe&&(xe.unsubscribe(),this.scrollContainers.delete(Ie))}scrolled(Ie=20){return this._platform.isBrowser?new v.c(xe=>{this._globalSubscription||this._addGlobalListener();const je=Ie>0?this._scrolled.pipe(ue(Ie)).subscribe(xe):this._scrolled.subscribe(xe);return this._scrolledCount++,()=>{je.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,c.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((Ie,xe)=>this.deregister(xe)),this._scrolled.complete()}ancestorScrolled(Ie,xe){const je=this.getAncestorScrollContainers(Ie);return this.scrolled(xe).pipe((0,Te.p)(ze=>!ze||je.indexOf(ze)>-1))}getAncestorScrollContainers(Ie){const xe=[];return this.scrollContainers.forEach((je,ze)=>{this._scrollableContainsElement(ze,Ie)&&xe.push(ze)}),xe}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(Ie,xe){let je=(0,u.i8)(xe),ze=Ie.getElementRef().nativeElement;do{if(je==ze)return!0}while(je=je.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const Ie=this._getWindow();return(0,y.R)(Ie.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static#e=this.\u0275fac=function(xe){return new(xe||Qe)(e.KVO(e.SKi),e.KVO(_e.OD),e.KVO(Ge.qQ,8))};static#t=this.\u0275prov=e.jDH({token:Qe,factory:Qe.\u0275fac,providedIn:"root"})}return Qe})(),tn=(()=>{class Qe{constructor(Ie,xe,je){this._platform=Ie,this._change=new h.B,this._changeListener=ze=>{this._change.next(ze)},this._document=je,xe.runOutsideAngular(()=>{if(Ie.isBrowser){const ze=this._getWindow();ze.addEventListener("resize",this._changeListener),ze.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const Ie=this._getWindow();Ie.removeEventListener("resize",this._changeListener),Ie.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const Ie={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),Ie}getViewportRect(){const Ie=this.getViewportScrollPosition(),{width:xe,height:je}=this.getViewportSize();return{top:Ie.top,left:Ie.left,bottom:Ie.top+je,right:Ie.left+xe,height:je,width:xe}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const Ie=this._document,xe=this._getWindow(),je=Ie.documentElement,ze=je.getBoundingClientRect();return{top:-ze.top||Ie.body.scrollTop||xe.scrollY||je.scrollTop||0,left:-ze.left||Ie.body.scrollLeft||xe.scrollX||je.scrollLeft||0}}change(Ie=20){return Ie>0?this._change.pipe(ue(Ie)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const Ie=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:Ie.innerWidth,height:Ie.innerHeight}:{width:0,height:0}}static#e=this.\u0275fac=function(xe){return new(xe||Qe)(e.KVO(_e.OD),e.KVO(e.SKi),e.KVO(Ge.qQ,8))};static#t=this.\u0275prov=e.jDH({token:Qe,factory:Qe.\u0275fac,providedIn:"root"})}return Qe})(),St=(()=>{class Qe{static#e=this.\u0275fac=function(xe){return new(xe||Qe)};static#t=this.\u0275mod=e.$C({type:Qe});static#n=this.\u0275inj=e.G2t({})}return Qe})(),qt=(()=>{class Qe{static#e=this.\u0275fac=function(xe){return new(xe||Qe)};static#t=this.\u0275mod=e.$C({type:Qe});static#n=this.\u0275inj=e.G2t({imports:[Ve.jI,St,Ve.jI,St]})}return Qe})()},60177:(Me,K,o)=>{"use strict";o.d(K,{AJ:()=>Fi,B3:()=>xn,GH:()=>fr,Jj:()=>ai,MD:()=>kr,N0:()=>$o,OI:()=>Zt,P9:()=>Fs,Pc:()=>Is,QT:()=>h,Sm:()=>ee,Sq:()=>Cn,T3:()=>Bn,TG:()=>Br,UE:()=>lo,VF:()=>v,Vy:()=>Vo,Xr:()=>Ro,YU:()=>Dt,ZD:()=>c,_b:()=>qe,aZ:()=>Y,bT:()=>Un,e1:()=>Ki,fG:()=>Ps,fw:()=>se,hb:()=>B,hj:()=>A,lG:()=>sr,oe:()=>os,qQ:()=>R,ux:()=>ri,vh:()=>Fr});var u=o(54438);let e=null;function h(){return e}function c(b){e??=b}class v{}const R=new u.nKC("");let T=(()=>{class b{historyGo(z){throw new Error("")}static#e=this.\u0275fac=function(oe){return new(oe||b)};static#t=this.\u0275prov=u.jDH({token:b,factory:()=>(0,u.WQX)(S),providedIn:"platform"})}return b})();const A=new u.nKC("");let S=(()=>{class b extends T{constructor(){super(),this._doc=(0,u.WQX)(R),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return h().getBaseHref(this._doc)}onPopState(z){const oe=h().getGlobalEventTarget(this._doc,"window");return oe.addEventListener("popstate",z,!1),()=>oe.removeEventListener("popstate",z)}onHashChange(z){const oe=h().getGlobalEventTarget(this._doc,"window");return oe.addEventListener("hashchange",z,!1),()=>oe.removeEventListener("hashchange",z)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(z){this._location.pathname=z}pushState(z,oe,Se){this._history.pushState(z,oe,Se)}replaceState(z,oe,Se){this._history.replaceState(z,oe,Se)}forward(){this._history.forward()}back(){this._history.back()}historyGo(z=0){this._history.go(z)}getState(){return this._history.state}static#e=this.\u0275fac=function(oe){return new(oe||b)};static#t=this.\u0275prov=u.jDH({token:b,factory:()=>new b,providedIn:"platform"})}return b})();function C(b,ge){if(0==b.length)return ge;if(0==ge.length)return b;let z=0;return b.endsWith("/")&&z++,ge.startsWith("/")&&z++,2==z?b+ge.substring(1):1==z?b+ge:b+"/"+ge}function x(b){const ge=b.match(/#|\?|$/),z=ge&&ge.index||b.length;return b.slice(0,z-("/"===b[z-1]?1:0))+b.slice(z)}function P(b){return b&&"?"!==b[0]?"?"+b:b}let B=(()=>{class b{historyGo(z){throw new Error("")}static#e=this.\u0275fac=function(oe){return new(oe||b)};static#t=this.\u0275prov=u.jDH({token:b,factory:()=>(0,u.WQX)(ee),providedIn:"root"})}return b})();const W=new u.nKC("");let ee=(()=>{class b extends B{constructor(z,oe){super(),this._platformLocation=z,this._removeListenerFns=[],this._baseHref=oe??this._platformLocation.getBaseHrefFromDOM()??(0,u.WQX)(R).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(z){this._removeListenerFns.push(this._platformLocation.onPopState(z),this._platformLocation.onHashChange(z))}getBaseHref(){return this._baseHref}prepareExternalUrl(z){return C(this._baseHref,z)}path(z=!1){const oe=this._platformLocation.pathname+P(this._platformLocation.search),Se=this._platformLocation.hash;return Se&&z?`${oe}${Se}`:oe}pushState(z,oe,Se,Et){const De=this.prepareExternalUrl(Se+P(Et));this._platformLocation.pushState(z,oe,De)}replaceState(z,oe,Se,Et){const De=this.prepareExternalUrl(Se+P(Et));this._platformLocation.replaceState(z,oe,De)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(z=0){this._platformLocation.historyGo?.(z)}static#e=this.\u0275fac=function(oe){return new(oe||b)(u.KVO(T),u.KVO(W,8))};static#t=this.\u0275prov=u.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}return b})(),se=(()=>{class b extends B{constructor(z,oe){super(),this._platformLocation=z,this._baseHref="",this._removeListenerFns=[],null!=oe&&(this._baseHref=oe)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(z){this._removeListenerFns.push(this._platformLocation.onPopState(z),this._platformLocation.onHashChange(z))}getBaseHref(){return this._baseHref}path(z=!1){const oe=this._platformLocation.hash??"#";return oe.length>0?oe.substring(1):oe}prepareExternalUrl(z){const oe=C(this._baseHref,z);return oe.length>0?"#"+oe:oe}pushState(z,oe,Se,Et){let De=this.prepareExternalUrl(Se+P(Et));0==De.length&&(De=this._platformLocation.pathname),this._platformLocation.pushState(z,oe,De)}replaceState(z,oe,Se,Et){let De=this.prepareExternalUrl(Se+P(Et));0==De.length&&(De=this._platformLocation.pathname),this._platformLocation.replaceState(z,oe,De)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(z=0){this._platformLocation.historyGo?.(z)}static#e=this.\u0275fac=function(oe){return new(oe||b)(u.KVO(T),u.KVO(W,8))};static#t=this.\u0275prov=u.jDH({token:b,factory:b.\u0275fac})}return b})(),Y=(()=>{class b{constructor(z){this._subject=new u.bkB,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=z;const oe=this._locationStrategy.getBaseHref();this._basePath=function Ee(b){if(new RegExp("^(https?:)?//").test(b)){const[,z]=b.split(/\/\/[^\/]+/);return z}return b}(x(le(oe))),this._locationStrategy.onPopState(Se=>{this._subject.emit({url:this.path(!0),pop:!0,state:Se.state,type:Se.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(z=!1){return this.normalize(this._locationStrategy.path(z))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(z,oe=""){return this.path()==this.normalize(z+P(oe))}normalize(z){return b.stripTrailingSlash(function ve(b,ge){if(!b||!ge.startsWith(b))return ge;const z=ge.substring(b.length);return""===z||["/",";","?","#"].includes(z[0])?z:ge}(this._basePath,le(z)))}prepareExternalUrl(z){return z&&"/"!==z[0]&&(z="/"+z),this._locationStrategy.prepareExternalUrl(z)}go(z,oe="",Se=null){this._locationStrategy.pushState(Se,"",z,oe),this._notifyUrlChangeListeners(this.prepareExternalUrl(z+P(oe)),Se)}replaceState(z,oe="",Se=null){this._locationStrategy.replaceState(Se,"",z,oe),this._notifyUrlChangeListeners(this.prepareExternalUrl(z+P(oe)),Se)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(z=0){this._locationStrategy.historyGo?.(z)}onUrlChange(z){return this._urlChangeListeners.push(z),this._urlChangeSubscription??=this.subscribe(oe=>{this._notifyUrlChangeListeners(oe.url,oe.state)}),()=>{const oe=this._urlChangeListeners.indexOf(z);this._urlChangeListeners.splice(oe,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(z="",oe){this._urlChangeListeners.forEach(Se=>Se(z,oe))}subscribe(z,oe,Se){return this._subject.subscribe({next:z,error:oe,complete:Se})}static#e=this.normalizeQueryParams=P;static#t=this.joinWithSlash=C;static#n=this.stripTrailingSlash=x;static#i=this.\u0275fac=function(oe){return new(oe||b)(u.KVO(B))};static#s=this.\u0275prov=u.jDH({token:b,factory:()=>function re(){return new Y((0,u.KVO)(B))}(),providedIn:"root"})}return b})();function le(b){return b.replace(/\/index.html$/,"")}const F={ADP:[void 0,void 0,0],AFN:[void 0,"\u060b",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058f",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20bc"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GHS:[void 0,"GH\u20b5"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202fCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var j=function(b){return b[b.Decimal=0]="Decimal",b[b.Percent=1]="Percent",b[b.Currency=2]="Currency",b[b.Scientific=3]="Scientific",b}(j||{}),J=function(b){return b[b.Format=0]="Format",b[b.Standalone=1]="Standalone",b}(J||{}),$=function(b){return b[b.Narrow=0]="Narrow",b[b.Abbreviated=1]="Abbreviated",b[b.Wide=2]="Wide",b[b.Short=3]="Short",b}($||{}),ce=function(b){return b[b.Short=0]="Short",b[b.Medium=1]="Medium",b[b.Long=2]="Long",b[b.Full=3]="Full",b}(ce||{});const ue={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function we(b,ge){return Bt((0,u.H5H)(b)[u.KH2.DateFormat],ge)}function Ce(b,ge){return Bt((0,u.H5H)(b)[u.KH2.TimeFormat],ge)}function $e(b,ge){return Bt((0,u.H5H)(b)[u.KH2.DateTimeFormat],ge)}function Ye(b,ge){const z=(0,u.H5H)(b),oe=z[u.KH2.NumberSymbols][ge];if(typeof oe>"u"){if(ge===ue.CurrencyDecimal)return z[u.KH2.NumberSymbols][ue.Decimal];if(ge===ue.CurrencyGroup)return z[u.KH2.NumberSymbols][ue.Group]}return oe}function un(b){if(!b[u.KH2.ExtraData])throw new Error(`Missing extra locale data for the locale "${b[u.KH2.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Bt(b,ge){for(let z=ge;z>-1;z--)if(typeof b[z]<"u")return b[z];throw new Error("Locale data API: locale data undefined")}function Yt(b){const[ge,z]=b.split(":");return{hours:+ge,minutes:+z}}const he=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Ie={},xe=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var je=function(b){return b[b.Short=0]="Short",b[b.ShortGMT=1]="ShortGMT",b[b.Long=2]="Long",b[b.Extended=3]="Extended",b}(je||{}),ze=function(b){return b[b.FullYear=0]="FullYear",b[b.Month=1]="Month",b[b.Date=2]="Date",b[b.Hours=3]="Hours",b[b.Minutes=4]="Minutes",b[b.Seconds=5]="Seconds",b[b.FractionalSeconds=6]="FractionalSeconds",b[b.Day=7]="Day",b}(ze||{}),gt=function(b){return b[b.DayPeriods=0]="DayPeriods",b[b.Days=1]="Days",b[b.Months=2]="Months",b[b.Eras=3]="Eras",b}(gt||{});function kt(b,ge,z,oe){let Se=function hn(b){if(bn(b))return b;if("number"==typeof b&&!isNaN(b))return new Date(b);if("string"==typeof b){if(b=b.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(b)){const[Se,Et=1,De=1]=b.split("-").map(m=>+m);return Jt(Se,Et-1,De)}const z=parseFloat(b);if(!isNaN(b-z))return new Date(z);let oe;if(oe=b.match(he))return function Fn(b){const ge=new Date(0);let z=0,oe=0;const Se=b[8]?ge.setUTCFullYear:ge.setFullYear,Et=b[8]?ge.setUTCHours:ge.setHours;b[9]&&(z=Number(b[9]+b[10]),oe=Number(b[9]+b[11])),Se.call(ge,Number(b[1]),Number(b[2])-1,Number(b[3]));const De=Number(b[4]||0)-z,m=Number(b[5]||0)-oe,O=Number(b[6]||0),N=Math.floor(1e3*parseFloat("0."+(b[7]||0)));return Et.call(ge,De,m,O,N),ge}(oe)}const ge=new Date(b);if(!bn(ge))throw new Error(`Unable to convert "${b}" into a date`);return ge}(b);ge=on(z,ge)||ge;let m,De=[];for(;ge;){if(m=xe.exec(ge),!m){De.push(ge);break}{De=De.concat(m.slice(1));const L=De.pop();if(!L)break;ge=L}}let O=Se.getTimezoneOffset();oe&&(O=Xe(oe,O),Se=function jt(b,ge,z){const oe=z?-1:1,Se=b.getTimezoneOffset();return function _t(b,ge){return(b=new Date(b.getTime())).setMinutes(b.getMinutes()+ge),b}(b,oe*(Xe(ge,Se)-Se))}(Se,oe,!0));let N="";return De.forEach(L=>{const V=function Pe(b){if(lt[b])return lt[b];let ge;switch(b){case"G":case"GG":case"GGG":ge=Ft(gt.Eras,$.Abbreviated);break;case"GGGG":ge=Ft(gt.Eras,$.Wide);break;case"GGGGG":ge=Ft(gt.Eras,$.Narrow);break;case"y":ge=nt(ze.FullYear,1,0,!1,!0);break;case"yy":ge=nt(ze.FullYear,2,0,!0,!0);break;case"yyy":ge=nt(ze.FullYear,3,0,!1,!0);break;case"yyyy":ge=nt(ze.FullYear,4,0,!1,!0);break;case"Y":ge=Je(1);break;case"YY":ge=Je(2,!0);break;case"YYY":ge=Je(3);break;case"YYYY":ge=Je(4);break;case"M":case"L":ge=nt(ze.Month,1,1);break;case"MM":case"LL":ge=nt(ze.Month,2,1);break;case"MMM":ge=Ft(gt.Months,$.Abbreviated);break;case"MMMM":ge=Ft(gt.Months,$.Wide);break;case"MMMMM":ge=Ft(gt.Months,$.Narrow);break;case"LLL":ge=Ft(gt.Months,$.Abbreviated,J.Standalone);break;case"LLLL":ge=Ft(gt.Months,$.Wide,J.Standalone);break;case"LLLLL":ge=Ft(gt.Months,$.Narrow,J.Standalone);break;case"w":ge=zn(1);break;case"ww":ge=zn(2);break;case"W":ge=zn(1,!0);break;case"d":ge=nt(ze.Date,1);break;case"dd":ge=nt(ze.Date,2);break;case"c":case"cc":ge=nt(ze.Day,1);break;case"ccc":ge=Ft(gt.Days,$.Abbreviated,J.Standalone);break;case"cccc":ge=Ft(gt.Days,$.Wide,J.Standalone);break;case"ccccc":ge=Ft(gt.Days,$.Narrow,J.Standalone);break;case"cccccc":ge=Ft(gt.Days,$.Short,J.Standalone);break;case"E":case"EE":case"EEE":ge=Ft(gt.Days,$.Abbreviated);break;case"EEEE":ge=Ft(gt.Days,$.Wide);break;case"EEEEE":ge=Ft(gt.Days,$.Narrow);break;case"EEEEEE":ge=Ft(gt.Days,$.Short);break;case"a":case"aa":case"aaa":ge=Ft(gt.DayPeriods,$.Abbreviated);break;case"aaaa":ge=Ft(gt.DayPeriods,$.Wide);break;case"aaaaa":ge=Ft(gt.DayPeriods,$.Narrow);break;case"b":case"bb":case"bbb":ge=Ft(gt.DayPeriods,$.Abbreviated,J.Standalone,!0);break;case"bbbb":ge=Ft(gt.DayPeriods,$.Wide,J.Standalone,!0);break;case"bbbbb":ge=Ft(gt.DayPeriods,$.Narrow,J.Standalone,!0);break;case"B":case"BB":case"BBB":ge=Ft(gt.DayPeriods,$.Abbreviated,J.Format,!0);break;case"BBBB":ge=Ft(gt.DayPeriods,$.Wide,J.Format,!0);break;case"BBBBB":ge=Ft(gt.DayPeriods,$.Narrow,J.Format,!0);break;case"h":ge=nt(ze.Hours,1,-12);break;case"hh":ge=nt(ze.Hours,2,-12);break;case"H":ge=nt(ze.Hours,1);break;case"HH":ge=nt(ze.Hours,2);break;case"m":ge=nt(ze.Minutes,1);break;case"mm":ge=nt(ze.Minutes,2);break;case"s":ge=nt(ze.Seconds,1);break;case"ss":ge=nt(ze.Seconds,2);break;case"S":ge=nt(ze.FractionalSeconds,1);break;case"SS":ge=nt(ze.FractionalSeconds,2);break;case"SSS":ge=nt(ze.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":ge=Tn(je.Short);break;case"ZZZZZ":ge=Tn(je.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":ge=Tn(je.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":ge=Tn(je.Long);break;default:return null}return lt[b]=ge,ge}(L);N+=V?V(Se,z,O):"''"===L?"'":L.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),N}function Jt(b,ge,z){const oe=new Date(0);return oe.setFullYear(b,ge,z),oe.setHours(0,0,0),oe}function on(b,ge){const z=function _e(b){return(0,u.H5H)(b)[u.KH2.LocaleId]}(b);if(Ie[z]??={},Ie[z][ge])return Ie[z][ge];let oe="";switch(ge){case"shortDate":oe=we(b,ce.Short);break;case"mediumDate":oe=we(b,ce.Medium);break;case"longDate":oe=we(b,ce.Long);break;case"fullDate":oe=we(b,ce.Full);break;case"shortTime":oe=Ce(b,ce.Short);break;case"mediumTime":oe=Ce(b,ce.Medium);break;case"longTime":oe=Ce(b,ce.Long);break;case"fullTime":oe=Ce(b,ce.Full);break;case"short":const Se=on(b,"shortTime"),Et=on(b,"shortDate");oe=nn($e(b,ce.Short),[Se,Et]);break;case"medium":const De=on(b,"mediumTime"),m=on(b,"mediumDate");oe=nn($e(b,ce.Medium),[De,m]);break;case"long":const O=on(b,"longTime"),N=on(b,"longDate");oe=nn($e(b,ce.Long),[O,N]);break;case"full":const L=on(b,"fullTime"),V=on(b,"fullDate");oe=nn($e(b,ce.Full),[L,V])}return oe&&(Ie[z][ge]=oe),oe}function nn(b,ge){return ge&&(b=b.replace(/\{([^}]+)}/g,function(z,oe){return null!=ge&&oe in ge?ge[oe]:z})),b}function vn(b,ge,z="-",oe,Se){let Et="";(b<0||Se&&b<=0)&&(Se?b=1-b:(b=-b,Et=z));let De=String(b);for(;De.length0||m>-z)&&(m+=z),b===ze.Hours)0===m&&-12===z&&(m=12);else if(b===ze.FractionalSeconds)return function Ht(b,ge){return vn(b,3).substring(0,ge)}(m,ge);const O=Ye(De,ue.MinusSign);return vn(m,ge,O,oe,Se)}}function Ft(b,ge,z=J.Format,oe=!1){return function(Se,Et){return function Xt(b,ge,z,oe,Se,Et){switch(z){case gt.Months:return function dt(b,ge,z){const oe=(0,u.H5H)(b),Et=Bt([oe[u.KH2.MonthsFormat],oe[u.KH2.MonthsStandalone]],ge);return Bt(Et,z)}(ge,Se,oe)[b.getMonth()];case gt.Days:return function Ve(b,ge,z){const oe=(0,u.H5H)(b),Et=Bt([oe[u.KH2.DaysFormat],oe[u.KH2.DaysStandalone]],ge);return Bt(Et,z)}(ge,Se,oe)[b.getDay()];case gt.DayPeriods:const De=b.getHours(),m=b.getMinutes();if(Et){const N=function wn(b){const ge=(0,u.H5H)(b);return un(ge),(ge[u.KH2.ExtraData][2]||[]).map(oe=>"string"==typeof oe?Yt(oe):[Yt(oe[0]),Yt(oe[1])])}(ge),L=function Kn(b,ge,z){const oe=(0,u.H5H)(b);un(oe);const Et=Bt([oe[u.KH2.ExtraData][0],oe[u.KH2.ExtraData][1]],ge)||[];return Bt(Et,z)||[]}(ge,Se,oe),V=N.findIndex(de=>{if(Array.isArray(de)){const[me,ke]=de,Fe=De>=me.hours&&m>=me.minutes,Ne=De0?Math.floor(Se/60):Math.ceil(Se/60);switch(b){case je.Short:return(Se>=0?"+":"")+vn(De,2,Et)+vn(Math.abs(Se%60),2,Et);case je.ShortGMT:return"GMT"+(Se>=0?"+":"")+vn(De,1,Et);case je.Long:return"GMT"+(Se>=0?"+":"")+vn(De,2,Et)+":"+vn(Math.abs(Se%60),2,Et);case je.Extended:return 0===oe?"Z":(Se>=0?"+":"")+vn(De,2,Et)+":"+vn(Math.abs(Se%60),2,Et);default:throw new Error(`Unknown zone width "${b}"`)}}}const An=0,si=4;function gi(b){const ge=b.getDay(),z=0===ge?-3:si-ge;return Jt(b.getFullYear(),b.getMonth(),b.getDate()+z)}function zn(b,ge=!1){return function(z,oe){let Se;if(ge){const Et=new Date(z.getFullYear(),z.getMonth(),1).getDay()-1,De=z.getDate();Se=1+Math.floor((De+Et)/7)}else{const Et=gi(z),De=function Di(b){const ge=Jt(b,An,1).getDay();return Jt(b,0,1+(ge<=si?si:si+7)-ge)}(Et.getFullYear()),m=Et.getTime()-De.getTime();Se=1+Math.round(m/6048e5)}return vn(Se,b,Ye(oe,ue.MinusSign))}}function Je(b,ge=!1){return function(z,oe){return vn(gi(z).getFullYear(),b,Ye(oe,ue.MinusSign),ge)}}const lt={};function Xe(b,ge){b=b.replace(/:/g,"");const z=Date.parse("Jan 01, 1970 00:00:00 "+b)/6e4;return isNaN(z)?ge:z}function bn(b){return b instanceof Date&&!isNaN(b.valueOf())}const Ke=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Be=22,G=".",Q="0",H=";",ne=",",q="#";function Rt(b,ge,z,oe,Se){const De=function Mn(b,ge="-"){const z={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},oe=b.split(H),Se=oe[0],Et=oe[1],De=-1!==Se.indexOf(G)?Se.split(G):[Se.substring(0,Se.lastIndexOf(Q)+1),Se.substring(Se.lastIndexOf(Q)+1)],m=De[0],O=De[1]||"";z.posPre=m.substring(0,m.indexOf(q));for(let L=0;L-1&&(ge=ge.replace(G,"")),(Et=ge.search(/e/i))>0?(Se<0&&(Se=Et),Se+=+ge.slice(Et+1),ge=ge.substring(0,Et)):Se<0&&(Se=ge.length),Et=0;ge.charAt(Et)===Q;Et++);if(Et===(m=ge.length))oe=[0],Se=1;else{for(m--;ge.charAt(m)===Q;)m--;for(Se-=Et,oe=[],De=0;Et<=m;Et++,De++)oe[De]=Number(ge.charAt(Et))}return Se>Be&&(oe=oe.splice(0,Be-1),z=Se-1,Se=1),{digits:oe,exponent:z,integerLen:Se}}(b);De&&(N=function wi(b){if(0===b.digits[0])return b;const ge=b.digits.length-b.integerLen;return b.exponent?b.exponent+=2:(0===ge?b.digits.push(0,0):1===ge&&b.digits.push(0),b.integerLen+=2),b}(N));let L=ge.minInt,V=ge.minFrac,de=ge.maxFrac;if(Et){const ht=Et.match(Ke);if(null===ht)throw new Error(`${Et} is not a valid digit info`);const ft=ht[1],At=ht[3],ct=ht[5];null!=ft&&(L=zi(ft)),null!=At&&(V=zi(At)),null!=ct?de=zi(ct):null!=At&&V>de&&(de=V)}!function qi(b,ge,z){if(ge>z)throw new Error(`The minimum number of digits after fraction (${ge}) is higher than the maximum (${z}).`);let oe=b.digits,Se=oe.length-b.integerLen;const Et=Math.min(Math.max(ge,Se),z);let De=Et+b.integerLen,m=oe[De];if(De>0){oe.splice(Math.max(b.integerLen,De));for(let V=De;V=5)if(De-1<0){for(let V=0;V>De;V--)oe.unshift(0),b.integerLen++;oe.unshift(1),b.integerLen++}else oe[De-1]++;for(;Se=N?ke.pop():O=!1),de>=10?1:0},0);L&&(oe.unshift(L),b.integerLen++)}(N,V,de);let me=N.digits,ke=N.integerLen;const Fe=N.exponent;let Ne=[];for(O=me.every(ht=>!ht);ke0?Ne=me.splice(ke,me.length):(Ne=me,me=[0]);const et=[];for(me.length>=ge.lgSize&&et.unshift(me.splice(-ge.lgSize,me.length).join(""));me.length>ge.gSize;)et.unshift(me.splice(-ge.gSize,me.length).join(""));me.length&&et.unshift(me.join("")),m=et.join(Ye(z,oe)),Ne.length&&(m+=Ye(z,Se)+Ne.join("")),Fe&&(m+=Ye(z,ue.Exponential)+"+"+Fe)}else m=Ye(z,ue.Infinity);return m=b<0&&!O?ge.negPre+m+ge.negSuf:ge.posPre+m+ge.posSuf,m}(b,De,ge,ue.CurrencyGroup,ue.CurrencyDecimal,Se).replace("\xa4",z).replace("\xa4","").trim()}function zi(b){const ge=parseInt(b);if(isNaN(ge))throw new Error("Invalid integer literal when parsing "+b);return ge}function qe(b,ge){ge=encodeURIComponent(ge);for(const z of b.split(";")){const oe=z.indexOf("="),[Se,Et]=-1==oe?[z,""]:[z.slice(0,oe),z.slice(oe+1)];if(Se.trim()===ge)return decodeURIComponent(Et)}return null}const Ze=/\s+/,Ot=[];let Dt=(()=>{class b{constructor(z,oe){this._ngEl=z,this._renderer=oe,this.initialClasses=Ot,this.stateMap=new Map}set klass(z){this.initialClasses=null!=z?z.trim().split(Ze):Ot}set ngClass(z){this.rawClass="string"==typeof z?z.trim().split(Ze):z}ngDoCheck(){for(const oe of this.initialClasses)this._updateState(oe,!0);const z=this.rawClass;if(Array.isArray(z)||z instanceof Set)for(const oe of z)this._updateState(oe,!0);else if(null!=z)for(const oe of Object.keys(z))this._updateState(oe,!!z[oe]);this._applyStateDiff()}_updateState(z,oe){const Se=this.stateMap.get(z);void 0!==Se?(Se.enabled!==oe&&(Se.changed=!0,Se.enabled=oe),Se.touched=!0):this.stateMap.set(z,{enabled:oe,changed:!0,touched:!0})}_applyStateDiff(){for(const z of this.stateMap){const oe=z[0],Se=z[1];Se.changed?(this._toggleClass(oe,Se.enabled),Se.changed=!1):Se.touched||(Se.enabled&&this._toggleClass(oe,!1),this.stateMap.delete(oe)),Se.touched=!1}}_toggleClass(z,oe){(z=z.trim()).length>0&&z.split(Ze).forEach(Se=>{oe?this._renderer.addClass(this._ngEl.nativeElement,Se):this._renderer.removeClass(this._ngEl.nativeElement,Se)})}static#e=this.\u0275fac=function(oe){return new(oe||b)(u.rXU(u.aKT),u.rXU(u.sFG))};static#t=this.\u0275dir=u.FsC({type:b,selectors:[["","ngClass",""]],inputs:{klass:[u.Mj6.None,"class","klass"],ngClass:"ngClass"},standalone:!0})}return b})(),Zt=(()=>{class b{constructor(z){this._viewContainerRef=z,this.ngComponentOutlet=null,this._inputsUsed=new Map}_needToReCreateNgModuleInstance(z){return void 0!==z.ngComponentOutletNgModule||void 0!==z.ngComponentOutletNgModuleFactory}_needToReCreateComponentInstance(z){return void 0!==z.ngComponentOutlet||void 0!==z.ngComponentOutletContent||void 0!==z.ngComponentOutletInjector||this._needToReCreateNgModuleInstance(z)}ngOnChanges(z){if(this._needToReCreateComponentInstance(z)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){const oe=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(z)&&(this._moduleRef?.destroy(),this._moduleRef=this.ngComponentOutletNgModule?(0,u.w6W)(this.ngComponentOutletNgModule,zt(oe)):this.ngComponentOutletNgModuleFactory?this.ngComponentOutletNgModuleFactory.create(zt(oe)):void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:oe,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(const z of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(z,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(z){for(const[oe,Se]of this._inputsUsed)Se?(z.setInput(oe,this.ngComponentOutletInputs[oe]),this._inputsUsed.set(oe,!1)):(z.setInput(oe,void 0),this._inputsUsed.delete(oe))}static#e=this.\u0275fac=function(oe){return new(oe||b)(u.rXU(u.c1b))};static#t=this.\u0275dir=u.FsC({type:b,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[u.OA$]})}return b})();function zt(b){return b.get(u.Vns).injector}class an{constructor(ge,z,oe,Se){this.$implicit=ge,this.ngForOf=z,this.index=oe,this.count=Se}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Cn=(()=>{class b{set ngForOf(z){this._ngForOf=z,this._ngForOfDirty=!0}set ngForTrackBy(z){this._trackByFn=z}get ngForTrackBy(){return this._trackByFn}constructor(z,oe,Se){this._viewContainer=z,this._template=oe,this._differs=Se,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(z){z&&(this._template=z)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const z=this._ngForOf;!this._differ&&z&&(this._differ=this._differs.find(z).create(this.ngForTrackBy))}if(this._differ){const z=this._differ.diff(this._ngForOf);z&&this._applyChanges(z)}}_applyChanges(z){const oe=this._viewContainer;z.forEachOperation((Se,Et,De)=>{if(null==Se.previousIndex)oe.createEmbeddedView(this._template,new an(Se.item,this._ngForOf,-1,-1),null===De?void 0:De);else if(null==De)oe.remove(null===Et?void 0:Et);else if(null!==Et){const m=oe.get(Et);oe.move(m,De),Ei(m,Se)}});for(let Se=0,Et=oe.length;Se{Ei(oe.get(Se.currentIndex),Se)})}static ngTemplateContextGuard(z,oe){return!0}static#e=this.\u0275fac=function(oe){return new(oe||b)(u.rXU(u.c1b),u.rXU(u.C4Q),u.rXU(u._q3))};static#t=this.\u0275dir=u.FsC({type:b,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return b})();function Ei(b,ge){b.context.$implicit=ge.item}let Un=(()=>{class b{constructor(z,oe){this._viewContainer=z,this._context=new hi,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=oe}set ngIf(z){this._context.$implicit=this._context.ngIf=z,this._updateView()}set ngIfThen(z){Li("ngIfThen",z),this._thenTemplateRef=z,this._thenViewRef=null,this._updateView()}set ngIfElse(z){Li("ngIfElse",z),this._elseTemplateRef=z,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(z,oe){return!0}static#e=this.\u0275fac=function(oe){return new(oe||b)(u.rXU(u.c1b),u.rXU(u.C4Q))};static#t=this.\u0275dir=u.FsC({type:b,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return b})();class hi{constructor(){this.$implicit=null,this.ngIf=null}}function Li(b,ge){if(ge&&!ge.createEmbeddedView)throw new Error(`${b} must be a TemplateRef, but received '${(0,u.Tbb)(ge)}'.`)}class qn{constructor(ge,z){this._viewContainerRef=ge,this._templateRef=z,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(ge){ge&&!this._created?this.create():!ge&&this._created&&this.destroy()}}let ri=(()=>{class b{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(z){this._ngSwitch=z,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(z){this._defaultViews.push(z)}_matchCase(z){const oe=z===this._ngSwitch;return this._lastCasesMatched||=oe,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),oe}_updateDefaultCases(z){if(this._defaultViews.length>0&&z!==this._defaultUsed){this._defaultUsed=z;for(const oe of this._defaultViews)oe.enforceState(z)}}static#e=this.\u0275fac=function(oe){return new(oe||b)};static#t=this.\u0275dir=u.FsC({type:b,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}return b})(),Ki=(()=>{class b{constructor(z,oe,Se){this.ngSwitch=Se,Se._addCase(),this._view=new qn(z,oe)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static#e=this.\u0275fac=function(oe){return new(oe||b)(u.rXU(u.c1b),u.rXU(u.C4Q),u.rXU(ri,9))};static#t=this.\u0275dir=u.FsC({type:b,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}return b})(),Ps=(()=>{class b{constructor(z,oe,Se){Se._addDefault(new qn(z,oe))}static#e=this.\u0275fac=function(oe){return new(oe||b)(u.rXU(u.c1b),u.rXU(u.C4Q),u.rXU(ri,9))};static#t=this.\u0275dir=u.FsC({type:b,selectors:[["","ngSwitchDefault",""]],standalone:!0})}return b})(),xn=(()=>{class b{constructor(z,oe,Se){this._ngEl=z,this._differs=oe,this._renderer=Se,this._ngStyle=null,this._differ=null}set ngStyle(z){this._ngStyle=z,!this._differ&&z&&(this._differ=this._differs.find(z).create())}ngDoCheck(){if(this._differ){const z=this._differ.diff(this._ngStyle);z&&this._applyChanges(z)}}_setStyle(z,oe){const[Se,Et]=z.split("."),De=-1===Se.indexOf("-")?void 0:u.czy.DashCase;null!=oe?this._renderer.setStyle(this._ngEl.nativeElement,Se,Et?`${oe}${Et}`:oe,De):this._renderer.removeStyle(this._ngEl.nativeElement,Se,De)}_applyChanges(z){z.forEachRemovedItem(oe=>this._setStyle(oe.key,null)),z.forEachAddedItem(oe=>this._setStyle(oe.key,oe.currentValue)),z.forEachChangedItem(oe=>this._setStyle(oe.key,oe.currentValue))}static#e=this.\u0275fac=function(oe){return new(oe||b)(u.rXU(u.aKT),u.rXU(u.MKu),u.rXU(u.sFG))};static#t=this.\u0275dir=u.FsC({type:b,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return b})(),Bn=(()=>{class b{constructor(z){this._viewContainerRef=z,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(z){if(this._shouldRecreateView(z)){const oe=this._viewContainerRef;if(this._viewRef&&oe.remove(oe.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const Se=this._createContextForwardProxy();this._viewRef=oe.createEmbeddedView(this.ngTemplateOutlet,Se,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(z){return!!z.ngTemplateOutlet||!!z.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(z,oe,Se)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,oe,Se),get:(z,oe,Se)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,oe,Se)}})}static#e=this.\u0275fac=function(oe){return new(oe||b)(u.rXU(u.c1b))};static#t=this.\u0275dir=u.FsC({type:b,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[u.OA$]})}return b})();function Hn(b,ge){return new u.wOt(2100,!1)}class oo{createSubscription(ge,z){return(0,u.O8t)(()=>ge.subscribe({next:z,error:oe=>{throw oe}}))}dispose(ge){(0,u.O8t)(()=>ge.unsubscribe())}}class Ma{createSubscription(ge,z){return ge.then(z,oe=>{throw oe})}dispose(ge){}}const aa=new Ma,Na=new oo;let ai=(()=>{class b{constructor(z){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=z}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(z){if(!this._obj){if(z)try{this.markForCheckOnValueUpdate=!1,this._subscribe(z)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return z!==this._obj?(this._dispose(),this.transform(z)):this._latestValue}_subscribe(z){this._obj=z,this._strategy=this._selectStrategy(z),this._subscription=this._strategy.createSubscription(z,oe=>this._updateLatestValue(z,oe))}_selectStrategy(z){if((0,u.jNT)(z))return aa;if((0,u.zjR)(z))return Na;throw Hn()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(z,oe){z===this._obj&&(this._latestValue=oe,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static#e=this.\u0275fac=function(oe){return new(oe||b)(u.rXU(u.gRc,16))};static#t=this.\u0275pipe=u.EJ8({name:"async",type:b,pure:!1,standalone:!0})}return b})(),fr=(()=>{class b{transform(z){if(null==z)return null;if("string"!=typeof z)throw Hn();return z.toLowerCase()}static#e=this.\u0275fac=function(oe){return new(oe||b)};static#t=this.\u0275pipe=u.EJ8({name:"lowercase",type:b,pure:!0,standalone:!0})}return b})(),Is=(()=>{class b{transform(z){if(null==z)return null;if("string"!=typeof z)throw Hn();return z.toUpperCase()}static#e=this.\u0275fac=function(oe){return new(oe||b)};static#t=this.\u0275pipe=u.EJ8({name:"uppercase",type:b,pure:!0,standalone:!0})}return b})();const ir=new u.nKC(""),Dr=new u.nKC("");let Fr=(()=>{class b{constructor(z,oe,Se){this.locale=z,this.defaultTimezone=oe,this.defaultOptions=Se}transform(z,oe,Se,Et){if(null==z||""===z||z!=z)return null;try{return kt(z,oe??this.defaultOptions?.dateFormat??"mediumDate",Et||this.locale,Se??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(De){throw Hn()}}static#e=this.\u0275fac=function(oe){return new(oe||b)(u.rXU(u.xe9,16),u.rXU(ir,24),u.rXU(Dr,24))};static#t=this.\u0275pipe=u.EJ8({name:"date",type:b,pure:!0,standalone:!0})}return b})(),Br=(()=>{class b{transform(z){return JSON.stringify(z,null,2)}static#e=this.\u0275fac=function(oe){return new(oe||b)};static#t=this.\u0275pipe=u.EJ8({name:"json",type:b,pure:!1,standalone:!0})}return b})(),sr=(()=>{class b{constructor(z){this.differs=z,this.keyValues=[],this.compareFn=Ks}transform(z,oe=Ks){if(!z||!(z instanceof Map)&&"object"!=typeof z)return null;this.differ??=this.differs.find(z).create();const Se=this.differ.diff(z),Et=oe!==this.compareFn;return Se&&(this.keyValues=[],Se.forEachItem(De=>{this.keyValues.push(function wa(b,ge){return{key:b,value:ge}}(De.key,De.currentValue))})),(Se||Et)&&(this.keyValues.sort(oe),this.compareFn=oe),this.keyValues}static#e=this.\u0275fac=function(oe){return new(oe||b)(u.rXU(u.MKu,16))};static#t=this.\u0275pipe=u.EJ8({name:"keyvalue",type:b,pure:!1,standalone:!0})}return b})();function Ks(b,ge){const z=b.key,oe=ge.key;if(z===oe)return 0;if(void 0===z)return 1;if(void 0===oe)return-1;if(null===z)return 1;if(null===oe)return-1;if("string"==typeof z&&"string"==typeof oe)return z{class b{constructor(z,oe="USD"){this._locale=z,this._defaultCurrencyCode=oe}transform(z,oe=this._defaultCurrencyCode,Se="symbol",Et,De){if(!function co(b){return!(null==b||""===b||b!=b)}(z))return null;De||=this._locale,"boolean"==typeof Se&&(Se=Se?"symbol":"code");let m=oe||this._defaultCurrencyCode;"code"!==Se&&(m="symbol"===Se||"symbol-narrow"===Se?function St(b,ge,z="en"){const oe=function rn(b){return(0,u.H5H)(b)[u.KH2.Currencies]}(z)[b]||F[b]||[],Se=oe[1];return"narrow"===ge&&"string"==typeof Se?Se:oe[0]||b}(m,"symbol"===Se?"wide":"narrow",De):Se);try{return Rt(function $n(b){if("string"==typeof b&&!isNaN(Number(b)-parseFloat(b)))return Number(b);if("number"!=typeof b)throw new Error(`${b} is not a number`);return b}(z),De,m,oe,Et)}catch(O){throw Hn()}}static#e=this.\u0275fac=function(oe){return new(oe||b)(u.rXU(u.xe9,16),u.rXU(u.Ocv,16))};static#t=this.\u0275pipe=u.EJ8({name:"currency",type:b,pure:!0,standalone:!0})}return b})();let Fs=(()=>{class b{transform(z,oe,Se){if(null==z)return null;if(!this.supports(z))throw Hn();return z.slice(oe,Se)}supports(z){return"string"==typeof z||Array.isArray(z)}static#e=this.\u0275fac=function(oe){return new(oe||b)};static#t=this.\u0275pipe=u.EJ8({name:"slice",type:b,pure:!1,standalone:!0})}return b})(),kr=(()=>{class b{static#e=this.\u0275fac=function(oe){return new(oe||b)};static#t=this.\u0275mod=u.$C({type:b});static#n=this.\u0275inj=u.G2t({})}return b})();const Fi="browser",Ao="server";function lo(b){return b===Fi}function Vo(b){return b===Ao}let Ro=(()=>{class b{static#e=this.\u0275prov=(0,u.jDH)({token:b,providedIn:"root",factory:()=>lo((0,u.WQX)(u.Agw))?new us((0,u.WQX)(R),window):new nc})}return b})();class us{constructor(ge,z){this.document=ge,this.window=z,this.offset=()=>[0,0]}setOffset(ge){this.offset=Array.isArray(ge)?()=>ge:ge}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(ge){this.window.scrollTo(ge[0],ge[1])}scrollToAnchor(ge){const z=function Ur(b,ge){const z=b.getElementById(ge)||b.getElementsByName(ge)[0];if(z)return z;if("function"==typeof b.createTreeWalker&&b.body&&"function"==typeof b.body.attachShadow){const oe=b.createTreeWalker(b.body,NodeFilter.SHOW_ELEMENT);let Se=oe.currentNode;for(;Se;){const Et=Se.shadowRoot;if(Et){const De=Et.getElementById(ge)||Et.querySelector(`[name="${ge}"]`);if(De)return De}Se=oe.nextNode()}}return null}(this.document,ge);z&&(this.scrollToElement(z),z.focus())}setHistoryScrollRestoration(ge){this.window.history.scrollRestoration=ge}scrollToElement(ge){const z=ge.getBoundingClientRect(),oe=z.left+this.window.pageXOffset,Se=z.top+this.window.pageYOffset,Et=this.offset();this.window.scrollTo(oe-Et[0],Se-Et[1])}}class nc{setOffset(ge){}getScrollPosition(){return[0,0]}scrollToPosition(ge){}scrollToAnchor(ge){}setHistoryScrollRestoration(ge){}}class $o{}},21626:(Me,K,o)=>{"use strict";o.d(K,{Lr:()=>B,Nl:()=>Ee,Qq:()=>we,_y:()=>j,a7:()=>wn,cS:()=>dt,q1:()=>H,rx:()=>F,yz:()=>at}),o(10467);var e=o(54438),h=o(7673),c=o(71985),v=o(22806),y=o(70274),R=o(5964),T=o(96354),A=o(70980),S=o(25558),C=o(60177);class x{}class P{}class B{constructor(qe){this.normalizedNames=new Map,this.lazyUpdate=null,qe?"string"==typeof qe?this.lazyInit=()=>{this.headers=new Map,qe.split("\n").forEach(Ze=>{const Ot=Ze.indexOf(":");if(Ot>0){const Dt=Ze.slice(0,Ot),Zt=Dt.toLowerCase(),zt=Ze.slice(Ot+1).trim();this.maybeSetNormalizedName(Dt,Zt),this.headers.has(Zt)?this.headers.get(Zt).push(zt):this.headers.set(Zt,[zt])}})}:typeof Headers<"u"&&qe instanceof Headers?(this.headers=new Map,qe.forEach((Ze,Ot)=>{this.setHeaderEntries(Ot,Ze)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(qe).forEach(([Ze,Ot])=>{this.setHeaderEntries(Ze,Ot)})}:this.headers=new Map}has(qe){return this.init(),this.headers.has(qe.toLowerCase())}get(qe){this.init();const Ze=this.headers.get(qe.toLowerCase());return Ze&&Ze.length>0?Ze[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(qe){return this.init(),this.headers.get(qe.toLowerCase())||null}append(qe,Ze){return this.clone({name:qe,value:Ze,op:"a"})}set(qe,Ze){return this.clone({name:qe,value:Ze,op:"s"})}delete(qe,Ze){return this.clone({name:qe,value:Ze,op:"d"})}maybeSetNormalizedName(qe,Ze){this.normalizedNames.has(Ze)||this.normalizedNames.set(Ze,qe)}init(){this.lazyInit&&(this.lazyInit instanceof B?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(qe=>this.applyUpdate(qe)),this.lazyUpdate=null))}copyFrom(qe){qe.init(),Array.from(qe.headers.keys()).forEach(Ze=>{this.headers.set(Ze,qe.headers.get(Ze)),this.normalizedNames.set(Ze,qe.normalizedNames.get(Ze))})}clone(qe){const Ze=new B;return Ze.lazyInit=this.lazyInit&&this.lazyInit instanceof B?this.lazyInit:this,Ze.lazyUpdate=(this.lazyUpdate||[]).concat([qe]),Ze}applyUpdate(qe){const Ze=qe.name.toLowerCase();switch(qe.op){case"a":case"s":let Ot=qe.value;if("string"==typeof Ot&&(Ot=[Ot]),0===Ot.length)return;this.maybeSetNormalizedName(qe.name,Ze);const Dt=("a"===qe.op?this.headers.get(Ze):void 0)||[];Dt.push(...Ot),this.headers.set(Ze,Dt);break;case"d":const Zt=qe.value;if(Zt){let zt=this.headers.get(Ze);if(!zt)return;zt=zt.filter(an=>-1===Zt.indexOf(an)),0===zt.length?(this.headers.delete(Ze),this.normalizedNames.delete(Ze)):this.headers.set(Ze,zt)}else this.headers.delete(Ze),this.normalizedNames.delete(Ze)}}setHeaderEntries(qe,Ze){const Ot=(Array.isArray(Ze)?Ze:[Ze]).map(Zt=>Zt.toString()),Dt=qe.toLowerCase();this.headers.set(Dt,Ot),this.maybeSetNormalizedName(qe,Dt)}forEach(qe){this.init(),Array.from(this.normalizedNames.keys()).forEach(Ze=>qe(this.normalizedNames.get(Ze),this.headers.get(Ze)))}}class ee{encodeKey(qe){return ve(qe)}encodeValue(qe){return ve(qe)}decodeKey(qe){return decodeURIComponent(qe)}decodeValue(qe){return decodeURIComponent(qe)}}const Y=/%(\d[a-f0-9])/gi,re={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function ve(Le){return encodeURIComponent(Le).replace(Y,(qe,Ze)=>re[Ze]??qe)}function le(Le){return`${Le}`}class Ee{constructor(qe={}){if(this.updates=null,this.cloneFrom=null,this.encoder=qe.encoder||new ee,qe.fromString){if(qe.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function se(Le,qe){const Ze=new Map;return Le.length>0&&Le.replace(/^\?/,"").split("&").forEach(Dt=>{const Zt=Dt.indexOf("="),[zt,an]=-1==Zt?[qe.decodeKey(Dt),""]:[qe.decodeKey(Dt.slice(0,Zt)),qe.decodeValue(Dt.slice(Zt+1))],Cn=Ze.get(zt)||[];Cn.push(an),Ze.set(zt,Cn)}),Ze}(qe.fromString,this.encoder)}else qe.fromObject?(this.map=new Map,Object.keys(qe.fromObject).forEach(Ze=>{const Ot=qe.fromObject[Ze],Dt=Array.isArray(Ot)?Ot.map(le):[le(Ot)];this.map.set(Ze,Dt)})):this.map=null}has(qe){return this.init(),this.map.has(qe)}get(qe){this.init();const Ze=this.map.get(qe);return Ze?Ze[0]:null}getAll(qe){return this.init(),this.map.get(qe)||null}keys(){return this.init(),Array.from(this.map.keys())}append(qe,Ze){return this.clone({param:qe,value:Ze,op:"a"})}appendAll(qe){const Ze=[];return Object.keys(qe).forEach(Ot=>{const Dt=qe[Ot];Array.isArray(Dt)?Dt.forEach(Zt=>{Ze.push({param:Ot,value:Zt,op:"a"})}):Ze.push({param:Ot,value:Dt,op:"a"})}),this.clone(Ze)}set(qe,Ze){return this.clone({param:qe,value:Ze,op:"s"})}delete(qe,Ze){return this.clone({param:qe,value:Ze,op:"d"})}toString(){return this.init(),this.keys().map(qe=>{const Ze=this.encoder.encodeKey(qe);return this.map.get(qe).map(Ot=>Ze+"="+this.encoder.encodeValue(Ot)).join("&")}).filter(qe=>""!==qe).join("&")}clone(qe){const Ze=new Ee({encoder:this.encoder});return Ze.cloneFrom=this.cloneFrom||this,Ze.updates=(this.updates||[]).concat(qe),Ze}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(qe=>this.map.set(qe,this.cloneFrom.map.get(qe))),this.updates.forEach(qe=>{switch(qe.op){case"a":case"s":const Ze=("a"===qe.op?this.map.get(qe.param):void 0)||[];Ze.push(le(qe.value)),this.map.set(qe.param,Ze);break;case"d":if(void 0===qe.value){this.map.delete(qe.param);break}{let Ot=this.map.get(qe.param)||[];const Dt=Ot.indexOf(le(qe.value));-1!==Dt&&Ot.splice(Dt,1),Ot.length>0?this.map.set(qe.param,Ot):this.map.delete(qe.param)}}}),this.cloneFrom=this.updates=null)}}class F{constructor(qe){this.defaultValue=qe}}class j{constructor(){this.map=new Map}set(qe,Ze){return this.map.set(qe,Ze),this}get(qe){return this.map.has(qe)||this.map.set(qe,qe.defaultValue()),this.map.get(qe)}delete(qe){return this.map.delete(qe),this}has(qe){return this.map.has(qe)}keys(){return this.map.keys()}}function J(Le){return typeof ArrayBuffer<"u"&&Le instanceof ArrayBuffer}function $(Le){return typeof Blob<"u"&&Le instanceof Blob}function ce(Le){return typeof FormData<"u"&&Le instanceof FormData}class Te{constructor(qe,Ze,Ot,Dt){let Zt;if(this.url=Ze,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=qe.toUpperCase(),function te(Le){switch(Le){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Dt?(this.body=void 0!==Ot?Ot:null,Zt=Dt):Zt=Ot,Zt&&(this.reportProgress=!!Zt.reportProgress,this.withCredentials=!!Zt.withCredentials,Zt.responseType&&(this.responseType=Zt.responseType),Zt.headers&&(this.headers=Zt.headers),Zt.context&&(this.context=Zt.context),Zt.params&&(this.params=Zt.params),this.transferCache=Zt.transferCache),this.headers??=new B,this.context??=new j,this.params){const zt=this.params.toString();if(0===zt.length)this.urlWithParams=Ze;else{const an=Ze.indexOf("?");this.urlWithParams=Ze+(-1===an?"?":anhi.set(Li,qe.setHeaders[Li]),Ei)),qe.setParams&&(ti=Object.keys(qe.setParams).reduce((hi,Li)=>hi.set(Li,qe.setParams[Li]),ti)),new Te(Ze,Ot,zt,{params:ti,headers:Ei,context:Un,reportProgress:Cn,responseType:Dt,withCredentials:an,transferCache:Zt})}}var _e=function(Le){return Le[Le.Sent=0]="Sent",Le[Le.UploadProgress=1]="UploadProgress",Le[Le.ResponseHeader=2]="ResponseHeader",Le[Le.DownloadProgress=3]="DownloadProgress",Le[Le.Response=4]="Response",Le[Le.User=5]="User",Le}(_e||{});class Ge{constructor(qe,Ze=ye.Ok,Ot="OK"){this.headers=qe.headers||new B,this.status=void 0!==qe.status?qe.status:Ze,this.statusText=qe.statusText||Ot,this.url=qe.url||null,this.ok=this.status>=200&&this.status<300}}class Ve extends Ge{constructor(qe={}){super(qe),this.type=_e.ResponseHeader}clone(qe={}){return new Ve({headers:qe.headers||this.headers,status:void 0!==qe.status?qe.status:this.status,statusText:qe.statusText||this.statusText,url:qe.url||this.url||void 0})}}class dt extends Ge{constructor(qe={}){super(qe),this.type=_e.Response,this.body=void 0!==qe.body?qe.body:null}clone(qe={}){return new dt({body:void 0!==qe.body?qe.body:this.body,headers:qe.headers||this.headers,status:void 0!==qe.status?qe.status:this.status,statusText:qe.statusText||this.statusText,url:qe.url||this.url||void 0})}}class at extends Ge{constructor(qe){super(qe,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${qe.url||"(unknown url)"}`:`Http failure response for ${qe.url||"(unknown url)"}: ${qe.status} ${qe.statusText}`,this.error=qe.error||null}}var ye=function(Le){return Le[Le.Continue=100]="Continue",Le[Le.SwitchingProtocols=101]="SwitchingProtocols",Le[Le.Processing=102]="Processing",Le[Le.EarlyHints=103]="EarlyHints",Le[Le.Ok=200]="Ok",Le[Le.Created=201]="Created",Le[Le.Accepted=202]="Accepted",Le[Le.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",Le[Le.NoContent=204]="NoContent",Le[Le.ResetContent=205]="ResetContent",Le[Le.PartialContent=206]="PartialContent",Le[Le.MultiStatus=207]="MultiStatus",Le[Le.AlreadyReported=208]="AlreadyReported",Le[Le.ImUsed=226]="ImUsed",Le[Le.MultipleChoices=300]="MultipleChoices",Le[Le.MovedPermanently=301]="MovedPermanently",Le[Le.Found=302]="Found",Le[Le.SeeOther=303]="SeeOther",Le[Le.NotModified=304]="NotModified",Le[Le.UseProxy=305]="UseProxy",Le[Le.Unused=306]="Unused",Le[Le.TemporaryRedirect=307]="TemporaryRedirect",Le[Le.PermanentRedirect=308]="PermanentRedirect",Le[Le.BadRequest=400]="BadRequest",Le[Le.Unauthorized=401]="Unauthorized",Le[Le.PaymentRequired=402]="PaymentRequired",Le[Le.Forbidden=403]="Forbidden",Le[Le.NotFound=404]="NotFound",Le[Le.MethodNotAllowed=405]="MethodNotAllowed",Le[Le.NotAcceptable=406]="NotAcceptable",Le[Le.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",Le[Le.RequestTimeout=408]="RequestTimeout",Le[Le.Conflict=409]="Conflict",Le[Le.Gone=410]="Gone",Le[Le.LengthRequired=411]="LengthRequired",Le[Le.PreconditionFailed=412]="PreconditionFailed",Le[Le.PayloadTooLarge=413]="PayloadTooLarge",Le[Le.UriTooLong=414]="UriTooLong",Le[Le.UnsupportedMediaType=415]="UnsupportedMediaType",Le[Le.RangeNotSatisfiable=416]="RangeNotSatisfiable",Le[Le.ExpectationFailed=417]="ExpectationFailed",Le[Le.ImATeapot=418]="ImATeapot",Le[Le.MisdirectedRequest=421]="MisdirectedRequest",Le[Le.UnprocessableEntity=422]="UnprocessableEntity",Le[Le.Locked=423]="Locked",Le[Le.FailedDependency=424]="FailedDependency",Le[Le.TooEarly=425]="TooEarly",Le[Le.UpgradeRequired=426]="UpgradeRequired",Le[Le.PreconditionRequired=428]="PreconditionRequired",Le[Le.TooManyRequests=429]="TooManyRequests",Le[Le.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",Le[Le.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",Le[Le.InternalServerError=500]="InternalServerError",Le[Le.NotImplemented=501]="NotImplemented",Le[Le.BadGateway=502]="BadGateway",Le[Le.ServiceUnavailable=503]="ServiceUnavailable",Le[Le.GatewayTimeout=504]="GatewayTimeout",Le[Le.HttpVersionNotSupported=505]="HttpVersionNotSupported",Le[Le.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",Le[Le.InsufficientStorage=507]="InsufficientStorage",Le[Le.LoopDetected=508]="LoopDetected",Le[Le.NotExtended=510]="NotExtended",Le[Le.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",Le}(ye||{});function Oe(Le,qe){return{body:qe,headers:Le.headers,context:Le.context,observe:Le.observe,params:Le.params,reportProgress:Le.reportProgress,responseType:Le.responseType,withCredentials:Le.withCredentials,transferCache:Le.transferCache}}let we=(()=>{class Le{constructor(Ze){this.handler=Ze}request(Ze,Ot,Dt={}){let Zt;if(Ze instanceof Te)Zt=Ze;else{let Cn,Ei;Cn=Dt.headers instanceof B?Dt.headers:new B(Dt.headers),Dt.params&&(Ei=Dt.params instanceof Ee?Dt.params:new Ee({fromObject:Dt.params})),Zt=new Te(Ze,Ot,void 0!==Dt.body?Dt.body:null,{headers:Cn,context:Dt.context,params:Ei,reportProgress:Dt.reportProgress,responseType:Dt.responseType||"json",withCredentials:Dt.withCredentials,transferCache:Dt.transferCache})}const zt=(0,h.of)(Zt).pipe((0,y.H)(Cn=>this.handler.handle(Cn)));if(Ze instanceof Te||"events"===Dt.observe)return zt;const an=zt.pipe((0,R.p)(Cn=>Cn instanceof dt));switch(Dt.observe||"body"){case"body":switch(Zt.responseType){case"arraybuffer":return an.pipe((0,T.T)(Cn=>{if(null!==Cn.body&&!(Cn.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Cn.body}));case"blob":return an.pipe((0,T.T)(Cn=>{if(null!==Cn.body&&!(Cn.body instanceof Blob))throw new Error("Response is not a Blob.");return Cn.body}));case"text":return an.pipe((0,T.T)(Cn=>{if(null!==Cn.body&&"string"!=typeof Cn.body)throw new Error("Response is not a string.");return Cn.body}));default:return an.pipe((0,T.T)(Cn=>Cn.body))}case"response":return an;default:throw new Error(`Unreachable: unhandled observe type ${Dt.observe}}`)}}delete(Ze,Ot={}){return this.request("DELETE",Ze,Ot)}get(Ze,Ot={}){return this.request("GET",Ze,Ot)}head(Ze,Ot={}){return this.request("HEAD",Ze,Ot)}jsonp(Ze,Ot){return this.request("JSONP",Ze,{params:(new Ee).append(Ot,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(Ze,Ot={}){return this.request("OPTIONS",Ze,Ot)}patch(Ze,Ot,Dt={}){return this.request("PATCH",Ze,Oe(Dt,Ot))}post(Ze,Ot,Dt={}){return this.request("POST",Ze,Oe(Dt,Ot))}put(Ze,Ot,Dt={}){return this.request("PUT",Ze,Oe(Dt,Ot))}static#e=this.\u0275fac=function(Ot){return new(Ot||Le)(e.KVO(x))};static#t=this.\u0275prov=e.jDH({token:Le,factory:Le.\u0275fac})}return Le})();function rn(Le,qe){return qe(Le)}function En(Le,qe){return(Ze,Ot)=>qe.intercept(Ze,{handle:Dt=>Le(Dt,Ot)})}const wn=new e.nKC(""),Kn=new e.nKC(""),Mt=new e.nKC(""),Bt=new e.nKC("");function Yt(){let Le=null;return(qe,Ze)=>{null===Le&&(Le=((0,e.WQX)(wn,{optional:!0})??[]).reduceRight(En,rn));const Ot=(0,e.WQX)(e.TgB),Dt=Ot.add();return Le(qe,Ze).pipe((0,A.j)(()=>Ot.remove(Dt)))}}let Qe=(()=>{class Le extends x{constructor(Ze,Ot){super(),this.backend=Ze,this.injector=Ot,this.chain=null,this.pendingTasks=(0,e.WQX)(e.TgB);const Dt=(0,e.WQX)(Bt,{optional:!0});this.backend=Dt??Ze}handle(Ze){if(null===this.chain){const Dt=Array.from(new Set([...this.injector.get(Kn),...this.injector.get(Mt,[])]));this.chain=Dt.reduceRight((Zt,zt)=>function un(Le,qe,Ze){return(Ot,Dt)=>(0,e.N4e)(Ze,()=>qe(Ot,Zt=>Le(Zt,Dt)))}(Zt,zt,this.injector),rn)}const Ot=this.pendingTasks.add();return this.chain(Ze,Dt=>this.backend.handle(Dt)).pipe((0,A.j)(()=>this.pendingTasks.remove(Ot)))}static#e=this.\u0275fac=function(Ot){return new(Ot||Le)(e.KVO(P),e.KVO(e.uvJ))};static#t=this.\u0275prov=e.jDH({token:Le,factory:Le.\u0275fac})}return Le})();const Ht=/^\)\]\}',?\n/;let Nt=(()=>{class Le{constructor(Ze){this.xhrFactory=Ze}handle(Ze){if("JSONP"===Ze.method)throw new e.wOt(-2800,!1);const Ot=this.xhrFactory;return(Ot.\u0275loadImpl?(0,v.H)(Ot.\u0275loadImpl()):(0,h.of)(null)).pipe((0,S.n)(()=>new c.c(Zt=>{const zt=Ot.build();if(zt.open(Ze.method,Ze.urlWithParams),Ze.withCredentials&&(zt.withCredentials=!0),Ze.headers.forEach((qn,ri)=>zt.setRequestHeader(qn,ri.join(","))),Ze.headers.has("Accept")||zt.setRequestHeader("Accept","application/json, text/plain, */*"),!Ze.headers.has("Content-Type")){const qn=Ze.detectContentTypeHeader();null!==qn&&zt.setRequestHeader("Content-Type",qn)}if(Ze.responseType){const qn=Ze.responseType.toLowerCase();zt.responseType="json"!==qn?qn:"text"}const an=Ze.serializeBody();let Cn=null;const Ei=()=>{if(null!==Cn)return Cn;const qn=zt.statusText||"OK",ri=new B(zt.getAllResponseHeaders()),Ki=function nt(Le){return"responseURL"in Le&&Le.responseURL?Le.responseURL:/^X-Request-URL:/m.test(Le.getAllResponseHeaders())?Le.getResponseHeader("X-Request-URL"):null}(zt)||Ze.url;return Cn=new Ve({headers:ri,status:zt.status,statusText:qn,url:Ki}),Cn},ti=()=>{let{headers:qn,status:ri,statusText:Ki,url:Ps}=Ei(),Xi=null;ri!==ye.NoContent&&(Xi=typeof zt.response>"u"?zt.responseText:zt.response),0===ri&&(ri=Xi?ye.Ok:0);let Wi=ri>=200&&ri<300;if("json"===Ze.responseType&&"string"==typeof Xi){const nr=Xi;Xi=Xi.replace(Ht,"");try{Xi=""!==Xi?JSON.parse(Xi):null}catch(js){Xi=nr,Wi&&(Wi=!1,Xi={error:js,text:Xi})}}Wi?(Zt.next(new dt({body:Xi,headers:qn,status:ri,statusText:Ki,url:Ps||void 0})),Zt.complete()):Zt.error(new at({error:Xi,headers:qn,status:ri,statusText:Ki,url:Ps||void 0}))},Un=qn=>{const{url:ri}=Ei(),Ki=new at({error:qn,status:zt.status||0,statusText:zt.statusText||"Unknown Error",url:ri||void 0});Zt.error(Ki)};let hi=!1;const Li=qn=>{hi||(Zt.next(Ei()),hi=!0);let ri={type:_e.DownloadProgress,loaded:qn.loaded};qn.lengthComputable&&(ri.total=qn.total),"text"===Ze.responseType&&zt.responseText&&(ri.partialText=zt.responseText),Zt.next(ri)},Gn=qn=>{let ri={type:_e.UploadProgress,loaded:qn.loaded};qn.lengthComputable&&(ri.total=qn.total),Zt.next(ri)};return zt.addEventListener("load",ti),zt.addEventListener("error",Un),zt.addEventListener("timeout",Un),zt.addEventListener("abort",Un),Ze.reportProgress&&(zt.addEventListener("progress",Li),null!==an&&zt.upload&&zt.upload.addEventListener("progress",Gn)),zt.send(an),Zt.next({type:_e.Sent}),()=>{zt.removeEventListener("error",Un),zt.removeEventListener("abort",Un),zt.removeEventListener("load",ti),zt.removeEventListener("timeout",Un),Ze.reportProgress&&(zt.removeEventListener("progress",Li),null!==an&&zt.upload&&zt.upload.removeEventListener("progress",Gn)),zt.readyState!==zt.DONE&&zt.abort()}})))}static#e=this.\u0275fac=function(Ot){return new(Ot||Le)(e.KVO(C.N0))};static#t=this.\u0275prov=e.jDH({token:Le,factory:Le.\u0275fac})}return Le})();const Ft=new e.nKC(""),Tn=new e.nKC("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),si=new e.nKC("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Di{}let gi=(()=>{class Le{constructor(Ze,Ot,Dt){this.doc=Ze,this.platform=Ot,this.cookieName=Dt,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const Ze=this.doc.cookie||"";return Ze!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,C._b)(Ze,this.cookieName),this.lastCookieString=Ze),this.lastToken}static#e=this.\u0275fac=function(Ot){return new(Ot||Le)(e.KVO(C.qQ),e.KVO(e.Agw),e.KVO(Tn))};static#t=this.\u0275prov=e.jDH({token:Le,factory:Le.\u0275fac})}return Le})();function zn(Le,qe){const Ze=Le.url.toLowerCase();if(!(0,e.WQX)(Ft)||"GET"===Le.method||"HEAD"===Le.method||Ze.startsWith("http://")||Ze.startsWith("https://"))return qe(Le);const Ot=(0,e.WQX)(Di).getToken(),Dt=(0,e.WQX)(si);return null!=Ot&&!Le.headers.has(Dt)&&(Le=Le.clone({headers:Le.headers.set(Dt,Ot)})),qe(Le)}var lt=function(Le){return Le[Le.Interceptors=0]="Interceptors",Le[Le.LegacyInterceptors=1]="LegacyInterceptors",Le[Le.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",Le[Le.NoXsrfProtection=3]="NoXsrfProtection",Le[Le.JsonpSupport=4]="JsonpSupport",Le[Le.RequestsMadeViaParent=5]="RequestsMadeViaParent",Le[Le.Fetch=6]="Fetch",Le}(lt||{});function Xe(...Le){const qe=[we,Nt,Qe,{provide:x,useExisting:Qe},{provide:P,useExisting:Nt},{provide:Kn,useValue:zn,multi:!0},{provide:Ft,useValue:!0},{provide:Di,useClass:gi}];for(const Ze of Le)qe.push(...Ze.\u0275providers);return(0,e.EmA)(qe)}const jt=new e.nKC("");function hn(){return function Pe(Le,qe){return{\u0275kind:Le,\u0275providers:qe}}(lt.LegacyInterceptors,[{provide:jt,useFactory:Yt},{provide:Kn,useExisting:jt,multi:!0}])}let H=(()=>{class Le{static#e=this.\u0275fac=function(Ot){return new(Ot||Le)};static#t=this.\u0275mod=e.$C({type:Le});static#n=this.\u0275inj=e.G2t({providers:[Xe(hn())]})}return Le})()},54438:(Me,K,o)=>{"use strict";function e(t,n){return Object.is(t,n)}o.d(K,{bc$:()=>k0,iLQ:()=>qI,sZ2:()=>Zg,hnV:()=>MR,Hbi:()=>Z1,o8S:()=>qc,BIS:()=>U0,gRc:()=>VR,Ql9:()=>A1,OM3:()=>Gl,Ocv:()=>w1,abz:()=>Ga,Z63:()=>pr,aKT:()=>gl,uvJ:()=>Ss,zcH:()=>Lo,bkB:()=>ta,$GK:()=>ai,nKC:()=>Dt,zZn:()=>qr,_q3:()=>aC,MKu:()=>cC,xe9:()=>vm,Co$:()=>ED,Vns:()=>Ra,SKi:()=>Ms,Xx1:()=>lo,Agw:()=>hh,PLl:()=>qg,rOR:()=>vu,sFG:()=>CE,_9s:()=>__,czy:()=>kh,WPN:()=>fc,kdw:()=>So,C4Q:()=>Aa,NYb:()=>_1,giA:()=>yR,pJN:()=>ml,RxE:()=>ER,c1b:()=>dd,gXe:()=>or,mal:()=>D_,Af3:()=>xo,tdH:()=>SE,L39:()=>yN,EWP:()=>MN,a0P:()=>LN,Ol2:()=>eI,w6W:()=>CO,oH4:()=>kR,QZP:()=>EO,SmG:()=>B1,Rfq:()=>zn,WQX:()=>$n,hFB:()=>_0,naY:()=>F1,Hps:()=>bf,QuC:()=>Os,EmA:()=>Hr,zw6:()=>V0,CGW:()=>Wa,fpN:()=>J1,HJs:()=>FN,N4e:()=>It,vPA:()=>U_,O8t:()=>NN,An2:()=>cd,H3F:()=>IR,H8p:()=>ms,KH2:()=>bd,TgB:()=>fd,wOt:()=>St,WHO:()=>RR,e01:()=>OR,lNU:()=>Yt,h9k:()=>gp,$MX:()=>Pu,ZF7:()=>Bc,Kcf:()=>tv,e5t:()=>rv,UyX:()=>iv,cWb:()=>nv,osQ:()=>sv,H5H:()=>TI,Zy3:()=>qt,mq5:()=>OA,JZv:()=>nt,LfX:()=>zi,plB:()=>Qa,jNT:()=>JI,zjR:()=>TR,TL$:()=>F0,Tbb:()=>An,rcV:()=>Ea,Vt3:()=>Uo,Mj6:()=>Sr,GFd:()=>Yl,OA$:()=>Gd,Jv_:()=>FS,aNF:()=>BS,R7$:()=>yl,BMQ:()=>dI,HbH:()=>oA,ZvI:()=>fA,STu:()=>gA,AVh:()=>vI,vxM:()=>vA,wni:()=>hS,VBU:()=>pn,FsC:()=>Oi,jDH:()=>Mn,G2t:()=>Es,$C:()=>Mo,EJ8:()=>No,rXU:()=>Ca,nrm:()=>SI,eu8:()=>RI,bVm:()=>om,qex:()=>rm,k0s:()=>sm,j41:()=>im,RV6:()=>RA,xGo:()=>Tg,Mr5:()=>OI,KVO:()=>os,kS0:()=>pu,QTQ:()=>Up,bIt:()=>wI,lsd:()=>pS,joV:()=>qd,qSk:()=>pg,XpG:()=>nS,nI1:()=>JS,bMT:()=>ZS,i5U:()=>qS,brH:()=>eR,ii3:()=>tR,iJd:()=>nR,SdG:()=>sS,NAR:()=>iS,Y8G:()=>pI,FS9:()=>PI,Mz_:()=>dm,FCK:()=>LI,lJ4:()=>GS,eq3:()=>WS,l_i:()=>VS,sMw:()=>$S,ziG:()=>HS,s1E:()=>jS,mGM:()=>gS,sdS:()=>_S,Dyx:()=>DA,Z7z:()=>CA,fX1:()=>IA,Vm6:()=>EA,Njj:()=>cc,tSv:()=>Cp,eBV:()=>su,npT:()=>pp,f$h:()=>Fu,B4B:()=>xh,n$t:()=>Uc,Obh:()=>kS,Aen:()=>Oa,xc7:()=>mI,Kam:()=>bI,zvX:()=>yI,DNE:()=>gd,C5r:()=>iR,EFF:()=>OS,JRh:()=>FI,SpI:()=>hm,Lme:()=>BI,E5c:()=>kI,DH7:()=>PS,mxI:()=>GI,R50:()=>UI,GBs:()=>fS}),o(10467);let h=null,c=!1,v=1;const y=Symbol("SIGNAL");function R(t){const n=h;return h=t,n}const C={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function x(t){if(c)throw new Error("");if(null===h)return;h.consumerOnSignalRead(t);const n=h.nextProducerIndex++;te(h),nt.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function ve(t){te(t);for(let n=0;n0}function te(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function J(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}const ce=Symbol("UNSET"),ue=Symbol("COMPUTING"),Te=Symbol("ERRORED"),_e={...C,value:ce,dirty:!0,error:null,equal:e,producerMustRecompute:t=>t.value===ce||t.value===ue,producerRecomputeValue(t){if(t.value===ue)throw new Error("Detected cycle in computations.");const n=t.value;t.value=ue;const i=Y(t);let r;try{r=t.computation()}catch(d){r=Te,t.error=d}finally{re(t,i)}n!==ce&&n!==Te&&r!==Te&&t.equal(n,r)?t.value=n:(t.value=r,t.version++)}};let Ve=function Ge(){throw new Error};function dt(){Ve()}let ye=null;function $e(t,n){ee()||dt(),t.equal(t.value,n)||(t.value=n,function mt(t){t.version++,function P(){v++}(),W(t),ye?.()}(t))}const ut={...C,equal:e,value:void 0};const Vt=()=>{},rn={...C,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:t=>{null!==t.schedule&&t.schedule(t.ref)},hasRun:!1,cleanupFn:Vt};var un=o(21413),wn=o(18359),Kn=o(84412),Mt=o(96354);const Yt="https://g.co/ng/security#xss";class St extends Error{constructor(n,i){super(qt(n,i)),this.code=n}}function qt(t,n){return`NG0${Math.abs(t)}${n?": "+n:""}`}const Qe=Symbol("InputSignalNode#UNSET"),he={...ut,transformFn:void 0,applyValueToInputSignal(t,n){$e(t,n)}};function je(t,n){const i=Object.create(he);function r(){if(x(i),i.value===Qe)throw new St(-950,!1);return i.value}return i.value=t,i.transformFn=n?.transform,r[y]=i,r}function ze(t){return{toString:t}.toString()}const kt="__parameters__";function vn(t,n,i){return ze(()=>{const r=function nn(t){return function(...i){if(t){const r=t(...i);for(const d in r)this[d]=r[d]}}}(n);function d(...f){if(this instanceof d)return r.apply(this,f),this;const _=new d(...f);return E.annotation=_,E;function E(w,Z,pe){const be=w.hasOwnProperty(kt)?w[kt]:Object.defineProperty(w,kt,{value:[]})[kt];for(;be.length<=pe;)be.push(null);return(be[pe]=be[pe]||[]).push(_),w}}return i&&(d.prototype=Object.create(i.prototype)),d.prototype.ngMetadataName=t,d.annotationCls=d,d})}const nt=globalThis;function Xt(t){for(let n in t)if(t[n]===Xt)return n;throw Error("Could not find renamed property on target object.")}function Tn(t,n){for(const i in n)n.hasOwnProperty(i)&&!t.hasOwnProperty(i)&&(t[i]=n[i])}function An(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(An).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const n=t.toString();if(null==n)return""+n;const i=n.indexOf("\n");return-1===i?n:n.substring(0,i)}function si(t,n){return null==t||""===t?null===n?"":n:null==n||""===n?t:t+" "+n}const gi=Xt({__forward_ref__:Xt});function zn(t){return t.__forward_ref__=zn,t.toString=function(){return An(this())},t}function Je(t){return lt(t)?t():t}function lt(t){return"function"==typeof t&&t.hasOwnProperty(gi)&&t.__forward_ref__===zn}function Mn(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function Es(t){return{providers:t.providers||[],imports:t.imports||[]}}function qi(t){return Pi(t,Le)||Pi(t,Ze)}function zi(t){return null!==qi(t)}function Pi(t,n){return t.hasOwnProperty(n)?t[n]:null}function xs(t){return t&&(t.hasOwnProperty(qe)||t.hasOwnProperty(Ot))?t[qe]:null}const Le=Xt({\u0275prov:Xt}),qe=Xt({\u0275inj:Xt}),Ze=Xt({ngInjectableDef:Xt}),Ot=Xt({ngInjectorDef:Xt});class Dt{constructor(n,i){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof i?this.__NG_ELEMENT_ID__=i:void 0!==i&&(this.\u0275prov=Mn({token:this,providedIn:i.providedIn||"root",factory:i.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function qn(t){return t&&!!t.\u0275providers}const ri=Xt({\u0275cmp:Xt}),Ki=Xt({\u0275dir:Xt}),Ps=Xt({\u0275pipe:Xt}),Xi=Xt({\u0275mod:Xt}),Wi=Xt({\u0275fac:Xt}),nr=Xt({__NG_ELEMENT_ID__:Xt}),js=Xt({__NG_ENV_ID__:Xt});function xn(t){return"string"==typeof t?t:null==t?"":String(t)}function Bn(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():xn(t)}function Na(t,n){throw new St(-201,!1)}var ai=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(ai||{});let fr;function ao(){return fr}function Vi(t){const n=fr;return fr=t,n}function Is(t,n,i){const r=qi(t);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:i&ai.Optional?null:void 0!==n?n:void Na()}const Dr={},Fr="__NG_DI_FLAG__",Ar="ngTempTokenPath",Co=/\n/gm,wa="__source";let sr;function Ls(t){const n=sr;return sr=t,n}function Do(t,n=ai.Default){if(void 0===sr)throw new St(-203,!1);return null===sr?Is(t,void 0,n):sr.get(t,n&ai.Optional?null:void 0,n)}function os(t,n=ai.Default){return(ao()||Do)(Je(t),n)}function $n(t,n=ai.Default){return os(t,Fs(n))}function Fs(t){return typeof t>"u"||"number"==typeof t?t:(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function Wo(t){const n=[];for(let i=0;iArray.isArray(i)?Ur(i,n):n(i))}function nc(t,n,i){n>=t.length?t.push(i):t.splice(n,0,i)}function $o(t,n){return n>=t.length-1?t.pop():t.splice(n,1)[0]}function pi(t,n,i){let r=Cs(t,n);return r>=0?t[1|r]=i:(r=~r,function jo(t,n,i,r){let d=t.length;if(d==n)t.push(i,r);else if(1===d)t.push(r,t[0]),t[0]=i;else{for(d--,t.push(t[d-1],t[d]);d>n;)t[d]=t[d-2],d--;t[n]=i,t[n+1]=r}}(t,r,n,i)),r}function la(t,n){const i=Cs(t,n);if(i>=0)return t[1|i]}function Cs(t,n){return function yo(t,n,i){let r=0,d=t.length>>i;for(;d!==r;){const f=r+(d-r>>1),_=t[f<n?d=f:r=f+1}return~(d<n){_=f-1;break}}}for(;f-1){let f;for(;++df?"":d[pe+1].toLowerCase(),2&r&&Z!==be){if(ks(r))return!1;_=!0}}}}else{if(!_&&!ks(r)&&!ks(w))return!1;if(_&&ks(w))continue;_=!1,r=w|1&r}}return ks(r)||_}function ks(t){return!(1&t)}function ic(t,n,i,r){if(null===n)return-1;let d=0;if(r||!i){let f=!1;for(;d-1)for(i++;i0?'="'+E+'"':"")+"]"}else 8&r?d+="."+_:4&r&&(d+=" "+_);else""!==d&&!ks(_)&&(n+=Ba(f,d),d=""),r=_,f=f||!ks(r);i++}return""!==d&&(n+=Ba(f,d)),n}function pn(t){return ze(()=>{const n=Sn(t),i={...n,decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Gr.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||or.Emulated,styles:t.styles||_i,_:null,schemas:t.schemas||null,tView:null,id:""};Ds(i);const r=t.dependencies;return i.directiveDefs=cr(r,!1),i.pipeDefs=cr(r,!0),i.id=function As(t){let n=0;const i=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(const d of i)n=Math.imul(31,n)+d.charCodeAt(0)|0;return n+=2147483648,"c"+n}(i),i})}function Wt(t){return In(t)||vi(t)}function Qn(t){return null!==t}function Mo(t){return ze(()=>({type:t.type,bootstrap:t.bootstrap||_i,declarations:t.declarations||_i,imports:t.imports||_i,exports:t.exports||_i,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function da(t,n){if(null==t)return gr;const i={};for(const r in t)if(t.hasOwnProperty(r)){const d=t[r];let f,_,E=Sr.None;Array.isArray(d)?(E=d[0],f=d[1],_=d[2]??f):(f=d,_=d),n?(i[f]=E!==Sr.None?[r,E]:r,n[f]=_):i[f]=r}return i}function Oi(t){return ze(()=>{const n=Sn(t);return Ds(n),n})}function No(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,standalone:!0===t.standalone,onDestroy:t.type.prototype.ngOnDestroy||null}}function In(t){return t[ri]||null}function vi(t){return t[Ki]||null}function Bi(t){return t[Ps]||null}function Os(t){const n=In(t)||vi(t)||Bi(t);return null!==n&&n.standalone}function ki(t,n){const i=t[Xi]||null;if(!i&&!0===n)throw new Error(`Type ${An(t)} does not have '\u0275mod' property.`);return i}function Sn(t){const n={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:n,inputTransforms:null,inputConfig:t.inputs||gr,exportAs:t.exportAs||null,standalone:!0===t.standalone,signals:!0===t.signals,selectors:t.selectors||_i,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:da(t.inputs,n),outputs:da(t.outputs),debugInfo:null}}function Ds(t){t.features?.forEach(n=>n(t))}function cr(t,n){if(!t)return null;const i=n?Bi:Wt;return()=>("function"==typeof t?t():t).map(r=>i(r)).filter(Qn)}function Hr(t){return{\u0275providers:t}}function yr(...t){return{\u0275providers:jr(0,t),\u0275fromNgModule:!0}}function jr(t,...n){const i=[],r=new Set;let d;const f=_=>{i.push(_)};return Ur(n,_=>{const E=_;Xo(E,f,[],r)&&(d||=[],d.push(E))}),void 0!==d&&wo(d,f),i}function wo(t,n){for(let i=0;i{n(f,r)})}}function Xo(t,n,i,r){if(!(t=Je(t)))return!1;let d=null,f=xs(t);const _=!f&&In(t);if(f||_){if(_&&!_.standalone)return!1;d=t}else{const w=t.ngModule;if(f=xs(w),!f)return!1;d=w}const E=r.has(d);if(_){if(E)return!1;if(r.add(d),_.dependencies){const w="function"==typeof _.dependencies?_.dependencies():_.dependencies;for(const Z of w)Xo(Z,n,i,r)}}else{if(!f)return!1;{if(null!=f.imports&&!E){let Z;r.add(d);try{Ur(f.imports,pe=>{Xo(pe,n,i,r)&&(Z||=[],Z.push(pe))})}finally{}void 0!==Z&&wo(Z,n)}if(!E){const Z=as(d)||(()=>new d);n({provide:d,useFactory:Z,deps:_i},d),n({provide:ua,useValue:d,multi:!0},d),n({provide:pr,useValue:()=>os(d),multi:!0},d)}const w=f.providers;if(null!=w&&!E){const Z=t;Pn(w,pe=>{n(pe,Z)})}}}return d!==t&&void 0!==t.providers}function Pn(t,n){for(let i of t)qn(i)&&(i=i.\u0275providers),Array.isArray(i)?Pn(i,n):n(i)}const es=Xt({provide:String,useValue:Xt});function ts(t){return null!==t&&"object"==typeof t&&es in t}function hs(t){return"function"==typeof t}const ms=new Dt(""),Xs={},sc={};let bo;function Tr(){return void 0===bo&&(bo=new Bs),bo}class Ss{}class Xr extends Ss{get destroyed(){return this._destroyed}constructor(n,i,r,d){super(),this.parent=i,this.source=r,this.scopes=d,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,ns(n,_=>this.processProvider(_)),this.records.set(Cc,Mr(void 0,this)),d.has("environment")&&this.records.set(Ss,Mr(void 0,this));const f=this.records.get(ms);null!=f&&"string"==typeof f.value&&this.scopes.add(f.value),this.injectorDefTypes=new Set(this.get(ua,_i,ai.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const n=R(null);try{for(const r of this._ngOnDestroyHooks)r.ngOnDestroy();const i=this._onDestroyHooks;this._onDestroyHooks=[];for(const r of i)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),R(n)}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();const i=Ls(this),r=Vi(void 0);try{return n()}finally{Ls(i),Vi(r)}}get(n,i=Dr,r=ai.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(js))return n[js](this);r=Fs(r);const f=Ls(this),_=Vi(void 0);try{if(!(r&ai.SkipSelf)){let w=this.records.get(n);if(void 0===w){const Z=function lr(t){return"function"==typeof t||"object"==typeof t&&t instanceof Dt}(n)&&qi(n);w=Z&&this.injectableDefInScope(Z)?Mr(ha(n),Xs):null,this.records.set(n,w)}if(null!=w)return this.hydrate(n,w)}return(r&ai.Self?Tr():this.parent).get(n,i=r&ai.Optional&&i===Dr?null:i)}catch(E){if("NullInjectorError"===E.name){if((E[Ar]=E[Ar]||[]).unshift(An(n)),f)throw E;return function Ao(t,n,i,r){const d=t[Ar];throw n[wa]&&d.unshift(n[wa]),t.message=function ba(t,n,i,r=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.slice(2):t;let d=An(n);if(Array.isArray(n))d=n.map(An).join(" -> ");else if("object"==typeof n){let f=[];for(let _ in n)if(n.hasOwnProperty(_)){let E=n[_];f.push(_+":"+("string"==typeof E?JSON.stringify(E):An(E)))}d=`{${f.join(", ")}}`}return`${i}${r?"("+r+")":""}[${d}]: ${t.replace(Co,"\n ")}`}("\n"+t.message,d,i,r),t.ngTokenPath=d,t[Ar]=null,t}(E,n,"R3InjectorError",this.source)}throw E}finally{Vi(_),Ls(f)}}resolveInjectorInitializers(){const n=R(null),i=Ls(this),r=Vi(void 0);try{const f=this.get(pr,_i,ai.Self);for(const _ of f)_()}finally{Ls(i),Vi(r),R(n)}}toString(){const n=[],i=this.records;for(const r of i.keys())n.push(An(r));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new St(205,!1)}processProvider(n){let i=hs(n=Je(n))?n:Je(n&&n.provide);const r=function xi(t){return ts(t)?Mr(void 0,t.useValue):Mr(zr(t),Xs)}(n);if(!hs(n)&&!0===n.multi){let d=this.records.get(i);d||(d=Mr(void 0,Xs,!0),d.factory=()=>Wo(d.multi),this.records.set(i,d)),i=n,d.multi.push(n)}this.records.set(i,r)}hydrate(n,i){const r=R(null);try{return i.value===Xs&&(i.value=sc,i.value=i.factory()),"object"==typeof i.value&&i.value&&function rc(t){return null!==t&&"object"==typeof t&&"function"==typeof t.ngOnDestroy}(i.value)&&this._ngOnDestroyHooks.add(i.value),i.value}finally{R(r)}}injectableDefInScope(n){if(!n.providedIn)return!1;const i=Je(n.providedIn);return"string"==typeof i?"any"===i||this.scopes.has(i):this.injectorDefTypes.has(i)}removeOnDestroy(n){const i=this._onDestroyHooks.indexOf(n);-1!==i&&this._onDestroyHooks.splice(i,1)}}function ha(t){const n=qi(t),i=null!==n?n.factory:as(t);if(null!==i)return i;if(t instanceof Dt)throw new St(204,!1);if(t instanceof Function)return function Yr(t){if(t.length>0)throw new St(204,!1);const i=function tr(t){return t&&(t[Le]||t[Ze])||null}(t);return null!==i?()=>i.factory(t):()=>new t}(t);throw new St(204,!1)}function zr(t,n,i){let r;if(hs(t)){const d=Je(t);return as(d)||ha(d)}if(ts(t))r=()=>Je(t.useValue);else if(function ds(t){return!(!t||!t.useFactory)}(t))r=()=>t.useFactory(...Wo(t.deps||[]));else if(function Rn(t){return!(!t||!t.useExisting)}(t))r=()=>os(Je(t.useExisting));else{const d=Je(t&&(t.useClass||t.provide));if(!function ka(t){return!!t.deps}(t))return as(d)||ha(d);r=()=>new d(...Wo(t.deps))}return r}function Mr(t,n,i=!1){return{factory:t,value:n,multi:i?[]:void 0}}function ns(t,n){for(const i of t)Array.isArray(i)?ns(i,n):i&&qn(i)?ns(i.\u0275providers,n):n(i)}function It(t,n){t instanceof Xr&&t.assertNotDestroyed();const r=Ls(t),d=Vi(void 0);try{return n()}finally{Ls(r),Vi(d)}}function Yo(){return void 0!==ao()||null!=function Ks(){return sr}()}function xo(t){if(!Yo())throw new St(-203,!1)}const Fe=0,Ne=1,et=2,ht=3,ft=4,At=5,ct=6,Lt=7,wt=8,Kt=9,en=10,Pt=11,$t=12,cn=13,_n=14,sn=15,gn=16,ci=17,Ii=18,Ui=19,is=20,Ai=21,Qi=22,Ti=23,Nn=25,go=1,Ys=7,Po=9,Mi=10;var br=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(br||{});function Ws(t){return Array.isArray(t)&&"object"==typeof t[go]}function Vs(t){return Array.isArray(t)&&!0===t[go]}function il(t){return!!(4&t.flags)}function fa(t){return t.componentOffset>-1}function Ac(t){return!(1&~t.flags)}function Qr(t){return!!t.template}function sl(t){return!!(512&t[et])}class rl{constructor(n,i,r){this.previousValue=n,this.currentValue=i,this.firstChange=r}isFirstChange(){return this.firstChange}}function zo(t,n,i,r){null!==n?n.applyValueToInputSignal(n,r):t[i]=r}function Gd(){return ng}function ng(t){return t.type.prototype.ngOnChanges&&(t.setInput=Mm),Tm}function Tm(){const t=sg(this),n=t?.current;if(n){const i=t.previous;if(i===gr)t.previous=n;else for(let r in n)i[r]=n[r];t.current=null,this.ngOnChanges(n)}}function Mm(t,n,i,r,d){const f=this.declaredInputs[r],_=sg(t)||function Nm(t,n){return t[ig]=n}(t,{previous:gr,current:null}),E=_.current||(_.current={}),w=_.previous,Z=w[f];E[f]=new rl(Z&&Z.currentValue,i,w===gr),zo(t,n,d,i)}Gd.ngInherit=!0;const ig="__ngSimpleChanges__";function sg(t){return t[ig]||null}const Qo=function(t,n,i){},rg="svg";let ag=!1;function Hi(t){for(;Array.isArray(t);)t=t[Fe];return t}function ol(t,n){return Hi(n[t])}function mr(t,n){return Hi(n[t.index])}function al(t,n){return t.data[n]}function yc(t,n){return t[n]}function Jr(t,n){const i=n[t];return Ws(i)?i:i[Fe]}function $d(t){return!(128&~t[et])}function Jo(t,n){return null==n?null:t[n]}function cg(t){t[ci]=0}function Fm(t){1024&t[et]||(t[et]|=1024,$d(t)&&cl(t))}function Hd(t){return!!(9216&t[et]||t[Ti]?.dirty)}function jd(t){t[en].changeDetectionScheduler?.notify(1),Hd(t)?cl(t):64&t[et]&&(function bm(){return ag}()?(t[et]|=1024,cl(t)):t[en].changeDetectionScheduler?.notify())}function cl(t){t[en].changeDetectionScheduler?.notify();let n=oc(t);for(;null!==n&&!(8192&n[et])&&(n[et]|=8192,$d(n));)n=oc(n)}function iu(t,n){if(!(256&~t[et]))throw new St(911,!1);null===t[Ai]&&(t[Ai]=[]),t[Ai].push(n)}function oc(t){const n=t[ht];return Vs(n)?n[ht]:n}const Zn={lFrame:lu(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function dg(){return Zn.bindingsEnabled}function Tc(){return null!==Zn.skipHydrationRootTNode}function bt(){return Zn.lFrame.lView}function On(){return Zn.lFrame.tView}function su(t){return Zn.lFrame.contextLView=t,t[wt]}function cc(t){return Zn.lFrame.contextLView=null,t}function ni(){let t=oi();for(;null!==t&&64===t.type;)t=t.parent;return t}function oi(){return Zn.lFrame.currentTNode}function ga(t,n){const i=Zn.lFrame;i.currentTNode=t,i.isParent=n}function ru(){return Zn.lFrame.isParent}function ou(){Zn.lFrame.isParent=!1}function ur(){const t=Zn.lFrame;let n=t.bindingRootIndex;return-1===n&&(n=t.bindingRootIndex=t.tView.bindingStartIndex),n}function pa(){return Zn.lFrame.bindingIndex}function Zo(){return Zn.lFrame.bindingIndex++}function _a(t){const n=Zn.lFrame,i=n.bindingIndex;return n.bindingIndex=n.bindingIndex+t,i}function jm(t,n){const i=Zn.lFrame;i.bindingIndex=i.bindingRootIndex=t,Yd(n)}function Yd(t){Zn.lFrame.currentDirectiveIndex=t}function au(t){const n=Zn.lFrame.currentDirectiveIndex;return-1===n?null:t[n]}function fg(){return Zn.lFrame.currentQueryIndex}function zd(t){Zn.lFrame.currentQueryIndex=t}function cu(t){const n=t[Ne];return 2===n.type?n.declTNode:1===n.type?t[At]:null}function vr(t,n,i){if(i&ai.SkipSelf){let d=n,f=t;for(;!(d=d.parent,null!==d||i&ai.Host||(d=cu(f),null===d||(f=f[_n],10&d.type))););if(null===d)return!1;n=d,t=f}const r=Zn.lFrame=Qd();return r.currentTNode=n,r.lView=t,!0}function zs(t){const n=Qd(),i=t[Ne];Zn.lFrame=n,n.currentTNode=i.firstChild,n.lView=t,n.tView=i,n.contextLView=t,n.bindingIndex=i.bindingStartIndex,n.inI18n=!1}function Qd(){const t=Zn.lFrame,n=null===t?null:t.child;return null===n?lu(t):n}function lu(t){const n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return null!==t&&(t.child=n),n}function Jd(){const t=Zn.lFrame;return Zn.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const ma=Jd;function Zd(){const t=Jd();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function Hs(){return Zn.lFrame.selectedIndex}function Ua(t){Zn.lFrame.selectedIndex=t}function Ji(){const t=Zn.lFrame;return al(t.tView,t.selectedIndex)}function pg(){Zn.lFrame.currentNamespace=rg}function qd(){!function Xm(){Zn.lFrame.currentNamespace=null}()}let mg=!0;function ll(){return mg}function qo(t){mg=t}function uu(t,n){for(let i=n.directiveStart,r=n.directiveEnd;i=r)break}else n[w]<0&&(t[ci]+=65536),(E>14>16&&(3&t[et])===n&&(t[et]+=16384,Eg(E,f)):Eg(E,f)}const Mc=-1;class ul{constructor(n,i,r){this.factory=n,this.resolving=!1,this.canSeeViewProviders=i,this.injectImpl=r}}function nh(t){return t!==Mc}function dl(t){return 32767&t}function hl(t,n){let i=function e0(t){return t>>16}(t),r=n;for(;i>0;)r=r[_n],i--;return r}let ih=!0;function fu(t){const n=ih;return ih=t,n}const Ig=255,Cg=5;let t0=0;const ea={};function ui(t,n){const i=Dg(t,n);if(-1!==i)return i;const r=n[Ne];r.firstCreatePass&&(t.injectorIndex=n.length,sh(r.data,t),sh(n,null),sh(r.blueprint,null));const d=gu(t,n),f=t.injectorIndex;if(nh(d)){const _=dl(d),E=hl(d,n),w=E[Ne].data;for(let Z=0;Z<8;Z++)n[f+Z]=E[_+Z]|w[_+Z]}return n[f+8]=d,f}function sh(t,n){t.push(0,0,0,0,0,0,0,0,n)}function Dg(t,n){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===n[t.injectorIndex+8]?-1:t.injectorIndex}function gu(t,n){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let i=0,r=null,d=n;for(;null!==d;){if(r=Mg(d),null===r)return Mc;if(i++,d=d[_n],-1!==r.injectorIndex)return r.injectorIndex|i<<16}return Mc}function rh(t,n,i){!function n0(t,n,i){let r;"string"==typeof i?r=i.charCodeAt(0)||0:i.hasOwnProperty(nr)&&(r=i[nr]),null==r&&(r=i[nr]=t0++);const d=r&Ig;n.data[t+(d>>Cg)]|=1<=0?n&Ig:c0:n}(i);if("function"==typeof f){if(!vr(n,t,r))return r&ai.Host?Ag(d,0,r):Sg(n,i,r,d);try{let _;if(_=f(r),null!=_||r&ai.Optional)return _;Na()}finally{ma()}}else if("number"==typeof f){let _=null,E=Dg(t,n),w=Mc,Z=r&ai.Host?n[sn][At]:null;for((-1===E||r&ai.SkipSelf)&&(w=-1===E?gu(t,n):n[E+8],w!==Mc&&yg(r,!1)?(_=n[Ne],E=dl(w),n=hl(w,n)):E=-1);-1!==E;){const pe=n[Ne];if(Og(f,E,pe.data)){const be=o0(E,n,i,_,r,Z);if(be!==ea)return be}w=n[E+8],w!==Mc&&yg(r,n[Ne].data[E+8]===Z)&&Og(f,E,n)?(_=pe,E=dl(w),n=hl(w,n)):E=-1}}return d}function o0(t,n,i,r,d,f){const _=n[Ne],E=_.data[t+8],pe=oh(E,_,i,null==r?fa(E)&&ih:r!=_&&!!(3&E.type),d&ai.Host&&f===E);return null!==pe?Nc(n,_,pe,E):ea}function oh(t,n,i,r,d){const f=t.providerIndexes,_=n.data,E=1048575&f,w=t.directiveStart,pe=f>>20,tt=d?E+pe:t.directiveEnd;for(let ot=r?E:E+pe;ot=w&&pt.type===i)return ot}if(d){const ot=_[w];if(ot&&Qr(ot)&&ot.type===i)return w}return null}function Nc(t,n,i,r){let d=t[i];const f=n.data;if(function Qm(t){return t instanceof ul}(d)){const _=d;_.resolving&&function oo(t,n){throw n&&n.join(" > "),new St(-200,t)}(Bn(f[i]));const E=fu(_.canSeeViewProviders);_.resolving=!0;const Z=_.injectImpl?Vi(_.injectImpl):null;vr(t,r,ai.Default);try{d=t[i]=_.factory(void 0,f,t,r),n.firstCreatePass&&i>=r.directiveStart&&function Ym(t,n,i){const{ngOnChanges:r,ngOnInit:d,ngDoCheck:f}=n.type.prototype;if(r){const _=ng(n);(i.preOrderHooks??=[]).push(t,_),(i.preOrderCheckHooks??=[]).push(t,_)}d&&(i.preOrderHooks??=[]).push(0-t,d),f&&((i.preOrderHooks??=[]).push(t,f),(i.preOrderCheckHooks??=[]).push(t,f))}(i,f[i],n)}finally{null!==Z&&Vi(Z),fu(E),_.resolving=!1,ma()}}return d}function Og(t,n,i){return!!(i[n+(t>>Cg)]&1<{const n=t.prototype.constructor,i=n[Wi]||ah(n),r=Object.prototype;let d=Object.getPrototypeOf(t.prototype).constructor;for(;d&&d!==r;){const f=d[Wi]||ah(d);if(f&&f!==i)return f;d=Object.getPrototypeOf(d)}return f=>new f})}function ah(t){return lt(t)?()=>{const n=ah(Je(t));return n&&n()}:as(t)}function Mg(t){const n=t[Ne],i=n.type;return 2===i?n.declTNode:1===i?t[At]:null}function pu(t){return function s0(t,n){if("class"===n)return t.classes;if("style"===n)return t.styles;const i=t.attrs;if(i){const r=i.length;let d=0;for(;d{class t{static#e=this.THROW_IF_NOT_FOUND=Dr;static#t=this.NULL=new Bs;static create(i,r){if(Array.isArray(i))return bg({name:""},r,i,"");{const d=i.name??"";return bg({name:d},i.parent,i.providers,d)}}static#n=this.\u0275prov=Mn({token:t,providedIn:"any",factory:()=>os(Cc)});static#i=this.__NG_ELEMENT_ID__=-1}return t})();function mu(t){return t.ngOriginalError}class Lo{constructor(){this._console=console}handleError(n){const i=this._findOriginalError(n);this._console.error("ERROR",n),i&&this._console.error("ORIGINAL ERROR",i)}_findOriginalError(n){let i=n&&mu(n);for(;i&&mu(i);)i=mu(i);return i||null}}const Lg=new Dt("",{providedIn:"root",factory:()=>$n(Lo).handleError.bind(void 0)});let Ga=(()=>{class t{static#e=this.__NG_ELEMENT_ID__=p0;static#t=this.__NG_ENV_ID__=i=>i}return t})();class g0 extends Ga{constructor(n){super(),this._lView=n}onDestroy(n){return iu(this._lView,n),()=>function Kd(t,n){if(null===t[Ai])return;const i=t[Ai].indexOf(n);-1!==i&&t[Ai].splice(i,1)}(this._lView,n)}}function p0(){return new g0(bt())}class Fg{constructor(){this.destroyed=!1,this.listeners=null,this.errorHandler=$n(Lo,{optional:!0}),this.destroyRef=$n(Ga),this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(n){if(this.destroyed)throw new St(953,!1);return(this.listeners??=[]).push(n),{unsubscribe:()=>{const i=this.listeners?.indexOf(n);void 0!==i&&-1!==i&&this.listeners?.splice(i,1)}}}emit(n){if(this.destroyed)throw new St(953,!1);if(null===this.listeners)return;const i=R(null);try{for(const r of this.listeners)try{r(n)}catch(d){this.errorHandler?.handleError(d)}}finally{R(i)}}}function Wa(t){return new Fg}function Bg(t,n){return je(t,n)}const _0=(Bg.required=function va(t){return je(Qe,t)},Bg);function m0(){return lc(ni(),bt())}function lc(t,n){return new gl(mr(t,n))}let gl=(()=>{class t{constructor(i){this.nativeElement=i}static#e=this.__NG_ELEMENT_ID__=m0}return t})();function kg(t){return t instanceof gl?t.nativeElement:t}function ch(t){return n=>{setTimeout(t,void 0,n)}}const ta=class uc extends un.B{constructor(n=!1){super(),this.destroyRef=void 0,this.__isAsync=n,Yo()&&(this.destroyRef=$n(Ga,{optional:!0})??void 0)}emit(n){const i=R(null);try{super.next(n)}finally{R(i)}}subscribe(n,i,r){let d=n,f=i||(()=>null),_=r;if(n&&"object"==typeof n){const w=n;d=w.next?.bind(w),f=w.error?.bind(w),_=w.complete?.bind(w)}this.__isAsync&&(f=ch(f),d&&(d=ch(d)),_&&(_=ch(_)));const E=super.subscribe({next:d,error:f,complete:_});return n instanceof wn.yU&&n.add(E),E}};function v0(){return this._results[Symbol.iterator]()}class vu{static#e=Symbol.iterator;get changes(){return this._changes??=new ta}constructor(n=!1){this._emitDistinctChangesOnly=n,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const i=vu.prototype;i[Symbol.iterator]||(i[Symbol.iterator]=v0)}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,i){return this._results.reduce(n,i)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,i){this.dirty=!1;const r=us(n);(this._changesDetected=!function Ro(t,n,i){if(t.length!==n.length)return!1;for(let r=0;rB0}),B0="ng",qg=new Dt(""),hh=new Dt("",{providedIn:"platform",factory:()=>"unknown"}),k0=new Dt(""),U0=new Dt("",{providedIn:"root",factory:()=>ja().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function V0(t){return t}function $0(){const t=new ml;return"browser"===$n(hh)&&(t.store=function H0(t,n){const i=t.getElementById(n+"-state");if(i?.textContent)try{return JSON.parse(i.textContent)}catch(r){console.warn("Exception while restoring TransferState for app "+n,r)}return{}}(ja(),$n(Zg))),t}let ml=(()=>{class t{constructor(){this.store={},this.onSerializeCallbacks={}}static#e=this.\u0275prov=Mn({token:t,providedIn:"root",factory:$0});get(i,r){return void 0!==this.store[i]?this.store[i]:r}set(i,r){this.store[i]=r}remove(i){delete this.store[i]}hasKey(i){return this.store.hasOwnProperty(i)}get isEmpty(){return 0===Object.keys(this.store).length}onSerialize(i,r){this.onSerializeCallbacks[i]=r}toJson(){for(const i in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(i))try{this.store[i]=this.onSerializeCallbacks[i]()}catch(r){console.warn("Exception in onSerialize callback: ",r)}return JSON.stringify(this.store).replace(/null;function Ih(t,n,i=!1){return ep(t,n,i)}const wu=new Dt("",{providedIn:"root",factory:()=>!1});let dc,xu;function Lc(t){return function bu(){if(void 0===dc&&(dc=null,nt.trustedTypes))try{dc=nt.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return dc}()?.createHTML(t)||t}function Rh(){if(void 0===xu&&(xu=null,nt.trustedTypes))try{xu=nt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return xu}function op(t){return Rh()?.createHTML(t)||t}function cp(t){return Rh()?.createScriptURL(t)||t}class hc{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Yt})`}}class lp extends hc{getTypeName(){return"HTML"}}class Oh extends hc{getTypeName(){return"Style"}}class Dl extends hc{getTypeName(){return"Script"}}class Fc extends hc{getTypeName(){return"URL"}}class na extends hc{getTypeName(){return"ResourceURL"}}function Ea(t){return t instanceof hc?t.changingThisBreaksApplicationSecurity:t}function Bc(t,n){const i=function ev(t){return t instanceof hc&&t.getTypeName()||null}(t);if(null!=i&&i!==n){if("ResourceURL"===i&&"URL"===n)return!0;throw new Error(`Required a safe ${n}, got a ${i} (see ${Yt})`)}return i===n}function tv(t){return new lp(t)}function nv(t){return new Oh(t)}function iv(t){return new Dl(t)}function sv(t){return new Fc(t)}function rv(t){return new na(t)}class ov{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n=""+n;try{const i=(new window.DOMParser).parseFromString(Lc(n),"text/html").body;return null===i?this.inertDocumentHelper.getInertBodyElement(n):(i.removeChild(i.firstChild),i)}catch{return null}}}class av{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const i=this.inertDocument.createElement("template");return i.innerHTML=Lc(n),i}}const lv=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Pu(t){return(t=String(t)).match(lv)?t:"unsafe:"+t}function Ia(t){const n={};for(const i of t.split(","))n[i]=!0;return n}function Al(...t){const n={};for(const i of t)for(const r in i)i.hasOwnProperty(r)&&(n[r]=!0);return n}const dp=Ia("area,br,col,hr,img,wbr"),to=Ia("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),yh=Ia("rp,rt"),Th=Al(dp,Al(to,Ia("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Al(yh,Ia("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Al(yh,to)),Mh=Ia("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),hp=Al(Mh,Ia("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Ia("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),uv=Ia("script,style,template");class dv{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(n){let i=n.firstChild,r=!0,d=[];for(;i;)if(i.nodeType===Node.ELEMENT_NODE?r=this.startElement(i):i.nodeType===Node.TEXT_NODE?this.chars(i.nodeValue):this.sanitizedSomething=!0,r&&i.firstChild)d.push(i),i=gv(i);else for(;i;){i.nodeType===Node.ELEMENT_NODE&&this.endElement(i);let f=fv(i);if(f){i=f;break}i=d.pop()}return this.buf.join("")}startElement(n){const i=Nh(n).toLowerCase();if(!Th.hasOwnProperty(i))return this.sanitizedSomething=!0,!uv.hasOwnProperty(i);this.buf.push("<"),this.buf.push(i);const r=n.attributes;for(let d=0;d"),!0}endElement(n){const i=Nh(n).toLowerCase();Th.hasOwnProperty(i)&&!dp.hasOwnProperty(i)&&(this.buf.push(""))}chars(n){this.buf.push(wh(n))}}function fv(t){const n=t.nextSibling;if(n&&t!==n.previousSibling)throw fp(n);return n}function gv(t){const n=t.firstChild;if(n&&function hv(t,n){return(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(t,n))throw fp(n);return n}function Nh(t){const n=t.nodeName;return"string"==typeof n?n:"FORM"}function fp(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}const pv=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Lu=/([^\#-~ |!])/g;function wh(t){return t.replace(/&/g,"&").replace(pv,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(Lu,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(//g,">")}let Sl;function gp(t,n){let i=null;try{Sl=Sl||function up(t){const n=new av(t);return function cv(){try{return!!(new window.DOMParser).parseFromString(Lc(""),"text/html")}catch{return!1}}()?new ov(n):n}(t);let r=n?String(n):"";i=Sl.getInertBodyElement(r);let d=5,f=r;do{if(0===d)throw new Error("Failed to sanitize html because the input is unstable");d--,r=f,f=i.innerHTML,i=Sl.getInertBodyElement(r)}while(r!==f);return Lc((new dv).sanitizeChildren(bh(i)||i))}finally{if(i){const r=bh(i)||i;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function bh(t){return"content"in t&&function kc(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var fc=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(fc||{});function pp(t){const n=Rl();return n?op(n.sanitize(fc.HTML,t)||""):Bc(t,"HTML")?op(Ea(t)):gp(ja(),xn(t))}function xh(t){const n=Rl();return n?n.sanitize(fc.URL,t)||"":Bc(t,"URL")?Ea(t):Pu(xn(t))}function Fu(t){const n=Rl();if(n)return cp(n.sanitize(fc.RESOURCE_URL,t)||"");if(Bc(t,"ResourceURL"))return cp(Ea(t));throw new St(904,!1)}function Uc(t,n,i){return function mv(t,n){return"src"===n&&("embed"===t||"frame"===t||"iframe"===t||"media"===t||"script"===t)||"href"===n&&("base"===t||"link"===t)?Fu:xh}(n,i)(t)}function Rl(){const t=bt();return t&&t[en].sanitizer}const vv=/^>|^->||--!>|)/g,Iv="\u200b$1\u200b";function Cp(t){return t.ownerDocument.defaultView}function Lr(t){return t instanceof Function?t():t}var kh=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(kh||{});let Wu;function Vu(t,n){return Wu(t,n)}function pc(t,n,i,r,d){if(null!=r){let f,_=!1;Vs(r)?f=r:Ws(r)&&(_=!0,r=r[Fe]);const E=Hi(r);0===t&&null!==i?null==d?$c(n,i,E):Ka(n,i,E,d||null,!0):1===t&&null!==i?Ka(n,i,E,d||null,!0):2===t?function jc(t,n,i){const r=Ku(t,n);r&&function Pp(t,n,i,r){t.removeChild(n,i,r)}(t,r,n,i)}(n,E,_):3===t&&n.destroyNode(E),null!=f&&function Tv(t,n,i,r,d){const f=i[Ys];f!==Hi(i)&&pc(n,t,r,f,d);for(let E=Mi;En.replace(Ev,Iv))}(n))}function Gh(t,n,i){return t.createElement(n,i)}function Np(t,n){n[en].changeDetectionScheduler?.notify(1),Ju(t,n,n[Pt],2,null,null)}function Hu(t,n){const i=t[Po],r=i.indexOf(n);i.splice(r,1)}function Wc(t,n){if(t.length<=Mi)return;const i=Mi+n,r=t[i];if(r){const d=r[gn];null!==d&&d!==t&&Hu(d,r),n>0&&(t[i-1][ft]=r[ft]);const f=$o(t,Mi+n);!function Wh(t,n){Np(t,n),n[Fe]=null,n[At]=null}(r[Ne],r);const _=f[Ii];null!==_&&_.detachView(f[Ne]),r[ht]=null,r[ft]=null,r[et]&=-129}return r}function Vc(t,n){if(!(256&n[et])){const i=n[Pt];i.destroyNode&&Ju(t,n,i,3,null,null),function yv(t){let n=t[$t];if(!n)return Vh(t[Ne],t);for(;n;){let i=null;if(Ws(n))i=n[$t];else{const r=n[Mi];r&&(i=r)}if(!i){for(;n&&!n[ft]&&n!==t;)Ws(n)&&Vh(n[Ne],n),n=n[ht];null===n&&(n=t),Ws(n)&&Vh(n[Ne],n),i=n&&n[ft]}n=i}}(n)}}function Vh(t,n){if(256&n[et])return;const i=R(null);try{n[et]&=-129,n[et]|=256,n[Ti]&&le(n[Ti]),function xp(t,n){let i;if(null!=t&&null!=(i=t.destroyHooks))for(let r=0;r=0?r[_]():r[-_].unsubscribe(),f+=2}else i[f].call(r[i[f+1]]);null!==r&&(n[Lt]=null);const d=n[Ai];if(null!==d){n[Ai]=null;for(let f=0;f-1){const{encapsulation:f}=t.data[r.directiveStart+d];if(f===or.None||f===or.Emulated)return null}return mr(r,i)}}(t,n.parent,i)}function Ka(t,n,i,r,d){t.insertBefore(n,i,r,d)}function $c(t,n,i){t.appendChild(n,i)}function Hh(t,n,i,r,d){null!==r?Ka(t,n,i,r,d):$c(t,n,i)}function Ku(t,n){return t.parentNode(n)}function jh(t,n,i){return Xh(t,n,i)}let Xu,Xh=function Kh(t,n,i){return 40&t.type?mr(t,i):null};function Ol(t,n,i,r){const d=ju(t,r,n),f=n[Pt],E=jh(r.parent||n[At],r,n);if(null!=d)if(Array.isArray(i))for(let w=0;wNn&&kp(t,n,Nn,!1),Qo(_?2:0,d),i(r,d)}finally{Ua(f),Qo(_?3:1,d)}}function mc(t,n,i){if(il(n)){const r=R(null);try{const f=n.directiveEnd;for(let _=n.directiveStart;_null;function jp(t,n,i,r,d){for(let f in n){if(!n.hasOwnProperty(f))continue;const _=n[f];if(void 0===_)continue;r??={};let E,w=Sr.None;Array.isArray(_)?(E=_[0],w=_[1]):E=_;let Z=f;if(null!==d){if(!d.hasOwnProperty(f))continue;Z=d[f]}0===t?tf(r,i,Z,E,w):tf(r,i,Z,E)}return r}function tf(t,n,i,r,d){let f;t.hasOwnProperty(i)?(f=t[i]).push(n,r):f=t[i]=[n,r],void 0!==d&&f.push(d)}function Ir(t,n,i,r,d,f,_,E){const w=mr(n,i);let pe,Z=n.inputs;!E&&null!=Z&&(pe=Z[r])?(wl(t,i,pe,r,d),fa(n)&&function nf(t,n){const i=Jr(n,t);16&i[et]||(i[et]|=64)}(i,n.index)):3&n.type&&(r=function Kp(t){return"class"===t?"className":"for"===t?"htmlFor":"formaction"===t?"formAction":"innerHtml"===t?"innerHTML":"readonly"===t?"readOnly":"tabindex"===t?"tabIndex":t}(r),d=null!=_?_(d,n.value||"",r):d,f.setProperty(w,r,d))}function sf(t,n,i,r){if(dg()){const d=null===r?null:{"":-1},f=function Ec(t,n){const i=t.directiveRegistry;let r=null,d=null;if(i)for(let f=0;f0;){const i=t[--n];if("number"==typeof i&&i<0)return i}return 0})(_)!=E&&_.push(E),_.push(i,r,f)}}(t,n,r,Tl(t,i,d.hostVars,ii),d)}function no(t,n,i,r,d,f){const _=mr(t,n);!function af(t,n,i,r,d,f,_){if(null==f)t.removeAttribute(n,d,i);else{const E=null==_?xn(f):_(f,r||"",d);t.setAttribute(n,d,E,i)}}(n[Pt],_,f,t.value,i,r,d)}function Uv(t,n,i,r,d,f){const _=f[n];if(null!==_)for(let E=0;E<_.length;)Gp(r,i,_[E++],_[E++],_[E++],_[E++])}function cf(t,n,i){let r=null,d=0;for(;d0&&(i[d-1][ft]=n),r{cl(t.lView)},consumerOnSignalRead(){this.lView[Ti]=this}},s_=100;function id(t,n=!0,i=0){const r=t[en],d=r.rendererFactory;d.begin?.();try{!function Xv(t,n){Pl(t,n);let i=0;for(;Hd(t);){if(i===s_)throw new St(103,!1);i++,Pl(t,1)}}(t,i)}catch(_){throw n&&nd(t,_),_}finally{d.end?.(),r.inlineEffectRunner?.flush()}}function Yv(t,n,i,r){const d=n[et];if(!(256&~d))return;n[en].inlineEffectRunner?.flush(),zs(n);let _=null,E=null;(function zv(t){return 2!==t.type})(t)&&(E=function $v(t){return t[Ti]??function Hv(t){const n=i_.pop()??Object.create(Kv);return n.lView=t,n}(t)}(n),_=Y(E));try{cg(n),function Hm(t){return Zn.lFrame.bindingIndex=t}(t.bindingStartIndex),null!==i&&Wp(t,n,i,2,r);const w=!(3&~d);if(w){const be=t.preOrderCheckHooks;null!==be&&du(n,be,null)}else{const be=t.preOrderHooks;null!==be&&hu(n,be,0,null),eh(n,0)}if(function Jv(t){for(let n=_l(t);null!==n;n=$g(n)){if(!(n[et]&br.HasTransplantedViews))continue;const i=n[Po];for(let r=0;r-1&&(Wc(n,r),$o(i,r))}this._attachedToViewContainer=!1}Vc(this._lView[Ne],this._lView)}onDestroy(n){iu(this._lView,n)}markForCheck(){Ll(this._cdRefInjectingView||this._lView)}detach(){this._lView[et]&=-129}reattach(){jd(this._lView),this._lView[et]|=128}detectChanges(){this._lView[et]|=1024,id(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new St(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,Np(this._lView[Ne],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new St(902,!1);this._appRef=n,jd(this._lView)}}let Aa=(()=>{class t{static#e=this.__NG_ELEMENT_ID__=tE}return t})();const qv=Aa,eE=class extends qv{constructor(n,i,r){super(),this._declarationLView=n,this._declarationTContainer=i,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,i){return this.createEmbeddedViewImpl(n,i)}createEmbeddedViewImpl(n,i,r){const d=bl(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:i,dehydratedView:r});return new Fl(d)}};function tE(){return sd(ni(),bt())}function sd(t,n){return 4&t.type?new eE(n,t,lc(t,n)):null}let f_=()=>null;function Yc(t,n){return f_(t,n)}class cd{}class vE{}class g_{}class IE{resolveComponentFactory(n){throw function EE(t){const n=Error(`No component factory found for ${An(t)}.`);return n.ngComponent=t,n}(n)}}let Gl=(()=>{class t{static#e=this.NULL=new IE}return t})();class __{}let CE=(()=>{class t{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function DE(){const t=bt(),i=Jr(ni().index,t);return(Ws(i)?i:t)[Pt]}()}return t})(),AE=(()=>{class t{static#e=this.\u0275prov=Mn({token:t,providedIn:"root",factory:()=>null})}return t})();const Ef={};function SE(t,n){if(null!==function T(){return h}())throw new St(-602,!1)}const m_=new Set;function sa(t){m_.has(t)||(m_.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}function v_(...t){}class Ms{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ta(!1),this.onMicrotaskEmpty=new ta(!1),this.onStable=new ta(!1),this.onError=new ta(!1),typeof Zone>"u")throw new St(908,!1);Zone.assertZonePatched();const d=this;d._nesting=0,d._outer=d._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(d._inner=d._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(d._inner=d._inner.fork(Zone.longStackTraceZoneSpec)),d.shouldCoalesceEventChangeDetection=!r&&i,d.shouldCoalesceRunChangeDetection=r,d.lastRequestAnimationFrameId=-1,d.nativeRequestAnimationFrame=function RE(){const t="function"==typeof nt.requestAnimationFrame;let n=nt[t?"requestAnimationFrame":"setTimeout"],i=nt[t?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&n&&i){const r=n[Zone.__symbol__("OriginalDelegate")];r&&(n=r);const d=i[Zone.__symbol__("OriginalDelegate")];d&&(i=d)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:i}}().nativeRequestAnimationFrame,function rD(t){const n=()=>{!function sD(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(nt,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,E_(t),t.isCheckStableRunning=!0,If(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),E_(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(i,r,d,f,_,E)=>{if(function oD(t){return!(!Array.isArray(t)||1!==t.length)&&!0===t[0].data?.__ignore_ng_zone__}(E))return i.invokeTask(d,f,_,E);try{return I_(t),i.invokeTask(d,f,_,E)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===f.type||t.shouldCoalesceRunChangeDetection)&&n(),C_(t)}},onInvoke:(i,r,d,f,_,E,w)=>{try{return I_(t),i.invoke(d,f,_,E,w)}finally{t.shouldCoalesceRunChangeDetection&&n(),C_(t)}},onHasTask:(i,r,d,f)=>{i.hasTask(d,f),r===d&&("microTask"==f.change?(t._hasPendingMicrotasks=f.microTask,E_(t),If(t)):"macroTask"==f.change&&(t.hasPendingMacrotasks=f.macroTask))},onHandleError:(i,r,d,f)=>(i.handleError(d,f),t.runOutsideAngular(()=>t.onError.emit(f)),!1)})}(d)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Ms.isInAngularZone())throw new St(909,!1)}static assertNotInAngularZone(){if(Ms.isInAngularZone())throw new St(909,!1)}run(n,i,r){return this._inner.run(n,i,r)}runTask(n,i,r,d){const f=this._inner,_=f.scheduleEventTask("NgZoneEvent: "+d,n,iD,v_,v_);try{return f.runTask(_,i,r)}finally{f.cancelTask(_)}}runGuarded(n,i,r){return this._inner.runGuarded(n,i,r)}runOutsideAngular(n){return this._outer.run(n)}}const iD={};function If(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function E_(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function I_(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function C_(t){t._nesting--,If(t)}class OE{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ta,this.onMicrotaskEmpty=new ta,this.onStable=new ta,this.onError=new ta}run(n,i,r){return n.apply(i,r)}runGuarded(n,i,r){return n.apply(i,r)}runOutsideAngular(n){return n()}runTask(n,i,r,d){return n.apply(i,r)}}var zc=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(zc||{});const TE={destroy(){}};function D_(t,n){!n&&xo();const i=n?.injector??$n(qr);if(!function Bo(t){return"browser"===(t??$n(qr)).get(hh)}(i))return TE;sa("NgAfterNextRender");const r=i.get(Wl),d=r.handler??=new ME,f=n?.phase??zc.MixedReadWrite,_=()=>{d.unregister(w),E()},E=i.get(Ga).onDestroy(_),w=It(i,()=>new A_(f,()=>{_(),t()}));return d.register(w),{destroy:_}}class A_{constructor(n,i){this.phase=n,this.callbackFn=i,this.zone=$n(Ms),this.errorHandler=$n(Lo,{optional:!0}),$n(cd,{optional:!0})?.notify(1)}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(n){this.errorHandler?.handleError(n)}}}class ME{constructor(){this.executingCallbacks=!1,this.buckets={[zc.EarlyRead]:new Set,[zc.Write]:new Set,[zc.MixedReadWrite]:new Set,[zc.Read]:new Set},this.deferredCallbacks=new Set}register(n){(this.executingCallbacks?this.deferredCallbacks:this.buckets[n.phase]).add(n)}unregister(n){this.buckets[n.phase].delete(n),this.deferredCallbacks.delete(n)}execute(){this.executingCallbacks=!0;for(const n of Object.values(this.buckets))for(const i of n)i.invoke();this.executingCallbacks=!1;for(const n of this.deferredCallbacks)this.buckets[n.phase].add(n);this.deferredCallbacks.clear()}destroy(){for(const n of Object.values(this.buckets))n.clear();this.deferredCallbacks.clear()}}let Wl=(()=>{class t{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){const i=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const r of i)r()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=Mn({token:t,providedIn:"root",factory:()=>new t})}return t})();function Df(t){return void 0!==t.ngModule}function Qa(t){return!!ki(t)}function ld(t){return!!Bi(t)}function S_(t){return!!vi(t)}function Vl(t){return!!In(t)}function wE(t,n){if(lt(t)&&!(t=Je(t)))throw new Error(`Expected forwardRef function, imported from "${Bn(n)}", to return a standalone entity or NgModule but got "${Bn(t)||t}".`);if(null==ki(t)){const i=In(t)||vi(t)||Bi(t);if(null==i)throw Df(t)?new Error(`A module with providers was imported from "${Bn(n)}". Modules with providers are not supported in standalone components imports.`):new Error(`The "${Bn(t)}" type, imported from "${Bn(n)}", must be a standalone component / directive / pipe or an NgModule. Did you forget to add the required @Component / @Directive / @Pipe or @NgModule annotation?`);if(!i.standalone)throw new Error(`The "${Bn(t)}" ${function NE(t){return In(t)?"component":vi(t)?"directive":Bi(t)?"pipe":"type"}(t)}, imported from "${Bn(n)}", is not standalone. Did you forget to add the standalone: true flag?`)}}class R_{constructor(){this.ownerNgModule=new Map,this.ngModulesWithSomeUnresolvedDecls=new Set,this.ngModulesScopeCache=new Map,this.standaloneComponentsScopeCache=new Map}resolveNgModulesDecls(){if(0!==this.ngModulesWithSomeUnresolvedDecls.size){for(const n of this.ngModulesWithSomeUnresolvedDecls){const i=ki(n);if(i?.declarations)for(const r of Lr(i.declarations))Vl(r)&&this.ownerNgModule.set(r,n)}this.ngModulesWithSomeUnresolvedDecls.clear()}}getComponentDependencies(n,i){this.resolveNgModulesDecls();const r=In(n);if(null===r)throw new Error(`Attempting to get component dependencies for a type that is not a component: ${n}`);if(r.standalone){const d=this.getStandaloneComponentScope(n,i);return d.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...d.compilation.directives,...d.compilation.pipes,...d.compilation.ngModules]}}{if(!this.ownerNgModule.has(n))return{dependencies:[]};const d=this.getNgModuleScope(this.ownerNgModule.get(n));return d.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...d.compilation.directives,...d.compilation.pipes]}}}registerNgModule(n,i){if(!Qa(n))throw new Error(`Attempting to register a Type which is not NgModule as NgModule: ${n}`);this.ngModulesWithSomeUnresolvedDecls.add(n)}clearScopeCacheFor(n){this.ngModulesScopeCache.delete(n),this.standaloneComponentsScopeCache.delete(n)}getNgModuleScope(n){if(this.ngModulesScopeCache.has(n))return this.ngModulesScopeCache.get(n);const i=this.computeNgModuleScope(n);return this.ngModulesScopeCache.set(n,i),i}computeNgModuleScope(n){const i=ki(n,!0),r={exported:{directives:new Set,pipes:new Set},compilation:{directives:new Set,pipes:new Set}};for(const d of Lr(i.imports))if(Qa(d)){const f=this.getNgModuleScope(d);Ja(f.exported.directives,r.compilation.directives),Ja(f.exported.pipes,r.compilation.pipes)}else{if(!Os(d)){r.compilation.isPoisoned=!0;break}if(S_(d)||Vl(d))r.compilation.directives.add(d);else{if(!ld(d))throw new St(1e3,"The standalone imported type is neither a component nor a directive nor a pipe");r.compilation.pipes.add(d)}}if(!r.compilation.isPoisoned)for(const d of Lr(i.declarations)){if(Qa(d)||Os(d)){r.compilation.isPoisoned=!0;break}ld(d)?r.compilation.pipes.add(d):r.compilation.directives.add(d)}for(const d of Lr(i.exports))if(Qa(d)){const f=this.getNgModuleScope(d);Ja(f.exported.directives,r.exported.directives),Ja(f.exported.pipes,r.exported.pipes),Ja(f.exported.directives,r.compilation.directives),Ja(f.exported.pipes,r.compilation.pipes)}else ld(d)?r.exported.pipes.add(d):r.exported.directives.add(d);return r}getStandaloneComponentScope(n,i){if(this.standaloneComponentsScopeCache.has(n))return this.standaloneComponentsScopeCache.get(n);const r=this.computeStandaloneComponentScope(n,i);return this.standaloneComponentsScopeCache.set(n,r),r}computeStandaloneComponentScope(n,i){const r={compilation:{directives:new Set([n]),pipes:new Set,ngModules:new Set}};for(const d of us(i??[])){const f=Je(d);try{wE(f,n)}catch{return r.compilation.isPoisoned=!0,r}if(Qa(f)){r.compilation.ngModules.add(f);const _=this.getNgModuleScope(f);if(_.exported.isPoisoned)return r.compilation.isPoisoned=!0,r;Ja(_.exported.directives,r.compilation.directives),Ja(_.exported.pipes,r.compilation.pipes)}else if(ld(f))r.compilation.pipes.add(f);else{if(!S_(f)&&!Vl(f))return r.compilation.isPoisoned=!0,r;r.compilation.directives.add(f)}}return r}isOrphanComponent(n){const i=In(n);return!(!i||i.standalone||(this.resolveNgModulesDecls(),this.ownerNgModule.has(n)))}}function Ja(t,n){for(const i of t)n.add(i)}const $l=new R_;function ud(t,n,i){let r=i?t.styles:null,d=i?t.classes:null,f=0;if(null!==n)for(let _=0;_0&&Jh(t,i,f.join(" "))}}(ot,er,xt,r),void 0!==i&&function UE(t,n,i){const r=t.projection=[];for(let d=0;d{class t{static#e=this.__NG_ELEMENT_ID__=WE}return t})();function WE(){return M_(ni(),bt())}const VE=dd,Kl=class extends VE{constructor(n,i,r){super(),this._lContainer=n,this._hostTNode=i,this._hostLView=r}get element(){return lc(this._hostTNode,this._hostLView)}get injector(){return new Si(this._hostTNode,this._hostLView)}get parentInjector(){const n=gu(this._hostTNode,this._hostLView);if(nh(n)){const i=hl(n,this._hostLView),r=dl(n);return new Si(i[Ne].data[r+8],i)}return new Si(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const i=T_(this._lContainer);return null!==i&&i[n]||null}get length(){return this._lContainer.length-Mi}createEmbeddedView(n,i,r){let d,f;"number"==typeof r?d=r:null!=r&&(d=r.index,f=r.injector);const _=Yc(this._lContainer,n.ssrId),E=n.createEmbeddedViewImpl(i||{},f,_);return this.insertImpl(E,d,ia(this._hostTNode,_)),E}createComponent(n,i,r,d,f){const _=n&&!function De(t){return"function"==typeof t}(n);let E;if(_)E=i;else{const pt=i||{};E=pt.index,r=pt.injector,d=pt.projectableNodes,f=pt.environmentInjector||pt.ngModuleRef}const w=_?n:new jl(In(n)),Z=r||this.parentInjector;if(!f&&null==w.ngModule){const xt=(_?Z:this.parentInjector).get(Ss,null);xt&&(f=xt)}const pe=In(w.componentType??{}),be=Yc(this._lContainer,pe?.id??null),ot=w.create(Z,d,be?.firstChild??null,f);return this.insertImpl(ot.hostView,E,ia(this._hostTNode,be)),ot}insert(n,i){return this.insertImpl(n,i,!0)}insertImpl(n,i,r){const d=n._lView;if(function Lm(t){return Vs(t[ht])}(d)){const E=this.indexOf(n);if(-1!==E)this.detach(E);else{const w=d[ht],Z=new Kl(w,w[At],w[ht]);Z.detach(Z.indexOf(n))}}const f=this._adjustIndex(i),_=this._lContainer;return xl(_,d,f,r),n.attachToViewContainerRef(),nc(Sf(_),f,n),n}move(n,i){return this.insert(n,i)}indexOf(n){const i=T_(this._lContainer);return null!==i?i.indexOf(n):-1}remove(n){const i=this._adjustIndex(n,-1),r=Wc(this._lContainer,i);r&&($o(Sf(this._lContainer),i),Vc(r[Ne],r))}detach(n){const i=this._adjustIndex(n,-1),r=Wc(this._lContainer,i);return r&&null!=$o(Sf(this._lContainer),i)?new Fl(r):null}_adjustIndex(n,i=0){return n??this.length+i}};function T_(t){return t[8]}function Sf(t){return t[8]||(t[8]=[])}function M_(t,n){let i;const r=n[t.index];return Vs(r)?i=r:(i=lf(r,n,null,t),n[t.index]=i,Xa(n,i)),Sa(i,n,t,r),new Kl(i,t,n)}let Sa=function w_(t,n,i,r){if(t[Ys])return;let d;d=8&i.type?Hi(r):function $E(t,n){const i=t[Pt],r=i.createComment(""),d=mr(n,t);return Ka(i,Ku(i,d),r,function Lp(t,n){return t.nextSibling(n)}(i,d),!1),r}(n,i),t[Ys]=d},Rf=()=>!1;class Of{constructor(n){this.queryList=n,this.matches=null}clone(){return new Of(this.queryList)}setDirty(){this.queryList.setDirty()}}class yf{constructor(n=[]){this.queries=n}createEmbeddedView(n){const i=n.queries;if(null!==i){const r=null!==n.contentQueries?n.contentQueries[0]:i.length,d=[];for(let f=0;fn.trim())}(n):n}}class Tf{constructor(n=[]){this.queries=n}elementStart(n,i){for(let r=0;r0)r.push(_[E/2]);else{const Z=f[E+1],pe=n[-w];for(let be=Mi;be(x(n),n.value);return i[y]=n,i}(t),r=i[y];return n?.equal&&(r.equal=n.equal),i.set=d=>$e(r,d),i.update=d=>function Ye(t,n){ee()||dt(),$e(t,n(t.value))}(r,d),i.asReadonly=G_.bind(i),i}function G_(){const t=this[y];if(void 0===t.readonlyFn){const n=()=>this();n[y]=t,t.readonlyFn=n}return t.readonlyFn}function W_(t){return bf(t)&&"function"==typeof t.set}function Uo(t){let n=function Za(t){return Object.getPrototypeOf(t.prototype).constructor}(t.type),i=!0;const r=[t];for(;n;){let d;if(Qr(t))d=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new St(903,!1);d=n.\u0275dir}if(d){if(i){r.push(d);const _=t;_.inputs=Ln(t.inputs),_.inputTransforms=Ln(t.inputTransforms),_.declaredInputs=Ln(t.declaredInputs),_.outputs=Ln(t.outputs);const E=d.hostBindings;E&&_s(t,E);const w=d.viewQuery,Z=d.contentQueries;if(w&&jn(t,w),Z&&fi(t,Z),Cr(t,d),Tn(t.outputs,d.outputs),Qr(d)&&d.data.animation){const pe=t.data;pe.animation=(pe.animation||[]).concat(d.data.animation)}}const f=d.features;if(f)for(let _=0;_=0;r--){const d=t[r];d.hostVars=n+=d.hostVars,d.hostAttrs=La(d.hostAttrs,i=La(i,d.hostAttrs))}}(r)}function Cr(t,n){for(const i in n.inputs){if(!n.inputs.hasOwnProperty(i)||t.inputs.hasOwnProperty(i))continue;const r=n.inputs[i];if(void 0!==r&&(t.inputs[i]=r,t.declaredInputs[i]=n.declaredInputs[i],null!==n.inputTransforms)){const d=Array.isArray(r)?r[0]:r;if(!n.inputTransforms.hasOwnProperty(d))continue;t.inputTransforms??={},t.inputTransforms[d]=n.inputTransforms[d]}}}function Ln(t){return t===gr?{}:t===_i?[]:t}function jn(t,n){const i=t.viewQuery;t.viewQuery=i?(r,d)=>{n(r,d),i(r,d)}:n}function fi(t,n){const i=t.contentQueries;t.contentQueries=i?(r,d,f)=>{n(r,d,f),i(r,d,f)}:n}function _s(t,n){const i=t.hostBindings;t.hostBindings=i?(r,d)=>{n(r,d),i(r,d)}:n}function Yl(t){const n=t.inputConfig,i={};for(const r in n)if(n.hasOwnProperty(r)){const d=n[r];Array.isArray(d)&&d[3]&&(i[r]=d[3])}t.inputTransforms=i}class Ra{}class ED{}function CO(t,n){return new ZE(t,n??null,[])}class ZE extends Ra{constructor(n,i,r){super(),this._parent=i,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new O_(this);const d=ki(n);this._bootstrapComponents=Lr(d.bootstrap),this._r3Injector=xg(n,i,[{provide:Ra,useValue:this},{provide:Gl,useValue:this.componentFactoryResolver},...r],An(n),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(n)}get injector(){return this._r3Injector}destroy(){const n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(i=>i()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class qE extends ED{constructor(n){super(),this.moduleType=n}create(n){return new ZE(this.moduleType,n,[])}}class ID extends Ra{constructor(n){super(),this.componentFactoryResolver=new O_(this),this.instance=null;const i=new Xr([...n.providers,{provide:Ra,useValue:this},{provide:Gl,useValue:this.componentFactoryResolver}],n.parent||Tr(),n.debugName,new Set(["environment"]));this.injector=i,n.runEnvironmentInitializers&&i.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}function eI(t,n,i=null){return new ID({providers:t,parent:n,debugName:i,runEnvironmentInitializers:!0}).injector}let fd=(()=>{class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Kn.t(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const i=this.taskId++;return this.pendingTasks.add(i),i}remove(i){this.pendingTasks.delete(i),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(r){return new(r||t)};static#t=this.\u0275prov=Mn({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Y_(t){return!!tI(t)&&(Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t)}function tI(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function qa(t,n,i){return t[n]=i}function Bf(t,n){return t[n]}function Ns(t,n,i){return!Object.is(t[n],i)&&(t[n]=i,!0)}function zl(t,n,i,r){const d=Ns(t,n,i);return Ns(t,n+1,r)||d}function z_(t,n,i,r,d){const f=zl(t,n,i,r);return Ns(t,n+2,d)||f}function oa(t,n,i,r,d,f){const _=zl(t,n,i,r);return zl(t,n+2,d,f)||_}function gd(t,n,i,r,d,f,_,E){const w=bt(),Z=On(),pe=t+Nn,be=Z.firstCreatePass?function TO(t,n,i,r,d,f,_,E,w){const Z=n.consts,pe=Kc(n,t,4,_||null,Jo(Z,E));sf(n,i,pe,Jo(Z,w)),uu(n,pe);const be=pe.tView=Ml(2,pe,r,d,f,n.directiveRegistry,n.pipeRegistry,null,n.schemas,Z,null);return null!==n.queries&&(n.queries.template(n,pe),be.queries=n.queries.embeddedTView(pe)),pe}(pe,Z,w,n,i,r,d,f,_):Z.data[pe];ga(be,!1);const tt=CD(Z,w,be,t);ll()&&Ol(Z,w,tt,be),Js(tt,w);const ot=lf(tt,w,tt,be);return w[pe]=ot,Xa(w,ot),function N_(t,n,i){return Rf(t,n,i)}(ot,be,w),Ac(be)&&Zh(Z,w,be),null!=_&&Xc(w,be,E),gd}let CD=function DD(t,n,i,r){return qo(!0),n[Pt].createComment("")};function dI(t,n,i,r){const d=bt();return Ns(d,Zo(),n)&&(On(),no(Ji(),d,t,n,i,r)),dI}function Dd(t,n,i,r){return Ns(t,Zo(),i)?n+xn(i)+r:ii}function Ad(t,n,i,r,d,f){const E=zl(t,pa(),i,d);return _a(2),E?n+xn(i)+r+xn(d)+f:ii}function tm(t,n){return t<<17|n<<2}function Zc(t){return t>>17&32767}function hI(t){return 2|t}function Jl(t){return(131068&t)>>2}function fI(t,n){return-131069&t|n<<2}function gI(t){return 1|t}function qD(t,n,i,r){const d=t[i+1],f=null===n;let _=r?Zc(d):Jl(d),E=!1;for(;0!==_&&(!1===E||f);){const Z=t[_+1];gy(t[_],n)&&(E=!0,t[_+1]=r?gI(Z):hI(Z)),_=r?Zc(Z):Jl(Z)}E&&(t[i+1]=r?hI(d):gI(d))}function gy(t,n){return null===t||null==n||(Array.isArray(t)?t[1]:t)===n||!(!Array.isArray(t)||"string"!=typeof n)&&Cs(t,n)>=0}const Zs={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function eA(t){return t.substring(Zs.key,Zs.keyEnd)}function py(t){return t.substring(Zs.value,Zs.valueEnd)}function tA(t,n){const i=Zs.textEnd;return i===n?-1:(n=Zs.keyEnd=function vy(t,n,i){for(;n32;)n++;return n}(t,Zs.key=n,i),Nd(t,n,i))}function nA(t,n){const i=Zs.textEnd;let r=Zs.key=Nd(t,n,i);return i===r?-1:(r=Zs.keyEnd=function Ey(t,n,i){let r;for(;n=65&&(-33&r)<=90||r>=48&&r<=57);)n++;return n}(t,r,i),r=sA(t,r,i),r=Zs.value=Nd(t,r,i),r=Zs.valueEnd=function Iy(t,n,i){let r=-1,d=-1,f=-1,_=n,E=_;for(;_32&&(E=_),f=d,d=r,r=-33&w}return E}(t,r,i),sA(t,r,i))}function iA(t){Zs.key=0,Zs.keyEnd=0,Zs.value=0,Zs.valueEnd=0,Zs.textEnd=t.length}function Nd(t,n,i){for(;n=0;i=nA(n,i))lA(t,eA(n),py(n))}function oA(t){Ta(yy,ec,t,!0)}function ec(t,n){for(let i=function _y(t){return iA(t),tA(t,Nd(t,0,Zs.textEnd))}(n);i>=0;i=tA(n,i))pi(t,eA(n),!0)}function ya(t,n,i,r){const d=bt(),f=On(),_=_a(2);f.firstUpdatePass&&cA(f,t,_,r),n!==ii&&Ns(d,_,n)&&uA(f,f.data[Hs()],d,d[Pt],t,d[_+1]=function My(t,n){return null==t||""===t||("string"==typeof n?t+=n:"object"==typeof t&&(t=An(Ea(t)))),t}(n,i),r,_)}function Ta(t,n,i,r){const d=On(),f=_a(2);d.firstUpdatePass&&cA(d,null,f,r);const _=bt();if(i!==ii&&Ns(_,f,i)){const E=d.data[Hs()];if(hA(E,r)&&!aA(d,f)){let w=r?E.classesWithoutHost:E.stylesWithoutHost;null!==w&&(i=si(w,i||"")),_I(d,E,_,i,r)}else!function Ty(t,n,i,r,d,f,_,E){d===ii&&(d=_i);let w=0,Z=0,pe=0=t.expandoStartIndex}function cA(t,n,i,r){const d=t.data;if(null===d[i+1]){const f=d[Hs()],_=aA(t,i);hA(f,r)&&null===n&&!_&&(n=!1),n=function Dy(t,n,i,r){const d=au(t);let f=r?n.residualClasses:n.residualStyles;if(null===d)0===(r?n.classBindings:n.styleBindings)&&(i=Vf(i=EI(null,t,n,i,r),n.attrs,r),f=null);else{const _=n.directiveStylingLast;if(-1===_||t[_]!==d)if(i=EI(d,t,n,i,r),null===f){let w=function Ay(t,n,i){const r=i?n.classBindings:n.styleBindings;if(0!==Jl(r))return t[Zc(r)]}(t,n,r);void 0!==w&&Array.isArray(w)&&(w=EI(null,t,n,w[1],r),w=Vf(w,n.attrs,r),function Sy(t,n,i,r){t[Zc(i?n.classBindings:n.styleBindings)]=r}(t,n,r,w))}else f=function Ry(t,n,i){let r;const d=n.directiveEnd;for(let f=1+n.directiveStylingLast;f0)&&(Z=!0)):pe=i,d)if(0!==w){const tt=Zc(t[E+1]);t[r+1]=tm(tt,E),0!==tt&&(t[tt+1]=fI(t[tt+1],r)),t[E+1]=function uy(t,n){return 131071&t|n<<17}(t[E+1],r)}else t[r+1]=tm(E,0),0!==E&&(t[E+1]=fI(t[E+1],r)),E=r;else t[r+1]=tm(w,0),0===E?E=r:t[w+1]=fI(t[w+1],r),w=r;Z&&(t[r+1]=hI(t[r+1])),qD(t,pe,r,!0),qD(t,pe,r,!1),function fy(t,n,i,r,d){const f=d?t.residualClasses:t.residualStyles;null!=f&&"string"==typeof n&&Cs(f,n)>=0&&(i[r+1]=gI(i[r+1]))}(n,pe,t,r,f),_=tm(E,w),f?n.classBindings=_:n.styleBindings=_}(d,f,n,i,_,r)}}function EI(t,n,i,r,d){let f=null;const _=i.directiveEnd;let E=i.directiveStylingLast;for(-1===E?E=i.directiveStart:E++;E<_&&(f=n[E],r=Vf(r,f.hostAttrs,d),f!==t);)E++;return null!==t&&(i.directiveStylingLast=E),r}function Vf(t,n,i){const r=i?1:2;let d=-1;if(null!==n)for(let f=0;f0;){const w=t[d],Z=Array.isArray(w),pe=Z?w[1]:w,be=null===pe;let tt=i[d+1];tt===ii&&(tt=be?_i:void 0);let ot=be?la(tt,r):pe===r?tt:void 0;if(Z&&!nm(ot)&&(ot=la(w,r)),nm(ot)&&(E=ot,_))return E;const pt=t[d+1];d=_?Zc(pt):Jl(pt)}if(null!==n){let w=f?n.residualClasses:n.residualStyles;null!=w&&(E=la(w,r))}return E}function nm(t){return void 0!==t}function hA(t,n){return!!(t.flags&(n?8:16))}function fA(t,n,i){Ta(pi,ec,Dd(bt(),t,n,i),!0)}function gA(t,n,i,r,d){Ta(pi,ec,Ad(bt(),t,n,i,r,d),!0)}class ky{destroy(n){}updateValue(n,i){}swap(n,i){const r=Math.min(n,i),d=Math.max(n,i),f=this.detach(d);if(d-r>1){const _=this.detach(r);this.attach(r,f),this.attach(d,_)}else this.attach(r,f)}move(n,i){this.attach(i,this.detach(n))}}function II(t,n,i,r,d){return t===i&&Object.is(n,r)?1:Object.is(d(t,n),d(i,r))?-1:0}function CI(t,n,i,r){return!(void 0===n||!n.has(r)||(t.attach(i,n.get(r)),n.delete(r),0))}function pA(t,n,i,r,d){if(CI(t,n,r,i(r,d)))t.updateValue(r,d);else{const f=t.create(r,d);t.attach(r,f)}}function _A(t,n,i,r){const d=new Set;for(let f=n;f<=i;f++)d.add(r(f,t.at(f)));return d}class mA{constructor(){this.kvMap=new Map,this._vMap=void 0}has(n){return this.kvMap.has(n)}delete(n){if(!this.has(n))return!1;const i=this.kvMap.get(n);return void 0!==this._vMap&&this._vMap.has(i)?(this.kvMap.set(n,this._vMap.get(i)),this._vMap.delete(i)):this.kvMap.delete(n),!0}get(n){return this.kvMap.get(n)}set(n,i){if(this.kvMap.has(n)){let r=this.kvMap.get(n);void 0===this._vMap&&(this._vMap=new Map);const d=this._vMap;for(;d.has(r);)r=d.get(r);d.set(r,i)}else this.kvMap.set(n,i)}forEach(n){for(let[i,r]of this.kvMap)if(n(r,i),void 0!==this._vMap){const d=this._vMap;for(;d.has(r);)r=d.get(r),n(r,i)}}}function vA(t,n,i){sa("NgControlFlow");const r=bt(),d=Zo(),f=DI(r,Nn+t);if(Ns(r,d,n)){const E=R(null);try{if(ff(f,0),-1!==n){const w=AI(r[Ne],Nn+n),Z=Yc(f,w.tView.ssrId);xl(f,bl(r,w,i,{dehydratedView:Z}),0,ia(w,Z))}}finally{R(E)}}else{const E=hf(f,0);void 0!==E&&(E[wt]=i)}}class Gy{constructor(n,i,r){this.lContainer=n,this.$implicit=i,this.$index=r}get $count(){return this.lContainer.length-Mi}}function EA(t){return t}function IA(t,n){return n}class Wy{constructor(n,i,r){this.hasEmptyBlock=n,this.trackByFn=i,this.liveCollection=r}}function CA(t,n,i,r,d,f,_,E,w,Z,pe,be,tt){sa("NgControlFlow");const ot=void 0!==w,pt=bt(),xt=E?_.bind(pt[sn][wt]):_,Qt=new Wy(ot,xt);pt[Nn+t]=Qt,gd(t+1,n,i,r,d,f),ot&&gd(t+2,w,Z,pe,be,tt)}class Vy extends ky{constructor(n,i,r){super(),this.lContainer=n,this.hostLView=i,this.templateTNode=r,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-Mi}at(n){return this.getLView(n)[wt].$implicit}attach(n,i){const r=i[ct];this.needsIndexUpdate||=n!==this.length,xl(this.lContainer,i,n,ia(this.templateTNode,r))}detach(n){return this.needsIndexUpdate||=n!==this.length-1,function $y(t,n){return Wc(t,n)}(this.lContainer,n)}create(n,i){const r=Yc(this.lContainer,this.templateTNode.tView.ssrId);return bl(this.hostLView,this.templateTNode,new Gy(this.lContainer,i,n),{dehydratedView:r})}destroy(n){Vc(n[Ne],n)}updateValue(n,i){this.getLView(n)[wt].$implicit=i}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n{t.destroy(E)})}(_,t,f.trackByFn),_.updateIndexes(),f.hasEmptyBlock){const E=Zo(),w=0===_.length;if(Ns(r,E,w)){const Z=i+2,pe=DI(r,Z);if(w){const be=AI(d,Z),tt=Yc(pe,be.tView.ssrId);xl(pe,bl(r,be,void 0,{dehydratedView:tt}),0,ia(be,tt))}else ff(pe,0)}}}finally{R(n)}}function DI(t,n){return t[n]}function AI(t,n){return al(t,n)}function im(t,n,i,r){const d=bt(),f=On(),_=Nn+t,E=d[Pt],w=f.firstCreatePass?function jy(t,n,i,r,d,f){const _=n.consts,w=Kc(n,t,2,r,Jo(_,d));return sf(n,i,w,Jo(_,f)),null!==w.attrs&&ud(w,w.attrs,!1),null!==w.mergedAttrs&&ud(w,w.mergedAttrs,!0),null!==n.queries&&n.queries.elementStart(n,w),w}(_,f,d,n,i,r):f.data[_],Z=AA(f,d,w,E,n,t);d[_]=Z;const pe=Ac(w);return ga(w,!0),Zu(E,Z,w),!function kf(t){return!(32&~t.flags)}(w)&&ll()&&Ol(f,d,Z,w),0===function Bm(){return Zn.lFrame.elementDepthCount}()&&Js(Z,d),function km(){Zn.lFrame.elementDepthCount++}(),pe&&(Zh(f,d,w),mc(f,w,d)),null!==r&&Xc(d,w),im}function sm(){let t=ni();ru()?ou():(t=t.parent,ga(t,!1));const n=t;(function Gm(t){return Zn.skipHydrationRootTNode===t})(n)&&function ac(){Zn.skipHydrationRootTNode=null}(),function Um(){Zn.lFrame.elementDepthCount--}();const i=On();return i.firstCreatePass&&(uu(i,t),il(t)&&i.queries.elementEnd(t)),null!=n.classesWithoutHost&&function Zm(t){return!!(8&t.flags)}(n)&&_I(i,n,bt(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function qm(t){return!!(16&t.flags)}(n)&&_I(i,n,bt(),n.stylesWithoutHost,!1),sm}function SI(t,n,i,r){return im(t,n,i,r),sm(),SI}let AA=(t,n,i,r,d,f)=>(qo(!0),Gh(r,d,function _g(){return Zn.lFrame.currentNamespace}()));function rm(t,n,i){const r=bt(),d=On(),f=t+Nn,_=d.firstCreatePass?function Yy(t,n,i,r,d){const f=n.consts,_=Jo(f,r),E=Kc(n,t,8,"ng-container",_);return null!==_&&ud(E,_,!0),sf(n,i,E,Jo(f,d)),null!==n.queries&&n.queries.elementStart(n,E),E}(f,d,r,n,i):d.data[f];ga(_,!0);const E=SA(d,r,_,t);return r[f]=E,ll()&&Ol(d,r,E,_),Js(E,r),Ac(_)&&(Zh(d,r,_),mc(d,_,r)),null!=i&&Xc(r,_),rm}function om(){let t=ni();const n=On();return ru()?ou():(t=t.parent,ga(t,!1)),n.firstCreatePass&&(uu(n,t),il(t)&&n.queries.elementEnd(t)),om}function RI(t,n,i){return rm(t,n,i),om(),RI}let SA=(t,n,i,r)=>(qo(!0),$u(n[Pt],""));function RA(){return bt()}function OI(t,n,i){const r=bt();return Ns(r,Zo(),n)&&Ir(On(),Ji(),r,t,n,r[Pt],i,!0),OI}function yI(t,n,i){const r=bt();if(Ns(r,Zo(),n)){const f=On(),_=Ji();Ir(f,_,r,t,n,n_(au(f.data),_,r),i,!0)}return yI}const Zl=void 0;var Zy=["en",[["a","p"],["AM","PM"],Zl],[["AM","PM"],Zl,Zl],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Zl,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Zl,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Zl,"{1} 'at' {0}",Zl],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function Jy(t){const i=Math.floor(Math.abs(t)),r=t.toString().replace(/^[^.]*\.?/,"").length;return 1===i&&0===r?1:5}];let wd={};function TI(t){const n=function qy(t){return t.toLowerCase().replace(/_/g,"-")}(t);let i=yA(n);if(i)return i;const r=n.split("-")[0];if(i=yA(r),i)return i;if("en"===r)return Zy;throw new St(701,!1)}function OA(t){return TI(t)[bd.PluralCase]}function yA(t){return t in wd||(wd[t]=nt.ng&&nt.ng.common&&nt.ng.common.locales&&nt.ng.common.locales[t]),wd[t]}var bd=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}(bd||{});const xd="en-US";let TA=xd;function wI(t,n,i,r){const d=bt(),f=On(),_=ni();return xI(f,d,d[Pt],_,t,n,r),wI}function bI(t,n){const i=ni(),r=bt(),d=On();return xI(d,r,n_(au(d.data),i,r),i,t,n),bI}function xI(t,n,i,r,d,f,_){const E=Ac(r),Z=t.firstCreatePass&&t_(t),pe=n[wt],be=e_(n);let tt=!0;if(3&r.type||_){const xt=mr(r,n),Qt=_?_(xt):xt,ln=be.length,Ut=_?Ni=>_(Hi(Ni[r.index])):r.index;let Jn=null;if(!_&&E&&(Jn=function zT(t,n,i,r){const d=t.cleanup;if(null!=d)for(let f=0;fw?E[w]:null}"string"==typeof _&&(f+=2)}return null}(t,n,d,r.index)),null!==Jn)(Jn.__ngLastListenerFn__||Jn).__ngNextListenerFn__=f,Jn.__ngLastListenerFn__=f,tt=!1;else{f=tS(r,n,pe,f,!1);const Ni=i.listen(Qt,d,f);be.push(f,Ni),Z&&Z.push(d,Ut,ln,ln+1)}}else f=tS(r,n,pe,f,!1);const ot=r.outputs;let pt;if(tt&&null!==ot&&(pt=ot[d])){const xt=pt.length;if(xt)for(let Qt=0;Qt-1?Jr(t.index,n):n);let w=eS(n,i,r,_),Z=f.__ngNextListenerFn__;for(;Z;)w=eS(n,i,Z,_)&&w,Z=Z.__ngNextListenerFn__;return d&&!1===w&&_.preventDefault(),w}}function nS(t=1){return function gg(t){return(Zn.lFrame.contextLView=function lg(t,n){for(;t>0;)n=n[_n],t--;return n}(t,Zn.lFrame.contextLView))[wt]}(t)}function QT(t,n){let i=null;const r=function Or(t){const n=t.attrs;if(null!=n){const i=n.indexOf(5);if(!(1&i))return n[i+1]}return null}(t);for(let d=0;d(qo(!0),function Uh(t,n){return t.createText(n)}(n[Pt],r));function FI(t){return hm("",t,""),FI}function hm(t,n,i){const r=bt(),d=Dd(r,t,n,i);return d!==ii&&Da(r,Hs(),d),hm}function BI(t,n,i,r,d){const f=bt(),_=Ad(f,t,n,i,r,d);return _!==ii&&Da(f,Hs(),_),BI}function kI(t,n,i,r,d,f,_){const E=bt(),w=function Sd(t,n,i,r,d,f,_,E){const Z=z_(t,pa(),i,d,_);return _a(3),Z?n+xn(i)+r+xn(d)+f+xn(_)+E:ii}(E,t,n,i,r,d,f,_);return w!==ii&&Da(E,Hs(),w),kI}function UI(t,n,i){W_(n)&&(n=n());const r=bt();return Ns(r,Zo(),n)&&Ir(On(),Ji(),r,t,n,r[Pt],i,!1),UI}function PS(t,n){const i=W_(t);return i&&t.set(n),i}function GI(t,n){const i=bt(),r=On(),d=ni();return xI(r,i,i[Pt],d,t,n),GI}function WI(t,n,i,r,d){if(t=Je(t),Array.isArray(t))for(let f=0;f>20;if(hs(t)||!t.multi){const ot=new ul(Z,d,Ca),pt=$I(w,n,d?pe:pe+tt,be);-1===pt?(rh(ui(E,_),f,w),VI(f,t,n.length),n.push(w),E.directiveStart++,E.directiveEnd++,d&&(E.providerIndexes+=1048576),i.push(ot),_.push(ot)):(i[pt]=ot,_[pt]=ot)}else{const ot=$I(w,n,pe+tt,be),pt=$I(w,n,pe,pe+tt),Qt=pt>=0&&i[pt];if(d&&!Qt||!d&&!(ot>=0&&i[ot])){rh(ui(E,_),f,w);const ln=function pM(t,n,i,r,d){const f=new ul(t,i,Ca);return f.multi=[],f.index=n,f.componentProviders=0,LS(f,d,r&&!i),f}(d?gM:fM,i.length,d,r,Z);!d&&Qt&&(i[pt].providerFactory=ln),VI(f,t,n.length,0),n.push(w),E.directiveStart++,E.directiveEnd++,d&&(E.providerIndexes+=1048576),i.push(ln),_.push(ln)}else VI(f,t,ot>-1?ot:pt,LS(i[d?pt:ot],Z,!d&&r));!d&&r&&Qt&&i[pt].componentProviders++}}}function VI(t,n,i,r){const d=hs(n),f=function Gs(t){return!!t.useClass}(n);if(d||f){const w=(f?Je(n.useClass):n).prototype.ngOnDestroy;if(w){const Z=t.destroyHooks||(t.destroyHooks=[]);if(!d&&n.multi){const pe=Z.indexOf(i);-1===pe?Z.push(i,[r,w]):Z[pe+1].push(r,w)}else Z.push(i,w)}}}function LS(t,n,i){return i&&t.componentProviders++,t.multi.push(n)-1}function $I(t,n,i,r){for(let d=i;d{i.providersResolver=(r,d)=>function hM(t,n,i){const r=On();if(r.firstCreatePass){const d=Qr(t);WI(i,r.data,r.blueprint,d,!0),WI(n,r.data,r.blueprint,d,!1)}}(r,d?d(t):t,n)}}let _M=(()=>{class t{constructor(i){this._injector=i,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(i){if(!i.standalone)return null;if(!this.cachedInjectors.has(i)){const r=jr(0,i.type),d=r.length>0?eI([r],this._injector,`Standalone[${i.type.name}]`):null;this.cachedInjectors.set(i,d)}return this.cachedInjectors.get(i)}ngOnDestroy(){try{for(const i of this.cachedInjectors.values())null!==i&&i.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=Mn({token:t,providedIn:"environment",factory:()=>new t(os(Ss))})}return t})();function BS(t){sa("NgStandalone"),t.getStandaloneInjector=n=>n.get(_M).getOrCreateStandaloneInjector(t)}function kS(t,n){return ze(()=>{const i=ki(t,!0);i.declarations=fm(n.declarations||_i),i.imports=fm(n.imports||_i),i.exports=fm(n.exports||_i),n.bootstrap&&(i.bootstrap=fm(n.bootstrap)),$l.registerNgModule(t,n)})}function fm(t){if("function"==typeof t)return t;const n=us(t);return n.some(lt)?()=>n.map(Je).map(US):n.map(US)}function US(t){return Df(t)?t.ngModule:t}function GS(t,n,i){const r=ur()+t,d=bt();return d[r]===ii?qa(d,r,i?n.call(i):n()):Bf(d,r)}function WS(t,n,i,r){return KS(bt(),ur(),t,n,i,r)}function VS(t,n,i,r,d){return XS(bt(),ur(),t,n,i,r,d)}function $S(t,n,i,r,d,f){return YS(bt(),ur(),t,n,i,r,d,f)}function HS(t,n,i,r,d,f,_){return zS(bt(),ur(),t,n,i,r,d,f,_)}function jS(t,n,i,r,d,f,_,E){const w=ur()+t,Z=bt(),pe=oa(Z,w,i,r,d,f);return Ns(Z,w+4,_)||pe?qa(Z,w+5,E?n.call(E,i,r,d,f,_):n(i,r,d,f,_)):Bf(Z,w+5)}function zf(t,n){const i=t[n];return i===ii?void 0:i}function KS(t,n,i,r,d,f){const _=n+i;return Ns(t,_,d)?qa(t,_+1,f?r.call(f,d):r(d)):zf(t,_+1)}function XS(t,n,i,r,d,f,_){const E=n+i;return zl(t,E,d,f)?qa(t,E+2,_?r.call(_,d,f):r(d,f)):zf(t,E+2)}function YS(t,n,i,r,d,f,_,E){const w=n+i;return z_(t,w,d,f,_)?qa(t,w+3,E?r.call(E,d,f,_):r(d,f,_)):zf(t,w+3)}function zS(t,n,i,r,d,f,_,E,w){const Z=n+i;return oa(t,Z,d,f,_,E)?qa(t,Z+4,w?r.call(w,d,f,_,E):r(d,f,_,E)):zf(t,Z+4)}function JS(t,n){const i=On();let r;const d=t+Nn;i.firstCreatePass?(r=function DM(t,n){if(n)for(let i=n.length-1;i>=0;i--){const r=n[i];if(t===r.name)return r}}(n,i.pipeRegistry),i.data[d]=r,r.onDestroy&&(i.destroyHooks??=[]).push(d,r.onDestroy)):r=i.data[d];const f=r.factory||(r.factory=as(r.type)),E=Vi(Ca);try{const w=fu(!1),Z=f();return fu(w),function eM(t,n,i,r){i>=t.data.length&&(t.data[i]=null,t.blueprint[i]=null),n[i]=r}(i,bt(),d,Z),Z}finally{Vi(E)}}function ZS(t,n,i){const r=t+Nn,d=bt(),f=yc(d,r);return Qf(d,r)?KS(d,ur(),n,f.transform,i,f):f.transform(i)}function qS(t,n,i,r){const d=t+Nn,f=bt(),_=yc(f,d);return Qf(f,d)?XS(f,ur(),n,_.transform,i,r,_):_.transform(i,r)}function eR(t,n,i,r,d){const f=t+Nn,_=bt(),E=yc(_,f);return Qf(_,f)?YS(_,ur(),n,E.transform,i,r,d,E):E.transform(i,r,d)}function tR(t,n,i,r,d,f){const _=t+Nn,E=bt(),w=yc(E,_);return Qf(E,_)?zS(E,ur(),n,w.transform,i,r,d,f,w):w.transform(i,r,d,f)}function nR(t,n,i){const r=t+Nn,d=bt(),f=yc(d,r);return Qf(d,r)?function QS(t,n,i,r,d,f){let _=n+i,E=!1;for(let w=0;w{class t{log(i){console.log(i)}warn(i){console.warn(i)}static#e=this.\u0275fac=function(r){return new(r||t)};static#t=this.\u0275prov=Mn({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();const RR=new Dt(""),OR=new Dt("");let QI,_1=(()=>{class t{constructor(i,r,d){this._ngZone=i,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,QI||(function m1(t){QI=t}(d),d.addToWindow(r)),this._watchAngularEvents(),i.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Ms.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let i=this._callbacks.pop();clearTimeout(i.timeoutId),i.doneCb()}});else{let i=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(i)||(clearTimeout(r.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(i=>({source:i.source,creationLocation:i.creationLocation,data:i.data})):[]}addCallback(i,r,d){let f=-1;r&&r>0&&(f=setTimeout(()=>{this._callbacks=this._callbacks.filter(_=>_.timeoutId!==f),i()},r)),this._callbacks.push({doneCb:i,timeoutId:f,updateCb:d})}whenStable(i,r,d){if(d&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(i,r,d),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(i){this.registry.registerApplication(i,this)}unregisterApplication(i){this.registry.unregisterApplication(i)}findProviders(i,r,d){return[]}static#e=this.\u0275fac=function(r){return new(r||t)(os(Ms),os(yR),os(OR))};static#t=this.\u0275prov=Mn({token:t,factory:t.\u0275fac})}return t})(),yR=(()=>{class t{constructor(){this._applications=new Map}registerApplication(i,r){this._applications.set(i,r)}unregisterApplication(i){this._applications.delete(i)}unregisterAllApplications(){this._applications.clear()}getTestability(i){return this._applications.get(i)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(i,r=!0){return QI?.findTestabilityInTree(this,i,r)??null}static#e=this.\u0275fac=function(r){return new(r||t)};static#t=this.\u0275prov=Mn({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();function JI(t){return!!t&&"function"==typeof t.then}function TR(t){return!!t&&"function"==typeof t.subscribe}const MR=new Dt("");let ZI=(()=>{class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,r)=>{this.resolve=i,this.reject=r}),this.appInits=$n(MR,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const i=[];for(const d of this.appInits){const f=d();if(JI(f))i.push(f);else if(TR(f)){const _=new Promise((E,w)=>{f.subscribe({complete:E,error:w})});i.push(_)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(i).then(()=>{r()}).catch(d=>{this.reject(d)}),0===i.length&&r(),this.initialized=!0}static#e=this.\u0275fac=function(r){return new(r||t)};static#t=this.\u0275prov=Mn({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const qI=new Dt("");function bR(t,n){return Array.isArray(n)?n.reduce(bR,t):{...t,...n}}let qc=(()=>{class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=$n(Lg),this.afterRenderEffectManager=$n(Wl),this.externalTestViews=new Set,this.beforeRender=new un.B,this.afterTick=new un.B,this.componentTypes=[],this.components=[],this.isStable=$n(fd).hasPendingTasks.pipe((0,Mt.T)(i=>!i)),this._injector=$n(Ss)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(i,r){const d=i instanceof g_;if(!this._injector.get(ZI).done)throw!d&&Os(i),new St(405,!1);let _;_=d?i:this._injector.get(Gl).resolveComponentFactory(i),this.componentTypes.push(_.componentType);const E=function v1(t){return t.isBoundToModule}(_)?void 0:this._injector.get(Ra),Z=_.create(qr.NULL,[],r||_.selector,E),pe=Z.location.nativeElement,be=Z.injector.get(RR,null);return be?.registerApplication(pe),Z.onDestroy(()=>{this.detachView(Z.hostView),_m(this.components,Z),be?.unregisterApplication(pe)}),this._loadComponent(Z),Z}tick(){this._tick(!0)}_tick(i){if(this._runningTick)throw new St(101,!1);const r=R(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(i)}catch(d){this.internalErrorHandler(d)}finally{this.afterTick.next(),this._runningTick=!1,R(r)}}detectChangesInAttachedViews(i){let r=0;const d=this.afterRenderEffectManager;for(;;){if(r===s_)throw new St(103,!1);if(i){const f=0===r;this.beforeRender.next(f);for(let{_lView:_,notifyErrorHandler:E}of this._views)I1(_,f,E)}if(r++,d.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:f})=>eC(f))&&(d.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:f})=>eC(f))))break}}attachView(i){const r=i;this._views.push(r),r.attachToAppRef(this)}detachView(i){const r=i;_m(this._views,r),r.detachFromAppRef()}_loadComponent(i){this.attachView(i.hostView),this.tick(),this.components.push(i);const r=this._injector.get(qI,[]);[...this._bootstrapListeners,...r].forEach(d=>d(i))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(i=>i()),this._views.slice().forEach(i=>i.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(i){return this._destroyListeners.push(i),()=>_m(this._destroyListeners,i)}destroy(){if(this._destroyed)throw new St(406,!1);const i=this._injector;i.destroy&&!i.destroyed&&i.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(r){return new(r||t)};static#t=this.\u0275prov=Mn({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function _m(t,n){const i=t.indexOf(n);i>-1&&t.splice(i,1)}function I1(t,n,i){!n&&!eC(t)||function C1(t,n,i){let r;i?(r=0,t[et]|=1024):r=64&t[et]?0:1,id(t,n,r)}(t,i,n)}function eC(t){return Hd(t)}class D1{constructor(n,i){this.ngModuleFactory=n,this.componentFactories=i}}let A1=(()=>{class t{compileModuleSync(i){return new qE(i)}compileModuleAsync(i){return Promise.resolve(this.compileModuleSync(i))}compileModuleAndAllComponentsSync(i){const r=this.compileModuleSync(i),f=Lr(ki(i).declarations).reduce((_,E)=>{const w=In(E);return w&&_.push(new jl(w)),_},[]);return new D1(r,f)}compileModuleAndAllComponentsAsync(i){return Promise.resolve(this.compileModuleAndAllComponentsSync(i))}clearCache(){}clearCacheFor(i){}getModuleId(i){}static#e=this.\u0275fac=function(r){return new(r||t)};static#t=this.\u0275prov=Mn({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),O1=(()=>{class t{constructor(){this.zone=$n(Ms),this.applicationRef=$n(qc)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||t)};static#t=this.\u0275prov=Mn({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function y1(){const t=$n(Ms),n=$n(Lo);return i=>t.runOutsideAngular(()=>n.handleError(i))}let M1=(()=>{class t{constructor(){this.subscription=new wn.yU,this.initialized=!1,this.zone=$n(Ms),this.pendingTasks=$n(fd)}initialize(){if(this.initialized)return;this.initialized=!0;let i=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(i=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Ms.assertNotInAngularZone(),queueMicrotask(()=>{null!==i&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(i),i=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Ms.assertInAngularZone(),i??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||t)};static#t=this.\u0275prov=Mn({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const vm=new Dt("",{providedIn:"root",factory:()=>$n(vm,ai.Optional|ai.SkipSelf)||function N1(){return typeof $localize<"u"&&$localize.locale||xd}()}),w1=new Dt("",{providedIn:"root",factory:()=>"USD"}),tC=new Dt("");let FR=(()=>{class t{constructor(i){this._injector=i,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(i,r){const d=function yE(t="zone.js",n){return"noop"===t?new OE:"zone.js"===t?new Ms(n):t}(r?.ngZone,function LR(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return d.run(()=>{const f=function DO(t,n,i){return new ZE(t,n,i)}(i.moduleType,this.injector,function PR(t){return[{provide:Ms,useFactory:t},{provide:pr,multi:!0,useFactory:()=>{const n=$n(O1,{optional:!0});return()=>n.initialize()}},{provide:pr,multi:!0,useFactory:()=>{const n=$n(M1);return()=>{n.initialize()}}},{provide:Lg,useFactory:y1}]}(()=>d)),_=f.injector.get(Lo,null);return d.runOutsideAngular(()=>{const E=d.onError.subscribe({next:w=>{_.handleError(w)}});f.onDestroy(()=>{_m(this._modules,f),E.unsubscribe()})}),function wR(t,n,i){try{const r=i();return JI(r)?r.catch(d=>{throw n.runOutsideAngular(()=>t.handleError(d)),d}):r}catch(r){throw n.runOutsideAngular(()=>t.handleError(r)),r}}(_,d,()=>{const E=f.injector.get(ZI);return E.runInitializers(),E.donePromise.then(()=>(function MA(t){"string"==typeof t&&(TA=t.toLowerCase().replace(/_/g,"-"))}(f.injector.get(vm,xd)||xd),this._moduleDoBootstrap(f),f))})})}bootstrapModule(i,r=[]){const d=bR({},r);return function R1(t,n,i){const r=new qE(i);return Promise.resolve(r)}(0,0,i).then(f=>this.bootstrapModuleFactory(f,d))}_moduleDoBootstrap(i){const r=i.injector.get(qc);if(i._bootstrapComponents.length>0)i._bootstrapComponents.forEach(d=>r.bootstrap(d));else{if(!i.instance.ngDoBootstrap)throw new St(-403,!1);i.instance.ngDoBootstrap(r)}this._modules.push(i)}onDestroy(i){this._destroyListeners.push(i)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new St(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const i=this._injector.get(tC,null);i&&(i.forEach(r=>r()),i.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(r){return new(r||t)(os(qr))};static#t=this.\u0275prov=Mn({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})(),el=null;const BR=new Dt("");function kR(t,n,i=[]){const r=`Platform: ${n}`,d=new Dt(r);return(f=[])=>{let _=nC();if(!_||_.injector.get(BR,!1)){const E=[...i,...f,{provide:d,useValue:!0}];t?t(E):function x1(t){if(el&&!el.get(BR,!1))throw new St(400,!1);(function NR(){!function at(t){Ve=t}(()=>{throw new St(600,!1)})})(),el=t;const n=t.get(FR);(function GR(t){t.get(qg,null)?.forEach(i=>i())})(t)}(function UR(t=[],n){return qr.create({name:n,providers:[{provide:ms,useValue:"platform"},{provide:tC,useValue:new Set([()=>el=null])},...t]})}(E,r))}return function P1(t){const n=nC();if(!n)throw new St(401,!1);return n}()}}function nC(){return el?.get(FR)??null}function F1(){return!1}function B1(){}let VR=(()=>{class t{static#e=this.__NG_ELEMENT_ID__=k1}return t})();function k1(t){return function U1(t,n,i){if(fa(t)&&!i){const r=Jr(t.index,n);return new Fl(r,r)}return 47&t.type?new Fl(n[sn],n):null}(ni(),bt(),!(16&~t))}class KR{constructor(){}supports(n){return Y_(n)}create(n){return new H1(n)}}const $1=(t,n)=>n;class H1{constructor(n){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=n||$1}forEachItem(n){let i;for(i=this._itHead;null!==i;i=i._next)n(i)}forEachOperation(n){let i=this._itHead,r=this._removalsHead,d=0,f=null;for(;i||r;){const _=!r||i&&i.currentIndex{_=this._trackByFn(d,E),null!==i&&Object.is(i.trackById,_)?(r&&(i=this._verifyReinsertion(i,E,_,d)),Object.is(i.item,E)||this._addIdentityChange(i,E)):(i=this._mismatch(i,E,_,d),r=!0),i=i._next,d++}),this.length=d;return this._truncate(i),this.collection=n,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;null!==n;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;null!==n;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,i,r,d){let f;return null===n?f=this._itTail:(f=n._prev,this._remove(n)),null!==(n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(n.item,i)||this._addIdentityChange(n,i),this._reinsertAfter(n,f,d)):null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(r,d))?(Object.is(n.item,i)||this._addIdentityChange(n,i),this._moveAfter(n,f,d)):n=this._addAfter(new j1(i,r),f,d),n}_verifyReinsertion(n,i,r,d){let f=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==f?n=this._reinsertAfter(f,n._prev,d):n.currentIndex!=d&&(n.currentIndex=d,this._addToMoves(n,d)),n}_truncate(n){for(;null!==n;){const i=n._next;this._addToRemovals(this._unlink(n)),n=i}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(n,i,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(n);const d=n._prevRemoved,f=n._nextRemoved;return null===d?this._removalsHead=f:d._nextRemoved=f,null===f?this._removalsTail=d:f._prevRemoved=d,this._insertAfter(n,i,r),this._addToMoves(n,r),n}_moveAfter(n,i,r){return this._unlink(n),this._insertAfter(n,i,r),this._addToMoves(n,r),n}_addAfter(n,i,r){return this._insertAfter(n,i,r),this._additionsTail=null===this._additionsTail?this._additionsHead=n:this._additionsTail._nextAdded=n,n}_insertAfter(n,i,r){const d=null===i?this._itHead:i._next;return n._next=d,n._prev=i,null===d?this._itTail=n:d._prev=n,null===i?this._itHead=n:i._next=n,null===this._linkedRecords&&(this._linkedRecords=new XR),this._linkedRecords.put(n),n.currentIndex=r,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){null!==this._linkedRecords&&this._linkedRecords.remove(n);const i=n._prev,r=n._next;return null===i?this._itHead=r:i._next=r,null===r?this._itTail=i:r._prev=i,n}_addToMoves(n,i){return n.previousIndex===i||(this._movesTail=null===this._movesTail?this._movesHead=n:this._movesTail._nextMoved=n),n}_addToRemovals(n){return null===this._unlinkedRecords&&(this._unlinkedRecords=new XR),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,i){return n.item=i,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=n:this._identityChangesTail._nextIdentityChange=n,n}}class j1{constructor(n,i){this.item=n,this.trackById=i,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class K1{constructor(){this._head=null,this._tail=null}add(n){null===this._head?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,i){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===i||i<=r.currentIndex)&&Object.is(r.trackById,n))return r;return null}remove(n){const i=n._prevDup,r=n._nextDup;return null===i?this._head=r:i._nextDup=r,null===r?this._tail=i:r._prevDup=i,null===this._head}}class XR{constructor(){this.map=new Map}put(n){const i=n.trackById;let r=this.map.get(i);r||(r=new K1,this.map.set(i,r)),r.add(n)}get(n,i){const d=this.map.get(n);return d?d.get(n,i):null}remove(n){const i=n.trackById;return this.map.get(i).remove(n)&&this.map.delete(i),n}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function YR(t,n,i){const r=t.previousIndex;if(null===r)return r;let d=0;return i&&r{if(i&&i.key===d)this._maybeAddToChanges(i,r),this._appendAfter=i,i=i._next;else{const f=this._getOrCreateRecordForKey(d,r);i=this._insertBeforeOrAppend(i,f)}}),i){i._prev&&(i._prev._next=null),this._removalsHead=i;for(let r=i;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(n,i){if(n){const r=n._prev;return i._next=n,i._prev=r,n._prev=i,r&&(r._next=i),n===this._mapHead&&(this._mapHead=i),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=i,i._prev=this._appendAfter):this._mapHead=i,this._appendAfter=i,null}_getOrCreateRecordForKey(n,i){if(this._records.has(n)){const d=this._records.get(n);this._maybeAddToChanges(d,i);const f=d._prev,_=d._next;return f&&(f._next=_),_&&(_._prev=f),d._next=null,d._prev=null,d}const r=new Y1(n);return this._records.set(n,r),r.currentValue=i,this._addToAdditions(r),r}_reset(){if(this.isDirty){let n;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;null!==n;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;null!=n;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(n,i){Object.is(i,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=i,this._addToChanges(n))}_addToAdditions(n){null===this._additionsHead?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){null===this._changesHead?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)}_forEach(n,i){n instanceof Map?n.forEach(i):Object.keys(n).forEach(r=>i(n[r],r))}}class Y1{constructor(n){this.key=n,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function QR(){return new aC([new KR])}let aC=(()=>{class t{static#e=this.\u0275prov=Mn({token:t,providedIn:"root",factory:QR});constructor(i){this.factories=i}static create(i,r){if(null!=r){const d=r.factories.slice();i=i.concat(d)}return new t(i)}static extend(i){return{provide:t,useFactory:r=>t.create(i,r||QR()),deps:[[t,new So,new lo]]}}find(i){const r=this.factories.find(d=>d.supports(i));if(null!=r)return r;throw new St(901,!1)}}return t})();function JR(){return new cC([new zR])}let cC=(()=>{class t{static#e=this.\u0275prov=Mn({token:t,providedIn:"root",factory:JR});constructor(i){this.factories=i}static create(i,r){if(r){const d=r.factories.slice();i=i.concat(d)}return new t(i)}static extend(i){return{provide:t,useFactory:r=>t.create(i,r||JR()),deps:[[t,new So,new lo]]}}find(i){const r=this.factories.find(d=>d.supports(i));if(r)return r;throw new St(901,!1)}}return t})();const J1=kR(null,"core",[]);let Z1=(()=>{class t{constructor(i){}static#e=this.\u0275fac=function(r){return new(r||t)(os(qc))};static#t=this.\u0275mod=Mo({type:t});static#n=this.\u0275inj=Es({})}return t})();function yN(t){return"boolean"==typeof t?t:null!=t&&"false"!==t}function MN(t,n){sa("NgSignals");const i=function $(t){const n=Object.create(_e);n.computation=t;const i=()=>{if(B(n),x(n),n.value===Te)throw n.error;return n.value};return i[y]=n,i}(t);return n?.equal&&(i[y].equal=n.equal),i}function NN(t){const n=R(null);try{return t()}finally{R(n)}}const wN=new Dt("",{providedIn:"root",factory:()=>$n(bN)});let bN=(()=>{class t{static#e=this.\u0275prov=Mn({token:t,providedIn:"root",factory:()=>new xN})}return t})();class xN{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=$n(fd),this.taskId=null}scheduleEffect(n){if(this.enqueue(n),null===this.taskId){const i=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(i),this.taskId=null})}}enqueue(n){const i=n.creationZone;this.queues.has(i)||this.queues.set(i,new Set);const r=this.queues.get(i);r.has(n)||(this.queuedEffectCount++,r.add(n))}flush(){for(;this.queuedEffectCount>0;)for(const[n,i]of this.queues)null===n?this.flushQueue(i):n.run(()=>this.flushQueue(i))}flushQueue(n){for(const i of n)n.delete(i),this.queuedEffectCount--,i.run()}}class PN{constructor(n,i,r,d,f,_){this.scheduler=n,this.effectFn=i,this.creationZone=r,this.injector=f,this.watcher=function tn(t,n,i){const r=Object.create(rn);i&&(r.consumerAllowSignalWrites=!0),r.fn=t,r.schedule=n;const d=w=>{r.cleanupFn=w};return r.ref={notify:()=>se(r),run:()=>{if(null===r.fn)return;if(function A(){return c}())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(r.dirty=!1,r.hasRun&&!ve(r))return;r.hasRun=!0;const w=Y(r);try{r.cleanupFn(),r.cleanupFn=Vt,r.fn(d)}finally{re(r,w)}},cleanup:()=>r.cleanupFn(),destroy:()=>function _(w){(function f(w){return null===w.fn&&null===w.schedule})(w)||(le(w),w.cleanupFn(),w.fn=null,w.schedule=null,w.cleanupFn=Vt)}(r),[y]:r},r.ref}(E=>this.runEffect(E),()=>this.schedule(),_),this.unregisterOnDestroy=d?.onDestroy(()=>this.destroy())}runEffect(n){try{this.effectFn(n)}catch(i){this.injector.get(Lo,null,{optional:!0})?.handleError(i)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}}function EO(t,n){sa("NgSignals"),!n?.injector&&xo();const i=n?.injector??$n(qr),r=!0!==n?.manualCleanup?i.get(Ga):null,d=new PN(i.get(wN),t,typeof Zone>"u"?null:Zone.current,r,i,n?.allowSignalWrites??!1),f=i.get(VR,null,{optional:!0});return f&&8&f._lView[et]?(f._lView[Qi]??=[]).push(d.watcher.notify):d.watcher.notify(),d}function LN(t,n){const i=In(t),r=n.elementInjector||Tr();return new jl(i).create(r,n.projectableNodes,n.hostElement,n.environmentInjector)}function FN(t){const n=In(t);if(!n)return null;const i=new jl(n);return{get selector(){return i.selector},get type(){return i.componentType},get inputs(){return i.inputs},get outputs(){return i.outputs},get ngContentSelectors(){return i.ngContentSelectors},get isStandalone(){return n.standalone},get isSignal(){return n.signals}}}},89079:(Me,K,o)=>{"use strict";o.d(K,{br:()=>A,ot:()=>S,pQ:()=>v});var u=o(54438),e=o(71985),h=o(92771),c=o(56977);function v(C){C||((0,u.Af3)(v),C=(0,u.WQX)(u.abz));const x=new e.c(P=>C.onDestroy(P.next.bind(P)));return P=>P.pipe((0,c.Q)(x))}function A(C,x){!x?.injector&&(0,u.Af3)(A);const P=x?.injector??(0,u.WQX)(u.zZn),B=new h.m(1),W=(0,u.QZP)(()=>{let ee;try{ee=C()}catch(se){return void(0,u.O8t)(()=>B.error(se))}(0,u.O8t)(()=>B.next(ee))},{injector:P,manualCleanup:!0});return P.get(u.abz).onDestroy(()=>{W.destroy(),B.complete()}),B.asObservable()}function S(C,x){const P=!x?.manualCleanup;P&&!x?.injector&&(0,u.Af3)(S);const B=P?x?.injector?.get(u.abz)??(0,u.WQX)(u.abz):null;let W;W=(0,u.vPA)(x?.requireSync?{kind:0}:{kind:1,value:x?.initialValue});const ee=C.subscribe({next:se=>W.set({kind:1,value:se}),error:se=>{if(x?.rejectErrors)throw se;W.set({kind:2,error:se})}});return B?.onDestroy(ee.unsubscribe.bind(ee)),(0,u.EWP)(()=>{const se=W();switch(se.kind){case 1:return se.value;case 2:throw se.error;case 0:throw new u.wOt(601,"`toSignal()` called with `requireSync` but `Observable` did not emit synchronously.")}})}},345:(Me,K,o)=>{"use strict";o.d(K,{B7:()=>te,Bb:()=>Kn,W8:()=>Mt,hE:()=>Yt,sG:()=>rn,up:()=>Ht});var u=o(54438),e=o(60177);class h extends e.VF{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class c extends h{static makeCurrent(){(0,e.ZD)(new c)}onAndCancel(lt,Pe,Xe){return lt.addEventListener(Pe,Xe),()=>{lt.removeEventListener(Pe,Xe)}}dispatchEvent(lt,Pe){lt.dispatchEvent(Pe)}remove(lt){lt.parentNode&<.parentNode.removeChild(lt)}createElement(lt,Pe){return(Pe=Pe||this.getDefaultDocument()).createElement(lt)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(lt){return lt.nodeType===Node.ELEMENT_NODE}isShadowRoot(lt){return lt instanceof DocumentFragment}getGlobalEventTarget(lt,Pe){return"window"===Pe?window:"document"===Pe?lt:"body"===Pe?lt.body:null}getBaseHref(lt){const Pe=function y(){return v=v||document.querySelector("base"),v?v.getAttribute("href"):null}();return null==Pe?null:function R(Je){return new URL(Je,document.baseURI).pathname}(Pe)}resetBaseElement(){v=null}getUserAgent(){return window.navigator.userAgent}getCookie(lt){return(0,e._b)(document.cookie,lt)}}let v=null,A=(()=>{class Je{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(Xe){return new(Xe||Je)};static#t=this.\u0275prov=u.jDH({token:Je,factory:Je.\u0275fac})}return Je})();const S=new u.nKC("");let C=(()=>{class Je{constructor(Pe,Xe){this._zone=Xe,this._eventNameToPlugin=new Map,Pe.forEach(_t=>{_t.manager=this}),this._plugins=Pe.slice().reverse()}addEventListener(Pe,Xe,_t){return this._findPluginFor(Xe).addEventListener(Pe,Xe,_t)}getZone(){return this._zone}_findPluginFor(Pe){let Xe=this._eventNameToPlugin.get(Pe);if(Xe)return Xe;if(Xe=this._plugins.find(jt=>jt.supports(Pe)),!Xe)throw new u.wOt(5101,!1);return this._eventNameToPlugin.set(Pe,Xe),Xe}static#e=this.\u0275fac=function(Xe){return new(Xe||Je)(u.KVO(S),u.KVO(u.SKi))};static#t=this.\u0275prov=u.jDH({token:Je,factory:Je.\u0275fac})}return Je})();class x{constructor(lt){this._doc=lt}}const P="ng-app-id";let B=(()=>{class Je{constructor(Pe,Xe,_t,jt={}){this.doc=Pe,this.appId=Xe,this.nonce=_t,this.platformId=jt,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,e.Vy)(jt),this.resetHostNodes()}addStyles(Pe){for(const Xe of Pe)1===this.changeUsageCount(Xe,1)&&this.onStyleAdded(Xe)}removeStyles(Pe){for(const Xe of Pe)this.changeUsageCount(Xe,-1)<=0&&this.onStyleRemoved(Xe)}ngOnDestroy(){const Pe=this.styleNodesInDOM;Pe&&(Pe.forEach(Xe=>Xe.remove()),Pe.clear());for(const Xe of this.getAllStyles())this.onStyleRemoved(Xe);this.resetHostNodes()}addHost(Pe){this.hostNodes.add(Pe);for(const Xe of this.getAllStyles())this.addStyleToHost(Pe,Xe)}removeHost(Pe){this.hostNodes.delete(Pe)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(Pe){for(const Xe of this.hostNodes)this.addStyleToHost(Xe,Pe)}onStyleRemoved(Pe){const Xe=this.styleRef;Xe.get(Pe)?.elements?.forEach(_t=>_t.remove()),Xe.delete(Pe)}collectServerRenderedStyles(){const Pe=this.doc.head?.querySelectorAll(`style[${P}="${this.appId}"]`);if(Pe?.length){const Xe=new Map;return Pe.forEach(_t=>{null!=_t.textContent&&Xe.set(_t.textContent,_t)}),Xe}return null}changeUsageCount(Pe,Xe){const _t=this.styleRef;if(_t.has(Pe)){const jt=_t.get(Pe);return jt.usage+=Xe,jt.usage}return _t.set(Pe,{usage:Xe,elements:[]}),Xe}getStyleElement(Pe,Xe){const _t=this.styleNodesInDOM,jt=_t?.get(Xe);if(jt?.parentNode===Pe)return _t.delete(Xe),jt.removeAttribute(P),jt;{const hn=this.doc.createElement("style");return this.nonce&&hn.setAttribute("nonce",this.nonce),hn.textContent=Xe,this.platformIsServer&&hn.setAttribute(P,this.appId),Pe.appendChild(hn),hn}}addStyleToHost(Pe,Xe){const _t=this.getStyleElement(Pe,Xe),jt=this.styleRef,hn=jt.get(Xe)?.elements;hn?hn.push(_t):jt.set(Xe,{elements:[_t],usage:1})}resetHostNodes(){const Pe=this.hostNodes;Pe.clear(),Pe.add(this.doc.head)}static#e=this.\u0275fac=function(Xe){return new(Xe||Je)(u.KVO(e.qQ),u.KVO(u.sZ2),u.KVO(u.BIS,8),u.KVO(u.Agw))};static#t=this.\u0275prov=u.jDH({token:Je,factory:Je.\u0275fac})}return Je})();const W={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},ee=/%COMP%/g,le=new u.nKC("",{providedIn:"root",factory:()=>!0});function j(Je,lt){return lt.map(Pe=>Pe.replace(ee,Je))}let te=(()=>{class Je{constructor(Pe,Xe,_t,jt,hn,Fn,bn,Ke=null){this.eventManager=Pe,this.sharedStylesHost=Xe,this.appId=_t,this.removeStylesOnCompDestroy=jt,this.doc=hn,this.platformId=Fn,this.ngZone=bn,this.nonce=Ke,this.rendererByCompId=new Map,this.platformIsServer=(0,e.Vy)(Fn),this.defaultRenderer=new J(Pe,hn,bn,this.platformIsServer)}createRenderer(Pe,Xe){if(!Pe||!Xe)return this.defaultRenderer;this.platformIsServer&&Xe.encapsulation===u.gXe.ShadowDom&&(Xe={...Xe,encapsulation:u.gXe.Emulated});const _t=this.getOrCreateRenderer(Pe,Xe);return _t instanceof Ge?_t.applyToHost(Pe):_t instanceof _e&&_t.applyStyles(),_t}getOrCreateRenderer(Pe,Xe){const _t=this.rendererByCompId;let jt=_t.get(Xe.id);if(!jt){const hn=this.doc,Fn=this.ngZone,bn=this.eventManager,Ke=this.sharedStylesHost,Be=this.removeStylesOnCompDestroy,G=this.platformIsServer;switch(Xe.encapsulation){case u.gXe.Emulated:jt=new Ge(bn,Ke,Xe,this.appId,Be,hn,Fn,G);break;case u.gXe.ShadowDom:return new Te(bn,Ke,Pe,Xe,hn,Fn,this.nonce,G);default:jt=new _e(bn,Ke,Xe,Be,hn,Fn,G)}_t.set(Xe.id,jt)}return jt}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(Xe){return new(Xe||Je)(u.KVO(C),u.KVO(B),u.KVO(u.sZ2),u.KVO(le),u.KVO(e.qQ),u.KVO(u.Agw),u.KVO(u.SKi),u.KVO(u.BIS))};static#t=this.\u0275prov=u.jDH({token:Je,factory:Je.\u0275fac})}return Je})();class J{constructor(lt,Pe,Xe,_t){this.eventManager=lt,this.doc=Pe,this.ngZone=Xe,this.platformIsServer=_t,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(lt,Pe){return Pe?this.doc.createElementNS(W[Pe]||Pe,lt):this.doc.createElement(lt)}createComment(lt){return this.doc.createComment(lt)}createText(lt){return this.doc.createTextNode(lt)}appendChild(lt,Pe){(ue(lt)?lt.content:lt).appendChild(Pe)}insertBefore(lt,Pe,Xe){lt&&(ue(lt)?lt.content:lt).insertBefore(Pe,Xe)}removeChild(lt,Pe){lt&<.removeChild(Pe)}selectRootElement(lt,Pe){let Xe="string"==typeof lt?this.doc.querySelector(lt):lt;if(!Xe)throw new u.wOt(-5104,!1);return Pe||(Xe.textContent=""),Xe}parentNode(lt){return lt.parentNode}nextSibling(lt){return lt.nextSibling}setAttribute(lt,Pe,Xe,_t){if(_t){Pe=_t+":"+Pe;const jt=W[_t];jt?lt.setAttributeNS(jt,Pe,Xe):lt.setAttribute(Pe,Xe)}else lt.setAttribute(Pe,Xe)}removeAttribute(lt,Pe,Xe){if(Xe){const _t=W[Xe];_t?lt.removeAttributeNS(_t,Pe):lt.removeAttribute(`${Xe}:${Pe}`)}else lt.removeAttribute(Pe)}addClass(lt,Pe){lt.classList.add(Pe)}removeClass(lt,Pe){lt.classList.remove(Pe)}setStyle(lt,Pe,Xe,_t){_t&(u.czy.DashCase|u.czy.Important)?lt.style.setProperty(Pe,Xe,_t&u.czy.Important?"important":""):lt.style[Pe]=Xe}removeStyle(lt,Pe,Xe){Xe&u.czy.DashCase?lt.style.removeProperty(Pe):lt.style[Pe]=""}setProperty(lt,Pe,Xe){null!=lt&&(lt[Pe]=Xe)}setValue(lt,Pe){lt.nodeValue=Pe}listen(lt,Pe,Xe){if("string"==typeof lt&&!(lt=(0,e.QT)().getGlobalEventTarget(this.doc,lt)))throw new Error(`Unsupported event target ${lt} for event ${Pe}`);return this.eventManager.addEventListener(lt,Pe,this.decoratePreventDefault(Xe))}decoratePreventDefault(lt){return Pe=>{if("__ngUnwrap__"===Pe)return lt;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>lt(Pe)):lt(Pe))&&Pe.preventDefault()}}}function ue(Je){return"TEMPLATE"===Je.tagName&&void 0!==Je.content}class Te extends J{constructor(lt,Pe,Xe,_t,jt,hn,Fn,bn){super(lt,jt,hn,bn),this.sharedStylesHost=Pe,this.hostEl=Xe,this.shadowRoot=Xe.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Ke=j(_t.id,_t.styles);for(const Be of Ke){const G=document.createElement("style");Fn&&G.setAttribute("nonce",Fn),G.textContent=Be,this.shadowRoot.appendChild(G)}}nodeOrShadowRoot(lt){return lt===this.hostEl?this.shadowRoot:lt}appendChild(lt,Pe){return super.appendChild(this.nodeOrShadowRoot(lt),Pe)}insertBefore(lt,Pe,Xe){return super.insertBefore(this.nodeOrShadowRoot(lt),Pe,Xe)}removeChild(lt,Pe){return super.removeChild(this.nodeOrShadowRoot(lt),Pe)}parentNode(lt){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(lt)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class _e extends J{constructor(lt,Pe,Xe,_t,jt,hn,Fn,bn){super(lt,jt,hn,Fn),this.sharedStylesHost=Pe,this.removeStylesOnCompDestroy=_t,this.styles=bn?j(bn,Xe.styles):Xe.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class Ge extends _e{constructor(lt,Pe,Xe,_t,jt,hn,Fn,bn){const Ke=_t+"-"+Xe.id;super(lt,Pe,Xe,jt,hn,Fn,bn,Ke),this.contentAttr=function Ee(Je){return"_ngcontent-%COMP%".replace(ee,Je)}(Ke),this.hostAttr=function F(Je){return"_nghost-%COMP%".replace(ee,Je)}(Ke)}applyToHost(lt){this.applyStyles(),this.setAttribute(lt,this.hostAttr,"")}createElement(lt,Pe){const Xe=super.createElement(lt,Pe);return super.setAttribute(Xe,this.contentAttr,""),Xe}}let Ve=(()=>{class Je extends x{constructor(Pe){super(Pe)}supports(Pe){return!0}addEventListener(Pe,Xe,_t){return Pe.addEventListener(Xe,_t,!1),()=>this.removeEventListener(Pe,Xe,_t)}removeEventListener(Pe,Xe,_t){return Pe.removeEventListener(Xe,_t)}static#e=this.\u0275fac=function(Xe){return new(Xe||Je)(u.KVO(e.qQ))};static#t=this.\u0275prov=u.jDH({token:Je,factory:Je.\u0275fac})}return Je})();const dt=["alt","control","meta","shift"],at={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},ye={alt:Je=>Je.altKey,control:Je=>Je.ctrlKey,meta:Je=>Je.metaKey,shift:Je=>Je.shiftKey};let Oe=(()=>{class Je extends x{constructor(Pe){super(Pe)}supports(Pe){return null!=Je.parseEventName(Pe)}addEventListener(Pe,Xe,_t){const jt=Je.parseEventName(Xe),hn=Je.eventCallback(jt.fullKey,_t,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,e.QT)().onAndCancel(Pe,jt.domEventName,hn))}static parseEventName(Pe){const Xe=Pe.toLowerCase().split("."),_t=Xe.shift();if(0===Xe.length||"keydown"!==_t&&"keyup"!==_t)return null;const jt=Je._normalizeKey(Xe.pop());let hn="",Fn=Xe.indexOf("code");if(Fn>-1&&(Xe.splice(Fn,1),hn="code."),dt.forEach(Ke=>{const Be=Xe.indexOf(Ke);Be>-1&&(Xe.splice(Be,1),hn+=Ke+".")}),hn+=jt,0!=Xe.length||0===jt.length)return null;const bn={};return bn.domEventName=_t,bn.fullKey=hn,bn}static matchEventFullKeyCode(Pe,Xe){let _t=at[Pe.key]||Pe.key,jt="";return Xe.indexOf("code.")>-1&&(_t=Pe.code,jt="code."),!(null==_t||!_t)&&(_t=_t.toLowerCase()," "===_t?_t="space":"."===_t&&(_t="dot"),dt.forEach(hn=>{hn!==_t&&(0,ye[hn])(Pe)&&(jt+=hn+".")}),jt+=_t,jt===Xe)}static eventCallback(Pe,Xe,_t){return jt=>{Je.matchEventFullKeyCode(jt,Pe)&&_t.runGuarded(()=>Xe(jt))}}static _normalizeKey(Pe){return"esc"===Pe?"escape":Pe}static#e=this.\u0275fac=function(Xe){return new(Xe||Je)(u.KVO(e.qQ))};static#t=this.\u0275prov=u.jDH({token:Je,factory:Je.\u0275fac})}return Je})();const rn=(0,u.oH4)(u.fpN,"browser",[{provide:u.Agw,useValue:e.AJ},{provide:u.PLl,useValue:function ut(){c.makeCurrent()},multi:!0},{provide:e.qQ,useFactory:function tn(){return(0,u.TL$)(document),document},deps:[]}]),En=new u.nKC(""),un=[{provide:u.e01,useClass:class T{addToWindow(lt){u.JZv.getAngularTestability=(Xe,_t=!0)=>{const jt=lt.findTestabilityInTree(Xe,_t);if(null==jt)throw new u.wOt(5103,!1);return jt},u.JZv.getAllAngularTestabilities=()=>lt.getAllTestabilities(),u.JZv.getAllAngularRootElements=()=>lt.getAllRootElements(),u.JZv.frameworkStabilizers||(u.JZv.frameworkStabilizers=[]),u.JZv.frameworkStabilizers.push(Xe=>{const _t=u.JZv.getAllAngularTestabilities();let jt=_t.length;const hn=function(){jt--,0==jt&&Xe()};_t.forEach(Fn=>{Fn.whenStable(hn)})})}findTestabilityInTree(lt,Pe,Xe){return null==Pe?null:lt.getTestability(Pe)??(Xe?(0,e.QT)().isShadowRoot(Pe)?this.findTestabilityInTree(lt,Pe.host,!0):this.findTestabilityInTree(lt,Pe.parentElement,!0):null)}},deps:[]},{provide:u.WHO,useClass:u.NYb,deps:[u.SKi,u.giA,u.e01]},{provide:u.NYb,useClass:u.NYb,deps:[u.SKi,u.giA,u.e01]}],wn=[{provide:u.H8p,useValue:"root"},{provide:u.zcH,useFactory:function mt(){return new u.zcH},deps:[]},{provide:S,useClass:Ve,multi:!0,deps:[e.qQ,u.SKi,u.Agw]},{provide:S,useClass:Oe,multi:!0,deps:[e.qQ]},te,B,C,{provide:u._9s,useExisting:te},{provide:e.N0,useClass:A,deps:[]},[]];let Kn=(()=>{class Je{constructor(Pe){}static withServerTransition(Pe){return{ngModule:Je,providers:[{provide:u.sZ2,useValue:Pe.appId}]}}static#e=this.\u0275fac=function(Xe){return new(Xe||Je)(u.KVO(En,12))};static#t=this.\u0275mod=u.$C({type:Je});static#n=this.\u0275inj=u.G2t({providers:[...wn,...un],imports:[e.MD,u.Hbi]})}return Je})(),Mt=(()=>{class Je{constructor(Pe){this._doc=Pe,this._dom=(0,e.QT)()}addTag(Pe,Xe=!1){return Pe?this._getOrCreateElement(Pe,Xe):null}addTags(Pe,Xe=!1){return Pe?Pe.reduce((_t,jt)=>(jt&&_t.push(this._getOrCreateElement(jt,Xe)),_t),[]):[]}getTag(Pe){return Pe&&this._doc.querySelector(`meta[${Pe}]`)||null}getTags(Pe){if(!Pe)return[];const Xe=this._doc.querySelectorAll(`meta[${Pe}]`);return Xe?[].slice.call(Xe):[]}updateTag(Pe,Xe){if(!Pe)return null;Xe=Xe||this._parseSelector(Pe);const _t=this.getTag(Xe);return _t?this._setMetaElementAttributes(Pe,_t):this._getOrCreateElement(Pe,!0)}removeTag(Pe){this.removeTagElement(this.getTag(Pe))}removeTagElement(Pe){Pe&&this._dom.remove(Pe)}_getOrCreateElement(Pe,Xe=!1){if(!Xe){const hn=this._parseSelector(Pe),Fn=this.getTags(hn).filter(bn=>this._containsAttributes(Pe,bn))[0];if(void 0!==Fn)return Fn}const _t=this._dom.createElement("meta");return this._setMetaElementAttributes(Pe,_t),this._doc.getElementsByTagName("head")[0].appendChild(_t),_t}_setMetaElementAttributes(Pe,Xe){return Object.keys(Pe).forEach(_t=>Xe.setAttribute(this._getMetaKeyMap(_t),Pe[_t])),Xe}_parseSelector(Pe){const Xe=Pe.name?"name":"property";return`${Xe}="${Pe[Xe]}"`}_containsAttributes(Pe,Xe){return Object.keys(Pe).every(_t=>Xe.getAttribute(this._getMetaKeyMap(_t))===Pe[_t])}_getMetaKeyMap(Pe){return Bt[Pe]||Pe}static#e=this.\u0275fac=function(Xe){return new(Xe||Je)(u.KVO(e.qQ))};static#t=this.\u0275prov=u.jDH({token:Je,factory:Je.\u0275fac,providedIn:"root"})}return Je})();const Bt={httpEquiv:"http-equiv"};let Yt=(()=>{class Je{constructor(Pe){this._doc=Pe}getTitle(){return this._doc.title}setTitle(Pe){this._doc.title=Pe||""}static#e=this.\u0275fac=function(Xe){return new(Xe||Je)(u.KVO(e.qQ))};static#t=this.\u0275prov=u.jDH({token:Je,factory:Je.\u0275fac,providedIn:"root"})}return Je})(),Ht=(()=>{class Je{static#e=this.\u0275fac=function(Xe){return new(Xe||Je)};static#t=this.\u0275prov=u.jDH({token:Je,factory:function(Xe){let _t=null;return _t=Xe?new(Xe||Je):u.KVO(nt),_t},providedIn:"root"})}return Je})(),nt=(()=>{class Je extends Ht{constructor(Pe){super(),this._doc=Pe}sanitize(Pe,Xe){if(null==Xe)return null;switch(Pe){case u.WPN.NONE:return Xe;case u.WPN.HTML:return(0,u.ZF7)(Xe,"HTML")?(0,u.rcV)(Xe):(0,u.h9k)(this._doc,String(Xe)).toString();case u.WPN.STYLE:return(0,u.ZF7)(Xe,"Style")?(0,u.rcV)(Xe):Xe;case u.WPN.SCRIPT:if((0,u.ZF7)(Xe,"Script"))return(0,u.rcV)(Xe);throw new u.wOt(5200,!1);case u.WPN.URL:return(0,u.ZF7)(Xe,"URL")?(0,u.rcV)(Xe):(0,u.$MX)(String(Xe));case u.WPN.RESOURCE_URL:if((0,u.ZF7)(Xe,"ResourceURL"))return(0,u.rcV)(Xe);throw new u.wOt(5201,!1);default:throw new u.wOt(5202,!1)}}bypassSecurityTrustHtml(Pe){return(0,u.Kcf)(Pe)}bypassSecurityTrustStyle(Pe){return(0,u.cWb)(Pe)}bypassSecurityTrustScript(Pe){return(0,u.UyX)(Pe)}bypassSecurityTrustUrl(Pe){return(0,u.osQ)(Pe)}bypassSecurityTrustResourceUrl(Pe){return(0,u.e5t)(Pe)}static#e=this.\u0275fac=function(Xe){return new(Xe||Je)(u.KVO(e.qQ))};static#t=this.\u0275prov=u.jDH({token:Je,factory:Je.\u0275fac,providedIn:"root"})}return Je})()},51188:(Me,K,o)=>{"use strict";o.d(K,{nX:()=>Yi,nU:()=>nt,j5:()=>Li,wF:()=>ti,L6:()=>qn,lW:()=>Gn,Z:()=>Ei,Ix:()=>me,Wk:()=>Ne,wQ:()=>et,iI:()=>Vs,n3:()=>co,OY:()=>oo,Q0:()=>lr,yJ:()=>kt});var u=o(10467),e=o(54438),h=o(74402),c=o(22806),v=o(7673),y=o(84412),R=o(84572),T=o(9350),A=o(28793),S=o(59030),C=o(71203),x=o(18810),P=o(983),B=o(30017),W=o(21413),ee=o(18359),se=o(60177),Y=o(96354),re=o(25558),ve=o(96697),le=o(99172),Ee=o(5964),F=o(31397),j=o(61594),te=o(70274),J=o(88141),$=o(99437),ce=o(22816),ue=o(39901),Te=o(39974),_e=o(54360);function Ge(D){return D<=0?()=>P.w:(0,Te.N)((k,M)=>{let U=[];k.subscribe((0,_e._)(M,ae=>{U.push(ae),D{for(const ae of U)M.next(ae);M.complete()},void 0,()=>{U=null}))})}var Ve=o(93774),dt=o(33669),ye=o(73703),Oe=o(70980),we=o(99898),Ce=o(56977),$e=o(26365),Ye=o(345);const ut="primary",mt=Symbol("RouteTitle");class tn{constructor(k){this.params=k||{}}has(k){return Object.prototype.hasOwnProperty.call(this.params,k)}get(k){if(this.has(k)){const M=this.params[k];return Array.isArray(M)?M[0]:M}return null}getAll(k){if(this.has(k)){const M=this.params[k];return Array.isArray(M)?M:[M]}return[]}get keys(){return Object.keys(this.params)}}function Vt(D){return new tn(D)}function rn(D,k,M){const U=M.path.split("/");if(U.length>D.length||"full"===M.pathMatch&&(k.hasChildren()||U.lengthU[Re]===ae)}return D===k}function Mt(D){return D.length>0?D[D.length-1]:null}function Bt(D){return(0,h.A)(D)?D:(0,e.jNT)(D)?(0,c.H)(Promise.resolve(D)):(0,v.of)(D)}const Yt={exact:function he(D,k,M){if(!nn(D.segments,k.segments)||!ze(D.segments,k.segments,M)||D.numberOfChildren!==k.numberOfChildren)return!1;for(const U in k.children)if(!D.children[U]||!he(D.children[U],k.children[U],M))return!1;return!0},subset:xe},St={exact:function Qe(D,k){return un(D,k)},subset:function Ie(D,k){return Object.keys(k).length<=Object.keys(D).length&&Object.keys(k).every(M=>Kn(D[M],k[M]))},ignored:()=>!0};function qt(D,k,M){return Yt[M.paths](D.root,k.root,M.matrixParams)&&St[M.queryParams](D.queryParams,k.queryParams)&&!("exact"===M.fragment&&D.fragment!==k.fragment)}function xe(D,k,M){return je(D,k,k.segments,M)}function je(D,k,M,U){if(D.segments.length>M.length){const ae=D.segments.slice(0,M.length);return!(!nn(ae,M)||k.hasChildren()||!ze(ae,M,U))}if(D.segments.length===M.length){if(!nn(D.segments,M)||!ze(D.segments,M,U))return!1;for(const ae in k.children)if(!D.children[ae]||!xe(D.children[ae],k.children[ae],U))return!1;return!0}{const ae=M.slice(0,D.segments.length),Re=M.slice(D.segments.length);return!!(nn(D.segments,ae)&&ze(D.segments,ae,U)&&D.children[ut])&&je(D.children[ut],k,Re,U)}}function ze(D,k,M){return k.every((U,ae)=>St[M](D[ae].parameters,U.parameters))}class gt{constructor(k=new kt([],{}),M={},U=null){this.root=k,this.queryParams=M,this.fragment=U}get queryParamMap(){return this._queryParamMap??=Vt(this.queryParams),this._queryParamMap}toString(){return Nt.serialize(this)}}class kt{constructor(k,M){this.segments=k,this.children=M,this.parent=null,Object.values(M).forEach(U=>U.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ft(this)}}class Jt{constructor(k,M){this.path=k,this.parameters=M}get parameterMap(){return this._parameterMap??=Vt(this.parameters),this._parameterMap}toString(){return Je(this)}}function nn(D,k){return D.length===k.length&&D.every((M,U)=>M.path===k[U].path)}let Ht=(()=>{class D{static#e=this.\u0275fac=function(U){return new(U||D)};static#t=this.\u0275prov=e.jDH({token:D,factory:()=>new nt,providedIn:"root"})}return D})();class nt{parse(k){const M=new G(k);return new gt(M.parseRootSegment(),M.parseQueryParams(),M.parseFragment())}serialize(k){const M=`/${Xt(k.root,!0)}`,U=function Pe(D){const k=Object.entries(D).map(([M,U])=>Array.isArray(U)?U.map(ae=>`${An(M)}=${An(ae)}`).join("&"):`${An(M)}=${An(U)}`).filter(M=>M);return k.length?`?${k.join("&")}`:""}(k.queryParams);return`${M}${U}${"string"==typeof k.fragment?`#${function si(D){return encodeURI(D)}(k.fragment)}`:""}`}}const Nt=new nt;function Ft(D){return D.segments.map(k=>Je(k)).join("/")}function Xt(D,k){if(!D.hasChildren())return Ft(D);if(k){const M=D.children[ut]?Xt(D.children[ut],!1):"",U=[];return Object.entries(D.children).forEach(([ae,Re])=>{ae!==ut&&U.push(`${ae}:${Xt(Re,!1)}`)}),U.length>0?`${M}(${U.join("//")})`:M}{const M=function vn(D,k){let M=[];return Object.entries(D.children).forEach(([U,ae])=>{U===ut&&(M=M.concat(k(ae,U)))}),Object.entries(D.children).forEach(([U,ae])=>{U!==ut&&(M=M.concat(k(ae,U)))}),M}(D,(U,ae)=>ae===ut?[Xt(D.children[ut],!1)]:[`${ae}:${Xt(U,!1)}`]);return 1===Object.keys(D.children).length&&null!=D.children[ut]?`${Ft(D)}/${M[0]}`:`${Ft(D)}/(${M.join("//")})`}}function Tn(D){return encodeURIComponent(D).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function An(D){return Tn(D).replace(/%3B/gi,";")}function Di(D){return Tn(D).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function gi(D){return decodeURIComponent(D)}function zn(D){return gi(D.replace(/\+/g,"%20"))}function Je(D){return`${Di(D.path)}${function lt(D){return Object.entries(D).map(([k,M])=>`;${Di(k)}=${Di(M)}`).join("")}(D.parameters)}`}const Xe=/^[^\/()?;#]+/;function _t(D){const k=D.match(Xe);return k?k[0]:""}const jt=/^[^\/()?;=#]+/,Fn=/^[^=?&#]+/,Ke=/^[^&#]+/;class G{constructor(k){this.url=k,this.remaining=k}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new kt([],{}):new kt([],this.parseChildren())}parseQueryParams(){const k={};if(this.consumeOptional("?"))do{this.parseQueryParam(k)}while(this.consumeOptional("&"));return k}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const k=[];for(this.peekStartsWith("(")||k.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),k.push(this.parseSegment());let M={};this.peekStartsWith("/(")&&(this.capture("/"),M=this.parseParens(!0));let U={};return this.peekStartsWith("(")&&(U=this.parseParens(!1)),(k.length>0||Object.keys(M).length>0)&&(U[ut]=new kt(k,M)),U}parseSegment(){const k=_t(this.remaining);if(""===k&&this.peekStartsWith(";"))throw new e.wOt(4009,!1);return this.capture(k),new Jt(gi(k),this.parseMatrixParams())}parseMatrixParams(){const k={};for(;this.consumeOptional(";");)this.parseParam(k);return k}parseParam(k){const M=function hn(D){const k=D.match(jt);return k?k[0]:""}(this.remaining);if(!M)return;this.capture(M);let U="";if(this.consumeOptional("=")){const ae=_t(this.remaining);ae&&(U=ae,this.capture(U))}k[gi(M)]=gi(U)}parseQueryParam(k){const M=function bn(D){const k=D.match(Fn);return k?k[0]:""}(this.remaining);if(!M)return;this.capture(M);let U="";if(this.consumeOptional("=")){const He=function Be(D){const k=D.match(Ke);return k?k[0]:""}(this.remaining);He&&(U=He,this.capture(U))}const ae=zn(M),Re=zn(U);if(k.hasOwnProperty(ae)){let He=k[ae];Array.isArray(He)||(He=[He],k[ae]=He),He.push(Re)}else k[ae]=Re}parseParens(k){const M={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const U=_t(this.remaining),ae=this.remaining[U.length];if("/"!==ae&&")"!==ae&&";"!==ae)throw new e.wOt(4010,!1);let Re;U.indexOf(":")>-1?(Re=U.slice(0,U.indexOf(":")),this.capture(Re),this.capture(":")):k&&(Re=ut);const He=this.parseChildren();M[Re]=1===Object.keys(He).length?He[ut]:new kt([],He),this.consumeOptional("//")}return M}peekStartsWith(k){return this.remaining.startsWith(k)}consumeOptional(k){return!!this.peekStartsWith(k)&&(this.remaining=this.remaining.substring(k.length),!0)}capture(k){if(!this.consumeOptional(k))throw new e.wOt(4011,!1)}}function Q(D){return D.segments.length>0?new kt([],{[ut]:D}):D}function H(D){const k={};for(const[U,ae]of Object.entries(D.children)){const Re=H(ae);if(U===ut&&0===Re.segments.length&&Re.hasChildren())for(const[He,Ct]of Object.entries(Re.children))k[He]=Ct;else(Re.segments.length>0||Re.hasChildren())&&(k[U]=Re)}return function ne(D){if(1===D.numberOfChildren&&D.children[ut]){const k=D.children[ut];return new kt(D.segments.concat(k.segments),k.children)}return D}(new kt(D.segments,k))}function q(D){return D instanceof gt}function We(D){let k;const ae=Q(function M(Re){const He={};for(const vt of Re.children){const mn=M(vt);He[vt.outlet]=mn}const Ct=new kt(Re.url,He);return Re===D&&(k=Ct),Ct}(D.root));return k??ae}function it(D,k,M,U){let ae=D;for(;ae.parent;)ae=ae.parent;if(0===k.length)return Xn(ae,ae,ae,M,U);const Re=function Es(D){if("string"==typeof D[0]&&1===D.length&&"/"===D[0])return new wi(!0,0,D);let k=0,M=!1;const U=D.reduce((ae,Re,He)=>{if("object"==typeof Re&&null!=Re){if(Re.outlets){const Ct={};return Object.entries(Re.outlets).forEach(([vt,mn])=>{Ct[vt]="string"==typeof mn?mn.split("/"):mn}),[...ae,{outlets:Ct}]}if(Re.segmentPath)return[...ae,Re.segmentPath]}return"string"!=typeof Re?[...ae,Re]:0===He?(Re.split("/").forEach((Ct,vt)=>{0==vt&&"."===Ct||(0==vt&&""===Ct?M=!0:".."===Ct?k++:""!=Ct&&ae.push(Ct))}),ae):[...ae,Re]},[]);return new wi(M,k,U)}(k);if(Re.toRoot())return Xn(ae,ae,new kt([],{}),M,U);const He=function zi(D,k,M){if(D.isAbsolute)return new qi(k,!0,0);if(!M)return new qi(k,!1,NaN);if(null===M.parent)return new qi(M,!0,0);const U=Rt(D.commands[0])?0:1;return function Pi(D,k,M){let U=D,ae=k,Re=M;for(;Re>ae;){if(Re-=ae,U=U.parent,!U)throw new e.wOt(4005,!1);ae=U.segments.length}return new qi(U,!1,ae-Re)}(M,M.segments.length-1+U,D.numberOfDoubleDots)}(Re,ae,D),Ct=He.processChildren?Le(He.segmentGroup,He.index,Re.commands):xs(He.segmentGroup,He.index,Re.commands);return Xn(ae,He.segmentGroup,Ct,M,U)}function Rt(D){return"object"==typeof D&&null!=D&&!D.outlets&&!D.segmentPath}function dn(D){return"object"==typeof D&&null!=D&&D.outlets}function Xn(D,k,M,U,ae){let He,Re={};U&&Object.entries(U).forEach(([vt,mn])=>{Re[vt]=Array.isArray(mn)?mn.map(li=>`${li}`):`${mn}`}),He=D===k?M:Mn(D,k,M);const Ct=Q(H(He));return new gt(Ct,Re,ae)}function Mn(D,k,M){const U={};return Object.entries(D.children).forEach(([ae,Re])=>{U[ae]=Re===k?M:Mn(Re,k,M)}),new kt(D.segments,U)}class wi{constructor(k,M,U){if(this.isAbsolute=k,this.numberOfDoubleDots=M,this.commands=U,k&&U.length>0&&Rt(U[0]))throw new e.wOt(4003,!1);const ae=U.find(dn);if(ae&&ae!==Mt(U))throw new e.wOt(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class qi{constructor(k,M,U){this.segmentGroup=k,this.processChildren=M,this.index=U}}function xs(D,k,M){if(D??=new kt([],{}),0===D.segments.length&&D.hasChildren())return Le(D,k,M);const U=function qe(D,k,M){let U=0,ae=k;const Re={match:!1,pathIndex:0,commandIndex:0};for(;ae=M.length)return Re;const He=D.segments[ae],Ct=M[U];if(dn(Ct))break;const vt=`${Ct}`,mn=U0&&void 0===vt)break;if(vt&&mn&&"object"==typeof mn&&void 0===mn.outlets){if(!Zt(vt,mn,He))return Re;U+=2}else{if(!Zt(vt,{},He))return Re;U++}ae++}return{match:!0,pathIndex:ae,commandIndex:U}}(D,k,M),ae=M.slice(U.commandIndex);if(U.match&&U.pathIndexRe!==ut)&&D.children[ut]&&1===D.numberOfChildren&&0===D.children[ut].segments.length){const Re=Le(D.children[ut],k,M);return new kt(D.segments,Re.children)}return Object.entries(U).forEach(([Re,He])=>{"string"==typeof He&&(He=[He]),null!==He&&(ae[Re]=xs(D.children[Re],k,He))}),Object.entries(D.children).forEach(([Re,He])=>{void 0===U[Re]&&(ae[Re]=He)}),new kt(D.segments,ae)}}function Ze(D,k,M){const U=D.segments.slice(0,k);let ae=0;for(;ae{"string"==typeof U&&(U=[U]),null!==U&&(k[M]=Ze(new kt([],{}),0,U))}),k}function Dt(D){const k={};return Object.entries(D).forEach(([M,U])=>k[M]=`${U}`),k}function Zt(D,k,M){return D==M.path&&un(k,M.parameters)}const zt="imperative";var an=function(D){return D[D.NavigationStart=0]="NavigationStart",D[D.NavigationEnd=1]="NavigationEnd",D[D.NavigationCancel=2]="NavigationCancel",D[D.NavigationError=3]="NavigationError",D[D.RoutesRecognized=4]="RoutesRecognized",D[D.ResolveStart=5]="ResolveStart",D[D.ResolveEnd=6]="ResolveEnd",D[D.GuardsCheckStart=7]="GuardsCheckStart",D[D.GuardsCheckEnd=8]="GuardsCheckEnd",D[D.RouteConfigLoadStart=9]="RouteConfigLoadStart",D[D.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",D[D.ChildActivationStart=11]="ChildActivationStart",D[D.ChildActivationEnd=12]="ChildActivationEnd",D[D.ActivationStart=13]="ActivationStart",D[D.ActivationEnd=14]="ActivationEnd",D[D.Scroll=15]="Scroll",D[D.NavigationSkipped=16]="NavigationSkipped",D}(an||{});class Cn{constructor(k,M){this.id=k,this.url=M}}class Ei extends Cn{constructor(k,M,U="imperative",ae=null){super(k,M),this.type=an.NavigationStart,this.navigationTrigger=U,this.restoredState=ae}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class ti extends Cn{constructor(k,M,U){super(k,M),this.urlAfterRedirects=U,this.type=an.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var Un=function(D){return D[D.Redirect=0]="Redirect",D[D.SupersededByNewNavigation=1]="SupersededByNewNavigation",D[D.NoDataFromResolver=2]="NoDataFromResolver",D[D.GuardRejected=3]="GuardRejected",D}(Un||{}),hi=function(D){return D[D.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",D[D.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",D}(hi||{});class Li extends Cn{constructor(k,M,U,ae){super(k,M),this.reason=U,this.code=ae,this.type=an.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Gn extends Cn{constructor(k,M,U,ae){super(k,M),this.reason=U,this.code=ae,this.type=an.NavigationSkipped}}class qn extends Cn{constructor(k,M,U,ae){super(k,M),this.error=U,this.target=ae,this.type=an.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class ri extends Cn{constructor(k,M,U,ae){super(k,M),this.urlAfterRedirects=U,this.state=ae,this.type=an.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ki extends Cn{constructor(k,M,U,ae){super(k,M),this.urlAfterRedirects=U,this.state=ae,this.type=an.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ps extends Cn{constructor(k,M,U,ae,Re){super(k,M),this.urlAfterRedirects=U,this.state=ae,this.shouldActivate=Re,this.type=an.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Xi extends Cn{constructor(k,M,U,ae){super(k,M),this.urlAfterRedirects=U,this.state=ae,this.type=an.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Wi extends Cn{constructor(k,M,U,ae){super(k,M),this.urlAfterRedirects=U,this.state=ae,this.type=an.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class nr{constructor(k){this.route=k,this.type=an.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class js{constructor(k){this.route=k,this.type=an.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class xn{constructor(k){this.snapshot=k,this.type=an.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Bn{constructor(k){this.snapshot=k,this.type=an.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ro{constructor(k){this.snapshot=k,this.type=an.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Hn{constructor(k){this.snapshot=k,this.type=an.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class oo{constructor(k,M,U){this.routerEvent=k,this.position=M,this.anchor=U,this.type=an.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Ma{}class aa{constructor(k){this.url=k}}class ai{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new fr,this.attachRef=null}}let fr=(()=>{class D{constructor(){this.contexts=new Map}onChildOutletCreated(M,U){const ae=this.getOrCreateContext(M);ae.outlet=U,this.contexts.set(M,ae)}onChildOutletDestroyed(M){const U=this.getContext(M);U&&(U.outlet=null,U.attachRef=null)}onOutletDeactivated(){const M=this.contexts;return this.contexts=new Map,M}onOutletReAttached(M){this.contexts=M}getOrCreateContext(M){let U=this.getContext(M);return U||(U=new ai,this.contexts.set(M,U)),U}getContext(M){return this.contexts.get(M)||null}static#e=this.\u0275fac=function(U){return new(U||D)};static#t=this.\u0275prov=e.jDH({token:D,factory:D.\u0275fac,providedIn:"root"})}return D})();class ao{constructor(k){this._root=k}get root(){return this._root.value}parent(k){const M=this.pathFromRoot(k);return M.length>1?M[M.length-2]:null}children(k){const M=Vi(k,this._root);return M?M.children.map(U=>U.value):[]}firstChild(k){const M=Vi(k,this._root);return M&&M.children.length>0?M.children[0].value:null}siblings(k){const M=Is(k,this._root);return M.length<2?[]:M[M.length-2].children.map(ae=>ae.value).filter(ae=>ae!==k)}pathFromRoot(k){return Is(k,this._root).map(M=>M.value)}}function Vi(D,k){if(D===k.value)return k;for(const M of k.children){const U=Vi(D,M);if(U)return U}return null}function Is(D,k){if(D===k.value)return[k];for(const M of k.children){const U=Is(D,M);if(U.length)return U.unshift(k),U}return[]}class Rs{constructor(k,M){this.value=k,this.children=M}toString(){return`TreeNode(${this.value})`}}function ir(D){const k={};return D&&D.children.forEach(M=>k[M.value.outlet]=M),k}class Dr extends ao{constructor(k,M){super(k),this.snapshot=M,sr(this,k)}toString(){return this.snapshot.toString()}}function Fr(D){const k=function Ar(D){const Re=new Br([],{},{},"",{},ut,D,null,{});return new wa("",new Rs(Re,[]))}(D),M=new y.t([new Jt("",{})]),U=new y.t({}),ae=new y.t({}),Re=new y.t({}),He=new y.t(""),Ct=new Yi(M,U,Re,He,ae,ut,D,k.root);return Ct.snapshot=k.root,new Dr(new Rs(Ct,[]),k)}class Yi{constructor(k,M,U,ae,Re,He,Ct,vt){this.urlSubject=k,this.paramsSubject=M,this.queryParamsSubject=U,this.fragmentSubject=ae,this.dataSubject=Re,this.outlet=He,this.component=Ct,this._futureSnapshot=vt,this.title=this.dataSubject?.pipe((0,Y.T)(mn=>mn[mt]))??(0,v.of)(void 0),this.url=k,this.params=M,this.queryParams=U,this.fragment=ae,this.data=Re}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe((0,Y.T)(k=>Vt(k))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,Y.T)(k=>Vt(k))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Co(D,k,M="emptyOnly"){let U;const{routeConfig:ae}=D;return U=null===k||"always"!==M&&""!==ae?.path&&(k.component||k.routeConfig?.loadComponent)?{params:{...D.params},data:{...D.data},resolve:{...D.data,...D._resolvedData??{}}}:{params:{...k.params,...D.params},data:{...k.data,...D.data},resolve:{...D.data,...k.data,...ae?.data,...D._resolvedData}},ae&&os(ae)&&(U.resolve[mt]=ae.title),U}class Br{get title(){return this.data?.[mt]}constructor(k,M,U,ae,Re,He,Ct,vt,mn){this.url=k,this.params=M,this.queryParams=U,this.fragment=ae,this.data=Re,this.outlet=He,this.component=Ct,this.routeConfig=vt,this._resolve=mn}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=Vt(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Vt(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(U=>U.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class wa extends ao{constructor(k,M){super(M),this.url=k,sr(this,M)}toString(){return Ks(this._root)}}function sr(D,k){k.value._routerState=D,k.children.forEach(M=>sr(D,M))}function Ks(D){const k=D.children.length>0?` { ${D.children.map(Ks).join(", ")} } `:"";return`${D.value}${k}`}function Ls(D){if(D.snapshot){const k=D.snapshot,M=D._futureSnapshot;D.snapshot=M,un(k.queryParams,M.queryParams)||D.queryParamsSubject.next(M.queryParams),k.fragment!==M.fragment&&D.fragmentSubject.next(M.fragment),un(k.params,M.params)||D.paramsSubject.next(M.params),function En(D,k){if(D.length!==k.length)return!1;for(let M=0;Mun(M.parameters,k[U].parameters))}(D.url,k.url);return M&&!(!D.parent!=!k.parent)&&(!D.parent||Do(D.parent,k.parent))}function os(D){return"string"==typeof D.title||null===D.title}let co=(()=>{class D{constructor(){this.activated=null,this._activatedRoute=null,this.name=ut,this.activateEvents=new e.bkB,this.deactivateEvents=new e.bkB,this.attachEvents=new e.bkB,this.detachEvents=new e.bkB,this.parentContexts=(0,e.WQX)(fr),this.location=(0,e.WQX)(e.c1b),this.changeDetector=(0,e.WQX)(e.gRc),this.environmentInjector=(0,e.WQX)(e.uvJ),this.inputBinder=(0,e.WQX)(Fs,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(M){if(M.name){const{firstChange:U,previousValue:ae}=M.name;if(U)return;this.isTrackedInParentContexts(ae)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(ae)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(M){return this.parentContexts.getContext(M)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const M=this.parentContexts.getContext(this.name);M?.route&&(M.attachRef?this.attach(M.attachRef,M.route):this.activateWith(M.route,M.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new e.wOt(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new e.wOt(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new e.wOt(4012,!1);this.location.detach();const M=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(M.instance),M}attach(M,U){this.activated=M,this._activatedRoute=U,this.location.insert(M.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(M.instance)}deactivate(){if(this.activated){const M=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(M)}}activateWith(M,U){if(this.isActivated)throw new e.wOt(4013,!1);this._activatedRoute=M;const ae=this.location,He=M.snapshot.component,Ct=this.parentContexts.getOrCreateContext(this.name).children,vt=new $n(M,Ct,ae.injector);this.activated=ae.createComponent(He,{index:ae.length,injector:vt,environmentInjector:U??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(U){return new(U||D)};static#t=this.\u0275dir=e.FsC({type:D,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[e.OA$]})}return D})();class $n{__ngOutletInjector(k){return new $n(this.route,this.childContexts,k)}constructor(k,M,U){this.route=k,this.childContexts=M,this.parent=U}get(k,M){return k===Yi?this.route:k===fr?this.childContexts:this.parent.get(k,M)}}const Fs=new e.nKC("");let Wo=(()=>{class D{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(M){this.unsubscribeFromRouteData(M),this.subscribeToRouteData(M)}unsubscribeFromRouteData(M){this.outletDataSubscriptions.get(M)?.unsubscribe(),this.outletDataSubscriptions.delete(M)}subscribeToRouteData(M){const{activatedRoute:U}=M,ae=(0,R.z)([U.queryParams,U.params,U.data]).pipe((0,re.n)(([Re,He,Ct],vt)=>(Ct={...Re,...He,...Ct},0===vt?(0,v.of)(Ct):Promise.resolve(Ct)))).subscribe(Re=>{if(!M.isActivated||!M.activatedComponentRef||M.activatedRoute!==U||null===U.component)return void this.unsubscribeFromRouteData(M);const He=(0,e.HJs)(U.component);if(He)for(const{templateName:Ct}of He.inputs)M.activatedComponentRef.setInput(Ct,Re[Ct]);else this.unsubscribeFromRouteData(M)});this.outletDataSubscriptions.set(M,ae)}static#e=this.\u0275fac=function(U){return new(U||D)};static#t=this.\u0275prov=e.jDH({token:D,factory:D.\u0275fac})}return D})();function Fi(D,k,M){if(M&&D.shouldReuseRoute(k.value,M.value.snapshot)){const U=M.value;U._futureSnapshot=k.value;const ae=function Ao(D,k,M){return k.children.map(U=>{for(const ae of M.children)if(D.shouldReuseRoute(U.value,ae.value.snapshot))return Fi(D,U,ae);return Fi(D,U)})}(D,k,M);return new Rs(U,ae)}{if(D.shouldAttach(k.value)){const Re=D.retrieve(k.value);if(null!==Re){const He=Re.route;return He.value._futureSnapshot=k.value,He.children=k.children.map(Ct=>Fi(D,Ct)),He}}const U=function ba(D){return new Yi(new y.t(D.url),new y.t(D.params),new y.t(D.queryParams),new y.t(D.fragment),new y.t(D.data),D.outlet,D.component,D)}(k.value),ae=k.children.map(Re=>Fi(D,Re));return new Rs(U,ae)}}const xa="ngNavigationCancelingError";function lo(D,k){const{redirectTo:M,navigationBehaviorOptions:U}=q(k)?{redirectTo:k,navigationBehaviorOptions:void 0}:k,ae=Vo(!1,Un.Redirect);return ae.url=M,ae.navigationBehaviorOptions=U,ae}function Vo(D,k){const M=new Error(`NavigationCancelingError: ${D||""}`);return M[xa]=!0,M.cancellationCode=k,M}function tc(D){return!!D&&D[xa]}let as=(()=>{class D{static#e=this.\u0275fac=function(U){return new(U||D)};static#t=this.\u0275cmp=e.VBU({type:D,selectors:[["ng-component"]],standalone:!0,features:[e.aNF],decls:1,vars:0,template:function(U,ae){1&U&&e.nrm(0,"router-outlet")},dependencies:[co],encapsulation:2})}return D})();function Oo(D){const k=D.children&&D.children.map(Oo),M=k?{...D,children:k}:{...D};return!M.component&&!M.loadComponent&&(k||M.loadChildren)&&M.outlet&&M.outlet!==ut&&(M.component=as),M}function pi(D){return D.outlet||ut}function Cs(D){if(!D)return null;if(D.routeConfig?._injector)return D.routeConfig._injector;for(let k=D.parent;k;k=k.parent){const M=k.routeConfig;if(M?._loadedInjector)return M._loadedInjector;if(M?._injector)return M._injector}return null}class gr{constructor(k,M,U,ae,Re){this.routeReuseStrategy=k,this.futureState=M,this.currState=U,this.forwardEvent=ae,this.inputBindingEnabled=Re}activate(k){const M=this.futureState._root,U=this.currState?this.currState._root:null;this.deactivateChildRoutes(M,U,k),Ls(this.futureState.root),this.activateChildRoutes(M,U,k)}deactivateChildRoutes(k,M,U){const ae=ir(M);k.children.forEach(Re=>{const He=Re.value.outlet;this.deactivateRoutes(Re,ae[He],U),delete ae[He]}),Object.values(ae).forEach(Re=>{this.deactivateRouteAndItsChildren(Re,U)})}deactivateRoutes(k,M,U){const ae=k.value,Re=M?M.value:null;if(ae===Re)if(ae.component){const He=U.getContext(ae.outlet);He&&this.deactivateChildRoutes(k,M,He.children)}else this.deactivateChildRoutes(k,M,U);else Re&&this.deactivateRouteAndItsChildren(M,U)}deactivateRouteAndItsChildren(k,M){k.value.component&&this.routeReuseStrategy.shouldDetach(k.value.snapshot)?this.detachAndStoreRouteSubtree(k,M):this.deactivateRouteAndOutlet(k,M)}detachAndStoreRouteSubtree(k,M){const U=M.getContext(k.value.outlet),ae=U&&k.value.component?U.children:M,Re=ir(k);for(const He of Object.values(Re))this.deactivateRouteAndItsChildren(He,ae);if(U&&U.outlet){const He=U.outlet.detach(),Ct=U.children.onOutletDeactivated();this.routeReuseStrategy.store(k.value.snapshot,{componentRef:He,route:k,contexts:Ct})}}deactivateRouteAndOutlet(k,M){const U=M.getContext(k.value.outlet),ae=U&&k.value.component?U.children:M,Re=ir(k);for(const He of Object.values(Re))this.deactivateRouteAndItsChildren(He,ae);U&&(U.outlet&&(U.outlet.deactivate(),U.children.onOutletDeactivated()),U.attachRef=null,U.route=null)}activateChildRoutes(k,M,U){const ae=ir(M);k.children.forEach(Re=>{this.activateRoutes(Re,ae[Re.value.outlet],U),this.forwardEvent(new Hn(Re.value.snapshot))}),k.children.length&&this.forwardEvent(new Bn(k.value.snapshot))}activateRoutes(k,M,U){const ae=k.value,Re=M?M.value:null;if(Ls(ae),ae===Re)if(ae.component){const He=U.getOrCreateContext(ae.outlet);this.activateChildRoutes(k,M,He.children)}else this.activateChildRoutes(k,M,U);else if(ae.component){const He=U.getOrCreateContext(ae.outlet);if(this.routeReuseStrategy.shouldAttach(ae.snapshot)){const Ct=this.routeReuseStrategy.retrieve(ae.snapshot);this.routeReuseStrategy.store(ae.snapshot,null),He.children.onOutletReAttached(Ct.contexts),He.attachRef=Ct.componentRef,He.route=Ct.route.value,He.outlet&&He.outlet.attach(Ct.componentRef,Ct.route.value),Ls(Ct.route.value),this.activateChildRoutes(k,null,He.children)}else{const Ct=Cs(ae.snapshot);He.attachRef=null,He.route=ae,He.injector=Ct,He.outlet&&He.outlet.activateWith(ae,He.injector),this.activateChildRoutes(k,null,He.children)}}else this.activateChildRoutes(k,null,U)}}class _i{constructor(k){this.path=k,this.route=this.path[this.path.length-1]}}class pr{constructor(k,M){this.component=k,this.route=M}}function Cc(D,k,M){const U=D._root;return Gr(U,k?k._root:null,M,[U.value])}function Bs(D,k){const M=Symbol(),U=k.get(D,M);return U===M?"function"!=typeof D||(0,e.LfX)(D)?k.get(D):D:U}function Gr(D,k,M,U,ae={canDeactivateChecks:[],canActivateChecks:[]}){const Re=ir(k);return D.children.forEach(He=>{(function or(D,k,M,U,ae={canDeactivateChecks:[],canActivateChecks:[]}){const Re=D.value,He=k?k.value:null,Ct=M?M.getContext(D.value.outlet):null;if(He&&Re.routeConfig===He.routeConfig){const vt=function Sr(D,k,M){if("function"==typeof M)return M(D,k);switch(M){case"pathParamsChange":return!nn(D.url,k.url);case"pathParamsOrQueryParamsChange":return!nn(D.url,k.url)||!un(D.queryParams,k.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Do(D,k)||!un(D.queryParams,k.queryParams);default:return!Do(D,k)}}(He,Re,Re.routeConfig.runGuardsAndResolvers);vt?ae.canActivateChecks.push(new _i(U)):(Re.data=He.data,Re._resolvedData=He._resolvedData),Gr(D,k,Re.component?Ct?Ct.children:null:M,U,ae),vt&&Ct&&Ct.outlet&&Ct.outlet.isActivated&&ae.canDeactivateChecks.push(new pr(Ct.outlet.component,He))}else He&&Ko(k,Ct,ae),ae.canActivateChecks.push(new _i(U)),Gr(D,null,Re.component?Ct?Ct.children:null:M,U,ae)})(He,Re[He.value.outlet],M,U.concat([He.value]),ae),delete Re[He.value.outlet]}),Object.entries(Re).forEach(([He,Ct])=>Ko(Ct,M.getContext(He),ae)),ae}function Ko(D,k,M){const U=ir(D),ae=D.value;Object.entries(U).forEach(([Re,He])=>{Ko(He,ae.component?k?k.children.getContext(Re):null:k,M)}),M.canDeactivateChecks.push(new pr(ae.component&&k&&k.outlet&&k.outlet.isActivated?k.outlet.component:null,ae))}function Wr(D){return"function"==typeof D}function To(D){return D instanceof T.G||"EmptyError"===D?.name}const _r=Symbol("INITIAL_VALUE");function ho(){return(0,re.n)(D=>(0,R.z)(D.map(k=>k.pipe((0,ve.s)(1),(0,le.Z)(_r)))).pipe((0,Y.T)(k=>{for(const M of k)if(!0!==M){if(M===_r)return _r;if(!1===M||M instanceof gt)return M}return!0}),(0,Ee.p)(k=>k!==_r),(0,ve.s)(1)))}function Dc(D){return(0,C.F)((0,J.M)(k=>{if(q(k))throw lo(0,k)}),(0,Y.T)(k=>!0===k))}class pn{constructor(k){this.segmentGroup=k||null}}class Wt extends Error{constructor(k){super(),this.urlTree=k}}function Qn(D){return(0,x.$)(new pn(D))}class No{constructor(k,M){this.urlSerializer=k,this.urlTree=M}lineralizeSegments(k,M){let U=[],ae=M.root;for(;;){if(U=U.concat(ae.segments),0===ae.numberOfChildren)return(0,v.of)(U);if(ae.numberOfChildren>1||!ae.children[ut])return(0,x.$)(new e.wOt(4e3,!1));ae=ae.children[ut]}}applyRedirectCommands(k,M,U){const ae=this.applyRedirectCreateUrlTree(M,this.urlSerializer.parse(M),k,U);if(M.startsWith("/"))throw new Wt(ae);return ae}applyRedirectCreateUrlTree(k,M,U,ae){const Re=this.createSegmentGroup(k,M.root,U,ae);return new gt(Re,this.createQueryParams(M.queryParams,this.urlTree.queryParams),M.fragment)}createQueryParams(k,M){const U={};return Object.entries(k).forEach(([ae,Re])=>{if("string"==typeof Re&&Re.startsWith(":")){const Ct=Re.substring(1);U[ae]=M[Ct]}else U[ae]=Re}),U}createSegmentGroup(k,M,U,ae){const Re=this.createSegments(k,M.segments,U,ae);let He={};return Object.entries(M.children).forEach(([Ct,vt])=>{He[Ct]=this.createSegmentGroup(k,vt,U,ae)}),new kt(Re,He)}createSegments(k,M,U,ae){return M.map(Re=>Re.path.startsWith(":")?this.findPosParam(k,Re,ae):this.findOrReturn(Re,U))}findPosParam(k,M,U){const ae=U[M.path.substring(1)];if(!ae)throw new e.wOt(4001,!1);return ae}findOrReturn(k,M){let U=0;for(const ae of M){if(ae.path===k.path)return M.splice(U),ae;U++}return k}}const In={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function vi(D,k,M,U,ae){const Re=Bi(D,k,M);return Re.matched?(U=function Ro(D,k){return D.providers&&!D._injector&&(D._injector=(0,e.Ol2)(D.providers,k,`Route: ${D.path}`)),D._injector??k}(k,U),function fo(D,k,M,U){const ae=k.canMatch;if(!ae||0===ae.length)return(0,v.of)(!0);const Re=ae.map(He=>{const Ct=Bs(He,D);return Bt(function Vr(D){return D&&Wr(D.canMatch)}(Ct)?Ct.canMatch(k,M):(0,e.N4e)(D,()=>Ct(k,M)))});return(0,v.of)(Re).pipe(ho(),Dc())}(U,k,M).pipe((0,Y.T)(He=>!0===He?Re:{...In}))):(0,v.of)(Re)}function Bi(D,k,M){if("**"===k.path)return function Os(D){return{matched:!0,parameters:D.length>0?Mt(D).parameters:{},consumedSegments:D,remainingSegments:[],positionalParamSegments:{}}}(M);if(""===k.path)return"full"===k.pathMatch&&(D.hasChildren()||M.length>0)?{...In}:{matched:!0,consumedSegments:[],remainingSegments:M,parameters:{},positionalParamSegments:{}};const ae=(k.matcher||rn)(M,D,k);if(!ae)return{...In};const Re={};Object.entries(ae.posParams??{}).forEach(([Ct,vt])=>{Re[Ct]=vt.path});const He=ae.consumed.length>0?{...Re,...ae.consumed[ae.consumed.length-1].parameters}:Re;return{matched:!0,consumedSegments:ae.consumed,remainingSegments:M.slice(ae.consumed.length),parameters:He,positionalParamSegments:ae.posParams??{}}}function ki(D,k,M,U){return M.length>0&&function cr(D,k,M){return M.some(U=>As(D,k,U)&&pi(U)!==ut)}(D,M,U)?{segmentGroup:new kt(k,Ds(U,new kt(M,D.children))),slicedSegments:[]}:0===M.length&&function Us(D,k,M){return M.some(U=>As(D,k,U))}(D,M,U)?{segmentGroup:new kt(D.segments,Sn(D,M,U,D.children)),slicedSegments:M}:{segmentGroup:new kt(D.segments,D.children),slicedSegments:M}}function Sn(D,k,M,U){const ae={};for(const Re of M)if(As(D,k,Re)&&!U[pi(Re)]){const He=new kt([],{});ae[pi(Re)]=He}return{...U,...ae}}function Ds(D,k){const M={};M[ut]=k;for(const U of D)if(""===U.path&&pi(U)!==ut){const ae=new kt([],{});M[pi(U)]=ae}return M}function As(D,k,M){return(!(D.hasChildren()||k.length>0)||"full"!==M.pathMatch)&&""===M.path}class jr{}class Kr{constructor(k,M,U,ae,Re,He,Ct){this.injector=k,this.configLoader=M,this.rootComponentType=U,this.config=ae,this.urlTree=Re,this.paramsInheritanceStrategy=He,this.urlSerializer=Ct,this.applyRedirects=new No(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(k){return new e.wOt(4002,`'${k.segmentGroup}'`)}recognize(){const k=ki(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(k).pipe((0,Y.T)(M=>{const U=new Br([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},ut,this.rootComponentType,null,{}),ae=new Rs(U,M),Re=new wa("",ae),He=function fe(D,k,M=null,U=null){return it(We(D),k,M,U)}(U,[],this.urlTree.queryParams,this.urlTree.fragment);return He.queryParams=this.urlTree.queryParams,Re.url=this.urlSerializer.serialize(He),this.inheritParamsAndData(Re._root,null),{state:Re,tree:He}}))}match(k){return this.processSegmentGroup(this.injector,this.config,k,ut).pipe((0,$.W)(U=>{if(U instanceof Wt)return this.urlTree=U.urlTree,this.match(U.urlTree.root);throw U instanceof pn?this.noMatchError(U):U}))}inheritParamsAndData(k,M){const U=k.value,ae=Co(U,M,this.paramsInheritanceStrategy);U.params=Object.freeze(ae.params),U.data=Object.freeze(ae.data),k.children.forEach(Re=>this.inheritParamsAndData(Re,U))}processSegmentGroup(k,M,U,ae){return 0===U.segments.length&&U.hasChildren()?this.processChildren(k,M,U):this.processSegment(k,M,U,U.segments,ae,!0).pipe((0,Y.T)(Re=>Re instanceof Rs?[Re]:[]))}processChildren(k,M,U){const ae=[];for(const Re of Object.keys(U.children))"primary"===Re?ae.unshift(Re):ae.push(Re);return(0,c.H)(ae).pipe((0,te.H)(Re=>{const He=U.children[Re],Ct=function la(D,k){const M=D.filter(U=>pi(U)===k);return M.push(...D.filter(U=>pi(U)!==k)),M}(M,Re);return this.processSegmentGroup(k,Ct,He,Re)}),(0,ce.S)((Re,He)=>(Re.push(...He),Re)),(0,ue.U)(null),function at(D,k){const M=arguments.length>=2;return U=>U.pipe(D?(0,Ee.p)((ae,Re)=>D(ae,Re,U)):dt.D,Ge(1),M?(0,ue.U)(k):(0,Ve.v)(()=>new T.G))}(),(0,F.Z)(Re=>{if(null===Re)return Qn(U);const He=ts(Re);return function Pn(D){D.sort((k,M)=>k.value.outlet===ut?-1:M.value.outlet===ut?1:k.value.outlet.localeCompare(M.value.outlet))}(He),(0,v.of)(He)}))}processSegment(k,M,U,ae,Re,He){return(0,c.H)(M).pipe((0,te.H)(Ct=>this.processSegmentAgainstRoute(Ct._injector??k,M,Ct,U,ae,Re,He).pipe((0,$.W)(vt=>{if(vt instanceof pn)return(0,v.of)(null);throw vt}))),(0,j.$)(Ct=>!!Ct),(0,$.W)(Ct=>{if(To(Ct))return function yr(D,k,M){return 0===k.length&&!D.children[M]}(U,ae,Re)?(0,v.of)(new jr):Qn(U);throw Ct}))}processSegmentAgainstRoute(k,M,U,ae,Re,He,Ct){return function Hr(D,k,M,U){return!!(pi(D)===U||U!==ut&&As(k,M,D))&&Bi(k,D,M).matched}(U,ae,Re,He)?void 0===U.redirectTo?this.matchSegmentAgainstRoute(k,ae,U,Re,He):this.allowRedirects&&Ct?this.expandSegmentAgainstRouteUsingRedirect(k,ae,M,U,Re,He):Qn(ae):Qn(ae)}expandSegmentAgainstRouteUsingRedirect(k,M,U,ae,Re,He){const{matched:Ct,consumedSegments:vt,positionalParamSegments:mn,remainingSegments:li}=Bi(M,ae,Re);if(!Ct)return Qn(M);ae.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const di=this.applyRedirects.applyRedirectCommands(vt,ae.redirectTo,mn);return this.applyRedirects.lineralizeSegments(ae,di).pipe((0,F.Z)(vs=>this.processSegment(k,U,M,vs.concat(li),He,!1)))}matchSegmentAgainstRoute(k,M,U,ae,Re){const He=vi(M,U,ae,k);return"**"===U.path&&(M.children={}),He.pipe((0,re.n)(Ct=>Ct.matched?this.getChildConfig(k=U._injector??k,U,ae).pipe((0,re.n)(({routes:vt})=>{const mn=U._loadedInjector??k,{consumedSegments:li,remainingSegments:di,parameters:vs}=Ct,Sc=new Br(li,vs,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function ds(D){return D.data||{}}(U),pi(U),U.component??U._loadedComponent??null,U,function hs(D){return D.resolve||{}}(U)),{segmentGroup:Rc,slicedSegments:Oc}=ki(M,li,di,vt);if(0===Oc.length&&Rc.hasChildren())return this.processChildren(mn,vt,Rc).pipe((0,Y.T)(zo=>null===zo?null:new Rs(Sc,zo)));if(0===vt.length&&0===Oc.length)return(0,v.of)(new Rs(Sc,[]));const rl=pi(U)===Re;return this.processSegment(mn,vt,Rc,Oc,rl?ut:Re,!0).pipe((0,Y.T)(zo=>new Rs(Sc,zo instanceof Rs?[zo]:[])))})):Qn(M)))}getChildConfig(k,M,U){return M.children?(0,v.of)({routes:M.children,injector:k}):M.loadChildren?void 0!==M._loadedRoutes?(0,v.of)({routes:M._loadedRoutes,injector:M._loadedInjector}):function nl(D,k,M,U){const ae=k.canLoad;if(void 0===ae||0===ae.length)return(0,v.of)(!0);const Re=ae.map(He=>{const Ct=Bs(He,D);return Bt(function tl(D){return D&&Wr(D.canLoad)}(Ct)?Ct.canLoad(k,M):(0,e.N4e)(D,()=>Ct(k,M)))});return(0,v.of)(Re).pipe(ho(),Dc())}(k,M,U).pipe((0,F.Z)(ae=>ae?this.configLoader.loadChildren(k,M).pipe((0,J.M)(Re=>{M._loadedRoutes=Re.routes,M._loadedInjector=Re.injector})):function Oi(D){return(0,x.$)(Vo(!1,Un.GuardRejected))}())):(0,v.of)({routes:[],injector:k})}}function es(D){const k=D.value.routeConfig;return k&&""===k.path}function ts(D){const k=[],M=new Set;for(const U of D){if(!es(U)){k.push(U);continue}const ae=k.find(Re=>U.value.routeConfig===Re.value.routeConfig);void 0!==ae?(ae.children.push(...U.children),M.add(ae)):k.push(U)}for(const U of M){const ae=ts(U.children);k.push(new Rs(U.value,ae))}return k.filter(U=>!M.has(U))}function Xs(D){const k=D.children.map(M=>Xs(M)).flat();return[D,...k]}function Ss(D){return(0,re.n)(k=>{const M=D(k);return M?(0,c.H)(M).pipe((0,Y.T)(()=>k)):(0,v.of)(k)})}let Xr=(()=>{class D{buildTitle(M){let U,ae=M.root;for(;void 0!==ae;)U=this.getResolvedTitleForRoute(ae)??U,ae=ae.children.find(Re=>Re.outlet===ut);return U}getResolvedTitleForRoute(M){return M.data[mt]}static#e=this.\u0275fac=function(U){return new(U||D)};static#t=this.\u0275prov=e.jDH({token:D,factory:()=>(0,e.WQX)(ha),providedIn:"root"})}return D})(),ha=(()=>{class D extends Xr{constructor(M){super(),this.title=M}updateTitle(M){const U=this.buildTitle(M);void 0!==U&&this.title.setTitle(U)}static#e=this.\u0275fac=function(U){return new(U||D)(e.KVO(Ye.hE))};static#t=this.\u0275prov=e.jDH({token:D,factory:D.\u0275fac,providedIn:"root"})}return D})();const Yr=new e.nKC("",{providedIn:"root",factory:()=>({})}),xi=new e.nKC("");let zr=(()=>{class D{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,e.WQX)(e.Ql9)}loadComponent(M){if(this.componentLoaders.get(M))return this.componentLoaders.get(M);if(M._loadedComponent)return(0,v.of)(M._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(M);const U=Bt(M.loadComponent()).pipe((0,Y.T)(rc),(0,J.M)(Re=>{this.onLoadEndListener&&this.onLoadEndListener(M),M._loadedComponent=Re}),(0,Oe.j)(()=>{this.componentLoaders.delete(M)})),ae=new B.G(U,()=>new W.B).pipe((0,we.B)());return this.componentLoaders.set(M,ae),ae}loadChildren(M,U){if(this.childrenLoaders.get(U))return this.childrenLoaders.get(U);if(U._loadedRoutes)return(0,v.of)({routes:U._loadedRoutes,injector:U._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(U);const Re=function Mr(D,k,M,U){return Bt(D.loadChildren()).pipe((0,Y.T)(rc),(0,F.Z)(ae=>ae instanceof e.Co$||Array.isArray(ae)?(0,v.of)(ae):(0,c.H)(k.compileModuleAsync(ae))),(0,Y.T)(ae=>{U&&U(D);let Re,He,Ct=!1;return Array.isArray(ae)?(He=ae,!0):(Re=ae.create(M).injector,He=Re.get(xi,[],{optional:!0,self:!0}).flat()),{routes:He.map(Oo),injector:Re}}))}(U,this.compiler,M,this.onLoadEndListener).pipe((0,Oe.j)(()=>{this.childrenLoaders.delete(U)})),He=new B.G(Re,()=>new W.B).pipe((0,we.B)());return this.childrenLoaders.set(U,He),He}static#e=this.\u0275fac=function(U){return new(U||D)};static#t=this.\u0275prov=e.jDH({token:D,factory:D.\u0275fac,providedIn:"root"})}return D})();function rc(D){return function ka(D){return D&&"object"==typeof D&&"default"in D}(D)?D.default:D}let lr=(()=>{class D{static#e=this.\u0275fac=function(U){return new(U||D)};static#t=this.\u0275prov=e.jDH({token:D,factory:()=>(0,e.WQX)(ns),providedIn:"root"})}return D})(),ns=(()=>{class D{shouldProcessUrl(M){return!0}extract(M){return M}merge(M,U){return M}static#e=this.\u0275fac=function(U){return new(U||D)};static#t=this.\u0275prov=e.jDH({token:D,factory:D.\u0275fac,providedIn:"root"})}return D})();const It=new e.nKC(""),Yo=new e.nKC("");function xo(D,k,M){const U=D.get(Yo),ae=D.get(se.qQ);return D.get(e.SKi).runOutsideAngular(()=>{if(!ae.startViewTransition||U.skipNextTransition)return U.skipNextTransition=!1,new Promise(mn=>setTimeout(mn));let Re;const He=new Promise(mn=>{Re=mn}),Ct=ae.startViewTransition(()=>(Re(),function b(D){return new Promise(k=>{(0,e.mal)(k,{injector:D})})}(D))),{onViewTransitionCreated:vt}=U;return vt&&(0,e.N4e)(D,()=>vt({transition:Ct,from:k,to:M})),He})}let ge=(()=>{class D{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new W.B,this.transitionAbortSubject=new W.B,this.configLoader=(0,e.WQX)(zr),this.environmentInjector=(0,e.WQX)(e.uvJ),this.urlSerializer=(0,e.WQX)(Ht),this.rootContexts=(0,e.WQX)(fr),this.location=(0,e.WQX)(se.aZ),this.inputBindingEnabled=null!==(0,e.WQX)(Fs,{optional:!0}),this.titleStrategy=(0,e.WQX)(Xr),this.options=(0,e.WQX)(Yr,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,e.WQX)(lr),this.createViewTransition=(0,e.WQX)(It,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,v.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=ae=>this.events.next(new js(ae)),this.configLoader.onLoadStartListener=ae=>this.events.next(new nr(ae))}complete(){this.transitions?.complete()}handleNavigationRequest(M){const U=++this.navigationId;this.transitions?.next({...this.transitions.value,...M,id:U})}setupNavigations(M,U,ae){return this.transitions=new y.t({id:0,currentUrlTree:U,currentRawUrl:U,extractedUrl:this.urlHandlingStrategy.extract(U),urlAfterRedirects:this.urlHandlingStrategy.extract(U),rawUrl:U,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:zt,restoredState:null,currentSnapshot:ae.snapshot,targetSnapshot:null,currentRouterState:ae,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,Ee.p)(Re=>0!==Re.id),(0,Y.T)(Re=>({...Re,extractedUrl:this.urlHandlingStrategy.extract(Re.rawUrl)})),(0,re.n)(Re=>{let He=!1,Ct=!1;return(0,v.of)(Re).pipe((0,re.n)(vt=>{if(this.navigationId>Re.id)return this.cancelNavigationTransition(Re,"",Un.SupersededByNewNavigation),P.w;this.currentTransition=Re,this.currentNavigation={id:vt.id,initialUrl:vt.rawUrl,extractedUrl:vt.extractedUrl,trigger:vt.source,extras:vt.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};const mn=!M.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!mn&&"reload"!==(vt.extras.onSameUrlNavigation??M.onSameUrlNavigation)){const di="";return this.events.next(new Gn(vt.id,this.urlSerializer.serialize(vt.rawUrl),di,hi.IgnoredSameUrlNavigation)),vt.resolve(null),P.w}if(this.urlHandlingStrategy.shouldProcessUrl(vt.rawUrl))return(0,v.of)(vt).pipe((0,re.n)(di=>{const vs=this.transitions?.getValue();return this.events.next(new Ei(di.id,this.urlSerializer.serialize(di.extractedUrl),di.source,di.restoredState)),vs!==this.transitions?.getValue()?P.w:Promise.resolve(di)}),function Gs(D,k,M,U,ae,Re){return(0,F.Z)(He=>function wo(D,k,M,U,ae,Re,He="emptyOnly"){return new Kr(D,k,M,U,ae,He,Re).recognize()}(D,k,M,U,He.extractedUrl,ae,Re).pipe((0,Y.T)(({state:Ct,tree:vt})=>({...He,targetSnapshot:Ct,urlAfterRedirects:vt}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,M.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,J.M)(di=>{Re.targetSnapshot=di.targetSnapshot,Re.urlAfterRedirects=di.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:di.urlAfterRedirects};const vs=new ri(di.id,this.urlSerializer.serialize(di.extractedUrl),this.urlSerializer.serialize(di.urlAfterRedirects),di.targetSnapshot);this.events.next(vs)}));if(mn&&this.urlHandlingStrategy.shouldProcessUrl(vt.currentRawUrl)){const{id:di,extractedUrl:vs,source:Sc,restoredState:Rc,extras:Oc}=vt,rl=new Ei(di,this.urlSerializer.serialize(vs),Sc,Rc);this.events.next(rl);const zo=Fr(this.rootComponentType).snapshot;return this.currentTransition=Re={...vt,targetSnapshot:zo,urlAfterRedirects:vs,extras:{...Oc,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=vs,(0,v.of)(Re)}{const di="";return this.events.next(new Gn(vt.id,this.urlSerializer.serialize(vt.extractedUrl),di,hi.IgnoredByUrlHandlingStrategy)),vt.resolve(null),P.w}}),(0,J.M)(vt=>{const mn=new Ki(vt.id,this.urlSerializer.serialize(vt.extractedUrl),this.urlSerializer.serialize(vt.urlAfterRedirects),vt.targetSnapshot);this.events.next(mn)}),(0,Y.T)(vt=>(this.currentTransition=Re={...vt,guards:Cc(vt.targetSnapshot,vt.currentSnapshot,this.rootContexts)},Re)),function ks(D,k){return(0,F.Z)(M=>{const{targetSnapshot:U,currentSnapshot:ae,guards:{canActivateChecks:Re,canDeactivateChecks:He}}=M;return 0===He.length&&0===Re.length?(0,v.of)({...M,guardsResult:!0}):function ic(D,k,M,U){return(0,c.H)(D).pipe((0,F.Z)(ae=>function Ba(D,k,M,U,ae){const Re=k&&k.routeConfig?k.routeConfig.canDeactivate:null;if(!Re||0===Re.length)return(0,v.of)(!0);const He=Re.map(Ct=>{const vt=Cs(k)??ae,mn=Bs(Ct,vt);return Bt(function ar(D){return D&&Wr(D.canDeactivate)}(mn)?mn.canDeactivate(D,k,M,U):(0,e.N4e)(vt,()=>mn(D,k,M,U))).pipe((0,j.$)())});return(0,v.of)(He).pipe(ho())}(ae.component,ae.route,M,k,U)),(0,j.$)(ae=>!0!==ae,!0))}(He,U,ae,D).pipe((0,F.Z)(Ct=>Ct&&function Pa(D){return"boolean"==typeof D}(Ct)?function Rr(D,k,M,U){return(0,c.H)(k).pipe((0,te.H)(ae=>(0,A.x)(function $r(D,k){return null!==D&&k&&k(new xn(D)),(0,v.of)(!0)}(ae.route.parent,U),function Or(D,k){return null!==D&&k&&k(new ro(D)),(0,v.of)(!0)}(ae.route,U),function Fa(D,k,M){const U=k[k.length-1],Re=k.slice(0,k.length-1).reverse().map(He=>function ua(D){const k=D.routeConfig?D.routeConfig.canActivateChild:null;return k&&0!==k.length?{node:D,guards:k}:null}(He)).filter(He=>null!==He).map(He=>(0,S.v)(()=>{const Ct=He.guards.map(vt=>{const mn=Cs(He.node)??M,li=Bs(vt,mn);return Bt(function uo(D){return D&&Wr(D.canActivateChild)}(li)?li.canActivateChild(U,D):(0,e.N4e)(mn,()=>li(U,D))).pipe((0,j.$)())});return(0,v.of)(Ct).pipe(ho())}));return(0,v.of)(Re).pipe(ho())}(D,ae.path,M),function mi(D,k,M){const U=k.routeConfig?k.routeConfig.canActivate:null;if(!U||0===U.length)return(0,v.of)(!0);const ae=U.map(Re=>(0,S.v)(()=>{const He=Cs(k)??M,Ct=Bs(Re,He);return Bt(function La(D){return D&&Wr(D.canActivate)}(Ct)?Ct.canActivate(k,D):(0,e.N4e)(He,()=>Ct(k,D))).pipe((0,j.$)())}));return(0,v.of)(ae).pipe(ho())}(D,ae.route,M))),(0,j.$)(ae=>!0!==ae,!0))}(U,Re,D,k):(0,v.of)(Ct)),(0,Y.T)(Ct=>({...M,guardsResult:Ct})))})}(this.environmentInjector,vt=>this.events.next(vt)),(0,J.M)(vt=>{if(Re.guardsResult=vt.guardsResult,q(vt.guardsResult))throw lo(0,vt.guardsResult);const mn=new Ps(vt.id,this.urlSerializer.serialize(vt.extractedUrl),this.urlSerializer.serialize(vt.urlAfterRedirects),vt.targetSnapshot,!!vt.guardsResult);this.events.next(mn)}),(0,Ee.p)(vt=>!!vt.guardsResult||(this.cancelNavigationTransition(vt,"",Un.GuardRejected),!1)),Ss(vt=>{if(vt.guards.canActivateChecks.length)return(0,v.of)(vt).pipe((0,J.M)(mn=>{const li=new Xi(mn.id,this.urlSerializer.serialize(mn.extractedUrl),this.urlSerializer.serialize(mn.urlAfterRedirects),mn.targetSnapshot);this.events.next(li)}),(0,re.n)(mn=>{let li=!1;return(0,v.of)(mn).pipe(function ms(D,k){return(0,F.Z)(M=>{const{targetSnapshot:U,guards:{canActivateChecks:ae}}=M;if(!ae.length)return(0,v.of)(M);const Re=new Set(ae.map(vt=>vt.route)),He=new Set;for(const vt of Re)if(!He.has(vt))for(const mn of Xs(vt))He.add(mn);let Ct=0;return(0,c.H)(He).pipe((0,te.H)(vt=>Re.has(vt)?function sc(D,k,M,U){const ae=D.routeConfig,Re=D._resolve;return void 0!==ae?.title&&!os(ae)&&(Re[mt]=ae.title),function bo(D,k,M,U){const ae=wn(D);if(0===ae.length)return(0,v.of)({});const Re={};return(0,c.H)(ae).pipe((0,F.Z)(He=>function Tr(D,k,M,U){const ae=Cs(k)??U,Re=Bs(D,ae);return Bt(Re.resolve?Re.resolve(k,M):(0,e.N4e)(ae,()=>Re(k,M)))}(D[He],k,M,U).pipe((0,j.$)(),(0,J.M)(Ct=>{Re[He]=Ct}))),Ge(1),(0,ye.u)(Re),(0,$.W)(He=>To(He)?P.w:(0,x.$)(He)))}(Re,D,k,U).pipe((0,Y.T)(He=>(D._resolvedData=He,D.data=Co(D,D.parent,M).resolve,null)))}(vt,U,D,k):(vt.data=Co(vt,vt.parent,D).resolve,(0,v.of)(void 0))),(0,J.M)(()=>Ct++),Ge(1),(0,F.Z)(vt=>Ct===He.size?(0,v.of)(M):P.w))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,J.M)({next:()=>li=!0,complete:()=>{li||this.cancelNavigationTransition(mn,"",Un.NoDataFromResolver)}}))}),(0,J.M)(mn=>{const li=new Wi(mn.id,this.urlSerializer.serialize(mn.extractedUrl),this.urlSerializer.serialize(mn.urlAfterRedirects),mn.targetSnapshot);this.events.next(li)}))}),Ss(vt=>{const mn=li=>{const di=[];li.routeConfig?.loadComponent&&!li.routeConfig._loadedComponent&&di.push(this.configLoader.loadComponent(li.routeConfig).pipe((0,J.M)(vs=>{li.component=vs}),(0,Y.T)(()=>{})));for(const vs of li.children)di.push(...mn(vs));return di};return(0,R.z)(mn(vt.targetSnapshot.root)).pipe((0,ue.U)(null),(0,ve.s)(1))}),Ss(()=>this.afterPreactivation()),(0,re.n)(()=>{const{currentSnapshot:vt,targetSnapshot:mn}=Re,li=this.createViewTransition?.(this.environmentInjector,vt.root,mn.root);return li?(0,c.H)(li).pipe((0,Y.T)(()=>Re)):(0,v.of)(Re)}),(0,Y.T)(vt=>{const mn=function kr(D,k,M){const U=Fi(D,k._root,M?M._root:void 0);return new Dr(U,k)}(M.routeReuseStrategy,vt.targetSnapshot,vt.currentRouterState);return this.currentTransition=Re={...vt,targetRouterState:mn},this.currentNavigation.targetRouterState=mn,Re}),(0,J.M)(()=>{this.events.next(new Ma)}),((D,k,M,U)=>(0,Y.T)(ae=>(new gr(k,ae.targetRouterState,ae.currentRouterState,M,U).activate(D),ae)))(this.rootContexts,M.routeReuseStrategy,vt=>this.events.next(vt),this.inputBindingEnabled),(0,ve.s)(1),(0,J.M)({next:vt=>{He=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new ti(vt.id,this.urlSerializer.serialize(vt.extractedUrl),this.urlSerializer.serialize(vt.urlAfterRedirects))),this.titleStrategy?.updateTitle(vt.targetRouterState.snapshot),vt.resolve(!0)},complete:()=>{He=!0}}),(0,Ce.Q)(this.transitionAbortSubject.pipe((0,J.M)(vt=>{throw vt}))),(0,Oe.j)(()=>{!He&&!Ct&&this.cancelNavigationTransition(Re,"",Un.SupersededByNewNavigation),this.currentTransition?.id===Re.id&&(this.currentNavigation=null,this.currentTransition=null)}),(0,$.W)(vt=>{if(Ct=!0,tc(vt))this.events.next(new Li(Re.id,this.urlSerializer.serialize(Re.extractedUrl),vt.message,vt.cancellationCode)),function So(D){return tc(D)&&q(D.url)}(vt)?this.events.next(new aa(vt.url)):Re.resolve(!1);else{this.events.next(new qn(Re.id,this.urlSerializer.serialize(Re.extractedUrl),vt,Re.targetSnapshot??void 0));try{Re.resolve(M.errorHandler(vt))}catch(mn){this.options.resolveNavigationPromiseOnError?Re.resolve(!1):Re.reject(mn)}}return P.w}))}))}cancelNavigationTransition(M,U,ae){const Re=new Li(M.id,this.urlSerializer.serialize(M.extractedUrl),U,ae);this.events.next(Re),M.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}static#e=this.\u0275fac=function(U){return new(U||D)};static#t=this.\u0275prov=e.jDH({token:D,factory:D.\u0275fac,providedIn:"root"})}return D})();function z(D){return D!==zt}let oe=(()=>{class D{static#e=this.\u0275fac=function(U){return new(U||D)};static#t=this.\u0275prov=e.jDH({token:D,factory:()=>(0,e.WQX)(Et),providedIn:"root"})}return D})();class Se{shouldDetach(k){return!1}store(k,M){}shouldAttach(k){return!1}retrieve(k){return null}shouldReuseRoute(k,M){return k.routeConfig===M.routeConfig}}let Et=(()=>{class D extends Se{static#e=this.\u0275fac=(()=>{let M;return function(ae){return(M||(M=e.xGo(D)))(ae||D)}})();static#t=this.\u0275prov=e.jDH({token:D,factory:D.\u0275fac,providedIn:"root"})}return D})(),De=(()=>{class D{static#e=this.\u0275fac=function(U){return new(U||D)};static#t=this.\u0275prov=e.jDH({token:D,factory:()=>(0,e.WQX)(m),providedIn:"root"})}return D})(),m=(()=>{class D extends De{constructor(){super(...arguments),this.location=(0,e.WQX)(se.aZ),this.urlSerializer=(0,e.WQX)(Ht),this.options=(0,e.WQX)(Yr,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,e.WQX)(lr),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new gt,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Fr(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(M){return this.location.subscribe(U=>{"popstate"===U.type&&M(U.url,U.state)})}handleRouterEvent(M,U){if(M instanceof Ei)this.stateMemento=this.createStateMemento();else if(M instanceof Gn)this.rawUrlTree=U.initialUrl;else if(M instanceof ri){if("eager"===this.urlUpdateStrategy&&!U.extras.skipLocationChange){const ae=this.urlHandlingStrategy.merge(U.finalUrl,U.initialUrl);this.setBrowserUrl(ae,U)}}else M instanceof Ma?(this.currentUrlTree=U.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(U.finalUrl,U.initialUrl),this.routerState=U.targetRouterState,"deferred"===this.urlUpdateStrategy&&(U.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,U))):M instanceof Li&&(M.code===Un.GuardRejected||M.code===Un.NoDataFromResolver)?this.restoreHistory(U):M instanceof qn?this.restoreHistory(U,!0):M instanceof ti&&(this.lastSuccessfulId=M.id,this.currentPageId=this.browserPageId)}setBrowserUrl(M,U){const ae=this.urlSerializer.serialize(M);if(this.location.isCurrentPathEqualTo(ae)||U.extras.replaceUrl){const He={...U.extras.state,...this.generateNgRouterState(U.id,this.browserPageId)};this.location.replaceState(ae,"",He)}else{const Re={...U.extras.state,...this.generateNgRouterState(U.id,this.browserPageId+1)};this.location.go(ae,"",Re)}}restoreHistory(M,U=!1){if("computed"===this.canceledNavigationResolution){const Re=this.currentPageId-this.browserPageId;0!==Re?this.location.historyGo(Re):this.currentUrlTree===M.finalUrl&&0===Re&&(this.resetState(M),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(U&&this.resetState(M),this.resetUrlToCurrentUrlTree())}resetState(M){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,M.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(M,U){return"computed"===this.canceledNavigationResolution?{navigationId:M,\u0275routerPageId:U}:{navigationId:M}}static#e=this.\u0275fac=(()=>{let M;return function(ae){return(M||(M=e.xGo(D)))(ae||D)}})();static#t=this.\u0275prov=e.jDH({token:D,factory:D.\u0275fac,providedIn:"root"})}return D})();var O=function(D){return D[D.COMPLETE=0]="COMPLETE",D[D.FAILED=1]="FAILED",D[D.REDIRECTING=2]="REDIRECTING",D}(O||{});function N(D,k){D.events.pipe((0,Ee.p)(M=>M instanceof ti||M instanceof Li||M instanceof qn||M instanceof Gn),(0,Y.T)(M=>M instanceof ti||M instanceof Gn?O.COMPLETE:M instanceof Li&&(M.code===Un.Redirect||M.code===Un.SupersededByNewNavigation)?O.REDIRECTING:O.FAILED),(0,Ee.p)(M=>M!==O.REDIRECTING),(0,ve.s)(1)).subscribe(()=>{k()})}function L(D){throw D}const V={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},de={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let me=(()=>{class D{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=(0,e.WQX)(e.H3F),this.stateManager=(0,e.WQX)(De),this.options=(0,e.WQX)(Yr,{optional:!0})||{},this.pendingTasks=(0,e.WQX)(e.TgB),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,e.WQX)(ge),this.urlSerializer=(0,e.WQX)(Ht),this.location=(0,e.WQX)(se.aZ),this.urlHandlingStrategy=(0,e.WQX)(lr),this._events=new W.B,this.errorHandler=this.options.errorHandler||L,this.navigated=!1,this.routeReuseStrategy=(0,e.WQX)(oe),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=(0,e.WQX)(xi,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!(0,e.WQX)(Fs,{optional:!0}),this.eventsSubscription=new ee.yU,this.isNgZoneEnabled=(0,e.WQX)(e.SKi)instanceof e.SKi&&e.SKi.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:M=>{this.console.warn(M)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const M=this.navigationTransitions.events.subscribe(U=>{try{const ae=this.navigationTransitions.currentTransition,Re=this.navigationTransitions.currentNavigation;if(null!==ae&&null!==Re)if(this.stateManager.handleRouterEvent(U,Re),U instanceof Li&&U.code!==Un.Redirect&&U.code!==Un.SupersededByNewNavigation)this.navigated=!0;else if(U instanceof ti)this.navigated=!0;else if(U instanceof aa){const He=this.urlHandlingStrategy.merge(U.url,ae.currentRawUrl),Ct={info:ae.extras.info,skipLocationChange:ae.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||z(ae.source)};this.scheduleNavigation(He,zt,null,Ct,{resolve:ae.resolve,reject:ae.reject,promise:ae.promise})}(function Fe(D){return!(D instanceof Ma||D instanceof aa)})(U)&&this._events.next(U)}catch(ae){this.navigationTransitions.transitionAbortSubject.next(ae)}});this.eventsSubscription.add(M)}resetRootComponentType(M){this.routerState.root.component=M,this.navigationTransitions.rootComponentType=M}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),zt,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((M,U)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(M,"popstate",U)},0)})}navigateToSyncWithBrowser(M,U,ae){const Re={replaceUrl:!0},He=ae?.navigationId?ae:null;if(ae){const vt={...ae};delete vt.navigationId,delete vt.\u0275routerPageId,0!==Object.keys(vt).length&&(Re.state=vt)}const Ct=this.parseUrl(M);this.scheduleNavigation(Ct,U,He,Re)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(M){this.config=M.map(Oo),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(M,U={}){const{relativeTo:ae,queryParams:Re,fragment:He,queryParamsHandling:Ct,preserveFragment:vt}=U,mn=vt?this.currentUrlTree.fragment:He;let di,li=null;switch(Ct){case"merge":li={...this.currentUrlTree.queryParams,...Re};break;case"preserve":li=this.currentUrlTree.queryParams;break;default:li=Re||null}null!==li&&(li=this.removeEmptyProps(li));try{di=We(ae?ae.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof M[0]||!M[0].startsWith("/"))&&(M=[]),di=this.currentUrlTree.root}return it(di,M,li,mn??null)}navigateByUrl(M,U={skipLocationChange:!1}){const ae=q(M)?M:this.parseUrl(M),Re=this.urlHandlingStrategy.merge(ae,this.rawUrlTree);return this.scheduleNavigation(Re,zt,null,U)}navigate(M,U={skipLocationChange:!1}){return function ke(D){for(let k=0;k(null!=Re&&(U[ae]=Re),U),{})}scheduleNavigation(M,U,ae,Re,He){if(this.disposed)return Promise.resolve(!1);let Ct,vt,mn;He?(Ct=He.resolve,vt=He.reject,mn=He.promise):mn=new Promise((di,vs)=>{Ct=di,vt=vs});const li=this.pendingTasks.add();return N(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(li))}),this.navigationTransitions.handleNavigationRequest({source:U,restoredState:ae,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:M,extras:Re,resolve:Ct,reject:vt,promise:mn,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),mn.catch(di=>Promise.reject(di))}static#e=this.\u0275fac=function(U){return new(U||D)};static#t=this.\u0275prov=e.jDH({token:D,factory:D.\u0275fac,providedIn:"root"})}return D})(),Ne=(()=>{class D{constructor(M,U,ae,Re,He,Ct){this.router=M,this.route=U,this.tabIndexAttribute=ae,this.renderer=Re,this.el=He,this.locationStrategy=Ct,this.href=null,this.commands=null,this.onChanges=new W.B,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const vt=He.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===vt||"area"===vt,this.isAnchorElement?this.subscription=M.events.subscribe(mn=>{mn instanceof ti&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(M){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",M)}ngOnChanges(M){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(M){null!=M?(this.commands=Array.isArray(M)?M:[M],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(M,U,ae,Re,He){const Ct=this.urlTree;return!!(null===Ct||this.isAnchorElement&&(0!==M||U||ae||Re||He||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(Ct,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const M=this.urlTree;this.href=null!==M&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(M)):null;const U=null===this.href?null:(0,e.n$t)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",U)}applyAttributeValue(M,U){const ae=this.renderer,Re=this.el.nativeElement;null!==U?ae.setAttribute(Re,M,U):ae.removeAttribute(Re,M)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static#e=this.\u0275fac=function(U){return new(U||D)(e.rXU(me),e.rXU(Yi),e.kS0("tabindex"),e.rXU(e.sFG),e.rXU(e.aKT),e.rXU(se.hb))};static#t=this.\u0275dir=e.FsC({type:D,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(U,ae){1&U&&e.bIt("click",function(He){return ae.onClick(He.button,He.ctrlKey,He.shiftKey,He.altKey,He.metaKey)}),2&U&&e.BMQ("target",ae.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[e.Mj6.HasDecoratorInputTransform,"preserveFragment","preserveFragment",e.L39],skipLocationChange:[e.Mj6.HasDecoratorInputTransform,"skipLocationChange","skipLocationChange",e.L39],replaceUrl:[e.Mj6.HasDecoratorInputTransform,"replaceUrl","replaceUrl",e.L39],routerLink:"routerLink"},standalone:!0,features:[e.GFd,e.OA$]})}return D})(),et=(()=>{class D{get isActive(){return this._isActive}constructor(M,U,ae,Re,He){this.router=M,this.element=U,this.renderer=ae,this.cdr=Re,this.link=He,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new e.bkB,this.routerEventsSubscription=M.events.subscribe(Ct=>{Ct instanceof ti&&this.update()})}ngAfterContentInit(){(0,v.of)(this.links.changes,(0,v.of)(null)).pipe((0,$e.U)()).subscribe(M=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const M=[...this.links.toArray(),this.link].filter(U=>!!U).map(U=>U.onChanges);this.linkInputChangesSubscription=(0,c.H)(M).pipe((0,$e.U)()).subscribe(U=>{this._isActive!==this.isLinkActive(this.router)(U)&&this.update()})}set routerLinkActive(M){const U=Array.isArray(M)?M:M.split(" ");this.classes=U.filter(ae=>!!ae)}ngOnChanges(M){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const M=this.hasActiveLinks();this.classes.forEach(U=>{M?this.renderer.addClass(this.element.nativeElement,U):this.renderer.removeClass(this.element.nativeElement,U)}),M&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==M&&(this._isActive=M,this.cdr.markForCheck(),this.isActiveChange.emit(M))})}isLinkActive(M){const U=function ht(D){return!!D.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return ae=>{const Re=ae.urlTree;return!!Re&&M.isActive(Re,U)}}hasActiveLinks(){const M=this.isLinkActive(this.router);return this.link&&M(this.link)||this.links.some(M)}static#e=this.\u0275fac=function(U){return new(U||D)(e.rXU(me),e.rXU(e.aKT),e.rXU(e.sFG),e.rXU(e.gRc),e.rXU(Ne,8))};static#t=this.\u0275dir=e.FsC({type:D,selectors:[["","routerLinkActive",""]],contentQueries:function(U,ae,Re){if(1&U&&e.wni(Re,Ne,5),2&U){let He;e.mGM(He=e.lsd())&&(ae.links=He)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[e.OA$]})}return D})();class ft{}let Lt=(()=>{class D{constructor(M,U,ae,Re,He){this.router=M,this.injector=ae,this.preloadingStrategy=Re,this.loader=He}setUpPreloading(){this.subscription=this.router.events.pipe((0,Ee.p)(M=>M instanceof ti),(0,te.H)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(M,U){const ae=[];for(const Re of U){Re.providers&&!Re._injector&&(Re._injector=(0,e.Ol2)(Re.providers,M,`Route: ${Re.path}`));const He=Re._injector??M,Ct=Re._loadedInjector??He;(Re.loadChildren&&!Re._loadedRoutes&&void 0===Re.canLoad||Re.loadComponent&&!Re._loadedComponent)&&ae.push(this.preloadConfig(He,Re)),(Re.children||Re._loadedRoutes)&&ae.push(this.processRoutes(Ct,Re.children??Re._loadedRoutes))}return(0,c.H)(ae).pipe((0,$e.U)())}preloadConfig(M,U){return this.preloadingStrategy.preload(U,()=>{let ae;ae=U.loadChildren&&void 0===U.canLoad?this.loader.loadChildren(M,U):(0,v.of)(null);const Re=ae.pipe((0,F.Z)(He=>null===He?(0,v.of)(void 0):(U._loadedRoutes=He.routes,U._loadedInjector=He.injector,this.processRoutes(He.injector??M,He.routes))));if(U.loadComponent&&!U._loadedComponent){const He=this.loader.loadComponent(U);return(0,c.H)([Re,He]).pipe((0,$e.U)())}return Re})}static#e=this.\u0275fac=function(U){return new(U||D)(e.KVO(me),e.KVO(e.Ql9),e.KVO(e.uvJ),e.KVO(ft),e.KVO(zr))};static#t=this.\u0275prov=e.jDH({token:D,factory:D.\u0275fac,providedIn:"root"})}return D})();const wt=new e.nKC("");let Kt=(()=>{class D{constructor(M,U,ae,Re,He={}){this.urlSerializer=M,this.transitions=U,this.viewportScroller=ae,this.zone=Re,this.options=He,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},this.environmentInjector=(0,e.WQX)(e.uvJ),He.scrollPositionRestoration||="disabled",He.anchorScrolling||="disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(M=>{M instanceof Ei?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=M.navigationTrigger,this.restoredId=M.restoredState?M.restoredState.navigationId:0):M instanceof ti?(this.lastId=M.id,this.scheduleScrollEvent(M,this.urlSerializer.parse(M.urlAfterRedirects).fragment)):M instanceof Gn&&M.code===hi.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(M,this.urlSerializer.parse(M.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(M=>{M instanceof oo&&(M.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(M.position):M.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(M.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(M,U){var ae=this;this.zone.runOutsideAngular((0,u.A)(function*(){yield new Promise(Re=>{setTimeout(()=>{Re()}),(0,e.mal)(()=>{Re()},{injector:ae.environmentInjector})}),ae.zone.run(()=>{ae.transitions.events.next(new oo(M,"popstate"===ae.lastSource?ae.store[ae.restoredId]:null,U))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(U){e.QTQ()};static#t=this.\u0275prov=e.jDH({token:D,factory:D.\u0275fac})}return D})();function $t(D,k){return{\u0275kind:D,\u0275providers:k}}function ci(){const D=(0,e.WQX)(e.zZn);return k=>{const M=D.get(e.o8S);if(k!==M.components[0])return;const U=D.get(me),ae=D.get(Ii);1===D.get(Ui)&&U.initialNavigation(),D.get(Ti,null,e.$GK.Optional)?.setUpPreloading(),D.get(wt,null,e.$GK.Optional)?.init(),U.resetRootComponentType(M.componentTypes[0]),ae.closed||(ae.next(),ae.complete(),ae.unsubscribe())}}const Ii=new e.nKC("",{factory:()=>new W.B}),Ui=new e.nKC("",{providedIn:"root",factory:()=>1}),Ti=new e.nKC("");function Nn(D){return $t(0,[{provide:Ti,useExisting:Lt},{provide:ft,useExisting:D}])}function Po(D){return $t(9,[{provide:It,useValue:xo},{provide:Yo,useValue:{skipNextTransition:!!D?.skipInitialTransition,...D}}])}const br=new e.nKC("ROUTER_FORROOT_GUARD"),Ws=[se.aZ,{provide:Ht,useClass:nt},me,fr,{provide:Yi,useFactory:function Pt(D){return D.routerState.root},deps:[me]},zr,[]];let Vs=(()=>{class D{constructor(M){}static forRoot(M,U){return{ngModule:D,providers:[Ws,[],{provide:xi,multi:!0,useValue:M},{provide:br,useFactory:Qr,deps:[[me,new e.Xx1,new e.kdw]]},{provide:Yr,useValue:U||{}},U?.useHash?{provide:se.hb,useClass:se.fw}:{provide:se.hb,useClass:se.Sm},{provide:wt,useFactory:()=>{const D=(0,e.WQX)(se.Xr),k=(0,e.WQX)(e.SKi),M=(0,e.WQX)(Yr),U=(0,e.WQX)(ge),ae=(0,e.WQX)(Ht);return M.scrollOffset&&D.setOffset(M.scrollOffset),new Kt(ae,U,D,k,M)}},U?.preloadingStrategy?Nn(U.preloadingStrategy).\u0275providers:[],U?.initialNavigation?sl(U):[],U?.bindToComponentInputs?$t(8,[Wo,{provide:Fs,useExisting:Wo}]).\u0275providers:[],U?.enableViewTransitions?Po().\u0275providers:[],[{provide:eu,useFactory:ci},{provide:e.iLQ,multi:!0,useExisting:eu}]]}}static forChild(M){return{ngModule:D,providers:[{provide:xi,multi:!0,useValue:M}]}}static#e=this.\u0275fac=function(U){return new(U||D)(e.KVO(br,8))};static#t=this.\u0275mod=e.$C({type:D});static#n=this.\u0275inj=e.G2t({})}return D})();function Qr(D){return"guarded"}function sl(D){return["disabled"===D.initialNavigation?$t(3,[{provide:e.hnV,multi:!0,useFactory:()=>{const k=(0,e.WQX)(me);return()=>{k.setUpLocationChangeListener()}}},{provide:Ui,useValue:2}]).\u0275providers:[],"enabledBlocking"===D.initialNavigation?$t(2,[{provide:Ui,useValue:0},{provide:e.hnV,multi:!0,deps:[e.zZn],useFactory:k=>{const M=k.get(se.hj,Promise.resolve());return()=>M.then(()=>new Promise(U=>{const ae=k.get(me),Re=k.get(Ii);N(ae,()=>{U(!0)}),k.get(ge).afterPreactivation=()=>(U(!0),Re.closed?(0,v.of)(void 0):Re),ae.initialNavigation()}))}}]).\u0275providers:[]]}const eu=new e.nKC("")},72594:(Me,K,o)=>{"use strict";o.d(K,{Bf:()=>vn,KV:()=>nn});var u={};o.r(u),o.d(u,{ERROR_API_KEY_EXPIRED:()=>F,ERROR_API_KEY_INVALID:()=>Ee,ERROR_API_KEY_MISSING:()=>le,ERROR_BAD_REQUEST_FORMAT:()=>j,ERROR_BAD_RESPONSE_FORMAT:()=>x,ERROR_CLIENT_TIMEOUT:()=>A,ERROR_CSP_BLOCK:()=>P,ERROR_FORBIDDEN_ENDPOINT:()=>re,ERROR_FORBIDDEN_HEADER:()=>ue,ERROR_FORBIDDEN_ORIGIN:()=>ce,ERROR_GENERAL_SERVER_FAILURE:()=>te,ERROR_INSTALLATION_METHOD_RESTRICTED:()=>Y,ERROR_INTEGRATION_FAILURE:()=>ve,ERROR_INVALID_ENDPOINT:()=>B,ERROR_NETWORK_ABORT:()=>C,ERROR_NETWORK_CONNECTION:()=>S,ERROR_RATE_LIMIT:()=>$,ERROR_SCRIPT_LOAD_FAIL:()=>dt,ERROR_SERVER_TIMEOUT:()=>J,ERROR_SUBSCRIPTION_NOT_ACTIVE:()=>ee,ERROR_TOKEN_EXPIRED:()=>Ge,ERROR_TOKEN_INVALID:()=>_e,ERROR_TOKEN_MISSING:()=>Te,ERROR_UNSUPPORTED_VERSION:()=>se,ERROR_WRONG_REGION:()=>W,default:()=>ut,defaultEndpoint:()=>y,defaultScriptUrlPattern:()=>we,defaultTlsEndpoint:()=>R,load:()=>Ce});var e=o(10467),h=o(54438),c=o(31635),y={default:"endpoint"},R={default:"tlsEndpoint"};function T(Ht){for(var nt="",Nt=0;Nt0){var Ft=Ht[Nt].toLowerCase();nt+=Ft!==Ht[Nt]?" ".concat(Ft):Ht[Nt]}else nt+=Ht[Nt].toUpperCase();return nt}var A="Client timeout",S="Network connection error",C="Network request aborted",x="Response cannot be parsed",P="Blocked by CSP",B="The endpoint parameter is not a valid URL",W=T("WrongRegion"),ee=T("SubscriptionNotActive"),se=T("UnsupportedVersion"),Y=T("InstallationMethodRestricted"),re=T("HostnameRestricted"),ve=T("IntegrationFailed"),le="API key required",Ee="API key not found",F="API key expired",j="Request cannot be parsed",te="Request failed",J="Request failed to process",$="Too many requests, rate limit exceeded",ce="Not available for this origin",ue="Not available with restricted header",Te=le,_e=Ee,Ge=F,Ve="3.9.7",dt="Failed to load the JS script of the agent",at="9319",Oe="https://fpnpmcdn.net/v//loader_v.js",we=Oe;function Ce(Ht){var nt,Pe,_t,zn,Je,lt,Ft=Ht.apiKey,Xt=void 0===Ft?Ht.token:Ft,Tn=(0,c.Tt)(Ht,["scriptUrlPattern","token","apiKey"]),An=null!==(nt=function v(Ht,nt){return Object.prototype.hasOwnProperty.call(Ht,nt)?Ht[nt]:void 0}(Ht,"scriptUrlPattern"))&&void 0!==nt?nt:Oe,si=(zn=[],Je=function(){zn.push({time:new Date,state:document.visibilityState})},(Pe=document).addEventListener("visibilitychange",_t=Je,void 0),lt=function(){return Pe.removeEventListener("visibilitychange",_t,void 0)},Je(),[zn,lt]),Di=si[0],gi=si[1];return Promise.resolve().then(function(){if(!Xt||"string"!=typeof Xt)throw new Error(le);var zn=function(Je,lt){return(Array.isArray(Je)?Je:[Je]).map(function(Pe){return function(Xe,_t){var jt=encodeURIComponent;return Xe.replace(/<[^<>]+>/g,function(hn){return""===hn?"3":""===hn?jt(_t):""===hn?jt(Ve):hn})}(String(Pe),lt)})}(An,Xt);return function ye(Ht,nt){var Nt,Ft,Xt,si,Xe,Di=[],gi=(Xe=(0,c.fX)([],Ht,!0),Nt={current:function(){return Xe[0]},postpone:function(){var _t=Xe.shift();void 0!==_t&&Xe.push(_t)},exclude:function(){Xe.shift()}},si=0,Ft=function(){return Math.random()*Math.min(3e3,100*Math.pow(2,si++))},Xt=new Set,[Nt.current(),function(Pe,Xe){var _t,jt=Xe instanceof Error?Xe.message:"";if(jt===P||jt===B)Nt.exclude(),_t=0;else if(jt===at)Nt.exclude();else if(jt===dt){var hn=Date.now()-Pe.getTime()<50,Fn=Nt.current();Fn&&hn&&!Xt.has(Fn)&&(Xt.add(Fn),_t=0),Nt.postpone()}else Nt.postpone();var bn=Nt.current();return void 0===bn?void 0:[bn,_t??Pe.getTime()+Ft()-Date.now()]}]),zn=gi[0],Je=gi[1];if(void 0===zn)return Promise.reject(new TypeError("The list of script URL patterns is empty"));var lt=function(Pe){var Xe=new Date,_t=function(hn){return Di.push({url:Pe,startedAt:Xe,finishedAt:new Date,error:hn})},jt=nt(Pe);return jt.then(function(){return _t()},_t),jt.catch(function(hn){if(Di.length>=5)throw hn;var Fn=Je(Xe,hn);if(!Fn)throw hn;var bn,Ke=Fn[0];return(bn=Fn[1],new Promise(function(G){return setTimeout(G,bn)})).then(function(){return lt(Ke)})})};return lt(zn).then(function(Pe){return[Pe,Di]})}(zn,$e)}).catch(function(zn){throw gi(),function(Je){return Je instanceof Error&&Je.message===at?new Error(dt):Je}(zn)}).then(function(zn){var Je=zn[0],lt=zn[1];return gi(),Je.load((0,c.Cl)((0,c.Cl)({},Tn),{ldi:{attempts:lt,visibilityStates:Di}}))})}function $e(Ht){return function(nt,Nt,Ft,Xt){var Tn,An=document,si="securitypolicyviolation",Di=function(zn){var Je=new URL(nt,location.href),lt=zn.blockedURI;lt!==Je.href&<!==Je.protocol.slice(0,-1)&<!==Je.origin||(Tn=zn,gi())};An.addEventListener(si,Di);var gi=function(){return An.removeEventListener(si,Di)};return Promise.resolve().then(function(){return function(nt){return new Promise(function(Nt,Ft){if(function(si){if(URL.prototype)try{return new URL(si,location.href),!1}catch(Di){if(Di instanceof Error&&"TypeError"===Di.name)return!0;throw Di}}(nt))throw new Error(B);var Xt=document.createElement("script"),Tn=function(){var si;return null===(si=Xt.parentNode)||void 0===si?void 0:si.removeChild(Xt)},An=document.head||document.getElementsByTagName("head")[0];Xt.onload=function(){Tn(),Nt()},Xt.onerror=function(){Tn(),Ft(new Error(dt))},Xt.async=!0,Xt.src=nt,An.appendChild(Xt)})}(Ht)}).then(function(zn){return gi(),zn},function(zn){return new Promise(function(Je){return setTimeout(Je)}).then(function(){if(gi(),Tn)return function(){throw new Error(P)}();throw zn})})}(Ht).then(Ye)}function Ye(){var Ft,Xt,Tn,An,Ht=window,nt="__fpjs_p_l_b",Nt=Ht[nt];if(Ft=Ht,Xt=nt,An=null===(Tn=Object.getOwnPropertyDescriptor)||void 0===Tn?void 0:Tn.call(Object,Ft,Xt),An?.configurable?delete Ft[Xt]:An&&!An.writable||(Ft[Xt]=void 0),"function"!=typeof Nt?.load)throw new Error(at);return Nt}var ut={load:Ce,defaultScriptUrlPattern:we,ERROR_SCRIPT_LOAD_FAIL:dt,ERROR_API_KEY_EXPIRED:F,ERROR_API_KEY_INVALID:Ee,ERROR_API_KEY_MISSING:le,ERROR_BAD_REQUEST_FORMAT:j,ERROR_BAD_RESPONSE_FORMAT:x,ERROR_CLIENT_TIMEOUT:A,ERROR_CSP_BLOCK:P,ERROR_FORBIDDEN_ENDPOINT:re,ERROR_FORBIDDEN_HEADER:ue,ERROR_FORBIDDEN_ORIGIN:ce,ERROR_GENERAL_SERVER_FAILURE:te,ERROR_INSTALLATION_METHOD_RESTRICTED:Y,ERROR_INTEGRATION_FAILURE:ve,ERROR_INVALID_ENDPOINT:B,ERROR_NETWORK_ABORT:C,ERROR_NETWORK_CONNECTION:S,ERROR_RATE_LIMIT:$,ERROR_SERVER_TIMEOUT:J,ERROR_SUBSCRIPTION_NOT_ACTIVE:ee,ERROR_TOKEN_EXPIRED:Ge,ERROR_TOKEN_INVALID:_e,ERROR_TOKEN_MISSING:Te,ERROR_UNSUPPORTED_VERSION:se,ERROR_WRONG_REGION:W,defaultEndpoint:y,defaultTlsEndpoint:R};const mt="@fpjs@client@",rn=()=>Date.now();class En{constructor(nt){var Nt;this.tag=nt.tag||null,this.linkedId=nt.linkedId||null,this.extendedResult=null!==(Nt=nt.extendedResult)&&void 0!==Nt&&Nt}toKey(){return`${JSON.stringify(this.tag)}__${JSON.stringify(this.linkedId)}__${this.extendedResult}`}}function un(Ht,nt){return`${nt}__${Ht}`}function wn(Ht,nt){return Ht.replace(`${nt}__`,"")}class Kn{constructor(nt=mt){this.prefix=nt}set(nt,Nt){window.localStorage.setItem(un(nt,this.prefix),JSON.stringify(Nt))}get(nt){const Nt=window.localStorage.getItem(un(nt,this.prefix));if(Nt)try{return JSON.parse(Nt)}catch{return}}remove(nt){window.localStorage.removeItem(un(nt,this.prefix))}allKeys(){return Object.keys(window.localStorage).filter(nt=>nt.startsWith(this.prefix)).map(nt=>wn(nt,this.prefix))}}class Mt{constructor(nt=mt){this.prefix=nt}set(nt,Nt){window.sessionStorage.setItem(un(nt,this.prefix),JSON.stringify(Nt))}get(nt){const Nt=window.sessionStorage.getItem(un(nt,this.prefix));if(Nt)try{return JSON.parse(Nt)}catch{return}}remove(nt){window.sessionStorage.removeItem(un(nt,this.prefix))}allKeys(){return Object.keys(window.sessionStorage).filter(nt=>nt.startsWith(this.prefix)).map(nt=>wn(nt,this.prefix))}}class Bt{constructor(nt,Nt=3600,Ft){this.cache=nt,this.cacheTime=Nt,this.nowProvider=Ft||rn}get(nt){return(0,c.sH)(this,void 0,void 0,function*(){const Nt=yield this.cache.get(nt.toKey());if(!Nt)return;const Ft=yield this.nowProvider(),Xt=Math.floor(Ft/1e3);if(!(Nt.expiresAtthis.cache.remove(Nt)))})}wrapCacheEntry(nt){return(0,c.sH)(this,void 0,void 0,function*(){const Nt=yield this.nowProvider(),Ft=Math.floor(Nt/1e3)+this.cacheTime;return{body:nt,expiresAt:Ft}})}}class Yt{constructor(){this.enclosedCache=function(){const nt={};return{set(Nt,Ft){nt[Nt]=Ft},get(Nt){const Ft=nt[Nt];if(Ft)return Ft},remove(Nt){delete nt[Nt]},allKeys:()=>Object.keys(nt)}}()}}class St{set(){}get(){}remove(){}allKeys(){return[]}}var qt=function(Ht){return Ht.Memory="memory",Ht.LocalStorage="localstorage",Ht.SessionStorage="sessionstorage",Ht.NoCache="nocache",Ht}(qt||{});const he={[qt.Memory]:()=>(new Yt).enclosedCache,[qt.LocalStorage]:Ht=>new Kn(Ht),[qt.SessionStorage]:Ht=>new Mt(Ht),[qt.NoCache]:()=>new St},xe=Ht=>he[Ht];class je{constructor(nt){var Nt;let Ft;if(this.inFlightRequests=new Map,this.agentPromise=null,this.customAgent=nt?.customAgent,this.agent={get:()=>{throw new Error("FPJSAgent hasn't loaded yet. Make sure to call the init() method first.")}},this.loadOptions=nt?.loadOptions,nt?.cache&&nt?.cacheLocation&&console.warn("Both `cache` and `cacheLocation` options have been specified in the FpjsClient configuration; ignoring `cacheLocation` and using `cache`."),nt?.cache)Ft=nt.cache;else{if(this.cacheLocation=nt?.cacheLocation||qt.SessionStorage,!xe(this.cacheLocation))throw new Error(`Invalid cache location "${this.cacheLocation}"`);(Ht=>{switch(this.cacheLocation){case qt.SessionStorage:try{window.sessionStorage.getItem("item")}catch{return!1}return!0;case qt.LocalStorage:try{window.localStorage.getItem("item")}catch{return!1}return!0;default:return!0}})()||(this.cacheLocation=qt.Memory),Ft=xe(this.cacheLocation)(nt?.cachePrefix)}if(nt?.cacheTimeInSeconds&&nt.cacheTimeInSeconds>86400)throw new Error("Cache time cannot exceed 86400 seconds (24 hours)");const Xt=null!==(Nt=nt?.cacheTimeInSeconds)&&void 0!==Nt?Nt:3600;this.cacheManager=new Bt(Ft,Xt)}init(nt){return(0,c.sH)(this,void 0,void 0,function*(){var Nt,Ft;if(!this.loadOptions&&!nt)throw new TypeError("No load options provided");const Xt=Object.assign(Object.assign(Object.assign({},this.loadOptions),nt),{integrationInfo:[...(null===(Nt=this.loadOptions)||void 0===Nt?void 0:Nt.integrationInfo)||[],...nt?.integrationInfo||[],"fingerprintjs-pro-spa/1.3.1"]});if(!this.agentPromise){const Tn=null!==(Ft=this.customAgent)&&void 0!==Ft?Ft:u;this.agentPromise=Tn.load(Xt).then(An=>(this.agent=An,An)).catch(An=>{throw this.agentPromise=null,An})}return this.agentPromise})}getVisitorData(){return(0,c.sH)(this,arguments,void 0,function*(nt={},Nt=!1){const Xt=je.makeCacheKey(nt).toKey();if(!this.inFlightRequests.has(Xt)){const Tn=this._identify(nt,Nt).finally(()=>{this.inFlightRequests.delete(Xt)});this.inFlightRequests.set(Xt,Tn)}return yield this.inFlightRequests.get(Xt)})}getVisitorDataFromCache(){return(0,c.sH)(this,arguments,void 0,function*(nt={}){const Nt=je.makeCacheKey(nt),Ft=yield this.cacheManager.get(Nt);return Ft?Object.assign(Object.assign({},Ft),{cacheHit:!0}):void 0})}isInCache(){return(0,c.sH)(this,arguments,void 0,function*(nt={}){return!!(yield this.getVisitorDataFromCache(nt))})}clearCache(){return(0,c.sH)(this,void 0,void 0,function*(){yield this.cacheManager.clearCache()})}static makeCacheKey(nt){return new En(nt)}_identify(nt){return(0,c.sH)(this,arguments,void 0,function*(Nt,Ft=!1){const Xt=je.makeCacheKey(Nt);if(!Ft){const An=yield this.cacheManager.get(Xt);if(An)return Object.assign(Object.assign({},An),{cacheHit:!0})}const Tn=yield this.agent.get(Nt);return yield this.cacheManager.set(Xt,Tn),Object.assign(Object.assign({},Tn),{cacheHit:!1})})}}const Jt=new h.nKC("ng-fingerprintjspro-settings-token",{factory:()=>({clientOptions:{loadOptions:{apiKey:""}}})});let nn=(()=>{class Ht{constructor(Nt){this.settings=Nt;const{loadOptions:Ft}=Nt.clientOptions,Xt={...Nt.clientOptions,loadOptions:{...Ft,integrationInfo:[...Ft.integrationInfo||[],"fingerprintjs-pro-angular/1.3.0"]}};this.fingerprintJsClient=new je(Xt),this.fingerprintJsClientInitPromise=this.fingerprintJsClient.init()}getVisitorData(Nt,Ft){var Xt=this;return(0,e.A)(function*(){return yield Xt.fingerprintJsClientInitPromise,Xt.fingerprintJsClient.getVisitorData(Nt,Ft)})()}clearCache(){return this.fingerprintJsClient.clearCache()}}return Ht.\u0275fac=function(Nt){return new(Nt||Ht)(h.KVO(Jt))},Ht.\u0275prov=h.jDH({token:Ht,factory:Ht.\u0275fac,providedIn:"root"}),Ht})(),vn=(()=>{class Ht{static forRoot(Nt){return{ngModule:Ht,providers:[{provide:Jt,useValue:{clientOptions:Nt}},nn]}}}return Ht.\u0275fac=function(Nt){return new(Nt||Ht)},Ht.\u0275mod=h.$C({type:Ht}),Ht.\u0275inj=h.G2t({}),Ht})()},20464:(Me,K,o)=>{"use strict";o.d(K,{JO:()=>on,Kj:()=>An,Ll:()=>Oe,Q8:()=>lt,bA:()=>Tn,oH:()=>Y,wz:()=>Ce});var u=o(54438),e=o(7673),h=o(22806),c=o(21413),v=o(84412),y=o(27468),R=o(84572),T=o(983),A=o(96697),S=o(96354),C=o(12498),x=o(88141),P=o(99437),B=o(69568),W=o(25558),ee=o(59411);class se{constructor(Be){this.translations=Be}getTranslation(Be){return(0,e.of)(this.translations.get(Be)||{})}}const Y=new u.nKC("TRANSLOCO_LOADER");function re(Ke,Be){return Ke&&(Object.prototype.hasOwnProperty.call(Ke,Be)?Ke[Be]:Be.split(".").reduce((G,Q)=>G?.[Q],Ke))}function le(Ke){return Ke?Array.isArray(Ke)?Ke.length:J(Ke)?Object.keys(Ke).length:Ke?Ke.length:0:0}function j(Ke){return"string"==typeof Ke}function J(Ke){return!!Ke&&"object"==typeof Ke&&!Array.isArray(Ke)}function ce(Ke){return Ke.replace(/(?:^\w|[A-Z]|\b\w)/g,(Be,G)=>0==G?Be.toLowerCase():Be.toUpperCase()).replace(/\s+|_|-|\//g,"")}function Te(Ke){return null==Ke}function _e(Ke){return!1===Te(Ke)}function Ve(Ke){return Ke&&"string"==typeof Ke.scope}function ye(Ke){return(0,ee.flatten)(Ke,{safe:!0})}const Oe=new u.nKC("TRANSLOCO_CONFIG",{providedIn:"root",factory:()=>({defaultLang:"en"})}),we={defaultLang:"en",reRenderOnLangChange:!1,prodMode:!1,failedRetries:2,availableLangs:[],missingHandler:{logMissingKey:!0,useFallbackTranslation:!1,allowEmpty:!1},flatten:{aot:!1},interpolation:["{{","}}"]};function Ce(Ke=we){return{...we,...Ke}}const $e=new u.nKC("TRANSLOCO_TRANSPILER");let Ye=(()=>{class Ke{constructor(G){this.interpolationMatcher=function ut(Ke){const[Be,G]=Ke&&Ke.interpolation?Ke.interpolation:we.interpolation;return new RegExp(`${Be}(.*?)${G}`,"g")}(G)}transpile(G,Q={},H,ne){return j(G)?G.replace(this.interpolationMatcher,(q,fe)=>(fe=fe.trim(),_e(Q[fe])?Q[fe]:_e(H[fe])?this.transpile(H[fe],Q,H,ne):"")):(Q&&(J(G)?G=this.handleObject(G,Q,H,ne):Array.isArray(G)&&(G=this.handleArray(G,Q,H,ne))),G)}handleObject(G,Q={},H,ne){let q=G;return Object.keys(Q).forEach(fe=>{const We=re(q,fe),it=re(Q,fe),Rt=this.transpile(We,it,H,ne);q=function ve(Ke,Be,G){Ke={...Ke};const Q=Be.split("."),H=Q.length-1;return Q.reduce((ne,q,fe)=>(ne[q]=fe===H?G:Array.isArray(ne[q])?ne[q].slice():{...ne[q]},ne&&ne[q]),Ke),Ke}(q,fe,Rt)}),q}handleArray(G,Q={},H,ne){return G.map(q=>this.transpile(q,Q,H,ne))}}return Ke.\u0275fac=function(G){return new(G||Ke)(u.KVO(Oe,8))},Ke.\u0275prov=u.jDH({token:Ke,factory:Ke.\u0275fac}),Ke})();const Vt=new u.nKC("TRANSLOCO_MISSING_HANDLER");let rn=(()=>{class Ke{handle(G,Q){return Q.missingHandler.logMissingKey&&!Q.prodMode&&console.warn(`%c Missing translation for '${G}'`,"font-size: 12px; color: red"),G}}return Ke.\u0275fac=function(G){return new(G||Ke)},Ke.\u0275prov=u.jDH({token:Ke,factory:Ke.\u0275fac}),Ke})();const En=new u.nKC("TRANSLOCO_INTERCEPTOR");let un=(()=>{class Ke{preSaveTranslation(G){return G}preSaveTranslationKey(G,Q){return Q}}return Ke.\u0275fac=function(G){return new(G||Ke)},Ke.\u0275prov=u.jDH({token:Ke,factory:Ke.\u0275fac}),Ke})();const wn=new u.nKC("TRANSLOCO_FALLBACK_STRATEGY");let gt,Kn=(()=>{class Ke{constructor(G){this.userConfig=G}getNextLangs(){const G=this.userConfig.fallbackLang;if(!G)throw new Error("When using the default fallback, a fallback language must be provided in the config!");return Array.isArray(G)?G:[G]}}return Ke.\u0275fac=function(G){return new(G||Ke)(u.KVO(Oe))},Ke.\u0275prov=u.jDH({token:Ke,factory:Ke.\u0275fac}),Ke})();function Bt(Ke){if(!Ke)return"";const Be=Ke.split("/");return Be.pop(),Be.join("/")}function Yt(Ke){return Ke?Ke.split("/").pop():""}function St(Ke,Be,G="|"){if(j(Ke)){const Q=Ke.split(G),H=Q.pop();return H===Be?[!0,Q.toString()]:[!1,H]}return[!1,""]}function qt(Ke,Be){const[G]=St(Be,"static");return!G&&!!Ke.config.reRenderOnLangChange}function Qe(Ke){return Ke?Be=>Be:(0,A.s)(1)}function Ie(Ke,Be){return function dt(Ke){return Ke&&J(Ke.loader)}(Ke)?function he(Ke,Be){return Object.keys(Ke).reduce((G,Q)=>(G[`${Be}/${Q}`]=Ke[Q],G),{})}(Ke.loader,Be):void 0}function xe(Ke){return{scope:Bt(Ke)||null,langName:Yt(Ke)}}function je(Ke){const{path:Be,inlineLoader:G,mainLoader:Q,data:H}=Ke;if(G){if(!1===function F(Ke){return"function"==typeof Ke}(G[Be]))throw`You're using an inline loader but didn't provide a loader for ${Be}`;return G[Be]().then(q=>q.default?q.default:q)}return Q.getTranslation(Be,H)}let on=(()=>{class Ke{constructor(G,Q,H,ne,q,fe){this.loader=G,this.parser=Q,this.missingHandler=H,this.interceptor=ne,this.userConfig=q,this.fallbackStrategy=fe,this.subscription=null,this.translations=new Map,this.cache=new Map,this.defaultLang="",this.availableLangs=[],this.isResolvedMissingOnce=!1,this.failedLangs=new Set,this.events=new c.B,this.events$=this.events.asObservable(),this.loader||(this.loader=new se(this.translations)),gt=this,this.mergedConfig=function Mt(Ke,Be){return{...Ke,...Be,missingHandler:{...Ke.missingHandler,...Be.missingHandler},flatten:{...Ke.flatten,...Be.flatten}}}(we,this.userConfig),this.setAvailableLangs(this.mergedConfig.availableLangs||[]),this.setFallbackLangForMissingTranslation(this.mergedConfig),this.setDefaultLang(this.mergedConfig.defaultLang),this.lang=new v.t(this.getDefaultLang()),this.langChanges$=this.lang.asObservable(),this.subscription=this.events$.subscribe(We=>{"translationLoadSuccess"===We.type&&We.wasFailure&&this.setActiveLang(We.payload.langName)})}get config(){return this.mergedConfig}getDefaultLang(){return this.defaultLang}setDefaultLang(G){this.defaultLang=G}getActiveLang(){return this.lang.getValue()}setActiveLang(G){return this.parser.onLangChanged?.(G),this.lang.next(G),this.events.next({type:"langChanged",payload:xe(G)}),this}setAvailableLangs(G){this.availableLangs=G}getAvailableLangs(){return this.availableLangs}load(G,Q={}){const H=this.cache.get(G);if(H)return H;let ne;const q=this._isLangScoped(G);let fe;q&&(fe=Bt(G));const We={path:G,mainLoader:this.loader,inlineLoader:Q.inlineLoader,data:q?{scope:fe}:void 0};if(this.useFallbackTranslation(G)){const Rt=q?`${fe}/${this.firstFallbackLang}`:this.firstFallbackLang,dn=function ze({mainLoader:Ke,path:Be,data:G,fallbackPath:Q,inlineLoader:H}){return(Q?[Be,Q]:[Be]).map(q=>{const fe=je({path:q,mainLoader:Ke,inlineLoader:H,data:G});return(0,h.H)(fe).pipe((0,S.T)(We=>({translation:We,lang:q})))})}({...We,fallbackPath:Rt});ne=(0,y.p)(dn)}else{const Rt=je(We);ne=(0,h.H)(Rt)}const it=ne.pipe((0,C.L)(this.config.failedRetries),(0,x.M)(Rt=>{Array.isArray(Rt)?Rt.forEach(dn=>{this.handleSuccess(dn.lang,dn.translation),dn.lang!==G&&this.cache.set(dn.lang,(0,e.of)({}))}):this.handleSuccess(G,Rt)}),(0,P.W)(Rt=>(this.mergedConfig.prodMode||console.error(`Error while trying to load "${G}"`,Rt),this.handleFailure(G,Q))),(0,B.t)(1));return this.cache.set(G,it),it}translate(G,Q={},H=this.getActiveLang()){if(!G)return G;const{scope:ne,resolveLang:q}=this.resolveLangAndScope(H);if(Array.isArray(G))return G.map(it=>this.translate(ne?`${ne}.${it}`:it,Q,q));G=ne?`${ne}.${G}`:G;const fe=this.getTranslation(q),We=fe[G];return We?this.parser.transpile(We,Q,fe,G):this._handleMissingKey(G,We,Q)}selectTranslate(G,Q,H,ne=!1){let q;const fe=(it,Rt)=>this.load(it,Rt).pipe((0,S.T)(()=>ne?this.translateObject(G,Q,it):this.translate(G,Q,it)));if(Te(H))return this.langChanges$.pipe((0,W.n)(it=>fe(it)));if(Ve(H)){const it=H;H=it.scope,q=Ie(it,it.scope)}if(this.isLang(H)||this.isScopeWithLang(H))return fe(H);const We=H;return this.langChanges$.pipe((0,W.n)(it=>fe(`${We}/${it}`,{inlineLoader:q})))}isScopeWithLang(G){return this.isLang(Yt(G))}translateObject(G,Q={},H=this.getActiveLang()){if(j(G)||Array.isArray(G)){const{resolveLang:q,scope:fe}=this.resolveLangAndScope(H);if(Array.isArray(G))return G.map(Rt=>this.translateObject(fe?`${fe}.${Rt}`:Rt,Q,q));const We=this.getTranslation(q),it=function at(Ke){return(0,ee.unflatten)(Ke)}(this.getObjectByKey(We,G=fe?`${fe}.${G}`:G));return function Ee(Ke){return 0===le(Ke)}(it)?this.translate(G,Q,H):this.parser.transpile(it,Q,We,G)}const ne=[];for(const[q,fe]of this.getEntries(G))ne.push(this.translateObject(q,fe,H));return ne}selectTranslateObject(G,Q,H){if(j(G)||Array.isArray(G))return this.selectTranslate(G,Q,H,!0);const[[ne,q],...fe]=this.getEntries(G);return this.selectTranslateObject(ne,q,H).pipe((0,S.T)(We=>{const it=[We];for(const[Rt,dn]of fe)it.push(this.translateObject(Rt,dn,H));return it}))}getTranslation(G){if(G){if(this.isLang(G))return this.translations.get(G)||{};{const{scope:Q,resolveLang:H}=this.resolveLangAndScope(G),ne=this.translations.get(H)||{};return this.getObjectByKey(ne,Q)}}return this.translations}selectTranslation(G){let Q=this.langChanges$;if(G){const H=Yt(G)!==G;Q=this.isLang(G)||H?(0,e.of)(G):this.langChanges$.pipe((0,S.T)(ne=>`${G}/${ne}`))}return Q.pipe((0,W.n)(H=>this.load(H).pipe((0,S.T)(()=>this.getTranslation(H)))))}setTranslation(G,Q=this.getActiveLang(),H={}){const q={merge:!0,emitChange:!0,...H},fe=Bt(Q);let We=G;fe&&(We=ye({[this.getMappedScope(fe)]:G}));const it=fe?Yt(Q):Q,Rt={...q.merge&&this.getTranslation(it),...We},dn=this.mergedConfig.flatten.aot?Rt:ye(Rt),Xn=this.interceptor.preSaveTranslation(dn,it);this.translations.set(it,Xn),q.emitChange&&this.setActiveLang(this.getActiveLang())}setTranslationKey(G,Q,H=this.getActiveLang(),ne={}){const q=this.interceptor.preSaveTranslationKey(G,Q,H);this.setTranslation({[G]:q},H,{...ne,merge:!0})}setFallbackLangForMissingTranslation({fallbackLang:G}){const Q=Array.isArray(G)?G[0]:G;G&&this.useFallbackTranslation(Q)&&(this.firstFallbackLang=Q)}_handleMissingKey(G,Q,H){if(this.config.missingHandler.allowEmpty&&""===Q)return"";if(!this.isResolvedMissingOnce&&this.useFallbackTranslation()){this.isResolvedMissingOnce=!0;const ne=this.translate(G,H,this.firstFallbackLang);return this.isResolvedMissingOnce=!1,ne}return this.missingHandler.handle(G,this.getMissingHandlerData(),H)}_isLangScoped(G){return-1===this.getAvailableLangsIds().indexOf(G)}isLang(G){return-1!==this.getAvailableLangsIds().indexOf(G)}_loadDependencies(G,Q){const H=Yt(G);return this._isLangScoped(G)&&!this.isLoadedTranslation(H)?(0,R.z)(this.load(H),this.load(G,{inlineLoader:Q})):this.load(G,{inlineLoader:Q})}_completeScopeWithLang(G){return this._isLangScoped(G)&&!this.isLang(Yt(G))?`${G}/${this.getActiveLang()}`:G}_setScopeAlias(G,Q){this.mergedConfig.scopeMapping||(this.mergedConfig.scopeMapping={}),this.mergedConfig.scopeMapping[G]=Q}ngOnDestroy(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=null),this.cache.clear()}isLoadedTranslation(G){return le(this.getTranslation(G))}getAvailableLangsIds(){return j(this.getAvailableLangs()[0])?this.getAvailableLangs():this.getAvailableLangs().map(Q=>Q.id)}getMissingHandlerData(){return{...this.config,activeLang:this.getActiveLang(),availableLangs:this.availableLangs,defaultLang:this.defaultLang}}useFallbackTranslation(G){return this.config.missingHandler.useFallbackTranslation&&G!==this.firstFallbackLang}handleSuccess(G,Q){this.setTranslation(Q,G,{emitChange:!1}),this.events.next({wasFailure:!!this.failedLangs.size,type:"translationLoadSuccess",payload:xe(G)}),this.failedLangs.forEach(H=>this.cache.delete(H)),this.failedLangs.clear()}handleFailure(G,Q){Te(Q.failedCounter)&&(Q.failedCounter=0,Q.fallbackLangs||(Q.fallbackLangs=this.fallbackStrategy.getNextLangs(G)));const H=G.split("/"),q=Q.fallbackLangs[Q.failedCounter];if(this.failedLangs.add(G),this.cache.has(q))return this.handleSuccess(q,this.getTranslation(q)),T.w;if(!q||q===H[H.length-1]){let it="Unable to load translation and all the fallback languages";throw H.length>1&&(it+=", did you misspelled the scope name?"),new Error(it)}let We=q;return H.length>1&&(H[H.length-1]=q,We=H.join("/")),Q.failedCounter++,this.events.next({type:"translationLoadFailure",payload:xe(G)}),this.load(We,Q)}getMappedScope(G){const{scopeMapping:Q={}}=this.config;return Q[G]||ce(G)}resolveLangAndScope(G){let H,Q=G;if(this._isLangScoped(G)){const ne=Yt(G),q=this.isLang(ne);Q=q?ne:this.getActiveLang(),H=this.getMappedScope(q?Bt(G):G)}return{scope:H,resolveLang:Q}}getObjectByKey(G,Q){const H={},ne=`${Q}.`;for(const q in G)q.startsWith(ne)&&(H[q.replace(ne,"")]=G[q]);return H}getEntries(G){return G instanceof Map?G.entries():Object.entries(G)}}return Ke.\u0275fac=function(G){return new(G||Ke)(u.KVO(Y,8),u.KVO($e),u.KVO(Vt),u.KVO(En),u.KVO(Oe),u.KVO(wn))},Ke.\u0275prov=u.jDH({token:Ke,factory:Ke.\u0275fac,providedIn:"root"}),Ke})(),nn=(()=>{class Ke{}return Ke.\u0275fac=function(G){return new(G||Ke)},Ke.\u0275cmp=u.VBU({type:Ke,selectors:[["ng-component"]],inputs:{html:"html"},decls:1,vars:1,consts:[[1,"transloco-loader-template",3,"innerHTML"]],template:function(G,Q){1&G&&u.nrm(0,"div",0),2&G&&u.Y8G("innerHTML",Q.html,u.npT)},encapsulation:2}),Ke})();class vn{constructor(Be,G){this.view=Be,this.vcr=G,this.injector=this.vcr.injector}attachView(){if(this.view instanceof u.C4Q)this.vcr.createEmbeddedView(this.view);else if(j(this.view)){const Be=this.createComponent(nn);Be.instance.html=this.view,Be.hostView.detectChanges()}else this.createComponent(this.view)}detachView(){this.vcr.clear()}createComponent(Be){const Q=this.injector.get(u.OM3).resolveComponentFactory(Be);return this.vcr.createComponent(Q)}}const Ht=new u.nKC("TRANSLOCO_LANG"),nt=new u.nKC("TRANSLOCO_LOADING_TEMPLATE"),Nt=new u.nKC("TRANSLOCO_SCOPE");class Ft{constructor(){this.initialized=!1}resolve({inline:Be,provider:G,active:Q}){let H=Q;if(this.initialized)return H=Q,H;if(G){const[,ne]=St(G,"static");H=ne}if(Be){const[,ne]=St(Be,"static");H=ne}return this.initialized=!0,H}resolveLangBasedOnScope(Be){return Bt(Be)?Yt(Be):Be}resolveLangPath(Be,G){return G?`${G}/${Be}`:Be}}class Xt{constructor(Be){this.translocoService=Be}resolve({inline:Be,provider:G}={inline:void 0,provider:void 0}){if(Be)return Be;if(G){if(Ve(G)){const{scope:Q,alias:H=ce(Q)}=G;return this.translocoService._setScopeAlias(Q,H),Q}return G}}}let Tn=(()=>{class Ke{constructor(G,Q,H,ne,q,fe,We,it,Rt){this.translocoService=G,this.tpl=Q,this.providerScope=H,this.providerLang=ne,this.providedLoadingTpl=q,this.vcr=fe,this.cdr=We,this.host=it,this.renderer=Rt,this.subscription=null,this.translationMemo={},this.params={},this.initialized=!1,this.langResolver=new Ft,this.scopeResolver=new Xt(this.translocoService),this.strategy=null===this.tpl?"attribute":"structural"}static ngTemplateContextGuard(G,Q){return!0}ngOnInit(){const G=qt(this.translocoService,this.providerLang||this.inlineLang);this.subscription=this.translocoService.langChanges$.pipe((0,W.n)(H=>{const ne=this.langResolver.resolve({inline:this.inlineLang,provider:this.providerLang,active:H});return Array.isArray(this.providerScope)?(0,y.p)(this.providerScope.map(q=>this.resolveScope(ne,q))):this.resolveScope(ne,this.providerScope)}),Qe(G)).subscribe(()=>{this.currentLang=this.langResolver.resolveLangBasedOnScope(this.path),"attribute"===this.strategy?this.attributeStrategy():this.structuralStrategy(this.currentLang,this.inlineRead),this.cdr.markForCheck(),this.initialized=!0});const Q=this.getLoadingTpl();!this.initialized&&Q&&(this.loaderTplHandler=new vn(Q,this.vcr),this.loaderTplHandler.attachView())}ngOnChanges(G){"attribute"===this.strategy&&Object.keys(G).some(H=>!G[H].firstChange)&&this.attributeStrategy()}attributeStrategy(){this.detachLoader(),this.renderer.setProperty(this.host.nativeElement,"innerText",this.translocoService.translate(this.key,this.params,this.currentLang))}structuralStrategy(G,Q){this.translationMemo={},this.view?(this.view.context.$implicit=this.getTranslateFn(G,Q),this.view.context.currentLang=this.currentLang):(this.detachLoader(),this.view=this.vcr.createEmbeddedView(this.tpl,{$implicit:this.getTranslateFn(G,Q),currentLang:this.currentLang}))}getTranslateFn(G,Q){return(H,ne)=>{const q=Q?`${Q}.${H}`:H,fe=ne?`${q}${JSON.stringify(ne)}`:q;return Object.prototype.hasOwnProperty.call(this.translationMemo,fe)||(this.translationMemo[fe]={params:ne,value:this.translocoService.translate(q,ne,G)}),this.translationMemo[fe].value}}getLoadingTpl(){return this.inlineTpl||this.providedLoadingTpl}ngOnDestroy(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=null)}detachLoader(){this.loaderTplHandler?.detachView()}resolveScope(G,Q){const H=this.scopeResolver.resolve({inline:this.inlineScope,provider:Q});this.path=this.langResolver.resolveLangPath(G,H);const ne=Ie(Q,H);return this.translocoService._loadDependencies(this.path,ne)}}return Ke.\u0275fac=function(G){return new(G||Ke)(u.rXU(on),u.rXU(u.C4Q,8),u.rXU(Nt,8),u.rXU(Ht,8),u.rXU(nt,8),u.rXU(u.c1b),u.rXU(u.gRc),u.rXU(u.aKT),u.rXU(u.sFG))},Ke.\u0275dir=u.FsC({type:Ke,selectors:[["","transloco",""]],inputs:{key:[u.Mj6.None,"transloco","key"],params:[u.Mj6.None,"translocoParams","params"],inlineScope:[u.Mj6.None,"translocoScope","inlineScope"],inlineRead:[u.Mj6.None,"translocoRead","inlineRead"],inlineLang:[u.Mj6.None,"translocoLang","inlineLang"],inlineTpl:[u.Mj6.None,"translocoLoadingTpl","inlineTpl"]},features:[u.OA$]}),Ke})(),An=(()=>{class Ke{constructor(G,Q,H,ne){this.translocoService=G,this.providerScope=Q,this.providerLang=H,this.cdr=ne,this.subscription=null,this.lastValue="",this.langResolver=new Ft,this.scopeResolver=new Xt(this.translocoService)}transform(G,Q,H){if(!G)return G;const ne=Q?`${G}${JSON.stringify(Q)}`:G;if(ne===this.lastKey)return this.lastValue;this.lastKey=ne,this.subscription?.unsubscribe();const q=qt(this.translocoService,this.providerLang||H);return this.subscription=this.translocoService.langChanges$.pipe((0,W.n)(fe=>{const We=this.langResolver.resolve({inline:H,provider:this.providerLang,active:fe});return Array.isArray(this.providerScope)?(0,y.p)(this.providerScope.map(it=>this.resolveScope(We,it))):this.resolveScope(We,this.providerScope)}),Qe(q)).subscribe(()=>this.updateValue(G,Q)),this.lastValue}ngOnDestroy(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=null)}updateValue(G,Q){const H=this.langResolver.resolveLangBasedOnScope(this.path);this.lastValue=this.translocoService.translate(G,Q,H),this.cdr.markForCheck()}resolveScope(G,Q){const H=this.scopeResolver.resolve({inline:void 0,provider:Q});this.path=this.langResolver.resolveLangPath(G,H);const ne=Ie(Q,H);return this.translocoService._loadDependencies(this.path,ne)}}return Ke.\u0275fac=function(G){return new(G||Ke)(u.rXU(on,16),u.rXU(Nt,24),u.rXU(Ht,24),u.rXU(u.gRc,16))},Ke.\u0275pipe=u.EJ8({name:"transloco",type:Ke,pure:!1}),Ke})();const si=[{provide:$e,useClass:Ye,deps:[Oe]},{provide:Vt,useClass:rn},{provide:En,useClass:un},{provide:wn,useClass:Kn,deps:[Oe]}];let lt=(()=>{class Ke{}return Ke.\u0275fac=function(G){return new(G||Ke)},Ke.\u0275mod=u.$C({type:Ke}),Ke.\u0275inj=u.G2t({providers:[si]}),Ke})();new u.nKC("TRANSLOCO_TEST_LANGS - Available testing languages"),new u.nKC("TRANSLOCO_TEST_OPTIONS - Testing options")},27056:(Me,K,o)=>{"use strict";o.d(K,{ZA:()=>v});var u=o(54438),e=o(21413),h=o(57786);let v=(()=>{class C{errorHandler;subjects=[];constructor(P){this.errorHandler=P}create(P){const B={};return this.subjects.push(B),new Proxy(function ee(){},function c({subjectMap:C,transformsMap:x,effectMap:P,errorHandler:B=null}){function W(se){return C[se]||(C[se]=new e.B),C[se]}function ee(se,Y){C[Y]=C[Y]||new e.B;try{const re=x&&x[Y]?x[Y](se):se;C[Y].next(re)}catch(re){B?.handleError(re)}}return{apply(se,Y,re){re.forEach(ve=>Object.entries(ve).forEach(([le,Ee])=>ee(Ee,le)))},get(se,Y){const re=Y;if("$"===re.toString().split("").pop())return 1===re.toString().length?le=>(0,h.h)(...le.map(Ee=>W(Ee))):W(re.toString().slice(0,-1));if(re.toString().startsWith("on")){const ve=re.toString().slice(2),le=ve.charAt(0).toLowerCase()+ve.slice(1);return(Ee,F)=>{const j=W(le).pipe(Ee).subscribe(F);return P[le]=j,()=>j.unsubscribe()}}return ve=>{ee(ve,re)}},set(){throw new Error("No setters available. To emit call the property name.")}}}({subjectMap:B,effectMap:{},transformsMap:P,errorHandler:this.errorHandler??null}))}destroy(){this.subjects.forEach(P=>{Object.values(P).forEach(B=>B.complete())})}ngOnDestroy(){this.destroy()}static \u0275fac=function(B){return new(B||C)(u.KVO(u.zcH,8))};static \u0275prov=u.jDH({token:C,factory:C.\u0275fac})}return C})()},92975:(Me,K,o)=>{"use strict";o.d(K,{jy:()=>Ve,OZ:()=>Kn,bX:()=>we,$j:()=>mt,Lt:()=>wn,$z:()=>En});var u=o(21413),e=o(84412),h=o(57786),c=o(96780),y=o(39687);const T=new class R extends y.q{}(class v extends c.R{constructor(Bt,Yt){super(Bt,Yt),this.scheduler=Bt,this.work=Yt}schedule(Bt,Yt=0){return Yt>0?super.schedule(Bt,Yt):(this.delay=Yt,this.state=Bt,this.scheduler.flush(this),this)}execute(Bt,Yt){return Yt>0||this.closed?super.execute(Bt,Yt):this._execute(Bt,Yt)}requestAsyncId(Bt,Yt,St=0){return null!=St&&St>0||null==St&&this.delay>0?super.requestAsyncId(Bt,Yt,St):(Bt.flush(this),0)}});var S=o(983),C=o(85343),x=o(23294),P=o(26365),B=o(40941),W=o(39974),ee=o(54360),se=o(58750),Y=o(33669),re=o(9326),le=o(22816),Ee=o(88141),F=o(99437),j=o(31927),te=o(92771),J=o(70354),$=o(98071),ue=o(5964),Te=o(96354),_e=o(69568);const Ge=(Mt,Bt)=>({...Mt,...Bt});function Ve(Mt=new u.B,Bt=new u.B,Yt=new e.t(Ge)){const St=(0,h.h)(Mt.pipe((0,x.F)(),(0,P.U)(),(0,B.Q)(T)),Bt.pipe((0,B.Q)(T))).pipe(function ve(...Mt){const Bt=(0,re.ms)(Mt);return(0,W.N)((Yt,St)=>{const qt=Mt.length,Qe=new Array(qt);let he=Mt.map(()=>!1),Ie=!1;for(let xe=0;xe{Qe[xe]=je,!Ie&&!he[xe]&&(he[xe]=!0,(Ie=he.every(Y.D))&&(he=null))},C.l));Yt.subscribe((0,ee._)(St,xe=>{if(Ie){const je=[xe,...Qe];St.next(Bt?Bt(...je):je)}}))})}(Yt.pipe((0,B.Q)(T))),(0,le.S)((ze,[gt,kt])=>kt(ze,gt),{}),(0,Ee.M)(ze=>Qe.state=ze,ze=>console.error(ze)),(0,F.W)(ze=>S.w),(0,j.m)()),qt=St.pipe(function ce(Mt,Bt,Yt,St){Yt&&!(0,$.T)(Yt)&&(St=Yt);const qt=(0,$.T)(Yt)?Yt:void 0;return Qe=>(0,J.f)(new te.m(Mt,Bt,St),qt)(Qe)}(1)),Qe={state:{},signal$:St,state$:qt,nextSlice:function Ie(ze){Bt.next(ze)},nextSliceObservable:function xe(ze){Mt.next(ze)},nextAccumulator:function he(ze){Yt.next(ze)},subscribe:function je(){const ze=Qe.signal$.connect();return ze.add(Qe.state$.connect()),ze.add(()=>{Yt.complete(),Mt.complete(),Bt.complete()}),ze}};return Qe}function at(Mt){return!!Array.isArray(Mt)&&Mt.length>0&&Mt.every(Bt=>"function"==typeof Bt)}function ye(Mt){return!!Array.isArray(Mt)&&Mt.length>0&&Mt.every(Bt=>"string"==typeof Bt)}function we(Mt){return null!=Mt&&["string","symbol","number"].includes(typeof Mt)}function Ce(Mt){return null!=Mt&&"object"==typeof Mt&&!Array.isArray(Mt)}function $e(Mt){return null!=Mt}function mt(Mt,Bt){if(!$e(Mt))return Mt;if(!$e(Bt))return;const Yt=(Array.isArray(Bt)?Bt:[Bt]).filter(qt=>we(qt));if(0===Yt.length||!Ce(Mt)||0===Object.keys(Mt).length)return;let St=Mt[Yt.shift()];return Yt.forEach(qt=>{Ce(St)&&we(qt)&&(St=St[qt])}),St}function tn(Mt,Bt){return Mt===Bt}function rn(Mt){return Mt?1===Mt.length?Mt[0]:function(Yt){return Mt.reduce((St,qt)=>qt(St),Yt)}:C.l}function En(Mt,Bt){return Yt=>Yt.pipe((0,ue.p)(St=>void 0!==St),(0,Te.T)(St=>{if(null===St)return null;const qt=Mt.filter(Qe=>St.hasOwnProperty(Qe)&&void 0!==St[Qe]);return qt.length(Qe[he]=St[he],Qe),{})}),(0,ue.p)(St=>void 0!==St),function Vt(Mt,Bt){let Yt=(St,qt)=>Mt.some(Qe=>!tn(mt(St,[Qe]),mt(qt,[Qe])));if(void 0!==Bt){const St=qt=>Bt.hasOwnProperty(qt)&&void 0!==Bt[qt]?Bt[qt]:tn;Yt=(qt,Qe)=>Mt.some(he=>!St(he)(mt(qt,[he]),mt(Qe,[he])))}return(0,x.F)((St,qt)=>!Yt(St,qt))}(Mt,Bt))}function un(...Mt){return Bt=>Bt.pipe((0,x.F)(),Yt=>at(Mt)?Yt.pipe(rn(Mt)):Yt,(0,ue.p)(Yt=>void 0!==Yt),(0,x.F)(),(0,_e.t)({bufferSize:1,refCount:!0}))}function wn(...Mt){return Bt=>{if(!Mt||0===Mt.length)return Bt.pipe(un());if(function Ye(Mt){return"string"==typeof Mt[0]&&"function"==typeof Mt[1]}(Mt))return Bt.pipe(un((0,Te.T)(Yt=>Mt[1](Yt[Mt[0]]))));if(function ut(Mt){return ye(Mt[0])&&"function"==typeof Mt[1]&&(void 0===Mt[2]||"object"==typeof Mt[2])}(Mt))return Bt.pipe(En(Mt[0],Mt[2]),un((0,Te.T)(Mt[1])));if(ye(Mt))return Bt.pipe(un((0,Te.T)(Yt=>Mt.reduce((St,qt)=>St?.[qt],Yt))));if(at(Mt))return Bt.pipe(un(rn(Mt)));throw new Error("wrong params passed to select")}}function Kn(Mt=new u.B){const Bt=(0,h.h)(Mt.pipe((0,P.U)(),(0,B.Q)(T)));return{effects$:Bt,nextEffectObservable:function Yt(qt){Mt.next(qt)},subscribe:function St(){return Bt.subscribe()}}}},94768:(Me,K,o)=>{"use strict";o.d(K,{Y:()=>C});var u=o(54438),e=o(89079),h=o(92975),c=o(18359),v=o(74402),y=o(983),R=o(96354),T=o(99437),A=o(88141);let C=(()=>{class P{subscription=new c.yU;accumulator=(0,h.jy)();effectObservable=(0,h.OZ)();injector=(0,u.WQX)(u.zZn);signalStoreProxy;$=this.accumulator.signal$;constructor(){this.subscription.add(this.subscribe())}ngOnDestroy(){this.subscription.unsubscribe()}setAccumulator(W){this.accumulator.nextAccumulator(W)}get(...W){const ee=Object.keys(this.accumulator.state).length>0;return W&&W.length?(0,h.$j)(this.accumulator.state,W):ee?this.accumulator.state:void 0}set(W,ee){if("object"!=typeof W||void 0!==ee){if("function"!=typeof W||void 0!==ee){if((0,h.bX)(W)&&"function"==typeof ee){const se={};return se[W]=ee(this.accumulator.state),void this.accumulator.nextSlice(se)}throw new Error("wrong params passed to set")}this.accumulator.nextSlice(W(this.accumulator.state))}else this.accumulator.nextSlice(W)}connect(W,ee,se){if(!(0,v.A)(W)||ee||se)if(!(0,u.Hps)(W)||ee||se)if((0,v.A)(W)&&ee&&"function"==typeof ee&&!se){const Y=ee,re=W.pipe((0,R.T)(ve=>Y(this.accumulator.state,ve)));this.accumulator.nextSliceObservable(re)}else if((0,u.Hps)(W)&&ee&&"function"==typeof ee&&!se){const Y=ee,re=(0,e.br)(W,{injector:this.injector}).pipe((0,R.T)(ve=>Y(this.accumulator.state,ve)));this.accumulator.nextSliceObservable(re)}else if((0,h.bX)(W)&&(0,v.A)(ee)&&!se){const Y=ee.pipe((0,R.T)(re=>({[W]:re})));this.accumulator.nextSliceObservable(Y)}else if((0,h.bX)(W)&&(0,u.Hps)(ee)&&!se){const Y=(0,e.br)(ee,{injector:this.injector}).pipe((0,R.T)(re=>({[W]:re})));this.accumulator.nextSliceObservable(Y)}else if(se&&"function"==typeof se&&(0,h.bX)(W)&&(0,v.A)(ee)){const Y=W,re=ee.pipe((0,R.T)(ve=>({[Y]:se(this.get(),ve)})));this.accumulator.nextSliceObservable(re)}else{if(!(se&&"function"==typeof se&&(0,h.bX)(W)&&(0,u.Hps)(ee)))throw new Error("wrong params passed to connect");{const Y=W,re=(0,e.br)(ee,{injector:this.injector}).pipe((0,R.T)(ve=>({[Y]:se(this.get(),ve)})));this.accumulator.nextSliceObservable(re)}}else this.accumulator.nextSliceObservable((0,e.br)(W,{injector:this.injector}));else this.accumulator.nextSliceObservable(W)}select(...W){return this.accumulator.state$.pipe((0,h.Lt)(...W))}signal(W){return this.signalStoreProxy[W]}computed(W){return(0,u.EWP)(()=>W(this.signalStoreProxy))}computedFrom(...W){return(0,e.ot)(this.select(...W),{injector:this.injector,requireSync:!0})}hold(W,ee){const se=W.pipe((0,T.W)(Y=>y.w));this.effectObservable.nextEffectObservable("function"!=typeof ee?se:se.pipe((0,A.M)(ee)))}subscribe(){const W=new c.yU;return W.add(this.accumulator.subscribe()),W.add(this.effectObservable.subscribe()),this.signalStoreProxy=function S(P,B){const W=(0,u.WQX)(u.abz);return new Proxy({},{get(se,Y){let re=se[Y];if(!re){const ve=B(Y);re=(0,u.vPA)(ve),se[Y]=re,P.pipe((0,h.Lt)(Y),(0,e.pQ)(W)).subscribe(le=>re.set(le))}return re},has:(se,Y)=>!!se[Y],ownKeys:se=>[...Reflect.ownKeys(se)],getOwnPropertyDescriptor:(se,Y)=>({enumerable:!0,configurable:!0}),set:()=>!0})}(this.$,this.get.bind(this)),W}static \u0275fac=function(ee){return new(ee||P)};static \u0275prov=u.jDH({token:P,factory:P.\u0275fac})}return P})()},78748:(Me,K,o)=>{"use strict";o.d(K,{C7:()=>y,qt:()=>P});var u=o(54438),e=o(5964),h=o(51188),c=o(60177);let v=(()=>{class B{}return B.\u0275fac=function(ee){return new(ee||B)},B.\u0275prov=u.jDH({token:B,factory:B.\u0275fac}),B})(),y=(()=>{class B{constructor(ee,se,Y,re,ve){this.config=ee,this.platformId=se,this.router=Y,this.rendererFactory=re,this.document=ve,(0,c.UE)(this.platformId)&&(this.renderer2=this.rendererFactory.createRenderer(this.document,{id:"-1",encapsulation:u.gXe.None,styles:[],data:{}}),ee&&ee.updateOnRouterChange?this.router.events.pipe((0,e.p)(le=>le instanceof h.wF)).subscribe(le=>{this.update()}):(0,u.naY)()&&console.warn("\n Common practice in single page applications is to update whenever the route changes.\n ng-intercom supports this functionality out of the box just set 'updateOnRouterChange' to true in your Intercom Module config.\n This warning will not appear in production, if you choose not to use router updating.\n "))}boot(ee){if(!(0,c.UE)(this.platformId))return;const se=ee.app_id?ee.app_id:this.config.appId;if(!se)throw new Error("Please provide Intercom app_id either in module config or in the `boot()` method");this.loadIntercom(this.config,Y=>{const re={...ee,app_id:se};return this._callIntercom("boot",re)})}shutdown(){return this._callIntercom("shutdown")}update(ee){return this._callIntercom("update",ee)}hide(){return this._callIntercom("hide")}show(ee){return ee?this.showNewMessage(ee):this._callIntercom("show")}showMessages(){return this._callIntercom("showMessages")}showNewMessage(ee){return this._callIntercom("showNewMessage",ee)}trackEvent(ee,se){return this._callIntercom("trackEvent",ee,se)}getVisitorId(){return this._callIntercom("getVisitorId")}get visitorId(){return this._callIntercom("getVisitorId")}onShow(ee){return this._callIntercom("onShow",ee)}onHide(ee){return this._callIntercom("onHide",ee)}onUnreadCountChange(ee){return this._callIntercom("onUnreadCountChange",ee)}startTour(ee){return this._callIntercom("startTour",ee)}_callIntercom(ee,...se){if((0,c.UE)(this.platformId)&&window.Intercom)return window.Intercom(ee,...se)}injectIntercomScript(ee,se){if(!(0,c.UE)(this.platformId))return;window.intercomSettings=ee;const Y=this.document.createElement("script");Y.type="text/javascript",Y.async=!0,Y.src=`https://widget.intercom.io/widget/${this.id}`,Y.attachEvent?Y.attachEvent("onload",se):Y.addEventListener("load",se,!1),this.renderer2&&this.renderer2.appendChild&&this.renderer2.appendChild(this.document.head,Y),window.Intercom("update",ee)}loadIntercom(ee,se){if(!(0,c.UE)(this.platformId))return;this.id=ee.appId;const Y=window,re=Y.Intercom;if(Y.intercomSettings=ee,"function"==typeof re)re("reattach_activator"),re("update",ee),se();else{const ve=function(){ve.c(arguments)};ve.q=[],ve.c=function(le){ve.q.push(le)},Y.Intercom=ve,this.injectIntercomScript(ee,se)}}}return B.\u0275fac=function(ee){return new(ee||B)(u.KVO(v),u.KVO(u.Agw),u.KVO(h.Ix,8),u.KVO(u._9s),u.KVO(c.qQ,8))},B.\u0275prov=u.jDH({token:B,factory:B.\u0275fac}),B})(),P=(()=>{class B{static forRoot(ee){return{ngModule:B,providers:[y,{provide:v,useValue:ee}]}}}return B.\u0275fac=function(ee){return new(ee||B)},B.\u0275mod=u.$C({type:B}),B.\u0275inj=u.G2t({providers:[y,v],imports:[h.iI]}),B})()},10467:(Me,K,o)=>{"use strict";function u(h,c,v,y,R,T,A){try{var S=h[T](A),C=S.value}catch(x){return void v(x)}S.done?c(C):Promise.resolve(C).then(y,R)}function e(h){return function(){var c=this,v=arguments;return new Promise(function(y,R){var T=h.apply(c,v);function A(C){u(T,y,R,A,S,"next",C)}function S(C){u(T,y,R,A,S,"throw",C)}A(void 0)})}}o.d(K,{A:()=>e})},31635:(Me,K,o)=>{"use strict";o.d(K,{AQ:()=>Ee,Cl:()=>h,N3:()=>le,Tt:()=>c,YH:()=>P,fX:()=>ve,sH:()=>x,xN:()=>j});var h=function(){return h=Object.assign||function(Oe){for(var we,Ce=1,$e=arguments.length;Ce<$e;Ce++)for(var Ye in we=arguments[Ce])Object.prototype.hasOwnProperty.call(we,Ye)&&(Oe[Ye]=we[Ye]);return Oe},h.apply(this,arguments)};function c(ye,Oe){var we={};for(var Ce in ye)Object.prototype.hasOwnProperty.call(ye,Ce)&&Oe.indexOf(Ce)<0&&(we[Ce]=ye[Ce]);if(null!=ye&&"function"==typeof Object.getOwnPropertySymbols){var $e=0;for(Ce=Object.getOwnPropertySymbols(ye);$e0&&Ye[Ye.length-1])&&(6===Vt[0]||2===Vt[0])){we=0;continue}if(3===Vt[0]&&(!Ye||Vt[1]>Ye[0]&&Vt[1]1||mt(un,wn)})})}function mt(un,wn){try{!function tn(un){un.value instanceof le?Promise.resolve(un.value.v).then(Vt,rn):En(Ye[0][2],un)}(Ce[un](wn))}catch(Kn){En(Ye[0][3],Kn)}}function Vt(un){mt("next",un)}function rn(un){mt("throw",un)}function En(un,wn){un(wn),Ye.shift(),Ye.length&&mt(Ye[0][0],Ye[0][1])}}function j(ye){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var we,Oe=ye[Symbol.asyncIterator];return Oe?Oe.call(ye):(ye=function ee(ye){var Oe="function"==typeof Symbol&&Symbol.iterator,we=Oe&&ye[Oe],Ce=0;if(we)return we.call(ye);if(ye&&"number"==typeof ye.length)return{next:function(){return ye&&Ce>=ye.length&&(ye=void 0),{value:ye&&ye[Ce++],done:!ye}}};throw new TypeError(Oe?"Object is not iterable.":"Symbol.iterator is not defined.")}(ye),we={},Ce("next"),Ce("throw"),Ce("return"),we[Symbol.asyncIterator]=function(){return this},we);function Ce(Ye){we[Ye]=ye[Ye]&&function(ut){return new Promise(function(mt,tn){!function $e(Ye,ut,mt,tn){Promise.resolve(tn).then(function(Vt){Ye({value:Vt,done:mt})},ut)}(mt,tn,(ut=ye[Ye](ut)).done,ut.value)})}}}"function"==typeof SuppressedError&&SuppressedError}},Me=>{Me(Me.s=75563)}]);