PageSourceSearch

https://www.hozpitality.com/_next/static/chunks/578.b3ac246720f6a337.js

js hozpitality.com collected 2026-10-02 05:25:12 UTC 1,680 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[578],{10578:function(e,t,n){n.r(t),n.d(t,{default:function(){return o}});var l=n(57437),r=n(2265),u=n(6106);let i=(e,t)=>JSON.stringify({a:e})===JSON.stringify({a:t}),s=(e,t)=>{let n=r.Children.map(e,e=>r.isValidElement(e)?e.key:null),l=r.Children.map(t,e=>r.isValidElement(e)?e.key:null);if((null==n?void 0:n.length)!==(null==l?void 0:l.length)||!n||!l)return!1;for(let e=0;e<n.length;e++)if(n[e]!==l[e])return!1;return!0};var o=e=>{let{settings:t,onClick:n,onIndexChanged:o,onTransitionStart:f,onTransitionEnd:d,onTouchStart:a,onTouchMove:c,onTouchEnd:h,onInit:m,className:v,style:y,children:E}=e,g=(0,r.useRef)(null),[k,S]=(0,r.useState)(null),[C,N]=(0,r.useState)(t),[p,b]=(0,r.useState)(E),_=!1,x=0,I=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(k&&k.destroy&&k.rebuild)k.destroy(),k.rebuild();else{if(null==g.current)return;let t={...e,container:g.current,onInit:()=>w()};if(S((0,u.W)(t)),!k)return;g.current&&(g.current.className+=" tns-item")}},w=()=>{if(!k)return x>=4?null==m?void 0:m(!1):(x++,void setTimeout(w,100));x=0;let{events:e}=k;e&&(e.on("transitionStart",e=>{_=!0,null==f||f(e)}),e.on("transitionEnd",e=>{_=!1,null==d||d(e)}),o&&e.on("indexChanged",o),a&&e.on("touchStart",a),c&&e.on("touchMove",c),h&&e.on("touchEnd",h)),null==m||m(!0)};return(0,r.useEffect)(()=>{I(t)},[t]),(0,r.useEffect)(()=>{i(t,C)&&s(E,p)||I(t),N(t),b(E)},[t,E]),(0,r.useEffect)(()=>()=>{k&&k.destroy&&k.destroy()},[]),(0,l.jsx)("div",{ref:g,onClick:e=>{if(_||!n)return;if(!k)return n(null,null,e);let t=k.getInfo();n(t.slideItems[t.index],t,e)},className:v,style:y,children:E})}}}]);

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.