PageSourceSearch

https://mycomic.ai/2767.5481681ec5a3b39a.js

js mycomic.ai collected 2026-10-05 12:17:11 UTC 35,966 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkcomic_roadmap_ai=self.webpackChunkcomic_roadmap_ai||[]).push([[2767],{22767:(j,v,c)=>{c.d(v,{F:()=>E,o:()=>Et});var b=c(10467),f=c(77248),h=c(74825),O=c(21413),u=c(56977),y=c(54998),t=c(22898),a=c(62306),R=c(71673),m=c(28627),_=c(40124),g=c(44094);const d=n=>["/p",n];function F(n,i){if(1&n&&t.nrm(0,"img",17),2&n){const e=t.XpG(2);t.Y8G("src",null==e.featured?null:e.featured.coverImageUrl,t.B4B)}}function w(n,i){1&n&&t.nrm(0,"div",18)}function M(n,i){if(1&n&&t.nrm(0,"img",32),2&n){const e=t.XpG(3);t.Y8G("src",e.profile.logoUrl,t.B4B)("alt",e.companyName+" logo")}}function x(n,i){if(1&n&&(t.j41(0,"span"),t.EFF(1),t.k0s()),2&n){const e=t.XpG(3);t.R7$(),t.JRh(e.initial)}}function I(n,i){if(1&n&&(t.j41(0,"a",33),a.qSk(),t.j41(1,"svg",34),t.nrm(2,"circle",35)(3,"path",36),t.k0s()()),2&n){const e=t.XpG(3);t.Y8G("href",e.websiteHref,t.B4B),t.BMQ("aria-label",e.profile.website)}}function G(n,i){if(1&n&&(t.j41(0,"a",37),t.EFF(1),t.k0s()),2&n){const e=i.$implicit,o=t.XpG(3);t.Y8G("href",o.externalHref(e.url),t.B4B),t.R7$(),t.JRh(e.platform)}}function $(n,i){if(1&n&&(t.j41(0,"a",38),t.EFF(1,"Visit website"),t.k0s()),2&n){const e=t.XpG(3);t.Y8G("href",e.websiteHref,t.B4B)}}function T(n,i){if(1&n){const e=t.RV6();t.j41(0,"div",19)(1,"div",20),t.DNE(2,M,1,2,"img",21)(3,x,2,1,"span",22),t.k0s(),t.j41(4,"div",23)(5,"p",24),t.EFF(6,"Publishing company"),t.k0s(),t.j41(7,"h1"),t.EFF(8),t.k0s(),t.j41(9,"p",25),t.EFF(10),t.k0s(),t.j41(11,"div",26),t.DNE(12,I,4,2,"a",27)(13,G,2,2,"a",28),t.k0s()(),t.j41(14,"div",29),t.DNE(15,$,2,1,"a",30),t.j41(16,"button",31),t.bIt("click",function(){a.eBV(e);const s=t.XpG(2);return a.Njj(s.scrollToCollab())}),t.EFF(17,"Let's collaborate"),t.k0s()()()}if(2&n){const e=t.XpG(2);t.R7$(2),t.Y8G("ngIf",e.profile.logoUrl),t.R7$(),t.Y8G("ngIf",!e.profile.logoUrl),t.R7$(5),t.JRh(e.companyName),t.R7$(2),t.JRh(e.about),t.R7$(2),t.Y8G("ngIf",e.websiteHref),t.R7$(),t.Y8G("ngForOf",e.pressKit.socialLinks),t.R7$(2),t.Y8G("ngIf",e.websiteHref)}}
1function K(n,i){if(1&n&&(t.j41(0,"div",39)(1,"div"),a.qSk(),t.j41(2,"svg",34),t.nrm(3,"path",40)(4,"path",41),t.k0s(),a.joV(),t.j41(5,"strong"),t.EFF(6),t.k0s(),t.j41(7,"span"),t.EFF(8),t.k0s()(),t.j41(9,"div"),a.qSk(),t.j41(10,"svg",34),t.nrm(11,"circle",42)(12,"path",43),t.k0s(),a.joV(),t.j41(13,"strong"),t.EFF(14,"128K"),t.k0s(),t.j41(15,"span"),t.EFF(16,"Readers "),t.j41(17,"em"),t.EFF(18,"Sample"),t.k0s()()(),t.j41(19,"div"),a.qSk(),t.j41(20,"svg",34),t.nrm(21,"path",44)(22,"path",45),t.k0s(),a.joV(),t.j41(23,"strong"),t.EFF(24,"46K"),t.k0s(),t.j41(25,"span"),t.EFF(26,"Hub visits / 30d "),t.j41(27,"em"),t.EFF(28,"Sample"),t.k0s()()(),t.j41(29,"div"),a.qSk(),t.j41(30,"svg",34),t.nrm(31,"path",46),t.k0s(),a.joV(),t.j41(32,"strong"),t.EFF(33,"8.5%"),t.k0s(),t.j41(34,"span"),t.EFF(35,"Engagement rate "),t.j41(36,"em"),t.EFF(37,"Sample"),t.k0s()()()()),2&n){const e=t.XpG(2);t.R7$(6),t.JRh(e.comics.length),t.R7$(2),t.JRh(1===e.comics.length?"Title published":"Titles published")}}function D(n,i){if(1&n&&(t.j41(0,"header",11),t.DNE(1,F,1,1,"img",12)(2,w,1,0,"div",13),t.nrm(3,"div",14),t.DNE(4,T,18,7,"div",15)(5,K,38,2,"div",16),t.k0s()),2&n){const e=t.XpG();t.R7$(),t.Y8G("ngIf",null==e.featured?null:e.featured.coverImageUrl),t.R7$(),t.Y8G("ngIf",!(null!=e.featured&&e.featured.coverImageUrl)),t.R7$(2),t.Y8G("ngIf",e.pressKit.sections.banner),t.R7$(),t.Y8G("ngIf",e.pressKit.sections.stats)}}
1function U(n,i){if(1&n){const e=t.RV6();t.j41(0,"button",52),t.bIt("click",function(){a.eBV(e);const s=t.XpG(2);return a.Njj(s.showCatalog=!s.showCatalog)}),t.EFF(1),t.k0s()}if(2&n){const e=t.XpG(2);t.R7$(),t.SpI(" ",e.showCatalog?"Hide":"View all"," ")}}function Y(n,i){1&n&&(t.j41(0,"p",53),t.EFF(1,"Loading comics\u2026"),t.k0s())}function B(n,i){1&n&&(t.j41(0,"p",53),t.EFF(1,"No comics on this company yet."),t.k0s())}function N(n,i){if(1&n&&t.nrm(0,"img",32),2&n){const e=t.XpG(2).ngIf;t.Y8G("src",e.coverImageUrl,t.B4B)("alt",e.title+" cover")}}function S(n,i){if(1&n&&(t.j41(0,"span",62),t.EFF(1),t.k0s()),2&n){const e=t.XpG(2).ngIf;t.R7$(),t.JRh(e.title.slice(0,1))}}function X(n,i){if(1&n&&(t.j41(0,"a",60),t.DNE(1,N,1,2,"img",21)(2,S,2,1,"span",61),t.k0s()),2&n){const e=t.XpG().ngIf;t.Y8G("routerLink",t.eq3(3,d,e.hubSlug)),t.R7$(),t.Y8G("ngIf",e.coverImageUrl),t.R7$(),t.Y8G("ngIf",!e.coverImageUrl)}}function A(n,i){if(1&n&&t.nrm(0,"img",32),2&n){const e=t.XpG(2).ngIf;t.Y8G("src",e.coverImageUrl,t.B4B)("alt",e.title+" cover")}}function L(n,i){if(1&n&&(t.j41(0,"span",62),t.EFF(1),t.k0s()),2&n){const e=t.XpG(2).ngIf;t.R7$(),t.JRh(e.title.slice(0,1))}}function z(n,i){if(1&n&&(t.j41(0,"div",63),t.DNE(1,A,1,2,"img",21)(2,L,2,1,"span",61),t.k0s()),2&n){const e=t.XpG().ngIf;t.R7$(),t.Y8G("ngIf",e.coverImageUrl),t.R7$(),t.Y8G("ngIf",!e.coverImageUrl)}}function J(n,i){if(1&n&&(t.j41(0,"li"),t.EFF(1),t.k0s()),2&n){const e=i.$implicit;t.R7$(),t.JRh(e)}}function W(n,i){if(1&n&&(t.j41(0,"ul",64),t.DNE(1,J,2,1,"li",65),t.k0s()),2&n){const e=t.XpG().ngIf;t.R7$(),t.Y8G("ngForOf",e.tags)}}function V(n,i){if(1&n&&(t.j41(0,"li"),t.EFF(1),t.k0s()),2&n){const e=t.XpG().ngIf;t.R7$(),t.SpI("",e.pageCount," pages")}}function H(n,i){if(1&n&&(t.j41(0,"a",66),t.EFF(1,"Open comic hub"),t.k0s()),2&n){const e=t.XpG().ngIf;t.Y8G("routerLink",t.eq3(1,d,e.hubSlug))}}function Q(n,i){1&n&&(t.j41(0,"span"),t.EFF(1,"Hub not set up"),t.k0s())}function q(n,i){if(1&n&&(t.qex(0),t.j41(1,"div",54),t.DNE(2,X,3,5,"a",55)(3,z,3,2,"ng-template",null,0,t.C5r),t.j41(5,"div")(6,"h3"),t.EFF(7),t.k0s(),t.DNE(8,W,2,1,"ul",56),t.j41(9,"p",57),t.EFF(10),t.k0s(),t.j41(11,"ul",58),t.DNE(12,V,2,1,"li",22),t.j41(13,"li"),t.EFF(14,"128K readers "),t.j41(15,"em"),t.EFF(16,"Sample"),t.k0s()(),t.j41(17,"li"),t.DNE(18,H,2,3,"a",59)(19,Q,2,0,"span",22),t.k0s()()()(),t.bVm()),2&n){const e=i.ngIf,o=t.sdS(4);t.R7$(2),t.Y8G("ngIf",e.hubSlug)("ngIfElse",o),t.R7$(5),t.JRh(e.title),t.R7$(),t.Y8G("ngIf",e.tags.length),t.R7$(2),t.JRh(e.description||"Add a description on this comic to show it here."),t.R7$(2),t.Y8G("ngIf",e.pageCount),t.R7$(6),t.Y8G("ngIf",e.hubSlug),t.R7$(),t.Y8G("ngIf",!e.hubSlug)}}function Z(n,i){if(1&n&&t.nrm(0,"img",32),2&n){const e=t.XpG(2).$implicit;t.Y8G("src",e.coverImageUrl,t.B4B)("alt",e.title+" cover")}}function tt(n,i){if(1&n&&(t.j41(0,"span",62),t.EFF(1),t.k0s()),2&n){const e=t.XpG(2).$implicit;t.R7$(),t.JRh(e.title.slice(0,1))}}function et(n,i){if(1&n&&(t.j41(0,"a",66),t.DNE(1,Z,1,2,"img",21)(2,tt,2,1,"span",61),t.j41(3,"strong"),t.EFF(4),t.k0s()()),2&n){const e=t.XpG().$implicit;t.Y8G("routerLink",t.eq3(4,d,e.hubSlug)),t.R7$(),t.Y8G("ngIf",e.coverImageUrl),t.R7$(),t.Y8G("ngIf",!e.coverImageUrl),t.R7$(2),t.JRh(e.title)}}function nt(n,i){if(1&n&&t.nrm(0,"img",32),2&n){const e=t.XpG(2).$implicit;t.Y8G("src",e.coverImageUrl,t.B4B)("alt",e.title+" cover")}}function ot(n,i){if(1&n&&(t.j41(0,"span",62),t.EFF(1),t.k0s()),2&n){const e=t.XpG(2).$implicit;t.R7$(),t.JRh(e.title.slice(0,1))}}function it(n,i){if(1&n&&(t.j41(0,"div"),t.DNE(1,nt,1,2,"img",21)(2,ot,2,1,"span",61),t.j41(3,"strong"),t.EFF(4),t.k0s(),t.j41(5,"small"),t.EFF(6,"Hub not set up"),t.k0s()()),2&n){const e=t.XpG().$implicit;t.R7$(),t.Y8G("ngIf",e.coverImageUrl),t.R7$(),t.Y8G("ngIf",!e.coverImageUrl),t.R7$(2),t.JRh(e.title)}}function st(n,i){if(1&n&&(t.j41(0,"li"),t.DNE(1,et,5,6,"a",68)(2,it,7,3,"ng-template",null,1,t.C5r),t.k0s()),2&n){const e=i.$implicit,o=t.sdS(3);t.R7$(),t.Y8G("ngIf",e.hubSlug)("ngIfElse",o)}}function rt(n,i){if(1&n&&(t.j41(0,"ul",67),t.DNE(1,st,4,2,"li",65),t.k0s()),2&n){const e=t.XpG(2);t.R7$(),t.Y8G("ngForOf",e.comics)}}function at(n,i){if(1&n&&(t.j41(0,"section",47)(1,"div",48)(2,"h2"),t.EFF(3,"Featured titles"),t.k0s(),t.DNE(4,U,2,1,"button",49),t.k0s(),t.DNE(5,Y,2,0,"p",50)(6,B,2,0,"p",50)(7,q,20,8,"ng-container",22)(8,rt,2,1,"ul",51),t.k0s()),2&n){const e=t.XpG();t.R7$(4),t.Y8G("ngIf",e.comics.length),t.R7$(),t.Y8G("ngIf",e.loadingComics),t.R7$(),t.Y8G("ngIf",!e.loadingComics&&!e.featured),t.R7$(),t.Y8G("ngIf",e.featured),t.R7$(),t.Y8G("ngIf",e.showCatalog&&e.comics.length)}}function ct(n,i){if(1&n&&(t.j41(0,"section",69)(1,"div",48)(2,"h2"),t.EFF(3,"Audience overview "),t.j41(4,"em"),t.EFF(5,"Sample"),t.k0s()()(),t.j41(6,"div",70)(7,"article")(8,"div")(9,"strong"),t.EFF(10,"34%"),t.k0s(),t.j41(11,"span"),t.EFF(12,"Age range"),t.k0s(),t.j41(13,"small"),t.EFF(14,"18\u201324 years"),t.k0s()(),a.qSk(),t.j41(15,"svg",71),t.nrm(16,"rect",72)(17,"rect",73)(18,"rect",74),t.k0s()(),a.joV(),t.j41(19,"article")(20,"div")(21,"strong"),t.EFF(22,"54%"),t.k0s(),t.j41(23,"span"),t.EFF(24,"Gender"),t.k0s(),t.j41(25,"small"),t.EFF(26,"Women"),t.k0s()(),a.qSk(),t.j41(27,"svg",71),t.nrm(28,"circle",75)(29,"path",76),t.k0s()(),a.joV(),t.j41(30,"article")(31,"div")(32,"strong"),t.EFF(33,"61%"),t.k0s(),t.j41(34,"span"),t.EFF(35,"Location"),t.k0s(),t.j41(36,"small"),t.EFF(37,"United States"),t.k0s()(),a.qSk(),t.j41(38,"svg",71),t.nrm(39,"path",77),t.k0s()(),a.joV(),t.j41(40,"article")(41,"div")(42,"strong"),t.EFF(43,"80%"),t.k0s(),t.j41(44,"span"),t.EFF(45,"Top interest"),t.k0s(),t.j41(46,"small"),t.EFF(47),t.k0s()(),a.qSk(),t.j41(48,"svg",71),t.nrm(49,"path",78),t.k0s()()()()),2&n){const e=t.XpG();t.R7$(47),t.JRh(e.interest)}}function lt(n,i){1&n&&(t.j41(0,"em"),t.EFF(1,"Sample"),t.k0s())}function pt(n,i){if(1&n&&(t.j41(0,"li")(1,"span",81),t.EFF(2),t.k0s(),t.j41(3,"div")(4,"strong"),t.EFF(5),t.k0s(),t.j41(6,"p"),t.EFF(7),t.k0s()()()),2&n){const e=i.$implicit;t.R7$(2),t.JRh(e.name.slice(0,1)),t.R7$(3),t.JRh(e.name),t.R7$(2),t.JRh(e.detail)}}function _t(n,i){if(1&n&&(t.j41(0,"section",79)(1,"div",48)(2,"h2"),t.EFF(3,"Collaboration opportunities "),t.DNE(4,lt,2,0,"em",22),t.k0s()(),t.j41(5,"ul",80),t.DNE(6,pt,8,3,"li",65),t.k0s()()),2&n){const e=t.XpG();t.R7$(4),t.Y8G("ngIf",!e.pressKit.configured),t.R7$(2),t.Y8G("ngForOf",e.pressKit.services)}}function gt(n,i){1&n&&(t.j41(0,"p",53),t.EFF(1,"No team members are set to appear here."),t.k0s())}function mt(n,i){if(1&n&&t.nrm(0,"img",32),2&n){const e=t.XpG().$implicit;t.Y8G("src",e.photoUrl,t.B4B)("alt",e.name)}}function dt(n,i){if(1&n&&(t.j41(0,"span"),t.EFF(1),t.k0s()),2&n){const e=t.XpG().$implicit;t.R7$(),t.JRh(e.name.slice(0,1))}}function ft(n,i){if(1&n&&(t.j41(0,"small"),t.EFF(1),t.k0s()),2&n){const e=t.XpG().$implicit,o=t.XpG(3);t.R7$(),t.JRh(o.jobTitle(e))}}function ht(n,i){if(1&n&&(t.j41(0,"li"),t.DNE(1,mt,1,2,"img",21)(2,dt,2,1,"span",22),t.j41(3,"strong"),t.EFF(4),t.k0s(),t.DNE(5,ft,2,1,"small",22),t.k0s()),2&n){const e=i.$implicit,o=t.XpG(3);t.R7$(),t.Y8G("ngIf",e.photoUrl),t.R7$(),t.Y8G("ngIf",!e.photoUrl),t.R7$(2),t.JRh(e.name),t.R7$(),t.Y8G("ngIf",o.jobTitle(e))}}function ut(n,i){if(1&n&&(t.j41(0,"ul"),t.DNE(1,ht,6,4,"li",65),t.k0s()),2&n){const e=t.XpG(2);t.R7$(),t.Y8G("ngForOf",e.visiblePeople)}}function Ct(n,i){if(1&n&&(t.j41(0,"section",82)(1,"h2"),t.EFF(2,"Meet the team"),t.k0s(),t.DNE(3,gt,2,0,"p",50)(4,ut,2,1,"ul",22),t.k0s()),2&n){const e=t.XpG();t.R7$(3),t.Y8G("ngIf",!e.visiblePeople.length),t.R7$(),t.Y8G("ngIf",e.visiblePeople.length)}}function Pt(n,i){1&n&&(t.j41(0,"em"),t.EFF(1,"Sample"),t.k0s())}function bt(n,i){if(1&n&&(t.j41(0,"li")(1,"span",88),t.EFF(2),t.k0s(),t.j41(3,"strong"),t.EFF(4),t.k0s(),t.j41(5,"small"),t.EFF(6),t.k0s(),t.j41(7,"small"),t.EFF(8),t.k0s()()),2&n){const e=i.$implicit;t.R7$(2),t.JRh(e.partner),t.R7$(2),t.JRh(e.partner),t.R7$(2),t.JRh(e.work),t.R7$(2),t.JRh(e.when)}}function xt(n,i){if(1&n&&(t.j41(0,"section",86)(1,"div",48)(2,"h2"),t.EFF(3,"Past collaborations "),t.DNE(4,Pt,2,0,"em",22),t.k0s()(),t.j41(5,"ul",87),t.DNE(6,bt,9,4,"li",65),t.k0s()()),2&n){const e=t.XpG(2);t.R7$(4),t.Y8G("ngIf",!e.pressKit.configured),t.R7$(2),t.Y8G("ngForOf",e.pressKit.pastCollabs)}}function kt(n,i){if(1&n&&(t.j41(0,"p",94),a.qSk(),t.j41(1,"svg",34),t.nrm(2,"rect",95)(3,"path",96),t.k0s(),a.joV(),t.j41(4,"a",97),t.EFF(5),t.k0s()()),2&n){const e=t.XpG(3);t.R7$(4),t.Y8G("href",e.collabMailto,t.B4B),t.R7$(),t.JRh(e.email)}}function yt(n,i){1&n&&(t.j41(0,"p",53),t.EFF(1,"Add an account email in settings so partners have a contact."),t.k0s())}function Mt(n,i){if(1&n&&(t.j41(0,"p",94),a.qSk(),t.j41(1,"svg",34),t.nrm(2,"circle",35)(3,"path",36),t.k0s(),a.joV(),t.j41(4,"a",98),t.EFF(5),t.k0s()()),2&n){const e=t.XpG(3);t.R7$(4),t.Y8G("href",e.websiteHref,t.B4B),t.R7$(),t.JRh(e.profile.website)}}function vt(n,i){if(1&n&&(t.j41(0,"p",94)(1,"a",98),t.EFF(2),t.k0s()()),2&n){const e=i.$implicit,o=t.XpG(3);t.R7$(),t.Y8G("href",o.externalHref(e.url),t.B4B),t.R7$(),t.JRh(e.label)}}function Ot(n,i){if(1&n&&(t.j41(0,"a",99),t.EFF(1,"Let's collaborate"),t.k0s()),2&n){const e=t.XpG(3);t.Y8G("href",e.collabMailto,t.B4B)}}function Ft(n,i){if(1&n&&(t.j41(0,"section",89)(1,"h2"),t.EFF(2,"Get in touch"),t.k0s(),t.j41(3,"p"),t.EFF(4,"Interested in working together? Reach out and share the title, the kind of partnership, and your timeline."),t.k0s(),t.DNE(5,kt,6,2,"p",90)(6,yt,2,0,"ng-template",null,2,t.C5r)(8,Mt,6,2,"p",91)(9,vt,3,2,"p",92)(10,Ot,2,1,"a",93),t.k0s()),2&n){const e=t.sdS(7),o=t.XpG(2);t.R7$(5),t.Y8G("ngIf",o.email)("ngIfElse",e),t.R7$(3),t.Y8G("ngIf",o.websiteHref),t.R7$(),t.Y8G("ngForOf",o.pressKit.outboundLinks),t.R7$(),t.Y8G("ngIf",o.email)}}function wt(n,i){if(1&n&&(t.j41(0,"div",83),t.DNE(1,xt,7,2,"section",84)(2,Ft,11,5,"section",85),t.k0s()),2&n){const e=t.XpG();t.R7$(),t.Y8G("ngIf",e.pressKit.sections.pastCollabs&&e.pressKit.pastCollabs.length),t.R7$(),t.Y8G("ngIf",e.pressKit.sections.contact)}}let Et=(()=>{class n{publisherProfile;auth;comicsService;members;profilePhotos;embedded=!1;profile={companyName:"",description:"",goals:"",audience:"",brandGuidance:"",website:"",logoUrl:""};email="";ownerName="";ownerPhoto="";comics=[];loadingComics=!0;showCatalog=!1;pressKit={configured:!1,socialLinks:[],outboundLinks:[],services:[],pastCollabs:[],sections:(0,y.hV)(),hiddenTeamIds:[],teamTitles:[]};people=[];rosterJobTitles=new Map;previewTitles=new Map;destroy$=new O.B;constructor(e,o,s,r,p){this.publisherProfile=e,this.auth=o,this.comicsService=s,this.members=r,this.profilePhotos=p}get companyName(){return this.profile.companyName.trim()||"Publishing company"}get initial(){return this.companyName.slice(0,1).toUpperCase()}get about(){return this.profile.description.trim()||"Add a description in Company profile."}
1get interest(){return this.profile.audience.trim()||"Comics and graphic novels"}get featured(){return this.comics[0]||null}get visiblePeople(){const e=new Set(this.pressKit.hiddenTeamIds);return this.people.filter(o=>!e.has(o.id))}jobTitle(e){const o=[e.id,e.email,e.name].map(s=>s.trim()).filter(Boolean);for(const s of o){const r=(this.pressKit.teamTitles||[]).find(C=>C.id===s)?.title.trim();if(r)return r;const p=this.rosterJobTitles.get(s);if(p)return p;const l=this.previewTitles.get(s);if(l)return l}return""}get websiteHref(){const e=this.profile.website.trim();return e?/^https?:\/\//i.test(e)?e:`https://${e}`:""}get collabMailto(){const e=encodeURIComponent(`Collaboration with ${this.companyName}`);return`mailto:${this.email}?subject=${e}`}externalHref(e){const o=e.trim();return o?/^(https?:|mailto:)/i.test(o)?o:`https://${o}`:""}ngOnInit(){this.previewTitles=function jt(){if(typeof window>"u"||!window.location.search.includes("preview="))return new Map;try{const n=sessionStorage.getItem("pressKit.previewTitles"),i=n?JSON.parse(n):{},e=new Map;for(const[o,s]of Object.entries(i))"string"==typeof s&&o.trim()&&s.trim()&&e.set(o.trim(),s.trim());return e}catch{return new Map}}(),this.publisherProfile.profile$.pipe((0,u.Q)(this.destroy$)).subscribe(e=>{this.showingCompanyAccount()||(this.profile=e)}),this.publisherProfile.activeCompany$.pipe((0,u.Q)(this.destroy$)).subscribe(e=>{this.showingCompanyAccount()&&e.companyName.trim()&&(this.profile=e)}),this.publisherProfile.displayedPressKit$.pipe((0,u.Q)(this.destroy$)).subscribe(e=>{this.pressKit=e}),this.publisherProfile.displayedPressContact$.pipe((0,u.Q)(this.destroy$)).subscribe(e=>{this.showingCompanyAccount()&&(this.email=e.email,this.ownerName=e.name,this.ownerPhoto=e.photoUrl,this.patchOwnerPerson())}),this.publisherProfile.companySelected$.pipe((0,u.Q)(this.destroy$)).subscribe(()=>{this.bindAccount()}),this.auth.authState$.pipe((0,u.Q)(this.destroy$)).subscribe(e=>{this.showingCompanyAccount()||(this.email=e?.email||"",this.ownerName=e?.displayName||e?.username||"",this.ownerPhoto=e?.photoURL||""),this.bindAccount()})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}scrollToCollab(){document.getElementById("press-kit-collab")?.scrollIntoView({behavior:"smooth",block:"start"})}showingCompanyAccount(){const e=this.auth.getCurrentUser()?.id||"",o=this.publisherProfile.pressKitOwnerId;return!!e&&!!o&&o!==e}bindAccount(){const e=this.auth.getCurrentUser();if(this.showingCompanyAccount()){const o=this.publisherProfile.displayedPressContact;this.email=o.email,this.ownerName=o.name,this.ownerPhoto=o.photoUrl;const s=this.publisherProfile.activeCompany;return s.companyName.trim()&&(this.profile=s),void this.load(this.publisherProfile.pressKitOwnerId)}this.email=e?.email||"",this.ownerName=e?.displayName||e?.username||"",this.ownerPhoto=e?.photoURL||"",this.profile=this.publisherProfile.profile,this.load(e?.id||"")}patchOwnerPerson(){const e=this.publisherProfile.pressKitOwnerId;e&&(this.people=this.people.map(o=>o.id===e?{...o,name:this.ownerName||o.name,photoUrl:this.ownerPhoto||o.photoUrl}:o))}loadToken=0;load(e){var o=this;return(0,b.A)(function*(){const s=++o.loadToken;if(!e)return o.loadingComics=!1,o.comics=[],void(o.people=[]);o.loadingComics=!0;try{const[r,p,l]=yield Promise.all([o.comicsService.getComicsOwnedBy(e).catch(()=>[]),o.members.getOwnerTeamRoster(e).catch(()=>[]),o.members.listJobTitles(e).catch(()=>new Map)]);if(s!==o.loadToken)return;o.rosterJobTitles=l;let C=r.filter(P=>P.userId===e&&!P.isTeamComic);const k=o.auth.getCurrentUser()?.id||"";if(!C.length&&e!==k&&(C=yield o.comicsFromRoster(e,p),s!==o.loadToken)||(o.comics=C.map(P=>o.toPressComic(P)),o.people=yield o.withMemberPhotos(E(e,o.ownerName,o.ownerPhoto,p)),s!==o.loadToken))return}finally{s===o.loadToken&&(o.loadingComics=!1)}})()}comicsFromRoster(e,o){var s=this;return(0,b.A)(function*(){const r=new Set;for(const l of o){const C=l.projectIds||l.allowedComicIds;if(Array.isArray(C))for(const P of C)"string"==typeof P&&P.trim()&&r.add(P.trim());const k=l.projectId;"string"==typeof k&&k.trim()&&r.add(k.trim())}return(yield Promise.all([...r].map(l=>s.comicsService.getComic(l).catch(()=>null)))).filter(l=>!!l&&l.userId===e&&!l.isTeamComic)})()}withMemberPhotos(e){var o=this;return(0,b.A)(function*(){return Promise.all(e.map(function(){var s=(0,b.A)(function*(r){if(r.photoUrl)return r;const p=yield o.profilePhotos.lookupAvatar(r.id);return p?{...r,photoUrl:p}:r});return function(r){return s.apply(this,arguments)}}()))})()}toPressComic(e){const o="graphic-novel"===e.bookType?"Graphic novel":"one-shot"===e.bookType?"One-shot":"chapter"
1===e.bookType?"Chapter":"",s=e.primaryFormat&&"mixed"!==e.primaryFormat?e.primaryFormat.charAt(0).toUpperCase()+e.primaryFormat.slice(1):"",r=[o,e.primaryStyle||"",s].map(p=>p.trim()).filter(Boolean);return{id:e.id,title:e.title||"Untitled",description:(e.description||e.creativeBrief?.logline||"").trim(),coverImageUrl:e.coverImageUrl||"",hubSlug:(e.linkHubSlug||"").trim(),tags:r.slice(0,3),pageCount:e.pageCount||0}}static \u0275fac=function(o){return new(o||n)(t.rXU(y.fw),t.rXU(R.u),t.rXU(m.H),t.rXU(_.G),t.rXU(g.D))};static \u0275cmp=t.VBU({type:n,selectors:[["app-company-press-kit"]],inputs:{embedded:"embedded"},decls:8,vars:6,consts:[["featuredPlain",""],["stripPlain",""],["noMail",""],[1,"kit"],["class","banner",4,"ngIf"],[1,"mid"],["class","card","data-ryu-slot","catalog","aria-label","Featured titles",4,"ngIf"],["class","card","data-ryu-slot","audience","aria-label","Audience overview",4,"ngIf"],["class","card","data-ryu-slot","services","aria-label","Collaboration opportunities",4,"ngIf"],["class","card team","data-ryu-slot","team","aria-label","Meet the team",4,"ngIf"],["class","bottom","id","press-kit-collab",4,"ngIf"],[1,"banner"],["class","banner-art","alt","",3,"src",4,"ngIf"],["class","banner-art banner-art-empty",4,"ngIf"],[1,"banner-shade"],["class","banner-top",4,"ngIf"],["class","statbar","aria-label","Catalog statistics",4,"ngIf"],["alt","",1,"banner-art",3,"src"],[1,"banner-art","banner-art-empty"],[1,"banner-top"],[1,"logo-card"],[3,"src","alt",4,"ngIf"],[4,"ngIf"],[1,"identity"],[1,"kicker"],["data-ryu-slot","description",1,"about"],["data-ryu-slot","social",1,"socials"],["class","web-chip","target","_blank","rel","noopener",3,"href",4,"ngIf"],["class","web-chip text-chip","target","_blank","rel","noopener",3,"href",4,"ngFor","ngForOf"],[1,"banner-actions"],["class","ghost","target","_blank","rel","noopener",3,"href",4,"ngIf"],["type","button",1,"gold",3,"click"],[3,"src","alt"],["target","_blank","rel","noopener",1,"web-chip",3,"href"],["viewBox","0 0 24 24","aria-hidden","true"],["cx","12","cy","12","r","9","fill","none","stroke","currentColor","stroke-width","1.6"],["d","M3 12h18M12 3c2.5 2.8 3.8 5.8 3.8 9s-1.3 6.2-3.8 9c-2.5-2.8-3.8-5.8-3.8-9s1.3-6.2 3.8-9z","fill","none","stroke","currentColor","stroke-width","1.6"],["target","_blank","rel","noopener",1,"web-chip","text-chip",3,"href"],["target","_blank","rel","noopener",1,"ghost",3,"href"],["aria-label","Catalog statistics",1,"statbar"],["d","M6 4h9l3 3v13H6z","fill","none","stroke","currentColor","stroke-width","1.6"],["d","M15 4v3h3M8 11h8M8 15h6","fill","none","stroke","currentColor","stroke-width","1.6"],["cx","9","cy","9","r","3","fill","none","stroke","currentColor","stroke-width","1.6"],["d","M4 19c.6-2.6 2.5-4 5-4s4.4 1.4 5 4M16 8a2.5 2.5 0 0 1 0 5","fill","none","stroke","currentColor","stroke-width","1.6"],["d","M4 19V5M4 19h16","fill","none","stroke","currentColor","stroke-width","1.6"],["d","M8 15l3-4 3 2 4-6","fill","none","stroke","currentColor","stroke-width","1.6"],["d","M12 19s-7-4.4-7-9a4 4 0 0 1 7-2 4 4 0 0 1 7 2c0 4.6-7 9-7 9z","fill","none","stroke","currentColor","stroke-width","1.6"],["data-ryu-slot","catalog","aria-label","Featured titles",1,"card"],[1,"card-head"],["type","button","class","text-link",3,"click",4,"ngIf"],["class","muted",4,"ngIf"],["class","strip",4,"ngIf"],["type","button",1,"text-link",3,"click"],[1,"muted"],[1,"feature"],["class","cover-link",3,"routerLink",4,"ngIf","ngIfElse"],["class","tags",4,"ngIf"],[1,"blurb"],[1,"facts"],[3,"routerLink",4,"ngIf"],[1,"cover-link",3,"routerLink"],["class","cover-fallback",4,"ngIf"],[1,"cover-fallback"],[1,"cover-link"],[1,"tags"],[4,"ngFor","ngForOf"],[3,"routerLink"],[1,"strip"],[3,"routerLink",4,"ngIf","ngIfElse"],["data-ryu-slot","audience","aria-label","Audience overview",1,"card"],[1,"audience"],["viewBox","0 0 48 48","aria-hidden","true"],["x","8","y","26","width","6","height","12","rx","1","fill","#c9b6ef"],["x","18","y","18","width","6","height","20","rx","1","fill","#9b7de0"],["x","28","y","12","width","6","height","26","rx","1","fill","#7c5cbf"],["cx","24","cy","24","r","12","fill","none","stroke","#d9cff0","stroke-width","6"],["d","M24 12a12 12 0 0 1 10.4 18","fill","none","stroke","#7c5cbf","stroke-width","6","stroke-linecap","round"],["d","M10 30c4-8 8-6 10-10 2 2 4 1 6-2 3 1 6 6 8 8 2 4-2 10-10 10H16c-4 0-7-2-6-6z","fill","#d9cff0","stroke","#7c5cbf","stroke-width","1.4"],["d","M14 12h16a4 4 0 0 1 4 4v18l-6-3-6 3-6-3-6 3V16a4 4 0 0 1 4-4z","fill","none","stroke","#7c5cbf","stroke-width","1.8"],["data-ryu-slot","services","aria-label","Collaboration opportunities",1,"card"],[1,"opps"],["aria-hidden","true",1,"opp-icon"],["data-ryu-slot","team","aria-label","Meet the team",1,"card","team"],["id","press-kit-collab",1,"bottom"],["class","card","data-ryu-slot","collab","aria-label","Past collaborations",4,"ngIf"],["class","card touch","data-ryu-slot","email","aria-label","Get in touch",4,"ngIf"],["data-ryu-slot","collab","aria-label","Past collaborations",1,"card"],[1,"past"],[1,"wordmark"],["data-ryu-slot","email","aria-label","Get in touch",1,"card","touch"],["class","line",4,"ngIf","ngIfElse"],["class","line",4,"ngIf"],["class","line",4,"ngFor","ngForOf"],["class","gold wide",3,"href",4,"ngIf"],[1,"line"],["x","3","y","5","width","18","height","14","rx","2","fill","none","stroke","currentColor","stroke-width","1.6"],["d","M4 7l8 6 8-6","fill","none","stroke","currentColor","stroke-width","1.6"],[3,"href"],["target","_blank","rel","noopener",3,"href"],[1,"gold","wide",3,"href"]],template:function(o,s){1&o&&(t.j41(0,"article",3),t.DNE(1,D,6,4,"header",4),t.j41(2,"div",5),t.DNE(3,at,9,5,"section",6)(4,ct,50,1,"section",7),t.k0s(),t.DNE(5,_t,7,2,"section",8)(6,Ct,5,2,"section",9)(7,wt,3,2,"div",10),t.k0s()),2&o&&(t.R
17$(),t.Y8G("ngIf",s.pressKit.sections.banner||s.pressKit.sections.stats),t.R7$(2),t.Y8G("ngIf",s.pressKit.sections.titles),t.R7$(),t.Y8G("ngIf",s.pressKit.sections.audience),t.R7$(),t.Y8G("ngIf",s.pressKit.sections.opportunities&&s.pressKit.services.length),t.R7$(),t.Y8G("ngIf",s.pressKit.sections.team),t.R7$(),t.Y8G("ngIf",s.pressKit.sections.pastCollabs||s.pressKit.sections.contact))},dependencies:[f.MD,f.Sq,f.bT,h.Wk],styles:["[_nghost-%COMP%]{display:block;color:#2a241c}.kit[_ngcontent-%COMP%]{display:grid;gap:14px}.banner[_ngcontent-%COMP%]{position:relative;overflow:hidden;border-radius:22px;background:#161410;color:#f7f1e6;min-height:280px;display:flex;flex-direction:column;justify-content:space-between}.banner-art[_ngcontent-%COMP%]{position:absolute;top:0;right:0;width:46%;height:72%;object-fit:cover;object-position:center top}.banner-art-empty[_ngcontent-%COMP%]{background:radial-gradient(circle at 70% 40%,#f4e2b0 0 18px,transparent 19px),linear-gradient(115deg,transparent 20%,#2a2418 70%)}.banner-shade[_ngcontent-%COMP%]{position:absolute;inset:0;background:linear-gradient(90deg,#161410 0 48%,#1614108c 68%,#16141033)}.banner-top[_ngcontent-%COMP%], .statbar[_ngcontent-%COMP%]{position:relative;z-index:1}.banner-top[_ngcontent-%COMP%]{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:18px;align-items:start;padding:22px 22px 8px}.logo-card[_ngcontent-%COMP%]{width:112px;height:112px;border-radius:16px;background:#f4efe6;display:grid;place-items:center;overflow:hidden}.logo-card[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:contain}.logo-card[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-family:Georgia,serif;font-size:42px;color:#1c1c1c}.kicker[_ngcontent-%COMP%]{margin:4px 0 6px;color:#e4c48a;font-size:11px;font-weight:700;letter-spacing:.16em;text-transform:uppercase}h1[_ngcontent-%COMP%]{margin:0;font-family:Georgia,Times New Roman,serif;font-size:40px;font-weight:500;line-height:1.05}.about[_ngcontent-%COMP%]{margin:8px 0 0;max-width:34rem;color:#e7dfd2;font-size:14px;line-height:1.45}.web-chip[_ngcontent-%COMP%]{display:inline-grid;place-items:center;width:28px;height:28px;margin-top:12px;border-radius:999px;border:1px solid rgba(255,255,255,.35);color:#f7f1e6}.web-chip[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%], .statbar[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%], .line[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{width:16px;height:16px}.socials[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:12px}.socials[_ngcontent-%COMP%]   .web-chip[_ngcontent-%COMP%]{margin-top:0}.text-chip[_ngcontent-%COMP%]{width:auto;padding:0 10px;font-size:12px;font-weight:700;text-decoration:none}.banner-actions[_ngcontent-%COMP%]{display:flex;gap:8px}.ghost[_ngcontent-%COMP%], .gold[_ngcontent-%COMP%]{border-radius:999px;padding:8px 14px;font-size:13px;font-weight:700;text-decoration:none;cursor:pointer}.ghost[_ngcontent-%COMP%]{border:1px solid rgba(255,255,255,.45);color:#f7f1e6;background:transparent}.gold[_ngcontent-%COMP%]{border:0;background:#e4b15a;color:#2a2114}.gold.wide[_ngcontent-%COMP%]{display:inline-block;margin-top:8px;padding:10px 16px}.statbar[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(4,1fr);margin:16px 14px 14px;padding:12px 8px;border-radius:14px;background:#0c0a08b8;border:1px solid rgba(228,196,138,.25)}.statbar[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:grid;grid-template-columns:22px auto;grid-template-rows:auto auto;column-gap:8px;align-items:center;justify-content:center;padding:4px 10px;border-right:1px solid rgba(228,196,138,.28);color:#e4c48a}.statbar[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{border-right:0}.statbar[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{grid-row:1/span 2}.statbar[_ngcontent-%COMP%]   strong[_ngcontent-%COMP%]{font-family:Georgia,serif;font-size:22px;font-weight:500;color:#f3d48a}.statbar[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:12px;color:#f7f1e6}.statbar[_ngcontent-%COMP%]   em[_ngcontent-%COMP%], .facts[_ngcontent-%COMP%]   em[_ngcontent-%COMP%], h2[_ngcontent-%COMP%]   em[_ngcontent-%COMP%]{font-style:normal;font-size:10px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#a78449}.mid[_ngcontent-%COMP%], .bottom[_ngcontent-%COMP%]{display:grid;grid-template-columns:1.35fr .9fr;gap:14px}.card[_ngcontent-%COMP%]{background:#fff;border:1px solid #ece4d8;border-radius:18px;padding:16px 16px 18px;min-width:0}
1.card-head[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px}h2[_ngcontent-%COMP%]{margin:0;font-size:16px;font-weight:650}.text-link[_ngcontent-%COMP%]{border:0;background:none;color:#8a6238;font-weight:650;cursor:pointer;padding:0}.feature[_ngcontent-%COMP%]{display:grid;grid-template-columns:148px minmax(0,1fr);gap:16px}.cover-link[_ngcontent-%COMP%]   img[_ngcontent-%COMP%], .cover-fallback[_ngcontent-%COMP%]{width:148px;height:200px;object-fit:cover;border-radius:12px;display:grid;place-items:center;background:#c9a36a;color:#1c1c1c;font-size:32px;font-weight:700}.feature[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{margin:0 0 8px;font-family:Georgia,serif;font-size:28px;font-weight:500}.tags[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:6px;list-style:none;margin:0 0 10px;padding:0}.tags[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{border:1px solid #e4d8c8;border-radius:999px;padding:3px 8px;font-size:12px;color:#6f675f}.blurb[_ngcontent-%COMP%]{margin:0 0 12px;color:#4e463f;font-size:14px;line-height:1.45}.facts[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0;display:grid;gap:6px;font-size:13px}.facts[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#8a6238;font-weight:650;text-decoration:none}.muted[_ngcontent-%COMP%]{margin:0;color:#6f675f}.strip[_ngcontent-%COMP%]{display:flex;gap:10px;overflow-x:auto;list-style:none;margin:14px 0 0;padding:0 0 6px}.strip[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{flex:0 0 84px}.strip[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], .strip[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:4px;color:inherit;text-decoration:none}.strip[_ngcontent-%COMP%]   img[_ngcontent-%COMP%], .strip[_ngcontent-%COMP%]   .cover-fallback[_ngcontent-%COMP%]{width:84px;height:112px;border-radius:8px;font-size:18px}.strip[_ngcontent-%COMP%]   strong[_ngcontent-%COMP%]{font-size:12px;line-height:1.25}.strip[_ngcontent-%COMP%]   small[_ngcontent-%COMP%]{color:#8a7352;font-size:10px}.audience[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr;gap:10px}.audience[_ngcontent-%COMP%]   article[_ngcontent-%COMP%]{display:flex;justify-content:space-between;gap:8px;border:1px solid #f0e7db;border-radius:14px;padding:12px;min-height:108px}.audience[_ngcontent-%COMP%]   strong[_ngcontent-%COMP%]{display:block;font-family:Georgia,serif;font-size:28px;font-weight:500}.audience[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:block;font-weight:650;font-size:13px}.audience[_ngcontent-%COMP%]   small[_ngcontent-%COMP%]{color:#6f675f}.audience[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{width:42px;height:42px;flex:none}.opps[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.opps[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{display:flex;gap:10px;align-items:flex-start;background:#fbf7f1;border-radius:14px;padding:12px}.opp-icon[_ngcontent-%COMP%]{width:36px;height:36px;flex:none;border-radius:999px;display:grid;place-items:center;background:#e4b15a;color:#2a2114;font-size:14px;font-weight:700}.opps[_ngcontent-%COMP%]   strong[_ngcontent-%COMP%]{display:block;font-size:14px}.opps[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin:4px 0 0;color:#6f675f;font-size:12px;line-height:1.4}.team[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:22px 16px;align-items:flex-start}.team[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{width:128px;text-align:center}.team[_ngcontent-%COMP%]   img[_ngcontent-%COMP%], .team[_ngcontent-%COMP%]   li[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{width:72px;height:72px;border-radius:999px;object-fit:cover;display:grid;place-items:center;margin:0 auto;background:#e4b15a;color:#2a2114;font-size:24px;font-weight:700}.team[_ngcontent-%COMP%]   strong[_ngcontent-%COMP%]{display:block;margin-top:8px;font-size:13px;line-height:1.3;overflow-wrap:anywhere}.team[_ngcontent-%COMP%]   small[_ngcontent-%COMP%]{display:block;margin-top:2px;color:#6f675f;font-size:12px;line-height:1.35;overflow-wrap:anywhere}.past[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0;display:flex;gap:10px;overflow-x:auto}.past[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{flex:1 0 140px;background:#fbf7f1;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:2px}.wordmark[_ngcontent-%COMP%]{font-family:Georgia,serif;font-size:18px;letter-spacing:.04em;min-height:36px}.past[_ngcontent-%COMP%]   small[_ngcontent-%COMP%]{color:#6f675f}.touch[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin:8px 0;color:#4e463f;line-height:1.45}.line[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px}.line[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{width:16px;height:16px;color:#8a6238;flex:none}.line[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#2a241c;text-decoration:none}@media (max-width: 980px){.banner-top[_ngcontent-%COMP%], .mid[_ngcontent-%COMP%], .bottom[_ngcontent-%COMP%], .opps[_ngcontent-%COMP%]{grid-template-columns:1fr}.banner-actions[_ngcontent-%COMP%]{grid-column:1/-1}.statbar[_ngcontent-%COMP%]{grid-template-columns:1fr 1fr}.statbar[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-right:0}h1[_ngcontent-%COMP%]{font-size:32px}}"]})}return n})();function E(n,i,e,o){const s=o.filter(r=>"removed"!==String(r.status||"active")).filter(r=>String(r.userId||"")!==n).map(r=>({id:String(r.userId||r.email||r.name||""),name:String(r.name||r.email||"Teammate"),email:String(r.email||""),role:String(r.role||"Team"),photoUrl:String(r.photoURL||r.photoUrl||"")})).filter(r=>r.id);return[{id:n,name:i||"Owner",email:"",role:"Publisher",photoUrl:e},...s]}},44094:(j,v,c)=>{c.d(v,{D:()=>t});
1var b=c(10467),f=c(62306),h=c(96946),O=c(71673),u=c(40124);let t=(()=>{class a{storage=(0,f.WQX)(h.wc);auth=(0,f.WQX)(O.u);members=(0,f.WQX)(u.G);upload(m){var _=this;return(0,b.A)(function*(){const g=_.auth.getCurrentUser();if(!g?.id)throw new Error("Sign in to add a profile photo.");if(!m.type.startsWith("image/"))throw new Error("Choose an image file.");if(m.size>5242880)throw new Error("Profile photos must be under 5MB.");const d=m.type||"image/jpeg",M=(0,h.KR)(_.storage,`profile-photos/${g.id}/avatar.${"image/png"===d?"png":"image/webp"===d?"webp":"jpg"}`);yield(0,h.D)(M,m,{contentType:d});const x=yield(0,h.qk)(M);return yield _.auth.updateUser({...g,photoURL:x}),yield _.members.saveOwnPhoto(g.id,x),x})()}lookupAvatar(m){var _=this;return(0,b.A)(function*(){const g=m.trim();if(!g||g.includes("@"))return"";for(const d of["jpg","png","webp"])try{return yield(0,h.qk)((0,h.KR)(_.storage,`profile-photos/${g}/avatar.${d}`))}catch{}return""})()}static \u0275fac=function(_){return new(_||a)};static \u0275prov=f.jDH({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.