PageSourceSearch

https://static2.paymonade.tech/static/prod/paymonade-channel-ui/_next/static/chunks/531-4a4320fd62f50315.js

js paymonade.tech collected 2026-10-04 05:41:14 UTC 8,448 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[531],{31780:(e,t,l)=>{l.d(t,{A:()=>r});var n=l(37876);l(14232);let r=e=>{let{className:t="",...l}=e;return(0,n.jsx)("div",{className:"".concat(t),children:(0,n.jsx)("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"w-full h-full fill-current origin-center",...l,children:(0,n.jsx)("path",{d:"M11.06 11.6374C10.5704 12.4207 9.42956 12.4207 8.93998 11.6374L7.02862 8.57918C6.50827 7.74662 7.10682 6.66668 8.08862 6.66668L11.9113 6.66668C12.8931 6.66668 13.4917 7.74662 12.9713 8.57918L11.06 11.6374Z"})})})}},42146:(e,t,l)=>{l.d(t,{A:()=>n});let n={src:"https://static2.paymonade.tech/static/prod/paymonade-channel-ui/_next/static/media/nodata.3c7849e6.svg",height:64,width:64,blurWidth:0,blurHeight:0}},63434:(e,t,l)=>{l.d(t,{A:()=>m});var n=l(37876),r=l(14232),a=l(91408),s=l(91959),i=l(54587),d=l.n(i),c=l(34846),o=l(56820),u=l(83081);let x=e=>{let{defaultCheck:t,onChange:l,className:a}=e,s=(0,r.useRef)(null),[i,c]=(0,r.useState)(t||!1);return(0,n.jsxs)("div",{onClick:e=>{var t,n,r,a;c(r=!(null===(t=s.current)||void 0===t?void 0:t.checked)),l(a=!(null===(n=s.current)||void 0===n?void 0:n.checked))},className:"cursor-pointer w-[14px] h-[14px] rounded-sm flex items-center justify-center ".concat(i?"bg-[#91E500] border border-[#91E500]":"border-[#EAECEF] border "," ").concat(a),children:[i?(0,n.jsx)(d(),{src:u.A,alt:"right"}):null,(0,n.jsx)("input",{readOnly:!0,checked:i,ref:s,hidden:!0,type:"checkbox"})]})};var h=l(42146),v=l(31780);function m(e){var t,l,i;let{className:u,required:m,containerClassName:b,dropdownCLassName:p,IconClassName:f,label:g,rules:j,options:w,value:y,onChange:C,onClick:N,onChildrenChange:k,disabled:A,displayType:E,placeholder:_,noBg:S,...L}=e,[M,R]=(0,r.useState)(),[F,I]=(0,r.useState)(!0),[T,B]=(0,r.useState)(!1),[V,Z]=(0,r.useState)((null===(t=w.find(e=>e.value===y))||void 0===t?void 0:t.label)||""),z=(0,r.useRef)(!1),D=(0,r.useRef)(null),H=(0,r.useMemo)(()=>(0,a.Ik)().shape({value:j}),[j]),{t:P}=(0,c.Bd)(),Q=(0,r.useRef)(null);(0,r.useEffect)(()=>{F||z.current||T||H.validate({value:V}
1).then(()=>R(void 0)).catch(e=>R(e.errors[0]))},[H,F,V,T]);let O=e=>{I(!1);let t=w.find(t=>t.value===e.target.value).label;Z(t),z.current=!1,D.current.value=t,B(!1),null==C||C(e)};(0,r.useEffect)(()=>{var e;let t=(null===(e=w.find(e=>e.value===y))||void 0===e?void 0:e.label)||"";T?(D.current&&(D.current.value="",D.current.placeholder=P("Search")),Z("")):(D.current&&(D.current.value=t),Z(t))},[w,T,y,P]);let W=w.filter(e=>-1!==e.label.toLowerCase().indexOf(V.toLowerCase()));(0,r.useEffect)(()=>{setTimeout(()=>{if(Q.current&&T){var e,t;null===(t=Q.current)||void 0===t||null===(e=t.scrollIntoView)||void 0===e||e.call(t,{block:"center",inline:"center"})}},150)},[y,T]);let Y=(0,r.useRef)(null);return(0,r.useEffect)(()=>{let e=e=>{B(!1)};return window.addEventListener("click",e),()=>{window.removeEventListener("click",e)}},[]),(0,n.jsx)("div",{className:u,children:(0,n.jsxs)(n.Fragment,{children:["hidden"!==E?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"text-sm text-primary-text  flex items-end",children:[g," ",(0,n.jsx)("span",{className:"text-sell  ml-1",children:m?"*":""})]}),(0,n.jsx)("div",{className:"relative inline-block w-full",children:(0,n.jsxs)("div",{className:"\n                    outline-none relative rounded-xl transition-all duration-150\n                    border min-h-11 mt-1 ".concat(S?"":"bg-bg2","  disabled:bg-line\n                    text-[#1E2329] disabled:text-disabled  ").concat(M?"border-sell ":"border-line ","\n                    ").concat(M||A?"":"hover:border-primary ","\n                    ").concat(b,"\n                  "),style:{fontSize:"14px",width:"100%"},children:[(0,n.jsxs)("div",{onClick:e=>{A||(B(!0),null==N||N(),e.stopPropagation())},className:"w-full flex items-center relative justify-between",children:[(0,n.jsx)("div",{onClick:()=>{setTimeout(()=>{var e;null===(e=Y.current)||void 0===e||e.scrollIntoView({behavior:"smooth",block:"center",inline:"center"})},150)},className:"".concat(T?"none":"shrink-0 absolute top-0 left-0 z-10 w-full")}),(0,n.jsx)("input",{className:"\n                        shrink-0 outline-none rounded-xl w-full py-3 px-3 text-small-body-sub\n                      ".concat(S?"":"bg-bg2","  text-primary-text\n                      disabled:bg-line  disabled:text-disabled\n                      ").concat(T?"rounded-b-none border-b-line":"","\n                    "),disabled:A,value:V,ref:D,placeholder:_,onInput:e=>{Z(e.target.value),z.current=!0}}),(0,n.jsx)(v.A,{className:"transition-all duration-150 shrink-0 w-5 h-5 text-primary-text absolute top-[calc(50%)] right-3 transform  -translate-y-1/2 ".concat(T?"rotate-180":""," ").concat(f),alt:"caretDownF"})]}),(0,n.jsx)("div",{onClick:e=>e.stopPropagation(),ref:Y,className:"\n                      transition-[height] duration-75 ease-in-out\n                      ".concat(T?"h-64 py-3 border-t border-t-line  hover:border-primary  hover:border-t-line  rounded-b-xl ".concat(S?"":"bg-bg2"," relative top-0 left-3 w-full -mx-3 overflow-auto ").concat(p):"h-0 overflow-hidden","\n                    "),children:W.length?W.map(e=>(0,n.jsxs)("div",{ref:y===e.value?Q:null,onMouseDown:()=>{e.disabled||O({target:{value:e.value}})},className:"px-2 mx-2 rounded-lg py-2 ".concat(S?"":"bg-bg2"," cursor-pointer text-primary-text  hover:text-link  justify-between flex items-center hover:bg-bg3  transition-all duration-150 ").concat(e.disabled?"text-disabled  hover:text-disabled  cursor-not-allowed":""),children:[(0,n.jsx)("span",{className:"".concat(y===e.value?"text-link ":""),children:e.labelComponent||e.label}),y===e.value?(0,n.jsx)(d(),{src:s.A,alt:"rightGreen"}):(0,n.jsx)(n.Fragment,{})]},e.value)):(0,n.jsxs)("div",{className:"flex flex-col items-center justify-center px-4 py-2 text-regular-body text-third cursor-not-allowed",children:[(0,n.jsx)(d(),{className:"mt-16",src:h.A,alt:"nodata"}),(0,n.jsx)("div",{children:P("NoData")})]})})]})}),M&&(0,n.jsx)("div",{className:"text-sm text-sell  mt-1",children:M})]}):(0,n.jsx)(n.Fragment,{}),null===(i=w.find(e=>e.value===y))||void 0===i?void 0:null===(l=i.children)||void 0===l?void 0:l.map(e=>(0,n.jsx)("div",{className:"mt-6",children:"Input"===e.type&&"hidden"
1!==e.displayType?(0,n.jsx)(o.A,{disabled:e._front_disabled,value:e.myAnswer,onChange:t=>null==k?void 0:k({...e,value:t.target.value}),placeholder:e.inputPlaceholder,label:(0,n.jsx)("div",{dangerouslySetInnerHTML:{__html:e.subQuestion||""}})}):"SingleCheckBox"===e.type&&"hidden"!==e.displayType?(0,n.jsxs)("div",{className:"flex items-center",children:[(0,n.jsx)(x,{defaultCheck:"Y"===e.myAnswer,onChange:t=>{null==k||k({...e,value:t?"Y":"N"})}}),(0,n.jsx)("div",{className:"ml-2 text-secondary",children:e.subQuestion})]}):""},e.subQuestion))]})})}},91447:(e,t,l)=>{l.d(t,{A:()=>r});var n=l(37876);l(14232);let r=e=>{let{className:t="",...l}=e;return(0,n.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"fill-current ".concat(t),...l,children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22ZM13.5 6.5C13.5 7.32843 12.8284 8 12 8C11.1716 8 10.5 7.32843 10.5 6.5C10.5 5.67157 11.1716 5 12 5C12.8284 5 13.5 5.67157 13.5 6.5ZM12 9.5C12.8284 9.5 13.5 10.2089 13.5 11.0833V17.4167C13.5 18.2911 12.8284 19 12 19C11.1716 19 10.5 18.2911 10.5 17.4167V11.0833C10.5 10.2089 11.1716 9.5 12 9.5Z"})})}},91959:(e,t,l)=>{l.d(t,{A:()=>n});let n={src:"https://static2.paymonade.tech/static/prod/paymonade-channel-ui/_next/static/media/right-green.fe58f836.svg",height:16,width:16,blurWidth:0,blurHeight:0}},94196:(e,t,l)=>{l.d(t,{A:()=>a});var n=l(37876),r=l(88050);let a=e=>{let{className:t,containerClassName:l}=e;return(0,n.jsx)("div",{id:"loadingComponent",className:"flex justify-center items-center h-full w-full p-10 ".concat(l),children:(0,n.jsx)(r.A,{size:8,color:"#A7EA33",speedMultiplier:.7})})}},98761:(e,t,l)=>{l.d(t,{A:()=>a});var n=l(37876),r=l(91447);l(14232);let a=e=>{let{children:t}=e;return(0,n.jsxs)("div",{className:"bg-alertbg sm:px-10 px-5 py-3 mx-[-20px] flex gap-2",children:[(0,n.jsx)("div",{children:(0,n.jsx)(r.A,{className:"w-5 h-5 text-primary"})}),(0,n.jsx)("div",{className:"text-secondary text-small-body break-words",children: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.