PageSourceSearch

https://topdawg.com/_next/static/chunks/9382.cb36feb875022d68.js

js topdawg.com collected 2026-10-02 04:35:39 UTC 3,458 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9382],{19382:(e,l,n)=>{n.r(l),n.d(l,{default:()=>u});var a=n(37876),t=n(14232),s=n(21085),c=n(42264),r=n.n(c);n(91286);let o=e=>{let{type:l,value:n,onChange:s,eyeball:c,...o}=e,[u,i]=(0,t.useState)(!1),d=(0,t.useRef)(null);if("textarea"===l)return(0,a.jsx)("textarea",{...o,value:n,onChange:e=>s(e.target.value)});if("checkbox"===l)return(0,a.jsx)("input",{...o,type:"checkbox",value:n,onChange:e=>s(e.target.checked)});if("phone"===l){var x;return(0,a.jsx)(r(),{ref:d,...o,disableCountryGuess:!0,value:n,onChange:e=>{var l,n,a,t;let c=null!=(t=null==(a=d.current)||null==(n=a.getCountryData)||null==(l=n.call(a))?void 0:l.dialCode)?t:"",r=c.replace(/\D/g,"");s(e.replace(/\D/g,"").startsWith(r)?e:"".concat(c).concat(e))},country:"us",inputProps:{name:void 0,onKeyDown:e=>{var l;let n=e.currentTarget,a=n.value.match(/^\+\d+/),t=a?a[0].length:0,s=null!=(l=n.selectionStart)?l:0;("Backspace"===e.key||"Delete"===e.key)&&s<=t&&e.preventDefault()}},className:null==o?void 0:o.containerClassName,inputClass:"".concat(null!=(x=null==o?void 0:o.className)?x:"")})}return(0,a.jsxs)("div",{className:" relative ",children:[(0,a.jsx)("input",{...o,type:"password"===l&&u?"text":l,value:n,onChange:e=>s(e.target.value)}),"password"===l&&c&&(null==n?void 0:n.length)?(0,a.jsx)("span",{className:" absolute top-0 right-2 h-full flex justify-center items-center ",children:(0,a.jsx)("button",{type:"button",className:"\n                                p-1\n                                text-2xl\n\n                                ".concat(u?"opacity-50":"","\n                            "),onClick:()=>i(!u),children:"\uD83D\uDC41"})}):null]})},u=e=>{let{label:l,type:n="text",name:c,value:r,placeholder:u,eyeball:i,required:d,errorMessage:x,onChange:h,reverse:p,horizontal:f,containerClassName:v,inputClassName:g,labelClassName:m,disabled:b,note:w}=e,k=(0,t.useMemo)(()=>"password"===n||"checkbox"===n?r:(0,s.A)(r),[n,r]);return(0,a.jsxs)("div",{className:"\n                flex\n                gap-1\n                w-full\n                ".concat(f?p?"flex-row-reverse":"flex-row":p?"flex-col-reverse":"flex-col","\n                ").concat(v,"\n            "),children:[(0,a.jsxs)("label",{id:c,htmlFor:c,className:"\n                    pl-1\n                    items-center\n                    text-sm\n                    font-semibold\n                    flex\n                    lg:flex-row\n                    flex-col\n                    gap-1\n                    ".concat(null!=m?m:"","\n                "),children:[(0,a.jsxs)("div",{className:"flex gap-1 whitespace-nowrap w-full lg:w-fit",children:[l,d&&(0,a.jsx)("span",{className:"text-brandyellow",children:"*"})]}),w&&(0,a.jsx)("span",{className:"text-gray-400 text-xs !break-words w-full",children:w})]}),(0,a.jsx)(o,{disabled:b,name:c,type:n,value:k,checked:"checkbox"===n?r:void 0,placeholder:u,eyeball:i,onChange:e=>{if("checkbox"===n)null==h||h(e);else null==h||h(e)},className:"\n                    border\n                    rounded-lg\n                    h-12\n                    w-full\n                    px-2\n                    !border-gray-300\n                    accent-[#C18A05]\n                    ".concat(null!=g?g:"","\n                ")}),x&&(0,a.jsx)("span",{className:"text-brandred",children:x})]})}},21085:(e,l,n)=>{n.d(l,{A:()=>t});var a=n(12227);let t=e=>e?a.A.sanitize(e):""}}]);

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.