PageSourceSearch

https://desk.bigvu.tv/chunk-SFKBEOZJ.js

js bigvu.tv collected 2026-10-01 10:26:34 UTC 11,570 bytes, 6 lines download raw bytes

1
2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="e5f0c722-4208-5bc0-b67c-363648c66191")}catch(e){}}();
3import{Hd as ne,Id as _e,be as oe,ce as me,ga as ee,ha as I,ia as pe,na as te,oa as ie,pa as ge}from"./chunk-EHJF6UKK.js";import"./chunk-7XEC5R2G.js";import"./chunk-OV4F6N7I.js";import"./chunk-J5NV6OCA.js";import{c as Y,i as ce,j as Z,k as de}from"./chunk-PF63PJ47.js";import{mc as K,nc as J,oc as W,vc as se}from"./chunk-4MUTHA5V.js";import{D as G,l as R,v as H,y as U}from"./chunk-W7MJW6UT.js";import{$c as u,Ab as L,Bb as B,Ib as a,Ja as D,Jb as P,Lc as m,Nc as _,Tc as A,Uc as V,Va as E,Vc as j,Wa as F,Zb as $,Zc as r,Zd as N,_c as T,eb as q,ec as p,gd as Q,hc as d,jc as h,oc as x,od as k,pd as y,rc as w,sc as O,tc as s,uc as l,vc as v,wc as C,xc as f,zc as z}from"./chunk-7RQO36LL.js";import{a as X,b as le}from"./chunk-IGDKMAHN.js";import"./chunk-2EFPAZRG.js";import"./chunk-XHJ7RZ2T.js";import"./chunk-DMQT3QOG.js";import"./chunk-43G5BLPL.js";import"./chunk-GCEDPD4V.js";import"./chunk-YUF7ANVY.js";import{g as re,m as b}from"./chunk-7Q6MBNO6.js";function he(i,n){i&1&&(s(0,"p",13),r(1,"Loading..."),l())}function ke(i,n){if(i&1&&(s(0,"div",15)(1,"div",16),v(2,"img",17),s(3,"span"),r(4),l()(),s(5,"span",18)(6,"strong"),r(7),l(),r(8),l()()),i&2){let t=n.$implicit;a(2),d("src",t.icon,B),a(2),T(t.label),a(3),T(t.cost),a(),u(" ",t.cost==="1"?"credit":"credits"," ")}}function ye(i,n){if(i&1&&(s(0,"div",14),w(1,ke,9,4,"div",15,fe),l()),i&2){let t=_(3);a(),O(t.creditCosts)}}function Pe(i,n){if(i&1&&p(0,he,2,0,"p",13)(1,ye,3,0),i&2){let t=_(2);x(0,t.isLoadingCosts?0:1)}}function xe(i,n){i&1&&(s(0,"p",13),r(1,"Loading..."),l())}function ve(i,n){if(i&1&&(C(0),r(1),f()),i&2){let t=n.ngIf;a(),u(" (",t,")")}}function be(i,n){if(i&1&&(C(0),r(1),f()),i&2){let t=n.ngIf;a(),u(" (",t,")")}}function we(i,n){if(i&1&&(C(0),r(1),f()),i&2){let t=n.ngIf;a(),u(" (",t,")")}}function Oe(i,n){if(i&1&&(C(0),r(1),f()),i&2){let t=n.ngIf;a(),u(" (",t,")")}}function Te(i,n){if(i&1&&(C(0),r(1),f()),i&2){let t=n.ngIf;a(),u(" at ",t,"/credit")}}function Ie(i,n){if(i&1&&(s(0,"p",13),r(1," It depends on your usage. "),s(2,"b"),r(3,"Micro"),p(4,ve,2,1,"ng-container",19),l(),r(5," is great for occasional use. "),s(6,"b"),r(7,"Creator"),p(8,be,2,1,"ng-container",19),l(),r(9," suits regular creators. "),s(10,"b"),r(11,"Studio"),p(12,we,2,1,"ng-container",19),l(),r(13," is ideal for teams and agencies. "),s(14,"b"),r(15,"Power User"),p(16,Oe,2,1,"ng-container",19),l(),r(17," delivers the best per-credit value"),p(18,Te,2,1,"ng-container",19),r(19," \u2014 perfect for heavy production workflows. "),l()),i&2){let t,o,e,c,g=_(3);a(4),d("ngIf",(t=g.packPrices.get("micro"))==null?null:t.display),a(4),d("ngIf",(o=g.packPrices.get("creator"))==null?null:o.display),a(4),d("ngIf",(e=g.packPrices.get("studio"))==null?null:e.display),a(4),d("ngIf",(c=g.packPrices.get("power"))==null?null:c.display),a(2),d("ngIf",g.powerPackPerCredit())}}function Se(i,n){if(i&1&&p(0,xe,2,0,"p",13)(1,Ie,20,5),i&2){let t=_(2);x(0,t.isLoadingPrices?0:1)}}function Me(i,n){if(i&1&&v(0,"p",20),i&2){let t=_().$implicit;d("innerHTML",t.answer,L)}}function De(i,n){if(i&1){let t=z();s(0,"lib-accordion",12,0),m("expandedChange",function(){let e=E(t).$index,c=_();return F(c.toggleFaq(e))}),p(2,Pe,2,1)(3,Se,2,1)(4,Me,1,1),l()}if(i&2){let t=n.$implicit,o=n.$index,e=_();d("title",t.title)("expanded",e.expandedFaqIndex===o),a(2),x(2,t.showFeatureCosts?2:t.showPackPrices?3:4)}}var ue,Ce,fe,ae,Ue,Ee=re(()=>{N();G();ce();se();de();le();pe();ge();N();_e();me();G();ue=["faqItem"],Ce=(i,n)=>n.id,fe=(i,n)=>n.label;ae=class extends X{constructor(){super(...arguments),this.triggerType=ee.upsell}},Ue=(()=>{class i extends Z{constructor(t,o,e){super(t),this.data=t,this.creditsService=o,this.eventsService=e,this.packs=te,this.faqs=ie,this.creditCosts=[],this.isLoadingCosts=!0,this.expandedFaqIndex=-1,this.isPurchasing=!1,this.isLoadingPrices=!0,this.packPrices=new Map}ngOnInit(){return b(this,null,function*(){this.eventsService.log(this.eventsService.events.payment.paymentScreen,{paywallTrigger:this.data.paywallTrigger,triggerType:this.data.triggerType,paywallName:I.credits}),this.creditsService.loadFeatureCosts().then(t=>{this.creditCosts=t,this.isLoadingCosts=!1}),this.creditsService.getCreditPackPrices().then(t=>{this.packPrices=t,this.isLoadingPrices=!1})})}toggleFaq(t){let o=this.expandedFaqIndex!==t;this.expandedFaqIndex=o?t:-1,o&&(this.scrollExpandedFaqIntoView(t),this.eventsService.log(this.eventsService.events.payment.paymentScreenClick,{value:`faq-${this.faqs[t].title}`,paywallTrigger:this.data.paywallTrigger,triggerType:this.data.triggerType,paywallName:I.credits}))}scrollExpandedFaqIntoView(t){setTimeout(()=>{this.faqItems?.toArray()[t]?.nativeElement?.scrollIntoView({block:"end",behavior:"smooth"})},320)}powerPackPerCredit(){let t=this.packs.find(e=>e.id==="power"),o=t?this.packPrices.get(t.id):void 0;return!t||!o||!t.credits?"":`${o.currencySymbol}${(o.amount/t.credits).toFixed(3)}`}isPackDisabled(t){return this.data.minPackIndex!=null&&t<this.data.minPackIndex}onBuyPack(t,o){return b(this,null,function*(){if(!(this.isPurchasing||this.isPackDisabled(o))){this.isPurchasing=!0;try{yield this.creditsService.buyCreditPack({pack:t,paywallTrigger:this.data.paywallTrigger,triggerType:this.data.triggerType})}catch{}finally{this.isPurchasing=!1}}})}static{this.\u0275fac=function(o){return new(o||i)(P(Y),P(ne),P(oe))}}static{this.\u0275cmp=D({type:i,selectors:[["app-credits-otp-dialog"]],viewQuery:function(o,e){if(o&1&&A(ue,5,q),o&2){let c;V(c=j())&&(e.faqItems=c)}},standalone:!0,features:[$,Q],decls:20,vars:45,consts:[["faqItem",""],["t
3itle","Buy more credits","subtitle","Instant top-up. Use anytime","size","lg",3,"closed","showCloseButton"],["modal-body","",1,"credits-otp-body"],["aria-hidden","true",1,"credits-otp-decoration"],[1,"decoration-ellipse","decoration-ellipse-1"],[1,"decoration-ellipse","decoration-ellipse-2"],[1,"credits-otp-content"],[1,"packs-grid"],[1,"packs-row"],[3,"buttonClick","title","discount","quantity","price","highlight","isLoading","processing"],[1,"faq-section"],[3,"title","expanded"],[3,"expandedChange","title","expanded"],[1,"faq-answer"],[1,"credit-costs-list"],[1,"credit-cost-row"],[1,"credit-cost-label"],["alt","",1,"credit-cost-icon",3,"src"],[1,"credit-cost-value"],[4,"ngIf"],[1,"faq-answer",3,"innerHTML"]],template:function(o,e){if(o&1&&(s(0,"lib-modal",1),m("closed",function(){return e.close()}),s(1,"div",2)(2,"div",3),v(3,"span",4)(4,"span",5),l(),s(5,"div",6)(6,"div",7)(7,"div",8)(8,"lib-pack-card",9),k(9,"number"),m("buttonClick",function(){return e.onBuyPack(e.packs[0],0)}),l(),s(10,"lib-pack-card",9),k(11,"number"),m("buttonClick",function(){return e.onBuyPack(e.packs[1],1)}),l()(),s(12,"div",8)(13,"lib-pack-card",9),k(14,"number"),m("buttonClick",function(){return e.onBuyPack(e.packs[2],2)}),l(),s(15,"lib-pack-card",9),k(16,"number"),m("buttonClick",function(){return e.onBuyPack(e.packs[3],3)}),l()()(),s(17,"div",10),w(18,De,5,3,"lib-accordion",11,Ce),l()()()()),o&2){let c,g,S,M;d("showCloseButton",!0),a(8),h("pack-disabled",e.isPackDisabled(0)),d("title",e.packs[0].title)("discount",e.packs[0].discount)("quantity",y(9,37,e.packs[0].credits)+" credits")("price",((c=e.packPrices.get(e.packs[0].id))==null?null:c.display)||"")("highlight",e.packs[0].highlight)("isLoading",e.isLoadingPrices)("processing",e.isPurchasing),a(2),h("pack-disabled",e.isPackDisabled(1)),d("title",e.packs[1].title)("discount",e.packs[1].discount)("quantity",y(11,39,e.packs[1].credits)+" credits")("price",((g=e.packPrices.get(e.packs[1].id))==null?null:g.display)||"")("highlight",e.packs[1].highlight)("isLoading",e.isLoadingPrices)("processing",e.isPurchasing),a(3),h("pack-disabled",e.isPackDisabled(2)),d("title",e.packs[2].title)("discount",e.packs[2].discount)("quantity",y(14,41,e.packs[2].credits)+" credits")("price",((S=e.packPrices.get(e.packs[2].id))==null?null:S.display)||"")("highlight",e.packs[2].highlight)("isLoading",e.isLoadingPrices)("processing",e.isPurchasing),a(2),h("pack-disabled",e.isPackDisabled(3)),d("title",e.packs[3].title)("discount",e.packs[3].discount)("quantity",y(16,43,e.packs[3].credits)+" credits")("price",((M=e.packPrices.get(e.packs[3].id))==null?null:M.display)||"")("highlight",e.packs[3].highlight)("isLoading",e.isLoadingPrices)("processing",e.isPurchasing),a(3),O(e.faqs)}},dependencies:[U,R,H,K,J,W],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%]   lib-modal[_ngcontent-%COMP%]{--modal-width: 920px !important}[_nghost-%COMP%]     lib-modal .modal-surface{position:relative}.credits-otp-decoration[_ngcontent-%COMP%]{position:absolute;inset:0;pointer-events:none;z-index:0}.decoration-ellipse[_ngcontent-%COMP%]{position:absolute;display:block;border-radius:50%;filter:blur(40px)}.decoration-ellipse-1[_ngcontent-%COMP%]{width:384px;height:348px;left:-24px;bottom:-200px;background:radial-gradient(circle at center,#7c8af78c,#5675f059,#2563eb00 70%)}.decoration-ellipse-2[_ngcontent-%COMP%]{width:238px;height:273px;left:136px;bottom:-320px;mix-blend-mode:overlay;background:radial-gradient(circle at center,#28b3f7bf,#28b3f759 40%,#28b3f700 75%)}.credits-otp-content[_ngcontent-%COMP%]{position:relative;z-index:1;display:flex;gap:20px;align-items:stretch}.packs-grid[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column;gap:16px}.packs-row[_ngcontent-%COMP%]{display:flex;gap:16px;flex:1;max-height:184px}.packs-row[_ngcontent-%COMP%]   lib-pack-card[_ngcontent-%COMP%]{flex:1}.packs-row[_ngcontent-%COMP%]   lib-pack-card.pack-disabled[_ngcontent-%COMP%]{opacity:.4;pointer-events:none}.faq-section[_ngcontent-%COMP%]{width:395px;flex-shrink:0;display:flex;flex-direction:column;gap:8px;max-height:384px;overflow-y:scroll;margin-right:calc(var(--modal-padding, 20px) * -1);padding-inline-end:var(--modal-padding, 20px)}.faq-answer[_ngcontent-%COMP%]{margin:0;font-size:14px;line-height:1.5;color:var(--foreground-text-icons-fg-secondary, #4b5563)}.credit-costs-list[_ngcontent-%COMP%]{display:flex;flex-direction:column}.credit-cost-row[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;padding:8px 0}.credit-cost-row[_ngcontent-%COMP%]:first-child{padding-top:0}.credit-cost-row[_ngcontent-%COMP%]:last-child{padding-bottom:0}.credit-cost-label[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;font-size:14px;line-height:1.4;color:var(--foreground-text-icons-fg-primary, #253658)}.credit-cost-icon[_ngcontent-%COMP%]{width:20px;height:20px;object-fit:contain;flex-shrink:0;filter:invert(30%) sepia(98%) saturate(1800%) hue-rotate(215deg) brightness(95%) contrast(95%)}.credit-cost-value[_ngcontent-%COMP%]{font-size:14px;line-height:1.4;color:var(--foreground-text-icons-fg-tertiary-strong, #6b7280);white-space:nowrap}.credit-cost-value[_ngcontent-%COMP%]   strong[_ngcontent-%COMP%]{font-weight:500}
3@media (max-width: 961px){[_nghost-%COMP%]   lib-modal[_ngcontent-%COMP%]{--modal-width: 100% !important}.credits-otp-content[_ngcontent-%COMP%]{flex-direction:column}.faq-section[_ngcontent-%COMP%]{width:100%;max-height:300px}.packs-row[_ngcontent-%COMP%]{max-height:none}}"]})}}return i})()});Ee();export{Ue as CreditsOtpDialogComponent,ae as CreditsOtpDialogData};
4/**i18n:a22416d48d5d315853b2ff30dd429c3cf66bb88014970864ad6c2ff7ea890e29*/
5
6//# debugId=e5f0c722-4208-5bc0-b67c-363648c66191

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.