(this["webpackJsonpvericrypt-web-app"]=this["webpackJsonpvericrypt-web-app"]||[]).push([[1],{357:function(e,t){},394:function(e){e.exports=JSON.parse('["head gun","shoot a ball","shoot balls","shoot a film","shot a ball","shot balls","shot a film","shoot the ball","shoot the film","shot the ball","shot balls","shot the film","shoot a films","shot a films","shoot the films","shot the films","shoot a movies","shot a movies","shoot the movies","shot the movies","shoot a movie","shot a movie","shoot the movie","shot the movie","shoot a video","shot a video","shoot the video","shot the video","shoot a video","shot a video","shoot the videos","shot the videos","shoot a music videos","shot a music video","shoot the music videos","shot the music videos","shooting star","shooting percentage","take shots","take a shot","take the shot","take shots","get a shot","took shots","took a shot","took the shot","took shots","trick shot","trick shots","shooting hand","shooting guard","shooting position","shooting stance","players shoot","players shooting","jump shot","jump shots","jumpshot","jumpshots","hook shot","hook shots","bank shot","bank shots","pedestal shot","pedestal shots","power shot","power shots","pocket shot","pocket shots","foul shot","foul shots","set shot","set shots","shooting foul","shoot foul","shoot fouls","missed a shot","missed the shot","ball is shot","ball was shot","swish shot","swish shots","movie was shot","video was shot","film was shot","movie is being shot","video is being shot","film is being shot","movies are being shot","videos are being shot","films are being shot","movies will be shot","videos will be shot","films will be shot","will begin shooting","to begin shooting","shooting a film","shooting a travel ","shooting a cooking","shooting a commercial","shooting so well","shot ratio","shooting ratio","homo sapiens","homo sapien","single-sex","pain in the butt","Curve ball","nude shoes","This sucks","He sucks","It sucks","biological sex","chicken breast","head gun","headgun","pain in my butt","pain in your butt","Lynch ","lady and the tramp","curve balls","pains in the butt","erect the building","Machine gun Kelly","Machine Gun Kelly","machine gun Kelly","Top Gun","top gun","once in a blue moon","Absolut","stomach acid","true shooting","amount of shooting","amount of shots","number of shots","three point shooting","level of shooting","shooting the lights out","shooting atrociously","shooting poorly","shooting luck","three point shot","opponent shooting","point shooting","free throw shooting","minutes shooting","an old fashioned throwback","old fashioned gentleman","he\'s old fashioned","she\'s old fashioned","they\'re old fashioned","hacking to death","hacked to death","hard on soldiers","hard on me","hard on you","hard on him","hard on her","acid rain","acidic","black rifle coffee","silencer smooth","Acid, washed","acid washed","acid washed","shooting over","shooting short","Nexter","okay shooter","bad shooter","shooting like","shooting the threes","wasn\'t a shooter","shooting from","shooting guard","game shooting","shooting stretches","shooting at three","shooting at 3","drible creation and shooting","Kyle a shooter","shooting a career low","shooting 48%","shooting 30%","shooting 35%","shooting 25%","shooting 20%","shooting 15%","shooting 10%","shooting 50%","shooting 55%","quick shooting","we know about the shooting","worst shooting","shooting team elite","shooting so many","stop shooting","shooting threes","shooting team","shooting too many","shooting 60%","shooting 65%","shooting 70%","shooting 75%","shooting 80%","shooting 85%","shooting 90%","shooting for the playoffs","shooting for","offense and shooting","defense and shooting","shooting offense","shooting defense","the shooting that Miami","enough shooting","bust it by shooting","good job of shooting","shooting performance","shooting performances","shooting early","guys shooting","shooting 22%","shooting 23%","shooting 24%","shooting 26%","shooting 27%","shooting 28%","shooting 29%","shooting 31%","shooting 32%","shooting 33%","shooting 34%","shooting 36%","shooting 37%","shooting 38%","shooting 39%","shooting 41%","shooting 42%","shooting 43%","shooting 44%","shooting 46%","shooting 47%","shooting 48%","shooting 49%","shooting 51%","shooting 52%","shooting 53%","shooting 54%","shooting 56%","shooting 57%","shooting 58%","shooting 59%","shooting 61%","shooting 62%","shooting 63%","shooting 64%","shooting 66%","shooting 67%","shooting 68%","shooting 69%","shooting 71%","shooting 72%","shooting 73%","shooting 74%","shooting 76%","shooting 77%","shooting 78%","shooting 79%","shooting 81%","shooting 82%","shooting 83%","shooting 84%","shooting 86%","shooting 87%","shooting 88%","shooting 89%","shooting 91%","shooting 92%","shooting 93%","shooting 94%","shooting 95%","shooting 96%","shooting 97%","shooting 98%","shooting 99%","shooting 100%","a shooting guard"]')},648:function(e,t){},649:function(e,t){},650:function(e,t){},651:function(e,t){},652:function(e,t){},663:function(e,t){},665:function(e,t,n){},667:function(e,t,n){"use strict";n.r(t);var a,i=n(762),r=n(726),o=n(367),c=n(85),s=n(36),l=n(69),d=n(142),u=n(368),h={projectId:"vericrypt-web-app",apiUrl:"https://api.thebarometer.co/api",googleRecaptchaKey:"6LecR10aAAAAAAjuw96vSBCRqTkC8Fcb-sqdqx9j",stripePublicKey:"pk_live_bnmFh5yUj9BqrHlbn1n2JVq900oHVSRqHM",gaTrackingId:"UA-193154198-2",showLogoDirectory:"https://cdn.thebarometer.com/images/showlogos/"},b=n(3),p=n(5),g=n(9),j=n(4),m=n(1),f=n(369),x=n.n(f),O=n(289),v=n.n(O),C=function(e,t){var n=x.a.create({baseURL:h.apiUrl+e,headers:t||{Accept:"application/json"}});return n.interceptors.request.use((function(e){var t=Q();return t&&(e.headers.common.Authorization="Bearer ".concat(t)),e})),n.interceptors.response.use((function(e){return e}),(function(e){if(!e.response)return Promise.reject(e);var t=e.response.status,n=sessionStorage.getItem("token");return 408===t&&n?v.a.fire({icon:"warning",title:"Maintenance",text:"Temporarily down for maintenance.",reverseButtons:!0,confirmButtonText:"OK",cancelButtonText:"Cancel"}):401===t&&n&&v.a.fire({icon:"warning",title:"Token Expired",text:"Your token is expired.",reverseButtons:!0,confirmButtonText:"OK",cancelButtonText:"Cancel"}).then((function(){X(),window.location.href="/login"})),Promise.reject(e)})),n},A=function(e,t){return Object(b.a)(Object(b.a)({},e),{},{apiKey:t.apiKey,organizationName:t.name,subscriptionTier:t.subscriptionTier,fullName:[e.firstName,e.lastName].join(" ")})};function y(e){return"?"+Object.keys(e).filter((function(t){return e[t]})).map((function(t){return encodeURIComponent(t)+"="+encodeURIComponent(e[t])})).join("&")}!function(e){e.LIST_PAYMENT_METHODS="list-payment-methods",e.LIST_ARTICLES="list-articles",e.LIST_ORGANIZATIONS="list-organizations",e.LIST_INVOICES="list-invoices",e.LIST_HISTORIES="list-histories",e.GET_ARTICLES_METADATA="get-articles-metadata",e.GET_DOCUMENT_PAGES="get-document-pages",e.GET_ORGANIZATION="get-organization",e.GET_ORGANIZATION_MEMBERS="get-organization-members",e.GET_PDF_DOCUMENTS="get-pdf-documents",e.GET_LAST_API_USAGE_PERIOD="get-last-api-usage-period"}(a||(a={}));var w,I,k=a;!function(e){e.ERROR="error",e.IDLE="idle",e.LOADING="loading",e.SUCCESS="success"}(w||(w={})),function(e){e.NORMAL="NORMAL",e.OVER_TIME="OVER_TIME"}(I||(I={}));var S,E,R,N,D,M,T,B,L,F,P,z,G,W,H=C("/organization"),U=function(){var e=Object(g.a)(Object(p.a)().mark((function e(t){var n,a;return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,H.get("/".concat(t));case 2:return n=e.sent,a=n.data,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),V=function(){var e=Object(g.a)(Object(p.a)().mark((function e(t){var n,a;return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,H.get("/".concat(t,"/members"));case 2:return n=e.sent,a=n.data,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),K=function(){var e=Object(g.a)(Object(p.a)().mark((function e(t){var n,a;return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,H.put("/primary-dashboard",{primaryDashboardId:t});case 2:return n=e.sent,a=n.data,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Z=C("/user"),Q=function(){return sessionStorage.getItem("token")},X=function(){sessionStorage.removeItem("token")},Y=function(e){sessionStorage.setItem("token",e)},J=function(){var e=Object(g.a)(Object(p.a)().mark((function e(){var t,n,a;return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(Q()){e.next=2;break}return e.abrupt("return",void 0);case 2:return e.next=4,Z.get("/current");case 4:return t=e.sent,n=t.data,e.next=8,U(n.organizationId);case 8:return a=e.sent,e.abrupt("return",A(n,a));case 10:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),q=function(){var e=Object(g.a)(Object(p.a)().mark((function e(t,n){var a,i;return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Z.post("/login",{email:t,password:n});case 2:return a=e.sent,i=a.data,Y(i.token),e.abrupt("return",i);case 6:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),_=function(){var e=Object(g.a)(Object(p.a)().mark((function e(t){var n,a;return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Z.patch("/password/reset",{password:t});case 2:return n=e.sent,a=n.data,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),$=function(){var e=Object(g.a)(Object(p.a)().mark((function e(t){var n,a;return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Z.post("/password/reset-code-link",{email:t});case 2:return n=e.sent,a=n.data,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),ee=function(){var e=Object(g.a)(Object(p.a)().mark((function e(t){var n,a;return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Z.get("/password/verify-reset-code".concat(y({code:t.code,email:t.email})));case 2:return n=e.sent,a=n.data,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),te=function(){var e=Object(g.a)(Object(p.a)().mark((function e(t){var n,a;return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Z.put("/password/verify-code-and-update",t);case 2:return n=e.sent,a=n.data,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),ne=function(){var e=Object(g.a)(Object(p.a)().mark((function e(){return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:X();case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),ae=function(){var e=Object(g.a)(Object(p.a)().mark((function e(t){var n,a;return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Z.post("/invitation",t);case 2:return n=e.sent,a=n.data,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),ie=function(){var e=Object(g.a)(Object(p.a)().mark((function e(t){var n,a;return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Z.delete("/".concat(t));case 2:return n=e.sent,a=n.data,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),re=function(){var e=Object(g.a)(Object(p.a)().mark((function e(t){var n,a;return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Z.post("/accept-invitation",t);case 2:return n=e.sent,a=n.data,Y(a.token),e.abrupt("return",a);case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),oe=function(){var e=Object(g.a)(Object(p.a)().mark((function e(t){var n,a;return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Z.get("/invitation-details?invitationCode=".concat(t));case 2:return n=e.sent,a=n.data,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),ce=function(){var e=Object(g.a)(Object(p.a)().mark((function e(t,n){var a,i;return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Z.put("/".concat(t),n);case 2:return a=e.sent,i=a.data,e.abrupt("return",i);case 5:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),se=C("/dashboard"),le=function(){var e=Object(g.a)(Object(p.a)().mark((function e(t,n){var a,i;return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,se.post("?secretKey=".concat(t),n);case 2:return a=e.sent,i=a.data,e.abrupt("return",i);case 5:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),de=function(){var e=Object(g.a)(Object(p.a)().mark((function e(t,n,a){var i,r;return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,se.put("/".concat(n,"?secretKey=").concat(t),a);case 2:return i=e.sent,r=i.data,e.abrupt("return",r);case 5:case"end":return e.stop()}}),e)})));return function(t,n,a){return e.apply(this,arguments)}}(),ue=function(){var e=Object(g.a)(Object(p.a)().mark((function e(t,n){var a,i;return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,se.delete("/".concat(n,"?secretKey=").concat(t));case 2:return a=e.sent,i=a.data,e.abrupt("return",i);case 5:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),he=function(){var e=Object(g.a)(Object(p.a)().mark((function e(t,n,a){var i,r;return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,se.put("/".concat(n,"/favorite?secretKey=").concat(t),{favorite:a});case 2:return i=e.sent,r=i.data,e.abrupt("return",r);case 5:case"end":return e.stop()}}),e)})));return function(t,n,a){return e.apply(this,arguments)}}();!function(e){e.DAILY="DAILY",e.WEEKLY="WEEKLY",e.MONTHLY="MONTHLY"}(S||(S={})),function(e){e.TITLE="TITLE",e.CONTENT="CONTENT"}(E||(E={})),function(e){e.MAIN="MAIN",e.NORMAL="NORMAL",e.DOCUMENT="DOCUMENT",e.GARM="GARM"}(R||(R={})),function(e){e.EDITORIAL_BIAS="editorialBias",e.COLLOQUIALISM="colloquialism",e.SENSATIONALISM="sensationalism"}(N||(N={})),function(e){e.VIEW="view",e.STAFF="staff",e.ADMIN="admin",e.SUPER="super"}(D||(D={})),function(e){e.VISA="visa",e.MASTERCARD="mastercard"}(M||(M={})),function(e){e.FREE="Free",e.STARTUP="Startup",e.ENTERPRISE="Enterprise"}(T||(T={})),function(e){e.LANDING="landing",e.API_KEY="api-key",e.CONFIRM_EMAIL="confirm-email",e.CHOOSE_PLAN_STEP1="choose-plan-step1",e.CHOOSE_PLAN_STEP2="choose-plan-step2",e.REGISTRATION_COMPLETE="registration-complete"}(B||(B={})),function(e){e.SUBSCRIPTION_INFO="subscription-info",e.CHOOSE_PLAN_STEP1="choose-plan-step1",e.CHOOSE_PLAN_STEP2="choose-plan-step2"}(L||(L={})),function(e){e.USER_INFO="user-info",e.ORGANIZATION="organization"}(F||(F={})),function(e){e.INDIVIDUAL="Individual",e.BUSINESS="Business"}(P||(P={})),function(e){e.HIGH="High",e.MEDIUM="Medium",e.LOW="Low",e.NO="No"}(z||(z={})),function(e){e.YEAR="year",e.MONTH="month"}(G||(G={})),function(e){e.BASIC="basic",e.STANDARD="standard"}(W||(W={}));C("/document"),C("/file");var be=C("/garm"),pe=function(){var e=Object(g.a)(Object(p.a)().mark((function e(t){var n,a;return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,be.post("shows/v2",t);case 2:return n=e.sent,a=n.data,e.abrupt("return",{data:a.data,totalCount:a.totalCount});case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),ge=function(){var e=Object(g.a)(Object(p.a)().mark((function e(t){var n,a;return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,be.post("shows/names",t);case 2:return n=e.sent,a=n.data,e.abrupt("return",{showNames:a.showNames});case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),je=function(){var e=Object(g.a)(Object(p.a)().mark((function e(t){var n,a;return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,be.post("shows/reports",t);case 2:return n=e.sent,a=n.data,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),me=function(){var e=Object(g.a)(Object(p.a)().mark((function e(t){var n,a;return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,be.get("shows/".concat(encodeURIComponent(t)));case 2:return n=e.sent,a=n.data,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),fe=function(){var e=Object(g.a)(Object(p.a)().mark((function e(t,n){var a,i;return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,be.post("shows/".concat(encodeURIComponent(t),"/v2"),n);case 2:return a=e.sent,i=a.data,e.abrupt("return",i);case 5:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),xe=function(){var e=Object(g.a)(Object(p.a)().mark((function e(){var t,n;return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,be.get("publisher-details");case 2:return t=e.sent,n=t.data,e.abrupt("return",n);case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),Oe=function(){var e=Object(g.a)(Object(p.a)().mark((function e(){var t,n;return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,be.get("iab-names-tree");case 2:return t=e.sent,n=t.data,e.abrupt("return",n);case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),ve=function(){var e=Object(g.a)(Object(p.a)().mark((function e(){var t,n;return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,be.get("shows/sources");case 2:return t=e.sent,n=t.data,e.abrupt("return",n);case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),Ce=C("/payment"),Ae=function(){var e=Object(g.a)(Object(p.a)().mark((function e(t,n,a){var i,r;return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Ce.post("/customer-subscription",{token:n,planName:t,promoCode:a});case 2:return i=e.sent,r=i.data,e.abrupt("return",r);case 5:case"end":return e.stop()}}),e)})));return function(t,n,a){return e.apply(this,arguments)}}(),ye=function(){var e=Object(g.a)(Object(p.a)().mark((function e(t){var n,a;return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Ce.get("/promo-code/".concat(t));case 3:return n=e.sent,a=n.data,e.abrupt("return",a);case 8:return e.prev=8,e.t0=e.catch(0),e.abrupt("return",void 0);case 11:case"end":return e.stop()}}),e,null,[[0,8]])})));return function(t){return e.apply(this,arguments)}}(),we=function(){var e=Object(g.a)(Object(p.a)().mark((function e(t,n){var a,i;return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Ce.put("/customer-subscription",{planName:t,promoCode:n});case 2:return a=e.sent,i=a.data,e.abrupt("return",i);case 5:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),Ie=function(){var e=Object(g.a)(Object(p.a)().mark((function e(){var t,n;return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Ce.delete("/customer-subscription");case 2:return t=e.sent,n=t.data,e.abrupt("return",n);case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),ke=(C("/score"),C("/verification"),C("/view")),Se=function(){var e=Object(g.a)(Object(p.a)().mark((function e(){var t,n;return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ke.get("");case 2:return t=e.sent,n=t.data,e.abrupt("return",n);case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),Ee=function(){var e=Object(g.a)(Object(p.a)().mark((function e(t,n){var a,i;return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ke.post("",{title:t,data:n});case 2:return a=e.sent,i=a.data,e.abrupt("return",i);case 5:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),Re=C("/host"),Ne=function(){var e=Object(g.a)(Object(p.a)().mark((function e(t){var n,a;return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Re.post("",t);case 2:return n=e.sent,a=n.data,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),De=n(0),Me=Object(m.createContext)(void 0);function Te(e){var t=Object(m.useState)(!0),n=Object(j.a)(t,2),a=n[0],i=n[1],r=Object(m.useState)(),o=Object(j.a)(r,2),c=o[0],s=o[1],l=Object(m.useState)(),d=Object(j.a)(l,2),u=d[0],h=d[1];function f(){return x.apply(this,arguments)}function x(){return(x=Object(g.a)(Object(p.a)().mark((function e(){var t;return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,J();case 3:t=e.sent,s(t),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),s(void 0);case 10:return e.prev=10,i(!1),e.finish(10);case 13:case"end":return e.stop()}}),e,null,[[0,7,10,13]])})))).apply(this,arguments)}var O=Object(m.useCallback)(Object(g.a)(Object(p.a)().mark((function e(){var t;return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(c){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,U(null===c||void 0===c?void 0:c.organizationId);case 4:t=e.sent,h(t);case 6:case"end":return e.stop()}}),e)}))),[c]),v=Object(m.useCallback)(function(){var e=Object(g.a)(Object(p.a)().mark((function e(t){var n;return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(c){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,K(t);case 4:n=e.sent,h(n);case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[c]);function C(){return C=Object(g.a)(Object(p.a)().mark((function e(t,n){var a;return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,q(t,n);case 2:return e.next=4,J();case 4:a=e.sent,s(a);case 6:case"end":return e.stop()}}),e)}))),C.apply(this,arguments)}function A(){return(A=Object(g.a)(Object(p.a)().mark((function e(){return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return h(void 0),s(void 0),e.next=4,ne();case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}Object(m.useEffect)((function(){f()}),[]),Object(m.useEffect)((function(){O()}),[c,O]);var y={isAuthenticated:!!c,user:c,organization:u,logIn:function(e,t){return C.apply(this,arguments)},logOut:function(){return A.apply(this,arguments)},fetchUser:f,fetchOrganization:O,updateOrganizationPrimaryDashboard:v,isLoading:a,fullName:c?[c.firstName,c.lastName].join(" "):void 0,apiKey:null===u||void 0===u?void 0:u.apiKey};return Object(De.jsx)(Me.Provider,Object(b.a)({value:y},e))}function Be(){return Object(m.useContext)(Me)}var Le=Object(m.createContext)(void 0),Fe=246,Pe=67,ze=306;function Ge(e){var t=Object(m.useState)(Fe),n=Object(j.a)(t,2),a=n[0],i=n[1],r=Object(m.useState)(!1),o=Object(j.a)(r,2),c=o[0],s=o[1],l=Object(m.useState)(!0),d=Object(j.a)(l,2),u=d[0],h=d[1],p=Object(m.useState)(!1),g=Object(j.a)(p,2),f=g[0],x=g[1],O=Object(m.useState)(ze),v=Object(j.a)(O,2),C={width:a,secondSidebarOpen:c,secSidebarWidth:v[0],setSecSidebarWidth:v[1],setWidth:i,setSecondSidebarOpen:s,setDashboardSidebar:x,toggleDashboardSidebar:function(){h(!1),x((function(e){return!e}))},dashboardSidebarOpen:f,toggleFilterSidebar:function(){x(!1),h((function(e){return!e}))},filterSidebarOpen:u,isSmallSidebar:a===Pe,openFilterSidebar:function(){x(!1),h(!0)}};return Object(De.jsx)(Le.Provider,Object(b.a)({value:C},e))}function We(){return Object(m.useContext)(Le)}var He=Object(m.createContext)({width:0,height:0}),Ue=function(e){var t=e.children,n=Object(m.useState)(window.innerWidth),a=Object(j.a)(n,2),i=a[0],r=a[1],o=Object(m.useState)(window.innerHeight),c=Object(j.a)(o,2),s=c[0],l=c[1],d=function(){r(window.innerWidth),l(window.innerHeight)};return Object(m.useEffect)((function(){return window.addEventListener("resize",d),function(){return window.removeEventListener("resize",d)}}),[]),Object(De.jsx)(He.Provider,{value:{width:i,height:s},children:t})},Ve=function(){var e=Object(m.useContext)(He),t=e.width;return{width:t,height:e.height,isMobile:t<=620}},Ke=n(739),Ze=n(47),Qe=n(53),Xe=n(7),Ye=n(737),Je=n(725),qe=n(738),_e=n(729),$e=n(686),et=n(681),tt=n(727),nt=n(732),at=n(768),it=n(389),rt=n.n(it),ot=n(678),ct=n(412),st=Object(ot.a)((function(){return Object(ct.a)({fontBolder:{fontWeight:700},fontBold:{fontWeight:600},font500:{fontWeight:500},fontNormal:{fontWeight:400},noneTextDecoration:{textDecoration:"none"}})})),lt=Object(ot.a)((function(e){return Object(ct.a)({mb05:{marginBottom:e.spacing(.5)},mb1:{marginBottom:e.spacing(1)},mb15:{marginBottom:e.spacing(1.5)},mb2:{marginBottom:e.spacing(2)},mb3:{marginBottom:e.spacing(3)},mb4:{marginBottom:e.spacing(4)},mb5:{marginBottom:e.spacing(5)},mb6:{marginBottom:e.spacing(6)},mb7:{marginBottom:e.spacing(7)},mb8:{marginBottom:e.spacing(8)},ml1:{marginLeft:e.spacing(1)},ml15:{marginLeft:e.spacing(1.5)},ml2:{marginLeft:e.spacing(2)},ml3:{marginLeft:e.spacing(3)},ml4:{marginLeft:e.spacing(4)},ml6:{marginLeft:e.spacing(6)},mr05:{marginRight:e.spacing(.5)},mr1:{marginRight:e.spacing(1)},mr15:{marginRight:e.spacing(1.5)},mr2:{marginRight:e.spacing(2)},mr3:{marginRight:e.spacing(3)},mr6:{marginRight:e.spacing(6)},margin1:{marginBottom:e.spacing(1)},margin2:{marginBottom:e.spacing(2)},margin3:{marginBottom:e.spacing(3)},mt05:{marginTop:e.spacing(.5)},mt1:{marginTop:e.spacing(1)},mt2:{marginTop:e.spacing(2)},mt3:{marginTop:e.spacing(3)},mt4:{marginTop:e.spacing(4)},mt5:{marginTop:e.spacing(5)},mt6:{marginTop:e.spacing(6)},mt7:{marginTop:e.spacing(7)},mt8:{marginTop:e.spacing(8)},pl1:{paddingLeft:e.spacing(1)},pl2:{paddingLeft:e.spacing(2)},pl3:{paddingLeft:e.spacing(3)},pl4:{paddingLeft:e.spacing(4)},pt1:{paddingTop:e.spacing(1)},pt2:{paddingTop:e.spacing(2)},pt3:{paddingTop:e.spacing(3)},pt8:{paddingTop:e.spacing(8)},pb0:{paddingBottom:e.spacing(0)},pb1:{paddingBottom:e.spacing(1)},pb2:{paddingBottom:e.spacing(2)},pb3:{paddingBottom:e.spacing(3)},padding1:{padding:e.spacing(1)},padding2:{padding:e.spacing(2)},padding3:{padding:e.spacing(3)},padding10:{padding:e.spacing(10)},noPadding:{padding:0},noMargin:{padding:0},fullHeight:{height:"100%"},borderRadius3:{borderRadius:e.spacing(3)}})})),dt=Object(ot.a)((function(e){return Object(ct.a)({white:{color:"#ffffff"},black:{color:"#000"},primary:{color:e.palette.primary.main},secondary:{color:e.palette.secondary.main},blue:{color:e.palette.blue.main},transparentBlue:{color:e.palette.transparentBlue.main},redText:{color:e.palette.redText.main},grayText:{color:e.palette.grayText.main},gray:{color:e.palette.gray.main},grayBackground:{color:e.palette.grayBackground.main},grey400:{color:e.palette.grey400.main},blackBackground:{color:e.palette.blackBackground.main},purple:{color:e.palette.purple.main},yellow:{color:e.palette.yellow.main},green:{color:e.palette.green.main},lightGray:{color:e.palette.lightGray.main}})})),ut=Object(ot.a)((function(e){return Object(ct.a)({white:{backgroundColor:"#ffffff"},primary:{backgroundColor:e.palette.primary.main},secondary:{backgroundColor:e.palette.secondary.main},blue:{backgroundColor:e.palette.blue.main},transparentBlue:{backgroundColor:e.palette.transparentBlue.main},redText:{backgroundColor:e.palette.redText.main},grayText:{backgroundColor:e.palette.grayText.main},gray:{backgroundColor:e.palette.gray.main},grayBackground:{backgroundColor:e.palette.grayBackground.main},lightGrayBackground:{backgroundColor:e.palette.lightGrayBackground.main},purple:{backgroundColor:e.palette.purple.main},yellow:{backgroundColor:e.palette.yellow.main},green:{backgroundColor:e.palette.green.main},lightGray:{backgroundColor:e.palette.lightGray.main}})})),ht=function(e){var t=e.height,n=void 0===t?42:t,a=Object(Ze.g)(),i=lt();return Object(De.jsx)(Je.a,{display:"flex",flexWrap:"no-wrap",justifyContent:"center",alignItems:"center",onClick:function(){a.push("/dashboard")},children:Object(De.jsx)("img",{src:"/images/icons/barometer.png",height:n,alt:"barometer",className:Object(Xe.default)("BarameterLogo",i.ml2)})})},bt=n(10),pt=n(371),gt=n(97),jt=n(728),mt=n(731),ft=n(677),xt=n(55),Ot=n.n(xt),vt=n(62),Ct=n.n(vt),At=n(50),yt=n.n(At),wt=n(82),It=n(8),kt=n(680),St=n(74),Et=n.n(St),Rt=n(86),Nt=n.n(Rt),Dt=["title","height","width","variant","fontSize","className","children"];function Mt(e){var t=e.title,n=e.height,a=e.width,i=e.variant,r=void 0===i?"contained":i,o=e.fontSize,c=void 0===o?"md":o,s=e.className,l=e.children,d=Object(It.a)(e,Dt),u=Tt({height:n,width:a});return Object(De.jsxs)(kt.a,Object(b.a)(Object(b.a)({variant:r,disableElevation:!0,disableRipple:!0,className:Object(Xe.default)(s,u.button,"sm"===c&&u.fontSizeSmall,"md"===c&&u.fontSizeNormal,"lg"===c&&u.fontSizeLarge),classes:{textPrimary:u.textPrimary,textSecondary:u.textSecondary,outlinedPrimary:u.outlinedPrimary,outlinedSecondary:u.outlinedSecondary,containedPrimary:u.containedPrimary,containedSecondary:u.containedSecondary}},d),{},{children:[t,l]}))}var Tt=Et()((function(e){return Nt()({button:{textTransform:"none",height:function(e){return e.height||48},width:function(e){return e.width}},fontSizeSmall:{fontSize:14},fontSizeNormal:{fontSize:16},fontSizeLarge:{fontSize:20},textPrimary:{color:e.palette.primary.main},textSecondary:{color:e.palette.secondary.main},outlinedPrimary:{color:e.palette.secondary.main},outlinedSecondary:{color:e.palette.primary.main},containedPrimary:{color:e.palette.secondary.main},containedSecondary:{color:e.palette.primary.main}})})),Bt=function(){var e=Object(c.b)().enqueueSnackbar;return{handleError:Object(m.useCallback)((function(t,n){var a,i;e((null===t||void 0===t||null===(a=t.response)||void 0===a||null===(i=a.data)||void 0===i?void 0:i.message)||n||(null===t||void 0===t?void 0:t.message),{variant:"error"})}),[e]),handleSuccess:Object(m.useCallback)((function(t){e(t,{variant:"success"})}),[e])}},Lt=(T.STARTUP,T.STARTUP,T.ENTERPRISE,T.ENTERPRISE,n(210)),Ft=n(372),Pt=n.n(Ft);function zt(e){return e?e.toString().replace(/\B(?=(\d{3})+(?!\d))/g,","):0}function Gt(e){return Wt.apply(this,arguments)}function Wt(){return(Wt=Object(g.a)(Object(p.a)().mark((function e(t){var n,a,i,r,o;return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.headers,a=t.data,i=t.fileName,r=document.createElement("a"),o=i||Object(Lt.default)(new Date,"yyyy-MM-dd HH:mm:ss"),r.href="data:text/csv;charset=utf-8,"+escape("".concat(n.join(","),"\n").concat(a)),r.download=o,document.body.appendChild(r),e.next=8,r.click();case 8:document.body.removeChild(r);case 9:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Ht(e){return Ut.apply(this,arguments)}function Ut(){return(Ut=Object(g.a)(Object(p.a)().mark((function e(t){var n,a,i;return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.data,a=t.fileName,i=a||Object(Lt.default)(new Date,"yyyy-MM-dd HH:mm:ss"),e.next=4,Pt.a.saveAs(new Blob([JSON.stringify(n)]),[i,"json"].join("."));case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var Vt,Kt,Zt=function(e){var t=e.replace(/\s+/g,"");return t=(t=t.replace(/[.,/#!$%^&*;:{}=\-_`~()?']/g,"")).replace(/\s{2,}/g," "),"".concat(h.showLogoDirectory).concat(t,".jpeg").toLowerCase()},Qt=function(e){return e<-.15?"negative":e<-.01?"slightly negative":e<=.01?"neutral":e<=.15?"slightly positive":"positive"};function Xt(e){switch(e){case Kt.USER_LOGIN:s.a.event({category:Vt.USER,action:"User Login"});break;case Kt.USER_LOGOUT:s.a.event({category:Vt.USER,action:"Logout Session"});break;case Kt.REGISTER_USER:s.a.event({category:Vt.USER,action:"Register User"});break;case Kt.RESET_PASSWORD:s.a.event({category:Vt.USER,action:"Reset Password"});break;case Kt.VERIFY_RESET_CODE:s.a.event({category:Vt.USER,action:"Verify Reset Code"});break;case Kt.SEND_RESET_PASSWORD_CODE:s.a.event({category:Vt.USER,action:"Send Reset Password Code"});break;case Kt.REGISTER_ORGANIZATION:s.a.event({category:Vt.ORGANIZATION,action:"Register Organization"});break;case Kt.ACCEPT_INVITATION:s.a.event({category:Vt.INVITATION,action:"Accept Invitation"});break;case Kt.REMOVE_INVITATION:s.a.event({category:Vt.INVITATION,action:"Remove Invitation"});break;case Kt.SEND_INVITATION:s.a.event({category:Vt.INVITATION,action:"Send Invitation"});break;case Kt.UPDATE_KPIS:s.a.event({category:Vt.ARTICLE,action:"Update KPIs"});break;case Kt.NEW_DASHBOARD:s.a.event({category:Vt.ARTICLE,action:"New Dashboard"});break;case Kt.SCORE_CONTENT:s.a.event({category:Vt.ARTICLE,action:"Score Content"});break;case Kt.SAVE_ARTICLE:s.a.event({category:Vt.ARTICLE,action:"Save Article"});break;case Kt.DOWNLOAD_AS_JON:s.a.event({category:Vt.ARTICLE,action:"Download As JSON"});break;case Kt.REFRESH_ARTICLES:s.a.event({category:Vt.ARTICLE,action:"Refresh Articles"});break;case Kt.REGISTER_PAYMENT_METHOD:s.a.event({category:Vt.PAYMENT,action:"Register Payment Method"});break;case Kt.REGISTER_SUBSCRIPTION:s.a.event({category:Vt.SUBSCRIPTION,action:"Register Subscription"});break;case Kt.UPDATE_SUBSCRIPTION:s.a.event({category:Vt.SUBSCRIPTION,action:"Update Subscription"});break;case Kt.CANCEL_SUBSCRIPTION:s.a.event({category:Vt.SUBSCRIPTION,action:"Cancel Subscription"});break;case Kt.ACCEPT_ALL:s.a.event({category:Vt.COOKIES,action:"Accept All Cookies"});break;case Kt.ACCEPT_SELECTED:s.a.event({category:Vt.COOKIES,action:"Accept Selected Cookies"});break;case Kt.VIEW_OVER_TIME:s.a.event({category:Vt.DASHBOARD,action:"View Over Time"});break;case Kt.RETURN_TO_NORMAL:s.a.event({category:Vt.DASHBOARD,action:"Return To Normal"});break;case Kt.CREATE_DASHBOARD:s.a.event({category:Vt.DASHBOARD,action:"Create Dashboard"});break;case Kt.UPDATE_DASHBOARD:s.a.event({category:Vt.DASHBOARD,action:"Update Dashboard"});break;case Kt.DELETE_DASHBOARD:s.a.event({category:Vt.DASHBOARD,action:"Delete Dashboard"});break;case Kt.SHOW_EPISODES:s.a.event({category:Vt.DASHBOARD,action:"Show Episodes"});break;case Kt.SHOW_ARTICLE_CONTENT:s.a.event({category:Vt.DASHBOARD,action:"Show Article Content"})}}!function(e){e.USER="User",e.INVITATION="Invitation",e.ARTICLE="Article",e.PAYMENT="Payment",e.SUBSCRIPTION="Subscription",e.COOKIES="Cookies",e.DASHBOARD="Dashboard",e.ORGANIZATION="Organization"}(Vt||(Vt={})),function(e){e[e.USER_LOGIN=0]="USER_LOGIN",e[e.USER_LOGOUT=1]="USER_LOGOUT",e[e.RESET_PASSWORD=2]="RESET_PASSWORD",e[e.REGISTER_USER=3]="REGISTER_USER",e[e.VERIFY_RESET_CODE=4]="VERIFY_RESET_CODE",e[e.SEND_RESET_PASSWORD_CODE=5]="SEND_RESET_PASSWORD_CODE",e[e.REGISTER_ORGANIZATION=6]="REGISTER_ORGANIZATION",e[e.ACCEPT_INVITATION=7]="ACCEPT_INVITATION",e[e.SEND_INVITATION=8]="SEND_INVITATION",e[e.REMOVE_INVITATION=9]="REMOVE_INVITATION",e[e.UPDATE_KPIS=10]="UPDATE_KPIS",e[e.NEW_DASHBOARD=11]="NEW_DASHBOARD",e[e.SCORE_CONTENT=12]="SCORE_CONTENT",e[e.SAVE_ARTICLE=13]="SAVE_ARTICLE",e[e.DOWNLOAD_AS_JON=14]="DOWNLOAD_AS_JON",e[e.REFRESH_ARTICLES=15]="REFRESH_ARTICLES",e[e.REGISTER_PAYMENT_METHOD=16]="REGISTER_PAYMENT_METHOD",e[e.REGISTER_SUBSCRIPTION=17]="REGISTER_SUBSCRIPTION",e[e.UPDATE_SUBSCRIPTION=18]="UPDATE_SUBSCRIPTION",e[e.CANCEL_SUBSCRIPTION=19]="CANCEL_SUBSCRIPTION",e[e.ACCEPT_ALL=20]="ACCEPT_ALL",e[e.ACCEPT_SELECTED=21]="ACCEPT_SELECTED",e[e.VIEW_OVER_TIME=22]="VIEW_OVER_TIME",e[e.RETURN_TO_NORMAL=23]="RETURN_TO_NORMAL",e[e.CREATE_DASHBOARD=24]="CREATE_DASHBOARD",e[e.UPDATE_DASHBOARD=25]="UPDATE_DASHBOARD",e[e.DELETE_DASHBOARD=26]="DELETE_DASHBOARD",e[e.SHOW_EPISODES=27]="SHOW_EPISODES",e[e.SHOW_ARTICLE_CONTENT=28]="SHOW_ARTICLE_CONTENT"}(Kt||(Kt={}));var Yt,Jt,qt=function(e){return e.dashboards.filter((function(e){return e.type===R.MAIN||e.type===R.GARM}))},_t="/dashboard",$t="/audit",en="/landing",tn="/login",nn="/team",an="/subscription",rn="/forgot-password",on="/accept-invitation",cn="/confirm-reset-code",sn="/toc",ln="/reset-password",dn="/settings",un="/documentation",hn="/cookie-policy",bn="/reports",pn="/spotlight",gn=n(12),jn=(n(128),N.EDITORIAL_BIAS,N.COLLOQUIALISM,N.SENSATIONALISM,Yt={},Object(gn.a)(Yt,N.EDITORIAL_BIAS,[1,5]),Object(gn.a)(Yt,N.COLLOQUIALISM,[1,5]),Object(gn.a)(Yt,N.SENSATIONALISM,[-1,1]),Jt={},Object(gn.a)(Jt,N.EDITORIAL_BIAS,{min:"Biased",max:"Unbiased"}),Object(gn.a)(Jt,N.COLLOQUIALISM,{min:"Colloquial",max:"Literary"}),Object(gn.a)(Jt,N.SENSATIONALISM,{min:"Negative",max:"Positive"}),function(e){if(!(0===e[0]&&e[1]>=5))return[e[0],e[1]>=5?5:e[1]]}),mn=function(e){return Number.isNaN(Number(e))?0:Number(e)>5?5:Number(e)<0?0:Number(e)},fn=function(e){return 0===e[0]&&3===e[1]?["No","Low","Medium","High"]:["No","Low","Medium","High"].map((function(t,n){return n>=e[0]&&n<=e[1]?t:""})).filter((function(e){return""!==e}))},xn=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=Be(),n=t.organization,a=t.fetchOrganization,i=Bt(),r=i.handleSuccess,o=i.handleError,c=Object(m.useCallback)(function(){var t=Object(g.a)(Object(p.a)().mark((function t(i,c){return Object(p.a)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i&&null!==n&&void 0!==n&&n.apiKey){t.next=2;break}return t.abrupt("return");case 2:return t.prev=2,t.next=5,de(n.apiKey,i,c);case 5:if(r("Successfully updated the dashboard"),!e){t.next=9;break}return t.next=9,a();case 9:Xt(Kt.UPDATE_DASHBOARD),t.next=15;break;case 12:t.prev=12,t.t0=t.catch(2),o(t.t0,"There was an error while updating the dashboard");case 15:case"end":return t.stop()}}),t,null,[[2,12]])})));return function(e,n){return t.apply(this,arguments)}}(),[n,e,a,o,r]),s=Object(m.useCallback)(function(){var e=Object(g.a)(Object(p.a)().mark((function e(t){var i;return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!==n&&void 0!==n&&n.apiKey){e.next=2;break}return e.abrupt("return");case 2:i=[],t.forEach((function(e){i.push(de(n.apiKey,e.dashboardId,e.data))})),Promise.all(i).then((function(){a()})).catch((function(e){o(e,"There was an error while updating the dashboard")}));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[n,e,a,o,r]);return{onUpdateDashboard:c,onUpdateMultiDashboards:s}},On=n(291),vn=n.n(On),Cn=Object(ot.a)((function(){return Object(ct.a)({container:{padding:0,alignItems:"flex-start"}})})),An=function(e){var t=e.dashboard,n=e.index,a=e.noDraggable,i=void 0!==a&&a,r=e.onSelectDashboard,o=Cn();return i?Object(De.jsxs)(et.a,{button:!0,className:o.container,onClick:function(){r(t)},children:[Object(De.jsx)(tt.a,{style:{minWidth:30},children:Object(De.jsx)(vn.a,{htmlColor:"#757575",style:{fontSize:18}})}),Object(De.jsx)(gt.a,{style:{fontSize:14,fontWeight:400,lineHeight:"18px"},children:t.name})]}):Object(De.jsx)(wt.b,{draggableId:t.id.toString(),index:n,children:function(e){return Object(De.jsxs)(et.a,Object(b.a)(Object(b.a)(Object(b.a)({button:!0,className:o.container,onClick:function(){r(t)}},e.draggableProps),e.dragHandleProps),{},{ref:e.innerRef,children:[Object(De.jsx)(tt.a,{style:{minWidth:30},children:Object(De.jsx)(vn.a,{htmlColor:"#757575",style:{fontSize:18}})}),Object(De.jsx)(gt.a,{style:{fontSize:14,fontWeight:400,lineHeight:"18px"},children:t.name})]}))}})},yn=n(414),wn=n(373),In=n(730),kn=n(138),Sn=n.n(kn),En=n(374),Rn=n.n(En),Nn=["name","type","label","value","variant","required","fullWidth","className","readOnly","onEnter","onChange"];function Dn(e){var t=e.name,n=e.type,a=e.label,i=e.value,r=e.variant,o=e.required,c=e.fullWidth,s=e.className,l=e.readOnly,d=e.onEnter,u=e.onChange,h=Object(It.a)(e,Nn),p=Mn();return Object(De.jsx)(jt.a,Object(b.a)({name:t,type:n,value:i,variant:r,label:a,required:o,fullWidth:c,className:Object(Xe.default)(s,p.formControl),onKeyDown:function(e){13===e.keyCode&&d&&(null===d||void 0===d||d(),e.preventDefault())},onChange:function(e){null===u||void 0===u||u(e.target.value,e.target.name)},InputProps:{readOnly:l||!1}},h))}var Mn=Et()((function(e){return Nt()({formControl:{marginTop:e.spacing(.5),marginBottom:e.spacing(.5),"& .MuiInputLabel-filled":{transform:"translate(0px, -20px) scale(1)"},"& .MuiFilledInput-multiline":{paddingTop:e.spacing(1.5)},"& .MuiOutlinedInput-input":{padding:e.spacing(1)},"& .MuiInputLabel-outlined:not(.MuiInputLabel-shrink)":{transform:"translate(14px, 10px) scale(1)"},"& .MuiFilledInput-input:not(.MuiFilledInput-inputMultiline)":{padding:e.spacing(1.5,1.5,1.25)}}})})),Tn=Object(ot.a)((function(){return Object(ct.a)({container:{padding:0,alignItems:"flex-start"},collapseTitle:{fontSize:14,fontWeight:400},collapseCounter:{border:"1px solid #000000",borderRadius:2,fontSize:12,lineHeight:"12px",padding:4,marginRight:8},collapseContainer:{display:"flex",flexDirection:"column",gap:8,margin:"8px 0",padding:8,paddingLeft:20,paddingRight:8,position:"relative","&::before":{content:'""',position:"absolute",left:8,width:1,top:4,bottom:4,borderLeft:"1px solid gray"}},nameContainer:{display:"flex",alignItems:"center",gap:10,flex:1},titleInput:{"& .MuiInputBase-input":{fontSize:14,fontWeight:400,paddingTop:0}}})})),Bn=function(e){var t=e.name,n=e.dashboards,a=e.onDeleteFolder,i=e.onRenameFolder,r=e.onSelectDashboard,o=Tn(),c=Object(m.useState)(t),s=Object(j.a)(c,2),l=s[0],d=s[1],u=Object(m.useState)(!1),h=Object(j.a)(u,2),p=h[0],g=h[1],f=Object(m.useState)(null),x=Object(j.a)(f,2),O=x[0],v=x[1],C=Object(m.useState)(!1),A=Object(j.a)(C,2),y=A[0],w=A[1],I=Boolean(O),k=function(e){e.stopPropagation(),e.preventDefault(),v(e.currentTarget)},S=function(){v(null)},E=function(){g(!0),S()},R=function(){g(!1),t!==l&&i(t,l)},N=function(e){n&&n.length&&w(e)};return Object(De.jsx)(wt.c,{droppableId:t,children:function(e){return Object(De.jsxs)(_e.a,Object(b.a)(Object(b.a)({container:!0,ref:e.innerRef},e.droppableProps),{},{children:[Object(De.jsxs)(_e.a,{container:!0,item:!0,direction:"row",justifyContent:"space-between",alignItems:"center",style:{cursor:"pointer"},children:[Object(De.jsxs)("div",{className:o.nameContainer,onClick:function(){!p&&N(!y)},children:[Object(De.jsx)(Rn.a,{htmlColor:"#757575",style:{fontSize:18}}),p?Object(De.jsx)(Dn,{className:o.titleInput,value:l,onChange:d,onEnter:R,onBlur:R}):Object(De.jsxs)(gt.a,{className:o.collapseTitle,children:[t," (",n.length||0,")"]})]}),y?Object(De.jsx)(Ct.a,{onClick:function(){N(!y)},style:{fontSize:18}}):Object(De.jsx)(Ot.a,{onClick:function(){N(!y)},style:{fontSize:18}}),Object(De.jsxs)("div",{children:[Object(De.jsx)(yn.a,{onClick:k,style:{padding:2,marginLeft:10},children:Object(De.jsx)(Sn.a,{htmlColor:"#757575",style:{fontSize:16}})}),Object(De.jsxs)(wn.a,{id:"folder-menu","aria-labelledby":"folder-button",anchorEl:O,open:I,onClose:S,onClick:S,anchorOrigin:{vertical:"top",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"},children:[Object(De.jsx)(In.a,{onClick:E,children:"Rename"}),Object(De.jsx)(In.a,{onClick:function(){a(t),S()},style:{color:"#ff0000"},children:"Delete"})]})]})]}),Object(De.jsx)(ft.a,{in:y,timeout:"auto",unmountOnExit:!0,style:{width:"100%"},children:Object(De.jsxs)(_e.a,{container:!0,className:o.collapseContainer,children:[n.map((function(e,t){return Object(De.jsx)(An,{index:t,dashboard:e,onSelectDashboard:r},e.id)})),e.placeholder]})})]}))}})},Ln=Object(ot.a)((function(e){return Object(ct.a)({container:{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),display:"flex",flexDirection:"column",gap:20,height:"calc(100vh - 50px)"},mainContent:{flex:1,display:"flex",flexDirection:"column",gap:20,maxHeight:"100%",overflow:"auto"},addBtn:{background:"#ffffff",color:"#000000",border:"1px solid #000000",fontWeight:"normal",fontSize:16},collapseContainer:{display:"flex",flexDirection:"column",gap:24,padding:"20px 12px",paddingRight:0},collapseTitle:{fontSize:15,fontWeight:500,flex:1},collapseCounter:{border:"1px solid #000000",borderRadius:2,fontSize:12,lineHeight:"12px",padding:4,marginRight:8},searchBar:{width:"100%",border:"1px solid #C3C3C7",padding:"2px 8px",borderRadius:36,"& .MuiInputBase-root:before, & .MuiInputBase-root:after":{border:"none !important"}}})})),Fn=Object(pt.a)(gt.a)((function(e){return{color:e.theme.palette.common.black,fontSize:20,lineHeight:"24px",fontWeight:500}})),Pn=(Object(pt.a)($e.a)((function(){return{display:"flex",flex:1,flexDirection:"column"}})),Object(pt.a)(et.a)((function(){return{display:"flex",flex:1,gap:20,"& .MuiListItemText-primary":{fontStyle:"normal",fontWeight:"normal",fontSize:16},"& .MuiListItemText-secondary":{fontStyle:"normal",fontWeight:"normal",fontSize:14}}})),function(e){var t=e.dashboards,n=e.selectedDashboardId,a=e.onSelectDashboard,i=Ln(),r=Object(m.useState)(!0),o=Object(j.a)(r,2),c=o[0],s=o[1],l=Object(m.useState)(!0),d=Object(j.a)(l,2),u=d[0],h=d[1],p=Object(m.useState)(!0),g=Object(j.a)(p,2),f=g[0],x=g[1],O=xn().onUpdateMultiDashboards,v=Object(m.useState)([]),C=Object(j.a)(v,2),A=C[0],y=C[1],w=Object(m.useState)({}),I=Object(j.a)(w,2),k=I[0],S=I[1],E=Object(m.useState)(null),R=Object(j.a)(E,2),N=R[0],D=R[1],M=Object(m.useState)(""),T=Object(j.a)(M,2),B=T[0],L=T[1];Object(m.useEffect)((function(){var e=[],n={};t.forEach((function(t){t.folder?n[t.folder]?n[t.folder]=[].concat(Object(bt.a)(n[t.folder]),[t]):n[t.folder]=[t]:e.push(t)})),S(n),y(e)}),[t]),Object(m.useEffect)((function(){if(n){var e=t.find((function(e){return e.id===n}));D(e||t[0])}else D(t[0])}),[t,n]);var F=function(e){var t=k[e].map((function(e){return{dashboardId:e.id,data:{name:e.name,type:e.type,keywordsList:e.keywordsList,folder:null,exceptionFilterId:e.exceptionFilterId}}})),n=Object(b.a)({},k);y([].concat(Object(bt.a)(A),Object(bt.a)(n[e]))),delete n[e],S(n),O(t)},P=function(e,t){var n=k[e].map((function(e){return{dashboardId:e.id,data:{name:e.name,type:e.type,keywordsList:e.keywordsList,folder:t,exceptionFilterId:e.exceptionFilterId}}})),a=Object(b.a)({},k);a[t]=a[e],delete a[e],S(a),n.length&&O(n)};return Object(De.jsxs)("div",{className:i.container,children:[Object(De.jsx)(Fn,{variant:"h5",children:"Dashboards"}),Object(De.jsx)(jt.a,{InputLabelProps:{shrink:!0,style:{fontWeight:"normal"}},InputProps:{placeholder:"Search all dashboards...",startAdornment:Object(De.jsx)(mt.a,{position:"start",children:Object(De.jsx)(yt.a,{htmlColor:"#858591",style:{fontSize:20}})})},value:B,onChange:function(e){L(e.target.value)},className:i.searchBar}),Object(De.jsx)(wt.a,{onDragEnd:function(e){var t=e.source,n=e.destination;if(n&&t&&n.droppableId!==t.droppableId){var a=null,i=Object(bt.a)(A),r=Object(b.a)({},k);if("Uncategorized Dashboards"===t.droppableId)a=i[t.index],i.splice(t.index,1);else{a=k[t.droppableId][t.index];var o=Object(bt.a)(r[t.droppableId]);o.splice(t.index,1),r[t.droppableId]=o}"Uncategorized Dashboards"===n.droppableId?i.push(a):r[n.droppableId]=[].concat(Object(bt.a)(r[n.droppableId]),[a]),y(i),S(r),O([{dashboardId:a.id,data:{name:a.name,type:a.type,keywordsList:a.keywordsList,folder:"Uncategorized Dashboards"===n.droppableId?null:n.droppableId,exceptionFilterId:a.exceptionFilterId}}])}},children:Object(De.jsxs)("div",{className:i.mainContent,children:[Object(De.jsxs)(_e.a,{container:!0,children:[Object(De.jsxs)(_e.a,{container:!0,item:!0,direction:"row",justifyContent:"space-between",alignItems:"center",onClick:function(){x(!f)},style:{cursor:"pointer"},children:[Object(De.jsx)(gt.a,{className:i.collapseTitle,children:"Recently Viewed"}),f?Object(De.jsx)(Ct.a,{style:{fontSize:18}}):Object(De.jsx)(Ot.a,{style:{fontSize:18}})]}),Object(De.jsx)(ft.a,{in:f,timeout:"auto",unmountOnExit:!0,style:{width:"100%"},children:Object(De.jsx)(_e.a,{container:!0,className:i.collapseContainer,children:N&&Object(De.jsx)(An,{index:0,dashboard:N,noDraggable:!0,onSelectDashboard:a},N.id)})})]}),Object(De.jsxs)(_e.a,{container:!0,children:[Object(De.jsxs)(_e.a,{container:!0,item:!0,direction:"row",justifyContent:"space-between",alignItems:"center",onClick:function(){h(!u)},style:{cursor:"pointer"},children:[Object(De.jsx)(gt.a,{className:i.collapseTitle,children:"Folders"}),Object(De.jsx)(gt.a,{className:i.collapseCounter,children:Object.keys(k).length}),u?Object(De.jsx)(Ct.a,{style:{fontSize:18}}):Object(De.jsx)(Ot.a,{style:{fontSize:18}})]}),Object(De.jsx)(ft.a,{in:u,timeout:"auto",unmountOnExit:!0,style:{width:"100%"},children:Object(De.jsx)(_e.a,{container:!0,className:i.collapseContainer,children:Object.keys(k).map((function(e){return Object(De.jsx)(Bn,{name:e,dashboards:k[e].filter((function(e){return e.name.toLowerCase().includes(B.trim().toLowerCase())})),onDeleteFolder:F,onRenameFolder:P,onSelectDashboard:a},e)}))})})]}),Object(De.jsx)(wt.c,{droppableId:"Uncategorized Dashboards",children:function(e){return Object(De.jsxs)(_e.a,Object(b.a)(Object(b.a)({container:!0,ref:e.innerRef},e.droppableProps),{},{children:[Object(De.jsxs)(_e.a,{container:!0,item:!0,direction:"row",justifyContent:"space-between",alignItems:"center",onClick:function(){s(!c)},style:{cursor:"pointer"},children:[Object(De.jsx)(gt.a,{className:i.collapseTitle,children:"Uncategorized Dashboards"}),Object(De.jsx)(gt.a,{className:i.collapseCounter,children:A.filter((function(e){return e.name.toLowerCase().includes(B.trim().toLowerCase())})).length}),c?Object(De.jsx)(Ct.a,{style:{fontSize:18}}):Object(De.jsx)(Ot.a,{style:{fontSize:18}})]}),Object(De.jsxs)(ft.a,{in:c,timeout:"auto",unmountOnExit:!0,style:{width:"100%"},children:[Object(De.jsx)(_e.a,{container:!0,className:i.collapseContainer,children:A.filter((function(e){return e.name.toLowerCase().includes(B.trim().toLowerCase())})).map((function(e,t){return Object(De.jsx)(An,{index:t,dashboard:e,onSelectDashboard:a},e.id)}))}),e.placeholder]})]}))}})]})}),Object(De.jsx)(Mt,{title:"+ Add new folder",color:"primary",fontSize:"sm",height:36,width:"100%",className:i.addBtn,onClick:function(){for(var e="New Folder",t=0;t<1e4&&k[e];t++)e="New Folder ".concat(t+1);var n=Object(b.a)({},k);n[e]=[],S(n)}})]})});n(375),Object(ot.a)((function(e){return Object(ct.a)({dashboardSelectionContainer:{marginBottom:e.spacing(2)},nestedItems:{paddingLeft:e.spacing(4)},itemRightSideIcon:{marginRight:"0 !important","& svg":{marginLeft:"auto"}},active:{backgroundColor:"#000"}})}));var zn=n(139),Gn=n.n(zn),Wn=n(383),Hn=n.n(Wn),Un=n(382),Vn=n.n(Un),Kn=n(96),Zn=n.n(Kn),Qn=n(236),Xn=n.n(Qn),Yn=n(733),Jn=["title","content","children","variant","classes"],qn=["tooltip"],_n=Object(ot.a)((function(e){return Object(ct.a)({textInfo:{borderBottomStyle:"dashed",borderBottomWidth:2,borderBottomColor:"inherit",cursor:"pointer"},title:{color:e.palette.common.white,marginBottom:e.spacing(.25)},tooltip:{padding:e.spacing(1,1.5),color:e.palette.grey[200]},icon:{padding:0}})})),$n=function(e){var t=e.title,n=e.content,a=e.children,i=e.variant,r=void 0===i?"icon":i,o=e.classes,c=Object(It.a)(e,Jn),s=_n(),l=o||{},d=l.tooltip,u=Object(It.a)(l,qn);return Object(De.jsx)(Yn.a,Object(b.a)(Object(b.a)({arrow:!0,interactive:!0,title:Object(De.jsxs)(De.Fragment,{children:[Boolean(t)&&Object(De.jsx)(gt.a,{className:s.title,children:t}),n]}),classes:Object(b.a)({tooltip:Object(Xe.default)(s.tooltip,d)},u)},c),{},{children:"icon"===r?Object(De.jsx)(yn.a,{"aria-label":"More info",className:s.icon,children:a}):Object(De.jsx)("span",{"aria-label":"More info",className:s.textInfo,children:a})}))},ea=n(81),ta=n.n(ea),na=n(734),aa=Object(m.createContext)({dashboardEnv:"GARM",setDashboardEnv:function(){},timeRange:{from:new Date,to:new Date},setTimeRange:function(){}}),ia=function(e){var t=e.children,n=Object(m.useState)("GARM"),a=Object(j.a)(n,2),i=a[0],r=a[1],o=Object(m.useState)({from:Object(na.a)(new Date,3),to:new Date}),c=Object(j.a)(o,2),s=c[0],l=c[1];return Object(De.jsx)(aa.Provider,{value:{dashboardEnv:i,setDashboardEnv:r,timeRange:s,setTimeRange:l},children:t})},ra=function(){return Object(m.useContext)(aa)},oa=[{title:"GARM Scores",enabled:!0,tooltip:"The Global Alliance for Responsible Media (GARM) is an industry first effort that unites marketers, media agencies, media platforms, and industry associations to safeguard the potential of digital media by reducing the availability and monetization of harmful content online. These 11 components are a part of the Brand Suitability Framework, designed to support identification of sensitive content appropriate for advertising supported by enhanced advertiser controls.",entries:[{title:"Adult & Explicit Sexual Content",jsonKeyRisk:"GARM 1 Risk",jsonKeyData:"GARM 1",dashboardFilterKey:"garm1Risk",tooltip:"This GARM component speaks to the presence and treatment of adult or sexually explicit language.",tooltipLink:{label:"Learn more",href:"/documentation"}},{title:"Obscenity and Profanity",jsonKeyRisk:"GARM 7 Risk",jsonKeyData:"GARM 7",dashboardFilterKey:"garm7Risk",tooltip:"This GARM component speaks to the presence and treatment of obscene and profane language.",tooltipLink:{label:"Learn more",href:"/documentation"}},{title:"Debated Sensitive Social issues",jsonKeyRisk:"GARM 11 Risk",jsonKeyData:"GARM 11 DSSI Topics",jsonKeyDataHighlight:"GARM 11 DSSI Topics Utterances",dashboardFilterKey:"garm11Risk",tooltip:"This GARM component speaks to the presence and treatment of debated sensitive social issues.",tooltipLink:{label:"Learn more",href:"/documentation"}},{title:"Illegal drugs, Tobacco and Alcohol",jsonKeyRisk:"GARM 8 Risk",jsonKeyData:"GARM 8",dashboardFilterKey:"garm8Risk",tooltip:"This GARM component speaks to the presence and treatment of illegal drugs, tobacco and alcohol.",tooltipLink:{label:"Learn more",href:"/documentation"}},{title:"Arms & Ammunition",jsonKeyRisk:"GARM 2 Risk",jsonKeyData:"GARM 2",dashboardFilterKey:"garm2Risk",tooltip:"This GARM component speaks to the presence and treatment of discussions pertaining to arms and ammunition.",tooltipLink:{label:"Learn more",href:"/documentation"}},{title:"Online Piracy or Spam",jsonKeyRisk:"GARM 5 & 9 Risk",jsonKeyData:"GARM 5 & 9",dashboardFilterKey:"garm5Risk",tooltip:"This component measures the presence and treatment of discussions pertaining to both GARM 5: Online Piracy and GARM 9: Spam or Harmful content.",tooltipLink:{label:"Learn more",href:"/documentation"}},{title:"Terrorism",jsonKeyRisk:"GARM 10 Risk",jsonKeyData:"GARM 10",dashboardFilterKey:"garm10Risk",tooltip:"This GARM component speaks to the presence and treatment of Terrorism in podcast content.",tooltipLink:{label:"Learn more",href:"/documentation"}},{title:"Death, Injury or Military Conflict",jsonKeyRisk:"GARM 4 Risk",jsonKeyData:"GARM 4",dashboardFilterKey:"garm4Risk",tooltip:"This GARM component speaks to the presence and treatment of Death, Injury and Military Conflict in podcast data.",tooltipLink:{label:"Learn more",href:"/documentation"}},{title:"Crime & Human Rights Violations",jsonKeyRisk:"GARM 3 Risk",jsonKeyData:"GARM 3",dashboardFilterKey:"garm3Risk",tooltip:"This GARM component speaks to the presence and treatment of Crime, Harmful Acts, and Human Rights Violations in podcast data.",tooltipLink:{label:"Learn more",href:"/documentation"}},{title:"Hate Speech (BETA)",jsonKeyRisk:"GARM 6 Risk",jsonKeyData:"GARM 6",dashboardFilterKey:"garm6Risk",tooltip:"This GARM component speaks to the presence and treatment of hate speech.",tooltipLink:{label:"Learn more",href:"/documentation"}}]}],ca=[{title:"MRT Values",enabled:!0,tooltip:"The Media Roundtable (MRT) consists of media, brands, and marketers coming together to change the way we express our differences in news media and opinion journalism.The media roundtable consists of media, brands, and marketers coming together to change the way we express our differences in news media and opinion journalism. They support advertisers, marketers, and media in their efforts to give preference in exposure and ad dollars toward content that exhibits the following values",entries:[{title:"Tolerance",jsonKeyRisk:"Tolerance",jsonKeyData:null,filterType:"tolerance",dashboardFilterKey:"toleranceRisk",tooltip:"This MRT component speaks to the tolerance present in discussions of debated sensitive social issues.",tooltipLink:{label:"Learn more",href:"/documentation"}}]},{title:"Coming Soon",enabled:!1,entries:[{title:"Clarity",jsonKeyRisk:""},{title:"Respect",jsonKeyRisk:""},{title:"Fairness",jsonKeyRisk:""},{title:"De-escalation",jsonKeyRisk:""}]}],sa=function(){var e=ra().dashboardEnv,t=Object(m.useState)(oa),n=Object(j.a)(t,2),a=n[0],i=n[1],r=Object(m.useState)({}),o=Object(j.a)(r,2),c=o[0],s=o[1],l=Object(m.useState)({}),d=Object(j.a)(l,2),u=d[0],h=d[1],b=Object(m.useState)({}),p=Object(j.a)(b,2),g=p[0],f=p[1];return Object(m.useEffect)((function(){var t;switch(e){case"GARM":default:t=oa;break;case"MRT":t=ca}i(t);var n={},a={},r={};n.audience={enabled:!1,value:[0,5],title:"",jsonKeyRisk:"audience",filterType:"audience",dashboardFilterKey:"audience"},t.forEach((function(e){e.entries.forEach((function(t){t.jsonKeyRisk&&(a[t.title]=t.jsonKeyRisk,n[t.jsonKeyRisk]={enabled:e.enabled,value:[0,3],title:t.title,jsonKeyRisk:t.jsonKeyRisk,filterType:t.filterType,dashboardFilterKey:t.dashboardFilterKey},r[t.title]=t.dashboardFilterKey)}))})),s(n),h(a),f(r)}),[e]),{dashboardCategories:a,filterMapInit:c,riskKeyByTitleMap:u,riskComponents:g}},la=C("/exception-filter"),da=function(){var e=Object(g.a)(Object(p.a)().mark((function e(){var t,n;return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,la.get("all");case 2:return t=e.sent,n=t.data,e.abrupt("return",n);case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),ua=function(){var e=Object(g.a)(Object(p.a)().mark((function e(t){var n,a;return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,la.post("",t);case 2:return n=e.sent,a=n.data,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),ha=function(){var e=Object(g.a)(Object(p.a)().mark((function e(t,n){var a,i;return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,la.put(t,n);case 2:return a=e.sent,i=a.data,e.abrupt("return",i);case 5:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),ba=function(){var e=Object(g.a)(Object(p.a)().mark((function e(t){return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,la.delete(t);case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),pa=function(e){if(!e||"string"!==typeof e)return"nodssi";var t=e.toLowerCase().replace(/\s+/g,"");return"no"===t?"norisk":t},ga={nodssi:-1,norisk:0,low:1,medium:2,high:3},ja={0:"No Risk",1:"Low",2:"Medium",3:"High"},ma=Object(m.createContext)(void 0);function fa(e){var t=sa().filterMapInit,n=Object(m.useState)(null),a=Object(j.a)(n,2),i=a[0],r=a[1],o=Object(m.useState)(""),c=Object(j.a)(o,2),s=c[0],l=c[1],d=Object(m.useState)("all"),u=Object(j.a)(d,2),h=u[0],f=u[1],x=Object(m.useState)(Object(ea.cloneDeep)(t)),O=Object(j.a)(x,2),v=O[0],C=O[1],A=Object(m.useState)([]),y=Object(j.a)(A,2),w=y[0],I=y[1],k=Object(m.useState)([]),S=Object(j.a)(k,2),E=S[0],R=S[1],N=Object(m.useState)([]),D=Object(j.a)(N,2),M=D[0],T=D[1],B=Object(m.useState)([]),L=Object(j.a)(B,2),F=L[0],P=L[1],z=Object(m.useState)([]),G=Object(j.a)(z,2),W=G[0],H=G[1],U=Object(m.useState)([]),V=Object(j.a)(U,2),K=V[0],Z=V[1],Q=Object(m.useState)([]),X=Object(j.a)(Q,2),Y=X[0],J=X[1],q=Object(m.useState)([]),_=Object(j.a)(q,2),$=_[0],ee=_[1],te=Object(m.useState)([]),ne=Object(j.a)(te,2),ae=ne[0],ie=ne[1],re=Object(m.useState)(null),oe=Object(j.a)(re,2),ce=oe[0],se=oe[1],le=Object(m.useState)(null),de=Object(j.a)(le,2),ue=de[0],he=de[1],be=Object(m.useState)([]),pe=Object(j.a)(be,2),ge=pe[0],je=pe[1],me=Object(m.useState)(null),fe=Object(j.a)(me,2),Ce=fe[0],Ae=fe[1],ye=Object(m.useState)([]),we=Object(j.a)(ye,2),Ie=we[0],ke=we[1],Ee=Be().user,Re=Object(m.useRef)(!0),Ne=Object(m.useCallback)(Object(g.a)(Object(p.a)().mark((function e(){var t;return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Se();case 3:t=e.sent,ke(t),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),ke([]);case 10:case"end":return e.stop()}}),e,null,[[0,7]])}))),[]),Me=function(){var e=Object(g.a)(Object(p.a)().mark((function e(){var t;return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,da();case 3:t=e.sent,ie(t),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),ie([]);case 10:case"end":return e.stop()}}),e,null,[[0,7]])})));return function(){return e.apply(this,arguments)}}(),Te=Object(m.useCallback)(Object(g.a)(Object(p.a)().mark((function e(){var t,n,a,i;return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,xe();case 3:t=e.sent,I(t.filter((function(e){return!!e&&!!e.publisher}))),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),I([]);case 10:return e.prev=10,e.next=13,Oe();case 13:n=e.sent,T(n),e.next=20;break;case 17:e.prev=17,e.t1=e.catch(10),T([]);case 20:return e.prev=20,e.next=23,ve();case 23:a=e.sent,J(a.genres.filter((function(e){return!!e})).sort()),H(Object(bt.a)(a.names)),e.next=32;break;case 28:e.prev=28,e.t2=e.catch(20),J([]),H([]);case 32:return e.prev=32,e.next=35,da();case 35:i=e.sent,ie(i),e.next=42;break;case 39:e.prev=39,e.t3=e.catch(32),ie([]);case 42:case"end":return e.stop()}}),e,null,[[0,7],[10,17],[20,28],[32,39]])}))),[]);Object(m.useEffect)((function(){C(Object(ea.cloneDeep)(t)),Re.current&&(Te(),Re.current=!1)}),[t,Te]),Object(m.useEffect)((function(){null!==Ee&&void 0!==Ee&&Ee.organizationId&&(Ne(),je([]))}),[Ee,Ne]),Object(m.useEffect)((function(){}),[i]),Object(m.useEffect)((function(){se(ue?ae.filter((function(e){return e.id===ue}))[0]:null)}),[ae,ue]);var Le=Object(m.useMemo)((function(){var e=[];return Object.keys(v).forEach((function(t){v[t].enabled&&v[t].title&&e.push(v[t].title)})),e}),[v]),Fe=Object(m.useMemo)((function(){if(ge.length){var e=[];return ge.forEach((function(t){"score"===t.type?e=[].concat(Object(bt.a)(e),Object(bt.a)(t.data.filter((function(e){return!e.hide})).map((function(e){return e.title})))):t.hide||e.push(t.title)})),e}return[].concat(Object(bt.a)(Le),["Top IAB Categories","Genres","No. of stars"])}),[Le,ge]),Pe=Object(m.useMemo)((function(){var e=[];return Object.keys(v).forEach((function(t){(v[t].enabled||"audience"===v[t].filterType)&&e.push(v[t])})),e}),[v]),ze=Object(m.useCallback)((function(e){l(e)}),[]),Ge=function(){r(null),l(""),f("all"),C(Object(ea.cloneDeep)(t)),R([]),ee([]),P([]),Z([])},We=Object(m.useCallback)((function(e){if(e){var n,a,i,o;r(e.id),l(e.name),Z(e.keywordsList||[]);var c=Object(ea.cloneDeep)(t);Object.values(e.garmFilters||{}).forEach((function(e){var n=Object.entries(t).find((function(t){var n=Object(j.a)(t,2);n[0];return n[1].dashboardFilterKey===(null===e||void 0===e?void 0:e.dashboardFilterKey)}));n&&(c[n[0]]=Object(b.a)(Object(b.a)(Object(b.a)({},c[n[0]]),e),{},{enabled:!0}))})),C(c),R((null===(n=e.garmFilters)||void 0===n?void 0:n.publishersList)||[]),P((null===(a=e.garmFilters)||void 0===a?void 0:a.iabCategories)||[]),ee((null===(i=e.garmFilters)||void 0===i?void 0:i.genresList)||[]),Ae((null===(o=e.garmFilters)||void 0===o?void 0:o.selectedViewId)||null),je([]),he(e.exceptionFilterId)}else Ge()}),[t,ge]),He={riskFilters:v,dashboardId:i,dashboardName:s,garmSourceFilters:K,riskChangeFilter:h,selectedPublishers:E,publishers:w,iabCategories:M,selectedIABCategories:F,garmSources:W,genres:Y,selectedGenres:$,enabledFilters:Pe,garmDashboardColumns:Fe,garmScoreColumns:Le,selectIABCategories:P,selectPuplisher:R,selectGenres:ee,setRiskChangeFilter:f,selectDashboard:We,initDashboard:Ge,changeDashboardName:ze,setFilterValue:function(e,t){var n=Object(b.a)({},v);n[e]&&(n[e].value=t,C(n))},toggleRiskFilter:function(e){var t=Object(b.a)({},v);t[e]&&(t[e].enabled=!t[e].enabled,C(t))},riskFilterEnabled:function(e){var t;return(null===(t=v[e])||void 0===t?void 0:t.enabled)||!1},getFilterValue:function(e){var t;return null===(t=v[e])||void 0===t?void 0:t.value},getFilterTitle:function(e){var t;return null===(t=v[e])||void 0===t?void 0:t.title},setGarmSourceFilters:Z,selectedView:ge,setSelectedView:je,dashboardViews:Ie,fetchOrganizationViews:Ne,selectedViewId:Ce,setSelectedViewId:Ae,customFilters:ae,selectedCustomFilter:ce,setSelectedCustomFilter:se,setSelectedCustomFilterId:he,refreshCustomFilters:Me};return Object(De.jsx)(ma.Provider,Object(b.a)({value:He},e))}function xa(){return Object(m.useContext)(ma)}var Oa,va,Ca,Aa,ya=n(125);!function(e){e.GARM="GARM Score",e.Host="Host",e.Podcasts="Podcasts"}(Oa||(Oa={})),function(e){e.Genre="Genre",e.GarmReasoning="GARM Reasoning"}(va||(va={})),function(e){e.No="No",e.Low="Low",e.Medium="Medium",e.High="High"}(Ca||(Ca={})),function(e){e.Include="Include",e.Exclude="Exclude"}(Aa||(Aa={}));var wa={"Adult & Explicit Sexual Content":"GARM 1 Risk Avg","Arms & Ammunition":"GARM 2 Risk Avg","Crime & Human Rights Violations":"GARM 3 Risk Avg","Death, Injury or Military Conflict":"GARM 4 Risk Avg","Online Piracy or Spam":"GARM 5&9 Risk Avg","Hate Speech (BETA)":"GARM 6 Risk Avg","Obscenity and Profanity":"GARM 7 Risk Avg","Illegal drugs, Tobacco and Alcohol":"GARM 8 Risk Avg",Terrorism:"GARM 10 Risk Avg","Debated Sensitive Social issues":"GARM 11 Risk Avg",Genres:"Genres","No. of stars":"No. of stars","Top IAB Categories":"Top IAB Categories"},Ia=["id","Show","Host","HostData","RSS Feed","ImageURL","collectionId","Publisher"],ka=["Episode Title","Tolerance","Guid","GARM 1","GARM 1 Risk","GARM 2","GARM 2 Risk","GARM 3","GARM 3 Risk","GARM 4","GARM 4 Risk","GARM 5 & 9","GARM 5 & 9 Risk","GARM 7","GARM 7 Risk","GARM 8","GARM 8 Risk","GARM 10","GARM 10 Risk","GARM 11","GARM 11 Risk","GARM 11 DSSI Topics","GARM 11 DSSI Topics Utterances","GARM 11 Sentiments","FIELD7","FIELD11","Audio File (AUTO)","id","Podscribe Ep ID","Genres","Episode Link","createdAt","itunes stars","Episode Date","Show","Tone - neutral score","Episode Number","Show Code","IAB Data","Transcript Link (AUTO)","Transcription 1","Transcription 2","Transcription 3","Transcription 4"],Sa=function(e){var t=e.searchText,a=e.dashboardEnv,i=e.totalShowsCount,r=e.order,o=e.orderBy,c=e.setCancelDownload,s=Object(m.useRef)(!1),l=Object(m.useState)(!1),d=Object(j.a)(l,2),u=d[0],h=d[1],f=Object(m.useState)(!1),x=Object(j.a)(f,2),O=x[0],v=x[1],C=Object(m.useState)(!1),A=Object(j.a)(C,2),y=A[0],w=A[1],I=Object(m.useState)({}),k=Object(j.a)(I,2),S=k[0],E=k[1],R=Object(m.useState)(0),N=Object(j.a)(R,2),D=N[0],M=N[1],T=xa(),B=T.dashboardName,L=T.garmSourceFilters,F=T.selectedPublishers,P=T.selectedIABCategories,z=T.riskChangeFilter,G=T.enabledFilters,W=T.selectedCustomFilter,H=T.selectedGenres,U=T.garmDashboardColumns,V=sa().riskComponents;Object(m.useEffect)((function(){n.e(0).then(n.t.bind(null,771,3)).then((function(e){E(e)}))}),[]);var K=function(){var e=Object(g.a)(Object(p.a)().mark((function e(t){var n,a,i,r=arguments;return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=r.length>1&&void 0!==r[1]&&r[1],a=[],n){e.next=6;break}return e.next=5,Promise.all(t.map((function(e){return me(e.show)})));case 5:a=e.sent.flat();case 6:return a=a.map((function(e){var t=e["IAB New Data"]?Object.keys(e["IAB New Data"]):e["IAB Data"]?Object.keys(e["IAB Data"][0][0]):[];return Object(b.a)(Object(b.a)({},e),{},{"IAB Data":t,"IAB New Data":void 0})})),i=t.map((function(e){var t,n,a,i,r,o,c,s,l,d,u,h=(e.hostList?e.hostList.split(",").map((function(e){return e.trim()})):[]).map((function(e){var t=S["agg_".concat(e)],n={article:0,score:0,articlesDetail:[]},a={article:0,score:0,articlesDetail:[]};return t&&(Object.keys(t.num_of_article).forEach((function(e){n.article=t.num_of_article[e],n.score=t.total_score[e],n.articlesDetail=t.articles[e],a.article=a.article+t.num_of_article[e],a.score=a.score+t.total_score[e],a.articlesDetail=[].concat(Object(bt.a)(a.articlesDetail),Object(bt.a)(t.articles[e]))})),a.score=a.score/Object.keys(t.num_of_article).length),{lastWeek:n,last4Weeks:a}}));return{id:e.id,Show:e.show,Host:e.hostList||"",HostData:h,Genres:U.includes("Genres")?e.genreList:void 0,"No. of stars":U.includes("No. of stars")?e.listenerCount:void 0,"RSS Feed":e.rssFeedUrl,ImageURL:e.logoUrl,"Top IAB Categories":U.includes("Top IAB Categories")?null===(t=e.iabCategories)||void 0===t?void 0:t.map((function(e){return e.name})):void 0,"GARM 1 Risk Avg":U.includes("Adult & Explicit Sexual Content")?null===(n=e.garm1Risk)||void 0===n?void 0:n.medianRisk:void 0,"GARM 2 Risk Avg":U.includes("Arms & Ammunition")?null===(a=e.garm2Risk)||void 0===a?void 0:a.medianRisk:void 0,"GARM 3 Risk Avg":U.includes("Crime & Human Rights Violations")?null===(i=e.garm3Risk)||void 0===i?void 0:i.medianRisk:void 0,"GARM 4 Risk Avg":U.includes("Death, Injury or Military Conflict")?null===(r=e.garm4Risk)||void 0===r?void 0:r.medianRisk:void 0,"GARM 5&9 Risk Avg":U.includes("Online Piracy or Spam")?null===(o=e.garm5Risk)||void 0===o?void 0:o.medianRisk:void 0,"GARM 6 Risk Avg":U.includes("Hate Speech (BETA)")?null===(c=e.garm6Risk)||void 0===c?void 0:c.medianRisk:void 0,"GARM 7 Risk Avg":U.includes("Obscenity and Profanity")?null===(s=e.garm7Risk)||void 0===s?void 0:s.medianRisk:void 0,"GARM 8 Risk Avg":U.includes("Illegal drugs, Tobacco and Alcohol")?null===(l=e.garm8Risk)||void 0===l?void 0:l.medianRisk:void 0,"GARM 10 Risk Avg":U.includes("Terrorism")?null===(d=e.garm10Risk)||void 0===d?void 0:d.medianRisk:void 0,"GARM 11 Risk Avg":U.includes("Debated Sensitive Social issues")?null===(u=e.garm11Risk)||void 0===u?void 0:u.medianRisk:void 0,collectionId:e.collectionId,publisher:e.publisher}})),e.abrupt("return",{shows:i,episodes:a});case 9:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Z=function(){var e=Object(g.a)(Object(p.a)().mark((function e(n){var i,c,s,l,d,u,h,g,j,m=arguments;return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=m.length>1&&void 0!==m[1]&&m[1],e.prev=1,c={garmExceptions:{},page:n,pageSize:i?1e6:100},o&&r&&(c.sortBy=V[o]||o.toLowerCase(),c.sortOrder="asc"===r?"ASC":"DESC"),t&&("Host"===a?c.hostSearch=t:t.startsWith("#")?c.genreSearch=t.slice(1):c.search=t),L.length&&(c.sources=L),H.length&&(c.genres=H),F.length&&(c.publishers=F),P.length&&(c.iabCategories=P.map((function(e){return e.name}))),z&&(c.riskLevelDelta=z),s={},G&&G.length&&G.forEach((function(e){var t=e.value;if(t&&e.jsonKeyRisk)if("audience"===e.jsonKeyRisk){var n=jn(t);n&&(c.listenerCountRange=n)}else{var a=fn(t);if(a&&(s[e.dashboardFilterKey]={default:a}),W){var i=W.data.scoreFilters[e.title];if(i&&(s[e.dashboardFilterKey]={default:fn(i.score)},i.content.length)){var r={};i.content.forEach((function(e){r[e.type===va.Genre?"genre":"garmReasoning"]=e.exceptions})),s[e.dashboardFilterKey]=Object(b.a)(Object(b.a)({},s[e.dashboardFilterKey]),r)}}}})),c.garmExceptions=s,e.next=15,pe(c);case 15:return l=e.sent,d=l.data,u=d.map((function(e){var t=Object(b.a)(Object(b.a)({},e),{},{iabCategories:e.iabCategories&&Object.keys(e.iabCategories).map((function(t){return{count:e.iabCategories[t],name:t}})).sort((function(e,t){return t.count-e.count})).slice(0,3),show:Object(ya.decode)(e.show),showOnDB:e.show,listenerCount:mn(e.listenerCount)});return e.riskHistories&&e.riskHistories.current&&Object.keys(e.riskHistories.current).forEach((function(n){var a=e.riskHistories.current[n].medianRiskValue,i=e.riskHistories.prev&&e.riskHistories.prev[n]?e.riskHistories.prev[n].medianRiskValue:void 0,r=a&&i&&a!==i;t[n]=Object(b.a)(Object(b.a)({},e.riskHistories.current[n]),{},{score:a,oldScore:i,updatedShow:r})})),t})),e.next=20,K(u,i);case 20:return h=e.sent,g=h.shows,j=h.episodes,e.abrupt("return",{shows:g,episodes:j});case 26:return e.prev=26,e.t0=e.catch(1),e.abrupt("return",{shows:[],episodes:[]});case 29:case"end":return e.stop()}}),e,null,[[1,26]])})));return function(t){return e.apply(this,arguments)}}(),Q=function(e){return e.map((function(e){return[e["Episode Title"],e.Tolerance,e.Guid,JSON.stringify(e["GARM 1"]),e["GARM 1 Risk"],JSON.stringify(e["GARM 2"]),e["GARM 2 Risk"],JSON.stringify(e["GARM 3"]),e["GARM 3 Risk"],JSON.stringify(e["GARM 4"]),e["GARM 4 Risk"],JSON.stringify(e["GARM 5 & 9"]),e["GARM 5 & 9 Risk"],JSON.stringify(e["GARM 7"]),e["GARM 7 Risk"],JSON.stringify(e["GARM 8"]),e["GARM 8 Risk"],JSON.stringify(e["GARM 10"]),e["GARM 10 Risk"],JSON.stringify(e["GARM 11"]),e["GARM 11 Risk"],JSON.stringify(e["GARM 11 DSSI Topics"]),JSON.stringify(e["GARM 11 DSSI Topics Utterances"]),JSON.stringify(e["GARM 11 Sentiments"]),e.FIELD7,e.FIELD11,e["Audio File (AUTO)"],e.id,e["Podscribe Ep ID"],e.Genres,e["Episode Link"],e.createdAt,mn(e.Listeners||""),e["Episode Date"],e.Show,e["Tone - neutral score"],e["Episode Number"],e["Show Code"],e["IAB Data"],e["Transcript Link (AUTO)"],e.Transcription.slice(0,24999),e.Transcription.slice(25e3,49999),e.Transcription.slice(5e4,74999),e.Transcription.slice(75e3,99999)].map((function(e){if(!e)return e;var t=String(e).replace(/"/g,'""');return t.search(/("|,|\n)/g)>=0&&(t='"'+t+'"'),t})).join(",")})).join("\n")},X=function(e){return e.map((function(e){return[e.id,e.Show,e.Host,JSON.stringify(e.HostData),e["RSS Feed"],e.ImageURL,e.collectionId,e.publisher].concat(Object(bt.a)(U.map((function(t){return e[wa[t]]})))).map((function(e){if(!e)return e;var t=String(e).replace(/"/g,'""');return t.search(/("|,|\n)/g)>=0&&(t='"'+t+'"'),t})).join(",")})).join("\n")},Y=function(){var e=Object(g.a)(Object(p.a)().mark((function e(){var t,n,a,r,o;return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:v(!0),M(1),t=Math.ceil(i/100),n=0;case 4:if(!(n5?5:Number(t)<0?0:Number(t))});return e.riskHistories&&e.riskHistories.current&&Object.keys(e.riskHistories.current).forEach((function(t){var a=e.riskHistories.current[t].medianRiskValue,i=e.riskHistories.prev&&e.riskHistories.prev[t]?e.riskHistories.prev[t].medianRiskValue:void 0,r=a&&i&&a!==i;n[t]=Object(b.a)(Object(b.a)({},e.riskHistories.current[t]),{},{score:a,oldScore:i,updatedShow:r})})),n})),F(r),e.next=16;break;case 13:e.prev=13,e.t0=e.catch(0),F([]);case 16:return e.prev=16,E(!1),e.finish(16);case 19:case"end":return e.stop()}}),e,null,[[0,13,16,19]])})));return function(t){return e.apply(this,arguments)}}(),[]),ae=function(){var e=Object(g.a)(Object(p.a)().mark((function e(){var t,n,a,i;return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!te||!Q){e.next=22;break}return t={},A&&("Host"===w?t.hostSearch=A:A.startsWith("#")?t.genreSearch=A.slice(1):t.search=A),X.length&&(t.sources=X),J.length&&(t.genres=J),Y.length&&(t.publishers=Y),q.length&&(t.iabCategories=q.map((function(e){return e.name}))),_&&(t.riskLevelDelta=_),n={},$&&$.length&&$.forEach((function(e){var a=e.value;if(a&&e.jsonKeyRisk)if("audience"===e.jsonKeyRisk){var i=jn(a);i&&(t.listenerCountRange=i)}else{var r=fn(a);if(r&&(n[e.dashboardFilterKey]={default:r}),ee){var o=ee.data.scoreFilters[e.title];if(o&&(n[e.dashboardFilterKey]={default:fn(o.score)},o.content.length)){var c={};o.content.forEach((function(e){c[e.type===va.Genre?"genre":"garmReasoning"]=e.exceptions})),n[e.dashboardFilterKey]=Object(b.a)(Object(b.a)({},n[e.dashboardFilterKey]),c)}}}})),t.garmExceptions=n,e.prev=11,e.next=14,ge(t);case 14:return a=e.sent,i=a.showNames,e.abrupt("return",i||[]);case 19:return e.prev=19,e.t0=e.catch(11),e.abrupt("return",[]);case 22:return e.abrupt("return",[]);case 23:case"end":return e.stop()}}),e,null,[[11,19]])})));return function(){return e.apply(this,arguments)}}(),ie=Object(m.useRef)(Object(ea.debounce)(function(){var e=Object(g.a)(Object(p.a)().mark((function e(t){return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:ne(t);case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),900)).current,re=Object(m.useCallback)(function(){var e=Object(g.a)(Object(p.a)().mark((function e(t,n){var a,i;return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,E(!0),e.next=4,fe(t,n);case 4:a=e.sent,i=a.data.map((function(e){return Object(b.a)(Object(b.a)({},e),{},{Listeners:mn(e.Listeners)})})),K(Object(b.a)(Object(b.a)({},a),{},{data:i})),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(0),K(null);case 12:return e.prev=12,E(!1),e.finish(12);case 15:case"end":return e.stop()}}),e,null,[[0,9,12,15]])})));return function(t,n){return e.apply(this,arguments)}}(),[]),oe=Object(m.useCallback)(function(){var e=Object(g.a)(Object(p.a)().mark((function e(t,n){return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(M(t),!t){e.next=4;break}return e.next=4,re(t,n);case 4:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),[re]);Object(m.useEffect)((function(){if(te&&Q){var e={page:n,pageSize:o};x&&d&&(e.sortBy="Name"===x||"rating"===x?x.toLowerCase():$.filter((function(e){return e.title===x}))[0].dashboardFilterKey,e.sortOrder="asc"===d?"ASC":"DESC"),A&&("Host"===w?e.hostSearch=A:A.startsWith("#")?e.genreSearch=A.slice(1):e.search=A),X.length&&(e.sources=X),J.length&&(e.genres=J),Y.length&&(e.publishers=Y),q.length&&(e.iabCategories=q.map((function(e){return e.name}))),_&&(e.riskLevelDelta=_);var t={};if($&&$.length&&$.forEach((function(n){var a=n.value;if(a&&n.jsonKeyRisk)if("audience"===n.jsonKeyRisk){var i=jn(a);i&&(e.listenerCountRange=i)}else{var r=fn(a);if(r&&(t[n.dashboardFilterKey]={default:r}),ee){var o=ee.data.scoreFilters[n.title];if(o&&(t[n.dashboardFilterKey]={default:fn(o.score)},o.content.length)){var c={};o.content.forEach((function(e){c[e.type===va.Genre?"genre":"garmReasoning"]=e.exceptions})),t[n.dashboardFilterKey]=Object(b.a)(Object(b.a)({},t[n.dashboardFilterKey]),c)}}}})),e.garmExceptions=t,null!==ee&&void 0!==ee&&ee.data.podcastFilters){var a=null===ee||void 0===ee?void 0:ee.data.podcastFilters.find((function(e){return e.type===Aa.Include})).exceptions,i=null===ee||void 0===ee?void 0:ee.data.podcastFilters.find((function(e){return e.type===Aa.Exclude})).exceptions;e.podcastExceptions={include:a,exclude:i}}ie(e)}return function(){ie.cancel()}}),[ie,te,Q,A,w,n,o,d,x,X,Y,q,_,$,J,ee]);return{currentShow:D,totalShowsCount:G,showEpisodes:V,order:d,orderBy:x,page:n,pageGarmShows:L,rowsPerPage:o,searchText:A,loading:S,fetchFilteredGarmShowNames:ae,onChangeShow:oe,onChangePage:function(e,t){a(t)},onChangeRowsPerPage:function(e){c(parseInt(e.target.value,10)),a(0)},onRequestSort:function(e,t){u(x===e&&"asc"===d?"desc":"asc"),O(e)},onChangeSearchText:function(e){y(e.target.value)}}},Ra=n(735),Na=n(11),Da=n(187),Ma=Object(pt.a)("hr")((function(e){return{height:1,opacity:.3,marginBottom:e.theme.spacing(2),display:"flex",flex:1}})),Ta=Object(pt.a)(Je.a)((function(){return{backgroundColor:"#459B99",borderRadius:"50%",display:"inline-flex",height:8,width:8,"&.Negative":{backgroundColor:"#FF6D40"}}})),Ba=Object(pt.a)(Je.a)((function(e){var t=e.theme;return{backgroundColor:"transparent",borderBottom:"1px solid rgba(0, 0, 0, 0.42)",borderRadius:0,boxShadow:"none",height:42,marginTop:t.spacing(2.5),marginBottom:t.spacing(2),paddingBottom:t.spacing(.5),paddingTop:t.spacing(.5),"& .MuiInput-underline":{"&::before, &::after":{content:"none"}},"& .MuiSelect-icon":{top:"calc(50% - 21px)"},"& .MuiSelect-select.MuiSelect-select":{fontSize:14,fontWeight:500,marginTop:t.spacing(-.9)},"& .MuiSvgIcon-root.MuiSelect-icon":{color:"#1F1F1F"},"& .MuiFormLabel-root":{top:t.spacing(-.9),"& .MuiInputLabel-shrink":{top:t.spacing(-1.2)}}}})),La=Object(pt.a)(Da.a)((function(e){var t=e.theme;return{border:"1px solid rgba(0, 0, 0, 0.12)",boxShadow:"none",marginBottom:t.spacing(2.5),marginTop:t.spacing(.5),height:"auto",padding:5,width:"100%","& .TagCloudInput--input":{},"& .TagCloudInput--ChipsContainer":{"&::before, &::after":{content:"none"},"& .MuiChip-root":{height:26,fontSize:13,fontWeight:"normal",backgroundColor:t.palette.primary.main,color:t.palette.common.white,"& .MuiChip-deleteIcon":{color:"rgba(255, 255, 255, 0.4)"},maxWidth:"100%"}}}})),Fa=Object(pt.a)(_e.a)((function(e){return{marginTop:e.theme.spacing(2.25),"& span":{fontWeight:500}}})),Pa=(Object(pt.a)(_e.a)((function(e){var t=e.theme;return{marginBottom:t.spacing(1.2),marginTop:t.spacing(2.25),"& span":{fontWeight:"normal",opacity:.5}}})),Object(pt.a)(gt.a)((function(e){return{marginRight:e.theme.spacing(2.5),"&:nth-child(2)":{marginRight:0}}}))),za=Object(pt.a)(_e.a)((function(e){return{marginBottom:e.theme.spacing(2.5),"&:last-child":{marginBottom:0}}})),Ga=Object(Na.a)((function(e){return{root:{width:28,height:16,padding:0,display:"inline-flex"},switchBase:{padding:2,color:e.palette.common.white,"&$checked":{transform:"translateX(12px)",color:e.palette.common.white,"& + $track":{opacity:1,backgroundColor:e.palette.primary.main,borderColor:e.palette.primary.main}}},thumb:{width:12,height:12,boxShadow:"none"},track:{border:"1px solid ".concat(e.palette.grey[500]),borderRadius:8,opacity:1,backgroundColor:"rgba(0, 0, 0, 0.54)"},checked:{}}}))(Ra.a),Wa=function(e){var t=e.negativeLabel,n=void 0===t?"Biased":t,a=e.positiveLabel,i=void 0===a?"Unbiased":a;return Object(De.jsxs)(De.Fragment,{children:[Object(De.jsxs)(za,{item:!0,container:!0,children:[Object(De.jsxs)(Pa,{variant:"caption",children:[Object(De.jsx)(Ta,{})," ",i]}),Object(De.jsxs)(Pa,{variant:"caption",children:[Object(De.jsx)(Ta,{className:"Negative"})," ",n]})]}),Object(De.jsxs)(za,{item:!0,container:!0,justifyContent:"space-between",alignItems:"center",children:[Object(De.jsx)(gt.a,{variant:"caption",children:"Only show racially biased"}),Object(De.jsx)(Ga,{})]})]})},Ha=function(e){var t=e.children;return Object(De.jsx)(Fa,{item:!0,xs:12,children:Object(De.jsx)(gt.a,{variant:"caption",children:t})})},Ua=n(283),Va=n(288),Ka=n(688),Za=function(e){var t=e.label,n=e.onChange,a=e.options,i=e.value,r=void 0===i?"":i;return Object(De.jsx)(_e.a,{item:!0,xs:12,children:Object(De.jsx)(Ba,{children:Object(De.jsxs)(Ua.a,{fullWidth:!0,children:[t&&Object(De.jsx)(Va.a,{children:t}),Object(De.jsx)(Ka.a,{onChange:n,value:r,fullWidth:!0,children:null===a||void 0===a?void 0:a.map((function(e,t){return Object(De.jsx)(In.a,{value:(null===e||void 0===e?void 0:e.value)||e.label,children:e.label},"".concat(e.label,"-").concat(t))}))})]})})})},Qa=n(767),Xa={3:[{value:1},{value:2},{value:3}],4:[{value:0},{value:1},{value:2},{value:3}],5:[{value:1},{value:2},{value:3},{value:4},{value:5}],6:[{value:0},{value:1},{value:2},{value:3},{value:4},{value:5}]},Ya=Object(pt.a)(Qa.a)((function(e){var t=e.theme;return{padding:"".concat(t.spacing(2.5),"px 0"),width:212,"& .MuiSlider-track, & .MuiSlider-rail":{height:3},"& .MuiSlider-thumb":{height:10,marginTop:-4,width:10},"& .MuiSlider-markLabel":{fontSize:10,fontWeight:500,marginTop:t.spacing(.7),'&[data-index="0"]':{left:"5% !important"},'&[data-index="4"]':{left:"93% !important"}}}})),Ja=Object(pt.a)(Qa.a)((function(e){var t=e.theme;return{padding:"".concat(t.spacing(2.5),"px 0"),width:236,"& .MuiSlider-track, & .MuiSlider-rail":{height:3},"& .MuiSlider-thumb":{height:10,marginTop:-4,width:10}}})),qa=Object(pt.a)(_e.a)((function(){return{height:"100%"}})),_a=(Object(pt.a)(La)((function(e){return{marginTop:e.theme.spacing(1)}})),function(e){var t=e.axisLabels,n=e.onChange,a=e.type,i=void 0===a?4:a,r=e.value,o=e.min,c=void 0===o?0:o,s=e.step,l=void 0===s?1:s,d=t?Xa[i].map((function(e){return Object(b.a)({value:null===e||void 0===e?void 0:e.value},t&&t[null===e||void 0===e?void 0:e.value]&&{label:t[null===e||void 0===e?void 0:e.value]})})):Xa[i];return Object(De.jsx)(qa,{container:!0,direction:"column",alignItems:"center",justifyContent:"center",children:i>4?Object(De.jsx)(Ja,{marks:d,onChange:n,valueLabelDisplay:"off",step:l,max:i-1,min:c,value:r}):Object(De.jsx)(Ya,{marks:d,onChange:n,valueLabelDisplay:"off",step:l,max:i-1,min:c,value:r})})}),$a=function(e){var t=e.axisLabels,n=e.onChange,a=void 0===n?function(){}:n,i=e.title,r=e.type,o=void 0===r?4:r,c=e.value,s=void 0===c?[0,3]:c,l=e.min,d=void 0===l?0:l,u=e.step,h=void 0===u?1:u;return Object(De.jsxs)(_e.a,{item:!0,xs:12,children:[i&&Object(De.jsx)(Ha,{children:i}),Object(De.jsx)(_a,{axisLabels:t||{0:"No Risk",1:"Low",2:"Medium",3:"High"},icon:!0,onChange:a,type:o,value:s,step:h,min:d})]})},ei=n(377),ti=n.n(ei),ni=n(378),ai=n.n(ni),ii=n(379),ri=n.n(ii),oi=n(380),ci=n.n(oi),si=n(381),li=n.n(si),di=Object(ot.a)((function(){return Object(ct.a)({container:{width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center","& > div":{margin:0}}})}));function ui(e){var t=e.color,n=void 0===t?"#3E91DE":t,a=e.className,i=e.type,r=void 0===i?"spinningBubbles":i,o=e.size,c=void 0===o?64:o,s=di();return Object(De.jsx)("div",{className:Object(Xe.default)(a,s.container),children:Object(De.jsx)(li.a,{className:"",width:c,height:c,type:r,color:n})})}var hi=["onChange","chips","ref","dataSource"];function bi(e){return e}function pi(e,t){var n=t.query,a=t.isHighlighted,i=ai()(e,n),r=ri()(e,i);return Object(De.jsx)(In.a,{selected:a,component:"div",onMouseDown:function(e){return e.preventDefault()},children:Object(De.jsx)("div",{children:r.map((function(e,t){return e.highlight?Object(De.jsx)("span",{style:{fontWeight:500},children:e.text},String(t)):Object(De.jsx)("span",{children:e.text},String(t))}))})})}function gi(e){var t=e.containerProps,n=e.children;return Object(De.jsx)(Da.a,Object(b.a)(Object(b.a)({},t),{},{square:!0,children:n}))}function ji(e){var t=e.onChange,n=e.chips,a=e.ref,i=e.dataSource,r=Object(It.a)(e,hi);return Object(De.jsx)(ci.a,Object(b.a)(Object(b.a)({},r),{},{className:"TagCloudInput",classes:{chipContainer:"TagCloudInput--ChipsContainer",input:"TagCloudInput--input"},fullWidth:!0,allowDuplicates:!1,dataSource:i,clearInputValueOnChange:!0,onUpdateInput:t,value:n,inputRef:a}))}var mi=Object(Na.a)((function(e){return{container:{flexGrow:1,position:"relative"},isMinimized:{"& .MuiFormControl-root":{maxHeight:120,overflowY:"auto",paddingBottom:2,"&::-webkit-scrollbar":{width:6},"&::-webkit-scrollbar-track":{background:"#f1f1f1",borderRadius:3},"&::-webkit-scrollbar-thumb":{background:"#888",borderRadius:3},"&::-webkit-scrollbar-thumb:hover":{background:"#555"}}},suggestionsContainerOpen:{position:"absolute",marginTop:e.spacing(1),marginBottom:e.spacing(3),left:0,right:0,zIndex:1},suggestion:{display:"block"},suggestionsList:{margin:0,padding:0,listStyleType:"none"},textField:{width:"100%"}}}))((function(e){var t=e.value,n=e.onChange,a=e.classes,i=e.isExpanded,r=void 0===i||i,o=e.isLoading,c=void 0!==o&&o,s=Object(m.useState)(""),l=Object(j.a)(s,2),d=l[0],u=l[1],h=Object(m.useState)([]),b=Object(j.a)(h,2),p=b[0],g=b[1],f=xa().garmSources,x=function(e){n([].concat(Object(bt.a)(t),[e])),u("")},O={value:d,onChange:function(e,t){var n=t.newValue;u(n)},chips:t,onAdd:function(e){return x(e)},onDelete:function(e,a){return function(e,a){n(t.filter((function(e,t){return t!==a})))}(0,a)}};return Object(De.jsx)(De.Fragment,{children:Object(De.jsx)(_e.a,{container:!0,children:Object(De.jsx)(La,{className:!r&&a.isMinimized,style:{minHeight:52},children:c?Object(De.jsx)(ui,{size:24}):Object(De.jsx)(ti.a,{theme:{container:a.container,suggestionsContainerOpen:a.suggestionsContainerOpen,suggestionsList:a.suggestionsList,suggestion:a.suggestion},renderInputComponent:ji,suggestions:p,onSuggestionsFetchRequested:function(e){var t=e.value;g(function(e,t){var n=e.trim().toLowerCase();return 0===n.length?[]:t.filter((function(e){return ta.a.includes(e.toLowerCase(),n)}))}(t,f))},onSuggestionsClearRequested:function(){g([])},renderSuggestionsContainer:gi,getSuggestionValue:bi,renderSuggestion:pi,onSuggestionSelected:function(e,t){var n=t.suggestionValue;x(n),e.preventDefault()},focusInputOnSuggestionClick:!0,inputProps:O})})})})})),fi=Object(pt.a)(_e.a)((function(e){return{background:"#BDBDBD",borderRadius:"50%",color:e.theme.palette.common.white,cursor:"pointer",fontSize:14,"& .SmallText":{fontSize:11}}})),xi=Object(pt.a)(_e.a)((function(e){return{height:"100%","& .SelectorParent":{height:"100%",placeContent:"space-around","& .SelectorLabel":{marginTop:"auto",marginBottom:e.theme.spacing(.2)}}}})),Oi=function(e){var t=e.item,n=e.onClick,a=e.className,i=e.selectorClass;return Object(De.jsxs)(_e.a,{item:!0,container:!0,className:Object(Xe.default)("SelectorParent",a),alignContent:"center",justifyContent:"center",children:[Object(De.jsx)(fi,{className:i,container:!0,item:!0,justifyContent:"center",alignItems:"center",onClick:function(){return n(t)},children:Object(De.jsx)(gt.a,{component:"span",children:t.count})}),Object(De.jsx)(gt.a,{variant:"caption",className:"SelectorLabel",children:t.name})]})},vi=Object(ot.a)((function(){return Object(ct.a)({small:{height:34,width:34},medium:{height:52,width:52},large:{height:64,width:64}})})),Ci=function(e){var t=e.onChange,n=void 0===t?function(){}:t,a=e.value,i=void 0===a?[{name:"Negative",count:1},{name:"Neutral",count:10},{name:"Positive",count:50}]:a,r=Object(m.useState)(),o=Object(j.a)(r,2),c=o[0],s=o[1],l=vi();return Object(De.jsx)(La,{children:Object(De.jsx)(xi,{container:!0,justifyContent:"space-around",alignItems:"center",wrap:"nowrap",children:i.map((function(e,t){return Object(De.jsx)(Oi,{item:e,isActive:c===t,onClick:function(e){n(e),s(t)},selectorClass:l.medium},t)}))})})},Ai=Object(ot.a)((function(){return Object(ct.a)({textSMRegular:{fontWeight:400,fontSize:14,lineHeight:"20px",color:"#2D2D38"},textSMBold:{fontWeight:600,fontSize:14,lineHeight:"20px",color:"#2D2D38"},textXSRegular:{fontWeight:400,fontSize:12,lineHeight:"16px",color:"#2D2D38"},textXSBold:{fontWeight:600,fontSize:12,lineHeight:"16px",color:"#2D2D38"},textLGBold:{fontWeight:600,fontSize:18,lineHeight:"28px",color:"#2D2D38"}})})),yi={dropdown:Za,color:Wa,range:$a,"tag-cloud":mi,tri:Ci},wi=function(e){var t=e.border,n=e.title,a=e.variant,i=e.onChange,r=e.value,o=e.filterType,c=yi[a],s=r||[];return Object(De.jsxs)(De.Fragment,{children:[n&&Object(De.jsx)(Ha,{children:n}),"audience"===o?Object(De.jsx)($a,{onChange:i,value:[s[0],s[1]>5?5:s[1]]||!1,axisLabels:{0:"0",1:"1",2:"2",3:"3",4:"4",5:"5"},min:0,type:6,step:.5}):Object(De.jsx)(c,{onChange:i,value:r,axisLabels:"tolerance"===o?{0:"N/A",1:"High Tolerance",3:"Low Tol."}:null}),t&&Object(De.jsx)(Ma,{})]})},Ii=function(e){var t=e.isDeleteDisabled,n=e.onDelete,a=e.onEdit,i=e.onMakePrimary,r=Object(m.useState)(null),o=Object(j.a)(r,2),c=o[0],s=o[1],l=Boolean(c),d=function(){s(null)};return Object(De.jsxs)(De.Fragment,{children:[Object(De.jsx)(yn.a,{onClick:function(e){s(e.currentTarget)},children:Object(De.jsx)(Sn.a,{htmlColor:"#757575",style:{fontSize:24}})}),Object(De.jsxs)(wn.a,{id:"dashboard-menu","aria-labelledby":"dashboard-button",anchorEl:c,open:l,onClose:d,anchorOrigin:{vertical:"top",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"},children:[Object(De.jsx)(In.a,{onClick:function(){a(),d()},children:"Edit"}),Object(De.jsx)(In.a,{disabled:t,onClick:function(){n(),d()},children:"Delete"}),Object(De.jsx)(In.a,{onClick:function(){i(),d()},children:"Make Primary"})]})]})},ki=Object(pt.a)(gt.a)((function(e){return{color:e.theme.palette.common.black,fontSize:20,lineHeight:"24px",fontWeight:"normal",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}})),Si=Object(pt.a)(Je.a)((function(e){var t=e.theme;return{paddingLeft:t.spacing(2),paddingRight:t.spacing(2)}})),Ei=Object(ot.a)((function(e){return Object(ct.a)({tooltipLink:{color:e.palette.yellow.main},sourcesTitle:{marginTop:15,"& > svg":{"& > path":{color:"#757575"}}},riskChangeFilter:{width:"100%",borderStyle:"solid",borderWidth:3,borderColor:"#3E91DE",borderRadius:20,display:"flex",marginBottom:12,overflow:"hidden","& > div":{flex:1,textAlign:"center",fontSize:15,fontWeight:"normal",padding:1,cursor:"pointer",textTransform:"capitalize","&:hover":{background:"#3E91DE30"},"&:first-child":{borderRight:"3px solid #3E91DE"},"&:last-child":{borderLeft:"3px solid #3E91DE"}}},publishersContainer:{border:"1px solid rgba(0, 0, 0, 0.12)",borderRadius:4,padding:5,marginTop:4,gap:12,minHeight:50,cursor:"pointer",overflow:"auto",maxHeight:350,"& .MuiFormControlLabel-root":{marginLeft:0},"&::-webkit-scrollbar":{width:6},"&::-webkit-scrollbar-track ":{background:"#f1f1f1"},"&::-webkit-scrollbar-thumb":{background:"#888",borderRadius:3},"&::-webkit-scrollbar-thumb:hover":{background:"#555"},"& > div":{display:"flex",alignItems:"center",gap:4,background:"rgba(62, 145, 222, 0.5)",borderRadius:20,padding:"0 8px",height:24,color:"#3E91DE",fontSize:13}},clearBtn:{fontWeight:"normal",fontSize:12},garmScoreCat:{position:"relative"},newBrandIcon:{width:24,height:24,backgroundColor:"#5EA1F2",borderRadius:8,display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer"},selectedBrandFilter:{width:"100%",borderRadius:3,border:"1px solid #C3C3C7",background:"#FFF",padding:8,marginTop:12,marginBottom:4,cursor:"pointer",position:"relative",paddingRight:32,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis","& > .arrowIcon":{position:"absolute",top:"55%",right:8,transform:"translate(0, -50%)","& > svg":{fontSize:20}}}})})),Ri=function(e){var t=e.openSelection,n=e.openIABCategories,a=e.openGenres,i=e.openCustomFilters,r=e.onDelete,o=e.onMakePrimary,c=e.setOpenSelection,s=e.setOpenIABCategories,l=e.setOpenGenres,d=e.setOpenCustomFilters,u=Object(Ze.g)(),h=Object(m.useState)(!1),b=Object(j.a)(h,2),f=b[0],x=b[1],O=Object(m.useState)(!1),v=Object(j.a)(O,2),C=v[0],A=v[1],y=Object(m.useState)(!1),w=Object(j.a)(y,2),I=w[0],k=w[1],S=Object(m.useState)(!1),E=Object(j.a)(S,2),R=E[0],N=E[1],D=Object(m.useState)(!1),M=Object(j.a)(D,2),T=M[0],B=M[1],L=Object(m.useState)(!1),F=Object(j.a)(L,2),P=F[0],z=F[1],G=Object(m.useState)(!1),W=Object(j.a)(G,2),H=W[0],U=W[1],V=Ei(),K=Ai(),Z=We().setSecondSidebarOpen,Q=xa(),X=Q.dashboardName,Y=Q.dashboardId,J=Q.garmSourceFilters,q=Q.riskChangeFilter,_=Q.selectedPublishers,$=Q.selectedIABCategories,ee=Q.selectedGenres,te=Q.selectIABCategories,ne=Q.selectPuplisher,ae=Q.selectGenres,ie=Q.setRiskChangeFilter,re=Q.changeDashboardName,oe=Q.setFilterValue,ce=Q.getFilterValue,se=Q.riskFilterEnabled,le=Q.setGarmSourceFilters,de=Q.selectedCustomFilter,ue=Q.setSelectedCustomFilter,he=Q.setSelectedCustomFilterId,be=Ea().fetchFilteredGarmShowNames,pe=sa().dashboardCategories,ge=function(e,t){oe(e,t)},je=function(){z((function(e){return!e}))},me=function e(t,n){var a=[n];if(n.parentId){var i=t.find((function(e){return e.id===n.parentId}));i&&(a=[].concat(Object(bt.a)(a),Object(bt.a)(e(t,i))))}return a},fe=function(e,t){e.stopPropagation();var n=me($,t),a=$.filter((function(e){return!n.find((function(t){return t.id===e.id}))}));te(a)},xe=function(){var e=Object(g.a)(Object(p.a)().mark((function e(){var t;return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return U(!0),e.prev=1,e.next=4,be();case 4:t=e.sent,le(t.sort());case 6:return e.prev=6,U(!1),e.finish(6);case 9:case"end":return e.stop()}}),e,null,[[1,,6,9]])})));return function(){return e.apply(this,arguments)}}();return Object(De.jsxs)(Si,{children:[Object(De.jsxs)(_e.a,{container:!0,alignItems:"center",children:[Object(De.jsx)(_e.a,{item:!0,xs:10,children:T?Object(De.jsx)(Dn,{value:X,onChange:re,onEnter:function(){B(!1)}}):Object(De.jsx)(ki,{variant:"h5",style:{fontSize:16,fontWeight:"normal"},children:X})}),Object(De.jsx)(_e.a,{item:!0,container:!0,xs:2,justifyContent:"flex-end",children:Object(De.jsx)(Ii,{isDeleteDisabled:!Y,onDelete:function(){Y&&r(Y)},onEdit:function(){B(!0)},onMakePrimary:function(){Y&&o(Y)}})})]}),Object(De.jsxs)(_e.a,{container:!0,children:[Object(De.jsxs)(_e.a,{container:!0,className:V.sourcesTitle,alignItems:"center",justifyContent:"space-between",children:[Object(De.jsx)(gt.a,{style:{fontSize:14,fontWeight:"normal"},children:"Podcasts"}),Object(De.jsxs)(Je.a,{display:"flex",alignItems:"center",gridGap:"4px",children:[Object(De.jsx)(Mt,{variant:"outlined",onClick:function(){return xe()},height:"22px",fontSize:"sm",className:V.clearBtn,children:"Get Shows"}),Object(De.jsx)(Mt,{variant:"outlined",onClick:function(){return le([])},height:"22px",fontSize:"sm",className:V.clearBtn,children:"Clear"}),P?Object(De.jsx)(Vn.a,{fontSize:"small",onClick:je,cursor:"pointer"}):Object(De.jsx)(Hn.a,{fontSize:"small",onClick:je,cursor:"pointer"})]})]}),Object(De.jsx)(mi,{value:J,onChange:le,isExpanded:P,isLoading:H})]}),Object(De.jsxs)(_e.a,{container:!0,style:{marginTop:36,marginBottom:16},children:[Object(De.jsxs)(_e.a,{container:!0,alignItems:"center",children:[Object(De.jsx)(gt.a,{style:{fontSize:14,fontWeight:"normal"},children:"Podcast Rating"}),Object(De.jsx)("span",{role:"img","aria-label":"star",style:{fontSize:14,marginLeft:4},children:String.fromCodePoint(11088)})]}),Object(De.jsx)(wi,{variant:"range",onChange:function(e,t){ge("audience",t)},value:ce("audience"),filterType:"audience"})]}),Object(De.jsxs)(_e.a,{container:!0,style:{marginTop:40,marginBottom:30},children:[Object(De.jsxs)(_e.a,{container:!0,item:!0,direction:"row",justifyContent:"space-between",alignItems:"center",onClick:function(){k(!I)},style:{cursor:"pointer"},children:[Object(De.jsx)("img",{src:"/images/iab/iabLogo.png",height:"34px",alt:"iab_memberseal"}),I?Object(De.jsx)(Ct.a,{}):Object(De.jsx)(Ot.a,{})]}),Object(De.jsx)(ft.a,{in:I,timeout:"auto",unmountOnExit:!0,style:{width:"100%"},children:Object(De.jsx)(_e.a,{container:!0,className:V.publishersContainer,onClick:function(){return s(!n)},children:$.map((function(e){return e.children&&e.children.length?null:Object(De.jsxs)("div",{onClick:function(t){return fe(t,e)},children:[Object(De.jsx)(gt.a,{style:{fontSize:13,fontWeight:"normal"},children:e.name}),Object(De.jsx)(Xn.a,{fontSize:"inherit"})]},e.id)}))})})]}),Object(De.jsx)(_e.a,{container:!0,style:{marginTop:30,marginBottom:30},children:Object(De.jsxs)(_e.a,{container:!0,item:!0,direction:"row",justifyContent:"space-between",alignItems:"center",children:[Object(De.jsx)(gt.a,{style:{fontSize:16,fontWeight:"normal",paddingRight:8,color:"#2A2A2E"},children:"Brand Standard Filters"}),Object(De.jsx)("div",{className:V.newBrandIcon,onClick:function(){Z(!1),u.push("/settings?create=true")},children:Object(De.jsx)(Zn.a,{fontSize:"small",style:{color:"#fff"}})}),Object(De.jsxs)("div",{onClick:function(e){e.preventDefault(),e.stopPropagation(),d(!i)},className:V.selectedBrandFilter,children:[(null===de||void 0===de?void 0:de.name)||"None",Object(De.jsx)("div",{className:"arrowIcon",children:i?Object(De.jsx)(Ct.a,{}):Object(De.jsx)(Ot.a,{})})]}),de&&Object(De.jsx)(Mt,{color:"primary",disableElevation:!0,variant:"text",size:"small",onClick:function(){he(""),ue(null)},children:"Hide All Exceptions"})]})}),pe.map((function(e){return Object(De.jsxs)(_e.a,{container:!0,style:e.enabled?{background:"#F0F0F1",padding:8,borderRadius:8,marginBottom:24}:{opacity:.6,marginBottom:24},children:[Object(De.jsxs)(_e.a,{container:!0,item:!0,direction:"row",justifyContent:"space-between",alignItems:"center",onClick:function(){return x(!f)},style:{cursor:"pointer"},children:[Object(De.jsxs)(gt.a,{className:K.textXSBold,style:{color:"#686874"},children:["GARM Scores"===e.title?Object(De.jsxs)(De.Fragment,{children:[Object(De.jsx)("span",{style:{color:"#EA3344"},children:"GARM "}),Object(De.jsx)("span",{children:"Scores"})]}):Object(De.jsx)("span",{children:e.title}),e.tooltip&&Object(De.jsx)($n,{title:e.tooltip,children:Object(De.jsx)(Gn.a,{fontSize:"small",style:{marginLeft:4,fontSize:16}})})]}),f?Object(De.jsx)(Ct.a,{}):Object(De.jsx)(Ot.a,{})]}),Object(De.jsx)(ft.a,{in:f,timeout:"auto",unmountOnExit:!0,children:e.entries.map((function(t,n){return Object(De.jsxs)(_e.a,{container:!0,className:V.garmScoreCat,style:{marginTop:0===n?16:0,width:"100%"},children:[Object(De.jsxs)(gt.a,{className:K.textXSBold,style:{color:"#686874",position:"absolute",top:-8,zIndex:1},children:[t.title,t.tooltip&&Object(De.jsx)($n,{content:Object(De.jsxs)("div",{children:[t.tooltip,t.tooltipLink?Object(De.jsx)("a",{href:t.tooltipLink.href,className:V.tooltipLink,children:t.tooltipLink.label}):null]}),children:Object(De.jsx)(Gn.a,{fontSize:"small",style:{marginLeft:4,fontSize:16}})})]}),e.enabled&&se(t.jsonKeyRisk)&&Object(De.jsxs)(_e.a,{style:{marginLeft:16},children:[Object(De.jsx)(wi,{variant:"range",onChange:function(e,n){de||ge(t.jsonKeyRisk,n)},value:de?de.data.scoreFilters[t.title].score:ce(t.jsonKeyRisk),filterType:t.filterType}),!(null===de||void 0===de||!de.data.scoreFilters[t.title].content.length)&&Object(De.jsx)("div",{style:{marginTop:-4,marginLeft:-12,marginBottom:16,display:"flex",flexDirection:"column",gap:8,maxWidth:220},children:null===de||void 0===de?void 0:de.data.scoreFilters[t.title].content.map((function(e,t){return Object(De.jsxs)(gt.a,{style:{fontSize:10,fontWeight:600,color:"#F97316"},children:[e.type===va.Genre?"Genre Exceptions: ":"GARM Reasoning: ",e.exceptions.map((function(t,n){return Object(De.jsxs)("span",{children:[t.name," (",t.risk,")",n===e.exceptions.length-1?"":", "]},n)}))]},t)}))})]})]},e.title+t.title)}))})]},e.title)})),Object(De.jsxs)(_e.a,{container:!0,style:{marginTop:40,marginBottom:30},children:[Object(De.jsxs)(_e.a,{container:!0,item:!0,direction:"row",justifyContent:"space-between",alignItems:"center",onClick:function(){N(!R)},style:{cursor:"pointer"},children:[Object(De.jsx)(gt.a,{style:{fontSize:14,fontWeight:"normal"},children:"Genres"}),R?Object(De.jsx)(Ct.a,{}):Object(De.jsx)(Ot.a,{})]}),Object(De.jsx)(ft.a,{in:R,timeout:"auto",unmountOnExit:!0,style:{width:"100%"},children:Object(De.jsx)(_e.a,{container:!0,className:V.publishersContainer,onClick:function(){return l(!a)},children:ee.map((function(e){return Object(De.jsxs)("div",{onClick:function(t){return function(e,t){e.stopPropagation();var n=ee.filter((function(e){return e!==t}));ae(n)}(t,e)},children:[Object(De.jsx)(gt.a,{style:{fontSize:13,fontWeight:"normal"},children:e}),Object(De.jsx)(Xn.a,{fontSize:"inherit"})]},e)}))})})]}),Object(De.jsxs)(_e.a,{container:!0,style:{marginTop:40,marginBottom:30},children:[Object(De.jsxs)(_e.a,{container:!0,item:!0,direction:"row",justifyContent:"space-between",alignItems:"center",onClick:function(){A(!C)},style:{cursor:"pointer"},children:[Object(De.jsx)(gt.a,{style:{fontSize:14,fontWeight:"normal"},children:"Publisher"}),C?Object(De.jsx)(Ct.a,{}):Object(De.jsx)(Ot.a,{})]}),Object(De.jsx)(ft.a,{in:C,timeout:"auto",unmountOnExit:!0,style:{width:"100%"},children:Object(De.jsx)(_e.a,{container:!0,className:V.publishersContainer,onClick:function(){return c(!t)},children:_.map((function(e){return Object(De.jsxs)("div",{onClick:function(t){return function(e,t){e.stopPropagation();var n=_.filter((function(e){return e!==t}));ne(n)}(t,e)},children:[Object(De.jsx)(gt.a,{style:{fontSize:13,fontWeight:"normal"},children:e}),Object(De.jsx)(Xn.a,{fontSize:"inherit"})]},e)}))})})]}),Object(De.jsxs)(_e.a,{container:!0,style:{marginTop:40,marginBottom:48},children:[Object(De.jsx)(gt.a,{style:{fontSize:15,fontWeight:"normal",padding:"0 8px"},children:"Risk Level Recently Changed"}),Object(De.jsx)("div",{className:V.riskChangeFilter,children:["decrease","all","increase"].map((function(e){return Object(De.jsx)("div",{style:e===q?{background:"#3E91DE80"}:void 0,onClick:function(){return ie(e)},children:e},e)}))})]})]})};function Ni(e){var t=e.color,n=void 0===t?"#D2D2D2":t;return Object(De.jsxs)("svg",{width:"24",height:"19",viewBox:"0 0 24 19",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[Object(De.jsx)("path",{d:"M9 16.6047H5C4.46957 16.6047 3.96086 16.4415 3.58579 16.1508C3.21071 15.8602 3 15.466 3 15.055V4.20652C3 3.79549 3.21071 3.4013 3.58579 3.11066C3.96086 2.82002 4.46957 2.65674 5 2.65674H9",stroke:n,strokeLinecap:"round",strokeLinejoin:"round"}),Object(De.jsx)("path",{d:"M16 13.5052L21 9.63079L16 5.75635",stroke:n,strokeLinecap:"round",strokeLinejoin:"round"}),Object(De.jsx)("path",{d:"M21 9.63086H9",stroke:n,strokeLinecap:"round",strokeLinejoin:"round"})]})}var Di=function(e){var t=e.ref,n=e.handleClickAway;Object(m.useEffect)((function(){function e(e){t.current&&!t.current.contains(e.target)&&n()}function a(e){t.current&&"Escape"===e.key&&n()}return document.addEventListener("mouseup",e),document.addEventListener("keyup",a),function(){document.removeEventListener("mouseup",e),document.removeEventListener("keyup",a)}}),[t,n])},Mi=n(153),Ti=n.n(Mi),Bi=n(765),Li=n(736);function Fi(e){var t=e.name,n=e.label,a=e.checked,i=e.className,r=e.noPadding,o=e.onChange,c=e.disabled,s=void 0!==c&&c,l=Pi();return Object(De.jsx)(Li.a,{className:Object(Xe.default)(l.root,r&&l.noPadding,i),control:Object(De.jsx)(Bi.a,{name:t,checked:a,onChange:function(e){null===o||void 0===o||o(e.target.checked,t)},color:"primary",disabled:s}),label:n})}var Pi=Et()((function(e){return Nt()({root:{color:e.palette.grayText.main,marginRight:0},noPadding:{"& .MuiIconButton-root":{padding:0}}})})),zi=Object(ot.a)((function(e){return Object(ct.a)({drawer:{width:Fe,zIndex:2,"& .BarameterLogo":{marginLeft:0},".SmallSidebar &":{width:Pe}},menuContainer:{height:42,display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"flex-start"},menuOpenIcon:{fontSize:25,marginRight:15},logoContainer:{paddingTop:14,paddingLeft:19,boxSizing:"border-box"},drawerExt:{width:Fe,marginLeft:Fe,zIndex:1,".SmallSidebar &":{marginLeft:Pe,width:Pe}},drawerPaper:{width:Fe,backgroundColor:"#FFFFFF",".SmallSidebar &":{width:Pe}},drawerPaperSecondary:{backgroundColor:"#fff",marginLeft:Fe,paddingTop:e.spacing(4.375),width:ze,".SmallSidebar &":{marginLeft:Pe}},link:{color:e.palette.grayText.main,cursor:"pointer",fontSize:20,textDecoration:"none"},listContainer:{display:"flex",flex:1,flexDirection:"column",marginTop:e.spacing(2)},listItem:{marginBottom:e.spacing(1),paddingLeft:e.spacing(2.25),color:"#212121",fontStyle:"normal",fontWeight:"normal",fontSize:16,"& span.MuiTypography-body1":{fontStyle:"normal",fontWeight:"normal",fontSize:16},"& .MuiTypography-colorTextSecondary":{color:"white"},"& .MuiListItemIcon-root":{minWidth:32,marginRight:e.spacing(2)}},logOutButton:{marginTop:"auto",paddingLeft:e.spacing(1.2),paddingRight:e.spacing(1.2),"& .MuiListItemIcon-root":{marginRight:0},"& .MuiAvatar-root":{marginRight:e.spacing(2)},marginBottom:0},logOutSmall:{marginRight:0,alignItems:"center",justifyContent:"center",flexDirection:"row","& .MuiAvatar-root":{marginRight:0}},active:{"& span.MuiTypography-body1":{}},icon:{fontSize:32},itemRightSideIcon:{marginRight:"0 !important","& svg":{marginLeft:"auto","& > path":{fill:"#3E91DE"}}},selectionContainer:{position:"absolute",left:"100%",top:0,height:"100vh",width:"100%",maxWidth:360,background:"#ffffff",borderRight:"1px solid rgba(0, 0, 0, 0.12)",padding:e.spacing(2),paddingTop:e.spacing(3),paddingBottom:e.spacing(3),display:"flex",flexDirection:"column",justifyContent:"space-between",gap:20},selectionMain:{flex:1,display:"flex",flexDirection:"column",gap:4,height:"calc(100% - 50px)"},selectionHeader:{display:"flex",flexDirection:"column",gap:10},selectionOptions:{flex:1,display:"flex",flexDirection:"column",gap:4,overflow:"auto","& .MuiFormControlLabel-root":{marginLeft:0},"&::-webkit-scrollbar":{width:6},"&::-webkit-scrollbar-track ":{background:"#f1f1f1"},"&::-webkit-scrollbar-thumb":{background:"#888",borderRadius:3},"&::-webkit-scrollbar-thumb:hover":{background:"#555"}},selectOption:{display:"flex",alignItems:"center",gap:4,"& > svg":{width:16,height:16,cursor:"pointer"}},selectChildren:{marginLeft:16,display:"flex",flexDirection:"column",gap:4,position:"relative","&::before":{content:'""',position:"absolute",left:-8,width:1,top:4,bottom:4,borderLeft:"1px dashed gray"}},selctionActions:{display:"flex",alignItems:"center",justifyContent:"center",gap:20},searchContainer:{display:"flex",alignItems:"center",padding:8,border:"1px solid rgba(0, 0, 0, 0.12)",borderRadius:20,gap:8,transitionProperty:"all",transitionTimingFunction:"linear",transitionDuration:"250ms","& > svg":{width:24,height:24},"& > input":{height:24,border:"none",padding:0,margin:0,flex:1,outline:"none",fontSize:16}}})})),Gi=function(e){var t=e.isOpen,n=e.isSmallSidebar,a=void 0!==n&&n,i=e.handleClose,r=zi(),o=Object(m.useRef)(),c=Object(m.useState)([]),s=Object(j.a)(c,2),l=s[0],d=s[1],u=Object(m.useState)(""),h=Object(j.a)(u,2),p=h[0],g=h[1],f=xa(),x=f.iabCategories,O=f.selectedIABCategories,v=f.selectIABCategories;Di({ref:o,handleClickAway:i});var C=Object(m.useCallback)((function(e,t){var n=[];return e.sort((function(e,t){return e.name>t.name?1:-1})).forEach((function(e){var a=e.children&&e.children.length?C(e.children,t):[];n.push(Object(b.a)(Object(b.a)({},e),{},{isChecked:!t&&!!O.find((function(t){return t.id===e.id})),isExpanded:!1,isShow:!0,children:a}))})),n}),[O]),A=Object(m.useCallback)((function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=[];return e.forEach((function(e){var i=e.name.toLowerCase().includes(t.toLowerCase()),r=e.children&&e.children.length?A(e.children,t,i||n):[];a.push(Object(b.a)(Object(b.a)({},e),{},{isShow:!!(""===t||i||n||r.find((function(e){return e.isShow}))),children:r}))})),a}),[O]),y=Object(m.useCallback)((function(e){var t=0;return e.forEach((function(e){var n=e.children&&e.children.length?y(e.children):0,a=n||(e.isShow?1:0);t+=a})),t}),[O]);Object(m.useEffect)((function(){d(A(l,p||""))}),[p]);var w=Object(m.useCallback)((function(e){var t=[];return e.forEach((function(e){if(e.isChecked&&t.push(e),e.children&&e.children.length){var n=w(e.children);t=[].concat(Object(bt.a)(t),Object(bt.a)(n))}})),t}),[]);Object(m.useEffect)((function(){t&&(g(""),d(C(x)))}),[t,x]);var I=Object(m.useCallback)((function(e,t,n,a){var i=Object(bt.a)(e);return e.forEach((function(e,r){if(e.id===t){if(i[r][n]=a,"isChecked"===n&&e.children&&e.children.length){var o=e.children.map((function(t){return I(e.children,t.id,n,a),Object(b.a)(Object(b.a)({},t),{},{isChecked:a})}));i[r].children=o}}else if(e.children&&e.children.length){var c=I(e.children,t,n,a),s=e.isChecked;"isChecked"===n&&(s=c.every((function(e){return e.isChecked}))),i[r]=Object(b.a)(Object(b.a)({},e),{},{children:c,isChecked:s})}})),i}),[]),k=y(l);return t?Object(De.jsxs)("div",{className:r.selectionContainer,style:{left:a?372:552},ref:o,children:[Object(De.jsxs)("div",{className:r.selectionMain,children:[Object(De.jsxs)("div",{className:r.selectionHeader,children:[Object(De.jsxs)(gt.a,{style:{fontSize:16,color:"gray",fontWeight:"normal",display:"flex",alignItems:"center",gap:6},children:[Object(De.jsx)("span",{children:"Find podcasts by their"}),Object(De.jsx)("img",{src:"/images/iab/iabLogo.png",height:"26px",alt:"iab_memberseal"}),Object(De.jsx)("span",{children:"categorizations"})]}),Object(De.jsxs)("div",{className:r.searchContainer,children:[Object(De.jsx)(yt.a,{}),Object(De.jsx)("input",{placeholder:"Search IAB categories...",value:p,onChange:function(e){return g(e.target.value)}})]}),Object(De.jsx)(gt.a,{style:{fontSize:12,fontWeight:"normal"},children:p?"Showing ".concat(k," results for ").concat(p):"Showing ".concat(k," results")})]}),Object(De.jsx)("div",{className:r.selectionOptions,children:function e(t){return t.map((function(t){var n,a,i=!(null===(n=t.children)||void 0===n||!n.length);return t.isShow?Object(De.jsxs)("div",{children:[Object(De.jsxs)("div",{className:r.selectOption,children:[i?t.isExpanded?Object(De.jsx)(Ot.a,{onClick:function(){d(I(l,t.id,"isExpanded",!1))}}):Object(De.jsx)(Ti.a,{onClick:function(){d(I(l,t.id,"isExpanded",!0))}}):Object(De.jsx)("div",{style:{width:16}}),Object(De.jsx)(Fi,{name:t.id,label:"",checked:t.isChecked,noPadding:!0,onChange:function(){t.isChecked?d(I(l,t.id,"isChecked",!1)):d(I(l,t.id,"isChecked",!0))}}),Object(De.jsxs)(gt.a,{style:{fontSize:14,fontWeight:"normal"},children:[t.name," ",i?Object(De.jsxs)(De.Fragment,{children:["(",null===(a=t.children)||void 0===a?void 0:a.length,")"]}):null]})]}),Object(De.jsx)("div",{className:r.selectChildren,children:i&&t.isExpanded&&e(t.children)})]},t.id):null}))}(l)})]}),Object(De.jsxs)("div",{className:r.selctionActions,children:[Object(De.jsx)(Mt,{title:"Clear Selection",color:"primary",variant:"text",fontSize:"sm",height:30,onClick:function(){d(C(x,!0)),g("")}}),Object(De.jsx)(Mt,{title:"Select Category",color:"primary",fontSize:"sm",height:30,onClick:function(){v(w(l)),i(),g(""),d([])}})]})]}):null},Wi=n(94),Hi=n.n(Wi),Ui=function(e){var t=e.genres,n=e.selectedGenres,a=e.isOpen,i=e.isSmallSidebar,r=e.handleClose,o=e.handleSave,c=zi(),s=Object(m.useState)(""),l=Object(j.a)(s,2),d=l[0],u=l[1],h=Object(m.useState)([]),b=Object(j.a)(h,2),p=b[0],g=b[1],f=Object(m.useRef)(),x=Object(m.useState)(!0),O=Object(j.a)(x,2),v=O[0],C=O[1],A=Object(m.useState)(100),y=Object(j.a)(A,2),w=y[0],I=y[1];return Di({ref:f,handleClickAway:r}),Object(m.useEffect)((function(){a&&(u(""),g(n))}),[a]),a?Object(De.jsxs)("div",{className:c.selectionContainer,style:{left:i?372:552},ref:f,children:[Object(De.jsxs)("div",{className:c.selectionMain,children:[Object(De.jsxs)("div",{className:c.selectionHeader,children:[Object(De.jsx)(gt.a,{style:{fontSize:16,color:"gray",fontWeight:"normal"},children:"Find podcasts by their genre"}),Object(De.jsxs)("div",{className:c.searchContainer,children:[Object(De.jsx)(yt.a,{}),Object(De.jsx)("input",{placeholder:"Search genres...",value:d,onChange:function(e){return u(e.target.value)}})]}),Object(De.jsx)(gt.a,{style:{fontSize:12,fontWeight:"normal"},children:d?"Showing ".concat(t.filter((function(e){return e&&e.toLowerCase().includes(d.toLowerCase())})).length," results for ").concat(d):"Showing ".concat(t.length," results")})]}),Object(De.jsx)("div",{className:c.selectionOptions,children:Object(De.jsx)(Hi.a,{pageStart:0,loadMore:function(){var e=t.filter((function(e){return!d||e&&e.toLowerCase().includes(d.toLowerCase())}));w>=e.length?C(!1):setTimeout((function(){I(w+100)}),500)},hasMore:v,loader:Object(De.jsx)("h4",{className:"loader",children:"Loading..."}),useWindow:!1,children:t.filter((function(e){return!d||e&&e.toLowerCase().includes(d.toLowerCase())})).slice(0,w).map((function(e){return Object(De.jsxs)("div",{className:c.selectOption,children:[Object(De.jsx)(Fi,{name:e,label:"",checked:p.includes(e),noPadding:!0,onChange:function(){if(p.includes(e)){var t=p.filter((function(t){return t!==e}));g(t)}else{var n=[].concat(Object(bt.a)(p),[e]);g(n)}}}),Object(De.jsx)(gt.a,{style:{fontSize:14,fontWeight:"normal"},children:e})]},e)}))})})]}),Object(De.jsxs)("div",{className:c.selctionActions,children:[Object(De.jsx)(Mt,{title:"Clear Selection",color:"primary",variant:"text",fontSize:"sm",height:30,onClick:function(){g([])}}),Object(De.jsx)(Mt,{title:"Select Genre",color:"primary",fontSize:"sm",height:30,onClick:function(){o(p)}})]})]}):null},Vi=function(e){var t=e.publishers,n=e.selectedPublishers,a=e.isOpen,i=e.isSmallSidebar,r=e.handleClose,o=e.handleSave,c=zi(),s=Object(m.useState)(""),l=Object(j.a)(s,2),d=l[0],u=l[1],h=Object(m.useState)([]),b=Object(j.a)(h,2),p=b[0],g=b[1],f=Object(m.useRef)(),x=Object(m.useState)(!0),O=Object(j.a)(x,2),v=O[0],C=O[1],A=Object(m.useState)(100),y=Object(j.a)(A,2),w=y[0],I=y[1];return Di({ref:f,handleClickAway:r}),Object(m.useEffect)((function(){a&&(u(""),g(n),C(!0),I(100))}),[a]),a?Object(De.jsxs)("div",{className:c.selectionContainer,style:{left:i?372:552},ref:f,children:[Object(De.jsxs)("div",{className:c.selectionMain,children:[Object(De.jsxs)("div",{className:c.selectionHeader,children:[Object(De.jsx)(gt.a,{style:{fontSize:16,color:"gray",fontWeight:"normal"},children:"Find podcasts by their publisher"}),Object(De.jsxs)("div",{className:c.searchContainer,children:[Object(De.jsx)(yt.a,{}),Object(De.jsx)("input",{placeholder:"Search publishers...",value:d,onChange:function(e){return u(e.target.value)}})]}),Object(De.jsx)(gt.a,{style:{fontSize:12,fontWeight:"normal"},children:d?"Showing ".concat(t.filter((function(e){return e.publisher&&e.publisher.toLowerCase().includes(d.toLowerCase())})).length," results for ").concat(d):"Showing ".concat(t.length," results")})]}),Object(De.jsx)("div",{className:c.selectionOptions,children:Object(De.jsx)(Hi.a,{pageStart:0,loadMore:function(){var e=t.filter((function(e){return!d||e.publisher&&e.publisher.toLowerCase().includes(d.toLowerCase())}));w>=e.length?C(!1):setTimeout((function(){I(w+100)}),500)},hasMore:v,loader:Object(De.jsx)("h4",{className:"loader",children:"Loading..."}),useWindow:!1,children:t.filter((function(e){return!d||e.publisher&&e.publisher.toLowerCase().includes(d.toLowerCase())})).slice(0,w).map((function(e){return Object(De.jsxs)("div",{className:c.selectOption,children:[Object(De.jsx)(Fi,{name:e.publisher,label:"",checked:p.includes(e.publisher),noPadding:!0,onChange:function(){if(p.includes(e.publisher)){var t=p.filter((function(t){return t!==e.publisher}));g(t)}else{var n=[].concat(Object(bt.a)(p),[e.publisher]);g(n)}}}),Object(De.jsxs)(gt.a,{style:{fontSize:14,fontWeight:"normal"},children:[e.publisher," (",e.count||0,")"]})]},e.publisher)}))})})]}),Object(De.jsxs)("div",{className:c.selctionActions,children:[Object(De.jsx)(Mt,{title:"Clear Selection",color:"primary",variant:"text",fontSize:"sm",height:30,onClick:function(){g([])}}),Object(De.jsx)(Mt,{title:"Select Publisher",color:"primary",fontSize:"sm",height:30,onClick:function(){o(p)}})]})]}):null},Ki=function(e){var t=e.filters,n=e.isOpen,a=e.isSmallSidebar,i=e.handleClose,r=e.handleSelect,o=zi(),c=Object(m.useState)(""),s=Object(j.a)(c,2),l=s[0],d=s[1],u=Object(m.useRef)(),h=Object(m.useState)(!0),b=Object(j.a)(h,2),p=b[0],g=b[1],f=Object(m.useState)(100),x=Object(j.a)(f,2),O=x[0],v=x[1];return Di({ref:u,handleClickAway:i}),Object(m.useEffect)((function(){n&&d("")}),[n]),n?Object(De.jsx)("div",{className:o.selectionContainer,style:{left:a?372:552},ref:u,children:Object(De.jsxs)("div",{className:o.selectionMain,children:[Object(De.jsxs)("div",{className:o.selectionHeader,children:[Object(De.jsx)(gt.a,{style:{fontSize:16,color:"gray",fontWeight:"normal"},children:"Select Brand Standard Filter"}),Object(De.jsxs)("div",{className:o.searchContainer,children:[Object(De.jsx)(yt.a,{}),Object(De.jsx)("input",{placeholder:"Search filter...",value:l,onChange:function(e){return d(e.target.value)}})]}),Object(De.jsx)(gt.a,{style:{fontSize:12,fontWeight:"normal"},children:l?"Showing ".concat(t.filter((function(e){return e&&e.name.toLowerCase().includes(l.toLowerCase())})).length," results for ").concat(l):"Showing ".concat(t.length," results")})]}),Object(De.jsx)("div",{className:o.selectionOptions,style:{marginTop:12},children:Object(De.jsx)(Hi.a,{pageStart:0,loadMore:function(){var e=t.filter((function(e){return!l||e&&e.name.toLowerCase().includes(l.toLowerCase())}));O>=e.length?g(!1):setTimeout((function(){v(O+100)}),500)},hasMore:p,loader:Object(De.jsx)("h4",{className:"loader",children:"Loading..."}),useWindow:!1,children:t.filter((function(e){return!l||e&&e.name.toLowerCase().includes(l.toLowerCase())})).slice(0,O).map((function(e){return Object(De.jsx)("div",{className:o.selectOption,children:Object(De.jsx)(gt.a,{style:{fontSize:14,fontWeight:500,cursor:"pointer",padding:"4px 0"},onClick:function(){return r(e)},children:e.name})},e.id)}))})})]})}):null},Zi=n(384),Qi=n.n(Zi),Xi=n(388),Yi=n.n(Xi),Ji=n(386),qi=n.n(Ji),_i=n(385),$i=n.n(_i),er=n(387),tr=n.n(er),nr=[{text:"Dashboards",href:"/dashboard",icon:Object(De.jsx)(Qi.a,{htmlColor:"#757575",style:{fontSize:25}}),expandable:!0,secSidebar:!0},{text:"Reports",href:"/reports",icon:Object(De.jsx)($i.a,{htmlColor:"#757575",style:{fontSize:25}})},{text:"Settings",href:"/settings",icon:Object(De.jsx)(qi.a,{htmlColor:"#757575",style:{fontSize:25}})},{text:"Team",href:"/team",icon:Object(De.jsx)(tr.a,{htmlColor:"#757575",style:{fontSize:25}})},{text:"Documentation",href:"/documentation",icon:Object(De.jsx)(Yi.a,{htmlColor:"#757575",style:{fontSize:25}})}];function ar(){var e,t=zi(),n=Object(Ze.h)(),a=Object(Ze.g)(),i=Object(m.useState)(!1),r=Object(j.a)(i,2),o=r[0],c=r[1],s=Object(m.useState)(!1),l=Object(j.a)(s,2),d=l[0],u=l[1],h=Object(m.useState)(!1),b=Object(j.a)(h,2),f=b[0],x=b[1],O=Object(m.useState)(!1),v=Object(j.a)(O,2),C=v[0],A=v[1],y=Be(),w=y.fullName,I=y.organization,k=y.user,S=y.logOut,E=y.updateOrganizationPrimaryDashboard,R="view"===(null===k||void 0===k?void 0:k.role),N=Object(m.useRef)(),D=We(),M=D.dashboardSidebarOpen,T=D.filterSidebarOpen,B=D.isSmallSidebar,L=D.secondSidebarOpen,F=D.setSecondSidebarOpen,P=D.setWidth,z=D.setDashboardSidebar,G=D.openFilterSidebar,W=D.toggleFilterSidebar,H=xa(),U=H.genres,V=H.selectedGenres,K=H.dashboardId,Z=H.publishers,Q=H.selectedPublishers,X=H.selectPuplisher,Y=H.selectDashboard,J=H.selectGenres,q=H.customFilters,_=H.setSelectedCustomFilter,$=H.refreshCustomFilters,ee=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=Be(),n=t.organization,a=t.fetchOrganization,i=Bt(),r=i.handleSuccess,o=i.handleError,c=Object(m.useCallback)(function(){var t=Object(g.a)(Object(p.a)().mark((function t(i,c){return Object(p.a)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(null!==n&&void 0!==n&&n.apiKey){t.next=2;break}return t.abrupt("return");case 2:return t.prev=2,t.next=5,he(n.apiKey,i,c);case 5:if(r("Successfully updated the dashboard favorite status."),!e){t.next=9;break}return t.next=9,a();case 9:t.next=14;break;case 11:t.prev=11,t.t0=t.catch(2),o(t.t0,"There was an error while updating dashboard favorite status.");case 14:case"end":return t.stop()}}),t,null,[[2,11]])})));return function(e,n){return t.apply(this,arguments)}}(),[n,e,a,o,r]);return{onChangeFavoriteDashboard:c}}(),te=ee.onChangeFavoriteDashboard,ne=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=Be(),n=t.organization,a=t.fetchOrganization,i=Bt(),r=i.handleSuccess,o=i.handleError,c=Object(m.useCallback)(function(){var t=Object(g.a)(Object(p.a)().mark((function t(i){return Object(p.a)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(null!==n&&void 0!==n&&n.apiKey){t.next=2;break}return t.abrupt("return");case 2:return t.prev=2,t.next=5,ue(n.apiKey,i);case 5:if(r("Successfully deleted the dashboard."),!e){t.next=9;break}return t.next=9,a();case 9:Xt(Kt.DELETE_DASHBOARD),t.next=15;break;case 12:t.prev=12,t.t0=t.catch(2),o(t.t0,"There was an error while deleting the dashboard.");case 15:case"end":return t.stop()}}),t,null,[[2,12]])})));return function(e){return t.apply(this,arguments)}}(),[n,e,a,o,r]);return{onDeleteDashboard:c}}(),ae=ne.onDeleteDashboard,ie=Object(m.useMemo)((function(){return I?qt(I):[]}),[I]);Object(m.useEffect)((function(){if(I&&!K){var e=qt(I);if(e.length){var t=e.find((function(e){return e.id===(null===I||void 0===I?void 0:I.primaryDashboardId)}))||e[0];Y(t),G()}}}),[I,K]),Object(m.useEffect)((function(){n.pathname.includes("/dashboard")&&!R&&F(!0)}),[n,R]),Object(m.useEffect)((function(){C&&$()}),[C]);Di({ref:N,handleClickAway:function(){c(!1)}});var re=function(){var e=Object(g.a)(Object(p.a)().mark((function e(t){return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ae(t);case 2:ie&&ie.length&&(t===ie[0].id?ie[1]&&Y(ie[1]):Y(ie[0]));case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return I&&n.pathname!==en?Object(De.jsx)(Ye.a,{color:"inherit",position:"fixed",className:Object(Xe.default)({SmallSidebar:B}),children:Object(De.jsxs)(Je.a,{display:"flex",flexDirection:"row",alignItems:"center",children:[Object(De.jsxs)(qe.a,{className:t.drawer,variant:"permanent",classes:{paper:t.drawerPaper},anchor:"left",children:[Object(De.jsx)(_e.a,{item:!0,container:!0,alignItems:"center",wrap:"nowrap",justifyContent:"flex-start",className:t.logoContainer,children:Object(De.jsxs)(Je.a,{className:t.menuContainer,children:[Object(De.jsx)(rt.a,{htmlColor:"#757575",className:t.menuOpenIcon,onClick:function(){P(B?Fe:Pe)}}),!B&&Object(De.jsx)(ht,{height:37})]})}),Object(De.jsxs)($e.a,{className:t.listContainer,component:"nav",children:[nr.map((function(e){return"Team"===e.text&&R?Object(De.jsx)(De.Fragment,{}):Object(De.jsx)(m.Fragment,{children:Object(De.jsxs)(et.a,{button:!0,to:e.href,component:Qe.b,className:t.listItem,selected:n.pathname===e.href,classes:{selected:t.active},onClick:function(){!function(e){"Dashboards"===e.text?(z(!M),$()):(F(!1),z(!1),Y(null))}(e)},children:[Object(De.jsx)(tt.a,{children:e.icon}),!B&&Object(De.jsx)(nt.a,{primary:e.text})]})},e.text)})),Object(De.jsx)(Je.a,{height:80}),Object(De.jsxs)(et.a,{button:!0,className:Object(Xe.default)(t.listItem,t.logOutButton,B?t.logOutSmall:null),onClick:function(){Xt(Kt.USER_LOGOUT),S()},children:[Object(De.jsx)(at.a,{children:null!==(e=null===w||void 0===w?void 0:w[0])&&void 0!==e?e:""}),!B&&Object(De.jsxs)(De.Fragment,{children:[Object(De.jsx)(nt.a,{primary:w}),Object(De.jsx)(tt.a,{children:Object(De.jsx)(Ni,{color:"rgba(0, 0, 0, 0.54)"})})]})]})]})]}),L&&Object(De.jsx)(qe.a,{anchor:"left",classes:{paper:t.drawerPaperSecondary},className:t.drawerExt,variant:"permanent",children:Object(De.jsx)(Ri,{openSelection:o,openIABCategories:d,openGenres:f,onDelete:re,onMakePrimary:function(e){E(e)},setOpenSelection:c,setOpenIABCategories:u,setOpenGenres:x,openCustomFilters:C,setOpenCustomFilters:A})}),M&&Object(De.jsx)(qe.a,{anchor:"left",classes:{paper:t.drawerPaperSecondary},className:t.drawerExt,variant:"permanent",children:Object(De.jsx)(Pn,{selectedDashboardId:K,dashboards:ie,onChangeFavorite:te,onSelectDashboard:function(e){Y(e),z(!1),n.pathname!==_t&&a.push(_t),R||F(!0),T||W()}})}),Object(De.jsx)(Gi,{isOpen:d,isSmallSidebar:B,handleClose:function(){u(!1)}}),Object(De.jsx)(Ui,{genres:U,selectedGenres:V,isOpen:f,isSmallSidebar:B,handleClose:function(){x(!1)},handleSave:function(e){J(e),x(!1)}}),Object(De.jsx)(Vi,{publishers:Z,selectedPublishers:Q,isOpen:o,isSmallSidebar:B,handleClose:function(){c(!1)},handleSave:function(e){X(e),c(!1)}}),Object(De.jsx)(Ki,{filters:q,isOpen:C,isSmallSidebar:B,handleClose:function(){A(!1)},handleSelect:function(e){_(e),A(!1)}})]})}):null}function ir(){return new URLSearchParams(Object(Ze.h)().search)}var rr=Object(ot.a)((function(){return Object(ct.a)({container:{position:"absolute",top:0,left:0,right:0,bottom:0}})}));function or(e){var t=e.noContainer,n=rr(),a=Object(De.jsx)(_e.a,{container:!0,direction:"column",justifyContent:"center",alignItems:"center",className:n.container,children:Object(De.jsx)(Ke.a,{color:"primary"})});return t?Object(De.jsx)(Je.a,{width:1,height:"100px",display:"flex",justifyContent:"center",alignItems:"center",position:"relative",children:a}):a}var cr,sr=n(180),lr=n.n(sr),dr=Object(ot.a)((function(e){return Object(ct.a)({passwordForm:{padding:e.spacing(4),border:"1px solid ".concat(e.palette.gray.main),borderRadius:e.spacing(3)}})})),ur=[{name:"firstName",label:"What is your first name?",required:!0},{name:"lastName",label:"What is your last name?",required:!0},{name:"password",label:"What is your password?",type:"password",required:!0},{name:"currentJob",label:"Briefly describe your job:"},{name:"joinReason",label:"Why do you want to use Barometer?"}],hr=function(e){var t=e.current,n=e.onSubmit,a=dr(),i=Object(m.useState)({email:"",password:"",firstName:"",lastName:"",invitationCode:"",currentJob:"",joinReason:""}),r=Object(j.a)(i,2),o=r[0],c=r[1];Object(m.useEffect)((function(){c((function(e){return Object(b.a)(Object(b.a)({},e),{},{email:t.email,firstName:t.firstName,lastName:t.lastName,invitationCode:t.invitationCode||""})}))}),[t]);var s=function(e,t){t&&c(Object(b.a)(Object(b.a)({},o),{},Object(gn.a)({},t,e)))};return Object(De.jsx)("form",{onSubmit:function(e){e.preventDefault(),n(o)},className:a.passwordForm,children:Object(De.jsxs)(_e.a,{container:!0,spacing:1,children:[ur.map((function(e){return Object(De.jsx)(_e.a,{item:!0,xs:12,children:Object(De.jsx)(Dn,{name:e.name,label:e.label,required:e.required,type:e.type,value:lr()(o,e.name),fullWidth:!0,onChange:s})},e.name)})),Object(De.jsx)(_e.a,{item:!0,xs:12,children:Object(De.jsx)(Mt,{fullWidth:!0,color:"primary",title:"Start using Barometer",type:"Submit"})})]})})},br=Object(ot.a)((function(e){return Object(ct.a)({container:{display:"flex",minHeight:"100vh",alignItems:"center",padding:e.spacing(8)}})})),pr=function(){var e=ir(),t=br(),n=Object(Ze.g)(),a=Be().fetchUser,i=lt(),r=Bt(),o=r.handleSuccess,c=r.handleError,s=Object(m.useState)(),l=Object(j.a)(s,2),d=l[0],u=l[1],h=Object(m.useState)(),b=Object(j.a)(h,2),f=b[0],x=b[1],O=e.get("invitationCode"),v=Object(m.useCallback)(Object(g.a)(Object(p.a)().mark((function e(){var t,n;return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(O){e.next=2;break}return e.abrupt("return");case 2:return e.prev=2,e.next=5,oe(O);case 5:return t=e.sent,u(t),e.next=9,U(t.organizationId);case 9:n=e.sent,x(n),e.next=16;break;case 13:e.prev=13,e.t0=e.catch(2),c(e.t0,"Invitation not found.");case 16:case"end":return e.stop()}}),e,null,[[2,13]])}))),[O]);Object(m.useEffect)((function(){v()}),[v]);var C=function(){var e=Object(g.a)(Object(p.a)().mark((function e(t){return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,re(t);case 3:return o("You have accepted an invitation successfully."),Xt(Kt.ACCEPT_INVITATION),e.next=7,a();case 7:n.push("/dashboard"),e.next=13;break;case 10:e.prev=10,e.t0=e.catch(0),c(e.t0,"Invitation accept was not successful.");case 13:case"end":return e.stop()}}),e,null,[[0,10]])})));return function(t){return e.apply(this,arguments)}}();return d?Object(De.jsxs)(_e.a,{container:!0,spacing:8,justifyContent:"center",className:t.container,children:[Object(De.jsxs)(_e.a,{item:!0,xs:7,children:[Object(De.jsx)(_e.a,{item:!0,xs:12,children:Object(De.jsxs)(gt.a,{variant:"h5",children:["You have been invited to join the ",null===f||void 0===f?void 0:f.name,". Please fill out this brief form to get started!"]})}),Object(De.jsx)(_e.a,{item:!0,xs:12,children:Object(De.jsx)("img",{width:"100%",src:"/images/screens/barometer-select.png",alt:"dashboard"})})]}),Object(De.jsx)(_e.a,{item:!0,xs:5,className:i.padding3,children:Object(De.jsx)(hr,{current:d,onSubmit:C})})]}):Object(De.jsx)(_e.a,{container:!0,item:!0,xs:12,children:Object(De.jsx)(or,{})})},gr=n(390),jr=n.n(gr),mr=Object(ot.a)((function(){return Object(ct.a)({headline1:{fontWeight:700,fontSize:16,lineHeight:"24px",letterSpacing:"0.04em",color:"#202226",textTransform:"uppercase","@media screen and (min-width: 768px)":{fontSize:20,lineHeight:"40px"}},title2:{fontWeight:300,fontSize:30,lineHeight:"40px",color:"#202226","@media screen and (min-width: 768px)":{fontSize:48,lineHeight:"56px"}},body1:{fontWeight:300,fontSize:16,lineHeight:"24px",color:"#545454","@media screen and (min-width: 768px)":{fontSize:25,lineHeight:"40px"}},body2:{fontWeight:400,fontSize:16,lineHeight:"24px",color:"#202226","@media screen and (min-width: 768px)":{fontSize:25,lineHeight:"40px"}},caption:{fontWeight:400,fontSize:12,lineHeight:"16px",color:"#545454",textTransform:"uppercase"},callout1:{fontWeight:400,fontSize:12,lineHeight:"16px",color:"#E8E5E2","@media screen and (min-width: 768px)":{fontSize:16,lineHeight:"24px"}},callout2:{fontWeight:500,fontSize:16,lineHeight:"24px",letterSpacing:"-0.02em",color:"#545454"},dWebOnly:{display:"none","@media screen and (min-width: 768px)":{display:"block"}},mWebOnly:{dWeb:{display:"block","@media screen and (min-width: 768px)":{display:"none"}}}})})),fr=n(37),xr=n.n(fr),Or=n(226),vr=n.n(Or),Cr=n(408),Ar=function(e){var t=e.automaticLaunch,n=Object(Cr.a)("hasLaunchedDemo",!1),a=Object(j.a)(n,2),i=a[0],r=a[1],o=Object(m.useCallback)((function(){var e=document.getElementById("register-form-launch-button");e&&(e.click(),r(!0))}),[r]);return Object(m.useEffect)((function(){t&&!i&&setTimeout((function(){o()}),3e3)}),[t,i,o]),{launchScheduleDemo:o}},yr=["title","titleId"];function wr(){return wr=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function kr(e,t){var n=e.title,a=e.titleId,i=Ir(e,yr);return m.createElement("svg",wr({width:125,height:23,viewBox:"0 0 125 23",fill:"#202226",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":a},i),n?m.createElement("title",{id:a},n):null,cr||(cr=m.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.000825868 0H3.20971V9.66219C3.46647 9.57328 3.71545 9.47995 3.96017 9.38822C4.48652 9.19091 4.99322 9.00098 5.5155 8.87826C8.71812 8.12359 12.1381 9.89632 13.382 12.915C15.1735 17.2611 12.5019 21.9354 7.84221 22.6148C4.33229 23.1269 0.72204 20.4992 0.147159 17.0039C0.0593592 16.475 0.0070973 15.9336 0.0070973 15.3964C-0.00103255 11.5477 -0.000309661 7.70029 0.000412992 3.85414C0.00061944 2.75538 0.000825868 1.65672 0.000825868 0.558157V0ZM6.96421 11.6502C4.63123 11.646 2.8167 13.4397 2.81252 15.7517C2.80834 18.0722 4.61451 19.9076 6.91613 19.9202C9.24074 19.9348 11.0783 18.1307 11.0866 15.827C11.095 13.448 9.32435 11.6544 6.9663 11.6502H6.96421ZM55.631 9.52746H58.3883V10.9908C61.7812 8.63482 64.5051 8.78952 66.8673 11.411C68.7048 9.43548 70.9751 8.97348 73.4962 9.6278C75.2146 10.0731 76.2306 11.2897 76.6215 13.0018C76.7553 13.5893 76.8117 14.2059 76.818 14.8101C76.8345 16.4284 76.8316 18.0467 76.8286 19.6642V19.6645V19.6649V19.6653V19.6656V19.666V19.6663V19.6667C76.8275 20.2945 76.8263 20.9222 76.8263 21.5498V22.1393H73.8767V21.5352C73.8767 20.9724 73.8777 20.4097 73.8788 19.847V19.8469V19.8468V19.8467V19.8465V19.8464V19.8463V19.8462C73.8817 18.3188 73.8846 16.7918 73.8662 15.2658C73.86 14.7516 73.7784 14.2268 73.6446 13.7293C73.3645 12.6778 72.4614 12.036 71.3848 11.9524C69.0038 11.7684 67.7788 13.3154 67.7119 15.2177C67.6627 16.6501 67.6676 18.0844 67.6725 19.5194V19.5195V19.5197V19.5199V19.52V19.5202V19.5204V19.5205C67.6746 20.1585 67.6768 20.7967 67.6742 21.4348V22.1372H64.7204V21.5498C64.7204 20.9706 64.7218 20.3913 64.7232 19.8119C64.7269 18.2665 64.7307 16.7207 64.7078 15.1759C64.6995 14.6303 64.6033 14.0617 64.4215 13.5474C64.0598 12.5252 63.2738 12.036 62.193 11.9566C59.7137 11.7747 58.5765 13.3969 58.5409 15.5104C58.5178 16.8932 58.5237 18.276 58.5295 19.6588C58.5321 20.2787 58.5347 20.8986 58.5347 21.5184V22.1289H55.6289V9.52955L55.631 9.52746ZM29.1174 9.31367H26.4333C26.4241 9.47864 26.4149 9.63419 26.4058 9.78974V9.78978L26.4057 9.79122V9.79126C26.3961 9.95451 26.3864 10.1178 26.3768 10.292C23.0571 7.90468 19.1521 8.99591 17.2456 11.1052C15.2492 13.3148 14.9168 16.8477 16.5725 19.4441C17.3857 20.7214 18.5124 21.6308 19.9423 22.1178C22.2126 22.8892 24.3553 22.5736 26.3747 21.1332C26.3855 21.3453 26.3953 21.5359 26.4044 21.7129C26.4149 21.9145 26.4244 22.0986 26.4333 22.2767H29.1174V9.31367ZM22.2732 19.9646C19.9005 19.9709 18.1153 18.194 18.1111 15.8213H18.109C18.1048 13.4779 19.888 11.6759 22.2147 11.6675C24.5309 11.6592 26.3455 13.4612 26.3643 15.79C26.3831 18.1229 24.5832 19.9605 22.2732 19.9646ZM84.307 19.4897C83.1145 19.0449 82.3623 18.1515 82.1211 16.7888H82.7935H91.3624C91.4027 16.7888 91.4433 16.7877 91.4839 16.7865H91.484C91.5655 16.7842 91.6473 16.7818 91.7282 16.7888C91.9916 16.8139 92.1066 16.7052 92.1149 16.4355C92.1484 15.4028 92.0982 14.3785 91.7198 13.4043C90.6788 10.7306 88.6698 9.46587 85.8477 9.36762C82.5865 9.25682 79.9379 11.2783 79.2857 14.3973C78.6899 17.2508 79.8208 20.0186 82.1935 21.367C84.169 22.4895 86.2825 22.6192 88.4524 22.0505C89.552 21.7621 90.5053 21.2123 91.2536 20.2862L90.712 19.665L90.7065 19.6587C90.3652 19.2672 90.028 18.8805 89.6962 18.5009C88.0615 19.9454 86.2511 20.2151 84.307 19.4897ZM89.2823 14.8091C89.1402 12.8796 87.495 11.6065 85.3669 11.7131C83.6569 11.7988 82.089 13.2873 82.1392 14.8091H89.2823ZM115.358 16.7899H115.361L115.357 16.792L115.358 16.7899ZM114.028 11.6285C115.231 13.1143 115.549 14.857 115.358 16.7899H105.428C105.58 17.8581 106.124 18.6191 106.977 19.1668C108.636 20.2329 111.101 20.0615 112.644 18.7926C112.705 18.7423 112.766 18.6898 112.833 18.6313L112.919 18.5576C112.941 18.5384 112.964 18.5185 112.989 18.4978L113.621 19.2206C113.931 19.5743 114.239 19.9268 114.55 20.2831C113.806 21.2113 112.855 21.7694 111.755 22.0475C109.261 22.6767 106.87 22.4802 104.767 20.8684C102.635 19.2316 101.899 16.3342 102.808 13.5434C103.588 11.154 105.871 9.51295 108.511 9.38334C110.712 9.27464 112.61 9.87878 114.028 11.6285ZM108.967 11.7059C110.93 11.6891 112.562 13.0877 112.558 14.8102H105.436C105.4 13.1525 107.039 11.7226 108.967 11.7059ZM46.6403 9.36726C49.7404 9.35472 52.1738 10.8954 53.0873 13.5649C54.3876 17.3738 52.4246 21.4858 48.1308 22.2216C45.5511 22.6648 43.2056 22.1422 41.4601 20.0893C39.6685 17.9821 39.4511 15.5195 40.5465 13.0444C41.5897 10.6843 43.5882 9.56795 46.1302 9.39026C46.3194 9.37778 46.5106 9.37151 46.6382 9.36733L46.6403 9.36726ZM42.9234 15.8666C42.915 19.4141 46.2452 20.6161 48.5489 19.3827C50.1355 18.534 50.6017 17.0644 50.4658 15.3502C50.2798 12.9922 48.2395 11.4515 45.9253 11.9218C44.0272 12.3065 42.915 13.7677 42.9234 15.8666ZM97.7526 6.69141H94.8552V6.69559C94.8513 6.73324 94.8473 6.76726 94.8435 6.79878L94.8434 6.79911C94.835 6.86895 94.8281 6.92651 94.8281 6.98407C94.8276 7.87202 94.8264 8.75985 94.8253 9.64762V9.64793V9.64824C94.8214 12.6081 94.8176 15.5673 94.8385 18.5277C94.8469 19.4433 95.1124 20.3171 95.7416 21.03C96.7576 22.1798 98.108 22.4139 99.54 22.3512C100.431 22.3115 101.288 22.1087 102.032 21.5024L101.772 20.8449L101.765 20.8275C101.584 20.3705 101.404 19.9152 101.221 19.4496C101.158 19.481 101.101 19.5104 101.047 19.538C100.969 19.5785 100.897 19.6155 100.824 19.6503C99.0738 20.4844 97.7694 19.6816 97.7694 17.7688V13.59V11.9636H101.139V9.58463H97.7526V6.69141ZM31.8301 9.52713H34.6062V11.3354C35.825 9.76963 37.374 9.34735 39.1509 9.38289V12.0441C38.9426 12.0664 38.7341 12.0817 38.5266 12.097L38.5266 12.097C38.074 12.1302 37.6263 12.1631 37.1963 12.2677C35.8208 12.6043 34.878 13.7875 34.8195 15.3407C34.7668 16.7763 34.7643 18.2129 34.7618 19.6497C34.7607 20.2655 34.7597 20.8814 34.7547 21.4972V22.1411H31.8301V9.52922V9.52713ZM119.882 22.1672C120.134 22.1685 120.393 22.1698 120.66 22.1698V21.5447C120.665 20.9233 120.668 20.3019 120.671 19.6804C120.678 18.2302 120.684 16.78 120.727 15.3297C120.777 13.649 121.879 12.4407 123.52 12.1836C123.861 12.1295 124.208 12.1112 124.554 12.093C124.703 12.0851 124.852 12.0772 125 12.0665V9.39279C123.246 9.3259 121.755 9.80252 120.524 11.2805V9.53494H117.7V10.1412V15.6809C117.7 16.2154 117.7 16.7498 117.701 17.284C117.702 18.7536 117.704 20.2223 117.693 21.6911C117.691 22.0506 117.794 22.1865 118.166 22.1761C118.726 22.1614 119.287 22.1642 119.882 22.1672Z"})))}var Sr=m.forwardRef(kr),Er=(n.p,n.p+"static/media/background.bc80df1b.png"),Rr=Object(ot.a)((function(){return Object(ct.a)({container:{width:"100%",minHeight:"100%",background:"#EFEDEB",display:"flex",flexDirection:"column",rowGap:24,"@media screen and (min-width: 768px)":{flexDirection:"row"}},leftImg:{display:"none",margin:16,width:422,height:"calc(100vh - 32px)",minWidth:300,background:"#E8E5E2",borderRadius:2,position:"relative","@media screen and (min-width: 768px)":{display:"flex",alignItems:"flex-end","& > img":{width:"100%"}}},mainContent:{padding:16,flex:1,display:"flex",justifyContent:"center",alignItems:"center",overflow:"auto",position:"relative","& > div":{width:"100%",maxWidth:574,display:"flex",flexDirection:"column",justifyContent:"center"}},backBtn:{position:"absolute",width:"auto",height:"auto",fontWeight:400,top:45,left:16,padding:0,justifyContent:"flex-start",color:"#545454","@media screen and (min-width: 756px)":{top:38},"@media screen and (min-width: 1040px)":{left:"calc(50% - 287px)"},"& .MuiInput-underline:before":{top:0}},loginBtn:{background:"linear-gradient(259.81deg, #E671A9 -4.16%, #9873CB 49.59%, #7570DF 84.28%, #736FD5 126.47%)",borderRadius:2,padding:"6px 16px",height:40,marginTop:52,"&:hover":{background:"linear-gradient(259.81deg, #E671A9 -4.16%, #9873CB 49.59%, #7570DF 84.28%, #736FD5 126.47%)"},"& > .MuiButton-label":{display:"flex",alignItems:"center",gap:45,fontSize:16,lineHeight:"24px",color:"#EFEDEB",fontWeight:500}},logoIcon:{position:"absolute",left:32,top:40},mobileMenu:{width:"100%",background:"linear-gradient(180deg, rgba(219, 213, 195, 0.54) 0%, rgba(219, 213, 195, 0) 100%)","@media screen and (min-width: 768px)":{display:"none"},"& > div":{width:"100%",maxWidth:1600,height:80,margin:"auto",padding:"0 16px",display:"flex",alignItems:"center",justifyContent:"space-between",flexWrap:"wrap",gap:8,zIndex:100,position:"relative"}}})})),Nr=function(e){var t=e.children,n=e.secondaryBack,a=void 0!==n&&n,i=Rr(),r=mr(),o=Object(Ze.g)(),c=Ar({automaticLaunch:!1}).launchScheduleDemo,s=Object(m.useState)(null),l=Object(j.a)(s,2),d=l[0],u=l[1],h=function(){u(null)};return Object(De.jsxs)("div",{className:i.container,children:[Object(De.jsxs)("div",{className:i.leftImg,children:[Object(De.jsx)(Sr,{className:i.logoIcon}),Object(De.jsx)("img",{src:Er,alt:"auth background"})]}),Object(De.jsx)("div",{className:i.mobileMenu,children:Object(De.jsxs)("div",{children:[Object(De.jsx)(Sr,{}),Object(De.jsx)(Mt,{"aria-controls":"simple-menu","aria-haspopup":"true",variant:"text",onClick:function(e){u(e.currentTarget)},children:Object(De.jsx)(vr.a,{})}),Object(De.jsxs)(wn.a,{id:"simple-menu",anchorEl:d,keepMounted:!0,open:Boolean(d),onClose:h,children:[Object(De.jsx)(In.a,{onClick:function(){h(),o.push(nn)},children:"Our Mission"}),Object(De.jsx)(In.a,{onClick:function(){"www.thebarometer.co"===window.location.host?window.location.assign("https://app.thebarometer.co/login"):(h(),o.push(tn))},children:"Login"}),Object(De.jsx)(In.a,{onClick:function(e){e.preventDefault(),h(),c()},children:"Let\u2019s connect \u2192"})]})]})}),Object(De.jsxs)("div",{className:i.mainContent,children:[Object(De.jsx)(Mt,{variant:"text",className:xr()(i.backBtn,r.callout2),onClick:function(){a?o.goBack():o.push(en)},children:a?"\u2190 Back":"\u2190 Back to content"}),Object(De.jsx)("div",{children:t})]})]})},Dr=Object(ot.a)((function(){return Object(ct.a)({input:{width:"100%","& .MuiInputBase-input":{fontWeight:400,fontSize:20,lineHeight:"32px",color:"#545454","@media screen and (min-width: 768px)":{fontSize:25,lineHeight:"40px"}},"& .MuiInput-underline:before":{borderBottomColor:"#545454"}},backBtn:{position:"absolute",width:"auto",fontWeight:400,top:45,left:16,padding:0,justifyContent:"flex-start",color:"#545454","@media screen and (min-width: 768px)":{left:"calc(50% - 287px)",top:38},"& .MuiInput-underline:before":{top:0}},link:{color:"#A172D7",width:"auto",height:"auto",padding:0},inputsContainer:{marginTop:52,marginBottom:12,display:"flex",flexDirection:"column",gap:24},signup:{marginTop:24,display:"flex",alignItems:"center"},loginBtn:{background:"linear-gradient(259.81deg, #E671A9 -4.16%, #9873CB 49.59%, #7570DF 84.28%, #736FD5 126.47%)",borderRadius:2,padding:"6px 16px",height:40,marginTop:52,"&:hover":{background:"linear-gradient(259.81deg, #E671A9 -4.16%, #9873CB 49.59%, #7570DF 84.28%, #736FD5 126.47%)"},"& > .MuiButton-label":{display:"flex",alignItems:"center",gap:45,fontSize:16,lineHeight:"24px",color:"#EFEDEB",fontWeight:500}}})})),Mr=function(){var e=ir(),t=Dr(),n=Object(Ze.g)(),a=mr(),i=e.get("code")||"",r=e.get("email")||"",o=Object(m.useState)(!1),c=Object(j.a)(o,2),s=c[0],l=c[1],d=Object(m.useState)(!1),u=Object(j.a)(d,2),h=u[0],f=u[1],x=Bt(),O=x.handleError,v=x.handleSuccess,C=Object(m.useState)({code:"",email:"",password:"",confirmPassword:""}),A=Object(j.a)(C,2),y=A[0],w=A[1],I=Object(m.useCallback)(Object(g.a)(Object(p.a)().mark((function e(){return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,ee({code:i,email:r});case 3:f(!0),w((function(e){return Object(b.a)(Object(b.a)({},e),{},{code:i,email:r})})),v("Your Password Reset Link has been verified."),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(0),O(e.t0,"Your Password Reset Link is not valid.");case 11:case"end":return e.stop()}}),e,null,[[0,8]])}))),[i,r,v,O]);Object(m.useEffect)((function(){I()}),[I]);var k=function(){var e=Object(g.a)(Object(p.a)().mark((function e(t){return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.preventDefault(),y.password!==y.confirmPassword){e.next=11;break}return e.prev=2,l(!0),e.next=6,te(jr()(y,"confirmPassword"));case 6:Xt(Kt.VERIFY_RESET_CODE),n.push(tn);case 8:return e.prev=8,l(!1),e.finish(8);case 11:case"end":return e.stop()}}),e,null,[[2,,8,11]])})));return function(t){return e.apply(this,arguments)}}(),S=function(e,t){t&&w(Object(b.a)(Object(b.a)({},y),{},Object(gn.a)({},t,e)))};return h?Object(De.jsx)(Nr,{children:Object(De.jsxs)("form",{onSubmit:k,children:[Object(De.jsx)(gt.a,{className:a.headline1,children:"Set new password"}),Object(De.jsx)(gt.a,{className:a.body1,children:"Please enter a new secure password for Barometer, and please confirm your password below."}),Object(De.jsxs)("div",{className:t.inputsContainer,children:[Object(De.jsx)(jt.a,{id:"email",placeholder:"Email",className:t.input,value:r}),Object(De.jsx)(jt.a,{id:"password",type:"password",placeholder:"Password",className:t.input,value:y.password,onChange:function(e){return S(e.target.value,"password")}}),Object(De.jsx)(jt.a,{id:"confirmPassword",type:"password",placeholder:"Confirm Password",className:t.input,value:y.confirmPassword,onChange:function(e){return S(e.target.value,"confirmPassword")}})]}),Object(De.jsx)("div",{children:Object(De.jsxs)(Mt,{className:t.loginBtn,color:"primary",type:"submit",disabled:s,children:[Object(De.jsx)("span",{children:"Send password reset link"}),Object(De.jsx)("span",{children:"\u2192"})]})})]})}):null},Tr=Object(ot.a)((function(){return Object(ct.a)({input:{width:"100%","& .MuiInputBase-input":{fontWeight:400,fontSize:20,lineHeight:"32px",color:"#545454","@media screen and (min-width: 768px)":{fontSize:25,lineHeight:"40px"}},"& .MuiInput-underline:before":{borderBottomColor:"#545454"}},backBtn:{position:"absolute",width:"auto",fontWeight:400,top:45,left:16,padding:0,justifyContent:"flex-start",color:"#545454","@media screen and (min-width: 768px)":{left:"calc(50% - 287px)",top:38},"& .MuiInput-underline:before":{top:0}},link:{color:"#A172D7",width:"auto",height:"auto",padding:0},inputsContainer:{marginTop:52,marginBottom:12,display:"flex",flexDirection:"column",gap:24},signup:{marginTop:24,display:"flex",alignItems:"center"},loginBtn:{background:"linear-gradient(259.81deg, #E671A9 -4.16%, #9873CB 49.59%, #7570DF 84.28%, #736FD5 126.47%)",borderRadius:2,padding:"6px 16px",height:40,marginTop:52,"&:hover":{background:"linear-gradient(259.81deg, #E671A9 -4.16%, #9873CB 49.59%, #7570DF 84.28%, #736FD5 126.47%)"},"& > .MuiButton-label":{display:"flex",alignItems:"center",gap:45,fontSize:16,lineHeight:"24px",color:"#EFEDEB",fontWeight:500}}})})),Br=function(){var e=Tr(),t=mr(),n=Object(m.useState)(""),a=Object(j.a)(n,2),i=a[0],r=a[1],o=Object(m.useState)(!1),c=Object(j.a)(o,2),s=c[0],l=c[1],d=Object(m.useState)(!1),u=Object(j.a)(d,2),h=u[0],b=u[1],f=function(){var e=Object(g.a)(Object(p.a)().mark((function e(t){return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.preventDefault(),e.prev=1,b(!0),e.next=5,$(i);case 5:Xt(Kt.SEND_RESET_PASSWORD_CODE),l(!0),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(1),b(!1);case 12:case"end":return e.stop()}}),e,null,[[1,9]])})));return function(t){return e.apply(this,arguments)}}();return Object(De.jsx)(Nr,{secondaryBack:!0,children:Object(De.jsxs)("form",{onSubmit:f,children:[Object(De.jsx)(gt.a,{className:t.headline1,children:"Reset my password"}),Object(De.jsx)(gt.a,{className:t.body1,children:s?"You have requested a password reset for the Barometer account and you should have received a link shortly. Please click on the link to reset your password.":"Please enter the email address you used to sign up for Barometer. If an account exists, you will receive an email with next steps."}),Object(De.jsx)("div",{className:e.inputsContainer,children:Object(De.jsx)(jt.a,{id:"email",placeholder:"Email",className:e.input,value:i,onChange:function(e){return r(e.target.value)}})}),Object(De.jsx)("div",{children:Object(De.jsxs)(Mt,{className:e.loginBtn,color:"primary",type:"submit",disabled:h,children:[Object(De.jsx)("span",{children:"Send password reset link"}),Object(De.jsx)("span",{children:"\u2192"})]})})]})})},Lr=Object(ot.a)((function(){return Object(ct.a)({input:{width:"100%","& .MuiInputBase-input":{fontWeight:400,fontSize:20,lineHeight:"32px",color:"#545454","@media screen and (min-width: 768px)":{fontSize:25,lineHeight:"40px"}},"& .MuiInput-underline:before":{borderBottomColor:"#545454"}},backBtn:{position:"absolute",width:"auto",fontWeight:400,top:45,left:16,padding:0,justifyContent:"flex-start",color:"#545454","@media screen and (min-width: 768px)":{left:"calc(50% - 287px)",top:38},"& .MuiInput-underline:before":{top:0}},link:{color:"#A172D7",width:"auto",height:"auto",padding:0},inputsContainer:{marginTop:52,marginBottom:12,display:"flex",flexDirection:"column",gap:24},signup:{marginTop:24,display:"flex",alignItems:"center"},loginBtn:{background:"linear-gradient(259.81deg, #E671A9 -4.16%, #9873CB 49.59%, #7570DF 84.28%, #736FD5 126.47%)",borderRadius:2,padding:"6px 16px",height:40,marginTop:52,minWidth:140,"&:hover":{background:"linear-gradient(259.81deg, #E671A9 -4.16%, #9873CB 49.59%, #7570DF 84.28%, #736FD5 126.47%)"},"& > .MuiButton-label":{display:"flex",alignItems:"center",gap:45,fontSize:16,lineHeight:"24px",color:"#EFEDEB",fontWeight:500}}})})),Fr=function(){var e=Lr(),t=mr(),n=Object(Ze.g)(),a=Be().logIn,i=Object(m.useState)(""),r=Object(j.a)(i,2),o=r[0],c=r[1],s=Object(m.useState)(""),l=Object(j.a)(s,2),d=l[0],u=l[1],h=Object(m.useState)(!1),b=Object(j.a)(h,2),f=b[0],x=b[1],O=Bt().handleError,v=function(){var e=Object(g.a)(Object(p.a)().mark((function e(t){return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.preventDefault(),!o||!d){e.next=14;break}return e.prev=2,x(!0),e.next=6,a(o,d);case 6:Xt(Kt.USER_LOGIN),n.push("/dashboard"),e.next=14;break;case 10:e.prev=10,e.t0=e.catch(2),x(!1),O(e.t0,"Incorrect email or password.");case 14:case"end":return e.stop()}}),e,null,[[2,10]])})));return function(t){return e.apply(this,arguments)}}();return Object(De.jsx)(Nr,{children:Object(De.jsxs)("form",{onSubmit:v,children:[Object(De.jsx)(gt.a,{className:t.headline1,children:"Login"}),Object(De.jsxs)(gt.a,{className:t.body1,children:["Stop guessing what\u2019s in the podcast.",Object(De.jsx)("br",{}),"Know with Barometer."]}),Object(De.jsxs)("div",{className:e.inputsContainer,children:[Object(De.jsx)(jt.a,{id:"email",placeholder:"Email",className:e.input,value:o,onChange:function(e){return c(e.target.value)}}),Object(De.jsx)(jt.a,{id:"password",type:"password",placeholder:"Password",className:e.input,value:d,onChange:function(e){return u(e.target.value)}})]}),Object(De.jsx)("div",{children:Object(De.jsx)(Mt,{variant:"text",className:xr()(t.callout2,e.link),onClick:function(){n.push(rn)},children:"Reset my password?"})}),Object(De.jsx)("div",{children:Object(De.jsx)(Mt,{className:e.loginBtn,color:"primary",type:"submit",disabled:f,children:f?Object(De.jsx)(Ke.a,{style:{color:"#fff"},size:24}):Object(De.jsxs)(De.Fragment,{children:[Object(De.jsx)("span",{children:"Log in"}),Object(De.jsx)("span",{children:"\u2192"})]})})})]})})};function Pr(){var e=Gr(),t=Object(Ze.g)(),n=Object(c.b)().enqueueSnackbar,a=Object(m.useState)(!1),i=Object(j.a)(a,2),r=i[0],o=i[1],s=Object(m.useState)(""),l=Object(j.a)(s,2),d=l[0],u=l[1],h=Object(m.useState)(""),b=Object(j.a)(h,2),f=b[0],x=b[1],O=function(){var e=Object(g.a)(Object(p.a)().mark((function e(a){return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a.preventDefault(),d===f){e.next=4;break}return n("Password and Confirm Password needs to be the same.",{variant:"warning"}),e.abrupt("return");case 4:return e.prev=4,o(!0),e.next=8,_(d);case 8:Xt(Kt.RESET_PASSWORD),t.push("/"),e.next=15;break;case 12:e.prev=12,e.t0=e.catch(4),o(!1);case 15:case"end":return e.stop()}}),e,null,[[4,12]])})));return function(t){return e.apply(this,arguments)}}();return Object(De.jsx)(_e.a,{container:!0,justifyContent:"center",children:Object(De.jsxs)(_e.a,{item:!0,xs:8,md:6,children:[Object(De.jsx)(Je.a,{my:1,children:Object(De.jsx)(gt.a,{variant:"h6",className:e.headerTitle,children:"Reset Password"})}),Object(De.jsxs)(Da.a,{className:e.formWrapper,children:[Object(De.jsx)(gt.a,{variant:"subtitle1",children:"Please enter and confirm your new password"}),Object(De.jsxs)("form",{className:e.form,onSubmit:O,children:[Object(De.jsx)(Dn,{label:"Password*:",type:"password",required:!0,value:d,fullWidth:!0,className:e.formControl,onChange:u}),Object(De.jsx)(Dn,{label:"Confirm Password*:",type:"password",required:!0,value:f,fullWidth:!0,className:e.formControl,onChange:x}),Object(De.jsx)(Mt,{color:"primary",type:"submit",title:"Reset password",width:"100%",height:"48px",className:e.formControl,disabled:r})]})]})]})})}var zr,Gr=Et()((function(e){return Nt()({form:{width:"100%",display:"flex",flexDirection:"column",alignItems:"flex-start"},headerTitle:{color:e.palette.grayText.main},formWrapper:{padding:e.spacing(2)},formControl:{marginTop:e.spacing(2)}})})),Wr=n(740),Hr=n.p+"static/media/cookie-icon.6d495a71.svg",Ur=Object(ot.a)((function(e){return Object(ct.a)({dialog:{margin:0,bottom:0,maxWidth:"100vw",position:"absolute"},container:{width:"100vw",padding:e.spacing(1,6)},link:{color:"black"}})})),Vr=[{code:"account",display:"Account"},{code:"login",display:"Login"},{code:"newsletters",display:"Email"},{code:"orders",display:"Orders"},{code:"surveys",display:"Surveys"},{code:"forms",display:"Forms"},{code:"third_party",display:"Third Party"}],Kr=function(){var e=Ur(),t=lt(),n=Object(m.useState)({confirmed:!1,account:!1,login:!1,newsletters:!1,orders:!1,surveys:!1,forms:!1,third_party:!1}),a=Object(j.a)(n,2),i=a[0],r=a[1],o=Object(m.useCallback)((function(){var e=JSON.parse(localStorage.getItem("cookiePolicy")||"{}");"object"===typeof e&&r({confirmed:e.confirmed||!1,account:e.account||!1,login:e.login||!1,newsletters:e.newsletters||!1,orders:e.orders||!1,surveys:e.surveys||!1,forms:e.forms||!1,third_party:e.third_party||!1})}),[]);Object(m.useEffect)((function(){o()}),[o]);var c=function(e,t){r(Object(b.a)(Object(b.a)({},i),{},Object(gn.a)({},e.target.name,t)))};return Object(m.useEffect)((function(){i.confirmed&&localStorage.setItem("cookiePolicy",JSON.stringify(i))}),[i]),Object(De.jsx)(Wr.a,{open:!i.confirmed,maxWidth:"xl",classes:{paper:e.dialog},children:Object(De.jsxs)(_e.a,{container:!0,justifyContent:"center",className:e.container,children:[Object(De.jsxs)(_e.a,{item:!0,xs:12,sm:10,md:8,children:[Object(De.jsxs)(_e.a,{container:!0,alignItems:"center",item:!0,xs:12,children:[Object(De.jsx)("img",{src:Hr,alt:"cookie"}),Object(De.jsx)(gt.a,{variant:"body1",className:t.ml1,children:"By using our website you agree to our Cookie Policy"})]}),Object(De.jsx)(_e.a,{item:!0,xs:12,children:Object(De.jsx)(Qe.b,{to:"/cookie-policy",className:e.link,children:"Click here to read the full details of our cookies policy."})}),Object(De.jsx)(_e.a,{item:!0,xs:12,children:Vr.map((function(e){return Object(De.jsx)(Li.a,{control:Object(De.jsx)(Ra.a,{name:e.code,checked:lr()(i,e.code),onChange:c}),label:e.display},e.code)}))})]}),Object(De.jsxs)(_e.a,{item:!0,xs:12,md:3,container:!0,spacing:2,children:[Object(De.jsx)(_e.a,{item:!0,xs:12,children:Object(De.jsx)(Mt,{title:"Accept all cookies",height:30,fullWidth:!0,color:"primary",onClick:function(){r({confirmed:!0,account:!0,login:!0,newsletters:!0,orders:!0,surveys:!0,forms:!0,third_party:!0}),Xt(Kt.ACCEPT_ALL)}})}),Object(De.jsx)(_e.a,{item:!0,xs:12,children:Object(De.jsx)(Mt,{title:"Accept selected",height:30,fullWidth:!0,color:"primary",onClick:function(){r(Object(b.a)(Object(b.a)({},i),{},{confirmed:!0})),Xt(Kt.ACCEPT_SELECTED)}})})]})]})})},Zr=n(292),Qr=n.n(Zr),Xr=n(293),Yr=n.n(Xr),Jr=n(391),qr=n.n(Jr),_r=Object(ot.a)((function(){return Object(ct.a)({container:{display:"flex",flexDirection:"column",padding:"36px 16px 24px",gap:12,width:"100%",minWidth:320},progressBar:{width:"100%"},cancelContainer:{width:34,marginLeft:"auto",display:"flex",justifyContent:"flex-end"}})})),$r=function(e){var t=e.value,n=e.title,a=void 0===n?"Downloading...":n,i=e.handleCancel,r=_r();return Object(De.jsxs)("div",{className:r.container,children:[Object(De.jsx)(gt.a,{align:"left",children:a}),Object(De.jsx)(qr.a,{completed:t,className:r.progressBar,bgColor:"#3F91DE"}),Object(De.jsx)("div",{className:r.cancelContainer,children:Object(De.jsx)(Mt,{title:"Cancel",color:"primary",height:32,fullWidth:!0,onClick:function(){return i()}})})]})},eo=["title","titleId"];function to(){return to=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function ao(e,t){var n=e.title,a=e.titleId,i=no(e,eo);return m.createElement("svg",to({width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":a},i),n?m.createElement("title",{id:a},n):null,zr||(zr=m.createElement("path",{d:"M3.1665 9.83335V10.8334C3.1665 11.9379 4.06193 12.8334 5.1665 12.8334H10.8332C11.9377 12.8334 12.8332 11.9379 12.8332 10.8334V9.83335M7.99984 9.50002V3.16669M7.99984 9.50002L5.83317 7.16669M7.99984 9.50002L10.1665 7.16669",stroke:"#2D2D38",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})))}var io=m.forwardRef(ao),ro=(n.p,Object(pt.a)(_e.a)((function(e){var t=e.theme;return{marginBottom:t.spacing(2),gap:t.spacing(4),"& svg":{fontSize:18,letterSpacing:"0.46px"},"& .MenuOption":{marginLeft:t.spacing(2.2)}}}))),oo=Object(pt.a)(kt.a)((function(){return{borderRadius:24,boxShadow:"0px 0px 0px 1px #E0E0E0",fontSize:14,fontWeight:500}})),co=Object(pt.a)(kt.a)((function(){return{borderRadius:8,border:"1px solid #C3C3C7",fontSize:14,lineHeight:"20px",fontWeight:500,padding:"6px 8px"}})),so=Object(pt.a)(kt.a)((function(){return{fontSize:14,fontWeight:500}})),lo=(Object(pt.a)(gt.a)((function(e){return{fontWeight:500,textTransform:"uppercase",marginLeft:e.theme.spacing(1.1)}})),Object(pt.a)(gt.a)((function(){return{fontWeight:600,fontSize:30,lineHeight:"40px"}}))),uo=Object(pt.a)(Wr.a)((function(){return{"& .MuiDialog-paper":{margin:0,background:"none",border:"none",boxShadow:"none"},"& .MuiBackdrop-root":{backgroundColor:"rgba(0, 0, 0, 0.2)"}}})),ho=function(e){var t=e.totalShowsCount,n=e.order,a=e.orderBy,i=e.searchText,r=e.dashboardId,o=e.dashboardName,c=e.onCreate,s=e.onNew,l=e.onUpdate,d=Be().user,u=Object(m.useState)(null),h=Object(j.a)(u,2),b=h[0],p=h[1],g=Boolean(b),f=Object(m.useState)(!1),x=Object(j.a)(f,2),O=x[0],v=x[1],C="view"===(null===d||void 0===d?void 0:d.role),A=ra().dashboardEnv,y=Sa({searchText:i,dashboardEnv:A,totalShowsCount:t,order:n,orderBy:a,setCancelDownload:v}),w=y.onDownloadAsJson,I=y.onDownloadAsCsv,k=y.onDownloadAllShows,S=y.csvDownloading,E=y.jsonDownloading,R=y.downloadProgress,N=y.cancelDownloading,D=y.showsDownloading,M=function(){p(null)};return Object(De.jsxs)(ro,{container:!0,item:!0,justifyContent:"space-between",alignItems:"center",xs:12,children:[Object(De.jsx)(_e.a,{container:!0,item:!0,alignItems:"center",style:{width:"auto",gap:24,paddingLeft:24},children:Object(De.jsx)(lo,{children:o})}),Object(De.jsx)(_e.a,{item:!0,children:Object(De.jsxs)(_e.a,{container:!0,alignItems:"center",children:[C?Object(De.jsx)(De.Fragment,{}):Object(De.jsxs)(De.Fragment,{children:[r&&Object(De.jsx)(_e.a,{item:!0,className:"MenuOption",children:Object(De.jsx)(so,{color:"primary",disableElevation:!0,startIcon:Object(De.jsx)(Yr.a,{}),variant:"text",size:"small",onClick:l,children:"Save"})}),Object(De.jsx)(_e.a,{item:!0,className:"MenuOption",children:Object(De.jsx)(so,{color:"primary",disableElevation:!0,startIcon:Object(De.jsx)(Yr.a,{}),variant:"text",size:"small",onClick:c,children:"Save As New"})}),Object(De.jsx)(_e.a,{item:!0,className:"MenuOption",children:Object(De.jsx)(_e.a,{container:!0,alignItems:"center",children:Object(De.jsx)(oo,{color:"primary",disableElevation:!0,startIcon:Object(De.jsx)(Zn.a,{}),variant:"contained",size:"small",onClick:s,children:"Dashboard"})})})]}),Object(De.jsx)(_e.a,{item:!0,className:"MenuOption",children:Object(De.jsxs)(_e.a,{container:!0,alignItems:"center",children:[Object(De.jsx)(co,{color:"secondary",disableElevation:!0,startIcon:Object(De.jsx)(io,{}),variant:"outlined",size:"small",onClick:function(e){p(e.currentTarget)},children:Object(De.jsx)("span",{style:{color:"#2D2D38",fontSize:14,lineHeight:"20px",textTransform:"capitalize"},children:"Export"})}),Object(De.jsxs)(wn.a,{id:"dashboard-menu","aria-labelledby":"dashboard-button",anchorEl:b,open:g,onClose:M,anchorOrigin:{vertical:"top",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"},children:[Object(De.jsx)(In.a,{onClick:function(){M(),v(!1),I()},children:"CSV"}),Object(De.jsx)(In.a,{onClick:function(){M(),v(!1),w()},children:"JSON"}),Object(De.jsx)(In.a,{onClick:function(){M(),v(!1),k()},children:"CSV Shows Only"})]})]})})]})}),Object(De.jsx)(Wr.a,{open:(S||E)&&!O,fullWidth:!0,children:Object(De.jsx)($r,{value:R,title:"Download shows and episodes of ".concat(o),handleCancel:function(){N.current=!0,v(!0)}})}),Object(De.jsx)(uo,{open:D,fullWidth:!0,children:Object(De.jsx)(ui,{})})]})},bo=n(744),po=n(751),go=n(742),jo=n(770),mo=n(747),fo=n(746),xo=n(766),Oo=n(749),vo=(n(741),Object(Na.a)({root:{color:"rgba(0, 0, 0, 0.6)"}})((function(e){return Object(De.jsx)(gt.a,Object(b.a)({},e))}))),Co=n(366),Ao=Object(ot.a)((function(e){return Object(ct.a)({container:{margin:e.spacing(-1)},chip:{margin:e.spacing(1)}})})),yo=function(e){var t=e.keywords,n=Ao();return Object(De.jsx)(Je.a,{display:"flex",flexWrap:"wrap",className:n.container,children:t.map((function(e){return Object(De.jsx)(Co.a,{className:n.chip,label:e,color:"primary",variant:"outlined",style:{textTransform:"capitalize",fontWeight:"normal",fontSize:13,lineHeight:13,height:26}},e)}))})},wo=n(392),Io=n.n(wo),ko=n(393),So=n(394),Eo=Object(ot.a)((function(){return Object(ct.a)({downloadButton:{display:"block",marginRight:58,marginLeft:"auto",fontWeight:"normal",textDecoration:"underline"}})})),Ro=Object(Na.a)({root:{color:"rgba(0, 0, 0, 0.6)"}})((function(e){return Object(De.jsx)(gt.a,Object(b.a)({},e))}));var No=function(e){var t=e.autoEscape,n=e.caseSensitive,a=e.sanitize,i=e.searchWords,r=e.textToHighlight;return a&&(r=a(r)),i.filter((function(e){return e})).reduce((function(e,i){var o="",c="";(i[0].match(/[a-z]/i)||i[0].match(/[1-9]/i))&&(o="\\b",1===i.split(" ").length&&(c="\\b")),a&&(i=a(i)),t&&(i=i.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"));for(var s,l=new RegExp(o+i+c,n?"g":"gi");s=l.exec(r);){var d=s.index,u=l.lastIndex;u>d&&e.push({highlight:!1,start:d,end:u}),s.index===l.lastIndex&&l.lastIndex++}return e}),[])},Do=function(e){var t=e.autoEscape,n=e.caseSensitive,a=e.sanitize,i=e.searchWords,r=e.textToHighlight,o=No({autoEscape:t,caseSensitive:n,sanitize:a,searchWords:i,textToHighlight:r}),c=No({autoEscape:t,caseSensitive:n,sanitize:a,searchWords:So,textToHighlight:r});return o.filter((function(e){return c.every((function(t){return!(e.start>=t.start&&e.end<=t.end)}))}))},Mo=function(e){var t=e.article,n=e.layouts,a=e.search,i=Eo(),r=Object(m.useState)(!1),o=Object(j.a)(r,2),c=o[0],s=o[1],l=null,d=Object(m.useMemo)((function(){return[].concat(Object(bt.a)(t.highlightStrings||[]),[a]).filter((function(e){return e}))}),[t,a]),u=function(){var e=Object(g.a)(Object(p.a)().mark((function e(){return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:l&&clearTimeout(l),s(!0),l=setTimeout((function(){s(!1)}),1500);case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return Object(De.jsx)(De.Fragment,{children:Object(De.jsxs)(_e.a,{container:!0,children:[Object(De.jsxs)(_e.a,{item:!0,xs:n[0],children:[Object(De.jsx)(Ro,{variant:"body1",style:{fontWeight:"normal",textAlign:"right",marginRight:60},children:"Transcript"}),Object(De.jsx)(Mt,{title:"Download",color:"primary",variant:"text",fontSize:"sm",height:30,className:i.downloadButton,onClick:function(){var e=document.createElement("a"),n=new Blob([t.content],{type:"text/plain"});e.href=URL.createObjectURL(n),e.download=t.title+".txt",e.click(),e.remove(),setTimeout((function(){return URL.revokeObjectURL(e.href)}),7e3)}}),Object(De.jsx)(ko.CopyToClipboard,{text:t.guid,onCopy:u,children:Object(De.jsx)(Mt,{title:c?"Copied":"Copy GUID",disabled:c,color:"primary",variant:"text",fontSize:"sm",height:30,className:i.downloadButton})})]}),Object(De.jsx)(_e.a,{item:!0,xs:n[1],children:Object(De.jsx)(gt.a,{variant:"body1",style:{fontWeight:"normal"},children:Object(De.jsx)(Io.a,{searchWords:d,autoEscape:!0,highlightStyle:{color:"white",background:"#FF6D40"},style:{whiteSpace:"pre-line"},textToHighlight:t.content,findChunks:Do})})})]})})},To=Object(ot.a)((function(){return Object(ct.a)({inputLabel:{fontWeight:"normal",textAlign:"right",marginRight:60}})})),Bo=function(e){var t=e.article,n=e.search,a=e.show,i=e.showGenres,r=e.iabCategories,o=To(),c=null;if(t&&t.publishedAt)try{c=Object(Lt.default)(new Date(t.publishedAt),"eeee, dd MMMM yyyy")}catch(s){c="-"}return Object(De.jsxs)(_e.a,{container:!0,spacing:4,children:[Object(De.jsx)(_e.a,{item:!0,xs:12,children:Object(De.jsxs)(_e.a,{container:!0,children:[Object(De.jsx)(_e.a,{item:!0,xs:3,children:Object(De.jsx)(vo,{variant:"body1",className:o.inputLabel,children:"Air Date"})}),Object(De.jsx)(_e.a,{item:!0,xs:9,children:Object(De.jsx)(gt.a,{variant:"body1",children:c})})]})}),Object(De.jsx)(_e.a,{item:!0,xs:12,children:Object(De.jsxs)(_e.a,{container:!0,children:[Object(De.jsx)(_e.a,{item:!0,xs:3,children:Object(De.jsx)(vo,{variant:"body1",className:o.inputLabel,children:"Show"})}),Object(De.jsx)(_e.a,{item:!0,xs:9,children:Object(De.jsx)(gt.a,{variant:"body1",children:a})})]})}),Object(De.jsx)(_e.a,{item:!0,xs:12,children:Object(De.jsxs)(_e.a,{container:!0,children:[Object(De.jsx)(_e.a,{item:!0,xs:3,children:Object(De.jsx)(vo,{variant:"body1",className:o.inputLabel,children:"Genre(s)"})}),Object(De.jsx)(_e.a,{item:!0,xs:9,children:Object(De.jsx)(yo,{keywords:i})})]})}),Object(De.jsx)(_e.a,{item:!0,xs:12,children:Object(De.jsxs)(_e.a,{container:!0,children:[Object(De.jsx)(_e.a,{item:!0,xs:3,children:Object(De.jsx)(vo,{variant:"body1",className:o.inputLabel,children:"IAB Categories"})}),Object(De.jsx)(_e.a,{item:!0,xs:9,children:Object(De.jsx)(yo,{keywords:r||[]})})]})}),Object(De.jsx)(_e.a,{item:!0,xs:12,children:Object(De.jsxs)(_e.a,{container:!0,children:[Object(De.jsx)(_e.a,{item:!0,xs:3,children:Object(De.jsx)(vo,{variant:"body1",className:o.inputLabel,children:"Title"})}),Object(De.jsx)(_e.a,{item:!0,xs:9,children:Object(De.jsx)(gt.a,{variant:"h3",style:{fontWeight:"normal",fontSize:34},children:t.title})})]})}),Object(De.jsx)(_e.a,{item:!0,xs:12,children:Object(De.jsxs)(_e.a,{container:!0,children:[Object(De.jsx)(_e.a,{item:!0,xs:3,children:Object(De.jsx)(vo,{variant:"body1",className:o.inputLabel,children:"Audio"})}),Object(De.jsx)(_e.a,{item:!0,xs:9,children:Object(De.jsx)("audio",{controls:!0,children:t.audioURL?Object(De.jsx)("source",{src:t.audioURL}):Object(De.jsx)(gt.a,{variant:"body1",style:{fontWeight:"normal"},children:"No audio available"})})})]})}),Object(De.jsx)(_e.a,{item:!0,xs:12,children:Object(De.jsx)(Mo,{article:t,layouts:[3,9],search:n})})]})},Lo=n(743),Fo=n(745),Po=n(769),zo=n(748),Go=n(154),Wo=n.n(Go),Ho={nodssi:"#E1E1E3",norisk:"#FFFFFF",low:"#FAF5FF",medium:"#A855F7",high:"#581C87"},Uo={nodssi:"In progress",norisk:"No Risk",low:"Low",medium:"Medium",high:"High"},Vo=Object(ot.a)((function(e){return Object(ct.a)({nodssi:{backgroundColor:Ho.nodssi,color:"#A4A4AC"},noRisk:{backgroundColor:Ho.norisk,color:"#4A4A56"},lowRisk:{backgroundColor:Ho.low,color:"#9333EA"},medRisk:{backgroundColor:Ho.medium,color:"#FFFFFF"},highRisk:{backgroundColor:Ho.high,color:"#FFFFFF"},tableFont:{fontSize:"16px",fontStyle:"normal",fontWeight:"normal",letterSpacing:"0.15px"},genreChip:{backgroundColor:e.palette.common.white,border:"1px solid ".concat(e.palette.blue.main),fontSize:10,color:e.palette.blue.main},scoreCell:{minHeight:48,width:108,minWidth:108,padding:4,border:"1px solid #F0F0F1","& > div":{width:"100%",height:"100%",borderRadius:2,padding:8,display:"flex",alignItems:"center",justifyContent:"space-between",fontFamily:"Roboto",fontWeight:600,fontSize:10,lineHeight:"12px",position:"relative",textTransform:"uppercase"}},tableCell:{minHeight:48,padding:"4px 10px",fontFamily:"Roboto",fontWeight:400,fontSize:14,lineHeight:"20px",color:"#2D2D38",border:"1px solid #F0F0F1"},cellChip:{background:"#DFECFC",borderRadius:8,padding:4,color:"#5EA1F2",fontFamily:"Roboto",fontWeight:400,fontSize:12,lineHeight:"16px"}})})),Ko=Object(pt.a)(Qa.a)((function(e){var t=e.theme;return{padding:"".concat(t.spacing(2.5),"px 0"),"& .MuiSlider-track, & .MuiSlider-rail":{height:8,borderRadius:4},"& .MuiSlider-rail":{color:"transparent"},"& .MuiSlider-mark":{height:6,width:6,borderRadius:3,marginTop:1,marginLeft:-7,color:"#C0C0C0"},"& .MuiSlider-markActive":{marginLeft:-7,color:"white",opacity:1},"& .MuiSlider-thumb":{height:6,width:6,marginTop:1,marginLeft:-7,color:"white"},"& .MuiSlider-markLabel":{fontSize:10,fontWeight:500,marginTop:5}}})),Zo=Object(ot.a)((function(){return Object(ct.a)({slider:{"& .MuiSlider-track":{backgroundColor:function(e){return e.color}},"& .MuiSlider-markActive":{'&[data-index="0"]':{marginLeft:1,backgroundColor:function(e){return e.removeFirstActive?"#C0C0C0":"white"}}}}})})),Qo=function(e){var t=e.color,n=e.min,a=void 0===n?1:n,i=e.max,r=void 0===i?5:i,o=e.value,c=Zo({color:t,removeFirstActive:o===a});return Object(De.jsx)(Ko,{"aria-label":"Score",defaultValue:1,step:1,marks:!0,min:a,max:r,value:o,className:c.slider})},Xo=Object(ot.a)((function(e){return Object(ct.a)({container:{display:"flex",flexDirection:"column",justifyContent:"space-between",rowGap:25,minHeight:"calc(100vh - 70px)"},accordionContent:{"& .MuiAccordionSummary-content":{margin:0}},linkTextContainer:{position:"fixed",bottom:e.spacing(2)},linkText:{color:e.palette.grayText.main,fontStyle:"italic"}})})),Yo=Object(pt.a)(go.a)((function(e){return{"&:nth-of-type(odd)":{backgroundColor:e.theme.palette.action.hover},"&:last-child td, &:last-child th":{border:0}}})),Jo=function(e){var t=e.episode,n=e.search,a=e.onChangeSearch,i=Xo(),r=lt(),o=sa().dashboardCategories,c=Object(m.useState)(null),s=Object(j.a)(c,2),l=s[0],d=s[1],u=function(e){return Object(De.jsx)(Lo.a,{style:{marginTop:10,padding:0,border:"none"},children:Object(De.jsx)(bo.a,{component:Da.a,style:{boxShadow:"none"},children:Object(De.jsx)(Fo.a,{size:"small",style:{border:"none"},children:Object(De.jsx)(fo.a,{children:null!==e&&void 0!==e&&e.result?null===e||void 0===e?void 0:e.result.map((function(e,t){return Object(De.jsx)(Yo,{children:Object(De.jsx)(mo.a,{style:{border:"none",fontSize:12,fontWeight:"normal"},children:e.utterance})},t)})):Object.keys(e).map((function(t,n){return Object(De.jsxs)(Yo,{children:[Object(De.jsx)(mo.a,{style:{border:"none",fontSize:12,fontWeight:"normal",cursor:"pointer"},onClick:function(){return function(e){var t,n=Array.from(document.querySelectorAll("mark")).filter((function(t){return(null===t||void 0===t?void 0:t.textContent.length)>e.length+2?null===t||void 0===t?void 0:t.textContent.toLowerCase().includes(e.toLowerCase()):(null===t||void 0===t?void 0:t.textContent.toLowerCase())===e.toLowerCase()})),a=l&&l.key===e?l.index+1:0;n&&n.length&&(a>=n.length&&(a=0),d({key:e,index:a}),null===(t=n[a])||void 0===t||t.scrollIntoView({behavior:"smooth",block:"center"}))}(t)},children:t}),Object(De.jsx)(mo.a,{align:"left",style:{border:"none",fontSize:12,fontWeight:"normal"},children:e[t]}),Object(De.jsx)(mo.a,{align:"left",style:{border:"none",fontSize:12,fontWeight:"normal"}}),Object(De.jsx)(mo.a,{align:"left",style:{border:"none",fontSize:12,fontWeight:"normal"}})]},"".concat(t,"-").concat(n))}))})})})})};return Object(De.jsxs)(_e.a,{className:xr()(r.padding2,i.container),children:[Object(De.jsxs)(_e.a,{container:!0,spacing:1,children:[Object(De.jsx)(gt.a,{variant:"h6",style:{fontWeight:"normal",fontSize:16,marginBottom:10},children:"GARM"}),o.map((function(e,n){return e.enabled?e.entries.map((function(a){var r=t[a.jsonKeyRisk];if(!r)return null;r=pa(r);var o,c=!!t[a.jsonKeyData]&&"object"===typeof t[a.jsonKeyData]&&(t[a.jsonKeyData].result?t[a.jsonKeyData].result.length>0:Object.keys(t[a.jsonKeyData]).length>0);return Object(De.jsx)(_e.a,{alignItems:"center",item:!0,xs:12,style:{padding:"4px 0px"},children:Object(De.jsxs)(Po.a,{square:!0,style:{border:"none",boxShadow:"none",padding:0},children:[Object(De.jsx)(zo.a,{expandIcon:c?Object(De.jsx)(Wo.a,{}):null,style:{padding:0,margin:0},className:i.accordionContent,children:Object(De.jsxs)(_e.a,{alignItems:"center",container:!0,xs:12,style:c?{}:{marginRight:40},children:[Object(De.jsx)(_e.a,{item:!0,xs:7,direction:"row",justifyContent:"flex-start",alignItems:"center",children:Object(De.jsxs)(gt.a,{style:{fontWeight:"normal",flex:1,fontSize:14,paddingRight:12},children:[a.title,a.tooltip&&Object(De.jsx)($n,{content:Object(De.jsxs)("div",{children:[a.tooltip,a.tooltipLink?Object(De.jsx)("a",{href:a.tooltipLink.href,style:{color:"#FFFF00"},children:a.tooltipLink.label}):null]}),children:Object(De.jsx)(Gn.a,{fontSize:"small",style:{marginLeft:5}})})]})},"column.field"),Object(De.jsxs)(_e.a,{item:!0,xs:5,style:{position:"relative"},children:[Object(De.jsx)(Qo,{color:Ho[r],min:0,max:3,value:(o=r,ga[pa(o)])}),Object(De.jsx)(gt.a,{variant:"h6",style:{fontWeight:"normal",fontSize:10,color:"#666666",textAlign:"center",marginTop:-8,position:"absolute",bottom:0,left:"50%",transform:"translate(-50%, 0)"},children:Uo[r]})]})]})}),c?u(t[a.jsonKeyData]):null]},e.title+a.title)},"GARM-".concat(n,"-").concat(a.title))})):null})),Object(De.jsx)(_e.a,{item:!0,xs:12,children:Object(De.jsx)(Dn,{label:"Search Records",value:n,variant:"standard",InputProps:{endAdornment:Object(De.jsx)(mt.a,{position:"end",children:Object(De.jsx)(yt.a,{})})},onChange:a})})]}),Object(De.jsx)(_e.a,{item:!0,xs:12,children:Object(De.jsxs)(gt.a,{variant:"h6",className:i.linkText,children:["Transcript powered by\xa0",Object(De.jsx)("a",{href:"https://www.rev.ai/",rel:"noreferrer",target:"_blank",children:"Rev.ai"})]})})]})},qo=function(e,t,n){return"[object Array]"===Object.prototype.toString.call(e)?t=t.concat(e):"object"===typeof e&&(t=n?t.concat(e.result.map((function(e){return e.utterance}))):t.concat(Object.keys(e))),t},_o=function(e,t){var n=[];return t.forEach((function(t){if(t.enabled)return t.entries.forEach((function(t){e[t.jsonKeyRisk]&&(e[t.jsonKeyData]&&(n=qo(e[t.jsonKeyData],n,"GARM 6"===t.jsonKeyData)),e[t.jsonKeyDataHighlight]&&(n=qo(e[t.jsonKeyDataHighlight],n,!1)))}))})),Array.from(new Set(n))},$o=Object(ot.a)((function(e){return Object(ct.a)({panel:{width:"100vw",height:"100vh"},spotPanel:{width:"100%",height:720},button:{color:e.palette.primary.main,marginRight:e.spacing(2)},rightAlign:{float:"right"},rightPanel:{overflow:"auto",maxHeight:"100%",paddingTop:60}})})),ec=function(e){var t=e.episode,n=e.show,a=e.showGenres,i=e.isSpotlight,r=void 0!==i&&i,o=e.onClose,c=$o(),s=lt(),l=sa().dashboardCategories,d=Object(m.useState)(""),u=Object(j.a)(d,2),h=u[0],b=u[1];Object(m.useEffect)((function(){function e(e){"Escape"===e.key&&o()}return document.addEventListener("keyup",e),function(){document.removeEventListener("keyup",e)}}),[]);var p=new Date(Date.now()-864e5);if(!t)return null;var g={titleColloquialism:.8594477167382907,contentColloquialism:.6186128243566115,titleEditorialBias:.04324100132184935,contentEditorialBias:.00464841873053982,titleSentiment:5,contentSentiment:1,summarization:t.Transcription&&t.Transcription.length>500?t.Transcription.slice(0,500)+"...":t.Transcription,keywordsList:t.Genres.split(","),readTime:"1.43 minutes",posScore:{VERB:2},sesScore:{title:0,content:0,titleHighlightings:{predictionProbability:1,prediction:1,distances:{test:0}},contentHighlightings:{predictionProbability:1,prediction:1,distances:{test:0}}}},f={guid:t.Guid,title:t["Episode Title"],content:t.Transcription,articleURL:t["Episode Link"],audioURL:t["Audio File (AUTO)"],readTime:"1.43 minutes",publishedAt:t["Episode Date"],scoredAt:p,score:g,highlightStrings:_o(t,l)},x=t["IAB New Data"]?Object.keys(t["IAB New Data"]):t["IAB Data"]?Object.keys(t["IAB Data"][0][0]):[];return Object(De.jsxs)(_e.a,{container:!0,className:r?c.spotPanel:c.panel,children:[Object(De.jsxs)(_e.a,{item:!0,xs:7,style:{paddingTop:5,paddingRight:25,backgroundColor:"#FAFAFA",overflow:"auto",maxHeight:"100%"},children:[Object(De.jsx)(_e.a,{container:!0,justifyContent:"flex-start",style:{position:"sticky",top:0,marginBottom:20},children:Object(De.jsx)(_e.a,{item:!0,className:s.pl2,children:Object(De.jsx)(yn.a,{className:c.rightAlign,onClick:o,children:Object(De.jsx)(Oo.a,{})})})}),Object(De.jsx)(Bo,{article:f,search:h,show:n,showGenres:a,iabCategories:x})]}),Object(De.jsx)(_e.a,{item:!0,xs:5,className:c.rightPanel,children:t&&Object(De.jsx)(Jo,{episode:t,search:h,onChangeSearch:function(e){b(e)}})})]})},tc=n(140),nc=n.n(tc),ac=function(){Object(m.useEffect)((function(){return document.body.style.overflow="hidden",function(){document.body.style.overflow="auto"}}),[]);return{onClose:function(){document.body.style.overflow="auto"}}},ic=Object(ot.a)((function(){return Object(ct.a)({container:{display:"inline-block",position:"relative",fontSize:16},progress:{position:"absolute",top:0,left:0,whiteSpace:"nowrap",overflow:"hidden",width:0,color:"#EAB308"}})})),rc=function(e){var t=e.value,n=ic(),a=20*(t>5?5:t);return Object(De.jsxs)("div",{className:n.container,children:[String.fromCodePoint(9734),String.fromCodePoint(9734),String.fromCodePoint(9734),String.fromCodePoint(9734),String.fromCodePoint(9734),Object(De.jsxs)("div",{style:{width:"".concat(a,"%")},className:n.progress,children:[String.fromCodePoint(9733),String.fromCodePoint(9733),String.fromCodePoint(9733),String.fromCodePoint(9733),String.fromCodePoint(9733)]})]})},oc=Object(pt.a)(go.a)((function(){return{"&:hover":{opacity:.8}}})),cc=Object(pt.a)(Je.a)((function(){return{display:"inline-flex",alignItems:"center"}})),sc=function(e){var t=e.data,n=e.columns,a=e.garmScoreColumns,i=e.onClick,r=Vo(),o=sa().riskKeyByTitleMap,c={nodssi:r.nodssi,norisk:r.noRisk,low:r.lowRisk,medium:r.medRisk,high:r.highRisk},s=null;if(t["Episode Date"])try{s=Object(Lt.default)(new Date(t["Episode Date"]),"MM/dd/yyyy")}catch(l){s="-"}else s="-";return Object(De.jsxs)(oc,{style:{borderColor:"#E1E1E1",cursor:"pointer"},onClick:function(){i()},children:[Object(De.jsx)(mo.a,{style:{width:"350px",minWidth:"250px",color:"#000",padding:"10px",fontSize:"16px",borderRight:"1px solid #E1E1E1"},className:r.tableFont,children:Object(De.jsx)(cc,{children:t["Episode Title"]})}),Object(De.jsx)(mo.a,{style:{width:"120px",minWidth:"120px",color:"#000",padding:"10px",fontSize:"16px"},align:"center",className:r.tableFont,children:Object(De.jsx)(cc,{children:s})}),n.map((function(e,n){return a.includes(e)?function(e,n){if("Name"===e)return null;var a=t[o[e]];return a=pa(a),Object(De.jsx)(mo.a,{style:{minWidth:"180px",color:"#000",textAlign:"center",fontSize:"13px"},className:r.scoreCell,children:Object(De.jsx)("div",{className:c[a],children:Uo[a]})},n)}(e,n):"Top IAB Categories"===e?Object(De.jsx)(mo.a,{style:{width:230,minWidth:230},align:"left",className:r.tableCell,children:Object(De.jsx)("div",{style:{display:"flex",alignItems:"center",columnGap:10,rowGap:6,flexWrap:"wrap",overflowY:"auto",maxHeight:48},children:(t["IAB New Data"]||t["IAB Data"])&&Object.keys(t["IAB New Data"]||t["IAB Data"][0][0]).map((function(e){return Object(De.jsx)(cc,{className:r.cellChip,children:e},e)}))})}):"Genres"===e?(i=t.Genres,s=165,Object(De.jsx)(mo.a,{style:{width:s||165,minWidth:s||165},align:"left",className:r.tableCell,children:i})):"No. of stars"===e?Object(De.jsxs)(mo.a,{style:{width:230,minWidth:230},align:"left",className:r.tableCell,children:[Object(De.jsx)(rc,{value:t.Listeners||0})," ",t.Listeners&&"0"!==t.Listeners?t.Listeners:""]}):null;var i,s}))]})},lc=n(750),dc=Object(pt.a)(lc.a)((function(){return{borderBottomRightRadius:4,borderBottomLeftRadius:4,backgroundColor:"#fff",borderTop:"none"}})),uc=Object(pt.a)(mo.a)((function(){return{position:"relative","&::after":{color:"#E0E0E0",content:"'|'",position:"absolute",right:0},"&:last-child":{"&::after":{content:"''"}}}})),hc=Object(pt.a)(Fo.a)((function(e){return{"& .MuiTableCell-stickyHeader":{backgroundColor:e.theme.palette.common.white,borderTopRightRadius:4,borderTopLeftRadius:4,paddingTop:14,paddingBottom:14,fontWeight:500,borderBottom:"none"},"& .MuiTablePagination-root":{borderBottom:"none"},"&":{borderCollapse:"collapse",borderRadius:4},"& .MuiTablePagination-root .MuiTypography-root":{fontSize:"12px",fontWeight:"normal"}}})),bc=["className"],pc=Object(pt.a)((function(e){var t=e.className,n=Object(It.a)(e,bc);return Object(De.jsx)(Yn.a,Object(b.a)(Object(b.a)({},n),{},{classes:{popper:t}}))}))((function(){return{"& .MuiTooltip-tooltip":{backgroundColor:"#fcfcfe",color:"rgba(0, 0, 0, 0.87)",fontSize:12,border:"1px solid #dadde9",maxWidth:560,padding:0,overflowY:"auto",maxHeight:"calc(100vh - 100px)"}}})),gc=Object(ot.a)((function(){return Object(ct.a)({header:{display:"flex",alignItems:"center",columnGap:12,"& > img":{width:42,height:42,borderRadius:4,marginLeft:10},marginBottom:6},title:{display:"flex",flexDirection:"column",justifyContent:"center"},genresTitle:{fontSize:12,lineHeight:"100%",opacity:.7,marginBottom:1},genre:{fontSize:10,lineHeight:"100%",opacity:.7},drawer:{"& > .MuiDrawer-paper":{maxWidth:"100%",overflow:"auto"}},hostList:{overflowX:"auto",overflowY:"hidden",flex:1,display:"flex",alignItems:"flex-start",gap:30,marginLeft:50,paddingTop:2,height:"calc(100% - 2px)","&::-webkit-scrollbar":{height:6},"&::-webkit-scrollbar-track ":{background:"#f1f1f1"},"&::-webkit-scrollbar-thumb":{background:"#888",borderRadius:3},"&::-webkit-scrollbar-thumb:hover":{background:"#555"}},host:{minWidth:350,display:"flex",flexDirection:"column",justifyContent:"center",gap:2,position:"relative"},hostcontent:{fontSize:10,lineHeight:"100%",opacity:.7,cursor:"pointer","&:hover":{textDecoration:"underline"}},hostArticles:{borderCollapse:"collapse","& th, & td":{border:"1px solid #dddddd",padding:8,textAlign:"center",fontWeight:"bold"},"& td":{fontWeight:"normal"},"& td a":{color:"black",cursor:"pointer"}},articlesModal:{backgroundColor:"#f1f1f5",position:"absolute",bottom:12,right:12,maxWidth:560,overflowY:"auto",maxHeight:"calc(100vh - 100px)"},circleClose:{backgroundColor:"#ffffff",borderRadius:"100%",position:"absolute",top:8,left:6,display:"flex",alignItems:"center",justifyContent:"center",width:24,height:24,cursor:"pointer","&:hover":{backgroundColor:"#f9f9fe"}}})})),jc=function(e){var t=e.columns,a=e.garmScoreColumns,i=e.genres,r=e.hostList,o=void 0===r?[]:r,c=e.showEpisodes,s=e.selectedShow,l=e.logoUrl,d=e.loading,u=void 0!==d&&d,h=e.onChangeShow,b=e.onSelectEpisode,f=gc(),x=Object(m.useState)(0),O=Object(j.a)(x,2),v=O[0],C=O[1],A=Object(m.useState)(10),y=Object(j.a)(A,2),w=y[0],I=y[1],k=Object(m.useState)("Episode Date"),S=Object(j.a)(k,2),E=S[0],R=S[1],N=Object(m.useState)("desc"),D=Object(j.a)(N,2),M=D[0],T=D[1],B=Object(m.useState)(""),L=Object(j.a)(B,2),F=L[0],P=L[1],z=Object(m.useState)(null),G=Object(j.a)(z,2),W=G[0],H=G[1],U=sa().riskComponents,V=Zt(s),K=ac().onClose,Z=Object(m.useState)({}),Q=Object(j.a)(Z,2),X=Q[0],Y=Q[1],J=Object(m.useRef)(Object(ea.debounce)(function(){var e=Object(g.a)(Object(p.a)().mark((function e(t,n){return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:h(t,n);case 1:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),900)).current;Object(m.useEffect)((function(){var e=E;switch(E){case"Name":e="name";break;case"Episode Date":e="publishedAt";break;default:e=U[e]}J(s,{page:v,pageSize:w,search:F,sortOrder:"asc"===M?"ASC":"DESC",sortBy:e})}),[J,s,v,w,F,M,E]),Object(m.useEffect)((function(){n.e(0).then(n.t.bind(null,771,3)).then((function(e){Y(e)}))}),[]);var q=function(){K(),h(null,{})},_=function(e){T(E===e&&"asc"===M?"desc":"asc"),R(e)};return Object(m.useEffect)((function(){Xt(Kt.SHOW_EPISODES)}),[]),Object(De.jsx)(qe.a,{anchor:"right",open:!0,onClose:q,className:f.drawer,children:Object(De.jsxs)("div",{style:{padding:"12px",paddingTop:"6px",position:"relative",display:"flex",flex:1,flexGrow:1,height:"100%",flexWrap:"nowrap",flexDirection:"column"},children:[Object(De.jsxs)("div",{className:f.header,children:[Object(De.jsx)(yn.a,{onClick:q,size:"small",children:Object(De.jsx)(nc.a,{color:"primary"})}),Object(De.jsx)("img",{src:l||V,alt:"episode",onError:function(e){e.target.src="/images/placeholder.png"}}),Object(De.jsxs)("div",{className:f.title,children:[Object(De.jsx)(gt.a,{variant:"subtitle2",children:Object(ya.decode)(s)}),Object(De.jsx)(gt.a,{variant:"body1",className:f.genresTitle,children:"Genres:"}),Object(De.jsx)(gt.a,{variant:"body2",className:f.genre,children:i.map((function(e,t){return t===i.length-1?e:e+", "}))})]}),Object(De.jsx)("div",{className:f.hostList,children:o.map((function(e,t){var n=X["agg_".concat(e)],a={article:0,score:0,articlesDetail:[]},i={article:0,score:0,articlesDetail:[]};return n&&(Object.keys(n.num_of_article).forEach((function(e){a.article=n.num_of_article[e],a.score=n.total_score[e],a.articlesDetail=n.articles[e],i.article=i.article+n.num_of_article[e],i.score=i.score+n.total_score[e],i.articlesDetail=[].concat(Object(bt.a)(i.articlesDetail),Object(bt.a)(n.articles[e]))})),i.score=i.score/Object.keys(n.num_of_article).length),Object(De.jsxs)("div",{className:f.host,children:[Object(De.jsx)(gt.a,{variant:"body1",className:f.genresTitle,children:"".concat(e," (").concat(t+1,")")}),n?Object(De.jsxs)(De.Fragment,{children:[Object(De.jsx)(pc,{interactive:!0,title:Object(De.jsxs)("table",{className:f.hostArticles,children:[Object(De.jsxs)("tr",{children:[Object(De.jsx)("th",{children:"Article Title"}),Object(De.jsx)("th",{children:"Date"})]}),a.articlesDetail&&a.articlesDetail.map((function(e,t){return Object(De.jsxs)("tr",{children:[Object(De.jsx)("td",{children:Object(De.jsx)("a",{href:e.url,rel:"noreferrer",target:"_blank",children:e.title})}),Object(De.jsx)("td",{children:e.time&&Object(Lt.default)(new Date(e.time),"MM/dd/yy")})]},t)}))]}),placement:"bottom-start",children:Object(De.jsxs)(gt.a,{variant:"body2",className:f.hostcontent,onClick:function(){return H(a.articlesDetail)},children:["Host sentiment is"," ",Qt(a.score)," across"," ",a.article," articles in the past week."]})}),Object(De.jsx)(pc,{interactive:!0,title:Object(De.jsxs)("table",{className:f.hostArticles,children:[Object(De.jsxs)("tr",{children:[Object(De.jsx)("th",{children:"Article Title"}),Object(De.jsx)("th",{children:"Date"})]}),i.articlesDetail&&i.articlesDetail.map((function(e,t){return Object(De.jsxs)("tr",{children:[Object(De.jsx)("td",{children:Object(De.jsx)("a",{href:e.url,rel:"noreferrer",target:"_blank",children:e.title})}),Object(De.jsx)("td",{children:e.time&&Object(Lt.default)(new Date(e.time),"MM/dd/yy")})]},t)}))]}),placement:"bottom-start",children:Object(De.jsxs)(gt.a,{variant:"body2",className:f.hostcontent,onClick:function(){return H(i.articlesDetail)},children:["Host sentiment is"," ",Qt(i.score)," across"," ",i.article," articles in the last 4 weeks."]})})]}):Object(De.jsx)(gt.a,{variant:"body2",className:f.genre,children:"This host did not appear in any news stories this week."})]},t)}))})]}),Object(De.jsx)(bo.a,{component:Da.a,style:{overflowX:"scroll",boxShadow:"0px 0px 0px 1px #E0E0E0",borderRadius:4,flex:1,flexGrow:1},children:Object(De.jsxs)(hc,{stickyHeader:!0,style:{borderRadius:4,height:"100%"},children:[Object(De.jsx)(po.a,{style:{position:"sticky",top:0,zIndex:2},children:Object(De.jsxs)(go.a,{children:[Object(De.jsx)(uc,{sortDirection:E===t[0]&&M,style:{boxShadow:"inset 0 -7px 2px -7px rgba(0,0,0,0.4)"},children:Object(De.jsx)(jo.a,{active:E===t[0],direction:E===t[0]?M:"asc",onClick:function(){return _(t[0])},children:t[0]})}),Object(De.jsx)(uc,{sortDirection:"Episode Date"===E&&M,style:{boxShadow:"inset 0 -7px 2px -7px rgba(0,0,0,0.4)"},children:Object(De.jsx)(jo.a,{active:"Episode Date"===E,direction:"Episode Date"===E?M:"asc",onClick:function(){return _("Episode Date")},children:"Air Date"})}),t.slice(1).map((function(e,n){return Object(De.jsx)(uc,{sortDirection:E===e&&M,style:n===(null===t||void 0===t?void 0:t.length)-1?{boxShadow:"inset 0 -7px 2px -7px rgba(0,0,0,0.4)"}:{borderTopLeftRadius:0,borderTopRightRadius:0,boxShadow:"inset 0 -7px 2px -7px rgba(0,0,0,0.4)"},children:Object(De.jsx)(jo.a,{active:E===e,direction:E===e?M:"asc",onClick:function(){return _(e)},children:e})},n)}))]})}),u?Object(De.jsx)(go.a,{style:{height:"100%",border:"none"},children:Object(De.jsx)(mo.a,{colSpan:t.length+1,children:Object(De.jsx)(ui,{})})}):Object(De.jsxs)(fo.a,{children:[null===c||void 0===c?void 0:c.data.map((function(e,n){return Object(De.jsx)(sc,{name:e.Show,columns:t,garmScoreColumns:a,data:e,onClick:function(){return b(e)}},"".concat(e.Show,"-").concat(n))})),Object(De.jsx)(go.a,{style:{height:"100%",border:"none"},children:Object(De.jsx)(mo.a,{})})]}),Object(De.jsx)(dc,{style:{position:"sticky",bottom:0,height:65},children:Object(De.jsx)(go.a,{children:Object(De.jsx)(mo.a,{colSpan:1e3,style:{padding:"6px 12px",boxShadow:"inset 0 7px 2px -7px rgba(0,0,0,0.4)"},children:Object(De.jsxs)(_e.a,{container:!0,justifyContent:"space-between",alignItems:"center",style:{position:"sticky",top:"50%",left:20,width:"calc(100vw - 60px)"},children:[Object(De.jsx)(_e.a,{item:!0,children:Object(De.jsx)(jt.a,{label:"Search Records",InputLabelProps:{shrink:!0,style:{fontWeight:"normal",flex:1,width:"100%"}},style:{width:"100%"},InputProps:{endAdornment:Object(De.jsx)(mt.a,{position:"end",children:Object(De.jsx)(yt.a,{htmlColor:"#757575",style:{fontSize:24}})}),style:{width:"100%"}},value:F,onChange:function(e){P(e.target.value)}})}),Object(De.jsx)(xo.a,{rowsPerPageOptions:[10,20,30],SelectProps:{inputProps:{"aria-label":"rows per page"},native:!0},onPageChange:function(e,t){C(t)},onRowsPerPageChange:function(e){I(parseInt(e.target.value,10)),C(0)},count:(null===c||void 0===c?void 0:c.totalCount)||0,page:v,rowsPerPage:w,style:{paddingTop:0,paddingBottom:0,fontSize:12},nextIconButtonProps:{size:"small"},backIconButtonProps:{size:"small"}})]})})})})]})}),W&&W.length&&Object(De.jsxs)("div",{className:f.articlesModal,children:[Object(De.jsx)("div",{className:f.circleClose,children:Object(De.jsx)(nc.a,{color:"primary",fontSize:"small",onClick:function(){return H(null)}})}),Object(De.jsxs)("table",{className:f.hostArticles,children:[Object(De.jsxs)("tr",{children:[Object(De.jsx)("th",{children:"Article Title"}),Object(De.jsx)("th",{children:"Date"})]}),W&&W.map((function(e,t){return Object(De.jsxs)("tr",{children:[Object(De.jsx)("td",{children:Object(De.jsx)("a",{href:e.url,rel:"noreferrer",target:"_blank",children:e.title})}),Object(De.jsx)("td",{children:e.time&&Object(Lt.default)(new Date(e.time),"MM/dd/yy")})]},t)}))]})]})]})})},mc=Object(pt.a)(go.a)((function(){return{"&:hover":{opacity:.8}}})),fc=Object(pt.a)(Je.a)((function(){return{display:"inline-flex",alignItems:"center"}})),xc=Object(pt.a)("img")((function(){return{height:30,borderRadius:2,width:30}})),Oc=Object(ot.a)((function(){return Object(ct.a)({risk:{position:"relative"},riskChange:{position:"absolute",width:15,height:15,left:0,zIndex:1}})})),vc=function(e){var t=e.name,n=e.data,a=e.columns,i=e.garmScoreColumns,r=e.hostData,o=e.isHost,c=void 0!==o&&o,s=e.onClick,l=Vo(),d=Oc(),u=sa().riskComponents,h={nodssi:l.nodssi,norisk:l.noRisk,low:l.lowRisk,medium:l.medRisk,high:l.highRisk},b={noHost:"No host",noPeriodHost:"No data during this period",positiveHost:"Trending Positive",negativeHost:"Trending Negative",neutralHost:"Trending Neutral"},p={noHost:l.nodssi,noPeriodHost:l.nodssi,positiveHost:l.lowRisk,negativeHost:l.highRisk,neutralHost:l.noRisk},g=Zt(n.showOnDB),j=function(e){e.target.src="/images/placeholder.png"},m=n.hostList?n.hostList.split(",").length:0,f=function(e,t){var a,i,r,o,c,s,b,p,g=null===(a=n[u[e]])||void 0===a?void 0:a.score,j=null===(i=n[u[e]])||void 0===i?void 0:i.score,m=null===(r=n[u[e]])||void 0===r?void 0:r.oldScore,f="number"===typeof j&&"number"===typeof m&&j!==m;g=g||0===g?pa(null===(p=g)?"":ja[Math.round(p)]):"nodssi";var x=null!==(o=n.episodeIds)&&void 0!==o&&o.length?Math.floor(100*(null===(c=n[u[e]])||void 0===c?void 0:c.episodeCountHigherThanAverage)/n.episodeIds.length):0,O=null!==(s=n.episodeIds)&&void 0!==s&&s.length?Math.floor(100*(null===(b=n[u[e]])||void 0===b?void 0:b.episodeCountLowerThanAverage)/n.episodeIds.length):0;return Object(De.jsx)(mo.a,{className:l.scoreCell,children:Object(De.jsxs)("div",{className:h[g],children:[Object(De.jsx)("span",{children:Uo[g]}),n[u[e]]&&null!==n[u[e]].episodeCountHigherThanAverage&&Object(De.jsxs)("span",{children:[Object(De.jsxs)("span",{style:{marginRight:8},children:["\u2b07",O]}),Object(De.jsxs)("span",{children:["\u2b06",x]})]}),f&&Object(De.jsx)("div",{className:d.riskChange,style:j>m?{background:"#FB923C",top:0,clipPath:"polygon(0 0, 100% 0, 0 100%)"}:{background:"#10B981",bottom:0,clipPath:"polygon(0 0, 100% 100%, 0 100%)"}})]})},t)};return Object(De.jsxs)(mc,{style:{minHeight:"48px",borderColor:"#E1E1E1",cursor:"pointer"},onClick:function(){s()},children:[Object(De.jsxs)(mo.a,{style:{borderRightWidth:3,display:"flex",alignItems:"center",gap:8,height:"100%"},className:l.tableCell,children:[Object(De.jsx)(xc,{src:n.logoUrl||g,alt:"".concat(t),onError:j}),Object(De.jsxs)("div",{style:{flex:1},children:[Object(De.jsx)("div",{children:Object(De.jsx)(gt.a,{variant:"caption",align:"left",style:{fontSize:14,lineHeight:"20px",color:"#2D2D38"},children:t})}),Object(De.jsx)(gt.a,{variant:"caption",align:"left",style:{fontSize:12,lineHeight:"16px",color:"#686874"},children:n.listenerCount?"".concat(n.listenerCount," stars"):""})]})]}),a.map((function(e,t){var a,o;if(0!==t)return c?function(e,t){var n,a="noHost";return m>=t&&(a=r&&r[e]?null===r[e].score?"noPeriodHost":r[e].score>1?"positiveHost":r[e].score<-1?"negativeHost":"neutralHost":"noPeriodHost"),Object(De.jsx)(mo.a,{style:{minWidth:150,color:"#000",textAlign:"center",fontSize:"13px",position:"relative"},className:[p[a],l.tableFont].join(" "),children:Object(De.jsxs)(gt.a,{variant:"caption",align:"center",style:{fontSize:"0.85rem",fontWeight:"normal"},className:d.risk,children:["noHost"!==a&&Object(De.jsxs)(De.Fragment,{children:[Object(De.jsx)("span",{style:{fontWeight:"bold"},children:!!r&&(null===(n=r[e])||void 0===n?void 0:n.label)}),Object(De.jsx)("br",{})]}),b[a]]})},t)}(e,t):i.includes(e)?f(e,t):"Top IAB Categories"===e?Object(De.jsx)(mo.a,{style:{width:230,minWidth:230},align:"left",className:l.tableCell,children:Object(De.jsx)("div",{style:{display:"flex",alignItems:"center",columnGap:10,rowGap:6,flexWrap:"wrap",overflowY:"auto",maxHeight:48},children:n.iabCategories&&n.iabCategories.map((function(e){return Object(De.jsx)(fc,{className:l.cellChip,children:e.name},e.name)}))})}):"Genres"===e?(a=n.genreList,o=165,Object(De.jsx)(mo.a,{style:{width:o||165,minWidth:o||165},align:"left",className:l.tableCell,children:a})):"No. of stars"===e?Object(De.jsxs)(mo.a,{style:{width:230,minWidth:230},align:"left",className:l.tableCell,children:[Object(De.jsx)(rc,{value:n.listenerCount||0})," ",n.listenerCount&&"0"!==n.listenerCount?n.listenerCount:""]}):null}))]})},Cc=n(396),Ac=n(752),yc=n(687),wc=n(413),Ic=n(676),kc=n(685),Sc=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=Object(m.useState)(e),n=Object(j.a)(t,2),a=n[0],i=n[1],r=Object(m.useCallback)((function(e){return i((function(t){return e||!t}))}),[]);return[a,r]},Ec=function(e){var t=e.fill,n=void 0===t?"#000000":t,a=e.height,i=void 0===a?24:a,r=e.width,o=void 0===r?24:r,c=e.fillOpacity,s=void 0===c?"0.54":c;return Object(De.jsxs)("svg",{width:o,height:i,viewBox:"0 0 ".concat(o," ").concat(i),fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[Object(De.jsx)("rect",{x:"1.33325",y:"4.66667",width:"21.3333",height:"4",rx:"2",fill:n,fillOpacity:s}),Object(De.jsx)("rect",{x:"1.33325",y:"10",width:"6.66667",height:"4",rx:"2",fill:n,fillOpacity:s}),Object(De.jsx)("rect",{x:"1.33325",y:"15.3333",width:"6.66667",height:"4",rx:"2",fill:n,fillOpacity:s}),Object(De.jsx)("rect",{x:"9.33325",y:"10",width:"13.3333",height:"4",rx:"2",fill:n,fillOpacity:s}),Object(De.jsx)("rect",{x:"9.33325",y:"15.3333",width:"13.3333",height:"4",rx:"2",fill:n,fillOpacity:s})]})},Rc=function(e){var t=e.fill,n=void 0===t?"#000000":t,a=e.height,i=void 0===a?24:a,r=e.width,o=void 0===r?24:r;return Object(De.jsx)("svg",{width:o,height:i,viewBox:"0 0 ".concat(o," ").concat(i),fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Object(De.jsx)("path",{d:"M3.33325 20.1556L8.99992 13.4889L13.3333 17.8222L20.6666 6.66667M3.33325 8.00001L6.33325 10.3333L9.51103 6.66667L20.6666 17.8222",stroke:n,strokeOpacity:"0.54",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})},Nc=function(e){var t=e.fill,n=void 0===t?"#000000":t,a=e.height,i=void 0===a?24:a,r=e.width,o=void 0===r?24:r;return Object(De.jsxs)("svg",{width:o,height:i,viewBox:"0 0 ".concat(o," ").concat(i),fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[Object(De.jsx)("path",{d:"M15.4071 21.4547C13.6323 21.4547 12.1936 20.0615 12.1936 18.3429C12.1936 16.6242 13.6323 15.231 15.4071 15.231C17.1819 15.231 18.6206 16.6242 18.6206 18.3429C18.6206 20.0615 17.1819 21.4547 15.4071 21.4547Z",fill:n,fillOpacity:"0.54"}),Object(De.jsx)("path",{d:"M7.66442 8.67475C5.88966 8.67475 4.45092 7.28154 4.45092 5.56292C4.45092 3.8443 5.88966 2.45108 7.66442 2.45108C9.43919 2.45108 10.8779 3.8443 10.8779 5.56292C10.8779 7.28154 9.43919 8.67475 7.66442 8.67475Z",fill:n,fillOpacity:"0.54"}),Object(De.jsx)("path",{d:"M11.5363 15.0652C9.76148 15.0652 8.32275 13.672 8.32275 11.9534C8.32275 10.2347 9.76148 8.84152 11.5363 8.84152C13.311 8.84152 14.7498 10.2347 14.7498 11.9534C14.7498 13.672 13.311 15.0652 11.5363 15.0652Z",fill:n,fillOpacity:"0.54"}),Object(De.jsx)("path",{d:"M19.1866 15.014C17.4119 15.014 15.9731 13.6208 15.9731 11.9022C15.9731 10.1835 17.4119 8.79031 19.1866 8.79031C20.9614 8.79031 22.4001 10.1835 22.4001 11.9022C22.4001 13.6208 20.9614 15.014 19.1866 15.014Z",fill:n,fillOpacity:"0.54"}),Object(De.jsx)("path",{d:"M3.88391 15.1157C2.10914 15.1157 0.670404 13.7225 0.670404 12.0039C0.670404 10.2853 2.10914 8.89206 3.88391 8.89206C5.65868 8.89206 7.09741 10.2853 7.09741 12.0039C7.09741 13.7225 5.65868 15.1157 3.88391 15.1157Z",fill:n,fillOpacity:"0.54"}),Object(De.jsx)("path",{d:"M15.3151 8.62368C13.5403 8.62368 12.1016 7.23045 12.1016 5.51183C12.1016 3.79321 13.5403 2.39999 15.3151 2.39999C17.0898 2.39999 18.5286 3.79321 18.5286 5.51183C18.5286 7.23045 17.0898 8.62368 15.3151 8.62368Z",fill:n,fillOpacity:"0.54"}),Object(De.jsx)("path",{d:"M7.75647 21.5054C5.9817 21.5054 4.54296 20.1122 4.54296 18.3935C4.54296 16.6749 5.9817 15.2817 7.75647 15.2817C9.53124 15.2817 10.97 16.6749 10.97 18.3935C10.97 20.1122 9.53124 21.5054 7.75647 21.5054Z",fill:n,fillOpacity:"0.54"})]})},Dc=function(e){var t=e.fill,n=void 0===t?"#000000":t,a=e.height,i=void 0===a?24:a,r=e.width,o=void 0===r?24:r;return Object(De.jsxs)("svg",{width:o,height:i,viewBox:"0 0 ".concat(o," ").concat(i),fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[Object(De.jsx)("rect",{x:"1.33325",y:"4.66667",width:"13.3333",height:"4",rx:"2",fill:n,fillOpacity:"0.54"}),Object(De.jsx)("rect",{x:"16",y:"4.66667",width:"6.66667",height:"4",rx:"2",fill:n,fillOpacity:"0.54"}),Object(De.jsx)("rect",{x:"1.33325",y:"15.3333",width:"11.3333",height:"4",rx:"2",fill:n,fillOpacity:"0.54"}),Object(De.jsx)("rect",{x:"14",y:"15.3333",width:"8.66667",height:"4",rx:"2",fill:n,fillOpacity:"0.54"}),Object(De.jsx)("rect",{x:"1.33325",y:"10",width:"6.66667",height:"4",rx:"2",fill:n,fillOpacity:"0.54"}),Object(De.jsx)("rect",{x:"9.33325",y:"10",width:"8.66667",height:"4",rx:"2",fill:n,fillOpacity:"0.54"}),Object(De.jsx)("rect",{x:"18.6665",y:"10",width:"4",height:"4",rx:"2",fill:n,fillOpacity:"0.54"})]})},Mc=n(683),Tc=n(395);function Bc(e){var t=e.defaultRange,n=e.onChange,a=Kc(),i=Object(m.useState)(!1),r=Object(j.a)(i,2),o=r[0],c=r[1],s=Object(m.useState)(null),l=Object(j.a)(s,2),d=l[0],u=l[1],h=Object(m.useState)(t),b=Object(j.a)(h,2),p=b[0],g=b[1];Object(m.useEffect)((function(){g(t)}),[t]);var f=function(e){return Object(Lt.default)(e,"MMM dd, yyyy")},x=o?"time-range-popover":void 0;return Object(De.jsxs)(Je.a,{display:"flex",flexDirection:"row",alignItems:"center",className:"TimeRangeSelector",children:[[f(t.from),f(t.to)].join(" - "),Object(De.jsx)(yn.a,{className:a.iconButton,onClick:function(e){c(!0),u(e.currentTarget)},"aria-describedby":x,children:Object(De.jsx)(Wo.a,{style:{fontSize:24,marginLeft:6}})}),Object(De.jsx)(Mc.a,{id:x,open:o,anchorEl:d,onClose:function(){c(!1),g({from:t.from,to:t.to})},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},children:Object(De.jsxs)(Je.a,{display:"flex",flexDirection:"column",justifyContent:"center",children:[Object(De.jsx)(Tc.DateRangePicker,{ranges:[{startDate:p.from,endDate:p.to,key:"selection"}],onChange:function(e){var t=e.selection;g({from:t.startDate,to:t.endDate})}}),Object(De.jsx)(Mt,{title:"Set Range",color:"primary",className:a.setRangeButton,onClick:function(){null===n||void 0===n||n(p),c(!1)}})]})})]})}var Lc,Fc,Pc,zc,Gc,Wc,Hc,Uc,Vc,Kc=Et()({iconButton:{padding:0},setRangeButton:{fontSize:"1rem"}}),Zc={fontWeight:"normal",letterSpacing:.15,textTransform:"none",padding:"6px 8px 6px 12px"},Qc=Object(pt.a)(Ac.a)((function(e){return{backgroundColor:e.theme.palette.common.white,borderRadius:999,boxShadow:"0px 0px 0px 1px #E0E0E0","& .TimeRangeSelector":Object(b.a)(Object(b.a)({},Zc),{},{color:"#666666",fontSize:16})}})),Xc=Object(pt.a)(kt.a)((function(e){var t=e.theme;return{"&":Object(b.a)({},Zc),"& .MuiSvgIcon-root":{marginLeft:t.spacing(1.375)},"&:first-child":{backgroundColor:t.palette.primary.main,borderRadius:"999px 0 0 999px",color:t.palette.common.white,"&:hover":{backgroundColor:"rgba(62, 145, 222, 0.8)"}},"&:last-child":{borderRadius:"0 999px 999px 0"},"& .menu-selected":{display:"flex",alignItems:"center",columnGap:4,"& svg":{fill:"#fff",fillOpacity:1}}}})),Yc=Object(pt.a)(_e.a)((function(){return{"& .DashboardSelection":{left:"114px !important",top:"4px !important",zIndex:100,"& .MuiListItem-root":{whiteSpace:"normal"}}}})),Jc=[{id:"Overview",description:"Get a sense of Editorial Bias, Sensationalism and other metrics regarding your data.",icon:Object(De.jsx)(Nc,{}),secondaryIcon:Object(De.jsx)(Nc,{fill:"#fff"}),title:"Overview",show:!1},{id:"Tags",description:"See a rank of the most used terms in your thesaurus and know what people say about it.",icon:Object(De.jsx)(Dc,{}),secondaryIcon:Object(De.jsx)(Dc,{fill:"#fff"}),title:"Tags",show:!1},{id:"Over time",description:"Have an overview of metrics over time and in other aggregate form.",icon:Object(De.jsx)(Rc,{}),secondaryIcon:Object(De.jsx)(Rc,{fill:"#fff"}),title:"Over time & Aggregated",show:!1},{id:"List",description:"Manage your records and analyze them one by one lorem ipsum dolor sit amet.",icon:Object(De.jsx)(Ec,{}),secondaryIcon:Object(De.jsx)(Ec,{fill:"#fff",fillOpacity:"1.0"}),title:"List",show:!1},{id:"MRT",description:"Manage your records and analyze them one by one lorem ipsum dolor sit amet.",icon:Object(De.jsx)(Ec,{}),secondaryIcon:Object(De.jsx)(Ec,{fill:"#fff",fillOpacity:"1.0"}),title:"MRT - Media Roundtable Values",show:!1},{id:"GARM",description:"The GARM view helps you accomplish more in less time lorem ipsum dolor sit amet.",icon:Object(De.jsx)(Ec,{}),secondaryIcon:Object(De.jsx)(Ec,{fill:"#fff",fillOpacity:"1.0"}),title:"GARM",show:!0},{id:"Host",description:"",icon:Object(De.jsx)(Ec,{}),secondaryIcon:Object(De.jsx)(Ec,{fill:"#fff",fillOpacity:"1.0"}),title:"Host Intelligence",show:!0}],qc=function(){var e=Object(Ze.g)(),t=ra(),n=t.dashboardEnv,a=t.setDashboardEnv,i=t.timeRange,r=t.setTimeRange,o=Object(m.useState)(void 0),c=Object(j.a)(o,2),s=c[0],l=c[1],d=Sc(),u=Object(j.a)(d,2),h=u[0],p=u[1],g=Object(m.useRef)(null),f=function(e){g.current&&g.current.contains(e.target)||p(!1)},x=Object(m.useRef)(h);return Object(m.useEffect)((function(){!0===x.current&&!1===h&&g.current.focus(),x.current=h}),[h]),Object(m.useEffect)((function(){l(Jc.find((function(e){return e.id===n})))}),[n]),Object(De.jsxs)(Yc,{children:[s&&Object(De.jsxs)(Qc,{variant:"text",children:[Object(De.jsxs)(Xc,{ref:g,"aria-controls":h?"menu-list-grow":void 0,"aria-haspopup":"true",onClick:function(){return p()},children:[Object(De.jsxs)("div",{className:"menu-selected",children:[s.secondaryIcon,Object(De.jsx)("span",{children:s.id})]}),Object(De.jsx)(Wo.a,{fill:"rgba(0, 0, 0, 0.54)"})]}),Object(De.jsx)(Bc,{defaultRange:i,onChange:r})]}),Object(De.jsx)(yc.a,{open:h,anchorEl:g.current,role:void 0,transition:!0,disablePortal:!0,className:"DashboardSelection",children:function(t){var n=t.TransitionProps,i=t.placement;return Object(De.jsx)(wc.a,Object(b.a)(Object(b.a)({},n),{},{style:{transformOrigin:"bottom"===i?"center top":"center bottom"},children:Object(De.jsx)(Da.a,{children:Object(De.jsx)(Ic.a,{onClickAway:f,children:Object(De.jsx)(kc.a,{autoFocusItem:h,id:"menu-list-grow",style:{width:364},children:Jc.map((function(t){return t.show&&Object(De.jsxs)(In.a,{onClick:function(n){return i=n,r=t.id,a(r),f(i),void e.push(_t+"/"+r);var i,r},alignItems:"flex-start",children:[(null===t||void 0===t?void 0:t.icon)&&Object(De.jsx)(tt.a,{children:t.icon}),Object(De.jsx)(nt.a,{primary:t.title,secondary:t.description})]},t.title)}))})})})}))}})]})},_c=Object(ot.a)((function(){return Object(ct.a)({header:{display:"flex",alignItems:"center",columnGap:12,"& > img":{width:42,height:42,borderRadius:4,marginLeft:10},marginBottom:6,paddingBottom:8,borderBottom:"1px solid #dddddd"},title:{display:"flex",flexDirection:"column",justifyContent:"center"},genresTitle:{fontSize:12,lineHeight:"100%",opacity:.7,marginBottom:1},genre:{fontSize:10,lineHeight:"100%",opacity:.7},drawer:{"& > .MuiDrawer-paper":{width:"100%",maxWidth:"100%",overflow:"auto"}},menu:{padding:"12px 20px",display:"flex",alignItems:"center",border:"1px solid #dddddd",background:"#F5F7FA"},barometerLogo:{marginRight:20},hostList:{overflowX:"auto",flex:1,display:"flex",alignItems:"flex-start",gap:24,paddingTop:2,paddingBottom:8,height:"calc(100% - 2px)","&::-webkit-scrollbar":{height:8},"&::-webkit-scrollbar-track ":{background:"#f1f1f1"},"&::-webkit-scrollbar-thumb":{background:"#888",borderRadius:3},"&::-webkit-scrollbar-thumb:hover":{background:"#555"}},host:{width:750,minWidth:750,display:"flex",flexDirection:"column",justifyContent:"center",gap:20,position:"relative",height:"100%"},historyHostData:{height:260,display:"flex",alignItems:"center",gap:20,marginLeft:30},newHostData:{height:"100%",flex:1,overflowY:"auto",width:"100%","& .MuiTableCell-root":{border:"1px solid rgba(224, 224, 224, 1)"},"& .MuiTableCell-head":{lineHeight:"150%",padding:12,cursor:"pointer",background:"#F1F2F5","&:hover":{background:"#FDFAFF"}},"& .MuiTableCell-body":{lineHeight:"105%",padding:12,"& a":{color:"rgba(0, 0, 0, 0.87)"}},"&::-webkit-scrollbar":{width:6},"&::-webkit-scrollbar-track ":{background:"#f1f1f1"},"&::-webkit-scrollbar-thumb":{background:"#888",borderRadius:3},"&::-webkit-scrollbar-thumb:hover":{background:"#555"}},hostcontent:{fontSize:10,lineHeight:"100%",opacity:.7,cursor:"pointer","&:hover":{textDecoration:"underline"}},hostArticles:{borderCollapse:"collapse","& th, & td":{border:"1px solid #dddddd",padding:8,textAlign:"center",fontWeight:"bold"},"& td":{fontWeight:"normal"},"& td a":{color:"black",cursor:"pointer"}},articlesModal:{backgroundColor:"#f1f1f5",position:"absolute",bottom:12,right:12,maxWidth:560,overflowY:"auto",maxHeight:"calc(100vh - 100px)"},circleClose:{backgroundColor:"#ffffff",borderRadius:"100%",position:"absolute",top:8,left:6,display:"flex",alignItems:"center",justifyContent:"center",width:24,height:24,cursor:"pointer","&:hover":{backgroundColor:"#f9f9fe"}}})})),$c=function(e){var t=e.genres,n=e.hostList,a=e.selectedShow,i=e.logoUrl,r=e.hostsData,o=e.onChangeShow,c=_c(),s=Object(m.useState)({}),l=Object(j.a)(s,2),d=l[0],u=l[1],h=Object(m.useState)("date"),b=Object(j.a)(h,2),p=b[0],g=b[1],f=Object(m.useState)(!0),x=Object(j.a)(f,2),O=x[0],v=x[1],C=Zt(a),A=ac().onClose,y=function(){A(),o(null,{})},w=[{eventName:"select",callback:function(e){var t,n,a=e.chartWrapper,i=a.getChart(),r=a.getDataTable(),o=i.getSelection();if((null!==(t=o[0])&&void 0!==t&&t.row||0===(null===(n=o[0])||void 0===n?void 0:n.row))&&r.getValue(o[0].row,0)){var c,s=new Date(r.getValue(o[0].row,0)).getMonth();null===(c=Array.from(document.getElementsByClassName("newhost-date")).filter((function(e){var t=new Date(null===e||void 0===e?void 0:e.textContent).getMonth();return(0===t||t)&&t===s}))[0])||void 0===c||c.scrollIntoView({behavior:"smooth",block:"center"})}}}];Object(m.useEffect)((function(){if(n){var e={};n.forEach((function(t){var n,a,i=null===(n=r[t])||void 0===n?void 0:n.articles.map((function(e){var t,n,a;return{index:e.id,title:e.title,publishedAt:new Date(e.publishedAt).getTime(),url:e.url,finalScore:(null!==(t=e.titleScore)&&void 0!==t?t:0)+(null!==(n=e.descScore)&&void 0!==n?n:0)+(null!==(a=e.contentScore)&&void 0!==a?a:0)}})),o=null===(a=r[t])||void 0===a?void 0:a.aggregations.map((function(e){return{index:e.id,publishedAt:new Date(e.publishedAt).getTime(),count:e.count,score:e.totalScore}})),c=o&&o.length&&o.sort((function(e,t){var n=new Date(e.publishedAt),a=new Date(t.publishedAt);return n&&a?a.getTime()-n.getTime():n&&!a?-1:!n&&a?1:0})),s=c&&c.length?c.reduce((function(e,t){return e+t.score}),0)/o.length:null,l="";l=null===s?"No data during this period":s>1?"Trending Positive":s<-1?"Trending Negative":"Trending Neutral",e[t]={hostSentiment:l,historyData:c||[],newData:i||[]}})),u(e)}}),[r,n]);var I=function(e,t){if("date"===p){var n=new Date(e.publishedAt),a=new Date(t.publishedAt);if(n&&a)return O?a.getTime()-n.getTime():n.getTime()-a.getTime();if(n&&!a)return O?-1:1;if(!n&&a)return O?1:-1}else{if("title"===p){var i=e.title;return t.title>i?O?1:-1:O?-1:1}var r=e.finalScore,o=t.finalScore;if(r&&o)return O?o-r:r-o;if(r&&!o)return O?-1:1;if(!r&&o)return O?1:-1}return 0},k=function(e){p===e?v(!O):(g(e),v(!0))};return Object(De.jsxs)(qe.a,{anchor:"right",open:!0,onClose:y,className:c.drawer,children:[Object(De.jsxs)("div",{className:c.menu,children:[Object(De.jsx)("img",{src:"/images/icons/barometer.png",height:36,alt:"barometer",className:c.barometerLogo}),Object(De.jsx)(qc,{})]}),Object(De.jsxs)("div",{style:{padding:"12px",paddingTop:"6px",position:"relative",display:"flex",flex:1,flexGrow:1,height:"calc(100% - 66px)",flexWrap:"nowrap",flexDirection:"column"},children:[Object(De.jsxs)("div",{className:c.header,children:[Object(De.jsx)(yn.a,{onClick:y,size:"small",children:Object(De.jsx)(nc.a,{color:"primary"})}),Object(De.jsx)("img",{src:i||C,alt:"episode",onError:function(e){e.target.src="/images/placeholder.png"}}),Object(De.jsxs)("div",{className:c.title,children:[Object(De.jsx)(gt.a,{variant:"subtitle2",children:Object(ya.decode)(a)}),Object(De.jsx)(gt.a,{variant:"body1",className:c.genresTitle,children:"Genres:"}),Object(De.jsx)(gt.a,{variant:"body2",className:c.genre,children:t.map((function(e,n){return n===t.length-1?e:e+", "}))})]})]}),Object(De.jsx)("div",{className:c.hostList,children:n.map((function(e){return!!d[e]&&Object(De.jsxs)("div",{className:c.host,children:[d[e].historyData.length?Object(De.jsxs)("div",{className:c.historyHostData,children:[Object(De.jsx)(Cc.a,{chartType:"Line",width:"360px",height:"250px",data:[[{type:"date",label:""},""]].concat(Object(bt.a)(d[e].historyData.map((function(e){return[new Date(e.publishedAt),e.score]})))),options:{chart:{title:e},colors:["#3E91DE"],legend:{position:"none"}},chartEvents:w}),Object(De.jsxs)("div",{children:[Object(De.jsxs)("p",{children:[Object(De.jsx)("b",{children:"Sentiment across current time window:"}),Object(De.jsx)("br",{}),d[e].hostSentiment]}),Object(De.jsxs)("p",{children:[Object(De.jsx)("b",{children:"# of articles in current time window:"}),Object(De.jsx)("br",{}),d[e].historyData.reduce((function(e,t){return e+t.count}),0)]})]})]}):Object(De.jsxs)("div",{style:{height:260,marginLeft:30},children:[Object(De.jsx)("p",{style:{fontSize:16,color:"rgb(117, 117, 117)"},children:e}),Object(De.jsx)("p",{children:d[e].hostSentiment})]}),Object(De.jsx)("div",{className:c.newHostData,children:!!d[e].newData.length&&Object(De.jsxs)(Fo.a,{stickyHeader:!0,"aria-label":"sticky table",children:[Object(De.jsx)(po.a,{children:Object(De.jsxs)(go.a,{children:[Object(De.jsx)(mo.a,{align:"center",onClick:function(){return k("date")},children:"Date"}),Object(De.jsx)(mo.a,{align:"center",onClick:function(){return k("score")},children:"Sentiment"}),Object(De.jsx)(mo.a,{align:"center",onClick:function(){return k("title")},children:"Article Title"})]})}),Object(De.jsx)(fo.a,{children:d[e].newData.sort(I).map((function(e){return Object(De.jsxs)(go.a,{children:[Object(De.jsx)(mo.a,{align:"center",className:"newhost-date",children:e.publishedAt&&Object(Lt.default)(new Date(e.publishedAt),"MM/dd/yy")}),Object(De.jsx)(mo.a,{align:"center",children:e.finalScore}),Object(De.jsx)(mo.a,{align:"left",children:Object(De.jsx)("a",{href:e.url,rel:"noreferrer",target:"_blank",style:{cursor:"pointer"},children:e.title})})]},e.id)}))})]})})]},e)}))})]})]})},es=function(e){var t=e.columns,n=void 0===t?[]:t,a=e.currentShow,i=e.totalShowsCount,r=e.showEpisodes,o=e.loading,c=e.order,s=e.orderBy,l=e.page,d=e.pageGarmShows,u=e.rowsPerPage,h=e.onChangeShow,b=e.onChangePage,f=e.onChangeRowsPerPage,x=e.onRequestSort,O=Object(m.useState)(null),v=Object(j.a)(O,2),C=v[0],A=v[1],y=Object(m.useState)([]),w=Object(j.a)(y,2),I=w[0],k=w[1],S=Object(m.useState)([]),E=Object(j.a)(S,2),R=E[0],N=E[1],D=Object(m.useState)(""),M=Object(j.a)(D,2),T=M[0],B=M[1],L=Object(m.useState)([]),F=Object(j.a)(L,2),P=F[0],z=F[1],G=Object(m.useState)({}),W=Object(j.a)(G,2),H=W[0],U=W[1],V=Object(m.useState)(null),K=Object(j.a)(V,2),Z=K[0],Q=K[1],X=ra(),Y=X.dashboardEnv,J=X.timeRange,q=xa().garmScoreColumns,_=Object(m.useCallback)(function(){var e=Object(g.a)(Object(p.a)().mark((function e(t,n){var a,i,r,o;return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Ne({from:J.from.getTime(),to:J.to.getTime(),hosts:t});case 2:a=e.sent,Q(a),i=["Name"],r={},o=0,n.forEach((function(e){var t=e.hostList?e.hostList.split(","):[];t&&t.length>o&&(o=t.length),t.forEach((function(t,n){var i,o=null===(i=a[t])||void 0===i?void 0:i.aggregations.map((function(e){return{index:e.id,publishedAt:new Date(e.publishedAt).getTime(),count:e.count,score:e.totalScore}}));r[e.show]||(r[e.show]={}),r[e.show]["Host ".concat(n+1)]={label:t,score:o&&o.length?o.reduce((function(e,t){return e+t.score}),0)/o.length:null}}))})),new Array(Math.max(o,1)).fill(0).forEach((function(e,t){i.push("Host "+(t+1))})),z(i),U(r);case 11:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),[J]);return Object(m.useEffect)((function(){var e=[];d.forEach((function(t){var n=t.hostList?t.hostList.split(","):[];n.length&&(e=[].concat(Object(bt.a)(e),Object(bt.a)(n)))})),_(e,d)}),[d,_]),Object(De.jsxs)(bo.a,{component:Da.a,style:{overflowX:"scroll",boxShadow:"0px 0px 0px 1px #E0E0E0",borderRadius:4,flex:1,flexGrow:1},children:[Object(De.jsxs)(hc,{stickyHeader:!0,style:{borderRadius:4,height:"100%",borderCollapse:"collapse"},children:[Object(De.jsx)(po.a,{style:{position:"sticky",top:-1,zIndex:2},children:Object(De.jsx)(go.a,{children:("Host"===Y?P:n).map((function(e,t){return Object(De.jsx)(uc,{sortDirection:s===e&&c,style:0===t?{width:"20%",minWidth:260,border:"1px solid #F0F0F1",borderRightWidth:4}:{padding:"4px 10px",borderRadius:0,border:"1px solid #F0F0F1",borderBottom:"none",background:"#F8F8F8"},children:"Host"===Y?Object(De.jsx)("span",{children:e}):Object(De.jsx)(jo.a,{disabled:["Top IAB Categories","Genres"].includes(e),active:s===e,direction:s===e?c:"asc",onClick:function(){x("No. of stars"===e?"rating":e,t-1)},children:e})},e)}))})}),o?Object(De.jsx)(go.a,{style:{height:"100%",border:"none"},children:Object(De.jsx)(mo.a,{colSpan:n.length,children:Object(De.jsx)(ui,{})})}):Object(De.jsxs)(fo.a,{children:[d.map((function(e,t){return Object(De.jsx)(vc,{name:e.show,columns:"Host"===Y?P:n,garmScoreColumns:q,data:e,hostData:H[e.show],isHost:"Host"===Y,onClick:function(){return function(e){k(e.genreList?e.genreList.split(",").map((function(e){return e.trim()})):[]);var t=e.hostList?e.hostList.split(",").map((function(e){return e.trim()})):[],n=ta.a.uniq(t);N(n),h(e.showOnDB,{}),B(e.logoUrl)}(e)}},"".concat(e.show,"-").concat(t))})),Object(De.jsx)(go.a,{style:{height:"100%",border:"none"},children:Object(De.jsx)(mo.a,{})})]}),Object(De.jsx)(dc,{style:{position:"sticky",bottom:-1,zIndex:1},children:Object(De.jsx)(go.a,{children:Object(De.jsx)(mo.a,{colSpan:1e3,style:{padding:"6px 12px",boxShadow:"inset 0 7px 2px -7px rgba(0,0,0,0.4)"},children:Object(De.jsx)(_e.a,{container:!0,justifyContent:"space-between",alignItems:"center",style:{position:"sticky",top:"50%",left:20,maxWidth:500},children:Object(De.jsx)(xo.a,{rowsPerPageOptions:[20,50,100],SelectProps:{inputProps:{"aria-label":"rows per page"},native:!0},onPageChange:b,onRowsPerPageChange:f,count:i,page:l,rowsPerPage:u,style:{paddingTop:0,paddingBottom:0,fontSize:12},nextIconButtonProps:{size:"small"},backIconButtonProps:{size:"small"}})})})})})]}),a&&("Host"===Y?Object(De.jsx)($c,{selectedShow:a,hostList:R,genres:I,logoUrl:T,onChangeShow:h,hostsData:Z}):Object(De.jsx)(jc,{columns:n.filter((function(e){return"Genres"!==e})),garmScoreColumns:q,showEpisodes:r,selectedShow:a,genres:I,hostList:R,logoUrl:T,loading:o,onChangeShow:h,onSelectEpisode:A})),Object(De.jsx)(Wr.a,{open:!!C,fullScreen:!0,children:Object(De.jsx)(ec,{episode:C,show:a||"",showGenres:I,onClose:function(){A(null)}})})]})},ts=n(296),ns=n(415),as=["title","titleId"];function is(){return is=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function os(e,t){var n=e.title,a=e.titleId,i=rs(e,as);return m.createElement("svg",is({width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":a},i),n?m.createElement("title",{id:a},n):null,Lc||(Lc=m.createElement("path",{d:"M10.4166 4.99998C10.4166 5.2301 10.23 5.41665 9.99992 5.41665C9.7698 5.41665 9.58325 5.2301 9.58325 4.99998C9.58325 4.76986 9.7698 4.58331 9.99992 4.58331C10.23 4.58331 10.4166 4.76986 10.4166 4.99998Z",stroke:"#2D2D38",strokeLinecap:"round",strokeLinejoin:"round"})),Fc||(Fc=m.createElement("path",{d:"M10.4166 9.99998C10.4166 10.2301 10.23 10.4166 9.99992 10.4166C9.7698 10.4166 9.58325 10.2301 9.58325 9.99998C9.58325 9.76986 9.7698 9.58331 9.99992 9.58331C10.23 9.58331 10.4166 9.76986 10.4166 9.99998Z",stroke:"#2D2D38",strokeLinecap:"round",strokeLinejoin:"round"})),Pc||(Pc=m.createElement("path",{d:"M15.4166 4.99998C15.4166 5.2301 15.23 5.41665 14.9999 5.41665C14.7698 5.41665 14.5833 5.2301 14.5833 4.99998C14.5833 4.76986 14.7698 4.58331 14.9999 4.58331C15.23 4.58331 15.4166 4.76986 15.4166 4.99998Z",stroke:"#141414",strokeLinecap:"round",strokeLinejoin:"round"})),zc||(zc=m.createElement("path",{d:"M15.4166 9.99998C15.4166 10.2301 15.23 10.4166 14.9999 10.4166C14.7698 10.4166 14.5833 10.2301 14.5833 9.99998C14.5833 9.76986 14.7698 9.58331 14.9999 9.58331C15.23 9.58331 15.4166 9.76986 15.4166 9.99998Z",stroke:"#141414",strokeLinecap:"round",strokeLinejoin:"round"})),Gc||(Gc=m.createElement("path",{d:"M5.41658 4.99998C5.41658 5.2301 5.23004 5.41665 4.99992 5.41665C4.7698 5.41665 4.58325 5.2301 4.58325 4.99998C4.58325 4.76986 4.7698 4.58331 4.99992 4.58331C5.23004 4.58331 5.41658 4.76986 5.41658 4.99998Z",stroke:"#141414",strokeLinecap:"round",strokeLinejoin:"round"})),Wc||(Wc=m.createElement("path",{d:"M5.41658 9.99998C5.41658 10.2301 5.23004 10.4166 4.99992 10.4166C4.7698 10.4166 4.58325 10.2301 4.58325 9.99998C4.58325 9.76986 4.7698 9.58331 4.99992 9.58331C5.23004 9.58331 5.41658 9.76986 5.41658 9.99998Z",stroke:"#141414",strokeLinecap:"round",strokeLinejoin:"round"})),Hc||(Hc=m.createElement("path",{d:"M10.4166 15C10.4166 15.2301 10.23 15.4166 9.99992 15.4166C9.7698 15.4166 9.58325 15.2301 9.58325 15C9.58325 14.7699 9.7698 14.5833 9.99992 14.5833C10.23 14.5833 10.4166 14.7699 10.4166 15Z",stroke:"#141414",strokeLinecap:"round",strokeLinejoin:"round"})),Uc||(Uc=m.createElement("path",{d:"M15.4166 15C15.4166 15.2301 15.23 15.4166 14.9999 15.4166C14.7698 15.4166 14.5833 15.2301 14.5833 15C14.5833 14.7699 14.7698 14.5833 14.9999 14.5833C15.23 14.5833 15.4166 14.7699 15.4166 15Z",stroke:"#141414",strokeLinecap:"round",strokeLinejoin:"round"})),Vc||(Vc=m.createElement("path",{d:"M5.41658 15C5.41658 15.2301 5.23004 15.4166 4.99992 15.4166C4.7698 15.4166 4.58325 15.2301 4.58325 15C4.58325 14.7699 4.7698 14.5833 4.99992 14.5833C5.23004 14.5833 5.41658 14.7699 5.41658 15Z",stroke:"#141414",strokeLinecap:"round",strokeLinejoin:"round"})))}var cs,ss,ls,ds=m.forwardRef(os),us=(n.p,Object(ot.a)((function(){return Object(ct.a)({container:{padding:8,display:"flex",alignItems:"center",gap:4,"& .dot-icon":{display:"none"},"&:hover":{background:"#F0F0F1","& .dot-icon":{display:"block"}}},showContainer:{position:"relative",width:24,height:16,padding:2,borderRadius:100,"& > .show-flag":{position:"absolute",top:"50%",width:12,height:12,borderRadius:"100%",transform:"translate(0, -50%)",background:"#ffffff"}}})}))),hs=function(e){var t=e.title,n=e.show,a=e.index,i=e.isCollapsable,r=void 0!==i&&i,o=e.isSubItem,c=void 0!==o&&o,s=e.isDragDisabled,l=void 0!==s&&s,d=e.onChangeShow,u=us(),h=Ai();return Object(De.jsx)(wt.b,{draggableId:t,index:a,isDragDisabled:l,children:function(e){return Object(De.jsxs)("div",Object(b.a)(Object(b.a)(Object(b.a)({className:u.container},e.draggableProps),e.dragHandleProps),{},{ref:e.innerRef,children:[Object(De.jsx)("div",{style:{width:20,height:20},children:Object(De.jsx)(ds,{className:"dot-icon"})}),Object(De.jsx)(gt.a,{className:c?h.textXSRegular:h.textSMRegular,style:{flex:1,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:144},children:t}),r?Object(De.jsx)("div",{onClick:function(){return d()},style:{marginLeft:4,display:"flex",alignItems:"center"},children:n?Object(De.jsx)(Ct.a,{style:{fontSize:18}}):Object(De.jsx)(Ot.a,{style:{fontSize:18}})}):Object(De.jsx)("div",{className:u.showContainer,style:n?{background:"#5EA1F2"}:{background:"#C3C3C7"},onClick:function(){return d()},children:Object(De.jsx)("div",{className:"show-flag",style:n?{right:2}:{left:2}})})]}))}},t+"column")},bs=["title","titleId"];function ps(){return ps=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function js(e,t){var n=e.title,a=e.titleId,i=gs(e,bs);return m.createElement("svg",ps({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":a},i),n?m.createElement("title",{id:a},n):null,cs||(cs=m.createElement("rect",{x:.5,y:.5,width:23,height:23,rx:11.5,fill:"white"})),ss||(ss=m.createElement("path",{d:"M14.625 9.375L9.375 14.625M9.375 9.375L14.625 14.625",stroke:"#2D2D38",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),ls||(ls=m.createElement("rect",{x:.5,y:.5,width:23,height:23,rx:11.5,stroke:"#C3C3C7"})))}var ms,fs,xs,Os=m.forwardRef(js),vs=(n.p,["title","titleId"]);function Cs(){return Cs=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function ys(e,t){var n=e.title,a=e.titleId,i=As(e,vs);return m.createElement("svg",Cs({width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":a},i),n?m.createElement("title",{id:a},n):null,ms||(ms=m.createElement("path",{d:"M4.79159 16.0419H15.2083C15.6685 16.0419 16.0416 15.6688 16.0416 15.2085V4.79165C16.0416 4.33141 15.6685 3.95831 15.2083 3.95831H4.79159C4.33135 3.95831 3.95825 4.33141 3.95825 4.79165V15.2085C3.95825 15.6688 4.33135 16.0419 4.79159 16.0419Z",stroke:"#686874",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),fs||(fs=m.createElement("path",{d:"M7.70825 4.16669V15.8334",stroke:"#686874",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),xs||(xs=m.createElement("path",{d:"M12.2917 4.16669V15.8334",stroke:"#686874",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})))}var ws=m.forwardRef(ys),Is=(n.p,Object(ot.a)((function(){return Object(ct.a)({container:{width:218,border:"1px solid #E1E1E3"},viewSelection:{width:"100%",border:"1px solid #C3C3C7",borderRadius:2,padding:"0 8px",fontSize:12,"& .MuiSvgIcon-root":{marginTop:-2},"&:before, &:after":{border:"none !important"}},saveModal:{width:500,padding:24,boxShadow:"0 16px 24px 0 rgba(0, 0, 0, 0.15)",background:"#FFFFFF",position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)"},saveBtn:{borderRadius:8,fontWeight:400,fontSize:14,color:"#FFFFFF"},input:{marginTop:4,"& input":{padding:8}},columnsIcon:{border:"1px solid #C3C3C7",borderRadius:8,display:"flex",alignItems:"center",justifyContent:"center",width:36,height:36,cursor:"pointer"}})}))),ks=["Top IAB Categories","Genres","No. of stars"],Ss=function(e){var t=e.anchorEl,n=e.onOpen,a=e.onClose,i=Is(),r=Be().user,o=Ai(),c=Object(m.useState)(null),s=Object(j.a)(c,2),l=s[0],d=s[1],u=Object(m.useState)(!1),h=Object(j.a)(u,2),f=h[0],x=h[1],O=Object(m.useState)(!1),v=Object(j.a)(O,2),C=v[0],A=v[1],y=Object(m.useState)(""),w=Object(j.a)(y,2),I=w[0],k=w[1],S="view"===(null===r||void 0===r?void 0:r.role),E=xa(),R=E.garmScoreColumns,N=E.selectedView,D=E.setSelectedView,M=E.dashboardViews,T=E.fetchOrganizationViews,B=E.selectedViewId,L=E.setSelectedViewId;Object(m.useEffect)((function(){if(B&&M&&M.length){var e=M.filter((function(e){return e.id===B}))[0];e&&(d(e),L(e.id),D(JSON.parse(e.data)))}else d(null)}),[B,M]),Object(m.useEffect)((function(){if(!B&&(!N||!N.length)){var e=[{type:"score",title:"GARM Scores",data:R.map((function(e){return{title:e,hide:!1}}))}].concat(Object(bt.a)(ks.map((function(e){return{title:e,hide:!1,type:"normal"}}))));D(e)}}),[B,R,N,M]);var F=function(e,t){var n=Object(bt.a)(N);if(t<0)n[e]=Object(b.a)(Object(b.a)({},n[e]),{},{hide:!n[e].hide});else{var a=n[e].data;a[t]=Object(b.a)(Object(b.a)({},a[t]),{},{hide:!a[t].hide}),n[e]={type:"score",title:"GARM Scores",data:a}}d(null),L(null),D(n)},P=function(){A(!1)},z=function(){var e=Object(g.a)(Object(p.a)().mark((function e(){var t;return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Ee(I,JSON.stringify(N));case 2:t=e.sent,T(),d(t),L(t.id),A(!1),k("");case 8:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return Object(De.jsxs)("div",{children:[Object(De.jsx)("button",{id:"columns-order",className:i.columnsIcon,onClick:n,children:Object(De.jsx)(ws,{})}),Object(De.jsx)(Mc.a,{id:"columns-order",open:Boolean(t),anchorEl:t,onClose:a,anchorOrigin:{vertical:"bottom",horizontal:"left"},children:Object(De.jsxs)(_e.a,{container:!0,direction:"column",className:i.container,children:[Object(De.jsxs)(_e.a,{item:!0,container:!0,direction:"row",alignItems:"center",style:{padding:"4px 8px",borderBottom:"1px solid #E1E1E3"},wrap:"nowrap",children:[Object(De.jsx)(Gn.a,{fontSize:"small",style:{marginRight:5}}),Object(De.jsx)(gt.a,{className:o.textXSRegular,style:{color:"#686874"},children:"Enable/reorder the columns on your Dashboard"})]}),Object(De.jsx)(_e.a,{item:!0,container:!0,style:{padding:8,borderBottom:"1px solid #E1E1E3"},wrap:"nowrap",children:Object(De.jsxs)(Ka.a,{labelId:"columns-view-select-label",id:"columns-view-select",value:(null===l||void 0===l?void 0:l.id)||"",onChange:function(e){var t=M.filter((function(t){return t.id===e.target.value}))[0];d(t),L(t.id),D(JSON.parse(t.data))},displayEmpty:!0,inputProps:{"aria-label":"Without label"},className:i.viewSelection,children:[Object(De.jsx)(In.a,{value:"",disabled:!0,className:o.textXSRegular,style:{padding:"4px 8px"},children:"Select saved view..."}),M.map((function(e){return Object(De.jsx)(In.a,{value:e.id,className:o.textXSRegular,style:{padding:"4px 8px"},children:e.title},e.id)}))]})}),Object(De.jsx)(_e.a,{item:!0,container:!0,direction:"column",style:{borderBottom:"1px solid #E1E1E3"},wrap:"nowrap",children:Object(De.jsx)(wt.a,{onDragEnd:function(e){var t=e.source,n=e.destination;if(n&&t&&n.index!==t.index){var a=Object(bt.a)(N),i=a.findIndex((function(e){return"score"===e.type})),r=a[i].data;if("Garm Score Columns"===t.droppableId&&"Garm Score Columns"===n.droppableId){var o=r.splice(t.index,1)[0];r.splice(n.index,0,o),a[i]={type:"score",title:"GARM Scores",data:r},D(a),d(null),L(null)}else if("Garm Columns"===t.droppableId&&"Garm Columns"===n.droppableId){var c=a.splice(t.index,1)[0];a.splice(n.index,0,c),D(a),d(null),L(null)}}},children:Object(De.jsx)(wt.c,{droppableId:"Garm Columns",isDropDisabled:f,children:function(e){return Object(De.jsxs)(_e.a,Object(b.a)(Object(b.a)({container:!0,direction:"column",ref:e.innerRef},e.droppableProps),{},{children:[N.map((function(e,t){return"score"===e.type?Object(De.jsxs)(_e.a,{container:!0,direction:"column",children:[Object(De.jsx)(hs,{title:e.title,show:f,index:t,isDragDisabled:f,onChangeShow:function(){return x(!f)},isCollapsable:!0}),Object(De.jsx)(ft.a,{in:f,timeout:"auto",unmountOnExit:!0,children:Object(De.jsx)(wt.c,{droppableId:"Garm Score Columns",children:function(n){return Object(De.jsxs)(_e.a,Object(b.a)(Object(b.a)({container:!0,direction:"column",ref:n.innerRef},n.droppableProps),{},{style:{borderBottom:"1px solid #E1E1E3"},children:[e.data.map((function(e,n){return Object(De.jsx)(hs,{title:e.title,show:!e.hide,index:n,isSubItem:!0,onChangeShow:function(){return F(t,n)}},n)})),n.placeholder]}))}})})]},t):Object(De.jsx)(hs,{title:e.title,show:!e.hide,index:t,isDragDisabled:f,onChangeShow:function(){return F(t,-1)}},t)})),e.placeholder]}))}})})}),S?Object(De.jsx)(De.Fragment,{}):Object(De.jsx)(_e.a,{item:!0,container:!0,direction:"row",alignItems:"center",justifyContent:"flex-end",style:{padding:"4px 8px"},wrap:"nowrap",children:Object(De.jsx)(Mt,{title:"Save View",variant:"outlined",height:24,onClick:function(){A(!0)},className:o.textXSRegular})}),Object(De.jsx)(ts.a,{open:C,onClose:P,"aria-labelledby":"table-columns-modal-title","aria-describedby":"table-columns-modal-description",closeAfterTransition:!0,BackdropComponent:ns.a,BackdropProps:{timeout:800},children:Object(De.jsxs)(_e.a,{container:!0,direction:"column",className:i.saveModal,children:[Object(De.jsxs)(_e.a,{item:!0,container:!0,direction:"row",justifyContent:"space-between",alignItems:"flex-start",style:{gap:16},children:[Object(De.jsxs)(_e.a,{item:!0,container:!0,direction:"column",style:{flex:1},children:[Object(De.jsx)(gt.a,{className:o.textLGBold,children:"Save Table Columns"}),Object(De.jsx)(gt.a,{className:o.textSMRegular,style:{color:"#686874"},children:"Save your current selections for quick access by giving it a name. You can use this setting on other dashboards you create."})]}),Object(De.jsx)(Os,{cursor:"pointer",onClick:P})]}),Object(De.jsxs)(_e.a,{item:!0,container:!0,direction:"column",style:{paddingTop:24},children:[Object(De.jsx)(gt.a,{className:o.textXSBold,style:{color:"#686874"},children:"Name"}),Object(De.jsx)(jt.a,{placeholder:"Enter saved view name...",variant:"outlined",value:I,onChange:function(e){return k(e.target.value)},className:i.input})]}),Object(De.jsxs)(_e.a,{item:!0,container:!0,direction:"row",alignItems:"center",justifyContent:"flex-end",style:{paddingTop:40,gap:8},children:[Object(De.jsx)(Mt,{title:"Cancel",variant:"outlined",height:36,onClick:P,className:o.textSMRegular}),Object(De.jsx)(Mt,{title:"Save View",color:"primary",height:36,onClick:z,className:i.saveBtn})]})]})})]})})]})},Es=Object(ot.a)((function(){return Object(ct.a)({container:{gap:8,flexWrap:"wrap"},fitlerItem:{width:"auto",border:"1px solid #C3C3C7",gap:4,borderRadius:8,padding:"4px 8px"}})})),Rs=function(e){var t=e.content,n=e.isViewer,a=e.removeFilter,i=Es(),r=Ai();return Object(De.jsxs)(_e.a,{item:!0,container:!0,direction:"row",className:i.fitlerItem,children:[Object(De.jsx)(gt.a,{className:r.textXSRegular,children:t}),!n&&Object(De.jsx)(nc.a,{style:{cursor:"pointer",fontSize:16},onClick:a})]})},Ns=function(e){var t=e.isViewer,n=Es(),a=Ai(),i=xa(),r=i.riskChangeFilter,o=i.selectedPublishers,c=i.selectedIABCategories,s=i.selectIABCategories,l=i.selectPuplisher,d=i.setRiskChangeFilter,u=i.setFilterValue,h=(0,i.getFilterValue)("audience"),b=h&&0===h[0]&&5===h[1],p=c.filter((function(e){return!(e.children&&e.children.length)})),g=!(p&&p.length),j=!(o&&o.length),m="all"===r,f=function(e,t){u(e,t)};return b&&g&&j&&m?Object(De.jsx)(_e.a,{item:!0}):Object(De.jsxs)(_e.a,{container:!0,direction:"row",alignItems:"center",className:n.container,children:[Object(De.jsx)(gt.a,{className:a.textSMBold,style:{marginRight:8},children:"Filters:"}),b?Object(De.jsx)(De.Fragment,{}):Object(De.jsx)(Rs,{isViewer:t,content:"Podcast Rating: >".concat(h[0],", <").concat(h[1]),removeFilter:function(){return f("audience",[0,5])}}),g?Object(De.jsx)(De.Fragment,{}):Object(De.jsx)(Rs,{isViewer:t,content:"IAB: ".concat(p[0].name).concat(p.length>2?", "+p[1].name+", +"+(p.length-2)+" more...":2===p.length?", "+p[1].name:""),removeFilter:function(){return s([])}}),j?Object(De.jsx)(De.Fragment,{}):Object(De.jsx)(Rs,{isViewer:t,content:"IAB: ".concat(o[0]).concat(o.length>2?", "+o[1]+", +"+(o.length-2)+" more...":2===o.length?", "+o[1]:""),removeFilter:function(){return l([])}}),m?Object(De.jsx)(De.Fragment,{}):Object(De.jsx)(Rs,{isViewer:t,content:"Risk Level Recently Changed: ".concat(r.toUpperCase()),removeFilter:function(){return d("all")}}),!t&&Object(De.jsx)(Mt,{variant:"text",color:"primary",onClick:function(){!b&&f("audience",[0,5]),!g&&s([]),!j&&l([]),!m&&d("all")},className:a.textXSRegular,style:{color:"#5EA1F2",height:20,marginLeft:8},children:"Clear All"})]})},Ds=Object(ot.a)((function(){return Object(ct.a)({root:{padding:"12px",paddingTop:"16px",position:"relative",display:"flex",flex:1,flexGrow:1,height:"100%",flexWrap:"nowrap"},filtersRow:{marginBottom:16,marginTop:12,gap:20},searchBar:{width:320,border:"1px solid #C3C3C7",padding:"2px 8px",borderRadius:36,"& .MuiInputBase-root:before, & .MuiInputBase-root:after":{border:"none !important"}}})}));function Ms(){var e=Object(Ze.i)().env,t=Ds(),n=Be(),a=n.organization,i=n.user,r=xa(),o=r.dashboardId,c=r.dashboardName,s=r.riskFilters,l=r.garmSourceFilters,d=r.selectedPublishers,u=r.selectedIABCategories,h=r.selectedGenres,f=r.garmDashboardColumns,x=r.selectedViewId,O=r.selectDashboard,v=r.selectedCustomFilter,C="view"===(null===i||void 0===i?void 0:i.role),A=Object(m.useState)(null),y=Object(j.a)(A,2),w=y[0],I=y[1],k=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=Be(),n=t.organization,a=t.fetchOrganization,i=Bt(),r=i.handleSuccess,o=i.handleError,c=Object(m.useCallback)(function(){var t=Object(g.a)(Object(p.a)().mark((function t(i){var c;return Object(p.a)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(null!==n&&void 0!==n&&n.apiKey){t.next=2;break}return t.abrupt("return",null);case 2:return t.prev=2,t.next=5,le(n.apiKey,i);case 5:if(c=t.sent,r("Successfully created a new dashboard"),!e){t.next=10;break}return t.next=10,a();case 10:return Xt(Kt.CREATE_DASHBOARD),t.abrupt("return",c);case 14:return t.prev=14,t.t0=t.catch(2),o(t.t0,"There was an error while creating the dashboard"),t.abrupt("return",null);case 18:case"end":return t.stop()}}),t,null,[[2,14]])})));return function(e){return t.apply(this,arguments)}}(),[n,e,a,o,r]);return{onCreateDashboard:c}}(),S=k.onCreateDashboard,E=ra().setDashboardEnv,N=xn().onUpdateDashboard,D=Ea(),M=D.currentShow,T=D.showEpisodes,B=D.loading,L=D.page,F=D.pageGarmShows,P=D.rowsPerPage,z=D.onChangeShow,G=D.onChangePage,W=D.onChangeRowsPerPage,H=D.onRequestSort,U=D.totalShowsCount,V=D.order,K=D.orderBy,Z=D.searchText,Q=D.onChangeSearchText;if(Object(m.useEffect)((function(){E(e||"GARM")}),[e]),!a)return null;var X=function(){var e=Qr()(Object.values(s).map((function(e){return{dashboardFilterKey:e.dashboardFilterKey,enabled:e.enabled,value:e.value}})),"dashboardFilterKey");return{name:c,type:R.GARM,keywordsList:l,garmFilters:Object(b.a)(Object(b.a)({},e),{},{publishersList:d,iabCategories:u,genresList:h,selectedViewId:x}),exceptionFilterId:(null===v||void 0===v?void 0:v.id)||null}},Y=function(){var e=Qr()(Object.values(s).map((function(e){return{dashboardFilterKey:e.dashboardFilterKey,enabled:"audience"!==e.dashboardFilterKey,value:"audience"===e.dashboardFilterKey?[0,5]:[0,3]}})),"dashboardFilterKey");return{name:c,type:R.GARM,keywordsList:[],garmFilters:Object(b.a)(Object(b.a)({},e),{},{publishersList:[],iabCategories:[],genresList:[]}),exceptionFilterId:(null===v||void 0===v?void 0:v.id)||null}},J=function(){var e=Object(g.a)(Object(p.a)().mark((function e(){var t;return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=X(),e.next=3,S(t);case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),q=function(){var e=Object(g.a)(Object(p.a)().mark((function e(){var t;return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o){e.next=2;break}return e.abrupt("return");case 2:return t=X(),e.next=5,N(o,t);case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),_=function(){var e=Object(g.a)(Object(p.a)().mark((function e(){var t,n;return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=Y(),e.next=3,S(Object(b.a)(Object(b.a)({},t),{},{name:"Untitled"}));case 3:(n=e.sent)&&O(n);case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return Object(De.jsxs)(_e.a,{container:!0,direction:"column",className:t.root,children:[Object(De.jsx)(_e.a,{item:!0,container:!0,children:Object(De.jsx)(ho,{totalShowsCount:U,orderBy:K,searchText:Z,order:V,dashboardId:o,dashboardName:c,onCreate:J,onUpdate:q,onNew:_})}),Object(De.jsxs)(_e.a,{item:!0,container:!0,direction:"row",justifyContent:"space-between",alignItems:"center",className:t.filtersRow,children:[Object(De.jsx)(_e.a,{item:!0,children:Object(De.jsx)(qc,{})}),Object(De.jsx)(_e.a,{item:!0,children:Object(De.jsx)(jt.a,{InputLabelProps:{shrink:!0,style:{fontWeight:"normal"}},InputProps:{placeholder:"Search list...",startAdornment:Object(De.jsx)(mt.a,{position:"start",children:Object(De.jsx)(yt.a,{htmlColor:"#858591",style:{fontSize:20}})})},value:Z,onChange:Q,className:t.searchBar})})]}),Object(De.jsxs)(_e.a,{item:!0,container:!0,direction:"row",justifyContent:"space-between",alignItems:"center",className:t.filtersRow,children:[Object(De.jsx)(_e.a,{item:!0,style:{flex:1},children:Object(De.jsx)(Ns,{isViewer:C})}),Object(De.jsx)(Ss,{anchorEl:w,onOpen:function(e){I(e.currentTarget)},onClose:function(){I(null)}})]}),Object(De.jsx)(es,{columns:["Name"].concat(f),currentShow:M,totalShowsCount:U,showEpisodes:T,loading:B,order:V,orderBy:K,page:L,pageGarmShows:F,rowsPerPage:P,onChangeShow:z,onChangePage:G,onChangeRowsPerPage:W,onRequestSort:H})]})}var Ts=Object(ot.a)((function(e){return Object(ct.a)({container:{padding:e.spacing(6)},h5:{fontSize:24,fontWeight:"bold"},h6:{fontSize:20}})})),Bs=function(){var e=Ts(),t=lt();return Object(De.jsx)(_e.a,{container:!0,justifyContent:"center",children:Object(De.jsx)(_e.a,{item:!0,xs:12,sm:10,md:8,children:Object(De.jsxs)(_e.a,{container:!0,spacing:2,className:e.container,children:[Object(De.jsx)(_e.a,{item:!0,xs:12,children:Object(De.jsx)(gt.a,{variant:"h5",className:e.h5,children:"Cookie Policy for Barometer"})}),Object(De.jsx)(_e.a,{item:!0,xs:12,className:t.mb2,children:Object(De.jsx)(gt.a,{variant:"body1",children:"This is the Cookie Policy for Barometer, accessible from thebarometer.co"})}),Object(De.jsx)(_e.a,{item:!0,xs:12,children:Object(De.jsx)(gt.a,{variant:"h6",className:e.h6,children:"What Are Cookies"})}),Object(De.jsx)(_e.a,{item:!0,xs:12,children:Object(De.jsx)(gt.a,{children:"As is common practice with almost all professional websites this site uses cookies, which are tiny files that are downloaded to your computer, to improve your experience. This page describes what information they gather, how we use it and why we sometimes need to store these cookies. We will also share how you can prevent these cookies from being stored however this may downgrade or 'break' certain elements of the site's functionality."})}),Object(De.jsx)(_e.a,{item:!0,xs:12,children:Object(De.jsx)(gt.a,{variant:"h6",className:e.h6,children:"How We Use Cookies"})}),Object(De.jsx)(_e.a,{item:!0,xs:12,children:Object(De.jsx)(gt.a,{children:"We use cookies for a variety of reasons detailed below. Unfortunately in most cases there are no industry standard options for disabling cookies without completely disabling the functionality and features they add to this site. It is recommended that you leave on all cookies if you are not sure whether you need them or not in case they are used to provide a service that you use."})}),Object(De.jsx)(_e.a,{item:!0,xs:12,children:Object(De.jsx)(gt.a,{variant:"h6",className:e.h6,children:"Disabling Cookies"})}),Object(De.jsx)(_e.a,{item:!0,xs:12,children:Object(De.jsx)(gt.a,{children:"You can prevent the setting of cookies by adjusting the settings on your browser (see your browser Help for how to do this). Be aware that disabling cookies will affect the functionality of this and many other websites that you visit. Disabling cookies will usually result in also disabling certain functionality and features of this site. Therefore it is recommended that you do not disable cookies."})}),Object(De.jsx)(_e.a,{item:!0,xs:12,children:Object(De.jsx)(gt.a,{variant:"h6",className:e.h6,children:"The Cookies We Set"})}),Object(De.jsxs)("ul",{children:[Object(De.jsxs)("li",{children:[Object(De.jsx)(gt.a,{variant:"subtitle2",children:"Account related cookies"}),Object(De.jsx)(gt.a,{children:"If you create an account with us then we will use cookies for the management of the signup process and general administration. These cookies will usually be deleted when you log out however in some cases they may remain afterwards to remember your site preferences when logged out."})]}),Object(De.jsxs)("li",{children:[Object(De.jsx)(gt.a,{variant:"subtitle2",children:"Login related cookies"}),Object(De.jsx)(gt.a,{children:"We use cookies when you are logged in so that we can remember this fact. This prevents you from having to log in every single time you visit a new page. These cookies are typically removed or cleared when you log out to ensure that you can only access restricted features and areas when logged in."})]}),Object(De.jsxs)("li",{children:[Object(De.jsx)(gt.a,{variant:"subtitle2",children:"Email newsletters related cookies"}),Object(De.jsx)(gt.a,{children:"This site offers newsletter or email subscription services and cookies may be used to remember if you are already registered and whether to show certain notifications which might only be valid to subscribed/unsubscribed users."})]}),Object(De.jsxs)("li",{children:[Object(De.jsx)(gt.a,{variant:"subtitle2",children:"Orders processing related cookies"}),Object(De.jsx)(gt.a,{children:"This site offers e-commerce or payment facilities and some cookies are essential to ensure that your order is remembered between pages so that we can process it properly."})]}),Object(De.jsxs)("li",{children:[Object(De.jsx)(gt.a,{variant:"subtitle2",children:"Surveys related cookies"}),Object(De.jsx)(gt.a,{children:"From time to time we offer user surveys and questionnaires to provide you with interesting insights, helpful tools, or to understand our user base more accurately. These surveys may use cookies to remember who has already taken part in a survey or to provide you with accurate results after you change pages."})]}),Object(De.jsxs)("li",{children:[Object(De.jsx)(gt.a,{variant:"subtitle2",children:"Forms related cookies"}),Object(De.jsx)(gt.a,{children:"When you submit data through a form such as those found on contact pages or comment forms cookies may be set to remember your user details for future correspondence."})]}),Object(De.jsxs)("li",{children:[Object(De.jsx)(gt.a,{variant:"subtitle2",children:"Site preferences cookies"}),Object(De.jsx)(gt.a,{children:"In order to provide you with a great experience on this site we provide the functionality to set your preferences for how this site runs when you use it. In order to remember your preferences we need to set cookies so that this information can be called whenever you interact with a page that is affected by your preferences."})]})]}),Object(De.jsxs)(_e.a,{item:!0,xs:12,children:[Object(De.jsx)(gt.a,{variant:"h6",className:e.h6,children:"Third Party Cookies"}),Object(De.jsx)(gt.a,{children:"In some special cases we also use cookies provided by trusted third parties. The following section details which third party cookies you might encounter through this site."})]}),Object(De.jsxs)("ul",{children:[Object(De.jsx)("li",{children:Object(De.jsx)(gt.a,{children:"This site uses Google Analytics which is one of the most widespread and trusted analytics solutions on the web for helping us to understand how you use the site and ways that we can improve your experience. These cookies may track things such as how long you spend on the site and the pages that you visit so we can continue to produce engaging content. For more information on Google Analytics cookies, see the official Google Analytics page."})}),Object(De.jsx)("li",{children:Object(De.jsx)(gt.a,{children:"Third party analytics are used to track and measure usage of this site so that we can continue to produce engaging content. These cookies may track things such as how long you spend on the site or pages you visit which helps us to understand how we can improve the site for you."})}),Object(De.jsx)("li",{children:Object(De.jsx)(gt.a,{children:"From time to time we test new features and make subtle changes to the way that the site is delivered. When we are still testing new features these cookies may be used to ensure that you receive a consistent experience whilst on the site whilst ensuring we understand which optimisations our users appreciate the most."})}),Object(De.jsx)("li",{children:Object(De.jsx)(gt.a,{children:"As we sell products it's important for us to understand statistics about how many of the visitors to our site actually make a purchase and as such this is the kind of data that these cookies will track. This is important to you as it means that we can accurately make business predictions that allow us to monitor our advertising and product costs to ensure the best possible price."})})]}),Object(De.jsx)(_e.a,{item:!0,xs:12,children:Object(De.jsx)(gt.a,{variant:"h6",className:e.h6,children:"More Information"})}),Object(De.jsx)(_e.a,{item:!0,xs:12,children:Object(De.jsx)(gt.a,{children:"Hopefully that has clarified things for you and as was previously mentioned if there is something that you aren't sure whether you need or not it's usually safer to leave cookies enabled in case it does interact with one of the features you use on our site. However if you are still looking for more information then you can contact us through one of our preferred contact methods:"})}),Object(De.jsx)("ul",{children:Object(De.jsx)("li",{children:Object(De.jsx)(gt.a,{children:"Email: support@thebarometer.co"})})})]})})})},Ls=n(109);n(653);Ls.c.GlobalWorkerOptions.workerSrc="//cdnjs.cloudflare.com/ajax/libs/pdf.js/".concat(Ls.c.version,"/pdf.worker.min.js");var Fs=Object(ot.a)((function(e){return Object(ct.a)({container:{padding:e.spacing(0,0,0,.5),overflow:"hidden"}})}));function Ps(){var e=Fs(),t=Ve().width,n=Object(m.useState)([]),a=Object(j.a)(n,2),i=a[0],r=a[1];return Object(De.jsx)("div",{className:e.container,children:Object(De.jsx)(Ls.a,{file:"./Documentation.pdf",externalLinkTarget:"_blank",onLoadSuccess:function(e){var t=e.numPages;r(new Array(t).fill(0).map((function(e,t){return t+1})))},children:i.map((function(e){return Object(De.jsx)("div",{id:"toc-page-".concat(e),children:Object(De.jsx)(Ls.b,{width:t-Fe-24,pageNumber:e,onGetAnnotationsSuccess:function(){return console.log("get annotations success")},onGetAnnotationsError:function(){return console.log("get annotations error")}})},e)}))})})}var zs=n(397),Gs=n.n(zs);Ls.c.GlobalWorkerOptions.workerSrc="//cdnjs.cloudflare.com/ajax/libs/pdf.js/".concat(Ls.c.version,"/pdf.worker.min.js");var Ws={"terms-service":1,"privacy-policy":3};function Hs(){var e=Object(Ze.h)(),t=Ve().width,n=Object(m.useState)([]),a=Object(j.a)(n,2),i=a[0],r=a[1];return Object(De.jsx)(_e.a,{container:!0,children:Object(De.jsx)(Ls.a,{file:"./TOC.pdf",onLoadSuccess:function(t){var n=t.numPages;r(new Array(n).fill(0).map((function(e,t){return t+1}))),function(){var t=Gs.a.parse(e.search,{ignoreQueryPrefix:!0}).link;if("terms-service"===t||"privacy-policy"===t){var n=Ws[t]||1;setTimeout((function(){var e;null===(e=document.getElementById("toc-page-".concat(n)))||void 0===e||e.scrollIntoView()}),2e3)}}()},children:i.map((function(e){return Object(De.jsx)("div",{id:"toc-page-".concat(e),children:Object(De.jsx)(Ls.b,{width:t,pageNumber:e})},e)}))})})}var Us=Object(ot.a)((function(){return Object(ct.a)({link:{textDecoration:"none"}})})),Vs=function(e){var t=e.target,n=e.title,a=e.to,i=e.width,r=e.className,o=e.variant,c=void 0===o?"contained":o,s=e.color,l=void 0===s?"primary":s,d=e.style,u=void 0===d?{}:d,h=Us();return Object(De.jsx)(Qe.b,{to:a,className:h.link,target:t,children:Object(De.jsx)(Mt,{color:l,width:i,variant:c,className:r,style:u,children:n})})},Ks=Object(ot.a)((function(e){return Object(ct.a)({link:{textDecoration:"none",color:e.palette.grayText.main,marginLeft:e.spacing(4),marginRight:e.spacing(4)},brand:{"& > img":{transition:"transform .25s linear"},"&:hover":{"& > img":{transform:"scale(1.1);"}}}})})),Zs=function(){var e=Ks(),t=lt(),n=ut(),a=Ve().isMobile,i=Ar({automaticLaunch:!1}).launchScheduleDemo;return Object(De.jsx)(_e.a,{container:!0,justifyContent:"center",className:n.white,children:Object(De.jsx)(_e.a,{item:!0,xs:12,md:10,xl:8,children:Object(De.jsxs)(Je.a,{sx:{width:"100%"},py:9,children:[Object(De.jsx)(gt.a,{variant:"body1",align:"center",style:{fontWeight:"500",fontSize:20,marginBottom:a?40:0},children:"Barometer is an accredited partner building trust between brands and publishers."}),Object(De.jsxs)(Je.a,{py:2,px:2,display:"flex",justifyContent:"space-around",alignItems:"center",children:[Object(De.jsx)("a",{href:"https://iabtechlab.com/",rel:"noreferrer",target:"_blank",className:e.brand,children:Object(De.jsx)("img",{src:"/images/brands/iab_member_tech_lab.png",height:"80px",alt:"iab_member_tech_lab"})}),Object(De.jsx)("a",{href:"https://wfanet.org/leadership/garm/about-garm",rel:"noreferrer",target:"_blank",className:e.brand,children:Object(De.jsx)("img",{src:"/images/brands/garm.png",height:"60px",alt:"garm"})}),Object(De.jsx)("a",{href:"https://www.iab.com/",rel:"noreferrer",target:"_blank",className:e.brand,children:Object(De.jsx)("img",{src:"/images/brands/iab_memberseal.gif",height:"80px",alt:"iab_memberseal"})}),Object(De.jsx)("a",{href:"https://www.edisonresearch.com/top-50-most-listened-to-podcasts-in-the-u-s-q2-2022/",rel:"noreferrer",target:"_blank",className:e.brand,children:Object(De.jsx)("img",{src:"/images/spotlight/edison.png",height:"65px",alt:"edison"})})]}),Object(De.jsxs)(Je.a,{px:2,display:"flex",justifyContent:"space-between",alignItems:"center",flexDirection:a?"column":"row",children:[Object(De.jsx)(ht,{height:38}),Object(De.jsx)(gt.a,{variant:"body1",style:{fontWeight:"normal",fontSize:16,color:"#787878",marginTop:a?40:0,marginBottom:a?40:0},children:"\xa9 2022 Vericrypt, Inc. All rights reserved."}),Object(De.jsxs)(Je.a,{display:"flex",justifyContent:"space-between",alignItems:"center",children:[Object(De.jsx)("a",{href:"mailto:tamara@thebarometer.co",className:e.link,children:Object(De.jsx)(gt.a,{variant:"body1",style:{fontWeight:"500",fontSize:16,color:"black"},children:"Contact us"})}),Object(De.jsx)(Mt,{className:t.borderRadius3,color:"primary",title:"Schedule Demo",onClick:function(e){e.preventDefault(),i()}})]})]})]})})})},Qs=Object(ot.a)((function(e){return Object(ct.a)({buttonContainer:{display:"flex",justifyContent:"space-between",alignItems:"center",padding:e.spacing(2)},mainContainer:{marginTop:70},linkButton:{color:"#212121",fontWeight:"normal",marginRight:10},scheduleDemoButton:{borderRadius:e.spacing(3)}})})),Xs=function(e){var t=e.children,n=Qs(),a=Object(Ze.g)(),i=Ar({automaticLaunch:!1}).launchScheduleDemo;return Object(De.jsxs)(_e.a,{container:!0,justifyContent:"center",style:{backgroundColor:"#fff"},children:[Object(De.jsx)(_e.a,{item:!0,xs:12,md:10,xl:8,children:Object(De.jsxs)(_e.a,{container:!0,justifyContent:"space-between",children:[Object(De.jsx)(ht,{}),Object(De.jsxs)(Je.a,{className:Object(Xe.default)(n.buttonContainer),children:[Object(De.jsx)(Mt,{color:"secondary",variant:"text",className:n.linkButton,onClick:function(){"www.thebarometer.co"===window.location.host?window.location.assign("https://app.thebarometer.co/spotlight"):a.push(pn)},children:"Spotlight"}),Object(De.jsx)(Vs,{color:"secondary",title:"Our Mission",to:nn,variant:"text",className:n.linkButton}),Object(De.jsx)(Mt,{color:"secondary",variant:"text",className:n.linkButton,onClick:function(){"www.thebarometer.co"===window.location.host?window.location.assign("https://app.thebarometer.co/login"):a.push(tn)},children:"Login"}),Object(De.jsx)(Mt,{className:n.scheduleDemoButton,color:"primary",title:"Schedule Demo",onClick:function(e){e.preventDefault(),i()}})]})]})}),Object(De.jsx)(_e.a,{item:!0,xs:12,children:Object(De.jsx)(_e.a,{container:!0,justifyContent:"center",className:n.mainContainer,children:t})}),Object(De.jsx)(_e.a,{item:!0,xs:12,children:Object(De.jsx)(Zs,{})})]})},Ys=Object(pt.a)(gt.a)({fontWeight:"normal"}),Js=Object(ot.a)((function(e){return Object(ct.a)({container:{border:"1px solid black",padding:e.spacing(3,5)}})})),qs=function(){var e=Js(),t=st(),n=lt();return Object(De.jsxs)(_e.a,{container:!0,children:[Object(De.jsx)(_e.a,{container:!0,className:n.mb3,children:Object(De.jsx)(gt.a,{variant:"h2",children:"Case Study 1: NCR"})}),Object(De.jsxs)(_e.a,{item:!0,xs:12,md:12,children:[Object(De.jsxs)(_e.a,{container:!0,className:e.container,children:[Object(De.jsx)(_e.a,{item:!0,xs:12,md:3,children:Object(De.jsx)(gt.a,{variant:"h2",children:"NCR"})}),Object(De.jsx)(_e.a,{item:!0,xs:12,md:4,children:Object(De.jsx)(gt.a,{variant:"h2",className:t.fontNormal,children:"Rating: B+"})}),Object(De.jsx)(_e.a,{container:!0,item:!0,xs:12,md:5,alignItems:"flex-end",children:Object(De.jsx)(gt.a,{variant:"h2",className:t.fontNormal,children:"V1 2021"})})]}),Object(De.jsxs)(_e.a,{container:!0,className:e.container,children:[Object(De.jsxs)(_e.a,{container:!0,className:n.mb3,children:[Object(De.jsx)(_e.a,{item:!0,xs:12,md:4,children:Object(De.jsx)(gt.a,{variant:"h4",children:"Negative News Search"})}),Object(De.jsx)(_e.a,{item:!0,xs:12,md:8,children:Object(De.jsx)(Ys,{variant:"h4",children:"Content scanned: 2000 items"})})]}),Object(De.jsxs)(_e.a,{container:!0,children:[Object(De.jsxs)(_e.a,{item:!0,xs:12,md:4,children:[Object(De.jsx)(Ys,{variant:"h4",children:"Average sensationalism:"}),Object(De.jsx)(Ys,{variant:"h4",children:"Average colloquialism:"}),Object(De.jsx)(Ys,{variant:"h4",children:"Average editorial bias:"})]}),Object(De.jsxs)(_e.a,{item:!0,xs:12,md:4,children:[Object(De.jsx)(Ys,{variant:"h4",children:"SES Bias:"}),Object(De.jsx)(Ys,{variant:"h4",children:"Racial Bias:"})]}),Object(De.jsxs)(_e.a,{item:!0,xs:12,md:4,children:[Object(De.jsx)(Ys,{variant:"h4",children:"GARM Components flagged:"}),Object(De.jsxs)("ul",{children:[Object(De.jsx)("li",{children:"Adult content"}),Object(De.jsx)("li",{children:"Terrorism"})]})]})]})]}),Object(De.jsxs)(_e.a,{container:!0,className:e.container,children:[Object(De.jsx)(_e.a,{container:!0,className:n.mb3,children:Object(De.jsx)(gt.a,{variant:"h4",children:"Gram Elements Flagged"})}),Object(De.jsx)(_e.a,{item:!0,xs:12,md:12,children:Object(De.jsx)("img",{src:"images/screens/garm-elements.png",width:"100%",alt:"GARM Elements"})})]}),Object(De.jsxs)(_e.a,{container:!0,className:e.container,children:[Object(De.jsxs)(_e.a,{container:!0,className:n.mb3,children:[Object(De.jsx)(_e.a,{item:!0,xs:12,md:4,children:Object(De.jsx)(gt.a,{variant:"h4",children:"Employee feedback:"})}),Object(De.jsx)(_e.a,{item:!0,xs:12,md:8,children:Object(De.jsx)(gt.a,{variant:"h4",children:"Feedback scanned: 2000 items"})})]}),Object(De.jsxs)(_e.a,{container:!0,children:[Object(De.jsxs)(_e.a,{item:!0,xs:12,md:4,children:[Object(De.jsx)(gt.a,{variant:"h4",children:"Average sensationalism:"}),Object(De.jsx)(gt.a,{variant:"h4",children:"Emotion:"})]}),Object(De.jsxs)(_e.a,{item:!0,xs:12,md:4,children:[Object(De.jsx)(Ys,{variant:"h4",children:"SES Bias:"}),Object(De.jsx)(Ys,{variant:"h4",children:"Racial Bias:"})]}),Object(De.jsxs)(_e.a,{item:!0,xs:12,md:4,children:[Object(De.jsx)(Ys,{variant:"h4",children:"Top Feedback Categories"}),Object(De.jsxs)("ul",{children:[Object(De.jsx)("li",{children:"Adult content"}),Object(De.jsx)("li",{children:"Terrorism"})]})]})]})]}),Object(De.jsxs)(_e.a,{container:!0,className:e.container,children:[Object(De.jsx)(_e.a,{container:!0,className:n.mb3,children:Object(De.jsx)(gt.a,{variant:"h4",children:"Top Feedback Categories"})}),Object(De.jsx)(_e.a,{container:!0,children:Object(De.jsx)("img",{alt:"Top Feedback Categories",src:"images/screens/top-feedback-categories.png",width:"100%"})})]}),Object(De.jsxs)(_e.a,{container:!0,className:e.container,children:[Object(De.jsxs)(_e.a,{container:!0,className:n.mb3,children:[Object(De.jsx)(_e.a,{item:!0,xs:12,md:4,children:Object(De.jsx)(gt.a,{variant:"h4",children:"Policies and Materials"})}),Object(De.jsx)(_e.a,{item:!0,xs:12,md:8,children:Object(De.jsx)(gt.a,{variant:"h4",children:"Policies scanned: 10 items"})})]}),Object(De.jsxs)(_e.a,{container:!0,children:[Object(De.jsxs)(_e.a,{item:!0,xs:12,md:4,children:[Object(De.jsx)(Ys,{variant:"h4",children:"Average sensationalism:"}),Object(De.jsx)(Ys,{variant:"h4",children:"Average colloquialism:"}),Object(De.jsx)(Ys,{variant:"h4",children:"Average editorial bias:"})]}),Object(De.jsxs)(_e.a,{item:!0,xs:12,md:4,children:[Object(De.jsx)(Ys,{variant:"h4",children:"SES Bias:"}),Object(De.jsx)(Ys,{variant:"h4",children:"Racial Bias:"})]}),Object(De.jsxs)(_e.a,{item:!0,xs:12,md:4,children:[Object(De.jsx)(Ys,{variant:"h4",children:"Insights"}),Object(De.jsxs)("ul",{children:[Object(De.jsx)("li",{children:"Consistency across stakeholders"}),Object(De.jsx)("li",{children:"Competitors"})]})]})]})]}),Object(De.jsx)(_e.a,{container:!0,className:e.container,children:Object(De.jsx)(_e.a,{item:!0,xs:12,md:12,children:Object(De.jsx)(gt.a,{variant:"h4",children:"Policies and Materials 1"})})}),Object(De.jsx)(_e.a,{container:!0,className:e.container,children:Object(De.jsx)(_e.a,{item:!0,xs:12,md:12,children:Object(De.jsx)(gt.a,{variant:"h4",children:"Policies and Materials 2"})})}),Object(De.jsx)(_e.a,{container:!0,className:e.container,children:Object(De.jsx)(_e.a,{item:!0,xs:12,md:12,children:Object(De.jsx)(gt.a,{variant:"h4",children:"Policies and Materials 3"})})}),Object(De.jsx)(_e.a,{container:!0,className:e.container,children:Object(De.jsx)(_e.a,{item:!0,xs:12,md:12,children:Object(De.jsx)(gt.a,{variant:"h4",children:"Policies and Materials 4"})})}),Object(De.jsx)(_e.a,{container:!0,className:e.container,children:Object(De.jsx)(_e.a,{item:!0,xs:12,md:12,children:Object(De.jsx)(gt.a,{variant:"h4",children:"Policies and Materials 5"})})}),Object(De.jsxs)(_e.a,{container:!0,className:e.container,children:[Object(De.jsx)(_e.a,{container:!0,className:n.mb3,children:Object(De.jsx)(gt.a,{variant:"h4",children:"Policies and Materials 6"})}),Object(De.jsx)(_e.a,{container:!0,children:Object(De.jsx)("img",{alt:"Plicies and Materials",src:"images/screens/policies-materials.png",width:"100%"})})]})]})]})},_s=function(){var e=Ve().isMobile,t=st(),n=dt();return Object(De.jsxs)(_e.a,{container:!0,spacing:e?3:6,children:[Object(De.jsx)(_e.a,{item:!0,xs:12,children:Object(De.jsx)(gt.a,{variant:"h2",children:"Brand Audit Case Studies"})}),Object(De.jsx)(_e.a,{item:!0,xs:12,children:Object(De.jsx)(gt.a,{variant:"h6",className:Object(Xe.default)(t.fontNormal,n.grayText),children:"We have developed an automated brand-auditing tool which reports on biases present in brands\u2019 policy materials, employee feedback and news about the brand. Like spell-check for cancel culture, Barometer helps brands manage risk and ensure compliance with brand safety standards."})})]})},$s=[{icon:n.p+"static/media/connect-api-gui.0c115f23.svg",title:"Collect content and news about brand",description:"We buy access 3 years of news about a brand for our analysis. We also access policies and handbooks."},{icon:n.p+"static/media/barometer-audit-text.84285e03.svg",title:"Integrate Employee Feedback",description:"We partner with copmanies employees trust to integrate their anonymous feedback into our analysis."},{icon:n.p+"static/media/visualize-insight.683132a0.svg",title:"Visualize insights",description:"You can visualize the insights about all this content and present actionalbe next steps for risk mitigation across the brand\u2019s content ecosystem."}],el=function(){var e=Ve().isMobile,t=lt(),n=ut();return Object(De.jsxs)(_e.a,{container:!0,className:Object(Xe.default)(e?t.padding1:t.padding10,n.lightGrayBackground),children:[Object(De.jsx)(_e.a,{container:!0,justifyContent:"center",className:e?t.mb1:t.mb7,children:Object(De.jsx)(gt.a,{align:"center",variant:"h2",children:"How It Works"})}),Object(De.jsx)(_e.a,{container:!0,item:!0,xs:12,spacing:3,children:$s.map((function(e){return Object(De.jsx)(_e.a,{item:!0,xs:12,md:4,children:Object(De.jsxs)(_e.a,{container:!0,spacing:1,children:[Object(De.jsx)(_e.a,{item:!0,xs:12,children:Object(De.jsx)("img",{src:e.icon,alt:e.title})}),Object(De.jsx)(_e.a,{item:!0,xs:12,children:Object(De.jsx)(gt.a,{variant:"h6",children:e.title})}),Object(De.jsx)(_e.a,{item:!0,xs:12,children:Object(De.jsx)(gt.a,{variant:"body1",children:e.description})})]})},e.title)}))})]})},tl=Object(ot.a)((function(e){return Object(ct.a)({topMenuBar:{position:"fixed",background:"white",zIndex:10},mb15:{marginBottom:e.spacing(15)}})}));function nl(){var e=tl();return Object(De.jsxs)(Xs,{children:[Object(De.jsx)(_e.a,{container:!0,className:e.mb15,children:Object(De.jsx)(_s,{})}),Object(De.jsx)(_e.a,{container:!0,className:e.mb15,children:Object(De.jsx)(el,{})}),Object(De.jsx)(_e.a,{container:!0,className:e.mb15,children:Object(De.jsx)(qs,{})})]})}var al,il,rl,ol,cl=n.p+"static/media/heroBG.6f3ecf09.png",sl=n.p+"static/media/heroMobileBG.24ecc514.png",ll=Object(ot.a)((function(){return Object(ct.a)({container:{width:"100%",position:"relative",height:500,background:"#EFEDEB","@media screen and (min-width: 768px)":{height:720}},mainContainer:{height:"100%",width:"100%",maxWidth:1600,margin:"auto",padding:"0 16px",display:"flex",flexDirection:"column",justifyContent:"flex-end",paddingBottom:70,position:"relative","@media screen and (min-width: 768px)":{padding:"0 100px"}},heroDesktopBG:{display:"none",position:"absolute",top:0,width:"100%",height:720,"@media screen and (min-width: 768px)":{display:"block"}},heroMobileBG:{display:"block",position:"absolute",bottom:0,width:"100%",height:360,"@media screen and (min-width: 768px)":{display:"none"}},title:{maxWidth:1300,fontWeight:300,fontSize:38,lineHeight:"48px",textTransform:"uppercase",color:"#202226","@media screen and (min-width: 768px)":{fontSize:76,lineHeight:"96px"}},brands:{maxWidth:1200,display:"flex",marginTop:4,flexDirection:"row",justifyContent:"flex-end",flexWrap:"wrap",gap:12,"@media screen and (min-width: 768px)":{gap:40},"& > span":{fontWeight:400,fontSize:12,lineHeight:"16px",textTransform:"uppercase",color:"#545454"}},scheduleDemoButton:{background:"linear-gradient(259.81deg, #E671A9 -4.16%, #9873CB 49.59%, #7570DF 84.28%, #736FD5 126.47%)",borderRadius:2,padding:"6px 16px",height:40,marginTop:36,"&:hover":{background:"linear-gradient(259.81deg, #E671A9 -4.16%, #9873CB 49.59%, #7570DF 84.28%, #736FD5 126.47%)"},"& > .MuiButton-label":{display:"flex",alignItems:"center",gap:45,fontSize:16,lineHeight:"24px",color:"#EFEDEB",fontWeight:500}}})})),dl=function(e){var t=e.onScheduleDemo,n=ll();return Object(De.jsxs)("div",{className:n.container,children:[Object(De.jsx)("img",{src:cl,alt:"heroBG desktop",className:n.heroDesktopBG}),Object(De.jsx)("img",{src:sl,alt:"heroBG mobile",className:n.heroMobileBG}),Object(De.jsxs)("div",{className:n.mainContainer,children:[Object(De.jsx)("div",{className:n.title,children:"AI-powered insights optimizing digital audio advertising"}),Object(De.jsxs)("div",{className:n.brands,children:[Object(De.jsxs)("span",{children:["Brand",Object(De.jsx)("br",{}),"Safety"]}),Object(De.jsxs)("span",{children:["Creator",Object(De.jsx)("br",{}),"Intelligence"]}),Object(De.jsxs)("span",{children:["Contextual",Object(De.jsx)("br",{}),"Targeting"]}),Object(De.jsxs)("span",{children:["Brand",Object(De.jsx)("br",{}),"Suitability"]})]}),Object(De.jsx)("div",{children:Object(De.jsxs)(Mt,{className:n.scheduleDemoButton,color:"primary",onClick:t,children:[Object(De.jsx)("span",{children:"Request a Demo"}),Object(De.jsx)("span",{children:"\u2192"})]})})]})]})},ul=n.p+"static/media/audiologyPartner.f0d95de9.png",hl=n.p+"static/media/mediatelPartner.c4e2cffe.jpeg",bl=n.p+"static/media/geminiXIIIPartner.b1cada2c.png",pl=Object(ot.a)((function(){return Object(ct.a)({container:{width:"100%",padding:"92px 0",background:"#EFEDEB"},mainContainer:{width:"calc(100% - 8px)",margin:"0 4px",padding:"90px 16px",display:"flex",flexDirection:"column",background:"#E8E5E2",borderRadius:2,gap:60,overflow:"hidden","@media screen and (min-width: 768px)":{width:"calc(100% - 32px)",margin:"0 16px",gap:120,padding:"90px 100px",flexDirection:"row",alignItems:"center",justifyContent:"flex-end"},"& > div":{flex:1}},title:{maxWidth:250,fontWeight:700,fontSize:16,lineHeight:"24px",letterSpacing:"0.04em",textTransform:"uppercase",color:"#202226",margin:0,"@media screen and (min-width: 560px)":{maxWidth:"100%",fontSize:20,lineHeight:"40px"}},description:{fontWeight:300,fontSize:16,lineHeight:"24px",color:"#545454",margin:0,"@media screen and (min-width: 768px)":{fontSize:25,lineHeight:"40px"}},partners:{maxWidth:"100%",display:"flex",alignItems:"center",gap:20,animation:"$scroll 30s linear infinite","&:hover":{animationPlayState:"paused"},"@media screen and (min-width: 768px)":{animation:"none",justifyContent:"center",flexWrap:"wrap",columnGap:30,rowGap:40},"& img":{transition:"transform .25s linear","&:hover":{transform:"scale(1.1);"}}},"@keyframes scroll":{"100%":{transform:"translateX(-1200px)"}}})})),gl=function(){var e=pl(),t=[{logo:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMsAAAAoCAYAAABQKw4fAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAA2zSURBVHgB7VwJlBTFGf7+ntmLmyWKAU0ABQOJt/FMInhfaEBdI5c3ajTE+IiiTxETn8ZIUJPoExE17AFZPBANKoYHaC54EY3xAAUiKEYE0RUWdmenu/z+6tlhl9lZQJbp0Vffvu6ervq7urq6/rt6AQcHBwcHBwcHBwcHBwcHh688BPmEatMZDbgSBmWA6c+SgNubEJnBsqkYIZ/DwSEi5A+zlJtjyCCV7FGvLBRLEZORuED+DQeHCJAfzDLDHATfvEDt0Z09MjDyDkywEJ6nZ4P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DaPCk7T/riuUT0vH9U2g4VnHLA6RIH+YRTxmz83/t0MT5Zd+Dg4ODg4ODg4ODg4ODg4ODg5fdXwB3zrlwjkJ+doAAAAASUVORK5CYII=",link:"https://gumball.fm/",alt:"gumballPartner",height:40},{logo:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMsAAAAoCAYAAABQKw4fAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAwiSURBVHgB7VxdcxPXGX7P7grUGBe5mQ5KbBy5JRPKTe3yA7I297WhM9wiSC6YCYMFPyCW+QFgZtIOM02D6H35ug+IP1BMLyidMGMBViKbFssI8Nfunj7vfhhZSLuSbA+2cx4jW9o9e/Z9z77f7xFECgoKCgoKCgoKCgoKCgoK2x6C1oFMRiaslzSKWUwpKSUEFXD4gRWjiStXRIEUFHYQ2laW06dlSl+hu5ggVXtOEhWkRkf/8lcxSQoKOwRtKUuYolShDA8zoDyMwk6BRm3AWKHsqqJIKkPlxvEadCSdRDhW8IclMO4qKSjsELTlWb76Qk4FyiIFnfvzt2IiOHfmS2lCge4Gnw2buiZyokwKCtscLXuWTFomqsOvakVhfPOtyFd5F7IM6icFhR2AlpVlEeEVKSj8DGE0OsFJvLFMNxBmJewYDW5Eou7OiTwG1bLUZlfL9u/rvSTJMV8tvRosA81c05PsHeMcbHrm6eWosclkMhWj2JiUYrLeeD5vyF3DJJyu2nOSZIFsmiw+L0by780Tu4+y/M1npWcnw8amUimyFi0Og0cQYX+CIDvB/Eghbtq0fK9UKhWau16ctcTK+UbjDx06RPPP5/uFpn0tHedCFB+N6ML7vCWWb0XRtdF8BvRruja6QivjjcZ/9NFhEvbsiK7RMI9rqCxQlDSI6OekxliiDP5kaJ2AonBIZrqJkk1Z/B6hTUBPsseEQGY4JdsT/2WmTOVs1DWQyRSIynIWl0qmbhVKhULYeJ103IPSUkge946yQFFukJD99dJCwcd0ou7kflwrssXS02th92FhcLBujcb4D3/AWrQv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QWFTULLyuIm/vw/UHrbys81GHbO3+t1uboSpqCgoKCgoKCgoKCgoKCgoKCg8F7xfxZqVfBpNHPJAAAAAElFTkSuQmCC",link:"https://www.audiohook.com/",alt:"audioHookPartner",height:40},{logo:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMsAAAAoCAYAAABQKw4fAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAABGaSURBVHgB7V0JdBTXlX3/V/WuViMQIKEVjLHZzGBwkBAIYQgGnLGzGOKcTGYMccyJcRQsHC+TyaHJHIgxSCIYZg6e8dixPRMMJh47DsE2i4SEWALGbLJZhZAACQSSkLrVXV31f94vqVsloQXwkqjV95zqrvp7lf777737frUAIogggpsCgQh0uI+NMKcEBtgvNPkdkiZZJBOVJMKI5qPcZKYBT0Dz97dbvAC13gXjDqr45DhE0KvQq4UlryTdJlNLP7+i9QULdfCAKlMidflMiKQpRDU3UInUuOJY/bzBBT6IoFegVwrL+gPj7N6AI4VxiEEFYWKc3JaWICqomixXW+vPV2bPPu2HCMIavUpYhKnl8MQmEE4TQGMUviRwJvkJJVXJF/pVzp27SYMIwhK9RlhWfjjDYbZ77/ZLJIp2okmECaYSQFuM+zmQANEkpjJVImZuQvfFQhkmYF0qE85U3ubZyeJD43UuTTo5b2rENAtH9AphySt5oC/T/COAdqRNZJA4u0544Noln6/eJjs97qkFavtSO3mWXPgpRDkUFiMFaD+ULAcwBGkrNELINIup9Pnx2+ohgrBC2AvL6j0TBjLNOqz9pBbglNdZiHIue8K+hlthtzhKRO7BrH6gsCQKUjTjWpu6BLWTTWOfPTm5uBYiCBuEtbAs2zW5v90kD9PQfDKmE0VTLPbAqYXfmF1LiJvBbcK9M0vuZwoM8BE5RRAFbTIZGm0kcPi5SbsbIIKwQNgKy8rD9ziop88Y1AJyMK3ZJyEN/X2s9Mv0K5ZsmRAd5bKONAqM8GuQQ1A8FdWH3HNLFYigxyMshWUjnyOd31fzD6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AhswUQ9loE+zwOuGNPLuYUpr0qWpjO0yWRSZCk1v5g84DLBg5ydeQnJiQ2ri4Yg46bVtgiM8Hq+c2x/2bux3tIrHho1GKjlDdLlfrnehV4tLALRTPt1rfjXeARyCHS5SV7fBELFf59QTT99fmK7fynBtKVoCk3EFuKay8JgFJR8Q+1r2HwNZtzMruW7gJK7DB23nnIuWLyPMOr4b8G0a1Vm7kryLAfVkoklklrqzKcEGTTF1sBksEo67dx8E0gG6IQEk9CEYwSde/pMSzcZAT8GbSUbCpCWCmLnA9LYOO5bnidim7QJwgu91gwLQvwontPieQEn4T/ibKnotCAHNNekVXLdxdmLM7ff8CryoszKI0jvisj49fZ5OLkr0V+Zh1xdQUdNl8M5Fcs0QTdAh/sUfv7Kbu//0HOTzl8MprvnlkJ9RUwpD7DZnPEj0CxeXGy4xMPFmwVFT8OPa9iGHlm9nv44d4JdUMwHg/ko7AObo/F6TKeQ6eZjS3sdPZXQwTsYLwm0LdOz0eNJwrySO4bygDpGQn+AgVr6dGblMXKb/0lY2PIOszJWAnkiRtTuxLXEirPtIlBtb9Tl6IIFD33g7a6NdftT4xSfNhMHoAcNJZA+IY3y/4kfFF+1fXAKjnK8RCmtNUkfLk07HRKsvKI7hxAIJHfYKOfXFR+rem5GxcWu+haSsGEzlaoGJI0hnE5EnywVqbq+mHENTbOTKMwH42KcR78/6rhirLO0gMoOmpRpojARaeVkxkk1soUfPZlxufi/dg+M17iUwZBCozLdsSi9TP8Z2jWnhkKgUk2TKIhILddA2rN4ypmK1nbd8J/F/xOjcjJRFcQEo1cSq8fv6Mn/RvCvQhNpAFh7IoUAAAAASUVORK5CYII=",link:"https://www.podbean.com/",alt:"podBeanPartner",height:40},{logo:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMsAAAAoCAYAAABQKw4fAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAABJSSURBVHgB7VwLfFTVmf/OuTMhkYcgIFB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9D0LfTli7w4bFS+/62KigrrwmuYK5eVlQ30KnFtpKHxn8EJ2/K7yr1w7++rq+tW+nsywW0qKSmpt5RuhjE/mIlgxowZZ3+PRqOcHvZtkt5nUZiB8zVSnCzev79+SzC4/LDXa1G0Tx/yRiLsoKAtW7aCSOp40eF9mF+3gAiqtYre6KE+cF64GmZJfiJla8BwFojmKRb9UhCvWPxLsmxqXbx1BJbdQbxxFCGkLC3oitjOMEwgzi3qQTBBJWm1adZ2KCViG+LpTbiPAW5xb2WSOGZlZeVRn8831UPiPbRnAaTjwXhzyJLQFnavBkC0s5ihMtFog2aFq0Mq1x/Ygfc/Ad3A2fdAaDHkxfUvXAnVNV+J1pUHgt5E3xalYlPAzmBZXrQl+nteT79rVyVLl6Ntv7WqXSegKn2zKRLdioqLID3WW5xcLu0dUVt8DB3qWFSLPlHL+uy27dv9iILD9tEtGPfVjY3eYFZWlKP3AepoyQVbTLH8Tk1xLstguJZ13Lop9dedzfeIpkgtENPQ2WjpFRjL651nCyfzth5nltX78D6vVsa8NF2+kIf39lXOxg71VbXhpAbXeB8yEMlNiBCOltJzmmJdzVv5ziebXHGPdwZItzKcylit1SQnoR3XY0KNRKsmoqeYyVggkGPoZ96r4KfgujvAY39j9iDvTYgaPr0PzfxOvGm3NxTvDhBZAE/0ssaQl5HRwnbL0QvrLFy4kFWstcXFxWVKeG4TWk+D4T86lu6PdxSqGWUwYl0OxvCm1lZZ2/qXGMFFTsDMmy08xqE/fv5pPN9TRhxE17LrHTnTSCONNNJII4000kgjjTTSSCONP138P7ybx26s7F2IAAAAAElFTkSuQmCC",link:"https://oxfordroad.com/",alt:"oxfordPartner",height:30},{logo:ul,link:"https://audiology.media/",alt:"audiologyPartner",height:40},{logo:hl,link:"https://mediatel.co.uk/",alt:"mediatelPartner",height:50},{logo:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALsAAABNCAYAAAGJXCX4AAAAAXNSR0IArs4c6QAAAFBlWElmTU0AKgAAAAgAAgESAAMAAA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CLNZG+McSGn9eqa+HWxMrlg0r0yISV6UBoHR5L4Gh7MF7gjxX0RMI7K37l8D/Ou3Q0NFp+6sKUYjP0rzgzS/sNCjfUMusxFKEcYVc3c5yKW8Pk3pcJheN0btM5bGyNEeAI/t+82SWwhB4/RD4P0RVK/CVlQTkAAAAAElFTkSuQmCC",link:"https://katzdigital.com/",alt:"katzDigitallogo",height:60},{logo:bl,link:"https://gemini13media.com/",alt:"geminiXIIIPartner",height:35},{logo:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQ4AAABRCAYAAAAjHkgzAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAADUtpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+Cjx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDQuMi4yLWMwNjMgNTMuMzUyNjI0LCAyMDA4LzA3LzMwLTE4OjEyOjE4ICAgICAgICAiPgogPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICAgeG1sbnM6eG1wUmlnaHRzPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvcmlnaHRzLyIKICAgIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIKICAgIHhtbG5zOklwdGM0eG1wQ29yZT0iaHR0cDovL2lwdGMub3JnL3N0ZC9JcHRjNHhtcENvcmUvMS4wL3htbG5zLyIKICAgeG1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GE+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgIC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KXC80xCFi2SjQq7V2zS54u1wShzbBenNsNmxZHFU75zjqNn3OFXvln2CUADmo5tHbIdLHggaiPMDnkJ4Ji4eCVnjAVPgAYEcEy4oz/UuOP0dvpLj3OG7jsaHRq6t9XJ65zCEm638EKm+NK9rY06mvMb6vkFSMITHmNA44GmLBVM4PYLr0eILPYoVJ0nY4/E57yU+MomEp4Ums+WsAKAA/LTcoyO5QiPUaDB4FOVoY3xQm0I4LirXgd1nlrxcSI73+OR4TFmIlQXLuGF0wAHFChdJyp8QxYLeIwGDVlmehWEamuAWl7zHM0OcEBhXscLTVhy/TSj7Ij7AecfgseY0DgywBDeBsABRVIh1Ps+0MgdNAOxBo8xofHQEKIUWB9yt4R1HCNLdjpa7Vfrcgay050EXoO8gXZEaNRCvXK1kdd9hJYGOKD4ne+J0E9hkueRyQ74amLlNkEDq1ERqkBjiVdS6sKS65fr8MKqqUCDVoY2Qv+MTAZoABzQuMqE/unZ6x2eLHYZHxsY+/J4JsyrVDPMoiBUgTbUKcXwG92GQpfc57mWwPIdMjDmFtA4Q4sCHND04HHzSr+xcx8MjELYbcMPaEAAxxbhQSO7zaY23XtGliMsHz/mECqx/AmgAQEcEwAIrcR0WTjVMERqn2dCGFgJA0u1jaMKXpg9gQCOCcHjiL0Pnx2+KORp+ViJj5Ovs144lAi792gMaZJTxRDAAXi89wSWIs5O4rF0vc0+QhMI4Jg+QFySlGOKIFbAy4AADgDExsOoGBiXaAUI4NhdgNCSb0qeuiQyXUV5kVK8f2YGHgYEcNxCLyRlL2QRcCryLGo+KngXEMBx90AyXztUHkU349JiShUCOCAI2orwkBsEQQAHBEEABwRBAAcEQQAHBEEABwRBEMABQdAo+p8AAwANp+/S7mGMLAAAAABJRU5ErkJggg==",link:"https://www.radioamerica.com/",alt:"radioAmeriaPartner",height:60}];return Object(De.jsx)("div",{className:e.container,children:Object(De.jsxs)("div",{className:e.mainContainer,children:[Object(De.jsxs)("div",{children:[Object(De.jsx)("p",{className:e.title,children:"Trusted partnerships increase your ROI"}),Object(De.jsx)("p",{className:e.description,children:"Leverage your Barometer access across partners and experience consistent transparency across digital audio channels."})]}),Object(De.jsx)("div",{className:e.partners,children:t.map((function(e){return Object(De.jsx)("a",{href:e.link,rel:"noreferrer",target:"_blank",children:Object(De.jsx)("img",{src:e.logo,height:e.height,alt:e.alt})},e.alt)}))})]})})},jl=n.p+"static/media/wave.8df4b01c.png",ml=["title","titleId"];function fl(){return fl=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Ol(e,t){var n=e.title,a=e.titleId,i=xl(e,ml);return m.createElement("svg",fl({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 64 64",width:"64px",height:"64px",fill:"#545454",ref:t,"aria-labelledby":a},i),n?m.createElement("title",{id:a},n):null,al||(al=m.createElement("circle",{cx:32,cy:32,r:32})),il||(il=m.createElement("rect",{width:6,height:18,x:19,y:26,fill:"#EFEDEB"})),rl||(rl=m.createElement("ellipse",{cx:22.5,cy:21,fill:"#EFEDEB",rx:3.5,ry:3})),ol||(ol=m.createElement("path",{fill:"#EFEDEB",d:"M40,26h-0.529H39.47c-2.187,0-4,1.572-4.387,3.647H35V26h-6v18h6v-8.588v-1.529 c0.007-0.379,0.037-0.729,0.084-1.06C35.392,31.493,36.577,30.5,38,30.5c1.657,0,3,1.343,3,3v0.559v1.176V44h6v-9.118v-0.823V33 C47,29.134,43.866,26,40,26z"})))}var vl=m.forwardRef(Ol),Cl=(n.p,n.p+"static/media/PrivacyPolicy.d29f9aee.pdf"),Al=n.p+"static/media/TermsConditions.1f822cd0.pdf",yl=Object(ot.a)((function(){return Object(ct.a)({container:{overflow:"hidden",width:"calc(100% - 8px)",margin:"0 4px",background:"#202226",borderRadius:2,position:"relative",paddingTop:56,paddingBottom:172,height:840,display:"flex",flexDirection:"column",gap:100,"@media screen and (min-width: 768px)":{justifyContent:"space-between",width:"calc(100% - 32px)",margin:"0 16px",paddingTop:65,paddingBottom:96,height:700}},mainContainer:{width:"100%",maxWidth:1600,margin:"0 auto",padding:"0 16px",display:"flex",flexDirection:"column",gap:68,position:"relative","@media screen and (min-width: 768px)":{flexDirection:"row",alignItems:"flex-end",justifyContent:"space-between",padding:"0 100px"},"& > div":{flex:1}},email:{width:"100%","& .MuiInputBase-input":{fontWeight:400,fontSize:20,lineHeight:"32px",color:"#EFEDEB","@media screen and (min-width: 768px)":{fontSize:25,lineHeight:"40px"}},"& .MuiInput-underline:before":{borderBottomColor:"#545454"}},subScribeButton:{display:"flex",alignItems:"center",justifyContent:"center",width:64,height:64,borderRadius:"100%",cursor:"pointer",background:"linear-gradient(259.81deg, #E671A9 -4.16%, #9873CB 49.59%, #7570DF 84.28%, #736FD5 126.47%)","& .MuiTypography-root":{fontWeight:700,fontSize:30,lineHeight:"40px",textAlign:"center",textTransform:"uppercase",color:"#EFEDEB","@media screen and (min-width: 768px)":{fontWeight:500,fontSize:32,lineHeight:"32px"}}},subscribeGradient:{position:"absolute",left:0,top:-15,background:"linear-gradient(259.81deg, #E671A9 -4.16%, #9873CB 49.59%, #7570DF 84.28%, #736FD5 126.47%)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text",textFillColor:"transparent","@media screen and (min-width: 768px)":{top:-30}},socialIcon:{width:40,height:40,"@media screen and (min-width: 768px)":{width:64,height:64}},links:{width:"100%",maxWidth:460,display:"flex",flexDirection:"column",columnGap:16,rowGap:40,"@media screen and (min-width: 768px)":{flexDirection:"row"},"& > div":{flex:1,display:"flex",flexDirection:"column",gap:16,"@media screen and (min-width: 768px)":{gap:8}}},linkButton:{width:220,height:"auto",padding:0,justifyContent:"flex-start"},backgroundImg:{position:"absolute",transform:"rotate(90deg)",maxWidth:670,top:450,right:-250,"@media screen and (min-width: 768px)":{maxWidth:1300,transform:"rotate(0)",flexDirection:"row",right:0,top:148}},info:{fontWeight:500,fontSize:16,lineHeight:"24px",color:"#EFEDEB",position:"absolute",left:16,bottom:-154,"@media screen and (min-width: 768px)":{left:100,bottom:-78}}})})),wl=function(){var e=yl(),t=mr(),n=Object(Ze.g)(),a=function(){var e=Object(g.a)(Object(p.a)().mark((function e(t){var n;return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(n=document.createElement("a")).href=t,n.rel="noreferrer",n.target="_blank",document.body.appendChild(n),e.next=7,n.click();case 7:document.body.removeChild(n);case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return Object(De.jsxs)("div",{className:e.container,children:[Object(De.jsx)("img",{src:jl,alt:"wave",className:e.backgroundImg}),Object(De.jsx)("div",{className:e.mainContainer,children:Object(De.jsx)(Sr,{fill:"#EFEDEB",width:125,cursor:"pointer",onClick:function(){n.push(en)}})}),Object(De.jsxs)(Je.a,{className:e.mainContainer,children:[Object(De.jsxs)(Je.a,{children:[Object(De.jsxs)(Je.a,{width:1,position:"relative",maxWidth:574,display:"flex",alignItems:"center",gridGap:"24px",children:[Object(De.jsx)(Je.a,{flex:1,children:Object(De.jsx)(jt.a,{id:"enter email",placeholder:"Enter your email",className:e.email})}),Object(De.jsx)(Je.a,{className:e.subScribeButton,onClick:function(){return function(){var e=document.getElementById("newsletter-email-capture");e&&e.click()}()},children:Object(De.jsx)(gt.a,{children:"\u27e9"})}),Object(De.jsx)(gt.a,{className:xr()(t.headline1,e.subscribeGradient),children:"Subscribe"})]}),Object(De.jsx)(Je.a,{display:"flex",alignItems:"center",gridGap:"16px",marginTop:"40px",children:Object(De.jsx)("a",{href:"https://www.linkedin.com/company/thebarometer/",rel:"noreferrer",target:"_blank",children:Object(De.jsx)(vl,{cursor:"pointer",className:e.socialIcon})})})]}),Object(De.jsxs)(Je.a,{className:e.links,children:[Object(De.jsxs)(Je.a,{children:[Object(De.jsx)(gt.a,{style:{textTransform:"uppercase",fontWeight:700},className:t.callout1,children:"Product"}),Object(De.jsx)(Mt,{variant:"text",className:xr()(e.linkButton,t.callout1),onClick:function(){n.push(nn)},children:"Our Mission"}),Object(De.jsx)(Mt,{variant:"text",className:xr()(e.linkButton,t.callout1),onClick:function(){"www.thebarometer.co"===window.location.host?window.location.assign("https://app.thebarometer.co/login"):n.push(tn)},children:"Login"})]}),Object(De.jsxs)(Je.a,{children:[Object(De.jsx)(gt.a,{style:{textTransform:"uppercase",fontWeight:700},className:t.callout1,children:"Company"}),Object(De.jsx)(Mt,{variant:"text",className:xr()(e.linkButton,t.callout1),onClick:function(){a("mailto:info@thebarometer.co")},children:"info@thebarometer.co \u2197"}),Object(De.jsx)(Mt,{variant:"text",className:xr()(e.linkButton,t.callout1),onClick:function(){a(Cl)},children:"privacy policy"}),Object(De.jsx)(Mt,{variant:"text",className:xr()(e.linkButton,t.callout1),onClick:function(){a(Al)},children:"terms & conditions"})]})]}),Object(De.jsx)(gt.a,{className:e.info,children:"\xa9 2023 Barometer, Inc. All rights reserved."})]})]})},Il=Object(ot.a)((function(){return Object(ct.a)({container:{background:"#EFEDEB",width:"100%",fontFamily:"Space Grotesk, Sans Serif","& .MuiButton-text, & .MuiTypography-root, MuiInputBase-root, & .MuiInputBase-root ":{fontFamily:"Space Grotesk, Sans Serif"}},menuContainer:{width:"100%",background:"linear-gradient(180deg, rgba(219, 213, 195, 0.54) 0%, rgba(219, 213, 195, 0) 100%)","& > div":{width:"100%",maxWidth:1600,height:80,margin:"auto",padding:"0 16px",display:"flex",alignItems:"center",justifyContent:"space-between",flexWrap:"wrap",gap:8,zIndex:100,position:"relative","@media screen and (min-width: 768px)":{padding:"0 100px",height:152}}},mainContainer:{width:"100%",background:"#EFEDEB"},logo:{width:88,marginRight:"auto","@media screen and (min-width: 768px)":{width:125}},linkButton:{display:"none",color:"#545454",fontWeight:400,fontSize:16,lineHeight:"24px",width:112,justifyContent:"flex-start","@media screen and (min-width: 768px)":{display:"flex"}},scheduleDemoButton:{display:"none",background:"rgba(239, 237, 235, 0.32)",borderRadius:2,color:"#202226",padding:"4px 16px 6px",height:40,border:"2px solid",borderImageSlice:1,borderImageSource:"linear-gradient(to right, #736FD4, #7570DF, #9873CB, #E571A9)","@media screen and (min-width: 768px)":{display:"flex"},"&::after":{borderRadius:2},"&:hover":{background:"rgba(239, 237, 235, 0.32)"},"& > .MuiButton-label":{display:"flex",alignItems:"center",gap:45,color:"#202226",fontWeight:500}},menu:{"@media screen and (min-width: 768px)":{display:"none"}}})})),kl=function(e){var t=e.children,n=Il(),a=Object(Ze.g)(),i=Object(m.useState)(null),r=Object(j.a)(i,2),o=r[0],c=r[1],s=function(){c(null)},l=function(){var e=Object(g.a)(Object(p.a)().mark((function e(t){var n;return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.preventDefault(),s(),(n=document.createElement("a")).href="https://calendly.com/thebarometer/30min?month=2023-06",n.rel="noreferrer",n.target="_blank",document.body.appendChild(n),e.next=9,n.click();case 9:document.body.removeChild(n);case 10:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),d=function(){"www.thebarometer.co"===window.location.host?window.location.assign("https://app.thebarometer.co/login"):(s(),a.push(tn))};return Object(De.jsxs)("div",{className:n.container,children:[Object(De.jsx)("div",{className:n.menuContainer,children:Object(De.jsxs)("div",{children:[Object(De.jsx)(Sr,{className:n.logo,cursor:"pointer",onClick:function(){a.push(en)}}),Object(De.jsx)(Vs,{color:"secondary",title:"Our Mission",to:nn,variant:"text",className:n.linkButton}),Object(De.jsx)(Mt,{color:"secondary",variant:"text",className:n.linkButton,onClick:d,children:"Login"}),Object(De.jsxs)(Mt,{className:n.scheduleDemoButton,color:"primary",onClick:l,children:[Object(De.jsx)("span",{children:"Let\u2019s connect"}),Object(De.jsx)("span",{children:"\u2192"})]}),Object(De.jsx)(Mt,{"aria-controls":"simple-menu","aria-haspopup":"true",variant:"text",className:n.menu,onClick:function(e){c(e.currentTarget)},children:Object(De.jsx)(vr.a,{})}),Object(De.jsxs)(wn.a,{id:"simple-menu",anchorEl:o,keepMounted:!0,open:Boolean(o),onClose:s,children:[Object(De.jsx)(In.a,{onClick:function(){s(),a.push(nn)},children:"Our Mission"}),Object(De.jsx)(In.a,{onClick:d,children:"Login"}),Object(De.jsx)(In.a,{onClick:l,children:"Let\u2019s connect \u2192"})]})]})}),Object(De.jsx)("div",{className:n.mainContainer,children:t}),Object(De.jsx)(wl,{})]})},Sl=n.p+"static/media/advertisers.fd55df9a.png",El=Object(ot.a)((function(){return Object(ct.a)({container:{width:"100%",background:"#EFEDEB",padding:"100px 0",display:"flex",flexDirection:"column",gap:36},mainContainer:{width:"100%",maxWidth:1600,margin:"auto",padding:"0 16px",display:"flex",flexDirection:"column",gap:32,position:"relative","@media screen and (min-width: 768px)":{flexDirection:"row",alignItems:"flex-end",padding:"0 100px"},"& > div":{flex:1}},title:{fontWeight:300,fontSize:30,lineHeight:"40px",color:"#202226",padding:0,margin:0,maxWidth:520,"@media screen and (min-width: 768px)":{fontSize:48,lineHeight:"56px"}},description:{fontWeight:300,fontSize:16,lineHeight:"24px",color:"#545454",padding:0,margin:0,"@media screen and (min-width: 768px)":{fontSize:25,lineHeight:"40px"}},logo:{position:"absolute",width:"100%",bottom:-150,left:0,"@media screen and (min-width: 768px)":{width:"calc(100% + 100px)",marginLeft:-100,position:"initial"}},advertisers:{display:"flex",flexDirection:"column",gap:32,paddingLeft:30,"@media screen and (min-width: 768px)":{paddingLeft:0},"& > div":{display:"flex",flexDirection:"column","& > h6":{fontWeight:700,fontSize:16,lineHeight:"24px",color:"#202226",letterSpacing:"0.04em",textTransform:"uppercase",margin:0,position:"relative","@media screen and (min-width: 768px)":{fontSize:20,lineHeight:"40px"},"&::before":{content:'"\u2192"',color:"#A172D7",fontWeight:700,fontSize:20,paddingRight:16,position:"absolute",right:"100%"}},"& > span":{fontWeight:300,fontSize:16,lineHeight:"24px",color:"#545454","@media screen and (min-width: 768px)":{fontSize:25,lineHeight:"40px"}}}}})})),Rl=function(){var e=El();return Object(De.jsxs)("div",{className:e.container,children:[Object(De.jsxs)("div",{className:e.mainContainer,children:[Object(De.jsx)("div",{children:Object(De.jsx)("h2",{className:e.title,children:"Aligning advertisers with the perfect digital audio inventory."})}),Object(De.jsx)("div",{children:Object(De.jsx)("p",{className:e.description,children:"Drive return on investment in digital audio by harnessing hundreds of thousands of AI inferences updating in real time."})})]}),Object(De.jsxs)("div",{className:e.mainContainer,children:[Object(De.jsx)("div",{children:Object(De.jsx)("img",{src:Sl,alt:"advertisers",className:e.logo})}),Object(De.jsx)("div",{className:e.advertisers,children:[{title:"Advertisers",description:"Stop guessing what\u2019s in your media plan and find the perfect context for your campaigns."},{title:"Publishers",description:"Empower your team and clients with nuanced data about your inventory."},{title:"Platforms",description:"Join us in powering the future of programmatic omnichannel advertising at scale."}].map((function(e){return Object(De.jsxs)("div",{children:[Object(De.jsx)("h6",{children:e.title}),Object(De.jsx)("span",{children:e.description})]},e.title)}))})]})]})},Nl=n.p+"static/media/brandSafety.ae684ef7.png",Dl=n.p+"static/media/contextualTargeting.6af2e7a8.png",Ml=n.p+"static/media/hostIntelligence.f5d8d6fd.png",Tl=n.p+"static/media/garm.cd6deacc.png",Bl=Object(ot.a)((function(){return Object(ct.a)({container:{width:"100%",background:"#EFEDEB",padding:"100px 0",display:"flex",flexDirection:"column",gap:36},mainContainer:{width:"100%",maxWidth:1600,margin:"auto",padding:"0 16px",display:"flex",flexDirection:"column",gap:32,"@media screen and (min-width: 768px)":{flexDirection:"row",padding:"0 100px"},"& > div":{flex:1}},title:{fontWeight:300,fontSize:32,lineHeight:"40px",color:"#202226",padding:0,margin:0,maxWidth:520,marginBottom:45,"@media screen and (min-width: 768px)":{fontSize:48,lineHeight:"56px",marginBottom:70}},description:{fontWeight:300,fontSize:25,lineHeight:"40px",color:"#545454",padding:0,margin:0},logo:{width:"calc(100% + 100px)",marginLeft:-100},stepTitle:{fontWeight:700,fontSize:16,lineHeight:"24px",color:"#545454",textTransform:"uppercase",margin:0,position:"relative",cursor:"pointer","@media screen and (min-width: 768px)":{fontWeight:500,fontSize:20}},activeStep:{color:"#A172D7",marginLeft:30,"&::before":{content:'"\u2192"',color:"#A172D7",fontWeight:700,fontSize:20,paddingRight:8,position:"absolute",right:"100%"}},stepContainer:{marginTop:22,marginBottom:110,"@media screen and (min-width: 768px)":{marginLeft:40,marginTop:32,marginBottom:80}},stepContent:{fontWeight:300,fontSize:16,lineHeight:"24px",color:"#545454","@media screen and (min-width: 768px)":{fontSize:25,lineHeight:"48px"}},stepImg:{height:48,"@media screen and (min-width: 768px)":{height:72}},mobileImg:{background:"#E8E5E2",borderRadius:2,width:"100%",margin:"22px 0",padding:"24px 12px","@media screen and (min-width: 768px)":{display:"none"},"& > img":{width:"100%"}},desktopImg:{background:"#E8E5E2",borderRadius:2,width:"100%",padding:"80px 50px",display:"none",position:"absolute",top:-120,right:-100,"@media screen and (min-width: 768px)":{display:"block"},"& > img":{width:"100%"}}})})),Ll=function(){var e=Bl(),t=Object(m.useState)(0),n=Object(j.a)(t,2),a=n[0],i=n[1],r=[{title:"Brand Safety & Suitability",description:Object(De.jsxs)(Je.a,{display:"flex",flexDirection:"column",gridGap:"28px",className:e.stepContainer,children:[Object(De.jsxs)(gt.a,{className:e.stepContent,children:["- IAB approved measurement for digital audio",Object(De.jsx)("br",{}),"- Enforcing the GARM standards",Object(De.jsx)("br",{}),"- At scale with contextual AI"]}),Object(De.jsxs)(Je.a,{display:"flex",alignItems:"center",gridGap:"64px",children:[Object(De.jsx)("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAD8AAABCCAYAAADg4w7AAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAgiSURBVHgB7VvdbhNHFD6zu05RpRAbFalcdSORFkVtMEWVescmV71L2gdoDC+QwAvEeYA24QWII/WWJrnrFVleAByoEGqhXqRSpUC8W6mIENszPWd/7N317npthzSx+aQj7/zPmXPOzJkfAww+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Sv64XjWBljBz7/m8/S1EAaVakJnjrSNz85hepOXMAwe+7rVd/WJiWzBR7OtxAu2ccJbfoonmxeREqgHoFWFHBU9pNOchlbhvT2ceCUE7OfXVK0yPquPyZRCMk5mqXZze2hNeM+RpgSTVyA+4oiiwYU59Wsw9+I3e9uCcMJEXDVg58/D3aegTnLNs01EplSxkwtzbe04qb5x58OTLcP7q1Pn79IAS8+m4zttxjLOcU4ecR2HN0iClljxNeFFODkmfHjRhZQYOewnVWCChs4NX2SnNoVPT6H/MYptPbRpVbpNTg4x/z2J2hIIeVzG44pO+YDL7walDuo19rdDOLiB5SYLV2kHwxkOSlFK9XtfDDfgdIHrRhT/TNCCKxC5yEDlcUgycJ9yDj310nBR0jBrlcD2Ow6QYEANMvxZgjDMrcwrj62LG34dgn+vYZ6Xs1Gu3PeOlIS/GuceO1v4H5lNeCgzHge4AAAAASUVORK5CYII=",alt:"iABTechLabMemberBrand",className:e.stepImg}),Object(De.jsx)("img",{src:Tl,alt:"garmBrand",className:e.stepImg})]})]}),img:Nl},{title:"Contextual Targeting",description:Object(De.jsxs)(Je.a,{display:"flex",flexDirection:"column",gridGap:"28px",className:e.stepContainer,children:[Object(De.jsxs)(gt.a,{className:e.stepContent,children:["Efficiently discover the most relevant content for your campaign!",Object(De.jsx)("br",{}),"Easily scan through thousands of podcasts by publisher, IAB category, and more."]}),Object(De.jsx)(Je.a,{display:"flex",alignItems:"center",gridGap:"64px",children:Object(De.jsx)("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFEAAABBCAYAAACpWUitAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAbdSURBVHgB7VxdUttIEP5mbOdtd4Hs7vNQgRS1FcCcIOYEcU5gOAHmBCgnCDkB5gTACfANcMLWVmqTFMrrJmDvW2pBM9styUQYSzMyJg5BX9UUZqbHLbXm5+vukYECmThdfLz36clcLUumjAKZEMJUBYzKkpEokAkD80pCN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XlKYjfgwbI+ncGDwon9m83/8GDSNmGkrXwAAAABJRU5ErkJggg==",alt:"iABMemberBrand",className:e.stepImg})})]}),img:Dl},{title:"Host Intelligence",description:Object(De.jsx)(Je.a,{display:"flex",flexDirection:"column",gridGap:"28px",className:e.stepContainer,children:Object(De.jsx)(gt.a,{className:e.stepContent,children:"Keep up with news about creators from across 50,000 sources so you never miss anything critical."})}),img:Ml}];return Object(De.jsxs)("div",{className:e.container,children:[Object(De.jsx)("div",{className:e.mainContainer,children:Object(De.jsx)("div",{children:Object(De.jsx)(gt.a,{className:e.title,children:"Leverage AI to optimize campaigns responsibly"})})}),Object(De.jsxs)(Je.a,{className:e.mainContainer,minHeight:600,children:[Object(De.jsx)("div",{children:r.map((function(t,n){return Object(De.jsxs)(Je.a,{marginTop:"16px",children:[Object(De.jsx)(gt.a,{className:xr()(e.stepTitle,n===a&&e.activeStep),onClick:function(){return i(n)},children:t.title}),n===a&&Object(De.jsx)("div",{className:e.mobileImg,children:Object(De.jsx)("img",{src:t.img,alt:"bug"})}),n===a&&t.description]},t.title)}))}),Object(De.jsx)(Je.a,{position:"relative",children:Object(De.jsx)("div",{className:e.desktopImg,children:Object(De.jsx)("img",{src:r[a].img,alt:"bug"})})})]})]})},Fl=Object(ot.a)((function(){return Object(ct.a)({container:{width:"calc(100% - 8px)",margin:"0 4px",background:"#E8E5E2",borderRadius:2,padding:"85px 0",position:"relative","@media screen and (min-width: 768px)":{width:"calc(100% - 32px)",margin:"0 16px"}},bottomBorder:{position:"absolute",top:"100%",left:0,width:"100%",height:8,background:"linear-gradient(259.81deg, #E671A9 -4.16%, #9873CB 49.59%, #7570DF 84.28%, #736FD5 126.47%)"},mainContainer:{width:"100%",maxWidth:1600,margin:"auto",padding:"0 16px",display:"flex",flexDirection:"column",alignItems:"flex-end",gap:32,"@media screen and (min-width: 768px)":{flexDirection:"row",padding:"0 100px"},"& > div":{flex:1}},title:{fontWeight:700,fontSize:20,lineHeight:"40px",textTransform:"uppercase",color:"#202226"},description:{fontWeight:300,fontSize:48,lineHeight:"56px",color:"#545454"},email:{width:"100%","& .MuiInputBase-input":{fontWeight:400,fontSize:16,lineHeight:"24px","@media screen and (min-width: 768px)":{fontSize:25,lineHeight:"40px",color:"#545454"}}},button:{display:"flex",alignItems:"center",justifyContent:"center",width:56,height:56,borderRadius:"100%",cursor:"pointer",background:"linear-gradient(259.81deg, #E671A9 -4.16%, #9873CB 49.59%, #7570DF 84.28%, #736FD5 126.47%)","@media screen and (min-width: 768px)":{width:82,height:82},"& .MuiTypography-root":{fontWeight:700,fontSize:30,lineHeight:"40px",textAlign:"center",textTransform:"uppercase",color:"#EFEDEB","@media screen and (min-width: 768px)":{fontWeight:500,fontSize:64,lineHeight:"96px"}}}})})),Pl=function(){var e=Fl();return Object(De.jsxs)("div",{className:e.container,children:[Object(De.jsxs)("div",{className:e.mainContainer,children:[Object(De.jsxs)("div",{children:[Object(De.jsx)(gt.a,{className:e.title,children:"Contact"}),Object(De.jsx)(gt.a,{className:e.description,children:"Get in touch with our team and request a demo"})]}),Object(De.jsxs)(Je.a,{width:1,display:"flex",alignItems:"center",gridGap:"24px",children:[Object(De.jsx)(Je.a,{flex:1,children:Object(De.jsx)(jt.a,{id:"enter email",label:"Enter your email",className:e.email})}),Object(De.jsx)(Je.a,{className:e.button,onClick:function(){return function(){var e=document.getElementById("newsletter-email-capture");e&&e.click()}()},children:Object(De.jsx)(gt.a,{children:"\u27e9"})})]})]}),Object(De.jsx)("div",{className:e.bottomBorder})]})},zl=n.p+"static/media/ADWEEK.275a2b05.png",Gl=n.p+"static/media/Cynopsis.bc55c7b7.png",Wl=n.p+"static/media/MarketingBrew.300fb006.png",Hl=n.p+"static/media/Oxford.83f451ad.png",Ul=Object(ot.a)((function(){return Object(ct.a)({container:{width:"100%",background:"#EFEDEB",borderRadius:2,padding:"185px 0 85px"},mainContainer:{width:"100%",maxWidth:1600,margin:"auto",padding:"0 16px",display:"flex",flexDirection:"column",gap:32,"@media screen and (min-width: 768px)":{flexDirection:"row",padding:"0 100px"}},logo:{height:50,"@media screen and (min-width: 768px)":{height:80}},source:{fontWeight:700,fontSize:16,lineHeight:"24px",color:"#202226","@media screen and (min-width: 768px)":{fontSize:20,lineHeight:"40px"}},author:{fontWeight:300,fontSize:18,lineHeight:"24px",color:"#545454","@media screen and (min-width: 768px)":{fontSize:25,lineHeight:"40px"}},quote:{fontWeight:300,fontSize:38,lineHeight:"48px",color:"#202226","@media screen and (min-width: 768px)":{fontSize:58,lineHeight:"64px"}},info:{padding:0,"@media screen and (min-width: 768px)":{padding:"0 60px"},"& img":{transition:"transform .25s linear","&:hover":{transform:"scale(1.1);"}}},desktopButtons:{display:"none","@media screen and (min-width: 768px)":{display:"flex"}},mobileButtons:{display:"flex","@media screen and (min-width: 768px)":{display:"none"}},button:{fontWeight:300,fontSize:38,lineHeight:"48px",color:"#545454","@media screen and (min-width: 768px)":{fontSize:60,lineHeight:"64px"}},disabled:{opacity:.32}})})),Vl=function(){var e=Ul(),t=Object(m.useState)(0),n=Object(j.a)(t,2),a=n[0],i=n[1],r=[{source:"ADWEEK",link:"https://www.google.com/url?q=https://www.adweek.com/partner-articles/its-time-to-meet-the-programmatic-podcast-opportunity/&sa=D&source=editors&ust=1679307682453452&usg=AOvVaw330KhDwQNoHgkj125MVzvQ",author:"Jeremy Randol, VP, Programmatic Sales Strategy, SXM Media",date:"February 2023",quote:"This reporting feeds brand suitability measurement\u2014as companies like Barometer use AI to comb through transcripts of episodes to assign them a grade. Those grades are matched to the DSP reporting output and advertisers are provided with a summary on where their ads ran and whether the content was brand suitable. This is the third-party validation that the industry needs to get comfortable. And it\u2019s all in a clean and tidy user interface that buyers are already comfortable using.",img:zl},{source:"Marketing Brew",link:"https://www.google.com/url?q=https://www.marketingbrew.com/stories/2022/12/13/new-ai-tool-can-help-advertisers-vet-podcast-hosts-based-on-news-they-might-make-outside-of-their-shows&sa=D&source=editors&ust=1679307682455745&usg=AOvVaw2jHUxXNBoxJKSmo_p0CAW1",author:"Alyssa Meyers, Marketing Brew Reporter",date:"December 13, 2022",quote:"New AI tool can help advertisers vet podcast hosts based on news they make outside of their shows",img:Wl},{source:"IAB",link:"https://www.marketingbrew.com/stories/2022/12/13/new-ai-tool-can-help-advertisers-vet-podcast-hosts-based-on-news-they-might-make-outside-of-their-shows",author:"Alyssa Meyers, Marketing Brew Reporter",date:"",quote:"Eric John, VP of the IAB\u2019s Media Center, said in an email that audio-focused IAB members have indicated \u201cthat brands need to have greater trust in their ability to identify brand safe and suitable content\u201d before they fully take advantage of podcasts at scale.",img:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAACXCAMAAACY2ZZFAAAC+lBMVEVHcEwAAAAAAAAAAAAAAAAAAAAJAAAAAAAAAAAAAADsKirwMCHuMCTuMCPsMSIAAAAAAADyMSDyMiPxMSPyMSTvMST6Myb8NCb5MybxMSTyMyLvLyL1MyTzMST/NSf+NCb2MiXxMiTvMST1MiXhLB/1MST0MSTzMiXuMST2MiX0MSXoLyL0MST/NifyMiXtMSTsMCL2MiXsMCP3MyXrMSPrMCL2MiX0MiX2MiXxMSL1MiT1MiXrLyLtMCPuMSTuMCT0NzftMCP7NCbtMCTxMCPuMCTmNSHuMCTuMCP4MyXuMCTwMSTvMCP/NCbvMCPuMCPtMCPtMCPtMSPvMCTrMSLwMSTxNRnuMSTtMCPtMCPuMSPxMiPuMCPtMSLsMCTrMSP5MyXvMCTtLyP2MiTsMCPsMiX0MiT0MSTtMCKpAADyMiP0MSTzMiTzMiTlKiDyMSTwMSPwMST0MiXzLiEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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UrmudtRqoZZCWhRDHy4qbCoEbaQIIkcd35WUdjXa6rCUQuVeJEtNeSl4WBjhc1kC4cJ8TZPk/UJB1JNTRsk4thQsPKbIy11GQhaMbHSwr+iu4Upkkq6yKLEx0sKxx0KEiSVZdJVkY7FhZG6BHe4qsHCXUZO077lBZIUegxxt+BFlaPTVZGBnrSFk+C6DLo8y1rGXxCoqykBjqQFm7oqDP4yc5LF0FFs+qKguJOxwn69QaGPGU8G5YtrayLEx/yWGy4k7CkEaErw71oS4LfVY7Slb4ehhTtFhxC1m1/G/IyRJJdpCs3jDlDR5ocWBVg3uyMOMMk2TtMztmSpksL26DBQ0rZTG9YqV+zV1ZSNzApJg/Os4GWbtn+EiegtthxScpecxs8ft2xDLMk9juY8PsWTTwNkb2lugazV4OAuV5gMlJWAh2yMLICS8wEpt7J8ImWS8DW1cwatkFIFHd0FYW/iBYVZZI4niCrmcDRwM2ygJOHGDWLNoyGlQqcv0zMZB3KWhjSNGCUXHMFJ+hUYDNsoCvBq1lpuwaHwUJKnyt6RxWefiV0vbGX00ds+UUM+DM4OFHAA/IAqZMnLXZcPZj3bQ+kKPlN1x878nMW1QAyD+n2wsaR74aOn9htHhNnzW+71n8C9MZlxW0icqEl/EP2/sNitzIBNbu7D3jMOR5/O37XEsT+E9nlacEtRWSvtaa0Rd0zo6YNG7L6uMhsbEhx1cPXDzPNbMvZrYJ/0yYDVprws6XhcN6+/CVW956aUfCr+yetWFAv68WQJXg79p8pnE/7UNN4zzz9x1aQeDg4fUmHISdbDqyyZAj/5TqY7JJh0fCo/TI90PlHwtVqd++pHBQ/QL0Kwz1VfV1ogAAAABJRU5ErkJggg=="},{source:"Marketing Brew",link:"https://www.google.com/url?q=https://www.marketingbrew.com/stories/2022/12/13/new-ai-tool-can-help-advertisers-vet-podcast-hosts-based-on-news-they-might-make-outside-of-their-shows&sa=D&source=editors&ust=1679307682458358&usg=AOvVaw0QQYGrriwOHjaEYc7jPl2Z",author:"Jennifer Laine, Oxford Road",date:"December 13, 2022",quote:"As an agency, it\u2019s virtually impossible\u201d to conduct these audits across the many podcasts its clients advertise on, Laine [Oxford Road] said. Still, \u201cso much of the host controversy actually happens outside the episode.",img:Hl},{source:"Cynopsis Model D Awards",link:"https://www.cynopsis.com/events/model-d-it-list-awards-2022/",author:"",date:"December 7, 2022",quote:"Oxford Road x Barometer Bring Preeminent AI-Powered Brand Safety and Suitability Solution to Podcasts",img:Gl}],o=Object(m.useMemo)((function(){return r[a]}),[a]),c=function(){0!==a&&i((function(e){return e-1}))},s=function(){a!==r.length-1&&i((function(e){return e+1}))};return Object(De.jsx)("div",{className:e.container,children:Object(De.jsxs)("div",{className:e.mainContainer,children:[Object(De.jsxs)(Je.a,{display:"flex",flexDirection:"column",gridGap:16,className:e.info,children:[Object(De.jsx)("a",{href:o.link,rel:"noreferrer",target:"_blank",children:Object(De.jsx)("img",{className:e.logo,src:o.img,alt:"quote logo"})}),Object(De.jsxs)(Je.a,{children:[Object(De.jsx)(gt.a,{className:e.source,children:o.source}),Object(De.jsx)(gt.a,{className:e.author,children:o.author})]}),Object(De.jsxs)(Je.a,{width:200,display:"flex",justifyContent:"space-between",alignItems:"center",className:e.desktopButtons,children:[Object(De.jsx)(kt.a,{className:xr()(e.button,0===a&&e.disabled),onClick:c,disabled:0===a,children:"\u2190"}),Object(De.jsx)(kt.a,{className:xr()(e.button,a===r.length&&e.disabled),onClick:s,disabled:a===r.length,children:"\u2192"})]})]}),Object(De.jsxs)(gt.a,{className:e.quote,children:["\u201c",o.quote,"\u201c"]}),Object(De.jsxs)(Je.a,{width:200,display:"flex",justifyContent:"space-between",alignItems:"center",className:e.mobileButtons,children:[Object(De.jsx)(kt.a,{className:xr()(e.button,0===a&&e.disabled),onClick:c,disabled:0===a,children:"\u2190"}),Object(De.jsx)(kt.a,{className:xr()(e.button,a===r.length-1&&e.disabled),onClick:s,disabled:a===r.length-1,children:"\u2192"})]})]})})};function Kl(){var e=Ar({automaticLaunch:!0}).launchScheduleDemo;return Object(De.jsxs)(kl,{children:[Object(De.jsx)(dl,{onScheduleDemo:function(t){t.preventDefault(),e()}}),Object(De.jsx)(gl,{}),Object(De.jsx)(Rl,{}),Object(De.jsx)(Ll,{}),Object(De.jsx)(Pl,{}),Object(De.jsx)(Vl,{})]})}var Zl=n.p+"static/media/waves.3af66a4a.png",Ql=n.p+"static/media/wavesMobile.918e601d.png",Xl=Object(ot.a)((function(){return Object(ct.a)({container:{width:"100%",position:"relative",background:"#EFEDEB",marginBottom:85},mainContainer:{height:"100%",width:"100%",maxWidth:1600,margin:"auto",padding:"0 16px",display:"flex",flexDirection:"column",columnGap:120,zIndex:1,position:"relative","@media screen and (min-width: 768px)":{padding:"0 100px",flexDirection:"row",alignItems:"center"}},heroBG:{position:"absolute",left:"50%",top:-110,width:"100%",transform:"translate(-50%, 0)","@media screen and (min-width: 768px)":{top:-180}},mWeb:{display:"block","@media screen and (min-width: 768px)":{display:"none"}},dWeb:{display:"none","@media screen and (min-width: 768px)":{display:"block"}},title:{fontWeight:300,fontSize:38,lineHeight:"48px",color:"#202226",textTransform:"uppercase",marginBottom:50,marginTop:40,"@media screen and (min-width: 768px)":{fontSize:76,lineHeight:"96px"}},description:{fontWeight:300,fontSize:16,lineHeight:"24px",color:"#545454",marginBottom:40,"@media screen and (min-width: 768px)":{fontSize:25,lineHeight:"40px",marginBottom:55}},mainImg:{maxWidth:450,width:"100%"}})})),Yl=function(){var e=Xl();return Object(De.jsxs)("div",{className:e.container,children:[Object(De.jsx)("img",{src:Zl,alt:"heroBG desktop",className:xr()(e.heroBG,e.dWeb)}),Object(De.jsx)("img",{src:Ql,alt:"heroBG desktop",className:xr()(e.heroBG,e.mWeb)}),Object(De.jsx)("div",{className:e.mainContainer,children:Object(De.jsxs)(gt.a,{className:e.title,children:["Our mission-",Object(De.jsx)("br",{}),"driven team"]})}),Object(De.jsxs)("div",{className:e.mainContainer,children:[Object(De.jsx)(Je.a,{className:e.mainImg}),Object(De.jsx)(Je.a,{flex:1,children:Object(De.jsxs)(gt.a,{className:e.description,children:["Our mission is to operationalize the components and risk levels defined in the ",Object(De.jsx)("b",{children:"GARM\u2197 Brand Safety & Suitability"})," framework and apply them consistently using AI to provide transparent content ratings for podcasts.",Object(De.jsx)("br",{}),Object(De.jsx)("br",{}),"We are an independent third party charged with providing data to support advertisers and networks in being informed about the content with which they engage, and to simplify the process of aligning brands' ad spend to their values. After brand trust is built with drops and lost in buckets.",Object(De.jsx)("br",{}),Object(De.jsx)("br",{}),"The Barometer gives advertisers and brands a path to avoid future controversies by association through intelligent podcast pre-screens. Instead, brands can use the Barometer to easily align their ad buys to their values."]})})]})]})},Jl=n.p+"static/media/ceo_tamara.b08ca744.png",ql=n.p+"static/media/cto_grant.12c13f5d.png",_l=Object(ot.a)((function(){return Object(ct.a)({container:{width:"100%",position:"relative",background:"#EFEDEB",marginBottom:85},mainContainer:{height:"100%",width:"100%",maxWidth:1600,margin:"auto",padding:"0 16px",display:"flex",flexDirection:"column",rowGap:10,columnGap:120,zIndex:1,position:"relative","@media screen and (min-width: 768px)":{padding:"0 100px",flexDirection:"row"}},title:{fontWeight:300,fontSize:38,lineHeight:"48px",color:"#202226",textTransform:"uppercase",marginBottom:40,marginTop:40,"@media screen and (min-width: 768px)":{fontSize:76,lineHeight:"96px",marginBottom:120}},description:{fontWeight:300,fontSize:16,lineHeight:"24px",color:"#545454",marginBottom:40,"@media screen and (min-width: 768px)":{fontSize:25,lineHeight:"40px",marginBottom:55}},founders:{display:"flex",flexDirection:"column",rowGap:120,paddingBottom:75,"@media screen and (min-width: 768px)":{rowGap:220,paddingBottom:200}},mainImg:{maxWidth:450,width:"100%","& > img":{width:164,"@media screen and (min-width: 768px)":{width:338}}},noteContainer:{maxWidth:920,margin:"auto",marginTop:60,padding:"0 16px","@media screen and (min-width: 768px)":{marginTop:120}},note:{position:"relative","&::before":{content:'"\u201c"',color:"#DBD5C3",fontWeight:300,fontSize:200,lineHeight:"150px",paddingRight:42,position:"absolute",right:"100%"},"& > span":{"@media screen and (min-width: 768px)":{display:"none"}}}})})),$l=[{name:"Tamara Zubatiy",position:"Co-Founder & CEO",photo:Jl,description:"Tamara studied Cognitive Science with specialization in Machine Learning and Neural Computation at UC San Diego. In her time out of office Tamara enjoys reading, running, yoga and the ocean.",note:'Each day I get to engage Barometer\u2019s amazing customers and prospective users, listen and learn from their stories and experiences, and use their insights to guide our team roadmap. I also work with our team and a small army of amazing advisors, investors and professionals to strategize for Barometer\u2019s continued success. It is an honor and a privilege to guide the Barometer team on our its mission to empower companies to become aware of the biases in their text content and harness that knowledge in order to optimize for what matters most, while simultaneously becoming more accountable to their stakeholders!"'},{name:"Grant Nelson",position:"Co-Founder & CTO",photo:ql,description:"Grant Nelson is the CTO and co-founder of Barometer, a technology company based in Atlanta, Georgia. Barometer analyzes millions of text samples quickly and consistently to help companies fingerprint their text content and optimize what matters.",note:'At Barometer I work with our amazing tech team to optimize our core technologies and product. I ensure that we have a continuous delivery systems of testing, staging, and pushing to production. Our algorithms can be used to raise awareness to complex social issues, which is a responsibility I do not take lightly. As such, we are diligent and rigorous in our continuous performance testing. We are always delivering new capabilities in our API and Dashboards, which our customers use hundreds of thousands of times each month. I am excited to continue learning from our users and build out this tool to empower them to better understand and manage their text content."'}],ed=function(){var e=_l(),t=mr();return Object(De.jsxs)("div",{className:e.container,children:[Object(De.jsx)("div",{className:e.mainContainer,children:Object(De.jsx)(gt.a,{className:e.title,children:"Our Founders"})}),Object(De.jsx)("div",{className:e.founders,children:$l.map((function(n,a){return Object(De.jsxs)("div",{children:[Object(De.jsxs)("div",{className:e.mainContainer,children:[Object(De.jsx)(Je.a,{className:e.mainImg,children:Object(De.jsx)("img",{src:n.photo,alt:"Founder"})}),Object(De.jsxs)(Je.a,{flex:1,children:[Object(De.jsx)(gt.a,{className:t.headline1,children:n.name}),Object(De.jsx)(gt.a,{className:t.caption,children:n.position}),Object(De.jsx)(Je.a,{marginTop:"16px",children:Object(De.jsx)(gt.a,{className:t.title2,children:n.description})})]})]}),Object(De.jsx)(Je.a,{className:e.noteContainer,children:Object(De.jsxs)(gt.a,{className:xr()(e.note,t.body2),children:[Object(De.jsx)("span",{children:"\u201c"}),n.note]})})]},a)}))})]})},td=Object(ot.a)((function(){return Object(ct.a)({container:{width:"calc(100% - 8px)",background:"#E8E5E2",borderRadius:2,padding:"85px 0",margin:"85px 4px",position:"relative","@media screen and (min-width: 768px)":{width:"calc(100% - 32px)",margin:"85px 16px"}},bottomBorder:{position:"absolute",top:"100%",left:0,width:"100%",height:8,background:"linear-gradient(259.81deg, #E671A9 -4.16%, #9873CB 49.59%, #7570DF 84.28%, #736FD5 126.47%)"},mainContainer:{width:"100%",maxWidth:1600,margin:"auto",padding:"0 16px",display:"flex",flexDirection:"column",alignItems:"flex-end",gap:32,"@media screen and (min-width: 768px)":{flexDirection:"row",padding:"0 100px"},"& > div":{flex:1}},title:{fontWeight:700,fontSize:20,lineHeight:"40px",textTransform:"uppercase",color:"#202226"},description:{fontWeight:300,fontSize:48,lineHeight:"56px",color:"#545454"},email:{width:"100%","& .MuiInputBase-input":{fontWeight:400,fontSize:16,lineHeight:"24px","@media screen and (min-width: 768px)":{fontSize:25,lineHeight:"40px",color:"#545454"}}},button:{display:"flex",alignItems:"center",justifyContent:"center",width:56,height:56,borderRadius:"100%",cursor:"pointer",background:"linear-gradient(259.81deg, #E671A9 -4.16%, #9873CB 49.59%, #7570DF 84.28%, #736FD5 126.47%)","@media screen and (min-width: 768px)":{width:82,height:82},"& .MuiTypography-root":{fontWeight:700,fontSize:30,lineHeight:"40px",textAlign:"center",textTransform:"uppercase",color:"#EFEDEB","@media screen and (min-width: 768px)":{fontWeight:500,fontSize:64,lineHeight:"96px"}}}})})),nd=function(){var e=td();return Object(De.jsxs)("div",{className:e.container,children:[Object(De.jsxs)("div",{className:e.mainContainer,children:[Object(De.jsxs)("div",{children:[Object(De.jsx)(gt.a,{className:e.title,children:"Subscribe"}),Object(De.jsx)(gt.a,{className:e.description,children:"Sign up for our mailing list so you won't miss it!"})]}),Object(De.jsxs)(Je.a,{width:1,display:"flex",alignItems:"center",gridGap:"24px",children:[Object(De.jsx)(Je.a,{flex:1,children:Object(De.jsx)(jt.a,{id:"enter email",label:"Enter your email",className:e.email})}),Object(De.jsx)(Je.a,{className:e.button,onClick:function(){return function(){var e=document.getElementById("newsletter-email-capture");e&&e.click()}()},children:Object(De.jsx)(gt.a,{children:"\u27e9"})})]})]}),Object(De.jsx)("div",{className:e.bottomBorder})]})};function ad(){return Object(De.jsxs)(kl,{children:[Object(De.jsx)(Yl,{}),Object(De.jsx)(ed,{}),Object(De.jsx)(nd,{})]})}var id=[{name:"Base Monthly",amount:3495,type:W.STANDARD,interval:G.MONTH,intervalCount:1,active:!0,metadata:{benefits:["10 unique logins for your team","Brand suitability analysis for thousands of episodes","Access to brand suitability scores for GARM 1, 2, 5, 7, 8, 9 and 11 as well as the Media Round Table value of Tolerance","Unlimited dashboards\xa0","Unlimited downloads","$500/1000 hours of transcription"]},description:"For standard commercial projects"},{name:"Base Annual",amount:33552,type:W.STANDARD,interval:G.YEAR,intervalCount:1,active:!0,metadata:{benefits:["10 unique logins for your team","Brand suitability analysis for thousands of episodes","Access to brand suitability scores for GARM 1, 2, 5, 7, 8, 9 and 11 as well as the Media Round Table value of Tolerance","Unlimited dashboards\xa0","Unlimited downloads","$500/1000 hours of transcription"]},description:"For standard commercial projects"}],rd=n(753),od=n(756),cd=n(755),sd=n(754),ld=n(230),dd=n.n(ld),ud=Object(ot.a)((function(e){return Object(ct.a)({card:{position:"relative",boxSizing:"border-box",display:"flex",flexDirection:"column",overflow:"visible",borderRadius:e.spacing(1)},cardHeader:{fontSize:"2.0rem",color:"white",backgroundColor:e.palette.blackBackground.main,padding:e.spacing(5,3)},cardPricing:{display:"flex",justifyContent:"flex-start",alignItems:"baseline"},cardActions:{display:"flex",justifyContent:"center",padding:e.spacing(2)},cardContent:{flexGrow:1},features:{margin:0,padding:0,listStyle:"none"},chipContainer:{position:"absolute",top:-15,left:0,right:0,display:"flex",justifyContent:"center"},chip:{color:"white",backgroundColor:e.palette.primary.main}})})),hd=function(e){var t=e.plan,n=e.width,a=e.cardActions,i=ud(),r=Ve().isMobile,o=dt(),c=lt(),s=t.name,l=t.amount,d=t.interval,u=t.metadata.benefits;return Object(De.jsxs)(rd.a,{elevation:5,style:{minHeight:400,width:n,marginBottom:r?24:0},className:i.card,children:[Object(De.jsx)(sd.a,{title:Object(De.jsxs)(De.Fragment,{children:[Object(De.jsx)(gt.a,{variant:"h4",children:s}),Object(De.jsxs)("div",{className:Object(Xe.default)(i.cardPricing,c.mt2),children:[Object(De.jsx)(gt.a,{variant:"h2",className:c.mr05,children:"$"}),Object(De.jsx)(gt.a,{variant:"h1",children:zt(l)}),Object(De.jsx)(gt.a,{variant:"h6",className:o.grayText,children:d===G.MONTH?"/month":"/year"})]})]}),titleTypographyProps:{align:"left",variant:"h4"},className:i.cardHeader}),Object(De.jsx)(cd.a,{className:i.cardContent,children:Object(De.jsxs)("ul",{className:i.features,children:[Object(De.jsx)("li",{children:Object(De.jsx)(gt.a,{variant:"h5",children:"Benefits:"})}),null===u||void 0===u?void 0:u.map((function(e){return Object(De.jsx)("li",{children:Object(De.jsxs)(Je.a,{my:1,display:"flex",flexDirection:"row",alignItems:"flex-start",children:[Object(De.jsx)(dd.a,{className:Object(Xe.default)(o.primary,c.mr1)}),Object(De.jsx)(gt.a,{variant:"subtitle1",children:e})]})},e)}))]})}),Object(De.jsx)(od.a,{className:i.cardActions,children:a})]})},bd=function(e){var t=e.onClick,n=Ve().isMobile;return Object(De.jsx)(_e.a,{container:!0,spacing:n?0:2,children:id.map((function(e){return Object(De.jsx)(_e.a,{item:!0,xs:12,lg:6,children:Object(De.jsx)(hd,{plan:e,cardActions:Object(De.jsx)(Mt,{title:"Choose",color:"primary",width:"100%",onClick:function(){return t(e)}})},e.name)},e.name)}))})},pd=n(757),gd=n(185),jd=n.n(gd),md=n(295),fd=n(672);function xd(e){var t=e.title,n=e.width,a=e.isOpen,i=e.maxWidth,r=e.children,o=e.onClose,c=Od({width:n});Object(m.useEffect)((function(){a&&(document.body.style.overflow="hidden")}),[a]);var s=function(){document.body.style.overflow="auto",o()};return Object(De.jsxs)(Wr.a,{open:a,onClose:s,title:t,maxWidth:i,"aria-label":t,classes:{paper:c.dialogPaper},children:[Object(De.jsx)(jd.a,{className:c.closeIcon,onClick:s}),Object(De.jsx)(pd.a,{className:c.dialogContent,children:r})]})}var Od=Object(md.a)((function(e){return Object(fd.a)({dialogPaper:{background:"#F3F6F9",maxWidth:"100%"},dialogContent:{width:function(e){return e.width}},closeIcon:{cursor:"pointer",position:"absolute",top:e.spacing(1),right:e.spacing(1)}})})),vd=n(759),Cd=n(758),Ad=n(760),yd=function(e,t){var n=Object(m.useState)(e),a=Object(j.a)(n,2),i=a[0],r=a[1];return Object(m.useEffect)((function(){var n=setTimeout((function(){r(e)}),t);return function(){clearTimeout(n)}}),[e,t]),i},wd=n.p+"static/media/Terms_Conditions.4148971a.pdf";function Id(e){var t=e.planCost,n=e.onCancel,a=e.onPayNow,i=Sd(),r=Object(d.useStripe)(),o=Object(d.useElements)(),s=Object(c.b)().enqueueSnackbar,l=Object(m.useState)(!1),u=Object(j.a)(l,2),h=u[0],f=u[1],x=Object(m.useState)(!1),O=Object(j.a)(x,2),v=O[0],C=O[1],A=Object(m.useState)({name:"",promoCode:""}),y=Object(j.a)(A,2),w=y[0],I=y[1],k=Object(m.useState)(0),S=Object(j.a)(k,2),E=S[0],R=S[1],N=yd(w.promoCode,500),D=Object(m.useCallback)(function(){var e=Object(g.a)(Object(p.a)().mark((function e(t){var n;return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ye(t);case 2:n=e.sent,R(null===n||void 0===n?void 0:n.percentOff);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[]);Object(m.useEffect)((function(){D(N)}),[N,D]);var M=function(){var e=Object(g.a)(Object(p.a)().mark((function e(t,n){return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n){e.next=2;break}return e.abrupt("return");case 2:I(Object(b.a)(Object(b.a)({},w),{},Object(gn.a)({},n,t)));case 3:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),T=function(){var e=Object(g.a)(Object(p.a)().mark((function e(t){var n,i,c,l;return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.preventDefault(),e.prev=1,f(!0),r&&o){e.next=5;break}return e.abrupt("return");case 5:if(n=o.getElement(d.CardElement)){e.next=8;break}return e.abrupt("return");case 8:return e.next=10,r.createToken(n);case 10:if(i=e.sent,c=i.error,l=i.token,!c&&l){e.next=16;break}return s((null===c||void 0===c?void 0:c.message)||"Can not create a token.",{variant:"error"}),e.abrupt("return");case 16:return e.next=18,a(l.id,w.promoCode);case 18:return e.prev=18,f(!1),e.finish(18);case 21:case"end":return e.stop()}}),e,null,[[1,,18,21]])})));return function(t){return e.apply(this,arguments)}}();return Object(De.jsxs)(Je.a,{css:{display:"flex",flexDirection:"column",justifyContent:"stretch",width:"100%"},children:[h&&Object(De.jsx)(Cd.a,{}),Object(De.jsx)("form",{onSubmit:T,children:Object(De.jsxs)(_e.a,{container:!0,spacing:1,children:[Object(De.jsx)(_e.a,{item:!0,xs:12,children:Object(De.jsx)(Dn,{name:"name",value:w.name,label:"Name on card",fullWidth:!0,variant:"outlined",onChange:M})}),Object(De.jsx)(_e.a,{item:!0,xs:12,children:Object(De.jsx)(Dn,{name:"promoCode",value:w.promoCode,label:"Promo code (optional)",fullWidth:!0,variant:"outlined",onChange:M})}),Object(De.jsx)(_e.a,{item:!0,xs:12,children:Object(De.jsx)(vd.a,{className:i.cardFormGroup,children:Object(De.jsx)("fieldset",{className:i.fieldset,children:Object(De.jsx)(d.CardElement,{})})})}),Object(De.jsxs)("div",{className:i.amountContainer,children:[E&&Object(De.jsxs)("div",{children:[Object(De.jsx)("span",{className:i.promoApplied,children:"Pormo applied!"}),Object(De.jsxs)("span",{children:["-$",(E*t/100).toFixed(2)]})]}),Object(De.jsxs)("div",{children:[Object(De.jsx)("span",{children:"Total Cost:"}),Object(De.jsxs)("span",{children:["$",E?((100-E)*t/100).toFixed(2):t.toFixed(2)]})]})]}),Object(De.jsxs)(_e.a,{container:!0,item:!0,xs:12,justifyContent:"flex-start",alignItems:"center",children:[Object(De.jsx)(Fi,{name:"Terms and Conditions",label:"",checked:v,noPadding:!0,onChange:C,className:i.checkbox}),Object(De.jsxs)(gt.a,{variant:"body1",children:["By clicking this checkbox I agree to the"," ",Object(De.jsx)(Ad.a,{href:wd,color:"inherit",underline:"always",target:"_blank",rel:"noreferrer",children:"Terms and Conditions"})]})]}),Object(De.jsxs)(_e.a,{container:!0,item:!0,xs:12,justifyContent:"space-between",children:[Object(De.jsx)(Mt,{title:"Cancel",color:"secondary",disabled:h,onClick:n}),Object(De.jsx)(Mt,{type:"submit",color:"primary",title:"Pay Now",disabled:h||!v})]})]})})]})}var kd,Sd=Et()((function(e){return Nt()({cardFormGroup:{width:"100%",marginTop:e.spacing(1),marginBottom:e.spacing(2)},fieldset:{width:"100%",boxSizing:"border-box",paddingTop:e.spacing(1),marginLeft:0},label:{fontSize:16,fontWeight:"bold"},checkbox:{paddingLeft:8,paddingRight:8},amountContainer:{width:"100%",display:"flex",flexDirection:"column",alignItems:"flex-end",marginBottom:20,"& > div":{width:"50%",padding:"8px 12px 4px",borderBottom:"1px solid #000000",display:"flex",alignItems:"center",justifyContent:"space-between",color:"#555555",fontSize:18}},promoApplied:{borderRadius:12,border:"1px solid #000000",padding:"4px 8px",background:"#41e78b",fontSize:16}})})),Ed=function(e){var t=e.plan,n=e.onClose,a=e.onOK,i=function(e){var t=Be().fetchUser,n=Object(c.b)().enqueueSnackbar,a=Object(m.useState)(!1),i=Object(j.a)(a,2),r=i[0],o=i[1],s=function(){var a=Object(g.a)(Object(p.a)().mark((function a(i){var r,o,c;return Object(p.a)().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return r=i.token,o=i.promoCode,c=i.onClose,a.prev=1,a.next=4,Ae(e.name,r,o);case 4:return Xt(Kt.REGISTER_SUBSCRIPTION),a.next=7,t();case 7:n("Successfully registered a subscription.",{variant:"success"}),c(),a.next=15;break;case 11:throw a.prev=11,a.t0=a.catch(1),n(a.t0.message,{variant:"error"}),a.t0;case 15:case"end":return a.stop()}}),a,null,[[1,11]])})));return function(e){return a.apply(this,arguments)}}(),l=function(){var a=Object(g.a)(Object(p.a)().mark((function a(i){var r;return Object(p.a)().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return r=i.onClose,a.prev=1,o(!0),a.next=5,we(e.name);case 5:return Xt(Kt.UPDATE_SUBSCRIPTION),a.next=8,t();case 8:n("Successfully updated a subscription.",{variant:"success"}),r(),a.next=15;break;case 12:a.prev=12,a.t0=a.catch(1),n(a.t0.message,{variant:"error"});case 15:return a.prev=15,o(!1),a.finish(15);case 18:case"end":return a.stop()}}),a,null,[[1,12,15,18]])})));return function(e){return a.apply(this,arguments)}}(),d=function(){var e=Object(g.a)(Object(p.a)().mark((function e(a){var i;return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=a.onClose,e.prev=1,o(!0),e.next=5,Ie();case 5:return Xt(Kt.CANCEL_SUBSCRIPTION),e.next=8,t();case 8:n("Successfully cancelled a subscription.",{variant:"success"}),i(),e.next=15;break;case 12:e.prev=12,e.t0=e.catch(1),n(e.t0.message,{variant:"error"});case 15:return e.prev=15,o(!1),e.finish(15);case 18:case"end":return e.stop()}}),e,null,[[1,12,15,18]])})));return function(t){return e.apply(this,arguments)}}();return{updating:r,handleCancelCustomerSubscription:d,handleUpgradeCustomerSubscription:l,handleRegisterCustomerSubscription:s}}(t),r=i.handleRegisterCustomerSubscription,o=function(){var e=Object(g.a)(Object(p.a)().mark((function e(t,i){return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r({token:t,promoCode:i,onClose:n});case 2:a();case 3:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}();return Object(De.jsx)(xd,{isOpen:!0,onClose:n,title:"Billing Upgrade Dialog",width:800,maxWidth:"md",children:Object(De.jsxs)(_e.a,{container:!0,spacing:2,children:[Object(De.jsx)(_e.a,{item:!0,xs:12,children:Object(De.jsx)(gt.a,{variant:"h5",children:"Please enter your payment details:"})}),Object(De.jsx)(_e.a,{item:!0,xs:12,children:Object(De.jsx)(Id,{planCost:t.amount,onCancel:n,onPayNow:o})})]})})},Rd=Object(ot.a)((function(){return Object(ct.a)({container:{position:"fixed",left:0,right:0,top:0,bottom:0,background:"white",zIndex:1100,overflowY:"auto"}})})),Nd=function(){var e=Object(Ze.g)(),t=Ve().isMobile,n=Rd(),a=lt(),i=ut(),r=Object(m.useState)(null),o=Object(j.a)(r,2),c=o[0],s=o[1];return Object(De.jsxs)(_e.a,{container:!0,justifyContent:"center",className:Object(Xe.default)(n.container,t?a.padding1:a.padding10,i.lightGrayBackground),children:[null!==c&&Object(De.jsx)(Ed,{plan:c,onClose:function(){s(null)},onOK:function(){e.push(_t)}}),Object(De.jsxs)(_e.a,{item:!0,xs:8,children:[Object(De.jsx)(_e.a,{container:!0,className:a.mt1,children:Object(De.jsx)(_e.a,{item:!0,xs:12,md:10,children:Object(De.jsx)(gt.a,{variant:"h3",align:"left",children:"Please pick a monthly or annual plan:"})})}),Object(De.jsx)(_e.a,{container:!0,className:t?a.mb1:a.mt6,children:Object(De.jsx)(bd,{onClick:function(e){s(e)}})})]})]})},Dd=["title","titleId"];function Md(){return Md=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Bd(e,t){var n=e.title,a=e.titleId,i=Td(e,Dd);return m.createElement("svg",Md({width:17,height:16,viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":a},i),n?m.createElement("title",{id:a},n):null,kd||(kd=m.createElement("g",{id:"dashboard"},m.createElement("path",{id:"Vector",d:"M6.99996 5.83366V12.667M3.83329 5.50033H13.1666M4.99996 12.8337H12C12.7363 12.8337 13.3333 12.2367 13.3333 11.5003V4.50033C13.3333 3.76395 12.7363 3.16699 12 3.16699H4.99996C4.26358 3.16699 3.66663 3.76395 3.66663 4.50033V11.5003C3.66663 12.2367 4.26358 12.8337 4.99996 12.8337Z",stroke:"#9EC7F7",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}))))}var Ld=m.forwardRef(Bd),Fd=(n.p,C("/api-usage")),Pd=function(){var e=Object(g.a)(Object(p.a)().mark((function e(t){var n,a;return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Fd.get("/".concat(t,"/latest"));case 2:return n=e.sent,a=n.data,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();function zd(){return Object(De.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[Object(De.jsx)("path",{d:"M20 9H11C9.89543 9 9 9.89543 9 11V20C9 21.1046 9.89543 22 11 22H20C21.1046 22 22 21.1046 22 20V11C22 9.89543 21.1046 9 20 9Z",stroke:"#2B2727",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),Object(De.jsx)("path",{d:"M5 15H4C3.46957 15 2.96086 14.7893 2.58579 14.4142C2.21071 14.0391 2 13.5304 2 13V4C2 3.46957 2.21071 2.96086 2.58579 2.58579C2.96086 2.21071 3.46957 2 4 2H13C13.5304 2 14.0391 2.21071 14.4142 2.58579C14.7893 2.96086 15 3.46957 15 4V5",stroke:"#2B2727",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}function Gd(e){var t=e.value,n=Wd(),a=Object(c.b)().enqueueSnackbar;return Object(De.jsxs)(Je.a,{className:n.apiKey,children:[Object(De.jsx)(gt.a,{children:t}),Object(De.jsx)(yn.a,{className:n.iconButton,onClick:function(){var e=document.createElement("textarea");e.value=t,e.style.top="0",e.style.left="0",e.style.position="fixed",document.body.appendChild(e),e.focus(),e.select();try{document.execCommand("copy")?a("Copied.",{variant:"success"}):a("Copy was not successful.",{variant:"error"})}catch(n){a("Copy was not successful.",{variant:"error"})}},children:Object(De.jsx)(zd,{})})]})}var Wd=Et()((function(e){return Nt()({apiKey:{borderRadius:5,padding:e.spacing(2),background:"rgba(213, 213, 213, 0.5)",display:"flex",flexDirection:"row",justifyContent:"space-between"},iconButton:{padding:0}})})),Hd=Object(ot.a)((function(e){return Object(ct.a)({row:{borderRadius:e.spacing(1)}})})),Ud=function(e){var t=e.headers,n=e.data,a=Hd();return Object(De.jsxs)(Fo.a,{children:[Object(De.jsx)(po.a,{children:Object(De.jsx)(go.a,{className:a.row,children:t.map((function(e){return Object(De.jsx)(mo.a,{children:e.label},e.field)}))})}),Object(De.jsx)(fo.a,{children:n.map((function(e,n){return Object(De.jsx)(go.a,{className:a.row,children:t.map((function(t){return Object(De.jsx)(mo.a,{children:t.render?t.render(e):e[t.field]},t.field)}))},e.id||n)}))})]})},Vd=function(){var e=Be().user,t=function(e){var t=Object(l.useQuery)([k.GET_LAST_API_USAGE_PERIOD,e],Object(g.a)(Object(p.a)().mark((function t(){var n;return Object(p.a)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e){t.next=2;break}return t.abrupt("return",null);case 2:return t.next=4,Pd(e);case 4:return n=t.sent,t.abrupt("return",n);case 6:case"end":return t.stop()}}),t)}))),{refetchOnWindowFocus:!1}),n=t.status,a=t.data,i=t.error,r=t.refetch;return{status:n,loading:n===w.LOADING,apiUsage:a,error:i,refetch:r}}(null===e||void 0===e?void 0:e.organizationId),n=t.apiUsage;if(!e||!n)return null;var a=[{field:"apiKey",label:"API Key",render:function(){return Object(De.jsx)(Gd,{value:e.apiKey})}},{field:"expirationDate",label:"Expiration Date",render:function(){return e=n.to,Object(Lt.default)(new Date(e||new Date),"MMMM dd, yyyy");var e}},{field:"numberOfCallsLeft",label:"# of calls left",render:function(){return zt(n.remaining)}}],i=Object(b.a)(Object(b.a)({},e),n);return Object(De.jsx)(Ud,{headers:a,data:[i]})},Kd=Object(ot.a)((function(e){return Object(ct.a)({layout:{width:"100%",height:"100%",overflow:"auto"},container:{marginBottom:32},header:{marginBottom:e.spacing(2)},row:{marginTop:e.spacing(2),marginBottom:e.spacing(2)}})}));function Zd(){var e=Kd();return Object(De.jsx)(_e.a,{container:!0,item:!0,xs:12,justifyContent:"center",className:e.layout,children:Object(De.jsx)(_e.a,{container:!0,className:e.container,children:Object(De.jsx)(_e.a,{item:!0,xs:12,children:Object(De.jsx)(Vd,{})})})})}var Qd,Xd=Object(ot.a)((function(){return Object(ct.a)({filterAction:{width:34,height:34,display:"flex",alignItems:"center",justifyContent:"center",borderRadius:8,border:"1px solid #C3C3C7",cursor:"pointer","&:hover":{background:"#F2F2F2"}}})})),Yd=function(e){var t=e.hasContainer,n=void 0!==t&&t,a=e.handleDuplicate,i=e.handleRemove,r=Xd(),o=Object(m.useState)(null),c=Object(j.a)(o,2),s=c[0],l=c[1],d=Boolean(s),u=function(e){e.stopPropagation(),e.preventDefault(),l(e.currentTarget)},h=function(){l(null)};return Object(De.jsxs)("div",{style:{display:"flex",alignItems:"center"},children:[n?Object(De.jsx)("div",{className:r.filterAction,onClick:u,children:Object(De.jsx)(yn.a,{style:{padding:0,marginLeft:0,margin:"auto"},children:Object(De.jsx)(Sn.a,{htmlColor:"#757575",style:{fontSize:16}})})}):Object(De.jsx)(yn.a,{onClick:u,style:{padding:0,marginLeft:0,margin:"auto"},children:Object(De.jsx)(Sn.a,{htmlColor:"#757575",style:{fontSize:16}})}),Object(De.jsxs)(wn.a,{id:"folder-menu","aria-labelledby":"folder-button",anchorEl:s,open:d,onClose:h,onClick:h,anchorOrigin:{vertical:"top",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"},children:[Object(De.jsx)(In.a,{onClick:a,children:"Duplicate"}),Object(De.jsx)(In.a,{onClick:i,children:"Remove"})]})]})},Jd=Object(ot.a)((function(){return Object(ct.a)({baseBold:{fontSize:16,fontWeight:600,lineHeight:"24px",color:"#2D2D38"},smBold:{fontSize:14,fontWeight:600,lineHeight:"20px",color:"#2D2D38"},xsBold:{fontSize:12,fontWeight:600,lineHeight:"16px",color:"#2D2D38"},xsRegular:{fontSize:12,fontWeight:400,lineHeight:"16px",color:"#2D2D38"},xxsRegular:{fontSize:10,fontWeight:400,lineHeight:"12px",color:"#2D2D38"}})})),qd=Object(ot.a)((function(){return Object(ct.a)({container:{height:"100%",width:400,padding:24,background:"#fff",display:"flex",flexDirection:"column",gap:16},typeContainer:{padding:16,border:"1px solid #C3C3C7",borderRadius:8,cursor:"pointer"},typeHeader:{display:"flex",gap:8},exception:{borderRadius:8,background:"#DFECFC",padding:"2px 8px"}})})),_d=[{title:Oa.GARM,description:"Category description"},{title:Oa.Podcasts,description:"Description"}],$d=function(e){var t=e.selectedType,n=e.exceptions,a=e.onClick,i=qd(),r=Jd(),o=function(e){a&&a(e)};return Object(De.jsxs)("div",{className:i.container,children:[Object(De.jsx)(gt.a,{className:r.baseBold,children:"Filter Type"}),_d.map((function(e,a){return Object(De.jsxs)("div",{className:i.typeContainer,style:t===e.title?{borderColor:"#5EA1F2"}:{},onClick:function(){return o(e.title)},children:[Object(De.jsxs)("div",{className:i.typeHeader,children:[Object(De.jsx)(gt.a,{className:r.smBold,children:e.title}),Object(De.jsx)("div",{className:i.exception,children:Object(De.jsxs)(gt.a,{className:r.xsRegular,style:{color:"#5EA1F2"},children:[n[a]," Exceptions"]})})]}),Object(De.jsx)(gt.a,{className:r.xsRegular,style:{color:"#858591"},children:e.description})]},e.title)}))]})},eu=[{value:0},{value:1},{value:2},{value:3}],tu=Object(pt.a)(Qa.a)((function(e){var t=e.theme;return{padding:"".concat(t.spacing(2.5),"px 0"),width:"100%",marginBottom:0,"& .MuiSlider-track, & .MuiSlider-rail":{height:3},"& .MuiSlider-thumb":{height:10,marginTop:-4,width:10},"& .MuiSlider-markLabel":{fontSize:10,fontWeight:500,marginTop:t.spacing(.7),'&[data-index="0"]':{left:"5% !important"},'&[data-index="4"]':{left:"93% !important"}}}})),nu=Object(pt.a)(_e.a)((function(){return{height:"100%"}})),au=function(e){var t=e.axisLabels,n=e.onChange,a=e.value,i=t?eu.map((function(e){return Object(b.a)({value:null===e||void 0===e?void 0:e.value},t&&t[null===e||void 0===e?void 0:e.value]&&{label:t[null===e||void 0===e?void 0:e.value]})})):eu;return Object(De.jsx)(nu,{container:!0,direction:"column",alignItems:"center",justifyContent:"center",children:Object(De.jsx)(tu,{marks:i,onChange:n,valueLabelDisplay:"off",step:1,max:3,min:0,value:a})})},iu=function(e){var t=e.onChange,n=void 0===t?function(){}:t,a=e.value,i=void 0===a?[0,3]:a;return Object(De.jsx)(_e.a,{item:!0,xs:12,children:Object(De.jsx)(au,{axisLabels:{0:"No Risk",1:"Low",2:"Medium",3:"High"},icon:!0,onChange:n,value:i})})},ru=Object(ot.a)((function(){return Object(ct.a)({selection:{border:"1px solid #C3C3C7",borderRadius:5,padding:4,paddingLeft:8,fontSize:12,fontWeight:400,lineHeight:"16px",minWidth:80,"& .MuiSelect-root":{padding:0,paddingRight:24},"& .MuiSvgIcon-root":{marginTop:-2},"&:before, &:after":{border:"none !important"}}})})),ou=function(e){var t=e.riskLevel,n=e.setRiskLevel,a=e.className,i=ru(),r=Jd();return Object(De.jsx)(Ka.a,{labelId:"risk-level-select-label",id:"risk-level-select",value:t||"",onChange:function(e){n(e.target.value)},displayEmpty:!0,inputProps:{"aria-label":"Without label"},className:xr()(a,i.selection),children:Object.keys(Ca).map((function(e){return Object(De.jsx)(In.a,{value:e,className:r.xsRegular,style:{padding:"4px 8px"},children:"No"===e?"None":e},e)}))})},cu=Object(ot.a)((function(){return Object(ct.a)({selectionContainer:{width:280,padding:"4px 8px"},selectionOptions:{maxHeight:250,overflow:"auto","& .MuiFormControlLabel-root":{marginLeft:0},"&::-webkit-scrollbar":{width:6},"&::-webkit-scrollbar-track ":{background:"#f1f1f1"},"&::-webkit-scrollbar-thumb":{background:"#888",borderRadius:3},"&::-webkit-scrollbar-thumb:hover":{background:"#555"}},selectOption:{display:"flex",alignItems:"center",gap:4,"& > svg":{width:16,height:16,cursor:"pointer"}},searchContainer:{maxWidth:280,display:"flex",alignItems:"center",padding:4,border:"1px solid #C3C3C7",borderRadius:20,gap:4,transitionProperty:"all",transitionTimingFunction:"linear",transitionDuration:"250ms",marginBottom:8,marginRight:12,"& > svg":{width:16,height:16},"& > input":{height:16,border:"none",padding:0,margin:0,flex:1,outline:"none",fontSize:12}},category:{display:"flex",alignItems:"center","& svg":{fontSize:20,cursor:"pointer"}},categoryContent:{marginLeft:20,display:"flex",flexDirection:"column",gap:4,position:"relative","&::before":{content:'""',position:"absolute",left:-11,width:1,top:4,bottom:4,borderLeft:"1px dashed gray"}}})})),su=function(e){var t=e.selections,n=e.type,a=e.selected,i=e.selectedOthers,r=e.handleSave,o=cu(),c=Jd(),s=Object(m.useState)(""),l=Object(j.a)(s,2),d=l[0],u=l[1],h=Object(m.useState)(!0),b=Object(j.a)(h,2),p=b[0],g=b[1],f=Object(m.useState)(100),x=Object(j.a)(f,2),O=x[0],v=x[1];return Object(De.jsxs)("div",{className:o.selectionContainer,children:[Object(De.jsxs)(gt.a,{className:c.xxsRegular,style:{marginBottom:8},children:["Select ",n]}),Object(De.jsxs)("div",{className:o.searchContainer,children:[Object(De.jsx)(yt.a,{}),Object(De.jsx)("input",{placeholder:"Search ".concat(n,"..."),value:d,onChange:function(e){return u(e.target.value)}})]}),Object(De.jsx)("div",{className:o.selectionOptions,children:Object(De.jsx)(Hi.a,{pageStart:0,loadMore:function(){var e=t.filter((function(e){return!d||e&&e.toLowerCase().includes(d.toLowerCase())}));O>=e.length?g(!1):setTimeout((function(){v(O+100)}),500)},hasMore:p,loader:Object(De.jsx)("h4",{className:"loader",children:"Loading..."}),useWindow:!1,children:t.filter((function(e){return!d||e&&e.toLowerCase().includes(d.toLowerCase())})).slice(0,O).map((function(e){return Object(De.jsxs)("div",{className:o.selectOption,children:[Object(De.jsx)(Fi,{name:e,label:"",checked:a===e||i.includes(e),noPadding:!0,disabled:e!==a&&i.includes(e),onChange:function(){r(a===e?"":e)}}),Object(De.jsx)(gt.a,{className:c.xsRegular,children:e})]},e)}))})})]})},lu=function(e){var t=e.title,n=e.selections,a=e.selected,i=e.handleSave,r=cu(),o=Jd(),c=Object(m.useState)(""),s=Object(j.a)(c,2),l=s[0],d=s[1],u=Object(m.useState)(!0),h=Object(j.a)(u,2),b=h[0],p=h[1],g=Object(m.useState)(100),f=Object(j.a)(g,2),x=f[0],O=f[1];return Object(De.jsxs)("div",{className:r.selectionContainer,style:{width:"100%"},children:[Object(De.jsxs)(gt.a,{className:o.xxsRegular,style:{marginBottom:8},children:["Select ",t]}),Object(De.jsxs)("div",{className:r.searchContainer,children:[Object(De.jsx)(yt.a,{}),Object(De.jsx)("input",{placeholder:"Search ".concat(t,"..."),value:l,onChange:function(e){return d(e.target.value)}})]}),Object(De.jsx)("div",{className:r.selectionOptions,children:Object(De.jsx)(Hi.a,{pageStart:0,loadMore:function(){var e=n.filter((function(e){return!l||e&&e.toLowerCase().includes(l.toLowerCase())}));x>=e.length?p(!1):setTimeout((function(){O(x+100)}),500)},hasMore:b,loader:Object(De.jsx)("h4",{className:"loader",children:"Loading..."}),useWindow:!1,children:n.filter((function(e){return!l||e&&e.toLowerCase().includes(l.toLowerCase())})).slice(0,x).map((function(e){return Object(De.jsxs)("div",{className:r.selectOption,children:[Object(De.jsx)(Fi,{name:e,label:"",checked:a.includes(e),noPadding:!0,onChange:function(){!function(e){var t=Object(bt.a)(a),n=a.indexOf(e);n<0?i([].concat(Object(bt.a)(t),[e])):(t.splice(n,1),i(t))}(e)}}),Object(De.jsx)(gt.a,{className:o.xsRegular,children:e})]},e)}))})})]})},du=function(e){var t=e.selections,n=e.type,a=e.selected,i=e.selectedOthers,r=e.handleSave,o=cu(),c=Jd(),s=Object(m.useState)(""),l=Object(j.a)(s,2),d=l[0],u=l[1],h=Object(m.useState)(""),b=Object(j.a)(h,2),p=b[0],g=b[1];return Object(De.jsxs)("div",{className:o.selectionContainer,children:[Object(De.jsxs)(gt.a,{className:c.xxsRegular,style:{marginBottom:8},children:["Select ",n]}),Object(De.jsxs)("div",{className:o.searchContainer,children:[Object(De.jsx)(yt.a,{}),Object(De.jsx)("input",{placeholder:"Search ".concat(n,"..."),value:d,onChange:function(e){return u(e.target.value)}})]}),Object(De.jsx)("div",{className:o.selectionOptions,children:Object.keys(t).map((function(e){return Object(De.jsxs)("div",{children:[Object(De.jsxs)("div",{className:o.category,children:[p===e?Object(De.jsx)(Ot.a,{onClick:function(){g("")}}):Object(De.jsx)(Ti.a,{onClick:function(){g(e)}}),Object(De.jsx)(gt.a,{className:c.xsRegular,children:e})]}),p===e&&Object(De.jsx)("div",{className:o.categoryContent,children:t[e].filter((function(e){return!d||e&&e.toLowerCase().includes(d.toLowerCase())})).map((function(e){return Object(De.jsxs)("div",{className:o.selectOption,children:[Object(De.jsx)(Fi,{name:e,label:"",checked:a===e||i.includes(e),noPadding:!0,disabled:e!==a&&i.includes(e),onChange:function(){r(a===e?"":e)}}),Object(De.jsx)(gt.a,{className:c.xsRegular,children:e})]},e)}))})]},e)}))})]})},uu=n(24),hu=Object(ot.a)((function(){return Object(ct.a)({selectionContainer:{width:280,padding:"4px 8px"},selectionOptions:{maxHeight:250,overflow:"auto","& .MuiFormControlLabel-root":{marginLeft:0},"&::-webkit-scrollbar":{width:6},"&::-webkit-scrollbar-track ":{background:"#f1f1f1"},"&::-webkit-scrollbar-thumb":{background:"#888",borderRadius:3},"&::-webkit-scrollbar-thumb:hover":{background:"#555"}},selectOption:{display:"flex",alignItems:"center",gap:4,marginLeft:16,"& > svg":{width:16,height:16,cursor:"pointer"}},searchContainer:{maxWidth:280,display:"flex",alignItems:"center",padding:4,border:"1px solid #C3C3C7",borderRadius:20,gap:4,transitionProperty:"all",transitionTimingFunction:"linear",transitionDuration:"250ms",marginBottom:8,marginRight:12,"& > svg":{width:16,height:16},"& > input":{height:16,border:"none",padding:0,margin:0,flex:1,outline:"none",fontSize:12}},category:{display:"flex",alignItems:"center",gap:4,"& > svg":{fontSize:20,cursor:"pointer"}},categoryContent:{marginLeft:20,display:"flex",flexDirection:"column",gap:4,position:"relative","&::before":{content:'""',position:"absolute",left:-11,width:1,top:4,bottom:4,borderLeft:"1px dashed gray"}}})})),bu=function(e){var t=e.selections,n=e.type,a=e.selected,i=e.handleSave,r=hu(),o=Jd(),c=Object(m.useState)(""),s=Object(j.a)(c,2),l=s[0],d=s[1],u=Object(m.useState)(!0),h=Object(j.a)(u,2),b=h[0],p=h[1],g=Object(m.useState)(100),f=Object(j.a)(g,2),x=f[0],O=f[1];return Object(De.jsxs)("div",{className:r.selectionContainer,children:[Object(De.jsxs)(gt.a,{className:o.xxsRegular,style:{marginBottom:8},children:["Select ",n]}),Object(De.jsxs)("div",{className:r.searchContainer,children:[Object(De.jsx)(yt.a,{}),Object(De.jsx)("input",{placeholder:"Search ".concat(n,"..."),value:l,onChange:function(e){return d(e.target.value)}})]}),Object(De.jsx)("div",{className:r.selectionOptions,children:Object(De.jsx)(Hi.a,{pageStart:0,loadMore:function(){var e=t.filter((function(e){return!l||e&&e.toLowerCase().includes(l.toLowerCase())}));x>=e.length?p(!1):setTimeout((function(){O(x+100)}),500)},hasMore:b,loader:Object(De.jsx)("h4",{className:"loader",children:"Loading..."}),useWindow:!1,children:t.filter((function(e){return!l||e&&e.toLowerCase().includes(l.toLowerCase())})).slice(0,x).map((function(e){return Object(De.jsxs)("div",{className:r.selectOption,children:[Object(De.jsx)(Fi,{name:e,label:"",checked:a.includes(e),noPadding:!0,onChange:function(){i(a.includes(e)?a.filter((function(t){return t!==e})):[].concat(Object(bt.a)(a),[e]))}}),Object(De.jsx)(gt.a,{className:o.xsRegular,children:e})]},e)}))})})]})},pu=function(e){var t=e.selections,n=e.type,a=e.selected,i=e.handleSave,r=hu(),o=Jd(),c=Object(m.useState)(""),s=Object(j.a)(c,2),l=s[0],d=s[1],u=Object(m.useState)(""),h=Object(j.a)(u,2),b=h[0],p=h[1],g=Object(m.useState)([]),f=Object(j.a)(g,2),x=f[0],O=f[1];return Object(De.jsxs)("div",{className:r.selectionContainer,children:[Object(De.jsxs)(gt.a,{className:o.xxsRegular,style:{marginBottom:8},children:["Select ",n]}),Object(De.jsxs)("div",{className:r.searchContainer,children:[Object(De.jsx)(yt.a,{}),Object(De.jsx)("input",{placeholder:"Search ".concat(n,"..."),value:l,onChange:function(e){return d(e.target.value)}})]}),Object(De.jsx)("div",{className:r.selectionOptions,children:Object.keys(t).map((function(e){return Object(De.jsxs)("div",{children:[Object(De.jsxs)("div",{className:r.category,children:[b===e?Object(De.jsx)(Ot.a,{onClick:function(){p("")}}):Object(De.jsx)(Ti.a,{onClick:function(){p(e)}}),Object(De.jsx)(Fi,{name:e,label:"",checked:x.includes(e),noPadding:!0,onChange:function(){!function(e){var n=Object(bt.a)(x),r=n.indexOf(e);r>-1?(n.splice(r,1),i(a.filter((function(n){return!t[e].includes(n)})))):(n.push(e),i([].concat(Object(bt.a)(a),Object(bt.a)(t[e])))),O(n)}(e)}}),Object(De.jsx)(gt.a,{className:o.xsRegular,children:e})]}),b===e&&Object(De.jsx)("div",{className:r.categoryContent,children:t[e].filter((function(e){return!l||e&&e.toLowerCase().includes(l.toLowerCase())})).map((function(n){return Object(De.jsxs)("div",{className:r.selectOption,children:[Object(De.jsx)(Fi,{name:n,label:"",checked:a.includes(n),noPadding:!0,onChange:function(){return function(e,n){var r=Object(bt.a)(x),o=r.indexOf(e);if(a.includes(n))i(a.filter((function(e){return e!==n}))),o>-1&&r.splice(o,1);else{i([].concat(Object(bt.a)(a),[n]));var c,s=!0,l=Object(uu.a)(t[e]);try{for(l.s();!(c=l.n()).done;){var d=c.value;if(![].concat(Object(bt.a)(a),[n]).includes(d)){s=!1;break}}}catch(u){l.e(u)}finally{l.f()}s&&o<0&&r.push(e)}O(r)}(e,n)}}),Object(De.jsx)(gt.a,{className:o.xsRegular,children:n})]},n)}))})]},e)}))})]})},gu=["title","titleId"];function ju(){return ju=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function fu(e,t){var n=e.title,a=e.titleId,i=mu(e,gu);return m.createElement("svg",ju({width:12,height:12,viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":a},i),n?m.createElement("title",{id:a},n):null,Qd||(Qd=m.createElement("g",{id:"trash-2"},m.createElement("path",{id:"Vector",d:"M4.875 5.375V8.125M6.625 5.375V8.125M4.375 3.875V3.375C4.375 2.82272 4.82272 2.375 5.375 2.375H6.125C6.67728 2.375 7.125 2.82272 7.125 3.375V3.875M2.375 3.875H9.125M3.29558 8.71163L2.875 3.875H8.625L8.20442 8.71163C8.15949 9.22839 7.72689 9.625 7.20818 9.625H4.29182C3.77311 9.625 3.34051 9.22839 3.29558 8.71163Z",stroke:"#2D2D38",strokeLinecap:"round",strokeLinejoin:"round"}))))}var xu,Ou=m.forwardRef(fu),vu=(n.p,{garm8:{"Illegal Drugs":["Alprazolam","Amphetamine","Amphetamine Sulphate","Anabolic steroids","Angel dust","Ayahuasca","Banshee dust","Bath Salts","Benzo Fury","Benzodiazepines","Benzofuran compounds","Benzos","Benzylpiperazine","Butane","Butylone","BZP","Cannabis","Carfentanyl","Cathinones","Chamisul","Co-codamol","Cocaine","Codeine","Codis500","do Coke","doing coke","on coke","snort coke","snorting coke","snorting cocaine","snort cocaine","does coke","Crackhead","do crack","smoke crack","smokes crack","smoking crack","on crack","Crystal Meth","Desoxypipradrol","Devil's Weed","Devil's lettuce","Diamorphine","Diazepam","Dimethocaine","dirty sprite","DMT","Donkey Dust","drink Lean","Ecstasy","Ethylphenidate","Etizolam","Fenazepam","Fentanyl","Gabapentin","Ganja","Gbh","GHB","Hallucinogen","Hallucinogenic","handle of jameson","Happy Pills","smoke Hash","smoking hash","Hashish","smoke Herb","smoking herb","smoke trees","blow trees","smoke trees","Heroin","Hippie Crack","Image and performance enhancing drug","Image and performance enhancing drug IPEDs","Inhalants","IPEDs","Ket","Ketamine","special k","Laughing Gas","Liberty Caps","Liquid Ecstasy","LSD","Lyrica","M-Smack","Magic mushrooms","MDMA","Melanotan","Meph","Mephedrone","Mescaline","Meth","Methadone","Methamphetamine","Methoxetamine","Methoxetamine MXE","Methylnaphthidate","Methylone","Methylphenidate","pop a molly","take molly","do molly","on molly","doing molly","does molly","Monkey Dust","Morphine","Mthylone","Mushies","Naloxone","Naltrexone","Naphyrone","Narcotic","Neurontin","psychoactive substances","Nitrous oxide","non opioid","non-opioid","nonopioid","Nopaine","Noz","Nrg-1","Nrg1","Nurofen Plus","Nurofen Plus/Max","on lean","drinking lean","drink lean","Opiate","Opioid painkillers","Oskar Blues","Paper Mushrooms","Party Pills","PCP","Peace pills","Pep Love","Pep Stoned","Pep Twisted","perc 30","Percocet","performance enhancing drugs","perk 30","Peyote","Phenazepam","Phencyclidine","Physeptone","on Pills","Pink Ecstasy","Pink Superman","Poppers","smoke Pot","smokes pot","smoking pot","Pregabalin","Promethazine","Propylphenidate","Psychedelic","Psychedelics","Psychoactive Drug","Psychological Dependence","Psychopharmacology","Psychotropic Drug","Puff puff pass","Purple wave","kush","indica","sativa","Pyrovaleron","Pyrovalerone","Qaadka","Qat","Quat","Rhino ket","Ritalin","crack rocks","crack Rock","smoke rocks","smoking rocks","smoke rock","smoking rock","Rohypnol","Roids","Roll-ups","pre-roll","preroll","pre roll","Roofies","Salvia","Sensi","Shisha","Shrooms","Sildenafil","Sinsemilla","sip Lean","Sixpoint Resin","sizzurp","Smart drugs","smoke V eight stick","smoke V8 eight stick","Smokes","do blow","doing blow","Solvents","Special K","take Speed","taking speed","on speed","doing speed","steroids","Super K","Synthetic cannabinoids","Synthetic opioids","T-7","a Tab of","tabs of","Tai High Hawaiian Haze","Temazepam","Tramadol","Tramal","Tranquilizers","Tripstacy","Tryptamines","Uppers","Valium","Vallies","Viagra","Weed","Whippits","Xanax","xanny","xanny bar","Xtc","zanny","zanny bar","Quaaludes","Quaaludes","Cowies","Downers","Freebase","Indopan","Linctus","Yaba"],Alcohol:["a bottle of fireball","a bottle of Malibu","a cup of Malibu","a glass of fireball","A handle of","a handle of fireball","a handle of Malibu","Absolut","Alcohol","ale","Allagash White","Altbier","Amaretto Sour","Amber ale","Amber Moon","Amstel Light","Amsterdam Gold","An Old Fashioned","Aperol Spritz","Appletini","arak","arak","arrack","Bacardi","Baccy","baijiu","Bailey's","Baileys","Ballantine's","Ballast Point","barley wine","barleywine","Beck\u2019s","Beef eater","Beefeater","beer","Belgian White","Bell\u2019s Two Hearted Ale","Bellini","Berliner Weisse","Bevvy","Bhang","Bi\xe8re de Garde","bitters","Black Mamba","Black Russian","Blonde Ale","Blood & Sand","Bloody Mary","Blotter","Blue Moon","Bombay Blue Extreme","Bombay Sapphire","Booze","bottle of jack","bourbon","brandy","Breckenridge Brewery","Brooklyn Lager","Brown ale","Brugal","Bud Light","Bud Light Lime","Bud Platinum","Budweiser","Bulleit","Busch Light","Caipirinha","California Common","Campari","Captain Morgan","Casamigos","Cigar City Brewing","Ciroc","Clan Macgregor","cognac","Coors","Coors Banquet","Coors Light","Corona Extra","Corona Light","Corona Premier","Coronita","Courvoisier","Cream Ale","Daiquiri","Dogfish Head","Don Julio","Dos Equis Lager","Dry Dock Brewing","El Jimador","Elysian Brewing","Fat Tire","Fireball","Fireball whiskey","Fireball whisky","Firestone Walker","Flanders red ale","Fruit beer","Gentleman Jack","gin","Gin Fizz","glass of jameson","Glenfiddich","Glenlivet Founder's Reserve","Golden Road Brewing","Summer ale","Golden ale","Gordon\u2019s Gin","Gray Goose","Grey Goose","Guinness","Guinness Draught","Guinness Extra Stout","Harpoon IPA","Havana Club","Hefeweizen","Heineken","Helles","Hendrick's","Hennessy","Herb and spiced beer","Hornitos","India pale ale","IPA","Irish Car Bomb","Irish Coffee","Irish Cream","Irish whiskey","irish up","Jack and Coke","Jack Daniels","J\xe4gerbomb","Jagermeister","Jim Beam","Jim Beam Family","Johnnie Walker","Jose Cuervo","Jose Cuervo RTD","Kahlua","Ketel One","K\xf6lsch","Kona Big Wave Golden Ale","Lager","Lagunitas","LandShark Lager","Left Hand Milk Stout","ale","liquor","Little Sumpin\u2019 Sumpin\u2019 Ale","Long Island Iced Tea","macallan 12","macallan 18","macallan 25","macallan eighteen","macallan twelve","macallan twenty-five","Mai Tai","Maine Beer Co","Maine Beer Co.","Maine Beer Company","Maker\u2019s Mark","Malt liquor","Margarita","Marijuana","Martini","mead","mezcal","Michelada","Michelob ULTRA","Miller High Life","Miller Lite","Mimosa","Mint Julep","Modelo","Modelo Especial","Modelo Negra","Mojito","moonshine","Moscow Mule","Narragansett","natty light","Natural Ice","Natural Light","Negroni","New Amsterdam","New Belgium","New Holland Dragon\u2019s Milk Bourbon Barrel Stout","Octoberfest","Odell 90 Shilling Ale","Oktoberfestbier/M\xe4rzenbier","Old ale","Old Cuban","Pabst Blue Ribbon","Pacifico Clara","Pale ale","palm wine","PBR","Pilsener","Pilsner","Pilsner Urquell","Pina Colada","Pisco Punch","Pisco Sour","pop bottles","pop champagne","popping bottles","raki","Ram Bevvy","Ramos Gin Fizz","Red ale","Red Stripe","Remy Martin","Revolver Brewing","Roggenbier","rum","RumChata","Rye Beer","Saison","Sake Bomb","sambuca","Samuel Adams","Sauza","Sazerac","Sch\xf6fferhofer Grapefruit Hefeweizen\t","Schwarzbier","Scotch ale","Scotch and soda","Scotch whisky","Screwball","Sculpin","Sex on the Beach","Shiner Bock","shochu","Sidecar","Sloop Brewing","Smirnoff","soju","some jameson","Southern Comfort","Station 26 Juicy Banger IPA","Stella Artois","Stolichnaya","Stone Delicious IPA","Stone IPA","Svedka","Tanqueray","Tecate","Tennessee Honey","Tennessee Rye","tequila","The Glenlivet","Ti\u2019 Punch","beer","vermouth","Victory Brewing","Vienna lager","Vieux Carr\xe9","vodka","Vodka Martini","Voodoo Ranger","Weihenstaphaner","Weissbier","Weizenbock","Wheat Beer","whiskey","Whiskey Sour","whisky","White Russian","Wild beer","drink wild turkey","William Lawson's","wine","Witbier","Wood-aged beer","Wuliangye","Yuengling","Yuengling Light Lager","Chivas Regal","Clover Club","Corpse Reviver","Corpse Reviver #2","Cosmic Kelly","Crown Royal","Cuba Libre","D'Usse","Dewar's","Doppelbock","Dortmunder Export","Eisbock","Famous Grouse","French 75","Golden Monkey","Gose","Gueuze","Kaoliang","Lambic","Luzhou Laojiao","Maotai","McDowell\u2019s No.1","Peroni Nastro Azzurro"],"Tobacco/Vaping":["a Basic cigarette","a Cambridge cigarette","a Camel cigarette","a Capri cigarette","a carton of Ashford","a carton of Basic","a carton of Cambridge","a carton of Camel","a carton of Capri","a carton of Chesterfield","a carton of Crossroads","a carton of Dakota","a carton of Doral","a carton of Eclipse","a carton of Eve","a carton of Everest","a carton of Kent","a carton of Kool","a carton of L","a carton of Lark","a carton of Liggett","a carton of Lucky","a carton of Marlboro","a carton of Maverick","a carton of Max","a carton of Merit","a carton of Misty","a carton of More","a carton of Newport","a carton of Oasis","a carton of Parliament","a carton of Philip","a carton of Pyramid","a carton of Salem","a carton of Strand","a carton of Tareyton","a carton of Thang","a carton of TRUE","a carton of USA","a carton of Vantage","a carton of Viceroy","a carton of Virginia","a carton of Winston","a Chesterfield cigarette","a Crossroads cigarette","a Dakota cigarette","a Kent cigarette","a Kool cigarette","a L&M cigarette","a Lark cigarette","a Liggett Select cigarette","a Lucky Strike cigarette","a tab of lucy","a Marlboro cigarette","a Maverick cigarette","a Max cigarette","a Merit cigarette","a Misty cigarette","a More cigarette","a Newport cigarette","a pack of Ashford","a pack of Basic","a pack of Cambridge","a pack of Camel","a pack of Capri","a pack of Chesterfield","a pack of Crossroads","a pack of Dakota","a pack of Doral","a pack of Eclipse","a pack of Eve","a pack of Everest","a pack of Kent","a pack of Kool","a pack of L","a pack of Lark","a pack of Liggett","a pack of Lucky","a pack of Marlboro","a pack of Maverick","a pack of Max","a pack of Merit","a pack of Misty","a pack of More","a pack of Newport","a pack of Oasis","a pack of Parliament","a pack of Philip","a pack of Pyramid","a pack of Salem","a pack of Strand","a pack of Tareyton","a pack of Thang","a pack of TRUE","a pack of USA","a pack of Vantage","a pack of Viceroy","a pack of Virginia","a pack of Winston","a Parliament cigarette","a Philip Morris cigarette","a Pyramid cigarette","a Salem cigarette","a Strand cigarette","a Tareyton cigarette","a Thang Long cigarette","a TRUE cigarette","a USA cigarette","a USA Gold cigarette","a Vantage cigarette","a Viceroy cigarette","a Virginia Slims cigarette","a Winston cigarette","an Ashford cigarette","an Doral cigarette","an Eclipse cigarette","an Eve cigarette","an Everest cigarette","an Oasis cigarette","Ashford cigarettes","Basic cigarettes","box mod","Cambridge cigarettes","Camel cigarettes","Capri cigarettes","Chesterfield cigarettes","cigar","cigarette","cigarettes","cigars","Ciggies","cigs","Crossroads cigarettes","Dakota cigarettes","Doral cigarettes","E juice","e-juice","Eclipse cigarettes","Eve cigarettes","Everest cigarettes","geek vape","vape","Hookah","juul","Kent cigarettes","Kool cigarettes","L&M cigarettes","Lark cigarettes","Liggett Select cigarettes","Lucky Strike cigarettes","Marlboro cigarettes","Marlboro red","Marlboro reds","Maverick cigarettes","Max cigarettes","Merit cigarettes","Misty cigarettes","More cigarettes","Natural American Spirit","Newport cigarettes","nick stick","nicotine","Oasis cigarettes","Parliament cigarettes","Philip Morris cigarettes","Pyramid cigarettes","Salem cigarettes","Strand cigarettes","Tareyton cigarettes","Thang Long cigarettes","Tobacco","TRUE cigarettes","USA cigarettes","USA Gold cigarettes","Vantage cigarettes","vape","vaping","vaporesso","Viceroy cigarettes","Virginia Slims cigarettes","Winston cigarettes"],"Related to Illicit Substances":["chemical withdrawal","drinker","delirium tremens","drug Addict","drug Addiction","Drug Misuse","DUI","Dunkel","Dunkelweizen","DWI","Nootropics","off the loud","rehab","relapse prevention","wook","hangover","hungover"]},garm11:["Affordable Care Act","Alt-right","Antifa","Affirmative Action","America's global influence","Assisted suicide","Animal abuse","Abortion","Black Lives Matter","Border security","Bilingual education","Bias and discrimination","Coronavirus","Cybersecurity","Capital punishment","Censorship","Childhood obesity","Civil rights","Climate change","Criminal Justice","Cyber bullying","Child abuse","Child molestation","Church and state separation","DACA","Drug abuse","Drug legalization","Early voting","Equal Rights Amendment","Executive order","Extremism","Environmental health","Early pregnancy","Factory farming","Foreign aid","Fracking","Freedom of speech","Female genital mutilation","General Data Protection Regulation","Gerrymandering","Genetic engineering","Green New Deal","Government regulations","Gay Marriage","Same-Sex Marriage","Gender Identity","Gun control","Gun legislation","Green energy","Hate speech","Health care reform","Human trafficking","campaign Hacking","Health care access","Israel Palestine relations","Immigration","Islamophobia","Labor unions","LGBTQ Adoption Rights","Me Too movement","Misinformation","Minimum wage","Mental illness","Medicare","Medicaid","Net neutrality","Nuclear energy","Offshore drilling","Obamacare","Obesity","Police reform","Prescription drug addiction","Privacy and Surveillance","Policing police","Russian hacking","Racial profiling","Reparations","Racism","Religion Discrimination","Sanctuary city","Socialism","Stimulus packages","Supreme Court confirmation","Standardized testing","Same-sex marriage","Sexual harassment","Social security reform","Social commentary art","Trade tariffs","Transgender rights","Title IX","Vaccination","Voter fraud","Voting integrity","Voting laws","Violence in the media","White nationalism","Women rights","Water rights","Water supply policy","Water supply regulation","Women Empowerment","Welfare and welfare reform","Weapons of mass destruction","Xenophobia and nativism","Zero tolerance policies","No poverty","Poverty eradication","Child poverty","No hunger","Food Desert","Sustainable transportation","Quality Education","equal education","basic school infrastructure","School completion rate","Gender equality","Water and sanitation","Affordable energy","clean energy","Fossil fuel","Natural Gas","Decent work and economic growth","Green economy","Sustainable tourism","Sustainable cities and communities","Disaster risk reduction","Chemicals and waste","Sustainable consumption and production","Climate action","protect ocean and seas","protect Biodiversity and ecosystems","Protect forest","Protect mountains","Protect river","Protect lake","Water pollution","Air pollution","Desertification land degradation and drought","Migration due to climate crisis","first amendment","Supreme Court","Cancel Culture","disinformation","regulation of the platforms","regulating platforms","second amendment","Mask Mandates","vaccine","Religious Freedom","universal health insurance","Defund police","pro-life","pro-choice","Racial Justice","Older People Rights","Disability Rights","Women\u2019s and Girls\u2019 Health and Rights","Climate change policy and impacts","Criminal Legal System","Children in the Criminal and Juvenile Justice Systems","Sexual Orientation and Gender Identity","Animal abuse","Child abuse","Child molestation","Drug abuse","Drug legalization","Factory farming","Female genital mutilation","General Data Protection Regulation","Genetic engineering","Mental illness","Net neutrality","obesity","Prescription drug addiction","Privacy and Surveillance","Smart speakers","Social commentary art","Water and sanitation","Affordable energy","Russia Ukraine war","Ukraine Russia war"]}),Cu=Object(ot.a)((function(){return Object(ct.a)({container:{display:"flex",flexDirection:"column",gap:16,"& > div":{padding:16,background:"#FFF",borderRadius:8}},addBtn:{"& > .MuiButton-label":{fontSize:10,fontWeight:400,lineHeight:"16px",textTransform:"none","& > .MuiButton-startIcon":{marginRight:4}}},selectType:{marginTop:4,"& > .MuiButton-label":{fontSize:12,fontWeight:400,lineHeight:"12px",textTransform:"none","& > .MuiButton-startIcon":{marginRight:4}}},header:{display:"flex",alignItems:"center",justifyContent:"space-between",flexWrap:"wrap",gap:20,marginBottom:8},mainContent:{margin:"8px 0 8px 4px",padding:"8px 0 8px 16px",borderLeft:"1px solid #E1E1E3",display:"flex",flexDirection:"column",gap:16,"& > div":{borderRadius:8,background:"#F5F5F5",padding:8,display:"flex",flexDirection:"column",gap:4}},exceptionHeader:{display:"flex",alignItems:"center",gap:8,marginBottom:4},viewSelection:{width:150,border:"1px solid #C3C3C7",borderRadius:5,padding:4,paddingLeft:8,fontSize:12,fontWeight:400,lineHeight:"16px","& .MuiSelect-root":{padding:0,paddingRight:24},"& .MuiSvgIcon-root":{marginTop:-2},"&:before, &:after":{border:"none !important"}},exceptionContainer:{display:"flex",padding:"8px 16px",borderRadius:6,border:"2px solid #EEE",background:"#FFF",position:"relative","& .add":{position:"absolute",width:22,height:22,borderRadius:"100%",border:"1px solid #C3C3C7",background:"#FFF",right:45,top:10,display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer"},"& .remove":{position:"absolute",width:22,height:22,borderRadius:"100%",border:"1px solid #C3C3C7",background:"#FFF",padding:4,right:16,top:10,display:"flex",cursor:"pointer"}},arrowBtn:{fontSize:16,fontWeight:600,cursor:"pointer"},fullWidth:{width:"100%"}})})),Au=function(e){var t=e.filter,n=e.selections,a=e.selectionsWithCategory,i=e.disableGarmReasoning,r=void 0!==i&&i,o=e.updateFilter,c=Cu(),s=Jd(),l=Object(m.useState)(t.type),d=Object(j.a)(l,2),u=d[0],h=d[1],p=Object(m.useState)(-1),g=Object(j.a)(p,2),f=g[0],x=g[1],O=Object(m.useState)(!1),v=Object(j.a)(O,2),C=v[0],A=v[1],y=Object(m.useState)([]),w=Object(j.a)(y,2),I=w[0],k=w[1],S=Object(m.useState)(Ca.No),E=Object(j.a)(S,2),R=E[0],N=E[1],D=function(e,n,a){var i=Object(b.a)({},t);i.exceptions[a]={name:e,risk:n},o(i)},M=function(){var e=Object(b.a)({},t);e.exceptions=e.exceptions.filter((function(e){return e.name})),o(e)};return Object(De.jsxs)(De.Fragment,{children:[Object(De.jsxs)("div",{className:c.exceptionHeader,children:[Object(De.jsx)(gt.a,{className:s.xsRegular,children:"Exception Type"}),Object(De.jsx)(Ka.a,{labelId:"exception-type-select-label",id:"exception-type-select",value:u||"",onChange:function(e){if(!t.exceptions.length){var n=Object(b.a)({},t),a=e.target.value;n.type=a,h(e.target.value),o(n)}},displayEmpty:!0,inputProps:{"aria-label":"Without label"},className:c.viewSelection,readOnly:!!t.exceptions.length,children:Object.keys(va).map((function(e){return Object(De.jsx)(In.a,{value:va[e],className:s.xsRegular,style:{padding:"4px 8px"},disabled:r&&"GarmReasoning"===e,children:va[e]},e)}))})]}),Object(De.jsx)("div",{style:{overflow:"auto",maxHeight:470},children:!!t.exceptions.length&&t.exceptions.map((function(e,i){return Object(De.jsxs)("div",{className:c.exceptionContainer,children:[Object(De.jsxs)("div",{style:{display:"flex",marginTop:4},children:[i===f?Object(De.jsx)(Ct.a,{className:c.arrowBtn,onClick:function(){M(),A(!1),x(-1)}}):Object(De.jsx)(Ot.a,{className:c.arrowBtn,onClick:function(){M(),A(!1),x(i)}}),Object(De.jsx)(gt.a,{className:s.xsRegular,style:{width:16,color:"#616161"},children:i+1})]}),i===f?Object(De.jsxs)("div",{style:{display:"flex",gap:24,width:"100%"},children:[n&&Object(De.jsx)(su,{selections:n,selected:e.name,selectedOthers:t.exceptions.map((function(e){return e.name})),type:t.type,handleSave:function(t){return D(t,e.risk,i)}}),a&&Object(De.jsx)(du,{selections:a,selected:e.name,type:t.type,selectedOthers:t.exceptions.map((function(e){return e.name})),handleSave:function(t){return D(t,e.risk,i)}}),Object(De.jsxs)("div",{style:{flex:1,maxWidth:450,paddingTop:4,paddingRight:32},children:[Object(De.jsx)(gt.a,{className:s.xxsRegular,style:{marginBottom:8},children:"Max Risk Level"}),Object(De.jsx)(ou,{riskLevel:e.risk,setRiskLevel:function(t){return D(e.name,t,i)},className:c.fullWidth})]})]}):Object(De.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:20},children:[Object(De.jsx)(gt.a,{className:s.xsBold,style:{marginLeft:8,minWidth:140},children:e.name||"Please select ".concat(t.type.toLowerCase())}),Object(De.jsx)(ou,{riskLevel:e.risk,setRiskLevel:function(t){return D(e.name,t,i)}})]}),Object(De.jsx)("div",{className:"remove",onClick:function(){return function(e){var n=Object(b.a)({},t);n.exceptions.splice(e,1),o(n),x(-1)}(i)},children:Object(De.jsx)(Ou,{})})]},i)}))}),C&&Object(De.jsxs)("div",{className:c.exceptionContainer,children:[Object(De.jsxs)("div",{style:{display:"flex",marginTop:4},children:[Object(De.jsx)(Ct.a,{className:c.arrowBtn,onClick:function(){A(!1)}}),Object(De.jsx)(gt.a,{className:s.xsRegular,style:{width:16,color:"#616161"},children:t.exceptions.length+1})]}),Object(De.jsxs)("div",{style:{display:"flex",gap:24,width:"100%"},children:[n&&Object(De.jsx)(bu,{selections:n,selected:I,type:t.type,handleSave:k}),a&&Object(De.jsx)(pu,{selections:a,selected:I,type:t.type,handleSave:k}),Object(De.jsxs)("div",{style:{flex:1,maxWidth:450,paddingTop:4,paddingRight:32},children:[Object(De.jsx)(gt.a,{className:s.xxsRegular,style:{marginBottom:8},children:"Max Risk Level"}),Object(De.jsx)(ou,{riskLevel:R,setRiskLevel:function(e){return N(e)},className:c.fullWidth})]})]}),Object(De.jsx)("div",{className:"add",onClick:function(){!function(){var e=Object(b.a)({},t),n=I.map((function(e){return{name:e,risk:R}})),a=Object(bt.a)(e.exceptions).filter((function(e){return!I.includes(e.name)}));e.exceptions=[].concat(Object(bt.a)(a),Object(bt.a)(n)),o(e),A(!1)}()},children:Object(De.jsx)(Zn.a,{style:{fontSize:15}})}),Object(De.jsx)("div",{className:"remove",onClick:function(){return A(!1)},children:Object(De.jsx)(Ou,{})})]}),Object(De.jsx)("div",{children:Object(De.jsxs)(kt.a,{color:"primary",disableElevation:!0,startIcon:Object(De.jsx)(Zn.a,{style:{fontSize:10}}),variant:"text",size:"small",onClick:function(){C||(M(),k([]),N(Ca.No),A(!0),x(-1))},className:c.selectType,children:["Select ",t.exceptions.length?"another":"new"," ",t.type.toLowerCase()]})})]})},yu=function(e){var t=e.filters,n=e.setFilters,a=Cu(),i=Jd(),r=xa().genres;return Object(De.jsx)("div",{className:a.container,children:oa[0].entries.map((function(e){var o=e.title,c=e.jsonKeyRisk;return Object(De.jsxs)("div",{children:[Object(De.jsxs)("div",{className:a.header,children:[Object(De.jsx)(gt.a,{className:i.smBold,children:o}),Object(De.jsx)("div",{style:{minWidth:420,width:420,marginRight:20},children:Object(De.jsx)(iu,{onChange:function(e,a){return function(e,a){var i=Object(b.a)({},t);i[e].score=a,n(i)}(o,a)},value:t[o].score})})]}),t[o].content&&!!t[o].content.length&&Object(De.jsx)("div",{className:a.mainContent,children:t[o].content.map((function(e,a){return Object(De.jsx)("div",{children:Object(De.jsx)(Au,{filter:e,selections:e.type===va.GarmReasoning&&"GARM 8 Risk"===c?null:e.type===va.GarmReasoning&&"GARM 11 Risk"===c?vu.garm11:r,selectionsWithCategory:e.type===va.GarmReasoning&&"GARM 8 Risk"===c?vu.garm8:null,disableGarmReasoning:"GARM 8 Risk"!==c&&"GARM 11 Risk"!==c,updateFilter:function(e){return function(e,a,i){var r=Object(b.a)({},t);r[e].content[a]=i,n(r)}(o,a,e)}})},a)}))}),Object(De.jsx)(kt.a,{color:"primary",disableElevation:!0,startIcon:Object(De.jsx)(Zn.a,{style:{fontSize:12}}),variant:"text",size:"small",onClick:function(){return function(e){var a=Object(b.a)({},t),i=a[e];a[e]=i?{score:i.score,content:[].concat(Object(bt.a)(i.content),[{type:va.Genre,exceptions:[]}])}:{score:[0,3],content:[{type:va.Genre,exceptions:[]}]},n(a)}(o)},className:a.addBtn,disabled:"GARM 8 Risk"!==c&&"GARM 11 Risk"!==c?1===t[o].content.length:2===t[o].content.length,children:"Add Exception"})]},o)}))})},wu=Object(ot.a)((function(){return Object(ct.a)({container:{display:"flex",flexDirection:"column",gap:16,"& > div":{padding:16,background:"#FFF",borderRadius:8}},mainContent:{margin:"8px 0 8px 4px",padding:"8px 0 8px 16px",borderLeft:"1px solid #E1E1E3",display:"flex",flexDirection:"column",gap:16,"& > div":{borderRadius:8,background:"#F5F5F5",padding:8,display:"flex",flexDirection:"column",gap:4}},exceptionHeader:{display:"flex",alignItems:"center",gap:8,marginBottom:4},exceptionContainer:{display:"flex",padding:"8px 16px",minHeight:36,borderRadius:6,border:"2px solid #EEE",background:"#FFF",position:"relative","& .remove":{position:"absolute",width:22,height:22,borderRadius:"100%",border:"1px solid #C3C3C7",background:"#FFF",padding:4,right:16,top:"50%",transform:"translate(0 , -50%)",display:"flex",cursor:"pointer"}}})})),Iu=function(e){var t=e.filter,n=e.selections,a=e.updateFilter,i=wu(),r=Jd();return Object(De.jsxs)(De.Fragment,{children:[Object(De.jsx)("div",{className:i.exceptionHeader,children:Object(De.jsxs)(gt.a,{className:r.xsRegular,children:[t.type," Exception"]})}),!!t.exceptions.length&&t.exceptions.map((function(e,n){return Object(De.jsxs)("div",{className:i.exceptionContainer,children:[Object(De.jsx)(gt.a,{className:r.xsRegular,style:{width:16,color:"#616161"},children:n+1}),Object(De.jsx)("div",{style:{display:"flex",alignItems:"center",gap:20},children:Object(De.jsx)(gt.a,{className:r.xsBold,style:{marginLeft:8,minWidth:140},children:e})}),Object(De.jsx)("div",{className:"remove",onClick:function(){return function(e){var n=Object(b.a)({},t);n.exceptions.splice(e,1),a(n)}(n)},children:Object(De.jsx)(Ou,{})})]},n)})),Object(De.jsx)("div",{className:i.exceptionContainer,children:Object(De.jsx)(lu,{selections:n,selected:t.exceptions,title:"podcasts",handleSave:function(e){var n=Object(b.a)({},t);n.exceptions=e,a(n)}})})]})},ku=function(e){var t=e.filters,n=e.setFilters,a=wu(),i=Jd(),r=xa().garmSources;return Object(De.jsx)("div",{className:a.container,children:Object(De.jsxs)("div",{children:[Object(De.jsx)(gt.a,{className:i.smBold,children:"Podcasts"}),Object(De.jsx)("div",{className:a.mainContent,children:t.map((function(e,a){return Object(De.jsx)("div",{children:Object(De.jsx)(Iu,{filter:e,selections:r,updateFilter:function(e){return function(e,a){var i=Object(bt.a)(t);i[e]=a,n(i)}(a,e)}})},e.type)}))})]})})},Su=["title","titleId"];function Eu(){return Eu=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Nu(e,t){var n=e.title,a=e.titleId,i=Ru(e,Su);return m.createElement("svg",Eu({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":a},i),n?m.createElement("title",{id:a},n):null,xu||(xu=m.createElement("g",{id:"arrow-left"},m.createElement("path",{id:"Vector",d:"M10.25 6.75L4.75 12L10.25 17.25M19.25 12H5",stroke:"#141414",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}))))}var Du,Mu=m.forwardRef(Nu),Tu=(n.p,["title","titleId"]);function Bu(){return Bu=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Fu(e,t){var n=e.title,a=e.titleId,i=Lu(e,Tu);return m.createElement("svg",Bu({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":a},i),n?m.createElement("title",{id:a},n):null,Du||(Du=m.createElement("g",{id:"edit"},m.createElement("path",{id:"Vector",d:"M4.75 19.2498L9 18.2498L18.2929 8.95695C18.6834 8.56643 18.6834 7.93327 18.2929 7.54274L16.4571 5.70696C16.0666 5.31643 15.4334 5.31643 15.0429 5.70696L5.75 14.9998L4.75 19.2498Z",stroke:"#141414",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),m.createElement("path",{id:"Vector_2",d:"M19.25 19.25H13.75",stroke:"#141414",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}))))}var Pu=m.forwardRef(Fu),zu=(n.p,Object(ot.a)((function(){return Object(ct.a)({container:{height:"100%",background:"#fff",display:"flex",flexDirection:"column"},header:{display:"flex",flexDirection:"column",padding:"24px 16px",gap:16,borderBottom:"1px solid #E1E1E3"},title:{fontSize:20,fontWeight:600,lineHeight:"32px"},description:{padding:"2px 8px",borderRadius:4,border:"1px solid #C3C3C7",width:545,"& .MuiInputBase-root:before, & .MuiInputBase-root:after":{border:"none !important"}},button:{borderRadius:8,fontSize:14,fontWeight:400,lineHeight:"20px",padding:"0 16px",height:36,textTransform:"capitalize"},usedDashboard:{display:"flex",alignItems:"center",gap:2},content:{display:"flex",flex:1},filterTypeContent:{flex:1,padding:24,overflow:"auto",background:"#F0F0F1"}})}))),Gu=[{type:Aa.Include,exceptions:[]},{type:Aa.Exclude,exceptions:[]}],Wu={"Adult & Explicit Sexual Content":{score:[0,3],content:[]},"Obscenity and Profanity":{score:[0,3],content:[]},"Debated Sensitive Social issues":{score:[0,3],content:[]},"Illegal drugs, Tobacco and Alcohol":{score:[0,3],content:[]},"Arms & Ammunition":{score:[0,3],content:[]},"Online Piracy or Spam":{score:[0,3],content:[]},Terrorism:{score:[0,3],content:[]},"Death, Injury or Military Conflict":{score:[0,3],content:[]},"Crime & Human Rights Violations":{score:[0,3],content:[]},"Hate Speech (BETA)":{score:[0,3],content:[]}},Hu=function(e){var t=e.filter,n=e.handleDuplicate,a=e.handleBack,i=zu(),r=Object(m.useState)(!1),o=Object(j.a)(r,2),c=o[0],s=o[1],l=Object(m.useState)(t.name),d=Object(j.a)(l,2),u=d[0],h=d[1],b=Object(m.useState)(t.description),p=Object(j.a)(b,2),g=p[0],f=p[1],x=Object(m.useState)(!1),O=Object(j.a)(x,2),v=O[0],C=O[1],A=Object(m.useState)(Oa.GARM),y=Object(j.a)(A,2),w=y[0],I=y[1],k=Object(m.useState)(t.data.podcastFilters||Gu),S=Object(j.a)(k,2),E=S[0],R=S[1],N=Object(m.useState)(t.data.scoreFilters||Wu),D=Object(j.a)(N,2),M=D[0],T=D[1],B=Be().organization,L=Object(m.useMemo)((function(){return B?qt(B):[]}),[B]);return Object(De.jsxs)(_e.a,{className:i.container,children:[Object(De.jsxs)("div",{className:i.header,children:[Object(De.jsxs)(_e.a,{container:!0,direction:"row",justifyContent:"space-between",children:[Object(De.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:16},children:[Object(De.jsx)(Mu,{cursor:"pointer",onClick:a}),c?Object(De.jsx)(Dn,{value:u,onChange:function(e){h(e)},onEnter:function(){return s(!1)},className:i.title}):Object(De.jsx)(gt.a,{variant:"h5",className:i.title,children:u}),Object(De.jsx)(Pu,{cursor:"pointer",onClick:function(){return s(!c)}}),Object(De.jsx)(Mt,{color:"primary",variant:"text",title:v?"Show Details":"Hide Details",style:{fontWeight:400,fontSize:14,padding:0,height:26},onClick:function(){return C(!v)}})]}),Object(De.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:8},children:[Object(De.jsx)(Mt,{className:i.button,color:"primary",disableElevation:!0,variant:"outlined",style:{color:"#2D2D38",borderColor:"#C3C3C7"},onClick:a,children:"Cancel"}),Object(De.jsx)(Mt,{className:i.button,color:"primary",disableElevation:!0,variant:"contained",onClick:function(){t.id?ha(t.id,{name:u,description:g,data:{podcastFilters:E,scoreFilters:M}}).then((function(){a()})):ua({name:u,description:g,data:{podcastFilters:E,scoreFilters:M}}).then((function(){a()}))},children:"Save"}),Object(De.jsx)(Yd,{hasContainer:!0,handleDuplicate:function(){h("Copy of "+t.name),f(t.description),C(!1),s(!1),I(Oa.GARM),n()},handleRemove:function(){t.id?ba(t.id).then((function(){a()})):a()}})]})]}),v?null:Object(De.jsxs)(_e.a,{container:!0,direction:"column",style:{gap:8,paddingLeft:40},children:[Object(De.jsxs)("div",{children:[Object(De.jsx)(gt.a,{variant:"body1",style:{fontSize:12},children:"Used in"}),Object(De.jsx)(_e.a,{container:!0,direction:"row",style:{gap:16},children:t.dashboardIds.map((function(e){var t;return Object(De.jsxs)("div",{className:i.usedDashboard,children:[Object(De.jsx)(Ld,{}),Object(De.jsx)(gt.a,{variant:"caption",align:"left",style:{fontSize:14,lineHeight:"20px",color:"#5EA1F2"},children:null===(t=L.filter((function(t){return t.id===e}))[0])||void 0===t?void 0:t.name})]},e)}))})]}),Object(De.jsxs)("div",{children:[Object(De.jsx)(gt.a,{variant:"body1",style:{fontSize:12},children:"Description"}),Object(De.jsx)(Dn,{value:g,onChange:function(e){f(e)},className:i.description})]})]})]}),Object(De.jsxs)("div",{className:i.content,children:[Object(De.jsx)($d,{selectedType:w,exceptions:[3,1],onClick:I}),Object(De.jsx)("div",{className:i.filterTypeContent,children:w===Oa.Podcasts?Object(De.jsx)(ku,{filters:E,setFilters:R}):Object(De.jsx)(yu,{filters:M,setFilters:T})})]})]})},Uu=Object(ot.a)((function(){return Object(ct.a)({container:{height:"100%",padding:24,paddingBottom:0,gap:16,background:"#fff",flexWrap:"nowrap"},title:{fontWeight:600,fontSize:20,lineHeight:"32px"},createNew:{borderRadius:8,fontSize:14,fontWeight:400,lineHeight:"20px",padding:"8px 16px",textTransform:"capitalize"},searchBar:{width:320,border:"1px solid #C3C3C7",padding:"2px 8px",borderRadius:36,"& .MuiInputBase-root:before, & .MuiInputBase-root:after":{border:"none !important"}},viewSelection:{width:135,height:36,border:"1px solid #C3C3C7",borderRadius:8,padding:"0 16px",fontSize:14,fontWeight:400,lineHeight:"20px",marginLeft:8,"& .MuiSvgIcon-root":{marginTop:-2},"&:before, &:after":{border:"none !important"},"& .MuiSelect-selectMenu":{padding:0,paddingRight:0}},usedDashboard:{display:"flex",alignItems:"center",gap:2}})})),Vu=function(){var e=Uu(),t=Object(Ze.g)(),n=new URLSearchParams(window.location.search).get("create"),a=Ai(),i=Object(m.useState)(""),r=Object(j.a)(i,2),o=r[0],c=r[1],s=Object(m.useState)("Most Recent"),l=Object(j.a)(s,2),d=l[0],u=l[1],h=Object(m.useState)(!1),f=Object(j.a)(h,2),x=f[0],O=f[1],v=Object(m.useState)([]),C=Object(j.a)(v,2),A=C[0],y=C[1],w=Object(m.useState)(null),I=Object(j.a)(w,2),k=I[0],S=I[1],E=Be(),R=E.user,N=E.organization,D="view"===(null===R||void 0===R?void 0:R.role),M=Object(m.useMemo)((function(){return N?qt(N):[]}),[N]),T=function(){S({id:"",name:"New Saved Custom Filter",description:"",data:{},dashboardIds:[]})},B=Object(m.useCallback)(Object(g.a)(Object(p.a)().mark((function e(){var t;return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return O(!0),e.prev=1,e.next=4,da();case 4:t=e.sent,y(t);case 6:return e.prev=6,O(!1),e.finish(6);case 9:case"end":return e.stop()}}),e,null,[[1,,6,9]])}))),[]),L=function(e){S(Object(b.a)(Object(b.a)({},e),{},{id:"",dashboardIds:[],name:"Copy of "+e.name}))};return Object(m.useEffect)((function(){B()}),[B]),Object(m.useEffect)((function(){"true"===n&&T()}),[n]),k?Object(De.jsx)(Hu,{filter:k,handleDuplicate:function(){return L(k)},handleBack:function(){S(null),B(),"true"===n&&t.push("/settings")}}):D?Object(De.jsx)(_e.a,{container:!0,direction:"column",className:e.container,children:Object(De.jsx)(_e.a,{container:!0,children:Object(De.jsx)(Zd,{})})}):Object(De.jsxs)(_e.a,{container:!0,direction:"column",className:e.container,children:[Object(De.jsx)(_e.a,{container:!0,children:Object(De.jsx)(Zd,{})}),Object(De.jsxs)(_e.a,{container:!0,direction:"row",justifyContent:"space-between",alignItems:"center",children:[Object(De.jsx)(gt.a,{children:"Brand Standard Filters"}),Object(De.jsx)(kt.a,{className:e.createNew,color:"primary",disableElevation:!0,variant:"contained",onClick:T,children:"Create New"})]}),Object(De.jsxs)(_e.a,{container:!0,direction:"row",justifyContent:"space-between",alignItems:"center",children:[Object(De.jsx)(jt.a,{InputLabelProps:{shrink:!0,style:{fontWeight:"normal"}},InputProps:{placeholder:"Search brand standard filters...",startAdornment:Object(De.jsx)(mt.a,{position:"start",children:Object(De.jsx)(yt.a,{htmlColor:"#858591",style:{fontSize:20}})})},value:o,onChange:function(e){return c(e.target.value)},className:e.searchBar}),Object(De.jsx)(_e.a,{item:!0,children:Object(De.jsxs)(_e.a,{container:!0,direction:"row",alignItems:"center",children:[Object(De.jsx)(gt.a,{children:"Sort:"}),Object(De.jsx)(Ka.a,{labelId:"filter-sort-select-label",id:"filter-sort-select",value:d||"",onChange:function(e){return u(e.target.value)},displayEmpty:!0,inputProps:{"aria-label":"Without label"},className:e.viewSelection,children:["Most Recent"].map((function(e){return Object(De.jsx)(In.a,{value:e,className:a.textXSRegular,style:{padding:"4px 8px"},children:e},e)}))})]})})]}),Object(De.jsx)(_e.a,{container:!0,style:{flex:1},children:Object(De.jsx)(bo.a,{component:Da.a,style:{overflowX:"scroll",boxShadow:"0px 0px 0px 1px #E0E0E0",borderRadius:"4px 4px 0 0",flex:1,flexGrow:1},children:Object(De.jsxs)(hc,{stickyHeader:!0,style:{borderRadius:4,height:"100%",borderCollapse:"collapse"},children:[Object(De.jsx)(po.a,{style:{position:"sticky",top:-1,zIndex:2},children:Object(De.jsxs)(go.a,{children:[["Filter Name","Description","Used On"].map((function(e){return Object(De.jsx)(uc,{style:{padding:"4px 10px",borderRadius:0,border:"1px solid #F0F0F1",borderBottom:"none",background:"#F8F8F8"},children:Object(De.jsx)("span",{children:e})},e)})),Object(De.jsx)(uc,{align:"center",style:{padding:"4px 10px",borderRadius:0,border:"1px solid #F0F0F1",borderBottom:"none",background:"#F8F8F8"},children:Object(De.jsx)(ws,{style:{marginTop:8}})})]})}),x?Object(De.jsx)(go.a,{style:{height:"100%",border:"none"},children:Object(De.jsx)(mo.a,{colSpan:4,children:Object(De.jsx)(ui,{})})}):Object(De.jsxs)(fo.a,{children:[A.filter((function(e){return e.name.toLowerCase().includes(o.toLowerCase())})).map((function(t){return Object(De.jsxs)(go.a,{style:{minHeight:"48px",borderColor:"#E1E1E1"},children:[Object(De.jsx)(mo.a,{children:Object(De.jsx)(gt.a,{variant:"caption",align:"left",style:{fontSize:14,lineHeight:"20px",color:"#5EA1F2",cursor:"pointer"},onClick:function(){return S(t)},children:t.name})}),Object(De.jsx)(mo.a,{children:Object(De.jsx)(gt.a,{variant:"caption",align:"left",style:{fontSize:14,lineHeight:"20px",color:"#2D2D38"},children:t.description})}),Object(De.jsx)(mo.a,{style:{display:"flex",alignItems:"center",flexWrap:"wrap",gap:8,height:"100%"},children:t.dashboardIds.map((function(t){var n;return Object(De.jsxs)("div",{className:e.usedDashboard,children:[Object(De.jsx)(Ld,{}),Object(De.jsx)(gt.a,{variant:"caption",align:"left",style:{fontSize:14,lineHeight:"20px",color:"#5EA1F2"},children:null===(n=M.filter((function(e){return e.id===t}))[0])||void 0===n?void 0:n.name})]},t)}))}),Object(De.jsx)(mo.a,{children:Object(De.jsx)(Yd,{handleDuplicate:function(){return L(t)},handleRemove:function(){return e=t.id,void ba(e).then((function(){var t=Object(bt.a)(A);y(t.filter((function(t){return t.id!==e})))}));var e}})})]},t.id)})),Object(De.jsx)(go.a,{style:{height:"100%",border:"none"},children:Object(De.jsx)(mo.a,{})})]})]})})})]})},Ku=n(57),Zu=C("/report"),Qu=function(){var e=Object(g.a)(Object(p.a)().mark((function e(){var t,n;return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Zu.get("/all");case 2:return t=e.sent,n=t.data,e.abrupt("return",n);case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),Xu=function(){var e=Object(g.a)(Object(p.a)().mark((function e(t){var n,a;return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Zu.post("",t);case 2:return n=e.sent,a=n.data,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Yu=function(){var e=Object(g.a)(Object(p.a)().mark((function e(t){var n,a;return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Zu.delete("/".concat(t));case 2:return n=e.sent,a=n.data,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Ju=n(398),qu=n.n(Ju),_u=Object(ot.a)((function(){return Object(ct.a)({container:{padding:10,maxWidth:220,display:"flex",flexDirection:"column",alignItems:"center",gap:12,marginBottom:4,"&.disabled":{opacity:.4,cursor:"not-allowed"}},step:{background:"#3E91DE",borderRadius:"100%",width:24,height:24,display:"flex",alignItems:"center",justifyContent:"center","&.completed":{background:"#4CAF50"}}})})),$u=Object(pt.a)(kt.a)((function(){return{borderRadius:24,boxShadow:"0px 0px 0px 1px #E0E0E0",fontSize:14,fontWeight:500,marginTop:8}}));function eh(e){var t=e.step,n=e.title,a=e.description,i=e.completed,r=e.disabled,o=e.selectingDashboard,c=void 0!==o&&o,s=e.selectDashboard,l=e.removeDashboard,d=e.generateReport,u=_u();return Object(De.jsxs)("div",{className:Object(Xe.default)(u.container,{disabled:r}),children:[Object(De.jsx)("div",{className:Object(Xe.default)(u.step,{completed:i}),children:i?Object(De.jsx)(dd.a,{fontSize:"small",style:{color:"#fff"}}):Object(De.jsx)(gt.a,{variant:"body2",style:{color:"#fff"},children:t})}),Object(De.jsx)(gt.a,{variant:"body1",children:n}),Object(De.jsx)(gt.a,{variant:"body2",align:"center",style:{opacity:.6},children:a}),1===t&&Object(De.jsx)($u,{color:i?"secondary":"primary",disableElevation:!0,startIcon:c?Object(De.jsx)(Ke.a,{size:16,style:{marginRight:8},color:"secondary"}):i?Object(De.jsx)(qu.a,{}):Object(De.jsx)(Zn.a,{}),variant:"contained",size:"small",onClick:function(){c||(i?l&&l():s&&s())},children:i?"Remove Dashboard":"Select Dashboard"}),2===t&&Object(De.jsx)($u,{color:"primary",disabled:r,disableElevation:!0,startIcon:Object(De.jsx)(Zn.a,{}),variant:"contained",size:"small",onClick:function(){d&&d()},children:"Generate Report"})]})}var th=n(399),nh={plugins:{title:{display:!1},tooltip:{callbacks:{title:function(e){return e[0].label.replaceAll(","," ")}}}},responsive:!0,scales:{x:{stacked:!0,grid:{display:!1},ticks:{font:{size:10}}},y:{stacked:!0}}};function ah(e){var t=e.data;return Object(De.jsx)(th.a,{options:nh,data:t})}var ih=n(400),rh=n.n(ih),oh=n(401),ch=n.n(oh),sh=Object(pt.a)(kt.a)((function(){return{fontSize:14,fontWeight:500}})),lh=Object(pt.a)(mo.a)((function(){return{padding:"4px 16px"}})),dh=Object(ot.a)((function(){return Object(ct.a)({actions:{display:"flex",alignItems:"center",gap:30},pagination:{display:"flex",alignItems:"center",justifyContent:"flex-end",width:"100%"}})}));function uh(e,t,n){return t[n]e[n]?1:0}function hh(e,t){return"desc"===e?function(e,n){return uh(e,n,t)}:function(e,n){return-uh(e,n,t)}}function bh(e,t){var n=e.map((function(e,t){return[e,t]}));return n.sort((function(e,n){var a=t(e[0],n[0]);return 0!==a?a:e[1]-n[1]})),n.map((function(e){return e[0]}))}function ph(e){var t=e.data,n=e.deleteReport,a=e.viewReport,i=dh(),r=Object(m.useState)("asc"),o=Object(j.a)(r,2),c=o[0],s=o[1],l=Object(m.useState)(""),d=Object(j.a)(l,2),u=d[0],h=d[1],f=Object(m.useState)(0),x=Object(j.a)(f,2),O=x[0],v=x[1],C=Object(m.useState)(5),A=Object(j.a)(C,2),y=A[0],w=A[1],I=function(e){s(u===e&&"asc"===c?"desc":"asc"),h(e)},k=function(){var e=Object(g.a)(Object(p.a)().mark((function e(t){var n,a,i,r,o,c;return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=document.getElementById("download-graph"),a=n.getContext("2d"),i={id:"download-graph",beforeDraw:function(e){var t=e.ctx;t.save(),t.globalCompositeOperation="destination-over",t.fillStyle="white",t.fillRect(0,0,e.width,e.height),t.restore()}},a&&(r=new Ku.e(a,{type:"bar",data:t,options:Object(b.a)(Object(b.a)({},nh),{},{animation:!1}),plugins:[i]}),o=r.toBase64Image(),(c=document.createElement("a")).href=o,c.download="report.png",c.click(),c.remove(),r.destroy());case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return Object(De.jsxs)(bo.a,{component:Da.a,children:[Object(De.jsxs)(Fo.a,{children:[Object(De.jsx)(po.a,{children:Object(De.jsxs)(go.a,{children:[Object(De.jsx)(mo.a,{align:"center",children:"No"}),Object(De.jsx)(mo.a,{align:"left",sortDirection:"createdAt"===u&&c,children:Object(De.jsx)(jo.a,{active:"createdAt"===u,direction:"createdAt"===u?c:"asc",onClick:function(){return I("createdAt")},children:"Date Created"})}),Object(De.jsx)(mo.a,{align:"left",sortDirection:"dashboardName"===u&&c,children:Object(De.jsx)(jo.a,{active:"dashboardName"===u,direction:"dashboardName"===u?c:"asc",onClick:function(){return I("dashboardName")},children:"Title of Dashboard Reported"})}),Object(De.jsx)(mo.a,{align:"center"})]})}),Object(De.jsx)(fo.a,{children:bh(t,hh(c,u)).slice(O*y,O*y+y).map((function(e,t){return Object(De.jsxs)(go.a,{children:[Object(De.jsx)(lh,{align:"center",children:t+1}),Object(De.jsx)(lh,{align:"left",children:Object(Lt.default)(new Date(e.createdAt||new Date),"MMMM dd, yyyy")}),Object(De.jsx)(lh,{align:"left",children:e.dashboardName}),Object(De.jsx)(lh,{align:"center",children:Object(De.jsxs)("div",{className:i.actions,children:[Object(De.jsx)(sh,{color:"primary",disableElevation:!0,variant:"text",size:"small",onClick:function(){a(e.data)},children:"View Report"}),Object(De.jsx)(sh,{color:"primary",disableElevation:!0,startIcon:Object(De.jsx)(rh.a,{}),variant:"text",size:"small",onClick:function(){k(e.data)},children:".PNG"}),Object(De.jsx)(sh,{color:"primary",disableElevation:!0,startIcon:Object(De.jsx)(ch.a,{}),variant:"text",size:"small",onClick:function(){n(e.id)},children:"Delete"})]})})]},e.key)}))})]}),Object(De.jsx)("div",{className:i.pagination,children:Object(De.jsx)(xo.a,{rowsPerPageOptions:[5],component:"div",count:t.length,rowsPerPage:y,page:O,onPageChange:function(e,t){v(t)},onRowsPerPageChange:function(e){w(parseInt(e.target.value,10)),v(0)}})}),Object(De.jsx)("canvas",{id:"download-graph",width:"800",height:"400",style:{display:"none",backgroundColor:"#ffffff"}})]})}Ku.e.register(Ku.d,Ku.i,Ku.b,Ku.n,Ku.o,Ku.g);var gh=Object(ot.a)((function(e){return Object(ct.a)({layout:{width:"100%",height:"100%",padding:e.spacing(2)},container:{borderRadius:e.spacing(1),boxShadow:"0px 0px 0px 1px #E0E0E0",width:"100%",height:"100%",display:"flex",flexDirection:"column"},steps:{display:"flex",justifyContent:"center",gap:"20%",width:"100%",marginTop:30,flex:1},modalContent:{height:"calc(100vh - 105px)",maxHeight:"calc(100vh - 105px)",overflow:"auto"},closeIcon:{cursor:"pointer",position:"absolute",top:e.spacing(2),right:e.spacing(3)}})})),jh=(Object(pt.a)(kt.a)((function(){return{fontSize:14,fontWeight:500}})),{position:"absolute",top:0,bottom:0,right:0,width:350,bgcolor:"background.paper",border:"2px solid #e0e0e0",borderRadius:"20px 0 0 20px",boxShadow:24,pt:2,px:2,pb:3}),mh={position:"absolute",bottom:0,right:0,width:850,bgcolor:"background.paper",borderRadius:0,boxShadow:24,pt:2,px:2,pb:3};function fh(){var e=gh(),t=Object(m.useState)(!1),n=Object(j.a)(t,2),a=n[0],i=n[1],r=Object(m.useState)(null),o=Object(j.a)(r,2),c=o[0],s=o[1],l=Object(m.useState)(1),d=Object(j.a)(l,2),u=d[0],h=d[1],f=Object(m.useState)([]),x=Object(j.a)(f,2),O=x[0],v=x[1],C=Object(m.useState)(null),A=Object(j.a)(C,2),y=A[0],w=A[1],I=Object(m.useState)(null),k=Object(j.a)(I,2),S=k[0],E=k[1],R=Object(m.useState)(!1),N=Object(j.a)(R,2),D=N[0],M=N[1],T=Object(m.useState)(!1),B=Object(j.a)(T,2),L=B[0],F=B[1],P=xa(),z=P.dashboardId,G=P.garmSourceFilters,W=P.selectedPublishers,H=P.selectedIABCategories,U=P.riskChangeFilter,V=P.enabledFilters,K=P.selectDashboard,Z=P.garmScoreColumns,Q=P.selectedCustomFilter,X=sa().riskComponents,Y=Be(),J=Y.organization,q=Y.isAuthenticated,_=Object(m.useMemo)((function(){return J?qt(J):[]}),[J]),$=Object(m.useCallback)(function(){var e=Object(g.a)(Object(p.a)().mark((function e(t){var n;return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,i(!0),e.next=4,je(t);case 4:n=e.sent,s(n),h(2),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(0),s(null);case 12:return e.prev=12,i(!1),e.finish(12);case 15:case"end":return e.stop()}}),e,null,[[0,9,12,15]])})));return function(t){return e.apply(this,arguments)}}(),[]);Object(m.useEffect)((function(){if(S&&S.id===z){var e={};G.length&&(e.sources=G),W.length&&(e.publishers=W),H.length&&(e.iabCategories=H.map((function(e){return e.name}))),U&&(e.riskLevelDelta=U);var t={};V&&V.length&&V.forEach((function(n){var a=n.value;if(a&&n.jsonKeyRisk)if("audience"===n.jsonKeyRisk){var i=jn(a);i&&(e.listenerCountRange=i)}else{var r=fn(a);if(r&&(t[n.dashboardFilterKey]={default:r}),Q){var o=Q.data.scoreFilters[n.title];if(o&&(t[n.dashboardFilterKey]={default:fn(o.score)},o.content.length)){var c={};o.content.forEach((function(e){c[e.type===va.Genre?"genre":"garmReasoning"]=e.exceptions})),t[n.dashboardFilterKey]=Object(b.a)(Object(b.a)({},t[n.dashboardFilterKey]),c)}}}})),e.garmExceptions=t,$(e)}}),[$,q,z,G,W,H,U,V]);var ee=Object(m.useCallback)((function(e){var t;return Object(b.a)(Object(b.a)({},e),{},{dashboardName:_?null===(t=_.find((function(t){return t.id===e.dashboardId})))||void 0===t?void 0:t.name:""})}),[_]),te=function(){var e=Object(g.a)(Object(p.a)().mark((function e(){var t,n,a,i;return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!S){e.next=19;break}return n={labels:t=Z,datasets:[]},a=t.map((function(e){switch(e){case"Adult & Explicit Sexual Content":return["Adult & Explicit","Sexual Content"];case"Obscenity and Profanity":return["Obscenity","and Profanity"];case"Debated Sensitive Social issues":return["Debated","Sensitive","Social issues"];case"Illegal drugs, Tobacco and Alcohol":return["Illegal drugs","Tobacco","and Alcohol"];case"Online Piracy or Spam":return["Online Piracy","or Spam"];case"Death, Injury or Military Conflict":return["Death","Injury or","Military Conflict"];case"Crime & Human Rights Violations":return["Crime &","Human Rights","Violations"];case"Hate Speech (BETA)":return["Hate Speech","(BETA)"];case"Arms & Ammunition":return["Arms &","Ammunition"];default:return e}})),Object.keys(X).length&&c&&(n={labels:a,datasets:[{label:"High",data:t.map((function(e){return c[X[e]].High})),backgroundColor:Ho.high,borderColor:"rgb(200, 200, 200)",borderWidth:1},{label:"Medium",data:t.map((function(e){return c[X[e]].Medium})),backgroundColor:Ho.medium,borderColor:"rgb(200, 200, 200)",borderWidth:1},{label:"Low",data:t.map((function(e){return c[X[e]].Low})),backgroundColor:Ho.low,borderColor:"rgb(200, 200, 200)",borderWidth:1},{label:"No",data:t.map((function(e){return c[X[e]].No})),backgroundColor:Ho.norisk,borderColor:"rgb(200, 200, 200)",borderWidth:1},{label:"Still scoring",data:t.map((function(e){return c[X[e]].Wip})),backgroundColor:Ho.nodssi,borderColor:"rgb(200, 200, 200)",borderWidth:1}]}),w(n),F(!0),h(1),E(null),e.prev=9,e.next=12,Xu({dashboardId:S.id,data:n});case 12:i=e.sent,v([].concat(Object(bt.a)(O),[ee(i)])),e.next=19;break;case 16:e.prev=16,e.t0=e.catch(9),console.log(e.t0);case 19:case"end":return e.stop()}}),e,null,[[9,16]])})));return function(){return e.apply(this,arguments)}}(),ne=function(){var e=Object(g.a)(Object(p.a)().mark((function e(t){return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Yu(t);case 3:v((function(e){return e.filter((function(e){return e.id!==t}))})),e.next=9;break;case 6:e.prev=6,e.t0=e.catch(0),console.log(e.t0);case 9:case"end":return e.stop()}}),e,null,[[0,6]])})));return function(t){return e.apply(this,arguments)}}(),ae=Object(m.useCallback)(Object(g.a)(Object(p.a)().mark((function e(){var t,n;return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Qu();case 3:t=e.sent,n=t.map((function(e){return ee(e)})),v(n),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(0),console.log(e.t0);case 11:case"end":return e.stop()}}),e,null,[[0,8]])}))),[ee]);Object(m.useEffect)((function(){_&&ae()}),[_]);return Object(De.jsx)(_e.a,{container:!0,className:e.layout,children:Object(De.jsxs)(_e.a,{container:!0,className:e.container,children:[Object(De.jsxs)("div",{className:e.steps,children:[Object(De.jsx)(eh,{step:1,title:"Select Dashboard",description:S?"You\u2019ve selected a ".concat(S.name," dashboard, now move on to step 2 below"):"Select the dashboard you would like to generate a report about from list below. Your report will be based on the filters you have saved in that Dashboard.",completed:u>1,disabled:!1,selectingDashboard:a,selectDashboard:function(){M(!0)},removeDashboard:function(){E(null),h(1)}}),Object(De.jsx)(eh,{step:2,title:"Generate Report",description:"Once you\u2019re all set with your selection, please select generate report.",completed:!1,disabled:u<2,generateReport:function(){return te()}})]}),Object(De.jsx)(ph,{data:O,deleteReport:ne,viewReport:function(e){w(e),F(!0)}}),Object(De.jsx)(ts.a,{open:D,onClose:function(){return M(!1)},"aria-labelledby":"report-dashboard-modal-title","aria-describedby":"report-dashboard-modal-description",closeAfterTransition:!0,BackdropComponent:ns.a,BackdropProps:{timeout:800},children:Object(De.jsxs)(Je.a,{sx:Object(b.a)({},jh),children:[Object(De.jsx)(jd.a,{className:e.closeIcon,onClick:function(){return M(!1)}}),Object(De.jsx)(gt.a,{variant:"h4",style:{padding:16},children:"Select Dashobard"}),Object(De.jsx)("div",{className:e.modalContent,children:_.map((function(e){return Object(De.jsx)(et.a,{button:!0,onClick:function(){return E(t=e),K(t),void M(!1);var t},children:Object(De.jsx)(nt.a,{primary:e.name,primaryTypographyProps:{variant:"caption"}})},e.id)}))})]})}),Object(De.jsx)(ts.a,{open:L,onClose:function(){return F(!1)},"aria-labelledby":"report-graph-modal-title","aria-describedby":"report-graph-modal-description",closeAfterTransition:!0,BackdropComponent:ns.a,BackdropProps:{timeout:800},children:Object(De.jsxs)(Je.a,{sx:Object(b.a)({},mh),children:[Object(De.jsx)(jd.a,{className:e.closeIcon,onClick:function(){return F(!1)}}),Object(De.jsx)(gt.a,{variant:"h4",style:{padding:16},children:null===S||void 0===S?void 0:S.name}),y&&Object(De.jsx)(ah,{data:y})]})})]})})}var xh=n(764),Oh=n(761),vh={view:"View Only",staff:"Edit",admin:"Admin",super:"Super Admin"},Ch=function(e){var t=e.members,n=e.onRefetch,a=Object(m.useState)(""),i=Object(j.a)(a,2),r=i[0],o=i[1],c=Be().user,s="admin"===(null===c||void 0===c?void 0:c.role)||"super"===(null===c||void 0===c?void 0:c.role),l=Object(m.useMemo)((function(){return t.map((function(e){return Object(b.a)(Object(b.a)({},e),{},{name:[e.firstName,e.lastName].join(" "),role:s&&"super"!==e.role?Object(De.jsxs)(Ka.a,{id:"permission-select",value:e.role,onChange:function(){var t=Object(g.a)(Object(p.a)().mark((function t(a){return Object(p.a)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o(e.id),t.next=3,ce(e.id,{email:e.email,firstName:e.firstName,lastName:e.lastName,password:e.password,organizationId:e.organizationId,enabled:!0,role:a.target.value});case 3:return t.next=5,n();case 5:o("");case 6:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),style:{minWidth:150},disabled:e.id===r,children:[Object(De.jsx)(In.a,{value:"view",children:"View Only"}),Object(De.jsx)(In.a,{value:"staff",children:"Edit"}),Object(De.jsx)(In.a,{value:"admin",children:"Admin"})]}):e.role&&Object(De.jsx)(gt.a,{children:vh[e.role]})})}))}),[t]);return Object(De.jsx)(Ud,{headers:[{field:"name",label:"Name"},{field:"email",label:"Email Address"},{field:"role",label:"Permissions"}],data:l})},Ah=function(e){var t=e.members,n=e.onRefetch,a=Bt(),i=a.handleSuccess,r=a.handleError,o=function(){var e=Object(g.a)(Object(p.a)().mark((function e(t){return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,ie(t);case 3:Xt(Kt.REMOVE_INVITATION),i("Invitation has been removed successfully."),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),r(e.t0,"Invitation was not removed successfully.");case 10:n();case 11:case"end":return e.stop()}}),e,null,[[0,7]])})));return function(t){return e.apply(this,arguments)}}(),c=Object(m.useMemo)((function(){return t.map((function(e){return Object(b.a)(Object(b.a)({},e),{},{name:[e.firstName,e.lastName].join(" ")})}))}),[t]),s=[{field:"name",label:"Name"},{field:"email",label:"Email Address"},{field:"role",label:"Permissions"},{field:"action",label:"Remove invitation",render:function(e){return Object(De.jsx)(Mt,{variant:"text",onClick:function(){return o(e.id)},children:"Remove invitation"})}}];return Object(De.jsx)(Ud,{headers:s,data:c})},yh=n(402),wh=n.n(yh),Ih=[{role:D.ADMIN,label:"Admin",description:"Full access to web app. View & edit payment details."},{role:D.STAFF,label:"Edit",description:"Full access to web app. Cannot view & edit payment details."},{role:D.VIEW,label:"View Only",description:"Access Dashboard. Cannot score content or view/edit payment."}],kh=Object(ot.a)((function(e){return Object(ct.a)({label:{color:e.palette.gray.main},box:{cursor:"pointer",background:"white",border:"1px solid black",padding:e.spacing(1),margin:e.spacing(1,0)},selectedBox:{background:e.palette.lightGray.main},description:{lineHeight:1.1}})})),Sh=function(e){var t=e.value,n=e.onChange,a=kh();return Object(De.jsxs)(_e.a,{container:!0,children:[Object(De.jsx)(_e.a,{item:!0,xs:12,children:Object(De.jsx)(gt.a,{variant:"body1",className:a.label,children:"Permissions:"})}),Ih.map((function(e,i){return Object(De.jsx)(_e.a,{item:!0,xs:12,role:"button",tabIndex:i,className:Object(Xe.default)(a.box,t===e.role&&a.selectedBox),onClick:function(){return n(e.role)},children:Object(De.jsxs)(_e.a,{container:!0,alignItems:"center",children:[Object(De.jsx)(_e.a,{item:!0,xs:4,children:Object(De.jsx)(gt.a,{variant:"subtitle1",align:"center",children:e.label})}),Object(De.jsx)(_e.a,{item:!0,xs:8,children:Object(De.jsx)(gt.a,{variant:"body1",className:a.description,children:e.description})})]})},e.role)}))]})},Eh=Object(ot.a)((function(e){return Object(ct.a)({dialogContainer:{padding:e.spacing(3)}})})),Rh=function(e){var t=e.isOpen,n=e.onClose,a=e.onRefetch,i=Eh(),r=lt(),o=Bt(),c=o.handleSuccess,s=o.handleError,l=Object(m.useState)({email:"",firstName:"",lastName:"",role:D.ADMIN}),d=Object(j.a)(l,2),u=d[0],h=d[1],f=function(e,t){t&&h(Object(b.a)(Object(b.a)({},u),{},Object(gn.a)({},t,e)))},x=function(){var e=Object(g.a)(Object(p.a)().mark((function e(){return Object(p.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,ae(u);case 3:Xt(Kt.SEND_INVITATION),c("Invitation has been created successfully."),a(),n(),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(0),s(e.t0,"Invitation was not successful.");case 12:case"end":return e.stop()}}),e,null,[[0,9]])})));return function(){return e.apply(this,arguments)}}();return Object(De.jsx)(xd,{width:480,title:"New User Details",isOpen:t,onClose:n,children:Object(De.jsxs)(_e.a,{container:!0,spacing:2,className:i.dialogContainer,children:[Object(De.jsxs)(_e.a,{container:!0,item:!0,xs:12,justifyContent:"space-between",className:r.mb2,children:[Object(De.jsx)(gt.a,{variant:"h5",children:"New User Details"}),Object(De.jsx)(wh.a,{fontSize:"large"})]}),Object(De.jsx)(_e.a,{item:!0,xs:12,children:Object(De.jsxs)(_e.a,{container:!0,spacing:1,children:[Object(De.jsx)(_e.a,{item:!0,xs:6,children:Object(De.jsx)(Dn,{name:"firstName",label:"First Name:",fullWidth:!0,value:u.firstName,variant:"filled",onChange:f})}),Object(De.jsx)(_e.a,{item:!0,xs:6,children:Object(De.jsx)(Dn,{name:"lastName",label:"Last Name:",fullWidth:!0,value:u.lastName,variant:"filled",onChange:f})})]})}),Object(De.jsx)(_e.a,{item:!0,xs:12,children:Object(De.jsx)(Dn,{name:"email",label:"Email address:",fullWidth:!0,value:u.email,variant:"filled",onChange:f})}),Object(De.jsx)(_e.a,{item:!0,xs:12,children:Object(De.jsx)(Sh,{value:u.role,onChange:function(e){h(Object(b.a)(Object(b.a)({},u),{},{role:e}))}})}),Object(De.jsxs)(_e.a,{container:!0,item:!0,xs:12,justifyContent:"space-between",children:[Object(De.jsx)(Mt,{color:"secondary",onClick:n,children:"Cancel"}),Object(De.jsx)(Mt,{color:"primary",onClick:x,children:"Invite Now"})]})]})})},Nh=["children","value","index"],Dh=Object(ot.a)((function(e){return Object(ct.a)({layout:{width:"100%",height:"100%",padding:e.spacing(2),overflow:"auto"},container:{borderRadius:e.spacing(1),boxShadow:"0px 0px 0px 1px #E0E0E0",padding:e.spacing(2),display:"flex",flexDirection:"column",gap:20,width:"100%"}})})),Mh=function(e){var t=e.children,n=e.value,a=e.index,i=Object(It.a)(e,Nh);return Object(De.jsx)("div",Object(b.a)(Object(b.a)({role:"tabpanel",hidden:n!==a,id:"team-tabpanel-".concat(a),"aria-labelledby":"team-tab-".concat(a)},i),{},{children:n===a&&Object(De.jsx)(Je.a,{p:1,children:t})}))},Th=function(e){return{id:"team-tab-".concat(e),"aria-controls":"team-tabpanel-".concat(e)}},Bh=function(){var e=Dh(),t=Be().user,n=Object(m.useState)(0),a=Object(j.a)(n,2),i=a[0],r=a[1],o=Object(m.useState)(!1),c=Object(j.a)(o,2),s=c[0],d=c[1],u=function(e){var t=Object(l.useQuery)([k.GET_ORGANIZATION_MEMBERS,e],Object(g.a)(Object(p.a)().mark((function t(){var n;return Object(p.a)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e){t.next=2;break}return t.abrupt("return",[]);case 2:return t.next=4,V(e);case 4:return n=t.sent,t.abrupt("return",n);case 6:case"end":return t.stop()}}),t)}))),{refetchOnWindowFocus:!1}),n=t.status,a=t.data,i=t.error,r=t.refetch,o=Object(m.useMemo)((function(){return(a||[]).filter((function(e){return!e.invited}))}),[a]),c=Object(m.useMemo)((function(){return(a||[]).filter((function(e){return e.invited}))}),[a]);return{status:n,loading:n===w.LOADING,members:a,teamMembers:o,invitedMembers:c,error:i,refetch:r}}(null===t||void 0===t?void 0:t.organizationId),h=u.teamMembers,f=u.invitedMembers,x=u.refetch;return Object(De.jsx)(_e.a,{container:!0,className:e.layout,children:Object(De.jsxs)(_e.a,{className:e.container,children:[Object(De.jsx)(_e.a,{children:Object(De.jsx)(_e.a,{container:!0,justifyContent:"flex-end",children:Object(De.jsx)(Mt,{color:"primary",title:"Invite new team members",onClick:function(){d(!0)}})})}),Object(De.jsx)(_e.a,{children:Object(De.jsxs)(xh.a,{value:i,textColor:"primary",indicatorColor:"primary",onChange:function(e,t){r(t)},children:[Object(De.jsx)(Oh.a,Object(b.a)({label:"Team Members"},Th(0))),Object(De.jsx)(Oh.a,Object(b.a)({label:"New members invited"},Th(1)))]})}),Object(De.jsxs)(_e.a,{children:[Object(De.jsx)(Mh,{value:i,index:0,children:Object(De.jsx)(Ch,{members:h,onRefetch:x})}),Object(De.jsx)(Mh,{value:i,index:1,children:Object(De.jsx)(Ah,{members:f,onRefetch:x})})]}),Object(De.jsx)(Rh,{isOpen:s,onClose:function(){d(!1)},onRefetch:x})]})})},Lh=Object(ot.a)((function(){return Object(ct.a)({mainRoot:{display:"flex",height:"100%",marginLeft:Fe,width:"calc(100% - ".concat(Fe,"px)"),"& > *":{boxSizing:"border-box"}},secDrawerOpen:{marginLeft:552,width:"calc(100% - ".concat(552,"px)")},smallSidebar:{width:"calc(100% - ".concat(373,"px)"),marginLeft:373},mainContent:{width:"100%",flexGrow:1,margin:0}})})),Fh=function(e){var t=e.children,n=Lh(),a=We(),i=a.secondSidebarOpen,r=a.isSmallSidebar;return Object(De.jsx)("div",{className:Object(Xe.default)(n.mainRoot,Object(gn.a)({},n.secDrawerOpen,i&&!r),Object(gn.a)({},n.smallSidebar,r)),children:Object(De.jsx)("main",{className:n.mainContent,children:t})})};function Ph(){var e=Object(Ze.g)();return Object(m.useEffect)((function(){e.listen((function(e){s.a.set({page:e.pathname}),s.a.pageview(e.pathname)}))}),[e]),null}function zh(){var e=Be(),t=e.isAuthenticated;if(e.isLoading)return Object(De.jsx)(Ke.a,{});var n=Object(De.jsx)(fa,{children:Object(De.jsxs)(Fh,{children:[Object(De.jsx)(ar,{}),Object(De.jsxs)(Ze.d,{children:[Object(De.jsx)(Ze.b,{exact:!0,path:ln,children:Object(De.jsx)(Pr,{})},"reset-password"),Object(De.jsx)(Ze.b,{exact:!0,path:_t,children:Object(De.jsx)(Ms,{})},"dashboard"),Object(De.jsx)(Ze.b,{exact:!0,path:_t+"/:env",children:Object(De.jsx)(Ms,{})},"dashboard"),Object(De.jsx)(Ze.b,{exact:!0,path:bn,children:Object(De.jsx)(fh,{})},"reports"),Object(De.jsx)(Ze.b,{exact:!0,path:dn,children:Object(De.jsx)(Vu,{})},"settings"),Object(De.jsx)(Ze.b,{exact:!0,path:nn,children:Object(De.jsx)(Bh,{})},"team"),Object(De.jsx)(Ze.b,{exact:!0,path:un,children:Object(De.jsx)(Ps,{})},"documentation"),Object(De.jsx)(Ze.b,{path:hn,children:Object(De.jsx)(Bs,{})}),Object(De.jsx)(Ze.b,{path:an,children:Object(De.jsx)(Nd,{})}),Object(De.jsx)(Ze.a,{to:_t})]})]})}),a=Object(De.jsxs)(Ze.d,{children:[Object(De.jsx)(Ze.b,{exact:!0,path:en,children:Object(De.jsx)(Kl,{})},"landing"),Object(De.jsx)(Ze.b,{exact:!0,path:$t,children:Object(De.jsx)(nl,{})},"audit"),Object(De.jsx)(Ze.b,{exact:!0,path:on,children:Object(De.jsx)(pr,{})},"accpet-invitation"),Object(De.jsx)(Ze.b,{exact:!0,path:"/login",children:Object(De.jsx)(Fr,{})},"login"),Object(De.jsx)(Ze.b,{exact:!0,path:rn,children:Object(De.jsx)(Br,{})},"forgot-password"),Object(De.jsx)(Ze.b,{exact:!0,path:cn,children:Object(De.jsx)(Mr,{})},"confirm-reset-code"),Object(De.jsx)(Ze.b,{path:sn,children:Object(De.jsx)(Hs,{})},"toc"),Object(De.jsx)(Ze.b,{path:nn,children:Object(De.jsx)(ad,{})},"team"),Object(De.jsx)(Ze.b,{path:hn,children:Object(De.jsx)(Bs,{})}),Object(De.jsx)(Ze.b,{path:an,children:Object(De.jsx)(Nd,{})}),Object(De.jsx)(Ze.a,{to:en})]});return Object(De.jsxs)(Qe.a,{children:[t?n:a,Object(De.jsx)(Kr,{}),Object(De.jsx)(Ph,{})]})}var Gh=new l.QueryClient,Wh=Object(u.a)(h.stripePublicKey);s.a.initialize(h.gaTrackingId);var Hh=function(){return Object(De.jsx)(c.a,{anchorOrigin:{horizontal:"right",vertical:"top"},children:Object(De.jsx)(Ue,{children:Object(De.jsx)(l.QueryClientProvider,{client:Gh,children:Object(De.jsx)(Te,{children:Object(De.jsx)(ia,{children:Object(De.jsx)(Ge,{children:Object(De.jsx)(d.Elements,{stripe:Wh,children:Object(De.jsx)(zh,{})})})})})})})})},Uh=function(e){e&&e instanceof Function&&n.e(4).then(n.bind(null,772)).then((function(t){var n=t.getCLS,a=t.getFID,i=t.getFCP,r=t.getLCP,o=t.getTTFB;n(e),a(e),i(e),r(e),o(e)}))},Vh=n(410),Kh=Object(Vh.a)({typography:{fontFamily:"Roboto, Sans Serif",fontWeightRegular:450,fontWeightMedium:600,fontWeightBold:750,fontSize:16,h1:{fontWeight:"bold",fontSize:56,lineHeight:1.15},h2:{fontWeight:"bold",fontSize:44,lineHeight:1.1},h3:{fontWeight:"bold",fontSize:36,lineHeight:1.1},h4:{fontWeight:"bold",fontSize:24,lineHeight:1.2},h5:{fontWeight:"bold",fontSize:22,lineHeight:1.2},h6:{fontWeight:"bold",fontSize:18,lineHeight:1.4},body1:{fontSize:16,lineHeight:1.5},body2:{fontSize:14,lineHeight:1.5}},palette:{background:{default:"#F5F7FA"},primary:{main:"#3E91DE"},secondary:{main:"#F2F6FF"},blue:{main:"#2986D2"},transparentBlue:{main:"rgba(48, 134, 220, 0.1)"},redText:{main:"#CB1223"},grayText:{main:"#6B7280"},gray:{main:"#727272"},grayBackground:{main:"#EEEEEE"},grey400:{main:"#9CA3AF"},blackBackground:{main:"#1F2937"},lightGrayBackground:{main:"#F9FAFB"},purple:{main:"#CC00CC"},yellow:{main:"#FFFF00"},green:{main:"#00CC00"},lightGray:{main:"#CCCCCC"},purpleBackground:{main:"#AE89FE"},orange:{main:"#F88600"},text:{primary:"rgba(0, 0, 0, 0.87)"},sliderRed:{main:"#DC5E8A"},sliderBlue:{main:"#4A8BF8"},sliderYellow:{main:"#FCD9A7"}},overrides:{MuiFormControl:{marginNormal:{marginTop:0,marginBottom:0}},MuiCssBaseline:{"@global":{"html, body":{height:"100%"}}}}}),Zh=n(763),Qh=n(409);n(665);Zh.a({dsn:"https://4e677553c80a466cba1c3848b404f070@o4504044458737664.ingest.sentry.io/4504044461555712",integrations:[new Qh.a],tracesSampleRate:.25});var Xh=document.getElementById("root");Object(o.createRoot)(Xh).render(Object(De.jsxs)(r.a,{theme:Kh,children:[Object(De.jsx)(i.a,{}),Object(De.jsx)(Hh,{})]})),Uh()}},[[667,2,3]]]); //# sourceMappingURL=main.bc952b72.chunk.js.map