PageSourceSearch

https://www.ibphub.com/_next/static/chunks/90.0f31698a90b1bbeb.js

js ibphub.com collected 2026-10-02 20:37:11 UTC 4,018 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[90],{10090:function(n,e,r){r.r(e);var t=r(47568),o=r(7297),i=r(97582),a=r(85893),u=r(67294),c=r(50066),d=r(70148),s=r(75835);function f(){var n=(0,o.Z)(["\n  from {\n    opacity: 0;\n    transform: translateY(40px);\n  }\n  to {\n    opacity: 1;\n    transform: translateY(0);\n  }\n"]);return f=function(){return n},n}function p(){var n=(0,o.Z)(["\n  position: fixed;\n  inset: 0;\n  background: rgba(0, 0, 0, 0.4);\n  backdrop-filter: blur(4px);\n  z-index: 9999;\n  display: flex;\n  justify-content: center;\n  align-items: center;\n  padding: 1rem;\n"]);return p=function(){return n},n}function l(){var n=(0,o.Z)(["\n  background: white;\n  border-radius: 16px;\n  width: 100%;\n  max-width: 400px;\n  padding: 24px;\n  position: relative;\n  animation: "," 0.4s ease forwards;\n  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);\n\n  @media (max-width: 480px) {\n    padding: 20px 16px;\n  }\n"]);return l=function(){return n},n}function m(){var n=(0,o.Z)(["\n  position: absolute;\n  top: 16px;\n  right: 16px;\n  background: transparent;\n  border: none;\n  color: #666;\n  cursor: pointer;\n  &:hover {\n    color: #111;\n  }\n"]);return m=function(){return n},n}function g(){var n=(0,o.Z)(["\n  font-size: 1.5rem;\n  font-weight: 600;\n  text-align: center;\n  margin-bottom: 8px;\n"]);return g=function(){return n},n}function b(){var n=(0,o.Z)(["\n  font-size: 0.9rem;\n  color: #555;\n  text-align: center;\n  margin-bottom: 24px;\n"]);return b=function(){return n},n}function h(){var n=(0,o.Z)(["\n  width: 100%;\n  padding: 12px;\n  border: 1px solid #ccc;\n  border-radius: 8px;\n  font-size: 1rem;\n  margin-bottom: 16px;\n\n  &:focus {\n    border-color: #0070f3;\n    outline: none;\n  }\n\n  @media (max-width: 480px) {\n    padding: 10px;\n    font-size: 0.95rem;\n  }\n"]);return h=function(){return n},n}function x(){var n=(0,o.Z)(["\n  width: 100%;\n  padding: 12px;\n  border: none;\n  border-radius: 8px;\n  background: ",";\n  color: white;\n  font-weight: 500;\n  font-size: 1rem;\n  cursor: ",";\n  transition: background 0.2s ease;\n\n  &:hover {\n    background: ",";\n  }\n\n  @media (max-width: 480px) {\n    padding: 10px;\n    font-size: 0.95rem;\n  }\n"]);return x=function(){return n},n}var w=(0,c.F4)(f()),v=c.ZP.div.withConfig({componentId:"sc-2d0b8f2d-0"})(p()),Z=c.ZP.div.withConfig({componentId:"sc-2d0b8f2d-1"})(l(),w);c.ZP.button.withConfig({componentId:"sc-2d0b8f2d-2"})(m());var C=c.ZP.h2.withConfig({componentId:"sc-2d0b8f2d-3"})(g()),k=c.ZP.p.withConfig({componentId:"sc-2d0b8f2d-4"})(b()),y=c.ZP.input.withConfig({componentId:"sc-2d0b8f2d-5"})(h()),P=c.ZP.button.withConfig({componentId:"sc-2d0b8f2d-6"})(x(),function(n){return n.disabled?"#ccc":"#f34732"},function(n){return n.disabled?"not-allowed":"pointer"},function(n){return n.disabled?"#ccc":"#f34732"}),I=function(n){var e=n.phoneNumber;n.onClose;var r,o=(0,u.useState)(""),c=o[0],f=o[1],p=(0,u.useState)(!1),l=p[0],m=p[1],g=new s.K,b=(r=(0,t.Z)(function(){var n,r;return(0,i.__generator)(this,function(t){switch(t.label){case 0:if(!c.trim())return d.Am.error("Please enter your name."),[2];n={phoneNumber:e,name:c},t.label=1;case 1:return t.trys.push([1,3,4,5]),m(!0),[4,g.updateCustomerName(n)];case 2:return(null==(r=t.sent())?void 0:r.status)===200?(d.Am.success("Login Successful"),localStorage.removeItem("isNewUser"),setTimeout(function(){window.location.reload()})):d.Am.error("Something went wrong. Try again."),[3,5];case 3:return t.sent(),d.Am.error("Something went wrong. Try again."),[3,5];case 4:return m(!1),[7];case 5:return[2]}})}),function(){return r.apply(this,arguments)});return(0,a.jsx)(v,{children:(0,a.jsxs)(Z,{children:[(0,a.jsx)(C,{children:"Welcome to IBP"}),(0,a.jsx)(k,{children:"Please enter your name to continue"}),(0,a.jsx)(y,{type:"text",placeholder:"Enter your name",value:c,onChange:function(n){return f(n.target.value)}}),(0,a.jsx)(P,{onClick:b,disabled:l,children:l?"Saving...":"Save"})]})})};e.default=I}}]);

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.