1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3272],{70502:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getRenderPropValue=void 0;var n=function(e){return e?"function"==typeof e?e():e:null};t.getRenderPropValue=n},23854:function(e,t,n){"use strict";var r=n(4149),o=n(15626);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=i.useReducer(function(e){return e+1},0);return(0,a.default)(e,2)[1]};var a=r(n(35141)),i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==o(e)&&"function"!=typeof e)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var s=a?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(r,i,s):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}(n(67294));function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}},1825:function(e,t,n){"use strict";var r=n(4149),o=n(15626);t.Z=void 0;var a=r(n(89457)),i=r(n(93120)),l=r(n(35141)),s=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==o(e)&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=a?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}(n(67294)),c=r(n(53304)),u=r(n(40753)),d=r(n(94184)),f=n(31929),m=n(66764),v=r(n(23854));function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}var h=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},x=s.createContext(null);(0,m.tuple)("top","right","bottom","left"),(0,m.tuple)("default","large");var _={distance:180},g=s.forwardRef(function(e,t){var n=e.width,r=e.height,o=e.size,f=void 0===o?"default":o,m=e.closable,p=void 0===m||m,g=e.placement,y=void 0===g?"right":g,b=e.maskClosable,O=e.mask,N=void 0===O||O,T=e.level,k=e.keyboard,w=e.push,C=void 0===w?_:w,L=e.closeIcon,E=void 0===L?s.createElement(u.default,null):L,j=e.bodyStyle,F=e.drawerStyle,S=e.prefixCls,I=e.className,M=e.direction,Z=e.visible,R=e.children,P=e.zIndex,A=e.destroyOnClose,B=e.style,H=e.title,D=e.headerStyle,z=e.onClose,q=e.footer,U=e.footerStyle,W=e.extra,G=h(e,["width","height","size","closable","placement","maskClosable","mask","level","keyboard","push","closeIcon","bodyStyle","drawerStyle","prefixCls","className","direction","visible","children","zIndex","destroyOnClose","style","title","headerStyle","onClose","footer","footerStyle","extra"]),V=(0,v.default)(),J=s.useState(!1),Y=(0,l.default)(J,2),K=Y[0],Q=Y[1],X=s.useContext(x),$=s.useRef(!1);s.useEffect(function(){return Z&&X&&X.push(),function(){X&&X.pull()}},[]),s.useEffect(function(){X&&(Z?X.push():X.pull())},[Z]);var ee=s.useMemo(function(){return{push:function(){C&&Q(!0)},pull:function(){C&&Q(!1)}}},[C]);s.useImperativeHandle(t,function(){return ee},[ee]);var et,en,er,eo=A&&!Z,ea=function(){eo&&(Z||($.current=!0,V()))},ei=function(){if(!Z&&!N)return{};var e={};return"left"===y||"right"===y?e.width=void 0===n?"large"===f?736:378:n:e.height=void 0===r?"large"===f?736:378:r,e},el=p&&s.createElement("button",{type:"button",onClick:z,"aria-label":"Close",className:"".concat(S,"-close")},E),es=(0,d.default)((0,a.default)({"no-mask":!N},"".concat(S,"-rtl"),"rtl"===M),I),ec=N?ei():{};return s.createElement(x.Provider,{value:ee},s.createElement(c.default,(0,i.default)({handler:!1},(0,i.default)({placement:y,prefixCls:S,maskClosable:void 0===b||b,level:void 0===T?null:T,keyboard:void 0===k||k,children:R,onClose:z},G),ec,{open:Z,showMask:N,style:(et=N?{}:ei(),(0,i.default)((0,i.default)({zIndex:P,transform:K?(er=parseFloat(String((er="boolean"==typeof C?C?_.distance:0:C.distance)||0)),"left"===y||"right"===y)?"translateX(".concat("left"===y?er:-er,"px)"):"top"===y||"bottom"===y?"translateY(".concat("top"===y?er:-er,"px)"):void 0:void 0},et),B)),className:es}),function(){if($.current&&!Z)return null;$.current=!1;var e={};return eo&&(e.opacity=0,e.transition="opacity .3s"),s.createElement("div",{className:"".concat(S,"-wrapper-body"),style:(0,i.default)((0,i.default)({},e),F),onTransitionEnd:ea},H||p?s.createElement("div",{className:(0,d.default)("".concat(S,"-header"),(0,a.default)({},"".concat(S,"-header-close-only"),p&&!H&&!W)),style:D},s.createElement("div",{className:"".concat(S,"-header-title")},el,H&&s.createElement("div",{className:"".concat(S,"-title")},H)),W&&s.createElement("div",{className:"".concat(S,"-extra")},W)):null,s.createElement("div",{className:"".concat(S,"-body"),style:j},R),function(){if(!q)return null;var e="".concat(S,"-footer");return s.createElement("div",{className:e,style:U},q)}())}()))});g.displayName="Drawer";var y=s.forwardRef(function(e,t){var n=e.prefixCls,r=e.getContainer,o=s.useContext(f.ConfigContext),a=o.getPopupContainer,l=o.getPrefixCls,c=o.direction,u=l("drawer",n);return s.createElement(g,(0,i.default)({},e,{ref:t,prefixCls:u,getContainer:void 0===r&&a?function(){return a(document.body)}:r,direction:c}))});y.displayName="DrawerWrapper",t.Z=y},62443:function(e,t,n){"use strict";var r=n(4149),o=n(15626);t.Z=void 0;
1var a=r(n(93120)),i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==o(e)&&"function"!=typeof e)return{default:e};var n=d(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=a?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}(n(67294)),l=r(n(94055)),s=n(31929),c=n(70502),u=n(53683);function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(d=function(e){return e?n:t})(e)}var f=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},m=i.forwardRef(function(e,t){var n,r=e.prefixCls,o=e.title,d=e.content,m=f(e,["prefixCls","title","content"]),v=i.useContext(s.ConfigContext).getPrefixCls,p=v("popover",r),h=v();return i.createElement(l.default,(0,a.default)({},m,{prefixCls:p,ref:t,overlay:i.createElement(i.Fragment,null,o&&i.createElement("div",{className:"".concat(p,"-title")},(0,c.getRenderPropValue)(o)),i.createElement("div",{className:"".concat(p,"-inner-content")},(0,c.getRenderPropValue)(d))),transitionName:(0,u.getTransitionName)(h,"zoom-big",m.transitionName)}))});m.displayName="Popover",m.defaultProps={placement:"top",trigger:"hover",mouseEnterDelay:.1,mouseLeaveDelay:.1,overlayStyle:{}},t.Z=m},54593:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/corporate/famex/offer-list",function(){return n(52688)}])},63842:function(e,t){"use strict";t.Z={src:"/fe-static/sl-fe-revamp-prod//_next/static/media/[email protected]",height:128,width:128,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAQAAABuBnYAAAAAYklEQVR42k2NsQmAMBREf699JhBnEEtBBTuTuIitnUqWvLeLQRTl4BUH985wJB3s7JkJZwQiRpljRILJq6PVqjWzkzc8g2pFLaoZeAsWgipG/D2h0aZepknzJy0e6e/2JOEuq/1JoC7cxn4AAAAASUVORK5CYII=",blurWidth:8,blurHeight:8}},97089:function(e,t,n){"use strict";var r=n(26042),o=n(69396),a=n(99534),i=n(85893),l=n(67294),s=n(1825),c=n(94184),u=n.n(c),d=n(69108),f=n.n(d),m=n(74736),v=function(e){var t=e.onClose,n=e.visible,c=e.logo,d=e.title,v=e.hasTitle,p=e.bodyStyle,h=e.className,x=e.headerClassName,_=e.maskClosable,g=(0,a.Z)(e,["onClose","visible","logo","title","hasTitle","bodyStyle","className","headerClassName","maskClosable"]),y=function(e){e.stopPropagation(),t()},b=(0,l.useRef)(!1);return(0,l.useEffect)(function(){n?(b.current=Array.from(document.body.classList).includes("overflow-hidden"),document.body.classList.add("h-auto","overflow-hidden"),document.documentElement.classList.add("overflow-hidden")):b.current||(document.body.classList.remove("h-auto","overflow-hidden"),document.documentElement.classList.remove("overflow-hidden"))},[n]),(0,l.useEffect)(function(){return function(){b.current||(document.body.classList.remove("h-auto","overflow-hidden"),document.documentElement.classList.remove("overflow-hidden"))}},[]),(0,i.jsx)(s.Z,(0,o.Z)((0,r.Z)({style:{transform:null},bodyStyle:void 0===p?{}:p,width:"100%",visible:n,closable:!1,maskClosable:void 0!==_&&_,className:"".concat(f().wrapper," ").concat(void 0===h?"":h),title:(void 0===v||v)&&((0,m.kK)(c)?(0,i.jsxs)("div",{className:u()("w-screen min-h-54px px-32px relative flex justify-center items-center",void 0===x?"":x),children:[(0,i.jsx)("span",{className:u()(f().iconBack,"absolute left-0 p-10px"),onClick:y}),(0,i.jsx)("span",{className:"truncate",children:d})]}):(0,i.jsxs)("div",{className:"h-60px px-15px relative flex items-center justify-between sl-drawer-title",children:[c,(0,i.jsx)("span",{className:"date-drawer-close-icon p-10px ".concat(f().iconClose),onClick:y})]})),onClose:y},g),{children:e.children}))};t.Z=l.memo(v)},98413:function(e,t,n){"use strict";n.d(t,{j:function(){return v}});var r=n(14924),o=n(26042),a=n(69396),i=n(99534),l=n(85893),s=n(31059),c=n(94184),u=n.n(c),d=n(67784),f=n.n(d),m={brand:"brand"},v={square:"square",circle:"circle"},p=function(e){var t,n=e.theme,c=e.className,d=e.adobeTrack,p=void 0===d?{}:d,h=e.shape,x=e.disable,_=e.disabled,g=(0,i.Z)(e,["theme","className","adobeTrack","shape","disable","disabled"]),y={};return(null==p?void 0:p.editable)&&(y["data-track-button-name"]=null==p?void 0:p.editable),(0,l.jsx)("div",(0,a.Z)((0,o.Z)({className:u()([c,f().wraper,(t={},(0,r.Z)(t,f().brand,n===m.brand),(0,r.Z)(t,f().square,h===v.square),(0,r.Z)(t,f().circle,h===v.circle),t),(null==p?void 0:p.editable)?"adobe-link":"",])},y),{children:(0,l.jsx)(s.default,(0,a.Z)((0,o.Z)({},g),{disabled:null!=_?_:x}))}))};p.Group=s.default.Group,t.Z=p},63027:function(e,t,n){"use strict";var r=n(85893),o=n(79221),a=n.n(o),i=n(10268),l=n(75978),s=n(94184),c=n.n(s),u=n(63842),d=n(46005),f=function(e){var t=(0,i.$G)("common").t,n=e.message,o=void 0===n?t("listEmpty"):n,s=e.className,f=e.icon,m=e.showButton,v=e.buttonText,p=e.buttonClass,h=e.hideIcon,x=e.onClick,_=e.extranelImgUrl;return(0,r.jsxs)("div",{className:"".concat(a().noResult," ").concat(void 0===s?"":s),children:[h?null:(0,r.jsx)("div",{className:a().noResultIcon,children:f||(0,r.jsx)(l.Z,{data:_||u.Z,alt:"emptyImage",showType:"next"})}),(0,r.jsx)("div",{className:c()(a().noResultTitle,"no-result-title"),children:o}),m&&(0,r.jsx)(d.Z,{className:c()(a().noResultBtn,p),onClick:function(){return x&&x()},type:"primary",children:v||t("refresh")})]})};t.Z=f},12583:function(e,t,n){"use strict";var r=n(85893),o=n(73935),a=n(94184),i=n.n(a),l=n(75978),s=n(74736),c=n(9279),u=n.n(c),d=n(69922),f=n.n(d),m=n(89548);function v(e){var t=e.visible,n=e.className;return t?(0,r.jsxs)("div",{className:i()(f().componentWrapper,n),children:[(0,r.jsx)("div",{className:f().imgWrapper,children:v.config.image}),e.children]}):(0,r.jsx)(r.Fragment,{children:e.children})}v.config={id:"global-loading-wrapper",container:null,image:(0,r.jsx)(l.Z,{data:{src:"".concat(u().envParam.staticPublicPath,"imgs/loading/").concat((0,m.tq)()?"loading2022":"loading_v1_2022",".gif")},alt:"loadingImage",width:(0,m.tq)()?60:195,height:(0,m.tq)()?60:25})},v.show=function(){if((0,s.kK)(document.getElementById(v.config.id))){var e=document.createElement("div");e.id=v.config.id,document.body.appendChild(e)}(0,s.kK)(v.config.container)&&(v.config.container=(0,r.jsx)("div",{className:f().wrapper,children:v.config.image})),o.render(v.config.container,document.getElementById(v.config.id))},v.hide=function(){var e=document.getElementById(v.config.id);(0,s.kK)(e)||(o.unmountComponentAtNode(e),document.body.removeChild(e))},t.Z=v},62434:function(e,t,n){"use strict";var r=n(26042),o=n(85893),a=n(62443),i={color:"#333333",background:"#F8F8F8",border:"1px solid #E8E8E8",boxShadow:"0 1px 2px 0 rgba(0,0,0,0.08);"},l=function(e){return(0,o.jsx)(a.Z,(0,r.Z)({overlayInnerStyle:i,getPopupContainer:function(e){return e.parentElement}},e))};t.Z=l},7e3:function(e,t,n){"use strict";n.d(t,{B9:function(){return r},Fz:function(){return i},N0:function(){return l},QS:function(){return c},kp:function(){return o},pP:function(){return a}});var r={LOCATING:"LOCATING",LOCATING_FAILED:"LOCATING_FAILED",LOCATING_FINISHED:"LOCATING_FINISHED"},o={LOCATION:"LOCATION",HISTORY:"HISTORY"},a={NORMAL:"normal",PRICE:"price"},i="tms-tablereservations.shangri-la.com",l={UNLOGIN:-1,INVALID_USER:1,LOGIN:0},s={CHARGE_OR_POINTS_CHARGE:"ChargeOrPointsCharge"};function c(e){return e===s.CHARGE_OR_POINTS_CHARGE}},67857:function(e,t,n){"use strict";var r=n(47568),o=n(10092),a=n(85893),i=n(67294),l=n(94184),s=n.n(l),c=n(46005),u=n(84482),d=n(13284),f=n(34960),m=n(21253),v=n.n(m),p=n(83321),h=n(71729),x=n(35829),_=n(14362),g=n(7e3),y=n(10268),b=n(74555),O=n(22512),N=n(96486),T=function(e){var t,n,l,m,T,k=(0,p.XP)().data,w=e.showBar,C=e.onCreateSuccess,L=(0,y.$G)("common").t,E=(0,O.Z)(),j=(0,b.v9)(function(e){var t;return(null==e?void 0:null===(t=e.header)||void 0===t?void 0:t.gcInfo)||{}}),F=(0,b.I0)(),S=(0,i.useCallback)((0,r.Z)(function(){var e,t;return(0,o.__generator)(this,function(n){switch(n.label){case 0:if(e=(0,x.getLoginStatus)(),t=0,!e)return[3,2];return[4,F({type:"header/logout"})];case 1:n.sent(),t=50,n.label=2;case 2:return setTimeout(function(){var e,t=document.querySelector(".shangrila-react-login-box-modal-trigger");t&&(null==(t=document.querySelector(".shangrila-react-login-box-modal-trigger"))||null===(e=t.click)||void 0===e||e.call(t))},t),[2]}})}
1),[F]),I=function(){var e=(0,_.isSLApp)()?{param:{isFamex:!0}}:{isFamex:!0};(null==E?void 0:E.sm)?S():(0,x.openLogin)({query:e})},M=(T=(0,r.Z)(function(){var e,t,n,r,a,i,l,s,c,u,d,f;return(0,o.__generator)(this,function(e){switch(e.label){case 0:if(!(0,x.getLoginStatus)())return[3,5];e.label=1;case 1:return e.trys.push([1,3,,4]),t=(null==j?void 0:j.profileId)||(null==j?void 0:j.owsNameId)||"",[4,(0,p.nt)({profileId:t})];case 2:return a=(r=e.sent()||{}).data,l=void 0===(i=r.context)?{}:i,s=r.status,c=r.message,d=void 0===(u=l.requestStatus)?0:u,0==+s?d===g.N0.LOGIN?(null==a?void 0:a.statusCode)==="SUCCESS"?"function"==typeof C&&C():h.Z.dialog({content:(null==a?void 0:a.errorMessage)||L("networkTipsTechnicalDifficulty")}):I():h.Z.dialog({content:c||L("networkTipsTechnicalDifficulty")}),[3,4];case 3:return f=e.sent(),console.error("å建家åºå¤±è´¥:",f),h.Z.dialog({content:(null==f?void 0:f.message)||L("networkTipsTechnicalDifficulty")}),[3,4];case 4:return[3,6];case 5:I(),e.label=6;case 6:return[2]}})}),function(){return T.apply(this,arguments)});return(void 0===w||w)&&(null==k?void 0:null===(t=k.discoverFamilyMomentsButton)||void 0===t?void 0:t.editable)?(0,a.jsx)("div",{className:s()("hidden sm:flex sticky bottom-0 left-0 right-0 z-10 bg-white h-136px flex-col justify-center items-center",v().famexBottom),children:(0,a.jsxs)(u.Z,{type:u.Z.CONTENT_TYPE.normal,className:"flex justify-between items-center gap-32px px-16px lg:px-0",children:[(0,a.jsx)("div",{className:v().icon}),(0,a.jsxs)("div",{className:"flex flex-col gap-7px",children:[(0,a.jsx)("h2",{className:"text-20px leading-28px line-clamp-1",children:(0,f.unescapeEntities)(null==k?void 0:null===(n=k.discoverFamilyMomentsTitle)||void 0===n?void 0:n.editable)}),(0,a.jsx)(d.Z,{className:"text-14px leading-20px line-clamp-3",data:(0,f.unescapeEntities)(null==k?void 0:null===(l=k.discoverFamilyMomentsDescription)||void 0===l?void 0:l.editable)})]}),(0,a.jsx)("div",{children:(0,a.jsx)(c.Z,{className:s()(v().famexJoinBtn,"text-medium"),onClick:(0,N.debounce)(M,300),children:(0,f.unescapeEntities)(null==k?void 0:null===(m=k.discoverFamilyMomentsButton)||void 0===m?void 0:m.editable)})})]})}):null};t.Z=T},50459:function(e,t,n){"use strict";var r=n(14924),o=n(85893),a=n(94184),i=n.n(a),l=n(86073),s=n(97089),c=n(10268),u=n(23199),d=n.n(u),f=n(67294),m=n(62434),v=n(88754),p=function(e){var t=e.type,n=e.index,a=e.sectionIndex,u=void 0===a?0:a,p=e.modalTitle,h=void 0===p?"":p,x=e.earnTokenText,_=e.tokenNum,g=void 0===_?"":_,y=e.tokenContent,b=void 0===y?"":y,O=e.earnPrefixText,N=void 0===O?"":O,T=e.earnSuffixText,k=void 0===T?"":T,w=e.earnPrefix,C=e.earnSuffix,L=(0,v.Z)(),E=(0,c.$G)("famex").t,j=(0,f.useState)({}),F=j[0],S=j[1],I=function(e){null==e||e.preventDefault(),null==e||e.stopPropagation(),b&&S({visible:!0,selectedEarnTips:"Token-".concat(u,"-").concat(n)})},M=function(){S({visible:!1})};(0,f.useEffect)(function(){L.sm&&S({visible:!1})},[L.sm]);var Z=function(){var e={title:h||E("redeemTokens"),earnPrefix:w||E("requiredToken"),earnSuffix:C,earnNum:g,moreTips:b};return(0,o.jsxs)("div",{className:d().earnModalMain,children:[(null==e?void 0:e.title)&&(0,o.jsx)("div",{className:d().earnModalTitle,children:null==e?void 0:e.title}),(0,o.jsxs)("div",{className:d().earnModalCont,children:[(null==e?void 0:e.earnPrefix)&&(0,o.jsx)("div",{className:d().earnModalText,children:null==e?void 0:e.earnPrefix}),(0,o.jsx)("div",{className:i()(d().tokenIcon)}),(0,o.jsx)("div",{className:d().earnModalNum,children:null==e?void 0:e.earnNum}),(null==e?void 0:e.earnSuffix)&&(0,o.jsx)("div",{className:d().earnModalText,children:null==e?void 0:e.earnSuffix})]}),(null==e?void 0:e.moreTips)&&(0,o.jsx)("div",{className:d().earnModalTips,children:e.moreTips})]})};return(0,o.jsxs)("div",{className:d().famexEarnToken,children:[g>=0&&(0,o.jsxs)(m.Z,{className:d().earnTokenBlock,overlayClassName:d().earnTokenOverlay,placement:"bottomLeft",content:Z(),getPopupContainer:function(){return document.body},destroyTooltipOnHide:!0,visible:!!L.sm&&!!b&&void 0,children:[(0,o.jsx)("div",{className:i()(d().textBlock,"whitespace-nowrap",(0,r.Z)({},d().offerTextBlock,"offer"===t)),children:(void 0===x?"":x)||E("redeem")}),(0,o.jsxs)("div",{className:d().tokenBlock,onClick:L.sm?function(){return null}:I,children:[N&&(0,o.jsx)(l.Z,{className:d().earnPrefix,children:N}),(0,o.jsx)("div",{className:d().tokenIcon}),(0,o.jsx)(l.Z,{className:d().token,children:g||0}),k&&(0,o.jsx)(l.Z,{className:d().earnSuffix,children:k}),b&&(0,o.jsx)("div",{className:i()(d().icon,(0,r.Z)({},d().iconUp,F.selectedEarnTips==="Token-".concat(u,"-").concat(n)))})]})]}),(null==F?void 0:F.visible)&&(0,o.jsx)(s.Z,{maskClosable:!0,placement:"bottom",className:d().earnModal,width:"100%",height:"272px",logo:(0,o.jsx)("div",{}),visible:F.visible,onClose:M,children:Z()})]})};t.Z=p},52688:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return Y},default:function(){return K}});var r=n(14924),o=n(26042),a=n(69396),i=n(85893),l=n(94184),s=n.n(l),c=n(10268),u=n(11163),d=n(67294),f=n(74555),m=n(98413),v=n(86073),p=n(71729),h=n(12583),x=n(63027),_=n(29815),g=n(10092),y=n(83321),b=n(74736),O=n(32307),N=n(35829),T="famexOfferList",k=n(71070),w=n(47556),C=n(97089),L=n(18077),E=n.n(L),j=n(68469),F=function(e){var t=e.selectHotelList,n=e.onSelect,l=void 0===n?b.ZT:n,u=(0,c.$G)("famex").t,f=(0,d.useState)(null),m=f[0],v=f[1],p=(0,d.useState)({}),h=p[0],x=p[1],_=function(e){v(e),e||x({})},g=function(e,t){x(function(n){return(0,a.Z)((0,o.Z)({},n),(0,r.Z)({},e,t))})},y=function(){v(null),x({}),l({hotelCode:"",hotelName:""})};return(0,i.jsx)("div",{className:E().selectHotelListWarp,children:(0,i.jsxs)("div",{className:s()(E().selectHotelList,"title-regular"),children:[(0,i.jsx)("div",{className:E().all,onClick:y,children:u("all")}),(0,i.jsx)(j.Z,{ghost:!0,expandIconPosition:"right",className:E().regionBox,accordion:!0,activeKey:m,onChange:_,children:null==t?void 0:t.map(function(e){var t=e.regionName,n=e.region,r=e.order,o=e.countrys;return(0,i.jsx)(j.Z.Panel,{header:t,style:{order:r},className:E().region,children:o.map(function(e){var t=e.country,r
1=e.countryName,o=e.hotels;return(0,i.jsx)(j.Z,{ghost:!0,expandIconPosition:"right",className:E().countryBox,onChange:function(e){return g(n,e)},accordion:!0,activeKey:h[n],children:(0,i.jsx)(j.Z.Panel,{header:"".concat(r,"(").concat(o.length,")"),className:E().country,children:o.map(function(e){var t=e.hotelCode,n=e.hotelName;return(0,i.jsx)("div",{className:E().hotel,onClick:function(){return l(e)},children:n},t)})},t)},t)})},n)})})]})})},S=n(75978),I=n(9279),M=n.n(I),Z={OFFER:"offer",ROOM:"room"},R=n(50459),P=n(42606),A=n.n(P),B=function(e){var t,n,r,o,a,l,d,f=e.offer,m=e.index,v=e.type,p=(0,u.useRouter)().locale,h=(0,c.$G)("common").t,x=null!==(l=null==f?void 0:f.earnTokenDesc)&&void 0!==l?l:{},_=null==x?void 0:x.tagText,g=_&&(null==x?void 0:null===(t=x.tagText)||void 0===t?void 0:t.split("{0}"))||[],y=g[1]&&g[1].split("{1}")||[],O=y[0]||0,T=v===Z.OFFER?null==f?void 0:f.offerImage:null==f?void 0:f.roomImage,k=v===Z.OFFER?null==f?void 0:f.title:null==f?void 0:f.roomName,w=function(e,t){var n="";n=e===Z.ROOM?"".concat(M().websiteEnv.websiteHost,"/").concat(p).concat(null==t?void 0:t.roomUrl):"".concat(M().websiteEnv.websiteHost,"/").concat(p).concat(null==t?void 0:t.hotelOfferUrl),(0,N.openUrl)({url:n})};return(0,i.jsxs)("div",{className:A().offerItem,onClick:function(){return w(v,f)},children:[(0,i.jsx)("div",{className:A().offerItemImage,children:(0,i.jsx)(S.Z,{data:{src:T},className:A().offerImage,showType:"bg",alt:""})}),(0,i.jsxs)("div",{className:A().offerItemCont,children:[(0,i.jsx)("div",{className:s()(A().offerItemTitle,"text-medium"),children:k}),v===Z.ROOM&&(null==f?void 0:f.squareMeter)&&(0,i.jsx)("div",{className:s()(A().offerRoomSquare,"text-regular"),children:f.squareMeter}),(0,i.jsx)("div",{className:"flex-1"}),_&&(0,i.jsx)(R.Z,{type:"offer",earnTokenText:null!==(d=null==x?void 0:x.tagPrefixText)&&void 0!==d?d:"",modalTitle:null==x?void 0:x.detailTitle,index:m,earnPrefixText:null==g?void 0:g[0],earnSuffixText:null==y?void 0:y[1],earnPrefix:null===(r=null==x?void 0:null===(n=x.detailText)||void 0===n?void 0:n.split("{0}"))||void 0===r?void 0:r[0],earnSuffix:null===(a=null==x?void 0:null===(o=x.detailText)||void 0===o?void 0:o.split("{1}"))||void 0===a?void 0:a[1],tokenNum:O,tokenContent:null==x?void 0:x.moreTips}),v===Z.OFFER&&(null==f?void 0:f.price)&&(null==f?void 0:f.currency)&&(0,i.jsx)("div",{className:s()(A().offerPrice,"text-regular"),children:(0,i.jsx)("p",{dangerouslySetInnerHTML:{__html:(null==f?void 0:f.offerType)!=="ROOMS_SUITES"?h("otherOfferDesc").replace("{{price}}",(0,b.bk)(null==f?void 0:f.price)).replace("{{currency}}",null==f?void 0:f.currency):(null==f?void 0:f.minMultiNightCount)>0?h("mulitPriceDesc").replace("{{price}}",(0,b.bk)(null==f?void 0:f.price)).replace("{{currency}}",null==f?void 0:f.currency).replace("{{minMultiNightCount}}",null==f?void 0:f.minMultiNightCount):h("singlePriceDesc").replace("{{price}}",(0,b.bk)(null==f?void 0:f.price)).replace("{{currency}}",null==f?void 0:f.currency)}})}),(0,i.jsx)("div",{className:s()(A().offerItemHotel,"text-medium"),children:null==f?void 0:f.hotelName})]})]})},H=n(84482),D=n(67857),z=n(88754),q=n(81904),U=n.n(q),W=n(13284),G=function(e){var t=e.dispatch,n=e.roomList,l=void 0===n?[]:n,f=e.offerList,_=void 0===f?[]:f,g=e.loading,y=void 0!==g&&g,b=e.selectHotelList,O=e.finished,L=void 0!==O&&O,E=e.countryHotelList,j=void 0===E?[]:E,S=(0,z.Z)(),I=(0,c.$G)("famex").t,M=(0,u.useRouter)().query,R=(0,d.useState)((null==M?void 0:M.type)||Z.ROOM),P=R[0],A=R[1],q=(0,d.useState)(null==M||!M.earnTokens||JSON.parse(M.earnTokens||"")),G=q[0],V=q[1],J=(0,d.useState)(1),Y=J[0],K=J[1],Q=(0,d.useState)(!1),X=Q[0],$=Q[1],ee=(0,d.useState)({}),et=ee[0],en=ee[1],er=(0,d.useState)(!1),eo=er[0],ea=er[1],ei=(0,w.Z)(),el=(0,k.Bn)(),es=(0,d.useRef)(),ec=(0,d.useRef)(!1),eu=[{key:Z.ROOM,label:I("famexRoom")},{key:Z.OFFER,label:I("famexPackage")},];(0,d.useEffect)(function(){return y?h.Z.show():h.Z.hide(),function(){h.Z.hide()}},[y]);var ed=function(){if(es){var e,t,n,r=document.documentElement.clientHeight,o=document.documentElement.scrollTop,a=null==es?void 0:null===(e=es.current)||void 0===e?void 0:e.offsetTop;r+o-a-(null==es?void 0:null===(t=es.current)||void 0===t?void 0:t.offsetHeight)>=0&&a>0&&!L&&!ec.current&&K(Y+1)}};(0,d.useEffect)(function(){return document.addEventListener("scroll",ed),function(){document.removeEventListener("scroll",ed)}}),(0,d.useEffect)(function(){t({type:"".concat(T,"/getFamexSelectHotel")})},[]);var ef=(0,d.useCallback)(function(){K(1),t({type:"".concat(T,"/setValue"),payload:{finished:!1,roomList:[],offerList:[]}})},[t]),em=(0,d.useMemo)(function(){return S.sm&&P===Z.ROOM&&!(null==et?void 0:et.hotelCode)},[P,S.sm,null==et?void 0:et.hotelCode]);(0,d.useEffect)(function(){P!==Z.ROOM||(null==et?void 0:et.hotelCode)||ef()},[S.sm]);var ev=(0,d.useMemo)(function(){if(ei){if(!el)return null;var e=(null==et?void 0:et.hotelCode)||"";return P===Z.OFFER?{userCurrency:el,hotelCode:e,supportToken:!!G,bizType:"FAMEX",size:10,unionAllFilterParams:["Family"]}:(0,a.Z)((0,o.Z)({hotelCode:e,supportToken:!!G,bizType:"FAMEX"},em?{}:{pageSize:10,pageNum:Y}),{roomTagParams:["kid-themed"],isAllRoomList:em})}return null},[ei,el,null==et?void 0:et.hotelCode,em,P,G,Y,]),ep=(0,d.useCallback)(function(){if(ev){var e=P===Z.OFFER?"".concat(T,"/getFamexOfferList"):"".concat(T,"/getFamexRoomList");ec.current=!0,t({type:e,payload:{query:ev,onError:function(e){e&&p.Z.alert({content:e})},onFinish:function(){ec.current=!1}}})}},[ev,P,t]);(0,d.useEffect)(function(){ep()},[ep]);var eh=function(){$(!0)},ex=function(e){var t;e!==P&&(A(e),ef(),null==window||null===(t=window.adobeAdapter)||void 0===t||t.track({PreviousButtonClick:"Click_FamilyOffers_FamilyProduct",SiteSection2:e===Z.ROOM?"room":"pkg"}))},e_=(0,d.useMemo)(function(){if(!em)return l;var e=l.reduce(function(e,t){return e[t.hotelCode]=e[t.hotelCode]||[],e[t.hotelCode].push(t),e},{}),t=[];
1return j.forEach(function(n){var r=n.country,o=n.countryName,a=n.hotelCodes.map(function(t){return e[t]||[]}).flat();0!==a.length&&t.push({country:r,countryName:o,hotelList:a})}),t},[j,l,em]);(0,d.useEffect)(function(){ei&&((0,N.getLoginStatus)()?t({type:"famex/getFamexBasicInfo",payload:{onSuccess:function(e){var t=e||{},n=t.famexId,r=t.famexStatus;n&&"INACTIVE"!==r?ea(!1):ea(!0)},onError:function(e){p.Z.alert({content:e||I("common:networkTipsError"),okText:I("common:confirm")})}}}):ea(!0))},[ei,I,t]);var eg=function(){ea(!1),p.Z.dialog({content:(0,i.jsx)(W.Z,{data:I("createSuccess")})})};return(0,i.jsxs)("div",{className:"relative",children:[(0,i.jsxs)("div",{className:U().famexOfferList,children:[(0,i.jsx)("div",{className:s()(U().famexOfferListTitle,"hidden sm:flex title-regular"),children:I("famex:offerList.metaTitle")}),(0,i.jsxs)("div",{className:U().famexStickyWrap,children:[(0,i.jsx)("div",{className:U().famexOfferLocation,children:(0,i.jsx)("div",{className:s()(U().famexOfferLocationCont,"text-regular cursor-pointer"),onClick:eh,children:(0,i.jsx)("div",{className:U().hotelName,children:(null==et?void 0:et.hotelName)?null==et?void 0:et.hotelName:I("all")})})}),(0,i.jsx)("div",{className:"".concat(U().offerTabList," sm:mt-16px"),children:eu.map(function(e,t){return(0,i.jsx)("div",{className:s()(U().offerTabItem,"text-regular cursor-pointer",(0,r.Z)({},U().offerTabActive,P===e.key)),onClick:function(){return ex(null==e?void 0:e.key)},children:e.label},t)})}),(0,i.jsxs)("div",{className:"".concat(U().famexOfferTag),children:[(0,i.jsx)(m.Z,{theme:"brand",className:U().famexOfferTagCheckbox,checked:G,onChange:function(e){var t,n,r=null==e?void 0:null===(t=e.target)||void 0===t?void 0:t.checked;V(r),ef(),null==window||null===(n=window.adobeAdapter)||void 0===n||n.track({PreviousButtonClick:"Click_FamilyOffers_FamilyProduct",SiteSection2:r?"filtered":"no-filtered"})}}),(0,i.jsx)(v.Z,{className:s()(U().famexOfferTagText,"text-regular"),children:I("earnTokens")})]})]}),(0,i.jsx)(H.Z,{type:H.Z.CONTENT_TYPE.normal,className:"".concat(U().famexOfferMain," sm:px-15px lg:px-0"),children:(0,i.jsxs)("div",{ref:es,children:[P===Z.OFFER&&(null==_?void 0:_.length)>0?(0,i.jsx)("div",{className:U().offerList,children:_.map(function(e,n){return(0,i.jsx)(B,{dispatch:t,offer:e,index:n,type:Z.OFFER},n)})}):P===Z.OFFER&&(0,i.jsx)(x.Z,{message:I("emptyTips")}),P===Z.ROOM&&(null==l?void 0:l.length)>0?em?(0,i.jsx)(i.Fragment,{children:e_.map(function(e,n){return(0,i.jsxs)("div",{className:U().countryGroup,children:[(0,i.jsxs)("div",{className:"".concat(U().countryTitle," title-regular my-16px"),children:[e.countryName," (",e.hotelList.length,")"]}),(0,i.jsx)("div",{className:U().offerList,children:e.hotelList.map(function(e,r){return(0,i.jsx)(B,{dispatch:t,offer:e,index:r,type:Z.ROOM},"".concat(n,"-").concat(r))})})]},n)})}):(0,i.jsx)("div",{className:U().offerList,children:l.map(function(e,n){return(0,i.jsx)(B,{dispatch:t,offer:e,index:n,type:Z.ROOM},n)})}):P===Z.ROOM&&(0,i.jsx)(x.Z,{message:I("emptyTips")})]})})]}),X&&(0,i.jsx)(C.Z,{placement:"bottom",className:U().hotelDrawer,visible:X,logo:(0,i.jsx)("div",{className:U().hotelDrawerTitle,children:I("selectHotel")}),height:"100%",onClose:function(){return $(!1)},children:(0,i.jsx)(F,{selectHotelList:void 0===b?[]:b,onSelect:function(e){en(e),$(!1),ef()}})}),(0,i.jsx)(D.Z,{onCreateSuccess:eg,showBar:eo})]})},V=(0,f.$j)(function(e){return(0,o.Z)({},e[T]||{})})(G),J=n(83465);V.model=[{namespace:T,state:{offerList:[],roomList:[],countryHotelList:[],loading:!1,finished:!1,noResultText:"",earnModalInfo:{}},reducers:{setValue:function(e,t){var n=t.payload;return(0,o.Z)({},e,n)}},effects:{getFamexOfferList:function(e,t){var n,r,o,a,i,l,s,c,u,d,f,m,v,p,h,x,_,O,N,k,w,C,L,E,j;return(0,g.__generator)(this,function(a){switch(a.label){case 0:return n=e.payload,r=t.call,o=t.put,[4,(0,t.select)(function(e){return e[T]||[]})];case 1:if(s=void 0===(l=(i=a.sent()).offerList)?[]:l,c=i.loading,u=i.finished,c||u)return[2];d=n.query,m=void 0===(f=n.onError)?b.ZT:f,p=void 0===(v=n.onFinish)?b.ZT:v,a.label=2;case 2:return a.trys.push([2,8,9,11]),[4,o({type:"setValue",payload:{loading:!0}})];case 3:return a.sent(),h=[],null==s||s.map(function(e){h.push(null==e?void 0:e.id)}),d.excludeIds=h,[4,r(y.jm,d)];case 4:if(N=void 0===(O=(_=a.sent()||{}).data)?{}:O,k=_.status,w=_.message,0!=+k)return[3,6];return[4,o({type:"setValue",payload:{offerList:L=s.concat((null==N?void 0:N.list)||[]),finished:(null==N?void 0:null===(C=N.list)||void 0===C?void 0:C.length)<10,noResultText:(null==N?void 0:N.noOfferNote)||""}})];case 5:return a.sent(),[3,7];case 6:m(w),a.label=7;case 7:return[3,11];case 8:return m(null==(j=a.sent())?void 0:j.message),console.log("famex getFamexOfferList error: ",j),[3,11];case 9:return p(),[4,o({type:"setValue",payload:{loading:!1}})];case 10:return a.sent(),[7];case 11:return[2]}})},getFamexRoomList:function(e,t){var n,r,o,a,i,l,s,c,u,d,f,m,v,p,h,x,_,O,N,k,w,C,L,E;return(0,g.__generator)(this,function(a){switch(a.label){case 0:return n=e.payload,r=t.call,o=t.put,[4,(0,t.select)(function(e){return e[T]||[]})];case 1:if(s=void 0===(l=(i=a.sent()).roomList)?[]:l,c=i.loading,u=i.finished,c||u)return[2];d=n.query,m=void 0===(f=n.onError)?b.ZT:f,p=void 0===(v=n.onFinish)?b.ZT:v,a.label=2;case 2:return a.trys.push([2,8,9,11]),[4,o({type:"setValue",payload:{loading:!0}})];case 3:return a.sent(),[4,r(y.Ow,d)];case 4:if(O=void 0===(_=(x=a.sent()||{}).data)?{}:_,N=x.status,k=x.message,0!=+N)return[3,6];return[4,o({type:"setValue",payload:{roomList:C=s.concat((null==O?void 0:O.roomList)||[]),finished:null!=d&&!!d.isAllRoomList||10>((null==O?void 0:null===(w=O.roomList)||void 0===w?void 0:w.length)||0)}})];case 5:return a.sent(),[3,7];case 6:m(k),a.label=7;case 7:return[3,11];case 8:return m(null==(E=a.sent())?void 0:E.message),console.log("famex getFamexRoomList error: ",E),[3,11];case 9:return p(),[4,o({type:"setValue",payload:{loading:!1}})];case 10:return a.sent(),[7];case 11:return[2]}})},getFamexSelectHotel:function(e,t){var n,r,o,a,i,l,s,c,u,d;return(0,g.__generator)(this,function(l){switch(l.label){case 0:r=void 0===(n=e.payload)?{}:n,o=t.call,a=t.put,i=r.query,l.label=1;case 1:return l.trys.push([1,5,,6]),[4,o(y.Ys,i)];case 2:if(!(u=void 0===(c=(l.sent()||{}).data)?{}:c).resultList)return[3,4];return[4,a.resolve({type:"formatHotelList",payload:{list:u.resultList}})];case 3:l.sent(),l.label=4;case 4:return[3,6];case 5:return d=l.sent(),console.log("famex getFamexSelectHotel error: ",d),[3,6];case 6:return[2]}})},formatHotelList:function(e,t){var n,r,i,l,s,c,u,d;return(0,g.__generator)(this,function(n){switch(n.label){case 0:return i=void 0===(r=e.payload.list)?[]:r,l=t.put,s=["asia","middleeast","europe","northamerica","oceania","africa"],i.sort(function(e,t){var n=e.cityAlias.toLocaleLowerCase(),r=t.cityAlias.toLocaleLowerCase();return n<r?-1:n>r?1:0}
1),c=i.reduce(function(e,t){var n=t.regionEn,r=(0,O.r)(t),o=t.cityAlias,a=[{hotelCode:t.hotelCode,hotelName:t.hotel},],i=e.findIndex(function(e){return e.region===n}),l=s.findIndex(function(e){return e===n});if(-1===l)return e;if(-1===i)e.push({region:n,regionName:t.region,order:l,cityAlias:o,countrys:[{country:r,countryName:(0,O.p)(r,(0,N.getPathLang)(window.location.href))||t.country,hotels:a},]});else{var c=e[i].countrys||[],u=c.findIndex(function(e){return e.country===r});if(-1===u)c.push({country:r,countryName:(0,O.p)(r,(0,N.getPathLang)(window.location.href))||t.country,hotels:a});else{var d=e[i].countrys[u].hotels||[];d.push.apply(d,(0,_.Z)(a))}}return e},[]),u={"Mainland China":"china"},c.map(function(e){var t=e.countrys;return t.sort(function(e,t){if(e.hotels.length>t.hotels.length)return -1;if(e.hotels.length<t.hotels.length)return 1;var n=u[e.country]||e.country.toLocaleLowerCase(),r=u[t.country]||t.country.toLocaleLowerCase();return n<r?-1:n>r?1:0}),(0,a.Z)((0,o.Z)({},e),{countrys:t})}),c.sort(function(e,t){return e.order-t.order}),d=[],c.forEach(function(e){e.countrys.forEach(function(e){var t=e.hotels.map(function(e){return e.hotelCode});d.push({country:e.country,countryName:e.countryName,hotelCodes:t})})}),[4,l({type:"setValue",payload:{selectHotelList:c,countryHotelList:d}})];case 1:return n.sent(),[2]}})}}},J.Z];var Y=!0,K=V},32307:function(e,t,n){"use strict";n.d(t,{p:function(){return l},r:function(){return i}});var r=n(14924),o="Hong Kong, Macao and Taiwan",a=(0,r.Z)({China:{en:"Chinese Mainland",cn:"ä¸å½å
å°",jp:"ä¸å½æ¬å",tc:"ä¸åå
§å°"},"Mainland China":{en:"Chinese Mainland",cn:"ä¸å½å
å°",jp:"ä¸å½æ¬å",tc:"ä¸åå
§å°"}},o,{en:"Hong Kong, Macao and Taiwan",cn:"港澳å°",jp:"馿¸¯ã»ãã«ãªã»å°æ¹¾",tc:"港澳å°"});function i(e){return"Hong Kong SAR"===e.countryEn||"Taiwan"===e.countryEn||"Macao"===e.countryEn?o:e.countryEn}function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en";if(e&&a[e])return a[e][t]||a[e].en}},50255:function(e,t,n){"use strict";var r=n(67294).useLayoutEffect;t.Z=r},88754:function(e,t,n){"use strict";var r=n(828),o=n(67294),a=n(18446),i=n.n(a),l=n(23493),s=n.n(l),c=n(66476);function u(){return Object.keys(c).reduce(function(e,t){return e[t]=!1,e},{})}function d(){return Object.entries(c).reduce(function(e,t){var n=(0,r.Z)(t,2),o=n[0],a=n[1];return"print"===o?(e[o]=!1,e):(e[o]=window.innerWidth>=parseInt(a),e)},{})}var f={listeners:new Set,currentMatches:u(),initialized:!1,boundUpdateScreenMatches:null,
1subscribe:function(e){var t=this;return this.listeners.add(e),this.initialized||this.initialize(),function(){t.listeners.delete(e),0===t.listeners.size&&t.cleanup()}},initialize:function(){this.currentMatches=d(),this.boundUpdateScreenMatches=s()(this.updateScreenMatches.bind(this),100,{leading:!0,trailing:!0}),window.addEventListener("resize",this.boundUpdateScreenMatches),window.addEventListener("orientationchange",this.boundUpdateScreenMatches),this.initialized=!0},cleanup:function(){window.removeEventListener("resize",this.boundUpdateScreenMatches),window.removeEventListener("orientationchange",this.boundUpdateScreenMatches),this.initialized=!1,this.boundUpdateScreenMatches.cancel&&this.boundUpdateScreenMatches.cancel()},updateScreenMatches:function(){var e=d();i()(this.currentMatches,e)||(this.currentMatches=e,this.notifyListeners())},notifyListeners:function(){var e=this;this.listeners.forEach(function(t){t(e.currentMatches)})}};t.Z=function(){var e=(0,o.useState)(function(){return f.initialized?f.currentMatches:u()}),t=e[0],n=e[1];return(0,o.useEffect)(function(){return f.initialized||f.initialize(),n(function(e){return i()(e,f.currentMatches)?e:f.currentMatches}),f.subscribe(function(e){n(e)})},[]),t}},22512:function(e,t,n){"use strict";var r=n(828),o=n(67294),a=n(96486),i=n(62307),l=n(50255),s=n(66476);function c(){return Object.entries(s).reduce(function(e,t){var n=(0,r.Z)(t,2),o=n[0],a=n[1];return e[o]=!i.sk&&window.innerWidth>=parseInt(a),e},{})}t.Z=function(){var e=(0,o.useState)(c),t=e[0],n=e[1];return(0,l.Z)(function(){var e=function(){var e=c();(0,a.isEqual)(e,t)||n(e)};return window.addEventListener("resize",e),window.addEventListener("orientationchange",e),function(){window.removeEventListener("resize",e),window.removeEventListener("orientationchange",e)}},[t]),t}},69108:function(e){e.exports={wrapper:"BaseDrawer_wrapper__YrZDz",iconClose:"BaseDrawer_iconClose__p1mT5",iconBack:"BaseDrawer_iconBack__ah3Pt"}},67784:function(e){e.exports={wraper:"CheckBox_wraper__GbOVe",square:"CheckBox_square__CAk9R",circle:"CheckBox_circle__YRSzj",brand:"CheckBox_brand__ymZyU"}},79221:function(e){e.exports={cont:"Fail_cont__7gZ44",desc:"Fail_desc__boE5b",websiteDesc:"Fail_websiteDesc__Yre3N",refresh:"Fail_refresh__5_tYQ",refreshText:"Fail_refreshText__E3CAg",noResult:"Fail_noResult__CBY4y",noResultIcon:"Fail_noResultIcon__wrO8_",noResultTitle:"Fail_noResultTitle__qbiAU",noResultBtn:"Fail_noResultBtn__DwTqD"}},69922:function(e){e.exports={wrapper:"Loading_wrapper__BPPxK",componentWrapper:"Loading_componentWrapper__rj0H1",imgWrapper:"Loading_imgWrapper__d_ClT"}},18077:function(e){e.exports={selectHotelListWarp:"FamexSelectHotel_selectHotelListWarp__NVd5C",selectHotelList:"FamexSelectHotel_selectHotelList__UVLiD",all:"FamexSelectHotel_all__g1ZLm",regionBox:"FamexSelectHotel_regionBox___meam",region:"FamexSelectHotel_region__bAARz",country:"FamexSelectHotel_country__EW_90",hotel:"FamexSelectHotel_hotel__ZMRQ9"}},42606:function(e){e.exports={offerItem:"OfferItem_offerItem__ZaRpj",offerItemImage:"OfferItem_offerItemImage__EBlen",offerItemCont:"OfferItem_offerItemCont__sq_10",offerItemTitle:"OfferItem_offerItemTitle__uNTBV",offerRoomSquare:"OfferItem_offerRoomSquare__rVj2P",offerItemHotel:"OfferItem_offerItemHotel__oofak",offerPrice:"OfferItem_offerPrice__cH3QK"}},81904:function(e){e.exports={famexOfferList:"FamexOfferList_famexOfferList__VGex4",famexOfferListTitle:"FamexOfferList_famexOfferListTitle__DEJ08",famexOfferLocation:"FamexOfferList_famexOfferLocation__mgw2U",famexOfferLocationCont:"FamexOfferList_famexOfferLocationCont___Np7V",hotelName:"FamexOfferList_hotelName__LgLcg",offerTabList:"FamexOfferList_offerTabList__upxdv",offerTabItem:"FamexOfferList_offerTabItem__1GLzB",offerTabActive:"FamexOfferList_offerTabActive__zBwEr",famexOfferTag:"FamexOfferList_famexOfferTag__GKEMc",famexOfferTagCheckbox:"FamexOfferList_famexOfferTagCheckbox__Ro3O8",famexOfferTagText:"FamexOfferList_famexOfferTagText__hcUjk",famexStickyWrap:"FamexOfferList_famexStickyWrap__Bgx__",famexOfferMain:"FamexOfferList_famexOfferMain__KJjHg",countryTitle:"FamexOfferList_countryTitle__Om_Uv",offerList:"FamexOfferList_offerList__qL8Xs",hotelDrawer:"FamexOfferList_hotelDrawer__OHLtt",hotelDrawerTitle:"FamexOfferList_hotelDrawerTitle__czdtm"}},21253:function(e){e.exports={famexBottom:"DiscoverFamilyBar_famexBottom__xfAza",icon:"DiscoverFamilyBar_icon__aOiLn",famexJoinBtn:"DiscoverFamilyBar_famexJoinBtn__3HicJ"}},23199:function(e){e.exports={earnTokenBlock:"FamexEarnToken_earnTokenBlock___TYj8",textBlock:"FamexEarnToken_textBlock__Ds3St",offerTextBlock:"FamexEarnToken_offerTextBlock__MVW_E",tokenBlock:"FamexEarnToken_tokenBlock__8hEg0",earnSuffix:"FamexEarnToken_earnSuffix__zIdR_",earnPrefix:"FamexEarnToken_earnPrefix__Qe766",tokenIcon:"FamexEarnToken_tokenIcon__F8X9o",token:"FamexEarnToken_token__siGEv",icon:"FamexEarnToken_icon__8u1vI",iconUp:"FamexEarnToken_iconUp__g5X7o",earnModal:"FamexEarnToken_earnModal__eJ7W5",earnModalMain:"FamexEarnToken_earnModalMain__rb3xa",earnModalTitle:"FamexEarnToken_earnModalTitle___mi9d",earnModalCont:"FamexEarnToken_earnModalCont__Nmjbz",earnModalText:"FamexEarnToken_earnModalText__uXoOa",earnModalNum:"FamexEarnToken_earnModalNum__Lw6Q_",earnModalTips:"FamexEarnToken_earnModalTips__wo30Y",earnTokenOverlay:"FamexEarnToken_earnTokenOverlay___bhBH"}},66476:function(e){"use strict";e.exports=JSON.parse('{"sm":"828px","md":"1024px","lg":"1366px","xl":"1920px","sc1160":"1160px","print":{"raw":"print"}}')}},function(e){e.O(0,[3662,1059,8469,4470,3465,9774,2888,179],function(){return e(e.s=54593)}),_N_E=e.O()}]);
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.