PageSourceSearch

https://peshkov.biz/chunk-BM63ZIJJ.js

js peshkov.biz collected 2026-10-07 11:30:23 UTC 2,423 bytes, 1 lines download raw bytes

1import{a as R}from"./chunk-IKFBFWBF.js";import{b as M,h as t}from"./chunk-JBJVOBA6.js";import"./chunk-PU3HAPKW.js";import{Db as L,Ia as C,Ja as u,Nb as O,O as _,Pb as v,Ua as d,Va as l,Vb as A,Wb as E,Z as r,ea as o,eb as N,fa as g,ia as I,ib as y,ja as T,oa as p,pa as a,qa as c,ub as S,wb as U,ya as f}from"./chunk-JZ5SUHIQ.js";var K={[t.ACCOUNT_PURCHASE_CQRS_COMMUNITY_MAIN_MONTHLY]:"Cross.CQRS",[t.ACCOUNT_PURCHASE_CQRS_COMMUNITY_MAIN_ANNUALLY]:"Cross.CQRS",[t.ACCOUNT_PURCHASE_CQRS_COMMUNITY_BUNDLE_MONTHLY]:"Cross.CQRS.EF",[t.ACCOUNT_PURCHASE_CQRS_COMMUNITY_BUNDLE_ANNUALLY]:"Cross.CQRS.EF",[t.ACCOUNT_PURCHASE_IDENTITY_COMMUNITY_MONTHLY]:"Cross.Identity",[t.ACCOUNT_PURCHASE_IDENTITY_COMMUNITY_ANNUALLY]:"Cross.Identity"};function D(e){let m=e.trim();return K[m]??null}function x(e){return D(e)!=null}function Q(e,m){e&1&&(a(0,"p",3),C(1),d(2,"translate"),c()),e&2&&(r(),u(l(2,1,"account.community.issuing")))}function j(e,m){if(e&1&&(a(0,"p",4),C(1),d(2,"translate"),c()),e&2){let i=f();r(),u(l(2,1,i.errorKey))}}var W=(()=>{class e extends R{route;router;apiService;languageStore;resource="account/strings";isLoading=!0;errorKey=null;constructor(i,n,s,Y,h,P,H){super(i,n,s),this.route=Y,this.router=h,this.apiService=P,this.languageStore=H}ngOnInit(){super.ngOnInit();let i=this.route.snapshot.paramMap.get("lookupKey")?.trim()??"";if(!x(i)){this.isLoading=!1,this.errorKey="account.community.error.invalid_product";return}this.apiService.post$(M.STRIPE.COMMUNITY_LICENSE,{lookupKey:i}).subscribe({next:()=>{this.router.navigate([this.languageStore.currentLanguageCode.toLowerCase(),t.ACCOUNT,t.ACCOUNT_LICENSES])},error:n=>{this.logger.error("[CommunityLicenseComponent] Failed to issue community license",{error:n,lookupKey:i}),this.isLoading=!1,this.errorKey="account.community.error.issue_failed"}})}static \u0275fac=function(n){return new(n||e)(o(A),o(_),o(O),o(S),o(U),o(v),o(L))};static \u0275cmp=g({type:e,selectors:[["app-community-license"]],features:[I],decls:3,vars:2,consts:[[1,"rounded-lg","bg-white/5","ring-1","ring-white/10","p-6","text-sm","text-gray-200"],["class","text-gray-300",4,"ngIf"],["class","text-red-300",4,"ngIf"],[1,"text-gray-300"],[1,"text-red-300"]],template:function(n,s){n&1&&(a(0,"div",0),T(1,Q,3,3,"p",1)(2,j,3,3,"p",2),c()),n&2&&(r(),p("ngIf",s.isLoading),r(),p("ngIf",s.errorKey))},dependencies:[y,N,E],encapsulation:2})}return e})();export{W as CommunityLicenseComponent};

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.