index-bP6SlrDl.js

https://trychatgpt.ru/assets/index-bP6SlrDl.js

Analyzed: 3/2/2026, 11:44:28 PM

View Scan Result

Script Analysis Summary

Summary: index-bP6SlrDl.js is a 3.39 MB external identified as tailwindcss v4.2.0. Contains 12395 functions with complexity score of 9477. SHA-256: 2bdaa14f2e283d22...

external3.39 MBtailwindcss v4.2.0ML Embeddings Available

Code Metrics

File Size
3.39 MB
Functions
12,395*
Complexity
9,477
AST Nodes
779,293
AST Depth
100
Function Calls
0
Normalized Size
1.20 MB

Code Analysis

API Usage

dom8755 calls
crypto417 calls
network591 calls

Control Flow

Functions10,289
Loops1,364
Conditionals5,546

String Statistics

Total Strings63,560
Unique Strings24,760
URLs Found63

Security Indicators

Crypto APIsEncoding Functions

Code Style

Lines of Code532
MinifiedYes

Obfuscation Analysis

No obfuscation data available

Library Detection

tailwindcssv4.2.0

Bundle Analysis

Not a bundled file

Copyright & License

License
| https://tailwindcss.com
Version (from header)
4.2.0
Copyright Notice
- ",new Date().getFullYear()," TryChatGPT. Все права защищены."]}),m.jsxs("p",{className:"text-sm text-muted-foreground",children:["Версия: ","1.7.7"]})]}),m.jsxs("nav",{className:"flex flex-col gap-4 md:flex-row md:gap-6 md:flex-wrap md:justify-end",children:[m.jsx("button",{type:"button",className:"text-sm text-muted-foreground hover:text-foreground cursor-pointer",onClick:()=>window.open(l_(),"_blank"),children:"Написать в поддержку"}),m.jsx("a",{href:"/public/offer",className:"text-sm text-muted-foreground hover:text-foreground",children:"Пользовательское соглашение"}),m.jsx("a",{href:"/public/policy",className:"text-sm text-muted-foreground hover:text-foreground",children:"Политика конфиденциальности"}),m.jsx("a",{href:"/public/agreement",className:"text-sm text-muted-foreground hover:text-foreground",children:"Согласие на обработку данных"}),m.jsx("a",{href:"/public/contacts",className:"text-sm text-muted-foreground hover:text-foreground",children:"Контакты"})]})]})}),xmt=nn(({className:e})=>{const t=Ei();return m.jsxs(Wo,{children:[m.jsx(gs,{asChild:!0,className:e,children:m.jsxs(ut,{size:"icon",className:"relative",variant:"ghostTransparent",onClick:()=>t.toggleTheme(),children:[t.appliedTheme==="light"&&m.jsx(WU,{className:"absolute"}),t.appliedTheme==="dark"&&m.jsx(XU,{className:"absolute"})]})}),m.jsxs(Ko,{children:[t.appliedTheme==="light"&&"Темная тема",t.appliedTheme==="dark"&&"Светлая тема"]})]})}),Xz=nn(({children:e})=>{const{reachGoal:t}=Hl();return m.jsx("nav",{className:"sticky top-0 z-50",children:m.jsx("header",{className:"w-full border-b border-border/40 bg-background/95 backdrop-blur-sm supports-backdrop-filter:bg-background/60",children:m.jsxs("div",{className:"container flex h-14 max-w-(--breakpoint-2xl) items-center justify-between",children:[m.jsx("a",{href:"/",className:"flex items-center space-x-2",children:m.jsx("span",{className:"font-bold",children:"TRYCHATGPT"})}),m.jsxs("div",{className:"flex items-center space-x-2",children:[m.jsx(xmt,{}),m.jsx(ut,{className:"dark:text-white text-[#2e62cd] bg-linear-to-r from-[#4D82F04D] to-[#5A8AA54D] border-[#A0D4FF4D] border rounded-xl",variant:"ghost",size:"sm",onClick:()=>{t("click-tg-channel-header"),window.open("https://t.me/chatgpt_try","_blank")},children:m.jsxs("span",{className:"flex items-center gap-2",children:[m.jsx(Eme,{className:"h-4 w-4"}),m.jsx("span",{className:"hidden md:block",children:"Telegram-канал"})]})}),e]})]})})})});var hF=["Enter"," "],wmt=["ArrowDown","PageUp","Home"],Zye=["ArrowUp","PageDown","End"],Cmt=[...wmt,...Zye],Rmt={ltr:[...hF,"ArrowRight"],rtl:[...hF,"ArrowLeft"]},Nmt={ltr:["ArrowLeft"],rtl:["ArrowRight"]},ET="Menu",[DS,Omt,Amt]=hT(ET),[p_,Jye]=Fo(ET,[Amt,gh,EA]),ST=gh(),eEe=EA(),[tEe,Sh]=p_(ET),[Imt,TT]=p_(ET),nEe=e=>{const{__scopeMenu:t,open:n=!1,children:r,dir:a,onOpenChange:i,modal:o=!0}=e,s=ST(t),[l,u]=T.useState(null),f=T.useRef(!1),p=es(i),g=gT(a);return T.useEffect(()=>{const _=()=>{f.current=!0,document.addEventListener("pointerdown",v,{capture:!0,once:!0}),document.addEventListener("pointermove",v,{capture:!0,once:!0})},v=()=>f.current=!1;return document.addEventListener("keydown",_,{capture:!0}),()=>{document.removeEventListener("keydown",_,{capture:!0}),document.removeEventListener("pointerdown",v,{capture:!0}),document.removeEventListener("pointermove",v,{capture:!0})}},[]),m.jsx(iT,{...s,children:m.jsx(tEe,{scope:t,open:n,onOpenChange:p,content:l,onContentChange:u,children:m.jsx(Imt,{scope:t,onClose:T.useCallback(()=>p(!1),[p]),isUsingKeyboardRef:f,dir:g,modal:o,children:r})})})};nEe.displayName=ET;var kmt="MenuAnchor",Zz=T.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,a=ST(n);return m.jsx(oT,{...a,...r,ref:t})});Zz.displayName=kmt;var Jz="MenuPortal",[Dmt,rEe]=p_(Jz,{forceMount:void 0}),aEe=e=>{const{__scopeMenu:t,forceMount:n,children:r,container:a}=e,i=Sh(Jz,t);return m.jsx(Dmt,{scope:t,forceMount:n,children:m.jsx(Cs,{present:n||i.open,children:m.jsx(d_,{asChild:!0,container:a,children:r})})})};aEe.displayName=Jz;var Rc="MenuContent",[Mmt,ej]=p_(Rc),iEe=T.forwardRef((e,t)=>{const n=rEe(Rc,e.__scopeMenu),{forceMount:r=n.forceMount,...a}=e,i=Sh(Rc,e.__scopeMenu),o=TT(Rc,e.__scopeMenu);return m.jsx(DS.Provider,{scope:e.__scopeMenu,children:m.jsx(Cs,{present:r||i.open,children:m.jsx(DS.Slot,{scope:e.__scopeMenu,children:o.modal?m.jsx(Pmt,{...a,ref:t}):m.jsx(Lmt,{...a,ref:t})})})})}),Pmt=T.forwardRef((e,t)=>{const n=Sh(Rc,e.__scopeMenu),r=T.useRef(null),a=Sr(t,r);return T.useEffect(()=>{const i=r.current;if(i)return sA(i)},[]),m.jsx(tj,{...e,ref:a,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:Mt(e.onFocusOutside,i=>i.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})}),Lmt=T.forwardRef((e,t)=>{const n=Sh(Rc,e.__scopeMenu);return m.jsx(tj,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),Fmt=$m("MenuContent.ScrollLock"),tj=T.forwardRef((e,t)=>{const{__scopeMenu:n,loop:r=!1,trapFocus:a,onOpenAutoFocus:i,onCloseAutoFocus:o,disableOutsidePointerEvents:s,onEntryFocus:l,onEscapeKeyDown:u,onPointerDownOutside:f,onFocusOutside:p,onInteractOutside:g,onDismiss:_,disableOutsideScroll:v,...y}=e,E=Sh(Rc,n),x=TT(Rc,n),S=ST(n),R=eEe(n),D=Omt(n),[O,k]=T.useState(null),A=T.useRef(null),M=Sr(t,A,E.onContentChange),G=T.useRef(0),j=T.useRef(""),Y=T.useRef(0),Q=T.useRef(null),ie=T.useRef("right"),Z=T.useRef(0),ae=v?sT:T.Fragment,H=v?{as:Fmt,allowPinchZoom:!0}:void 0,te=ue=>{const z=j.current+ue,K=D().filter(de=>!de.disabled),le=document.activeElement,$=K.find(de=>de.ref.current===le)?.textValue,ve=K.map(de=>de.textValue),fe=Kmt(ve,z,$),ke=K.find(de=>de.textValue===fe)?.ref.current;(function de(ye){j.current=ye,window.clearTimeout(G.current),ye!==""&&(G.current=window.setTimeout(()=>de(""),1e3))})(z),ke&&setTimeout(()=>ke.focus())};T.useEffect(()=>()=>window.clearTimeout(G.current),[]),eA();const X=T.useCallback(ue=>ie.current===Q.current?.side&&Xmt(ue,Q.current?.area),[]);return m.jsx(Mmt,{scope:n,searchRef:j,onItemEnter:T.useCallback(ue=>{X(ue)&&ue.preventDefault()},[X]),onItemLeave:T.useCallback(ue=>{X(ue)||(A.current?.focus(),k(null))},[X]),onTriggerLeave:T.useCallback(ue=>{X(ue)&&ue.preventDefault()},[X]),pointerGraceTimerRef:Y,onPointerGraceIntentChange:T.useCallback(ue=>{Q.current=ue},[]),children:m.jsx(ae,{...H,children:m.jsx(rT,{asChild:!0,trapped:a,onMountAutoFocus:Mt(i,ue=>{ue.preventDefault(),A.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:o,children:m.jsx(u_,{asChild:!0,disableOutsidePointerEvents:s,onEscapeKeyDown:u,onPointerDownOutside:f,onFocusOutside:p,onInteractOutside:g,onDismiss:_,children:m.jsx(Ube,{asChild:!0,...R,dir:x.dir,orientation:"vertical",loop:r,currentTabStopId:O,onCurrentTabStopIdChange:k,onEntryFocus:Mt(l,ue=>{x.isUsingKeyboardRef.current||ue.preventDefault()}),preventScrollOnEntryFocus:!0,children:m.jsx(iA,{role:"menu","aria-orientation":"vertical","data-state":SEe(E.open),"data-radix-menu-content":"",dir:x.dir,...S,...y,ref:M,style:{outline:"none",...y.style},onKeyDown:Mt(y.onKeyDown,ue=>{const K=ue.target.closest("[data-radix-menu-content]")===ue.currentTarget,le=ue.ctrlKey||ue.altKey||ue.metaKey,$=ue.key.length===1;K&&(ue.key==="Tab"&&ue.preventDefault(),!le&&$&&te(ue.key));const ve=A.current;if(ue.target!==ve||!Cmt.includes(ue.key))return;ue.preventDefault();const ke=D().filter(de=>!de.disabled).map(de=>de.ref.current);Zye.includes(ue.key)&&ke.reverse(),Vmt(ke)}),onBlur:Mt(e.onBlur,ue=>{ue.currentTarget.contains(ue.target)||(window.clearTimeout(G.current),j.current="")}),onPointerMove:Mt(e.onPointerMove,MS(ue=>{const z=ue.target,K=Z.current!==ue.clientX;if(ue.currentTarget.contains(z)&&K){const le=ue.clientX>Z.current?"right":"left";ie.current=le,Z.current=ue.clientX}}))})})})})})})});iEe.displayName=Rc;var Umt="MenuGroup",nj=T.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return m.jsx(vn.div,{role:"group",...r,ref:t})});nj.displayName=Umt;var Bmt="MenuLabel",oEe=T.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return m.jsx(vn.div,{...r,ref:t})});oEe.displayName=Bmt;var xN="MenuItem",Tte="menu.itemSelect",LA=T.forwardRef((e,t)=>{const{disabled:n=!1,onSelect:r,...a}=e,i=T.useRef(null),o=TT(xN,e.__scopeMenu),s=ej(xN,e.__scopeMenu),l=Sr(t,i),u=T.useRef(!1),f=()=>{const p=i.current;if(!n&&p){const g=new CustomEvent(Tte,{bubbles:!0,cancelable:!0});p.addEventListener(Tte,_=>r?.(_),{once:!0}),HB(p,g),g.defaultPrevented?u.current=!1:o.onClose()}};return m.jsx(sEe,{...a,ref:l,disabled:n,onClick:Mt(e.onClick,f),onPointerDown:p=>{e.onPointerDown?.(p),u.current=!0},onPointerUp:Mt(e.onPointerUp,p=>{u.current||p.currentTarget?.click()}),onKeyDown:Mt(e.onKeyDown,p=>{const g=s.searchRef.current!=="";n||g&&p.key===" "||hF.includes(p.key)&&(p.currentTarget.click(),p.preventDefault())})})});LA.displayName=xN;var sEe=T.forwardRef((e,t)=>{const{__scopeMenu:n,disabled:r=!1,textValue:a,...i}=e,o=ej(xN,n),s=eEe(n),l=T.useRef(null),u=Sr(t,l),[f,p]=T.useState(!1),[g,_]=T.useState("");return T.useEffect(()=>{const v=l.current;v&&_((v.textContent??"").trim())},[i.children]),m.jsx(DS.ItemSlot,{scope:n,disabled:r,textValue:a??g,children:m.jsx(Bbe,{asChild:!0,...s,focusable:!r,children:m.jsx(vn.div,{role:"menuitem","data-highlighted":f?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0,...i,ref:u,onPointerMove:Mt(e.onPointerMove,MS(v=>{r?o.onItemLeave(v):(o.onItemEnter(v),v.defaultPrevented||v.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:Mt(e.onPointerLeave,MS(v=>o.onItemLeave(v))),onFocus:Mt(e.onFocus,()=>p(!0)),onBlur:Mt(e.onBlur,()=>p(!1))})})})}),zmt="MenuCheckboxItem",lEe=T.forwardRef((e,t)=>{const{checked:n=!1,onCheckedChange:r,...a}=e;return m.jsx(pEe,{scope:e.__scopeMenu,checked:n,children:m.jsx(LA,{role:"menuitemcheckbox","aria-checked":wN(n)?"mixed":n,...a,ref:t,"data-state":ij(n),onSelect:Mt(a.onSelect,()=>r?.(wN(n)?!0:!n),{checkForDefaultPrevented:!1})})})});lEe.displayName=zmt;var cEe="MenuRadioGroup",[jmt,Gmt]=p_(cEe,{value:void 0,onValueChange:()=>{}}),uEe=T.forwardRef((e,t)=>{const{value:n,onValueChange:r,...a}=e,i=es(r);return m.jsx(jmt,{scope:e.__scopeMenu,value:n,onValueChange:i,children:m.jsx(nj,{...a,ref:t})})});uEe.displayName=cEe;var dEe="MenuRadioItem",fEe=T.forwardRef((e,t)=>{const{value:n,...r}=e,a=Gmt(dEe,e.__scopeMenu),i=n===a.value;return m.jsx(pEe,{scope:e.__scopeMenu,checked:i,children:m.jsx(LA,{role:"menuitemradio","aria-checked":i,...r,ref:t,"data-state":ij(i),onSelect:Mt(r.onSelect,()=>a.onValueChange?.(n),{checkForDefaultPrevented:!1})})})});fEe.displayName=dEe;var rj="MenuItemIndicator",[pEe,qmt]=p_(rj,{checked:!1}),mEe=T.forwardRef((e,t)=>{const{__scopeMenu:n,forceMount:r,...a}=e,i=qmt(rj,n);return m.jsx(Cs,{present:r||wN(i.checked)||i.checked===!0,children:m.jsx(vn.span,{...a,ref:t,"data-state":ij(i.checked)})})});mEe.displayName=rj;var $mt="MenuSeparator",hEe=T.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return m.jsx(vn.div,{role:"separator","aria-orientation":"horizontal",...r,ref:t})});hEe.displayName=$mt;var Ymt="MenuArrow",gEe=T.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,a=ST(n);return m.jsx(oA,{...a,...r,ref:t})});gEe.displayName=Ymt;var aj="MenuSub",[Hmt,_Ee]=p_(aj),vEe=e=>{const{__scopeMenu:t,children:n,open:r=!1,onOpenChange:a}=e,i=Sh(aj,t),o=ST(t),[s,l]=T.useState(null),[u,f]=T.useState(null),p=es(a);return T.useEffect(()=>(i.open===!1&&p(!1),()=>p(!1)),[i.open,p]),m.jsx(iT,{...o,children:m.jsx(tEe,{scope:t,open:r,onOpenChange:p,content:u,onContentChange:f,children:m.jsx(Hmt,{scope:t,contentId:Zo(),triggerId:Zo(),trigger:s,onTriggerChange:l,children:n})})})};vEe.displayName=aj;var vE="MenuSubTrigger",bEe=T.forwardRef((e,t)=>{const n=Sh(vE,e.__scopeMenu),r=TT(vE,e.__scopeMenu),a=_Ee(vE,e.__scopeMenu),i=ej(vE,e.__scopeMenu),o=T.useRef(null),{pointerGraceTimerRef:s,onPointerGraceIntentChange:l}=i,u={__scopeMenu:e.__scopeMenu},f=T.useCallback(()=>{o.current&&window.clearTimeout(o.current),o.current=null},[]);return T.useEffect(()=>f,[f]),T.useEffect(()=>{const p=s.current;return()=>{window.clearTimeout(p),l(null)}},[s,l]),m.jsx(Zz,{asChild:!0,...u,children:m.jsx(sEe,{id:a.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":a.contentId,"data-state":SEe(n.open),...e,ref:qO(t,a.onTriggerChange),onClick:p=>{e.onClick?.(p),!(e.disabled||p.defaultPrevented)&&(p.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:Mt(e.onPointerMove,MS(p=>{i.onItemEnter(p),!p.defaultPrevented&&!e.disabled&&!n.open&&!o.current&&(i.onPointerGraceIntentChange(null),o.current=window.setTimeout(()=>{n.onOpenChange(!0),f()},100))})),onPointerLeave:Mt(e.onPointerLeave,MS(p=>{f();const g=n.content?.getBoundingClientRect();if(g){const _=n.content?.dataset.side,v=_==="right",y=v?-5:5,E=g[v?"left":"right"],x=g[v?"right":"left"];i.onPointerGraceIntentChange({area:[{x:p.clientX+y,y:p.clientY},{x:E,y:g.top},{x,y:g.top},{x,y:g.bottom},{x:E,y:g.bottom}],side:_}),window.clearTimeout(s.current),s.current=window.setTimeout(()=>i.onPointerGraceIntentChange(null),300)}else{if(i.onTriggerLeave(p),p.defaultPrevented)return;i.onPointerGraceIntentChange(null)}})),onKeyDown:Mt(e.onKeyDown,p=>{const g=i.searchRef.current!=="";e.disabled||g&&p.key===" "||Rmt[r.dir].includes(p.key)&&(n.onOpenChange(!0),n.content?.focus(),p.preventDefault())})})})});bEe.displayName=vE;var yEe="MenuSubContent",EEe=T.forwardRef((e,t)=>{const n=rEe(Rc,e.__scopeMenu),{forceMount:r=n.forceMount,...a}=e,i=Sh(Rc,e.__scopeMenu),o=TT(Rc,e.__scopeMenu),s=_Ee(yEe,e.__scopeMenu),l=T.useRef(null),u=Sr(t,l);return m.jsx(DS.Provider,{scope:e.__scopeMenu,children:m.jsx(Cs,{present:r||i.open,children:m.jsx(DS.Slot,{scope:e.__scopeMenu,children:m.jsx(tj,{id:s.contentId,"aria-labelledby":s.triggerId,...a,ref:u,align:"start",side:o.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:f=>{o.isUsingKeyboardRef.current&&l.current?.focus(),f.preventDefault()},onCloseAutoFocus:f=>f.preventDefault(),onFocusOutside:Mt(e.onFocusOutside,f=>{f.target!==s.trigger&&i.onOpenChange(!1)}),onEscapeKeyDown:Mt(e.onEscapeKeyDown,f=>{o.onClose(),f.preventDefault()}),onKeyDown:Mt(e.onKeyDown,f=>{const p=f.currentTarget.contains(f.target),g=Nmt[o.dir].includes(f.key);p&&g&&(i.onOpenChange(!1),s.trigger?.focus(),f.preventDefault())})})})})})});EEe.displayName=yEe;function SEe(e){return e?"open":"closed"}function wN(e){return e==="indeterminate"}function ij(e){return wN(e)?"indeterminate":e?"checked":"unchecked"}function Vmt(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function Wmt(e,t){return e.map((n,r)=>e[(t+r)%e.length])}function Kmt(e,t,n){const a=t.length>1&&Array.from(t).every(u=>u===t[0])?t[0]:t,i=n?e.indexOf(n):-1;let o=Wmt(e,Math.max(i,0));a.length===1&&(o=o.filter(u=>u!==n));const l=o.find(u=>u.toLowerCase().startsWith(a.toLowerCase()));return l!==n?l:void 0}function Qmt(e,t){const{x:n,y:r}=e;let a=!1;for(let i=0,o=t.length-1;i<t.length;o=i++){const s=t[i],l=t[o],u=s.x,f=s.y,p=l.x,g=l.y;f>r!=g>r&&n<(p-u)

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
module
Is Module
Yes