1"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[5863],{3668:(y,g,o)=>{o.d(g,{U:()=>h});var a=o(4438),p=o(4445),_=o(7673),t=o(6354),d=o(3364);const h=(i,u)=>{const m=i.paramMap.get("id"),n=(0,a.WQX)(r);return m?n.getCustomArticle(m):(0,_.of)({relation:"",title:"",subTitle:"",detailForeword:"",detailsURL:"",tag:[],type:0,isNews:!1})};let r=(()=>{var i;class u{constructor(){this._api=(0,a.WQX)(p.G),this._hotelService=(0,a.WQX)(d.g)}getCustomArticle(n){return n&&""!==this._hotelService.info.domain?this._api.getCustomArticles(this._hotelService.info.domain,n).pipe((0,t.T)(c=>c.success&&c.data&&0!==c.data.length?this.parseActiveToCustomArticle(c.data[0]):{relation:"",title:"",subTitle:"",detailForeword:"",detailsURL:"",tag:[],type:0,isNews:!1})):(0,_.of)({relation:"",title:"",subTitle:"",detailForeword:"",detailsURL:"",tag:[],type:0,isNews:!1})}parseActiveToCustomArticle(n){return{relation:n.promotion_id.toString(),title:n.promotion_title,subTitle:n.sub_title,detailForeword:n.detail_foreword,detailsURL:n.detail_info_path,tag:[],type:n.promotion_type,isNews:1===n.show_in_index}}}return(i=u).\u0275fac=function(n){return new(n||i)},i.\u0275prov=a.jDH({token:i,factory:i.\u0275fac,providedIn:"root"}),u})()},5939:(y,g,o)=>{o.d(g,{x:()=>_});var a=o(4438),p=o(345);let _=(()=>{var t;class d{constructor(){this.meta=(0,a.WQX)(p.W8),this.title=(0,a.WQX)(p.hE),this.originSeo=new Map,this.tags=["description","og:title","og:description","og:type","og:site_name","og:locale","og:image","twitter:title","twitter:description","twitter:card"]}ngOnDestroy(){this.resetSeo()}saveOriginSeo(r){this.originSeo.size>0||!r||(this.originSeo.set("title",this.title.getTitle()),this.tags.forEac
1h(i=>{const u=this.meta.getTag(`name='${i}'`);u&&this.originSeo.set(i,u.content)}))}resetSeo(){this.originSeo.forEach((r,i)=>{"title"===i?this.title.setTitle(r||""):(this.meta.removeTag(`name='${i}'`),this.meta.updateTag({name:i,content:r||""},`name='${i}'`))})}setPageSeo(){throw new Error("\u8acb\u5be6\u4f5c setPageSeo")}}return(t=d).\u0275fac=function(r){return new(r||t)},t.\u0275cmp=a.VBU({type:t,selectors:[["app-base-page-seo"]],decls:0,vars:0,template:function(r,i){},encapsulation:2}),d})()},7163:(y,g,o)=>{o.d(g,{N:()=>r});var a=o(4438),p=o(9079),_=o(6405),t=o(9940),d=o(5939),h=o(177);let r=(()=>{var i;class u extends d.x{constructor(){super(...arguments),this.destroyRef=(0,a.WQX)(a.abz),this._activeRouter=(0,a.WQX)(_.nX),this.platformId=(0,a.WQX)(a.Agw)}ngOnInit(){this._activeRouter.data.pipe((0,p.pQ)(this.destroyRef)).subscribe({next:n=>{this.data=(0,t.Jt)(n,"customArticleInfo"),this.saveOriginSeo((0,h.UE)(this.platformId)),this.setPageSeo()}})}setPageSeo(){if(!this.data)return;const n=`${this.data.title} | ${this.title.getTitle()}`,c=this.data.subTitle||"";this.title.setTitle(n),[{name:"description",content:c},{name:"og:title",content:n},{name:"og:description",content:c},{name:"og:type",content:"article"},{name:"og:site_name",content:n},{name:"og:locale",content:"zh-TW"},{name:"og:image",content:""},{name:"twitter:title",content:n},{name:"twitter:description",content:c},{name:"twitter:card",content:"summary_large_image"}].forEach(s=>{const v=(new DOMParser).parseFromString(s.content,"text/html").body.textContent?.replace(/\s+/g,"")||"";this.meta.removeTag(`name='${s.name}'`),this.meta.updateTag({name:s.name,content:v},`name='${s.name}'`)})}}return(i=u).\u0275fac=(()=>{let m;return function(c){return(m||(m=a.xGo(i)))(c||i)}})(),i.\u0275cmp=a.VBU({type:i,selectors:[["app-base-custom-article-website"]],features:[a.Vt3],decls:0,vars:0,template:function(n,c){},encapsulation:2}),u})()},5863:(y,g,o)=>{o.r(g),o.d(g,{ArticleWebsiteLayout001Module:()=>c});var a=o(177),p=o(6405),_=o(7163),t=o(4438),d=o(6807);function h(e,s){if(1&e&&(t.j41(0,"h1"),t.EFF(1),t.k0s()),2&e){const l=t.XpG();t.R7$(),t.JRh(l.data.title)}}function r(e,s){if(1&e&&(t.j41(0,"div",5)(1,"main",6)(2,"div",1)(3,"div",7),t.nrm(4,"app-html-render",8),t.k0s()()()()),2&e){const l=t.XpG();t.R7$(4),t.Y8G("src",l.data.detailsURL)}}let i=(()=>{var e;class s extends _.N{}return(e=s).\u0275fac=(()=>{let l;return function(v){return(l||(l=t.xGo(e)))(v||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["app-article-website-layout001"]],features:[t.Vt3],decls:5,vars:2,consts:[[1,"page-title","gradient-overlay","op6",2,"background","url(/dqf1/front/website/layout/layout001/images/bg_attraction.webp)","background-repeat","no-repeat","background-size","cover","background-position","center"],[1,"container"],[1,"inner"],[4,"ngIf"],["class","wrapper",4,"ngIf"],[1,"wrapper"],[1,"main"],[1,"article-html"],[1,"article-html",3,"src"]],template:function(f,v){1&f&&(t.j41(0,"div",0)(1,"div",1)(2,"div",2),t.DNE(3,h,2,1,"h1",3),t.k0s()()(),t.DNE(4,r,5,1,"div",4)),2&f&&(t.R7$(3),t.Y8G("ngIf",v.data),t.R7$(),t.Y8G("ngIf",v.data))},dependencies:[a.bT,d.n],styles:[".article-html[_ngcontent-%COMP%] {color:var(--deepText3);text-align:left;font-size:16px;line-height:30px}.article-html[_ngcontent-%COMP%] p{font-size:16px}.article-html[_ngcontent-%COMP%] img{display:block;max-width:100%}"]}),s})();const m=[{path:"",component:i},{path:":id",component:i,resolve:{customArticleInfo:o(3668).U}}];let n=(()=>{var e;class s{}return(e=s).\u0275fac=function(f){return new(f||e)},e.\u0275mod=t.$C({type:e}),e.\u0275inj=t.G2t({imports:[p.iI.forChild(m),p.iI]}),s})(),c=(()=>{var e;class s{}return(e=s).\u0275fac=function(f){return new(f||e)},e.\u0275mod=t.$C({type:e}),e.\u0275inj=t.G2t({imports:[a.MD,n,d.n]}),s})()}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.