PageSourceSearch

https://hotelzify.com/static/js/4362.b3136801.chunk.js

js hotelzify.com collected 2026-10-01 15:35:42 UTC 4,313 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunklanding_page=self.webpackChunklanding_page||[]).push([[4362],{540:(e,t,a)=>{var i,n=a(7425),r=(i=n)&&i.__esModule?i:{default:i};e.exports=r.default},4362:(e,t,a)=>{a.r(t),a.d(t,{default:()=>l});var i=a(5043),n=a(540),r=a.n(n),d=a(3751),o=a(5346),s=a(7368),c=a(579);const l=()=>{var e;const[t,a]=(0,i.useState)([]),[n,l]=(0,i.useState)(!0),{width:u}=(0,s.A)();return r().initialize({gtmId:"GTM-KGP56JZ"}),(0,i.useEffect)(()=>{var e;(null===(e=window.location.search)||void 0===e?void 0:e.length)>0&&(async()=>{let e=window.location.search.slice(1).split("&").map(e=>decodeURIComponent(e));a(e),(0,o.fireGtmEvent)("redirectPageViewed",{redirectSource:e[2]||"others",deviceType:u<600?"mobile":"desktop",useCase:e[3]||"others",hotelId:e[4]||"null"})})()},[]),(null===(e=window.location.search)||void 0===e?void 0:e.length)>0?t.length>0?(0,c.jsxs)("div",{className:"redirectPage",children:[(0,c.jsx)("a",{href:t[1],target:"_blank",className:"webApp",onClick:()=>(0,o.fireGtmEvent)("redirectUser",{redirectSource:t[2]||"others",deviceType:u<600?"mobile":"desktop",useCase:t[3]||"others",hotelId:t[4]||"null",clicked:"web"}),children:"Open in Web"}),(0,c.jsx)("a",{href:t[0],target:"_blank",className:"mobileApp",onClick:()=>(0,o.fireGtmEvent)("redirectUser",{redirectSource:t[2]||"others",deviceType:u<600?"mobile":"desktop",useCase:t[3]||"others",hotelId:t[4]||"null",clicked:"mobile"}),children:"Open in Mobile"})]}):(0,c.jsx)("p",{style:{display:"flex",justifyContent:"center",height:"100vh",alignItems:"center"},children:"Loading..."}):(0,c.jsx)(d.Redirect,{to:"/pagenotfound"})}},5520:(e,t,a)=>{var i,n=a(8804),r=(i=n)&&i.__esModule?i:{default:i};var d={tags:function(e){var t=e.id,a=e.events,i=e.dataLayer,n=e.dataLayerName,d=e.preview,o="&gtm_auth="+e.auth,s="&gtm_preview="+d;return t||(0,r.default)("GTM Id is required"),{iframe:'\n      <iframe src="https://www.googletagmanager.com/ns.html?id='+t+o+s+'&gtm_cookies_win=x"\n        height="0" width="0" style="display:none;visibility:hidden" id="tag-manager"></iframe>',script:"\n      (function(w,d,s,l,i){w[l]=w[l]||[];\n        w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js', "+JSON.stringify(a).slice(1,-1)+"});\n        var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';\n        j.async=true;
1j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl+'"+o+s+"&gtm_cookies_win=x';\n        f.parentNode.insertBefore(j,f);\n      })(window,document,'script','"+n+"','"+t+"');",dataLayerVar:this.dataLayer(i,n)}},dataLayer:function(e,t){return"\n      window."+t+" = window."+t+" || [];\n      window."+t+".push("+JSON.stringify(e)+")"}};e.exports=d},7368:(e,t,a)=>{a.d(t,{A:()=>n});var i=a(5043);const n=function(){const[e,t]=(0,i.useState)({width:window.innerWidth,height:window.innerHeight});return(0,i.useEffect)(()=>{function e(){t({width:window.innerWidth,height:window.innerHeight})}return window.addEventListener("resize",e),e(),()=>window.removeEventListener("resize",e)},[]),e}},7425:(e,t,a)=>{var i,n=a(5520),r=(i=n)&&i.__esModule?i:{default:i};var d={dataScript:function(e){var t=document.createElement("script");return t.innerHTML=e,t},gtm:function(e){var t=r.default.tags(e);return{noScript:function(){var e=document.createElement("noscript");return e.innerHTML=t.iframe,e},script:function(){var e=document.createElement("script");return e.innerHTML=t.script,e},dataScript:this.dataScript(t.dataLayerVar)}},initialize:function(e){var t=e.gtmId,a=e.events,i=void 0===a?{}:a,n=e.dataLayer,r=e.dataLayerName,d=void 0===r?"dataLayer":r,o=e.auth,s=void 0===o?"":o,c=e.preview,l=void 0===c?"":c,u=this.gtm({id:t,events:i,dataLayer:n||void 0,dataLayerName:d,auth:s,preview:l});n&&document.head.appendChild(u.dataScript),document.head.insertBefore(u.script(),document.head.childNodes[0]),document.body.insertBefore(u.noScript(),document.body.childNodes[0])},dataLayer:function(e){var t=e.dataLayer,a=e.dataLayerName,i=void 0===a?"dataLayer":a;if(window[i])return window[i].push(t);var n=r.default.dataLayer(t,i),d=this.dataScript(n);document.head.insertBefore(d,document.head.childNodes[0])}};e.exports=d},8804:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0});t.default=function(e){console.warn("[react-gtm]",e)}}}]);
2//# sourceMappingURL=4362.b3136801.chunk.js.map

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.