PageSourceSearch

https://hongkongfreetours.com/chunk-7FJGLLOA.js

js hongkongfreetours.com collected 2026-09-25 03:58:45 UTC 3,309 bytes, 1 lines download raw bytes

1import{a as S}from"./chunk-OBK7MUJ2.js";import{b}from"./chunk-PDIZ7BIX.js";import{b as k}from"./chunk-KIBYKFUI.js";import"./chunk-TREV55YG.js";import{Eb as t,Fb as i,Gb as m,Lb as u,Sa as g,Ua as a,da as d,db as h,dc as n,ec as w,fc as E,gc as y,ka as p,la as x,sa as s}from"./chunk-TXNQTIRA.js";var L=class v{apiService=d(k);loadingService=d(S);route=d(b);orderToken="";messageID="";tourGuide=s(null);orderInfo=s(null);otaList=s([]);item=s(null);ngOnInit(){let e=this.route.snapshot.queryParams;this.orderToken=e.token,this.messageID=e.message,this.getPortalDetails()}getPortalDetails(){this.loadingService.show(),this.apiService.getCustomerPortalDetails({token:this.orderToken,messageID:this.messageID}).subscribe(e=>{this.loadingService.hide(),this.tourGuide.set(e.tourGuide),this.orderInfo.set(e.order),this.item.set(e.item)})}getAllOtaList(){this.apiService.getAllOtaList().subscribe(e=>{this.otaList.set(e)})}getReviewLinkKey(e){let o=String(e??"").trim().toLowerCase().replace(/[^a-z0-9]/g,"");return{guruwalk:"guruwalks",guruwalks:"guruwalks",getyourguide:"gyg",gyg:"gyg",viator:"viator",tripadvisor:"tripadvisor",tripadviser:"tripadvisor",tripadvisorreview:"tripadvisor"}[o]||"tripadvisor"}otaLink(){let e=this.item()?.review_links;if(!e||typeof e!="object")return"";let o=this.getReviewLinkKey(this.orderInfo()?.ota_name);return e[o]||e.tripadvisor||""}static \u0275fac=function(o){return new(o||v)};static \u0275cmp=h({type:v,selectors:[["app-notification"]],decls:22,vars:6,consts:[[1,"notification-container"],[1,"p-[16px]","flex","items-center","justify-start","gap-[10px]"],["alt","",1,"w-[50px]","h-[50px]","aspect-[1/1]","object-cover","custom-border","rounded-full",3,"src"],[1,"font-londrinaSolid","text-[21px]","leading-[170%]","text-regal-grey900","font-bold","uppercase"],[1,"mt-[16px]"],[1,"mx-[35px]","bg-white","p-[8px]","text-regal-grey900","font-roboto","text-[16px]","leading-[150%]","relative","rounded-[0px_5px_5px_5px]"],[1,"mb-[5px]"],[1,"text-right","font-roboto","text-[8px]","leading-[150%]","text-regal-grey500"],["xmlns","http://www.w3.org/2000/svg","width","16","height","19","viewBox","0 0 16 19","fill","none",1,"absolute","left-[-15px]","top-[-1px]"],["d","M15.0603 0.949951L15.0603 18.2705L0.060278 9.6102L15.0603 0.949951Z","fill","white"],[1,"mx-[35px]","bg-white","p-[8px]","text-regal-grey900","font-roboto","text-[16px]","leading-[150%]","relative","rounded-[0px_5px_5px_5px]","mt-[5px]"],["target","_blank",1,"break-words",3,"href"]],template:function(o,r){if(o&1&&(t(0,"div",0)(1,"div",1),m(2,"img",2),t(3,"span",3),n(4),i()(),t(5,"div",4)(6,"div",5)(7,"div",6),n(8),i(),t(9,"div",7),n(10,"11:48PM"),i(),p(),t(11,"svg",8),m(12,"path",9),i()(),x(),t(13,"div",10)(14,"div",6),n(15,"Write me a review:"),i(),t(16,"a",11),n(17),i(),t(18,"div",7),n(19,"11:48PM"),i(),p(),t(20,"svg",8),m(21,"path",9),i()()()()),o&2){let c,f,l;a(2),u("src",(c=r.tourGuide())==null?null:c.avatar,g),a(2),E(" ",(f=r.tourGuide())==null?null:f.first_name," "),a(4),y(" Hi ",(l=r.orderInfo())==null?null:l.name,", this is ",(l=r.tourGuide())==null?null:l.first_name," here. I hope you could take a minute to give me a review, this will help promote our tours for future travelers to come. "),a(8),u("href",r.otaLink(),g),a(),w(r.otaLink())}},encapsulation:2})};export{L as Notification};

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.