PageSourceSearch

https://www.hotelirada.com/_next/static/chunks/4113.456c01427179c00d.js

js hotelirada.com collected 2026-10-04 20:15:08 UTC 6,832 bytes, 9 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4113],{19114:(e,t,n)=>{n.d(t,{N:()=>v});var r=n(95155),s=n(12115),i=n(90869),l=n(82885),o=n(97494),a=n(80845),c=n(27351),u=n(51508);function d(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}class h extends s.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){let e=t.offsetParent,n=(0,c.s)(e)&&e.offsetWidth||0,r=this.props.sizeRef.current;r.height=t.offsetHeight||0,r.width=t.offsetWidth||0,r.top=t.offsetTop,r.left=t.offsetLeft,r.right=n-r.width-r.left}return null}componentDidUpdate(){}render(){return this.props.children}}function p({children:e,isPresent:t,anchorX:n,root:i}){let l=(0,s.useId)(),o=(0,s.useRef)(null),a=(0,s.useRef)({width:0,height:0,top:0,left:0,right:0}),{nonce:c}=(0,s.useContext)(u.Q),p=function(...e){return s.useCallback(function(...e){return t=>{let n=!1,r=e.map(e=>{let r=d(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];"function"==typeof n?n():d(e[t],null)}}}}(...e),e)}(o,e?.ref);return(0,s.useInsertionEffect)(()=>{let{width:e,height:r,top:s,left:u,right:d}=a.current;if(t||!o.current||!e||!r)return;let h="left"===n?`left: ${u}`:`right: ${d}`;o.current.dataset.motionPopId=l;let p=document.createElement("style");c&&(p.nonce=c);let f=i??document.head;return f.appendChild(p),p.sheet&&p.sheet.insertRule(`
2          [data-motion-pop-id="${l}"] {
3            position: absolute !important;
4            width: ${e}px !important;
5            height: ${r}px !important;
6            ${h}px !important;
7            top: ${s}px !important;
8          }
9        `),()=>{f.contains(p)&&f.removeChild(p)}},[t]),(0,r.jsx)(h,{isPresent:t,childRef:o,sizeRef:a,children:s.cloneElement(e,{ref:p})})}let f=({children:e,initial:t,isPresent:n,onExitComplete:i,custom:o,presenceAffectsLayout:c,mode:u,anchorX:d,root:h})=>{let f=(0,l.M)(m),x=(0,s.useId)(),w=!0,g=(0,s.useMemo)(()=>(w=!1,{id:x,initial:t,isPresent:n,custom:o,onExitComplete:e=>{for(let t of(f.set(e,!0),f.values()))if(!t)return;i&&i()},register:e=>(f.set(e,!1),()=>f.delete(e))}),[n,f,i]);return c&&w&&(g={...g}),(0,s.useMemo)(()=>{f.forEach((e,t)=>f.set(t,!1))},[n]),s.useEffect(()=>{n||f.size||!i||i()},[n]),"popLayout"===u&&(e=(0,r.jsx)(p,{isPresent:n,anchorX:d,root:h,children:e})),(0,r.jsx)(a.t.Provider,{value:g,children:e})};function m(){return new Map}var x=n(32082);let w=e=>e.key||"";function g(e){let t=[];return s.Children.forEach(e,e=>{(0,s.isValidElement)(e)&&t.push(e)}),t}let v=({children:e,custom:t,initial:n=!0,onExitComplete:a,presenceAffectsLayout:c=!0,mode:u="sync",propagate:d=!1,anchorX:h="left",root:p})=>{let[m,v]=(0,x.xQ)(d),y=(0,s.useMemo)(()=>g(e),[e]),b=d&&!m?[]:y.map(w),j=(0,s.useRef)(!0),k=(0,s.useRef)(y),C=(0,l.M)(()=>new Map),[E,N]=(0,s.useState)(y),[A,P]=(0,s.useState)(y);(0,o.E)(()=>{j.current=!1,k.current=y;for(let e=0;e<A.length;e++){let t=w(A[e]);b.includes(t)?C.delete(t):!0!==C.get(t)&&C.set(t,!1)}},[A,b.length,b.join("-")]);let M=[];if(y!==E){let e=[...y];for(let t=0;t<A.length;t++){let n=A[t],r=w(n);b.includes(r)||(e.splice(t,0,n),M.push(n))}return"wait"===u&&M.length&&(e=M),P(g(e)),N(y),null}let{forceRender:L}=(0,s.useContext)(i.L);return(0,r.jsx)(r.Fragment,{children:A.map(e=>{let s=w(e),i=(!d||!!m)&&(y===A||b.includes(s));return(0,r.jsx)(f,{isPresent:i,initial:(!j.current||!!n)&&void 0,custom:t,presenceAffectsLayout:c,mode:u,root:p,onExitComplete:i?void 0:()=>{if(!C.has(s))return;C.set(s,!0);let e=!0;C.forEach(t=>{t||(e=!1)}),e&&(L?.(),P(k.current),d&&v?.(),a&&a())},anchorX:h,children:e},s)})})}},25318:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(40157).A)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},31554:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(40157).A)("Phone",[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]])},56494:(e,t,n)=>{n.r(t),n.d(t,{default:()=>p});var r=n(95155),s=n(12115),i=n(19114),l=n(305),o=n(31554),a=n(25318);let c=(0,n(40157).A)("MessageCircle",[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}]]);var u=n(29911),d=n(84613),h=n(31867);let p=()=>
9{let[e,t]=(0,s.useState)(!1),[n,p]=(0,s.useState)(!1),[f,m]=(0,s.useState)(!1);(0,s.useEffect)(()=>{let e=()=>p(window.scrollY>50);return window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)},[]),(0,s.useEffect)(()=>{let e=()=>m(window.innerWidth>=1024);return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);let x=`https://wa.me/917080250472?text=${encodeURIComponent("Hi Team, wanted to know more about Hotel Irada")}`,w=async(e,t)=>{(0,d.gO)().catch(e=>console.error("Failed to track lead:",e)),(0,h.sx)("WhatsApp"===t?"contact_whatsapp_click":"contact_phone_click","Contact","Floating Widget"),window.open(e,"_blank")};return n?(0,r.jsxs)("div",{className:"fixed bottom-6 right-6 z-50 flex flex-col items-end",onMouseEnter:()=>f&&t(!0),onMouseLeave:()=>f&&t(!1),children:[(0,r.jsx)(i.N,{children:e&&(0,r.jsxs)(l.P.div,{initial:{opacity:0,y:10,scale:.95},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:10,scale:.95},transition:{duration:.25,ease:"easeInOut"},className:"mb-3 bg-primary-red text-white rounded-xl shadow-2xl p-3 flex flex-col gap-3",children:[(0,r.jsx)("button",{onClick:()=>w(x,"WhatsApp"),"aria-label":"Chat on WhatsApp",className:"flex items-center justify-center hover:bg-white/10 transition rounded-lg p-2 cursor-pointer",children:(0,r.jsx)("div",{className:"bg-white text-primary-red rounded-full p-2 shadow-sm",children:(0,r.jsx)(u.EcP,{className:"h-5 w-5"})})}),(0,r.jsx)("button",{onClick:()=>w("tel:917510002196","Phone"),"aria-label":"Call us",className:"flex items-center justify-center hover:bg-white/10 transition rounded-lg p-2 cursor-pointer",children:(0,r.jsx)("div",{className:"bg-white text-primary-red rounded-full p-2 shadow-sm",children:(0,r.jsx)(o.A,{className:"h-5 w-5"})})})]},"popup")}),(0,r.jsx)(l.P.button,{onClick:()=>{if(!f){let n=!e;t(n),(0,h.sx)("contact_menu_toggle","Contact",n?"Open":"Close")}},"aria-label":"Toggle contact options",whileTap:{scale:.9},whileHover:{scale:f?1.05:1.1},className:"bg-primary-red text-white rounded-full p-3.5 shadow-xl flex items-center justify-center",children:(0,r.jsx)(l.P.div,{initial:{rotate:0,opacity:0,scale:.8},animate:{rotate:360,opacity:1,scale:1},exit:{rotate:-180,opacity:0},transition:{duration:.3},children:e?(0,r.jsx)(a.A,{className:"h-6 w-6",strokeWidth:2.5}):(0,r.jsx)(c,{className:"h-6 w-6",strokeWidth:2.2})},e?"close":"chat")})]}):null}}}]);

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.