PageSourceSearch

https://ailikeme.ai/static/657.996f60a0e8db7f850c05.js

js ailikeme.ai collected 2026-10-05 15:27:29 UTC 2,770 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkmy_webpack_project=self.webpackChunkmy_webpack_project||[]).push([[657],{20657(e,t,r){r.r(t);var n=r(39471),a=r(88477),i=r(51794),l=r(58908);function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,i,l,c=[],o=!0,s=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;o=!1}else for(;!(o=(n=i.call(r)).done)&&(c.push(n.value),c.length!==t);o=!0);}catch(e){s=!0,a=e}finally{try{if(!o&&null!=r.return&&(l=r.return(),Object(l)!==l))return}finally{if(s)throw a}}return c}}(e,t)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}r.d(t,["default",0,()=>{const e=c((0,n.useState)([]),2),t=e[0],r=e[1],o=c((0,n.useState)(!1),2),s=o[0],u=o[1],d=c((0,n.useState)({current:1,pageSize:10,total:0,next:!1,previous:!1}),2),f=d[0],b=d[1];(0,n.useEffect)(()=>{y(1,10)},[]);const y=async function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;u(!0);try{const a=await i.tY.GetNewsletterSubscribers(e,t,n);r(a.data.results),b({current:e,pageSize:t,total:a.data.count,next:a.data.next,previous:a.data.previous})}catch(e){console.error("Error fetching newsletter subscribers:",e)}finally{u(!1)}},m=e=>e?new Date(e).toLocaleDateString("en-US",{year:"numeric",month:"short",day:"numeric",hour:"2-digit",minute:"2-digit"}):"N/A",S=[{title:"EMAIL ADDRESS",dataIndex:"email",key:"email",render:e=>n.createElement("span",{style:{fontWeight:500}},e)},{title:"VERIFICATION STATUS",dataIndex:"is_verified",key:"is_verified",render:e=>n.createElement(l.A,{color:e?"success":"warning"},e?"Verified":"Pending")},{title:"SUBSCRIPTION STATUS",dataIndex:"is_active",key:"is_active",render:e=>n.createElement(l.A,{color:e?"blue":"default"},e?"Active":"Unsubscribed")},{title:"SUBSCRIBED DATE",dataIndex:"subscribed_at",key:"subscribed_at",render:e=>m(e)},{title:"VERIFIED DATE",dataIndex:"verified_at",key:"verified_at",render:e=>m(e)}];return n.createElement("div",{className:"newsletter-subscribers-container"},n.createElement(a.L3,{title:"Newsletter Subscribers",columns:S,data:t,loading:s,pagination:f,onPaginationChange:(e,t,r)=>{y(e,t,r)},isSearchable:!0,searchPlaceholder:"Search by email..."}))}])}}]);

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.