PageSourceSearch

https://nhahang.ai/_next/static/chunks/pages/[tenant]/cai-dat/ban-an-61dc874b2e31e727.js

js nhahang.ai collected 2026-10-05 12:20:18 UTC 14,320 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[26795,75189],{19642:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[tenant]/cai-dat/ban-an",function(){return n(24514)}])},90208:function(e,t,n){"use strict";n.d(t,{C2:function(){return l}});var o=n(861),a=n(30641),r=n(83262),c=n(52317);let i=e=>{let{checkboxCls:t}=e,n="".concat(t,"-wrapper");return[{["".concat(t,"-group")]:Object.assign(Object.assign({},(0,a.Wf)(e)),{display:"inline-flex",flexWrap:"wrap",columnGap:e.marginXS,["> ".concat(e.antCls,"-row")]:{flex:1}}),[n]:Object.assign(Object.assign({},(0,a.Wf)(e)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},["& + ".concat(n)]:{marginInlineStart:0},["&".concat(n,"-in-form-item")]:{'input[type="checkbox"]':{width:14,height:14}}}),[t]:Object.assign(Object.assign({},(0,a.Wf)(e)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:e.borderRadiusSM,alignSelf:"center",["".concat(t,"-input")]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,["&:focus-visible + ".concat(t,"-inner")]:Object.assign({},(0,a.oN)(e))},["".concat(t,"-inner")]:{boxSizing:"border-box",display:"block",width:e.checkboxSize,height:e.checkboxSize,direction:"ltr",backgroundColor:e.colorBgContainer,border:"".concat((0,o.unit)(e.lineWidth)," ").concat(e.lineType," ").concat(e.colorBorder),borderRadius:e.borderRadiusSM,borderCollapse:"separate",transition:"all ".concat(e.motionDurationSlow),"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"25%",display:"table",width:e.calc(e.checkboxSize).div(14).mul(5).equal(),height:e.calc(e.checkboxSize).div(14).mul(8).equal(),border:"".concat((0,o.unit)(e.lineWidthBold)," solid ").concat(e.colorWhite),borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:"all ".concat(e.motionDurationFast," ").concat(e.motionEaseInBack,", opacity ").concat(e.motionDurationFast)}},"& + span":{paddingInlineStart:e.paddingXS,paddingInlineEnd:e.paddingXS}})},{["\n        ".concat(n,":not(").concat(n,"-disabled),\n        ").concat(t,":not(").concat(t,"-disabled)\n      ")]:{["&:hover ".concat(t,"-inner")]:{borderColor:e.colorPrimary}},["".concat(n,":not(").concat(n,"-disabled)")]:{["&:hover ".concat(t,"-checked:not(").concat(t,"-disabled) ").concat(t,"-inner")]:{backgroundColor:e.colorPrimaryHover,borderColor:"transparent"},["&:hover ".concat(t,"-checked:not(").concat(t,"-disabled):after")]:{borderColor:e.colorPrimaryHover}}},{["".concat(t,"-checked")]:{["".concat(t,"-inner")]:{backgroundColor:e.colorPrimary,borderColor:e.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:"all ".concat(e.motionDurationMid," ").concat(e.motionEaseOutBack," ").concat(e.motionDurationFast)}}},["\n        ".concat(n,"-checked:not(").concat(n,"-disabled),\n        ").concat(t,"-checked:not(").concat(t,"-disabled)\n      ")]:{["&:hover ".concat(t,"-inner")]:{backgroundColor:e.colorPrimaryHover,borderColor:"transparent"}}},{[t]:{"&-indeterminate":{["".concat(t,"-inner")]:{backgroundColor:"".concat(e.colorBgContainer," !important"),borderColor:"".concat(e.colorBorder," !important"),"&:after":{top:"50%",insetInlineStart:"50%",width:e.calc(e.fontSizeLG).div(2).equal(),height:e.calc(e.fontSizeLG).div(2).equal(),backgroundColor:e.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}},["&:hover ".concat(t,"-inner")]:{backgroundColor:"".concat(e.colorBgContainer," !important"),borderColor:"".concat(e.colorPrimary," !important")}}}},{["".concat(n,"-disabled")]:{cursor:"not-allowed"},["".concat(t,"-disabled")]:{["&, ".concat(t,"-input")]:{cursor:"not-allowed",pointerEvents:"none"},["".concat(t,"-inner")]:{background:e.colorBgContainerDisabled,borderColor:e.colorBorder,"&:after":{borderColor:e.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:e.colorTextDisabled},["&".concat(t,"-indeterminate ").concat(t,"-inner::after")]:{background:e.colorTextDisabled}}}]};function l(e,t){return[i((0,r.mergeToken)(t,{checkboxCls:".".concat(e),checkboxSize:t.controlInteractiveSize}))]}t.ZP=(0,c.I$)("Checkbox",(e,t)=>{let{prefixCls:n}=t;return[l(n,e)]})},9847:function(e,t,n){"use strict";n.d(t,{Z:function(){return B}});var o=n(67294),a=n(93967),r=n.n(a),c=n(79841),i=n(97485),l=n(4969),d=n(99293),s=n(64204),u=n(79456),m=n(17399),h=n(30687),b=n(92933),p=n(85980),f=n(35332),g=n(10475),v=n(29583),x=n(33264),y=n(85395),S=n(11324),C=n(64160),_=n(17877),w=n(99255),j=n(861),k=n(90208),N=n(83262),I=n(52317),M=n(63214);let H=e=>{let{componentCls:t,treePrefixCls:n,colorBgElevated:o}=e,a=".".concat(n);return[{["".concat(t,"-dropdown")]:[{padding:"".concat((0,j.unit)(e.paddingXS)," ").concat((0,j.unit)(e.calc(e.paddingXS).div(2).equal()))}
1,(0,M.Yk)(n,(0,N.mergeToken)(e,{colorBgContainer:o})),{[a]:{borderRadius:0,["".concat(a,"-list-holder-inner")]:{alignItems:"stretch",["".concat(a,"-treenode")]:{["".concat(a,"-node-content-wrapper")]:{flex:"auto"}}}}},(0,k.C2)("".concat(n,"-checkbox"),e),{"&-rtl":{direction:"rtl",["".concat(a,"-switcher").concat(a,"-switcher_close")]:{["".concat(a,"-switcher-icon svg")]:{transform:"rotate(90deg)"}}}}]}]};var O=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,o=Object.getOwnPropertySymbols(e);a<o.length;a++)0>t.indexOf(o[a])&&Object.prototype.propertyIsEnumerable.call(e,o[a])&&(n[o[a]]=e[o[a]]);return n};let Z=o.forwardRef((e,t)=>{var n;let a;let{prefixCls:s,size:j,disabled:k,bordered:Z=!0,className:P,rootClassName:B,treeCheckable:E,multiple:T,listHeight:W=256,listItemHeight:L=26,placement:R,notFoundContent:D,switcherIcon:z,treeLine:A,getPopupContainer:F,popupClassName:Q,dropdownClassName:q,treeIcon:X=!1,transitionName:G,choiceTransitionName:J="",status:Y,treeExpandAction:$,builtinPlacements:U,dropdownMatchSelectWidth:K,popupMatchSelectWidth:V,allowClear:ee,variant:et,dropdownStyle:en,tagRender:eo}=e,ea=O(e,["prefixCls","size","disabled","bordered","className","rootClassName","treeCheckable","multiple","listHeight","listItemHeight","placement","notFoundContent","switcherIcon","treeLine","getPopupContainer","popupClassName","dropdownClassName","treeIcon","transitionName","choiceTransitionName","status","treeExpandAction","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","allowClear","variant","dropdownStyle","tagRender"]),{getPopupContainer:er,getPrefixCls:ec,renderEmpty:ei,direction:el,virtual:ed,popupMatchSelectWidth:es,popupOverflow:eu}=o.useContext(m.E_),em=ec(),eh=ec("select",s),eb=ec("select-tree",s),ep=ec("tree-select",s),{compactSize:ef,compactItemClassnames:eg}=(0,_.ri)(eh,el),ev=(0,p.Z)(eh),ex=(0,p.Z)(ep),[ey,eS,eC]=(0,y.Z)(eh,ev),[e_]=(0,I.I$)("TreeSelect",e=>[H((0,N.mergeToken)(e,{treePrefixCls:eb}))],M.TM)(ep,ex),[ew,ej]=(0,v.Z)("treeSelect",et,Z),ek=r()(Q||q,"".concat(ep,"-dropdown"),{["".concat(ep,"-dropdown-rtl")]:"rtl"===el},B,eC,ev,ex,eS),eN=!!(E||T),eI=(0,C.Z)(e.suffixIcon,e.showArrow),eM=null!==(n=null!=V?V:K)&&void 0!==n?n:es,{status:eH,hasFeedback:eO,isFormItemInput:eZ,feedbackIcon:eP}=o.useContext(g.aM),eB=(0,u.F)(eH,Y),{suffixIcon:eE,removeIcon:eT,clearIcon:eW}=(0,S.Z)(Object.assign(Object.assign({},ea),{multiple:eN,showSuffixIcon:eI,hasFeedback:eO,feedbackIcon:eP,prefixCls:eh,componentName:"TreeSelect"}));a=void 0!==D?D:(null==ei?void 0:ei("Select"))||o.createElement(h.Z,{componentName:"Select"});let eL=(0,i.Z)(ea,["suffixIcon","removeIcon","clearIcon","itemIcon","switcherIcon"]),eR=o.useMemo(()=>void 0!==R?R:"rtl"===el?"bottomRight":"bottomLeft",[R,el]),eD=(0,f.Z)(e=>{var t;return null!==(t=null!=j?j:ef)&&void 0!==t?t:e}),ez=o.useContext(b.Z),eA=r()(!s&&ep,{["".concat(eh,"-lg")]:"large"===eD,["".concat(eh,"-sm")]:"small"===eD,["".concat(eh,"-rtl")]:"rtl"===el,["".concat(eh,"-").concat(ew)]:ej,["".concat(eh,"-in-form-item")]:eZ},(0,u.Z)(eh,eB,eO),eg,P,B,eC,ev,ex,eS),[eF]=(0,l.Cn)("SelectLike",null==en?void 0:en.zIndex);return ey(e_(o.createElement(c.default,Object.assign({virtual:ed,disabled:null!=k?k:ez},eL,{dropdownMatchSelectWidth:eM,builtinPlacements:(0,x.Z)(U,eu),ref:t,prefixCls:eh,className:eA,listHeight:W,listItemHeight:L,treeCheckable:E?o.createElement("span",{className:"".concat(eh,"-tree-checkbox-inner")}):E,treeLine:!!A,suffixIcon:eE,multiple:eN,placement:eR,removeIcon:eT,allowClear:!0===ee?{clearIcon:eW}:ee,switcherIcon:e=>o.createElement(w.Z,{prefixCls:eb,switcherIcon:z,treeNodeProps:e,showLine:A}),showTreeIcon:X,notFoundContent:a,getPopupContainer:F||er,treeMotion:null,dropdownClassName:ek,dropdownStyle:Object.assign(Object.assign({},en),{zIndex:eF}),choiceTransitionName:(0,d.m)(em,"",J),transitionName:(0,d.m)(em,"slide-up",G),treeExpandAction:$,tagRender:eN?eo:void 0}))))}),P=(0,s.Z)(Z);Z.TreeNode=c.TreeNode,Z.SHOW_ALL=c.SHOW_ALL,Z.SHOW_PARENT=c.SHOW_PARENT,Z.SHOW_CHILD=c.SHOW_CHILD,Z._InternalPanelDoNotUseOrYouWillBeFired=P;var B=Z},82156:function(e,t,n){"use strict";var o=n(85893),a=n(78887),r=n(8348);n(67294),t.Z=e=>{let{className:t="",description:n="M\xf4 tả của bạn",image:c="/images/logo/empty.svg",imageStyle:i={he
1ight:120},onClick:l,children:d=null,...s}=e;return(0,o.jsx)(r.Z,{...s,className:(0,a.QH)("flex flex-col items-center justify-center",t),image:c,imageStyle:i,description:n,children:d})}},7126:function(e,t,n){"use strict";var o=n(85893),a=n(59252);t.Z=e=>{let{...t}=e;return(0,o.jsx)(a.Z,{...t})}},3687:function(e,t,n){"use strict";n.d(t,{Z:function(){return Z}});var o=n(85893),a=n(56023),r=n(33643),c=n(85524),i=n(93341),l=n(41739),d=n(47835),s=n(53367),u=n(87548),m=n(14711),h=n.n(m),b=n(78887),p=n(32856),f=n(9008),g=n.n(f),v=n(11163),x=n(67294),y=n(46607),S=n(37928),C=n(19506),_=n(39525),w=n(2566),j=n.n(w),k=e=>{let{buttonClassname:t,children:n}=e,[a,r]=(0,x.useState)(!1),{currentBranch:c,updateCurrentBranch:i,branchList:l}=(0,u.S)(),d=()=>r(!a);return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("div",{className:t,children:n?(0,o.jsx)("div",{onClick:d,children:n}):(0,o.jsx)(C.Z,{type:"text",onClick:d,icon:(0,o.jsx)(S.Z.Branch,{})})}),(0,o.jsx)(_.Z,{open:a,onClose:d,title:"Chọn chi nh\xe1nh",children:(0,o.jsx)("div",{className:j()["modal-branch-list"],children:null==l?void 0:l.map(e=>(0,o.jsxs)("div",{onClick:()=>{i(e),d()},className:(0,b.QH)(j()["modal-branch-item"],e.id===(null==c?void 0:c.id)&&j()["modal-branch-item-active"]),children:[(0,o.jsxs)("div",{className:"flex flex-col flex-1",children:[(0,o.jsx)("div",{className:j()["modal-branch-name"],children:e.name}),(0,o.jsx)("div",{className:j()["modal-branch-address"],children:(null==e?void 0:e.address)||"-"})]}),e.id===(null==c?void 0:c.id)&&(0,o.jsx)("div",{className:(0,b.QH)(e.id===(null==c?void 0:c.id)&&j()["modal-branch-dot-active"],j()["modal-branch-dot"]),children:(0,o.jsx)("div",{className:(0,b.QH)(e.id===(null==c?void 0:c.id)&&j()["modal-branch-dot-inner-active"],j()["modal-branch-dot-inner"])})})]},e.id))})})]})},N=n(37861),I=n(36764),M=n(82433),H=n.n(M),O=()=>{let e=(0,v.useRouter)(),{isMobile:t}=(0,N.a)(),{changeRoute:n}=(0,I.D)(),a=()=>{var t;let o=p.LC.find(t=>e.pathname.includes(t));n({path:o&&(null===(t=e.query)||void 0===t?void 0:t.id)?"cai-dat/".concat(o):"cai-dat/",isClearQuery:!!o})};return(0,o.jsxs)("div",{className:H()["setting-header"],children:[(0,o.jsxs)("div",{onClick:()=>a(),className:"flex gap-2",children:[(0,o.jsx)(S.Z.ArrowLeftPrimary,{className:"icon-gray"}),(0,o.jsx)("div",{children:"Quay lại"})]}),t&&!e.asPath.match("cai-dat/chi-nhanh")&&(0,o.jsx)(k,{})]})};function Z(e){var t;let{children:n,ShowHeader:m=!1,IsManager:f=!0}=e,S=(0,v.useRouter)(),C=null==S?void 0:null===(t=S.query)||void 0===t?void 0:t.tenant,{account:_}=(0,s.c)(),w=(0,b.u8)();(0,i.l)({enabled:!(0,b._n)(),params:{root:"/".concat(C)}});let j=(0,l.H)(),k=(0,u.S)(e=>e.currentBranch),N=async()=>{if(!_||"/".concat(C)!==(null==_?void 0:_.Root)){S.push(p.P.login);return}};(0,x.useEffect)(()=>{S.isReady&&N()},[S,C,w,_]);let{setIsStore:I,isStore:M}=(0,a.p)();(0,x.useEffect)(()=>{I(null)},[null==k?void 0:k.id]);let H=(0,r.B)(d.i.AllScreen,"".concat(d.i.AllScreen,"-").concat(null==k?void 0:k.id),!1);return j?(0,o.jsx)(c.Z,{}):(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(g(),{children:[(0,o.jsx)("meta",{name:"apple-mobile-web-app-capable",content:"yes"}),(0,o.jsx)("meta",{name:"apple-mobile-web-app-status-bar-style",content:"black-translucent"}),(0,o.jsx)("meta",{name:"theme-color",content:"white"})]}),(0,o.jsxs)("div",{className:(0,b.QH)(h().className,"manager-layout"),children:[m&&(0,o.jsx)(o.Fragment,{children:(0,b._n)()?(0,o.jsx)(y.Z,{isSocketReady:H}):(0,o.jsx)(O,{})}),(0,o.jsx)("main",{className:"manager-layout-main",children:n})]})]})}},56023:function(e,t,n){"use strict";n.d(t,{p:function(){return a}});var o=n(1350);let a=(0,n(50161).F)()((0,o.d)(e=>({isStore:null,setIsStore:t=>e({isStore:t}),_hasHydrated:!1,setHasHydrated:t=>{e({_hasHydrated:t})}}),{name:"useMaterialLookupStore",onRehydrateStorage:e=>()=>e.setHasHydrated(!0)}))},24514:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var o=n(85893),a=n(3687),r=n(20273),c=()=>(0,o.jsx)(r.Z,{});function i(){return(0,o.jsx)(c,{})}i.Layout=a.Z,i.Title="C\xe0i đặt b\xe0n ăn",i.ShowHeader=!0,i.DisableClarity=!0}
1,2566:function(e){e.exports={"modal-branch-list":"MySelectBranchMobile_modal-branch-list__BTJq1","modal-branch-item":"MySelectBranchMobile_modal-branch-item__Ed4Af","modal-branch-item-active":"MySelectBranchMobile_modal-branch-item-active__Gmm4M","modal-branch-name":"MySelectBranchMobile_modal-branch-name__ct26B","modal-branch-address":"MySelectBranchMobile_modal-branch-address__LXQ4D","modal-branch-dot":"MySelectBranchMobile_modal-branch-dot__ttSHb","modal-branch-dot-active":"MySelectBranchMobile_modal-branch-dot-active__otNw3","modal-branch-dot-inner":"MySelectBranchMobile_modal-branch-dot-inner__Cyk92","modal-branch-dot-inner-active":"MySelectBranchMobile_modal-branch-dot-inner-active___WyJt"}},82433:function(e){e.exports={"setting-header":"Header_setting-header__4QiNt"}}},function(e){e.O(0,[84447,93146,45587,26126,60992,29999,20273,49774,92888,40179],function(){return e(e.s=19642)}),_N_E=e.O()}]);

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.