PageSourceSearch

https://unstop.com/chunk-OUTLVLAP.js

js unstop.com collected 2026-10-02 02:41:17 UTC 11,025 bytes, 1 lines download raw bytes

1import{a as pe}from"./chunk-ARFAFK7U.js";import{a as se}from"./chunk-GIGYDHE3.js";import{a as re}from"./chunk-NE3PN4AS.js";import{a as ae,b as le}from"./chunk-6Z3JPFEM.js";import"./chunk-VDHMNIPW.js";import{e as oe}from"./chunk-7NJJ2OR6.js";import{a as Y,b as Z}from"./chunk-COB7JTXP.js";import{a as H,b as J}from"./chunk-B7MEV2DH.js";import{c as ne,d as ie}from"./chunk-HHQ3DLDR.js";import{a as Q,b as X}from"./chunk-GHXZGKMT.js";import"./chunk-DTHTIZ5C.js";import{a as te}from"./chunk-2HJPFN3S.js";import"./chunk-HIEQIAO6.js";import"./chunk-WAF2UKPS.js";import"./chunk-R3QRL77R.js";import"./chunk-62DYWMYT.js";import"./chunk-WX25E2HZ.js";import"./chunk-I5K7UUBW.js";import"./chunk-6BAE5M2B.js";import{a as $,b as ee}from"./chunk-GPTXSPLI.js";import"./chunk-WSF7ZPQZ.js";import"./chunk-JYXQ74JV.js";import"./chunk-7A7LFYDL.js";import"./chunk-IQBBAARC.js";import"./chunk-CWWNL6ZE.js";import"./chunk-FSAIB72R.js";import{L as K,i as q,o as G}from"./chunk-X474JN3X.js";import"./chunk-GJNXMHJK.js";import"./chunk-XWMJJGBF.js";import"./chunk-5G7452JJ.js";import"./chunk-O6NNHBDA.js";import"./chunk-VK3ZU6WP.js";import{x as A}from"./chunk-BRHCVEVW.js";import{Ac as k,Dc as N,Ed as v,Fd as O,Gd as V,Ic as S,Jc as E,Kc as I,Mc as F,Me as W,Nc as R,Ob as l,Oc as _,Pc as n,Qa as p,Qc as t,Ra as d,Rc as P,Sd as C,Zc as w,_a as g,ae as M,be as j,ce as U,ed as f,hc as D,hd as c,me as b,nc as y,td as z,wd as a,xd as m,yd as B,zc as T,zd as L}from"./chunk-7DV7UWC6.js";import"./chunk-XS7UEPGF.js";import"./chunk-IP4IO47A.js";W();W();var de=()=>[import("./chunk-TIJIX2FY.js").then(i=>i.ViewColleges)],ce=()=>[import("./chunk-U6FZ6GOU.js").then(i=>i.SendMailModal)],me=()=>["grey-00","grey-00"],ge=()=>["grey-1100"],_e=()=>["grey-00","grey-100"],ue=()=>["T"],he=()=>["cus","dd MMM, yyyy"];function fe(i,u){i&1&&P(0,"app-tpc-loader",8),i&2&&_("type","unstop-table-loader")("useTpoCampaign",!0)}function Ce(i,u){i&1&&(n(0,"un-no-data",9)(1,"span"),a(2,"Emails you send will show up here."),t()()),i&2&&_("type","border")("cardTitle","No email logs found")}function xe(i,u){if(i&1&&(n(0,"p",19),a(1),M(2,"d2cDate"),M(3,"d2cDate"),t()),i&2){let e=c().$implicit;l(),L(" ",U(2,2,e.scheduled_at,C(8,ue))," | ",U(3,5,e.scheduled_at,C(9,he))," ")}}function we(i,u){if(i&1){let e=w();n(0,"tr")(1,"td",13)(2,"p",17),a(3),t(),n(4,"p",18),a(5),t(),S(6,xe,4,10,"p",19),t(),n(7,"td",14)(8,"un-tags",20),a(9),M(10,"titlecase"),t()(),n(11,"td",15),a(12),t(),n(13,"td",15),a(14),t(),n(15,"td",15),a(16),t(),n(17,"td",15),a(18),t(),n(19,"td",15),a(20),t(),n(21,"td",15),a(22),t(),n(23,"td",15),a(24),t(),n(25,"td",16)(26,"un-icon",21),f("click",function(){let o=p(e).$implicit,r=c(2);return d(r.showViewColleges.set(o.campaign_id))}),t()()()}if(i&2){let e=u.$implicit,s=c(2);l(3),m(e.subject),l(2),m(e.sender),l(),E(e.scheduled_at?6:-1),l(2),_("bgColor",s.statusTag(e.status).bg)("textColor",s.statusTag(e.status).text)("close_icon",!1),l(),B(" ",j(10,21,e.status)," "),l(3),m(e.aws_sent),l(2),m(e.email_sent),l(2),m(e.bounce),l(2),m(e.delivered),l(2),m(e.recipients),l(2),m(e.opened),l(2),m(e.clicks),l(2),_("size",18)("bgSize",40)("color",C(23,ge))("borderColor","stroke-primary")("bg",C(24,_e))("unTooltip","View Colleges")("tooltipPosition","left")}}function Me(i,u){if(i&1&&(n(0,"div",10)(1,"table",12)(2,"thead")(3,"tr")(4,"th",13),a(5,"Subject"),t(),n(6,"th",14),a(7,"Status"),t(),n(8,"th",15),a(9,"AWS Sent"),t(),n(10,"th",15),a(11,"Email Sent"),t(),n(12,"th",15),a(13,"Bounce"),t(),n(14,"th",15),a(15,"Delivered"),t(),n(16,"th",15),a(17,"Recipients"),t(),n(18,"th",15),a(19,"Opened"),t(),n(20,"th",15),a(21,"Clicks"),t(),n(22,"th",16),a(23,"Actions"),t()()(),n(24,"tbody"),F(25,we,27,25,"tr",null,I),t()()()),i&2){let e=c();l(25),R(e.emails())}}function be(i,u){if(i&1){let e=w();n(0,"app-view-colleges",22),V("openChange",function(o){p(e);let r=c();return O(r.showViewColleges,o)||(r.showViewColleges=o),d(o)}),t()}if(i&2){let e=c();v("open",e.showViewColleges),_("campaignId",e.showViewColleges())}}function ye(i,u){if(i&1){let e=w();n(0,"app-send-mail-modal",23),V("openChange",function(o){p(e);let r=c();
1return O(r.showSendMail,o)||(r.showSendMail=o),d(o)}),f("sent",function(){p(e);let o=c();return d(o.onMailSent())}),t()}if(i&2){let e=c();v("open",e.showSendMail)}}var Ke=(()=>{class i{constructor(){this.showViewColleges=g(0,{debugName:"showViewColleges"}),this.showSendMail=g(!1,{debugName:"showSendMail"}),this.search=g("",{debugName:"search"}),this.emails=g([],{debugName:"emails"}),this.loading=g(!1,{debugName:"loading"}),this.loaded=g(!1,{debugName:"loaded"}),this.perPageResult=10,this.paginationTotal=g(null,{debugName:"paginationTotal"}),this.showLoader=b(()=>(this.loading()||!this.loaded())&&this.emails().length===0,{debugName:"showLoader"}),this.hidePagination=b(()=>{let e=this.paginationTotal();return this.showLoader()||e===null||e<=this.perPageResult},{debugName:"hidePagination"}),this.showNoData=b(()=>this.loaded()&&!this.loading()&&this.emails().length===0,{debugName:"showNoData"}),this.resultUrl="/api/tpc/tpo-campaign/email-history",this.forceRefresh=g(!1,{debugName:"forceRefresh"})}onMailSent(){this.forceRefresh.set(!0)}onForceRefreshHandled(){this.forceRefresh.set(!1)}statusTag(e){switch(e){case"sent":case"completed":return{bg:"green-100",text:"green-900"};case"failed":return{bg:"red-100",text:"red-900"};case"pending":return{bg:"orange-100",text:"orange-900"};default:return{bg:"grey-100",text:"grey-800"}}}onSearch(e){this.loaded.set(!1),this.search.set(e??"")}onLoading(e){this.loading.set(e),e||this.loaded.set(!0)}onEmailsLoaded(e){this.emails.set(e??[]),this.loaded.set(!0)}onStatsChange(e){this.paginationTotal.set(e?.total??0)}static{this.\u0275fac=function(s){return new(s||i)}}static{this.\u0275cmp=D({type:i,selectors:[["app-unstop-tpo-manage-emails"]],decls:20,vars:20,consts:[["sendMailBtn",""],[1,"email-logs"],[1,"email-logs__header"],[1,"email-logs__title"],["unButton","","unButtonCircle","","unButtonIconLeft","",3,"click"],["icon","mail.svg",3,"size","color"],[1,"email-logs__toolbar"],["rounded","","placeholder","Search by Subject & Email",1,"email-logs__search",3,"ngModelChange","type","size","fontSize","iconLeft","ngModel"],[3,"type","useTpoCampaign"],[3,"type","cardTitle"],[1,"email-logs__table-wrap"],[1,"email-logs__pagination",3,"valueChange","statsChange","loading","resetForceRefresh","resultUrl","returnFieldName","perPageResult","searchTerm","displayStats","displayJumpTo","value","forceRefresh"],[1,"email-logs__table"],[1,"col-subject"],[1,"col-status"],[1,"col-num"],[1,"col-actions"],[1,"subject__title"],[1,"subject__sender"],[1,"subject__time"],[3,"bgColor","textColor","close_icon"],["asBtn","","icon","visibilities.svg","rounded","full",3,"click","size","bgSize","color","borderColor","bg","unTooltip","tooltipPosition"],[3,"openChange","open","campaignId"],[3,"openChange","sent","open"]],template:function(s,o){if(s&1){let r=w();n(0,"div",1)(1,"div",2)(2,"h1",3),a(3,"Email Logs"),t(),n(4,"button",4,0),f("click",function(){return p(r),d(o.showSendMail.set(!0))}),P(6,"un-icon",5),a(7," Send Mail "),t()(),n(8,"div",6)(9,"un-input",7),f("ngModelChange",function(h){return p(r),d(o.onSearch(h))}),t()(),S(10,fe,1,2,"app-tpc-loader",8)(11,Ce,3,2,"un-no-data",9)(12,Me,27,0,"div",10),n(13,"app-pagination",11),f("valueChange",function(h){return p(r),d(o.onEmailsLoaded(h))})("statsChange",function(h){return p(r),d(o.onStatsChange(h))})("loading",function(h){return p(r),d(o.onLoading(h))})("resetForceRefresh",function(){return p(r),d(o.onForceRefreshHandled())}),t()(),y(14,be,1,2),T(15,14,de),y(17,ye,1,1),T(18,17,ce),N(4)}s&2&&(l(6),_("size",18)("color",C(19,me)),l(3),_("type","text")("size","medium")("fontSize","small")("iconLeft","search.svg")("ngModel",o.search()),l(),E(o.showLoader()?10:o.showNoData()?11:12),l(3),z("d-none",o.hidePagination()),_("resultUrl",o.resultUrl)("returnFieldName","data")("perPageResult",o.perPageResult)("searchTerm",o.search())("displayStats",!0)("displayJumpTo",!0)("value",o.emails())("forceRefresh",o.forceRefresh()),l(2),k(o.showViewColleges()))},dependencies:[J,H,ee,$,Z,Y,oe,X,Q,le,ae,se,re,K,q,G,pe,ie,ne,A,te],styles:[".email-logs[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:20px;padding:20px}.email-logs__header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:16px}.email-logs__title[_ngcontent-%COMP%]{margin:0;font-size:24px;font-weight:500;line-height:1.3;color:var(--grey-1100, #383838)}.email-logs__toolbar[_ngcontent-%COMP%]{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.email-logs__search[_ngcontent-%COMP%]{display:block;flex:1 1 320px;max-width:360px;min-width:240px}.email-logs__table-wrap[_ngcontent-%COMP%]{border:1px solid var(--stroke-primary, #e2e2e2);border-radius:12px;overflow-x:auto}.email-logs__table[_ngcontent-%COMP%]{width:100%;min-width:900px;border-collapse:collapse;font-size:14px}.email-logs__table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]{background:var(--blue-50, #f2f8fe)}.email-logs__table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]{padding:14px 16px;text-align:left;font-size:12px;font-weight:500;line-height:1.3;color:var(--grey-1100);white-space:nowrap}.email-logs__table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]{border-top:1px solid var(--stroke-primary, #e2e2e2)}.email-logs__table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]:hover{background:var(--grey-50, #f6f6f6)}.email-logs__table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{padding:14px;color:var(--grey-1100, #383838);font-weight:400}.email-logs__table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]:not(:first-of-type){text-align:center}.email-logs__table[_ngcontent-%COMP%]   .col-subject[_ngcontent-%COMP%]{width:280px;min-width:280px}.email-logs__table[_ngcontent-%COMP%]   .col-num[_ngcontent-%COMP%]{white-space:nowrap}.email-logs__table[_ngcontent-%COMP%]   .col-actions[_ngcontent-%COMP%]{text-align:center;width:72px}.email-logs[_ngcontent-%COMP%]   .subject__title[_ngcontent-%COMP%]{margin:0;font-size:14px;font-weight:500;line-height:1.4;color:var(--grey-1100, #383838);max-width:248px;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;white-space:normal;word-break:break-word}.email-logs[_ngcontent-%COMP%]   .subject__sender[_ngcontent-%COMP%]{margin:4px 0 0;font-size:12px;font-weight:400;line-height:1.3;color:var(--text-secondary)}.email-logs[_ngcontent-%COMP%]   .subject__time[_ngcontent-%COMP%]{margin-top:4px;font-size:12px;font-weight:400;line-height:1.3;color:var(--text-tertiary)}.email-logs__state[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;padding:48px 16px}.email-logs__pagination[_ngcontent-%COMP%]{display:block}.email-logs[_ngcontent-%COMP%]   un-no-data[_ngcontent-%COMP%]     .un_no_data{min-height:calc(100dvh - 240px)}"],changeDetection:0})}}return i})();export{Ke as UnstopTpoManageEmails};

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.