app.4f98d89b2ec4.mo.js

https://cs.pikabu.ru/apps/ub/5.4.652/desktop/app.4f98d89b2ec4.mo.js

Analyzed: 3/25/2026, 12:58:12 AM

View Scan Result

Script Analysis Summary

Summary: app.4f98d89b2ec4.mo.js is a 1.58 MB external identified as lit. Contains 12121 functions with complexity score of 4725. SHA-256: 6601331a0760eb08...

external1.58 MBlitML Embeddings Available

Code Metrics

File Size
1.58 MB
Functions
12,121*
Complexity
4,725
AST Nodes
433,227
AST Depth
62
Function Calls
0
Normalized Size
4.1 KB

Code Analysis

API Usage

dom7101 calls
crypto202 calls
network829 calls

Control Flow

Functions5,742
Loops335
Conditionals2,197

String Statistics

Total Strings20,770
Unique Strings11,868
URLs Found107

Security Indicators

Uses eval()Crypto APIsEncoding Functions

Code Style

Lines of Code1
MinifiedYes

Obfuscation Analysis

No obfuscation data available

Library Detection

lit

Bundle Analysis

Not a bundled file

Copyright & License

Authors
{type:Boolean,default:, {type:Boolean,default:!1},authorModerationErrorType:{default:void 0}},setup(e){const t=e;return(e,i)=>((0,r.wg)(),(0,r.j4)(a.Z,(0,n.vs)((0,r.F4)(t)),null,16))}});function c(e){return(0,o.a)(l,e).directive("tooltip",s.u)}},32369:(e,t,i)=>{"use strict";i.r(t),i.d(t,{createApp:()=>g});var o=i(76944),s=(i(88674),i(66252)),r=i(2262),n=i(67476),a=i(66090);const l=(0,n.Q_)("support-dialog",{state:()=>({authorId:void 0,storyId:void 0,authorName:void 0,avatar:void 0,isApproved:void 0,allowedSupportType:void 0,isDonationDialogActive:!1,loading:{fetchSupportOptions:!1}}),actions:{async fetchSupportOptions(e,t){this.loading.fetchSupportOptions=!0;try{const i=await a.a(e,t);return i.response.result&&(this.authorId=e,this.authorName=i.data.name,this.avatar=i.data.avatar,this.isApproved=i.data.is_author_approved,this.allowedSupportType=i.data.allowed_support_type),i}finally{this.loading.fetchSupportOptions=!1}}}});var c=i(14032),d=i(19882),u=i(67009),p=i(12665),h=i(90833);const _=(0,s.aZ)({__name:"donation-view",emits:["success"],setup(e,{emit:t}){const i=l(),o=t,{IS_KMP:s}=(0,h.a)();function r(){i.isDonationDialogActive=!1}return(0,p.XW)((()=>i.isDonationDialogActive)),(0,p.gX)((()=>i.isDonationDialogActive),{onActivated(){!async function(){try{const e=await(0,d.q)({userId:String(i.authorId),storyId:i.storyId?String(i.storyId):void 0});if(!e)return void r();await(0,c.vU)({invoiceId:e.invoiceId,layoutId:e.layoutId,onSuccess:e=>{(0,c.Wi)(e)&&o("success")},onFail:e=>u.core.logger.error("cloud tips widget",e)}),s?setTimeout((()=>r()),100):(0,c.lZ)(r)}catch(e){u.core.logger.error("cloud tips widget",e),u.core.ui.toasts.showError(e.message||"Не удалось перейти к оплате",{isGlobal:!0}),r()}}()}}),()=>{}}});var m=i(46382);const v=(0,s.aZ)({__name:"app",setup(e,{expose:t}){const{sendEvent:i}=(0,m.z)(),o=l(),n=(0,r.iH)();let a;return t({open:async e=>{const{response:t}=await o.fetchSupportOptions(e.authorId,e.storyId);t.result?(n.value=o.allowedSupportType,o.storyId=e.storyId,a=e.onDonateSuccess,function(){let e;switch(n.value){case"donate":e="author_donation",o.isDonationDialogActive=!0;break;case"none":u.core.ui.toasts.showError("Монетизация этого аккаунта отключена");break;default:u.core.ui.toasts.showError("Не указан способ поддержки автора")}i("go_to_pay_button_tapped",{type:e,component_name:"author_support",author_id:o.authorId,post_id:o.storyId})}()):u.core.ui.toasts.showError(t.message)}}),(e,t)=>((0,s.wg)(),(0,s.j4)(_,{onSuccess:(0,r.SU)(a)},null,8,["onSuccess"]))}});function g(){return(0,o.a)(v)}},45447:(e,t,i)=>{"use strict";i.r(t),i.d(t,{createApp:()=>d});var o=i(76944),s=(i(66992),i(33948),i(41817),i(66252)),r=i(89515),n=i(66309),a=(i(88674),i(67441)),l=i(12950);const c=(0,s.aZ)({__name:"app",props:{advert_id:{default:0},view_counter_key:{default:""},title:{default:""},icon:{default:""},description:{default:""},button_text:{default:""},link:{default:""},is_comments:{type:Boolean,default:!1},company:{default:""}},setup(e){const{mutateAsync:t}=(0,a.D)({mutationFn:async e=>{const{response:t}=await l.cf.post("/ajax/save_view.php",{k:e});if(!t.result)throw t.message}}),i=e,o=(0,s.AE)("banner"),{stop:c}=(0,n.S1d)(o,(([{isIntersecting:e}])=>{e&&(t(i.view_counter_key),c())}),{threshold:1});return(e,t)=>((0,s.wg)(),(0,s.j4)(r.Z,{ref:"banner","is-comments":i.is_comments,title:i.title,text:i.description,image:i.icon,"button-text":i.button_text,link:i.link,company:i.company},null,8,["is-comments","title","text","image","button-text","link","company"]))}});function d(e){return(0,o.a)(c,e)}},74474:(e,t,i)=>{"use strict";i.r(t),i.d(t,{createApp:()=>C});var o=i(76944),s=(i(66992),i(33948),i(66252)),r=i(3577),n=i(2262),a=i(52577),l=i(77442),c=i(53401),d=i(89275),u=i(46382);const p={"clip-path":"url(#clip0_2135_22719)"},h={mask:"url(#mask0_2135_22719)"},_={filter:"url(#filter1_f_2135_22719)"},m={filter:"url(#filter2_f_2135_22719)"};var v=i(71335),g=i.n(v),f=i(83744);const y={},b={};b.$style=g();const w=(0,f.Z)(y,[["render",function(e,t){return(0,s.wg)(),(0,s.iD)("div",{class:(0,r.C_)(e.$style.host)},[e.IS_MOBILE?((0,s.wg)(),(0,s.iD)("img",{key:0,class:(0,r.C_)(e.$style.confetti),src:"https://s.pikabu.ru/images/top-author-confetti-mv.gif"},null,2)):(0,s.kq)("v-if",!0),e.IS_DESKTOP?((0,s.wg)(),(0,s.iD)("svg",{key:1,class:(0,r.C_)(e.$style.medal),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 200 200"},[(0,s._)("g",p,[t[3]||(t[3]=(0,s._)("mask",{id:"mask0_2135_22719",width:"200",height:"200",x:"0",y:"0",maskUnits:"userSpaceOnUse",style:{"mask-type":"luminance"}},[(0,s._)("path",{fill:"#fff",d:"M200 0H0v200h200V0Z"})],-1)),(0,s._)("g",h,[t[0]||(t[0]=(0,s._)("g",{filter:"url(#filter0_f_2135_22719)"},[(0,s._)("path",{fill:"#2BA029",d:"m97.96 118.414-12.433-1.28a6.97 6.97 0 0 1-6.226-6.306L73.2 43.198c-.394-4.366 3.293-8.008 7.653-7.558l38.292 3.943c4.36.45 7.228 4.766 5.952 8.96L105.34 113.51a6.968 6.968 0 0 1-7.38 4.904Z"})],-1)),t[1]||(t[1]=(0,s._)("path",{stroke:"#E8EDE8","stroke-width":"6.6",d:"m104.452 63.093 6.4 11.19a4.221 4.221 0 0 0 3.718 2.125l12.89-.16a4.224 4.224 0 0 1 4.25 4.681l-1.4 12.814a4.224 4.224 0 0 0 1.759 3.906l10.522 7.446a4.223 4.223 0 0 1 .687 6.286l-8.664 9.544a4.224 4.224 0 0 0-.873 4.194l4.135 12.209a4.223 4.223 0 0 1-3.138 5.489l-12.619 2.628a4.224 4.224 0 0 0-3.172 2.88l-3.83 12.308a4.224 4.224 0 0 1-5.766 2.596l-11.754-5.291a4.222 4.222 0 0 0-4.258.466l-10.334 7.705a4.222 4.222 0 0 1-6.19-1.288l-6.4-11.19a4.224 4.224 0 0 0-3.718-2.126l-12.89.16a4.223 4.223 0 0 1-4.25-4.681l1.4-12.814a4.223 4.223 0 0 0-1.76-3.906l-10.52-7.446a4.223 4.223 0 0 1-.688-6.286l8.664-9.544a4.224 4.224 0 0 0 .873-4.194L43.39 90.586a4.223 4.223 0 0 1 3.14-5.49l12.618-2.628a4.222 4.222 0 0 0 3.172-2.88l3.83-12.307a4.224 4.224 0 0 1 5.766-2.597l11.754 5.291a4.223 4.223 0 0 0 4.258-.465l10.334-7.706a4.223 4.223 0 0 1 6.19 1.289Z",opacity:".35"},null,-1)),t[2]||(t[2]=(0,s._)("path",{fill:"url(#paint0_linear_2135_22719)",d:"m104.454 63.093 6.4 11.19a4.221 4.221 0 0 0 3.718 2.125l12.89-.16a4.224 4.224 0 0 1 4.25 4.681l-1.4 12.814a4.224 4.224 0 0 0 1.759 3.906l10.522 7.446a4.223 4.223 0 0 1 .687 6.286l-8.664 9.544a4.224 4.224 0 0 0-.873 4.194l4.135 12.209a4.223 4.223 0 0 1-3.138 5.489l-12.619 2.628a4.224 4.224 0 0 0-3.172 2.88l-3.83 12.308a4.224 4.224 0 0 1-5.766 2.596l-11.754-5.291a4.222 4.222 0 0 0-4.259.466l-10.333 7.705a4.222 4.222 0 0 1-6.19-1.288l-6.4-11.19a4.224 4.224 0 0 0-3.718-2.126l-12.89.16a4.223 4.223 0 0 1-4.25-4.681l1.4-12.814a4.224 4.224 0 0 0-1.76-3.906l-10.52-7.446a4.224 4.224 0 0 1-.688-6.286l8.664-9.544a4.224 4.224 0 0 0 .873-4.194l-4.136-12.208a4.223 4.223 0 0 1 3.14-5.49l12.618-2.628a4.222 4.222 0 0 0 3.172-2.88l3.83-12.307a4.223 4.223 0 0 1 5.766-2.597l11.754 5.291a4.223 4.223 0 0 0 4.258-.465l10.334-7.706a4.223 4.223 0 0 1 6.19 1.289Z",opacity:".35"},null,-1)),(0,s._)("g",_,[(0,s._)("path",{class:(0,r.C_)(e.$style.stroke),stroke:"#D3D3D3","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"5",d:"M94.897 87.913c14.186 1.46 24.518 14.165 23.057 28.351-1.461 14.186-14.165 24.517-28.351 23.056-14.186-1.461-24.518-14.165-23.057-28.351 1.461-14.186 14.165-24.517 28.351-23.056Z"},null,2)]),(0,s._)("g",m,[(0,s._)("path",{class:(0,r.C_)(e.$style.star),fill:"#D3D3D3",d:"m94.748 97.245 3.798 10.22a.9.9 0 0 0 .624.56l10.574 2.665a.901.901 0 0 1 .339 1.58l-8.547 6.771a.9.9 0 0 0-.339.767l.732 10.879a.901.901 0 0 1-1.398.811l-9.08-6.036a.901.901 0 0 0-.834-.086l-10.12 4.059a.901.901 0 0 1-1.204-1.079l2.935-10.502a.901.901 0 0 0-.176-.82l-6.987-8.371a.9.9 0 0 1 .654-1.477l10.894-.454a.9.9 0 0 0 .725-.421l5.802-9.232a.901.901 0 0 1 1.608.166Z"},null,2)]),(0,s._)("path",{class:(0,r.C_)(e.$style.stroke),stroke:"#fff","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"5",d:"M94.897 87.163c14.186 1.46 24.518 14.165 23.057 28.351-1.461 14.186-14.165 24.517-28.351 23.056-14.186-1.461-24.518-14.165-23.057-28.351 1.461-14.186 14.165-24.517 28.351-23.056Z"},null,2),(0,s._)("path",{class:(0,r.C_)(e.$style.star),fill:"#fff",d:"m94.748 96.495 3.798 10.22a.9.9 0 0 0 .624.56l10.574 2.665a.901.901 0 0 1 .339 1.58l-8.547 6.771a.9.9 0 0 0-.339.767l.732 10.879a.901.901 0 0 1-1.398.811l-9.08-6.036a.901.901 0 0 0-.834-.086l-10.12 4.059a.901.901 0 0 1-1.204-1.079l2.935-10.502a.901.901 0 0 0-.176-.82l-6.987-8.371a.9.9 0 0 1 .654-1.477l10.894-.454a.9.9 0 0 0 .725-.421l5.802-9.232a.901.901 0 0 1 1.608.166Z"},null,2)])]),t[4]||(t[4]=(0,s.uE)('
Version (from header)
01.0.00

ML Analysis

CodeBERT (768d)GraphCodeBERT (768d)AST Features (128d)Handcrafted (64d)
Composite Vector1728 dimensions

Used for semantic similarity search across the database

Module Information

Module Pattern
script
Is Module
No