PageSourceSearch

https://gptea.ru/_nuxt/DnMaHweE.js

js gptea.ru collected 2026-10-08 16:29:50 UTC 61,254 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./tnBNmm3L.js","./hTp37XXB.js","./oW-lkGAh.js","./tvf1fRvD.js","./DgzPmcdk.js","./entry.DwWK7kTC.css","./NotificationWithPopup.goJO-4tS.css","./CLa_Lw4o.js","./Cx0Nla7L.js","./D2E-SBaC.js","./IFSPp3wd.js","./AccountDropdownMenu.zA8nTh6O.css","./AccountPopup.CQUi_Ckg.css","./CYu6T4Ab.js","./Dp1Mjk3Q.js","./B0xwpR7Q.js","./CsM5ZDDx.js","./GpteaHeader.DLL33u8b.css","./usePayment.CGB6Yu3B.css","./SubscriptionPlansPopup.C-3ccJ_n.css","./PremiumPopup.DV8LecBr.css","./DmjPGEUq.js","./IosPurchaseInfoModal.Bsb_qtr4.css"])))=>i.map(i=>d[i]);
2import{_ as u1}from"./DgzPmcdk.js";import{y as z,o as q1,f as k,d as K1,w as n1,x as k1,$ as l,A as u,a0 as L,a2 as t,a4 as Y,a5 as f,Q as C,ah as T1,aj as k2,a3 as b,a1 as w,ac as L1,R as B,ae as K,u as s,a6 as m,ab as T2,e as c,am as z1,n as Y1,Y as i1,a7 as _1,ai as G1,ad as L2,N as r1}from"./oW-lkGAh.js";import{a as S2,d as S1,_ as J1,s as M2,J as W1,g as P2,i as H2,o as V2,l as Z2,B as x2,w as D2,S as B2,D as I2,b as $2}from"./hTp37XXB.js";import{u as E2}from"./D2E-SBaC.js";import{u as F2,G as A2}from"./CsM5ZDDx.js";import{u as j1}from"./tvf1fRvD.js";import{u as Q1}from"./Dn7jRKCz.js";import R2 from"./CBTAKGoH.js";import{_ as U2}from"./B0xwpR7Q.js";import{_ as O2}from"./Dp1Mjk3Q.js";import l1 from"./B7RFTCRG.js";import{v as N2}from"./D9j_h9s1.js";function z2(){const n=k(!1),I=()=>{n.value=window.innerWidth<902};return z(()=>{I(),window.addEventListener("resize",I)}),q1(()=>{window.removeEventListener("resize",I)}),{isMobile:n}}const Y2={class:"catalog-root",style:{display:"contents"}},G2=["aria-hidden"],W2={class:"catalog-header"},j2={class:"search"},q2={class:"list",role:"list"},K2={class:"name"},J2={key:0,class:"empty"},Q2=K1({__name:"ImageStylesCatalog",props:{templates:{},selectedSlug:{},open:{type:Boolean},isMobile:{type:Boolean},baseRoute:{default:"/image"},catalogTopOffset:{default:656}},emits:["select","close","back"],setup(n,{emit:I}){const{getWebpOptimized:H}=Q1(),U=S2(),y=n,r=I,V=k(""),J=k(null),C1=c(()=>typeof window>"u"?"body":y.isMobile?document.querySelector(".layout-left-mobile")?".layout-left-mobile":"body":document.querySelector(".layout.layout_image-page")?".layout.layout_image-page":"body"),p=c(()=>{const g=V.value.trim().toLowerCase();return g?y.templates.filter(d=>d.name.toLowerCase().includes(g)||d.slug.toLowerCase().includes(g))||y.templates.filter(d=>d.defaultCompilation?.name.toLowerCase().includes(g)||d.defaultCompilation?.slug.toLowerCase().includes(g)):y.templates});function O(g){r("close"),U.path===y.baseRoute&&g.preventDefault()}let Z=null;function v(){Z||(Z=g=>{if(!y.open||y.isMobile)return;const d=g.target,E=J.value;!E||d instanceof Element&&d.closest("[data-catalog-trigger]")||d&&E.contains(d)||r("close")},document.addEventListener("click",Z,!0))}function $(){Z&&(document.removeEventListener("click",Z,!0),Z=null)}return n1(()=>({open:y.open,isMobile:y.isMobile}),({open:g,isMobile:d})=>{g&&!d?setTimeout(v,0):$()},{immediate:!0}),z(()=>{y.open&&!y.isMobile&&v()}),k1(()=>{$()}),(g,d)=>{const E=S1;return l(),u("div",Y2,[(l(),L(T2,{to:C1.value},[t("div",{class:f(["styles-catalog",{"is-open":n.open,"is-mobile":n.isMobile}]),style:Y(n.isMobile?void 0:{inset:`${y.catalogTopOffset}px auto 0 260px`}),role:"dialog","aria-modal":"true","aria-labelledby":"styles-catalog-title","aria-hidden":!n.open,ref_key:"rootEl",ref:J},[t("div",W2,[n.isMobile?(l(),u("button",{key:0,class:"back-btn",onClick:d[0]||(d[0]=S=>g.$emit("back"))},[...d[2]||(d[2]=[t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},[t("path",{d:"M7.82484 12.9998L12.7248 17.8998C12.9248 18.0998 13.0208 18.3331 13.0128 18.5998C13.0048 18.8665 12.9005 19.0998 12.6998 19.2998C12.4998 19.4831 12.2665 19.5791 11.9998 19.5878C11.7332 19.5965 11.4998 19.5005 11.2998 19.2998L4.69984 12.6998C4.59984 12.5998 4.52884 12.4915 4.48684 12.3748C4.44484 12.2581 4.42451 12.1331 4.42584 11.9998C4.42718 11.8665 4.44818 11.7415 4.48884 11.6248C4.52951 11.5081 4.60018 11.3998 4.70084 11.2998L11.3008 4.6998C11.4842 4.51647 11.7135 4.4248 11.9888 4.4248C12.2642 4.4248 12.5015 4.51647 12.7008 4.6998C12.9008 4.8998 13.0008 5.13747 13.0008 5.4128C13.0008 5.68814 12.9008 5.92547 12.7008 6.1248L7.82484 10.9998H18.9998C19.2832 10.9998 19.5208 11.0958 19.7128 11.2878C19.9048 11.4798 20.0005 11.7171 19.9998 11.9998C19.9992 12.2825 19.9032 12.5201 19.7118 12.7128C19.5205 12.9055 19.2832 13.0011 18.9998 12.9998H7.82484Z",fill:"#F2F2F2"})],-1)])])):C("",!0),t("div",j2,[T1(t("input",{"onUpdate:modelValue":d[1]||(d[1]=S=>V.value=S),type:"text",class:"search-input",placeholder:"Поиск по стилям","aria-label":"Поиск по стилям"},null,512),[[k2,V.value]])]),b(E,{to:n.baseRoute,class:"all-styles-link",onClick:O},{default:w(()=>
2[...d[3]||(d[3]=[L1(" Перейти ко всем стилям ",-1)])]),_:1},8,["to"])]),t("div",q2,[(l(!0),u(B,null,K(p.value,S=>(l(),L(E,{key:S.slug,to:`${n.baseRoute}/${S.slug}`,class:f(["row",{selected:S.slug===n.selectedSlug}]),role:"listitem"},{default:w(()=>[t("div",{class:"thumb",style:Y(S.previewUrl?{backgroundImage:`url(${s(H)(S.previewUrl,32,32)})`}:{})},null,4),t("span",K2,m(S.name),1)]),_:2},1032,["to","class"]))),128)),p.value.length===0?(l(),u("div",J2,"Ничего не найдено")):C("",!0)])],14,G2)],8,["to"]))])}}}),X2=J1(Q2,[["__scopeId","data-v-c73375d6"]]),e6=r1(()=>u1(()=>import("./tnBNmm3L.js"),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url).then(n=>n.default||n)),t6=r1(()=>u1(()=>import("./CLa_Lw4o.js"),__vite__mapDeps([7,2,8,1,3,4,5,9,10,11,12]),import.meta.url).then(n=>n.default||n)),o6=r1(()=>u1(()=>import("./CYu6T4Ab.js"),__vite__mapDeps([13,14,2,1,3,4,5,15,16,9,10,17,18,19,20]),import.meta.url).then(n=>n.default||n)),s6=r1(()=>u1(()=>import("./DmjPGEUq.js"),__vite__mapDeps([21,2,1,3,4,5,22]),import.meta.url).then(n=>n.default||n)),a6={class:"image-gptea-header__inner"},i6={class:"layout_wrapper layout_image"},l6={class:"popup-content"},n6={class:"layout-left-mobile"},u6={class:"logo-mobile-burger"},r6={key:0,class:"image-styles bb"},C6={class:"styles-scrollable"},d6={key:1,class:"nav-item page-navigation burger-balance"},c6={class:"burger-balance-wrapper"},p6={class:"burger-balance-info"},v6={class:"subscription-plans-button-description"},m6={class:"personal_account_burger_wrapper"},f6={key:1,class:"user-info"},g6={class:"avatar"},y6={key:0,width:"38",height:"38",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b6={key:1,width:"38",height:"38",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},h6={class:"user-details"},w6={class:"email"},_6={key:0,class:"subscription-status premium_text"},k6={key:1,class:"subscription-status free"},T6={class:"layout-left"},L6={key:2,class:"image-layout-sidebar-buyform-spacer","aria-hidden":"true"},S6={class:"subscription-plans-button-description"},M6={class:"image-styles bb not-bb",style:{"margin-bottom":"20px"}},P6={class:"subscription-plans-button-description"},H6={key:3,class:"image-layout-sidebar-buyform-spacer","aria-hidden":"true"},V6={key:2,class:"buy-tokens bb"},Z6={key:0,class:"tariffs_discount_block"},x6={key:1,class:"tariffs_discount_block first_purchase_discount"},D6={key:2,class:"tariffs_discount_block subscription_bonus"},B6={key:3,class:"token-options"},I6=["onClick"],$6={class:"price"},E6={key:0,class:"old_price"},F6={class:"current_price"},A6={key:4,class:"token-loading"},R6={key:5,class:"token-error"},U6=["disabled"],O6={key:6,class:"promo_badge"},N6={class:"promo_badge_content"},z6={class:"promo_badge_text"},Y6={class:"logo-mobile"},G6={class:"page-header"},W6={class:"main-content"},j6=903,q6=K1({__name:"ImageLayout",props:{user:{},showTemplates:{type:Boolean,default:!1},selectedTemplateSlug:{default:""},availableTokenTariffs:{default:()=>[]},selectedTariff:{default:""},isLoadingTokenTariffs:{type:Boolean,default:!1},tokenError:{default:null},isLoading:{type:Boolean,default:!1},getFormattedTokens:{},getFormattedPrice:{},anonymousTokens:{},isAnonymous:{type:Boolean},baseRoute:{default:"/image"},templatesEndpoint:{default:"/api/templates"},buyformFirst:{type:Boolean,default:!0},stretchContent:{type:Boolean,default:!1}},emits:["tariffSelect","buyTokens","retryLoadTokenTariffs","logout","templatesLoaded","templateSelect"],async setup(n,{emit:I}){let H,U;const{getWebpOptimized:y}=Q1(),r=n,V=I,J=()=>{V("buyTokens")},C1=a=>{const e=Number(a);return Number.isFinite(e)?e.toLocaleString("ru-RU"):"0"},p=k(!1),O=j1(),{isIosCapacitorOnly:Z}=$2(),v=c(()=>!Z.value),$=k(!1),g=c(()=>O.path===`${r.baseRoute}/history`),d=()=>{p.value=!p.value},E=()=>{p.value=!1,V("logout")},S=a=>{a.key==="Escape"&&p.value&&(p.value=!1)};let G=null;z(async()=>{O.query.cups==="true"&&(e1.value=!0),await p2.checkAndExpirePremium(),G=S,document.addEventListener("keydown",G),console.log("🧹 ImageLayout: Event listeners добавлены")}),k1(()=>{G&&(document.removeEventListener("keydown",G),G=null),p.value&&(document.body.style.position="",document.body.style.top="",document.body.style.width="",document.body.style.overflow=""),console.log("🧹 ImageLayout: Event listeners очищены")}),n1(p,a=>{if(a){const e=window.scrollY;document.body.style.position="fixed",document.body.style.top=`-${e}px`,document.body.style.width="100%",document.body.style.overflow="hidden"}else{const e=document.body.style.top;document.body.style.position="",document.body.style.top="",document.body.style.width="",document.body.style.overflow="",e&&window.scrollTo(0,parseInt(e)*-1),W.value="menu"}}),z(()=>{const a=M2(()=>{window.gc&&(console.log("🧹 ImageLayout: Периодическая очистка памяти..."),window.gc())},3e5);k1(()=>{clearInterval(a)})});const P=k([]),d1=c(()=>{const a=P.value||[];if(a.length===0)return[];const e=a.filter(_=>_.showInMainList===!0);
2e.sort((_,N)=>{const a1=typeof _.mainListPriority=="number"?_.mainListPriority:Number.POSITIVE_INFINITY,i=typeof N.mainListPriority=="number"?N.mainListPriority:Number.POSITIVE_INFINITY;if(a1!==i)return a1-i;const N1=typeof _.order=="number"?_.order:Number.POSITIVE_INFINITY,_2=typeof N.order=="number"?N.order:Number.POSITIVE_INFINITY;return N1-_2});const T=e,h=r.selectedTemplateSlug||"";if(!h)return T;const D=e.find(_=>_.slug===h)||a.find(_=>_.slug===h);return!D||T.some(_=>_.slug===h)?T:[D,...T]}),F=k(!1),W=k("menu");function c1(){j.value?(W.value="styles",p.value=!0):F.value=!0}function X1(){j.value?(W.value="menu",p.value=!1):F.value=!1}function e2(){j.value?W.value="menu":F.value=!1}const t2=c(()=>r.templatesEndpoint!=="/api/video/templates"?`templates-layout-${r.templatesEndpoint}`:`templates-layout-${r.templatesEndpoint}-${N2(r.user)}`),{data:A,error:M1}=([H,U]=z1(()=>x2(t2,()=>$fetch(r.templatesEndpoint,{credentials:"include",headers:void 0}),"$rROaF0XKE6")),H=await H,U(),H);if(A.value){let a=[];A.value.templates?a=A.value.templates:A.value.data?a=A.value.data:Array.isArray(A.value)&&(a=A.value),P.value=a,console.log(`🎨 ImageLayout: Загружено ${P.value.length} шаблонов`),Y1(()=>{V("templatesLoaded",P.value)})}M1.value&&console.error("Ошибка загрузки шаблонов в ImageLayout",M1.value);const{isMobile:j}=z2(),R=k(!1),Q=k("sheet"),o2=()=>{R.value=!1},p1=()=>{if(p.value=!1,X.value=!1,window.dispatchEvent(new CustomEvent("gptea-account-menu-close")),window.innerWidth>=j6){if(R.value&&Q.value==="dropdown"){R.value=!1;return}Q.value="dropdown",R.value=!0;return}Q.value="sheet",R.value=!0},s2=a=>{a.preventDefault(),D2("/")},X=k(!1),P1=()=>{R.value=!1,p.value=!1,X.value=!0},a2=()=>{X.value=!1},e1=k(!1),v1=()=>{if(p.value=!1,!v.value){$.value=!0;return}e1.value=!0},i2=j1();z(()=>{i2.query.buyTokens==="1"&&v1()});const M=k(!1),m1=()=>{if(p.value=!1,!v.value){$.value=!0;return}M.value=!0},f1=W1("image-layout-promo-open",()=>!1),q=k(f1.value);n1(q,a=>{f1.value=a});const t1=W1("image-layout-selected-tariff",()=>{}),g1=c(()=>r.selectedTariff||t1.value),H1=c(()=>r.availableTokenTariffs&&r.availableTokenTariffs.length>0?!1:r.isLoadingTokenTariffs);n1(()=>r.selectedTariff,a=>{a&&(t1.value=a)},{immediate:!0}),z(()=>{q.value=f1.value,!r.selectedTariff&&t1.value&&Y1(()=>{V("tariffSelect",t1.value)})});const l2=()=>{};function n2(){g2(),console.log("🗑️ [IMAGE_LAYOUT] Промокод удален пользователем")}const V1=c(()=>{const a=r.availableTokenTariffs.filter(e=>e.oldPrice&&e.activate_discount&&e.discount_until);return a.length?(a.sort((e,T)=>new Date(e.discount_until).getTime()-new Date(T.discount_until).getTime()),a[0]):null}),{fetchFirstPurchaseDiscountsSSR:u2,fetchUserPurchaseHistorySSR:r2,getHighestPriorityFirstPurchaseDiscount:Z1,getPriceWithFirstPurchaseDiscount:C2,getFormattedTokens:d2,purchaseBonusPercentage:c2,isHistoryLoaded:x1}=F2(),{user:o}=P2(),p2=H2(),{getLoginUrl:v2}=E2(),D1=c(()=>({isAuthenticated:!!o.value?.isAuthenticated,email:o.value?.email,tokens:o.value?.tokens,isPremium:!!o.value?.isPremium,premiumUntil:o.value?.premiumUntil||void 0,activeSubscriptionType:o.value?.activeSubscriptionType})),B1=c(()=>I2(o.value?.activeSubscriptionType)),y1=c(()=>{if(!o.value?.isAuthenticated||!o.value?.isPremium)return!1;const a=o.value?.activeSubscriptionType;return!a||a==="none"||a==="gptea_plus"?!1:a==="chat_plus"?r.baseRoute==="/image"||r.baseRoute==="/video":a==="photo_plus"||a==="photo_chat_plus"?r.baseRoute==="/video":a==="video_plus"||a==="video_chat_plus"?r.baseRoute==="/image":!1}),b1=c(()=>r.baseRoute==="/video"?"Безлимитные видео":"Безлимитные картинки"),m2=c(()=>(o.value?.activeSubscriptionType,r.availableTokenTariffs.map(a=>({...a,formattedTokens:d2(a)})))),{data:I1}=u2();[H,U]=z1(()=>r2()),await H,U();const o1=c(()=>!x1.value||!I1.value?null:Z1("tokens")),f2=c(()=>!x1.value||!I1.value?null:Z1("subscription")),$1=c(()=>{const a=c2.value;return a>0?a:null}),{appliedPromo:x,isPromoApplicableForTariffType:h1,forceClear:g2,getPriceWithPromo:E1}=V2();function F1(a){let e=a.price;return o1.value&&(e=C2(a,"tokens")),e}function y2(a){const e=F1(a);
2return`${E1(e,"tokens").toLocaleString("ru-RU")} ₽`}function A1(a){const e=F1(a);return E1(e,"tokens")<e?`${e.toLocaleString("ru-RU")} ₽`:o1.value&&a.price!==e?`${a.price.toLocaleString("ru-RU")} ₽`:a.oldPrice?`${a.oldPrice.toLocaleString("ru-RU")} ₽`:""}const s1=c(()=>x.value&&(x.value.discount_type==="tokens"||x.value.discount_type==="both")?x.value:null),b2=c(()=>x.value&&(x.value.discount_type==="subscription"||x.value.discount_type==="both")?x.value:null),R1=c(()=>!!(o.value?.isAuthenticated&&o.value?.isPremium&&(o.value?.activeSubscriptionType==="photo_plus"||o.value?.activeSubscriptionType==="photo_chat_plus"||o.value?.activeSubscriptionType==="video_plus"||o.value?.activeSubscriptionType==="video_chat_plus"||o.value?.activeSubscriptionType==="gptea_plus"||o.value?.activeSubscriptionType==="chat_plus"))),U1=c(()=>R1.value||!v.value),O1=c(()=>!v.value&&!R1.value),h2=c(()=>{if(!r.buyformFirst)return 97;if(U1.value)return 103;const a=!!f2.value,e=!!b2.value;return a&&e?632:a?656:e?594:616});function w2(a){if(!a)return"";const e=new Date(a),T=["января","февраля","марта","апреля","мая","июня","июля","августа","сентября","октября","ноября","декабря"],h=e.getDate(),D=T[e.getMonth()];return`до ${h} ${D}`}return q1(()=>{console.log("🧹 ImageLayout: Размонтирование - очистка состояния"),P.value=[]}),(a,e)=>{const T=e6,h=S1,D=S1,w1=Z2,_=t6,N=o6,a1=s6;return l(),u(B,null,[b(T,{smallScreen:!0}),t("div",{class:f(["image-gptea-header",{"image-gptea-header--menu-open":p.value}])},[t("div",a6,[b(A2,{variant:"active",user:D1.value,"anonymous-tokens":n.anonymousTokens??0,"menu-expanded":p.value,"is-premium":!!D1.value.isPremium,"subscription-label":B1.value,onOpenTokens:v1,onOpenPlans:m1,onOpenAccount:p1,onOpenSupport:P1,onToggleMenu:d,onLogoClick:s2},null,8,["user","anonymous-tokens","menu-expanded","is-premium","subscription-label"])])],2),i1(a.$slots,"payment-success",{},void 0,!0),t("div",i6,[t("div",{class:f(["layout layout_image-page",{"layout_image-page--menu-open":p.value}])},[t("div",{class:f(["popup-overlay",{active:p.value}]),onClick:e[0]||(e[0]=i=>p.value=!1)},null,2),t("div",{class:f(["popup",{active:p.value}])},[t("div",l6,[t("div",n6,[t("div",u6,[b(h,{to:"/"},{default:w(()=>[...e[16]||(e[16]=[t("svg",{width:"137",height:"44",viewBox:"0 0 137 44",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t("path",{d:"M12.5892 43.7865C8.38054 43.7865 5.22407 42.6854 3.11976 40.4832C1.03992 38.281 0 35.0267 0 30.7202C0 27.8329 0.538312 25.4227 1.61494 23.4897C2.69156 21.5567 4.25756 20.1008 6.31293 19.122C8.36831 18.1433 10.8519 17.6539 13.7637 17.6539C15.5254 17.6539 17.177 17.8619 18.7186 18.2779C20.2846 18.6694 21.6548 19.2688 22.8293 20.0763C24.0283 20.8593 24.9581 21.8503 25.6188 23.0493C26.2794 24.2482 26.6097 25.6429 26.6097 27.2334H18.8654C18.8654 26.6951 18.7308 26.2057 18.4617 25.7653C18.217 25.3249 17.8744 24.9578 17.434 24.6642C16.9935 24.3461 16.4797 24.1136 15.8924 23.9668C15.3297 23.7956 14.7302 23.7099 14.094 23.7099C13.1397 23.7099 12.2955 23.8445 11.5615 24.1136C10.8274 24.3583 10.2157 24.7376 9.72632 25.2514C9.26141 25.7653 8.90662 26.377 8.66193 27.0866C8.41724 27.7962 8.2949 28.6159 8.2949 29.5457V31.8947C8.2949 33.1181 8.50288 34.1703 8.91885 35.0512C9.35929 35.9076 10.0077 36.5682 10.8641 37.0331C11.745 37.498 12.8216 37.7305 14.094 37.7305C14.9504 37.7305 15.7334 37.6082 16.443 37.3635C17.177 37.0943 17.7643 36.715 18.2047 36.2257C18.6452 35.7363 18.8654 35.1735 18.8654 34.5373V34.3905H13.1397V29.2521H26.6097V43.3461H22.4256L21.6181 40.8503C20.8596 41.4864 20.0277 42.0248 19.1223 42.4652C18.217 42.9056 17.226 43.236 16.1494 43.4562C15.0727 43.6764 13.886 43.7865 12.5892 43.7865Z",fill:"#FED876"}),t("path",{d:"M31.6384 43.3461V18.0943H46.5398C48.1303 18.0943 49.525 18.4614 50.724 19.1954C51.9474 19.905 52.9017 20.896 53.5868 22.1684C54.2719 23.4408 54.6145 24.9211 54.6145 26.6095C54.6145 28.3467 54.2597 29.8638 53.5501 31.1606C52.865 32.433 51.9107 33.424 50.6873 34.1336C49.4883 34.8432 48.1058 35.198 46.5398 35.198H39.7497V43.3461H31.6384ZM39.7497 29.2888H43.8238C44.6802 29.2888 45.3164 29.0686 45.7323 28.6281C46.1728 28.1877 46.393 27.5393 46.393 26.6829C46.393 26.0956 46.2951 25.
26185 46.0994 25.2514C45.9281 24.8599 45.6467 24.5663 45.2552 24.3706C44.8882 24.1748 44.411 24.0769 43.8238 24.0769H39.7497V29.2888Z",fill:"#FED876"}),t("path",{d:"M64.1908 43.3461V24.5541H55.8959V18.0943H80.5604V24.5541H72.3022V43.3461H64.1908Z",fill:"#FED876"}),t("path",{d:"M84.3658 43.3461V18.0943H106.204V24.1504H92.4772V27.6371H104.222V33.4362H92.4772V37.2901H106.461V43.3461H84.3658Z",fill:"#FED876"}),t("path",{d:"M108.395 43.3461L117.607 18.0943H127.04L136.252 43.3461H127.664L126.599 39.7859H117.754L116.689 43.3461H108.395ZM119.442 34.1336H124.948L123.736 30.0963C123.639 29.8026 123.528 29.4478 123.406 29.0319C123.284 28.6159 123.161 28.1755 123.039 27.7106C122.917 27.2456 122.794 26.793 122.672 26.3525C122.55 25.8876 122.44 25.4839 122.342 25.1413H122.048C121.95 25.5818 121.816 26.0834 121.644 26.6462C121.498 27.2089 121.339 27.7962 121.167 28.4079C120.996 28.9952 120.825 29.5579 120.653 30.0963L119.442 34.1336Z",fill:"#FED876"}),t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M111.491 0.370724C111.253 0.608405 111.12 0.930594 111.12 1.26652C111.12 1.60244 111.253 1.92463 111.491 2.16231C111.701 2.37328 111.819 2.65892 111.819 2.95669C111.819 3.25447 111.701 3.54011 111.491 3.75108C110.805 4.43698 110.42 5.36716 110.42 6.33705C110.42 7.30694 110.805 8.23712 111.491 8.92302C111.731 9.14693 112.049 9.26883 112.377 9.26304C112.706 9.25725 113.019 9.12421 113.251 8.89196C113.484 8.6597 113.617 8.34637 113.622 8.01797C113.628 7.68956 113.506 7.37173 113.282 7.13143C112.843 6.69198 112.843 5.98211 113.282 5.54267C113.968 4.85677 114.353 3.92659 114.353 2.95669C114.353 1.9868 113.968 1.05662 113.282 0.370724C113.045 0.133337 112.723 0 112.387 0C112.051 0 111.729 0.133337 111.491 0.370724ZM119.097 2.90599C118.859 3.14367 118.726 3.46586 118.726 3.80178C118.726 4.13771 118.859 4.4599 119.097 4.69758L119.293 4.89364C119.492 5.09236 119.613 5.35652 119.633 5.63735C119.653 5.91818 119.57 6.19672 119.401 6.42156C118.866 7.13466 118.606 8.01696 118.669 8.90628C118.733 9.7956 119.115 10.6322 119.746 11.2622L119.942 11.4583C120.182 11.6822 120.5 11.8041 120.828 11.7983C121.157 11.7925 121.47 11.6595 121.702 11.4272C121.935 11.195 122.068 10.8816 122.073 10.5532C122.079 10.2248 121.957 9.907 121.733 9.6667L121.537 9.47064C121.338 9.27191 121.217 9.00775 121.197 8.72692C121.177 8.4461 121.26 8.16756 121.429 7.94272C121.964 7.22961 122.224 6.34731 122.161 5.45799C122.097 4.56868 121.715 3.7321 121.084 3.10205L120.888 2.90599C120.651 2.6686 120.328 2.53527 119.992 2.53527C119.657 2.53527 119.334 2.6686 119.097 2.90599ZM103.04 2.90599C102.803 3.14367 102.669 3.46586 102.669 3.80178C102.669 4.13771 102.803 4.4599 103.04 4.69758L103.236 4.89364C103.435 5.09236 103.556 5.35652 103.576 5.63735C103.596 5.91818 103.514 6.19672 103.344 6.42156C102.809 7.13466 102.549 8.01696 102.613 8.90628C102.676 9.7956 103.058 10.6322 103.689 11.2622L103.885 11.4583C104.001 11.5828 104.141 11.6827 104.297 11.752C104.452 11.8213 104.62 11.8585 104.79 11.8615C104.96 11.8645 105.129 11.8332 105.287 11.7695C105.445 11.7057 105.588 11.6108 105.709 11.4905C105.829 11.3701 105.924 11.2267 105.988 11.0689C106.052 10.911 106.083 10.742 106.08 10.5717C106.077 10.4015 106.04 10.2337 105.97 10.0782C105.901 9.9227 105.801 9.78275 105.677 9.6667L105.481 9.47064C105.281 9.27191 105.16 9.00775 105.141 8.72692C105.121 8.4461 105.203 8.16756 105.372 7.94272C105.908 7.22961 106.167 6.34731 106.104 5.45799C106.041 4.56868 105.658 3.7321 105.028 3.10205L104.832 2.90599C104.594 2.6686 104.272 2.53527 103.936 2.53527C103.6 2.53527 103.278 2.6686 103.04 2.90599Z",fill:"#FED876"})],-1)])]),_:1})]),b(D,{to:`${r.baseRoute}/history`,class:f(["nav-item page-navigation",{active:s(O).path===`${r.baseRoute}/history`}])},{default:w(()=>[...e[17]||(e[17]=[t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"21",viewBox:"0 0 20 21",fill:"none"},[t("path",{d:"M18 14.5C18.3852 14.5002 18.7556 14.6486 19.0344 14.9144C19.3132 15.1802 19.479 15.5431 19.4975 15.9279C19.516 16.3127 19.3858 16.6898 19.1338 16.9812C18.8818 17.2726 18.5274 17.4558 18.144 17.493L18 17.5H2C1.61478 17.4998 1.24441 17.3514 0.965613 17.0856C0.686821 16.8198 0.520988 16.4569 0.502476 16.0721C0.483964 15.6873 0.614192 15.3102 0.866175 15.0188C1.11816 14.7274 1.47258 14.5442 1.856 14.507L2 14.5H18ZM18 7.5C18.3978 7.5 18.7794 7.65804 19.0607 7.93934C19.342 8.22064 19.5 8.60218 19.5 9C19.5 9.39782 19.342 9.77936 19.0607 10.0607C18.7794 10.342 18.3978 10.5 18 10.5H2C1.60218 10.5 1.22064 10.342 0.93934 10.0607C0.658035 9.77936 0.5 9.39782 0.5 9C0.5 8.60218 0.658035 8.22064 0.93934 7.93934C1.22064 7.65804 1.60218 7.5 2 7.5H18ZM18 0.5C18.3978 0.5 18.7794 0.658035 19.0607 0.93934C19.342 1.22064 19.5 1.60218 19.5 2C19.5 2.39782 19.342 2.77936 19.0607 3.06066C18.7794 3.34196 18.3978 3.5 18 3.5H2C1.60218 3.5 1.22064 3.34196 0.93934 3.06066C0.658035 2.77936 0.5 2.39782 0.5 2C0.5 1.60218 0.658035 1.22064 0.93934 0.93934C1.22064 0.658035 1.60218 0.5 2 0.5H18Z",fill:"#F2F2F2"})],-1),t("span",null,"История генераций",-1)])]),_:1},8,["to","class"]),n.showTemplates&&P.value.length>0&&n.baseRoute==="/image"?(l(),u("div",r6,[t("div",C6,[(l(!0),u(B,null,K(d1.value,i=>(l(),L(h,{to:`${r.baseRoute}/`+i.slug,key:i.slug,class:f(["style-item",{active:n.selectedTemplateSlug===i.slug&&!g.value}])},{default:w(()=>[t("div",{class:"style-preview",style:Y(i.previewUrl?{backgroundImage:`url(${s(y)(i.previewUrl,32,32)})`,backgroundSize:"cover"}:{})},null,4),t("span",null,m(i.name),1)]),_:2},1032,["to","class"]))),128))]),t("button",{class:f(["style-item all-styles-btn",{active:F.value}]),onClick:c1,"data-catalog-trigger":""},[...e[18]||(e[18]=[t("div",{class:"style-preview"},[t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"25",viewBox:"0 0 24 25",fill:"none"},[t("path",{d:"M17 18.5C17 18.7652 17.1054 19.0196 17.2929 19.2071C17.4804 19.3946 17.7348 19.5 18 
219.5C18.2652 19.5 18.5196 19.3946 18.7071 19.2071C18.8946 19.0196 19 18.7652 19 18.5C19 18.2348 18.8946 17.9804 18.7071 17.7929C18.5196 17.6054 18.2652 17.5 18 17.5C17.7348 17.5 17.4804 17.6054 17.2929 17.7929C17.1054 17.9804 17 18.2348 17 18.5ZM11 18.5C11 18.7652 11.1054 19.0196 11.2929 19.2071C11.4804 19.3946 11.7348 19.5 12 19.5C12.2652 19.5 12.5196 19.3946 12.7071 19.2071C12.8946 19.0196 13 18.7652 13 18.5C13 18.2348 12.8946 17.9804 12.7071 17.7929C12.5196 17.6054 12.2652 17.5 12 17.5C11.7348 17.5 11.4804 17.6054 11.2929 17.7929C11.1054 17.9804 11 18.2348 11 18.5ZM5 18.5C5 18.7652 5.10536 19.0196 5.29289 19.2071C5.48043 19.3946 5.73478 19.5 6 19.5C6.26522 19.5 6.51957 19.3946 6.70711 19.2071C6.89464 19.0196 7 18.7652 7 18.5C7 18.2348 6.89464 17.9804 6.70711 17.7929C6.51957 17.6054 6.26522 17.5 6 17.5C5.73478 17.5 5.48043 17.6054 5.29289 17.7929C5.10536 17.9804 5 18.2348 5 18.5ZM17 12.5C17 12.7652 17.1054 13.0196 17.2929 13.2071C17.4804 13.3946 17.7348 13.5 18 13.5C18.2652 13.5 18.5196 13.3946 18.7071 13.2071C18.8946 13.0196 19 12.7652 19 12.5C19 12.2348 18.8946 11.9804 18.7071 11.7929C18.5196 11.6054 18.2652 11.5 18 11.5C17.7348 11.5 17.4804 11.6054 17.2929 11.7929C17.1054 11.9804 17 12.2348 17 12.5ZM11 12.5C11 12.7652 11.1054 13.0196 11.2929 13.2071C11.4804 13.3946 11.7348 13.5 12 13.5C12.2652 13.5 12.5196 13.3946 12.7071 13.2071C12.8946 13.0196 13 12.7652 13 12.5C13 12.2348 12.8946 11.9804 12.7071 11.7929C12.5196 11.6054 12.2652 11.5 12 11.5C11.7348 11.5 11.4804 11.6054 11.2929 11.7929C11.1054 11.9804 11 12.2348 11 12.5ZM5 12.5C5 12.7652 5.10536 13.0196 5.29289 13.2071C5.48043 13.3946 5.73478 13.5 6 13.5C6.26522 13.5 6.51957 13.3946 6.70711 13.2071C6.89464 13.0196 7 12.7652 7 12.5C7 12.2348 6.89464 11.9804 6.70711 11.7929C6.51957 11.6054 6.26522 11.5 6 11.5C5.73478 11.5 5.48043 11.6054 5.29289 11.7929C5.10536 11.9804 5 12.2348 5 12.5ZM17 6.5C17 6.76522 17.1054 7.01957 17.2929 7.20711C17.4804 7.39464 17.7348 7.5 18 7.5C18.2652 7.5 18.5196 7.39464 18.7071 7.20711C18.8946 7.01957 19 6.76522 19 6.5C19 6.23478 18.8946 5.98043 18.7071 5.79289C18.5196 5.60536 18.2652 5.5 18 5.5C17.7348 5.5 17.4804 5.60536 17.2929 5.79289C17.1054 5.98043 17 6.23478 17 6.5ZM11 6.5C11 6.76522 11.1054 7.01957 11.2929 7.20711C11.4804 7.39464 11.7348 7.5 12 7.5C12.2652 7.5 12.5196 7.39464 12.7071 7.20711C12.8946 7.01957 13 6.76522 13 6.5C13 6.23478 12.8946 5.98043 12.7071 5.79289C12.5196 5.60536 12.2652 5.5 12 5.5C11.7348 5.5 11.4804 5.60536 11.2929 5.79289C11.1054 5.98043 11 6.23478 11 6.5ZM5 6.5C5 6.76522 5.10536 7.01957 5.29289 7.20711C5.48043 7.39464 5.73478 7.5 6 7.5C6.26522 7.5 6.51957 7.39464 6.70711 7.20711C6.89464 7.01957 7 6.76522 7 6.5C7 6.23478 6.89464 5.98043 6.70711 5.79289C6.51957 5.60536 6.26522 5.5 6 5.5C5.73478 5.5 5.48043 5.60536 5.29289 5.79289C5.10536 5.98043 5 6.23478 5 6.5Z",stroke:"#DBDBDB","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})])],-1),t("span",null,"Все стили",-1)])],2)])):C("",!0),b(D,{to:"/",class:"nav-item page-navigation"},{default:w(()=>[...e[19]||(e[19]=[t("svg",{class:"nav-icon chat",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 20 18",fill:"none"},[t("path",{d:"M10 0C15.5 0 20 3.58 20 8C20 12.42 15.5 16 10 16C8.76 16 7.57 15.82 6.47 15.5C3.55 18 0 18 0 18C2.33 15.67 2.7 14.1 2.75 13.5C1.05 12.07 0 10.13 0 8C0 3.58 4.5 0 10 0Z",fill:"#DBDBDB"})],-1),t("span",null,"Чат с нейросетью",-1)])]),_:1}),b(h,{to:"/image",class:"nav-item page-navigation"},{default:w(()=>[...e[20]||(e[20]=[t("svg",{class:"nav-icon",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},[t("path",{d:"M5 21C4.45 21 3.97933 20.8043 3.588 20.413C3.19667 20.0217 3.00067 19.5507 3 19V5C3 4.45 3.196 3.97933 3.588 3.588C3.98 3.19667 4.45067 3.00067 5 3H19C19.55 3 20.021 3.196 20.413 3.588C20.805 3.98 21.0007 4.45067 21 5V19C21 19.55 20.8043 20.021 20.413 20.413C20.0217 20.805 19.5507 21.0007 19 21H5ZM5 19H19V5H5V19ZM6 17H18L14.25 12L11.25 16L9 13L6 17Z",fill:"#F2F2F2"})],-1),t("span",null,"Обработка фото",-1)])]),_:1}),b(h,{to:"/video",class:"nav-item page-navigation"},{default:w(()=>[...e[21]||(e[21]=[t("svg",{class:"nav-icon",xmlns:"http://www.w3.org/2000/svg",width:"22",height:"18",viewBox:"0 0 22 18",fill:"none"},[t("path",{d:"M17 1H5C2.79086 1 1 2.79086 1 5V13C1 15.2091 2.79086 17 5 17H17C19.2091 17 21 15.2091 21 13V5C21 2.79086 19.2091 1 17 1Z",stroke:"#F2F2F2","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}),t("path",{d:"M14 9L9 6V12L14 9Z",stroke:"#F2F2F2","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})],-1),t("span",null,"Видео из фото",-1)])]),_:1}),s(o).isAuthenticated||n.isAnonymous?(l(),u("div",d6,[t("div",c6,[t("div",p6,[L1(" Ваш баланс: "+m(C1(n.isAnonymous?n.anonymousTokens:s(o).tokens))+" ",1),e[22]||(e[22]=_1('<svg xmlns="http://www.w3.org/2000/svg" width="20" height="19" viewBox="0 0 20 19" fill="none" data-v-4702ede4><path fill-rule="evenodd" clip-rule="evenodd" d="M0.00211972 10.226C-0.00763535 10.3963 0.0167524 10.6012 0.0655277 11.013L0.456706 14.3109C0.609948 15.6024 1.23873 16.7934 2.22366 17.6578C3.20859 18.5222 4.4811 18.9999 5.79955 19H9.32503C10.3609 18.9993 11.3746 18.704 12.2446 18.1494C13.1146 17.5948 13.8039 16.8045 14.2299 15.8733H16.3419C17.3121 15.8733 18.2425 15.4932 18.9286 14.8166C19.6146 14.1401 20 13.2224 20 12.2656C20 11.3088 19.6146 10.3911 18.9286 9.71456C18.2425 9.03798 17.3121 8.65788 16.3419 8.65788H14.1187C13.9309 8.55509 13.7272 8.48358 13.5158 8.44623C13.3461 8.41737 13.1354 8.41737 12.7159 8.41737H2.40869C1.98923 8.41737 1.77949 8.41737 1.60975 8.44623C1.17833 8.52196 0.78531 8.73872 0.494027 9.06159C0.202744 9.38446 0.0301565 9.79464 0.00407082 10.226M15.1117 10.
2101C15.1169 10.1427 15.1208 10.1843 15.1234 10.226C15.1332 10.3963 15.1098 10.6012 15.061 11.013L14.6698 14.3109L14.6542 14.4302H16.3419C16.924 14.4302 17.4823 14.2022 17.8939 13.7962C18.3055 13.3903 18.5367 12.8397 18.5367 12.2656C18.5367 11.6915 18.3055 11.1409 17.8939 10.735C17.4823 10.329 16.924 10.101 16.3419 10.101H15.1117ZM8.07931 0.211018C8.21632 0.346307 8.29328 0.529699 8.29328 0.720908C8.29328 0.912118 8.21632 1.09551 8.07931 1.2308C7.95803 1.35089 7.88993 1.51347 7.88993 1.68297C7.88993 1.85246 7.95803 2.01505 8.07931 2.13513C8.47509 2.52555 8.69743 3.05501 8.69743 3.60708C8.69743 4.15915 8.47509 4.68861 8.07931 5.07903C7.94062 5.20648 7.75718 5.27587 7.56764 5.27257C7.3781 5.26927 7.19725 5.19355 7.0632 5.06135C6.92916 4.92915 6.85237 4.7508 6.84903 4.56387C6.84568 4.37694 6.91604 4.19603 7.04528 4.05925C7.29891 3.80911 7.29891 3.40505 7.04528 3.15491C6.64949 2.7645 6.42715 2.23503 6.42715 1.68297C6.42715 1.1309 6.64949 0.601434 7.04528 0.211018C7.18246 0.0758964 7.36841 0 7.56229 0C7.75618 0 7.94213 0.0758964 8.07931 0.211018ZM3.68953 1.6541C3.82654 1.78939 3.9035 1.97278 3.9035 2.16399C3.9035 2.3552 3.82654 2.5386 3.68953 2.67388L3.57638 2.78548C3.46128 2.8986 3.39156 3.04896 3.38008 3.20881C3.36861 3.36866 3.41615 3.5272 3.51394 3.65518C3.82281 4.06109 3.97274 4.5633 3.93618 5.0695C3.89962 5.57571 3.67902 6.05189 3.31494 6.41052L3.20178 6.52211C3.06309 6.64957 2.87965 6.71896 2.69011 6.71566C2.50056 6.71236 2.31972 6.63663 2.18567 6.50443C2.05162 6.37223 1.97484 6.19388 1.9715 6.00695C1.96815 5.82003 2.03851 5.63911 2.16774 5.50233L2.2809 5.39074C2.396 5.27762 2.46572 5.12726 2.47719 4.96741C2.48867 4.80756 2.44112 4.64902 2.34334 4.52104C2.03447 4.11513 1.88454 3.61292 1.9211 3.10672C1.95766 2.60051 2.17825 2.12433 2.54234 1.7657L2.6555 1.6541C2.79268 1.51898 2.97863 1.44309 3.17252 1.44309C3.3664 1.44309 3.55235 1.51898 3.68953 1.6541ZM12.9568 1.6541C13.0939 1.78939 13.1708 1.97278 13.1708 2.16399C13.1708 2.3552 13.0939 2.5386 12.9568 2.67388L12.8437 2.78548C12.7286 2.8986 12.6589 3.04896 12.6474 3.20881C12.6359 3.36866 12.6835 3.5272 12.7813 3.65518C13.0901 4.06109 13.2401 4.5633 13.2035 5.0695C13.1669 5.57571 12.9463 6.05189 12.5823 6.41052L12.4691 6.52211C12.4021 6.59301 12.3213 6.64987 12.2316 6.6893C12.1418 6.72874 12.045 6.74994 11.9467 6.75165C11.8485 6.75336 11.7509 6.73554 11.6598 6.69925C11.5687 6.66296 11.486 6.60895 11.4165 6.54043C11.347 6.47191 11.2922 6.3903 11.2554 6.30045C11.2186 6.21061 11.2006 6.11438 11.2023 6.01749C11.204 5.92061 11.2255 5.82507 11.2655 5.73656C11.3055 5.64805 11.3632 5.56839 11.4351 5.50233L11.5482 5.39074C11.6633 5.27762 11.733 5.12726 11.7445 4.96741C11.756 4.80756 11.7084 4.64902 11.6106 4.52104C11.3018 4.11513 11.1518 3.61292 11.1884 3.10672C11.225 2.60051 11.4456 2.12433 11.8096 1.7657L11.9228 1.6541C12.06 1.51898 12.2459 1.44309 12.4398 1.44309C12.6337 1.44309 12.8197 1.51898 12.9568 1.6541Z" fill="url(#paint0_linear_1596_1156)" data-v-4702ede4></path><defs data-v-4702ede4><linearGradient id="paint0_linear_1596_1156" x1="-2.41611" y1="10.3636" x2="26.1793" y2="10.0492" gradientUnits="userSpaceOnUse" data-v-4702ede4><stop stop-color="#D572FD" data-v-4702ede4></stop><stop offset="0.326923" stop-color="#1CAE6A" data-v-4702ede4></stop><stop offset="0.528846" stop-color="#56B96D" data-v-4702ede4></stop><stop offset="0.942308" stop-color="#FED876" data-v-4702ede4></stop></linearGradient></defs></svg>',1))]),v.value?(l(),u("button",{key:0,onClick:v1,class:"burger-balance-btn"}," Пополнить ")):C("",!0)])])):C("",!0),y1.value&&v.value?(l(),u("button",{key:2,class:"subscription-plans-button upgrade-trigger burger-menu-upgrade",onClick:e[1]||(e[1]=i=>M.value=!0)},[e[23]||(e[23]=t("div",{class:"subscription-plans-button-title"},"Подписка PLUS",-1)),t("div",v6,m(b1.value),1)])):C("",!0),v.value&&!(s(o).isAuthenticated&&s(o).isPremium&&(s(o).activeSubscriptionType==="photo_plus"||s(o).activeSubscriptionType==="photo_chat_plus"||s(o).activeSubscriptionType==="video_plus"||s(o).activeSubscriptionType==="video_chat_plus"||s(o).activeSubscriptionType==="gptea_plus"||s(o).activeSubscriptionType==="chat_plus"))?(l(),u("button",{key:3,class:"subscription-plans-button burger-menu",onClick:e[2]||(e[2]=i=>M.value=!0)},[...e[24]||(e[24]=[t("div",{class:"subscription-plans-button-title"},"Подписка Plus",-1),t("div",{class:"subscription-plans-button-description"},"Безлимитные запросы и бонусы к пополнению",-1)])])):C("",!0),t("div",m6,[t("div",{class:f(s(o).isAuthenticated?s(o).isPremium?"personal_account_burger_prem":"personal_account_burger":"personal_account_burger_notAuth"),onClick:e[3]||(e[3]=i=>s(o).isAuthenticated?p1():void 0)},[s(o).isAuthenticated?(l(),u("div",f6,[t("div",g6,[s(o).isPremium?(l(),u("svg",b6,[...e[27]||(e[27]=[_1('<rect width="32" height="32" rx="16" fill="url(#paint0_linear_698_178)" data-v-4702ede4></rect>
2<path d="M20.6666 15.3332L18.6666 13.3332L17.2666 14.7332C16.3654 14.2478 15.3569 13.9957 14.3333 13.9998C13.1 13.9998 11.9666 14.3532 11.0333 14.9398C10.7933 14.6465 10.6666 14.3332 10.6666 13.9998C10.6666 12.8065 12.3066 11.8332 14.3333 11.8332C15.2866 11.8332 16.2 12.0532 16.8866 12.4465L18.2333 11.0998C17.18 10.3932 15.7866 9.99984 14.3333 9.99984C11.2066 9.99984 8.66663 11.7932 8.66663 13.9998C8.66663 14.7932 8.99996 15.5598 9.62663 16.2198C9.00657 17.0141 8.66878 17.9922 8.66663 18.9998V21.3332C8.66663 22.0732 9.25996 22.6665 9.99996 22.6665H18.6666C19.4066 22.6665 20 22.0732 20 21.3332V18.9998C20 18.1865 19.7733 17.3798 19.3333 16.6665L20.6666 15.3332ZM11.3333 19.6665V21.3332H9.99996V19.6665C9.99996 18.5172 10.4565 17.415 11.2692 16.6024C12.0818 15.7897 13.184 15.3332 14.3333 15.3332C14.56 15.3332 14.78 15.3598 15 15.3932C12.9266 15.7132 11.3333 17.4998 11.3333 19.6665ZM23.3333 12.8665C23.3333 13.9532 22.6066 15.0665 21.5866 15.3132L21.14 14.8598L20.6666 14.3998H21.1666C21.8333 14.3998 22.3333 13.4798 22.3333 12.7998C22.3333 12.1198 21.7666 11.4265 21.1 11.4265V10.4265C22.3333 10.4265 23.3333 11.6332 23.3333 12.8665ZM19.7666 12.4865C19.3533 12.0798 19.1 11.5198 19.1 10.8998C19.1 9.6665 20.1 8.6665 21.3333 8.6665V9.6665C20.6666 9.6665 20.1 10.2198 20.1 10.8998C20.1 11.5798 20.6666 12.1332 21.3333 12.1332V13.1332C20.7866 13.1332 20.28 13.2998 19.86 13.5865L19.1466 12.8732C19.3333 12.7265 19.5466 12.5932 19.7666 12.4865Z" fill="#F2F2F2" data-v-4702ede4></path><defs data-v-4702ede4><linearGradient id="paint0_linear_698_178" x1="0.175506" y1="9.02332" x2="28.844" y2="26.6369" gradientUnits="userSpaceOnUse" data-v-4702ede4><stop offset="0.127242" stop-color="#9137B4" data-v-4702ede4></stop><stop offset="0.314535" stop-color="#1CAE80" data-v-4702ede4></stop><stop offset="0.611958" stop-color="#56B96D" data-v-4702ede4></stop><stop offset="0.942308" stop-color="#CAA955" data-v-4702ede4></stop></linearGradient></defs>',3)])])):(l(),u("svg",y6,[...e[26]||(e[26]=[t("rect",{width:"32",height:"32",rx:"16",fill:"#121212"},null,-1),t("path",{d:"M20.6666 15.3332L18.6666 13.3332L17.2666 14.7332C16.3654 14.2478 15.3569 13.9957 14.3333 13.9998C13.1 13.9998 11.9666 14.3532 11.0333 14.9398C10.7933 14.6465 10.6666 14.3332 10.6666 13.9998C10.6666 12.8065 12.3066 11.8332 14.3333 11.8332C15.2866 11.8332 16.2 12.0532 16.8866 12.4465L18.2333 11.0998C17.18 10.3932 15.7866 9.99984 14.3333 9.99984C11.2066 9.99984 8.66663 11.7932 8.66663 13.9998C8.66663 14.7932 8.99996 15.5598 9.62663 16.2198C9.00657 17.0141 8.66878 17.9922 8.66663 18.9998V21.3332C8.66663 22.0732 9.25996 22.6665 9.99996 22.6665H18.6666C19.4066 22.6665 20 22.0732 20 21.3332V18.9998C20 18.1865 19.7733 17.3798 19.3333 16.6665L20.6666 15.3332ZM11.3333 19.6665V21.3332H9.99996V19.6665C9.99996 18.5172 10.4565 17.415 11.2692 16.6024C12.0818 15.7897 13.184 15.3332 14.3333 15.3332C14.56 15.3332 14.78 15.3598 15 15.3932C12.9266 15.7132 11.3333 17.4998 11.3333 19.6665ZM23.3333 12.8665C23.3333 13.9532 22.6066 15.0665 21.5866 15.3132L21.14 14.8598L20.6666 14.3998H21.1666C21.8333 14.3998 22.3333 13.4798 22.3333 12.7998C22.3333 12.1198 21.7666 11.4265 21.1 11.4265V10.4265C22.3333 10.4265 23.3333 11.6332 23.3333 12.8665ZM19.7666 12.4865C19.3533 12.0798 19.1 11.5198 19.1 10.8998C19.1 9.6665 20.1 8.6665 21.3333 8.6665V9.6665C20.6666 9.6665 20.1 10.2198 20.1 10.8998C20.1 11.5798 20.6666 12.1332 21.3333 12.1332V13.1332C20.7866 13.1332 20.28 13.2998 19.86 13.5865L19.1466 12.8732C19.3333 12.7265 19.5466 12.5932 19.7666 12.4865Z",fill:"#FBDC8D"},null,-1)])]))]),t("div",h6,[t("div",w6,m(s(B2)(s(o).email)),1),s(o).isPremium&&s(o).premiumUntil&&s(o).isAuthenticated?(l(),u("div",_6," Подписка "+m(B1.value),1)):C("",!0),s(o).isAuthenticated&&!s(o).isPremium?(l(),u("div",k6,"Подписка не активна")):C("",!0)])])):(l(),L(h,{key:0,class:"user-info notAuth",to:s(v2)()},{default:w(()=>[...e[25]||(e[25]=[t("div",{class:"user-details"},[t("div",{class:"email"},"Войти")],-1)])]),_:1},8,["to"]))],2),s(o).isAuthenticated?C("",!0):(l(),u("div",{key:0,class:"menu-dots-button",onClick:p1},[...e[28]||(e[28]=[t("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t("path",{d:"M5 10C3.9 10 3 10.9 3 12C3 13.1 3.9 14 5 14C6.1 14 7 13.1 7 12C7 10.9 6.1 10 5 10ZM19 10C17.9 10 17 10.9 17 12C17 13.1 17.9 14 19 14C20.1 14 21 13.1 21 12C21 10.9 20.1 10 19 10ZM12 10C10.9 10 10 10.9 10 12C10 13.1 10.9 14 12 14C13.1 14 14 13.1 14 12C14 10.9 13.1 10 12 10Z",fill:"white"})],-1)])]))])])])],2),t("div",T6,[b(D,{to:`${r.baseRoute}/history`,class:f(["nav-item page-navigation",{active:s(O).path===`${r.baseRoute}/history`}])},{default:w(()=>[...e[29]||(e[29]=[t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"21",viewBox:"0 0 20 21",fill:"none"},[t("path",{d:"M18 14.5C18.3852 14.5002 18.7556 14.6486 19.0344 14.9144C19.3
2132 15.1802 19.479 15.5431 19.4975 15.9279C19.516 16.3127 19.3858 16.6898 19.1338 16.9812C18.8818 17.2726 18.5274 17.4558 18.144 17.493L18 17.5H2C1.61478 17.4998 1.24441 17.3514 0.965613 17.0856C0.686821 16.8198 0.520988 16.4569 0.502476 16.0721C0.483964 15.6873 0.614192 15.3102 0.866175 15.0188C1.11816 14.7274 1.47258 14.5442 1.856 14.507L2 14.5H18ZM18 7.5C18.3978 7.5 18.7794 7.65804 19.0607 7.93934C19.342 8.22064 19.5 8.60218 19.5 9C19.5 9.39782 19.342 9.77936 19.0607 10.0607C18.7794 10.342 18.3978 10.5 18 10.5H2C1.60218 10.5 1.22064 10.342 0.93934 10.0607C0.658035 9.77936 0.5 9.39782 0.5 9C0.5 8.60218 0.658035 8.22064 0.93934 7.93934C1.22064 7.65804 1.60218 7.5 2 7.5H18ZM18 0.5C18.3978 0.5 18.7794 0.658035 19.0607 0.93934C19.342 1.22064 19.5 1.60218 19.5 2C19.5 2.39782 19.342 2.77936 19.0607 3.06066C18.7794 3.34196 18.3978 3.5 18 3.5H2C1.60218 3.5 1.22064 3.34196 0.93934 3.06066C0.658035 2.77936 0.5 2.39782 0.5 2C0.5 1.60218 0.658035 1.22064 0.93934 0.93934C1.22064 0.658035 1.60218 0.5 2 0.5H18Z",fill:"#F2F2F2"})],-1),t("span",null,"История генераций",-1)])]),_:1},8,["to","class"]),r.buyformFirst?(l(),u(B,{key:0},[v.value&&n.baseRoute==="/image"&&!(s(o).isAuthenticated&&s(o).isPremium&&(s(o).activeSubscriptionType==="photo_plus"||s(o).activeSubscriptionType==="photo_chat_plus"||s(o).activeSubscriptionType==="video_plus"||s(o).activeSubscriptionType==="video_chat_plus"||s(o).activeSubscriptionType==="gptea_plus"||s(o).activeSubscriptionType==="chat_plus"))?(l(),L(l1,{key:0,"subscription-type":"photo_plus",onOpenSubscriptionPlans:e[4]||(e[4]=i=>M.value=!0)})):C("",!0),v.value&&n.baseRoute==="/video"&&!(s(o).isAuthenticated&&s(o).isPremium&&(s(o).activeSubscriptionType==="video_plus"||s(o).activeSubscriptionType==="video_chat_plus"||s(o).activeSubscriptionType==="photo_plus"||s(o).activeSubscriptionType==="photo_chat_plus"||s(o).activeSubscriptionType==="gptea_plus"||s(o).activeSubscriptionType==="chat_plus"))?(l(),L(l1,{key:1,"subscription-type":"video_plus",onOpenSubscriptionPlans:e[5]||(e[5]=i=>M.value=!0)})):C("",!0),O1.value?(l(),u("div",L6)):C("",!0),T1(t("div",{class:"image-styles bb not-bb",style:Y({marginTop:U1.value?"7px":"30px"})},[(l(!0),u(B,null,K(d1.value,i=>(l(),L(h,{to:`${r.baseRoute}/`+i.slug,key:i.slug,class:f(["style-item",{active:n.selectedTemplateSlug===i.slug&&!g.value}]),type:"button"},{default:w(()=>[t("div",{class:"style-preview",style:Y(i.previewUrl?{backgroundImage:`url(${s(y)(i.previewUrl,32,32)})`,backgroundSize:"cover"}:{})},null,4),t("span",null,m(i.name),1)]),_:2},1032,["to","class"]))),128)),t("button",{class:f(["style-item",{active:F.value}]),onClick:c1,"data-catalog-trigger":""},[...e[30]||(e[30]=[t("div",{class:"style-preview"},[t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"25",viewBox:"0 0 24 25",fill:"none"},[t("path",{d:"M17 18.5C17 18.7652 17.1054 19.0196 17.2929 19.2071C17.4804 19.3946 17.7348 19.5 18 19.5C18.2652 19.5 18.5196 19.3946 18.7071 19.2071C18.8946 19.0196 19 18.7652 19 18.5C19 18.2348 18.8946 17.9804 18.7071 17.7929C18.5196 17.6054 18.2652 17.5 18 17.5C17.7348 17.5 17.4804 17.6054 17.2929 17.7929C17.1054 17.9804 17 18.2348 17 18.5ZM11 18.5C11 18.7652 11.1054 19.0196 11.2929 19.2071C11.4804 19.3946 11.7348 19.5 12 19.5C12.2652 19.5 12.5196 19.3946 12.7071 19.2071C12.8946 19.0196 13 18.7652 13 18.5C13 18.2348 12.8946 17.9804 12.7071 17.7929C12.5196 17.6054 12.2652 17.5 12 17.5C11.7348 17.5 11.4804 17.6054 11.2929 17.7929C11.1054 17.9804 11 18.2348 11 18.5ZM5 18.5C5 18.7652 5.10536 19.0196 5.29289 19.2071C5.48043 19.3946 5.73478 19.5 6 19.5C6.26522 19.5 6.51957 19.3946 6.70711 19.2071C6.89464 19.0196 7 18.7652 7 18.5C7 18.2348 6.89464 17.9804 6.70711 17.7929C6.51957 17.6054 6.26522 17.5 6 17.5C5.73478 17.5 5.48043 17.6054 5.29289 17.7929C5.10536 17.9804 5 18.2348 5 18.5ZM17 12.5C17 12.7652 17.1054 13.0196 17.2929 13.2071C17.4804 13.3946 17.7348 13.5 18 13.5C18.2652 13.5 18.5196 13.3946 18.7071 13.2071C18.8946 13.0196 19 12.7652 19 12.5C19 12.2348 18.8946 11.9804 18.7071 11.7929C18.5196 11.6054 18.2652 11.5 18 11.5C17.7348 11.5 17.4804 11.6054 17.2929 11.7929C17.1054 11.9804 17 12.2348 17 12.5ZM11 12.5C11 12.7652 11.1054 13.0196 11.2929 13.2071C11.4804 13.3946 11.7348 13.5 12 13.5C12.2652 13.5 12.5196 13.3946 12.7071 13.2071C12.8946 13.0196 13 12.7652 13 12.5C13 12.2348 12.8946 11.9804 12.7071 11.7929C12.5196 11.6054 12.2652 11.5 12 11.5C11.7348 11.5 11.4804 11.6054 11.2929 11.7929C11.1054 11.9804 11 12.2348 11 12.5ZM5 12.5C5 12.7652 5.10536 13.0196 5.29289 13.2071C5.48043 13.3946 5.73478 13.5 6 13.5C6.26522 13.5 6.51957 13.3946 6.70711 13.2071C6.89464 13.0196 7 12.7652 7 12.5C7 12.2348 6.89464 11.9804 6.70711 11.7929C6.51957 11.6054 6.26522 11.5 6 11.5C5.73478 11.5 5.48043 11.6054 5.29289 11.7929C5.10536 11.9804 5 12.2348 5 12.5ZM17 6.5C17 6.76
2522 17.1054 7.01957 17.2929 7.20711C17.4804 7.39464 17.7348 7.5 18 7.5C18.2652 7.5 18.5196 7.39464 18.7071 7.20711C18.8946 7.01957 19 6.76522 19 6.5C19 6.23478 18.8946 5.98043 18.7071 5.79289C18.5196 5.60536 18.2652 5.5 18 5.5C17.7348 5.5 17.4804 5.60536 17.2929 5.79289C17.1054 5.98043 17 6.23478 17 6.5ZM11 6.5C11 6.76522 11.1054 7.01957 11.2929 7.20711C11.4804 7.39464 11.7348 7.5 12 7.5C12.2652 7.5 12.5196 7.39464 12.7071 7.20711C12.8946 7.01957 13 6.76522 13 6.5C13 6.23478 12.8946 5.98043 12.7071 5.79289C12.5196 5.60536 12.2652 5.5 12 5.5C11.7348 5.5 11.4804 5.60536 11.2929 5.79289C11.1054 5.98043 11 6.23478 11 6.5ZM5 6.5C5 6.76522 5.10536 7.01957 5.29289 7.20711C5.48043 7.39464 5.73478 7.5 6 7.5C6.26522 7.5 6.51957 7.39464 6.70711 7.20711C6.89464 7.01957 7 6.76522 7 6.5C7 6.23478 6.89464 5.98043 6.70711 5.79289C6.51957 5.60536 6.26522 5.5 6 5.5C5.73478 5.5 5.48043 5.60536 5.29289 5.79289C5.10536 5.98043 5 6.23478 5 6.5Z",stroke:"#DBDBDB","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})])],-1),t("span",null,"Все стили",-1)])],2)],4),[[G1,n.showTemplates&&P.value.length>0]]),y1.value&&v.value?(l(),u("button",{key:3,class:"subscription-plans-button upgrade-trigger",onClick:e[6]||(e[6]=i=>M.value=!0)},[e[31]||(e[31]=t("div",{class:"subscription-plans-button-title"},"Подписка PLUS",-1)),t("div",S6,m(b1.value),1)])):C("",!0)],64)):(l(),u(B,{key:1},[T1(t("div",M6,[(l(!0),u(B,null,K(d1.value,i=>(l(),L(h,{to:`${r.baseRoute}/`+i.slug,key:i.slug,class:f(["style-item",{active:n.selectedTemplateSlug===i.slug&&!g.value}]),type:"button"},{default:w(()=>[t("div",{class:"style-preview",style:Y(i.previewUrl?{backgroundImage:`url(${s(y)(i.previewUrl,32,32)})`,backgroundSize:"cover"}:{})},null,4),t("span",null,m(i.name),1)]),_:2},1032,["to","class"]))),128)),t("button",{class:f(["style-item",{active:F.value}]),onClick:c1,"data-catalog-trigger":""},[...e[32]||(e[32]=[t("div",{class:"style-preview"},[t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"25",viewBox:"0 0 24 25",fill:"none"},[t("path",{d:"M17 18.5C17 18.7652 17.1054 19.0196 17.2929 19.2071C17.4804 19.3946 17.7348 19.5 18 19.5C18.2652 19.5 18.5196 19.3946 18.7071 19.2071C18.8946 19.0196 19 18.7652 19 18.5C19 18.2348 18.8946 17.9804 18.7071 17.7929C18.5196 17.6054 18.2652 17.5 18 17.5C17.7348 17.5 17.4804 17.6054 17.2929 17.7929C17.1054 17.9804 17 18.2348 17 18.5ZM11 18.5C11 18.7652 11.1054 19.0196 11.2929 19.2071C11.4804 19.3946 11.7348 19.5 12 19.5C12.2652 19.5 12.5196 19.3946 12.7071 19.2071C12.8946 19.0196 13 18.7652 13 18.5C13 18.2348 12.8946 17.9804 12.7071 17.7929C12.5196 17.6054 12.2652 17.5 12 17.5C11.7348 17.5 11.4804 17.6054 11.2929 17.7929C11.1054 17.9804 11 18.2348 11 18.5ZM5 18.5C5 18.7652 5.10536 19.0196 5.29289 19.2071C5.48043 19.3946 5.73478 19.5 6 19.5C6.26522 19.5 6.51957 19.3946 6.70711 19.2071C6.89464 19.0196 7 18.7652 7 18.5C7 18.2348 6.89464 17.9804 6.70711 17.7929C6.51957 17.6054 6.26522 17.5 6 17.5C5.73478 17.5 5.48043 17.6054 5.29289 17.7929C5.10536 17.9804 5 18.2348 5 18.5ZM17 12.5C17 12.7652 17.1054 13.0196 17.2929 13.2071C17.4804 13.3946 17.7348 13.5 18 13.5C18.2652 13.5 18.5196 13.3946 18.7071 13.2071C18.8946 13.0196 19 12.7652 19 12.5C19 12.2348 18.8946 11.9804 18.7071 11.7929C18.5196 11.6054 18.2652 11.5 18 11.5C17.7348 11.5 17.4804 11.6054 17.2929 11.7929C17.1054 11.9804 17 12.2348 17 12.5ZM11 12.5C11 12.7652 11.1054 13.0196 11.2929 13.2071C11.4804 13.3946 11.7348 13.5 12 13.5C12.2652 13.5 12.5196 13.3946 12.7071 13.2071C12.8946 13.0196 13 12.7652 13 12.5C13 12.2348 12.8946 11.9804 12.7071 11.7929C12.5196 11.6054 12.2652 11.5 12 11.5C11.7348 11.5 11.4804 11.6054 11.2929 11.7929C11.1054 11.9804 11 12.2348 11 12.5ZM5 12.5C5 12.7652 5.10536 13.0196 5.29289 13.2071C5.48043 13.3946 5.73478 13.5 6 13.5C6.26522 13.5 6.51957 13.3946 6.70711 13.2071C6.89464 13.0196 7 12.7652 7 12.5C7 12.2348 6.89464 11.9804 6.70711 11.7929C6.51957 11.6054 6.26522 11.5 6 11.5C5.73478 11.5 5.48043 11.6054 5.29289 11.7929C5.10536 11.9804 5 12.2348 5 12.5ZM17 6.5C17 6.76522 17.1054 7.01957 17.2929 7.20711C17.4804 7.39464 17.7348 7.5 18 7.5C18.2652 7.5 18.5196 7.39464 18.7071 7.20711C18.8946 7.01957 19 6.76522 19 6.5C19 6.23478 18.8946 5.98043 18.7071 5.79289C18.5196 5.60536 18.2652 5.5 18 5.5C17.7348 5.5 17.4804 5.60536 17.2929 5.79289C17.1054 5.98043 17 6.23478 17 6.5ZM11 6.5C11 6.76522 11.1054 7.01957 11.2929 7.20711C11.4804 7.39464 11.7348 7.5 12 7.5C12.2652 7.5 12.5196 7.39464 12.7071 7.20711C12.8946 7.01957 13 6.76522 13 6.5C13 6.23478 12.8946 5.98043 12.7071 5.79289C12.5196 5.60536 12.2652 5.5 12 5.5C11.7348 5.5 11.4804 5.60536 11.2929 5.79289C11.1054 5.98043 11 6.23478 11 6.5ZM5 6.5C5 6.76522 5.10536 7.01957 5.29289 7.20711C5.48043 7.39464 5.73478 7.5 6 7.5C6.26522 7.5 6.51957 7.39464 6.70711 7.20711C6.89464 7.01957 7 6.76522 7 6.5C7 6.23478 6.89464 5.98043 6.70711 5.79289C6.51957 5.60536 6.26522 5.5 6 5.5C5.73478 5.5 5.48043 5.60536 5.29289 5.79289C5.10536 5.98043 5 6.23478 5 6.5Z",stroke:"#DBDBDB","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})])],-1),t("span",null,"Все стили",-1)])],2)],512),[[G1,n.showTemplates&&P.value.length>0]]),y1.value&&v.value?(l(),u("button",{key:0,class:"subscription-plans-button upgrade-trigger",onClick:e[7]||(e[7]=i=>M.value=!0)},[e[33]||(e[33]=t("div",{class:"subscription-plans-button-title"},"Подписка PLUS",-1)),t("div",P6,m(b1.value),1)])):C("",!0),v.value&&n.baseRoute==="/image"&&!(s(o).isAuthenticated&&s(o).isPremium&&(s(o).activeSubscriptionType==="photo_plus"||s(o).activeSubscriptionType==="photo_chat_plus"||s(o).activeSubscriptionType==="video_plus"||s(o).activeSubscriptionType==="video_chat_plus"||s(o).activeSubscriptionType==="gptea_plus"||s(o).activeSubscriptionType==="chat_plus"))?(l(),L(l1,{key:1,"subscription-type":"photo_plus",onOpenSubscriptionPlans:e[8]||(e[8]=i=>M.value=!0)})):C("",!0),v.value&&n.baseRoute==="/video"&&!(s(o).isAuthenticated&&s(o).isPremium&&(s(o).activeSubscriptionType==="video_plus"||s(o).activeSubscriptionType==="video_chat_plus"||s(o).activeSubscriptionType==="photo_plus"||s(o).activeSubscriptionType==="photo_chat_plus"||s(o).activeSubscriptionType==="gptea_plus"||s(o).activeSubscriptionType==="chat_plus"))?(l(),L(l1,{key:2,"subscription-type":"video_plus",onOpenSubscriptionPlans:e[9]||(e[9]=i=>M.value=!0)})):C("",!0),O1.value?(l(),u("div",H6)):C("",!0)],64)),v.value?(l(),u("div",V6,[e[37]||(e[37]=_1('<h3 data-v-4702ede4>Пополнить</h3><div class="benefits" data-v-4702ede4><div class="benefit" data-v-4702ede4><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" data-v-4702ede4><path d="M5 12.0262C7.22969 14.4387 9.39156 16.6106 11.4697 19.3575C13.7291 14.8638 16.0416 10.3544 19.8572 5.47094L18.8291 5C15.6072 8.41687 13.1041 11.6512 10.9291 15.495C9.41656 14.1325 6.97219 12.2044 5.47969 11.2137L5 12.0262Z" fill="#DBDBDB" data-v-4702ede4></path></svg><span data-v-4702ede4>Нет водяных знаков</span></div><div class="benefit" data-v-4702ede4><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" data-v-4702ede4><path d="M5 12.0262C7.22969 14.4387 9.39156 16.6106 11.4697 19.3575C13.7291 14.8638 16.0416 10.3544 19.8572 5.47094L18.8291 5C15.6072 8.41687 13.1041 11.6512 10.9291 15.495C9.41656 14.1325 6.97219 12.2044 5.47969 11.2137L5 12.0262Z" fill="#DBDBDB" data-v-4702ede4></path></svg><span data-v-4702ede4>История генераций</span></div></div>',2)),V1.value?(l(),u("div",Z6," Скидки "+m(w2(V1.value.discount_until)),1)):C("",!0),o1.value?(l(),u("div",x6,m(o1.value.description),1)):C("",!0),$1.value?(l(),u("div",D6," Бон
2ус от подписки +"+m($1.value)+"% ",1)):C("",!0),H1.value?(l(),u("div",A6,[...e[34]||(e[34]=[t("div",{class:"loading-text"},"Загрузка тарифов...",-1)])])):(l(),u("div",B6,[(l(!0),u(B,null,K(m2.value,i=>(l(),u("div",{key:i.documentId,class:f(["token-option",{selected:g1.value===i.value}]),onClick:N1=>a.$emit("tariffSelect",i.value)},[t("div",{class:f(["radio-btn",{active:g1.value===i.value}])},null,2),t("span",null,m(i.formattedTokens),1),t("span",$6,[A1(i)?(l(),u("span",E6,m(A1(i)),1)):C("",!0),t("span",F6,m(y2(i)),1)])],10,I6))),128))])),n.tokenError?(l(),u("div",R6,[L1(m(n.tokenError)+" ",1),t("button",{onClick:e[10]||(e[10]=i=>a.$emit("retryLoadTokenTariffs")),class:"retry-btn"}," Повторить ")])):C("",!0),t("button",{class:f(["buy-btn",{loading:n.isLoading,"with-promo":s1.value&&s(h1)("tokens")}]),onClick:J,disabled:n.isLoading||H1.value||!g1.value},m(n.isLoading?"Ожидайте...":"Пополнить"),11,U6),s1.value&&s(h1)("tokens")?(l(),u("div",O6,[t("div",N6,[t("div",z6," Промокод -"+m(Math.round(s1.value.discount_percentage))+"% ",1),t("button",{class:"promo_badge_close",onClick:n2},[...e[35]||(e[35]=[t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none"},[t("path",{d:"M18 6L6 18M6 6L18 18",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])])])])):C("",!0),!s1.value||!s(h1)("tokens")?(l(),u("a",{key:7,type:"button",class:"promo_btn",style:{background:"transparent",color:"#DBDBDB","margin-top":"10px"},onClick:e[11]||(e[11]=L2(i=>q.value=!0,["stop","prevent"]))},[...e[36]||(e[36]=[t("div",{class:"btn_text",style:{color:"#DBDBDB"}},"Применить промокод",-1)])])):C("",!0),b(U2,{modelValue:q.value,"onUpdate:modelValue":e[12]||(e[12]=i=>q.value=i),"tariff-type":"tokens",onApplied:l2},null,8,["modelValue"])])):C("",!0)]),b(w1,null,{default:w(()=>[b(X2,{templates:P.value,"selected-slug":n.selectedTemplateSlug,open:F.value||s(j)&&W.value==="styles","is-mobile":s(j),"base-route":n.baseRoute,"catalog-top-offset":h2.value,onClose:X1,onBack:e2},null,8,["templates","selected-slug","open","is-mobile","base-route","catalog-top-offset"])]),_:1}),t("div",{class:f(["layout-center",{"layout-center--stretch":n.stretchContent}])},[t("div",Y6,[b(h,{to:"/"},{default:w(()=>[...e[38]||(e[38]=[t("svg",{width:"137",height:"44",viewBox:"0 0 137 44",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t("path",{d:"M12.5892 43.7865C8.38054 43.7865 5.22407 42.6854 3.11976 40.4832C1.03992 38.281 0 35.0267 0 30.7202C0 27.8329 0.538312 25.4227 1.61494 23.4897C2.69156 21.5567 4.25756 20.1008 6.31293 19.122C8.36831 18.1433 10.8519 17.6539 13.7637 17.6539C15.5254 17.6539 17.177 17.8619 18.7186 18.2779C20.2846 18.6694 21.6548 19.2688 22.8293 20.0763C24.0283 20.8593 24.9581 21.8503 25.6188 23.0493C26.2794 24.2482 26.6097 25.6429 26.6097 27.2334H18.8654C18.8654 26.6951 18.7308 26.2057 18.4617 25.7653C18.217 25.3249 17.8744 24.9578 17.434 24.6642C16.9935 24.3461 16.4797 24.1136 15.8924 23.9668C15.3297 23.7956 14.7302 23.7099 14.094 23.7099C13.1397 23.7099 12.2955 23.8445 11.5615 24.1136C10.8274 24.3583 10.2157 24.7376 9.72632 25.2514C9.26141 25.7653 8.90662 26.377 8.66193 27.0866C8.41724 27.7962 8.2949 28.6159 8.2949 29.5457V31.8947C8.2949 33.1181 8.50288 34.1703 8.91885 35.0512C9.35929 35.9076 10.0077 36.5682 10.8641 37.0331C11.745 37.498 12.8216 37.7305 14.094 37.7305C14.9504 37.7305 15.7334 37.6082 16.443 37.3635C17.177 37.0943 17.7643 36.715 18.2047 36.2257C18.6452 35.7363 18.8654 35.1735 18.8654 34.5373V34.3905H13.1397V29.2521H26.6097V43.3461H22.4256L21.6181 40.8503C20.8596 41.4864 20.0277 42.0248 19.1223 42.4652C18.217 42.9056 17.226 43.236 16.1494 43.4562C15.0727 43.6764 13.886 43.7865 12.5892 43.7865Z",fill:"#FED876"}),t("path",{d:"M31.6384 43.3461V18.0943H46.5398C48.1303 18.0943 49.525 18.4614 50.724 19.1954C51.9474 19.905 52.9017 20.896 53.5868 22.1684C54.2719 23.4408 54.6145 24.9211 54.6145 26.6095C54.6145 28.3467 54.2597 29.8638 53.5501 31.1606C52.865 32.433 51.9107 33.424 50.6873 34.1336C49.4883 34.8432 48.1058 35.198 46.5398 35.198H39.7497V43.3461H31.6384ZM39.7497 29.2888H43.8238C44.6802 29.2888 45.3164 29.0686 45.7323 28.6281C46.1728 28.1877 46.393 27.5393 46.393 26.6829C46.393 26.0956 46.2951 25.
26185 46.0994 25.2514C45.9281 24.8599 45.6467 24.5663 45.2552 24.3706C44.8882 24.1748 44.411 24.0769 43.8238 24.0769H39.7497V29.2888Z",fill:"#FED876"}),t("path",{d:"M64.1908 43.3461V24.5541H55.8959V18.0943H80.5604V24.5541H72.3022V43.3461H64.1908Z",fill:"#FED876"}),t("path",{d:"M84.3658 43.3461V18.0943H106.204V24.1504H92.4772V27.6371H104.222V33.4362H92.4772V37.2901H106.461V43.3461H84.3658Z",fill:"#FED876"}),t("path",{d:"M108.395 43.3461L117.607 18.0943H127.04L136.252 43.3461H127.664L126.599 39.7859H117.754L116.689 43.3461H108.395ZM119.442 34.1336H124.948L123.736 30.0963C123.639 29.8026 123.528 29.4478 123.406 29.0319C123.284 28.6159 123.161 28.1755 123.039 27.7106C122.917 27.2456 122.794 26.793 122.672 26.3525C122.55 25.8876 122.44 25.4839 122.342 25.1413H122.048C121.95 25.5818 121.816 26.0834 121.644 26.6462C121.498 27.2089 121.339 27.7962 121.167 28.4079C120.996 28.9952 120.825 29.5579 120.653 30.0963L119.442 34.1336Z",fill:"#FED876"}),t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M111.491 0.370724C111.253 0.608405 111.12 0.930594 111.12 1.26652C111.12 1.60244 111.253 1.92463 111.491 2.16231C111.701 2.37328 111.819 2.65892 111.819 2.95669C111.819 3.25447 111.701 3.54011 111.491 3.75108C110.805 4.43698 110.42 5.36716 110.42 6.33705C110.42 7.30694 110.805 8.23712 111.491 8.92302C111.731 9.14693 112.049 9.26883 112.377 9.26304C112.706 9.25725 113.019 9.12421 113.251 8.89196C113.484 8.6597 113.617 8.34637 113.622 8.01797C113.628 7.68956 113.506 7.37173 113.282 7.13143C112.843 6.69198 112.843 5.98211 113.282 5.54267C113.968 4.85677 114.353 3.92659 114.353 2.95669C114.353 1.9868 113.968 1.05662 113.282 0.370724C113.045 0.133337 112.723 0 112.387 0C112.051 0 111.729 0.133337 111.491 0.370724ZM119.097 2.90599C118.859 3.14367 118.726 3.46586 118.726 3.80178C118.726 4.13771 118.859 4.4599 119.097 4.69758L119.293 4.89364C119.492 5.09236 119.613 5.35652 119.633 5.63735C119.653 5.91818 119.57 6.19672 119.401 6.42156C118.866 7.13466 118.606 8.01696 118.669 8.90628C118.733 9.7956 119.115 10.6322 119.746 11.2622L119.942 11.4583C120.182 11.6822 120.5 11.8041 120.828 11.7983C121.157 11.7925 121.47 11.6595 121.702 11.4272C121.935 11.195 122.068 10.8816 122.073 10.5532C122.079 10.2248 121.957 9.907 121.733 9.6667L121.537 9.47064C121.338 9.27191 121.217 9.00775 121.197 8.72692C121.177 8.4461 121.26 8.16756 121.429 7.94272C121.964 7.22961 122.224 6.34731 122.161 5.45799C122.097 4.56868 121.715 3.7321 121.084 3.10205L120.888 2.90599C120.651 2.6686 120.328 2.53527 119.992 2.53527C119.657 2.53527 119.334 2.6686 119.097 2.90599ZM103.04 2.90599C102.803 3.14367 102.669 3.46586 102.669 3.80178C102.669 4.13771 102.803 4.4599 103.04 4.69758L103.236 4.89364C103.435 5.09236 103.556 5.35652 103.576 5.63735C103.596 5.91818 103.514 6.19672 103.344 6.42156C102.809 7.13466 102.549 8.01696 102.613 8.90628C102.676 9.7956 103.058 10.6322 103.689 11.2622L103.885 11.4583C104.001 11.5828 104.141 11.6827 104.297 11.752C104.452 11.8213 104.62 11.8585 104.79 11.8615C104.96 11.8645 105.129 11.8332 105.287 11.7695C105.445 11.7057 105.588 11.6108 105.709 11.4905C105.829 11.3701 105.924 11.2267 105.988 11.0689C106.052 10.911 106.083 10.742 106.08 10.5717C106.077 10.4015 106.04 10.2337 105.97 10.0782C105.901 9.9227 105.801 9.78275 105.677 9.6667L105.481 9.47064C105.281 9.27191 105.16 9.00775 105.141 8.72692C105.121 8.4461 105.203 8.16756 105.372 7.94272C105.908 7.22961 106.167 6.34731 106.104 5.45799C106.041 4.56868 105.658 3.7321 105.028 3.10205L104.832 2.90599C104.594 2.6686 104.272 2.53527 103.936 2.53527C103.6 2.53527 103.278 2.6686 103.04 2.90599Z",fill:"#FED876"})],-1)])]),_:1})]),t("div",G6,[i1(a.$slots,"page-header",{},()=>[e[39]||(e[39]=t("h1",null,"Генерация изображений",-1))],!0)]),t("div",W6,[i1(a.$slots,"main-content",{},()=>[i1(a.$slots,"default",{},void 0,!0)],!0)])],2)],2)]),b(w1,null,{default:w(()=>[b(_,{user:s(o),show:R.value,variant:Q.value,onClose:o2,onLogout:E,onSupportClick:P1,onOpenSubscriptionPlans:m1},null,8,["user","show","variant"]),v.value?(l(),L(N,{key:0,modelValue:e1.value,"onUpdate:modelValue":e[13]||(e[13]=i=>
2e1.value=i),includeTariffTypes:["tokens","subscription_tokens"],onOpenSubscriptionPlans:m1},null,8,["modelValue"])):C("",!0),v.value?(l(),L(O2,{key:1,modelValue:M.value,"onUpdate:modelValue":e[14]||(e[14]=i=>M.value=i)},null,8,["modelValue"])):C("",!0),X.value?(l(),L(R2,{key:2,userEmail:s(o)?.email,onClose:a2},null,8,["userEmail"])):C("",!0),b(a1,{modelValue:$.value,"onUpdate:modelValue":e[15]||(e[15]=i=>$.value=i)},null,8,["modelValue"])]),_:1})],64)}}}),u9=J1(q6,[["__scopeId","data-v-4702ede4"]]);export{u9 as I};

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.