1import{h as j,j as z}from"./chunk-LBFZVMBI.js";import{b as Q}from"./chunk-SQXH55RY.js";import{O as Y}from"./chunk-2RZNBXEW.js";import{F as W,fa as O,i as V,j as A,k as H,r as L,sa as R,v as D}from"./chunk-LKIBVTZY.js";import{$a as T,A as S,B as w,Da as m,Ia as e,Ja as r,Ka as c,Oa as x,Ra as h,Sa as C,Za as F,_a as P,bb as p,cb as f,da as k,ga as a,ha as v,ma as y,nb as M,ob as _,p as b,pb as E,sb as u,tb as g,xa as B}from"./chunk-LZGEQQYD.js";var q=["floatingBox"],I=()=>["/MobileExplore"],N=s=>({visibility:s});function G(s,d){if(s&1){let U=x();e(0,"div",4)(1,"a",5),h("click",function(){S(U);let i=C();return w(i.openAffiliate())}),e(2,"i",22),c(3,"i",23)(4,"i",24)(5,"i",25),r(),e(6,"span"),p(7),u(8,"translate"),r()()()}s&2&&(a(7),f(g(8,1,"contactPage.affiliate")))}var le=(()=>{let d=class d{constructor(n,i,t,o,l){this.globalData=n,this.cmsService=i,this.renderer=t,this.accountInfoService=o,this.langService=l,this.topPosition=null,this.isShowBackTop=!1,this.lastScrollY=0}ngOnInit(){this.cmsService.setAffiliateOpened()}ngAfterViewInit(){this.setPosition()}onScroll(n){window.scrollY>100?this.isShowBackTop=!0:this.isShowBackTop=!1,this.setPosition()}onWindowResize(){this.setPosition()}setPosition(){var l;let n=(l=document.querySelector("main .container"))==null?void 0:l.getBoundingClientRect();if(!n)return;let i=n.top,t=window.innerHeight,o=window.scrollY>this.lastScrollY;i>t-220?this.topPosition=t-220:i>t/3?this.topPosition=i+10:o&&(this.topPosition=t/3+10),this.topPosition=this.topPosition+"px",this.renderer.setStyle(this.floatingBox.nativeElement,"top",this.topPosition),this.lastScrollY=window.scrollY}backTop(){window.scroll({top:0,left:0,behavior:"smooth"})}openAffiliate(){let n=this.cmsService.affUrlTransfer();this.globalData.openWindows(n,"Affiliate")}};d.\u0275fac=function(i){return new(i||d)(v(R),v(Y),v(y),v(Q),v(H))},d.\u0275cmp=b({type:d,selectors:[["app-floating-menu"]],viewQuery:function(i,t){if(i&1&&F(q,5),i&2){let o;P(o=T())&&(t.floatingBox=o.first)}},hostBindings:function(i,t){i&1&&h("scroll",function(l){return t.onScroll(l)},!1,k)("resize",function(){return t.onWindowResize()},!1,k)},standalone:!0,features:[M],decls:43,vars:27,consts:[["floatingBox",""],[1,"floating-box"],[1,"floating-menu"],["class","item",4,"ngIf"],[1,"item"],[1,"floating-icon-box",3,"click"],[1,"icon-ContactUs"],["fragment","Android",1,"floating-icon-box",3,"routerLink"],[1,"icon-mobileapp"],[1,"floating-content"],[1,"floating-download-box"],[1,"heading"],[1,"hover-opacity"],["fragment","Android",3,"routerLink"],[1,"icon-Android"],["fragment","iOS",3,"routerLink"],[1,"icon-apple"],[1,"icon-Information"],[1,"floating-menu",3,"ngStyle"],[1,"item",3,"click"],[1,"floating-icon-box"],[1,"icon-backtop"],[1,"icon-affiliate-stack"],[1,"icon-aff1"],[1,"icon-aff2"],[1,"icon-aff3"]],template:function(i,t){if(i&1){let o=x();e(0,"div",1,0)(2,"div",2),B(3,G,9,3,"div",3),e(4,"div",4)(5,"a",5),h("click",function(){return S(o),w(t.globalData.openWindowWithBaseHref("Contact"))}),c(6,"i",6),e(7,"span"),p(8),u(9,"translate"),r()()(),e(10,"div",4)(11,"a",7),c(12,"i",8),e(13,"span"),p(14),u(15,"translate"),r()(),e(16,"div",9)(17,"div",10)(18,"strong",11),p(19),u(20,"translate"),r(),e(21,"ul")(22,"li",12)(23,"a",13),c(24,"i",14),e(25,"span"),p(26),u(27,"translate"),r()()(),e(28,"li",12)(29,"a",15),c(30,"i",16),e(31,"span"),p(32,"IOS"),r()()()()()()(),e(33,"div",4)(34,"a",5),h("click",function(){return S(o),w(t.globalData.openWindowWithBaseHref("Help"))}),c(35,"i",17),e(36,"span"),p(37),u(38,"translate"),r()()()(),e(39,"div",18)(40,"div",19),h("click",function(){return S(o),w(t.backTop())}),e(41,"a",20),c(42,"i",21),r()()()()}i&2&&(m("@loadFadeIn",void 0),a(3),m("ngIf",t.cmsService.isAffiliateOpenForWeb),a(5),f(g(9,12,"contactPage.contactUs")),a(3),m("routerLink",_(22,I)),a(3),f(g(15,14,"mobileDownloadPage.pageTitle")),a(5),f(g(20,16,"mobileDownloadPage.pageTitle")),a(4),m("routerLink",_(23,I)),a(3),f(g(27,18,"mobileDownloadPage.Android")),a(3),m("routerLink",_(24,I)),a(8),f(g(38,20,"helpMenu.helpCenter")),a(2),m("@loadFadeInOut",void 0)("ngStyle",E(25,N,t.isShowBackTop?"visible":"hidden")))},dependencies:[O,D,A,V,W,L],encapsulation:2,data:{animation:[z,j]}});let s=d;return s})();export{le as a};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.