PageSourceSearch

https://dashboard.paymongo.com/new-dashboard/_next/static/chunks/39491-1ded1ad5293e1d1a.js

js paymongo.com collected 2026-09-24 08:46:52 UTC 8,236 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39491],{3839:(e,r,t)=>{t.d(r,{cn:()=>n});var s=t(35196);let d=(0,t(35244).zu)({extend:{classGroups:{"font-size":[{text:["mds-header-2","mds-header-3","mds-body-md","mds-body-sm","mds-label-md","mds-label-sm","mds-overline","mds-caption"]}]}}});function n(){for(var e=arguments.length,r=Array(e),t=0;t<e;t++)r[t]=arguments[t];return d((0,s.$)(r))}},20149:(e,r,t)=>{t.r(r),t.d(r,{BORDER_PX:()=>o,CEILING_PX:()=>i,FLOOR_PX:()=>l,INNER_CEILING_PX:()=>u,INNER_FLOOR_PX:()=>c,Textarea:()=>p,resolveTextareaHeight:()=>m});var s=t(56658),d=t(81626),n=t(27431),a=t(3839);let l=112,i=280,o=2,c=110,u=278;function m(e){let{scrollHeight:r,floor:t=c,ceiling:s=u}=e,d=Math.min(Math.max(r,t),s);return{height:d,scrolling:d>=s}}let f=d.useLayoutEffect,b=()=>"undefined"!=typeof CSS&&"function"==typeof CSS.supports&&CSS.supports("field-sizing","content"),p=(0,d.forwardRef)(function(e,r){let{invalid:t,resize:l="vertical",className:i,textareaClassName:o,...u}=e,p=(0,d.useRef)(null),x=(0,d.useCallback)(()=>{let e=p.current;if(!e||b())return;let r=window.getComputedStyle(e),t=Number(e.getAttribute("rows"))||0,s=Math.max(c,Math.round(t?t*Number.parseFloat(r.lineHeight||"0")+Number.parseFloat(r.paddingTop||"0")+Number.parseFloat(r.paddingBottom||"0"):0)),{scrollTop:d}=e,n=e.selectionStart===e.selectionEnd&&e.selectionEnd===e.value.length;e.style.height="auto";let{height:a,scrolling:l}=m({scrollHeight:e.scrollHeight,floor:s});e.style.height="".concat(a,"px"),e.style.overflowY=l?"auto":"hidden",l&&(e.scrollTop=n?e.scrollHeight:d)},[]);return f(x),(0,d.useEffect)(()=>{if(!b())return window.addEventListener("resize",x),()=>window.removeEventListener("resize",x)},[x]),f(x,[u.value,u.defaultValue]),(0,s.jsx)("div",{className:(0,a.cn)(n.YN,(0,n.N)({invalid:t,disabled:u.disabled,readOnly:u.readOnly}),"flex",i),children:(0,s.jsx)("textarea",{ref:e=>{p.current=e,"function"==typeof r?r(e):r&&(r.current=e)},"aria-invalid":!!t||void 0,onInput:e=>{var r;x(),null==(r=u.onInput)||r.call(u,e)},className:(0,a.cn)("px-mds-input-x py-mds-input-y","text-mds-body-sm text-foreground placeholder:text-mds-muted-foreground min-w-px flex-1 bg-transparent outline-none disabled:cursor-not-allowed","field-sizing-content","min-h-[110px] max-h-[278px]","none"===l?"resize-none":"resize-y",o),...u})})})},27431:(e,r,t)=>{t.d(r,{L:()=>n,N:()=>l,YN:()=>d,fU:()=>a});var s=t(3839);let d="rounded-mds-input focus-within:ring-ring border focus-within:ring-2",n="roun
1ded-mds-input border",a={sm:"h-mds-44",default:"h-mds-48",lg:"h-mds-56"};function l(e){let{invalid:r,disabled:t,readOnly:d,active:n,hoverable:a=!0}=e;return(0,s.cn)(d?"bg-muted":"bg-card",r?"border-mds-error-border":"border-mds-border",a&&!t&&!r&&"hover:border-foreground",n&&!t&&"ring-2 ring-ring",t&&"opacity-(--opacity-mds-disabled) cursor-not-allowed")}},27797:(e,r,t)=>{t.r(r),t.d(r,{Input:()=>l});var s=t(56658),d=t(81626),n=t(27431),a=t(3839);let l=(0,d.forwardRef)(function(e,r){let{size:t="default",leading:d,trailing:l,invalid:i,className:o,inputClassName:c,...u}=e;return(0,s.jsxs)("div",{className:(0,a.cn)(n.YN,n.fU[t],(0,n.N)({invalid:i,disabled:u.disabled,readOnly:u.readOnly}),"flex items-center overflow-hidden",o),children:[d?(0,s.jsx)("span",{className:"pl-mds-input-x text-muted-foreground flex shrink-0 items-center",children:d}):null,(0,s.jsx)("input",{ref:r,"aria-invalid":!!i||void 0,className:(0,a.cn)("text-mds-body-sm text-foreground placeholder:text-mds-muted-foreground h-full min-w-px flex-1 bg-transparent outline-none disabled:cursor-not-allowed",d?"pr-mds-input-x pl-mds-8":"px-mds-input-x",c),...u}),l?(0,s.jsx)("span",{className:(0,a.cn)("flex shrink-0 items-center justify-center","lg"===t?"size-mds-56":"size-mds-48"),children:l}):null]})})},68215:(e,r,t)=>{t.r(r),t.d(r,{Button:()=>m,buttonVariants:()=>o});var s=t(56658),d=t(80213),n=t(29086),a=t(36101),l=t(81626),i=t(3839);let o=(0,n.F)("gap-mds-8 [&_svg]:size-mds-16 inline-flex shrink-0 cursor-pointer items-center justify-center whitespace-nowrap transition-colors outline-none disabled:cursor-not-allowed aria-disabled:cursor-not-allowed [&_svg]:shrink-0 ".concat("focus-visible:ring-ring focus-visible:ring-(length:--mds-focus-ring-width) focus-visible:ring-offset-(length:--mds-focus-ring-offset) focus-visible:ring-offset-background"," ").concat("disabled:opacity-(--opacity-mds-disabled) aria-disabled:opacity-(--opacity-mds-disabled)"),{variants:{variant:{primary:"bg-primary text-primary-foreground hover:bg-mds-primary-hover active:bg-mds-primary-active shadow-mds-xs",secondary:"bg-secondary text-secondary-foreground hover:bg-mds-secondary-hover active:bg-mds-secondary-active shadow-mds-xs",destructive:"bg-destructive text-destructive-foreground hover:bg-mds-destructive-hover active:bg-mds-destructive-active shadow-mds-xs",outline:"border-border text-foreground hover:bg-secondary border bg-transparent",ghost:"text-foreground hover:bg-secondary bg-transparent"},size:{xs:"h-mds-32 px-mds-16 text-mds-label-sm rounded-mds-button-sm ".concat("relative before:absolute before:inset-x-0 before:top-1/2 before:h-mds-touch-target before:-translate-y-1/2 before:content-['']"),sm:"h-mds-44 px-mds-24 text-mds-body-sm rounded-mds-button-sm",default:"h-mds-48 px-mds-24 text-mds-body-sm rounded-mds-button",lg:"h-mds-56 px-mds-24 text-mds-body-md rounded-mds-button"},block:{true:"w-full",false:""}},defaultVariants:{variant:"primary",size:"default",block:!1}}),c=(0,l.forwardRef)(function(e,r){let{className:t,variant:d,size:n,block:l,loading:c=!1,icon:u,trailingIcon:m,children:f,disabled:b,...p}=e;return(0,s.jsxs)("button",{ref:r,disabled:b||c,"data-hit-area":"xs"===n?"44":void 0,className:(0,i.cn)(o({variant:d,size:n,block:l}),t),...p,children:[c?(0,s.jsx)(a.A,{className:"animate-spin","aria-hidden":!0}):u,f,c?null:m]})}),u=(0,l.forwardRef)(function(e,r){let{className:t,variant:n,size:l,block:c,loading:u=!1,icon:m,trailingIcon:f,children:b,disabled:p=!1}=e;return(0,s.jsxs)(d.DX,{"data-slot":"mds-button",ref:r,"aria-disabled":p||u,"data-hit-area":"xs"===l?"44":void 0,className:(0,i.cn)(o({variant:n,size:l,block:c}),t),children:[u?(0,s.jsx)(a.A,{className:"animate-spin","aria-hidden":!0}):m,(0,s.jsx)(d.xV,{children:b}),u?null:f]})}),m=Object.assign(c,{Style:u});m.displayName="Button",u.displayName="Button.Style"},91425:(e,r,t)=>{t.r(r),t.d(r,{Field:()=>u,FieldTextarea:()=>c});var s=t(56658),d=t(81626),n=t(27797),a=t(20149);function l(e){let{label:r,helper:t,error:d,labelIcon:n,labelAction:a,controlId:l,helperId:i,errorId:o,children:c}=e,u="".concat(l,"-label");return(0,s.jsxs)("div",{role:"group","aria-labelledby":u,className:"gap-mds-8 flex w-full flex-col",children:[(0,s.jsxs)("div",{className:"gap-mds-12 flex items-center justify-between",children:[(0,s.jsxs)("div",{className:"gap-mds-8 flex min-w-0 items-center",children:[(0,s.jsx)("label",{id:u,htmlFor:l,className:"text-mds-label-md text-foreground",children:r}),null!=n?n:null]}),null!=a?a:null]}),c,d?(0,s.jsx)("p",{id:o,className:"text-mds-caption text-mds-error-foreground",children:d}):t?(0,s.jsx)("p",{id:i,className:"text-mds-caption text-muted-foreground",children:t}):null]})}function i(e){let r=(0,d.useId)(),t=null!=e?e:r;return{controlId:t,helperId:"".concat(t,"-helper"),errorId:"".concat(t,"-error")}}let o=(0,d.forwardRef)(function(e,r){let{label:t,helper:d,error:a,trailing:o,labelIcon:c,labelAction:u,className:m,id:f,size:b="default",...p}=e,{controlId:x,helperId:h,errorId:g}=i(f);return(0,s.jsx)(l,{label:t,helper:d,error:a,labelIcon:c,labelAction:u,controlId:x,helperId:h,errorId:g,children:(0,s.jsx)(n.Input,{ref:r,id:x,size:b,trailing:o,invalid:!!a,"aria-describedby":a?g:
1d?h:void 0,inputClassName:m,...p})})}),c=(0,d.forwardRef)(function(e,r){let{label:t,helper:d,error:n,labelIcon:o,labelAction:c,className:u,id:m,...f}=e,{controlId:b,helperId:p,errorId:x}=i(m);return(0,s.jsx)(l,{label:t,helper:d,error:n,labelIcon:o,labelAction:c,controlId:b,helperId:p,errorId:x,children:(0,s.jsx)(a.Textarea,{ref:r,id:b,invalid:!!n,"aria-describedby":n?x:d?p:void 0,textareaClassName:u,...f})})}),u=Object.assign(o,{Textarea:c});u.displayName="Field",c.displayName="Field.Textarea"}}]);
2//# sourceMappingURL=39491-1ded1ad5293e1d1a.js.map

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.