PageSourceSearch

https://unstoppabledomains.com/_next/static/chunks/pages/_super-new/orders-502f6e175aa9df8c.js

js unstoppabledomains.com collected 2026-10-09 21:29:20 UTC 5,574 bytes, 2 lines download raw bytes

1(self.wpJsonpUD=self.wpJsonpUD||[]).push([[66508],{590522:function(e){e.exports=function(e){for(var n=-1,r=null==e?0:e.length,t=0,a=[];++n<r;){var i=e[n];i&&(a[t++]=i)}return a}},85650:function(e,n,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_super-new/orders",function(){return r(181973)}])},173130:function(e,n,r){"use strict";r.d(n,{Z:function(){return E}});var t=r(824246),a=r(75505),i=r(292915),s=r(347114),o=r(873995),u=r(769708),d=r(853734),l=r(827378),c=r(779193),f=r(345200),m=function(e){return{isCommandEnter:function(){return(e.metaKey||e.ctrlKey)&&"Enter"===e.key},isEnter:function(){return"Enter"===e.key},isShiftEnter:function(){return e.shiftKey&&"Enter"===e.key}}},p=r(52230),h=r(590522),v=r.n(h),w=r(501967),y=(0,c.makeStyles)({uniqId:"components-admin-common-MultiLineSearchBar-0"})((function(){return{input:{flexGrow:1,backgroundColor:d.Z.white}}})),C={order:"Enter order IDs (with new line separated shift+enter)",product:"Enter product name (with new line separated shift+enter)",discountCode:"Enter a discount code (with new line separated shift+enter)",giftCode:"Filter by Gift Code or Reason",promoCredit:"Filter by User or Reason",promoCreditGroupBy:"Filter by Reason",email:"Enter email address",walletAddress:"Enter wallet address",emailOrWalletAddress:"Enter wallet address or email",domain:"Enter domain name",dnsDomains:"Enter dns domain names (with new line separated shift+enter)"},E=function(e){var n=(0,f.Z)().classes,r=y().classes,d=(0,l.useState)((function(){return e.value||""})),c=d[0],h=d[1],E=(0,l.useState)(""),P=E[0],b=E[1],g=function(e){return v()(e.split("\n").map((function(e){return e.trim()})))},k=function(e){var n=v()(e.split("\n").map((function(e){return e.trim()})));return n.every(w.Do)?n:[]},x=function(e){return v()(e.split("\n").map((function(e){return e.trim()})))},D=function(n){var r=[],t="";switch(e.searchType){case"product":if(!n.split("\n").every((function(e){return(0,p.TP)(e.trim().toLowerCase())})))return void b("Please enter valid product name");r=function(e){return v()(e.split("\n").map((function(e){return e.trim().toLowerCase()})))}(n),t="Please enter valid Products";break;case"order":r=function(e){return v()(e.split("\n").map(Number))}(n),t="Please enter valid IDs";break;case"discountCode":return r=function(e){return v()(e.split("\n").map((function(e){return e.trim().toUpperCase()})))}(n),void e.onSearch(r);case"giftCode":r=g(n),t="Please enter valid Gift Codes or Reason";break;case"promoCredit":r=g(n),t="Please enter valid Reason or User";break;case"email":r=k(n),t="Please enter valid emails";break;case"walletAddress":r=x(n),t="Please enter valid wallet address";break;case"emailOrWalletAddress":r=w.Do(n)?k(n):x(n),t="Please enter valid wallet address or email";break;case"domain":r=(0,p.TP)(n)?[n]:[],t="Please enter valid domain";break;case"dnsDomains":if(!function(e){return e.split("\n").every((function(e){return(0,p.WK)(e.trim().toLowerCase())}))}(n))return void b("Please enter valid dns domains");r=function(e){return v()(e.split("\n").map((function(e){return e.trim()})))}(n),t="Please enter valid dns domains";break;default:r=g(n),t="Please enter valid string"}r.length?e.onSearch(r):b(t)};return(0,t.jsxs)(i.Z,{display:"flex",children:[(0,t.jsx)(a.Z,{variant:"outlined",className:r.input,value:c,onChange:function(n){b("");var r="order"===e.searchType&&(""===n.target.value||n.target.value.split("\n").every((function(e){return!isNaN(+e)}))),t=["product","discountCode","giftCode","promoCredit","promoCreditGroupBy","email","walletAddress","emailOrWalletAddress","domain","dnsDomains"].includes(e.searchType);(r||t)&&h(n.target.value)},onKeyDown:function(e){m(e).isEnter()&&(e.preventDefault(),m(e).isShiftEnter()?h((function(e){return e+"\n"})):D(c))},multiline:!0,maxRows:8,error:!!P,helperText:P,label:C[e.searchType]}),(0,t.jsx)(s.Z,{title:"You can also press Command (or Control) + Enter to search",children:(0,t.jsx)("span",{children:(0,t.jsxs)(o.Z,{className:n.button,disabled:e.loading,variant:"contained",color:"primary",onClick:function(){return D(c)},children:[(0,t.jsx)(u.Z,{className:n.marginRight}),"Search"]})})})]})}},181973:function(e,n,r){"use strict";r.r(n);var t=r(824246),a=r(292915),i=(r(827378),r(686677)),s=r(317486),o=r(415154),u=r(173130);n.default=(0,o.Z)((function(){var e=(0,i.useRouter)();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(s.PB,{title:"Order Lookup - UD Admin"}),(0,t.jsx)(a.Z,{marginY:5,children:(0,t.jsx)(u.Z,{searchType:"order",onSearch:function(n){e.push("/_super-new/orders/".concat(encodeURIComponent(n.join(","))))},loading:!1})})]})}))},501967:function(e,n,r){"use strict";r.d(n,{Do:function(){return t},HQ:function(){return i},jv:function(){return s},l:function(){return o}});var t=r(62915).vV,a=/^(?:(?:https?|ftp):\/\/)?((?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})))|localhost)(?::\d{2,5})?(?:\/\S*)?$/,i=function(e){return a.test(e)},s=function(e){return/^(http(s)?|ipfs):\/\/(www\.)?[\w\d]+((-+|\.)[\w\d]+)*\.[\w\d]+(:[0-9]{1,5})?(\/[^\s]*)?(\?[^\s]*)?$/.test(e)},o=function(e){return/^http(s)?:\/\//.test(e)}}},function(e){e.O(0,[63065,15154,49774,92888,40179],(function(){return n=85650,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
2//# sourceMappingURL=orders-502f6e175aa9df8c.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.