PageSourceSearch

https://phuclong.com.vn/_next/static/chunks/4584.66a23e6a1efc8020.js

js phuclong.com.vn collected 2026-10-06 04:30:54 UTC 4,954 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4584],{91063:function(e,n,t){"use strict";var r=t(85696);Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"useIntersection",{enumerable:!0,get:function(){return useIntersection}});var o=t(67294),i=t(83185),s="function"==typeof IntersectionObserver,a=new Map,u=[];function useIntersection(e){var n=e.rootRef,t=e.rootMargin,l=e.disabled||!s,c=r((0,o.useState)(!1),2),d=c[0],f=c[1],p=(0,o.useRef)(null),m=(0,o.useCallback)(function(e){p.current=e},[]);return(0,o.useEffect)(function(){if(s){if(!l&&!d){var e,r,o,c,m=p.current;if(m&&m.tagName)return r=(e=function(e){var n,t={root:e.root||null,margin:e.rootMargin||""},r=u.find(function(e){return e.root===t.root&&e.margin===t.margin});if(r&&(n=a.get(r)))return n;var o=new Map;return n={id:t,observer:new IntersectionObserver(function(e){e.forEach(function(e){var n=o.get(e.target),t=e.isIntersecting||e.intersectionRatio>0;n&&t&&n(t)})},e),elements:o},u.push(t),a.set(t,n),n}({root:null==n?void 0:n.current,rootMargin:t})).id,o=e.observer,(c=e.elements).set(m,function(e){return e&&f(e)}),o.observe(m),function(){if(c.delete(m),o.unobserve(m),0===c.size){o.disconnect(),a.delete(r);var e=u.findIndex(function(e){return e.root===r.root&&e.margin===r.margin});e>-1&&u.splice(e,1)}}}}else if(!d){var h=(0,i.requestIdleCallback)(function(){return f(!0)});return function(){return(0,i.cancelIdleCallback)(h)}}},[l,t,n,d,p.current]),[m,d,(0,o.useCallback)(function(){f(!1)},[])]}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),e.exports=n.default)},42885:function(e,n,t){"use strict";t.d(n,{d:function(){return useModal}});var r,o=t(67294),i=t(94603),s=(r=0,function(){return"".concat(++r)}),isFunctionalComponent=function(e){var n=e.prototype;return!n||!n.isReactComponent},useModal=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!isFunctionalComponent(e))throw Error("Only stateless components can be used as an argument to useModal. You have probably passed a class component where a function was expected.");var t=(0,o.useMemo)(s,[]),r=(0,o.useMemo)(function(){return e},n.inputs),a=(0,o.useContext)(i.t);return[(0,o.useCallback)(function(){return a.showModal(t,r,n)},[a.showModal,t,r,n]),(0,o.useCallback)(function(){return a.hideModal(t)},[a.hideModal,t])]}},65840:function(e,n,t){"use strict";t.r(n);var r=t(16835),o=t(67294),i=t(50066),s=t(9631),a=t(5152),u=t.n(a),l=t(42885),c=t(34067),d=t(50056),f=t(73626),p=t.n(f),m=t(8119),h=t(89755),v=t.n(h),b=t(6005),x=t(85893),g=u()(function(){return Promise.all([t.e(8775),t.e(9180),t.e(4640)]).then(t.bind(t,54640))},{ssr:!1,loadableGenerated:{webpack:function(){return[54640]}}}),y=i.ZP.div.withConfig({displayName:"delivery-menu__Box1",componentId:"sc-5mf8bu-0"})(["margin-left:0px;"]),w=i.ZP.div.withConfig({displayName:"delivery-menu__Box2",componentId:"sc-5mf8bu-1"})([".top{line-height:18px;font-weight:bold;color:",";}.bottom{font-size:12px;line-height:16px;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;}"],(0,d.R)("colors.primary.regular")),k=i.ZP.div.withConfig({displayName:"delivery-menu__ButtonWrapper",componentId:"sc-5mf8bu-2"})(["border-bottom:1px solid #eceff1;padding:4px 0px 4px 0px;margin:0px 16px;.btn-top-menu{height:42px;text-transform:capitalize;font-size:14px;align-items:center;cursor:pointer;display:grid;grid-template-columns:52px 1fr;}"]),C=(0,b.Z)(function(e){return{root:{position:"relative"},backDrop:{top:0,left:0,height:"100vh",zIndex:999998}}});n.default=function(){var e=C(),n=(0,s.mr)("userStore"),t=(0,c.e_)("userAddress"),i=(0,s.mr)("isSticky"),a=(0,o.useState)(!1),u=(a[0],a[1]),d=(0,s.TL)();(0,o.useCallback)(function(){return d({type:"REMOVE_STICKY"})},[d]);var f=(0,l.d)(function(){return(0,x.jsx)(g,{hideModal:M})},{height:"90%",onClose:function(){}}),h=(0,r.Z)(f,2),b=h[0],M=h[1];return(0,o.useEffect)(function(){u(i)},[i]),(0,x.jsx)(o.Fragment,{children:(0,x.jsx)(k,{children:(0,x.jsx)("div",{className:e.root,onClick:function(){b()},children:(0,x.jsxs)("div",{className:"btn-top-menu",children:[(0,x.jsx)(y,{children:(0,x.jsx)(v(),{layout:"intrinsic",height:"36",width:"36",src:p(),alt:""})}),(0,x.jsx)(w,{children:n?(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)("div",{className:"top",children:null!=n&&n.isTakeAway?m.y:m.T1}),(0,x.jsx)("div",{className:"bottom",title:null!=n&&n.isTakeAway?null==n?void 0:n.officeAddress:null==t?void 0:t.address,children:null!=n&&n.isTakeAway?null==n?void 0:n.officeAddress:null==t?void 0:t.address})]}):(0,x.jsx)(x.Fragment,{children:(0,x.jsx)("div",{className:"top",style:{fontSize:"12px"},children:"Chọn phương thức nhận h\xe0ng"})})})]})})})})}},73626:function(e){e.exports="/_next/static/images/delivery-686d7142750173aa8bc5f1d11ea195e4.png"}}]);

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.