PageSourceSearch

https://streamerbans.com/_next/static/chunks/pages/index-9453e5b4be69fdc9.js

js streamerbans.com collected 2026-10-02 14:45:24 UTC 9,993 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[405],{707:function(e,t,l){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return l(8411)}])},5220:function(e,t,l){"use strict";var r=l(2676);l(5271);var n=l(2382),s=l.n(n),a=l(1333),i=l.n(a),d=l(8921);t.Z=e=>{let{feed:t}=e;return(0,r.jsx)("div",{className:"flow-root",children:(0,r.jsx)("ul",{className:"-mb-8",children:null==t?void 0:t.map((e,l)=>(0,r.jsx)("li",{children:(0,r.jsxs)("div",{className:"relative pb-8",children:[l!==t.length-1?(0,r.jsx)("span",{className:"absolute top-4 left-5 -ml-px h-full w-0.5 bg-gray-200","aria-hidden":"true"}):null,(0,r.jsxs)("div",{className:"relative flex space-x-3",children:[(0,r.jsx)("div",{children:(0,r.jsx)(d.Z,{className:"h-10 w-10 rounded-full flex items-center justify-center ring-8 ring-white",src:e.suspensionable.profile_image_url,alt:e.suspensionable.login_name})}),(0,r.jsxs)("div",{className:"min-w-0 flex-1 pt-2.5 flex justify-between space-x-4",children:[(0,r.jsx)("div",{children:(0,r.jsxs)("p",{className:"text-sm text-gray-500",children:[(0,r.jsx)(s(),{href:"/user/".concat(e.suspensionable.login_name),className:"font-medium text-gray-900",children:e.suspensionable.display_name})," has been ",(0,r.jsx)("span",{className:function(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];return t.filter(Boolean).join(" ")}(e.is_ban?"bg-red-100 text-red-800":"bg-green-100 text-green-800","inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium"),children:e.is_ban?"BANNED":"UNBANNED"})]})}),(0,r.jsx)("div",{className:"text-right text-sm whitespace-nowrap text-gray-500",children:(0,r.jsx)("time",{dateTime:e.is_ban?e.created_at:e.ended_at,children:i()(new Date(e.is_ban?e.created_at:e.ended_at)).fromNow()})})]})]})]})},e.id))})})}},5597:function(e,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var l in t)Object.defineProperty(e,l,{enumerable:!0,get:t[l]})}(t,{default:function(){return i},noSSR:function(){return a}});let r=l(2430);l(2676),l(5271);let n=r._(l(4982));function s(e){return{default:(null==e?void 0:e.default)||e}}function a(e,t){return delete t.webpack,delete t.modules,e(t)}function i(e,t){let l=n.default,r={loading:e=>{let{error:t,isLoading:l,pastDelay:r}=e;return null}};e instanceof Promise?r.loader=()=>e:"function"==typeof e?r.loader=e:"object"==typeof e&&(r={...r,...e});let i=(r={...r,...t}).loader;return(r.loadableGenerated&&(r={...r,...r.loadableGenerated},delete r.loadableGenerated),"boolean"!=typeof r.ssr||r.ssr)?l({...r,loader:()=>null!=i?i().then(s):Promise.resolve(s(()=>null))}):(delete r.webpack,delete r.modules,a(l,r))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2178:function(e,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LoadableContext",{enumerable:!0,get:function(){return r}});let r=l(2430)._(l(5271)).default.createContext(null)},4982:function(e,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return m}});let r=l(2430)._(l(5271)),n=l(2178),s=[],a=[],i=!1;function d(e){let t=e(),l={loading:!0,loaded:null,error:null};return l.promise=t.then(e=>(l.loading=!1,l.loaded=e,e)).catch(e=>{throw l.loading=!1,l.error=e,e}),l}class o{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},t.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,...e}
1,this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}}function u(e){return function(e,t){let l=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},t),s=null;function d(){if(!s){let t=new o(e,l);s={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return s.promise()}if(!i){let e=l.webpack?l.webpack():l.modules;e&&a.push(t=>{for(let l of e)if(t.includes(l))return d()})}function u(e,t){!function(){d();let e=r.default.useContext(n.LoadableContext);e&&Array.isArray(l.modules)&&l.modules.forEach(t=>{e(t)})}();let a=r.default.useSyncExternalStore(s.subscribe,s.getCurrentValue,s.getCurrentValue);return r.default.useImperativeHandle(t,()=>({retry:s.retry}),[]),r.default.useMemo(()=>{var t;return a.loading||a.error?r.default.createElement(l.loading,{isLoading:a.loading,pastDelay:a.pastDelay,timedOut:a.timedOut,error:a.error,retry:s.retry}):a.loaded?r.default.createElement((t=a.loaded)&&t.default?t.default:t,e):null},[e,a])}return u.preload=()=>d(),u.displayName="LoadableComponent",r.default.forwardRef(u)}(d,e)}function c(e,t){let l=[];for(;e.length;){let r=e.pop();l.push(r(t))}return Promise.all(l).then(()=>{if(e.length)return c(e,t)})}u.preloadAll=()=>new Promise((e,t)=>{c(s).then(e,t)}),u.preloadReady=e=>(void 0===e&&(e=[]),new Promise(t=>{let l=()=>(i=!0,t());c(a,e).then(l,l)})),window.__NEXT_PRELOADREADY=u.preloadReady;let m=u},8411:function(e,t,l){"use strict";l.r(t),l.d(t,{__N_SSP:function(){return m},default:function(){return p},runtime:function(){return f}});var r=l(2676),n=l(5271),s=l(5220),a=l(8447);let i=n.forwardRef(function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M5.293 9.707a1 1 0 010-1.414l4-4a1 1 0 011.414 0l4 4a1 1 0 01-1.414 1.414L11 7.414V15a1 1 0 11-2 0V7.414L6.707 9.707a1 1 0 01-1.414 0z",clipRule:"evenodd"}))}),d=n.forwardRef(function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M14.707 10.293a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 111.414-1.414L9 12.586V5a1 1 0 012 0v7.586l2.293-2.293a1 1 0 011.414 0z",clipRule:"evenodd"}))});var o=e=>{let{data:t}=e;return(0,r.jsx)("div",{children:(0,r.jsx)("dl",{className:"grid grid-cols-1 rounded-lg bg-white overflow-hidden shadow divide-y divide-gray-200 md:grid-cols-3 md:divide-y-0 md:divide-x",children:null==t?void 0:t.map(e=>(0,r.jsxs)("div",{className:"px-4 py-5 sm:p-6",children:[(0,r.jsx)("dt",{className:"text-base font-normal text-gray-900",children:e.name}),(0,r.jsxs)("dd",{className:"mt-1 flex justify-between items-baseline md:block lg:flex",children:[(0,r.jsxs)("div",{className:"flex items-baseline text-2xl font-semibold text-blue-600",children:[e.stat.toLocaleString("en-US"),(0,r.jsxs)("span",{className:"ml-2 text-sm font-medium text-gray-500",children:["from ",e.previousStat.toLocaleString("en-US")]})]}),(0,r.jsxs)("div",{className:function(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];return t.filter(Boolean).join(" ")}("increase"===e.changeType?"bg-green-100 text-green-800":"bg-red-100 text-red-800","inline-flex items-baseline px-2.5 py-0.5 rounded-full text-sm font-medium md:mt-2 lg:mt-0"),children:["increase"===e.changeType?(0,r.jsx)(i,{className:"-ml-1 mr-0.5 flex-shrink-0 self-center h-5 w-5 text-green-500","aria-hidden":"true"}):(0,r.jsx)(d,{className:"-ml-1 mr-0.5 flex-shrink-0 self-center h-5 w-5 text-red-500","aria-hidden":"true"}),(0,r.jsxs)("span",{className:"sr-only",children:["increase"===e.changeType?"Increased":"Decreased"," by"]}),e.change,"%"]})]})]},e.name))})})},u=l(5786);let c=l.n(u)()(()=>Promise.all([l.e(401),l.e(168)]).then(l.bind(l,6168)),{loadableGenerated:{webpack:()=>[6168]},ssr:!1});var m=!0;let f="experimental-edge";function h(e,t){return{options:{dataLabels:{enabled:!1},stroke:{curve:"smooth"},chart:{id:"bansPerWeek"},xaxis:{type:"datetime"}},series:[{name:t,data:e}]}}var p=e=>{let{feed:t,statistics:l}=e,n=h(null==l?void 0:l.bansPerWeek,"Bans"),i=h(null==l?void 0:l.partners,"Partners");
1return(0,r.jsxs)(a.Z,{title:"StreamerBans",description:"Dashboard",children:[(0,r.jsx)(o,{data:null==l?void 0:l.stats}),(0,r.jsxs)("div",{className:"grid grid-cols-1 gap-6 mt-6 lg:grid-cols-5",children:[(0,r.jsxs)("div",{className:"px-5 py-6 bg-white rounded-lg shadow lg:col-span-2 sm:px-6",children:[(0,r.jsx)("h3",{className:"mb-5 text-lg font-medium leading-6 text-gray-900",children:"Recent Activity"}),(0,r.jsx)(s.Z,{feed:t})]}),(0,r.jsxs)("div",{className:"grid grid-cols-1 grid-rows-2 gap-6 lg:col-span-3",children:[(0,r.jsxs)("div",{className:"px-5 pt-6 pb-2 bg-white rounded-lg shadow sm:px-6",children:[(0,r.jsx)("h3",{className:"mb-5 text-lg font-medium leading-6 text-gray-900",children:"Bans / Week"}),(0,r.jsx)(c,{options:null==n?void 0:n.options,series:null==n?void 0:n.series,type:"line",height:"84%"})]}),(0,r.jsxs)("div",{className:"px-5 pt-6 pb-2 bg-white rounded-lg shadow sm:px-6",children:[(0,r.jsx)("h3",{className:"mb-5 text-lg font-medium leading-6 text-gray-900",children:"Partners"}),(0,r.jsx)(c,{options:null==i?void 0:i.options,series:null==i?void 0:i.series,type:"area",height:"84%"})]})]})]})]})}},5786:function(e,t,l){e.exports=l(5597)}},function(e){e.O(0,[883,152,961,888,774,179],function(){return e(e.s=707)}),_N_E=e.O()}]);

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.