PageSourceSearch

https://online.ariefinance.com/online-banking/5108.b528d853e3e9fb88.js

js ariefinance.com collected 2026-10-08 01:30:22 UTC 2,653 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkhost=self.webpackChunkhost||[]).push([[5108],{25108:(e,n,s)=>{s.r(n),s.d(n,{SurveyType:()=>c,useGetMarketingPreferencesQuery:()=>l,usePostContactUsMutation:()=>i,usePostDismissCustomerSurveyQuery:()=>p,usePutMarketingPreferences:()=>a,useSubmitSurveyRating:()=>d});var u=s(64234),r=s(26636),t=s(13569);const o=()=>(0,r.generatePath)(t.MARKETING_PREFERENCES),l=()=>{const{springApi:e}=(0,r.useSpringApi)();return(0,u.useQuery)({queryKey:["marketing-preferences"],queryFn:async()=>{const{data:n}=await e.get(o());return n}})},a=e=>{const{springApi:n}=(0,r.useSpringApi)(),s=(0,u.useQueryClient)();return(0,u.useMutation)({mutationFn:e=>n.patch(o(),e),onSuccess:(n,u)=>{null==e||null==e.onSuccess||e.onSuccess(n.data),s.setQueryData(["marketing-preferences"],(e=>Object.assign({},e,u)))},onError:n=>{null==e||null==e.onError||e.onError(n)}})},i=e=>{const{springApi:n}=(0,r.useSpringApi)(),s=(0,u.useQueryClient)();return(0,u.useMutation)({mutationFn:e=>n.post((0,r.generatePath)(t.CONTACT_US),e),onSuccess:(n,u)=>{null==e||null==e.onSuccess||e.onSuccess(n.data),s.setQueryData(["support-query"],(()=>Object.assign({},u)))},onError:n=>{var s,u,r;const t={status:null==n||null==(s=n.response)?void 0:s.status,code:null==n||null==(u=n.response)||null==(u=u.data)?void 0:u.code,message:null==n||null==(r=n.response)||null==(r=r.data)?void 0:r.message};null==e||null==e.onError||e.onError(t)}})};let c=function(e){return e.Modal="MODAL",e.Banner="BANNER",e}({});const p=e=>{const{springApi:n}=(0,r.useSpringApi)(),s=(0,u.useQueryClient)();return(0,u.useMutation)({mutationFn:e=>{const{surveyId:s,surveyType:u}=e;return n.post((e=>(0,r.generatePath)(t.DISMISS_SURVEY,{surveyId:e}))(s),{type:u})},onSuccess:n=>{s.invalidateQueries({queryKey:["accounts"]}),null==e||null==e.onSuccess||e.onSuccess(n.data)},onError:n=>{var s,u,r;const t={status:null==n||null==(s=n.response)?void 0:s.status,code:null==n||null==(u=n.response)||null==(u=u.data)?void 0:u.code,message:null==n||null==(r=n.response)||null==(r=r.data)?void 0:r.message};null==e||null==e.onError||e.onError(t)}})},d=e=>{const{springApi:n}=(0,r.useSpringApi)(),s=(0,u.useQueryClient)();return(0,u.useMutation)({mutationFn:async e=>await n.post(t.SUBMIT_SURVEY_RATING,e),onSuccess:async n=>{s.invalidateQueries({queryKey:["infinite-business-accounts"]}),null==e||null==e.onSuccess||e.onSuccess(n.data)},onError:n=>{var s,u,r;const t={status:null==n||null==(s=n.response)?void 0:s.status,code:null==n||null==(u=n.response)||null==(u=u.data)?void 0:u.code,message:null==n||null==(r=n.response)||null==(r=r.data)?void 0:r.message};null==e||null==e.onError||e.onError(t)}})}}}]);

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.