PageSourceSearch

https://online.ariefinance.com/online-banking/1186.44b1aec9013a5f44.js

js ariefinance.com collected 2026-10-08 01:29:51 UTC 6,925 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkhost=self.webpackChunkhost||[]).push([[1186,2322,7285,5393,8865,1451,228],{98283:(s,e,i)=>{function n(s,e){if(null==s)return{};var i={};for(var n in s)if({}.hasOwnProperty.call(s,n)){if(-1!==e.indexOf(n))continue;i[n]=s[n]}return i}i.d(e,{Z:()=>n})},1186:(s,e,i)=>{i.r(e),i.d(e,{LockableButton:()=>L,LockableRadio:()=>p,LockableResponsiveIconButton:()=>u,LockableSummaryListItemEdit:()=>l,LockableTriggerButton:()=>P,ViewOnlyAccountPermissionValidator:()=>v,ViewOnlyBcaAccountPermissionValidator:()=>k,ViewOnlyBusinessPermissionValidator:()=>O,ViewOnlyPermissionModal:()=>A,ViewOnlyPermissionPage:()=>g,useViewOnlyPermissions:()=>C});var n=i(98283),r=i(73659),o=i(61295),t=i(52322);const a=["requiredPermissions","businessPermissions","matchAllPermissions"],l=s=>{const{requiredPermissions:e,businessPermissions:i,matchAllPermissions:l}=s,c=(0,n.Z)(s,a),{onOpen:d}=(0,o.useViewOnlyPermissionModalContext)();let u=Object.assign({},c);return!(0,o.hasPermissions)(e,i||[],l)&&(u=Object.assign({},c,{variant:"textLocked",onClick:d,"data-cy":`${c["data-cy"]}-locked`})),(0,t.jsx)(r.SummaryListItemEdit,Object.assign({},u))},c=["requiredPermissions","isLockable","businessPermissions","matchAllPermissions"],d={color:"neutral.600",bg:"transparent",_hover:{bg:"transparent"},_active:{bg:"transparent",text:"neutral.600"},_focus:{bg:"transparent"}},u=s=>{const{requiredPermissions:e,isLockable:i=!0,businessPermissions:a,matchAllPermissions:l}=s,u=(0,n.Z)(s,c),{onOpen:m}=(0,o.useViewOnlyPermissionModalContext)();let P=Object.assign({},u);const h=!(0,o.hasPermissions)(e,a||[],l);return i&&h&&(P=Object.assign({},u,{as:"button",icon:(0,t.jsx)(r.LockedIcon,{w:"24px",h:"24px"}),onClick:m,"data-cy":`${u["data-cy"]}-locked`},d)),s.children?(0,t.jsx)(r.ResponsiveIconButton,Object.assign({},P,{children:s.children})):(0,t.jsx)(r.ResponsiveIconButton,Object.assign({},P))},m=["isLockable","requiredPermissions","_lockedPropsOverride","businessPermissions","matchAllPermissions"],P=s=>{let{isLockable:e=!0,requiredPermissions:i,_lockedPropsOverride:a={},businessPermissions:l,matchAllPermissions:c}=s,d=(0,n.Z)(s,m);const{onOpen:u}=(0,o.useViewOnlyPermissionModalContext)(),P=!(0,o.hasPermissions)(i,l||[],c);let h=Object.assign({},d);return e&&P&&(h=Object.assign({},h,{"data-heapid":`${d["data-heapid"]+"-"||0}locked`,onClick:u,"data-cy":`${d["data-cy"]}-locked`},a)),(0,t.jsx)(r.TriggerButton,Object.assign({},h))};var h=i(11871);i(77285);const x=["requiredPermissions","businessPermissions","matchAllPermissions","children"],p=s=>{let{requiredPermissions:e,businessPermissions:i,matchAllPermissions:a,children:l}=s,c=(0,n.Z)(s,x);const d=!(0,o.hasPermissions)(e,i||[],a);return(0,t.jsx)(r.Radio,Object.assign({},c,{isDisabled:d,children:(0,t.jsxs)(h.Flex,{alignItems:"flex-start",direction:"column",children:[l,d&&(0,t.jsx)(r.Text,{textStyle:"body-02-regular",color:"$fg.tertiary",children:"You don\u2019t have permission to perform this action"})]})}))};var y=i(76386);const g=()=>(0,t.jsxs)(h.AbsoluteCenter,{alignItems:"center",textAlign:"center",children:[(0,t.jsx)(r.LockedIcon,{color:"$fg.tertiary",width:"48px",height:"48px"}),(0,t.jsx)(r.Heading,{mt:"16px",children:"You don\u2019t have permissions to see this"}),(0,t.jsx)(h.Box,{mt:"16px",children:(0,t.jsx)(r.Text,{color:"$fg.secondary",children:"Discuss with your super user if you need to change your permissions."})})]});var b=i(13569);const O=({requiredPermissions:s,matchAllPermissions:e})=>{const{businessId:i=""}=(0,y.useParams)(),{isPending:n,data:r}=(0,b.useBusinessDetailsQuery)(i);if(n)return(0,t.jsx)(y.Outlet,{context:{isValidatingPermissions:!0}});return!(0,o.hasPermissions)(s,(null==r?void 0:r.permissions)||[],e)?(0,t.jsx)(g,{}):(0,t.jsx)(y.Outlet,{context:{isValidatingPermissions:!1}})};var j=i(48970);const k=({requiredPermissions:s,matchAllPermissions:e})=>{const{isLoading:i,isError:n,data:r}=(0,j.useGetAccount)();if(i)return(0,t.jsx)(y.Outlet,{context:{isValidatingPermissions:!0}});if(n)return(0,t.jsx)(y.Outlet,{context:{isValidatingPermissions:!1}});return!(0,o.hasPermissions)(s,(null==r?void 0:r.permissions)||[],e)?(0,t.jsx)(g,{}):(0,t.jsx)(y.Outlet,{context:{isValidatingPermissions:!1}})};var f=i(83e3);const v=({requiredPermissions:s,matchAllPermissions:e})=>{const{accountId:i=""}=(0,y.useParams)(),{isPending:n,data:r}=(0,f.useSavingsAccountQuery)(i);if(!(r&&"businessId"in r))return(0,t.jsx)(y.Outlet,{});if(n)return(0,t.jsx)(y.Outlet,{context:{isValidatingPermissions:!0}});return!(0,o.hasPermissions)(s,(null==r?void 0:r.permissions)||[],e)?(0,t.jsx)(g,{}):(0,t.jsx)(y.Outlet,{context:{isValidatingPermissions:!1}})},V=["isLockable","requiredPermissions","children","_lockedPropsOverride","businessPermissions","matchAllPermissions","isEligible"],w={text:"textLocked",primary:"primaryLocked",ghost:"ghostLocked"},L=s=>{let{isLockable:e=!0,requiredPermissions:i,children:a,_lockedPropsOverride:l={},businessPermissions:c,matchAllPermissions:d,isEligible:u}=s,m=(0,n.Z)(s,V);const{onOpen:P}=(0,o.useViewOnlyPermissionModalContext)(),h=!(0,o.hasPermissions)(i,c||[],d);let x=Object.assign({},m);
1if(e&&(h||!u)){const s=m.variant||"primary";x=Object.assign({},x,{"data-heapid":`${m["data-heapid"]+"-"||0}locked`,variant:null==w?void 0:w[s],onClick:P,"data-cy":`${m["data-cy"]}-locked`},l)}return(0,t.jsx)(r.Button,Object.assign({},x,{children:a}))};var _=i(50427);const A=({isOpen:s,onClose:e})=>(0,t.jsxs)(r.ModalV2,{isOpen:s,onClose:e,children:[(0,t.jsxs)(r.ModalHeaderV2,{children:[(0,t.jsx)(r.ModalHeaderBoxV2,{children:(0,t.jsx)(r.LockedIcon,{width:"48px",height:"48px",color:"$fg.inverse.tertiary"})}),(0,t.jsx)(r.ModalTitleV2,{value:"You don't have permissions to perform this action"})]}),(0,t.jsx)(r.ModalBodyV2,{"data-testid":"view-only-permission-modal","data-cy":"view-only-permission-modal",children:(0,t.jsx)(h.Box,{children:(0,t.jsx)(r.Text,{textStyle:"body-02-regular",color:"$fg.secondary",children:(0,_.formatLineBreaks)("Discuss with your super user if you need to change your permissions.")})})}),(0,t.jsx)(r.ModalFooterV2,{buttonOne:(0,t.jsx)(r.Button,{"data-heapid":"view-only-permission-modal-close-button",onClick:e,children:"Close"})})]}),C=()=>{const s=(0,y.useOutletContext)();return{isValidatingViewOnlyPermissions:!(null==s||!s.isValidatingPermissions)}}},11837:(s,e,i)=>{var n=i(77285),r=Symbol.for("react.element"),o=Symbol.for("react.fragment"),t=Object.prototype.hasOwnProperty,a=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(s,e,i){var n,o={},c=null,d=null;
vendor: 341 bytes, line 1
1for(n in void 0!==i&&(c=""+i),void 0!==e.key&&(c=""+e.key),void 0!==e.ref&&(d=e.ref),e)t.call(e,n)&&!l.hasOwnProperty(n)&&(o[n]=e[n]);if(s&&s.defaultProps)for(n in e=s.defaultProps)void 0===o[n]&&(o[n]=e[n]);return{$$typeof:r,type:s,key:c,ref:d,props:o,_owner:a.current}}e.Fragment=o,e.jsx=c,e.jsxs=c},52322:(s,e,i)=>{s.exports=i(11837)}}]);

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.