PageSourceSearch

https://www.nicasiabank.com/_next/static/chunks/4430.a3f2010cafa7aa24.js

js nicasiabank.com collected 2026-09-24 10:18:26 UTC 21,191 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4430],{44430:function(n,e,t){t.r(e),t.d(e,{RatingCard:function(){return M},default:function(){return B}});var i=t(26042),o=t(69396),r=t(828),a=t(7297),s=t(85893),l=t(13346),c=t(48165),u=t(69814),d=t(67294),p=t(8193),g=t(93167),m=t(40725),f=t.n(m),h=t(20903),v=t(89728),x=t(971),b=t(84458),w=t(95173),y=t(36250),j=t(53044),Z=t(70643),k=t(91751),F=t(78508),N=t(61789),C=t(22775),S=t(86112),_=t(48241),P=t(97693);function z(){var n=(0,a.Z)(["\n  /* height: clamp(",", 90vh, ","); */\n  /* overflow-y: auto; */\n  /* &::-webkit-scrollbar {\n    width: ",";\n    border-radius: 0;\n    background: #dfdfdf;\n  }\n\n  &::-webkit-scrollbar,\n  &::-webkit-scrollbar-thumb {\n    overflow: visible;\n    border-radius: 0;\n  }\n\n  &::-webkit-scrollbar-thumb {\n    background: #b0b0b0;\n  } */\n  .ratingStarGroup {\n    h4 {\n      font-size: ",";\n      line-height: ",";\n      margin-block: "," ",";\n      display: inline-flex;\n      justify-content: center;\n      width: 100%;\n      letter-spacing: -0.01em;\n      text-transform: capitalize;\n      color: #222222;\n      background: white;\n      z-index: 16;\n      position: relative;\n    }\n    .rating {\n      /* margin: "," 0px; */\n      margin-bottom: ",";\n\n      .rating-star {\n        /* font-size:","; */\n        color: #dfdfdf;\n        padding: 0;\n        outline: none;\n        background: transparent;\n        border: none;\n        background: white;\n        z-index: 16;\n        position: relative;\n        &:not(.noHoverEffect) {\n          &:hover {\n            svg {\n              fill: #E2CF22 !important;\n            }\n          }\n        }\n        svg {\n          width: ",";\n          height: ",";\n          transition: all 0.2s linear;\n        }\n      }\n    }\n  }\n  .ratingSuccess {\n    gap: ",";\n    padding-inline: ",";\n    .ratingStarGroup {\n      h4{\n        font-size:",";\n        line-height:",";\n      }\n    }\n    .shareMyRating {\n      /* margin-bottom: 40px; */\n      color: #595959;\n      background: white;\n      z-index: 16;\n      position: relative;\n      gap: calc(6 * (clamp(390px,100vw ,1440px) / 1440));\n      /* padding: calc(14 * (clamp(390px,100vw ,1440px) / 1440)) calc(24 * (clamp(390px,100vw ,1440px) / 1440));\n      min-height: calc(48 * (clamp(390px,100vw ,1440px) / 1440)); */\n      padding-left: ",";\n      .material-symbols-outlined {\n        font-size: ",";\n      }\n      .socialSharePopover {\n        font-weight: 400;\n        font-size: ",";\n        line-height: ",";\n        color: #595959;\n        z-index: 99;\n        \n        a {\n          text-decoration: none;\n          transition: all 0.2s linear;\n      padding: calc(14 * (clamp(390px,100vw ,1440px) / 1440)) calc(24 * (clamp(390px,100vw ,1440px) / 1440));\n      min-height: calc(48 * (clamp(390px,100vw ,1440px) / 1440));\n      display: inline-block;\n      padding-left: 0;\n          &:hover {\n            color: ",";\n          }\n        }\n      }\n    }\n    .RatingCardBtn {\n      font-weight: 400;\n      font-size: ",";\n      line-height: ",";\n      border-radius: 0px;\n      padding: ",";\n      white-space: nowrap;\n      border: "," solid transparent;\n      color: #b30000;\n      background: transparent;\n      span {\n        ","\n      }\n    }\n    .confettiStyle {\n      width: 100%;\n      height: calc(100% - ",");\n    }\n  }\n  .progressBarWrapper {\n    h5 {\n      /* margin-bottom: "," ; */\n      padding: "," 0px;\n      font-weight: 700;\n      font-size: ",";\n      line-height: ",";\n      text-transform: uppercase;\n      color: #a50808;\n      border-top: "," solid #dfdfdf;\n      border-bottom: "," solid #dfdfdf;\n    }\n    .progressBarGroup {\n      padding: ","",";\n      > div {\n        p {\n          font-size: ",";\n          line-height: ",";\n          color: #595959;\n          /* margin-bottom:8px; */\n        }\n      }\n      .ant-progress {\n        line-height: 0;\n        &.ant-progress-show-info .ant-progress-outer {\n          padding-right: 0;\n        }\n        &-text {\n          font-size: ",";\n          line-height: ",";\n          color: #222222;\n          text-align: right;\n          margin-top: ",";\n        }\n        &-bg {\n          height: "," !important;\n        }\n        &-line {\n          margin-bottom: ",";\n        }\n        &-inner {\n          background-color: #ededed;\n        }\n      }\n    }\n  }\n  .RatingCardBtnGroup {\n    margin-top: ",";\n    margin-inline: ",";\n    button {\n      /* ","; */\n      outline:none;\n      &:hover{\n        box-shadow: none;\n      }\n      &:focus{\n        outline:none;\n      }\n    }\n           \n    .socialMediaLoginWrapper{\n      button{\n &.facebookBtn{\n  box-shadow: 0px "," "," rgba(82,82,82,0.52);\n          font-size:0;\n          gap:0;\n        }\n        &:hover{\n          box-shadow: none;\n        }\n        p{\n          display:none;\n        }\n      }\n    }\n  }\n  @media screen and (max-width:992px) {\n    /* height: clamp(300px, 90vh, 500px); */\n    /* &::-webkit-scrollbar {\n      width: 6px;\n    } */\n\n    .ratingStarGroup {\n      h4 {\n        font-size: 26px;\n        line-height: 34px;\n        margin-block: 20px;\n      }\n      .rating {\n        margin-bottom: 20;\n        .rating-star {\n          svg {\n            width: 52px;\n            height: 52px;\n          }\n        }\n      }\n    }\n    .ratingSuccess {\n      gap: 92px;\n      padding-inline: 20px;\n      .ratingStarGroup {\n      h4{\n        font-size:28px;\n        line-height:34px;\n      }\n    }\n      .shareMyRating {\n      gap: 6px;\n        padding-left:24px;\n        .material-symbols-outlined {\n          font-size: 12px;\n        }\n        .socialSharePopover {\n          font-size: 14px;\n          line-height: 16px;\n           padding: 14px 24px;\n      min-height: 48px;\n      padding-left:0;\n        }\n       \n      }\n      .RatingCardBtn {\n        font-size: 16px;\n        line-height: 18px;\n        padding: 12px;\n        border: 1px solid transparent;\n        \n      }\n      .confettiStyle {\n        height: calc(100% - 45px);\n      }\n    }\n    .progressBarWrapper {\n      h5 {\n        padding: 8px 0px;\n        font-size: 12px;\n        line-height: 15px;\n        border-top: 1px solid #dfdfdf;\n        border-bottom: 1px solid #dfdfdf;\n      }\n      .progressBarGroup {\n        padding: 22px 34px;\n        > div {\n          &:not(:last-child){\n.ant-progress {\n         \n          &-line {\n            margin-bottom: 18px;\n          }\n        }\n          }\n          p {\n            font-size: 12px;\n            line-height: 14px;\n            color: #595959;\n          }\n        }\n        .ant-progress {\n          &-text {\n            font-size: 12px;\n            line-height: 14px;\n            margin-top: -34px;\n          }\n          &-bg {\n            height: 5px !important;\n          }\n        \n        }\n      }\n    }\n    .RatingCardBtnGroup {\n      margin-top: 14px;\n      margin-inline: -12px;\n   .socialMediaLoginWrapper{\n      button{\n        &.facebookBtn{\n          box-shadow: 0px 1px 3px rgba(82,82,82,0.52);\n        }\n        \n      }\n    }\n    }\n  }\n"]);return z=function(){return n},n}var M=Z.ZP.div.withConfig({componentId:"sc-e9bbdc7e-0"})(z(),(0,k.pF)(300),(0,k.pF)(500),(0,k.pF)(6),(0,k.yr)(26),(0,k.pF)(34),(0,k.pF)(36),(0,k.pF)(20),(0,k.pF)(4),(0,k.pF)(45),(0,k.pF)(44),(0,k.pF)(52),(0,k.pF)(52),(0,k.pF)(92),(0,k.pF)(20),(0,k.pF)(28),(0,k.pF)(34),(0,k.pF)(24),(0,k.yr)(12),(0,k.yr)(14),(0,k.pF)(16),N.D.Red,(0,k.yr)(16),(0,k.pF)(18),(0,k.pF)(12),(0,k.pF)(1),F.lG,(0,k.pF)(45),(0,k.pF)(22),(0,k.pF)(8),(0,k.yr)(12),(0,k.pF)(15),(0,k.pF)(1),(0,k.pF)(1),(0,k.pF)(22),(0,k.pF)(34),(0,k.yr)(12),(0,k.pF)(14),(0,k.yr)(12),(0,k.pF)(14),(0,k.pF)(-34),(0,k.pF)(5),(0,k.pF)(18),(0,k.pF)(14),(0,k.pF)(-12),F.lG,(0,k.pF)(1),(0,k.pF)(3));function B(n){var e,t,a,m,Z,k,F=n.onCancel,N=n.productId,z=(n.averageRating,n.slug),B=(0,r.Z)(l.Z.useForm(),1)[0],E=(0,d.useContext)(b.T).userData,R=(0,j.qM)().localTranslate,L=(0,r.Z)((0,d.useState)(0),2),G=L[0],T=L[1],I=(0,r.Z)((0,d.useState)(null),2),W=I[0],D=I[1],O=(0,r.Z)((0,d.useState)(!1),2),U=O[0],V=O[1],H=(0,r.Z)((0,d.useState)({1:0,2:0,3:0,4:0,5:0}),2),$=H[0],q=H[1],A=(0,x.So)(N),K=A.data,X=A.isFetching,Y=(0,x.WT)(),J=function(n){var e,t,i=null==K?void 0:null===(e=K.data)||void 0===e?void 0:null===(t=e.review)||void 0===t?void 0:t.length;return i?n/i*100:0},Q=function(n,e){var t=(0,o.Z)((0,i.Z)({},n),{reviewType:"Amnil\\SharedModels\\ProductManager",reviewFor:N,rating:G,email:(null==E?void 0:E.email)||(null==e?void 0:e.email)||"",mobileNumber:(null==E?void 0:E.mobile_number)||(null==e?void 0:e.mobileNumber)||"",name:(null==E?void 0:E.name)||(null==e?void 0:e.name)||""});Y.mutate(t)};return(0,d.useEffect)(function(){Y.isSuccess&&V(!0)},[Y.isSuccess]),(0,d.useEffect)(function(){var n,e;if(null==K?void 0:null===(n=K.data)||void 0===n?void 0:null===(e=n.review)||void 0===e?void 0:e.length){var t,o,r=(0,i.Z)({},$);null==K||null===(t=K.data)||void 0===t||null===(o=t.review)||void 0===o||o.map(function(n){var e=Number(n.rating);r[e]++}),q(r)}},[null==K?void 0:null===(e=K.data)||void 0===e?void 0:null===(t=e.review)||void 0===t?void 0:t.length]),(0,s.jsxs)(c.Z,{open:!0,footer:null,onCancel:F,width:380,closable:!1,className:"rateModal",centered:!0,children:[(0,s.jsx)(h.Z,{show:!U,children:(0,s.jsx)(M,{children:(0,s.jsxs)("div",{className:"col-12",children:[(0,s.jsxs)("div",{className:"bg-white",children:[(0,s.jsxs)("div",{className:"ratingStarGroup ",children:[(0,s.jsx)("h4",{className:"text-center",children:R("rateOurProduct")}),(0,s.jsx)("div",{className:"rating d-flex align-items-center justify-content-center",children:[,,,,,].fill(0).map(function(n,e){return(0,s.jsx)("button",{onMouseLeave:function(){return D(null)},onMouseEnter:function(){return D(e)},className:"rating-star btn",onClick:function(){return T(e+1)},children:(0,s.jsx)(p.pHD,{color:G>=e+1||Number(W)>=e+1?"#E2CF22":" #dfdfdf"})},e)})})]}),(0,s.jsx)(h.Z,{show:!X,children:(0,s.jsxs)(P.E.div,{initial:"collapsed",animate:"open",exit:"collapsed",variants:{open:{opacity:1,height:"auto"},collapsed:{opacity:0,height:0}},transition:{duration:.5,ease:[.04,.62,.23,.98]},className:"progressBarWrapper",children:[(0,s.jsxs)("h5",{className:"text-center border-bottom-0} ",children:[null==K?void 0:null===(a=K.data)||void 0===a?void 0:null===(m=a.review)||void 0===m?void 0:m.length," Total Ratings"]}),(0,s.jsx)(h.Z,{show:null!=K&&null!==(Z=K.data)&&void 0!==Z&&null!==(k=Z.review)&&void 0!==k&&!!k.length,children:(0,s.jsx)("div",{className:"progressBarGroup pb-0",children:Object.values($).slice(0,5).map(function(n,e){var t=J($[e+1]);
1return(0,s.jsxs)("div",{children:[(0,s.jsxs)("p",{children:[e+1," Star"]}),(0,s.jsx)(u.Z,{percent:t,strokeColor:"#DF2525",format:function(){return $[e+1]}})]},e)})})})]},"progressBarWrapperKey")})]}),(0,s.jsx)("div",{className:"container bg-white",children:(0,s.jsx)("div",{className:"row",children:(0,s.jsx)("div",{className:"col-lg-12 formInner",children:(0,s.jsxs)(l.Z,{form:B,onFinish:Q,onChange:function(n){return(0,v.p3)(["mobileNumber","rating"],n,B.setFieldValue)},initialValues:{email:null==E?void 0:E.email,name:null==E?void 0:E.name,mobileNumber:null==E?void 0:E.mobile_number},autoComplete:"off",layout:"vertical",children:[(0,s.jsx)("div",{className:"row"}),(0,s.jsxs)("div",{className:"RatingCardBtnGroup ",children:[G>=1&&(0,s.jsx)(s.Fragment,{children:(null==E?void 0:E.name)||(null==E?void 0:E.email)?(0,s.jsx)(g.Z,{disabled:Y.isLoading,variant:"primary",title:"Submit Rating",btnClassName:"justify-content-center w-100 gap-1",icon:"arrow_forward"}):(0,s.jsxs)(P.E.div,{initial:"collapsed",animate:"open",exit:"collapsed",variants:{open:{opacity:1,height:"auto"},collapsed:{opacity:0,height:0}},transition:{duration:.5,ease:[.04,.62,.23,.98]},children:[(0,s.jsx)(_.Z,{variant:"body-s",title:"Submit with social network",className:"justify-content-center px-2 text-muted mb-3"}),(0,s.jsxs)("div",{className:"d-flex justify-content-center gap-3 socialMediaLoginWrapper bg-transparent pt-0",children:[(0,s.jsx)(C.Z,{disabled:Y.isLoading,loginCallback:Q}),(0,s.jsx)(S.Z,{loginCallback:Q,disabled:Y.isLoading})]})]},"sociamediakey")}),(0,s.jsx)(g.Z,{type:"button",onClick:F,variant:"primary-outline",title:"Close",btnClassName:"justify-content-center w-100 border "})]})]})})})})]})})}),(0,s.jsx)(h.Z,{show:U,children:(0,s.jsx)(M,{children:(0,s.jsxs)("div",{className:"ratingSuccess h-100 d-flex flex-column justify-content-end ",children:[(0,s.jsxs)("div",{className:"ratingStarGroup text-center",children:[(0,s.jsxs)("h4",{className:"text-center",children:[R("thankYou"),(0,s.jsx)("br",{}),R("ratingOutProduct")]}),(0,s.jsx)("div",{className:"rating d-flex align-items-center justify-content-center gap-3",children:[,,,,,].fill(0).map(function(n,e){return(0,s.jsx)("span",{className:"rating-star btn noHoverEffect",children:(0,s.jsx)(p.pHD,{color:G>=e+1?"#E2CF22":" #dfdfdf"})},e)})}),(0,s.jsxs)("div",{className:"shareMyRating d-inline-flex align-items-center justify-content-center border-danger border",children:[(0,s.jsx)(w.O,{filled:!0,className:"",children:(0,s.jsx)("span",{className:"material-symbols-outlined",children:"share"})}),(0,s.jsx)(y.Z,{ratingModalPopover:"ratingModalPopover",variant:"link",customShareLink:"".concat(window.location).concat(z),textLabel:"My Rating"})]})]}),(0,s.jsx)(f(),{width:900,height:900,gravity:.05,numberOfPieces:100,className:"confettiStyle"}),(0,s.jsx)("button",{className:"RatingCardBtn w-100 border border-0 justify-content-center",onClick:F,title:"Close",children:(0,s.jsx)("span",{children:"Close"})})]})})})]})}},86112:function(n,e,t){t.d(e,{Z:function(){return p}});var i=t(85893),o=t(11163),r=t(67294),a=t(65749),s=t.n(a),l=t(89583),c=t(84458),u=t(61651),d=t(89728);function p(n){var e=n.customButtonText,t=n.customClassName,a=n.loginCallback,p=n.disabled,g=(0,u.c$)(),m=(0,r.useContext)(c.T).setUserData,f=(0,o.useRouter)();return(0,r.useEffect)(function(){g.isSuccess&&(0,d.is)(function(n){if(m(n),a)return a(null,{email:n.email,name:n.name,mobileNumber:n.mobile_number});(null==n?void 0:n.status)===!0&&f.push("/customer-registration/profile")})},[g.isSuccess]),(0,i.jsx)(s(),{appId:"247956037857540",isMobile:!1,fields:"name,email,picture.type(large)",textButton:e||"Login With Facebook",callback:function(n){var e,t,i={email:n.email,userId:n.userID,name:n.name,image:null==n?void 0:null===(e=n.picture)||void 0===e?void 0:null===(t=e.data)||void 0===t?void 0:t.url,registrationPlatform:"facebook"};i.name&&i.userId&&g.mutate(i)},icon:(0,i.jsx)(l.Am9,{"aria-hidden":"true"}),cssClass:"facebookBtn ".concat(t&&t),isDisabled:p,typeButton:"button"})}},22775:function(n,e,t){t.d(e,{Z:function(){return f}});var i=t(85893),o=t(86426),r=t(45360),a=t(50196),s=t(25675),l=t.n(s),c=t(11163),u=t(67294),d=t(84458),p=t(61651),g=t(89728),m=t(1139);function f(n){var e,t,s=n.customButtonText,f=n.disabled,h=n.customClassName,v=n.loginCallback,x=(0,p.c$)(),b=(0,c.useRouter)(),w=(0,u.useContext)(d.T).setUserData,y=(0,m._N)().data,j=(0,o.Nq)({onSuccess:function(n){a.Z.get("https://www.googleapis.com/oauth2/v1/userinfo?alt=json",{headers:{authorization:"Bearer ".concat(n.access_token)}}).then(function(n){var e={email:n.data.email,name:n.data.name,userId:n.data.id,image:n.data.picture,registrationPlatform:"google"};x.mutate(e)}
1)},onError:function(){},scope:"profile openid"});return(0,u.useEffect)(function(){x.isSuccess&&(0,g.is)(function(n){if(w(n),v)return v(null,{email:n.email,name:n.name,mobileNumber:n.mobile_number});(null==n?void 0:n.status)===!0&&(r.ZP.success("Login Successfully"),b.push("/customer-registration/profile"))})},[x.isSuccess]),null===(e=null==y?void 0:null===(t=y.data)||void 0===t?void 0:t.Keysetting.find(function(n){return"google_map_key"===n.name}))||void 0===e||e.key,(0,i.jsxs)("button",{type:"button",onClick:function(){return j()},className:"googleBtn ".concat(h&&h),disabled:f,children:[(0,i.jsx)(l(),{height:"24",width:"24",src:"/assets/svg/googleLogo.svg",alt:"Google Logo"}),(0,i.jsxs)("p",{children:[s||"Login With Google"," "]})]})}},61651:function(n,e,t){t.d(e,{cX:function(){return S},Xw:function(){return M},Pp:function(){return z},gS:function(){return _},c$:function(){return P},rk:function(){return E},Lr:function(){return B}});var i,o,r,a,s,l,c,u,d=t(45360),p=t(88767),g=t(47568),m=t(99534),f=t(70655),h=t(50196),v=t(64358),x=v.ny+"/customer-register",b=v.ny+"/customer-socialmedia-register",w=v.ny+"/customer-profile",y=v.ny+"/customer-login",j=v.ny+"/customer-forgot-password",Z=v.ny+"customer-verification",k=v.ny+"/customer-password-token-validation",F=v.ny+"/customer-change-password",N=v.ny+"/update-customer-profile";v.ny;var C={getCustomerProfile:(0,g.Z)(function(){return(0,f.__generator)(this,function(n){switch(n.label){case 0:return[4,h.Z.get(w)];case 1:return[2,n.sent().data]}})}),customerRegistration:(i=(0,g.Z)(function(n){return(0,f.__generator)(this,function(e){switch(e.label){case 0:return[4,h.Z.post(x,n)];case 1:return[2,e.sent().data]}})}),function(n){return i.apply(this,arguments)}),customerSocialMediaRegistration:(o=(0,g.Z)(function(n){return(0,f.__generator)(this,function(e){switch(e.label){case 0:return[4,h.Z.post(b,n)];case 1:return[2,e.sent().data]}})}),function(n){return o.apply(this,arguments)}),customerLogin:(r=(0,g.Z)(function(n){return(0,f.__generator)(this,function(e){switch(e.label){case 0:return[4,h.Z.post(y,n)];case 1:return[2,e.sent().data]}})}),function(n){return r.apply(this,arguments)}),customerForgotPassword:(a=(0,g.Z)(function(n){return(0,f.__generator)(this,function(e){switch(e.label){case 0:return[4,h.Z.post(j,n)];case 1:return[2,e.sent().data]}})}),function(n){return a.apply(this,arguments)}),customerVerification:(s=(0,g.Z)(function(n){return(0,f.__generator)(this,function(e){switch(e.label){case 0:return[4,h.Z.post(Z,n)];case 1:return e.sent(),[2]}})}),function(n){return s.apply(this,arguments)}),customerVerifyOTP:(l=(0,g.Z)(function(n){var e,t;return(0,f.__generator)(this,function(i){switch(i.label){case 0:return e=n.token,t=(0,m.Z)(n,["token"]),[4,h.Z.post("".concat(k,"/").concat(e),t)];case 1:return[2,i.sent().data]}})}),function(n){return l.apply(this,arguments)}),customerUpdatePassword:(c=(0,g.Z)(function(n){var e,t,i;return(0,f.__generator)(this,function(o){switch(o.label){case 0:return e=n.token,t=(0,m.Z)(n,["token"]),i=e?"".concat(F,"/").concat(encodeURIComponent(e)):F,[4,h.Z.post(i,t)];case 1:return[2,o.sent().data]}})}),function(n){return c.apply(this,arguments)}),customerProfileUpdate:(u=(0,g.Z)(function(n){return(0,f.__generator)(this,function(e){switch(e.label){case 0:return[4,h.Z.post(N,n,{headers:{"Content-Type":"multipart/form-data",authorization:"Bearer ".concat(localStorage.getItem("accessTokenCustomer"))}})];case 1:return[2,e.sent().data]}})}),function(n){return u.apply(this,arguments)})},S=function(){return(0,p.useMutation)(function(n){return C.customerProfileUpdate(n)},{onError:function(n){var e,t;d.ZP.error((null==n?void 0:null===(e=n.response)||void 0===e?void 0:null===(t=e.data)||void 0===t?void 0:t.message)||(null==n?void 0:n.message))},onSuccess:function(){}})},_=function(){return(0,p.useMutation)(function(n){return C.customerRegistration(n)},{onError:function(n){var e,t;d.ZP.error((null==n?void 0:null===(e=n.response)||void 0===e?void 0:null===(t=e.data)||void 0===t?void 0:t.message)||(null==n?void 0:n.message))},onSuccess:function(){}})},P=function(){return(0,p.useMutation)(function(n){return C.customerSocialMediaRegistration(n)},{onError:function(n){var e,t;d.ZP.error((null==n?void 0:null===(e=n.response)||void 0===e?void 0:null===(t=e.data)||void 0===t?void 0:t.message)||(null==n?void 0:n.message))},onSuccess:function(n){var e;localStorage.setItem("accessTokenCustomer",null==n?void 0:null===(e=n.data)||void 0===e?void 0:e.token)}})},z=function(){return(0,p.useMutation)(function(n){return C.customerLogin(n)},{onError:function(n){var e,t;d.ZP.error((null==n?void 0:null===(e=n.response)||void 0===e?void 0:null===(t=e.data)||void 0===t?void 0:t.message)||(null==n?void 0:n.message))},onSuccess:function(n){var e;localStorage.setItem("accessTokenCustomer",null==n?void 0:null===(e=n.data)||void 0===e?void 0:e.token)}})},M=function(){return(0,p.useMutation)(function(n){return C.customerForgotPassword(n)},{onError:function(n){var e,t;d.ZP.error((null==n?void 0:null===(e=n.response)||void 0===e?void 0:null===(t=e.data)||void 0===t?void 0:t.message)||(null==n?void 0:n.message))}})},B=function(){return(0,p.useMutation)(function(n){return C.customerVerifyOTP(n)},{onError:function(n){var e,t;d.ZP.error((null==n?void 0:null===(e=n.response)||void 0===e?void 0:null===(t=e.data)||void 0===t?void 0:t.message)||(null==n?void 0:n.message))}})},E=function(){return(0,p.useMutation)(function(n){return C.customerUpdatePassword(n)},{onError:function(n){var e,t;d.ZP.error((null==n?void 0:null===(e=n.response)||void 0===e?void 0:null===(t=e.data)||void 0===t?void 0:t.message)||(null==n?void 0:n.message))}})}}}]);

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.