class i{constructor(n,e){this.platformId=n;this.service=e;this.isBrowser.set(O(this.platformId))}platformId;service;destroyRef=_(R);sEOService=_(j);hiddenTags=g([]);isBrowser=g(!1);onLoading=g(!1);mappingId=I("");data=g({});realIndex=g(0);readyToshow=g(!1);firstImageLoaded=g(!1);remainingLoaded=g(!1);carouselActivated=g(!1);customOptions=g({loop:!0,items:1,autoplay:!0,autoplayTimeout:3e3,autoplayHoverPause:!1,dots:!0,nav:!1});ngOnInit(){this.onLoading.set(!0),this.setHiddenTags(this.mappingId()),this.service.getBanner$(this.mappingId()).pipe(w(this.destroyRef),ne(n=>{let e=(n.bannerSettingBase??[]).filter(t=>t.isOn&&t.pcImageUrl&&t.mbImageUrl);return re(J({},n),{bannerSettingBase:e})}),y(n=>{let e=n.carouselInterval??5;this.customOptions.update(t=>re(J({},t),{autoplayTimeout:e*1e3})),this.data.set(n),this.preloadFirstImage()}),q(()=>this.onLoading.set(!1))).subscribe()}ngAfterViewInit(){this.isBrowser()&&this.readyToshow.set(!0)}onFirstImageLoad(){if(!this.firstImageLoaded()&&(this.firstImageLoaded.set(!0),this.isBrowser())){let n=()=>this.carouselActivated.set(!0);try{typeof window<"u"&&"requestIdleCallback"in window?window.requestIdleCallback(()=>{n()},{timeout:800}):setTimeout(()=>{n()},120)}catch{setTimeout(()=>{n()},120)}this.startLCPGate()}}lcpGateStarted=!1;startLCPGate(){if(this.lcpGateStarted||(this.lcpGateStarted=!0,!this.isBrowser()))return;let n=!1,e=()=>{n||(n=!0,this.loadRestImages())},t=setTimeout(e,1800);try{if("PerformanceObserver"in window){let a=new PerformanceObserver(o=>{o.getEntries().length&&(e(),clearTimeout(t),a.disconnect())});a.observe({type:"largest-contentful-paint",buffered:!0})}}catch{}}loadRestImages(){this.remainingLoaded()||this.remainingLoaded.set(!0)}preloadFirstImage(){if(!this.isBrowser())return;let n=this.data().bannerSettingBase?.[0];if(!n?.pcImageUrl)return;let e=n.pcImageUrl;if(document.querySelector(`link[rel=preload][href="${e}"]`))return;let t=document.createElement("link");t.rel="preload",t.as="image",t.href=e,t.fetchPriority="high",document.head.appendChild(t)}onTranslated(n){n?.startPosition!==void 0&&(this.realIndex.set(n.startPosition),!this.remainingLoaded()&&n.startPosition>=1&&this.remainingLoaded.set(!0))}setHiddenTags=(n="")=>{n&&this.sEOService.apiSEOSEOTitleGet(n).pipe(w(this.destroyRef)).subscribe(e=>{this.hiddenTags.set(e)})};static \u0275fac=function(e){return new(e||i)(S(L),S(we))};static \u0275cmp=M({type:i,selectors:[["banner1"]],inputs:{mappingId:[1,"mappingId"]},features:[me([we])],decls:3,vars:1,consts:[[1,"relative","pb-20","pad:pb-5","min-h-[380px]","pad:min-h-[400px]"],[3,"tagsData"],[1,"overflow-hidden","pad:pl-20"],[1,"custom-style",3,"options"],[1,"absolute","aspect-[230/180]","min-h-[220px]","pad:h-auto","pad:min-h-[330px]","max-w-[48%]","pad:max-w-[42%]","pad:aspect-[540/330]","bottom-0","left-0","z-10","bg-primary-600/[.95]","bg-[url(/assets/images/modules/infinite-white.png)]","rounded-br-[100px]","pad:rounded-tl-[100px]","pt-7","pad:pt-11","pad:pb-10",3,"ngClass"],[1,"w-full","px-4","pad:ml-[10%]"],[1,"text-xs","font-normal","text-left","text-white","pad:text-base","w-full","pad:w-[164px]","overflow-hidden","whitespace-nowrap"],[1,"mt-2.5","h-[60px]","pad:pr-12","pad:h-auto","overflow-y-hidden","w-full","text-2xl","text-white","pad:text-[35px]","break-words","leading-tight"],[1,"hidden","tracking-[0px]","mt-5","overflow-hidden","text-base","pad:w-[355px]","text-white","whitespace-nowrap","pad:block"],["target","_blank","rel","noreferrer noopener","appMonitorBizLoan","",1,"mt-8","pad:mt-9","inline-block","text-sm","pad:text-base","px-4","py-3","overflow-hidden","text-center","w-[118px]","pad:w-[210px]","truncate","bg-white","rounded-full","whitespace-nowrap","text-ellipsis","pad:px-6","pad:py-2","text-dark-500","hover:bg-gray-200",3,"href"],[1,"custom-style",3,"translated","options"],["carouselSlide",""],[1,"aspect-[1150/490]","min-h-[300px]","pad:min-h-[400px]","w-full","bg-gray-200","animate-pulse","pad:rounded-br-[100px]"],["media","(min-width: 768px)",3,"srcset"],["decoding","async","loading","eager","fetchpriority","high",1,"aspect-[1150/490]","min-h-[380px]","pad:min-h-[400px]","w-full","object-cover","pad:rounded-br-[100px]",3,"alt","src"],[1,"hidden","pad:block"],["decoding","async","loading","lazy","fetchpriority","low",1,"aspect-[1150/490]","min-h-[380px]","pad:min-h-[400px]","w-full","object-cover","hidden","pc:block","pad:rounded-br-[100px]",3,"alt","src"],[1,"pad:hidden"],["media","(max-width: 768px)",3,"srcset"],["decoding","async","loading","lazy","fetchpriority","low",1,"min-h-[300px]","w-full","object-cover","pc:hidden",3,"alt","src"],["media","(min-width: 768px)"],["width","1150","height","490","decoding","async","loading","eager","fetchpriority","high",1,"aspect-[1150/490]","min-h-[380px]","pad:min-h-[400px]","w-full","object-cover","pad:rounded-br-[100px]",3,"load","alt"]],template:function(e,t){if(e&1&&(l(0,"div",0),f(1,da,13,9)(2,ca,0,0),d()),e&2){let a;s(),v(!t.onLoading()&&((a=t.data().bannerSettingBase)!=null&&a.length)?1:t.onLoading()?2:-1)}},dependencies:[G,W,lt,st,Pe,ae,A],styles:[".custom-style .owl-theme .owl-dots .owl-dot span{width:12px!important;height:2px!important}@media screen and (max-width:768px){ .custom-style .owl-theme .owl-dots{padding-left:30px;padding-top:20px} .custom-style .owl-theme .owl-dots .owl-dot{display:inline-block} .custom-style .owl-theme .owl-dots .owl-dot span{width:12px!important;height:2px!important}}"]})}
class i{constructor(n,e){this.platformId=n;this.service=e;this.isBrowser.set(O(this.platformId))}platformId;service;destroyRef=_(R);sEOService=_(j);hiddenTags=g([]);mappingId=I("");isBrowser=g(!1);onLoading=g(!1);data=g({});ngOnInit(){this.onLoading.set(!0),this.setHiddenTags(this.mappingId()),this.service.getIcon1$(this.mappingId()).pipe(w(this.destroyRef),y(n=>{n&&this.data.set(n)}),q(()=>{this.onLoading.set(!1)})).subscribe()}setHiddenTags(n=""){n&&this.sEOService.apiSEOSEOTitleGet(n).pipe(w(this.destroyRef)).subscribe(e=>{this.hiddenTags.set(e)})}static \u0275fac=function(e){return new(e||i)(S(L),S(De))};static \u0275cmp=M({type:i,selectors:[["app-icon1"]],inputs:{mappingId:[1,"mappingId"]},features:[me([De])],decls:2,vars:1,consts:[[3,"tagsData"],[1,"flex","items-center","justify-between","pl-4","font-sans","text-secondary-800","pad:pl-0"],[1,"inline-flex","items-center","pad:text-[32px]","text-[21px]","tracking-[4.3px]","leading-[100%]"],[1,"mr-3.5","pad:mr-[18px]","inline-block","w-[8px]","h-8","pad:h-9","rounded-xl","bg-primary-500"],["target","_blank","appMonitorBizLoan","",1,"items-center","content-center","hidden","pad:flex","hover:text-secondary-950",3,"href"],[1,"flex","flex-col","gap-4","mt-5","pad:grid","pad:grid-cols-4"],[1,"inline-block","mr-2","text-base","font-bold","tracking-[4.3px]"],[1,"inline-flex","items-center","justify-center","w-8","h-8","border","border-gray-400","rounded-md","hover:shadow-md"],["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24","stroke-width","1.5","stroke","currentColor",1,"w-4","h-4"],["stroke-linecap","round","stroke-linejoin","round","d","M5 12h14m0 0-5-5m5 5-5 5"],[1,"flex-1","px-4","py-1.5","rounded-xl","shadow-2xs","hover:shadow-xl"],[1,"transition-transform","duration-300","transform","group-hover:scale-110","max-h-32",3,"src","alt"],[1,"mt-3","text-2xl","font-bold","text-secondary-800"],[1,"mt-2","text-base","break-words","text-dark-101"]],template:function(e,t){if(e&1&&f(0,fa,10,3)(1,va,1,0,"model-loading"),e&2){let a;v(!t.onLoading()&&((a=t.data().tabIconBase)!=null&&a.length)?0:t.onLoading()?1:-1)}},dependencies:[ee,ae,A],encapsulation:2})}
class i{constructor(n,e){this.platformId=n;this.service=e;this.isBrowser.set(O(this.platformId))}platformId;service;destroyRef=_(R);sEOService=_(j);hiddenTags=g([]);mappingId=I("");isBrowser=g(!1);onLoading=g(!1);data=g({});ngOnInit(){this.onLoading.set(!0),this.setHiddenTags(this.mappingId()),this.service.getIcon1$(this.mappingId()).pipe(w(this.destroyRef),y(n=>{n&&this.data.set(n)}),q(()=>{this.onLoading.set(!1)})).subscribe()}onLinkClick(n,e){e||n.preventDefault()}setHiddenTags(n=""){n&&this.sEOService.apiSEOSEOTitleGet(n).pipe(w(this.destroyRef)).subscribe(e=>{this.hiddenTags.set(e)})}static \u0275fac=function(e){return new(e||i)(S(L),S(pt))};static \u0275cmp=M({type:i,selectors:[["app-icon2"]],inputs:{mappingId:[1,"mappingId"]},decls:2,vars:1,consts:[[3,"tagsData"],[1,"icon2"],[1,"font-sans","pad:pl-0","text-secondary-800"],[1,"inline-flex","items-center","pad:text-[32px]","text-[21px]","tracking-[4.3px]","leading-[100%]"],[1,"mr-3.5","pad:mr-[18px]","inline-block","w-[8px]","h-8","pad:h-9","rounded-xl","bg-primary-500"],[1,"grid","grid-cols-3","gap-2.5","mt-7","pad:grid-cols-5"],["target","_blank","appMonitorBizLoan","",1,"flex-1","px-2.5","shadow-md","py-7","rounded-xl",3,"ngClass","href"],[1,"flex-row-reverse","hidden","pad:flex"],["target","_blank","appMonitorBizLoan","",1,"flex-1","px-2.5","shadow-md","py-7","rounded-xl",3,"click","ngClass","href"],[1,"h-12","transition-transform","duration-300","transform","group-hover:scale-110","max-h-12",3,"src","alt"],[1,"mt-4","text-lg","font-bold","text-secondary-800"],[1,"mt-2","text-xs","break-words","pad:text-sm","text-dark-102"],["target","_blank","appMonitorBizLoan","",1,"inline-flex","px-10","py-3","mt-12","text-center","text-white","rounded-full","bg-primary","hover:shadow-md",3,"href"],[1,"inline-block","mr-2","font-bold"],["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24","stroke-width","1.5","stroke","white",1,"w-6","h-6","font-bold"],["stroke-linecap","round","stroke-linejoin","round","d","m8.25 4.5 7.5 7.5-7.5 7.5"]],template:function(e,t){if(e&1&&f(0,ya,10,3)(1,wa,1,0,"model-loading"),e&2){let a;v(!t.onLoading()&&((a=t.data().tabIconBase)!=null&&a.length)?0:t.onLoading()?1:-1)}},dependencies:[G,W,ee,ae,A],encapsulation:2})}
商家收款優勢
class i{constructor(n,e){this.platformId=n;this.service=e;this.isBrowser.set(O(this.platformId))}platformId;service;destroyRef=_(R);ROUTES_CONSTANT=it;sEOService=_(j);hiddenTags=g([]);mappingId=I("");isBrowser=g(!1);activeItem=g(null);pageState=g({article:null});onLoading=g(!1);ngOnInit(){this.isBrowser()&&(this.onLoading.set(!0),this.setHiddenTags(this.mappingId()),this.service.getModuleData$(this.mappingId()).pipe(w(this.destroyRef),ne(n=>re(J({},n),{article:n?.articleBase?.[0]??null})),y(n=>{this.pageState.set(n)}),q(()=>{this.onLoading.set(!1)})).subscribe())}setHiddenTags(n=""){n&&this.sEOService.apiSEOSEOTitleGet(n).pipe(w(this.destroyRef)).subscribe(e=>{this.hiddenTags.set(e)})}static \u0275fac=function(e){return new(e||i)(S(L),S(St))};static \u0275cmp=M({type:i,selectors:[["app-img-text3"]],inputs:{mappingId:[1,"mappingId"]},decls:2,vars:1,consts:[[3,"tagsData"],[1,"img-text3"],[1,"font-sans","flex","items-center","justify-between","text-secondary-800","pad:pl-0","tracking-[4.3px]","leading-[100%]"],[1,"inline-flex","items-center","pad:text-[32px]","text-[21px]"],[1,"mr-3.5","pad:mr-[18px]","inline-block","w-[8px]","h-8","pad:h-9","rounded-xl","bg-primary-500"],[1,"items-center","content-center","pad:flex","hover:text-secondary-950",3,"routerLink"],[1,"hidden","pad:inline-block","mr-2","text-base","font-bold","tracking-[4.3px]"],[1,"inline-flex","items-center","justify-center","w-8","h-8","border","border-gray-400","rounded-md","hover:shadow-md"],["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24","stroke-width","1.5","stroke","currentColor",1,"w-4","h-4"],["stroke-linecap","round","stroke-linejoin","round","d","M5 12h14m0 0-5-5m5 5-5 5"],[1,"mt-6","pad:grid","pad:grid-cols-12","pad:gap-10"],[1,"col-span-4","pad:pl-7"],[1,"flex","items-center","justify-center","overflow-hidden","pad:justify-start","rounded-xl",3,"routerLink"],[1,"object-cover","w-auto","rounded-xl","h-[250px]",3,"src","alt"],[1,"mt-8","pad:col-span-8","pad:mt-0","pad:pr-7"],[1,"w-full","pt-2","overflow-hidden","text-base","leading-7","text-dark-260"]],template:function(e,t){if(e&1&&f(0,Io,17,14)(1,Do,1,0,"model-loading"),e&2){let a;v(!t.onLoading()&&t.pageState()&&(!((a=t.pageState())==null||a.articleBase==null)&&a.articleBase.length)?0:t.onLoading()?1:-1)}},dependencies:[de,ge,ee,A],encapsulation:2})}
class i{constructor(n,e){this.platformId=n;this.service=e;this.isBrowser.set(O(this.platformId))}platformId;service;destroyRef=_(R);ROUTES_CONSTANT=it;sEOService=_(j);hiddenTags=g([]);mappingId=I("");isBrowser=g(!1);onLoading=g(!1);activeItem=g(null);pageState=g({});ngOnInit(){this.onLoading.set(!0),this.setHiddenTags(this.mappingId()),this.service.getModuleData$(this.mappingId()).pipe(w(this.destroyRef),y(n=>{this.pageState.set(n),n||this.onLoading.set(!1)}),q(()=>{this.onLoading.set(!1)})).subscribe()}setHiddenTags(n=""){n&&this.sEOService.apiSEOSEOTitleGet(n).pipe(w(this.destroyRef)).subscribe(e=>{this.hiddenTags.set(e)})}static \u0275fac=function(e){return new(e||i)(S(L),S(xt))};static \u0275cmp=M({type:i,selectors:[["app-img-text2"]],inputs:{mappingId:[1,"mappingId"]},decls:2,vars:1,consts:[[3,"tagsData"],[1,"img-text2"],[1,"flex","items-center","justify-between","font-sans","text-secondary-800"],[1,"inline-flex","items-center","pad:text-[32px]","text-[21px]","tracking-[4.3px]","leading-[100%]"],[1,"mr-3.5","pad:mr-[18px]","inline-block","w-[8px]","h-8","pad:h-9","rounded-xl","bg-primary-500"],["target","_blank",1,"items-center","content-center","pad:flex","hover:text-secondary-950",3,"routerLink"],[1,"hidden","pad:inline-block","mr-2","text-base","font-bold","tracking-[4.3px]"],[1,"inline-flex","items-center","justify-center","w-8","h-8","border","border-gray-400","rounded-md","hover:shadow-md"],["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24","stroke-width","1.5","stroke","currentColor",1,"w-4","h-4"],["stroke-linecap","round","stroke-linejoin","round","d","M5 12h14m0 0-5-5m5 5-5 5"],[1,"grid","gap-3","pad:gap-5","pad:grid-cols-4","pad:grid-rows-none","mt-7","pad:mt-12"],[3,"class","ngClass"],[3,"ngClass"],[1,"flex","justify-center","col-span-2","pad:justify-start",3,"ngClass"],[1,"flex","justify-center","overflow-hidden","pad:max-w-none","pad:w-auto","rounded-xl",3,"ngClass","routerLink"],[1,"overflow-hidden","rounded-lg"],[1,"object-cover","pad:w-auto","rounded-xl","w-[124px]","h-[88px]","mobMax:h-[128px]","mobMax:w-[177px]","transition-transform","duration-300","ease-in-out","hover:scale-110",3,"ngClass","src","alt"],[1,"col-span-3",3,"ngClass"],[1,"text-xs","mobMax:text-sm","pad:text-sm","pad:mt-3"],[1,"mr-1","text-dark-260",3,"routerLink"],[1,"hidden","ml-1","text-dark-101","pad:inline-block"],[1,"mt-1.5","pad:mt-3","overflow-y-hidden","text-sm","mobMax:text-base","pad:text-lg","font-bold","break-words","text-dark-500","h-[40px]","mobMax:h-[50px]","pad:h-[50px]"],[3,"routerLink"],[1,"hidden","mt-5","text-base","text-dark-260",3,"ngClass","innerHTML"],[1,"grid","items-center","justify-between","grid-cols-5","mt-3","pad:mt-4"],[1,"col-span-5","text-xs","mobMax:text-sm","pad:text-sm","pad:col-span-3","text-primary-602"],[3,"ngClass","routerLink","queryParams"],[1,"hidden","col-span-2","text-right","pad:block"],["target","_blank","appMonitorBizLoan","",1,"inline-flex","items-center","justify-center","px-7","py-1.5","border","border-gray-400","rounded-full",3,"href","target"],["xmlns","http://www.w3.org/2000/svg","height","24px","viewBox","0 -960 960 960","width","24px","fill","currentColor"],["d","M504-480 320-664l56-56 240 240-240 240-56-56 184-184Z"]],template:function(e,t){if(e&1&&f(0,vo,16,7)(1,_o,1,0,"model-loading"),e&2){let a;v(!t.onLoading()&&(!((a=t.pageState())==null||a.articleBase==null)&&a.articleBase.length)?0:t.onLoading()?1:-1)}},dependencies:[G,W,de,ge,ee,ae,A,qe],encapsulation:2})}
class i{constructor(n,e){this.platformId=n;this.service=e;this.isBrowser.set(O(this.platformId))}platformId;service;destroyRef=_(R);ROUTES_CONSTANT=it;sEOService=_(j);hiddenTags=g([]);mappingId=I("");isBrowser=g(!1);onLoading=g(!1);activeItem=g(null);pageState=g({});ngOnInit(){this.onLoading.set(!0),this.setHiddenTags(this.mappingId()),this.service.getModuleData$(this.mappingId()).pipe(w(this.destroyRef),y(n=>{this.pageState.set(n),n||this.onLoading.set(!1)}),q(()=>{this.onLoading.set(!1)})).subscribe()}setHiddenTags(n=""){n&&this.sEOService.apiSEOSEOTitleGet(n).pipe(w(this.destroyRef)).subscribe(e=>{this.hiddenTags.set(e)})}static \u0275fac=function(e){return new(e||i)(S(L),S(xt))};static \u0275cmp=M({type:i,selectors:[["app-img-text2"]],inputs:{mappingId:[1,"mappingId"]},decls:2,vars:1,consts:[[3,"tagsData"],[1,"img-text2"],[1,"flex","items-center","justify-between","font-sans","text-secondary-800"],[1,"inline-flex","items-center","pad:text-[32px]","text-[21px]","tracking-[4.3px]","leading-[100%]"],[1,"mr-3.5","pad:mr-[18px]","inline-block","w-[8px]","h-8","pad:h-9","rounded-xl","bg-primary-500"],["target","_blank",1,"items-center","content-center","pad:flex","hover:text-secondary-950",3,"routerLink"],[1,"hidden","pad:inline-block","mr-2","text-base","font-bold","tracking-[4.3px]"],[1,"inline-flex","items-center","justify-center","w-8","h-8","border","border-gray-400","rounded-md","hover:shadow-md"],["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24","stroke-width","1.5","stroke","currentColor",1,"w-4","h-4"],["stroke-linecap","round","stroke-linejoin","round","d","M5 12h14m0 0-5-5m5 5-5 5"],[1,"grid","gap-3","pad:gap-5","pad:grid-cols-4","pad:grid-rows-none","mt-7","pad:mt-12"],[3,"class","ngClass"],[3,"ngClass"],[1,"flex","justify-center","col-span-2","pad:justify-start",3,"ngClass"],[1,"flex","justify-center","overflow-hidden","pad:max-w-none","pad:w-auto","rounded-xl",3,"ngClass","routerLink"],[1,"overflow-hidden","rounded-lg"],[1,"object-cover","pad:w-auto","rounded-xl","w-[124px]","h-[88px]","mobMax:h-[128px]","mobMax:w-[177px]","transition-transform","duration-300","ease-in-out","hover:scale-110",3,"ngClass","src","alt"],[1,"col-span-3",3,"ngClass"],[1,"text-xs","mobMax:text-sm","pad:text-sm","pad:mt-3"],[1,"mr-1","text-dark-260",3,"routerLink"],[1,"hidden","ml-1","text-dark-101","pad:inline-block"],[1,"mt-1.5","pad:mt-3","overflow-y-hidden","text-sm","mobMax:text-base","pad:text-lg","font-bold","break-words","text-dark-500","h-[40px]","mobMax:h-[50px]","pad:h-[50px]"],[3,"routerLink"],[1,"hidden","mt-5","text-base","text-dark-260",3,"ngClass","innerHTML"],[1,"grid","items-center","justify-between","grid-cols-5","mt-3","pad:mt-4"],[1,"col-span-5","text-xs","mobMax:text-sm","pad:text-sm","pad:col-span-3","text-primary-602"],[3,"ngClass","routerLink","queryParams"],[1,"hidden","col-span-2","text-right","pad:block"],["target","_blank","appMonitorBizLoan","",1,"inline-flex","items-center","justify-center","px-7","py-1.5","border","border-gray-400","rounded-full",3,"href","target"],["xmlns","http://www.w3.org/2000/svg","height","24px","viewBox","0 -960 960 960","width","24px","fill","currentColor"],["d","M504-480 320-664l56-56 240 240-240 240-56-56 184-184Z"]],template:function(e,t){if(e&1&&f(0,vo,16,7)(1,_o,1,0,"model-loading"),e&2){let a;v(!t.onLoading()&&(!((a=t.pageState())==null||a.articleBase==null)&&a.articleBase.length)?0:t.onLoading()?1:-1)}},dependencies:[G,W,de,ge,ee,ae,A,qe],encapsulation:2})}
class i{constructor(n){this.platformId=n;this.isBrowser.set(O(this.platformId))}platformId;destroyRef=_(R);service=_(Te);sEOService=_(j);hiddenTags=g([]);mappingId=I("");isBrowser=g(!1);onLoading=g(!1);data=g([]);ngOnInit(){this.isBrowser()&&(this.onLoading.set(!0),this.setHiddenTags(this.mappingId()),this.service.getZingalaBrand$().pipe(w(this.destroyRef)).subscribe(n=>{this.data.set(n.zingalaBrandBase),this.onLoading.set(!1)}))}setHiddenTags(n=""){n&&this.sEOService.apiSEOSEOTitleGet(n).pipe(w(this.destroyRef)).subscribe(e=>{this.hiddenTags.set(e)})}static \u0275fac=function(e){return new(e||i)(S(L))};static \u0275cmp=M({type:i,selectors:[["app-zingala-shops"]],inputs:{mappingId:[1,"mappingId"]},decls:15,vars:2,consts:[[1,"flex","items-center","justify-between","font-sans","text-secondary-800"],[1,"inline-flex","items-center","pad:text-[32px]","text-[21px]","tracking-[4.3px]","leading-[100%]"],[1,"mr-3.5","pad:mr-[18px]","inline-block","w-[8px]","h-8","pad:h-9","rounded-xl","bg-primary-500"],["href","https://www.zingala.com/cpbrand","target","_blank",1,"items-center","content-center","cursor-pointer","pad:flex","hover:text-secondary-950"],[1,"hidden","pad:inline-block","mr-2","text-base","font-bold","tracking-[4.3px]"],[1,"inline-flex","items-center","justify-center","w-8","h-8","border","border-gray-400","rounded-md","hover:shadow-md"],["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24","stroke-width","1.5","stroke","currentColor",1,"w-4","h-4"],["stroke-linecap","round","stroke-linejoin","round","d","M5 12h14m0 0-5-5m5 5-5 5"],[1,"grid","grid-cols-2","mt-9","gap-x-5","gap-y-10","pad:grid-cols-3","laptop:grid-cols-4"],["target","_blank",3,"href"],[3,"tagsData"],[1,"relative","overflow-hidden","rounded-2xl","h-[158px]","pad:h-[225px]"],[1,"relative","w-full","h-full","overflow-hidden","group"],[1,"absolute","top-0","left-0","object-cover","w-full","h-[158px]","pad:h-[225px]","transition-transform","duration-300","ease-in-out","object-fit","rounded-2xl","group-hover:scale-110",3,"src","alt"],[1,"rounded-lg","logo-containe"],[1,"object-contain","w-full","h-full","break-words","align-middle",3,"src"],[1,"px-2","py-4","text-content"],[1,"flex","flex-col","justify-between","h-full","font-sans","pad:flex-row","content"],[1,"grid","items-center","justify-center","grid-rows-2","text-center","pad:text-left","pad:justify-start"],[1,"mt-1","mb-2","font-bold"],[1,"text-sm","text-dark-260"],[1,"flex","flex-row","items-center","justify-center","gap-1","mt-2","text-xs","pad:mt-0","pad:justify-start","pad:flex-col","shop-type","pad:text-sm"],[1,"w-[82px]","block","px-2","py-1","border","rounded-xl","border-dark-1400","pad:px-3"],[1,"w-[82px]","block","border","rounded-xl","border-dark-1400","px-2","pad:px-3","py-1",3,"ngClass"]],template:function(e,t){e&1&&(f(0,tr,1,1),l(1,"div",0)(2,"h2",1),h(3,"span",2),l(4,"span"),m(5,"\u5546\u5BB6\u4ECB\u7D39"),d()(),l(6,"a",3)(7,"span",4),m(8),d(),l(9,"span",5),K(),l(10,"svg",6),h(11,"path",7),d()()()(),le(),l(12,"div",8),E(13,ar,16,8,"a",9,P),d()),e&2&&(v(!t.onLoading()&&t.data().length?0:-1),s(8),b(" ","\u770B\u66F4\u591A"," "),s(5),B(t.data()))},dependencies:[G,W,A,de],styles:[".logo-containe[_ngcontent-%COMP%]{--spacing: 7.5%;position:absolute;bottom:var(--spacing);left:50%;transform:translate(-50%);width:calc(100% - var(--spacing) * 2);height:calc(35.7% - var(--spacing) * 2);padding:2.5% 3.5%;background-color:#fff}"]})}
商家介紹
看更多class i{constructor(n){this.platformId=n;this.isBrowser.set(O(this.platformId))}platformId;destroyRef=_(R);sEOService=_(j);hiddenTags=g([]);isBrowser=g(!1);pageRoute=g("");service=_(nn);mappingId=I("");pageUrl=I("");pageState=g({types:[],commonCategoriesList:[]});hotQaList=g(null);onLoading=g(!1);ngAfterViewInit(){if(!this.isBrowser())return;this.pageRoute.set(this.pageUrl()),this.onLoading.set(!0),this.setHiddenTags(this.mappingId());let n={pageModuleMappingId:this.mappingId()};Yt({commonCategoriesList:this.service.getCommonCategories$(this.mappingId()),hotQaList:this.service.getAllQaList$(n),qaType:this.service.getQaType$(this.mappingId())}).pipe(w(this.destroyRef),y(e=>{this.pageState.update(t=>(e.qaType.categories?.length&&(t.types=e.qaType.categories,t.types&&t.types.length&&(t.types[0].active=!0)),t))}),y(e=>{this.pageState.update(t=>(t.commonCategoriesList=e.commonCategoriesList,t))}),y(e=>{let t=e.hotQaList.qaArticles;t?.map(a=>(a.open=!1,a)),this.hotQaList.set(t)}),y(e=>{this.pageState().types.length&&this.selectTypes(this.pageState().types[0])}),q(()=>{this.onLoading.set(!1)})).subscribe()}selectTypes(n){this.pageState.update(t=>(t.types.map(a=>(a.active=!1,a.categoryId===n.categoryId&&(a.active=!0),a)),t));let e={pageModuleMappingId:this.mappingId(),categoryTypeRoute:n.route};this.service.getAllQaList$(e).pipe(w(this.destroyRef),y(t=>{let a=t.qaArticles;a?.map(o=>(o.open=!1,o)),this.hotQaList.set(a)})).subscribe()}setHiddenTags(n=""){n&&this.sEOService.apiSEOSEOTitleGet(n).pipe(w(this.destroyRef)).subscribe(e=>{this.hiddenTags.set(e)})}static \u0275fac=function(e){return new(e||i)(S(L))};static \u0275cmp=M({type:i,selectors:[["app-faq"]],inputs:{mappingId:[1,"mappingId"],pageUrl:[1,"pageUrl"]},decls:2,vars:1,consts:[["content",""],[3,"tagsData"],[1,"flex","items-center","justify-between","font-sans","text-secondary-800"],[1,"inline-flex","items-center","pad:text-[32px]","text-[21px]","tracking-[4.3px]","leading-[100%]"],[1,"mr-3.5","pad:mr-[18px]","inline-block","w-[8px]","h-8","pad:h-9","rounded-xl","bg-primary-500"],[1,"mt-6"],[1,"text-xl","font-bold","text-gray-700"],[1,"grid","grid-cols-2","gap-5","mt-3"],[1,"py-[14px]","text-center","border","rounded-lg","border-dark-1500","shadow-md","hover:border-dark-700","hover:shadow-lg",3,"routerLink"],[1,"mt-12","pad:mt-14"],[1,"grid","grid-cols-2","gap-5","mt-3","pad:grid-cols-4"],[1,"hover:shadow-lg","py-[14px]","shadow-md","px-5","text-center","border","rounded-lg","hover:border-dark-700","border-dark-1500","whitespace-nowrap","overflow-hidden","text-ellipsis",3,"routerLink"],[1,"text-xl","text-gray-500"],[1,"mt-6","border-b","border-gray-300"],[1,"pb-2","hover:font-bold",3,"ngClass"],[1,"grid","grid-cols-1","gap-5","pad:grid-cols-2","mt-9"],[1,"pb-2","hover:font-bold",3,"click","ngClass"],[1,"pb-4","border-b","text-dark"],[1,"flex","items-center","pb-4","border-b","cursor-pointer","text-dark","hover:font-bold","hover:text-primary-602"],[1,"flex","items-center","justify-between","w-full","cursor-pointer","hover:font-bold","hover:text-primary-602",3,"click"],[1,"material-icons"],[1,"px-4","overflow-hidden","whitespace-pre-line","transition-all","duration-300","ease-in-out"],[1,"pt-8","pb-4"],[1,"mt-4"],[1,"flex","items-center","justify-between","w-full","font-bold",3,"routerLink"],[1,"text-primary-601"],[1,"text-lg","material-icons"],[1,"flex","items-center","justify-between","w-full",3,"routerLink"]],template:function(e,t){if(e&1&&f(0,qo,29,4)(1,Qo,1,0,"model-loading"),e&2){let a;v(!t.onLoading()&&(!((a=t.pageState())==null||a.types==null)&&a.types.length||!((a=t.pageState())==null||a.commonCategoriesList==null)&&a.commonCategoriesList.length||(a=t.hotQaList())!=null&&a.length)?0:t.onLoading()?1:-1)}},dependencies:[G,W,ee,de,ge,A],encapsulation:2})}
class t{constructor(l){this.platformId=l;this.isBrowser.set(H(this.platformId))}platformId;isBrowser=f(!1);pageState=f([]);mappingId=W("");dialog=c(X);service=c(C);ngAfterViewInit(){this.isBrowser()&&this.service.getData$(this.mappingId()).pipe(T(l=>{this.pageState.set(l)})).subscribe()}onClick(l){this.dialog.open(M,{data:l,position:{}})}static \u0275fac=function(a){return new(a||t)(U(N))};static \u0275cmp=E({type:t,selectors:[["app-float-tools"]],inputs:{mappingId:[1,"mappingId"]},decls:1,vars:1,consts:[[1,"flex","shadow-lg","bg-opacity-70","z-10","flex-col","w-[72px]","gap-4","px-1.5","py-2.5","bg-gray-300","rounded-xl","fixed","right-0","pad:right-[10%]","bottom-1/4"],[1,"flex","flex-col","items-center","px-1","py-2","text-center","bg-white","rounded-xl"],["appTrackingParams","",1,"min-h-[60px]","flex","flex-col","items-center","px-1","py-2","text-center","bg-white","rounded-xl",3,"href","target"],[1,"flex","flex-col","items-center","px-1","py-2","text-center","bg-white","rounded-xl",3,"click"],[1,"w-6",3,"src","alt"],[1,"mt-1","text-xs"]],template:function(a,e){a&1&&r(0,ma,3,0,"div",0),a&2&&p(e.isBrowser()&&e.pageState()&&e.pageState().length?0:-1)},dependencies:[na],encapsulation:2})}






