PageSourceSearch

https://booksprout.co/reviewer/js/app.5a5a179d.js

js booksprout.co collected 2026-10-01 12:12:59 UTC 650,277 bytes, 3,589 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"2.19.1"},e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];if(null!=o)for(var i in o)o.hasOwnProperty(i)&&(e[i]=o[i])}return e}({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:booksprout-reviewer-app":!0});var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="eba6b02c-6d2e-4d8b-b94f-4df3349be2b4",e._sentryDebugIdIdentifier="sentry-dbid-eba6b02c-6d2e-4d8b-b94f-4df3349be2b4")}catch(e){}}(),(()=>{var e={46749(e,t,o){"use strict";o.r(t);const i={axios:{url:"https://beta.booksprout.co/api/"},apolloClient:{url:"https://beta.booksprout.co/api/graphql"},quadernoApiKey:"pk_test_zVtjVCesmXZo--pT31C-",stripeApiKey:"pk_test_em1d5DZ5uSDda8RnUhRWjcAg"};o.d(t,["default",0,i])},79633(e,t,o){"use strict";o.r(t);const i={axios:{url:"https://booksprout.co/api/"},apolloClient:{url:"https://booksprout.co/api/graphql"},quadernoApiKey:"pk_live_UMHswonDASRsoxBWxNgq",stripeApiKey:"pk_live_vfxh23gdLToJz5E3cRUsXlHD"};o.d(t,["default",0,i])},9108(e,t,o){"use strict";o.r(t);const i={axios:{url:"https://sandbox.booksprout.co/api/"},apolloClient:{url:"https://sandbox.booksprout.co/api/graphql"},quadernoApiKey:"pk_test_zVtjVCesmXZo--pT31C-",stripeApiKey:"pk_test_em1d5DZ5uSDda8RnUhRWjcAg"};o.d(t,["default",0,i])},14802(e,t,o){"use strict";o.r(t);const i={axios:{url:"https://staging.booksprout.co/api/"},apolloClient:{url:"https://staging.booksprout.co/api/graphql"}};o.d(t,["default",0,i])},66262(e,t,o){"use strict";o.r(t);const i={axios:{url:"https://dev.booksprout.co/api/"},apolloClient:{url:"https://dev.booksprout.co/api/graphql"},quadernoApiKey:"pk_test_zVtjVCesmXZo--pT31C-",stripeApiKey:"pk_test_em1d5DZ5uSDda8RnUhRWjcAg"};o.d(t,["default",0,i])},44589(e,t,o){"use strict";o.r(t);const i={axios:{url:"https://testing.booksprout.co/api/"},apolloClient:{url:"https://testing.booksprout.co/api/graphql"},quadernoApiKey:"pk_test_zVtjVCesmXZo--pT31C-",stripeApiKey:"pk_test_51JbmxgFeaQNDDEj5vIIDtC7vlehhDuNEA60c4VNuPXKGl6hmpHNWaq6Ol36ZYkJoCN1ebYRC4LJanQrDcW6w1hjX00WFmCaoZa"};o.d(t,["default",0,i])},64340(e,t){t.E={website:"booksprout-website",authorApp:"booksprout-author-app",reviewerApp:"booksprout-reviewer-app"}},72647(e){class t{getStore(){}enterWith(){}run(e,t){return t()}}e.exports={AsyncLocalStorage:t}},34639(e,t){"use strict";const o="";function i(){}function r(){return i}t.iw=r,t.D0=r,t.NZ=r,t.an=r,t.nt=o,t.Ai=o},92271(e,t,o){"use strict";o.d(t,{A:()=>d}),o.dn(d);var i=o(17979),r=o(7869),a=o(74906),n=o(36045),s=o(89221);const l=(0,s.pM)({name:"AppWrapper",setup(e){return(0,s.sV)(()=>{const{proxy:{$q:e}}=(0,s.nI)();void 0!==e.onSSRHydrated&&e.onSSRHydrated()}),()=>(0,s.h)(a.A,e)}});async function d(e,t,o){const a=e(l);a.use(i.A,t,o);const s=(0,r.IG)("function"===typeof n.A?await(0,n.A)({ssrContext:o}):n.A);return{app:a,router:s}}},59872(e,t,o){"use strict";o(89821),o(94139),o(18491);var i=o(33995),r=(o(11048),o(53823),o(92271)),a=o(5656),n=o(79861);const s="/reviewer/";async function l({app:e,router:t},o){let i=!1;const r=e=>{try{return t.resolve(e).href}catch(e){}return Object(e)===e?null:e},a=e=>{if(i=!0,"string"===typeof e&&/^https?:\/\//.test(e))return void(window.location.href=e);const t=r(e);null!==t&&(window.location.href=t)},l=window.location.href.replace(window.location.origin,"");for(let r=0;!1===i&&r<o.length;r++)try{await o[r]({app:e,router:t,ssrContext:null,redirect:a,urlPath:l,publicPath:s})}catch(e){return e&&e.url?void a(e.url):void console.error("[Quasar] boot error:",e)}!0!==i&&(e.use(t),t.isReady().then(()=>{(0,n.V)({router:t,publicPath:s}),e.mount("#q-app")}))}(0,r.A)(i.m1,a.A).then(e=>{const[t,i]=void 0!==Promise.allSettled?["allSettled",e=>e.map(e=>{if("rejected"!==e.status)return e.value.default;console.error("[Quasar] boot error:",e.reason)})]:["all",e=>e.map(e=>e.default)];return Promise[t]([Promise.resolve().then(()=>o(16866)),Promise.resolve().then(()=>o(17689)),Promise.resolve().then(()=>o(49186)),Promise.resolve().then(()=>o(76948)),Promise.resolve().then(()=>o(45919)),Promise.resolve().then(()=>o(35883)),Promise.resolve().then(()=>o(72145)),Promise.resolve().then(()=>o(28609)),Promise.resolve().then(()=>o(78857)),Promise.resolve().then(()=>o(57215)),Promise.resolve().then(()=>o(44861))]).then(t=>{const o=i(t).filter(e=>"function"===typeof e);l(e,o)})})},79861(e,t,o){"use strict";o.d(t,{V:()=>r});o(89821),o(94139),o(18491);function i(e,t){const o=e?e.matched?e:t.resolve(e).route:t.currentRoute.value;if(!o)return[];const i=o.matched.filter(e=>void 0!==e.components);return 0===i.length?[]:Array.prototype.concat.apply([],i.map(e=>Object.keys(e.components).map(t=>{const o=e.components[t];return{path:e.path,c:o}})))}function r({router:e,publicPath:t}
1){e.beforeResolve(async(o,r,a)=>{const n=window.location.href.replace(window.location.origin,""),s=i(o,e),l=i(r,e);let d=!1;const c=s.filter((e,t)=>d||(d=!l[t]||l[t].c!==e.c||e.path.indexOf("/:")>-1)).filter(e=>void 0!==e.c&&("function"===typeof e.c.preFetch||void 0!==e.c.__c&&"function"===typeof e.c.__c.preFetch)).map(e=>void 0!==e.c.__c?e.c.__c.preFetch:e.c.preFetch);if(0===c.length)return void a();let u=null;const p=e=>{u=e};for(let e=0;e<c.length;e++){try{await c[e]({currentRoute:o,previousRoute:r,redirect:p,urlPath:n,publicPath:t})}catch(e){return console.error(e),void a()}if(null!==u)return void a(u)}a()})}},5656(e,t,o){"use strict";var i=o(78935),r=o(17959),a=o(7421),n=o(65715),s=o(25508),l=o(1919);const d={config:{},plugins:{Cookies:i.A,Notify:r.A,Dialog:a.A,Loading:n.A,LocalStorage:s.A,Meta:l.Ay}};o.d(t,["A",0,d])},58189(e){e.exports={}},69215(e,t,o){"use strict";o.d(t,{X:()=>u});var i=o(89221),r=o(65365);const a={class:"bs-confirm-dialog"},n={class:"bs-modal__header"},s={class:"sr-only"},l=["innerHTML"],d={key:1,class:"full-width text-center"},c={class:"bs-modal__footer"};function u(e,t,o,u,p,v){const m=(0,i.g2)("q-icon"),y=(0,i.g2)("bs-btn"),g=(0,i.g2)("bs-img"),h=(0,i.g2)("q-avatar"),f=(0,i.g2)("q-dialog");return(0,i.uX)(),(0,i.Wv)(f,{ref:"confirmDialog",onHide:e.onDialogHide,class:(0,r.C4)({"bs-modal":!0,[e.additionalContentCssClass]:!!e.additionalContentCssClass}),position:e.$q.screen.gt.sm?void 0:"bottom",maximized:e.$q.screen.xs,persistent:""},{default:(0,i.k6)(()=>[(0,i.Lk)("div",a,[(0,i.Lk)("div",n,[(0,i.Lk)("h2",null,(0,r.v_)(e.heading),1),(0,i.bF)(y,{class:"bs-modal__close",color:"transparent","text-color":"bs-g",onClick:e.hide,"icon-only":""},{default:(0,i.k6)(()=>[(0,i.Lk)("span",s,(0,r.v_)(e.$t("system.actions.closeDialog")),1),(0,i.bF)(m,{name:"app:times-circle",size:"1rem"})]),_:1},8,["onClick"])]),e.bodyHtml?((0,i.uX)(),(0,i.CE)("p",{key:0,innerHTML:e.bodyHtml},null,8,l)):(0,i.Q3)("",!0),e.modelName?((0,i.uX)(),(0,i.CE)("div",d,[(0,i.bF)(h,{class:"on-left",size:"3rem"},{default:(0,i.k6)(()=>[e.modelImage?((0,i.uX)(),(0,i.Wv)(g,{key:0,"placeholder-src":"/cdn/no-image.png",ratio:"1",src:e.modelImage,contain:""},null,8,["src"])):(0,i.Q3)("",!0)]),_:1}),(0,i.Lk)("strong",null,(0,r.v_)(e.modelName),1)])):(0,i.Q3)("",!0),(0,i.Lk)("div",c,[(0,i.bF)(y,{onClick:e.no,warning:!e.invertColors,large:"",secondary:!e.invertColors},{default:(0,i.k6)(()=>[(0,i.eW)((0,r.v_)(e.noLabel),1)]),_:1},8,["onClick","warning","secondary"]),(0,i.bF)(y,{onClick:e.yes,warning:e.invertColors,large:"",secondary:""},{default:(0,i.k6)(()=>[(0,i.eW)((0,r.v_)(e.yesLabel),1)]),_:1},8,["onClick","warning"])])])]),_:1},8,["onHide","class","position","maximized"])}},60812(e,t,o){"use strict";o.d(t,{X:()=>u});var i=o(89221),r=o(65365);const a={class:"full-width flex justify-center"},n={class:"flex"},s={class:"full-width flex justify-center"},l={class:"bs-m-d-message column"},d={class:"bs-h4--mobile"},c={class:"sr-only"};function u(e,t,o,u,p,v){const m=(0,i.g2)("q-icon"),y=(0,i.g2)("bs-btn"),g=(0,i.g2)("q-dialog");return(0,i.uX)(),(0,i.Wv)(g,{ref:"thisDialog","data-cy":e.error?"errorMessageDialog":"successMessageDialog",class:(0,r.C4)(e.isContentScrolled?"bs-message-dialog bs-message-dialog__top":"bs-message-dialog"),onBeforeShow:e.onBeforeShow,onHide:e.onDialogHide,seamless:""},{default:(0,i.k6)(()=>[(0,i.Lk)("div",{class:(0,r.C4)(["bs-m-d-content",{"bs-m-d-content__error":e.error,"bs-m-d-content__success":!e.error}])},[(0,i.Lk)("div",{class:(0,r.C4)(["bs-m-d-icon flex justify-center items-center",{"bg-bs-r":e.error,"bg-bs-g":!e.error}])},[e.error?((0,i.uX)(),(0,i.CE)(i.FK,{key:0},[(0,i.Lk)("div",a,[(0,i.bF)(m,{name:"app:lightning-solid",size:".75rem"})]),(0,i.Lk)("div",n,[(0,i.bF)(m,{name:"app:plug-female",size:"1.25rem",class:"on-left-xs"}),(0,i.bF)(m,{name:"app:plug-male",size:"1.25rem"})]),(0,i.Lk)("div",s,[(0,i.bF)(m,{name:"app:lightning-solid",size:".75rem"})])],64)):((0,i.uX)(),(0,i.Wv)(m,{key:1,name:"app:check-thin",size:"1.5rem",class:"text-white"}))],2),(0,i.Lk)("div",l,[(0,i.Lk)("h2",d,(0,r.v_)(e.heading),1),(0,i.Lk)("p",null,(0,r.v_)(e.message),1)]),(0,i.bF)(y,{class:"bs-message-dialog__close",color:"transparent","text-color":"bs-grey-m",onClick:e.hide,"icon-only":""},{default:(0,i.k6)(()=>[(0,i.Lk)("span",c,(0,r.v_)(e.$t("system.actions.closeDialog")),1),(0,i.bF)(m,{name:"app:times-circle",size:"1rem"})]),_:1},8,["onClick"])],2)]),_:1},8,["data-cy","class","onBeforeShow","onHide"])}},92841(e,t,o){"use strict";o.d(t,{X:()=>l});var i=o(89221),r=o(65365);const a={key:1,class:"fullscreen bg-primary flex items-center q-pa-lg"},n={class:"full-width text-center"},s={class:"text-white q-mt-md"};function l(e,t,o,l,d,c){const u=(0,i.g2)("router-view"),p=(0,i.g2)("q-img");return e.isReadyToRender?((0,i.uX)(),(0,i.Wv)(u,{key:e.routerViewKey})):((0,i.uX)(),(0,i.CE)("div",a,[(0,i.Lk)("div",n,[(0,i.bF)(p,{src:"https://booksprout.co/cdn/logo-w.svg"}),(0,i.Lk)("div",s,(0,r.v_)(e.$tc("system.labels.loading")),1)])]))}},73889(e,t,o){"use strict";o.d(t,{X:()=>v});var i=o(89221),r=o(65365);const a={class:"bs-m-a-o-content"},n={class:"row justify-end"},s={class:"column"},l={class:"bs-h1--mobile"},d={class:"column"},c={class:"p-small__bold"},u={class:"column"},p={class:"p-small__bold"};function v(e,t,o,v,m,y){const g=(0,i.g2)("bs-btn"),h=(0,i.g2)("q-tab-panel"),f=(0,i.g2)("method-selection"),b=(0,i.g2)("q-tab-panels"),w=(0,i.g2)("q-tab"),A=(0,i.g2)("q-tabs"),D=(0,i.g2)("q-dialog");
1return(0,i.uX)(),(0,i.Wv)(D,{ref:"mobileAppOnboardingDialog",onHide:e.onDialogHide,class:"bs-mobile-app-onboarding","transition-show":"slide-right","transition-hide":"slide-left",maximized:"",persistent:""},{default:(0,i.k6)(()=>[(0,i.Lk)("div",a,[(0,i.bF)(b,{modelValue:e.tab,"onUpdate:modelValue":t[0]||(t[0]=t=>e.tab=t),swipeable:"",animated:""},{default:(0,i.k6)(()=>[(0,i.bF)(h,{class:"bs-m-a-o-c-step",name:"step-1"},{default:(0,i.k6)(()=>[(0,i.Lk)("div",n,[(0,i.bF)(g,{"text-color":"bs-grey-m",onClick:e.onboardingDone,"as-link":""},{default:(0,i.k6)(()=>[(0,i.eW)((0,r.v_)(e.$t("system.mobileAppOnboardingDialog.actions.skip")),1)]),_:1},8,["onClick"])]),(0,i.Lk)("figure",s,[t[2]||(t[2]=(0,i.Lk)("img",{src:"/cdn/author-reviewer.png",alt:"Booksprout",width:"308",height:"303"},null,-1)),(0,i.Lk)("figcaption",null,[(0,i.Lk)("h1",l,(0,r.v_)(e.$t("system.mobileAppOnboardingDialog.labels.community")),1),(0,i.Lk)("p",d,[(0,i.Lk)("strong",c,(0,r.v_)(e.$t("system.mobileAppOnboardingDialog.labels.reviewers")),1),(0,i.Lk)("span",null,(0,r.v_)(e.$t("system.mobileAppOnboardingDialog.labels.advancedReviewCopies")),1)]),(0,i.Lk)("p",u,[(0,i.Lk)("strong",p,(0,r.v_)(e.$t("system.mobileAppOnboardingDialog.labels.authors")),1),(0,i.Lk)("span",null,(0,r.v_)(e.$t("system.mobileAppOnboardingDialog.labels.booksReadAndReviewed")),1)])])])]),_:1}),(0,i.bF)(h,{class:"bs-m-a-o-c-step",name:"step-2"},{default:(0,i.k6)(()=>[t[3]||(t[3]=(0,i.Lk)("img",{src:"/cdn/logo-nb.svg",alt:"Booksprout logo"},null,-1)),(0,i.bF)(f,{onClick:e.hide},null,8,["onClick"])]),_:1})]),_:1},8,["modelValue"]),(0,i.bF)(A,{modelValue:e.tab,"onUpdate:modelValue":t[1]||(t[1]=t=>e.tab=t),"active-color":"bs-nb",align:"left","narrow-indicator":"",shrink:"",dense:""},{default:(0,i.k6)(()=>[(0,i.bF)(w,{name:"step-1",label:e.$tc("system.mobileAppOnboardingDialog.labels.stepX",void 0,[1]),ripple:!1},null,8,["label"]),(0,i.bF)(w,{name:"step-2",label:e.$tc("system.mobileAppOnboardingDialog.labels.stepX",void 0,[2]),ripple:!1},null,8,["label"])]),_:1},8,["modelValue"])])]),_:1},8,["onHide"])}},65732(e,t,o){"use strict";o.d(t,{AUc:()=>a.AU,C5f:()=>u.C5,C8e:()=>u.C8,Cby:()=>a.Cb,Cnm:()=>u.Cn,Fth:()=>c.Ft,HH7:()=>l.HH,Hg7:()=>i.H,JlW:()=>a.Jl,Kt2:()=>a.Kt,Kvq:()=>u.Kv,KyZ:()=>c.Ky,LI4:()=>a.LI,Lq4:()=>c.Lq,M$:()=>a.M$,NqL:()=>a.Nq,Nsd:()=>a.Ns,O0O:()=>p.O,P7l:()=>m.P,PPL:()=>n.PP,R3m:()=>n.R3,Rml:()=>y.R,Sl$:()=>c.Sl,Trt:()=>u.Tr,X6i:()=>a.X6,Zu3:()=>a.Zu,_0S:()=>s._0,aGX:()=>a.aG,cxc:()=>a.cx,dVZ:()=>c.dV,f3u:()=>a.f3,gOJ:()=>a.gO,h7u:()=>u.h7,hTK:()=>c.hT,jGy:()=>r.j,kGw:()=>n.kG,lUw:()=>a.lU,m2h:()=>n.VE,m88:()=>a.m8,n09:()=>d.n0,n1S:()=>n.n1,ol1:()=>a.ol,t64:()=>a.t6,vXi:()=>c.vX,xu5:()=>c.xu,yBQ:()=>v.y});var i=o(14573),r=o(61382),a=(o(44720),o(62272)),n=o(84433),s=(o(96193),o(5941)),l=o(58929),d=o(76566),c=o(52439),u=(o(87e3),o(3964)),p=(o(6324),o(54003),o(39282),o(82243),o(98739),o(35561),o(22801),o(82107)),v=o(37029),m=o(35161),y=(o(46810),o(94440));o(79023)},14573(e,t,o){"use strict";o.d(t,{H:()=>a});var i=o(42163),r=o.n(i);class a{constructor(e=!0){this.scopeToReviewer=e}slugify(e){return r()(e,{strict:!0})}adminLink(...e){return"/"+e.join("/")}adminList(e){const t=this.translateModule(e+"s");return this.adminLink(t)}adminUpdate(e,t){const o=this.translateModule(e);return this.adminLink(o,"update",t)}adminView(e,t){const o=this.translateModule(e);return this.adminLink(o,"view",t)}adminDelete(e,t){return this.adminLink(e,"delete",t)}adminCreate(e){const t=this.translateModule(e);return this.adminLink(t,"create")}translateModule(e,...t){switch(e){case"arc":return this.scopeToReviewer?"review-copy":"review-campaign";case"arcs":return this.scopeToReviewer?"review-copies":"review-campaigns";case"arc-team":return"team";case"arc-teams":return"teams";case"your-arcs":return"my-review-copies";default:return e}}frontEndRelative(e,...t){const o=this.translateModule(e,t);return["",o].concat(t.map(e=>this.slugify(e.toString().toLowerCase()))).join("/")}addSearch(e,t){return`${e}#?needle=${encodeURIComponent(t)}`}addAnchor(e,t){const o=e.substring(0,e.indexOf("#"))||e;return`${o}#${t}`}}},61382(e,t,o){"use strict";const i={FREE:"free",GROWING:"growing",PRO:"pro",BEST_SELLING:"bestSelling",PUBLISHER:"publisher"},r={APP:{VERSION:"2.19.1",SOURCE:{REVIEWER:"reviewerApp"},HOME_URLS:{PUBLISHER:"/review-campaigns",REVIEWER:"/review-copies",ADMIN:"/dashboard",WEBSITE:"/authors"},HELP_HERO_STOP_HELP:new Date(2022,3,7),HELP_HERO_MAX_TOURS:2,HELP_HERE_COMPLETE_ON_TOURS:["TENO5HCzfsS","xgfHLNijbxb"],LIVE_DATE:new Date(2022,2,7),NEW_CATEGORIES_LIVE_DATE:new Date(2026,2,11),NEW_BOOK_FIELDS_LIVE_DATE:new Date(2026,3,21)},I18N:{DEFAULT_LOCALE:"en-US",COOKIE_NAME:"bs-locale",COOKIE_MAX_AGE_DAYS:365,LOCALES:[{CODE:"en-US",NATIVE_NAME:"English",LANGUAGE_FLAG:1},{CODE:"es-ES",NATIVE_NAME:"Español",LANGUAGE_FLAG:2},{CODE:"de-DE",NATIVE_NAME:"Deutsch",LANGUAGE_FLAG:4},{CODE:"fr-FR",NATIVE_NAME:"Français",LANGUAGE_FLAG:8},{CODE:"it-IT",NATIVE_NAME:"Italiano",LANGUAGE_FLAG:16}
1,{CODE:"pt-BR",NATIVE_NAME:"Português",LANGUAGE_FLAG:32}]},USER:{ROLES:{APPLICATION:{STATUS:{NONE:0,APPLIED:1,DECLINED:2,APPROVED:3}},TYPE:{AUTHOR:0,REVIEWER:1,ADMIN:2},REVIEWER:{UNSET:"unset",NEW:"new",VALUED:"valued",TOP:"top",DEV:"dev"},AUTHOR:i},CONSENT_METHOD:{NONE:0,PRE_GDPR:1,SIGN_UP_PAGE:2,SOCIAL_POPUP:3,RECONSENT:4},EMAILS:{STATUS:{VERIFIED:0,UNVERIFIED:1,BLOCKED:2},SOFT_BOUNCE_CODE:"4096",TRANSIENT_BOUNCE_CODE:"2",DNS_ERROR:"256"},PASSWORDS:{MIN_LENGTH:8,MAX_LENGTH:65},ROLE_SELECTION:{READER:1,AUTHOR:2,PUBLISHER:3,VA:{READER:4,AUTHOR:5}},REVIEWER_APPLICATION:{STATUS:{NONE:0,APPLIED:1,DECLINED:2,REDACTED:3,APPROVED:4}},USER_STATUS:{NONE:0,PREVENT_ARC_DOWNLOADS:1,SHADOW_BAN:2,LOCKED:3,INELIGIBLE_REASON_CODE:4,SUSPECTED_SPAM:5,PREVENT_AMAZON_REVIEWS:6},USER_STATUS_KEYS:{0:"none",1:"preventArcDownloads",2:"shadowBan",3:"locked",4:"ineligibleReasonCode",5:"suspectedSpam",6:"preventAmazonReviews"},REPORT_TYPE:{NONE:0,REVIEW:1,CANCELLATION:2,MESSAGE:3,GENERIC:4,SYSTEM:5},REPORT_TYPE_KEYS:{0:"none",1:"review",2:"cancellation",3:"message",4:"generic",5:"system"},BREVO_LISTS:{NONE:0,ALL:1,LIMITED:2}},ARC_TEAMS:{NAME:{MAX_CHARS:191},DESCRIPTION:{MAX_BYTES:65535},AUTO_ACTION:{EMAIL:{MAX_CHARS:191},TYPE:{APPROVE:1,VIP:2,BLOCK:3}},MEMBERS:{STATUS_LOG:{TYPE:{LEFT:0,CANCELLED:1,REQUESTED_JOIN:2}},TYPE:{REGULAR:1,VIP:2,NONE:3},STATUS:{AWAITING:1,ACTIVE:2,BLOCKED:4,REJECTED:5,INVITED:6,ACCEPTED_INVITE:7,NOT_MEMBER:8},STATUS_REASON_TYPE:{NONE:0,GENERIC:1,LIED:2,CANCELLED:3,NO_INTEREST:4,LOW_RATING:5,HARASSMENT:6,OTHER:7},BLOCK_STATUS_REASON_KEYS:{0:"generic",1:"lied",2:"cancelled",3:"notInterested",4:"lowRating",5:"lowRatingHint",6:"harassment",7:"other"}},DISCLAIMERS:{FREE_VIA_BS:1,FREE:2,VIA_ARC:3},REVIEW_USER:{FILTER:{ALL_BS:-1,ALL_TEAM:-2}}},ARCS:{PIRATE:{STATE:{REPORTED:0,HANDLED:1}},FILTER_GROUP:{ALL:1,AUTHOR_TEAM:2,SAVED:3},RELEASE_DATE_TYPE:{UNRELEASED:1,RELEASED:2},STATUS:{NONE:0,ACTIVE:1,SCHEDULED:2,FINISHED:3},STATUS_KEYS:{0:"draft",1:"active",2:"scheduled",3:"finished"},CLAIMS:{GROUP_COUNT:{ACTIVE:"active",DUE:"due",DELAYED:"delayed",PENDING:"pending",COMPLETE:"complete",CANCELLED:"cancelled"},FILTER_GROUP:{NONE:0,ACTIVE:1,DUE:2,DELAYED:3,PENDING_PUBLISH:4,COMPLETE:5,CANCELLED:6},INELIGIBLE_REASONS:{NONE:0,DOWNLOAD_LOCK:1,TOO_MANY_DUE_REVIEWS:2,ARC_DUE_FOR_TOO_LONG:3,WEEKLY_CLAIM_LIMIT_REACHED:4,TOP_REVIEWERS_ONLY:5,PRIVATE_ARC:6,SERIES_READING_REQUIRED:7,OUTSTANDING_REVIEW_FOR_THIS_TEAM:8,STORE_REQUIREMENTS_NOT_MET:9,ALREADY_REVIEWED:10,NO_COPIES_LEFT:11,EMAIL_NOT_VERIFIED:12,NOT_PAID_ACCOUNT:13,TOO_MANY_WITHDRAWALS:14},INELIGIBLE_REASON_KEYS:{0:"none",1:"downloadLock",2:"tooManyDueReviews",3:"arcDueForTooLong",4:"weeklyClaimLimitReached",5:"topReviewersOnly",6:"privateArc",7:"seriesReadingRequired",8:"outstandingReviewForThisTeam",9:"storeRequirementsNotMet",10:"alreadyReviewed",11:"noCopiesLeft",12:"emailNotVerified",13:"notPaidAccount",14:"tooManyWithdrawals"},STATUS:{CLAIMED:0,CANCELLED:1,COMPLETE:2,IN_PROGRESS:3},REVIEWER_STATUS:{ACTIVE:0,DUE:1,DELAYED:2,PENDING_PUBLISHER:3,COMPLETE:4,WITHDRAWN:5},STATE:{NEW:0,READ:1,NEW_ACTIVITY:2,NONE:3},STATUS_KEYS:{0:"claimed",1:"cancelled",2:"complete",3:"inProgress"},CANCELLATION_TYPE:{POORLY_EDITED:0,STORY:1,PERSONAL:2,BAD_DESCRIPTION:3,BAD_FIT:4,COULD_NOT_REVIEW:5,OTHER:6},CANCELLATION_TYPE_KEYS:{0:"poorlyEdited",1:"story",2:"personal",3:"badDescription",4:"badFit",5:"couldNotReview",6:"other"},DOWNLOAD_TYPE:{NONE:0,KINDLE:1,EMAIL:2,DOWNLOAD:3,AUDIO_BOOK:4,READ_HERE:5},FILE_TYPE:{NONE:0,EPUB:1,PDF:2}},REVIEWS:{FILTER:{ALL_BOOKS:-1,ALL_PEN_NAMES:-1},AUDIO_FLAGS:[256,512,1024,2048,4096,8192,16384,32768,65536,262144],ALL_FLAGS:458751,FLAGS:{NONE:0,AMAZON:1,GOOGLE:2,GOOD_READS:4,KOBO:8,BOOK_BUB:16,ITUNES:32,BARNES:64,SMASH_WORDS:128,AUDIBLE_US:256,AUDIBLE_UK:512,AUDIBLE:768,AUDIO_BOOK_BUB:1024,AUDIO_KOBO:2048,AUDIO_GOOGLE:4096,AUDIO_ITUNES:8192,AUDIO_BARNES:16384,AUDIO_GOODREADS:32768,AUDIO_AUTHORS_DIRECT:65536,STORY_GRAPH:131072,AUDIO_STORY_GRAPH:262144},FLAG_BOOK_KEYS:{NONE:"",AMAZON:"linkAmazonAsin",GOOGLE:"linkGoogle",GOOD_READS:"linkGoodreads",KOBO:"linkKobo",BOOK_BUB:"linkBookbub",ITUNES:"linkITunes",BARNES:"linkBarnes",SMASH_WORDS:"linkSmashwords",AUDIBLE_US:"linkAudibleUs",AUDIBLE_UK:"linkAudibleUk",AUDIO_BOOK_BUB:"linkBookbubAudio",AUDIO_KOBO:"linkKoboAudio",AUDIO_GOOGLE:"linkGoogleAudio",AUDIO_ITUNES:"linkITunesAudio",AUDIO_BARNES:"linkBarnesAudio",AUDIO_GOODREADS:"linkGoodreadsAudio",AUDIO_AUTHORS_DIRECT:"linkAuthorsDirect",STORY_GRAPH:"linkStoryGraph",AUDIO_STORY_GRAPH:"linkStoryGraphAudio"},FLAG_BOOK_KEYS_SITE:{0:"",1:"linkAmazonAsin",2:"linkGoogle",4:"linkGoodreads",8:"linkKobo",16:"linkBookbub",32:"linkITunes",64:"linkBarnes",128:"linkSmashwords",256:"linkAudibleUs",512:"linkAudibleUk",1024:"linkBookbubAudio",2048:"linkKoboAudio",4096:"linkGoogleAudio",8192:"linkITunesAudio",16384:"linkBarnesAudio",32768:"linkGoodreadsAudio",65536:"linkAuthorsDirect",131072:"linkStoryGraph",262144:"linkStoryGraphAudio"},FLAG_DESCRIPTIONS:{0:"None",1:"Amazon",2:"Google Play",4:"Goodreads",8:"Kobo",16:"Bookbub",32:"Apple Books",64:"Barnes & Noble",128:"Smashwords",256:"Audible US",512:"Audible UK",768:"Audible",1024:"Bookbub (Audio)",2048:"Kobo (Audio)",4096:"Google (Audio)",8192:"Apple Books (Audio)",16384:"Barnes & Noble (Audio)",32768:"Goodreads (Audio)",65536:"Authors Direct",131072:"StoryGraph",262144:"StoryGraph (Audio)"},FLAG_ICONS:{0:"",1:"amazon",2:"google-play",4:"goodreads",8:"kobo",16:"bookbub",32:"itunes",64:"barnes",128:"smashwords",256:"audible",512:"audible",768:"audible",1024:"bookbub",2048:"kobo",4096:"google-play",8192:"itunes",16384:"barnes",32768:"goodreads",65536:"authors-direct",131072:"storygraph",262144:"storygraph"},SITE:{STATUS:{NONE:0,COMPLETE:1,DELAYED:2,REJECTED:8},STATE:{NEW_LINK:0,NONE:1,READ:2}}},TYPE:{EBOOK:1,AUDIO_BOOK:2},DISCOVERABLE_TYPE:{PUBLIC:1,TEAM_ONLY:2},PARTICIPATION_TYPE:{PUBLIC:1,TOP_REVIEWERS:2,ANYONE_WITH_LINK:3,ON_TEAM:4},PARTICIPATION_PREVENTION_TYPE:{OUTSTANDING:1,NONE:2},SITE_WIDE_PARTICIPATION_PREVENTION_TYPE:{NONE:1,LIMITED:2},COPY_COUNT_TYPE:{ALL:1,LIMITED:2},SERIES_LIMIT_TYPE:{ANYONE:1,PREVIOUS_REVIEWERS:2},NEVER_ENDING_PRIVATE_TYPE:{NEVER_ENDING:1,LIMITED:2},YOUR_ARCS:{SORTING:{DUE_DESC:0,DUE_ASC:1,CLAIM_DESC:2,CLAIM_ASC:3,RECENT_ACTIVITY:4}},ALERT_FLAGS:{NONE:0,PEN_NAME_FOLLOWERS:1,TEAM_FOLLOWERS:2,TEAM_MEMBERS:4}
1,AUDIOBOOK_VENDOR:{NONE:0,AUDIBLE:1,AUTHORS_DIRECT:2,KOBO:3},PEN_NAME_FILTER_TYPE:{ALL:0,FOUR_STARS_AND_ABOVE:1,THREE_STARS_AND_ABOVE:2,NOT_READ:3},SORTING:{NEW:0,RECOMMENDED:3},RETIRED_SORTING:[1,2],QUALITY_SCORE:{K:50,GRAVITY:1,GLOBAL_CPI:.025,CAT_CPI:{8:.0336,1:.0162,32:.0155,23:.0114,36:.0093,48:.0086,19:.007,28:.0064},MIN_REAL_PAGE_COUNT:4,PAGE_PENALTY:.8,AUTHOR_FLOOD:{LIVE_WINDOW_DAYS:30,RECENT_PUB_DAYS:90,THRESHOLD:10,MIN_FACTOR:.2}}},PEN_NAME:{TYPE:{MY_BOOK:1,PUBLISHING:2,TYPE_CLIENT:3},FILTER_GROUP:{ALL:0,FOLLOWING:1},BIO:{MAX_BYTES:65535}},NOTIFICATIONS:{UNSUB_PREFERENCE_KEYS:{1:"alertNewArc",2:"alertTimeToPublish",3:"alertReviewDueIn2Days",4:"alertReadyToReview",5:"alertFinalFollowUp",6:"alertDelayExpiring",7:"alertDelayExpired",8:"newArcParticipant",9:"newReview",10:"arcCancellation",11:"reviewRejected",12:"newExternalReview",13:"freeText",14:"invitedToTeam",15:"arcCannotActivate",16:"alertNewTeamApplicant",17:"alertBookFileUpdated",18:"alertSavedArcEndingOrLowCopies",19:"alertSavedArcEndingOrLowCopies",101:"alertTimeToPublish",102:"dailyUpdatesOnFollowCount",200:"alertReviewDueIn2Days"},FLAGS:{EMAIL:1,APP:2,MOBILE_APP:4},STATUS:{AWAITING:1,COMPLETE:2,CANCELLED:3,FAILED:4,SENT:5,DELIVERED:6,READ:7,OPTED_OUT:8,TO_BE_GENERATED:9},STATE:{UNREAD:0,READ:1},NOTIFIERS:{NEW_ARC:{CODE:"newArcAlert",TEMPLATE_ID:"new-arc-alert"},TIME_TO_PUBLISH:{CODE:"timeToPublish",TEMPLATE_ID:"time-to-publish"},REVIEW_DUE_SOON:{CODE:"reviewsDueSoon",TEMPLATE_ID:"reviews-due-soon"},READY_TO_REVIEW:{CODE:"readyToReview",TEMPLATE_ID:"ready-to-review"},FINAL_FOLLOW_UP:{CODE:"finalFollowUp",TEMPLATE_ID:"final-follow-up"},DELAY_EXPIRING:{CODE:"delayExpiring",TEMPLATE_ID:"delay-expiring"},DELAY_EXPIRED:{CODE:"delayExpired",TEMPLATE_ID:"delay-expired"},NEW_ARC_PARTICIPANT:{CODE:"newArcParticipant",TEMPLATE_ID:"new-arc-participant"},NEW_REVIEW:{CODE:"newReview",TEMPLATE_ID:"new-review"},ARC_CANCELLATION:{CODE:"arcCancellation",TEMPLATE_ID:"arc-cancellation"},REVIEW_REJECTED:{CODE:"reviewRejected",TEMPLATE_ID:"review-rejected"},NEW_EXTERNAL_REVIEW:{CODE:"newExternalReview",TEMPLATE_ID:"new-external-review"},FREE_TEXT:{CODE:"freeText",TEMPLATE_ID:"free-text-notifier"},INVITED_TO_TEAM:{CODE:"invitedToTeam",TEMPLATE_ID:"invited-to-team"},ARC_CANNOT_ACTIVATE:{CODE:"arcCannotActivate",TEMPLATE_ID:"arc-cannot-activate"},NEW_TEAM_APPLICANT:{CODE:"newTeamApplicant",TEMPLATE_ID:"new-team-applicant"},BOOK_FILE_UPDATED:{CODE:"bookFileUpdated",TEMPLATE_ID:"book-file-updated"},SAVED_ARC_ENDING_SOON:{CODE:"savedArcEndingSoon",TEMPLATE_ID:"saved-arc-ending-soon"},SAVED_ARC_LOW_COPIES:{CODE:"savedArcLowCopies",TEMPLATE_ID:"saved-arc-low-copies"}},AUTHOR_NOTIFIERS:["timeToPublish","newArcParticipant","reviewRejected","newReview","newExternalReview","arcCancellation","arcCannotActivate","newTeamApplicant"]},MESSAGES:{STATE:{NEW:0,READ:1,BLOCKED:2,DELETED:3,FLAGGED:4}},UPLOADS:{MAX_SIZE_MB:500},BOOKS:{TITLE:{MAX_CHARS:190},SERIES_NAME:{MAX_CHARS:190},PEN_NAME:{MAX_CHARS:191},BOOK_COVER:{MAX_CHARS:191},APPLE_BOOKS_CODE:{MAX_CHARS:191},KEYWORDS:{MAX_CHARS:500},DESCRIPTION:{MAX_BYTES:65535},AUDIENCE_TYPE:{GENERAL:1,TAME:2,MATURE:3,EXPLICIT:4},AUDIENCE_TYPE_KEYS:{1:"general",2:"tame",3:"mature",4:"explicit"},FILE_UPDATE_REASON:{UPLOADED_WRONG_FILE:0,CHANGED_SIGNIFICANT:1,CHANGED_SMALL:2,FIXED_TYPOS:3},FILE_UPDATE_REASON_KEYS:{0:"uploadedWrongFile",1:"changedSignificant",2:"changedSmall",3:"fixedTypos"},LANGUAGE_KEYS:{1:"english",2:"spanish",4:"german",8:"french",16:"italian",32:"portuguese",64:"other"},LANGUAGE_FLAGS:{ALL_FLAGS:127,FLAGS:{NONE:0,ENGLISH:1,SPANISH:2,GERMAN:4,FRENCH:8,ITALIAN:16,PORTUGUESE:32,OTHER:64}},WORD_COUNT:{SHORT:1,NOVELLA:2,NOVEL:3},WORD_COUNT_RANGE:{MIN:0,MAX:2e3},SOURCE:{BS:0,IMPORTED:1},FILTER:{ALPHA:0,DATE_CREATED:1,LAST_ARC:2,REVIEWS_ASC:3,REVIEWS_DESC:4},AWAITING_BOOK_FILES:{NOT_SET:0,NOT_ALLOWED:1,ALLOW_EPUB:2,ALLOW_EPUB_PREVIEW:4,ALLOW_PDF:8,ALLOW_ALL:14}},AUTH:{LOGIN_TYPE:{DEFAULT:0,FACEBOOK:1,AMAZON:2,APPLE:3}},SUBSCRIPTIONS:{DISCOUNTS:{END_DATE:new Date(2022,2,22),MONTH:25,YEAR:35},PLANS:{FREE:{PRICES:{MONTH:0,YEAR:0},KEY:i.FREE},GROWING:{PRICES:{MONTH:9,YEAR:90},KEY:i.GROWING},PRO:{PRICES:{MONTH:19,YEAR:190},KEY:i.PRO},BEST_SELLER:{PRICES:{MONTH:29,YEAR:290},KEY:i.BEST_SELLING},PUBLISHER:{PRICES:{MONTH:59,YEAR:590},KEY:i.PUBLISHER}},CANCELLATION_TYPE:{TEMPORARY:0,DIFFICULT_FOR_READERS:1,DIFFICULT_FOR_ME:2,NOT_WORKING:3,LACKING_SUPPORT:4,COST:5,OTHER:6,NOT_ENOUGH_REVIEWS:7},CANCELLATION_TYPE_KEYS:{0:"temporary",1:"difficultForReaders",2:"difficultForMe",3:"notWorking",4:"lackingSupport",5:"cost",6:"other",7:"notEnoughReviews"}},METRIC_TRACKER:{TYPES:{FEED_ENTER:"feed.enter",FEED_CLAIM:"feed.claim",BOOK_FILE_UPDATE_OFFERED:"bookFileUpdate.offered",BOOK_FILE_UPDATE_SHOWN:"bookFileUpdate.shown",BOOK_FILE_UPDATE_DISMISSED:"bookFileUpdate.dismissed",BOOK_FILE_UPDATE_SENT:"bookFileUpdate.sent",DELIVERY_SELECTED:"delivery.selected"},FEED_SESSION_STORAGE_KEY:"bsFeedSession"}};o.d(t,["j",0,r])},76503(e,t,o){"use strict";var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{};r([(0,i.D0)(e=>i.Ai)],a.prototype,"fromId",void 0),r([(0,i.D0)(e=>i.Ai)],a.prototype,"toId",void 0),r([(0,i.D0)()],a.prototype,"type",void 0),a=r([(0,i.iw)()],a)},44668(e,t,o){"use strict";var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{};r([(0,i.D0)()],a.prototype,"success",void 0),a=r([(0,i.an)()],a)},5590(e,t,o){"use strict";var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{};r([(0,i.D0)(e=>[String])],a.prototype,"models",void 0),r([(0,i.D0)(e=>[i.Ai])],a.prototype,"values",void 0),r([(0,i.D0)(e=>i.Ai)],a.prototype,"total",void 0),a=r([(0,i.an)()],a)},93213(e,t,o){"use strict";var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{};r([(0,i.D0)(e=>i.Ai)],a.prototype,"monthlyRevenue",void 0),r([(0,i.D0)(e=>i.Ai)],a.prototype,"payingCustomerCount",void 0),r([(0,i.D0)(e=>i.Ai)],a.prototype,"totalUserCount",void 0),r([(0,i.D0)(e=>i.Ai)],a.prototype,"reviewerCount",void 0),r([(0,i.D0)(e=>i.Ai)],a.prototype,"authorCount",void 0),r([(0,i.D0)(e=>i.Ai)],a.prototype,"growingCount",void 0),r([(0,i.D0)(e=>i.Ai)],a.prototype,"proCount",void 0),r([(0,i.D0)(e=>i.Ai)],a.prototype,"bestSellerCount",void 0),r([(0,i.D0)(e=>i.Ai)],a.prototype,"publisherCount",void 0),r([(0,i.D0)(e=>i.Ai)],a.prototype,"newReviewerCount",void 0),a=r([(0,i.an)()],a)},92468(e,t,o){"use strict";var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{};r([(0,i.D0)()],a.prototype,"plan",void 0),r([(0,i.D0)(e=>[i.Ai])],a.prototype,"durationCounts",void 0),a=r([(0,i.an)()],a)},66529(e,t,o){"use strict";var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{};r([(0,i.D0)({nullable:!0})],a.prototype,"fromDate",void 0),r([(0,i.D0)({nullable:!0})],a.prototype,"toDate",void 0),r([(0,i.D0)({nullable:!0})],a.prototype,"type",void 0),a=r([(0,i.iw)()],a)},98739(e,t,o){"use strict";o(93213),o(5590),o(92468),o(66529),o(76503),o(44668)},47872(e,t,o){"use strict";var i=o(34639),r=o(12632),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class extends r.s{};n=a([(0,i.iw)()],n)},42727(e,t,o){"use strict";var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{};r([(0,i.D0)(e=>i.Ai)],a.prototype,"awaiting",void 0),r([(0,i.D0)(e=>i.Ai)],a.prototype,"active",void 0),r([(0,i.D0)(e=>i.Ai)],a.prototype,"invited",void 0),r([(0,i.D0)(e=>i.Ai)],a.prototype,"rejected",void 0),r([(0,i.D0)(e=>i.Ai)],a.prototype,"blocked",void 0),a=r([(0,i.an)()],a)},33130(e,t,o){"use strict";o(18640)},18640(e,t,o){"use strict";o.d(t,{G:()=>a});var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{};r([(0,i.D0)(e=>i.Ai)],a.prototype,"id",void 0),r([(0,i.D0)()],a.prototype,"emailAddress",void 0),r([(0,i.D0)(e=>i.Ai)],a.prototype,"type",void 0),a=r([(0,i.an)()],a)},20967(e,t,o){"use strict";var i=o(34639),r=o(77871),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class extends r.l{};a([(0,i.D0)(e=>String)],n.prototype,"name",void 0),a([(0,i.D0)(e=>String,{nullable:!0})],n.prototype,"image",void 0),a([(0,i.D0)(e=>String,{nullable:!0})],n.prototype,"description",void 0),a([(0,i.D0)(e=>i.Ai,{nullable:!0})],n.prototype,"defaultDisclaimer",void 0),a([(0,i.D0)(e=>[String],{nullable:!0})],n.prototype,"autoApproveEmailAddresses",void 0),a([(0,i.D0)(e=>[String],{nullable:!0})],n.prototype,"autoBlockEmailAddresses",void 0),a([(0,i.D0)(e=>[String],{nullable:!0})],n.prototype,"autoVipEmailAddresses",void 0),n=a([(0,i.iw)()],n)},75404(e,t,o){"use strict";var i=o(34639),r=o(6788),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class extends r.c{};n=a([(0,i.iw)()],n)},73123(e,t,o){"use strict";var i=o(34639),r=o(65147),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class extends r.p{};a([(0,i.D0)(e=>i.Ai,{nullable:!0})],n.prototype,"teamMemberId",void 0),a([(0,i.D0)(e=>i.Ai,{nullable:!0})],n.prototype,"status",void 0),a([(0,i.D0)(e=>i.Ai,{nullable:!0})],n.prototype,"excludeTeamsUserIsAMemberOf",void 0),n=a([(0,i.iw)()],n)},95203(e,t,o){"use strict";var i=o(34639),r=o(73627),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class extends r.N{};a([(0,i.D0)(e=>Boolean,{nullable:!0})],n.prototype,"getAverageRating",void 0),n=a([(0,i.iw)()],n)},76566(e,t,o){"use strict";o.d(t,{XJ:()=>r.XJ,n0:()=>i.n});o(20967),o(75404),o(73123),o(95203);var i=o(93948),r=(o(86366),o(47872),o(33130),o(48933));o(95870),o(70377),o(98344),o(42727)},14151(e,t,o){"use strict";var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{};r([(0,i.D0)(e=>i.Ai)],a.prototype,"teamId",void 0),r([(0,i.D0)(e=>i.Ai,{nullable:!0})],a.prototype,"userEmailId",void 0),a=r([(0,i.iw)()],a)},12268(e,t,o){"use strict";var i=o(34639),r=o(83403),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class{};a([(0,i.D0)(e=>i.Ai)],n.prototype,"statusReasonType",void 0),a([(0,i.D0)(e=>i.Ai,{nullable:!0})],n.prototype,"userId",void 0),a([(0,i.D0)(e=>i.Ai,{nullable:!0})],n.prototype,"memberId",void 0),a([(0,i.D0)(e=>i.Ai,{nullable:!0})],n.prototype,"arcId",void 0),a([(0,i.D0)(e=>i.Ai,{nullable:!0})],n.prototype,"arcTeamId",void 0),a([(0,i.D0)({nullable:!0}),(0,r.bZ)(300,{message:"maxLength"})],n.prototype,"statusReason",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"report",void 0),a([(0,i.D0)(e=>i.Ai,{nullable:!0})],n.prototype,"claimId",void 0),n=a([(0,i.iw)()],n)},50366(e,t,o){"use strict";var i=o(34639),r=o(65147),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class extends r.p{constructor(){super(...arguments),this.status=-1,this.type=-1,this.needle=""}};a([(0,i.D0)(e=>i.Ai)],n.prototype,"teamId",void 0),a([(0,i.D0)(e=>i.Ai)],n.prototype,"status",void 0),a([(0,i.D0)(e=>i.Ai)],n.prototype,"type",void 0),a([(0,i.D0)()],n.prototype,"needle",void 0),n=a([(0,i.iw)()],n)},15742(e,t,o){"use strict";var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{constructor(e){Object.assign(this,e)}};r([(0,i.D0)(e=>i.Ai,{nullable:!0})],a.prototype,"id",void 0),r([(0,i.D0)(e=>i.Ai,{nullable:!0})],a.prototype,"teamId",void 0),r([(0,i.D0)(e=>i.Ai,{nullable:!0})],a.prototype,"userId",void 0),a=r([(0,i.iw)()],a)},48933(e,t,o){"use strict";o.d(t,{XJ:()=>i.X});o(50366),o(15742);var i=o(39987);o(66855),o(17718),o(12268),o(14151)},17718(e,t,o){"use strict";var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n
1),n};let a=class{};r([(0,i.D0)(e=>i.Ai)],a.prototype,"teamId",void 0),r([(0,i.D0)(e=>i.Ai)],a.prototype,"memberUserId",void 0),r([(0,i.D0)(e=>i.Ai,{nullable:!0})],a.prototype,"status",void 0),r([(0,i.D0)(e=>i.Ai,{nullable:!0})],a.prototype,"reviewerStatus",void 0),r([(0,i.D0)({nullable:!0})],a.prototype,"userRequested",void 0),r([(0,i.D0)(e=>i.Ai,{nullable:!0})],a.prototype,"userEmailId",void 0),a=r([(0,i.iw)()],a)},39987(e,t,o){"use strict";o.d(t,{X:()=>l});var i=o(34639),r=o(27204),a=o(93948),n=o(52439),s=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let l=class extends r.e{constructor(){super(...arguments),this.isDraft=!1,this.activeArcCount=0,this.reviewedArcCount=0,this.cancelledArcCount=0,this.pastDueArcCount=0,this.averageRating=0}};s([(0,i.D0)(e=>Boolean,{defaultValue:!1})],l.prototype,"isDraft",void 0),s([(0,i.D0)(e=>i.Ai)],l.prototype,"status",void 0),s([(0,i.D0)(e=>i.Ai)],l.prototype,"type",void 0),s([(0,i.D0)({nullable:!0})],l.prototype,"user",void 0),s([(0,i.D0)(e=>i.Ai,{nullable:!0,defaultValue:0})],l.prototype,"activeArcCount",void 0),s([(0,i.D0)(e=>i.Ai,{nullable:!0,defaultValue:0})],l.prototype,"reviewedArcCount",void 0),s([(0,i.D0)(e=>i.Ai,{nullable:!0,defaultValue:0})],l.prototype,"cancelledArcCount",void 0),s([(0,i.D0)(e=>i.Ai,{nullable:!0,defaultValue:0})],l.prototype,"pastDueArcCount",void 0),s([(0,i.D0)(e=>i.nt,{nullable:!0,defaultValue:0})],l.prototype,"averageRating",void 0),s([(0,i.D0)(e=>a.n,{nullable:!0})],l.prototype,"arcTeam",void 0),s([(0,i.D0)(e=>i.Ai)],l.prototype,"arcTeamId",void 0),s([(0,i.D0)({nullable:!0})],l.prototype,"statusReasonType",void 0),s([(0,i.D0)({nullable:!0})],l.prototype,"statusReason",void 0),s([(0,i.D0)({nullable:!0})],l.prototype,"reportedDate",void 0),s([(0,i.D0)({nullable:!0})],l.prototype,"statusDate",void 0),s([(0,i.D0)(e=>n.Bn,{nullable:!0})],l.prototype,"userEmail",void 0),s([(0,i.D0)(e=>i.Ai,{nullable:!0})],l.prototype,"previousStatus",void 0),s([(0,i.D0)(e=>i.Ai,{nullable:!0})],l.prototype,"previousType",void 0),s([(0,i.D0)(e=>i.Ai,{nullable:!0})],l.prototype,"reviewerStatus",void 0),s([(0,i.D0)(e=>i.Ai,{nullable:!0})],l.prototype,"reviewerLogType",void 0),l=s([(0,i.an)()],l)},66855(e,t,o){"use strict";var i=o(34639),r=o(37030),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class extends r.q{};a([(0,i.D0)(e=>i.Ai)],n.prototype,"teamId",void 0),a([(0,i.D0)(e=>i.Ai,{nullable:!0})],n.prototype,"status",void 0),a([(0,i.D0)(e=>i.Ai,{nullable:!0})],n.prototype,"reviewerStatus",void 0),a([(0,i.D0)(e=>i.Ai,{nullable:!0})],n.prototype,"type",void 0),a([(0,i.D0)(e=>i.Ai,{nullable:!0})],n.prototype,"statusReasonType",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"statusReason",void 0),a([(0,i.D0)(e=>Boolean,{nullable:!0})],n.prototype,"report",void 0),n=a([(0,i.iw)()],n)},93948(e,t,o){"use strict";o.d(t,{n:()=>d});var i=o(34639),r=o(27204),a=o(18640),n=o(39987),s=o(3964),l=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let d=class extends r.e{};l([(0,i.D0)({nullable:!0})],d.prototype,"name",void 0),l([(0,i.D0)({nullable:!0})],d.prototype,"image",void 0),l([(0,i.D0)({nullable:!0})],d.prototype,"description",void 0),l([(0,i.D0)(e=>i.Ai,{nullable:!0})],d.prototype,"defaultDisclaimer",void 0),l([(0,i.D0)(e=>[a.G],{nullable:!0})],d.prototype,"autoActionEmailAddresses",void 0),l([(0,i.D0)(e=>[n.X],{nullable:!0})],d.prototype,"arcTeamMembers",void 0),l([(0,i.D0)(e=>[s.C8],{nullable:!0})],d.prototype,"arcs",void 0),l([(0,i.D0)(e=>n.X,{nullable:!0})],d.prototype,"clientUserTeamMember",void 0),l([(0,i.D0)()],d.prototype,"isDraft",void 0),l([(0,i.D0)(e=>i.Ai,{nullable:!0})],d.prototype,"applicantCount",void 0),l([(0,i.D0)(e=>i.Ai,{nullable:!0})],d.prototype,"followerCount",void 0),l([(0,i.D0)({nullable:!0})],d.prototype,"isActivePublisherTeam",void 0),l([(0,i.D0)({nullable:!0})],d.prototype,"userIsFollowing",void 0),l([(0,i.D0)(e=>i.Ai,{nullable:!0})],d.prototype,"reviewCount",void 0),l([(0,i.D0)(e=>i.nt,{nullable:!0})],d.prototype,"averageRating",void 0),d=l([(0,i.an)()],d)},70377(e,t,o){"use strict";var i=o(19705),r=o(34639),a=o(93948),n=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let s=class extends((0,i.A)(a.n)){};s=n([(0,r.an)()],s)},86366(e,t,o){"use strict";var i=o(34639),r=o(37030),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class extends r.q{};a([(0,i.D0)(e=>String,{nullable:!0})],n.prototype,"name",void 0),a([(0,i.D0)(e=>String,{nullable:!0})],n.prototype,"image",void 0),a([(0,i.D0)(e=>String,{nullable:!0})],n.prototype,"description",void 0),a([(0,i.D0)(e=>i.Ai,{nullable:!0})],n.prototype,"defaultDisclaimer",void 0),a([(0,i.D0)(e=>[String],{nullable:!0})],n.prototype,"autoApproveEmailAddresses",void 0),a([(0,i.D0)(e=>[String],{nullable:!0})],n.prototype,"autoBlockEmailAddresses",void 0),a([(0,i.D0)(e=>[String],{nullable:!0})],n.prototype,"autoVipEmailAddresses",void 0),n=a([(0,i.iw)()],n)},95870(e,t,o){"use strict";o(88420),o(66629),o(5718),o(34331)},88420(e,t,o){"use strict";var i=o(34639),r=o(52439),a=o(66629),n=o(34331),s=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let l=class{};s([(0,i.D0)(e=>r.Lq)],l.prototype,"user",void 0),s([(0,i.D0)(e=>a.p)],l.prototype,"stats",void 0),s([(0,i.D0)(e=>[n.S])],l.prototype,"teams",void 0),l=s([(0,i.an)()],l)},66629(e,t,o){"use strict";o.d(t,{p:()=>a});var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{};r([(0,i.D0)(e=>i.Ai)],a.prototype,"complete",void 0),r([(0,i.D0)(e=>i.Ai)],a.prototype,"cancelled",void 0),r([(0,i.D0)(e=>i.Ai)],a.prototype,"pastDue",void 0),r([(0,i.D0)(e=>i.Ai)],a.prototype,"active",void 0),r([(0,i.D0)(e=>i.nt)],a.prototype,"averageRating",void 0),r([(0,i.D0)(e=>i.Ai)],a.prototype,"reviewCount",void 0),a=r([(0,i.an)()],a)},5718(e,t,o){"use strict";var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{};r([(0,i.D0)(e=>i.Ai)],a.prototype,"userId",void 0),r([(0,i.D0)({nullable:!0})],a.prototype,"teamOnly",void 0),r([(0,i.D0)(e=>i.Ai,{nullable:!0})],a.prototype,"teamId",void 0),r([(0,i.D0)({nullable:!0})],a.prototype,"includeCancelled",void 0),r([(0,i.D0)({nullable:!0})],a.prototype,"includeReviews",void 0),r([(0,i.D0)(e=>i.Ai,{nullable:!0})],a.prototype,"skip",void 0),r([(0,i.D0)(e=>i.Ai,{nullable:!0})],a.prototype,"take",void 0),a=r([(0,i.iw)()],a)},34331(e,t,o){"use strict";o.d(t,{S:()=>n});var i=o(34639),r=o(96193),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class extends r.Rg{};a([(0,i.D0)()],n.prototype,"name",void 0),a([(0,i.D0)()],n.prototype,"image",void 0),a([(0,i.D0)(e=>i.Ai)],n.prototype,"memberType",void 0),a([(0,i.D0)(e=>i.Ai)],n.prototype,"memberStatus",void 0),a([(0,i.D0)(e=>i.Ai)],n.prototype,"memberId",void 0),a([(0,i.D0)(e=>i.Ai)],n.prototype,"memberUserId",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"memberStatusReason",void 0),a([(0,i.D0)(e=>i.Ai,{nullable:!0})],n.prototype,"memberStatusReasonType",void 0),n=a([(0,i.an)()],n)},98344(e,t,o){"use strict";var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{};r([(0,i.D0)({nullable:!0})],a.prototype,"date",void 0),r([(0,i.D0)(e=>i.Ai)],a.prototype,"type",void 0),a=r([(0,i.an)()],a)},61794(e,t,o){"use strict";var i=o(34639),r=o(12632),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class extends r.s{};n=a([(0,i.iw)()],n)},86577(e,t,o){"use strict";var i=o(34639),r=o(6324),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class{};a([(0,i.D0)(e=>r.hV)],n.prototype,"notification",void 0),a([(0,i.D0)(e=>i.Ai)],n.prototype,"sentCount",void 0),a([(0,i.D0)(e=>i.Ai)],n.prototype,"totalCount",void 0),n=a([(0,i.an)()],n)},95945(e,t,o){"use strict";o.d(t,{j:()=>n});var i=o(34639),r=o(22306),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class extends r.C{};a([(0,i.D0)(e=>i.Ai)],n.prototype,"daysLeft",void 0),a([(0,i.D0)(e=>i.Ai)],n.prototype,"totalClaims",void 0),n=a([(0,i.an)()],n)},86010(e,t,o){"use strict";var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{};r([(0,i.D0)(e=>i.Ai)],a.prototype,"site",void 0),r([(0,i.D0)(e=>i.Ai)],a.prototype,"count",void 0),a=r([(0,i.an)()],a)},26650(e,t,o){"use strict";var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{constructor(e){Object.assign(this,e)}};r([(0,i.D0)(e=>i.Ai)],a.prototype,"claimId",void 0),r([(0,i.D0)(e=>i.Ai)],a.prototype,"type",void 0),r([(0,i.D0)({nullable:!0})],a.prototype,"reason",void 0),r([(0,i.D0)({nullable:!0})],a.prototype,"additionalInformation",void 0),a=r([(0,i.iw)()],a)},76937(e,t,o){"use strict";var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{constructor(e){Object.assign(this,e)}};r([(0,i.D0)(e=>i.Ai)],a.prototype,"claimId",void 0),a=r([(0,i.iw)()],a)},88272(e,t,o){"use strict";var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{constructor(e){Object.assign(this,e)}};r([(0,i.D0)(e=>i.Ai)],a.prototype,"arcId",void 0),r([(0,i.D0)(e=>i.Ai)],a.prototype,"userId",void 0),r([(0,i.D0)(e=>i.Ai,{nullable:!0})],a.prototype,"selectedAudioSiteFlag",void 0),a=r([(0,i.iw)()],a)},54152(e,t,o){"use strict";var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{};r([(0,i.D0)(e=>i.Ai)],a.prototype,"claimId",void 0),r([(0,i.D0)(e=>i.Ai)],a.prototype,"downloadType",void 0),r([(0,i.D0)(e=>i.Ai)],a.prototype,"fileType",void 0),r([(0,i.D0)({nullable:!0})],a.prototype,"emailTo",void 0),a=r([(0,i.iw)()],a)},22599(e,t,o){"use strict";
1var i=o(34639),r=o(65732),a=o(58861),n=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let s=class{};n([(0,i.D0)(e=>i.Ai)],s.prototype,"ineligibleReason",void 0),n([(0,i.D0)({nullable:!0})],s.prototype,"reasonDate",void 0),n([(0,i.D0)({nullable:!0})],s.prototype,"reasonDescription",void 0),n([(0,i.D0)(e=>r.C8e,{nullable:!0})],s.prototype,"suggestedArc",void 0),n([(0,i.D0)(e=>[r.HH7],{nullable:!0})],s.prototype,"suggestedBooks",void 0),n([(0,i.D0)(e=>a.C,{nullable:!0})],s.prototype,"existingClaim",void 0),s=n([(0,i.an)()],s)},43932(e,t,o){"use strict";var i=o(34639),r=o(65147),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class extends r.p{};a([(0,i.D0)(e=>i.Ai,{nullable:!0})],n.prototype,"userId",void 0),a([(0,i.D0)(e=>i.Ai,{nullable:!0})],n.prototype,"arcId",void 0),a([(0,i.D0)(e=>i.Ai,{nullable:!0})],n.prototype,"bookId",void 0),a([(0,i.D0)(e=>i.Ai,{nullable:!0})],n.prototype,"status",void 0),a([(0,i.D0)(e=>[i.Ai],{nullable:!0})],n.prototype,"statuses",void 0),a([(0,i.D0)(e=>i.Ai,{nullable:!0})],n.prototype,"claimId",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"userSearchNeedle",void 0),a([(0,i.D0)(e=>i.Ai,{nullable:!0})],n.prototype,"type",void 0),a([(0,i.D0)(e=>i.Ai,{nullable:!0})],n.prototype,"reviewSiteStatus",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"forAuthenticatedUser",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"mustHaveReviews",void 0),a([(0,i.D0)(e=>i.Ai,{nullable:!0})],n.prototype,"groupByStatus",void 0),a([(0,i.D0)(e=>[i.Ai],{nullable:!0})],n.prototype,"audienceTypes",void 0),a([(0,i.D0)(e=>i.Ai,{nullable:!0})],n.prototype,"categoryId",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"isDue",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"countOnly",void 0),a([(0,i.D0)(e=>i.Ai,{nullable:!0})],n.prototype,"arcTeamId",void 0),a([(0,i.D0)(e=>i.Ai,{nullable:!0})],n.prototype,"authorPenNameId",void 0),n=a([(0,i.iw)()],n)},70016(e,t,o){"use strict";var i=o(34639),r=o(73627),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class extends r.N{};a([(0,i.D0)(e=>i.Ai)],n.prototype,"userId",void 0),n=a([(0,i.iw)()],n)},44041(e,t,o){"use strict";var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{};r([(0,i.D0)(e=>i.Ai)],a.prototype,"arcId",void 0),r([(0,i.D0)(e=>Boolean)],a.prototype,"suggestArc",void 0),a=r([(0,i.iw)()],a)},82875(e,t,o){"use strict";var i=o(34639),r=o(14724),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class{};a([(0,i.D0)(e=>i.Ai)],n.prototype,"activeCount",void 0),a([(0,i.D0)(e=>i.Ai)],n.prototype,"dueCount",void 0),a([(0,i.D0)(e=>i.Ai)],n.prototype,"delayedCount",void 0),a([(0,i.D0)(e=>i.Ai)],n.prototype,"pendingPublishingCount",void 0),a([(0,i.D0)(e=>i.Ai)],n.prototype,"completeCount",void 0),a([(0,i.D0)(e=>i.Ai)],n.prototype,"cancelledCount",void 0),a([(0,i.D0)(e=>r.C)],n.prototype,"result",void 0),n=a([(0,i.an)()],n)},99479(e,t,o){"use strict";o.d(t,{Cn:()=>i.C});var i=o(58861);o(26650),o(88272),o(76937),o(43932),o(70016),o(54152),o(15671),o(22599),o(44041),o(82875),o(14724),o(48955),o(86010),o(18828),o(69100)},58861(e,t,o){"use strict";o.d(t,{C:()=>l});var i=o(34639),r=o(65732),a=o(27204),n=o(93525),s=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let l=class extends a.e{constructor(){super(...arguments),this.reviewDays=0,this.vipExclusiveAccessDays=0}};s([(0,i.D0)(e=>r.C8e,{nullable:!0})],l.prototype,"arc",void 0),s([(0,i.D0)(e=>i.Ai)],l.prototype,"status",void 0),s([(0,i.D0)()],l.prototype,"state",void 0),s([(0,i.D0)()],l.prototype,"statusDate",void 0),s([(0,i.D0)(e=>i.Ai,{nullable:!0})],l.prototype,"cancellationType",void 0),s([(0,i.D0)({nullable:!0})],l.prototype,"cancellationReason",void 0),s([(0,i.D0)(e=>i.Ai,{defaultValue:0})],l.prototype,"reviewFlags",void 0),s([(0,i.D0)(e=>i.Ai,{defaultValue:0,nullable:!0})],l.prototype,"optionalReviewFlags",void 0),s([(0,i.D0)(e=>i.Ai,{nullable:!0})],l.prototype,"requiredReviewCount",void 0),s([(0,i.D0)({nullable:!0})],l.prototype,"stopDownloadDate",void 0),s([(0,i.D0)(e=>i.Ai,{defaultValue:0})],l.prototype,"reviewDays",void 0),s([(0,i.D0)(e=>n.U1,{nullable:!0})],l.prototype,"review",void 0),s([(0,i.D0)(e=>i.Ai)],l.prototype,"reviewId",void 0),s([(0,i.D0)(e=>i.Ai,{defaultValue:0})],l.prototype,"vipExclusiveAccessDays",void 0),s([(0,i.D0)()],l.prototype,"dueDate",void 0),s([(0,i.D0)(e=>r.Lq4,{nullable:!0})],l.prototype,"user",void 0),s([(0,i.D0)({nullable:!0})],l.prototype,"additionalInformation",void 0),s([(0,i.D0)({nullable:!0})],l.prototype,"downloadCode",void 0),s([(0,i.D0)({nullable:!0})],l.prototype,"downloadCodeExpirationDate",void 0),s([(0,i.D0)(e=>i.Ai,{nullable:!0})],l.prototype,"selectedAudioSiteFlag",void 0),s([(0,i.D0)(e=>Boolean,{nullable:!0})],l.prototype,"authorOwnsArc",void 0),s([(0,i.D0)({nullable:!0})],l.prototype,"lastReadCfi",void 0),s([(0,i.D0)(e=>i.Ai,{nullable:!0})],l.prototype,"overdueDays",void 0),s([(0,i.D0)(e=>Boolean,{nullable:!0})],l.prototype,"canFollowTeam",void 0),s([(0,i.D0)(e=>i.Ai,{nullable:!0})],l.prototype,"reviewerStatus",void 0),l=s([(0,i.an)()],l)},14724(e,t,o){"use strict";o.d(t,{C:()=>s});var i=o(58861),r=o(34639),a=o(19705),n=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let s=class extends((0,a.A)(i.C)){};s=n([(0,r.an)()],s)},15671(e,t,o){"use strict";var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{};r([(0,i.D0)(e=>i.Ai)],a.prototype,"claimId",void 0),a=r([(0,i.iw)()],a)},48955(e,t,o){"use strict";var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{};r([(0,i.D0)(e=>i.Ai)],a.prototype,"claimId",void 0),r([(0,i.D0)(e=>i.Ai)],a.prototype,"state",void 0),a=r([(0,i.iw)()],a)},69100(e,t,o){"use strict";var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{};r([(0,i.D0)(e=>i.Ai)],a.prototype,"claimId",void 0),r([(0,i.D0)(e=>i.Ai)],a.prototype,"userId",void 0),r([(0,i.D0)()],a.prototype,"cfi",void 0),a=r([(0,i.iw)()],a)},18828(e,t,o){"use strict";var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{};r([(0,i.D0)()],a.prototype,"code",void 0),a=r([(0,i.an)()],a)},10397(e,t,o){"use strict";var i=o(34639),r=o(56117),a=o(83403),n=o(77871),s=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let l=class extends n.l{};
1s([(0,i.D0)(e=>i.Ai)],l.prototype,"bookId",void 0),s([(0,i.D0)(e=>i.Ai,{nullable:!0})],l.prototype,"arcTeamId",void 0),s([(0,i.D0)({nullable:!0}),(0,r.X)(),(0,a.bZ)(500,{message:"maxLength"})],l.prototype,"specialInformation",void 0),s([(0,i.D0)(e=>i.Ai,{nullable:!0})],l.prototype,"arcType",void 0),s([(0,i.D0)(e=>i.Ai,{nullable:!0})],l.prototype,"discoverableType",void 0),s([(0,i.D0)(e=>i.Ai,{nullable:!0})],l.prototype,"participationType",void 0),s([(0,i.D0)(e=>i.Ai,{nullable:!0})],l.prototype,"participationPreventionType",void 0),s([(0,i.D0)(e=>i.Ai,{nullable:!0})],l.prototype,"siteWideParticipationPreventionType",void 0),s([(0,i.D0)(e=>i.Ai,{nullable:!0})],l.prototype,"copyCountType",void 0),s([(0,i.D0)(e=>i.Ai,{nullable:!0})],l.prototype,"copyCount",void 0),s([(0,i.D0)(e=>i.Ai,{nullable:!0})],l.prototype,"seriesLimitType",void 0),s([(0,i.D0)(e=>i.Ai,{nullable:!0})],l.prototype,"reviewFlags",void 0),s([(0,i.D0)(e=>i.Ai,{nullable:!0})],l.prototype,"optionalReviewFlags",void 0),s([(0,i.D0)(e=>i.Ai,{nullable:!0})],l.prototype,"requiredReviewCount",void 0),s([(0,i.D0)({nullable:!0})],l.prototype,"liveDate",void 0),s([(0,i.D0)(e=>i.Ai,{nullable:!0})],l.prototype,"reviewDays",void 0),s([(0,i.D0)({nullable:!0})],l.prototype,"stopDownloadDate",void 0),s([(0,i.D0)(e=>Boolean,{nullable:!0})],l.prototype,"neverEndingPrivate",void 0),s([(0,i.D0)({nullable:!0})],l.prototype,"usDownloadCodes",void 0),s([(0,i.D0)({nullable:!0})],l.prototype,"ukDownloadCodes",void 0),s([(0,i.D0)({nullable:!0})],l.prototype,"authorsDirectDownloadCodes",void 0),s([(0,i.D0)({nullable:!0})],l.prototype,"koboDownloadCodes",void 0),s([(0,i.D0)(e=>i.Ai,{nullable:!0})],l.prototype,"vipExclusiveAccessDays",void 0),s([(0,i.D0)({nullable:!0})],l.prototype,"dueDate",void 0),s([(0,i.D0)(e=>i.Ai,{nullable:!0})],l.prototype,"alertFlags",void 0),s([(0,i.D0)({nullable:!0})],l.prototype,"liveDateStr",void 0),s([(0,i.D0)({nullable:!0})],l.prototype,"stopDownloadDateStr",void 0),s([(0,i.D0)({nullable:!0})],l.prototype,"dueDateStr",void 0),s([(0,i.D0)({nullable:!0})],l.prototype,"dueCutOffDateStr",void 0),l=s([(0,i.iw)()],l)},47714(e,t,o){"use strict";var i=o(34639),r=o(6788),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class extends r.c{};n=a([(0,i.iw)()],n)},75058(e,t,o){"use strict";var i=o(34639),r=o(43639),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class{};a([(0,i.D0)(e=>i.Ai)],n.prototype,"authorTeamCount",void 0),a([(0,i.D0)(e=>i.Ai)],n.prototype,"allCount",void 0),a([(0,i.D0)(e=>i.Ai)],n.prototype,"savedCount",void 0),a([(0,i.D0)(e=>r.Q)],n.prototype,"result",void 0),n=a([(0,i.an)()],n)},23769(e,t,o){"use strict";var i=o(22306),r=o(34639),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class{};a([(0,r.D0)(e=>i.C,{nullable:!0})],n.prototype,"arc",void 0),a([(0,r.D0)(e=>Boolean)],n.prototype,"isEligible",void 0),n=a([(0,r.an)()],n)},18978(e,t,o){"use strict";var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{};r([(0,i.D0)(e=>i.Ai)],a.prototype,"penNameFollowerCount",void 0),r([(0,i.D0)(e=>i.Ai)],a.prototype,"arcTeamFollowerCount",void 0),r([(0,i.D0)(e=>i.Ai)],a.prototype,"arcTeamMemberCount",void 0),a=r([(0,i.an)()],a)},97565(e,t,o){"use strict";var i=o(34639),r=o(65147),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class extends r.p{constructor(){super(...arguments),this.needle=""}};a([(0,i.D0)(e=>String,{defaultValue:""})],n.prototype,"needle",void 0),a([(0,i.D0)(e=>Boolean,{nullable:!0})],n.prototype,"activeOnly",void 0),a([(0,i.D0)(e=>Boolean,{nullable:!0})],n.prototype,"scheduledOnly",void 0),a([(0,i.D0)(e=>Boolean,{nullable:!0})],n.prototype,"finishedOnly",void 0),a([(0,i.D0)(e=>Boolean,{nullable:!0})],n.prototype,"draftOnly",void 0),a([(0,i.D0)(e=>i.Ai,{nullable:!0})],n.prototype,"arcType",void 0),a([(0,i.D0)(e=>Boolean,{nullable:!0})],n.prototype,"withNewReviewActivityStatus",void 0),n=a([(0,i.iw)()],n)},26404(e,t,o){"use strict";var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{};r([(0,i.D0)(e=>i.Ai,{nullable:!0})],a.prototype,"excludeArcId",void 0),a=r([(0,i.iw)()],a)},26545(e,t,o){"use strict";var i=o(34639),r=o(73627),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class extends r.N{};a([(0,i.D0)(e=>Boolean,{nullable:!0})],n.prototype,"allowOwnClaim",void 0),a([(0,i.D0)(e=>Boolean,{nullable:!0})],n.prototype,"skipEligibleCheck",void 0),n=a([(0,i.iw)()],n)},11462(e,t,o){"use strict";var i=o(34639),r=o(65147),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class extends r.p{};a([(0,i.D0)({nullable:!0})],n.prototype,"needle",void 0),a([(0,i.D0)(e=>i.Ai,{nullable:!0})],n.prototype,"penNameId",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"penName",void 0),a([(0,i.D0)(e=>i.Ai,{nullable:!0})],n.prototype,"arcTeamId",void 0),a([(0,i.D0)(e=>i.Ai,{nullable:!0})],n.prototype,"arcId",void 0),a([(0,i.D0)(e=>Boolean,{nullable:!0})],n.prototype,"hasComeViaLink",void 0),a([(0,i.D0)(e=>Boolean,{nullable:!0})],n.prototype,"activeOnly",void 0),a([(0,i.D0)(e=>Boolean,{nullable:!0})],n.prototype,"pastOnly",void 0),a([(0,i.D0)(e=>Boolean,{nullable:!0})],n.prototype,"savedOnly",void 0),a([(0,i.D0)(e=>i.Ai,{nullable:!0})],n.prototype,"arcType",void 0),a([(0,i.D0)(e=>i.Ai,{nullable:!0})],n.prototype,"sites",void 0),a([(0,i.D0)(e=>[String],{nullable:!0})],n.prototype,"tags",void 0),a([(0,i.D0)(e=>i.Ai,{nullable:!0})],n.prototype,"minLength",void 0),a([(0,i.D0)(e=>i.Ai,{nullable:!0})],n.prototype,"maxLength",void 0),a([(0,i.D0)(e=>[i.Ai],{nullable:!0})],n.prototype,"audiences",void 0),a([(0,i.D0)(e=>[i.Ai],{nullable:!0})],n.prototype,"languages",void 0),a([(0,i.D0)(e=>i.Ai,{nullable:!0})],n.prototype,"canReviewInDays",void 0),a([(0,i.D0)(e=>i.Ai,{nullable:!0})],n.prototype,"categoryId",void 0),a([(0,i.D0)(e=>[i.Ai],{nullable:!0})],n.prototype,"categoryIds",void 0),a([(0,i.D0)(e=>i.Ai,{nullable:!0})],n.prototype,"groupByStatus",void 0),a([(0,i.D0)(e=>Boolean,{nullable:!0})],n.prototype,"allUserOwned",void 0),a([(0,i.D0)(e=>Boolean,{nullable:!0})],n.prototype,"allowOwnClaim",void 0),a([(0,i.D0)(e=>i.Ai,{nullable:!0})],n.prototype,"excludeArcId",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"countOnly",void 0),a([(0,i.D0)(e=>[i.Ai],{nullable:!0})],n.prototype,"participationTypes",void 0),a([(0,i.D0)(e=>[i.Ai],{nullable:!0})],n.prototype,"releaseDateTypes",void 0),a([(0,i.D0)(e=>[i.Ai],{nullable:!0})],n.prototype,"authors",void 0),n=a([(0,i.iw)()],n)},21451(e,t,o){"use strict";var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{};r([(0,i.D0)(e=>i.Ai)],a.prototype,"id",void 0),r([(0,i.D0)(e=>[String])],a.prototype,"notificationCodes",void 0),a=r([(0,i.iw)()],a)},3964(e,t,o){"use strict";o.d(t,{C5:()=>n.C5,C8:()=>i.C,Cn:()=>r.Cn,Kv:()=>n.Kv,Tr:()=>n.Tr,U1:()=>a.U1,dw:()=>a.dw,h7:()=>n.h7});o(10397),o(47714),o(97565),o(11462),o(26545);var i=o(22306),r=(o(8924),o(99024),o(61794),o(36397),o(43639),o(23769),o(75058),o(26404),o(18978),o(86577),o(21451),o(99479)),a=o(93525),n=o(89225);o(30656),o(10736),o(95945)},22306(e,t,o){"use strict";o.d(t,{C:()=>u});var i=o(34639),r=o(27204),a=o(58929),n=o(76566),s=o(99479),l=o(61382),d=o(36397),c=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let u=class extends r.e{constructor(){super(...arguments),this.arcType=l.j.ARCS.TYPE.EBOOK,this.discoverableType=l.j.ARCS.DISCOVERABLE_TYPE.PUBLIC,this.participationType=l.j.ARCS.PARTICIPATION_TYPE.PUBLIC,this.participationPreventionType=l.j.ARCS.PARTICIPATION_PREVENTION_TYPE.OUTSTANDING,this.siteWideParticipationPreventionType=l.j.ARCS.SITE_WIDE_PARTICIPATION_PREVENTION_TYPE.NONE,this.copyCountType=l.j.ARCS.COPY_COUNT_TYPE.ALL,this.seriesLimitType=l.j.ARCS.SERIES_LIMIT_TYPE.ANYONE,this.reviewFlags=0,this.optionalReviewFlags=0,this.requiredReviewCount=1,this.optionalReviewCount=0,this.reviewDays=0,this.vipExclusiveAccessDays=0}};c([(0,i.D0)(e=>a.HH,{nullable:!0})],u.prototype,"book",void 0),c([(0,i.D0)(e=>i.Ai,{nullable:!0})],u.prototype,"bookId",void 0),c([(0,i.D0)(e=>i.Ai,{nullable:!0})],u.prototype,"status",void 0),c([(0,i.D0)(e=>n.n0,{nullable:!0})],u.prototype,"arcTeam",void 0),c([(0,i.D0)(e=>i.Ai,{nullable:!0})],u.prototype,"arcTeamId",void 0),c([(0,i.D0)(e=>Boolean,{nullable:!0})],u.prototype,"canClaim",void 0),c([(0,i.D0)(e=>Boolean,{nullable:!0})],u.prototype,"isSaved",void 0),c([(0,i.D0)(e=>i.Ai,{nullable:!0})],u.prototype,"saveCount",void 0),c([(0,i.D0)(e=>String,{nullable:!0})],u.prototype,"specialInformation",void 0),c([(0,i.D0)(e=>i.Ai,{defaultValue:l.j.ARCS.TYPE.EBOOK})],u.prototype,"arcType",void 0),c([(0,i.D0)(e=>i.Ai,{defaultValue:l.j.ARCS.DISCOVERABLE_TYPE.PUBLIC})],u.prototype,"discoverableType",void 0),c([(0,i.D0)(e=>i.Ai,{defaultValue:l.j.ARCS.PARTICIPATION_TYPE.PUBLIC})],u.prototype,"participationType",void 0),c([(0,i.D0)(e=>i.Ai,{defaultValue:l.j.ARCS.PARTICIPATION_PREVENTION_TYPE.OUTSTANDING})],u.prototype,"participationPreventionType",void 0),c([(0,i.D0)(e=>i.Ai,{defaultValue:l.j.ARCS.SITE_WIDE_PARTICIPATION_PREVENTION_TYPE.NONE})],u.prototype,"siteWideParticipationPreventionType",void 0),c([(0,i.D0)(e=>i.Ai,{defaultValue:l.j.ARCS.COPY_COUNT_TYPE.ALL})],u.prototype,"copyCountType",void 0),c([(0,i.D0)(e=>i.Ai,{nullable:!0})],u.prototype,"copyCount",void 0),c([(0,i.D0)(e=>i.Ai,{defaultValue:l.j.ARCS.SERIES_LIMIT_TYPE.ANYONE})],u.prototype,"seriesLimitType",void 0),c([(0,i.D0)(e=>i.Ai,{nullable:!0,defaultValue:0})],u.prototype,"reviewFlags",void 0),c([(0,i.D0)(e=>i.Ai,{nullable:!0,defaultValue:0})],u.prototype,"optionalReviewFlags",void 0),c([(0,i.D0)(e=>i.Ai,{nullable:!0,defaultValue:1})],u.prototype,"requiredReviewCount",void 0),c([(0,i.D0)(e=>i.Ai,{nullable:!0,defaultValue:0})],u.prototype,"optionalReviewCount",void 0),c([(0,i.D0)(e=>i.Ai,{nullable:!0,defaultValue:0})],u.prototype,"calculatedReviewFlags",void 0),c([(0,i.D0)(e=>i.Ai,{nullable:!0,defaultValue:0})],u.prototype,"calculatedOptionalReviewFlags",void 0),c([(0,i.D0)(e=>i.Ai,{nullable:!0,defaultValue:0})],u.prototype,"calculatedRequiredReviewCount",void 0),c([(0,i.D0)(e=>i.Ai,{nullable:!0,defaultValue:0})],u.prototype,"calculatedOptionalReviewCount",void 0),c([(0,i.D0)(e=>i.Ai,{nullable:!0,defaultValue:0})],u.prototype,"calculatedRequiredSitesCount",void 0),c([(0,i.D0)({nullable:!0})],u.prototype,"liveDate",void 0),c([(0,i.D0)(e=>i.Ai,{defaultValue:0})],u.prototype,"reviewDays",void 0),c([(0,i.D0)({nullable:!0})],u.prototype,"stopDownloadDate",void 0),c([(0,i.D0)(e=>Boolean,{nullable:!0})],u.prototype,"neverEndingPrivate",void 0),c([(0,i.D0)(e=>[s.Cn],{nullable:!0})],u.prototype,"claims",void 0),c([(0,i.D0)()],u.prototype,"isDraft",void 0),c([(0,i.D0)({nullable:!0})],u.prototype,"usDownloadCodes",void 0),c([(0,i.D0)({nullable:!0})],u.prototype,"ukDownloadCodes",void 0),c([(0,i.D0)({nullable:!0})],u.prototype,"authorsDirectDownloadCodes",void 0),c([(0,i.D0)({nullable:!0})],u.prototype,"koboDownloadCodes",void 0),c([(0,i.D0)(e=>i.Ai,{defaultValue:0})],u.prototype,"vipExclusiveAccessDays",void 0),c([(0,i.D0)({nullable:!0})],u.prototype,"dueDate",void 0),c([(0,i.D0)({nullable:!0})],u.prototype,"dueCutOffDate",void 0),c([(0,i.D0)(e=>d.w,{nullable:!0})],u.prototype,"stats",void 0),c([(0,i.D0)(e=>i.Ai,{nullable:!0})],u.prototype,"importedId",void 0),c([(0,i.D0)(e=>i.Ai)],u.prototype,"alertFlags",void 0),c([(0,i.D0)({nullable:!0})],u.prototype,"liveDateStr",void 0),c([(0,i.D0)({nullable:!0})],u.prototype,"stopDownloadDateStr",void 0),c([(0,i.D0)({nullable:!0})],u.prototype,"dueDateStr",void 0),c([(0,i.D0)({nullable:!0})],u.prototype,"dueCutOffDateStr",void 0),c([(0,i.D0)(e=>i.Ai,{nullable:!0})],u.prototype,"viewCount",void 0),c([(0,i.D0)(e=>i.Ai,{nullable:!0})],u.prototype,"impressionCount",void 0),c([(0,i.D0)({nullable:!0})],u.prototype,"fileUpdateNotificationSentDate",void 0),u=c([(0,i.an)()],u)},36397(e,t,o){"use strict";o.d(t,{w:()=>n});var i=o(34639),r=o(6324),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class{};a([(0,i.D0)(e=>i.nt,{nullable:!0})],n.prototype,"averageRating",void 0),a([(0,i.D0)(e=>i.Ai,{nullable:!0})],n.prototype,"delayedClaimed",void 0),a([(0,i.D0)(e=>i.Ai,{nullable:!0})],n.prototype,"newReviewCount",void 0),a([(0,i.D0)(e=>i.Ai,{nullable:!0})],n.prototype,"newReviewActivityCount",void 0),a([(0,i.D0)(e=>r.hV,{nullable:!0})],n.prototype,"nextNotification",void 0),a([(0,i.D0)(e=>i.Ai,{nullable:!0})],n.prototype,"reviewCount",void 0),a([(0,i.D0)(e=>i.Ai,{nullable:!0})],n.prototype,"cancelledCount",void 0),n=a([(0,i.an)()],n)},43639(e,t,o){"use strict";o.d(t,{Q:()=>s});var i=o(22306),r=o(19705),a=o(34639),n=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let s=class extends((0,r.A)(i.C)){};s=n([(0,a.an)()],s)},30656(e,t,o){"use strict";o(51466)},51466(e,t,o){"use strict";var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{};r([(0,i.D0)()],a.prototype,
1"fileName",void 0),r([(0,i.D0)(e=>i.Ai)],a.prototype,"bookId",void 0),r([(0,i.D0)()],a.prototype,"link",void 0),a=r([(0,i.iw)()],a)},10393(e,t,o){"use strict";var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{constructor(e){Object.assign(this,e)}};r([(0,i.D0)(e=>i.Ai)],a.prototype,"claimId",void 0),r([(0,i.D0)()],a.prototype,"title",void 0),r([(0,i.D0)()],a.prototype,"review",void 0),r([(0,i.D0)()],a.prototype,"privateFeedback",void 0),r([(0,i.D0)()],a.prototype,"disclaimer",void 0),r([(0,i.D0)(e=>i.Ai)],a.prototype,"rating",void 0),a=r([(0,i.iw)()],a)},18954(e,t,o){"use strict";var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{constructor(e){Object.assign(this,e)}};r([(0,i.D0)(e=>i.Ai)],a.prototype,"reviewId",void 0),r([(0,i.D0)(e=>i.Ai)],a.prototype,"userId",void 0),r([(0,i.D0)(e=>i.Ai,{nullable:!0})],a.prototype,"site",void 0),r([(0,i.D0)({nullable:!0})],a.prototype,"state",void 0),r([(0,i.D0)({nullable:!0})],a.prototype,"link",void 0),r([(0,i.D0)({nullable:!0})],a.prototype,"statusReason",void 0),r([(0,i.D0)(e=>i.Ai,{nullable:!0})],a.prototype,"status",void 0),a=r([(0,i.iw)()],a)},93525(e,t,o){"use strict";o.d(t,{U1:()=>i.U,dw:()=>r.d});var i=o(10659),r=o(70126);o(10393),o(18954),o(27875)},10659(e,t,o){"use strict";o.d(t,{U:()=>l});var i=o(34639),r=o(27204),a=o(99479),n=o(70126),s=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let l=class extends r.e{};s([(0,i.D0)(e=>a.Cn,{nullable:!0})],l.prototype,"claim",void 0),s([(0,i.D0)(e=>i.Ai)],l.prototype,"claimId",void 0),s([(0,i.D0)()],l.prototype,"title",void 0),s([(0,i.D0)()],l.prototype,"review",void 0),s([(0,i.D0)({nullable:!0})],l.prototype,"reviewLanguage",void 0),s([(0,i.D0)({nullable:!0})],l.prototype,"translatedReview",void 0),s([(0,i.D0)()],l.prototype,"rating",void 0),s([(0,i.D0)({nullable:!0})],l.prototype,"privateFeedback",void 0),s([(0,i.D0)({nullable:!0})],l.prototype,"disclaimer",void 0),s([(0,i.D0)(e=>[n.d],{nullable:!0})],l.prototype,"sites",void 0),l=s([(0,i.an)()],l)},27875(e,t,o){"use strict";var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{};r([(0,i.D0)(e=>i.Ai)],a.prototype,"claimId",void 0),r([(0,i.D0)(e=>[i.Ai],{nullable:!0})],a.prototype,"grantSites",void 0),r([(0,i.D0)(e=>[i.Ai],{nullable:!0})],a.prototype,"revokeSites",void 0),a=r([(0,i.iw)()],a)},70126(e,t,o){"use strict";o.d(t,{d:()=>s});var i=o(34639),r=o(10659),a=o(27204),n=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let s=class extends a.e{};n([(0,i.D0)(e=>r.U,{nullable:!0})],s.prototype,"review",void 0),n([(0,i.D0)(e=>i.Ai)],s.prototype,"reviewId",void 0),n([(0,i.D0)(e=>i.Ai)],s.prototype,"status",void 0),n([(0,i.D0)()],s.prototype,"statusDate",void 0),n([(0,i.D0)()],s.prototype,"state",void 0),n([(0,i.D0)(e=>i.Ai)],s.prototype,"site",void 0),n([(0,i.D0)({nullable:!0})],s.prototype,"link",void 0),n([(0,i.D0)({nullable:!0})],s.prototype,"statusReason",void 0),n([(0,i.D0)({nullable:!0})],s.prototype,"exempt",void 0),s=n([(0,i.an)()],s)},99024(e,t,o){"use strict";var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{};r([(0,i.D0)(e=>i.Ai)],a.prototype,"userId",void 0),r([(0,i.D0)(e=>i.Ai)],a.prototype,"arcCount",void 0),a=r([(0,i.iw)()],a)},8924(e,t,o){"use strict";var i=o(34639),r=o(56117),a=o(83403),n=o(37030),s=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let l=class extends n.q{};s([(0,i.D0)(e=>i.Ai,{nullable:!0})],l.prototype,"bookId",void 0),s([(0,i.D0)(e=>i.Ai,{nullable:!0})],l.prototype,"arcTeamId",void 0),s([(0,i.D0)({nullable:!0}),(0,r.X)(),(0,a.bZ)(500,{message:"maxLength"})],l.prototype,"specialInformation",void 0),s([(0,i.D0)(e=>i.Ai,{nullable:!0})],l.prototype,"arcType",void 0),s([(0,i.D0)(e=>i.Ai,{nullable:!0})],l.prototype,"discoverableType",void 0),s([(0,i.D0)(e=>i.Ai,{nullable:!0})],l.prototype,"participationType",void 0),s([(0,i.D0)(e=>i.Ai,{nullable:!0})],l.prototype,"participationPreventionType",void 0),s([(0,i.D0)(e=>i.Ai,{nullable:!0})],l.prototype,"siteWideParticipationPreventionType",void 0),s([(0,i.D0)(e=>i.Ai,{nullable:!0})],l.prototype,"copyCountType",void 0),s([(0,i.D0)(e=>i.Ai,{nullable:!0})],l.prototype,"copyCount",void 0),s([(0,i.D0)(e=>i.Ai,{nullable:!0})],l.prototype,"seriesLimitType",void 0),s([(0,i.D0)(e=>i.Ai,{nullable:!0})],l.prototype,"reviewFlags",void 0),s([(0,i.D0)(e=>i.Ai,{nullable:!0})],l.prototype,"optionalReviewFlags",void 0),s([(0,i.D0)(e=>i.Ai,{nullable:!0})],l.prototype,"requiredReviewCount",void 0),s([(0,i.D0)({nullable:!0})],l.prototype,"liveDate",void 0),s([(0,i.D0)(e=>i.Ai,{nullable:!0})],l.prototype,"reviewDays",void 0),s([(0,i.D0)({nullable:!0})],l.prototype,"stopDownloadDate",void 0),s([(0,i.D0)(e=>Boolean,{nullable:!0})],l.prototype,"neverEndingPrivate",void 0),s([(0,i.D0)({nullable:!0})],l.prototype,"usDownloadCodes",void 0),s([(0,i.D0)({nullable:!0})],l.prototype,"ukDownloadCodes",void 0),s([(0,i.D0)({nullable:!0})],l.prototype,"authorsDirectDownloadCodes",void 0),s([(0,i.D0)({nullable:!0})],l.prototype,"koboDownloadCodes",void 0),s([(0,i.D0)(e=>i.Ai,{nullable:!0})],l.prototype,"vipExclusiveAccessDays",void 0),s([(0,i.D0)({nullable:!0})],l.prototype,"dueDate",void 0),s([(0,i.D0)(e=>Boolean,{nullable:!0})],l.prototype,"reviewLinksCompleted",void 0),s([(0,i.D0)(e=>i.Ai,{nullable:!0})],l.prototype,"alertFlags",void 0),s([(0,i.D0)({nullable:!0})],l.prototype,"liveDateStr",void 0),s([(0,i.D0)({nullable:!0})],l.prototype,"stopDownloadDateStr",void 0),s([(0,i.D0)({nullable:!0})],l.prototype,"dueDateStr",void 0),s([(0,i.D0)({nullable:!0})],l.prototype,"dueCutOffDateStr",void 0),l=s([(0,i.iw)()],l)},89225(e,t,o){"use strict";var i=o(61382),r=(o(62272),function(e,t){var o={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(o[i]=e[i]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(o[i[r]]=e[i[r]])}return o}
1);const a=(e,t)=>{const o={[i.j.ARCS.REVIEWS.FLAGS.AMAZON]:/^[A-Z0-9]{10}$/gm,[i.j.ARCS.REVIEWS.FLAGS.GOOGLE]:/^((http|https):\/\/)?(www\.)?(play\.google)\.com/gm,[i.j.ARCS.REVIEWS.FLAGS.GOOD_READS]:/^((http|https):\/\/)?(www\.)?(goodreads)\.com/gm,[i.j.ARCS.REVIEWS.FLAGS.KOBO]:/^((http|https):\/\/)?(www\.)?((store\.)?kobo)\.com/gm,[i.j.ARCS.REVIEWS.FLAGS.BOOK_BUB]:/^((http|https):\/\/)?(www\.)?(bookbub)\.com/gm,[i.j.ARCS.REVIEWS.FLAGS.ITUNES]:/^((http|https):\/\/)?(www\.)?((itunes|books)?\.apple)\.com/gm,[i.j.ARCS.REVIEWS.FLAGS.BARNES]:/^((http|https):\/\/)?(www\.)?(barnes|barnesandnoble)\.com/gm,[i.j.ARCS.REVIEWS.FLAGS.SMASH_WORDS]:/^((http|https):\/\/)?(www\.)?(smashwords)\.com/gm,[i.j.ARCS.REVIEWS.FLAGS.STORY_GRAPH]:/^((http|https):\/\/)?((www|app)\.)?(thestorygraph)\.com/gm,[i.j.ARCS.REVIEWS.FLAGS.AUDIO_STORY_GRAPH]:/^((http|https):\/\/)?((www|app)\.)?(thestorygraph)\.com/gm,[i.j.ARCS.REVIEWS.FLAGS.AUDIBLE_US]:void 0,[i.j.ARCS.REVIEWS.FLAGS.AUDIBLE_UK]:void 0,[i.j.ARCS.REVIEWS.FLAGS.AUDIBLE]:void 0,[i.j.ARCS.REVIEWS.FLAGS.AUDIO_GOOGLE]:/^((http|https):\/\/)?(www\.)?(play\.google)\.com/gm,[i.j.ARCS.REVIEWS.FLAGS.AUDIO_GOODREADS]:/^((http|https):\/\/)?(www\.)?(goodreads)\.com/gm,[i.j.ARCS.REVIEWS.FLAGS.AUDIO_KOBO]:/^((http|https):\/\/)?(www\.)?((store\.)?kobo)\.com/gm,[i.j.ARCS.REVIEWS.FLAGS.AUDIO_BOOK_BUB]:/^((http|https):\/\/)?(www\.)?(bookbub)\.com/gm,[i.j.ARCS.REVIEWS.FLAGS.AUDIO_ITUNES]:/^((http|https):\/\/)?(www\.)?((itunes|books)?\.apple)\.com/gm,[i.j.ARCS.REVIEWS.FLAGS.AUDIO_BARNES]:/^((http|https):\/\/)?(www\.)?(barnes|barnesandnoble)\.com/gm},r={requiredCount:0,sites:[]};for(const a in i.j.ARCS.REVIEWS.FLAGS){const n=i.j.ARCS.REVIEWS.FLAGS[a];if(0===n||n===i.j.ARCS.REVIEWS.FLAGS.AUDIO_AUTHORS_DIRECT)continue;const s=i.j.ARCS.REVIEWS.FLAG_BOOK_KEYS[a],l="function"!==typeof t||t(s,n);if(l||e){const t=o[n],a=[];void 0!==t&&(n===i.j.ARCS.REVIEWS.FLAGS.AMAZON?a.push(e=>e&&e.match(t)||!e||"ASINs must be 10 characters in length."):a.push(e=>e&&e.match(t)||!e||"Invalid Link for this site.")),r.sites.push({description:i.j.ARCS.REVIEWS.FLAG_DESCRIPTIONS[n.toString()],fieldName:s,site:n,rules:a}),e&&n===i.j.ARCS.REVIEWS.FLAGS.AMAZON&&r.sites.push({description:"Amazon (Print)",fieldName:"linkAmazonAsinPrint",site:i.j.ARCS.REVIEWS.FLAGS.AMAZON,rules:a}),l&&r.requiredCount++}}return r.sites=r.sites.sort((e,t)=>e.fieldName===t.fieldName?0:e.fieldName<t.fieldName?-1:1),r},n=(e,t)=>{const o=[];for(const r in i.j.ARCS.REVIEWS.FLAGS){const a=i.j.ARCS.REVIEWS.FLAGS[r];0===a||t&&(t&a)===a||(a&e)===a&&o.push({description:i.j.ARCS.REVIEWS.FLAG_DESCRIPTIONS[a.toString()],fieldName:i.j.ARCS.REVIEWS.FLAG_BOOK_KEYS[r],site:a,rules:[]})}return o},s=["a.co","amzn.to","amzn.eu","amzn.asia","amzn.com"],l=e=>!!e&&s.some(t=>e.startsWith(`https://${t}/`)||e.startsWith(`http://${t}/`)),d=(e,t)=>{const o=r(i.j.ARCS.REVIEWS.FLAGS,[]);let a;switch(e){case o.AMAZON:if(l(t))return!0;a=new RegExp(/\/((review(s?)\/|customer\-review(s?)\/|product-review(s?)\/)*(R[a-zA-Z0-9]{10,14}))|((u=http)(.*)(review(s?)%2F|customer\-review(s?)%2F|product-review(s?)%2F)*(R[a-zA-Z0-9]{10,14}))/gi);break;case o.BOOK_BUB:a=new RegExp(/^((http|https):\/\/)?(((www\.)?bookbub\.com\/reviews\/\d+))/gi);break;case o.GOOD_READS:a=new RegExp(/^((http|https):\/\/)?(((www\.)?goodreads\.com\/review\/show\/\d+))/gi);break;case o.STORY_GRAPH:case o.AUDIO_STORY_GRAPH:a=new RegExp(/^((http|https):\/\/)?(((www|app)\.)?thestorygraph\.com\/reviews\/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})/gi);break;default:return!0}return a.test(t)};o.d(t,["C5",0,n,"Kv",0,l,"Tr",0,d,"h7",0,a])},10736(e,t,o){"use strict";var i=o(34639),r=o(95945),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class{};a([(0,i.D0)(e=>i.Ai)],n.prototype,"arcReviewCount",void 0),a([(0,i.D0)(e=>i.Ai)],n.prototype,"arcReviewUserCount",void 0),a([(0,i.D0)(e=>i.Ai,{nullable:!0})],n.prototype,"userCount",void 0),a([(0,i.D0)(e=>i.Ai)],n.prototype,"arcLiveCount",void 0),a([(0,i.D0)(e=>i.Ai)],n.prototype,"arcActiveCount",void 0),a([(0,i.D0)(e=>i.Ai)],n.prototype,"authorCount",void 0),a([(0,i.D0)(e=>i.Ai,{nullable:!0})],n.prototype,"totalArcCount",void 0),a([(0,i.D0)(e=>r.j)],n.prototype,"topArc",void 0),n=a([(0,i.an)()],n)},12632(e,t,o){"use strict";o.d(t,{s:()=>a});var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{};r([(0,i.D0)()],a.prototype,"id",void 0),r([(0,i.D0)()],a.prototype,"fileName",void 0),a=r([(0,i.iw)()],a)},77871(e,t,o){"use strict";o.d(t,{l:()=>a});var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{constructor(e){Object.assign(this,e)}};a=r([(0,i.iw)()],a)},6788(e,t,o){"use strict";o.d(t,{c:()=>a});var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{constructor(e){Object.assign(this,e)}};r([(0,i.D0)(e=>i.Ai)],a.prototype,"id",void 0),a=r([(0,i.iw)()],a)},65147(e,t,o){"use strict";o.d(t,{p:()=>a});var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{constructor(e){Object.assign(this,e)}};r([(0,i.D0)(e=>i.Ai,{nullable:!0})],a.prototype,"skip",void 0),r([(0,i.D0)(e=>i.Ai,{nullable:!0})],a.prototype,"take",void 0),r([(0,i.D0)({nullable:!0})],a.prototype,"sortBy",void 0),r([(0,i.D0)(e=>Boolean,{nullable:!0})],a.prototype,"descending",void 0),r([(0,i.D0)(e=>Boolean,{nullable:!0})],a.prototype,"genericSearch",void 0),r([(0,i.D0)({nullable:!0})],a.prototype,"genericSearchTerm",void 0),r([(0,i.D0)(e=>i.Ai,{nullable:!0})],a.prototype,"forUserId",void 0),a=r([(0,i.iw)()],a)},73627(e,t,o){"use strict";o.d(t,{N:()=>a});var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{constructor(e){Object.assign(this,e)}};r([(0,i.D0)(e=>i.Ai)],a.prototype,"id",void 0),r([(0,i.D0)(e=>i.Ai,{nullable:!0})],a.prototype,"forUserId",void 0),r([(0,i.D0)(e=>[i.Ai],{nullable:!0})],a.prototype,"ids",void 0),r([(0,i.D0)(e=>Boolean,{nullable:!0})],a.prototype,"genericSearch",void 0),a=r([(0,i.iw)()],a)},27204(e,t,o){"use strict";o.d(t,{e:()=>n});var i=o(34639),r=o(3047),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class extends r.d{};a([(0,i.D0)(e=>i.Ai)],n.prototype,"userId",void 0),n=a([(0,i.an)()],n)},3047(e,t,o){"use strict";o.d(t,{d:()=>n});var i=o(34639),r=o(79467),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class extends r.R{};a([(0,i.D0)()],n.prototype,"createdDate",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"updatedDate",void 0),n=a([(0,i.an)()],n)},37030(e,t,o){"use strict";o.d(t,{q:()=>a});var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{constructor(e){Object.assign(this,e)}};r([(0,i.D0)(e=>i.Ai)],a.prototype,"id",void 0),r([(0,i.D0)(e=>i.Ai,{nullable:!0})],a.prototype,"adminForId",void 0),a=r([(0,i.iw)()],a)},88418(e,t,o){"use strict";var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{};r([(0,i.D0)(e=>Date,{nullable:!0})],a.prototype,"date",void 0),a=r([(0,i.iw)()],a)},26797(e,t,o){"use strict";var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{};r([(0,i.D0)(e=>i.Ai)],a.prototype,"id",void 0),a=r([(0,i.iw)()],a)},79467(e,t,o){"use strict";o.d(t,{R:()=>a});var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{};r([(0,i.D0)(e=>i.Ai)],a.prototype,"id",void 0),a=r([(0,i.an)()],a)},96193(e,t,o){"use strict";o.d(t,{Rg:()=>r.R,ez:()=>i.e});var i=o(27204),r=o(79467);o(12632),o(19705),o(26797),o(98201),o(88418)},98201(e,t,o){"use strict";var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{};r([(0,i.D0)(e=>String)],a.prototype,"key",void 0),r([(0,i.D0)(e=>String)],a.prototype,"value",void 0),a=r([(0,i.an)()],a)},19705(e,t,o){"use strict";o.d(t,{A:()=>a});var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};function a(e){let t=class{};return r([(0,i.D0)(t=>[e])],t.prototype,"items",void 0),r([(0,i.D0)(e=>i.Ai)],t.prototype,"totalRows",void 0),t=r([(0,i.an)({isAbstract:!0})],t),t}},31805(e,t,o){"use strict";var i=o(34639),r=o(12632),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class extends r.s{};n=a([(0,i.iw)()],n)},77057(e,t,o){"use strict";var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{};r([(0,i.D0)()],a.prototype,"penName",void 0),r([(0,i.D0)({nullable:!0})],a.prototype,"needle",void 0),a=r([(0,i.iw)()],a)},1187(e,t,o){"use strict";var i=o(34639),r=o(56117),a=o(83244),n=o(28994),s=o(48574),l=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let d=class{};l([(0,i.D0)(e=>i.Ai)],d.prototype,"bookId",void 0),d=l([(0,i.iw)()],d);let c=class{};l([(0,i.D0)(e=>i.Ai)],c.prototype,"bookId",void 0),l([(0,i.D0)(e=>[String]),(0,n.QS)(),(0,s.OC)()],c.prototype,"codes",void 0),l([(0,i.D0)({nullable:!0}),(0,r.X)(),(0,a.uP)(/^\d{4}-\d{2}-\d{2}$/,{message:"expirationDate must be YYYY-MM-DD"})],c.prototype,"expirationDate",void 0),c=l([(0,i.iw)()],c);let u=class{};l([(0,i.D0)(e=>i.Ai)],u.prototype,"bookId",void 0),l([(0,i.D0)(e=>i.Ai)],u.prototype,"id",void 0),u=l([(0,i.iw)()],u)},89393(e,t,o){"use strict";var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{};r([(0,i.D0)(e=>i.Ai)],a.prototype,"id",void 0),r([(0,i.D0)()],a.prototype,"code",void 0),r([(0,i.D0)({nullable:!0})],a.prototype,"expirationDate",void 0),r([(0,i.D0)()],a.prototype,"claimed",void 0),a=r([(0,i.an)()],a)},55877(e,t,o){"use strict";var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{};r([(0,i.D0)()],a.prototype,"name",void 0),r([(0,i.D0)(e=>i.Ai)],a.prototype,"count",void 0),a=r([(0,i.an)()],a)},53851(e,t,o){"use strict";var i=o(34639),r=o(12632),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class extends r.s{};a([(0,i.D0)()],n.prototype,"sourceFilePath",void 0),a([(0,i.D0)()],n.prototype,"convertIntoFileExt",void 0),a([(0,i.D0)()],n.prototype,"convertFromLocalFile",void 0),n=a([(0,i.iw)()],n)},36874(e,t,o){"use strict";var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{};r([(0,i.D0)()],a.prototype,"filePath",void 0),r([(0,i.D0)()],a.prototype,"fileName",void 0),r([(0,i.D0)(e=>i.Ai)],a.prototype,"fileSize",void 0),a=r([(0,i.iw)()],a)},44918(e,t,o){"use strict";var i=o(34639),r=o(77871),a=o(87e3),n=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let s=class extends r.l{constructor(){super(...arguments),this.pe
1nNameType=0}};n([(0,i.D0)(e=>String)],s.prototype,"title",void 0),n([(0,i.D0)(e=>String,{nullable:!0})],s.prototype,"description",void 0),n([(0,i.D0)(e=>String,{nullable:!0})],s.prototype,"penName",void 0),n([(0,i.D0)(e=>i.Ai,{nullable:!0})],s.prototype,"authorPenNameId",void 0),n([(0,i.D0)(e=>i.Ai,{defaultValue:0})],s.prototype,"penNameType",void 0),n([(0,i.D0)(e=>String,{nullable:!0})],s.prototype,"bookCover",void 0),n([(0,i.D0)({nullable:!0})],s.prototype,"releaseDate",void 0),n([(0,i.D0)(e=>String,{nullable:!0})],s.prototype,"seriesName",void 0),n([(0,i.D0)(e=>i.Ai,{nullable:!0})],s.prototype,"seriesNumber",void 0),n([(0,i.D0)(e=>[a.IP],{nullable:!0})],s.prototype,"categories",void 0),n([(0,i.D0)(e=>String,{nullable:!0})],s.prototype,"keywords",void 0),n([(0,i.D0)(e=>i.Ai,{nullable:!0})],s.prototype,"wordCount",void 0),n([(0,i.D0)(e=>i.Ai,{nullable:!0})],s.prototype,"audience",void 0),n([(0,i.D0)(e=>i.Ai,{nullable:!0})],s.prototype,"language",void 0),n([(0,i.D0)(e=>String,{nullable:!0})],s.prototype,"linkAmazonAsin",void 0),n([(0,i.D0)(e=>String,{nullable:!0})],s.prototype,"linkAmazonAsinPrint",void 0),n([(0,i.D0)(e=>String,{nullable:!0})],s.prototype,"linkGoodreads",void 0),n([(0,i.D0)(e=>String,{nullable:!0})],s.prototype,"linkBookbub",void 0),n([(0,i.D0)(e=>String,{nullable:!0})],s.prototype,"linkBarnes",void 0),n([(0,i.D0)(e=>String,{nullable:!0})],s.prototype,"linkGoogle",void 0),n([(0,i.D0)(e=>String,{nullable:!0})],s.prototype,"linkKobo",void 0),n([(0,i.D0)(e=>String,{nullable:!0})],s.prototype,"linkSmashwords",void 0),n([(0,i.D0)({nullable:!0})],s.prototype,"smashwordsCouponCode",void 0),n([(0,i.D0)(e=>String,{nullable:!0})],s.prototype,"linkITunes",void 0),n([(0,i.D0)(e=>String,{nullable:!0})],s.prototype,"linkAudibleUs",void 0),n([(0,i.D0)(e=>String,{nullable:!0})],s.prototype,"linkAudibleUk",void 0),n([(0,i.D0)(e=>String,{nullable:!0})],s.prototype,"linkITunesAudio",void 0),n([(0,i.D0)(e=>String,{nullable:!0})],s.prototype,"linkBarnesAudio",void 0),n([(0,i.D0)(e=>String,{nullable:!0})],s.prototype,"linkGoogleAudio",void 0),n([(0,i.D0)(e=>String,{nullable:!0})],s.prototype,"linkGoodreadsAudio",void 0),n([(0,i.D0)(e=>String,{nullable:!0})],s.prototype,"linkKoboAudio",void 0),n([(0,i.D0)({nullable:!0})],s.prototype,"linkBookbubAudio",void 0),n([(0,i.D0)({nullable:!0})],s.prototype,"linkStoryGraph",void 0),n([(0,i.D0)({nullable:!0})],s.prototype,"linkStoryGraphAudio",void 0),n([(0,i.D0)(e=>i.Ai,{nullable:!0})],s.prototype,"source",void 0),n([(0,i.D0)(e=>String,{nullable:!0})],s.prototype,"pdfFile",void 0),n([(0,i.D0)(e=>i.Ai,{nullable:!0})],s.prototype,"pdfFileSizeBytes",void 0),n([(0,i.D0)({nullable:!0})],s.prototype,"pdfSystemGenerated",void 0),n([(0,i.D0)({nullable:!0})],s.prototype,"pdfFileDate",void 0),n([(0,i.D0)(e=>String,{nullable:!0})],s.prototype,"epubFile",void 0),n([(0,i.D0)(e=>i.Ai,{nullable:!0})],s.prototype,"epubFileSizeBytes",void 0),n([(0,i.D0)(e=>String,{nullable:!0})],s.prototype,"epubPreviewFile",void 0),n([(0,i.D0)({nullable:!0})],s.prototype,"epubSystemGenerated",void 0),n([(0,i.D0)({nullable:!0})],s.prototype,"epubFileDate",void 0),n([(0,i.D0)({nullable:!0})],s.prototype,"epubFileFriendlyName",void 0),n([(0,i.D0)({nullable:!0})],s.prototype,"pdfFileFriendlyName",void 0),n([(0,i.D0)(e=>i.Ai,{nullable:!0})],s.prototype,"awaitingBookFileFlag",void 0),s=n([(0,i.iw)()],s)},86661(e,t,o){"use strict";var i=o(34639),r=o(6788),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class extends r.c{};n=a([(0,i.iw)()],n)},95436(e,t,o){"use strict";var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{};r([(0,i.D0)()],a.prototype,"url",void 0),a=r([(0,i.an)()],a)},10417(e,t,o){"use strict";var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{};r([(0,i.D0)()],a.prototype,"epubFileName",void 0),r([(0,i.D0)(e=>i.Ai)],a.prototype,"bookId",void 0),r([(0,i.D0)()],a.prototype,"cutAtCfi",void 0),r([(0,i.D0)()],a.prototype,"lastPageBodyHtml",void 0),r([(0,i.D0)()],a.prototype,"lastPageUrl",void 0),r([(0,i.D0)()],a.prototype,"convertFromLocalFile",void 0),a=r([(0,i.iw)()],a)}
1,43666(e,t,o){"use strict";var i=o(34639),r=o(65147),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class extends r.p{};a([(0,i.D0)({nullable:!0})],n.prototype,"needle",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"isDraft",void 0),a([(0,i.D0)(e=>i.Ai,{nullable:!0})],n.prototype,"penNameId",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"seriesName",void 0),a([(0,i.D0)(e=>i.Ai,{nullable:!0})],n.prototype,"beforeSeriesNumber",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"allowImportedDrafts",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"hasReviews",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"missingPreview",void 0),n=a([(0,i.iw)()],n)},87706(e,t,o){"use strict";var i=o(34639),r=o(73627),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class extends r.N{};n=a([(0,i.iw)()],n)},93181(e,t,o){"use strict";var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{};r([(0,i.D0)(e=>i.Ai,{nullable:!0})],a.prototype,"categoryId",void 0),r([(0,i.D0)({nullable:!0})],a.prototype,"searchValue",void 0),r([(0,i.D0)(e=>i.Ai,{nullable:!0})],a.prototype,"take",void 0),r([(0,i.D0)(e=>i.Ai,{nullable:!0})],a.prototype,"skip",void 0),a=r([(0,i.iw)()],a)},58929(e,t,o){"use strict";o.d(t,{HH:()=>i.H});o(44918),o(86661),o(43666),o(87706);var i=o(95727);o(76275),o(31805),o(77057),o(47350),o(55877),o(89393),o(1187),o(93181),o(53851),o(36874),o(10417),o(95436)},95727(e,t,o){"use strict";o.d(t,{H:()=>d});var i=o(34639),r=o(27204),a=o(5941),n=o(61382),s=o(87e3),l=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let d=class extends r.e{constructor(){super(...arguments),this.penNameType=n.j.PEN_NAME.TYPE.MY_BOOK}};l([(0,i.D0)({nullable:!0})],d.prototype,"title",void 0),l([(0,i.D0)({nullable:!0})],d.prototype,"description",void 0),l([(0,i.D0)({nullable:!0})],d.prototype,"penName",void 0),l([(0,i.D0)(e=>i.Ai,{nullable:!0})],d.prototype,"authorPenNameId",void 0),l([(0,i.D0)(e=>i.Ai,{defaultValue:n.j.PEN_NAME.TYPE.MY_BOOK})],d.prototype,"penNameType",void 0),l([(0,i.D0)(e=>a._0,{nullable:!0})],d.prototype,"authorPenName",void 0),l([(0,i.D0)({nullable:!0})],d.prototype,"bookCover",void 0),l([(0,i.D0)({nullable:!0})],d.prototype,"releaseDate",void 0),l([(0,i.D0)({nullable:!0})],d.prototype,"seriesName",void 0),l([(0,i.D0)(e=>i.Ai,{nullable:!0})],d.prototype,"seriesNumber",void 0),l([(0,i.D0)(e=>[s.AU],{nullable:!0})],d.prototype,"categories",void 0),l([(0,i.D0)({nullable:!0})],d.prototype,"keywords",void 0),l([(0,i.D0)(e=>i.Ai,{nullable:!0})],d.prototype,"wordCount",void 0),l([(0,i.D0)(e=>i.Ai,{nullable:!0})],d.prototype,"audience",void 0),l([(0,i.D0)(e=>i.Ai,{nullable:!0})],d.prototype,"language",void 0),l([(0,i.D0)({nullable:!0})],d.prototype,"linkAmazonAsin",void 0),l([(0,i.D0)({nullable:!0})],d.prototype,"linkAmazonAsinPrint",void 0),l([(0,i.D0)({nullable:!0})],d.prototype,"linkGoodreads",void 0),l([(0,i.D0)({nullable:!0})],d.prototype,"linkBookbub",void 0),l([(0,i.D0)({nullable:!0})],d.prototype,"linkBarnes",void 0),l([(0,i.D0)({nullable:!0})],d.prototype,"linkGoogle",void 0),l([(0,i.D0)({nullable:!0})],d.prototype,"linkKobo",void 0),l([(0,i.D0)({nullable:!0})],d.prototype,"linkSmashwords",void 0),l([(0,i.D0)({nullable:!0})],d.prototype,"smashwordsCouponCode",void 0),l([(0,i.D0)({nullable:!0})],d.prototype,"linkITunes",void 0),l([(0,i.D0)({nullable:!0})],d.prototype,"linkAudibleUs",void 0),l([(0,i.D0)({nullable:!0})],d.prototype,"linkAudibleUk",void 0),l([(0,i.D0)({nullable:!0})],d.prototype,"linkITunesAudio",void 0),l([(0,i.D0)({nullable:!0})],d.prototype,"linkBarnesAudio",void 0),l([(0,i.D0)({nullable:!0})],d.prototype,"linkGoogleAudio",void 0),l([(0,i.D0)({nullable:!0})],d.prototype,"linkGoodreadsAudio",void 0),l([(0,i.D0)({nullable:!0})],d.prototype,"linkKoboAudio",void 0),l([(0,i.D0)({nullable:!0})],d.prototype,"linkBookbubAudio",void 0),l([(0,i.D0)({nullable:!0})],d.prototype,"linkStoryGraph",void 0),l([(0,i.D0)({nullable:!0})],d.prototype,"linkStoryGraphAudio",void 0),l([(0,i.D0)(e=>i.nt,{nullable:!0})],d.prototype,"averageRating",void 0),l([(0,i.D0)(e=>i.Ai,{nullable:!0})],d.prototype,"reviewCount",void 0),l([(0,i.D0)()],d.prototype,"isDraft",void 0),l([(0,i.D0)({nullable:!0})],d.prototype,"lastArcOn",void 0),l([(0,i.D0)(e=>i.Ai,{nullable:!0})],d.prototype,"newReviewCount",void 0),l([(0,i.D0)(e=>i.Ai,{nullable:!0})],d.prototype,"updatedReviewCount",void 0),l([(0,i.D0)(e=>i.Ai,{nullable:!0})],d.prototype,"importedId",void 0),l([(0,i.D0)(e=>String,{nullable:!0})],d.prototype,"pdfFile",void 0),l([(0,i.D0)(e=>i.Ai,{nullable:!0})],d.prototype,"pdfFileSizeBytes",void 0),l([(0,i.D0)({nullable:!0})],d.prototype,"pdfSystemGenerated",void 0),l([(0,i.D0)({nullable:!0})],d.prototype,"pdfFileDate",void 0),l([(0,i.D0)(e=>String,{nullable:!0})],d.prototype,"epubFile",void 0),l([(0,i.D0)(e=>i.Ai,{nullable:!0})],d.prototype,"epubFileSizeBytes",void 0),l([(0,i.D0)(e=>String,{nullable:!0})],d.prototype,"epubPreviewFile",void 0),l([(0,i.D0)({nullable:!0})],d.prototype,"epubSystemGenerated",void 0),l([(0,i.D0)({nullable:!0})],d.prototype,"epubFileDate",void 0),l([(0,i.D0)({nullable:!0})],d.prototype,"epubFileFriendlyName",void 0),l([(0,i.D0)({nullable:!0})],d.prototype,"pdfFileFriendlyName",void 0),l([(0,i.D0)(e=>i.Ai,{nullable:!0})],d.prototype,"awaitingBookFileFlag",void 0),l([(0,i.D0)({nullable:!0})],d.prototype,"iTunesDownloadCodes",void 0),d=l([(0,i.an)()],d)},47350(e,t,o){"use strict";var i=o(19705),r=o(34639),a=o(95727),n=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let s=class extends((0,i.A)(a.H)){};s=n([(0,r.an)()],s)},76275(e,t,o){"use strict";var i=o(34639),r=o(37030),a=o(87e3),n=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let s=class extends r.q{constructor(){super(...arguments),this.penNameType=0}};n([(0,i.D0)(e=>String,{nullable:!0})],s.prototype,"title",void 0),n([(0,i.D0)(e=>String,{nullable:!0})],s.prototype,"description",void 0),n([(0,i.D0)(e=>String,{nullable:!0})],s.prototype,"penName",void 0),n([(0,i.D0)(e=>i.Ai,{nullable:!0})],s.prototype,"authorPenNameId",void 0),n([(0,i.D0)(e=>i.Ai,{defaultValue:0,nullable:!0})],s.prototype,"penNameType",void 0),n([(0,i.D0)(e=>String,{nullable:!0})],s.prototype,"bookCover",void 0),n([(0,i.D0)({nullable:!0})],s.prototype,"releaseDate",void 0),n([(0,i.D0)(e=>String,{nullable:!0})],s.prototype,"seriesName",void 0),n([(0,i.D0)(e=>i.Ai,{nullable:!0})],s.prototype,"seriesNumber",void 0),n([(0,i.D0)(e=>[a.IP],{nullable:!0})],s.prototype,"categories",void 0),n([(0,i.D0)(e=>String,{nullable:!0})],s.prototype,"keywords",void 0),n([(0,i.D0)(e=>i.Ai,{nullable:!0})],s.prototype,"wordCount",void 0),n([(0,i.D0)(e=>i.Ai,{nullable:!0})],s.prototype,"audience",void 0),n([(0,i.D0)(e=>i.Ai,{nullable:!0})],s.prototype,"language",void 0),n([(0,i.D0)(e=>String,{nullable:!0})],s.prototype,"linkAmazonAsin",void 0),n([(0,i.D0)(e=>String,{nullable:!0})],s.prototype,"linkAmazonAsinPrint",void 0),n([(0,i.D0)(e=>String,{nullable:!0})],s.prototype,"linkGoodreads",void 0),n([(0,i.D0)(e=>String,{nullable:!0})],s.prototype,"linkBookbub",void 0),n([(0,i.D0)(e=>String,{nullable:!0})],s.prototype,"linkBarnes",void 0),n([(0,i.D0)(e=>String,{nullable:!0})],s.prototype,"linkGoogle",void 0),n([(0,i.D0)(e=>String,{nullable:!0})],s.prototype,"linkKobo",void 0),n([(0,i.D0)(e=>String,{nullable:!0})],s.prototype,"linkSmashwords",void 0),n([(0,i.D0)({nullable:!0})],s.prototype,"smashwordsCouponCode",void 0),n([(0,i.D0)(e=>String,{nullable:!0})],s.prototype,"linkITunes",void 0),n([(0,i.D0)(e=>String,{nullable:!0})],s.prototype,"linkAudibleUs",void 0),n([(0,i.D0)(e=>String,{nullable:!0})],s.prototype,"linkAudibleUk",void 0),n([(0,i.D0)(e=>String,{nullable:!0})],s.prototype,"linkITunesAudio",void 0),n([(0,i.D0)(e=>String,{nullable:!0})],s.prototype,"linkBarnesAudio",void 0),n([(0,i.D0)(e=>String,{nullable:!0})],s.prototype,"linkGoogleAudio",void 0),n([(0,i.D0)(e=>String,{nullable:!0})],s.prototype,"linkGoodreadsAudio",void 0),n([(0,i.D0)(e=>String,{nullable:!0})],s.prototype,"linkKoboAudio",void 0),n([(0,i.D0)({nullable:!0})],s.prototype,"linkBookbubAudio",void 0),n([(0,i.D0)({nullable:!0})],s.prototype,"linkStoryGraph",void 0),n([(0,i.D0)({nullable:!0})],s.prototype,"linkStoryGraphAudio",void 0),n([(0,i.D0)(e=>i.Ai,{nullable:!0})],s.prototype,"source",void 0),n([(0,i.D0)(e=>String,{nullable:!0})],s.prototype,"pdfFile",void 0),n([(0,i.D0)(e=>i.Ai,{nullable:!0})],s.prototype,"pdfFileSizeBytes",void 0),n([(0,i.D0)({nullable:!0})],s.prototype,"pdfSystemGenerated",void 0),n([(0,i.D0)({nullable:!0})],s.prototype,"pdfFileDate",void 0),n([(0,i.D0)(e=>String,{nullable:!0})],s.prototype,"epubFile",void 0),n([(0,i.D0)(e=>i.Ai,{nullable:!0})],s.prototype,"epubFileSizeBytes",void 0),n([(0,i.D0)(e=>String,{nullable:!0})],s.prototype,"epubPreviewFile",void 0),n([(0,i.D0)({nullable:!0})],s.prototype,"epubSystemGenerated",void 0),n([(0,i.D0)({nullable:!0})],s.prototype,"epubFileDate",void 0),n([(0,i.D0)({nullable:!0})],s.prototype,"generatedNewEpub",void 0),n([(0,i.D0)({nullable:!0})],s.prototype,"epubFileFriendlyName",void 0),n([(0,i.D0)({nullable:!0})],s.prototype,"pdfFileFriendlyName",void 0),n([(0,i.D0)(e=>i.Ai,{nullable:!0})],s.prototype,"awaitingBookFileFlag",void 0),s=n([(0,i.iw)()],s)},27561(e,t,o){"use strict";o.d(t,{I:()=>a});var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{};r([(0,i.D0)(e=>i.Ai)],a.prototype,"id",void 0),a=r([(0,i.NZ)()],a)},23041(e,t,o){"use strict";var i=o(34639),r=o(77871),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class extends r.l{};a([(0,i.D0)()],n.prototype,"name",void 0),a([(0,i.D0)(e=>i.Ai,{nullable:!0})],n.prototype,"parentCategoryId",void 0),a([(0,i.D0)(e=>i.Ai,{nullable:!0})],n.prototype,"sortOrder",void 0),n=a([(0,i.iw)()],n)},462(e,t,o){"use strict";var i=o(34639),r=o(6788),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class extends r.c{};n=a([(0,i.iw)()],n)},88689(e,t,o){"use strict";var i=o(34639),r=o(65147),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class extends r.p{};n=a([(0,i.iw)()],n)},82605(e,t,o){"use strict";var i=o(34639),r=o(73627),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class extends r.N{};n=a([(0,i.iw)()],n)},87e3(e,t,o){"use strict";o.d(t,{AU:()=>r.A,IP:()=>i.I});o(23041);var i=o(27561),r=(o(462),o(88689),o(82605),o(89054));o(65888),o(4409),o(14088),o(72520),o(5347)},89054(e,t,o){"use strict";o.d(t,{A:()=>s});var i=o(34639),r=o(3047),a=o(14088),n=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let s=class extends r.d{};n([(0,i.D0)()],s.prototype,"name",void 0),n([(0,i.D0)(e=>i.Ai)],s.prototype,"sortOrder",void 0),n([(0,i.D0)(e=>i.Ai,{nullable:!0})],s.prototype,"parentCategoryId",void 0),n([(0,i.D0)(e=>s,{nullable:!0})],s.prototype,"parentCategory",void 0),n([(0,i.D0)(e=>[s],{nullable:!0})],s.prototype,"childCategories",void 0),n([(0,i.D0)(e=>[a.b],{nullable:!0})],s.prototype,"translations",void 0),s=n([(0,i.an)()],s)},5347(e,t,o){"use strict";var i=o(19705),r=o(34639),a=o(89054),n=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let s=class extends((0,i.A)(a.A)){};s=n([(0,r.an)()],s)},65888(e,t,o){"use strict";var i=o(34639),r=o(4409),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class{};a([(0,i.D0)(()=>[r.e])],n.prototype,"items",void 0),n=a([(0,i.iw)()],n)},4409(e,t,o){"use strict";o.d(t,{e:()=>a});var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{};r([(0,i.D0)(e=>i.Ai)],a.prototype,"id",void 0),r([(0,i.D0)(e=>i.Ai,{nullable:!0})],a.prototype,"parentCategoryId",void 0),r([(0,i.D0)(e=>i.Ai)],a.prototype,"sortOrder",void 0),a=r([(0,i.NZ)()],a)},14088(e,t,o){"use strict";o.d(t,{b:()=>a});var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{};r([(0,i.D0)()],a.prototype,"locale",void 0),r([(0,i.D0)()],a.prototype,"name",void 0),a=r([(0,i.an)()],a)},72520(e,t,o){"use strict";var i=o(34639),r=o(37030),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===t
1ypeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class extends r.q{};a([(0,i.D0)({nullable:!0})],n.prototype,"name",void 0),a([(0,i.D0)(e=>i.Ai,{nullable:!0})],n.prototype,"parentCategoryId",void 0),a([(0,i.D0)(e=>i.Ai,{nullable:!0})],n.prototype,"sortOrder",void 0),n=a([(0,i.iw)()],n)},98026(e,t,o){"use strict";var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{};r([(0,i.D0)()],a.prototype,"dtoTypeName",void 0),r([(0,i.D0)(e=>i.Ai)],a.prototype,"count",void 0),r([(0,i.D0)(e=>[i.Ai],{nullable:!0})],a.prototype,"ids",void 0),a=r([(0,i.an)()],a)},39282(e,t,o){"use strict";o(98026)},54003(e,t,o){"use strict";o(41844),o(55250)},75099(e,t,o){"use strict";var i=o(34639),r=o(77871),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class extends r.l{};a([(0,i.D0)(e=>i.Ai)],n.prototype,"threadId",void 0),a([(0,i.D0)()],n.prototype,"message",void 0),a([(0,i.D0)(e=>i.Ai,{nullable:!0})],n.prototype,"penNameId",void 0),a([(0,i.D0)(e=>i.Ai,{nullable:!0})],n.prototype,"arcTeamId",void 0),n=a([(0,i.iw)()],n)},97352(e,t,o){"use strict";var i=o(34639),r=o(6788),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class extends r.c{};n=a([(0,i.iw)()],n)},13191(e,t,o){"use strict";var i=o(34639),r=o(65147),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class extends r.p{};a([(0,i.D0)(e=>i.Ai)],n.prototype,"threadId",void 0),a([(0,i.D0)(e=>i.Ai,{nullable:!0})],n.prototype,"state",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"needle",void 0),n=a([(0,i.iw)()],n)},90799(e,t,o){"use strict";var i=o(34639),r=o(73627),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class extends r.N{};n=a([(0,i.iw)()],n)},55250(e,t,o){"use strict";o(75099),o(97352),o(13191),o(90799),o(45528),o(98458),o(27797)},45528(e,t,o){"use strict";o.d(t,{H:()=>s});var i=o(96193),r=o(34639),a=o(23663),n=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let s=class extends i.ez{};n([(0,r.D0)(e=>r.Ai)],s.prototype,"state",void 0),n([(0,r.D0)()],s.prototype,"stateDate",void 0),n([(0,r.D0)()],s.prototype,"message",void 0),n([(0,r.D0)(e=>r.Ai)],s.prototype,"threadId",void 0),n([(0,r.D0)(e=>a.I)],s.prototype,"sender",void 0),s=n([(0,r.an)()],s)},27797(e,t,o){"use strict";var i=o(19705),r=o(34639),a=o(45528),n=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let s=class extends((0,i.A)(a.H)){};s=n([(0,r.an)()],s)},98458(e,t,o){"use strict";var i=o(34639),r=o(37030),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class extends r.q{};a([(0,i.D0)(e=>i.Ai)],n.prototype,"state",void 0),n=a([(0,i.iw)()],n)},4305(e,t,o){"use strict";o.d(t,{G:()=>n});var i=o(34639),r=o(23663),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class extends r.I{};a([(0,i.D0)(e=>i.Ai,{nullable:!0})],n.prototype,"arcTeamId",void 0),a([(0,i.D0)(e=>i.Ai,{nullable:!0})],n.prototype,"penNameId",void 0),a([(0,i.D0)(e=>Boolean)],n.prototype,"canAcceptMessages",void 0),a([(0,i.D0)(e=>
1Boolean)],n.prototype,"canSendMessages",void 0),n=a([(0,i.an)()],n)},23663(e,t,o){"use strict";o.d(t,{I:()=>n});var i=o(34639),r=o(96193),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class extends r.Rg{};a([(0,i.D0)({nullable:!0})],n.prototype,"modelKey",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"name",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"image",void 0),a([(0,i.D0)()],n.prototype,"existingThreadCount",void 0),n=a([(0,i.an)()],n)},80355(e,t,o){"use strict";var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{};r([(0,i.D0)(e=>i.Ai)],a.prototype,"userId",void 0),r([(0,i.D0)()],a.prototype,"reportUser",void 0),a=r([(0,i.iw)()],a);let n=class{};r([(0,i.D0)(e=>i.Ai)],n.prototype,"userId",void 0),n=r([(0,i.iw)()],n)},78005(e,t,o){"use strict";var i=o(34639),r=o(77871),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class extends r.l{};a([(0,i.D0)(e=>i.Ai)],n.prototype,"arcId",void 0),a([(0,i.D0)(e=>i.Ai)],n.prototype,"reviewUserId",void 0),n=a([(0,i.iw)()],n)},32650(e,t,o){"use strict";var i=o(34639),r=o(6788),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class extends r.c{};n=a([(0,i.iw)()],n)},57605(e,t,o){"use strict";var i=o(34639),r=o(65147),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class extends r.p{};a([(0,i.D0)(e=>i.Ai,{nullable:!0})],n.prototype,"state",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"needle",void 0),a([(0,i.D0)(e=>i.Ai,{nullable:!0})],n.prototype,"reviewUserId",void 0),n=a([(0,i.iw)()],n)},52025(e,t,o){"use strict";var i=o(34639),r=o(73627),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class extends r.N{};n=a([(0,i.iw)()],n)},41844(e,t,o){"use strict";o(78005),o(32650),o(57605),o(52025),o(99898),o(49140),o(10581),o(4305),o(80355),o(23663),o(47763),o(3119)},99898(e,t,o){"use strict";o.d(t,{N:()=>d});var i=o(96193),r=o(34639),a=o(3964),n=o(10581),s=o(4305),l=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let d=class extends i.ez{};l([(0,r.D0)(e=>r.Ai)],d.prototype,"state",void 0),l([(0,r.D0)()],d.prototype,"stateDate",void 0),l([(0,r.D0)(e=>r.Ai)],d.prototype,"arcId",void 0),l([(0,r.D0)(e=>r.Ai)],d.prototype,"reviewerUserId",void 0),l([(0,r.D0)(e=>a.C8)],d.prototype,"arc",void 0),l([(0,r.D0)(e=>s.G)],d.prototype,"authorUser",void 0),l([(0,r.D0)(e=>n.K)],d.prototype,"reviewerUser",void 0),l([(0,r.D0)(e=>r.Ai)],d.prototype,"messageCount",void 0),l([(0,r.D0)(e=>r.Ai)],d.prototype,"unreadMessageCount",void 0),l([(0,r.D0)()],d.prototype,"lastMessageDate",void 0),l([(0,r.D0)()],d.prototype,"lastMessageText",void 0),l([(0,r.D0)()],d.prototype,"blocked",void 0),d=l([(0,r.an)()],d)},3119(e,t,o){"use strict";var i=o(19705),r=o(34639),a=o(99898),n=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let s=class extends((0,i.A)(a.N)){};s=n([(0,r.an)()],s)},47763(e,t,o){"use strict";var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{};r([(0,i.D0)(e=>i.Ai)],a.prototype,"threadId",void 0),r([(0,i.D0)(e=>i.Ai,{nullable:!0})],a.prototype,"arcTeamId",void 0),r([(0,i.D0)(e=>i.Ai,{nullable:!0})],a.prototype,"penNameId",void 0),a=r([(0,i.iw)()],a)},10581(e,t,o){"use strict";o.d(t,{K:()=>n});var i=o(34639),r=o(96193),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class extends r.Rg{};a([(0,i.D0)()],n.prototype,"existingThreadCount",void 0),a([(0,i.D0)(e=>i.Ai,{nullable:!0})],n.prototype,"userId",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"modelKey",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"name",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"image",void 0),n=a([(0,i.an)()],n)},49140(e,t,o){"use strict";var i=o(34639),r=o(37030),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class extends r.q{};a([(0,i.D0)(e=>i.Ai)],n.prototype,"state",void 0),n=a([(0,i.iw)()],n)},35561(e,t,o){"use strict";o(80111),o(78261)},78261(e,t,o){"use strict";var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{};r([(0,i.D0)()],a.prototype,"date",void 0),r([(0,i.D0)(e=>i.Ai)],a.prototype,"totalUsers",void 0),r([(0,i.D0)(e=>i.Ai)],a.prototype,"recommendedUsers",void 0),r([(0,i.D0)(e=>i.Ai)],a.prototype,"newUsers",void 0),a=r([(0,i.an)()],a)},80111(e,t,o){"use strict";var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{};r([(0,i.D0)()],a.prototype,"type",void 0),r([(0,i.D0)({nullable:!0})],a.prototype,"metaData",void 0),a=r([(0,i.iw)()],a)},27125(e,t,o){"use strict";var i=o(34639),r=o(77871),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class extends r.l{constructor(){super(...arguments),this.active=!0}};a([(0,i.D0)({defaultValue:!0})],n.prototype,"active",void 0),a([(0,i.D0)(e=>i.Ai)],n.prototype,"typeFlags",void 0),a([(0,i.D0)()],n.prototype,"code",void 0),a([(0,i.D0)()],n.prototype,"permissionPreferenceKey",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"templateId",void 0),a([(0,i.D0)(e=>Date,{nullable:!0})],n.prototype,"lastQueuedDate",void 0),n=a([(0,i.iw)()],n)},35466(e,t,o){"use strict";var i=o(34639),r=o(6788),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class extends r.c{};n=a([(0,i.iw)()],n)},741(e,t,o){"use strict";var i=o(34639),r=o(65147),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class extends r.p{};a([(0,i.D0)(e=>[String],{nullable:!0})],n.prototype,"notificationCodes",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"unread",void 0),n=a([(0,i.iw)()],n)},7833(e,t,o){"use strict";var i=o(34639),r=o(73627),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class extends r.N{};n=a([(0,i.iw)()],n)},6324(e,t,o){"use strict";o.d(t,{hV:()=>i.h});o(27125),o(35466),o(741),o(7833);var i=o(40730);o(35700),o(57903),o(91809),o(53528),o(1481),o(80267)},40730(e,t,o){"use strict";o.d(t,{h:()=>s});var i=o(34639),r=o(3047),a=o(3964),n=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let s=class extends r.d{};n([(0,i.D0)()],s.prototype,"code",void 0),n([(0,i.D0)()],s.prototype,"permissionPreferenceKey",void 0),n([(0,i.D0)(e=>i.Ai)],s.prototype,"typeFlags",void 0),n([(0,i.D0)()],s.prototype,"active",void 0),n([(0,i.D0)()],s.prototype,"lastQueuedDate",void 0),n([(0,i.D0)(e=>i.Ai,{nullable:!0})],s.prototype,"userAwaitingNotificationCount",void 0),n([(0,i.D0)(e=>i.Ai,{nullable:!0})],s.prototype,"userNotificationCount",void 0),n([(0,i.D0)(e=>i.Ai,{nullable:!0})],s.prototype,"status",void 0),n([(0,i.D0)({nullable:!0})],s.prototype,"statusDate",void 0),n([(0,i.D0)({nullable:!0})],s.prototype,"templateId",void 0),n([(0,i.D0)(e=>a.C8,{nullable:!0})],s.prototype,"arc",void 0),n([(0,i.D0)(e=>i.Ai,{nullable:!0})],s.prototype,"arcId",void 0),n([(0,i.D0)(e=>a.Cn,{nullable:!0})],s.prototype,"arcClaim",void 0),n([(0,i.D0)(e=>i.Ai,{nullable:!0})],s.prototype,"arcClaimId",void 0),n([(0,i.D0)(e=>a.U1,{nullable:!0})],s.prototype,"arcReview",void 0),n([(0,i.D0)(e=>i.Ai,{nullable:!0})],s.prototype,"arcReviewId",void 0),n([(0,i.D0)(e=>a.dw,{nullable:!0})],s.prototype,"arcReviewSite",void 0),n([(0,i.D0)(e=>i.Ai,{nullable:!0})],s.prototype,"arcReviewSiteId",void 0),s=n([(0,i.an)()],s)},57903(e,t,o){"use strict";var i=o(19705),r=o(34639),a=o(40730),n=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let s=class extends((0,i.A)(a.h)){};s=n([(0,r.an)()],s)},80267(e,t,o){"use strict";var i=o(19705),r=o(34639),a=o(91809),n=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let s=class extends((0,i.A)(a.A)){};n([(0,r.D0)(e=>r.Ai)],s.prototype,"unreadNotificationCount",void 0),s=n([(0,r.an)()],s)},1481(e,t,o){"use strict";var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{};r([(0,i.D0)(e=>i.Ai)],a.prototype,"author",void 0),r([(0,i.D0)(e=>i.Ai)],a.prototype,"reviewer",void 0),a=r([(0,i.an)()],a)},53528(e,t,o){"use strict";var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{};r([(0,i.D0)()],a.prototype,"unsubId",void 0),r([(0,i.D0)()],a.prototype,"key",void 0),a=r([(0,i.iw)()],a)},35700(e,t,o){"use strict";var i=o(34639),r=o(37030),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class extends r.q{};a([(0,i.D0)({nullable:!0})],n.prototype,"active",void 0),a([(0,i.D0)(e=>i.Ai,{nullable:!0})],n.prototype,"typeFlags",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"code",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"permissionPreferenceKey",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"templateId",void 0),a([(0,i.D0)(e=>Date,{nullable:!0})],n.prototype,"lastQueuedDate",void 0),n=a([(0,i.iw)()],n)},91809(e,t,o){"use strict";o.d(t,{A:()=>c});var i=o(34639),r=o(3964),a=o(40730),n=o(96193),s=o(58929),l=o(76566),d=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let c=class extends n.ez{};d([(0,i.D0)(e=>i.Ai)],c.prototype,"status",void 0),d([(0,i.D0)()],c.prototype,"statusDate",void 0),d([(0,i.D0)(e=>i.Ai)],c.prototype,"state",void 0),d([(0,i.D0)()],c.prototype,"statusMessage",void 0),d([(0,i.D0)(e=>a.h)],c.prototype,"notification",void 0),d([(0,i.D0)(e=>s.HH,{nullable:!0})],c.prototype,"book",void 0),d([(0,i.D0)({nullable:!0})],c.prototype,"nameOfInstigator",void 0),d([(0,i.D0)(e=>r.C8,{nullable:!0})],c.prototype,"arc",void 0),d([(0,i.D0)(e=>r.Cn,{nullable:!0})],c.prototype,"arcClaim",void 0),d([(0,i.D0)(e=>r.U1,{nullable:!0})],c.prototype,"arcReview",void 0),d([(0,i.D0)(e=>r.dw,{nullable:!0})],c.prototype,"arcReviewSite",void 0),d([(0,i.D0)(e=>l.n0,{nullable:!0})],c.prototype,"arcTeam",void 0),d([(0,i.D0)(e=>l.XJ,{nullable:!0})],c.prototype,"arcTeamMember",void 0),d([(0,i.D0)(e=>[String])],c.prototype,"params",void 0),d([(0,i.D0)()],c.prototype,"parsedMessage",void 0),d([(0,i.D0)()],c.prototype,"parsedDescription",void 0),d([(0,i.D0)()],c.prototype,"to",void 0),c=d([(0,i.an)()],c)},58529(e,t,o){"use strict";var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescri
1ptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{};r([(0,i.D0)(e=>i.Ai,{nullable:!0})],a.prototype,"reason",void 0),r([(0,i.D0)({nullable:!0})],a.prototype,"reasonDescription",void 0),a=r([(0,i.iw)()],a)},21419(e,t,o){"use strict";var i=o(34639),r=o(52439),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class extends r.Lq{};a([(0,i.D0)(e=>i.Ai,{nullable:!0})],n.prototype,"monthsPaid",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"cancellationDate",void 0),n=a([(0,i.an)()],n)},93636(e,t,o){"use strict";var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{};r([(0,i.D0)(e=>i.Ai)],a.prototype,"month",void 0),r([(0,i.D0)(e=>i.Ai)],a.prototype,"year",void 0),r([(0,i.D0)(e=>i.Ai)],a.prototype,"count",void 0),a=r([(0,i.an)()],a)},2253(e,t,o){"use strict";var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{};r([(0,i.D0)(e=>i.nt)],a.prototype,"subtotal",void 0),r([(0,i.D0)(e=>i.nt)],a.prototype,"tax",void 0),r([(0,i.D0)(e=>i.nt)],a.prototype,"total",void 0),r([(0,i.D0)(e=>i.nt)],a.prototype,"credit",void 0),r([(0,i.D0)()],a.prototype,"taxCountryCode",void 0),r([(0,i.D0)()],a.prototype,"taxCode",void 0),r([(0,i.D0)()],a.prototype,"postalCode",void 0),r([(0,i.D0)(e=>i.Ai,{nullable:!0})],a.prototype,"proratedDate",void 0),a=r([(0,i.an)()],a)},85927(e,t,o){"use strict";var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{};r([(0,i.D0)()],a.prototype,"newPlan",void 0),r([(0,i.D0)()],a.prototype,"oldPlan",void 0),r([(0,i.D0)()],a.prototype,"newCycle",void 0),r([(0,i.D0)(e=>i.Ai,{nullable:!0})],a.prototype,"proratedDate",void 0),r([(0,i.D0)({nullable:!0})],a.prototype,"ipAddress",void 0),a=r([(0,i.iw)()],a)},85399(e,t,o){"use strict";var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{};r([(0,i.D0)()],a.prototype,"token",void 0),r([(0,i.D0)()],a.prototype,"taxCode",void 0),r([(0,i.D0)()],a.prototype,"cardId",void 0),r([(0,i.D0)()],a.prototype,"cardLast4",void 0),r([(0,i.D0)()],a.prototype,"cardBrand",void 0),r([(0,i.D0)(e=>i.Ai)],a.prototype,"cardExpMonth",void 0),r([(0,i.D0)(e=>i.Ai)],a.prototype,"cardExpYear",void 0),r([(0,i.D0)()],a.prototype,"cardCountry",void 0),r([(0,i.D0)(e=>i.nt)],a.prototype,"total",void 0),r([(0,i.D0)(e=>i.nt)],a.prototype,"taxRate",void 0),r([(0,i.D0)(e=>i.nt,{nullable:!0})],a.prototype,"extraTaxRate",void 0),r([(0,i.D0)(e=>i.nt)],a.prototype,"taxAmount",void 0),r([(0,i.D0)(e=>i.nt)],a.prototype,"subtotal",void 0),r([(0,i.D0)()],a.prototype,"taxCountryCode",void 0),r([(0,i.D0)()],a.prototype,"taxName",void 0),r([(0,i.D0)({nullable:!0})],a.prototype,"extraTaxName",void 0),r([(0,i.D0)()],a.prototype,"postalCode",void 0),r([(0,i.D0)()],a.prototype,"plan",void 0),r([(0,i.D0)()],a.prototype,"planCycle",void 0),r([(0,i.D0)({nullable:!0})],a.prototype,"ipAddress",void 0),a=r([(0,i.iw)()],a)},88404(e,t,o){"use strict";var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{};r([(0,i.D0)()],a.prototype,"status",void 0),r([(0,i.D0)({nullable:!0})],a.prototype,"clientSecret",void 0),r([(0,i.D0)({nullable:!0})],a.prototype,"actionUrl",void 0),r([(0,i.D0)({nullable:!0})],a.prototype,"actionUrlType",void 0),a=r([(0,i.an)()],a)},3612(e,t,o){"use strict";var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{};r([(0,i.D0)(e=>i.Ai,{nullable:!0})],a.prototype,"cancelReason",void 0),r([(0,i.D0)({nullable:!0})],a.prototype,"fromDate",void 0),r([(0,i.D0)({nullable:!0})],a.prototype,"toDate",void 0),r([(0,i.D0)({nullable:!0})],a.prototype,"groupByMonth",void 0),a=r([(0,i.iw)()],a)},59662(e,t,o){"use strict";var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{};r([(0,i.D0)({nullable:!0})],a.prototype,"forFp",void 0),r([(0,i.D0)({nullable:!0})],a.prototype,"cycle",void 0),r([(0,i.D0)({nullable:!0})],a.prototype,"plan",void 0),a=r([(0,i.iw)()],a)},69548(e,t,o){"use strict";var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{};r([(0,i.D0)(e=>i.Ai,{nullable:!0})],a.prototype,"forUserId",void 0),r([(0,i.D0)(e=>i.Ai,{nullable:!0})],a.prototype,"limit",void 0),r([(0,i.D0)({nullable:!0})],a.prototype,"startingAfter",void 0),a=r([(0,i.iw)()],a)},38565(e,t,o){"use strict";var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{};r([(0,i.D0)(e=>i.Ai,{nullable:!0})],a.prototype,"forUserId",void 0),r([(0,i.D0)({nullable:!0})],a.prototype,"skipInvoices",void 0),a=r([(0,i.iw)()],a)},82243(e,t,o){"use strict";o(85399),o(79161),o(63163),o(2253),o(85927),o(88404),o(38565),o(58529),o(58426),o(3612),o(93636),o(21419),o(34592),o(59662),o(69548),o(23855)},63163(e,t,o){"use strict";o.d(t,{B:()=>a});var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{};r([(0,i.D0)()],a.prototype,"id",void 0),r([(0,i.D0)()],a.prototype,"description",void 0),r([(0,i.D0)(e=>Date)],a.prototype,"paidOn",void 0),r([(0,i.D0)()],a.prototype,"cardLast4",void 0),r([(0,i.D0)({nullable:!0})],a.prototype,"cardType",void 0),r([(0,i.D0)()],a.prototype,"downloadLink",void 0),r([(0,i.D0)()],a.prototype,"status",void 0),r([(0,i.D0)({nullable:!0})],a.prototype,"paymentFailedReason",void 0),r([(0,i.D0)({nullable:!0})],a.prototype,"paymentFailedDescription",void 0),r([(0,i.D0)({nullable:!0})],a.prototype,"paymentFailedType",void 0),a=r([(0,i.an)()],a)},23855(e,t,o){"use strict";var i=o(34639),r=o(63163),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class{};a([(0,i.D0)(e=>[r.B])],n.prototype,"invoices",void 0),a([(0,i.D0)()],n.prototype,"hasMore",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"nextStartingAfter",void 0),n=a([(0,i.an)()],n)},79161(e,t,o){"use strict";var i=o(34639),r=o(63163),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class{};a([(0,i.D0)({nullable:!0})],n.prototype,"plan",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"stripeCustomerId",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"stripeSubscriptionId",void 0),a([(0,i.D0)(e=>i.nt,{nullable:!0})],n.prototype,"price",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"cycle",void 0),a([(0,i.D0)(e=>Date,{nullable:!0})],n.prototype,"cancelAt",void 0),a([(0,i.D0)(e=>Date,{nullable:!0})],n.prototype,"nextBillDue",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"cardLast4",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"cardExpiry",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"cardType",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"taxCountry",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"taxCountryCode",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"postalCode",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"taxCode",void 0),a([(0,i.D0)(e=>i.Ai,{nullable:!0})],n.prototype,"discountPcApplied",void 0),a([(0,i.D0)(e=>i.Ai,{nullable:!0})],n.prototype,"discountAmountApplied",void 0),a([(0,i.D0)(e=>[r.B],{nullable:!0})],n.prototype,"invoices",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"lastFailedPaymentId",void 0),n=a([(0,i.an)()],n)},34592(e,t,o){"use strict";var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{};r([(0,i.D0)()],a.prototype,"invoiceId",void 0),a=r([(0,i.iw)()],a)},58426(e,t,o){"use strict";var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{};r([(0,i.D0)(e=>i.nt)],a.prototype,"taxRate",void 0),r([(0,i.D0)(e=>i.nt,{nullable:!0})],a.prototype,"extraTaxRate",void 0),r([(0,i.D0)()],a.prototype,"taxCountryCode",void 0),r([(0,i.D0)()],a.prototype,"postalCode",void 0),r([(0,i.D0)()],a.prototype,"taxCode",void 0),r([(0,i.D0)({nullable:!0})],a.prototype,"ipAddress",void 0),r([(0,i.D0)()],a.prototype,"taxName",void 0),r([(0,i.D0)({nullable:!0})],a.prototype,"extraTaxName",void 0),a=r([(0,i.iw)()],a)},19465(e,t,o){"use strict";var i=o(34639),r=o(12632),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class extends r.s{};n=a([(0,i.iw)()],n)},15810(e,t,o){"use strict";var i=o(34639),r=o(77871),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class extends r.l{};a([(0,i.D0)(e=>String)],n.prototype,"name",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"bio",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"image",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"facebookLink",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"bookbubLink",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"twitterLink",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"instagramLink",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"websiteLink",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"newsletterLink",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"tiktokLink",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"amazonLink",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"goodreadsLink",void 0),n=a([(0,i.iw)()],n)},22473(e,t,o){"use strict";var i=o(34639),r=o(6788),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class extends r.c{};n=a([(0,i.iw)()],n)},87843(e,t,o){"use strict";o.d(t,{a:()=>a});var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{};r([(0,i.D0)(e=>i.Ai)],a.prototype,"id",void 0),a=r([(0,i.an)()],a)},82190(e,t,o){"use strict";var i=o(34639),r=o(65147),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class extends r.p{};a([(0,i.D0)(e=>Boolean,{nullable:!0})],n.prototype,"following",void 0),n=a([(0,i.iw)()],n)},68590(e,t,o){"use strict";var i=o(34639),r=o(73627),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class extends r.N{};a([(0,i.D0)(e=>Boolean,{nullable:!0})],n.prototype,"getAverageRating",void 0),n=a([(0,i.iw)()],n)},5941(e,t,o){"use strict";o.d(t,{_0:()=>i._});o(15810),o(22473),o(82190),o(68590);var i=o(57283);o(10935),o(19465),o(87843),o(54618)},57283(e,t,o){"use strict";o.d(t,{_:()=>s});var i=o(34639),r=o(87843),a=o(27204),n=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let s=class extends a.e{};n([(0,i.D0)(e=>String)],s.prototype,"name",void 0),n([(0,i.D0)(e=>String)],s.prototype,"firstName",void 0),n([(0,i.D0)(e=>String,{nullable:!0})],s.prototype,"lastName",void 0),n([(0,i.D0)(e=>[r.a],{nullable:!0})],s.prototype,"followers",void 0),n([(0,i.D0)({nullable:!0})],s.prototype,"bio",void 0),n([(0
1,i.D0)({nullable:!0})],s.prototype,"image",void 0),n([(0,i.D0)({nullable:!0})],s.prototype,"facebookLink",void 0),n([(0,i.D0)({nullable:!0})],s.prototype,"bookbubLink",void 0),n([(0,i.D0)({nullable:!0})],s.prototype,"twitterLink",void 0),n([(0,i.D0)({nullable:!0})],s.prototype,"instagramLink",void 0),n([(0,i.D0)({nullable:!0})],s.prototype,"websiteLink",void 0),n([(0,i.D0)({nullable:!0})],s.prototype,"newsletterLink",void 0),n([(0,i.D0)({nullable:!0})],s.prototype,"tiktokLink",void 0),n([(0,i.D0)({nullable:!0})],s.prototype,"amazonLink",void 0),n([(0,i.D0)({nullable:!0})],s.prototype,"goodreadsLink",void 0),n([(0,i.D0)(e=>i.Ai,{nullable:!0})],s.prototype,"followerCount",void 0),n([(0,i.D0)(e=>i.nt,{nullable:!0})],s.prototype,"averageRating",void 0),n([(0,i.D0)(e=>i.Ai,{nullable:!0})],s.prototype,"reviewCount",void 0),n([(0,i.D0)()],s.prototype,"isDraft",void 0),s=n([(0,i.an)()],s)},54618(e,t,o){"use strict";var i=o(19705),r=o(34639),a=o(57283),n=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let s=class extends((0,i.A)(a._)){};s=n([(0,r.an)()],s)},10935(e,t,o){"use strict";var i=o(34639),r=o(37030),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class extends r.q{};a([(0,i.D0)(e=>String,{nullable:!0})],n.prototype,"name",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"bio",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"image",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"facebookLink",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"bookbubLink",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"twitterLink",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"instagramLink",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"websiteLink",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"newsletterLink",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"tiktokLink",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"amazonLink",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"goodreadsLink",void 0),n=a([(0,i.iw)()],n)},44091(e,t,o){"use strict";var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{};r([(0,i.D0)()],a.prototype,"emailAddress",void 0),a=r([(0,i.iw)()],a)},211(e,t,o){"use strict";var i=o(34639),r=o(12632),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class extends r.s{};n=a([(0,i.iw)()],n)},21110(e,t,o){"use strict";var i=o(34639),r=o(77871),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class extends r.l{};a([(0,i.D0)()],n.prototype,"emailAddress",void 0),n=a([(0,i.iw)()],n)},82846(e,t,o){"use strict";var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{};r([(0,i.D0)(e=>i.Ai,{nullable:!0})],a.prototype,"month",void 0),r([(0,i.D0)(e=>i.Ai,{nullable:!0})],a.prototype,"year",void 0),r([(0,i.D0)(e=>i.Ai,{nullable:!0})],a.prototype,"day",void 0),r([(0,i.D0)(e=>i.Ai,{nullable:!0})],a.prototype,"entityId",void 0),r([(0,i.D0)(e=>i.Ai)],a.prototype,"count",void 0),a=r([(0,i.an)()],a)},42468(e,t,o){"use strict";var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{};r([(0,i.D0)(e=>i.Ai)],a.prototype,"userId",void 0),r([(0,i.D0)(e=>i.Ai)],a.prototype,"accountType",void 0),a=r([(0,i.iw)()],a)},22255(e,t,o){"use strict";var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{};r([(0,i.D0)(e=>i.Ai,{nullable:!0})],a.prototype,"topReviewerApplicantCount",void 0),r([(0,i.D0)(e=>i.Ai,{nullable:!0})],a.prototype,"reportedCount",void 0),a=r([(0,i.an)()],a)},34234(e,t,o){"use strict";o.d(t,{Ky:()=>i.K});o(76287),o(49759);var i=o(44537)},44537(e,t,o){"use strict";o.d(t,{K:()=>i});class i{}},76287(e,t,o){"use strict";var i=o(34639),r=o(83403),a=o(68905),n=o(61382),s=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let l=class{};s([(0,a.Rh)(n.j.USER.PASSWORDS.MIN_LENGTH,{message:"minPasswordLength"}),(0,r.bZ)(n.j.USER.PASSWORDS.MAX_LENGTH,{message:"maxPasswordLength"})],l.prototype,"newPassword",void 0),l=s([(0,i.iw)()],l)},49759(e,t,o){"use strict";var i=o(34639),r=o(83403),a=o(68905),n=o(61382),s=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let l=class{};s([(0,i.D0)()],l.prototype,"emailAddress",void 0),s([(0,i.D0)(),(0,a.Rh)(n.j.USER.PASSWORDS.MIN_LENGTH,{message:"minPasswordLength"}),(0,r.bZ)(n.j.USER.PASSWORDS.MAX_LENGTH,{message:"maxPasswordLength"})],l.prototype,"password",void 0),s([(0,i.D0)(e=>i.Ai)],l.prototype,"role",void 0),l=s([(0,i.iw)()],l)},80788(e,t,o){"use strict";var i=o(34639),r=o(50285),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class{};a([(0,i.D0)(e=>r.L)],n.prototype,"user",void 0),a([(0,i.D0)(e=>r.L,{nullable:!0})],n.prototype,"mimicUser",void 0),a([(0,i.D0)(e=>i.Ai,{nullable:!0})],n.prototype,"tokenExpires",void 0),n=a([(0,i.an)()],n)},58347(e,t,o){"use strict";o.d(t,{T:()=>n});var i=o(34639),r=o(3047),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class extends r.d{};a([(0,i.D0)()],n.prototype,"emailAddress",void 0),a([(0,i.D0)(e=>String,{nullable:!0})],n.prototype,"name",void 0),a([(0,i.D0)(e=>String,{nullable:!0})],n.prototype,"image",void 0),n=a([(0,i.an)()],n)},83132(e,t,o){"use strict";var i=o(34639),r=o(77871),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class extends r.l{};a([(0,i.D0)()],n.prototype,"emailAddress",void 0),a([(0,i.D0)(e=>i.Ai)],n.prototype,"consentMethod",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"name",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"image",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"kindleEmail",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"verifiedKindleEmail",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"amazonProfileLink",void 0),a([(0,i.D0)(e=>[i.Ai],{nullable:!0})],n.prototype,"canActAs",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"lockRoles",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"notificationRegistrationToken",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"completedTours",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"authorRole",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"ipAddress",void 0),n=a([(0,i.iw)()],n)},72387(e,t,o){"use strict";var i=o(34639),r=o(6788),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class extends r.c{};n=a([(0,i.iw)()],n)},66108(e,t,o){"use strict";var i=o(34639),r=o(65147),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class extends r.p{};a([(0,i.D0)({nullable:!0})],n.prototype,"needle",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"reported",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"topReviewerApplicants",void 0),n=a([(0,i.iw)()],n)},56246(e,t,o){"use strict";var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{};r([(0,i.D0)({nullable:!0})],a.prototype,"fromDate",void 0),r([(0,i.D0)({nullable:!0})],a.prototype,"toDate",void 0),a=r([(0,i.iw)()],a)},72448(e,t,o){"use strict";var i=o(34639),r=o(73627),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class extends r.N{};n=a([(0,i.iw)()],n)},56981(e,t,o){"use strict";var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{};r([(0,i.D0)(e=>i.Ai)],a.prototype,"docId",void 0),r([(0,i.D0)(e=>i.Ai)],a.prototype,"type",void 0),r([(0,i.D0)()],a.prototype,"ignore",void 0),a=r([(0,i.iw)()],a)},52439(e,t,o){"use strict";o.d(t,{Bn:()=>r.B,Ft:()=>n.F,Ky:()=>a.Ky,Lq:()=>i.L,S4:()=>s.S4,Sl:()=>l.S,dV:()=>c.dV,hT:()=>c.hT,vX:()=>d.v,xu:()=>c.xu});o(83132),o(72387),o(66108),o(72448);var i=o(50285),r=(o(43193),o(211),o(76293)),a=(o(44091),o(34234)),n=o(55282),s=o(20290),l=(o(58347),o(93092),o(21110),o(6455)),d=o(42146),c=(o(75432),o(22255),o(47547),o(19454),o(83608),o(86353),o(56981),o(80788),o(30414));o(63181),o(56246),o(82846),o(75351),o(42468)},63181(e,t,o){"use strict";var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{};r([(0,i.D0)()],a.prototype,"title",void 0),r([(0,i.D0)({nullable:!0})],a.prototype,"description",void 0),r([(0,i.D0)({nullable:!0})],a.prototype,"keywords",void 0),r([(0,i.D0)({nullable:!0})],a.prototype,"ogTitle",void 0),r([(0,i.D0)({nullable:!0})],a.prototype,"ogImage",void 0),r([(0,i.D0)({nullable:!0})],a.prototype,"ogUrl",void 0),r([(0,i.D0)({nullable:!0})],a.prototype,"canonicalUrl",void 0),a=r([(0,i.an)()],a)},50285(e,t,o){"use strict";o.d(t,{L:()=>c});var i=o(34639),r=o(76293),a=o(3047),n=o(20290),s=o(99479),l=o(58347),d=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let c=class extends a.d{};d([(0,i.D0)({nullable:!0})],c.prototype,"emailAddress",void 0),d([(0,i.D0)({nullable:!0})],c.prototype,"termsConsentDate",void 0),d([(0,i.D0)(e=>n.jj,{nullable:!0})],c.prototype,"preferences",void 0),d([(0,i.D0)(e=>i.Ai,{nullable:!0})],c.prototype,"consentMethod",void 0),d([(0,i.D0)({nullable:!0})],c.prototype,"termsConsentRevokedDate",void 0),d([(0,i.D0)(e=>String,{nullable:!0})],c.prototype,"reviewerRole",void 0),d([(0,i.D0)(e=>String,{nullable:!0})],c.prototype,"authorRole",void 0),d([(0,i.D0)(e=>i.Ai,{nullable:!0})],c.prototype,"selectedPrimaryRole",void 0),d([(0,i.D0)(e=>String,{nullable:!0})],c.prototype,"name",void 0),d([(0,i.D0)(e=>String,{nullable:!0})],c.prototype,"image",void 0),d([(0,i.D0)(e=>String,{nullable:!0})],c.prototype,"kindleEmail",void 0),d([(0,i.D0)({nullable:!0})],c.prototype,"verifiedKindleEmail",void 0),d([(0,i.D0)(e=>String,{nullable:!0})],c.prototype,"amazonProfileLink",void 0),d([(0,i.D0)(e=>[r.B],{nullable:!0})],c.prototype,"userEmails",void 0),d([(0,i.D0)(e=>[c],{nullable:!0})],c.prototype,"following",void 0),d([(0,i.D0)(e=>[l.T],{nullable:!0})],c.prototype,"canActAs",void 0),d([(0,i.D0)({nullable:!0})],c.prototype,"hasActingAs",void 0),d([(0,i.D0)(e=>i.Ai,{nullable:!0})],c.prototype,"status",void 0),d([(0,i.D0)(e=>[s.Cn],{nullable:!0})],c.prototype,"arcClaims",void 0),d([(0,i.D0)({nullable:!0})],c.prototype,"topReviewerAppStatusDate",void 0),d([(0,i.D0)(e=>i.Ai,{nullable:!0})],c.prototype,"topReviewerAppStatus",void 0),d([(0,i.D0)({nullable:!0})],c.prototype,"topReviewerAppStatusReason",void 0),d([(0,i.D0)({nullable:!0})],c.prototype,"isAdmin",void 0),d([(0,i.D0)(e=>i.Ai,{nullable:!0})],c.prototype,"pirateReportCount",void 0),d([(0,i.D0)({nullable:!0})],c.prototype,"unsubId",void 0),d([(0,i.D0)({nullable:!0})],c.prototype,"stripeCustomerId",void 0),d([(0,i.D0)({nullable:!0})],c.prototype,"isLocked",void 0),d([(0,i.D0)({nullable:!0})],c.prototype,"completedTours",void 0),d([(0,i.D0)(e=>i.Ai,{nullable:!0})],c.prototype,"cancelReason",void 0),d([(0,i.D0)({nullable:!0})],c.prototype,"cancelReasonDescription",void 0),d([(0,i.D0)({nullable:!0})],c.prototype,"forceLoyaltyDiscountView",void 0),d([(0,i.D0)({nullable:!0})],c.prototype,"countryCode",void 0),d([(0,i.D0)({nullable:!0})],c.prototype,"lastLoginDate",void 0),d([(0,i.D0)({nullable:!0})],c.prototype,"usedCouponCodes",void 0),d([(0,i.D0)({nullable:!0})],c.prototype,"phoneNumber",void 0),d([(0,i.D0)({nullable:!0})],c.prototype,"phoneVerified",void 0),d([(0,i.D0)({nullable:!0})],c.prototype,"legacyBestsellingArcs",void 
10),d([(0,i.D0)({nullable:!0})],c.prototype,"requiresPhoneVerification",void 0),c=d([(0,i.an)()],c)},93092(e,t,o){"use strict";var i=o(19705),r=o(34639),a=o(50285),n=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let s=class extends((0,i.A)(a.L)){};s=n([(0,r.an)()],s)},55282(e,t,o){"use strict";o.d(t,{F:()=>r});var i=o(61382);function r(e){const{MIN_LENGTH:t,MAX_LENGTH:o}=i.j.USER.PASSWORDS;return e.length<t?"minPasswordLength":e.length>o?"maxPasswordLength":null}},20290(e,t,o){"use strict";o.d(t,{S4:()=>i,jj:()=>r.j});var i=o(48188),r=o(5974);o(24330)},24330(e,t,o){"use strict";var i=o(34639),r=o(56117),a=o(61094),n=o(61382),s=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};const l=n.j.I18N.LOCALES.map(e=>e.CODE);let d=class{};s([(0,i.D0)({nullable:!0})],d.prototype,"reminderBookLinks",void 0),s([(0,i.D0)({nullable:!0})],d.prototype,"dailyUpdatesOnFollowCount",void 0),s([(0,i.D0)({nullable:!0})],d.prototype,"alertTimeToPublish",void 0),s([(0,i.D0)({nullable:!0})],d.prototype,"alertNewArcParticipant",void 0),s([(0,i.D0)({nullable:!0})],d.prototype,"alertNewReview",void 0),s([(0,i.D0)({nullable:!0})],d.prototype,"alertArcCancellation",void 0),s([(0,i.D0)({nullable:!0})],d.prototype,"alertReviewRejected",void 0),s([(0,i.D0)({nullable:!0})],d.prototype,"alertNewExternalReview",void 0),s([(0,i.D0)({nullable:!0})],d.prototype,"alertNewArc",void 0),s([(0,i.D0)({nullable:!0})],d.prototype,"alertNewArcOtherLanguages",void 0),s([(0,i.D0)({nullable:!0})],d.prototype,"alertReviewDueIn2Days",void 0),s([(0,i.D0)(e=>i.Ai,{nullable:!0})],d.prototype,"reviewSitesFlag",void 0),s([(0,i.D0)(e=>i.Ai,{nullable:!0})],d.prototype,"reviewLanguagesFlag",void 0),s([(0,i.D0)({nullable:!0})],d.prototype,"alertReadyToReview",void 0),s([(0,i.D0)({nullable:!0})],d.prototype,"alertFinalFollowup",void 0),s([(0,i.D0)({nullable:!0})],d.prototype,"alertDelayExpiring",void 0),s([(0,i.D0)({nullable:!0})],d.prototype,"alertDelayExpired",void 0),s([(0,i.D0)({nullable:!0})],d.prototype,"alertBookFileUpdated",void 0),s([(0,i.D0)({nullable:!0})],d.prototype,"alertSavedArcEndingOrLowCopies",void 0),s([(0,i.D0)({nullable:!0})],d.prototype,"emailOnMessage",void 0),s([(0,i.D0)({nullable:!0})],d.prototype,"alertNewTeamApplicant",void 0),s([(0,i.D0)({nullable:!0})],d.prototype,"invitedToTeam",void 0),s([(0,i.D0)({nullable:!0})],d.prototype,"freeText",void 0),s([(0,i.D0)(e=>String,{nullable:!0})],d.prototype,"findArcFilters",void 0),s([(0,i.D0)(e=>String,{nullable:!0})],d.prototype,"brevoLists",void 0),s([(0,i.D0)(e=>String,{nullable:!0}),(0,r.X)(),(0,a.Sf)(l)],d.prototype,"uiLocale",void 0),d=s([(0,i.NZ)()],d)},5974(e,t,o){"use strict";o.d(t,{j:()=>n});var i=o(34639),r=o(48188),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class{constructor(e){this.penNameLimit=r.penNameLimit,this.reminderBookLinks=r.reminderBookLinks,this.dailyUpdatesOnFollowCount=r.dailyUpdatesOnFollowCount,this.alertTimeToPublish=r.alertTimeToPublish,this.alertNewArcParticipant=r.alertNewArcParticipant,this.alertNewReview=r.alertNewReview,this.alertArcCancellation=r.alertArcCancellation,this.alertReviewRejected=r.alertReviewRejected,this.alertNewExternalReview=r.alertNewExternalReview,this.alertNewArc=r.alertNewArc,this.alertNewArcOtherLanguages=r.alertNewArcOtherLanguages,this.alertReviewDueIn2Days=r.alertReviewDueIn2Days,this.reviewSitesFlag=r.reviewSitesFlag,this.reviewLanguagesFlag=r.reviewLanguagesFlag,this.alertReadyToReview=r.alertReadyToReview,this.alertFinalFollowup=r.alertFinalFollowup,this.alertDelayExpiring=r.alertDelayExpiring,this.alertDelayExpired=r.alertDelayExpired,this.alertBookFileUpdated=r.alertBookFileUpdated,this.emailOnMessage=r.emailOnMessage,this.alertNewTeamApplicant=r.alertNewTeamApplicant,this.invitedToTeam=r.invitedToTeam,this.freeText=r.freeText,this.alertSavedArcEndingOrLowCopies=r.alertSavedArcEndingOrLowCopies,this.findArcFilters=r.findArcFilters,this.brevoLists=r.brevoLists,this.uiLocale=r.uiLocale,Object.assign(this,e)}};a([(0,i.D0)(e=>i.Ai,{defaultValue:r.penNameLimit})],n.prototype,"penNameLimit",void 0),a([(0,i.D0)({defaultValue:r.reminderBookLinks})],n.prototype,"reminderBookLinks",void 0),a([(0,i.D0)({defaultValue:r.dailyUpdatesOnFollowCount})],n.prototype,"dailyUpdatesOnFollowCount",void 0),a([(0,i.D0)({defaultValue:r.alertTimeToPublish})],n.prototype,"alertTimeToPublish",void 0),a([(0,i.D0)({defaultValue:r.alertNewArcParticipant})],n.prototype,"alertNewArcParticipant",void 0),a([(0,i.D0)({defaultValue:r.alertNewReview})],n.prototype,"alertNewReview",void 0),a([(0,i.D0)({defaultValue:r.alertArcCancellation})],n.prototype,"alertArcCancellation",void 0),a([(0,i.D0)({defaultValue:r.alertReviewRejected})],n.prototype,"alertReviewRejected",void 0),a([(0,i.D0)({defaultValue:r.alertNewExternalReview})],n.prototype,"alertNewExternalReview",void 0),a([(0,i.D0)({defaultValue:r.alertNewArc})],n.prototype,"alertNewArc",void 0),a([(0,i.D0)({defaultValue:r.alertNewArcOtherLanguages})],n.prototype,"alertNewArcOtherLanguages",void 0),a([(0,i.D0)({defaultValue:r.alertReviewDueIn2Days})],n.prototype,"alertReviewDueIn2Days",void 0),a([(0,i.D0)(e=>i.Ai,{defaultValue:r.reviewSitesFlag})],n.prototype,"reviewSitesFlag",void 0),a([(0,i.D0)(e=>i.Ai,{defaultValue:r.reviewLanguagesFlag})],n.prototype,"reviewLanguagesFlag",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"hasAmazonReviewRestriction",void 0),a([(0,i.D0)({defaultValue:r.alertReadyToReview})],n.prototype,"alertReadyToReview",void 0),a([(0,i.D0)({defaultValue:r.alertFinalFollowup})],n.prototype,"alertFinalFollowup",void 0),a([(0,i.D0)({defaultValue:r.alertDelayExpiring})],n.prototype,"alertDelayExpiring",void 0),a([(0,i.D0)({defaultValue:r.alertDelayExpired})],n.prototype,"alertDelayExpired",void 0),a([(0,i.D0)({defaultValue:r.alertBookFileUpdated})],n.prototype,"alertBookFileUpdated",void 0),a([(0,i.D0)({defaultValue:r.emailOnMessage})],n.prototype,"emailOnMessage",void 0),a([(0,i.D0)({defaultValue:r.alertNewTeamApplicant})],n.prototype,"alertNewTeamApplicant",void 0),a([(0,i.D0)({defaultValue:r.invitedToTeam})],n.prototype,"invitedToTeam",void 0),a([(0,i.D0)({defaultValue:r.freeText})],n.prototype,"freeText",void 0),a([(0,i.D0)({defaultValue:r.alertSavedArcEndingOrLowCopies})],n.prototype,"alertSavedArcEndingOrLowCopies",void 0),a([(0,i.D0)({defaultValue:r.findArcFilters})],n.prototype,"findArcFilters",void 0),a([(0,i.D0)(e=>String,{defaultValue:r.brevoLists})],n.prototype,"brevoLists",void 0),a([(0,i.D0)(e=>String,{defaultValue:r.uiLocale})],n.prototype,"uiLocale",void 0),n=a([(0,i.an)()],n)},75351(e,t,o){"use strict";var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{};r([(0,i.D0)()],a.prototype,"emailAddress",void 0),a=r([(0,i.iw)()],a)},83608(e,t,o){"use strict";var i=o(34639),r=o(65147),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class extends r.p{};a([(0,i.D0)(e=>i.Ai)],n.prototype,"userId",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"sinceLastRestriction",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"ignored",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"system",void 0),n=a([(0,i.iw)()],n)},86353(e,t,o){"use strict";var i=o(34639),r=o(58347),a=o(3047),n=o(3964),s=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let l=class extends a.d{};s([(0,i.D0)(e=>i.Ai)],l.prototype,"type",void 0),s([(0,i.D0)(e=>i.Ai)],l.prototype,"reportedDocumentId",void 0),s([(0,i.D0)({nullable:!0})],l.prototype,"reasonType",void 0),s([(0,i.D0)({nullable:!0})],l.prototype,"extendedReason",void 0),s([(0,i.D0)(e=>r.T)],l.prototype,"reportedByUser",void 0),s([(0,i.D0)({nullable:!0})],l.prototype,"ignored",void 0),s([(0,i.D0)()],l.prototype,"date",void 0),s([(0,i.D0)(e=>n.Cn,{nullable:!0})],l.prototype,"claim",void 0),l=s([(0,i.an)()],l)},75432(e,t,o){"use strict";o.d(t,{_:()=>a});var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{};r([(0,i.D0)(e=>i.Ai)],a.prototype,"lateCount",void 0),r([(0,i.D0)(e=>i.Ai)],a.prototype,"allClaimsCount",void 0),r([(0,i.D0)(e=>i.Ai)],a.prototype,"pcOfLateClaims",void 0),r([(0,i.D0)(e=>i.Ai)],a.prototype,"onTimeReviewRate",void 0),a=r([(0,i.an)()],a)},42146(e,t,o){"use strict";o.d(t,{v:()=>n});var i=o(34639),r=o(75432),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class{};a([(0,i.D0)(e=>i.Ai)],n.prototype,"arcsDownloadedThisWeek",void 0),a([(0,i.D0)(e=>i.Ai)],n.prototype,"arcTotalOverdueDays",void 0),a([(0,i.D0)(e=>r._)],n.prototype,"onTimeReviewRateStats",void 0),a([(0,i.D0)(e=>Boolean)],n.prototype,"isTrustedReviewer",void 0),a([(0,i.D0)(e=>i.Ai)],n.prototype,"totalReviewCount",void 0),a([(0,i.D0)(e=>i.Ai)],n.prototype,"dueReviewCount",void 0),a([(0,i.D0)(e=>i.Ai)],n.prototype,"cancelledReviewCount",void 0),a([(0,i.D0)(e=>i.nt)],n.prototype,"averageRating",void 0),a([(0,i.D0)(e=>i.Ai)],n.prototype,"activeArcCount",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"earliestNextClaimDate",void 0),n=a([(0,i.an)()],n)},47547(e,t,o){"use strict";var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{};r([(0,i.D0)(e=>i.Ai)],a.prototype,"userId",void 0),r([(0,i.D0)(e=>i.Ai)],a.prototype,"newStatus",void 0),r([(0,i.D0)({nullable:!0})],a.prototype,"statusReason",void 0),a=r([(0,i.iw)()],a)},6455(e,t,o){"use strict";o.d(t,{S:()=>a});var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{};r([(0,i.D0)(e=>i.Ai)],a.prototype,"completeArcCount",void 0),r([(0,i.D0)(e=>i.Ai)],a.prototype,"pendingTeamMembers",void 0),r([(0,i.D0)(e=>i.Ai)],a.prototype,"newReviewCount",void 0),r([(0,i.D0)(e=>i.Ai)],a.prototype,"arcCount",void 0),r([(0,i.D0)(e=>i.Ai)],a.prototype,"bookCount",void 0),r([(0,i.D0)(e=>i.Ai)],a.prototype,"penNameCount",void 0),r([(0,i.D0)(e=>i.Ai)],a.prototype,"arcTeamCount",void 0),r([(0,i.D0)(e=>i.Ai)],a.prototype,"reviewsCount",void 0),r([(0,i.D0)()],a.prototype,"anyTeamHasMember",void 0),r([(0,i.D0)()],a.prototype,"anyArcHasParticipant",void 0),r([(0,i.D0)()],a.prototype,"anyPenNameHasFollower",void 0),r([(0,i.D0)()],a.prototype,"hasReviewOlderThanOneMonth",void 0),r([(0,i.D0)()],a.prototype,"hasHadTeamMemberForOneMonth",void 0),a=r([(0,i.an)()],a)},3311(e,t,o){"use strict";var i=o(34639),r=o(77871),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class extends r.l{};a([(0,i.D0)(e=>i.Ai)],n.prototype,"userId",void 0),a([(0,i.D0)(e=>i.Ai)],n.prototype,"type",void 0),a([(0,i.D0)()],n.prototype,"active",void 0),a([(0,i.D0)()],n.prototype,"isRestriction",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"additionalInformation",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"expiryDate",void 0),a([(0,i.D0)(e=>i.Ai,{nullable:!0})],n.prototype,"ineligibleReason",void 0),n=a([(0,i.iw)()],n)},91451(e,t,o){"use strict";var i=o(34639),r=o(65147),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class extends r.p{};a([(0,i.D0)(e=>i.Ai)],n.prototype,"userId",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"needle",void 0),a([(0,i.D0)(e=>i.Ai,{nullable:!0})],n.prototype,"adminUserId",void 0),a([(0,i.D0)(e=>i.Ai,{nullable:!0})],n.prototype,"type",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"active",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"isRestriction",void 0),n=a([(0,i.iw)()],n)},19454(e,t,o){"use strict";o(60388),o(3311),o(91451),o(3014)},60388(e,t,o){"use strict";var i=o(34639),r=o(96193),a=o(58347),n=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let s=class extends r.ez{};n([(0,i.D0)(e=>a.T,{nullable:!0})],s.prototype,"adminUser",void 0),n([(0,i.D0)(e=>i.Ai)],s.prototype,"adminUserId",void 0),n([(0,i.D0)(e=>i.Ai)],s.prototype,"type",void 0),n([(0,i.D0)()],s.prototype,"active",void 0),n([(0,i.D0)()],s.prototype,"isRestriction",void 0),n([(0,i.D0)({nullable:!0})],s.prototype,"additionalInformation",void 0),n([(0,i.D0)({nullable:!0})],s.prototype,"expiryDate",void 0),n([(0,i.D0)(e=>i.Ai,{nullable:!0})],s.prototype,"ineligibleReason",void 0),s=n([(0,i.an)()],s)},3014(e,t,o){"use strict";var i=o(34639),r=o(37030),a=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class extends r.q{};a([(0,i.D0)(e=>i.Ai,{nullable:!0})],n.prototype,"type",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"active",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"isRestriction",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"expiryDate",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"additionalInformation",void 0),a([(0,i.D0)(e=>i.Ai)],n.prototype,"userId",void 0),a([(0,i.D0)(e=>i.Ai,{nullable:!0})],n.prototype,"ineligibleReason",void 0),n=a([(0,i.iw)()],n)},43193(e,t,o){"use strict";var i=o(34639),r=o(37030),a=function(e
1,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let n=class extends r.q{};a([(0,i.D0)({nullable:!0})],n.prototype,"name",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"image",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"kindleEmail",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"verifiedKindleEmail",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"amazonProfileLink",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"notificationRegistrationToken",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"preferences",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"skipThirdPartySync",void 0),a([(0,i.D0)(e=>[i.Ai],{nullable:!0})],n.prototype,"canActAs",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"completedTours",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"authorRole",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"lastLoginDate",void 0),a([(0,i.D0)({nullable:!0})],n.prototype,"usedCouponCodes",void 0),n=a([(0,i.iw)()],n)},76293(e,t,o){"use strict";o.d(t,{B:()=>a});var i=o(34639),r=function(e,t,o,i){var r,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(a<3?r(n):a>3?r(t,o,n):r(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let a=class{constructor(e){Object.assign(this,e)}};r([(0,i.D0)(e=>i.Ai)],a.prototype,"id",void 0),r([(0,i.D0)()],a.prototype,"emailAddress",void 0),r([(0,i.D0)(e=>i.Ai)],a.prototype,"status",void 0),r([(0,i.D0)()],a.prototype,"isDefault",void 0),r([(0,i.D0)(e=>String,{nullable:!0})],a.prototype,"postmarkBounceCode",void 0),r([(0,i.D0)(e=>String,{nullable:!0})],a.prototype,"postmarkBounceName",void 0),r([(0,i.D0)(e=>String,{nullable:!0})],a.prototype,"postmarkBounceDescription",void 0),r([(0,i.D0)({nullable:!0})],a.prototype,"postmarkBounceDate",void 0),r([(0,i.D0)(e=>i.Ai)],a.prototype,"postmarkBounceCount",void 0),a=r([(0,i.an)()],a)},30414(e,t,o){"use strict";var i=o(42163),r=o.n(i),a=o(61382),n=function(e,t){var o={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(o[i]=e[i]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(o[i[r]]=e[i[r]])}return o};const s=e=>{const t=n(a.j.USER.ROLES.AUTHOR,[]);switch(e){case t.FREE:return"Free Plan";case t.GROWING:return"Growing Author";case t.PRO:return"Pro Author";case t.BEST_SELLING:return"Bestselling Author";case t.PUBLISHER:return"Publisher or ARC Service";default:return""}},l=e=>e?`https://dashboard.stripe.com/customers/${e}`:"",d=(e,t)=>{const o=r()(t+"",{strict:!0});return`https://booksprout.co/admin/user/${e}/${o}`};o.d(t,["dV",0,l,"hT",0,d,"xu",0,s])},84433(e,t,o){"use strict";o.d(t,{PP:()=>r.A,R3:()=>a.A,VE:()=>h,kG:()=>i.A,n1:()=>v.n});var i=o(67471),r=o(28500),a=o(63350),n=o(59366),s=o(89885),l=o(32474),d=o(90303),c=o(60926),u=o(99764),p=o(61382),v=o(57046),m=o(74352);const y={[p.j.USER.ROLES.REVIEWER.UNSET]:new u.A,[p.j.USER.ROLES.REVIEWER.NEW]:new i.A,[p.j.USER.ROLES.REVIEWER.VALUED]:new r.A,[p.j.USER.ROLES.REVIEWER.TOP]:new a.A,[p.j.USER.ROLES.REVIEWER.DEV]:new n.A},g={free:new s.A,pro:new l.A,growing:new m.A,bestSelling:new d.A,publisher:new c.A},h=(e,t)=>{const o={reviewerPerms:y[e||p.j.USER.ROLES.REVIEWER.NEW]||y[p.j.USER.ROLES.REVIEWER.NEW]};return t&&(o.authorPerms=t?g[t]:{}),o}},80959(e,t,o){"use strict";o.d(t,{q:()=>r});const i=["pen-name","book","arc-team","arc","review","category","message"];class r{constructor(){this.create=i,this.read=i.concat(["billing"]),this.update=i,this.delete=i,this.maxParticipantsPerArc=0,this.maxRunningArcs=0,this.canCreatePrivateArcs=!1,this.canHaveVIPTeamMembers=!1,this.canCreateAudioBookArcs=!1,this.canScheduleArcs=!1,this.canLimitReviewersToAllOnSeries=!1,this.canIdentifyPiracy=!1,this.canRequireReviewOnPreviousBooksInSeries=!1,this.canShowSocialLinksOnAuthorPages=!1,this.canLimitReviewersToTopReviewersOnly=!1,this.canAccessPremiumSupport=!1,this.canUseAdvancedReviewIssueDetection=!1,this.canAddVirtualAssistants=!1,this.canViewExtendedReviewerInformation=!1,this.canHaveNeverEndingArcs=!1,this.canChooseDefaultReviewDisclaimer=!1,this.canFreeTypePenNames=!1,this.canChooseBrandedDefaultReviewDisclaimer=!1,this.canHaveTeamFollowers=!1}}},90303(e,t,o){"use strict";o.d(t,{A:()=>r});var i=o(32474);class r extends i.A{constructor(){super(...arguments),this.maxParticipantsPerArc=-1,this.maxRunningArcs=10,this.canLimitReviewersToTopReviewersOnly=!0,this.canAccessPremiumSupport=!0,this.canUseAdvancedReviewIssueDetection=!0,this.canAddVirtualAssistants=!0,this.canViewExtendedReviewerInformation=!0,this.canHaveNeverEndingArcs=!0,this.canChooseDefaultReviewDisclaimer=!0}}},59366(e,t,o){"use strict";o.d(t,{A:()=>r});var i=o(83387);class r extends i.A{constructor(){super(...arguments),this.arcDownloadsPerWeek=-1,this.totalClaimOverdueDayAllowance=-1,this.arcMaxDownloads=-1,this.requiredReviewsForTier=1e5,this.requiredReviewRateForTier=101}}},89885(e,t,o){"use strict";o.d(t,{A:()=>r});var i=o(80959);class r extends i.q{constructor(){super(...arguments),this.create=["pen-name","book","arc-team","arc","review","category"]}}},74352(e,t,o){"use strict";o.d(t,{A:()=>r});var i=o(80959);class r extends i.q{constructor(){super(...arguments),this.maxParticipantsPerArc=25,this.maxRunningArcs=1}}},67471(e,t,o){"use strict";o.d(t,{A:()=>r});var i=o(83387);class r extends i.A{}},32474(e,t,o){"use strict";o.d(t,{A:()=>r});var i=o(80959);class r extends i.q{constructor(){super(...arguments),this.maxParticipantsPerArc=50,this.maxRunningArcs=3,this.canCreatePrivateArcs=!0,this.canHaveVIPTeamMembers=!0,this.canCreateAudioBookArcs=!0,this.canScheduleArcs=!0,this.canLimitReviewersToAllOnSeries=!0,this.canIdentifyPiracy=!0,this.canRequireReviewOnPreviousBooksInSeries=!0,this.canShowSocialLinksOnAuthorPages=!0}}},60926(e,t,o){"use strict";o.d(t,{A:()=>r});var i=o(90303);class r extends i.A{constructor(){super(...arguments),this.maxRunningArcs=-1,this.canFreeTypePenNames=!0,this.canChooseBrandedDefaultReviewDisclaimer=!0,this.canHaveTeamFollowers=!0}}},83387(e,t,o){"use strict";o.d(t,{A:()=>r});const i=["authors","view-author","message","teams","view-team","arc-teams","view-arc-team","arcs","view-arc","cancel-arc-claim","claim-arc","review-arc","your-arcs","books","view-book","gamification","rank"];
1class r{constructor(){this.read=i,this.arcDownloadsPerWeek=3,this.totalClaimOverdueDayAllowance=10,this.arcMaxDownloads=10,this.requiredReviewsForTier=0,this.requiredReviewRateForTier=30,this.canMessageAuthor=!1,this.canDownloadAudioBookArcs=!0}}},63350(e,t,o){"use strict";o.d(t,{A:()=>r});var i=o(83387);class r extends i.A{constructor(){super(...arguments),this.arcDownloadsPerWeek=50,this.totalClaimOverdueDayAllowance=150,this.arcMaxDownloads=-1,this.requiredReviewsForTier=30,this.requiredReviewRateForTier=70,this.canMessageAuthor=!0,this.canDownloadAudioBookArcs=!0}}},99764(e,t,o){"use strict";o.d(t,{A:()=>r});var i=o(83387);class r extends i.A{constructor(){super(...arguments),this.arcDownloadsPerWeek=0,this.totalClaimOverdueDayAllowance=0,this.arcMaxDownloads=0}}},28500(e,t,o){"use strict";o.d(t,{A:()=>r});var i=o(83387);class r extends i.A{constructor(){super(...arguments),this.arcDownloadsPerWeek=10,this.totalClaimOverdueDayAllowance=150,this.arcMaxDownloads=-1,this.requiredReviewsForTier=1,this.canMessageAuthor=!0,this.canDownloadAudioBookArcs=!0}}},57046(e,t,o){"use strict";o.d(t,{n:()=>r});var i=o(65732);class r{get isOnPaidPlan(){return this.user&&this.user.authorRole&&this.user.authorRole!==i.jGy.USER.ROLES.AUTHOR.FREE}get isDemoFeature(){var e;return["sandbox"].includes("master")&&!["[email protected]","[email protected]","[email protected]"].includes((null===(e=this.user)||void 0===e?void 0:e.emailAddress)||"")}get isPublisher(){return this.roleName===i.jGy.USER.ROLES.AUTHOR.PUBLISHER}get roleName(){return this.user?this.user.authorRole?this.user.authorRole:this.user.reviewerRole:""}configure(e,t){return void 0===this.permissions||t?(void 0!==e&&(this.user=e,this.permissions=(0,i.m2h)(this.user.reviewerRole,this.user.authorRole)),this):this}create(e,t){return this.can("create",e,t)}read(e,t){return this.can("read",e,t)}update(e,t){return this.can("update",e,t)}delete(e,t){return this.can("delete",e,t)}can(e,t,o){if(!this.user)return!1;if(this.user.isAdmin)return!0;if(o===i.jGy.USER.ROLES.TYPE.AUTHOR)return void 0!==this.permissions.authorPerms&&this.permissions.authorPerms[e].includes(t);if(o===i.jGy.USER.ROLES.TYPE.REVIEWER){const o=this.permissions.reviewerPerms[e];if(o)return o.includes(t)}else if(o===i.jGy.USER.ROLES.TYPE.ADMIN){const o=this.permissions.authorPerms[e];if(o)return o.includes(t)}return!1}effectiveLimit(e){var t,o;if("maxRunningArcs"===e&&(null===(t=this.user)||void 0===t?void 0:t.legacyBestsellingArcs)&&(null===(o=this.user)||void 0===o?void 0:o.authorRole)===i.jGy.USER.ROLES.AUTHOR.BEST_SELLING)return-1;const r=this.permissions.reviewerPerms[e];return r||(void 0===this.permissions.authorPerms?0:this.permissions.authorPerms[e]||0)}withinLimit(e,t){const o=this.effectiveLimit(e);return-1===o||t<o}hasTieredPermission(e,t){if(e){const t={[i.jGy.USER.ROLES.AUTHOR.FREE]:[i.jGy.USER.ROLES.AUTHOR.FREE],[i.jGy.USER.ROLES.AUTHOR.GROWING]:[i.jGy.USER.ROLES.AUTHOR.FREE,i.jGy.USER.ROLES.AUTHOR.GROWING],[i.jGy.USER.ROLES.AUTHOR.PRO]:[i.jGy.USER.ROLES.AUTHOR.FREE,i.jGy.USER.ROLES.AUTHOR.GROWING,i.jGy.USER.ROLES.AUTHOR.PRO],[i.jGy.USER.ROLES.AUTHOR.BEST_SELLING]:[i.jGy.USER.ROLES.AUTHOR.FREE,i.jGy.USER.ROLES.AUTHOR.GROWING,i.jGy.USER.ROLES.AUTHOR.PRO,i.jGy.USER.ROLES.AUTHOR.BEST_SELLING],[i.jGy.USER.ROLES.AUTHOR.PUBLISHER]:[i.jGy.USER.ROLES.AUTHOR.FREE,i.jGy.USER.ROLES.AUTHOR.GROWING,i.jGy.USER.ROLES.AUTHOR.PRO,i.jGy.USER.ROLES.AUTHOR.BEST_SELLING,i.jGy.USER.ROLES.AUTHOR.PUBLISHER]},o=t[this.user.authorRole||""];return void 0!==o&&o.includes(e)}if(t){const e={[i.jGy.USER.ROLES.REVIEWER.NEW]:[i.jGy.USER.ROLES.REVIEWER.NEW],[i.jGy.USER.ROLES.REVIEWER.VALUED]:[i.jGy.USER.ROLES.REVIEWER.NEW,i.jGy.USER.ROLES.REVIEWER.VALUED],[i.jGy.USER.ROLES.REVIEWER.TOP]:[i.jGy.USER.ROLES.REVIEWER.NEW,i.jGy.USER.ROLES.REVIEWER.VALUED,i.jGy.USER.ROLES.REVIEWER.TOP]},o=e[this.user.reviewerRole||""];return void 0!==o&&o.includes(t)}return!1}}},46810(e,t,o){"use strict";o.d(t,{Y:()=>i.Y});var i=o(7626)},7626(e,t,o){"use strict";o.d(t,{Y:()=>s});var i=o(22801),r=(o(61382),o(82107));const a=new r.O,n=Object.assign(Object.assign({},a.getLiveDataObject()),a.getTestDataObject());class s extends i.P{constructor(){super(...arguments),this.type="arcTeam",this.maxMo
1delCount=40}getLiveDataObject(){return{DeletedTeam:{id:1,name:"[Deleted Team]",image:"",description:"Deleted Team Placeholder",userId:n.DeletedUser.id}}}getTestDataObject(){return{}}}},94440(e,t,o){"use strict";o.d(t,{R:()=>i.R});var i=o(46056)},46056(e,t,o){"use strict";o.d(t,{R:()=>h});var i=o(22801),r=o(61382),a=o(37029),n=o(46810),s=o(62272),l=o(82107),d=function(e,t){var o={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(o[i]=e[i]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(o[i[r]]=e[i[r]])}return o};const c=d(r.j.ARCS.REVIEWS.FLAGS,[]),u=new l.O,p=Object.assign(Object.assign({},u.getLiveDataObject()),u.getTestDataObject()),v=new a.y,m=Object.assign(Object.assign({},v.getLiveDataObject()),v.getTestDataObject()),y=new n.Y,g=Object.assign(Object.assign({},y.getLiveDataObject()),y.getTestDataObject());["Nuo pirmųjų puslapių ši knyga mane įtraukė ne triukšmingu veiksmu, o labai tiksliu emociniu tonu. Autorė iš karto sukuria jausmą, kad veikėjai gyvena tikrame, kvėpuojančiame pasaulyje, kuriame kiekvienas sprendimas turi kainą, o kiekviena tyla tarp dialogų slepia daugiau nei ilgi paaiškinimai. Man labai patiko, kad istorija nebandė skubėti vien tam, kad kuo greičiau pasiektų didžiuosius siužeto posūkius. Vietoje to ji leido santykiams bręsti natūraliai, o įtampai kilti iš charakterių pasirinkimų, vidinių baimių ir to, ko jie vieni kitiems nepasako.","Didžiausią įspūdį paliko pagrindinis veikėjas, kuris parašytas ne kaip tobulas herojus, o kaip žmogus, nuolat svyruojantis tarp pareigos, kaltės ir noro pagaliau gyventi dėl savęs. Jo abejonės atrodė labai žmogiškos, todėl net tada, kai jis klydo, norėjosi jį suprasti, o ne smerkti. Ne mažiau stiprus buvo ir antraeilis veikėjų sluoksnis. Dažnai tokio tipo istorijose šalutiniai veikėjai būna skirti tik tam, kad pastumtų siužetą, bet čia jie turi savo balsą, savo motyvus ir savo emocinį svorį. Kai kurie jų pasirodo trumpam, tačiau vis tiek palieka aiškų pėdsaką.","Rašymo stilius labai sklandus ir vizualus. Aprašymai pakankamai sodrūs, kad matyčiau aplinką, bet niekada netapo sunkūs ar perdėtai puošnūs. Ypač patiko tai, kaip autorė kuria nuotaiką per detales: trumpą gestą, ne iki galo užbaigtą sakinį, pakitusį kambario garsą ar beveik nepastebimą kūno reakciją. Tokios smulkmenos ne tik pagyvina scenas, bet ir sukuria stiprų artumo jausmą. Dialogai taip pat skambėjo natūraliai. Veikėjai kalba skirtingai, todėl lengva pajusti jų charakterį, socialinę padėtį ir emocinę būseną net tada, kai tekstas tiesiogiai to neišaiškina.","Siužeto struktūra išlaiko dėmesį beveik visą laiką. Knygoje netrūksta įtampos, tačiau ji kyla ne vien iš išorinių pavojų, bet ir iš to, kad skaitytojas nuolat jaučia artėjančių pasekmių svorį. Man labai patiko, kad keli siužeto vingiai buvo užuominomis ruošiami gerokai anksčiau, todėl atėjus svarbiems momentams jie atrodė pelnyti, o ne ištraukti vien tam, kad nustebintų. Kartu istorija sugeba išlaikyti ir jautrumą. Kai kurie tylūs, intymūs skyriai man paliko dar didesnį įspūdį nei dramatiškiausios scenos, nes juose veikėjai pagaliau leidžia sau būti pažeidžiami.","Jeigu reikėtų išskirti tai, kas man kliuvo, paminėčiau tik kelis smulkesnius dalykus. Vidurinėje dalyje buvo pora epizodų, kurie galėjo būti šiek tiek trumpesni, nes tuo metu pasakojimas trumpam prarado ankstesnį ritmą. Taip pat vieno antagonisto motyvacija pradžioje atrodė miglota, nors vėliau ji paaiškinama kur kas geriau. Vis dėlto šie trūkumai bendro įspūdžio beveik nesumenkino, nes emocinė istorijos ašis išliko stipri nuo pradžios iki pabaigos. O finalas, mano nuomone, buvo labai gerai subalansuotas: pakankamai užbaigtas, kad suteiktų pasitenkinimą, bet palikęs erdvės ilgesniam apmąstymui.","Labiausiai vertinu tai, kad ši knyga nebando būti vien tik „įtempta“ ar vien tik „jautri“. Ji sugeba būti abu dalykus vienu metu. Joje yra ir įsimenančių sce
1nų, ir prasmingų pokalbių, ir emocinių susidūrimų, kurie atrodo tikri, nes kyla iš veikėjų istorijos, o ne iš autoriaus noro dirbtinai sustiprinti dramą. Perskaitęs jaučiau ne tik smalsumą dėl tolimesnio pasaulio likimo, bet ir tą retą melancholišką jausmą, kuris atsiranda tik po stiprios istorijos, kai dar kurį laiką gyveni jos nuotaika. Tikrai rekomenduočiau šią knygą skaitytojams, kurie mėgsta charakteriais grįstą, atmosferišką ir emociškai brandų pasakojimą."].join("\n\n");class h extends i.P{constructor(){super(...arguments),this.type="arc",this.maxModelCount=300,this.processedFakeArcs=0,this.base={discoverableType:r.j.ARCS.DISCOVERABLE_TYPE.PUBLIC,participationType:r.j.ARCS.PARTICIPATION_TYPE.PUBLIC,participationPreventionType:r.j.ARCS.PARTICIPATION_PREVENTION_TYPE.OUTSTANDING,siteWideParticipationPreventionType:r.j.ARCS.SITE_WIDE_PARTICIPATION_PREVENTION_TYPE.NONE,copyCountType:r.j.ARCS.COPY_COUNT_TYPE.ALL,seriesLimitType:r.j.ARCS.SERIES_LIMIT_TYPE.ANYONE,neverEndingPrivate:!1,reviewFlags:c.AMAZON|c.GOOD_READS,requiredReviewCount:2,stopDownloadDate:(0,s.LI)(30),dueDate:(0,s.LI)(30),liveDate:(0,s.LI)(14),reviewDays:10,arcType:r.j.ARCS.TYPE.EBOOK},this.baseReviewDto={claimId:-1,userId:-1,disclaimer:"Disclaimer ...",title:"Title"},this.baseSiteDto={userId:-1,reviewId:-1,link:"www.google.com"}}getLiveDataObject(){return{DeletedArc:Object.assign(Object.assign({},this.base),{id:1,specialInformation:"[Deleted ARC]",userId:p.DeletedUser.id,bookId:m.DeletedBook.id,arcTeamId:g.DeletedTeam.id})}}getTestDataObject(){return{}}generateAudioBookTestData(e){const t={};for(const o of Object.keys(e)){const i=e[o];if(!i||Array.isArray(i)||i.skipAudioBookCreation)continue;const a=o+"_Audio";t[a]=Object.assign(Object.assign({},i),{id:this.getNextId(),arcType:r.j.ARCS.TYPE.AUDIO_BOOK,specialInformation:`AudioBook: ${i.specialInformation}`})}return t}genericApprovedReview(){return{dto:Object.assign(Object.assign({},this.baseReviewDto),{rating:5,review:"A 5 star review: "+this.faker.lorem.paragraph().substring(0,150),privateFeedback:"Some private feedback"}),sites:[Object.assign(Object.assign({},this.baseSiteDto),{site:c.AMAZON,status:r.j.ARCS.REVIEWS.SITE.STATUS.COMPLETE})]}}genericArc(e,t,o){return o||(o=g.StanRegular),Object.assign(Object.assign({},this.base),{id:e,bookId:t.id,userId:o.userId,arcTeamId:o.id,specialInformation:t.title+" - ARC",reviewFlags:c.AMAZON,requiredReviewCount:1,liveDate:(0,s.cx)(21),neverEndingPrivate:!1,stopDownloadDate:(0,s.LI)(21),dueDate:(0,s.LI)(28),discoverableType:r.j.ARCS.DISCOVERABLE_TYPE.PUBLIC})}getFakeSeed(e){const t=Object.assign(Object.assign({},this.genericArc(e,m.BookForRandomArcs,g.TeamForRandomArcs)),{discoverableType:r.j.ARCS.DISCOVERABLE_TYPE.TEAM_ONLY,skipAudioBookCreation:!0});return t.userClaims=[],this.processedFakeArcs<=3&&t.userClaims.push({userId:p.ClaimNonMemberWeeklyLimitReached.id,createdDate:(0,s.cx)(4),skipEligibleCheck:!0}),this.processedFakeArcs<=30&&t.userClaims.push({userId:p.ClaimNonMemberWeeklyLimitReachedValued.id,createdDate:(0,s.cx)(5),review:this.genericApprovedReview(),skipEligibleCheck:!0},{userId:p.TopReviewerApplicationRejected.id,createdDate:(0,s.cx)(9),skipEligibleCheck:!0,review:{dto:Object.assign(Object.assign({},this.baseReviewDto),{rating:5,review:"A 5 star review: "+this.faker.lorem.paragraph().substring(0,150),privateFeedback:"Some private feedback top"}),sites:[Object.assign(Object.assign({},this.baseSiteDto),{site:c.AMAZON,status:r.j.ARCS.REVIEWS.SITE.STATUS.COMPLETE})]}}),this.processedFakeArcs+=1,t}}},37029(e,t,o){"use strict";o.d(t,{y:()=>i.y});var i=o(58775)},58775(e,t,o){"use strict";o.d(t,{y:()=>m});var i=o(22801),r=o(61382),a=o(44720),n=o(65732),s=o(35161),l=o(82107),d=o(62272);const c=new l.O,u=Object.assign(Object.assign({},c.getLiveDataObject()),c.getTestDataObject()),p=new s.P,v=Object.assign(Object.assign({},p.getLiveDataObject()),p.getTestDataObject());class m extends i.P{constructor(){super(...arguments),this.type="book",this.maxModelCount=100,this.base={categories:[{id:a.qO.SpeculativeFiction_ScienceFiction.id}
1],wordCount:200,audience:r.j.BOOKS.AUDIENCE_TYPE.GENERAL,language:r.j.BOOKS.LANGUAGE_FLAGS.FLAGS.ENGLISH,penNameType:r.j.PEN_NAME.TYPE.PUBLISHING,epubFile:"testFile.epub",pdfFile:"testFile.pdf",epubFileSizeBytes:387019,pdfFileSizeBytes:1132931,awaitingBookFileFlag:r.j.BOOKS.AWAITING_BOOK_FILES.ALLOW_ALL}}getGeneralTestBook(e,t,o){return Object.assign(Object.assign({},this.base),{id:e,title:t,description:t+" - Desc",penNameType:r.j.PEN_NAME.TYPE.MY_BOOK,authorPenNameId:v.GeneralAuthor.id,bookCover:"test.png",releaseDate:(0,n.cxc)(14),userId:u.Me.id,linkAmazonAsin:o,keywords:"General Keyword, "+t+" Keyword"})}complexOverdueBook(){return Object.assign(Object.assign({},this.getGeneralTestBook(this.getNextId(),"Complex Overdue","asin56")),{linkGoodreads:"https://www.goodreads.com/book/show/2429135.The_Girl_with_the_Dragon_Tattoo",linkBookbub:"https://www.bookbub.com/books/the-boat-of-a-million-years-by-poul-anderson-2019-04-03?ebook_deal",linkBarnes:"https://www.barnesandnoble.com/w/adventures-of-huckleberry-finn-barnes-noble-classics-series-mark-twain/1106017531?ean=9781593081126#/",linkGoogle:"https://play.google.com/books/edition/Heir_to_the_Empire/mIssn64dImoC?hl=en",linkKobo:"",linkSmashwords:"https://www.smashwords.com/books/view/1082816",smashwordsCouponCode:"",linkITunes:"https://books.apple.com/gb/book/heir-to-the-empire-star-wars-the-thrawn-trilogy/id438095653",linkAudibleUs:"https://www.audible.com/pd/Star-Wars-Heir-to-the-Empire-20th-Anniversary-Edition-The-Thrawn-Trilogy-Book-1-Audiobook/B005IHB0OA?qid=1620646506&sr=1-1&ref=a_search_c3_lProduct_1_1&pf_rd_p=c6e316b8-14da-418d-8f91-b3cad83c5183&pf_rd_r=NREC5JDAWZ9X3QZDJJMX",linkAudibleUk:"https://www.audible.co.uk/pd/Star-Wars-Heir-to-the-Empire-20th-Anniversary-Edition-The-Thrawn-Trilogy-Book-1-Audiobook/B005IHB0OA?qid=1620646506&sr=1-1&ref=a_search_c3_lProduct_1_1&pf_rd_p=c6e316b8-14da-418d-8f91-b3cad83c5183&pf_rd_r=NREC5JDAWZ9X3QZDJJMX"})}getLiveDataObject(){return{DeletedBook:Object.assign(Object.assign({},this.base),{id:1,title:"[Deleted Book]",description:"[Deleted Book]",authorPenNameId:v.DeletedPenName.id,userId:u.DeletedUser.id,bookCover:"awaiting-image.png",categories:[{id:1}],releaseDate:(0,d.Nq)(0)})}}getTestDataObject(){return{}}}},79023(e,t,o){"use strict";o(68801)},68801(e,t,o){"use strict";var i=o(22801);o(61382),o(82107),o(94440);i.P},35161(e,t,o){"use strict";o.d(t,{P:()=>i.P});var i=o(50907)},50907(e,t,o){"use strict";o.d(t,{P:()=>d});var i=o(22801),r=o(61382),a=o(44720),n=o(82107);const s=new n.O,l=Object.assign(Object.assign({},s.getLiveDataObject()),s.getTestDataObject());class d extends i.P{constructor(){super(...arguments),this.type="penName",this.maxModelCount=40,this.base={categoryId:a.qO.SpeculativeFiction_ScienceFiction.id,wordCount:1,audience:1,preview:"A long time ago in a galaxy far far away ...",penNameType:r.j.PEN_NAME.TYPE.PUBLISHING}}getLiveDataObject(){return{DeletedPenName:{id:1,name:"[Deleted Author]",image:"",userId:l.DeletedUser.id}}}getTestDataObject(){return{}}}},22801(e,t,o){"use strict";o.d(t,{P:()=>r});const i=o(58189);class r{constructor(){this.nextId=1;const e=this.getLiveSeed()||[];this.nextId=e.length+1,this.faker={name:{firstName:()=>"",lastName:()=>""},internet:{email:()=>""},lorem:{paragraph:()=>""}}}getFakeSeed(e){}getLiveSeed(){return this.flattenSeedDataObject(this.getLiveDataObject())}getTestSeed(){return this.faker=i,this.flattenSeedDataObject(this.getTestDataObject())}getNextId(){return this.nextId++}generateRandomData(){const e=[];let t=this.getNextId();while(t<=this.maxModelCount){const o=this.getFakeSeed(t);void 0!==o&&(e.push(o),t=this.getNextId())}return e}getSeedWithId(e,t){for(const o in e)if(e.hasOwnProperty(o)){const i=e[o];if(i.id===t)return i}}flattenSeedDataObject(e){if(!e)return[];let t=[];for(const o in e){const i=e[o];Array.isArray(i)?t=t.concat(i):t.push(i)}return t}}},82107(e,t,o){"use strict";o.d(t,{O:()=>i.O});var i=o(29997)},29997(e,t,o){"use strict";o.d(t,{O:()=>n});var i=o(22801),r=o(61382),a=o(52439);class n extends i.P{constructor(){super(...arguments),this.type="user",this.maxModelCount=100,this.base={password:"123",reviewerRole:r.j.USER.ROLES.REVIEWER.NEW,authorRole:r.j.USER.ROLES.AUTHOR.GROWING,consentMethod:r.j.USER.CONSENT_METHOD.SIGN_UP_PAGE,image:"FakeUser.png",preferences:Object.assign(Object.assign({},a.S4),{reviewSitesFlag:r.j.ARCS.REVIEWS.ALL_FLAGS,reviewLanguagesFlag:r.j.BOOKS.LANGUAGE_FLAGS.ALL_FLAGS}),confirmEmail:!0}}getFakeSeed(e){return Object.assign(Object.assign({id:e},this.base),{emailAddress:this.faker.internet.email(),name:this.faker.name.firstName()+" "+this.faker.name.lastName()})}getLiveDataObject(){return{BooksproutSupport:Object.assign(Object.assign({id:1},this.base),{emailAddress:"[email protected]",name:"Booksprout Support",image:"books
1prout-admin.svg",isAdmin:!0,password:"$2b$13$uDYxj2boi7AmImwIlc.ySOuJ0hGbBI7SAd26PRWds.W4CKzfW9nIW"}),DeletedUser:Object.assign(Object.assign({id:2},this.base),{emailAddress:"N/A",name:"[Deleted User]",image:"booksprout-admin.svg",password:"-1"})}}getTestDataObject(){return{}}}},44720(e,t,o){"use strict";var i=o(61382),r=o(62272);const a={MysteryThrillersAction:{id:1,name:"Mystery, Thrillers, Action",parentId:null},MysteryThrillersAction_CrimeFiction:{id:2,name:"Crime Fiction",parentId:1},MysteryThrillersAction_PsychologicalThrillers:{id:3,name:"Psychological Thrillers",parentId:1},MysteryThrillersAction_CozyMysteries:{id:4,name:"Cozy Mysteries",parentId:1},MysteryThrillersAction_HistoricalMysteries:{id:5,name:"Historical Mysteries",parentId:1},MysteryThrillersAction_Thrillers:{id:6,name:"Thrillers",parentId:1},MysteryThrillersAction_ActionAndAdventure:{id:7,name:"Action and Adventure",parentId:1},Romance:{id:8,name:"Romance",parentId:null},Romance_ContemporaryRomance:{id:9,name:"Contemporary Romance",parentId:8},Romance_RomCom:{id:10,name:"Rom-Com",parentId:8},Romance_HistoricalRomance:{id:11,name:"Historical Romance",parentId:8},Romance_RomanticSuspense:{id:12,name:"Romantic Suspense",parentId:8},Romance_YoungAdultNewAdultRomance:{id:13,name:"Young Adult / New Adult Romance",parentId:8},Romance_Romantasy:{id:14,name:"Romantasy",parentId:8},Romance_ParanormalRomance:{id:15,name:"Paranormal Romance",parentId:8},Romance_Erotica:{id:16,name:"Erotica",parentId:8},Romance_DarkRomance:{id:17,name:"Dark Romance",parentId:8},Romance_TimeTravelRomance:{id:18,name:"Time Travel Romance",parentId:8},Romance_SportsRomance:{id:58,name:"Sports Romance",parentId:8},Romance_SciFiRomance:{id:59,name:"Sci-Fi Romance",parentId:8},Romance_InspiredRomance:{id:66,name:"Inspired Romance",parentId:8},Fiction:{id:19,name:"Fiction",parentId:null},Fiction_HistoricalFiction:{id:20,name:"Historical Fiction",parentId:19},Fiction_WomensFiction:{id:21,name:"Women's Fiction",parentId:19},Fiction_LiteraryFiction:{id:22,name:"Literary Fiction",parentId:19},SpeculativeFiction:{id:23,name:"Speculative Fiction",parentId:null},SpeculativeFiction_ScienceFiction:{id:24,name:"Science Fiction",parentId:23},SpeculativeFiction_Fantasy:{id:25,name:"Fantasy",parentId:23},SpeculativeFiction_Horror:{id:26,name:"Horror",parentId:23},SpeculativeFiction_SupernaturalSuspense:{id:27,name:"Supernatural Suspense",parentId:23},SpeculativeFiction_AlternateHistory:{id:60,name:"Alternate History",parentId:23},SpeculativeFiction_PostApocalyptic:{id:61,name:"Post-Apocalyptic",parentId:23},SpeculativeFiction_Dystopia:{id:62,name:"Dystopia",parentId:23},SpeculativeFiction_ParallelUniverse:{id:63,name:"Parallel Universe",parentId:23},TeenAndYoungReaders:{id:28,name:"Teen & Young Readers",parentId:null},TeenAndYoungReaders_TeenAndYoungAdult:{id:29,name:"Teen and Young Adult",parentId:28},TeenAndYoungReaders_ChildrensPictureBook:{id:30,name:"Children's Picture Book",parentId:28},TeenAndYoungReaders_MiddleGrade:{id:31,name:"Middle Grade",parentId:28},TeenAndYoungReaders_ChildrensFiction:{id:64,name:"Children's Fiction",parentId:28},ReligionAndSpirituality:{id:32,name:"Religion & Spirituality",parentId:null},ReligionAndSpirituality_ChristianNonfiction:{id:33,name:"Christian Nonfiction",parentId:32},ReligionAndSpirituality_ChristianFiction:{id:34,name:"Christian Fiction",parentId:32},ReligionAndSpirituality_ReligionAndSpirituality:{id:35,name:"Religion and Spirituality",parentId:32},Nonfiction:{id:36,name:"Nonfiction",parentId:null},Nonfiction_AdviceAndHowTo:{id:37,name:"Advice and How-To",parentId:36},Nonfiction_BiographiesAndMemoirs:{id:38,name:"Biographies and Memoirs",parentId:36},Nonfiction_History:{id:39,name:"History",parentId:36},Nonfiction_GeneralNonfiction:{id:40,name:"General Nonfiction",parentId:36},Nonfiction_Science:{id:41,name:"Science",parentId:36},Nonfiction_PoliticsAndCurrentEvents:{id:42,name:"Politics and Current Events",parentId:36},Nonfiction_Cooking:{id:43,name:"Cooking",parentId:36},Nonfiction_Parenting:{id:44,name:"Parenting",parentId:36},Nonfiction_TrueCrime:{id:45,name:"True Crime",parentId:36},Nonfiction_Business:{id:46,name:"Business",parentId:36},Nonfiction_Humor:{id:47,name:"Humor",parentId:36},LGBTQPlus:{id:48,name:"LGBTQ+",parentId:null},LGBTQPlus_GayMM:{id:49,name:"Gay (MM)",parentId:48},LGBTQPlus_LesbianFF:{id:50,name:"Lesbian (FF)",parentId:48},LGBTQPlus_TransAndNonbinary:{id:51,name:"Trans and Nonbinary",parentId:48},LGBTQPlus_QueerFiction:{id:52,name:"Queer Fiction",parentId:48},DiverseVoices:{id:53,name:"Diverse Voices",parentId:null},DiverseVoices_BlackAfricanDiaspora:{id:54,name:"Black / African Diaspora",parentId:53},DiverseVoices_AsianPacificIslander:{id:55,name:"Asian / Pacific Islander",parentId:53},DiverseVoices_LatinxHispanic:{id:56,name:"Latinx / Hispanic",parentId:53},DiverseVoices_Indigenous:{id:57,name:"Indigenous",parentId:53},DiverseVoices_MiddleEasternNorthAfrican:{id:65,name:"Middle Eastern / North African",parentId:53}},n={active:!0,typeFlags:i.j.NOTIFICATIONS.FLAGS.EMAIL|i.j.NOTIFICATIONS.FLAGS.APP|i.j.NOTIFICATIONS.FLAGS.MOBILE_APP};Object.assign(Object.assign({},n),{id:1,code:i.j.NOTIFICATIONS.NOTIFIERS.NEW_ARC.CODE,lastQueuedDate:(0,r.Nq)(0),templateId:i.j.NOTIFICATIONS.NOTIFIERS.NEW_ARC.TEMPLATE_ID,permissionPreferenceKey:"alertNewArc"}),Object.assign(Object.assign({},n),{id:2,code:i.j.NOTIFICATIONS.NOTIFIERS.TIME_TO_PUBLISH.CODE,lastQueuedDate:(0,r.Nq)(0),templateId:i.j.NOTIFICATIONS.NOTIFIERS.TIME_TO_PUBLISH.TEMPLATE_ID,permissionPreferenceKey:"alertTimeToPublish"}
1),Object.assign(Object.assign({},n),{id:3,code:i.j.NOTIFICATIONS.NOTIFIERS.REVIEW_DUE_SOON.CODE,lastQueuedDate:(0,r.Nq)(0),templateId:i.j.NOTIFICATIONS.NOTIFIERS.REVIEW_DUE_SOON.TEMPLATE_ID,permissionPreferenceKey:"alertReviewDueIn2Days"}),Object.assign(Object.assign({},n),{id:4,code:i.j.NOTIFICATIONS.NOTIFIERS.READY_TO_REVIEW.CODE,lastQueuedDate:(0,r.Nq)(0),templateId:i.j.NOTIFICATIONS.NOTIFIERS.READY_TO_REVIEW.TEMPLATE_ID,permissionPreferenceKey:"alertReadyToReview"}),Object.assign(Object.assign({},n),{id:5,code:i.j.NOTIFICATIONS.NOTIFIERS.FINAL_FOLLOW_UP.CODE,lastQueuedDate:(0,r.Nq)(0),templateId:i.j.NOTIFICATIONS.NOTIFIERS.FINAL_FOLLOW_UP.TEMPLATE_ID,permissionPreferenceKey:"alertFinalFollowUp"}),Object.assign(Object.assign({},n),{id:6,code:i.j.NOTIFICATIONS.NOTIFIERS.DELAY_EXPIRING.CODE,lastQueuedDate:(0,r.Nq)(0),templateId:i.j.NOTIFICATIONS.NOTIFIERS.DELAY_EXPIRING.TEMPLATE_ID,permissionPreferenceKey:"alertDelayExpiring"}),Object.assign(Object.assign({},n),{id:7,code:i.j.NOTIFICATIONS.NOTIFIERS.DELAY_EXPIRED.CODE,lastQueuedDate:(0,r.Nq)(0),templateId:i.j.NOTIFICATIONS.NOTIFIERS.DELAY_EXPIRED.TEMPLATE_ID,permissionPreferenceKey:"alertDelayExpired"}),Object.assign(Object.assign({},n),{id:8,code:i.j.NOTIFICATIONS.NOTIFIERS.NEW_ARC_PARTICIPANT.CODE,lastQueuedDate:(0,r.Nq)(0),templateId:i.j.NOTIFICATIONS.NOTIFIERS.NEW_ARC_PARTICIPANT.TEMPLATE_ID,permissionPreferenceKey:"newArcParticipant"}),Object.assign(Object.assign({},n),{id:9,code:i.j.NOTIFICATIONS.NOTIFIERS.NEW_REVIEW.CODE,lastQueuedDate:(0,r.Nq)(0),templateId:i.j.NOTIFICATIONS.NOTIFIERS.NEW_REVIEW.TEMPLATE_ID,permissionPreferenceKey:"newReview"}),Object.assign(Object.assign({},n),{id:10,code:i.j.NOTIFICATIONS.NOTIFIERS.ARC_CANCELLATION.CODE,lastQueuedDate:(0,r.Nq)(0),templateId:i.j.NOTIFICATIONS.NOTIFIERS.ARC_CANCELLATION.TEMPLATE_ID,permissionPreferenceKey:"arcCancellation"}),Object.assign(Object.assign({},n),{id:11,code:i.j.NOTIFICATIONS.NOTIFIERS.REVIEW_REJECTED.CODE,lastQueuedDate:(0,r.Nq)(0),templateId:i.j.NOTIFICATIONS.NOTIFIERS.REVIEW_REJECTED.TEMPLATE_ID,permissionPreferenceKey:"reviewRejected"}),Object.assign(Object.assign({},n),{id:12,code:i.j.NOTIFICATIONS.NOTIFIERS.NEW_EXTERNAL_REVIEW.CODE,lastQueuedDate:(0,r.Nq)(0),templateId:i.j.NOTIFICATIONS.NOTIFIERS.NEW_EXTERNAL_REVIEW.TEMPLATE_ID,permissionPreferenceKey:"newExternalReview"}),Object.assign(Object.assign({},n),{id:13,code:i.j.NOTIFICATIONS.NOTIFIERS.FREE_TEXT.CODE,lastQueuedDate:(0,r.Nq)(0),templateId:i.j.NOTIFICATIONS.NOTIFIERS.FREE_TEXT.TEMPLATE_ID,permissionPreferenceKey:"freeText"}),Object.assign(Object.assign({},n),{id:14,code:i.j.NOTIFICATIONS.NOTIFIERS.INVITED_TO_TEAM.CODE,lastQueuedDate:(0,r.Nq)(0),templateId:i.j.NOTIFICATIONS.NOTIFIERS.INVITED_TO_TEAM.TEMPLATE_ID,permissionPreferenceKey:"invitedToTeam"}),Object.assign(Object.assign({},n),{id:15,code:i.j.NOTIFICATIONS.NOTIFIERS.ARC_CANNOT_ACTIVATE.CODE,lastQueuedDate:(0,r.Nq)(0),templateId:i.j.NOTIFICATIONS.NOTIFIERS.ARC_CANNOT_ACTIVATE.TEMPLATE_ID,permissionPreferenceKey:"arcCannotActivate"}),Object.assign(Object.assign({},n),{id:17,code:i.j.NOTIFICATIONS.NOTIFIERS.BOOK_FILE_UPDATED.CODE,lastQueuedDate:(0,r.Nq)(0),templateId:i.j.NOTIFICATIONS.NOTIFIERS.BOOK_FILE_UPDATED.TEMPLATE_ID,permissionPreferenceKey:"alertBookFileUpdated"}),Object.assign(Object.assign({},n),{id:18,code:i.j.NOTIFICATIONS.NOTIFIERS.SAVED_ARC_ENDING_SOON.CODE,lastQueuedDate:(0,r.Nq)(0),templateId:i.j.NOTIFICATIONS.NOTIFIERS.SAVED_ARC_ENDING_SOON.TEMPLATE_ID,permissionPreferenceKey:"alertSavedArcEndingOrLowCopies"}),Object.assign(Object.assign({},n),{id:19,code:i.j.NOTIFICATIONS.NOTIFIERS.SAVED_ARC_LOW_COPIES.CODE,lastQueuedDate:(0,r.Nq)(0),templateId:i.j.NOTIFICATIONS.NOTIFIERS.SAVED_ARC_LOW_COPIES.TEMPLATE_ID,permissionPreferenceKey:"alertSavedArcEndingOrLowCopies"});o.d(t,["qO",0,a])},62272(e,t,o){"use strict";const i=o(64460),r=e=>null!==e&&void 0!==e&&""!==e,a=e=>{if(null==e||void 0==e)return!1;let t=e;try{t=parseInt(e.toString())}catch(e){return!1}return!isNaN(parseInt(t.toString()))},n=e=>{if(!e)return!1;const t=new RegExp(/^(http|https):\/\/[^ "]+$/gi);return t.test(e)},s=(e,t=p())=>{const o=new Date(t);return o.setDate(t.getDate()-e),o},l=(e,t=p())=>{const o=new Date(t);return o.setDate(t.getDate()+e),o},d=(e,t=p())=>{const o=new Date(t);return new Date(o.setMonth(o.getMonth()+e))},c=(e,t)=>{const o=e.getTime()-t.getTime(),i=o/864e5;return Math.round(i)},u=e=>e?20:150,p=e=>{e&&a(e)&&e.toString().length>10&&(e=Math.floor(e/1e3));const t=e?new Date(e):new Date;return t},v=e=>{const t=new Date(e).getTimezoneOffset()/60;return new Date(Date.parse(new Date(e).toUTCString())+60*t*60*1e3)},m=e=>new Date(e.setUTCHours(0,0,0,0)),y=(e,t,o="#")=>{if("object"===typeof e){let t="?";const i=[];for(const t of Object.keys(e))void 0!==e[t]&&i.push(`${t}=${e[t]}`);t+=i.join("&"),y(t,void 0,o)}else if(history.pushState){const r=t||i.location.href,a=r.indexOf(o),n=-1===a?r:r.substr(0,a);history.pushState(null,"",n+`${o}${e}`)}},g=(e="#")=>
1{if(!i.location)return;const t=i.location.href.indexOf(e);if(t>-1){const o="#"!==e?t:t+1,r=i.location.href.substring(o);if(r.startsWith("?")){const e=r.substring(1).split("&"),t={};for(const o of e){const e=o.split("=");t[e[0]]="null"===e[1]?"":decodeURIComponent(e[1])}return t}return"null"===r?"":r}},h=(e,t)=>{const o=Math.pow(10,t||0);return Math.round(e*o)/o},f=()=>{let e;switch("master"){case"alpha":e="https://alpha.booksprout.co";break;case"beta":e="https://beta.booksprout.co";break;case"sandbox":e="https://sandbox.booksprout.co";break;case"master":e="https://booksprout.co";break;default:e="https://16e3-82-8-149-134.ngrok.io";break}return e},b=e=>e.replace(/-./g,e=>e[1].toUpperCase()),w=(e,t,o="...",i=void 0)=>e?("function"===typeof i&&i(),e.length>t-o.length?e.substring(0,t-o.length)+o:e):"",A=(e,t,o)=>{null==o&&(o="");const i=new RegExp("\\b("+t+"=).*?(&|#|$)");return e.search(i)>=0?e.replace(i,"$1"+o+"$2"):(e=e.replace(/[?#]$/,""),e+(e.indexOf("?")>0?"&":"?")+t+"="+o)};o.d(t,["AU",0,v,"Cb",0,b,"Jl",0,d,"Kt",0,a,"LI",0,l,"M$",0,g,"Nq",0,p,"Ns",0,u,"X6",0,c,"Zu",0,y,"aG",0,f,"cx",0,s,"f3",0,A,"gO",0,w,"lU",0,n,"m8",0,r,"ol",0,m,"t6",0,h])},11381(e,t,o){"use strict";o.d(t,{JK:()=>O.JK,JZ:()=>h.J,Jd:()=>l.J,LR:()=>h.L,Ny:()=>R.N,OJ:()=>y.O,Os:()=>D.O,Pp:()=>d.P,UK:()=>u.UK,V6:()=>r.Ay,_O:()=>w._,a:()=>s.a,e8:()=>a.e,ey:()=>A.e,hU:()=>i.hU,hw:()=>b.h,iE:()=>v.i,jK:()=>i.jK,jf:()=>i.jf,mU:()=>g.mU,qt:()=>c.q,qv:()=>k.Z,rd:()=>m.r,s9:()=>p.s,vQ:()=>f.v,y6:()=>n.A});var i=o(48949),r=(o(26960),o(66226)),a=o(25954),n=(o(80669),o(99566),o(70858),o(35186),o(27805)),s=(o(87999),o(90632)),l=(o(34393),o(58183),o(93183),o(19673)),d=(o(65146),o(9631),o(98568),o(78609),o(11174),o(58040),o(91037),o(60489),o(48101),o(86218),o(74399),o(19486),o(62856),o(89426),o(47191)),c=o(2533),u=o(32823),p=(o(15221),o(30632)),v=o(33067),m=o(55641),y=(o(39786),o(8749)),g=(o(2132),o(60194),o(70819)),h=o(14696),f=(o(56191),o(74486),o(83828)),b=(o(437),o(31270),o(27279),o(60422),o(75599),o(90934)),w=(o(20639),o(7707)),A=(o(54564),o(1031)),D=(o(53856),o(98560),o(90259),o(30562)),R=(o(50763),o(13217),o(52248),o(56265),o(11987)),k=(o(94636),o(19105)),O=(o(99314),o(10781))},70858(e,t,o){"use strict";var i=o(30632);const r=e=>({message:e}),a=e=>r((0,i.s)().tc("system.errors."+e)),n=e=>!!e&&void 0!==e.response&&400===e.response.status,s=e=>!!e&&void 0!==e.response&&(403===e.response.status||401===e.response.status),l=e=>{const t=Object.keys(e)[0],o=e[t];return t.indexOf(" ")>-1?r(o):a(o)};o.d(t,["HY",0,s,"pQ",0,a,"ue",0,r,"xi",0,l,"z7",0,n])},39786(e,t,o){"use strict";o.d(t,{b:()=>a});var i=o(7869),r=(o(2132),o(87856));function a(e,t){let o;const a=()=>void 0!==o,n=()=>(void 0===o&&(o=(0,i.Kh)(t())),o);return(0,r.tZ)({name:e,get:()=>n(),isCreated:a,reset:()=>Object.assign(n(),t())}),n}},8749(e,t,o){"use strict";o.d(t,{O:()=>a});var i=o(87856);const r="__migrated";function a(e,t){var o;"undefined"!==typeof window&&(0,i.Qv)(null===(o=window.__INITIAL_STATE__)||void 0===o?void 0:o[r])}},2132(e,t,o){"use strict"},87856(e,t,o){"use strict";const i=[],r=e=>{if(i.some(t=>t.name===e.name))throw new Error(`[store] Duplicate store name "${e.name}".`);i.push(e)},a=e=>{if(e)for(const t of i){const o=e[t.name];void 0!==o&&Object.assign(t.get(),o)}};o.d(t,["Qv",0,a,"tZ",0,r])},48949(e,t,o){"use strict";var i=o(98400),r=o(65732),a=o(87705),n=function(e,t,o,i){function r(e){return e instanceof o?e:new o(function(t){t(e)})}return new(o||(o=Promise))(function(o,a){function n(e){try{l(i.next(e))}catch(e){a(e)}}function s(e){try{l(i["throw"](e))}catch(e){a(e)}}function l(e){e.done?o(e.value):r(e.value).then(n,s)}l((i=i.apply(e,t||[])).next())})};const s=r.jGy.I18N.DEFAULT_LOCALE,l=r.jGy.I18N.LOCALES.map(e=>e.CODE),d=(e,t)=>{for(const o of Object.keys(t))t[o]instanceof Object&&o in e&&Object.assign(t[o],d(e[o],t[o]));return Object.assign(e||{},t),e};function c(e,t){t.keys().forEach(o=>{const i=o.match(/([A-Za-z0-9-_]+)\./i);if(i&&i.length>1){const r=i[1];void 0===e[r]?e[r]=t(o):d(e[r],t(o))}})}function u(){return[o(39355),o(84874),o(94048)]}function p(){return[o(51568),o(12153),o(40723)]}function v(){const e={};for(const t of u())c(e,t);return e}function m(e){return n(this,void 0,void 0,function*(){const t=`./${e}.json`,o={};for(const e of p())e.keys().includes(t)&&d(o,yield e(t));return o}
1)}const y=e=>{if(null===e||void 0===e||""===e)return;const t=e.trim(),o=l.find(e=>e.toLowerCase()===t.toLowerCase());if(void 0!==o)return o;const i=t.split("-")[0].toLowerCase();return l.find(e=>e.split("-")[0].toLowerCase()===i)},g=e=>null===e||void 0===e||""===e?[]:e.split(",").map(e=>{const[t,...o]=e.trim().split(";"),i=o.map(e=>e.trim().match(/^q=([0-9.]+)$/)).find(e=>null!==e);return{tag:t.trim(),quality:i?Number(i[1]):1}}).filter(e=>""!==e.tag&&!Number.isNaN(e.quality)).sort((e,t)=>t.quality-e.quality).map(e=>e.tag),h=({cookieLocale:e,userLocale:t,acceptLanguage:o})=>{const i=[e,t,...g(o)];for(const e of i){const t=y(e);if(void 0!==t)return t}return s},f=()=>{const e={legacy:!0,globalInjection:!0,locale:s,fallbackLocale:s,messages:v(),silentTranslationWarn:!0};return(0,i.hU)(e)},b=(e,t)=>n(void 0,void 0,void 0,function*(){var o;const i=null!==(o=y(t))&&void 0!==o?o:s;return i!==s&&void 0===e.messages[i]&&e.setLocaleMessage(i,yield m(i)),e.locale=i,i}),w=(e,t)=>{t.config.globalProperties.$tcD=(t,o)=>{const i=e.global.tc(t);return t===i?"":i},["i18n-t","I18nT"].forEach(e=>t.component(e,a.A)),["i18n-n","I18nN"].forEach(e=>t.component(e,i.jG)),["i18n-d","I18nD"].forEach(e=>t.component(e,i.Nl))};o.d(t,["hU",0,f,"jK",0,w,"jf",0,b,"pd",0,y,"rv",0,h])},31417(e,t,o){"use strict";var i=o(89221),r=o(58040),a=o(47191);const n={heading:{type:String,default:""},bodyHtml:{type:String,default:""},yesText:{type:String,default:""},noText:{type:String,default:""},invertColors:{type:Boolean,default:!1},modelName:{type:String,default:""},modelImage:{type:String,default:""},additionalContentCssClass:{type:String,default:""}};function s(e,t){const o=(0,a.P)(),n=(0,r.U)({vm:o,dialogRef:"confirmDialog",emit:t});return Object.assign(Object.assign({},n),{yes:n.confirm,no:n.cancel,yesLabel:(0,i.EW)(()=>e.yesText||o.$tc("system.actions.yes")),noLabel:(0,i.EW)(()=>e.noText||o.$tc("system.actions.no"))})}const l=(0,i.pM)({name:"ConfirmDialog",emits:["hide","ok"],props:n,setup(e,{emit:t}){return Object.assign({},s(e,t))}});o.d(t,["Ay",0,l])},87705(e,t,o){"use strict";var i=o(89221),r=o(98400);const a=e=>e.length>0&&e.every(e=>/^\d+$/.test(e)),n=(e,{slots:t})=>t.default(),s=(0,i.pM)({name:"I18nT",inheritAttrs:!1,setup(e,{attrs:t,slots:o}){const s=()=>({default:()=>Object.keys(o).sort((e,t)=>Number(e)-Number(t)).map(e=>{const t=o[e]();return 1===t.length?t[0]:(0,i.h)(n,null,{default:()=>t})})});return()=>(0,i.h)(r.wD,Object.assign({tag:"span"},t),a(Object.keys(o))?s():o)}});o.d(t,["A",0,s])},1513(e,t,o){"use strict";var i=o(89221),r=o(7869),a=o(58040),n=o(47191);const s=(0,i.pM)({name:"ShowMessageDialog",emits:["hide","ok"],props:{error:{type:Boolean,default:!1},heading:{type:String,default:void 0},message:{type:String,default:void 0}},setup(e,{emit:t}){const o=(0,n.P)(),s=(0,a.U)({vm:o,dialogRef:"thisDialog",emit:t}),l=(0,r.KR)(!1),d=()=>{var e,t;const o=parseFloat(null!==(t=null===(e=document.body)||void 0===e?void 0:e.style.top)&&void 0!==t?t:"");l.value=o<-72};return(0,i.sV)(()=>{setTimeout(()=>s.hide(),1e4)}),Object.assign(Object.assign({},s),{isContentScrolled:l,onBeforeShow:d})}});o.d(t,["A",0,s])},92820(e,t,o){"use strict";o.d(t,{Pp:()=>u});var i=o(7869),r=o(89221),a=o(24470),n=o(7978),s=o(83063),l=o(47191),d=o(61412);const c=Object.assign(Object.assign({},s.t2),{secondary:{type:Boolean,default:!1},warning:{type:Boolean,default:!1},active:{type:Boolean},disable:{type:Boolean,default:!1},large:{type:Boolean,default:!1},asLink:{type:Boolean,default:!1},flat:{type:Boolean,default:!1},iconOnly:{type:Boolean,default:!1}});function u(e,t){const o=(0,l.P)(),a=(0,s.Es)({vm:o,props:e,emit:t}),n=(0,i.KR)(0),d=(0,r.EW)(()=>{var e;return"submit"===(null===(e=o.$.vnode.props)||void 0===e?void 0:e.type)&&!a.isFormValid.value}),c=()=>a.getRenderProps({disable:e.disable,outline:!1}),u=()=>a.getClasses({"bs-btn--active":e.active,"bs-btn--secondary":e.secondary,"bs-btn--disabled":e.disable,"bs-btn--warning":e.warning,"bs-btn--large":e.large,"bs-btn--as-link":e.asLink,"bs-btn--flat":e.flat,"bs-btn--icon-only":e.iconOnly}),p=()=>({click:e=>{n.value+=1,1===n.value&&t("click",e),setTimeout(()=>{n.value=0},500)}});return Object.assign(Object.assign({},a),{clickCounter:n,isDisabled:d,getBtnProps:c,getBtnClasses:u,clickHandler:p})}const p=(0,r.pM)({name:"BsBtn",inheritAttrs:!1,emits:["click"],props:c,setup(e,{emit:t}){return Object.assign({},u(e,t))},methods:{renderActiveIcon(){if(!1!==this.active)return(0,r.h)(n.A,{class:"bs-btn-active__icon",name:"icon-check"})}},render(){return(0,r.h)(a.A,Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},this.$attrs),{class:[this.$attrs.class,"bs-btn",this.getBtnClasses()]}),this.getBtnProps()),(0,d.J)(this.getListeners(this.clickHandler()))),this.getAttributes({ripple:!this.iconOnly&&!this.asLink})),{default:()=>[this.renderActiveIcon(),this.slot(this,"default")]})}});o.d(t,["Ay",0,p,"yk",0,c])},52593(e,t,o){"use strict";var i=o(89221),r=o(3455),a=o(7978),n=o(92820),s=o(61412);const l=(0,i.pM)({name:"BsBtnDropdown",inheritAttrs:!1,props:n.yk,setup(e,{emit:t}){return Object.assign({},(0,n.Pp)(e,t))},methods:{renderActiveIcon(){if(!1!==this.active)return(0,i.h)(a.A,{class:"bs-btn-active__icon",name:"icon-check"})},getProps(){return{dropdownIcon:"app:arrow-down"}}},render(){return(0,i.h)(r.A,Object.assign(Object.assign(Object.assign(Object.assign({class:["bs-btn bs-btn-dropdown",this.getBtnClasses()]},this.getBtnProps()),this.getProps()),(0,s.J)(this.getListeners())),this.getAttributes(Object.assign({},this.$attrs))),{default:()=>[this.renderActiveIcon(),this.slot(this,"default")]})}});o.d(t,["A",0,l])},338(e,t,o){"use strict";var i=o(89221),r=o(7978),a=o(92820),n=o(61412);const s=(0,i.pM)({name:"BsFilterBtn",inheritAttrs:!1,props:Object.assign(Object.assign({},a.yk),{filterCount:{type:Number,default:void 0},filtersShowing:{type:Boolean,default:!1}}),setup(e,{emit:t}){return Object.assign({},(0,a.Pp)(e,t))},methods:{renderIcon(){return(0,i.h)(r.A,{name:"app:filter",size:"1.125rem"})},renderText(){const e=this.filterCount>0?this.$tc("system.actions.filtersX",void 0,[this.filterCount]):this.$tc("system.actions.filters");return(0,i.h)("strong",e)},getProps(){return{textColor:"black"}}},render(){return(0,i.h)(a.Ay,Object.assign(Object.assign(Object.assign(Object.assign({class:["bs-filter-btn",{"bs-filter-btn__active":this.filtersShowing}]},this.getBtnProps()),this.getProps()),(0,n.J)(this.getListeners())),this.getAttributes(Object.assign(Object.assign({},this.$attrs),{"data-cy":"btnFilters"}))),{default:()=>[this.renderIcon(),this.renderText()]})}});o.d(t,["A",0,s])},91860(e,t,o){"use strict";var i=o(89221),r=o(94962),a=o(83063),n=o(47191),s=o(61412);const l=(0,i.pM)({name:"BsCheckToggle",inheritAttrs:!1,emits:["input","update:modelValue"],props:Object.assign({},a.t2),setup(e,{emit:t}){const o=(0,n.P)(),i=(0,a.Es)({vm:o,props:e,emit:t,autoSaveMethod:"",isComponentValid:e=>!0===e});return i.forceTriggerOnChange.value=!0,Object.assign({},i)},render(){return(0,i.h)(r.A,Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},this.$attrs),{class:[this.$attrs.class,"bs-check-toggle flex-start"]}),this.getRenderProps({keepColor:!0,color:this.$attrs.color||"bs-lb-m"}
1)),(0,s.J)(this.getListeners())),this.getAttributes()),this.getSlots())}});o.d(t,["A",0,l])},65542(e,t,o){"use strict";var i=o(89221),r=o(70690),a=o(89514),n=o(83063),s=o(47191),l=o(61412),d=o(96262),c=function(e,t){var o={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(o[i]=e[i]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(o[i[r]]=e[i[r]])}return o};const u=(0,i.pM)({name:"BsCheckbox",emits:["input","update:modelValue"],inheritAttrs:!1,props:Object.assign({},n.t2),setup(e,{emit:t}){const{ref:o,set:i}=(0,d.r)(),r=(0,s.P)(),a=(0,n.Es)({vm:r,props:e,emit:t,autoSaveMethod:"",autoSaveAlways:!0,isComponentValid:e=>!0===e});return a.forceTriggerOnChange.value=!0,Object.assign({bsCheckbox:o,setBsCheckboxRef:i},a)},render(){const e=this.$attrs,{label:t,class:o}=e,n=c(e,["label","class"]);return(0,i.h)(a.A,Object.assign(Object.assign(Object.assign({ref:this.setBsCheckboxRef},this.getValidationProps({borderless:!0,bottomSlots:!0,noErrorIcon:!0,dense:!0,stackLabel:!0,hideBottomSpace:void 0!==this.$attrs["hide-bottom-space"]})),n),{disabled:!1===n.disabled?void 0:n.disabled,class:[o,"bs-checkbox",this.getClasses({"bs-checkbox--dense":void 0!==this.$attrs.dense})]}),Object.assign(Object.assign({error:()=>this.renderErrorSlot()},this.renderAutoSaveMessage()),{default:()=>[(0,i.h)(r.A,Object.assign(Object.assign(Object.assign({class:"flex-start"},this.getRenderProps({keepColor:!0,color:this.$attrs.color||"bs-g"})),(0,l.J)(this.getListeners())),this.getAttributes()),this.getSlots())]}))}});o.d(t,["A",0,u])},92840(e,t,o){"use strict";function i(e){const t=null===e||void 0===e?void 0:e.$;if(void 0===(null===t||void 0===t?void 0:t.subTree))return[];const o=[],i=e=>{var t;if(null!==e&&void 0!==e&&"object"===typeof e)if(null===(t=e.component)||void 0===t?void 0:t.proxy)o.push(e.component.proxy);else if(Array.isArray(e.children))for(const t of e.children)i(t)};return i(t.subTree),o}o.d(t,{d:()=>i})},60172(e,t,o){"use strict";var i=o(89221),r=o(83063),a=o(47191),n=o(61412);const s=(0,i.pM)({name:"BsChip",props:Object.assign(Object.assign({},r.t2),{color:{type:[String,Object],default:void 0},textColor:{type:String,default:void 0}}),emits:["input"],setup(e,{emit:t}){const o=(0,a.P)(),n=(0,r.Es)({vm:o,props:e,emit:t}),s=(0,i.EW)(()=>{let t="";if(void 0!==e.textColor?t+=` text-${e.textColor}`:t+=" text-black",void 0!==e.color)if("object"===typeof e.color){const o=e.color,i=Object.keys(o).find(e=>!0===o[e]);t+=` bg-${i}`}else t+=` bg-${e.color}`;return t});return Object.assign(Object.assign({},n),{localClasses:s})},render(){return(0,i.h)("span",Object.assign({class:["bs-chip",this.localClasses]},(0,n.i)(this.getListeners())),this.slot(this,"default"))}});o.d(t,["A",0,s])},46704(e,t,o){"use strict";o.d(t,{A:()=>m});var i=o(89221),r=o(7869),a=o(7978),n=o(96178),s=o(40992),l=o(65732),d=o(83063),c=o(47191),u=o(66226),p=o(61412),v=o(83694);const m=(0,i.pM)({name:"BsChipBox",emits:["input","update:modelValue","pasteComplete"],inheritAttrs:!1,props:Object.assign(Object.assign({},d.t2),{value:{type:[String,Array],default:void 0},returnArray:{type:Boolean,default:!1},triggerChars:{type:Array,default:()=>[","]},emailInput:{type:Boolean,default:!1},readonlyValues:{type:Array,default:void 0},maxCharsPerEntry:{type:Number,default:void 0},maxEntries:{type:Number,default:void 0}}),setup(e,{emit:t}){const o=(0,r.KR)(null),a=(0,c.P)(),n=a,s=(0,r.KR)(""),u=(0,r.KR)([]),p=(0,d.Es)({vm:a,props:e,emit:t,value:()=>e.value,autoSaveAlways:!0,doBeforeAutoSave:()=>{(0,l.m88)(s.value)&&n.setContent(s.value)}});return(0,i.sV)(()=>{var e,t,i;const r=null===(i=null===(t=null===(e=o.value)||void 0===e?void 0:e.$el)||void 0===t?void 0:t.querySelector)||void 0===i?void 0:i.call(t,"input.q-field__input");void 0!==r&&null!==r&&r.addEventListener("paste",e=>{const t=(e.clipboardData||window.clipboardData).getData("text");t.indexOf(",")>-1?n.setCsvData(t):t.indexOf("\n")>-1?n.setCsvData(t,"\n"):(n.setContent(t),a.$emit("pasteComplete"))})}),Object.assign(Object.assign({},p),{bsChipBox:o,setChipBoxRef:e=>{o.value=e},rollingChange:s,invalidValues:u})},mounted(){this.stampTestHooks()},updated(){this.stampTestHooks()},methods:{stampTestHooks(){var e,t;const o=null===(e=this.bsChipBox)||void 0===e?void 0:e.$el;if(void 0===o||null===o||void 0===o.setAttribute)return;const i=this.$attrs["data-cy"];"string"===typeof i&&o.setAttribute("data-cy",i);const r=null===(t=o.querySelector)||void 0===t?void 0:t.call(o,"input.q-field__input");void 0!==r&&null!==r&&void 0!==this.dataModel&&r.setAttribute("data-model",this.dataModel)},setContent(e){const t=this.bsChipBox;t.add(e.replace("\n",""),!0),this.rollingChange=""},setCsvData(e,t=","){const o=e.split(t),i=o.map(e=>e.trim()).filter(e=>!!e);for(let e=0;e<i.length;e++){const t=i[e];t&&setTimeout(()=>{this.setContent(t),e===i.length-1&&this.$emit("pasteComplete")},50)}},renderChip(e){var t;const o=this.invalidValues.indexOf(e.opt)>-1,r=null===(t=this.readonlyValues)||void 0===t?void 0:t.includes(e.opt);return(0,i.h)(u.Gu,{class:["text-bold",r?"bs-chip__readonly":""],dense:!0,color:o?"bs-r":r?"bs-lb-r":"bs-g",textColor:r&&!o?"bs-lb":"white"},{default:()=>[(0,i.h)("span",{class:"ellipsis"},[e.opt]),!r&&(0,i.h)(a.A,{class:"cursor-pointer",name:"app:close",size:".5rem",onClick:()=>e.removeAtIndex(e.index)})].filter(e=>!1!==e&&void 0!==e)})}},render(){const e=this.componentValue,t="string"===typeof e&&e.indexOf(",")>-1?e.split(",").map(e=>e.trim()).filter(e=>!!e):Array.isArray(e)?e:e?[e]:null,o={filled:!0,useInput:!0,useChips:!0,multiple:!0,hideDropdownIcon:!0,inputDebounce:"0",newValueMode:"add-unique",bottomSlots:!0,value:t,rules:[e=>{if(!e||0===e.length)return!0;let t=!1;for(const o of e)""!==o&&!s.t(o)&&this.emailInput?(this.invalidValues.push(o),this.componentState=d.nl.Invalid,this.errorMessage=this.$tc("system.errors.chipBox.invalidEmail
1sDetected"),t=!0):t||(this.componentState=d.nl.Valid);return this.componentState===d.nl.Valid},e=>{if(!e||0===e.length)return!0;for(const t of e)if(void 0!==this.maxCharsPerEntry&&t&&t.length>this.maxCharsPerEntry)return this.invalidValues.push(t),this.componentState=d.nl.Invalid,this.errorMessage=this.$tc("system.errors.chipBox.maxCharsPerEntry",void 0,{userEnteredValue:t,maxCharsPerEntry:this.maxCharsPerEntry}),!1;return this.componentState===d.nl.Valid}]},r={keydown:e=>{9!==e.keyCode&&13!==e.keyCode&&9!==e.which&&13!==e.which&&"Tab"!==e.key&&"Enter"!==e.key&&"Tab"!==e.code&&"Enter"!==e.code||!(0,l.m88)(e.target.value)||(e.target.value.indexOf(",")>-1?this.setCsvData(e.target.value):this.setContent(e.target.value))},keyup:e=>{if(this.rollingChange=e.target.value,this.triggerChars.includes(e.key)){let t=e.target.value;this.triggerChars.forEach(e=>t=t.replace(e,"")),this.setContent(t)}},input:e=>{const t=e.reduce((e,t)=>t&&t.includes(",")?[...e,...t.split(",")]:[...e,t],[]),o=[...new Set(t)],i=this.returnArray?o:o.join(","),r=this.bsChipBox;void 0!==this.maxEntries&&o.length>this.maxEntries||((0,v.d)(this,i),r.updateInputValue("",!0))}};return(0,i.h)(n.A,Object.assign(Object.assign(Object.assign(Object.assign({class:["bs-chip-box",this.getClasses()],ref:this.setChipBoxRef},this.getRenderProps(o)),(0,p.J)(this.getListeners(r))),this.getAttributes(void 0,!0)),{modelValue:t}),Object.assign(Object.assign({},this.getSlots({"selected-item":e=>this.renderChip(e)})),{default:()=>[this.slot(this,"default"),this.slot(this,"hint")]}))}})},91796(e,t,o){"use strict";var i=o(89221),r=o(83063),a=o(47191),n=o(61412);const s=(0,i.pM)({name:"BsClickable",emits:["input"],props:Object.assign(Object.assign({},r.t2),{to:{type:String,default:void 0},preventNavigation:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}}),setup(e,{emit:t}){return Object.assign({},(0,r.Es)({vm:(0,a.P)(),props:e,emit:t}))},render(){return(0,i.h)(this.to?(0,i.g2)("router-link"):"div",Object.assign(Object.assign({class:["bs-clickable",this.getClasses({"bs-clickable__navigation-prevented":this.preventNavigation})]},(0,n.i)(this.getListeners())),{to:this.to||void 0,role:this.to?"link":"button",tabindex:0,disabled:this.disabled||void 0}),this.slot(this,"default"))}});o.d(t,["A",0,s])},32556(e,t,o){"use strict";o.d(t,{A:()=>h});var i=o(89221),r=o(78144),a=o(94490),n=o(7978),s=o(26433),l=o(56128),d=o(83063),c=o(47191),u=o(52605),p=o(61412),v=o(96262),m=o(83694);const{formatDate:y,extractDate:g}=r.Ay,h=(0,i.pM)({name:"BsDate",inheritAttrs:!1,emits:["input","update:modelValue"],props:Object.assign(Object.assign({},d.t2),{value:{type:[Date,String],default:void 0}}),setup(e,{emit:t}){const{ref:o,set:r}=(0,v.r)(),a=(0,c.P)(),n=(0,d.Es)({vm:a,props:e,emit:t,value:()=>e.value}),s=(0,i.EW)(()=>{const e=n.componentValue.value;if(e)return"string"===typeof e?e:y(e,u.D)}),l=(0,i.EW)(()=>{var t;const o=e=>{if(!e)return;const t=e instanceof Date?e:new Date(e);return isNaN(t.getTime())?{label:a.$tc("system.errors.invalidDate")}:void 0};return[...null!==(t=e.validation)&&void 0!==t?t:[],o]});return Object.assign(Object.assign({BsDateProxy:o,setBsDateProxyRef:r},n),{dateValue:s,dateValidation:l})},methods:{renderScopedSlots(){return{append:()=>this.$attrs.disable?void 0:(0,i.h)(n.A,{name:"app:date-picker",size:"1.25rem",color:"bs-g"},{default:()=>[(0,i.h)(s.A,{ref:this.setBsDateProxyRef},{default:()=>[(0,i.h)(a.A,{modelValue:this.dateValue,color:"bs-g",minimal:!0,options:this.$attrs.options,"onUpdate:modelValue":e=>{this.BsDateProxy.hide(),(0,m.d)(this,g(e,u.D)),this.doAutoSave()}})]})]})}}},render(){var e,t;null===this.componentValue&&(0,m.d)(this,void 0);const o={required:this.required,autoSave:this.autoSave,disable:this.$attrs.disable,mask:"date",rules:["date"],validation:this.dateValidation},r=Object.assign({},this.renderScopedSlots()),a=Object.fromEntries(Object.entries(this.$attrs).filter(([e])=>e.startsWith("data-")));return(0,i.h)(l.A,Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({class:["bs-date",this.getClasses()]},this.getRenderProps(o)),(0,p.J)(this.getListeners())),this.getAttributes()),a),{modelValue:null!==(e=this.dateValue)&&void 0!==e?e:"",value:null!==(t=this.dateValue)&&void 0!==t?t:""}),Object.assign(Object.assign({}
1,this.getSlots(r)),{default:()=>this.slot(this,"default")}))}})},78810(e,t,o){"use strict";var i=o(89221),r=o(99482),a=o(83063),n=o(53568),s=o(47191),l=o(61412),d=o(83694);const c=(0,i.pM)({name:"BsEditor",emits:["input","update:modelValue"],props:Object.assign(Object.assign({},a.t2),{limitedToolbar:{type:Boolean,default:!1}}),setup(e,{emit:t}){const o=(0,s.P)();return o.$q.iconSet.editor.heading1="mdi-format-header-1",o.$q.iconSet.editor.heading2="mdi-format-header-2",o.$q.iconSet.editor.heading3="mdi-format-header-3",o.$q.iconSet.editor.heading4="mdi-format-header-4",o.$q.iconSet.editor.heading5="mdi-format-header-5",o.$q.iconSet.editor.heading6="mdi-format-header-6",(0,i.sV)(()=>{document.execCommand("defaultParagraphSeparator",!1,"p")}),Object.assign({},(0,a.Es)({vm:o,props:e,emit:t}))},methods:{getEditorToolbar(){const e=this.limitedToolbar?["p"]:["h1","h2","h3","h4","h5","h6","p"],t=this.limitedToolbar?[{label:this.$q.lang.editor.fontSize,icon:this.$q.iconSet.editor.fontSize,fixedLabel:!0,fixedIcon:!0,list:"no-icons",options:["size-1","size-2","size-3","size-4","size-5","size-6","size-7"]}]:void 0,o=["bold","italic","underline"],i=["unordered","ordered"],r=["hr","removeFormat"],a=["viewsource"],n=[];return n.push(e),t&&n.push(t),n.push(o),n.push(i),n.push(r),n.push(a),n},getControl(){if(null===this.componentValue)return void(0,d.d)(this,"");const e={toolbar:this.getEditorToolbar(),value:this.componentValue||"",paragraphTag:"p"},t={input:e=>{const t=/style=".*?"/gm;(0,d.d)(this,e.replace(t,""))}};return(0,i.h)("div",{class:"bs-editor__container full-width","data-model":this.dataModel},[(0,i.h)(r.A,Object.assign(Object.assign(Object.assign({class:["bs-editor full-width",this.getClasses()]},this.getRenderProps(e)),(0,l.J)(this.getListeners(t))),this.getAttributes(void 0,!0)),{default:()=>this.slot(this,"default")})])}},render(){return(0,n.g)(this,"bs-editor",this.getControl())}});o.d(t,["A",0,c])},83694(e,t,o){"use strict";const i=(e,t)=>{e.$emit("update:modelValue",t),e.$emit("input",t)};o.d(t,["d",0,i])},53568(e,t,o){"use strict";o.d(t,{g:()=>n});var i=o(89221),r=o(89514),a=o(61412);function n(e,t,o){const n={borderless:!0,value:e.componentValue,stackLabel:!0,bottomSlots:!0,hint:e.autoSaveMessage,hideBottomSpace:void 0!==e.$attrs["hide-bottom-space"]},s=Object.assign({},e.getSlots());return delete s.default,(0,i.h)(r.A,Object.assign(Object.assign({class:["bs-field "+t,e.getClasses()]},e.getRenderProps(n)),(0,a.J)(e.getListeners())),Object.assign(Object.assign({},s),{default:()=>[o]}))}},19108(e,t,o){"use strict";var i=o(89221),r=o(22190),a=o(83063),n=o(47191),s=o(92840),l=o(61412),d=function(e,t){var o={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(o[i]=e[i]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(o[i[r]]=e[i[r]])}return o},c=r.Ay.stopAndPrevent;const u=(0,i.pM)({name:"BsForm",props:Object.assign({},a.t2),setup(e,{emit:t}){const o=(0,n.P)(),i=(0,a.Es)({vm:o,props:e,emit:t}),{reset:r}=i,s=d(i,["reset"]);return Object.assign({},s)},emits:["input","submit"],methods:{validateForm(){const e=this.validateComponentTree((0,s.d)(this));return Promise.resolve(e)},resetComponentTree(e){for(const t of e){const e=(0,s.d)(t);e.length>0&&this.resetComponentTree(e),void 0!==t.reset&&t.reset()}},reset(){this.resetComponentTree((0,s.d)(this))}},render(){let e=!1;return(0,i.h)("form",Object.assign(Object.assign({class:["bs-form",this.getClasses()]},this.getRenderProps()),(0,l.i)(this.getListeners({submit:t=>{e||(void 0!==t&&c(t),this.validateForm().then(o=>{var i;if(!0===o)if(void 0!==(null===(i=this.$.vnode.props)||void 0===i?void 0:i.onSubmit))this.$emit("submit",t);else if(void 0!==t&&void 0!==t.target&&"function"===typeof t.target.submit){e=!0;try{t.target.submit()}finally{e=!1}}}))}}))),this.slot(this,"default"))}});o.d(t,["A",0,u])},69028(e,t,o){"use strict";var i=o(89221),r=o(83063),a=o(47191),n=o(61412);const s=(0,i.pM)({name:"BsFormField",emits:["input"],props:Object.assign(Object.assign({},r.t2),{wrap:{type:Boolean,default:!1},dense:{type:Boolean,default:!1},multiLineHint:{type:Boolean,default:!1}}),setup(e,{emit:t}){return Object.assign({},(0,r.Es)({vm:(0,a.P)(),props:e,emit:t}))},methods:{renderTitleSection(){if(this.$slots.title||this.$slots.hint)return(0,i.h)("div",{class:"bs-form-field__container"},[this.$slots.title&&(0,i.h)("div",{class:"bs-form-field__title","aria-hidden":!0},this.slot(this,"title")),this.$slots.hint&&(0,i.h)("p",{class:["bs-form-field__hint",this.multiLineHint?"bs-form-field__hint--multiline":void 0]},this.slot(this,"hint"))])},renderWarningSection(){if(this.$slots.warning)return(0,i.h)("div",{class:"bs-form-field__warning"},this.slot(this,"warning"))},renderErrorSection(){if(this.$slots.warning)return(0,i.h)("div",{class:"bs-form-field__error"},this.slot(this,"error"))}},render(){return(0,i.h)("div",Object.assign({class:["bs-form-field",{"bs-form-field--wrap":this.wrap,"bs-form-field--dense":this.dense}]},(0,n.i)(this.getListeners())),[this.renderTitleSection(),this.renderWarningSection(),this.renderErrorSection(),(0,i.h)("div",{class:"bs-form-field__content"},this.slot(this,"default"))])}});o.d(t,["A",0,s])},47012(e,t,o){"use strict";var i=o(89221),r=o(7869),a=o(53472),n=o(47191);const s=new Set(["m.media-amazon.com"]),l=(0,i.pM)({name:"BsImg",extends:a.A,props:{native:{type:Boolean},large:{type:Boolean},contain:{type:Boolean},loading:{type:String,default:"eager"}},setup(e){const t=(0,n.P)(),o=(0,r.KR)("lazy"!==e.loading),a=(0,r.IJ)(null);return(0,i.sV)(()=>{"lazy"===e.loading&&"undefined"!==typeof IntersectionObserver&&(a.value=new IntersectionObserver(e=>{var t;e.some(e=>e.isIntersecting)&&(o.value=!0,null===(t=a.value)||void 0===t||t.disconnect(),a.value=null)},{rootMargin:"200px"}),a.value.observe(t.$el))}),(0,i.xo)(()=>{var e;null===(e=a.value)||void 0===e||e.disconnect(),a.value=null}),{bsImgVisible:o,bsImgObserver:a}},computed:{modifiedSrc(){if(!this.src)return;let e=this.src+"";const t="undefined"!==typeof window?window.Capacitor:void 0,o=!!t&&("function"===typeof t.isNativePlatform&&t.isNativePlatform()||!0===t.isNative||"function"===typeof t.getPlatform&&"web"!==t.getPlatform()),i=/^https?:\/\/([^/?#]+)([^?#]*)/i.exec(e);if(null!==i){const t=i[1].toLowerCase();if(!o&&s.has(t)){const e=i[2]||"/";return`/img-proxy/${t}${e}`}return e}let r;return(e.startsWith("cdn")||e.startsWith("/cdn")||e.startsWith("\\cdn"))&&(["beta"].includes("master")?r="https://beta.books
1prout.co":["sandbox"].includes("master")?r="https://sandbox.booksprout.co":["master"].includes("master")&&(r="https://booksprout.co"),!r||e.startsWith("/")||e.startsWith("\\")||(r+="/"),this.large&&(e.indexOf("uploads\\book\\thumbnails\\")>-1&&(e=e.replace("uploads\\book\\thumbnails\\","uploads\\book\\thumbnails\\415\\")),e.indexOf("uploads/book/thumbnails/")>-1&&(e=e.replace("uploads/book/thumbnails/","uploads/book/thumbnails/415/")))),e=e.replace(/\\/g,"/"),r?`${r}${e}`:e},effectiveSrc(){return this.bsImgVisible?this.modifiedSrc:void 0}},render(){if(this.native){const e=e=>{e.target.src=this.placeholderSrc,e.target.onerror=""};return(0,i.h)("img",{src:this.effectiveSrc,width:this.width,height:this.height,alt:this.alt,loading:this.loading,onError:e})}return(0,i.h)(a.A,{placeholderSrc:this.placeholderSrc,src:this.effectiveSrc,width:this.width,height:this.height,sizes:this.sizes,srcset:this.srcset,imgClass:this.imgClass,imgStyle:this.imgStyle,spinnerColor:this.spinnerColor,spinnerSize:this.spinnerSize,ratio:this.ratio,alt:this.alt,fit:this.contain?"contain":void 0})}});o.d(t,["A",0,l])},66226(e,t,o){"use strict";o.d(t,{Ay:()=>F,Gu:()=>w.A,Iy:()=>u.A,NF:()=>L.A,OM:()=>a.A,Wt:()=>i.Ay,e3:()=>n.A,uv:()=>l.A});var i=o(92820),r=o(31308),a=o(19108),n=o(1980),s=o(33888),l=o(56128),d=o(65542),c=o(75932),u=o(91796),p=o(17384),v=o(46704),m=o(32556),y=o(68668),g=o(69028),h=o(58268),f=o(91468),b=o(7330),w=o(60172),A=o(78810),D=o(79392),R=o(60048),k=o(28332),O=o(52593),S=o(46113),I=o(91860),T=o(3818),E=o(37793),C=o(69400),P=o(54172),j=o(47012),$=o(87608),L=o(47172),N=o(338);const F={BsBtn:i.Ay,BsToggle:r.A,BsForm:a.A,BsTabStepper:n.A,BsTabStepperTitle:s.A,BsInput:l.A,BsCheckbox:d.A,BsRadio:c.A,BsClickable:u.A,BsTooltip:p.A,BsChipBox:v.A,BsDate:m.A,BsTabbedLayout:y.A,BsFormField:g.A,BsUpgrade:h.A,BsSelect:f.A,BsUpload:b.A,BsChip:w.A,BsEditor:A.A,BsStatus:D.A,BsModal:R.A,BsSnippet:k.A,BsBtnDropdown:O.A,BsSiteBtn:S.A,BsCheckToggle:I.A,BsRating:T.A,BsShareBtn:E.A,BsPaginator:C.A,BsSelectBtn:P.A,BsImg:j.A,BsTag:$.A,BsSpinner:L.A,BsFilterBtn:N.A,install(e){e.component("BsBtn",i.Ay),e.component("BsToggle",r.A),e.component("BsForm",a.A),e.component("BsTabStepper",n.A),e.component("BsTabStepperTitle",s.A),e.component("BsInput",l.A),e.component("BsCheckbox",d.A),e.component("BsRadio",c.A),e.component("BsClickable",u.A),e.component("BsTooltip",p.A),e.component("BsChipBox",v.A),e.component("BsDate",m.A),e.component("BsTabbedLayout",y.A),e.component("BsFormField",g.A),e.component("BsUpgrade",h.A),e.component("BsSelect",f.A),e.component("BsUpload",b.A),e.component("BsChip",w.A),e.component("BsEditor",A.A),e.component("BsStatus",D.A),e.component("BsModal",R.A),e.component("BsSnippet",k.A),e.component("BsBtnDropdown",O.A),e.component("BsSiteBtn",S.A),e.component("BsCheckToggle",I.A),e.component("BsRating",T.A),e.component("BsShareBtn",E.A),e.component("BsPaginator",C.A),e.component("BsSelectBtn",P.A),e.component("BsImg",j.A),e.component("BsTag",$.A),e.component("BsSpinner",L.A),e.component("BsFilterBtn",N.A)}}},56128(e,t,o){"use strict";o.d(t,{A:()=>y});var i=o(89221),r=o(7869),a=o(24470),n=o(7978),s=o(54570),l=o(83063),d=o(47191),c=o(66226),u=o(65732),p=o(61412),v=o(96262),m=o(83694);const y=(0,i.pM)({name:"BsInput",emits:["input","update:modelValue","blur","clear","search"],props:Object.assign(Object.assign({},l.t2),{password:{type:Boolean,default:!1},search:{type:Boolean,default:!1},hideOptional:{type:Boolean,default:!1},small:{type:Boolean,default:!1},srLabel:{type:Boolean,default:!1},trimAllSpaces:{type:Boolean,default:!1},icon:{type:String,default:void 0},append:{type:String,default:void 0},clearIcon:{type:String,default:void 0}}),setup(e,{emit:t}){const{ref:o,set:a}=(0,v.r)(),n=(0,d.P)(),s=(0,l.Es)({vm:n,props:e,emit:t}),c=(0,r.KR)(!1),u=(0,i.EW)(()=>s.hasErrors.value?"imp-bs-r-l":n.$attrs["bg-color"]),p=(0,i.EW)(()=>"number"===n.$attrs.type);return Object.assign(Object.assign({qInput:o,setQInputRef:a},s),{passwordVisible:c,backgroundColor:u,isNumericField:p})},methods:{triggerAutoSave(){return this.doAutoSave()},setValue(e){this.value=e,((0,u.m88)(e+"")||(0,u.Kt2)(e))&&(this.componentState=l.nl.Valid,this.errorMessage="")},focus(){this.qInput.focus()},resetValidation(){this.qInput.resetValidation(),this.reset()},normalizeNumericValue(e){if(""===e||null===e||void 0===e)return;const t=parseInt(e);return isNaN(t)?void 0:t},ensureValidIntValue(e){if(!this.isNumericField||""===e||null===e||void 0===e)return;const t=parseInt(e),o=parseInt(this.$attrs.min),i=parseInt(this.$attrs.max);(!(0,u.Kt2)(e)||t<o||t>i)&&(t<o?(0,m.d)(this,parseInt(this.$attrs.min)):(0,m.d)(this,parseInt(this.$attrs.max)))},renderBeforeSlot(){return(0,i.h)("div",{class:"bs-input__icon"},[(0,i.h)(n.A,{name:this.icon})])},renderNumberSlots(){const e=this.componentValue,t=parseInt(e),o=t===parseInt(this.$attrs.min),r=t===parseInt(this.$attrs.max);return{before:()=>(0,i.h)(c.Wt,{icon:"app:minus",iconOnly:!0,primary:o,secondary:!o,disable:o,onClick:()=>{const t=isNaN(parseInt(e))?0:parseInt(e)-1;void 0!==this.$attrs.min&&t<parseInt(this.$attrs.min)||(this.validate(t),(0,m.d)(this,t),this.doAutoSave())},"data-cy":"decreaseValue"}),after:()=>(0,i.h)(c.Wt,{icon:"app:plus",iconOnly:!0,primary:r,secondary:!r,disable:r,onClick:()=>{const t=isNaN(parseInt(e))?1:parseInt(e)+1;void 0!==this.$attrs.max&&t>parseInt(this.$attrs.max)||(this.validate(t),(0,m.d)(this,t),this.doAutoSave())},"data-cy":"increaseValue"})}},renderSearchSlot(){return{append:()=>(0,i.h)(a.A,{class:["bs-search-btn",{"bs-search-btn__focused":this.componentValue}],onClick:()=>this.$emit("search",this.value)},{default:()=>(0,i.h)(n.A,{name:"app:magnifier-dense",color:this.componentValue?"white":"bs-grey-m",size:".75rem"})})}},renderScopedSlots(){let e={};return this.password&&(e=Object.assign(Object.assign({},e),{append:()=>(0,i.h)(n.A,{class:"cursor-pointer",name:this.passwordVisible?"app:password-visible":"app:password-hidden",onClick:()=>this.passwordVisible=!this.passwordVisible})})),this.append&&(e=Object.assign(Object.assign({},e),{append:()=>(0,i.h)("span",{class:"font-size-13 text-primary"},this.append)})),this.icon&&(e=Object.assign(Object.assign({},e),{before:()=>this.renderBeforeSlot()})),this.isNumericField&&(e=Object.assign(Object.assign({}
1,e),this.renderNumberSlots())),this.search&&(e=Object.assign(Object.assign({},e),this.renderSearchSlot())),e},renderLabelSlot(){var e;const t=null!==(e=this.$attrs.label)&&void 0!==e?e:this.tkey?this.$tc(this.tkey):void 0;if(void 0!==t||void 0!==this.$slots.actions)return(0,i.h)("div",{class:["bs-input-container__label flex justify-between items-center",{"sr-only":this.srLabel}],"aria-hidden":!0},[(0,i.h)("div",{class:"cursor-pointer",onClick:this.focus},[t,this.required||this.hideOptional?void 0:(0,i.h)("span",{class:"bs-input__optional"}," (optional)")]),this.$slots.actions&&(0,i.h)("div",this.slot(this,"actions"))])}},render(){this.isNumericField&&this.ensureValidIntValue(this.componentValue);const e=this.componentValue,t=this.getRenderProps({stackLabel:!0,value:e,bottomSlots:!0,noErrorIcon:!0,outlined:this.hasErrors,bgColor:this.backgroundColor,type:this.password?this.passwordVisible?"text":"password":this.$attrs.type||"text",clearable:this.search,clearIcon:this.clearIcon?this.clearIcon:"app:close-fat",readonly:this.$attrs.readonly});delete t.label;const o=Object.assign({},this.renderScopedSlots());return(0,i.h)("div",{class:"bs-input-container",id:this.dataModel},[this.renderLabelSlot(),(0,i.h)(s.A,Object.assign(Object.assign(Object.assign({ref:this.setQInputRef,class:["textarea"===this.$attrs.type?"bs-textarea":"bs-input",this.getClasses({"bs-input__search":this.search,"bs-input__search--not-empty":this.search&&this.componentValue,"bs-input__icon":this.icon,"bs-input__small":this.small,"bs-input__number":this.isNumericField})]},t),(0,p.J)(this.getListeners({blur:()=>{this.validate(this.componentValue),this.$emit("blur")},input:e=>{!this.search||null!==e&&void 0!==e||(e=""),this.trimAllSpaces&&(e=e.replace(" ","")),(0,m.d)(this,this.isNumericField?this.normalizeNumericValue(e):e)},keyup:e=>{const t=e.target.value;this.ensureValidIntValue(t)},clear:()=>{this.$emit("clear",this.isNumericField?parseInt(this.$attrs.min):"")}}))),this.getAttributes({"data-cy":this.$attrs["data-cy"],"data-hj-allow":this.$attrs["data-hj-allow"],inputmode:this.isNumericField?"numeric":this.$attrs.inputmode,pattern:this.isNumericField?"[0-9]+":this.$attrs.pattern})),Object.assign(Object.assign({},this.getSlots(o)),{default:()=>this.slot(this,"default")}))])}})},60048(e,t,o){"use strict";o.d(t,{A:()=>p});var i=o(89221),r=o(97554),a=o(7978),n=o(66226),s=o(83063),l=o(47191),d=o(61412),c=o(96262),u=o(83694);const p=(0,i.pM)({name:"BsModal",emits:["input","update:modelValue","cancel","close","ok"],props:Object.assign(Object.assign({},s.t2),{value:{type:Boolean,default:!1},title:{type:String,default:void 0},icon:{type:String,default:void 0},okText:{type:String,default:void 0},cancelText:{type:String,default:void 0},hideClose:{type:Boolean,default:!1},okButtonAsWarning:{type:Boolean,default:!1}}),setup(e,{emit:t}){const{ref:o,set:r}=(0,c.r)(),a=(0,l.P)();return Object.assign(Object.assign({qDialog:o,setQDialogRef:r},(0,s.Es)({vm:a,props:e,emit:t})),{dialog:(0,i.EW)(()=>o.value)})},methods:{renderCloseButton(){if(!this.hideClose)return(0,i.h)(a.A,{class:"bs-modal__close",onClick:()=>{(0,u.d)(this,!1),this.$emit("close")},name:"app:close-circle"})},renderTitle(){return(0,i.h)("div",{class:"bs-modal__title"},[this.icon&&(0,i.h)(a.A,{class:"on-left",name:this.icon}),this.title&&(0,i.h)("h2",this.title)])},renderHeader(){return(0,i.h)("div",{class:"bs-modal__header"},[this.renderTitle(),this.renderCloseButton()].filter(e=>void 0!==e))},renderOkButton(){return(0,i.h)(n.Wt,{large:!0,warning:this.okButtonAsWarning,onClick:()=>{(0,u.d)(this,!1),this.$emit("close",!1),this.$emit("ok",!1)},"data-model":"btnModalOk"},{default:()=>this.okText||"DONE"})},renderCancelButton(){return(0,i.h)(n.Wt,{large:!0,secondary:!0,warning:!this.okButtonAsWarning,onClick:()=>{(0,u.d)(this,!1),this.$emit("close",!1),this.$emit("cancel",!1)},"data-model":"btnModalCancel"},{default:()=>this.cancelText})},renderFooter(){return(0,i.h)("div",{class:"bs-modal__footer"},[void 0===this.cancelText?void 0:this.renderCancelButton(),this.renderOkButton()].filter(e=>void 0!==e))},renderContent(){return(0,i.h)("div",{class:"bg-white"},[this.renderHeader(),this.slot(this,"default"),this.renderFooter()].filter(e=>void 0!==e))},renderDialog(){const e={input:e=>{(0,u.d)(this,e),this.$emit("close")}};return(0,i.h)(r.A,Object.assign({ref:this.setQDialogRef,modelValue:this.value,persistent:!0,class:"bs-modal",maximized:this.$q.screen.xs},(0,d.J)(this.getListeners(e))),{default:()=>[this.renderContent()]})}},render(){return this.renderDialog()}})},69400(e,t,o){"use strict";o.d(t,{A:()=>m});var i=o(89221),r=o(7869),a=o(80602),n=o(83063),s=o(47191),l=o(66226),d=o(65732),c=o(61412),u=function(e,t){var o={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(o[i]=e[i]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(o[i[r]]=e[i[r]])}return o};const{getScrollTarget:p,setVerticalScrollPosition:v}=a.Ay,m=(0,i.pM)({name:"BsPaginator",emits:["input"],props:Object.assign(Object.assign({},n.t2),{setCurrentPage:{type:Number,default:void 0},totalRows:{type:Number,default:void 0},rowsPerPage:{type:Number,default:void 0},showMaxPages:{type:Number,default:8},updateUrl:{type:Boolean,default:!1}}),setup(e,{emit:t}){const o=(0,s.P)(),a=(0,n.Es)({vm:o,props:e,emit:t}),{reset:l}=a,d=u(a,["reset"]),c=(0,r.KR)(e.setCurrentPage||1),p=(0,i.EW)(()=>Math.ceil(e.totalRows/e.rowsPerPage));return(0,i.wB)(()=>e.setCurrentPage,e=>{c.value=e}),Object.assign(Object.assign({},d),{currentPage:c,totalPages:p})},methods:{setPage(e){this.currentPage=e,history.pushState&&this.updateUrl&&history.pushState(null,"",(0,d.f3u)(window.location.href,"page",e.toString())),this.$emit("changed",{pageNumber:e,skip:e>1?e*this.rowsPerPage-this.rowsPerPage:0,take:this.rowsPerPage})},reset(){this.currentPage=1},scrollToTop(){const e=p(document.body),t=document.body.offsetTop,o=0;v(e,t,o)},renderBtn(e,t=!1,o=!1){const r=e&&1===this.currentPage||!e&&this.currentPage===this.totalPages;return(0,i.h)(l.Wt,{class:["bs-paginator__nav-btn q-pa-none flex items-center font-size-8 justify-center",{"bs-paginator__nav-btn--disabled":r}],icon:e?t?"app:double-arrow":"app:back":o?"app:double-arrow":"app:forward",disable:r,secondary:!0,"data-cy":e?t?"paginatorFirstPageBtn":"paginatorPreviousPageBtn":o?"paginatorLastPageBtn":"paginatorNextPageBtn","aria-label":e?t?this.$t("system.labels.firstPage"):this.$t("system.labels.previousPage"):o?this.$t("system.labels.lastPage"):this.$t("system.labels.nextPage"),onClick:()=>{this.setPage(e?t?1:this.currentPage-1:o?this.totalPages:this.currentPage+1),this.scrollToTop()}},{default:()=>this.slot(this,"default")})},renderPageButtons(){const e=[];return e.push((0,i.h)(l.uv,{class:["bs-paginator__page-btn flex no-wrap flex-center",{"text-bold":!0}],style:{"inline-size":this.totalPages<10?"30px":this.totalPages<100?"40px":"50px"},onInput:e=>{setTimeout(()=>{const t=parseInt(e);t>=1&&t<=this.totalPages&&this.setPage(t)},1e3)},value:this.currentPage.toString(),inputMode:"numeric",hideBottomSpace:!0,pattern:"[0-9]*",min:1,max:this.totalPages})),e.push((0,i.h)("span",` of ${this.totalPages}`)),e},renderPageBtnContainer(){return(0,i.h)("div",{class:"bs-paginator__page-btn-container flex"},this.renderPageButtons())}},render(){return(0,i.h)("div",Object.assign({class:["bs-paginator flex items-center",this.getClasses()]},(0,c.i)(this.getListeners())),[this.renderBtn(!0,!0),this.renderBtn(!0),this.renderPageBtnContainer(),this.renderBtn(!1),this.renderBtn(!1,!1,!0)])}})},61412(e,t,o){"use strict";o.d(t,{J:()=>a,i:()=>n});var i=o(89221),r=function(e,t){var o={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(o[i]=e[i]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(o[i[r]]=e[i[r]])}return o};function a(e){const t=null!==e&&void 0!==e?e:{},{input:o}=t,a=r(t,["input"]),n=(0,i.Tb)(a);return void 0===o?n:Object.assign(Object.assign({},n),{"onUpdate:modelValue":o})}function n(e){return(0,i.Tb)(null!==e&&void 0!==e?e:{})}},75932(e,t,o){"use strict";var i=o(89221),r=o(89514),a=o(20989),n=o(30012),s=o(83063),l=o(47191),d=o(61412);const c=(0,i.pM)({name:"BsRadio",emits:["input","update:modelValue"],props:Object.assign(Object.assign({},s.t2),{stacked:{type:Boolean,default:!1},hideBottomSpace:{type:Boolean,default:!1}}),setup(e,{emit:t}){const o=(0,l.P)(),i=(0,s.Es)({vm:o,props:e,emit:t,autoSaveMethod:""});return i.stopSaveOnFirstSet.value=!0,i.forceTriggerOnChange.value=!0,Object.assign({},i)},render(){var e;const t={type:"radio"};return(null===(e=this.$attrs)||void 0===e?void 0:e.options)?(0,i.h)(r.A,Object.assign({class:["bs-radio-container",this.getClasses()]},this.getValidationProps({borderless:!0,bottomSlots:!0,noErrorIcon:!0,dense:!0,stackLabel:!0,hideBottomSpace:this.hideBottomSpace})),Object.assign(Object.assign({error:()=>this.renderErrorSlot()},this.renderAutoSaveMessage()),{default:()=>[(0,i.h)(a.A,Object.assign(Object.assign(Object.assign({class:["bs-radio",this.stacked?"bs-radio__stacked":void 0]},this.getRenderProps(t)),(0,d.J)(this.getListeners())),this.getAttributes()),{default:()=>this.slot(this,"default")})]})):(0,i.h)(n.A,Object.assign(Object.assign(Object.assign({class:"bs-radio"},this.getRenderProps(t)),(0,d.J)(this.getListeners())),this.getAttributes()),{default:()=>this.slot(this,"default")})}});o.d(t,["A",0,c])},3818(e,t,o){"use strict";var i=o(89221),r=o(22942),a=o(83063),n=o(47191),s=o(61412);const l=(0,i.pM)({name:"BsRating",emits:["input","update:modelValue"],props:Object.assign({},a.t2),setup(e,{emit:t}){const o=(0,n.P)(),r=(0,a.Es)({vm:o,props:e,emit:t,autoSaveMethod:"",isComponentValid:e=>!0===e});r.forceTriggerOnChange.value=!0;const s=(0,i.EW)(()=>
1{if(!r.componentValue.value)return 0;const e=Math.floor(r.componentValue.value),t=r.componentValue.value%1;return t<.25?e:t>=.25&&t<.75?e+.5:e+1});return Object.assign(Object.assign({},r),{roundedValue:s})},render(){return(0,i.h)(r.A,Object.assign(Object.assign(Object.assign({class:"bs-rating"},this.getRenderProps({color:"grey",icon:"app:star-empty",iconSelected:"app:star-full",iconHalf:"app:star-half",noDimming:!0,readonly:void 0===this.$attrs.readonly||this.$attrs.readonly,modelValue:this.roundedValue})),(0,s.J)(this.getListeners())),this.getAttributes()),this.getSlots())}});o.d(t,["A",0,l])},91468(e,t,o){"use strict";var i=o(89221),r=o(96178),a=o(6338),n=o(64527),s=o(79866),l=o(82438),d=o(53472),c=o(96839),u=o(83063),p=o(47191),v=o(10781),m=o(61412),y=o(96262);const g=(0,i.pM)({name:"BsSelect",emits:["input","update:modelValue"],props:Object.assign(Object.assign({},u.t2),{buttonOption:{type:Boolean,default:!1},large:{type:Boolean,default:!1},squareAvatar:{type:Boolean,default:!1},fitAvatar:{type:Boolean,default:!1},flat:{type:Boolean,default:!1},popupContentClass:{type:String,default:void 0},ellipsisCharCount:{type:Number,default:void 0}}),setup(e,{emit:t}){const{ref:o,set:r}=(0,y.r)(),a=(0,p.P)(),n=(0,u.Es)({vm:a,props:e,emit:t,autoSaveMethod:"input",isComponentValid:e=>null!==e&&""!==e&&void 0!==e&&e>-1}),s=(0,i.EW)(()=>{let t="bs-select-options";return e.flat?t+="__flat":e.buttonOption&&(t+=" bs-select-options--button-enabled"),e.popupContentClass&&(t+=` ${e.popupContentClass}`),t}),l=(0,i.EW)(()=>n.hasErrors.value?"imp-bs-r-l":a.$attrs["bg-color"]);return Object.assign(Object.assign({bsSelect:o,setBsSelectRef:r},n),{getPopupContentClass:s,backgroundColor:l})},mounted(){this.stampDataModel()},updated(){this.stampDataModel()},methods:{stampDataModel(){var e;const t=null===(e=this.bsSelect)||void 0===e?void 0:e.$el;void 0!==t&&void 0!==t.setAttribute&&void 0!==this.dataModel&&t.setAttribute("data-model",this.dataModel)},renderOptions(e){if(e.opt.value!==this.componentValue)return(0,i.h)(a.A,Object.assign({class:["bs-select-option",{"bs-select-option--large":this.large,"bs-select-option--fit-avatar":this.fitAvatar}]},e.itemProps),{default:()=>[void 0!==e.opt.avatar&&this.large?(0,i.h)(n.A,{avatar:!0},{default:()=>[(0,i.h)(l.A,{class:"on-left",square:this.squareAvatar},{default:()=>[(0,i.h)(d.A,{src:e.opt.avatar})]})]}):void 0,(0,i.h)(n.A,{},{default:()=>[(0,i.h)(s.A,null,{default:()=>[e.opt.label]})]})].filter(e=>void 0!==e)})},renderSelectedItem(e){return(0,i.h)(a.A,{class:"bs-selected-option",clickable:!0,dense:!0},{default:()=>[void 0===e.opt.avatar?void 0:(0,i.h)(n.A,{},{default:()=>[(0,i.h)(l.A,{class:"on-left",square:this.squareAvatar},{default:()=>[(0,i.h)(d.A,{src:e.opt.avatar})]})]}),(0,i.h)(n.A,{},{default:()=>[(0,i.h)(s.A,null,{default:()=>[e.opt.label]})]})].filter(e=>void 0!==e)})}},render(){var e;const t=Array.isArray(this.$attrs["options"])?null===(e=Array.from(this.$attrs["options"]).find(e=>e.value===this.componentValue))||void 0===e?void 0:e.label:"",o={mapOptions:!0,emitValue:!0,dropdownIcon:"app:arrow-down",popupContentClass:this.getPopupContentClass,displayValue:(0,v.gO)(t,this.ellipsisCharCount||23),stackLabel:!0,borderless:!0,bottomSlots:!0,noErrorIcon:!0,filled:this.flat&&!this.hasErrors,outlined:this.hasErrors,bgColor:this.backgroundColor,virtualScrollSliceSize:this.$attrs["options"].length,dense:!0,behavior:"menu"};let a={};return void 0===this.$slots.option&&(a={option:e=>this.renderOptions(e)}),void 0===this.$slots.selectedItem&&void 0===this.$slots["selected-item"]&&this.large&&(a=Object.assign(Object.assign({},a),{"selected-item":e=>this.renderSelectedItem(e)})),(0,i.h)("div",{class:"bs-select-container",id:this.dataModel},[(0,i.h)(r.A,Object.assign(Object.assign(Object.assign({class:["bs-select",this.getClasses({"bs-select--flat":this.flat,"bs-select--flat__default-option-showing":this.flat&&-1===parseInt(this.componentValue),"bs-select--large":this.large,"bs-select--fit-avatar":this.fitAvatar})],ref:this.setBsSelectRef},this.getRenderProps(o)),(0,m.J)(this.getListeners({blur:()=>this.validate(this.componentValue)}))),this.getAttributes(void 0,!0)),Object.assign(Object.assign({}
1,this.getSlots(a)),{default:()=>[(0,c.N)(this,"default")]}))])}});o.d(t,["A",0,g])},54172(e,t,o){"use strict";var i=o(89221),r=o(96178),a=o(6338),n=o(64527),s=o(79866),l=o(83063),d=o(47191),c=o(96839),u=o(61412),p=o(96262);const v=(0,i.pM)({name:"BsSelectBtn",emits:["input","update:modelValue","clickBtn","clickItem"],props:Object.assign(Object.assign({},l.t2),{dense:{type:Boolean,default:!1}}),setup(e,{emit:t}){const{ref:o,set:r}=(0,p.r)(),a=(0,d.P)(),n=(0,l.Es)({vm:a,props:e,emit:t,autoSaveMethod:"input",isComponentValid:e=>null!==e&&""!==e&&void 0!==e&&e>-1}),s=(0,i.EW)(()=>n.hasErrors.value?"imp-bs-r-l":a.$attrs["bg-color"]||"white");return Object.assign(Object.assign({bsSelectBtn:o,setBsSelectBtnRef:r},n),{backgroundColor:s})},methods:{renderOptions(e){if(-1!==e.opt.value)return(0,i.h)(a.A,Object.assign({class:"bs-select-btn-option"},e.itemProps),{default:()=>[(0,i.h)(n.A,{onClick:t=>{"function"===typeof e.opt.onClick&&e.opt.onClick(e.opt.value),this.$emit("clickItem",e.opt.value),t.stopPropagation(),t.preventDefault()}},{default:()=>[(0,i.h)(s.A,null,{default:()=>[e.opt.label]})]})]})},renderSelectedItem(e){return(0,i.h)(a.A,{class:"bs-selected-option",clickable:!1,dense:!0},{default:()=>[(0,i.h)(n.A,{onClick:t=>{"function"===typeof e.opt.onClick&&e.opt.onClick(e.opt.value),this.$emit("clickBtn",e.opt.value),t.stopPropagation(),t.preventDefault()}},{default:()=>[(0,i.h)(s.A,null,{default:()=>[e.opt.label]})]})]})}},render(){const e={mapOptions:void 0===this.$attrs["map-options"]||this.$attrs["map-options"],emitValue:void 0===this.$attrs["emit-value"]||this.$attrs["emit-value"],dropdownIcon:"app:arrow-down",popupContentClass:"bs-select-btn-options",stackLabel:!0,borderless:!0,bottomSlots:!0,noErrorIcon:!0,filled:!this.hasErrors,outlined:this.hasErrors,bgColor:this.backgroundColor};let t={"selected-item":e=>this.renderSelectedItem(e)};return void 0===this.$slots.option&&(t=Object.assign(Object.assign({},t),{option:e=>this.renderOptions(e)})),(0,i.h)(r.A,Object.assign(Object.assign(Object.assign({class:["bs-select-btn",this.getClasses({"bs-select-btn--dense":this.dense})],ref:this.setBsSelectBtnRef},this.getRenderProps(e)),(0,u.J)(this.getListeners({blur:()=>this.validate(this.componentValue)}))),this.getAttributes()),Object.assign(Object.assign({},this.getSlots(t)),{default:()=>[(0,c.N)(this,"default")]}))}});o.d(t,["A",0,v])},37793(e,t,o){"use strict";var i=o(89221),r=o(24470),a=o(7978),n=o(83063),s=o(47191),l=o(61412);const d=(0,i.pM)({name:"BsShareBtn",props:Object.assign(Object.assign({},n.t2),{url:{type:String,default:void 0},pinterestQuery:{type:String,default:""},facebook:{type:Boolean,default:!1},twitter:{type:Boolean,default:!1},pinterest:{type:Boolean,default:!1}}),setup(e,{emit:t}){const o=(0,n.Es)({vm:(0,s.P)(),props:e,emit:t}),r=(0,i.EW)(()=>e.pinterest?{icon:"fab fa-pinterest",shareLink:`https://www.pinterest.com/pin/create/button/?url=${encodeURIComponent(e.url)}${e.pinterestQuery}`,color:"bs-pinterest-r"}:e.twitter?{icon:"app:x",shareLink:`https://x.com/intent/post?url=${encodeURIComponent(e.url)}`,color:"bs-x-b"}:{icon:"fab fa-facebook",shareLink:`https://www.facebook.com/sharer/sharer.php?u=${encodeURIComponent(e.url)}&amp;src=sdkpreparse`,color:"bs-fb-b"});return Object.assign(Object.assign({},o),{btnData:r})},methods:{renderIcon(){return(0,i.h)(a.A,{name:this.btnData.icon,size:"1.375rem"})}},render(){return(0,i.h)(r.A,Object.assign(Object.assign(Object.assign({class:"bs-share-btn"},this.getRenderProps({type:"a",color:this.btnData.color,unelevated:!0})),this.getAttributes({href:this.btnData.shareLink,target:"_blank"})),(0,l.J)(this.getListeners())),{default:()=>[this.renderIcon(),this.slot(this,"default")]})}});o.d(t,["A",0,d])},46113(e,t,o){"use strict";var i=o(89221),r=o(24470),a=o(7978),n=o(65732),s=o(83063),l=o(47191),d=function(e,t){var o={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(o[i]=e[i]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(o[i[r]]=e[i[r]])}return o};const c=n.jGy.ARCS.REVIEWS,u=(0,i.pM)({name:"BsSiteBtn",inheritAttrs:!1,props:Object.assign(Object.assign({},s.t2),{site:{type:Number,default:void 0},reviewSite:{type:Object,default:void 0},book:{type:Object,default:void 0},normal:{type:Boolean,default:!1},delayed:{type:Boolean,default:!1},rejected:{type:Boolean,default:!1},exempt:{type:Boolean,default:!1},userOwnsArc:{type:Boolean,default:!1},newReviewOverride:{type:Boolean,default:!1}}),setup(e,{emit:t}){const o=(0,l.P)(),r=(0,s.Es)({vm:o,props:e,emit:t}),a=(0,i.EW)(()=>e.exempt||void 0!==e.reviewSite&&e.reviewSite.exempt),d=(0,i.EW)(()=>!a.value&&(e.rejected||void 0!==e.reviewSite&&e.reviewSite.status===c.SITE.STATUS.REJECTED)),u=(0,i.EW)(()=>!a.value&&(e.delayed||void 0!==e.reviewSite&&e.reviewSite.status===c.SITE.STATUS.DELAYED)),p=(0,i.EW)(()=>e.normal||!u.value&&!d.value&&!a.value),v=(0,i.EW)(()=>`app:${c.FLAG_ICONS[e.site]}`),m=(0,i.EW)(()=>{const t=c.FLAG_BOOK_KEYS_SITE[e.site];return e.site===c.FLAGS.AMAZON?e.book&&!(0,n.m88)(e.book[t])&&!(0,n.m88)(e.book.linkAmazonAsinPrint)&&e.userOwnsArc:e.site===c.FLAGS.AUDIBLE?e.book&&!(0,n.m88)(e.book.linkAudibleUs)&&!(0,n.m88)(e.book.linkAudibleUk):e.book&&!(0,n.m88)(e.book[t])&&e.userOwnsArc}),y=(0,i.EW)(()=>{var t;return e.userOwnsArc&&(e.newReviewOverride||(null===(t=e.reviewSite)||void 0===t?void 0:t.state)===c.SITE.STATE.NEW_LINK||!1)}),g=(0,i.EW)(()=>void 0===e.reviewSite||m.value),h=(0,i.EW)(()=>o.$attrs.href&&!d.value&&!u.value&&!a.value);return Object.assign(Object.assign({},r),{isExempt:a,isRejected:d,isDelayed:u,isNormal:p,getIcon:v,needsSiteLink:m,newReview:y,isIncomplete:g,shouldRenderLink:h,getHasReviewAvailable:()=>!!e.reviewSite.review})},methods:{renderIcon(){return(0,i.h)(a.A,{class:"font-size-20",name:this.getIcon})},renderText(){if(this.isNormal)return;const e=this.isDelayed?"Delayed":this.isExempt?"Exempt":"Rejected";return(0,i.h)("span",{class:"on-right bs-tag-s"},e)},renderBadge(){return(0,i.h)("span",{class:["bs-sb-badge",{"bs-sb-badge--new":this.newReview,"bs-sb-badge--slr":this.needsSiteLink}]})},emitClick(e){this.isIncomplete&&!this.needsSiteLink||(this.isRejected&&!this.isNormal?this.$emit("rejected-click",this.reviewSite):this.isDelayed&&!this.isNormal?this.$emit("delayed-click",this.reviewSite):this.isExempt&&!this.isNormal?this.$emit("exempt-click",this.reviewSite):this.needsSiteLink?(e.preventDefault(),this.$emit("add-site-link",e)):this.$emit("open-site-link",e))}},render(){var e;const t=`bsSiteBtn_${c.FLAG_DESCRIPTIONS[this.site].toLowerCase()}`,o=this.$attrs,{href:a,target:n,rel:s}=o,l=d(o,["href","target","rel"]),u=[this.renderBadge(),this.renderIcon(),this.renderText(),this.slot(this,"default")];return(0,i.h)(this.shouldRenderLink?"a":r.A,Object.assign(Object.assign(Object.assign({},l),{class:[this.$attrs.class,"bs-site-btn border-radius flex q-pa-sm items-center relative-position",this.getClasses({"bs-site-btn__rejected":this.isRejected&&!this.isNormal,"bs-site-btn__delayed":this.isDelayed&&!this.isNormal,"bs-site-btn__exempt":this.isExempt&&!this.isNormal,"bs-site-btn__incomplete cursor-not-allowed":this.isIncomplete&&!this.needsSiteLink,"cursor-inherit":!this.isNormal})],flat:!0,onClick:this.emitClick,"data-cy":null!==(e=l["data-cy"])&&void 0!==e?e:t}),this.shouldRenderLink?{href:a,target:null!==n&&void 0!==n?n:"_blank",rel:null!==s&&void 0!==s?s:"noopener noreferrer"}:{}),this.shouldRenderLink?u:{default:()=>u})}});o.d(t,["A",0,u])},28332(e,t,o){"use strict";var i=o(89221),r=o(7869),a=o(83063),n=o(47191),s=o(61412);const l=(0,i.pM)({name:"BsSnippet",emits:["input"],props:Object.assign(Object.assign({},a.t2),{limit:{type:Number,default:void 0},text:{type:String,default:void 0},html:{type:Boolean,default:!1}}),setup(e,{emit:t}){const o=(0,a.Es)({vm:(0,n.P)(),props:e,emit:t}),i=(0,r.KR)(!1);return Object.assign(Object.assign({},o),{showing:i})},methods:{renderContent(){if(!this.text)return(0,i.h)("span","");const e=this.text.substring(0,this.showing?Number.MAX_SAFE_INTEGER:this.limit),t=[this.html?(0,i.h)("span",{innerHTML:e}):(0,i.h)("span",[e])];return this.text.length>this.limit&&t.push((0,i.h)("span",{class:"text-secondary text-bold text-underline cursor-pointer on-right-xs",onClick:()=>{this.showing=!this.showing}},[!1===this.showing?"(...)":"(^--)"])),t}},render(){return(0,i.h)("div",Object.assign({class:["bs-text-caption",this.getClasses()]},(0,s.i)(this.getListeners())),[this.renderContent()])}});o.d(t,["A",0,l])},47172(e,t,o){"use strict";var i=o(89221);const r=(0,i.pM)({name:"BsSpinner",render(){return(0,i.h)("div",{class:"bs-spinner"},[(0,i.h)("svg",{width:"30",height:"22",viewBox:"0 0 30 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[(0,i.h)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M28.5034 0.0329433L28.743 0.0487847C28.9332 0.0626821 29.1185 0.11897 29.2867 0.213943C29.4548 0.308916 29.602 0.440419 29.7185 0.599793C29.8351 0.759167 29.9183 0.942797 29.9628 1.13859C30.0072 1.33439 30.0119 1.53791 29.9765 1.73575C29.1964 6.09704 27.5199 9.40805 24.947 11.6688C22.5074 13.8125 19.6557 14.6661 16.3915 14.2305V20.812C16.3915 21.1271 16.2729 21.4292 16.0619 21.652C15.8509 21.8748 15.5647 22 15.2663 22H15.2592C14.9608 22 14.6746 21.8748 14.4636 21.652C14.2526 21.4292 14.134 21.1271 14.134 20.812V14.1499C10.6493 14.7536 7.62259 13.9264 5.05302 11.6683C2.48012 9.40805 0.803604 6.09704 0.0234815 1.73575C-0.0107286 1.54461 -0.00752848 1.3481 0.0328862 1.15831C0.073301 0.968525 0.150074 0.789479 0.258481 0.632194C0.366888 0.47491 0.504636 0.342713 0.663245 0.243742C0.821853 0.144771 0.997967 0.0811185 1.18075 0.0567037L1.25701 0.0487847L1.49663 0.0329433C5.31598 -0.198057 8.47689 0.785785 10.9789 2.98447C13.0547 4.80872 14.3924 7.21904 14.9912 10.215L15.01 10.2106L15.0004 10.2599C15.5943 7.2428 16.9349 4.81752 19.021 2.98447C21.5231 0.785785 24.684 -0.198057 28.5034 0.0329433Z",fill:"currentColor"})])])}});o.d(t,["A",0,r])},79392(e,t,o){"use strict";var i=o(89221),r=o(7978),a=o(83063),n=o(47191),s=o(61412);const l=(0,i.pM)({name:"BsStatus",emits:["input"],props:Object.assign(Object.assign({},a.t2),{borderColor:{type:String,default:void 0},round:{type:Boolean,default:!1},active:{type:Boolean,default:!1},draft:{type:Boolean,default:!1},finished:{type:Boolean,default:!1},scheduled:{type:Boolean,default:!1}}),setup(e,{emit:t}){const o=(0,a.Es)({vm:(0,n.P)(),props:e,emit:t}),r=(0,i.EW)(()=>e.active?"Active":e.draft?"Draft":e.finished?"Finished":e.scheduled?"Scheduled":e.round?void 0:"Unknown"),s=(0,i.EW)(()=>e.active||e.draft?"nonexistant":e.finished?"icon-check":e.scheduled?"icon-clock":e.round?void 0:"Unknown");return Object.assign(Object.assign({},o),{status:r,icon:s})},render(){return(0,i.h)("div",Object.assign({class:["bs-status",this.getClasses({"bs-status--round":this.round,"bs-status--active":this.active,"bs-status--draft":this.draft,"bs-status--finished":this.finished,"bs-status--scheduled":this.scheduled})],style:void 0===this.borderColor?void 0:"border-color: "+this.borderColor},(0,s.i)(this.getListeners())),[(0,i.h)(r.A,{name:this.icon}),(0,i.h)("span",[this.status,this.slot(this,"default")])])}});o.d(t,["A",0,l])},1980(e,t,o){"use strict";o.d(t,{A:()=>g});var i=o(89221),r=o(7869),a=o(33498),n=o(20819),s=o(59356),l=o(66226),d=o(83063),c=o(83694),u=o(47191),p=o(65732),v=o(92840),m=o(96262),y=function(e,t,o,i){function r(e){return e instanceof o?e:ne
1w o(function(t){t(e)})}return new(o||(o=Promise))(function(o,a){function n(e){try{l(i.next(e))}catch(e){a(e)}}function s(e){try{l(i["throw"](e))}catch(e){a(e)}}function l(e){e.done?o(e.value):r(e.value).then(n,s)}l((i=i.apply(e,t||[])).next())})};const g=(0,i.pM)({name:"BsTabStepper",emits:["input","update:modelValue","done","return"],props:Object.assign(Object.assign({},d.t2),{value:{type:Number,default:void 0},tabs:{type:Array,default:void 0},pad:{type:Array,default:void 0},doneLabel:{type:String,default:void 0},returnLabel:{type:String,default:void 0},returnTo:{type:[String,Function],default:void 0},requiredFieldGuardSubject:{type:String,default:void 0},doBeforeNext:{type:Function,default:void 0},hideNext:{type:Boolean},hideActions:{type:Boolean},disableNext:{type:Boolean},useSlotKey:{type:Boolean},guardRequiredFields:{type:Boolean},showRequiredFieldBanner:{type:Boolean}}),setup(e,{emit:t}){const{ref:o,set:a}=(0,m.r)(),{ref:n,set:s}=(0,m.r)(),l=(0,u.P)(),c=(0,d.Es)({vm:l,props:e,emit:t,value:()=>e.value}),v=(0,i.EW)(()=>c.componentValue.value),y=(0,r.KR)(!1),g=(0,r.KR)(!1),h=(0,r.KR)([]),f=(0,i.EW)(()=>{const t=100/e.tabs.length*v.value;return`${t}%`}),b=(0,i.EW)(()=>v.value<e.tabs.length?v.value+1:e.tabs.length),w=(0,i.EW)(()=>v.value>1?v.value-1:v.value),A=(0,i.EW)(()=>e.guardRequiredFields&&y.value),D=(0,i.EW)(()=>!1!==e.showRequiredFieldBanner&&A.value),R=(0,i.EW)(()=>(0,p.m88)(e.requiredFieldGuardSubject)?e.requiredFieldGuardSubject:"item"),k=l;return(0,i.sV)(()=>{k.scheduleRequiredFieldSync()}),(0,i.$u)(()=>{k.scheduleRequiredFieldSync()}),(0,i.xo)(()=>{k.clearRequiredFieldListeners()}),Object.assign(Object.assign({bsForm:o,setBsFormRef:a,bsStepperTabPanels:n,setBsStepperTabPanelsRef:s},c),{currentStep:v,hasMissingRequiredFields:y,isSyncingRequiredFields:g,requiredFieldListeners:h,loadingWidth:f,nextStep:b,previousStep:w,hasBlockingRequiredFields:A,shouldShowRequiredFieldBanner:D,requiredFieldGuardSubjectLabel:R})},methods:{getSlot(e){return this.useSlotKey?this.$slots[e.slotKey]:this.$slots[this.currentStep]},updateUrl(e){(0,p.Zu3)(e)},previous(){var e;this.currentStep===this.previousStep?void 0!==this.returnTo?"function"===typeof this.returnTo?this.returnTo():this.$router.push(this.returnTo):this.$emit("return"):(this.updateUrl(this.previousStep),null===(e=this.bsStepperTabPanels)||void 0===e||e.previous())},validateForm(){return y(this,void 0,void 0,function*(){var e,t;const o=null===(t=yield null===(e=this.getCurrentFormRef())||void 0===e?void 0:e.validateForm())||void 0===t||t,i=this.validateRequiredFieldGuard();return o&&i})},submitForm(){this.next().catch(()=>{})},next(){return y(this,void 0,void 0,function*(){var e,t,o;if(this.disableNext)return;const i=null===(t=yield null===(e=this.getCurrentFormRef())||void 0===e?void 0:e.validateForm())||void 0===t||t;if(i&&(!this.guardRequiredFields||this.validateRequiredFieldGuard())&&("function"!==typeof this.doBeforeNext||(yield this.doBeforeNext()))){const e=this.nextStep===this.currentStep;e?this.$emit("done"):(this.updateUrl(this.nextStep),null===(o=this.bsStepperTabPanels)||void 0===o||o.next())}})},getCurrentFormRef(){const e=Array.isArray(this.bsForm)?this.bsForm:[this.bsForm];return e.find(e=>this.getFormStepValue(e)===this.currentStep)||e.find(e=>void 0!==e)},getFormStepValue(e){var t,o,i,r,a,n,s;return(null===(i=null===(o=null===(t=null===e||void 0===e?void 0:e.$parent)||void 0===t?void 0:t.$options)||void 0===o?void 0:o.propsData)||void 0===i?void 0:i.name)||(null===(s=null===(n=null===(a=null===(r=null===e||void 0===e?void 0:e.$parent)||void 0===r?void 0:r.$)||void 0===a?void 0:a.vnode)||void 0===n?void 0:n.props)||void 0===s?void 0:s.name)},getTrackedRequiredComponents(e=(0,v.d)(this.getCurrentFormRef()),t=new Set){const o=[];for(const i of e){if(this.isTrackedRequiredComponent(i)){const e=this.getRequiredComponentTrackingKey(i);t.has(e)||(t.add(e),o.push(i))}const e=(0,v.d)(i);e.length>0&&o.push(...this.getTrackedRequiredComponents(e,t))}return o},getMissingRequiredComponents(e=this.getTrackedRequiredComponents()){return e.filter(e=>this.isMissingRequiredValue(e))},getComponentModelExpression(e){var t;return e.dataModel||(null===(t=e.$attrs)||void 0===t?void 0:t["data-model"])},getRequiredComponentTrackingKey(e){var t;const o="function"===typeof e.requiredFieldTrackingKey?e.requiredFieldTrackingKey():void 0;return this.getComponentModelExpression(e)||o||`required-component-${null===(t=e.$)||void 0===t?void 0:t.uid}`},getComponentValue(e){var t,o;if(void 0!==e.componentValue)return e.componentValue;const i={value:null===(t=e.$attrs)||void 0===t?void 0:t.value};return void 0!==(null===i||void 0===i?void 0:i.value)?i.value:null===(o=e.$attrs)||void 0===o?void 0:o.value},isMissingRequiredValue(e){if("function"===typeof e.isRequiredValueMissing)return e.isRequiredValueMissing();const t=this.getComponentValue(e);return!("number"!==typeof t||!isNaN(t))||(Array.isArray(t)?0===t.length:"function"===typeof e.isComponentIsValid?!e.isComponentIsValid(t):null===t||""===t||void 0===t)},hasRequiredFlag(e){var t;const o=null===(t=e.$attrs)||void 0===t?void 0:t.required;return!0===e.required||""===o||!0===o||"true"===o},isTrackedRequiredComponent(e){var t;const o=null===(t=e.$attrs)||void 0===t?void 0:t.disable;return this.hasRequiredFlag(e)&&!0!==o&&("function"===typeof e.validate&&void 0!==this.getComponentModelExpression(e)||"function"===typeof e.isRequiredValueMissing)&&"true"!==o},setRequiredComponentError(e,t){"function"!==typeof e.setRequiredFieldError?(e.componentState=d.nl.Invalid,e.errorMessage=t):e.setRequiredFieldError(t)},clearRequiredComponentError(e){"function"===typeof e.clearRequiredFieldError&&e.clearRequiredFieldError()},validateRequiredFieldGuard(){if(!this.guardRequiredFields)return!0;const e=this.getTrackedRequiredComponents(),t=this.getMissingRequiredComponents(e);this.hasMissingRequiredFields=t.length>0;for(const o of e)t.includes(o)||this.clearRequiredComponentError(o);for(const e of t)this.setRequiredComponentError(e,this.$tc("system.labels.requiredField"));return 0===t.length},clearRequiredFieldListeners(){for(const{stop:e}of this.requiredFieldListeners)e();this.requiredFieldListeners=[]},syncRequiredFieldState(){if(!this.guardRequiredFields)return this.hasMissingRequiredFields=!1,void this.clearRequiredFieldListeners();const e=this.getTrackedRequiredComponents(),t=this.getMissingRequiredComponents(e);this.clearRequiredFieldListeners();for(const t of e){const e=(0,i.wB)(()=>this.isMissingRequiredValue(t),()=>this.scheduleRequiredFieldSync());this.requiredFieldListeners.push({component:t,stop:e})}for(const o of e)t.includes(o)||this.clearRequiredComponentError(o);this.hasMissingRequiredFields=t.length>0},scheduleRequiredFieldSync(){this.guardRequiredFields&&!this.isSyncingRequiredFields&&(this.isSyncingRequiredFields=!0,this.$nextTick(()=>{this.isSyncingRequiredFields=!1,this.syncRequiredFieldState()}))},scrollToFirstMissingRequiredField(){const e=this.getMissingRequiredComponents(),t=e[0];if(void 0!==t){for(const t of e)this.setRequiredComponentError(t,this.$tc("system.labels.requiredField"));this.hasMissingRequiredFields=!0,this.$nextTick(()=>{const e=t.$el;if("function"===typeof t.scrollToRequiredField)t.scrollToRequiredField();else if(null===e||void 0===e||e.scrollIntoView({behavior:"smooth",block:"center"}),"function"===typeof t.focus)t.focus();else{const t=null===e||void 0===e?void 0:e.querySelector("input, textarea, button, [tabindex]");null===t||void 0===t||t.focus()}})}},renderLoadingBar(){return(0,i.h)("div",{class:"bs-stepper__loading-bar"},[(0,i.h)("div",{class:"bs-stepper__loading-bar--progress",style:{width:this.loadingWidth}})])},renderRequiredFieldBanner(){if(this.shouldShowRequiredFieldBanner)return(0,i.h)(a.A,{class:"bs-stepper__required-banner bg-bs-r-l text-bs-b",rounded:!0},{default:()=>[(0,i.h)("span",[this.$t("system.labels.requiredFieldBannerStart",[this.requiredFieldGuardSubjectLabel]).toString(),(0,i.h)(l.Wt,{class:"text-bs-g",asLink:!0,onClick:()=>this.scrollToFirstMissingRequiredField()},{default:()=>this.$t("system.actions.updateIt").toString()}),this.$t("system.labels.requiredFieldBannerEnd").toString()])]})},renderContent(){const e=[];for(const t of this.tabs){const o=this.getSlot(t);e.push((0,i.h)(s.A,{class:"bs-stepper__content",name:t.value,disable:t.disable},{default:()=>[(0,i.h)(l.OM,{ref:this.setBsFormRef,onSubmit:()=>
1this.submitForm()},{default:()=>["function"===typeof o?o():void 0,this.renderActions()]})]}))}return(0,i.h)(n.A,{modelValue:this.currentStep,"onUpdate:modelValue":e=>(0,c.d)(this,e),ref:this.setBsStepperTabPanelsRef},{default:()=>e})},renderDefaultActions(){const e=this.previousStep,t=this.nextStep,o=this.tabs.find(e=>e.value===this.currentStep),r=this.tabs.filter(e=>e.hidden||e.disable).length,a=t===this.currentStep;if(void 0!==o){let n=r>0?(e-r).toString():e.toString(),s=r>0?(t-r).toString():t.toString();n=(0,p.m88)(o.previousLabel)?o.previousLabel:`Step ${n}`,s=(0,p.m88)(o.nextLabel)?o.nextLabel:`Step ${s}`;const d=[],c=e===this.currentStep&&void 0!==this.returnLabel?this.returnLabel:n;if(d.push((0,i.h)(l.Wt,{class:["bs-stepper__actions-default--left text-bs-g",{invisible:e===this.currentStep&&void 0===this.returnLabel}],flat:!0,icon:"app:arrow-left",onClick:()=>"function"===typeof o.previousAction?o.previousAction():this.previous(),"data-model":`stepper_action_${c}`},{default:()=>[(0,i.h)("span",{class:"on-right"},c)]})),d.push((0,i.h)("div",{class:"bs-stepper__actions-hint"},[o.actionHint,this.slot(this,"actionsHint")])),!this.hideNext&&!o.hideNext){const e="function"===typeof o.nextAction?{onClick:()=>{void 0!==o.nextAction&&o.nextAction()}}:void 0,t=a?this.doneLabel||"Finish":s;d.push((0,i.h)(l.Wt,Object.assign(Object.assign({class:"bs-stepper__actions-default--right text-bs-g",disable:this.shouldShowRequiredFieldBanner||this.disableNext,flat:!0,type:"function"===typeof o.nextAction?void 0:"submit",iconRight:a?void 0:"app:arrow-right-alt"},e),{"data-model":t}),{default:()=>[(0,i.h)("span",{class:"on-left"},t)]}))}return[(0,i.h)("div",{class:"row justify-between items-center"},d)]}},renderActions(){const e=void 0===this.$slots.actions&&!1===this.hideActions;return(0,i.h)("div",{class:["bs-stepper__actions",{"bs-stepper__actions-default":e}]},[e?this.renderDefaultActions():this.slot(this,"actions")])}},render(){return(0,i.h)("div",{class:"bs-stepper"},[this.renderLoadingBar(),(0,i.h)("div",{class:[{"q-pa-md":this.pad}]},[this.slot(this,"default"),this.slot(this,"banner"),this.renderRequiredFieldBanner(),this.renderContent()])])}})},33888(e,t,o){"use strict";var i=o(89221),r=o(65732),a=o(83063),n=o(47191);const s=(0,i.pM)({name:"BsTabStepperTitle",props:Object.assign(Object.assign({},a.t2),{title:{type:String,default:void 0},description:{type:String,default:void 0},hint:{type:String,default:void 0}}),setup(e,{emit:t}){return Object.assign({},(0,a.Es)({vm:(0,n.P)(),props:e,emit:t}))},methods:{renderTitle(){if((0,r.m88)(this.title))return(0,i.h)("h1",{class:"bs-stepper-title__title",innerHTML:this.title})},renderDescription(){if((0,r.m88)(this.description))return(0,i.h)("div",{class:"bs-stepper-title__description",innerHTML:this.description})},renderHint(){if((0,r.m88)(this.hint))return(0,i.h)("div",{class:"bs-stepper-title__hint",innerHTML:this.hint})},renderTitleContainer(){return(0,i.h)("div",{class:"bs-stepper-title__content"},[this.renderTitle(),this.renderDescription(),this.renderHint()].filter(e=>void 0!==e))}},render(){return(0,i.h)("div",{class:"bs-stepper-title"},[this.renderTitleContainer(),(0,i.h)("div",{class:"bs-stepper-title__actions"},this.slot(this,"default"))])}});o.d(t,["A",0,s])},68668(e,t,o){"use strict";o.d(t,{A:()=>u});var i=o(89221),r=o(7978),a=o(66226),n=o(83694),s=o(83063),l=o(47191),d=o(96262),c=function(e,t,o,i){function r(e){return e instanceof o?e:new o(function(t){t(e)})}return new(o||(o=Promise))(function(o,a){function n(e){try{l(i.next(e))}catch(e){a(e)}}function s(e){try{l(i["throw"](e))}catch(e){a(e)}}function l(e){e.done?o(e.value):r(e.value).then(n,s)}l((i=i.apply(e,t||[])).next())})};const u=(0,i.pM)({name:"BsTabbedLayout",emits:["input","update:modelValue","done","return"],props:Object.assign(Object.assign({},s.t2),{value:{type:Number,default:void 0},tabs:{type:Array,default:void 0},title:{type:String,default:void 0},nextStepNavigationOnly:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},blockForwardNavigation:{type:Boolean,default:!1},stepTitle:{type:String,default:void 0}}),setup(e,{emit:t}){const{ref:o,set:r}=(0,d.r)(),a=(0,l.P)(),n=(0,s.Es)({vm:a,props:e,emit:t,value:()=>e.value}),c=(0,i.EW)(()=>n.componentValue.value);return Object.assign({bsTabStepper:o,setBsTabStepperRef:r,currentStep:c},n)},methods:{renderHeader(){return(0,i.h)("h2",{class:"bs-h4 bs-tabbed-layout__header"},[this.title])},onTabClick(e){return c(this,void 0,void 0,function*(){var t,o;if(this.disabled)return;const i=this.tabs.find(e=>e.value===this.currentStep);let r=!(this.blockForwardNavigation&&e.value>this.currentStep)&&(!this.nextStepNavigationOnly||e.value<=this.currentStep+1||(null===i||void 0===i?void 0:i.stepComplete));if(!r&&this.nextStepNavigationOnly&&e.value>this.currentStep+1&&!(this.blockForwardNavigation&&e.value>this.currentStep)&&(r=!!(yield null===(t=this.bsTabStepper)||void 0===t?void 0:t.validateForm())),r){const t=this.currentStep<e.value;let i=!0;if(t&&(i=yield null===(o=this.bsTabStepper)||void 0===o?void 0:o.validateForm()),i||!t){if(history.pushState){const t=window.location.href.indexOf("#"),o=-1===t?window.location.href:window.location.href.substr(0,window.location.href.indexOf("#"));history.pushState(null,"",o+`#${e.value}`)}(0,n.d)(this,e.value)}}})},renderTab(e){const t=e.value<this.currentStep,o=e.value===this.currentStep,r=e.value===this.currentStep+1;return e.hidden?void 0:(0,i.h)(a.Iy,{class:["bs-tabbed-layout__tab",{"bs-tabbed-layout__tab--past":t,"bs-tabbed-layout__tab--active":o,"bs-tabbed-layout__tab--future":!1===t&&!o,"bs-tabbed-layout__tab--next-option":r,"bs-tabbed-layout__tab--is-edit":e.isEditMode,"cursor-pointer":e.stepComplete}],onClick:()=>this.onTabClick(e)},{default:()=>[this.renderIcon(e,t,o),(0,i.h)("span",e.label)]})},renderIcon(e,t,o){return!1!==e.stepComplete?(0,i.h)("div",{class:"bs-tabbed-layout__tab-count"},[(0,i.h)(r.A,{name:"app:check-filled",color:"bs-g",size:"1.375rem"})]):(0,i.h)("div",{class:"bs-tabbed-layout__tab-count"},[(0,i.h)(r.A,{name:o?"app:active":t?"app:check-filled":"app:inactive",color:o||!t?"bs-grey-m":"bs-g",size:"1.375rem"})])},renderTabs(){const e=[];for(const t of this.tabs)e.push(this.renderTab(t));return(0,i.h)("div",{class:"bs-tabbed-layout__tabs"},[e])},renderContent(){return(0,i.h)("div",{class:"bs-tabbed-layout__content"},[this.renderTabs(),(0,i.h)("div",{class:"bs-tabbed-layout__inner"},[this.stepTitle&&(0,i.h)("h1",{class:"bs-h2"},this.stepTitle),(0,i.h)(a.e3,Object.assign(Object.assign({ref:this.setBsTabStepperRef,value:this.currentStep,tabs:this.tabs},this.$attrs),{onInput:e=>(0,n.d)(this,e),onDone:e=>this.$emit("done",e),onReturn:()=>this.$emit("return")}),Object.assign(Object.assign({},this.$slots),{default:()=>this.slot(this,"default")}))])])}},created(){const e=this.$route.hash;void 0!==e&&""!==e&&(0,n.d)(this,parseInt(e.replace("#","")))},render(){return(0,i.h)("div",{class:["bs-tabbed-layout",{"bs-tabbed-layout--next-only":this.nextStepNavigationOnly,"bs-tabbed-layout--disabled":this.disabled}]},[this.renderHeader(),this.renderContent()])}})},87608(e,t,o){"use strict";var i=o(89221),r=o(41814);const a=(0,i.pM)({name:"BsTag",props:{label:{type:String,default:void 0},icon:{type:String,default:void 0},textColor:{type:String,default:void 0}},render(){return(0,i.h)(r.A,{class:"bs-tag",label:this.label,icon:this.icon,square:!0,size:"8px",textColor:this.textColor})}});
1o.d(t,["A",0,a])},31308(e,t,o){"use strict";var i=o(89221),r=o(83063),a=o(53568),n=o(47191),s=o(83694);const l=(0,i.pM)({name:"BsToggle",emits:["input","update:modelValue"],props:Object.assign(Object.assign({},r.t2),{value:{type:[String,Number],default:void 0,validator:e=>"string"===typeof e||"number"===typeof e||null===e},options:{type:Array,default:void 0},evenSpacing:{type:Boolean,default:!0},toggleWrapperClass:{type:String,default:void 0},toggleClass:{type:String,default:void 0},navigable:{type:Boolean,default:!1}}),setup(e,{emit:t}){const o=(0,n.P)();return Object.assign({},(0,r.Es)({vm:o,props:e,emit:t,value:()=>e.value,autoSaveMethod:""}))},methods:{updateUrl(e){if(this.navigable&&history.pushState&&void 0!==e){const t=window.location.href.indexOf("#"),o=-1===t?window.location.href:window.location.href.substr(0,window.location.href.indexOf("#"));history.pushState(null,"",o+`#${e}`)}},renderOption(e){return(0,i.h)("div",Object.assign({class:["bs-toggle__option col",[{"bs-toggle__option--active":this.value===e.value,"bs-toggle__option--even-spacing":this.evenSpacing,"bs-toggle__option--disabled":e.disable}]],onClick:()=>{e.disable||((0,s.d)(this,e.value),this.updateUrl(e.value),this.doAutoSave())}},this.getAttributes()),[e.label])},renderOptions(){return this.options.map(e=>this.renderOption(e))},renderToggle(){return(0,i.h)("div",{class:["bs-toggle row",this.toggleClass]},this.renderOptions())},renderContainer(){return(0,i.h)("div",{class:["full-width",this.toggleWrapperClass]},[this.renderToggle()])}},mounted(){if(this.navigable){const e=this.$route.hash;void 0!==e&&""!==e&&(0,s.d)(this,parseInt(e.replace("#","")))}},render(){return(0,a.g)(this,"bs-toggle__container",this.renderContainer())}});o.d(t,["A",0,l])},17384(e,t,o){"use strict";var i=o(89221),r=o(90048),a=o(92820),n=o(83063),s=o(47191),l=o(61412);const d=(0,i.pM)({name:"BsTooltip",props:Object.assign(Object.assign({},n.t2),{text:{type:String,default:void 0},tooltipOffset:{type:Array,default:void 0},tooltipOffsetY:{type:Number,default:void 0},tooltipAnchor:{type:String,default:void 0},tooltipSelf:{type:String,default:void 0},tooltipHideDelay:{type:Number,default:void 0},tooltipWithPointerEvents:{type:Boolean,default:!1}}),setup(e,{emit:t}){return Object.assign({},(0,n.Es)({vm:(0,s.P)(),props:e,emit:t}))},methods:{renderTooltip(){return(0,i.h)(r.A,{class:{"bs-tooltip__tip":!0,"bs-tooltip__tip--with-pointer-events":this.tooltipWithPointerEvents},offset:this.tooltipOffset||[-4,(this.tooltipOffsetY||0)+30],anchor:this.tooltipAnchor||"bottom left",self:this.tooltipSelf||"center left",hideDelay:this.tooltipHideDelay},{default:()=>[this.text,this.slot(this,"default")].filter(e=>void 0!==e)})}},render(){const e={icon:"app:question-circle",size:".9375rem",color:"transparent",textColor:"bs-g",iconOnly:!0},t={default:()=>this.renderTooltip()};return(0,i.h)(a.Ay,Object.assign(Object.assign({class:"bs-tooltip"},this.getRenderProps(e)),(0,l.J)(this.getListeners())),this.getSlots(t))}});o.d(t,["A",0,d])},70819(e,t,o){"use strict";o.d(t,{YF:()=>r,mU:()=>i});class i{constructor(e,t,o,i){this.value=e,this.label=t,this.avatar=o,this.disable=i}}class r{constructor(e,t){this.value=e,this.label=t,this.hidden=!1,this.disable=!1,this.previousLabel="",this.nextLabel="",this.hideNext=!1,this.actionHint="",this.isEditMode=!1,this.slotKey="",this.stepComplete=void 0}}},58268(e,t,o){"use strict";o.d(t,{A:()=>s});var i=o(89221),r=o(62856),a=o(96839),n=o(66226);const s=(0,i.pM)({name:"BsUpgrade",props:{role:{type:String,required:!0},permissionName:{type:String,required:!0},params:{type:Object,default:void 0},inline:{type:Boolean,default:!1}},setup(){return Object.assign({},(0,r.c)())},methods:{renderTitle(){var e,t;const o=`system.permissions.${this.permissionName}.title`;if(!this.$te(o))return;const r=-1===(null===(e=this.params)||void 0===e?void 0:e.copyCountLimit)?this.$tc("system.labels.unlimited"):null===(t=this.params)||void 0===t?void 0:t.copyCountLimit;return(0,i.h)("strong",this.$t(o,{maxParticipantCount:r}).toString())},renderContent(e){var t;if(void 0===this.role)return[];const o=this.$tc(`system.labels.roles.author.${this.role}`),r=this.$t(`system.permissions.${this.permissionName}.explanation`,{planName:o.toLowerCase(),maxRunningArcsCount:null===(t=this.params)||void 0===t?void 0:t.maxRunningArcsCount}),s=this.authenticatedUser.permissionQuery.isOnPaidPlan?`/settings/billing/select-plan/${this.role}/month/upgrade`:"/settings/billing/select-plan";return e?(0,a.N)(this,"default"):[this.renderTitle(),(0,i.h)("span",r.toString()),(0,i.h)(n.Wt,{to:s,label:this.$t("system.actions.upgrade")})]}},render(){const e=this.hasTieredPermission(this.role);return(0,i.h)("div",{class:[e?"":"bs-upgrade",!e&&this.inline?"bs-upgrade__inline":""],"data-cy":e?void 0:this.permissionName},this.renderContent(e))}})},7330(e,t,o){"use strict";o.d(t,{A:()=>k});var i=o(89221),r=o(7869),a=o(82438),n=o(89514),s=o(7978),l=o(53472),d=o(80693),c=o(14270),u=o(28978),p=o(66226),v=o(65732),m=o(83063),y=o(47191),g=o(58183),h=o(61412),f=o(96262),b=o(83694),w=function(e,t){var o={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(o[i]=e[i]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(o[i[r]]=e[i[r]])}return o};const A=o(27909),D=1024*v.jGy.UPLOADS.MAX_SIZE_MB*1024,R=15728640,k=(0,i.pM)({name:"BsUpload",emits:["input","update:modelValue","click","done","failed","finish","parsed","remove","uploaded"],props:Object.assign(Object.assign({},m.t2),{value:{type:String,default:void 0},canReset:{type:Boolean,default:!0},autoUpload:{type:Boolean,default:!0},type:{type:String,default:void 0},label:{type:String,default:void 0},width:{type:Number,default:void 0},height:{type:Number,default:void 0},square:{type:Boolean},hidePreview:{type:Boolean},hintText:{type:String,default:void 0},parseCsv:{type:Boolean,default:!1},csvNoHeader:{type:Boolean,default:!1}}),setup(e,{emit:t}){const{ref:o,set:a}=(0,f.r)(),n=(0,y.P)(),s=(0,r.KR)(!1),l=(0,r.KR)(!1),d=(0,r.KR)(""),c=(0,r.KR)(!1),u=(0,r.KR)(`\n    <div><strong>Drag & Drop</strong> <br /> ${e.hintText||"a image file here"}</div>\n    <strong>OR</strong>\n  `),p=(0,i.EW)(()=>""!==e.value&&void 0!==e.value&&null!==e.value),g=(0,m.Es)({vm:n,props:e,emit:t,value:()=>e.value,isComponentValid:t=>""!==t&&void 0!==t&&null!==t||!1===e.autoUpload&&(0,v.m88)(d.value)}),{reset:h}=g,b=w(g,["reset"]);return Object.assign(Object.assign({bsUpload:o,setBsUploadRef:a},b),{hasFile:s,forceAllowDragAndDrop:l,fileName:d,isUploading:c,uploaderHtml:u,validValue:p})},methods:{reset(){const e=this.bsUpload;null===e||void 0===e||e.reset(),null===e||void 0===e||e.abort(),this.fileName="",this.hasFile=!1,this.isUploading=!1,(0,b.d)(this,"")},rejectFile(e,t){const o=this.bsUpload;null===o||void 0===o||o.reset(),null===o||void 0===o||o.abort(),this.fileName="",this.hasFile=!1,this.isUploading=!1,this.forceAllowDragAndDrop=!0,this.componentState=m.nl.Invalid,this.errorMessage=this.$tc("system.errors."+e,void 0,t)},filesAdded(e){if(this.isUploading=!0,this.$emit("begin-processing",e),e.length){const t=new FileReader,o=e[0];if(this.hasFile=!0!==this.autoUpload||"input"===this.type,this.fileName=o.name,o.size>D)return this.$q.loading.hide(),this.$emit("error-processing","file_size"),this.$emit("failed",this.$tc("system.errors.fileTooLarge",void 0,{size:v.jGy.UPLOADS.MAX_SIZE_MB})),void this.rejectFile("fileTooLarge",{size:v.jGy.UPLOADS.MAX_SIZE_MB});o.size>R?(this.$q.loading.hide(),this.$emit("error-processing","file_size")):(t.onload=t=>{if(this.$emit("done-processing",e),"input"!==this.type){const e=t.target.result;this.parseCsv&&this.$emit("parsed",A.parse(e,{header:!this.csvNoHeader,skipEmptyLines:!0})),(0,b.d)(this,e)}}
1,"input"===this.type||this.parseCsv?t.readAsText(o):t.readAsDataURL(o))}this.$emit("done-processing",e)},renderInputUpload(){return[(0,i.h)(s.A,{name:this.hasFile?"icon-check":"icon-options"}),(0,i.h)("div",{class:"bs-upload__file col",onClick:e=>this.bsUpload.pickFiles(e)},[this.fileName||this.$attrs.placeholder,this.renderDeleteFileButton()]),(0,i.h)(p.Wt,{class:"icon-bs-g",icon:"app:browse",iconOnly:!0,onClick:e=>this.bsUpload.pickFiles(e)})]},renderDeleteFileButton(){if(!1!==this.hasFile)return(0,i.h)(s.A,{class:"on-right",name:"cancel",onClick:e=>{e.preventDefault(),e.stopPropagation(),this.reset(),this.$emit("remove")}})},renderPreview(){if(!this.hidePreview)return(0,i.h)("div",{class:["bs-upload__before",[{"bs-upload__before--waiting":!this.hasFile,"bs-upload__before--has-file":this.hasFile,"bs-upload__before--has-image":this.validValue&&!this.hasFile}]]},[(0,i.h)(a.A,{style:{height:this.square?this.height+"px":void 0,width:this.square?this.width+"px":void 0},square:"img"===this.type||this.square},{default:()=>[(0,i.h)(l.A,{src:this.value||"/cdn/awaiting-image.png"})]})])},renderDragAndDropUpload(){return(0,i.h)("div",{class:"bs-upload__drag-drop-container"},[(0,i.h)("div",{class:"bs-upload__hint",innerHTML:"img"===this.type?void 0:this.uploaderHtml}),(0,i.h)(p.Wt,{secondary:!0,label:this.label||"Browse",onClick:e=>this.bsUpload.pickFiles(e)})])},renderResetFile(){if(!this.canReset)return;let e="";return"img"!==this.type&&(e="Remove Image"),"file"===this.type&&(e="Remove File"),(0,i.h)("div",{class:"bs-upload__existing-container"},[(0,i.h)(p.Wt,{secondary:!0,label:e,onClick:()=>{this.reset(),this.$emit("remove")}}),"img"!==this.type?void 0:(0,i.h)(p.Wt,{flat:!0,icon:"icon-check",onClick:()=>{this.$emit("done",this.value),this.hasFile=!1}})])},renderScopedSlots(){const e=[];"input"===this.type?e.push(this.renderInputUpload()):(e.push(this.renderPreview()),"img"===this.type&&this.validValue&&!this.hasFile||(this.forceAllowDragAndDrop||!this.hasFile&&!this.validValue?!1!==this.hasFile||void 0!==this.autoUpload&&this.validValue&&!this.forceAllowDragAndDrop||e.push(this.renderDragAndDropUpload()):e.push(this.renderResetFile())));const t={list:()=>(0,i.h)("div",{class:"bs-upload__content"},[e])};return t},upload(){return this.bsUpload.upload()},renderProgress(){return(0,i.h)(d.A,{showing:this.isUploading},{default:()=>[(0,i.h)(c.A,{color:"primary",size:"30px"})]})}},render(){this.value&&(this.hasFile="input"===this.type,this.fileName=this.value);const e={flat:!0,noThumbnails:!0,color:"transparent",multiple:!1,autoUpload:this.autoUpload},t=Object.assign({},this.renderScopedSlots()),o={added:this.filesAdded,factoryFailed:e=>{this.rejectFile(e)},failed:e=>{var t,o;if(null===this.bsUpload||void 0===this.bsUpload)return;let i;this.isUploading=!1;try{i=(null===(t=e.xhr)||void 0===t?void 0:t.response)?JSON.parse(e.xhr.response):{}}catch(t){console.error("failed to parse json",t,e.xhr.response),i={}}const r=(null===(o=i.message)||void 0===o?void 0:o.errorCode)?this.$tc("system.errors."+i.message.errorCode):i.message||this.$tc("system.errors."+("file"===this.type?"fileUploadFailed":"imageUploadFailed"));this.$emit("failed",r),(0,g.m)().ui.showMessageDialog({error:!0,message:r}),this.reset()},uploaded:e=>{this.$emit("uploaded",e)},finish:()=>{this.isUploading=!1,this.$emit("finish")}},r="input"===this.type,a="img"===this.type,s="file"===this.type;return(0,i.h)("div",{class:["bs-upload",this.getClasses({"bs-upload--input":r,"bs-upload--img":a,"bs-upload--inline":!r&&!a,"bs-upload--no-file":!this.hasFile,"bs-upload--has-file":this.hasFile,"bs-upload--square":this.square,"bs-upload--is-uploading":this.isUploading})],style:{height:a||s?this.height+"px":void 0,width:a||s?this.width+"px":void 0},"data-model":this.dataModel},[(0,i.h)(n.A,Object.assign({class:"bs-upload-q-field full-width"},this.getValidationProps({borderless:!0,bottomSlots:!0,noErrorIcon:!0,dense:!0,stackLabel:!0})),Object.assign(Object.assign({error:()=>this.renderErrorSlot()},this.renderAutoSaveMessage()),{default:()=>[(0,i.h)(u.A,Object.assign(Object.assign(Object.assign({class:"full-width",ref:this.setBsUploadRef},this.getRenderProps(e)),(0,h.J)(this.getListeners(o))),this.getAttributes()),this.get
1Slots(t)),this.isUploading?this.renderProgress():void 0]}))])}})},83063(e,t,o){"use strict";o.d(t,{Es:()=>y,nl:()=>i});var i,r=o(7869),a=o(89221),n=o(7978),s=o(40992),l=o(96839),d=o(92840),c=o(71391),u=function(e,t){var o={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(o[i]=e[i]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(o[i[r]]=e[i[r]])}return o};(function(e){e[e["Valid"]=0]="Valid",e[e["Invalid"]=1]="Invalid",e[e["AutoSaving"]=2]="AutoSaving",e[e["AutoSaved"]=3]="AutoSaved",e[e["Resetting"]=4]="Resetting"})(i||(i={}));const p=e=>{const t={};for(const o of Object.keys(e))o.startsWith("data-")||(t[o]=e[o]);return t},v={autoSave:{type:Function,default:void 0},triggerOnChange:{type:Boolean,default:!1},required:{type:Boolean,default:!1},validEmail:{type:Boolean,default:!1},validation:{type:Array,default:void 0},rules:{type:Array,default:void 0},validationResultTarget:{type:null,default:void 0},lazyValidation:{type:Boolean,default:!1},tkey:{type:String,default:void 0},dataModel:{type:String,default:void 0}},m=5e3;function y(e){var t;const{vm:o,props:v,emit:y}=e,g=null!==(t=e.autoSaveMethod)&&void 0!==t?t:"blur",h=(0,r.KR)(""),f=(0,r.KR)(""),b=(0,r.KR)(i.Valid),w=(0,r.KR)(!1),A=(0,r.KR)(!1);let D,R,k=[];const O=()=>o.$.uid,S=(0,a.EW)(()=>{var t,i;const r=null===(t=e.value)||void 0===t?void 0:t.call(e);return void 0!==r?r:null!==(i=o.$attrs.modelValue)&&void 0!==i?i:o.$attrs.value}),I=(0,a.EW)(()=>b.value===i.Invalid),T=e=>{0},E=t=>{var o;return(null!==(o=e.isComponentValid)&&void 0!==o?o:e=>null!==e&&""!==e&&void 0!==e)(t)},C=e=>{if(e&&"string"===typeof e&&(e=e.trim()),b.value===i.Resetting)return b.value=i.Valid,f.value="",!0;const t=!1===E(e);if(b.value=v.required&&t?i.Invalid:i.Valid,b.value===i.Invalid)return f.value=o.$tc("system.labels.requiredField"),!1;if(f.value="",v.validEmail&&!s.t(e))return b.value=i.Invalid,f.value=o.$tc("system.errors.invalidEmail"),!1;if(void 0!==v.validation)for(const t of v.validation){let r;try{r=t(e||S.value||"")}catch(e){console.error(`A validation rule on ${o.$options.name||"a bs component"} threw; treating the value as valid.`,e);continue}void 0!==r?(f.value=r.label,b.value=i.Invalid,void 0!==r.ref&&(R=r.ref,R.componentState=i.Invalid,R.errorMessage=r.label)):void 0!==R&&(R.componentState=i.Valid,R.errorMessage="")}if(void 0!==v.rules)for(const t of v.rules){if("function"!==typeof t)continue;let r;try{r=t(e||S.value||"")}catch(e){console.error(`A rule on ${o.$options.name||"a bs component"} threw; treating the value as valid.`,e);continue}if(!1===r||"string"===typeof r){f.value="string"===typeof r?r:o.$tc("system.errors.invalidValue"),b.value=i.Invalid;break}}return b.value===i.Valid},P=()=>{void 0!==v.autoSave&&b.value!==i.Invalid&&v.autoSave().then(()=>{f.value="",h.value=(0,c.Tl)("system.labels.changesSaved"),b.value=i.AutoSaved,setTimeout(()=>{h.value="",b.value=i.Valid},m)}).catch(e=>{f.value=e.message,b.value=i.Invalid})},j=t=>{var o;null===(o=e.doBeforeAutoSave)||void 0===o||o.call(e,t)},$=()=>{if(g&&b.value!==i.Invalid)return{[g]:t=>{if(j(t),C(S.value),b.value===i.Invalid)return void B(g,t);b.value=i.AutoSaving;let o=S.value,r=!1;!0===e.autoSaveAlways&&(o=t,r=!0),B(g,t),D===o&&!0!==r||(D=o,P())}}},L=()=>({hint:()=>(0,a.h)("span",h.value)}),N=()=>{if(void 0===v.validationResultTarget)return(0,a.h)("div",{class:"row nowrap bs-par-s-i"},[(0,a.h)(n.A,{class:"on-left",name:"app:error"}),(0,a.h)("span",{class:"col"},f.value)]);v.validationResultTarget.innerText=f.value},F=()=>Object.fromEntries(Object.entries(o.$attrs).filter(([e,t])=>/^on[A-Z]/.test(e)&&"function"===typeof t).map(([e,t])=>[e[2].toLowerCase()+e.slice(3),t])),B=(e,t)=>{"input"===e&&y("update:modelValue",t),y(e,t)},x=e=>{let t=Object.assign(Object.assign({},F()),e);const o=e=>{v.lazyValidation||C(e),B("input",e)};if(void 0===v.autoSave)t=Object.assign(Object.assign({},t),{input:o});else{const i=$();t=Object.assign(Object.assign({},t),i),void 0===(null===i||void 0===i?void 0:i.input)&&void 0===(null===e||void 0===e?void 0:e.input)&&(t=Object.assign(Object.assign({},t),{input:o}
1))}return t},U=e=>{let t=Object.assign(Object.assign({},o.$slots),e);return""!==h.value&&(t=Object.assign(Object.assign({},t),L())),b.value===i.Invalid&&(t=Object.assign(Object.assign({},t),{error:()=>N()})),t},_=(e,t=!1)=>{t||void 0===v.dataModel||(e=Object.assign(Object.assign({},e),{"data-model":v.dataModel}));const i=Object.assign({},e),{class:r,style:a}=i,n=u(i,["class","style"]);return Object.assign({placeholder:o.$attrs.placeholder,error:""!==f.value||null},n)},M=e=>{var t;return Object.assign(Object.assign({},e),{color:I.value?"imp-bs-r":(null===e||void 0===e?void 0:e.color)||(null===(t=o.$attrs)||void 0===t?void 0:t.color),error:I.value})},G=e=>{const t=e.$.vnode.props;if(!t)return{};const o=new Set(["ref","key","class","style"]),i=new Set(Object.keys(v).filter(e=>"value"!==e).flatMap(e=>[e,e.replace(/[A-Z]/g,e=>"-"+e.toLowerCase())]));return p(Object.fromEntries(Object.entries(t).filter(([e])=>!/^on[A-Z]/.test(e)&&!o.has(e)&&!i.has(e))))},q=e=>{const{value:t,onInput:o}=e,i=u(e,["value","onInput"]);return Object.assign(Object.assign(Object.assign({},i),void 0!==t&&void 0===i.modelValue?{modelValue:t}:{}),void 0!==o&&void 0===i["onUpdate:modelValue"]?{"onUpdate:modelValue":o}:{})},V=e=>{var t;const i=p(Object.assign({},null!==(t=o.$attrs)&&void 0!==t?t:{})),{class:r,style:a}=i,n=u(i,["class","style"]);return void 0!==v.tkey&&""!==v.tkey&&(n.label=o.$tc(v.tkey)),q(Object.assign(Object.assign(Object.assign({},G(o)),n),M(e)))},W=e=>[Object.assign({"bs-auto-saving":b.value===i.AutoSaved},e)],Y=(e,t,o=new Set)=>{var i,r,a,n;let s=!0;for(const l of e){if(o.has(l))continue;o.add(l);const e=(0,d.d)(l);e.length>0&&(s=Y(e,t,o)&&s);const c=null!==(a=null!==(i=l.componentValue)&&void 0!==i?i:null===(r=l.$attrs)||void 0===r?void 0:r.modelValue)&&void 0!==a?a:null===(n=l.$attrs)||void 0===n?void 0:n.value;if(t){if(void 0===l.validate)continue;const e=l.validate(c);s=s&&e;continue}if(!0!==l.required||void 0===l.isComponentIsValid)continue;const u=!0===l.isComponentIsValid(c);s=s&&u}return s},H=e=>Y(e,!0),K=(0,a.EW)(()=>Y((0,d.d)(o.$parent),!1)),z=()=>{b.value=i.Resetting,y("input",D)};return(0,a.wB)(S,(e,t)=>{const o=k.find(o=>{var i,r;return(null===(i=o[O()])||void 0===i?void 0:i.from)===t&&(null===(r=o[O()])||void 0===r?void 0:r.to)===e});o?k=[]:(v.lazyValidation||C(e),(w.value||v.triggerOnChange)&&void 0!==v.autoSave&&t!==e&&(A.value&&void 0===t||(O()&&k.push({[O()]:{from:t,to:e}}),P())))}),(0,a.wB)(f,e=>{!e&&v.validationResultTarget&&(v.validationResultTarget.innerText="")}),(0,a.sV)(()=>{D=S.value}),(0,a.$u)(()=>{void 0===D&&void 0!==S.value&&(D=S.value)}),{autoSaveMessage:h,errorMessage:f,componentState:b,forceTriggerOnChange:w,stopSaveOnFirstSet:A,componentValue:S,hasErrors:I,isFormValid:K,debug:T,slot:(e,t,o)=>(0,l.N)(e,t,o),isComponentIsValid:E,validate:C,validateComponentTree:H,doAutoSave:P,doBeforeAutoSave:j,getOnAutoSave:$,getListeners:x,getSlots:U,getAttributes:_,getValidationProps:M,getRenderProps:V,getClasses:W,reset:z,renderAutoSaveMessage:L,renderErrorSlot:N}}o.d(t,["t2",0,v])},96262(e,t,o){"use strict";o.d(t,{r:()=>r});var i=o(7869);function r(){const e=(0,i.KR)(null);return{ref:e,set:t=>{e.value=null!==t&&void 0!==t?t:null}}}},96839(e,t,o){"use strict";function i(e,t,o){return void 0!==e.$slots[t]?e.$slots[t]():o}o.d(t,{N:()=>i})},25954(e,t,o){"use strict";var i=o(27805);const r=e=>{const t={mounted:(t,o)=>{var r;if(""===o.value)return;const a=i.A.authenticatedUser,n=i.A.mimicUser,s=n||a,l=void 0!==o.arg&&s.permissionQuery.can(o.arg,o.value,e);l||null===(r=t.parentElement)||void 0===r||r.removeChild(t)}};return t};o.d(t,["e",0,r])},79178(e,t,o){"use strict";const i={"app:active":"#bs-active","app:active-arcs":"#bs-active-arcs","app:all-authors":"#bs-all-authors","app:amazon":"#bs-amazon","app:amazon-original":"#bs-amazon-original","app:american-express":"#bs-american-express","app:apple":"#bs-apple","app:arcs":"#bs-arcs","app:arrow-down":"#bs-arrow-down","app:arrow-left":"#bs-arrow-left","app:arrow-left-slim":"#bs-arrow-left-slim","app:arrow-right":"#bs-arrow-right","app:arrow-right-slim":"#bs-arrow-right-slim","app:arrow-right-alt":"#bs-arrow-right-alt","app:arrow-up":"#bs-arrow-up","app:audible":"#bs-audible","app:audiobook":"#bs-audiobook","app:audiobook-alt":"#bs-audiobook-alt","app:author-role":"#bs-author-role","app:authors-direct":"#bs-authors-direct","app:award":"#bs-award","app:back":"#bs-back","app:badge-filled":"#bs-badge-filled","app:badge-new-reviewer":"#bs-badge-new-reviewer","app:badge-outline":"#bs-badge-outline","app:badge-valued-reviewer":"#bs-badge-valued-reviewer","app:badge-top-reviewer":"#bs-badge-top-reviewer","app:ban":"#bs-ban","app:barnes":"#bs-barnes","app:billing":"#bs-billing","app:bin":"#bs-bin","app:block":"#bs-block","app:book":"#bs-book","app:book-file-updated":"#bs-book-file-updated","app:bookbub":"#bs-bookbub","app:bookmark":"#bs-bookmark","app:books":"#bs-books","app:booksprout":"#bs-booksprout","app:booksprout-dense":"#bs-booksprout-dense","app:booksprout-leaf":"#bs-booksprout-leaf","app:browse":"#bs-browse","app:categories":"#bs-categories","app:calendar":"#bs-calendar","app:calendar-next":"#bs-calendar-next","app:calendar-prev":"#bs-calendar-prev","app:cancel-filled":"#bs-cancel-filled","app:cancelled-arcs":"#bs-cancelled-arcs","app:cancelled-review":"#bs-cancelled-review","app:check":"#bs-check","app:check-dense":"#bs-check-dense","app:check-filled":"#bs-check-filled","app:check-round":"#bs-check-round","app:check-round-thin":"#bs-check-round-thin","app:check-thin":"#bs-check-thin","app:close":"#bs-close","app:close-circle":"#bs-close-circle","app:close-fat":"#bs-close-fat","app:complete-arcs":"#bs-complete-arcs","app:copy":"#bs-copy","app:dashboard":"#bs-dashboard","app:date":"#bs-date","app:date-picker":"#bs-date-picker","app:delayed":"#bs-delayed","app:delayed-arcs":"#bs-delayed-arcs","app:delete":"#bs-delete","app:discount":"#bs-discount","app:discover":"#bs-discover","app:done":"#bs-done","app:dots-filled":"#bs-dots-filled","app:double-arrow":"#bs-double-arrow","app:download":"#bs-download","app:download-solid":"#bs-download-solid","app:due-arcs":"#bs-due-arcs","app:ebook":"#bs-ebook","app:ebook-alt":"#bs-ebook-alt","app:ellipse":"#bs-ellipse","app:ellipse-horizontal":"#bs-ellipse-horizontal","app:email":"#bs-email","app:email-alt":"#bs-email-alt","app:epub-preview":"#bs-epub-preview","app:equalizer":"#bs-equalizer","app:error":"#bs-error","app:exclamation":"#bs-exclamation","app:excluded":"#bs-excluded","app:external-review":"#bs-external-review","app:facebook":"#bs-facebook","app:facebook-small":"#bs-facebook-small","app:filter":"#bs-filter","app:flag":"#bs-flag","app:flag-filled":"#bs-flag-filled","app:flag-point":"#bs-flag-point","app:globe":"#bs-globe","app:following":"#bs-following|0 0 30 16","app:following-authors":"#bs-following-authors","app:forward":"#bs-forward","app:glasses":"#bs-glasses","app:goodreads":"#bs-goodreads","app:google-play":"#bs-google-play","app:head-phones":"#bs-head-phones","app:inactive":"#bs-inactive","app:inbox":"#bs-inbox","app:info":"#bs-info","app:instagram":"#bs-instagram","app:itunes":"#bs-itunes","app:jcb":"#bs-jcb","app:kindle":"#bs-kindle","app:kobo":"#bs-kobo","app:lightning":"#bs-lightning","app:lightning-solid":"#bs-lightning-solid","app:link":"#bs-link","app:lock":"#bs-lock","app:logout":"#bs-logout","app:logout-alt":"#bs-logout-alt","app:magnifier":"#bs-magnifier","app:magnifier-dense":"#bs-magnifier-dense","app:maintenance":"#bs-maintenance","app:mastercard":"#bs-mastercard","app:message-filled":"#bs-message-filled","app:messages":"#bs-messages","app:messages-no-unread":"#bs-messages-no-unread","app:minus":"#bs-minus","app:mobile-menu":"#bs-mobile-menu","a
1pp:mobile-menu-close":"#bs-mobile-menu-close","app:mobile-next":"#bs-mobile-next","app:new-arc-participant":"#bs-new-arc-participant","app:new-review":"#bs-new-review","app:notifications":"#bs-notifications","app:notifications-no-unread":"#bs-notifications-no-unread","app:offline":"#bs-offline","app:open-mail":"#bs-open-mail","app:open-mail-alt":"#bs-open-mail-alt","app:padlock":"#bs-padlock","app:padlock-circle":"#bs-padlock-circle","app:password-hidden":"#bs-password-hidden","app:password-visible":"#bs-password-visible","app:pen-names":"#bs-pen-names","app:pen-names-alt":"#bs-pen-names-alt","app:pen-names-alt-no-unread":"#bs-pen-names-alt-no-unread","app:pencil":"#bs-pencil","app:pending":"#bs-pending","app:pending-arcs":"#bs-pending-arcs","app:pending-dots":"#bs-pending-dots","app:people":"#bs-people","app:plug-female":"#bs-plug-female","app:plug-male":"#bs-plug-male","app:plus":"#bs-plus","app:plus-rounded":"#bs-plus-rounded","app:publisher-role":"#bs-publisher-role","app:question-circle":"#bs-question-circle","app:reader":"#bs-reader","app:reader-no-unread":"#bs-reader-no-unread","app:reader-role":"#bs-reader-role","app:recycle":"#bs-recycle","app:recycle-vertical":"#bs-recycle-vertical","app:rejected-review":"#bs-rejected-review","app:report-pirate":"#bs-report-pirate","app:reviewer":"#bs-reviewer","app:reviews":"#bs-reviews","app:ribbon":"#bs-ribbon","app:saved-arc-ending-soon":"#bs-saved-arc-ending-soon","app:saved-arc-low-copies":"#bs-saved-arc-low-copies","app:sent":"#bs-sent","app:settings":"#bs-settings","app:share":"#bs-share","app:sheet":"#bs-sheet","app:smashwords":"#bs-smashwords","app:social-share":"#bs-social-share","app:sort":"#bs-sort","app:star":"#bs-star","app:storygraph":"#bs-storygraph","app:star-empty":"#bs-star-empty","app:star-full":"#bs-star-full","app:star-half":"#bs-star-half","app:star-outline":"#bs-star-outline","app:star-tick":"#bs-star-tick","app:stop":"#bs-stop","app:stop-alt":"#bs-stop-alt","app:stop-thin":"#bs-stop-thin","app:support":"#bs-support","app:tada-l":"#bs-tada-l","app:tada-r":"#bs-tada-r","app:tag-valued-reviewer":"#bs-tag-valued-reviewer","app:tag-top-reviewer":"#bs-tag-top-reviewer","app:team-members":"#bs-team-members","app:teams":"#bs-teams","app:teams-person":"#bs-teams-person","app:tiktok":"#bs-tiktok","app:time-to-publish":"#bs-time-to-publish","app:times-circle":"#bs-times-circle","app:trash":"#bs-trash","app:twitter":"#bs-twitter","app:unread":"#bs-unread","app:upgrade":"#bs-upgrade","app:va-role":"#bs-va-role","app:vertical-dots":"#bs-vertical-dots","app:visa":"#bs-visa","app:visit-link":"#bs-visit-link","app:website":"#bs-website","app:your-teams":"#bs-your-teams","app:x":"#bs-x"};o.d(t,["T",0,i])},71391(e,t,o){"use strict";var i=o(65732),r=o(30632);const a=(e,...t)=>(0,r.s)().tc(e,...t),n=()=>{var e,t;return null!==(t=null===(e=(0,r.s)().i18n())||void 0===e?void 0:e.locale)&&void 0!==t?t:i.jGy.I18N.DEFAULT_LOCALE};o.d(t,["IJ",0,n,"Tl",0,a])},35186(e,t,o){"use strict";o(70858)},98568(e,t,o){"use strict";o.d(t,{Y:()=>n});var i=o(65732),r=o(10781),a=o(33067);function n(e){const t=()=>(0,r.z7)(),o=(e="publisher",t=!0)=>{const o=["build","master"].includes("testing")?"testing":void 0,i={reviewer:"https://dev.booksprout.co/reviewer",admin:"https://dev.booksprout.co/admin",publisher:"https://dev.booksprout.co/publisher",website:"https://dev.booksprout.co"},r={development:i,dev:i,staging:{reviewer:"https://staging.booksprout.co/reviewer",admin:"https://staging.booksprout.co/admin",publisher:"https://staging.booksprout.co/publisher",website:"https://staging.booksprout.co"},testing:{reviewer:"https://testing.booksprout.co/reviewer",admin:"https://testing.booksprout.co/admin",publisher:"https://testing.booksprout.co/publisher",website:"https://testing.booksprout.co"},beta:{reviewer:"https://beta.booksprout.co/reviewer",admin:"https://beta.booksprout.co/admin",publisher:"https://beta.booksprout.co/publisher",website:"https://beta.booksprout.co"},sandbox:{reviewer:"https://sandbox.booksprout.co/reviewer",admin:"https://sandbox.booksprout.co/admin",publisher:"https://sandbox.booksprout.co/publisher",website:"https://sandbox.booksprout.co"},master:{reviewer:"https://booksprout.co/reviewer",admin:"https://booksprout.co/admin",publisher:"https://booksprout.co/publisher",website:"https://booksprout.co"}},a=o||"master";return r[a][e]+(t?"/":"")},n=(e,t)=>{e.startsWith("/")&&(e=e.replace("/","")),t.startsWith("/")&&(t=t.replace("/",""));const i=o(e);return i+(t||(0,a.i)().link().homeUrl)},s=t=>{if(void 0===e)throw new Error("useAppHosts: navigateToOtherApp needs a route, a router and isMobileApp.");const{route:r,router:a,isMobileApp:n}=e,s=["admin","publisher","reviewer"],l=e=>{const l=window.location.href.split("/"),d=l[3],c=e.split("/")[0];let u=e.substring(e.indexOf("/"));c===u&&(u="");const p=c?i.jGy.APP.HOME_URLS[c.toUpperCase()]:"";let v=!t.startsWith(d);if(v||d||(v=window.location.href+t!==o(e)),v&&!n)window.location.href=o(c,!1)+(u||p)+(r.query.forward?"?forward="+r.query.forward:"");else{let t=e.substring(e.indexOf("/")+1);
1s.forEach(e=>t=t.replace(e,""));const o=(0,i.m88)(t)?t.startsWith("/")?t:"/"+t:p,r=a.push(o);r&&"function"===typeof r.catch&&r.catch(()=>{})}};l(t)};return{isReviewerApp:t,getAppHost:o,linkToOtherApp:n,navigateToOtherApp:s}}},32543(e,t,o){"use strict";o.d(t,{t:()=>w});var i=o(7869),r=o(65715),a=o(25508),n=o(92456),s=o.n(n),l=o(66226),d=o(27805),c=o(90632),u=o(2533),p=o(83828),v=o(60422),m=o(58183),y=o(19673),g=o(78609),h=o(79178),f=function(e,t,o,i){function r(e){return e instanceof o?e:new o(function(t){t(e)})}return new(o||(o=Promise))(function(o,a){function n(e){try{l(i.next(e))}catch(e){a(e)}}function s(e){try{l(i["throw"](e))}catch(e){a(e)}}function l(e){e.done?o(e.value):r(e.value).then(n,s)}l((i=i.apply(e,t||[])).next())})};let b;function w(e){const{host:t}=e,o=(0,g.r)(),n=(0,i.IG)((0,p.v)().messageThread.service),w=(0,i.IG)((0,c.a)()),A=(0,i.IG)((0,y.J)().user.service),D=(0,i.IG)((0,v.h)().notification.service),R=(0,i.IG)((0,u.q)());let k;const O=t=>o.shouldSendHelpHeroData(t,e.mimicOrAuthenticatedUser(),e.isReviewerApp()),S=()=>{if(void 0===e.mimicOrAuthenticatedUser().id)return;D.globalLoader(!1),A.globalLoader(!1),R.globalLoader(!1),n.globalLoader(!1);const i=A.getById(e.mimicOrAuthenticatedUser().id).then(i=>f(this,void 0,void 0,function*(){var r;if(null===i||void 0===i?void 0:i.isLocked)return t.$router.push("/logout");if(!i)return;(0,c.a)().setUser(i);const a=yield n.getUnreadThreadCount();(0,m.m)().ui.setUnreadMessageCount(a);const s=yield A.getUserStats();yield(0,m.m)().ui.setUserStats(s);const l=null!==(r=e.shouldSendHelpHeroData)&&void 0!==r?r:O;l(s)&&o.isHelpHeroEnabled(e.authenticatedUser())&&b.identify(e.mimicOrAuthenticatedUser().id,Object.assign({name:e.mimicOrAuthenticatedUser().name,email:e.mimicOrAuthenticatedUser().emailAddress},o.statsForHelpHero(s)));const d=yield D.getUnreadNotificationCount();(0,m.m)().ui.setUnreadNotificationCount(d)})).catch(e=>{if(!d.A.isAuthExpired)throw e}).finally(()=>{D.globalLoader(!0),A.globalLoader(!0),n.globalLoader(!0)});if(e.isMobileApp())return{account:i,liveness:void 0};const r=R.axios().post("auth/live",{},{timeout:5e3}).then(e=>{o.isVersionMismatch(e.data.version)&&t.$q.dialog({component:t.$bs.confirmDialog,componentProps:{heading:"Application Updated",bodyHtml:'This application has been updated, please confirm to reload the page. If you have any unsaved changes, please select "No", save your changes then reload manually.'}}).onOk(()=>{document.location.reload()})}).catch(e=>{if(!o.isTimeoutError(e))throw e;console.log(e)}).finally(()=>{R.globalLoader(!0)});return{account:i,liveness:r}},I=()=>{r.A.setDefaults({spinner:l.NF})},T=()=>{t.$q.iconSet.datetime.arrowLeft="app:calendar-prev",t.$q.iconSet.datetime.arrowRight="app:calendar-next"},E=(t,i)=>A.update({id:e.mimicOrAuthenticatedUser().id,completedTours:o.completedToursWith(e.mimicOrAuthenticatedUser().completedTours,i.checklist.name)}).then(e=>(0,c.a)().setUser(e)),C=()=>{t.$q.iconMapFn=o.iconMapFn(h.T,"svguse:/cdn/app-icon-sprite.svg")},P=t=>{o.isHelpHeroEnabled(e.authenticatedUser())&&(b=s()("rJcQnSjtzVY"),b.on("checklist_completed",t))},j=t=>{o.isHelpHeroEnabled(e.authenticatedUser())&&b.off("checklist_completed",t)},$=e=>{e(),o.shouldRunIntervalRoutines()&&(k=setInterval(e,6e4))},L=()=>{clearInterval(k)},N=()=>{var e;(null===(e=t.$route.query)||void 0===e?void 0:e.ref)&&a.A.set("fp_ref",t.$route.query.ref)};return{messageThreadService:n,authService:w,userService:A,notificationService:D,axiosService:R,shouldSendHelpHeroData:O,intervalRoutines:S,configureLoading:I,configureCalendar:T,configureIcons:C,onChecklistCompleted:E,startHelpHero:P,stopHelpHero:j,startPolling:$,stopPolling:L,captureReferral:N}}},78609(e,t,o){"use strict";o.d(t,{r:()=>a});var i=o(65732),r=function(e,t){var o={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(o[i]=e[i]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(o[i[r]]=e[i[r]])}return o};function a(){const e=(e,t,o)=>{var r;const a=i.jGy.APP.HELP_HERO_STOP_HELP>=(0,i.NqL)()||0===e.arcCount||0===e.penNameCount||0===e.bookCount||0===e.arcTeamCount||0===e.reviewsCount||0===e.completeArcCount||0===e.newReviewCount||0===e.pendingTeamMembers||!1===e.anyArcHasParticipant||!1===e.anyPenNameHasFollower||!1===e.anyTeamHasMember||!1===e.hasHadTeamMemberForOneMonth||!1===e.hasReviewOlderThanOneMonth,n=i.jGy.APP.HELP_HERE_COMPLETE_ON_TOURS.sort().join(",")===(null===(r=t.completedTours)||void 0===r?void 0:r.split(",").sort().join(","));return a&&!n&&(0,i.m88)(t.authorRole)&&!1===o},t=e=>!!e&&!e.isAdmin,o=(e,t)=>{const o=e?e.split(","):[];return-1===o.indexOf(t)&&o.push(t),o.join(",")},a=e=>{const t=e,{__typename:o}=t,i=r(t,["__typename"]);return i},n=()=>!["build","master"].includes("testing"),s=e=>e!==i.jGy.APP.VERSION,l=e=>"ECONNABORTED"===(null===e||void 0===e?void 0:e.code),d=(e,t)=>o=>{const i=e[o];return void 0!==i?{icon:t+i}:void 0};
1return{shouldSendHelpHeroData:e,isHelpHeroEnabled:t,completedToursWith:o,statsForHelpHero:a,shouldRunIntervalRoutines:n,isVersionMismatch:s,isTimeoutError:l,iconMapFn:d}}},9631(e,t,o){"use strict";o.d(t,{N:()=>l});var i=o(2533),r=o(34393),a=o(32823),n=o(27805),s=function(e,t,o,i){function r(e){return e instanceof o?e:new o(function(t){t(e)})}return new(o||(o=Promise))(function(o,a){function n(e){try{l(i.next(e))}catch(e){a(e)}}function s(e){try{l(i["throw"](e))}catch(e){a(e)}}function l(e){e.done?o(e.value):r(e.value).then(n,s)}l((i=i.apply(e,t||[])).next())})};function l(e,t={}){const o=t=>`${(0,a.UK)().config().axios.url}${e}/${t}`,l=(e,o)=>t.validateAddPictureFactory?t.validateAddPictureFactory(e,o):Promise.resolve(!0),d=e=>s(this,void 0,void 0,function*(){if(!e)return;const t=yield(0,i.q)().axios().post(o("clean-files"),{fileType:"",fileName:e});return t.data}),c=(e,t)=>l(e,t).then(e=>{if(!e)return Promise.reject();let i;return t&&(i=[{name:"id",value:void 0===t.id?-1:t.id}]),{url:o("add-picture"),withCredentials:!0,headers:[{name:"Authorization",value:`Bearer ${n.A.authToken}`},{name:"CSRF-Token",value:n.A.csrfToken}],formFields:i}}),u=e=>{(0,r.L)().globalLoader(e)};return{apiControllerPath:e,getApiControllerUrl:o,validateAddPictureFactory:l,cleanFiles:d,addPictureFactory:c,setGlobalLoader:u}}},11174(e,t,o){"use strict";o.d(t,{W:()=>a});var i=o(70819),r=function(e,t,o,i){function r(e){return e instanceof o?e:new o(function(t){t(e)})}return new(o||(o=Promise))(function(o,a){function n(e){try{l(i.next(e))}catch(e){a(e)}}function s(e){try{l(i["throw"](e))}catch(e){a(e)}}function l(e){e.done?o(e.value):r(e.value).then(n,s)}l((i=i.apply(e,t||[])).next())})};function a(e){const t=()=>{if(void 0===e)throw new Error("useCrud: tab registration needs $tc and $tcD.");return e},o=e=>e.indexOf("/update/")>-1,a=e=>Object.assign({},e),n=e=>Object.assign(Object.assign({},e),{id:e.id||0}),s=()=>({name:"",heading:"",description:"",hint:"",actionHint:"",i18nKey:""}),l=(e,o)=>{const{tcD:i}=t();return{name:i(e+".name",""),heading:i(e+".heading",""),description:i(e+".description",""),hint:i(e+".hint",""),actionHint:i(e+".actionHint",""),i18nKey:o.i18nKey}},d=(e,o,r)=>{const{tc:a,tcD:n}=t();return Object.assign(Object.assign(Object.assign({},new i.YF(e,a(o+".name"))),r),{actionHint:n(o+".actionHint",""),slotKey:r.i18nKey})},c=(e,t)=>`modules.${e}.formFields.tabs.${t.i18nKey}`,u=e=>{if(!e.linkService||!e.urlModelName||!e.router)return;const t=e.linkService.adminUpdate(e.urlModelName,e.id);window.history.replaceState(null,"",e.router.resolve(t).href+window.location.hash)},p=e=>r(this,void 0,void 0,function*(){yield e.doBeforeSave();const t=e.crudModel();if(void 0===t.id){const t=yield e.crudService.create(e.getCreateModel());return e.doAfterSave(t),t}const o=yield e.crudService.update(e.getUpdateModel());return e.doAfterSave(o),o}),v=e=>r(this,void 0,void 0,function*(){return e.autoSaveValid()?e.save().then(t=>{const o=e.crudModel();void 0===o.id&&(o.id=t.id,o.createdDate=t.createdDate,u({linkService:e.linkService,urlModelName:e.urlModelName,router:e.router,id:t.id}))}).catch(e=>Promise.reject(e)):Promise.resolve(void 0)});return{isEditPath:o,createModelFrom:a,updateModelFrom:n,emptyTabTracker:s,tabTrackerFrom:l,tabDefinitionFrom:d,tabI18nRoot:c,swapCreateUrlForUpdate:u,save:p,autoSave:v}}},58040(e,t,o){"use strict";o.d(t,{U:()=>a});var i=o(89221),r=function(e,t,o,i){function r(e){return e instanceof o?e:new o(function(t){t(e)})}return new(o||(o=Promise))(function(o,a){function n(e){try{l(i.next(e))}catch(e){a(e)}}function s(e){try{l(i["throw"](e))}catch(e){a(e)}}function l(e){e.done?o(e.value):r(e.value).then(n,s)}l((i=i.apply(e,t||[])).next())})};function a(e){const{vm:t,emit:o}=e,a=(0,i.EW)(()=>t.$refs[e.dialogRef]),n=()=>{a.value.show()},s=()=>{a.value.hide()},l=()=>{o("hide")},d=()=>{s()},c=()=>r(this,void 0,void 0,function*(){o("ok"),s()});return{dialog:a,show:n,hide:s,onDialogHide:l,cancel:d,confirm:c}}},91037(e,t,o){"use strict";o.d(t,{b:()=>s});var i=o(95094),r=o(58183),a=o(71391);const n=e=>"function"===typeof(null===e||void 0===e?void 0:e.select);function s(e){const t=(t,...o)=>{e.$q.dialog({component:e.$bs.dialogComponent,componentProps:{heading:(0,a.Tl)("system.actions.messageDialogHeading"),message:t.toString().concat(o.join(" "))}})},o=(t,...o)=>{"Unauthorized"!==t&&(0,r.m)().ui.store.getters.lastError!==t&&((0,r.m)().ui.setLastError(t),e.$q.dialog({component:e.$bs.dialogComponent,componentProps:{error:!0,heading:(0,a.Tl)("system.actions.errorDialogHeading"),message:null===t||void 0===t?void 0:t.toString().concat(o.join(" "))}}),setTimeout(()=>{(0,r.m)().ui.setLastError("")},2e3))},s=e=>{(0,i.A)(e).then(()=>{t((0,a.Tl)("system.labels.copiedToClipboard"))}).catch(()=>{o((0,a.Tl)("system.labels.couldNotCopyToClipboard"))})},l=e=>{var t;const o=n(e.target)?e.target:null===(t=e.currentTarget)||void 0===t?void 0:t.querySelector("input, textarea");o&&(o.focus(),o.select())};return{showMessage:t,showError:o,toClipboard:s,selectInput:l}}},60489(e,t,o){"use strict";o.d(t,{d:()=>d});var i=o(78144),r=o(40992),a=o(65732),n=o(52605),s=o(10781);const{formatDate:l}=i.Ay;function d(e){const t=(e,t,o="...",i=void 0)=>(0,s.gO)(e,t,o,i),o=(t,o=n.D)=>t?("number"===typeof t&&(0,a.Kt2)(t)&&10===t.toString().length&&(t*=1e3),l(new Date(t).toUTCString(),o)):e("system.labels.unknownDate"),i=t=>{if(!t)return"";const o=[];return t.seriesNumber&&o.push(`${e("system.labels.book")} ${t.seriesNumber}`),t.seriesNumber&&t.seriesName&&o.push(e("system.labels.of")),t.seriesName&&o.push(t.seriesName),o.join(" ")},d=(t,o=n.D)=>{const i=/^(\d{4})-(\d{2})-(\d{2})$/.exec(null!==t&&void 0!==t?t:"");return null===i?e("system.labels.unknownDate"):l(new Date(Number(i[1]),Number(i[2])-1,Number(i[3])),o)},c=t=>t&&t.trim()?t:e("system.labels.anonymous"),u=(e,o)=>{const i=e.authorPenName?e.authorPenName[o]:e.penName;return t(i,50)},p=e=>e.endsWith("(Audio)")?e.replace("(Audio)","").trim():e,v=e=>r.t(e),m=(e,t)=>
1(0,a.t64)(e*((100-t)/100),2),y=(e,t,o)=>o&&(0,a.NqL)()<=o?m(e,t):e,g=(e,t="month")=>y(e,"month"===t?a.jGy.SUBSCRIPTIONS.DISCOUNTS.MONTH:a.jGy.SUBSCRIPTIONS.DISCOUNTS.YEAR,a.jGy.SUBSCRIPTIONS.DISCOUNTS.END_DATE),h=(e,t="month")=>m(e,"month"===t?a.jGy.SUBSCRIPTIONS.DISCOUNTS.MONTH:a.jGy.SUBSCRIPTIONS.DISCOUNTS.YEAR);return{ellipsis:t,formatDate:o,bookSeriesLabel:i,formatCalendarDay:d,getDisplayName:c,getPenNameName:u,userFriendlySiteDescription:p,validEmail:v,minusDiscount:y,minusDiscountNoDate:m,minusSubDiscount:g,minusSubDiscountNoDate:h}}},48101(e,t,o){"use strict";o.d(t,{J:()=>n});var i=o(65732),r=o(33067),a=o(80669);function n(e){const t=(0,r.i)().link(),o=()=>"function"===typeof e.urlModelName?e.urlModelName():e.urlModelName,n=t=>{var o;const i=null===(o=e.router)||void 0===o?void 0:o.push(t);i&&"function"===typeof i.catch&&i.catch(()=>{})},s={get returnLocation(){return(0,a.J)().system.store.getters.returnLocation},get attachModelId(){return(0,a.J)().system.store.getters.attachModelId},get stateReturnLabel(){return(0,a.J)().system.store.getters.returnLabel},get stateCompleteLabel(){return(0,a.J)().system.store.getters.completeLabel},createUrl:()=>t.adminCreate(o()),editUrl:e=>t.adminUpdate(o(),e),deleteUrl:e=>t.adminDelete(o(),e),listUrl:()=>t.adminList(o()),viewUrl:e=>t.adminView(o(),e),goBack(t){var o;if((0,i.m88)(s.returnLocation)){const e=new URL("https://booksprout.co"+s.returnLocation),t=s.attachModelId?`?attachModelId=${s.attachModelId}`:"";n(`${e.pathname}${t}${e.hash}`),(0,a.J)().system.service.clearReturnLocation()}else void 0!==t&&(0,i.m88)(t)?n(t):null===(o=e.router)||void 0===o||o.go(-1)},returnLabel:e=>(0,i.m88)(s.stateReturnLabel)?s.stateReturnLabel:e,doneLabel:e=>(0,i.m88)(s.stateCompleteLabel)?s.stateCompleteLabel:e};return s}},86218(e,t,o){"use strict";o.d(t,{U:()=>r});var i=o(65732);function r(){const e=(e,t)=>e*t-t,t=(e,t={},o={})=>Object.assign(Object.assign({skip:e.skip,take:e.rowsPerPage,sortBy:e.sortBy,descending:e.sortDescending,genericSearchTerm:e.genericSearchTerm},t),o),o=e=>"arrow_"+(e?"downward":void 0===e?"":"upward"),r=(e,t)=>0===e&&t,a=(e,t)=>{let o=!1,i=e.sortDescending,r=e.previousSortDescending;return e.sortBy===t?(!1===e.previousSortDescending?(i=void 0,o=!0):i=!i,r=i):i=void 0===e.sortBy||void 0,{sortBy:o?void 0:t,sortDescending:i,previousSortDescending:r}},n=(e,t,o)=>{const i=void 0!==(null===e||void 0===e?void 0:e.totalRows),r=i?e.items:e;if(!o)return{items:r,totalRows:i?e.totalRows:void 0};const a=null===t||void 0===t?void 0:t.map(e=>e.id),n=(null===r||void 0===r?void 0:r.length)?r.filter(e=>!(null===a||void 0===a?void 0:a.includes(e.id))):[];return{items:null===t||void 0===t?void 0:t.concat(n),totalRows:i?e.totalRows:void 0}},s=(t,o)=>{const r=t+"";if(!(0,i.Kt2)(r))return;const a=parseInt(r);return{currentPage:a,skip:e(a,o)}},l="?page=",d=e=>{const t=e.indexOf(l);return-1===t?e:e.substr(0,t)},c=e=>e.indexOf(l)>-1,u=(e,t)=>{const o=d(e),i=c(e)?t:t-1;return`${o}${l}${i}`},p=e=>{const t=e.now||new Date,o=new Date(t.getTime()-e.lastAttempt.getTime()).getMilliseconds();return e.scrollPageLoaded&&e.infiniteScroll&&(e.listLength||0)>=e.rowsPerPage&&o>e.minTimeBetweenCalls},v=e=>1===e?2:e+1;return{skipFor:e,makeGetArgs:t,sortIcon:o,showNoResults:r,nextSort:a,shapeResult:n,pageFromQuery:s,urlWithoutPage:d,hasPageInUrl:c,urlForLazyPage:u,shouldLazyLoad:p,nextLazyPage:v}}},74399(e,t,o){"use strict";o.d(t,{Z:()=>l});var i=o(65732),r=o(2533),a=o(30632),n=o(80669),s=function(e,t,o,i){function r(e){return e instanceof o?e:new o(function(t){t(e)})}return new(o||(o=Promise))(function(o,a){function n(e){try{l(i.next(e))}catch(e){a(e)}}function s(e){try{l(i["throw"](e))}catch(e){a(e)}}function l(e){e.done?o(e.value):r(e.value).then(n,s)}l((i=i.apply(e,t||[])).next())})};function l(e){const t=5e3,o=e=>s(this,void 0,void 0,function*(){var o,a;(null===(a=null===(o=null===e||void 0===e?void 0:e.meta)||void 0===o?void 0:o.metaInstructions)||void 0===a?void 0:a.module)&&(yield(0,r.q)().axios().post("auth/meta-info",{id:e.params.id,module:(0,i.Cby)(e.meta.metaInstructions.module),moduleUrl:e.path},{timeout:t}).then(e=>{(0,n.J)().system.service.setMeta(e.data)}).catch(t=>{var o;console.warn(`Meta fetch failed for ${e.path}, rendering without it:`,null!==(o=null===t||void 0===t?void 0:t.message)&&void 0!==o?o:t)}))}),l=(t,o=void 0)=>{if(void 0===e)throw new Error("useMeta: setPageMeta needs the router.");(0,n.J)().system.service.setMeta({title:(0,a.s)().t(`meta.module.${t}.title`,[o]),canonicalUrl:(0,i.aGX)()+"/reviewer"+e.router.currentRoute.value.path})},d=()=>{const e=(0,n.J)().system.store.getters.meta;return{title:e.title,titleTemplate:e=>`${e} | Booksprout`,meta:{description:{name:"description",content:e.description},keywords:{name:"keywords",content:e.keywords},ogTitle:{name:"og:title",content:e.ogTitle},ogImage:{name:"og:image",content:e.ogImage}
1,ogImageWidth:{name:"og:image:width",content:"1200"},ogImageHeight:{name:"og:image:height",content:"630"},ogUrl:{name:"og:url",content:e.ogUrl}},link:{canonical:{rel:"canonical",href:e.canonicalUrl}}}};return{fetchMetaForRoute:o,setPageMeta:l,documentMeta:d}}},25438(e,t,o){"use strict";function i(e){const t=()=>{var t;return!!(null===(t=null===e||void 0===e?void 0:e.$q)||void 0===t?void 0:t.capacitor)},o=(e,t,o)=>0===t&&e>0&&!o;return{isMobileApp:t,isFirstClientRender:o}}o.d(t,{U:()=>i})},70905(e,t,o){"use strict";o.d(t,{r:()=>r});var i=o(25508);function r(){const e=(e,t)=>{i.A.set(e,t)},t=e=>i.A.getItem(e),o=e=>{i.A.remove(e)};return{setLocalStorage:e,getLocalStorage:t,removeLocalStorage:o}}},19486(e,t,o){"use strict";o.d(t,{y:()=>r});var i=o(65732);function r(e=!1){const t=(e,t,o,r="string")=>{switch(r){case"string":(0,i.m88)(o)&&(e[t]=o.toString());break;case"intArray":(0,i.m88)(o)&&"undefined"!==o&&(e[t]=o.split(",").map(e=>parseInt(e.trim())));break;case"array":(0,i.m88)(o)&&"undefined"!==o&&(e[t]=o.split(",").map(e=>e.trim()));break;case"int":(0,i.Kt2)(o)&&(e[t]=parseInt(o))}},o=t=>{(0,i.Zu3)(t,void 0,e?"?":void 0)};return{applyUrlFilterParam:t,setUrlFilterParams:o}}},62856(e,t,o){"use strict";o.d(t,{c:()=>n});var i=o(65732),r=o(27805);const a=Object.assign(Object.assign({},new i.Lq4),{permissionQuery:(new i.n1S).configure(new i.Lq4)});function n(){const e=e=>!!t.mimicOrAuthenticatedUser.permissionQuery.hasTieredPermission(e),t={get authenticatedUser(){const e=r.A.authenticatedUser;return e||a},get mimicUser(){const e=r.A.mimicUser;return e||a},get isMimic(){return(0,i.Kt2)(t.mimicUser.id)},get mimicOrAuthenticatedUser(){return t.isMimic?t.mimicUser:t.authenticatedUser},hasTieredPermission:e};return t}},89426(e,t,o){"use strict";o.d(t,{i:()=>r});var i=o(65732);function r(e){const t=()=>parseInt(e.route.params.id),o=t=>{var o;null!==t&&(e.assign(t),null===(o=e.onLoadDoc)||void 0===o||o.call(e))},r=t=>{var r,a;if(!(0,i.Kt2)(t))return;const n=null!==(r=e.assignLoadedDoc)&&void 0!==r?r:o;return e.crudService.getById(t,null===(a=e.getByIdArgs)||void 0===a?void 0:a.call(e)).then(e=>{n(e)}).catch(t=>{e.onError(t.message)})};return{getDocId:t,loadDoc:r,assignLoadedDoc:o}}},47191(e,t,o){"use strict";o.d(t,{P:()=>r});var i=o(89221);function r(){const e=(0,i.nI)();if(null===e)throw new Error("useVm: no current component instance. It has to be called synchronously inside setup(), not from a computed, a watcher or an event handler.");return e.proxy}},52605(e,t,o){"use strict";const i="YYYY/MM/DD",r="/authors";o.d(t,["D",0,i,"H",0,r])},81626(e,t,o){"use strict";var i=o(65732);let r,a,n=!1;const s=()=>
1{if("undefined"!==typeof window)return"function"===typeof window.Beacon?window.Beacon:void 0},l=()=>{n||"undefined"===typeof window||(n=!0,window.addEventListener("load",()=>{const e=a;void 0!==e&&(a=void 0,d(e))},{once:!0}))},d=e=>{if(!(0,i.m88)(e.emailAddress))return;const t=s();if(void 0===t)return a=e,void l();const o=e.emailAddress;void 0!==r&&r!==o&&t("logout"),t("identify",Object.assign(Object.assign({},(0,i.m88)(e.name)?{name:e.name}:{}),{email:o,"admin-url":e.adminUrl,"billing-plan":e.plan,"user-since":e.userSince,"stripe-customer-page":e.stripeUrl})),r=o},c=()=>{a=void 0;const e=s();void 0!==e&&void 0!==r&&(e("logout"),r=void 0)};o.d(t,["Y",0,d,"z",0,c])},78624(e,t,o){"use strict";var i=o(93775);const r=e=>new i.c(t=>{e.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e))});o.dn(r),o.d(t,["A",0,r])},26960(e,t,o){"use strict";o.d(t,{_:()=>n});var i=o(72696),r=o(65732),a=o(10781);class n extends r.Hg7{constructor(){super(),this.homeUrl="",this.scopeToReviewer=(0,a.z7)()}configure(e){this.homeUrl=e}goBack(e){let t=(0,r.m88)(e);window.addEventListener("beforeunload",function(){t=!1}),window.history.back(),setTimeout(()=>{t&&(window.location.href=e)},200)}openUrl(e){e&&(0,i.A)(e)}}},34393(e,t,o){"use strict";var i=o(17113),r=o(70546),a=o(28385),n=o(60475),s=o(66615),l=(o(47119),o(29299)),d=o(46149),c=o(65715),u=o(17959),p=o(57457),v=o(88410),m=o(78624),y=o(10781),g=o(32823),h=o(58183),f=o(2533),b=o(27805),w=o(51381),A=o(70858),D=function(e,t,o,i){function r(e){return e instanceof o?e:new o(function(t){t(e)})}return new(o||(o=Promise))(function(o,a){function n(e){try{l(i.next(e))}catch(e){a(e)}}function s(e){try{l(i["throw"](e))}catch(e){a(e)}}function l(e){e.done?o(e.value):r(e.value).then(n,s)}l((i=i.apply(e,t||[])).next())})};let R,k,O=!0;const S=e=>{var t,o,i,r;return(null===(o=null===(t=null===e||void 0===e?void 0:e.extensions)||void 0===t?void 0:t.exception)||void 0===o?void 0:o.response)||(null===(i=null===e||void 0===e?void 0:e.extensions)||void 0===i?void 0:i.response)||(null===(r=null===e||void 0===e?void 0:e.extensions)||void 0===r?void 0:r.originalError)||e},I=e=>{var t,o,i;if("string"===typeof e)return(0,A.ue)(e);const r=Array.isArray(null===e||void 0===e?void 0:e.message)&&e.message.length>0&&void 0!==(null===(t=e.message[0])||void 0===t?void 0:t.constraints);return void 0!==(null===e||void 0===e?void 0:e.statusCode)?void 0!==(null===(o=e.message)||void 0===o?void 0:o.errorCode)?(0,A.pQ)(e.message.errorCode):"string"===typeof e.message&&e.message?(0,A.ue)(e.message):r?(0,A.xi)(e.message[0].constraints):(0,A.ue)(e.error||e.message):r?(0,A.xi)(e.message[0].constraints):void 0!==(null===(i=null===e||void 0===e?void 0:e.message)||void 0===i?void 0:i.errorCode)?(0,A.pQ)(e.message.errorCode):void 0!==(null===e||void 0===e?void 0:e.message)?(0,A.ue)(e.message):(0,A.pQ)("somethingWentWrong")},T=e=>new Promise((t,o)=>{var i;const r=(null===e||void 0===e?void 0:e.errors)||(null===(i=null===e||void 0===e?void 0:e.error)||void 0===i?void 0:i.graphQLErrors);if(r&&r.length)return o(I(S(r[0])));if(e.networkError)return o((0,A.ue)(e.networkError.result.errors));const a=Object.keys(e.data);if(!e||!e.data||0===a.length)return t(null);const n=e.data[a[0]];return Array.isArray(n)?t(n.map(e=>Object.assign({},e))):t("object"===typeof n?null===n?null:JSON.parse(JSON.stringify(n)):n)}),E=()=>D(void 0,void 0,void 0,function*(){if(!b.A.isAuthenticated)return;const e=yield(0,f.q)().axios().get("auth/getCsrfToken",{withCredentials:!0});(0,w.Hp)(e.data)}),C=()=>b.A.isAuthenticated?`Bearer ${b.A.authToken}`:"",P=e=>{const{graphQLErrors:t,networkError:o,operation:i}=e;v.v4(e=>{e.setTransactionName(i.operationName),e.setContext("apolloGraphQLOperation",{operationName:i.operationName,variables:i.variables,extensions:i.extensions}),null===t||void 0===t||t.forEach(e=>{p.Cp(e.message,{fingerprint:["{{ default }}","{{ transaction }}"],contexts:{apolloGraphQLError:{error:e,message:e.message,extensions:e.extensions}}})}),o&&p.Cp(o.message,{contexts:{apolloNetworkError:{error:o,extensions:o.extensions}}})})},j=5e3,$=5e3,L=2;let N,F;const B=e=>{var t,o;return!0===(null===(o=null===(t=e.query)||void 0===t?void 0:t.definitions)||void 0===o?void 0:o.some(e=>"OperationDefinition"===e.kind&&"mutation"===e.operation))},x=()=>{void 0!==F&&(clearInterval(F),F=void 0),N=void 0},U=()=>(void 0!==N||(R=u.A.create({type:"ongoing",message:"Connecting ..."}),N=new Promise(e=>{let t=!1;F=setInterval(()=>{t||(t=!0,(0,f.q)().axios().post("auth/live",{},{timeout:$}).then(()=>{x(),R&&R({type:"positive",message:"Connected",icon:"app:check",timeout:2e3}),R=void 0,e()}).catch(()=>{t=!1}))},j)})),N),_=()=>(0,l.S)(e=>{var t;const{response:o,networkError:i,operation:r,forward:a}=e;
1if(P(e),i){if(null===(t=null===i||void 0===i?void 0:i.result)||void 0===t?void 0:t.offline)return void(0,h.m)().ui.redirectTo({url:"maintenance"});if(!i.result){const e=U();if(B(r))return;const t=r.getContext().reconnectReplays||0;if(t>=L)return;return(0,m.A)(e).flatMap(()=>(r.setContext(({headers:e={}})=>({reconnectReplays:t+1,headers:Object.assign(Object.assign({},e),{authorization:b.A.isAuthenticated?`Bearer ${b.A.authToken}`:""})})),a(r)))}return"invalid csrfToken"===i.result.message?(0,m.A)(E()).flatMap(()=>(r.setContext(({headers:e={}})=>({headers:Object.assign(Object.assign({},e),{"CSRF-Token":b.A.csrfToken})})),a(r))):void 0}if(void 0!==o){const e=o.errors;if(e&&e.length&&e[0].extensions){const t=S(e[0]);if(void 0!==t&&t.statusCode)switch(t.statusCode){case 401:(0,w.xi)(!0);break;case 403:(0,h.m)().ui.redirectTo({name:"login"});break;case 404:(0,h.m)().ui.redirectTo({name:"404"});break}}}}),M=()=>new a.C((e,t)=>(e.setContext(({headers:e={}})=>{const t=Object.assign(Object.assign({},e),{"CSRF-Token":b.A.csrfToken}),o=C();return o?t.authorization=o:delete t.authorization,{headers:t}}),t(e))),G=()=>{const e=new d.z({delay:{initial:300,max:1/0,jitter:!0},attempts:{max:3,retryIf:e=>!!e}});return new i.R({link:(0,r.H)([_(),e,M(),new s.P({uri:(0,g.UK)().config().apolloClient.url,credentials:"include",headers:{"Referring-App":(0,y.z7)()?"reviewer":"publisher"}})]),cache:new n.D({typePolicies:{BaseThreadUserDto:{keyFields:["modelKey"]}}}),devtools:{enabled:!1},defaultOptions:{query:{fetchPolicy:"network-only",errorPolicy:"all"},mutate:{errorPolicy:"all"}}})},q=e=>{let t=!0;return O&&setTimeout(()=>{t&&c.A.show()},200),e().finally(()=>{t=!1,c.A.hide()})},V=()=>{const e=()=>(k||(k=G()),k),t=t=>q(()=>e().query(t).then(T)),o=t=>q(()=>e().mutate(t).then(T)),i=e=>(O=e,V()),r=()=>O,a=()=>{k=void 0,O=!0,R=void 0,x()};return{apolloClient:e,query:t,mutate:o,globalLoader:i,isGlobalLoaderEnabled:r,refreshToken:E,handleResponse:T,reset:a}};o.d(t,["L",0,V])},19105(e,t,o){"use strict";var i=o(99314);const r=()=>({arcTeamMember:{service:(0,i.x)()}});o.d(t,["Z",0,r])},99314(e,t,o){"use strict";o.d(t,{x:()=>I});var i=o(79675),r=o(34393),a=o(9631),n=o(97543);const s=(0,a.N)("arcTeam"),l=e=>{throw new Error("Method not implemented.")},d=e=>{throw new Error("Method not implemented.")},c=e=>{throw new Error("Method not implemented.")},u=e=>{const t=void 0===e.status?-1:e.status,o=void 0===e.type?-1:e.type;return(0,r.L)().query({variables:{teamId:e.teamId,status:t,type:o,needle:e.needle},query:i.J1`
2      query GetArcTeamMembers (
3        $teamId: Int!,
4        $status: Int,
5        $type: Int,
6        $needle: String
7      ) {
8        arcTeamMembers (teamId: $teamId, status: $status, type: $type, needle: $needle) {
9          id,
10          arcTeamId,
11          userEmail {
12            emailAddress
13          },
14          user {
15            id,
16            image,
17            name
18          },
19          status,
20          type,
21          statusReasonType,
22          statusReason,
23          reportedDate,
24          statusDate,
25          createdDate,
26          activeArcCount,
27          cancelledArcCount,
28          reviewedArcCount,
29          pastDueArcCount,
30          averageRating
31        }
32      }
33    `})},p=e=>{throw new Error("Method not implemented.")},v=e=>(0,r.L)().query({variables:{userId:e.userId,teamId:e.teamId},query:i.J1`
34      query GetArcTeamMembers (
35        $userId: Int,
36        $teamId: Int
37      ) {
38        arcTeamMember (userId: $userId, teamId: $teamId) {
39          id,
40          userEmail {
41            emailAddress
42          },
43          user {
44            id,
45            image,
46            name,
47            arcClaims {
48              id,
49              status,
50              statusDate,
51              arc {
52                id,
53                book {
54                  id,
55                  title,
56                  bookCover,
57                  penNameType,
58                  penName,
59                  authorPenName {
60                    id,
61                    name
62                  }
63                }
64              },
65              review {
66                id,
67                rating,
68                privateFeedback,
69                review,
70                sites {
71                  id,
72                  link,
73                  status,
74                  statusDate
75                },
76                disclaimer,
77                createdDate
78              }
79            }
80          },
81          status,
82          type,
83          statusReasonType,
84          statusReason,
85          reportedDate,
86          statusDate,
87          createdDate,
88          activeArcCount,
89          cancelledArcCount,
90          reviewedArcCount,
91          pastDueArcCount,
92          averageRating,
93          arcTeamId
94        }
95      }
96    `}),m=e=>(0,r.L)().query({variables:Object.assign({},e),query:i.J1`
97      query GetUserAnalysis (
98        $userId: Int!
99        $includeCancelled: Boolean,
100        $includeReviews: Boolean,
101        $teamId: Int,
102        $teamOnly: Boolean,
103      ) {
104        userAnalysis (
105          includeCancelled: $includeCancelled,
106          includeReviews: $includeReviews,
107          teamId: $teamId,
108          teamOnly: $teamOnly,
109          userId: $userId
110        ) {
111          user {
112            id,
113            name,
114            emailAddress,
115            image,
116            reviewerRole
117          },
118          stats {
119            active,
120            averageRating,
121            cancelled,
122            complete,
123            pastDue,
124            reviewCount
125          },
126          teams {
127            id,
128            name,
129            image,
130            memberStatus,
131            memberType,
132            memberId,
133            memberUserId,
134            memberStatusReasonType,
135            memberStatusReason
136          }
137        }
138      }
139    `}),y=e=>(0,r.L)().query({variables:Object.assign({},e),query:i.J1`
140      query GetUserAnalysisClaims (
141        $userId: Int!
142        $includeCancelled: Boolean,
143        $includeReviews: Boolean,
144        $teamId: Int,
145        $teamOnly: Boolean,
146        $take: Int,
147        $skip: Int
148      ) {
149        userAnalysisClaims (
150          includeCancelled: $includeCancelled,
151          includeReviews: $includeReviews,
152          teamId: $teamId,
153          teamOnly: $teamOnly,
154          userId: $userId,
155          skip: $skip,
156          take: $take
157        ) {
158          ...ArcClaimFragment,
159          arc {
160            ...ArcFragment
161          }
162        }
163      }
164      ${n.M.claim},
165      ${n.M.arc},
166    `}),g=e=>(0,r.L)().query({variables:{teamMemberId:e},query:i.J1`
167      query GetArcTeams (
168        $teamMemberId: Int
169      ) {
170        arcTeams (
171          teamMemberId: $teamMemberId
172        ) {
173          id,
174          name,
175          description,
176          image,
177          defaultDisclaimer,
178          arcTeamMembers {
179            id,
180            user {
181              id
182            }
183          }
184        }
185      }
186    `}),h=(e,t,o)=>(0,r.L)().mutate({variables:{type:o,memberId:e,teamId:t},mutation:i.J1`
187      mutation SetArcTeamMemberType (
188        $memberId: Int!,
189        $teamId: Int!,
190        $type: Int
191      ) {
192        setArcTeamMemberType (
193          id: $memberId,
194          teamId: $teamId,
195          type: $type
196        ) {
197          id
198        }
199      }
200    `}),f=(e,t,o,a,n,s)=>(0,r.L)().mutate({variables:{status:o,memberId:e,teamId:t,statusReason:a,statusReasonType:n,report:s},mutation:i.J1`
201      mutation SetArcTeamMemberStatus (
202        $memberId: Int!,
203        $teamId: Int!,
204        $status: Int,
205        $statusReason: String,
206        $statusReasonType: Int,
207        $report: Boolean
208      ) {
209        setArcTeamMemberStatus (
210          id: $memberId,
211          teamId: $teamId,
212          status: $status,
213          statusReason: $statusReason,
214          statusReasonType: $statusReasonType,
215          report: $report
216        ) {
217          id
218        }
219      }
220    `}),b=e=>(0,r.L)().mutate({variables:Object.assign({},e),mutation:i.J1`
221      mutation JoinArcTeam (
222        $memberUserId: Int!,
223        $teamId: Int!
224        $status: Int
225      ) {
226        joinTeam (
227          memberUserId: $memberUserId,
228          teamId: $teamId,
229          status: $status
230        ) {
231          id
232        }
233      }
234    `}),w=e=>(0,r.L)().mutate({variables:Object.assign({},e),mutation:i.J1`
235      mutation BlockMember (
236        $userId: Int!
237        $statusReasonType: Int!,
238        $arcId: Int,
239        $arcTeamId: Int,
240        $report: Boolean,
241        $statusReason: String,
242        $memberId: Int,
243        $claimId: Int
244      ) {
245        blockMember (
246          userId: $userId,
247          statusReasonType: $statusReasonType,
248          arcId: $arcId,
249          arcTeamId: $arcTeamId,
250          report: $report,
251          statusReason: $statusReason,
252          memberId: $memberId,
253          claimId: $claimId
254        ) {
255          id
256        }
257      }
258    `}),A=e=>(0,r.L)().mutate({variables:{teamId:e.teamId,memberUserId:e.memberUserId},mutation:i.J1`
259      mutation RemoveFromArcTeam (
260        $memberUserId: Int!,
261        $teamId: Int!
262      ) {
263        removeFromTeam (
264          memberUserId: $memberUserId,
265          teamId: $teamId
266        ) {
267          id
268        }
269      }
270    `}),D=e=>(0,r.L)().mutate({variables:Object.assign({},e),mutation:i.J1`
271      mutation RequestToJoinTeam (
272        $teamId: Int!
273        $userEmailId: Int
274      ) {
275        requestToJoinTeam (
276          teamId: $teamId
277          userEmailId: $userEmailId
278        ) {
279          id
280        }
281      }
282    `}),R=e=>(0,r.L)().mutate({variables:{id:e},mutation:i.J1`
283      mutation LeaveTeam (
284        $id: Int!
285      ) {
286        leaveTeam (
287          id: $id
288        ) {
289          id
290        }
291      }
292    `}),k=e=>(0,r.L)().query({variables:{id:e},query:i.J1`
293      query TeamUserStatusLog (
294        $id: Int!
295      ) {
296        teamUserStatusLog (
297          id: $id
298        ) {
299          date,
300          type
301        }
302      }
303    `}).then(e=>Object.assign(Object.assign({},e),{date:new Date(null===e||void 0===e?void 0:e.date)})),O=e=>(0,r.L)().mutate({variables:Object.assign({},e),mutation:i.J1`
304      mutation AcceptTeamInvitation (
305        $teamId: Int!,
306        $userEmailId: Int
307      ) {
308        acceptTeamInvitation (
309          teamId: $teamId,
310          userEmailId: $userEmailId
311        ) {
312          id,
313          type,
314          status,
315          userEmail {
316            emailAddress
317          }
318        }
319      }
320    `}),S=Object.assign(Object.assign({},s),{get:u,getById:p,getMember:v,getTeams:g,getUserAnalysis:m,getUserAnalysisClaims:y,setType:h,setStatus:f,joinTeam:b,removeFromTeam:A,blockMember:w,requestToJoin:D,leaveTeam:R,teamUserStatusLog:k,acceptInvitation:O,create:l,update:c,delete:d,globalLoader(e){return s.setGlobalLoader(e),S}});function I(){return S}},11987(e,t,o){"use strict";var i=o(94636);const r=()=>({arcTeam:{service:(0,i.n)()}});o.d(t,["N",0,r])},94636(e,t,o){"use strict";o.d(t,{n:()=>D});var i=o(79675),r=o(65732),a=o(34393),n=o(9631),s=function(e,t,o,i){function r(e){return e instanceof o?e:new o(function(t){t(e)})}return new(o||(o=Promise))(function(o,a){function n(e){try{l(i.next(e))}catch(e){a(e)}}function s(e){try{l(i["throw"](e))}catch(e){a(e)}}function l(e){e.done?o(e.value):r(e.value).then(n,s)}l((i=i.apply(e,t||[])).next())})};const l=(0,n.N)("arcTeam"),d={arcTeam:i.J1`
321    fragment ArcTeamFragment on ArcTeamDto {
322      id,
323      name,
324      description,
325      image,
326      defaultDisclaimer,
327      applicantCount,
328      autoActionEmailAddresses {
329        emailAddress,
330        type
331      },
332      arcTeamMembers {
333        id,
334        status,
335        statusDate,
336        reviewerStatus,
337        type,
338        userId
339      },
340      isDraft,
341      followerCount,
342      isActivePublisherTeam,
343      userIsFollowing,
344      averageRating,
345      reviewCount
346    }
347  `},c=e=>s(void 0,void 0,void 0,function*(){return(0,a.L)().query({variables:Object.assign({},e),query:i.J1`
348      query GetArcTeams (
349        $genericSearchTerm: String,
350        $genericSearch: Boolean,
351        $teamMemberId: Int,
352        $skip: Int,
353        $take: Int,
354        $sortBy: String
355        $status: Int
356        $excludeTeamsUserIsAMemberOf: Int
357        $forUserId: Int
358      ) {
359        arcTeams (
360          genericSearchTerm: $genericSearchTerm,
361          genericSearch: $genericSearch,
362          teamMemberId: $teamMemberId,
363          skip: $skip,
364          take: $take,
365          sortBy: $sortBy
366          status: $status
367          excludeTeamsUserIsAMemberOf: $excludeTeamsUserIsAMemberOf
368          forUserId: $forUserId
369        ) {
370          totalRows,
371          items {
372            ...ArcTeamFragment
373          }
374        }
375      }
376      ${d.arcTeam}
377    `}).then(e=>({items:e.items,totalRows:e.totalRows}))}),u=(e,t)=>void 0===e?Promise.reject(new Error("Missing id.")):(0,a.L)().query({variables:Object.assign({id:e},t),query:i.J1`
378      query GetArcTeam (
379        $id: Int!,
380        $genericSearch: Boolean,
381        $getAverageRating: Boolean
382      ) {
383        arcTeam (
384          id: $id,
385          genericSearch: $genericSearch,
386          getAverageRating: $getAverageRating
387        ) {
388          ...ArcTeamFragment
389        }
390      }
391      ${d.arcTeam}
392    `}),p=e=>(0,a.L)().mutate({variables:{name:e.name,description:e.description,image:e.image,defaultDisclaimer:e.defaultDisclaimer,autoApproveEmailAddresses:e.autoApproveEmailAddresses,autoVipEmailAddresses:e.autoVipEmailAddresses,autoBlockEmailAddresses:e.autoBlockEmailAddresses},mutation:i.J1`
393      mutation CreateArcTeam (
394        $name: String!,
395        $description: String,
396        $image: String,
397        $defaultDisclaimer: Int,
398        $autoApproveEmailAddresses: [String!],
399        $autoVipEmailAddresses: [String!],
400        $autoBlockEmailAddresses: [String!]
401      ) {
402        createArcTeam (
403          name: $name,
404          description: $description,
405          image: $image,
406          defaultDisclaimer: $defaultDisclaimer,
407          autoApproveEmailAddresses: $autoApproveEmailAddresses,
408          autoVipEmailAddresses: $autoVipEmailAddresses,
409          autoBlockEmailAddresses: $autoBlockEmailAddresses
410        ) {
411          ...ArcTeamFragment
412        }
413      }
414      ${d.arcTeam}
415    `}),v=e=>(0,a.L)().mutate({variables:{id:e.id,name:e.name,description:e.description,image:e.image,defaultDisclaimer:e.defaultDisclaimer,autoApproveEmailAddresses:e.autoApproveEmailAddresses,autoVipEmailAddresses:e.autoVipEmailAddresses,autoBlockEmailAddresses:e.autoBlockEmailAddresses},mutation:i.J1`
416      mutation UpdateArcTeam (
417        $id: Int!,
418        $name: String,
419        $description: String,
420        $image: String,
421        $defaultDisclaimer: Int,
422        $autoApproveEmailAddresses: [String!],
423        $autoVipEmailAddresses: [String!],
424        $autoBlockEmailAddresses: [String!]
425      ) {
426        updateArcTeam (
427          id: $id,
428          name: $name,
429          description: $description,
430          image: $image,
431          defaultDisclaimer: $defaultDisclaimer,
432          autoApproveEmailAddresses: $autoApproveEmailAddresses,
433          autoVipEmailAddresses: $autoVipEmailAddresses,
434          autoBlockEmailAddresses: $autoBlockEmailAddresses
435        ) {
436          ...ArcTeamFragment
437        }
438      }
439      ${d.arcTeam}
440    `}),m=e=>(0,a.L)().query({variables:{id:e},query:i.J1`
441      query CheckDeleteArcTeam ($id: Int!) {
442        checkDeleteArcTeam (id: $id) {
443          count,
444          dtoTypeName,
445          ids
446        }
447      }
448    `}),y=e=>(0,a.L)().mutate({variables:{id:e},mutation:i.J1`
449      mutation ConfirmDeleteArcTeam (
450        $id: Int!
451      ) {
452        confirmDeleteArcTeam(id: $id) {
453          id
454        }
455      }
456    `}),g=e=>h(e)+((null===e||void 0===e?void 0:e.followerCount)||0),h=e=>e&&(null===e||void 0===e?void 0:e.arcTeamMembers)&&0!==e.arcTeamMembers.length?e.arcTeamMembers.filter(e=>[r.jGy.ARC_TEAMS.MEMBERS.STATUS.ACTIVE].includes(e.status)).length:0,f=e=>(0,a.L)().mutate({variables:{id:e},mutation:i.J1`
457      mutation FollowTeam (
458        $id: Int!
459      ) {
460        followTeam (id: $id) {
461          id
462        }
463      }
464    `}),b=e=>(0,a.L)().mutate({variables:{id:e},mutation:i.J1`
465      mutation UnfollowTeam (
466        $id: Int!
467      ) {
468        unfollowTeam (id: $id) {
469          id
470        }
471      }
472    `}),w=e=>s(void 0,void 0,void 0,function*(){return(0,a.L)().query({variables:{id:e.id},query:i.J1`
473      query GetTeamMemberStatusCounts ($id: Int!) {
474        getTeamMemberStatusCounts (id: $id) {
475          awaiting,
476          active,
477          invited,
478          rejected,
479          blocked
480        }
481      }
482    `})}),A=Object.assign(Object.assign({},l),{get:c,getById:u,create:p,update:v,checkDelete:m,delete:y,countFollowers:g,countMembers:h,follow:f,unfollow:b,getTeamMemberStatusCounts:w,globalLoader(e){return l.setGlobalLoader(e),A}});function D(){return A}},13217(e,t,o){"use strict";o.d(t,{Q:()=>W});var i=o(27805),r=o(57457),a=o(88410),n=o(79675),s=o(65732),l=o(97543),d=o(20639),c=o(56265),u=o(34393),p=o(2533),v=o(9631),m=function(e,t,o,i){function r(e){return e instanceof o?e:ne
482w o(function(t){t(e)})}return new(o||(o=Promise))(function(o,a){function n(e){try{l(i.next(e))}catch(e){a(e)}}function s(e){try{l(i["throw"](e))}catch(e){a(e)}}function l(e){e.done?o(e.value):r(e.value).then(n,s)}l((i=i.apply(e,t||[])).next())})},y=function(e,t){var o={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(o[i]=e[i]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(o[i[r]]=e[i[r]])}return o};const g=o(58431),h=(e,t)=>{var o;return(0,u.L)().mutate({variables:{userId:null===(o=e.user)||void 0===o?void 0:o.id,claimId:e.id,cfi:t},mutation:n.J1`
483      mutation UpdateClaimReadLocation (
484        $userId: Int!
485        $claimId: Int!
486        $cfi: String!
487      ) {
488        updateClaimReadLocation(
489          userId: $userId,
490          claimId: $claimId,
491          cfi: $cfi
492        ) {
493          ...ArcClaimFragment
494        }
495      },
496      ${l.M.claim}
497    `})},f=(e,t)=>(0,u.L)().query({variables:{arcId:e,userId:t},query:n.J1`
498      query GetArcClaim (
499        $arcId: Int,
500        $userId: Int
501      ) {
502        arcUserClaim (arcId: $arcId, userId: $userId) {
503          ...ArcClaimFragment,
504          arc {
505            ...ArcFragment
506          }
507        }
508      },
509      ${l.M.claim},
510      ${l.M.arc}
511    `}).then(e=>(0,c.YX)(e)),b=(e,t)=>(0,u.L)().query({variables:{arcId:e,userId:t},query:n.J1`
512      query GetArcClaim (
513        $arcId: Int,
514        $userId: Int
515      ) {
516        arcUserClaim (arcId: $arcId, userId: $userId) {
517          id,
518          createdDate,
519          status,
520          statusDate,
521          cancellationReason,
522          cancellationType,
523          downloadCode,
524          downloadCodeExpirationDate,
525          reviewFlags,
526          optionalReviewFlags,
527          requiredReviewCount,
528          selectedAudioSiteFlag,
529          canFollowTeam,
530          dueDate,
531          review {
532            id,
533            rating,
534            title,
535            review,
536            reviewLanguage,
537            translatedReview,
538            privateFeedback,
539            disclaimer,
540            createdDate,
541            updatedDate
542            sites {
543              id,
544              link,
545              site,
546              status,
547              statusDate,
548              statusReason,
549              exempt
550            }
551          },
552          arc {
553            id,
554            isDraft,
555            status,
556            book {
557              id,
558              bookCover,
559              title,
560              seriesName,
561              seriesNumber,
562              penName,
563              wordCount,
564              authorPenName {
565                id,
566                name,
567                image,
568                firstName,
569                averageRating,
570                followers {
571                  id
572                }
573              },
574              linkAmazonAsin,
575              linkAmazonAsinPrint,
576              linkAudibleUs,
577              linkAudibleUk,
578              linkBarnes,
579              linkBookbub,
580              linkGoodreads,
581              linkGoogle,
582              linkSmashwords,
583              linkKobo,
584              linkITunes,
585              smashwordsCouponCode,
586              linkITunesAudio,
587              linkBarnesAudio,
588              linkGoogleAudio,
589              linkGoodreadsAudio,
590              linkKoboAudio,
591              linkBookbubAudio,
592              linkStoryGraph,
593              linkStoryGraphAudio,
594              description,
595              audience,
596              keywords,
597              releaseDate,
598              categories {
599                id,
600                name,
601                translations {
602                  locale
603                  name
604                }
605              },
606              pdfFile,
607              pdfFileSizeBytes,
608              pdfSystemGenerated,
609              epubFile,
610              epubFileSizeBytes,
611              epubPreviewFile,
612              epubSystemGenerated
613            },
614            arcTeam {
615              id,
616              name,
617              defaultDisclaimer
618            }
619            specialInformation,
620            arcType,
621            discoverableType,
622            participationType,
623            copyCountType,
624            copyCount,
625            seriesLimitType,
626            reviewFlags,
627            optionalReviewFlags,
628            requiredReviewCount,
629            optionalReviewCount,
630            liveDate,
631            reviewDays,
632            stopDownloadDate,
633            neverEndingPrivate,
634            usDownloadCodes,
635            ukDownloadCodes,
636            authorsDirectDownloadCodes,
637            koboDownloadCodes,
638            participationPreventionType,
639            siteWideParticipationPreventionType,
640            dueDate,
641            dueCutOffDate,
642            vipExclusiveAccessDays
643          }
644        }
645      }
646    `}).then(e=>(0,c.YX)(e)),w=e=>(0,u.L)().query({variables:Object.assign({},e),query:n.J1`
647      query GetArcClaims (
648        $arcId: Int,
649        $status: Int,
650        $userSearchNeedle: String,
651        $type: Int,
652        $forAuthenticatedUser: Boolean,
653        $reviewSiteStatus: Int,
654        $mustHaveReviews: Boolean,
655        $claimId: Int,
656        $userId: Int,
657        $statuses: [Int!],
658        $isDue: Boolean,
659        $sortBy: String,
660        $genericSearchTerm: String,
661        $skip: Int,
662        $take: Int,
663        $bookId: Int,
664        $authorPenNameId: Int
665      ) {
666        arcClaims (
667          arcId: $arcId,
668          status: $status,
669          userSearchNeedle: $userSearchNeedle,
670          type: $type,
671          forAuthenticatedUser: $forAuthenticatedUser,
672          reviewSiteStatus: $reviewSiteStatus,
673          mustHaveReviews: $mustHaveReviews,
674          claimId: $claimId,
675          userId: $userId,
676          statuses: $statuses,
677          isDue: $isDue,
678          sortBy: $sortBy,
679          genericSearchTerm: $genericSearchTerm,
680          skip: $skip,
681          take: $take,
682          bookId: $bookId,
683          authorPenNameId: $authorPenNameId
684        ) {
685          ...ArcReviewClaimFragment
686        }
687      },
688      ${l.U.reviewClaim}
689    `}).then(e=>e.map(e=>(0,c.YX)(e))),A=e=>(0,u.L)().query({variables:Object.assign({},e),query:n.J1`
690      query GetGroupedArcClaimsCount (
691        $arcId: Int,
692        $status: Int,
693        $userSearchNeedle: String,
694        $type: Int,
695        $forAuthenticatedUser: Boolean,
696        $reviewSiteStatus: Int,
697        $mustHaveReviews: Boolean,
698        $claimId: Int,
699        $userId: Int,
700        $groupByStatus: Int,
701        $genericSearchTerm: String,
702        $audienceTypes: [Int!],
703        $categoryId: Int,
704        $sortBy: String,
705        $skip: Int,
706        $take: Int,
707        $countOnly: String,
708      ) {
709        groupedArcClaimsCount (
710          arcId: $arcId,
711          status: $status,
712          userSearchNeedle: $userSearchNeedle,
713          type: $type,
714          forAuthenticatedUser: $forAuthenticatedUser,
715          reviewSiteStatus: $reviewSiteStatus,
716          mustHaveReviews: $mustHaveReviews,
717          claimId: $claimId,
718          userId: $userId,
719          groupByStatus: $groupByStatus,
720          genericSearchTerm: $genericSearchTerm,
721          categoryId: $categoryId,
722          audienceTypes: $audienceTypes,
723          sortBy: $sortBy,
724          skip: $skip,
725          take: $take,
726          countOnly: $countOnly,
727        ) {
728          activeCount,
729          cancelledCount,
730          completeCount,
731          delayedCount,
732          dueCount,
733          pendingPublishingCount,
734        }
735      }
736    `}),D=e=>(0,u.L)().query({variables:Object.assign({},e),query:n.J1`
737      query GetGroupedArcClaims (
738        $arcId: Int,
739        $status: Int,
740        $userSearchNeedle: String,
741        $type: Int,
742        $forAuthenticatedUser: Boolean,
743        $reviewSiteStatus: Int,
744        $mustHaveReviews: Boolean,
745        $claimId: Int,
746        $userId: Int,
747        $groupByStatus: Int,
748        $genericSearchTerm: String,
749        $audienceTypes: [Int!],
750        $categoryId: Int,
751        $sortBy: String,
752        $skip: Int,
753        $take: Int
754      ) {
755        groupedArcClaims (
756          arcId: $arcId,
757          status: $status,
758          userSearchNeedle: $userSearchNeedle,
759          type: $type,
760          forAuthenticatedUser: $forAuthenticatedUser,
761          reviewSiteStatus: $reviewSiteStatus,
762          mustHaveReviews: $mustHaveReviews,
763          claimId: $claimId,
764          userId: $userId,
765          groupByStatus: $groupByStatus,
766          genericSearchTerm: $genericSearchTerm,
767          categoryId: $categoryId,
768          audienceTypes: $audienceTypes,
769          sortBy: $sortBy,
770          skip: $skip,
771          take: $take
772        ) {
773          activeCount,
774          cancelledCount,
775          completeCount,
776          delayedCount,
777          dueCount,
778          pendingPublishingCount,
779          result {
780            totalRows,
781            items {
782              ...ArcClaimFragment,
783              arc {
784                id,
785                dueDate,
786                dueCutOffDate,
787                arcType,
788                book {
789                  id,
790                  title,
791                  penName,
792                  authorPenName {
793                    id,
794                    name,
795                    image,
796                    followers {
797                      id
798                    }
799                  },
800                  bookCover,
801                  description,
802                  keywords,
803                  epubFile,
804                  epubPreviewFile,
805                  pdfFile
806                },
807                arcTeam {
808                  id,
809                  arcTeamMembers {
810                    id
811                    status,
812                    arcTeamId,
813                    user {
814                      id
815                    }
816                  }
817                }
818              }
819            }
820          }
821        }
822      },
823      ${l.M.claim}
824    `}).then(e=>Object.assign(Object.assign({},e),{result:{totalRows:e.result.totalRows,items:e.result.items.map(e=>Object.assign(Object.assign({},(0,c.YX)(e)),{arc:(0,c.y4)(e.arc)}
824))}})),R=e=>(0,u.L)().mutate({variables:Object.assign({},e),mutation:n.J1`
825      mutation GrantReviewExemption (
826        $claimId: Int!,
827        $grantSites: [Int!]
828      ) {
829        grantReviewExemption (claimId: $claimId, grantSites: $grantSites) {
830          id
831        }
832      }
833    `}),k=e=>(0,u.L)().mutate({variables:Object.assign({},e),mutation:n.J1`
834      mutation RevokeReviewExemption (
835        $claimId: Int!,
836        $revokeSites: [Int!]
837      ) {
838        revokeReviewExemption (claimId: $claimId, revokeSites: $revokeSites) {
839          id
840        }
841      }
842    `}),O=e=>(0,u.L)().mutate({variables:Object.assign({},e),mutation:n.J1`
843      mutation ClaimArc (
844        $arcId: Int!,
845        $userId: Int!,
846        $selectedAudioSiteFlag: Int
847      ) {
848        claimArc (
849          arcId: $arcId,
850          userId: $userId,
851          selectedAudioSiteFlag: $selectedAudioSiteFlag
852        ) {
853          id
854        }
855      }
856    `}),S=(e,t)=>m(void 0,void 0,void 0,function*(){if(i.A.isAuthenticated)try{yield(0,u.L)().mutate({variables:{type:e,metaData:void 0!==t?JSON.stringify(t):void 0},mutation:n.J1`
857        mutation TrackMetric (
858          $type: String!,
859          $metaData: String
860        ) {
861          trackMetric (
862            type: $type,
863            metaData: $metaData
864          )
865        }
866      `})}catch(e){console.error("[trackMetric] failed",e)}}),I=(e,t=g)=>(0,p.q)().axios().post("arc/download-claim",e,{responseType:"blob",timeout:6e5}).then(e=>{var o;const i=null===(o=e.headers["content-disposition"])||void 0===o?void 0:o.split("filename=")[1];return t(e.data,i)}),T=e=>(0,p.q)().axios().post("arc/email-claim",e).then(e=>{}),E=e=>(0,u.L)().mutate({variables:Object.assign({},e),mutation:n.J1`
867      mutation CancelClaim (
868        $additionalInformation: String,
869        $claimId: Int!,
870        $reason: String,
871        $type: Int!
872      ) {
873        cancelArcClaim (
874          additionalInformation: $additionalInformation,
875          claimId: $claimId,
876          reason: $reason,
877          type: $type
878        ) {
879          id
880        }
881      }
882    `}),C=e=>(0,u.L)().mutate({variables:Object.assign({},e),mutation:n.J1`
883      mutation UnCancelClaim (
884        $claimId: Int!
885      ) {
886        unCancelArcClaim (
887          claimId: $claimId
888        ) {
889          id
890        }
891      }
892    `}),P=(e,t)=>{const o=new Date(new Date(e).getTime()+6e4*t).getTime();return o>(new Date).getTime()},j=()=>(0,u.L)().query({query:n.J1`
893      query GetNextArcToReview {
894        getNextArcToReview {
895          ...ArcFragment
896        }
897      }
898      ${l.M.arc}
899    `}).then(e=>(0,c.y4)(e)),$=(e,t)=>m(void 0,void 0,void 0,function*(){var o;const i=y(s.jGy.ARCS.CLAIMS.INELIGIBLE_REASONS,[]);return void 0===(null===(o=t.userEmails)||void 0===o?void 0:o.find(e=>e.status===s.jGy.USER.EMAILS.STATUS.VERIFIED))?{ineligibleReason:i.EMAIL_NOT_VERIFIED}:L({arcId:e.id,suggestArc:!0})}),L=e=>m(void 0,void 0,void 0,function*(){return(0,u.L)().query({variables:Object.assign({},e),query:n.J1`
900      query GetClaimEligibilityForUser (
901        $arcId: Int!,
902        $suggestArc: Boolean!
903      ) {
904        getClaimEligibilityForUser (
905          arcId: $arcId,
906          suggestArc: $suggestArc
907        ) {
908          ineligibleReason,
909          reasonDate,
910          reasonDescription,
911          existingClaim {
912            ...ArcClaimFragment
913          },
914          suggestedArc {
915            ...ArcFragment
916          },
917          suggestedBooks {
918            ...BookFragment
919          }
920        }
921      }
922      ${l.M.claim}
923      ${l.M.arc},
924      ${d.P.book}
925    `}).then(e=>Object.assign(Object.assign({},e),{suggestedArc:(0,c.y4)(e.suggestedArc)}))}),N=e=>{if(!e.bookId){const t=new Error("UpdateDueCutOffDate called without bookId");return a.v4(o=>{o.setTag("operation","UpdateDueCutOffDate"),o.setContext("arc",{id:e.id,bookId:e.bookId}),r.Cp(t)}),Promise.reject(t)}return(0,u.L)().mutate({variables:{id:e.id,bookId:e.bookId},mutation:n.J1`
926      mutation UpdateDueCutOffDate (
927        $id: Int!,
928        $bookId: Int!
929      ) {
930        updateDueCutOffDate (
931          id: $id,
932          bookId: $bookId
933        ) {
934          ...ArcFragment
935        }
936      }
937      ${l.M.arc}
938    `})},F=e=>{var t,o;const i=[];if(!(null===(t=null===e||void 0===e?void 0:e.review)||void 0===t?void 0:t.sites))return i;const r=[s.jGy.ARCS.REVIEWS.FLAGS.AMAZON,s.jGy.ARCS.REVIEWS.FLAGS.BOOK_BUB,s.jGy.ARCS.REVIEWS.FLAGS.AUDIO_BOOK_BUB,s.jGy.ARCS.REVIEWS.FLAGS.GOOD_READS,s.jGy.ARCS.REVIEWS.FLAGS.AUDIO_GOODREADS,s.jGy.ARCS.REVIEWS.FLAGS.STORY_GRAPH,s.jGy.ARCS.REVIEWS.FLAGS.AUDIO_STORY_GRAPH];for(const t of e.review.sites.filter(e=>e.status!==s.jGy.ARCS.REVIEWS.SITE.STATUS.NONE||e.exempt)){const a=Object.assign({},t);if(!r.includes(a.site)){const i=s.jGy.ARCS.REVIEWS.FLAG_BOOK_KEYS_SITE[t.site],r=(null===(o=null===e||void 0===e?void 0:e.arc)||void 0===o?void 0:o.book)?e.arc.book[i]:"";r&&(a.link=r)}i.push(a)}return i},B=e=>{var t,o;
938const i=[],{SMASH_WORDS:r,KOBO:a,BARNES:n,GOOGLE:l,ITUNES:d,AUDIBLE_UK:u,AUDIBLE_US:p,AUDIBLE:v}=s.jGy.ARCS.REVIEWS.FLAGS,m=r|a|n|l|d|u|p|v;let y=(0,s.C5f)(e.reviewFlags,m);const g=(0,c.Sr)(e.reviewFlags);(e.requiredReviewCount||0>g)&&(y=y.concat((0,s.C5f)(e.optionalReviewFlags||0,m)));for(const r of y){const a=null===(o=null===(t=e.review)||void 0===t?void 0:t.sites)||void 0===o?void 0:o.find(e=>e.site===r.site),n=!(!a||!a.exempt),l=!!a&&(0,s.Trt)(a.site,a.link||""),d=!!a&&a.status===s.jGy.ARCS.REVIEWS.SITE.STATUS.DELAYED;i.push({name:r.description,site:r.site,selected:n,disabled:l&&!d})}return i},x=e=>M(e,s.jGy.ARCS.CLAIMS.STATE.READ),U=e=>M(e,s.jGy.ARCS.CLAIMS.STATE.NEW),_=e=>M(e,s.jGy.ARCS.CLAIMS.STATE.NEW_ACTIVITY),M=(e,t)=>(0,u.L)().mutate({variables:{claimId:e,state:t},mutation:n.J1`
939      mutation UpdateClaimState (
940        $claimId: Int!,
941        $state: Int!
942      ) {
943        updateClaimState (
944          claimId: $claimId,
945          state: $state
946        )
947      }
948    `}),G=e=>(0,u.L)().mutate({variables:{id:e},mutation:n.J1`
949      mutation MarkReviewSiteAsSeen (
950        $id: Int!
951      ) {
952        markReviewSiteAsSeen (
953          id: $id
954        ) {
955          id,
956          link,
957          site,
958          status,
959          statusDate,
960          statusReason,
961          exempt,
962          state
963        }
964      }
965    `}),q=(0,v.N)("arc"),V=Object.assign(Object.assign({},q),{claimArc:O,getClaim:f,getClaimToReview:b,getClaims:w,getGroupedClaimsCount:A,getGroupedClaims:D,updateClaimReadLocation:h,cancelClaim:E,unCancelClaim:C,markClaimAsRead:x,markClaimAsUnRead:U,markClaimAsNewActivity:_,updateClaimState:M,getClaimEligibility:$,getClaimEligibilityForUser:L,getNextArcToReview:j,downloadClaim:I,emailClaim:T,getClaimSites:F,getAllowedExemptSitesForClaim:B,claimDateWithinMinutes:P,updateDueCutOffDate:N,trackMetric:S,markReviewSiteAsSeen:G,grantReviewExemption:R,revokeReviewExemption:k,globalLoader(e){return q.setGlobalLoader(e),V}});function W(){return V}},56265(e,t,o){"use strict";var i=o(65732);const r=e=>{var t,o;return void 0===e||null===e?null:Object.assign(Object.assign({},e),{bookId:null===(t=e.book)||void 0===t?void 0:t.id,arcTeamId:null===(o=e.arcTeam)||void 0===o?void 0:o.id,book:e.book,arcTeam:e.arcTeam,liveDate:e.liveDateStr?(0,i.AUc)(e.liveDateStr+""):void 0,stopDownloadDate:e.stopDownloadDateStr?(0,i.AUc)(e.stopDownloadDateStr+""):void 0,dueDate:e.dueDateStr?(0,i.AUc)(e.dueDateStr+""):void 0,dueCutOffDate:e.dueCutOffDateStr?(0,i.AUc)(e.dueCutOffDateStr+""):void 0})},a=e=>{if(void 0!==e&&null!==e)return Object.assign(Object.assign({},e),{stopDownloadDate:e.stopDownloadDate?(0,i.AUc)(e.stopDownloadDate+""):void 0,dueDate:(0,i.AUc)(e.dueDate+"")})},n=e=>e?e.toString(2).replace(/0/g,"").length:0;o.d(t,["Sr",0,n,"YX",0,a,"y4",0,r])},30562(e,t,o){"use strict";var i=o(50763),r=o(13217),a=o(52248);const n=Object.assign(Object.assign(Object.assign(Object.assign({},(0,i.e)()),(0,r.Q)()),(0,a.N)()),{globalLoader(e){return(0,i.e)().globalLoader(e),n}}),s=()=>({arc:{service:n}});o.d(t,["O",0,s])},52248(e,t,o){"use strict";o.d(t,{N:()=>X});var i=o(27805),r=o(79675),a=o(65732),n=o(97543),s=o(25508),l=o(56265),d=o(34393),c=o(2533),u=o(9631),p=function(e,t,o,i){function r(e){return e instanceof o?e:new o(function(t){t(e)})}return new(o||(o=Promise))(function(o,a){function n(e){try{l(i.next(e))}catch(e){a(e)}}function s(e){try{l(i["throw"](e))}catch(e){a(e)}}function l(e){e.done?o(e.value):r(e.value).then(n,s)}l((i=i.apply(e,t||[])).next())})},v=function(e,t){var o={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(o[i]=e[i]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(o[i[r]]=e[i[r]])}return o};const m=7444889.6,y=["arcReviewCount","arcReviewUserCount","arcLiveCount","authorCount","arcActiveCount","topArc"],g=(e,t)=>{const o=new FormData;return o.append("bookId",e.bookId.toString()),o.append("fileName",t.name),o.append("link",e.link),o.append("uploadFile",t),(0,c.q)().axios()({method:"post",url:z.getApiControllerUrl("report-pirate"),headers:{Authorization:`Bearer ${i.A.authToken}`,"Content-Type":"multipart/form-data","CSRF-Token":i.A.csrfToken},data:o})},h=()=>(0,d.L)().query({query:r.J1`
966      query GetReportedPirateCount {
967        reportedPirateCount
968      }
969    `}).then(e=>e),f=e=>(0,d.L)().mutate({variables:Object.assign({},e),mutation:r.J1`
970      mutation AddReview (
971        $claimId: Int!,
972        $disclaimer: String!,
973        $privateFeedback: String!,
974        $rating: Int!,
975        $review: String!,
976        $title: String!
977      ) {
978        addReview (
979          claimId: $claimId,
980          disclaimer: $disclaimer,
981          privateFeedback: $privateFeedback,
982          rating: $rating,
983          review: $review,
984          title: $title
985        ) {
986          id
987        }
988      }
989    `}),b=e=>(0,d.L)().mutate({variables:{id:e},mutation:r.J1`
990      mutation TranslateReview (
991        $id: Int!
992      ) {
993        translateReview (id: $id) {
994          id
995          reviewLanguage
996          translatedReview
997        }
998      }
999    `}),w=e=>(0,d.L)().mutate({variables:{id:e},mutation:r.J1`
1000      mutation DeleteReview (
1001        $id: Int!
1002      ) {
1003        deleteReview (id: $id)
1004      }
1005    `}),A=e=>(0,d.L)().mutate({variables:Object.assign({},e),mutation:r.J1`
1006      mutation AddSiteReview (
1007        $link: String,
1008        $reviewId: Int!,
1009        $site: Int,
1010        $status: Int,
1011        $userId: Int!,
1012        $statusReason: String
1013      ) {
1014        addSiteReview (
1015          link: $link,
1016          reviewId: $reviewId,
1017          site: $site,
1018          status: $status,
1019          userId: $userId,
1020          statusReason: $statusReason
1021        ) {
1022          id
1023        }
1024      }
1025    `}),D=e=>{const t=(0,a.C5f)(e),{AUDIBLE_US:o,AUDIBLE_UK:i}=a.jGy.ARCS.REVIEWS.FLAGS;return t.filter(e=>![o,i].includes(e.site))},R=e=>(0,d.L)().query({variables:Object.assign({},e),query:r.J1`
1026      query GetGroupedEligibleArcsCount (
1027        $needle: String,
1028        $skip: Int,
1029        $take: Int,
1030        $sortBy: String,
1031        $descending: Boolean,
1032        $penNameId: Int
1033        $hasComeViaLink: Boolean,
1034        $arcTeamId: Int,
1035        $activeOnly: Boolean,
1036        $pastOnly: Boolean,
1037        $arcType: Int,
1038        $sites: Int,
1039        $minLength: Int,
1040        $maxLength: Int,
1041        $audiences: [Int!],
1042        $languages: [Int!],
1043        $canReviewInDays: Int,
1044        $categoryId: Int,
1045        $categoryIds: [Int!],
1046        $groupByStatus: Int,
1047        $countOnly: Boolean,
1048        $participationTypes: [Int!],
1049        $releaseDateTypes: [Int!],
1050        $authors: [Int!]
1051      ) {
1052        groupedEligibleArcsCount (
1053          needle: $needle,
1054          skip: $skip,
1055          take: $take,
1056          sortBy: $sortBy,
1057          descending: $descending,
1058          penNameId: $penNameId,
1059          hasComeViaLink: $hasComeViaLink,
1060          arcTeamId: $arcTeamId,
1061          activeOnly: $activeOnly,
1062          pastOnly: $pastOnly,
1063          arcType: $arcType,
1064          sites: $sites,
1065          minLength: $minLength,
1066          maxLength: $maxLength,
1067          audiences: $audiences,
1068          languages: $languages,
1069          canReviewInDays: $canReviewInDays,
1070          categoryId: $categoryId,
1071          categoryIds: $categoryIds,
1072          groupByStatus: $groupByStatus,
1073          countOnly: $countOnly,
1074          participationTypes: $participationTypes,
1075          releaseDateTypes: $releaseDateTypes,
1076          authors: $authors
1077        ) {
1078          authorTeamCount,
1079          allCount,
1080          savedCount
1081        }
1082      }
1083    `}),k=e=>(0,d.L)().query({variables:Object.assign({},e),query:r.J1`
1084      query GetGroupedEligibleArcs (
1085        $needle: String,
1086        $skip: Int,
1087        $take: Int,
1088        $sortBy: String,
1089        $descending: Boolean,
1090        $penNameId: Int
1091        $hasComeViaLink: Boolean,
1092        $arcTeamId: Int,
1093        $activeOnly: Boolean,
1094        $pastOnly: Boolean,
1095        $arcType: Int,
1096        $sites: Int,
1097        $minLength: Int,
1098        $maxLength: Int,
1099        $audiences: [Int!],
1100        $languages: [Int!],
1101        $canReviewInDays: Int,
1102        $categoryId: Int,
1103        $categoryIds: [Int!],
1104        $groupByStatus: Int,
1105        $participationTypes: [Int!],
1106        $releaseDateTypes: [Int!],
1107        $authors: [Int!]
1108      ) {
1109        groupedEligibleArcs (
1110          needle: $needle,
1111          skip: $skip,
1112          take: $take,
1113          sortBy: $sortBy,
1114          descending: $descending,
1115          penNameId: $penNameId,
1116          hasComeViaLink: $hasComeViaLink,
1117          arcTeamId: $arcTeamId,
1118          activeOnly: $activeOnly,
1119          pastOnly: $pastOnly,
1120          arcType: $arcType,
1121          sites: $sites,
1122          minLength: $minLength,
1123          maxLength: $maxLength,
1124          audiences: $audiences,
1125          languages: $languages,
1126          canReviewInDays: $canReviewInDays,
1127          categoryId: $categoryId,
1128          categoryIds: $categoryIds,
1129          groupByStatus: $groupByStatus,
1130          participationTypes: $participationTypes,
1131          releaseDateTypes: $releaseDateTypes,
1132          authors: $authors
1133        ) {
1134          allCount,
1135          authorTeamCount,
1136          savedCount,
1137          result {
1138            totalRows,
1139            items {
1140              ...ArcFragment
1141            }
1142          }
1143        }
1144      }
1145      ${n.M.arc}
1146    `}).then(e=>Object.assign(Object.assign({},e),{result:{totalRows:e.result.totalRows,items:e.result.items.map(l.y4)}})),O=e=>(0,d.L)().query({variables:Object.assign({},e),query:r.J1`
1147      query GetEligibleArcs (
1148        $needle: String,
1149        $skip: Int,
1150        $take: Int,
1151        $sortBy: String,
1152        $descending: Boolean,
1153        $penNameId: Int
1154        $hasComeViaLink: Boolean,
1155        $arcTeamId: Int,
1156        $activeOnly: Boolean,
1157        $pastOnly: Boolean,
1158        $arcType: Int,
1159        $sites: Int,
1160        $minLength: Int,
1161        $maxLength: Int,
1162        $audiences: [Int!],
1163        $languages: [Int!],
1164        $canReviewInDays: Int,
1165        $categoryId: Int,
1166        $categoryIds: [Int!],
1167        $allUserOwned: Boolean,
1168        $excludeArcId: Int,
1169        $allowOwnClaim: Boolean,
1170        $penName: String,
1171        $participationTypes: [Int!],
1172        $releaseDateTypes: [Int!],
1173        $authors: [Int!]
1174      ) {
1175        eligibleArcs (
1176          needle: $needle,
1177          skip: $skip,
1178          take: $take,
1179          sortBy: $sortBy,
1180          descending: $descending,
1181          penNameId: $penNameId,
1182          hasComeViaLink: $hasComeViaLink,
1183          arcTeamId: $arcTeamId,
1184          activeOnly: $activeOnly,
1185          pastOnly: $pastOnly,
1186          arcType: $arcType,
1187          sites: $sites,
1188          minLength: $minLength,
1189          maxLength: $maxLength,
1190          audiences: $audiences,
1191          languages: $languages,
1192          canReviewInDays: $canReviewInDays,
1193          categoryId: $categoryId,
1194          categoryIds: $categoryIds,
1195          allUserOwned: $allUserOwned,
1196          excludeArcId: $excludeArcId,
1197          allowOwnClaim: $allowOwnClaim,
1198          penName: $penName,
1199          participationTypes: $participationTypes,
1200          releaseDateTypes: $releaseDateTypes,
1201          authors: $authors
1202        ) {
1203          totalRows,
1204          items {
1205            ...ArcFragment
1206          }
1207        }
1208      }
1209      ${n.M.arc}
1210    `}).then(e=>({totalRows:e.totalRows,items:e.items.map(l.y4)})),S=(e=[])=>e.reduce((e,t)=>
1210e|t,0),I=(e=0)=>{const t=[a.jGy.BOOKS.LANGUAGE_FLAGS.FLAGS.ENGLISH,a.jGy.BOOKS.LANGUAGE_FLAGS.FLAGS.SPANISH,a.jGy.BOOKS.LANGUAGE_FLAGS.FLAGS.GERMAN,a.jGy.BOOKS.LANGUAGE_FLAGS.FLAGS.FRENCH,a.jGy.BOOKS.LANGUAGE_FLAGS.FLAGS.ITALIAN,a.jGy.BOOKS.LANGUAGE_FLAGS.FLAGS.PORTUGUESE,a.jGy.BOOKS.LANGUAGE_FLAGS.FLAGS.OTHER];return t.filter(t=>(e&t)===t)},T=()=>({selectedArcType:-1,sites:a.jGy.ARCS.REVIEWS.ALL_FLAGS,reviewInDays:0,minLength:a.jGy.BOOKS.WORD_COUNT_RANGE.MIN,maxLength:a.jGy.BOOKS.WORD_COUNT_RANGE.MAX,audienceTypes:[1,2,3,4],languages:[a.jGy.BOOKS.LANGUAGE_FLAGS.FLAGS.ENGLISH,a.jGy.BOOKS.LANGUAGE_FLAGS.FLAGS.SPANISH,a.jGy.BOOKS.LANGUAGE_FLAGS.FLAGS.GERMAN,a.jGy.BOOKS.LANGUAGE_FLAGS.FLAGS.FRENCH,a.jGy.BOOKS.LANGUAGE_FLAGS.FLAGS.ITALIAN,a.jGy.BOOKS.LANGUAGE_FLAGS.FLAGS.PORTUGUESE,a.jGy.BOOKS.LANGUAGE_FLAGS.FLAGS.OTHER],searchValue:"",prependSearchValue:"",categoryId:-1,categoryIds:[],advancedFilterCall:!1,appliedCount:0,sortBy:a.jGy.ARCS.SORTING.RECOMMENDED,activeFiltersString:"",currentPage:1,authors:[0],releaseDateTypes:[1,2],participationTypes:[1,2],expandedFilters:["ef:s","ef:c","ef:a","ef:lg","ef:f","ef:r","ef:av","ef:au","ef:w","ef:t"],displayResultsAs:"list"}),E=e=>{const t=T();let o=0;for(const i in e)if(e.hasOwnProperty(i)&&!["advancedFilterCall","appliedCount"].includes(i)){let r=e[i]===t[i];Array.isArray(e[i])&&(r=e[i].length===t[i].length),r||o++}return o},C=e=>{var t,o;return(null===(t=e.book)||void 0===t?void 0:t.audience)===a.jGy.BOOKS.AUDIENCE_TYPE.EXPLICIT||(null===(o=e.book)||void 0===o?void 0:o.audience)===a.jGy.BOOKS.AUDIENCE_TYPE.MATURE},P=e=>j(a.jGy.ARCS.CLAIMS.FILE_TYPE.EPUB,e)||j(a.jGy.ARCS.CLAIMS.FILE_TYPE.PDF,e),j=(e,t)=>{var o,i;let r;switch(e){case a.jGy.ARCS.CLAIMS.FILE_TYPE.EPUB:r=null===(o=t.book)||void 0===o?void 0:o.epubFileSizeBytes;break;case a.jGy.ARCS.CLAIMS.FILE_TYPE.PDF:r=null===(i=t.book)||void 0===i?void 0:i.pdfFileSizeBytes;break}return!!r&&r<m},$=e=>{const t=(0,l.Sr)(e.reviewFlags);return e.requiredReviewCount-t},L=(e,t)=>{const o=v(a.jGy.ARCS.REVIEWS.FLAGS,[]),i=(0,a.C5f)(e)[0],r=t[i.fieldName];switch(e){case o.BARNES:return r+"#reviews";case o.KOBO:return r+"#ratings-and-reviews";case o.GOOGLE:return r+"&showAllReviews=true";case o.AUDIBLE_US:return r+"#customer-reviews";case o.AUDIBLE_UK:return r+"#customer-reviews";default:return r}},N=(e,t,o)=>{var i;if(!t.book)return;const r=v(a.jGy.ARCS.REVIEWS.FLAGS,[]);switch(e){case r.AMAZON:return(0,a.m88)(t.book.linkAmazonAsinPrint)?`https://www.amazon.com/gp/product/${t.book.linkAmazonAsinPrint}`:(0,a.m88)(t.book.linkAmazonAsin)?`https://www.amazon.com/gp/product/${t.book.linkAmazonAsin}`:"";case r.BARNES:case r.AUDIO_BARNES:{const e=t.arcType===a.jGy.ARCS.TYPE.EBOOK?t.book.linkBarnes:t.book.linkBarnesAudio;return e||`https://www.barnesandnoble.com/s/${t.book.title}`}case r.KOBO:case r.AUDIO_KOBO:{let e=t.arcType===a.jGy.ARCS.TYPE.EBOOK?t.book.linkKobo:t.book.linkKoboAudio;if(!e)return`https://www.kobo.com/us/en/search?query=${t.book.title}`;e+="#ratings-and-reviews";const o=/www.kobo.com(.*\/)ebook/gi,i=o.exec(e);return i?e.replace(i[1],"/"):e}case r.ITUNES:case r.AUDIO_ITUNES:{let e=t.arcType===a.jGy.ARCS.TYPE.EBOOK?t.book.linkITunes:t.book.linkITunesAudio;return e?(e=e.substring(0,e.includes("?")?e.lastIndexOf("?"):e.length),e+="?at=1001l9EK",e):`https://www.apple.com/us/search/${t.book.title}`}case r.AUDIBLE_US:return t.book.linkAudibleUs?t.book.linkAudibleUs+"#customer-reviews":void 0;case r.AUDIBLE_UK:return t.book.linkAudibleUk?t.book.linkAudibleUk+"#customer-reviews":void 0;case r.AUDIBLE:return(null===o||void 0===o?void 0:o.selectedAudioSiteFlag)===a.jGy.ARCS.REVIEWS.FLAGS.AUDIBLE_US&&t.book.linkAudibleUs?t.book.linkAudibleUs+"#customer-reviews":(null===o||void 0===o?void 0:o.selectedAudioSiteFlag)===a.jGy.ARCS.REVIEWS.FLAGS.AUDIBLE_UK&&t.book.linkAudibleUk?t.book.linkAudibleUk+"#customer-reviews":void 0;case r.GOOD_READS:case r.AUDIO_GOODREADS:{const e=t.arcType===a.jGy.ARCS.TYPE.EBOOK?t.book.linkGoodreads:t.book.linkGoodreadsAudio;return e||`https://www.goodreads.com/search?q=${t.book.title}`}case r.BOOK_BUB:case r.AUDIO_BOOK_BUB:{const e=t.arcType===a.jGy.ARCS.TYPE.EBOOK?t.book.linkBookbub:t.book.linkBookbubAudio;return e||`https://www.bookbub.com/search?search=${t.book.title}`}case r.GOOGLE:case r.AUDIO_GOOGLE:{const e=t.arcType===a.jGy.ARCS.TYPE.EBOOK?t.book.linkGoogle:t.book.linkGoogleAudio;return e||`https://play.google.com/store/search?q=${t.book.title}&c=books`}case r.SMASH_WORDS:return t.book.linkSmashwords?t.book.linkSmashwords:`https://www.smashwords.com/books/titles/${t.book.title}`;case r.STORY_GRAPH:case r.AUDIO_STORY_GRAPH:{const e=t.arcType===a.jGy.ARCS.TYPE.EBOOK?t.book.linkStoryGraph:t.book.linkStoryGraphAudio,o=null===(i=null===e||void 0===e?void 0:e.match(/\/books\/([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})/i))||void 0===i?void 0:i[1];return o?`https://app.thestorygraph.com/reviews/new?book_id=${o}`:`https://app.thestorygraph.com/browse?search_term=${t.book.title}`}default:return""}},F=e=>Array.from(new Set(e)).map(e=>{switch(e){case"topArc":return"\n          topArc {\n            id,\n            totalClaims,\n            daysLeft,\n            book {\n              title,\n              bookCover,\n              penName,\n              authorPenName {\n                name\n              }\n            }\n          }\n        ";default:return e}}).join("\n"),B=(e=y)=>{const t=F(e);return(0,d.L)().query({query:r.J1`
1211      query GetArcWebStats {
1212        arcWebStats {
1213          ${t}
1214        }
1215      }
1216    `})},x=()=>(0,d.L)().query({query:r.J1`
1217      query UserArcStats {
1218        userArcStats {
1219          arcReviewCount,
1220          arcReviewUserCount,
1221          arcLiveCount,
1222          authorCount,
1223          totalArcCount
1224        }
1225      }
1226    `}),U=e=>(0,d.L)().query({variables:{id:e},query:r.J1`
1227      query ArcAvailableDownloadCodeCounts ( $id: Int!) {
1228        arcAvailableDownloadCodeCounts (id: $id) {
1229          site,
1230          count
1231        }
1232      }
1233    `}),_=e=>(0,d.L)().query({variables:{id:e},query:r.J1`
1234      query ArcUsedDownloadCodes ( $id: Int!) {
1235        arcUsedDownloadCodes (id: $id) {
1236          code
1237        }
1238      }
1239    `}),M=e=>(0,d.L)().mutate({variables:{id:e},mutation:r.J1`
1240      mutation ClaimAppleBooksCode ($id: Int!) {
1241        claimAppleBooksCode (id: $id)
1242      }
1243    `}),G=e=>(0,d.L)().query({variables:Object.assign({},e),query:r.J1`
1244      query GetActiveArcDates (
1245        $excludeArcId: Int
1246      ) {
1247        getActiveArcDates (
1248          excludeArcId: $excludeArcId
1249        ) {
1250          key,
1251          value
1252        }
1253      }
1254    `}),q=e=>(0,d.L)().query({variables:{id:e},query:r.J1`
1255      query GetArcFollowerStats (
1256        $id: Int!
1257      ) {
1258        getArcFollowerStats (
1259          id: $id
1260        ) {
1261          penNameFollowerCount,
1262          arcTeamFollowerCount,
1263          arcTeamMemberCount
1264        }
1265      }
1266    `}),V=()=>(0,d.L)().query({query:r.J1`
1267      query GetArcTotalOverdueDays {
1268        getArcTotalOverdueDays
1269      }
1270    `}),W=(e,t)=>p(void 0,void 0,void 0,function*(){const o=JSON.parse(s.A.getItem("view_tracker")+"");if(!o)return!1;const i=o[e]&&o[e][t]?o[e][t]:void 0;return!!(i&&i>Date.now()/1e3-3600)}),Y=(e,t)=>p(void 0,void 0,void 0,function*(){let o=JSON.parse(s.A.getItem("view_tracker")+"");o?o[e]?o[e][t]=Date.now()/1e3:o[e]={[t]:Date.now()/1e3}:o={[e]:{[t]:Date.now()/1e3}},s.A.set("view_tracker",JSON.stringify(o))}),H=e=>p(void 0,void 0,void 0,function*(){yield(0,d.L)().mutate({variables:{id:e},mutation:r.J1`
1271      mutation AddViewToArc (
1272        $id: Int!
1273      ) {
1274        addViewToArc(id: $id) {
1275          id
1276        }
1277      }
1278    `})}),K=e=>p(void 0,void 0,void 0,function*(){yield(0,d.L)().mutate({variables:{id:e},mutation:r.J1`
1279      mutation AddImpressionToArc (
1280        $id: Int!
1281      ) {
1282        addImpressionToArc(id: $id) {
1283          id
1284        }
1285      }
1286    `})}),z=(0,u.N)("arc"),J=Object.assign(Object.assign({},z),{addReview:f,translateReview:b,deleteReview:w,addSiteReview:A,reportPirate:g,getReportedPirateCount:h,getArcSites:a.h7u,getArcSitesFromFlags:a.C5f,getArcSitesFromFlagsExcludingCountrySpecificAudible:D,isValidReviewLink:a.Trt,countSiteFlags:l.Sr,getEligibleGroupedCount:R,getEligibleGrouped:k,getEligible:O,getLanguageFlags:S,getLanguagesFromFlags:I,resetFindArcFilters:T,getFindArcFilterCount:E,shouldShowExplicitTag:C,sizeAllowsEmail:P,canEmail:j,getOptionalReviewCount:$,getAuthorReviewsLinkForSite:L,getReviewLinkForSite:N,getWebStats:B,getUserStats:x,arcAvailableDownloadCodeCounts:U,getUsedDownloadCodes:_,claimAppleBooksCode:M,getActiveArcDates:G,getArcFollowerStats:q,getArcTotalOverdueDays:V,hasAlreadyCounted:W,trackUserCounted:Y,addViewToArc:H,addImpressionToArc:K,globalLoader(e){return z.setGlobalLoader(e),J}});function X(){return J}},50763(e,t,o){"use strict";o.d(t,{e:()=>N});var i=o(27805),r=o(57457),a=o(88410),n=o(79675),s=o(65732),l=o(97543),d=o(56265),c=o(34393),u=o(2533),p=o(9631),v=o(52248),m=function(e,t,o,i){function r(e){return e instanceof o?e:new o(function(t){t(e)})}return new(o||(o=Promise))(function(o,a){function n(e){try{l(i.next(e))}catch(e){a(e)}}function s(e){try{l(i["throw"](e))}catch(e){a(e)}}function l(e){e.done?o(e.value):r(e.value).then(n,s)}l((i=i.apply(e,t||[])).next())})};const y=e=>(0,c.L)().query({variables:Object.assign({},e),query:n.J1`
1287      query GetArcs (
1288        $needle: String,
1289        $activeOnly: Boolean,
1290        $scheduledOnly: Boolean,
1291        $finishedOnly: Boolean,
1292        $draftOnly: Boolean,
1293        $skip: Int,
1294        $take: Int,
1295        $sortBy: String,
1296        $descending: Boolean,
1297        $arcType: Int,
1298        $withNewReviewActivityStatus: Boolean,
1299        $forUserId: Int
1300      ) {
1301        arcs (
1302          needle: $needle,
1303          activeOnly: $activeOnly,
1304          scheduledOnly: $scheduledOnly,
1305          finishedOnly: $finishedOnly,
1306          draftOnly: $draftOnly,
1307          skip: $skip,
1308          take: $take,
1309          sortBy: $sortBy,
1310          descending: $descending,
1311          arcType: $arcType,
1312          withNewReviewActivityStatus: $withNewReviewActivityStatus,
1313          forUserId: $forUserId
1314        ) {
1315          totalRows,
1316          items {
1317            ...ArcFragment
1318          }
1319        }
1320      }
1321      ${l.M.arc}
1322    `}).then(e=>({totalRows:e.totalRows,items:e.items.map(d.y4)})),g=(e,t)=>void 0===e?Promise.reject(new Error("Missing id.")):(0,c.L)().query({variables:Object.assign({id:e},t),query:n.J1`
1323      query GetArc (
1324        $id: Int!,
1325        $genericSearch: Boolean,
1326        $allowOwnClaim: Boolean,
1327        $skipEligibleCheck: Boolean
1328      ) {
1329        arc (id: $id, genericSearch: $genericSearch, allowOwnClaim: $allowOwnClaim, skipEligibleCheck: $skipEligibleCheck) {
1330          ...ArcFragment
1331        }
1332      }
1333      ${l.M.arc}
1334    `}).then(e=>(0,d.y4)(e)),h=(e,t)=>(0,c.L)().query({variables:Object.assign({id:e},t),query:n.J1`
1335      query GetEligibleArc (
1336        $id: Int!,
1337        $genericSearch: Boolean
1338      ) {
1339        eligibleArc (id: $id, genericSearch: $genericSearch) {
1340          isEligible,
1341          arc {
1342            ...ArcFragment
1343          }
1344        }
1345      }
1346      ${l.M.arc}
1347    `}).then(e=>({isEligible:e.isEligible,arc:(0,d.y4)(e.arc)}
1347)),f=e=>({specialInformation:e.specialInformation,arcType:e.arcType,discoverableType:e.discoverableType,participationType:e.participationType,participationPreventionType:e.participationPreventionType,siteWideParticipationPreventionType:e.siteWideParticipationPreventionType,copyCountType:e.copyCountType,copyCount:e.copyCount,seriesLimitType:e.seriesLimitType,reviewFlags:e.reviewFlags,optionalReviewFlags:e.optionalReviewFlags,requiredReviewCount:e.requiredReviewCount,liveDate:e.liveDate,reviewDays:e.reviewDays,stopDownloadDate:e.stopDownloadDate,neverEndingPrivate:e.neverEndingPrivate,bookId:e.bookId,arcTeamId:e.arcTeamId,usDownloadCodes:e.usDownloadCodes,ukDownloadCodes:e.ukDownloadCodes,authorsDirectDownloadCodes:e.authorsDirectDownloadCodes,koboDownloadCodes:e.koboDownloadCodes,vipExclusiveAccessDays:e.vipExclusiveAccessDays,dueDate:e.dueDate,alertFlags:e.alertFlags,liveDateStr:e.liveDateStr,stopDownloadDateStr:e.stopDownloadDateStr,dueDateStr:e.dueDateStr}),b=e=>{if(!e.bookId){const t=new Error("CreateArc called without bookId");return a.v4(o=>{o.setTag("operation","CreateArc"),o.setContext("arcModel",{bookId:e.bookId,arcType:e.arcType,arcTeamId:e.arcTeamId}),r.Cp(t)}),Promise.reject(t)}return(0,c.L)().mutate({variables:Object.assign({},f(e)),mutation:n.J1`
1348      mutation CreateArc (
1349        $specialInformation: String,
1350        $arcType: Int,
1351        $discoverableType: Int,
1352        $participationType: Int,
1353        $participationPreventionType: Int,
1354        $siteWideParticipationPreventionType: Int,
1355        $copyCountType: Int,
1356        $copyCount: Int,
1357        $seriesLimitType: Int,
1358        $reviewFlags: Int,
1359        $optionalReviewFlags: Int,
1360        $requiredReviewCount: Int,
1361        $liveDate: DateTime,
1362        $reviewDays: Int,
1363        $stopDownloadDate: DateTime,
1364        $neverEndingPrivate: Boolean,
1365        $bookId: Int!,
1366        $arcTeamId: Int,
1367        $usDownloadCodes: String,
1368        $ukDownloadCodes: String,
1369        $authorsDirectDownloadCodes: String,
1370        $koboDownloadCodes: String,
1371        $vipExclusiveAccessDays: Int,
1372        $dueDate: DateTime,
1373        $alertFlags: Int,
1374        $liveDateStr: String,
1375        $stopDownloadDateStr: String,
1376        $dueDateStr: String
1377      ) {
1378        createArc (
1379          specialInformation: $specialInformation,
1380          arcType: $arcType,
1381          discoverableType: $discoverableType,
1382          participationType: $participationType,
1383          participationPreventionType: $participationPreventionType,
1384          siteWideParticipationPreventionType: $siteWideParticipationPreventionType,
1385          copyCountType: $copyCountType,
1386          copyCount: $copyCount,
1387          seriesLimitType: $seriesLimitType,
1388          reviewFlags: $reviewFlags,
1389          optionalReviewFlags: $optionalReviewFlags,
1390          requiredReviewCount: $requiredReviewCount,
1391          liveDate: $liveDate,
1392          reviewDays: $reviewDays,
1393          stopDownloadDate: $stopDownloadDate,
1394          neverEndingPrivate: $neverEndingPrivate,
1395          bookId: $bookId,
1396          arcTeamId: $arcTeamId,
1397          usDownloadCodes: $usDownloadCodes,
1398          ukDownloadCodes: $ukDownloadCodes,
1399          authorsDirectDownloadCodes: $authorsDirectDownloadCodes,
1400          koboDownloadCodes: $koboDownloadCodes,
1401          vipExclusiveAccessDays: $vipExclusiveAccessDays,
1402          dueDate: $dueDate,
1403          alertFlags: $alertFlags,
1404          liveDateStr: $liveDateStr,
1405          stopDownloadDateStr: $stopDownloadDateStr,
1406          dueDateStr: $dueDateStr
1407        ) {
1408          ...ArcFragment
1409        }
1410      }
1411      ${l.M.arc}
1412    `}).then(e=>(0,d.y4)(e)||new s.C8e)},w=e=>{if(!e.bookId){const t=new Error("UpdateArc called without bookId");return a.v4(o=>{o.setTag("operation","UpdateArc"),o.setContext("arcModel",{id:e.id,bookId:e.bookId,arcType:e.arcType,arcTeamId:e.arcTeamId}),r.Cp(t)}),Promise.reject(t)}return(0,c.L)().mutate({variables:Object.assign({id:e.id},f(e)),mutation:n.J1`
1413      mutation UpdateArc (
1414        $id: Int!,
1415        $specialInformation: String,
1416        $arcType: Int,
1417        $discoverableType: Int,
1418        $participationType: Int,
1419        $participationPreventionType: Int,
1420        $siteWideParticipationPreventionType: Int,
1421        $copyCountType: Int,
1422        $copyCount: Int,
1423        $seriesLimitType: Int,
1424        $reviewFlags: Int,
1425        $optionalReviewFlags: Int,
1426        $requiredReviewCount: Int,
1427        $liveDate: DateTime,
1428        $reviewDays: Int,
1429        $stopDownloadDate: DateTime,
1430        $neverEndingPrivate: Boolean,
1431        $bookId: Int!,
1432        $arcTeamId: Int,
1433        $usDownloadCodes: String,
1434        $ukDownloadCodes: String,
1435        $authorsDirectDownloadCodes: String,
1436        $koboDownloadCodes: String,
1437        $vipExclusiveAccessDays: Int,
1438        $dueDate: DateTime,
1439        $alertFlags: Int,
1440        $liveDateStr: String,
1441        $stopDownloadDateStr: String,
1442        $dueDateStr: String
1443      ) {
1444        updateArc (
1445          id: $id,
1446          specialInformation: $specialInformation,
1447          arcType: $arcType,
1448          discoverableType: $discoverableType,
1449          participationType: $participationType,
1450          participationPreventionType: $participationPreventionType,
1451          siteWideParticipationPreventionType: $siteWideParticipationPreventionType,
1452          copyCountType: $copyCountType,
1453          copyCount: $copyCount,
1454          seriesLimitType: $seriesLimitType,
1455          reviewFlags: $reviewFlags,
1456          optionalReviewFlags: $optionalReviewFlags,
1457          requiredReviewCount: $requiredReviewCount,
1458          liveDate: $liveDate,
1459          reviewDays: $reviewDays,
1460          stopDownloadDate: $stopDownloadDate,
1461          neverEndingPrivate: $neverEndingPrivate,
1462          bookId: $bookId,
1463          arcTeamId: $arcTeamId,
1464          usDownloadCodes: $usDownloadCodes,
1465          ukDownloadCodes: $ukDownloadCodes,
1466          authorsDirectDownloadCodes: $authorsDirectDownloadCodes,
1467          koboDownloadCodes: $koboDownloadCodes,
1468          vipExclusiveAccessDays: $vipExclusiveAccessDays,
1469          dueDate: $dueDate,
1470          alertFlags: $alertFlags,
1471          liveDateStr: $liveDateStr,
1472          stopDownloadDateStr: $stopDownloadDateStr,
1473          dueDateStr: $dueDateStr
1474        ) {
1475          ...ArcFragment
1476        }
1477      }
1478      ${l.M.arc}
1479    `}).then(e=>(0,d.y4)(e)||new s.C8e)},A=e=>(0,c.L)().query({variables:{id:e},query:n.J1`
1480      query CheckDeleteArc ($id: Int!) {
1481        checkDeleteArc (id: $id) {
1482          count,
1483          dtoTypeName,
1484          ids
1485        }
1486      }
1487    `}),D=e=>(0,c.L)().mutate({variables:{id:e},mutation:n.J1`
1488      mutation ConfirmDeleteArc (
1489        $id: Int!
1490      ) {
1491        confirmDeleteArc(id: $id) {
1492          id
1493        }
1494      }
1495    `}),R=(e,t)=>({url:$.getApiControllerUrl("report-pirate"),withCredentials:!0,headers:[{name:"Authorization",value:`Bearer ${i.A.authToken}`},{name:"CSRF-Token",value:i.A.csrfToken}],formFields:[{name:"bookId",value:t.bookId},{name:"fileName",value:e[0].name},{name:"link",value:t.link}]}),k=(e,t)=>(0,c.L)().mutate({variables:{bookId:e,reason:t},mutation:n.J1`
1496      mutation SendBookFileUpdateNotification (
1497        $bookId: Int!
1498        $reason: Int!
1499      ) {
1500        sendBookFileUpdateNotification (
1501          bookId: $bookId
1502          reason: $reason
1503        )
1504      }
1505    `}),O=e=>
1505(0,c.L)().mutate({variables:Object.assign({},e),mutation:n.J1`
1506      mutation EndImmediately (
1507        $id: Int!
1508      ) {
1509        endImmediately (
1510          id: $id
1511        ) {
1512          ...ArcFragment
1513        }
1514      },
1515      ${l.M.arc}
1516    `}),S=e=>(0,c.L)().query({variables:Object.assign({},e),query:n.J1`
1517      query GetArcNotifications (
1518        $id: Int!
1519        $notificationCodes: [String!]!
1520      ) {
1521        arcNotifications (
1522          id: $id
1523          notificationCodes: $notificationCodes
1524        ) {
1525          notification {
1526            id,
1527            active,
1528            code,
1529            lastQueuedDate,
1530            templateId,
1531            typeFlags,
1532            status,
1533            statusDate,
1534            userAwaitingNotificationCount,
1535            userNotificationCount
1536          },
1537          sentCount,
1538          totalCount
1539        }
1540      }
1541    `}),I=e=>(0,c.L)().query({variables:{id:e},query:n.J1`
1542      query GetArcReviews (
1543        $id: Int!
1544      ) {
1545        arcReviews (id: $id) {
1546          id,
1547          claim {
1548            id,
1549            userId,
1550            status,
1551            canFollowTeam,
1552            arc {
1553              id,
1554              book {
1555                title
1556              }
1557            },
1558            user {
1559              id,
1560              name,
1561              image,
1562            }
1563          },
1564          createdDate,
1565          disclaimer,
1566          privateFeedback,
1567          title,
1568          review,
1569          reviewLanguage,
1570          translatedReview,
1571          rating,
1572          sites {
1573            id,
1574            link,
1575            site,
1576            status,
1577            statusDate,
1578            statusReason,
1579            exempt
1580          },
1581          userId
1582        }
1583      }
1584    `}),T=e=>(0,c.L)().query({variables:Object.assign({},e),query:n.J1`
1585      query GetDuplicateRunningOrScheduledArcs (
1586        $bookId: Float
1587        $arcType: Float
1588        $currentArcId: Float
1589      ) {
1590        getDuplicateRunningOrScheduledArcs (
1591          bookId: $bookId,
1592          arcType: $arcType,
1593          currentArcId: $currentArcId
1594        ) {
1595          id,
1596          bookId,
1597          arcType,
1598          liveDate,
1599          stopDownloadDate
1600        }
1601      }
1602    `}),E=e=>m(void 0,void 0,void 0,function*(){yield(0,c.L)().mutate({variables:{id:e},mutation:n.J1`
1603      mutation SaveArc (
1604        $id: Int!
1605      ) {
1606        saveArc(id: $id) {
1607          id
1608        }
1609      }
1610    `})}),C=e=>m(void 0,void 0,void 0,function*(){yield(0,c.L)().mutate({variables:{id:e},mutation:n.J1`
1611      mutation UnsaveArc (
1612        $id: Int!
1613      ) {
1614        unsaveArc(id: $id) {
1615          id
1616        }
1617      }
1618    `})}),P=e=>(0,u.q)().axios().post("arc/full-url-from-short-url",{url:e}).then(e=>e.data),j=e=>m(void 0,void 0,void 0,function*(){const t=Object.assign(Object.assign({},e),{bookId:e.bookId||0});if(e.arcType===s.jGy.ARCS.TYPE.AUDIO_BOOK){const o=yield(0,v.N)().getUsedDownloadCodes(e.id);if(o){const i=e=>{if(!e)return e;const t=e.split(",").filter(Boolean),i=t.filter(e=>!o.some(t=>t.code===e));return i.length>0?i.join(","):""};t.usDownloadCodes=i(e.usDownloadCodes),t.ukDownloadCodes=i(e.ukDownloadCodes),t.authorsDirectDownloadCodes=i(e.authorsDirectDownloadCodes),t.koboDownloadCodes=i(e.koboDownloadCodes)}}const o=["liveDate","stopDownloadDate","dueDate","dueCutOffDate","liveDateStr","stopDownloadDateStr","dueDateStr","dueCutOffDateStr","createdDate","updatedDate"];return o.forEach(e=>delete t[e]),L.create(t)}),$=(0,p.N)("arc"),L=Object.assign(Object.assign({},$),{get:y,getById:g,getEligibleById:h,createUpdateVars:f,create:b,update:w,checkDelete:A,delete:D,endImmediately:O,sendBookFileUpdateNotification:k,getNotifications:S,getReviews:I,getDuplicateRunningOrScheduledArcs:T,fullUrlFromShortUrl:P,duplicate:j,reportFileFactory:R,saveArc:E,unsaveArc:C,globalLoader(e){return $.setGlobalLoader(e),L}});function N(){return L}},97543(e,t,o){"use strict";var i=o(79675);const r={claim:i.J1`
1619    fragment ArcClaimFragment on ArcClaimDto {
1620      id,
1621      createdDate,
1622      status,
1623      statusDate,
1624      cancellationReason,
1625      cancellationType,
1626      downloadCode,
1627      downloadCodeExpirationDate,
1628      reviewFlags,
1629      optionalReviewFlags,
1630      requiredReviewCount,
1631      state,
1632      selectedAudioSiteFlag,
1633      authorOwnsArc,
1634      lastReadCfi,
1635      dueDate,
1636      overdueDays,
1637      canFollowTeam,
1638      reviewerStatus,
1639      user {
1640        id
1641        name,
1642        image
1643      },
1644      review {
1645        id,
1646        rating,
1647        title,
1648        review,
1649        reviewLanguage,
1650        translatedReview,
1651        privateFeedback,
1652        disclaimer,
1653        createdDate,
1654        updatedDate
1655        sites {
1656          id,
1657          link,
1658          site,
1659          status,
1660          statusDate,
1661          statusReason,
1662          exempt,
1663          state
1664        }
1665      }
1666    }
1667  `,arc:i.J1`
1668    fragment ArcFragment on ArcDto {
1669      id,
1670      isDraft,
1671      status,
1672      userId,
1673      book {
1674        id,
1675        bookCover,
1676        title,
1677        seriesName,
1678        seriesNumber,
1679        penName,
1680        penNameType,
1681        wordCount,
1682        authorPenName {
1683          id,
1684          name,
1685          image,
1686          firstName,
1687          averageRating,
1688          reviewCount,
1689          followers {
1690            id
1691          }
1692        },
1693        linkAmazonAsin,
1694        linkAmazonAsinPrint,
1695        linkAudibleUs,
1696        linkAudibleUk,
1697        linkBarnes,
1698        linkBookbub,
1699        linkGoodreads,
1700        linkGoogle,
1701        linkSmashwords,
1702        linkKobo,
1703        linkITunes,
1704        smashwordsCouponCode,
1705        linkITunesAudio,
1706        linkBarnesAudio,
1707        linkGoogleAudio,
1708        linkGoodreadsAudio,
1709        linkKoboAudio,
1710        linkBookbubAudio,
1711        linkStoryGraph,
1712        linkStoryGraphAudio,
1713        description,
1714        audience,
1715        keywords,
1716        releaseDate,
1717        categories {
1718          id,
1719          name,
1720          translations {
1721            locale
1722            name
1723          }
1724        },
1725        userId,
1726        epubFile,
1727        epubPreviewFile,
1728        epubFileSizeBytes,
1729        pdfFile,
1730        pdfFileSizeBytes,
1731        language
1732      },
1733      arcTeam {
1734        id,
1735        name,
1736        description,
1737        defaultDisclaimer,
1738        userIsFollowing,
1739        averageRating,
1740        reviewCount,
1741        arcTeamMembers {
1742          id,
1743          userId,
1744          status
1745        }
1746      },
1747      claims {
1748        id,
1749        review {
1750          id,
1751          rating,
1752          sites {
1753            id,
1754            status
1755          }
1756        }
1757      },
1758      stats {
1759        reviewCount,
1760        averageRating,
1761        delayedClaimed,
1762        cancelledCount,
1763        newReviewCount,
1764        newReviewActivityCount,
1765        nextNotification {
1766          statusDate,
1767          code
1768        }
1769      }
1770      specialInformation,
1771      arcType,
1772      discoverableType,
1773      participationType,
1774      copyCountType,
1775      copyCount,
1776      seriesLimitType,
1777      reviewFlags,
1778      optionalReviewFlags,
1779      requiredReviewCount,
1780      optionalReviewCount,
1781      calculatedReviewFlags,
1782      calculatedOptionalReviewFlags,
1783      calculatedRequiredReviewCount,
1784      calculatedOptionalReviewCount,
1785      calculatedRequiredSitesCount,
1786      liveDate,
1787      liveDateStr,
1788      reviewDays,
1789      stopDownloadDate,
1790      stopDownloadDateStr,
1791      neverEndingPrivate,
1792      usDownloadCodes,
1793      ukDownloadCodes,
1794      authorsDirectDownloadCodes,
1795      koboDownloadCodes,
1796      participationPreventionType,
1797      siteWideParticipationPreventionType,
1798      dueDate,
1799      dueDateStr,
1800      dueCutOffDate,
1801      dueCutOffDateStr,
1802      vipExclusiveAccessDays,
1803      importedId,
1804      alertFlags,
1805      viewCount,
1806      impressionCount,
1807      fileUpdateNotificationSentDate,
1808      canClaim,
1809      isSaved,
1810      saveCount
1811    }
1812  `},a={reviewClaim:i.J1`
1813    fragment ArcReviewClaimFragment on ArcClaimDto {
1814      ...ArcClaimFragment,
1815      arc {
1816        id,
1817        dueDate,
1818        dueCutOffDate,
1819        viewCount,
1820        impressionCount,
1821        book {
1822          id,
1823          title,
1824          penName,
1825          linkAmazonAsin,
1826          linkAudibleUs,
1827          linkAudibleUk,
1828          linkBarnes,
1829          linkBookbub,
1830          linkGoodreads,
1831          linkGoogle,
1832          linkSmashwords,
1833          linkKobo,
1834          linkITunes,
1835          smashwordsCouponCode,
1836          linkITunesAudio,
1837          linkBarnesAudio,
1838          linkGoogleAudio,
1839          linkGoodreadsAudio,
1840          linkKoboAudio,
1841          linkBookbubAudio,
1842          linkStoryGraph,
1843          linkStoryGraphAudio,
1844          authorPenName {
1845            id,
1846            name,
1847            image
1848          },
1849          bookCover,
1850          description,
1851          userId,
1852          epubFile,
1853          epubPreviewFile
1854        },
1855        arcTeam {
1856          id,
1857          arcTeamMembers {
1858            id
1859            status,
1860            arcTeamId,
1861            user {
1862              id
1863            }
1864          }
1865        }
1866      }
1867    },
1868    ${r.claim}
1869  `};o.d(t,["M",0,r,"U",0,a])},87999(e,t,o){"use strict";o(517),o(90632)},90632(e,t,o){"use strict";o.d(t,{a:()=>w});var i=o(25508),r=o(96447),a=o(65732),n=o(2533),s=o(34393),l=o(15221),d=o(58183),c=o(81626),u=o(96110),p=o(27805),v=o(51381),m=function(e,t,o,i){function r(e){return e instanceof o?e:ne
1869w o(function(t){t(e)})}return new(o||(o=Promise))(function(o,a){function n(e){try{l(i.next(e))}catch(e){a(e)}}function s(e){try{l(i["throw"](e))}catch(e){a(e)}}function l(e){e.done?o(e.value):r(e.value).then(n,s)}l((i=i.apply(e,t||[])).next())})};const y="user-token",g="user-token-expires",h="userSelectedArcFilters",f={path:"/"},b=()=>r.Ay.is.capacitor&&r.Ay.is.ios&&"function"===typeof i.A.getItem;function w(){const e=()=>(0,n.q)().axios(),t=(t,o,i,r)=>e().post("auth/login",{emailAddress:t,password:o,extendLogin:i,reinstateConsent:r}).then(e=>void 0!==e&&401===e.status?null:e.data),o=()=>e().post("auth/logout"),r=t=>e().post("auth/setMimicUser",{id:t?t.id:null}).then(e=>e.data),w=(t,o,i,r)=>e().post("auth/sign-up",{emailAddress:t,password:o,agreeToMarketing:i,forward:r}),A=t=>e().post("auth/request-password-reset",{emailAddress:t}),D=(t,o)=>e().post("auth/user-password-reset",{oldPassword:t,newPassword:o}),R=(t,o)=>e().post("auth/complete-password-reset",{token:t,newPassword:o}),k=(t,o)=>e().post("auth/resend-verification-email",{emailAddress:t,forward:o}),O=(t,o,i)=>e().post("auth/update-user-email",{oldEmailAddress:t,newEmailAddress:o,forward:i}).then(e=>e.data),S=t=>e().post("auth/complete-verification-email",{token:t}).then(e=>e.data),I=t=>e().post("auth/complete-oauth-login-with-email",{emailAddress:t,source:void 0}).then(e=>e.data),T=t=>{const o=i.A.getItem("agreeToMarketing")||!1;return e().post("auth/update-user-role",{role:t,agreedToAllMarketingUpdates:o}).then(e=>e.data)},E=()=>e().get("auth/getCsrfToken",{withCredentials:!0}).then(e=>e.data),C=(t,o,i,r)=>e().post("auth/validateToken",{token:t,loginType:o,source:i,nonce:r}).then(e=>void 0!==e&&401===e.status?null:e.data).catch(e=>(console.error("validateToken error: ",e),null)),P=()=>e().post("auth/authenticated-user").then(e=>{if(e.data.user)return{user:(0,u.b)(e.data.user),mimicUser:e.data.mimicUser?(0,u.b)(e.data.mimicUser):void 0,tokenExpires:e.data.tokenExpires}}),j=(t,o,i)=>e().post("auth/check-for-update",{currentVersion:t,platform:o,env:i}).then(e=>e.data),$=t=>e().post("auth/send-phone-verification",{phoneNumber:t}),L=t=>e().post("auth/complete-verification-phone",{code:t}).then(e=>e.data),N=()=>e().post("auth/resend-verification-phone"),F=()=>{},B=e=>{(0,v.rp)(e),window.GlobalUserData={name:e.name,emailAddress:e.emailAddress,image:e.image,plan:(0,a.xu5)(e.authorRole),userSince:e.createdDate.slice(0,10),stripeUrl:(0,a.dVZ)(e.stripeCustomerId),adminUrl:(0,a.hTK)(e.id,e.name||e.emailAddress)},(0,c.Y)(window.GlobalUserData)},x=e=>{(0,v.xi)(e)},U=e=>{(0,v.NG)(e)},_=e=>{(0,v.dU)(e)},M=()=>m(this,void 0,void 0,function*(){var e;const t=b(),o=t?i.A.getItem(y):void 0,r=t?i.A.getItem(g):parseInt((0,l.l)().get(g)),n={user:new a.Lq4,token:{data:o,expires:r},mimicUser:new a.Lq4};(0,v._U)(n);const s=(new Date).getTime()/1e3;if((n.token.expires||0)>s){const e=yield P();e&&(n.user=e.user,e.mimicUser&&(n.mimicUser=e.mimicUser),(0,v._U)(n))}else if(!t){const t=yield P(),o=(null===t||void 0===t?void 0:t.tokenExpires)||0;(0,a.Kt2)(null===(e=null===t||void 0===t?void 0:t.user)||void 0===e?void 0:e.id)&&o>s&&(n.user=null===t||void 0===t?void 0:t.user,n.token.expires=o,(null===t||void 0===t?void 0:t.mimicUser)&&(n.mimicUser=t.mimicUser),(0,v._U)(n),(0,l.l)().set(g,o.toString(),Object.assign(Object.assign({},f),{expires:new Date(1e3*o)})))}}),G=e=>null===e.loginResult?Promise.reject():!0===e.loginResult.termsConsentFailed?(U(e),Promise.reject()):e.loginResult.termsConsentNeeded?(_(e),Promise.reject()):(B(e.loginResult.user),b()?(i.A.set(y,e.loginResult.token.data),i.A.set(g,e.loginResult.token.expires)):(0,l.l)().set(g,e.loginResult.token.expires.toString(),Object.assign(Object.assign({},f),{expires:new Date(1e3*e.loginResult.token.expires)})),(0,v.bY)(e.loginResult),x(!1),F(),Promise.resolve(e.loginResult)),q=e=>t(e.emailAddress,e.password,e.extendLogin,e.reinstateConsent).then(t=>G({loginResult:t,payload:e})),V=()=>{b()&&(i.A.has(y)&&i.A.remove(y),i.A.has(g)&&i.A.remove(g)),"function"===typeof i.A.remove&&i.A.has(h)&&i.A.remove(h),(0,c.z)(),(0,v.qf)()},W=()=>o().catch(()=>{}).finally(()=>V()),Y=e=>(V(),(0,d.m)().ui.authRequired(e)),H=()=>{(0,d.m)().ui.notifyError("You do not have permission to do this.")},K=e=>r(e).then(e=>G({loginResult:e})),z=()=>(0,s.L)().refreshToken();return{login:t,logout:o,setMimicUser:r,signUp:w,resetPassword:A,userResetPassword:D,completeResetPassword:R,resendEmailVerificationEmail
1869:k,updateUserEmailAddress:O,completeVerificationEmail:S,completeOAuthSignUpWithEmail:I,updateUserSelectedRole:T,getCsrfToken:E,validateToken:C,getAuthenticatedUser:P,checkForUpdate:j,sendPhoneVerification:$,completeVerificationPhone:L,resendPhoneVerification:N,onLoggedIn:F,load:M,request:q,authSuccess:G,clearSession:V,logoutRequest:W,authRequired:Y,invalid:H,mimic:K,setUser:B,setAuthExpired:x,setConsentFailed:U,setConsentNeeded:_,refreshCsrfToken:z,get isAuthenticated(){return p.A.isAuthenticated}}}},27805(e,t,o){"use strict";var i=o(65732),r=o(76596);const a={get isAuthenticated(){var e;const t=(0,r.Ay)();return!!(null===(e=t.user)||void 0===e?void 0:e.id)&&!!t.token.expires&&t.token.expires>(0,i.NqL)().getTime()/1e3},get authToken(){return(0,r.Ay)().token.data},get authenticatedUser(){const e=(0,r.Ay)().user;return null===e?null:Object.assign(Object.assign({},e),{permissionQuery:(new i.n1S).configure(e)})},get mimicUser(){const e=(0,r.Ay)().mimicUser;return(0,i.Kt2)(null===e||void 0===e?void 0:e.id)?Object.assign(Object.assign({},e),{permissionQuery:(new i.n1S).configure(e)}):null},get termsConsentNeeded(){return(0,r.Ay)().termsConsentNeeded},get termsConsentFailed(){return(0,r.Ay)().termsConsentFailed},get termsConsentData(){return(0,r.Ay)().termsConsentData},get csrfToken(){return(0,r.Ay)().csrfToken},get isAuthExpired(){return(0,r.Ay)().authExpired}};o.d(t,["A",0,a])},517(e,t,o){"use strict";o(76596),o(27805)},51381(e,t,o){"use strict";o.d(t,{Hp:()=>v,NG:()=>d,_U:()=>n,bY:()=>s,dU:()=>c,qf:()=>l,rp:()=>p,xi:()=>u});var i=o(65732),r=o(96447),a=o(76596);function n(e){var t;const o=(0,a.Ay)();o.user=e.user,o.token=e.token,(0,i.Kt2)(null===(t=e.mimicUser)||void 0===t?void 0:t.id)&&(o.mimicUser=e.mimicUser)}function s(e){var t;const o=(0,a.Ay)();r.Ay.is.ios?o.token=e.token:o.token={data:"",expires:e.token.expires},o.user=e.user,(0,i.Kt2)(null===(t=e.mimicUser)||void 0===t?void 0:t.id)?o.mimicUser=e.mimicUser:o.mimicUser=void 0}function l(){Object.assign((0,a.Ay)(),(0,a.HN)())}function d(e){if(null===e)return void Object.assign((0,a.Ay)(),(0,a.HN)());const t=(0,a.Ay)();t.termsConsentFailed=e.loginResult.termsConsentFailed,t.user=e.loginResult.user,t.termsConsentData.loginResult=e.loginResult}function c(e){if(null===e)return void Object.assign((0,a.Ay)(),(0,a.HN)());const t=(0,a.Ay)();t.termsConsentNeeded=e.loginResult.termsConsentNeeded,t.user=e.loginResult.user,t.termsConsentData.loginResult=e.loginResult}function u(e){(0,a.Ay)().authExpired=e}function p(e){const t=(0,a.Ay)();void 0!==t.user&&(t.user=e)}function v(e){(0,a.Ay)().csrfToken=e}},76596(e,t,o){"use strict";var i=o(65732),r=o(39786);const a=()=>({csrfToken:"",user:new i.Lq4,token:{data:"",expires:0},mimicUser:new i.Lq4,termsConsentNeeded:!1,termsConsentFailed:!1,termsConsentData:{emailAddress:"",password:"",extendLogin:!0,loginResult:void 0},authExpired:!1}),n=()=>a(),s=(0,r.b)("authentication",a);o.d(t,["Ay",0,s,"HN",0,n])},2533(e,t,o){"use strict";var i=o(55362),r=o(65715),a=o(66226),n=o(10781),s=o(32823),l=o(27805),d=o(51381),c=o(70858);let u,p=!0;const v="__bsLoaderPending",m=e=>{e&&(e[v]=!1),r.A.hide()},y=e=>new Promise((t,o)=>{var i,r,a,n,s,l,u;if((0,c.HY)(e)){(0,d.xi)(!0);const e=new Error((0,c.pQ)("invalidLogin").message);return e.isAuthExpired=!0,o(e)}if((0,c.z7)(e)){if("string"===typeof e.response.data.message)return o(new Error(e.response.data.message));try{const t=e.response.data.message[0];return void 0!==t&&void 0!==t.constraints?o(new Error((0,c.xi)(t.constraints).message)):o(void 0!==t?new Error(t.message):new Error((0,c.pQ)(e.response.data.message.errorCode).message))}catch(e){return o(new Error((0,c.pQ)("somethingWentWrong").message))}}return(null===(a=null===(r=null===(i=null===e||void 0===e?void 0:e.response)||void 0===i?void 0:i.data)||void 0===r?void 0:r.message)||void 0===a?void 0:a.errorCode)?o(new Error((0,c.pQ)(e.response.data.message.errorCode).message)):o(new Error(null!==(u=null!==(l=null===(s=null===(n=null===e||void 0===e?void 0:e.response)||void 0===n?void 0:n.data)||void 0===s?void 0:s.message)&&void 0!==l?l:null===e||void 0===e?void 0:e.message)&&void 0!==u?u:"Request failed"))}),g=()=>{const e=i.A.create({baseURL:(0,s.UK)().config().axios.url,timeout:6e4,withCredentials:!0});return e.interceptors.request.use(e=>{p&&(e[v]=!0,setTimeout(()=>{e[v]&&(r.A.setDefaults({spinner:a.NF}),r.A.show())},200));const t=l.A.authToken;return e.headers=Object.assign(Object.assign(Object.assign({},e.headers),t?{Authorization:"bearer "+t}:{}),{"CSRF-Token":l.A.csrfToken,"Referring-App":(0,n.z7)()?"reviewer":"publisher"}),e},e=>(m(null===e||void 0===e?void 0:e.config),y(e))),e.interceptors.response.use(e=>{var t;return m(e.config),(null===(t=e.data)||void 0===t?void 0:t.offline)&&(window.location.href="/#/maintenance"),e},e=>(m(null===e||void 0===e?void 0:e.config),y(e))),e},h=()=>{const e=()=>(u||(u=g()),u),t=e=>(p=e,h()),o=t=>e().post("auth/live",{},{timeout:5e3}).then(e=>!!e.data.offline&&(!t||t.push("maintenance"))),i=()=>{u=void 0,p=!0};return{axios:e,globalLoader:t,redirectIfOffline:o,reset:i,handleErrorResponse:y}};o.d(t,["q",0,h])},90934(e,t,o){"use strict";var i=o(20639);const r=()=>({book:{service:(0,i.F)()}});o.d(t,["h",0,r])},20639(e,t,o){"use strict";o.d(t,{F:()=>x});var i=o(79675),r=o(65732),a=o(27805),n=o(34393),s=o(2533),l=o(9631),d=function(e,t){var o={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(o[i]=e[i]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(o[i[r]]=e[i[r]])}return o};const c={book:i.J1`
1870    fragment BookFragment on BookDto {
1871      id,
1872      title,
1873      description,
1874      penName,
1875      authorPenNameId,
1876      authorPenName {
1877        id,
1878        name,
1879        image,
1880        averageRating,
1881        followers {
1882          id
1883        }
1884      },
1885      penNameType,
1886      bookCover,
1887      releaseDate,
1888      seriesName,
1889      seriesNumber,
1890      categories {
1891        id,
1892        name,
1893        translations {
1894          locale
1895          name
1896        }
1897        parentCategory {
1898          id,
1899          name
1900        }
1901      },
1902      keywords,
1903      wordCount,
1904      audience,
1905      language,
1906      linkAmazonAsin,
1907      linkAmazonAsinPrint,
1908      linkAudibleUs,
1909      linkAudibleUk,
1910      linkBarnes,
1911      linkBookbub,
1912      linkGoodreads,
1913      linkGoogle,
1914      linkITunes,
1915      linkKobo,
1916      linkSmashwords,
1917      smashwordsCouponCode,
1918      linkITunesAudio,
1919      linkBarnesAudio,
1920      linkGoogleAudio,
1921      linkGoodreadsAudio,
1922      linkKoboAudio,
1923      linkBookbubAudio,
1924      linkStoryGraph,
1925      linkStoryGraphAudio,
1926      isDraft,
1927      averageRating,
1928      reviewCount,
1929      lastArcOn,
1930      newReviewCount,
1931      updatedReviewCount,
1932      importedId,
1933      pdfFile,
1934      pdfFileSizeBytes,
1935      pdfSystemGenerated,
1936      pdfFileDate,
1937      pdfFileFriendlyName,
1938      epubFile,
1939      epubFileSizeBytes,
1940      epubSystemGenerated,
1941      epubPreviewFile,
1942      epubFileDate,
1943      epubFileFriendlyName
1944    }
1945  `,appleBooksCode:i.J1`
1946    fragment BookAppleBooksCodeFragment on BookAppleBooksCodeDto {
1947      id,
1948      code,
1949      expirationDate,
1950      claimed
1951    }
1952  `},u=(e,t)=>
1952new Promise((t,o)=>{const i=new FileReader;i.readAsDataURL(e[0]),i.onload=function(e){const i=new Image;i.src=e.target.result,i.onload=function(){const e=i.height;if(e<415)return o("invalidBookCoverSize");t(!0)}}}),p=(0,l.N)("book",{validateAddPictureFactory:u}),v=e=>null===e||void 0===e?void 0:e.filter(e=>{var t;return Object.prototype.hasOwnProperty.call(e,"parentCategoryId")?"number"===typeof e.parentCategoryId:!Object.prototype.hasOwnProperty.call(e,"parentCategory")||"number"===typeof(null===(t=e.parentCategory)||void 0===t?void 0:t.id)}),m=e=>{const t=v(e.categories);return{title:e.title,description:e.description,penName:e.penName,authorPenNameId:e.authorPenNameId,penNameType:e.penNameType,bookCover:e.bookCover,releaseDate:e.releaseDate,seriesName:e.seriesName,seriesNumber:e.seriesNumber,categories:null===t||void 0===t?void 0:t.map(e=>({id:e.id})),keywords:e.keywords,wordCount:e.wordCount,audience:e.audience,language:e.language,linkAmazonAsin:e.linkAmazonAsin,linkAmazonAsinPrint:e.linkAmazonAsinPrint,linkGoodreads:e.linkGoodreads,linkBookbub:e.linkBookbub,linkBarnes:e.linkBarnes,linkGoogle:e.linkGoogle,linkKobo:e.linkKobo,linkSmashwords:e.linkSmashwords,smashwordsCouponCode:e.smashwordsCouponCode,linkITunes:e.linkITunes,linkAudibleUs:e.linkAudibleUs,linkAudibleUk:e.linkAudibleUk,linkITunesAudio:e.linkITunesAudio,linkBarnesAudio:e.linkBarnesAudio,linkGoogleAudio:e.linkGoogleAudio,linkGoodreadsAudio:e.linkGoodreadsAudio,linkKoboAudio:e.linkKoboAudio,linkBookbubAudio:e.linkBookbubAudio,linkStoryGraph:e.linkStoryGraph,linkStoryGraphAudio:e.linkStoryGraphAudio,pdfFile:e.pdfFile,pdfFileSizeBytes:e.pdfFileSizeBytes,pdfSystemGenerated:e.pdfSystemGenerated,pdfFileDate:e.pdfFileDate,pdfFileFriendlyName:e.pdfFileFriendlyName,epubFile:e.epubFile,epubFileSizeBytes:e.epubFileSizeBytes,epubSystemGenerated:e.epubSystemGenerated,epubPreviewFile:e.epubPreviewFile,epubFileDate:e.epubFileDate,epubFileFriendlyName:e.epubFileFriendlyName}},y=e=>{var t;if(null===e||void 0===e)return null;const o=Object.assign(Object.assign({},e),{categories:v(e.categories),authorPenNameId:null===(t=e.authorPenName)||void 0===t?void 0:t.id,releaseDate:e.releaseDate?new Date(e.releaseDate):void 0,pdfFileDate:e.pdfFileDate?new Date(e.pdfFileDate):void 0,epubFileDate:e.epubFileDate?new Date(e.epubFileDate):void 0});return o},g=e=>(0,n.L)().query({variables:Object.assign({},e),query:i.J1`
1953      query GetBooks (
1954        $needle: String,
1955        $skip: Int,
1956        $take: Int,
1957        $sortBy: String,
1958        $descending: Boolean,
1959        $isDraft: Boolean,
1960        $allowImportedDrafts: Boolean,
1961        $hasReviews: Boolean
1962        $missingPreview: Boolean
1963      ) {
1964        books (
1965          needle: $needle,
1966          skip: $skip,
1967          take: $take,
1968          sortBy: $sortBy,
1969          descending: $descending,
1970          isDraft: $isDraft,
1971          allowImportedDrafts: $allowImportedDrafts,
1972          hasReviews: $hasReviews
1973          missingPreview: $missingPreview
1974        ) {
1975          totalRows,
1976          items {
1977            ...BookFragment
1978          }
1979        }
1980      }
1981      ${c.book}
1982    `}),h=(e,t)=>void 0===e?Promise.reject(new Error("Missing id.")):(0,n.L)().query({variables:Object.assign({id:e},t),query:i.J1`
1983      query GetBook (
1984        $id: Int!,
1985        $genericSearch: Boolean
1986      ) {
1987        book (id: $id, genericSearch: $genericSearch) {
1988          ...BookFragment
1989        }
1990      }
1991      ${c.book}
1992    `}).then(e=>y(e)),f=e=>(0,n.L)().mutate({variables:Object.assign({},m(e)),mutation:i.J1`
1993      mutation CreateBook (
1994        $title: String!,
1995        $description: String,
1996        $penName: String,
1997        $authorPenNameId: Int,
1998        $penNameType: Int,
1999        $bookCover: String,
2000        $releaseDate: DateTime,
2001        $seriesName: String,
2002        $seriesNumber: Int,
2003        $categories: [CategoryIdInput!],
2004        $keywords: String,
2005        $wordCount: Int,
2006        $audience: Int,
2007        $language: Int,
2008        $linkAmazonAsin: String,
2009        $linkAmazonAsinPrint: String,
2010        $linkGoodreads: String,
2011        $linkBookbub: String,
2012        $linkBarnes: String,
2013        $linkGoogle: String,
2014        $linkKobo: String,
2015        $linkSmashwords: String,
2016        $smashwordsCouponCode: String,
2017        $linkITunes: String,
2018        $linkAudibleUs: String,
2019        $linkAudibleUk: String,
2020        $linkITunesAudio: String,
2021        $linkBarnesAudio: String,
2022        $linkGoogleAudio: String,
2023        $linkGoodreadsAudio: String,
2024        $linkKoboAudio: String,
2025        $linkBookbubAudio: String,
2026        $linkStoryGraph: String,
2027        $linkStoryGraphAudio: String,
2028        $pdfFile: String,
2029        $pdfFileSizeBytes: Int,
2030        $pdfSystemGenerated: Boolean,
2031        $pdfFileFriendlyName: String,
2032        $epubFile: String,
2033        $epubFileSizeBytes: Int,
2034        $epubPreviewFile: String,
2035        $epubSystemGenerated: Boolean
2036        $epubFileFriendlyName: String
2037      ) {
2038        createBook (
2039          title: $title,
2040          description: $description,
2041          penName: $penName,
2042          authorPenNameId: $authorPenNameId,
2043          penNameType: $penNameType,
2044          bookCover: $bookCover,
2045          releaseDate: $releaseDate,
2046          seriesName: $seriesName,
2047          seriesNumber: $seriesNumber,
2048          categories: $categories,
2049          keywords: $keywords,
2050          wordCount: $wordCount,
2051          audience: $audience,
2052          language: $language,
2053          linkAmazonAsin: $linkAmazonAsin,
2054          linkAmazonAsinPrint: $linkAmazonAsinPrint,
2055          linkGoodreads: $linkGoodreads,
2056          linkBookbub: $linkBookbub,
2057          linkBarnes: $linkBarnes,
2058          linkGoogle: $linkGoogle,
2059          linkKobo: $linkKobo,
2060          linkSmashwords: $linkSmashwords,
2061          smashwordsCouponCode: $smashwordsCouponCode,
2062          linkITunes: $linkITunes,
2063          linkAudibleUs: $linkAudibleUs,
2064          linkAudibleUk: $linkAudibleUk,
2065          linkITunesAudio: $linkITunesAudio,
2066          linkBarnesAudio: $linkBarnesAudio,
2067          linkGoogleAudio: $linkGoogleAudio,
2068          linkGoodreadsAudio: $linkGoodreadsAudio,
2069          linkKoboAudio: $linkKoboAudio,
2070          linkBookbubAudio: $linkBookbubAudio,
2071          linkStoryGraph: $linkStoryGraph,
2072          linkStoryGraphAudio: $linkStoryGraphAudio,
2073          pdfFile: $pdfFile,
2074          pdfFileSizeBytes: $pdfFileSizeBytes,
2075          pdfSystemGenerated: $pdfSystemGenerated,
2076          pdfFileFriendlyName: $pdfFileFriendlyName,
2077          epubFile: $epubFile,
2078          epubFileSizeBytes: $epubFileSizeBytes,
2079          epubPreviewFile: $epubPreviewFile,
2080          epubSystemGenerated: $epubSystemGenerated
2081          epubFileFriendlyName: $epubFileFriendlyName
2082        ) {
2083          ...BookFragment
2084        }
2085      }
2086      ${c.book}
2087    `}).then(e=>y(e)||new r.HH7),b=e=>(0,n.L)().mutate({variables:Object.assign(Object.assign({},m(e)),{id:e.id}),mutation:i.J1`
2088      mutation UpdateBook (
2089        $id: Int!,
2090        $title: String,
2091        $description: String,
2092        $penName: String,
2093        $authorPenNameId: Int,
2094        $penNameType: Int
2095        $bookCover: String,
2096        $releaseDate: DateTime,
2097        $seriesName: String,
2098        $seriesNumber: Int,
2099        $categories: [CategoryIdInput!],
2100        $keywords: String,
2101        $wordCount: Int,
2102        $audience: Int,
2103        $language: Int,
2104        $linkAmazonAsin: String,
2105        $linkAmazonAsinPrint: String,
2106        $linkGoodreads: String,
2107        $linkBookbub: String,
2108        $linkBarnes: String,
2109        $linkGoogle: String,
2110        $linkKobo: String,
2111        $linkSmashwords: String,
2112        $smashwordsCouponCode: String,
2113        $linkITunes: String,
2114        $linkAudibleUs: String,
2115        $linkAudibleUk: String,
2116        $linkITunesAudio: String,
2117        $linkBarnesAudio: String,
2118        $linkGoogleAudio: String,
2119        $linkGoodreadsAudio: String,
2120        $linkKoboAudio: String,
2121        $linkBookbubAudio: String,
2122        $linkStoryGraph: String,
2123        $linkStoryGraphAudio: String,
2124        $pdfFile: String,
2125        $pdfFileSizeBytes: Int,
2126        $pdfSystemGenerated: Boolean,
2127        $pdfFileDate: DateTime,
2128        $pdfFileFriendlyName: String,
2129        $epubFile: String,
2130        $epubFileSizeBytes: Int,
2131        $epubPreviewFile: String,
2132        $epubSystemGenerated: Boolean,
2133        $epubFileDate: DateTime
2134        $epubFileFriendlyName: String
2135      ) {
2136        updateBook (
2137          id: $id,
2138          title: $title,
2139          description: $description,
2140          penName: $penName,
2141          authorPenNameId: $authorPenNameId,
2142          penNameType: $penNameType,
2143          bookCover: $bookCover,
2144          releaseDate: $releaseDate,
2145          seriesName: $seriesName,
2146          seriesNumber: $seriesNumber,
2147          categories: $categories,
2148          keywords: $keywords,
2149          wordCount: $wordCount,
2150          audience: $audience,
2151          language: $language,
2152          linkAmazonAsin: $linkAmazonAsin,
2153          linkAmazonAsinPrint: $linkAmazonAsinPrint,
2154          linkGoodreads: $linkGoodreads,
2155          linkBookbub: $linkBookbub,
2156          linkBarnes: $linkBarnes,
2157          linkGoogle: $linkGoogle,
2158          linkKobo: $linkKobo,
2159          linkSmashwords: $linkSmashwords,
2160          smashwordsCouponCode: $smashwordsCouponCode,
2161          linkITunes: $linkITunes,
2162          linkAudibleUs: $linkAudibleUs,
2163          linkAudibleUk: $linkAudibleUk,
2164          linkITunesAudio: $linkITunesAudio,
2165          linkBarnesAudio: $linkBarnesAudio,
2166          linkGoogleAudio: $linkGoogleAudio,
2167          linkGoodreadsAudio: $linkGoodreadsAudio,
2168          linkKoboAudio: $linkKoboAudio,
2169          linkBookbubAudio: $linkBookbubAudio,
2170          linkStoryGraph: $linkStoryGraph,
2171          linkStoryGraphAudio: $linkStoryGraphAudio,
2172          pdfFile: $pdfFile,
2173          pdfFileSizeBytes: $pdfFileSizeBytes,
2174          pdfSystemGenerated: $pdfSystemGenerated,
2175          pdfFileDate: $pdfFileDate,
2176          pdfFileFriendlyName: $pdfFileFriendlyName,
2177          epubFile: $epubFile,
2178          epubFileSizeBytes: $epubFileSizeBytes,
2179          epubPreviewFile: $epubPreviewFile,
2180          epubSystemGenerated: $epubSystemGenerated,
2181          epubFileDate: $epubFileDate
2182          epubFileFriendlyName: $epubFileFriendlyName
2183        ) {
2184          ...BookFragment
2185        }
2186      }
2187      ${c.book}
2188    `}).then(e=>y(e)||new r.HH7),w=e=>(0,n.L)().query({variables:{bookId:e},query:i.J1`
2189      query GetBookAppleBooksCodes ($bookId: Int!) {
2190        bookAppleBooksCodes (bookId: $bookId) {
2191          ...BookAppleBooksCodeFragment
2192        }
2193      }
2194      ${c.appleBooksCode}
2195    `}),A=(e,t,o)=>(0,n.L)().mutate({variables:{bookId:e,codes:t,expirationDate:o},mutation:i.J1`
2196      mutation AddBookAppleBooksCodes (
2197        $bookId: Int!,
2198        $codes: [String!]!,
2199        $expirationDate: String
2200      ) {
2201        addBookAppleBooksCodes (
2202          bookId: $bookId,
2203          codes: $codes,
2204          expirationDate: $expirationDate
2205        ) {
2206          ...BookAppleBooksCodeFragment
2207        }
2208      }
2209      ${c.appleBooksCode}
2210    `}),D=(e,t)=>(0,n.L)().mutate({variables:{bookId:e,id:t},mutation:i.J1`
2211      mutation RemoveBookAppleBooksCode (
2212        $bookId: Int!,
2213        $id: Int!
2214      ) {
2215        removeBookAppleBooksCode (
2216          bookId: $bookId,
2217          id: $id
2218        ) {
2219          ...BookAppleBooksCodeFragment
2220        }
2221      }
2222      ${c.appleBooksCode}
2223    `}),R=e=>(0,n.L)().mutate({variables:{bookId:e},mutation:i.J1`
2224      mutation RemoveExpiredBookAppleBooksCodes ($bookId: Int!) {
2225        removeExpiredBookAppleBooksCodes (bookId: $bookId) {
2226          ...BookAppleBooksCodeFragment
2227        }
2228      }
2229      ${c.appleBooksCode}
2230    `}),k=e=>(0,n.L)().query({variables:{id:e},query:i.J1`
2231      query CheckDeleteBook ($id: Int!) {
2232        checkDeleteBook (id: $id) {
2233          count,
2234          dtoTypeName,
2235          ids
2236        }
2237      }
2238    `}),O=e=>{if(void 0===e)throw new Error("Missing id.");return(0,n.L)().mutate({variables:{id:e},mutation:i.J1`
2239      mutation ConfirmDeleteBook (
2240        $id: Int!
2241      ) {
2242        confirmDeleteBook(id: $id) {
2243          id
2244        }
2245      }
2246    `})},S=(e,t)=>(0,s.q)().axios().post("book/amazon-books-to-import",{penName:e,needle:t}).then(e=>e.data),I=e=>(0,s.q)().axios().post("book/amazon-book-description",{asin:e}).then(e=>{var t;return null===(t=e.data)||void 0===t?void 0:t.description}),T=e=>(0,n.L)().query({variables:Object.assign({},e),query:i.J1`
2247      query getBooksGeneric (
2248        $needle: String,
2249        $skip: Int,
2250        $take: Int,
2251        $sortBy: String,
2252        $descending: Boolean,
2253        $penNameId: Int,
2254        $seriesName: String,
2255        $beforeSeriesNumber: Int
2256      ) {
2257        booksGeneric (
2258          needle: $needle,
2259          skip: $skip,
2260          take: $take,
2261          sortBy: $sortBy,
2262          descending: $descending,
2263          penNameId: $penNameId,
2264          seriesName: $seriesName,
2265          beforeSeriesNumber: $beforeSeriesNumber
2266        ) {
2267          totalRows,
2268          items {
2269            ...BookFragment
2270          }
2271        }
2272      }
2273      ${c.book}
2274    `}),E=e=>(0,n.L)().query({variables:Object.assign({},e),query:i.J1`
2275      query GetBookTagsForCategory (
2276        $categoryId: Int,
2277        $searchValue: String,
2278        $skip: Int,
2279        $take: Int
2280      ) {
2281        bookTagsForCategory (
2282          searchValue: $searchValue,
2283          skip: $skip,
2284          take: $take,
2285          categoryId: $categoryId
2286        ) {
2287          name,
2288          count
2289        }
2290      }
2291    `}),C=e=>{var t;return[...new Set(null===(t=null===e||void 0===e?void 0:e.keywords)||void 0===t?void 0:t.split(","))]},P=(e,t)=>{const o=d(r.jGy.ARCS.REVIEWS.FLAGS,[]);switch(t.site){case o.AMAZON:return`https://www.amazon.com/dp/${e.linkAmazonAsin}?tag=booksprout09-20`;case o.ITUNES:return e.linkITunes+"?at=1001l9EK";default:return e[t.fieldName]}},j=(e,t)=>{let o="";if((0,r.m88)(e.epubFile)?o=e.epubFile:(0,r.m88)(e.pdfFile)&&(o=e.pdfFile),void 0!==o){const i={id:e.id.toString()||"-1",convertIntoFileExt:t.startsWith(".")?t:"."+t,sourceFilePath:o};return(0,s.q)().axios().post("book/generate-file",i,{timeout:3e5}).then(e=>e.data)}return Promise.reject()},$=(e,t)=>({url:p.getApiControllerUrl("add-file"),withCredentials:!0,headers:[{name:"Authorization",value:`Bearer ${a.A.authToken}`},{name:"CSRF-Token",value:a.A.csrfToken}],formFields:[{name:"id",value:void 0===t.id?-1:t.id},{name:"fileName",value:e[0].name}]}),L=e=>(0,s.q)().axios().post("book/generate-epub-preview",e,{timeout:3e5}).then(e=>e.data),N=(e,t)=>(0,s.q)().axios().post("book/remove-remote-file",{id:e,fileExt:t}),F=e=>(0,s.q)().axios().post("book/stop-generate-epub-preview",{bookId:e}),B=Object.assign(Object.assign({},p),{bookFragments:c,get:g,getById:h,create:f,update:b,getAppleBooksCodes:w,addAppleBooksCodes:A,removeAppleBooksCode:D,removeExpiredAppleBooksCodes:R,checkDelete:k,delete:O,getImportOptions:S,fetchAmazonBookDescription:I,getBooksGeneric:T,getTags:E,splitKeywords:C,getAffiliateLink:P,convertFile:j,addFileFactory:$,generateEpubPreview:L,removeRemoteFile:N,stopEpubPreviewGeneration:F,globalLoader(e){return p.setGlobalLoader(e),B}});function x(){return B}o.d(t,["P",0,c])},1031(e,t,o){"use strict";var i=o(53856);const r=()=>({category:{service:(0,i.U)()}});o.d(t,["e",0,r])},98560(e,t,o){"use strict";o.d(t,{y:()=>r});var i=o(65732);function r(e,t){var o;if(!t||t===i.jGy.I18N.DEFAULT_LOCALE)return e.name||"";const r=null===(o=e.translations)||void 0===o?void 0:o.find(e=>e.locale===t);return(null===r||void 0===r?void 0:r.name)||e.name||""}},90259(e,t,o){"use strict";o.d(t,{eS:()=>n});var i=o(98560);function r(e,t,o){var r,a;return(null!==(r=e.sortOrder)&&void 0!==r?r:0)-(null!==(a=t.sortOrder)&&void 0!==a?a:0)||(0,i.y)(e,o).localeCompare((0,i.y)(t,o),o||void 0)||e.id-t.id}function a(e,t){return[...e].sort((e,o)=>r(e,o,t))}function n(e,t){return a(e,t).map(e=>Object.assign(Object.assign({},e),{childCategories:e.childCategories?n(e.childCategories,t):e.childCategories}))}},53856(e,t,o){"use strict";o.d(t,{U:()=>y});var i=o(79675),r=o(34393),a=o(9631);const n=(0,a.N)("category"),s={category:i.J1`
2292    fragment CategoryFragment on CategoryDto {
2293      id
2294      name
2295      sortOrder
2296      parentCategoryId
2297      translations {
2298        locale
2299        name
2300      }
2301      parentCategory {
2302        id
2303        name
2304        sortOrder
2305      }
2306      childCategories {
2307        id
2308        name
2309        parentCategoryId
2310        sortOrder
2311        translations {
2312          locale
2313          name
2314        }
2315      }
2316    }
2317  `},l=()=>(0,r.L)().query({query:i.J1`
2318      query GetCategories {
2319        categories {
2320          ...CategoryFragment
2321        }
2322      }
2323      ${s.category}
2324    `}),d=e=>void 0===e?Promise.reject(new Error("Missing id.")):(0,r.L)().query({variables:{id:e},query:i.J1`
2325      query GetCategory (
2326        $id: Int!
2327      ) {
2328        category (id: $id) {
2329          ...CategoryFragment
2330        }
2331      }
2332      ${s.category}
2333    `}),c=e=>(0,r.L)().mutate({variables:Object.assign({},e),mutation:i.J1`
2334      mutation CreateCategory (
2335        $name: String!
2336        $parentCategoryId: Int
2337      ) {
2338        createCategory (name: $name, parentCategoryId: $parentCategoryId) {
2339          ...CategoryFragment
2340        }
2341      }
2342      ${s.category}
2343    `}),u=e=>(0,r.L)().mutate({variables:Object.assign({},e),mutation:i.J1`
2344      mutation UpdateCategory (
2345        $id: Int!
2346        $name: String
2347        $parentCategoryId: Int
2348        $sortOrder: Int
2349      ) {
2350        updateCategory (id: $id, name: $name, parentCategoryId: $parentCategoryId, sortOrder: $sortOrder) {
2351          ...CategoryFragment
2352        }
2353      }
2354      ${s.category}
2355    `}),p=e=>(0,r.L)().mutate({variables:{items:e},mutation:i.J1`
2356      mutation ReorderCategories (
2357        $items: [CategoryReorderInput!]!
2358      ) {
2359        reorderCategories (items: $items) {
2360          ...CategoryFragment
2361        }
2362      }
2363      ${s.category}
2364    `}),v=e=>(0,r.L)().mutate({variables:{id:e},mutation:i.J1`
2365      mutation DeleteCategory (
2366        $id: Int!
2367      ) {
2368        deleteCategory(id: $id) {
2369          id
2370        }
2371      }
2372    `}),m=Object.assign(Object.assign({},n),{get:l,getById:d,create:c,update:u,reorder:p,delete:v,globalLoader(e){return n.setGlobalLoader(e),m}});function y(){return m}},32823(e,t,o){"use strict";const i=()=>({axios:{url:""},apolloClient:{url:""},quadernoApiKey:"",stripeApiKey:""});let r=i();const a=(e="build",t="master")=>{let o,i="dev";switch(e){case"build":i="build",o=t;break;case"testing":i="testing";break}return`${i}${o?"."+o:""}`},n=()=>{const e=e=>{r=e},t=()=>{const t=o(57284)(`./config.${a()}.js`).default;return e(t),t},n=()=>{r=i()},s=()=>r;return{init:e,initFromEnv:t,reset:n,config:s}};o.d(t,["UK",0,n])},15221(e,t,o){"use strict";var i=o(78935);o(2132);const r=()=>i.A,a=()=>{const e=e=>r().get(e),t=(e,t,o)=>{r().set(e,t,o)},o=e=>r().has(e),i=(e,t)=>{r().remove(e,t)};return{cookies:r,get:e,set:t,has:o,remove:i}};o.d(t,["l",0,a])},30632(e,t,o){"use strict";var i=o(65732),r=(o(2132),o(48949)),a=o(15221);let n;const s=()=>{const e=()=>n,t=e=>{n=e},o=()=>{var t;return null===(t=e())||void 0===t?void 0:t.global},s=()=>e(),l=()=>(0,r.rv)({cookieLocale:(0,a.l)().get(i.jGy.I18N.COOKIE_NAME)}),d=(e,...t)=>{const i=o();return i?i.tc(e,...t):e},c=(e,...t)=>{const i=o();return i?i.t(e,...t):e},u=e=>{const t=o();return!!t&&t.te(e)},p=()=>{n=void 0};return{init:t,i18n:o,plugin:s,initialLocale:l,t:c,tc:d,te:u,reset:p}};o.d(t,["s",0,s])},33067(e,t,o){"use strict";var i=o(26960);let r;const a=()=>{const e=()=>(r||(r=new i._),r),t=t=>{e().configure(t)},o=()=>{r=void 0};return{init:t,link:e,reset:o}};o.d(t,["i",0,a])},74486(e,t,o){"use strict";var i=o(56191);const r=()=>({messagePost:{service:(0,i.P)()}});o.d(t,["z",0,r])},56191(e,t,o){"use strict";o.d(t,{P:()=>g});var i=o(79675),r=o(34393),a=o(9631);const n={MessagePost:i.J1`
2373    fragment MessagePostFragment on MessagePostDto {
2374      id,
2375      createdDate,
2376      userId,
2377      state,
2378      message,
2379      sender {
2380        modelKey,
2381        id,
2382        name,
2383        image
2384      }
2385    }
2386  `},s=(0,a.N)(""),l=e=>(0,r.L)().query({variables:Object.assign({},e),query:i.J1`
2387      query GetMessagePosts (
2388        $threadId: Int!
2389        $state: Int
2390        $forUserId: Int
2391      ) {
2392        messagePosts (
2393          threadId: $threadId,
2394          state: $state,
2395          forUserId: $forUserId
2396        ) {
2397          ...MessagePostFragment
2398        }
2399      }
2400      ${n.MessagePost}
2401    `}),d=e=>void 0===e?Promise.reject(new Error("Missing id.")):(0,r.L)().query({variables:{id:e},query:i.J1`
2402      query GetMessagePost (
2403        $id: Int!
2404      ) {
2405        messagePost (id: $id) {
2406          ...MessagePostFragment
2407        }
2408      }
2409      ${n.MessagePost}
2410    `}),c=e=>(0,r.L)().mutate({variables:Object.assign({},e),mutation:i.J1`
2411      mutation CreateMessagePost (
2412        $message: String!
2413        $threadId: Int!
2414        $penNameId: Int
2415        $arcTeamId: Int
2416      ) {
2417        createMessagePost (
2418          threadId: $threadId,
2419          message: $message
2420          penNameId: $penNameId,
2421          arcTeamId: $arcTeamId
2422        ) {
2423          ...MessagePostFragment
2424        }
2425      }
2426      ${n.MessagePost}
2427    `}),u=e=>(0,r.L)().mutate({variables:Object.assign({},e),mutation:i.J1`
2428      mutation UpdateMessagePost (
2429        $id: Int!
2430        $state: Int!
2431      ) {
2432        updateMessagePost (
2433          id: $id,
2434          state: $state
2435        ) {
2436          ...MessagePostFragment
2437        }
2438      }
2439      ${n.MessagePost}
2440    `}),p=e=>(0,r.L)().mutate({variables:{id:e},mutation:i.J1`
2441      mutation DeleteMessagePost (
2442        $id: Int!
2443      ) {
2444        deleteMessagePost(id: $id) {
2445          id
2446        }
2447      }
2448    `}),v=e=>(0,r.L)().mutate({variables:{id:e},mutation:i.J1`
2449      mutation MarkAllPostsAsRead (
2450        $id: Int!
2451      ) {
2452        markAllPostsAsRead(id: $id)
2453      }
2454    `}),m=e=>(0,r.L)().mutate({variables:{id:e},mutation:i.J1`
2455      mutation FlagPost (
2456        $id: Int!
2457      ) {
2458        flagPost(id: $id) {
2459          ...MessagePostFragment
2460        }
2461      }
2462      ${n.MessagePost}
2463    `}),y=Object.assign(Object.assign({},s),{get:l,getById:d,create:c,update:u,delete:p,markAllAsRead:v,flag:m,globalLoader(e){return s.setGlobalLoader(e),y}});function g(){return y}},83828(e,t,o){"use strict";var i=o(437);const r=()=>({messageThread:{service:(0,i.$)()}});o.d(t,["v",0,r])},437(e,t,o){"use strict";o.d(t,{$:()=>R});var i=o(79675),r=o(65732),a=o(34393),n=o(9631);const s=(0,n.N)(""),l={MessageThread:i.J1`
2464    fragment MessageThreadFragment on MessageThreadDto {
2465      id,
2466      reviewerUserId,
2467      reviewerUser {
2468        id,
2469        name,
2470        image,
2471        existingThreadCount
2472      },
2473      authorUser {
2474        id,
2475        name,
2476        image,
2477        existingThreadCount,
2478        canAcceptMessages,
2479        canSendMessages
2480      }
2481      arc {
2482        id,
2483        book {
2484          id,
2485          bookCover,
2486          title,
2487          seriesName,
2488          seriesNumber,
2489          authorPenName {
2490            id,
2491            userId,
2492            name,
2493            image
2494          }
2495        },
2496        arcTeam {
2497          id,
2498          name,
2499          image
2500        }
2501      },
2502      createdDate,
2503      userId,
2504      state,
2505      lastMessageDate,
2506      lastMessageText,
2507      messageCount,
2508      unreadMessageCount,
2509      blocked
2510    }
2511  `},d=e=>(0,a.L)().query({variables:Object.assign({},e),query:i.J1`
2512      query GetMessageThreads (
2513        $state: Int
2514        $needle: String
2515        $reviewUserId: Int,
2516        $sortBy: String,
2517        $descending: Boolean,
2518        $skip: Int,
2519        $take: Int
2520      ) {
2521        messageThreads (
2522          state: $state,
2523          needle: $needle,
2524          reviewUserId: $reviewUserId,
2525          sortBy: $sortBy,
2526          descending: $descending
2527          skip: $skip,
2528          take: $take
2529        ) {
2530          totalRows,
2531          items {
2532            ...MessageThreadFragment
2533          }
2534        }
2535      }
2536      ${l.MessageThread}
2537    `}),c=e=>u(e),u=(e,t)=>void 0===e?Promise.reject(new Error("Missing id.")):(0,a.L)().query({variables:{id:e,forUserId:t},query:i.J1`
2538      query GetMessageThread (
2539        $id: Int!
2540        $forUserId: Int
2541      ) {
2542        messageThread (id: $id, forUserId: $forUserId) {
2543          ...MessageThreadFragment,
2544          arc {
2545            id,
2546            userId,
2547            claims {
2548              review {
2549                id,
2550                rating,
2551                sites {
2552                  site,
2553                  status,
2554                  link
2555                }
2556              }
2557            }
2558          }
2559        }
2560      }
2561      ${l.MessageThread}
2562    `}),p=e=>(0,a.L)().mutate({variables:Object.assign(Object.assign({},e),{recipientUserId:e.reviewUserId}),mutation:i.J1`
2563      mutation CreateMessageThread (
2564        $arcId: Int!
2565        $recipientUserId: Int!
2566      ) {
2567        createMessageThread (
2568          arcId: $arcId,
2569          reviewUserId: $recipientUserId
2570        ) {
2571          ...MessageThreadFragment
2572        }
2573      }
2574      ${l.MessageThread}
2575    `}),v=e=>(0,a.L)().mutate({variables:Object.assign({},e),mutation:i.J1`
2576      mutation UpdateMessageThread (
2577        $id: Int!
2578        $state: Int!
2579      ) {
2580        updateMessageThread (
2581          id: $id,
2582          state: $state
2583        ) {
2584          ...MessageThreadFragment
2585        }
2586      }
2587      ${l.MessageThread}
2588    `}),m=e=>(0,a.L)().mutate({variables:{id:e},mutation:i.J1`
2589      mutation DeleteMessageThread (
2590        $id: Int!
2591      ) {
2592        deleteMessageThread(id: $id) {
2593          id
2594        }
2595      }
2596    `}),y=e=>v({id:e,state:r.jGy.MESSAGES.STATE.READ}),g=e=>v({id:e,state:r.jGy.MESSAGES.STATE.NEW}),h=()=>(0,a.L)().query({query:i.J1`
2597      query GetUnreadThreadCount {
2598        unreadThreadCount
2599      }
2600    `}),f=(e,t)=>(0,a.L)().mutate({variables:{userId:e,reportUser:t},mutation:i.J1`
2601      mutation BlockUser (
2602        $userId: Int!
2603        $reportUser: Boolean!
2604      ) {
2605        blockUser(userId: $userId, reportUser: $reportUser)
2606      }
2607    `}),b=e=>(0,a.L)().mutate({variables:{userId:e},mutation:i.J1`
2608      mutation UnblockUser (
2609        $userId: Int!
2610      ) {
2611        unblockUser(userId: $userId)
2612      }
2613    `}),w=(e,t)=>e.reviewerUserId===t?e.authorUser:Object.assign({image:"",name:""},e.reviewerUser),A=e=>(0,a.L)().mutate({variables:{threadId:e},mutation:i.J1`
2614      mutation GetThreadHelp (
2615        $threadId: Int!
2616      ) {
2617        getThreadHelp (threadId: $threadId) {
2618          id
2619        }
2620      }
2621    `}),D=Object.assign(Object.assign({},s),{get:d,getById:c,getByIdForUser:u,create:p,update:v,delete:m,markAsRead:y,markAsUnread:g,getUnreadThreadCount:h,blockUser:f,unblockUser:b,getOtherThreadParticipant:w,getHelp:A,globalLoader(e){return s.setGlobalLoader(e),D}});function R(){return D}},60422(e,t,o){"use strict";var i=o(75599);const r=()=>({notification:{service:(0,i.l)()}});o.d(t,["h",0,r])},75599(e,t,o){"use strict";o.d(t,{l:()=>b});var i=o(79675),r=o(34393),a=o(9631);const n={notification:i.J1`
2622    fragment NotificationFragment on UserNotificationDto {
2623      id,
2624      status,
2625      statusDate,
2626      state,
2627      nameOfInstigator,
2628      parsedMessage,
2629      parsedDescription,
2630      to,
2631      notification {
2632        id,
2633        code
2634      },
2635      arc {
2636        id,
2637        claims {
2638          id
2639        }
2640      },
2641      book {
2642        id
2643        title,
2644        bookCover
2645      },
2646      arcClaim {
2647        id,
2648        arc {
2649          id
2650        }
2651      }
2652      arcReviewSite {
2653        id,
2654        site,
2655        review {
2656          claimId
2657        }
2658      },
2659      arcReview {
2660        id,
2661        rating,
2662        claim {
2663          id,
2664          arc {
2665            id
2666          }
2667        }
2668      },
2669      arcTeam {
2670        id,
2671        name
2672      },
2673      arcTeamMember {
2674        id,
2675        arcTeam {
2676          id,
2677          name
2678        }
2679      }
2680    }
2681  `},s=(0,a.N)("notification"),l=e=>(0,r.L)().query({variables:Object.assign({},e),query:i.J1`
2682      query GetNotifications (
2683        $notificationCodes: [String!],
2684        $unread: Boolean,
2685        $genericSearchTerm: String,
2686        $skip: Int,
2687        $take: Int
2688      ) {
2689        notifications (
2690          notificationCodes: $notificationCodes,
2691          unread: $unread,
2692          genericSearchTerm: $genericSearchTerm,
2693          skip: $skip,
2694          take: $take
2695        ) {
2696          totalRows,
2697          unreadNotificationCount,
2698          items {
2699            ...NotificationFragment
2700          }
2701        }
2702      }
2703      ${n.notification}
2704    `}),d=e=>void 0===e?Promise.reject(new Error("Missing id.")):(0,r.L)().query({variables:{id:e},query:i.J1`
2705      query GetNotification (
2706        $id: Int!
2707      ) {
2708        notification (id: $id) {
2709          ...NotificationFragment
2710        }
2711      }
2712      ${n.notification}
2713    `}),c=e=>(0,r.L)().mutate({variables:{id:e},mutation:i.J1`
2714      mutation MarkNotificationQueueItemAsRead (
2715        $id: Int!
2716      ) {
2717        markNotificationAsRead(id: $id)
2718      }
2719    `}),u=e=>(0,r.L)().mutate({variables:Object.assign({},e),mutation:i.J1`
2720      mutation Unsubscribe (
2721        $unsubId: String!,
2722        $key: String!
2723      ) {
2724        unsubscribe (unsubId: $unsubId, key: $key)
2725      }
2726    `}),p=e=>{throw new Error("Not implemented")},v=e=>{throw new Error("Not implemented")},m=e=>{throw new Error("Not implemented")},y=e=>(0,r.L)().mutate({variables:{id:e},mutation:i.J1`
2727      mutation DeleteNotificationQueueItem (
2728        $id: Int!
2729      ) {
2730        deleteNotificationQueueItem (id: $id)
2731      }
2732    `}),g=()=>(0,r.L)().mutate({mutation:i.J1`
2733      mutation DeleteAllNotificationQueueItems {
2734        deleteAllNotificationQueueItems
2735      }
2736    `}),h=e=>(0,r.L)().query({variables:Object.assign({},e),query:i.J1`
2737      query GetUnreadNotificationCount (
2738        $notificationCodes: [String!]
2739      ) {
2740        unreadNotificationCount (
2741          notificationCodes: $notificationCodes
2742        ) {
2743          author,
2744          reviewer
2745        }
2746      }
2747    `}),f=Object.assign(Object.assign({},s),{get:l,getById:d,markAsRead:c,unsubscribe:u,create:p,update:v,delete:m,deleteNotificationQueueItem:y,deleteAllNotificationQueueItems:g,getUnreadNotificationCount:h,globalLoader(e){return s.setGlobalLoader(e),f}});function b(){return f}},31270(e,t,o){"use strict";var i=o(27279);const r=()=>({payment:{service:(0,i.M)()}});o.d(t,["u",0,r])},27279(e,t,o){"use strict";o.d(t,{M:()=>T});var i=o(79675),r=o(34393),a=o(32823),n=function(e,t,o,i){function r(e){return e instanceof o?e:ne
2747w o(function(t){t(e)})}return new(o||(o=Promise))(function(o,a){function n(e){try{l(i.next(e))}catch(e){a(e)}}function s(e){try{l(i["throw"](e))}catch(e){a(e)}}function l(e){e.done?o(e.value):r(e.value).then(n,s)}l((i=i.apply(e,t||[])).next())})};const s={planInfo:i.J1`
2748    fragment PlanInfoFragment on PaymentDto {
2749      stripeCustomerId,
2750      stripeSubscriptionId,
2751      plan,
2752      price,
2753      cycle,
2754      nextBillDue,
2755      cardLast4,
2756      cardExpiry,
2757      taxCountry,
2758      taxCountryCode,
2759      taxCode,
2760      postalCode,
2761      cardType,
2762      cancelAt,
2763      discountPcApplied,
2764      discountAmountApplied,
2765      lastFailedPaymentId
2766      invoices {
2767        id,
2768        description,
2769        paidOn,
2770        cardLast4,
2771        downloadLink,
2772        cardType,
2773        status,
2774        paymentFailedReason,
2775        paymentFailedDescription,
2776        paymentFailedType
2777      }
2778    }
2779  `},l=()=>(0,a.UK)().config().stripeApiKey,d=()=>({year:"year",month:"month"}),c=e=>((0,r.L)().globalLoader(e),I),u=()=>n(void 0,void 0,void 0,function*(){if("undefined"===typeof Quaderno)return console.error("quadernoInitError"),Promise.reject("quadernoInitError");Quaderno.initialized||(yield Quaderno.init((0,a.UK)().config().quadernoApiKey).then(()=>{Quaderno.initialized=!0}).catch(e=>(console.log(e.description,e.messages),Promise.reject(e.messages))))}),p=(e,t,o,i)=>n(void 0,void 0,void 0,function*(){return yield u(),Quaderno.calculateTaxes({country:t,businessNumber:i,postalCode:o}).then(o=>{const i=Quaderno.calculatePrice({amount:100*e,quantity:1,taxType:"excluded"});return{rate:o.rate,countryCode:t,name:o.name,extraName:o.extraName,extraRate:o.extraRate,price:{total:i.total/100,taxes:i.taxes/100}}})}),v=(e,t)=>n(void 0,void 0,void 0,function*(){return yield u(),Quaderno.validateBusinessNumber(e,t.toUpperCase()).then(e=>e.valid).catch(e=>!1)}),m=e=>n(void 0,void 0,void 0,function*(){return(0,r.L)().mutate({variables:{cardBrand:e.tokenData.card.brand,cardCountry:e.tokenData.card.country,cardId:e.tokenData.card.id,cardExpMonth:e.tokenData.card.expMonth,cardExpYear:e.tokenData.card.expYear,cardLast4:e.tokenData.card.last4,taxRate:e.tokenData.amount.rate,extraTaxRate:e.tokenData.amount.extraRate,subtotal:e.tokenData.amount.subtotal,taxCountryCode:e.tokenData.amount.taxCountryCode,taxAmount:e.tokenData.amount.taxes,total:e.tokenData.amount.total,token:e.tokenData.token,postalCode:e.tokenData.address.postalCode,plan:e.plan,planCycle:e.planCycle,taxCode:e.tokenData.taxCode,taxName:e.tokenData.taxName,extraTaxName:e.tokenData.extraTaxName,ipAddress:e.ipAddress},mutation:i.J1`
2780      mutation CreateSubscription (
2781        $cardBrand: String!
2782        $cardCountry: String!
2783        $cardId: String!
2784        $cardExpMonth: Int!
2785        $cardExpYear: Int!
2786        $cardLast4: String!
2787        $taxRate: Float!
2788        $extraTaxRate: Float
2789        $subtotal: Float!
2790        $taxCountryCode: String!
2791        $taxAmount: Float!
2792        $token: String!
2793        $total: Float!
2794        $postalCode: String!
2795        $plan: String!
2796        $planCycle: String!
2797        $taxCode: String!
2798        $taxName: String!
2799        $extraTaxName: String
2800        $ipAddress: String
2801      ) {
2802        createSubscription (
2803          cardBrand: $cardBrand
2804          cardCountry: $cardCountry
2805          cardId: $cardId
2806          cardExpMonth: $cardExpMonth
2807          cardExpYear: $cardExpYear
2808          cardLast4: $cardLast4
2809          taxRate: $taxRate
2810          extraTaxRate: $extraTaxRate
2811          subtotal: $subtotal
2812          taxCountryCode: $taxCountryCode
2813          taxAmount: $taxAmount
2814          token: $token
2815          total: $total
2816          postalCode: $postalCode
2817          plan: $plan
2818          planCycle: $planCycle
2819          taxCode: $taxCode,
2820          taxName: $taxName,
2821          extraTaxName: $extraTaxName,
2822          ipAddress: $ipAddress
2823        ) {
2824          actionUrl,
2825          actionUrlType,
2826          clientSecret,
2827          status
2828        }
2829      }
2830    `}).then(e=>e)}),y=e=>n(void 0,void 0,void 0,function*(){return(0,r.L)().query({variables:Object.assign({},e),query:i.J1`
2831      query GetPlanInfo (
2832        $forUserId: Int,
2833        $skipInvoices: Boolean
2834      ) {
2835        planInfo (
2836          skipInvoices: $skipInvoices,
2837          forUserId: $forUserId
2838        ) {
2839          ...PlanInfoFragment
2840        }
2841      }
2842      ${s.planInfo}
2843    `})}),g=e=>n(void 0,void 0,void 0,function*(){return(0,r.L)().query({variables:Object.assign({},e),query:i.J1`
2844      query GetInvoices (
2845        $forUserId: Int,
2846        $limit: Int,
2847        $startingAfter: String
2848      ) {
2849        invoices (
2850          forUserId: $forUserId,
2851          limit: $limit,
2852          startingAfter: $startingAfter
2853        ) {
2854          invoices {
2855            id,
2856            description,
2857            paidOn,
2858            cardLast4,
2859            downloadLink,
2860            cardType,
2861            status,
2862            paymentFailedReason,
2863            paymentFailedDescription,
2864            paymentFailedType
2865          },
2866          hasMore,
2867          nextStartingAfter
2868        }
2869      }
2870    `})}),h=e=>n(void 0,void 0,void 0,function*(){return(0,r.L)().query({variables:Object.assign({},e),query:i.J1`
2871      query ChangeSubscriptionSummary (
2872        $newPlan: String!
2873        $oldPlan: String!
2874        $newCycle: String!
2875        $proratedDate: Int
2876      ) {
2877        changeSubscriptionSummary (
2878          newPlan: $newPlan,
2879          newCycle: $newCycle,
2880          oldPlan: $oldPlan,
2881          proratedDate: $proratedDate
2882        ) {
2883          subtotal,
2884          tax,
2885          total,
2886          credit,
2887          taxCountryCode,
2888          proratedDate,
2889          taxCode,
2890          postalCode
2891        }
2892      }
2893    `})}),f=()=>n(void 0,void 0,void 0,function*(){return(0,r.L)().query({query:i.J1`
2894      query HasPastDueInvoice {
2895        hasPastDueInvoice
2896      }
2897    `})}),b=e=>n(void 0,void 0,void 0,function*(){return(0,r.L)().mutate({variables:Object.assign({},e),mutation:i.J1`
2898      mutation changeSubscription (
2899        $newPlan: String!
2900        $oldPlan: String!
2901        $newCycle: String!
2902        $proratedDate: Int
2903        $ipAddress: String
2904      ) {
2905        changeSubscription (
2906          newPlan: $newPlan,
2907          newCycle: $newCycle,
2908          oldPlan: $oldPlan,
2909          proratedDate: $proratedDate,
2910          ipAddress: $ipAddress
2911        ) {
2912          actionUrl,
2913          actionUrlType,
2914          clientSecret,
2915          status
2916        }
2917      }
2918    `})}),w=e=>n(void 0,void 0,void 0,function*(){return(0,r.L)().mutate({variables:Object.assign({},e),mutation:i.J1`
2919      mutation CancelSubscription (
2920        $reason: Int,
2921        $reasonDescription: String
2922      ) {
2923        cancelSubscription (
2924          reason: $reason,
2925          reasonDescription: $reasonDescription
2926        ) {
2927          ...PlanInfoFragment
2928        }
2929      }
2930      ${s.planInfo}
2931    `})}),A=()=>n(void 0,void 0,void 0,function*(){return(0,r.L)().mutate({mutation:i.J1`
2932      mutation RemoveCreditCard {
2933        removeCreditCard {
2934          ...PlanInfoFragment
2935        }
2936      }
2937      ${s.planInfo}
2938    `})}),D=e=>(0,r.L)().mutate({variables:{cardBrand:e.card.brand,cardCountry:e.card.country,cardId:e.card.id,cardExpMonth:e.card.expMonth,cardExpYear:e.card.expYear,cardLast4:e.card.last4,taxRate:0,subtotal:0,taxCountryCode:"",taxAmount:0,total:0,token:e.token,postalCode:e.address.postalCode,plan:"",planCycle:"",taxCode:"",taxName:""},mutation:i.J1`
2939      mutation AddCreditCard (
2940        $cardBrand: String!
2941        $cardCountry: String!
2942        $cardId: String!
2943        $cardExpMonth: Int!
2944        $cardExpYear: Int!
2945        $cardLast4: String!
2946        $taxRate: Float!
2947        $subtotal: Float!
2948        $taxCountryCode: String!
2949        $taxAmount: Float!
2950        $token: String!
2951        $total: Float!
2952        $postalCode: String!
2953        $plan: String!
2954        $planCycle: String!
2955        $taxCode: String!
2956        $taxName: String!
2957      ) {
2958        addCreditCard (
2959          cardBrand: $cardBrand
2960          cardCountry: $cardCountry
2961          cardId: $cardId
2962          cardExpMonth: $cardExpMonth
2963          cardExpYear: $cardExpYear
2964          cardLast4: $cardLast4
2965          taxRate: $taxRate
2966          subtotal: $subtotal
2967          taxCountryCode: $taxCountryCode
2968          taxAmount: $taxAmount
2969          token: $token
2970          total: $total
2971          postalCode: $postalCode
2972          plan: $plan
2973          planCycle: $planCycle
2974          taxCode: $taxCode,
2975          taxName: $taxName
2976        ) {
2977          ...PlanInfoFragment
2978        }
2979      }
2980      ${s.planInfo}
2981    `}).then(e=>e),R=e=>(0,r.L)().mutate({variables:Object.assign({},e),mutation:i.J1`
2982      mutation CreateSubscription (
2983        $taxRate: Float!
2984        $extraTaxRate: Float
2985        $taxCountryCode: String!
2986        $postalCode: String!
2987        $taxCode: String!
2988        $taxName: String!
2989        $extraTaxName: String
2990      ) {
2991        updateTaxInfo (
2992          taxRate: $taxRate
2993          extraTaxRate: $extraTaxRate
2994          taxCountryCode: $taxCountryCode
2995          postalCode: $postalCode
2996          taxCode: $taxCode
2997          taxName: $taxName
2998          extraTaxName: $extraTaxName
2999        ) {
3000          subtotal,
3001          tax,
3002          total,
3003          credit,
3004          taxCountryCode,
3005          taxCode,
3006          postalCode
3007        }
3008      }
3009    `}).then(e=>e),k=()=>(0,r.L)().mutate({mutation:i.J1`
3010      mutation ReactivateCurrentPlan {
3011        reactivateCurrentPlan {
3012          ...PlanInfoFragment
3013        }
3014      }
3015      ${s.planInfo}
3016    `}).then(e=>e),O=e=>(0,r.L)().mutate({variables:Object.assign({},e),mutation:i.J1`
3017      mutation RetryPayment (
3018        $invoiceId: String!
3019      ) {
3020        retryPayment (
3021          invoiceId: $invoiceId
3022        ) {
3023          ...PlanInfoFragment
3024        }
3025      }
3026      ${s.planInfo}
3027    `}).then(e=>e),S=e=>n(void 0,void 0,void 0,function*(){return(0,r.L)().query({variables:Object.assign({},e),query:i.J1`
3028      query GetCouponDiscount (
3029        $forFp: Boolean
3030        $cycle: String
3031        $plan: String
3032      ) {
3033        getCouponDiscount (
3034          forFp: $forFp,
3035          cycle: $cycle
3036          plan: $plan
3037        )
3038      }
3039    `}).then(e=>e)}),I={get stripeKey(){return l()},get cycles(){return d()},initQuaderno:u,calculateTaxes:p,isValidTaxNumber:v,subscribe:m,getPlanInfo:y,getInvoices:g,changeSubscriptionSummary:h,hasPastDueInvoice:f,changeSubscription:b,cancelSubscription:w,removeCreditCard:A,addCreditCard:D,updateTaxInformation:R,reactivateCurrentPlan:k,retryPayment:O,getCouponDiscount:S,globalLoader:c};function T(){return I}},7707(e,t,o){"use strict";var i=o(54564);const r=()=>({penName:{service:(0,i.E)()}});o.d(t,["_",0,r])},54564(e,t,o){"use strict";o.d(t,{E:()=>w});var i=o(79675),r=o(42163),a=o.n(r),n=o(34393),s=o(9631);const l=(0,s.N)("penName"),d={penName:i.J1`
3040    fragment PenNameFragment on PenNameDto {
3041      id,
3042      name,
3043      firstName,
3044      lastName,
3045      bio,
3046      image,
3047      facebookLink,
3048      bookbubLink,
3049      twitterLink,
3050      instagramLink,
3051      websiteLink,
3052      newsletterLink,
3053      tiktokLink,
3054      amazonLink,
3055      goodreadsLink,
3056      isDraft,
3057      followerCount,
3058      averageRating,
3059      reviewCount,
3060      followers {
3061        id
3062      }
3063    }
3064  `},c=e=>(0,n.L)().query({variables:Object.assign({},e),query:i.J1`
3065      query GetPenNames (
3066        $genericSearchTerm: String,
3067        $genericSearch: Boolean,
3068        $skip: Int,
3069        $take: Int,
3070        $sortBy: String,
3071        $descending: Boolean,
3072        $following: Boolean
3073        $forUserId: Int
3074      ) {
3075        penNames (
3076          genericSearchTerm: $genericSearchTerm,
3077          genericSearch: $genericSearch,
3078          skip: $skip,
3079          take: $take,
3080          sortBy: $sortBy,
3081          descending: $descending,
3082          following: $following
3083          forUserId: $forUserId
3084        ) {
3085          totalRows,
3086          items {
3087            ...PenNameFragment
3088          }
3089        }
3090      }
3091      ${d.penName}
3092    `}),u=(e,t)=>
3092void 0===e?Promise.reject(new Error("Missing id.")):(0,n.L)().query({variables:Object.assign({id:e},t),query:i.J1`
3093      query GetPenName (
3094        $id: Int!,
3095        $getAverageRating: Boolean,
3096        $genericSearch: Boolean
3097      ) {
3098        penName (id: $id, getAverageRating: $getAverageRating, genericSearch: $genericSearch) {
3099          ...PenNameFragment
3100        }
3101      }
3102      ${d.penName}
3103    `}),p=e=>(0,n.L)().mutate({variables:{name:e.name,bio:e.bio,image:e.image,facebookLink:e.facebookLink,bookbubLink:e.bookbubLink,twitterLink:e.twitterLink,instagramLink:e.instagramLink,websiteLink:e.websiteLink,newsletterLink:e.newsletterLink,tiktokLink:e.tiktokLink,amazonLink:e.amazonLink,goodreadsLink:e.goodreadsLink},mutation:i.J1`
3104      mutation CreatePenName (
3105        $name: String!,
3106        $bio: String,
3107        $image: String,
3108        $facebookLink: String,
3109        $bookbubLink: String,
3110        $twitterLink: String,
3111        $instagramLink: String,
3112        $websiteLink: String,
3113        $newsletterLink: String,
3114        $tiktokLink: String,
3115        $amazonLink: String,
3116        $goodreadsLink: String
3117      ) {
3118        createPenName (
3119          name: $name,
3120          bio: $bio,
3121          image: $image,
3122          facebookLink: $facebookLink,
3123          bookbubLink: $bookbubLink,
3124          twitterLink: $twitterLink,
3125          instagramLink: $instagramLink,
3126          websiteLink: $websiteLink,
3127          newsletterLink: $newsletterLink,
3128          tiktokLink: $tiktokLink,
3129          amazonLink: $amazonLink,
3130          goodreadsLink: $goodreadsLink
3131        ) {
3132          ...PenNameFragment
3133        }
3134      }
3135      ${d.penName}
3136    `}),v=e=>(0,n.L)().mutate({variables:{id:e.id,name:e.name,bio:e.bio,image:e.image,facebookLink:e.facebookLink,bookbubLink:e.bookbubLink,twitterLink:e.twitterLink,instagramLink:e.instagramLink,websiteLink:e.websiteLink,newsletterLink:e.newsletterLink,tiktokLink:e.tiktokLink,amazonLink:e.amazonLink,goodreadsLink:e.goodreadsLink},mutation:i.J1`
3137      mutation UpdatePenName (
3138        $id: Int!,
3139        $name: String,
3140        $bio: String,
3141        $image: String,
3142        $facebookLink: String,
3143        $bookbubLink: String,
3144        $twitterLink: String,
3145        $instagramLink: String,
3146        $websiteLink: String,
3147        $newsletterLink: String,
3148        $tiktokLink: String,
3149        $amazonLink: String,
3150        $goodreadsLink: String
3151      ) {
3152        updatePenName (
3153          id: $id,
3154          name: $name,
3155          bio: $bio,
3156          image: $image,
3157          facebookLink: $facebookLink,
3158          bookbubLink: $bookbubLink,
3159          twitterLink: $twitterLink,
3160          instagramLink: $instagramLink,
3161          websiteLink: $websiteLink,
3162          newsletterLink: $newsletterLink,
3163          tiktokLink: $tiktokLink,
3164          amazonLink: $amazonLink,
3165          goodreadsLink: $goodreadsLink
3166        ) {
3167          ...PenNameFragment
3168        }
3169      }
3170      ${d.penName}
3171    `}),m=e=>(0,n.L)().query({variables:{id:e},query:i.J1`
3172      query CheckDeletePenName ($id: Int!) {
3173        checkDeletePenName(id: $id) {
3174          count,
3175          dtoTypeName,
3176          ids
3177        }
3178      }
3179    `}),y=e=>(0,n.L)().mutate({variables:{id:e},mutation:i.J1`
3180      mutation ConfirmDeletePenName (
3181        $id: Int!
3182      ) {
3183        confirmDeletePenName(id: $id) {
3184          id
3185        }
3186      }
3187    `}),g=e=>(0,n.L)().mutate({variables:{id:e},mutation:i.J1`
3188      mutation FollowPenName (
3189        $id: Int!
3190      ) {
3191        followPenName(id: $id) {
3192          ...PenNameFragment
3193        }
3194      }
3195      ${d.penName}
3196    `}),h=e=>(0,n.L)().mutate({variables:{id:e},mutation:i.J1`
3197      mutation UnfollowPenName (
3198        $id: Int!
3199      ) {
3200        unfollowPenName(id: $id) {
3201          ...PenNameFragment
3202        }
3203      }
3204      ${d.penName}
3205    `}),f=e=>`https://booksprout.co/pen-name/${e.id}/${a()(e.name)}`,b=Object.assign(Object.assign({},l),{get:c,getById:u,create:p,update:v,checkDelete:m,delete:y,follow:g,unfollow:h,getUrl:f,globalLoader(e){return l.setGlobalLoader(e),b}});function w(){return b}},55641(e,t,o){"use strict";let i;const r=()=>{const e=e=>{i=e},t=()=>i,o=()=>{var e;return null===(e=null===i||void 0===i?void 0:i.currentRoute)||void 0===e?void 0:e.value},r=e=>i?i.push(e).then(()=>{}).catch(()=>{}):Promise.resolve(),a=(e,t)=>r({name:e,params:t}),n=()=>{i=void 0};return{init:e,router:t,currentRoute:o,push:r,pushToName:a,reset:n}};o.d(t,["r",0,r])},7536(e,t,o){"use strict";var i=o(75533);const r={get returnLocation(){return(0,i.Ay)().returnLocation},get returnCrudModel(){return(0,i.Ay)().returnCrudModel},get returnLabel(){return(0,i.Ay)().returnLabel},get completeLabel(){return(0,i.Ay)().completeLabel},get attachModelId(){return(0,i.Ay)().attachModelId},get meta(){return(0,i.Ay)().meta}};o.d(t,["A",0,r])},80632(e,t,o){"use strict";var i=o(7869),r=o(75533),a=o(7536);const n={get state(){return(0,i.tB)((0,r.Ay)())},getters:a.A};o.d(t,["A",0,n])},51752(e,t,o){"use strict";o.d(t,{SN:()=>r,XH:()=>a,bq:()=>s,mv:()=>n});var i=o(75533);function r(){Object.assign((0,i.Ay)(),Object.assign({},(0,i.Uu)()))}function a(e){var t,o;const r=(0,i.Ay)();r.returnCrudModel=e.crudModel,r.returnLocation=e.from,r.returnLabel=null!==(t=e.returnLabel)&&void 0!==t?t:"",r.completeLabel=null!==(o=e.completeLabel)&&void 0!==o?o:"",r.attachModelId=e.attachModelId}function n(){const e=(0,i.Ay)();e.returnLocation="",e.returnLabel="",e.completeLabel="",e.returnCrudModel=void 0,e.attachModelId=void 0}function s(e){(0,i.Ay)().meta=Object.assign(Object.assign({},(0,i.Ay)().meta),e)}},75533(e,t,o){"use strict";var i=o(39786);const r=()=>({returnCrudModel:void 0,returnLocation:"",returnLabel:"",completeLabel:"",attachModelId:void 0,meta:{title:"",description:"",keywords:"",ogTitle:"",ogImage:"",ogUrl:"",canonicalUrl:""}}),a=()=>r(),n=(0,i.b)("system",r);o.d(t,["Ay",0,n,"Uu",0,a])},80669(e,t,o){"use strict";o.d(t,{J:()=>a});var i=o(80632),r=o(99566);function a(){return{system:{store:i.A,service:(0,r.J)()}}}},99566(e,t,o){"use strict";o.d(t,{J:()=>r});var i=o(51752);function r(){function e(e){(0,i.XH)(e)}function t(){(0,i.mv)()}function o(e){(0,i.bq)(e)}function r(){(0,i.SN)()}return{setReturnModel:e,clearReturnLocation:t,setMeta:o,resetState:r}}},93183(e,t,o){"use strict";var i=o(25750);const r={get notifications(){return(0,i.Ay)().notifications},get unreadMessageCount(){return(0,i.Ay)().unreadMessageCount},get unreadNotificationCount(){return(0,i.Ay)().unreadNotificationCount},get redirectData(){return(0,i.Ay)().redirect},get triggerLoginNotification(){return(0,i.Ay)().triggerLoginNotification},get loginForwardUrl(){return(0,i.Ay)().loginForwardUrl},get showMessageDialog(){return(0,i.Ay)().showMessageDialog},get userStats(){return(0,i.Ay)().userStats},get isReadyToRender(){return(0,i.Ay)().isReadyToRender},get lastError(){return(0,i.Ay)().lastError}};o.d(t,["A",0,r])},4087(e,t,o){"use strict";var i=o(7869),r=o(25750),a=o(93183);const n={get state(){return(0,i.tB)((0,r.Ay)())},getters:a.A};o.d(t,["A",0,n])},20887(e,t,o){"use strict";o.d(t,{$j:()=>n,B5:()=>s,Bh:()=>d,J5:()=>a,b6:()=>c,eq:()=>m,kZ:()=>v,p:()=>l,qT:()=>u,uo:()=>p});var i=o(25750),r=o(60194);function a(e){const t=(0,i.Ay)();if(void 0===t.notifications.find(t=>t.message===e)){const o={type:r.g.Error,message:e};t.notifications.push(o)}}function n(){(0,i.Ay)().notifications=(0,i.kX)()}function s(e){(0,i.Ay)().unreadMessageCount=e}function l(e){(0,i.Ay)().unreadNotificationCount=e}function d(e){(0,i.Ay)().redirect=e}function c(e){const t=(0,i.Ay)();t.triggerLoginNotification=e.show,t.loginForwardUrl=e.show?e.forwardUrl:""}function u(e){const t=(0,i.Ay)();t.showMessageDialog=e,e.show||(t.showMessageDialog.message="",t.showMessageDialog.optionalParams=[])}function p(e){(0,i.Ay)().userStats=e}function v(e){(0,i.Ay)().isReadyToRender=e}function m(e){(0,i.Ay)().lastError=e}},25750(e,t,o){"use strict";var i=o(65732),r=o(39786);const a=()=>[],n=()=>({notifications:a(),unreadMessageCount:0,unreadNotificationCount:{author:0,reviewer:0},redirect:void 0,triggerLoginNotification:!1,loginForwardUrl:"",showMessageDialog:{show:!1,error:!1,message:"",optionalParams:[]},userStats:new i.Sl$,isReadyToRender:!1,lastError:""}),s=(0,r.b)("ui",n);o.d(t,["Ay",0,s,"kX",0,a])},60194(e,t,o){"use strict";var i;o.d(t,{g:()=>i}),function(e){e[e["Error"]=0]="Error",e[e["Standard"]=1]="Standard"}(i||(i={}))},58183(e,t,o){"use strict";var i=o(65732),r=o(96098),a=o(4087),n=o(20887);const s=()=>{const e=e=>{(0,n.J5)(e)},t=()=>
3205{(0,n.$j)()},o=e=>{(0,i.m88)(null===e||void 0===e?void 0:e.forwardUrl)&&localStorage.setItem(r.E8,e.forwardUrl);const t=e?encodeURIComponent(e.forwardUrl):"undefined",o="undefined"!==t?"/login?forward="+t:"";if(null===e||void 0===e?void 0:e.router)return e.router.push(o);(0,n.b6)({show:!0,forwardUrl:o})},s=()=>{(0,n.b6)({show:!1,forwardUrl:""})},l=e=>{(0,n.J5)(e.message)},d=e=>{(0,n.B5)(e)},c=e=>{(0,n.p)(e)},u=e=>{(0,n.Bh)(e)},p=e=>{(0,n.qT)(Object.assign(Object.assign({},e),{show:!0}))},v=()=>{(0,n.qT)({show:!1})},m=e=>{(0,n.uo)(e)},y=e=>{(0,n.kZ)(e)},g=e=>{(0,n.eq)("string"===typeof e?e:String(e))};return{ui:{store:a.A,notifyError:e,clearNotifications:t,authRequired:o,clearAuthRequired:s,errorGeneric:l,setUnreadMessageCount:d,setUnreadNotificationCount:c,redirectTo:u,showMessageDialog:p,clearMessageDialog:v,setUserStats:m,setReadyToRender:y,setLastError:g}}};o.d(t,["m",0,s])},96110(e,t,o){"use strict";const i=e=>{var t;return Object.assign(Object.assign({},e),{name:null===(t=e.name)||void 0===t?void 0:t.trim(),termsConsentDate:e.termsConsentDate?new Date(e.termsConsentDate):void 0,termsConsentRevokedDate:e.termsConsentRevokedDate?new Date(e.termsConsentRevokedDate):void 0,topReviewerAppStatusDate:e.topReviewerAppStatusDate?new Date(e.topReviewerAppStatusDate):void 0})};o.d(t,["b",0,i])},65294(e,t,o){"use strict";const i={};o.d(t,["A",0,i])},40390(e,t,o){"use strict";var i=o(7869),r=o(71171),a=o(65294);const n={get state(){return(0,i.tB)((0,r.Ay)())},getters:a.A};o.d(t,["A",0,n])},71171(e,t,o){"use strict";var i=o(39786);const r=()=>({}),a=(0,i.b)("user",r);o.d(t,["Ay",0,a])},19673(e,t,o){"use strict";var i=o(40390),r=o(65146);const a=()=>({user:{store:i.A,service:(0,r.D)()}});o.d(t,["J",0,a])},65146(e,t,o){"use strict";o.d(t,{D:()=>W});var i=o(79675),r=o(65732),a=o(34393),n=o(2533),s=o(9631),l=o(96110),d=o(97543),c=o(27805),u=function(e,t,o,i){function r(e){return e instanceof o?e:new o(function(t){t(e)})}return new(o||(o=Promise))(function(o,a){function n(e){try{l(i.next(e))}catch(e){a(e)}}function s(e){try{l(i["throw"](e))}catch(e){a(e)}}function l(e){e.done?o(e.value):r(e.value).then(n,s)}l((i=i.apply(e,t||[])).next())})},p=function(e,t){var o={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(o[i]=e[i]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(o[i[r]]=e[i[r]])}return o};const v={userStatus:i.J1`
3206    fragment UserStatusFragment on UserStatusDto {
3207      id,
3208      active,
3209      additionalInformation,
3210      adminUser {
3211        id,
3212        emailAddress,
3213        name
3214      },
3215      adminUserId,
3216      createdDate,
3217      expiryDate,
3218      isRestriction,
3219      type,
3220      userId
3221      ineligibleReason
3222    }
3223  `,userProfile:i.J1`
3224    fragment UserProfileFragment on UserDto {
3225      id,
3226      createdDate,
3227      reviewerRole,
3228      authorRole,
3229      emailAddress,
3230      name,
3231      amazonProfileLink,
3232      consentMethod,
3233      kindleEmail,
3234      verifiedKindleEmail,
3235      image,
3236      termsConsentRevokedDate,
3237      topReviewerAppStatus,
3238      topReviewerAppStatusDate,
3239      topReviewerAppStatusReason,
3240      stripeCustomerId,
3241      isAdmin,
3242      isLocked,
3243      forceLoyaltyDiscountView,
3244      canActAs {
3245        id,
3246        emailAddress
3247      },
3248      userEmails {
3249        id,
3250        emailAddress,
3251        isDefault,
3252        status,
3253        postmarkBounceCode,
3254        postmarkBounceName,
3255        postmarkBounceDescription,
3256        postmarkBounceDate,
3257        postmarkBounceCount
3258      },
3259      preferences {
3260        alertNewArc,
3261        alertNewArcOtherLanguages,
3262        alertReviewDueIn2Days,
3263        dailyUpdatesOnFollowCount,
3264        penNameLimit,
3265        reminderBookLinks,
3266        reviewSitesFlag,
3267        reviewLanguagesFlag,
3268        alertTimeToPublish,
3269        alertReadyToReview,
3270        alertFinalFollowup,
3271        alertDelayExpiring,
3272        alertDelayExpired,
3273        alertSavedArcEndingOrLowCopies,
3274        alertNewArcParticipant
3275        alertNewReview,
3276        alertArcCancellation,
3277        alertReviewRejected,
3278        alertNewExternalReview,
3279        alertNewTeamApplicant,
3280        emailOnMessage,
3281        invitedToTeam,
3282        freeText,
3283        findArcFilters,
3284        uiLocale,
3285        alertBookFileUpdated
3286      },
3287      status,
3288      termsConsentDate,
3289      following {
3290        id
3291      },
3292      hasActingAs,
3293      completedTours,
3294      countryCode,
3295      usedCouponCodes,
3296      phoneNumber,
3297      phoneVerified,
3298      legacyBestsellingArcs
3299    }
3300  `},m=(0,s.N)("user"),y=e=>{if(void 0===e)return;const{penNameLimit:t,__typename:o}=e,i=p(e,["penNameLimit","__typename"]);return i},g=e=>(0,a.L)().query({variables:{needle:e},query:i.J1`
3301      query GetUsersToMimic ($needle: String!) {
3302        getUsersToMimic (needle: $needle) {
3303          id,
3304          emailAddress,
3305          name,
3306          authorRole,
3307          reviewerRole,
3308          image
3309        }
3310      }
3311    `}).then(e=>e.map(l.b)),h=e=>{throw new Error("Unauthorised")},f=e=>(0,a.L)().query({variables:{id:e},query:i.J1`
3312      query CheckDeleteUser ($id: Int!) {
3313        checkDeleteUser (id: $id) {
3314          count,
3315          dtoTypeName,
3316          ids
3317        }
3318      }
3319    `}),b=e=>(0,a.L)().mutate({variables:{id:e},mutation:i.J1`
3320      mutation ConfirmDeleteUser (
3321        $id: Int!
3322      ) {
3323        confirmDeleteUser(id: $id) {
3324          id
3325        }
3326      }
3327    `}),w=()=>(0,a.L)().query({query:i.J1`
3328      query CheckDeleteMyAccount {
3329        checkDeleteMyAccount {
3330          count,
3331          dtoTypeName,
3332          ids
3333        }
3334      }
3335    `}),A=e=>(0,a.L)().mutate({variables:{confirmation:e},mutation:i.J1`
3336      mutation ConfirmDeleteMyAccount (
3337        $confirmation: String!
3338      ) {
3339        confirmDeleteMyAccount(confirmation: $confirmation) {
3340          id
3341        }
3342      }
3343    `}),D=e=>{throw new Error("Unauthorised")},R=(e,t)=>(null===t||void 0===t?void 0:t.mimicUser)?(0,a.L)().query({query:i.J1`
3344        query GetMimicUserProfile {
3345          getMimicUserProfile {
3346            ...UserProfileFragment
3347          }
3348        }
3349        ${v.userProfile}
3350      `}).then(e=>(0,l.b)(e)):(0,a.L)().query({query:i.J1`
3351        query GetUserProfile {
3352          getUserProfile {
3353            ...UserProfileFragment
3354          }
3355        }
3356        ${v.userProfile}
3357      `}).then(e=>(0,l.b)(e)),k=e=>(0,a.L)().mutate({variables:{id:e.id,amazonProfileLink:e.amazonProfileLink,image:e.image,kindleEmail:e.kindleEmail,verifiedKindleEmail:e.verifiedKindleEmail,name:e.name,preferences:y(e.preferences),notificationRegistrationToken:e.notificationRegistrationToken,completedTours:e.completedTours,authorRole:e.authorRole,skipThirdPartySync:e.skipThirdPartySync},mutation:i.J1`
3358      mutation UpdateUserProfile (
3359        $id: Int!,
3360        $amazonProfileLink: String,
3361        $image: String,
3362        $kindleEmail: String,
3363        $verifiedKindleEmail: Boolean,
3364        $name: String,
3365        $preferences: UpdateUserPreferencesDto,
3366        $notificationRegistrationToken: String,
3367        $completedTours: String
3368        $authorRole: String
3369        $skipThirdPartySync: Boolean
3370      ) {
3371        updateUserProfile (
3372          id: $id,
3373          amazonProfileLink: $amazonProfileLink,
3374          image: $image,
3375          kindleEmail: $kindleEmail,
3376          verifiedKindleEmail: $verifiedKindleEmail,
3377          name: $name,
3378          preferences: $preferences,
3379          notificationRegistrationToken: $notificationRegistrationToken,
3380          completedTours: $completedTours
3381          authorRole: $authorRole
3382          skipThirdPartySync: $skipThirdPartySync
3383        ) {
3384          ...UserProfileFragment
3385        }
3386      }
3387      ${v.userProfile}
3388    `}).then(e=>(0,l.b)(e)),O=e=>(0,a.L)().mutate({variables:{emailAddress:e},mutation:i.J1`
3389      mutation AddNewEmailAddress (
3390        $emailAddress: String!
3391      ) {
3392        addNewEmailAddress (emailAddress: $emailAddress) {
3393          ...UserProfileFragment
3394        }
3395      }
3396      ${v.userProfile}
3397    `}).then(e=>(0,l.b)(e)),S=e=>(0,a.L)().mutate({variables:{emailAddress:e},mutation:i.J1`
3398      mutation RemoveEmailAddress (
3399        $emailAddress: String!
3400      ) {
3401        removeEmailAddress (emailAddress: $emailAddress) {
3402          ...UserProfileFragment
3403        }
3404      }
3405      ${v.userProfile}
3406    `}).then(e=>(0,l.b)(e)),I=e=>(0,a.L)().mutate({variables:{emailAddress:e},mutation:i.J1`
3407      mutation SetDefaultEmailAddress (
3408        $emailAddress: String!
3409      ) {
3410        setDefaultEmailAddress (emailAddress: $emailAddress) {
3411          ...UserProfileFragment
3412        }
3413      }
3414      ${v.userProfile}
3415    `}).then(e=>(0,l.b)(e)),T=()=>(0,n.q)().axios().post("user/withdraw-consent"),E=()=>(0,n.q)().axios().post("user/reinstate-consent"),C=()=>(0,n.q)().axios().post("user/consent-given"),P=e=>(0,a.L)().mutate({variables:{emailAddress:e},mutation:i.J1`
3416      mutation AddVirtualAssistant (
3417        $emailAddress: String!
3418      ) {
3419        addVirtualAssistant (emailAddress: $emailAddress) {
3420          ...UserProfileFragment
3421        }
3422      }
3423      ${v.userProfile}
3424    `}).then(e=>(0,l.b)(e)),j=e=>(0,a.L)().mutate({variables:{emailAddress:e},mutation:i.J1`
3425      mutation RemoveVirtualAssistant (
3426        $emailAddress: String!
3427      ) {
3428        removeVirtualAssistant (emailAddress: $emailAddress) {
3429          ...UserProfileFragment
3430        }
3431      }
3432      ${v.userProfile}
3433    `}),$=()=>(0,a.L)().mutate({mutation:i.J1`
3434      mutation AddAuthorRoleToUser {
3435        addAuthorRoleToUser {
3436          ...UserProfileFragment
3437        }
3438      }
3439      ${v.userProfile}
3440    `}),L=()=>(0,a.L)().query({query:i.J1`
3441      query GetUserStats {
3442        getUserStats {
3443          completeArcCount,
3444          newReviewCount,
3445          pendingTeamMembers,
3446          arcCount,
3447          bookCount,
3448          penNameCount,
3449          arcTeamCount,
3450          reviewsCount,
3451          anyTeamHasMember,
3452          anyArcHasParticipant,
3453          anyArcHasParticipant,
3454          anyPenNameHasFollower,
3455          hasReviewOlderThanOneMonth,
3456          hasHadTeamMemberForOneMonth
3457        }
3458      }
3459    `}),N=e=>(0,a.L)().query({variables:Object.assign({},e),query:i.J1`
3460      query GetReviewerStats (
3461        $id: Int!
3462      ) {
3463        getReviewerStats (
3464          id: $id
3465        ) {
3466          arcsDownloadedThisWeek,
3467          earliestNextClaimDate,
3468          arcTotalOverdueDays,
3469          onTimeReviewRateStats {
3470            allClaimsCount,
3471            lateCount,
3472            onTimeReviewRate,
3473            pcOfLateClaims
3474          },
3475          isTrustedReviewer,
3476          totalReviewCount,
3477          averageRating,
3478          cancelledReviewCount,
3479          dueReviewCount,
3480          activeArcCount
3481        }
3482      }
3483    `}),F=()=>(0,a.L)().mutate({mutation:i.J1`
3484      mutation ApplyForTopReviewerRole {
3485        applyForTopReviewerRole {
3486          ...UserProfileFragment
3487        }
3488      }
3489      ${v.userProfile}
3490    `}),B=e=>(0,a.L)().mutate({variables:Object.assign({},e),mutation:i.J1`
3491      mutation AddUserStatus (
3492        $userId: Int!,
3493        $type: Int!,
3494        $active: Boolean!,
3495        $isRestriction: Boolean!,
3496        $additionalInformation: String,
3497        $expiryDate: DateTime
3498      ) {
3499        addUserStatus (
3500          userId: $userId,
3501          type: $type,
3502          active: $active,
3503          isRestriction: $isRestriction,
3504          expiryDate: $expiryDate,
3505          additionalInformation: $additionalInformation
3506        ) {
3507          ...UserStatusFragment
3508        }
3509      }
3510      ${v.userStatus}
3511    `}),x=e=>(0,a.L)().mutate({variables:Object.assign({},e),mutation:i.J1`
3512      mutation UpdateUserStatus (
3513        $id: Int!,
3514        $type: Int,
3515        $active: Boolean,
3516        $isRestriction: Boolean,
3517        $additionalInformation: String,
3518        $expiryDate: DateTime
3519        $userId: Int!
3520        $ineligibleReason: Int
3521      ) {
3522        updateUserStatus (
3523          id: $id,
3524          type: $type,
3525          active: $active,
3526          isRestriction: $isRestriction,
3527          expiryDate: $expiryDate,
3528          additionalInformation: $additionalInformation,
3529          userId: $userId,
3530          ineligibleReason: $ineligibleReason,
3531        ) {
3532          ...UserStatusFragment
3533        }
3534      }
3535      ${v.userStatus}
3536    `}),U=e=>(0,a.L)().query({variables:Object.assign({},e),query:i.J1`
3537      query GetUserStatuses (
3538        $active: Boolean,
3539        $type: Int,
3540        $adminUserId: Int,
3541        $needle: String,
3542        $isRestriction: Boolean,
3543        $userId: Int!
3544      ) {
3545        getUserStatuses (
3546          userId: $userId,
3547          active: $active,
3548          type: $type,
3549          adminUserId: $adminUserId,
3550          needle: $needle,
3551          isRestriction: $isRestriction
3552        ) {
3553          ...UserStatusFragment
3554        }
3555      }
3556      ${v.userStatus}
3557    `}),_=e=>u(void 0,void 0,void 0,function*(){var t;const o=c.A.mimicUser,i=c.A.authenticatedUser,a=(null===o||void 0===o?void 0:o.id)===e?o:(null===i||void 0===i?void 0:i.id)===e?i:null,n=null===(t=null===a||void 0===a?void 0:a.preferences)||void 0===t?void 0:t.hasAmazonReviewRestriction;if(void 0!==n&&null!==n)return n;const s=yield U({userId:e,isRestriction:!0,active:!0});return s.some(e=>e.type===r.jGy.USER.USER_STATUS.PREVENT_AMAZON_REVIEWS&&e.active)}),M=e=>(0,a.L)().query({variables:Object.assign({},e),query:i.J1`
3558      query GetUserReports (
3559        $userId: Int!,
3560        $sinceLastRestriction: Boolean,
3561        $ignored: Boolean,
3562        $system: Boolean
3563      ) {
3564        getUserReports (
3565          userId: $userId,
3566          sinceLastRestriction: $sinceLastRestriction,
3567          ignored: $ignored,
3568          system: $system
3569        ) {
3570          date,
3571          extendedReason,
3572          reasonType,
3573          reportedByUser {
3574            id,
3575            name,
3576            emailAddress,
3577            image
3578          },
3579          reportedDocumentId,
3580          type,
3581          ignored,
3582          claim {
3583            ...ArcReviewClaimFragment
3584          }
3585        }
3586      },
3587      ${d.U.reviewClaim}
3588    `}),G=e=>e?(0,n.q)().axios().post("first-promoter/add-lead",{ref:e}):Promise.resolve(!1),q=()=>(0,n.q)().axios().post("email/reactivate-email-addresses"),V=Object.assign(Object.assign({},m),{fragments:v,get:D,getById:R,create:h,update:k,delete:b,checkDelete:f,checkDeleteMyAccount:w,deleteMyAccount:A,makeUserResult:l.b,getUsersToMimic:g,getUserStats:L,getReviewerStats:N,applyForTopReviewer:F,addAuthorRoleToUser:$,getHasAmazonRestriction:_,addNewEmailAddress:O,removeEmailAddress:S,makeDefaultEmailAddress:I,reactivateEmailAddresses:q,withdrawContent:T,reinstateContent:E,consentGiven:C,addVirtualAssistant:P,removeVirtualAssistant:j,addUserStatus:B,updateUserStatus:x,getUserStatuses:U,getUserReports:M,addLeadToCampaign:G,globalLoader(e){return m.setGlobalLoader(e),V}});function W(){return V}},14696(e,t,o){"use strict";const i=[{path:"",meta:{requiresAuth:!1},component:()=>Promise.all([o.e(4121),o.e(8341)]).then(()=>o(7684)),children:[{path:"",meta:{metaInstructions:{module:"login"}},component:()=>Promise.all([o.e(4121),o.e(996),o.e(5237)]).then(()=>o(40573))},{path:"logout",component:()=>Promise.all([o.e(4121),o.e(2692)]).then(()=>o(57840))},{path:"login",name:"login",meta:{metaInstructions:{module:"login"}},component:()=>Promise.all([o.e(4121),o.e(996),o.e(5237)]).then(()=>o(40573))},{path:"sign-up/:stage?/:tab?",name:"sign-up",meta:{metaInstructions:{module:"signUp"}},component:()=>Promise.all([o.e(4121),o.e(996),o.e(5841)]).then(()=>o(32285))},{path:"request-password-reset",meta:{metaInstructions:{module:"requestPasswordReset"}},component:()=>Promise.all([o.e(4121),o.e(5633)]).then(()=>o(55700))},{path:"complete-password-reset/:token",meta:{metaInstructions:{module:"completePasswordReset"}},component:()=>Promise.all([o.e(4121),o.e(5633)]).then(()=>o(55700))},{path:"site/verify-email",redirect:e=>`sign-up/verify-email/${e.query.key}`},{path:"site/verify-phone",redirect:e=>`sign-up/verify-phone/${e.query.key}`},{path:"site/email-unsubscribe",component:()=>Promise.all([o.e(4121),o.e(2981)]).then(()=>o(75470))},{path:"403",meta:{metaInstructions:{module:"403"}},name:"403",component:()=>Promise.all([o.e(4121),o.e(996),o.e(4292)]).then(()=>o(97368))},{path:"404",meta:{metaInstructions:{module:"404"}},name:"404",component:()=>Promise.all([o.e(4121),o.e(996),o.e(1483)]).then(()=>o(38035))}]}];const r=[{name:"message",path:"messages",meta:{requiresAuth:!0,role:{action:"read",module:"message"},metaInstructions:{module:"messages"}},component:()=>Promise.all([o.e(4121),o.e(996),o.e(2661)]).then(()=>o(72661)),children:[{path:"thread/:id",meta:{requiresAuth:!0},component:()=>Promise.all([o.e(4121),o.e(996),o.e(2661)]).then(()=>o(72661))},{path:":state/:userId?",meta:{requiresAuth:!0},component:()=>Promise.all([o.e(4121),o.e(996),o.e(2661)]).then(()=>o(72661))}]}];o.d(t,["J",0,i,"L",0,r])},76605(e,t,o){"use strict";var i=o(52361);const r=16,a=16,n=["sm","md","lg","xl"],s=Object.assign({},i.A.sizes),l=()=>{},d=/^[\d.]+(px)?$/,c=e=>!Number.isNaN(e)&&e>0,u=e=>{const t=e.trim();return d.test(t)?parseFloat(t):NaN},p=()=>"undefined"!==typeof window&&"function"===typeof window.getComputedStyle,v=()=>window.getComputedStyle(document.documentElement),m=e=>{const t=Object.assign({},s);for(const o of n){const i=u(e.getPropertyValue(`--q-size-${o}`));c(i)&&(t[o]=i)}return t},y=e=>{const t=parseFloat(e.fontSize);return c(t)?t:a},g=e=>{const t=m(e),o=y(e),i={};for(const e of n)i[e]=t[e]/r*o;return i},h=(e,t)=>"function"===typeof e.addEventListener?(e.addEventListener("change",t),()=>e.removeEventListener("change",t)):(e.addListener(t),()=>e.removeListener(t)),f=()=>{p()&&i.A.setSizes(g(v()))},b=()=>{if(f(),!p()||"function"!==typeof window.matchMedia)return l;const e=m(v()),t=n.map(t=>h(window.matchMedia(`(min-width: ${e[t]/r}rem)`),f));return()=>
3588t.forEach(e=>e())};o.d(t,["k",0,b])},89052(e,t,o){"use strict";o.d(t,{Ku:()=>p,RM:()=>v,Zr:()=>g,_R:()=>f,g5:()=>h,lB:()=>y,tU:()=>m});const i=[/Invalid call to runtime\.sendMessage\(\)\. Tab not found\./i,/feature named `hover` was not found/i,/feature named `pageObserver` was not found/i,/Encountered %o when trying/i,/Load config error: %O SyntaxError: Unexpected end of JSON input/i,/\[Termly\] error fetching configuration/i,/UnhandledRejection: Non-Error promise rejection captured with value: Object Not Found Matching Id/i,/Prettify fetch failed:/i,/SyntaxError: The string did not match the expected pattern\./i,/Event `[^`]+` \(type=[^)]+\) captured as promise rejection/i,/(?:Non-Error|Object) captured as promise rejection with keys: message/i,/Navigation (cancelled|aborted|redirected) from "[^"]+" to "[^"]+"/i,/^Unauthorized$/,/^Token has been invalidated$/,/^Network Error$/,/^Request aborted$/],r=[/^(user-script|chrome-extension|moz-extension|safari-web-extension|safari-extension):/i,/extension:\/\//i,/^iabjs:/i],a=/Cannot read properties of null \(reading 'classList'\)/i,n=/\bat after-leave\b/i,s=/Cannot read properties of null \(reading 'appendChild'\)/i,l=/quasar\/src\/plugins\/Loading/i;function d(e){var t;return(null===(t=e.exception)||void 0===t?void 0:t.values)||[]}function c(e){return d(e).reduce((e,t)=>{var o;return e.concat((null===(o=t.stacktrace)||void 0===o?void 0:o.frames)||[])},[])}function u(e){var t;const o=null===(t=e.extra)||void 0===t?void 0:t.arguments;if(!Array.isArray(o))return[];const i=[];for(const e of o)e&&"object"===typeof e&&"string"===typeof e.stack&&i.push(e.stack);return i}function p(e){var t,o;const i=new Set;return e.message&&i.add(e.message),(null===(t=e.logentry)||void 0===t?void 0:t.message)&&i.add(e.logentry.message),(null===(o=e.logentry)||void 0===o?void 0:o.formatted)&&i.add(e.logentry.formatted),d(e).forEach(e=>{e.value&&i.add(e.value),e.type&&e.value&&i.add(`${e.type}: ${e.value}`)}),[...i]}function v(e){const t=p(e);return t.some(e=>i.some(t=>t.test(e)))}function m(e){const t=p(e);return!!t.some(e=>a.test(e))&&u(e).some(e=>n.test(e))}function y(e){const t=p(e);return!!t.some(e=>s.test(e))&&c(e).some(e=>"string"===typeof e.filename&&l.test(e.filename))}function g(){return"undefined"!==typeof document&&null===document.body}function h(e){const t=c(e).some(e=>{const t=e.filename;return"string"===typeof t&&r.some(e=>e.test(t))});return!!t||u(e).some(e=>r.some(t=>t.test(e)))}function f(e){var t,o,i;const r=d(e),a=p(e),n=c(e).length>0,s=/(booksprout\.co|localhost)/i.test(`${(null===(t=e.request)||void 0===t?void 0:t.url)||e.culprit||""}`),l=r.some(e=>{var t;return"onunhandledrejection"===(null===(t=e.mechanism)||void 0===t?void 0:t.type)}),u=a.some(e=>/^AxiosError:/i.test(e));return(null===(o=e.tags)||void 0===o?void 0:o.noise_candidate)?e:(null===(i=e.tags)||void 0===i?void 0:i.third_party_code)?(e.tags=Object.assign(Object.assign({},e.tags),{noise_candidate:"third-party-stack"}),e):(n||e.crashFile||!l||!s||u||(e.tags=Object.assign(Object.assign({},e.tags),{noise_candidate:"stackless-unhandled-rejection"})),e)}},96098(e,t,o){"use strict";const i="bs-forward-url",r="bs-oauth-forward-url";o.d(t,["E8",0,i,"qB",0,r])},10781(e,t,o){"use strict";var i=o(65732);const r=o(64460),a=e=>{const t=r.outerWidth/2-e.w/2,o=r.outerHeight/2-e.h/2,i=r.open(e.url,e.title,`\n      popup=true,\n      width=${e.w},\n      height=${e.h},\n      top=${o},\n      left=${t},\n      title=${e.title},\n      noopener=false\n      `);return null===i||void 0===i||i.focus(),i},n=()=>!(!r.Capacitor||!("function"===typeof r.Capacitor.isNativePlatform&&r.Capacitor.isNativePlatform()||r.Capacitor.isNative)),s=()=>{let e=!1;return(r.location&&r.location.pathname.startsWith("/reviewer")||n())&&(e=!0),e},l=(e,t,o="...",r=void 0)=>(0,i.gOJ)(e,t,o,r);o.d(t,["GE",0,a,"JK",0,n,"gO",0,l,"z7",0,s])},94033(e,t,o){"use strict";var i=o(89221),r=o(7869),a=o(65769),n=o(65732),s=o(3598),l=o(32308),d=o(84461),c=o(1138
35881),u=o(32543),p=o(91037),v=o(74399),m=o(25438),y=o(70905),g=o(62856),h=o(58183),f=o(78832),b=function(e,t,o,i){function r(e){return e instanceof o?e:new o(function(t){t(e)})}return new(o||(o=Promise))(function(o,a){function n(e){try{l(i.next(e))}catch(e){a(e)}}function s(e){try{l(i["throw"](e))}catch(e){a(e)}}function l(e){e.done?o(e.value):r(e.value).then(n,s)}l((i=i.apply(e,t||[])).next())})};o(5371).shim();const w=(0,i.pM)({name:"AppComponent",meta(){return(0,v.Z)().documentMeta()},setup(){(0,a.A)(()=>(0,v.Z)().documentMeta());const e=(0,c.Pp)(),t=(0,g.c)(),{showError:w,showMessage:A}=(0,p.b)(e),{getLocalStorage:D}=(0,y.r)(),R=(0,m.U)(e),k=(0,r.IG)((0,c.qt)()),O=(0,r.IG)((0,c.Jd)().user.service),S=(0,r.IG)((0,c.a)()),I=()=>R.isMobileApp(),T=(0,u.t)({host:e,mimicOrAuthenticatedUser:()=>t.mimicOrAuthenticatedUser,authenticatedUser:()=>t.authenticatedUser,isMobileApp:I,isReviewerApp:()=>!0}),E=(0,i.EW)(()=>(0,h.m)().ui.store.getters.isReadyToRender),C=(0,r.KR)(!1),P=(0,r.KR)(void 0),j=(0,i.EW)(()=>e.$route.params.id||""),$=(0,i.EW)(()=>(0,h.m)().ui.store.getters.redirectData),L=t=>{t.name?e.$router.push({name:t.name}).catch(()=>{}):t.url&&e.$router.push(t.url).catch(()=>{})},N=(0,i.EW)(()=>(0,h.m)().ui.store.getters.showMessageDialog),F=t=>{var o;t.show&&(e.$q.dialog({component:e.$bs.dialogComponent,componentProps:{error:t.error,heading:t.error?e.$tc("system.actions.errorDialogHeading"):e.$tc("system.actions.messageDialogHeading"),message:null===(o=t.message)||void 0===o?void 0:o.toString().concat((t.optionalParams||[]).join(" "))}}),(0,h.m)().ui.clearMessageDialog())},B=(0,i.EW)(()=>(0,h.m)().ui.store.getters.triggerLoginNotification),x=t=>{t&&((0,h.m)().ui.clearAuthRequired(),e.$router.push((0,h.m)().ui.store.getters.loginForwardUrl))},U=(0,i.EW)(()=>c.y6.isAuthExpired),_=t=>{var r,a;t&&(null===(a=null===(r=e.$route)||void 0===r?void 0:r.meta)||void 0===a?void 0:a.requiresAuth)?P.value=e.$q.dialog({component:(0,i.$V)(()=>Promise.all([o.e(4121),o.e(996),o.e(8811)]).then(()=>o(98811)))}):P.value&&P.value.hide()},M=()=>{I()&&(l.h.requestPermissions().then(e=>{"granted"===e.receive?l.h.register().catch(()=>{}):console.warn("Error registering user token",e)}).catch(()=>{}),l.h.addListener("registration",o=>{c.y6.isAuthenticated?O.globalLoader(!1).update({id:t.mimicOrAuthenticatedUser.id,notificationRegistrationToken:o.value}):e.$q.localStorage.set("notificationRegistrationToken",o.value)}),l.h.addListener("registrationError",e=>{console.error(e)}),l.h.addListener("pushNotificationActionPerformed",t=>{const o=t.notification.data;o.route&&e.$router.push(o.route),o.showMessage?A(o.showMessage):o.showError&&w(o.showError),l.h.removeAllDeliveredNotifications()}))},G=()=>{const t=D("mobileAppOnboardingDone");I()&&!t&&e.$q.dialog({component:f.A})},q=()=>b(this,void 0,void 0,function*(){if(!C.value){C.value=!0;try{let t;try{t=yield S.checkForUpdate(n.jGy.APP.VERSION,e.$q.platform.is.android?"android":"ios","master")}catch(e){return void console.error("Error checking for update",e)}if(!t.hasUpdate)return;try{const e=yield d.Ub.getNextBundle();if(e&&e.version===t.version)return;const o=yield d.Ub.download({url:t.downloadUrl,version:t.version});yield d.Ub.next({id:o.id})}catch(e){console.error("Error staging update",e)}}finally{C.value=!1}}}),V=()=>b(this,void 0,void 0,function*(){yield q(),s.q.addListener("appStateChange",e=>b(this,void 0,void 0,function*(){e.isActive&&(yield q())}))});return(0,i.wB)($,L),(0,i.wB)(N,F),(0,i.wB)(B,x),(0,i.wB)(U,_),T.configureIcons(),(0,i.sV)(()=>b(this,void 0,void 0,function*(){T.startPolling(()=>T.intervalRoutines()),T.configureLoading(),T.configureCalendar(),T.startHelpHero(T.onChecklistCompleted),(0,h.m)().ui.setReadyToRender(!0),I()&&(yield k.redirectIfOffline(e.$router),yield V(),M()),G()})),(0,i.$u)(()=>{T.captureReferral()}),(0,i.xo)(()=>{T.stopPolling(),T.stopHelpHero(T.onChecklistCompleted),l.h.removeAllListeners(),s.q.removeAllListeners()}),{axiosService:k,userService:O,authService:S,isReadyToRender:E,isCheckingForUpdate:C,authExpiredDialog:P,routerViewKey:j,redirectData:$,showMessageDialog:N,triggerLoginNotification:B,isAuthExpired:U,onRedirectDataChanged:L,onShowMessageDialog:F,onTriggerLoginNotification:x,onIsAuthExpired:_,registerForNotifications:M,showAppOnboarding:G,getLatestUpdate:q,checkForUpdates:V,intervalRoutines:T.intervalRoutines,onChecklistCompleted:T.onChecklistCompleted}}});o.d(t,["A",0,w])},72145(e,t,o){"use strict";o.r(t);var i=o(55362),r=o(63247);const a=(0,r.zj)(({app:e})=>{e.config.globalProperties.$axios=i.A});o.d(t,["default",0,a])},17689(e,t,o){"use strict";o.r(t);var i=o(63247),r=o(11381),a=o(65732);const n=(0,i.zj)(({router:e})=>{(0,r.UK)().initFromEnv(),(0,r.s9)().init((0,r.hU)()),(0,r.iE)().init(a.jGy.APP.HOME_URLS.REVIEWER),(0,r.rd)().init(e)});o.d(t,["default",0,n])},49186(e,t,o){"use strict";o.r(t);var i=o(63247),r=o(96447),a=o(84461);const n=(0,i.zj)(()=>{r.Ay.is.capacitor&&a.Ub.notifyAppReady()});o.d(t,["default",0,n])},57215(e,t,o){"use strict";o.r(t);
3588var i=o(11381),r=o(63247),a=o(71650),n=o(27698);const s=(0,r.zj)(({app:e})=>{e.use(i.V6),e.config.globalProperties.$bs={dialogComponent:a.A,confirmDialog:n.Ay}});o.d(t,["default",0,s])},44861(e,t,o){"use strict";o.r(t);var i=o(63247),r=o(11381),a=o(65732);const n=(0,i.zj)(({app:e})=>{e.directive("can",(0,r.e8)(a.jGy.USER.ROLES.TYPE.REVIEWER))});o.d(t,["default",0,n])},35883(e,t,o){"use strict";o.r(t);var i=o(63247),r=o(11381),a=function(e,t,o,i){function r(e){return e instanceof o?e:new o(function(t){t(e)})}return new(o||(o=Promise))(function(o,a){function n(e){try{l(i.next(e))}catch(e){a(e)}}function s(e){try{l(i["throw"](e))}catch(e){a(e)}}function l(e){e.done?o(e.value):r(e.value).then(n,s)}l((i=i.apply(e,t||[])).next())})};const n=(0,i.zj)(e=>a(void 0,[e],void 0,function*({app:e}){const t=(0,r.s9)().plugin();yield(0,r.jf)((0,r.s9)().i18n(),(0,r.s9)().initialLocale()),e.use(t,{globalInstall:!1}),(0,r.jK)(t,e)}));o.d(t,["default",0,n])},28609(e,t,o){"use strict";o.r(t);var i=o(63247),r=o(17959),a=o(65732),n=o(57457),s=o(40767),l=o(11381),d=function(e,t,o,i){function r(e){return e instanceof o?e:new o(function(t){t(e)})}return new(o||(o=Promise))(function(o,a){function n(e){try{l(i.next(e))}catch(e){a(e)}}function s(e){try{l(i["throw"](e))}catch(e){a(e)}}function l(e){e.done?o(e.value):r(e.value).then(n,s)}l((i=i.apply(e,t||[])).next())})};const c=(0,i.zj)(e=>d(void 0,[e],void 0,function*({router:e}){var t;try{yield(0,l.a)().load(),n.gV({email:null===(t=l.y6.authenticatedUser)||void 0===t?void 0:t.emailAddress}),e.beforeEach((t,o,i)=>d(void 0,void 0,void 0,function*(){var n,d,c,u;const{isAuthenticated:p}=l.y6,v=l.y6.authenticatedUser,m=(null===v||void 0===v?void 0:v.reviewerRole)!==a.jGy.USER.ROLES.REVIEWER.UNSET;if(p&&(null===v||void 0===v?void 0:v.id)){const e=yield(0,s.Kz)(v.id);
3588if(e.blocked)return yield(0,l.a)().logoutRequest(),(0,s.SL)(),r.A.create({type:"negative",message:"Error 417: Please contact our support team for assistance",timeout:5e3}),i("/login"),!1}if(o.query.forward&&(t.query.forward=o.query.forward),t.matched.some(e=>e.meta.requiresAuth)){if(!0!==p)return(0,l.a)().authRequired({forwardUrl:t.fullPath,router:e});const r=l.y6.mimicUser,s=r||v,d=!!(null===(n=null===v||void 0===v?void 0:v.userEmails)||void 0===n?void 0:n.some(e=>e.status===a.jGy.USER.EMAILS.STATUS.VERIFIED));if(!(0,a.m88)(v.emailAddress)||!d)return i("/sign-up/verify-email"),!1;if(!m)return!0!==(null===v||void 0===v?void 0:v.phoneVerified)&&(null===v||void 0===v?void 0:v.requiresPhoneVerification)?(i("/sign-up/verify-phone"),!1):(i("/sign-up/select-role"),!1);let c=!0;for(const e of t.matched)void 0!==e.meta.role&&(c=c&&s.permissionQuery.can(e.meta.role.action,e.name||"",a.jGy.USER.ROLES.TYPE.REVIEWER));c?i():((0,l.a)().invalid(),i(!o.matched.length&&"/"))}else{if("login"===(null===(c=null===(d=t.meta)||void 0===d?void 0:d.metaInstructions)||void 0===c?void 0:c.module)&&p){const e=!!(null===(u=null===v||void 0===v?void 0:v.userEmails)||void 0===u?void 0:u.some(e=>e.status===a.jGy.USER.EMAILS.STATUS.VERIFIED));return e?m?i("/review-copies"):!0!==(null===v||void 0===v?void 0:v.phoneVerified)&&(null===v||void 0===v?void 0:v.requiresPhoneVerification)?i("/sign-up/verify-phone"):i("/sign-up/select-role"):i("/sign-up/verify-email"),!1}if(p&&!m&&"/sign-up/select-role"!==t.fullPath&&-1===t.fullPath.indexOf("/sign-up/verify-phone")&&-1===o.fullPath.indexOf("login")&&-1===o.fullPath.indexOf("sign-up")&&"/review-copies"!==t.fullPath&&-1===t.fullPath.indexOf("/author/view")&&-1===t.fullPath.indexOf("/review-copy/view")&&-1===t.fullPath.indexOf("/book/view"))return i("/sign-up/select-role"),!1;i()}}))}catch(e){}}));o.d(t,["default",0,c])},78857(e,t,o){"use strict";o.r(t);var i=o(63247),r=function(e,t,o,i){function r(e){return e instanceof o?e:new o(function(t){t(e)})}return new(o||(o=Promise))(function(o,a){function n(e){try{l(i.next(e))}catch(e){a(e)}}function s(e){try{l(i["throw"](e))}catch(e){a(e)}}function l(e){e.done?o(e.value):r(e.value).then(n,s)}l((i=i.apply(e,t||[])).next())})};const a=(0,i.zj)(e=>r(void 0,[e],void 0,function*({router:e}){e.beforeEach((e,t,o)=>{o(e=>{e.$router&&(e.$router.referer=t)})}),e.beforeResolve((t,o,i)=>{e&&(e.referer=o),i()})}));o.d(t,["default",0,a])},45919(e,t,o){"use strict";o.r(t);var i=o(63247),r=o(76605);const a=(0,i.zj)(()=>{(0,r.k)()});o.d(t,["default",0,a])},76948(e,t,o){"use strict";o.r(t);var i=o(12929),r=o(52557),a=o(57457),n=o(88410),s=o(67468),l=o(3593),d=o(53869),c=o(65732),u=o(64340),p=o(89052);const v=[/downloadable font: download failed/i,/Error: event capacitorDidRegisterForRemoteNotifications not called/i,/Error registering user token \(Android/i,/CapgoUpdater\s*:\s*Semaphore wait timed out/i,/CapgoUpdater\s*:\s*Failed to parse bundle info/i],m=[/AxiosError: Network Error/i,/AxiosError: timeout exceeded/i,/AxiosError: Request aborted/i],y=({app:e,router:t})=>{["dev","sandbox"].includes("master")||i.T({app:e,dsn:"https://78bf4bdb9a0642c0a0ea01ffa6067cc0@o4504832385613824.ingest.sentry.io/4504835368615936",replaysSessionSampleRate:0,replaysOnErrorSampleRate:1,integrations:[r.d({router:t}),l.q({levels:["error"]}),d.y({filterKeys:[u.E.reviewerApp],behaviour:"apply-tag-if-exclusively-contains-third-party-frames"}),s.w({networkDetailAllowUrls:["https://booksprout.co","https://localhost:49506"]})],tracePropagationTargets:["localhost","booksprout.co",/^\//],tracesSampleRate:.2,environment:"master",ignoreErrors:["ResizeObserver","DataCloneError","Termly",/The user aborted a request./,"User cancelled.","Beacon","NavigationDuplicated",/timeout of 5000ms exceeded/,"@webkit-masked-url","Loading chunk","Loading CSS chunk","window.webkit.messageHandlers"],trackComponents:!0,release:c.jGy.APP.VERSION,attachStacktrace:!0,denyUrls:[/pagead\/js/i,/graph\.facebook\.com/i,/connect\.facebook\.net\/en_US\/all\.js/i,/eatdifferent\.com\.woopra-ns\.com/i,/static\.woopra\.com\/js\/woopra\.js/i,/extensions\//i,/^chrome:\/\//i,/chrome-extension:/i,/safari-extension:/i,/safari-web-extension:/i,/moz-extension:/i,/^user-script:/i,/127\.0\.0\.1:4001\/isrunning/i,/webappstoolbarba\.texthelp\.com\//i,/metrics\.itunes\.apple\.com\.edgesuite\.net\//i,/app.termly.io/i,/beacon-v2.helpscout.net/i,/.maze.co/i,/.adblockultimate.net/i,/c.amazon-adsystem.com/i,/anonymous/i,/webkit-masked-url/i,/updateAndCleanExtractedContent@/i,/Extract@/i,/w88p9x.com/i,/google-analytics.com/i],beforeSend(e){var t,o,i,r,s;const l=null===(o=null===(t=e.request)||void 0===t?void 0:t.headers)||void 0===o?void 0:o["User-Agent"],d=null===(i=e.exception)||void 0===i?void 0:i.values,c=(0,p.Ku)(e);if((null===l||void 0===l?void 0:l.includes("BingPreview"))||(null===l||void 0===l?void 0:l.includes("facebook")))return null;if((0,p.RM)(e))return null;if((0,p.g5)(e))return null;if((0,p.tU)(e))return null;if((0,p.lB)(e))return null;if((0,p.Zr)())return null;if(e=(0,p._R)(e),null===d||void 0===d?void 0:d.some(e=>
3588"NavigationDuplicated"===e.type))return null;if(null===(s=null===(r=e.request)||void 0===r?void 0:r.url)||void 0===s?void 0:s.includes("maintenance"))return null;if(null===d||void 0===d?void 0:d.some(e=>{var t,o;return null===(o=null===(t=e.stacktrace)||void 0===t?void 0:t.frames)||void 0===o?void 0:o.some(e=>"<anonymous>"===e.filename)}))return null;if(null===d||void 0===d?void 0:d.some(e=>{var t,o;return null===(o=null===(t=e.stacktrace)||void 0===t?void 0:t.frames)||void 0===o?void 0:o.some(e=>{var t;return null===(t=e.filename)||void 0===t?void 0:t.includes("quasar/src/mixins/prevent-scroll")})}))return null;if(c.some(e=>v.some(t=>t.test(e))))return null;if(c.some(e=>m.some(t=>t.test(e)))||(null===d||void 0===d?void 0:d.some(e=>"AxiosError"===e.type&&("Network Error"===e.value||"timeout exceeded"===e.value||"Request aborted"===e.value))))return null;if(null===d||void 0===d?void 0:d.some(e=>{var t;return null===(t=e.mechanism)||void 0===t?void 0:t.handled}))return null;if(null===d||void 0===d?void 0:d.some(e=>{var t;return null===(t=e.value)||void 0===t?void 0:t.includes("timeout of 5000ms exceeded")})){let e=!0,t=!0;fetch("https://www.google.com").then(t=>{t.ok||(e=!1)}).catch(()=>{e=!1}),fetch("https://booksprout.co").then(e=>{e.ok||(t=!1)}).catch(()=>{t=!1}),n.v4(function(o){o.setTag("axios-timeout","do ping"),o.setLevel("error"),a.Cp(new Error(`Google available: ${e}, Booksprout available: ${t}`))})}return e},beforeSendTransaction(e){var t,o;return(null===(o=null===(t=e.contexts)||void 0===t?void 0:t.trace)||void 0===o?void 0:o.status)?e:null}})};o.dn(y),o.d(t,["default",0,y])},16866(e,t,o){"use strict";o.r(t);var i=o(63247),r=o(11381);const a=(0,i.zj)(({ssrContext:e})=>{(0,r.OJ)(void 0,e)});o.d(t,["default",0,a])},99939(e,t,o){"use strict";var i=o(89221),r=o(7869),a=o(11381),n=o(58040),s=o(70905);const l=(0,i.pM)({name:"MobileAppOnboardingDialog",emits:["hide","ok"],components:{MethodSelection:(0,i.$V)(()=>Promise.all([o.e(4121),o.e(996)]).then(()=>o(6156)))},setup(e,{emit:t}){const o=(0,a.Pp)(),{setLocalStorage:i}=(0,s.r)(),l=(0,r.KR)("step-1"),d=(0,n.U)({dialogRef:"mobileAppOnboardingDialog",vm:o,emit:t}),c=()=>{i("mobileAppOnboardingDone",!0),d.hide()};return Object.assign(Object.assign({},d),{tab:l,onboardingDone:c})}});o.d(t,["A",0,l])},36045(e,t,o){"use strict";var i=o(63247),r=o(14024),a=o(11446);const n=()=>r.LA,s=(0,i.wE)(function(){return(0,r.aE)({scrollBehavior:()=>({left:0,top:0}),routes:a.A,history:n()("/reviewer/")})});o.d(t,["A",0,s])},11446(e,t,o){"use strict";var i=o(11381);function r(e){switch(e){case"arc":return"review-copy";case"arcs":return"review-copies";case"arc-team":return"team";case"arc-teams":return"teams";case"gamification":return"rank";default:return e}}const a=[{name:"author",requiresAuth:!1},{name:"arc-team",requiresAuth:!1},{name:"arc",requiresAuth:!1},{name:"gamification",requiresAuth:!0,isPlural:!0},{name:"book",requiresAuth:!1}];let n=[],s=[];for(const e of a){const t=e.name,i=e.isPlural?t:t+"s",a=[],l=["arc","book","author"].includes(t),d=r(i),c=r(t);a.push({name:d,meta:{role:{action:"read"},requiresAuth:"review-copies"!==d,metaInstructions:{module:i}},path:d,component:()=>o(62053)("./"+i+"/pages/Index.vue")}),d!==i&&a.push({name:i,meta:{role:{action:"read"},requiresAuth:"arcs"!==i,metaInstructions:{module:i}},path:i,component:()=>o(62053)("./"+i+"/pages/Index.vue")}),a.push({name:`view-${c}`,meta:{role:{action:"read"},metaInstructions:{module:t}},path:`${c}${l?"/view":""}/:id/:name`,component:()=>o(20525)("./"+i+"/pages/View.vue")}),c!==t&&a.push({name:`view-${t}`,meta:{role:{action:"read"},metaInstructions:{module:t}},path:`${t}${l?"/view":""}/:id/:name`,component:()=>o(20525)("./"+i+"/pages/View.vue")}),e.requiresAuth?n=n.concat(a):s=s.concat(a)}const l=[...i.JZ,{path:"/maintenance",name:"maintenance",component:()=>Promise.all([o.e(4121),o.e(8633)]).then(()=>o(30345))},{name:"default",path:"/",meta:{requiresAuth:!0},component:()=>Promise.all([o.e(4121),o.e(996),o.e(5695)]).then(()=>o(91077)),children:n.concat([{name:"redirect-to-claim-from-book-preview",path:"book/:id/:title/claim",component:()=>o.e(5560).then(()=>o(66446))},{name:"cancel-arc-claim",meta:{role:{action:"read"},requiresAuth:!0,metaInstructions:{module:"cancelArc"}},path:"review-copy/:id/:name/claim/cancel",component:()=>Promise.all([o.e(4121),o.e(1630)]).then(()=>o(48634))},{name:"claim-arc",meta:{role:{action:"read"},requiresAuth:!0,metaInstructions:{module:"claimArc"}},path:"review-copy/:id/:name/claim/:stage?/:mode?/:forceSite?",component:()=>Promise.all([o.e(4121),o.e(7721)]).then(()=>o(30944))},{name:"review-arc",meta:{role:{action:"read"},requiresAuth:!0,metaInstructions:{module:"reviewArc"}},path:"review-copy/:id/:name/review/:siteName?",component:()=>Promise.all([o.e(4121),o.e(996),o.e(8967)]).then(()=>o(35364))},{name:"your-arcs",path:"my-review-copies",meta:{requiresAuth:!0,metaInstructions:{module:"your-arcs"}},component:()=>Promise.all([o.e(4121),o.e(996),o.e(8059)]).then(()=>o(19574))},{name:"notifications",path:"notifications",meta:{metaInstructions:{module:"notifications"}}
3588,component:()=>Promise.all([o.e(4121),o.e(996),o.e(6176)]).then(()=>o(19111))},{name:"settings",path:"settings",meta:{metaInstructions:{module:"settings"}},component:()=>Promise.all([o.e(4121),o.e(996),o.e(1987)]).then(()=>o(282)),children:[{name:"account-settings",path:"account",meta:{metaInstructions:{module:"accountSettings"}},component:()=>Promise.all([o.e(4121),o.e(996),o.e(1987)]).then(()=>o(91500))},{name:"author-settings",path:"author",meta:{metaInstructions:{module:"authorSettings"}},component:()=>Promise.all([o.e(4121),o.e(996),o.e(1987)]).then(()=>o(49088))},{name:"reviewer-settings",path:"reviewer",meta:{metaInstructions:{module:"reviewerSettings"}},component:()=>Promise.all([o.e(4121),o.e(996),o.e(1987)]).then(()=>o(62800))},{name:"billing-settings",path:"billing",meta:{metaInstructions:{module:"billingSettings"}},component:()=>Promise.all([o.e(4121),o.e(996),o.e(1987)]).then(()=>o(50160))},{name:"email-settings",path:"email",meta:{metaInstructions:{module:"emailSettings"}},component:()=>Promise.all([o.e(4121),o.e(996),o.e(1987)]).then(()=>o(34829))},{name:"categories-settings",path:"categories",meta:{metaInstructions:{module:"categoriesSettings"}},component:()=>Promise.all([o.e(4121),o.e(996),o.e(1987)]).then(()=>o(68257))}]}]).concat(i.LR)},{name:"default-no-auth",path:"/",meta:{requiresAuth:!1},component:()=>Promise.all([o.e(4121),o.e(996),o.e(5695)]).then(()=>o(91077)),children:s.concat([])}],d=l;o.d(t,["A",0,d])},40767(e,t,o){"use strict";var i=o(10831),r=o(6630),a=function(e,t,o,i){function r(e){return e instanceof o?e:new o(function(t){t(e)})}return new(o||(o=Promise))(function(o,a){function n(e){try{l(i.next(e))}catch(e){a(e)}}function s(e){try{l(i["throw"](e))}catch(e){a(e)}}function l(e){e.done?o(e.value):r(e.value).then(n,s)}l((i=i.apply(e,t||[])).next())})};const n=new Set,s=e=>"SUPERVISED_APPROVAL_PENDING"===e.androidUserStatus||("SUPERVISED_APPROVAL_DENIED"===e.androidUserStatus||"SHARING"===e.status&&"number"===typeof e.ageUpper&&e.ageUpper<18),l=e=>a(void 0,void 0,void 0,function*(){if(!r.Ii.isNativePlatform())return{blocked:!1};if(n.has(e))return{blocked:!1};n.add(e);try{const e=yield i.R.requestAgeRange({ageGates:[18]});return{blocked:s(e)}}catch(e){return{blocked:!1}}}),d=()=>{n.clear()};o.d(t,["Kz",0,l,"SL",0,d])},27698(e,t,o){"use strict";var i=o(69215),r=o(75299),a=o(82922),n=o(97554),s=o(7978),l=o(82438),d=o(258),c=o.n(d);const u=(0,a.A)(r.Ay,[["render",i.X]]),p=u;c()(r.Ay,"components",{QDialog:n.A,QIcon:s.A,QAvatar:l.A}),o.d(t,["Ay",0,p])},71650(e,t,o){"use strict";var i=o(60812),r=o(81103),a=o(82922),n=o(97554),s=o(7978),l=o(258),d=o.n(l);const c=(0,a.A)(r.A,[["render",i.X]]),u=c;d()(r.A,"components",{QDialog:n.A,QIcon:s.A}),o.d(t,["A",0,u])},74906(e,t,o){"use strict";var i=o(92841),r=o(69572),a=o(82922),n=o(53472),s=o(258),l=o.n(s);const d=(0,a.A)(r.A,[["render",i.X]]),c=d;l()(r.A,"components",{QImg:n.A}),o.d(t,["A",0,c])},78832(e,t,o){"use strict";var i=o(73889),r=o(81021),a=o(82922),n=o(97554),s=o(20819),l=o(59356),d=o(95602),c=o(84871),u=o(258),p=o.n(u);const v=(0,a.A)(r.A,[["render",i.X]]),m=v;p()(r.A,"components",{QDialog:n.A,QTabPanels:s.A,QTabPanel:l.A,QTabs:d.A,QTab:c.A}),o.d(t,["A",0,m])},75299(e,t,o){"use strict";o.d(t,{Ay:()=>i.Ay});var i=o(31417)},81103(e,t,o){"use strict";o.d(t,{A:()=>i.A});var i=o(1513)},69572(e,t,o){"use strict";o.d(t,{A:()=>i.A});var i=o(94033)},81021(e,t,o){"use strict";o.d(t,{A:()=>i.A});var i=o(99939)},51568(e,t,o){const i={"./de-DE.json":[61034,[1034]],"./es-ES.json":[980,[980]],"./fr-FR.json":[14192,[4192]],"./it-IT.json":[59562,[9562]],"./pt-BR.json":[50188,[188]]};function r(e){try{if(!o.o(i,e))return Promise.resolve().then(()=>{const t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t})}catch(e){return Promise.reject(e)}const t=i[e],r=t[0];return o.e(t[1][0]).then(()=>o(r))}r.keys=()=>Object.keys(i),r.id=51568,e.exports=r},39355(e,t,o){const i={"./en-US.json":63929};function r(e){const t=a(e);return o(t)}function a(e){if(!o.o(i,e)){const t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}r.keys=function(){return Object.keys(i)},r.resolve=a,e.exports=r,r.id=39355},12153(e,t,o){const i={"./de-DE.json":[8017,[8017]],"./es-ES.json":[97563,[7563]],"./fr-FR.json":[91155,[1155]],"./it-IT.json":[83689,[3689]],"./pt-BR.json":[23867,[3867]]};function r(e){try{if(!o.o(i,e))return Promise.resolve().then(()=>{const t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t})}catch(e){return Promise.reject(e)}const t=i[e],r=t[0];return o.e(t[1][0]).then(()=>o(r))}r.keys=()=>Object.keys(i),r.id=12153,e.exports=r},84874(e,t,o){const i={"./en-US.json":65398};function r(e){const t=a(e);return o(t)}function a(e){if(!o.o(i,e)){const t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}r.keys=function(){return Object.keys(i)},r.resolve=a,e.exports=r,r.id=84874},57284(e,t,o){const i={"./config.build.beta.js":46749,"./config.build.master.js":79633,"./config.build.sandbox.js":9108,"./config.build.staging.js":14802,"./config.dev.js":66262,"./config.testing.js":44589};function r(e){const t=a(e);return o(t)}function a(e){if(!o.o(i,e)){const t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}r.keys=function(){return Object.keys(i)},r.resolve=a,e.exports=r,r.id=57284},40723(e,t,o){const i={"./de-DE.json":[54387,[4387]],"./es-ES.json":[71525,[1525]],"./fr-FR.json":[69605,[9605]],"./it-IT.json":[77611,[7611]],"./pt-BR.json":[17981,[7981]]};function r(e){try{if(!o.o(i,e))return Promise.resolve().then(()=>{const t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t})}catch(e){return Promise.reject(e)}const t=i[e],r=t[0];return o.e(t[1][0]).then(()=>o(r))}r.keys=()=>Object.keys(i),r.id=40723,e.exports=r},94048(e,t,o){const i={"./en-US.json":54040};function r(e){const t=a(e);return o(t)}function a(e){if(!o.o(i,e)){const t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}r.keys=function(){return Object.keys(i)},r.resolve=a,e.exports=r,r.id=94048},62053(e,t,o){const i={"./arc-teams/pages/Index.vue":[31940,[4121,996,9972]],"./arcs/pages/Index.vue":[75144,[4121,996,2781]],"./authors/pages/Index.vue":[7337,[4121,996,7014]],"./gamification/pages/Index.vue":[78320,[4121,6175]]};function r(e){try{if(!o.o(i,e))return Promise.resolve().then(()=>{const t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t})}catch(e){return Promise.reject(e)}const t=i[e],r=t[0];return Promise.all(t[1].map(o.e)).then(()=>o(r))}r.keys=()=>Object.keys(i),r.id=62053,e.exports=r},20525(e,t,o){const i={"./arc-teams/pages/View.vue":[35067,[4121,8221]],"./arcs/pages/View.vue":[90663,[4121,996]],"./authors/pages/View.vue":[13960,[4121,1615]],"./books/pages/View.vue":[57762,[4121,870]]};function r(e){try{if(!o.o(i,e))return Promise.resolve().then(()=>{const t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t})}catch(e){return Promise.reject(e)}const t=i[e],r=t[0];return Promise.all(t[1].map(o.e)).then(()=>o(r))}r.keys=()=>Object.keys(i),r.id=20525,e.exports=r},63929(e){"use strict";e.exports=JSON.parse('{"modules":{"notifications":{"labels":{"sent":" sent","filterByType":"Filter By Type","notificationsX":"Your Notifications ({0}
3588)","noNotifications":"No notifications found","timeAgo":"{0} ago","new":"New","delete":"Delete notification"},"actions":{"deleteAllNotifications":"Delete all notifications"},"confirmDeleteAllNotificationsDialog":{"labels":{"heading":"Are you sure you want to delete all notifications?","message":"You’ll no longer have access to the notifications"},"actions":{"yes":"Yes, delete","no":"Cancel"}},"newArcAlert":{"description":"New Review Copy Available","message":"{0} just opened up a new Review Copy for {1}","hint":""},"bookFileUpdated":{"description":"Book file updated","message":"{0} just updated the file for {1}","reasons":{"uploadedWrongFile":"Uploaded the wrong file by accident.","changedSignificant":"Changed a significant portion of the book.","changedSmall":"Changed a small portion of the book.","fixedTypos":"Fixed typos."},"hint":""},"reviewsDueSoon":{"description":"Reviews Due Soon","message":"Just a heads up! Your review is due soon for {0}","hint":"Review Due Soon emails are sent two days before the review is due."},"readyToReview":{"description":"Ready to review","message":"It\'s time! You can now complete your review for {0}","hint":"Ready to Review emails are sent on the day that the review is due."}
3588,"finalFollowUp":{"description":"Review Due Now","message":"Your reviews are now due for {0}","hint":"Review Due Now emails are sent two days after the review is due and are the final reminder."},"timeToPublish":{"description":"Time To Publish","message":"{0} reviewers are waiting for you to publish {1}","hint":""},"newArcParticipant":{"description":"New Review Campaign Participant","message":"{0} is participating in your Review Campaign for {1}","hint":""},"newReview":{"description":"New Review","message":"{0} gave {1} stars to {2}","hint":""},"arcCancellation":{"description":"New Cancellation","message":"{0} has cancelled their promise to review {1}","hint":""},"reviewRejected":{"description":"New Rejected Review","message":"{0}\'s review was rejected by {1} for {2}","hint":""},"newExternalReview":{"description":"New External Review","message":"{0} wrote a review on {1} for {2}","hint":""},"delayExpiring":{"description":"Complete Your {0} Review","message":"It’s time to complete your {0} review for {1}","hint":""},"delayExpired":{"description":"{0} Review Due Now","message":"It’s time to complete your {0} review for {1}","hint":""},"savedArcEndingSoon":{"description":"Saved book is leaving soon","message":"{0} is only available until {1}. Claim your copy now!","hint":""},"savedArcLowCopies":{"description":"Saved book is low on copies","message":"There are limited copies of {0}. Claim your copy now!","hint":""},"freeText":{"description":"Generic","message":"When a book is deleted and does not need to be reviewed"},"invitedToTeam":{"description":"Invited to team","message":"You have been invited to join the {0} team"},"arcCannotActivate":{"description":"Cannot activate Review Campaign","message":"You have reached your active Review Campaign limit for your plan and {book} cannot go live. Upgrade your plan for more active Review Campaigns."},"newTeamApplicant":{"description":"Request to join a team","message":"{user} has requested to join {arcTeam}"}},"payment":{"cycles":{"null":"None","month":"Monthly","year":"Yearly"},"plans":{"null":{"name":"None"},"free":{"name":"Free"},"growing":{"name":"Growing"},"pro":{"name":"Pro"},"bestSelling":{"name":"Best Seller"}}},"arcs":{"cancellationReasons":{"poorlyEdited":"Book was poorly edited","story":"Couldn\'t get into the story","personal":"Personal reasons","badDescription":"Book not as described","badFit":"Not my type of book, but others may enjoy it","couldNotReview":"Could not review on all required stores","other":"Other"}},"subscriptions":{"cancellationTypes":{"notSelected":"N/A","temporary":"I\'m only cancelling temporarily","notEnoughReviews":"I did not get enough reviews","difficultForReaders":"My readers found it too difficult to use","difficultForMe":"I found it too difficult to use","notWorking":"It didn\'t work as expected","lackingSupport":"Support was lacking","cost":"I can no longer justify the cost","other":"Other"}}},"title":"Reader e-mail alerts; Email me when:","newArc":"An author or team I\'m following creates a new Review Copy","reviewDueIn2Days":"I have a review due in 2 days","reviewOverdue":"My review is overdue","alertReadyToReview":"My review is due","alertDelayExpiring":"Amazon review delay expiring","alertDelayExpired":"Amazon review delay expired","invitedToTeam":"Invited to review team","freeText":"When a book is deleted and does not need to be reviewed","meta":{"__ssrComment__":"META INFO BELOW IS ONLY FOR SSR","module":{"login":{"title":"Login","description":""},"signUp":{"title":"Sign Up","description":""},"arc":{"title":"Viewing {0} Review Copy","ogTitle":"{0}"},"arcs":{"title":"Find Review Copies","description":""},"claimArc":{"title":"Claiming {0} Review Copy"},"reviewArc":{"title":"Reviewing {0} Review Copy"},"cancelArc":{"title":"Cancelling {0} Review Copy"},"book":{"title":"Viewing {0} Book"},"arcTeam":{"title":"Viewing {0} Team","ogTitle":"Join {0} on Booksprout"},"arcTeams":{"title":"My Teams","description":""},"author":{"title":"Viewing {0} Author","ogTitle":"{0}"},"authors":{"title":"Authors","description":""},"yourArcs":{"title":"My Review Copies","description":""},"gamification":{"title":"Reviewer Rank","description":""}
3588,"messages":{"title":"Messages","description":""},"notifications":{"title":"Notifications","description":""},"settings":{"title":"Settings","description":""},"accountSettings":{"title":"Account Settings","description":""},"reviewerSettings":{"title":"Reviewer Settings","description":""},"emailSettings":{"title":"Email Settings","description":""},"authorSettings":{"title":"Author Settings","description":""},"billingSettings":{"title":"Billing Settings","description":""},"categoriesSettings":{"title":"My Categories","description":""},"websiteAuthors":{"title":"Get more book reviews","description":"Automate your ARC process and get more honest book reviews on sites like Amazon."},"websiteReaders":{"title":"An app to follow your favorite authors","description":"Stay up to date on newly released books and deals from your favorite authors!"},"websitePricing":{"title":"Pricing","description":""},"websiteAbout":{"title":"About","description":""},"websitePrivacyPolicy":{"title":"Privacy Policy","description":""},"websiteTerms":{"title":"Terms & Conditions","description":""},"websiteAffiliateDisclosure":{"title":"Affiliate Disclosure","description":""},"websiteCookiePolicy":{"title":"Cookie Policy","description":""},"websitePrivacyPolicyAllProducts":{"title":"Privacy Policies","description":""}}}}')},48188(e){"use strict";e.exports=JSON.parse('{"penNameLimit":10,"reminderBookLinks":true,"dailyUpdatesOnFollowCount":true,"alertTimeToPublish":true,"alertNewArcParticipant":true,"alertNewReview":true,"alertArcCancellation":true,"alertReviewRejected":true,"alertNewExternalReview":true,"alertNewArc":true,"alertNewArcOtherLanguages":true,"alertReviewDueIn2Days":true,"reviewSitesFlag":0,"reviewLanguagesFlag":127,"alertReadyToReview":true,"alertFinalFollowup":true,"alertDelayExpiring":true,"alertDelayExpired":true,"alertBookFileUpdated":true,"alertSavedArcEndingOrLowCopies":true,"emailOnMessage":true,"alertNewTeamApplicant":true,"invitedToTeam":true,"freeText":true,"findArcFilters":"","brevoLists":"","uiLocale":"en-US"}')},65398(e){"use strict";e.exports=JSON.parse('{"modules":{"messages":{"actions":{"markAsRead":"Mark as read","markAsUnread":"Mark as unread","blockUser":"Block User","unblockUser":"Unblock User","report":"Report","requestHelp":"Request Help","sendMessage":"Send Message"},"labels":{"messages":"Messages","yourMessages":"Your Messages","unread":"Unread","inbox":"All Messages","undefined":"Messages","sent":"Sent","trash":"Trash","replyAs":"Reply as:","replyingAs":"Replying as:","xNewMessages":"{0} New Messages","xConversations":"{0} Other Conversations","unreadMessagesBelow":"Unread Messages Below","seriesInfo":"Book {0} of {1}","messageFlagged":"This message has been reported to the Booksprout Admin","blocked":"This user is currently blocked and the messages are not available","reportUser":"Also report this user to Booksprout staff","blockQuestion":"Would you like to block all future messages from this user?","flagQuestion":"Would you like to report the message below?","requestSupport":"Request Support","requestSupportMessage":"You can request help from Booksprout\'s support team if this reader is having issues with our website.<br /><br />If you\'d like us to assist this reader, please request help below. We will get back to them within 24 hours via email.","reviewerIsBlocked":"This person hasn\'t activated their Booksprout plan. Therefore, they cannot receive any messages.","fromXonX":"with {name} on {bookTitle}","toXonX":"to {name} on {bookTitle}","youBlocked":"You have blocked this person","reportedMessage":"Reported Message"},"formFields":{"search":{"placeholder":"Search messages"},"newMessage":{"placeholder":"Type your reply"}}},"settings":{"actions":{"updateSecuritySettings":"Update Security Settings","updateBillingSettings":"Update Billing Settings","sendInvitation":"Send Invitation","saveVa":"Save Virtual Assistant","resendVerification":"Resend verification e-mail","makeDefault":"Make Default?","dontWithdraw":"Cancel","yesWithdraw":"Confirm withdraw consent","dontReinstate":"Cancel and logout","yesReinstate":"I Consent","addAuthorFeatures":"Add Author Features to my Account","changePassword":"Change password","withdrawConsent":"Withdraw consent","addNe
3588wEmail":"Add new email","updateCookiePreferences":"Update cookie preferences","deleteMyAccount":"Delete my account","stopActingAsX":"Stop acting as {userName}"},"labels":{"menu":"Settings","settings":"Settings","defaultEmail":"Default","verificationEmailSent":"Your email verification has been re-sent to {0}","verificationCodeSent":"A verification code has been sent to {0}","defaultEmailUpdated":"Default email has been set to {0}","passwordUpdated":"Your password has been updated successfully.","unverifiedDefault":"You must verify your email address before you can make it your default one.","withdrawConsent":{"title":"Withdraw consent","description":"Booksprout requires your consent to process your data according to our {termsAndConditionsSlot} and {privacyPolicySlot}. Your consent is required in order for our site to function properly.","descriptionPart2":"Withdrawing consent means the following:","descriptionPart3":"Your Booksprout account will no longer function as we can no longer process your data.","descriptionPart4":"Your Booksprout account will be permanently deleted in 90 days if you have not re-consented by that time.","consentGivenOnX":"Your consent was last given on {consentDate}"},"reinstateConsent":{"title":"Your consent is required to use Booksprout","description":"You\'ve previously withdrawn consent for us to process your data on <span class=\'text-bold\'>{0}</span>. Without this consent, our website cannot function properly. Please either re-consent or logout."},"changePassword":{"title":"Change password","description":"You can change your password below."},"newEmail":{"title":"Add new email","description":"You can add a new email address to your account below."},"consentWithdrawn":"You have been logged out and consent has been withdrawn.","confirmEmailRemoval":"Are you sure you want to remove {0} from your account?","noAccessToXSettings":"You don\'t have access to {userName}\'s Settings","vaNoAccessMessage":"Virtual Assistants cannot modify settings. If you wish to see your own settings, you’ll need to return to your own account first.","bookCategories":"Book Categories","selectFavouriteCategories":"Select your favorite categories below."},"deleteAccountDialog":{"title":"Delete your account","permanent":"permanent","cannotBeUndone":"cannot be undone","deleteYourAccount":"delete your account","description":"Deleting your account is {permanent} and {cannotBeUndone}. If you have an active subscription, it will be cancelled when your account is deleted.","summaryIntro":"This will {deleteYourAccount}, along with the following:","summaryItem":"{count} related {model}","confirmLabel":"Type \\"{deleteWord}\\" to confirm","actions":{"cancel":"Cancel, keep my account","delete":"Delete my account","deleting":"Deleting account..."}},"errors":{"passwordsMustMatch":"This field must match your new password.","passwordUpdated":"Password updated."},"account":{"title":"Account Settings","securityTitle":"Security Settings","consentTitle":"Your Consent","formFields":{"name":{"title":"Your username","hint":"Your username will be shown next to your reviews and in chat.","placeholder":"Public name"},"profilePicture":{"title":"Your profile picture","hint":"Recommended dimension: 100x100px. Formats: jpg, png or gif. Max file size: 10MB."},"email":{"title":"Your account email","hint":"Your default email address will be used as your primary communication method. Multiple email addresses can be added if you wish to receive ebook files to them, or help authors find and invite you to their teams."},"changePassword":{"title":"Change your password","hint":"If you wish to change the password used to login to Booksprout, you can do that here.","oldTitle":"Current Password","newTitle":"New Password","confirmTitle":"Confirm New Password","placeholderOld":"Old password","placeholderNew":"New password","placeholderConfirmNew":"Confirm new password"},"cookies":{"title":"Cookie Preferences"},"consent":{"title":"Data processing consent","hint":"Our records indicate that you’ve agreed to our {termsAndConditionsSlot} and {privacyPolicySlot} on {consentDate}. You can easily withdraw your consent by clicking on the button below. "},"deleteAccount":{"title":"Delete your account","hint":"Deleting your account is {permanent} and {cannotBeUndone}. All your data, including your review campaigns, books, reader claims, teams, will be removed from our system and {cannotBeRecovered}.","cannotBeRecovered":"cannot be recovered"},"newEmail":{"title":"Email","placeholder":"Enter new email address"}}},"author":{"title":"Author Settings","virtualAssistantTitle":"Virtual Assistant","vaAdded":"This email address has been linked to your account as a virtual assistant.","vaRemoved":"This email address is no longer a virtual assistant on your account.","convert":"You\'re currently a reader and do not have access to author features and settings.<br/>If you\'re now an author and have books to feature on Booksprout, you can add author features to your account here.","addAuthorFeatures":{"heading":"Add author features to your account?","notice":"This cannot be undone so choose \\"no\\" unless<br/>you have books to feature on Booksprout.","actions":{"yes":"Yes, Add author features","no":"No, Don\'t add author features"}},"formFields":{"reminders":{"title":"Author Email Settings","fillBeforeDue":"Reminders to fill out book links before my review campaign is due","dailyUpdates":"Daily updates on my follower counts","timeToPublish":"Reminders to publish my book and update my links in Booksprout","newArcParticipant":"When someone claims a review copy","newReview":"When someone writes a review on my review campaign","arcCancellation":"When someone withdraws their promise to review","reviewRejected":"When someone says their review has been rejected by Amazon","newExternalReview":"When someone has reviewed on an external store","newTeamApplicant":"When someone has requested to join my team"},"va":{"title":"Add a Virtual Assistant","hint":"Invite someone to help you manage your review campaigns","placeholder":"Enter your VA\'s email address","removeVa":"Remove Virtual Assistant"}}},"reviewer":{"title":"Reviewer Settings","formFields":{"name":{"title":"Publicly displayed reviewer name"}
3588,"kindleEmail":{"title":"Your Kindle email address","hint":"We can send books straight to your Kindle device or app. Add {readerEmailAddress} to your approved senders.","placeholder":"Kindle email address","confirmTitle":"Yes, I have added s2k{\'@\'}booksprout.co to my approved senders.","errors":{"approveSender":"Please confirm the approved sender option."}},"alerts":{"title":"Reader Email Settings","newArc":"When an author or team I\'m following publishes a new review copy","newArcOtherLanguages":"Send me emails about books that are not in my selected language(s).","reviewDueIn2Days":"When I have a review due in 2 days","reviewOverdue":"When a review is overdue","alertReadyToReview":"When a review is due","alertFinalFollowup":"Final review due reminder","alertDelayExpiring":"When my Amazon review delay is expiring","alertDelayExpired":"When my Amazon review delay has expired","savedArcEndingOrLowCopies":"When a saved book is low on copies or the campaign is ending soon","invitedToTeam":"When I have been invited to review team","freeText":"When a book is deleted and does not need to be reviewed","authorUpdatesBookFile":"When an author updates a book file"},"reviewOn":{"title":"Sites you can review on"},"amazonProfileLink":{"title":"Amazon profile link","placeholder":"Amazon profile link"}}},"billing":{"title":"Billing & Plan Info","labels":{"yourPlan":"Your Booksprout plan","sinceX":"Since {0}","billingCycle":"Your billing cycle","nextBillOnX":"Next bill on {0}","billingInfo":"Billing info","expiresOnX":"Expires {0}","changeYourPlan":"Change your plan","switchToMonthly":"Switch to monthly billing?","switchToYearly":"Switch to yearly billing?","immediateSwitch":"Your billing cycle will change immediately.","chargeInfoMonth":"Your account will be credited for any unused time that you\'ve already paid for and you will be charged for one month of Booksprout.","chargeInfoYear":"Your account will be credited for any unused time that you\'ve already paid for and you will be charged for one year of Booksprout.","switchPlanToX":"Switch plan to {0}","switchPlanToXSub":"You\'ll switch to our {0} plan now.","switchPlanToXText":"You\'ll be credited for the remaining time on your {0} plan and the credit will be applied to your new subscription.","upgradePlanToX":"Upgrade plan to {0}","upgradePlanToXSub":"You\'ll upgrade to our {0} plan now.","upgradePlanToXText":"You\'ll be credited for the remaining time on your {0} plan and the credit will be applied to your new subscription.","noSubscription":"No active subscription","choosePlan":"Ready to upgrade and start getting some much needed book reviews? Choose your plan!","choosePlanHeading":"Let’s choose the plan that’s best for your needs as an author","publisherHeading":"To start using our Publisher features right away, an upgrade is required.","publisherSubHeading":"Save time and money managing your review team","planInformation":"Plan Information","billingInformation":"Billing Information","paymentHistory":"Payment History","creditCardInformation":"Credit Card Information","taxInformation":"Tax Information","expiryDate":"Exp. Date","country":"Country:","postCode":"Postal/ZIP Code:","vatNumber":"VAT Number:","cardTypes":{"none":"Card removed","visa":"Visa","mastercard":"Mastercard","amex":"American Express","discover":"Discover","diners":"Diners Club","jcb":"JCB"},"paidOnX":"Paid on {0}","noCreditCard":"You need to add a valid credit card to get more reviews.","noTaxInfo":"For legal reasons, you need to update your tax information.","cancelSubscription":"Cancel subscription","cancelHere":"If you don’t wish to get any more reviews, you can cancel here.","benefitsExpireOnX":"Benefits expire on {date}. No further payments are authorised.","voided":"Voided","failedPayment":"Payment Failed","skipPayment":"Skip payment for now","skipPaymentSub":"You can start setting everything up now and pay when it’s time to start getting reviews.","failedPaymentMessage":"Your latest payment was unsuccessful. Please note that our business is located in Canada and that some banks will decline transactions because of that. We recommend getting in touch with your bank to make sure they will allow the transaction and retry the payment against the failed invoice below.","confirmLimitRetryPayment":"Retry payment?","limitRetryPayment":"You can only retry a payment once so please make sure that you have resolved the original issue before proceeding. If payment fails again, please reach out to our support team for assistance."},"formFields":{},"actions":{"changePlan":"Change plan","switchToMonthly":"Switch to monthly","switchToYearly":"Switch to yearly","stayOnMonthly":"Stay on monthly","stayOnYearly":"Stay on yearly","change":"Change","upgradeToX":"Upgrade to {0}","switchToX":"Change to {0}","stayOnX":"Stay on {0}","compareDetails":"Compare plan details","currentPlan":"Current plan","choosePlan":"Cho
3588ose Plan","back":"Return to previous page","downloadReceipt":"View Receipt","addCreditCard":"Add Credit Card","cancelPlan":"Cancel Plan","retryPayment":"Retry Payment","failedPaymentGetHelp":"Get Help"}},"email":{"title":"Email Notification Settings","formFields":{"alerts":{"title":"Other Email Settings","emailOnMessage":"Send me an email when I receive a message"}}},"categories":{"title":"My Categories"},"changeOrRemoveCardDialog":{"modes":{"view":{"labels":{"title":"Change or remove credit card","subTitle":"You can change or remove your credit card below","actionNote":"If you add a new credit card the current one will be removed"},"actions":{"addNew":"Add New Credit Card"}},"remove":{"labels":{"title":"Remove Credit Card","subTitle":"Are you sure you want to remove this credit card from your account?"},"actions":{"keep":"Keep it","remove":"Remove it"}},"add":{"labels":{"title":"Add new credit card","subTitle":"This card will be used for all future Booksprout payments"},"actions":{"addNew":"Add New Credit Card"}}}},"updateTaxDataDialog":{"modes":{"none":{"labels":{"title":"Update Tax Information","subTitle":"For legal reasons, we need to know your country of residence. Keep the information below up to date."},"actions":{"updateTaxInfo":"Update Tax Information"}},"add":{"labels":{"title":"Add Tax Information","subTitle":"For legal reasons, we need to know your country of residence. Keep the information below up to date."},"actions":{"updateTaxInfo":"Update Tax Information"}},"updated":{"labels":{"title":"Tax Information Updated","subTitle":"You have successfully updated your tax information. Below you will find a summary of your subscription charges."},"actions":{"gotIt":"Got it!"}}}},"cancelSubscriptionDialog":{"title":"Cancel your subscription","subTitle":"If you cancel now, you’ll still have access to our {planName} features until {0}.","subTitle1":"To help us improve our product, would you take a moment to let us know why you’re no longer planning to use Booksprout?","note":"Note that if you require assistance, please contact us at {0} for the fastest response time.","formFields":{"reason":"Reason","details":"Additional details"},"discountConfirmation":{"heading":"Hold on a second!","bodyHtml":"Looks like your Booksprout subscription currently has a <strong>loyalty discount of {0}% off</strong>. If you cancel your subscription now, you\'ll lose this discount forever.<br/><br/>Are you sure you want to cancel your subscription?","keep":"Keep Subscription","continueToCancel":"Continue to cancel"},"actions":{"keep":"Keep Subscription","cancel":"Cancel Subscription"}}},"login":{"actions":{"signUpInstead":"Sign Up!"},"labels":{"keepMeLoggedIn":"Remember me","needAnAccount":"Don\'t have an account?","loginToYourAccount":"Sign in to your account"}},"signUp":{"actions":{"agreeToTerms":"I agree to Booksprout\'s {termsAndConditionsSlot} and {privacyPolicySlot}","loginInstead":"Sign In","continueWithX":"Continue with {platformNameSlot}","resendEmail":"Please resend it","updateEmailAndResend":"Update email and Resend Confirmation","sendVerificationEmail":"Verify my email address","notRedirected":"Not redirected automatically? Please click here","sendVerificationCode":"Next","verifyPhone":"Verify","updatePhoneAndResend":"Update number and resend code","resendCode":"Resend code"},"labels":{"signUp":"Sign up for Booksprout","whichOneDescribesYou":"Which one describes you?","iAmReader":"I\'m a Reader","iAmAuthor":"I\'m an Author","iAmPublisher":"I\'m a Publisher or ARC Service","iAmVA":"I\'m a Virtual Assistant","confirmEmail":"Confirm Email","termsAndConditions":"Terms and Conditions","privacyPolicy":"Privacy Policy","alreadyHaveAnAccount":"Already have an account?","createAccount":"Create your account","pleaseFillInInformationBelow":"Please, fill in the information below","selectRoleHeadingDesc":"Which one best describes you?","vaRoleQuestion":"Great! Aside from being a Virtual Assistant, what best describes you?","methodSelectionHeading":"Join our book-loving community","methodSelectionHeadingDesc":"Over {userCount} other users are already reviewing and creating great books","verifyEmail":"Verify your email address","verifyEmailExplanation":"Check your inbox for a verification email from Booksprout. <br /> We need to confirm your email address to proceed.","whatIsYourEmail":"What\'s your email address?","whatIsYourEmailExplanation":"All Booksprout accounts require a valid email address so that we can reach you if we need to.","emailNotArrived":"Didn\'t get the confirmation email?","emailUpdated":"Email address updated. Please check your emails for verification.","emailVerified":"Your email has been verified!","whatIsYourPhone":"Verify your account with a phone number","whatIsYourPhoneExplanation":"To help protect our community, we need to verify some accounts with a phone number. <br /><br />
3588 By providing your phone number, you agree to receive a one-time verification code by text message (standard rates may apply).","verifyPhoneExplanation":"We sent a confirmation code to the phone number ({phoneNumber}).","codeNotArrived":"Didn’t get the confirmation code?","phoneUpdated":"Phone number updated. Please check your messages for the verification code.","phoneVerified":"Your phone number has been verified!"},"formFields":{"email":{"placeholder":"Insert your email"},"password":{"placeholder":"Insert your password"},"agreeToMarketing":{"title":"I want to get updates on the latest features, promotions, book-related insights, and more!"},"phone":{"countryCode":"Country code","number":"Phone number"}},"agreeToOAuthTerms":{"labels":{"title":"Before you join","description":"You must agree to the terms and conditions to finish setting up your Booksprout account."},"formFields":{"agreeToTerms":{"error":"You must agree to the terms and conditions."}}}},"forgotPassword":{"labels":{"requestPasswordReset":"Forgot password","fillOutYourEmail":"Please, fill in the input below to reset your password","checkYourEmail":"Please check your email for further instructions on how to reset your password.","somethingWentWrong":"Something went wrong request a password reset. Please contact us.","resetYourPassword":"Reset Your Password","enterANewPassword":"Please enter a new password below.","passwordResetComplete":"Your password has been reset, please login below."},"actions":{"contactUs":"contact support"}},"books":{"labels":{"epubExceeds10mb":"EPUB book file","pdfExceeds10mb":"PDF book file","bothExceeds10mb":"EPUB and PDF book files","exceeds10mb":"exceeds 7MB","reduceFileSize":"If possible, please reduce the file size.","sendViaEmailDisabled":"Send via email is disabled","sendViaEmailDisabledMessage":"Since your {fileTypes} {exceeds10mb}, it cannot be sent via email. This may cause issues for readers who rely on our “send to email” functionality to transfer files to their e-readers.\\n{reduceFileSize}","languageNames":{"english":"English","spanish":"Spanish","german":"German","french":"French","italian":"Italian","portuguese":"Portuguese","other":"Other"}},"actions":{"generateNow":"Generate now","exportKindlePreviewerLog":"Download error log"},"fileUpdateNotification":{"title":"Update to your book file(s)","subtitle":"Tell us why you’re uploading a new version of your book. This helps us process the update correctly.","notifyExplainer":"We can <strong>notify readers of a book file update once per review campaign</strong>. If you would like to use your notification right now, check the box below.","sendCheckbox":"Send my <strong>only notification</strong> to readers about the updated book file","reasons":{"pleaseSelect":"Please select","uploadedWrongFile":"Uploaded the wrong file by accident.","changedSignificant":"Changed a significant portion of the book.","changedSmall":"Changed a small portion of the book.","fixedTypos":"Fixed typos."},"actions":{"doneWithoutNotification":"Done without a notification","sendNotification":"Send a notification"}},"formFields":{"files":{"filesSuppliedTitle":"We currently have the following files for your book:","title":"Upload new ebook files","hint":"We accept EPUB and PDF files. We recommend that you provide both formats.","agreeToUploadTerms":"I certify that I will only upload files that I have the rights to distribute","uploadHint":"your book here","willBeGenerated":"Will be automatically generated","fileUploadedOnX":"Uploaded {date}","fileGeneratedOnX":"Generated {date}","onlyPdfUploaded":"Note: We cannot automatically generate EPUB file from a PDF. For the best user experience, we recommend that you upload EPUB file."},"appleBooksDownloadCodes":{"sectionTitle":"Provide Apple Books codes to get reviews","downloadHintWithLink":"You can request these from your Apple Books dashboard ({button}
3588).","authorSupportUrl":"https://help.booksprout.co/article/297-how-to-add-apple-books-promo-codes","uploadTxtFile":"Upload TXT file","typeCodesPlaceholder":"Type codes here or upload a TXT file","whenDoCodesExpire":"When do the codes expire?","selectDate":"Select date","addCodes":"Add Codes","availableCodes":"Available Codes ({0})","expiredCodes":"Expired Codes ({0})","claimedCodes":"Claimed Codes ({0})","expiresOn":"Expires on {date}","removeCode":"Remove code {0}","loadFailed":"We could not load your Apple Books codes. Please try again.","saveFailed":"We could not save your Apple Books codes. Please try again.","saveBookFirst":"Please add a title for your book before adding Apple Books codes.","expiredOn":"Expired on {date}","removeExpired":"Remove expired codes","availableCodeCount":"{n} available code | {n} available codes"}}},"arcs":{"labels":{"yourArcs":"My Review Copies","cancellationReasons":{"poorlyEdited":"Book was poorly edited","story":"Couldn\'t get into the story","personal":"Personal reasons","badDescription":"Book not as described","badFit":"Not my type of book, but others may enjoy it","couldNotReview":"Could not review on all required stores","other":"Other"},"private":"Private","status":{"draft":"Draft","active":"Active","scheduled":"Scheduled","finished":"Finished"},"someNotificationsDue":"This review listing is finished, but we still have follow-up reminders scheduled for your participants.","claimedXDaysAgo":"Claimed <strong>{n}</strong> days ago | Claimed <strong>{n}</strong> day ago | Claimed <strong>{n}</strong> days ago","reviewedOnX":"Reviewed on {createdDate}","reviewDueOnX":"Review due on {dueDate}"},"formFields":{"flags":{"amazon":"Amazon","goodreads":"Goodreads","bookbub":"BookBub","barnes":"Barnes & Noble","google":"Google Play","kobo":"Kobo","iTunes":"Apple Books","appleBooks":"Apple Books","smashwords":"Smashwords","storygraph":"StoryGraph","audible":"Audible","authorsDirect":"Authors Direct (Spotify)","audioGoogle":"Google Play (Audio)","audioKobo":"Kobo (audio)","audioBookbub":"BookBub (Audio)","audioITunes":"Apple Books (Audio)","audioBarnes":"Barnes (Audio)","audioGoodreads":"Goodreads (Audio)","options":{"required":"Required","optional":"Optional","notAvailable":"Not Available"}},"specialInformation":{"title":"Any special information for the reviewers?","placeholder":"Write something that your reviewers would like to know."},"discoverableType":{"title":"Would you like this review campaign to be discoverable by Booksprout\'s reviewer community?","hint":"","options":{"discoverable":"Yes","private":"No, make it private"}},"notificationType":{"title":"Who should we notify of this new review campaign?","hint":"","options":{"penNameFollowers":"{penNameName}\'s followers ({followerCount} followers)","teamFollowers":"{teamName}\'s followers ({followerCount} followers)","teamMembers":"{teamName}\'s members ({memberCount} members)"}},"participationPreventionType":{"title":"Should we allow reviewers with due reviews on this team to participate?","hint":"Note: this setting applies to team members as well.","options":{"outstanding":"No, prevent those with due reviews from participating","none":"Yes, allow those with due reviews to participate"}},"siteWideParticipationPreventionType":{"title":"Should we allow team members who\'ve hit our site-wide limitations to participate?","hint":"Booksprout automatically prevents reviewers with too many past due reviews from participating in new review campaigns until they finish enough reviews. You can override this feature for your team members and allow anyone on your team to participate if you would like.","options":{"none":"Allow any team members to participate","limited":"Do not allow team members who\'ve hit site-wide limitations to participate"}},"participationType":{"title":"Who should be allowed to participate?","hint":"","title2":"Should we limit this review campaign to our manually vetted Top Reviewers?","hint2":"","options":{"public":"No","topReviewers":"Yes","anyoneWithLink":"Anyone with the private link to this review campaign","onTeam":"Only reviewers on my review team"}},"copyCountType":{"title":"At most, how many review copies would you like us to distribute?","hint":"Your account type allows for up to [{0}] copies. Upgrade for more.","options":{"all":"As many as my plan allows ({maxParticipantsPerArc})","limited":"A limited amount"}},"neverEndingPrivate":{"title":"Is this an endless review campaign?","hint":"Select \'Yes\' if you want your review campaign to stay on our site for an indefinite amount of time.","options":{"one":"Yes, it is.","two":"No, it isn\'t."}},"liveDate":{"neverEnding":{"title":"What\'s the start date?","hint":"Select the day your book will become available on Booksprout.","placeholder":"Pick live date"},"limited":{"title":"What\'s the start date?","tooltips":{"dateConflict":"Dates in red conflict with another review campaign. You can upgrade your Booksprout plan to run more simultaneous review campaigns.","startDate":"You must select a start date first.","endDate":"You must select an end date first.","afterStartDate":"This date needs to be after the start date.","afterStopDownloadDate":"This date needs to be after the date you stop allowing new participants.","cannotBeInPast":"This date needs to be in the future.","tooFarInFuture":"This date is too far in the future. Review campaigns can only be active for a maximum of 60 days.","dateConflictNotAfterFullDay":"You cannot select this date because it would cause a conflict with another review campaign. You can upgrade your Booksprout plan to run more simultaneous review campaigns.","upgrade":"You must upgrade to schedule a review campaign."},"errors":{"dateConflict":"This date conflicts with another review campaign","tooFarInFuture":"This date is too far in the future","oneRunningArcForSameBook":"We only allow one review campaign per book per format at a time."}}},"stopDownloadDate":{"title":"When should we stop allowing new participants?","hint":"Select the day you want your book to stop being available to claim on Booksprout. No new participants will be allowed after that day."},"reviewDays":{"title":"How many days do reviewers have to read and review?","placeholder":"days","validation":{"limit":"You can only set a maximum of 60 days."}},"copyCount":{"placeholder":"copies"},"reviewSites":{"steps":{"step1":{"name":"Step 1","title":"Which sites will your book be available for review?","description":""},"step2":{"name":"Step 2","title":"How many external sites do you require each participant to review on?","description":"We recommend that authors only require 1 review. This is because many reviewers only have an account at one store, and requiring more reviews than that will reduce the amount of participants.","limitError":"Discoverable review campaigns can only have 2 required reviews.","countError":"You can\'t have more required sites than you have selected.","zeroCountWarning":"Heads up! If you want reviews posted on Amazon, Goodreads, or any other external site, make sure to set this to 1 or more! Otherwise, only a Booksprout review will be required."},"step3":{"name":"Step 3","title":"Are there any specific sites that you require every participant to review on?","description":"","warning":"If you want to select more stores here, please increase the number of external sites you want a review on in Step 2."}}}},"reviews":{"labels":{"rating":"Rating","feedback":"Private Feedback","cancellation":"Withdrawal","cancelledBy":"Withdrawn by","cancelledOn":"Withdrawn on","reviewedOn":"Reviewed on","reviewedBy":"Reviewed by","privateFeedback":"Private feedback","translateToEnglish":"Translate to English","translatingReview":"Translating...","translatedReview":"Translated review","showTranslatedReview":"Show translated review","hideTranslatedReview":"Hide translated review","reason":"Reason for not reviewing","additionalInformation":"Additional Information","claimed":"Claimed","claimedOn":"Claimed on"}},"claims":{"status":{"claimed":"Claimed","inProgress":"Review Started","complete":"Completed","cancelled":"Withdrawn"}},"reviewerGuidelinesDialog":{"labels":{"heading":"Reviewer Rules & Guidelines","intro":"Reviewers who wish to use Booksprout to gain access to advanced review copies should adhere to the following guidelines. We may take action against any account found to be in violation of these rules.","noGenericReviewsHeading":"You may not use the same generic review multiple times","noGenericReviews":"Using the same review over and over for multiple books appears spammy and can harm an author\'s reputation. Do not write the same review for multiple books.","readEveryArcHeading":"You should attempt to read and review every ARC you download","readEveryArc":"Remember: Reviewing is optional. If you do not wish to write a review, then you should <a href=\\"//help.books
3588prout.co/article/96-how-to-cancel-a-promised-review\\" rel=\\"nofollow\\">cancel your promise to review that book</a> rather than simply ignoring it. Your reason for canceling can be just as valuable to an author as an actual review.","readEveryArcOverloaded":"However, if it\'s clear that you\'re downloading more books than you can handle then we may prevent you from getting any more.","noSharingHeading":"No sharing copies of an ARC","noSharing":"It\'s an author\'s worst nightmare to find their pre-published book already in circulation without their consent. Any ARC you download should be considered an exclusive copy for your eyes only.","reviewOnTimeHeading":"You should do your best to review on time","reviewOnTime":"Reviews on launch day are incredibly important to authors in terms of them getting better promotional opportunities to properly take advantage of the initial boost a book gets in the short time after it\'s first published. A review that appears a month later isn\'t nearly as helpful.","reviewTheStoryHeading":"Review based on the story you receive, not how it\'s formatted","reviewTheStory":"Remember: Booksprout is all about <em>advanced review copies.</em> These are often formatted by the author that wrote them, so they may not contain the same formatting as you would expect from a copy you get from Amazon or another retailer.","reviewTheStoryNotFormatting":"Write your review based on the story you receive, not whether or not it has the formatting you\'ve come to expect.","noThreatsHeading":"No threats","noThreats":"If you\'re found to be threatening authors for any reason, your account will be removed immediately.","noOutsideCopiesHeading":"Do not ask for the author to send you a copy outside of Booksprout","noOutsideCopies":"Booksprout has protections in place for both authors and readers. Asking authors to go outside of the system is usually an indicator of bad intentions.","onlyCompletableArcsHeading":"Only take ARCs that you can complete your review for","onlyCompletableArcs":"When making their books available for free to you as a reviewer, authors are asking that you write your review on stores that are important to them. Please make sure that you can actually write a review on all stores that they mark as required.","onlyCompletableArcsRepeated":"Repeatedly asking authors to mark your review as complete because you cannot review on stores they ask for is not allowed.","noLyingHeading":"No lying about having completed your review on any store","noLying":"Lying about having completed your review on a specific store is not allowed. If you have accidentally taken an ARC that requires a review on a store you cannot review on, then please <a href=\\"//help.booksprout.co/article/96-how-to-cancel-a-promised-review\\" rel=\\"nofollow\\">cancel your promise</a> to review that ARC.","oneAccountHeading":"Only one Booksprout account per person","oneAccount":"You may only have one Booksprout account. Multiple accounts for the same person will be removed from our system."}}},"arcTeams":{"formFields":{"defaultDisclaimer":{"title":"Which default disclaimer would you like to use?","options":{"one":"I received a free copy of this book via Booksprout and am voluntarily leaving a review.","two":"I received a free copy of this book and am voluntarily leaving a review.","three":"I received a free copy of this book via [ARC SERVICE NAME] and am voluntarily leaving a review."}},"blockFromTeam":{"title":"Which team should we block them from?"},"blockReason":{"title":"What’s the reason for blocking them?","options":{"selectReason":"Select Reason","generic":"Generic, low quality, or dishonest review","lied":"Lied about completing their review(s)","cancelled":"Withdrew too many review promises","notInterested":"Not their type of book","lowRating":"Low rating","lowRatingHint":"Remember: reviewers are asked to leave honest reviews.<br/>In most cases, it\'s best to have more reviews than perfect reviews. If your reviews are too perfect, it can make them look dishonest.","harassment":"Harassment","other":"Other"}}},"actions":{"manageReader":"Manage Reader"}},"settingsbilling":{"labels":{"billingCycle":"Your billing cycle"}},"subscriptions":{"tabs":{"labels":{"selectPlan":"Select Plan","billingCycle":"Billing Cycle","paymentInfo":"Payment Info","yearSubscription":"Annual subscription","monthSubscription":"Monthly subscription","salesVatX":"{0} ({1}%)","discount":"Loyalty Discount ({0}%)","amountDue":"Amount Due","selectedPlan":"Selected Plan","paymentMethod":"Payment Method","credit
3588Card":"Credit Card","billingAmount":"Billing Amount","moneyBack":"30-day money back guarantee","moneyBackPromise":"We stand by our product. If you’re not satisfied, we’ll give you a full refund within 30 days of your first payment!","trustedByAuthors":"Trusted by thousands of authors","joinAuthors":"Join over 15,000 authors getting more reviews with Booksprout.","whatAuthorsSay":"What our authors say about us","newMonthlyAmount":"New Monthly Subscription Amount","newAnnualAmount":"New Annual Subscription Amount","newsSubscriptionAmount":"New Subscription Amount","amountDueNow":"Amount Due Now","unusedTime":"Unused {plan} time","freeMonth":"Free Month","freeMonthNote":"Note that your next payment, due on {renewalDate}, will be free."},"billingCycle":{"title":"How would you like to be billed?","subTitle":"Select how often you would like to be billed. Save money with our yearly plans!","yearlySavings":"You save {amount} yearly!"},"samePlan":{"title":"Change Plan Summary","subTitle":"No changes have been made to your plan. You will remain on the same plan and the same billing cycle."},"summary":{"title":"Change Plan Summary","subTitle":"Below you can see a summary of your new {cycle} subscription. The change in plan or billing cycle has also created an outstanding balance due now.","actions":{"confirmAndPay":"Confirm & Pay Now","confirmChange":"Confirm Change"}},"newPlanSummary":{"subTitle":"Below you can see a summary of your new {cycle} charge.","creditExplanation":"You pay $0 now. Since you’re switching from a more expensive plan, we will also carry forward a credit of ${0} towards future bills. That credit accounts for the unused time you’ve already paid for."},"paymentInfo":{"title":"Great! Now let’s enter your payment info","subTitle":"This is the last step before you can start getting some much needed reviews!","formFields":{"cardNumber":"Card Number","expiryDate":"Expiration Date","ccv":"CCV","country":"Country","postcode":"ZIP/Postal Code","vat":"VAT Number"},"actions":{"makePayment":"Make payment"}},"finished":{"title":"Congratulations!","subTitle":"You are now a full member of Booksprout with our {planName} plan. Please allow up to 5 minutes for your plan to update.","actions":{"myAccount":"Go to my account"}}},"plans":{"labels":{"bestValue":"Best Value","moneyBack":"30-day money back guarantee","details":"Details","nextBillOnX":"Next bill on {date}","discountApplied":"Loyalty discount applied","freeMonth":"Free Month"},"actions":{"selectThisPlan":"Select This Plan","changeBillingCycle":"Change Cycle","changePlan":"Change Plan or Billing Cycle","reactivateSubscription":"Re-Activate Subscription","getStartedNow":"Get Started Now","upgradeToThisPlan":"Upgrade to this plan"},"features":{"maxRunningArcs":"Active review campaigns","maxParticipantsPerArc":"Copies available per review campaign","canViewReviewers":"Access to our vast reviewer community","canHaveAutomatedArcDistribution":"Automatic Review Copy distribution","canHaveAutomatedArcReminders":"Automatic Review Reminders","canCreateAudioBookArcs":"Audiobook Review Campaigns","canChooseDefaultReviewDisclaimer":"Choice of Default Review Disclaimer","canChooseDefaultReviewDisclaimerHint":"Choose a disclaimer that doesn\'t mention Booksprout","canHaveNeverEndingArcs":"Create Endless Review Campaigns","canHaveNeverEndingArcsHint":"Set your review campaign to run for as long as you want!","canLimitReviewersToTopReviewersOnly":"Restrict Review Campaigns to our manually vetted Top Reviewers","canLimitReviewersToTopReviewersOnlyHint":"Get reviews from our best reviewers only!","canAddVirtualAssistants":"Add a Virtual Assistant to your account","canAccessPremiumSupport":"Premium Support","canAccessPremiumSupportHint":"Virginie: TODO","canFreeTypePenNames":"Get Reviews for Books you didn’t write","canChooseBrandedDefaultReviewDisclaimer":"Branded Default Review Disclaimer","canHaveTeamFollowers":"Team Followers"},"free":{"title":"Free","subTitle":"Use our free plan to get everything setup and only pay when you\'re ready to start getting reviews!"},"growing":{"title":"Growing Author","subTitle":"The perfect starter plan for any author who wants to step up their game."},"pro":{"title":"Pro Author","subTitle":"More of what you love, plus get audiobook reviews!"},"bestSelling":{"title":"Bestselling Author","subTitle":"Get the most out of Booksprout with our fully featured plan! Perfect for serious authors."},"publisher":{"title":"Publisher and Review Service","shortTitle":"Publisher","subTitle":"Save time and money managing your review team."}},"cancellationTypes":{"notSelected":"N/A","temporary":"I\'m only cancelling temporarily","notEnoughReviews":"I did not get enough reviews","difficultForReaders":"My readers found it too difficult to use","difficultForMe":"I found it too difficult to use","notWorking":"It didn\'t work as expected","lackingSupport":"Support was lacking","cost":"I can no longer justify the cost","other":"Other"}},"notifications":{"labels":{"notificationType":"Type of notification","closeAdvancedFilters":"Close advanced filters"},"mobileFilterDialog":{"labels":{"filters":"Filters"},"actions":{"applyFilters":"Apply filters","resetFilters":"Reset filters"}},"mobileSearchDialog":{"labels":{"search":"Search"},"formFields":{"search":{"placeholder":"Search by book title or name"}},"actions":{"search":"Search"}},"unsubscribe":{"confirmationMessage":"You will no longer receive emails for \\"{notificationType}\\"","alertReviewDueIn2Days":"Review due in 2 days","alertTimeToPublish":"Time to publish","dailyUpdatesOnFollowCount":"Daily updates on follower count","invitedToTeam":"Invited to review team","alertNewArc":"An author or team I\'m following publishes a new review copy","alertReadyToReview":"Review is due","alertFinalFollowUp":"Review is overdue","alertDelayExpiring":"Amazon review delay is expiring","alertDelayExpired":"Amazon review delay is expired","alertSavedArcEndingOrLowCopies":"A saved book is ending soon or low on copies","newArcParticipant":"Someone claims a review copy","newReview":"Someone writes a review on my review campaign","arcCancellation":"Someone withdraws their promise to review","reviewRejected":"","newExternalReview":"","freeText":"When a book is deleted and does not need to be reviewed","arcCannotActivate":"Review campaign cannot be activated","alertNewTeamApplicant":"Someone has requested to join my team","alertBookFileUpdated":"An author updates a book file"}}},"system":{"actions":{"seeAll":"See All","viewAll":"View All","importSelected":"Import Selected","login":"Login","logout":"Logout","signIn":"Sign In","signUp":"Sign Up","send":"Send","save":"Save","share":"Share","edit":"Edit","delete":"Delete","saveAndClose":"Save and Close","view":"View","copyLink":"Copy Link","filters":"Filters","filtersX":"Filters ({0})","cancel":"Cancel","confirmDelete":"Yes, Delete my {0}","cancelDelete":"Cancel, Keep my {0}","next":"Next","upgrade":"Upgrade","clearSearchResults":"Clear Search Results","clearFilters":"Reset filters","applyFilters":"Apply Filters","confirm":"Confirm","errorDialogHeading":"Oh, Snap!","messageDialogHeading":"It\'s done!","clickHere":"click here","follow":"Follow","following":"Following","back":"Back","viewFullReview":"View full review","continueReviewing":"Continue reviewing","viewReview":"View review","settings":"Settings","continue":"Continue","close"
3588:"Close","update":"Update","updateIt":"update it","closeDialog":"Close dialog","yes":"Yes","no":"No","submit":"Submit","reactivateEmail":"Reactivate Email","remove":"Remove","cancelSignUp":"Cancel Sign Up","addAnotherEmail":"+ Add another E-Mail","deleteXEmailAddress":"Delete {0} email address"},"date":{"date":"Date","dueOn":"Due on"},"labels":{"403":{"title":"We can\'t seem to find the page you\'re looking for","link1":"View your dashboard","link2":"View your review campaigns","link3":"View your account"},"404":{"title":"We can\'t seem to find the page you\'re looking for","link1":"View your dashboard","link2":"View your review campaigns","link3":"View your account"},"500":{"title":"Sorry, something went wrong on our end.","link1":"View your dashboard","link2":"View your review campaigns","link3":"View your account"},"goBack":"Go Back","loading":"Loading ...","connecting":"Connecting ...","connected":"Connected","noResultsFound":"No Results Found.","all":"All","booksprout":"Booksprout","or":"or","by":"by","on":"on","of":"of","logout":"Log out","done":"Done","doneEditing":"Done Editing","editing":"Editing {0}","optional":"optional","updated":"Updated {0}","copiedToClipboard":"Copied to Clipboard","couldNotCopyToClipboard":"Sorry we could not copy to the clipboard due to your mobile security settings.","changesSaved":"Your changes were saved!","requiredField":"Please, fill in the correct information","requiredFieldBannerStart":"Your {0} is missing required information. Please ","requiredFieldBannerEnd":" to be able to proceed.","select":"Select","selected":"Selected","xSelected":"{0} Selected","email":"Email","password":"Password","forgotPassword":"I can\'t remember my password","claimed":"claimed","explicit":"Explicit","verified":"Verified","unverified":"Not Verified","notAgreedToTerms":"You must agree to the Terms and Conditions.","loggedInAs":"Logged In As","actingAs":"Acting As","confirmDelete":"Delete your {0}?","deleteMessage":"Are you sure you want to delete the {0}","deleteWarning":"This will <strong>completely delete</strong> the {0}, along with the following:","deleteWarningItem":"{0} related {1}","viewAllX":"View All {0}","monthAbbreviation":"mo","month":"month","monthly":"Monthly","year":"year","yearly":"Yearly","off":"OFF","models":{"ArcDto":"Review Copies | Review Copy | Review Copies","ArcClaimDto":"Review Campaign Claims | Review Campaign Claim | Review Campaign Claims","PersonalArcClaimDto":"Personal Claims | Personal Claim | Personal Claims","ArcReviewDto":"Reviews | Review | Reviews","PersonalArcReviewDto":"Personal Reviews | Personal Review | Personal Reviews","ArcTeamDto":"Teams | Team | Teams","ArcTeamMemberDto":"Members | Member | Members","BookDto":"Books | Book | Books","PenNameDto":"Pen Names | Pen Name | Pen Names","ReviewDto":"Reviews | Review | Reviews","MessageThreadDto":"Messages | Message | Messages","AuthorDto":"Authors | Author | Authors","UserDto":"Users | User | Users"},"unlimited":"Unlimited","days":"Days","requestSupport":"Request Support","new":"New","newActivity":"New Activity","yes":"Yes","no":"No","facebook":"Facebook","amazon":"Amazon","apple":"Apple","roles":{"author":{"free":"Free Author","growing":"Growing Author","pro":"Pro Author","bestSelling":"Bestselling Author","publisher":"Publisher"},"reviewer":{"unset":"New Reviewer","new":"New Reviewer","valued":"Reviewer","top":"Top Reviewer"}},"noResults":{"label":"No {0}s found.","hint":"We couldn\'t find any {0}s related to \\"{1}\\".<br/>Try another search term.","createNew":"Create new {0}"},"search":"Search","clearSearch":"Clear Search","notLoggedIn":"Not Logged In","loginNow":"Login Now","pleaseSelect":"Please Select","help":"Help","maxFieldLengthX":"Must be less than {0} characters.","minimumFieldLengthX":"Must be at least {0} characters.","minimumFieldLengthXWithRemaining":"Must be at least {0} characters. You need {1} more characters","mainMenu":"Main menu","language":"Language","chooseLanguage":"Choose your language","support":"Support","gamification":"Reviewer Rank","messages":"Messages","notifications":"Notifications","book":"Book","hostedBy":"Hosted by","averageRating":"Average rating","shareableLink":"Shareable link","sortBy":"Sort by","fromXReviews":"from {n} review | from {n} reviews","reviewsAndFeedback":"Reviews & Feedback","reader":"Reader","author":"Author","switchAccount":"Switch account","premium":"Get Reviews","reviewerDashboard":"Reader Area","confirm":"Confirm","currentlySeeing":"You are currently seeing:","anonymous":"Anonymous","stopMimic":"Return to your account","unknownDate":"Unknown date","firstPage":"First page","nextPage":"Next page","previousPage":"Previous page","offline":"You are offline","maintenanceNotification":"The site will be entering maintenance mode in {timeUntilMaintenance} for {maintenanceDuration}. Please save your work.","undeliverableEmail":"Our latest emails haven\'t been able to reach out. Please make sure that your inbox is working and reactivate your email address","versionX":"Version: {0}","downForMaintenance":"Down for maintenance","downForMaintenanceMessage":"Sorry for the inconvenience but we\'re performing some maintenance at the moment. If you need to you can always contact us, otherwise we\'ll be back online shortly!","fromTheTeam":"– The team","searchTerm":"search term","sessionTimedOut":"Your session has timed out, please login to continue.","loggingOut":"Logging out ...","unsubscribing":"Unsubscribing...","redirecting":"Redirecting...","hours":"Hours","minutes":"Minutes","seconds":"Seconds","loyaltyDiscountX":"Loyalty discount: {0} off","saveX":"Save {0}"},"formFields":{"email":{"title":"Email","placeholder":"Insert your email"},"confirmEmail":{"title":"Confirm Email","placeholder":"Confirm your email"},"password":{"title":"Password","placeholder":"Insert your password"},"confirmPassword":{"title":"Confirm Password","placeholder":"Confirm your password"},"enterAccountName":{"title":"Choose your display name","description":"Before you can continue, we need a display name that you\'d like to go as on Booksprout. This will be displayed next to your reviews and when sending messages to other users.","placeholder":"Your Display Name"}},"status":{"failed":"Failed"},"errors":{"somethingWentWrong":"It looks like something went wrong; please contact us.","somethingWentWrongWithParams":"We have detected problems with your email address. The problem is as follows: \\n\\n \\"{message}\\" \\n\\n Once this problem is resolved, please contact us so we can reset your email address.","emailExists":"This email address already exists.","phone
3588Exists":"An account already exists that is linked to this phone number.","smsRateLimitExceeded":"You have reached the daily SMS verification limit. Please try again tomorrow.","invalidEmail":"You have entered an invalid email address.","invalidValue":"Please enter a valid value.","invalidDate":"Please enter a valid date.","invalidLogin":"Your login credentials are incorrect.","invalidFile":"This file type is not allowed.","invalidEbookFile":"We couldn\'t read that file. It doesn\'t look like a valid EPUB.","fileNoLongerAvailable":"File is no longer available","notABooksproutDownload":"This file was not downloaded from Booksprout","expiredPasswordRequest":"For security purposes, your password reset link has expired. Please request another password reset link below.","missingFile":"We couldn\'t prepare your review copy. Please try again in a few minutes, and contact support if it keeps happening.","claimEmailNotVerified":"We can only send review copies to a verified email address on your account.","emailRecipientInactive":"We couldn\'t send to this address. Our email provider has blocked it after an earlier bounce or spam report. Please contact support so we can reactivate it.","postmarkBounceCode":"We\'re unable to send you emails at this time.","postmarkBounceCodes":{"1":"The server was unable to deliver your message.","512":"The message was delivered, but was either blocked by the user, or classified as spam, bulk mail, or had rejected content.","4096":"Unable to temporarily deliver message (i.e. mailbox full, account disabled, exceeds quota, out of disk space).","100000":"The address is not a valid email address.","100001":"The subscriber explicitly marked this message as spam.","100002":"The email was manually deactivated.","100006":"Blocked from this ISP due to content or blacklisting.","WithdrawnConsent":"Consent needed to use Booksprout."},"accountNameExists":"This Display Name already exists but must be unique.","requestThrottled":"We cannot complete this request at this time.","disposableEmail":"Disposable email addresses are not authorised. If you feel that we have made a mistake, please contact us.","userAlreadyAdded":"You are already a member of this review team","memberDoesNotExist":"This member does not exist.","fieldsMustMatch":"These fields must match","permissions":"You do not have permission to do this.","pirateUserNotExist":"The user in this file doesn\'t exist in our system.","pirateUserIsYou":"Yup, it works! We caught you! But you didn\'t really want to report yourself, did you? Don\'t worry, we didn\'t think so.","pirateAlreadyReportedUser":"You have already reported this user for this book.","alreadyReviewed":"You have already posted a review for this book.","tookTooLong":"It took too long to do that. Please try again.","invalidMobi":"This MOBI file doesn\'t contain KF8 format data and cannot be used.","bookIsDraft":"The selected book is a draft and cannot be used to create a review campaign.","errorSendingWelcomeEmail":"You have been signed up but there was an error sending your welcome email! We have logged you in but please contact us so we can send your email.","youCannotBeYourOwnVa":"Yup, it works! We caught you! But you didn\'t really want to be your own VA, did you? Don\'t worry, we didn\'t think so.","vaAlreadyAdded":"This user is already a VA on your account. You don\'t need to do anything else.","alreadyHasAVa":"You have already added a VA to your account.","invalidUser":"This user does not exist.","invalidUnsubId":"Could not unsubscribe, please contact us.","alreadyHasAuthorRole":"This user already has an author role. Aborting.","cannotDowngradePaidAuthor":"This user is a paying author and cannot be converted to a reader account.","userAlreadyReader":"This user already has a reader account.","unsupportedAccountType":"This account type change is not supported.","noAmazonResultsForAuthor":"There are no books on Amazon for this author.","invalidVerificationCode":"This verification code is invalid because it\'s not recognised or has been used already. It is possible your account is already confirmed.","notAllowedToClaimArc":"Sorry. You are not allowed to claim this review copy.","arcUnavailable":"This review copy is no longer available.","arcHasEnded":"This review copy has ended.","reviewTranslationBusy":"Translation service is busy right now. Please retry later.","reviewTextUsed":"You have used this same review text within the last 2 weeks. Please update the review.","missingRequiredLinks":"Link due date cannot be updated as there are still required links outstanding.","audiobookCodesRequired":"Audiobook campaigns need at least one set of download codes. Please add codes on the Format step.","notEnoughInformation":"Required information missing.","noInvitation":"There is no invitation outstanding. Did you already join?","lockedAccount":"Your account is locked. Please contact us.","invali
3588dBookCoverSize":"Your book cover is an invalid size. Minimum height: 415px.","invalidKindleEmail":"Not a valid Kindle email address.","failedToGeneratePreview":"We could not generate a preview for your EPUB. Please contact us.","failedToGeneratePreviewPictureBook":"We could not generate a preview for your EPUB because it lacks text.","arcNotAvailable":"This review copy is not yet available.","arcFileTooBigForEmail":"This book is too large to send by email. Please use the direct download option instead.","noAudioCodesAvailable":"Sorry, there are no more audio codes available for this book.","chipBox":{"invalidEmailsDetected":"Some invalid email addresses were detected. Please double check your input.","maxCharsPerEntry":"Entry \\"{userEnteredValue}\\" exceeds maximum allowed characters of {maxCharsPerEntry}"},"atLeastOneFileRequired":"You must upload at least one file for this book.","teamOwnerNotPublisher":"Sorry. This team is no longer accepting followers.","memberCantUnfollowTeam":"You cannot unfollow a team you are a member of.","notFollowingTeam":"You are not following this team.","minPasswordLength":"Password must contain at least 8 characters","maxPasswordLength":"Password must not exceed 65 characters","failedToLoginNoEmail":"We could not log you in as you didn\'t supply a valid email address.","loginTimedOut":"Your login session has expired. Please try again.","popupBlocked":"Your browser blocked the sign in window. Please allow pop-ups for booksprout.co and try again.","facebookDidntShareEmail":"Facebook didn\'t share your email address so we can\'t log you in.","alreadyHaveAmazonAccount":"There\'s already an account with this email address in our system. Please login with [Amazon] instead.","alreadyHaveFacebookAccount":"There\'s already an account with this email address in our system. Please login with [Facebook] instead.","alreadyHaveEmailAccount":"There\'s already an account with this email address in our system. Please login with your email address and password instead.","arcTeamNotAvailable":"This team is not available.","arcTeamNameTooLong":"This team name is too long to save. Please shorten it and try again.","arcTeamDescriptionTooLong":"This team description is too long to save. Please shorten it and try again.","arcTeamEmailTooLong":"One of these email addresses is too long to save. Please check them and try again.","penNameNotAvailable":"This pen name is not available.","penNameBioTooLong":"This bio is too long to save. Please shorten it and try again.","bookDeleted":"This is book is no longer available.","bookDescriptionTooLong":"This book description is too long to save. Please shorten it and try again.","bookPenNameTooLong":"This pen name is too long to save. Please shorten it and try again.","bookKeywordsTooLong":"These keywords are too long to save. Please shorten them and try again.","bookCoverTooLong":"This book cover\'s file name is too long to save. Please rename the file and try again.","notYetStripeCustomer":"Could not find customer record, please contact us.","stripeMissingSubscription":"Cannot find subscription, please contact us.","pastDueInvoice":"You have an overdue payment on your account, so plan changes are unavailable right now. Please contact support and we\'ll help you get it resolved.","alreadyPartOfTeam":"This user is already part of this team.","problemGeneratingPreview":"It looks like we\'re having trouble generating your preview. Please contact us if this is a problem.","requiresPaymentMethod":"Your card was declined.","imageUploadFailed":"Image upload failed. Please try again.","fileUploadFailed":"File upload failed. Please try again.","fileTooLarge":"That file is too large to upload. The largest we can accept is {size}MB.","quadernoInitError":"One of the required payment services could not be loaded. Please disable you antivirus temporarily.","alreadyClaimed":"You have already promised to review this book.","badPenName":"Something went wrong creating your book when setting the pen name. Please refresh this page and start the process again. If this issue persists, please contact us.","atLeastOneCategoryRequired":"Please select at least one category.","accountNameRequired":"Please enter the Display Name","paymentProviderRequiresAdditionalAction":"Your bank needs you to confirm this payment. We\'ve emailed you a secure link to confirm it - once you do, your new plan is applied automatically.","taxIdInvalid":"We could not verify your tax code. Please check it and try again.","invali
3588dFileForKindle":"The file provided does not pass Kindle validation.","sourceFileNotFound":"We couldn\'t find the source file for this book. It may have been moved or removed. Please contact support if you continue to experience problems.","cannotMessageSelf":"You cannot message yourself.","invalidCountryCodePrefixForPhoneNumber":"Invalid country code prefix","invalidPhone":"Invalid phone number","noAppleBooksCodesProvided":"Please enter at least one Apple Books code.","appleBooksCodeTooLong":"One of those Apple Books codes is too long. Please check them and try again.","appleBooksCodeClaimed":"That code has already been claimed by a reader, so it can\'t be removed.","appleBooksCodeNotFound":"We couldn\'t find that Apple Books code on this book.","appleBooksCodeExpiryInThePast":"The expiration date has already passed. Please pick today or a later date."},"permissions":{"canAddVirtualAssistants":{"explanation":"Upgrade to our {planName} plan to be able to add a virtual assistant to your account."},"canSendAndReceiveMessages":{"explanation":"Activate a Booksprout subscription to send and receive messages from readers"},"canChooseDefaultReviewDisclaimer":{"explanation":"Upgrade to our {planName} plan to pick between the two choices below."},"canCreateAudioBookArcs":{"explanation":"Upgrade to our {planName} plan to access the audiobook feature."},"canLimitReviewersToTopReviewersOnly":{"explanation":"Upgrade to our {planName} plan to limit access to only our manually-vetted Top Reviewers."},"maxParticipantsPerArc":{"explanation":"Upgrade to our {planName} plan to unlock more copies."},"maxRunningArcs":{"title":"Do you want more dates available on your calendar?","explanation":"Upgrade to our {planName} plan to have {maxRunningArcsCount} review campaigns active at once."},"canHaveNeverEndingArcs":{"explanation":"This feature is available on our {planName} plan."}},"selectUserToSwitchDialog":{"labels":{"activeAs":"You are currently active as","otherAccounts":"Other available accounts"},"actions":{"stop":"Stop","switch":"Switch"}},"oAuthRequestEmailDialog":{"heading":"What’s your email address?","subText":"All Booksprout accounts require a valid email address so that we can reach you if we need to."}},"meta":{"modules":{"login":{"title":"Login"},"signUp":{"title":"Sign Up"},"messages":{"title":"Messages"},"notifications":{"title":"Notifications"},"settings":{"title":"Settings"},"accountSettings":{"title":"Account Settings"},"reviewerSettings":{"title":"Reviewer Settings"},"emailSettings":{"title":"Email Settings"},"authorSettings":{"title":"Author Settings"},"billingSettings":{"title":"Billing Settings"}}}}')},54040(e){"use strict";e.exports=JSON.parse('{"modules":{"authors":{"actions":{"viewAuthor":"View Author","backToAuthors":"Back to Author List"},"labels":{"authors":"Authors","viewAuthor":"View Author","fromXReviews":"from {0} reviews received on Booksprout","followXOn":"Follow {0} on","xNoArcs":"{0} doesn\'t have any review copies available","xNoOtherArcs":"{0} doesn\'t have any other review copies available","xNoBooks":"{0} doesn\'t have any published books","xPublishedBooks":"{0}\'s published books","publishedOnX":"Released {date}","publishingOnX":"Releasing on {date}","xActiveArcs":"{0} has other review copies available","xPastArcs":"{0} has previous review copies","reviewByX":"Review by {date}","endedOnX":"Ended on {date}","dueToday":"Review due today","dueYesterday":"Review due yesterday","xDaysOverdue":"{0} days overdue","delayedGracePeriod":"Delayed review grace period","noLongerFollowingX":"You are no longer following {0}","stoppedFollowingMessage":"We will no longer send you any alerts when they have a new review copies available.","oldBooksproutLink":"You\'ve followed a link from the old version of Booksprout.","oldBooksproutLinkMessage":"You can unfollow this author below if you no longer wish to hear about their new review copies, or if you\'d like to turn off all new review copies email alerts you can do so in your {settingsLink}.","emailSettings":"email settings"},"formFields":{"search":{"label":"Search Authors","placeholder":"Search for an author by name","noResults":"We couldn\'t find any authors by the name of <strong>\\"{0}\\"</strong>"}}},"books":{"labels":{"buyOnX":"Buy on {0}
3588","audienceTypes":{"general":"General","teen":"Tame","mature":"Mature","explicit":"Explicit","tame":"Tame"},"arrivedInError":"Oops. You have arrived here in error. Please use the navigation to find review copies."}},"arcs":{"buttons":{"back":"Back","review":"Review","readSample":"Read Sample","downloadReviewCopy":"Download Review Copy","agree":"I agree","disagree":"I don\'t agree","findAnotherArc":"Find another review copy","tryAgain":"Try Again","selectAnotherWay":"Select another way to get this review copy","selectAnotherEmail":"Click here to select another","addNew":"Add a new one","download":"Download","downloadAgain":"Download Again","iCanReviewOnX":"I can review on {0}","buy":"Buy"},"save":{"save":"Save","saved":"Saved","saveForLater":"Save for later","savedForLater":"Saved for later"},"labels":{"arcs":"Discover Great Books To Review","arcsSubtitle":"Check back daily for the latest review copies!","arcsGuestTitle":"Download Free Review Copies From Indie Authors","arcsGuestSubtitle":"Browse thousands of upcoming releases from our indie authors. Just claim an advance review copy (ARC), read it early, and share your honest feedback!","findArcs":"Find Review Copies","filterArcs":"Filters","singleArc":"Review Copy","reviewBy":"Review by","noteFromTheAuthor":"Note from the Author","mustReviewOn":"Must review on:","reviewOnAtLeastOne":"Optionally review on: | Review on at least 1: | Review on at least {n}:","filesAvailable":"File(s) available:","mustReviewAudioDesc":"You’ll be asked to review on the store you download the audiobook from.","downloadCodeAvailable":"Download codes available:","xCodesLeft":"{n} codes left | {n} code left | {n} codes left","messageTheAuthor":"Message the author","messageTheTeamOwner":"Message the team owner","moreAboutTheAuthor":"More about the Author","authorHasOtherActiveArcs":"{0} has other review copies available","reviewCopyDetails":"Review Copy Details","exclusive":"Exclusive","bookPreview":"Book Preview","reviews":"Reviews","yourReview":"Your Review","continueYourReview":"Continue Your Review","thanksMessage":"Thanks for helping make {0}\'s launch a success!","arcType":{"title":"Is this a review campaign for an audiobook or ebook?","options":{"eBook":"eBook","audioBook":"Audiobook"}},"cancellationSuccess":"Your review promise has been withdrawn.","whichStoreClaimAudioDownload":"Which store would you like to claim a download code for?","whichStoreClaimAudioDownloadDesc":"Keep in mind that whichever store you claim a code for is the store you will be asked to review this audiobook on.","reviewIn":"I can review in","reviewOn":"I can review on","allArcs":"You\'re seeing all review copies.","allArcsMessage":"To get more relevant results, edit your settings to choose where you want to review books.","availableOnX":"Available on {0}","xPages":"{count} page | {count} pages","dontSeeEmail":"Don\'t see your email address?","groupByStatus":{"authorAndTeam":"My Authors & Teams","all":"All","saved":"Saved"},"arcHostedBy":"Review copy hosted by","privateArcMessage":"This ARC is for members of a private ARC team only. Please contact the team owner for how to join","formatAvailability":{"downloadOnly":"Download only","emailAndDownload":"Send via email & download"},"overdueDays":{"title":"Overdue Days","good":{"title":"You’re all good"},"toImprove":{"title":"Near the limit"},"low":{"title":"Too many overdue"},"role":{"new":{"tooltip":"Reviews that are due for more than two days count towards this total. Complete one review to have access to more overdue days and claim more review copies."},"valued":{"tooltip":"Reviews that are due for more than two days count towards this total. If you have too many overdue days, you’ll need to complete some overdue reviews before you can claim more review copies. If you need more overdue days, you can {topReviewerLinkText}.","topReviewerLinkText":"apply to become a top reviewer"},"top":{"tooltip":"Reviews that are due for more than two days count towards this total. If you have too many overdue days, you’ll need to complete some overdue reviews before you can claim more review copies."}}},"displayResultsAsList":"Display results as list","displayResultsAsGrid":"Display results as grid","foun
3588dXReviewCopies":"We found {count} review copies","foundXReviewCopiesForY":"We found {count} review copies for {search}","tutorialForXOpensNewWindow":"Tutorial for {0} (opens in new window/tab)","claimAudiobook":"Claim audiobook","xReview":"{0} review"},"formFields":{"search":{"placeholder":"Search by title, team, author or series","listingPlaceholder":"Search by title, author, series, or genre","noResults":"We couldn\'t find any review copy by the name of <strong>\\"{0}\\"</strong>","noResultsGeneric":"We couldn\'t find any review copies"}},"filters":{"labels":{"categories":"Categories","authors":"Authors","formats":"Formats","language":"Language","releaseDate":"Release Date","availability":"Availability","audience":"Audience","length":"Length","timeToReview":"Time to Review","addNewCategories":"Add new categories","loginToSeeMore":"{loginLink} to access all options","withCount":"{label} ({selected}/{total})"},"formFields":{"allAuthors":"All authors","fourStarsPlusAuthors":"Authors I\'ve given 4+ stars to","threeStarsPlusAuthors":"Authors I\'ve given 3+ stars to","notReadAuthors":"Authors I\'ve not read yet","unreleased":"Unreleased (ARC)","alreadyReleased":"Already Released","participationTypes":{"topReviewers":{"title":"Exclusive copies","tooltip":"These review copies are only available to Top Reviewers."},"public":{"title":"Regular copies","tooltip":"These review copies are available to all Booksprout reviewers."}},"releaseDateTypes":{"unreleased":{"title":"Unreleased (ARC)"},"released":{"title":"Already released"}},"generalAudience":{"title":"General","tooltip":"Nothing sexual, no sexual references, no violence."},"matureAudience":{"title":"Mature","tooltip":"May contain few non-detailed \\"onscreen\\" sex scenes that are not long or graphic. May contain some violence or sexual violence that is not overly graphic."},"tameAudience":{"title":"Tame","tooltip":"May contain implied intimacy, closed-door, or fade-out. Can contain mild, nonsexual violence."},"explicitAudience":{"title":"Explicit","tooltip":"May contain numerous or highly detailed sex scenes or erotica. May contain gruesome or extended violence."},"format":{"ebook":"eBooks","audioBook":"Audiobooks"},"sortBy":{"new":"New","recommended":"Recommended"}},"actions":{"addCategories":"Add Categories","reviewersRankLink":"Check your reviewer rank."},"reviewInDays":{"append":"days | day | days"},"genre":{"any":"Any genre"},"wordCount":{"short":"Short Story","novella":"Novella","novel":"Novel"},"lengthRange":{"from":"From","to":"to","pages":"pages"},"audienceType":{"any":"Any audience","general":"General","teen":"Tame","mature":"Mature","explicit":"Explicit"},"popularTags":{"title":"Popular","none":"No popular tags found"},"arcType":{"any":"Any format","ebook":"eBooks","audiobook":"Audiobooks"}},"claims":{"buttons":{"showArcs":"Show me review copies"},"labels":{"srReviewCopy":"Your Review Copy","cancelPromise":"Withdraw Review Promise"},"agreement":{"labels":{"requirements":"Before you claim a review copy of this book you need to <strong>agree to the following requirements</strong>","reviewBy":"I will review this book by","willReview":"I will review this book on all of these stores:","willReviewOptional":"I will review this book on at least {0} of the following stores:","mustAgree":"You need to agree with all the requirements in order to claim a review copy.","willNotShare":"I will not share my copy of this book in any way. I will also not upload the book or its details to AI for any reason.","cantAgreeToAll":"If you can\'t agree to everything the author requires, ","srAgreement":"Agreement"},"buttons":{"findSuitableArc":"let\'s find you a more suitable review copy"}},"reviewCopyOf":"Claiming a review copy of:","findSuitableArc":"Okay, let\'s find a review copy that suits you better!","findSuitableArcSubTitle":"Which stores can you review on?","congratsTitle":"Congratulations!","congratsMessage":"You\'ve been approved to receive a copy!","audiobook":{"copyCode":"Copy your {site} download code then redeem it:","copyCodeLabel":"{site} code","codeCopied":"{site} code has been copied to the clipboard","actions":{"redeem":"Redeem on {site}"},"kobo":{"step1":"Open the book on Kobo.","step2":"Add the book to your cart.","step3":"Go to the checkout page.","step4":"On the checkout page, enter the code under \\"Promo Code\\".","step5":"The book should now be free. Click \\"Save and Continue\\".","step6":"Review that the audiobook is free and click on \\"Complete Purchase\\".","step7":"Open the audiobook on the Kobo App."}},"ebook":{"labels":{"srSelectAWay":"Select a way to download ebook"},"selectAWay":"How would you like to get your review copy?","epubExplanationText":"(Best for Kindle and most e-reader apps)","download":{"labels":{"srDownload":"Download the review copy"},"sendToKindle":"Send to Kindle","readEpub":"Read on Booksprout","email":"Email me a copy","emailUnavailable":"File too large for email. Please use an alternate method.","downloadCopy":"Download copy","whichFileType":"Which filetype would you like to download?","downloadCompleteBody":"Saved to your Downloads folder","downloadChannelName":"Review copy downloads","downloadNotAvailableHere":"This device can\'t save downloads yet. Select another way to get this review copy."},"kindle":{"labels":{"ourEmail":"Once you receive the email from us, you’ll just need to forward it to your Kindle email address. Please make sure that the book file is still attached when forwarding.","weWillUseThisEmail":"We\'ll send it to this kindle address","ourEmailChanged":"<strong>Note:</strong> Amazon has removed our ability to send books directly to your Kindle. Instead, we’ll send you an email that you will then need to forward to your Kindle email address.","chooseEmail":"Choose which email address we should send the book file to."},"actions":{"send":"Send email to forward"}},"email":{"weWillSendToThisAddress":"We\'ll send the file to this email address","whichFileType":"Which filetype would you like us to send?"}},"confirmation":{"writeReviewMessage":"When you\'re ready to write your review, you\'ll find it in {yourArcsSlot}!","needAudibleCode":"Need your Audible code again?","sentToEmail":"Your review copy has been sent to {0}","sentToDevice":"Your review copy will download to this device shortly","waitTime":"Please allow up to 15 minutes for it to show up","havingTrouble":"Having trouble getting your review copy?","labels":{"srConfirmation":"Claim confirmation","lookingForAnother":"Looking for another book to review? We’ve got plenty more where this one came from."}},"cancel":{"labels":{"cancelPromise":"Withdraw review promise for:","letXKnow":"Let {0} know why you can\'t review their book","reason":"Pick a reason you can\'t review","otherDetails":"Any other details you\'d like to share?","anythingToShare":"Anything you\'d like to share?"},"buttons":{"cancelPromise":"Withdraw review promise"}},"issues":{"labels":{"requiredReviewsCount":"Complete 30 reviews","requiredReviewRate":"Maintain an on-time review rate of 70% for 30 days","highQualityReviews":"Write high quality reviews that follow our guidelines (Manual approval needed)","applyAgainInXDays":"You can apply to be a Top Reviewer again in {0} days","requiredReviews":"Required reviews","optionalReviews":"Optional reviews (must review on {0}
3588)","topReviewerAppReceived":"Your Top Reviewer application has been received!","topReviewerAppDesc":"Thanks for applying to become a Booksprout Top Reviewer. We will manually review your account to ensure that it meets our criteria. This usually takes a few days."},"actions":{"selectDifferentArc":"Select a different due review copy to review","topReviewerProgram":"Top Reviewer Program","findAnotherArc":"Find a different book to review","updateStores":"Update the stores that you can review on","acceptsSeries":"Yes, I have read these books and would like to continue the series"},"reasons":{"permanent":": This is a permanent restriction","reasonHeading":"The reason given is:","downloadLock":{"title":"Your account has been restricted","subTitle":"You cannot claim any new review copies until {restrictionEndDate}.","messageTitle":"The reason given is:","suggestionTitle":"Are you ready to review this book?","suggestionSubTitle":"Completing more reviews will help improve your reviewer score so that this doesn\'t happen again."},"tooManyDueReviews":{"title":"Let’s complete some due reviews first","subTitle":"Looks like you’ve got too many outstanding due reviews. Let’s clear some of those out first before claiming more review copies.","suggestionTitle":"Are you able to review this one?","suggestionSubTitle":""},"arcDueForTooLong":{"title":"Let’s complete your overdue review first","subTitle":"Looks like you’ve got a review that’s been due for over two weeks. Let’s finish that one up first before claiming any more review copies.","suggestionTitle":"Can you complete this overdue review?","suggestionSubTitle":""},"weeklyClaimLimitReached":{"title":"Your weekly limit has been reached","subTitle_valued":"Looks like you’ve claimed all the review copies you can this week. Want to claim more? Apply to our {topReviewerDocLink} and get 50 weekly downloads!","subTitle_new":"Looks like you’ve claimed all the review copies you can this week. Want to claim more? Hit the goal below for an automatic upgrade!","subTitle_top":"Looks like you’ve claimed all 50 review copies you can this week. Come back next week to claim more!","messageTitle":"The reason given is:","suggestionTitle":"In the meantime, can you review this one?","suggestionSubTitle":""},"topReviewersOnly":{"title":"This review copy is exclusive to Booksprout\'s Top Reviewers","subTitle":"Want to participate claim review copies like this? Apply to be a Top Reviewer!","suggestionTitle":"In the meantime, can you review this one?","suggestionSubTitle":""},"privateArc":{"title":"This review copy is for members of a private review team","subTitle":"The creator of this review opportunity has restricted it to their private review team."},"seriesReadingRequired":{"title":"This review copy requires previous reading","subTitle":"This book is part of a series and requires that you’ve read the rest of the series first. Check the list below and make sure that you’re up to date on this series before proceeding.","suggestionTitle":"Have you read these books?","suggestionSubTitle":""},"outstandingReviewForThisTeam":{"title":"There’s an outstanding review blocking the way","subTitle":"You have an outstanding review due for the team hosting this review copy. Let\'s complete it before claiming this one.","suggestionTitle":"Do you want to continue your outstanding review for this team?","suggestionSubTitle":""},"storeRequirementsNotMet":{"title":"This review copy has special requirements","subTitle":"The creator of this review copy has required a review for a store you don’t review on. They require the following reviews:","suggestionTitle":"Do you want to continue your outstanding review for this team?","suggestionSubTitle":""},"alreadyReviewed":{"title":"You’ve already reviewed this book","subTitle":"Our records indicate that you’ve already claimed a review copy of this book. Let’s leave it for others to enjoy!","suggestionTitle":"You can check your review here:","suggestionSubTitle":""},"noCopiesLeft":{"title":"There’s no more review copies left!","subTitle":"The creator of this book has limited the number of review copies available. Unfortunately, they’ve already all been claimed.","suggestionTitle":"Never miss another review copy by this author. Get alerts as soon as they publish another one!","suggestionSubTitle":""},"topReviewerApplied":{"suggestionTitle":"While you wait, do you want to review this review copy?","suggestionSubTitle":""},"notPaidAccount":{"title":"We\'re all out of copies!","subTitle":"The creator of this review opportunity has limited the number of review copies available. Unfortunately, they’ve already all been claimed.","suggestionTitle":"Never miss another review copy by this author. Get alerts as soon as they create another one!"},"tooManyWithdrawals":{"title":"You can\'t claim this<br/>
3588review copy right now","subTitle":"Booksprout is all about writing reviews on great books. We\'ve noticed that you\'ve downloaded a few review copies already, but haven\'t yet completed a review. <br /><br />To ensure the integrity of our reviewer community, we ask that you complete some reviews before you download any more review copies. <strong>Please go to your withdrawn review copies or your past due review copies and complete some reviews.</strong><br /><br/>If there\'s any reason you haven\'t been able to do this, please get in touch with our support team at <a href=\'mailto:help{\'@\'}booksprout.co\'><span class=\'text-bs-g\'>help{\'@\'}booksprout.co</span></a> - we\'re here to help!","suggestionTitle":"Are you ready to review this book?","suggestionSubTitle":"Completing more reviews will help improve your reviewer score so that this doesn\'t happen again."}}}},"reviews":{"labels":{"leavingReviewForAuthor":"Leaving a review for {0}","reviewerName":"Public Reviewer Name","chooseName":"Choose a name that you would like to display publicly alongside your reviews on Booksprout","selectRating":"Select your star rating","rating1":"This book wasn\'t for me at all","rating2":"I didn\'t like it","rating3":"It was okay","rating4":"I liked it","rating5":"I loved it!","xStarsRating":"{n} star - {rating} | {n} stars - {rating}","selectedRatingIsXStars":"Selected rating is {n} star | Selected rating is {n} stars","review":"Review","reviewTitle":"Review Title","writeReview":"Your public review for this book. {reviewTipsLink}","disclaimer":"Disclaimer","feedbackThoughts":"This feedback will not be displayed publicly. Only the author will be able to see it.","yourRating":"Your rating","copyReview":"Copy your review","copyReviewSub":"Copy your review below","disclosure":"In order to keep Booksprout free for reviewers we use affiliate links, {linkSlot} to see our full affiliate link disclosure.","reviewOnX":"Review on {0}","isReviewCompleteOnX":"Have you completed the review on {0}?","cannotReviewYet":"It\'s too early to do this. Please check back later!","whereCanReview":"Where are you able to review books?","betterRecommendations":"This will help us provide better review copy recommendations","reviewLinkNoteForX":"Please copy and paste the direct URL of your review for this book on {0}","markAsReadOnStoryGraph":"Make sure to mark the book as \\"Read\\" to be able to leave a review."},"buttons":{"needToCancel":"Need to withdraw your promise to review?","repromiseReview":"Re-promise to review","reviewOnX":"Review on {0}"},"formFields":{"reviewPlaceholder":"Did you think it was charming, suspenseful, a page turner? Were the characters romantic, heroic, complex? Who would you recommend this book to? Someone looking for a sweet romance or a page-turning thriller?","reviewTitlePlaceholder":"Insert review title here","disclaimer":"I received a free copy of this book via Booksprout in exchange for an honest review.","feedback":"Find any typos? Anything you\'d like to suggest?","followX":"Follow {0} to hear about their next review copies"},"selectStore":{"labels":{"reviewComplete":"Review complete","reviewCompleteMessage":"Your review is complete! You can update any review below or continue reviewing on optional stores.","reviewIncomplete":"Review incomplete","reviewIncompleteMessage":"Your review is incomplete.","reviewIncompleteXNextMessage":"Review on {0}","reviewIncompleteXNextMessageAfter":"next, or select a store below to complete the review process there.","reviewDelayed":"Review delayed","reviewDelayedMessage":"We’re just waiting on your {0} review. Once it’s live on the {0} website, make sure to come back and complete it here!","reviewPromiseCancelled":"Review promise withdrawn","reviewPromiseCancelledMessage":"You have withdrawn your promise to review this book. If you’ve changed your mind, continue reviewing below!","reviewPendingAuthorAction":"Pending author action","reviewPendingAuthorActionMessage":"You\'ve done all you can for now. We\'re just waiting on the author to finish publishing their book and to supply the links to it on all stores. We\'ll let you know 
3588when it\'s time to come back and finish your review!","reviewPendingAuthorActionMessageBookNotReleased":"You\'ve done all you can for now. We\'re waiting for the book to be released on {releaseDate} before you can complete your review. We\'ll let you know when you can finish your review!","BooksproutReview":"Your Booksprout review:","requiredReviews":"Your required reviews (must review on all):","optionalReviews":"Your optional reviews (must review on {0} more):"}},"amazonStore":{"labels":{"reviewOnAmazonSub":"Click on the button to review on Amazon.com, or select your preferred store from the dropdown","pasteXReviewLink":"Paste {0} review link","invalidLink":"Invalid review link.","whyXDeclined":"Has {0} rejected your review?","explanationText":"If Amazon has rejected your review from their website, you can ask them to manually approve it by sending them an email at {appealEmail}","lastResort":"Use this form only as a last resort. If we see that too many of your reviews are being rejected by Amazon we may prevent you from claiming future review copies on Booksprout."},"buttons":{"xReviewNotPosted":"{0} hasn\'t posted my review yet.","xReviewNotAccepted":"{0} won\'t accept my review","submit":"Submit"},"formFields":{"whyXDeclinedPlaceholder":"Tell us why {0} won’t accept your review","whyDeclinedValidation":"Please provide a reason","confirmContactedAmazon":"I have contacted Amazon and they refuse to accept my review","whyRejected":"Why has Amazon rejected your review?"},"tooltips":{"cannotMarkAsDelayed":"You can only delay an Amazon review for 30 days. Since you are outside of that window, it\'s not possible to mark this review as delayed anymore."}},"smashwordsStore":{"labels":{"copyCoupon":"Copy Coupon","copyCouponSub":"Copy the coupon code to download the book","downloadBook":"Download book","downloadBookSub":"Click on the button below to download","reviewOnSmashwordsSub":"Click on the button to review"},"buttons":{"downloadBook":"Download book"}},"appleBooksStore":{"labels":{"copyCoupon":"Copy Coupon","copyCouponSub":"Copy the coupon code to download the book","downloadBook":"Download book","downloadBookHowDoI":"(How do I do it?)","downloadBookSub":"Click on the button to download the book on Apple Books.","reviewOnAppleBooksSub":"Click on the button to review","enterClaimCode":"Enter the claim code","codeTermsTitle":"Code Terms & Expiration Date","codeTermsWithExpiry":"Code expires on {date} and is redeemable only on the iTunes Store for United States. Requires an iTunes account, subject to prior acceptance of license and usage terms.","codeTerms":"This code is redeemable only on the iTunes Store for United States. Requires an iTunes account, subject to prior acceptance of license and usage terms.","codeTermsRest":"Compatible software and hardware, and internet access (fees may apply) required. Not for resale. Full terms apply; see www.apple.com/legal/internet-services/itunes/us/terms.html. For more information, see www.apple.com/support/.","codeTermsProvidedBy":"This eBook is provided to you by {author}"},"buttons":{"downloadBook":"Download book","openAppleBooks":"OPEN APPLE BOOKS","claimCode":"Claim code","claimCodeDone":"Claimed"}},"appleBooksDownloadDialog":{"labels":{"title":"How do I download on Apple Books?"},"steps":{"step1":"Within Apple Books, go to your account.","step2":"Tap Redeem Gift Card or Code.","step3":"Tap \\"You can also enter your code manually.\\"","step4":"Enter the promo code and tap Redeem found in the top right corner of your screen."},"actions":{"openAppleBooks":"OPEN APPLE BOOKS"}},"noLinksStore":{"labels":{"reviewOnXSub":"Click on the button to review"}},"confirmation":{"reviewComplete":"Your review is complete!","followX":"Follow {0}","getNotified":"Get notified whenever they publish review copies on Booksprout.","findAnotherArc":"Find another review copy","readyToReview":"Ready to review another book? Let’s go find one!"},"actions":{"doLater":"I\'ll do this later","backToStores":"Back to stores to review on","reviewTipsLink":"See our tips on writing a great review."}},"yourArcs":{"errors":{"countsUnavailable":"We could not load the counts for your review copies just now. Refresh the page to try again."},"labels":{"leaveReviewForX":"Leave a review for {0}","finishReviewForX":"Finish your review for {0}","xReviewsDue":"You have {0} reviews due soon!","groupByStatus":{"active":"Active","due":"Due","delayedRejected":"Delayed / Rejected","pendingPublishing":"Pending Publishing","complete":"Complete","withdrawn":"Withdrawn"}},"buttons":{"cantReview":"Can\'t review?"},"formFields":{"sortByDueDateDesc":"Sort by due date (newest first)","sortByDueDateAsc":"Sort by due date (oldest first)","sortByDateClaimedDesc":"Sort by date claimed (nearest first)","sortByDateClaimedAsc":"Sort by date claimed (furthest first)","sortByRecentActivity":"Sort by my recent activity"}},"actions":{"download":"Download","viewCancellation":"View Withdrawal","read":"Read","listen":"Listen","startReview":"Start Review","continueReview":"Continue Review","viewReview":"View Review","searchAndFilters":"Search & Filters","advancedFilters":"Advanced Filters","closeAdvancedFilters":"Close Advanced Filters","backToArc":"Back to review copy details","backToArcs":"Find a different book to review","backToYourArcs":"Back to My review copies","followTeam":"Follow Team","unfollowTeam":"Unfollow Team","viewTeam":"View Team"}},"arcTeams":{"labels":{"yourTeams":"My Teams","xNoXArcs":"{0} doesn\'t have any {1} review copies","member":"Member","vip":"VIP","pending":"Pending approval","invited":"Invited by author","viewTeam":"View Team","teamDescHeading":"Team Description","xTeamMembers":"{count} Member | {count} Members","xFollowers":"{count} Follower | {count} Followers","confirmCancelApplication":"Are you sure you want to cancel your application to join this team?","confirmLeaveTeam":"Are you sure you want to leave this team?","joinTeam":"Join team","joinTeamDesc":"Build a relationship with the team leader and get special perks!"},"formFields":{"filterStatus":{"options":{"all":"All","member":"Member","invited":"Invited by Author","pending":"Pending Approval","following":"Following"}},"search":{"label":"Search Teams","placeholder":"Search for a team by name","noResults":"We couldn\'t find any teams by the name of <strong>\\"{0}\\"</strong>
3588","noResultsGeneral":"We couldn\'t find any teams"},"membership":{"notMember":{"hint":"You aren\'t a member of this review team","label":"Apply"},"requested":{"hint":"You requested to be a member on {0}","label":"Cancel Application"},"member":{"hint":"Member since {0}","label":"Leave Team"},"vip":{"hint":"You are a VIP member of this team since {0}","label":"Leave Team"},"disbanded":{"hint":"You left this team on {0}","label":"Rejoin team"},"cancelled":{"hint":"You cancelled your request to join on {0}","label":"Re-apply"},"invited":{"hint":"You\'ve been invited to join this team","label":"Accept"}}},"acceptInviteDialog":{"joiningTeam":"Joining the team below","selectEmail":"Email to share with the team owner (optional)","selectEmailPlaceHolder":"Please select email","toolTip":"If you have a past relationship with the owner of this team, you can share your email address with them so they can remember you.","remainAnonymous":"Remain Anonymous","join":"Join","apply":"Apply"},"actions":{"backToTeams":"Back to team list","decline":"Decline"}},"gamification":{"labels":{"currentlyXReviewer":"You are currently a {0} Reviewer","myStats":"My stats","yourStatus":"Your reviewer status","yourLevel":"Your level","perks":"Perks","yourStats":"Your Stats","downloadedThisWeek":"Review copies downloaded in the last 7 days","earliestNextClaimDate":"You will be able to claim more review copies on {date}","arcTotalOverdueDays":"Total overdue days","reviewRate":"On-time review rate","nextLevel":"Next level","howToBecomeValuedReviewer":"How do I become a Reviewer?","valuedReviewerTask":"Fully complete one review on Booksprout","exclusiveAccess":"Access to exclusive \\"Top Reviewer\\" review copies","howToBecomeTopReviewer":"How do I become a Top Reviewer?","topReviewerTask":"Top reviewers are the best of the best on Booksprout. You\'ll need to fully review 30 review copies and have an on-time review rate of at least 70% in order to apply. We’ll then manually review your account according to our {linkSlot}.","applicationReceived":"Your application has been received! We’ll let you know if you’ve been accepted within a day or two.","notEligibleMoreReview":"To be eligible for this program, please write {0} more reviews.","notEligibleMoreOnTimeReviewRate":"To be eligible for this program, please maintain a 70% on-time review rate.","notEligible":"To be eligible for this program, please write {0} more reviews and maintain a 70% on-time review rate.","applicationRejected":"Unfortunately, you’ve not been accepted as a Top Reviewer at this time. You can apply again on {0} provided you fix the following:","reviewerHeading":"{0} Reviewer","reviewerDownloadLimit":"Download up to {0} review copies per week","reviewerDueArcs":"Up to {n} total overdue days for all claimed review copies | {n} total overdue days for all claimed review copies | Up to {n} total overdue days for all claimed review copies","roles":{"new":{"type":"New","description":"Welcome to Booksprout! As a New Reviewer, you can download up to 3 review copies per week and have 1 due review at any time."},"valued":{"type":"Reviewer","description":"As a Reviewer, you can download up to 10 review copies per week and have up to 5 due reviews at any time."},"top":{"type":"Top","description":"As a Top Reviewer, you can download up to 50 review copies per week and have up to 10 due reviews at any time."}},"onTimeReviewRate":{"fantastic":"Fantastic","great":"Great","low":"Low","toImprove":"Needs improvement","none":"No reviews in the last 90 days"},"topReviewerBadge":"Top Reviewer Badge","copyBadgeCode":"Copy the code"},"buttons":{"showStats":"Show my stats"},"actions":{"reviewerGuidelines":"Reviewer Guidelines","apply":"Apply to be a Top Reviewer"}}},"system":{"labels":{"authorDashboard":"Author Area","booksproutForAuthors":"Booksprout for Authors"},"errors":{"topReviewerApplicationTooEarly":"It is too early for you to apply to be a Top Reviewer.","tooMainClaimsThisWeek":"You have already downloaded the maximum amount of review copies allowed for your tier.","tooMainClaims":"Your tier doesn\'t allow any more review copies to be downloaded.","tooManyArcsDue":"You have too many outstanding reviews to claim another.","topReviewersOnly":"This review copy is limited to our Top Reviewer tier only.","messageSelf":"Sorry, you can\'t message yourself!","ratingRequired":"Please select your rating.","claimNotFound":"You must claim the review copy before reviewing.","reviewNotFound":"We couldn\'t find your review for this review copy. Please refresh the page and try again.","reviewBelongsToAnotherAccount":"There is a problem with your review. Please contact support."}
3588,"mobileAppOnboardingDialog":{"labels":{"community":"A community of authors and reviewers","reviewers":"Reviewers","advancedReviewCopies":"Get free review copies straight from their favorite authors.","authors":"Authors","booksReadAndReviewed":"Get their books read and reviewed by our vast reviewer community. It\'s a win-win!","stepX":"Step {0}"},"actions":{"skip":"Skip"}}},"meta":{"module":{"arcTeams":{"title":"My Teams"},"arcTeam":{"title":"Viewing {0} Team"},"arcs":{"title":"Find Review Copies"},"arc":{"title":"Viewing {0} Review Copy"},"claimArc":{"title":"Claiming {0} Review Copy"},"reviewArc":{"title":"Reviewing {0} Review Copy"},"cancelArc":{"title":"Withdrawing {0} Review Copy"},"yourArcs":{"title":"My Review Copies"},"authors":{"title":"Authors"},"author":{"title":"Viewing {0} Author"},"book":{"title":"Viewing {0} Book"},"gamification":{"title":"Reviewer Rank"}}}}')}};const t={};function o(i){const r=t[i];if(void 0!==r)return r.exports;const a=t[i]={exports:{}};return e[i].call(a.exports,a,a.exports,o),a.exports}o.m=e,(()=>{const e=[];o.O=(t,i,r,a)=>{if(i){a||=0;for(var n=e.length;n>0&&e[n-1][2]>a;n--)e[n]=e[n-1];return void(e[n]=[i,r,a])}let s=1/0;for(n=0;n<e.length;n++){let[i,r,a]=e[n],d=!0;for(var l=0;l<i.length;l++)(0===(1&a)||s>=a)&&Object.keys(o.O).every(e=>o.O[e](i[l]))?i.splice(l--,1):(d=!1,a<s&&(s=a));if(d){e.splice(n--,1);const o=r();void 0!==o&&(t=o)}}return t}})(),o.n=e=>{const t=e&&e.__esModule?()=>e["default"]:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{if(Array.isArray(t)){var i=0;while(i<t.length){var r=t[i++],a=t[i++],n=0===a?{enumerable:!0,value:t[i++]}:{enumerable:!0,get:a};o.o(e,r)||Object.defineProperty(e,r,n)}}else for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce((t,i)=>(o.f[i](e,t),t),[])),o.u=e=>"js/"+({870:"reviewer-app.pages.view3",996:"chunk-common",1483:"common-app.pages.error-404",1615:"reviewer-app.pages.view2",1630:"reviewer-app.pages.review-copy-cancel-claim",1987:"reviewer-app.pages.settings",2692:"common-app.pages.logout",2781:"reviewer-app.pages.list1",2981:"common-app.pages.unsubscribe",4292:"common-app.pages.error-403",5237:"common-app.pages.login",5560:"reviewer-app.pages.book-claim",5633:"common-app.pages.request-password",5695:"reviewer-app.layouts.logged-in",5841:"common-app.pages.sign-up",6175:"reviewer-app.pages.list3",6176:"reviewer-app.pages.notifications",7014:"reviewer-app.pages.list2",7721:"reviewer-app.pages.review-copy-claim",7903:"reviewer-app.components.pdf-reader-dialog",8059:"reviewer-app.pages.my-review-copies",8221:"reviewer-app.pages.view0",8341:"common-app.layouts.not-logged-in",8633:"reviewer-app.pages.maintenance",8967:"reviewer-app.pages.review-copy-review",9972:"reviewer-app.pages.list0"}[e]||e)+"."+{188:"d39b7373",327:"9fa69e96",519:"7f581e71",535:"de5febd2",536:"565f696f",603:"b8de05b9",635:"52b6d819",870:"86301d32",914:"a306c5f3",980:"3b8e17f7",996:"69302af4",1034:"10530042",1155:"2e9f0528",1234:"3702ac1f",1252:"6f255347",1441:"472c7136",1483:"c410da9d",1503:"81feec52",1525:"981e49d9",1615:"f5dc47e5",1630:"983e4ef7",1885:"13747291",1939:"c099ab9b",1987:"bb6cfaa6",2276:"3ac7dcd9",2616:"d6f0063f",2618:"6c81ce6d",2661:"320c20b3",2689:"df8b063d",2692:"266124b3",2726:"e0723855",2781:"14364888",2836:"5768f989",2844:"6bb6a414",2981:"4024d956",3497:"0f009e82",3689:"d900f3da",3743:"7dbafe1a",3773:"e0b369e4",3836:"68c83cb6",3867:"c28189e1",4010:"2a82724e",4039:"9e01050e",4156:"c393b892",4192:"37f64c7e",4292:"f3a3af78",4340:"83e996cb",4378:"ac44aed3",4387:"34a12b5b",4485:"0a8631fc",4510:"39871b54",4815:"1e08132d",5226:"73157f54",5237:"b5b19ce4",5560:"a0b4c8ca",5633:"9245c99f",5695:"d37d7304",5841:"9a88d56e",6175:"ad74f880",6176:"38b1c3ea",6244:"3c766a80",6541:"a70890ed",6557:"f7fc1f4b",7014:"49b43287",7242:"1c372d6a",7415:"4786877e",7548:"89f20523",7563:"58b77371",7611:"d626718e",7721:"648cc09a",7764:"8b12f7b6",7903:"462eb24a",7981:"4725cbd1",8017:"2c4da007",8059:"17a3e9b6",8100:"94ae5baf",8221:"c5515508",8341:"ed9abf6e",8633:"0ea409c1",8811:"0f64fdf9",8967:"727bfd6a",9083:"8705fbad",9129:"a30f0333",9160:"777c0ce7",9243:"21cdd984",9562:"b206fde8",9605:"06df2e8b",9820:"eb5dfe90",9875:"3e9c3935",9972:"a8e47ebd"}[e]+".js",o.miniCssF=e=>"css/"+({870:"reviewer-app.pages.view3",996:"chunk-common",1615:"reviewer-app.pages.view2",1630:"reviewer-app.pages.review-copy-cancel-claim",1987:"reviewer-app.pages.settings",2781:"reviewer-app.pages.list1",5237:"common-app.pages.login",5560:"reviewer-app.pages.book-claim",5695:"reviewer-app.layouts.logged-in",5841:"common-app.pages.sign-up",6175:"reviewer-app.pages.list3",6176:"reviewer-app.pages.notifications",7014:"reviewer-app.pages.list2",7721:"reviewer-app.pages.review-copy-claim",7903:"reviewer-app.components.pdf-reader-dialog",8059:"reviewer-app.pages.my-review-copies",8221:"reviewer-app.pages.view0",8341:"common-app.layouts.not-logged-in",8633:"reviewer-app.pages.maintenance",8967:"reviewer-app.pages.review-copy-review",9972:"reviewer-app.pages.list0"}[e]||e)+"."+{327:"119f5fd3",519:"49ac6eed",535:"05546b9f",536:"31d6cfe0",635:"ad952007",870:"90938f32",914:"15526082",996:"3dccfd8a",1234:"3c406982",1441:"747f9302",1615:"6f6d8b9b",1630:"5a60c5d2",1885:"f6f70a74",1939:"74ef9b0f",1987:"743684d0",2618:"b703dde4",2661:"6e1bf736",2689:"ae1db810",2726:"838ef30f",2781:"31c4568a",2836:"afc323ba",3497:"1f9f7240",3773:"573c887e",3836:"67af1c2b",4039:"742d0644",4340:"790918f6",4485:"0f8deb1c",4815:"2bcd3f37",5237:"d78ef5f1",5560:"31d6cfe0",5695:"0de69014",5841:"5bde9da5",6175:"7c75d656",6176:"458aa440",6541:"db4135b0",6557:"752132ba",7014:"e95c6e31",7242:"31d6cfe0",7415:"df18d12b",7548:"a3da7220",7721:"c09aa540",7903:"2b73edae",8059:"6aa310b0",8100:"48e3bb07",8221:"9c57ed7d",8341:"5d025059",8633:"ad6ab768",8811:"3bba81cb",8967:"e112f964",9083:"f5b68a24",9129:"e535231c",9160:"9704368f",9820:"547d51b4",9875:"a4bb6f25",9972:"fa678ff9"}[e]+".css",o.o=(e,t)=>Object.hasOwn(e,t),(()=>{const e={},t="app-reviewer:";o.l=(i,r,a,n)=>{if(e[i])return void e[i].push(r);let s,l;if(void 0!==a){const e=document.getElementsByTagName("script");for(var d=0;d<e.length;d++){const o=e[d];if(o.getAttribute("src")==i||o.getAttribute("data-webpack")==t+a){s=o;break}}}s||(l=!0,s=document.createElement("script"),s.charset="utf-8",o.nc&&s.setAttribute("nonce",o.nc),s.setAttribute("data-webpack",t+a),s.src=i),e[i]=[r];const c=(t,o)=>{s.onerror=s.onload=null,clearTimeout(u);const r=e[i];
3588if(delete e[i],s.parentNode?.removeChild(s),r?.forEach(e=>e(o)),t)return t(o)},u=setTimeout(c.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=c.bind(null,s.onerror),s.onload=c.bind(null,s.onload),l&&document.head.appendChild(s)}})(),o.r=e=>{Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.dn=e=>{var t=Object.getOwnPropertyDescriptor(e,"name");(!t||!t.writable&&t.configurable)&&Object.defineProperty(e,"name",{value:"default",configurable:!0})},o.p="/reviewer/",(()=>{if("undefined"!==typeof document){var e=(e,t,i,r,a)=>{var n=document.createElement("link");n.rel="stylesheet",n.type="text/css",o.nc&&(n.nonce=o.nc);var s=o=>{if(n.onerror=n.onload=null,"load"===o.type)r();else{var i=o&&o.type,s=o&&o.target&&o.target.href||t,l=new Error("Loading CSS chunk "+e+" failed.\n("+i+": "+s+")");l.name="ChunkLoadError",l.code="CSS_CHUNK_LOAD_FAILED",l.type=i,l.request=s,n.parentNode&&n.parentNode.removeChild(n),a(l)}};return n.onerror=n.onload=s,n.href=t,i?i.parentNode.insertBefore(n,i.nextSibling):document.head.appendChild(n),n},t=(e,t)=>{for(var o=document.getElementsByTagName("link"),i=0;i<o.length;i++){var r=o[i],a=r.getAttribute("data-href")||r.getAttribute("href");if("stylesheet"===r.rel&&(a===e||a===t))return r}var n=document.getElementsByTagName("style");for(i=0;i<n.length;i++){r=n[i],a=r.getAttribute("data-href");if(a===e||a===t)return r}},i=i=>new Promise((r,a)=>{var n=o.miniCssF(i),s=o.p+n;if(t(n,s))return r();e(i,s,null,r,a)}),r={3524:0};o.f.miniCss=(e,t)=>{var o={327:1,519:1,535:1,536:1,635:1,870:1,914:1,996:1,1234:1,1441:1,1615:1,1630:1,1885:1,1939:1,1987:1,2618:1,2661:1,2689:1,2726:1,2781:1,2836:1,3497:1,3773:1,3836:1,4039:1,4340:1,4485:1,4815:1,5237:1,5560:1,5695:1,5841:1,6175:1,6176:1,6541:1,6557:1,7014:1,7242:1,7415:1,7548:1,7721:1,7903:1,8059:1,8100:1,8221:1,8341:1,8633:1,8811:1,8967:1,9083:1,9129:1,9160:1,9820:1,9875:1,9972:1};r[e]?t.push(r[e]):0!==r[e]&&o[e]&&t.push(r[e]=i(e).then(()=>{r[e]=0},t=>{throw delete r[e],t}))}}})(),(()=>{const e={3524:0};o.f.j=(t,i)=>{let r=o.o(e,t)?e[t]:void 0;if(0!==r)if(r)i.push(r[2]);else{const a=new Promise((o,i)=>r=e[t]=[o,i]);i.push(r[2]=a);const n=new Error,s=i=>{if(o.o(e,t)&&(r=e[t],0!==r&&(e[t]=void 0),r)){const e=i&&("load"===i.type?"missing":i.type),o=i&&i.target&&i.target.src;n.message="Loading chunk "+t+" failed.\n("+e+": "+o+")",n.name="ChunkLoadError",n.type=e,n.request=o,n.event=i,r[1](n)}};o.l(o.p+o.u(t),s,"chunk-"+t,t)}},o.O.j=t=>0===e[t];const t=(t,i)=>{let[r,a,n]=i;var s,l,d=0;if(r.some(t=>0!==e[t])){for(s in a)o.o(a,s)&&(o.m[s]=a[s]);if(n)var c=n(o)}for(t&&t(i);d<r.length;d++)l=r[d],o.o(e,l)&&e[l]&&e[l][0](),e[l]=0;return o.O(c)},i=globalThis["webpackChunkapp_reviewer"]||=[];i.forEach(t.bind(null,0)),i.push=t.bind(null,i.push.bind(i))})();let i=o.O(void 0,[4121],()=>o(59872));i=o.O(i)})();
3589//# sourceMappingURL=app.5a5a179d.js.map

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.