PageSourceSearch

https://www.ulifestyle.com.hk/community/_next/static/chunks/2842-f97e561fc14730fa.js

js ulifestyle.com.hk collected 2026-09-24 08:40:00 UTC 5,867 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2842],{6741:function(e,n,t){t.d(n,{M:function(){return r}});function r(e,n,{checkForDefaultPrevented:t=!0}={}){return function(r){if(null==e||e(r),!1===t||!r.defaultPrevented)return null==n?void 0:n(r)}}},98575:function(e,n,t){t.d(n,{F:function(){return u},e:function(){return l}});var r=t(2265);function u(...e){return n=>e.forEach(e=>{"function"==typeof e?e(n):null!=e&&(e.current=n)})}function l(...e){return(0,r.useCallback)(u(...e),e)}},73966:function(e,n,t){t.d(n,{b:function(){return u}});var r=t(2265);function u(e,n=[]){let t=[],u=()=>{let n=t.map(e=>(0,r.createContext)(e));return function(t){let u=(null==t?void 0:t[e])||n;return(0,r.useMemo)(()=>({[`__scope${e}`]:{...t,[e]:u}}),[t,u])}};return u.scopeName=e,[function(n,u){let l=(0,r.createContext)(u),o=t.length;function i(n){let{scope:t,children:u,...i}=n,c=(null==t?void 0:t[e][o])||l,a=(0,r.useMemo)(()=>i,Object.values(i));return(0,r.createElement)(c.Provider,{value:a},u)}return t=[...t,u],i.displayName=n+"Provider",[i,function(t,i){let c=(null==i?void 0:i[e][o])||l,a=(0,r.useContext)(c);if(a)return a;if(void 0!==u)return u;throw Error(`\`${t}\` must be used within \`${n}\``)}]},function(...e){let n=e[0];if(1===e.length)return n;let t=()=>{let t=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let u=t.reduce((n,{useScope:t,scopeName:r})=>{let u=t(e)[`__scope${r}`];return{...n,...u}},{});return(0,r.useMemo)(()=>({[`__scope${n.scopeName}`]:u}),[u])}};return t.scopeName=n.scopeName,t}(u,...n)]}},99255:function(e,n,t){t.d(n,{M:function(){return c}});var r,u=t(2265),l=t(61188);let o=(r||(r=t.t(u,2)))["useId".toString()]||(()=>void 0),i=0;function c(e){let[n,t]=u.useState(o());return(0,l.b)(()=>{e||t(e=>null!=e?e:String(i++))},[e]),e||(n?`radix-${n}`:"")}},71599:function(e,n,t){t.d(n,{z:function(){return i}});var r=t(2265),u=t(54887),l=t(98575),o=t(61188);let i=e=>{let{present:n,children:t}=e,i=function(e){var n,t;let[l,i]=(0,r.useState)(),a=(0,r.useRef)({}),f=(0,r.useRef)(e),d=(0,r.useRef)("none"),[s,m]=(n=e?"mounted":"unmounted",t={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},(0,r.useReducer)((e,n)=>{let r=t[e][n];return null!=r?r:e},n));return(0,r.useEffect)(()=>{let e=c(a.current);d.current="mounted"===s?e:"none"},[s]),(0,o.b)(()=>{let n=a.current,t=f.current;if(t!==e){let r=d.current,u=c(n);e?m("MOUNT"):"none"===u||(null==n?void 0:n.display)==="none"?m("UNMOUNT"):t&&r!==u?m("ANIMATION_OUT"):m("UNMOUNT"),f.current=e}},[e,m]),(0,o.b)(()=>{if(l){let e=e=>{let n=c(a.current).includes(e.animationName);e.target===l&&n&&(0,u.flushSync)(()=>m("ANIMATION_END"))},n=e=>{e.target===l&&(d.current=c(a.current))};return l.addEventListener("animationstart",n),l.addEventListener("animationcancel",e),l.addEventListener("animationend",e),()=>{l.removeEventListener("animationstart",n),l.removeEventListener("animationcancel",e),l.removeEventListener("animationend",e)}}m("ANIMATION_END")},[l,m]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:(0,r.useCallback)(e=>{e&&(a.current=getComputedStyle(e)),i(e)},[])}}(n),a="function"==typeof t?t({present:i.isPresent}):r.Children.only(t),f=(0,l.e)(i.ref,a.ref);return"function"==typeof t||i.isPresent?(0,r.cloneElement)(a,{ref:f}):null};function c(e){return(null==e?void 0:e.animationName)||"none"}i.displayName="Presence"},82912:function(e,n,t){t.d(n,{WV:function(){return d},jH:function(){return s}});var r=t(1119),u=t(2265),l=t(54887),o=t(98575);let i=(0,u.forwardRef)((e,n)=>{let{children:t,...l}=e,o=u.Children.toArray(t),i=o.find(f);if(i){let e=i.props.children,t=o.map(n=>n!==i?n:u.Children.count(e)>1?u.Children.only(null):(0,u.isValidElement)(e)?e.props.children:null);return(0,u.createElement)(c,(0,r.Z)({},l,{ref:n}
1),(0,u.isValidElement)(e)?(0,u.cloneElement)(e,void 0,t):null)}return(0,u.createElement)(c,(0,r.Z)({},l,{ref:n}),t)});i.displayName="Slot";let c=(0,u.forwardRef)((e,n)=>{let{children:t,...r}=e;return(0,u.isValidElement)(t)?(0,u.cloneElement)(t,{...function(e,n){let t={...n};for(let r in n){let u=e[r],l=n[r];/^on[A-Z]/.test(r)?u&&l?t[r]=(...e)=>{l(...e),u(...e)}:u&&(t[r]=u):"style"===r?t[r]={...u,...l}:"className"===r&&(t[r]=[u,l].filter(Boolean).join(" "))}return{...e,...t}}(r,t.props),ref:n?(0,o.F)(n,t.ref):t.ref}):u.Children.count(t)>1?u.Children.only(null):null});c.displayName="SlotClone";let a=({children:e})=>(0,u.createElement)(u.Fragment,null,e);function f(e){return(0,u.isValidElement)(e)&&e.type===a}let d=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,n)=>{let t=(0,u.forwardRef)((e,t)=>{let{asChild:l,...o}=e,c=l?i:n;return(0,u.useEffect)(()=>{window[Symbol.for("radix-ui")]=!0},[]),(0,u.createElement)(c,(0,r.Z)({},o,{ref:t}))});return t.displayName=`Primitive.${n}`,{...e,[n]:t}},{});function s(e,n){e&&(0,l.flushSync)(()=>
1e.dispatchEvent(n))}},26606:function(e,n,t){t.d(n,{W:function(){return u}});var r=t(2265);function u(e){let n=(0,r.useRef)(e);return(0,r.useEffect)(()=>{n.current=e}),(0,r.useMemo)(()=>(...e)=>{var t;return null===(t=n.current)||void 0===t?void 0:t.call(n,...e)},[])}},80886:function(e,n,t){t.d(n,{T:function(){return l}});var r=t(2265),u=t(26606);function l({prop:e,defaultProp:n,onChange:t=()=>{}}){let[l,o]=function({defaultProp:e,onChange:n}){let t=(0,r.useState)(e),[l]=t,o=(0,r.useRef)(l),i=(0,u.W)(n);return(0,r.useEffect)(()=>{o.current!==l&&(i(l),o.current=l)},[l,o,i]),t}({defaultProp:n,onChange:t}),i=void 0!==e,c=i?e:l,a=(0,u.W)(t);return[c,(0,r.useCallback)(n=>{if(i){let t="function"==typeof n?n(e):n;t!==e&&a(t)}else o(n)},[i,e,o,a])]}},61188:function(e,n,t){t.d(n,{b:function(){return u}});var r=t(2265);let u=(null==globalThis?void 0:globalThis.document)?r.useLayoutEffect:()=>{}}}]);

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.